import{t as e}from"./rolldown-runtime.Dh6celcD.mjs";import{A as t,B as n,C 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 te}from"./react.CMn14Ob3.mjs";import{$ as N,A as P,B as ne,C as re,D as ie,E as ae,F as oe,G as se,H as ce,I as le,J as ue,K as de,L as fe,M as pe,N as me,O as he,P as ge,Q as F,R as _e,S as ve,T as ye,U as be,V as xe,W as Se,X as Ce,Y as we,Z as Te,_ as Ee,a as De,at as Oe,c as ke,ct as Ae,d as je,dt as Me,et as Ne,f as Pe,ft as Fe,g as Ie,h as Le,i as Re,it as ze,j as Be,k as Ve,l as He,lt as I,m as Ue,n as We,nt as Ge,o as Ke,ot as L,p as qe,q as Je,r as Ye,rt as Xe,s as Ze,st as Qe,tt as $e,u as et,ut as tt,v as nt,w as rt,x as it,y as at,z as ot}from"./motion.BsR10o0_.mjs";function st(e){return typeof e==`function`}function ct(e){return typeof e==`boolean`}function R(e){return typeof e==`string`}function z(e){return Number.isFinite(e)}function lt(e){return Array.isArray(e)}function B(e){return typeof e==`object`&&!!e&&!lt(e)}function ut(e){for(let t in e)return!1;return!0}function dt(e){return e===void 0}function ft(e){return e===null}function pt(e){return e==null}function mt(e){return e instanceof Date&&!Number.isNaN(e.getTime())}function ht(e){return B(e)&&st(e.return)}function gt(e){return B(e)&&st(e.then)}function _t(e){return e instanceof Promise}function vt(e){return`url('${yt(e)}')`}function yt(e){return`data:image/svg+xml,${e.replaceAll(`#`,`%23`).replaceAll(`'`,`%27`).replaceAll(`"`,`%22`)}`}function bt(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 xt(e,t,n){if(d_.has(e))return;let r=Promise.resolve().then(t).then(t=>(d_.set(e,t),t)).catch(t=>{throw d_.delete(e),console.warn(`Failed to preload lazy module from ${n}`,t),t});r.catch(r_),d_.set(e,r)}function St(e,t){i_&&(f_.set(e,t),p_.has(e)&&xt(e,t,`registered loader ${e}`))}function Ct(){if(!i_)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(m_),i=r?e.slice(m_.length):e;if(!i)continue;p_.add(i);let a=f_.get(i);a?xt(i,a,`registered loader ${i}`):r&&xt(i,()=>import(n),n)}}function wt(e){return typeof e==`object`&&!!e&&!y(e)&&g_ in e}function Tt(e,t){if(t in e)return e[t];throw Error(`Module does not contain export '${t}'`)}function Et(e,t=`default`,n){n&&St(n,e);let r,i,a,o=()=>{if(i||!n||!d_.has(n))return;let e=d_.get(n);_t(e)?s(()=>e):i=Tt(e,t)},s=e=>i?Promise.resolve(i):(r||=e().then(e=>{let n=Tt(e,t);return i=n,n}).catch(e=>{a=e}),r),c=!1,l=b(function(t,r){if(u(()=>{c=!0},[]),a)throw a;if(o(),n!==void 0&&h_!==void 0&&h_.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 Ot(e){return e===null||!(v_ in e)?!1:typeof e.equals==`function`}function kt(e,t){return e===t||e!==e&&t!==t}function At(e,t){let n=e.length;if(n!==t.length)return!1;for(let r=n;r--!==0;)if(!kt(e[r],t[r]))return!1;return!0}function jt(e,t){let n=e.length;if(n!==t.length)return!1;for(let r=n;r--!==0;)if(!Lt(e[r],t[r],!0))return!1;return!0}function Mt(e,t){if(e.size!==t.size)return!1;for(let[n,r]of e.entries())if(!kt(r,t.get(n)))return!1;return!0}function Nt(e,t){if(e.size!==t.size)return!1;for(let[n,r]of e.entries())if(!Lt(r,t.get(n),!0))return!1;return!0}function Pt(e,t){if(e.size!==t.size)return!1;for(let n of e.keys())if(!t.has(n))return!1;return!0}function Ft(e,t){let n=__(e);if(n.length!==__(t).length)return!1;for(let r of n)if(!Dt(t,r)||!(r===`_owner`&&Dt(e,`$$typeof`)&&e.$$typeof)&&!kt(e[r],t[r]))return!1;return!0}function It(e,t){let n=__(e);if(n.length!==__(t).length)return!1;for(let r of n)if(!Dt(t,r)||!(r===`_owner`&&Dt(e,`$$typeof`)&&e.$$typeof)&&!Lt(e[r],t[r],!0))return!1;return!0}function Lt(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?jt(e,t):At(e,t);if(i!==a)return!1;let o=e instanceof Map,s=t instanceof Map;if(o&&s)return n?Nt(e,t):Mt(e,t);if(o!==s)return!1;let c=e instanceof Set,l=t instanceof Set;if(c&&l)return Pt(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?Ot(e)&&Ot(t)?e.equals(t):n?It(e,t):Ft(e,t):!1}function Rt(e,t,n=!0){try{return Lt(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 zt(e){return M.useCallback(t=>e[t],[e])}function Bt({api:e,children:t}){return _(y_.Provider,{value:e,children:t})}function Vt(){return M.useContext(y_)}function Ht({routes:e,children:t}){let n=zt(e),r=s(()=>({getRoute:n}),[n]);return _(y_.Provider,{value:r,children:t})}function Ut(){let e=Vt(),t=C(b_),n=t?.routeId??e.currentRouteId,r=t?.routeId?t.pathVariables:e.currentPathVariables,i=n?e.getRoute?.(n):void 0;return s(()=>{if(!(!n||!i))return{...i,id:n,pathVariables:r}},[n,r,i])}function Wt(){let e=Ut();if(e)return`${e.id}-${JSON.stringify(e.pathVariables)}`}function Gt(e){let t=Ut(),n=M.useRef(t);Rt(n.current,t)||!t||(n.current=t,e(t))}function Kt(e){let t=Vt();if(e)return t.getRoute?.(e)}function qt(e,t){if(t&&e)return e.elements&&t in e.elements?e.elements[t]:t}function Jt(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?qt(r,e):e,[e,r])}function Xt(){return Ut()?.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 Zt(e){return e===null||typeof e!=`object`&&typeof e!=`function`}function Qt(e){let t=Object.getPrototypeOf(e);return t===Object.prototype||t===null||Object.getPrototypeOf(t)===null||Object.getOwnPropertyNames(t).sort().join(`\0`)===F_}function $t(e){return Object.prototype.toString.call(e).slice(8,-1)}function en(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 tn(e){let t=``,n=0,r=e.length;for(let i=0;iObject.getOwnPropertyDescriptor(e,t).enumerable)}function rn(e){return I_.test(e)?`.`+e:`[`+JSON.stringify(e)+`]`}function an(e){return!(!Number.isInteger(e)||e<0||e>N_)}function on(e){return!(!Number.isInteger(e)||e<0||e>M_)}function sn(e){if(e.length===0||e.length>1&&e.charCodeAt(0)===48)return!1;for(let t=0;t57)return!1}return an(+e)}function cn(e){let t=Object.keys(e);for(var n=t.length-1;n>=0&&!sn(t[n]);n--);return t.length=n+1,t}function ln(e){return new Uint8Array(e).toBase64()}function un(e){return Uint8Array.fromBase64(e).buffer}function dn(e){return Buffer.from(e).toString(`base64`)}function fn(e){return Uint8Array.from(Buffer.from(e,`base64`)).buffer}function pn(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=$t(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",${tn(n.toString())}]`;break;case`URLSearchParams`:u=`["URLSearchParams",${tn(n.toString())}]`;break;case`RegExp`:let{source:r,flags:i}=n;u=i?`["RegExp",${tn(r)},"${i}"]`:`["RegExp",${tn(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+=E_;else{let t=cn(n),r=t.length,i=String(n.length).length;if((n.length-r)*3>4+i+r*(i+1)){u=`[`+j_+`,`+n.length;for(let e=0;e0)throw new P_(`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 P_(`Cannot stringify objects with __proto__ keys`,o,n,t);o.push(rn(e)),u+=`,${tn(e)},${c(n[e])}`,o.pop()}u+=`]`}else{u=`{`;let e=!1;for(let r of Object.keys(n)){if(r===`__proto__`)throw new P_(`Cannot stringify objects with __proto__ keys`,o,n,t);e&&(u+=`,`),e=!0,o.push(rn(r)),u+=`${tn(r)}:${c(n[r])}`,o.pop()}u+=`}`}}}return r[l]=u,l}let l=c(t);return l<0?`${l}`:r}function yn(e){let t=typeof e;return t===`string`?tn(e):e===void 0?T_.toString():e===0&&1/e<0?A_.toString():t===`bigint`?`["BigInt","${e}"]`:String(e)}function bn(e,t,n=`lazy`){switch(K.__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 xn(e){return R(e)&&(e===``||H_.test(e))}function Sn(){return{[U_.QueryCache]:new Map,[U_.CollectionUtilsCache]:new Map}}function Cn(){if(!i_)return;if(W_!==void 0)return W_;let e=document.getElementById(`__framer__handoverData`);if(e){try{W_=hn(e.text)??Sn()}catch(e){W_=Sn(),console.warn(`Failed to parse handover data. Falling back to network.`,e)}return s_(()=>{e?.remove(),e=null}),W_}}function wn(e,t){if(console.warn(bt(`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;bn(`published_site_load_error`,{message:String(e),stack:t})}}function Tn(e,t){let n=Cn();return n?n[e].has(t):!1}function En(e,t){let n=Cn();if(!n)return;let r=n[e];if(!r.has(t))return;let i=r.get(t);return r.delete(t),i}function Dn(e){return e?.id??S_}function On(e,t,n,r){return`${e}|${t}|${n}|${r}`}function kn(e){return t=>{if(!e)return;let n=e[t];if(!n)return;if(J_.has(n))return J_.get(n);let r=new X_(n,t);return J_.set(n,r),r}}function An({children:e,collectionUtils:t}){let n=s(()=>({get:kn(t)}),[t]);return _(Y_.Provider,{value:n,children:e})}function jn(){return C(Y_)}function Mn(){for(let e of $_)e();$_.clear()}function Nn(e){return new Promise(t=>{if($_.add(t),document.hidden){Mn();return}document.addEventListener(`visibilitychange`,Mn),document.addEventListener(`pagehide`,Mn),Ie.read(()=>{Fn(e).then(()=>{$_.delete(t),!e?.signal?.aborted&&t()})})})}function Pn(e){return new Promise(t=>{setTimeout(t,100),Ie.read(()=>{Fn(e).then(t)},!1,!0)})}function Fn(e){let t=e?.priority,n=K.scheduler;return t===`background`?In(1):Z_&&n?n.yield(e).catch(r_):Q_&&n?n.postTask(()=>{},e).catch(r_):t===`user-blocking`?Promise.resolve():In(0)}function In(e){return new Promise(t=>{setTimeout(t,e)})}function Ln(e){let{continueAfter:t,ensureContinueBeforeUnload:n,...r}=e??{};return n?Nn(r):t===`paint`?Pn(r):Fn(r)}function Rn(){let e=jn(),{getRoute:t}=Vt();return c((n,r,i=!0,a=!0)=>{if(!n||!t)return;let o=t(n),{pathVariables:s,locale:c}=r;return Bn(o,{routeId:n,pathVariables:s,locale:c,collectionUtils:e},i,a)},[t,e])}function zn(e,t=!0){let n=Rn();u(()=>{if(!(!t||!ev))for(let t of e)n(t,{})},[e,t,n])}async function Bn(e,t,n=!0,r=!0){if(!ev||!e)return;let i=e.page;if(!(!i||!wt(i))){n&&await Ln();try{let e=await i.preload();r&&t&&e&&await Vn(e,t)}catch{}}}async function Vn(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 Hn(){return te===void 0?void 0:te}function Un(){let e=Hn();return e?tv.test(e.platform):!1}function Wn(){let e=Hn();return e?nv.test(e.platform)?!0:rv.test(e.platform)&&e.maxTouchPoints!=null&&e.maxTouchPoints>2:!1}function Gn(){return Un()||Wn()}function Kn(){let e=Hn();return e?iv.test(e.userAgent):!1}function qn(){let e=Hn();return e?av.test(e.userAgent)&&ov.test(e.vendor)&&!Kn():!1}function Jn(){let e=Hn();return e?sv.test(e.userAgent)&&cv.test(e.vendor):!1}function Yn(){let e=Hn();return e?lv.test(e.userAgent):!1}function Xn(){return typeof document==`object`}function Zn(){let e=Hn();return e?uv.test(e.userAgent):!1}function Qn(){return!1}function $n(){let e=Hn();return e&&dv.test(e.userAgent)?`tablet`:e&&fv.test(e.userAgent)?`phone`:`desktop`}function er(){return $n()===`desktop`}function tr(e){return Gn()?e.metaKey:e.ctrlKey}function nr(e,t){return e.replace(gv,(e,n)=>{let r=t[n];return typeof r!=`string`||r.length===0?e:encodeURIComponent(r)})}function rr(e,t=!1){let r=``;if(n!==void 0)if(t)r=n.location.search;else{let e=n.history?.state?.queryParamBackAnchorSearch;r=e===void 0?n.location.search:e===``?``:`?${e}`}return r?ir(r,e):e}function ir(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!==_v&&c.append(e,t);let u=c.toString();return u===``?r+i:o+`?`+u+i}async function ar(e,t,n,r,i,a,o){let s=e,c=!1,l={...a},u=Array.from(s.matchAll(gv)),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=_t(p)?await p:p;if(!m)return d;let h=f.getSlugByRecordId(m,n),g=_t(h)?await h:h;if(!g){c=!0;let e=f.getSlugByRecordId(m,r),t=_t(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;ea){if(bv(t,1+s)===yv)return Sv(t,1+s+1);if(s===0)return Sv(t,1+s)}else r>a&&(bv(e,1+s)===yv?o=s:s===0&&(o=0));let c=``;for(s=1+o+1;s<=n;++s)(s===n||bv(e,s)===yv)&&(c+=c.length===0?`..`:`/..`);return`${c}${Sv(t,1+o)}`}function ur(e){let t=``,n=0,r=-1,i=0,a=0;for(let o=0;o<=e.length;++o){if(o2){let e=xv(t,wv);e===-1?(t=``,n=0):(t=Sv(t,0,e),n=t.length-1-xv(t,wv)),r=o,i=0;continue}else if(t.length!==0){t=``,n=0,r=o,i=0;continue}}Cv&&(t+=t.length>0?`${wv}..`:`..`,n=2)}else t.length>0?t+=`${wv}${Sv(e,r+1,o)}`:t=Sv(e,r+1,o),n=o-r-1;r=o,i=0}else a===vv&&i!==-1?++i:i=-1}return t}function dr(e){if(!e)return``;let t;try{t=new URL(e)}catch{return``}return t.pathname===`/`||n.location.origin!==t.origin?``:t.pathname.endsWith(`/`)?t.pathname.slice(0,-1):t.pathname}function fr(e,t,n){let r=qt(t,e);if(!r)return;let i=Object.assign({},t?.elements,n);return r.replace(gv,(e,t)=>i[t]??e)}function pr(e,{currentRoutePath:t,currentRoutePathLocalized:r,currentPathVariables:i,hash:a,pathVariables:o,hashVariables:s,relative:c=!0,preserveQueryParams:l,onlyHash:u=!1,siteCanonicalURL:d,localeId:f}){let p=fr(a,e,s);if(u)return p??``;let m=t??`/`;r&&f&&(m=r[f]??m),i&&(m=m.replace(gv,(e,t)=>String(i[t]||e)));let h=(f?e?.pathLocalized?.[f]:void 0)??e?.path??`/`;o&&(h=h.replace(gv,(e,t)=>String(o[t]||e)));let g=!!(m===h&&p),_=!g&&o!==void 0&&t!==void 0&&e?.path!==void 0&&t===e.path&&m!==h;if(c)if(Ev.has(m)&&n!==void 0){let e=dr(d);h=sr(n.location.pathname,e+h)}else h=sr(m,h);let v=g||_;return(l||v)&&(h=rr(h,v)),p&&(h=`${h}#${p}`),h}function mr(){if(Dv)return;Dv=!0;let e=!1,t=()=>{e=!0};n.addEventListener(`popstate`,t,{once:!0}),queueMicrotask(()=>{if(n.removeEventListener(`popstate`,t),e){let e=`Popstate called synchronously during pushState(). Please report this to the Framer team.`;console.error(e),bn(`published_site_load_recoverable_error`,{message:e})}})}function hr({children:e,value:t}){return _(Ov.Provider,{value:t,children:e})}function gr(){return M.useContext(Ov)}function _r(e,t,{global:n,routes:r}){return r[e]?.[t]||n}function vr(e){let t=kv,n=e.next(0),r=[n.value];for(;!n.done&&t{Ie.render(()=>{performance.mark(`framer-vt-remove`);let e=document.getElementById(Pv);e&&document.head.removeChild(e)})})}function Or(){return!!document.startViewTransition}function kr(e){return new Promise(t=>{Ie.render(()=>{performance.mark(`framer-vt-style`),Er(e),t()})})}async function Ar(e,t,n){if(!Or()){e();return}if(await kr(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(Iv),Promise.all([r.ready,r.finished]).then(()=>{performance.mark(`framer-vt-finished`),Dr()}).catch(Iv),r}function jr(){let e=gr(),t=w(void 0);return u(()=>{t.current&&=(t.current(),void 0)}),c((n,r,i,a)=>{let o=_r(n,r,e);if(o){let e=new Promise(e=>{t.current=e});return Ar(async()=>{i(),await e},o,a)}i()},[e])}function Mr(e,t){s_(()=>{let n=document.querySelector(`link[rel='canonical']`);if(!n)return;let r=new URL(e,t);r.search=``,n.setAttribute(`href`,r.toString())})}function Nr(e,t,n,r=f){r(()=>{let t=async e=>(await Ln({...n,continueAfter:`paint`}),e()),r=t(e);return()=>{(async()=>{let e=await r;e&&t(e)})()}},t)}function Pr(e){let t=w(void 0);return Nr(()=>{t.current&&=(t.current(),void 0)},void 0,{priority:`user-blocking`}),c(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])}function Fr(e,t,{currentRoutePath:r,currentRoutePathLocalized:i,currentPathVariables:a,hash:o,pathVariables:s,localeId:c,preserveQueryParams:l,siteCanonicalURL:u}){let{path:d}=t;if(!d)return;let f=pr(t,{currentRoutePath:r,currentRoutePathLocalized:i,currentPathVariables:a,hash:o,pathVariables:s,preserveQueryParams:l,siteCanonicalURL:u,localeId:c}),p=r!==void 0&&r===d,m=Ir(n.history.state)?n.history.state:void 0,h=p?m?.queryParamBackAnchorSearch:void 0;try{zr({routeId:e,hash:o,pathVariables:s,localeId:c,queryParamBackAnchorSearch:h},f)}catch{}}function Ir(e){return B(e)&&R(e.routeId)}function Lr(e,t,r=!1){performance.mark(`framer-history-replace`),t&&Mr(t,n.location.href),mv().privateRouterReplaceState?(!t||t===n.location.href?n.History.prototype.replaceState.bind(n.history):n.history.replaceState.bind(n.history))(e,``,t):(r?n.history.__proto__.replaceState:n.history.replaceState).call(n.history,e,``,t)}function Rr(e){let t=n.navigation?.transition;if(!t){e();return}let r=()=>{let r=n.navigation?.transition;if(r&&r!==t){Rr(e);return}e()};t.finished.then(r,r)}function zr(e,t){performance.mark(`framer-history-push`),Mr(t,n.location.href),mr(),n.history.pushState(e,``,t)}function Br({disabled:e,routeId:t,initialPathVariables:r,initialLocaleId:i}){f(()=>{if(e)return;performance.mark(`framer-history-set-initial-state`);let a=B(n.history.state)?n.history.state:{},o=n.location.hash?n.location.hash.slice(1):void 0;Lr({...a,routeId:t,hash:o,pathVariables:r,localeId:i},void 0,!0)},[])}function Vr(e,t){let r=jr(),i=Pr(`framer-route-change`),a=w(void 0),o=c(async({state:o})=>{if(!B(o))return;let{routeId:s,hash:c,pathVariables:l,localeId:u}=o;if(!R(s))return;let d=i({popstate:!0}),f=Jt();d.promise.finally(f);let p=await r(e.current,s,()=>{t(s,R(u)?u:void 0,R(c)?c:void 0,n.location.pathname+n.location.search+n.location.hash,B(l)?l:void 0,!0,d,!1)}),m=zv?n.navigation?.transition:void 0;await(p?.updateCallbackDone??Promise.resolve()).then(a.current?.resolve).catch(a.current?.reject),await d.promise;try{await m?.finished}catch(e){console.warn(`Popstate transition failed`,e)}Rv(),Mr(n.location.href)},[e,i,t,r]),s=c(e=>{e.navigationType!==`traverse`||!e.canIntercept||e.intercept({async handler(){await new Promise((e,t)=>{a.current={resolve:e,reject:t}}),a.current=void 0},scroll:`after-transition`})},[]);u(()=>(n.addEventListener(`popstate`,o),zv&&n.navigation.addEventListener(`navigate`,s),()=>{n.removeEventListener(`popstate`,o),zv&&n.navigation.removeEventListener(`navigate`,s)}),[o,s])}async function Hr(e,t,r){if(!e.path||!t)return!1;let i=`${r.slug?`/${r.slug}`:``}${nr(e.path,t)}`;return(await fetch(i,{method:`HEAD`,redirect:`manual`})).type===`opaqueredirect`?(n.location.href=n.location.origin+i,!0):!1}function Ur(){let e=jn();return c(t=>Wr({...t,collectionUtils:e}),[e])}async function Wr(e){let t=await or(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 Hr(e.route,t.pathVariables,e.nextLocale))return}catch{}return t}}function Gr(e,t){Rr(()=>{try{let r=n.history.state;if(!Ir(r))return;let i=r?.paginationInfo===void 0||r.paginationInfo[e]===void 0,a={...r.paginationInfo,[e]:t};Lr({...r,paginationInfo:a},void 0,i)}catch{}})}function Kr(){let e=w(Promise.resolve()),t=w(),r=c(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 c((i,a,o)=>{if(!zv){a();return}e.current=i,t.current=o,n.navigation.addEventListener(`navigate`,r),a(),i.finally(()=>{n.navigation.removeEventListener(`navigate`,r)})},[r])}function qr(e){let t=0,n=e.length;for(;tt&&e[n-1]===`-`;)n--;return e.slice(t,n)}function Jr(e){return qr(e.trim().toLowerCase().replace(Bv,`-`))}function Yr({children:e,value:t}){return _(Hv.Provider,{value:t,children:e})}function Xr(){return C(Hv)}function Zr(e,t){let n=a(()=>({inputs:t,result:e()}))[0],r=w(!0),i=w(n),o=r.current||t&&i.current.inputs&&Rt(t,i.current.inputs,!1)?i.current:{inputs:t,result:e()};return u(()=>{r.current=!1,i.current=o},[o]),o.result}function Qr(e,t){return Zr(()=>e,t)}function $r(){return M.useContext(Gv)}function ei(){return $r().activeLocale?.code??`en-US`}function ti(){return M.useContext(Kv)}function ni(){return n.location.search}function ri(){return``}function ii(e){return qv.add(e),n.addEventListener(`popstate`,e),()=>{qv.delete(e),n.removeEventListener(`popstate`,e)}}function ai(){for(let e of qv)e()}function oi({children:e}){let t=Xr()===`preview`,[r,i]=a(``),o=l(g(ii,ni,ri));Vt();let s=t?r:o,u=c(async e=>{if(t){m(()=>{i(t=>e(new URLSearchParams(t)).toString())});return}await Ln({continueAfter:`paint`});let r=n.history.state,a=new URL(n.location.href),o=e(a.searchParams).toString();a.search=o;let s=r?.queryParamBackAnchorSearch,c=n.location.search.slice(1),l=s===void 0&&o!==c,u=s!==void 0&&o===s,d={...r,queryParamBackAnchorSearch:u?void 0:s??(l?c:void 0)},f=a.toString();l||u?await zr(d,f):Lr(d,f),ai()},[t]),d=Zr(()=>({urlSearchParams:new URLSearchParams(s),replaceSearchParams:u}),[s,u]);return _(Jv.Provider,{value:d,children:e})}function si(){let e=new Event(`change`,{bubbles:!0});return e[Yv]=1,e}function ci(){let e=new MouseEvent(`click`,{bubbles:!0});return e[Yv]=1,e}function li(e){return e instanceof HTMLInputElement&&(e.type===`checkbox`||e.type===`radio`)?`checked`:`value`}function ui(e){return Yv in e&&e[Yv]===1}function di(e){return Xv in e.nativeEvent&&e.nativeEvent[Xv]===1}function fi(e){let t=w(!1),n=w(null),r=g(c_,u_,Zv);return u(()=>{if(!r)return;let i=n.current;if(t.current||!i)return;t.current=!0;let a=li(i),o=i[a];if(o===e)return;if(i.type===`radio`&&o===!0){i.checked=!1,i.dispatchEvent(ci());return}if(a===`checked`){let e=ci();e[Xv]=1,i.dispatchEvent(e),i.dispatchEvent(ci());return}if(i.nodeName===`SELECT`){i.dispatchEvent(si());return}let s=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(i),a)?.set;if(!s)return;s.call(i,``);let c=si();c[Xv]=1,i.dispatchEvent(c),queueMicrotask(()=>{s.call(i,o),i.dispatchEvent(si())})},[r]),n}function pi(){if(!Qv)return;ey=!0,performance.mark(`framer-react-event-handling-start`);let e={capture:!0},t=document.body;Qv.forEach(n=>t.addEventListener(n,$v,e))}function mi(){return u(()=>{if(!ey||!Qv)return;let e={capture:!0},t=document.body;Qv.forEach(n=>t.removeEventListener(n,$v,e)),Qv=void 0,performance.mark(`framer-react-event-handling-end`)},[]),null}function hi(e){let t=!1;return function(...n){if(!t)return t=!0,e.apply(this,n)}}function gi(e,t,n){try{performance.measure(e,t,n)}catch(t){console.warn(`Could not measure ${e}`,t)}}function _i(){by=new yy,by.render.markStart()}function vi(){r(()=>{by?.useInsertionEffects.markRouterStart()},[]),f(()=>{by?.useLayoutEffects.markRouterStart()},[]),u(()=>{by?.useEffects.markRouterStart()},[])}function yi(){r(()=>{by?.render.markEnd(),by?.useInsertionEffects.markStart()},[]),f(()=>{if(by?.useLayoutEffects.markStart(),document.visibilityState!==`visible`){xy=!0;return}Ie.read(()=>{by?.browserRendering.requestAnimationFrame.markStart(),by?.unattributedHydrationOverhead.measure()})},[]),u(()=>{by?.useEffects.markStart(),by?.browserRendering.hasStarted||(by?.mutationEffects.measure(),by?.useEffects.markAreSynchronous())},[])}function bi(){r(()=>{by?.useInsertionEffects.markEnd()},[]),f(()=>{by?.useLayoutEffects.markEnd(),!(xy||document.visibilityState!==`visible`)&&Ie.read(()=>{by?.browserRendering.requestAnimationFrame.markEnd(),Ln().then(()=>{by?.browserRendering.layoutStylePaint.markEnd()})})},[]),u(()=>{by?.useEffects.markEnd()},[])}function xi(){return yi(),null}function Si(){return bi(),null}function Ci(e,t){let n={style:t,"data-framer-root":``};return M.isValidElement(e)?M.cloneElement(e,n):_(e,{...n})}function wi(){return Ty}function Ti(e){if(Ey?.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:Oi(a),routeId:r},o))for(let e in o){let t=o[e];V(t,`localizedPath must be defined`);let i=Oi(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}Ey={pathRoutes:t,pathRoutesLocalized:n,paths:r,pathsLocalized:i,lastRoutes:a}}return{pathRoutes:Ey.pathRoutes,paths:Ey.paths,pathRoutesLocalized:Ey.pathRoutesLocalized,pathsLocalized:Ey.pathsLocalized}}function Ei(e,t,n=!0,r=wi()){return Di(e,t,r,n)}function Di(e,t,n,r=!0){let{pathRoutes:i,paths:a,pathRoutesLocalized:o,pathsLocalized:s}=Ti(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=ki(t,n.path);if(e.isMatch)return{routeId:n.routeId,localeId:l,pathVariables:e.pathVariables}}}let d=i[t];if(d){let e=ki(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=ki(t,n);if(e.isMatch)return{routeId:r,localeId:l,pathVariables:e.pathVariables}}}for(let{path:e,routeId:n}of a){let r=ki(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 Oi(e){let t=e.replace(/^\/|\/$/gu,``);return t===``?0:t.split(`/`).length}function ki(e,t){let n=[],r=Ai(t).replace(gv,(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 Mi(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 Ni(e,t){for(let[n,r]of t)Mi(e,n,r)}function Pi(e){for(let t in e)e[t]?.abTestingParentId&&delete e[t]}function Fi(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 Ii(e,t){if(n===void 0)return t;let r=t;if(t){Fi(e,t);let n=e[t]?.abTestingParentId;n&&(r=n)}return Ni(e,ji()),Pi(e),r}function Li(e){u(()=>{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]),r(()=>{document.title=e.title||``,e.viewport&&document.querySelector(`meta[name="viewport"]`)?.setAttribute(`content`,e.viewport)},[e.title,e.viewport])}function Ri(e,...t){Dy.has(e)||(Dy.add(e),console.warn(e,...t))}function zi(e,t,n){Ri(`Deprecation warning: ${e} will be removed in version ${t}${n?`, use ${n} instead`:``}.`)}function Bi(e){return typeof e==`object`&&!!e&&Ay in e&&e[Ay]instanceof Function&&jy in e&&e[jy]instanceof Function}function Vi(e,t){return{interpolate(e,n){let r=e.get(),i=n.get(),a=ky(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 Ui(e,t){return t===0?Math.round(e):(t-=t|0,t<0&&(t=1-t),Math.round(e-t)+t)}function Wi(e){return Math.round(e*2)/2}function Gi(e,t){return{x:e,y:t}}function Ki(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 ra(e,t,n){let r,i,a;if(e=oa(e,360),t=oa(t*100,100),n=oa(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=na(s,o,e+1/3),i=na(s,o,e),a=na(s,o,e-1/3)}return{r:r*255,g:i*255,b:a*255}}function ia(e,t,n){e=oa(e,255),t=oa(t,255),n=oa(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 _a({r:e,g:t,b:n,a:r}){return{r:ga(e),g:ga(t),b:ga(n),a:r}}function va({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 ka(){return K.location.origin===`https://screenshot.framer.invalid`}function Aa({children:e}){if(C(eb).top)return _(O,{children:e});let t=w({byId:{},byName:{},byLastId:{},byPossibleId:{},byLastName:{},byLayoutId:{},count:{byId:{},byName:{}}}),n=w({byId:{},byName:{},byLastId:{},byPossibleId:{},byLastName:{},byLayoutId:{}}),r=w(new Set).current,i=w({getLayoutId:c(({id:e,name:i,duplicatedFrom:a})=>{if(!e)return null;let o=i?`byName`:`byId`,s=t.current[o][e];if(s)return s;let c=i||e;if(!a&&!r.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),r.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===i;d&&!r.has(d)&&(!i||n)&&(l=[d,c])}let f=u?t.current.byLayoutId[u]:void 0,p=!f||f===i;if(u&&!r.has(u)&&(!i||p))return n.current[o][e]=u,n.current.byLastId[c]=u,r.add(u),u}let u=t.current.byLastId[e];if(u&&!r.has(u))return r.add(u),n.current.byId[e]=u,u;if(l){let[t,i]=l;return n.current[o][e]=t,n.current.byLastId[i]=t,r.add(t),t}let d=t.current.byPossibleId[e];if(d&&!r.has(d))return r.add(d),n.current.byId[e]=d,d;let f=a?.[0],p=i||f||e,{layoutId:m,value:h}=ja(p,(t.current.count[o][p]??-1)+1,r);if(t.current.count[o][p]=h,n.current[o][e]=m,a?.length&&!i){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:{}},r.clear()},[]),top:!0,enabled:!0}).current;return _(eb.Provider,{value:i,children:e})}function ja(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 Ma({enabled:e=!0,...t}){let n=C(eb),r=s(()=>({...n,enabled:e}),[e]);return _(eb.Provider,{...t,value:r})}function Na(e){let t=w(null);return t.current===null&&(t.current=e()),t.current}function Pa(e){let{error:t,file:n}=e,r=n?`Error in ${Fa(n)}`:`Error`,i=t instanceof Error?t.message:``+t;return T(`div`,{style:nb,children:[_(`div`,{className:`text`,style:ib,children:r}),i&&_(`div`,{className:`text`,style:ab,children:i})]})}function Fa(e){return e.startsWith(`./`)?e.replace(`./`,``):e}function U(e){return Number.isFinite(e)}function Ia(e){return!e||!Object.keys(e).length&&e.constructor===Object}function La(e){return typeof e!=`string`&&typeof e!=`number`}function Ra(e){return e!=null&&typeof e!=`boolean`&&!Ia(e)}function za(e){return Math.PI/180*e}function Ba(e){return dt(e)?!1:e===2||e===5}function Va(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 Ua(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 Ua(e){switch(e){case`minWidth`:case`minHeight`:return-1/0;case`maxWidth`:case`maxHeight`:return 1/0;default:H(e,`unknown constraint key`)}}function Wa(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 Ga(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 Ka(e,t,n,r,i){let a=Ga(U(e)?e:ub,n,r,i),o=Wa(U(t)?t:db,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 qa(e,t){return!U(e)||!U(t)?null:e+t}function Ja(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 Ya(e){return!e._constraints||Ja(e)?!1:e._constraints.enabled}function Xa(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 Za(e){let t=Xa(e);if(t===null)return null;let{left:n,top:r}=e;return U(n)&&U(r)?{x:n,y:r,...t}:null}function Qa(e,t,n=!0){if(e.positionFixed||e.positionAbsolute)return null;let r=t===1||t===2;if(!Ya(e)||r)return Za(e);let i=$a(e),a=eo(t),o=a?{sizing:a,positioning:a,viewport:null}:null;return lb.toRect(i,o,null,n,null)}function $a(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=cb.quickfix({left:U(t),right:U(n),top:U(r),bottom:U(i),widthType:Va(c),heightType:Va(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 eo(e){return e===0||e===1||e===2?null:e}function to(){return M.useContext(fb).parentSize}function no(e){return typeof e==`object`}function ro(e){return no(e)?e.width:e}function io(e){return no(e)?e.height:e}function ao(e,t){return _(pb,{parentSize:t,children:e})}function oo(e){return Qa(e,to(),!0)}function so({width:e,height:t}){return e===`auto`||e===`min-content`||t===`auto`||t===`min-content`}function co(e,t,n=gb){if(!(!e||n.has(e)||typeof document>`u`)){if(n.add(e),!t){if(!_b){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)_b=e.sheet;else{console.warn(`not injecting CSS: injected