PageSourceSearch

https://stampeders.com/_nuxt/fs_jC272.js

js stampeders.com collected 2026-09-24 19:49:04 UTC 279,164 bytes, 40 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./GeUJS0_K2.js","./CtNlD_52.js","./DUC5iHht.js","./CO7XqIsk.js","./DucUJMGr.js","./D9CvAs942.js","./DHksX6812.js","./BjiDpmFR2.js","./DmW2J8tq.js","./q3HaULK0.js","./Bi4h86gH.js","./eUY1C_pI.js","./DMRCtho2.js","./DJAS3ozL2.js","./5LvQnNDA.js","./CGsIeHW7.js","./BG7VAg9n.js","./CSWaOrgW.js","./Bsl_fgkU.js","./BpfJKBCG.js","./CQoxoSJl2.js","./CwCVvdjj.js","./DUGFPrNA.js","./B3lViHsP.js","./DrS-0dL8.js","./DDWd58Rv.js","./DxAdPits.js","./qm5AR4Fa.js","./k-yixsQs.js","./CyfHPCdN2.js","./D41QYkcj.js","./D2-WHM3z.js","./yj7Msn4S.js","./Cj7FZxuL.js","./LinkButton.T76ifID7.css","./C30_FG0l2.js","./BeeFFL-M2.js","./CfCf0q3a2.js","./ChfjKN2B.js","./DjN-jZwD2.js","./BZQozbpx.js","./DS7mV0or2.js","./DDk7Qn8T2.js","./CjA02OF82.js","./DHz79xHe2.js","./BFSxaYBs2.js","./GIx9VkbU.js","./bqHlpHxR.js","./W7SQ2tlV.js","./BdLjipzR.js","./CC0RvdXn.js","./BKD1Qbw3.js","./U4Eim8Q8.js","./D67ic3TJ.js","./BiICYUlD.js","./fruTd_f1.js","./BOirpjI7.js","./z58A6ALN.js","./EBBkxFqY2.js","./PlayIcon.BqaSFPTi.css","./CardList.DFBt7GZ9.css","./WBo1Retc.js","./BI9Ww82M.js","./HeroFiftyFifty.CziJDtGT.css","./C70ruwlc.js","./De7Xdqmk.js","./BbVdKGM6.js","./DrgR2_e2.js","./CategoryContent.B5r9Oq6q.css","./DxFBTiPC.js","./BQl2-EKm.js","./CPOXPpG1.js","./CHo1RNvR.js","./Toggle.BsOUD0zr.css","./CmSjlqjj.js","./SectionStream.C76wFsmW.css","./Bbft10ye2.js","./fazoguaR2.js","./l4a7EOj2.js","./CwOd7Q-o.js","./InternalPromoWrapper.CeRw3vfl.css","./BE3eQxbu2.js","./DQYUGmI0.js","./Bnx2tzND.js","./upfbmqos2.js","./vh0AFEU52.js","./DDPMNs7M2.js","./H7gJ6Il9.js","./G50tabF6.js","./BoayvQtD.js","./DJxYuVug.js","./pQA7jwYA.js","./BYmkTBFI.js","./DYozNh-o2.js","./BnrybWbs2.js","./YGq6V0sX2.js","./1JD0zpnS2.js","./_...Bnzyn684.css","./BLlfvv662.js","./C598rYxj.js","./BHeMQcA22.js","./BTz2Vznr2.js","./C4xO0W1_.js","./CLWyAa9_.js","./BFL9P-X12.js","./_slug_.DD7wXn62.css","./BKoAaV5N2.js","./_year_.r2qwfR_z.css","./CAC9qqx52.js","./D946EKTa2.js","./BQqAs5UG.js","./BYSf0Wjb.js","./Zv8Q4biq.js","./Dn2FPtta.js","./DDc3xha42.js","./dFR9bmgQ2.js","./CBWpkgQO2.js","./MainNavigationCfl.FW0FFK7Y.css","./default.CTJRFzwp.css","./D4688kfV2.js","./DV45QE7S.js","./pages.D2Is6aiO.css","./DI_dXU182.js","./Bw507BHN2.js","./profile.Dw560Xpp.css","./y3t9ckD52.js","./DSTnC6tC2.js","./0tqa41P7.js","./DY5O1c2X.js","./DvOkU-v2.js","./u6nOY9QD2.js","./D_-u-VC-.js","./BatGloyD.js","./fEYPyh_U2.js","./DAS_2uUG.js","./BM8DYcmw.js","./F0-Nk8uC.js","./0vGOy3gf.js","./u3XhMZAy.js","./Bs-hobxC.js","./DsvPdVd42.js","./VH9hegln.js"])))=>i.map(i=>d[i]);
2(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`web-network-frontend-1790172142724`};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`e5d215f7-c9f2-454a-9c4a-568fe9e9d324`,e._sentryDebugIdIdentifier=`sentry-dbid-e5d215f7-c9f2-454a-9c4a-568fe9e9d324`)}catch{}})();import{i as e,n as t,s as n,t as r}from"./DmW2J8tq.js";import{a as i,c as a,g as o,h as s,i as c,m as l,o as u,r as d,s as f,t as p,u as m,v as h}from"./CO7XqIsk.js";import{B as g,Cn as _,Ct as v,D as y,E as b,En as x,Ht as S,J as C,Kt as ee,L as w,Nt as T,O as E,On as D,Pt as O,Yt as te,Z as ne,Zn as re,_ as k,at as A,b as j,bt as ie,ct as ae,et as oe,ft as se,g as M,gn as ce,gt as le,h as ue,in as de,it as fe,k as N,l as pe,ln as me,mt as P,o as he,pt as ge,qt as F,r as I,s as _e,st as ve,tr as ye,tt as be,un as xe,v as L,vn as Se,wt as Ce,xn as we,xt as Te,y as Ee,yn as De}from"./CtNlD_52.js";import{a as Oe,i as ke,n as Ae,t as je}from"./q3HaULK0.js";import{a as Me,c as Ne,f as Pe,g as Fe,i as Ie,r as Le,s as Re,u as ze,v as Be}from"./DucUJMGr.js";import{a as Ve,b as He,c as Ue,f as We,h as Ge,i as Ke,n as qe,o as Je,p as R,r as Ye,s as Xe,t as Ze,u as Qe,v as $e,x as et,y as tt}from"./DUC5iHht.js";import{a as nt,n as rt,o as it,r as at,s as ot,t as st}from"./DMRCtho2.js";import{C as ct,D as lt,O as ut,T as dt,f as ft,k as pt,n as mt,r as ht,t as gt,v as _t}from"./Bi4h86gH.js";import{A as vt,C as yt,D as bt,E as xt,F as St,G as Ct,H as wt,J as Tt,K as Et,L as Dt,O as Ot,R as kt,S as At,T as jt,U as Mt,V as Nt,W as Pt,X as Ft,Y as It,Z as Lt,_ as Rt,b as zt,c as Bt,d as Vt,f as Ht,g as Ut,h as Wt,j as Gt,k as Kt,l as qt,m as Jt,p as Yt,q as Xt,r as Zt,t as Qt,u as $t,v as en,x as tn,y as nn,z as rn}from"./CSWaOrgW.js";import{a as an,c as on,d as sn,f as cn,i as ln,l as un,n as dn,o as fn,p as pn,r as mn,s as hn,u as gn}from"./Bsl_fgkU.js";import{t as z}from"./BpfJKBCG.js";import{f as _n,p as vn,s as yn,u as bn,v as xn}from"./CGsIeHW7.js";import{a as Sn,i as Cn,n as wn,r as Tn,t as En}from"./5LvQnNDA.js";import{i as Dn,n as On,s as kn,t as An}from"./eUY1C_pI.js";import{n as jn,r as Mn,s as Nn}from"./DrS-0dL8.js";import{i as Pn,t as Fn}from"./BYSf0Wjb.js";import{a as In,i as Ln,n as Rn,r as zn,t as Bn}from"./fruTd_f1.js";import{n as Vn,r as Hn,t as Un}from"./DDWd58Rv.js";import{n as Wn}from"./BbVdKGM6.js";import{n as Gn}from"./CzIU5dTd.js";import{t as Kn}from"./DxAdPits.js";import{t as qn}from"./Zv8Q4biq.js";import{n as Jn,t as Yn}from"./DV45QE7S.js";import{Cn as Xn,bn as Zn,fn as Qn,ft as $n,gn as er,pn as tr,t as nr,tt as rr,un as ir,vn as ar,xn as or,z as sr}from"./D_-u-VC-.js";import{r as cr}from"./qm5AR4Fa.js";import{r as lr}from"./BG7VAg9n.js";import{M as ur,T as dr,c as fr}from"./k-yixsQs.js";import{n as pr}from"./D41QYkcj.js";import{a as mr,i as hr,n as gr,o as _r,r as vr,t as yr}from"./yj7Msn4S.js";import{c as br,n as xr,t as Sr}from"./Cj7FZxuL.js";import{t as Cr}from"./C30_FG0l2.js";import{t as wr}from"./DS7mV0or2.js";import{t as Tr}from"./CyfHPCdN2.js";import{t as Er}from"./BTz2Vznr2.js";import{t as Dr}from"./BE3eQxbu2.js";import{t as Or}from"./DDk7Qn8T2.js";import{n as kr,r as Ar}from"./CfCf0q3a2.js";import{t as jr}from"./CjA02OF82.js";import{t as Mr}from"./CQoxoSJl2.js";import{t as Nr}from"./DDc3xha42.js";import{t as Pr}from"./DHz79xHe2.js";(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin===`use-credentials`?t.credentials=`include`:e.crossOrigin===`anonymous`?t.credentials=`omit`:t.credentials=`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})(),`global`in globalThis||(globalThis.global=globalThis);var Fr=/\\/g,Ir=/</g,Lr=/"/g,Rr=/%\w+(?:\.\w+)?/g,zr=`%separator`;function Br(e,t,n=!1){let r;if(t===`s`||t===`pageTitle`)r=e.pageTitle;else if(t.includes(`.`)){let n=t.indexOf(`.`);r=e[t.substring(0,n)]?.[t.substring(n+1)]}else r=e[t];if(r!==void 0)return n?(r||``).replace(Fr,`\\\\`).replace(Ir,`\\u003C`).replace(Lr,`\\"`):r||``}function Vr(e,t,n,r=!1){if(typeof e!=`string`||!e.includes(`%`))return e;let i=e;try{i=decodeURI(e)}catch{}let a=i.match(Rr);if(!a)return e;let o=e.includes(zr);return e=e.replace(Rr,e=>{if(e===zr||!a.includes(e))return e;let n=Br(t,e.slice(1),r);return n===void 0?e:n}).trim(),o&&(e=e.split(zr).map(e=>e.trim()).filter(e=>e!==``).join(n?` ${n} `:` `)),e}var Hr=(e,t)=>
2e._w===t._w?e._p-t._p:e._w-t._w,Ur=e=>e.includes(`:key`)?e:e.split(`:`).join(`:key:`),Wr=Lt({key:`aliasSorting`,hooks:{"tags:resolve":e=>{let t=!1;for(let n of e.tags){let r=n.tagPriority;if(!r)continue;let i=String(r);if(i.startsWith(`before:`)){let r=Ur(i.slice(7)),a=e.tagMap.get(r);a&&(typeof a.tagPriority==`number`&&(n.tagPriority=a.tagPriority),n._p=a._p-1,t=!0)}else if(i.startsWith(`after:`)){let r=Ur(i.slice(6)),a=e.tagMap.get(r);a&&(typeof a.tagPriority==`number`&&(n.tagPriority=a.tagPriority),n._p=a._p+1,t=!0)}}t&&(e.tags=e.tags.sort(Hr))}}}),Gr=Lt({key:`deprecations`,hooks:{"entries:normalize":({tags:e})=>{for(let t of e)t.props.children&&(t.innerHTML=t.props.children,delete t.props.children),t.props.hid&&(t.key=t.props.hid,delete t.props.hid),t.props.vmid&&(t.key=t.props.vmid,delete t.props.vmid),`body`in t.props&&(t.props.body&&(t.tagPosition=`bodyClose`),delete t.props.body),t.props.renderPriority!=null&&(t.tagPriority=t.props.renderPriority,delete t.props.renderPriority)}}});function Kr(e){return typeof e?.then==`function`}function qr(e){if(typeof e==`function`)return e;if(Kr(e))return Promise.resolve(e).then(qr);if(Array.isArray(e)){let t=e.map(qr);return t.some(Kr)?Promise.all(t):e}if(e?.constructor===Object){let t=Object.keys(e),n=t.map(t=>qr(e[t]));if(n.some(Kr))return Promise.all(n).then(e=>Object.fromEntries(t.map((t,n)=>[t,e[n]])))}return e}var Jr=Lt(e=>{let t=new WeakMap;return{key:`promises`,hooks:{"entries:resolve":n=>{for(let r=n.entries.length-1;r>=0;r--){let i=n.entries[r],a=i.input;if(t.get(i)===a){n.entries.splice(r,1);continue}let o=qr(a);if(!Kr(o)){t.delete(i);continue}t.set(i,a),n.entries.splice(r,1),Promise.resolve(o).then(n=>{t.get(i)===a&&(t.delete(i),i.input=n,delete i._tags,e.invalidate?.())},()=>{t.get(i)===a&&t.delete(i)})}}}}},`promises`),Yr={meta:`content`,link:`href`,htmlAttrs:`lang`},Xr=[`innerHTML`,`textContent`],Zr=Lt(e=>({key:`template-params`,hooks:{"tags:resolve":({tagMap:t,tags:n})=>{let r=t.get(`templateParams`)?.props||{},i=r.separator||`|`;delete r.separator,r.pageTitle=Vr(r.pageTitle||e._title||``,r,i);for(let e of n){if(e.processTemplateParams===!1)continue;let t=Yr[e.tag];if(t&&typeof e.props[t]==`string`)e.props[t]=Vr(e.props[t],r,i);else if(e.processTemplateParams||e.tag===`titleTemplate`||e.tag===`title`)for(let t of Xr)typeof e[t]==`string`&&(e[t]=Vr(e[t],r,i,e.tag===`script`&&typeof e.props.type==`string`&&e.props.type.endsWith(`json`)))}e._templateParams=r,e._separator=i},"tags:afterResolve":({tagMap:t})=>{let n=t.get(`title`);n?.textContent&&n.processTemplateParams!==!1&&(n.textContent=Vr(n.textContent,e._templateParams,e._separator))}}}),`template-params`);function Qr(e,t){if(typeof t==`function`&&t.key&&e.plugins.has(t.key))return;let n=typeof t==`function`?t(e):t,r=n.key||String(e.plugins.size+1);if(!e.plugins.get(r)){e.plugins.set(r,n);for(let t in n.hooks||{})e.hooks?.hook(t,n.hooks[t])}}function $r(e,t={}){let n=!t.document,r=new Map,i={_entryCount:1,_h:0,plugins:new Map,resolvedOptions:t,ssr:n,entries:r,hooks:void 0,render:()=>e(i),use:e=>Qr(i,e),push(e,t){let a=t?._index??i._entryCount++,o=t?{...t}:{};delete o.head,delete o.onRendered,delete o._index;let s={_i:a,input:e,options:o};return r.set(a,s),{_i:a,dispose(){r.delete(a)},patch(e){n?(s.input=e,delete s._tags):s._pending=e,r.has(a)||r.set(a,s)}}}};return t.init?.forEach(e=>e&&i.push(e)),i}var ei=i(()=>{on(`skipHydrate`,e=>!ut(e)&&1),un(`skipHydrate`,e=>void 0)});function ti(e){try{return JSON.parse(e)}catch{return e}}var ni=[[`NuxtError`,e=>Ke(e)],[`EmptyShallowRef`,e=>we(e===`_`?void 0:e===`0n`?BigInt(0):ti(e))],[`EmptyRef`,e=>Se(e===`_`?void 0:e===`0n`?BigInt(0):ti(e))],[`ShallowRef`,e=>we(e)],[`ShallowReactive`,e=>De(e)],[`Ref`,e=>Se(e)],[`Reactive`,e=>ce(e)]],ri=c({name:`nuxt:revive-payload:client`,order:-30,async setup(e){let t,n;for(let[e,t]of ni)un(e,t);Object.assign(e.payload,([t,n]=o(()=>e.runWithContext(gn)),t=await t,n(),t)),delete window.__NUXT__}},1);function ii(e,t){t.push(a),e.vueApp.use(t);let n=!0,r=()=>{n=!1,t.render()};t.hooks?.hook(`dom:beforeRender`,e=>{e.shouldRender=!n}),e.hooks.hook(`page:start`,()=>{n=!0}),e.hooks.hook(`page:finish`,()=>{e.isHydrating||r()}),e.hooks.hook(`app:error`,r),e.hooks.hook(`app:suspense:resolve`,r);let i=t.push.bind(t);t.push=((t,n)=>{let r=i(t,n),a=r.dispose.bind(r);return r.dispose=()=>{let t=e[`~transitionPromise`];t?t.finally(a):a()},r})}function ai(e,t,n){let r=e.push,i=e;return i.ssr=!1,i.hooks=t,i.dirty=!!i.dirty,i.use=e=>Qr(i,e),i.render=()=>n(i),i.invalidate=()=>{for(let e of i.entries.values())delete e._tags;i.dirty=!0,t.callHook(`entries:updated`,i)},i.push=(n,a)=>{let o=a?.onRendered?t.hook(`dom:rendered`,a.onRendered):void 0,s=r(n,a),c=e.entries.get(s._i);return c&&(c._o=n),i.dirty=!0,t.callHook(`entries:updated`,i),{_i:s._i,patch(e){s.patch(e),i.dirty=!0,t.callHook(`entries:updated`,i)},dispose(){o?.(),e.entries.has(s._i)&&(s.dispose(),i.invalidate())}}},t.hook(`entries:updated`,()=>{i.render()}),i}var oi=/\s+/;function si(e={}){return t=>di(t,e)}function ci(e){for(let t of e.entries.values())if(t._pending!==void 0)return!0;return!1}function li(e){for(let t in e._s)e._s[t]();for(let t in e._p)e._p[t]();e._s={},e._p={},e._e.clear(),e._l.clear()}function ui(e,t){let n={_d:t,_t:t.title,_e:new Map([[`htmlAttrs`,t.documentElement],[`bodyAttrs`,t.body]]),_p:{},_s:{},_l:new Map};for(let e of[...t.body.children,...t.head.children]){let t=e.tagName.toLowerCase();if(!It.has(t))continue;let r={innerHTML:e.innerHTML};for(let t of e.getAttributeNames())r[t]=e.getAttribute(t);let i=Ct({tag:t,props:{}},r);i.key=e.getAttribute(`data-hid`)||void 0;let a=wt(i)||Mt(i),o=a,s=1;for(;n._e.has(o);)o=`${a}:${s++}
2`;n._e.set(o,e)}for(let t of e.entries.values())if(t._o!==void 0){let e=t._o;for(let t of[`bodyAttrs`,`htmlAttrs`]){let r=e[t]?.class;if(typeof r==`string`){let e=n._e.get(t);for(let i of r.split(oi))i&&(n._p[`${t}:attr:class:${i}`]=()=>e.classList.remove(i))}}}return n}function di(e,t={}){let n=t.document||e.resolvedOptions.document,r=e._dom,i=!!r&&r._d!==n;if(!n||!i&&!e.dirty&&!ci(e)||e._du)return!1;let a=n.defaultView;e._du=!0;let o=!1;try{let r=function(e,t,n,r){let i=`${e}:${t}`;d._s[i]=!r&&d._p[i]||n,delete d._p[i]},i=function(e){let t=d._p[e];return delete d._p[e],t},s=function(e,t,n,i,a,o){let s=`event:${t}`,c=`${e}:${s}`,l=d._l.get(c);if(l&&l[0]===o&&l[1]===n&&l[2]===i){r(e,s,l[4]);return}l?.[4]();let u=`data-${t}`,f=(e=>i.call(a,e)),p=()=>{o.removeEventListener(n,f),a.getAttribute(u)===``&&a.removeAttribute(u),d._l.get(c)?.[3]===f&&d._l.delete(c)};o.addEventListener(n,f),d._l.set(c,[o,n,i,f,p]),a.setAttribute(u,``),r(e,s,p,!0)},c=function({id:e,$el:t,tag:n}){let o=n.tag.endsWith(`Attrs`);if(d._e.set(e,t),!o){let a=n.textContent;a!=null&&a!==``&&(a!==t.textContent&&(t.textContent=a),r(e,`text`,()=>{t.textContent===a&&(t.textContent=``)},!0));let o=n.innerHTML;o!=null&&o!==``&&(o!==t.innerHTML&&(t.innerHTML=o),r(e,`html`,()=>{t.innerHTML===o&&(t.innerHTML=``)},!0));let s=`${e}:el`;d._s[s]=i(s)||(()=>{t?.remove(),d._e.delete(e)})}for(let r in n.props){let o=n.props[r];if(r[0]===`o`&&r[1]===`n`&&typeof o==`function`){let i=r.slice(2);t?.dataset?.[`${r}fired`]&&o.call(t,new((a?.Event)||Event)(i)),s(e,r,i,o,t,n.tag===`bodyAttrs`&&a?a:t);continue}let c=`${e}:attr:${r}`;if(r===`class`&&o)for(let e of o){let n=`${c}:${e}`;d._s[n]=i(n)||(()=>t.classList.remove(e)),t.classList.contains(e)||t.classList.add(e)}else if(r===`style`&&o)for(let[e,n]of o){let r=`${c}:${e}`;d._s[r]=i(r)||(()=>t.style.removeProperty(e)),t.style.setProperty(e,n)}else o!==!1&&o!==null&&(t.getAttribute(r)!==o&&t.setAttribute(r,o===!0?``:String(o)),d._s[c]=i(c)||(()=>t.removeAttribute(r)))}},l={shouldRender:!0,tags:[]};if(Xt(e,`dom:beforeRender`,l),!l.shouldRender)return!1;let u=e._dom;u?._d!==n&&(u&&li(u),u=void 0),u?u._p=u._s:u=ui(e,n),u._s={};let d=u,f=[],p={};e.dirty=!1;let m=Et(e,t.tagWeight?{tagWeight:t.tagWeight}:void 0),h=[],g={};for(let e of m){let t=g[e._d]||0,i=(t?`${e._d}:${t}`:e._d)||e._h,a={tag:e,id:i,shouldRender:!0};if(e.tag===`meta`&&e._d&&Pt(e._d)&&(g[e._d]=t+1),h.push(a),e.tag===`title`){n.title=e.textContent,r(`title`,``,()=>n.title=d._t);continue}a.$el=d._e.get(i),a.$el?c(a):It.has(e.tag)&&f.push(a)}for(let e of f)e.$el=n.createElement(e.tag.tag),c(e),(p[e.tag.tagPosition||`head`]??=n.createDocumentFragment()).appendChild(e.$el);p.head&&n.head.appendChild(p.head),p.bodyOpen&&n.body.insertBefore(p.bodyOpen,n.body.firstChild),p.bodyClose&&n.body.appendChild(p.bodyClose);for(let e in d._p)d._p[e]();e._dom=d,o=!0,Xt(e,`dom:rendered`,{renders:h})}catch(t){throw e.dirty=!0,t}finally{e._du=!1}return o&&(e.dirty||ci(e))&&di(e,t),o}var fi=e=>typeof e.tagPriority==`number`?e.tagPriority:100+(Ft[e.tagPriority]||0);function pi(e={}){e.document=e.document||(typeof window<`u`?document:void 0);let t=e.render||si({document:e.document}),n=ai($r(t,{document:e.document,propResolvers:e.propResolvers,_tagWeight:fi,init:[]}),Tt(e.hooks),t);return e.plugins?.forEach(e=>n.use(e)),e.init?.forEach(e=>e&&n.push(e)),n}function mi(e={}){let t=si(),n,r=0;return n=pi({render:()=>{let e=++r;setTimeout(()=>{e===r&&t(n)},0)},...e}),n.install=Nt(n),n}var hi={disableDefaults:!0,plugins:[Gr,Jr,Zr,Wr]},gi=c({name:`nuxt:head`,enforce:`pre`,setup(e){ii(e,mi(hi))}}),_i=/(:\w+)\([^)]+\)/g,vi=/(:\w+)[?+*]/g,yi=/:\w+/g,bi=(e,t)=>t.path.replace(_i,`$1`).replace(vi,`$1`).replace(yi,t=>e.params[t.slice(1)]?.toString()||``),xi=(e,t)=>{let n=e.route.matched.find(t=>t.components?.default===e.Component.type),r=t??n?.meta.key??(n&&bi(e.route,n));return typeof r==`function`?r(e.route):r},Si=(e,t)=>({default:()=>e?g(_e,e===!0?{}:e,t):t});function Ci(e){return Array.isArray(e)?e:[e]}var wi=Ue(async e=>{let t,n;if(!e.meta?.validate)return;let r=([t,n]=o(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t);
2if(r!==!0)return Ke({fatal:!0,status:r&&(r.status||r.statusCode)||404,statusText:r&&(r.statusText||r.statusMessage)||`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}})},1);function Ti(e={}){let t=e.path||window.location.pathname,n=new URL(t,window.location.href);if(n.host!==window.location.host)throw $e.NUXT_E2010({path:t});if(n.protocol&&Me(n.protocol))throw $e.NUXT_E2002({toPath:t,protocol:n.protocol});let r={};try{r=JSON.parse(sessionStorage.getItem(`nuxt:reload`)||`{}`)}catch{}if(e.force||r?.path!==t||r?.expires<Date.now()){try{sessionStorage.setItem(`nuxt:reload`,JSON.stringify({path:t,expires:Date.now()+(e.ttl??1e4)}))}catch{}if(e.persistState)try{sessionStorage.setItem(`nuxt:reload:state`,JSON.stringify({state:u().payload.state}))}catch{}window.location.pathname===t?window.location.reload():window.location.href=t}}var Ei=[wi,Ue(e=>{let t=On().value?.language??`en-CA`,n=e.path,r=Dt(n,t);if(r)return Qe({path:r,query:e.query,hash:e.hash},{redirectCode:308,replace:!0})}),Ue(async e=>{},1),Ue(e=>{an(`cfl-render-mode`).value===St.NATIVE_MOBILE_APP&&(e.meta.renderMode=St.NATIVE_MOBILE_APP)}),Ue(e=>{let t=pn({path:e.path});if(t.redirect){let n=t.redirect.includes(`#`)?t.redirect:t.redirect+e.hash;return Le(n,{acceptRelative:!0})?(window.location.href=n,!1):n}})],Di={},Oi={layout:`minimal`},ki={hideScheduleWidget:!0},Ai={hideFooter:!0},ji={hideScheduleWidget:!0},Mi={hideScheduleWidget:!0},Ni=[{name:`ads-registry-smoke___en-CA`,path:`/ads/registry-smoke`,component:()=>z(()=>import(`./GeUJS0_K2.js`),__vite__mapDeps([0,1,2,3,4]),import.meta.url)},{name:`ads-registry-smoke___fr-CA`,path:`/ads/registry-smoke`,component:()=>z(()=>import(`./GeUJS0_K2.js`),__vite__mapDeps([0,1,2,3,4]),import.meta.url)},{name:`debug-health___en-CA`,path:`/debug/health`,meta:Oi||{},component:()=>z(()=>import(`./D9CvAs942.js`),__vite__mapDeps([5,1,6]),import.meta.url)},{name:`debug-health___fr-CA`,path:`/debug/health`,meta:Oi||{},component:()=>z(()=>import(`./D9CvAs942.js`),__vite__mapDeps([5,1,6]),import.meta.url)},{name:`debug-loc___en-CA`,path:`/debug/loc`,component:()=>z(()=>import(`./BjiDpmFR2.js`),__vite__mapDeps([7,8,1,9,10,11,12,3,4]),import.meta.url)},{name:`debug-loc___fr-CA`,path:`/debug/loc`,component:()=>z(()=>import(`./BjiDpmFR2.js`),__vite__mapDeps([7,8,1,9,10,11,12,3,4]),import.meta.url)},{name:`preview-require-fan-login___en-CA`,path:`/preview/require-fan-login`,component:()=>z(()=>import(`./DJAS3ozL2.js`),__vite__mapDeps([13,1,2,3,4,14,15,9,16,12,17,10,18,19,11,20,21,8,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75]),import.meta.url)},{name:`preview-require-fan-login___fr-CA`,path:`/preview/require-fan-login`,component:()=>z(()=>import(`./DJAS3ozL2.js`),__vite__mapDeps([13,1,2,3,4,14,15,9,16,12,17,10,18,19,11,20,21,8,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75]),import.meta.url)},{name:`games-id-slug___en-CA`,path:`/games/:id()/:slug(.*)*`,meta:ki||{},component:()=>z(()=>import(`./Bbft10ye2.js`),__vite__mapDeps([76,8,1,9,10,2,3,4,15,11,12,16,17,18,19,33,28,29,34,77,39,40,42,38,37,78,61,79,80,81,20,45,82,83,70,84,85,86,87,88,53,89,71,90,54,55,57,27,41,58,59,60,64,65,25,66,67,68,72,91,92,93,94,95,6,96,56,97]),import.meta.url)},{name:`games-id-slug___fr-CA`,path:`/matchs/:id()/:slug(.*)*`,meta:ki||{},component:()=>z(()=>import(`./Bbft10ye2.js`),__vite__mapDeps([76,8,1,9,10,2,3,4,15,11,12,16,17,18,19,33,28,29,34,77,39,40,42,38,37,78,61,79,80,81,20,45,82,83,70,84,85,86,87,88,53,89,71,90,54,55,57,27,41,58,59,60,64,65,25,66,67,68,72,91,92,93,94,95,6,96,56,97]),import.meta.url)},{name:`article-slug___en-CA`,path:`/article/:slug()`,meta:Ai||{},component:()=>z(()=>import(`./BLlfvv662.js`),__vite__mapDeps([98,8,1,9,10,3,2,4,17,12,18,19,15,11,25,27,16,28,29,22,23,24,26,30,31,32,33,34,35,36,37,38,39,40,41,42,43,20,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,21,99,91,92,93,94,95,6]),import.meta.url)},{name:`article-slug___fr-CA`,path:`/article/:slug()`,meta:Ai||{},component:()=>z(()=>import(`./BLlfvv662.js`),__vite__mapDeps([98,8,1,9,10,3,2,4,17,12,18,19,15,11,25,27,16,28,29,22,23,24,26,30,31,32,33,34,35,36,37,38,39,40,41,42,43,20,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,21,99,91,92,93,94,95,6]),import.meta.url)},{name:`categories-slug___en-CA`,path:`/categories/:slug()`,component:()=>z(()=>import(`./BHeMQcA22.js`),__vite__mapDeps([100,8,1,9,10,3,2,4,17,12,18,19,15,11,14,16,28,29,30,31,32,33,34,101,20,45,46,102,67,90,54,55,57,27,41,58,59,60,62,38,37,61,
263,64,91,103,92,104,105]),import.meta.url)},{name:`categories-slug___fr-CA`,path:`/categories/:slug()`,component:()=>z(()=>import(`./BHeMQcA22.js`),__vite__mapDeps([100,8,1,9,10,3,2,4,17,12,18,19,15,11,14,16,28,29,30,31,32,33,34,101,20,45,46,102,67,90,54,55,57,27,41,58,59,60,62,38,37,61,63,64,91,103,92,104,105]),import.meta.url)},{name:`schedule-year___en-CA`,path:`/schedule/:year?`,meta:ji||{},component:()=>z(()=>import(`./BKoAaV5N2.js`).then(e=>e.n),__vite__mapDeps([106,8,1,9,10,2,3,4,17,12,18,19,15,11,55,27,16,28,29,30,31,32,33,34,101,42,20,45,102,54,67,90,64,69,70,53,71,72,73,91,92,93,94,6,107]),import.meta.url)},{name:`schedule-year___fr-CA`,path:`/calendrier/:year?`,meta:ji||{},component:()=>z(()=>import(`./BKoAaV5N2.js`).then(e=>e.n),__vite__mapDeps([106,8,1,9,10,2,3,4,17,12,18,19,15,11,55,27,16,28,29,30,31,32,33,34,101,42,20,45,102,54,67,90,64,69,70,53,71,72,73,91,92,93,94,6,107]),import.meta.url)},{name:`ads___en-CA`,path:`/ads`,component:()=>z(()=>import(`./CAC9qqx52.js`),__vite__mapDeps([108,1,54,3,2,4,18,12,19,15,9,55]),import.meta.url)},{name:`ads___fr-CA`,path:`/ads`,component:()=>z(()=>import(`./CAC9qqx52.js`),__vite__mapDeps([108,1,54,3,2,4,18,12,19,15,9,55]),import.meta.url)},{name:`index.story___en-CA`,path:`/index.story`,component:()=>z(()=>import(`./D946EKTa2.js`),__vite__mapDeps([109,1,110,8,9,10,3,2,4,12,17,18,19,15,11,111,55,26,112,16,28,29,31,30,113,25,66,40,36,37,38,101,114,44,45,115,116,53,54,78,67,71,117,41,89,56,118,119,120,22,23,24,27,32,33,34,35,39,42,43,20,46,47,48,49,50,51,52,57,58,59,60,61,62,63,64,65,68,69,70,72,73,74,75,79,91,92,104,121]),import.meta.url)},{name:`index.story___fr-CA`,path:`/index.story`,component:()=>z(()=>import(`./D946EKTa2.js`),__vite__mapDeps([109,1,110,8,9,10,3,2,4,12,17,18,19,15,11,111,55,26,112,16,28,29,31,30,113,25,66,40,36,37,38,101,114,44,45,115,116,53,54,78,67,71,117,41,89,56,118,119,120,22,23,24,27,32,33,34,35,39,42,43,20,46,47,48,49,50,51,52,57,58,59,60,61,62,63,64,65,68,69,70,72,73,74,75,79,91,92,104,121]),import.meta.url)},{name:`players___en-CA`,path:`/players`,meta:Mi||{},component:()=>z(()=>import(`./DI_dXU182.js`),__vite__mapDeps([122,1,9,17,3,4,2,12,10,18,19,15,11,16,30,31,20,102,8,29,90,54,55,74,92,6,96,56]),import.meta.url)},{name:`players___fr-CA`,path:`/players`,meta:Mi||{},component:()=>z(()=>import(`./DI_dXU182.js`),__vite__mapDeps([122,1,9,17,3,4,2,12,10,18,19,15,11,16,30,31,20,102,8,29,90,54,55,74,92,6,96,56]),import.meta.url)},{name:`profile___en-CA`,path:`/profile`,component:()=>z(()=>import(`./Bw507BHN2.js`),__vite__mapDeps([123,8,1,9,10,3,25,12,4,18,2,19,15,45,124]),import.meta.url)},{name:`profile___fr-CA`,path:`/profile`,component:()=>z(()=>import(`./Bw507BHN2.js`),__vite__mapDeps([123,8,1,9,10,3,25,12,4,18,2,19,15,45,124]),import.meta.url)},{name:`schedule.story___en-CA`,path:`/schedule.story`,component:()=>z(()=>import(`./y3t9ckD52.js`),__vite__mapDeps([125,1,110,8,9,10,3,2,4,12,17,18,19,15,11,111,55,26,112,16,28,29,31,30,113,25,66,40,36,37,38,101,114,44,45,115,116,53,54,78,67,71,117,41,89,56,118,106,27,32,33,34,42,20,102,90,64,69,70,72,73,91,92,93,94,6,107]),import.meta.url)},{name:`schedule.story___fr-CA`,path:`/schedule.story`,component:()=>z(()=>import(`./y3t9ckD52.js`),__vite__mapDeps([125,1,110,8,9,10,3,2,4,12,17,18,19,15,11,111,55,26,112,16,28,29,31,30,113,25,66,40,36,37,38,101,114,44,45,115,116,53,54,78,67,71,117,41,89,56,118,106,27,32,33,34,42,20,102,90,64,69,70,72,73,91,92,93,94,6,107]),import.meta.url)},{name:`standings___en-CA`,path:`/standings`,component:()=>z(()=>import(`./DSTnC6tC2.js`),__vite__mapDeps([126,8,1,9,10,17,3,4,2,12,18,19,15,11,16,33,28,29,34,77,39,40,42,38,37,78,61,79,80,43,20,90,54,55,64,91,92,94]),import.meta.url)},{name:`standings___fr-CA`,path:`/classement`,component:()=>z(()=>import(`./DSTnC6tC2.js`),__vite__mapDeps([126,8,1,9,10,17,3,4,2,12,18,19,15,11,16,33,28,29,34,77,39,40,42,38,37,78,61,79,80,43,20,90,54,55,64,91,92,94]),import.meta.url)},{name:`path___en-CA`,path:`/:path(.*)*`,component:()=>z(()=>import(`./0tqa41P7.js`),__vite__mapDeps([127,3,1,2,4,17,12,10,18,19,15,9,11,14,25,16,22,8,23,24,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,20,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,90,21,99,91,103,92]),import.meta.url)}
2,{name:`path___fr-CA`,path:`/:path(.*)*`,component:()=>z(()=>import(`./0tqa41P7.js`),__vite__mapDeps([127,3,1,2,4,17,12,10,18,19,15,9,11,14,25,16,22,8,23,24,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,20,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,90,21,99,91,103,92]),import.meta.url)},{name:`index___en-CA`,path:`/`,component:()=>z(()=>import(`./D4688kfV2.js`).then(e=>e.n),__vite__mapDeps([119,8,1,9,10,2,3,4,17,12,18,19,15,11,25,120,16,28,29,22,23,24,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,20,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,79,91,92,104,121]),import.meta.url)},{name:`index___fr-CA`,path:`/`,component:()=>z(()=>import(`./D4688kfV2.js`).then(e=>e.n),__vite__mapDeps([119,8,1,9,10,2,3,4,17,12,18,19,15,11,25,120,16,28,29,22,23,24,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,20,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,79,91,92,104,121]),import.meta.url)},{name:void 0,path:`/game-tracker/:pathMatch(.*)`,component:{}}];function Pi(e,t,n){let{pathname:r,search:i,hash:a}=t,o=e.indexOf(`#`);if(o>-1){let t=a.includes(e.slice(o))?e.slice(o).length:1,n=a.slice(t);return n[0]!==`/`&&(n=`/`+n),Fe(n,``)}let s=Fe(r,e),c=!n||Ie(s,n)?s:n;return c+(c.includes(`?`)?``:i)+a}var Fi=c({name:`nuxt:router`,enforce:`pre`,async setup(e){let t,n,r=f().app.baseURL;fn&&!r.includes(`#`)&&(r+=`#`);let i=hn.history?.(r)??(fn?Tn(r):Cn(r)),a=hn.routes?([t,n]=o(()=>hn.routes(Ni)),t=await t,n(),t)??Ni:Ni,s,c=wn({...hn,scrollBehavior:(e,t,n)=>{if(t===xn){s=n;return}if(hn.scrollBehavior){if(c.options.scrollBehavior=hn.scrollBehavior,`scrollRestoration`in window.history){let e=c.beforeEach(()=>{e(),window.history.scrollRestoration=`manual`})}return hn.scrollBehavior(e,xn,s||n)}},history:i,routes:a});`scrollRestoration`in window.history&&(window.history.scrollRestoration=`auto`),e.vueApp.use(c);let l=we(c.currentRoute.value);c.afterEach((e,t)=>{l.value=t}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>l.value});let u=Pi(r,window.location,e.payload.path),d=we(c.currentRoute.value),p=()=>{d.value=c.currentRoute.value};c.afterEach((e,t)=>{let n=e.matched.at(-1)?.components?.default,r=t.matched.at(-1)?.components?.default;if(n===r){xi({route:e,Component:{type:n}})===xi({route:t,Component:{type:r}})&&p();return}e.matched.length<t.matched.length&&e.matched.every((e,n)=>e.components?.default===t.matched[n]?.components?.default)&&p()});let m={sync:p};for(let e in d.value)Object.defineProperty(m,e,{get:()=>d.value[e],enumerable:!0});e._route=De(m),e._middleware||={global:[],named:{}};let h=Xe();c.afterEach(async(t,n,r)=>{delete e._processingMiddleware,!e.isHydrating&&h.value&&await e.runWithContext(Ye),r&&await e.callHook(`page:loading:end`)});try{[t,n]=o(()=>c.isReady()),await t,n()}catch(r){[t,n]=o(()=>qe(e,r)),await t,n()}let g=u===c.currentRoute.value.fullPath?c.currentRoute.value:c.resolve(u),_=c.currentRoute.value.fullPath,v=e.isHydrating&&e.payload.prerenderedAt&&e.payload.path&&u!==e.payload.path&&Ie(c.currentRoute.value.path,e.payload.path);p();function y(t){!e.isHydrating&&t.fullPath!==Pi(r,window.location)&&i.push(t.fullPath)}let b=e.payload.state._layout;return c.beforeEach(async(t,n)=>{await e.callHook(`page:loading:start`),t.meta=ce(t.meta),e.isHydrating&&b&&!me(t.meta.layout)&&(t.meta.layout=b),e._processingMiddleware=!0;{let r=new Set([...Ei,...e._middleware.global]);for(let e of t.matched){let t=e.meta.middleware;if(t)for(let e of Ci(t))r.add(e)}let i=pn({path:t.path});if(i.appMiddleware)for(let e in i.appMiddleware)i.appMiddleware[e]?r.add(e):r.delete(e);for(let i of r){let r=typeof i==`string`?e._middleware.named[i]||await Di[i]?.().then(e=>e.default||e):i;if(!r)throw $e.NUXT_E2004({entry:String(i),validMiddleware:void 0});try{let i=await e.runWithContext(()=>r(t,n));if(!e.payload.serverRendered&&e.isHydrating&&(i===!1||i instanceof Error)){let t=i||Ke({status:404,statusText:`Page Not Found: ${u}`});return await e.runWithContext(()=>Je(t)),!1}if(i===!0)continue;if(i===!1)return i;if(i)return Ve(i)&&i.fatal&&(await e.runWithContext(()=>Je(i)),y(t)),i}catch(n){let r=Ke(n);return r.fatal&&(await e.runWithContext(()=>Je(r)),y(t)),r}}}}),c.onError(async()=>{delete e._processingMiddleware,await e.callHook(`page:loading:end`)}),c.afterEach(t=>{if(t.matched.length===0&&!h.value)return e.runWithContext(()=>Je(Ke({status:404,fatal:!1,statusText:`Page not found: ${t.fullPath}`,data:{path:t.fullPath}})))}),e.hooks.hookOnce(`app:created`,async()=>
2{try{if(`name`in g&&(g.name=void 0),c.currentRoute.value.fullPath===_)if(v){let t=c.resolve(e.payload.path);`name`in t&&(t.name=void 0),await c.replace({...t,force:!0});let n=()=>{e[`~restoreDeferredRoute`]&&(e[`~restoreDeferredRoute`]=void 0,c.currentRoute.value=c.resolve(u),p(),c.replace({...g,force:!0}).catch(()=>{}))};e[`~restoreDeferredRoute`]=n,e.hooks.hookOnce(`app:suspense:resolve`,n)}else await c.replace({...g,force:!0});c.options.scrollBehavior=hn.scrollBehavior}catch(t){await qe(e,t)}}),{provide:{router:c}}}},1),Ii={system:-15,vendor:-5,nitro:-4,config:-3,i18n:-2,build:-1,runtime:0};function Li(e){e.indexable!==void 0&&(e.indexable=String(e.indexable)!==`false`),e.trailingSlash!==void 0&&!e.trailingSlash&&(e.trailingSlash=String(e.trailingSlash)!==`false`),e.url&&!Le(String(e.url),{acceptRelative:!0,strict:!1})&&(e.url=Pe(String(e.url)));let t=Object.keys(e).sort((e,t)=>e.localeCompare(t)),n={};for(let r of t)n[r]=e[r];return n}function Ri(e){let t=e?.debug||!1,n=[];function r(e){if(!e||typeof e!=`object`||Object.keys(e).length===0)return()=>{};if(!e._context&&t){let t=Error(`tmp`).stack?.split(`
3`)[2]?.split(` `)[5];t?.includes(`/`)&&(t=`anonymous`),e._context=t}let r={};for(let t in e){let n=e[t];n!==void 0&&n!==``&&(r[t]=n)}return Object.keys(r).some(e=>!e.startsWith(`_`))?(n.push(r),()=>{let e=n.indexOf(r);e!==-1&&n.splice(e,1)}):()=>{}}function i(e){let t={};e?.debug&&(t._context={}),t._priority={};for(let r in n.sort((e,t)=>(e._priority||0)-(t._priority||0)))for(let i in n[r]){let a=i,o=e?.resolveRefs?x(n[r][i]):n[r][i];!i.startsWith(`_`)&&o!==void 0&&o!==``&&(t[i]=o,n[r]._priority!==void 0&&n[r]._priority!==-1&&(t._priority[a]=n[r]._priority),e?.debug&&(t._context[a]=n[r]._context?.[a]||n[r]._context||`anonymous`))}return e?.skipNormalize?t:Li(t)}return{stack:n,push:r,get:i}}var zi=c({name:`nuxt-site-config:init`,enforce:`pre`,async setup(e){let t=Ri(),n=st(`site-config`);{let e=n.value||window.__NUXT_SITE_CONFIG__||{};for(let n in e)n[0]!==`_`&&t.push({[n]:e[n],_priority:e._priority?.[n]||-1})}return{provide:{nuxtSiteConfig:t}}}}),Bi=!1,Vi=new Set;function Hi(e){return e.trim().toUpperCase()}function Ui(e){let t=Hi(e);return/^[1-9]\d*$/.test(t)?`C${t.padStart(4,`0`)}`:t}function Wi(e){return typeof e!=`string`||e.trim()===``?[]:e.split(`,`).map(e=>e.trim()).filter(Boolean).flatMap(e=>{let[t=``,n=``]=e.split(`:`).map(e=>e?.trim()??``);return t===``?[]:n===``||n===`1`?[Ui(t)]:[]})}function Gi(){if(typeof document>`u`)return[];let e=document.cookie.split(`; `).find(e=>e.startsWith(`OptanonConsent=`))?.slice(15);if(e==null||e===``)return[];let t=new URLSearchParams(decodeURIComponent(e)).get(`groups`);return t==null||t===``?[]:t.split(`,`).map(e=>e.trim()).filter(Boolean).flatMap(e=>{let[t=``,n=``]=e.split(`:`).map(e=>e?.trim()??``);return t===``||n!==`1`?[]:[Ui(t)]})}function Ki(){if(typeof window>`u`)return[];let e=new Set,t=Wi(window.OnetrustActiveGroups??window.OptanonActiveGroups),n=Gi();for(let r of[...t,...n])e.add(r);return Array.from(e)}function qi(){Bi=!0}function Ji(e){return Bi?!0:new Set(Ki()).has(Ui(e))}function Yi(){for(let e of Vi)try{e()}catch(e){console.error(`[OneTrust] consent listener failed`,e)}}function Xi(e){return Vi.add(e),()=>{Vi.delete(e)}}var Zi={"cfl.ca":`01a03a2f-c034-7b75-aa52-262560bab4d8`,"lcf.ca":`01a0624e-b78f-7265-a543-9de1457679d1`,"bclions.com":`01a06298-355d-7867-95b4-4440d1f874a5`,"goelks.com":`01a06298-c1fb-7060-97da-e55b0c5f0ae9`,"stampeders.com":`01a06299-5f97-7bb0-8c04-2d58431f129b`,"riderville.com":`01a06299-eb20-7002-a4ac-dcd48bc866c9`,"bluebombers.com":`01a0629a-977a-7941-a9ae-a8e14e2ad55e`,"ticats.ca":`01a0629a-fd52-7c61-b27a-f23e76011d62`,"argonauts.ca":`01a0629b-7b9d-7b39-a70d-3ab0813301a3`,"ottawaredblacks.com":`01a0629c-0a76-72e7-9df9-b45bf9fbb474`,"fr.ottawaredblacks.com":`49438ae0-a9fe-45f9-9c88-f6bf8cb821c8`,"montrealalouettes.com":`01a0629c-84dd-7f1c-950f-d4ca8d996ade`,"en.montrealalouettes.com":`14c070e4-d32b-4b7b-bbb2-ea083cca9643`,localhost:`019df3ac-723b-7ec2-b810-d3ae68a5add5`};function Qi(e){let t=Zi[e.trim().toLowerCase()];return typeof t==`string`?t.trim():``}var $i=`https://cdn.cookielaw.org/scripttemplates/otSDKStub.js`,ea=c({name:`onetrust`,enforce:`pre`,setup(){let e=window.location.hostname;if(f().public.onetrustEnabled===!1){qi(),Yi();return}let t=Qi(e);if(!t){qi(),Yi();return}let n=n=>{let r=document.cookie.split(`; `).find(e=>e.startsWith(`OptanonConsent=`))?.slice(15),i=new URLSearchParams(r?decodeURIComponent(r):``);console.info(`[OneTrust]`,{label:n,hostname:e,domainScriptId:t,optanonActiveGroups:window.OptanonActiveGroups??null,onetrustActiveGroups:window.OnetrustActiveGroups??null,activeGroupsResolved:Ki(),cookieGroups:i.get(`groups`),cookieVersion:i.get(`version`)})},r=window.OptanonWrapper;window.OptanonWrapper=function(){r?.(),Yi(),window.dispatchEvent(new CustomEvent(`cfl:consent-updated`)),console.info(`[OneTrust] Consent updated`,{activeGroups:Ki()}),n(`OptanonWrapper`)},document.addEventListener(`OneTrustGroupsUpdated`,()=>n(`OneTrustGroupsUpdated`));let i=document.createElement(`script`);i.src=$i,i.type=`text/javascript`,i.charset=`UTF-8`,i.setAttribute(`data-domain-script`,t),document.head.appendChild(i),n(`script-injected`)}}),ta=c({name:`nuxt:payload`,setup(e){let t=new Set;
3R().beforeResolve(async(n,r)=>{if(n.path===r.path)return;let i=await sn(n.path);if(i){for(let n of t)delete e.static.data[n];for(let n in i.data)n in e.static.data||t.add(n),e.static.data[n]=i.data[n]}}),yn(()=>{e.hooks.hook(`link:prefetch`,async e=>{let{hostname:t,pathname:n}=new URL(e,window.location.href);t===window.location.hostname&&await sn(e).catch(()=>{nt.NUXT_E7003({url:e})})}),navigator.connection?.effectiveType!==`slow-2g`&&setTimeout(cn,1e3)})}}),na=c(()=>{let e=R();yn(()=>{e.beforeResolve(async()=>{await new Promise(e=>{setTimeout(e,100),requestAnimationFrame(()=>{setTimeout(e,0)})})})})}),ra=c(e=>{let t;async function n(){let r;try{r=await cn()}catch(e){let t=e;if(!(`status`in t&&(t.status===404||t.status===403)))throw t}t&&clearTimeout(t),t=setTimeout(n,l);try{let n=await it(ot(`builds/latest.json`)+`?${Date.now()}`);n.id!==r?.id&&(e.hooks.callHook(`app:manifest:update`,n),t&&clearTimeout(t))}catch{}}yn(()=>{t=setTimeout(n,l)})}),ia=c({name:`nuxt:chunk-reload-crawler`,setup(e){let t=!0;e.hooks.hookOnce(`app:suspense:resolve`,()=>{t=!1}),e.hook(`app:chunkError`,()=>{t&&Be(navigator.userAgent)&&Ti()})}}),aa=c({name:`nuxt:chunk-reload`,setup(e){let t=R(),n=f(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook(`app:chunkError`,({error:e})=>{r.add(e)});function i(e){Ti({path:Re(n.app.baseURL,e.fullPath),persistState:!0})}e.hook(`app:manifest:update`,()=>{t.beforeResolve(i)}),t.onError((e,t)=>{r.has(e)&&i(t)})}}),oa=c({name:`pinia`,setup(e){let t=dt();return e.vueApp.use(t),lt(t),e.payload&&e.payload.pinia&&(t.state.value=e.payload.pinia),{provide:{pinia:t}}},hooks:{"app:rendered"(){let e=u();e.payload.pinia=_(e.$pinia).state.value,lt(void 0)}}}),sa=`__NUXT_COLOR_MODE__`,ca=`nuxt-color-mode`,la=window[sa],ua=c(e=>{let t=st(`color-mode`,()=>ce({preference:la.preference,value:la.value,unknown:!1,forced:!1})).value;R().afterEach(e=>{let n=e.meta.colorMode;if(n&&n!==`system`)da(t,n),t.forced=!0;else{n===`system`&&console.warn(`You cannot force the colorMode to system at the page level.`),t.forced=!1;let e=t.preference===`system`?la.getColorScheme():t.preference;da(t,e)}});let n;function r(){n||!window.matchMedia||(n=window.matchMedia(`(prefers-color-scheme: dark)`),n.addEventListener(`change`,()=>{!t.forced&&t.preference===`system`&&da(t,la.getColorScheme())}))}S(()=>t.preference,e=>{t.forced||(e===`system`?(da(t,la.getColorScheme()),r()):da(t,e),fa(e))},{immediate:!0}),S(()=>t.value,(e,t)=>{let n;n=window.document.createElement(`style`),n.appendChild(document.createTextNode(`*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}`)),window.document.head.appendChild(n),la.removeColorScheme(t),la.addColorScheme(e),window.getComputedStyle(n).opacity,document.head.removeChild(n)}),t.preference===`system`&&r(),e.hook(`app:mounted`,()=>{t.unknown&&=(t.preference=la.preference,da(t,la.value),!1)}),e.provide(`colorMode`,t)});function da(e,t){e.value=t}function fa(e){try{window.localStorage?.setItem(ca,e)}catch{}}var pa=c({name:`@nuxt/icon`,setup(){let e=f(),t=bn().icon;jn.setFetch($fetch.native);let n=[];if(t.provider===`server`){let r=e.app?.baseURL?.replace(/\/$/,``)??``;n.push(r+(t.localApiEndpoint||`/api/_nuxt_icon`)),(t.fallbackToApi===!0||t.fallbackToApi===`client-only`)&&n.push(t.iconifyApiEndpoint)}else t.provider===`none`?jn.setFetch(()=>Promise.resolve(new Response)):n.push(t.iconifyApiEndpoint);async function r(e,t){try{let r=await $fetch(n[0]+`/`+t+`.json`,{query:{icons:e.join(`,`)}});if(!r||r.prefix!==t||!r.icons)throw Error(`Invalid data`+JSON.stringify(r));return r}catch(e){return console.error(`Failed to load custom icons`,e),null}}Mn(``,{resources:n});for(let e of t.customCollections||[])e&&Nn(r,e)}}),ma=E(()=>z(()=>import(`./BYSf0Wjb.js`).then(e=>e.n).then(e=>e.VueLenis||e.default||e),__vite__mapDeps([111,8,1,9,10]),import.meta.url)),ha=E(()=>z(()=>import(`./B3lViHsP.js`).then(e=>e.n).then(e=>e.default||e.default||e),__vite__mapDeps([23,8,1,9,10,3,15,4,2,24]),import.meta.url)),ga=[[`VueLenis`,ma],[`Icon`,ha]],_a=c({name:`nuxt:global-components`,setup(e){for(let[t,n]of ga)e.vueApp.component(t,n),e.vueApp.component(`L
3azy`+t,n)}}),va={default:E(()=>z(()=>import(`./BQqAs5UG.js`).then(e=>e.n).then(e=>e.default||e),__vite__mapDeps([110,8,1,9,10,3,2,4,12,17,18,19,15,11,111,55,26,112,16,28,29,31,30,113,25,66,40,36,37,38,101,114,44,45,115,116,53,54,78,67,71,117,41,89,56,118]),import.meta.url)),error:E(()=>z(()=>import(`./DY5O1c2X.js`).then(e=>e.default||e),__vite__mapDeps([128,1,9,2,3,4,18,12,19,15,113,8,10,17,11,55,25,66,28,29,31,40,36,37,38,101,114,44,45,115,116,53,54,78,67,71,117,41]),import.meta.url)),minimal:E(()=>z(()=>import(`./DvOkU-v2.js`).then(e=>e.default||e),__vite__mapDeps([129,1,45]),import.meta.url))},ya=c({name:`nuxt:prefetch`,setup(e){let t=R();e.hooks.hook(`app:mounted`,()=>{t.beforeEach(async e=>{let t=e?.meta?.layout;t&&typeof va[t]==`function`&&await va[t]()})}),e.hooks.hook(`link:prefetch`,e=>{if(Le(e))return;let n=t.resolve(e);if(!n)return;let r=n.meta.layout,i=Ci(n.meta.middleware).filter(e=>typeof e==`string`);for(let e of i){let t=Di[e];typeof t==`function`&&t()}typeof r==`string`&&r in va&&ln(va[r])})}}),ba=c({name:`sentry-client-config`,async setup(){let e,t;[e,t]=o(()=>z(()=>import(`./u6nOY9QD2.js`),__vite__mapDeps([130,3,1,131]),import.meta.url)),await e,t()}},1),xa={inherit:`inherit`,current:`currentcolor`,transparent:`transparent`,black:`#000`,white:`#fff`,slate:{50:`oklch(98.4% 0.003 247.858)`,100:`oklch(96.8% 0.007 247.896)`,200:`oklch(92.9% 0.013 255.508)`,300:`oklch(86.9% 0.022 252.894)`,400:`oklch(70.4% 0.04 256.788)`,500:`oklch(55.4% 0.046 257.417)`,600:`oklch(44.6% 0.043 257.281)`,700:`oklch(37.2% 0.044 257.287)`,800:`oklch(27.9% 0.041 260.031)`,900:`oklch(20.8% 0.042 265.755)`,950:`oklch(12.9% 0.042 264.695)`},gray:{50:`oklch(98.5% 0.002 247.839)`,100:`oklch(96.7% 0.003 264.542)`,200:`oklch(92.8% 0.006 264.531)`,300:`oklch(87.2% 0.01 258.338)`,400:`oklch(70.7% 0.022 261.325)`,500:`oklch(55.1% 0.027 264.364)`,600:`oklch(44.6% 0.03 256.802)`,700:`oklch(37.3% 0.034 259.733)`,800:`oklch(27.8% 0.033 256.848)`,900:`oklch(21% 0.034 264.665)`,950:`oklch(13% 0.028 261.692)`},zinc:{50:`oklch(98.5% 0 none)`,100:`oklch(96.7% 0.001 286.375)`,200:`oklch(92% 0.004 286.32)`,300:`oklch(87.1% 0.006 286.286)`,400:`oklch(70.5% 0.015 286.067)`,500:`oklch(55.2% 0.016 285.938)`,600:`oklch(44.2% 0.017 285.786)`,700:`oklch(37% 0.013 285.805)`,800:`oklch(27.4% 0.006 286.033)`,900:`oklch(21% 0.006 285.885)`,950:`oklch(14.1% 0.005 285.823)`},neutral:{50:`oklch(98.5% 0 none)`,100:`oklch(97% 0 none)`,200:`oklch(92.2% 0 none)`,300:`oklch(87% 0 none)`,400:`oklch(70.8% 0 none)`,500:`oklch(55.6% 0 none)`,600:`oklch(43.9% 0 none)`,700:`oklch(37.1% 0 none)`,800:`oklch(26.9% 0 none)`,900:`oklch(20.5% 0 none)`,950:`oklch(14.5% 0 none)`},stone:{50:`oklch(98.5% 0.001 106.423)`,100:`oklch(97% 0.001 106.424)`,200:`oklch(92.3% 0.003 48.717)`,300:`oklch(86.9% 0.005 56.366)`,400:`oklch(70.9% 0.01 56.259)`,500:`oklch(55.3% 0.013 58.071)`,600:`oklch(44.4% 0.011 73.639)`,700:`oklch(37.4% 0.01 67.558)`,800:`oklch(26.8% 0.007 34.298)`,900:`oklch(21.6% 0.006 56.043)`,950:`oklch(14.7% 0.004 49.25)`},mauve:{50:`oklch(98.5% 0 none)`,100:`oklch(96% 0.003 325.6)`,200:`oklch(92.2% 0.005 325.62)`,300:`oklch(86.5% 0.012 325.68)`,400:`oklch(71.1% 0.019 323.02)`,500:`oklch(54.2% 0.034 322.5)`,600:`oklch(43.5% 0.029 321.78)`,700:`oklch(36.4% 0.029 323.89)`,800:`oklch(26.3% 0.024 320.12)`,900:`oklch(21.2% 0.019 322.12)`,950:`oklch(14.5% 0.008 326)`},olive:{50:`oklch(98.8% 0.003 106.5)`,100:`oklch(96.6% 0.005 106.5)`,200:`oklch(93% 0.007 106.5)`,300:`oklch(88% 0.011 106.6)`,400:`oklch(73.7% 0.021 106.9)`,500:`oklch(58% 0.031 107.3)`,600:`oklch(46.6% 0.025 107.3)`,700:`oklch(39.4% 0.023 107.4)`,800:`oklch(28.6% 0.016 107.4)`,900:`oklch(22.8% 0.013 107.4)`,950:`oklch(15.3% 0.006 107.1)`},mist:{50:`oklch(98.7% 0.002 197.1)`,100:`oklch(96.3% 0.002 197.1)`,200:`oklch(92.5% 0.005 214.3)`,300:`oklch(87.2% 0.007 219.6)`,400:`oklch(72.3% 0.014 214.4)`,500:`oklch(56% 0.021 213.5)`,600:`oklch(45% 0.017 213.2)`,700:`oklch(37.8% 0.015 216)`,800:`oklch(27.5% 0.011 216.9)`,900:`oklch(21.8% 0.008 223.9)`,950:`oklch(14.8% 0.004 228.8)`},taupe:{50:`oklch(98.6% 0.002 67.8)`,100:`oklch(96% 0.002 17.2)`,200:`oklch(92.2% 0.005 34.3)`,300:`oklch(86.8% 0.007 39.5)`,400:`oklch(71.4% 0.014 41.2)`,500:`oklch(54.7% 0.021 43.1)`,600:`oklch(43.8% 0.017 39.3)`,700:`oklch(36.7% 0.016 35.7)`,800:`oklch(26.8% 0.011 36.5)`,900:`oklch(21.4% 0.009 43.1)`,950:`oklch(14.7% 0.004 49.3)`},red:{50:`oklch(97.1% 0.013 17.38)`,100:`oklch(93.6% 0.032 17.717)`,200:`oklch(88.5% 0.062 18.334)`,300:`oklch(80.8% 0.114 19.571)`,400:`oklch(70.4% 0.191 22.216)`,500:`oklch(63.7% 0.237 25.331)`,600:`oklch(57.7% 0.245 27.325)`,700:`oklch(50.5% 0.213 27.518)`,800:`oklch(44.4% 0.177 26.899)`,900:`oklch(39.6% 0.141 25.723)`,950:`oklch(25.8% 0.092 26.042)`},orange:{50:`oklch(98% 0.016 73.684)`,100:`oklch(95.4% 0.038 75.164)`,200:`oklch(90.1% 0.076 70.697)`,3
300:`oklch(83.7% 0.128 66.29)`,400:`oklch(75% 0.183 55.934)`,500:`oklch(70.5% 0.213 47.604)`,600:`oklch(64.6% 0.222 41.116)`,700:`oklch(55.3% 0.195 38.402)`,800:`oklch(47% 0.157 37.304)`,900:`oklch(40.8% 0.123 38.172)`,950:`oklch(26.6% 0.079 36.259)`},amber:{50:`oklch(98.7% 0.022 95.277)`,100:`oklch(96.2% 0.059 95.617)`,200:`oklch(92.4% 0.12 95.746)`,300:`oklch(87.9% 0.169 91.605)`,400:`oklch(82.8% 0.189 84.429)`,500:`oklch(76.9% 0.188 70.08)`,600:`oklch(66.6% 0.179 58.318)`,700:`oklch(55.5% 0.163 48.998)`,800:`oklch(47.3% 0.137 46.201)`,900:`oklch(41.4% 0.112 45.904)`,950:`oklch(27.9% 0.077 45.635)`},yellow:{50:`oklch(98.7% 0.026 102.212)`,100:`oklch(97.3% 0.071 103.193)`,200:`oklch(94.5% 0.129 101.54)`,300:`oklch(90.5% 0.182 98.111)`,400:`oklch(85.2% 0.199 91.936)`,500:`oklch(79.5% 0.184 86.047)`,600:`oklch(68.1% 0.162 75.834)`,700:`oklch(55.4% 0.135 66.442)`,800:`oklch(47.6% 0.114 61.907)`,900:`oklch(42.1% 0.095 57.708)`,950:`oklch(28.6% 0.066 53.813)`},lime:{50:`oklch(98.6% 0.031 120.757)`,100:`oklch(96.7% 0.067 122.328)`,200:`oklch(93.8% 0.127 124.321)`,300:`oklch(89.7% 0.196 126.665)`,400:`oklch(84.1% 0.238 128.85)`,500:`oklch(76.8% 0.233 130.85)`,600:`oklch(64.8% 0.2 131.684)`,700:`oklch(53.2% 0.157 131.589)`,800:`oklch(45.3% 0.124 130.933)`,900:`oklch(40.5% 0.101 131.063)`,950:`oklch(27.4% 0.072 132.109)`},green:{50:`oklch(98.2% 0.018 155.826)`,100:`oklch(96.2% 0.044 156.743)`,200:`oklch(92.5% 0.084 155.995)`,300:`oklch(87.1% 0.15 154.449)`,400:`oklch(79.2% 0.209 151.711)`,500:`oklch(72.3% 0.219 149.579)`,600:`oklch(62.7% 0.194 149.214)`,700:`oklch(52.7% 0.154 150.069)`,800:`oklch(44.8% 0.119 151.328)`,900:`oklch(39.3% 0.095 152.535)`,950:`oklch(26.6% 0.065 152.934)`},emerald:{50:`oklch(97.9% 0.021 166.113)`,100:`oklch(95% 0.052 163.051)`,200:`oklch(90.5% 0.093 164.15)`,300:`oklch(84.5% 0.143 164.978)`,400:`oklch(76.5% 0.177 163.223)`,500:`oklch(69.6% 0.17 162.48)`,600:`oklch(59.6% 0.145 163.225)`,700:`oklch(50.8% 0.118 165.612)`,800:`oklch(43.2% 0.095 166.913)`,900:`oklch(37.8% 0.077 168.94)`,950:`oklch(26.2% 0.051 172.552)`},teal:{50:`oklch(98.4% 0.014 180.72)`,100:`oklch(95.3% 0.051 180.801)`,200:`oklch(91% 0.096 180.426)`,300:`oklch(85.5% 0.138 181.071)`,400:`oklch(77.7% 0.152 181.912)`,500:`oklch(70.4% 0.14 182.503)`,600:`oklch(60% 0.118 184.704)`,700:`oklch(51.1% 0.096 186.391)`,800:`oklch(43.7% 0.078 188.216)`,900:`oklch(38.6% 0.063 188.416)`,950:`oklch(27.7% 0.046 192.524)`},cyan:{50:`oklch(98.4% 0.019 200.873)`,100:`oklch(95.6% 0.045 203.388)`,200:`oklch(91.7% 0.08 205.041)`,300:`oklch(86.5% 0.127 207.078)`,400:`oklch(78.9% 0.154 211.53)`,500:`oklch(71.5% 0.143 215.221)`,600:`oklch(60.9% 0.126 221.723)`,700:`oklch(52% 0.105 223.128)`,800:`oklch(45% 0.085 224.283)`,900:`oklch(39.8% 0.07 227.392)`,950:`oklch(30.2% 0.056 229.695)`},sky:{50:`oklch(97.7% 0.013 236.62)`,100:`oklch(95.1% 0.026 236.824)`,200:`oklch(90.1% 0.058 230.902)`,300:`oklch(82.8% 0.111 230.318)`,400:`oklch(74.6% 0.16 232.661)`,500:`oklch(68.5% 0.169 237.323)`,600:`oklch(58.8% 0.158 241.966)`,700:`oklch(50% 0.134 242.749)`,800:`oklch(44.3% 0.11 240.79)`,900:`oklch(39.1% 0.09 240.876)`,950:`oklch(29.3% 0.066 243.157)`},blue:{50:`oklch(97% 0.014 254.604)`,100:`oklch(93.2% 0.032 255.585)`,200:`oklch(88.2% 0.059 254.128)`,300:`oklch(80.9% 0.105 251.813)`,400:`oklch(70.7% 0.165 254.624)`,500:`oklch(62.3% 0.214 259.815)`,600:`oklch(54.6% 0.245 262.881)`,700:`oklch(48.8% 0.243 264.376)`,800:`oklch(42.4% 0.199 265.638)`,900:`oklch(37.9% 0.146 265.522)`,950:`oklch(28.2% 0.091 267.935)`},indigo:{50:`oklch(96.2% 0.018 272.314)`,100:`oklch(93% 0.034 272.788)`,200:`oklch(87% 0.065 274.039)`,300:`oklch(78.5% 0.115 274.713)`,400:`oklch(67.3% 0.182 276.935)`,500:`oklch(58.5% 0.233 277.117)`,600:`oklch(51.1% 0.262 276.966)`,700:`oklch(45.7% 0.24 277.023)`,800:`oklch(39.8% 0.195 277.366)`,900:`oklch(35.9% 0.144 278.697)`,950:`oklch(25.7% 0.09 281.288)`},violet:{50:`oklch(96.9% 0.016 293.756)`,100:`oklch(94.3% 0.029 294.588)`,200:`oklch(89.4% 0.057 293.283)`,300:`oklch(81.1% 0.111 293.571)`,400:`oklch(70.2% 0.183 293.541)`,500:`oklch(60.6% 0.25 292.717)`,600:`oklch(54.1% 0.281 293.009)`,700:`oklch(49.1% 0.27 292.581)`,800:`oklch(43.2% 0.232 292.759)`,900:`oklch(38% 0.189 293.745)`,950:`oklch(28.3% 0.141 291.089)`},purple:{50:`oklch(97.7% 0.014 308.299)`,100:`oklch(94.6% 0.033 307.174)`,200:`oklch(90.2% 0.063 306.703)`,300:`oklch(82.7% 0.119 306.383)`,400:`oklch(71.4% 0.203 305.504)`,500:`oklch(62.7% 0.265 303.9)`,600:`oklch(55.8% 0.288 302.321)`,700:`oklch(49.6% 0.265 301.924)`,800:`oklch(43.8% 0.218 303.724)`,900:`oklch(38.1% 0.176 304.987)`,950:`oklch(29.1% 0.149 302.717
3)`},fuchsia:{50:`oklch(97.7% 0.017 320.058)`,100:`oklch(95.2% 0.037 318.852)`,200:`oklch(90.3% 0.076 319.62)`,300:`oklch(83.3% 0.145 321.434)`,400:`oklch(74% 0.238 322.16)`,500:`oklch(66.7% 0.295 322.15)`,600:`oklch(59.1% 0.293 322.896)`,700:`oklch(51.8% 0.253 323.949)`,800:`oklch(45.2% 0.211 324.591)`,900:`oklch(40.1% 0.17 325.612)`,950:`oklch(29.3% 0.136 325.661)`},pink:{50:`oklch(97.1% 0.014 343.198)`,100:`oklch(94.8% 0.028 342.258)`,200:`oklch(89.9% 0.061 343.231)`,300:`oklch(82.3% 0.12 346.018)`,400:`oklch(71.8% 0.202 349.761)`,500:`oklch(65.6% 0.241 354.308)`,600:`oklch(59.2% 0.249 0.584)`,700:`oklch(52.5% 0.223 3.958)`,800:`oklch(45.9% 0.187 3.815)`,900:`oklch(40.8% 0.153 2.432)`,950:`oklch(28.4% 0.109 3.907)`},rose:{50:`oklch(96.9% 0.015 12.422)`,100:`oklch(94.1% 0.03 12.58)`,200:`oklch(89.2% 0.058 10.001)`,300:`oklch(81% 0.117 11.638)`,400:`oklch(71.2% 0.194 13.428)`,500:`oklch(64.5% 0.246 16.439)`,600:`oklch(58.6% 0.253 17.585)`,700:`oklch(51.4% 0.222 16.935)`,800:`oklch(45.5% 0.188 13.697)`,900:`oklch(41% 0.159 10.272)`,950:`oklch(27.1% 0.105 12.094)`}},Sa=[50,100,200,300,400,500,600,700,800,900,950];function Ca(e,t){return e in xa&&typeof xa[e]==`object`&&t in xa[e]?xa[e][t]:``}function wa(e,t,n){let r=n?`${n}-`:``;return`${Sa.map(n=>`--ui-color-${e}-${n}: var(--${r}color-${t===`neutral`?`old-neutral`:t}-${n}, ${Ca(t,n)});`).join(`
4  `)}`}function Ta(e,t){return`--ui-${e}: var(--ui-color-${e}-${t});`}function Ea(){document.querySelector(`[data-nuxt-ui-colors]`)?.remove()}var Da=c(()=>{let e=bn(),t=u(),n=M(()=>{let{neutral:t,...n}=e.ui.colors,r=e.ui.prefix;return`@layer theme {
5  :root, :host {
6  ${Object.entries(e.ui.colors).map(([e,t])=>wa(e,t,r)).join(`
7  `)}
8  }
9  :root, :host, .light {
10  ${Object.keys(n).map(e=>Ta(e,500)).join(`
11  `)}
12  }
13  .dark {
14  ${Object.keys(n).map(e=>Ta(e,400)).join(`
15  `)}
16  }
17}`}),r={style:[{innerHTML:n,tagPriority:`critical`,id:`nuxt-ui-colors`}]};if(t.isHydrating&&!t.payload.serverRendered){let e=document.createElement(`style`);e.innerHTML=n.value,e.setAttribute(`data-nuxt-ui-colors`,``),document.head.appendChild(e);let t=kt().hooks?.hook(`dom:rendered`,()=>{Ea(),t?.()})}rn(r)}),Oa=c({setup(e){e.vueApp.use(Pn)}}),ka=[`i18n:plugin`,`i18n:plugin:ssg-detect`,`i18n:plugin:route-locale-detect`];function Aa(){return u().$nuxtSiteConfig}function ja(e){let t=x(e.locales).find(t=>t.code===e.defaultLocale);return t?.language||t?.iso||e.defaultLocale}function Ma(e){return x(e.baseUrl)||void 0}function Na(e){let t=x(e.localeProperties);return t.language?t.language:ja(e)}function Pa(e){return e.te(`nuxtSiteConfig.description`)?e.t(`nuxtSiteConfig.description`):void 0}function Fa(e){return e.te(`nuxtSiteConfig.name`)?e.t(`nuxtSiteConfig.name`):void 0}var Ia=c({name:`nuxt-site-config:i18n`,dependsOn:ka,setup(e){let t=e.$i18n;if(!t)return;let n=Aa(),r=x(t.baseUrl);if(r){let e=n.get({resolveRefs:!0}),t=e.url;if(t&&!t.includes(`localhost`)){let n=ze(r,`https://`),i=ze(t,`https://`);n.host!==i.host&&e.env===`production`&&console.error(`[Nuxt Site Config] Your I18n baseUrl \`${n.host}\` doesn't match your site url ${i.host}. This will cause production SEO issues. Either provide a matching baseUrl or remove the site url config.`)}}let i=M(()=>ja(t)),a=M(()=>Ma(t)),o=M(()=>Na(t)),s=M(()=>Pa(t)),c=M(()=>Fa(t)),l;S(t.locale,()=>{l&&l(),l=n.push({_priority:Ii.build,_context:`@nuxtjs/i18n`,url:a,defaultLocale:i,currentLocale:o,description:s,name:c})},{immediate:!0})}}),La=new Map,Ra=Ge((e,t,n)=>{if(t===`messages`||t===`datetimeFormats`||t===`numberFormats`)return e[t]??=mt(null),ht(n,e[t]),!0});async function za(e){let t=u(),n={messages:mt(null)};for(let r of e){let e=await r().then(e=>Ba(e)?e.default:e),i=ft(e)?await t.runWithContext(()=>e()):e;n=Ra(mt(null),i,n)}return n.fallbackLocale??=!1,n}var Ba=e=>ct(e)===`[object Module]`;async function Va(e,t){let n=u();try{let r=await n.runWithContext(t.load).then(e=>Ba(e)?e.default:e);return ft(r)?await n.runWithContext(()=>r(e)):r}catch(t){throw Error(`Failed loading locale (${e}): `+t.message,{cause:t})}}async function Ha(e,t=[]){let n=u(),r=await Promise.all(t.map(async t=>{let r=Ua(t),i=r||await n.runWithContext(()=>Va(e,t));return!r&&t.cache!==!1&&La.set(t.key,{ttl:Date.now()+86400*1e3,value:i}),i})),i={};for(let e of r)ht(e,i);return i}
17function Ua(e){if(e.cache===!1)return;let t=La.get(e.key);if(t!=null)return t.ttl>Date.now()?t.value:void 0}function Wa(e){return e!=null&&`global`in e&&`mode`in e?e.global:e}function Ga(e){let t=Wa(e);return`__composer`in t?t.__composer:t}var Ka=()=>st(`i18n:cached-locale-configs`,()=>void 0),qa=()=>st(`i18n:resolved-locale`,()=>``);function Ja(e){let{baseUrl:t,appBase:n,domains:r,defaultLocale:i,getDomainFromLocale:a}=e,o=ft(t)?t:()=>r&&i&&a(i)||t||``;return e=>Re(e&&a(e)||o(),n)}function Ya({cookieCrossOrigin:e,cookieDomain:t,cookieSecure:n,cookieKey:r}){let i=new Date;return an(r||`i18n_redirected`,{path:`/`,readonly:!1,expires:new Date(i.setDate(i.getDate()+365)),sameSite:e?`none`:`lax`,domain:t||void 0,secure:e||n})}function Xa(e,t,n){let r=Wa(t),i=nn(e),a=en(e),o=Ka(),s=Ya(a),c=new Set,l=e=>o.value[e],u=Ja({baseUrl:ft(i.baseUrl)?()=>i.baseUrl(e):i.baseUrl,appBase:e.$config.app.baseURL,domains:!0,defaultLocale:n,getDomainFromLocale:e=>Jt(i.domainLocales,mn({xForwardedHost:!0}),e)}),d=qa(),f=async t=>{let n=l(t)?.fallbacks??[];n.includes(t)||n.push(t);for(let t of n){let n=await e.runWithContext(()=>Ha(t,Kt[t]));r.mergeLocaleMessage(t,n)}},p=async e=>{if(!(e in Kt))return;let t=l(e)?.cacheable?{}:{"Cache-Control":`no-cache`},n=Re(``,`/_i18n`,{"en-CA":`14e660c5`,"fr-CA":`14e660c5`}[e],e,`messages.json`),i=await $fetch(n,{headers:t});for(let e of Object.keys(i))r.mergeLocaleMessage(e,i[e])},m={vueI18n:t,initial:!0,preloaded:!1,config:i,rootRedirect:Rt(i.rootRedirect),redirectStatusCode:i.redirectStatusCode??302,dynamicResourcesSSG:!1,getDefaultLocale:()=>n,getLocale:()=>D(r.locale),setLocale:async t=>{let n=m.getLocale();t===n||!At(t)||(xe(r.locale)?r.locale.value=t:r.locale=t,await e.callHook(`i18n:localeSwitched`,{newLocale:t,oldLocale:n}),d.value=t)},setLocaleSuspend:async t=>{At(t)&&(m.vueI18n.__pendingLocale=t,m.vueI18n.__pendingLocalePromise=new Promise(e=>{m.vueI18n.__resolvePendingLocalePromise=async()=>{m.setCookieLocale(t),await m.setLocale(t),m.vueI18n.__pendingLocale=void 0,e()}}),(e.isHydrating||!m.config.skipSettingLocaleOnNavigate)&&await m.vueI18n.__resolvePendingLocalePromise?.())},getLocales:()=>D(r.locales).map(e=>_t(e)?{code:e}:e),setCookieLocale:e=>{a.useCookie&&At(e)&&(s.value=e)},getBaseUrl:u,loadMessages:async t=>{if(!(e.isHydrating&&c.has(t)))try{return m.dynamicResourcesSSG?await f(t):await p(t)}catch(e){console.warn(`Failed to load messages for locale "${t}"`,e)}finally{c.add(t)}},composableCtx:void 0};return m.composableCtx=Yt(m,e),m}function Za(e){if(e._nuxtI18n==null)throw Error(`Nuxt I18n context has not been set up yet.`);return e._nuxtI18n}function Qa(e,t){let n=[];for(let[r,i]of t.entries()){let a=e.find(e=>e.language?.toLowerCase()===i.toLowerCase());if(a){n.push({code:a.code,score:1-r/t.length});break}}for(let[r,i]of t.entries()){let a=i.split(`-`)[0].toLowerCase(),o=e.find(e=>e.language?.split(`-`)[0].toLowerCase()===a);if(o){n.push({code:o.code,score:.999-r/t.length});break}}return n}function $a(e,t){return e.score===t.score?t.code.length-e.code.length:t.score-e.score}function eo(e,t){return Qa(e.map(e=>({code:e.code,language:e.language||e.code})),t).sort($a).at(0)?.code??``}var to=(e,t)=>an(t).value||void 0,no=(e,t)=>jt(t),ro=e=>eo(vt,navigator.languages),io=(e,t,n)=>{let r=new URL(window.location.href).host;return Wt(vt.map(e=>Ut(e,n)),r,bt(t))},ao=(e,t,n)=>{let r=nn(n);return{cookie:()=>to(e,t.cookieKey),header:()=>void 0,navigator:()=>ro(e),host:t=>io(e,t,r.domainLocales),route:t=>no(e,t)}};function oo(e){let{detection:t,routing:n,domains:r}=e,i=e.isSupportedLocale??At;function a(e,r){return n?!!(t.redirectOn===`root`&&e!==`/`||t.redirectOn===`no prefix`&&!t.alwaysRedirect&&i(r)):!1}return function(e,o,s){let c=_t(o)?Ne(o).pathname:o.path;function*l(){let i=s&&t.enabled&&!a(c,e.route(c));i&&(yield e.cookie(),yield e.header(),yield e.navigator()),r&&(yield e.host(c)),n&&(yield e.route(o)),i&&(yield t.fallbackLocale)}for(let e of l())if(e&&i(e))return e;return``}}async function so(e,t){let n=Za(e),r=n.getLocale();if(t===r&&!n.initial&&(!n.vueI18n.__pendingLocale||n.vueI18n.__pendingLocale===t))return t;let i={oldLocale:r,newLocale:t,initialSetup:n.initial,context:e},a=await e.callHook(`i18n:beforeLocaleSwitch`,i);return a??=i.newLocale,At(a)&&(t=a),await n.loadMessages(t),await n.setLocaleSuspend(t),t}function co(e,t){let n=en(e),r=ao(at(e),n,e),i=Za(e);return oo({detection:n,routing:!1,domains:!0})(r,t,i.initial)||i.getLocale()||i.getDefaultLocale()||``}var lo=c({name:`i18n:plugin:route-locale-detect`,dependsOn:[`i18n:plugin`],async setup(e){let t,n,r=u(e._id),i=Za(r),a=qa();[t,n]=o(()=>r.runWithContext(()=>so(r,i.initial&&a.value||co(r,r.$router.currentRoute.value)))),await t,n()}},1);function uo(e,{extendComposer:t,extendComposerInstance:n}){let r=de(),i=e.install.bind(e);e.install=(a,...o)=>{let s=gt({},o[0]);s.__composerExtend=t=>(n(t,Ga(e)),()=>{}),e.mode===`legacy`&&(s.__vueI18nExtend=e=>(n(e,Ga(e)),()=>{})),Reflect.apply(i,e,[a,s]);let c=Ga(e);if(r.run(()=>{t(c),e.mode===`legacy`&&`__composer`in e.global&&n(e.global,Ga(e.global))}),e.mode===`composition`&&a.config.globalProperties.$i18n!=null&&n(a.config.globalProperties.$i18n,c),a.unmount){let e=a.unmount.bind(a);a.unmount=()=>{r.stop(),e()}}}}var fo=async e=>{let t=await za(Gt);t.locale=e||t.locale||`en-US`,t.defaultLocale=e,t.fallbackLocale??=!1,t.messages??={};for(let e of Ot)t.messages[e]??={};return t};function po(e,t,n=R()){if(!(t!==`prefix_except_default`&&t!==`prefix_and_default`))for(let t of n.getRoutes()){let r=String(t.name);if(r.endsWith(`___default`)){n.removeRoute(r);continue}let i=xt(r);i===e&&n.addRoute({...t,path:t.path.replace(RegExp(`^/${i}/?`),`/`)})}}var mo=c({name:`i18n:plugin`,parallel:!1,async setup(e){let t,n;Object.defineProperty(e.versions,"nuxtI18n",{get:()=>
17`10.5.0`});let i=u(e._id),a=nn(i),s=i.ssrContext?.event?.context?.nuxtI18n?.vueI18nOptions,c=tn(mn({xForwardedHost:!0}).host)||a.defaultLocale||``,l=s||([t,n]=o(()=>fo(c)),t=await t,n(),t),d=Ka();d.value??=zt(l.fallbackLocale),po(l.defaultLocale,`no_prefix`),rt(Ot.map(e=>`/_i18n/${{"en-CA":`14e660c5`,"fr-CA":`14e660c5`}[e]}/${e}/messages.json`));let f=r(l),p=ao(at(i),en(i),i),m=Xa(i,f,l.defaultLocale);i._nuxtI18n=m,uo(f,{extendComposer(e){e.locales=M(()=>a.locales.map(e=>Ut(e,a.domainLocales))),e.localeCodes=M(()=>Ot);let t=Se(m.getBaseUrl());e.baseUrl=M(()=>t.value),S(e.locale,()=>t.value=m.getBaseUrl()),e.strategy=`no_prefix`,e.localeProperties=M(()=>Ut(vt.find(t=>t.code===e.locale.value)||{code:e.locale.value},a.domainLocales)),e.setLocale=async e=>{await so(i,e),await i.runWithContext(()=>(i.$router.currentRoute.value,void 0))},e.loadLocaleMessages=m.loadMessages,e.differentDomains=!0,e.defaultLocale=l.defaultLocale,e.getBrowserLocale=()=>yt(p.navigator()),e.getLocaleCookie=()=>yt(p.cookie()),e.setLocaleCookie=m.setCookieLocale,e.finalizePendingLocaleChange=async()=>{f.__pendingLocale&&await f.__resolvePendingLocalePromise?.()},e.waitForPendingLocaleChange=async()=>{await f?.__pendingLocalePromise}},extendComposerInstance(e,t){let n=[[`locales`,()=>t.locales],[`localeCodes`,()=>t.localeCodes],[`baseUrl`,()=>t.baseUrl],[`strategy`,()=>`no_prefix`],[`localeProperties`,()=>t.localeProperties],[`setLocale`,()=>e=>Reflect.apply(t.setLocale,t,[e])],[`loadLocaleMessages`,()=>e=>Reflect.apply(t.loadLocaleMessages,t,[e])],[`differentDomains`,()=>!0],[`defaultLocale`,()=>t.defaultLocale],[`getBrowserLocale`,()=>()=>Reflect.apply(t.getBrowserLocale,t,[])],[`getLocaleCookie`,()=>()=>Reflect.apply(t.getLocaleCookie,t,[])],[`setLocaleCookie`,()=>e=>Reflect.apply(t.setLocaleCookie,t,[e])],[`finalizePendingLocaleChange`,()=>()=>Reflect.apply(t.finalizePendingLocaleChange,t,[])],[`waitForPendingLocaleChange`,()=>()=>Reflect.apply(t.waitForPendingLocaleChange,t,[])]];for(let[t,r]of n)Object.defineProperty(e,t,{get:r})}}),i.vueApp.use(f),Object.defineProperty(i,"$i18n",{get:()=>Wa(f)}),i.provide(`localeHead`,e=>Ht(i._nuxtI18n.composableCtx,e)),i.provide(`localePath`,Bt(i)),i.provide(`localeRoute`,qt(i)),i.provide(`routeBaseName`,$t(i)),i.provide(`getRouteBaseName`,$t(i)),i.provide(`switchLocalePath`,Vt(i))}},1),ho=`nuxt-i18n-slp`,go=new RegExp([`<!--${ho}-\\[(\\w+)\\]-->`,`.+?`,`<!--/${ho}-->`].join(``),`g`),_o=c({name:`i18n:plugin:switch-locale-path-ssr`,dependsOn:[`i18n:plugin`],setup(e){let t=u(e._id),n=Vt(t);t.hook(`app:rendered`,e=>{e.renderResult?.html!=null&&(e.renderResult.html=e.renderResult.html.replaceAll(go,(e,t)=>{let r=encodeURI(n(t??``));return e.replace(/href="([^"]+)"/,`href="${r||`#`}" `)}))})}}),vo=c({name:`i18n:plugin:preload`,dependsOn:[`i18n:plugin`],async setup(e){}},1),yo=[`local`,`dev`,`staging`,`prod`];function bo(e,t){return t?`local`:yo.includes(e)?e:`local`}var xo={exclude:[`rudderstack`]};function So(e){return{event:`page_view`,page_location:window.location.href,page_path:e.fullPath,page_title:document.title,page_type:e.meta.analytics?.pageType??`other`}}function Co(e){let t=e.indexOf(`#`);return t===-1?e:e.slice(0,t)}function wo(e,t={}){let n=typeof window>`u`?null:Co(window.location.pathname+window.location.search);return function(r){if(typeof window>`u`)return;let i=Co(r.fullPath);i!==n&&(n=i,setTimeout(()=>{for(let n of[()=>e.track(So(r),xo),...t.also??[]])try{n()}catch(e){console.error(`[analytics] page view emitter failed`,e)}},0))}}function To(e,t){return t?.length?e.filter(e=>!t.includes(e.name)):e}function Eo(e,t,n){for(let r of e)try{r.push(t)}catch(e){n&&console.error(`[analytics] sink "${r.name}" failed`,e)}}function Do(e){return{track(t,n){e.validate;let r=e.context?{...e.context(),...t}:t;e.debug&&console.log(`[analytics]`,r),Eo(To(e.sinks,n?.exclude),r,e.debug)}}}function Oo(e){return JSON.stringify(e).replace(/</g,`\\u003c`)}var ko=[`gtag('consent','default',{`,`ad_storage:'denied',ad_user_data:'denied',ad_personalization:'denied',`,`analytics_storage:'denied',functionality_storage:'denied',`,`personalization_storage:'denied',security_storage:'granted',`,`wait_for_update:500});`].join(``),Ao=[`function __cflConsent(){`,`var g=','+String(window.OptanonActiveGroups||'')+',';`,`var a=g.indexOf(',2,')>-1?'granted':'denied';`,`var t=g.indexOf(',4,')>-1?'granted':'denied';`,`gtag('consent','update',{analytics_storage:a,ad_storage:t,`,`ad_user_data:t,ad_personalization:t,`,`functionality_storage:a,personalization_storage:t});}`,`window.addEventListener('OneTrustGroupsUpdated',__cflConsent);`,`if(window.OptanonActiveGroups)__cflConsent();`].join(``);function jo(e,t={}){if(!e)return;let n=Oo(e),r=t.consentMode?ko:``,i=t.consentMode?Ao:``;rn({script:[{innerHTML:[`window.dataLayer=window.dataLayer||[];`,`function gtag(){dataLayer.push(arguments);}`,`window.gtag=gtag;`,r,`gtag('js',new Date());`,`gtag('config',${n},${Oo({send_page_view:!0,...t.params??{}})});`,i].join(``),tagPriority:`critical`}
17,{src:`https://www.googletagmanager.com/gtag/js?id=${encodeURIComponent(e)}`,async:!0,tagPriority:`high`}]})}function Mo(){return{name:`ga4`,push(e){if(typeof window>`u`)return;let{event:t,...n}=e;window.gtag?.(`event`,t,n)}}}function No(e){let t=e.filter(Boolean);t.length!==0&&rn({script:[{tagPriority:`critical`,innerHTML:`window.dataLayer=window.dataLayer||[];window.dataLayer.push({'gtm.start':Date.now(),event:'gtm.js'});`},...t.map(e=>({src:`https://www.googletagmanager.com/gtm.js?id=${e}`,async:!0,tagPriority:`high`}))]})}var Po={lcf:[`GTM-5LKFB2LW`],bc:[`GTM-NBLM5FS`],cgy:[`GTM-K25HPBX`,`GTM-MX4P77T`,`GTM-KKG6FF2`],edm:[`GTM-WWXPP3L`,`GTM-MC55CSF`,`GTM-W8HK7C`],ssk:[`GTM-5D2TKNP`],wpg:[`GTM-55KFK6R`,`GTM-TR5ZCRV`],ham:[`GTM-WR7CV3H`],tor:[`GTM-WH4XKZS`],ott:[`GTM-KHRG9MM`],mtl:[`GTM-MT7DKKT`]};function Fo(e){return Po[e]??[]}function Io(){return{name:`gtm`,push(e){typeof window>`u`||(window.dataLayer=window.dataLayer||[],window.dataLayer.push(e))}}}function Lo(e,t){for(let[n,r]of t.splice(0))e.track(n,r)}function Ro(e,t){for(let n of t.splice(0))e.page(n)}function zo(e,t){for(let n of t.splice(0))e.identify(n)}function Bo(e,t,n){if(!e||!t||typeof window>`u`)return;let r=window.rudderanalytics;if(!r){console.error(`[rudderstack] window.rudderanalytics is undefined; SSR snippet did not run`);return}n.analytics=r,Lo(r,n.queue),Ro(r,n.pageQueue),zo(r,n.identifyQueue)}function Vo(e){return function(t={}){typeof window>`u`||(e.analytics?e.analytics.page(t):e.pageQueue.push(t))}}function Ho(e){return{name:`rudderstack`,push(t){if(typeof window>`u`)return;let{event:n,...r}=t;e.analytics?e.analytics.track(n,r):e.queue.push([n,r])}}}var Uo=`https://cdn.rudderlabs.com/v3`,Wo=[`setDefaultInstanceKey`,`load`,`ready`,`page`,`track`,`identify`,`alias`,`group`,`reset`,`setAnonymousId`,`startSession`,`endSession`,`consent`];function Go(e,t,n={}){if(!e||!t)return;let r=Oo(e),i=Oo(t),a=Oo(n);rn({script:[{innerHTML:[`(function(){`,`var g='rudderanalytics';var q=window[g]=window[g]||[];`,`if(q.snippetExecuted)return;q.snippetExecuted=true;`,`var m=${Oo(Wo)};`,`for(var i=0;i<m.length;i++){(function(n){q[n]=function(){`,`if(Array.isArray(window[g])){q.push([n].concat(Array.prototype.slice.call(arguments)));}`,`else if(window[g][n]){window[g][n].apply(window[g],arguments);}`,`};})(m[i]);}`,`var b='legacy';`,`try{new Function('class T{f=()=>{};t({p=[]}={}){return p?.p??[...p]}}');b='modern';}catch(e){}`,`var s=document.createElement('script');s.src=${Oo(Uo)}+'/'+b+'/rsa.min.js';`,`s.async=true;s.setAttribute('data-loader','RS_JS_SDK');`,`var h=document.head||document.getElementsByTagName('head')[0];h.insertBefore(s,h.firstChild);`,`q.load(${r},${i});`,`q.page(${a});`,`})();`].join(``),tagPriority:`critical`}]})}var Ko=new WeakMap;function qo(e){function t(t,n){let r=Ko.get(t);if(r){r.payloadRef.current=n;return}if(!n)return;let i={current:n},a=()=>{let t=i.current;t&&e.track(t)};Ko.set(t,{handler:a,payloadRef:i}),t.addEventListener(`click`,a)}function n(e){let t=Ko.get(e);t&&(e.removeEventListener(`click`,t.handler),Ko.delete(e))}return{getSSRProps(){return{}},mounted(e,n){t(e,n.value)},updated(e,n){t(e,n.value)},unmounted(e){n(e)}}}var Jo=new WeakMap;function Yo(e){function t(t,r){if(n(t),!r)return;let i=In(t,()=>{e.track(r)});Jo.set(t,i)}function n(e){let t=Jo.get(e);t&&(t(),Jo.delete(e))}return{getSSRProps(){return{}},mounted(e,n){t(e,n.value)},updated(e,n){n.value!==n.oldValue&&t(e,n.value)},unmounted(e){n(e)}}}var Xo=c(e=>{let t=f(),n=t.public.gtmContainerId,r=t.public.analyticsDebug,i=On().value?.code;No([n,...i?Fo(i):[]]);let a=t.public.ga4MeasurementId,o=[Io(),Mo()],s=bo(t.public.analyticsEnvironment,!1),c=()=>({club:On().value?.code??null,environment:s});jo(a,{consentMode:!!t.public.ga4ConsentModeEnabled,params:{...c(),...s===`prod`?{}:{traffic_type:`internal`}}});let l={analytics:null,queue:[],pageQueue:[],identifyQueue:[]},{rudderstackWriteKey:u,rudderstackDataPlaneUrl:d}=t.public,p=null;if(u&&d){Go(u,d,c()),Bo(u,d,l),o.push(Ho(l));{let e=Vo(l);p=()=>e(c())}}let m=Do({sinks:o,debug:r,context:c});return e.vueApp.directive(`track`,qo(m)),e.vueApp.directive(`track-view`,Yo(m)),R().afterEach(wo(m,{also:p?[p]:[]})),{provide:{analytics:m,rudderIdentify:e=>{!u||!d||!e||(l.analytics?l.analytics.identify(e):l.identifyQueue.push(e))}}}}),Zo=c(()=>{an(`cfl-auth-checking`).value&&Hn().setChecking(!0)}),Qo=`application/json`,$o=class{#e=[];#t;#n=!0;#r;#i=this.#O(console.info);#a=this.#O(console.warn);#o={enable:!0,callbackList:[],interval:5};#s;didInitialize=!1;authenticated=!1;loginRequired=!1;responseMode=`fragment`;responseType=`code`;flow=`standard`;timeSkew=null;redirectUri;silentCheckSsoRedirectUri;silentCheckSsoFallback=!0;pkceMethod=`S256`;enableLogging=!1;logoutMethod=`GET`;scope;messageReceiveTimeout=1e4;idToken;idTokenParsed;token;tokenParsed;refreshToken;refreshTokenParsed;clientId;sessionId;subject;authServerUrl;realm;
17realmAccess;resourceAccess;profile;userInfo;endpoints;tokenTimeoutHandle;onAuthSuccess;onAuthError;onAuthRefreshSuccess;onAuthRefreshError;onTokenExpired;onAuthLogout;onReady;onActionUpdate;constructor(e){if(typeof e!=`string`&&!gs(e))throw Error(`The 'Keycloak' constructor must be provided with a configuration object, or a URL to a JSON configuration file.`);if(gs(e)){let t=`oidcProvider`in e?[`clientId`]:[`url`,`realm`,`clientId`];for(let n of t)if(!(n in e))throw Error(`The configuration object is missing the required '${n}' property.`)}globalThis.isSecureContext||this.#a(`[KEYCLOAK] Keycloak JS must be used in a 'secure context' to function properly as it relies on browser APIs that are otherwise not available.
18Continuing to run your application insecurely will lead to unexpected behavior and breakage.
19
20For more information see: https://developer.mozilla.org/en-US/docs/Web/Security/Secure_Contexts`),this.#s=e}init=async(e={})=>{if(this.didInitialize)throw Error(`A 'Keycloak' instance can only be initialized once.`);if(this.didInitialize=!0,this.#r=ss(),typeof e.adapter==`string`&&[`default`,`cordova`,`cordova-native`].includes(e.adapter)?this.#t=this.#c(e.adapter):typeof e.adapter==`object`?this.#t=e.adapter:`Cordova`in window||`cordova`in window?this.#t=this.#c(`cordova`):this.#t=this.#c(`default`),e.useNonce!==void 0&&(this.#n=e.useNonce),e.checkLoginIframe!==void 0&&(this.#o.enable=e.checkLoginIframe),e.checkLoginIframeInterval&&(this.#o.interval=e.checkLoginIframeInterval),e.onLoad===`login-required`&&(this.loginRequired=!0),e.responseMode)if(e.responseMode===`query`||e.responseMode===`fragment`)this.responseMode=e.responseMode;else throw Error(`Invalid value for responseMode`);if(e.flow){switch(e.flow){case`standard`:this.responseType=`code`;break;case`implicit`:this.responseType=`id_token token`;break;case`hybrid`:this.responseType=`code id_token token`;break;default:throw Error(`Invalid value for flow`)}this.flow=e.flow}if(typeof e.timeSkew==`number`&&(this.timeSkew=e.timeSkew),e.redirectUri&&(this.redirectUri=e.redirectUri),e.silentCheckSsoRedirectUri&&(this.silentCheckSsoRedirectUri=e.silentCheckSsoRedirectUri),typeof e.silentCheckSsoFallback==`boolean`&&(this.silentCheckSsoFallback=e.silentCheckSsoFallback),e.pkceMethod!==void 0){if(e.pkceMethod!==`S256`&&e.pkceMethod!==!1)throw TypeError(`Invalid value for pkceMethod', expected 'S256' or false but got ${e.pkceMethod}.`);this.pkceMethod=e.pkceMethod}return typeof e.enableLogging==`boolean`&&(this.enableLogging=e.enableLogging),e.logoutMethod===`POST`&&(this.logoutMethod=`POST`),typeof e.scope==`string`&&(this.scope=e.scope),typeof e.messageReceiveTimeout==`number`&&e.messageReceiveTimeout>0&&(this.messageReceiveTimeout=e.messageReceiveTimeout),await this.#f(),await this.#g(),await this.#_(e),this.onReady?.(this.authenticated),this.authenticated};#c(e){if(e==="default")return this.#l();if(e===`cordova`)return this.#o.enable=!1,this.#u();if(e===`cordova-native`)return this.#o.enable=!1,this.#d();throw Error(`invalid adapter type: `+e)}#l(){let e=e=>e?.redirectUri||this.redirectUri||globalThis.location.href;return{login:async e=>(window.location.assign(await this.createLoginUrl(e)),await new Promise(()=>{})),logout:async t=>{if((t?.logoutMethod??this.logoutMethod)===`GET`){window.location.replace(this.createLogoutUrl(t));return}let n=document.createElement(`form`);n.setAttribute(`method`,`POST`),n.setAttribute(`action`,this.createLogoutUrl(t)),n.style.display=`none`;let r={id_token_hint:this.idToken,client_id:this.clientId,post_logout_redirect_uri:e(t)};for(let[e,t]of Object.entries(r)){let r=document.createElement(`input`);r.setAttribute(`type`,`hidden`),r.setAttribute(`name`,e),r.setAttribute(`value`,t),n.appendChild(r)}document.body.appendChild(n),n.submit()},register:async e=>(window.location.assign(await this.createRegisterUrl(e)),await new Promise(()=>{})),accountManagement:async()=>{let e=this.createAccountUrl();if(e!==void 0)window.location.href=e;else throw Error(`Not supported by the OIDC server`);return await new Promise(()=>{})},redirectUri:e}}
20#u(){let e=(e,t,n)=>window.cordova&&window.cordova.InAppBrowser?window.cordova.InAppBrowser.open(e,t,n):window.open(e,t,n),t=e=>e&&e.cordovaOptions?Object.keys(e.cordovaOptions).reduce((t,n)=>(t[n]=e.cordovaOptions[n],t),{}):{},n=e=>Object.keys(e).reduce((t,n)=>(t.push(n+`=`+e[n]),t),[]).join(`,`),r=e=>{let r=t(e);return r.location=`no`,e&&e.prompt===`none`&&(r.hidden=`yes`),n(r)},i=()=>this.redirectUri||`http://localhost`;return{login:async t=>{let n=r(t),a=await this.createLoginUrl(t),o=e(a,`_blank`,n),s=!1,c=!1;function l(){c=!0,o.close()}return await new Promise((e,t)=>{o.addEventListener(`loadstart`,async n=>{if(n.url.indexOf(i())===0){let r=this.#x(n.url);s=!0,l();try{await this.#w(r),e()}catch(e){t(e)}}}),o.addEventListener(`loaderror`,async n=>{if(!s)if(n.url.indexOf(i())===0){let r=this.#x(n.url);s=!0,l();try{await this.#w(r),e()}catch(e){t(e)}}else t(Error(`Unable to process login.`)),l()}),o.addEventListener(`exit`,function(e){c||t(Error(`User closed the login window.`))})})},logout:async t=>{let n=this.createLogoutUrl(t),r=e(n,`_blank`,`location=no,hidden=yes,clearcache=yes`),a=!1;r.addEventListener(`loadstart`,e=>{e.url.indexOf(i())===0&&r.close()}),r.addEventListener(`loaderror`,e=>{e.url.indexOf(i())===0||(a=!0),r.close()}),await new Promise((e,t)=>{r.addEventListener(`exit`,()=>{a?t(Error(`User closed the login window.`)):(this.clearToken(),e())})})},register:async t=>{let n=await this.createRegisterUrl(),a=r(t),o=e(n,`_blank`,a);await new Promise((e,t)=>{o.addEventListener(`loadstart`,async n=>{if(n.url.indexOf(i())===0){o.close();let r=this.#x(n.url);try{await this.#w(r),e()}catch(e){t(e)}}})})},accountManagement:async()=>{let t=this.createAccountUrl();if(t!==void 0){let n=e(t,`_blank`,`location=no`);n.addEventListener(`loadstart`,function(e){e.url.indexOf(i())===0&&n.close()})}else throw Error(`Not supported by the OIDC server`)},redirectUri:()=>i()}}#d(){return{login:async e=>{let t=await this.createLoginUrl(e);await new Promise((e,n)=>{universalLinks.subscribe(`keycloak`,async t=>{universalLinks.unsubscribe(`keycloak`),window.cordova.plugins.browsertab.close();let r=this.#x(t.url);try{await this.#w(r),e()}catch(e){n(e)}}),window.cordova.plugins.browsertab.openUrl(t)})},logout:async e=>{let t=this.createLogoutUrl(e);await new Promise(e=>{universalLinks.subscribe(`keycloak`,()=>{universalLinks.unsubscribe(`keycloak`),window.cordova.plugins.browsertab.close(),this.clearToken(),e()}),window.cordova.plugins.browsertab.openUrl(t)})},register:async e=>{let t=await this.createRegisterUrl(e);await new Promise((e,n)=>{universalLinks.subscribe(`keycloak`,async t=>{universalLinks.unsubscribe(`keycloak`),window.cordova.plugins.browsertab.close();let r=this.#x(t.url);try{await this.#w(r),e()}catch(e){n(e)}}),window.cordova.plugins.browsertab.openUrl(t)})},accountManagement:async()=>{let e=this.createAccountUrl();if(e!==void 0)window.cordova.plugins.browsertab.openUrl(e);else throw Error(`Not supported by the OIDC server`)},redirectUri:e=>e&&e.redirectUri?e.redirectUri:this.redirectUri?this.redirectUri:`http://localhost`}}async#f(){if(typeof this.#s==`string`){let e=await _s(this.#s);this.authServerUrl=e[`auth-server-url`],this.realm=e.realm,this.clientId=e.resource,this.#p()}else this.clientId=this.#s.clientId,`oidcProvider`in this.#s?await this.#m(this.#s.oidcProvider):(this.authServerUrl=this.#s.url,this.realm=this.#s.realm,this.#p())}#p(){this.endpoints={authorize:()=>this.#D()+`/protocol/openid-connect/auth`,token:()=>this.#D()+`/protocol/openid-connect/token`,logout:()=>this.#D()+`/protocol/openid-connect/logout`,checkSessionIframe:()=>this.#D()+`/protocol/openid-connect/login-status-iframe.html`,thirdPartyCookiesIframe:()=>this.#D()+`/protocol/openid-connect/3p-cookies/step1.html`,register:()=>this.#D()+`/protocol/openid-connect/registrations`,userinfo:()=>this.#D()+`/protocol/openid-connect/userinfo`}}async#m(e){if(typeof e==`string`){let t=await vs(`${ws(e)}/.well-known/openid-configuration`);this.#h(t)}else this.#h(e)}#h(e){this.endpoints={authorize(){return e.authorization_endpoint},token(){return e.token_endpoint},logout(){if(!e.end_session_endpoint)throw Error(`Not supported by the OIDC server`);return e.end_session_endpoint},checkSessionIframe(){if(!e.check_session_iframe)throw Error(`Not supported by the OIDC server`);return e.check_session_iframe},register(){throw Error(`Redirection to "Register user" page not supported in standard OIDC mode`)},userinfo(){if(!e.userinfo_endpoint)throw Error(`Not supported by the OIDC server`);return e.userinfo_endpoint}}}async#g(){if(!this.#o.enable&&!this.silentCheckSsoRedirectUri||typeof this.endpoints.thirdPartyCookiesIframe!=`function`)return;let e=document.createElement(`iframe`);return e.setAttribute(`src`,this.endpoints.thirdPartyCookiesIframe()),e.setAttribute(`s
20andbox`,`allow-storage-access-by-user-activation allow-scripts allow-same-origin`),e.setAttribute(`title`,`keycloak-3p-check-iframe`),e.style.display=`none`,document.body.appendChild(e),await os(new Promise(t=>{let n=r=>{e.contentWindow===r.source&&(r.data!==`supported`&&r.data!==`unsupported`||(r.data===`unsupported`&&(this.#a(`[KEYCLOAK] Your browser is blocking access to 3rd-party cookies, this means:
21
22 - It is not possible to retrieve tokens without redirecting to the Keycloak server (a.k.a. no support for silent authentication).
23 - It is not possible to automatically detect changes to the session status (such as the user logging out in another tab).
24
25For more information see: https://www.keycloak.org/securing-apps/javascript-adapter#_modern_browsers`),this.#o.enable=!1,this.silentCheckSsoFallback&&(this.silentCheckSsoRedirectUri=void 0)),document.body.removeChild(e),window.removeEventListener(`message`,n),t()))};window.addEventListener(`message`,n,!1)}),this.messageReceiveTimeout,`Timeout when waiting for 3rd party check iframe message.`)}async#_(e){let t=this.#x(window.location.href);if(t?.newUrl&&window.history.replaceState(window.history.state,``,t.newUrl),t&&t.valid){await this.#v(),await this.#w(t);return}let n=async t=>{let n={};t||(n.prompt=`none`),e.locale&&(n.locale=e.locale),await this.login(n)},r=async()=>{switch(e.onLoad){case`check-sso`:this.#o.enable?(await this.#v(),await this.#y()||(this.silentCheckSsoRedirectUri?await this.#b():await n(!1))):this.silentCheckSsoRedirectUri?await this.#b():await n(!1);break;case`login-required`:await n(!0);break;default:throw Error(`Invalid value for onLoad`)}};if(e.token&&e.refreshToken)if(this.#E(e.token,e.refreshToken,e.idToken),this.#o.enable)await this.#v(),await this.#y()&&(this.onAuthSuccess?.(),this.#T());else try{await this.updateToken(-1),this.onAuthSuccess?.()}catch(t){if(this.onAuthError?.(),e.onLoad)await r();else throw t}else e.onLoad&&await r()}async#v(){if(!this.#o.enable||this.#o.iframe)return;let e=document.createElement(`iframe`);this.#o.iframe=e,e.setAttribute(`src`,this.endpoints.checkSessionIframe()),e.setAttribute(`sandbox`,`allow-storage-access-by-user-activation allow-scripts allow-same-origin`),e.setAttribute(`title`,`keycloak-session-iframe`),e.style.display=`none`,document.body.appendChild(e),window.addEventListener(`message`,e=>{if(e.origin!==this.#o.iframeOrigin||this.#o.iframe?.contentWindow!==e.source||!(e.data===`unchanged`||e.data===`changed`||e.data===`error`))return;e.data!==`unchanged`&&this.clearToken();let t=this.#o.callbackList;this.#o.callbackList=[];for(let n of t.reverse())e.data===`error`?n(Error(`Error while checking login iframe`)):n(null,e.data===`unchanged`)},!1),await new Promise(t=>{e.addEventListener(`load`,()=>{let e=this.endpoints.authorize();e.startsWith(`/`)?this.#o.iframeOrigin=globalThis.location.origin:this.#o.iframeOrigin=new URL(e).origin,t()})})}async#y(){if(!this.#o.iframe||!this.#o.iframeOrigin)return;let e=`${this.clientId} ${this.sessionId?this.sessionId:``}`,t=this.#o.iframeOrigin;return await new Promise((n,r)=>{this.#o.callbackList.push((e,t)=>e?r(e):n(t)),this.#o.callbackList.length===1&&this.#o.iframe?.contentWindow?.postMessage(e,t)})}async#b(){let e=document.createElement(`iframe`),t=await this.createLoginUrl({prompt:`none`,redirectUri:this.silentCheckSsoRedirectUri});return e.setAttribute(`src`,t),e.setAttribute(`sandbox`,`allow-storage-access-by-user-activation allow-scripts allow-same-origin`),e.setAttribute(`title`,`keycloak-silent-check-sso`),e.style.display=`none`,document.body.appendChild(e),await new Promise((t,n)=>{let r=async i=>{if(i.origin!==window.location.origin||e.contentWindow!==i.source)return;let a=this.#x(i.data);try{await this.#w(a),t()}catch(e){n(e)}document.body.removeChild(e),window.removeEventListener(`message`,r)};window.addEventListener(`message`,r)})}#x(e){let t=this.#S(e);if(!t)return;let n=this.#r.get(t.state);return n&&(t.valid=!0,t.redirectUri=n.redirectUri,t.storedNonce=n.nonce,t.prompt=n.prompt,t.pkceCodeVerifier=n.pkceCodeVerifier,t.loginOptions=n.loginOptions),t}#S(e){let t=[];switch(this.flow){case`standard`:t=[`code`,`state`,`session_state`,`kc_action_status`,`kc_action`,`iss`];break;case`implicit`:t=[`access_token`,`token_type`,`id_token`,`state`,`session_state`,`expires_in`,`kc_action_status`,`kc_action`,`iss`];break;case`hybrid`:t=[`access_token`,`token_type`,`id_token`,`code`,`state`,`session_state`,`expires_in`,`kc_action_status`,`kc_action`,`iss`];break}t.push(`error`),t.push(`error_description`),t.push(`error_uri`);let n=new URL(e),r=``,i;if(this.responseMode===`query`&&n.searchParams.size>0?(i=this.#C(n.search,t),n.search=i.paramsString,r=n.toString()):this.responseMode===`fragment`&&n.hash.length>0&&(i=this.#C(n.hash.substring(1),t),n.hash=i.paramsString,r=n.toString()),i?.oauthParams){if(this.flow===`standard`||this.flow===`hybrid`){if((i.oauthParams.code||i.oauthParams.error)&&i.oauthParams.state)return i.oauthParams.newUrl=r,i.oauthParams}else if(this.flow===`implicit`&&(i.oauthParams.access_token||i.oauthParams.error)&&i.oauthParams.state)return i.oauthParams.newUrl=r,i.oauthParams}}#C(e,t){let n=e.split(`&`),r={},i=``;for(let e of n.reverse()){let n=new URLSearchParams(e).entries().next().value;if(!n){i=`&`+i;continue}let[a,o]=n;t.includes(a)&&!(a in r)?r[a]=o:i=i.length===0?e:e+`&`+i}return{paramsString:i,oauthParams:r}}
25async#w(e){let{code:t,error:n,prompt:r}=e,i=new Date().getTime(),a=(t,n,r)=>{if(i=(i+new Date().getTime())/2,this.#E(t,n,r,i),this.#n&&this.idTokenParsed&&this.idTokenParsed.nonce!==e.storedNonce)throw this.#i(`[KEYCLOAK] Invalid nonce, clearing token`),this.clearToken(),Error(`Invalid nonce.`)};if(e.kc_action_status&&this.onActionUpdate&&this.onActionUpdate(e.kc_action_status,e.kc_action),n){if(r!==`none`)if(e.error_description&&e.error_description===`authentication_expired`)await this.login(e.loginOptions);else{let t={error:n,error_description:e.error_description};throw this.onAuthError?.(t),t}return}else this.flow!==`standard`&&(e.access_token||e.id_token)&&(a(e.access_token,void 0,e.id_token),this.onAuthSuccess?.());if(this.flow!==`implicit`&&t)try{let n=await ys(this.endpoints.token(),t,this.clientId,e.redirectUri,e.pkceCodeVerifier);a(n.access_token,n.refresh_token,n.id_token),this.flow===`standard`&&this.onAuthSuccess?.(),this.#T()}catch(e){throw this.onAuthError?.(),e}}async#T(){this.#o.enable&&this.token&&(await Es(this.#o.interval*1e3),await this.#y()&&await this.#T())}login=e=>this.#t.login(e);createLoginUrl=async e=>{let t=es(),n=es(),r=this.#t.redirectUri(e),i={state:t,nonce:n,redirectUri:r,loginOptions:e};e?.prompt&&(i.prompt=e.prompt);let a=e?.action===`register`?this.endpoints.register():this.endpoints.authorize(),o=e?.scope||this.scope,s=o?o.split(` `):[];s.includes(`openid`)||s.unshift(`openid`),o=s.join(` `);let c=new URLSearchParams([[`client_id`,this.clientId],[`redirect_uri`,r],[`state`,t],[`response_mode`,this.responseMode],[`response_type`,this.responseType],[`scope`,o]]);if(this.#n&&c.append(`nonce`,n),e?.prompt&&c.append(`prompt`,e.prompt),typeof e?.maxAge==`number`&&c.append(`max_age`,e.maxAge.toString()),e?.loginHint&&c.append(`login_hint`,e.loginHint),e?.idpHint&&c.append(`kc_idp_hint`,e.idpHint),e?.action&&e.action!==`register`&&c.append(`kc_action`,e.action),e?.locale&&c.append(`ui_locales`,e.locale),e?.acr&&c.append(`claims`,ts(e.acr)),e?.acrValues&&c.append(`acr_values`,e.acrValues),this.pkceMethod)try{let e=ns(96),t=await rs(this.pkceMethod,e);i.pkceCodeVerifier=e,c.append(`code_challenge`,t),c.append(`code_challenge_method`,this.pkceMethod)}catch(e){throw Error(`Failed to generate PKCE challenge.`,{cause:e})}return this.#r.add(i),`${a}?${c.toString()}`};logout=e=>this.#t.logout(e);createLogoutUrl=e=>{let t=e?.logoutMethod??this.logoutMethod,n=this.endpoints.logout();if(t===`POST`)return n;let r=new URLSearchParams([[`client_id`,this.clientId],[`post_logout_redirect_uri`,this.#t.redirectUri(e)]]);return this.idToken&&r.append(`id_token_hint`,this.idToken),`${n}?${r.toString()}`};register=e=>this.#t.register(e);createRegisterUrl=e=>this.createLoginUrl({...e,action:`register`});createAccountUrl=e=>{let t=this.#D();if(!t)throw Error(`Unable to create account URL, make sure the adapter is not configured using a generic OIDC provider.`);return`${t}/account?${new URLSearchParams([[`referrer`,this.clientId],[`referrer_uri`,this.#t.redirectUri(e)]]).toString()}`};accountManagement=()=>this.#t.accountManagement();hasRealmRole=e=>{let t=this.realmAccess;return!!t&&t.roles.indexOf(e)>=0};hasResourceRole=(e,t)=>{if(!this.resourceAccess)return!1;let n=this.resourceAccess[t||this.clientId];return!!n&&n.roles.indexOf(e)>=0};loadUserProfile=async()=>{let e=this.#D();if(!e)throw Error(`Unable to load user profile, make sure the adapter is not configured using a generic OIDC provider.`);let t=await xs(`${e}/account`,{headers:[Cs(this.token)]});return this.profile=t};loadUserInfo=async()=>{let e=await xs(this.endpoints.userinfo(),{headers:[Cs(this.token)]});return this.userInfo=e};isTokenExpired=e=>{if(!this.tokenParsed||!this.refreshToken&&this.flow!==`implicit`)throw Error(`Not authenticated`);if(this.timeSkew==null)return this.#i(`[KEYCLOAK] Unable to determine if token is expired as timeskew is not set`),!0;if(typeof this.tokenParsed.exp!=`number`)return!1;let t=this.tokenParsed.exp-Math.ceil(new Date().getTime()/1e3)+this.timeSkew;if(e){if(isNaN(e))throw Error(`Invalid minValidity`);t-=e}return t<0};updateToken=async e=>{if(!this.refreshToken)throw Error(`Unable to update token, no refresh token available.`);e||=5,this.#o.enable&&await this.#y();let t=!1;if(e===-1?(t=!0,this.#i(`[KEYCLOAK] Refreshing token: forced refresh`)):(!this.tokenParsed||this.isTokenExpired(e))&&(t=!0,this.#i(`[KEYCLOAK] Refreshing token: token expired`)),!t)return!1;let{promise:n,resolve:r,reject:i}=Promise.withResolvers();if(this.#e.push({resolve:r,reject:i}),this.#e.length===1){let e=this.endpoints.token(),t=new Date().getTime();try{let n=await bs(e,this.refreshToken,this.clientId);this.#i(`[KEYCLOAK] Token refreshed`),t=(t+new Date().getTime())/2,this.#
25E(n.access_token,n.refresh_token,n.id_token,t),this.onAuthRefreshSuccess?.();for(let e=this.#e.pop();e!=null;e=this.#e.pop())e.resolve(!0)}catch(e){this.#a(`[KEYCLOAK] Failed to refresh token`),e instanceof Ts&&e.response.status===400&&this.clearToken(),this.onAuthRefreshError?.();for(let t=this.#e.pop();t!=null;t=this.#e.pop())t.reject(e)}}return await n};clearToken=()=>{this.token&&(this.#E(),this.onAuthLogout?.(),this.loginRequired&&this.login())};#E(e,t,n,r){if(this.tokenTimeoutHandle&&=(clearTimeout(this.tokenTimeoutHandle),void 0),t?(this.refreshToken=t,this.refreshTokenParsed=ps(t)):(delete this.refreshToken,delete this.refreshTokenParsed),n?(this.idToken=n,this.idTokenParsed=ps(n)):(delete this.idToken,delete this.idTokenParsed),e){if(this.token=e,this.tokenParsed=ps(e),this.sessionId=this.tokenParsed.sid,this.authenticated=!0,this.subject=this.tokenParsed.sub,this.realmAccess=this.tokenParsed.realm_access,this.resourceAccess=this.tokenParsed.resource_access,r&&(this.timeSkew=Math.floor(r/1e3)-this.tokenParsed.iat),this.timeSkew!==null&&(this.#i(`[KEYCLOAK] Estimated time difference between browser and server is `+this.timeSkew+` seconds`),this.onTokenExpired)){let e=(this.tokenParsed.exp-new Date().getTime()/1e3+this.timeSkew)*1e3;this.#i(`[KEYCLOAK] Token expires in `+Math.round(e/1e3)+` s`),e<=0?this.onTokenExpired():this.tokenTimeoutHandle=window.setTimeout(this.onTokenExpired,e)}}else delete this.token,delete this.tokenParsed,delete this.subject,delete this.realmAccess,delete this.resourceAccess,this.authenticated=!1}#D(){if(this.authServerUrl!==void 0)return`${ws(this.authServerUrl)}/realms/${encodeURIComponent(this.realm)}`}#O(e){return t=>{this.enableLogging&&e.call(console,t)}}};function es(){if(typeof crypto>`u`||crypto.randomUUID===void 0)throw Error(`Web Crypto API is not available.`);return crypto.randomUUID()}function ts(e){return JSON.stringify({id_token:{acr:e}})}function ns(e){return is(e,`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789`)}async function rs(e,t){if(e!==`S256`)throw TypeError(`Invalid value for 'pkceMethod', expected 'S256' but got '${e}'.`);return ds(new Uint8Array(await fs(t))).replace(/\+/g,`-`).replace(/\//g,`_`).replace(/=/g,``)}function is(e,t){let n=as(e),r=Array(e);for(let i=0;i<e;i++)r[i]=t.charCodeAt(n[i]%t.length);return String.fromCharCode.apply(null,r)}function as(e){if(typeof crypto>`u`||crypto.getRandomValues===void 0)throw Error(`Web Crypto API is not available.`);return crypto.getRandomValues(new Uint8Array(e))}function os(e,t,n){let r,i=new Promise(function(e,i){r=window.setTimeout(function(){i(Error(n||`Promise is not settled within timeout of `+t+`ms`))},t)});return Promise.race([e,i]).finally(function(){clearTimeout(r)})}function ss(){try{return new ls}catch{return new us}}var cs=`kc-callback-`,ls=class{constructor(){globalThis.localStorage.setItem(`kc-test`,`test`),globalThis.localStorage.removeItem(`kc-test`)}get(e){if(!e)return null;this.#e();let t=cs+e,n=globalThis.localStorage.getItem(t);return n?(globalThis.localStorage.removeItem(t),JSON.parse(n)):null}add(e){this.#e();let t=cs+e.state,n=JSON.stringify({...e,expires:Date.now()+3600*1e3});try{globalThis.localStorage.setItem(t,n)}catch{this.#t(),globalThis.localStorage.setItem(t,n)}}#e(){let e=Date.now();for(let[t,n]of this.#n()){let r=this.#r(n);(r===null||r<e)&&globalThis.localStorage.removeItem(t)}}#t(){for(let[e]of this.#n())globalThis.localStorage.removeItem(e)}#n(){return Object.entries(globalThis.localStorage).filter(([e])=>e.startsWith(cs))}#r(e){let t;try{t=JSON.parse(e)}catch{return null}return gs(t)&&`expires`in t&&typeof t.expires==`number`?t.expires:null}},us=class{get(e){if(!e)return null;let t=this.#e(cs+e);return this.#t(cs+e,``,this.#n(-100)),t?JSON.parse(t):null}add(e){this.#t(cs+e.state,JSON.stringify(e),this.#n(60))}#e(e){let t=e+`=`,n=document.cookie.split(`;`);for(let e=0;e<n.length;e++){let r=n[e];for(;r.charAt(0)===` `;)r=r.substring(1);if(r.indexOf(t)===0)return r.substring(t.length,r.length)}return``}#t(e,t,n){let r=e+`=`+t+`; expires=`+n.toUTCString()+`; `;document.cookie=r}#n(e){let t=new Date;return t.setTime(t.getTime()+e*60*1e3),t}};function ds(e){let t=String.fromCodePoint(...e);return btoa(t)}async function fs(e){let t=new TextEncoder().encode(e);if(typeof crypto>`u`||crypto.subtle===void 0)throw Error(`Web Crypto API is not available.`);return await crypto.subtle.digest(`SHA-256`,t)}function ps(e){let[,t]=e.split(`.`);if(typeof t!=`string`)throw Error(`Unable to decode token, payload not found.`);let n;try{n=ms(t)}catch(e){throw Error(`Unable to decode token, payload is not a valid Base64URL value.`,{cause:e})}try{return JSON.parse(n)}catch(e){throw Error(`Unable to decode token, payload is not a valid JSON value.`,{cause:e})}}function ms(e){let t=e.replaceAll(`-`,`+`).replaceAll(`_`,`/`);switch(t.length%4){case 0:break;case 2:t+=`==`;break;case 3:t+=`=`;break;default:throw Error(`Input is not of the correct length.`)}try{return hs(t)}catch{return atob(t)}}function hs(e){return decodeURIComponent(atob(e).replace(/(.)/g,(e,t)=>{let n=t.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n=`0`+n),`%`+n}))}function gs(e){return typeof e==`object`&&!!e}async function _s(e){return await xs(e)}async function vs(e){return await xs(e)}async function ys(e,t,n,r,i){let a=new URLSearchParams([[`code`,t],[`grant_type`,`authorization_code`],[`client_id`,n],[`redirect_uri`,r]]);return i&&a.append(`code_verifier`,i),await xs(e,{method:`POST`,credentials:`include`,body:a})}async function bs(e,t,n){return await xs(e,{method:`POST`,credentials:`include`,body:new URLSearchParams([[`grant_type`,`refresh_token`],[`refresh_token`,t],[`client_id`,n]])})}async function xs(e,t={}){let n=new Headers(t.headers);return n.set(`Accept`,Qo),await(await Ss(e,{...t,headers:n})).json()}async function Ss(e,t){let n=await fetch(e,t);
25if(!n.ok)throw new Ts(`Server responded with an invalid status.`,{response:n});return n}function Cs(e){if(!e)throw Error(`Unable to build authorization header, token is not set, make sure the user is authenticated.`);return[`Authorization`,`bearer ${e}`]}function ws(e){return e.endsWith(`/`)?e.slice(0,-1):e}var Ts=class extends Error{response;constructor(e,t){super(e,t),this.response=t.response}},Es=e=>new Promise(t=>setTimeout(t,e)),B=null,Ds=()=>B;async function Os(e,t,n,r){try{let{result:i}=await it(`${t}/api/v1/user/isComplete`,{params:{clientId:n},headers:{Authorization:`Bearer ${e}`}});i||r()}catch(e){console.error(`[AuthPlugin] Error checking user completeness:`,e)}}var ks=c(async e=>{let t,n,r=f(),i=Hn(),a=Un(),s=!!We().query.preview,c=()=>{i.setChecking(!1),Wn()},l=String(r.public.keycloakAuthServerUrl||``),u=String(r.public.keycloakRealm||``),d=String(r.public.keycloakClientId||``),p={url:l,realm:u,clientId:d};if(!p.realm||!p.url||!p.clientId)return c(),{provide:{keycloak:null}};if(s)return console.log(`[AuthPlugin] Preview mode detected, skipping Keycloak initialization`),c(),{provide:{keycloak:null}};B=new $o(p),B.onTokenExpired=async()=>{try{await B?.updateToken(30),B?.idToken&&B?.token&&(i.login({idToken:B.idToken,token:B.token,locale:B.idTokenParsed?.locale}),await _())}catch(e){console.error(`Error when updating token `,e),B?.login({locale:v()})}};try{[t,n]=o(()=>B.init({onLoad:`check-sso`,checkLoginIframe:!0,pkceMethod:`S256`,locale:v()})),await t,n()}catch(e){return console.error(`[AuthPlugin] Keycloak init failed; continuing unauthenticated:`,e),As(),c(),{provide:{keycloak:B}}}return B.authenticated&&B.token&&B.idToken?([t,n]=o(()=>m()),await t,n()):(As(),c()),{provide:{keycloak:B}};async function m(){let e=B;if(!e?.token||!e.idToken)return;i.login({idToken:e.idToken,token:e.token,locale:e.idTokenParsed?.locale});let t=`not-fresh-login`,n=!sessionStorage.getItem(t);n&&await h();let r=!1;n&&(sessionStorage.setItem(t,`true`),r=await g(e.token)),await _(),r||c()}async function h(){let t=B?.idTokenParsed?.locale;t&&(localStorage.setItem(`preferredLocale`,t),e.$i18n&&typeof e.$i18n==`object`&&`setLocale`in e.$i18n&&await e.$i18n.setLocale(t))}async function g(e){let t=String(r.public.userApiUrl||``),n=String(r.public.profileUrl||``),i=!1;return await Os(e,t,d,()=>{i=!0;let e=window.location.origin+window.location.pathname+window.location.search,t=`${n}/complete-user-info?final_destination=${encodeURIComponent(e)}&clientId=${encodeURIComponent(d)}`;console.log(`[AuthPlugin] User profile incomplete, redirecting to: ${t}`),window.location.replace(t)}),i}async function _(){try{let{getUserInfo:e}=Vn(),t=await e();a.setUser(t)}catch(e){console.error(`[AuthPlugin] Error fetching user info:`,e)}}function v(){return localStorage.getItem(`preferredLocale`)||navigator.language.split(`-`)[0]||`en`}},1),As=()=>{Ds()&&(sessionStorage.removeItem(`not-fresh-login`),Hn().logout(),Un().logout())},js=c(async()=>{let e,t,n=Hn(),r=Un(),i=f(),a=i.public.brazeSdkEndpoint,s=(()=>{let e=i.public.brazeApiKeys;if(typeof e==`object`)return e;if(typeof e==`string`)try{return JSON.parse(e)}catch(e){return console.error(`[braze.client.ts] Failed to parse brazeApiKeys:`,e),null}})();try{if(typeof s!=`object`||!s||!a||typeof a!=`string`)throw Error(`Invalid configuration: brazeApiKeys and brazeSdkEndpoint must be properly configured in runtime config.`);let c=On().value?.code;if(!c){console.warn(`[braze.client.ts] Hostname "${window.location.hostname}" does not resolve to a known site, skipping Braze initialization.`);return}let l=s[c];if(!l){console.warn(`[braze.client.ts] No API key configured for site "${c}".`);return}let u=([e,t]=o(()=>z(()=>import(`./BatGloyD.js`),__vite__mapDeps([132,19,133,134,8,1,9,10,135,136,137,138,139,140,141]),import.meta.url)),e=await e,t(),e),d=e=>e===!0||e===`true`,f=d(i.public.brazeAllowUserSuppliedJavascript),p=d(i.public.brazeEnableLogging);u.initialize(l,{baseUrl:a,allowUserSuppliedJavascript:f,enableLogging:p}),u.automaticallyShowInAppMessages();let m;S([()=>n.state.isAuthenticated,()=>r.state.id,()=>r.state.email],([e,t,n])=>{if(!e||!t){m=void 0;return}m!==t&&(u.changeUser(t),m=t),n&&u.getUser()?.setEmail(n)},{immediate:!0}),u.openSession()}catch(e){console.error(`[braze.client.ts] Failed to initialize:`,e)}},1),Ms=`nuxt:chunk-error-reloaded`,Ns=3e4,Ps=c(e=>{e.hook(`app:chunkError`,({error:e})=>{let t;try{let e=sessionStorage.getItem(Ms);t=e===null?null:Number(e)}catch{console.warn(`[chunk-error] session storage unavailable; not reloading`,e);return}if(t!==null&&Number.isFinite(t)&&Date.now()-t<Ns){console.error(`[chunk-error] chunk still failing after a reload; not retrying`,e);return}try{sessionStorage.setItem(Ms,String(Date.now()))}catch{console.warn(`[chunk-error] could not record the reload marker; not reloading`,e);return}console.warn(`[chunk-error] reloading to pick up the current release`,e),Ti({persistState:!0})})}),Fs=`primary`,Is=[`https://app.contentful.com`,`https://app.eu.contentful.com`],Ls=c(()=>{let e=We();try{Gn.init({locale:(Array.isArray(e.params.locale)?e.params.locale[0]:e.params.locale)||Fs,enableInspectorMode:!0,enableLiveUpdates:!0,targetOrigin:Is})}catch{}}),Rs=c(()=>{}),zs=`https://pagead2.googlesyndication.com/tag/js/gpt.js`,Bs=`https://securepubads.g.doubleclick.net/tag/js/gpt.js`;function Vs(e){return String(e??``).trim().toLowerCase()===`limited`?`limited`:`npa`}function Hs(e,t){return e===`limited`&&!t?zs:Bs}function Us(e,t){return t?{nonPersonalizedAds:!1,...e===`limited`?{limitedAds:!1}:{}}:e===`limited`?{nonPersonalizedAds:!0,limitedAds:!0}:{nonPersonalizedAds:!0}}
25function Ws(e){let t=e.split(`/`).filter(Boolean);return t.length===0?[`/`]:t.map((e,n)=>`/`+t.slice(0,n+1).join(`/`))}var Gs=c(()=>{let e=()=>Ji(`C0004`),t=Vs(f().public.adPreconsentMode);window.googletag=window.googletag||{cmd:[]};let n=document.createElement(`script`);n.async=!0,n.src=Hs(t,e()),document.head.appendChild(n);let r=On().value?.siteDomain;r||console.warn(`[gpt.client.ts] Hostname "${window.location.hostname}" does not resolve to a known site; serving ads without site-level targeting.`),window.googletag.cmd.push(()=>{googletag.setConfig({targeting:{...r?{site:r}:{},path:Ws(window.location.pathname)}}),googletag.pubads().setPrivacySettings(Us(t,e())),googletag.pubads().disableInitialLoad(),googletag.pubads().enableSingleRequest(),googletag.enableServices()}),R().afterEach(e=>{window.googletag?.cmd.push(()=>{googletag.setConfig({targeting:{path:Ws(e.path)}})}),c=!0});let i=new Map,a=new Map,o=new Map,s=!1,c=!1,l=e();function u(e,t){for(let n=0;n<e.length;n+=30){let r=e.slice(n,n+30);googletag.pubads().refresh(r,t&&n===0?t:void 0)}}function d(){if(s=!1,i.size===0)return;let e=[...i.entries()];i.clear();let t=c;c=!1;let n=new Set(e.map(([e])=>e)),r=t?[...o.entries()].filter(([e])=>!n.has(e)):[],l=r.map(([,e])=>e);for(let[t]of[...r,...e])y(t);window.googletag.cmd.push(()=>{p();for(let[t,n]of e)a.set(t,n),googletag.display(t);u([...l,...e.map(([,e])=>e)],t?{changeCorrelator:!0}:void 0)})}function p(){let e=googletag.pubads().getSlots().filter(e=>{let t=e.getSlotElementId();return t.startsWith(`gpt-ad-`)&&!document.getElementById(t)});e.length>0&&googletag.destroySlots(e)}function m(e,t,n){n?.persistent&&o.set(t,e),i.set(t,e),s||(s=!0,be(d))}function h(e){let t=a.get(e);t&&window.googletag.cmd.push(()=>{googletag.pubads().refresh([t])})}function g(e){i.delete(e),a.delete(e),o.delete(e),y(e)}let _=new Map,v=null;function y(e){let t=_.get(e);t&&(_.delete(e),[..._.values()].some(e=>e.target===t.target)||v?.unobserve(t.target))}function b(){return v||(typeof IntersectionObserver>`u`?null:(v=new IntersectionObserver(e=>{let t=[];for(let n of e)if(n.isIntersecting){for(let[e,r]of[..._])r.target===n.target&&(_.delete(e),t.push(r.slot));v?.unobserve(n.target)}t.length!==0&&window.googletag?.cmd.push(()=>{u(t,{changeCorrelator:!1})})},{root:null,rootMargin:Rn,threshold:0}),v))}function x(e){let t=document.getElementById(e);return t?Ln(t):null}function S(){let e=[...a.entries()],t={width:window.innerWidth,height:window.innerHeight},n=new Map(e.map(([e])=>[e,x(e)])),r=new Set(e.filter(([e])=>{let r=n.get(e);return!r||zn(r.getBoundingClientRect(),t)}).map(([e])=>e)),i=e.filter(([e])=>o.has(e));if(i.some(([e])=>r.has(e)))for(let[e]of i)r.add(e);let s=e.filter(([e])=>r.has(e)),c=[];for(let[t,i]of e){let e=n.get(t);r.has(t)||!e||c.push([t,i,e])}return{refreshNow:[...s.filter(([e])=>o.has(e)),...s.filter(([e])=>!o.has(e))].map(([,e])=>e),defer:c}}function C(){let n=e();if(!window.googletag||n===l)return;l=n,v?.disconnect(),_.clear();let r=b(),{refreshNow:i,defer:o}=r?S():{refreshNow:[...a.values()],defer:[]};if(r)for(let[e,t,n]of o)_.set(e,{slot:t,target:n}),r.observe(n);window.googletag.cmd.push(()=>{googletag.pubads().setPrivacySettings(Us(t,n)),!n&&o.length>0&&googletag.pubads().clear(o.map(([,e])=>e)),i.length>0&&u(i,{changeCorrelator:!1})})}return Xi(C),{provide:{adRegistry:{registerSlot:m,unregisterSlot:g,refreshSlot:h}}}}),Ks=c(()=>{Kn.registerPlugin(qn)}),qs=c(()=>{console.log(`[DEBUG] Plugin: hello.client.ts loaded`),console.log(`[DEBUG] Window location:`,window.location.href),console.log(`[DEBUG] User agent:`,navigator.userAgent),console.log(`[DEBUG] Document readyState:`,document.readyState)}),Js=c(()=>{window.addEventListener(`message`,e=>{if(!e.data||typeof e.data!=`object`)return;let t=e.data.height;if(typeof t!=`number`||!Number.isFinite(t)||t<=0)return;let n=document.querySelectorAll(`iframe`);for(let r of n)if(r.contentWindow===e.source){r.style.height=`${Math.ceil(t)}px`;break}})}),Ys=c(()=>{let e=R(),t=``;return e.beforeEach((e,n)=>{n.fullPath&&n.matched.length>0&&n.fullPath!==e.fullPath&&(t=new URL(n.fullPath,window.location.origin).href)}),{provide:{previousRouteHref:()=>t||document.referrer}}});function Xs(){let e=document.documentElement,t=window.matchMedia(`(prefers-reduced-motion: reduce)`),n=!1,r=null,i=!1,a=()=>{let r=t.matches||n;r!==e.hasAttribute(`data-cfl-motion-paused`)&&(e.toggleAttribute(Jn,r),Kn.globalTimeline.paused(r),window.dispatchEvent(new CustomEvent(Yn,{detail:{isPaused:r}})))},o=()=>
25{if(r)return r;let e=document.createElement(`div`);return e.className=`cfl-motion-state-probe`,e.setAttribute(`aria-hidden`,`true`),document.body.appendChild(e),r=e,r},s=()=>{let e=o(),t=window.getComputedStyle(e);n=t.animationName===`none`||t.animationPlayState===`paused`,a()},c=e=>{if(!e||i)return;i=!0;let t=e.stopAnimationEnable?.bind(e),r=e.stopAnimationDisable?.bind(e),o=e.stopAnimationToggle?.bind(e);t&&(e.stopAnimationEnable=()=>{let e=t();return n=!0,a(),e}),r&&(e.stopAnimationDisable=()=>{let e=r();return n=!1,a(),e}),o&&(e.stopAnimationToggle=()=>{let e=o();return queueMicrotask(s),e})};document.addEventListener(`userway:init_completed`,e=>{let t=e.detail?.userWayInstance;c(t),c(window.UserWay),s()}),document.addEventListener(`userway:render_completed`,s),t.addEventListener(`change`,a),window.setInterval(s,1200),queueMicrotask(s)}var Zs=c({name:`userway`,setup(){yn(()=>{Xs();let e=f().public.userwayAccountId?.trim();if(!e||document.documentElement?.hasAttribute(`data-uw-w-loader`))return;let{$i18n:t}=u(),n=(D(t?.locale)||document.documentElement.lang||``).trim().split(`-`)[0]?.toLowerCase()||``,r=document.createElement(`script`);r.src=`https://cdn.userway.org/widget.js`,r.async=!0,r.setAttribute(`data-account`,e),n&&r.setAttribute(`data-language`,n),document.head.appendChild(r)})}});function Qs(e){if(typeof __SENTRY_TRACING__==`boolean`&&!__SENTRY_TRACING__)return!1;let t=e||Qn()?.getOptions();return!!t&&(t.tracesSampleRate!=null||!!t.tracesSampler)}function $s(e){if(e)return ec(e)||nc(e)?{captureContext:e}:e}function ec(e){return e instanceof er||typeof e==`function`}var tc=[`user`,`level`,`extra`,`contexts`,`tags`,`fingerprint`,`propagationContext`];function nc(e){return Object.keys(e).some(e=>tc.includes(e))}function rc(e,t){return tr().captureException(e,$s(t))}function ic(e){return Array.from(new Set(e))}var ac=[`activate`,`mount`],oc=typeof __SENTRY_DEBUG__>`u`||__SENTRY_DEBUG__,sc=/(?:^|[-_])(\w)/g,cc=e=>e.replace(sc,e=>e.toUpperCase()).replace(/[-_]/g,``),lc=`<Root>`,uc=`<Anonymous>`,dc=(e,t)=>e.repeat(t),fc=(e,t)=>{if(!e)return uc;if(e.$root===e)return lc;if(!e.$options)return uc;let n=e.$options,r=n.name||n._componentTag||n.__name,i=n.__file;if(!r&&i){let e=i.match(/([^/\\]+)\.vue$/);e&&(r=e[1])}return(r?`<${cc(r)}>`:uc)+(i&&t!==!1?` at ${i}`:``)},pc=e=>{if(e&&(e._isVue||e.__isVue)&&e.$parent){let t=[],n=0;for(;e;){if(t.length>0){let r=t[t.length-1];if(r.constructor===e.constructor){n++,e=e.$parent;continue}else n>0&&(t[t.length-1]=[r,n],n=0)}t.push(e),e=e.$parent}return`
26
27found in
28
29${t.map((e,t)=>`${(t===0?`---> `:dc(` `,5+t*2))+(Array.isArray(e)?`${fc(e[0])}... (${e[1]} recursive calls)`:fc(e))}`).join(`
30`)}`}return`
31
32(found in ${fc(e)})`},mc=(e,t)=>{let{errorHandler:n}=e.config;e.config.errorHandler=(r,i,a)=>{let o={componentName:fc(i,!1),lifecycleHook:a,trace:i?pc(i):``};if(t?.attachProps!==!1&&i&&(i.$options?.propsData?o.propsData=i.$options.propsData:i.$props&&(o.propsData=i.$props)),setTimeout(()=>{rc(r,{captureContext:{contexts:{vue:o}},mechanism:{handled:!!n,type:`auto.function.vue.error_handler`}})}),typeof n==`function`&&e.config.errorHandler)n.call(e,r,i,a);else throw r}},hc=`ui.vue`,gc={activate:[`activated`,`deactivated`],create:[`beforeCreate`,`created`],unmount:[`beforeUnmount`,`unmounted`],destroy:[`beforeDestroy`,`destroyed`],mount:[`beforeMount`,`mounted`],update:[`beforeUpdate`,`updated`]};function _c(e,t,n){e.$_sentryRootComponentSpanTimer&&clearTimeout(e.$_sentryRootComponentSpanTimer),e.$_sentryRootComponentSpanTimer=setTimeout(()=>{e.$root?.$_sentryRootComponentSpan&&(e.$root.$_sentryRootComponentSpan.end(t),e.$root.$_sentryRootComponentSpan=void 0)},n)}function vc(e,t){function n(e){return e.replace(/^<([^\s]*)>(?: at [^\s]*)?$/,`$1`)}return e.some(e=>n(t)===n(e))}var yc=(e={})=>{let t=ic((e.hooks||[]).concat(ac)),n={},r=e.timeout||2e3;for(let i of t){let t=gc[i];if(!t){oc&&or.warn(`Unknown hook: ${i}`);continue}for(let a of t)n[a]=function(){let n=this.$root===this;n&&(this.$_sentryRootComponentSpan=this.$_sentryRootComponentSpan||sr({name:`Application Render`,op:`${hc}.render`,attributes:{"sentry.origin":`auto.ui.vue`},onlyIfParent:!0}),_c(this,ar(),r));let o=fc(this,!1);if(!(n||(Array.isArray(e.trackComponents)?vc(e.trackComponents,o):e.trackComponents))){_c(this,ar(),r);return}this.$_sentryComponentSpans=this.$_sentryComponentSpans||{};let s=a===t[0],c=this.$root?.$_sentryRootComponentSpan||rr();if(s){if(c){let e=this.$_sentryComponentSpans[i];
32e&&e.end(),this.$_sentryComponentSpans[i]=sr({name:`Vue ${o}`,op:`${hc}.${i}`,attributes:{[$n]:`auto.ui.vue`},onlyIfParent:!0})}}else{let e=this.$_sentryComponentSpans[i];if(!e)return;e.end(),_c(this,ar(),r)}}}return n},bc={Vue:Xn.Vue,attachProps:!0,attachErrorHandler:!0,tracingOptions:{hooks:ac,timeout:2e3,trackComponents:!1}},xc=`Vue`,Sc=ir((e={})=>({name:xc,setup(t){let n={...bc,...t.getOptions(),...e};if(!n.Vue&&!n.app){Zn(()=>{console.warn("[@sentry/vue]: Misconfigured SDK. Vue specific errors will not be captured. Update your `Sentry.init` call with an appropriate config option: `app` (Application Instance - Vue 3) or `Vue` (Vue Constructor - Vue 2).")});return}n.app?(Array.isArray(n.app)?n.app:[n.app]).forEach(e=>Cc(e,n)):n.Vue&&Cc(n.Vue,n)}})),Cc=(e,t)=>{oc&&e._instance?.isMounted===!0&&Zn(()=>{console.warn("[@sentry/vue]: Misconfigured SDK. Vue app is already mounted. Make sure to call `app.mount()` after `Sentry.init()`.")}),t.attachErrorHandler&&mc(e,t),Qs(t)&&e.mixin(yc(t.tracingOptions))};function wc(e){let{error:t,instance:n,info:r}=e,i={info:r};if(n?.$props){let e=Qn();(e?e.getOptions():null)?.attachProps&&n.$props!==!1&&(i.propsData=n.$props)}setTimeout(()=>{rc(t,{captureContext:{contexts:{nuxt:i}},mechanism:{handled:!1,type:`auto.function.nuxt.${n?`vue`:`app`}-error`}})})}var Tc=[ei,ri,gi,Fi,zi,ea,ta,na,ra,ia,aa,oa,ua,pa,_a,ya,ba,Da,Oa,Ia,lo,mo,_o,vo,Xo,Zo,ks,js,Ps,Ls,Rs,Gs,Ks,qs,Js,Ys,Zs,c({dependsOn:[`sentry-client-config`],async setup(e){if(typeof __SENTRY_TRACING__>`u`||__SENTRY_TRACING__){let t=Qn();t&&`$router`in e&&t.addIntegration(nr({router:e.$router,routeLabel:`path`}))}e.hook(`app:created`,e=>{let t=Qn();t&&t.addIntegration(Sc({...Xn._sentryNuxtVueIntegrationOptions,app:e,attachErrorHandler:!1}))}),e.hook(`app:error`,e=>{Ve(e)&&e?.statusCode&&e.statusCode>=300&&e.statusCode<500||wc({error:e})}),e.hook(`vue:error`,(e,t,n)=>{wc({error:e,instance:t,info:n})})}}),c({name:`i18n:plugin:ssg-detect`,dependsOn:[`i18n:plugin`,`i18n:plugin:route-locale-detect`],enforce:`post`,setup(e){}})],Ec=(e=`RouteProvider`)=>N({name:e,props:{route:{type:Object,required:!0},vnode:Object,vnodeRef:Object,renderKey:String,trackRootNodes:Boolean},setup(e){let t=e.renderKey,n=e.route,r={};for(let i in e.route)Object.defineProperty(r,i,{get:()=>t===e.renderKey?e.route[i]:n[i],enumerable:!0});return le(et,De(r)),()=>e.vnode?g(e.vnode,{ref:e.vnodeRef}):e.vnode}}),Dc=Ec(),Oc=new WeakMap,kc=N({name:`NuxtPage`,inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:t,slots:n,expose:r}){let i=u(),a=Se(),o=C(et,null),s=new Set,c;r({pageRef:a});let l=C(tt,null),d,f=i.deferHydration(),p=!1,m=!1,h,_=0;if(i.isHydrating){let e=i.hooks.hookOnce(`app:error`,f),t=R().beforeEach(()=>{e(),t()})}e.pageKey&&S(()=>e.pageKey,(e,t)=>{e!==t&&i.callHook(`page:loading:start`)});let v=!1;{let e=R().beforeResolve(()=>{v=!1});fe(()=>{e(),f()})}return()=>g(En,{name:e.name,route:e.route,...t},{default:Mc(t=>{let r=Ac(o,t.route,t.Component),u=o&&o.matched.length===t.route.matched.length;if(!t.Component){if(d&&!u&&!Pc(d))return d;f();return}if(d&&l&&!Pc(d)&&!l.isCurrent(t.route))return d;if(r&&o&&(!l||l?.isCurrent(o)))return(u||d)&&!Pc(d)?d:null;let y=xi(t,e.pageKey),b=jc(o,t.route,t.Component);!i.isHydrating&&c===y&&!b&&be(()=>{v||(v=!0,i.callHook(`page:loading:end`))}),p&&c!==y&&m&&_++,c=y;let x=!!(e.transition??t.route.meta.pageTransition??!1),S=x&&_n([e.transition,t.route.meta.pageTransition,!1,{onAfterLeave(){i[`~transitionFinish`]?.(),delete i[`~transitionFinish`],delete i[`~transitionPromise`],i.callHook(`page:transition:finish`,t.Component)}}]),C=e.keepalive??t.route.meta.keepalive??!1,ee=t.Component.type,w=ee.name||ee.__name;t.route.meta.keepalive&&w&&s.add(w);let T;if(s.size>0&&e.keepalive==null&&(!C||typeof C==`object`&&C&&C.include)){let e=typeof C==`object`&&C?{...C}:{},t=e.include?Array.isArray(e.include)?e.include:[e.include]:[];T={...e,include:Array.from(new Set([...t,...s]))}}else T=C;return d=vn(x&&S,Si(T,g(pe,{key:_,suspensible:!0,onPending:()=>{p=!0,x&&!i[`~transitionPromise`]&&(i[`~transitionPromise`]=new Promise(e=>{i[`~transitionFinish`]=e})),h=i.callHook(`page:start`,t.Component)}
32,onResolve:async()=>{p=!1,m=!0,i.isHydrating&&i[`~restoreDeferredRoute`]?.();try{await be(),i._route.sync?.(),await h,await i.callHook(`page:finish`,t.Component),!v&&!b&&(v=!0,await i.callHook(`page:loading:end`))}finally{f()}}},{default:()=>{let e={key:y||void 0,vnode:n.default?Nc(n.default,t):t.Component,route:t.route,renderKey:y||void 0,trackRootNodes:x,vnodeRef:a};if(!T)return g(Dc,e);let r=ee,i=Oc.get(r);return i||(i=Ec(w),Oc.set(r,i)),g(i,e)}}))).default(),d})})}});function Ac(e,t,n){if(!e)return!1;let r=t.matched.findIndex(e=>e.components?.default===n?.type);if(r===-1)return!1;let i=t.matched.slice(0,r).filter(e=>e.components?.default);if(!i.length)return!1;let a=e.matched.filter(e=>e.components?.default);return i.some((e,t)=>e.components?.default!==a[t]?.components?.default)||n&&xi({route:t,Component:n})!==xi({route:e,Component:n})}function jc(e,t,n){return e?t.matched.findIndex(e=>e.components?.default===n?.type)<t.matched.length-1:!1}function Mc(e){let t=(t=>{let n=e(t);return Array.isArray(n)?n:n==null||!ne(n)?[Ee()]:[n]});return t._n=!0,t}function Nc(e,t){let n=e(t);return n.length===1?g(n[0]):g(he,void 0,n)}function Pc(e){return!!e&&(!!e.suspense?.isUnmounted||!!e.component?.isUnmounted)}var Fc=N({name:`LayoutLoader`,inheritAttrs:!1,props:{name:String,layoutProps:Object},setup(e,t){return()=>g(va[e.name],e.layoutProps,t.slots)}}),Ic=N({name:`NuxtLayout`,inheritAttrs:!1,props:{name:{type:[String,Boolean,Object],default:null},fallback:{type:[String,Object],default:null}},setup(e,t){let n=u(),r=C(et),i=!r||r===We()?Sn():r,a=M(()=>{let t=dn(i,e.name);return t&&!(t in va)&&e.fallback&&(t=D(e.fallback)),t});le(He,a);let o=we();t.expose({layoutRef:o});let s=n.deferHydration();if(n.isHydrating){let e=n.hooks.hookOnce(`app:error`,s),t=R().beforeEach(()=>{e(),t()})}let c;return()=>{let r=!!a.value&&a.value in va&&!!(i?.meta.layoutTransition??!1),l=r&&_n([i?.meta.layoutTransition,!1,{onBeforeLeave(){n[`~transitionPromise`]=new Promise(e=>{n[`~transitionFinish`]=e})},onAfterLeave(){n[`~transitionFinish`]?.(),delete n[`~transitionFinish`],delete n[`~transitionPromise`]}}]),u=c;return c=a.value,vn(l,{default:()=>g(pe,{suspensible:!0,onResolve:async()=>{await be(s)}},{default:()=>g(Lc,{layoutProps:oe(t.attrs,i.meta.layoutProps??{},{ref:o}),key:a.value||void 0,name:a.value,shouldProvide:!e.name,isRenderingNewLayout:e=>e!==u&&e===a.value,hasTransition:r},t.slots)})}).default()}}}),Lc=N({name:`NuxtLayoutProvider`,inheritAttrs:!1,props:{name:{type:[String,Boolean]},layoutProps:{type:Object},hasTransition:{type:Boolean},shouldProvide:{type:Boolean},isRenderingNewLayout:{type:Function,required:!0}},setup(e,t){let n=e.name;e.shouldProvide&&le(tt,{isCurrent:e=>n===!1||n===dn(e)});let r=C(et),i=r&&r===We(),a=C(tt,null);if(i){let t=Sn(),n={};for(let i in t){let o=i;Object.defineProperty(n,o,{enumerable:!0,get:()=>e.isRenderingNewLayout(e.name)&&(!a||a.isCurrent(t))?t[o]:r[o]})}le(et,De(n))}return()=>!n||typeof n==`string`&&!(n in va)?t.slots.default?.():g(Fc,{key:n,layoutProps:e.layoutProps,name:n},t.slots)}});function Rc(e,t){return Promise.all([e(),t()])}function zc(e,t){let n=typeof e==`string`&&!t?`${e}Context`:t,r=Symbol(n);return[t=>{let n=C(r,t);if(n===void 0)throw Error(`Injection \`${r.toString()}\` not found. Component must be used within ${Array.isArray(e)?`one of the following components: ${e.join(`, `)}`:`\`${e}\``}`);return n},e=>(le(r,e),e),r]}function Bc(e,t){let{layoutGroup:n,presenceContext:r,config:i}=t,a=n.id&&e.layoutId?`${n.id}-${e.layoutId}`:e.layoutId||void 0;return{...e,layoutId:a,transition:e.transition??i.transition,layoutGroup:n,motionConfig:i,inViewOptions:e.inViewOptions??i.inViewOptions,presenceContext:r,initial:r.initial===!1?r.initial:e.initial===!0?void 0:e.initial}}function Vc(e,t){e.indexOf(t)===-1&&e.push(t)}function Hc(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}var Uc=(e,t,n)=>n>t?t:n<e?e:n,Wc={},Gc=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),Kc=e=>typeof e==`object`&&!!e,qc=e=>/^0[^.\s]+$/u.test(e);function Jc(e){let t;return()=>(t===void 0&&(t=e()),t)}var V=e=>e,Yc=(...e)=>e.reduce((e,t)=>n=>t(e(n))),Xc=(e,t,n)=>{let r=t-e;return r?(n-e)/r:1},Zc=class{constructor(){this.subscriptions=[]}add(e){return Vc(this.subscriptions,e),()=>Hc(this.subscriptions,e)}
32notify(e,t,n){let r=this.subscriptions.length;if(r)if(r===1)this.subscriptions[0](e,t,n);else for(let i=0;i<r;i++){let r=this.subscriptions[i];r&&r(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}},H=e=>e*1e3,U=e=>e/1e3,Qc=(e,t)=>t?1e3/t*e:0,$c=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,el=1e-7,tl=12;function nl(e,t,n,r,i){let a,o,s=0;do o=t+(n-t)/2,a=$c(o,r,i)-e,a>0?n=o:t=o;while(Math.abs(a)>el&&++s<tl);return o}function rl(e,t,n,r){if(e===t&&n===r)return V;let i=t=>nl(t,0,1,e,n);return e=>e===0||e===1?e:$c(i(e),t,r)}var il=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,al=e=>t=>1-e(1-t),ol=rl(.33,1.53,.69,.99),sl=al(ol),cl=il(sl),ll=e=>e>=1?1:(e*=2)<1?.5*sl(e):.5*(2-2**(-10*(e-1))),ul=e=>1-Math.sin(Math.acos(e)),dl=al(ul),fl=il(ul),pl=rl(.42,0,1,1),ml=rl(0,0,.58,1),hl=rl(.42,0,.58,1),gl=e=>Array.isArray(e)&&typeof e[0]!=`number`,_l=e=>Array.isArray(e)&&typeof e[0]==`number`,vl={linear:V,easeIn:pl,easeInOut:hl,easeOut:ml,circIn:ul,circInOut:fl,circOut:dl,backIn:sl,backInOut:cl,backOut:ol,anticipate:ll},yl=e=>typeof e==`string`,bl=e=>{if(_l(e)){e.length;let[t,n,r,i]=e;return rl(t,n,r,i)}else if(yl(e))return vl[e],`${e}`,vl[e];return e},xl=[`setup`,`read`,`resolveKeyframes`,`preUpdate`,`update`,`preRender`,`render`,`postRender`];function Sl(e){let t=new Set,n=new Set,r=!1,i=!1,a=new WeakSet,o={delta:0,timestamp:0,isProcessing:!1};function s(t){a.has(t)&&(c.schedule(t),e()),t(o)}let c={schedule:(e,i=!1,o=!1)=>{let s=o&&r?t:n;return i&&a.add(e),s.add(e),e},cancel:e=>{n.delete(e),a.delete(e)},process:e=>{if(o=e,r){i=!0;return}r=!0;let a=t;t=n,n=a,t.forEach(s),t.clear(),r=!1,i&&(i=!1,c.process(e))}};return c}var Cl=40;function wl(e,t){let n=!1,r=!0,i={delta:0,timestamp:0,isProcessing:!1},a=()=>n=!0,o=xl.reduce((e,t)=>(e[t]=Sl(a),e),{}),{setup:s,read:c,resolveKeyframes:l,preUpdate:u,update:d,preRender:f,render:p,postRender:m}=o,h=()=>{let a=Wc.useManualTiming,o=a?i.timestamp:performance.now();n=!1,a||(i.delta=r?1e3/60:Math.max(Math.min(o-i.timestamp,Cl),1)),i.timestamp=o,i.isProcessing=!0,s.process(i),c.process(i),l.process(i),u.process(i),d.process(i),f.process(i),p.process(i),m.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(h))},g=()=>{n=!0,r=!0,i.isProcessing||e(h)};return{schedule:xl.reduce((e,t)=>{let r=o[t];return e[t]=(e,t=!1,i=!1)=>(n||g(),r.schedule(e,t,i)),e},{}),cancel:e=>{for(let t=0;t<xl.length;t++)o[xl[t]].cancel(e)},state:i,steps:o}}var{schedule:W,cancel:Tl,state:G,steps:El}=wl(typeof requestAnimationFrame<`u`?requestAnimationFrame:V,!0),Dl;function Ol(){Dl=void 0}var K={now:()=>(Dl===void 0&&K.set(G.isProcessing||Wc.useManualTiming?G.timestamp:performance.now()),Dl),set:e=>{Dl=e,queueMicrotask(Ol)}},kl=e=>t=>typeof t==`string`&&t.startsWith(e),Al=kl(`--`),jl=kl(`var(--`),Ml=e=>jl(e)?Nl.test(e.split(`/*`)[0].trim()):!1,Nl=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function Pl(e){return typeof e==`string`&&e.split(`/*`)[0].includes(`var(--`)}var Fl={test:e=>typeof e==`number`,parse:parseFloat,transform:e=>e},Il={...Fl,transform:e=>Uc(0,1,e)},Ll={...Fl,default:1},Rl=e=>Math.round(e*1e5)/1e5,zl=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Bl(e){return e==null}var Vl=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Hl=(e,t)=>n=>!!(typeof n==`string`&&Vl.test(n)&&n.startsWith(e)||t&&!Bl(n)&&Object.prototype.hasOwnProperty.call(n,t)),Ul=(e,t,n)=>r=>{if(typeof r!=`string`)return r;let[i,a,o,s]=r.match(zl);return{[e]:parseFloat(i),[t]:parseFloat(a),[n]:parseFloat(o),alpha:s===void 0?1:parseFloat(s)}},Wl=e=>Uc(0,255,e),Gl={...Fl,transform:e=>Math.round(Wl(e))},Kl={test:Hl(`rgb`,`red`),parse:Ul(`red`,`green`,`blue`),transform:({red:e,green:t,blue:n,alpha:r=1})=>`rgba(`+Gl.transform(e)+`, `+Gl.transform(t)+`, `+Gl.transform(n)+`, `+Rl(Il.transform(r))+`)`};function ql(e){let t=``,n=``,r=``,i=``;return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alph
32a:i?parseInt(i,16)/255:1}}var Jl={test:Hl(`#`),parse:ql,transform:Kl.transform},Yl=e=>({test:t=>typeof t==`string`&&t.endsWith(e)&&t.split(` `).length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Xl=Yl(`deg`),Zl=Yl(`%`),q=Yl(`px`),Ql=Yl(`vh`),$l=Yl(`vw`),eu={...Zl,parse:e=>Zl.parse(e)/100,transform:e=>Zl.transform(e*100)},tu={test:Hl(`hsl`,`hue`),parse:Ul(`hue`,`saturation`,`lightness`),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>`hsla(`+Math.round(e)+`, `+Zl.transform(Rl(t))+`, `+Zl.transform(Rl(n))+`, `+Rl(Il.transform(r))+`)`},J={test:e=>Kl.test(e)||Jl.test(e)||tu.test(e),parse:e=>Kl.test(e)?Kl.parse(e):tu.test(e)?tu.parse(e):Jl.parse(e),transform:e=>typeof e==`string`?e:e.hasOwnProperty(`red`)?Kl.transform(e):tu.transform(e),getAnimatableNone:e=>{let t=J.parse(e);return t.alpha=0,J.transform(t)}},nu=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function ru(e){return isNaN(e)&&typeof e==`string`&&(e.match(zl)?.length||0)+(e.match(nu)?.length||0)>0}var iu=`number`,au=`color`,ou=`var`,su=`var(`,cu="${}",lu=/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 uu(e){let t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[],a=0;return{values:n,split:t.replace(lu,e=>(J.test(e)?(r.color.push(a),i.push(au),n.push(J.parse(e))):e.startsWith(su)?(r.var.push(a),i.push(ou),n.push(e)):(r.number.push(a),i.push(iu),n.push(parseFloat(e))),++a,cu)).split(cu),indexes:r,types:i}}function du(e){return uu(e).values}function fu({split:e,types:t}){let n=e.length;return r=>{let i=``;for(let a=0;a<n;a++)if(i+=e[a],r[a]!==void 0){let e=t[a];e===iu?i+=Rl(r[a]):e===au?i+=J.transform(r[a]):i+=r[a]}return i}}function pu(e){return fu(uu(e))}var mu=e=>typeof e==`number`?0:J.test(e)?J.getAnimatableNone(e):e,hu=(e,t)=>typeof e==`number`?t?.trim().endsWith(`/`)?e:0:mu(e);function gu(e){let t=uu(e);return fu(t)(t.values.map((e,n)=>hu(e,t.split[n])))}var _u={test:ru,parse:du,createTransformer:pu,getAnimatableNone:gu};function vu(e,t,n){return n<0&&(n+=1),n>1&&--n,n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function yu({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,a=0,o=0;if(!t)i=a=o=n;else{let r=n<.5?n*(1+t):n+t-n*t,s=2*n-r;i=vu(s,r,e+1/3),a=vu(s,r,e),o=vu(s,r,e-1/3)}return{red:Math.round(i*255),green:Math.round(a*255),blue:Math.round(o*255),alpha:r}}function bu(e,t){return n=>n>0?t:e}var Y=(e,t,n)=>e+(t-e)*n,xu=(e,t,n)=>{let r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},Su=[Jl,Kl,tu],Cu=e=>Su.find(t=>t.test(e));function wu(e){let t=Cu(e);if(`${e}`,!t)return!1;let n=t.parse(e);return t===tu&&(n=yu(n)),n}var Tu=(e,t)=>{let n=wu(e),r=wu(t);if(!n||!r)return bu(e,t);let i={...n};return e=>(i.red=xu(n.red,r.red,e),i.green=xu(n.green,r.green,e),i.blue=xu(n.blue,r.blue,e),i.alpha=Y(n.alpha,r.alpha,e),Kl.transform(i))},Eu=new Set([`none`,`hidden`]);function Du(e,t){return Eu.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function Ou(e,t){return n=>Y(e,t,n)}function ku(e){return typeof e==`number`?Ou:typeof e==`string`?Ml(e)?bu:J.test(e)?Tu:Nu:Array.isArray(e)?Au:typeof e==`object`?J.test(e)?Tu:ju:bu}function Au(e,t){let n=[...e],r=n.length,i=e.map((e,n)=>ku(e)(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}}function ju(e,t){let n={...e,...t},r={};for(let i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=ku(e[i])(e[i],t[i]));return e=>{for(let t in r)n[t]=r[t](e);return n}}function Mu(e,t){let n=[],r={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){let a=t.types[i],o=e.indexes[a][r[a]];n[i]=e.values[o]??0,r[a]++}return n}var Nu=(e,t)=>{let n=_u.createTransformer(t),r=uu(e),i=uu(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?Eu.has(e)&&!i.values.length||Eu.has(t)&&!r.values.length?Du(e,t):Yc(Au(Mu(r,i),i.values),n):(`${e}${t}`,bu(e,t))};function Pu(e,t,n){return typeof e==`number`&&typeof t==`number`&&typeof n==`
32number`?Y(e,t,n):ku(e)(e,t)}var Fu=e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>W.update(t,e),stop:()=>Tl(t),now:()=>G.isProcessing?G.timestamp:K.now()}},Iu=(e,t,n=10)=>{let r=``,i=Math.max(Math.round(t/n),2);for(let t=0;t<i;t++)r+=Math.round(e(t/(i-1))*1e4)/1e4+`, `;return`linear(${r.substring(0,r.length-2)})`},Lu=2e4;function Ru(e){let t=0,n=e.next(t);for(;!n.done&&t<2e4;)t+=50,n=e.next(t);return t>=2e4?1/0:t}function zu(e,t=100,n){let r=n({...e,keyframes:[0,t]}),i=Math.min(Ru(r),Lu);return{type:`keyframes`,ease:e=>r.next(i*e).value/t,duration:U(i)}}var X={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};function Bu(e,t){return e*Math.sqrt(1-t*t)}var Vu=12;function Hu(e,t,n){let r=n;for(let n=1;n<Vu;n++)r-=e(r)/t(r);return r}var Uu=.001;function Wu({duration:e=X.duration,bounce:t=X.bounce,velocity:n=X.velocity,mass:r=X.mass}){let i,a;X.maxDuration;let o=1-t;o=Uc(X.minDamping,X.maxDamping,o),e=Uc(X.minDuration,X.maxDuration,U(e)),o<1?(i=t=>{let r=t*o,i=r*e,a=r-n,s=Bu(t,o),c=Math.exp(-i);return Uu-a/s*c},a=t=>{let r=t*o*e,a=r*n+n,s=o**2*t**2*e,c=Math.exp(-r),l=Bu(t**2,o);return(-i(t)+Uu>0?-1:1)*((a-s)*c)/l}):(i=t=>-.001+Math.exp(-t*e)*((t-n)*e+1),a=t=>Math.exp(-t*e)*((n-t)*(e*e)));let s=5/e,c=Hu(i,a,s);if(e=H(e),isNaN(c))return{stiffness:X.stiffness,damping:X.damping,duration:e};{let t=c**2*r;return{stiffness:t,damping:o*2*Math.sqrt(r*t),duration:e}}}var Gu=[`duration`,`bounce`],Ku=[`stiffness`,`damping`,`mass`];function qu(e,t){return t.some(t=>e[t]!==void 0)}function Ju(e){let t={velocity:X.velocity,stiffness:X.stiffness,damping:X.damping,mass:X.mass,isResolvedFromDuration:!1,...e};if(!qu(e,Ku)&&qu(e,Gu))if(t.velocity=0,e.visualDuration){let n=e.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,a=2*Uc(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:X.mass,stiffness:i,damping:a}}else{let n=Wu({...e,velocity:0});t={...t,...n,mass:X.mass},t.isResolvedFromDuration=!0}return t}function Yu(e=X.visualDuration,t=X.bounce){let n=typeof e==`object`?e:{visualDuration:e,keyframes:[0,1],bounce:t},{restSpeed:r,restDelta:i}=n,a=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],s={done:!1,value:a},{stiffness:c,damping:l,mass:u,duration:d,velocity:f,isResolvedFromDuration:p}=Ju({...n,velocity:-U(n.velocity||0)}),m=f||0,h=l/(2*Math.sqrt(c*u)),g=o-a,_=U(Math.sqrt(c/u)),v=Math.abs(g)<5;r||=v?X.restSpeed.granular:X.restSpeed.default,i||=v?X.restDelta.granular:X.restDelta.default;let y,b,x,S,C,ee;if(h<1)x=Bu(_,h),S=(m+h*_*g)/x,y=e=>{let t=Math.exp(-h*_*e);return o-t*(S*Math.sin(x*e)+g*Math.cos(x*e))},C=h*_*S+g*x,ee=h*_*g-S*x,b=e=>Math.exp(-h*_*e)*(C*Math.sin(x*e)+ee*Math.cos(x*e));else if(h===1){y=e=>o-Math.exp(-_*e)*(g+(m+_*g)*e);let e=m+_*g;b=t=>Math.exp(-_*t)*(_*e*t-m)}else{let e=_*Math.sqrt(h*h-1);y=t=>{let n=Math.exp(-h*_*t),r=Math.min(e*t,300);return o-n*((m+h*_*g)*Math.sinh(r)+e*g*Math.cosh(r))/e};let t=(m+h*_*g)/e,n=h*_*t-g*e,r=h*_*g-t*e;b=t=>{let i=Math.exp(-h*_*t),a=Math.min(e*t,300);return i*(n*Math.sinh(a)+r*Math.cosh(a))}}let w={calculatedDuration:p&&d||null,velocity:e=>H(b(e)),next:e=>{if(!p&&h<1){let t=Math.exp(-h*_*e),n=Math.sin(x*e),a=Math.cos(x*e),c=o-t*(S*n+g*a),l=H(t*(C*n+ee*a));return s.done=Math.abs(l)<=r&&Math.abs(o-c)<=i,s.value=s.done?o:c,s}let t=y(e);if(p)s.done=e>=d;else{let n=H(b(e));s.done=Math.abs(n)<=r&&Math.abs(o-t)<=i}return s.value=s.done?o:t,s},toString:()=>{let e=Math.min(Ru(w),Lu),t=Iu(t=>w.next(e*t).value,e,30);return e+`ms `+t},toTransition:()=>{}};return w}Yu.applyToOptions=e=>{let t=zu(e,100,Yu);return e.ease=t.ease,e.duration=H(t.duration),e.type=`keyframes`,e};var Xu=5;function Zu(e,t,n){let r=Math.max(t-Xu,0);return Qc(n-e(r),t-r)}function Qu({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:a=500,modifyTarget:o,min:s,max:c,restDelta:l=.5,restSpeed:u}){let d=e[0],f={done:!1,value:d},p=e=>s!==void 0&&e<s||c!==void 0&&e>c,m=e=>s===void 0?c:c===void 0||Math.abs(s-e)<Math.abs(c-e)?s:c,h=n*t,g=d+h,_=o===void 0?g:o(g);_!==g&&(h=_-d);let v=e=>-h*Math.exp(-e/r),y=e=>_+v(e),b=e=>{let t=v(e),n=y(e);f.done=Math.abs(t)<=l,f.value=f.done?_:n},x,S,C=e=>{p(f.value)&&(x=e,S=Yu({keyframes:[f.value,m(f.value)],velocity:Zu(y,e,f.value),damping:i,stiffness:a,restDelta:l,restSpeed:u}))};return C(0),{calculatedDuration:null,next:e=>{let t=!1;return!S&&x===void 0&&(t=!0,b(e),C(e)),x!==void 0&&e>=x?S.next(e-x):(!t&&b(e),f)}}}function $u(e,t,n){let r=[],i=n||Wc.mix||Pu,a=e.length-1;for(let n=0;n<a;n++){let a=i(e[n],e[n+1]);t&&(a=Yc(Array.isArray(t)?t[n]||V:t,a)),r.push(a)}return r}function ed(e,t,{clamp:n=!0,ease:r,mixer:i}={}){let a=e.length;if(t.length,a===1)return()=>t[0];if(a===2&&t[0]===t[1])return()=>t[1];let o=e[0]===e[1];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());let s=$u(t,r,i),c=s.length,l=n=>{if(o&&n<e[0])return t[0];let r=0;if(c>1)for(;r<e.length-2&&!(n<e[r+1]);r++);let i=Xc(e[r],e[r+1],n);return s[r](i)};return n?t=>l(Uc(e[0],e[a-1],t)):l}function td(e,t){let n=e[e.length-1];for(let r=1;r<=t;r++){let i=Xc(0,t,r);e.push(Y(n,1,i))}}
32function nd(e){let t=[0];return td(t,e.length-1),t}function rd(e,t){return e.map(e=>e*t)}function id(e,t){return e.map(()=>t||hl).splice(0,e.length-1)}function ad({duration:e=300,keyframes:t,times:n,ease:r=`easeInOut`}){let i=gl(r)?r.map(bl):bl(r),a={done:!1,value:t[0]},o=ed(rd(n&&n.length===t.length?n:nd(t),e),t,{ease:Array.isArray(i)?i:id(t,i)});return{calculatedDuration:e,next:t=>(a.value=o(t),a.done=t>=e,a)}}var od=e=>e!==null;function sd(e,{repeat:t,repeatType:n=`loop`},r,i=1){let a=e.filter(od),o=i<0||t&&n!==`loop`&&t%2==1?0:a.length-1;return!o||r===void 0?a[o]:r}var cd={decay:Qu,inertia:Qu,tween:ad,keyframes:ad,spring:Yu};function ld(e){typeof e.type==`string`&&(e.type=cd[e.type])}var ud=class{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,t){return this.finished.then(e,t)}},dd=e=>e/100,fd=class extends ud{constructor(e){super(),this.state=`idle`,this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:e}=this.options;e&&e.updatedAt!==K.now()&&this.tick(K.now()),this.isStopped=!0,this.state!==`idle`&&(this.teardown(),this.options.onStop?.())},this.options=e,this.initAnimation(),this.play(),e.autoplay===!1&&this.pause()}initAnimation(){let{options:e}=this;ld(e);let{type:t=ad,repeat:n=0,repeatDelay:r=0,repeatType:i,velocity:a=0}=e,{keyframes:o}=e,s=t||ad;s!==ad&&typeof o[0]!=`number`&&(this.mixKeyframes=Yc(dd,Pu(o[0],o[1])),o=[0,100]);let c=s({...e,keyframes:o});i===`mirror`&&(this.mirroredGenerator=s({...e,keyframes:[...o].reverse(),velocity:-a})),c.calculatedDuration===null&&(c.calculatedDuration=Ru(c));let{calculatedDuration:l}=c;this.calculatedDuration=l,this.resolvedDuration=l+r,this.totalDuration=this.resolvedDuration*(n+1)-r,this.generator=c}updateTime(e){let t=Math.round(e-this.startTime)*this.playbackSpeed;this.holdTime===null?this.currentTime=t:this.currentTime=this.holdTime}tick(e,t=!1){let{generator:n,totalDuration:r,mixKeyframes:i,mirroredGenerator:a,resolvedDuration:o,calculatedDuration:s}=this;if(this.startTime===null)return n.next(0);let{delay:c=0,keyframes:l,repeat:u,repeatType:d,repeatDelay:f,type:p,onUpdate:m,finalKeyframe:h}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-r/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);let g=this.currentTime-c*(this.playbackSpeed>=0?1:-1),_=this.playbackSpeed>=0?g<0:g>r;this.currentTime=Math.max(g,0),this.state===`finished`&&this.holdTime===null&&(this.currentTime=r);let v=this.currentTime,y=n;if(u){let e=Math.min(this.currentTime,r)/o,t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),n===1&&t--,t=Math.min(t,u+1),t%2&&(d===`reverse`?(n=1-n,f&&(n-=f/o)):d===`mirror`&&(y=a)),v=Uc(0,1,n)*o}let b;_?(this.delayState.value=l[0],b=this.delayState):b=y.next(v),i&&!_&&(b.value=i(b.value));let{done:x}=b;!_&&s!==null&&(x=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);let S=this.holdTime===null&&(this.state===`finished`||this.state===`running`&&x);return S&&p!==Qu&&(b.value=sd(l,this.options,h,this.speed)),m&&m(b.value),S&&this.finish(),b}then(e,t){return this.finished.then(e,t)}get duration(){return U(this.calculatedDuration)}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+U(e)}get time(){return U(this.currentTime)}set time(e){e=H(e),this.currentTime=e,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state=`paused`,this.holdTime=e,this.tick(e))}getGeneratorVelocity(){let e=this.currentTime;if(e<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(e);let t=this.generator.next(e).value;return Zu(e=>this.generator.next(e).value,e,t)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;t&&this.driver&&this.updateTime(K.now()),this.playbackSpeed=e,t&&this.driver&&(this.time=U(this.currentTime))}play(){if(this.isStopped)return;let{driver:e=Fu,startTime:t}=this.options;this.driver||=e(e=>this.tick(e)),this.options.onPlay?.();let n=this.driver.now();this.state===`finished`?(this.updateFinished(),this.startTime=n):this.holdTime===null?this.startTime||=t??n:this.startTime=n-this.holdTime,this.state===`finished`&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state=`running`,this.driver.start()}pause(){this.state=`paused`,this.updateTime(K.now()),this.holdTime=this.currentTime}complete(){this.state!==`running`&&this.play(),this.state=`finished`,this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state=`finished`,this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state=`idle`,this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&=(this.driver.stop(),void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type=`keyframes`,this.options.ease=`linear`,this.initAnimation()),this.driver?.stop(),e.observe(this)}};function pd(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}var md=e=>e*180/Math.PI,hd=e=>_d(md(Math.atan2(e[1],e[0]))),gd={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:hd,rotateZ:hd,skewX:e=>md(Math.atan(e[1])),skewY:e=>md(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},_d=e=>(e%=360,e<0&&(e+=360),e),vd=hd,yd=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),bd=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),xd={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:yd,scaleY:bd,scale:e=>(yd(e)+bd(e))/2,rotateX:e=>_d(md(Math.atan2(e[6],e[5]))),rotateY:e=>_d(md(Math.atan2(-e[2],e[0]))),rotateZ:vd,rotate:vd,skewX:e=>md(Math.atan(e[4])),skewY:e=>md(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Sd(e){return+!!e.includes(`scale`)}
32function Cd(e,t){if(!e||e===`none`)return Sd(t);let n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u),r,i;if(n)r=xd,i=n;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=gd,i=t}if(!i)return Sd(t);let a=r[t],o=i[1].split(`,`).map(Td);return typeof a==`function`?a(o):o[a]}var wd=(e,t)=>{let{transform:n=`none`}=getComputedStyle(e);return Cd(n,t)};function Td(e){return parseFloat(e.trim())}var Ed=[`transformPerspective`,`x`,`y`,`z`,`translateX`,`translateY`,`translateZ`,`scale`,`scaleX`,`scaleY`,`rotate`,`rotateX`,`rotateY`,`rotateZ`,`skew`,`skewX`,`skewY`],Dd=new Set([...Ed,`pathRotation`]),Od=e=>e===Fl||e===q,kd=new Set([`x`,`y`,`z`]),Ad=Ed.filter(e=>!kd.has(e));function jd(e){let t=[];return Ad.forEach(n=>{let r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(+!!n.startsWith(`scale`)))}),t}var Md={width:({x:e},{paddingLeft:t=`0`,paddingRight:n=`0`,boxSizing:r})=>{let i=e.max-e.min;return r===`border-box`?i:i-parseFloat(t)-parseFloat(n)},height:({y:e},{paddingTop:t=`0`,paddingBottom:n=`0`,boxSizing:r})=>{let i=e.max-e.min;return r===`border-box`?i:i-parseFloat(t)-parseFloat(n)},top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>Cd(t,`x`),y:(e,{transform:t})=>Cd(t,`y`)};Md.translateX=Md.x,Md.translateY=Md.y;var Nd=new Set,Pd=!1,Fd=!1,Id=!1;function Ld(){if(Fd){let e=Array.from(Nd).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),n=new Map;t.forEach(e=>{let t=jd(e);t.length&&(n.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=n.get(e);t&&t.forEach(([t,n])=>{e.getValue(t)?.set(n)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{e.suspendedScrollY!==void 0&&window.scrollTo(0,e.suspendedScrollY)})}Fd=!1,Pd=!1,Nd.forEach(e=>e.complete(Id)),Nd.clear()}function Rd(){Nd.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Fd=!0)})}function zd(){Id=!0,Rd(),Ld(),Id=!1}var Bd=class{constructor(e,t,n,r,i,a=!1){this.state=`pending`,this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=r,this.element=i,this.isAsync=a}scheduleResolve(){this.state=`scheduled`,this.isAsync?(Nd.add(this),Pd||(Pd=!0,W.read(Rd),W.resolveKeyframes(Ld))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:n,motionValue:r}=this;if(e[0]===null){let i=r?.get(),a=e[e.length-1];if(i!==void 0)e[0]=i;else if(n&&t){let r=n.readValue(t,a);r!=null&&(e[0]=r)}e[0]===void 0&&(e[0]=a),r&&i===void 0&&r.set(e[0])}pd(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state=`complete`,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),Nd.delete(this)}cancel(){this.state===`scheduled`&&(Nd.delete(this),this.state=`pending`)}resume(){this.state===`pending`&&this.scheduleResolve()}},Vd=e=>e.startsWith(`--`);function Hd(e,t,n){Vd(t)?e.style.setProperty(t,n):e.style[t]=n}var Ud={};function Wd(e,t){let n=Jc(e);return()=>Ud[t]??n()}var Gd=Wd(()=>window.ScrollTimeline!==void 0,`scrollTimeline`),Kd=Wd(()=>{try{document.createElement(`div`).animate({opacity:0}
32,{easing:`linear(0, 1)`})}catch{return!1}return!0},`linearEasing`),qd=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,Jd={linear:`linear`,ease:`ease`,easeIn:`ease-in`,easeOut:`ease-out`,easeInOut:`ease-in-out`,circIn:qd([0,.65,.55,1]),circOut:qd([.55,0,1,.45]),backIn:qd([.31,.01,.66,-.59]),backOut:qd([.33,1.53,.69,.99])};function Yd(e,t){if(e)return typeof e==`function`?Kd()?Iu(e,t):`ease-out`:_l(e)?qd(e):Array.isArray(e)?e.map(e=>Yd(e,t)||Jd.easeOut):Jd[e]}function Xd(e,t,n,{delay:r=0,duration:i=300,repeat:a=0,repeatType:o=`loop`,ease:s=`easeOut`,times:c}={},l=void 0){let u={[t]:n};c&&(u.offset=c);let d=Yd(s,i);Array.isArray(d)&&(u.easing=d);let f={delay:r,duration:i,easing:Array.isArray(d)?`linear`:d,fill:`both`,iterations:a+1,direction:o===`reverse`?`alternate`:`normal`};return l&&(f.pseudoElement=l),e.animate(u,f)}function Zd(e){return typeof e==`function`&&`applyToOptions`in e}function Qd({type:e,...t}){return Zd(e)&&Kd()?e.applyToOptions(t):(t.duration??=300,t.ease??=`easeOut`,t)}var $d=class extends ud{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;let{element:t,name:n,keyframes:r,pseudoElement:i,allowFlatten:a=!1,finalKeyframe:o,onComplete:s}=e;this.isPseudoElement=!!i,this.allowFlatten=a,this.options=e,e.type;let c=Qd(e);this.animation=Xd(t,n,r,c,i),c.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){let e=sd(r,this.options,o,this.speed);this.updateMotionValue&&this.updateMotionValue(e),Hd(t,n,e),this.animation.cancel()}s?.(),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 U(Number(e))}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+U(e)}get time(){return U(Number(this.animation.currentTime)||0)}set time(e){let t=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=H(e),t&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return this.finishedTime===null?this.animation.playState:`f
32inished`}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,rangeStart:t,rangeEnd:n,observe:r}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:`linear`}),this.animation.onfinish=null,e&&Gd()?(this.animation.timeline=e,t&&(this.animation.rangeStart=t),n&&(this.animation.rangeEnd=n),V):r(this)}},ef={anticipate:ll,backInOut:cl,circInOut:fl};function tf(e){return e in ef}function nf(e){typeof e.ease==`string`&&tf(e.ease)&&(e.ease=ef[e.ease])}var rf=10,af=class extends $d{constructor(e){nf(e),ld(e),super(e),e.startTime!==void 0&&e.autoplay!==!1&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){let{motionValue:t,onUpdate:n,onComplete:r,element:i,...a}=this.options;if(!t)return;if(e!==void 0){t.set(e);return}let o=new fd({...a,autoplay:!1}),s=Math.max(rf,K.now()-this.startTime),c=Uc(0,rf,s-rf),l=o.sample(s).value,{name:u}=this.options;i&&u&&Hd(i,u,l),t.setWithVelocity(o.sample(Math.max(0,s-c)).value,l,c),o.stop()}},of=(e,t)=>t!==`zIndex`&&!!(typeof e==`number`||Array.isArray(e)||typeof e==`string`&&(_u.test(e)||e===`0`)&&!e.startsWith(`url(`));function sf(e){let t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function cf(e,t,n,r){let i=e[0];if(i===null)return!1;if(t===`display`||t===`visibility`)return!0;let a=e[e.length-1],o=of(i,t),s=of(a,t);return`${t}${i}${a}${o?a:i}`,!o||!s?!1:sf(e)||(n===`spring`||Zd(n))&&r}function lf(e){e.duration=0,e.type=`keyframes`}var uf=new Set([`opacity`,`clipPath`,`filter`,`transform`]),df=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function ff(e){for(let t=0;t<e.length;t++)if(typeof e[t]==`string`&&df.test(e[t]))return!0;return!1}var pf=new Set([`color`,`backgroundColor`,`outlineColor`,`fill`,`stroke`,`borderColor`,`borderTopColor`,`borderRightColor`,`borderBottomColor`,`borderLeftColor`]),mf=Jc(()=>Object.hasOwnProperty.call(Element.prototype,`animate`));function hf(e){let{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:a,type:o,keyframes:s}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:c,transformTemplate:l}=t.owner.getProps();return mf()&&n&&(uf.has(n)||pf.has(n)&&ff(s))&&(n!==`transform`||!l)&&!c&&!r&&i!==`mirror`&&a!==0&&o!==`inertia`}var gf=40,_f=class extends ud{constructor({autoplay:e=!0,delay:t=0,type:n=`keyframes`,repeat:r=0,repeatDelay:i=0,repeatType:a=`loop`,keyframes:o,name:s,motionValue:c,element:l,...u}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=K.now();let d={autoplay:e,delay:t,type:n,repeat:r,repeatDelay:i,repeatType:a,name:s,motionValue:c,element:l,...u},f=l?.KeyframeResolver||Bd;this.keyframeResolver=new f(o,(e,t,n)=>this.onKeyframesResolved(e,t,d,!n),s,c,l),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,n,r){this.keyframeResolver=void 0;let{name:i,type:a,velocity:o,delay:s,isHandoff:c,onUpdate:l}=n;this.resolvedAt=K.now();let u=!0;cf(e,i,a,o)||(u=!1,(Wc.instantAnimations||!s)&&l?.(sd(e,n,t)),e[0]=e[e.length-1],lf(n),n.repeat=0);let d={startTime:r?this.resolvedAt&&this.resolvedAt-this.createdAt>gf?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...n,keyframes:e},f=u&&!c&&hf(d),p=d.motionValue?.owner?.current,m;if(f)try{m=new af({...d,element:p})}catch{m=new fd(d)}else m=new fd(d);m.finished.then(()=>{this.notifyFinished()}).catch(V),this.pendingTimeline&&=(this.stopTimeline=m.attachTimeline(this.pendingTimeline),void 0),this._animation=m}get finished(){return this._animation?this.animation.finished:this._finished}then(e,t){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),zd()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}};function vf(e,t,n,r=0,i=1){let a=Array.from(e).sort((e,t)=>
32e.sortNodePosition(t)).indexOf(t),o=e.size,s=(o-1)*r;return typeof n==`function`?n(a,o):i===1?a*r:s-a*r}var yf=30,bf=e=>!isNaN(parseFloat(e)),xf={current:void 0},Sf=class{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let t=K.now();if(this.updatedAt!==t&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let e of this.dependents)e.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=K.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=bf(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on(`change`,e)}on(e,t){this.events[e]||(this.events[e]=new Zc);let n=this.events[e].add(t);return e===`change`?()=>{n(),W.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||=new Set,this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return xf.current&&xf.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=K.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>yf)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,yf);return Qc(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}};function Cf(e,t){return new Sf(e,t)}function wf(e,t){if(e?.inherit&&t){let{inherit:n,...r}=e;return{...t,...r}}return e}function Tf(e,t){let n=e?.[t]??e?.default??e;return n===e?n:wf(n,e)}var Ef={type:`spring`,stiffness:500,damping:25,restSpeed:10},Df=e=>({type:`spring`,stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),Of={type:`keyframes`,duration:.8},kf={type:`keyframes`,ease:[.25,.1,.35,1],duration:.3},Af=(e,{keyframes:t})=>t.length>2?Of:Dd.has(e)?e.startsWith(`scale`)?Df(t[1]):Ef:kf,jf=new Set([`when`,`delay`,`delayChildren`,`staggerChildren`,`staggerDirection`,`repeat`,`repeatType`,`repeatDelay`,`from`,`elapsed`]);function Mf(e){for(let t in e)if(!jf.has(t))return!0;return!1}var Nf=(e,t,n,r={},i,a)=>o=>{let s=Tf(r,e)||{},c=s.delay||r.delay||0,{elapsed:l=0}=r;l-=H(c);let u={keyframes:Array.isArray(n)?n:[null,n],ease:`easeOut`,velocity:t.getVelocity(),...s,delay:-l,onUpdate:e=>{t.set(e),s.onUpdate&&s.onUpdate(e)},onComplete:()=>{o(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:a?void 0:i};Mf(s)||Object.assign(u,Af(e,u)),u.duration&&=H(u.duration),u.repeatDelay&&=H(u.repeatDelay),u.from!==void 0&&(u.keyframes[0]=u.from);let d=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(lf(u),u.delay===0&&(d=!0)),(Wc.instantAnimations||Wc.skipAnimations||i?.shouldSkipAnimations||s.skipAnimations)&&(d=!0,lf(u),u.delay=0),u.allowFlatten=!s.type&&!s.ease,d&&!a&&t.get()!==void 0){let e=sd(u.keyframes,s);if(e!==void 0){W.update(()=>{u.onUpdate(e),u.onComplete()});return}}return s.isSync?new fd(u):new _f(u)},Pf=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Ff(e){let t=Pf.exec(e);if(!t)return[,];let[,n,r,i]=t;return[`--${n??r}`,i]}function If(e,t,n=1){`${e}`;let[r,i]=Ff(e);
32if(!r)return;let a=window.getComputedStyle(t).getPropertyValue(r);if(a){let e=a.trim();return Gc(e)?parseFloat(e):e}return Ml(i)?If(i,t,n+1):i}function Lf(e){let t=[{},{}];return e?.values.forEach((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()}),t}function Rf(e,t,n,r){if(typeof t==`function`){let[i,a]=Lf(r);t=t(n===void 0?e.custom:n,i,a)}if(typeof t==`string`&&(t=e.variants&&e.variants[t]),typeof t==`function`){let[i,a]=Lf(r);t=t(n===void 0?e.custom:n,i,a)}return t}function zf(e,t,n){let r=e.getProps();return Rf(r,t,n===void 0?r.custom:n,e)}var Bf=new Set([`width`,`height`,`top`,`left`,`right`,`bottom`,...Ed]),Vf=e=>Array.isArray(e);function Hf(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Cf(n))}function Uf(e){return Vf(e)?e[e.length-1]||0:e}function Wf(e,t){let{transitionEnd:n={},transition:r={},...i}=zf(e,t)||{};i={...i,...n};for(let t in i)Hf(e,t,Uf(i[t]))}var Z=e=>!!(e&&e.getVelocity);function Gf(e){return!!(Z(e)&&e.add)}function Kf(e,t){let n=e.getValue(`willChange`);if(Gf(n))return n.add(t);if(!n&&Wc.WillChange){let n=new Wc.WillChange(`auto`);e.addValue(`willChange`,n),n.add(t)}}function qf(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}var Jf=`data-`+qf(`framerAppearId`);function Yf(e){return e.props[Jf]}function Xf({protectedKeys:e,needsAnimating:t},n){let r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function Zf(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:a,transitionEnd:o,...s}=t,c=e.getDefaultTransition();a=a?wf(a,c):c;let l=a?.reduceMotion,u=a?.skipAnimations;r&&(a=r);let d=[],f=i&&e.animationState&&e.animationState.getState()[i],p=a?.path;p&&p.animateVisualElement(e,s,a,n,d);for(let t in s){let r=e.getValue(t,e.latestValues[t]??null),i=s[t];if(i===void 0||f&&Xf(f,t))continue;let o={delay:n,...Tf(a||{},t)};u&&(o.skipAnimations=!0);let c=r.get();if(c!==void 0&&!r.isAnimating()&&!Array.isArray(i)&&i===c&&!o.velocity){W.update(()=>r.set(i));continue}let p=!1;if(window.MotionHandoffAnimation){let n=Yf(e);if(n){let e=window.MotionHandoffAnimation(n,t,W);e!==null&&(o.startTime=e,p=!0)}}Kf(e,t);let m=l??e.shouldReduceMotion;r.start(Nf(t,r,i,m&&Bf.has(t)?{type:!1}:o,e,p));let h=r.animation;h&&d.push(h)}if(o){let t=()=>W.update(()=>{o&&Wf(e,o)});d.length?Promise.all(d).then(t):t()}return d}function Qf(e,t,n={}){let r=zf(e,t,n.type===`exit`?e.presenceContext?.custom:void 0),{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);let a=r?()=>Promise.all(Zf(e,r,n)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(r=0)=>{let{delayChildren:a=0,staggerChildren:o,staggerDirection:s}=i;return $f(e,t,r,a,o,s,n)}:()=>Promise.resolve(),{when:s}=i;if(s){let[e,t]=s===`beforeChildren`?[a,o]:[o,a];return e().then(()=>t())}else return Promise.all([a(),o(n.delay)])}function $f(e,t,n=0,r=0,i=0,a=1,o){let s=[];for(let c of e.variantChildren)c.notify(`AnimationStart`,t),s.push(Qf(c,t,{...o,delay:n+(typeof r==`function`?0:r)+vf(e.variantChildren,c,r,i,a)}).then(()=>c.notify(`AnimationComplete`,t)));return Promise.all(s)}function ep(e,t,n={}){e.notify(`AnimationStart`,t);let r;if(Array.isArray(t)){let i=t.map(t=>Qf(e,t,n));r=Promise.all(i)}else if(typeof t==`string`)r=Qf(e,t,n);else{let i=typeof t==`function`?zf(e,t,n.custom):t;r=Promise.all(Zf(e,i,n))}return r.then(()=>{e.notify(`AnimationComplete`,t)})}var tp={test:e=>e===`auto`,parse:e=>e},np=e=>t=>t.test(e),rp=[Fl,q,Zl,Xl,$l,Ql,tp],ip=e=>rp.find(np(e));function ap(e){return typeof e==`number`?e===0:e===null||e===`none`||e===`0`||qc(e)}var op=new Set([`brightness`,`contrast`,`saturate`,`opacity`]);function sp(e){let[t,n]=e.slice(0,-1).split(`(`);if(t===`drop-shadow`)return e;let[r]=n.match(zl)||[];if(!r)return e;let i=n.replace(r,``),a=+!!op.has(t);return r!==n&&(a*=100),t+`(`+a+i+`)`}var cp=/\b([a-z-]*)\(.*?\)/gu,lp={..._u,getAnimatableNone:e=>{let t=e.match(cp);return t?t.map(sp).join(` `):e}},up={..._u,getAnimatableNone:e=>{let t=_u.parse(e);return _u.createTransformer(e)(t.map(e=>typeof e==`number`?0:typeof e==`object`?{...e,alpha:1}:e))}},dp={...Fl,transform:Math.round},fp={borderWidth:q,borderTopWidth:q,borderRightWidth:q,borderBottomWidth:q,borderLeftWidth:q,borderRadius:q,borderTopLeftRadius:q,borderTopRightRadius:q,borderBottomRightRadius:q,borderBottomLeftRadius:q,width:q,maxWidth:q,height:q,maxHeight:q,top:q,right:q,bottom:q,left:q,inset:q,insetBlock:q,insetBlockStart:q,insetBlockEnd:q,insetInline:q,insetInlineStart:q,insetInlineEnd:q,padding:q,paddingTop:q,paddingRight:q,paddingBottom:q,paddingLeft:q,paddingBlock:q,paddingBlockStart:q,paddingBlockEnd:q,paddingInline:q,paddingInlineStart:q,paddingInlineEnd:q,margin:q,marginTop:q,marginRight:q,marginBottom:q,marginLeft:q,marginBlock:q,marginBlockStart:q,marginBlockEnd:q,marginInline:q,marginInlineStart:q,marginInlineEnd:q,fontSize:q,backgroundPositionX:q,backgroundPositionY:q,rotate:Xl,pathRotation:Xl,rotateX:Xl,rotateY:Xl,rotateZ:Xl,scale:Ll,scaleX:Ll,scaleY:Ll,scaleZ:Ll,skew:Xl,skewX:Xl,skewY:Xl,distance:q,translateX:q,translateY:q,translateZ:q,x:q,y:q,z:q,perspective:q,transformPerspective:q,opacity:Il,originX:eu,originY:eu,originZ:q,zIndex:dp,fillOpacity:Il,strokeOpacity:Il,numOctaves:dp},pp={...fp,color:J,backgroundColor:J,outlineColor:J,fill:J,stroke:J,borderColor:J,borderTopColor:J,borderRightColor:J,borderBottomColor:J,borderLeftColor:J,filter:lp,WebkitFilter:lp,mask:up,WebkitMask:up},mp=e=>pp[e],hp=new Set([lp,up]);function gp(e,t){let n=mp(e);return hp.has(n)||(n=_u),n.getAnimatableNone?n.getAnimatableNone(t):void 0}var _p=new Set([`auto`,`none`,`0`]);function vp(e,t,n){let r=0,i;for(;r<e.length&&!i;){let t=e[r];typeof t==`string`&&!_p.has(t)&&uu(t).values.length&&(i=e[r]),r++}if(i&&n)for(let r of t)e[r]=gp(n,i)}var yp=class extends Bd{constructor(e,t,n,r,i){super(e,t,n,r,i,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let n=0;n<e.length;n++){let r=e[n];if(typeof r==`string`&&(r=r.trim(),Ml(r))){let i=If(r,t.current);i!==void 0&&(e[n]=i),n===e.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!Bf.has(n)||e.length!==2)return;let[r,i]=e,a=ip(r),o=ip(i);if(Pl(r)!==Pl(i)&&Md[n]){this.needsMeasurement=!0;return}if(a!==o)if(Od(a)&&Od(o))for(let t=0;t<e.length;t++){let n=e[t];typeof n==`string`&&(e[t]=parseFloat(n))}else Md[n]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++)(e[t]===null||ap(e[t]))&&n.push(t);n.length&&vp(e,n,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:n}=this;if(!e||!e.current)return;n===`height`&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Md[n](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let r=t[t.length-1];r!==void 0&&e.getValue(n,r).jump(r,!1)}measureEndState(){let{element:e,name:t,unresolvedKeyframes:n}=this;if(!e||!e.current)return;let r=e.getValue(t);r&&r.jump(this.measuredOrigin,!1);let i=n.length-1,a=n[i];n[i]=Md[t](e.measureViewportBox(),window.getComputedStyle(e.current)),a!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=a),this.removedTransforms?.length&&this.removedTransforms.forEac
32h(([t,n])=>{e.getValue(t).set(n)}),this.resolveNoneKeyframes()}},bp=[`borderTopLeftRadius`,`borderTopRightRadius`,`borderBottomRightRadius`,`borderBottomLeftRadius`];function xp(e,t,n){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e==`string`){let r=document;t&&(r=t.current);let i=n?.[e]??r.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e).filter(e=>e!=null)}var Sp=(e,t)=>t&&typeof e==`number`?t.transform(e):e;function Cp(e){return Kc(e)&&`offsetHeight`in e&&!(`ownerSVGElement`in e)}var{schedule:wp,cancel:Tp}=wl(queueMicrotask,!1),Ep={x:!1,y:!1};function Dp(){return Ep.x||Ep.y}function Op(e,t){let n=xp(e),r=new AbortController;return[n,{passive:!0,...t,signal:r.signal},()=>r.abort()]}function kp(e){return!(e.pointerType===`touch`||Dp())}function Ap(e,t,n={}){let[r,i,a]=Op(e,n);return r.forEach(e=>{let n=!1,r=!1,a,o=()=>{e.removeEventListener(`pointerleave`,u)},s=e=>{a&&=(a(e),void 0),o()},c=e=>{n=!1,window.removeEventListener(`pointerup`,c),window.removeEventListener(`pointercancel`,c),r&&(r=!1,s(e))},l=()=>{n=!0,window.addEventListener(`pointerup`,c,i),window.addEventListener(`pointercancel`,c,i)},u=e=>{if(e.pointerType!==`touch`){if(n){r=!0;return}s(e)}};e.addEventListener(`pointerenter`,n=>{if(!kp(n))return;r=!1;let o=t(e,n);typeof o==`function`&&(a=o,e.addEventListener(`pointerleave`,u,i))},i),e.addEventListener(`pointerdown`,l,i)}),a}var jp=(e,t)=>t?e===t||jp(e,t.parentElement):!1,Mp=e=>e.pointerType===`mouse`?typeof e.button!=`number`||e.button<=0:e.isPrimary!==!1,Np=new Set([`BUTTON`,`INPUT`,`SELECT`,`TEXTAREA`,`A`]);function Pp(e){return Np.has(e.tagName)||e.isContentEditable===!0}var Fp=new WeakSet;function Ip(e){return t=>{t.key===`Enter`&&e(t)}}function Lp(e,t){e.dispatchEvent(new PointerEvent(`pointer`+t,{isPrimary:!0,bubbles:!0}))}var Rp=(e,t)=>{let n=e.currentTarget;if(!n)return;let r=Ip(()=>{if(Fp.has(n))return;Lp(n,`down`);let e=Ip(()=>{Lp(n,`up`)});n.addEventListener(`keyup`,e,t),n.addEventListener(`blur`,()=>Lp(n,`cancel`),t)});n.addEventListener(`keydown`,r,t),n.addEventListener(`blur`,()=>n.removeEventListener(`keydown`,r),t)};function zp(e){return Mp(e)&&!Dp()}var Bp=new WeakSet;function Vp(e,t,n={}){let[r,i,a]=Op(e,n),o=e=>{let r=e.currentTarget;if(!zp(e)||Bp.has(e))return;Fp.add(r),n.stopPropagation&&Bp.add(e);let a=t(r,e),o={...i,capture:!0},s=(e,t)=>{window.removeEventListener(`pointerup`,c,o),window.removeEventListener(`pointercancel`,l,o),Fp.has(r)&&Fp.delete(r),zp(e)&&typeof a==`function`&&a(e,{success:t})},c=e=>{s(e,r===window||r===document||n.useGlobalTarget||jp(r,e.target))},l=e=>{s(e,!1)};window.addEventListener(`pointerup`,c,o),window.addEventListener(`pointercancel`,l,o)};return r.forEach(e=>{(n.useGlobalTarget?window:e).addEventListener(`pointerdown`,o,i),Cp(e)&&(e.addEventListener(`focus`,e=>Rp(e,i)),!Pp(e)&&!e.hasAttribute(`tabindex`)&&(e.tabIndex=0))}),a}function Hp(e){return Kc(e)&&`ownerSVGElement`in e}var Up={value:null,addProjectionMetrics:null};function Wp(e){return Hp(e)&&e.tagName===`svg`}var Gp=[...rp,J,_u],Kp=e=>Gp.find(np(e)),qp=()=>({translate:0,scale:1,origin:0,originPoint:0}),Jp=()=>({x:qp(),y:qp()}),Yp=()=>({min:0,max:0}),Q=()=>({x:Yp(),y:Yp()}),Xp=new WeakMap;function Zp(e){return typeof e==`object`&&!!e&&typeof e.start==`function`}function Qp(e){return typeof e==`string`||Array.isArray(e)}var $p=[`initial`,`animate`,`whileInView`,`whileFocus`,`whileHover`,`whileTap`,`whileDrag`,`exit`];function em(e){return Zp(e.animate)||$p.some(t=>Qp(e[t]))}function tm(e){return!!(em(e)||e.variants)}function nm(e,t,n){for(let r in t){let i=t[r],a=n[r];if(Z(i))e.addValue(r,i);else if(Z(a))e.addValue(r,Cf(i,{owner:e}));else if(a!==i)if(e.hasValue(r)){let t=e.getValue(r);t.liveStyle===!0?t.jump(i):t.hasAnimated||t.set(i)}else{let t=e.getStaticValue(r);e.addValue(r,Cf(t===void 0?i:t,{owner:e}))}}for(let r in n)t[r]===void 0&&e.removeValue(r);return t}var rm={current:null},im={current:!1},am=typeof window<`u`;function om(){if(im.current=!0,am)if(window.matchMedia){let e=window.matchMedia(`(prefers-reduced-motion)`),t=()=>rm.current=e.matches;e.addEventListener(`change`,t),t()}else rm.current=!1}var sm=[`AnimationStart`,`AnimationComplete`,`Update`,`BeforeLayoutMeasure`,`LayoutMeasure`,`LayoutAnimationStart`,`LayoutAnimationComplete`],cm={},lm=class{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,skipAnimations:i,blockInitialAnimation:a,visualState:o},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=Bd,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify(`Update`,this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let e=K.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,W.render(this.render,!1,!0))};let{latestValues:c,renderState:l}=o;this.latestValues=c,this.baseTarget={...c},this.initialValues=t.initial?{...c}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.skipAnimationsConfig=i,this.options=s,this.blockInitialAnimation=!!a,this.isControllingVariants=em(t),this.isVariantNode=tm(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:u,...d}=this.scrapeMotionValuesFromProps(t,{},this);for(let e in d){let t=d[e];c[e]!==void 0&&Z(t)&&t.set(c[e])}}mount(e){if(this.hasBeenMounted)for(let e in this.initialValues)this.values.get(e)?.jump(this.initialValues[e]),this.latestValues[e]=this.initialValues[e];this.current=e,Xp.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEac
32h((e,t)=>this.bindToMotionValue(t,e)),this.reducedMotionConfig===`never`?this.shouldReduceMotion=!1:this.reducedMotionConfig===`always`?this.shouldReduceMotion=!0:(im.current||om(),this.shouldReduceMotion=rm.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),Tl(this.notifyUpdate),Tl(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(let e in this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??=new Set,this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,t){if(this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)(),t.accelerate&&uf.has(e)&&this.current instanceof HTMLElement){let{factory:n,keyframes:r,times:i,ease:a,duration:o}=t.accelerate,s=new $d({element:this.current,name:e,keyframes:r,times:i,ease:a,duration:H(o)}),c=n(s);this.valueSubscriptions.set(e,()=>{c(),s.cancel()});return}let n=Dd.has(e);n&&this.onBindTransform&&this.onBindTransform();let r=t.on(`change`,t=>{this.latestValues[e]=t,this.props.onUpdate&&W.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()}),i;typeof window<`u`&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{r(),i&&i()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e=`animation`;for(e in cm){let t=cm[e];if(!t)continue;let{isEnabled:n,Feature:r}=t;if(!this.features[e]&&r&&n(this.props)&&(this.features[e]=new r(this)),this.features[e]){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Q()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<sm.length;t++){let n=sm[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let r=e[`on`+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=nm(this,this.scrapeMotionValuesFromProps(e,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let n=this.values.get(e);t!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return n===void 0&&t!==void 0&&(n=Cf(t===null?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){let n=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options);
32return n!=null&&(typeof n==`string`&&(Gc(n)||qc(n))?n=parseFloat(n):!Kp(n)&&_u.test(t)&&(n=gp(e,t)),this.setBaseTarget(e,Z(n)?n.get():n)),Z(n)?n.get():n}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){let{initial:t}=this.props,n;if(typeof t==`string`||typeof t==`object`){let r=Rf(this.props,t,this.presenceContext?.custom);r&&(n=r[e])}if(t&&n!==void 0)return n;let r=this.getBaseTargetFromProps(this.props,e);return r!==void 0&&!Z(r)?r:this.initialValues[e]!==void 0&&n===void 0?void 0:this.baseTarget[e]}on(e,t){return this.events[e]||(this.events[e]=new Zc),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){wp.render(this.render)}},um=class extends lm{constructor(){super(...arguments),this.KeyframeResolver=yp}sortInstanceNodePosition(e,t){return e.compareDocumentPosition(t)&2?1:-1}getBaseTargetFromProps(e,t){let n=e.style;return n?n[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;Z(e)&&(this.childSubscription=e.on(`change`,e=>{this.current&&(this.current.textContent=`${e}`)}))}};function dm({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function fm({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function pm(e,t){if(!t)return e;let n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function mm(e){return e===void 0||e===1}function hm({scale:e,scaleX:t,scaleY:n}){return!mm(e)||!mm(t)||!mm(n)}function gm(e){return hm(e)||_m(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function _m(e){return vm(e.x)||vm(e.y)}function vm(e){return e&&e!==`0%`}function ym(e,t,n){return n+t*(e-n)}function bm(e,t,n,r,i){return i!==void 0&&(e=ym(e,i,r)),ym(e,n,r)+t}function xm(e,t=0,n=1,r,i){e.min=bm(e.min,t,n,r,i),e.max=bm(e.max,t,n,r,i)}function Sm(e,{x:t,y:n}){xm(e.x,t.translate,t.scale,t.originPoint),xm(e.y,n.translate,n.scale,n.originPoint)}var Cm=.999999999999,wm=1.0000000000001;function Tm(e,t,n,r=!1){let i=n.length;if(!i)return;t.x=t.y=1;let a,o;for(let s=0;s<i;s++){a=n[s],o=a.projectionDelta;let{visualElement:i}=a.options;i&&i.props.style&&i.props.style.display===`contents`||(r&&a.options.layoutScroll&&a.scroll&&a!==a.root&&(Em(e.x,-a.scroll.offset.x),Em(e.y,-a.scroll.offset.y)),o&&(t.x*=o.x.scale,t.y*=o.y.scale,Sm(e,o)),r&&gm(a.latestValues)&&km(e,a.latestValues,a.layout?.layoutBox))}t.x<wm&&t.x>Cm&&(t.x=1),t.y<wm&&t.y>Cm&&(t.y=1)}function Em(e,t){e.min+=t,e.max+=t}function Dm(e,t,n,r,i=.5){xm(e,t,n,Y(e.min,e.max,i),r)}function Om(e,t){return typeof e==`string`?parseFloat(e)/100*(t.max-t.min):e}function km(e,t,n){let r=n??e;Dm(e.x,Om(t.x,r.x),t.scaleX,t.scale,t.originX),Dm(e.y,Om(t.y,r.y),t.scaleY,t.scale,t.originY)}function Am(e,t){return dm(pm(e.getBoundingClientRect(),t))}function jm(e,t,n){let r=Am(e,n),{scroll:i}=t;return i&&(Em(r.x,i.offset.x),Em(r.y,i.offset.y)),r}var Mm={x:`translateX`,y:`translateY`,z:`translateZ`,transformPerspective:`perspective`},Nm=Ed.length;function Pm(e,t,n){let r=``,i=!0;for(let a=0;a<Nm;a++){let o=Ed[a],s=e[o];if(s===void 0)continue;let c=!0;if(typeof s==`number`)c=s===+!!o.startsWith(`scale`);else{let e=parseFloat(s);c=o.startsWith(`scale`)?e===1:e===0}if(!c||n){let e=Sp(s,fp[o]);if(!c){i=!1;let t=Mm[o]||o;r+=`${t}(${e}) `}n&&(t[o]=e)}}let a=e.pathRotation;return a&&(i=!1,r+=`rotate(${Sp(a,fp.pathRotation)}) `),r=r.trim(),n?r=n(t,i?``:r):i&&(r=`none`),r}function Fm(e,t,n){let{style:r,vars:i,transformOrigin:a}=e,o=!1,s=!1;for(let e in t){let n=t[e];if(Dd.has(e)){o=!0;continue}else if(Al(e)){i[e]=n;continue}else{let t=Sp(n,fp[e]);e.startsWith(`origin`)?(s=!0,a[e]=t):r[e]=t}}if(t.transform||(o||n?r.transform=Pm(t,e.transform,n):r.transform&&=`none`),s){let{originX:e=`50%`,originY:t=`50%`,originZ:n=0}=a;r.transformOrigin=`${e} ${t} ${n}`}}function Im(e,{style:t,vars:n},r,i){let a=e.style,o;for(o in t)a[o]=t[o];for(o in i?.applyProjectionStyles(a,r),n)a.setProperty(o,n[o])}function Lm(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var Rm={correct:(e,t)=>
32{if(!t.target)return e;if(typeof e==`string`)if(q.test(e))e=parseFloat(e);else return e;return`${Lm(e,t.target.x)}% ${Lm(e,t.target.y)}%`}},zm={correct:(e,{treeScale:t,projectionDelta:n})=>{let r=e,i=_u.parse(e);if(i.length>5)return r;let a=_u.createTransformer(e),o=typeof i[0]==`number`?0:1,s=n.x.scale*t.x,c=n.y.scale*t.y;i[0+o]/=s,i[1+o]/=c;let l=Y(s,c,.5);return typeof i[2+o]==`number`&&(i[2+o]/=l),typeof i[3+o]==`number`&&(i[3+o]/=l),a(i)}},Bm={borderRadius:{...Rm,applyTo:[...bp]},borderTopLeftRadius:Rm,borderTopRightRadius:Rm,borderBottomLeftRadius:Rm,borderBottomRightRadius:Rm,boxShadow:zm};function Vm(e){for(let t in e)Bm[t]=e[t],Al(t)&&(Bm[t].isCSSVariable=!0)}function Hm(e,{layout:t,layoutId:n}){return Dd.has(e)||e.startsWith(`origin`)||(t||n!==void 0)&&(!!Bm[e]||e===`opacity`)}function Um(e,t,n){let r=e.style,i=t?.style,a={};if(!r)return a;for(let t in r)(Z(r[t])||i&&Z(i[t])||Hm(t,e)||n?.getValue(t)?.liveStyle!==void 0)&&(a[t]=r[t]);return a}function Wm(e){return window.getComputedStyle(e)}var Gm=class extends um{constructor(){super(...arguments),this.type=`html`,this.renderInstance=Im}readValueFromInstance(e,t){if(Dd.has(t))return this.projection?.isProjecting?Sd(t):wd(e,t);{let n=Wm(e),r=(Al(t)?n.getPropertyValue(t):n[t])||0;return typeof r==`string`?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return Am(e,t)}build(e,t,n){Fm(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return Um(e,t,n)}},Km={offset:`stroke-dashoffset`,array:`stroke-dasharray`},qm={offset:`strokeDashoffset`,array:`strokeDasharray`};function Jm(e,t,n=1,r=0,i=!0){e.pathLength=1;let a=i?Km:qm;e[a.offset]=`${-r}`,e[a.array]=`${t} ${n}`}var Ym=[`offsetDistance`,`offsetPath`,`offsetRotate`,`offsetAnchor`];function Xm(e,{attrX:t,attrY:n,attrScale:r,pathLength:i,pathSpacing:a=1,pathOffset:o=0,...s},c,l,u){if(Fm(e,s,l),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:d,style:f}=e;d.transform&&(f.transform=d.transform,delete d.transform),(f.transform||d.transformOrigin)&&(f.transformOrigin=d.transformOrigin??`50% 50%`,delete d.transformOrigin),f.transform&&(f.transformBox=u?.transformBox??`fill-box`,delete d.transformBox);for(let e of Ym)d[e]!==void 0&&(f[e]=d[e],delete d[e]);t!==void 0&&(d.x=t),n!==void 0&&(d.y=n),r!==void 0&&(d.scale=r),i!==void 0&&Jm(d,i,a,o,!1)}var Zm=new Set([`baseFrequency`,`diffuseConstant`,`kernelMatrix`,`kernelUnitLength`,`keySplines`,`keyTimes`,`limitingConeAngle`,`markerHeight`,`markerWidth`,`numOctaves`,`targetX`,`targetY`,`surfaceScale`,`specularConstant`,`specularExponent`,`stdDeviation`,`tableValues`,`viewBox`,`gradientTransform`,`pathLength`,`startOffset`,`textLength`,`lengthAdjust`]),Qm=e=>typeof e==`string`&&e.toLowerCase()===`svg`;function $m(e,t,n,r){Im(e,t,void 0,r);for(let n in t.attrs)e.setAttribute(Zm.has(n)?n:qf(n),t.attrs[n])}function eh(e,t,n){let r=Um(e,t,n);for(let n in e)if(Z(e[n])||Z(t[n])){let t=Ed.indexOf(n)===-1?n:`attr`+n.charAt(0).toUpperCase()+n.substring(1);r[t]=e[n]}return r}var th=class extends um{constructor(){super(...arguments),this.type=`svg`,this.isSVGTag=!1,this.measureInstanceViewportBox=Q}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(Dd.has(t)){let e=mp(t);return e&&e.default||0}return t=Zm.has(t)?t:qf(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return eh(e,t,n)}
32build(e,t,n){Xm(e,t,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(e,t,n,r){$m(e,t,n,r)}mount(e){this.isSVGTag=Qm(e.tagName),super.mount(e)}};function nh(e,t){e.min=t.min,e.max=t.max}function rh(e,t){nh(e.x,t.x),nh(e.y,t.y)}function ih(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}var ah=.9999,oh=1.0001,sh=-.01,ch=.01;function $(e){return e.max-e.min}function lh(e,t,n){return Math.abs(e-t)<=n}function uh(e,t,n,r=.5){e.origin=r,e.originPoint=Y(t.min,t.max,e.origin),e.scale=$(n)/$(t),e.translate=Y(n.min,n.max,e.origin)-e.originPoint,(e.scale>=ah&&e.scale<=oh||isNaN(e.scale))&&(e.scale=1),(e.translate>=sh&&e.translate<=ch||isNaN(e.translate))&&(e.translate=0)}function dh(e,t,n,r){uh(e.x,t.x,n.x,r?r.originX:void 0),uh(e.y,t.y,n.y,r?r.originY:void 0)}function fh(e,t,n,r=0){e.min=(r?Y(n.min,n.max,r):n.min)+t.min,e.max=e.min+$(t)}function ph(e,t,n,r){fh(e.x,t.x,n.x,r?.x),fh(e.y,t.y,n.y,r?.y)}function mh(e,t,n,r=0){let i=r?Y(n.min,n.max,r):n.min;e.min=t.min-i,e.max=e.min+$(t)}function hh(e,t,n,r){mh(e.x,t.x,n.x,r?.x),mh(e.y,t.y,n.y,r?.y)}function gh(e,t,n,r,i){return e-=t,e=ym(e,1/n,r),i!==void 0&&(e=ym(e,1/i,r)),e}function _h(e,t=0,n=1,r=.5,i,a=e,o=e){if(Zl.test(t)&&(t=parseFloat(t),t=Y(o.min,o.max,t/100)-o.min),typeof t!=`number`)return;let s=Y(a.min,a.max,r);e===a&&(s-=t),e.min=gh(e.min,t,n,s,i),e.max=gh(e.max,t,n,s,i)}function vh(e,t,[n,r,i],a,o){_h(e,t[n],t[r],t[i],t.scale,a,o)}var yh=[`x`,`scaleX`,`originX`],bh=[`y`,`scaleY`,`originY`];function xh(e,t,n,r){vh(e.x,t,yh,n?n.x:void 0,r?r.x:void 0),vh(e.y,t,bh,n?n.y:void 0,r?r.y:void 0)}function Sh(e){return e.translate===0&&e.scale===1}function Ch(e){return Sh(e.x)&&Sh(e.y)}function wh(e,t){return e.min===t.min&&e.max===t.max}function Th(e,t){return wh(e.x,t.x)&&wh(e.y,t.y)}function Eh(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function Dh(e,t){return Eh(e.x,t.x)&&Eh(e.y,t.y)}function Oh(e){return $(e.x)/$(e.y)}function kh(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function Ah(e){return[e(`x`),e(`y`)]}function jh(e,t,n){let r=``,i=e.x.translate/t.x,a=e.y.translate/t.y,o=n?.z||0;if((i||a||o)&&(r=`translate3d(${i}px, ${a}px, ${o}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){let{transformPerspective:e,rotate:t,pathRotation:i,rotateX:a,rotateY:o,skewX:s,skewY:c}=n;e&&(r=`perspective(${e}px) ${r}`),t&&(r+=`rotate(${t}deg) `),i&&(r+=`rotate(${i}deg) `),a&&(r+=`rotateX(${a}deg) `),o&&(r+=`rotateY(${o}deg) `),s&&(r+=`skewX(${s}deg) `),c&&(r+=`skewY(${c}deg) `)}let s=e.x.scale*t.x,c=e.y.scale*t.y;return(s!==1||c!==1)&&(r+=`scale(${s}, ${c})`),r||`none`}var Mh=bp.length,Nh=e=>typeof e==`string`?parseFloat(e):e,Ph=e=>typeof e==`number`||q.test(e);function Fh(e,t,n,r,i,a){i?(e.opacity=Y(0,n.opacity??1,Lh(r)),e.opacityExit=Y(t.opacity??1,0,Rh(r))):a&&(e.opacity=Y(t.opacity??1,n.opacity??1,r));for(let i=0;i<Mh;i++){let a=bp[i],o=Ih(t,a),s=Ih(n,a);o===void 0&&s===void 0||(o||=0,s||=0,o===0||s===0||Ph(o)===Ph(s)?(e[a]=Math.max(Y(Nh(o),Nh(s),r),0),(Zl.test(s)||Zl.test(o))&&(e[a]+=`%`)):e[a]=s)}(t.rotate||n.rotate)&&(e.rotate=Y(t.rotate||0,n.rotate||0,r))}function Ih(e,t){return e[t]===void 0?e.borderRadius:e[t]}var Lh=zh(0,.5,dl),Rh=zh(.5,.95,V);function zh(e,t,n){return r=>r<e?0:r>t?1:n(Xc(e,t,r))}function Bh(e,t,n){let r=Z(e)?e:Cf(e);return r.start(Nf(``,r,t,n)),r.animation}function Vh(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}var Hh=(e,t)=>e.depth-t.depth,Uh=class{constructor(){this.children=[],this.isDirty=!1}add(e){Vc(this.children,e),this.isDirty=!0}remove(e){Hc(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Hh),this.isDirty=!1,this.children.forEach(e)}};function Wh(e,t){let n=K.now(),r=({timestamp:i})=>{let a=i-n;a>=t&&(Tl(r),e(a-t))};return W.setup(r,!0),()=>Tl(r)}function Gh(e){return Z(e)?e.get():e}var Kh=class{constructor(){this.members=[]}add(e){Vc(this.members,e);for(let t=this.members.length-1;t>=0;t--){let n=this.members[t];if(n===e||n===this.lead||n===this.prevLead)continue;let r=n.instance;
32(!r||r.isConnected===!1)&&!n.snapshot&&(Hc(this.members,n),n.unmount())}e.scheduleRender()}remove(e){if(Hc(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){for(let t=this.members.indexOf(e)-1;t>=0;t--){let e=this.members[t];if(e.isPresent!==!1&&e.instance?.isConnected!==!1)return this.promote(e),!0}return!1}promote(e,t){let n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.updateSnapshot(),e.scheduleRender();let{layoutDependency:r}=n.options,{layoutDependency:i}=e.options;(r===void 0||r!==i)&&(e.resumeFrom=n,t&&(n.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root?.isUpdating&&(e.isLayoutDirty=!0)),e.options.crossfade===!1&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{e.options.onExitComplete?.(),e.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(e=>e.instance&&e.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}},qh={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Jh={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},Yh=[``,`X`,`Y`,`Z`],Xh=1e3,Zh=0;function Qh(e,t,n,r){let{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function $h(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:t}=e.options;if(!t)return;let n=Yf(t);if(window.MotionHasOptimisedAnimation(n,`transform`)){let{layout:t,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(n,`transform`,W,!(t||r))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&$h(r)}function eg({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(e={},n=t?.()){this.id=Zh++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,Up.value&&(Jh.nodes=Jh.calculatedTargetDeltas=Jh.calculatedProjections=0),this.nodes.forEach(rg),this.nodes.forEach(fg),this.nodes.forEach(pg),this.nodes.forEach(ig),Up.addProjectionMetrics&&Up.addProjectionMetrics(Jh)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new Uh)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new Zc),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t){if(this.instance)return;this.isSVG=Hp(t)&&!Wp(t),this.instance=t;let{layoutId:n,layout:r,visualElement:i}=this.options;if(i&&!i.current&&i.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(r||n)&&(this.isLayoutDirty=!0),e){let n,r=0,i=()=>this.root.updateBlockedByResize=!1;W.read(()=>{r=window.innerWidth}),e(t,()=>{let e=window.innerWidth;e!==r&&(r=e,this.root.updateBlockedByResize=!0,n&&n(),n=Wh(i,250),qh.hasAnimatedSinceResize&&(qh.hasAnimatedSinceResize=!1,this.nodes.forEach(dg)))})}n&&this.root.registerSharedNode(n,this),this.options.animate!==!1&&i&&(n||r)&&this.addEventListener(`didUpdate`,({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let a=this.options.transition||i.getDefaultTransition()||bg,{onLayoutAnimationStart:o,onLayoutAnimationComplete:s}=i.getProps(),c=!this.targetLayout||!Dh(this.targetLayout,r),l=!t&&n;if(this.options.layoutRoot||this.resumeFrom||l||t&&(c||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let t={...Tf(a,`layout`),onPlay:o,onComplete:s};(i.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,l,t.path)}else t||dg(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Tl(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEac
32h(mg),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&$h(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,(typeof t.latestValues.x==`string`||typeof t.latestValues.y==`string`)&&(t.isLayoutDirty=!0),t.updateScroll(`snapshot`),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:n}=this.options;if(t===void 0&&!n)return;let r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,``):void 0,this.updateSnapshot(),e&&this.notifyListeners(`willUpdate`)}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){let e=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),e&&this.nodes.forEach(sg),this.nodes.forEach(og);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(cg);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(lg),this.nodes.forEach(ug),this.nodes.forEach(tg),this.nodes.forEach(ng)):this.nodes.forEach(cg),this.clearAllSnapshots();let e=K.now();G.delta=Uc(0,1e3/60,e-G.timestamp),G.timestamp=e,G.isProcessing=!0,El.update.process(G),El.preRender.process(G),El.render.process(G),G.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,wp.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(ag),this.sharedNodes.forEach(hg)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,W.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){W.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!$(this.snapshot.measuredBox.x)&&!$(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++)this.path[e].updateScroll();let e=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||=Q(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners(`measure`,this.layout.layoutBox);let{visualElement:t}=this.options;t&&t.notify(`LayoutMeasure`,this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e=`measure`){let t=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&this.instance){let t=r(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!i)return;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!Ch(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,``):void 0,a=r!==this.prevTransformTemplateValue;e&&this.instance&&(t||gm(this.latestValues)||a)&&(i(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){let t=this.measurePageBox(),n=this.removeElementScroll(t);return e&&(n=this.removeTransform(n)),wg(n),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return Q();let t=e.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(Eg))){let{scroll:e}=this.root;e&&(Em(t.x,e.offset.x),Em(t.y,e.offset.y))}return t}removeElementScroll(e){let t=Q();if(rh(t,e),this.scroll?.wasRoot)return t;for(let n=0;n<this.path.length;n++){let r=this.path[n],{scroll:i,options:a}=r;r!==this.root&&i&&a.layoutScroll&&(i.wasRoot&&rh(t,e),Em(t.x,i.offset.x),Em(t.y,i.offset.y))}return t}applyTransform(e,t=!1,n){let r=n||Q();rh(r,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];!t&&n.options.layoutScroll&&n.scroll&&n!==n.root&&(Em(r.x,-n.scroll.offset.x),Em(r.y,-n.scroll.offset.y)),gm(n.latestValues)&&km(r,n.latestValues,n.layout?.layoutBox)}return gm(this.latestValues)&&km(r,this.latestValues,this.layout?.layoutBox),r}removeTransform(e){let t=Q();rh(t,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];if(!gm(n.latestValues))continue;let r;n.instance&&(hm(n.latestValues)&&n.updateSnapshot(),r=Q(),rh(r,n.measurePageBox())),xh(t,n.latestValues,n.snapshot?.layoutBox,r)}return gm(this.latestValues)&&xh(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:e.crossfade===void 0||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==G.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){let t=this.getLead();this.isProjectionDirty||=t.isProjectionDirty,this.isTransformDirty||=t.isTransformDirty,this.isSharedProjectionDirty||=t.isSharedProjectionDirty;let n=!!this.resumingFrom||this!==t;if(!(e||n&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:r,layoutId:i}=this.options;
32if(!this.layout||!(r||i))return;this.resolvedRelativeTargetAt=G.timestamp;let a=this.getClosestProjectingParent();a&&this.linkedParentVersion!==a.layoutVersion&&!a.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&a&&a.layout?this.createRelativeTarget(a,this.layout.layoutBox,a.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=Q(),this.targetWithTransforms=Q()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),ph(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):rh(this.target,this.layout.layoutBox),Sm(this.target,this.targetDelta)):rh(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&a&&!!a.resumingFrom==!!this.resumingFrom&&!a.options.layoutScroll&&a.target&&this.animationProgress!==1?this.createRelativeTarget(a,this.target,a.target):this.relativeParent=this.relativeTarget=void 0),Up.value&&Jh.calculatedTargetDeltas++)}getClosestProjectingParent(){if(!(!this.parent||hm(this.parent.latestValues)||_m(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(e,t,n){this.relativeParent=e,this.linkedParentVersion=e.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Q(),this.relativeTargetOrigin=Q(),hh(this.relativeTargetOrigin,t,n,this.options.layoutAnchor||void 0),rh(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let e=this.getLead(),t=!!this.resumingFrom||this!==e,n=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(n=!1),t&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===G.timestamp&&(n=!1),n)return;let{layout:r,layoutId:i}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(r||i))return;rh(this.layoutCorrected,this.layout.layoutBox);let a=this.treeScale.x,o=this.treeScale.y;Tm(this.layoutCorrected,this.treeScale,this.path,t),e.layout&&!e.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=Q());let{target:s}=e;if(!s){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(ih(this.prevProjectionDelta.x,this.projectionDelta.x),ih(this.prevProjectionDelta.y,this.projectionDelta.y)),dh(this.projectionDelta,this.layoutCorrected,s,this.latestValues),(this.treeScale.x!==a||this.treeScale.y!==o||!kh(this.projectionDelta.x,this.prevProjectionDelta.x)||!kh(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners(`projectionUpdate`,s)),Up.value&&Jh.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.visualElement?.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Jp(),this.projectionDelta=Jp(),this.projectionDeltaWithTransform=Jp()}setAnimationOrigin(e,t=!1,n){let r=this.snapshot,i=r?r.latestValues:{},a={...this.latestValues},o=Jp();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let s=Q(),c=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),u=!l||l.members.length<=1,d=!!(c&&!u&&this.options.crossfade===!0&&!this.path.some(yg));this.animationProgress=0;let f,p=n?.interpolateProjection(e);this.mixTargetDelta=t=>{let n=t/1e3,r=p?.(n);r?(o.x.translate=r.x,o.x.scale=Y(e.x.scale,1,n),o.x.origin=e.x.origin,o.x.originPoint=e.x.originPoint,o.y.translate=r.y,o.y.scale=Y(e.y.scale,1,n),o.y.origin=e.y.origin,o.y.originPoint=e.y.originPoint):(gg(o.x,e.x,n),gg(o.y,e.y,n)),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(hh(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),vg(this.relativeTarget,this.relativeTargetOrigin,s,n),f&&Th(this.relativeTarget,f)&&(this.isProjectionDirty=!1),f||=Q(),rh(f,this.relativeTarget)),c&&(this.animationValues=a,Fh(a,i,this.latestValues,n,d,u)),r&&r.rotate!==void 0&&(this.animationValues||=a,this.animationValues.pathRotation=r.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners(`animationStart`),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&=(Tl(this.pendingAnimation),void 0),this.pendingAnimation=W.update(()=>{qh.hasAnimatedSinceResize=!0,this.motionValue||=Cf(0),this.motionValue.jump(0,!1),this.currentAnimation=Bh(this.motionValue,[0,1e3],{...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners(`animationComplete`)}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Xh),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:n,layout:r,latestValues:i}=e;if(!(!t||!n||!r)){if(this!==e&&this.layout&&r&&Tg(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||Q();let t=$(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;let r=$(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}rh(t,n),km(t,i),dh(this.projectionDeltaWithTransform,this.layoutCorrected,t,i
32)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new Kh),this.sharedNodes.get(e).add(t);let n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){let{layoutId:e}=this.options;return e&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:e}=this.options;return e?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){let r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return e?e.relegate(this):!1}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:n}=e;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(t=!0),!t)return;let r={};n.z&&Qh(`z`,e,r,this.animationValues);for(let t=0;t<Yh.length;t++)Qh(`rotate${Yh[t]}`,e,r,this.animationValues),Qh(`skew${Yh[t]}`,e,r,this.animationValues);e.render();for(let t in r)e.setStaticValue(t,r[t]),this.animationValues&&(this.animationValues[t]=r[t]);e.scheduleRender()}applyProjectionStyles(e,t){if(!this.instance||this.isSVG)return;if(!this.isVisible){e.visibility=`hidden`;return}let n=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,e.visibility=``,e.opacity=``,e.pointerEvents=Gh(t?.pointerEvents)||``,e.transform=n?n(this.latestValues,``):`none`;return}let r=this.getLead();if(!this.projectionDelta||!this.layout||!r.target){this.options.layoutId&&(e.opacity=this.latestValues.opacity===void 0?1:this.latestValues.opacity,e.pointerEvents=Gh(t?.pointerEvents)||``),this.hasProjected&&!gm(this.latestValues)&&(e.transform=n?n({},``):`none`,this.hasProjected=!1);return}e.visibility=``;let i=r.animationValues||r.latestValues;this.applyTransformsToTarget();let a=jh(this.projectionDeltaWithTransform,this.treeScale,i);n&&(a=n(i,a)),e.transform=a;let{x:o,y:s}=this.projectionDelta;e.transformOrigin=`${o.origin*100}% ${s.origin*100}% 0`,r.animationValues?e.opacity=r===this?i.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:i.opacityExit:e.opacity=r===this?i.opacity===void 0?``:i.opacity:i.opacityExit===void 0?0:i.opacityExit;for(let t in Bm){if(i[t]===void 0)continue;let{correct:n,applyTo:o,isCSSVariable:s}=Bm[t],c=a===`none`?i[t]:n(i[t],r);if(o){let t=o.length;for(let n=0;n<t;n++)e[o[n]]=c}else s?this.options.visualElement.renderState.vars[t]=c:e[t]=c}this.options.layoutId&&(e.pointerEvents=r===this?Gh(t?.pointerEvents)||``:`none`)}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach(og),this.root.sharedNodes.clear()}}}function tg(e){e.updateLayout()}function ng(e){let t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners(`didUpdate`)){let{layoutBox:n,measuredBox:r}=e.layout,{animationType:i}=e.options,a=t.source!==e.layout.source;if(i===`size`)Ah(e=>{let r=a?t.measuredBox[e]:t.layoutBox[e],i=$(r);r.min=n[e].min,r.max=r.min+i});else if(i===`x`||i===`y`){let e=i===`x`?`y`:`x`;nh(a?t.measuredBox[e]:t.layoutBox[e],n[e])}else Tg(i,t.layoutBox,n)&&Ah(r=>{let i=a?t.measuredBox[r]:t.layoutBox[r],o=$(n[r]);i.max=i.min+o,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+o)});let o=Jp();dh(o,n,t.layoutBox);let s=Jp();a?dh(s,e.applyTransform(r,!0),t.measuredBox):dh(s,n,t.layoutBox);let c=!Ch(o),l=!1;if(!e.resumeFrom){let r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:i,layout:a}=r;if(i&&a){let o=e.options.layoutAnchor||void 0,s=Q();hh(s,t.layoutBox,i.layoutBox,o);let c=Q();hh(c,n,a.layoutBox,o),Dh(s,c)||(l=!0),r.options.layoutRoot&&(e.relativeTarget=c,e.relativeTargetOrigin=s,e.relativeParent=r)}}}e.notifyListeners(`didUpdate`,{layout:n,snapshot:t,delta:s,layoutDelta:o,hasLayoutChanged:c,hasRelativeLayoutChanged:l})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function rg(e){Up.value&&Jh.nodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty),e.isTransformDirty||=e.parent.isTransformDirty)}function ig(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function ag(e){e.clearSnapshot()}function og(e){e.clearMeasurements()}function sg(e){e.isLayoutDirty=!0,e.updateLayout()}function cg(e){e.isLayoutDirty=!1}function lg(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function ug(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify(`BeforeLayoutMeasure`),e.resetTransform()}function dg(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function fg(e){e.resolveTargetDelta()}function pg(e){e.calcProjection()}
32function mg(e){e.resetSkewAndRotation()}function hg(e){e.removeLeadSnapshot()}function gg(e,t,n){e.translate=Y(t.translate,0,n),e.scale=Y(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function _g(e,t,n,r){e.min=Y(t.min,n.min,r),e.max=Y(t.max,n.max,r)}function vg(e,t,n,r){_g(e.x,t.x,n.x,r),_g(e.y,t.y,n.y,r)}function yg(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var bg={duration:.45,ease:[.4,0,.1,1]},xg=e=>typeof navigator<`u`&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),Sg=xg(`applewebkit/`)&&!xg(`chrome/`)?Math.round:V;function Cg(e){e.min=Sg(e.min),e.max=Sg(e.max)}function wg(e){Cg(e.x),Cg(e.y)}function Tg(e,t,n){return e===`position`||e===`preserve-aspect`&&!lh(Oh(t),Oh(n),.2)}function Eg(e){return e!==e.root&&e.scroll?.wasRoot}var Dg=eg({attachResizeListener:(e,t)=>Vh(e,`resize`,t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),Og={current:void 0},kg=eg({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Og.current){let e=new Dg({});e.mount(window),e.setOptions({layoutScroll:!0}),Og.current=e}return Og.current},resetTransform:(e,t)=>{e.style.transform=t===void 0?`none`:t},checkIsScrollRoot:e=>window.getComputedStyle(e).position===`fixed`}),Ag={some:0,all:1};function jg(e,t,{root:n,margin:r,amount:i=`some`}={}){let a=xp(e),o=new WeakMap,s=new IntersectionObserver(e=>{e.forEach(e=>{let n=o.get(e.target);if(e.isIntersecting!==!!n)if(e.isIntersecting){let n=t(e.target,e);typeof n==`function`?o.set(e.target,n):s.unobserve(e.target)}else typeof n==`function`&&(n(e),o.delete(e.target))})},{root:n,rootMargin:r,threshold:typeof i==`number`?i:Ag[i]});return a.forEach(e=>s.observe(e)),()=>s.disconnect()}var Mg=(e,t)=>Math.abs(e-t);function Ng(e,t){let n=Mg(e.x,t.x),r=Mg(e.y,t.y);return Math.sqrt(n**2+r**2)}function Pg({current:e}){return e?e.ownerDocument.defaultView:null}function Fg(e){if(e)return e.nodeType===3||e.nodeType===8?Fg(e.nextSibling):e}var[Ig,Lg,Rg]=zc(`Motion`),[zg,Bg,Vg]=zc(`LayoutGroup`),Hg={reducedMotion:`never`,transition:void 0,nonce:void 0},[Ug,Wg,Gg]=zc(`MotionConfig`);
32function Kg(){return Ug(M(()=>Hg))}var qg={motionAttribute:`data-ap`},Jg=[];function Yg(e){for(let t of e)t&&!Jg.includes(t)&&Jg.push(t)}function Xg(e,t,n){if(Array.isArray(e))return e.reduce((e,r)=>{let i=Xg(r,t,n);return i?{...e,...i}:e},{});if(typeof e==`object`)return e;if(e&&t){let r=t[e];return typeof r==`function`?r(n):r}}function Zg(e,t,n){let r=Xg(e,t,n);if(!r)return;let{transition:i,transitionEnd:a,...o}=r;return{...o,...a}}function Qg(e,t){let n=(e.initial===void 0&&e.variants?t?.initial:e.initial)===!1?[`initial`,`animate`]:[`initial`],r=e.custom??e.presenceContext?.custom;return n.reduce((n,i)=>({...n,...Zg(e[i]||t?.[i],e.variants,r)}),{})}function $g(e,t){let n=t?.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}var e_=new Set(`animate.circle.defs.desc.ellipse.g.image.line.filter.marker.mask.metadata.path.pattern.polygon.polyline.rect.stop.svg.switch.symbol.text.tspan.use.view.clipPath.feBlend.feColorMatrix.feComponentTransfer.feComposite.feConvolveMatrix.feDiffuseLighting.feDisplacementMap.feDistantLight.feDropShadow.feFlood.feFuncA.feFuncB.feFuncG.feFuncR.feGaussianBlur.feImage.feMerge.feMergeNode.feMorphology.feOffset.fePointLight.feSpecularLighting.feSpotLight.feTile.feTurbulence.foreignObject.linearGradient.radialGradient.textPath`.split(`.`));function t_(e){return e_.has(e)}var n_=new WeakMap,r_=class{constructor(e,t){this.element=null,this.isExiting=!1,this.presenceContainer=null,this.children=new Set,this.features=new Map,this._context=null,this.options=e,this.parent=t,t?.children?.add(this),this.latestValues=Qg(e,this.context),this.type=t_(this.options.as)?`svg`:`html`}get context(){return this._context||=new Proxy({},{get:(e,t)=>{let n=this.options[t];return Qp(n)||t===`initial`&&n===!1?n:this.parent?.context[t]}}),this._context}updateFeatures(){if(this.visualElement)for(let e of Jg){this.features.has(e.key)||this.features.set(e.key,new e(this));let t=this.features.get(e.key);this.isMounted()&&(t.isMount?t.update():(t.mount(),t.isMount=!0))}}updateOptions(e){this.options=e,this.visualElement?.update({...this.options,whileTap:this.options.whilePress},this.options.presenceContext??null)}mount(e){n_.set(e,this),this.element=e;let t=this.options.presenceContext?.presenceId;t!==void 0&&e.setAttribute(qg.motionAttribute,t),this.visualElement?.mount(e),this.updateFeatures()}beforeUnmount(){this.getSnapshot(this.options,!1)}unmount(){this.parent?.children?.delete(this),n_.delete(this.element),this.features.forEach(e=>e.unmount?.()),this.visualElement?.unmount()}beforeUpdate(){this.getSnapshot(this.options,void 0)}update(){this.updateFeatures(),this.didUpdate()}tryExitComplete(){this.isExiting||this.options?.layoutId&&this.visualElement.projection?.currentAnimation?.state===`running`||this.options.presenceContext?.onMotionExitComplete?.(this.presenceContainer,this)}setActive(e,t){e===`exit`&&t&&(this.isExiting=!0),this.visualElement?.animationState?.setActive(e,t).then(()=>{e===`exit`&&t&&(this.isExiting=!1,this.options?.layoutId?W.postRender(()=>this.tryExitComplete()):this.tryExitComplete())})}isMounted(){return!!this.element}initVisualElement(e){this.visualElement||(this.visualElement=e(this.options.as,{presenceContext:this.options.presenceContext??null,parent:this.parent?.visualElement,props:{...this.options,whileTap:this.options.whilePress},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{...this.latestValues}},reducedMotionConfig:this.options.motionConfig?.reducedMotion}),this.visualElement.parent?.addChild(this.visualElement),this.isMounted()&&this.visualElement.mount(this.element))}getSnapshot(e,t){}didUpdate(){}},i_=class{constructor(e){this.state=e}mount(){}unmount(){}update(){}},a_=[`initial`,`animate`,`exit`,`whileHover`,`whileDrag`,`whileFocus`,`whilePress`],o_=a_.length;function s_(e){if(!e)return;if(!e.isControllingVariants){let t=e.parent&&s_(e.parent)||{};return e.props.initial!==void 0&&(t.initial=e.props.initial),t}let t={};for(let n=0;n<o_;n++){let r=a_[n],i=e.props[r];(Qp(i)||i===!1)&&(t[r]=i)}return t}var c_=[`animate`,`whileInView`,`whileFocus`,`whileHover`,`whilePress`,`whileDrag`,`exit`],l_=[...c_].reverse(),u_=c_.length;function d_(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function f_(){return{animate:d_(!0),whileInView:d_(),whileHover:d_(),whilePress:d_(),whileDrag:d_(),whileFocus:d_(),exit:d_()}}function p_(e,t){return typeof t==`string`?t!==e:Array.isArray(t)?!$g(t,e):!1}function m_(e){return Array.isArray(e)}function h_(e){return t=>Promise.all(t.map(({animation:t,options:n})=>ep(e,t,n)))}function g_(e){let t=h_(e),n=f_(),r=!0,i=t=>(n,r)=>{let i=zf(e,r,t===`exit`?e.presenceContext?.custom:void 0);if(i){let{transition:e,transitionEnd:t,...r}=i;
32n={...n,...r,...t}}return n};function a(n){t=n(e)}function o(a){let{props:o}=e,s=s_(e.parent)||{},c=[],l=new Set,u={},d=1/0;for(let t=0;t<u_;t++){let f=l_[t],p=n[f],m=o[f]===void 0?s[f]:o[f],h=Qp(m),g=f===a?p.isActive:null;g===!1&&(d=t);let _=m===s[f]&&m!==o[f]&&h;if(_&&r&&e.manuallyAnimateOnMount&&(_=!1),p.protectedKeys={...u},!p.isActive&&g===null||!m&&!p.prevProp||Zp(m)||typeof m==`boolean`)continue;let v=p_(p.prevProp,m),y=v||f===a&&p.isActive&&!_&&h||t>d&&h,b=!1,x=Array.isArray(m)?m:[m],S=x.reduce(i(f),{});g===!1&&(S={});let{prevResolvedValues:C={}}=p,ee={...C,...S},w=t=>{y=!0,l.has(t)&&(b=!0,l.delete(t)),p.needsAnimating[t]=!0;let n=e.getValue(t);n&&(n.liveStyle=!1)};for(let e in ee){let t=S[e],n=C[e];if(Object.hasOwnProperty.call(u,e))continue;let r=!1;r=m_(t)&&m_(n)?!$g(t,n):t!==n,r?t==null?l.add(e):w(e):t!==void 0&&l.has(e)?w(e):p.protectedKeys[e]=!0}p.prevProp=m,p.prevResolvedValues=S,p.isActive&&(u={...u,...S}),r&&e.blockInitialAnimation&&(y=!1);let T=_&&v;y&&(!T||b)&&c.push(...x.map(t=>{let n={type:f};if(typeof t==`string`&&r&&!T&&e.manuallyAnimateOnMount&&e.parent){let{parent:r}=e,i=zf(r,t);if(r.enteringChildren&&i){let{delayChildren:t}=i.transition||{};n.delay=vf(r.enteringChildren,e,t)}}return{animation:t,options:n}}))}if(l.size){let t={};if(typeof o.initial!=`boolean`){let n=zf(e,Array.isArray(o.initial)?o.initial[0]:o.initial);n&&n.transition&&(t.transition=n.transition)}l.forEach(n=>{let r=e.getBaseTarget(n),i=e.getValue(n);i&&(i.liveStyle=!0),t[n]=r??null}),c.push({animation:t})}let f=!!c.length;return r&&(o.initial===!1||o.initial===o.animate)&&!e.manuallyAnimateOnMount&&(f=!1),r=!1,f?t(c):Promise.resolve()}function s(t,r){if(n[t].isActive===r)return Promise.resolve();e.variantChildren?.forEach(e=>{e.animationState?.setActive(t,r)}),n[t].isActive=r;let i=o(t);for(let e in n)n[e].protectedKeys={};return i}return{animateChanges:o,setActive:s,setAnimateFunction:a,getState:()=>n,reset:()=>{n=f_(),r=!0}}}function __(e){return e.style.display===`none`||e.offsetParent===null&&window.getComputedStyle(e).position!==`fixed`}var v_=class extends i_{static#e=this.key=`animation`;constructor(e){super(e);let t=e.visualElement;t.animationState||=g_(t)}updateAnimationControlsSubscription(){let{animate:e}=this.state.options;Zp(e)&&(this.unmountControls=e.subscribe(this.state.visualElement))}mount(){__(this.state.element)?this.state.setActive(`exit`,!0):this.state.visualElement.animationState?.animateChanges(),this.updateAnimationControlsSubscription()}update(){this.state.visualElement.animationState?.animateChanges();let{animate:e}=this.state.visualElement.getProps(),{animate:t}=this.state.visualElement.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){this.state.visualElement.animationState.reset(),this.unmountControls?.()}};function y_(e,t){return t_(e)?new th(t):new Gm(t)}function b_(e){return{point:{x:e.pageX,y:e.pageY}}}var x_=class extends i_{static#e=this.key=`press`;constructor(e){super(e)}isActive(){let{whilePress:e,onPress:t,onPressCancel:n,onPressStart:r}=this.state.options;return!!(e||t||n||r)}register(){let e=this.state.element;!e||!this.isActive()||(this.removePress?.(),this.removePress=Vp(e,(e,t)=>{let n=this.state.options;return this.state.setActive(`whilePress`,!0),n.onPressStart&&W.postRender(()=>n.onPressStart(t,b_(t))),(e,{success:t})=>{this.state.setActive(`whilePress`,!1);let n=t?`onPress`:`onPressCancel`,r=this.state.options[n];r&&W.postRender(()=>r(e,b_(e)))}},{useGlobalTarget:this.state.options.globalPressTarget}))}mount(){this.register()}update(){let e=this.state.visualElement.prevProps;!(e?.whilePress||e?.whileTap||e?.onPress||e?.onPressCancel||e?.onPressStart)&&this.isActive()&&this.register()}unmount(){this.removePress?.(),this.removePress=void 0}};function S_(e){return e.pointerType===`mouse`?typeof e.button!=`number`||e.button<=0:e.isPrimary!==!1}function C_(e,t=`page`){return{point:{x:e[`${t}X`],y:e[`${t}Y`]}}}function w_(e){return t=>S_(t)&&e(t,C_(t))}var T_=class extends i_{static#e=this.key=`hover`;constructor(e){super(e)}isActive(){let{whileHover:e,onHoverStart:t,onHoverEnd:n}=this.state.options;return!!(e||t||n)}register(){let e=this.state.element;!e||!this.isActive()||(this.removeHover?.(),this.removeHover=Ap(e,(e,t)=>{let n=this.state.options;return this.state.setActive(`whileHover`,!0),n.onHoverStart&&W.postRender(()=>
32n.onHoverStart(t,C_(t))),e=>{this.state.setActive(`whileHover`,!1);let t=this.state.options.onHoverEnd;t&&W.postRender(()=>t(e,C_(e)))}}))}mount(){this.register()}update(){let e=this.state.visualElement.prevProps;!(e?.whileHover||e?.onHoverStart||e?.onHoverEnd)&&this.isActive()&&this.register()}unmount(){this.removeHover?.(),this.removeHover=void 0}},E_=class extends i_{static#e=this.key=`inView`;constructor(e){super(e)}isActive(){let{whileInView:e,onViewportEnter:t,onViewportLeave:n}=this.state.options;return!!(e||t||n)}startObserver(){let e=this.state.element;if(!e||!this.isActive())return;this.removeObserver?.();let{once:t,...n}=this.state.options.inViewOptions||{};this.removeObserver=jg(e,(e,n)=>{let r=this.state.options;if(this.state.setActive(`whileInView`,!0),r.onViewportEnter&&W.postRender(()=>r.onViewportEnter(n)),!t)return()=>{this.state.setActive(`whileInView`,!1);let e=this.state.options.onViewportLeave;e&&W.postRender(()=>e(n))}},n)}mount(){this.startObserver()}update(){let{props:e,prevProps:t}=this.state.visualElement;[`amount`,`margin`,`root`].some(n=>e.inViewOptions?.[n]!==t?.inViewOptions?.[n])&&this.startObserver()}unmount(){this.removeObserver?.(),this.removeObserver=void 0}};function D_(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}var O_=class extends i_{static#e=this.key=`focus`;constructor(e){super(e),this.isFocused=!1}onFocus(){let e=!1;try{e=this.state.element.matches(`:focus-visible`)}catch{e=!0}e&&(this.state.setActive(`whileFocus`,!0),this.isFocused=!0)}onBlur(){this.isFocused&&=(this.state.setActive(`whileFocus`,!1),!1)}mount(){let e=this.state.element;this.removeFocus=Yc(D_(e,`focus`,()=>this.onFocus()),D_(e,`blur`,()=>this.onBlur()))}unmount(){this.removeFocus?.(),this.removeFocus=void 0}};function k_(e){if(e)return e.options.allowProjection===!1?k_(e.parent):e.projection}var A_={borderRadius:{...Rm,applyTo:[`borderTopLeftRadius`,`borderTopRightRadius`,`borderBottomLeftRadius`,`borderBottomRightRadius`]},borderTopLeftRadius:Rm,borderTopRightRadius:Rm,borderBottomLeftRadius:Rm,borderBottomRightRadius:Rm,boxShadow:zm};function j_(e){return typeof e==`object`&&!!e&&`nodeType`in e}var M_=typeof window>`u`,N_=class extends i_{static#e=this.key=`projection`;constructor(e){super(e),Vm(A_),M_||this.initProjection()}initProjection(){let e=this.state.options;this.state.visualElement.projection=new kg(this.state.visualElement.latestValues,e[`data-framer-portal-id`]?void 0:k_(this.state.visualElement.parent)),this.projection=this.state.visualElement.projection,this.projection.isPresent=!0,this.setOptions()}setOptions(){let e=this.state.options,{layoutId:t,layout:n,drag:r=!1,dragConstraints:i=!1}=e;this.projection?.setOptions({layout:n,layoutId:t,alwaysMeasureLayout:!!t||!!r||i&&j_(i),visualElement:this.state.visualElement,animationType:typeof e.layout==`string`?e.layout:`both`,layoutRoot:e.layoutRoot,layoutScroll:e.layoutScroll,crossfade:e.crossfade,onExitComplete:()=>{!this.projection?.isPresent&&this.state.options.layoutId&&!this.state.isExiting&&queueMicrotask(()=>{this.state.options.presenceContext?.onMotionExitComplete?.(this.state.presenceContainer,this.state)})}})}update(){this.setOptions()}mount(){this.projection?.mount(this.state.element)}};function P_(e,t,n,r){return D_(e,t,w_(n),r)}var F_=new Set([`auto`,`scroll`]),I_=class{constructor(e,t,{transformPagePoint:n,contextWindow:r,dragSnapToOrigin:i=!1,element:a}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.onElementScroll=e=>{this.handleScroll(e.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let e=z_(this.lastMoveEventInfo,this.history),t=this.startEvent!==null,n=Ng(e.offset,{x:0,y:0})>=3;if(!t&&!n)return;let{point:r}=e,{timestamp:i}=G;this.history.push({...r,timestamp:i});let{onStart:a,onMove:o}=this.handlers;t||(a&&a(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),o&&o(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>
32{this.lastMoveEvent=e,this.lastMoveEventInfo=L_(t,this.transformPagePoint),W.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:n,onSessionEnd:r,resumeAnimation:i}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&i&&i(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let a=z_(e.type===`pointercancel`?this.lastMoveEventInfo:L_(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,a),r&&r(e,a)},!S_(e))return;this.dragSnapToOrigin=i,this.handlers=t,this.transformPagePoint=n,this.contextWindow=r||window;let o=L_(C_(e),this.transformPagePoint),{point:s}=o,{timestamp:c}=G;this.history=[{...s,timestamp:c}];let{onSessionStart:l}=t;l&&l(e,z_(o,this.history)),this.removeListeners=Yc(P_(this.contextWindow,`pointermove`,this.handlePointerMove),P_(this.contextWindow,`pointerup`,this.handlePointerUp),P_(this.contextWindow,`pointercancel`,this.handlePointerUp)),a&&this.startScrollTracking(a)}isScrollable(e){let t=window.getComputedStyle(e);return t.overflow===`auto`||t.overflow===`scroll`||t.overflowX===`auto`||t.overflowX===`scroll`||t.overflowY===`auto`||t.overflowY===`scroll`}startScrollTracking(e){let t=e.parentElement;for(;t;){let e=getComputedStyle(t);(F_.has(e.overflowX)||F_.has(e.overflowY))&&this.scrollPositions.set(t,{x:t.scrollLeft,y:t.scrollTop}),t=t.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener(`scroll`,this.onElementScroll,{capture:!0,passive:!0}),window.addEventListener(`scroll`,this.onWindowScroll,{passive:!0}),this.removeScrollListeners=()=>{window.removeEventListener(`scroll`,this.onElementScroll,{capture:!0}),window.removeEventListener(`scroll`,this.onWindowScroll)}}handleScroll(e){let t=this.scrollPositions.get(e);if(!t)return;let n=e===window,r=n?{x:window.scrollX,y:window.scrollY}:{x:e.scrollLeft,y:e.scrollTop},i={x:r.x-t.x,y:r.y-t.y};i.x===0&&i.y===0||(n?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=i.x,this.lastMoveEventInfo.point.y+=i.y):this.history.length>0&&(this.history[0].x-=i.x,this.history[0].y-=i.y),this.scrollPositions.set(e,r),W.update(this.updatePoint,!0))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners?.(),this.scrollPositions.clear(),Tl(this.updatePoint)}};function L_(e,t){return t?{point:t(e.point)}:e}function R_(e,t){return{x:e.x-t.x,y:e.y-t.y}}function z_({point:e},t){return{point:e,delta:R_(e,V_(t)),offset:R_(e,B_(t)),velocity:H_(t,.1)}}function B_(e){return e[0]}function V_(e){return e[e.length-1]}function H_(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null,i=V_(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>H(t)));)n--;if(!r)return{x:0,y:0};let a=U(i.timestamp-r.timestamp);if(a===0)return{x:0,y:0};let o={x:(i.x-r.x)/a,y:(i.y-r.y)/a};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}function U_(e){return(t,n)=>{e&&W.postRender(()=>e(t,n))}}var W_=class extends i_{constructor(...e){super(...e),this.removePointerDownListener=V}static#e=this.key=`pan`;onPointerDown(e){this.session=new I_(e,this.createPanHandlers(),{transformPagePoint:this.state.visualElement.getTransformPagePoint(),contextWindow:Pg(this.state.visualElement)})}createPanHandlers(){return{onSessionStart:U_((e,t)=>{let{onPanSessionStart:n}=this.state.options;n&&n(e,t)}),onStart:U_((e,t)=>{let{onPanStart:n}=this.state.options;n&&n(e,t)}),onMove:(e,t)=>{let{onPan:n}=this.state.options;n&&n(e,t)},onEnd:(e,t)=>{let{onPanEnd:n}=this.state.options;delete this.session,n&&W.postRender(()=>n(e,t))}}}mount(){this.removePointerDownListener=P_(this.state.element,`pointerdown`,this.onPointerDown.bind(this))}update(){}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}};function G_(e){let t=null;return()=>t===null?(t=e,()=>{t=null}):!1}var K_=G_(`dragHorizontal`),q_=G_(`dragVertical`);function J_(e){let t=!1;if(e===`y`)t=q_();else if(e===`x`)t=K_();else{let e=K_(),n=q_();e&&n?t=()=>{e(),n()}:(e&&e(),n&&n())}return t}function Y_(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?Y(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?Y(n,e,r.max):Math.min(e,n)),e}var X_=.35;function Z_(e,{top:t,left:n,bottom:r,right:i}){return{x:Q_(e.x,n,i),y:Q_(e.y,t,r)}}function Q_(e,t,n){return{min:t===void 0?void 0:e.min+t,max:n===void 0?void 0:e.max+n-(e.max-e.min)}}function $_(e=X_){return e===!1?e=0:e===!0&&(e=X_),{x:ev(e,`left`,`right`),y:ev(e,`top`,`bottom`)}}function ev(e,t,n){return{min:tv(e,t),max:tv(e,n)}}function tv(e,t){return typeof e==`number`?e:e[t]||0}function nv(e,t){let n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}function rv(e,t){return{x:iv(e.x,t.x),y:iv(e.y,t.y)}}function iv(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function av(e,t){let n=.5,r=$(e),i=$(t);return i>r?n=Xc(t.min,t.max-r,e.min):r>i&&(n=Xc(e.min,e.max-i,t.min)),Uc(0,1,n)}var ov=new WeakMap,sv=class{constructor(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Q(),this.state=e}get visualElement(){return this.state.visualElement}start(e,{snapToCursor:t=!1}={}){let n=e=>{t?this.stopAnimation():this.pauseAnimation(),t&&this.snapToCursor(C_(e,`page`).point)},r=(e,t)=>{this.stopAnimation();let{drag:n,dragPropagation:r,onDragStart:i}=this.getProps();n&&!r&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=J_(n),!this.openGlobalLock)||(this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Ah(e=>{let t=this.getAxisMotionValue(e).get()||0;if(Zl.test(t)){let{projection:n}=this.visualElement;if(n&&n.layout){let r=n.layout.layoutBox[e];r&&(t=$(r)*(parseFloat(t)/100))}}this.originPoint[e]=t}),i&&W.postRender(()=>i(e,t)),Kf(this.visualElement,`transform`),this.state.setActive(`whileDrag`,!0))},i=(e,t)=>{let{dragPropagation:n,dragDirectionLock:r,onDirectionLock:i,onDrag:a}=this.getProps();if(!n&&!this.openGlobalLock)return;let{offset:o}=t;if(r&&this.currentDirection===null){this.currentDirection=lv(o),this.currentDirection!==null&&i&&i(this.currentDirection);return}this.updateAxis(`x`,t.point,o),this.updateAxis(`y`,t.point,o),this.visualElement.render(),a&&a(e,t)},a=(e,t)=>this.stop(e,t),o=()=>Ah(e=>this.getAnimationState(e)===`paused`&&this.getAxisMotionValue(e).animation?.play()),{dragSnapToOrigin:s}=this.getProps();this.panSession=new I_(e,{onSessionStart:n,onStart:r,onMove:i,onSessionEnd:a,resumeAnimation:o},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:s,contextWindow:Pg(this.visualElement),element:this.state.element})}stop(e,t){let n=this.isDragging;if(this.cancel(),!n)return;let{velocity:r}=t;this.startAnimation(r);let{onDragEnd:i}=this.getProps();i&&W.postRender(()=>i(e,t))}cancel(){this.isDragging=!1;let{projection:e}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:t}=this.getProps();!t&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),this.state.setActive(`whileDrag`,!1)}updateAxis(e,t,n){let{drag:r}=this.getProps();if(!n||!cv(e,r,this.currentDirection))return;let i=this.getAxisMotionValue(e),a=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(a=Y_(a,this.constraints[e],this.elastic[e])),i.set(a)}resolveConstraints(){let{dragConstraints:e,dragElastic:t}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,r=this.constraints;e&&j_(e)?this.constraints||=this.resolveRefConstraints():e&&n?this.constraints=Z_(n.layoutBox,e):this.constraints=!1,this.elastic=$_(t),r!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&Ah(e=>{this.constraints!==!1&&this.getAxisMotionValue(e)&&(this.constraints[e]=nv(n.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){let{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!j_(e))return!1;let n=e,{projection:r}=this.visualElement;if(!r||!r.layout)return!1;let i=jm(n,r.root,this.visualElement.getTransformPagePoint()),a=rv(r.layout.layoutBox,i);if(t){let e=t(fm(a));this.hasMutatedConstraints=!!e,e&&(a=dm(e))}return a}startAnimation(e){let{drag:t,dragMomentum:n,dragElastic:r,dragTransition:i,dragSnapToOrigin:a,onDragTransitionEnd:o}=this.getProps(),s=this.constraints||{},c=Ah(o=>
32{if(!cv(o,t,this.currentDirection))return;let c=s&&s[o]||{};a&&(c={min:0,max:0});let l=r?200:1e6,u=r?40:1e7,d={type:`inertia`,velocity:n?e[o]:0,bounceStiffness:l,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...i,...c};return this.startAxisValueAnimation(o,d)});return Promise.all(c).then(o)}startAxisValueAnimation(e,t){let n=this.getAxisMotionValue(e);return Kf(this.visualElement,e),n.start(Nf(e,n,0,t,this.visualElement,!1))}stopAnimation(){this.visualElement.projection?.isPresent&&Ah(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){Ah(e=>this.getAxisMotionValue(e).animation?.pause())}getAnimationState(e){return this.getAxisMotionValue(e).animation?.state}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`,n=this.visualElement.getProps();return n[t]||this.visualElement.getValue(e,(n.initial?n.initial[e]:void 0)||0)}snapToCursor(e){Ah(t=>{let{drag:n}=this.getProps();if(!cv(t,n,this.currentDirection))return;let{projection:r}=this.visualElement,i=this.getAxisMotionValue(t);if(r&&r.layout){let{min:n,max:a}=r.layout.layoutBox[t];i.set(e[t]-Y(n,a,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!j_(t)||!n||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};Ah(e=>{let t=this.getAxisMotionValue(e);if(t&&this.constraints!==!1){let n=t.get();r[e]=av({min:n,max:n},this.constraints[e])}});let{transformTemplate:i}=this.visualElement.getProps();this.state.element.style.transform=i?i({},``):`none`,n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),Ah(t=>{if(!cv(t,e,null))return;let n=this.getAxisMotionValue(t),{min:i,max:a}=this.constraints[t];n.set(Y(i,a,r[t]))})}addListeners(){if(!this.state.element)return;ov.set(this.visualElement,this);let e=this.state.element,t=P_(e,`pointerdown`,e=>{let{drag:t,dragListener:n=!0}=this.getProps();t&&n&&this.start(e)}),n=()=>{let{dragConstraints:e}=this.getProps();j_(e)&&(this.constraints=this.resolveRefConstraints())},{projection:r}=this.visualElement,i=r.addEventListener(`measure`,n);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),W.read(n);let a=D_(window,`resize`,()=>this.scalePositionWithinConstraints()),o=r.addEventListener(`didUpdate`,(({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(Ah(t=>{let n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())}));return()=>{a(),t(),i(),o&&o()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:i=!1,dragElastic:a=X_,dragMomentum:o=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:i,dragElastic:a,dragMomentum:o}}};function cv(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function lv(e,t=10){let n=null;return Math.abs(e.y)>t?n=`y`:Math.abs(e.x)>t&&(n=`x`),n}var uv=class extends i_{static#e=this.key=`drag`;constructor(e){super(e),this.removeGroupControls=V,this.removeListeners=V,this.controls=new sv(e)}mount(){let{dragControls:e}=this.state.options;e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||V}unmount(){this.removeGroupControls(),this.removeListeners()}},dv=!1,fv={renderer:y_,features:[v_,x_,T_,E_,O_,N_,W_,uv,class extends i_{static#e=this.key=`layout`;constructor(e){super(e),this.hasMountSettled=!1,Vm(A_),e.getSnapshot=this.getSnapshot.bind(this),e.didUpdate=this.didUpdate.bind(this)}updatePrevLead(e){let t=e.getStack();t?.prevLead&&!t.prevLead.snapshot&&(t.prevLead.willUpdate(),dv=!0)}didUpdate(){dv&&(this.state.options.layout||this.state.options.layoutId||this.state.options.drag)&&(dv=!1,this.state.visualElement.projection?.root?.didUpdate())}mount(){let e=this.state.options,t=this.state.options.layoutGroup;if(e.layout||e.layoutId){let n=this.state.visualElement.projection;if(e.layoutId){let e=!__(this.state.element);n.isPresent=e,e?n.promote():n.relegate(),this.updatePrevLead(n)}t?.group?.add(n),qh.hasEverUpdated=!0}this.didUpdate(),W.postRender(()=>{this.hasMountSettled=!0})}unmount(){let e=this.state.options.layoutGroup,t=this.state.visualElement.projection;t&&(e?.group&&(this.state.options.layout||this.state.options.layoutId)&&e.group.remove(t),this.state.options.layoutId&&(dv=!0),this.didUpdate())}getSnapshot(e,t){let n=this.state.visualElement.projection,{drag:r,layoutDependency:i,layout:a,layoutId:o}=e;if(!n||!a&&!o&&!r||!this.hasMountSettled)return;dv=!0;let s=this.state.options;(r||s.layoutDependency!==i||i===void 0||dr(t)&&n.isPresent!==t)&&n.willUpdate(),dr(t)&&t!==n.isPresent&&(n.isPresent=t,t?(n.promote(),this.updatePrevLead(n)):n.relegate())}}]},[pv,mv]=zc(`LazyMotionContext`),[hv,gv,_v]=zc(`AnimatePresenceContext`);function vv(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}function yv(){return{transform:{},transformOrigin:{},style:{},vars:{}}}function bv(){return{...yv(),attrs:{}}}function xv(e){let t=yv();Fm(t,e);let n={...t.style};for(let e in t.vars)n[e]=t.vars[e];return Object.keys(n).length===0?null:n}function Sv(e,t,n){let r=bv();Xm(r,e,Qm(t),void 0,n);let i={};for(let e in r.attrs){let t=Zm.has(e)?e:vv(e);i[t]=r.attrs[e]}return{attrs:i,style:{...r.style,...r.vars}}}function Cv(e,t){let n=Ig(null),r=zg({}),i=Kg(),a=hv({}),o=pv({features:Se({}),strict:!1}),s=T();
32function c(){return Bc(e,{layoutGroup:r,presenceContext:a,config:i.value})}function l(){return{...s,...c()}}let u=new r_(l(),n);Lg(u),t&&u.initVisualElement(t),S(o.features,e=>{e.features?.length&&Yg(e.features),e.renderer&&u.initVisualElement(e.renderer),u.updateFeatures()},{immediate:!0,flush:`pre`});function d(){let t=u.type===`svg`,n={...s};Object.keys(s).forEach(e=>{Z(s[e])&&(n[e]=s[e].get())});let r=u.visualElement?.latestValues||u.latestValues,i={...e.style,...t?{}:r};for(let e in i)Z(i[e])&&(i[e]=i[e].get());if(t){let{attrs:t,style:a}=Sv({...r,...i},u.options.as,e.style);Object.assign(n,t),i=a}e.drag&&e.dragListener!==!1&&Object.assign(i,{userSelect:`none`,WebkitUserSelect:`none`,WebkitTouchCallout:`none`,touchAction:e.drag===!0?`none`:`pan-${e.drag===`x`?`y`:`x`}`});let a=xv(i);return a&&(n.style=a),n}let f=w().proxy;return ae(()=>{let e=Fg(f.$el);u.mount(e)}),fe(()=>u.beforeUnmount()),se(()=>{Fg(f.$el)?.isConnected||u.unmount()}),A(()=>{u.beforeUpdate(),u.updateOptions(l())}),ge(()=>{u.update()}),{getProps:c,getAttrs:d,layoutGroup:r,state:u}}var wv={ignoreStrict:{type:Boolean},forwardMotionProps:{type:Boolean,default:!1},asChild:{type:Boolean,default:!1},whileDrag:{type:[String,Array,Object]},whileHover:{type:[String,Array,Object]},whilePress:{type:[String,Array,Object]},whileInView:{type:[String,Array,Object]},whileFocus:{type:[String,Array,Object]},custom:{type:[String,Number,Object,Array]},initial:{type:[String,Array,Object,Boolean],default:void 0},animate:{type:[String,Array,Object],default:void 0},exit:{type:[String,Array,Object]},variants:{type:Object},inherit:{type:Boolean},style:{type:Object},transformTemplate:{type:Function},transition:{type:Object},onAnimationComplete:{type:Function},onUpdate:{type:Function},layout:{type:[Boolean,String],default:!1},layoutId:{type:String,default:void 0},layoutScroll:{type:Boolean,default:!1},layoutRoot:{type:Boolean,default:!1},"data-framer-portal-id":{type:String},crossfade:{type:Boolean,default:!0},layoutDependency:{type:null,default:void 0},onBeforeLayoutMeasure:{type:Function},onLayoutMeasure:{type:Function},onLayoutAnimationStart:{type:Function},onLayoutAnimationComplete:{type:Function},globalPressTarget:{type:Boolean},onPressStart:{type:Function},onPress:{type:Function},onPressCancel:{type:Function},onHoverStart:{type:Function},onHoverEnd:{type:Function},inViewOptions:{type:Object},onViewportEnter:{type:Function},onViewportLeave:{type:Function},drag:{type:[Boolean,String]},dragSnapToOrigin:{type:Boolean},dragDirectionLock:{type:Boolean},dragPropagation:{type:Boolean},dragConstraints:{type:[Boolean,Object]},dragElastic:{type:[Boolean,Number,Object],default:.5},dragMomentum:{type:Boolean,default:!0},dragTransition:{type:Object},dragListener:{type:Boolean,default:!0},dragControls:{type:Object},onDragStart:{type:Function},onDragEnd:{type:Function},onDrag:{type:Function},onDirectionLock:{type:Function},onDragTransitionEnd:{type:Function},onMeasureDragConstraints:{type:Function},onPanSessionStart:{type:Function},onPanStart:{type:Function},onPan:{type:Function},onPanEnd:{type:Function}},Tv=new Map,Ev=new Map;function Dv(e){if(!Array.isArray(e))return[e];let t=[];for(let n of e)Array.isArray(n)?t.push(...n):t.push(n);return t}var Ov=[`area`,`img`,`input`];function kv(e,t,n){if(typeof e==`string`&&Ov.includes(e))return g(e,t);if(e===`template`){if(!n.default)return null;let e=Dv(n.default()),r=e.findIndex(e=>e.type!==I);if(r===-1)return e;let i=e[r];delete i.props?.ref;let a=i.props?oe(t,i.props):t;t.class&&i.props?.class&&delete i.props.class;let o=ue(i,a);for(let e in a)e.startsWith(`on`)&&(o.props||={},o.props[e]=a[e]);return e.length===1?o:(e[r]=o,e)}return null}function Av(e,t={}){let n=typeof e==`string`,r=n?e:e.name||``,i=t.renderer?Tv:Ev;if(n&&i?.has(e))return i.get(e);let a=N({inheritAttrs:!1,props:{...wv,as:{type:[String,Object],default:e||`div`}},name:r?`motion.${r}`:`Motion`,setup(e,{slots:n}){let{getProps:r,getAttrs:i,state:a}=Cv(e,t.renderer);function o(){let t=a.element;if((typeof e.as!=`object`||e.asChild)&&t){let{style:e}=i();if(e)for(let[n,r]of Object.entries(e))t.style[n]=r}}return()=>{let t=r(),a=i(),s=e.asChild?`template`:e.as,c={...e.forwardMotionProps?t:{},...a,onVnodeUpdated:o},l=kv(s,c,n);return l===null?g(s,{...c},n):l}}});return n&&i?.set(e,a),a}function jv(e){let t=e?.renderer;return Yg(e?.features||[]),new Proxy({},{get(e,n){return n===`create`?(e,n)=>Av(e,{...n,renderer:t}):Av(n,{renderer:t})}})}var Mv=jv(fv).create(`div`),Nv=0;function Pv(e){let t=new WeakMap,n=Kg();function r(r){if(e.mode!==`popLayout`)return;let i=r.offsetParent,a=i instanceof HTMLElement&&i.offsetWidth||0,o={he
32ight:r.offsetHeight||0,width:r.offsetWidth||0,top:r.offsetTop,left:r.offsetLeft,right:0};o.right=a-o.width-o.left;let s=e.anchorX===`left`?`left: ${o.left}px`:`right: ${o.right}px`,c=`pop-${Nv++}`;r.dataset.motionPopId=c;let l=document.createElement(`style`);n.value.nonce&&(l.nonce=n.value.nonce),t.set(r,l),document.head.appendChild(l),l.sheet&&l.sheet.insertRule(`
33    [data-motion-pop-id="${c}"] {
34      position: absolute !important;
35      width: ${o.width}px !important;
36      height: ${o.height}px !important;
37      top: ${o.top}px !important;
38      ${s} !important;
39      }
40      `)}function i(e){let n=t.get(e);n&&(t.delete(e),W.render(()=>{document.head.removeChild(n)}))}return{addPopStyle:r,removePopStyle:i}}var Fv=0;function Iv(e){let t=String(Fv++),n=new Map,{addPopStyle:r,removePopStyle:i}=Pv(e);function a(e){let n=[],r=n_.get(e);r&&e.getAttribute(qg.motionAttribute)===t&&n.push(r);let i=Array.from(e.querySelectorAll(`[${qg.motionAttribute}="${t}"]`));for(let e of i){let t=n_.get(e);t&&n.push(t)}return n}function o(e,t){let r=n.get(e);r&&(r.remaining.delete(t),r.remaining.size===0&&c(r))}let s={initial:e.initial,custom:e.custom,presenceId:t,onMotionExitComplete:o};gv(s),ae(()=>{s.initial=void 0});function c(t){i(t.el),t.states.forEach(e=>{e.getSnapshot(e.options,!1)}),t.done(),n.delete(t.el),t.el?.isConnected?t.states[0]?.didUpdate():t.states.forEach(e=>{e.unmount()}),e.onExitComplete?.()}function l(e,t){a(e).forEach(e=>{e.setActive(`exit`,!1),e.getSnapshot(e.options,!0)}),t()}function u(t,i){s.custom=e.custom;let o=t,c=a(o);if(c.length===0){i(),e.onExitComplete?.();return}let l={remaining:new Set(c),states:c,done:i,el:o};n.set(o,l),r(o),c.forEach(e=>{e.presenceContainer=o,e.setActive(`exit`,!0),e.getSnapshot(e.options,!1)}),c[0]?.didUpdate()}return se(()=>{n.forEach(e=>{e.states.forEach(e=>{e.unmount()})}),n.clear()}),{enter:l,exit:u}}var Lv=N({name:`AnimatePresence`,inheritAttrs:!0,__name:`AnimatePresence`,props:{mode:{default:`sync`},initial:{type:Boolean,default:!0},as:{},custom:{},onExitComplete:{},anchorX:{default:`left`}},setup(e){let t=e,{enter:n,exit:r}=Iv(t),i=M(()=>t.mode===`wait`?{mode:t.mode===`wait`?`out-in`:void 0}:{tag:t.as});return(e,t)=>(P(),L(Ce(e.mode===`wait`?je:Ae),oe(i.value,{appear:``,css:!1,onLeave:D(r),onEnter:D(n)}),{default:F(()=>[Te(e.$slots,`default`)]),_:3},16,[`onLeave`,`onEnter`]))}}),Rv=[`store-selector`,`ticket-selector`,`pick-your-side`],zv=e=>typeof e==`string`&&Rv.includes(e),Bv=[`src`],Vv={class:`absolute inset-0 size-full`,"aria-hidden":`true`,focusable:`false`},Hv=[`fill`],Uv={class:`relative z-10 flex flex-1 items-center gap-5 px-4.5`},Wv={class:`typography-h4 text-primary-white`},Gv=Object.assign(N({__name:`PickYourSideTeamButton`,props:{name:{},site:{},href:{},backgroundImageUrl:{default:`/images/overlay-team-bg-default.jpg`},class:{type:[Boolean,null,String,Object,Array]}},setup(e){let t=`team-btn-gradient-${O()}`;return(n,r)=>{let i=br,a=Qt;return P(),L(a,{ref:`el`,href:e.href,target:`_blank`,rel:`noopener noreferrer`,class:re(D(Tr)(`bg-additional-black group/triggerElement relative flex h-25 items-center overflow-hidden rounded outline-2 outline-offset-2 outline-transparent transition-[outline-color]`,`hover:outline-palette-dark-flair focus-visible:outline-palette-dark-flair`,`w-full`,D(Ar)(D(kr)(e.site)),n.$props.class)),"aria-label":n.$t(`overlay.shopAriaLabel`,{teamName:e.name})},{default:F(()=>[k(`img`,{src:e.backgroundImageUrl,alt:``,"aria-hidden":`true`,class:`absolute inset-0 size-full object-cover`},null,8,Bv),(P(),j(`svg`,Vv,[k(`defs`,null,[k(`radialGradient`,{id:t,cx:`50%`,cy:`50%`,r:`70%`},[...r[0]||=[k(`stop`,{offset:`0%`,"stop-color":`transparent`},null,-1),k(`stop`,{offset:`100%`,"stop-color":`black`,"stop-opacity":`0.6`},null,-1)]])]),k(`rect`,{width:`100%`,height:`100%`,fill:`url(#${t})`},null,8,Hv)])),r[1]||=k(`div`,{class:`bg-palette-dark-flair absolute inset-0`,style:{clipPath:`polygon(75% 0, 100% 0, 100% 100%, 67% 100%)`},"aria-hidden":`true`},null,-1),k(`div`,Uv,[e.site?(P(),L(i,{key:0,site:e.site,size:64,variant:`dark`,class:`size-16 shrink-0 object-contain`},null,8,[`site`])):Ee(``,!0),k(`span`,Wv,ye(e.name),1)]),y(Or,{as:`span`,variant:`white`,class:`relative z-10 mr-4 shrink-0 lg:mr-14`,"aria-hidden":`true`})]),_:1},8,[`href`,`class`,`aria-label`])}}}),{__name:`GlobalModalModalContentComponentsPickYourSideTeamButton`}),Kv={class:`flex max-w-none flex-col gap-4 pr-10 md:max-w-121 md:pr-0`},qv={class:`flex flex-col gap-5 lg:flex-row`},Jv=Object.assign(N({__name:`PickYourSideModalContent`,setup(e){let t=We(),n=pr(),r=M(()=>{let e=t.query.pickYourSideModalTeams;return e?Array.isArray(e)?e.filter(Boolean):[e]:[]}),i=M(()=>r.value.map(e=>n.getTeamById(e)).filter(e=>!!e).map(e=>({name:e.fields.name,site:e.fields.site?.fields.code,merchandiseUrl:e.fields.site?.fields.shopLink?.fields?.externalUrl??`#`,color:Dn(e.fields.site?.fields.code)?Dr[e.fields.site.fields.code].primary:`#000000`})));return(e,t)=>(P(),j(he,null,[k(`section`,Kv,[y(D(yr),{class:`typography-h3 text-primary-dark-gray uppercase`},{default:F(()=>[b(ye(e.$t(`overlay.heading`)),1)]),_:1}),y(D(Cr),{class:`typography-global-text-l text-secondary-gray-3`},{default:F(()=>[b(ye(e.$t(`overlay.subheading`)),1)]),_:1})]),k(`div`,qv,[(P(!0),j(he,null,ie(i.value,e=>(P(),L(Gv,{key:e.name,name:e.name,site:e.site,href:e.merchandiseUrl},null,8,[`name`,`site`,`href`]))),128))])],64))}}),{__name:`GlobalModalModalContentPickYourSideModalContent`}),Yv={west:[`BC`,`EDM`,`CGY`,`SSK`,`WPG`],east:[`HAM`,`TOR`,`MTL`,`OTT`]},Xv=e(((e,t)=>{function n(e,t){for(var n=-1,r=e==null?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}t.exports=n})),Zv=e(((e,t)=>{function n(){this.__data__=[],this.size=0}t.exports=n})),Qv=e(((e,t)=>{function n(e,t){return e===t||e!==e&&t!==t}t.exports=n})),$v=e(((e,t)=>{var n=Qv();function r(e,t){for(var r=e.length;r--;)if(n(e[r][0],t))return r;return-1}t.exports=r})),ey=e(((e,t)=>{var n=$v(),r=Array.prototype.splice;function i(e){var t=this.__data__,i=n(t,e);return i<0?!1:(i==t.length-1?t.pop():r.call(t,i,1),--this.size,!0)}t.exports=i})),ty=e(((e,t)=>{var n=$v();function r(e){var t=this.__data__,r=n(t,e);return r<0?void 0:t[r][1]}t.exports=r})),ny=e(((e,t)=>{var n=$v();function r(e){return n(this.__data__,e)>-1}t.exports=r})),ry=e(((e,t)=>{var n=$v();function r(e,t){var r=this.__data__,i=n(r,e);return i<0?(++this.size,r.push([e,t])):r[i][1]=t,this}t.exports=r})),iy=e(((e,t)=>{var n=Zv(),r=ey(),i=ty(),a=ny(),o=ry();function s(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}s.prototype.clear=n,s.prototype.delete=r,s.prototype.get=i,s.prototype.has=a,s.prototype.set=o,t.exports=s})),ay=e(((e,t)=>{var n=iy();function r(){this.__data__=new n,this.size=0}t.exports=r})),oy=e(((e,t)=>{function n(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}t.exports=n})),sy=e(((e,t)=>{function n(e){return this.__data__.get(e)}t.exports=n})),cy=e(((e,t)=>{function n(e){return this.__data__.has(e)}t.exports=n})),ly=e(((e,t)=>{t.exports=typeof global==`object`&&global&&global.Object===Object&&global})),uy=e(((e,t)=>{var n=ly(),r=typeof self==`object`&&self&&self.Object===Object&&self;
vendor: 4,442 bytes, line 40
40t.exports=n||r||Function(`return this`)()})),dy=e(((e,t)=>{t.exports=uy().Symbol})),fy=e(((e,t)=>{var n=dy(),r=Object.prototype,i=r.hasOwnProperty,a=r.toString,o=n?n.toStringTag:void 0;function s(e){var t=i.call(e,o),n=e[o];try{e[o]=void 0;var r=!0}catch{}var s=a.call(e);return r&&(t?e[o]=n:delete e[o]),s}t.exports=s})),py=e(((e,t)=>{var n=Object.prototype.toString;function r(e){return n.call(e)}t.exports=r})),my=e(((e,t)=>{var n=dy(),r=fy(),i=py(),a=`[object Null]`,o=`[object Undefined]`,s=n?n.toStringTag:void 0;function c(e){return e==null?e===void 0?o:a:s&&s in Object(e)?r(e):i(e)}t.exports=c})),hy=e(((e,t)=>{function n(e){var t=typeof e;return e!=null&&(t==`object`||t==`function`)}t.exports=n})),gy=e(((e,t)=>{var n=my(),r=hy(),i=`[object AsyncFunction]`,a=`[object Function]`,o=`[object GeneratorFunction]`,s=`[object Proxy]`;function c(e){if(!r(e))return!1;var t=n(e);return t==a||t==o||t==i||t==s}t.exports=c})),_y=e(((e,t)=>{t.exports=uy()[`__core-js_shared__`]})),vy=e(((e,t)=>{var n=_y(),r=function(){var e=/[^.]+$/.exec(n&&n.keys&&n.keys.IE_PROTO||``);return e?`Symbol(src)_1.`+e:``}();function i(e){return!!r&&r in e}t.exports=i})),yy=e(((e,t)=>{var n=Function.prototype.toString;function r(e){if(e!=null){try{return n.call(e)}catch{}try{return e+``}catch{}}return``}t.exports=r})),by=e(((e,t)=>{var n=gy(),r=vy(),i=hy(),a=yy(),o=/[\\^$.*+?()[\]{}|]/g,s=/^\[object .+?Constructor\]$/,c=Function.prototype,l=Object.prototype,u=c.toString,d=l.hasOwnProperty,f=RegExp(`^`+u.call(d).replace(o,`\\$&`).replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,`$1.*?`)+`$`);function p(e){return!i(e)||r(e)?!1:(n(e)?f:s).test(a(e))}t.exports=p})),xy=e(((e,t)=>{function n(e,t){return e?.[t]}t.exports=n})),Sy=e(((e,t)=>{var n=by(),r=xy();function i(e,t){var i=r(e,t);return n(i)?i:void 0}t.exports=i})),Cy=e(((e,t)=>{t.exports=Sy()(uy(),`Map`)})),wy=e(((e,t)=>{t.exports=Sy()(Object,`create`)})),Ty=e(((e,t)=>{var n=wy();function r(){this.__data__=n?n(null):{},this.size=0}t.exports=r})),Ey=e(((e,t)=>{function n(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=+!!t,t}t.exports=n})),Dy=e(((e,t)=>{var n=wy(),r=`__lodash_hash_undefined__`,i=Object.prototype.hasOwnProperty;function a(e){var t=this.__data__;if(n){var a=t[e];return a===r?void 0:a}return i.call(t,e)?t[e]:void 0}t.exports=a})),Oy=e(((e,t)=>{var n=wy(),r=Object.prototype.hasOwnProperty;function i(e){var t=this.__data__;return n?t[e]!==void 0:r.call(t,e)}t.exports=i})),ky=e(((e,t)=>{var n=wy(),r=`__lodash_hash_undefined__`;function i(e,t){var i=this.__data__;return this.size+=+!this.has(e),i[e]=n&&t===void 0?r:t,this}t.exports=i})),Ay=e(((e,t)=>{var n=Ty(),r=Ey(),i=Dy(),a=Oy(),o=ky();function s(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}s.prototype.clear=n,s.prototype.delete=r,s.prototype.get=i,s.prototype.has=a,s.prototype.set=o,t.exports=s})),jy=e(((e,t)=>{var n=Ay(),r=iy(),i=Cy();function a(){this.size=0,this.__data__={hash:new n,map:new(i||r),string:new n}}t.exports=a})),My=e(((e,t)=>{function n(e){var t=typeof e;return t==`string`||t==`number`||t==`symbol`||t==`boolean`?e!==`__proto__`:e===null}t.exports=n})),Ny=e(((e,t)=>{var n=My();function r(e,t){var r=e.__data__;return n(t)?r[typeof t==`string`?`string`:`hash`]:r.map}t.exports=r})),Py=e(((e,t)=>{var n=Ny();function r(e){var t=n(this,e).delete(e);return this.size-=+!!t,t}t.exports=r})),Fy=e(((e,t)=>{var n=Ny();function r(e){return n(this,e).get(e)}t.exports=r})),Iy=e(((e,t)=>{var n=Ny();function r(e){return n(this,e).has(e)}t.exports=r})),Ly=e(((e,t)=>{var n=Ny();function r(e,t){var r=n(this,e),i=r.size;return r.set(e,t),this.size+=r.size==i?0:1,this}t.exports=r})),Ry=e(((e,t)=>{var n=jy(),r=Py(),i=Fy(),a=Iy(),o=Ly();function s(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}s.prototype.clear=n,s.prototype.delete=r,s.prototype.get=i,s.prototype.has=a,s.prototype.set=o,t.exports=s})),zy=e(((e,t)=>{var n=iy(),r=Cy(),i=Ry(),a=200;function o(e,t){var o=this.__data__;if(o instanceof n){var s=o.__data__;if(!r||s.length<a-1)return s.push([e,t]),this.size=++o.size,this;o=this.__data__=new i(s)}return o.set(e,t),this.size=o.size,this}t.exports=o})),By=e(((e,t)=>{var n=iy(),r=ay(),i=oy(),a=sy(),o=cy(),s=zy();function c(e){var t=this.__data__=new n(e);this.size=t.size}c.prototype.clear=r,c.prototype.delete=i,c.prototype.get=a,c.prototype.has=o,c.prototype.set=s,t.exp
40orts=c})),Vy=e(((e,t)=>{function n(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}t.exports=n})),Hy=e(((e,t)=>{var n=Sy();t.exports=function(){try{var e=n(Object,`defineProperty`);return e({},``,{}),e}catch{}}()})),Uy=e(((e,t)=>{var n=Hy();function r(e,t,r){t==`__proto__`&&n?n(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}t.exports=r})),Wy=e(((e,t)=>{var n=Uy(),r=Qv(),i=Object.prototype.hasOwnProperty;function a(e,t,a){var o=e[t];(!(i.call(e,t)&&r(o,a))||a===void 0&&!(t in e))&&n(e,t,a)}t.exports=a})),Gy=e(((e,t)=>{var n=Wy(),r=Uy();function i(e,t,i,a){var o=!i;i||={};for(var s=-1,c=t.length;++s<c;){var l=t[s],u=a?a(i[l],e[l],l,i,e):void 0;u===void 0&&(u=e[l]),o?r(i,l,u):n(i,l,u)}return i}t.exports=i})),Ky=e(((e,t)=>{function n(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}t.exports=n})),qy=e(((e,t)=>{function n(e){return typeof e==`object`&&!!e}t.exports=n})),Jy=e(((e,t)=>{var n=my(),r=qy(),i=`[object Arguments]`;function a(e){return r(e)&&n(e)==i}t.exports=a})),Yy=e(((e,t)=>{var n=Jy(),r=qy(),i=Object.prototype,a=i.hasOwnProperty,o=i.propertyIsEnumerable;t.exports=n(function(){return arguments}())?n:function(e){return r(e)&&a.call(e,`callee`)&&!o.call(e,`callee`)}})),Xy=e(((e,t)=>{t.exports=Array.isArray})),Zy=e(((e,t)=>{function n(){return!1}t.exports=n})),Qy=e(((e,t)=>{var n=uy(),r=Zy(),i=typeof e==`object`&&e&&!e.nodeType&&e,a=i&&typeof t==`object`&&t&&!t.nodeType&&t,o=a&&a.exports===i?n.Buffer:void 0;t.exports=(o?o.isBuffer:void 0)||r})),$y=e(((e,t)=>{var n=/^(?:0|[1-9]\d*)$/;function r(e,t){var r=typeof e;return t??=9007199254740991,!!t&&(r==`number`||r!=`symbol`&&n.test(e))&&e>-1&&e%1==0&&e<t}t.exports=r})),eb=e(((e,t)=>{function n(e){return typeof e==`number`&&e>-1&&e%1==0&&e<=9007199254740991}t.exports=n})),tb=e(((e,t)=>{var n=my(),r=eb(),i=qy(),a=`[object Arguments]`,o=`[object Array]`,s=`[object Boolean]`,c=`[object Date]`,l=`[object Error]`,u=`[object Function]`,d=`[object Map]`,f=`[object Number]`,p=`[object Object]`,m=`[object RegExp]`,h=`[object Set]`,g=`[object String]`,_=`[object WeakMap]`,v=`[object ArrayBuffer]`,y=`[object DataView]`,b=`[object Float32Array]`,x=`[object Float64Array]`,S=`[object Int8Array]`,C=`[object Int16Array]`,ee=`[object Int32Array]`,w=`[object Uint8Array]`,T=`[object Uint8ClampedArray]`,E=`[object Uint16Array]`,D=`[object Uint32Array]`,O={};O[b]=O[x]=O[S]=O[C]=O[ee]=O[w]=O[T]=O[E]=O[D]=!0,O[a]=O[o]=O[v]=O[s]=O[y]=O[c]=O[l]=O[u]=O[d]=O[f]=O[p]=O[m]=O[h]=O[g]=O[_]=!1;function te(e){return i(e)&&r(e.length)&&!!O[n(e)]}t.exports=te})),nb=e(((e,t)=>{function n(e){return function(t){return e(t)}}t.exports=n})),rb=e(((e,t)=>{var n=ly(),r=typeof e==`object`&&e&&!e.nodeType&&e,i=r&&typeof t==`object`&&t&&!t.nodeType&&t,a=i&&i.exports===r&&n.process;t.exports=function(){try{return i&&i.require&&i.require(`util`).types||a&&a.binding&&a.binding(`util`)}catch{}}()})),ib=e(((e,t)=>{var n=tb(),r=nb(),i=rb(),a=i&&i.isTypedArray;t.exports=a?r(a):n})),ab=e(((e,t)=>{var n=Ky(),r=Yy(),i=Xy(),a=Qy(),o=$y(),s=ib(),c=Object.prototype.hasOwnProperty;function l(e,t){var l=i(e),u=!l&&r(e),d=!l&&!u&&a(e),f=!l&&!u&&!d&&s(e),p=l||u||d||f,m=p?n(e.length,String):[],h=m.length;for(var g in e)(t||c.call(e,g))&&!(p&&(g==`length`||d&&(g==`offset`||g==`parent`)||f&&(g==`buffer`||g==`byteLength`||g==`byteOffset`)||o(g,h)))&&m.push(g);return m}t.exports=l})),ob=e(((e,t)=>{var n=Object.prototype;function r(e){var t=e&&e.constructor;return e===(typeof t==`function`&&t.prototype||n)}t.exports=r})),sb=e(((e,t)=>{function n(e,t){return function(n){return e(t(n))}}t.exports=n})),cb=e(((e,t)=>{t.exports=sb()(Object.keys,Object)})),lb=e(((e,t)=>{var n=ob(),r=cb(),i=Object.prototype.hasOwnProperty;function a(e){if(!n(e))return r(e);var t=[];for(var a in Object(e))i.call(e,a)&&a!=`constructor`&&t.push(a);return t}t.exports=a})),ub=e(((e,t)=>{var n=gy(),r=eb();function i(e){return e!=null&&r(e.length)&&!n(e)}t.exports=i})),db=e(((e,t)=>{var n=ab(),r=lb(),i=ub();function a(e){return i(e)?n(e):r(e)}t.exports=a})),fb=e(((e,t)=>{var n=Gy(),r=db();function i(e,t){return e&&n(t,r(t),e)}t.exports=i})),pb=e(((e,t)=>{function n(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}t.exports=n})),mb=e(((e,t)=>{var n=hy(),r=ob(),i=pb(),a=Object.prototype.hasOwnProperty;function o(e){if(!n(e))return i(e);var t=r(e),o=[];for(var s in e)s==`constructor`&&(t||!a.call(e,s))||o.push(s);return o}t.exports=o})),hb=e(((e,t)=>{var n=ab(),r=mb(),i=ub();function a(e){return i(e)?n(e,!0):r(e)}t.exports=a})),gb=e(((e,t)=>{var n=Gy(),r=hb();function i(e,t){return e&&n(t,r(t),e)}t.exports=i})),_b=e(((e,t)=>{var n=uy(),r=typeof e==`object`&&e&&!e.nodeType&&e,i=r&&typeof t==`object`&&t&&!t.nodeType&&t,a=i&&i.exports===r?n.Buffer:void 0,o=a?a.allocUnsafe:void 0;function s(e,t){if(t)return e.slice();var n=e.length,r=o?o(n):new e.constructor(n);return e.copy(r),r}t.exports=s})),vb=e(((e,t)=>{function n(e,t){var n=-1,r=e.length;for(t||=Array(r);++n<r;)t[n]=e[n];return t}t.exports=n})),yb=e(((e,t)=>{function n(e,t){for(var n=-1,r=e==null?0:e.length,i=0,a=[];++n<r;){var o=e[n];t(o,n,e)&&(a[i++]=o)}return a}t.exports=n})),bb=e(((e,t)=>{function n(){return[]}t.exports=n})),xb=e(((e,t)=>{var n=yb(),r=bb(),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols;t.exports=a?function(e){return e==null?[]:(e=Object(e),n(a(e),function(t){return i.call(e,t)}))}:r})),Sb=e(((e,t)=>{var n=Gy(),r=xb();function i(e,t){return n(e,r(e),t)}t.exports=i})),Cb=e(((e,t)=>{function n(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}t.exports=n})),wb=e(((e,t)=>{t.exports=sb()(Object.getPrototypeOf,Object)})),Tb=e(((e,t)=>
40{var n=Cb(),r=wb(),i=xb(),a=bb();t.exports=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)n(t,i(e)),e=r(e);return t}:a})),Eb=e(((e,t)=>{var n=Gy(),r=Tb();function i(e,t){return n(e,r(e),t)}t.exports=i})),Db=e(((e,t)=>{var n=Cb(),r=Xy();function i(e,t,i){var a=t(e);return r(e)?a:n(a,i(e))}t.exports=i})),Ob=e(((e,t)=>{var n=Db(),r=xb(),i=db();function a(e){return n(e,i,r)}t.exports=a})),kb=e(((e,t)=>{var n=Db(),r=Tb(),i=hb();function a(e){return n(e,i,r)}t.exports=a})),Ab=e(((e,t)=>{t.exports=Sy()(uy(),`DataView`)})),jb=e(((e,t)=>{t.exports=Sy()(uy(),`Promise`)})),Mb=e(((e,t)=>{t.exports=Sy()(uy(),`Set`)})),Nb=e(((e,t)=>{t.exports=Sy()(uy(),`WeakMap`)})),Pb=e(((e,t)=>{var n=Ab(),r=Cy(),i=jb(),a=Mb(),o=Nb(),s=my(),c=yy(),l=`[object Map]`,u=`[object Object]`,d=`[object Promise]`,f=`[object Set]`,p=`[object WeakMap]`,m=`[object DataView]`,h=c(n),g=c(r),_=c(i),v=c(a),y=c(o),b=s;(n&&b(new n(new ArrayBuffer(1)))!=m||r&&b(new r)!=l||i&&b(i.resolve())!=d||a&&b(new a)!=f||o&&b(new o)!=p)&&(b=function(e){var t=s(e),n=t==u?e.constructor:void 0,r=n?c(n):``;if(r)switch(r){case h:return m;case g:return l;case _:return d;case v:return f;case y:return p}return t}),t.exports=b})),Fb=e(((e,t)=>{var n=Object.prototype.hasOwnProperty;function r(e){var t=e.length,r=new e.constructor(t);return t&&typeof e[0]==`string`&&n.call(e,`index`)&&(r.index=e.index,r.input=e.input),r}t.exports=r})),Ib=e(((e,t)=>{t.exports=uy().Uint8Array})),Lb=e(((e,t)=>{var n=Ib();function r(e){var t=new e.constructor(e.byteLength);return new n(t).set(new n(e)),t}t.exports=r})),Rb=e(((e,t)=>{var n=Lb();function r(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}t.exports=r})),zb=e(((e,t)=>{var n=/\w*$/;function r(e){var t=new e.constructor(e.source,n.exec(e));return t.lastIndex=e.lastIndex,t}t.exports=r})),Bb=e(((e,t)=>{var n=dy(),r=n?n.prototype:void 0,i=r?r.valueOf:void 0;function a(e){return i?Object(i.call(e)):{}}t.exports=a})),Vb=e(((e,t)=>{var n=Lb();function r(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}t.exports=r})),Hb=e(((e,t)=>{var n=Lb(),r=Rb(),i=zb(),a=Bb(),o=Vb(),s=`[object Boolean]`,c=`[object Date]`,l=`[object Map]`,u=`[object Number]`,d=`[object RegExp]`,f=`[object Set]`,p=`[object String]`,m=`[object Symbol]`,h=`[object ArrayBuffer]`,g=`[object DataView]`,_=`[object Float32Array]`,v=`[object Float64Array]`,y=`[object Int8Array]`,b=`[object Int16Array]`,x=`[object Int32Array]`,S=`[object Uint8Array]`,C=`[object Uint8ClampedArray]`,ee=`[object Uint16Array]`,w=`[object Uint32Array]`;function T(e,t,T){var E=e.constructor;switch(t){case h:return n(e);case s:case c:return new E(+e);case g:return r(e,T);case _:case v:case y:case b:case x:case S:case C:case ee:case w:return o(e,T);case l:return new E;case u:case p:return new E(e);case d:return i(e);case f:return new E;case m:return a(e)}}t.exports=T})),Ub=e(((e,t)=>{var n=hy(),r=Object.create;t.exports=function(){function e(){}return function(t){if(!n(t))return{};if(r)return r(t);e.prototype=t;var i=new e;return e.prototype=void 0,i}}()})),Wb=e(((e,t)=>{var n=Ub(),r=wb(),i=ob();function a(e){return typeof e.constructor==`function`&&!i(e)?n(r(e)):{}}t.exports=a})),Gb=e(((e,t)=>{var n=Pb(),r=qy(),i=`[object Map]`;function a(e){return r(e)&&n(e)==i}t.exports=a})),Kb=e(((e,t)=>{var n=Gb(),r=nb(),i=rb(),a=i&&i.isMap;t.exports=a?r(a):n})),qb=e(((e,t)=>{var n=Pb(),r=qy(),i=`[object Set]`;function a(e){return r(e)&&n(e)==i}t.exports=a})),Jb=e(((e,t)=>{var n=qb(),r=nb(),i=rb(),a=i&&i.isSet;t.exports=a?r(a):n})),Yb=e(((e,t)=>{var n=By(),r=Vy(),i=Wy(),a=fb(),o=gb(),s=_b(),c=vb(),l=Sb(),u=Eb(),d=Ob(),f=kb(),p=Pb(),m=Fb(),h=Hb(),g=Wb(),_=Xy(),v=Qy(),y=Kb(),b=hy(),x=Jb(),S=db(),C=hb(),ee=1,w=2,T=4,E=`[object Arguments]`,D=`[object Array]`,O=`[object Boolean]`,te=`[object Date]`,ne=`[object Error]`,re=`[object Function]`,k=`[object GeneratorFunction]`,A=`[object Map]`,j=`[object Number]`,ie=`[object Object]`,ae=`[object RegExp]`,oe=`[object Set]`,se=`[object String]`,M=`[object Symbol]`,ce=`[object WeakMap]`,le=`[object ArrayBuffer]`,ue=`[object DataView]`,de=`[object Float32Array]`,fe=`[object Float64Array
40]`,N=`[object Int8Array]`,pe=`[object Int16Array]`,me=`[object Int32Array]`,P=`[object Uint8Array]`,he=`[object Uint8ClampedArray]`,ge=`[object Uint16Array]`,F=`[object Uint32Array]`,I={};I[E]=I[D]=I[le]=I[ue]=I[O]=I[te]=I[de]=I[fe]=I[N]=I[pe]=I[me]=I[A]=I[j]=I[ie]=I[ae]=I[oe]=I[se]=I[M]=I[P]=I[he]=I[ge]=I[F]=!0,I[ne]=I[re]=I[ce]=!1;function _e(e,t,D,O,te,ne){var A,j=t&ee,ae=t&w,oe=t&T;if(D&&(A=te?D(e,O,te,ne):D(e)),A!==void 0)return A;if(!b(e))return e;var se=_(e);if(se){if(A=m(e),!j)return c(e,A)}else{var M=p(e),ce=M==re||M==k;if(v(e))return s(e,j);if(M==ie||M==E||ce&&!te){if(A=ae||ce?{}:g(e),!j)return ae?u(e,o(A,e)):l(e,a(A,e))}else{if(!I[M])return te?e:{};A=h(e,M,j)}}ne||=new n;var le=ne.get(e);if(le)return le;ne.set(e,A),x(e)?e.forEach(function(n){A.add(_e(n,t,D,n,e,ne))}):y(e)&&e.forEach(function(n,r){A.set(r,_e(n,t,D,r,e,ne))});var ue=se?void 0:(oe?ae?f:d:ae?C:S)(e);return r(ue||e,function(n,r){ue&&(r=n,n=e[r]),i(A,r,_e(n,t,D,r,e,ne))}),A}t.exports=_e})),Xb=e(((e,t)=>{var n=my(),r=qy(),i=`[object Symbol]`;function a(e){return typeof e==`symbol`||r(e)&&n(e)==i}t.exports=a})),Zb=e(((e,t)=>{var n=Xy(),r=Xb(),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;function o(e,t){if(n(e))return!1;var o=typeof e;return o==`number`||o==`symbol`||o==`boolean`||e==null||r(e)?!0:a.test(e)||!i.test(e)||t!=null&&e in Object(t)}t.exports=o})),Qb=e(((e,t)=>{var n=Ry(),r=`Expected a function`;function i(e,t){if(typeof e!=`function`||t!=null&&typeof t!=`function`)throw TypeError(r);var a=function(){var n=arguments,r=t?t.apply(this,n):n[0],i=a.cache;if(i.has(r))return i.get(r);var o=e.apply(this,n);return a.cache=i.set(r,o)||i,o};return a.cache=new(i.Cache||n),a}
40i.Cache=n,t.exports=i})),$b=e(((e,t)=>{var n=Qb(),r=500;function i(e){var t=n(e,function(e){return i.size===r&&i.clear(),e}),i=t.cache;return t}t.exports=i})),ex=e(((e,t)=>{var n=$b(),r=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g;t.exports=n(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(``),e.replace(r,function(e,n,r,a){t.push(r?a.replace(i,`$1`):n||e)}),t})})),tx=e(((e,t)=>{var n=dy(),r=Xv(),i=Xy(),a=Xb(),o=1/0,s=n?n.prototype:void 0,c=s?s.toString:void 0;function l(e){if(typeof e==`string`)return e;if(i(e))return r(e,l)+``;if(a(e))return c?c.call(e):``;var t=e+``;return t==`0`&&1/e==-o?`-0`:t}t.exports=l})),nx=e(((e,t)=>{var n=tx();function r(e){return e==null?``:n(e)}t.exports=r})),rx=e(((e,t)=>{var n=Xy(),r=Zb(),i=ex(),a=nx();function o(e,t){return n(e)?e:r(e,t)?[e]:i(a(e))}t.exports=o})),ix=e(((e,t)=>{function n(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}t.exports=n})),ax=e(((e,t)=>{var n=Xb(),r=1/0;function i(e){if(typeof e==`string`||n(e))return e;var t=e+``;return t==`0`&&1/e==-r?`-0`:t}t.exports=i})),ox=e(((e,t)=>{var n=rx(),r=ax();function i(e,t){t=n(t,e);for(var i=0,a=t.length;e!=null&&i<a;)e=e[r(t[i++])];return i&&i==a?e:void 0}t.exports=i})),sx=e(((e,t)=>{function n(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),n=n>i?i:n,n<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var a=Array(i);++r<i;)a[r]=e[r+t];return a}t.exports=n})),cx=e(((e,t)=>{var n=ox(),r=sx();function i(e,t){return t.length<2?e:n(e,r(t,0,-1))}t.exports=i})),lx=e(((e,t)=>{var n=rx(),r=ix(),i=cx(),a=ax(),o=Object.prototype.hasOwnProperty;function s(e,t){t=n(t,e);var s=-1,c=t.length;if(!c)return!0;for(;++s<c;){var l=a(t[s]);if(l===`__proto__`&&!o.call(e,`__proto__`)||(l===`constructor`||l===`prototype`)&&s<c-1)return!1}var u=i(e,t);return u==null||delete u[a(r(t))]}t.exports=s})),ux=e(((e,t)=>{var n=my(),r=wb(),i=qy(),a=`[object Object]`,o=Function.prototype,s=Object.prototype,c=o.toString,l=s.hasOwnProperty,u=c.call(Object);function d(e){if(!i(e)||n(e)!=a)return!1;var t=r(e);if(t===null)return!0;var o=l.call(t,`constructor`)&&t.constructor;return typeof o==`function`&&o instanceof o&&c.call(o)==u}t.exports=d})),dx=e(((e,t)=>{var n=ux();function r(e){return n(e)?void 0:e}t.exports=r})),fx=e(((e,t)=>{var n=dy(),r=Yy(),i=Xy(),a=n?n.isConcatSpreadable:void 0;function o(e){return i(e)||r(e)||!!(a&&e&&e[a])}t.exports=o})),px=e(((e,t)=>{var n=Cb(),r=fx();function i(e,t,a,o,s){var c=-1,l=e.length;for(a||=r,s||=[];++c<l;){var u=e[c];t>0&&a(u)?t>1?i(u,t-1,a,o,s):n(s,u):o||(s[s.length]=u)}return s}t.exports=i})),mx=e(((e,t)=>{var n=px();function r(e){return e!=null&&e.length?n(e,1):[]}t.exports=r})),hx=e(((e,t)=>{function n(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}t.exports=n})),gx=e(((e,t)=>{var n=hx(),r=Math.max;function i(e,t,i){return t=r(t===void 0?e.length-1:t,0),function(){for(var a=arguments,o=-1,s=r(a.length-t,0),c=Array(s);++o<s;)c[o]=a[t+o];o=-1;for(var l=Array(t+1);++o<t;)l[o]=a[o];return l[t]=i(c),n(e,this,l)}}t.exports=i})),_x=e(((e,t)=>{function n(e){return function(){return e}}t.exports=n})),vx=e(((e,t)=>{function n(e){return e}t.exports=n})),yx=e(((e,t)=>{var n=_x(),r=Hy(),i=vx();t.exports=r?function(e,t){return r(e,`toString`,{configurable:!0,enumerable:!1,value:n(t),writable:!0})}:i})),bx=e(((e,t)=>{var n=Date.now;function r(e){var t=0,r=0;return function(){var i=n(),a=16-(i-r);if(r=i,a>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}t.exports=r})),xx=e(((e,t)=>{var n=yx();t.exports=bx()(n)})),Sx=e(((e,t)=>{var n=mx(),r=gx(),i=xx();function a(e){return i(r(e,void 0,n),e+``)}t.exports=a})),Cx=n(e(((e,t)=>{var n=Xv(),r=Yb(),i=lx(),a=rx(),o=Gy(),s=dx(),c=Sx(),l=kb(),u=1,d=2,f=4;t.exports=c(function(e,t){var c={};if(e==null)return c;var p=!1;t=n(t,function(t){return t=a(t,e),p||=t.length>1,t}),o(e,l(e),c),p&&(c=r(c,u|d|f,s));for(var m=t.length;m--;)i(c,t[m]);return c})}))(),1),wx=[`modalId`,`modalType`],Tx=[`pickYourSideModalTeams`],Ex=[...wx,...Tx],Dx=()=>{let e=R(),t=We(),n=M(()=>(0,Cx.default)(t.query,...Ex));return{handler:(t=`push`)=>e[t]({query:n.value}),href:M(()=>e.resolve({query:n.value}).href)}},Ox={class:`flex w-full flex-col gap-6`},kx={class:`typography-btn-md text-primary-dark-gray uppercase`},Ax={key:0,class:`flex flex-col gap-3`},jx={key:0,class:`flex size-9 shrink-0 items-center justify-center overflow-hidden`},Mx={key:1,class:`typography-label-md text-secondary-gray-2 flex size-9 shrink-0 items-center justify-center uppercase`},Nx={class:`typography-global-text-l text-primary-dark-gray min-w-0 flex-1 truncate`},Px=Object.assign(N({__name:`TeamSelectorDivisionList`,props:{heading:{},teams:{},teamLinkAriaLabel:{},linkEvent:{type:Function,default:void 0}},setup(e){let{handler:t}=Dx(),n=e;return(r,i)=>{let a=br,o=Qt,s=v(`track`);
40return P(),j(`div`,Ox,[k(`span`,kx,ye(e.heading),1),e.teams.length>0?(P(),j(`ul`,Ax,[(P(!0),j(he,null,ie(e.teams,r=>(P(),j(`li`,{key:r.name},[te((P(),L(o,{class:`border-primary-light-gray bg-primary-white flex min-h-9 w-full items-center gap-2 rounded border py-1.5 pr-4 pl-3`,href:r.url??void 0,"aria-label":e.teamLinkAriaLabel(r.name),onClick:i[0]||=e=>D(t)()},{default:F(()=>[r.site?(P(),j(`div`,jx,[y(a,{site:r.site,size:64,class:`max-h-full max-w-full object-contain`},null,8,[`site`])])):(P(),j(`span`,Mx,ye(r.shortCode??`—`),1)),i[1]||=k(`div`,{class:`bg-primary-light-gray h-6 w-px shrink-0 self-center`,"aria-hidden":`true`},null,-1),k(`span`,Nx,ye(r.name),1)]),_:2},1032,[`href`,`aria-label`])),[[s,n.linkEvent?n.linkEvent(r):null]])]))),128))])):Ee(``,!0)])}}}),{__name:`GlobalModalModalContentComponentsTeamSelectorDivisionList`}),Fx={class:`flex max-w-none flex-col gap-4 pr-10 md:max-w-121 md:pr-0`},Ix={class:`flex w-full flex-col gap-10 align-top md:flex-row md:gap-12`},Lx=Object.assign(N({__name:`GenericTeamSelectorModalContent`,props:{title:{},description:{},westDivisionTeams:{},eastDivisionTeams:{},teamLinkAriaLabel:{},westLinkEvent:{type:Function,default:void 0},eastLinkEvent:{type:Function,default:void 0}},setup(e){return(t,n)=>(P(),j(he,null,[k(`section`,Fx,[y(D(yr),{class:`typography-h3 text-primary-dark-gray uppercase`},{default:F(()=>[b(ye(e.title),1)]),_:1}),y(D(Cr),{class:`typography-global-text-l text-secondary-gray-3`},{default:F(()=>[b(ye(e.description),1)]),_:1})]),k(`section`,Ix,[y(Px,{class:`w-full md:basis-1/2`,heading:t.$t(`teamSelector.westDivisionHeading`),teams:e.westDivisionTeams,"team-link-aria-label":e.teamLinkAriaLabel,"link-event":e.westLinkEvent},null,8,[`heading`,`teams`,`team-link-aria-label`,`link-event`]),y(Px,{class:`w-full md:basis-1/2`,heading:t.$t(`teamSelector.eastDivisionHeading`),teams:e.eastDivisionTeams,"team-link-aria-label":e.teamLinkAriaLabel,"link-event":e.eastLinkEvent},null,8,[`heading`,`teams`,`team-link-aria-label`,`link-event`])])],64))}}),{__name:`GlobalModalModalContentComponentsGenericTeamSelectorModalContent`}),Rx=(e,t,n)=>!e||e.length===0?[]:t.map(t=>e.find(e=>e.fields.shortCode===t)).filter(e=>!!e).map(e=>({name:e.fields.name,shortCode:e.fields.shortCode,url:n(e),site:e.fields.site?.fields.code})),zx=Object.assign(N({__name:`StoreSelectorModalContent`,setup(e){let{t:n}=t(),r=An(),{teams:i}=pt(pr()),a=e=>{let t=e.fields.site;if(!t||!kn(t))return null;let n=t.fields.shopLink;return!n||!kn(n)||!jr.link(n)?null:Zt(n,r.ctfLocale)??null},o=M(()=>Rx(i.value,Yv.west,a)),s=M(()=>Rx(i.value,Yv.east,a)),c=e=>n(`header.storeDialog.teamLinkAriaLabel`,{teamName:e});return(e,t)=>(P(),L(Lx,{title:e.$t(`header.storeDialog.title`),description:e.$t(`header.storeDialog.description`),"west-division-teams":D(o),"east-division-teams":D(s),"team-link-aria-label":c},null,8,[`title`,`description`,`west-division-teams`,`east-division-teams`]))}}),{__name:`GlobalModalModalContentStoreSelectorModalContent`}),Bx=Object.assign(N({__name:`TicketSelectorModalContent`,setup(e){let{t:n}=t(),r=An(),{teams:i}=pt(pr()),a=e=>{let t=e.fields.site;if(!t||!kn(t))return null;let n=t.fields.ticketingLink;return!n||!kn(n)||!jr.link(n)?null:Zt(n,r.ctfLocale)??null},o=M(()=>Rx(i.value,Yv.west,a)),s=M(()=>Rx(i.value,Yv.east,a)),c=e=>n(`header.ticketingDialog.teamLinkAriaLabel`,{teamName:e}),l=(e,t)=>t.url?{event:`buy_ticket_team_select`,team_name:t.name,division:e,destination_url:t.url}:null,u=e=>l(`West`,e),d=e=>l(`East`,e);return(e,t)=>(P(),L(Lx,{title:e.$t(`header.ticketingDialog.title`),description:e.$t(`header.ticketingDialog.description`),"west-division-teams":D(o),"east-division-teams":D(s),"team-link-aria-label":c,"west-link-event":u,"east-link-event":d},null,8,[`title`,`description`,`west-division-teams`,`east-division-teams`]))}}),{__name:`GlobalModalModalContentTicketSelectorModalContent`}),Vx={class:`relative px-5 pt-14 pb-8 lg:px-6`},Hx={class:`flex flex-col gap-8 lg:gap-10`},Ux=Object.assign(N({__name:`GlobalModal`,setup(e){let t=We(),n=An(),{handler:r}=Dx(),i=lr(),a={initial:{opacity:0}
40,animate:{opacity:1},exit:{opacity:0},transition:{duration:.25,ease:`easeInOut`}},o=wr(`lg`),s=M(()=>({initial:{opacity:0,y:o.value?0:`100%`},animate:{opacity:1,y:0},exit:{opacity:0,y:o.value?0:`100%`},transition:{duration:.25,ease:`easeInOut`}})),c=Se(null),l=Se(!1),u=M(()=>c.value!==null||l.value),d=Se(null);S(c,e=>{e!==null&&(d.value=e.fields.type)});let f=async e=>{try{let t=await i(`/api/v1/content/entries/${e}`,{query:{locale:n.ctfLocale}});if(t?.sys?.contentType?.sys?.id===`modal`)c.value=t;else throw Error(`Content with ID ${e} is not a modal entry.`)}catch(e){console.error(`[GlobalModal] Failed to fetch modal content:`,e),r(`replace`)}},p=()=>{u.value&&(c.value=null,l.value=!1,r())};S(()=>t.query.modalId,e=>{typeof e==`string`?f(e):c.value=null},{immediate:!0}),S(()=>t.query.modalType,e=>{zv(e)?(l.value=!0,d.value=e):(r(`replace`),l.value=!1)},{immediate:!0});let m=()=>{if(!d.value)return null;switch(d.value){case`store-selector`:return y(zx,null,null);case`ticket-selector`:return y(Bx,null,null);case`pick-your-side`:return y(Jv,null,null);default:return r(`replace`),console.error(`[GlobalModal] Unrecognized modal type:`,d.value),null}};return(e,t)=>(P(),L(D(fr),{"scroll-body":!1},{default:F(()=>[y(D(_r),{open:u.value,"onUpdate:open":p},{default:F(()=>[y(D(gr),{disabled:``},{default:F(()=>[y(D(Lv),{multiple:``},{default:F(()=>[y(D(vr),{"as-child":``},{default:F(()=>[y(D(Mv),oe({class:`bg-additional-black/50 fixed inset-0 z-50 overflow-y-auto p-0 lg:p-6`},a),null,16)]),_:1}),y(D(hr),{"as-child":``},{default:F(()=>[y(D(Mv),oe({class:`bg-primary-white lg:shadow-card fixed inset-x-0 bottom-0 z-100 flex max-h-[90dvh] w-full max-w-screen flex-col overflow-y-auto rounded-t-lg shadow-none focus:outline-none lg:inset-auto lg:top-1/2 lg:left-1/2 lg:h-auto lg:max-h-dvh lg:max-w-210 lg:-translate-x-1/2 lg:-translate-y-1/2 lg:rounded-lg`},s.value),{default:F(()=>[k(`div`,Vx,[y(D(mr),{class:`absolute top-3 right-3 flex size-11 cursor-pointer items-center justify-center rounded-full lg:top-2 lg:right-2`,"aria-label":e.$t(`header.storeDialog.closeButtonAriaLabel`)},{default:F(()=>[y(Er,{class:`size-6`})]),_:1},8,[`aria-label`]),k(`div`,Hx,[y(m)])])]),_:1},16)]),_:1})]),_:1})]),_:1})]),_:1},8,[`open`])]),_:1}))}}),{__name:`GlobalModal`}),Wx=N({__name:`app`,async setup(e){let n,r,i=lr(),a=An(),{locale:o}=t();cr.defaultLocale=o.value||`en-CA`;let s=On().value?.siteDomain,c=ur(),l=pr(),u=()=>Mr(`site`,async()=>(await i(`/api/v1/content/types/site`,{query:{"fields.domain":s,include:5,limit:1,locale:a.ctfLocale,scope:`global`}}))?.items?.[0]),d=()=>Mr(`teams`,async()=>({teams:((await i(`/api/v1/content/types/team`,{query:{include:5,locale:a.ctfLocale,scope:`global`}}))?.items||[]).sort((e,t)=>e.fields?.order-t.fields?.order)})),[{data:f},{data:p}]=([n,r]=ee(()=>Rc(u,d)),n=await n,r(),n);rn({link:[f.value?.fields.favicon?{rel:`icon`,type:f.value?.fields.favicon?.fields?.file?.contentType,href:f.value?.fields.favicon?.fields?.file?.url}:null,...f.value?.fields.faviconPng?[16,32,96,180,192,512].map(e=>(f.value?.fields?.faviconPng?.fields?.file?.details?.image?.width||0)>=e?{rel:`icon`,type:f.value?.fields.faviconPng?.fields?.file?.contentType,href:f.value?.fields.faviconPng?.fields?.file?.url+`?w=${e}&h=${e}&fit=pad`,sizes:`${e}x${e}`}:null).filter(Boolean):[],f.value?.fields.appleTouchIcon?{rel:`apple-touch-icon`,type:f.value?.fields.appleTouchIcon?.fields?.file?.contentType,href:f.value?.fields.appleTouchIcon?.fields?.file?.url}:null],bodyAttrs:{class:`lang-${o.value}`}});try{f.value?c.setValuesForSite(f.value):console.warn(`no site data returned`)}catch(e){console.error(`app.vue: Error setting site data:`,e)}return p.value?.teams&&(l.teams=p.value.teams),(e,t)=>{let n=kc,r=Ic,i=Fn;return P(),L(i,{root:``,options:{smoothWheel:!1}},{default:F(()=>[y(r,null,{default:F(()=>[y(n)]),_:1}),y(Ux)]),_:1})}}}),Gx={class:`bg-primary-white flex flex-col pt-24 pb-12 lg:py-19 lg:pt-19`},Kx={class:`lg:w-column-6 flex w-full flex-col gap-10`},qx={class:`flex flex-col gap-6 lg:gap-10`},Jx={class:`typography-h1 text-primary-dark-gray text-start whitespace-pre-wrap`},Yx={class:`typography-lg text-secondary-gray-3 text-start leading-[110%]`},Xx={class:`typography-btn-md`},Zx=Object.assign(N({__name:`ErrorPageContent`,props:{headline:{},description:{},imageUrl:{},imageAlt:{},buttonLabel:{},buttonUrl:{default:`/`},headingLevel:{default:`h1`}},setup(e){let t=e;return(n,r)=>(P(),j(`div`,Gx,[k(`div`,Kx,[k(`div`,qx,[k(`h1`,Jx,ye(t.headline),1),k(`p`,Yx,ye(t.description),1)]),e.imageUrl?(P(),L(xr,{key:0,src:e.imageUrl,alt:e.imageAlt??``,sizes:`xs:100vw lg:670px`,class:`aspect-video w-full rounded object-cover`}
40,null,8,[`src`,`alt`])):Ee(``,!0),e.buttonLabel?(P(),L(Sr,{key:1,variant:`secondary`,to:e.buttonUrl,class:`w-full self-start lg:w-auto lg:max-w-50 lg:min-w-43`},{"icon-right":F(()=>[y(Nr,{class:`size-2.5`})]),default:F(()=>[k(`span`,Xx,ye(e.buttonLabel),1)]),_:1},8,[`to`])):Ee(``,!0)])]))}}),{__name:`ErrorPageContent`}),Qx={class:`container flex min-h-[50vh] flex-col items-center justify-center gap-10 text-center`},$x={key:1},eS={class:`typography-h1`},tS=N({__name:`error`,async setup(e){let t,n,r=lr(),i=ur(),a=An(),o=On().value?.siteDomain??`cfl.ca`;[t,n]=ee(async()=>Mr(`site`,async()=>{let e=(await r(`/api/v1/content/types/site`,{query:{"fields.domain":o,include:5,limit:1,locale:a.ctfLocale,scope:`global`}}))?.items?.[0];e&&i.setValuesForSite(e)})),await t,n();let s=M(()=>{let e=i.site?.fields.errorPageContent;return kn(e)?e.fields:null}),c=M(()=>{let e=s.value?.linkOrAction;if(jr.link(e)){let t=Zt(e,a.ctfLocale);return t?{url:t,title:e.fields?.title}:void 0}else return});{let{$previousRouteHref:e}=u(),{track:t}=Bn();ae(()=>{let n={event:`error_page_view`,requested_url:window.location.pathname+window.location.search,referrer:e?.()??document.referrer??``};t(n)})}let l=M(()=>{let e=s.value?.image;if(!(!e||!Pr(e)))return{url:e.fields.file?.url,alt:e.fields.title}});return(e,t)=>{let n=Ic;return P(),L(n,{name:`error`},{default:F(()=>[k(`div`,Qx,[s.value?(P(),L(Zx,{key:0,headline:s.value.headline,description:s.value.body??``,"button-label":c.value?.title??``,"button-url":c.value?.url??`#`,"image-url":l.value?.url??``,"image-alt":l.value?.alt??``,"heading-level":`h1`},null,8,[`headline`,`description`,`button-label`,`button-url`,`image-url`,`image-alt`])):(P(),j(`div`,$x,[k(`h1`,eS,ye(e.$t(`errorPage.generic`)),1)]))])]),_:1})}}}),nS=()=>null,rS={key:0},iS={__name:`nuxt-root`,setup(e){let t=u(),n=t.deferHydration();if(t.isHydrating){let e=t.hooks.hookOnce(`app:error`,n),r=R().beforeEach(()=>{e(),r()})}window.location.pathname,le(et,We()),t.hooks.callHookWith(e=>e.map(e=>e()),`vue:setup`,[]);let r=Xe();function i(e,n,r){let i=t.vueApp.config.errorHandler;if(i&&!i.__nuxt_default)try{i(e,n,r)}catch(e){console.error("[nuxt] Error in `app.config.errorHandler`",e)}}return ve((e,n,r)=>{if(t.hooks.callHook(`vue:error`,e,n,r)?.catch(e=>console.error("[nuxt] Error in `vue:error` hook",e)),Be(navigator.userAgent))return Ze(t,e),!1;if(Ve(e)&&(e.fatal||e.unhandled))return t.runWithContext(()=>Je(e)),i(e,n,r),!1}),(e,t)=>(P(),L(pe,{onResolve:D(n)},{default:F(()=>[D(!1)?(P(),j(`div`,rS)):D(r)?(P(),L(D(tS),{key:1,error:D(r)},null,8,[`error`])):D(!1)?(P(),L(D(nS),{key:2,context:D(!1)},null,8,[`context`])):D(!1)?(P(),L(Ce(D(!1)),{key:3})):(P(),L(D(Wx),{key:4}))]),_:1},8,[`onResolve`]))}},aS;{let e;aS=async function(){if(e)return e;let t=!!(window.__NUXT__?.serverRendered??document.getElementById(`__NUXT_DATA__`)?.dataset.ssr===`true`),n=t?Oe(iS):ke(iS),r=d({vueApp:n});async function i(e){await r.callHook(`app:error`,e),r.payload.error||=Ke(e)}i.__nuxt_default=!0,n.config.errorHandler=i,r.hook(`app:suspense:resolve`,()=>{n.config.errorHandler===i&&(n.config.errorHandler=void 0)}),!t&&m.id&&r.hook(`app:suspense:resolve`,()=>{document.getElementById(m.id)?.remove()});try{await p(r,Tc)}catch(e){i(e)}try{await r.hooks.callHook(`app:created`,n),await r.hooks.callHook(`app:beforeMount`,n),n.mount(s),await r.hooks.callHook(`app:mounted`,n),await be()}catch(e){i(e)}return n},e=aS().catch(e=>{throw h.NUXT_E1009({cause:e}),e})}

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.