1var Di=Object.create;var Le=Object.defineProperty;var Fi=Object.getOwnPropertyDescriptor;var Ci=Object.getOwnPropertyNames;var Ni=Object.getPrototypeOf,Mi=Object.prototype.hasOwnProperty;var Ri=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),ki=(e,t)=>{for(var r in t)Le(e,r,{get:t[r],enumerable:!0})},zi=(e,t,r,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Ci(t))!Mi.call(e,n)&&n!==r&&Le(e,n,{get:()=>t[n],enumerable:!(i=Fi(t,n))||i.enumerable});return e};var ji=(e,t,r)=>(r=e!=null?Di(Ni(e)):{},zi(t||!e||!e.__esModule?Le(r,"default",{value:e,enumerable:!0}):r,e));var Nr=Ri(()=>{(function(){"use strict";var e=function(h,s){var p=function(I){for(var S=0,N=I.length;S<N;S++)w(I[S])},w=function(I){var S=I.target,N=I.attributeName,z=I.oldValue;S.attributeChangedCallback(N,z,S.getAttribute(N))};return function(E,I){var S=E.constructor.observedAttributes;return S&&h(I).then(function(){new s(p).observe(E,{attributes:!0,attributeOldValue:!0,attributeFilter:S});for(var N=0,z=S.length;N<z;N++)E.hasAttribute(S[N])&&w({target:E,attributeName:S[N],oldValue:null})}),E}};function t(h,s){if(h){if(typeof h=="string")return r(h,s);var p=Object.prototype.toString.call(h).slice(8,-1);if(p==="Object"&&h.constructor&&(p=h.constructor.name),p==="Map"||p==="Set")return Array.from(h);if(p==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(p))return r(h,s)}}function r(h,s){(s==null||s>h.length)&&(s=h.length);for(var p=0,w=new Array(s);p<s;p++)w[p]=h[p];return w}function i(h,s){var p=typeof Symbol<"u"&&h[Symbol.iterator]||h["@@iterator"];if(!p){if(Array.isArray(h)||(p=t(h))||s&&h&&typeof h.length=="number"){p&&(h=p);var w=0,E=function(){};return{s:E,n:function(){return w>=h.length?{done:!0}:{done:!1,value:h[w++]}},e:function(z){throw z},f:E}}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 I=!0,S=!1,N;return{s:function(){p=p.call(h)},n:function(){var z=p.next();return I=z.done,z},e:function(z){S=!0,N=z},f:function(){try{!I&&p.return!=null&&p.return()}finally{if(S)throw N}}}}var n=!0,a=!1,o="querySelectorAll",u=function(s){var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:document,w=arguments.length>2&&arguments[2]!==void 0?arguments[2]:MutationObserver,E=arguments.length>3&&arguments[3]!==void 0?arguments[3]:["*"],I=function z(at,st,q,O,M,j){var X=i(at),xt;try{for(X.s();!(xt=X.n()).done;){var U=xt.value;(j||o in U)&&(M?q.has(U)||(q.add(U),O.delete(U),s(U,M)):O.has(U)||(O.add(U),q.delete(U),s(U,M)),j||z(U[o](st),st,q,O,M,n))}}catch(_e){X.e(_e)}finally{X.f()}},S=new w(function(z){if(E.length){var at=E.join(","),st=new Set,q=new Set,O=i(z),M;try{for(O.s();!(M=O.n()).done;){var j=M.value,X=j.addedNodes,xt=j.removedNodes;I(xt,at,st,q,a,a),I(X,at,st,q,n,a)}}catch(U){O.e(U)}finally{O.f()}}}),N=S.observe;return(S.observe=function(z){return N.call(S,z,{subtree:n,childList:n})})(p),S},f="querySelectorAll",c=self,y=c.document,m=c.Element,g=c.MutationObserver,A=c.Set,V=c.WeakMap,C=function(s){return f in s},F=[].filter,H=function(h){var s=new V,p=function(O){for(var M=0,j=O.length;M<j;M++)s.delete(O[M])},w=function(){for(var O=at.takeRecords(),M=0,j=O.length;M<j;M++)S(F.call(O[M].removedNodes,C),!1),S(F.call(O[M].addedNodes,C),!0)},E=function(O){return O.matches||O.webkitMatchesSelector||O.msMatchesSelector},I=function(O,M){var j;if(M)for(var X,xt=E(O),U=0,_e=N.length;U<_e;U++)xt.call(O,X=N[U])&&(s.has(O)||s.set(O,new A),j=s.get(O),j.has(X)||(j.add(X),h.handle(O,M,X)));else s.has(O)&&(j=s.get(O),s.delete(O),j.forEach(function(Pi){h.handle(O,M,Pi)}))},S=function(O){for(var M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,j=0,X=O.length;j<X;j++)I(O[j],M)},N=h.query,z=h.root||y,at=u(I,z,g,N),st=m.prototype.attachShadow;return st&&(m.prototype.attachShadow=function(q){var O=st.call(this,q);return at.observe(O),O}),N.length&&S(z[f](N)),{drop:p,flush:w,observer:at,parse:S}},P=self,L=P.document,D=P.Map,K=P.MutationObserver,x=P.Object,d=P.Set,l=P.WeakMap,v=P.Element,b=P.HTMLElement,T=P.Node,_=P.Error,R=P.TypeError,G=P.Reflect,Z=x.defineProperty,J=x.keys,pt=x.getOwnPropertyNames,mt=x.setPrototypeOf,rt=!self.customElements,Et=function(s){for(var p=J(s),w=[],E=p.length,I=0;I<E;I++)w[I]=s[p[I]],delete s[p[I]];return function(){for(var S=0;S<E;S++)s[p[S]]=w[S]}};if(rt){var Ee=function(){var s=this.constructor;if(!xe.has(s))throw new R("Illegal constructor");var p=xe.get(s);if($t)return ir($t,p);var w=tr.call(L,p);return ir(mt(w,s.prototype),p)},tr=L.createElement,xe=new D,Ut=new D,er=new D,Tt=new D,rr=[],vi=function(s,p,w){var E=er.get(w);if(p&&!E.isPrototypeOf(s)){var I=Et(s);$t=mt(s,E);try{new E.constructor}finally{$t=null,I()}}var S="".concat(p?"":"dis","connectedCallback");
2S in E&&s[S]()},gi=H({query:rr,handle:vi}),yi=gi.parse,$t=null,Se=function(s){if(!Ut.has(s)){var p,w=new Promise(function(E){p=E});Ut.set(s,{$:w,_:p})}return Ut.get(s).$},ir=e(Se,K);self.customElements={define:function(s,p){if(Tt.has(s))throw new _('the name "'.concat(s,'" has already been used with this registry'));xe.set(p,s),er.set(s,p.prototype),Tt.set(s,p),rr.push(s),Se(s).then(function(){yi(L.querySelectorAll(s))}),Ut.get(s)._(p)},get:function(s){return Tt.get(s)},whenDefined:Se},Z(Ee.prototype=b.prototype,"constructor",{value:Ee}),self.HTMLElement=Ee,L.createElement=function(h,s){var p=s&&s.is,w=p?Tt.get(p):Tt.get(h);return w?new w:tr.call(L,h)},"isConnected"in T.prototype||Z(T.prototype,"isConnected",{configurable:!0,get:function(){return!(this.ownerDocument.compareDocumentPosition(this)&this.DOCUMENT_POSITION_DISCONNECTED)}})}else if(rt=!self.customElements.get("extends-li"),rt)try{var nr=function h(){return self.Reflect.construct(HTMLLIElement,[],h)};nr.prototype=HTMLLIElement.prototype;var or="extends-li";self.customElements.define("extends-li",nr,{extends:"li"}),rt=L.createElement("li",{is:or}).outerHTML.indexOf(or)<0;var ar=self.customElements,bi=ar.get,wi=ar.whenDefined;self.customElements.whenDefined=function(h){var s=this;return wi.call(this,h).then(function(p){return p||bi.call(s,h)})}}catch{}if(rt){var sr=function(s){var p=Oe.get(s);dr(p.querySelectorAll(this),s.isConnected)},tt=self.customElements,lr=L.createElement,Ei=tt.define,xi=tt.get,Si=tt.upgrade,Oi=G||{construct:function(s){return s.call(this)}},Ti=Oi.construct,Oe=new l,Te=new d,Kt=new D,qt=new D,cr=new D,Gt=new D,ur=[],Zt=[],fr=function(s){return Gt.get(s)||xi.call(tt,s)},Ai=function(s,p,w){var E=cr.get(w);if(p&&!E.isPrototypeOf(s)){var I=Et(s);Xt=mt(s,E);try{new E.constructor}finally{Xt=null,I()}}var S="".concat(p?"":"dis","connectedCallback");S in E&&s[S]()},Ii=H({query:Zt,handle:Ai}),dr=Ii.parse,_i=H({query:ur,handle:function(s,p){Oe.has(s)&&(p?Te.add(s):Te.delete(s),Zt.length&&sr.call(Zt,s))}}),Li=_i.parse,hr=v.prototype.attachShadow;hr&&(v.prototype.attachShadow=function(h){var s=hr.call(this,h);return Oe.set(this,s),s});var Ae=function(s){if(!qt.has(s)){var p,w=new Promise(function(E){p=E});qt.set(s,{$:w,_:p})}return qt.get(s).$},Ie=e(Ae,K),Xt=null;pt(self).filter(function(h){return/^HTML.*Element$/.test(h)}).forEach(function(h){var s=self[h];function p(){var w=this.constructor;if(!Kt.has(w))throw new R("Illegal constructor");var E=Kt.get(w),I=E.is,S=E.tag;if(I){if(Xt)return Ie(Xt,I);var N=lr.call(L,S);return N.setAttribute("is",I),Ie(mt(N,w.prototype),I)}else return Ti.call(this,s,[],w)}Z(p.prototype=s.prototype,"constructor",{value:p}),Z(self,h,{value:p})}),L.createElement=function(h,s){var p=s&&s.is;if(p){var w=Gt.get(p);if(w&&Kt.get(w).tag===h)return new w}var E=lr.call(L,h);return p&&E.setAttribute("is",p),E},tt.get=fr,tt.whenDefined=Ae,tt.upgrade=function(h){var s=h.getAttribute("is");if(s){var p=Gt.get(s);if(p){Ie(mt(h,p.prototype),s);return}}Si.call(tt,h)},tt.define=function(h,s,p){if(fr(h))throw new _("'".concat(h,"' has already been defined as a custom element"));var w,E=p&&p.extends;Kt.set(s,E?{is:h,tag:E}:{is:"",tag:h}),E?(w="".concat(E,'[is="').concat(h,'"]'),cr.set(w,s.prototype),Gt.set(h,s),Zt.push(w)):(Ei.apply(tt,arguments),ur.push(w=h)),Ae(h).then(function(){E?(dr(L.querySelectorAll(w)),Te.forEach(sr,[w])):Li(L.querySelectorAll(w))}),qt.get(h)._(s)}}})()});var Yt=null,mr,vr,gr,yr=65,Pe,At,pr=new Set,br=1111;Wi();function Wi(){if(!document.createElement("link").relList.supports("prefetch"))return;let t="instantVaryAccept"in document.body.dataset||"Shopify"in window,r=navigator.userAgent.indexOf("Chrome/");if(r>
2-1&&(Yt=parseInt(navigator.userAgent.substring(r+7))),t&&Yt&&Yt<110)return;let i="instantMousedownShortcut"in document.body.dataset;mr="instantAllowQueryString"in document.body.dataset,vr="instantAllowExternalLinks"in document.body.dataset,gr="instantWhitelist"in document.body.dataset;let n={capture:!0,passive:!0},a=!1,o=!1,u=!1;if("instantIntensity"in document.body.dataset){let f=document.body.dataset.instantIntensity;if(f.startsWith("mousedown"))a=!0,f=="mousedown-only"&&(o=!0);else if(f.startsWith("viewport")){let c=navigator.connection&&navigator.connection.saveData,y=navigator.connection&&navigator.connection.effectiveType&&navigator.connection.effectiveType.includes("2g");!c&&!y&&(f=="viewport"?document.documentElement.clientWidth*document.documentElement.clientHeight<45e4&&(u=!0):f=="viewport-all"&&(u=!0))}else{let c=parseInt(f);isNaN(c)||(yr=c)}}if(o||document.addEventListener("touchstart",Vi,n),a?i||document.addEventListener("mousedown",Bi,n):document.addEventListener("mouseover",Hi,n),i&&document.addEventListener("mousedown",$i,n),u){let f=window.requestIdleCallback;f||(f=c=>{c()}),f(function(){let y=new IntersectionObserver(m=>{m.forEach(g=>{if(g.isIntersecting){let A=g.target;y.unobserve(A),Jt(A.href)}})});document.querySelectorAll("a").forEach(m=>{Qt(m)&&y.observe(m)})},{timeout:1500})}}function Vi(e){Pe=performance.now();let t=e.target.closest("a");Qt(t)&&Jt(t.href,"high")}function Hi(e){if(performance.now()-Pe<br||!("closest"in e.target))return;let t=e.target.closest("a");Qt(t)&&(t.addEventListener("mouseout",Ui,{passive:!0}),At=setTimeout(()=>{Jt(t.href,"high"),At=void 0},yr))}function Bi(e){let t=e.target.closest("a");Qt(t)&&Jt(t.href,"high")}function Ui(e){e.relatedTarget&&e.target.closest("a")==e.relatedTarget.closest("a")||At&&(clearTimeout(At),At=void 0)}function $i(e){if(performance.now()-Pe<br)return;let t=e.target.closest("a");if(e.which>1||e.metaKey||e.ctrlKey||!t)return;t.addEventListener("click",function(i){i.detail!=1337&&i.preventDefault()},{capture:!0,passive:!1,once:!0});let r=new MouseEvent("click",{view:window,bubbles:!0,cancelable:!1,detail:1337});t.dispatchEvent(r)}function Qt(e){if(!(!e||!e.href)&&!(gr&&!("instant"in e.dataset))&&!(e.origin!=location.origin&&(!(vr||"instant"in e.dataset)||!Yt))&&["http:","https:"].includes(e.protocol)&&!(e.protocol=="http:"&&location.protocol=="https:")&&!(!mr&&e.search&&!("instant"in e.dataset))&&!(e.hash&&e.pathname+e.search==location.pathname+location.search)&&!("noInstant"in e.dataset))return!0}function Jt(e,t="auto"){if(pr.has(e))return;let r=document.createElement("link");r.rel="prefetch",r.href=e,r.fetchPriority=t,r.as="document",document.head.appendChild(r),pr.add(e)}var Ce={};ki(Ce,{createFocusTrap:()=>mn});var Er=["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])"],te=Er.join(","),xr=typeof Element>"u",vt=xr?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,ee=!xr&&Element.prototype.getRootNode?function(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}:function(e){return e?.ownerDocument},re=function e(t,r){var i;r===void 0&&(r=!0);var n=t==null||(i=t.getAttribute)===null||i===void 0?void 0:i.call(t,"inert"),a=n===""||n==="true",o=a||r&&t&&e(t.parentNode);return o},Ki=function(t){var r,i=t==null||(r=t.getAttribute)===null||r===void 0?void 0:r.call(t,"contenteditable");return i===""||i==="true"},Sr=function(t,r,i){if(re(t))return[];var n=Array.prototype.slice.apply(t.querySelectorAll(te));return r&&vt.call(t,te)&&n.unshift(t),n=n.filter(i),n},Or=function e(t,r,i){for(var n=[],a=Array.from(t);a.length;){var o=a.shift();if(!re(o,!1))if(o.tagName==="SLOT"){var u=o.assignedElements(),f=u.length?u:o.children,c=e(f,!0,i);i.flatten?n.push.apply(n,c):n.push({scopeParent:o,candidates:c})}else{var y=vt.call(o,te);y&&i.filter(o)&&(r||!t.includes(o))&&n.push(o);var m=o.shadowRoot||typeof i.getShadowRoot=="function"&&i.getShadowRoot(o),g=!re(m,!1)&&(!i.shadowRootFilter||i.shadowRootFilter(o
vendor: 4,254 bytes, line 2
2));if(m&&g){var A=e(m===!0?o.children:m.children,!0,i);i.flatten?n.push.apply(n,A):n.push({scopeParent:o,candidates:A})}else a.unshift.apply(a,o.children)}}return n},Tr=function(t,r){return t.tabIndex<0&&(r||/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||Ki(t))&&isNaN(parseInt(t.getAttribute("tabindex"),10))?0:t.tabIndex},qi=function(t,r){return t.tabIndex===r.tabIndex?t.documentOrder-r.documentOrder:t.tabIndex-r.tabIndex},Ar=function(t){return t.tagName==="INPUT"},Gi=function(t){return Ar(t)&&t.type==="hidden"},Zi=function(t){var r=t.tagName==="DETAILS"&&Array.prototype.slice.apply(t.children).some(function(i){return i.tagName==="SUMMARY"});return r},Xi=function(t,r){for(var i=0;i<t.length;i++)if(t[i].checked&&t[i].form===r)return t[i]},Yi=function(t){if(!t.name)return!0;var r=t.form||ee(t),i=function(u){return r.querySelectorAll('input[type="radio"][name="'+u+'"]')},n;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")n=i(window.CSS.escape(t.name));else try{n=i(t.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 a=Xi(n,t.form);return!a||a===t},Qi=function(t){return Ar(t)&&t.type==="radio"},Ji=function(t){return Qi(t)&&!Yi(t)},tn=function(t){var r,i=t&&ee(t),n=(r=i)===null||r===void 0?void 0:r.host,a=!1;if(i&&i!==t){var o,u,f;for(a=!!((o=n)!==null&&o!==void 0&&(u=o.ownerDocument)!==null&&u!==void 0&&u.contains(n)||t!=null&&(f=t.ownerDocument)!==null&&f!==void 0&&f.contains(t));!a&&n;){var c,y,m;i=ee(n),n=(c=i)===null||c===void 0?void 0:c.host,a=!!((y=n)!==null&&y!==void 0&&(m=y.ownerDocument)!==null&&m!==void 0&&m.contains(n))}}return a},wr=function(t){var r=t.getBoundingClientRect(),i=r.width,n=r.height;return i===0&&n===0},en=function(t,r){var i=r.displayCheck,n=r.getShadowRoot;if(getComputedStyle(t).visibility==="hidden")return!0;var a=vt.call(t,"details>summary:first-of-type"),o=a?t.parentElement:t;if(vt.call(o,"details:not([open]) *"))return!0;if(!i||i==="full"||i==="legacy-full"){if(typeof n=="function"){for(var u=t;t;){var f=t.parentElement,c=ee(t);if(f&&!f.shadowRoot&&n(f)===!0)return wr(t);t.assignedSlot?t=t.assignedSlot:!f&&c!==t.ownerDocument?t=c.host:t=f}t=u}if(tn(t))return!t.getClientRects().length;if(i!=="legacy-full")return!0}else if(i==="non-zero-area")return wr(t);return!1},rn=function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var r=t.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 vt.call(r,"fieldset[disabled] *")?!0:!n.contains(t)}return!0}r=r.parentElement}return!1},ie=function(t,r){return!(r.disabled||re(r)||Gi(r)||en(r,t)||Zi(r)||rn(r))},De=function(t,r){return!(Ji(r)||Tr(r)<0||!ie(t,r))},nn=function(t){var r=parseInt(t.getAttribute("tabindex"),10);return!!(isNaN(r)||r>=0)},on=function e(t){var r=[],i=[];return t.forEach(function(n,a){var o=!!n.scopeParent,u=o?n.scopeParent:n,f=Tr(u,o),c=o?e(n.candidates):u;f===0?o?r.push.apply(r,c):r.push(u):i.push({documentOrder:a,tabIndex:f,item:n,isScope:o,content:c})}),i.sort(qi).reduce(function(n,a){return a.isScope?n.push.apply(n,a.content):n.push(a.content),n},[]).concat(r)},Ir=function(t,r){r=r||{};var i;return r.getShadowRoot?i=Or([t],r.includeContainer,{filter:De.bind(null,r),flatten:!1,getShadowRoot:r.getShadowRoot,shadowRootFilter:nn}):i=Sr(t,r.includeContainer,De.bind(null,r)),on(i)},_r=function(t,r){r=r||{};var i;return r.getShadowRoot?i=Or([t],r.includeContainer,{filter:ie.bind(null,r),flatten:!0,getShadowRoot:r.getShadowRoot}):i=Sr(t,r.includeContainer,ie.bind(null,r)),i},It=function(t,r){if(r=r||{},!t)throw new Error("No node provided");return vt.call(t,te)===!1?!1:De(r,t)},an=Er.concat("iframe").join(","),Fe=function(t,r){if(r=r||{},!t)throw new Error("No node provided");return vt.call(t,an)===!1?!1:ie(r,t)};function Lr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r.push.apply(r,i)}return r}function Pr(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};
vendor: 7,521 bytes, line 2
2t%2?Lr(Object(r),!0).forEach(function(i){sn(e,i,r[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Lr(Object(r)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(r,i))})}return e}function sn(e,t,r){return t=cn(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ln(e,t){if(typeof e!="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var i=r.call(e,t||"default");if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function cn(e){var t=ln(e,"string");return typeof t=="symbol"?t:String(t)}var Dr={activateTrap:function(t,r){if(t.length>0){var i=t[t.length-1];i!==r&&i.pause()}var n=t.indexOf(r);n===-1||t.splice(n,1),t.push(r)},deactivateTrap:function(t,r){var i=t.indexOf(r);i!==-1&&t.splice(i,1),t.length>0&&t[t.length-1].unpause()}},un=function(t){return t.tagName&&t.tagName.toLowerCase()==="input"&&typeof t.select=="function"},fn=function(t){return t.key==="Escape"||t.key==="Esc"||t.keyCode===27},Lt=function(t){return t.key==="Tab"||t.keyCode===9},dn=function(t){return Lt(t)&&!t.shiftKey},hn=function(t){return Lt(t)&&t.shiftKey},Fr=function(t){return setTimeout(t,0)},Cr=function(t,r){var i=-1;return t.every(function(n,a){return r(n)?(i=a,!1):!0}),i},_t=function(t){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 t=="function"?t.apply(void 0,i):t},ne=function(t){return t.target.shadowRoot&&typeof t.composedPath=="function"?t.composedPath()[0]:t.target},pn=[],mn=function(t,r){var i=r?.document||document,n=r?.trapStack||pn,a=Pr({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:dn,isKeyBackward:hn},r),o={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0},u,f=function(d,l,v){return d&&d[l]!==void 0?d[l]:a[v||l]},c=function(d){return o.containerGroups.findIndex(function(l){var v=l.container,b=l.tabbableNodes;return v.contains(d)||b.find(function(T){return T===d})})},y=function(d){var l=a[d];if(typeof l=="function"){for(var v=arguments.length,b=new Array(v>1?v-1:0),T=1;T<v;T++)b[T-1]=arguments[T];l=l.apply(void 0,b)}if(l===!0&&(l=void 0),!l){if(l===void 0||l===!1)return l;throw new Error("`".concat(d,"` was specified but was not a node, or did not return a node"))}var _=l;if(typeof l=="string"&&(_=i.querySelector(l),!_))throw new Error("`".concat(d,"` as selector refers to no known node"));return _},m=function(){var d=y("initialFocus");if(d===!1)return!1;if(d===void 0)if(c(i.activeElement)>=0)d=i.activeElement;else{var l=o.tabbableGroups[0],v=l&&l.firstTabbableNode;d=v||y("fallbackFocus")}if(!d)throw new Error("Your focus-trap needs to have at least one focusable element");return d},g=function(){if(o.containerGroups=o.containers.map(function(d){var l=Ir(d,a.tabbableOptions),v=_r(d,a.tabbableOptions);return{container:d,tabbableNodes:l,focusableNodes:v,firstTabbableNode:l.length>0?l[0]:null,lastTabbableNode:l.length>0?l[l.length-1]:null,nextTabbableNode:function(T){var _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,R=v.findIndex(function(G){return G===T});if(!(R<0))return _?v.slice(R+1).find(function(G){return It(G,a.tabbableOptions)}):v.slice(0,R).reverse().find(function(G){return It(G,a.tabbableOptions)})}}}),o.tabbableGroups=o.containerGroups.filter(function(d){return d.tabbableNodes.length>0}),o.tabbableGroups.length<=0&&!y("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")},A=function x(d){if(d!==!1&&d!==i.activeElement){if(!d||!d.focus){x(m());return}d.focus({preventScroll:!!a.preventScroll}),o.mostRecentlyFocusedNode=d,un(d)&&d.select()}},V=function(d){var l=y("setReturnFocus",d);return l||(l===!1?!1:d)},C=function(d){var l=ne(d);if(!(c(l)>=0)){if(_t(a.clickOutsideDeactivates,d)){u.deactivate({returnFocus:a.returnFocusOnDeactivate});return}_t(a.allowOutsideClick,d)||d.preventDefault()}},F=function(d){var l=ne(d),v=c(l)>=0;v||l instanceof Document?v&&(o.mostRecentlyFocusedNode=l):(d.stopImmediatePropagation(),A(o.mostRecentlyFocusedNode||m()))},H=function(d){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,v=ne(d);g();var b=null;if(o.tabbableGroups.length>0){var T=c(v),_=T>=0?o.containerGroups[T]:void 0;if(T<0)l?b=o.tabbableGroups[o.tabbableGroups.length-1].lastTabbableNode:b=o.tabbableGroups[0].firstTabbableNode;else if(l){var R=Cr(o.tabbableGroups,function(rt){var Et=rt.firstTabbableNode;return v===Et});if(R<0&&(_.container===v||Fe(v,a.tabbableOptions)&&!It(v,a.tabbableOptions)&&!_.nextTabbableNode(v,!1))&&(R=T),R>=0){var G=R===0?o.tabbableGroups.length-1:R-1,Z=o.tabbableGroups[G];b=Z.lastTabbableNode}else Lt(d)||(b=_.nextTabbableNode(v,!1))}else{var J=Cr(o.tabbableGroups,function(rt){var Et=rt.lastTabbableNode;return v===Et});if(J<0&&(_.container===v||Fe(v,a.tabbableOptions)&&!It(v,a.tabbableOptions)&&!_.nextTabbableNode(v))&&(J=T),J>=0){var pt=J===o.tabbableGroups.length-1?0:J+1,mt=o.tabbableGroups[pt];b=mt.firstTabbableNode}else Lt(d)||(b=_.nextTabbableNode(v))}}else b=y("fallbackFocus");b&&(Lt(d)&&d.preventDefault(),A(b))},P=function(d){if(fn(d)&&_t(a.escapeDeactivates,d)!==!1){d.preventDefault(),u.deactivate();return}(a.isKeyForward(d)||a.isKeyBackward(d))&&H(d,a.isKeyBackward(d))},L=function(d){var l=ne(d);c(l)>=0||_t(a.clickOutsideDeactivates,d)||_t(a.allowOutsideClick,d)||(d.preventDefault(),d.stopImmediatePropagation())},D=function(){if(o.active)return Dr.activateTrap(n,u),o.delayInitialFocusTimer=a.delayInitialFocus?Fr(function(){A(m())}):A(m()),i.addEventListener("focusin",F,!0),i.addEventListener("mousedown",C,{capture:!0,passive:!1}),i.addEventListener("touchstart",C,{capture:!0,passive:!1}),i.addEventListener("click",L,{capture:!0,passive:!1}),i.addEventListener("keydown",P,{capture:!0,passive:!1}),u},K=function(){if(o.active)return i.removeEventListener("focusin",F,!0),i.removeEventListener("mousedown",C,!0),i.removeEventListener("touchstart",C,!0),i.removeEventListener("click",L,!0),i.removeEventListener("keydown",P,!0),u};return u={get active(){return o.active},get paused(){return o.paused},activate:function(d){if(o.active)return this;var l=f(d,"onActivate"),v=f(d,"onPostActivate"),b=f(d,"checkCanFocusTrap");b||g(),o.active=!0,o.paused=!1,o.nodeFocusedBeforeActivation=i.activeElement,l?.();var T=function(){b&&g(),D(),v?.()};return b?(b(o.containers.concat()).then(T,T),this):(T(),this)},deactivate:function(d){if(!o.active)return this;var l=Pr({onDeactivate:a.onDeactivate,onPostDeactivate:a.onPostDeactivate,checkCanReturnFocus:a.checkCanReturnFocus},d);clearTimeout(o.delayInitialFocusTimer),o.delayInitialFocusTimer=void 0,K(),o.active=!1,o.paused=!1,Dr.deactivateTrap(n,u);var v=f(l,"onDeactivate"),b=f(l,"onPostDeactivate"),T=f(l,"checkCanReturnFocus"),_=f(l,"returnFocus","returnFocusOnDeactivate");v?.();var R=function(){Fr(function(){_&&A(V(o.nodeFocusedBeforeActivation)),b?.()})};return _&&T?(T(V(o.nodeFocusedBeforeActivation)).then(R,R),this):(R(),this)},pause:function(d){if(o.paused||!o.active)return this;var l=f(d,"onPause"),v=f(d,"onPostPause");return o.paused=!0,l?.(),K(),v?.(),this},unpause:function(d){if(!o.paused||!o.active)return this;var l=f(d,"onUnpause"),v=f(d,"onPostUnpause");return o.paused=!1,l?.(),g(),D(),v?.(),this}
vendor: 9,184 bytes, line 2
2,updateContainerElements:function(d){var l=[].concat(d).filter(Boolean);return o.containers=l.map(function(v){return typeof v=="string"?i.querySelector(v):v}),o.active&&g(),this}},u.updateContainerElements(t),u};var co=ji(Nr());function Ne(e,t){e.indexOf(t)===-1&&e.push(t)}function Me(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1)}var Pt=(e,t,r)=>Math.min(Math.max(r,e),t);var k={duration:.3,delay:0,endDelay:0,repeat:0,easing:"ease"};var $=e=>typeof e=="number";var et=e=>Array.isArray(e)&&!$(e[0]);var Mr=(e,t,r)=>{let i=t-e;return((r-e)%i+i)%i+e};function Dt(e,t){return et(e)?e[Mr(0,e.length,t)]:e}var gt=(e,t,r)=>-r*e+r*t+e;var Ft=()=>{},B=e=>e;var Q=(e,t,r)=>t-e===0?1:(r-e)/(t-e);function St(e,t){let r=e[e.length-1];for(let i=1;i<=t;i++){let n=Q(0,t,i);e.push(gt(r,1,n))}}function yt(e){let t=[0];return St(t,e-1),t}function Ct(e,t=yt(e.length),r=B){let i=e.length,n=i-t.length;return n>0&&St(t,n),a=>{let o=0;for(;o<i-2&&!(a<t[o+1]);o++);let u=Pt(0,1,Q(t[o],t[o+1],a));return u=Dt(r,o)(u),gt(e[o],e[o+1],u)}}var Nt=e=>Array.isArray(e)&&$(e[0]);var lt=e=>typeof e=="object"&&!!e.createAnimation;var W=e=>typeof e=="function";var it=e=>typeof e=="string";var ct={ms:e=>e*1e3,s:e=>e/1e3};function Re(e,t){return t?e*(1e3/t):0}var Rr=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e,vn=1e-7,gn=12;function yn(e,t,r,i,n){let a,o,u=0;do o=t+(r-t)/2,a=Rr(o,i,n)-e,a>0?r=o:t=o;while(Math.abs(a)>vn&&++u<gn);return o}function bt(e,t,r,i){if(e===t&&r===i)return B;let n=a=>yn(a,0,1,e,r);return a=>a===0||a===1?a:Rr(n(a),t,i)}var ke=(e,t="end")=>r=>{r=t==="end"?Math.min(r,.999):Math.max(r,.001);let i=r*e,n=t==="end"?Math.floor(i):Math.ceil(i);return Pt(0,1,n/e)};var kr={ease:bt(.25,.1,.25,1),"ease-in":bt(.42,0,1,1),"ease-in-out":bt(.42,0,.58,1),"ease-out":bt(0,0,.58,1)},bn=/\((.*?)\)/;function Ot(e){if(W(e))return e;if(Nt(e))return bt(...e);if(kr[e])return kr[e];if(e.startsWith("steps")){let t=bn.exec(e);if(t){let r=t[1].split(",");return ke(parseFloat(r[0]),r[1].trim())}}return B}var nt=class{constructor(t,r=[0,1],{easing:i,duration:n=k.duration,delay:a=k.delay,endDelay:o=k.endDelay,repeat:u=k.repeat,offset:f,direction:c="normal"}={}){if(this.startTime=null,this.rate=1,this.t=0,this.cancelTimestamp=null,this.easing=B,this.duration=0,this.totalDuration=0,this.repeat=0,this.playState="idle",this.finished=new Promise((m,g)=>{this.resolve=m,this.reject=g}),i=i||k.easing,lt(i)){let m=i.createAnimation(r);i=m.easing,r=m.keyframes||r,n=m.duration||n}this.repeat=u,this.easing=et(i)?B:Ot(i),this.updateDuration(n);let y=Ct(r,f,et(i)?i.map(Ot):B);this.tick=m=>{var g;a=a;let A=0;this.pauseTime!==void 0?A=this.pauseTime:A=(m-this.startTime)*this.rate,this.t=A,A/=1e3,A=Math.max(A-a,0),this.playState==="finished"&&this.pauseTime===void 0&&(A=this.totalDuration);let V=A/this.duration,C=Math.floor(V),F=V%1;!F&&V>=1&&(F=1),F===1&&C--;let H=C%2;(c==="reverse"||c==="alternate"&&H||c==="alternate-reverse"&&!H)&&(F=1-F);let P=A>=this.totalDuration?1:Math.min(F,1),L=y(this.easing(P));t(L),this.pauseTime===void 0&&(this.playState==="finished"||A>=this.totalDuration+o)?(this.playState="finished",(g=this.resolve)===null||g===void 0||g.call(this,L)):this.playState!=="idle"&&(this.frameRequestId=requestAnimationFrame(this.tick))},this.play()}play(){let t=performance.now();this.playState="running",this.pauseTime!==void 0?this.startTime=t-this.pauseTime:this.startTime||(this.startTime=t),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 t;this.playState="idle",this.frameRequestId!==void 0&&cancelAnimationFrame(this.frameRequestId),(t=this.reject)===null||t===void 0||t.call(this,!1)}cancel(){this.stop(),this.tick(this.cancelTimestamp)}reverse(){this.rate*=-1}commitStyles(){}updateDuration(t){this.duration=t,this.totalDuration=t*(this.repeat+1)}get currentTime(){return this.t}set currentTime(t){this.pauseTime!==void 0||this.rate===0?this.pauseTime=t:this.startTime=performance.now()-t/this.rate}get playbackRate(){return this.rate}set playbackRate(t){this.rate=t}};var Mt=function(){};var Rt=class{setAnimation(t){this.animation=t,t?.finished.then(()=>this.clearAnimation()).catch(()=>{})}clearAnimation(){this.animation=this.generator=void 0}};var ze=new WeakMap;function oe(e){return ze.has(e)||ze.set(e,{transforms:[],values:new Map}),ze.get(e)}function zr(e,t){return e.has(t)||e.set(t,new Rt),e.get(t)}var wn=["","X","Y","Z"],En=["translate","scale","rotate","skew"],kt={x:"translateX",y:"translateY",z:"translateZ"},jr={syntax:"<angle>",initialValue:"0deg",toDefaultUnit:e=>e+"deg"},xn={translate:{syntax:"<length-percentage>",initialValue:"0px",toDefaultUnit:e=>e+"px"},rotate:jr,scale:{syntax:"<number>",initialValue:1,toDefaultUnit:B},skew:jr},ut=new Map,se=e=>`--motion-${e}`,ae=["x","y","z"];En.forEach(e=>{wn.forEach(t=>{ae.push(e+t),ut.set(se(e+t),xn[e])})});var Sn=(e,t)=>ae.indexOf(e)-ae.indexOf(t),On=new Set(ae),le=e=>On.has(e),Wr=(e,t)=>{kt[t]&&(t=kt[t]);let{transforms:r}=oe(e);Ne(r,t),e.style.transform=Tn(r)},Tn=e=>e.sort(Sn).reduce(An,"").trim(),An=(e,t)=>`${e} ${t}(var(${se(t)}))`;var zt=e=>e.startsWith("--"),Vr=new Set;function Hr(e){if(!Vr.has(e)){Vr.add(e);try{let{syntax:t,initialValue:r}=ut.has(e)?ut.get(e):{};CSS.registerProperty({name:e,inherits:!1,syntax:t,initialValue:r})}catch{}}}var je=(e,t)=>document.createElement("div").animate(e,t),Br={cssRegisterProperty:()=>typeof CSS<"u"&&Object.hasOwnProperty.call(CSS,"registerProperty"),waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate"),partialKeyframes:()=>{try{je({opacity:[1]})}catch{return!1}return!0},finished:()=>!!je({opacity:[0,1]},{duration:.001}).finished,linearEasing:()=>{try{je({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0}},We={},ft={};for(let e in Br)ft[e]=()=>(We[e]===void 0&&(We[e]=Br[e]()),We[e]);var In=.015,_n=(e,t)=>{let r="",i=Math.round(t/In);for(let n=0;n<i;n++)r+=e(Q(0,i-1,n))+", ";return r.substring(0,r.length-2)},Ve=(e,t)=>W(e)?ft.linearEasing()?`linear(${_n(e,t)})`:k.easing:Nt(e)?Ln(e):e,Ln=([e,t,r,i])=>`cubic-bezier(${e}, ${t}, ${r}, ${i})`;function Ur(e,t){for(let r=0;r<e.length;r++)e[r]===null&&(e[r]=r?e[r-1]:t());return e}var ce=e=>Array.isArray(e)?e:[e];function jt(e){return kt[e]&&(e=kt[e]),le(e)?se(e):e}var Wt={get:(e,t)=>{t=jt(t);let r=zt(t)?e.style.getPropertyValue(t):getComputedStyle(e)[t];if(!r&&r!==0){let i=ut.get(t);i&&(r=i.initialValue)}return r},set:(e,t,r)=>{t=jt(t),zt(t)?e.style.setProperty(t,r):e.style[t]=r}};function ue(e,t=!0){if(!(!e||e.playState==="finished"))try{e.stop?e.stop():(t&&e.commitStyles(),e.cancel())}catch{}}function $r(e,t){var r;let i=t?.toDefaultUnit||B,n=e[e.length-1];if(it(n)){let a=((r=n.match(/(-?[\d.]+)([a-z%]*)/))===null||r===void 0?void 0:r[2])||"";a&&(i=o=>o+a)}return i}function Pn(){return window.__MOTION_DEV_TOOLS_RECORD}function fe(e,t,r,i={},n){let a=Pn(),o=i.record!==!1&&a,u,{duration:f=k.duration,delay:c=k.delay,endDelay:y=k.endDelay,repeat:m=k.repeat,easing:g=k.easing,persist:A=!1,direction:V,offset:C,allowWebkitAcceleration:F=!1}=i,H=oe(e),P=le(t),L=ft.waapi();P&&Wr(e,t);let D=jt(t),K=zr(H.values,D),x=ut.get(D);return ue(K.animation,!(lt(g)&&K.generator)&&i.record!==!1),()=>{let d=()=>{var b,T;return(T=(b=Wt.get(e,D))!==null&&b!==void 0?b:x?.initialValue)!==null&&T!==void 0?T:0},l=Ur(ce(r),d),v=$r(l,x);if(lt(g)){let b=g.createAnimation(l,t!=="opacity",d,D,K);g=b.easing,l=b.keyframes||l,f=b.duration||f}if(zt(D)&&(ft.cssRegisterProperty()?Hr(D):L=!1),P&&!ft.linearEasing()&&(W(g)||et(g)&&g.some(W))&&(L=!1),L){x&&(l=l.map(_=>$(_)?x.toDefaultUnit(_):_)),l.length===1&&(!ft.partialKeyframes()||o)&&l.unshift(d());let b={delay:ct.ms(c),duration:ct.ms(f),endDelay:ct.ms(y),easing:et(g)?void 0:Ve(g,f),direction:V,iterations:m+1,fill:"both"};u=e.animate({[D]:l,offset:C,easing:et(g)?g.map(_=>Ve(_,f)):void 0},b),u.finished||(u.finished=new Promise((_,R)=>{u.onfinish=_,u.oncancel=R}));let T=l[l.length-1];u.finished.then(()=>{A||(Wt.set(e,D,T),u.cancel())}).catch(Ft),F||(u.playbackRate=1.000001)}else if(n&&P)l=l.map(b=>typeof b=="string"?parseFloat(b):b),l.length===1&&l.unshift(parseFloat(d())),u=new n(b=>{Wt.set(e,D,v?v(b):b)},l,Object.assign(Object.assign({},i),{duration:f,easing:g}));else{let b=l[l.length-1];Wt.set(e,D,x&&$(b)?x.toDefaultUnit(b):b)}return o&&a(e,t,l,{duration:f,delay:c,easing:g,repeat:m,offset:C},"motion-one"),K.setAnimation(u),u}}var de=(e,t)=>e[t]?Object.assign(Object.assign({},e),e[t]):Object.assign({},e);function dt(e,t){var r;return typeof e=="string"?t?((r=t[e])!==null&&r!==void 0||(t[e]=document.querySelectorAll(e)),e=t[e]):e=document.querySelectorAll(e):e instanceof Element&&(e=[e]),Array.from(e||[])}var Dn=e=>e(),wt=(e,t,r=k.duration)=>new Proxy({animations:e.map(Dn).filter(Boolean),duration:r,options:t},Cn),Fn=e=>e.animations[0],Cn={get:(e,t)=>{let r=Fn(e);switch(t){case"duration":return e.duration;case"currentTime":return ct.s(r?.[t]||0);case"playbackRate":case"playState":return r?.[t];case"finished":return e.finished||(e.finished=Promise.all(e.animations.map(Nn)).catch(Ft)),e.finished;case"stop":return()=>{e.animations.forEach(i=>
2ue(i))};case"forEachNative":return i=>{e.animations.forEach(n=>i(n,e))};default:return typeof r?.[t]>"u"?void 0:()=>e.animations.forEach(i=>i[t]())}},set:(e,t,r)=>{switch(t){case"currentTime":r=ct.ms(r);case"currentTime":case"playbackRate":for(let i=0;i<e.animations.length;i++)e.animations[i][t]=r;return!0}return!1}},Nn=e=>e.finished;function Kr(e=.1,{start:t=0,from:r=0,easing:i}={}){return(n,a)=>{let o=$(r)?r:Mn(r,a),u=Math.abs(o-n),f=e*u;if(i){let c=a*e;f=Ot(i)(f/c)*c}return t+f}}function Mn(e,t){if(e==="first")return 0;{let r=t-1;return e==="last"?r:r/2}}function he(e,t,r){return W(e)?e(t,r):e}function qr(e){return function(r,i,n={}){r=dt(r);let a=r.length;Mt(!!a,"No valid element provided."),Mt(!!i,"No keyframes defined.");let o=[];for(let u=0;u<a;u++){let f=r[u];for(let c in i){let y=de(n,c);y.delay=he(y.delay,u,a);let m=fe(f,c,i[c],y,e);o.push(m)}}return wt(o,n,n.duration)}}var He=qr(nt);function pe(e,t){var r={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(r[i]=e[i]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,i=Object.getOwnPropertySymbols(e);n<i.length;n++)t.indexOf(i[n])<0&&Object.prototype.propertyIsEnumerable.call(e,i[n])&&(r[i[n]]=e[i[n]]);return r}function Be(e,t,r,i){var n;return $(t)?t:t.startsWith("-")||t.startsWith("+")?Math.max(0,e+parseFloat(t)):t==="<"?r:(n=i.get(t))!==null&&n!==void 0?n:e}function Rn(e,t,r){for(let i=0;i<e.length;i++){let n=e[i];n.at>t&&n.at<r&&(Me(e,n),i--)}}function Gr(e,t,r,i,n,a){Rn(e,n,a);for(let o=0;o<t.length;o++)e.push({value:t[o],at:gt(n,a,i[o]),easing:Dt(r,o)})}function Zr(e,t){return e.at===t.at?e.value===null?1:-1:e.at-t.at}function Xr(e,t={}){var r;let i=kn(e,t),n=i.map(a=>fe(...a,nt)).filter(Boolean);return wt(n,t,(r=i[0])===null||r===void 0?void 0:r[3].duration)}function kn(e,t={}){var{defaultOptions:r={}}=t,i=pe(t,["defaultOptions"]);let n=[],a=new Map,o={},u=new Map,f=0,c=0,y=0;for(let m=0;m<e.length;m++){let g=e[m];if(it(g)){u.set(g,c);continue}else if(!Array.isArray(g)){u.set(g.name,Be(c,g.at,f,u));continue}let[A,V,C={}]=g;C.at!==void 0&&(c=Be(c,C.at,f,u));let F=0,H=dt(A,o),P=H.length;for(let L=0;L<P;L++){let D=H[L],K=zn(D,a);for(let x in V){let d=jn(x,K),l=ce(V[x]),v=de(C,x),{duration:b=r.duration||k.duration,easing:T=r.easing||k.easing}=v;if(lt(T)){Mt(x==="opacity"||l.length>1,"spring must be provided 2 keyframes within timeline()");let pt=T.createAnimation(l,x!=="opacity",()=>0,x);T=pt.easing,l=pt.keyframes||l,b=pt.duration||b}let _=he(C.delay,L,P)||0,R=c+_,G=R+b,{offset:Z=yt(l.length)}=v;Z.length===1&&Z[0]===0&&(Z[1]=1);let J=Z.length-l.length;J>0&&St(Z,J),l.length===1&&l.unshift(null),Gr(d,l,T,Z,R,G),F=Math.max(_+b,F),y=Math.max(G,y)}}f=c,c+=F}return a.forEach((m,g)=>{for(let A in m){let V=m[A];V.sort(Zr);let C=[],F=[],H=[];for(let P=0;P<V.length;P++){let{at:L,value:D,easing:K}=V[P];C.push(D),F.push(Q(0,y,L)),H.push(K||k.easing)}F[0]!==0&&(F.unshift(0),C.unshift(C[0]),H.unshift("linear")),F[F.length-1]!==1&&(F.push(1),C.push(null)),n.push([g,A,C,Object.assign(Object.assign(Object.assign({},r),{duration:y,easing:H,offset:F}),i)])}}),n}function zn(e,t){return!t.has(e)&&t.set(e,{}),t.get(e)}function jn(e,t){return t[e]||(t[e]=[]),t[e]}var Wn={any:0,all:1};function Yr(e,t,{root:r,margin:i,amount:n="any"}={}){if(typeof IntersectionObserver>"u")return()=>{};let a=dt(e),o=new WeakMap,u=c=>{c.forEach(y=>{let m=o.get(y.target);if(y.isIntersecting!==!!m)if(y.isIntersecting){let g=t(y);W(g)?o.set(y.target,g):f.unobserve(y.target)}else m&&(m(y),o.delete(y.target))})},f=new IntersectionObserver(u,{root:r,rootMargin:i,threshold:typeof n=="number"?n:Wn[n]});return a.forEach(c=>f.observe(c)),()=>f.disconnect()}var me=new WeakMap,ht;function Vn(e,t){if(t){let{inlineSize:r,blockSize:i}=t[0];return{width:r,height:i}}else return e instanceof SVGElement&&"getBBox"in e?e.getBBox():{width:e.offsetWidth,height:e.offsetHeight}}function Hn({target:e,contentRect:t,borderBoxSize:r}){var i;(i=me.get(e))===null||i===void 0||i.forEach(n=>{n({target:e,contentSize:t,get size(){return Vn(e,r)}})})}function Bn(e){e.forEach(Hn)}function Un(){typeof ResizeObserver>
2"u"||(ht=new ResizeObserver(Bn))}function Qr(e,t){ht||Un();let r=dt(e);return r.forEach(i=>{let n=me.get(i);n||(n=new Set,me.set(i,n)),n.add(t),ht?.observe(i)}),()=>{r.forEach(i=>{let n=me.get(i);n?.delete(t),n?.size||ht?.unobserve(i)})}}var ve=new Set,Vt;function $n(){Vt=()=>{let e={width:window.innerWidth,height:window.innerHeight},t={target:window,size:e,contentSize:e};ve.forEach(r=>r(t))},window.addEventListener("resize",Vt)}function Jr(e){return ve.add(e),Vt||$n(),()=>{ve.delete(e),!ve.size&&Vt&&(Vt=void 0)}}function ti(e,t){return W(e)?Jr(e):Qr(e,t)}var Kn=50,ei=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),ii=()=>({time:0,x:ei(),y:ei()}),qn={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function ri(e,t,r,i){let n=r[t],{length:a,position:o}=qn[t],u=n.current,f=r.time;n.current=e["scroll"+o],n.scrollLength=e["scroll"+a]-e["client"+a],n.offset.length=0,n.offset[0]=0,n.offset[1]=n.scrollLength,n.progress=Q(0,n.scrollLength,n.current);let c=i-f;n.velocity=c>Kn?0:Re(n.current-u,c)}function ni(e,t,r){ri(e,"x",t,r),ri(e,"y",t,r),t.time=r}function oi(e,t){let r={x:0,y:0},i=e;for(;i&&i!==t;)if(i instanceof HTMLElement)r.x+=i.offsetLeft,r.y+=i.offsetTop,i=i.offsetParent;else if(i instanceof SVGGraphicsElement&&"getBBox"in i){let{top:n,left:a}=i.getBBox();for(r.x+=a,r.y+=n;i&&i.tagName!=="svg";)i=i.parentNode}return r}var ge={Enter:[[0,1],[1,1]],Exit:[[0,0],[1,0]],Any:[[1,0],[0,1]],All:[[0,0],[1,1]]};var ye={start:0,center:.5,end:1};function Ue(e,t,r=0){let i=0;if(ye[e]!==void 0&&(e=ye[e]),it(e)){let n=parseFloat(e);e.endsWith("px")?i=n:e.endsWith("%")?e=n/100:e.endsWith("vw")?i=n/100*document.documentElement.clientWidth:e.endsWith("vh")?i=n/100*document.documentElement.clientHeight:e=n}return $(e)&&(i=t*e),r+i}var Gn=[0,0];function ai(e,t,r,i){let n=Array.isArray(e)?e:Gn,a=0,o=0;return $(e)?n=[e,e]:it(e)&&(e=e.trim(),e.includes(" ")?n=e.split(" "):n=[e,ye[e]?e:"0"]),a=Ue(n[0],r,i),o=Ue(n[1],t),a-o}var Zn={x:0,y:0};function si(e,t,r){let{offset:i=ge.All}=r,{target:n=e,axis:a="y"}=r,o=a==="y"?"height":"width",u=n!==e?oi(n,e):Zn,f=n===e?{width:e.scrollWidth,height:e.scrollHeight}:{width:n.clientWidth,height:n.clientHeight},c={width:e.clientWidth,height:e.clientHeight};t[a].offset.length=0;let y=!t[a].interpolate,m=i.length;for(let g=0;g<m;g++){let A=ai(i[g],c[o],f[o],u[a]);!y&&A!==t[a].interpolatorOffsets[g]&&(y=!0),t[a].offset[g]=A}y&&(t[a].interpolate=Ct(yt(m),t[a].offset),t[a].interpolatorOffsets=[...t[a].offset]),t[a].progress=t[a].interpolate(t[a].current)}function Xn(e,t=e,r){if(r.x.targetOffset=0,r.y.targetOffset=0,t!==e){let i=t;for(;i&&i!=e;)r.x.targetOffset+=i.offsetLeft,r.y.targetOffset+=i.offsetTop,i=i.offsetParent}r.x.targetLength=t===e?t.scrollWidth:t.clientWidth,r.y.targetLength=t===e?t.scrollHeight:t.clientHeight,r.x.containerLength=e.clientWidth,r.y.containerLength=e.clientHeight}function li(e,t,r,i={}){let n=i.axis||"y";return{measure:()=>Xn(e,i.target,r),update:a=>{ni(e,r,a),(i.offset||i.target)&&si(e,r,i)},notify:W(t)?()=>t(r):Yn(t,r[n])}}function Yn(e,t){return e.pause(),e.forEachNative((r,{easing:i})=>{var n,a;if(r.updateDuration)i||(r.easing=B),r.updateDuration(1);else{let o={duration:1e3};i||(o.easing="linear"),(a=(n=r.effect)===null||n===void 0?void 0:n.updateTiming)===null||a===void 0||a.call(n,o)}}),()=>{e.currentTime=t.progress}}var Ht=new WeakMap,ci=new WeakMap,$e=new WeakMap,ui=e=>e===document.documentElement?window:e;function fi(e,t={}){var{container:r=document.documentElement}=t,i=pe(t,["container"]);let n=$e.get(r);n||(n=new Set,$e.set(r,n));let a=ii(),o=li(r,e,a,i);if(n.add(o),!Ht.has(r)){let c=()=>{let m=performance.now();for(let g of n)g.measure();for(let g of n)g.update(m);for(let g of n)g.notify()};Ht.set(r,c);let y=ui(r);window.addEventListener("resize",c,{passive:!0}),r!==document.documentElement&&ci.set(r,ti(r,c)),y.addEventListener("scroll",c,{passive:!0})}let u=Ht.get(r),f=requestAnimationFrame(u);return()=>{var c;typeof e!="function"&&e.stop(),cancelAnimationFrame(f);let y=$e.get(r);if(!y||(y.delete(o),y.size))return;let m=Ht.get(r);Ht.delete(r),m&&(ui(r).removeEventListener("scroll",m),(c=ci.get(r))===null||c===void 0||c(),window.removeEventListener("resize",m))}}function Qn(e,t={}){return wt([()=>{let r=new nt(e,[0,1],t);return r.finished.catch(()=>{}),r}],t,t.duration)}function di(e,t,r){return(W(e)?Qn:He)(e,t,r)}function ot(e){this.listenerMap=[{},{}],e&&this.root(e),this.handle=ot.prototype.handle.bind(this),this._removedListeners=[]}ot.prototype.root=function(e){let t=this.listenerMap,r;if(this.rootElement){for(r in t[1])t[1].hasOwnProperty(r)&&this.rootElement.removeEventListener(r,this.handle,!0);for(r in t[0])t[0].hasOwnProperty(r)&&this.rootElement.removeEventListener(r,this.handle,!1)}if(!e||!e.addEventListener)return this.rootElement&&delete this.rootElement,this;this.rootElement=e;for(r in t[1])t[1].hasOwnProperty(r)&&this.rootElement.addEventListener(r,this.handle,!0);for(r in t[0])t[0].hasOwnProperty(r)&&this.rootElement.addEventListener(r,this.handle,!1);return this};ot.prototype.captureForType=function(e){return["blur","error","focus","load","resize","scroll"].indexOf(e)!==-1};ot.prototype.on=function(e,t,r,i){let n,a,o,u;if(!e)throw new TypeError("Invalid event type: "+e);if(typeof t=="function"&&(i=r,r=t,t=null),i===void 0&&(i=this.captureForType(e)),typeof r!="function")throw new TypeError("Handler must be a type of Function");return n=this.rootElement,a=this.listenerMap[i?1:0],a[e]||(n&&n.addEventListener(e,this.handle,i),a[e]=[]),t?/^[a-z]+$/i.test(t)?(u=t,o=Jn):/^#[a-z0-9\-_]+$/i.test(t)?(u=t.slice(1),o=eo):(u=t,o=Element.prototype.matches):(u=null,o=to.bind(this)),a[e].push({selector:t,handler:r,matcher:o,matcherParam:u}),this};ot.prototype.off=function(e,t,r,i){let n,a,o,u,f;if(typeof t=="function"&&(i=r,r=t,t=null),i===void 0)return this.off(e,t,r,!0),this.off(e,t,r,!1),this;if(o=this.listenerMap[i?1:0],!e){for(f in o)o.hasOwnProperty(f)&&this.off(f,t,r);return this}if(u=o[e],!u||!u.length)return this;for(n=u.length-1;n>=0;n--)a=u[n],(!t||t===a.selector)&&(!r||r===a.handler)&&(this._removedListeners.push(a),u.splice(n,1));return u.length||(delete o[e],this.rootElement&&this.rootElement.removeEventListener(e,this.handle,i)),this};ot.prototype.handle=function(e){let t,r,i=e.type,n,a,o,u,f=[],c,y="ftLabsDelegateIgnore";if(e[y]===!0)return;switch(c=e.target,c.nodeType===3&&(c=c.parentNode),c.correspondingUseElement&&(c=c.correspondingUseElement),n=this.rootElement,a=e.eventPhase||(e.target!==e.currentTarget?3:2),a){case 1:f=this.listenerMap[1][i];break;case 2:this.listenerMap[0]&&this.listenerMap[0][i]&&(f=f.concat(this.listenerMap[0][i])),this.listenerMap[1]&&this.listenerMap[1][i]&&(f=f.concat(this.listenerMap[1][i]));break;case 3:f=this.listenerMap[0][i];break}let m=[];for(r=f.length;c&&r;){for(t=0;t<r&&(o=f[t],!!o);t++)c.tagName&&["button","input","select","textarea"].indexOf(c.tagName.toLowerCase())>-1&&c.hasAttribute("disabled")?m=[]:o.matcher.call(c,o.matcherParam,c)&&m.push([e,c,o]
2);if(c===n||(r=f.length,c=c.parentElement||c.parentNode,c instanceof HTMLDocument))break}let g;for(t=0;t<m.length;t++)if(!(this._removedListeners.indexOf(m[t][2])>-1)&&(u=this.fire.apply(this,m[t]),u===!1)){m[t][0][y]=!0,m[t][0].preventDefault(),g=!1;break}return g};ot.prototype.fire=function(e,t,r){return r.handler.call(t,e,t)};function Jn(e,t){return e.toLowerCase()===t.tagName.toLowerCase()}function to(e,t){return this.rootElement===window?t===document||t===document.documentElement||t===window:this.rootElement===t}function eo(e,t){return e===t.id}ot.prototype.destroy=function(){this.off(),this.root()};var ro=ot;function Bt(e,t,r){let i=document.createElement(t);return e&&(i.className=e),r&&r.appendChild(i),i}function io(e,t,r){let i=`translate3d(${e}px,${t||0}px,0)`;return r!==void 0&&(i+=` scale3d(${r},${r},1)`),i}function Ke(e,t,r){e.style.width=typeof t=="number"?`${t}px`:t,e.style.height=typeof r=="number"?`${r}px`:r}var Y={IDLE:"idle",LOADING:"loading",LOADED:"loaded",ERROR:"error"};function no(e){return"button"in e&&e.button===1||e.ctrlKey||e.metaKey||e.altKey||e.shiftKey}function we(e,t,r=document){let i=[];if(e instanceof Element)i=[e];else if(e instanceof NodeList||Array.isArray(e))i=Array.from(e);else{let n=typeof e=="string"?e:t;n&&(i=Array.from(r.querySelectorAll(n)))}return i}function oo(e){return typeof e=="function"&&e.prototype&&e.prototype.goTo}function hi(){return!!(navigator.vendor&&navigator.vendor.match(/apple/i))}var qe=class{constructor(t,r){this.type=t,this.defaultPrevented=!1,r&&Object.assign(this,r)}preventDefault(){this.defaultPrevented=!0}},Ge=class{constructor(){this._listeners={},this._filters={},this.pswp=void 0,this.options=void 0}addFilter(t,r,i=100){this._filters[t]||(this._filters[t]=[]),this._filters[t]?.push({fn:r,priority:i}),this._filters[t]?.sort((n,a)=>n.priority-a.priority),this.pswp?.addFilter(t,r,i)}removeFilter(t,r){this._filters[t]&&(this._filters[t]=this._filters[t].filter(i=>i.fn!==r)),this.pswp&&this.pswp.removeFilter(t,r)}applyFilters(t,...r){return this._filters[t]?.forEach(i=>{r[0]=i.fn.apply(this,r)}),r[0]}on(t,r){this._listeners[t]||(this._listeners[t]=[]),this._listeners[t]?.push(r),this.pswp?.on(t,r)}off(t,r){this._listeners[t]&&(this._listeners[t]=this._listeners[t].filter(i=>r!==i)),this.pswp?.off(t,r)}dispatch(t,r){if(this.pswp)return this.pswp.dispatch(t,r);let i=new qe(t,r);return this._listeners[t]?.forEach(n=>{n.call(this,i)}),i}},Ze=class{constructor(t,r){if(this.element=Bt("pswp__img pswp__img--placeholder",t?"img":"div",r),t){let i=this.element;i.decoding="async",i.alt="",i.src=t,i.setAttribute("role","presentation")}this.element.setAttribute("aria-hidden","true")}setDisplayedSize(t,r){this.element&&(this.element.tagName==="IMG"?(Ke(this.element,250,"auto"),this.element.style.transformOrigin="0 0",this.element.style.transform=io(0,0,t/250)):Ke(this.element,t,r))}destroy(){this.element?.parentNode&&this.element.remove(),this.element=null}},Xe=class{constructor(t,r,i){this.instance=r,this.data=t,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=Y.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(t,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 Ze(i,this.slide.container)}this.element&&!r||this.instance.dispatch("contentLoad",{content:this,isLazy:t}).defaultPrevented||(this.isImageContent()?(this.element=Bt("pswp__img","img"),this.displayedImageWidth&&this.loadImage(t)):(this.element=Bt("pswp__content","div"),this.element.innerHTML=this.data.html||""),r&&this.slide&&this.slide.updateContentSize(!0))}loadImage(t){if(!this.isImageContent()||!this.element||this.instance.dispatch("contentLoadImage",{content:this,isLazy:t}).defaultPrevented)return;let r=this.element;this.updateSrcsetSizes(),this.data.srcset&&(r.srcset=this.data.srcset),r.src=this.data.src??"",r.alt=this.data.alt??"",this.state=Y.LOADING,r.complete?this.onLoaded():(r.onload=()=>{this.onLoaded()},r.onerror=()=>{this.onError()})}setSlide(t){this.slide=t,this.hasSlide=!0,this.instance=t.pswp}onLoaded(){this.state=Y.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===Y.LOADED||this.state===Y.ERROR)&&this.removePlaceholder())}onError(){this.state=Y.ERROR,this.slide&&(this.displayError(),this.instance.dispatch("loadComplete",{slide:this.slide,isError:!0,
vendor: 8,320 bytes, line 2
2content:this}),this.instance.dispatch("loadError",{slide:this.slide,content:this}))}isLoading(){return this.instance.applyFilters("isContentLoading",this.state===Y.LOADING,this)}isError(){return this.state===Y.ERROR}isImageContent(){return this.type==="image"}setDisplayedSize(t,r){if(this.element&&(this.placeholder&&this.placeholder.setDisplayedSize(t,r),!this.instance.dispatch("contentResize",{content:this,width:t,height:r}).defaultPrevented&&(Ke(this.element,t,r),this.isImageContent()&&!this.isError()))){let i=!this.displayedImageWidth&&t;this.displayedImageWidth=t,this.displayedImageHeight=r,i?this.loadImage(!1):this.updateSrcsetSizes(),this.slide&&this.instance.dispatch("imageSizeChange",{slide:this.slide,width:t,height:r,content:this})}}isZoomable(){return this.instance.applyFilters("isContentZoomable",this.isImageContent()&&this.state!==Y.ERROR,this)}updateSrcsetSizes(){if(!this.isImageContent()||!this.element||!this.data.srcset)return;let t=this.element,r=this.instance.applyFilters("srcsetSizesWidth",this.displayedImageWidth,this);(!t.dataset.largestUsedSize||r>parseInt(t.dataset.largestUsedSize,10))&&(t.sizes=r+"px",t.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){let t=Bt("pswp__error-msg","div");t.innerText=this.instance.options?.errorMsg??"",t=this.instance.applyFilters("contentErrorElement",t,this),this.element=Bt("pswp__content pswp__error-msg-container","div"),this.element.appendChild(t),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===Y.ERROR){this.displayError();return}if(this.instance.dispatch("contentAppend",{content:this}).defaultPrevented)return;let t="decode"in this.element;this.isImageContent()?t&&this.slide&&(!this.slide.isActive||hi())?(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&&!hi()?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===Y.LOADED||this.state===Y.ERROR)&&this.removePlaceholder()))}};function ao(e,t){if(e.getViewportSizeFn){let r=e.getViewportSizeFn(e,t);if(r)return r}return{x:document.documentElement.clientWidth,y:window.innerHeight}}function be(e,t,r,i,n){let a=0;if(t.paddingFn)a=t.paddingFn(r,i,n)[e];else if(t.padding)a=t.padding[e];else{let o="padding"+e[0].toUpperCase()+e.slice(1);t[o]&&(a=t[o])}return Number(a)||0}function so(e,t,r,i){return{x:t.x-be("left",e,t,r,i)-be("right",e,t,r,i),y:t.y-be("top",e,t,r,i)-be("bottom",e,t,r,i)}}var pi=4e3,Ye=class{constructor(t,r,i,n){this.pswp=n,this.options=t,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(t,r,i){let n={x:t,y:r};this.elementSize=n,this.panAreaSize=i;let a=i.x/n.x,o=i.y/n.y;this.fit=Math.min(1,a<o?a:o),this.fill=Math.min(1,a>o?a: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(t){let r=t+"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 t=this._parseZoomLevelOption("secondary");return t||(t=Math.min(1,this.fit*3),this.elementSize&&t*this.elementSize.x>pi&&(t=pi/this.elementSize.x),t)}_getInitial(){return this._parseZoomLevelOption("initial")||this.fit}_getMax(){return this._parseZoomLevelOption("max")||Math.max(1,this.fit*4)}};function mi(e,t,r){let i=t.createContentFromData(e,r),n,{options:a}=t;if(a){n=new Ye(a,e,-1);let o;t.pswp?o=t.pswp.viewportSize:o=ao(a,t);let u=so(a,o,e,r);n.update(i.width,i.height,u)}return i.lazyLoad(),n&&i.setDisplayedSize(Math.ceil(i.width*n.initial),Math.ceil(i.height*n.initial)),i}function lo(e,t){let r=t.getItemData(e);if(!t.dispatch("lazyLoadSlide",{index:e,itemData:r}).defaultPrevented)return mi(r,t,e)}var Qe=class extends Ge{getNumItems(){let t=0,r=this.options?.dataSource;r&&"length"in r?t=r.length:r&&"gallery"in r&&(r.items||(r.items=this._getGalleryDOMElements(r.gallery)),r.items&&(t=r.items.length));let i=this.dispatch("numItems",{dataSource:r,numItems:t});return this.applyFilters("numItems",i.numItems,r)}createContentFromData(t,r){return new Xe(t,this,r)}getItemData(t){let r=this.options?.dataSource,i={};Array.isArray(r)?i=r[t]:r&&"gallery"in r&&(r.items||(r.items=this._getGalleryDOMElements(r.gallery)),i=r.items[t]);let n=i;n instanceof Element&&(n=this._domElementToItemData(n));let a=this.dispatch("itemData",{itemData:n||{},index:t});return this.applyFilters("itemData",a.itemData,t)}_getGalleryDOMElements(t){return this.options?.children||this.options?.childSelector?we(this.options.children,this.options.childSelector,t)||[]:[t]}_domElementToItemData(t){let r={element:t},i=t.tagName==="A"?t:t.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 n=t.querySelector("img");n&&(r.msrc=n.currentSrc||n.src,r.alt=n.getAttribute("alt")??""),(i.dataset.pswpCropped||i.dataset.cropped)&&(r.thumbCropped=!0)}return this.applyFilters("domItemData",r,t,i)}lazyLoadData(t,r){return mi(t,this,r)}},Je=class extends Qe{constructor(t){super(),this.options=t||{},this._uid=0,this.shouldOpen=!1,this._preloadedContent=void 0,this.onThumbnailsClick=this.onThumbnailsClick.bind(this)}init(){we(this.options.gallery,this.options.gallerySelector).forEach(t=>{t.addEventListener("click",this.onThumbnailsClick,!1)})}onThumbnailsClick(t){if(no(t)||window.pswp||window.navigator.onLine===!1)return;let r={x:t.clientX,y:t.clientY};!r.x&&!r.y&&(r=null);let i=this.getClickedIndex(t);i=this.applyFilters("clickedIndex",i,t,this);let n={gallery:t.currentTarget};i>=0&&(t.preventDefault(),this.loadAndOpen(i,n,r))}getClickedIndex(t){if(this.options.getClickedIndexFn)return this.options.getClickedIndexFn.call(this,t);let r=t.target,n=we(this.options.children,this.options.childSelector,t.currentTarget).findIndex(a=>a===r||a.contains(r));return n!==-1?n:this.options.children||this.options.childSelector?-1:0}loadAndOpen(t,r,i){return window.pswp?!1:(this.options.index=t,this.options.initialPointerPos=i,this.shouldOpen=!0,this.preload(t,r),!0)}preload(t,r){let{options:i}=this;r&&(i.dataSource=r);let n=[],a=typeof i.pswpModule;
2if(oo(i.pswpModule))n.push(Promise.resolve(i.pswpModule));else{if(a==="string")throw new Error("pswpModule as string is no longer supported");if(a==="function")n.push(i.pswpModule());else throw new Error("pswpModule is not valid")}typeof i.openPromise=="function"&&n.push(i.openPromise()),i.preloadFirstSlide!==!1&&t>=0&&(this._preloadedContent=lo(t,this));let o=++this._uid;Promise.all(n).then(u=>{if(this.shouldOpen){let f=u[0];this._openPhotoswipe(f,o)}})}_openPhotoswipe(t,r){if(r!==this._uid&&this.shouldOpen||(this.shouldOpen=!1,window.pswp))return;let i=typeof t=="object"?new t.default(this.options):new t(this.options);this.pswp=i,window.pswp=i,Object.keys(this._listeners).forEach(n=>{this._listeners[n]?.forEach(a=>{i.on(n,a)})}),Object.keys(this._filters).forEach(n=>{this._filters[n]?.forEach(a=>{i.addFilter(n,a.fn,a.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(){this.pswp?.destroy(),this.shouldOpen=!1,this._listeners={},we(this.options.gallery,this.options.gallerySelector).forEach(t=>{t.removeEventListener("click",this.onThumbnailsClick,!1)})}};(function(){Node.prototype.replaceChildren===void 0&&(Node.prototype.replaceChildren=e=>{for(;this.lastChild;)this.removeChild(this.lastChild);e!==void 0&&this.append(e)})})();(function(){let e=!1;if(document.createElement("i").addEventListener("click",()=>{},{get signal(){e=!0}}),e||!window.AbortController)return;let t=EventTarget.prototype.addEventListener;EventTarget.prototype.addEventListener=function(r,i,n){if(n&&n.signal){if(n.signal.aborted)return;n.signal.addEventListener("abort",()=>this.removeEventListener(r,i,{...n}))}return t.call(this,r,i,n)}})();export{co as CustomElementsPolyfill,ro as Delegate,Ce as FocusTrap,Je as PhotoSwipeLightbox,ge as ScrollOffset,di as animate,Yr as inView,fi as scroll,Kr as stagger,Xr as timeline}; 3/*! Bundled license information: 4 5@ungap/custom-elements/index.js: 6 (*! (c) Andrea Giammarchi @webreflection ISC *) 7 (*! (c) Andrea Giammarchi - ISC *) 8 9instant.page/instantpage.js: 10 (*! instant.page v5.2.0 - (C) 2019-2023 Alexandre Dieulot - https://instant.page/license *) 11 12tabbable/dist/index.esm.js: 13 (*! 14 * tabbable 6.1.1 15 * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE 16 *) 17 18focus-trap/dist/focus-trap.esm.js: 19 (*! 20 * focus-trap 7.4.0 21 * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE 22 *) 23 24photoswipe/dist/photoswipe-lightbox.esm.js: 25 (*! 26 * PhotoSwipe Lightbox 5.3.7 - https://photoswipe.com 27 * (c) 2023 Dmytro Semenov 28 *) 29*/
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.