import{t as e}from"./rolldown-runtime.BRwTesTf.mjs";import{A as t,C as n,D as r,E as i,F as a,I as o,L as s,M as c,N as l,O as u,P 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 ee,j as S,k as C,l as te,m as ne,o as w,p as re,s as ie,v as T,x as ae,y as E}from"./react.BIkpaFzZ.mjs";import{A as oe,B as se,C as ce,D as le,E as ue,F as de,H as fe,I as pe,L as me,M as he,N as ge,O as _e,P as D,R as O,S as ve,T as ye,U as be,V as k,W as xe,_ as Se,a as Ce,b as we,c as Te,d as Ee,f as De,g as Oe,h as ke,i as Ae,j as je,k as Me,l as Ne,m as Pe,n as Fe,o as Ie,p as Le,r as Re,s as ze,u as Be,v as Ve,w as He,x as Ue,y as We,z as Ge}from"./motion.LudVDGIi.mjs";function Ke(e){return typeof e==`function`}function qe(e){return typeof e==`boolean`}function A(e){return typeof e==`string`}function Je(e){return Number.isFinite(e)}function Ye(e){return Array.isArray(e)}function j(e){return typeof e==`object`&&!!e&&!Ye(e)}function Xe(e){for(let t in e)return!1;return!0}function Ze(e){return e===void 0}function Qe(e){return e===null}function $e(e){return e==null}function et(e){return e instanceof Date&&!Number.isNaN(e.getTime())}function tt(e){return j(e)&&Ke(e.return)}function nt(e){return j(e)&&Ke(e.then)}function rt(e){return e instanceof Promise}function it(e){return`url('${at(e)}')`}function at(e){return`data:image/svg+xml,${e.replaceAll(`#`,`%23`).replaceAll(`'`,`%27`).replaceAll(`"`,`%22`)}`}function ot(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(!cd)return;let e=document.querySelectorAll(`[rel="modulepreload"][data-framer-lazy]`);for(let t of e){let e=t.getAttribute(`data-framer-lazy`),n=t.getAttribute(`href`);if(!e||!n)continue;let r=import(n).then(t=>(hd.set(e,t),t)).catch(t=>{throw hd.delete(e),console.warn(`Failed to import lazy module: ${n}`,t),t});r.catch(sd),hd.set(e,r)}}function ct(e){return typeof e==`object`&&!!e&&!y(e)&&_d in e}function lt(e,t){if(t in e)return e[t];throw Error(`Module does not contain export '${t}'`)}function ut(e,t=`default`,n){let r,i,a,o=()=>{if(i||!n||!hd.has(n))return;let e=hd.get(n);rt(e)?s(()=>e):i=lt(e,t)},s=e=>i?Promise.resolve(i):(r||=e().then(e=>{let n=lt(e,t);return i=n,n}).catch(e=>{a=e}),r),c=!1,l=x(function(t,r){if(S(()=>{c=!0},[]),a)throw a;if(o(),n!==void 0&&gd!==void 0&&gd.add(n),!i)throw s(e);return _(i,{ref:r,...t})});return l.preload=()=>(o(),s(e)),l.getStatus=()=>({hasLoaded:i!==void 0,hasRendered:c}),l}function dt(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function ft(e){return e===null||!(yd in e)?!1:typeof e.equals==`function`}function pt(e,t){return e===t?!0:e!==e&&t!==t}function mt(e,t){let n=e.length;if(n!==t.length)return!1;for(let r=n;r--!==0;)if(!pt(e[r],t[r]))return!1;return!0}function ht(e,t){let n=e.length;if(n!==t.length)return!1;for(let r=n;r--!==0;)if(!xt(e[r],t[r],!0))return!1;return!0}function gt(e,t){if(e.size!==t.size)return!1;for(let[n,r]of e.entries())if(!pt(r,t.get(n)))return!1;return!0}function _t(e,t){if(e.size!==t.size)return!1;for(let[n,r]of e.entries())if(!xt(r,t.get(n),!0))return!1;return!0}function vt(e,t){if(e.size!==t.size)return!1;for(let n of e.keys())if(!t.has(n))return!1;return!0}function yt(e,t){let n=vd(e);if(n.length!==vd(t).length)return!1;for(let r of n)if(!dt(t,r)||!(r===`_owner`&&dt(e,`$$typeof`)&&e.$$typeof)&&!pt(e[r],t[r]))return!1;return!0}function bt(e,t){let n=vd(e);if(n.length!==vd(t).length)return!1;for(let r of n)if(!dt(t,r)||!(r===`_owner`&&dt(e,`$$typeof`)&&e.$$typeof)&&!xt(e[r],t[r],!0))return!1;return!0}function xt(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?ht(e,t):mt(e,t);if(i!==a)return!1;let o=e instanceof Map,s=t instanceof Map;if(o&&s)return n?_t(e,t):gt(e,t);if(o!==s)return!1;let c=e instanceof Set,l=t instanceof Set;if(c&&l)return vt(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?ft(e)&&ft(t)?e.equals(t):n?bt(e,t):yt(e,t):!1}function St(e,t,n=!0){try{return xt(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 Ct(e){return E.useCallback(t=>e[t],[e])}function wt({api:e,children:t}){return _(bd.Provider,{value:e,children:t})}function Tt(){return E.useContext(bd)}function Et({routes:e,children:t}){let n=Ct(e),r=C(()=>({getRoute:n}),[n]);return _(bd.Provider,{value:r,children:t})}function Dt(){let e=Tt(),t=u(xd),n=t?.routeId??e.currentRouteId,r=t?.routeId?t.pathVariables:e.currentPathVariables,i=n?e.getRoute?.(n):void 0;return C(()=>{if(!(!n||!i))return{...i,id:n,pathVariables:r}},[n,r,i])}function Ot(e,t){if(t&&e)return e.elements&&t in e.elements?e.elements[t]:t}function kt(e){let t=[`pointerdown`,`pointerup`,`keydown`,`keyup`],n=e=>{let n=e.type;t.includes(n)&&performance.mark(`framer-navigation-input`,{detail:{type:n}})};for(let r=0;r{for(let e=0;e0?`: `+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 N(e,t){throw t instanceof Error?t:t===void 0?Error(e?`Unexpected value: ${e}`:`Application entered invalid state`):Error(String(t))}function At(e){return e===null||typeof e!=`object`&&typeof e!=`function`}function jt(e){let t=Object.getPrototypeOf(e);return t===Object.prototype||t===null||Object.getPrototypeOf(t)===null||Object.getOwnPropertyNames(t).sort().join(`\0`)===zd}function Mt(e){return Object.prototype.toString.call(e).slice(8,-1)}function Nt(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 Pt(e){let t=``,n=0,r=e.length;for(let i=0;iObject.getOwnPropertyDescriptor(e,t).enumerable)}function It(e){return Bd.test(e)?`.`+e:`[`+JSON.stringify(e)+`]`}function Lt(e){return!(!Number.isInteger(e)||e<0||e>Ld)}function Rt(e){return!(!Number.isInteger(e)||e<0||e>Id)}function zt(e){if(e.length===0||e.length>1&&e.charCodeAt(0)===48)return!1;for(let t=0;t57)return!1}return Lt(+e)}function Bt(e){let t=Object.keys(e);for(var n=t.length-1;n>=0&&!zt(t[n]);n--);return t.length=n+1,t}function Vt(e){return new Uint8Array(e).toBase64()}function Ht(e){return Uint8Array.fromBase64(e).buffer}function Ut(e){return Buffer.from(e).toString(`base64`)}function Wt(e){return Uint8Array.from(Buffer.from(e,`base64`)).buffer}function Gt(e){let t=new Uint8Array(e),n=``,r=32768;for(let e=0;e=t)throw Error(`Invalid input`);n[r]=a(s[e+1])}n.length=t}else{let t=Array(s.length);r[e]=t;for(let e=0;e{let t=c(e,l);t<0&&(r[l]=t)})}else{let e=Mt(n);switch(e){case`Number`:case`String`:case`Boolean`:case`BigInt`:u=`["Object",${c(n.valueOf())}]`;break;case`Date`:u=`["Date","${isNaN(n.getDate())?``:n.toISOString()}"]`;break;case`URL`:u=`["URL",${Pt(n.toString())}]`;break;case`URLSearchParams`:u=`["URLSearchParams",${Pt(n.toString())}]`;break;case`RegExp`:let{source:r,flags:i}=n;u=i?`["RegExp",${Pt(r)},"${i}"]`:`["RegExp",${Pt(r)}]`;break;case`Array`:{let e=!1;u=`[`;for(let t=0;t0&&(u+=`,`),Object.hasOwn(n,t))o.push(`[${t}]`),u+=c(n[t]),o.pop();else if(e)u+=Ad;else{let t=Bt(n),r=t.length,i=String(n.length).length;if((n.length-r)*3>4+i+r*(i+1)){u=`[`+Fd+`,`+n.length;for(let e=0;e0)throw new Rd(`Cannot stringify POJOs with symbolic keys`,o,n,t);if(Object.getPrototypeOf(n)===null){u=`["null"`;for(let e of Object.keys(n)){if(e===`__proto__`)throw new Rd(`Cannot stringify objects with __proto__ keys`,o,n,t);o.push(It(e)),u+=`,${Pt(e)},${c(n[e])}`,o.pop()}u+=`]`}else{u=`{`;let e=!1;for(let r of Object.keys(n)){if(r===`__proto__`)throw new Rd(`Cannot stringify objects with __proto__ keys`,o,n,t);e&&(u+=`,`),e=!0,o.push(It(r)),u+=`${Pt(r)}:${c(n[r])}`,o.pop()}u+=`}`}}}return r[l]=u,l}let l=c(t);return l<0?`${l}`:r}function Zt(e){let t=typeof e;return t===`string`?Pt(e):e===void 0?kd.toString():e===0&&1/e<0?Pd.toString():t===`bigint`?`["BigInt","${e}"]`:String(e)}function Qt(e,t,n=`lazy`){switch(z.__framer_events?.push([e,t,n]),e){case`published_site_click`:{let{trackingId:e,href:n}=t;e&&document.dispatchEvent(new CustomEvent(`framer:click`,{detail:{trackingId:e,href:n}}));break}case`published_site_form_submit`:{let{trackingId:e}=t;e&&document.dispatchEvent(new CustomEvent(`framer:formsubmit`,{detail:{trackingId:e}}));break}case`published_site_pageview`:{let{framerLocale:e}=t;document.dispatchEvent(new CustomEvent(`framer:pageview`,{detail:{framerLocale:e}}));break}case`published_site_trigger_invoke`:{let{trackingId:e}=t;e&&document.dispatchEvent(new CustomEvent(`framer:triggerinvoke`,{detail:{trackingId:e}}));break}}}function $t(e){return A(e)&&(e===``||Kd.test(e))}function en(){return{[qd.QueryCache]:new Map,[qd.CollectionUtilsCache]:new Map}}function tn(){if(!cd)return;if(Jd!==void 0)return Jd;let e=document.getElementById(`__framer__handoverData`);if(e){try{Jd=qt(e.text)??en()}catch(e){Jd=en(),console.warn(`Failed to parse handover data. Falling back to network.`,e)}return dd(()=>{e?.remove(),e=null}),Jd}}function nn(e,t){let n=tn();return n?n[e].has(t):!1}function rn(e,t){let n=tn();if(!n)return;let r=n[e];if(!r.has(t))return;let i=r.get(t);return r.delete(t),i}function an(e){return e?.id??Ed}function on(e,t,n,r){return`${e}|${t}|${n}|${r}`}function sn(e){return t=>{if(!e)return;let n=e[t];if(!n)return;if(Qd.has(n))return Qd.get(n);let r=new ef(n,t);return Qd.set(n,r),r}}function cn({children:e,collectionUtils:t}){let n=C(()=>({get:sn(t)}),[t]);return _($d.Provider,{value:n,children:e})}function ln(){return u($d)}function un(e){return`scheduler`in e}function dn(){for(let e of af)e();af.clear()}function fn(e){return new Promise(t=>{if(af.add(t),document.hidden){dn();return}document.addEventListener(`visibilitychange`,dn),document.addEventListener(`pagehide`,dn),Pe.read(()=>{mn(e).then(()=>{af.delete(t),!e?.signal?.aborted&&t()})})})}function pn(e){return new Promise(t=>{setTimeout(t,100),Pe.read(()=>{mn(e).then(t)},!1,!0)})}function mn(e){let t=e?.priority;return nf||rf?t===`background`?new Promise(e=>{setTimeout(e,1)}):nf?tf.yield(e).catch(sd):tf.postTask(()=>{},e).catch(sd):t===`user-blocking`?Promise.resolve():new Promise(e=>{setTimeout(e,t===`background`?1:0)})}function hn(e){let{continueAfter:t,ensureContinueBeforeUnload:n,...r}=e??{};return n?fn(r):t===`paint`?pn(r):mn(r)}function gn(e,t){if(!e.startsWith(`/`)||!t.startsWith(`/`))throw Error(`from/to paths are expected to be absolute`);let[n]=_n(e),[r,i]=_n(t),a=vn(n,r);return a===``&&(a=`.`),!a.startsWith(`.`)&&!a.startsWith(`/`)&&(a=`./`+a),a+`/`+i}function _n(e){let t=e.lastIndexOf(`/`);return[e.substring(0,t+1),e.substring(t+1)]}function vn(e,t){if(e===t||(e=`/`+yn(e),t=`/`+yn(t),e===t))return``;let n=e.length,r=n-1,i=t.length-1,a=ra){if(cf(t,1+s)===sf)return uf(t,1+s+1);if(s===0)return uf(t,1+s)}else r>a&&(cf(e,1+s)===sf?o=s:s===0&&(o=0));let c=``;for(s=1+o+1;s<=n;++s)(s===n||cf(e,s)===sf)&&(c+=c.length===0?`..`:`/..`);return`${c}${uf(t,1+o)}`}function yn(e){let t=``,n=0,r=-1,i=0,a=0;for(let o=0;o<=e.length;++o){if(o2){let e=lf(t,ff);e===-1?(t=``,n=0):(t=uf(t,0,e),n=t.length-1-lf(t,ff)),r=o,i=0;continue}else if(t.length!==0){t=``,n=0,r=o,i=0;continue}}df&&(t+=t.length>0?`${ff}..`:`..`,n=2)}else t.length>0?t+=`${ff}${uf(e,r+1,o)}`:t=uf(e,r+1,o),n=o-r-1;r=o,i=0}else a===of&&i!==-1?++i:i=-1}return t}function bn(e,t){return e.replace(hf,(e,n)=>{let r=t[n];return typeof r!=`string`||r.length===0?e:encodeURIComponent(r)})}function xn(e,t=!1){let n=``;if(s!==void 0)if(t)n=s.location.search;else{let e=s.history?.state?.queryParamBackAnchorSearch;n=e===void 0?s.location.search:e===``?``:`?${e}`}return n?Sn(n,e):e}function Sn(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!==gf&&c.append(e,t);let u=c.toString();return u===``?r+i:o+`?`+u+i}async function Cn(e,t,n,r,i,a,o){let s=e,c=!1,l={...a},u=Array.from(s.matchAll(hf)),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||!A(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=rt(p)?await p:p;if(!m)return d;let h=f.getSlugByRecordId(m,n),g=rt(h)?await h:h;if(!g){c=!0;let e=f.getSlugByRecordId(m,r),t=rt(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{Pe.render(()=>{performance.mark(`framer-vt-remove`);let e=document.getElementById(Cf);e&&document.head.removeChild(e)})})}function zn(){return!!document.startViewTransition}function Bn(e){return new Promise(t=>{Pe.render(()=>{performance.mark(`framer-vt-style`),Ln(e),t()})})}async function Vn(e,t,n){if(!zn()){e();return}if(await Bn(t),n?.aborted)return;performance.mark(`framer-vt`);let r=document.startViewTransition(async()=>{performance.mark(`framer-vt-freeze`),!n?.aborted&&(n?.addEventListener(`abort`,()=>r.skipTransition()),await e())});return r.updateCallbackDone.then(()=>{performance.mark(`framer-vt-unfreeze`)}).catch(Tf),Promise.all([r.ready,r.finished]).then(()=>{performance.mark(`framer-vt-finished`),Rn()}).catch(Tf),r}function Hn(){let e=Dn(),n=i(void 0);return S(()=>{n.current&&=(n.current(),void 0)}),t((t,r,i,a)=>{let o=On(t,r,e);if(o){let e=new Promise(e=>{n.current=e});return Vn(async()=>{i(),await e},o,a)}i()},[e])}function Un(e,t){dd(()=>{let n=document.querySelector(`link[rel='canonical']`);if(!n)return;let r=new URL(e,t);r.search=``,n.setAttribute(`href`,r.toString())})}function Wn(e,t,n,r=g){r(()=>{let t=async e=>(await hn({...n,continueAfter:`paint`}),e()),r=t(e);return()=>{(async()=>{let e=await r;e&&t(e)})()}},t)}function Gn(e){let n=i(void 0);return Wn(()=>{n.current&&=(n.current(),void 0)},void 0,{priority:`user-blocking`}),t(t=>{let r=new Promise(e=>{n.current=e});if(!e)return{promise:r,measureDetail:t,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:t}))}).catch(e=>{console.error(e)}),{promise:r,measureDetail:t,ignore:()=>{o=!0,n.current?.(),n.current=void 0}}},[e])}async function Kn(e,t,{currentRoutePath:n,currentRoutePathLocalized:r,currentPathVariables:i,hash:a,pathVariables:o,localeId:c,preserveQueryParams:l,siteCanonicalURL:u},d=!1){let{path:f}=t;if(!f)return;let p=$n(t,{currentRoutePath:n,currentRoutePathLocalized:r,currentPathVariables:i,hash:a,pathVariables:o,preserveQueryParams:l,siteCanonicalURL:u,localeId:c}),m=n!==void 0&&n===f,h=qn(s.history.state)?s.history.state:void 0,g=m?h?.queryParamBackAnchorSearch:void 0;try{return await Yn({routeId:e,hash:a,pathVariables:o,localeId:c,queryParamBackAnchorSearch:g},p,d)}catch{}}function qn(e){return j(e)&&A(e.routeId)}function Jn(e,t,n=!1){performance.mark(`framer-history-replace`),t&&Un(t,s.location.href),(n?s.history.__proto__.replaceState:s.history.replaceState).call(s.history,e,``,t)}async function Yn(e,t,n=!1){if(performance.mark(`framer-history-push`),Un(t,s.location.href),!n){s.history.pushState(e,``,t);return}let r=!1,i;Of&&(i=()=>{if(r=!0,kf)return;let e=`Popstate called after intercept(). Please report this to the Framer team.`;console.error(e),Qt(`published_site_load_recoverable_error`,{message:e})},s.addEventListener(`popstate`,i,{once:!0})),kf&&Of?s.history.__proto__.pushState.call(s.history,e,``,t):s.history.pushState(e,``,t),Of&&queueMicrotask(()=>{r||(Of=!1,s.removeEventListener(`popstate`,i))})}function Xn({disabled:e,routeId:t,initialPathVariables:n,initialLocaleId:r}){g(()=>{if(e)return;performance.mark(`framer-history-set-initial-state`);let i=j(s.history.state)?s.history.state:{},a=s.location.hash?s.location.hash.slice(1):void 0;Jn({...i,routeId:t,hash:a,pathVariables:n,localeId:r},void 0,!0)},[])}function Zn(e,n){let r=Hn(),a=Gn(`framer-route-change`),o=i(void 0),c=t(async({state:t})=>{if(s.navigation?.transition&&s.navigation?.transition?.navigationType!==`traverse`||!j(t))return;let{routeId:i,hash:c,pathVariables:l,localeId:u}=t;if(!A(i))return;let d=a({popstate:!0}),f=kt();d.promise.finally(f);let p=await r(e.current,i,()=>{n(i,A(u)?u:void 0,A(c)?c:void 0,s.location.pathname+s.location.search+s.location.hash,j(l)?l:void 0,!0,d,!1)}),m=s.navigation?.transition;await(p?.updateCallbackDone??Promise.resolve()).then(o.current?.resolve).catch(o.current?.reject),await d.promise;try{await m?.finished}catch(e){console.warn(`Popstate transition failed`,e)}Df(),Un(s.location.href)},[e,a,n,r]),l=t(e=>{e.navigationType!==`traverse`||!e.canIntercept||e.intercept({async handler(){await new Promise((e,t)=>{o.current={resolve:e,reject:t}}),o.current=void 0},scroll:`after-transition`})},[]);S(()=>(s.addEventListener(`popstate`,c),Af&&s.navigation.addEventListener(`navigate`,l),()=>{s.removeEventListener(`popstate`,c),Af&&s.navigation.removeEventListener(`navigate`,l)}),[c,l])}function Qn(e,t,n){let r=Ot(t,e);if(!r)return;let i=Object.assign({},t?.elements,n);return r.replace(hf,(e,t)=>i[t]??e)}function $n(e,{currentRoutePath:t,currentRoutePathLocalized:n,currentPathVariables:r,hash:i,pathVariables:a,hashVariables:o,relative:c=!0,preserveQueryParams:l,onlyHash:u=!1,siteCanonicalURL:d,localeId:f}){let p=Qn(i,e,o);if(u)return p??``;let m=t??`/`;n&&f&&(m=n[f]??m),r&&(m=m.replace(hf,(e,t)=>String(r[t]||e)));let h=(f?e?.pathLocalized?.[f]:void 0)??e?.path??`/`;a&&(h=h.replace(hf,(e,t)=>String(a[t]||e)));let g=!!(m===h&&p),_=!g&&a!==void 0&&t!==void 0&&e?.path!==void 0&&t===e.path&&m!==h;if(c)if(mf.has(m)&&s!==void 0){let e=Tn(d);h=gn(s.location.pathname,e+h)}else h=gn(m,h);let v=g||_;return(l||v)&&(h=xn(h,v)),p&&(h=`${h}#${p}`),h}async function er(e,t,n){if(!e.path||!t)return!1;let r=`${n.slug?`/${n.slug}`:``}${bn(e.path,t)}`;return(await fetch(r,{method:`HEAD`,redirect:`manual`})).type===`opaqueredirect`?(s.location.href=s.location.origin+r,!0):!1}function tr(){let e=ln();return t(t=>nr({...t,collectionUtils:e}),[e])}async function nr(e){let t=await wn(e);if(t){try{localStorage.preferredLocale=e.nextLocale.code}catch{}try{if(!A(t.path))throw Error(`Expected result.path to be a string`);if(t.isMissingInLocale&&await er(e.route,t.pathVariables,e.nextLocale))return}catch{}return t}}function rr(){let e=i(Promise.resolve()),n=i(),r=t(t=>{if(t.navigationType===`traverse`||!t.canIntercept)return;let r=n.current;r?.signal.addEventListener(`abort`,()=>{r.abort(`user aborted`)}),t.intercept({handler:()=>e.current})},[]);return t((t,i,a)=>{if(!Af){i();return}e.current=t,n.current=a,s.navigation.addEventListener(`navigate`,r),i(!0),t.finally(()=>{s.navigation.removeEventListener(`navigate`,r)})},[r])}function ir({children:e,value:t}){return _(Mf.Provider,{value:t,children:e})}function ar(){return u(Mf)}function or(e,t){let n=l(()=>({inputs:t,result:e()}))[0],r=i(!0),a=i(n),o=r.current||t&&a.current.inputs&&St(t,a.current.inputs,!1)?a.current:{inputs:t,result:e()};return S(()=>{r.current=!1,a.current=o},[o]),o.result}function sr(e,t){return or(()=>e,t)}function cr(){return E.useContext(Ff)}function lr(){return s.location.search}function ur(){return``}function dr(e){return Lf.add(e),s.addEventListener(`popstate`,e),()=>{Lf.delete(e),s.removeEventListener(`popstate`,e)}}function fr(){for(let e of Lf)e()}function pr({children:e}){let n=ar()===`preview`,[r,i]=l(``),a=p(T(dr,lr,ur));Tt();let o=n?r:a,c=t(async e=>{if(n){b(()=>{i(t=>e(new URLSearchParams(t)).toString())});return}await hn({continueAfter:`paint`});let t=s.history.state,r=new URL(s.location.href),a=e(r.searchParams).toString();r.search=a;let o=t?.queryParamBackAnchorSearch,c=s.location.search.slice(1),l=o===void 0&&a!==c,u=o!==void 0&&a===o,d={...t,queryParamBackAnchorSearch:u?void 0:o??(l?c:void 0)},f=r.toString();l||u?await Yn(d,f):Jn(d,f),fr()},[n]),u=or(()=>({urlSearchParams:new URLSearchParams(o),replaceSearchParams:c}),[o,c]);return _(Rf.Provider,{value:u,children:e})}function mr(e){return zf in e&&e[zf]===1}function hr(){if(!Bf)return;Hf=!0,performance.mark(`framer-react-event-handling-start`);let e={capture:!0},t=document.body;Bf.forEach(n=>t.addEventListener(n,Vf,e))}function gr(){return S(()=>{if(!Hf||!Bf)return;let e={capture:!0},t=document.body;Bf.forEach(n=>t.removeEventListener(n,Vf,e)),Bf=void 0,performance.mark(`framer-react-event-handling-end`)},[]),null}function _r(e){let t=!1;return function(...n){if(!t)return t=!0,e.apply(this,n)}}function vr(e,t,n){try{performance.measure(e,t,n)}catch(t){console.warn(`Could not measure ${e}`,t)}}function yr(){H=new V,H.render.markStart()}function br(){ae(()=>{H?.useInsertionEffects.markRouterStart()},[]),g(()=>{H?.useLayoutEffects.markRouterStart()},[]),S(()=>{H?.useEffects.markRouterStart()},[])}function xr(){ae(()=>{H?.render.markEnd(),H?.useInsertionEffects.markStart()},[]),g(()=>{if(H?.useLayoutEffects.markStart(),document.visibilityState!==`visible`){op=!0;return}Pe.read(()=>{H?.browserRendering.requestAnimationFrame.markStart(),H?.unattributedHydrationOverhead.measure()})},[]),S(()=>{H?.useEffects.markStart(),H?.browserRendering.hasStarted||(H?.mutationEffects.measure(),H?.useEffects.markAreSynchronous())},[])}function Sr(){ae(()=>{H?.useInsertionEffects.markEnd()},[]),g(()=>{H?.useLayoutEffects.markEnd(),!(op||document.visibilityState!==`visible`)&&Pe.read(()=>{H?.browserRendering.requestAnimationFrame.markEnd(),hn().then(()=>{H?.browserRendering.layoutStylePaint.markEnd()})})},[]),S(()=>{H?.useEffects.markEnd()},[])}function Cr(){return xr(),null}function wr(){return Sr(),null}function Tr(e,t){let n={style:t,"data-framer-root":``};return E.isValidElement(e)?E.cloneElement(e,n):_(e,{...n})}function Er(){return up}function Dr(e){if(dp?.lastRoutes!==e){let t={},n={},r=[],i={},a=e;for(let r in e){let i=e[r];M(i,`route must be defined`);let{path:a,pathLocalized:o}=i;if(a&&(t[a]={path:a,depth:Ar(a),routeId:r},o))for(let e in o){let t=o[e];M(t,`localizedPath must be defined`);let i=Ar(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}dp={pathRoutes:t,pathRoutesLocalized:n,paths:r,pathsLocalized:i,lastRoutes:a}}return{pathRoutes:dp.pathRoutes,paths:dp.paths,pathRoutesLocalized:dp.pathRoutesLocalized,pathsLocalized:dp.pathsLocalized}}function Or(e,t,n=!0,r=Er()){return kr(e,t,r,n)}function kr(e,t,n,r=!0){let{pathRoutes:i,paths:a,pathRoutesLocalized:o,pathsLocalized:s}=Dr(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=jr(t,n.path);if(e.isMatch)return{routeId:n.routeId,localeId:l,pathVariables:e.pathVariables}}}let d=i[t];if(d){let e=jr(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=jr(t,n);if(e.isMatch)return{routeId:r,localeId:l,pathVariables:e.pathVariables}}}for(let{path:e,routeId:n}of a){let r=jr(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 Ar(e){let t=e.replace(/^\/|\/$/gu,``);return t===``?0:t.split(`/`).length}function jr(e,t){let n=[],r=Mr(t).replace(hf,(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 Pr(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 Fr(e,t){for(let[n,r]of t)Pr(e,n,r)}function Ir(e){for(let t in e)e[t]?.abTestingParentId&&delete e[t]}function Lr(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 Rr(e,t){if(s===void 0)return t;let n=t;if(t){Lr(e,t);let r=e[t]?.abTestingParentId;r&&(n=r)}return Fr(e,Nr()),Ir(e),n}function zr(e){S(()=>{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]),ae(()=>{document.title=e.title||``,e.viewport&&document.querySelector(`meta[name="viewport"]`)?.setAttribute(`content`,e.viewport)},[e.title,e.viewport])}function Br(e,...t){fp.has(e)||(fp.add(e),console.warn(e,...t))}function Vr(e,t,n){Br(`Deprecation warning: ${e} will be removed in version ${t}${n?`, use ${n} instead`:``}.`)}function Hr(e){return typeof e==`object`&&!!e&&hp in e&&e[hp]instanceof Function&&gp in e&&e[gp]instanceof Function}function Ur(e,t){return{interpolate(e,n){let r=e.get(),i=n.get(),a=mp(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 Wr(e,t){let n=10**Math.round(Math.abs(t));return Math.round(e*n)/n}function Gr(e,t){return t===0?Math.round(e):(t-=t|0,t<0&&(t=1-t),Math.round(e-t)+t)}function Kr(e){return Math.round(e*2)/2}function qr(e,t){return{x:e,y:t}}function Jr(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=ci(e,360),t=ci(t*100,100),n=ci(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=ii(s,o,e+1/3),i=ii(s,o,e),a=ii(s,o,e-1/3)}return{r:r*255,g:i*255,b:a*255}}function oi(e,t,n){e=ci(e,255),t=ci(t,255),n=ci(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 yi({r:e,g:t,b:n,a:r}){return{r:vi(e),g:vi(t),b:vi(n),a:r}}function bi({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 ji(){return z.location.origin===`https://screenshot.framer.invalid`}function Mi({children:e}){if(u(zp).top)return _(ie,{children:e});let n=i({byId:{},byName:{},byLastId:{},byPossibleId:{},byLastName:{},byLayoutId:{},count:{byId:{},byName:{}}}),r=i({byId:{},byName:{},byLastId:{},byPossibleId:{},byLastName:{},byLayoutId:{}}),a=i(new Set).current,o=i({getLayoutId:t(({id:e,name:t,duplicatedFrom:i})=>{if(!e)return null;let o=t?`byName`:`byId`,s=n.current[o][e];if(s)return s;let c=t||e;if(!i&&!a.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),a.add(c),c;let l;if(i?.length)for(let s=i.length-1;s>=0;s--){let c=i[s];M(!!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&&!a.has(d)&&(!t||r)&&(l=[d,c])}let f=u?n.current.byLayoutId[u]:void 0,p=!f||f===t;if(u&&!a.has(u)&&(!t||p))return r.current[o][e]=u,r.current.byLastId[c]=u,a.add(u),u}let u=n.current.byLastId[e];if(u&&!a.has(u))return a.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,a.add(t),t}let d=n.current.byPossibleId[e];if(d&&!a.has(d))return a.add(d),r.current.byId[e]=d,d;let f=i?.[0],p=t||f||e,{layoutId:m,value:h}=Ni(p,(n.current.count[o][p]??-1)+1,a);if(n.current.count[o][p]=h,r.current[o][e]=m,i?.length&&!t){let e=i[i.length-1];if(e&&(r.current.byLastId[e]=m),i.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:{}},a.clear()},[]),top:!0,enabled:!0}).current;return _(zp.Provider,{value:o,children:e})}function Ni(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 Pi({enabled:e=!0,...t}){let n=u(zp),r=C(()=>({...n,enabled:e}),[e]);return _(zp.Provider,{...t,value:r})}function Fi(e){let t=i(null);return t.current===null&&(t.current=e()),t.current}function Ii(e){let{error:t,file:n}=e,r=n?`Error in ${Li(n)}`:`Error`,i=t instanceof Error?t.message:``+t;return te(`div`,{style:Vp,children:[_(`div`,{className:`text`,style:Up,children:r}),i&&_(`div`,{className:`text`,style:Wp,children:i})]})}function Li(e){return e.startsWith(`./`)?e.replace(`./`,``):e}function P(e){return Number.isFinite(e)}function Ri(e){return!e||!Object.keys(e).length&&e.constructor===Object}function zi(e){return typeof e!=`string`&&typeof e!=`number`}function Bi(e){return e!=null&&typeof e!=`boolean`&&!Ri(e)}function Vi(e){return e*(Math.PI/180)}function Hi(e){return Ze(e)?!1:e===2||e===5}function Ui(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 Wi(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 Gi(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 Gi(e){switch(e){case`minWidth`:case`minHeight`:return-1/0;case`maxWidth`:case`maxHeight`:return 1/0;default:N(e,`unknown constraint key`)}}function Ki(e,t,n,r){return t.minHeight&&(e=Math.max(Wi(`minHeight`,t.minHeight,n,r),e)),t.maxHeight&&(e=Math.min(Wi(`maxHeight`,t.maxHeight,n,r),e)),e}function qi(e,t,n,r){return t.minWidth&&(e=Math.max(Wi(`minWidth`,t.minWidth,n,r),e)),t.maxWidth&&(e=Math.min(Wi(`maxWidth`,t.maxWidth,n,r),e)),e}function Ji(e,t,n,r,i){let a=qi(P(e)?e:Yp,n,r,i),o=Ki(P(t)?t:Xp,n,r,i);return P(n.aspectRatio)&&n.aspectRatio>0&&(P(n.left)&&P(n.right)?o=a/n.aspectRatio:P(n.top)&&P(n.bottom)||n.widthType===0?a=o*n.aspectRatio:o=a/n.aspectRatio),{width:a,height:o}}function Yi(e,t){return!P(e)||!P(t)?null:e+t}function Xi(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 Zi(e){return!e._constraints||Xi(e)?!1:e._constraints.enabled}function Qi(e){let{size:t}=e,{width:n,height:r}=e;return P(t)&&(n===void 0&&(n=t),r===void 0&&(r=t)),P(n)&&P(r)?{width:n,height:r}:null}function $i(e){let t=Qi(e);if(t===null)return null;let{left:n,top:r}=e;return P(n)&&P(r)?{x:n,y:r,...t}:null}function ea(e,t,n=!0){if(e.positionFixed||e.positionAbsolute)return null;let r=t===1||t===2;if(!Zi(e)||r)return $i(e);let i=ta(e),a=na(t),o=a?{sizing:a,positioning:a,viewport:null}:null;return Jp.toRect(i,o,null,n,null)}function ta(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=qp.quickfix({left:P(t),right:P(n),top:P(r),bottom:P(i),widthType:Ui(c),heightType:Ui(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 na(e){return e===0||e===1||e===2?null:e}function ra(){return E.useContext(Zp).parentSize}function ia(e){return typeof e==`object`}function aa(e){return ia(e)?e.width:e}function oa(e){return ia(e)?e.height:e}function sa(e,t){return _(Qp,{parentSize:t,children:e})}function ca(e){return ea(e,ra(),!0)}function la({width:e,height:t}){return e===`auto`||e===`min-content`||t===`auto`||t===`min-content`}function ua(){return o===void 0?void 0:o}function da(){let e=ua();return e?em.test(e.userAgent):!1}function fa(){let e=ua();return e?tm.test(e.userAgent)&&nm.test(e.vendor)&&!da():!1}function pa(){let e=ua();return e?rm.test(e.userAgent)&&im.test(e.vendor):!1}function ma(){let e=ua();return e?am.test(e.userAgent):!1}function ha(){return typeof document==`object`}function ga(){let e=ua();return e?om.test(e.userAgent):!1}function _a(){return!1}function va(){let e=ua();return e&&sm.test(e.userAgent)?`tablet`:e&&cm.test(e.userAgent)?`phone`:`desktop`}function ya(){return va()===`desktop`}function ba(e,t,n=um){if(!(!e||n.has(e)||typeof document>`u`)){if(n.add(e),!t){if(!dm){let e=document.createElement(`style`);if(e.setAttribute(`type`,`text/css`),e.setAttribute(`data-framer-css`,`true`),!document.head){console.warn(`not injecting CSS: the document is missing a element`);return}if(document.head.appendChild(e),e.sheet)dm=e.sheet;else{console.warn(`not injecting CSS: injected