import{t as e}from"/assets/animate/rolldown-runtime.Dh6celcD.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,R as f,S 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}from"/assets/animate/react.D20wc1Tc.mjs";import{$ as te,A as ne,B as re,C as N,D as P,E as ie,F as ae,G as oe,H as se,I as ce,J as le,K as ue,L as de,M as fe,N as pe,O as me,P as he,Q as ge,R as F,S as I,T as _e,U as ve,W as ye,X as be,Y as L,Z as xe,_ as Se,a as Ce,at as we,b as Te,c as Ee,ct as De,d as Oe,et as ke,f as Ae,g as je,h as Me,i as Ne,it as Pe,j as Fe,k as Ie,l as Le,lt as Re,m as ze,n as Be,nt as Ve,o as He,ot as Ue,p as We,q as Ge,r as Ke,rt as qe,s as Je,st as Ye,tt as Xe,u as Ze,v as Qe,w as $e,x as et,y as tt,z as nt}from"/assets/animate/motion.BZLBZ-91.mjs";function rt(e){return typeof e==`function`}function it(e){return typeof e==`boolean`}function R(e){return typeof e==`string`}function z(e){return Number.isFinite(e)}function at(e){return Array.isArray(e)}function B(e){return typeof e==`object`&&!!e&&!at(e)}function ot(e){for(let t in e)return!1;return!0}function st(e){return e===void 0}function ct(e){return e===null}function lt(e){return e==null}function ut(e){return e instanceof Date&&!Number.isNaN(e.getTime())}function dt(e){return B(e)&&rt(e.return)}function ft(e){return B(e)&&rt(e.then)}function pt(e){return e instanceof Promise}function mt(e){return`url('${ht(e)}')`}function ht(e){return`data:image/svg+xml,${e.replaceAll(`#`,`%23`).replaceAll(`'`,`%27`).replaceAll(`"`,`%22`)}`}function gt(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 _t(e,t,n){if(T_.has(e))return;let r=Promise.resolve().then(t).then(t=>(T_.set(e,t),t)).catch(t=>{throw T_.delete(e),console.warn(`Failed to preload lazy module from ${n}`,t),t});r.catch(__),T_.set(e,r)}function vt(e,t){v_&&(E_.set(e,t),D_.has(e)&&_t(e,t,`registered loader ${e}`))}function yt(){if(!v_)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=e.startsWith(O_),i=r?e.slice(O_.length):e;if(!i)continue;D_.add(i);let a=E_.get(i);a?_t(i,a,`registered loader ${i}`):r&&_t(i,()=>import(n),n)}}function bt(e){return typeof e==`object`&&!!e&&!y(e)&&A_ in e}function xt(e,t){if(t in e)return e[t];throw Error(`Module does not contain export '${t}'`)}function St(e,t=`default`,n){n&&vt(n,e);let r,i,a,o=()=>{if(i||!n||!T_.has(n))return;let e=T_.get(n);pt(e)?s(()=>e):i=xt(e,t)},s=e=>i?Promise.resolve(i):(r||=e().then(e=>{let n=xt(e,t);return i=n,n}).catch(e=>{a=e}),r),l=!1,u=b(function(t,r){if(c(()=>{l=!0},[]),a)throw a;if(o(),n!==void 0&&k_!==void 0&&k_.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 Ct(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function wt(e){return e===null||!(M_ in e)?!1:typeof e.equals==`function`}function Tt(e,t){return e===t||e!==e&&t!==t}function Et(e,t){let n=e.length;if(n!==t.length)return!1;for(let r=n;r--!==0;)if(!Tt(e[r],t[r]))return!1;return!0}function Dt(e,t){let n=e.length;if(n!==t.length)return!1;for(let r=n;r--!==0;)if(!Nt(e[r],t[r],!0))return!1;return!0}function Ot(e,t){if(e.size!==t.size)return!1;for(let[n,r]of e.entries())if(!Tt(r,t.get(n)))return!1;return!0}function kt(e,t){if(e.size!==t.size)return!1;for(let[n,r]of e.entries())if(!Nt(r,t.get(n),!0))return!1;return!0}function At(e,t){if(e.size!==t.size)return!1;for(let n of e.keys())if(!t.has(n))return!1;return!0}function jt(e,t){let n=j_(e);if(n.length!==j_(t).length)return!1;for(let r of n)if(!Ct(t,r)||!(r===`_owner`&&Ct(e,`$$typeof`)&&e.$$typeof)&&!Tt(e[r],t[r]))return!1;return!0}function Mt(e,t){let n=j_(e);if(n.length!==j_(t).length)return!1;for(let r of n)if(!Ct(t,r)||!(r===`_owner`&&Ct(e,`$$typeof`)&&e.$$typeof)&&!Nt(e[r],t[r],!0))return!1;return!0}function Nt(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?Dt(e,t):Et(e,t);if(i!==a)return!1;let o=e instanceof Map,s=t instanceof Map;if(o&&s)return n?kt(e,t):Ot(e,t);if(o!==s)return!1;let c=e instanceof Set,l=t instanceof Set;if(c&&l)return At(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?wt(e)&&wt(t)?e.equals(t):n?Mt(e,t):jt(e,t):!1}function Pt(e,t,n=!0){try{return Nt(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 Ft(e){return g.useCallback(t=>e[t],[e])}function It({api:e,children:t}){return _(N_.Provider,{value:e,children:t})}function Lt(){return g.useContext(N_)}function Rt({routes:e,children:n}){let r=Ft(e),i=t(()=>({getRoute:r}),[r]);return _(N_.Provider,{value:i,children:n})}function zt(){let e=Lt(),n=w(P_),r=n?.routeId??e.currentRouteId,i=n?.routeId?n.pathVariables:e.currentPathVariables,a=r?e.getRoute?.(r):void 0;return t(()=>{if(!(!r||!a))return{...a,id:r,pathVariables:i}},[r,i,a])}function Bt(){let e=zt();if(e)return`${e.id}-${JSON.stringify(e.pathVariables)}`}function Vt(e){let t=zt(),n=g.useRef(t);Pt(n.current,t)||!t||(n.current=t,e(t))}function Ht(e){let t=Lt();if(e)return t.getRoute?.(e)}function Ut(e,t){if(t&&e)return e.elements&&t in e.elements?e.elements[t]:t}function Wt(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;er?Ut(r,e):e,[e,r])}function Kt(){return zt()?.pathVariables}function V(e,t){if(e)return;if(typeof t==`function`)try{t=t()}catch{t=`(assert message threw)`}typeof t==`string`&&t.length>2048&&(t=t.slice(0,2048)+`…`);let n=Error(t?`Assertion Error: `+t:`Assertion Error`);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 H(e,t){throw t instanceof Error?t:Error(t===void 0?e?`Unexpected value: ${e}`:`Application entered invalid state`:String(t))}function qt(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`)===Y_}function Yt(e){return Object.prototype.toString.call(e).slice(8,-1)}function Xt(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 Zt(e){let t=``,n=0,r=e.length;for(let i=0;iObject.getOwnPropertyDescriptor(e,t).enumerable)}function $t(e){return X_.test(e)?`.`+e:`[`+JSON.stringify(e)+`]`}function en(e){return!(!Number.isInteger(e)||e<0||e>q_)}function tn(e){return!(!Number.isInteger(e)||e<0||e>K_)}function nn(e){if(e.length===0||e.length>1&&e.charCodeAt(0)===48)return!1;for(let t=0;t57)return!1}return en(+e)}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){return new Uint8Array(e).toBase64()}function on(e){return Uint8Array.fromBase64(e).buffer}function sn(e){return Buffer.from(e).toString(`base64`)}function cn(e){return Uint8Array.from(Buffer.from(e,`base64`)).buffer}function ln(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=Yt(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",${Zt(n.toString())}]`;break;case`URLSearchParams`:u=`["URLSearchParams",${Zt(n.toString())}]`;break;case`RegExp`:let{source:r,flags:i}=n;u=i?`["RegExp",${Zt(r)},"${i}"]`:`["RegExp",${Zt(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+=B_;else{let t=rn(n),r=t.length,i=String(n.length).length;if((n.length-r)*3>4+i+r*(i+1)){u=`[`+G_+`,`+n.length;for(let e=0;e0)throw new J_(`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 J_(`Cannot stringify objects with __proto__ keys`,o,n,t);o.push($t(e)),u+=`,${Zt(e)},${c(n[e])}`,o.pop()}u+=`]`}else{u=`{`;let e=!1;for(let r of Object.keys(n)){if(r===`__proto__`)throw new J_(`Cannot stringify objects with __proto__ keys`,o,n,t);e&&(u+=`,`),e=!0,o.push($t(r)),u+=`${Zt(r)}:${c(n[r])}`,o.pop()}u+=`}`}}}return r[l]=u,l}let l=c(t);return l<0?`${l}`:r}function hn(e){let t=typeof e;return t===`string`?Zt(e):e===void 0?z_.toString():e===0&&1/e<0?W_.toString():t===`bigint`?`["BigInt","${e}"]`:String(e)}function gn(e,t,n=`lazy`){switch(tv.__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 _n(e){return R(e)&&(e===``||rv.test(e))}function vn(){return{[iv.QueryCache]:new Map,[iv.CollectionUtilsCache]:new Map}}function yn(){if(!v_)return;if(av!==void 0)return av;let e=document.getElementById(`__framer__handoverData`);if(e){try{av=dn(e.text)??vn()}catch(e){av=vn(),console.warn(`Failed to parse handover data. Falling back to network.`,e)}return x_(()=>{e?.remove(),e=null}),av}}function bn(e,t){if(console.warn(gt(`Failed to resolve raw query result from DOM during hydration for: ${t}. This might make the page load slightly slower.`)),Math.random()<.01){let t=e instanceof Error&&typeof e.stack==`string`?e.stack:null;gn(`published_site_load_error`,{message:String(e),stack:t})}}function xn(e,t){let n=yn();return n?n[e].has(t):!1}function Sn(e,t){let n=yn();if(!n)return;let r=n[e];if(!r.has(t))return;let i=r.get(t);return r.delete(t),i}function Cn(e){return e?.id??I_}function wn(e,t,n,r){return`${e}|${t}|${n}|${r}`}function Tn(e){return t=>{if(!e)return;let n=e[t];if(!n)return;if(lv.has(n))return lv.get(n);let r=new dv(n,t);return lv.set(n,r),r}}function En({children:e,collectionUtils:n}){let r=t(()=>({get:Tn(n)}),[n]);return _(uv.Provider,{value:r,children:e})}function Dn(){return w(uv)}function On(e){return new Promise(t=>{setTimeout(t,e)})}function kn(){return s===void 0?void 0:s}function An(){let e=kn();return e?fv.test(e.platform):!1}function jn(){let e=kn();return e?pv.test(e.platform)?!0:mv.test(e.platform)&&e.maxTouchPoints!=null&&e.maxTouchPoints>2:!1}function Mn(){return An()||jn()}function Nn(){let e=kn();return e?hv.test(e.userAgent):!1}function Pn(){let e=kn();return e?gv.test(e.userAgent)&&_v.test(e.vendor)&&!Nn():!1}function Fn(){let e=kn();return e?vv.test(e.userAgent)&&yv.test(e.vendor):!1}function In(){let e=kn();return e?bv.test(e.userAgent):!1}function Ln(){return typeof document==`object`}function Rn(){let e=kn();if(!e)return-1;let t=xv.exec(e.userAgent);return t?.[1]?parseFloat(t[1]):-1}function zn(){let e=kn();return e?Sv.test(e.userAgent):!1}function Bn(){return!1}function Vn(){let e=kn();return e&&Cv.test(e.userAgent)?`tablet`:e&&wv.test(e.userAgent)?`phone`:`desktop`}function Hn(){return Vn()===`desktop`}function Un(e){return Mn()?e.metaKey:e.ctrlKey}function Wn(){}function Gn(e){return typeof e==`function`?e():e}function Kn(e,t){return Ov[e]>Ov[t]}function qn(){if(!(typeof scheduler>`u`))return scheduler}function Jn(e,t){let n=e?.priority,r=qn();return n===`background`?t?.()??On(1):r?.yield?r.yield(e).catch(Wn):r?.postTask?r.postTask(Wn,e).catch(Wn):t?t():n===`user-blocking`?kv:On(0)}function Yn(e,t,n){let r=-1/0,i,a=new Set;function o(){for(let e of a)e();a.clear()}function s(){return document.hidden?(o(),!0):!1}function c(){Ln()&&(document.addEventListener(`visibilitychange`,s),f.addEventListener(`pagehide`,o))}function l(n){return new Promise(r=>{setTimeout(r,Av),e(()=>{Jn(n,t).then(r)})})}function u(e){return Ln()?new Promise(t=>{let n=!0,r=()=>{n&&(n=!1,a.delete(r),t())};a.add(r),s()||c(),e.then(r,r)}):e}function d(e,n){let{continueAfter:r,ensureContinueBeforeUnload:i,...a}=e,o=n??r===`paint`?l(a):Jn(a,t);return i?u(o):o}function p(e,t,n){n&&e.pendingPaintYieldCount++;let a=d(t,n),o=t.signal,s=!0,c=t=>{s&&(s=!1,o?.removeEventListener(`abort`,l),t&&(r=performance.now()),n&&e.pendingPaintYieldCount--,i===e&&e.pendingPaintYieldCount===0&&(i=void 0))},l=()=>c(!1);return o?.aborted?l():o?.addEventListener(`abort`,l,{once:!0}),a.then(()=>c(!0),()=>c(!0)),a}function m(e,t){let a=i;if(!a){let n=performance.now(),o=t??(e.priority===`user-blocking`?Tv:Ev),s=Ln()&&document.hidden?Dv:o;if(n-r0||n?.()!==!1);return p(a,e,o)}function h(e){let{batch:n,batchDuration:r,...i}=e??{};return!Ln()&&!t?n?void 0:kv:n?m(i,r):d(i)}return h}function Xn(){let e=Dn(),{getRoute:t}=Lt();return C((n,r,i)=>{if(!n||!t)return;let a=t(n),{pathVariables:o,locale:s}=r;return Qn(a,{routeId:n,pathVariables:o,locale:s,collectionUtils:e},i)},[t,e])}function Zn(e,t=!0){let n=Xn();c(()=>{if(!(!t||!Nv))for(let t of e)n(t,{})},[e,t,n])}async function Qn(e,t,n={}){if(!Nv||!e)return;let{priority:r=`background`,yieldBeforePreload:i=!0,shouldLoadRouteData:a=!0}=n,o=e.page;if(!(!o||!bt(o))){i&&await Mv({priority:r});try{let e=await o.preload();a&&t&&e&&await $n(e,t,r)}catch{}}}async function $n(e,t,n){let r=e.loader;if(!r?.load)return;let i={signal:t.signal??new AbortController().signal,pathVariables:t.pathVariables??{},routeId:t.routeId,locale:t.locale,priority:n,collectionUtils:t.collectionUtils};try{await r.load({},i)}catch{}}function er(e,t){return e.replace(Pv,(e,n)=>{let r=t[n];return typeof r!=`string`||r.length===0?e:encodeURIComponent(r)})}function tr(e,t=!1){let n=``;if(f!==void 0)if(t)n=f.location.search;else{let e=f.history?.state?.queryParamBackAnchorSearch;n=e===void 0?f.location.search:e===``?``:`?${e}`}return n?nr(n,e):e}function nr(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!==Fv&&c.append(e,t);let u=c.toString();return u===``?r+i:o+`?`+u+i}async function rr(e,t,n,r,i,a,o){let s=e,c=!1,l={...a},u=Array.from(s.matchAll(Pv)),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||!R(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=pt(p)?await p:p;if(!m)return d;let h=f.getSlugByRecordId(m,n),g=pt(h)?await h:h;if(!g){c=!0;let e=f.getSlugByRecordId(m,r),t=pt(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{e=!0};f.addEventListener(`popstate`,t,{once:!0}),queueMicrotask(()=>{if(f.removeEventListener(`popstate`,t),e){let e=`Popstate called synchronously during pushState(). Please report this to the Framer team.`;console.error(e),gn(`published_site_load_recoverable_error`,{message:e})}})}function sr({children:e,value:t}){return _(Lv.Provider,{value:t,children:e})}function cr(){return g.useContext(Lv)}function lr(e,t,{global:n,routes:r}){return r[e]?.[t]||n}function ur(e){let t=Rv,n=e.next(0),r=[n.value];for(;!n.done&&t{je.render(()=>{performance.mark(`framer-vt-remove`);let e=document.getElementById(Wv);e&&document.head.removeChild(e)})})}function Sr(){return!!document.startViewTransition}function Cr(e){return new Promise(t=>{je.render(()=>{performance.mark(`framer-vt-style`),br(e),t()})})}async function wr(e,t,n){if(!Sr()){e();return}if(await Cr(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(Kv),Promise.all([r.ready,r.finished]).then(()=>{performance.mark(`framer-vt-finished`),xr()}).catch(Kv),r}function Tr(){let e=cr(),t=r(void 0);return c(()=>{t.current&&=(t.current(),void 0)}),C((n,r,i,a)=>{let o=lr(n,r,e);if(o){let e=new Promise(e=>{t.current=e});return wr(async()=>{i(),await e},o,a)}i()},[e])}function Er(e,t){x_(()=>{let n=document.querySelector(`link[rel='canonical']`);if(!n)return;let r=new URL(e,t);r.search=``,n.setAttribute(`href`,r.toString())})}function Dr(e,t){x_(()=>{let n=document.querySelector(`link[rel='canonical'][data-framer-generated-canonical]`);if(!e||document.querySelector(`link[rel='canonical']:not([data-framer-generated-canonical])`)){n?.remove();return}let r=new URL(e,t??document.baseURI);r.search=``,r.hash=``;let i=n??document.createElement(`link`);i.setAttribute(`rel`,`canonical`),i.setAttribute(`data-framer-generated-canonical`,``),i.setAttribute(`href`,r.toString()),document.head.append(i)})}function Or(e){x_(()=>{let t=Array.from(document.querySelectorAll(`link[rel='alternate'][hreflang][data-framer-generated-hreflang]`));if(document.querySelector(`link[rel='canonical']:not([data-framer-generated-canonical])`)){for(let e of t)e.remove();return}let n=new Map;for(let e of t){let t=e.getAttribute(`hreflang`);t&&n.set(t,e)}let r=new Set;for(let{href:t,hrefLang:i}of e){r.add(i);let e=n.get(i)??document.createElement(`link`);e.setAttribute(`rel`,`alternate`),e.setAttribute(`data-framer-generated-hreflang`,``),e.setAttribute(`href`,t),e.setAttribute(`hreflang`,i),document.head.append(e)}for(let e of t){let t=e.getAttribute(`hreflang`);(!t||!r.has(t))&&e.remove()}})}function kr(e,t,n,r=M){r(()=>{let t=async e=>(await Mv({...n,continueAfter:`paint`}),e()),r=t(e);return()=>{(async()=>{let e=await r;e&&t(e)})()}},t)}function Ar(e){let t=r(new Set);return kr(()=>{for(let e of t.current)e();t.current.clear()},void 0,{priority:`user-blocking`}),C(n=>{let r,i=new Promise(e=>{r=e,t.current.add(e)});if(!e)return{promise:i,measureDetail:n,ignore:null};let a=`${e}-start`,o=`${e}-end`,s=!1;return performance.mark(a),i.finally(()=>{s||(performance.mark(o),performance.measure(e,{start:a,end:o,detail:n}))}).catch(e=>{console.error(e)}),{promise:i,measureDetail:n,ignore:()=>{s=!0,r&&(t.current.delete(r),r())}}},[e])}function jr(e){return B(e)&&`routeId`in e}function Mr(e=f.history.state){return jr(e)?e:void 0}function Nr(e){return e?.entryId}function Pr(e){Yv=e}function Fr(){return Yv}function Ir(){return`${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`}function Lr(e,t){return Rr(e,Nr(e)??Nr(t))}function Rr(e,t=Ir()){return{...e,entryId:t}}function zr(e,t){performance.mark(`framer-history-replace`),Pr(Lr(e,Mr())),t&&Er(t,f.location.href);let n=!t||t===f.location.href?f.History.prototype.replaceState.bind(f.history):f.history.replaceState.bind(f.history);try{n(Yv,``,t)}catch{}}function Br(e){performance.mark(`framer-history-replace`),Pr(Rr(e)),History.prototype.replaceState.call(f.history,Yv,``,void 0)}function Vr(e,t){performance.mark(`framer-history-push`),Pr(Rr(e)),Er(t,f.location.href),or();try{f.history.pushState(Yv,``,t)}catch{}}function Hr({disabled:e,routeId:t,initialPathVariables:n,initialLocaleId:r}){M(()=>{if(e)return;performance.mark(`framer-history-set-initial-state`);let i=f.location.hash?f.location.hash.slice(1):void 0;zr({...Mr(),routeId:t,hash:i,pathVariables:n,localeId:r})},[])}function Ur(e,t,n){let i=Tr(),a=Ar(`framer-route-change`),{onHistoryTraversal:o,usesCustomScrollRestoration:s}=e,l=s?`manual`:`after-transition`,u=r(void 0),d=C(()=>{u.current?.resolve(),u.current=void 0},[]),p=C(async({state:e})=>{if(!jr(e))return;let r=a({popstate:!0}),s=Wt();r.promise.finally(s),Nr(Fr())!==(Nr(e)??Nr(Mr()))&&o(),Pr(e);let{routeId:c,hash:u,pathVariables:p,localeId:m}=e,h=R(u)?u:f.location.hash?f.location.hash.slice(1):void 0,g=!1,_=()=>{g||=(n(c,R(m)?m:void 0,h,f.location.pathname+f.location.search+f.location.hash,B(p)?p:void 0,!0,r,!1),!0)},v=l===`after-transition`;await Promise.resolve(i(t.current,c,_)).then(e=>e?.updateCallbackDone).catch(_).finally(()=>{v||d()}),await r.promise,v&&d(),await f.navigation?.transition?.finished.catch(__),Jv(),Er(f.location.href)},[t,a,o,d,n,i,l]),m=C(e=>{if(e.navigationType!==`traverse`||!e.canIntercept)return;let t=e.destination?.getState();jr(t)&&e.intercept({async handler(){await new Promise((e,t)=>{u.current={resolve:e,reject:t}}),u.current=void 0},scroll:l})},[l]);c(()=>(f.addEventListener(`popstate`,p),Xv&&f.navigation.addEventListener(`navigate`,m),()=>{f.removeEventListener(`popstate`,p),Xv&&f.navigation.removeEventListener(`navigate`,m)}),[p,m])}async function Wr(e,t,n){if(!e.path||!t)return!1;let r=ir(er(e.path,t),n.slug);return(await fetch(r,{method:`HEAD`,redirect:`manual`})).type===`opaqueredirect`?(f.location.href=f.location.origin+r,!0):!1}function Gr(){let e=Dn();return C(t=>Kr({...t,collectionUtils:e}),[e])}async function Kr(e){let t=await ar(e);if(t){try{localStorage.preferredLocale=e.nextLocale.code}catch{}try{if(!R(t.path))throw Error(`Expected result.path to be a string`);if(t.isMissingInLocale&&await Wr(e.route,t.pathVariables,e.nextLocale))return}catch{}return t}}function qr(e){let t=r(Promise.resolve()),n=r(),i=C(r=>{if(r.navigationType===`traverse`||!r.canIntercept)return;let i=n.current;i?.signal.addEventListener(`abort`,()=>{i.abort(`user aborted`)}),r.intercept({handler:()=>t.current,scroll:e?`manual`:`after-transition`})},[e]);return C((e,r,a)=>{if(!Xv){a?.();return}t.current=e,n.current=r,f.navigation.addEventListener(`navigate`,i),a?.(),e.finally(()=>{t.current===e&&(n.current=void 0,f.navigation.removeEventListener(`navigate`,i))})},[i])}function Jr(e){let t=0,n=e.length;for(;tt&&e[n-1]===`-`;)n--;return e.slice(t,n)}function Yr(e){return Jr(e.trim().toLowerCase().replace(Zv,`-`))}function Xr({children:e,value:t}){return _($v.Provider,{value:t,children:e})}function Zr(){return w($v)}function Qr(e,t){let n=d(()=>({inputs:t,result:e()}))[0],i=r(!0),a=r(n),o=i.current||t&&a.current.inputs&&Pt(t,a.current.inputs,!1)?a.current:{inputs:t,result:e()};return c(()=>{i.current=!1,a.current=o},[o]),o.result}function $r(e,t){return Qr(()=>e,t)}function ei(){return g.useContext(ry)}function ti(){return g.useContext(iy)}function ni(){return f.location.search}function ri(){return``}function ii(e){return ay.add(e),f.addEventListener(`popstate`,e),()=>{ay.delete(e),f.removeEventListener(`popstate`,e)}}function ai(){for(let e of ay)e()}function oi({children:e,routerRenderKey:t,isNavigationCommitPending:n}){let a=Zr()===`preview`,[o,s]=d(``),c=r(t);ey(()=>{c.current=t},[t]);let l=ee(ii,ni,ri),u=i(l),p=t!==i(t),h=a?o:p?l:u,g=C(async e=>{if(a){m(()=>{s(t=>e(new URLSearchParams(t)).toString())});return}let r=n(),i=t;if(await Mv({continueAfter:`paint`}),r||n()||c.current!==i)return;let o=Mr();if(!o)return;let l=new URL(f.location.href),u=e(l.searchParams).toString();l.search=u;let d=o.queryParamBackAnchorSearch,p=f.location.search.slice(1),h=d===void 0&&u!==p,g=d!==void 0&&u===d,_={...o,queryParamBackAnchorSearch:g?void 0:d??(h?p:void 0)},v=l.toString();h||g?Vr(_,v):zr(_,v),ai()},[n,a,t]),v=Qr(()=>({urlSearchParams:new URLSearchParams(h),replaceSearchParams:g}),[h,g]);return _(oy.Provider,{value:v,children:e})}function si(e,t){if(!e.startsWith(`/`)||!t.startsWith(`/`))throw Error(`from/to paths are expected to be absolute`);let[n]=ci(e),[r,i]=ci(t),a=li(n,r);return a===``&&(a=`.`),!a.startsWith(`.`)&&!a.startsWith(`/`)&&(a=`./`+a),a+`/`+i}function ci(e){let t=e.lastIndexOf(`/`);return[e.substring(0,t+1),e.substring(t+1)]}function li(e,t){if(e===t||(e=`/`+ui(e),t=`/`+ui(t),e===t))return``;let n=e.length,r=n-1,i=t.length-1,a=ra){if(ly(t,1+s)===cy)return dy(t,1+s+1);if(s===0)return dy(t,1+s)}else r>a&&(ly(e,1+s)===cy?o=s:s===0&&(o=0));let c=``;for(s=1+o+1;s<=n;++s)(s===n||ly(e,s)===cy)&&(c+=c.length===0?`..`:`/..`);return`${c}${dy(t,1+o)}`}function ui(e){let t=``,n=0,r=-1,i=0,a=0;for(let o=0;o<=e.length;++o){if(o2){let e=uy(t,py);e===-1?(t=``,n=0):(t=dy(t,0,e),n=t.length-1-uy(t,py)),r=o,i=0;continue}else if(t.length!==0){t=``,n=0,r=o,i=0;continue}}fy&&(t+=t.length>0?`${py}..`:`..`,n=2)}else t.length>0?t+=`${py}${dy(e,r+1,o)}`:t=dy(e,r+1,o),n=o-r-1;r=o,i=0}else a===sy&&i!==-1?++i:i=-1}return t}function di(e){if(!e)return``;let t;try{t=new URL(e)}catch{return``}return t.pathname===`/`||f.location.origin!==t.origin?``:t.pathname.endsWith(`/`)?t.pathname.slice(0,-1):t.pathname}function fi(e,t){let n=e.replace(Pv,(e,n)=>t[n]??e);if(!n.includes(`:`))return n}function pi(e,t,n){let r=Object.assign({},t.elements,n);if(e.startsWith(`:`)){let n=e.slice(1),i=t.elementPatterns?.[n];if(i)return fi(i,r)}if(e.includes(`:`))return fi(e,r);let i=t.elements?.[e];return i?fi(i,r):e}function mi(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,localeSlug:p}){let m;if(i&&e&&(m=pi(i,e,o)),l)return m??``;let h=t??`/`;n&&d&&(h=n[d]??h),r&&(h=h.replace(Pv,(e,t)=>String(r[t]||e)));let g=(d?e?.pathLocalized?.[d]:void 0)??e?.path??`/`;a&&(g=g.replace(Pv,(e,t)=>String(a[t]||e)));let _=!!(h===g&&m),v=!_&&a!==void 0&&t!==void 0&&e?.path!==void 0&&t===e.path&&h!==g;if(s)if(hy.has(h)&&f!==void 0){let e=di(u);g=si(f.location.pathname,e+g)}else g=si(h,g);else g=ir(g,p);let y=_||v;return(c||y)&&(g=tr(g,y)),m&&(g=`${g}#${m}`),g}function hi(){let e=new Event(`change`,{bubbles:!0});return e[gy]=1,e}function gi(){let e=new MouseEvent(`click`,{bubbles:!0});return e[gy]=1,e}function _i(e){return e instanceof HTMLInputElement&&(e.type===`checkbox`||e.type===`radio`)?`checked`:`value`}function vi(e){return gy in e&&e[gy]===1}function yi(e){return _y in e.nativeEvent&&e.nativeEvent[_y]===1}function bi(e){let t=r(!1),n=r(null),i=ee(S_,w_,vy);return c(()=>{if(!i)return;let r=n.current;if(t.current||!r)return;t.current=!0;let a=_i(r),o=r[a];if(o===e)return;if(r.type===`radio`&&o===!0){r.checked=!1,r.dispatchEvent(gi());return}if(a===`checked`){let e=gi();e[_y]=1,r.dispatchEvent(e),r.dispatchEvent(gi());return}if(r.nodeName===`SELECT`){r.dispatchEvent(hi());return}let s=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(r),a)?.set;if(!s)return;s.call(r,``);let c=hi();c[_y]=1,r.dispatchEvent(c),queueMicrotask(()=>{s.call(r,o),r.dispatchEvent(hi())})},[i]),n}function xi(){if(!yy)return;xy=!0,performance.mark(`framer-react-event-handling-start`);let e={capture:!0},t=document.body;yy.forEach(n=>t.addEventListener(n,by,e))}function Si(){return c(()=>{if(!xy||!yy)return;let e={capture:!0},t=document.body;yy.forEach(n=>t.removeEventListener(n,by,e)),yy=void 0,performance.mark(`framer-react-event-handling-end`)},[]),null}function Ci(e){let t=!1;return function(...n){if(!t)return t=!0,e.apply(this,n)}}function wi(e,t,n){try{performance.measure(e,t,n)}catch(t){console.warn(`Could not measure ${e}`,t)}}function Ti(){Vy=new By,Vy.render.markStart()}function Ei(){p(()=>{Vy?.useInsertionEffects.markRouterStart()},[]),M(()=>{Vy?.useLayoutEffects.markRouterStart()},[]),c(()=>{Vy?.useEffects.markRouterStart()},[])}function Di(){p(()=>{Vy?.render.markEnd(),Vy?.useInsertionEffects.markStart()},[]),M(()=>{if(Vy?.useLayoutEffects.markStart(),document.visibilityState!==`visible`){Hy=!0;return}je.read(()=>{Vy?.browserRendering.requestAnimationFrame.markStart(),Vy?.unattributedHydrationOverhead.measure()})},[]),c(()=>{Vy?.useEffects.markStart(),Vy?.browserRendering.hasStarted||(Vy?.mutationEffects.measure(),Vy?.useEffects.markAreSynchronous())},[])}function Oi(){p(()=>{Vy?.useInsertionEffects.markEnd()},[]),M(()=>{Vy?.useLayoutEffects.markEnd(),!(Hy||document.visibilityState!==`visible`)&&je.read(()=>{Vy?.browserRendering.requestAnimationFrame.markEnd(),Mv().then(()=>{Vy?.browserRendering.layoutStylePaint.markEnd()})})},[]),c(()=>{Vy?.useEffects.markEnd()},[])}function ki(){return Di(),null}function Ai(){return Oi(),null}function ji(e,t){let n={style:t,"data-framer-root":``};return g.isValidElement(e)?g.cloneElement(e,n):_(e,{...n})}function Mi(){return Ky}function Ni(e){if(qy?.lastRoutes!==e){let t={},n={},r=[],i={},a=e;for(let r in e){let i=e[r];V(i,`route must be defined`);let{path:a,pathLocalized:o}=i;if(a&&(t[a]={path:a,depth:Ii(a),routeId:r},o))for(let e in o){let t=o[e];V(t,`localizedPath must be defined`);let i=Ii(t),a=n[e]||={};a[t]={path:t,depth:i,routeId:r}}}r=Object.values(t),r.sort(({depth:e},{depth:t})=>t-e);for(let e in n){let t=n[e];if(!t)continue;let r=Object.values(t);r.sort(({depth:e},{depth:t})=>t-e),i[e]=r}qy={pathRoutes:t,pathRoutesLocalized:n,paths:r,pathsLocalized:i,lastRoutes:a}}return{pathRoutes:qy.pathRoutes,paths:qy.paths,pathRoutesLocalized:qy.pathRoutesLocalized,pathsLocalized:qy.pathsLocalized}}function Pi(e,t,n=!0,r=Mi()){return Fi(e,t,r,n)}function Fi(e,t,n,r=!0){let{pathRoutes:i,paths:a,pathRoutesLocalized:o,pathsLocalized:s}=Ni(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=Li(t,n.path);if(e.isMatch)return{routeId:n.routeId,localeId:l,pathVariables:e.pathVariables}}}let d=i[t];if(d){let e=Li(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=Li(t,n);if(e.isMatch)return{routeId:r,localeId:l,pathVariables:e.pathVariables}}}for(let{path:e,routeId:n}of a){let r=Li(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 Ii(e){let t=e.replace(/^\/|\/$/gu,``);return t===``?0:t.split(`/`).length}function Li(e,t){let n=[],r=Ri(t).replace(Pv,(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 Bi(e,t,n){let r=e[n];if(!r)return;let i=r.abTestingParentId??n,a=e[i];if(!a)return;let{abTestingParentId:o,...s}=r,c=a.elements||r.elements?{...a.elements,...r.elements}:void 0;e[i]={...s,includedLocales:a.includedLocales,elements:c,abTestingVariantId:n,abTestId:t}}function Vi(e,t){for(let[n,r]of t)Bi(e,n,r)}function Hi(e){for(let t in e)e[t]?.abTestingParentId&&delete e[t]}function Ui(e,t){if(!e[t]||!e[t].abTestingParentId)return;let n=e[t].abTestingParentId,r=e[n],{abTestingParentId:i,...a}=e[t],o=r?.elements||a.elements?{...r?.elements,...a.elements}:void 0;e[n]={...a,includedLocales:r?.includedLocales,elements:o,abTestingVariantId:t}}function Wi(e,t){if(f===void 0)return t;let n=t;if(t){Ui(e,t);let r=e[t]?.abTestingParentId;r&&(n=r)}return Vi(e,zi()),Hi(e),n}function Gi(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]),p(()=>{document.title=e.title||``,e.viewport&&document.querySelector(`meta[name="viewport"]`)?.setAttribute(`content`,e.viewport)},[e.title,e.viewport])}function Ki(e,...t){Jy.has(e)||(Jy.add(e),console.warn(e,...t))}function qi(e,t,n){Ki(`Deprecation warning: ${e} will be removed in version ${t}${n?`, use ${n} instead`:``}.`)}function Ji(e){return typeof e==`object`&&!!e&&Zy in e&&e[Zy]instanceof Function&&Qy in e&&e[Qy]instanceof Function}function Yi(e,t){return{interpolate(e,n){let r=e.get(),i=n.get(),a=Xy(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 Xi(e,t){let n=10**Math.round(Math.abs(t));return Math.round(e*n)/n}function Zi(e,t){return t===0?Math.round(e):(t-=t|0,t<0&&(t=1-t),Math.round(e-t)+t)}function Qi(e){return Math.round(e*2)/2}function $i(e,t){return{x:e,y:t}}function ea(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 da(e,t,n){let r,i,a;if(e=ma(e,360),t=ma(t*100,100),n=ma(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=ua(s,o,e+1/3),i=ua(s,o,e),a=ua(s,o,e-1/3)}return{r:r*255,g:i*255,b:a*255}}function fa(e,t,n){e=ma(e,255),t=ma(t,255),n=ma(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 Ta({r:e,g:t,b:n,a:r}){return{r:wa(e),g:wa(t),b:wa(n),a:r}}function Ea({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 La(){return tv.location.origin===`https://screenshot.framer.invalid`}function Ra({children:e}){if(w(xb).top)return _(O,{children:e});let t=r({byId:{},byName:{},byLastId:{},byPossibleId:{},byLastName:{},byLayoutId:{},count:{byId:{},byName:{}}}),n=r({byId:{},byName:{},byLastId:{},byPossibleId:{},byLastName:{},byLayoutId:{}}),i=r(new Set).current,a=r({getLayoutId:C(({id:e,name:r,duplicatedFrom:a})=>{if(!e)return null;let o=r?`byName`:`byId`,s=t.current[o][e];if(s)return s;let c=r||e;if(!a&&!i.has(c)&&(!t.current.byLayoutId[c]||t.current.byLayoutId[c]===c))return t.current.count[o][c]===void 0&&(t.current.count[o][c]=0,t.current.byLayoutId[c]=c,n.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];V(!!c,`duplicatedId must be defined`);let u=t.current[o][c],d=t.current.byLastId[c];if(d&&!l){let e=t.current.byLayoutId[d],n=!e||e===r;d&&!i.has(d)&&(!r||n)&&(l=[d,c])}let f=u?t.current.byLayoutId[u]:void 0,p=!f||f===r;if(u&&!i.has(u)&&(!r||p))return n.current[o][e]=u,n.current.byLastId[c]=u,i.add(u),u}let u=t.current.byLastId[e];if(u&&!i.has(u))return i.add(u),n.current.byId[e]=u,u;if(l){let[t,r]=l;return n.current[o][e]=t,n.current.byLastId[r]=t,i.add(t),t}let d=t.current.byPossibleId[e];if(d&&!i.has(d))return i.add(d),n.current.byId[e]=d,d;let f=a?.[0],p=r||f||e,{layoutId:m,value:h}=za(p,(t.current.count[o][p]??-1)+1,i);if(t.current.count[o][p]=h,n.current[o][e]=m,a?.length&&!r){let e=a[a.length-1];if(e&&(n.current.byLastId[e]=m),a.length>1)for(let e=0;e{t.current={byId:{...t.current.byId,...n.current.byId},byLastId:{...t.current.byLastId,...n.current.byLastId},byPossibleId:{...t.current.byPossibleId,...n.current.byPossibleId},byName:{...t.current.byName,...n.current.byName},byLastName:{...t.current.byLastName,...n.current.byLastName},byLayoutId:{...t.current.byLayoutId,...n.current.byLayoutId},count:{...t.current.count,byName:{}}},n.current={byId:{},byName:{},byLastId:{},byPossibleId:{},byLastName:{},byLayoutId:{}},i.clear()},[]),top:!0,enabled:!0}).current;return _(xb.Provider,{value:a,children:e})}function za(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 Ba({enabled:e=!0,...n}){let r=w(xb),i=t(()=>({...r,enabled:e}),[e]);return _(xb.Provider,{...n,value:i})}function Va(e){let t=r(null);return t.current===null&&(t.current=e()),t.current}function Ha(e){let{error:t,file:n}=e,r=n?`Error in ${Ua(n)}`:`Error`,i=t instanceof Error?t.message:``+t;return T(`div`,{style:Cb,children:[_(`div`,{className:`text`,style:Tb,children:r}),i&&_(`div`,{className:`text`,style:Eb,children:i})]})}function Ua(e){return e.startsWith(`./`)?e.replace(`./`,``):e}function Wa(){let e=q.current();return e===q.canvas||e===q.export}function Ga(){let[e]=d(()=>Wa());return e}function Ka(e){let t=Object.create(Object.prototype);return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}function qa(e,t){if(e===void 0||t===void 0)return;let n=e,r=t,i=0;t>e&&(n=t,r=e,i=1);let a=n/r,o=[];for(let e of Lb){if(n<=e)return o;o.push({maxSideSize:e,width:i===0?e:Math.trunc(e/a)})}return o}function Ja(e,t){try{let n=new URL(e);return t?n.searchParams.set(`scale-down-to`,`${t}`):n.searchParams.delete(`scale-down-to`),n.toString()}catch{return e}}function Ya(e,t,n){if(!n||n.length===0||!t.pixelWidth)return;let r=[];for(let t of n){if(t.width`${e} ${t}x`).join(`, `)}}else return{src:n,srcSet:Ya(n,t,qa(t.pixelWidth,t.pixelHeight))}}function Qa(){return{backgroundRepeat:`repeat`,backgroundPosition:`left top`,backgroundSize:`64px auto`,backgroundImage:mt(Pb.imagePlaceholderSvg)}}function $a(e){switch(e){case`fit`:return`contain`;case`stretch`:return`fill`;default:return`cover`}}function eo(e,t){let n=e??`center`,r=t??`center`;return n===`center`&&r===`center`?`center`:n+` `+r}function to(e){return{display:`block`,width:`100%`,height:`100%`,...Fb,objectPosition:eo(e.positionX,e.positionY),objectFit:$a(e.fit)}}function no(e){let t=g.useRef(e?`auto`:`async`),n=C(e=>{t.current=`auto`,e.decoding=`auto`},[]),r=C(e=>{n(e.currentTarget)},[n]),i=C(e=>{e?.complete&&n(e)},[n]);return{decoding:t.current,onImageLoad:r,onImageMount:i}}function ro({image:e,containerSize:t,nodeId:n,alt:r,draggable:i,avoidAsyncDecoding:a}){let o=Pb.useImageSource(e,t,n),s=to(e),{decoding:c,onImageLoad:l,onImageMount:u}=no(a),{srcSet:d,src:f}=`srcSet`in e?{src:o,srcSet:e.srcSet}:Za(e.nodeFixedSize,e,o);return _(`img`,{suppressHydrationWarning:!0,ref:u,decoding:c,fetchpriority:e.fetchPriority,loading:e.loading,width:e.pixelWidth,height:e.pixelHeight,sizes:d?e.sizes:void 0,srcSet:d,src:f,onLoad:l,alt:r??e.alt??``,style:s,draggable:i})}function io({image:e,containerSize:t,nodeId:n}){let r=g.useRef(null),i=Pb.useImageElement(e,t,n),a=to(e);return g.useLayoutEffect(()=>{let e=r.current;if(e!==null)return e.appendChild(i),()=>{e.removeChild(i)}},[i]),Object.assign(i.style,a),_(`div`,{ref:r,style:{display:`contents`,...Fb}})}function ao({nodeId:e,image:t,containerSize:n}){let r=g.useRef(null),i=Pb.useImageSource(t,n,e);return g.useLayoutEffect(()=>{let n=r.current;if(n===null)return;let a=to(t);Pb.renderOptimizedCanvasImage(n,i,a,e)},[e,t,i]),_(`div`,{ref:r,style:{display:`contents`,...Fb}})}function oo({layoutId:e,image:t,...n}){e&&(e+=`-background`);let r=null,i=!!e,a=null;if(R(t.src))if(t.fit===`tile`&&t.pixelWidth&&t.pixelHeight){let e=z(t.backgroundSize)?t.backgroundSize:1,n={width:Math.round(e*t.pixelWidth),height:Math.round(e*t.pixelHeight)},o=Qi(e*(t.pixelWidth/2)),s=Pb.useImageSource(t,n);r={...zb,backgroundImage:`url(${s})`,backgroundRepeat:`repeat`,backgroundPosition:eo(t.positionX,t.positionY),opacity:void 0,border:0,backgroundSize:`${o}px auto`},a=null,i=!0}else a=q.current()===q.canvas?Pb.canRenderOptimizedCanvasImage(Pb.useImageSource(t))?_(ao,{image:t,...n}):_(io,{image:t,...n}):_(ro,{image:t,avoidAsyncDecoding:q.current()===q.export,...n});let o=a?zb:r??{...zb,...Qa()};return i?_(I.div,{layoutId:e,style:o,"data-framer-background-image-wrapper":!0,children:a}):_(`div`,{style:o,"data-framer-background-image-wrapper":!0,children:a})}function so(e,t,n=!0){let{borderWidth:r,borderStyle:i,borderColor:a}=e;if(!r)return;let o,s,c,l;if(typeof r==`number`?o=s=c=l=r:(o=r.top||0,s=r.bottom||0,c=r.left||0,l=r.right||0),!(o===0&&s===0&&c===0&&l===0)){if(n&&o===s&&o===c&&o===l){t.border=`${o}px ${i} ${a}`;return}t.borderStyle=e.borderStyle,t.borderColor=e.borderColor,t.borderTopWidth=`${o}px`,t.borderBottomWidth=`${s}px`,t.borderLeftWidth=`${c}px`,t.borderRightWidth=`${l}px`}}function co(e){let t=e.layoutId?`${e.layoutId}-border`:void 0;if(!e.borderWidth)return null;let n={position:`absolute`,left:0,right:0,top:0,bottom:0,...Fb,pointerEvents:`none`};return e.border?(n.border=e.border,_(I.div,{style:n})):(so(e,n,!1),_(I.div,{"data-frame-border":!0,style:n,layoutId:t}))}function lo(e,t){let{_forwardedOverrideId:n,_forwardedOverrides:r,id:i}=t,a=n??i,o=r&&a?r[a]:void 0;return o&&typeof o==`string`&&(e={...e,src:o}),e}function uo(e){let{background:t,image:n}=e;if(n!==void 0&&t&&!Vb.isImageObject(t))return;let r=null;if(r=R(n)?{alt:``,src:n}:Xy.get(t,null),Vb.isImageObject(r))return lo(r,e)}function fo(e){return!e||!Object.keys(e).length&&e.constructor===Object}function po(e){return typeof e!=`string`&&typeof e!=`number`}function mo(e){return e!=null&&typeof e!=`boolean`&&!fo(e)}function U(e){return Number.isFinite(e)}function ho(e){return Math.PI/180*e}function go(e){return st(e)?!1:e===2||e===5}function _o(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 vo(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 yo(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 yo(e){switch(e){case`minWidth`:case`minHeight`:return-1/0;case`maxWidth`:case`maxHeight`:return 1/0;default:H(e,`unknown constraint key`)}}function bo(e,t,n,r){return t.minHeight&&(e=Math.max(vo(`minHeight`,t.minHeight,n,r),e)),t.maxHeight&&(e=Math.min(vo(`maxHeight`,t.maxHeight,n,r),e)),e}function xo(e,t,n,r){return t.minWidth&&(e=Math.max(vo(`minWidth`,t.minWidth,n,r),e)),t.maxWidth&&(e=Math.min(vo(`maxWidth`,t.maxWidth,n,r),e)),e}function So(e,t,n,r,i){let a=xo(U(e)?e:Kb,n,r,i),o=bo(U(t)?t:qb,n,r,i);return U(n.aspectRatio)&&n.aspectRatio>0&&(U(n.left)&&U(n.right)?o=a/n.aspectRatio:U(n.top)&&U(n.bottom)||n.widthType===0?a=o*n.aspectRatio:o=a/n.aspectRatio),{width:a,height:o}}function Co(e,t){return!U(e)||!U(t)?null:e+t}function wo(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 To(e){return!e._constraints||wo(e)?!1:e._constraints.enabled}function Eo(e){let{size:t}=e,{width:n,height:r}=e;return U(t)&&(n===void 0&&(n=t),r===void 0&&(r=t)),U(n)&&U(r)?{width:n,height:r}:null}function Do(e){let t=Eo(e);if(t===null)return null;let{left:n,top:r}=e;return U(n)&&U(r)?{x:n,y:r,...t}:null}function Oo(e,t,n=!0){if(e.positionFixed||e.positionAbsolute)return null;let r=t===1||t===2;if(!To(e)||r)return Do(e);let i=ko(e),a=Ao(t),o=a?{sizing:a,positioning:a,viewport:null}:null;return Gb.toRect(i,o,null,n,null)}function ko(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=Wb.quickfix({left:U(t),right:U(n),top:U(r),bottom:U(i),widthType:_o(c),heightType:_o(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 Ao(e){return e===0||e===1||e===2?null:e}function jo(){return g.useContext(Jb).parentSize}function Mo(e){return typeof e==`object`}function No(e){return Mo(e)?e.width:e}function Po(e){return Mo(e)?e.height:e}function Fo(e,t){return _(Yb,{parentSize:t,children:e})}function Io(e){return Oo(e,jo(),!0)}function Lo({width:e,height:t}){return e===`auto`||e===`min-content`||t===`auto`||t===`min-content`}function Ro(e){if(e){if(e.pixelHeight&&e.pixelWidth)return{width:e.pixelWidth,height:e.pixelHeight};if(e.src===void 0)return{width:1,height:1}}}function zo(e){return e&&e!==`search`&&e!==`slot`&&e!==`template`?I[e]:I.div}function Bo(e){let t=!1,n;return{get value(){return t||=(n=e(),!0),n}}}function Vo(e,t,n=Zb){if(!(!e||n.has(e)||typeof document>`u`)){if(n.add(e),!t){if(!Qb){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)Qb=e.sheet;else{console.warn(`not injecting CSS: injected