1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7463],{32974:function(e){e.exports=function(e){var t={};function r(l){if(t[l])return t[l].exports;var o=t[l]={i:l,l:!1,exports:{}};return e[l].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,l){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:l})},r.r=function(e){"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t||4&t&&"object"==typeof e&&e&&e.__esModule)return e;var l=Object.create(null);if(r.r(l),Object.defineProperty(l,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(l,o,(function(t){return e[t]}).bind(null,o));return l},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=0)}([function(e,t,r){"use strict";r.r(t);var l=function(e){return Array.isArray(e)?e:[e]},o=function(e){return e instanceof Node},n=function(e,t){if(e&&t){e=e instanceof NodeList?e:[e];for(var r=0;r<e.length&&!0!==t(e[r],r,e.length);r++);}},c=function(e){return console.error("[scroll-lock] ".concat(e))},a=function(e){if(Array.isArray(e))return e.join(", ")},i=function(e){var t=[];return n(e,function(e){return t.push(e)}),t},u=function(e,t){var r=!(arguments.length>2)||void 0===arguments[2]||arguments[2],l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:document;if(r&&-1!==i(l.querySelectorAll(t)).indexOf(e))return e;for(;(e=e.parentElement)&&-1===i(l.querySelectorAll(t)).indexOf(e););return e},s=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:document;return -1!==i(r.querySelectorAll(t)).indexOf(e)},d=function(e){if(e)return"hidden"===getComputedStyle(e).overflow},f=function(e){if(e)return!!d(e)||e.scrollTop<=0},p=function(e){if(e){if(d(e))return!0;var t=e.scrollTop,r=e.scrollHeight;return t+e.offsetHeight>=r}},g=function(e){if(e)return!!d(e)||e.scrollLeft<=0},h=function(e){if(e){if(d(e))return!0;var t=e.scrollLeft,r=e.scrollWidth;return t+e.offsetWidth>=r}};r.d(t,"disablePageScroll",function(){return m}),r.d(t,"enablePageScroll",function(){return S}),r.d(t,"getScrollState",function(){return y}),r.d(t,"clearQueueScrollLocks",function(){return k}),r.d(t,"getTargetScrollBarWidth",function(){return w}),r.d(t,"getCurrentTargetScrollBarWidth",function(){return A}),r.d(t,"getPageScrollBarWidth",function(){return T}),r.d(t,"getCurrentPageScrollBarWidth",function(){return E}),r.d(t,"addScrollableTarget",function(){return G}),r.d(t,"removeScrollableTarget",function(){return L}),r.d(t,"addScrollableSelector",function(){return F}),r.d(t,"removeScrollableSelector",function(){return W}),r.d(t,"addLockableTarget",function(){return x}),r.d(t,"addLockableSelector",function(){return O}),r.d(t,"setFillGapMethod",function(){return P}),r.d(t,"addFillGapTarget",function(){return Y}),r.d(t,"removeFillGapTarget",function(){return _}),r.d(t,"addFillGapSelector",function(){return j}),r.d(t,"removeFillGapSelector",function(){return q}),r.d(t,"refillGaps",function(){return C});var b=["padding","margin","width","max-width","none"],v={scroll:!0,queue:0,scrollableSelectors:["[data-scroll-lock-scrollable]"],lockableSelectors:["body","[data-scroll-lock-lockable]"],fillGapSelectors:["body","[data-scroll-lock-fill-gap]","[data-scroll-lock-lockable]"],fillGapMethod:b[0],startTouchY:0,startTouchX:0},m=function(e){v.queue<=0&&(v.scroll=!1,N(),Q()),G(e),v.queue++},S=function(e){v.queue>0&&v.queue--,v.queue<=0&&(v.scroll=!0,M(),X()),L(e)},y=function(){return v.scroll},k=function(){v.queue=0},w=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!o(e))return 0;var r=e.style.overflowY;t?y()||(e.style.overflowY=e.getAttribute("data-scroll-lock-saved-overflow-y-property")):e.style.overflowY="scroll";var l=A(e);return e.style.overflowY=r,l},A=function(e){if(!o(e))return 0;if(e===document.body){var t=document.documentElement.clientWidth;return window.innerWidth-t}var r=e.style.borderLeftWidth,l=e.style.borderRightWidth;e.style.borderLeftWidth="0px",e.style.borderRightWidth="0px";var n=e.offsetWidth-e.clientWidth;return e.style.borderLeftWidth=r,e.style.borderRightWidth=l,n},T=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return w(document.body,e)},E=function(){return A(document.body)},G=function(e){e&&l(e).map(function(e){n(e,function(e){o(e)?e.setAttribute("data-scroll-lock-scrollable",""):c('"'.concat(e,'" is not a Element.'))})})},L=function(e){e&&l(e).map(function(e){n(e,function(e){o(e)?e.removeAttribute("data-scroll-lock-scrollable"):c('"'.concat(e,'" is not a Element.'))})})},F=function(e){e&&l(e).map(function(e){v.scrollableSelectors.push(e)})},W=function(e){e&&l(e).map(function(e){v.scrollableSelectors=v.scrollableSelectors.filter(function(t){return t!==e})})},x=function(e){e&&(l(e).map(function(e){n(e,function(e){o(e)?e.setAttribute("data-scroll-lock-lockable",""):c('"'.concat(e,'" is not a Element.'))})}),y()||N())},O=function(e){e&&(l(e).map(function(e){v.lockableSelectors.push(e)}),y()||N(),j(e))},P=function(e){if(e)if(-1!==b.indexOf(e))v.fillGapMethod=e,C();else{var t=b.join(", ");c('"'.concat(e,'" method is not available!\nAvailable fill gap methods: ').concat(t,"."))}},Y=function(e){e&&l(e).map(function(e){n(e,function(e){o(e)?(e.setAttribute("data-scroll-lock-fill-gap",""),v.scroll||H(e)):c('"'.concat(e,'" is not a Element.'))})})},_=function(e){e&&l(e).map(function(e){n(e,function(e){o(e)?(e.removeAttribute("data-scroll-lock-fill-gap"),v.scroll||z(e)):c('"'.concat(e,'" is not a Element.'))})})},j=function(e){e&&l(e).map(function(e){-1===v.fillGapSelectors.indexOf(e)&&(v.fillGapSelectors.push(e),v.scroll||D(e))})},q=function(e){e&&l(e).map(function(e){v.fillGapSelectors=v.fillGapSelectors.filter(function(t){return t!==e}),v.scroll||I(e)})},C=function(){v.scroll||Q()},N=function(){R(a(v.lockableSelectors))},M=function(){B(a(v.lockableSelectors))},R=function(e){n(document.querySelectorAll(e),function(e){U(e)})},B=function(e){n(document.querySelectorAll(e),function(e){K(e)})},U=function(e){if(o(e)&&"true"!==e.getAttribute("data-scroll-lock-locked")){var t=window.getComputedStyle(e);e.setAttribute("data-scroll-lock-saved-overflow-y-property",t.overflowY),e.setAttribute("data-scroll-lock-saved-inline-overflow-property",e.style.overflow),e.setAttribute("data-scroll-lock-saved-inline-overflow-y-property",e.style.overflowY),e.style.overflow="hidden",e.setAttribute("data-scroll-lock-locked","true")}},K=function(e){o(e)&&"true"===e.getAttribute("data-scroll-lock-locked")&&(e.style.overflow=e.getAttribute("data-scroll-lock-saved-inline-overflow-property"),e.style.overflowY=e.getAttribute("data-scroll-lock-saved-inline-overflow-y-property"),e.removeAttribute("data-scroll-lock-saved-overflow-property"),e.removeAttribute("data-scroll-lock-saved-inline-overflow-property"),e.removeAttribute("data-scroll-lock-saved-inline-overflow-y-property"),e.removeAttribute("data-scroll-lock-locked"))},Q=function(){v.fillGapSelectors.map(function(e){D(e)})},X=function(){v.fillGapSelectors.map(function(e){I(e)})},D=function(e){var t=document.querySelectorAll(e),r=-1!==v.lockableSelectors.indexOf(e);n(t,function(e){H(e,r)})},H=function(e){var t,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(o(e)){t=""===e.getAttribute("data-scroll-lock-lockable")||r?w(e,!0):w(u(e,a(v.lockableSelectors)),!0),"true"===e.getAttribute("data-scroll-lock-filled-gap")&&z(e);var l=window.getComputedStyle(e);
1if(e.setAttribute("data-scroll-lock-filled-gap","true"),e.setAttribute("data-scroll-lock-current-fill-gap-method",v.fillGapMethod),"margin"===v.fillGapMethod){var n=parseFloat(l.marginRight);e.style.marginRight="".concat(n+t,"px")}else if("width"===v.fillGapMethod)e.style.width="calc(100% - ".concat(t,"px)");else if("max-width"===v.fillGapMethod)e.style.maxWidth="calc(100% - ".concat(t,"px)");else if("padding"===v.fillGapMethod){var c=parseFloat(l.paddingRight);e.style.paddingRight="".concat(c+t,"px")}}},I=function(e){n(document.querySelectorAll(e),function(e){z(e)})},z=function(e){if(o(e)&&"true"===e.getAttribute("data-scroll-lock-filled-gap")){var t=e.getAttribute("data-scroll-lock-current-fill-gap-method");e.removeAttribute("data-scroll-lock-filled-gap"),e.removeAttribute("data-scroll-lock-current-fill-gap-method"),"margin"===t?e.style.marginRight="":"width"===t?e.style.width="":"max-width"===t?e.style.maxWidth="":"padding"===t&&(e.style.paddingRight="")}};"u">typeof window&&window.addEventListener("resize",function(e){C()}),"u">typeof document&&(document.addEventListener("touchstart",function(e){v.scroll||(v.startTouchY=e.touches[0].clientY,v.startTouchX=e.touches[0].clientX)}),document.addEventListener("touchmove",function(e){if(!v.scroll){var t=v.startTouchY,r=v.startTouchX,l=e.touches[0].clientY,o=e.touches[0].clientX;if(e.touches.length<2){var n=a(v.scrollableSelectors),c={up:t<l,down:t>l,left:r<o,right:r>o},i={up:t+3<l,down:t-3>l,left:r+3<o,right:r-3>o};!function t(r){var l=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(r){var o=u(r,n,!1);if(s(r,'input[type="range"]'))return!1;if(l||s(r,'textarea, [contenteditable="true"]')&&u(r,n)||s(r,n)){var a=!1;g(r)&&h(r)?(c.up&&f(r)||c.down&&p(r))&&(a=!0):f(r)&&p(r)?(c.left&&g(r)||c.right&&h(r))&&(a=!0):(i.up&&f(r)||i.down&&p(r)||i.left&&g(r)||i.right&&h(r))&&(a=!0),a&&(o?t(o,!0):e.cancelable&&e.preventDefault())}else t(o)}else e.cancelable&&e.preventDefault()}(e.target)}}},{passive:!1}),document.addEventListener("touchend",function(e){v.scroll||(v.startTouchY=0,v.startTouchX=0)})),t.default=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},l=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(l=l.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),l.forEach(function(t){var l,o,n;l=e,o=t,n=r[t],o in l?Object.defineProperty(l,o,{value:n,enumerable:!0,configurable:!0,writable:!0}):l[o]=n})}return e}({disablePageScroll:m,enablePageScroll:S,getScrollState:y,clearQueueScrollLocks:k,getTargetScrollBarWidth:w,getCurrentTargetScrollBarWidth:A,getPageScrollBarWidth:T,getCurrentPageScrollBarWidth:E,addScrollableSelector:F,removeScrollableSelector:W,addScrollableTarget:G,removeScrollableTarget:L,addLockableSelector:O,addLockableTarget:x,addFillGapSelector:j,removeFillGapSelector:q,addFillGapTarget:Y,removeFillGapTarget:_,setFillGapMethod:P,refillGaps:C,_state:v},{hide:function(e){c('"hide" is deprecated! Use "disablePageScroll" instead. \n https://github.com/FL3NKEY/scroll-lock#disablepagescrollscrollabletarget'),m(e)},show:function(e){c('"show" is deprecated! Use "enablePageScroll" instead. \n https://github.com/FL3NKEY/scroll-lock#enablepagescrollscrollabletarget'),S(e)},toggle:function(e){c('"toggle" is deprecated! Do not use it.'),y()?m():S(e)},getState:function(){return c('"getState" is deprecated! Use "getScrollState" instead. \n https://github.com/FL3NKEY/scroll-lock#getscrollstate'),y()},getWidth:function(){return c('"getWidth" is deprecated! Use "getPageScrollBarWidth" instead. \n https://github.com/FL3NKEY/scroll-lock#getpagescrollbarwidth'),T()},getCurrentWidth:function(){return c('"getCurrentWidth" is deprecated! Use "getCurrentPageScrollBarWidth" instead. \n https://github.com/FL3NKEY/scroll-lock#getcurrentpagescrollbarwidth'),E()},setScrollableTargets:function(e){c('"setScrollableTargets" is deprecated! Use "addScrollableTarget" instead. \n https://github.com/FL3NKEY/scroll-lock#addscrollabletargetscrollabletarget'),G(e)},setFillGapSelectors:function(e){c('"setFillGapSelectors" is deprecated! Use "addFillGapSelector" instead. \n https://github.com/FL3NKEY/scroll-lock#addfillgapselectorfillgapselector'),j(e)},setFillGapTargets:function(e){c('"setFillGapTargets" is deprecated! Use "addFillGapTarget" instead. \n https://github.com/FL3NKEY/scroll-lock#addfillgaptargetfillgaptarget'),Y(e)},clearQueue:function(){c('"clearQueue" is deprecated! Use "clearQueueScrollLocks" instead. \n https://github.com/FL3NKEY/scroll-lock#clearqueuescrolllocks'),k()}})}]).default},40124:(e,t,r)=>{"use strict";var l=r(72660),o=r(7620),n=l.__importDefault(r(59018));t.A=function(e,t,r){void 0===t&&(t=0),void 0===r&&(r=[]);var l=n.default(e,t),c=l[0],a=l[1],i=l[2];return o.useEffect(i,r),[c,a]}},59018:(e,t,r)=>{"use strict";
1Object.defineProperty(t,"__esModule",{value:!0});var l=r(7620);t.default=function(e,t){void 0===t&&(t=0);var r=l.useRef(!1),o=l.useRef(),n=l.useRef(e),c=l.useCallback(function(){return r.current},[]),a=l.useCallback(function(){r.current=!1,o.current&&clearTimeout(o.current),o.current=setTimeout(function(){r.current=!0,n.current()},t)},[t]),i=l.useCallback(function(){r.current=null,o.current&&clearTimeout(o.current)},[]);return l.useEffect(function(){n.current=e},[e]),l.useEffect(function(){return a(),i},[t]),[c,i,a]}},81229:(e,t,r)=>{"use strict";r.d(t,{AU:()=>n,Bd:()=>c,lQ:()=>l,on:()=>o});var l=function(){};function o(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];e&&e.addEventListener&&e.addEventListener.apply(e,t)}function n(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];e&&e.removeEventListener&&e.removeEventListener.apply(e,t)}var c="u">typeof window},84215:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var l=r(7620),o=r(81229),n=["mousedown","touchstart"];let c=function(e,t,r){void 0===r&&(r=n);var c=(0,l.useRef)(t);(0,l.useEffect)(function(){c.current=t},[t]),(0,l.useEffect)(function(){for(var t=function(t){var r=e.current;r&&!r.contains(t.target)&&c.current(t)},l=0,n=r;l<n.length;l++){var a=n[l];(0,o.on)(document,a,t)}return function(){for(var e=0,l=r;e<l.length;e++){var n=l[e];(0,o.AU)(document,n,t)}}},[r,e])}},89905:e=>{e.exports={style:{fontFamily:"'Interface', 'Interface Fallback'"},className:"__className_3c4319",variable:"__variable_3c4319"}}}]); 2//# sourceMappingURL=7463-72cf65df3ce41a39.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.