PageSourceSearch

https://nishatlinen.com/cdn/shop/t/149/assets/vendor.min.js?v=55929477288600450501790318125

js nishatlinen.com collected 2026-09-26 12:27:32 UTC 53,783 bytes, 22 lines download raw bytes

vendor: 4,201 bytes, line 1
1var yi=Object.defineProperty;var gi=(t,e)=>{for(var i in e)yi(t,i,{get:e[i],enumerable:!0})};var kt={};gi(kt,{createFocusTrap:()=>Gi});var Ot=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],De=Ot.join(","),_t=typeof Element>"u",re=_t?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Ne=!_t&&Element.prototype.getRootNode?function(t){var e;return t==null||(e=t.getRootNode)===null||e===void 0?void 0:e.call(t)}:function(t){return t?.ownerDocument},he=function(e,i){var r;i===void 0&&(i=!0);var n=e==null||(r=e.getAttribute)===null||r===void 0?void 0:r.call(e,"inert"),o=n===""||n==="true",s=o||i&&e&&he(e.parentNode);return s},bi=function(e){var i,r=e==null||(i=e.getAttribute)===null||i===void 0?void 0:i.call(e,"contenteditable");return r===""||r==="true"},Tt=function(e,i,r){if(he(e))return[];var n=Array.prototype.slice.apply(e.querySelectorAll(De));return i&&re.call(e,De)&&n.unshift(e),n=n.filter(r),n},Le=function(e,i,r){for(var n=[],o=Array.from(e);o.length;){var s=o.shift();if(!he(s,!1))if(s.tagName==="SLOT"){var l=s.assignedElements(),u=l.length?l:s.children,f=Le(u,!0,r);r.flatten?n.push.apply(n,f):n.push({scopeParent:s,candidates:f})}else{var p=re.call(s,De);p&&r.filter(s)&&(i||!e.includes(s))&&n.push(s);var m=s.shadowRoot||typeof r.getShadowRoot=="function"&&r.getShadowRoot(s),d=!he(m,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(s));if(m&&d){var O=Le(m===!0?s.children:m.children,!0,r);r.flatten?n.push.apply(n,O):n.push({scopeParent:s,candidates:O})}else o.unshift.apply(o,s.children)}}return n},At=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},Z=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||bi(e))&&!At(e)?0:e.tabIndex},wi=function(e,i){var r=Z(e);return r<0&&i&&!At(e)?0:r},Ei=function(e,i){return e.tabIndex===i.tabIndex?e.documentOrder-i.documentOrder:e.tabIndex-i.tabIndex},Ft=function(e){return e.tagName==="INPUT"},xi=function(e){return Ft(e)&&e.type==="hidden"},Si=function(e){var i=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(r){return r.tagName==="SUMMARY"});return i},Oi=function(e,i){for(var r=0;r<e.length;r++)if(e[r].checked&&e[r].form===i)return e[r]},_i=function(e){if(!e.name)return!0;var i=e.form||Ne(e),r=function(l){return i.querySelectorAll('input[type="radio"][name="'+l+'"]')},n;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")n=r(window.CSS.escape(e.name));else try{n=r(e.name)}catch(s){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",s.message),!1}var o=Oi(n,e.form);return!o||o===e},Ti=function(e){return Ft(e)&&e.type==="radio"},Ai=function(e){return Ti(e)&&!_i(e)},Fi=function(e){var i,r=e&&Ne(e),n=(i=r)===null||i===void 0?void 0:i.host,o=!1;if(r&&r!==e){var s,l,u;for(o=!!((s=n)!==null&&s!==void 0&&(l=s.ownerDocument)!==null&&l!==void 0&&l.contains(n)||e!=null&&(u=e.ownerDocument)!==null&&u!==void 0&&u.contains(e));!o&&n;){var f,p,m;r=Ne(n),n=(f=r)===null||f===void 0?void 0:f.host,o=!!((p=n)!==null&&p!==void 0&&(m=p.ownerDocument)!==null&&m!==void 0&&m.contains(n))}}return o},St=function(e){var i=e.getBoundingClientRect(),r=i.width,n=i.height;return r===0&&n===0},Ii=function(e,i){var r=i.displayCheck,n=i.getShadowRoot;if(r==="full-native"&&"checkVisibility"in e){var o=e.checkVisibility({checkOpacity:!1,opacityProperty:!1,contentVisibilityAuto:!0,visibilityProperty:!0,checkVisibilityCSS:!0});return!o}if(getComputedStyle(e).visibility==="hidden")return!0;var s=re.call(e,"details>summary:first-of-type"),l=s?e.parentElement:e;if(re.call(l,"details:not([open]) *"))return!0;if(!r||r==="full"||r==="full-native"||r==="legacy-full"){if(typeof n=="function"){for(var u=e;e;){var f=e.parentElement,p=Ne(e);
vendor: 5,606 bytes, lines 1-2
1if(f&&!f.shadowRoot&&n(f)===!0)return St(e);e.assignedSlot?e=e.assignedSlot:!f&&p!==e.ownerDocument?e=p.host:e=f}e=u}if(Fi(e))return!e.getClientRects().length;if(r!=="legacy-full")return!0}else if(r==="non-zero-area")return St(e);return!1},Pi=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var i=e.parentElement;i;){if(i.tagName==="FIELDSET"&&i.disabled){for(var r=0;r<i.children.length;r++){var n=i.children.item(r);if(n.tagName==="LEGEND")return re.call(i,"fieldset[disabled] *")?!0:!n.contains(e)}return!0}i=i.parentElement}return!1},Re=function(e,i){return!(i.disabled||he(i)||xi(i)||Ii(i,e)||Si(i)||Pi(i))},et=function(e,i){return!(Ai(i)||Z(i)<0||!Re(e,i))},Di=function(e){var i=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(i)||i>=0)},It=function(e){var i=[],r=[];return e.forEach(function(n,o){var s=!!n.scopeParent,l=s?n.scopeParent:n,u=wi(l,s),f=s?It(n.candidates):l;u===0?s?i.push.apply(i,f):i.push(l):r.push({documentOrder:o,tabIndex:u,item:n,isScope:s,content:f})}),r.sort(Ei).reduce(function(n,o){return o.isScope?n.push.apply(n,o.content):n.push(o.content),n},[]).concat(i)},Pt=function(e,i){i=i||{};var r;return i.getShadowRoot?r=Le([e],i.includeContainer,{filter:et.bind(null,i),flatten:!1,getShadowRoot:i.getShadowRoot,shadowRootFilter:Di}):r=Tt(e,i.includeContainer,et.bind(null,i)),It(r)},Dt=function(e,i){i=i||{};var r;return i.getShadowRoot?r=Le([e],i.includeContainer,{filter:Re.bind(null,i),flatten:!0,getShadowRoot:i.getShadowRoot}):r=Tt(e,i.includeContainer,Re.bind(null,i)),r},ne=function(e,i){if(i=i||{},!e)throw new Error("No node provided");return re.call(e,De)===!1?!1:et(i,e)},Ni=Ot.concat("iframe").join(","),Ce=function(e,i){if(i=i||{},!e)throw new Error("No node provided");return re.call(e,Ni)===!1?!1:Re(i,e)};function tt(t,e){(e==null||e>t.length)&&(e=t.length);for(var i=0,r=Array(e);i<e;i++)r[i]=t[i];return r}function Li(t){if(Array.isArray(t))return tt(t)}function Ri(t,e,i){return(e=ji(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function Ci(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function ki(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
2In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Nt(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),i.push.apply(i,r)}return i}function Lt(t){for(var e=1;e<arguments.length;e++){var i=arguments[e]!=null?arguments[e]:{};e%2?Nt(Object(i),!0).forEach(function(r){Ri(t,r,i[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):Nt(Object(i)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(i,r))})}return t}function Mi(t){return Li(t)||Ci(t)||$i(t)||ki()}function zi(t,e){if(typeof t!="object"||!t)return t;var i=t[Symbol.toPrimitive];if(i!==void 0){var r=i.call(t,e);if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function ji(t){var e=zi(t,"string");return typeof e=="symbol"?e:e+""}function $i(t,e){if(t){if(typeof t=="string")return tt(t,e);var i={}.toString.call(t).slice(8,-1);return i==="Object"&&t.constructor&&(i=t.constructor.name),i==="Map"||i==="Set"?Array.from(t):i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?tt(t,e):void 0}}var Rt={activateTrap:function(e,i){if(e.length>0){var r=e[e.length-1];r!==i&&r._setPausedState(!0)}var n=e.indexOf(i);n===-1||e.splice(n,1),e.push(i)},deactivateTrap:function(e,i){var r=e.indexOf(i);r!==-1&&e.splice(r,1),e.length>0&&!e[e.length-1]._isManuallyPaused()&&e[e.length-1]._setPausedState(!1)}},Bi=function(e){return e.tagName&&e.tagName.toLowerCase()==="input"&&typeof e.select=="function"},Wi=function(e){return e?.key==="Escape"||e?.key==="Esc"||e?.keyCode===27},me=function(e){return e?.key==="Tab"||e?.keyCode===9},Vi=function(e){return me(e)&&!e.shiftKey},Ki=function(e){return me(e)&&e.shiftKey},Ct=function(e){return setTimeout(e,0)},pe=function(e){for(var i=arguments.length,r=new Array(i>1?i-1:0),n=1;n<i;n++)r[n-1]=arguments[n];return typeof e=="function"?e.apply(void 0,r):e},ke=function(e){return e.target.shadowRoot&&typeof e.composedPath=="function"?e.composedPath()[0]:e.target},Hi=[],Gi=function(e,i){var r=i?.document||document,n=i?.trapStack||Hi,o=Lt({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:Vi,isKeyBackward:Ki},i),s={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,manuallyPaused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},l,u=function(a,c,h){return a&&a[c]!==void 0?a[c]:o[h||c]},f=function(a,c){var h=typeof c?.composedPath=="function"?c.composedPath():void 0;return s.containerGroups.findIndex(function(y){var g=y.container,S=y.tabbableNodes;return g.contains(a)||h?.includes(g)||S.find(function(b){return b===a})})},p=function(a){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},h=c.hasFallback,y=h===void 0?!1:h,g=c.params,S=g===void 0?[]:g,b=o[a];if(typeof b=="function"&&(b=b.apply(void 0,Mi(S))),b===!0&&(b=void 0),!b){if(b===void 0||b===!1)return b;throw new Error("`".concat(a,"` was specified but was not a node, or did not return a node"))}var I=b;if(typeof b=="string"){try{I=r.querySelector(b)}catch(D){throw new Error("`".concat(a,'` appears to be an invali
2d selector; error="').concat(D.message,'"'))}if(!I&&!y)throw new Error("`".concat(a,"` as selector refers to no known node"))}return I},m=function(){var a=p("initialFocus",{hasFallback:!0});if(a===!1)return!1;if(a===void 0||a&&!Ce(a,o.tabbableOptions))if(f(r.activeElement)>=0)a=r.activeElement;else{var c=s.tabbableGroups[0],h=c&&c.firstTabbableNode;a=h||p("fallbackFocus")}else a===null&&(a=p("fallbackFocus"));if(!a)throw new Error("Your focus-trap needs to have at least one focusable element");return a},d=function(){if(s.containerGroups=s.containers.map(function(a){var c=Pt(a,o.tabbableOptions),h=Dt(a,o.tabbableOptions),y=c.length>0?c[0]:void 0,g=c.length>0?c[c.length-1]:void 0,S=h.find(function(D){return ne(D)}),b=h.slice().reverse().find(function(D){return ne(D)}),I=!!c.find(function(D){return Z(D)>0});return{container:a,tabbableNodes:c,focusableNodes:h,posTabIndexesFound:I,firstTabbableNode:y,lastTabbableNode:g,firstDomTabbableNode:S,lastDomTabbableNode:b,nextTabbableNode:function(ie){var ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,q=c.indexOf(ie);return q<0?ue?h.slice(h.indexOf(ie)+1).find(function(de){return ne(de)}):h.slice(0,h.indexOf(ie)).reverse().find(function(de){return ne(de)}):c[q+(ue?1:-1)]}}}),s.tabbableGroups=s.containerGroups.filter(function(a){return a.tabbableNodes.length>0}),s.tabbableGroups.length<=0&&!p("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(s.containerGroups.find(function(a){return a.posTabIndexesFound})&&s.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},O=function(a){var c=a.activeElement;if(c)return c.shadowRoot&&c.shadowRoot.activeElement!==null?O(c.shadowRoot):c},E=function(a){if(a!==!1&&a!==O(document)){if(!a||!a.focus){E(m());return}a.focus({preventScroll:!!o.preventScroll}),s.mostRecentlyFocusedNode=a,Bi(a)&&a.select()}},T=function(a){var c=p("setReturnFocus",{params:[a]});return c||(c===!1?!1:a)},F=function(a){var c=a.target,h=a.event,y=a.isBackward,g=y===void 0?!1:y;c=c||ke(h),d();var S=null;if(s.tabbableGroups.length>0){var b=f(c,h),I=b>=0?s.containerGroups[b]:void 0;if(b<0)g?S=s.tabbableGroups[s.tabbableGroups.length-1].lastTabbableNode:S=s.tabbableGroups[0].firstTabbableNode;else if(g){var D=s.tabbableGroups.findIndex(function(Je){var Qe=Je.firstTabbableNode;return c===Qe});if(D<0&&(I.container===c||Ce(c,o.tabbableOptions)&&!ne(c,o.tabbableOptions)&&!I.nextTabbableNode(c,!1))&&(D=b),D>=0){var ie=D===0?s.tabbableGroups.length-1:D-1,ue=s.tabbableGroups[ie];S=Z(c)>=0?ue.lastTabbableNode:ue.lastDomTabbableNode}else me(h)||(S=I.nextTabbableNode(c,!1))}else{var q=s.tabbableGroups.findIndex(function(Je){var Qe=Je.lastTabbableNode;return c===Qe});if(q<0&&(I.container===c||Ce(c,o.tabbableOptions)&&!ne(c,o.tabbableOptions)&&!I.nextTabbableNode(c))&&(q=b),q>=0){var de=q===s.tabbableGroups.length-1?0:q+1,xt=s.tabbableGroups[de];S=Z(c)>=0?xt.firstTabbableNode:xt.firstDomTabbableNode}else me(h)||(S=I.nextTabbableNode(c))}}else S=p("fallbackFocus");return S},A=function(a){var c=ke(a);if(!(f(c,a)>=0)){if(pe(o.clickOutsideDeactivates,a)){l.deactivate({returnFocus:o.returnFocusOnDeactivate});return}pe(o.allowOutsideClick,a)||a.preventDefault()}},k=function(a){var c=ke(a),h=f(c,a)>=0;if(h||c instanceof Document)h&&(s.mostRecentlyFocusedNode=c);else{a.stopImmediatePropagation();var y,g=!0;if(s.mostRecentlyFocusedNode)if(Z(s.mostRecentlyFocusedNode)>0){var S=f(s.mostRecentlyFocusedNode),b=s.containerGroups[S].tabbableNodes;if(b.length>0){var I=b.findIndex(function(D){return D===s.mostRecentlyFocusedNode});I>=0&&(o.isKeyForward(s.recentNavEvent)?I+1<b.length&&(y=b[I+1],g=!1):I-1>=0&&(y=b[I-1],g=!1))}}else s.containerGroups.some(function(D){return D.tabbableNodes.some(function(ie){return Z(ie)>0})})||(g=!1);else g=!1;g&&(y=F({target:s.mostRecentlyFocusedNode,isBackward:o.isKeyBackward(s.recentNavEvent)})),E(y||s.mostRecentlyFocusedNode||m())}s.recentNavEvent=void 0},M=function(a){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;s.recentNavEvent=a;var h=F({event:a,isBackward:c});h&&(me(a)&&a.preventDefault(),E(h))},j=function(a){(o.isKeyForward(a)||o.isKeyBackward(a))&&M(a,o.isKeyBackward(a))},P=function(a){Wi(a)&&pe(o.escapeDeactivates,a)!==!1&&(a.preventDefault(),l.deactivate())},z=function(a){var c=ke(a);f(c,a)>=0||pe(o.clickOutsideDeactivates,a)||pe(o.allowOutsideClick,a)||(a.preventDefault(),a.stopImmediatePropagation())},$=function(){if(s.active)return Rt.activateTrap(n,l),s.delayInitialFocusTimer=o.delayInitialFocus?Ct(function(){E(m())}):E(m()),r.addEventListener("focusin",k,!0),r.addEventListener("mousedown",A,{capture:!0,passive:!1}),r.addEventListener("touchstart",A,{capture:!0,passive:!1}),r.addEventListener("click",z,{capture:!0,passive:!1}),r.addEventListener("keydown",j,{capture:!0,passive:!1}),r.addEventListener("keydown",P),l},L=function(){if(s.active)return r.removeEventListener("focusin",k,!0),r.removeEventListener("mousedown",A,!0),r.removeEventListener("touchstart",A,!0),r.removeEventListener("click",z,!0),r.removeEventListener("keydown",j,!0),r.removeEventListener("keydown",P),l},x=function(a){var c=a.some(function(h){var y=Array.from(h.removedNodes
vendor: 6,660 bytes, line 2
2);return y.some(function(g){return g===s.mostRecentlyFocusedNode})});c&&E(m())},W=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(x):void 0,w=function(){W&&(W.disconnect(),s.active&&!s.paused&&s.containers.map(function(a){W.observe(a,{subtree:!0,childList:!0})}))};return l={get active(){return s.active},get paused(){return s.paused},activate:function(a){if(s.active)return this;var c=u(a,"onActivate"),h=u(a,"onPostActivate"),y=u(a,"checkCanFocusTrap");y||d(),s.active=!0,s.paused=!1,s.nodeFocusedBeforeActivation=O(r),c?.();var g=function(){y&&d(),$(),w(),h?.()};return y?(y(s.containers.concat()).then(g,g),this):(g(),this)},deactivate:function(a){if(!s.active)return this;var c=Lt({onDeactivate:o.onDeactivate,onPostDeactivate:o.onPostDeactivate,checkCanReturnFocus:o.checkCanReturnFocus},a);clearTimeout(s.delayInitialFocusTimer),s.delayInitialFocusTimer=void 0,L(),s.active=!1,s.paused=!1,w(),Rt.deactivateTrap(n,l);var h=u(c,"onDeactivate"),y=u(c,"onPostDeactivate"),g=u(c,"checkCanReturnFocus"),S=u(c,"returnFocus","returnFocusOnDeactivate");h?.();var b=function(){Ct(function(){S&&E(T(s.nodeFocusedBeforeActivation)),y?.()})};return S&&g?(g(T(s.nodeFocusedBeforeActivation)).then(b,b),this):(b(),this)},pause:function(a){return s.active?(s.manuallyPaused=!0,this._setPausedState(!0,a)):this},unpause:function(a){return s.active?(s.manuallyPaused=!1,n[n.length-1]!==this?this:this._setPausedState(!1,a)):this},updateContainerElements:function(a){var c=[].concat(a).filter(Boolean);return s.containers=c.map(function(h){return typeof h=="string"?r.querySelector(h):h}),s.active&&d(),w(),this}},Object.defineProperties(l,{_isManuallyPaused:{value:function(){return s.manuallyPaused}},_setPausedState:{value:function(a,c){if(s.paused===a)return this;if(s.paused=a,a){var h=u(c,"onPause"),y=u(c,"onPostPause");h?.(),L(),w(),y?.()}else{var g=u(c,"onUnpause"),S=u(c,"onPostUnpause");g?.(),d(),$(),w(),S?.()}return this}}}),l.updateContainerElements(e),l};function it(t,e){t.indexOf(e)===-1&&t.push(e)}function rt(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}var ve=(t,e,i)=>Math.min(Math.max(i,t),e);var _={duration:.3,delay:0,endDelay:0,repeat:0,easing:"ease"};var C=t=>typeof t=="number";var K=t=>Array.isArray(t)&&!C(t[0]);var Mt=(t,e,i)=>{let r=e-t;return((i-t)%r+r)%r+t};function ye(t,e){return K(t)?t[Mt(0,t.length,e)]:t}var se=(t,e,i)=>-i*t+i*e+t;var ge=()=>{},R=t=>t;var V=(t,e,i)=>e-t===0?1:(i-t)/(e-t);function ce(t,e){let i=t[t.length-1];for(let r=1;r<=e;r++){let n=V(0,e,r);t.push(se(i,1,n))}}function oe(t){let e=[0];return ce(e,t-1),e}function be(t,e=oe(t.length),i=R){let r=t.length,n=r-e.length;return n>0&&ce(e,n),o=>{let s=0;for(;s<r-2&&!(o<e[s+1]);s++);let l=ve(0,1,V(e[s],e[s+1],o));return l=ye(i,s)(l),se(t[s],t[s+1],l)}}var we=t=>Array.isArray(t)&&C(t[0]);var X=t=>typeof t=="object"&&!!t.createAnimation;var N=t=>typeof t=="function";var H=t=>typeof t=="string";var Y={ms:t=>t*1e3,s:t=>t/1e3};function nt(t,e){return e?t*(1e3/e):0}var zt=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t,Ui=1e-7,qi=12;function Zi(t,e,i,r,n){let o,s,l=0;do s=e+(i-e)/2,o=zt(s,r,n)-t,o>0?i=s:e=s;while(Math.abs(o)>Ui&&++l<qi);return s}function ae(t,e,i,r){if(t===e&&i===r)return R;let n=o=>Zi(o,0,1,t,i);return o=>o===0||o===1?o:zt(n(o),e,r)}var st=(t,e="end")=>i=>{i=e==="end"?Math.min(i,.999):Math.max(i,.001);let r=i*t,n=e==="end"?Math.floor(r):Math.ceil(r);return ve(0,1,n/t)};var Xi={ease:ae(.25,.1,.25,1),"ease-in":ae(.42,0,1,1),"ease-in-out":ae(.42,0,.58,1),"ease-out":ae(0,0,.58,1)},Yi=/\((.*?)\)/;function fe(t){if(N(t))return t;if(we(t))return ae(...t);let e=Xi[t];if(e)return e;if(t.startsWith("steps")){let i=Yi.exec(t);if(i){let r=i[1].split(",");return st(parseFloat(r[0]),r[1].trim())}}return R}var G=class{constructor(e,i=[0,1],{easing:r,duration:n=_.duration,delay:o=_.delay,endDelay:s=_.endDelay,repeat:l=_.repeat,offset:u,direction:f="normal",autoplay:p=!0}={}){if(this.startTime=null,this.rate=1,this.t=0,this.cancelTimestamp=null,this.easing=R,this.duration=0,this.totalDuration=0,this.repeat=0,this.playState="idle",this.finished=new Promise((d,O)=>{this.resolve=d,this.reject=O}),r=r||_.easing,X(r)){let d=r.createAnimation(i);r=d.easing,i=d.keyframes||i,n=d.duration||n}this.repeat=l,this.easing=K(r)?R:fe(r),this.updateDuration(n);let m=be(i,u,K(r)?r.map(fe):R);this.tick=d=>{var O;o=o;let E=0;this.pauseTime!==void 0?E=this.pauseTime:E=(d-this.startTime)*this.rate,this.t=E,E/=1e3,E=Math.max(E-o,0),this.playState==="finished"&&this.pauseTime===void 0&&(E=this.totalDuration);let T=E/this.duration,F=Math.floor(T),A=T%1;!A&&T>=1&&(A=1),A===1&&F--;let k=F%2;(f==="reverse"||f==="alternate"&&k||f==="alternate-reverse"&&!k)&&(A=1-A);let M=E>=this.totalDuration?1:Math.min(A,1),j=m(this.easing(M));e(j),this.pauseTime===void 0&&(this.playState==="finished"||E>=this.totalDuration+s)?(this.playState="finished",(O=this.resolve)===null||O===void 0||O.call(this,j)):this.playState!=="idle"&&(this.frameRequestId=requestAnimationFrame(this.tick))},p&&this.play()}play(){let e=performance.now();this.playState="running",this.pauseTime!==void 0?this.startTime=e-this.pauseTime:this.startTime||(this.startTime=e),this.cancelTimestamp=this.startTime,this.pauseTime=void 0,this.frameRequestId=requestAnimationFrame(this.tick)}pause(){this.playState="paused",this.pauseTime=this.t}finish(){this.playState="finished",this.tick(0)}stop(){var e;this.playState="idle",this.frameRequestId!==void 0&&cancelAnimationFrame(this.frameRequestId),(e=this.reject)===null||e===void 0||e.call(this,!1)}cancel(){this.stop(),this.tick(this.cancelTimestamp)}reverse(){this.rate*=-1}commitStyles(){}updateDuration(e){this.duration=e,this.totalDuration=e*(this.repeat+1)}get currentTime(){return this.t}set currentTime(e){this.pauseTime!==void 0||this.rate===0?this.pauseTime=e:this.startTime=performance.now()-e/this.rate}get playbackRate(){return this.rate}set playbackRate(e){this.rate=e}};var Ee=function(){};var xe=class{setAnimation(e){this.animation=e,e?.finished.then(()=>this.clearAnimation()).catch(()=>{})}clearAnimation(){this.animation=this.generator=void 0}};var ot=new WeakMap;function Me(t){return ot.has(t)||ot.set(t,{transforms:[],values:new Map}),ot.get(t)}function jt(t,e){return t.has(e)||t.set(e,new xe),t.get(e)}var Ji=["","X","Y","Z"],Qi=["translate","scale","rotate","skew"],Se={x:"translateX",y:"translateY",z:"translateZ"},$t={syntax:"<angle>",initialValue:"0deg",toDefaultUnit:t=>t+"deg"},er={translate:{syntax:"<length-percentage>",initialValue:"0px",toDefaultUnit:t=>t+"px"},rotate:$t,scale:{syntax:"<number>",initialValue:1,toDefaultUnit:R},skew:$t},J=new Map,je=t=>`--motion-${t}`,ze=["x","y","z"];Qi.forEach(t=>
vendor: 5,984 bytes, line 2
2{Ji.forEach(e=>{ze.push(t+e),J.set(je(t+e),er[t])})});var tr=(t,e)=>ze.indexOf(t)-ze.indexOf(e),ir=new Set(ze),$e=t=>ir.has(t),Bt=(t,e)=>{Se[e]&&(e=Se[e]);let{transforms:i}=Me(t);it(i,e),t.style.transform=rr(i)},rr=t=>t.sort(tr).reduce(nr,"").trim(),nr=(t,e)=>`${t} ${e}(var(${je(e)}))`;var Oe=t=>t.startsWith("--"),Wt=new Set;function Vt(t){if(!Wt.has(t)){Wt.add(t);try{let{syntax:e,initialValue:i}=J.has(t)?J.get(t):{};CSS.registerProperty({name:t,inherits:!1,syntax:e,initialValue:i})}catch{}}}var at=(t,e)=>document.createElement("div").animate(t,e),Kt={cssRegisterProperty:()=>typeof CSS<"u"&&Object.hasOwnProperty.call(CSS,"registerProperty"),waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate"),partialKeyframes:()=>{try{at({opacity:[1]})}catch{return!1}return!0},finished:()=>!!at({opacity:[0,1]},{duration:.001}).finished,linearEasing:()=>{try{at({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0}},lt={},Q={};for(let t in Kt)Q[t]=()=>(lt[t]===void 0&&(lt[t]=Kt[t]()),lt[t]);var sr=.015,or=(t,e)=>{let i="",r=Math.round(e/sr);for(let n=0;n<r;n++)i+=t(V(0,r-1,n))+", ";return i.substring(0,i.length-2)},ct=(t,e)=>N(t)?Q.linearEasing()?`linear(${or(t,e)})`:_.easing:we(t)?ar(t):t,ar=([t,e,i,r])=>`cubic-bezier(${t}, ${e}, ${i}, ${r})`;function Ht(t,e){for(let i=0;i<t.length;i++)t[i]===null&&(t[i]=i?t[i-1]:e());return t}var Be=t=>Array.isArray(t)?t:[t];function _e(t){return Se[t]&&(t=Se[t]),$e(t)?je(t):t}var Te={get:(t,e)=>{e=_e(e);let i=Oe(e)?t.style.getPropertyValue(e):getComputedStyle(t)[e];if(!i&&i!==0){let r=J.get(e);r&&(i=r.initialValue)}return i},set:(t,e,i)=>{e=_e(e),Oe(e)?t.style.setProperty(e,i):t.style[e]=i}};function We(t,e=!0){if(!(!t||t.playState==="finished"))try{t.stop?t.stop():(e&&t.commitStyles(),t.cancel())}catch{}}function Gt(t,e){var i;let r=e?.toDefaultUnit||R,n=t[t.length-1];if(H(n)){let o=((i=n.match(/(-?[\d.]+)([a-z%]*)/))===null||i===void 0?void 0:i[2])||"";o&&(r=s=>s+o)}return r}function lr(){return window.__MOTION_DEV_TOOLS_RECORD}function Ve(t,e,i,r={},n){let o=lr(),s=r.record!==!1&&o,l,{duration:u=_.duration,delay:f=_.delay,endDelay:p=_.endDelay,repeat:m=_.repeat,easing:d=_.easing,persist:O=!1,direction:E,offset:T,allowWebkitAcceleration:F=!1,autoplay:A=!0}=r,k=Me(t),M=$e(e),j=Q.waapi();M&&Bt(t,e);let P=_e(e),z=jt(k.values,P),$=J.get(P);return We(z.animation,!(X(d)&&z.generator)&&r.record!==!1),()=>{let L=()=>{var w,v;return(v=(w=Te.get(t,P))!==null&&w!==void 0?w:$?.initialValue)!==null&&v!==void 0?v:0},x=Ht(Be(i),L),W=Gt(x,$);if(X(d)){let w=d.createAnimation(x,e!=="opacity",L,P,z);d=w.easing,x=w.keyframes||x,u=w.duration||u}if(Oe(P)&&(Q.cssRegisterProperty()?Vt(P):j=!1),M&&!Q.linearEasing()&&(N(d)||K(d)&&d.some(N))&&(j=!1),j){$&&(x=x.map(a=>C(a)?$.toDefaultUnit(a):a)),x.length===1&&(!Q.partialKeyframes()||s)&&x.unshift(L());let w={delay:Y.ms(f),duration:Y.ms(u),endDelay:Y.ms(p),easing:K(d)?void 0:ct(d,u),direction:E,iterations:m+1,fill:"both"};l=t.animate({[P]:x,offset:T,easing:K(d)?d.map(a=>ct(a,u)):void 0},w),l.finished||(l.finished=new Promise((a,c)=>{l.onfinish=a,l.oncancel=c}));let v=x[x.length-1];l.finished.then(()=>{O||(Te.set(t,P,v),l.cancel())}).catch(ge),F||(l.playbackRate=1.000001)}else if(n&&M)x=x.map(w=>typeof w=="string"?parseFloat(w):w),x.length===1&&x.unshift(parseFloat(L())),l=new n(w=>{Te.set(t,P,W?W(w):w)},x,Object.assign(Object.assign({},r),{duration:u,easing:d}));else{let w=x[x.length-1];Te.set(t,P,$&&C(w)?$.toDefaultUnit(w):w)}return s&&o(t,e,x,{duration:u,delay:f,easing:d,repeat:m,offset:T},"motion-one"),z.setAnimation(l),l&&!A&&l.pause(),l}}var Ke=(t,e)=>t[e]?Object.assign(Object.assign({},t),t[e]):Object.assign({},t);function ee(t,e){var i;return typeof t=="string"?e?((i=e[t])!==null&&i!==void 0||(e[t]=document.querySelectorAll(t)),t=e[t]):t=document.querySelectorAll(t):t instanceof Element&&(t=[t]),Array.from(t||[])}var cr=t=>t(),le=(t,e,i=_.duration)=>new Proxy({animations:t.map(cr).filter(Boolean),duration:i,options:e},ur),fr=t=>t.animations[0],ur={get:(t,e)=>{let i=fr(t);switch(e){case"duration":return t.duration;case"currentTime":return Y.s(i?.[e]||0);case"playbackRate":case"playState":return i?.[e];case"finished":return t.finished||(t.finished=Promise.all(t.animations.map(dr)).catch(ge)),t.finished;case"stop":return()=>{t.animations.forEach(r=>We(r))};case"forEachNative":return r=>{t.animations.forEach(n=>r(n,t))};default:return typeof i?.[e]>"u"?void 0:()=>t.animations.forEach(r=>r[e]())}},set:(t,e,i)=>{switch(e){case"currentTime":i=Y.ms(i);case"playbackRate":for(let r=0;r<t.animations.length;r++)t.animations[r][e]=i;return!0}return!1}},dr=t=>t.finished;function Ut(t=.1,{start:e=0,from:i=0,easing:r}={}){return(n,o)=>{let s=C(i)?i:hr(i,o),l=Math.abs(s-n),u=t*l;if(r){let f=o*t;u=fe(r)(u/f)*f}return e+u}}function hr(t,e){if(t==="first")return 0;{let i=e-1;return t==="last"?i:i/2}}function He(t,e,i){return N(t)?t(e,i):t}function qt(t){return function(i,r,n={}){i=ee(i);let o=i.length;Ee(!!o,"No valid element provided."),Ee(!!r,"No keyframes defined.");let s=[];for(let l=0;l<o;l++){let u=i[l];for(let f in r){let p=Ke(n,f);p.delay=He(p.delay,l,o);let m=Ve(u,f,r[f],p,t);s.push(m)}}return le(s,n,n.duration)}}var ft=qt(G);function Ge(t,e){var i={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(i[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,r=Object.getOwnPropertySymbols(t);n<r.length;n++)e.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(t,r[n])&&(i[r[n]]=t[r[n]]);return i}function ut(t,e,i,r){var n;return C(e)?e:e.startsWith("-")||e.startsWith("+")?Math.max(0,t+parseFloat(e)):e==="<"?i:(n=r.get(e))!==null&&n!==void 0?n:t}function pr(t,e,i){for(let r=0;r<t.length;r++){let n=t[r];n.at>e&&n.at<i&&(rt(t,n),r--)}}function Zt(t,e,i,r,n,o){pr(t,n,o);for(let s=0;s<e.length;s++)t.push({value:e[s],at:se(n,o,r[s]),easing:ye(i,s)})}function Xt(t,e){return t.at===e.at?t.value===null?1:-1:t.at-e.at}function Yt(t,e={}){var i;let r=mr(t,e),n=r.map(o=>
2Ve(...o,G)).filter(Boolean);return le(n,e,(i=r[0])===null||i===void 0?void 0:i[3].duration)}function mr(t,e={}){var{defaultOptions:i={}}=e,r=Ge(e,["defaultOptions"]);let n=[],o=new Map,s={},l=new Map,u=0,f=0,p=0;for(let m=0;m<t.length;m++){let d=t[m];if(H(d)){l.set(d,f);continue}else if(!Array.isArray(d)){l.set(d.name,ut(f,d.at,u,l));continue}let[O,E,T={}]=d;T.at!==void 0&&(f=ut(f,T.at,u,l));let F=0,A=ee(O,s),k=A.length;for(let M=0;M<k;M++){let j=A[M],P=vr(j,o);for(let z in E){let $=yr(z,P),L=Be(E[z]),x=Ke(T,z),{duration:W=i.duration||_.duration,easing:w=i.easing||_.easing}=x;if(X(w)){Ee(z==="opacity"||L.length>1,"spring must be provided 2 keyframes within timeline()");let g=w.createAnimation(L,z!=="opacity",()=>0,z);w=g.easing,L=g.keyframes||L,W=g.duration||W}let v=He(T.delay,M,k)||0,a=f+v,c=a+W,{offset:h=oe(L.length)}=x;h.length===1&&h[0]===0&&(h[1]=1);let y=h.length-L.length;y>0&&ce(h,y),L.length===1&&L.unshift(null),Zt($,L,w,h,a,c),F=Math.max(v+W,F),p=Math.max(c,p)}}u=f,f+=F}return o.forEach((m,d)=>{for(let O in m){let E=m[O];E.sort(Xt);let T=[],F=[],A=[];for(let k=0;k<E.length;k++){let{at:M,value:j,easing:P}=E[k];T.push(j),F.push(V(0,p,M)),A.push(P||_.easing)}F[0]!==0&&(F.unshift(0),T.unshift(T[0]),A.unshift("linear")),F[F.length-1]!==1&&(F.push(1),T.push(null)),n.push([d,O,T,Object.assign(Object.assign(Object.assign({},i),{duration:p,easing:A,offset:F}),r)])}}),n}function vr(t,e){return!e.has(t)&&e.set(t,{}),e.get(t)}function yr(t,e){return e[t]||(e[t]=[]),e[t]}var gr={any:0,all:1};function Jt(t,e,{root:i,margin:r,amount:n="any"}={}){if(typeof IntersectionObserver>"u")return()=>{};let o=ee(t),s=new WeakMap,l=f=>{f.forEach(p=>{let m=s.get(p.target);if(p.isIntersecting!==!!m)if(p.isIntersecting){let d=e(p);N(d)?s.set(p.target,d):u.unobserve(p.target)}else m&&(m(p),s.delete(p.target))})},u=new IntersectionObserver(l,{root:i,rootMargin:r,threshold:typeof n=="number"?n:gr[n]});return o.forEach(f=>u.observe(f)),()=>u.disconnect()}var Ue=new WeakMap,te;function br(t,e){if(e){let{inlineSize:i,blockSize:r}=e[0];return{width:i,height:r}}else return t instanceof SVGElement&&"getBBox"in t?t.getBBox():{width:t.offsetWidth,height:t.offsetHeight}}function wr({target:t,contentRect:e,borderBoxSize:i}){var r;(r=Ue.get(t))===null||r===void 0||r.forEach(n=>{n({target:t,contentSize:e,get size(){return br(t,i)}})})}function Er(t){t.forEach(wr)}function xr(){typeof ResizeObserver>"u"||(te=new ResizeObserver(Er))}function Qt(t,e){te||xr();let i=ee(t);return i.forEach(r=>{let n=Ue.get(r);n||(n=new Set,Ue.set(r,n)),n.add(e),te?.observe(r)}),()=>{i.forEach(r=>{let n=Ue.get(r);n?.delete(e),n?.size||te?.unobserve(r)})}}var qe=new Set,Ae;function Sr(){Ae=()=>{let t={width:window.innerWidth,height:window.innerHeight},e={target:window,size:t,contentSize:t};qe.forEach(i=>i(e))},window.addEventListener("resize",Ae)}function ei(t){return qe.add(t),Ae||Sr(),()=>{qe.delete(t),!qe.size&&Ae&&(Ae=void 0)}}function ti(t,e){return N(t)?ei(t):Qt(t,e)}var Or=50,ii=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),ni=()=>({time:0,x:ii(),y:ii()}),_r={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function ri(t,e,i,r){let n=i[e],{length:o,position:s}=_r[e],l=n.current,u=i.time;n.current=t[`scroll${s}`],n.scrollLength=t[`scroll${o}`]-t[`client${o}`],n.offset.length=0,n.offset[0]=0,n.offset[1]=n.scrollLength,n.progress=V(0,n.scrollLength,n.current);let f=r-u;n.velocity=f>Or?0:nt(n.current-l,f)}function si(t,e,i){ri(t,"x",e,i),ri(t,"y",e,i),e.time=i}function oi(t,e){let i={x:0,y:0},r=t;for(;r&&r!==e;)if(r instanceof HTMLElement)i.x+=r.offsetLeft,i.y+=r.offsetTop,r=r.offsetParent;else if(r instanceof SVGGraphicsElement&&"getBBox"in r){let{top:n,left:o}=r.getBBox();for(i.x+=o,i.y+=n;r&&r.tagName!=="svg";)r=r.parentNode}return i}var Ze={Enter:[[0,1],[1,1]],Exit:[[0,0],[1,0]],Any:[[1,0],[0,1]],All:[[0,0],[1,1]]};var Xe={start:0,center:.5,end:1};function dt(t,e,i=0){let r=0;if(Xe[t]!==void 0&&(t=Xe[t]),H(t)){let n=parseFloat(t);t.endsWith("px")?r=n:t.endsWith("%")?t=n/100:t.endsWith("vw")?r=n/100*document.documentElement.clientWidth:t.endsWith("vh")?r=n/100*document.documentElement.clientHeight:t=n}return C(t)&&(r=e*t),i+r}var Tr=[0,0];function ai(t,e,i,r){let n=Array.isArray(t)?t:Tr,o=0,s=0;return C(t)?n=[t,t]:H(t)&&(t=t.trim(),t.includes(" ")?n=t.split(" "):n=[t,Xe[t]?t:"0"]),o=dt(n[0],i,r),s=dt(n[1],e),o-s}var Ar={x:0,y:0};function li(t,e,i){let{offset:r=Ze.All}=i,{target:n=t,axis:o="y"}=i,s=o==="y"?"height":"width",l=n!==t?oi(n,t):Ar,u=n===t?{width:t.scrollWidth,height:t.scrollHeight}:{width:n.clientWidth,height:n.clientHeight},f={width:t.clientWidth,height:t.clientHeight};e[o].offset.length=0;let p=!e[o].interpolate,m=r.length;for(let d=0;d<m;
2d++){let O=ai(r[d],f[s],u[s],l[o]);!p&&O!==e[o].interpolatorOffsets[d]&&(p=!0),e[o].offset[d]=O}p&&(e[o].interpolate=be(oe(m),e[o].offset),e[o].interpolatorOffsets=[...e[o].offset]),e[o].progress=e[o].interpolate(e[o].current)}function Fr(t,e=t,i){if(i.x.targetOffset=0,i.y.targetOffset=0,e!==t){let r=e;for(;r&&r!=t;)i.x.targetOffset+=r.offsetLeft,i.y.targetOffset+=r.offsetTop,r=r.offsetParent}i.x.targetLength=e===t?e.scrollWidth:e.clientWidth,i.y.targetLength=e===t?e.scrollHeight:e.clientHeight,i.x.containerLength=t.clientWidth,i.y.containerLength=t.clientHeight}function ci(t,e,i,r={}){let n=r.axis||"y";return{measure:()=>Fr(t,r.target,i),update:o=>{si(t,i,o),(r.offset||r.target)&&li(t,i,r)},notify:N(e)?()=>e(i):Ir(e,i[n])}}function Ir(t,e){return t.pause(),t.forEachNative((i,{easing:r})=>{var n,o;if(i.updateDuration)r||(i.easing=R),i.updateDuration(1);else{let s={duration:1e3};r||(s.easing="linear"),(o=(n=i.effect)===null||n===void 0?void 0:n.updateTiming)===null||o===void 0||o.call(n,s)}}),()=>{t.currentTime=e.progress}}var Fe=new WeakMap,fi=new WeakMap,ht=new WeakMap,ui=t=>t===document.documentElement?window:t;function di(t,e={}){var{container:i=document.documentElement}=e,r=Ge(e,["container"]);let n=ht.get(i);n||(n=new Set,ht.set(i,n));let o=ni(),s=ci(i,t,o,r);if(n.add(s),!Fe.has(i)){let f=()=>{let m=performance.now();for(let d of n)d.measure();for(let d of n)d.update(m);for(let d of n)d.notify()};Fe.set(i,f);let p=ui(i);window.addEventListener("resize",f,{passive:!0}),i!==document.documentElement&&fi.set(i,ti(i,f)),p.addEventListener("scroll",f,{passive:!0})}let l=Fe.get(i),u=requestAnimationFrame(l);return()=>{var f;typeof t!="function"&&t.stop(),cancelAnimationFrame(u);let p=ht.get(i);if(!p||(p.delete(s),p.size))return;let m=Fe.get(i);Fe.delete(i),m&&(ui(i).removeEventListener("scroll",m),(f=fi.get(i))===null||f===void 0||f(),window.removeEventListener("resize",m))}}function Pr(t,e={}){return le([()=>{let i=new G(t,[0,1],e);return i.finished.catch(()=>{}),i}],e,e.duration)}function hi(t,e,i){return(N(t)?Pr:ft)(t,e,i)}function U(t){this.listenerMap=[{},{}],t&&this.root(t),this.handle=U.prototype.handle.bind(this),this._removedListeners=[]}U.prototype.root=function(t){let e=this.listenerMap,i;if(this.rootElement){for(i in e[1])e[1].hasOwnProperty(i)&&this.rootElement.removeEventListener(i,this.handle,!0);for(i in e[0])e[0].hasOwnProperty(i)&&this.rootElement.removeEventListener(i,this.handle,!1)}if(!t||!t.addEventListener)return this.rootElement&&delete this.rootElement,this;this.rootElement=t;for(i in e[1])e[1].hasOwnProperty(i)&&this.rootElement.addEventListener(i,this.handle,!0);for(i in e[0])e[0].hasOwnProperty(i)&&this.rootElement.addEventListener(i,this.handle,!1);return this};U.prototype.captureForType=function(t){return["blur","error","focus","load","resize","scroll"].indexOf(t)!==-1};U.prototype.on=function(t,e,i,r){let n,o,s,l;if(!t)throw new TypeError("Invalid event type: "+t);if(typeof e=="function"&&(r=i,i=e,e=null),r===void 0&&(r=this.captureForType(t)),typeof i!="function")throw new TypeError("Handler must be a type of Function");return n=this.rootElement,o=this.listenerMap[r?1:0],o[t]||(n&&n.addEventListener(t,this.handle,r),o[t]=[]),e?/^[a-z]+$/i.test(e)?(l=e,s=Dr):/^#[a-z0-9\-_]+$/i.test(e)?(l=e.slice(1),s=Lr):(l=e,s=Element.prototype.matches):(l=null,s=Nr.bind(this)),o[t].push({selector:e,handler:i,matcher:s,matcherParam:l}),this};U.prototype.off=function(t,e,i,r){let n,o,s,l,u;if(typeof e=="function"&&(r=i,i=e,e=null),r===void 0)return this.off(t,e,i,!0),this.off(t,e,i,!1),this;if(s=this.listenerMap[r?1:0],!t){for(u in s)s.hasOwnProperty(u)&&this.off(u,e,i);return this}if(l=s[t],!l||!l.length)return this;for(n=l.length-1;n>=0;n--)o=l[n],(!e||e===o.selector)&&(!i||i===o.handler)&&(this._removedListeners.push(o),l.splice(n,1));return l.length||(delete s[t],this.rootElement&&this.rootElement.removeEventListener(t,this.handle,r)),this};U.prototype.handle=function(t){let e,i,r=t.type,n,o,s,l,u=[],f,p="ftLabsDelegateIgnore";if(t[p]===!0)return;switch(f=t.target,f.nodeType===3&&(f=f.parentNode),f.correspondingUseElement&&(f=f.correspondingUseElement),n=this.rootElement,o=t.eventPhase||(t.target!==t.currentTarget?3:2),o){case 1:u=this.listenerMap[1][r];break;case 2:this.listenerMap[0]&&this.listenerMap[0][r]&&(u=u.concat(this.listenerMap[0][r])),this.listenerMap[1]&&this.listenerMap[1][r]&&(u=u.concat(this.listenerMap[1][r]));break;case 3:u=this.listenerMap[0][r];break}let m=[];for(i=u.length;f&&i;){for(e=0;e<i&&(s=u[e],!!s);e++)f.tagName&&["button","input","select","textarea"].indexOf(f.tagName.toLowerCase())>-1&&f.hasAttribute("disabled")?m=[]:s.matcher.call(f,s.matcherParam,f)&&m.push([t,f,s]);if(f===n||(i=u.length,f=f.parentElement||f.parentNode,f instanceof HTMLDocument))break}let d;for(e=0;e<m.length;e++)if(!(this._removedListeners.indexOf(m[e][2])>-1)&&(l=this.fire.apply(this,m[e]),l===!1)){m[e][0][p]=!0,m[e][0].preventDefault(),d=!1;break}return d};
vendor: 15,144 bytes, line 2
2U.prototype.fire=function(t,e,i){return i.handler.call(e,t,e)};function Dr(t,e){return t.toLowerCase()===e.tagName.toLowerCase()}function Nr(t,e){return this.rootElement===window?e===document||e===document.documentElement||e===window:this.rootElement===e}function Lr(t,e){return t===e.id}U.prototype.destroy=function(){this.off(),this.root()};var Rr=U;function Ie(t,e,i){let r=document.createElement(e);return t&&(r.className=t),i&&i.appendChild(r),r}function Cr(t,e,i){let r=`translate3d(${t}px,${e||0}px,0)`;return i!==void 0&&(r+=` scale3d(${i},${i},1)`),r}function pt(t,e,i){t.style.width=typeof e=="number"?`${e}px`:e,t.style.height=typeof i=="number"?`${i}px`:i}var B={IDLE:"idle",LOADING:"loading",LOADED:"loaded",ERROR:"error"};function kr(t){return"button"in t&&t.button===1||t.ctrlKey||t.metaKey||t.altKey||t.shiftKey}function Pe(t,e,i=document){let r=[];if(t instanceof Element)r=[t];else if(t instanceof NodeList||Array.isArray(t))r=Array.from(t);else{let n=typeof t=="string"?t:e;n&&(r=Array.from(i.querySelectorAll(n)))}return r}function Mr(t){return typeof t=="function"&&t.prototype&&t.prototype.goTo}function pi(){return!!(navigator.vendor&&navigator.vendor.match(/apple/i))}var mt=class{constructor(e,i){this.type=e,this.defaultPrevented=!1,i&&Object.assign(this,i)}preventDefault(){this.defaultPrevented=!0}},vt=class{constructor(){this._listeners={},this._filters={},this.pswp=void 0,this.options=void 0}addFilter(e,i,r=100){var n,o,s;this._filters[e]||(this._filters[e]=[]),(n=this._filters[e])===null||n===void 0||n.push({fn:i,priority:r}),(o=this._filters[e])===null||o===void 0||o.sort((l,u)=>l.priority-u.priority),(s=this.pswp)===null||s===void 0||s.addFilter(e,i,r)}removeFilter(e,i){this._filters[e]&&(this._filters[e]=this._filters[e].filter(r=>r.fn!==i)),this.pswp&&this.pswp.removeFilter(e,i)}applyFilters(e,...i){var r;return(r=this._filters[e])===null||r===void 0||r.forEach(n=>{i[0]=n.fn.apply(this,i)}),i[0]}on(e,i){var r,n;this._listeners[e]||(this._listeners[e]=[]),(r=this._listeners[e])===null||r===void 0||r.push(i),(n=this.pswp)===null||n===void 0||n.on(e,i)}off(e,i){var r;this._listeners[e]&&(this._listeners[e]=this._listeners[e].filter(n=>i!==n)),(r=this.pswp)===null||r===void 0||r.off(e,i)}dispatch(e,i){var r;if(this.pswp)return this.pswp.dispatch(e,i);let n=new mt(e,i);return(r=this._listeners[e])===null||r===void 0||r.forEach(o=>{o.call(this,n)}),n}},yt=class{constructor(e,i){if(this.element=Ie("pswp__img pswp__img--placeholder",e?"img":"div",i),e){let r=this.element;r.decoding="async",r.alt="",r.src=e,r.setAttribute("role","presentation")}this.element.setAttribute("aria-hidden","true")}setDisplayedSize(e,i){this.element&&(this.element.tagName==="IMG"?(pt(this.element,250,"auto"),this.element.style.transformOrigin="0 0",this.element.style.transform=Cr(0,0,e/250)):pt(this.element,e,i))}destroy(){var e;(e=this.element)!==null&&e!==void 0&&e.parentNode&&this.element.remove(),this.element=null}},gt=class{constructor(e,i,r){this.instance=i,this.data=e,this.index=r,this.element=void 0,this.placeholder=void 0,this.slide=void 0,this.displayedImageWidth=0,this.displayedImageHeight=0,this.width=Number(this.data.w)||Number(this.data.width)||0,this.height=Number(this.data.h)||Number(this.data.height)||0,this.isAttached=!1,this.hasSlide=!1,this.isDecoding=!1,this.state=B.IDLE,this.data.type?this.type=this.data.type:this.data.src?this.type="image":this.type="html",this.instance.dispatch("contentInit",{content:this})}removePlaceholder(){this.placeholder&&!this.keepPlaceholder()&&setTimeout(()=>{this.placeholder&&(this.placeholder.destroy(),this.placeholder=void 0)},1e3)}load(e,i){if(this.slide&&this.usePlaceholder())if(this.placeholder){let r=this.placeholder.element;r&&!r.parentElement&&this.slide.container.prepend(r)}else{let r=this.instance.applyFilters("placeholderSrc",this.data.msrc&&this.slide.isFirstSlide?this.data.msrc:!1,this);this.placeholder=new yt(r,this.slide.container)}this.element&&!i||this.instance.dispatch("contentLoad",{content:this,isLazy:e}).defaultPrevented||(this.isImageContent()?(this.element=Ie("pswp__img","img"),this.displayedImageWidth&&this.loadImage(e)):(this.element=Ie("pswp__content","div"),this.element.innerHTML=this.data.html||""),i&&this.slide&&this.slide.updateContentSize(!0))}loadImage(e){var i,r;if(!this.isImageContent()||!this.element||this.instance.dispatch("contentLoadImage",{content:this,isLazy:e}).defaultPrevented)return;let n=this.element;this.updateSrcsetSizes(),this.data.srcset&&(n.srcset=this.data.srcset),n.src=(i=this.data.src)!==null&&i!==void 0?i:"",n.alt=(r=this.data.alt)!==null&&r!==void 0?r:"",this.state=B.LOADING,n.complete?this.onLoaded():(n.onload=()=>{this.onLoaded()},n.onerror=()=>{this.onError()})}setSlide(e){this.slide=e,this.hasSlide=!0,this.instance=e.pswp}onLoaded(){this.state=B.LOADED,this.slide&&this.element&&(this.instance.dispatch("loadComplete",{slide:this.slide,content:this}),this.slide.isActive&&this.slide.heavyAppended&&!this.element.parentNode&&(this.append(),this.slide.updateContentSize(!0)),(this.state===B.LOADED||this.state===B.ERROR)&&this.removePlaceholder())}onError(){this.state=B.ERROR,this.slide&&(this.displayError(),this.instance.dispatch("loadComplete",{slide:this.slide,isError:!0,content:this}),this.instance.dispatch("loadError",{slide:this.slide,content:this}))}isLoading(){return this.instance.applyFilters("isContentLoading",this.state===B.LOADING,this)}isError(){return this.state===B.ERROR}isImageContent(){return this.type==="image"}setDisplayedSize(e,i){if(this.element&&(this.placeholder&&this.placeholder.setDisplayedSize(e,i),!this.instance.dispatch("contentResize",{content:this,width:e,height:i}).defaultPrevented&&(pt(this.element,e,i),this.isImageContent()&&!this.isError()))){let r=!this.displayedImageWidth&&e;this.displayedImageWidth=e,this.displayedImageHeight=i,r?this.loadImage(!1):this.updateSrcsetSizes(),this.slide&&this.instance.dispatch("imageSizeChange",{slide:this.slide,width:e,height:i,content:this})}}isZoomable(){return this.instance.applyFilters("isContentZoomable",this.isImageContent()&&this.state!==B.ERROR,this)}updateSrcsetSizes(){if(!this.isImageContent()||!this.element||!this.data.srcset)return;let e=this.element,i=this.instance.applyFilters("srcsetSizesWidth",this.displayedImageWidth,this);(!e.dataset.largestUsedSize||i>parseInt(e.dataset.largestUsedSize,10))&&(e.sizes=i+"px",e.dataset.largestUsedSize=String(i))}usePlaceholder(){return this.instance.applyFilters("useContentPlaceholder",this.isImageContent(),this)}lazyLoad(){this.instance.dispatch("contentLazyLoad",{content:this}).defaultPrevented||this.load(!0)}keepPlaceholder(){return this.instance.applyFilters("isKeepingPlaceholder",this.isLoading(),this)}destroy(){this.hasSlide=!1,this.slide=void 0,!this.instance.dispatch("contentDestroy",{content:this}).defaultPrevented&&(this.remove(),this.placeholder&&(this.placeholder.destroy(),this.placeholder=void 0),this.isImageContent()&&this.element&&(this.element.onload=null,this.element.onerror=null,this.element=void 0))}displayError(){if(this.slide){var e,i;let r=Ie("pswp__error-msg","div");r.innerText=(e=(i=this.instance.options)===null||i===void 0?void 0:i.errorMsg)!==null&&e!==void 0?e:"",r=this.instance.applyFilters("contentErrorElement",r,this),this.element=Ie("pswp__content pswp__error-msg-container","div"),this.element.appendChild(r),this.slide.container.innerText="",this.slide.container.appendChild(this.element),this.slide.updateContentSize(!0),this.removePlaceholder()}}append(){if(this.isAttached||!this.element)return;if(this.isAttached=!0,this.state===B.ERROR){this.displayError();return}if(this.instance.dispatch("contentAppend",{content:this}).defaultPrevented)return;let e="decode"in this.element;this.isImageContent()?e&&this.slide&&(!this.slide.isActive||pi())?(this.isDecoding=!0,this.element.decode().catch(()=>{}).finally(()=>{this.isDecoding=!1,this.appendImage()})):this.appendImage():this.slide&&!this.element.parentNode&&this.slide.container.appendChild(this.element)}activate(){this.instance.dispatch("contentActivate",{content:this}).defaultPrevented||!this.slide||(this.isImageContent()&&this.isDecoding&&!pi()?this.appendImage():this.isError()&&this.load(!1,!0),this.slide.holderElement&&this.slide.holderElement.setAttribute("aria-hidden","false"))}deactivate(){this.instance.dispatch("contentDeactivate",{content:this}),this.slide&&this.slide.holderElement&&this.slide.holderElement.setAttribute("aria-hidden","true")}remove(){this.isAttached=!1,!this.instance.dispatch("contentRemove",{content:this}).defaultPrevented&&(this.element&&this.element.parentNode&&this.element.remove(),this.placeholder&&this.placeholder.element&&this.placeholder.element.remove())}appendImage(){this.isAttached&&(this.instance.dispatch("contentAppendImage",{content:this}).defaultPrevented||(this.slide&&this.element&&!this.element.parentNode&&this.slide.container.appendChild(this.element),(this.state===B.LOADED||this.state===B.ERROR)&&this.removePlaceholder()))}};function zr(t,e){if(t.getViewportSizeFn){let i=t.getViewportSizeFn(t,e);if(i)return i}return{x:document.documentElement.clientWidth,y:window.innerHeight}}function Ye(t,e,i,r,n){let o=0;if(e.paddingFn)o=e.paddingFn(i,r,n)[t];else if(e.padding)o=e.padding[t];else{let s="padding"+t[0].toUpperCase()+t.slice(1);e[s]&&(o=e[s])}return Number(o)||0}function jr(t,e,i,r){return{x:e.x-Ye("left",t,e,i,r)-Ye("right",t,e,i,r),y:e.y-Ye("top",t,e,i,r)-Ye("bottom",t,e,i,r)}}var mi=4e3,bt=class{constructor(e,i,r,n){this.pswp=n,this.options=e,this.itemData=i,this.index=r,this.panAreaSize=null,this.elementSize=null,this.fit=1,this.fill=1,this.vFill=1,this.initial=1,this.secondary=1,this.max=1,this.min=1}update(e,i,r){let n={x:e,y:i};this.elementSize=n,this.panAreaSize=r;let o=r.x/n.x,s=r.y/n.y;this.fit=Math.min(1,o<s?o:s),this.fill=Math.min(1,o>s?o:s),this.vFill=Math.min(1,s),this.initial=this._getInitial(),this.secondary=this._getSecondary(),this.max=Math.max(this.initial,this.secondary,this._getMax()),this.min=Math.min(this.fit,this.initial,this.secondary),this.pswp&&this.pswp.dispatch("zoomLevelsUpdate",{zoomLevels:this,slideData:this.itemData})}_parseZoomLevelOption(e){let i=e+"ZoomLevel",r=this.options[i];if(r)return typeof r=="function"?r(this):r==="fill"?this.fill:r==="fit"?this.fit:Number(r)}_getSecondary(){let e=this._parseZoomLevelOption("secondary");return e||(e=Math.min(1,this.fit*3),this.elementSize&&e*this.elementSize.x>mi&&(e=mi/this.elementSize.x),e)}_getInitial(){return this._parseZoomLevelOption("initial")||this.fit}_getMax(){return this._parseZoomLevelOption("max")||Math.max(1,this.fit*4)}};function vi(t,e,i){let r=e.createContentFromData(t,i),n,{options:o}=e;if(o){n=new bt(o,t,-1);let s;e.pswp?s=e.pswp.viewportSize:s=zr(o,e);let l=jr(o,s,t,i);n.update(r.width,r.height,l)}return r.lazyLoad(),n&&r.setDisplayedSize(Math.ceil(r.width*n.initial),Math.ceil(r.height*n.initial)),r}function $r(t,e){let i=e.getItemData(t);if(!e.dispatch("lazyLoadSlide",{index:t,itemData:i}).defaultPrevented)return vi(i,e,t)}var wt=class extends vt{getNumItems(){var e;let i=0,r=(e=this.options)===null||e===void 0?void 0:e.dataSource;r&&"length"in r?i=r.length:r&&"gallery"in r&&(r.items||(r.items=this._getGalleryDOMElements(r.gallery)),r.items&&(i=r.items.length));let n=this.dispatch("numItems",{dataSource:r,numItems:i});return this.applyFilters("numItems",n.numItems,r)}createContentFromData(e,i){return new gt(e,this,i)}getItemData(e){var i;let r=(i=this.options)===null||i===void 0?void 0:i.dataSource,n={};Array.isArray(r)?n=r[e]:r&&"gallery"in r&&(r.items||(r.items=this._getGalleryDOMElements(r.gallery)),n=r.items[e]);let o=n;o instanceof Element&&(o=this._domElementToItemData(o));let s=this.dispatch("itemData",{itemData:o||{},index:e});return this.applyFilters("itemData",s.itemData,e)}_getGalleryDOMElements(e){var i,r;return(i=this.options)!==null&&i!==void 0&&i.children||(r=this.options)!==null&&r!==void 0&&r.childSelector?Pe(this.options.children,this.options.childSelector,e)||[]:[e]}_domElementToItemData(e){let i={element:e},r=e.tagName==="A"?e:e.querySelector("a");if(r){i.src=r.dataset.pswpSrc||r.href,r.dataset.pswpSrcset&&(i.srcset=r.dataset.pswpSrcset),i.width=r.dataset.pswpWidth?parseInt(r.dataset.pswpWidth,10):0,i.height=r.dataset.pswpHeight?parseInt(r.dataset.pswpHeight,10):0,i.w=i.width,i.h=i.height,r.dataset.pswpType&&(i.type=r.dataset.pswpType);let o=e.querySelector("img");if(o){var n;i.msrc=o.currentSrc||o.src,i.alt=(n=o.getAttribute("alt"))!==null&&n!==void 0?n:""}(r.dataset.pswpCropped||r.dataset.cropped)&&(i.thumbCropped=!0)}return this.applyFilters("domItemData",i,e,r)}lazyLoadData(e,i){return vi(e,this,i)}},Et=class extends wt{constructor(e){super(),this.options=e||{},this._uid=0,this.shouldOpen=!1,this._preloadedContent=void 0,this.onThumbnailsClick=this.onThumbnailsClick.bind(this)}init(){Pe(this.options.gallery,this.options.gallerySelector).forEach(e=>{e.addEventListener("click",this.onThumbnailsClick,!1)})}onThumbnailsClick(e){if(kr(e)||window.pswp)return;let i={x:e.clientX,y:e.clientY};!i.x&&!i.y&&(i=null);let r=this.getClickedIndex(e);r=this.applyFilters("clickedIndex",r,e,this);let n={gallery:e.currentTarget};r>=0&&(e.preventDefault(),this.loadAndOpen(r,n,i))}getClickedIndex(e){if(this.options.getClickedIndexFn)return this.options.getClickedIndexFn.call(this,e);let i=e.target,n=Pe(this.options.children,this.options.childSelector,e.currentTarget).findIndex(o=>o===i||o.contains(i));return n!==-1?n:this.options.children||this.options.childSelector?-1:0}loadAndOpen(e,i,r){if(window.pswp||!this.options)return!1;if(!i&&this.options.gallery&&this.options.children){let n=Pe(this.options.gallery);n[0]&&(i={gallery:n[0]})}return this.options.index=e,this.options.initialPointerPos=r,this.shouldOpen=!0,this.preload(e,i),!0}preload(e,i){let{options:r}=this;i&&(r.dataSource=i);let n=[],o=typeof r.pswpModule;if(Mr(r.pswpModule))n.push(Promise.resolve(r.pswpModule));else{if(o==="string")throw new Error("pswpModule as string is no longer supported");if(o==="function")n.push(r.pswpModule());else throw new Error("pswpModule is not valid")}typeof r.openPromise=="function"&&n.push(r.openPromise()),r.preloadFirstSlide!==!1&&e>=0&&(this._preloadedContent=$r(e,this));let s=++this._uid;Promise.all(n).then(l=>{if(this.shouldOpen){let u=l[0];this._openPhotoswipe(u,s)}})}_openPhotoswipe(e,i){if(i!==this._uid&&this.shouldOpen||(this.shouldOpen=!1,window.pswp))return;let r=typeof e=="object"?new e.default(this.options):new e(this.options);this.pswp=r,window.pswp=r,Object.keys(this._listeners).forEach(n=>{var o;(o=this._listeners[n])===null||o===void 0||o.forEach(s=>{r.on(n,s)})}),Object.keys(this._filters).forEach(n=>{var o;(o=this._filters[n])===null||o===void 0||o.forEach(s=>{r.addFilter(n,s.fn,s.priority)})}),this._preloadedContent&&(r.contentLoader.addToCache(this._preloadedContent),this._preloadedContent=void 0),r.on("destroy",()=>{this.pswp=void 0,delete window.pswp}),r.init()}destroy(){var e;(e=this.pswp)===null||e===void 0||e.destroy(),this.shouldOpen=!1,this._listeners={},Pe(this.options.gallery,this.options.gallerySelector).forEach(i=>
2{i.removeEventListener("click",this.onThumbnailsClick,!1)})}};(function(){let t=!1;if(document.createElement("i").addEventListener("click",()=>{},{get signal(){t=!0}}),t||!window.AbortController)return;let e=EventTarget.prototype.addEventListener;EventTarget.prototype.addEventListener=function(i,r,n){if(n&&n.signal){if(n.signal.aborted)return;n.signal.addEventListener("abort",()=>this.removeEventListener(i,r,{...n}))}return e.call(this,i,r,n)}})();export{Rr as Delegate,kt as FocusTrap,Et as PhotoSwipeLightbox,Ze as ScrollOffset,hi as animate,Jt as inView,di as scroll,Ut as stagger,Yt as timeline};
3/*! Bundled license information:
4
5tabbable/dist/index.esm.js:
6  (*!
7  * tabbable 6.3.0
8  * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
9  *)
10
11focus-trap/dist/focus-trap.esm.js:
12  (*!
13  * focus-trap 7.6.6
14  * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
15  *)
16
17photoswipe/dist/photoswipe-lightbox.esm.js:
18  (*!
19    * PhotoSwipe Lightbox 5.4.4 - https://photoswipe.com
20    * (c) 2024 Dmytro Semenov
21    *)
22*/

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.