mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2024-12-27 19:38:32 +03:00
3 lines
1.1 MiB
JavaScript
3 lines
1.1 MiB
JavaScript
|
/*! For license information please see 2.b49eadfa.chunk.js.LICENSE.txt */
|
||
|
(window.webpackJsonp=window.webpackJsonp||[]).push([[2],[function(t,e,n){"use strict";t.exports=n(245)},function(t,e,n){t.exports=n(220)()},function(t,e,n){"use strict";t.exports=n(217)},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(10);function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?i(Object(n),!0).forEach((function(e){Object(r.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}},function(t,e,n){"use strict";n.d(e,"a",(function(){return ms})),n.d(e,"b",(function(){return zn})),n.d(e,"c",(function(){return Xn})),n.d(e,"d",(function(){return Kr})),n.d(e,"e",(function(){return si})),n.d(e,"f",(function(){return pi})),n.d(e,"g",(function(){return yi})),n.d(e,"h",(function(){return qi})),n.d(e,"i",(function(){return Xi})),n.d(e,"j",(function(){return zr})),n.d(e,"k",(function(){return Zn})),n.d(e,"l",(function(){return ar})),n.d(e,"m",(function(){return fr})),n.d(e,"n",(function(){return mr})),n.d(e,"o",(function(){return fa})),n.d(e,"p",(function(){return ya})),n.d(e,"q",(function(){return xa})),n.d(e,"r",(function(){return ta})),n.d(e,"s",(function(){return Ps})),n.d(e,"t",(function(){return Do})),n.d(e,"u",(function(){return Ho})),n.d(e,"v",(function(){return Yo})),n.d(e,"w",(function(){return Io})),n.d(e,"x",(function(){return _n})),n.d(e,"y",(function(){return On})),n.d(e,"z",(function(){return Cn})),n.d(e,"A",(function(){return on})),n.d(e,"B",(function(){return ln})),n.d(e,"C",(function(){return vn})),n.d(e,"D",(function(){return Ga})),n.d(e,"E",(function(){return es})),n.d(e,"F",(function(){return os})),n.d(e,"G",(function(){return fo})),n.d(e,"H",(function(){return ko})),n.d(e,"I",(function(){return Ve})),n.d(e,"J",(function(){return Zo})),n.d(e,"K",(function(){return Qs})),n.d(e,"L",(function(){return Gs}));var r=n(2),i=n.n(r),o=n(1),a=n.n(o),s=n(7),u=n.n(s),l=r.createContext(),c=r.createContext();function f(t){var e=t.children,n=r.useState(null),i=n[0],o=n[1],a=r.useRef(!1);r.useEffect((function(){return function(){a.current=!0}}),[]);var s=r.useCallback((function(t){a.current||o(t)}),[]);return r.createElement(l.Provider,{value:i},r.createElement(c.Provider,{value:s},e))}var d=function(t){return Array.isArray(t)?t[0]:t},h=function(t){if("function"===typeof t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return t.apply(void 0,n)}},p=function(t,e){if("function"===typeof t)return h(t,e);null!=t&&(t.current=e)},m=function(t){return t.reduce((function(t,e){var n=e[0],r=e[1];return t[n]=r,t}),{})},v="undefined"!==typeof window&&window.document&&window.document.createElement?r.useLayoutEffect:r.useEffect;function g(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function y(t){return t instanceof g(t).Element||t instanceof Element}function b(t){return t instanceof g(t).HTMLElement||t instanceof HTMLElement}function _(t){return"undefined"!==typeof ShadowRoot&&(t instanceof g(t).ShadowRoot||t instanceof ShadowRoot)}var w=Math.max,x=Math.min,k=Math.round;function O(t,e){void 0===e&&(e=!1);var n=t.getBoundingClientRect(),r=1,i=1;if(b(t)&&e){var o=t.offsetHeight,a=t.offsetWidth;a>0&&(r=k(n.width)/a||1),o>0&&(i=k(n.height)/o||1)}return{width:n.width/r,height:n.height/i,top:n.top/i,right:n.right/r,bottom:n.bottom/i,left:n.left/r,x:n.left/r,y:n.top/i}}function E(t){var e=g(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function M(t){return t?(t.nodeName||"").toLowerCase():null}function S(t){return((y(t)?t.ownerDocument:t.document)||window.document).documentElement}function C(t){return O(S(t)).left+E(t).scrollLeft}function T(t){return g(t).getCo
|
||
|
//# sourceMappingURL=2.b49eadfa.chunk.js.map
|