import{t as e}from"./rolldown-runtime.C4p97ucE.mjs";import{A as t,C as n,D as r,F as i,I as a,L as o,M as s,N as c,O as l,P as u,R as d,S as f,T as p,_ as m,a as h,b as g,c as _,d as v,f as y,g as b,h as x,i as S,j as C,k as w,l as T,m as E,o as D,s as O,u as k,v as A,w as j,x as M,y as ee,z as N}from"./react.C2oq39e3.mjs";import{$ as P,A as F,B as te,C as I,D as ne,E as re,F as ie,G as ae,H as oe,I as se,J as ce,K as le,L as ue,M as de,N as fe,O as L,P as pe,Q as me,R as he,S as ge,T as _e,U as ve,V as ye,W as be,X as xe,Y as Se,Z as Ce,_ as we,a as Te,at as Ee,b as De,c as Oe,ct as R,d as ke,dt as z,et as Ae,f as je,ft as Me,g as Ne,h as Pe,i as Fe,it as Ie,j as Le,k as Re,l as ze,lt as Be,m as Ve,mt as He,n as Ue,nt as We,o as Ge,ot as Ke,p as qe,pt as Je,q as Ye,r as Xe,rt as Ze,s as Qe,st as $e,tt as et,u as tt,ut as nt,v as rt,w as it,x as at,y as ot,z as st}from"./motion.DXNtziZE.v2.mjs";function ct(e){return typeof e==`function`}function lt(e){return typeof e==`boolean`}function B(e){return typeof e==`string`}function V(e){return Number.isFinite(e)}function ut(e){return Array.isArray(e)}function H(e){return typeof e==`object`&&!!e&&!ut(e)}function dt(e){for(let t in e)return!1;return!0}function ft(e){return e===void 0}function pt(e){return e===null}function mt(e){return e==null}function ht(e){return e instanceof Date&&!Number.isNaN(e.getTime())}function gt(e){return H(e)&&ct(e.return)}function _t(e){return H(e)&&ct(e.then)}function vt(e){return e instanceof Promise}function yt(e){return`url('${bt(e)}')`}function bt(e){return`data:image/svg+xml,${e.replaceAll(`#`,`%23`).replaceAll(`'`,`%27`).replaceAll(`"`,`%22`)}`}function xt(e,t){let n=t instanceof Error?t.stack??t.message:t;return`${e?`${e} `:``}In case the issue persists, report this to the Framer team via https://www.framer.com/contact/${n?`: ${n}`:`.`}`}function St(){if(!F_)return;let e=document.querySelectorAll(`[rel="modulepreload"][data-maas-lazy]`);for(let t of e){let e=t.getAttribute(`data-maas-lazy`),n=t.getAttribute(`href`);if(!e||!n)continue;let r=import(n).then(t=>(H_.set(e,t),t)).catch(t=>{throw H_.delete(e),console.warn(`Failed to import lazy module: ${n}`,t),t});r.catch(P_),H_.set(e,r)}}function Ct(e){return typeof e==`object`&&!!e&&!y(e)&&W_ in e}function wt(e,t){if(t in e)return e[t];throw Error(`Module does not contain export '${t}'`)}function Tt(e,t=`default`,n){let r,i,a,o=()=>{if(i||!n||!H_.has(n))return;let e=H_.get(n);vt(e)?s(()=>e):i=wt(e,t)},s=e=>i?Promise.resolve(i):(r||=e().then(e=>{let n=wt(e,t);return i=n,n}).catch(e=>{a=e}),r),l=!1,u=m(function(t,r){if(c(()=>{l=!0},[]),a)throw a;if(o(),n!==void 0&&U_!==void 0&&U_.add(n),!i)throw s(e);return _(i,{ref:r,...t})});return u.preload=()=>(o(),s(e)),u.getStatus=()=>({hasLoaded:i!==void 0,hasRendered:l}),u}function Et(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Dt(e){return e===null||!(K_ in e)?!1:typeof e.equals==`function`}function Ot(e,t){return e===t?!0:e!==e&&t!==t}function kt(e,t){let n=e.length;if(n!==t.length)return!1;for(let r=n;r--!==0;)if(!Ot(e[r],t[r]))return!1;return!0}function At(e,t){let n=e.length;if(n!==t.length)return!1;for(let r=n;r--!==0;)if(!It(e[r],t[r],!0))return!1;return!0}function jt(e,t){if(e.size!==t.size)return!1;for(let[n,r]of e.entries())if(!Ot(r,t.get(n)))return!1;return!0}function Mt(e,t){if(e.size!==t.size)return!1;for(let[n,r]of e.entries())if(!It(r,t.get(n),!0))return!1;return!0}function Nt(e,t){if(e.size!==t.size)return!1;for(let n of e.keys())if(!t.has(n))return!1;return!0}function Pt(e,t){let n=G_(e);if(n.length!==G_(t).length)return!1;for(let r of n)if(!Et(t,r)||!(r===`_owner`&&Et(e,`$$typeof`)&&e.$$typeof)&&!Ot(e[r],t[r]))return!1;return!0}function Ft(e,t){let n=G_(e);if(n.length!==G_(t).length)return!1;for(let r of n)if(!Et(t,r)||!(r===`_owner`&&Et(e,`$$typeof`)&&e.$$typeof)&&!It(e[r],t[r],!0))return!1;return!0}function It(e,t,n){if(e===t)return!0;if(!e||!t)return e!==e&&t!==t;let r=typeof e;if(r!==typeof t||r!==`object`)return!1;let i=Array.isArray(e),a=Array.isArray(t);if(i&&a)return n?At(e,t):kt(e,t);if(i!==a)return!1;let o=e instanceof Map,s=t instanceof Map;if(o&&s)return n?Mt(e,t):jt(e,t);if(o!==s)return!1;let c=e instanceof Set,l=t instanceof Set;if(c&&l)return Nt(e,t);if(c!==l)return!1;let u=e instanceof Date,d=t instanceof Date;if(u&&d)return e.getTime()===t.getTime();if(u!==d)return!1;let f=e instanceof RegExp,p=t instanceof RegExp;return f&&p?e.toString()===t.toString():f===p?Dt(e)&&Dt(t)?e.equals(t):n?Ft(e,t):Pt(e,t):!1}function Lt(e,t,n=!0){try{return It(e,t,n)}catch(e){if(e instanceof Error&&/stack|recursion/iu.exec(e.message))return console.warn(`Warning: isEqual does not handle circular references.`,e.name,e.message),!1;throw e}}function Rt(e){return M.useCallback(t=>e[t],[e])}function zt({api:e,children:t}){return _(q_.Provider,{value:e,children:t})}function Bt(){return M.useContext(q_)}function Vt({routes:e,children:t}){let n=Rt(e),r=C(()=>({getRoute:n}),[n]);return _(q_.Provider,{value:r,children:t})}function Ht(){let e=Bt(),n=t(J_),r=n?.routeId??e.currentRouteId,i=n?.routeId?n.pathVariables:e.currentPathVariables,a=r?e.getRoute?.(r):void 0;return C(()=>{if(!(!r||!a))return{...a,id:r,pathVariables:i}},[r,i,a])}function Ut(){let e=Ht();if(e)return`${e.id}-${JSON.stringify(e.pathVariables)}`}function Wt(e){let t=Ht(),n=M.useRef(t);Lt(n.current,t)||!t||(n.current=t,e(t))}function Gt(e){let t=Bt();if(e)return t.getRoute?.(e)}function Kt(e,t){if(t&&e)return e.elements&&t in e.elements?e.elements[t]:t}function qt(e){let t=[`pointerdown`,`pointerup`,`keydown`,`keyup`],n=e=>{let n=e.type;t.includes(n)&&performance.mark(`maas-navigation-input`,{detail:{type:n}})};for(let r=0;r{for(let e=0;er?Kt(r,e):e,[e,r])}function U(e,...t){if(e)return;let n=Error(`Assertion Error`+(t.length>0?`: `+t.join(` `):``));if(n.stack)try{let e=n.stack.split(` `);e[1]?.includes(`assert`)?(e.splice(1,1),n.stack=e.join(` `)):e[0]?.includes(`assert`)&&(e.splice(0,1),n.stack=e.join(` `))}catch{}throw n}function W(e,t){throw t instanceof Error?t:t===void 0?Error(e?`Unexpected value: ${e}`:`Application entered invalid state`):Error(String(t))}function Yt(e){return Object(e)!==e}function Xt(e){let t=Object.getPrototypeOf(e);return t===Object.prototype||t===null||Object.getPrototypeOf(t)===null||Object.getOwnPropertyNames(t).sort().join(`\0`)===rv}function Zt(e){return Object.prototype.toString.call(e).slice(8,-1)}function Qt(e){switch(e){case`"`:return`\\"`;case`<`:return`\\u003C`;case`\\`:return`\\\\`;case` `:return`\\n`;case`\r`:return`\\r`;case` `:return`\\t`;case`\b`:return`\\b`;case`\f`:return`\\f`;case`\u2028`:return`\\u2028`;case`\u2029`:return`\\u2029`;default:return e<` `?`\\u${e.charCodeAt(0).toString(16).padStart(4,`0`)}`:``}}function $t(e){let t=``,n=0,r=e.length;for(let i=0;iObject.getOwnPropertyDescriptor(e,t).enumerable)}function tn(e){return iv.test(e)?`.`+e:`[`+JSON.stringify(e)+`]`}function nn(e){if(e.length===0||e.length>1&&e.charCodeAt(0)===48)return!1;for(let t=0;t57)return!1}let t=+e;return!(t>=2**32-1||t<0)}function rn(e){let t=Object.keys(e);for(var n=t.length-1;n>=0&&!nn(t[n]);n--);return t.length=n+1,t}function an(e){let t=new DataView(e),n=``;for(let r=0;r>16),t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255),n=r=0);return r===12?(n>>=4,t+=String.fromCharCode(n)):r===18&&(n>>=2,t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255)),t}function cn(e){let t=``;for(let n=0;n>2,r[1]=(e.charCodeAt(n)&3)<<4,e.length>n+1&&(r[1]|=e.charCodeAt(n+1)>>4,r[2]=(e.charCodeAt(n+1)&15)<<2),e.length>n+2&&(r[2]|=e.charCodeAt(n+2)>>6,r[3]=e.charCodeAt(n+2)&63);for(let e=0;e=t)throw Error(`Invalid input`);n[r]=a(s[e+1])}}else{let t=Array(s.length);r[e]=t;for(let e=0;e0&&(l+=`,`),Object.hasOwn(t,n))a.push(`[${n}]`),l+=s(t[n]),a.pop();else if(e)l+=sv;else{let n=rn(t),r=n.length,i=String(t.length).length;if((t.length-r)*3>4+i+r*(i+1)){l=`[`+fv+`,`+t.length;for(let e=0;e0||i!==e.buffer.byteLength){let e=/(\d+)/.exec(n)[1]/8;l+=`,${r/e},${i/e}`}l+=`]`;break}case`ArrayBuffer`:l=`["ArrayBuffer","${an(t)}"]`;break;case`Temporal.Duration`:case`Temporal.Instant`:case`Temporal.PlainDate`:case`Temporal.PlainTime`:case`Temporal.PlainDateTime`:case`Temporal.PlainMonthDay`:case`Temporal.PlainYearMonth`:case`Temporal.ZonedDateTime`:l=`["${n}",${$t(t.toString())}]`;break;default:if(!Xt(t))throw new nv(`Cannot stringify arbitrary non-POJOs`,a,t,e);if(en(t).length>0)throw new nv(`Cannot stringify POJOs with symbolic keys`,a,t,e);if(Object.getPrototypeOf(t)===null){l=`["null"`;for(let n of Object.keys(t)){if(n===`__proto__`)throw new nv(`Cannot stringify objects with __proto__ keys`,a,t,e);a.push(tn(n)),l+=`,${$t(n)},${s(t[n])}`,a.pop()}l+=`]`}else{l=`{`;let n=!1;for(let r of Object.keys(t)){if(r===`__proto__`)throw new nv(`Cannot stringify objects with __proto__ keys`,a,t,e);n&&(l+=`,`),n=!0,a.push(tn(r)),l+=`${$t(r)}:${s(t[r])}`,a.pop()}l+=`}`}}}return n[c]=l,c}let c=s(e);return c<0?`${c}`:`[${n.join(`,`)}]`}function fn(e){let t=typeof e;return t===`string`?$t(e):e instanceof String?$t(e.toString()):e===void 0?ov.toString():e===0&&1/e<0?dv.toString():t===`bigint`?`["BigInt","${e}"]`:String(e)}function pn(e,t,n=`lazy`){switch(pv.__maas_events?.push([e,t,n]),e){case`published_site_click`:{let{trackingId:e,href:n}=t;e&&document.dispatchEvent(new CustomEvent(`maas:click`,{detail:{trackingId:e,href:n}}));break}case`published_site_form_submit`:{let{trackingId:e}=t;e&&document.dispatchEvent(new CustomEvent(`maas:formsubmit`,{detail:{trackingId:e}}));break}case`published_site_pageview`:{let{maasLocale:e}=t;document.dispatchEvent(new CustomEvent(`maas:pageview`,{detail:{maasLocale:e}}));break}case`published_site_trigger_invoke`:{let{trackingId:e}=t;e&&document.dispatchEvent(new CustomEvent(`maas:triggerinvoke`,{detail:{trackingId:e}}));break}}}function mn(e){return B(e)&&(e===``||hv.test(e))}function hn(){return{[gv.QueryCache]:new Map,[gv.CollectionUtilsCache]:new Map}}function gn(){if(!F_)return;if(_v!==void 0)return _v;let e=document.getElementById(`__maas__handoverData`);if(e){try{_v=ln(e.text)??hn()}catch(e){_v=hn(),console.warn(`Failed to parse handover data. Falling back to network.`,e)}return R_(()=>{e?.remove(),e=null}),_v}}function _n(e,t){let n=gn();return n?n[e].has(t):!1}function vn(e,t){let n=gn();if(!n)return;let r=n[e];if(!r.has(t))return;let i=r.get(t);return r.delete(t),i}function yn(e){return e?.id??$_}function bn(e,t,n,r){return`${e}|${t}|${n}|${r}`}function xn(e){return t=>{if(!e)return;let n=e[t];if(!n)return;if(xv.has(n))return xv.get(n);let r=new Cv(n,t);return xv.set(n,r),r}}function Sn({children:e,collectionUtils:t}){let n=C(()=>({get:xn(t)}),[t]);return _(Sv.Provider,{value:n,children:e})}function Cn(){return t(Sv)}function wn(){for(let e of Ev)e();Ev.clear()}function Tn(e){return new Promise(t=>{if(Ev.add(t),document.hidden){wn();return}document.addEventListener(`visibilitychange`,wn),document.addEventListener(`pagehide`,wn),Ne.read(()=>{Dn(e).then(()=>{Ev.delete(t),!e?.signal?.aborted&&t()})})})}function En(e){return new Promise(t=>{setTimeout(t,100),Ne.read(()=>{Dn(e).then(t)},!1,!0)})}function Dn(e){let t=e?.priority;return wv||Tv?t===`background`?new Promise(e=>{setTimeout(e,1)}):wv?pv.scheduler.yield(e).catch(P_):pv.scheduler.postTask(()=>{},e).catch(P_):t===`user-blocking`?Promise.resolve():new Promise(e=>{setTimeout(e,t===`background`?1:0)})}function On(e){let{continueAfter:t,ensureContinueBeforeUnload:n,...r}=e??{};return n?Tn(r):t===`paint`?En(r):Dn(r)}function kn(){let e=Cn(),{autobahnNavigation:t}=Q_(),{getRoute:n}=Bt();return s((r,i,a=!0,o=!0)=>{if(!r||!n)return;let s=n(r),{pathVariables:c,locale:l}=i;return jn(s,{routeId:r,pathVariables:c,locale:l,collectionUtils:e},a,o&&t)},[n,e,t])}function An(e,t=!0){let n=kn();c(()=>{if(!(!t||!Dv))for(let t of e)n(t,{})},[e,t,n])}async function jn(e,t,n=!0,r=!0){if(!Dv||!e)return;let i=e.page;if(!(!i||!Ct(i))){n&&await On();try{let e=await i.preload();r&&t&&e&&await Mn(e,t)}catch{}}}async function Mn(e,t){let n=e.loader;if(!n?.load)return;let r={signal:t.signal??new AbortController().signal,pathVariables:t.pathVariables??{},routeId:t.routeId,locale:t.locale,collectionUtils:t.collectionUtils};try{await n.load({},r)}catch{}}function Nn(e,t){if(!e.startsWith(`/`)||!t.startsWith(`/`))throw Error(`from/to paths are expected to be absolute`);let[n]=Pn(e),[r,i]=Pn(t),a=Fn(n,r);return a===``&&(a=`.`),!a.startsWith(`.`)&&!a.startsWith(`/`)&&(a=`./`+a),a+`/`+i}function Pn(e){let t=e.lastIndexOf(`/`);return[e.substring(0,t+1),e.substring(t+1)]}function Fn(e,t){if(e===t||(e=`/`+In(e),t=`/`+In(t),e===t))return``;let n=e.length,r=n-1,i=t.length-1,a=ra){if(Av(t,1+s)===kv)return Mv(t,1+s+1);if(s===0)return Mv(t,1+s)}else r>a&&(Av(e,1+s)===kv?o=s:s===0&&(o=0));let c=``;for(s=1+o+1;s<=n;++s)(s===n||Av(e,s)===kv)&&(c+=c.length===0?`..`:`/..`);return`${c}${Mv(t,1+o)}`}function In(e){let t=``,n=0,r=-1,i=0,a=0;for(let o=0;o<=e.length;++o){if(o2){let e=jv(t,Pv);e===-1?(t=``,n=0):(t=Mv(t,0,e),n=t.length-1-jv(t,Pv)),r=o,i=0;continue}else if(t.length!==0){t=``,n=0,r=o,i=0;continue}}Nv&&(t+=t.length>0?`${Pv}..`:`..`,n=2)}else t.length>0?t+=`${Pv}${Mv(e,r+1,o)}`:t=Mv(e,r+1,o),n=o-r-1;r=o,i=0}else a===Ov&&i!==-1?++i:i=-1}return t}function Ln(e,t){return e.replace(Lv,(e,n)=>{let r=t[n];return typeof r!=`string`||r.length===0?e:encodeURIComponent(r)})}function Rn(e,t=!1){let n=``;if(N!==void 0)if(t)n=N.location.search;else{let e=N.history?.state?.queryParamBackAnchorSearch;n=e===void 0?N.location.search:e===``?``:`?${e}`}return n?zn(n,e):e}function zn(e,t){let n=t.indexOf(`#`),r=n===-1?t:t.substring(0,n),i=n===-1?``:t.substring(n),a=r.indexOf(`?`),o=a===-1?r:r.substring(0,a),s=a===-1?``:r.substring(a),c=new URLSearchParams(s),l=new URLSearchParams(e);for(let[e,t]of l)c.has(e)||e!==Rv&&c.append(e,t);let u=c.toString();return u===``?r+i:o+`?`+u+i}async function Bn(e,t,n,r,i,a,o){let s=e,c=!1,l={...a},u=Array.from(s.matchAll(Lv)),d=await Promise.all(u.map(async e=>{let s=e?.[0],u=e?.[1];if(!s||!u)throw Error(`Failed to replace path variables: unexpected regex match group`);let d=a[u];if(!d||!B(d))throw Error(`No slug found for path variable ${u}`);let f=o?.get(i);if(!f||!t)return d;let p=f.getRecordIdBySlug(d,t),m=vt(p)?await p:p;if(!m)return d;let h=f.getSlugByRecordId(m,n),g=vt(h)?await h:h;if(!g){c=!0;let e=f.getSlugByRecordId(m,r),t=vt(e)?await e:e;return t&&(l[u]=t),t??d}return l[u]=g,g})),f=0,p=``,m=!1;for(let e=0;e{Ne.render(()=>{performance.mark(`maas-vt-remove`);let e=document.getElementById(Gv);e&&document.head.removeChild(e)})})}function nr(){return!!document.startViewTransition}function rr(e){return new Promise(t=>{Ne.render(()=>{performance.mark(`maas-vt-style`),er(e),t()})})}async function ir(e,t,n){if(!nr()){e();return}if(await rr(t),n?.aborted)return;performance.mark(`maas-vt`);let r=document.startViewTransition(async()=>{performance.mark(`maas-vt-freeze`),!n?.aborted&&(n?.addEventListener(`abort`,()=>r.skipTransition()),await e())});return r.updateCallbackDone.then(()=>{performance.mark(`maas-vt-unfreeze`)}).catch(qv),Promise.all([r.ready,r.finished]).then(()=>{performance.mark(`maas-vt-finished`),tr()}).catch(qv),r}function ar(){let e=Wn(),t=l(void 0);return c(()=>{t.current&&=(t.current(),void 0)}),s((n,r,i,a)=>{let o=Gn(n,r,e);if(o){let e=new Promise(e=>{t.current=e});return ir(async()=>{i(),await e},o,a)}i()},[e])}function or(e,t){R_(()=>{let n=document.querySelector(`link[rel='canonical']`);if(!n)return;let r=new URL(e,t);r.search=``,n.setAttribute(`href`,r.toString())})}function sr(e,t,n,r=f){r(()=>{let t=async e=>(await On({...n,continueAfter:`paint`}),e()),r=t(e);return()=>{(async()=>{let e=await r;e&&t(e)})()}},t)}function cr(e){let t=l(void 0);return sr(()=>{t.current&&=(t.current(),void 0)},void 0,{priority:`user-blocking`}),s(n=>{let r=new Promise(e=>{t.current=e});if(!e)return{promise:r,measureDetail:n,ignore:null};let i=`${e}-start`,a=`${e}-end`,o=!1;return performance.mark(i),r.finally(()=>{o||(performance.mark(a),performance.measure(e,{start:i,end:a,detail:n}))}).catch(e=>{console.error(e)}),{promise:r,measureDetail:n,ignore:()=>{o=!0,t.current?.(),t.current=void 0}}},[e])}async function lr(e,t,{currentRoutePath:n,currentRoutePathLocalized:r,currentPathVariables:i,hash:a,pathVariables:o,localeId:s,preserveQueryParams:c,siteCanonicalURL:l},u=!1){let{path:d}=t;if(!d)return;let f=gr(t,{currentRoutePath:n,currentRoutePathLocalized:r,currentPathVariables:i,hash:a,pathVariables:o,preserveQueryParams:c,siteCanonicalURL:l,localeId:s}),p=n!==void 0&&n===d,m=ur(N.history.state)?N.history.state:void 0,h=p?m?.queryParamBackAnchorSearch:void 0;try{return await fr({routeId:e,hash:a,pathVariables:o,localeId:s,queryParamBackAnchorSearch:h},f,u)}catch{}}function ur(e){return H(e)&&B(e.routeId)}function dr(e,t,n=!1){performance.mark(`maas-history-replace`),t&&or(t,N.location.href),(n?N.history.__proto__.replaceState:N.history.replaceState).call(N.history,e,``,t)}async function fr(e,t,n=!1){if(performance.mark(`maas-history-push`),or(t,N.location.href),!n){N.history.pushState(e,``,t);return}let r=!1,i;Xv&&(i=()=>{if(r=!0,Zv)return;let e=`Popstate called after intercept(). Please report this issue.`;console.error(e),pn(`published_site_load_recoverable_error`,{message:e})},N.addEventListener(`popstate`,i,{once:!0})),Zv&&Xv?N.history.__proto__.pushState.call(N.history,e,``,t):N.history.pushState(e,``,t),Xv&&queueMicrotask(()=>{r||(Xv=!1,N.removeEventListener(`popstate`,i))})}function pr({disabled:e,routeId:t,initialPathVariables:n,initialLocaleId:r}){f(()=>{if(e)return;performance.mark(`maas-history-set-initial-state`);let i=H(N.history.state)?N.history.state:{},a=N.location.hash?N.location.hash.slice(1):void 0;dr({...i,routeId:t,hash:a,pathVariables:n,localeId:r},void 0,!0)},[])}function mr(e,t){let n=ar(),r=cr(`maas-route-change`),i=l(void 0),a=s(async({state:a})=>{if(N.navigation?.transition&&N.navigation?.transition?.navigationType!==`traverse`||!H(a))return;let{routeId:o,hash:s,pathVariables:c,localeId:l}=a;if(!B(o))return;let u=r({popstate:!0}),d=qt();u.promise.finally(d);let f=await n(e.current,o,()=>{t(o,B(l)?l:void 0,B(s)?s:void 0,N.location.pathname+N.location.search+N.location.hash,H(c)?c:void 0,!0,u,!1)}),p=N.navigation?.transition;await(f?.updateCallbackDone??Promise.resolve()).then(i.current?.resolve).catch(i.current?.reject),await u.promise;try{await p?.finished}catch(e){console.warn(`Popstate transition failed`,e)}Yv(),or(N.location.href)},[e,r,t,n]),o=s(e=>{e.navigationType!==`traverse`||!e.canIntercept||e.intercept({async handler(){await new Promise((e,t)=>{i.current={resolve:e,reject:t}}),i.current=void 0},scroll:`after-transition`})},[]);c(()=>(N.addEventListener(`popstate`,a),Qv&&N.navigation.addEventListener(`navigate`,o),()=>{N.removeEventListener(`popstate`,a),Qv&&N.navigation.removeEventListener(`navigate`,o)}),[a,o])}function hr(e,t,n){let r=Kt(t,e);if(!r)return;let i=Object.assign({},t?.elements,n);return r.replace(Lv,(e,t)=>i[t]??e)}function gr(e,{currentRoutePath:t,currentRoutePathLocalized:n,currentPathVariables:r,hash:i,pathVariables:a,hashVariables:o,relative:s=!0,preserveQueryParams:c,onlyHash:l=!1,siteCanonicalURL:u,localeId:d}){let f=hr(i,e,o);if(l)return f??``;let p=t??`/`;n&&d&&(p=n[d]??p),r&&(p=p.replace(Lv,(e,t)=>String(r[t]||e)));let m=(d?e?.pathLocalized?.[d]:void 0)??e?.path??`/`;a&&(m=m.replace(Lv,(e,t)=>String(a[t]||e)));let h=!!(p===m&&f),g=!h&&a!==void 0&&t!==void 0&&e?.path!==void 0&&t===e.path&&p!==m;if(s)if(Iv.has(p)&&N!==void 0){let e=Hn(u);m=Nn(N.location.pathname,e+m)}else m=Nn(p,m);let _=h||g;return(c||_)&&(m=Rn(m,_)),f&&(m=`${m}#${f}`),m}async function _r(e,t,n){if(!e.path||!t)return!1;let r=`${n.slug?`/${n.slug}`:``}${Ln(e.path,t)}`;return(await fetch(r,{method:`HEAD`,redirect:`manual`})).type===`opaqueredirect`?(N.location.href=N.location.origin+r,!0):!1}function vr(){let e=Cn();return s(t=>yr({...t,collectionUtils:e}),[e])}async function yr(e){let t=await Vn(e);if(t){try{localStorage.preferredLocale=e.nextLocale.code}catch{}try{if(!B(t.path))throw Error(`Expected result.path to be a string`);if(t.isMissingInLocale&&await _r(e.route,t.pathVariables,e.nextLocale))return}catch{}return t}}function br(){let e=l(Promise.resolve()),t=l(),n=s(n=>{if(n.navigationType===`traverse`||!n.canIntercept)return;let r=t.current;r?.signal.addEventListener(`abort`,()=>{r.abort(`user aborted`)}),n.intercept({handler:()=>e.current})},[]);return s((r,i,a)=>{if(!Qv){i();return}e.current=r,t.current=a,N.navigation.addEventListener(`navigate`,n),i(!0),r.finally(()=>{N.navigation.removeEventListener(`navigate`,n)})},[n])}function xr(e){let t=0,n=e.length;for(;tt&&e[n-1]===`-`;)n--;return e.slice(t,n)}function Sr(e){return xr(e.trim().toLowerCase().replace($v,`-`))}function Cr({children:e,value:t}){return _(ty.Provider,{value:t,children:e})}function wr(){return t(ty)}function Tr(e,t){let n=i(()=>({inputs:t,result:e()}))[0],r=l(!0),a=l(n),o=r.current||t&&a.current.inputs&&Lt(t,a.current.inputs,!1)?a.current:{inputs:t,result:e()};return c(()=>{r.current=!1,a.current=o},[o]),o.result}function Er(e,t){return Tr(()=>e,t)}function Dr(){return M.useContext(iy)}function Or(){return M.useContext(ay)}function kr(){return N.location.search}function Ar(){return``}function jr(e){return oy.add(e),N.addEventListener(`popstate`,e),()=>{oy.delete(e),N.removeEventListener(`popstate`,e)}}function Mr(){for(let e of oy)e()}function Nr({children:e}){let t=wr()===`preview`,[n,a]=i(``),o=r(g(jr,kr,Ar));Bt();let c=t?n:o,l=s(async e=>{if(t){A(()=>{a(t=>e(new URLSearchParams(t)).toString())});return}await On({continueAfter:`paint`});let n=N.history.state,r=new URL(N.location.href),i=e(r.searchParams).toString();r.search=i;let o=n?.queryParamBackAnchorSearch,s=N.location.search.slice(1),c=o===void 0&&i!==s,l=o!==void 0&&i===o,u={...n,queryParamBackAnchorSearch:l?void 0:o??(c?s:void 0)},d=r.toString();c||l?await fr(u,d):dr(u,d),Mr()},[t]),u=Tr(()=>({urlSearchParams:new URLSearchParams(c),replaceSearchParams:l}),[c,l]);return _(sy.Provider,{value:u,children:e})}function Pr(){let e=new Event(`change`,{bubbles:!0});return e[cy]=1,e}function Fr(){let e=new MouseEvent(`click`,{bubbles:!0});return e[cy]=1,e}function Ir(e){return e instanceof HTMLInputElement&&(e.type===`checkbox`||e.type===`radio`)?`checked`:`value`}function Lr(e){return cy in e&&e[cy]===1}function Rr(e){return ly in e.nativeEvent&&e.nativeEvent[ly]===1}function zr(e){let t=l(!1),n=l(null),r=g(z_,V_,uy);return c(()=>{if(!r)return;let i=n.current;if(t.current||!i)return;t.current=!0;let a=Ir(i),o=i[a];if(o===e)return;if(i.type===`radio`&&o===!0){i.checked=!1,i.dispatchEvent(Fr());return}if(a===`checked`){let e=Fr();e[ly]=1,i.dispatchEvent(e),i.dispatchEvent(Fr());return}if(i.nodeName===`SELECT`){i.dispatchEvent(Pr());return}let s=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(i),a)?.set;if(!s)return;s.call(i,``);let c=Pr();c[ly]=1,i.dispatchEvent(c),queueMicrotask(()=>{s.call(i,o),i.dispatchEvent(Pr())})},[r]),n}function Br(){if(!dy)return;py=!0,performance.mark(`maas-react-event-handling-start`);let e={capture:!0},t=document.body;dy.forEach(n=>t.addEventListener(n,fy,e))}function Vr(){return c(()=>{if(!py||!dy)return;let e={capture:!0},t=document.body;dy.forEach(n=>t.removeEventListener(n,fy,e)),dy=void 0,performance.mark(`maas-react-event-handling-end`)},[]),null}function Hr(e){let t=!1;return function(...n){if(!t)return t=!0,e.apply(this,n)}}function Ur(e,t,n){try{performance.measure(e,t,n)}catch(t){console.warn(`Could not measure ${e}`,t)}}function Wr(){Ny=new My,Ny.render.markStart()}function Gr(){n(()=>{Ny?.useInsertionEffects.markRouterStart()},[]),f(()=>{Ny?.useLayoutEffects.markRouterStart()},[]),c(()=>{Ny?.useEffects.markRouterStart()},[])}function Kr(){n(()=>{Ny?.render.markEnd(),Ny?.useInsertionEffects.markStart()},[]),f(()=>{if(Ny?.useLayoutEffects.markStart(),document.visibilityState!==`visible`){Py=!0;return}Ne.read(()=>{Ny?.browserRendering.requestAnimationFrame.markStart(),Ny?.unattributedHydrationOverhead.measure()})},[]),c(()=>{Ny?.useEffects.markStart(),Ny?.browserRendering.hasStarted||(Ny?.mutationEffects.measure(),Ny?.useEffects.markAreSynchronous())},[])}function qr(){n(()=>{Ny?.useInsertionEffects.markEnd()},[]),f(()=>{Ny?.useLayoutEffects.markEnd(),!(Py||document.visibilityState!==`visible`)&&Ne.read(()=>{Ny?.browserRendering.requestAnimationFrame.markEnd(),On().then(()=>{Ny?.browserRendering.layoutStylePaint.markEnd()})})},[]),c(()=>{Ny?.useEffects.markEnd()},[])}function Jr(){return Kr(),null}function Yr(){return qr(),null}function Xr(e,t){let n={style:t,"data-maas-root":``};return M.isValidElement(e)?M.cloneElement(e,n):_(e,{...n})}function Zr(){return Ry}function Qr(e){if(zy?.lastRoutes!==e){let t={},n={},r=[],i={},a=e;for(let r in e){let i=e[r];U(i,`route must be defined`);let{path:a,pathLocalized:o}=i;if(a&&(t[a]={path:a,depth:ti(a),routeId:r},o))for(let e in o){let t=o[e];U(t,`localizedPath must be defined`);let i=ti(t),a=n[e]||={};a[t]={path:t,depth:i,routeId:r}}}for(let e in r=Object.values(t),r.sort(({depth:e},{depth:t})=>t-e),n){let t=n[e];if(!t)continue;let r=Object.values(t);r.sort(({depth:e},{depth:t})=>t-e),i[e]=r}zy={pathRoutes:t,pathRoutesLocalized:n,paths:r,pathsLocalized:i,lastRoutes:a}}return{pathRoutes:zy.pathRoutes,paths:zy.paths,pathRoutesLocalized:zy.pathRoutesLocalized,pathsLocalized:zy.pathsLocalized}}function $r(e,t,n=!0,r=Zr()){return ei(e,t,r,n)}function ei(e,t,n,r=!0){let{pathRoutes:i,paths:a,pathRoutesLocalized:o,pathsLocalized:s}=Qr(e),c,l,u=!1;if(n.length>0){let e=t.split(`/`).find(Boolean);if(e&&(c=n.find(({slug:t})=>t===e),c&&(l=c.id,t=t.substring(c.slug.length+1),u=!0)),!l){let e=n.find(({slug:e})=>e===``);e&&(l=e.id)}}if(l&&u){let e=o[l],n=e?e[t]:void 0;if(n){let e=ni(t,n.path);if(e.isMatch)return{routeId:n.routeId,localeId:l,pathVariables:e.pathVariables}}}let d=i[t];if(d){let e=ni(t,d.path);if(e.isMatch)return{routeId:d.routeId,localeId:l,pathVariables:e.pathVariables}}if(l&&u){let e=s[l];if(e)for(let{path:n,routeId:r}of e){let e=ni(t,n);if(e.isMatch)return{routeId:r,localeId:l,pathVariables:e.pathVariables}}}for(let{path:e,routeId:n}of a){let r=ni(t,e);if(r.isMatch)return{routeId:n,localeId:l,pathVariables:r.pathVariables}}if(!r)throw Error(`No exact match found for path`);let f=i[`/`];if(f)return{routeId:f.routeId,localeId:l};let p=Object.keys(e)[0];if(!p)throw Error(`Router should not have undefined routes`);return{routeId:p,localeId:l}}function ti(e){let t=e.replace(/^\/|\/$/gu,``);return t===``?0:t.split(`/`).length}function ni(e,t){let n=[],r=ri(t).replace(Lv,(e,t)=>(n.push(t),`([^/]+)`)),i=RegExp(r+`$`),a=e.match(i);if(!a)return{isMatch:!1};if(a.length===1)return{isMatch:!0};let o={},s=a.slice(1);for(let e=0;ee.name===`abtests`);return t?new URLSearchParams(t.description):new URLSearchParams}return new URLSearchParams}function ai(e,t,n){let r=e[n];if(!r)return;let i=r.abTestingParentId??n;if(!e[i])return;let{abTestingParentId:a,...o}=r,s=e[i].elements||r.elements?{...e[i].elements,...r.elements}:void 0;e[i]={...o,elements:s,abTestingVariantId:n,abTestId:t}}function oi(e,t){for(let[n,r]of t)ai(e,n,r)}function si(e){for(let t in e)e[t]?.abTestingParentId&&delete e[t]}function ci(e,t){if(!e[t]||!e[t].abTestingParentId)return;let n=e[t].abTestingParentId,{abTestingParentId:r,...i}=e[t],a=e[n]?.elements||i.elements?{...e[n]?.elements,...i.elements}:void 0;e[n]={...i,elements:a,abTestingVariantId:t}}function li(e,t){if(N===void 0)return t;let n=t;if(t){ci(e,t);let r=e[t]?.abTestingParentId;r&&(n=r)}return oi(e,ii()),si(e),n}function ui(e){c(()=>{if(e.robots){let t=document.querySelector(`meta[name="robots"]`);t?t.setAttribute(`content`,e.robots):(t=document.createElement(`meta`),t.setAttribute(`name`,`robots`),t.setAttribute(`content`,e.robots),document.head.appendChild(t))}},[e.robots]),n(()=>{document.title=e.title||``,e.viewport&&document.querySelector(`meta[name="viewport"]`)?.setAttribute(`content`,e.viewport)},[e.title,e.viewport])}function di(e,...t){By.has(e)||(By.add(e),console.warn(e,...t))}function fi(e,t,n){di(`Deprecation warning: ${e} will be removed in version ${t}${n?`, use ${n} instead`:``}.`)}function pi(e){return typeof e==`object`&&!!e&&Uy in e&&e[Uy]instanceof Function&&Wy in e&&e[Wy]instanceof Function}function mi(e,t){return{interpolate(e,n){let r=e.get(),i=n.get(),a=Hy(r);return e=>{let n=t.interpolate(r,i)(e);return a.set(n),a}},difference(e,n){let r=e.get();return t.difference(r,n.get())}}}function hi(e,t){let n=10**Math.round(Math.abs(t));return Math.round(e*n)/n}function gi(e,t){return t===0?Math.round(e):(t-=t|0,t<0&&(t=1-t),Math.round(e-t)+t)}function _i(e){return Math.round(e*2)/2}function vi(e,t){return{x:e,y:t}}function yi(e,t,n,r=!1){let[i,a]=t,[o,s]=n,c=a-i;if(c===0)return(s+o)/2;let l=s-o;if(l===0)return o;let u=o+(e-i)/c*l;if(r===!0)if(os)return s}else{if(u>o)return o;if(u.5?e/(2-c-l):e/(c+l),c){case a:u=(o-s)/e+(o1&&--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 Ai(e,t,n){let r,i,a;if(e=Ni(e,360),t=Ni(t*100,100),n=Ni(n*100,100),t===0)r=i=a=n;else{let o=n<.5?n*(1+t):n+t-n*t,s=2*n-o;r=ki(s,o,e+1/3),i=ki(s,o,e),a=ki(s,o,e-1/3)}return{r:r*255,g:i*255,b:a*255}}function ji(e,t,n){e=Ni(e,255),t=Ni(t,255),n=Ni(n,255);let r=Math.max(e,t,n),i=Math.min(e,t,n),a=r-i,o=0,s=r===0?0:a/r,c=r;if(r===i)o=0;else{switch(r){case e:o=(t-n)/a+(t.0031308?(Math.sign(e)||1)*(1.055*t**(1/2.4)-.055):e*12.92}function Wi({r:e,g:t,b:n,a:r}){return{r:Ui(e),g:Ui(t),b:Ui(n),a:r}}function Gi({r:e,g:t,b:n,a:r}){let i=Math.max(e,t,n),a=Math.min(e,t,n),o={h:0,s:i===0?0:1-a/i,v:i,a:r};return i-a!==0&&(o.h=(i===e?(t-n)/(i-a)+(t1)&&(e=1),e}function na(){return pv.location.origin===`https://screenshot.framer.invalid`}function ra({children:e}){if(t(pb).top)return _(O,{children:e});let n=l({byId:{},byName:{},byLastId:{},byPossibleId:{},byLastName:{},byLayoutId:{},count:{byId:{},byName:{}}}),r=l({byId:{},byName:{},byLastId:{},byPossibleId:{},byLastName:{},byLayoutId:{}}),i=l(new Set).current,a=l({getLayoutId:s(({id:e,name:t,duplicatedFrom:a})=>{if(!e)return null;let o=t?`byName`:`byId`,s=n.current[o][e];if(s)return s;let c=t||e;if(!a&&!i.has(c)&&(!n.current.byLayoutId[c]||n.current.byLayoutId[c]===c))return n.current.count[o][c]===void 0&&(n.current.count[o][c]=0,n.current.byLayoutId[c]=c,r.current[o][e]=c),i.add(c),c;let l;if(a?.length)for(let s=a.length-1;s>=0;s--){let c=a[s];U(!!c,`duplicatedId must be defined`);let u=n.current[o][c],d=n.current.byLastId[c];if(d&&!l){let e=n.current.byLayoutId[d],r=!e||e===t;d&&!i.has(d)&&(!t||r)&&(l=[d,c])}let f=u?n.current.byLayoutId[u]:void 0,p=!f||f===t;if(u&&!i.has(u)&&(!t||p))return r.current[o][e]=u,r.current.byLastId[c]=u,i.add(u),u}let u=n.current.byLastId[e];if(u&&!i.has(u))return i.add(u),r.current.byId[e]=u,u;if(l){let[t,n]=l;return r.current[o][e]=t,r.current.byLastId[n]=t,i.add(t),t}let d=n.current.byPossibleId[e];if(d&&!i.has(d))return i.add(d),r.current.byId[e]=d,d;let f=a?.[0],p=t||f||e,{layoutId:m,value:h}=ia(p,(n.current.count[o][p]??-1)+1,i);if(n.current.count[o][p]=h,r.current[o][e]=m,a?.length&&!t){let e=a[a.length-1];if(e&&(r.current.byLastId[e]=m),a.length>1)for(let e=0;e{n.current={byId:{...n.current.byId,...r.current.byId},byLastId:{...n.current.byLastId,...r.current.byLastId},byPossibleId:{...n.current.byPossibleId,...r.current.byPossibleId},byName:{...n.current.byName,...r.current.byName},byLastName:{...n.current.byLastName,...r.current.byLastName},byLayoutId:{...n.current.byLayoutId,...r.current.byLayoutId},count:{...n.current.count,byName:{}}},r.current={byId:{},byName:{},byLastId:{},byPossibleId:{},byLastName:{},byLayoutId:{}},i.clear()},[]),top:!0,enabled:!0}).current;return _(pb.Provider,{value:a,children:e})}function ia(e,t,n){let r=t,i=r?`${e}-${r}`:e;for(;n.has(i);)r++,i=`${e}-${r}`;return{layoutId:i,value:r}}function aa({enabled:e=!0,...n}){let r=t(pb),i=C(()=>({...r,enabled:e}),[e]);return _(pb.Provider,{...n,value:i})}function oa(e){let t=l(null);return t.current===null&&(t.current=e()),t.current}function sa(e){let{error:t,file:n}=e,r=n?`Error in ${ca(n)}`:`Error`,i=t instanceof Error?t.message:``+t;return T(`div`,{style:hb,children:[_(`div`,{className:`text`,style:_b,children:r}),i&&_(`div`,{className:`text`,style:vb,children:i})]})}function ca(e){return e.startsWith(`./`)?e.replace(`./`,``):e}function G(e){return Number.isFinite(e)}function la(e){return!e||!Object.keys(e).length&&e.constructor===Object}function ua(e){return typeof e!=`string`&&typeof e!=`number`}function da(e){return e!=null&&typeof e!=`boolean`&&!la(e)}function fa(e){return e*(Math.PI/180)}function pa(e){return ft(e)?!1:e===2||e===5}function ma(e){if(typeof e==`string`){let t=e.trim();if(t===`auto`)return 2;if(t.endsWith(`fr`))return 3;if(t.endsWith(`%`))return 1;if(t.endsWith(`vw`)||t.endsWith(`vh`))return 4}return 0}function ha(e,t,n,r){if(typeof t==`string`){if(t.endsWith(`%`)&&n)switch(e){case`maxWidth`:case`minWidth`:return parseFloat(t)/100*n.width;case`maxHeight`:case`minHeight`:return parseFloat(t)/100*n.height;default:break}if(t.endsWith(`vh`)){if(!r)return ga(e);switch(e){case`maxWidth`:case`minWidth`:return parseFloat(t)/100*r.width;case`maxHeight`:case`minHeight`:return parseFloat(t)/100*r.height;default:break}}return parseFloat(t)}return t}function ga(e){switch(e){case`minWidth`:case`minHeight`:return-1/0;case`maxWidth`:case`maxHeight`:return 1/0;default:W(e,`unknown constraint key`)}}function _a(e,t,n,r){return t.minHeight&&(e=Math.max(ha(`minHeight`,t.minHeight,n,r),e)),t.maxHeight&&(e=Math.min(ha(`maxHeight`,t.maxHeight,n,r),e)),e}function va(e,t,n,r){return t.minWidth&&(e=Math.max(ha(`minWidth`,t.minWidth,n,r),e)),t.maxWidth&&(e=Math.min(ha(`maxWidth`,t.maxWidth,n,r),e)),e}function ya(e,t,n,r,i){let a=va(G(e)?e:Cb,n,r,i),o=_a(G(t)?t:wb,n,r,i);return G(n.aspectRatio)&&n.aspectRatio>0&&(G(n.left)&&G(n.right)?o=a/n.aspectRatio:G(n.top)&&G(n.bottom)||n.widthType===0?a=o*n.aspectRatio:o=a/n.aspectRatio),{width:a,height:o}}function ba(e,t){return!G(e)||!G(t)?null:e+t}function xa(e){return typeof e.right==`string`||typeof e.bottom==`string`||typeof e.left==`string`&&(!e.center||e.center===`y`)||typeof e.top==`string`&&(!e.center||e.center===`x`)}function Sa(e){return!e._constraints||xa(e)?!1:e._constraints.enabled}function Ca(e){let{size:t}=e,{width:n,height:r}=e;return G(t)&&(n===void 0&&(n=t),r===void 0&&(r=t)),G(n)&&G(r)?{width:n,height:r}:null}function wa(e){let t=Ca(e);if(t===null)return null;let{left:n,top:r}=e;return G(n)&&G(r)?{x:n,y:r,...t}:null}function Ta(e,t,n=!0){if(e.positionFixed||e.positionAbsolute)return null;let r=t===1||t===2;if(!Sa(e)||r)return wa(e);let i=Ea(e),a=Da(t),o=a?{sizing:a,positioning:a,viewport:null}:null;return Sb.toRect(i,o,null,n,null)}function Ea(e){let{left:t,right:n,top:r,bottom:i,center:a,_constraints:o,size:s}=e,{width:c,height:l}=e;c===void 0&&(c=s),l===void 0&&(l=s);let{aspectRatio:u,autoSize:d}=o,f=xb.quickfix({left:G(t),right:G(n),top:G(r),bottom:G(i),widthType:ma(c),heightType:ma(l),aspectRatio:u||null,fixedSize:d===!0}),p=null,m=null,h=0,g=0;if(f.widthType!==0&&typeof c==`string`){let e=parseFloat(c);c.endsWith(`fr`)?(h=3,p=e):c===`auto`?h=2:(h=1,p=e/100)}else c!==void 0&&typeof c!=`string`&&(p=c);if(f.heightType!==0&&typeof l==`string`){let e=parseFloat(l);l.endsWith(`fr`)?(g=3,m=e):l===`auto`?g=2:(g=1,m=parseFloat(l)/100)}else l!==void 0&&typeof l!=`string`&&(m=l);let _=.5,v=.5;return(a===!0||a===`x`)&&(f.left=!1,typeof t==`string`&&(_=parseFloat(t)/100)),(a===!0||a===`y`)&&(f.top=!1,typeof r==`string`&&(v=parseFloat(r)/100)),{left:f.left?t:null,right:f.right?n:null,top:f.top?r:null,bottom:f.bottom?i:null,widthType:h,heightType:g,width:p,height:m,aspectRatio:f.aspectRatio||null,centerAnchorX:_,centerAnchorY:v,minHeight:e.minHeight,maxHeight:e.maxHeight,minWidth:e.minWidth,maxWidth:e.maxWidth}}function Da(e){return e===0||e===1||e===2?null:e}function Oa(){return M.useContext(Tb).parentSize}function ka(e){return typeof e==`object`}function Aa(e){return ka(e)?e.width:e}function ja(e){return ka(e)?e.height:e}function Ma(e,t){return _(Eb,{parentSize:t,children:e})}function Na(e){return Ta(e,Oa(),!0)}function Pa({width:e,height:t}){return e===`auto`||e===`min-content`||t===`auto`||t===`min-content`}function Fa(){return d===void 0?void 0:d}function Ia(){let e=Fa();return e?Ob.test(e.platform):!1}function La(){let e=Fa();return e?kb.test(e.platform)?!0:Ab.test(e.platform)&&e.maxTouchPoints!=null&&e.maxTouchPoints>2:!1}function Ra(){return Ia()||La()}function za(){let e=Fa();return e?jb.test(e.userAgent):!1}function Ba(){let e=Fa();return e?Mb.test(e.userAgent)&&Nb.test(e.vendor)&&!za():!1}function Va(){let e=Fa();return e?Pb.test(e.userAgent)&&Fb.test(e.vendor):!1}function Ha(){let e=Fa();return e?Ib.test(e.userAgent):!1}function Ua(){return typeof document==`object`}function Wa(){let e=Fa();return e?Lb.test(e.userAgent):!1}function Ga(){return!1}function Ka(){let e=Fa();return e&&Rb.test(e.userAgent)?`tablet`:e&&zb.test(e.userAgent)?`phone`:`desktop`}function qa(){return Ka()===`desktop`}function Ja(e){return Ra()?e.metaKey:e.ctrlKey}function Ya(e,t,n=Vb){if(!(!e||n.has(e)||typeof document>`u`)){if(n.add(e),!t){if(!Hb){let e=document.createElement(`style`);if(e.setAttribute(`type`,`text/css`),e.setAttribute(`data-maas-css`,`true`),!document.head){console.warn(`not injecting CSS: the document is missing a element`);return}if(document.head.appendChild(e),e.sheet)Hb=e.sheet;else{console.warn(`not injecting CSS: injected