vendor: 18,825 bytes, lines 1-3
1var Xi=Object.defineProperty;var Yi=(t,e)=>{for(var r in e)Xi(t,r,{get:e[r],enumerable:!0})};var Ar={};Yi(Ar,{createFocusTrap:()=>An});var fr=["input:not([inert]):not([inert] *)","select:not([inert]):not([inert] *)","textarea:not([inert]):not([inert] *)","a[href]:not([inert]):not([inert] *)","button:not([inert]):not([inert] *)","[tabindex]:not(slot):not([inert]):not([inert] *)","audio[controls]:not([inert]):not([inert] *)","video[controls]:not([inert]):not([inert] *)",'[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *)',"details>summary:first-of-type:not([inert]):not([inert] *)","details:not([inert]):not([inert] *)"],He=fr.join(","),ur=typeof Element>"u",pe=ur?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,$e=!ur&&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},qe=function(e,r){var i;r===void 0&&(r=!0);var n=e==null||(i=e.getAttribute)===null||i===void 0?void 0:i.call(e,"inert"),s=n===""||n==="true",o=s||r&&e&&(typeof e.closest=="function"?e.closest("[inert]"):qe(e.parentNode));return o},Ji=function(e){var r,i=e==null||(r=e.getAttribute)===null||r===void 0?void 0:r.call(e,"contenteditable");return i===""||i==="true"},pr=function(e,r,i){if(qe(e))return[];var n=Array.prototype.slice.apply(e.querySelectorAll(He));return r&&pe.call(e,He)&&n.unshift(e),n=n.filter(i),n},Ue=function(e,r,i){for(var n=[],s=Array.from(e);s.length;){var o=s.shift();if(!qe(o,!1))if(o.tagName==="SLOT"){var a=o.assignedElements(),c=a.length?a:o.children,l=Ue(c,!0,i);i.flatten?n.push.apply(n,l):n.push({scopeParent:o,candidates:l})}else{var m=pe.call(o,He);m&&i.filter(o)&&(r||!e.includes(o))&&n.push(o);var p=o.shadowRoot||typeof i.getShadowRoot=="function"&&i.getShadowRoot(o),h=!qe(p,!1)&&(!i.shadowRootFilter||i.shadowRootFilter(o));if(p&&h){var v=Ue(p===!0?o.children:p.children,!0,i);i.flatten?n.push.apply(n,v):n.push({scopeParent:o,candidates:v})}else s.unshift.apply(s,o.children)}}return n},mr=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},le=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||Ji(e))&&!mr(e)?0:e.tabIndex},Qi=function(e,r){var i=le(e);return i<0&&r&&!mr(e)?0:i},en=function(e,r){return e.tabIndex===r.tabIndex?e.documentOrder-r.documentOrder:e.tabIndex-r.tabIndex},dr=function(e){return e.tagName==="INPUT"},tn=function(e){return dr(e)&&e.type==="hidden"},rn=function(e){var r=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(i){return i.tagName==="SUMMARY"});return r},nn=function(e,r){for(var i=0;i<e.length;i++)if(e[i].checked&&e[i].form===r)return e[i]},on=function(e){if(!e.name)return!0;var r=e.form||$e(e),i=function(a){return r.querySelectorAll('input[type="radio"][name="'+a+'"]')},n;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")n=i(window.CSS.escape(e.name));else try{n=i(e.name)}catch(o){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",o.message),!1}var s=nn(n,e.form);return!s||s===e},sn=function(e){return dr(e)&&e.type==="radio"},an=function(e){return sn(e)&&!on(e)},ln=function(e){var r,i=e&&$e(e),n=(r=i)===null||r===void 0?void 0:r.host,s=!1;if(i&&i!==e){var o,a,c;for(s=!!((o=n)!==null&&o!==void 0&&(a=o.ownerDocument)!==null&&a!==void 0&&a.contains(n)||e!=null&&(c=e.ownerDocument)!==null&&c!==void 0&&c.contains(e));!s&&n;){var l,m,p;i=$e(n),n=(l=i)===null||l===void 0?void 0:l.host,s=!!((m=n)!==null&&m!==void 0&&(p=m.ownerDocument)!==null&&p!==void 0&&p.contains(n))}}return s},cr=function(e){var r=e.getBoundingClientRect(),i=r.width,n=r.height;return i===0&&n===0},cn=function(e,r){var i=r.displayCheck,n=r.getShadowRoot;if(i==="full-native"&&"checkVisibility"in e){var s=e.checkVisibility({checkOpacity:!1,opacityProperty:!1,contentVisibilityAuto:!0,visibilityProperty:!0,checkVisibilityCSS:!0});return!s}if(getComputedStyle(e).visibility==="hidden")return!0;var o=pe.call(e,"details>summary:first-of-type"),a=o?e.parentElement:e;if(pe.call(a,"details:not([open]) *"))return!0;if(!i||i==="full"||i==="full-native"||i==="legacy-full"){if(typeof n=="function"){for(var c=e;e;){var l=e.parentElement,m=$e(e);if(l&&!l.shadowRoot&&n(l)===!0)return cr(e);e.assignedSlot?e=e.assignedSlot:!l&&m!==e.ownerDocument?e=m.host:e=l}e=c}if(ln(e))return!e.getClientRects().length;if(i!=="legacy-full")return!0}else if(i==="non-zero-area")return cr(e);return!1},fn=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var r=e.parentElement;r;){if(r.tagName==="FIELDSET"&&r.disabled){for(var i=0;i<r.children.length;i++){var n=r.children.item(i);if(n.tagName==="LEGEND")return pe.call(r,"fieldset[disabled] *")?!0:!n.contains(e)}return!0}r=r.parentElement}return!1},Ze=function(e,r){return!(r.disabled||tn(r)||cn(r,e)||rn(r)||fn(r))},It=function(e,r){return!(an(r)||le(r)<0||!Ze(e,r))},un=function(e){var r=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(r)||r>=0)},hr=function(e){var r=[],i=[];return e.forEach(function(n,s){var o=!!n.scopeParent,a=o?n.scopeParent:n,c=Qi(a,o),l=o?hr(n.candidates):a;c===0?o?r.push.apply(r,l):r.push(a):i.push({documentOrder:s,tabIndex:c,item:n,isScope:o,content:l})}),i.sort(en).reduce(function(n,s){return s.isScope?n.push.apply(n,s.content):n.push(s.content),n},[]).concat(r)},gr=function(e,r){r=r||{};var i;return r.getShadowRoot?i=Ue([e],r.includeContainer,{filter:It.bind(null,r),flatten:!1,getShadowRoot:r.getShadowRoot,shadowRootFilter:un}):i=pr(e,r.includeContainer,It.bind(null,r)),hr(i)},vr=function(e,r){r=r||{};var i;return r.getShadowRoot?i=Ue([e],r.includeContainer,{filter:Ze.bind(null,r),flatten:!0,getShadowRoot:r.getShadowRoot}):i=pr(e,r.includeContainer,Ze.bind(null,r)),i},me=function(e,r){if(r=r||{},!e)throw new Error("No node provided");return pe.call(e,He)===!1?!1:It(r,e)},pn=fr.concat("iframe:not([inert]):not([inert] *)").join(","),Xe=function(e,r){if(r=r||{},!e)throw new Error("No node provided");return pe.call(e,pn)===!1?!1:Ze(r,e)};function Dt(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,i=Array(e);r<e;r++)i[r]=t[r];return i}function mn(t){if(Array.isArray(t))return Dt(t)}function yr(t,e,r,i,n,s,o){try{var a=t[s](o),c=a.value}catch(l){return void r(l)}a.done?e(c):Promise.resolve(c).then(i,n)}function br(t){return function(){var e=this,r=arguments;return new Promise(function(i,n){var s=t.apply(e,r);function o(c){yr(s,i,n,o,a,"next",c)}function a(c){yr(s,i,n,o,a,"throw",c)}o(void 0)})}}function xr(t,e){var r=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=Tr(t))||e){r&&(t=r);var i=0,n=function(){};return{s:n,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(c){throw c},f:n}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. 2In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var s,o=!0,a=!1;return{s:function(){r=r.call(t)},n:function(){var c=r.next();return o=c.done,c},e:function(c){a=!0,s=c},f:function(){try{o||r.return==null||r.return()}finally{if(a)throw s}}}}function dn(t,e,r){return(e=bn(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function hn(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function gn(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 3In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function wr(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),r.push.apply(r,i)}return r}function Sr(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?wr(Object(r),!0).forEach(function(i){dn(t,i,r[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):wr(Object(r)).forEach(function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(r,i))})}return t}function Ae(){var t,e,r=typeof Symbol=="function"?Symbol:{},i=r.iterator||"@@iterator",n=r.toStringTag||"@@toStringTag";function s(v,w,D,F){var M=w&&w.prototype instanceof a?w:a,V=Object.create(M.prototype);return $(V,"_invoke",(function(P,N,O){var T,x,k,C=0,Q=O||[],B=!1,z={p:0,n:0,v:t,a:S,f:S.bind(t,4),d:function(f,u){return T=f,x=0,k=t,z.n=u,o}};function S(f,u){for(x=f,k=u,e=0;!B&&C&&!d&&e<Q.length;e++){var d,g=Q[e],y=z.p,E=g[2];f>3?(d=E===u)&&(k=g[(x=g[4])?5:(x=3,3)],g[4]=g[5]=t):g[0]<=y&&((d=f<2&&y<g[1])?(x=0,z.v=u,z.n=g[1]):y<E&&(d=f<3||g[0]>u||u>E)&&(g[4]=f,g[5]=u,z.n=E,x=0))}if(d||f>1)return o;throw B=!0,u}return function(f,u,d){if(C>1)throw TypeError("Generator is already running");for(B&&u===1&&S(u,d),x=u,k=d;(e=x<2?t:k)||!B;){T||(x?x<3?(x>1&&(z.n=-1),S(x,k)):z.n=k:z.v=k);try{if(C=2,T){if(x||(f="next"),e=T[f]){if(!(e=e.call(T,k)))throw TypeError("iterator result is not an object");if(!e.done)return e;k=e.value,x<2&&(x=0)}else x===1&&(e=T.return)&&e.call(T),x<2&&(k=TypeError("The iterator does not provide a '"+f+"' method"),x=1);T=t}else if((e=(B=z.n<0)?k:P.call(N,z))!==o)break}catch(g){T=t,x=1,k=g}finally{C=1}}return{value:e,done:B}}})(v,D,F),!0),V}var o={};function a(){}function c(){}function l(){}e=Object.getPrototypeOf;var m=[][i]?e(e([][i]())):($(e={},i,function(){return this}),e),p=l.prototype=a.prototype=Object.create(m);function h(v){return Object.setPrototypeOf?Object.setPrototypeOf(v,l):(v.__proto__=l,$(v,n,"GeneratorFunction")),v.prototype=Object.create(p),v}return c.prototype=l,$(p,"constructor",l),$(l,"constructor",c),c.displayName="GeneratorFunction",$(l,n,"GeneratorFunction"),$(p),$(p,n,"Generator"),$(p,i,function(){return this}),$(p,"toString",function(){return"[object Generator]"}),(Ae=function(){return{w:s,m:h}})()}function $(t,e,r,i){var n=Object.defineProperty;try{n({},"",{})}catch{n=0}$=function(s,o,a,c){function l(m,p){$(s,m,function(h){return this._invoke(m,p,h)})}o?n?n(s,o,{value:a,enumerable:!c,configurable:!c,writable:!c}):s[o]=a:(l("next",0),l("throw",1),l("return",2))},$(t,e,r,i)}function vn(t){return mn(t)||hn(t)||Tr(t)||gn()}function yn(t,e){if(typeof t!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var i=r.call(t,e);if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function bn(t){var e=yn(t,"string");return typeof e=="symbol"?e:e+""}function Tr(t,e){if(t){if(typeof t=="string")return Dt(t,e);var r={}.toString.call(t).slice(8,-1);return r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set"?Array.from(t):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Dt(t,e):void 0}}var ie={getActiveTrap:function(e){return e?.length>0?e[e.length-1]:null},activateTrap:function(e,r){var i=ie.getActiveTrap(e);r!==i&&ie.pauseTrap(e);var n=e.indexOf(r);n===-1||e.splice(n,1),e.push(r)},deactivateTrap:function(e,r){var i=e.indexOf(r);i!==-1&&e.splice(i,1),ie.unpauseTrap(e)},pauseTrap:function(e){var r=ie.getActiveTrap(e);r?._setPausedState(!0)},unpauseTrap:function(e){var r=ie.getActiveTrap(e);r&&!r._isManuallyPaused()&&r._setPausedState(!1)}},xn=function(e){return e.tagName&&e.tagName.toLowerCase()==="input"&&typeof e.select=="function"},wn=function(e){return e?.key==="Escape"||e?.key==="Esc"||e?.keyCode===27},Ie=function(e){return e?.key==="Tab"||e?.keyCode===9},Sn=function(e){return Ie(e)&&!e.shiftKey},En=function(e){return Ie(e)&&e.shiftKey},Er=function(e){return setTimeout(e,0)},Te=function(e){for(var r=arguments.length,i=new Array(r>1?r-1:0),n=1;n<r;n++)i[n-1]=arguments[n];return typeof e=="function"?e.apply(void 0,i):e},Ye=function(e){return e.target.shadowRoot&&typeof e.composedPath=="function"?e.composedPath()[0]:e.target},Tn=[],An=function(e,r){var i=r?.document||document,n=r?.trapStack||Tn,s=Sr({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isolateSubtrees:!1,isKeyForward:Sn,isKeyBackward:En},r),o={containers:[],containerGroups:[],tabbableGroups:[],adjacentElements:new Set,alreadySilent:new Set,nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,manuallyPaused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},a,c=function(f,u,d){return f&&f[u]!==void 0?f[u]:s[d||u]},l=function(f,u){var d=typeof u?.composedPath=="function"?u.composedPath():void 0;return o.containerGroups.findIndex(function(g){var y=g.container,E=g.tabbableNodes;return y.contains(f)||d?.includes(y)||E.find(function(b){return b===f})})},m=function(f){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},d=u.hasFallback,g=d===void 0?!1:d,y=u.params,E=y===void 0?[]:y,b=s[f];if(typeof b=="function"&&(b=b.apply(void 0,vn(E))),b===!0&&(b=void 0),!b){if(b===void 0||b===!1)return b;throw new Error("`".concat(f,"` was specified but was not a node, or did not return a node"))}var A=b;if(typeof b=="string"){try{A=i.querySelector(b)}catch(I){throw new Error("`".concat(f,'` appears to be an invalid selector; error="').concat(I.message,'"'))}if(!A&&!g)throw new Error("`".concat(f,"` as selector refers to no known node"))}return A},p=function(){var f=m("initialFocus",{hasFallback:!0});if(f===!1)return!1;if(f===void 0||f&&!Xe(f,s.tabbableOptions))if(l(i.activeElement)>=0)f=i.activeElement;else{var u=o.tabbableGroups[0],d=u&&u.firstTabbableNode;f=d||m("fallbackFocus")}else f===null&&(f=m("fallbackFocus"));if(!f)throw new Error("Your focus-trap needs to have at least one focusable element");return f},h=function(){if(o.containerGroups=o.containers.map(function(f){var u=gr(f,s.tabbableOptions),d=vr(f,s.tabbableOptions),g=u.length>0?u[0]:void 0,y=u.length>0?u[u.length-1]:void 0,E=d.find(function(I){return me(I)}),b=d.slice().reverse().find(function(I){return me(I)}),A=!!u.find(function(I){return le(I)>0});return{container:f,tabbableNodes:u,focusableNodes:d,posTabIndexesFound:A,firstTabbableNode:g,lastTabbableNode:y,firstDomTabbableNode:E,lastDomTabbableNode:b,nextTabbableNode:function(L){var W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,_=u.indexOf(L);return _<0?W?d.slice(d.indexOf(L)+1).find(function(q){return me(q)}):d.slice(0,d.indexOf(L)).reverse().find(function(q){return me(q)}):u[_+(W?1:-1)]}}}),o.tabbableGroups=o.containerGroups.filter(function(f){return f.tabbableNodes.length>0}),o.tabbableGroups.length<=0&&!m("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(o.containerGroups.find(function(f){return f.posTabIndexesFound})&&o.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.")},v=function(f){var u=f.activeElement;if(u)return u.shadowRoot&&u.shadowRoot.activeElement!==null?v(u.shadowRoot):u},w=function(f){if(f!==!1&&f!==v(document)){if(!f||!f.focus){w(p());return}f.focus({preventScroll:!!s.preventScroll}),o.mostRecentlyFocusedNode=f,xn(f)&&f.select()}},D=function(f){var u=m("setReturnFocus",{params:[f]});return u||(u===!1?!1:f)},F=function(f){var u=f.target,d=f.event,g=f.isBackward,y=g===void 0?!1:g;u=u||Ye(d),h();var E=null;if(o.tabbableGroups.length>0){var b=l(u,d),A=b>=0?o.containerGroups[b]:void 0;if(b<0)y?E=o.tabbableGroups[o.tabbableGroups.length-1].lastTabbableNode:E=o.tabbableGroups[0].firstTabbableNode;else if(y){var I=o.tabbableGroups.findIndex(function(te){var re=te.firstTabbableNode;return u===re});if(I<0&&(A.container===u||Xe(u,s.tabbableOptions)&&!me(u,s.tabbableOptions)&&!A.nextTabbableNode(u,!1))&&(I=b),I>=0){var L=I===0?o.tabbableGroups.length-1:I-1,W=o.tabbableGroups[L];E=le(u)>=0?W.lastTabbableNode:W.lastDomTabbableNode}else Ie(d)||(E=A.nextTabbableNode(u,!1))}else{var _=o.tabbableGroups.findIndex(function(te){var re=te.lastTabbableNode;return u===re});if(_<0&&(A.container===u||Xe(u,s.tabbableOptions)&&!me(u,s.tabbableOptions)&&!A.nextTabbableNode(u))&&(_=b),_>=0){var q=_===o.tabbableGroups.length-1?0:_+1,H=o.tabbableGroups[q];E=le(u)>=0?H.firstTabbableNode:H.firstDomTabbableNode}else Ie(d)||(E=A.nextTabbableNode(u))}}else E=m("fallbackFocus");return E},M=function(f){var u=Ye(f);if(!(l(u,f)>=0)){if(Te(s.clickOutsideDeactivates,f)){a.deactivate({returnFocus:s.returnFocusOnDeactivate});return}Te(s.allowOutsideClick,f)||f.preventDefault()}},V=function(f){var u=Ye(f),d=l(u,f)>=0;if(d||u instanceof Document)d&&(o.mostRecentlyFocusedNode=u);else{f.stopImmediatePropagation();var g,y=!0;if(o.mostRecentlyFocusedNode)if(le(o.mostRecentlyFocusedNode)>0){var E=l(o.mostRecentlyFocusedNode),b=o.containerGroups[E].tabbableNodes;if(b.length>0){var A=b.findIndex(function(I){return I===o.mostRecentlyFocusedNode});A>=0&&(s.isKeyForward(o.recentNavEvent)?A+1<b.length&&(g=b[A+1],y=!1):A-1>=0&&(g=b[A-1],y=!1))}}else o.containerGroups.some(function(I){return I.tabbableNodes.some(function(L){return le(L)>0})})||(y=!1);else y=!1;y&&(g=F({target:o.mostRecentlyFocusedNode,isBackward:s.isKeyBackward(o.recentNavEvent)})),w(g||o.mostRecentlyFocusedNode||p())}o.recentNavEvent=void 0},P=function(f){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;o.recentNavEvent=f;var d=F({event:f,isBackward:u});d&&(Ie(f)&&f.preventDefault(),w(d))},N=function(f){(s.isKeyForward(f)||s.isKeyBackward(f))&&P(f,s.isKeyBackward(f))},O=function(f){wn(f)&&Te(s.escapeDeactivates,f)!==!1&&(f.preventDefault(),a.deactivate())},T=function(f){var u=Ye(f);l(u,f)>=0||Te(s.clickOutsideDeactivates,f)||Te(s.allowOutsideClick,f)||(f.preventDefault(),f.stopImmediatePropagation())},x=function(){if(!o.active)return Promise.resolve();ie.activateTrap(n,a);var f;return s.delayInitialFocus?f=new Promise(function(u){o.delayInitialFocusTimer=Er(function(){w(p()),u()})}):(f=Promise.resolve(),w(p())),i.addEventListener("focusin",V,!0),i.addEventListener("mousedown",M,{capture:!0,passive:!1}),i.addEventListener("touchstart",M,{capture:!0,passive:!1}),i.addEventListener("click",T,{capture:!0,passive:!1}),i.addEventListener("keydown",N,{capture:!0,passive:!1}),i.addEventListener("keydown",O),f},k=function(f){o.active&&!o.paused&&a._setSubtreeIsolation(!1),o.adjacentElements.clear(),o.alreadySilent.clear();var u=new Set,d=new Set,g=xr(f),y;try{for(g.s();!(y=g.n()).done;){var E=y.value;u.add(E);for(var b=typeof ShadowRoot<"u"&&E.getRootNode()instanceof ShadowRoot,A=E;A;){u.add(A);var I=A.parentElement,L=[];I?L=I.children:!I&&b&&(L=A.getRootNode().children,I=A.getRootNode().host,b=typeof ShadowRoot<"u"&&I.getRootNode()instanceof ShadowRoot);var W=xr(L),_;
3try{for(W.s();!(_=W.n()).done;){var q=_.value;d.add(q)}}catch(H){W.e(H)}finally{W.f()}A=I}}}catch(H){g.e(H)}finally{g.f()}u.forEach(function(H){d.delete(H)}),o.adjacentElements=d},C=function(){if(o.active)return i.removeEventListener("focusin",V,!0),i.removeEventListener("mousedown",M,!0),i.removeEventListener("touchstart",M,!0),i.removeEventListener("click",T,!0),i.removeEventListener("keydown",N,!0),i.removeEventListener("keydown",O),a},Q=function(f){var u=f.some(function(d){var g=Array.from(d.removedNodes);return g.some(function(y){return y===o.mostRecentlyFocusedNode})});u&&w(p())},B=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(Q):void 0,z=function(){B&&(B.disconnect(),o.active&&!o.paused&&o.containers.map(function(f){B.observe(f,{subtree:!0,childList:!0})}))};return a={get active(){return o.active},get paused(){return o.paused},activate:function(f){if(o.active)return this;var u=c(f,"onActivate"),d=c(f,"onPostActivate"),g=c(f,"checkCanFocusTrap"),y=ie.getActiveTrap(n),E=!1;if(y&&!y.paused){var b;(b=y._setSubtreeIsolation)===null||b===void 0||b.call(y,!1),E=!0}try{g||h(),o.active=!0,o.paused=!1,o.nodeFocusedBeforeActivation=v(i),u?.();var A=(function(){var L=br(Ae().m(function W(){return Ae().w(function(_){for(;;)switch(_.n){case 0:return g&&h(),_.n=1,x();case 1:a._setSubtreeIsolation(!0),z(),d?.();case 2:return _.a(2)}},W)}));return function(){return L.apply(this,arguments)}})();if(g)return g(o.containers.concat()).then(A,A),this;A()}catch(L){if(y===ie.getActiveTrap(n)&&E){var I;(I=y._setSubtreeIsolation)===null||I===void 0||I.call(y,!0)}throw L}return this},deactivate:function(f){if(!o.active)return this;var u=Sr({onDeactivate:s.onDeactivate,onPostDeactivate:s.onPostDeactivate,checkCanReturnFocus:s.checkCanReturnFocus},f);clearTimeout(o.delayInitialFocusTimer),o.delayInitialFocusTimer=void 0,o.paused||a._setSubtreeIsolation(!1),o.alreadySilent.clear(),C(),o.active=!1,o.paused=!1,z(),ie.deactivateTrap(n,a);var d=c(u,"onDeactivate"),g=c(u,"onPostDeactivate"),y=c(u,"checkCanReturnFocus"),E=c(u,"returnFocus","returnFocusOnDeactivate");d?.();var b=function(){Er(function(){E&&w(D(o.nodeFocusedBeforeActivation)),g?.()})};return E&&y?(y(D(o.nodeFocusedBeforeActivation)).then(b,b),this):(b(),this)},pause:function(f){return o.active?(o.manuallyPaused=!0,this._setPausedState(!0,f)):this},unpause:function(f){return o.active?(o.manuallyPaused=!1,n[n.length-1]!==this?this:this._setPausedState(!1,f)):this},updateContainerElements:function(f){var u=[].concat(f).filter(Boolean);return o.containers=u.map(function(d){return typeof d=="string"?i.querySelector(d):d}),s.isolateSubtrees&&k(o.containers),o.active&&(h(),o.paused||a._setSubtreeIsolation(!0)),z(),this}},Object.defineProperties(a,{_isManuallyPaused:{value:function(){return o.manuallyPaused}},_setPausedState:{value:function(f,u){if(o.paused===f)return this;if(o.paused=f,f){var d=c(u,"onPause"),g=c(u,"onPostPause");d?.(),C(),a._setSubtreeIsolation(!1),z(),g?.()}else{var y=c(u,"onUnpause"),E=c(u,"onPostUnpause");y?.();var b=(function(){var A=br(Ae().m(function I(){return Ae().w(function(L){for(;;)switch(L.n){case 0:return h(),L.n=1,x();case 1:a._setSubtreeIsolation(!0),z(),E?.();case 2:return L.a(2)}},I)}));return function(){return A.apply(this,arguments)}})();b()}return this}},_setSubtreeIsolation:{value:function(f){s.isolateSubtrees&&o.adjacentElements.forEach(function(u){var d;f?s.isolateSubtrees==="aria-hidden"?((u.ariaHidden==="true"||((d=u.getAttribute("aria-hidden"))===null||d===void 0?void 0:d.toLowerCase())==="true")&&o.alreadySilent.add(u),u.setAttribute("aria-hidden","true")):((u.inert||u.hasAttribute("inert"))&&o.alreadySilent.add(u),u.setAttribute("inert",!0)):o.alreadySilent.has(u)||(s.isolateSubtrees==="aria-hidden"?u.removeAttribute("aria-hidden"):u.removeAttribute("inert"))})}}}),a.updateContainerElements(e),a};function Ot(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}var K=(t,e,r)=>r>e?e:r<t?t:r;var de=()=>{},U=()=>{};var ve={};function De(t){return typeof t=="object"&&t!==null}function Ft(t){let e;return()=>(e===void 0&&(e=t()),e)}var G=t=>t;var In=(t,e)=>r=>e(t(r)),Oe=(...t)=>t.reduce(In);var ne=(t,e,r)=>{let i=e-t;return i===0?1:(r-t)/i};var j=t=>t*1e3,Z=t=>t/1e3;function Fe(t,e){return e?t*(1e3/e):0}var Ir=(t,e,r)=>{let i=e-t;return((r-t)%i+i)%i+t};var Dr=(t,e,r)=>(((1-3*r+3*e)*t+(3*r-6*e))*t+3*e)*t,Dn=1e-7,On=12;function Fn(t,e,r,i,n){let s,o,a=0;do o=e+(r-e)/2,s=Dr(o,i,n)-t,s>0?r=o:e=o;while(Math.abs(s)>Dn&&++a<On);return o}function ce(t,e,r,i){if(t===e&&r===i)return G;let n=s=>Fn(s,0,1,t,r);return s=>s===0||s===1?s:Dr(n(s),e,i)}var Je=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2;var Qe=t=>e=>1-t(1-e);var Mt=ce(.33,1.53,.69,.99),Me=Qe(Mt),Or=Je(Me);var Fr=t=>(t*=2)<1?.5*Me(t):.5*(2-Math.pow(2,-10*(t-1)));var et=t=>1-Math.sin(Math.acos(t)),Mr=Qe(et),Nr=Je(et);var kr=ce(.42,0,1,1),Pr=ce(0,0,.58,1),Cr=ce(.42,0,.58,1);var Rr=t=>Array.isArray(t)&&typeof t[0]!="number";function Ne(t,e){return Rr(t)?t[Ir(0,t.length,e)]:t}var ke=t=>Array.isArray(t)&&typeof t[0]=="number";
vendor: 10,327 bytes, line 3
3var Lr={linear:G,easeIn:kr,easeInOut:Cr,easeOut:Pr,circIn:et,circInOut:Nr,circOut:Mr,backIn:Me,backInOut:Or,backOut:Mt,anticipate:Fr},Mn=t=>typeof t=="string",Nt=t=>{if(ke(t)){U(t.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[e,r,i,n]=t;return ce(e,r,i,n)}else if(Mn(t))return U(Lr[t]!==void 0,`Invalid easing type '${t}'`,"invalid-easing-type"),Lr[t];return t};var Pe=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];var ye={value:null,addProjectionMetrics:null};function Vr(t,e){let r=new Set,i=new Set,n=!1,s=!1,o=new WeakSet,a={delta:0,timestamp:0,isProcessing:!1},c=0;function l(p){o.has(p)&&(m.schedule(p),t()),c++,p(a)}let m={schedule:(p,h=!1,v=!1)=>{let D=v&&n?r:i;return h&&o.add(p),D.has(p)||D.add(p),p},cancel:p=>{i.delete(p),o.delete(p)},process:p=>{if(a=p,n){s=!0;return}n=!0,[r,i]=[i,r],r.forEach(l),e&&ye.value&&ye.value.frameloop[e].push(c),c=0,r.clear(),n=!1,s&&(s=!1,m.process(p))}};return m}var Nn=40;function _r(t,e){let r=!1,i=!0,n={delta:0,timestamp:0,isProcessing:!1},s=()=>r=!0,o=Pe.reduce((P,N)=>(P[N]=Vr(s,e?N:void 0),P),{}),{setup:a,read:c,resolveKeyframes:l,preUpdate:m,update:p,preRender:h,render:v,postRender:w}=o,D=()=>{let P=ve.useManualTiming?n.timestamp:performance.now();r=!1,ve.useManualTiming||(n.delta=i?1e3/60:Math.max(Math.min(P-n.timestamp,Nn),1)),n.timestamp=P,n.isProcessing=!0,a.process(n),c.process(n),l.process(n),m.process(n),p.process(n),h.process(n),v.process(n),w.process(n),n.isProcessing=!1,r&&e&&(i=!1,t(D))},F=()=>{r=!0,i=!0,n.isProcessing||t(D)};return{schedule:Pe.reduce((P,N)=>{let O=o[N];return P[N]=(T,x=!1,k=!1)=>(r||F(),O.schedule(T,x,k)),P},{}),cancel:P=>{for(let N=0;N<Pe.length;N++)o[Pe[N]].cancel(P)},state:n,steps:o}}var{schedule:oe,cancel:be,state:kt,steps:kn}=_r(typeof requestAnimationFrame<"u"?requestAnimationFrame:G,!0);var Pt={layout:0,mainThread:0,waapi:0};var Pn=t=>e=>typeof e=="string"&&e.startsWith(t);var Cn=Pn("var(--"),Br=t=>Cn(t)?Rn.test(t.split("/*")[0].trim()):!1,Rn=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;var tt={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},rt={...tt,transform:t=>K(0,1,t)},sa={...tt,default:1};var fe=t=>Math.round(t*1e5)/1e5;var it=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function zr(t){return t==null}var Wr=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;var xe=(t,e)=>r=>!!(typeof r=="string"&&Wr.test(r)&&r.startsWith(t)||e&&!zr(r)&&Object.prototype.hasOwnProperty.call(r,e)),nt=(t,e,r)=>i=>{if(typeof i!="string")return i;let[n,s,o,a]=i.match(it);return{[t]:parseFloat(n),[e]:parseFloat(s),[r]:parseFloat(o),alpha:a!==void 0?parseFloat(a):1}};var Ln=t=>K(0,255,t),Ct={...tt,transform:t=>Math.round(Ln(t))},ee={test:xe("rgb","red"),parse:nt("red","green","blue"),transform:({red:t,green:e,blue:r,alpha:i=1})=>"rgba("+Ct.transform(t)+", "+Ct.transform(e)+", "+Ct.transform(r)+", "+fe(rt.transform(i))+")"};function Vn(t){let e="",r="",i="",n="";return t.length>5?(e=t.substring(1,3),r=t.substring(3,5),i=t.substring(5,7),n=t.substring(7,9)):(e=t.substring(1,2),r=t.substring(2,3),i=t.substring(3,4),n=t.substring(4,5),e+=e,r+=r,i+=i,n+=n),{red:parseInt(e,16),green:parseInt(r,16),blue:parseInt(i,16),alpha:n?parseInt(n,16)/255:1}}var Ce={test:xe("#"),parse:Vn,transform:ee.transform};var _n=t=>({test:e=>typeof e=="string"&&e.endsWith(t)&&e.split(" ").length===1,parse:parseFloat,transform:e=>`${e}${t}`});var Rt=_n("%");var ue={test:xe("hsl","hue"),parse:nt("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:r,alpha:i=1})=>"hsla("+Math.round(t)+", "+Rt.transform(fe(e))+", "+Rt.transform(fe(r))+", "+fe(rt.transform(i))+")"};var Y={test:t=>ee.test(t)||Ce.test(t)||ue.test(t),parse:t=>ee.test(t)?ee.parse(t):ue.test(t)?ue.parse(t):Ce.parse(t),transform:t=>typeof t=="string"?t:t.hasOwnProperty("red")?ee.transform(t):ue.transform(t),getAnimatableNone:t=>{let e=Y.parse(t);return e.alpha=0,Y.transform(e)}};var Gr=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function Bn(t){return isNaN(t)&&typeof t=="string"&&(t.match(it)?.length||0)+(t.match(Gr)?.length||0)>0}var jr="number",Hr="color",zn="var",Wn="var(",Kr="${}",Gn=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Re(t){let e=t.toString(),r=[],i={color:[],number:[],var:[]},n=[],s=0,a=e.replace(Gn,c=>(Y.test(c)?(i.color.push(s),n.push(Hr),r.push(Y.parse(c))):c.startsWith(Wn)?(i.var.push(s),n.push(zn),r.push(c)):(i.number.push(s),n.push(jr),r.push(parseFloat(c))),++s,Kr)).split(Kr);return{values:r,split:a,indexes:i,types:n}}function $r(t){return Re(t).values}function qr(t){let{split:e,types:r}=Re(t),i=e.length;return n=>{let s="";for(let o=0;o<i;o++)if(s+=e[o],n[o]!==void 0){let a=r[o];a===jr?s+=fe(n[o]):a===Hr?s+=Y.transform(n[o]):s+=n[o]}return s}}var Kn=t=>typeof t=="number"?0:Y.test(t)?Y.getAnimatableNone(t):t;function jn(t){let e=$r(t);return qr(t)(e.map(Kn))}var Ur={test:Bn,parse:$r,createTransformer:qr,getAnimatableNone:jn};function Lt(t,e,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?t+(e-t)*6*r:r<1/2?e:r<2/3?t+(e-t)*(2/3-r)*6:t}function Zr({hue:t,saturation:e,lightness:r,alpha:i}){t/=360,e/=100,r/=100;let n=0,s=0,o=0;if(!e)n=s=o=r;else{let a=r<.5?r*(1+e):r+e-r*e,c=2*r-a;n=Lt(c,a,t+1/3),s=Lt(c,a,t),o=Lt(c,a,t-1/3)}return{red:Math.round(n*255),green:Math.round(s*255),blue:Math.round(o*255),alpha:i}}function we(t,e){return r=>r>0?e:t}var J=(t,e,r)=>t+(e-t)*r;var Vt=(t,e,r)=>{let i=t*t,n=r*(e*e-i)+i;return n<0?0:Math.sqrt(n)},Hn=[Ce,ee,ue],$n=t=>Hn.find(e=>e.test(t));function Xr(t){let e=$n(t);if(de(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!e)return!1;let r=e.parse(t);return e===ue&&(r=Zr(r)),r}var _t=(t,e)=>{let r=Xr(t),i=Xr(e);if(!r||!i)return we(t,e);let n={...r};return s=>(n.red=Vt(r.red,i.red,s),n.green=Vt(r.green,i.green,s),n.blue=Vt(r.blue,i.blue,s),n.alpha=J(r.alpha,i.alpha,s),ee.transform(n))};var ot=new Set(["none","hidden"]);function Yr(t,e){return ot.has(t)?r=>r<=0?t:e:r=>r>=1?e:t}function qn(t,e){return r=>J(t,e,r)}function st(t){return typeof t=="number"?qn:typeof t=="string"?Br(t)?we:Y.test(t)?_t:Xn:Array.isArray(t)?Jr:typeof t=="object"?Y.test(t)?_t:Un:we}function Jr(t,e){let r=[...t],i=r.length,n=t.map((s,o)=>st(s)(s,e[o]));return s=>{for(let o=0;o<i;o++)r[o]=n[o](s);return r}}function Un(t,e){let r={...t,...e},i={};for(let n in r)t[n]!==void 0&&e[n]!==void 0&&(i[n]=st(t[n])(t[n],e[n]));return n=>{for(let s in i)r[s]=i[s](n);return r}}function Zn(t,e){let r=[],i={color:0,var:0,number:0};for(let n=0;n<e.values.length;n++){let s=e.types[n],o=t.indexes[s][i[s]],a=t.values[o]??0;r[n]=a,i[s]++}return r}var Xn=(t,e)=>{let r=Ur.createTransformer(e),i=Re(t),n=Re(e);return i.indexes.var.length===n.indexes.var.length&&i.indexes.color.length===n.indexes.color.length&&i.indexes.number.length>=n.indexes.number.length?ot.has(t)&&!n.values.length||ot.has(e)&&!i.values.length?Yr(t,e):Oe(Jr(Zn(i,n),n.values),r):(de(!0,`Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),we(t,e))};function Qr(t,e,r){return typeof t=="number"&&typeof e=="number"&&typeof r=="number"?J(t,e,r):st(t)(t,e)}var at=(t,e,r=10)=>{let i="",n=Math.max(Math.round(e/r),2);for(let s=0;s<n;s++)i+=Math.round(t(s/(n-1))*1e4)/1e4+", ";return`linear(${i.substring(0,i.length-2)})`};function lt(t){let e=0,r=50,i=t.next(e);for(;!i.done&&e<2e4;)e+=r,i=t.next(e);return e>=2e4?1/0:e}function Le(t,e=100,r){let i=r({...t,keyframes:[0,e]}),n=Math.min(lt(i),2e4);return{type:"keyframes",ease:s=>i.next(n*s).value/e,duration:Z(n)}}var Yn=5;function ei(t,e,r){let i=Math.max(e-Yn,0);return Fe(r-t(i),e-i)}var R={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};var zt=.001;function ti({duration:t=R.duration,bounce:e=R.bounce,velocity:r=R.velocity,mass:i=R.mass}){let n,s;de(t<=j(R.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let o=1-e;o=K(R.minDamping,R.maxDamping,o),t=K(R.minDuration,R.maxDuration,Z(t)),o<1?(n=l=>{let m=l*o,p=m*t,h=m-r,v=ct(l,o),w=Math.exp(-p);return zt-h/v*w},s=l=>{let p=l*o*t,h=p*r+r,v=Math.pow(o,2)*Math.pow(l,2)*t,w=Math.exp(-p),D=ct(Math.pow(l,2),o);return(-n(l)+zt>0?-1:1)*((h-v)*w)/D}):(n=l=>{let m=Math.exp(-l*t),p=(l-r)*t+1;return-zt+m*p},s=l=>{let m=Math.exp(-l*t),p=(r-l)*(t*t);return m*p});let a=5/t,c=Qn(n,s,a);if(t=j(t),isNaN(c))return{stiffness:R.stiffness,damping:R.damping,duration:t};{let l=Math.pow(c,2)*i;return{stiffness:l,damping:o*2*Math.sqrt(i*l),duration:t}}}var Jn=12;function Qn(t,e,r){let i=r;for(let n=1;n<Jn;n++)i=i-t(i)/e(i);return i}function ct(t,e){return t*Math.sqrt(1-e*e)}var eo=["duration","bounce"],to=["stiffness","damping","mass"];function ri(t,e){return e.some(r=>t[r]!==void 0)}function ro(t){let e={velocity:R.velocity,stiffness:R.stiffness,damping:R.damping,mass:R.mass,isResolvedFromDuration:!1,...t};if(!ri(t,to)&&ri(t,eo))if(e.velocity=0,t.visualDuration){let r=t.visualDuration,i=2*Math.PI/(r*1.2),n=i*i,s=2*K(.05,1,1-(t.bounce||0))*Math.sqrt(n);e={...e,mass:R.mass,stiffness:n,damping:s}}else{let r=ti({...t,velocity:0});e={...e,...r,mass:R.mass},e.isResolvedFromDuration=!0}return e}function ft(t=R.visualDuration,e=R.bounce){let r=typeof t!="object"?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:i,restDelta:n}=r,s=r.keyframes[0],o=r.keyframes[r.keyframes.length-1],a={done:!1,value:s},{stiffness:c,damping:l,mass:m,duration:p,velocity:h,isResolvedFromDuration:v}=ro({...r,velocity:-Z(r.velocity||0)}),w=h||0,D=l/(2*Math.sqrt(c*m)),F=o-s,M=Z(Math.sqrt(c/m)),V=Math.abs(F)<5;i||(i=V?R.restSpeed.granular:R.restSpeed.default),n||(n=V?R.restDelta.granular:R.restDelta.default);let P;if(D<1){let O=ct(M,D);P=T=>{let x=Math.exp(-D*M*T);
3return o-x*((w+D*M*F)/O*Math.sin(O*T)+F*Math.cos(O*T))}}else if(D===1)P=O=>o-Math.exp(-M*O)*(F+(w+M*F)*O);else{let O=M*Math.sqrt(D*D-1);P=T=>{let x=Math.exp(-D*M*T),k=Math.min(O*T,300);return o-x*((w+D*M*F)*Math.sinh(k)+O*F*Math.cosh(k))/O}}let N={calculatedDuration:v&&p||null,next:O=>{let T=P(O);if(v)a.done=O>=p;else{let x=O===0?w:0;D<1&&(x=O===0?j(w):ei(P,O,T));let k=Math.abs(x)<=i,C=Math.abs(o-T)<=n;a.done=k&&C}return a.value=a.done?o:T,a},toString:()=>{let O=Math.min(lt(N),2e4),T=at(x=>N.next(O*x).value,O,30);return O+"ms "+T},toTransition:()=>{}};return N}ft.applyToOptions=t=>{let e=Le(t,100,ft);return t.ease=e.ease,t.duration=j(e.duration),t.type="keyframes",t};function io(t,e,r){let i=[],n=r||ve.mix||Qr,s=t.length-1;for(let o=0;o<s;o++){let a=n(t[o],t[o+1]);if(e){let c=Array.isArray(e)?e[o]||G:e;a=Oe(c,a)}i.push(a)}return i}function Wt(t,e,{clamp:r=!0,ease:i,mixer:n}={}){let s=t.length;if(U(s===e.length,"Both input and output ranges must be the same length","range-length"),s===1)return()=>e[0];if(s===2&&e[0]===e[1])return()=>e[1];let o=t[0]===t[1];t[0]>t[s-1]&&(t=[...t].reverse(),e=[...e].reverse());let a=io(e,i,n),c=a.length,l=m=>{if(o&&m<t[0])return e[0];let p=0;if(c>1)for(;p<t.length-2&&!(m<t[p+1]);p++);let h=ne(t[p],t[p+1],m);return a[p](h)};return r?m=>l(K(t[0],t[s-1],m)):l}function Ve(t,e){let r=t[t.length-1];for(let i=1;i<=e;i++){let n=ne(0,e,i);t.push(J(r,1,n))}}function _e(t){let e=[0];return Ve(e,t.length-1),e}var no=t=>t!==null;function ii(t,{repeat:e,repeatType:r="loop"},i,n=1){let s=t.filter(no),a=n<0||e&&r!=="loop"&&e%2===1?0:s.length-1;return!a||i===void 0?s[a]:i}var ut=class{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,r){return this.finished.then(e,r)}};function Gt(t){for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}var pt=t=>t.startsWith("--");function ni(t,e,r){pt(e)?t.style.setProperty(e,r):t.style[e]=r}var oi={};function mt(t,e){let r=Ft(t);return()=>oi[e]??r()}var Be=mt(()=>window.ScrollTimeline!==void 0,"scrollTimeline");var dt=mt(()=>{try{document.createElement("div").animate({opacity:0}
3,{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing");var he=([t,e,r,i])=>`cubic-bezier(${t}, ${e}, ${r}, ${i})`;var Kt={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:he([0,.65,.55,1]),circOut:he([.55,0,1,.45]),backIn:he([.31,.01,.66,-.59]),backOut:he([.33,1.53,.69,.99])};function jt(t,e){if(t)return typeof t=="function"?dt()?at(t,e):"ease-out":ke(t)?he(t):Array.isArray(t)?t.map(r=>jt(r,e)||Kt.easeOut):Kt[t]}function si(t,e,r,{delay:i=0,duration:n=300,repeat:s=0,repeatType:o="loop",ease:a="easeOut",times:c}={},l=void 0){let m={[e]:r};c&&(m.offset=c);let p=jt(a,n);Array.isArray(p)&&(m.easing=p),ye.value&&Pt.waapi++;let h={delay:i,duration:n,easing:Array.isArray(p)?"linear":p,fill:"both",iterations:s+1,direction:o==="reverse"?"alternate":"normal"};l&&(h.pseudoElement=l);let v=t.animate(m,h);return ye.value&&v.finished.finally(()=>{Pt.waapi--}),v}function ze(t){return typeof t=="function"&&"applyToOptions"in t}function ai({type:t,...e}){return ze(t)&&dt()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}var We=class extends ut{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;let{element:r,name:i,keyframes:n,pseudoElement:s,allowFlatten:o=!1,finalKeyframe:a,onComplete:c}=e;this.isPseudoElement=!!s,this.allowFlatten=o,this.options=e,U(typeof e.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");let l=ai(e);this.animation=si(r,i,n,l,s),l.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!s){let m=ii(n,this.options,a,this.speed);this.updateMotionValue?this.updateMotionValue(m):ni(r,i,m),this.animation.cancel()}c?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:e}=this;e==="idle"||e==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let e=this.options?.element;!this.isPseudoElement&&e?.isConnected&&this.animation.commitStyles?.()}get duration(){let e=this.animation.effect?.getComputedTiming?.().duration||0;return Z(Number(e))}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+Z(e)}get time(){return Z(Number(this.animation.currentTime)||0)}set time(e){this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=j(e)}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,observe:r}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,e&&Be()?(this.animation.timeline=e,G):r(this)}};var ht=class{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}get finished(){return Promise.all(this.animations.map(e=>e.finished))}getAll(e){return this.animations[0][e]}setAll(e,r){for(let i=0;i<this.animations.length;i++)this.animations[i][e]=r}attachTimeline(e){let r=this.animations.map(i=>i.attachTimeline(e));return()=>{r.forEach((i,n)=>{i&&i(),this.animations[n].stop()})}}get time(){return this.getAll("time")}set time(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get state(){return this.getAll("state")}get startTime(){return this.getAll("startTime")}get duration(){return li(this.animations,"duration")}get iterationDuration(){return li(this.animations,"iterationDuration")}runAll(e){this.animations.forEach(r=>r[e]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}};function li(t,e){let r=0;for(let i=0;i<t.length;i++){let n=t[i][e];n!==null&&n>r&&(r=n)}return r}var ge=class extends ht{then(e,r){return this.finished.finally(e).then(()=>{})}};var ci=new WeakMap,Ht=(t,e="")=>`${t}:${e}`;function $t(t){let e=ci.get(t)||new Map;return ci.set(t,e),e}function fi(t,e){if(t?.inherit&&e){let{inherit:r,...i}=t;return{...e,...i}}return t}function qt(t,e){let r=t?.[e]??t?.default??t;return r!==t?fi(r,t):r}var Ut=t=>!!(t&&t.getVelocity);var ui=new Set(["borderWidth","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","borderRadius","borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius","width","maxWidth","height","maxHeight","top","right","bottom","left","inset","insetBlock","insetBlockStart","insetBlockEnd","insetInline","insetInlineStart","insetInlineEnd","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingBlock","paddingBlockStart","paddingBlockEnd","paddingInline","paddingInlineStart","paddingInlineEnd","margin","marginTop","marginRight","marginBottom","marginLeft","marginBlock","marginBlockStart","marginBlockEnd","marginInline","marginInlineStart","marginInlineEnd","fontSize","backgroundPositionX","backgroundPositionY"]);function Zt(t,e){for(let r=0;r<t.length;r++)typeof t[r]=="number"&&ui.has(e)&&(t[r]=t[r]+"px")}function se(t,e,r){if(t==null)return[];if(t instanceof EventTarget)return[t];if(typeof t=="string"){let i=document;e&&(i=e.current);let n=r?.[t]??i.querySelectorAll(t);return n?Array.from(n):[]}return Array.from(t).filter(i=>i!=null)}function Xt(t){return De(t)&&"offsetHeight"in t}function gt(t,e){let r=window.getComputedStyle(t);return pt(e)?r.getPropertyValue(e):r[e]}function pi(t){return De(t)&&"ownerSVGElement"in t}var vt=new WeakMap,yt,mi=(t,e,r)=>(i,n)=>n&&n[0]?n[0][t+"Size"]:pi(i)&&"getBBox"in i?i.getBBox()[e]:i[r],oo=mi("inline","width","offsetWidth"),so=mi("block","height","offsetHeight");function ao({target:t,borderBoxSize:e}){vt.get(t)?.forEach(r=>{r(t,{get width(){return oo(t,e)},get height(){return so(t,e)}})})}function lo(t){t.forEach(ao)}function co(){typeof ResizeObserver>"u"||(yt=new ResizeObserver(lo))}function di(t,e){yt||co();let r=se(t);return r.forEach(i=>
3{let n=vt.get(i);n||(n=new Set,vt.set(i,n)),n.add(e),yt?.observe(i)}),()=>{r.forEach(i=>{let n=vt.get(i);n?.delete(e),n?.size||yt?.unobserve(i)})}}var bt=new Set,Se;function fo(){Se=()=>{let t={get width(){return window.innerWidth},get height(){return window.innerHeight}};bt.forEach(e=>e(t))},window.addEventListener("resize",Se)}function hi(t){return bt.add(t),Se||fo(),()=>{bt.delete(t),!bt.size&&typeof Se=="function"&&(window.removeEventListener("resize",Se),Se=void 0)}}function Yt(t,e){return typeof t=="function"?hi(t):di(t,e)}function Ge(t,e){let r,i=()=>{let{currentTime:n}=e,o=(n===null?0:n.value)/100;r!==o&&t(o),r=o};return oe.preUpdate(i,!0),()=>be(i)}function gi(t,e){if(t==="first")return 0;{let r=e-1;return t==="last"?r:r/2}}function vi(t=.1,{startDelay:e=0,from:r=0,ease:i}={}){return(n,s)=>{let o=typeof r=="number"?r:gi(r,s),a=Math.abs(o-n),c=t*a;if(i){let l=s*t;c=Nt(i)(c/l)*l}return e+c}}function yi(t){return typeof t=="object"&&!Array.isArray(t)}function bi(t,e,r,i){return t==null?[]:typeof t=="string"&&yi(e)?se(t,r,i):t instanceof NodeList?Array.from(t):Array.isArray(t)?t.filter(n=>n!=null):[t]}function xi(t,e,r){return t*(e+1)}function Jt(t,e,r,i){return typeof e=="number"?e:e.startsWith("-")||e.startsWith("+")?Math.max(0,t+parseFloat(e)):e==="<"?r:e.startsWith("<")?Math.max(0,r+parseFloat(e.slice(1))):i.get(e)??t}function uo(t,e,r){for(let i=0;i<t.length;i++){let n=t[i];n.at>e&&n.at<r&&(Ot(t,n),i--)}}function wi(t,e,r,i,n,s){uo(t,n,s);for(let o=0;o<e.length;o++)t.push({value:e[o],at:J(n,s,i[o]),easing:Ne(r,o)})}function Si(t,e){for(let r=0;r<t.length;r++)t[r]=t[r]/(e+1)}function Ei(t,e){return t.at===e.at?t.value===null?1:e.value===null?-1:0:t.at-e.at}var po="easeInOut",mo=20;function Ii(t,{defaultTransition:e={},...r}={},i,n){let s=e.duration||.3,o=new Map,a=new Map,c={},l=new Map,m=0,p=0,h=0;for(let v=0;v<t.length;v++){let w=t[v];if(typeof w=="string"){l.set(w,p);continue}else if(!Array.isArray(w)){l.set(w.name,Jt(p,w.at,m,l));continue}let[D,F,M={}]=w;M.at!==void 0&&(p=Jt(p,M.at,m,l));let V=0,P=(N,O,T,x=0,k=0)=>{let C=ho(N),{delay:Q=0,times:B=_e(C),type:z=e.type||"keyframes",repeat:S,repeatType:f,repeatDelay:u=0,...d}=O,{ease:g=e.ease||"easeOut",duration:y}=O,E=typeof Q=="function"?Q(x,k):Q,b=C.length,A=ze(z)?z:n?.[z||"keyframes"];if(b<=2&&A){let _=100;if(b===2&&yo(C)){let te=C[1]-C[0];_=Math.abs(te)}let q={...e,...d};y!==void 0&&(q.duration=j(y));let H=Le(q,_,A);g=H.ease,y=H.duration}y??(y=s);let I=p+E;B.length===1&&B[0]===0&&(B[1]=1);let L=B.length-C.length;if(L>0&&Ve(B,L),C.length===1&&C.unshift(null),S){U(S<mo,"Repeat count too high, must be less than 20","repeat-count-high"),y=xi(y,S);let _=[...C],q=[...B];g=Array.isArray(g)?[...g]:[g];let H=[...g];for(let te=0;te<S;te++){C.push(..._);for(let re=0;re<_.length;re++)B.push(q[re]+(te+1)),g.push(re===0?"linear":Ne(H,re-1))}Si(B,S)}let W=I+y;
3wi(T,C,g,B,I,W),V=Math.max(E+y,V),h=Math.max(W,h)};if(Ut(D)){let N=Ti(D,a);P(F,M,Ai("default",N))}else{let N=bi(D,F,i,c),O=N.length;for(let T=0;T<O;T++){F=F,M=M;let x=N[T],k=Ti(x,a);for(let C in F)P(F[C],go(M,C),Ai(C,k),T,O)}}m=p,p+=V}return a.forEach((v,w)=>{for(let D in v){let F=v[D];F.sort(Ei);let M=[],V=[],P=[];for(let x=0;x<F.length;x++){let{at:k,value:C,easing:Q}=F[x];M.push(C),V.push(ne(0,h,k)),P.push(Q||"easeOut")}V[0]!==0&&(V.unshift(0),M.unshift(M[0]),P.unshift(po)),V[V.length-1]!==1&&(V.push(1),M.push(null)),o.has(w)||o.set(w,{keyframes:{},transition:{}});let N=o.get(w);N.keyframes[D]=M;let{type:O,...T}=e;N.transition[D]={...T,duration:h,ease:P,times:V,...r}}}),o}function Ti(t,e){return!e.has(t)&&e.set(t,{}),e.get(t)}function Ai(t,e){return e[t]||(e[t]=[]),e[t]}function ho(t){return Array.isArray(t)?t:[t]}function go(t,e){return t&&t[e]?{...t,...t[e]}:{...t}}var vo=t=>typeof t=="number",yo=t=>t.every(vo);function xt(t,e,r,i){if(t==null)return[];let n=se(t,i),s=n.length;U(!!s,"No valid elements provided.","no-valid-elements");let o=[];for(let c=0;c<s;c++){let l=n[c],m={...r};typeof m.delay=="function"&&(m.delay=m.delay(c,s));for(let p in e){let h=e[p];Array.isArray(h)||(h=[h]);let v={...qt(m,p)};v.duration&&(v.duration=j(v.duration)),v.delay&&(v.delay=j(v.delay));let w=$t(l),D=Ht(p,v.pseudoElement||""),F=w.get(D);F&&F.stop(),o.push({map:w,key:D,unresolvedKeyframes:h,options:{...v,element:l,name:p,allowFlatten:!m.type&&!m.ease}})}}for(let c=0;c<o.length;c++){let{unresolvedKeyframes:l,options:m}=o[c],{element:p,name:h,pseudoElement:v}=m;!v&&l[0]===null&&(l[0]=gt(p,h)),Gt(l),Zt(l,h),!v&&l.length<2&&l.unshift(gt(p,h)),m.keyframes=l}let a=[];for(let c=0;c<o.length;c++){let{map:l,key:m,options:p}=o[c],h=new We(p);l.set(m,h),h.finished.finally(()=>l.delete(m)),a.push(h)}return a}function Di(t,e){let r=[];return Ii(t,e).forEach(({keyframes:i,transition:n},s)=>{r.push(...xt(s,i,n))}),new ge(r)}var bo=t=>{function e(r,i,n){return new ge(xt(r,i,n,t))}return e},Oi=bo();var xo=50,Fi=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),Ni=()=>({time:0,x:Fi(),y:Fi()}),wo={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function Mi(t,e,r,i){let n=r[e],{length:s,position:o}=wo[e],a=n.current,c=r.time;n.current=t[`scroll${o}`],n.scrollLength=t[`scroll${s}`]-t[`client${s}`],n.offset.length=0,n.offset[0]=0,n.offset[1]=n.scrollLength,n.progress=ne(0,n.scrollLength,n.current);let l=i-c;n.velocity=l>xo?0:Fe(n.current-a,l)}function ki(t,e,r){Mi(t,"x",e,r),Mi(t,"y",e,r),e.time=r}function Pi(t,e){let r={x:0,y:0},i=t;for(;i&&i!==e;)if(Xt(i))r.x+=i.offsetLeft,r.y+=i.offsetTop,i=i.offsetParent;else if(i.tagName==="svg"){let n=i.getBoundingClientRect();i=i.parentElement;let s=i.getBoundingClientRect();r.x+=n.left-s.left,r.y+=n.top-s.top}else if(i instanceof SVGGraphicsElement){let{x:n,y:s}=i.getBBox();r.x+=n,r.y+=s;let o=null,a=i.parentNode;for(;!o;)a.tagName==="svg"&&(o=a),a=i.parentNode;i=o}else break;return r}var wt={start:0,center:.5,end:1};function Qt(t,e,r=0){let i=0;if(t in wt&&(t=wt[t]),typeof t=="string"){let n=parseFloat(t);t.endsWith("px")?i=n:t.endsWith("%")?t=n/100:t.endsWith("vw")?i=n/100*document.documentElement.clientWidth:t.endsWith("vh")?i=n/100*document.documentElement.clientHeight:t=n}return typeof t=="number"&&(i=e*t),r+i}var So=[0,0];function Ci(t,e,r,i){let n=Array.isArray(t)?t:So,s=0,o=0;return typeof t=="number"?n=[t,t]:typeof t=="string"&&(t=t.trim(),t.includes(" ")?n=t.split(" "):n=[t,wt[t]?t:"0"]),s=Qt(n[0],r,i),o=Qt(n[1],e),s-o}var Ri={Enter:[[0,1],[1,1]],Exit:[[0,0],[1,0]],Any:[[1,0],[0,1]],All:[[0,0],[1,1]]};var Eo={x:0,y:0};function To(t){return"getBBox"in t&&t.tagName!=="svg"?t.getBBox():{width:t.clientWidth,height:t.clientHeight}}function Li(t,e,r){let{offset:i=Ri.All}=r,{target:n=t,axis:s="y"}=r,o=s==="y"?"height":"width",a=n!==t?Pi(n,t):Eo,c=n===t?{width:t.scrollWidth,height:t.scrollHeight}:To(n),l={width:t.clientWidth,height:t.clientHeight};e[s].offset.length=0;let m=!e[s].interpolate,p=i.length;for(let h=0;h<p;h++){let v=Ci(i[h],l[o],c[o],a[s]);
3!m&&v!==e[s].interpolatorOffsets[h]&&(m=!0),e[s].offset[h]=v}m&&(e[s].interpolate=Wt(e[s].offset,_e(i),{clamp:!1}),e[s].interpolatorOffsets=[...e[s].offset]),e[s].progress=K(0,1,e[s].interpolate(e[s].current))}function Ao(t,e=t,r){if(r.x.targetOffset=0,r.y.targetOffset=0,e!==t){let i=e;for(;i&&i!==t;)r.x.targetOffset+=i.offsetLeft,r.y.targetOffset+=i.offsetTop,i=i.offsetParent}r.x.targetLength=e===t?e.scrollWidth:e.clientWidth,r.y.targetLength=e===t?e.scrollHeight:e.clientHeight,r.x.containerLength=t.clientWidth,r.y.containerLength=t.clientHeight}function Vi(t,e,r,i={}){return{measure:n=>{Ao(t,i.target,r),ki(t,r,n),(i.offset||i.target)&&Li(t,r,i)},notify:()=>e(r)}}var Ee=new WeakMap,_i=new WeakMap,er=new WeakMap,Bi=new WeakMap,St=new WeakMap,zi=t=>t===document.scrollingElement?window:t;function Et(t,{container:e=document.scrollingElement,trackContentSize:r=!1,...i}={}){if(!e)return G;let n=er.get(e);n||(n=new Set,er.set(e,n));let s=Ni(),o=Vi(e,t,s,i);if(n.add(o),!Ee.has(e)){let c=()=>{for(let h of n)h.measure(kt.timestamp);oe.preUpdate(l)},l=()=>{for(let h of n)h.notify()},m=()=>oe.read(c);Ee.set(e,m);let p=zi(e);window.addEventListener("resize",m),e!==document.documentElement&&_i.set(e,Yt(e,m)),p.addEventListener("scroll",m),m()}if(r&&!St.has(e)){let c=Ee.get(e),l={width:e.scrollWidth,height:e.scrollHeight};Bi.set(e,l);let m=()=>{let h=e.scrollWidth,v=e.scrollHeight;(l.width!==h||l.height!==v)&&(c(),l.width=h,l.height=v)},p=oe.read(m,!0);St.set(e,p)}let a=Ee.get(e);return oe.read(a,!1,!0),()=>{be(a);let c=er.get(e);if(!c||(c.delete(o),c.size))return;let l=Ee.get(e);Ee.delete(e),l&&(zi(e).removeEventListener("scroll",l),_i.get(e)?.(),window.removeEventListener("resize",l));let m=St.get(e);m&&(be(m),St.delete(e)),Bi.delete(e)}}function Wi(t){return typeof window<"u"&&!t&&Be()}var Gi=new Map;function Io(t){let e={value:0},r=Et(i=>{e.value=i[t.axis].progress*100},t);return{currentTime:e,cancel:r}}function Tt({source:t,container:e,...r}){let{axis:i}=r;t&&(e=t);let n=Gi.get(e)??new Map;Gi.set(e,n);let s=r.target??"self",o=n.get(s)??{},a=i+(r.offset??[]).join(",");return o[a]||(o[a]=Wi(r.target)?new ScrollTimeline({source:e,axis:i}):Io({container:e,...r})),o[a]}function Ki(t,e){let r=Tt(e);return t.attachTimeline({timeline:e.target?void 0:r,observe:i=>(i.pause(),Ge(n=>{i.time=i.iterationDuration*n},r))})}function Do(t){return t.length===2}function ji(t,e){return Do(t)?Et(r=>
3{t(r[e.axis].progress,r)},e):Ge(t,Tt(e))}function Hi(t,{axis:e="y",container:r=document.scrollingElement,...i}={}){if(!r)return G;let n={axis:e,container:r,...i};return typeof t=="function"?ji(t,n):Ki(t,n)}var Oo={some:0,all:1};function $i(t,e,{root:r,margin:i,amount:n="some"}={}){let s=se(t),o=new WeakMap,a=l=>{l.forEach(m=>{let p=o.get(m.target);if(m.isIntersecting!==!!p)if(m.isIntersecting){let h=e(m.target,m);typeof h=="function"?o.set(m.target,h):c.unobserve(m.target)}else typeof p=="function"&&(p(m),o.delete(m.target))})},c=new IntersectionObserver(a,{root:r,rootMargin:i,threshold:typeof n=="number"?n:Oo[n]});return s.forEach(l=>c.observe(l)),()=>c.disconnect()}function ae(t){this.listenerMap=[{},{}],t&&this.root(t),this.handle=ae.prototype.handle.bind(this),this._removedListeners=[]}ae.prototype.root=function(t){let e=this.listenerMap,r;if(this.rootElement){for(r in e[1])e[1].hasOwnProperty(r)&&this.rootElement.removeEventListener(r,this.handle,!0);for(r in e[0])e[0].hasOwnProperty(r)&&this.rootElement.removeEventListener(r,this.handle,!1)}if(!t||!t.addEventListener)return this.rootElement&&delete this.rootElement,this;this.rootElement=t;for(r in e[1])e[1].hasOwnProperty(r)&&this.rootElement.addEventListener(r,this.handle,!0);for(r in e[0])e[0].hasOwnProperty(r)&&this.rootElement.addEventListener(r,this.handle,!1);return this};ae.prototype.captureForType=function(t){return["blur","error","focus","load","resize","scroll"].indexOf(t)!==-1};ae.prototype.on=function(t,e,r,i){let n,s,o,a;if(!t)throw new TypeError("Invalid event type: "+t);if(typeof e=="function"&&(i=r,r=e,e=null),i===void 0&&(i=this.captureForType(t)),typeof r!="function")throw new TypeError("Handler must be a type of Function");return n=this.rootElement,s=this.listenerMap[i?1:0],s[t]||(n&&n.addEventListener(t,this.handle,i),s[t]=[]),e?/^[a-z]+$/i.test(e)?(a=e,o=Fo):/^#[a-z0-9\-_]+$/i.test(e)?(a=e.slice(1),o=No):(a=e,o=Element.prototype.matches):(a=null,o=Mo.bind(this)),s[t].push({selector:e,handler:r,matcher:o,matcherParam:a}),this};ae.prototype.off=function(t,e,r,i){let n,s,o,a,c;if(typeof e=="function"&&(i=r,r=e,e=null),i===void 0)return this.off(t,e,r,!0),this.off(t,e,r,!1),this;if(o=this.listenerMap[i?1:0],!t){for(c in o)o.hasOwnProperty(c)&&this.off(c,e,r);return this}if(a=o[t],!a||!a.length)return this;for(n=a.length-1;n>=0;n--)s=a[n],(!e||e===s.selector)&&(!r||r===s.handler)&&(this._removedListeners.push(s),a.splice(n,1));return a.length||(delete o[t],this.rootElement&&this.rootElement.removeEventListener(t,this.handle,i)),this};ae.prototype.handle=function(t){let e,r,i=t.type,n,s,o,a,c=[],l,m="ftLabsDelegateIgnore";if(t[m]===!0)return;switch(l=t.target,l.nodeType===3&&(l=l.parentNode),l.correspondingUseElement&&(l=l.correspondingUseElement),n=this.rootElement,s=t.eventPhase||(t.target!==t.currentTarget?3:2),s){case 1:c=this.listenerMap[1][i];break;case 2:this.listenerMap[0]&&this.listenerMap[0][i]&&(c=c.concat(this.listenerMap[0][i])),this.listenerMap[1]&&this.listenerMap[1][i]&&(c=c.concat(this.listenerMap[1][i]));break;case 3:c=this.listenerMap[0][i];break}let p=[];for(r=c.length;l&&r;){for(e=0;e<r&&(o=c[e],!!o);e++)l.tagName&&["button","input","select","textarea"].indexOf(l.tagName.toLowerCase())>-1&&l.hasAttribute("disabled")?p=[]:o.matcher.call(l,o.matcherParam,l)&&p.push([t,l,o]);if(l===n||(r=c.length,l=l.parentElement||l.parentNode,l instanceof HTMLDocument))break}let h;for(e=0;e<p.length;e++)if(!(this._removedListeners.indexOf(p[e][2])>-1)&&(a=this.fire.apply(this,p[e]),a===!1)){p[e][0][m]=!0,p[e][0].preventDefault(),h=!1;break}return h};ae.prototype.fire=function(t,e,r){return r.handler.call(e,t,e)};function Fo(t,e){return t.toLowerCase()===e.tagName.toLowerCase()}function Mo(t,e){return this.rootElement===window?e===document||e===document.documentElement||e===window:this.rootElement===e}function No(t,e){return t===e.id}ae.prototype.destroy=function(){this.off(),this.root()};var ko=ae;function Ke(t,e,r){let i=document.createElement(e);return t&&(i.className=t),r&&r.appendChild(i),i}function Po(t,e,r){let i=`translate3d(${t}px,${e||0}px,0)`;return r!==void 0&&(i+=` scale3d(${r},${r},1)`),i}function tr(t,e,r){t.style.width=typeof e=="number"?`${e}px`:e,t.style.height=typeof r=="number"?`${r}px`:r}
vendor: 14,650 bytes, line 3
3var X={IDLE:"idle",LOADING:"loading",LOADED:"loaded",ERROR:"error"};function Co(t){return"button"in t&&t.button===1||t.ctrlKey||t.metaKey||t.altKey||t.shiftKey}function je(t,e,r=document){let i=[];if(t instanceof Element)i=[t];else if(t instanceof NodeList||Array.isArray(t))i=Array.from(t);else{let n=typeof t=="string"?t:e;n&&(i=Array.from(r.querySelectorAll(n)))}return i}function Ro(t){return typeof t=="function"&&t.prototype&&t.prototype.goTo}function qi(){return!!(navigator.vendor&&navigator.vendor.match(/apple/i))}var rr=class{constructor(e,r){this.type=e,this.defaultPrevented=!1,r&&Object.assign(this,r)}preventDefault(){this.defaultPrevented=!0}},ir=class{constructor(){this._listeners={},this._filters={},this.pswp=void 0,this.options=void 0}addFilter(e,r,i=100){var n,s,o;this._filters[e]||(this._filters[e]=[]),(n=this._filters[e])===null||n===void 0||n.push({fn:r,priority:i}),(s=this._filters[e])===null||s===void 0||s.sort((a,c)=>a.priority-c.priority),(o=this.pswp)===null||o===void 0||o.addFilter(e,r,i)}removeFilter(e,r){this._filters[e]&&(this._filters[e]=this._filters[e].filter(i=>i.fn!==r)),this.pswp&&this.pswp.removeFilter(e,r)}applyFilters(e,...r){var i;return(i=this._filters[e])===null||i===void 0||i.forEach(n=>{r[0]=n.fn.apply(this,r)}),r[0]}on(e,r){var i,n;this._listeners[e]||(this._listeners[e]=[]),(i=this._listeners[e])===null||i===void 0||i.push(r),(n=this.pswp)===null||n===void 0||n.on(e,r)}off(e,r){var i;this._listeners[e]&&(this._listeners[e]=this._listeners[e].filter(n=>r!==n)),(i=this.pswp)===null||i===void 0||i.off(e,r)}dispatch(e,r){var i;if(this.pswp)return this.pswp.dispatch(e,r);let n=new rr(e,r);return(i=this._listeners[e])===null||i===void 0||i.forEach(s=>{s.call(this,n)}),n}},nr=class{constructor(e,r){if(this.element=Ke("pswp__img pswp__img--placeholder",e?"img":"div",r),e){let i=this.element;i.decoding="async",i.alt="",i.src=e,i.setAttribute("role","presentation")}this.element.setAttribute("aria-hidden","true")}setDisplayedSize(e,r){this.element&&(this.element.tagName==="IMG"?(tr(this.element,250,"auto"),this.element.style.transformOrigin="0 0",this.element.style.transform=Po(0,0,e/250)):tr(this.element,e,r))}destroy(){var e;(e=this.element)!==null&&e!==void 0&&e.parentNode&&this.element.remove(),this.element=null}},or=class{constructor(e,r,i){this.instance=r,this.data=e,this.index=i,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=X.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,r){if(this.slide&&this.usePlaceholder())if(this.placeholder){let i=this.placeholder.element;i&&!i.parentElement&&this.slide.container.prepend(i)}else{let i=this.instance.applyFilters("placeholderSrc",this.data.msrc&&this.slide.isFirstSlide?this.data.msrc:!1,this);this.placeholder=new nr(i,this.slide.container)}this.element&&!r||this.instance.dispatch("contentLoad",{content:this,isLazy:e}).defaultPrevented||(this.isImageContent()?(this.element=Ke("pswp__img","img"),this.displayedImageWidth&&this.loadImage(e)):(this.element=Ke("pswp__content","div"),this.element.innerHTML=this.data.html||""),r&&this.slide&&this.slide.updateContentSize(!0))}loadImage(e){var r,i;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=(r=this.data.src)!==null&&r!==void 0?r:"",n.alt=(i=this.data.alt)!==null&&i!==void 0?i:"",this.state=X.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=X.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===X.LOADED||this.state===X.ERROR)&&this.removePlaceholder())}onError(){this.state=X.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===X.LOADING,this)}isError(){return this.state===X.ERROR}isImageContent(){return this.type==="image"}setDisplayedSize(e,r){if(this.element&&(this.placeholder&&this.placeholder.setDisplayedSize(e,r),!this.instance.dispatch("contentResize",{content:this,width:e,height:r}).defaultPrevented&&(tr(this.element,e,r),this.isImageContent()&&!this.isError()))){let i=!this.displayedImageWidth&&e;this.displayedImageWidth=e,this.displayedImageHeight=r,i?this.loadImage(!1):this.updateSrcsetSizes(),this.slide&&this.instance.dispatch("imageSizeChange",{slide:this.slide,width:e,height:r,content:this})}}isZoomable(){return this.instance.applyFilters("isContentZoomable",this.isImageContent()&&this.state!==X.ERROR,this)}updateSrcsetSizes(){if(!this.isImageContent()||!this.element||!this.data.srcset)return;let e=this.element,r=this.instance.applyFilters("srcsetSizesWidth",this.displayedImageWidth,this);(!e.dataset.largestUsedSize||r>parseInt(e.dataset.largestUsedSize,10))&&(e.sizes=r+"px",e.dataset.largestUsedSize=String(r))}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,r;let i=Ke("pswp__error-msg","div");i.innerText=(e=(r=this.instance.options)===null||r===void 0?void 0:r.errorMsg)!==null&&e!==void 0?e:"",i=this.instance.applyFilters("contentErrorElement",i,this),this.element=Ke("pswp__content pswp__error-msg-container","div"),this.element.appendChild(i),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===X.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||qi())?(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&&!qi()?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===X.LOADED||this.state===X.ERROR)&&this.removePlaceholder()))}};function Lo(t,e){if(t.getViewportSizeFn){let r=t.getViewportSizeFn(t,e);if(r)return r}return{x:document.documentElement.clientWidth,y:window.innerHeight}}function At(t,e,r,i,n){let s=0;if(e.paddingFn)s=e.paddingFn(r,i,n)[t];else if(e.padding)s=e.padding[t];else{let o="padding"+t[0].toUpperCase()+t.slice(1);e[o]&&(s=e[o])}return Number(s)||0}function Vo(t,e,r,i){return{x:e.x-At("left",t,e,r,i)-At("right",t,e,r,i),y:e.y-At("top",t,e,r,i)-At("bottom",t,e,r,i)}}var Ui=4e3,sr=class{constructor(e,r,i,n){this.pswp=n,this.options=e,this.itemData=r,this.index=i,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,r,i){let n={x:e,y:r};this.elementSize=n,this.panAreaSize=i;let s=i.x/n.x,o=i.y/n.y;this.fit=Math.min(1,s<o?s:o),this.fill=Math.min(1,s>o?s:o),this.vFill=Math.min(1,o),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 r=e+"ZoomLevel",i=this.options[r];if(i)return typeof i=="function"?i(this):i==="fill"?this.fill:i==="fit"?this.fit:Number(i)}_getSecondary(){let e=this._parseZoomLevelOption("secondary");return e||(e=Math.min(1,this.fit*3),this.elementSize&&e*this.elementSize.x>Ui&&(e=Ui/this.elementSize.x),e)}_getInitial(){return this._parseZoomLevelOption("initial")||this.fit}_getMax(){return this._parseZoomLevelOption("max")||Math.max(1,this.fit*4)}};function Zi(t,e,r){let i=e.createContentFromData(t,r),n,{options:s}=e;if(s){n=new sr(s,t,-1);let o;e.pswp?o=e.pswp.viewportSize:o=Lo(s,e);let a=Vo(s,o,t,r);n.update(i.width,i.height,a)}return i.lazyLoad(),n&&i.setDisplayedSize(Math.ceil(i.width*n.initial),Math.ceil(i.height*n.initial)),i}function _o(t,e){let r=e.getItemData(t);if(!e.dispatch("lazyLoadSlide",{index:t,itemData:r}).defaultPrevented)return Zi(r,e,t)}var ar=class extends ir{getNumItems(){var e;let r=0,i=(e=this.options)===null||e===void 0?void 0:e.dataSource;i&&"length"in i?r=i.length:i&&"gallery"in i&&(i.items||(i.items=this._getGalleryDOMElements(i.gallery)),i.items&&(r=i.items.length));let n=this.dispatch("numItems",{dataSource:i,numItems:r});return this.applyFilters("numItems",n.numItems,i)}createContentFromData(e,r){return new or(e,this,r)}getItemData(e){var r;let i=(r=this.options)===null||r===void 0?void 0:r.dataSource,n={};Array.isArray(i)?n=i[e]:i&&"gallery"in i&&(i.items||(i.items=this._getGalleryDOMElements(i.gallery)),n=i.items[e]);let s=n;s instanceof Element&&(s=this._domElementToItemData(s));let o=this.dispatch("itemData",{itemData:s||{},index:e});return this.applyFilters("itemData",o.itemData,e)}_getGalleryDOMElements(e){var r,i;return(r=this.options)!==null&&r!==void 0&&r.children||(i=this.options)!==null&&i!==void 0&&i.childSelector?je(this.options.children,this.options.childSelector,e)||[]:[e]}_domElementToItemData(e){let r={element:e},i=e.tagName==="A"?e:e.querySelector("a");if(i){r.src=i.dataset.pswpSrc||i.href,i.dataset.pswpSrcset&&(r.srcset=i.dataset.pswpSrcset),r.width=i.dataset.pswpWidth?parseInt(i.dataset.pswpWidth,10):0,r.height=i.dataset.pswpHeight?parseInt(i.dataset.pswpHeight,10):0,r.w=r.width,r.h=r.height,i.dataset.pswpType&&(r.type=i.dataset.pswpType);let s=e.querySelector("img");if(s){var n;r.msrc=s.currentSrc||s.src,r.alt=(n=s.getAttribute("alt"))!==null&&n!==void 0?n:""}(i.dataset.pswpCropped||i.dataset.cropped)&&(r.thumbCropped=!0)}return this.applyFilters("domItemData",r,e,i)}lazyLoadData(e,r){return Zi(e,this,r)}},lr=class extends ar{constructor(e){super(),this.options=e||{},this._uid=0,this.shouldOpen=!1,this._preloadedContent=void 0,this.onThumbnailsClick=this.onThumbnailsClick.bind(this)}init(){je(this.options.gallery,this.options.gallerySelector).forEach(e=>{e.addEventListener("click",this.onThumbnailsClick,!1)})}onThumbnailsClick(e){if(Co(e)||window.pswp)return;let r={x:e.clientX,y:e.clientY};!r.x&&!r.y&&(r=null);let i=this.getClickedIndex(e);i=this.applyFilters("clickedIndex",i,e,this);let n={gallery:e.currentTarget};i>=0&&(e.preventDefault(),this.loadAndOpen(i,n,r))}getClickedIndex(e){if(this.options.getClickedIndexFn)return this.options.getClickedIndexFn.call(this,e);let r=e.target,n=je(this.options.children,this.options.childSelector,e.currentTarget).findIndex(s=>s===r||s.contains(r));return n!==-1?n:this.options.children||this.options.childSelector?-1:0}loadAndOpen(e,r,i){if(window.pswp||!this.options)return!1;if(!r&&this.options.gallery&&this.options.children){let n=je(this.options.gallery);n[0]&&(r={gallery:n[0]})}return this.options.index=e,this.options.initialPointerPos=i,this.shouldOpen=!0,this.preload(e,r),!0}preload(e,r){let{options:i}=this;r&&(i.dataSource=r);let n=[],s=typeof i.pswpModule;if(Ro(i.pswpModule))n.push(Promise.resolve(i.pswpModule));else{if(s==="string")throw new Error("pswpModule as string is no longer supported");if(s==="function")n.push(i.pswpModule());else throw new Error("pswpModule is not valid")}typeof i.openPromise=="function"&&n.push(i.openPromise()),i.preloadFirstSlide!==!1&&e>=0&&(this._preloadedContent=_o(e,this));let o=++this._uid;Promise.all(n).then(a=>{if(this.shouldOpen){let c=a[0];this._openPhotoswipe(c,o)}})}_openPhotoswipe(e,r){if(r!==this._uid&&this.shouldOpen||(this.shouldOpen=!1,window.pswp))return;let i=typeof e=="object"?new e.default(this.options):new e(this.options);this.pswp=i,window.pswp=i,Object.keys(this._listeners).forEach(n=>{var s;(s=this._listeners[n])===null||s===void 0||s.forEach(o=>{i.on(n,o)})}),Object.keys(this._filters).forEach(n=>{var s;(s=this._filters[n])===null||s===void 0||s.forEach(o=>{i.addFilter(n,o.fn,o.priority)})}),this._preloadedContent&&(i.contentLoader.addToCache(this._preloadedContent),this._preloadedContent=void 0),i.on("destroy",()=>{this.pswp=void 0,delete window.pswp}),i.init()}destroy(){var e;(e=this.pswp)===null||e===void 0||e.destroy(),this.shouldOpen=!1,this._listeners={},je(this.options.gallery,this.options.gallerySelector).forEach(r=>{r.removeEventListener("click",this.onThumbnailsClick,!1)})}};export{ko as Delegate,Ar as FocusTrap,lr as PhotoSwipeLightbox,Oi as animate,Di as animateSequence,oe as frame,$
3i as inView,Hi as scroll,ft as spring,vi as stagger}; 4/*! Bundled license information: 5 6tabbable/dist/index.esm.js: 7 (*! 8 * tabbable 6.4.0 9 * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE 10 *) 11 12focus-trap/dist/focus-trap.esm.js: 13 (*! 14 * focus-trap 8.0.0 15 * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE 16 *) 17 (*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE *) 18 19photoswipe/dist/photoswipe-lightbox.esm.js: 20 (*! 21 * PhotoSwipe Lightbox 5.4.4 - https://photoswipe.com 22 * (c) 2024 Dmytro Semenov 23 *) 24*/
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.