shlink-web-client/feature/exclude-bots/static/js/main.9a998219.js

3 lines
1.6 MiB
JavaScript
Raw Normal View History

/*! For license information please see main.9a998219.js.LICENSE.txt */
!function(){var e={7757:function(e,t,n){e.exports=n(4596)},1706:function(e,t,n){"use strict";function r(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function i(e){return e instanceof r(e).Element||e instanceof Element}function o(e){return e instanceof r(e).HTMLElement||e instanceof HTMLElement}function a(e){return"undefined"!==typeof ShadowRoot&&(e instanceof r(e).ShadowRoot||e instanceof ShadowRoot)}n.d(t,{fi:function(){return ve}});var s=Math.max,u=Math.min,l=Math.round;function c(){var e=navigator.userAgentData;return null!=e&&e.brands?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function f(){return!/^((?!chrome|android).)*safari/i.test(c())}function d(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var a=e.getBoundingClientRect(),s=1,u=1;t&&o(e)&&(s=e.offsetWidth>0&&l(a.width)/e.offsetWidth||1,u=e.offsetHeight>0&&l(a.height)/e.offsetHeight||1);var c=(i(e)?r(e):window).visualViewport,d=!f()&&n,h=(a.left+(d&&c?c.offsetLeft:0))/s,p=(a.top+(d&&c?c.offsetTop:0))/u,v=a.width/s,m=a.height/u;return{width:v,height:m,top:p,right:h+v,bottom:p+m,left:h,x:h,y:p}}function h(e){var t=r(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function p(e){return e?(e.nodeName||"").toLowerCase():null}function v(e){return((i(e)?e.ownerDocument:e.document)||window.document).documentElement}function m(e){return d(v(e)).left+h(e).scrollLeft}function g(e){return r(e).getComputedStyle(e)}function y(e){var t=g(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function b(e,t,n){void 0===n&&(n=!1);var i=o(t),a=o(t)&&function(e){var t=e.getBoundingClientRect(),n=l(t.width)/e.offsetWidth||1,r=l(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),s=v(t),u=d(e,a,n),c={scrollLeft:0,scrollTop:0},f={x:0,y:0};return(i||!i&&!n)&&(("body"!==p(t)||y(s))&&(c=function(e){return e!==r(e)&&o(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:h(e);var t}(t)),o(t)?((f=d(t,!0)).x+=t.clientLeft,f.y+=t.clientTop):s&&(f.x=m(s))),{x:u.left+c.scrollLeft-f.x,y:u.top+c.scrollTop-f.y,width:u.width,height:u.height}}function _(e){var t=d(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function w(e){return"html"===p(e)?e:e.assignedSlot||e.parentNode||(a(e)?e.host:null)||v(e)}function x(e){return["html","body","#document"].indexOf(p(e))>=0?e.ownerDocument.body:o(e)&&y(e)?e:x(w(e))}function k(e,t){var n;void 0===t&&(t=[]);var i=x(e),o=i===(null==(n=e.ownerDocument)?void 0:n.body),a=r(i),s=o?[a].concat(a.visualViewport||[],y(i)?i:[]):i,u=t.concat(s);return o?u:u.concat(k(w(s)))}function S(e){return["table","td","th"].indexOf(p(e))>=0}function C(e){return o(e)&&"fixed"!==g(e).position?e.offsetParent:null}function E(e){for(var t=r(e),n=C(e);n&&S(n)&&"static"===g(n).position;)n=C(n);return n&&("html"===p(n)||"body"===p(n)&&"static"===g(n).position)?t:n||function(e){var t=/firefox/i.test(c());if(/Trident/i.test(c())&&o(e)&&"fixed"===g(e).position)return null;var n=w(e);for(a(n)&&(n=n.host);o(n)&&["html","body"].indexOf(p(n))<0;){var r=g(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var O="top",T="bottom",j="right",P="left",M="auto",N=[O,T,j,P],R="start",D="end",L="viewport",A="popper",I=N.reduce((function(e,t){return e.concat([t+"-"+R,t+"-"+D])}),[]),F=[].concat(N,[M]).reduce((function(e,t){return e.concat([t,t+"-"+R,t+"-"+D])}),[]),z=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function B(e){var t=new Map,n=new Set,r=[];function i(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&i(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||i(e)
//# sourceMappingURL=main.9a998219.js.map