import{n as e}from"./rolldown-runtime.RTMfX2H6.mjs";import{A as t,C as n,D as r,E as i,F as a,H as o,I as s,L as c,M as l,N as u,P as d,R as f,S as p,T as m,U as h,V as g,_,a as v,b as y,c as b,d as x,f as S,g as C,h as w,i as T,j as E,l as D,m as O,p as k,s as ee,u as A,v as j,w as te,y as ne,z as M}from"./react.Bb2ZOQh5.mjs";import{$ as re,A as ie,B as ae,C as oe,D as se,E as ce,F as le,G as ue,H as de,I as fe,J as pe,K as me,L as he,M as ge,O as N,P as _e,Q as ve,S as ye,T as P,U as be,V as xe,W as Se,X as F,Y as Ce,Z as I,_ as we,a as Te,b as Ee,c as De,d as Oe,et as L,f as ke,g as Ae,h as je,i as Me,j as Ne,k as Pe,l as Fe,m as Ie,n as Le,nt as Re,o as ze,p as Be,q as Ve,r as He,rt as Ue,s as We,tt as Ge,u as Ke,v as qe,w as Je,x as Ye,y as Xe,z as Ze}from"./motion.-_FWFWk0.mjs";function Qe(e){return typeof e==`function`}function $e(e){return typeof e==`boolean`}function R(e){return typeof e==`string`}function z(e){return Number.isFinite(e)}function et(e){return Array.isArray(e)}function B(e){return typeof e==`object`&&!!e&&!et(e)}function tt(e){for(let t in e)return!1;return!0}function nt(e){return e===void 0}function rt(e){return e===null}function it(e){return e==null}function at(e){return e instanceof Date&&!Number.isNaN(e.getTime())}function ot(e){return B(e)&&Qe(e.return)}function st(e){return B(e)&&Qe(e.then)}function ct(e){return e instanceof Promise}function lt(e){return`url('data:image/svg+xml,${e.replaceAll(`#`,`%23`).replaceAll(`'`,`%27`)}')`}function ut(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 dt(){if(!ig)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=>(cg.set(e,t),t)).catch(t=>{throw cg.delete(e),console.warn(`Failed to import lazy module: ${n}`,t),t});r.catch(rg),cg.set(e,r)}}function ft(e){return typeof e==`object`&&!!e&&!O(e)&&ug in e}function pt(e,t){if(t in e)return e[t];throw Error(`Module does not contain export '${t}'`)}function mt(e,t=`default`,n){let r,i,a,o=()=>{if(i||!n||!cg.has(n))return;let e=cg.get(n);ct(e)?c(()=>e):i=pt(e,t)},c=e=>i?Promise.resolve(i):(r||=e().then(e=>{let n=pt(e,t);return i=n,n}).catch(e=>{a=e}),r),l=!1,u=j(function(t,r){if(s(()=>{l=!0},[]),a)throw a;if(o(),n!==void 0&&lg!==void 0&&lg.add(n),!i)throw c(e);return A(i,{ref:r,...t})});return u.preload=()=>(o(),c(e)),u.getStatus=()=>({hasLoaded:i!==void 0,hasRendered:l}),u}function ht(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function gt(e){return e===null||!(fg in e)?!1:typeof e.equals==`function`}function _t(e,t){return e===t?!0:e!==e&&t!==t}function vt(e,t){let n=e.length;if(n!==t.length)return!1;for(let r=n;r--!==0;)if(!_t(e[r],t[r]))return!1;return!0}function yt(e,t){let n=e.length;if(n!==t.length)return!1;for(let r=n;r--!==0;)if(!Tt(e[r],t[r],!0))return!1;return!0}function bt(e,t){if(e.size!==t.size)return!1;for(let[n,r]of e.entries())if(!_t(r,t.get(n)))return!1;return!0}function xt(e,t){if(e.size!==t.size)return!1;for(let[n,r]of e.entries())if(!Tt(r,t.get(n),!0))return!1;return!0}function St(e,t){if(e.size!==t.size)return!1;for(let n of e.keys())if(!t.has(n))return!1;return!0}function Ct(e,t){let n=dg(e);if(n.length!==dg(t).length)return!1;for(let r of n)if(!ht(t,r)||!(r===`_owner`&&ht(e,`$$typeof`)&&e.$$typeof)&&!_t(e[r],t[r]))return!1;return!0}function wt(e,t){let n=dg(e);if(n.length!==dg(t).length)return!1;for(let r of n)if(!ht(t,r)||!(r===`_owner`&&ht(e,`$$typeof`)&&e.$$typeof)&&!Tt(e[r],t[r],!0))return!1;return!0}function Tt(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?yt(e,t):vt(e,t);if(i!==a)return!1;let o=e instanceof Map,s=t instanceof Map;if(o&&s)return n?xt(e,t):bt(e,t);if(o!==s)return!1;let c=e instanceof Set,l=t instanceof Set;if(c&&l)return St(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?gt(e)&&gt(t)?e.equals(t):n?wt(e,t):Ct(e,t):!1}function Et(e,t,n=!0){try{return Tt(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 Dt(e){return n.useCallback(t=>e[t],[e])}function Ot({api:e,children:t}){return A(pg.Provider,{value:e,children:t})}function kt(){return n.useContext(pg)}function At({routes:e,children:t}){let n=Dt(e),r=d(()=>({getRoute:n}),[n]);return A(pg.Provider,{value:r,children:t})}function jt(){let e=kt(),t=u(mg),n=t?.routeId??e.currentRouteId,r=t?.routeId?t.pathVariables:e.currentPathVariables,i=n?e.getRoute?.(n):void 0;return d(()=>{if(!(!n||!i))return{...i,id:n,pathVariables:r}},[n,r,i])}function Mt(){let e=jt();if(e)return`${e.id}-${JSON.stringify(e.pathVariables)}`}function Nt(e){let t=jt(),r=n.useRef(t);Et(r.current,t)||!t||(r.current=t,e(t))}function Pt(e){let t=kt();if(e)return t.getRoute?.(e)}function Ft(e,t){if(t&&e)return e.elements&&t in e.elements?e.elements[t]:t}function It(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<t.length;r++)document.addEventListener(t[r],n,{signal:e});return()=>{for(let e=0;e<t.length;e++)document.removeEventListener(t[e],n)}}function Lt(e,t){let r=jt(),i=Pt(t)??r;return n.useMemo(()=>i?Ft(i,e):e,[e,i])}function V(e,...t){if(e)return;let n=Error(`Assertion Error`+(t.length>0?`: `+t.join(` `):``));if(n.stack)try{let e=n.stack.split(`
`);e[1]?.includes(`assert`)?(e.splice(1,1),n.stack=e.join(`
`)):e[0]?.includes(`assert`)&&(e.splice(0,1),n.stack=e.join(`
`))}catch{}throw n}function H(e,t){throw t||Error(e?`Unexpected value: ${e}`:`Application entered invalid state`)}function Rt(e){return Object(e)!==e}function zt(e){let t=Object.getPrototypeOf(e);return t===Object.prototype||t===null||Object.getPrototypeOf(t)===null||Object.getOwnPropertyNames(t).sort().join(`\0`)===Cg}function Bt(e){return Object.prototype.toString.call(e).slice(8,-1)}function Vt(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 Ht(e){let t=``,n=0,r=e.length;for(let i=0;i<r;i+=1){let r=e[i],a=Vt(r);a&&(t+=e.slice(n,i)+a,n=i+1)}return`"${n===0?e:t+e.slice(n)}"`}function Ut(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.getOwnPropertyDescriptor(e,t).enumerable)}function Wt(e){return wg.test(e)?`.`+e:`[`+JSON.stringify(e)+`]`}function Gt(e){let t=new DataView(e),n=``;for(let r=0;r<e.byteLength;r++)n+=String.fromCharCode(t.getUint8(r));return Jt(n)}function Kt(e){let t=qt(e),n=new ArrayBuffer(t.length),r=new DataView(n);for(let e=0;e<n.byteLength;e++)r.setUint8(e,t.charCodeAt(e));return n}function qt(e){e.length%4==0&&(e=e.replace(/==?$/,``));let t=``,n=0,r=0;for(let i=0;i<e.length;i++)n<<=6,n|=Tg.indexOf(e[i]),r+=6,r===24&&(t+=String.fromCharCode((n&16711680)>>16),t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255),n=r=0);return r===12?(n>>=4,t+=String.fromCharCode(n)):r===18&&(n>>=2,t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255)),t}function Jt(e){let t=``;for(let n=0;n<e.length;n+=3){let r=[void 0,void 0,void 0,void 0];r[0]=e.charCodeAt(n)>>2,r[1]=(e.charCodeAt(n)&3)<<4,e.length>n+1&&(r[1]|=e.charCodeAt(n+1)>>4,r[2]=(e.charCodeAt(n+1)&15)<<2),e.length>n+2&&(r[2]|=e.charCodeAt(n+2)>>6,r[3]=e.charCodeAt(n+2)&63);for(let e=0;e<r.length;e++)r[e]===void 0?t+=`=`:t+=Tg[r[e]]}return t}function Yt(e,t){return Xt(JSON.parse(e),t)}function Xt(e,t){if(typeof e==`number`)return a(e,!0);if(!Array.isArray(e)||e.length===0)throw Error(`Invalid input`);let n=e,r=Array(n.length),i=null;function a(e,o=!1){if(e===Eg)return;if(e===Og)return NaN;if(e===kg)return 1/0;if(e===Ag)return-1/0;if(e===jg)return-0;if(o||typeof e!=`number`)throw Error(`Invalid input`);if(e in r)return r[e];let s=n[e];if(!s||typeof s!=`object`)r[e]=s;else if(Array.isArray(s))if(typeof s[0]==`string`){let o=s[0],c=t&&Object.hasOwn(t,o)?t[o]:void 0;if(c){let t=s[1];if(typeof t!=`number`&&(t=n.push(s[1])-1),i??=new Set,i.has(t))throw Error(`Invalid circular reference`);return i.add(t),r[e]=c(a(t)),i.delete(t),r[e]}switch(o){case`Date`:r[e]=new Date(s[1]);break;case`Set`:let t=new Set;r[e]=t;for(let e=1;e<s.length;e+=1)t.add(a(s[e]));break;case`Map`:let i=new Map;r[e]=i;for(let e=1;e<s.length;e+=2)i.set(a(s[e]),a(s[e+1]));break;case`RegExp`:r[e]=new RegExp(s[1],s[2]);break;case`Object`:r[e]=Object(s[1]);break;case`BigInt`:r[e]=BigInt(s[1]);break;case`null`:let c=Object.create(null);r[e]=c;for(let e=1;e<s.length;e+=2)c[s[e]]=a(s[e+1]);break;case`Int8Array`:case`Uint8Array`:case`Uint8ClampedArray`:case`Int16Array`:case`Uint16Array`:case`Int32Array`:case`Uint32Array`:case`Float32Array`:case`Float64Array`:case`BigInt64Array`:case`BigUint64Array`:{if(n[s[1]][0]!==`ArrayBuffer`)throw Error(`Invalid data`);let t=globalThis[o],i=new t(a(s[1]));r[e]=s[2]===void 0?i:i.subarray(s[2],s[3]);break}case`ArrayBuffer`:{let t=s[1];if(typeof t!=`string`)throw Error(`Invalid ArrayBuffer encoding`);r[e]=Kt(t);break}case`Temporal.Duration`:case`Temporal.Instant`:case`Temporal.PlainDate`:case`Temporal.PlainTime`:case`Temporal.PlainDateTime`:case`Temporal.PlainMonthDay`:case`Temporal.PlainYearMonth`:case`Temporal.ZonedDateTime`:{let t=o.slice(9);r[e]=Temporal[t].from(s[1]);break}case`URL`:r[e]=new URL(s[1]);break;case`URLSearchParams`:r[e]=new URLSearchParams(s[1]);break;default:throw Error(`Unknown type ${o}`)}}else{let t=Array(s.length);r[e]=t;for(let e=0;e<s.length;e+=1){let n=s[e];n!==Dg&&(t[e]=a(n))}}else{let t={};for(let n in r[e]=t,s){if(n===`__proto__`)throw Error("Cannot parse an object with a `__proto__` property");let e=s[n];t[n]=a(e)}}return r[e]}return a(0)}function Zt(e,t){let n=[],r=new Map,i=[];if(t)for(let e of Object.getOwnPropertyNames(t))i.push({key:e,fn:t[e]});let a=[],o=0;function s(t){if(t===void 0)return Eg;if(Number.isNaN(t))return Og;if(t===1/0)return kg;if(t===-1/0)return Ag;if(t===0&&1/t<0)return jg;if(r.has(t))return r.get(t);let c=o++;r.set(t,c);for(let{key:e,fn:r}of i){let i=r(t);if(i)return n[c]=`["${e}",${s(i)}]`,c}if(typeof t==`function`)throw new Sg(`Cannot stringify a function`,a,t,e);let l=``;if(Rt(t))l=Qt(t);else{let n=Bt(t);switch(n){case`Number`:case`String`:case`Boolean`:l=`["Object",${Qt(t)}]`;break;case`BigInt`:l=`["BigInt",${t}]`;break;case`Date`:l=`["Date","${isNaN(t.getDate())?``:t.toISOString()}"]`;break;case`URL`:l=`["URL",${Ht(t.toString())}]`;break;case`URLSearchParams`:l=`["URLSearchParams",${Ht(t.toString())}]`;break;case`RegExp`:let{source:r,flags:i}=t;l=i?`["RegExp",${Ht(r)},"${i}"]`:`["RegExp",${Ht(r)}]`;break;case`Array`:l=`[`;for(let e=0;e<t.length;e+=1)e>0&&(l+=`,`),e in t?(a.push(`[${e}]`),l+=s(t[e]),a.pop()):l+=Dg;l+=`]`;break;case`Set`:l=`["Set"`;for(let e of t)l+=`,${s(e)}`;l+=`]`;break;case`Map`:l=`["Map"`;for(let[e,n]of t)a.push(`.get(${Rt(e)?Qt(e):`...`})`),l+=`,${s(e)},${s(n)}`,a.pop();l+=`]`;break;case`Int8Array`:case`Uint8Array`:case`Uint8ClampedArray`:case`Int16Array`:case`Uint16Array`:case`Int32Array`:case`Uint32Array`:case`Float32Array`:case`Float64Array`:case`BigInt64Array`:case`BigUint64Array`:{let e=t;l=`["`+n+`",`+s(e.buffer);let r=t.byteOffset,i=r+t.byteLength;if(r>0||i!==e.buffer.byteLength){let e=/(\d+)/.exec(n)[1]/8;l+=`,${r/e},${i/e}`}l+=`]`;break}case`ArrayBuffer`:l=`["ArrayBuffer","${Gt(t)}"]`;break;case`Temporal.Duration`:case`Temporal.Instant`:case`Temporal.PlainDate`:case`Temporal.PlainTime`:case`Temporal.PlainDateTime`:case`Temporal.PlainMonthDay`:case`Temporal.PlainYearMonth`:case`Temporal.ZonedDateTime`:l=`["${n}",${Ht(t.toString())}]`;break;default:if(!zt(t))throw new Sg(`Cannot stringify arbitrary non-POJOs`,a,t,e);if(Ut(t).length>0)throw new Sg(`Cannot stringify POJOs with symbolic keys`,a,t,e);if(Object.getPrototypeOf(t)===null){for(let e in l=`["null"`,t)a.push(Wt(e)),l+=`,${Ht(e)},${s(t[e])}`,a.pop();l+=`]`}else{l=`{`;let e=!1;for(let n in t)e&&(l+=`,`),e=!0,a.push(Wt(n)),l+=`${Ht(n)}:${s(t[n])}`,a.pop();l+=`}`}}}return n[c]=l,c}let c=s(e);return c<0?`${c}`:`[${n.join(`,`)}]`}function Qt(e){let t=typeof e;return t===`string`?Ht(e):e instanceof String?Ht(e.toString()):e===void 0?Eg.toString():e===0&&1/e<0?jg.toString():t===`bigint`?`["BigInt","${e}"]`:String(e)}function $t(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}}}function en(){return{[Ng.QueryCache]:new Map,[Ng.CollectionUtilsCache]:new Map}}function tn(){if(!ig)return;if(Pg!==void 0)return Pg;let e=document.getElementById(`__framer__handoverData`);if(e){try{Pg=Yt(e.text)??en()}catch(e){Pg=en(),console.warn(`Failed to parse handover data. Falling back to network.`,e)}return sg(()=>{e?.remove(),e=null}),Pg}}function nn(e,t){if(console.warn(ut(`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;$t(`published_site_load_error`,{message:String(e),stack:t})}}function rn(e,t){let n=tn();return n?n[e].has(t):!1}function an(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 on(e){return e?.id??yg}function sn(e,t,n,r){return`${e}|${t}|${n}|${r}`}function cn(e){return t=>{if(!e)return;let n=e[t];if(!n)return;if(Rg.has(n))return Rg.get(n);let r=new Bg(n,t);return Rg.set(n,r),r}}function ln({children:e,collectionUtils:t}){let n=d(()=>({get:cn(t)}),[t]);return A(zg.Provider,{value:n,children:e})}function un(){return u(zg)}function dn(){for(let e of Ug)e();Ug.clear()}function fn(e){return new Promise(t=>{if(Ug.add(t),document.hidden){dn();return}document.addEventListener(`visibilitychange`,dn),document.addEventListener(`pagehide`,dn),je.read(()=>{mn(e).then(()=>{Ug.delete(t),!e?.signal?.aborted&&t()})})})}function pn(e){return new Promise(t=>{setTimeout(t,100),je.read(()=>{mn(e).then(t)},!1,!0)})}function mn(e){let t=e?.priority;return Vg||Hg?t===`background`?new Promise(e=>{setTimeout(e,1)}):Vg?K.scheduler.yield(e).catch(rg):K.scheduler.postTask(()=>{},e).catch(rg):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(){let e=un(),{autobahnNavigation:t}=vg(),{getRoute:n}=kt();return a((r,i,a=!0,o=!0)=>{if(!r||!n)return;let s=n(r),{pathVariables:c,locale:l}=i;return vn(s,{routeId:r,pathVariables:c,locale:l,collectionUtils:e},a,o&&t)},[n,e,t])}function _n(e,t=!0){let n=gn();s(()=>{if(!(!t||!Wg))for(let t of e)n(t,{})},[e,t,n])}async function vn(e,t,n=!0,r=!0){if(!Wg||!e)return;let i=e.page;if(!(!i||!ft(i))){n&&await hn();try{let e=await i.preload();r&&t&&e&&await yn(e,t)}catch{}}}async function yn(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 bn(e,t){if(!e.startsWith(`/`)||!t.startsWith(`/`))throw Error(`from/to paths are expected to be absolute`);let[n]=xn(e),[r,i]=xn(t),a=Sn(n,r);return a===``&&(a=`.`),!a.startsWith(`.`)&&!a.startsWith(`/`)&&(a=`./`+a),a+`/`+i}function xn(e){let t=e.lastIndexOf(`/`);return[e.substring(0,t+1),e.substring(t+1)]}function Sn(e,t){if(e===t||(e=`/`+Cn(e),t=`/`+Cn(t),e===t))return``;let n=e.length,r=n-1,i=t.length-1,a=r<i?r:i,o=-1,s=0;for(;s<a;s++){let n=qg(e,1+s);if(n!==qg(t,1+s))break;n===Kg&&(o=s)}if(s===a)if(i>a){if(qg(t,1+s)===Kg)return Yg(t,1+s+1);if(s===0)return Yg(t,1+s)}else r>a&&(qg(e,1+s)===Kg?o=s:s===0&&(o=0));let c=``;for(s=1+o+1;s<=n;++s)(s===n||qg(e,s)===Kg)&&(c+=c.length===0?`..`:`/..`);return`${c}${Yg(t,1+o)}`}function Cn(e){let t=``,n=0,r=-1,i=0,a=0;for(let o=0;o<=e.length;++o){if(o<e.length)a=qg(e,o);else if(Qg(a))break;else a=Kg;if(Qg(a)){if(!(r===o-1||i===1))if(i===2){if(t.length<2||n!==2||qg(t,t.length-1)!==Gg||qg(t,t.length-2)!==Gg){if(t.length>2){let e=Jg(t,Zg);e===-1?(t=``,n=0):(t=Yg(t,0,e),n=t.length-1-Jg(t,Zg)),r=o,i=0;continue}else if(t.length!==0){t=``,n=0,r=o,i=0;continue}}Xg&&(t+=t.length>0?`${Zg}..`:`..`,n=2)}else t.length>0?t+=`${Zg}${Yg(e,r+1,o)}`:t=Yg(e,r+1,o),n=o-r-1;r=o,i=0}else a===Gg&&i!==-1?++i:i=-1}return t}function wn(e,t){return e.replace(e_,(e,n)=>{let r=t[n];return typeof r!=`string`||r.length===0?e:encodeURIComponent(r)})}function Tn(e){let t=h===void 0?``:h.location.search;return t?En(t,e):e}function En(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!==t_&&c.append(e,t);let u=c.toString();return u===``?r+i:o+`?`+u+i}async function Dn(e,t,n,r,i,a,o){let s=e,c=!1,l={...a},u=Array.from(s.matchAll(e_)),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=ct(p)?await p:p;if(!m)return d;let h=f.getSlugByRecordId(m,n),g=ct(h)?await h:h;if(!g){c=!0;let e=f.getSlugByRecordId(m,r),t=ct(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<u.length;e++){let t=u[e],n=d[e];!t||!n||(p+=s.substring(f,t.index),f=(t.index??0)+(t[0]?.length??0),p+=d[e],m=!0)}return m&&(p+=s.substring(f),s=p),{path:s,pathVariables:l,isMissingInLocale:c}}async function On({currentLocale:e,nextLocale:t,defaultLocale:n,route:r,pathVariables:i,collectionUtils:a,preserveQueryParams:o}){let{path:s,pathLocalized:c}=r,l=c?.[t.id]??s,u={path:l,pathVariables:i,isMissingInLocale:!1};if(!l)return u;if(i&&r.collectionId)try{u=await Dn(l,e,t,n,r.collectionId,i,a)}catch{}return t.slug&&(u.path=`/`+t.slug+u.path),o&&u.path&&(u.path=Tn(u.path)),u}function kn(e){if(!e)return``;let t;try{t=new URL(e)}catch{return``}return t.pathname===`/`||h.location.origin!==t.origin?``:t.pathname.endsWith(`/`)?t.pathname.slice(0,-1):t.pathname}function An({children:e,value:t}){return A(n_.Provider,{value:t,children:e})}function jn(){return n.useContext(n_)}function Mn(e,t,{global:n,routes:r}){return r[e]?.[t]||n}function Nn(e){let t=r_,n=e.next(0),r=[n.value];for(;!n.done&&t<i_;)n=e.next(t),r.push(n.value),t+=r_;return r.length===1&&r.push(n.value),{easing:`linear(${r.join(`,`)})`,duration:t-r_}}function Pn(e){return[parseFloat(e),e.endsWith(`px`)?`px`:`%`]}function Fn(e){let{innerWidth:t,innerHeight:n}=h,[r,i]=Pn(e.x),[a,o]=Pn(e.y);return{x:i===`px`?r:r/100*t,y:o===`px`?a:a/100*n}}function In(e,t,n,r){let i=`
      opacity: ${e.opacity};
      transform: translate(${e.x}, ${e.y}) scale(${e.scale}) rotateX(${e.rotateX}deg) rotateY(${e.rotateY}deg) rotateZ(${e.rotate}deg);
    `;return e.mask&&(i+=r?.makeKeyframe?.(e.mask,t,n)||``),i}function Ln(e){return e?o_[e]:void 0}function Rn(e,{transition:t,...n}){let r=`view-transition-`+e,i={duration:`0s`,easing:`linear`};if(t.type===`tween`)i.duration=t.duration+`s`,i.easing=`cubic-bezier(${t.ease.join(`,`)})`;else if(zn(t)){let{easing:e,duration:n}=Nn(se({keyframes:[0,1],...Bn(t),restDelta:.001,restSpeed:1e-4}));i.duration=n+`ms`,i.easing=e}let a=Ln(n?.mask?.type),o=In(n,`start`,e,a),s=In({...s_,mask:n.mask},`end`,e,a);return e===`exit`&&([o,s]=[s,o]),`
        ${n.mask&&a?.makePropertyRules?a.makePropertyRules(n.mask):``}

        @keyframes ${r} {
            0% {
                ${o}
            }

            100% {
                ${s}
            }
        }

        ::view-transition-${e===`enter`?`new`:`old`}(root) {
            animation-name: ${r};
            animation-duration: ${i.duration};
            animation-delay: ${t.delay}s;
            animation-timing-function: ${i.easing};
            animation-fill-mode: both;
            ${n.mask&&a?.makeStyles?a.makeStyles(n.mask,e):``}
        }
    `}function zn(e){return e.type===`spring`}function Bn(e){return e.durationBasedSpring?{duration:e.duration*1e3,bounce:e.bounce}:{stiffness:e.stiffness,damping:e.damping,mass:e.mass}}function Vn({exit:e=l_,enter:t}){let n=document.createElement(`style`);n.id=c_;let r=`
        @media (prefers-reduced-motion) {
            ::view-transition-group(*),
            ::view-transition-old(*),
            ::view-transition-new(*) {
                animation: none !important;
            }
        }
    `;(e.mask||t.mask||e.opacity||t.opacity||e.transition.delay||t.transition.delay)&&(r+=`
            ::view-transition-old(*),
            ::view-transition-new(*) {
                mix-blend-mode: normal;
            }
        `),r+=`
        ::view-transition-old(*),
        ::view-transition-new(*) {
            backface-visibility: hidden;
        }
    `,r+=Rn(`exit`,e),r+=Rn(`enter`,t),n.textContent=r,document.head.appendChild(n)}function Hn(){sg(()=>{je.render(()=>{performance.mark(`framer-vt-remove`);let e=document.getElementById(c_);e&&document.head.removeChild(e)})})}function Un(){return!!document.startViewTransition}function Wn(e){return new Promise(t=>{je.render(()=>{performance.mark(`framer-vt-style`),Vn(e),t()})})}async function Gn(e,t,n){if(!Un()){e();return}if(await Wn(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(u_),Promise.all([r.ready,r.finished]).then(()=>{performance.mark(`framer-vt-finished`),Hn()}).catch(u_),r}function Kn(){let e=jn(),t=E(void 0);return s(()=>{t.current&&=(t.current(),void 0)}),a((n,r,i,a)=>{let o=Mn(n,r,e);if(o){let e=new Promise(e=>{t.current=e});return Gn(async()=>{i(),await e},o,a)}i()},[e])}function qn(e,t){sg(()=>{let n=document.querySelector(`link[rel='canonical']`);if(!n)return;let r=new URL(e,t);r.search=``,n.setAttribute(`href`,r.toString())})}function Jn(e,t,n,r=te){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 Yn(e){let t=E(void 0);return Jn(()=>{t.current&&=(t.current(),void 0)},void 0,{priority:`user-blocking`}),a(n=>{let r=new Promise(e=>{t.current=e});if(!e)return{promise:r,measureDetail:n,ignore:null};let i=`${e}-start`,a=`${e}-end`,o=!1;return performance.mark(i),r.finally(()=>{o||(performance.mark(a),performance.measure(e,{start:i,end:a,detail:n}))}).catch(e=>{console.error(e)}),{promise:r,measureDetail:n,ignore:()=>{o=!0,t.current?.(),t.current=void 0}}},[e])}async function Xn(e,t,{currentRoutePath:n,currentRoutePathLocalized:r,currentPathVariables:i,hash:a,pathVariables:o,localeId:s,preserveQueryParams:c,siteCanonicalURL:l},u=!1){let{path:d}=t;if(!d)return;let f=rr(t,{currentRoutePath:n,currentRoutePathLocalized:r,currentPathVariables:i,hash:a,pathVariables:o,preserveQueryParams:c,siteCanonicalURL:l,localeId:s});try{return await $n({routeId:e,hash:a,pathVariables:o,localeId:s},f,u)}catch{}}function Zn(e){return B(e)&&R(e.routeId)}function Qn(e,t,n=!1){performance.mark(`framer-history-replace`),(n?h.history.__proto__.replaceState:h.history.replaceState).call(h.history,e,``,t)}async function $n(e,t,n=!1){if(performance.mark(`framer-history-push`),qn(t,h.location.href),!n){h.history.pushState(e,``,t);return}let r=!1,i;p_&&(i=()=>{if(r=!0,m_)return;let e=`Popstate called after intercept(). Please report this to the Framer team.`;console.error(e),$t(`published_site_load_recoverable_error`,{message:e})},h.addEventListener(`popstate`,i,{once:!0})),m_&&p_?h.history.__proto__.pushState.call(h.history,e,``,t):h.history.pushState(e,``,t),p_&&queueMicrotask(()=>{r||(p_=!1,h.removeEventListener(`popstate`,i))})}function er({disabled:e,routeId:t,initialPathVariables:n,initialLocaleId:r}){te(()=>{e||(performance.mark(`framer-history-set-initial-state`),Qn({routeId:t,pathVariables:n,localeId:r},void 0,!0))},[])}function tr(e,t){let n=Kn(),r=Yn(`framer-route-change`),i=E(void 0),o=a(async({state:a})=>{if(h.navigation?.transition&&h.navigation?.transition?.navigationType!==`traverse`||!B(a))return;let{routeId:o,hash:s,pathVariables:c,localeId:l}=a;if(!R(o))return;let u=r({popstate:!0}),d=It();u.promise.finally(d);let f=await n(e.current,o,()=>{t(o,R(l)?l:void 0,R(s)?s:void 0,h.location.pathname+h.location.search+h.location.hash,B(c)?c:void 0,!0,u,!1)}),p=h.navigation?.transition;await(f?.updateCallbackDone??Promise.resolve()).then(i.current?.resolve).catch(i.current?.reject),await u.promise;try{await p?.finished}catch(e){console.warn(`Popstate transition failed`,e)}f_(),qn(h.location.href)},[e,r,t,n]),c=a(e=>{e.navigationType!==`traverse`||!e.canIntercept||e.intercept({async handler(){await new Promise((e,t)=>{i.current={resolve:e,reject:t}}),i.current=void 0},scroll:`after-transition`})},[]);s(()=>(h.addEventListener(`popstate`,o),h_&&h.navigation.addEventListener(`navigate`,c),()=>{h.removeEventListener(`popstate`,o),h_&&h.navigation.removeEventListener(`navigate`,c)}),[o,c])}function nr(e,t,n){let r=Ft(t,e);if(!r)return;let i=Object.assign({},t?.elements,n);return r.replace(e_,(e,t)=>i[t]??e)}function rr(e,{currentRoutePath:t,currentRoutePathLocalized:n,currentPathVariables:r,hash:i,pathVariables:a,hashVariables:o,relative:s=!0,preserveQueryParams:c,onlyHash:l=!1,siteCanonicalURL:u,localeId:d}){let f=nr(i,e,o);if(l)return f??``;let p=t??`/`;n&&d&&(p=n[d]??p),r&&(p=p.replace(e_,(e,t)=>String(r[t]||e)));let m=(d?e?.pathLocalized?.[d]:void 0)??e?.path??`/`;a&&(m=m.replace(e_,(e,t)=>String(a[t]||e)));let g=p===m&&f;if(s)if($g.has(p)&&h!==void 0){let e=kn(u);m=bn(h.location.pathname,e+m)}else m=bn(p,m);return(c||g)&&(m=Tn(m)),f&&(m=`${m}#${f}`),m}async function ir(e,t,n){if(!e.path||!t)return!1;let r=`${n.slug?`/${n.slug}`:``}${wn(e.path,t)}`;return(await fetch(r,{method:`HEAD`,redirect:`manual`})).type===`opaqueredirect`?(h.location.href=h.location.origin+r,!0):!1}function ar(){let e=un();return a(t=>or({...t,collectionUtils:e}),[e])}async function or(e){let t=await On(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 ir(e.route,t.pathVariables,e.nextLocale))return}catch{}return t}}function sr(){let e=E(Promise.resolve()),t=E(),n=a(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 a((r,i,a)=>{if(!h_){i();return}e.current=r,t.current=a,h.navigation.addEventListener(`navigate`,n),i(!0),r.finally(()=>{h.navigation.removeEventListener(`navigate`,n)})},[n])}function cr(e){let t=0,n=e.length;for(;t<n&&e[t]===`-`;)t++;for(;n>t&&e[n-1]===`-`;)n--;return e.slice(t,n)}function lr(e){return cr(e.trim().toLowerCase().replace(g_,`-`))}function ur({children:e,value:t}){return A(v_.Provider,{value:t,children:e})}function dr(){return u(v_)}function fr(e,t){let n=f(()=>({inputs:t,result:e()}))[0],r=E(!0),i=E(n),a=r.current||t&&i.current.inputs&&Et(t,i.current.inputs,!1)?i.current:{inputs:t,result:e()};return s(()=>{r.current=!1,i.current=a},[a]),a.result}function pr(){return n.useContext(x_)}function mr({children:e}){let n=E(null),r=dr()===`preview`,[i,o]=f(``),s=p(e=>{n.current=e;let t=()=>{e()};return h.addEventListener(`popstate`,t),()=>{n.current=null,h.removeEventListener(`popstate`,t)}},()=>h.location.search,()=>``),c=t(r?i:s),l=a(async e=>{if(r){ne(()=>{o(t=>e(new URLSearchParams(t)).toString())});return}await hn({continueAfter:`paint`});let t=h.history.state,i=new URL(h.location.href);i.search=e(i.searchParams).toString(),Qn(t,i.toString()),n.current?.()},[r]),u=fr(()=>({urlSearchParams:new URLSearchParams(c),replaceSearchParams:l}),[c,l]);return A(C_.Provider,{value:u,children:e})}function hr(){if(!w_)return;E_=!0,performance.mark(`framer-react-event-handling-start`);let e={capture:!0},t=document.body;w_.forEach(n=>t.addEventListener(n,T_,e))}function gr(){return s(()=>{if(!E_||!w_)return;let e={capture:!0},t=document.body;w_.forEach(n=>t.removeEventListener(n,T_,e)),w_=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(){K_=new G_,K_.render.markStart()}function br(){m(()=>{K_?.useInsertionEffects.markRouterStart()},[]),te(()=>{K_?.useLayoutEffects.markRouterStart()},[]),s(()=>{K_?.useEffects.markRouterStart()},[])}function xr(){m(()=>{K_?.render.markEnd(),K_?.useInsertionEffects.markStart()},[]),te(()=>{if(K_?.useLayoutEffects.markStart(),document.visibilityState!==`visible`){q_=!0;return}je.read(()=>{K_?.browserRendering.requestAnimationFrame.markStart(),K_?.unattributedHydrationOverhead.measure()})},[]),s(()=>{K_?.useEffects.markStart(),K_?.browserRendering.hasStarted||(K_?.mutationEffects.measure(),K_?.useEffects.markAreSynchronous())},[])}function Sr(){m(()=>{K_?.useInsertionEffects.markEnd()},[]),te(()=>{K_?.useLayoutEffects.markEnd(),!(q_||document.visibilityState!==`visible`)&&je.read(()=>{K_?.browserRendering.requestAnimationFrame.markEnd(),hn().then(()=>{K_?.browserRendering.layoutStylePaint.markEnd()})})},[]),s(()=>{K_?.useEffects.markEnd()},[])}function Cr(){return xr(),null}function wr(){return Sr(),null}function Tr(e,t){let r={style:t,"data-framer-root":``};return n.isValidElement(e)?n.cloneElement(e,r):A(e,{...r})}function Er(){return Z_}function Dr(e){if(Q_?.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:Ar(a),routeId:r},o))for(let e in o){let t=o[e];V(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}Q_={pathRoutes:t,pathRoutesLocalized:n,paths:r,pathsLocalized:i,lastRoutes:a}}return{pathRoutes:Q_.pathRoutes,paths:Q_.paths,pathRoutesLocalized:Q_.pathRoutesLocalized,pathsLocalized:Q_.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(e_,(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;e<n.length;++e){let t=n[e];if(t===void 0)continue;let r=s[e],i=o[t];if(i){if(i!==r)return{isMatch:!1};continue}if(r===void 0)throw Error(`Path variable values cannot be undefined`);o[t]=r}return{isMatch:!0,pathVariables:o}}function Mr(e){return e.replace(/[|\\{}()[\]^$+*?.]/gu,`\\$&`).replace(/-/gu,`\\x2d`)}function Nr(){if(`PerformanceServerTiming`in h){let e=performance.getEntriesByType(`navigation`)[0]?.serverTiming;if(!e||e.length===0)return new URLSearchParams;let t=e.find(e=>e.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(h===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]),m(()=>{document.title=e.title||``,e.viewport&&document.querySelector(`meta[name="viewport"]`)?.setAttribute(`content`,e.viewport)},[e.title,e.viewport])}function Br(e,...t){$_.has(e)||($_.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&&nv in e&&e[nv]instanceof Function&&rv in e&&e[rv]instanceof Function}function Ur(e,t){return{interpolate(e,n){let r=e.get(),i=n.get(),a=tv(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(o<s){if(u<o)return o;if(u>s)return s}else{if(u>o)return o;if(u<s)return s}return u}function Yr(e){return!Number.isNaN(e)&&Number.isFinite(e)}function Xr(e){let t=Zr(e);return t===void 0?0:e.includes(`%`)?t/100:t}function Zr(e){let t=/\d?\.?\d+/u.exec(e);return t?Number(t[0]):void 0}function Qr(e,t,n){return ov.rgb_r=e/255,ov.rgb_g=t/255,ov.rgb_b=n/255,ov.rgbToHsluv(),{h:ov.hsluv_h,s:ov.hsluv_s,l:ov.hsluv_l}}function $r(e,t,n,r=1){return ov.hsluv_h=e,ov.hsluv_s=t,ov.hsluv_l=n,ov.hsluvToRgb(),{r:ov.rgb_r*255,g:ov.rgb_g*255,b:ov.rgb_b*255,a:r}}function ei(e,t,n,r){let i=Math.round(e),a=Math.round(t*100),o=Math.round(n*100);return r===void 0||r===1?`hsv(`+i+`, `+a+`%, `+o+`%)`:`hsva(`+i+`, `+a+`%, `+o+`%, `+r+`)`}function ti(e,t,n){return{r:Yr(e)?ci(e,255)*255:0,g:Yr(t)?ci(t,255)*255:0,b:Yr(n)?ci(n,255)*255:0}}function ni(e,t,n,r){let i=[di(Math.round(e).toString(16)),di(Math.round(t).toString(16)),di(Math.round(n).toString(16))];return r&&i[0].charAt(0)===i[0].charAt(1)&&i[1].charAt(0)===i[1].charAt(1)&&i[2].charAt(0)===i[2].charAt(1)?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0):i.join(``)}function ri(e,t,n){let r,i,a=ci(e,255),o=ci(t,255),s=ci(n,255),c=Math.max(a,o,s),l=Math.min(a,o,s),u=i=r=(c+l)/2;if(c===l)u=i=0;else{let e=c-l;switch(i=r>.5?e/(2-c-l):e/(c+l),c){case a:u=(o-s)/e+(o<s?6:0);break;case o:u=(s-a)/e+2;break;case s:u=(a-o)/e+4;break}u/=6}return{h:u*360,s:i,l:r}}function ii(e,t,n){return n<0&&(n+=1),n>1&&--n,n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function 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<n?6:0);break;case t:o=(n-e)/a+2;break;case n:o=(e-t)/a+4;break}o/=6}return{h:o,s,v:c}}function si(e,t,n){e=ci(e,360)*6,t=ci(t*100,100),n=ci(n*100,100);let r=Math.floor(e),i=e-r,a=n*(1-t),o=n*(1-i*t),s=n*(1-(1-i)*t),c=r%6,l=[n,o,a,a,s,n][c],u=[s,n,n,o,a,a][c],d=[a,a,s,n,n,o][c];return{r:l*255,g:u*255,b:d*255}}function ci(e,t){let n,r;if(n=typeof t==`string`?parseFloat(t):t,typeof e==`string`){li(e)&&(e=`100%`);let t=ui(e);r=Math.min(n,Math.max(0,parseFloat(e))),t&&(r=Math.floor(r*n)/100)}else r=e;return Math.abs(r-n)<1e-6?1:r%n/n}function li(e){return typeof e==`string`&&e.includes(`.`)&&parseFloat(e)===1}function ui(e){return typeof e==`string`&&e.includes(`%`)}function di(e){return e.length===1?`0`+e:``+e}function fi(e){if(e.includes(`gradient(`)||e.includes(`var(`))return!1;let t=e.replace(/^[\s,#]+/u,``).trimEnd().toLowerCase(),n=av[t];if(n&&(t=n),t===`transparent`)return{r:0,g:0,b:0,a:0,format:`name`};let r;return(r=sv.rgb.exec(t))?{r:parseInt(r[1]??``),g:parseInt(r[2]??``),b:parseInt(r[3]??``),a:1,format:`rgb`}:(r=sv.rgba.exec(t))?{r:parseInt(r[1]??``),g:parseInt(r[2]??``),b:parseInt(r[3]??``),a:parseFloat(r[4]??``),format:`rgb`}:(r=sv.hsl.exec(t))?{h:parseInt(r[1]??``),s:Xr(r[2]??``),l:Xr(r[3]??``),a:1,format:`hsl`}:(r=sv.hsla.exec(t))?{h:parseInt(r[1]??``),s:Xr(r[2]??``),l:Xr(r[3]??``),a:parseFloat(r[4]??``),format:`hsl`}:(r=sv.hsv.exec(t))?{h:parseInt(r[1]??``),s:Xr(r[2]??``),v:Xr(r[3]??``),a:1,format:`hsv`}:(r=sv.hsva.exec(t))?{h:parseInt(r[1]??``),s:Xr(r[2]??``),v:Xr(r[3]??``),a:parseFloat(r[4]??``),format:`hsv`}:(r=sv.hex8.exec(t))?{r:pi(r[1]??``),g:pi(r[2]??``),b:pi(r[3]??``),a:mi(r[4]??``),format:n?`name`:`hex`}:(r=sv.hex6.exec(t))?{r:pi(r[1]??``),g:pi(r[2]??``),b:pi(r[3]??``),a:1,format:n?`name`:`hex`}:(r=sv.hex4.exec(t))?{r:pi(`${r[1]}${r[1]}`),g:pi(`${r[2]}${r[2]}`),b:pi(`${r[3]}${r[3]}`),a:mi(r[4]+``+r[4]),format:n?`name`:`hex`}:(r=sv.hex3.exec(t))?{r:pi(`${r[1]}${r[1]}`),g:pi(`${r[2]}${r[2]}`),b:pi(`${r[3]}${r[3]}`),a:1,format:n?`name`:`hex`}:!1}function pi(e){return parseInt(e,16)}function mi(e){return pi(e)/255}function hi(e){let t=cv.exec(e);if(!t)return null;let{r:n=`0`,g:r=`0`,b:i=`0`,a}=t.groups??{};return{r:parseFloat(n),g:parseFloat(r),b:parseFloat(i),a:a?parseFloat(a):1}}function gi(e=0){let t=Math.abs(e);return t<=.04045?e/12.92:(Math.sign(e)||1)*((t+.055)/1.055)**2.4}function _i({r:e,g:t,b:n,a:r}){return{r:gi(e),g:gi(t),b:gi(n),a:r}}function vi(e=0){let t=Math.abs(e);return 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)+(t<n?6:0):i===t?(n-e)/(i-a)+2:(e-t)/(i-a)+4)*60),o}function xi(e){return(e%=360)<0?e+360:e}function Si({h:e=0,s:t=0,v:n=0,a:r=1}){let i=xi(e),a=Math.abs(i/60%2-1);switch(Math.floor(i/60)){case 0:return{r:n,g:n*(1-t*a),b:n*(1-t),a:r};case 1:return{r:n*(1-t*a),g:n,b:n*(1-t),a:r};case 2:return{r:n*(1-t),g:n,b:n*(1-t*a),a:r};case 3:return{r:n*(1-t),g:n*(1-t*a),b:n,a:r};case 4:return{r:n*(1-t*a),g:n*(1-t),b:n,a:r};case 5:return{r:n,g:n*(1-t),b:n*(1-t*a),a:r};default:return{r:n*(1-t),g:n*(1-t),b:n*(1-t),a:r}}}function Ci(e){return fv(dv(e))}function wi(e){return uv(lv(e))}function Ti(e,t,n,r=1){let i;return typeof e==`number`&&!Number.isNaN(e)&&typeof t==`number`&&!Number.isNaN(t)&&typeof n==`number`&&!Number.isNaN(n)?i=Oi({r:e,g:t,b:n,a:r}):typeof e==`string`?i=Ei(e):typeof e==`object`&&(i=e.hasOwnProperty(`r`)&&e.hasOwnProperty(`g`)&&e.hasOwnProperty(`b`)?Oi(e):ki(e)),i}function Ei(e){let t=fi(e);if(t)return t.format===`hsl`?ki(t):t.format===`hsv`?Di(t):Oi(t)}function Di(e){let t=si(e.h,e.s,e.v);return{...ri(t.r,t.g,t.b),...t,format:`rgb`,a:e.a===void 0?1:Ai(e.a)}}function Oi(e){let t=ti(e.r,e.g,e.b);return{...ri(t.r,t.g,t.b),...t,format:`rgb`,a:e.a===void 0?1:Ai(e.a)}}function ki(e){let t,n,r,i={r:0,g:0,b:0},a={h:0,s:0,l:0};return t=Yr(e.h)?e.h:0,t=(t+360)%360,n=Yr(e.s)?e.s:1,typeof e.s==`string`&&(n=Zr(e.s)),r=Yr(e.l)?e.l:.5,typeof e.l==`string`&&(r=Zr(e.l)),i=ai(t,n,r),a={h:t,s:n,l:r},{...i,...a,a:e.a===void 0?1:e.a,format:`hsl`}}function Ai(e){return e=parseFloat(e),e<0&&(e=0),(Number.isNaN(e)||e>1)&&(e=1),e}function ji({children:e}){if(u(Ev).top)return A(D,{children:e});let t=E({byId:{},byName:{},byLastId:{},byPossibleId:{},byLastName:{},byLayoutId:{},count:{byId:{},byName:{}}}),n=E({byId:{},byName:{},byLastId:{},byPossibleId:{},byLastName:{},byLayoutId:{}}),r=E(new Set).current,i=E({getLayoutId:a(({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}=Mi(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<a.length-1;e++){let t=a[e];t!==void 0&&(n.current.byPossibleId[t]||(n.current.byPossibleId[t]=m))}}return n.current.byLayoutId[m]=c,r.add(m),m},[]),persistLayoutIdCache:a(()=>{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 A(Ev.Provider,{value:i,children:e})}function Mi(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 Ni({enabled:e=!0,...t}){let n=u(Ev),r=d(()=>({...n,enabled:e}),[e]);return A(Ev.Provider,{...t,value:r})}function Pi(e){let t=E(null);return t.current===null&&(t.current=e()),t.current}function Fi(e){let{error:t,file:n}=e,r=n?`Error in ${Ii(n)}`:`Error`,i=t instanceof Error?t.message:``+t;return x(`div`,{style:Ov,children:[A(`div`,{className:`text`,style:Av,children:r}),i&&A(`div`,{className:`text`,style:jv,children:i})]})}function Ii(e){return e.startsWith(`./`)?e.replace(`./`,``):e}function U(e){return Number.isFinite(e)}function Li(e){return!e||!Object.keys(e).length&&e.constructor===Object}function Ri(e){return typeof e!=`string`&&typeof e!=`number`}function zi(e){return e!=null&&typeof e!=`boolean`&&!Li(e)}function Bi(e){return e*(Math.PI/180)}function Vi(e){return nt(e)?!1:e===2||e===5}function Hi(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 Ui(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 Wi(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 Wi(e){switch(e){case`minWidth`:case`minHeight`:return-1/0;case`maxWidth`:case`maxHeight`:return 1/0;default:H(e,`unknown constraint key`)}}function Gi(e,t,n,r){return t.minHeight&&(e=Math.max(Ui(`minHeight`,t.minHeight,n,r),e)),t.maxHeight&&(e=Math.min(Ui(`maxHeight`,t.maxHeight,n,r),e)),e}function Ki(e,t,n,r){return t.minWidth&&(e=Math.max(Ui(`minWidth`,t.minWidth,n,r),e)),t.maxWidth&&(e=Math.min(Ui(`maxWidth`,t.maxWidth,n,r),e)),e}function qi(e,t,n,r,i){let a=Ki(U(e)?e:Iv,n,r,i),o=Gi(U(t)?t:Lv,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 Ji(e,t){return!U(e)||!U(t)?null:e+t}function Yi(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 Xi(e){return!e._constraints||Yi(e)?!1:e._constraints.enabled}function Zi(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 Qi(e){let t=Zi(e);if(t===null)return null;let{left:n,top:r}=e;return U(n)&&U(r)?{x:n,y:r,...t}:null}function $i(e,t,n=!0){if(e.positionFixed||e.positionAbsolute)return null;let r=t===1||t===2;if(!Xi(e)||r)return Qi(e);let i=ea(e),a=ta(t),o=a?{sizing:a,positioning:a,viewport:null}:null;return Fv.toRect(i,o,null,n,null)}function ea(e){let{left:t,right:n,top:r,bottom:i,center:a,_constraints:o,size:s}=e,{width:c,height:l}=e;c===void 0&&(c=s),l===void 0&&(l=s);let{aspectRatio:u,autoSize:d}=o,f=Pv.quickfix({left:U(t),right:U(n),top:U(r),bottom:U(i),widthType:Hi(c),heightType:Hi(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 ta(e){return e===0||e===1||e===2?null:e}function na(){return n.useContext(Rv).parentSize}function ra(e){return typeof e==`object`}function ia(e){return ra(e)?e.width:e}function aa(e){return ra(e)?e.height:e}function oa(e,t){return A(zv,{parentSize:t,children:e})}function sa(e){return $i(e,na(),!0)}function ca({width:e,height:t}){return e===`auto`||e===`min-content`||t===`auto`||t===`min-content`}function la(){return o===void 0?void 0:o}function ua(){let e=la();return e?Vv.test(e.platform):!1}function da(){let e=la();return e?Hv.test(e.platform)?!0:Uv.test(e.platform)&&e.maxTouchPoints!=null&&e.maxTouchPoints>2:!1}function fa(){return ua()||da()}function pa(){let e=la();return e?Wv.test(e.userAgent):!1}function ma(){let e=la();return e?Gv.test(e.userAgent)&&Kv.test(e.vendor)&&!pa():!1}function ha(){let e=la();return e?qv.test(e.userAgent)&&Jv.test(e.vendor):!1}function ga(){let e=la();return e?Yv.test(e.userAgent):!1}function _a(){return typeof document==`object`}function va(){let e=la();return e?Xv.test(e.userAgent):!1}function ya(){return!1}function ba(){let e=la();return e&&Zv.test(e.userAgent)?`tablet`:e&&Qv.test(e.userAgent)?`phone`:`desktop`}function xa(){return ba()===`desktop`}function Sa(e){return fa()?e.metaKey:e.ctrlKey}function Ca(e,t,n=ey){if(!(!e||n.has(e)||typeof document>`u`)){if(n.add(e),!t){if(!ty){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 <head> element`);return}if(document.head.appendChild(e),e.sheet)ty=e.sheet;else{console.warn(`not injecting CSS: injected <style> element does not have a sheet`,e);return}}t=ty}try{t.insertRule(e,t.cssRules.length)}catch{}}}function wa(){if(cy!==void 0)return cy;let e=document.createElement(`div`);Object.assign(e.style,{position:`absolute`,display:`flex`,flexDirection:`column`,rowGap:`1px`}),e.appendChild(document.createElement(`div`)),e.appendChild(document.createElement(`div`)),document.body.appendChild(e);let t=e.scrollHeight===1;return e.parentNode&&e.parentNode.removeChild(e),cy=t,t}function Ta(){uy||(uy=!0,!wa()&&document.body.classList.add(ly))}function Ea(e){return typeof e==`number`?e:e.startsWith(`--`)?Z.variable(e):e===``?`""`:e}function Da(e){return e!==xy&&e!==Sy}function Oa(e){for(let t in e)if(Da(t)&&e?.[t]===!0)return!0;return!1}function ka(e,t,r,i,a){let o=n.useRef(null),s=n.useCallback(e=>{t&&o.current!==!1&&(o.current=!1,e.currentTarget.setCustomValidity(` `),e.currentTarget.reportValidity(),t(e))},[t]),c=n.useCallback(n=>{if(r?.(n),!t&&!e)return;let i=n.target.validity;o.current===!1&&!Oa(i)&&(n.currentTarget.setCustomValidity(``),n.target.reportValidity(),o.current=!0,e?.())},[t,e,r]),l=n.useCallback(e=>{if(!t){i?.(e);return}if(o.current===!1)return;let n=e.currentTarget.validity;if(Oa(n)){s(e);return}i?.(e)},[s,i,t]);return n.useMemo(()=>({onInvalid:s,onChange:c,onBlur:l,onFocus:a}),[s,c,l,a])}function Aa(e,t){return Z.variable(...e.flatMap(e=>[`${e}-rgb`,e]),t)}function ja(){return J.current()===J.preview?vb:_b}function Ma(e){return ay(e,ja,`framer-lib-combinedCSSRules`)}function Na(e){return B(e)||Qe(e)}function Pa(e){return!!e&&yb in e&&e[yb]===!0}function Fa(e){try{switch(e.type){case`string`:case`collectionreference`:case`color`:case`date`:case`link`:case`boxshadow`:case`padding`:case`borderradius`:case`gap`:return R(e.defaultValue)?e.defaultValue:void 0;case`boolean`:return $e(e.defaultValue)?e.defaultValue:void 0;case`enum`:return nt(e.defaultValue)?void 0:e.options.includes(e.defaultValue)?e.defaultValue:void 0;case`fusednumber`:case`number`:return z(e.defaultValue)?e.defaultValue:void 0;case`transition`:return B(e.defaultValue)?e.defaultValue:void 0;case`border`:return B(e.defaultValue)?e.defaultValue:void 0;case`font`:return B(e.defaultValue)?e.defaultValue:void 0;case`linkrelvalues`:return et(e.defaultValue)?e.defaultValue:void 0;case`multicollectionreference`:return et(e.defaultValue)?e.defaultValue:void 0;case`object`:{let t=B(e.defaultValue)?e.defaultValue:{};return B(e.controls)&&Ia(t,e.controls),t}case`array`:return et(e.defaultValue)?e.defaultValue:void 0;case`file`:case`image`:case`richtext`:case`pagescope`:case`eventhandler`:case`segmentedenum`:case`responsiveimage`:case`componentinstance`:case`slot`:case`scrollsectionref`:case`customcursor`:case`cursor`:case`trackingid`:case`vectorsetitem`:return;default:return}}catch{return}}function Ia(e,t){for(let n in t){let r=t[n];if(!r)continue;let i=e[n];if(!nt(i)||Pa(r))continue;let a=Fa(r);nt(a)||(e[n]=a)}}function La(e){if(B(e.defaultProps))return e.defaultProps;let t={};return e.defaultProps=t,t}function Ra(e,t){Na(e)&&Ia(La(e),t)}function za(e,t){Object.assign(e,{propertyControls:t}),Ra(e,t)}function Ba(e){return e.propertyControls}function Va(){let e=J.current();return e===J.canvas||e===J.export}function Ha(){let[e]=f(()=>Va());return e}function Ua(e){let t=Object.create(Object.prototype);return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}function Wa(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 Ab){if(n<=e)return o;o.push({maxSideSize:e,width:i===0?e:Math.trunc(e/a)})}return o}function Ga(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 Ka(e,t,n){if(!n||n.length===0||!t.pixelWidth)return;let r=[];for(let t of n){if(t.width<jb)continue;let n=Ga(e,t.maxSideSize);r.push(`${n} ${t.width}w`)}return r.push(`${Ga(e,null)} ${t.pixelWidth}w`),r.join(`, `)||void 0}function qa(e,t,n){if(!t.pixelWidth||!t.pixelHeight||!n?.width||!n?.height)return;let r=[],i=Math.max(t.pixelWidth,t.pixelHeight),a=Math.max(n.width/t.pixelWidth,n.height/t.pixelHeight);for(let t of kb){let n=Ga(e,Math.round(i*t*a));r.push({src:n,scale:t})}return r}function Ja(e,t,n){if(![`auto`,`lossless`].includes(t.preferredSize??``))return{src:n,srcSet:void 0};if(e){let r=qa(n,t,e);if(!r?.length)return{src:n,srcSet:void 0};let[i,...a]=r;return{src:i?.src,srcSet:a.map(({src:e,scale:t})=>`${e} ${t}x`).join(`, `)}}else return{src:n,srcSet:Ka(n,t,Wa(t.pixelWidth,t.pixelHeight))}}function Ya(){return{backgroundRepeat:`repeat`,backgroundPosition:`left top`,backgroundSize:`64px auto`,backgroundImage:lt(Db.imagePlaceholderSvg)}}function Xa(e){switch(e){case`fit`:return`contain`;case`stretch`:return`fill`;default:return`cover`}}function Za(e,t){let n=e??`center`,r=t??`center`;return n===`center`&&r===`center`?`center`:n+` `+r}function Qa(e){return{display:`block`,width:`100%`,height:`100%`,...Ob,objectPosition:Za(e.positionX,e.positionY),objectFit:Xa(e.fit)}}function $a(e){let t=n.useRef(e?`auto`:`async`),r=a(e=>{t.current=`auto`,e.decoding=`auto`},[]),i=a(e=>{r(e.currentTarget)},[r]),o=a(e=>{e?.complete&&r(e)},[r]);return{decoding:t.current,onImageLoad:i,onImageMount:o}}function eo({image:e,containerSize:t,nodeId:n,alt:r,draggable:i,avoidAsyncDecoding:a}){let o=Db.useImageSource(e,t,n),s=Qa(e),{decoding:c,onImageLoad:l,onImageMount:u}=$a(a),{srcSet:d,src:f}=`srcSet`in e?{src:o,srcSet:e.srcSet}:Ja(e.nodeFixedSize,e,o);return A(`img`,{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 to({image:e,containerSize:t,nodeId:r}){let i=n.useRef(null),a=Db.useImageElement(e,t,r),o=Qa(e);return n.useLayoutEffect(()=>{let e=i.current;if(e!==null)return e.appendChild(a),()=>{e.removeChild(a)}},[a]),Object.assign(a.style,o),A(`div`,{ref:i,style:{display:`contents`,...Ob}})}function no({nodeId:e,image:t,containerSize:r}){let i=n.useRef(null),a=Db.useImageSource(t,r,e);return n.useLayoutEffect(()=>{let n=i.current;if(n===null)return;let r=Qa(t);Db.renderOptimizedCanvasImage(n,a,r,e)},[e,t,a]),A(`div`,{ref:i,style:{display:`contents`,...Ob}})}function ro({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=Kr(e*(t.pixelWidth/2)),s=Db.useImageSource(t,n);r={...Mb,backgroundImage:`url(${s})`,backgroundRepeat:`repeat`,backgroundPosition:Za(t.positionX,t.positionY),opacity:void 0,border:0,backgroundSize:`${o}px auto`},a=null,i=!0}else a=J.current()===J.canvas?Db.canRenderOptimizedCanvasImage(Db.useImageSource(t))?A(no,{image:t,...n}):A(to,{image:t,...n}):A(eo,{image:t,avoidAsyncDecoding:J.current()===J.export,...n});let o=a?Mb:r??{...Mb,...Ya()};return i?A(ye.div,{layoutId:e,style:o,"data-framer-background-image-wrapper":!0,children:a}):A(`div`,{style:o,"data-framer-background-image-wrapper":!0,children:a})}function io(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 ao(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,...Ob,pointerEvents:`none`};return e.border?(n.border=e.border,A(ye.div,{style:n})):(io(e,n,!1),A(ye.div,{"data-frame-border":!0,style:n,layoutId:t}))}function oo(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 so(e){let{background:t,image:n}=e;if(n!==void 0&&t&&!Pb.isImageObject(t))return;let r=null;if(r=R(n)?{alt:``,src:n}:tv.get(t,null),Pb.isImageObject(r))return oo(r,e)}function co(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 lo(e){return e&&e!==`search`&&e!==`slot`&&e!==`template`?ye[e]:ye.div}function uo(e,t){e[`data-framer-layout-hint-center-x`]=t===!0||t===`x`?!0:void 0,e[`data-framer-layout-hint-center-y`]=t===!0||t===`y`?!0:void 0}function fo(e){let t={};return!e||!Fb||J.current()!==J.canvas||uo(t,e),t}function po(e){return e.replace(/^id_/u,``).replace(/\\/gu,``)}function mo(e,t){if(!t&&(t=e.children,!t))return{props:e,children:t};let r=e._forwardedOverrides;return r&&(t=n.Children.map(t,e=>n.isValidElement(e)?n.cloneElement(e,{_forwardedOverrides:r}):e)),{props:e,children:t}}function ho(e){return(t,n)=>e===!0?`translate(-50%, -50%) ${n}`:e===`x`?`translateX(-50%) ${n}`:e===`y`?`translateY(-50%) ${n}`:n||`none`}function go(e,{specificLayoutId:t,postfix:n}={}){let{name:r,layoutIdKey:i,duplicatedFrom:a,__fromCodeComponentNode:o=!1,drag:s}=e,{getLayoutId:c,enabled:l}=u(Ev);return d(()=>{if(!l)return e.layoutId;let u=t||e.layoutId;if(!u&&(s||!i||o))return;let d=u||c({id:i,name:r,duplicatedFrom:a});if(d)return n?`${d}-${n}`:d},[l])}function _o(){let[e,t]=n.useState(0);return n.useCallback(()=>t(e=>e+1),[])}function vo(e){let t=_o();s(()=>{let n=e?.current;if(n)return zb?.observeElementWithCallback(e.current,t),()=>{zb?.unobserve(n)}},[e,t])}function yo(e){return[...e.firstElementChild&&e.firstElementChild.hasAttribute(Bb)?e.firstElementChild.children:e.children].filter(bo).map(xo)}function bo(e){return e instanceof HTMLBaseElement||e instanceof HTMLHeadElement||e instanceof HTMLLinkElement||e instanceof HTMLMetaElement||e instanceof HTMLScriptElement||e instanceof HTMLStyleElement||e instanceof HTMLTitleElement?!1:e instanceof HTMLElement||e instanceof SVGElement}function xo(e){if(!(e instanceof HTMLElement)||e.children.length===0||e.style.display!==`contents`)return e;let t=[...e.children].find(bo);return t?xo(t):e}function So(e,t,n=()=>[],r={}){let{id:i,visible:a,_needsMeasure:o}=e,{skipHook:s=!1}=r,c=u(Lb),l=J.current()===J.canvas;Ib(()=>{!l||c||s||t.current&&i&&a&&o&&Db.queueMeasureRequest(po(i),t.current,n(t.current))})}function Co(e){let t=e.closest(`[data-framer-component-container]`);t&&Db.queueMeasureRequest(po(t.id),t,yo(t))}function wo(e){e.willChange=`transform`;let t=J.current()===J.canvas;Ub&&t&&(e.translateZ=Vb)}function To(e){e.willChange=`transform`,Eo(e,!0)}function Eo(e,t){let n=J.current()===J.canvas;if(!Ub||!n)return;let r=R(e.transform)&&e.transform||``;t?r.includes(Hb)||(e.transform=r+Hb):e.transform=r.replace(Hb,``)}function Do(e,t,n,r=!0){if(!e)return;let i=bb(e.style),a=n||i[t],o=()=>{Oo(a)&&(i[t]=a)};i[t]=null,r?Promise.resolve().then(o):setTimeout(o,0)}function Oo(e){return R(e)||z(e)||rt(e)}function ko(e,t){if(e.size<t)return;let n=Math.round(Math.random());for(let t of e.keys())(++n&1)!=1&&e.delete(t)}function Ao(e,t,n,r){let i=t.get(n);if(i)return i;ko(t,e);let a=r(n);return t.set(n,a),a}function jo(e,t){let n=[e,t];return qb.test(e)?e:Ao(1e3,Jb,n,()=>Kb.multiplyAlpha(e,t))}function Mo(e,t=1){let n;return n=`stops`in e?e.stops:[{value:e.start,position:0},{value:e.end,position:1}],t===1?n:n.map(e=>({...e,value:jo(e.value,t)}))}function No(e,t){let n=0;return Mo(e,t).forEach(e=>{n^=Gb(e.value)^e.position}),n}function Po(e){return e&&Yb.every(t=>t in e)}function Fo(e){return e&&Xb.every(t=>t in e)}function Io({background:e,backgroundColor:t},n){t?typeof t==`string`||hv(t)?n.backgroundColor=t:q.isColorObject(e)&&(n.backgroundColor=e.initialValue||q.toRgbString(e)):e&&(e=tv.get(e,null),typeof e==`string`||hv(e)?n.background=e:Qb.isLinearGradient(e)?n.background=Qb.toCSS(e):ex.isRadialGradient(e)?n.background=ex.toCSS(e):q.isColorObject(e)&&(n.backgroundColor=e.initialValue||q.toRgbString(e)))}function W(e,t,n,r){if(r===void 0&&(r=t),e[t]!==void 0){n[r]=e[t];return}}function Lo(e){return e?e.left!==void 0&&e.right!==void 0:!1}function Ro(e){return e?e.top!==void 0&&e.bottom!==void 0:!1}function zo(e){if(!e)return{};let t={};e.preserve3d===!0?t.transformStyle=`preserve-3d`:e.preserve3d===!1&&(t.transformStyle=`flat`),e.backfaceVisible===!0?t.backfaceVisibility=`visible`:e.backfaceVisible===!1&&(t.backfaceVisibility=`hidden`),t.backfaceVisibility&&(t.WebkitBackfaceVisibility=t.backfaceVisibility),e.perspective!==void 0&&(t.perspective=t.WebkitPerspective=e.perspective),e.__fromCanvasComponent||(e.center===!0?(t.left=`50%`,t.top=`50%`):e.center===`x`?t.left=`50%`:e.center===`y`&&(t.top=`50%`));let{cornerShape:n}=e;return Ee(n)?t.cornerShape=ie(()=>`superellipse(${n.get()})`):n!==void 0&&(t.cornerShape=`superellipse(${n})`),W(e,`size`,t),W(e,`width`,t),W(e,`height`,t),W(e,`minWidth`,t),W(e,`minHeight`,t),W(e,`top`,t),W(e,`right`,t),W(e,`bottom`,t),W(e,`left`,t),W(e,`position`,t),W(e,`overflow`,t),W(e,`opacity`,t),(!e._border||!e._border.borderWidth)&&W(e,`border`,t),W(e,`borderRadius`,t),W(e,`radius`,t,`borderRadius`),W(e,`color`,t),W(e,`shadow`,t,`boxShadow`),W(e,`x`,t),W(e,`y`,t),W(e,`z`,t),W(e,`rotate`,t),W(e,`rotateX`,t),W(e,`rotateY`,t),W(e,`rotateZ`,t),W(e,`scale`,t),W(e,`scaleX`,t),W(e,`scaleY`,t),W(e,`skew`,t),W(e,`skewX`,t),W(e,`skewY`,t),W(e,`originX`,t),W(e,`originY`,t),W(e,`originZ`,t),Io(e,t),t}function Bo(e){for(let t in e)if(t===`drag`||t.startsWith(`while`)||typeof bb(e)[t]==`function`&&t.startsWith(`on`)&&!t.includes(`Animation`))return!0;return!1}function Vo(e){if(e.drag)return`grab`;for(let t in e)if(nx.has(t))return`pointer`}function Ho(e){return Uo(e)?!0:e.style?!!Uo(e.style):!1}function Uo(e){return rx in e&&(e[rx]===`scroll`||e[rx]===`auto`)}function Wo(e){let{left:t,top:n,bottom:r,right:i,width:a,height:o,center:s,_constraints:c,size:l,widthType:u,heightType:d,positionFixed:f,positionAbsolute:p}=e,m=P(e.minWidth),h=P(e.minHeight),g=P(e.maxWidth),_=P(e.maxHeight);return{top:P(n),left:P(t),bottom:P(r),right:P(i),width:P(a),height:P(o),size:P(l),center:s,_constraints:c,widthType:u,heightType:d,positionFixed:f,positionAbsolute:p,minWidth:m,minHeight:h,maxWidth:g,maxHeight:_}}function Go(e){let t=u(Lb),{style:r,_initialStyle:i,__fromCanvasComponent:a,size:o}=e,s=Wo(e),c=sa(s),l={display:`block`,flex:r?.flex??`0 0 auto`,userSelect:J.current()===J.preview?void 0:`none`};e.__fromCanvasComponent||(l.backgroundColor=e.background===void 0?`rgba(0, 170, 255, 0.3)`:void 0);let d=!Bo(e)&&!e.__fromCanvasComponent&&!Ho(e),f=e.style?!(`pointerEvents`in e.style):!0;d&&f&&(l.pointerEvents=`none`);let p=n.Children.count(e.children)>0&&n.Children.toArray(e.children).every(e=>typeof e==`string`||typeof e==`number`)&&{display:`flex`,alignItems:`center`,justifyContent:`center`,textAlign:`center`},m=zo(e);o===void 0&&!a&&(Lo(m)||(l.width=ix.width),Ro(m)||(l.height=ix.height)),s.minWidth!==void 0&&(l.minWidth=s.minWidth),s.minHeight!==void 0&&(l.minHeight=s.minHeight);let h={};Xi(s)&&c&&!ca(e)&&(h={left:c.x,top:c.y,width:c.width,height:c.height,right:void 0,bottom:void 0}),Object.assign(l,p,i,m,h,r),Object.assign(l,{overflowX:l.overflowX??l.overflow,overflowY:l.overflowY??l.overflow,overflow:void 0}),Wb.applyWillChange(e,l,!0);let g=l;l.transform||(g={x:0,y:0,...l});let _=Va();return e.positionSticky?(!_||Db.isOnPageCanvas||t)&&(g.position=`sticky`,g.willChange=`transform`,g.zIndex=1,g.top=e.positionStickyTop,g.right=e.positionStickyRight,g.bottom=e.positionStickyBottom,g.left=e.positionStickyLeft):_&&(e.positionFixed?g.position=Db.isOnPageCanvas?`fixed`:`absolute`:e.positionAbsolute&&(g.position=`absolute`)),`rotate`in g&&g.rotate===void 0&&delete g.rotate,[g,c]}function Ko(e){let t={};for(let n in e)(Ye(n)||Sb(n))&&!ax.has(n)?t[n]=bb(e)[n]:(n===`positionTransition`||n===`layoutTransition`)&&(t.layout=!0,typeof bb(e)[n]!=`boolean`&&!e.transition&&(t.transition=bb(e)[n]));return t}function qo(e){return`data-framer-name`in e}function Jo(e,t,n,r){if(r)return n?{width:n.width,height:n.height}:1;let{_usesDOMRect:i}=e,{widthType:a=0,heightType:o=0,width:s,height:c}=t;return n&&!i?n:a===0&&o===0&&typeof s==`number`&&typeof c==`number`?{width:s,height:c}:i||e.positionFixed||e.positionAbsolute?2:0}function Yo(e){return A(ye.div,{layoutId:cx,style:dx,children:e.children})}function Xo(e,t){Qe(e)?e(t):Zo(e)&&(e.current=t)}function Zo(e){return B(e)&&`current`in e}function Qo(e){return Zo(e)&&e.current!==null}function $o(){let e=Pi(()=>new Set),t=Pi(()=>new Map);return Pi(()=>(n,r)=>({get current(){return n.current},set current(i){if(i!==n.current){if(n.current=i,r&&r(i),t.forEach((e,t)=>{e?e():t(null)}),i===null){t.clear(),e.clear();return}e.forEach(e=>{let n=e(i);t.set(e,n)})}},observe(r){e.add(r);let i=n.current;if(i){let e=r(i);t.set(r,e)}},unobserve(n){if(!n||(e.delete(n),!t.has(n)))return;let r=t.get(n);r?r():n(null),t.delete(n)}}))}function es(e){let t=E(null),n=$o();return Pi(()=>Zo(e)?n(e):Qe(e)?n(t,e):n(t))}function ts(e,t,n){let r=E(),i=E();fr(()=>{i.current!==void 0&&(i.current=!0)},n??[{}]),e&&i.current!==!1&&(i.current=!1,e.unobserve(r.current),e.observe(t),r.current=t)}function ns(e,t,n,r,i,a,o){let s=e.get(t);return(!s||s.root!==r?.current)&&(s=new fx({root:r?.current,rootMargin:a,threshold:o}),e.set(t,s)),s.observeElementWithCallback(n,i),()=>{s.unobserve(n)}}function rs(e,t,n){let r=Pi(()=>`${n.rootMargin}`),i=u(px),{enabled:a,root:o,rootMargin:s,threshold:c}=n;ts(e,e=>{if(a&&e!==null)return ns(i,r,e,o,t,s,c)},[a,t,o,s,c])}function is(e,t,r){let i=n.useRef({isInView:!1,hasAnimatedOnce:!1}),{enabled:a,animateOnce:o,threshold:s,rootMargin:c=`0px 0px 0px 0px`}=r;mx(e,n.useCallback(e=>{let{isInView:n,hasAnimatedOnce:r}=i.current,a=os(e,s?.y??0);if(a&&!n){if(o&&r)return;i.current.hasAnimatedOnce=!0,i.current.isInView=!0,t(!0);return}if(!a&&n){if(i.current.isInView=!1,o)return;t(!1);return}},[o,s?.y,t]),{threshold:hx,rootMargin:c,enabled:a??!0})}function as(e,t){return t.height===0?0:e.height/Math.min(t.height,K.innerHeight)}function os({boundingClientRect:e,intersectionRect:t,isIntersecting:n},r){return e.height===0?n:n&&as(t,e)>=r}function ss(){return u(yx)}function cs(){return new Map}function ls(){return Pi(cs)}function us(e,t=[]){let{register:n,deregister:r}=u(bx);s(()=>{if(e)return n(e),()=>r(e)},[n,r,...t])}function ds(e,t){return!(t.isCurrent===void 0||e.isCurrent!==t.isCurrent||e.isPrevious!==t.isPrevious||t.isCurrent&&e.isOverlayed!==t.isOverlayed)}function fs(e,t,n){let r={...e};return t&&(U(t.originX)&&(r.originX=t.originX),U(t.originY)&&(r.originY=t.originY),U(t.originZ)&&(r.originZ=t.originZ)),n&&(U(n.originX)&&(r.originX=n.originX),U(n.originY)&&(r.originY=n.originY),U(n.originZ)&&(r.originZ=n.originZ)),r}function ps(e){if(!e||!(`rotateX`in e||`rotateY`in e||`z`in e))return!1;let t=e.rotateX!==0||e.rotateY!==0||e.z!==0,n=e?.transition?.rotateX.from!==0||e?.transition?.rotateY.from!==0||e?.transition?.z.from!==0;return t||n}function ms(e){switch(e&&e.appearsFrom?e.appearsFrom:`right`){case`right`:return Ex.PushLeft;case`left`:return Ex.PushRight;case`bottom`:return Ex.PushUp;case`top`:return Ex.PushDown}}function hs(e){switch(e&&e.appearsFrom?e.appearsFrom:`bottom`){case`right`:return Ex.OverlayLeft;case`left`:return Ex.OverlayRight;case`bottom`:return Ex.OverlayUp;case`top`:return Ex.OverlayDown}}function gs(e){switch(e&&e.appearsFrom?e.appearsFrom:`bottom`){case`right`:return Ex.FlipLeft;case`left`:return Ex.FlipRight;case`bottom`:return Ex.FlipUp;case`top`:return Ex.FlipDown}}function _s(e,t){switch(t.type){case`addOverlay`:return ys(e,t.transition,t.component);case`removeOverlay`:return bs(e);case`add`:return xs(e,t.key,t.transition,t.component);case`remove`:return ws(e);case`update`:return vs(e,t.key,t.component);case`back`:return Ss(e);case`forward`:return Cs(e);default:return}}function vs(e,t,n){return{...e,containers:{...e.containers,[t]:n}}}function ys(e,t,n){let r=e.overlayStack[e.currentOverlay];if(r&&r.component===n)return;let i=e.overlayItemId+1,a=[...e.overlayStack,{key:`stack-${i}`,component:n,transition:t}];return{...e,overlayStack:a,overlayItemId:i,currentOverlay:Math.max(0,Math.min(e.currentOverlay+1,a.length-1)),previousOverlay:e.currentOverlay}}function bs(e){return{...e,overlayStack:[],currentOverlay:-1,previousOverlay:e.currentOverlay}}function xs(e,t,n,r){e.containers[t]||(e.containers[t]=r),e.history=e.history.slice(0,e.current+1),e.visualIndex=Math.max(e.history.length,0);let i=e.history[e.history.length-1],a=i&&i.key===t;if(e.overlayStack=[],a&&e.currentOverlay>-1)return{...e,currentOverlay:-1,previousOverlay:e.currentOverlay};if(a)return;let o=e.containerVisualIndex[t],s=e.containerIsRemoved[t],c=i?.key&&n.withMagicMotion?ks(t,o,s,e.history):!0;e.history.push({key:t,transition:n,visualIndex:c?Math.max(e.visualIndex,0):e.containerVisualIndex[t]});let l=e.current+1,u=e.current;for(let t in e.containerIndex)e.containerIndex[t]===l&&(e.containerIndex[t]=Ds(t,e.history));e.containerIndex[t]=l;let{containerVisualIndex:d,containerIsRemoved:f}=Ts(e,t,c),p=Os(l,u,e.history,e.containerIndex,e.transitionForContainer);return{...e,current:l,previous:u,containerVisualIndex:d,containerIsRemoved:f,transitionForContainer:p,previousTransition:null,currentOverlay:-1,historyItemId:e.historyItemId+1,previousOverlay:e.currentOverlay}}function Ss(e){let t={...e.containers},n=ws(e);if(n)return n.containers=t,n}function Cs(e){let t=e.history[e.current+1];if(!t)return;let{key:n,transition:r,component:i}=t,a=[...e.history],o=xs(e,n,r,i);if(o)return o.history=a,o}function ws(e){let t=[...e.history.slice(0,e.current+1)];if(t.length===1)return;let n=t.pop();if(!n)return;let r=t[t.length-1];V(r,`The navigation history must have at least one component`),e.containerIndex[r.key]=t.length-1,t.every(e=>e.key!==n.key)&&delete e.containers[n.key];let i=e.current-1,a=e.current,{containerIsRemoved:o,containerVisualIndex:s,previousTransition:c,visualIndex:l}=Es(e,r,n),u=Os(i,a,e.history,e.containerIndex,e.transitionForContainer);return{...e,current:i,previous:a,containerIsRemoved:o,containerVisualIndex:s,previousTransition:c,visualIndex:l,transitionForContainer:u}}function Ts(e,t,n){let r={containerVisualIndex:{...e.containerVisualIndex},containerIsRemoved:{...e.containerIsRemoved}};if(n)r.containerVisualIndex[t]=e.history.length-1,r.containerIsRemoved[t]=!1;else{let n=e.containerVisualIndex[t];for(let[t,i]of Object.entries(e.containerVisualIndex))n!==void 0&&i>n&&(r.containerIsRemoved[t]=!0)}return r}function Es(e,t,n){let r=[t.key,n.key],i=e.history[e.history.length-2],a=e.previousTransition===null?null:{...e.previousTransition},o={containerIsRemoved:{...e.containerIsRemoved},containerVisualIndex:{...e.containerVisualIndex},previousTransition:a,visualIndex:e.visualIndex};i&&r.push(i.key);let s=e.containerVisualIndex[t.key],c=e.containerVisualIndex[n.key],l=s!==void 0&&c!==void 0&&s<=c||t.visualIndex!==void 0&&t.visualIndex<e.history.length-1,u=t.visualIndex;return l?(o.containerIsRemoved[n.key]=!0,o.containerVisualIndex[t.key]=u===void 0?e.history.length-1:u):(o.visualIndex=e.visualIndex+1,o.containerVisualIndex[t.key]=e.visualIndex+1),n.transition.withMagicMotion&&(o.previousTransition=n.transition||null),e.containerIsRemoved[t.key]=!1,o}function Ds(e,t){for(let n=t.length;n>t.length;n--)if(t[n]?.key===e)return n;return-1}function Os(e,t,n,r,i){let a={...i};for(let[i,o]of Object.entries(r)){let r=As(o,{current:e,previous:t,history:n});r&&(a[i]=r)}return a}function ks(e,t,n,r){return n||t===void 0?!0:t===0?!1:r.slice(t,r.length).findIndex(t=>t.key===e)>-1?!0:!(r.slice(0,t-1).findIndex(t=>t.key===e)>-1)}function As(e,t){let{current:n,previous:r,history:i}=t;if(!(e!==n&&e!==r)){if(e===n&&n>r){let t=i[e];return js(`enter`,t?.transition.enter,t?.transition.animation)}if(e===r&&n>r){let t=i[e+1];return js(`exit`,t?.transition.exit,t?.transition.animation)}if(e===n&&n<r){let t=i[e+1];return js(`enter`,t?.transition.exit,t?.transition.animation)}if(e===r&&n<r){let t=i[e];return js(`exit`,t?.transition.enter,t?.transition.animation)}}}function js(e,t,n){let r={},i={};return Ox.forEach(e=>{r[e]=Cx[e],i[e]={...n,from:Cx[e]}}),t&&Object.keys(t).forEach(a=>{if(t[a]===void 0)return;let o=t[a],s=typeof t[a]==`string`?`${bb(Cx)[a]}%`:bb(Cx)[a];bb(r)[a]=e===`enter`?s:o,i[a]={...n,from:e===`enter`?o:s,velocity:0}}),{...r,transition:{...i}}}function Ms(e){let t,n;return e.current===-1?n=e.history[e.previous]:t=e.history[e.current],{currentOverlayItem:t,previousOverlayItem:n}}function Ns({currentOverlayItem:e}){return e&&e.transition.exit}function Ps({currentOverlayItem:e,previousOverlayItem:t}){return e&&e.transition.animation?e.transition.animation:t&&t.transition.animation?t.transition.animation:Mx}function Fs({currentOverlayItem:e,previousOverlayItem:t}){return e?e.transition.backfaceVisible:t&&t.transition.backfaceVisible}function Is(e){if(e.backdropColor)return e.backdropColor;if(e.overCurrentContext)return`rgba(4,4,15,.4)`}function Ls(e,t){let{current:n,history:r}=t;if(e===n){let t=r[e];return t&&t.transition?t.transition.backfaceVisible:!0}else if(e<n){let t=r[e+1];return t&&t.transition?t.transition.backfaceVisible:!0}else{let t=r[e];return t&&t.transition?t.transition.backfaceVisible:!0}}function Rs(e,t){let n=t.history[e];if(n)return n.transition.enter}function zs(e,t){let{current:n,previous:r,history:i}=t;return e===r&&n>r||e===n&&n<r?i[e+1]?.transition?.backfaceVisible:i[e]?.transition?.backfaceVisible}function Bs(e,t){let{current:n,history:r}=t;if(e!==n)if(e<n){let t=r[e+1];if(t&&t.transition)return t.transition.exit}else{let t=r[e];if(t&&t.transition)return t.transition.enter}}function Vs(e,t){let{current:n,previous:r,history:i}=t,a=r>n?r:n;if(e<a){let t=i[e+1];if(t&&t.transition.animation)return t.transition.animation}else if(e!==a){let t=i[e];if(t&&t.transition.animation)return t.transition.animation}else{let t=i[e];if(t?.transition.animation)return t.transition.animation}return Mx}function Hs(e,t,n){let{current:r,previous:i,history:a}=t;return!!(n&&a.length>1||e!==i&&e!==r||r===i)}function Us(e,t){let{current:n,previous:r}=t;return e>n&&e>r?!1:e===n}function Ws(e){return n.Children.map(e.component,t=>{if(!zi(t)||!Ri(t)||!t.props)return t;let r={style:t.props.style??{}},i=e?.transition?.position,a=!i||i.left!==void 0&&i.right!==void 0,o=!i||i.top!==void 0&&i.bottom!==void 0,s=`style`in t.props?B(t.props.style):!0;return a&&(`width`in t.props&&(r.width=`100%`),s&&(r.style.width=`100%`)),o&&(`height`in t.props&&(r.height=`100%`),s&&(r.style.height=`100%`)),n.cloneElement(t,r)})}function Gs(e,t){if(e.goBackOnTapOutside!==!1)return t}function Ks(e){let t=ae(),n=_e();return A(jx,{...e,resetProjection:t,skipLayoutAnimation:n,children:e.children})}function qs(e){return zx in e}function Js(e,t){if(!qs(e))return;let n=tv.getNumber(e.opacity);n!==1&&(t.opacity=n)}function Ys(e){let t=[];if(e&&e.length){let n=e.map(e=>`drop-shadow(${e.x}px ${e.y}px ${e.blur}px ${e.color})`);t.push(...n)}return t}function Xs(e,t){if(!e.shadows||e.shadows.length===0)return;let n=e.shadows.map(e=>`${e.x}px ${e.y}px ${e.blur}px ${e.color}`).join(`, `);n&&(t.textShadow=n)}function Zs(e,t){let n=[];U(e.brightness)&&n.push(`brightness(${e.brightness/100})`),U(e.contrast)&&n.push(`contrast(${e.contrast/100})`),U(e.grayscale)&&n.push(`grayscale(${e.grayscale/100})`),U(e.hueRotate)&&n.push(`hue-rotate(${e.hueRotate}deg)`),U(e.invert)&&n.push(`invert(${e.invert/100})`),U(e.saturate)&&n.push(`saturate(${e.saturate/100})`),U(e.sepia)&&n.push(`sepia(${e.sepia/100})`),U(e.blur)&&n.push(`blur(${e.blur}px)`),e.dropShadows&&n.push(...Ys(e.dropShadows)),n.length!==0&&(t.filter=t.WebkitFilter=n.join(` `))}function Qs(e,t){U(e.backgroundBlur)&&(t.backdropFilter=t.WebkitBackdropFilter=`blur(${e.backgroundBlur}px)`)}function $s(e,t){Qs(e,t),Zs(e,t)}function ec(e,t){let n,r=(...r)=>{K.clearTimeout(n),n=K.setTimeout(e,t,...r)};return r.cancel=()=>{K.clearTimeout(n)},r}function tc(...e){return e.filter(Boolean).join(` `)}function nc(){let e=n.useContext(Hx);return!Number.isNaN(e.update)}function rc(e,t){let n={},r={};for(let i in e){let a=ic(i);if(a&&t.has(a)){n[a]=e[i];continue}r[i]=e[i]}return[n,r]}function ic(e){if(e.startsWith(Wx))return e.substr(Gx)}function ac(e,t,n){let i=r.map(e,e=>O(e)?l(e,t):e);return n?i:A(D,{children:i})}function oc(e){let t=Pi(()=>sc(e));return t.useSetup(e),t.cloneAsElement}function sc(e){let t={forwardedRef:e,childRef:null,ref:null};t.ref=cc(t);let n=(e,n)=>{if(!t.forwardedRef&&t.forwardedRef===e){t.ref=n;return}let r=!1;t.childRef!==n&&(t.childRef=n,r=!0),t.forwardedRef!==e&&(t.forwardedRef=e,r=!0),r&&(t.ref=cc(t))},i=!1;function a(a,o){if(i)throw ReferenceError(`useCloneChildrenWithPropsAndRef: You should not call cloneChildrenWithPropsAndRef more than once during the render cycle.`);return i=!0,r.count(a)>1&&e&&(t.forwardedRef=void 0,t.ref=t.childRef),r.map(a,e=>{if(O(e)){let r=`ref`in e?e.ref:void 0;n(t.forwardedRef,r);let i=Qe(o)?o(e.props):o;return l(e,t.ref===r?i:{...i,ref:t.ref})}return e})}let o=function(e,t){return A(D,{children:a(e,t)})};return o.cloneAsArray=a,{useSetup:e=>{i=!1,n(e,t.childRef)},cloneAsElement:o}}function cc(e){if(!e.forwardedRef)return e.childRef;let{forwardedRef:t,childRef:n}=e;return e=>{Xo(n,e),Xo(t,e)}}function lc(e,t,r,i,a,o,s,c){let l=n.Children.toArray(t),u=l[0];if(l.length!==1||!n.isValidElement(u))return console.warn(`PropertyOverrides: expected exactly one React element for a child`,t),s(t,r);let d=[],f=[];for(let[t]of Object.entries(i)){if(t===a)continue;let n=e[t];if(!n||!pc(u.props,n)){f.push(t);continue}let r=fc([t],o);r.length&&d.push({variants:r,propOverrides:n})}if(d.length===0)return s(u,r);let p=fc([a,...f],o);p.length&&d.unshift({variants:p});let m=[];for(let{variants:e,propOverrides:t}of d){if(c&&!e.includes(c))continue;let n=e.join(`+`),l=A(qx.Provider,{value:{primaryVariantId:a,variants:new Set(e)},children:s(u,t?{...r,...t}:r)},n),f=dc(e,o,i);f.length?(V(d.length>1,`Must branch out when there are hiddenClassNames`),l=A(`div`,{className:`${Jx} ${f.join(` `)}`,children:l},n)):V(d.length===1,`Cannot branch out when hiddenClassNames is empty`),m.push(l)}return V(!c||m.length===1,`Must render exactly one branch when activeVariantId is given`),m}function uc(e){return e.split(`-`)[2]}function dc(e,t,n){let r=[];for(let[i,a]of Object.entries(n)){let n=t&&!t.has(i);e.includes(i)||n||r.push(`hidden-${uc(a)}`)}return r}function fc(e,t){return t?e.filter(e=>t.has(e)):e}function pc(e,t){for(let n of Object.keys(t))if(!Et(e[n],t[n],!0))return!0;return!1}function mc(e,t,n){return!n||!e?t:{...t,...n[e]}}function hc(e){return n.forwardRef(({optimized:t,...r},i)=>{let a=n.useContext(Kx),o=n.useContext(qx)?.variants,s=r[oS];s&&!_a()&&iS.setAll(s,o,t?r:null,a);let c=cS(r);return A(e,{ref:i,...r,...c})})}function gc(e){return R(e)||Array.isArray(e)}function _c(e){return e in dS}function vc(e,t){let r=Pi(()=>({values:uS(t?e:void 0)}));return n.useEffect(()=>{if(!t)for(let e of lS){let t=dS[e];nt(t)||r.values[e].set(t)}},[t]),r}function yc({loopEffectEnabled:e,loopRepeatDelay:t,loopTransition:n,loopRepeatType:r,loop:i,loopPauseOffscreen:o},c){let l=Ze(),u=Pi(uS),p=E(!1),m=hS(),h=E(null),g=a(async()=>{if(!i)return;let e=n||void 0,t=p.current&&r===`mirror`,a=t?dS:i,o=t?i:dS;return p.current=!p.current,h.current=Promise.all(lS.map(t=>{if(!(l&&t!==`opacity`))return u[t].jump(o[t]??dS[t]),new Promise(n=>{let r={...e,onComplete:()=>n()},i=a[t]??o[t];typeof i==`number`&&ke(u[t],i,r)})})),h.current},[i,r,n,l]),[_,v]=f(!1),y=E(!1),b=a(async()=>{!e||!y.current||(await g(),await m(t??0),b())},[g,m,e,t]),x=a(()=>{y.current||(y.current=!0,ne(()=>v(!0)),b())},[b]),S=a((e=!0)=>{lS.forEach(e=>{u[e].stop()}),lS.forEach(e=>{u[e].set(dS[e])}),p.current=!1,e&&(y.current=!1,ne(()=>v(!1)))},[]),C=e&&i,w=a(()=>{document.hidden?S(!1):y.current&&(y.current=!1,x())},[x,S]);s(()=>{if(C)return document.addEventListener(`visibilitychange`,w),()=>{document.removeEventListener(`visibilitychange`,w)}},[C,w]),s(()=>{C&&o||(C?x():S())},[x,S,o,C]),s(()=>()=>S(),[S]);let T=E(!1),D=a(async()=>{h.current&&(await h.current,!T.current&&S())},[S]);mx(c,a(e=>{e.isIntersecting?(T.current=!0,x()):(T.current=!1,D())},[x,D]),{enabled:C&&o});let O=_||!o;return d(()=>({values:u,style:C&&O?fS:pS}),[C,O])}function bc(e,t,n,r,i){let a=n/100-1;return(i?(t-r)*a:0)+-e*a}function xc(e,t,r){let{speed:i=100,offset:a=0,adjustPosition:o=!1,parallaxTransformEnabled:s}=e,c=n.useRef(null),l=Ze(),d=n.useCallback(e=>c.current===null||i===100?0:bc(e,c.current,i,a,o),[i,a,o]),{scrollY:f}=xe(),p=be(f,d),m=fe(o&&c.current===null?`hidden`:r),h=fe(0),g=u(px);return ts(t,e=>{if(e===null||!s)return;let t=ns(g,`undefined`,e,null,e=>{c.current=e.boundingClientRect.top,je.update(()=>{p.set(d(f.get())),o&&m.set(r??`initial`)}),t()});return t},[o,s]),Nt(()=>{s&&p.set(0)}),{values:{y:l||!s?h:p},style:s?{...fS,visibility:m}:pS}}function Sc(e){return typeof e==`object`&&!!e}function Cc(e){if(Sc(e))return e?.transition}function wc(e,t,n,r,i,a){let o=Cc(e);return Promise.all(lS.map(s=>new Promise(c=>{if(n&&s!==`opacity`)return c();let l=t.values[s];l.stop();let u=Sc(e)?e?.[s]??dS[s]:dS[s];if(Ee(u)&&(u=u.get()),!z(u))return c();let d=Se.get(r.current);d&&d.setBaseTarget(s,u);let f;if(R(i)&&!l?.hasAnimated&&K.MotionHandoffAnimation){let e=K.MotionHandoffAnimation(i,s,je);e&&(f=e)}a?l.set(u):ke(l,u,{...o,velocity:0,startTime:f,onComplete:()=>c()})})))}function Tc({initial:e,animate:t,exit:n,presenceInitial:r,presenceAnimate:i,presenceExit:a},o,s,c,l){let u=r??e,f=i??t,p=a??n,[m,h]=he(),g=E({lastPresence:!1,lastAnimate:f,hasMounted:!1,running:!1}),_=Pi(()=>{let e=u??c;if(!B(e))return{values:uS()};let t={};for(let n in e){let r=B(e)?e[n]:void 0;z(r)&&(t[n]=r)}return{values:uS(t)}});ts(o,e=>{let{hasMounted:t}=g.current;if(t&&f)return;let n=Se.get(e);if(n)for(let e in Object.assign(g.current,{hasMounted:!0}),_.values){if(!_c(e))continue;let t=c?.[e];n.setBaseTarget(e,z(t)?t:dS[e])}},[f]);let v=Ze();ts(o,e=>{if(!s){h?.();return}if(e===null)return;if(m!==g.current.lastPresence){Object.assign(g.current,{lastPresence:m}),m?u&&f&&(Object.assign(g.current,{running:!0}),wc(f,_,v,o,l).then(()=>Object.assign(g.current,{running:!1}))):p?(Object.assign(g.current,{running:!0}),wc(p,_,v,o,l).then(()=>Object.assign(g.current,{running:!1})).then(()=>h())):h();return}let{lastAnimate:t,running:n}=g.current;Et(f,t)||!f||(Object.assign(g.current,{lastAnimate:f}),wc(f,_,v,o,l,!n).then(()=>Object.assign(g.current,{running:!1})))});let y=s&&f;return d(()=>({values:_.values,style:y?fS:pS}),[y])}function Ec(e,t){let n=0,r=e;for(;r&&r!==t&&r instanceof HTMLElement;)n+=r.offsetTop,r=r.offsetParent;return n}function Dc(e,t=0,n){let r=[],i=[];for(let a=e.length;a>=0;a--){let{ref:o,offset:s}=e[a]??{};if(!o||!o.current)continue;let c=Ec(o.current,document.documentElement)-vS-(s??0)-t,l=o.current?.clientHeight??0,u=r[r.length-1],d=Math.max(c+l,0);r.push(c),i.unshift(Math.max(c,0),u===void 0?d:Math.min(d,Math.max(u-1,0))),n?.(a)}return i}function Oc(e,t=0){return e<t?`up`:`down`}function kc(e,t,r={}){let{direction:i,target:a}=e??{},{repeat:o=!0,enabled:s=!0}=r,c=Mt();n.useEffect(()=>{if(!i||!s)return;let e,n=0,r,c;return ce((s,{y:l})=>{if(!o&&c===a||l.current>l.scrollLength||l.current<0)return;let u=Oc(l.current,e);e=l.current;let d=u!==r;if(r=u,d)n=l.current;else{if(Math.abs(l.current-n)<yS)return;let e=u===i?a:void 0;e!==c&&t(e),c=e}})},[c,i,o,a,s,t])}function Ac(e,t,n){let r=Dc(e,t),i=[...xS],a=r[0];if(!z(a))return SS;if(a>1&&(r.unshift(0,a-1),i.unshift(`initial`,`initial`)),n){let e=r[r.length-1];if(!z(e))return SS;r.push(e+1),i.push(`exit`)}return{inputRange:r,outputRange:i}}function jc(e){return{x:e?.x??dS.x,y:e?.y??dS.y,scale:e?.scale??dS.scale,opacity:e?.opacity??dS.opacity,transformPerspective:e?.transformPerspective??dS.transformPerspective,rotate:e?.rotate??dS.rotate,rotateX:e?.rotateX??dS.rotateX,rotateY:e?.rotateY??dS.rotateY,skewX:e?.skewX??dS.skewX,skewY:e?.skewY??dS.skewY,transition:e?.transition??void 0}}function Mc({opacity:e,targetOpacity:t,perspective:r,enter:i,exit:a,animate:o,...s}){return n.useMemo(()=>({initial:i??jc({...s,opacity:e??t??1,transformPerspective:r}),animate:o??jc({opacity:t}),exit:a??jc()}),[o,s,i,a,e,t,r])}function Nc(e,t){let r=Ze(),i=Mc(e),a=e.styleAppearEffectEnabled,o=vc(a?i.initial:i.animate,a),s=n.useRef({isPlaying:!1,scheduledAppearState:void 0,lastAppearState:!e.styleAppearEffectEnabled}),c=Mt(),l=n.useRef(),u=n.useCallback(async({transition:n,...a},s)=>{let c=n??i.animate.transition??e.transition;await l.current;let u=Se.get(t.current);l.current=Promise.all(lS.map(e=>{s&&o.values[e].set(i.initial[e]??dS[e]);let t=a[e]??dS[e];return u&&typeof t!=`object`&&u.setBaseTarget(e,t),new Promise(n=>{if(r&&e!==`opacity`)z(t)&&o.values[e].set(t),n();else{let r={restDelta:e===`scale`?.001:void 0,...c,onComplete:()=>n()};typeof t==`number`&&ke(o.values[e],t,r)}})}))},[]),f=e.animateOnce&&s.current.lastAppearState===!0;is(t,e=>{let{isPlaying:t,lastAppearState:n}=s.current;if(t){s.current.scheduledAppearState=e;return}s.current.scheduledAppearState=void 0,s.current.lastAppearState=e,n!==e&&u(e?i.animate:i.exit,e)},{enabled:!e.targets&&e.styleAppearEffectEnabled&&!e.scrollDirection&&!f,animateOnce:!!e.animateOnce,threshold:{y:e.threshold}});let p=e.targets&&a&&!e.scrollDirection;return n.useEffect(()=>{if(!p)return;let t={initial:!0},n=`initial`;return ce((r,{y:a})=>{let{targets:o}=e;if(!o||!o[0]||o[0].ref&&!o[0].ref.current)return;let{inputRange:s,outputRange:c}=Ac(o,(e.threshold??0)*a.containerLength,!!e.exit);if(s.length===0||s.length!==c.length)return;let l=Pe(a.current,s,c);if(e.animateOnce&&t[l]||(t[l]=!0,n===l))return;n=l;let d=bb(i)[l];d&&u(d)})},[c,p]),kc(e.scrollDirection,e=>void u(e??i.animate),{enabled:a,repeat:!e.animateOnce}),Nt(()=>{if(a&&!(!e.targets&&!e.scrollDirection))for(let e of lS)o.values[e].set(i.initial?.[e]??dS[e])}),d(()=>({values:o.values,style:a?fS:pS}),[a])}function Pc(e,t){let r=n.useRef({});n.useEffect(()=>{if(t!==void 0)for(let n of dg(e)){let i=function(){let e=r.current[n];e&&e.stop(),r.current[n]=Be({keyframes:[a.get(),s],velocity:a.getVelocity(),...t,restDelta:.001,onUpdate:o})},a=e[n],o,s;a.attach((e,t)=>(s=e,o=t,je.postRender(i),a.get()))}},[JSON.stringify(t)])}function Fc(e,t){let n=TS();return{inputRange:Dc(e,t,t=>{let r=e[t-1]?.target,i=e[t]?.target;for(let e of lS)n[e]?.unshift(r?.[e]??0,i?.[e]??0)}),effectKeyOutputRange:n}}function Ic(e){let t=TS();for(let{target:n}of e)for(let e of lS)t[e]?.push(n[e]);return t}function Lc({transformTrigger:e,styleTransformEffectEnabled:t,transformTargets:r,spring:i,transformViewportThreshold:a=0},o){let s=Ze(),c=vc(wS(r,s),t),l=!t||!r,u=e===`onScrollTarget`,d=Mt();return te(()=>{if(!(l||!u))return ce((e,{y:t})=>{if(!r[0]||r[0].ref&&!r[0].ref.current)return;let{inputRange:n,effectKeyOutputRange:i}=Fc(r,a*t.containerLength);if(n.length!==0)for(let e of lS)s&&e!==`opacity`||n.length===i[e].length&&i[e][0]!==void 0&&c.values[e].set(Pe(t.current,n,i[e]))})},[s,u,a,r,l]),ts(o,t=>{if(l||u||t===null)return;let n=Ic(r);return ce((e,{y:t})=>{for(let e of lS)s&&e!==`opacity`||ES.length===n[e].length&&n[e][0]!==void 0&&c.values[e].set(Pe(t.progress,ES,n[e]))},e===`onInView`?{target:t??void 0,offset:[`start end`,`end end`]}:void 0)},[d,s,e,u,r,l]),Pc(c.values,i),Nt(()=>{if(l)return;let e=wS(r,s);for(let t of lS)c.values[t].set(e?.[t]??dS[t])}),n.useMemo(()=>({values:c.values,style:t?fS:pS}),[t])}function Rc(e,t,n){return!(e in n)&&t in n||n[e]===!0}function zc(e){let t={parallax:{},styleAppear:{},styleTransform:{},presence:{animate:e.animate,initial:e.initial,exit:e.exit},loop:{},forwardedProps:{},targetOpacityValue:e.__targetOpacity,withPerspective:e.__perspectiveFX,inSmartComponent:e.__smartComponentFX};for(let n in e){if(n===`__targetOpacity`||n===`__perspectiveFX`||n===`__smartComponentFX`)continue;let r=ic(n);if(r){for(let i of OS)if(DS[i]?.has(r)){t[i][r]=bb(e)[n];break}}else t.forwardedProps[n]=bb(e)[n]}return t.parallax.parallaxTransformEnabled=Rc(`parallaxTransformEnabled`,`speed`,t.parallax),t.styleAppear.styleAppearEffectEnabled=Rc(`styleAppearEffectEnabled`,`animateOnce`,t.styleAppear),t}function Bc(e){return B(e)&&jS in e}function Vc(e,t){if(!e||!B(e))return t;for(let n in e){let r=e[n];!Ee(r)||!_c(n)||z(r.get())&&t[n].push(r)}}function Hc(e){return R(e)||Array.isArray(e)}function Uc({componentIdentifier:e,children:t}){return t(u(NS)[e]??{})}function Wc(){return n.useContext(PS)}function Gc(e){return e instanceof Error&&(e.message.includes(`A component suspended while responding to synchronous input.`)||e.message.includes(`Minified React error #426`))}function Kc(){if(h===void 0||LS)return A(`div`,{hidden:!0,dangerouslySetInnerHTML:{__html:`<!-- SuspenseThatPreservesDOM fallback rendered -->`}});throw zS}function qc({children:e}){return u(VS)?A(D,{children:e}):A(w,{fallback:BS,children:e})}function Jc(){return A(`div`,{hidden:!0,dangerouslySetInnerHTML:{__html:`<!-- Code boundary fallback rendered -->`}})}function Yc(e,t){if(!ig||Math.random()>.01)return;let n=e instanceof Error&&typeof e.stack==`string`?e.stack:null,r=t?.componentStack;$t(`published_site_load_recoverable_error`,{message:String(e),stack:n,componentStack:n?void 0:r})}function Xc(...e){console.error(...e)}function Zc(){return J.current()!==J.canvas}function Qc({getErrorMessage:e,fallback:t,children:n}){return Zc()?A($c,{fallback:t,children:A(US,{fallback:t,getErrorMessage:e,children:n})}):n}function $c({children:e,fallback:t=HS}){return h===void 0?A(w,{fallback:t,children:e}):A(qc,{children:e})}function el(){return n.useContext(GS)}function tl(){let e=el();return n.useMemo(()=>{if(!e)return;let t=e;for(;t.parent&&t.parent.level>0;)t=t.parent;return t},[e])}function nl({children:e,scopeId:t,nodeId:r}){let i=el(),a=n.useMemo(()=>({level:(i?.level??0)+1,scopeId:t,nodeId:r,parent:i}),[t,r,i]);return A(GS.Provider,{value:a,children:e})}function rl(e,t){return`${KS}${e}:${t}`}function il(e,t){return ol(`component`,e,t)}function al(e,t){return ol(`override`,e,t)}function ol(e,t,n){return`A code ${e} crashed while rendering due to the error above. To find and fix it, open the project in the editor \u2192 open Quick Actions (press Cmd+K or Ctrl+K) \u2192 paste this: ${rl(t,n)} \u2192 click \u201CShow Layer\u201D.`}function sl(e,t,n,r,i,a){let o=ll(e,t,n,a);return o&&!i&&r||o&&i}function cl(e,t,n,r){return ll(e,t,n,r)}function ll(e,t,n,r){return!!(nt(n)||n===1&&r&&e===t)}function ul(e,t,n,r,i,a){let o=el();return nt(t)||nt(n)?A(WS,{children:e}):(sl(t,o?.scopeId,o?.level,r??!1,i??!1,a??!1)&&(e=A(Qc,{getErrorMessage:il.bind(null,t,n),fallback:null,children:e})),i&&(e=A(nl,{scopeId:t,nodeId:n,children:e})),e)}function dl(e,t,n){let r={};for(let[,i]of e)for(let e of i){let i=r[e]??t[e]??n[e];i&&(r[e]=i)}return r}function fl(e){return!(!e||e.placement||e.alignment)}function pl(e){switch(e){case`start`:return`0%`;case`center`:return`-50%`;case`end`:return`-100%`;default:H(e)}}function ml(e,t=`center`){switch(e){case`top`:return`${pl(t)}, -100%`;case`right`:return`0%, ${pl(t)}`;case`bottom`:return`${pl(t)}, 0%`;case`left`:return`-100%, ${pl(t)}`;default:return`-50%, -50%`}}function hl(e,t){let n=document.elementFromPoint(e,t);for(;n;){if(n===document.body)return;let e=n.getAttribute(`data-framer-cursor`);if(e)return e;if(n.hasAttribute(tC)){let e=n.getAttribute(tC);n=n.parentElement,e&&(n=document.getElementById(e)??n)}else n=n.parentElement}}function gl(e){let{registerCursors:t}=u(YS),n=Pi(()=>e),r=y();te(()=>t(n,r),[t,r])}function _l(e){return!!(e&&typeof e==`object`&&rC in e)}function vl(e){return`${e.scopeId}:${e.nodeId}:${e.furthestExternalComponent?.scopeId}:${e.furthestExternalComponent?.nodeId}`}function yl(){return J.current()===J.canvas}function bl(e){return e===void 0?!1:!!(e.startsWith(`#`)||e.startsWith(`/`)||e.startsWith(`.`))}function xl(e,t){try{return!!new URL(e).protocol}catch{}return t}function Sl(e,t,n,r){if(R(e)){let i=bl(e);if(!t.routes||!t.getRoute||!n||!i)return;let[a]=e.split(`#`,2);if(a===void 0)return;let[o]=a.split(`?`,2);if(o===void 0)return;let{routeId:s}=Or(t.routes,o,void 0,r);return t.getRoute(s)}let{webPageId:i}=e;return t.getRoute?.(i)}function Cl(e){return R(e)&&e.startsWith(`data:${uC}`)}function wl(e){if(Cl(e))try{let t=new URL(e),n=t.pathname.substring(uC.length),r=t.searchParams,i=r.has(oC)?r.get(oC):void 0,a,o=r.get(sC),s=r.get(cC),c=r.get(lC);return o&&s&&c&&(a={collection:o,collectionItemId:s,pathVariables:Object.fromEntries(new URLSearchParams(c).entries())}),{target:n===`none`?null:n,element:i===`none`?void 0:i,collectionItem:a}}catch{return}}function Tl(e,t,n){let r=t.getAttribute(`data-framer-page-link-target`),i,a;if(r){i=t.getAttribute(`data-framer-page-link-element`)??void 0;let e=t.getAttribute(`data-framer-page-link-path-variables`);e&&(a=Object.fromEntries(new URLSearchParams(e).entries()))}else{let e=t.getAttribute(`href`);if(!e)return!1;let n=wl(e);if(!n||!n.target)return!1;r=n.target,i=n.element??void 0,a=n.collectionItem?.pathVariables}let o=i?t.dataset.framerSmoothScroll!==void 0:void 0;return e(r,i,Object.assign({},n,a),o),!0}function El(e){if(!Cl(e))return e;let t=wl(e);if(!t)return;let{target:n,element:r,collectionItem:i}=t;if(n)return{webPageId:n,hash:r??void 0,pathVariables:Dl(i)}}function Dl(e){if(!e)return;let t={};for(let n in e.pathVariables){let r=e.pathVariables[n];r&&(t[n]=r)}return t}function Ol({children:e}){return A(dC.Provider,{value:void 0,children:e})}function kl(e,t,n,i,o,s){let c=u(dC),l=tl(),f=d(()=>({scopeId:t,nodeId:n,furthestExternalComponent:l}),[t,n,l]),p=kt(),m=jt(),{locales:h}=pr(),g=d(()=>{let e=_l(i)?i:El(i);if(e)return Sl(e,p,m,h)},[m,i,p,h]),_=!!(!yl()&&c?.nodeId&&f.nodeId),v=a(e=>{if(o.href){if(e.preventDefault(),e.stopPropagation(),Sa(e)){Ml(o.href,``,`_blank`);return}g?o.navigate?.():Ml(o.href,o.rel,o.target)}},[o,g]),y=a(e=>{o.href&&(e.preventDefault(),e.stopPropagation(),Ml(o.href,``,`_blank`))},[o]),b=a(e=>{o.href&&e.key===`Enter`&&(e.preventDefault(),e.stopPropagation(),g?o.navigate?.():Ml(o.href,o.rel,o.target))},[o,g]);ts(s,e=>{e!==null&&_&&(e.dataset.hydrated=`true`)},[_]);let x=e;return _&&(r.forEach(e,e=>{jl(e)&&(V(Al(c),"outerLink must have nodeId defined at this point; this was verified with `shouldReplaceLink` above"),V(Al(f),"innerLink must have nodeId defined at this point; this was verified with `shouldReplaceLink` above"),aC.collectNestedLink(c,f))}),x=r.map(e,e=>{if(!jl(e))return e;let t=Nl(e.type),{children:n,...r}=e.props,i={...r,"data-nested-link":!0,role:`link`,tabIndex:0,onClick:v,onAuxClick:y,onKeyDown:b,as:r.as&&Nl(r.as)},a=`ref`in e?e.ref:void 0;return S(t,{...i,ref:a},n)})),A(dC.Provider,{value:f,children:x})}function Al(e){return!nt(e?.nodeId)}function jl(e){return O(e)&&(Nl(e.type)!==e.type||Nl(e.props.as)!==e.props.as)}function Ml(e,t,n){let r=document.createElement(`a`);r.href=e,t&&(r.rel=t),n&&(r.target=n),document.body.appendChild(r),r.click(),r.remove()}function Nl(e){return e===`a`?`span`:Xe(e)&&Ne(e)===`a`?ye.span:e}function Pl(e){e&&je.read(()=>{let t=document.getElementById(e);if(!t)return;let n=getComputedStyle(t),r=n.getPropertyValue(`--selection-color`).trim(),i=n.getPropertyValue(`--selection-background-color`).trim();je.render(()=>{let t=document.querySelectorAll(`[data-framer-portal-id="${e}"]`);t.length!==0&&(r&&t.forEach(e=>e.style.setProperty(fC,r)),i&&t.forEach(e=>e.style.setProperty(pC,i)))})})}function Fl(e){return[`[data-framer-portal-id="${e}"] * ::selection {
    color: var(${fC});
    background-color: var(${pC});
}`]}function Il({triggerId:e,children:t}){return n.useLayoutEffect(()=>{e&&Pl(e)},[e]),t}function Ll(e){return`${e?.x}-${e?.y}`}function Rl(e){switch(e){case`top`:return`bottom`;case`right`:return`left`;case`bottom`:return`top`;case`left`:return`right`;default:H(e)}}function zl(e,t,n,r=0){let i=Math.max(e,r);if(e<i)return i;let a=t+r;return i+a>n?n-a:i}function Bl(e,t,n){switch(e){case`top`:case`bottom`:return t.y<0||t.y+t.height>n.height?`y`:void 0;case`left`:case`right`:return t.x<0||t.x+t.width>n.width?`x`:void 0;default:H(e)}}function Vl(e,t,n,r){switch(Bl(t,e,r)){case`x`:return{placement:Rl(t),x:n.x*-1,y:n.y};case`y`:return{placement:Rl(t),x:n.x,y:n.y*-1};default:return{placement:t,x:n.x,y:n.y}}}function Hl(e,t,n,r,i,a,o){let s=Y.rebaseRectOnto(t,e,n,r),c={x:s.x+i.x,y:s.y+i.y,width:t.width,height:t.height};if(!a)return[n,c];let{x:l,y:u,placement:d}=Vl(c,n,i,a),f=Y.rebaseRectOnto(t,e,d,r);return[d,{x:zl(f.x+l,t.width,a.width,o),y:zl(f.y+u,t.height,a.height,o),width:t.width,height:t.height}]}function Ul(e,t,n){return hC.containsPoint([t,...n],e)?t:e}function Wl(e){return{constrainX:t=>Math.min(Math.max(t,e.x+gC),e.x+e.width-gC),constrainY:t=>Math.min(Math.max(t,e.y+gC),e.y+e.height-gC)}}function Gl({x:e,y:t},n,r,{constrainX:i,constrainY:a}){let[o,s,c,l]=Y.points(r);switch(n){case`left`:{let n={x:i(e-_C),y:t};return[n,Ul(l,s,[n,c]),Ul(c,o,[n,l])]}case`right`:{let n={x:i(e+_C),y:t};return[n,Ul(s,l,[n,o]),Ul(o,c,[n,s])]}case`top`:{let n={x:e,y:a(t-_C)};return[n,Ul(s,o,[n,l]),Ul(l,c,[n,s])]}case`bottom`:{let n={x:e,y:a(t+_C)};return[n,Ul(o,s,[n,c]),Ul(c,l,[n,o])]}default:H(n)}}function Kl(e,t){switch(e){case`left`:return`${Math.min(t.y,0)}px auto auto 0px`;case`right`:return`${Math.min(t.y,0)}px 0px auto auto`;case`top`:return`0px auto auto ${Math.min(t.x,0)}px`;case`bottom`:return`auto auto 0px ${Math.min(t.x,0)}px`;default:H(e)}}function ql(e,t,n,r,i){let a=Math.min(i.x,r.x),o=Math.min(i.y,r.y),s=Y.merge(r,i),c=Gl({x:e,y:t},n,i,Wl(r)).map(e=>`${e.x-a}px ${e.y-o}px`).join(`, `);return{height:`${s.height}px`,width:`${s.width}px`,clipPath:`polygon(${c})`,inset:Kl(n,Y.delta(r,i))}}function Jl(e){switch(e){case`start`:return 0;case`center`:return .5;case`end`:return 1;default:H(e)}}function Yl(e=`bottom`,t=`center`){switch(e){case`top`:return{originX:Jl(t),originY:1};case`right`:return{originX:0,originY:Jl(t)};case`bottom`:return{originX:Jl(t),originY:0};case`left`:return{originX:1,originY:Jl(t)};default:H(e)}}function Xl(e){let t=e.current,n={position:`absolute`,scrolls:!1};for(;t;){if(t?.tagName===`BODY`||(getComputedStyle(t)?.position===`fixed`&&(n.position=`fixed`),(t.scrollWidth>t.clientWidth||t.scrollHeight>t.clientHeight)&&(n.scrolls=!0),n.scrolls&&n.position===`fixed`))return n;t=t.parentElement}return n}function Zl(e){return je.read(e,!0),()=>Ie(e)}function Ql(e){let t=0,n=0;return(r,i,a,o)=>{e.current?.style&&(t=o?.clientX??t,n=o?.clientY??n,Object.assign(e.current.style,ql(t,n,a,r,i)))}}function $l(e,t,n,r,i){e.current&&Object.assign(e.current.style,{position:t,visibility:`visible`,left:(n?.x??0)+r+`px`,top:(n?.y??0)+i+`px`})}function eu(e,t,r,{safeArea:i,onDismiss:a}){let o=Pi(()=>new Set),s=n.useContext(vC),[c,l]=he();return n.useEffect(()=>{if(c){if(!t.current)return;t.current.style.pointerEvents=``,s.add(t.current)}else{if(!t.current)return;t.current.style.pointerEvents=`none`,s.delete(t.current),l()}},[c,l,t,s]),n.useEffect(()=>{if(!i){let e=e=>{e.key===`Escape`&&a()};return K.addEventListener(`keyup`,e),()=>K.removeEventListener(`keyup`,e)}let n;function s(){if(!(!n||o.size!==0)){for(let i of document.elementsFromPoint(n.x,n.y))if(i===e.current||i===t.current||i===r.current)return;a()}}function c(e){n=e,je.read(s)}return K.addEventListener(`mousemove`,c),()=>{K.removeEventListener(`mousemove`,c)}},[a,i,e,r,t]),o}function tu({placement:e,alignment:t,offset:n,collisionDetectionSize:r,collisionDetectionPadding:i}){return(a,o)=>Hl(a,o,e,t,n,r,i)}function nu(e,t){return Pi(()=>{let{originX:n,originY:r}=Yl(e,t),i={x:oe(n),y:oe(r)};return[i,e=>{let n=Yl(e,t);i.x.set(n.originX),i.y.set(n.originY)}]})}function ru(e,{x:t,y:r}){if(!e||!zi(e)||!Ri(e)||!B(e.props.style)&&!nt(e.props.style))return null;let i={...e.props.style,originX:t,originY:r};return n.cloneElement(e,{style:i})}function iu(e,t){if(t||nt(e)){let e=document.querySelector(`#${bC}`)??document.querySelector(`#${yC}`);if(e)return e}return(R(e)?document.querySelector(e):void 0)||document.body}function au({alignment:e,placement:t,safeArea:r,offsetX:i,offsetY:a,anchorRef:o,className:s,children:c,portalSelector:l,zIndex:d,collisionDetection:f=!1,collisionDetectionPadding:p,onDismiss:m,...h}){let g=n.useRef(null),_=n.useRef(null),y=n.useRef(null),[b,S]=nu(t,e);n.useLayoutEffect(()=>{if(!Qo(o)||!y.current||!t||!e)return;let n={x:i??0,y:a??0},s,c=!1,l=!1,u,d,m,h,v,b=0,x=0,C=Xl(o),w=C.position,T=y.current.getBoundingClientRect(),E=tu({placement:t,alignment:e,offset:n,collisionDetectionSize:f?{width:K.innerWidth,height:K.innerHeight}:void 0,collisionDetectionPadding:p}),D=()=>{c||($l(g,w,m,b,x),r&&v(u,m,d,h),h=void 0)},O=()=>{v=Ql(_),h?D():$l(g,w,m,b,x),l=!0},k=()=>{c||S(d)},ee=()=>{if(!E||c)return;w===`fixed`?(b=0,x=0):(b=K.scrollX,x=K.scrollY),u=o.current.getBoundingClientRect();let e=E(u,T);d=e[0],m=e[1]};if(ee(),k(),O(),C.scrolls&&(s=Zl(ee)),!r)return()=>{s?.(),c=!0};let A=e=>{h=e,l&&(je.read(ee,!1,!0),je.update(k,!1,!0),je.render(D,!1,!0))},j=o.current;return j.addEventListener(`mousemove`,A),()=>{j.removeEventListener(`mousemove`,A),s?.(),c=!0}},[r,t,e,i,a,o,f,p,S]);let C=eu(o,g,_,{safeArea:r,onDismiss:m}),w=u(Lb);return v.createPortal(x(ye.div,{ref:g,className:s,style:{top:0,left:0,visibility:`hidden`,width:`auto`,height:`auto`,position:`absolute`,zIndex:d},...h,children:[r?A(`div`,{ref:_,style:{position:`absolute`},"data-safearea":!0}):A(`div`,{style:{position:`fixed`,inset:0},"aria-hidden":!0,onClick:m}),A(vC.Provider,{value:C,children:A(Ol,{children:A(mC,{triggerId:o.current?.id??void 0,children:A(`div`,{ref:y,children:ru(c,b)})})})})]}),iu(l,w))}function ou(e,t){return e instanceof HTMLAnchorElement?e:e instanceof Element?e===t?null:ou(e.parentElement,t):null}function su({children:e}){return A(qc,{children:e})}function cu(e){return j(function(t,n){return A(su,{children:A(e,{...t,ref:n})})})}function lu(e,t,n,r,i,a){let{webPageId:o,hash:s,pathVariables:c,hashVariables:l}=n;return du(e,t,o,s,a,c,l,i,r)}function uu(e,t,n,r){if(!(!e.routes||!e.getRoute)&&bl(t))try{let[i,a]=t.split(`#`,2);V(i!==void 0,`A href must have a defined pathname.`);let[o]=i.split(`?`,2);V(o!==void 0,`A href must have a defined pathname.`);let{routeId:s,pathVariables:c,localeId:l}=Or(e.routes,o,void 0,r),u=e.getRoute(s);if(u)return{routeId:s,route:u,href:t,elementId:a,pathVariables:Object.assign({},n,c),locale:l?r?.find(({id:e})=>e===l):void 0}}catch{}}function du(e,t,n,r,i,a,o,s,c){let l={...i,...a,...s?.path},u={...i,...o,...s?.hash},d=e.getRoute?.(n),f=rr(d,{currentRoutePath:t?.path,currentRoutePathLocalized:t?.pathLocalized,currentPathVariables:t?.pathVariables,hash:r,pathVariables:l,hashVariables:u,preserveQueryParams:e.preserveQueryParams,siteCanonicalURL:e.siteCanonicalURL,localeId:c?.id});return{routeId:n,route:d,href:f,elementId:f.split(`#`,2)[1],pathVariables:l,locale:c??void 0}}function fu(){let e=u(wC),t=jt()?.pathVariables;return e||t}function pu(e,{webPageId:t,hash:n,pathVariables:r},i){if(t!==e.id||n)return!1;if(e.path&&e.pathVariables){let t=Object.assign({},i,r);for(let[,n]of e.path.matchAll(CC))if(!n||e.pathVariables[n]!==t[n])return!1}return!0}function mu(){let e=o.connection||o.mozConnection||o.webkitConnection||{},t=o.deviceMemory&&o.deviceMemory>DC,n,r,i;function a(){n=e.effectiveType||``,r=e.saveData||n.includes(`2g`),i=n===`3g`||t?OC:kC}e.addEventListener?.(`change`,a),a();let s=new IntersectionObserver(u,{threshold:EC}),c=0;async function l(e,t){if(r)return;let{id:n,preload:i}=e,a=MC.get(n);if(!a?.size||jC.has(n))return;++c,jC.add(n);let o=i()?.catch(()=>{});s.unobserve(t),AC.delete(t);for(let e of a)s.unobserve(e),AC.delete(e);a.clear(),MC.delete(n),await o,--c}function u(e){for(let t of e){let e=t.target,n=AC.get(e);if(!n||jC.has(n.id)){s.unobserve(e),AC.delete(e);continue}let r=n.id,a=MC.get(r),o=MC.get(r)?.size??0;if(t.isIntersecting){if(c>=i)continue;a?a.add(e):MC.set(r,new Set([e])),setTimeout(l,TC,n,e)}else a&&a.delete(e),o<=1&&MC.delete(r)}}return(e,t,n)=>{if(!jC.has(n))return AC.set(e,{id:n,preload:t}),s.observe(e),()=>{AC.delete(e),s.unobserve(e)}}}function hu(e,t){let n=bl(e),r={href:e===``||xl(e,n)?e:`https://${e}`,target:gu(t?.openInNewTab,n),rel:n?void 0:_u(`noopener`,t?.rel)};return t?.preserveParams&&(r.href=Tn(r.href??e),r[`data-framer-preserve-params`]=!0),t?.trackLinkClick&&(r.onClick=()=>{t.trackLinkClick(e)}),r}function gu(e,t){return e===void 0?t?void 0:`_blank`:e?`_blank`:void 0}function _u(e,t){if(e&&!t)return e;if(!e&&t)return t;if(e&&t)return`${e} ${t}`}function vu(e,t){console.warn(ut(`Failed to resolve slug: ${e instanceof Error?e.message:t??`Unknown error`}`))}function yu(e,t,n){try{let r=t?.get(e.collectionId);if(!r)return vu(void 0,`Couldn't find collection utils for collection id: "${e.collectionId}"`);let i=r.getSlugByRecordId(e.collectionItemId,n??void 0);return ct(i)?i.catch(vu):i}catch(e){vu(e)}}async function bu(e,t,n,r){async function i(e){if(!e)return{};let t={};for(let i in e){let a=e[i];V(a,`unresolvedSlug should be defined`);let o=yu(a,r,n),s=ct(o)?await o:o;s&&(t[i]=s)}return t}let[a,o]=await Promise.allSettled([i(e),i(t)]);return{path:a.status===`fulfilled`?a.value:void 0,hash:o.status===`fulfilled`?o.value:void 0}}function xu(e,t,n,r,i=[]){function a(e){if(!e)return;let t={};for(let a in e){let o=e[a];if(!o)continue;let s=yu(o,r,n);ct(s)?i.push(s):s&&(t[a]=s)}return t}let o={path:a(e),hash:a(t)};return i.length>0?Promise.allSettled(i):o}function Su(){let e=un();return a((t,n,r,i=[])=>xu(t,n,r,e,i),[e])}function Cu({nodeId:e,clickTrackingId:t,router:n,href:r,activeLocale:i}){let o=un();return a(async a=>{if(!n.pageviewEventData?.current)return;let s=n.pageviewEventData.current instanceof Promise?await n.pageviewEventData.current:n.pageviewEventData.current,c=_l(r)?r:El(r);if(!_l(c))return $t(`published_site_click`,{...s,href:a?wu(a):null,nodeId:e??null,trackingId:t||null,targetRoutePath:null,targetWebPageId:null,targetCollectionItemId:null},`eager`);let l=c.webPageId,u=n?.getRoute?.(l),d=u?.path??null,f=null;if(u?.collectionId&&c.pathVariables){let e=o?.get(u.collectionId);if(!e)return;let[t]=Object.values(c.pathVariables);if(R(t)){let n=e.getRecordIdBySlug(t,i||void 0);f=(ct(n)?await n:n)??null}}return $t(`published_site_click`,{...s,href:a?wu(a):null,nodeId:e??null,trackingId:t??null,targetRoutePath:d,targetWebPageId:l,targetCollectionItemId:f},`eager`)},[e,t,n,r,i,o])}function wu(e){try{let t=new URL(e,K.document.baseURI);return t.origin===K.location.origin?t.pathname+t.search+t.hash:t.href}catch{return e}}function Tu(e,t,n,r,i,a,o){n(),e.navigate?.(t,r,i,a,o)}function Eu(e,t,n){return async r=>{let i=Sa(r),a=ou(r.target),o=!a||a.getAttribute(`target`)===`_blank`,s=!i&&!o,c=()=>void t(e);if(!s){await hn({priority:`user-blocking`,ensureContinueBeforeUnload:!0,continueAfter:`paint`}),c();return}r.preventDefault(),n(c)}}function Du(e,t,n,r,i,a,o,s){if(!n)return hu(e,r);let c=uu(t,e,s,o);if(!c)return hu(e,r);let{routeId:l,route:u,elementId:d,pathVariables:f,locale:p}=c;if(!u)return hu(e,r);let m=rr(u,{currentRoutePath:n.path,currentRoutePathLocalized:n.pathLocalized,currentPathVariables:n.pathVariables,hash:d,pathVariables:f,preserveQueryParams:t.preserveQueryParams&&!ag,siteCanonicalURL:t.siteCanonicalURL,localeId:a}),h=gu(r.openInNewTab,!0),g=h===`_blank`,_={pathVariables:f,locale:p},v=e=>Tu(t,l,()=>i(l,_,!1,!g),d,f,r.smoothScroll,e);return{href:m,target:h,onClick:Eu(m,r.trackLinkClick,v),navigate:v,"data-framer-page-link-current":n&&pu(n,{webPageId:l,hash:d,pathVariables:f},s)||void 0,preload:()=>i(l,_,!0,!g),_routeId:l,_pathVariables:f,_locale:p}}function Ou(e,t,n){let r=ku(e.style,t.style),i={...e,...t,...r&&{style:r},ref:n},{onTap:a,onClick:o}=t;if(!a&&!o)return i;let{onClick:s,onTap:c}=e;return{...i,onClick:o||s?e=>{Qe(s)&&s?.(e),o?.(e)}:void 0,onTap:a||c?(e,t)=>{Qe(c)&&c?.(e,t),a?.(e,t)}:void 0}}function ku(e,t){let n=B(e)?e:void 0,r=n&&!tt(n),i=t&&!tt(t);if(!(!r&&!i))return{...n,...t}}function Au(e,t,n){if(!(t&&da()))return e;let{onClick:r,...i}=e;return r?n?{...i,onTap:r,onClick:ju}:{...i,onTap:r}:e}function ju(e){let t=ou(e.target);!t||t.getAttribute(`target`)===`_blank`||e.preventDefault()}function Mu(e,t,n,r,i,a){let o=_l(e)?e:El(e);if(!_l(o))return R(e)?hu(e).href:void 0;if(!t.getRoute||!t.currentRouteId)return;let s=t.getRoute(t.currentRouteId),{webPageId:c,hash:l,pathVariables:u,hashVariables:d,unresolvedHashSlugs:f,unresolvedPathSlugs:p}=o,m=t.getRoute(c),h=p||f?a?.(p,f):void 0;if(ct(h))return;let g=Object.assign({},t.currentPathVariables,n,u,h?.path),_=Object.assign({},t.currentPathVariables,n,d,h?.hash),v=rr(m,{currentRoutePath:s?.path,currentRoutePathLocalized:s?.pathLocalized,currentPathVariables:t.currentPathVariables,hash:l,pathVariables:g,hashVariables:_,relative:!1,preserveQueryParams:t.preserveQueryParams,onlyHash:r,siteCanonicalURL:t.siteCanonicalURL,localeId:i?.id});return r?v:(i?.slug?`/${i.slug}`:``)+v}function Nu(){return(function(){async function e(e){let t=new TextEncoder().encode(e),n=await crypto.subtle.digest(`SHA-256`,t);return Array.from(new Uint8Array(n)).map(e=>e.toString(16).padStart(2,`0`)).join(``)}function t(e){let t=``;for(let n=0;n<e;n++)t+=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789`.charAt(Math.floor(Math.random()*62));return t}addEventListener(`message`,async n=>{let{salt:r,difficulty:i,tokenLength:a,maxTime:o}=n.data,s=`0`.repeat(i),c=performance.now(),l=!0;for(;l;){if(performance.now()-c>o){l=!1,postMessage({success:!1});return}let n=t(a),i=`${Date.now()}:${n}`,u=await e(r+i);if(u.startsWith(s)){postMessage({success:!0,secret:i,hash:u});return}}})}).toString()}async function Pu(){return new Promise((e,t)=>{let n=URL.createObjectURL(new Blob([`(`,Nu(),`)()`],{type:`application/javascript`})),r=new Worker(n);r.onmessage=t=>{r.terminate(),URL.revokeObjectURL(n),t.data.success?e({secret:t.data.secret,hash:t.data.hash}):e(void 0)},r.onerror=e=>{r.terminate(),URL.revokeObjectURL(n),t(e)},r.postMessage({salt:FC,difficulty:IC,tokenLength:LC,maxTime:RC})})}function Fu(e){return Array.from(e.keys()).map(encodeURIComponent).join(`,`)}function Iu(e,t){try{let n=t.cookie.match(`(^|;) ?framerFormsUTMTags=([^;]*)(;|$)`);if(n!==null&&n[2]){let t=JSON.parse(decodeURIComponent(n[2]));if(!t||typeof t!=`object`)return;[`utm_source`,`utm_medium`,`utm_campaign`,`utm_term`,`utm_content`,`gclid`].forEach(n=>{typeof t[n]==`string`&&e.append(n,t[n])})}}catch{}}function Lu(){let e=n.useContext(QC),t=n.useMemo(()=>VC.map(e=>({inputRef:n.createRef(),originalName:e,methodsUsed:{setAttribute:!1,valueProperty:!1}})),[]);return{states:t,convertHoneypotFieldsForSubmission:n.useCallback(()=>{t.forEach(e=>{let t=e.inputRef.current;t&&(t.name=`${BC}_${e.originalName}`)})},[t]),replaceHoneypotWithMetadata:n.useCallback(n=>{let r=t.length,i=0,a=[];t.forEach(e=>{let t=e.inputRef.current;if(t){let r=t.name,o=t.value;if(o){i++;let t={[UC.name]:e.originalName,[UC.value]:o,[UC.setAttribute]:e.methodsUsed.setAttribute,[UC.valueProperty]:e.methodsUsed.valueProperty,[UC.isInputEventTrusted]:e.methodsUsed.isInputEventTrusted,[UC.inputChangeTimeSinceModuleLoad]:e.methodsUsed.inputChangeTimeSinceModuleLoad,[UC.wasFilledBeforeHydration]:e.methodsUsed.wasFilledBeforeHydration};a.push(JSON.stringify(t))}n.delete(r),t.name=e.originalName}}),n.append(`${BC}_${WC.fieldData}`,`[${a.join(`,`)}]`),n.append(`${BC}_${WC.fieldCount}`,r.toString()),n.append(`${BC}_${WC.fieldFilledCount}`,i.toString()),n.append(`${BC}_${WC.hpVersion}`,zC),n.append(`${BC}_${WC.siteId}`,e||``),n.append(`${BC}_${WC.timeToSubmissionSinceModuleLoad}`,GC())},[t,e])}}function Ru({states:e}){return A(D,{children:e.map(e=>A(KC,{inputStateRef:e},`hp_${e.originalName}`))})}function zu({router:e,nodeId:t,submitTrackingId:n}){e?.pageviewEventData?.current&&(e.pageviewEventData.current instanceof Promise?e.pageviewEventData.current.then(e=>{Bu(e,t,n)}):Bu(e.pageviewEventData.current,t,n))}function Bu(e,t,n){return $t(`published_site_form_submit`,{...e,nodeId:t??null,trackingId:n||null},`eager`)}function Vu({state:e},{type:t}){switch(t){case`complete`:return e===`error`?ZC:XC;case`incomplete`:return e===`error`?ZC:YC;case`submit`:return qC;case`success`:return JC;case`error`:return ZC;default:H(t)}}function Hu({state:e}){return e===`incomplete`||e===`complete`}function Uu(e){e.preventDefault()}function Wu(e,t){let n=xl(e,!1)?e:`https://${e}`,r=document.createElement(`a`);r.href=n,r.target=`_self`,r.style.display=`none`,`current`in t&&t.current&&(t.current.appendChild(r),r.click(),r.remove())}function Gu(e){if(e.children.length===0)return!1;for(let t of e.children)if(t instanceof HTMLInputElement||t instanceof HTMLTextAreaElement||t instanceof HTMLSelectElement){if(t.required&&t.value===``)return!0}else if(Gu(t))return!0;return!1}async function Ku(e,t,n){let r=await Pu();if(!r)throw Error(`Failed to calculate proof of work`);let i=await fetch(e,{body:t,method:`POST`,headers:{"Framer-Site-Id":n,"Framer-POW":r.secret,"Framer-Form-Fields":Fu(t)}});if(i.ok)return i;{let e=await i.json(),t=`Failed to submit form`;throw qu(e)?Error(`${t} - ${e.error.message}`):Error(t)}}function qu(e){return typeof e==`object`&&!!e&&`error`in e&&B(e.error)&&`message`in e.error&&typeof e.error.message==`string`}function Ju({EditorBar:e,fast:t=!1}){let n=vg(),r=u(QC),i=p(aw,t?nw:rw,iw),a=d(()=>{let e={},t;for(t in n)n.hasOwnProperty(t)&&(t.startsWith(`editorBar`)||t.startsWith(`onPage`))&&(e[t]=n[t]);return e},[n]);return!e||!r||!i?null:A(tw,{children:A(w,{children:A(e,{framerSiteId:r,features:a})})})}function Yu({currentRoutePath:e,routerAPI:t,children:n}){let r=E(),i=E(),a=E(t);a.current=t,s(()=>{e&&(r.current??=new Set,r.current.add(e),i.current?.(e))},[e]);let[o]=f(()=>({getInitialState:()=>({visitedPages:r.current??new Set,getCurrentRoutePath:()=>Xu(a.current,a.current.currentRouteId,a.current.currentPathVariables),resolveRoute:e=>Xu(a.current,e.webPageId,e.pathVariables),setRouteChangeHandler:e=>{i.current=e}})}));return A(ow.Provider,{value:o,children:n})}function Xu(e,t,n){let r=e.getRoute(t);return!r||!r.path?``:n?wn(r.path,n):r.path}function Zu({children:e,loadSnippetsModule:t}){return A(_w.Provider,{value:t,children:e})}function Qu(){return n.useContext(_w)}function $u(e){return{start:`<!-- Snippet: ${e} -->`,end:`<!-- SnippetEnd: ${e} -->`}}async function ed(e,t,n=`beforeend`){let r,i;switch(n){case`beforebegin`:V(t.parentNode,`Can't use 'beforebegin' with a referenceNode at the top level`),r=t.parentNode,i=t;break;case`afterend`:V(t.parentNode,`Can't use 'afterend' with a referenceNode at the top level`),r=t.parentNode,i=t.nextSibling;break;case`afterbegin`:r=t,i=t.firstChild;break;case`beforeend`:r=t,i=null;break;default:H(n)}let a=document.createRange();a.selectNodeContents(r),await td(a.createContextualFragment(e),r,i)}async function td(e,t,n){for(let r=e.firstChild;r;r=r.nextSibling){if(r instanceof HTMLScriptElement){let e=nd(r,t,n);e!==void 0&&await e;continue}let e=r.cloneNode(!1);t.insertBefore(e,n),r.firstChild&&await td(r,e,null)}}function nd(e,t,n){let r=e.cloneNode(!0);if(!e.hasAttribute(`src`)||e.hasAttribute(`async`)||e.hasAttribute(`defer`)||e.getAttribute(`type`)?.toLowerCase()===`module`)t.insertBefore(r,n);else return rd(r,t,n)}function rd(e,t,n){return new Promise(r=>{e.onload=e.onerror=r,t.insertBefore(e,n)})}function id(e){let t,n;switch(e){case`bodyStart`:t=pw,n=mw;break;case`bodyEnd`:t=hw,n=gw;break;case`headStart`:t=lw,n=uw;break;case`headEnd`:t=dw,n=fw;break}let r=e===`bodyStart`||e===`bodyEnd`?document.body:document.head,i=null,a=null;for(let e of r.childNodes){if(e.nodeType!==Node.COMMENT_NODE)continue;let r=`<!--${e.nodeValue}-->`;r===t?i=e:r===n&&(a=e)}return{start:i,end:a}}function ad(e,t,n){if(!t||!n)return{start:null,end:null};let r=null,i=null,{start:a,end:o}=$u(e),s=t.nextSibling;for(;s&&s!==n;){if(s.nodeType!==Node.COMMENT_NODE){s=s.nextSibling;continue}let e=`<!--${s.nodeValue}-->`;if(e===a)r=s;else if(e===o){i=s;break}s=s.nextSibling}return{start:r,end:i}}async function od(e,t,n){if(t.length===0)return;let{start:r,end:i}=id(e),a=e===`bodyStart`||e===`bodyEnd`?document.body:document.head;for(let e of t){let{start:t,end:o}=ad(e.id,r,i),s=t&&o;if(s&&e.loadMode===`once`)continue;if(sd(t,o),s){await ed(e.code,o,`beforebegin`);continue}let{start:c,end:l}=$u(e.id),u=`${c}
${e.code}
${l}`,d=ld(e.id,n,r,i);d?await ed(u,d,`afterend`):await ed(u,r??a,r?`afterend`:`beforeend`)}}function sd(e,t){if(!e||!t)return;let n=e.nextSibling;for(;n&&n!==t;){let e=n.nextSibling;cd(n)&&n.remove(),n=e}}function cd(e){if(e.nodeType!==Node.ELEMENT_NODE)return!0;if(e.nodeName===`SCRIPT`){let t=e.type;if(!t||t===`text/javascript`||t===`module`)return!1}return!0}function ld(e,t,n,r){let i=t.indexOf(e)-1;if(i<0)return null;for(let e=i;e>=0;e--){let i=t[e];if(!i)continue;let a=ad(i,n,r).end;if(a)return a}return null}function ud(){let e=Qu();return a(async(t,n,r,i)=>{if(!e)return;let a=document.getElementById(sw),o=a&&a.dataset[cw]!==void 0;if(i&&o)return;let{getSnippets:s,snippetsSorting:c}=await e.readMaybeAsync(),l=await s(t,n,r);for(let e in l){let t=e,n=l[t],r=c[t];await od(t,n,r)}},[e])}function dd(e,t){if(e.routeId!==t.routeId)return!1;if(e.pathVariables===t.pathVariables)return!0;let n=e.pathVariables||{},r=t.pathVariables||{};return n.length===r.length&&Object.keys(n).every(e=>n[e]===r[e])}function fd(){let e=Intl.DateTimeFormat().resolvedOptions();vw=e.timeZone,yw=e.locale}function pd(){let[e,t]=n.useState(0);return[e,n.useCallback(()=>t(e=>e+1),[])]}function md(e,t,n){let r=e&&document.getElementById(e);if(r){bd(r,t);return}n||h.scrollTo(0,0)}function hd(e){let t=E([]);return te(()=>{t.current?.length&&(t.current.forEach(e=>e()),t.current=[])},[e]),a(e=>{t.current.push(e)},[])}function gd(e){if(!e)return rg;let t=!1;return()=>{t||(t=!0,e?.())}}function _d(){let e=sr(),t=E(void 0);return a(async(n,r,i,a=!0)=>{let o=i!==void 0;t.current?.abort();let s=a?new AbortController:void 0;t.current=s;let c=s?.signal,l=It(c);if(r.promise.finally(l),!o)return t.current=void 0,n(c),r.promise;n(c);let u;if(e(new Promise((e,t)=>{u=e,c?.addEventListener(`abort`,t)}).catch(rg),i,s),await r.promise,c?.aborted)return;let d=h.navigation?.transition;u();try{await d?.finished}catch(e){console.error(`Navigation transition failed`,e)}c?.aborted||f_()},[e])}function vd({defaultPageStyle:e,disableHistory:t,initialPathVariables:n,initialRoute:r,notFoundPage:i,collectionUtils:o,routes:l,initialLocaleId:u,initialCollectionItemId:f,locales:p=hg,preserveQueryParams:m=!1,LayoutTemplate:g,EditorBar:_,siteCanonicalURL:v,adaptLayoutToTextDirection:y}){br(),er({disabled:t,routeId:r,initialPathVariables:n,initialLocaleId:u});let b=Kn(),[S,C]=pd(),w=hd(S),T=_d(),D=Yn(`framer-route-change`),{synchronousNavigationOnDesktop:O}=vg(),k=d(()=>!O||!xa()?ne:e=>e(),[O]),ee=ud(),j=E(!0),M=E(),re=E(r),ie=E(n),ae=E(u),oe=ae.current,se=d(()=>p.find(({id:e})=>oe?e===oe:e===yg)??null,[oe,p]),ce=se?.textDirection??`ltr`,le=y?ce:`ltr`;te(()=>{y&&document.documentElement.setAttribute(`dir`,ce)},[ce,y]);let ue=ar(),de=d(()=>({activeLocale:se,locales:p,setLocale:async e=>{let t=D({localized:!0});await hn({priority:`user-blocking`,continueAfter:`paint`});let n;R(e)?n=e:B(e)&&(n=e.id);let r=p.find(({id:e})=>e===yg),i=p.find(({id:e})=>e===n);if(!i)return;let a=re.current,o=l[a];if(o)try{let e=await ue({currentLocale:se,nextLocale:i,route:o,routeId:a,defaultLocale:r,pathVariables:ie.current,preserveQueryParams:m});if(!e)return;let n=Zn(h.history.state)?h.history.state.paginationInfo:void 0,s=e.path;j.current=!1,ie.current=e.pathVariables,ae.current=i.id,T(()=>{b(a,a,()=>k(C))},t,async(t=!1)=>{if(s)return $n({routeId:a,pathVariables:e.pathVariables,localeId:i.id,paginationInfo:n},s,t)},!1)}catch{}}}),[se,C,p,m,l,T,b,D,k,ue]),fe=a((e,t,n,r,i,a,o,s=!1,c)=>{j.current=!1;let l=re.current;if(re.current=e,ie.current=i,ae.current=t,M.current=r,w(()=>{md(n,s,a)}),a){k(C);return}T(t=>{b(l,e,()=>k(C),t)},o,c,!0)},[C,w,T,b,k]);tr(re,fe);let pe=a(async(e,n,r,i,a)=>{let o=l[e],s=ft(o?.page)?o.page.getStatus():void 0,c=s?.hasRendered,u=D({cached:c,preloaded:c?void 0:s?.hasLoaded}),d=gd(a);if(hn({priority:`background`,ensureContinueBeforeUnload:!0,continueAfter:`paint`}).then(d),await hn({priority:`user-blocking`,continueAfter:`paint`}),r){let e=new Set,t=o?.path??`/`;for(let n of t.matchAll(e_)){let t=n[1];if(t===void 0)throw Error(`A matching path variable should not be undefined`);e.add(t)}r=Object.fromEntries(Object.entries(r).filter(([t])=>e.has(t)))}let f=Ft(o,n),p=ie.current,g=ae.current;if(dd({routeId:re.current,pathVariables:p},{routeId:e,pathVariables:r})){u.ignore?.();let a=l[e];h.history.state?.hash!==n&&!t&&a&&(d(),await Xn(e,a,{currentRoutePath:a.path,currentPathVariables:p,pathVariables:r,hash:n,localeId:g,preserveQueryParams:m,siteCanonicalURL:v,currentRoutePathLocalized:a.pathLocalized})),md(f,i,!1);return}if(!o)return;let _=l[re.current];fe(e,g,f,kn(v)+rr(o,{currentRoutePath:_?.path,currentRoutePathLocalized:_?.pathLocalized,currentPathVariables:p,hash:n,pathVariables:r,localeId:g,preserveQueryParams:m,siteCanonicalURL:v,relative:!1}),r,!1,u,i,t?void 0:async(t=!1)=>(d(),Xn(e,o,{currentRoutePath:_?.path,currentPathVariables:p,currentRoutePathLocalized:_?.pathLocalized,hash:n,pathVariables:r,localeId:g,preserveQueryParams:m,siteCanonicalURL:v},t)))},[l,fe,t,m,v,D]),me=Dt(l),he=re.current,ge=M.current,N=ie.current,_e=l[he],ve=_e?.path,ye=bw(_e,he,ge,N,se,f),P=j.current;s(()=>{ee(he,N??{},de.activeLocale,P)},[ee,he,N,de,P]);let be=d(()=>({navigate:pe,getRoute:me,currentRouteId:he,currentPathVariables:N,routes:l,collectionUtils:o,preserveQueryParams:m,pageviewEventData:ye,siteCanonicalURL:v,isInitialNavigation:P}),[pe,me,he,N,l,o,m,v,ye,P]);if(!_e)throw Error(`Router cannot find route for ${he}`);let xe=!se||!_e.includedLocales||_e.includedLocales.includes(se.id),Se=ve&&N?wn(ve,N):ve,F=String(oe)+Se,Ce=Pi(()=>({...e,display:`contents`}));return A(Ot,{api:be,children:A(x_.Provider,{value:de,children:A(S_.Provider,{value:le,children:A(mr,{children:x(Yu,{currentRoutePath:Se,routerAPI:be,children:[_&&A(Ju,{EditorBar:_,fast:!0}),A(RS,{children:x(qc,{children:[x(X_,{notFoundPage:i,defaultPageStyle:e,forceUpdateKey:S,children:[A(J_.Start,{}),A(yd,{LayoutTemplate:g,webPageId:_e?.abTestingVariantId??he,style:e,children:t=>A(c,{children:xe?Tr(_e.page,t?Ce:e):i&&Tr(i,e)},F)})]}),_&&A(Ju,{EditorBar:_}),A(gr,{}),A(J_.End,{})]})})]})})})})})}function yd({LayoutTemplate:e,webPageId:t,style:n,children:r}){return e?A(e,{webPageId:t,style:n,children:r}):r(!1)}function bd(e,t){let n=t?{behavior:`smooth`,block:`start`,inline:`nearest`}:void 0;e.scrollIntoView(n)}function xd(e){return new Promise((t,n)=>{try{new URL(e);let r=new Image;r.onload=()=>t(),r.onerror=n,r.src=e}catch(e){n(e)}})}function Sd(e){return typeof e==`object`&&!!e}function Cd(e,t){if(t===``)return e;let n=t.split(/[.[\]]+/u).filter(e=>e.length>0),r=e;for(let e of n){if(!Sd(r))return;r=r[e]}return r}function wd(e){return`${e.credentials}:${e.url}`}function Td(e){return R(e)&&!Number.isNaN(Number(e))}function Ed(e,t){switch(e){case`string`:return R(t)||z(t);case`color`:return R(t);case`boolean`:return $e(t);case`number`:return z(t)||Td(t);case`link`:case`image`:return R(t)&&xl(t,!1);default:return!1}}function Dd(e,t){if(e.status===`loading`)return t.fallbackValue;if(e.status===`error`)throw e.error;let n=Cd(e.data,t.resultKeyPath);if(nt(n))throw Error(`Key '${t.resultKeyPath}' not found in response`);if(!Ed(t.resultOutputType,n))throw Error(`Resolved value '${n}' is not valid for type '${t.resultOutputType}'`);return n}function Od(e,t){if(J.current()===J.canvas)return!1;let n=Math.max(t*1e3,Sw);return Date.now()>=e+n}function kd({RootComponent:e,isWebsite:t,routeId:r,framerSiteId:i,pathVariables:a,routes:o,collectionUtils:s,notFoundPage:c,isReducedMotion:l=!1,includeDataObserver:u=!1,localeId:d,locales:f,preserveQueryParams:p,EditorBar:m,defaultPageStyle:h,disableHistory:g,LayoutTemplate:_,siteCanonicalURL:v,adaptLayoutToTextDirection:y,loadSnippetsModule:b,initialCollectionItemId:x}){return n.useEffect(()=>{t||Cv.start()},[]),t?A(Me,{reducedMotion:l?`user`:`never`,children:A(ln,{collectionUtils:s,children:A(Pw,{children:A($S,{children:A(QC.Provider,{value:i,children:A(Zu,{loadSnippetsModule:b,children:A(vd,{initialRoute:r,initialPathVariables:a,initialLocaleId:d,initialCollectionItemId:x,routes:o,collectionUtils:s,notFoundPage:c,locales:f,defaultPageStyle:h??{minHeight:`100vh`,width:`auto`},preserveQueryParams:p,EditorBar:m,disableHistory:g,LayoutTemplate:_,siteCanonicalURL:v,adaptLayoutToTextDirection:y})})})})})})}):A(u?Ux:n.Fragment,{children:A(At,{routes:o,children:A(Nx,{children:n.isValidElement(e)?e:n.createElement(e,{key:r})})})})}function Ad(e){return{trace(...t){return Db.getLogger(e)?.trace(...t)},debug(...t){return Db.getLogger(e)?.debug(...t)},info(...t){return Db.getLogger(e)?.info(...t)},warn(...t){return Db.getLogger(e)?.warn(...t)},error(...t){return Db.getLogger(e)?.error(...t)},get enabled(){return Db.getLogger(e)!==void 0}}}function jd(e){let t=e.next();return V(t.done,`Generator must not yield`),t.value}async function Md(e,t=e.next()){for(;!t.done;){let n=await t.value;t=e.next(n)}return t.value}function Nd(e){let t=e.next();return t.done?t.value:Md(e,t)}function*Pd(e){let t={},n=Object.keys(e),r=[];for(let i of n){let n=e[i];if(ot(n)){let e=n.next();e.done?t[i]=e.value:r.push(Md(n,e).then(e=>{t[i]=e}))}else t[i]=n}return r.length>0&&(yield Promise.all(r)),t}function*Fd(e){let t=[],n=e.keys(),r=[];for(let i of n){let n=e[i];if(ot(n)){let e=n.next();e.done?t[i]=e.value:r.push(Md(n,e).then(e=>{t[i]=e}))}else t[i]=n}return r.length>0&&(yield Promise.all(r)),t}function Id(e){return zd(e)||Hd(e)}function Ld(e){return et(e)&&e.every(B)}function Rd(e){return B(e)&&Qe(e.read)&&Qe(e.preload)}function zd(e){return Ld(e)||Rd(e)}function Bd(e){return B(e)&&B(e.schema)}function Vd(e){return B(e)&&B(e.collectionByLocaleId)}function Hd(e){return Bd(e)||Vd(e)}function Ud(e,t,n){let r=e.value.length,i=t.value.length;if(r<i)return-1;if(r>i)return 1;for(let i=0;i<r;i++){let r=e.value[i],a=t.value[i],o=yf(r,a,n);if(o!==0)return o}return 0}function Wd(e,t){switch(e?.type){case`array`:return{type:`array`,value:e.value.map(e=>Iw.cast(e,t.definition))}}return null}function Gd(e,t){return e.value<t.value?-1:e.value>t.value?1:0}function Kd(e){switch(e?.type){case`boolean`:return e;case`number`:case`string`:return{type:`boolean`,value:!!e.value}}return null}function qd(e){return Kd(e)?.value??!1}function Jd(e,t){return e.value<t.value?-1:e.value>t.value?1:0}function Yd(e){switch(e?.type){case`color`:return e}return null}function Xd(e,t){let n=new Date(e.value),r=new Date(t.value);return n<r?-1:n>r?1:0}function Zd(e){switch(e?.type){case`date`:return e;case`number`:case`string`:{let t=new Date(e.value);return at(t)?{type:`date`,value:t.toISOString()}:null}}return null}function Qd(e,t){return e.value<t.value?-1:e.value>t.value?1:0}function $d(e){switch(e?.type){case`enum`:return e;case`string`:return{type:`enum`,value:e.value}}return null}function ef(e,t){return e.value<t.value?-1:e.value>t.value?1:0}function tf(e){switch(e?.type){case`file`:return e}return null}function nf(e,t){let n=JSON.stringify(e.value),r=JSON.stringify(t.value);return n<r?-1:n>r?1:0}function rf(e){switch(e?.type){case`link`:return e;case`string`:try{let{protocol:t}=new URL(e.value);return t===`http:`||t===`https:`?{type:`link`,value:e.value}:null}catch{return null}}return null}function af(e,t){return e.value<t.value?-1:e.value>t.value?1:0}function of(e){switch(e?.type){case`number`:case`string`:{let t=Number(e.value);return Number.isFinite(t)?{type:`number`,value:t}:null}}return null}function sf(e){return of(e)?.value??null}function cf(e,t,n){let r=Object.keys(e.value).sort(),i=Object.keys(t.value).sort();if(r.length<i.length)return-1;if(r.length>i.length)return 1;for(let a=0;a<r.length;a++){let o=r[a],s=i[a];if(o<s)return-1;if(o>s)return 1;let c=yf(e.value[o]??null,t.value[s]??null,n);if(c!==0)return c}return 0}function lf(e,t){switch(e?.type){case`object`:{let n={},r=Object.entries(t.definitions);for(let[t,i]of r){let r=e.value[t]??null;n[t]=Iw.cast(r,i)}return{type:`object`,value:n}}}return null}function uf(e,t){let n=JSON.stringify(e.value),r=JSON.stringify(t.value);return n<r?-1:n>r?1:0}function df(e){switch(e?.type){case`responsiveimage`:return e}return null}function ff(e,t){let n=e.value,r=t.value;return n<r?-1:n>r?1:0}function pf(e){switch(e?.type){case`richtext`:return e}return null}function mf(e,t){let n=e.value,r=t.value;return n<r?-1:n>r?1:0}function hf(e){switch(e?.type){case`vectorsetitem`:return e}return null}function gf(e,t,n){let r=e.value,i=t.value;return n.type===0&&(r=e.value.toLowerCase(),i=t.value.toLowerCase()),r<i?-1:r>i?1:0}function _f(e){switch(e?.type){case`string`:return e;case`number`:return{type:`string`,value:String(e.value)}}return null}function vf(e){return _f(e)?.value??null}function yf(e,t,n){if(rt(e)||rt(t))return V(e===t),0;switch(e.type){case`array`:return V(e.type===t.type),Ud(e,t,n);case`boolean`:return V(e.type===t.type),Gd(e,t);case`color`:return V(e.type===t.type),Jd(e,t);case`date`:return V(e.type===t.type),Xd(e,t);case`enum`:return V(e.type===t.type),Qd(e,t);case`file`:return V(e.type===t.type),ef(e,t);case`link`:return V(e.type===t.type),nf(e,t);case`number`:return V(e.type===t.type),af(e,t);case`object`:return V(e.type===t.type),cf(e,t,n);case`responsiveimage`:return V(e.type===t.type),uf(e,t);case`richtext`:return V(e.type===t.type),ff(e,t);case`vectorsetitem`:return V(e.type===t.type),mf(e,t);case`string`:return V(e.type===t.type),gf(e,t,n);default:H(e)}}async function bf(e,t){return Rd(e)?(await e.preload(t),e.read(t)):e}function xf(e){return e.includes(Vw)}function Sf(e){if(!Hd(e)||!e.id)return;let t=zw.get(e.id);if(!t)return zw.set(e.id,new WeakRef(e)),e.id;if(t.deref()===e)return e.id}function Cf(e){let t=Sf(e);if(t)return t;let n=Bw.get(e);if(n)return n;let r=`${Vw}${Math.random().toString(16).slice(2)}`;return Bw.set(e,r),r}function wf(e,t){if(zd(e)){let n=Cf(e)+(t?.id??yg),r=Hw.get(n);if(r)return r;let i=new Rw(e,t);return Hw.set(n,i),i}if(Bd(e))return e;if(Vd(e)){for(;t;){let n=e.collectionByLocaleId[t.id];if(n)return n;t=t.fallback}return e.collectionByLocaleId.default}H(e,`Unsupported collection type`)}function Tf(){return 25}function Ef(){return 12500}function Df(e){return e}function Of(e){return e}function kf(e){return B(e)&&Qe(e.getHash)}function G(e,...t){return Of(`${e}(${t.map(e=>(V(!(e instanceof Zw),`Pass CollectionMetadata.id instead`),V(!(e instanceof eT),`Pass FieldMetadata.id instead`),V(!(e instanceof Qw),`Pass IndexMetadata.id instead`),V(!(e instanceof qw),`Pass RelationalNode.group.id instead`),V(!(e instanceof Ww),`Pass Group.id instead`),kf(e)?e.getHash():JSON.stringify(e))).join(`, `)})`)}function Af(e,t){return{collectionId:Cf(e),pointer:t}}function jf(e){return B(e)&&R(e.collectionId)}function Mf(e,t){return{collectionId:Cf(e),pointer:t}}function Nf(e){return B(e)&&R(e.collectionId)}function Pf(e,t){let n=new Map;function r(e){if(B(e))if(e.type===`Collection`&&Id(e.data)){let r=wf(e.data,t),i=Cf(r);n.set(i,r)}else for(let t in e){let n=e[t];r(n)}else if(et(e))for(let t of e)r(t)}return r(e),n}function Ff(e){return e}function If(e){return e}function Lf(e){return e}function Rf(e){return Array(e).fill({type:`All`})}function zf(e,...t){if(e)return;let n=Error(`Assertion Error`+(t.length>0?`: `+t.join(` `):``));if(n.stack)try{let e=n.stack.split(`
`);e[1]?.includes(`assert`)?(e.splice(1,1),n.stack=e.join(`
`)):e[0]?.includes(`assert`)&&(e.splice(0,1),n.stack=e.join(`
`))}catch{}throw n}function Bf(e){let t=new Set;if(!e)return t;zf(e.type===`array`,`ScalarIntersection expects an array, got:`,e.type);for(let n of e.value)n&&(zf(n.type===`string`,`ScalarIntersection expects an array of strings, got an array with:`,n.type),t.add(n.value));return t}function Vf(e){return e.collection?`"${e.collection}"."${e.name}"`:`"${e.name}"`}function Hf(e){return typeof e.value==`string`?`'${e.value}'`:e.value}function Uf(e){return`${e.functionName}(${e.arguments.map(e=>Jf(e)).join(`, `)})`}function Wf(e){let t=`CASE`;e.value&&(t+=` ${Jf(e.value)}`);for(let n of e.conditions)t+=` WHEN ${Jf(n.when)} THEN ${Jf(n.then)}`;return e.else&&(t+=` ELSE ${Jf(e.else)}`),t+=` END`,t}function Gf(e){let t=Jf(e.value);return`${e.operator.toUpperCase()} ${t}`}function Kf(e){let t=Jf(e.left),n=Jf(e.right);return`${t} ${e.operator.toUpperCase()} ${n}`}function qf(e){return`CAST(${Jf(e.value)} as ${e.dataType})`}function Jf(e){switch(e.type){case`Identifier`:return Vf(e);case`LiteralValue`:return Hf(e);case`FunctionCall`:return Uf(e);case`Case`:return Wf(e);case`UnaryOperation`:return Gf(e);case`BinaryOperation`:return Kf(e);case`TypeCast`:return qf(e);case`Select`:return`${$f(e)}`;default:H(e)}}function Yf(e){return Bd(e.data)?`Collection`:e.alias?`"${e.data.displayName}" AS "${e.alias}"`:`"${e.data.displayName}"`}function Xf(e){let t=`${Zf(e.left)} LEFT JOIN ${Zf(e.right)}`;return e.constraint&&(t+=` ON ${Jf(e.constraint)}`),t}function Zf(e){switch(e.type){case`Collection`:return Yf(e);case`LeftJoin`:return Xf(e);default:H(e)}}function Qf(e){let t=``;return e.split(/\s+/u).forEach(e=>{e!==``&&([`SELECT`,`FROM`,`WHERE`,`ORDER`,`LIMIT`,`OFFSET`].includes(e)?t+=`
${e}`:[`AND`,`OR`].includes(e)?t+=`
	${e}`:t+=` ${e}`)}),t.trim()}function $f(e){let t=``;return t+=`SELECT ${e.select.map(e=>{let t=Jf(e);return e.alias?`${t} AS "${e.alias}"`:t}).join(`, `)}`,t+=` FROM ${Zf(e.from)}`,e.where&&(t+=` WHERE ${Jf(e.where)}`),e.orderBy&&(t+=` ORDER BY ${e.orderBy.map(e=>`${Jf(e)} ${e.direction??`asc`}`).join(`, `)}`),e.limit&&(t+=` LIMIT ${Jf(e.limit)}`),e.offset&&(t+=` OFFSET ${Jf(e.offset)}`),Qf(t)}function ep(e){return B(e)&&e.type===`Collection`}function tp(e,t){return ep(t)&&Id(t.data)?Cf(t.data):t}function np(e,t){let n=t?.id??`default`;return JSON.stringify(e,tp)+n}function rp(e){let{activeLocale:t}=pr();return fE.get(e,t).use()}function ip(e,t){let n=Object.entries(e??{}).filter(([,e])=>!(nt(e)||B(e))).map(([e,n])=>({type:`BinaryOperation`,operator:`==`,left:{type:`TypeCast`,value:{type:`Identifier`,name:e,collection:t},dataType:`STRING`},right:{type:`LiteralValue`,value:String(n)}}));return n.length===0?{type:`LiteralValue`,value:!1}:n.reduce((e,t)=>({type:`BinaryOperation`,operator:`and`,left:e,right:t}))}function ap(e,t){e.forEach(e=>clearTimeout(e)),e.clear(),t.forEach(e=>e?.(`Callback cancelled by variant change`)),t.clear()}function op(){return new Set}function sp(e){let t=Pi(op),n=Pi(op);return us(()=>()=>ap(n,t)),s(()=>()=>ap(n,t),[]),s(()=>{ap(n,t)},[e]),E({activeVariantCallback:e=>async(...n)=>new Promise((r,i)=>{t.add(i),e(...n).then(r)}).catch(()=>{}),delay:async(e,t)=>{await new Promise(e=>{n.add(globalThis.setTimeout(()=>e(!0),t))}),e()}}).current}function cp(e,t,r){return n.useCallback(n=>!r||!e?{}:t?Object.assign({},r[e]?.[n],r[t]?.[n]):r[e]?.[n]||{},[e,t,r])}function lp(e){for(let[t,n]of Object.entries(e))if(K.matchMedia(n).matches)return t}function up(e){let t=[];for(let{hash:n,mediaQuery:r}of e)r&&K.matchMedia(r).matches&&t.push(n);if(t.length>0)return t;let n=e[0]?.hash;if(n)return[n]}function dp(e,t,n=!0){let r=u(Ax),i=Ha(),o=E(!i&&_a()?lp(t)??e:e),c=E(n&&r?e:o.current),l=_o(),d=le(),f=a(e=>{if(e!==o.current||e!==c.current){let t=function(){o.current=c.current=e,ne(()=>{l()})};i?t():d(()=>{t()})}},[d,l,i]);return Ib(()=>{i&&f(e)},[e,i,f]),Ib(()=>{!n||r!==!0||f(o.current)},[]),s(()=>{let e=[];for(let[n,r]of Object.entries(t)){let t=K.matchMedia(r),i=e=>{e.matches&&f(n)};fp(t,i),e.push([t,i])}return()=>e.forEach(([e,t])=>pp(e,t))},[t,f]),[o.current,c.current]}function fp(e,t){e.addEventListener?e.addEventListener(`change`,t):e.addListener(t)}function pp(e,t){e.removeEventListener?e.removeEventListener(`change`,t):e.removeListener(t)}function mp(e){setTimeout(e,1)}function hp(e){let t=new Set,n=up(e);if(n)for(let e of n)for(let n of document.querySelectorAll(`.hidden-`+e))gp(n.previousSibling)&&t.add(n.previousSibling),n.parentNode?.removeChild(n);(og?K.requestIdleCallback:mp)(()=>{document.querySelector(pE)?.remove()});for(let e of document.querySelectorAll(`.ssr-variant:empty`))gp(e.previousSibling)&&t.add(e.previousSibling),e.parentNode?.removeChild(e);for(let e of t)_p(e.nextSibling)&&(e.parentNode?.removeChild(e.nextSibling),e.parentNode?.removeChild(e))}function gp(e){return e?.nodeType===Node.COMMENT_NODE&&e.textContent===`$`}function _p(e){return e?.nodeType===Node.COMMENT_NODE&&e.textContent===`/$`}function vp(){let e=Pi(()=>new Map);return n.useCallback(t=>{let n=e.get(t);if(n)return n;let r=C();return e.set(t,r),r},[])}function yp(e,t){if(e[t])return e[t];if(!(t in e))return e.default}function bp(e,t){if(Va())return;let r=n.useRef(!0),i=n.useRef(t);us((t,n)=>{let a=t&&!n;if(!r.current&&a){let t=yp(i.current,e);t&&t()}r.current=a},[]),n.useEffect(()=>{if(r.current){let t=yp(i.current,e);t&&t()}},[e])}function xp(e,t){e!==!1&&je.render(()=>{let e=document.documentElement.style;t?e.setProperty(`overflow`,`hidden`):e.removeProperty(`overflow`)})}function Sp({blockDocumentScrolling:e=!0,dismissWithEsc:t=!1}={}){let[r,i]=n.useState(!1),a=n.useCallback(async t=>{await hn({priority:`user-blocking`,continueAfter:`paint`}),ne(()=>i(t)),xp(e,t)},[e]);return n.useEffect(()=>()=>{hn({priority:`user-blocking`,continueAfter:`paint`}).then(()=>{xp(e,!1)})},[e]),n.useEffect(()=>{if(!t)return;let e=e=>{e.key===`Escape`&&(e.preventDefault(),e.stopPropagation(),a(!1))};return K.addEventListener(`keydown`,e),()=>K.removeEventListener(`keydown`,e)},[t,a]),[r,a]}function Cp(e){return B(e)&&mE in e&&e.page!==void 0}function wp(e,t){return`${e}-${t}`}function Tp(e,t){let n=e.indexOf(t)+1;n>=e.length&&(n=0);let r=e[n];return V(r!==void 0,`nextVariant should be defined`),r}function Ep(e,t){if(e){if(t){let n=e[t];if(n)return n}return e.default}}function Dp(e,t,n,r,i){let{hover:a,pressed:o,loading:s,error:c}=e||{};if(c&&i)return`error`;if(s&&r)return`loading`;if(o&&n)return`pressed`;if(a&&t)return`hover`}function Op(e,t){return t[e]||`framer-v-${e}`}function kp(e,t,n){return e&&n.has(e)?e:t}function Ap(){let e=E(),t=E(),n=a(()=>{e.current&&(document.removeEventListener(`visibilitychange`,e.current),e.current=void 0,t.current=void 0)},[]);return s(()=>()=>{n()},[n]),a(r=>{if(!document.hidden){r(),n();return}if(t.current=r,e.current)return;let i=()=>{document.hidden||(t.current?.(),n())};e.current=i,document.addEventListener(`visibilitychange`,i)},[n])}function jp(){let e=E(),t=E(!1),n=E(),r=u(px);return s(()=>()=>{e.current?.(),n.current=void 0,e.current=void 0},[]),a((i,a)=>{if(!a?.current||t.current){i();return}if(n.current=i,e.current)return;let o=!1;e.current=ns(r,`undefined`,a.current,null,e=>{t.current=e.isIntersecting,!o&&(o=!0,queueMicrotask(()=>{o=!1,t.current&&n.current?.()}))})},[r])}function Mp(e){let t=Ap(),n=jp();return a((r,i=!1)=>{if(ag){r();return}t(i&&e?()=>n(r,e):r)},[t,n,e])}async function Np(){return new Promise(e=>{let t=e;setTimeout(()=>{t&&(performance.mark(`wait-for-click-fallback`),t())},150),_E=()=>{e(),t=void 0}})}function Pp(e){e.button===0&&(performance.mark(`pointerdown-listener`),gE=Np())}function Fp(){performance.mark(`click-received-listener`),gE=void 0,_E?.(),_E=void 0}function Ip(e=!1){s(()=>{e&&(document.addEventListener(`pointerup`,Pp,!0),document.__proto__.addEventListener.call(document,`click`,Fp,!0))},[e])}function Lp({variant:e,defaultVariant:t,transitions:n,enabledGestures:r,cycleOrder:i=[],variantProps:o={},variantClassNames:s={},ref:c}){let l=_o(),u=yl(),f=Pi(()=>new Set(i)),{yieldOnTap:p}=vg();Ip(p);let m=Mp(c),h=E({isHovered:!1,isHoveredHasUpdated:!1,isPressed:!1,isPressedHasUpdated:!1,isError:!1,hasPressedVariants:!0,baseVariant:kp(e,t,f),lastVariant:e,gestureVariant:void 0,loadedBaseVariant:{},defaultVariant:t,enabledGestures:r,cycleOrder:i,transitions:n}),g=a(e=>{let{isHovered:t,isPressed:n,isError:r,enabledGestures:i,defaultVariant:a}=h.current,o=kp(e,a,f),s=Dp(i?.[o],t,n,!1,r);return[o,s?wp(o,s):void 0]},[]),_=a(async(e,t,n,r,i=!1,a=!1)=>{let[o,s]=g(r);if(o===e&&s===t)return;a&&(h.current.isError=!1),h.current.baseVariant=o||n,h.current.gestureVariant=s;let c=p&&h.current.isPressedHasUpdated;c&&gE&&(performance.mark(`wait-for-tap-start`),await gE,performance.measure(`wait-for-tap`,`wait-for-tap-start`)),c&&(performance.mark(`yield-on-tap-start`),await hn({priority:`user-blocking`,continueAfter:`paint`}),performance.measure(`yield-on-tap`,`yield-on-tap-start`));let{isHovered:u,isPressed:d,isHoveredHasUpdated:f,isPressedHasUpdated:_}=h.current;if(u||f||d||_){ne(l);return}m(()=>ne(l),i)},[g,l,m,p]),v=a(({isHovered:e,isPressed:t,isError:n})=>{let r=t!==h.current.isPressed,i=e!==h.current.isHovered;e!==void 0&&(h.current.isHovered=e),t!==void 0&&(h.current.isPressed=t),n!==void 0&&(h.current.isError=n);let{baseVariant:a,gestureVariant:o,defaultVariant:s}=h.current;h.current.isPressedHasUpdated=r,h.current.isHoveredHasUpdated=i,_(a,o,s,a,!1)},[_]),y=a((e,t=!1)=>{let{defaultVariant:n,cycleOrder:r,baseVariant:i,gestureVariant:a}=h.current;_(i,a,n,e===hE?Tp(r||[],i||n):e,t,!0)},[_]),b=a(()=>{let{baseVariant:e}=h.current;h.current.loadedBaseVariant[e]=!0,m(()=>ne(l),!0)},[l,m]);if(e!==h.current.lastVariant){let[t,n]=g(e);h.current.lastVariant=t,(t!==h.current.baseVariant||n!==h.current.gestureVariant)&&(h.current.baseVariant=t,h.current.gestureVariant=n)}let{baseVariant:x,gestureVariant:S,defaultVariant:C,enabledGestures:w,isHovered:T,isPressed:D,isError:O,loadedBaseVariant:k}=h.current,ee=cp(h.current.baseVariant,h.current.gestureVariant,o);return d(()=>{let e=[];x!==C&&e.push(x);let t=w?.[x]?.loading,n=!O&&!u&&!!t&&!k[x],r=n?wp(x,`loading`):S;r&&e.push(r);let i=w?.[x],a={onMouseEnter:()=>v({isHovered:!0}),onMouseLeave:()=>v({isHovered:!1})};return i?.pressed&&Object.assign(a,{onTapStart:()=>v({isPressed:!0}),onTapCancel:()=>v({isPressed:!1}),onTap:()=>v({isPressed:!1})}),{variants:e,baseVariant:x,gestureVariant:r,isLoading:n,transition:Ep(h.current.transitions,x),setVariant:y,setGestureState:v,clearLoadingGesture:b,addVariantProps:ee,gestureHandlers:a,classNames:tc(Op(x,s),Dp(i,T,D,n,O))}},[x,S,T,D,k,ee,y,C,w,v,b,s])}function Rp(e,{scopeId:t,nodeId:r,override:i,inComponentSlot:a}){if(!Zc())return i(e);let o=zp(e,i),s=!1;function c(n,i){let c=el();if(cl(t,c?.scopeId,c?.level,a??!1))return o.status===`success`?A(__.Provider,{value:r,children:A(Qc,{getErrorMessage:al.bind(null,t,r),fallback:A(e,{...n,ref:i}),children:A(o.Component,{...n,ref:i})})}):(s||=(Xc(o.error),Xc(al(t,r)),Yc(o.error),!0),A(e,{...n,ref:i}));if(o.status===`success`)return A(__.Provider,{value:r,children:A(o.Component,{...n,ref:i})});throw o.error}return n.forwardRef(c)}function zp(e,t){try{return{status:`success`,Component:t(e)}}catch(e){return{status:`error`,error:e}}}function Bp(e,t){return t?ue(0,2,e):e}function Vp(){return new Promise(e=>{je.postRender(()=>e())})}function Hp(e){let t=e.__FramerMetadata__.exports.default.annotations?.framerVariables;if(t)try{return JSON.parse(t)}catch{return}}function Up(e,t){return n=>{let r={},i=Hp(t);for(let e in n)bb(r)[i?.[e]??e]=n[e];return A(e,{...r})}}function Wp(e,t,n){let r=[],i=Dc(e,t,e=>r.unshift(e,e));if(n){let e=i[i.length-1];if(!z(e))return xE;i.push(e+1),r.push(-1)}let a=i[0];return z(a)?a<=1?{inputRange:i,outputRange:r}:{inputRange:[0,Math.max(a-1,0),...i],outputRange:[-1,-1,...r]}:xE}function Gp(e){return e.weight!==void 0&&e.style!==void 0}function Kp(e,t){let n=t===`normal`?`Regular`:`Italic`;return e===400?n:t===`normal`?`${AE[e]}`:`${AE[e]} ${n}`}function qp(){return h===void 0?{}:ME||(ME=Jp(),ME)}function Jp(){let e=h.location,t=h?.bootstrap?.services;if(t)return t;let n;try{if(n=h.top.location.origin,t=h.top?.bootstrap?.services,t)return t}catch{}if(n&&n!==e.origin)throw Error(`Unexpectedly embedded by ${n} (expected ${e.origin})`);if(e.origin.endsWith(`framer.com`)||e.origin.endsWith(`framer.dev`))throw Error(`ServiceMap data was not provided in document`);try{let n=new URLSearchParams(e.search).get(`services`)||new URLSearchParams(e.hash.substring(1)).get(`services`);n&&(t=JSON.parse(n))}catch{}if(t&&typeof t==`object`&&t.api)return t;throw Error(`ServiceMap requested but not available`)}function Yp(e){return e.key+e.extension}function Xp(e){return`${qp().userContent}/assets/${e}`}function Zp(e){return Xp(Yp(e))}function Qp(e,t){return t?`${e} ${NE}`:e}function $p(e,t){switch(t){case`custom`:throw Error(`Custom fonts are not supported`);default:return Qp(e.name,e.isVariable)}}function em(e){return!!(e&&Array.isArray(e))}function tm(e){if(!e||!Array.isArray(e))return;let t=[];for(let n of e)rm(n)&&t.push({tag:n.tag,name:n.name,minValue:n.minValue,maxValue:n.maxValue,defaultValue:n.defaultValue});return t}function nm(e){return!(typeof e!=`object`||!e||!(`tag`in e)||typeof e.tag!=`string`||`coverage`in e&&e.coverage!==void 0&&!Array.isArray(e.coverage))}function rm(e){return!(typeof e!=`object`||!e||!(`tag`in e)||typeof e.tag!=`string`||`name`in e&&typeof e.name!=`string`||!(`minValue`in e)||typeof e.minValue!=`number`||!(`maxValue`in e)||typeof e.maxValue!=`number`||!(`defaultValue`in e)||typeof e.defaultValue!=`number`)}function im(e){return IE[am(e)]}function am(e){return e.toLowerCase().replace(/\s+/gu,`-`)}function om(e){return e=e.toLowerCase(),e.includes(`italic`)||e.includes(`oblique`)||e.includes(`slanted`)?`italic`:`normal`}function sm(e,t){return{...cm(e,t),...lm(e,t)}}function cm(e,t){if(t.length===0)return{variantBold:void 0,variantBoldItalic:void 0,variantItalic:void 0};let{weight:n,style:r}=e,i=new Map,a=new Map;for(let r of t)r.isVariable===e.isVariable&&(i.set(`${r.weight}-${r.style}`,r),!(r.weight<=n)&&(a.has(r.style)||a.set(r.style,r)));let o=a.get(r),s=a.get(`italic`),c=e.weight;c<=300?(o=i.get(`400-${r}`)??o,s=i.get(`400-italic`)??s):c<=500?(o=i.get(`700-${r}`)??o,s=i.get(`700-italic`)??s):(o=i.get(`900-${r}`)??o,s=i.get(`900-italic`)??s);let l=i.get(`${n}-italic`);return{variantBold:o,variantItalic:l,variantBoldItalic:s}}function lm(e,t){if(t.length===0)return{variantVariable:void 0,variantVariableItalic:void 0};let n,r,i,a;for(let o of t){if(!o.isVariable)continue;let t=o.weight===e.weight,s=o.weight===400;o.style===`normal`?t?n=o:s?i=o:i||=o:o.style===`italic`&&(t?r=o:s?a=o:a||=o)}return{variantVariable:n??i,variantVariableItalic:r??a}}function um(e){return!!e.variationAxes}function dm(e){return fm(e)||pm(e)}function fm(e){return e.startsWith(zE)}function pm(e){return e.startsWith(RE)}function mm(e,t){for(let n=0;n<e.length;n++){let r=e[n];if(r){if(r.owner!==t.owner&&r.file===t.file)return{existingFont:r,index:n,projectDuplicate:!0};if(r&&r.selector===t.selector)return{existingFont:r,index:n,projectDuplicate:!1}}}}function hm(e){let{font:t}=e,n=t.fontFamily,r=Array.isArray(t.variationAxes);if(r&&n.toLowerCase().includes(`variable`))return n;let i=r?NE:t.fontSubFamily.trim();return i===``?n:`${n} ${i}`}function gm({fontFamily:e,fontSubFamily:t,variationAxes:n,faceDescriptors:r}){let i=t.trim()||`Regular`,a=i.toLocaleLowerCase().includes(`variable`),o=tm(n)&&!a?`Variable ${i}`:i,s=`normal`,c=400;return r&&(c=r.weight,s=r.italic||r.oblique?`italic`:`normal`),{family:e,variant:o,weight:c,style:s}}function _m(e){if(!(!e.weight||!e.style))return{weight:e.weight,style:e.style,isVariable:um(e),selector:e.selector}}function vm(e){let t=e.fonts.map(e=>_m(e)).filter(e=>e!==void 0);for(let n of e.fonts){let e=_m(n);if(!e)continue;let r=sm(e,t);n.selectorVariable=r.variantVariable?.selector,n.selectorVariableItalic=r.variantVariableItalic?.selector,n.selectorBold=r.variantBold?.selector,n.selectorBoldItalic=r.variantBoldItalic?.selector,n.selectorItalic=r.variantItalic?.selector}}function ym(e){return e.ownerTypes.includes(`team`)?`team`:`project`}async function bm(e){switch(e){case`google`:return(await import(`./google-VQ4ZP4WR.SARtsURp.mjs`)).default;case`fontshare`:return(await import(`./fontshare-Q7VOJ3QT.0UYwDrbF.mjs`)).default;default:throw Error(`Unknown font source: ${e}`)}}async function xm(e){switch(e){case`google`:return(await import(`./google-TRAPONMP.qfFrmAAj.mjs`)).default;case`fontshare`:return(await import(`./fontshare-LJWOE5KG.Ck_7nta8.mjs`)).default;case`framer`:return(await import(`./framer-font-G73BNA7N.ChY_ppqS.mjs`)).default;default:throw Error(`Unknown font source: ${e}`)}}function Sm(e){return e.split(`,`).map(e=>e.trim().toLowerCase()).filter(Cm)}function Cm(e){return VE.includes(e)}function wm(e){let t={serif:`serif`,sans:`sans-serif`,slab:`slab`,display:`display`,handwritten:`handwriting`,script:`handwriting`},n=Sm(e)[0];return n&&t[n]}function Tm(e){let t={serif:`serif`,"sans-serif":`sans-serif`,display:`display`,handwriting:`handwriting`,monospace:`monospace`};if(e)return t[e]}function Em(e,t){return e.reduce((e,n)=>(e[t(n)]=n,e),{})}async function Dm(e,t,n=0){let{family:r,url:i,stretch:a,unicodeRange:o}=e,s=e.weight,c=e.style||`normal`,l=`${r}-${c}-${s}-${i}`;if(!rD.has(l)||n>0){let u=new FontFace(r,`url(${i})`,{weight:R(s)?s:s?.toString(),style:c,stretch:a,unicodeRange:o}),d=u.load().then(()=>(t.fonts.add(u),Om(r,c,s))).catch(l=>{if(l.name!==`NetworkError`)throw l;if(n<tD)return Dm(e,t,n+1);throw new nD(`Font loading failed after ${n} retries due to network error: ${JSON.stringify({family:r,style:c,weight:s,url:i,stretch:a,unicodeRange:o})}`)});rD.set(l,d)}await rD.get(l)}async function Om(e,t,n){let r=`${e}-${t}-${n}`;if(!iD.has(r)){let i=new $E.default(e,{style:t,weight:n}).load(null,eD);iD.set(r,i)}try{await iD.get(r)}catch{throw new nD(`Failed to check if font is ready (${eD}ms timeout exceeded): ${JSON.stringify({family:e,style:t,weight:n})}`)}}function km(e){try{if(e===`framer`)return Am(oD)?oD:void 0;{let t=(async()=>{switch(e){case`google`:return(await import(`./google-LLNWFNMY.Ze8dIuHz.mjs`)).default;case`fontshare`:return(await import(`./fontshare-MHXFPDHS.DRvl2Ryn.mjs`)).default;default:H(e)}})();return Am(t)?t:void 0}}catch(e){console.error(e);return}}function Am(e){return B(e)&&Object.values(e).every(Mm)}function jm(e){return B(e)&&R(e.tag)}function Mm(e){return Array.isArray(e)&&e.every(jm)}function Nm(){return A(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`8`,height:`8`,viewBox:`0 0 8 8`,"aria-hidden":`true`,children:A(`path`,{d:`m1.5 6.5 5-5M6.5 6.5l-5-5`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`})})}function Pm(e,t){s(()=>{function n(n){n.key===`Escape`&&e&&(n.preventDefault(),n.stopPropagation(),t())}return h.addEventListener(`keyup`,n),()=>h.removeEventListener(`keyup`,n)},[e,t])}function Fm(e,t,n,r){let i=h.innerHeight-r,a=Math.min(h.innerWidth-n,t),o=i/e;return Math.min(a,o)}function Im(e,{width:t,height:n}){if(!e.src||!e.srcSet)return;let r=new h.Image;return r.src=e.src,r.srcset=e.srcSet,r.sizes=e.sizes||``,r.width=t,r.height=n,r.decode()}function Lm(){return document.getElementById(bC)??document.getElementById(yC)??document.body}function Rm(e,t){return z(e)?e:t??0}function zm(e){return Rm(e?.paddingTop,e?.padding)+Rm(e?.paddingBottom,e?.padding)}function Bm(e){return Rm(e?.paddingLeft,e?.padding)+Rm(e?.paddingRight,e?.padding)}function Vm(e){let t=E(e);return t.current=e,a((...e)=>t.current(...e),[])}function Hm(e,t){if(!e||!t||!t.src)return t;let n=new URL(t.src);return n.searchParams.delete(`scale-down-to`),n.searchParams.delete(`lossless`),{...t,sizes:`min(100vw, ${e.maxWidth-Bm(e)}px)`,srcSet:Ja(t.nodeFixedSize,t,t.src).srcSet}}function Um(e){if(!e)return!1;for(let t in e){if(!(t in bD))continue;let n=bD[t],r=e[t];if(!(!z(n)||!z(r))&&n!==r)return!0}return!1}function Wm(e){let t=Se.get(e.current);if(!t)return!1;if(Um(t.projection?.latestValues))return!0;let n=t.projection?.path;if(!n||n.length===0)return!1;for(let e of n)if(Um(e.latestValues))return!0;return!1}function Gm(e){return j(function({lightbox:t,lightboxClassName:n,onClick:r,...i},o){let l=u(Te),p=u(yE),m=!!p,h=E(null),g=o??h,_=E(),v=d(()=>Hm(t,i.background),[t,i.background]),[b,S]=f(!1),[C,w]=f(),O=a(()=>{if(t){if(b){ne(()=>{S(!0)});return}je.read(()=>{if(!g.current)return;let e=getComputedStyle(g.current),n=g.current.getAttribute(`data-border`)===`true`?getComputedStyle(g.current,`::after`):void 0,r=g.current.offsetWidth??1,i=g.current.offsetHeight??1,a=Wm(g)||m?{duration:0}:t.transition;ne(()=>{w({borderRadius:e.borderRadius,aspectRatio:r/(i||1),borderTop:n?.borderTopWidth,borderRight:n?.borderRightWidth,borderBottom:n?.borderBottomWidth,borderLeft:n?.borderLeftWidth,borderStyle:n?.borderStyle,borderColor:n?.borderColor,transition:a,imageRendering:e.imageRendering,filter:e.filter}),S(!0),p?.stop()})})}},[t,b,g,p?.stop,m]),k=C?.aspectRatio??1,ee=Vm(()=>{if(!t||!v||!v.src)return;let e=_.current?.[v.src];if(e)return e;let n=Fm(k,t.maxWidth,Bm(t),zm(t)),r=Im(v,{width:n,height:n*k});return _.current={[v.src]:r},r}),j=a(async e=>{r?.(e),!(b||!t||!v)&&(await ee(),O())},[r,O,b,v,t,ee]),te=a(e=>{e?.stopPropagation(),ne(()=>{S(!1)})},[]);Pm(b,te),s(()=>{if(!t)return;let e;function n(){e=setTimeout(()=>{ee()},50)}function r(){clearTimeout(e)}let i=g.current;return i?.addEventListener(`mouseenter`,n),i?.addEventListener(`mouseleave`,r),i?.addEventListener(`pointerdown`,ee),()=>{r(),i?.removeEventListener(`mouseenter`,n),i?.removeEventListener(`mouseleave`,r),i?.removeEventListener(`pointerdown`,ee)}},[ee,g,t]);let M=y(),re=C?.transition??i.transition??l.transition,ie=C?.borderRadius,ae=C?.imageRendering,oe=C?.filter,se=C?.borderTop,ce=C?.borderRight,le=C?.borderBottom,ue=C?.borderLeft,de=C?.borderStyle,fe=C?.borderColor,pe=!!(se||ce||le||ue||de||fe),me=pe?{"--border-top-width":se,"--border-right-width":ce,"--border-bottom-width":le,"--border-left-width":ue,"--border-style":de,"--border-color":fe}:void 0,he={[tC]:i.id},ge=Rm(t?.paddingTop,t?.padding),N=Rm(t?.paddingBottom,t?.padding),_e=Rm(t?.paddingLeft,t?.padding),ve=Rm(t?.paddingRight,t?.padding),P=C?.borderRadius?{...i.style,borderRadius:C.borderRadius}:i.style,be=b?i.layoutDependency?`${i.layoutDependency}-open`:`open`:i.layoutDependency,xe=m&&b?void 0:i.layoutId??(t?M:void 0);return x(D,{children:[A(e,{...i,style:P,onClick:j,layoutId:xe,ref:g,layoutDependency:be,transition:re}),A(Le,{onExitComplete:()=>{ne(()=>{w(void 0),p?.start()})},children:b&&t&&v&&A(c,{children:T(x(D,{children:[A(ye.div,{...he,className:n,onClick:te,style:{position:`fixed`,inset:0,zIndex:t.zIndex,backgroundColor:t.backdrop??`transparent`},transition:re,initial:xD,animate:SD,exit:xD}),A(ye.div,{...he,className:n,style:{alignItems:`center`,display:`flex`,inset:`${ge}px ${ve}px ${N}px ${_e}px`,justifyContent:`center`,pointerEvents:`none`,position:`fixed`,zIndex:t.zIndex},children:A(`div`,{style:{alignItems:`center`,aspectRatio:k,display:`flex`,justifyContent:`center`,maxHeight:`100%`,position:`relative`,width:`100%`,maxWidth:t.maxWidth},children:A(ye.div,{layoutId:xe,transition:re,onClick:O,className:`framer-lightbox-container`,"data-border":pe,style:{aspectRatio:k,borderRadius:ie,bottom:0,position:`absolute`,top:0,userSelect:`none`,imageRendering:ae,filter:oe,...me},children:A(ro,{image:v,alt:v.alt,draggable:i.draggable})})})})]}),Lm())},`backdrop`)})]})})}function Km(e,t){return TD&&!t?Document.parseHTMLUnsafe(e):(wD??=new DOMParser,wD.parseFromString(e,t??`text/html`))}function qm(e){return e.replaceAll(`&`,`&amp;`).replaceAll(`<`,`&lt;`).replaceAll(`>`,`&gt;`).replaceAll(`"`,`&quot;`).replaceAll(`'`,`&#39;`)}function Jm(e,t,n,r){return e.replace(ED,(e,i,a,o,s,c,l)=>{if(a.toLowerCase()!==`a`)return e;let u=s||c,d=wl(u.replace(/&amp;/gu,`&`));if(!d||!d.target)return e;let f=t(d.target);if(!Cp(f)||!Cp(n))return e;let p=f.path,m=n.path;if(!p||!m)return e;let h=` data-framer-page-link-target="${d.target}"`,g=Ft(f,d.element??void 0);g&&(h+=` data-framer-page-link-element="${d.element}"`);let _=El(u);if(!_||R(_))return e;pu(n,_,r)&&(h+=` data-framer-page-link-current`);let v=p,y=Object.assign({},r,d.collectionItem?.pathVariables);if(Object.keys(y).length>0&&(v=v.replace(CC,(e,t)=>``+y[t])),d.collectionItem?.pathVariables){let e=new URLSearchParams(d.collectionItem.pathVariables);h+=` data-framer-page-link-path-variables="${e}"`}return v=bn(m,v),i+o+`"${qm(v+(g?`#${g}`:``))}"`+h+l})}function Ym(e,t){return e.length===t.length&&e.every((e,n)=>e===t[n])}function Xm(e){switch(e){case`top`:return`flex-start`;case`center`:return`center`;case`bottom`:return`flex-end`}}function Zm(e,t,n){let r=E([]);Ym(r.current,e)||(r.current=e,cD.loadFonts(e).then(({newlyLoadedFontCount:e})=>{!t||!n.current||J.current()!==J.canvas||e>0&&Co(n.current)}))}function Qm(){return{current:null}}async function $m(e,t){let n=e.current;if(n)return n;let r,i=new Promise((e,n)=>{r=e,t.signal.addEventListener(`abort`,()=>n())});return Object.defineProperty(e,`current`,{get(){return n},set(e){if(n=e,e===null){t.abort();return}r(e)},configurable:!0}),i}function eh(e){return e in AD}function th(e,t){let n={};for(let r in e){if(!eh(r))continue;let i=e[r],a=AD[r];nt(i)||nt(a)||t&&r!==`opacity`||(n[r]=[i,a])}return n}function nh(e,t=`character`,n,r,i){if(r){let t=Qm();return n.add(t),A(`span`,{ref:t,style:i,children:e})}switch(t){case`character`:case`line`:{let t=e.split(` `),r=t.length-1;return t.map((e,t)=>{let a=t===r;return x(c,{children:[A(`span`,{style:{whiteSpace:e.length<=12?`nowrap`:`unset`},children:e.match(jD)?.map((e,t)=>{let r=Qm();return n.add(r),A(`span`,{ref:r,style:i,children:e},e+t)})}),a?null:` `]},e+t+a)})}case`word`:{let t=e.split(` `),r=t.length-1;return t.map((e,t)=>{let a=t===r,o=Qm();return n.add(o),x(c,{children:[A(`span`,{ref:o,style:i,children:e}),a?null:` `]},e+t+a)})}case`element`:default:return e}}function rh(e){let t=e.type;switch(t){case`appear`:return e.tokenization??`character`;default:H(t)}}function ih(e){let t=[];return z(e.x)&&t.push(`translateX(${e.x}px)`),z(e.y)&&t.push(`translateY(${e.y}px)`),z(e.scale)&&t.push(`scale(${e.scale})`),z(e.rotate)&&t.push(`rotate(${e.rotate}deg)`),z(e.rotateX)&&t.push(`rotateX(${e.rotateX}deg)`),z(e.rotateY)&&t.push(`rotateY(${e.rotateY}deg)`),z(e.skewX)&&t.push(`skewX(${e.skewX}deg)`),z(e.skewY)&&t.push(`skewY(${e.skewY}deg)`),t.join(` `)}function ah(e,t,n,r){if(!n||!n.effect)return;let i=n.type;switch(i){case`appear`:switch(n.tokenization){case`element`:return!e||!t?void 0:{opacity:n.effect.opacity,filter:r?void 0:n.effect.filter,transform:r?void 0:ih(n.effect)};case`line`:case`word`:case`character`:default:return!e||!t?{display:`inline-block`}:{display:`inline-block`,opacity:n.effect.opacity,filter:r?void 0:n.effect.filter,transform:r?void 0:ih(n.effect)}}default:H(i)}}function oh(e,t,n){let r=Pi(()=>new Set),i=Va(),a=n||!i,o=Ze(),c=E({hasMounted:!1,hasAnimatedOnce:!1,isAnimating:!1,effect:e});c.current.effect=e;let l=e?.trigger??`onMount`,u=e?.target,f=e?.threshold;s(()=>{if(!a||n)return;c.current.hasMounted=!0;function e(){let{effect:e}=c.current;if(!a||!e||e?.repeat!==!0&&c.current.hasAnimatedOnce||e?.type===`appear`&&c.current.isAnimating)return;Object.assign(c.current,{hasAnimatedOnce:!0,isAnimating:!0});let t=e.type;switch(t){case`appear`:{let{transition:t,startDelay:n,repeat:i,tokenization:a}=e,s={current:void 0};return ch(a,e.effect,r,t,n,i,o,()=>{Object.assign(c.current,{isAnimating:!1})},s),()=>s.current?.()}default:H(t)}}switch(l){case`onMount`:e();return;case`onInView`:{let n=t?.current;return n?Ae(n,e,{amount:f??0}):void 0}case`onScrollTarget`:{let t=u?.ref?.current;return t?Ae(t,e,{amount:f??0,root:document,margin:u?.offset?`${u.offset}px 0px 0px 0px`:void 0}):void 0}default:H(l)}},[a,r,n,t,u,f,l]);let p=!!e,m=e?rh(e):void 0;return d(()=>({getTokenizer:()=>{if(r.clear(),!p)return;let{hasMounted:e,hasAnimatedOnce:t,effect:i}=c.current,s=ah(a,n||sh(e,t,i),c.current.effect,o);return{text:e=>nh(e,m,r,o,s),props:e=>{if(i?.tokenization!==`element`)return;let t=Qm();return r.add(t),{ref:t,style:{...e,...s}}}}},play:()=>{let{effect:e}=c.current;if(!e)return;let t=e.type;switch(t){case`appear`:{let{transition:t,startDelay:n}=e;ch(m,e.effect,r,t,n,!1,o);break}default:H(t)}}}),[a,p,r,n,m])}function sh(e,t,n){return!(e&&n?.trigger===`onMount`||t&&!n?.repeat&&(n?.trigger===`onInView`||n?.trigger===`onScrollTarget`))}async function ch(e=`character`,t,n,r,i=0,a=!1,o,s,c){let l=th(t,o),u=new AbortController;switch(c&&(c.current=()=>u.abort()),e){case`character`:case`element`:case`word`:{let e=await lh(n,u);if(e===null||(ke(e,l,{...r,restDelta:.001,delay:N(r?.delay??0,{startDelay:i})}).then(()=>s?.()),!a||!c))return;c.current=()=>{ke(e,o?{opacity:t.opacity}:t,{...r,restDelta:.001,delay:N(r?.delay??0,{startDelay:i})})};return}case`line`:{try{for(let e of n)await $m(e,u)}catch{return}let e;if(je.read(()=>{e=uh(n),e.length!==0&&je.update(()=>{let t=e.map((e,t)=>ke(e,l,{...r,restDelta:.001,delay:i+t*(r?.delay??0)}));Promise.all(t).then(()=>s?.())})}),!a||!c)return;c.current=()=>{if(e.length===0)return;let n=o?{opacity:t.opacity}:t;e.forEach((e,t)=>{ke(e,n,{...r,restDelta:.001,delay:i+t*(r?.delay??0)})})};return}default:H(e)}}async function lh(e,t){if(e.size===0)return null;let n=[];for(let r of e)try{let e=await $m(r,t);e&&n.push(e)}catch{return null}return n}function uh(e){let t=[],n=[],r=null;for(let i of e){if(!i.current)continue;let e=i.current.offsetTop,a=i.current.offsetHeight;!a||r===null||e===r?n.push(i.current):(t.push(n),n=[i.current]),a&&(r=e)}return t.push(n),t}function dh(e){return e.type===c}function fh(e){return e.type===`br`}function ph(e,t,n,i,a={},o,s=dh(e)?-1:0){let c=r.toArray(e.props.children);nt(n)||(c=c.slice(0,1));let u=!0;c=c.map(e=>{if((!O(e)||!fh(e))&&(u=!1),O(e))return ph(e,t,n,i,a,o,s+1);let r=nt(n)?e:n;return R(r)&&o?o.text(r):r});let{"data-preset-tag":d,...f}=e.props;if(R(e.type)||Xe(e.type)){let n=Ne(e.type)||e.type,r=d||n,l=R(r)?t?.[r]:void 0;f.className=tc(`framer-text`,f.className,l),o&&s===0&&!u&&Object.assign(f,o.props(f.style));let p=n===`h1`||n===`h2`||n===`h3`||n===`h4`||n===`h5`||n===`h6`,m=t?.anchor;if(p&&m){let e=mh(c,a);f.id=e;let t=tc(`framer-text`,m),n=A(`a`,{href:`#${e}`,className:t,children:c});f.style={...f.style??{},scrollMarginTop:i},c=[n]}}return l(e,f,...c)}function mh(e,t){let n=lr(e.map(hh).join(``)),r=t[n]??0;return r>0&&(n+=`-${r}`),t[n]=r+1,n}function hh(e){return R(e)||z(e)?e.toString():O(e)?hh(e.props.children):Array.isArray(e)?e.map(hh).join(``):``}function gh(e){let t=e*Math.PI/180,n={x:-Math.sin(t)*100,y:Math.cos(t)*100},r=qr(n.x,n.y),i=Mv(qr(.5,.5),r),a=Y.points({x:0,y:0,width:1,height:1}),o=a.map(e=>({point:e,distance:qr.distance(r,e)})).sort((e,t)=>e.distance-t.distance),s=o[0]?.point,c=o[1]?.point;V(s&&c,`linearGradientLine: Must have 2 closest points.`);let[l,u]=a.filter(e=>!qr.isEqual(e,s)&&!qr.isEqual(e,c));V(l&&u,`linearGradientLine: Must have 2 opposing points.`);let d=Mv.intersection(i,Mv(s,c)),f=Mv.intersection(i,Mv(l,u));return V(d&&f,`linearGradientLine: Must have a start and end point.`),Mv(d,f)}function _h(e,t){let n=gh(e.angle),r=Mo(e),i=r[0]?.position??0,a=r[r.length-1]?.position??1,o=Mv.pointAtPercentDistance(n,i),s=Mv.pointAtPercentDistance(n,a),c=qe([i,a],[0,1]);return{id:`id${t}g${Qb.hash(e)}`,x1:o.x,y1:o.y,x2:s.x,y2:s.y,stops:r.map(t=>({color:t.value,alpha:Kb.getAlpha(t.value)*e.alpha,position:c(t.position)}))}}function vh(e,t){return{id:`id${t}g${ex.hash(e)}`,widthFactor:e.widthFactor,heightFactor:e.heightFactor,centerAnchorX:e.centerAnchorX,centerAnchorY:e.centerAnchorY,stops:Mo(e).map(t=>({color:t.value,alpha:Kb.getAlpha(t.value)*e.alpha,position:t.position}))}}function yh(e){if(!R(e)||e.charAt(e.length-1)!==`%`)return!1;let t=e.slice(0,-1);return z(parseFloat(t))}function bh(e){let t=e.slice(0,-1),n=parseFloat(t);return z(n)?n:50}function xh(e){return yh(e)?bh(e)/100:e===`left`?0:e===`right`?1:.5}function Sh(e){return yh(e)?bh(e)/100:e===`top`?0:e===`bottom`?1:.5}function Ch(e,t,n,r){if(e=tv.get(e,`#09F`),!Pb.isImageObject(e)||!e.pixelWidth||!e.pixelHeight)return;let i=e.pixelWidth,a=e.pixelHeight,o,{fit:s}=e,c=1,l=1,u=0,d=0;if(s===`fill`||s===`fit`||s===`tile`||!s){let n=1,f=1,p=i/a,m=t.height*p,h=t.width/p,g=m/t.width,_=h/t.height;if(s===`tile`){e.backgroundSize??=1,c=Math.round(e.backgroundSize*(i/2)),l=Math.round(e.backgroundSize*(a/2));let n=t.x??0,s=t.y??0,f=0,p=0;r&&(f=n,p=s),u=(t.width-c)*xh(e.positionX)+f,d=(t.height-l)*Sh(e.positionY)+p,o=`translate(${u+n}, ${d+s})`}else (s===`fill`||!s?_>g:_<g)?(f=_,d=(1-_)*Sh(e.positionY)):(n=g,u=(1-g)*xh(e.positionX)),o=`translate(${u}, ${d}) scale(${n}, ${f})`}return{id:`id${n}g-fillImage`,path:e.src??``,transform:o,width:c,height:l,offsetX:u,offsetY:d}}function wh(e){return e.startsWith(`data:${zD}`)}function Th(e,t){if(/^\w+:/u.test(e)&&!wh(e))return e;t=typeof t==`number`?t<=512?512:t<=1024?1024:t<=2048?2048:4096:void 0;let n=J.current()===J.export;return Db.assetResolver(e,{pixelSize:t,isExport:n})??``}function Eh(e){try{let t=Km(e).getElementsByTagName(`svg`)[0];if(!t)throw Error(`no svg element found`);return t}catch{return}}function Dh(e,t){kh(e,Oh(t))}function Oh(e){return e.replace(/[^\w\-:.]|^[^a-z]+/gi,``)}function kh(e,t){Ah(e,t),Array.from(e.children).forEach(e=>{kh(e,t)})}function Ah(e,t){e.getAttributeNames().forEach(n=>{let r=e.getAttribute(n);if(!r)return;if(n===`id`&&e.setAttribute(n,`${t}_${r}`),n===`href`||n===`xlink:href`){let[i,a]=r.split(`#`);if(i)return;e.setAttribute(n,`#${t}_${a}`);return}let i=`url(#`;if(r.includes(i)){let a=r.replace(i,`${i}${t}_`);e.setAttribute(n,a)}})}function jh(e){if(!e)return;let t=/(-?[\d.]+)([a-z%]*)/u.exec(e);if(!(t?.[1]===void 0||t?.[2]===void 0)&&!t[2]?.startsWith(`%`))return Math.round(parseFloat(t[1])*(KD[t[2]]||1))}function Mh(e){let t=jh(e.getAttribute(`width`)),n=jh(e.getAttribute(`height`));if(!(typeof t!=`number`||typeof n!=`number`)&&!(t<=0||n<=0))return{width:t,height:n}}function Nh(e){return e.indexOf(`image`)>=0}function Ph(e){return e.indexOf(`var(--`)>=0}function Fh(e){return!!(e.borderRadius||e.borderBottomLeftRadius||e.borderBottomRightRadius||e.borderTopLeftRadius||e.borderTopRightRadius)}function Ih(e,t){let n=e.current;if(!n)return;let r=t.providedWindow??K,i=n.firstElementChild;if(!i||!(i instanceof r.SVGSVGElement))return;if(!i.getAttribute(`viewBox`)){let e=GD.getViewBox(t.svg);e&&i.setAttribute(`viewBox`,e)}let{withExternalLayout:a,parentSize:o}=t;if(!a&&Xi(t)&&o!==1&&o!==2)return;let{intrinsicWidth:s,intrinsicHeight:c,_constraints:l}=t;i.viewBox?.baseVal?.width===0&&i.viewBox?.baseVal?.height===0&&U(s)&&U(c)&&i.setAttribute(`viewBox`,`0 0 ${s} ${c}`),l&&l.aspectRatio?i.setAttribute(`preserveAspectRatio`,``):i.setAttribute(`preserveAspectRatio`,`none`),i.setAttribute(`width`,`100%`),i.setAttribute(`height`,`100%`)}function Lh(e){return e>ZD?`lazy`:void 0}function Rh(e,t,n){let r=Vh(t);!n?.supportsExplicitInterCodegen&&!r.some(e=>e.explicitInter===!1)&&r.push({explicitInter:!1,fonts:[]}),Object.assign(e,{fonts:r})}function zh(e){return e?e.fonts??Er():Er()}function Bh(e){return e.length===0?[{explicitInter:!1,fonts:[]}]:Vh(e)}function Vh(e){let t={explicitInter:!1,fonts:[]},n=[];for(let r of e)Hh(r)?n.push({explicitInter:r.explicitInter,fonts:r.fonts.map(Uh)}):t.fonts.push(Uh(r));return t.fonts.length>0&&n.push(t),n}function Hh(e){return QD in e}function Uh(e){let t=Wh(e)||Gh(e)?e:Kh(e);return Gh(t)?t:qh(t)}function Wh(e){return`source`in e}function Gh(e){return`cssFamilyName`in e}function Kh(e){let t;return t=e.url.startsWith(`https://fonts.gstatic.com/s/`)?`google`:e.url.startsWith(`https://framerusercontent.com/third-party-assets/fontshare/`)?`fontshare`:`custom`,{...e,source:t}}function qh(e){let{family:t,...n}=e,r=e.variationAxes&&e.source!==`custom`?`${t} ${NE}`:t;return{...n,uiFamilyName:t,cssFamilyName:r}}function Jh(e,t){let n=`${e}-start`;performance.mark(n),t();let r=`${e}-end`;performance.mark(r),performance.measure(e,n,r)}function Yh(e){return e.loader}function Xh(e,t,n){let r=Yh(e);return r?r.load(t,n):Promise.resolve(void 0)}var Zh,Qh,$h,eg,tg,ng,rg,ig,ag,og,sg,cg,lg,ug,dg,fg,pg,mg,hg,gg,_g,vg,yg,bg,xg,Sg,Cg,wg,Tg,Eg,Dg,Og,kg,Ag,jg,K,Mg,Ng,Pg,Fg,Ig,Lg,Rg,zg,Bg,Vg,Hg,Ug,Wg,Gg,Kg,qg,Jg,Yg,Xg,Zg,Qg,$g,e_,t_,n_,r_,i_,a_,o_,s_,c_,l_,u_,d_,f_,p_,m_,h_,g_,__,v_,y_,b_,x_,S_,C_,w_,T_,E_,D_,O_,k_,A_,j_,M_,N_,P_,F_,I_,L_,R_,z_,B_,V_,H_,U_,W_,G_,K_,q_,J_,Y_,X_,Z_,Q_,$_,ev,tv,nv,rv,iv,av,ov,sv,cv,lv,uv,dv,fv,pv,mv,q,hv,gv,_v,vv,yv,bv,xv,Sv,Cv,wv,J,Tv,Ev,Dv,Ov,kv,Av,jv,Mv,Y,Nv,Pv,Fv,Iv,Lv,Rv,zv,Bv,Vv,Hv,Uv,Wv,Gv,Kv,qv,Jv,Yv,Xv,Zv,Qv,$v,ey,ty,ny,ry,iy,ay,oy,sy,cy,ly,uy,dy,fy,X,py,my,hy,gy,Z,_y,vy,yy,by,xy,Sy,Cy,wy,Ty,Ey,Dy,Oy,ky,Ay,jy,My,Ny,Py,Fy,Iy,Ly,Ry,zy,By,Vy,Hy,Uy,Wy,Gy,Ky,qy,Jy,Yy,Xy,Zy,Qy,$y,eb,tb,nb,rb,ib,ab,ob,sb,cb,lb,ub,db,fb,pb,mb,hb,gb,_b,vb,yb,bb,xb,Sb,Cb,wb,Tb,Eb,Db,Ob,kb,Ab,jb,Mb,Nb,Pb,Fb,Ib,Lb,Rb,zb,Bb,Vb,Hb,Ub,Wb,Gb,Kb,qb,Jb,Yb,Xb,Zb,Qb,$b,ex,tx,nx,rx,ix,ax,ox,sx,cx,lx,ux,dx,fx,px,mx,hx,gx,_x,vx,yx,bx,xx,Sx,Cx,wx,Tx,Ex,Dx,Ox,kx,Ax,jx,Mx,Nx,Px,Fx,Ix,Lx,Rx,zx,Bx,Vx,Hx,Ux,Wx,Gx,Kx,qx,Jx,Yx,Xx,Zx,Qx,$x,eS,tS,nS,rS,iS,aS,oS,sS,cS,lS,uS,dS,fS,pS,mS,hS,gS,_S,vS,yS,bS,xS,SS,CS,wS,TS,ES,DS,OS,kS,AS,jS,MS,NS,PS,FS,IS,LS,RS,zS,BS,VS,HS,US,WS,GS,KS,qS,JS,YS,XS,ZS,QS,$S,eC,tC,nC,rC,iC,aC,oC,sC,cC,lC,uC,dC,fC,pC,mC,hC,gC,_C,vC,yC,bC,xC,SC,CC,wC,TC,EC,DC,OC,kC,AC,jC,MC,NC,PC,FC,IC,LC,RC,zC,BC,VC,HC,UC,WC,GC,KC,qC,JC,YC,XC,ZC,QC,$C,ew,tw,nw,rw,iw,aw,ow,sw,cw,lw,uw,dw,fw,pw,mw,hw,gw,_w,vw,yw,bw,xw,Sw,Cw,ww,Tw,Ew,Dw,Ow,kw,Aw,jw,Mw,Nw,Pw,Fw,Iw,Lw,Rw,zw,Bw,Vw,Hw,Uw,Q,Ww,Gw,Kw,qw,Jw,Yw,Xw,Zw,Qw,$w,eT,$,tT,nT,rT,iT,aT,oT,sT,cT,lT,uT,dT,fT,pT,mT,hT,gT,_T,vT,yT,bT,xT,ST,CT,wT,TT,ET,DT,OT,kT,AT,jT,MT,NT,PT,FT,IT,LT,RT,zT,BT,VT,HT,UT,WT,GT,KT,qT,JT,YT,XT,ZT,QT,$T,eE,tE,nE,rE,iE,aE,oE,sE,cE,lE,uE,dE,fE,pE,mE,hE,gE,_E,vE,yE,bE,xE,SE,CE,wE,TE,EE,DE,OE,kE,AE,jE,ME,NE,PE,FE,IE,LE,RE,zE,BE,VE,HE,UE,WE,GE,KE,qE,JE,YE,XE,ZE,QE,$E,eD,tD,nD,rD,iD,aD,oD,sD,cD,lD,uD,dD,fD,pD,mD,hD,gD,_D,vD,yD,bD,xD,SD,CD,wD,TD,ED,DD,OD,kD,AD,jD,MD,ND,PD,FD,ID,LD,RD,zD,BD,VD,HD,UD,WD,GD,KD,qD,JD,YD,XD,ZD,QD,$D=e((()=>{g(
//! Credit to Astro | MIT License
/**
* @license Emotion v11.0.0
* MIT License
*
* Copyright (c) Emotion team and other contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
/*! Bundled license information:

react-is/cjs/react-is.production.min.js:
(** @license React v16.13.1
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*)
*/
),we(),Ue(),i(),b(),ee(),Zh=me({"../../../node_modules/hsluv/dist/hsluv.cjs"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.Hsluv=void 0;var t=class e{constructor(){this.hex=`#000000`,this.rgb_r=0,this.rgb_g=0,this.rgb_b=0,this.xyz_x=0,this.xyz_y=0,this.xyz_z=0,this.luv_l=0,this.luv_u=0,this.luv_v=0,this.lch_l=0,this.lch_c=0,this.lch_h=0,this.hsluv_h=0,this.hsluv_s=0,this.hsluv_l=0,this.hpluv_h=0,this.hpluv_p=0,this.hpluv_l=0,this.r0s=0,this.r0i=0,this.r1s=0,this.r1i=0,this.g0s=0,this.g0i=0,this.g1s=0,this.g1i=0,this.b0s=0,this.b0i=0,this.b1s=0,this.b1i=0}static fromLinear(e){return e<=.0031308?12.92*e:1.055*e**(1/2.4)-.055}static toLinear(e){return e>.04045?((e+.055)/1.055)**2.4:e/12.92}static yToL(t){return t<=e.epsilon?t/e.refY*e.kappa:116*(t/e.refY)**(1/3)-16}static lToY(t){return t<=8?e.refY*t/e.kappa:e.refY*((t+16)/116)**3}static rgbChannelToHex(t){let n=Math.round(t*255),r=n%16,i=(n-r)/16|0;return e.hexChars.charAt(i)+e.hexChars.charAt(r)}static hexToRgbChannel(t,n){let r=e.hexChars.indexOf(t.charAt(n)),i=e.hexChars.indexOf(t.charAt(n+1));return(r*16+i)/255}static distanceFromOriginAngle(e,t,n){let r=t/(Math.sin(n)-e*Math.cos(n));return r<0?1/0:r}static distanceFromOrigin(e,t){return Math.abs(t)/Math.sqrt(e**2+1)}static min6(e,t,n,r,i,a){return Math.min(e,Math.min(t,Math.min(n,Math.min(r,Math.min(i,a)))))}rgbToHex(){this.hex=`#`,this.hex+=e.rgbChannelToHex(this.rgb_r),this.hex+=e.rgbChannelToHex(this.rgb_g),this.hex+=e.rgbChannelToHex(this.rgb_b)}hexToRgb(){this.hex=this.hex.toLowerCase(),this.rgb_r=e.hexToRgbChannel(this.hex,1),this.rgb_g=e.hexToRgbChannel(this.hex,3),this.rgb_b=e.hexToRgbChannel(this.hex,5)}xyzToRgb(){this.rgb_r=e.fromLinear(e.m_r0*this.xyz_x+e.m_r1*this.xyz_y+e.m_r2*this.xyz_z),this.rgb_g=e.fromLinear(e.m_g0*this.xyz_x+e.m_g1*this.xyz_y+e.m_g2*this.xyz_z),this.rgb_b=e.fromLinear(e.m_b0*this.xyz_x+e.m_b1*this.xyz_y+e.m_b2*this.xyz_z)}rgbToXyz(){let t=e.toLinear(this.rgb_r),n=e.toLinear(this.rgb_g),r=e.toLinear(this.rgb_b);this.xyz_x=.41239079926595*t+.35758433938387*n+.18048078840183*r,this.xyz_y=.21263900587151*t+.71516867876775*n+.072192315360733*r,this.xyz_z=.019330818715591*t+.11919477979462*n+.95053215224966*r}xyzToLuv(){let t=this.xyz_x+15*this.xyz_y+3*this.xyz_z,n=4*this.xyz_x,r=9*this.xyz_y;t===0?(n=NaN,r=NaN):(n/=t,r/=t),this.luv_l=e.yToL(this.xyz_y),this.luv_l===0?(this.luv_u=0,this.luv_v=0):(this.luv_u=13*this.luv_l*(n-e.refU),this.luv_v=13*this.luv_l*(r-e.refV))}luvToXyz(){if(this.luv_l===0){this.xyz_x=0,this.xyz_y=0,this.xyz_z=0;return}let t=this.luv_u/(13*this.luv_l)+e.refU,n=this.luv_v/(13*this.luv_l)+e.refV;this.xyz_y=e.lToY(this.luv_l),this.xyz_x=0-9*this.xyz_y*t/((t-4)*n-t*n),this.xyz_z=(9*this.xyz_y-15*n*this.xyz_y-n*this.xyz_x)/(3*n)}luvToLch(){this.lch_l=this.luv_l,this.lch_c=Math.sqrt(this.luv_u*this.luv_u+this.luv_v*this.luv_v),this.lch_c<1e-8?this.lch_h=0:(this.lch_h=Math.atan2(this.luv_v,this.luv_u)*180/Math.PI,this.lch_h<0&&(this.lch_h=360+this.lch_h))}lchToLuv(){let e=this.lch_h/180*Math.PI;this.luv_l=this.lch_l,this.luv_u=Math.cos(e)*this.lch_c,this.luv_v=Math.sin(e)*this.lch_c}calculateBoundingLines(t){let n=(t+16)**3/1560896,r=n>e.epsilon?n:t/e.kappa,i=r*(284517*e.m_r0-94839*e.m_r2),a=r*(838422*e.m_r2+769860*e.m_r1+731718*e.m_r0),o=r*(632260*e.m_r2-126452*e.m_r1),s=r*(284517*e.m_g0-94839*e.m_g2),c=r*(838422*e.m_g2+769860*e.m_g1+731718*e.m_g0),l=r*(632260*e.m_g2-126452*e.m_g1),u=r*(284517*e.m_b0-94839*e.m_b2),d=r*(838422*e.m_b2+769860*e.m_b1+731718*e.m_b0),f=r*(632260*e.m_b2-126452*e.m_b1);this.r0s=i/o,this.r0i=a*t/o,this.r1s=i/(o+126452),this.r1i=(a-769860)*t/(o+126452),this.g0s=s/l,this.g0i=c*t/l,this.g1s=s/(l+126452),this.g1i=(c-769860)*t/(l+126452),this.b0s=u/f,this.b0i=d*t/f,this.b1s=u/(f+126452),this.b1i=(d-769860)*t/(f+126452)}calcMaxChromaHpluv(){let t=e.distanceFromOrigin(this.r0s,this.r0i),n=e.distanceFromOrigin(this.r1s,this.r1i),r=e.distanceFromOrigin(this.g0s,this.g0i),i=e.distanceFromOrigin(this.g1s,this.g1i),a=e.distanceFromOrigin(this.b0s,this.b0i),o=e.distanceFromOrigin(this.b1s,this.b1i);return e.min6(t,n,r,i,a,o)}calcMaxChromaHsluv(t){let n=t/360*Math.PI*2,r=e.distanceFromOriginAngle(this.r0s,this.r0i,n),i=e.distanceFromOriginAngle(this.r1s,this.r1i,n),a=e.distanceFromOriginAngle(this.g0s,this.g0i,n),o=e.distanceFromOriginAngle(this.g1s,this.g1i,n),s=e.distanceFromOriginAngle(this.b0s,this.b0i,n),c=e.distanceFromOriginAngle(this.b1s,this.b1i,n);return e.min6(r,i,a,o,s,c)}hsluvToLch(){this.hsluv_l>99.9999999?(this.lch_l=100,this.lch_c=0):this.hsluv_l<1e-8?(this.lch_l=0,this.lch_c=0):(this.lch_l=this.hsluv_l,this.calculateBoundingLines(this.hsluv_l),this.lch_c=this.calcMaxChromaHsluv(this.hsluv_h)/100*this.hsluv_s),this.lch_h=this.hsluv_h}lchToHsluv(){if(this.lch_l>99.9999999)this.hsluv_s=0,this.hsluv_l=100;else if(this.lch_l<1e-8)this.hsluv_s=0,this.hsluv_l=0;else{this.calculateBoundingLines(this.lch_l);let e=this.calcMaxChromaHsluv(this.lch_h);this.hsluv_s=this.lch_c/e*100,this.hsluv_l=this.lch_l}this.hsluv_h=this.lch_h}hpluvToLch(){this.hpluv_l>99.9999999?(this.lch_l=100,this.lch_c=0):this.hpluv_l<1e-8?(this.lch_l=0,this.lch_c=0):(this.lch_l=this.hpluv_l,this.calculateBoundingLines(this.hpluv_l),this.lch_c=this.calcMaxChromaHpluv()/100*this.hpluv_p),this.lch_h=this.hpluv_h}lchToHpluv(){if(this.lch_l>99.9999999)this.hpluv_p=0,this.hpluv_l=100;else if(this.lch_l<1e-8)this.hpluv_p=0,this.hpluv_l=0;else{this.calculateBoundingLines(this.lch_l);let e=this.calcMaxChromaHpluv();this.hpluv_p=this.lch_c/e*100,this.hpluv_l=this.lch_l}this.hpluv_h=this.lch_h}hsluvToRgb(){this.hsluvToLch(),this.lchToLuv(),this.luvToXyz(),this.xyzToRgb()}hpluvToRgb(){this.hpluvToLch(),this.lchToLuv(),this.luvToXyz(),this.xyzToRgb()}hsluvToHex(){this.hsluvToRgb(),this.rgbToHex()}hpluvToHex(){this.hpluvToRgb(),this.rgbToHex()}rgbToHsluv(){this.rgbToXyz(),this.xyzToLuv(),this.luvToLch(),this.lchToHpluv(),this.lchToHsluv()}rgbToHpluv(){this.rgbToXyz(),this.xyzToLuv(),this.luvToLch(),this.lchToHpluv(),this.lchToHpluv()}hexToHsluv(){this.hexToRgb(),this.rgbToHsluv()}hexToHpluv(){this.hexToRgb(),this.rgbToHpluv()}};e.Hsluv=t,t.hexChars=`0123456789abcdef`,t.refY=1,t.refU=.19783000664283,t.refV=.46831999493879,t.kappa=903.2962962,t.epsilon=.0088564516,t.m_r0=3.240969941904521,t.m_r1=-1.537383177570093,t.m_r2=-.498610760293,t.m_g0=-.96924363628087,t.m_g1=1.87596750150772,t.m_g2=.041555057407175,t.m_b0=.055630079696993,t.m_b1=-.20397695888897,t.m_b2=1.056971514242878}}),Qh=me({"../../../node_modules/eventemitter3/index.js"(e,t){var n=Object.prototype.hasOwnProperty,r=`~`;function i(){}Object.create&&(i.prototype=Object.create(null),new i().__proto__||(r=!1));function a(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function o(e,t,n,i,o){if(typeof n!=`function`)throw TypeError(`The listener must be a function`);var s=new a(n,i||e,o),c=r?r+t:t;return e._events[c]?e._events[c].fn?e._events[c]=[e._events[c],s]:e._events[c].push(s):(e._events[c]=s,e._eventsCount++),e}function s(e,t){--e._eventsCount===0?e._events=new i:delete e._events[t]}function c(){this._events=new i,this._eventsCount=0}c.prototype.eventNames=function(){var e=[],t,i;if(this._eventsCount===0)return e;for(i in t=this._events)n.call(t,i)&&e.push(r?i.slice(1):i);return Object.getOwnPropertySymbols?e.concat(Object.getOwnPropertySymbols(t)):e},c.prototype.listeners=function(e){var t=r?r+e:e,n=this._events[t];if(!n)return[];if(n.fn)return[n.fn];for(var i=0,a=n.length,o=Array(a);i<a;i++)o[i]=n[i].fn;return o},c.prototype.listenerCount=function(e){var t=r?r+e:e,n=this._events[t];return n?n.fn?1:n.length:0},c.prototype.emit=function(e,t,n,i,a,o){var s=r?r+e:e;if(!this._events[s])return!1;var c=this._events[s],l=arguments.length,u,d;if(c.fn){switch(c.once&&this.removeListener(e,c.fn,void 0,!0),l){case 1:return c.fn.call(c.context),!0;case 2:return c.fn.call(c.context,t),!0;case 3:return c.fn.call(c.context,t,n),!0;case 4:return c.fn.call(c.context,t,n,i),!0;case 5:return c.fn.call(c.context,t,n,i,a),!0;case 6:return c.fn.call(c.context,t,n,i,a,o),!0}for(d=1,u=Array(l-1);d<l;d++)u[d-1]=arguments[d];c.fn.apply(c.context,u)}else{var f=c.length,p;for(d=0;d<f;d++)switch(c[d].once&&this.removeListener(e,c[d].fn,void 0,!0),l){case 1:c[d].fn.call(c[d].context);break;case 2:c[d].fn.call(c[d].context,t);break;case 3:c[d].fn.call(c[d].context,t,n);break;case 4:c[d].fn.call(c[d].context,t,n,i);break;default:if(!u)for(p=1,u=Array(l-1);p<l;p++)u[p-1]=arguments[p];c[d].fn.apply(c[d].context,u)}}return!0},c.prototype.on=function(e,t,n){return o(this,e,t,n,!1)},c.prototype.once=function(e,t,n){return o(this,e,t,n,!0)},c.prototype.removeListener=function(e,t,n,i){var a=r?r+e:e;if(!this._events[a])return this;if(!t)return s(this,a),this;var o=this._events[a];if(o.fn)o.fn===t&&(!i||o.once)&&(!n||o.context===n)&&s(this,a);else{for(var c=0,l=[],u=o.length;c<u;c++)(o[c].fn!==t||i&&!o[c].once||n&&o[c].context!==n)&&l.push(o[c]);l.length?this._events[a]=l.length===1?l[0]:l:s(this,a)}return this},c.prototype.removeAllListeners=function(e){var t;return e?(t=r?r+e:e,this._events[t]&&s(this,t)):(this._events=new i,this._eventsCount=0),this},c.prototype.off=c.prototype.removeListener,c.prototype.addListener=c.prototype.on,c.prefixed=r,c.EventEmitter=c,t!==void 0&&(t.exports=c)}}),$h=me({"../../../node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.production.min.js"(e){var t=typeof Symbol==`function`&&Symbol.for,n=t?Symbol.for(`react.element`):60103,r=t?Symbol.for(`react.portal`):60106,i=t?Symbol.for(`react.fragment`):60107,a=t?Symbol.for(`react.strict_mode`):60108,o=t?Symbol.for(`react.profiler`):60114,s=t?Symbol.for(`react.provider`):60109,c=t?Symbol.for(`react.context`):60110,l=t?Symbol.for(`react.async_mode`):60111,u=t?Symbol.for(`react.concurrent_mode`):60111,d=t?Symbol.for(`react.forward_ref`):60112,f=t?Symbol.for(`react.suspense`):60113,p=t?Symbol.for(`react.suspense_list`):60120,m=t?Symbol.for(`react.memo`):60115,h=t?Symbol.for(`react.lazy`):60116,g=t?Symbol.for(`react.block`):60121,_=t?Symbol.for(`react.fundamental`):60117,v=t?Symbol.for(`react.responder`):60118,y=t?Symbol.for(`react.scope`):60119;function b(e){if(typeof e==`object`&&e){var t=e.$$typeof;switch(t){case n:switch(e=e.type,e){case l:case u:case i:case o:case a:case f:return e;default:switch(e&&=e.$$typeof,e){case c:case d:case h:case m:case s:return e;default:return t}}case r:return t}}}function x(e){return b(e)===u}e.AsyncMode=l,e.ConcurrentMode=u,e.ContextConsumer=c,e.ContextProvider=s,e.Element=n,e.ForwardRef=d,e.Fragment=i,e.Lazy=h,e.Memo=m,e.Portal=r,e.Profiler=o,e.StrictMode=a,e.Suspense=f,e.isAsyncMode=function(e){return x(e)||b(e)===l},e.isConcurrentMode=x,e.isContextConsumer=function(e){return b(e)===c},e.isContextProvider=function(e){return b(e)===s},e.isElement=function(e){return typeof e==`object`&&!!e&&e.$$typeof===n},e.isForwardRef=function(e){return b(e)===d},e.isFragment=function(e){return b(e)===i},e.isLazy=function(e){return b(e)===h},e.isMemo=function(e){return b(e)===m},e.isPortal=function(e){return b(e)===r},e.isProfiler=function(e){return b(e)===o},e.isStrictMode=function(e){return b(e)===a},e.isSuspense=function(e){return b(e)===f},e.isValidElementType=function(e){return typeof e==`string`||typeof e==`function`||e===i||e===u||e===o||e===a||e===f||e===p||typeof e==`object`&&!!e&&(e.$$typeof===h||e.$$typeof===m||e.$$typeof===s||e.$$typeof===c||e.$$typeof===d||e.$$typeof===_||e.$$typeof===v||e.$$typeof===y||e.$$typeof===g)},e.typeOf=b}}),eg=me({"../../../node_modules/hoist-non-react-statics/node_modules/react-is/index.js"(e,t){t.exports=$h()}}),tg=me({"../../../node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js"(e,t){var n=eg(),r={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};s[n.ForwardRef]=a,s[n.Memo]=o;function c(e){return n.isMemo(e)?o:s[e.$$typeof]||r}var l=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,m=Object.prototype;function h(e,t,n){if(typeof t!=`string`){if(m){var r=p(t);r&&r!==m&&h(e,r,n)}var a=u(t);d&&(a=a.concat(d(t)));for(var o=c(e),s=c(t),g=0;g<a.length;++g){var _=a[g];if(!i[_]&&!(n&&n[_])&&!(s&&s[_])&&!(o&&o[_])){var v=f(t,_);try{l(e,_,v)}catch{}}}}return e}t.exports=h}}),ng=me({"../../../node_modules/fontfaceobserver/fontfaceobserver.standalone.js"(e,t){(function(){function e(e,t){document.addEventListener?e.addEventListener(`scroll`,t,!1):e.attachEvent(`scroll`,t)}function n(e){document.body?e():document.addEventListener?document.addEventListener(`DOMContentLoaded`,function t(){document.removeEventListener(`DOMContentLoaded`,t),e()}):document.attachEvent(`onreadystatechange`,function t(){(document.readyState==`interactive`||document.readyState==`complete`)&&(document.detachEvent(`onreadystatechange`,t),e())})}function r(e){this.g=document.createElement(`div`),this.g.setAttribute(`aria-hidden`,`true`),this.g.appendChild(document.createTextNode(e)),this.h=document.createElement(`span`),this.i=document.createElement(`span`),this.m=document.createElement(`span`),this.j=document.createElement(`span`),this.l=-1,this.h.style.cssText=`max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;`,this.i.style.cssText=`max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;`,this.j.style.cssText=`max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;`,this.m.style.cssText=`display:inline-block;width:200%;height:200%;font-size:16px;max-width:none;`,this.h.appendChild(this.m),this.i.appendChild(this.j),this.g.appendChild(this.h),this.g.appendChild(this.i)}function i(e,t){e.g.style.cssText=`max-width:none;min-width:20px;min-height:20px;display:inline-block;overflow:hidden;position:absolute;width:auto;margin:0;padding:0;top:-999px;white-space:nowrap;font-synthesis:none;font:`+t+`;`}function a(e){var t=e.g.offsetWidth,n=t+100;return e.j.style.width=n+`px`,e.i.scrollLeft=n,e.h.scrollLeft=e.h.scrollWidth+100,e.l===t?!1:(e.l=t,!0)}function o(t,n){function r(){var e=i;a(e)&&e.g.parentNode!==null&&n(e.l)}var i=t;e(t.h,r),e(t.i,r),a(t)}function s(e,t,n){t||={},n||=h,this.family=e,this.style=t.style||`normal`,this.weight=t.weight||`normal`,this.stretch=t.stretch||`normal`,this.context=n}var c=null,l=null,u=null,d=null;function f(e){return l===null&&(p(e)&&/Apple/.test(h.navigator.vendor)?(e=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))(?:\.([0-9]+))/.exec(h.navigator.userAgent),l=!!e&&603>parseInt(e[1],10)):l=!1),l}function p(e){return d===null&&(d=!!e.document.fonts),d}function m(e,t){var n=e.style,r=e.weight;if(u===null){var i=document.createElement(`div`);try{i.style.font=`condensed 100px sans-serif`}catch{}u=i.style.font!==``}return[n,r,u?e.stretch:``,`100px`,t].join(` `)}s.prototype.load=function(e,t){var a=this,s=e||`BESbswy`,l=0,u=t||3e3,d=new Date().getTime();return new Promise(function(e,t){if(p(a.context)&&!f(a.context)){var g=new Promise(function(e,t){function n(){new Date().getTime()-d>=u?t(Error(``+u+`ms timeout exceeded`)):a.context.document.fonts.load(m(a,`"`+a.family+`"`),s).then(function(t){1<=t.length?e():setTimeout(n,25)},t)}n()}),_=new Promise(function(e,t){l=setTimeout(function(){t(Error(``+u+`ms timeout exceeded`))},u)});Promise.race([_,g]).then(function(){clearTimeout(l),e(a)},t)}else n(function(){function n(){var t;(t=v!=-1&&y!=-1||v!=-1&&b!=-1||y!=-1&&b!=-1)&&((t=v!=y&&v!=b&&y!=b)||(c===null&&(t=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(h.navigator.userAgent),c=!!t&&(536>parseInt(t[1],10)||parseInt(t[1],10)===536&&11>=parseInt(t[2],10))),t=c&&(v==x&&y==x&&b==x||v==S&&y==S&&b==S||v==C&&y==C&&b==C)),t=!t),t&&(w.parentNode!==null&&w.parentNode.removeChild(w),clearTimeout(l),e(a))}function f(){if(new Date().getTime()-d>=u)w.parentNode!==null&&w.parentNode.removeChild(w),t(Error(``+u+`ms timeout exceeded`));else{var e=a.context.document.hidden;(!0===e||e===void 0)&&(v=p.g.offsetWidth,y=g.g.offsetWidth,b=_.g.offsetWidth,n()),l=setTimeout(f,50)}}var p=new r(s),g=new r(s),_=new r(s),v=-1,y=-1,b=-1,x=-1,S=-1,C=-1,w=document.createElement(`div`);w.dir=`ltr`,i(p,m(a,`sans-serif`)),i(g,m(a,`serif`)),i(_,m(a,`monospace`)),w.appendChild(p.g),w.appendChild(g.g),w.appendChild(_.g),a.context.document.body.appendChild(w),x=p.g.offsetWidth,S=g.g.offsetWidth,C=_.g.offsetWidth,f(),o(p,function(e){v=e,n()}),i(p,m(a,`"`+a.family+`",sans-serif`)),o(g,function(e){y=e,n()}),i(g,m(a,`"`+a.family+`",serif`)),o(_,function(e){b=e,n()}),i(_,m(a,`"`+a.family+`",monospace`))})})},typeof t==`object`?t.exports=s:(h.FontFaceObserver=s,h.FontFaceObserver.prototype.load=s.prototype.load)})()}}),rg=()=>{},ig=h!==void 0,ag=(()=>ig&&(o.webdriver||/bot|-google|google-|yandex|ia_archiver|crawl|spider/iu.test(o.userAgent)))(),og=ig&&typeof h.requestIdleCallback==`function`,sg=(()=>og?h.requestIdleCallback:setTimeout)(),cg=new Map,lg=ig?void 0:new Set,ug=`preload`,dg=Object.keys,fg=`equals`,pg=(()=>n.createContext({}))(),mg=(()=>n.createContext({}))(),hg=[],gg=n.createContext(void 0),gg.displayName=`LibraryFeaturesContext`,_g=(()=>gg.Provider)(),vg=()=>n.useContext(gg)??{},yg=`default`,bg={Pending:`pending`,Fulfilled:`fulfilled`,Rejected:`rejected`},xg=class e{constructor(e,t){this.resolver=e,this.cacheHash=t,L(this,`promiseState`,bg.Pending),L(this,`preloadPromise`),L(this,`value`),L(this,`reason`),L(this,`read`,()=>{if(this.promiseState===bg.Fulfilled)return this.value;throw this.promiseState===bg.Rejected?this.reason:Error(`Need to call preload() before read()`)})}static is(t){return t instanceof e}get status(){return this.preload(),this.state}get state(){return this.promiseState}then(e,t){return this.promiseState===bg.Fulfilled?Promise.resolve(this.value).then(e,t):this.promiseState===bg.Rejected?Promise.reject(this.reason).then(e,t):this.readAsync().then(e,t)}preload(){if(this.promiseState!==bg.Pending)return;if(this.preloadPromise)return this.preloadPromise;this.cacheHash!==void 0&&lg!==void 0&&lg.add(this.cacheHash);let e=e=>{this.promiseState=bg.Fulfilled,this.value=e},t=e=>{this.promiseState=bg.Rejected,this.reason=e},n;try{n=this.cacheHash&&cg.has(this.cacheHash)?cg.get(this.cacheHash):this.resolver()}catch(e){t(e);return}if(!ct(n)){e(n);return}let r=n.then(e,t);return this.preloadPromise=r,r}async readAsync(){return this.readMaybeAsync()}readMaybeAsync(){let e=this.preload();return e?e.then(this.read):this.read()}use(){let e=this.preload();if(e)throw e;return this.read()}},Sg=class extends Error{constructor(e,t,n,r){super(e),this.name=`DevalueError`,this.path=t.join(``),this.value=n,this.root=r}},Cg=Object.getOwnPropertyNames(Object.prototype).sort().join(`\0`),wg=/^[a-zA-Z_$][a-zA-Z_$0-9]*$/,Tg=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`,Eg=-1,Dg=-2,Og=-3,kg=-4,Ag=-5,jg=-6,K=ig?h:{addEventListener:()=>{},removeEventListener:()=>{},dispatchEvent:()=>!1,ResizeObserver:void 0,onpointerdown:!1,onpointermove:!1,onpointerup:!1,ontouchstart:!1,ontouchmove:!1,ontouchend:!1,onmousedown:!1,onmousemove:!1,onmouseup:!1,devicePixelRatio:1,scrollX:0,scrollY:0,location:{hash:``,hostname:``,href:``,origin:``,pathname:``,search:``},document:{baseURI:``,cookie:``,referrer:null},setTimeout:()=>0,clearTimeout:()=>{},setInterval:()=>0,clearInterval:()=>{},requestAnimationFrame:()=>0,cancelAnimationFrame:()=>{},requestIdleCallback:()=>0,getSelection:()=>null,matchMedia:e=>({matches:!1,media:e,onchange:()=>{},addEventListener:()=>{},removeEventListener:()=>{},addListener:()=>{},removeListener:()=>{},dispatchEvent:()=>!1}),innerHeight:0,innerWidth:0,SVGSVGElement:{},scheduler:void 0,open:function(e,t,n){},__framer_events:[]},Mg=2,Ng={QueryCache:0,CollectionUtilsCache:1},Fg=class{constructor(){L(this,`payload`,en()),L(this,`isEmpty`,!0)}set(e,t,n){this.payload[e].set(t,n),this.isEmpty=!1}has(e,t){return this.payload[e].has(t)}get(e,t){return this.payload[e].get(t)}toString(){if(!this.isEmpty)try{return Zt(this.payload)}catch(e){console.error(`Failed to serialize handover data.`,e);return}}clear(){for(let e of Object.values(this.payload))e.clear();this.isEmpty=!0}},Ig=(()=>ig?void 0:new Fg)(),Lg=(()=>Ng.CollectionUtilsCache)(),Rg=new WeakMap,zg=M(void 0),Bg=class{constructor(e,t){this.collectionId=t,L(this,`module`),L(this,`cacheMap`,new Map),this.module=new xg(async()=>{try{let t=await e();return V(t,`Couldn't find CollectionUtils`),t}catch(e){console.error(ut(`Failed to import collection module.`,e));return}})}callUtilsMethod(e,t,n){let r=on(n),i=sn(e,this.collectionId,r,t);if(this.cacheMap.has(i)){let e=this.cacheMap.get(i)?.readMaybeAsync();if(Ig!==void 0){if(ct(e))return e.then(e=>(Ig.set(Lg,i,e),e));Ig.set(Lg,i,e)}return e}if(rn(Lg,i)){let e=an(Lg,i);return this.cacheMap.set(i,new xg(()=>e)),e}let a=this.module.readMaybeAsync(),o=ct(a),s;try{s=o?a.then(r=>r?.[e](t,n)):a?.[e](t,n)}catch(e){console.error(ut(`Failed to call CollectionUtils method.`,e)),s=void 0}if(s===void 0){Ig!==void 0&&Ig.set(Lg,i,s),this.cacheMap.set(i,s);return}let c=new xg(()=>s.then(e=>(Ig!==void 0&&Ig.set(Lg,i,e),e)).catch(e=>{console.error(ut(`Failed to call CollectionUtils method.`,e))}));return this.cacheMap.set(i,c),c.readMaybeAsync()}getSlugByRecordId(e,t){return this.callUtilsMethod(`getSlugByRecordId`,e,t)}getRecordIdBySlug(e,t){return this.callUtilsMethod(`getRecordIdBySlug`,e,t)}},Vg=(()=>K.scheduler&&`yield`in K.scheduler)(),Hg=(()=>K.scheduler&&`postTask`in K.scheduler)(),Ug=new Set,Wg=!ag,Gg=46,Kg=47,qg=(e,t)=>e.charCodeAt(t),Jg=(e,t)=>e.lastIndexOf(t),Yg=(e,t,n)=>e.slice(t,n),Xg=!1,Zg=`/`,Qg=e=>e===Kg,$g=new Set([`/404.html`,`/404`,`/404/`]),e_=RegExp(`:([a-z]\\w*)`,`gi`),t_=`framer_variant`,n_=n.createContext({global:void 0,routes:{}}),r_=10,i_=1e4,a_=e=>`--view-transition-${e}`,o_={circle:{makeKeyframe:(e,t)=>{let{x:n,y:r}=Fn(e);return t===`start`?`clip-path: circle(0 at ${n}px ${r}px);`:`clip-path: circle(${Math.hypot(Math.max(n,h.innerWidth-n),Math.max(r,h.innerHeight-r))}px at ${n}px ${r}px);`}},conic:{makeKeyframe:(e,t,n)=>{let r=0;return(n===`exit`&&e.angularDirection===`clockwise`&&t===`start`||n===`exit`&&e.angularDirection===`counter-clockwise`&&t===`end`||n===`enter`&&e.angularDirection===`counter-clockwise`&&t===`start`||n===`enter`&&e.angularDirection===`clockwise`&&t===`end`)&&(r=e.sweepAngle/360*100),`${a_(`conic-offset`)}: ${r}%;`},makeStyles:(e,t)=>{let n=`var(${a_(`conic-offset`)})`,r=t===`exit`&&e.angularDirection===`clockwise`||t===`enter`&&e.angularDirection===`counter-clockwise`,i=r?`transparent`:`black`,a=r?`black`:`transparent`,o=`conic-gradient(from `;return o+=`${e.angle}deg at ${e.x} ${e.y}, `,o+=`${i} 0%, ${i} ${n}, `,o+=`${a} ${n}, ${a} 100%)`,`mask-image: ${o}; -webkit-mask-image: ${o};`},makePropertyRules:()=>`
        @property ${a_(`conic-offset`)} {
            syntax: '<percentage>';
            initial-value: 0%;
            inherits: false;
        }
    `},inset:{makeKeyframe:(e,t)=>{let{x:n,y:r}=Fn(e),i=h.innerHeight-r,a=h.innerWidth-n;return t===`start`?`clip-path: inset(${r}px ${a}px ${i}px ${n}px round ${e.round}px);`:`clip-path: inset(0 round 0);`}},blinds:{makeKeyframe:(e,t,n)=>{let[,r]=Pn(e.width),i=`0${r}`;return(t===`start`&&n===`exit`||t===`end`&&n===`enter`)&&(i=e.width),`${a_(`blinds-width`)}: ${i};`},makeStyles:(e,t)=>{let n=`var(${a_(`blinds-width`)})`,r=t===`exit`?`transparent`:`black`,i=t===`exit`?`black`:`transparent`,a=`repeating-linear-gradient(`;return a+=e.angle+90+`deg, `,a+=`${r} 0px, ${r} ${n}, `,a+=`${i} ${n}, ${i} ${e.width})`,`mask-image: ${a}; -webkit-mask-image: ${a};`},makePropertyRules:()=>`
            @property ${a_(`blinds-width`)} {
                syntax: '<length-percentage>';
                initial-value: 0px;
                inherits: false;
            }
        `},wipe:{makeKeyframe:(e,t,n)=>{let r=t===`start`&&n===`exit`||t===`end`&&n===`enter`?1:0;return`${a_(`wipe-offset`)}: ${r};`},makeStyles:(e,t)=>{let n=`var(${a_(`wipe-offset`)})`,r=t===`exit`?`transparent`:`black`,i=t===`exit`?`black`:`transparent`,a=`linear-gradient(`;return a+=e.angle+90+`deg, `,a+=`${r} calc(calc(0% - ${e.width}) + calc(calc(100% + ${e.width}) * ${n})), `,a+=`${i} calc(calc(100% + ${e.width}) * ${n}))`,`mask-image: ${a}; -webkit-mask-image: ${a};`},makePropertyRules:()=>`
            @property ${a_(`wipe-offset`)} {
                syntax: '<number>';
                initial-value: 0;
                inherits: false;
            }
        `}},s_={opacity:1,x:`0px`,y:`0px`,scale:1,rotate:0,rotateX:0,rotateY:0,mask:void 0},c_=`view-transition-styles`,l_={x:`0px`,y:`0px`,scale:1,opacity:1,rotate3d:!1,rotate:0,rotateX:0,rotateY:0,mask:void 0,transition:{type:`tween`,delay:0,duration:.2,ease:[.27,0,.51,1],stiffness:400,damping:30,mass:1}},u_=()=>{},f_=()=>{d_||(d_=document.createElement(`div`),d_.setAttribute(`aria-live`,`assertive`),d_.setAttribute(`aria-atomic`,`true`),d_.style.position=`absolute`,d_.style.transform=`scale(0)`,document.body.append(d_)),setTimeout(()=>{d_.textContent=document.title},60)},p_=!0,m_=(()=>{if(o===void 0)return!1;let e=o.userAgent,t=e.indexOf(`Chrome/`),n=+e.slice(t+7,e.indexOf(`.`,t));return n>101&&n<128})(),h_=(()=>ig&&typeof h.navigation?.back==`function`)(),g_=/[\s_?#[\]@!$&'*+,;:="<>%{}|\\^`/]+/gu,__=n.createContext(null),v_=(()=>{let e=M(`preview`);return e.displayName=`FramerEnvironmentContext`,e})(),y_=async()=>{},b_={activeLocale:null,locales:[],setLocale:y_},x_=(()=>{let e=n.createContext(b_);return e.displayName=`LocaleInfoContext`,e})(),S_=(()=>{let e=n.createContext(`ltr`);return e.displayName=`LayoutDirectionContext`,e})(),C_=(()=>{let e=M({urlSearchParams:new URLSearchParams,replaceSearchParams:async()=>{}});return e.displayName=`URLSearchParamsContext`,e})(),w_=`mousedown.mouseup.touchcancel.touchend.touchstart.auxclick.dblclick.pointercancel.pointerdown.pointerup.dragend.dragstart.drop.compositionend.compositionstart.keydown.keypress.keyup.input.textInput.copy.cut.paste.click.change.contextmenu.reset`.split(`.`),T_=e=>{e.target?.closest?.(`#main`)&&(e.stopPropagation(),performance.mark(`framer-react-event-handling-prevented`))},E_=!1,U_=[_r],H_=[_r],V_=[_r],B_=[_r],z_=[_r],R_=[_r],L_=[_r],I_=[_r],F_=[_r],P_=[_r],N_=[_r],M_=[_r],j_=[_r],A_=[_r],k_=[_r],O_=[_r],D_=[_r],G_=class{constructor(){Ge(W_,5,this),L(this,`render`,{markStart:()=>this.markRenderStart(),markEnd:()=>this.markRenderEnd()}),L(this,`mutationEffects`,{measure:()=>this.measureMutationEffects()}),L(this,`useInsertionEffects`,{markStart:()=>this.markUseInsertionEffectsStart(),markRouterStart:()=>this.markUseInsertionEffectRouterStart(),markEnd:()=>this.markUseInsertionEffectsEnd()}),L(this,`useLayoutEffects`,{markStart:()=>this.markUseLayoutEffectsStart(),markRouterStart:()=>this.markRouterUseLayoutEffectStart(),markEnd:()=>this.markUseLayoutEffectsEnd()}),L(this,`useEffects`,{markStart:()=>this.markUseEffectsStart(),markRouterStart:()=>this.markUseEffectsRouterStart(),markEnd:()=>this.markUseEffectsEnd(),markAreSynchronous:()=>this.markUseEffectsAreSynchronous()}),L(this,`browserRendering`,{hasStarted:!1,requestAnimationFrame:{markStart:()=>this.markRafStart(),markEnd:()=>this.markRafEnd()},layoutStylePaint:{markEnd:()=>this.markLayoutStylePaintEnd()}}),L(this,`unattributedHydrationOverhead`,{measure:()=>this.measureUnattributedHydrationOverhead()})}markRenderStart(){performance.mark(`framer-hydration-start`)}markRenderEnd(){performance.mark(`framer-hydration-render-end`),vr(`framer-hydration-render`,`framer-hydration-start`,`framer-hydration-render-end`)}markUseInsertionEffectsStart(){performance.mark(`framer-hydration-insertion-effects-start`)}markUseInsertionEffectRouterStart(){performance.mark(`framer-hydration-router-insertion-effect`)}markUseInsertionEffectsEnd(){performance.mark(`framer-hydration-insertion-effects-end`),vr(`framer-hydration-insertion-effects`,`framer-hydration-insertion-effects-start`,`framer-hydration-insertion-effects-end`)}markUseLayoutEffectsStart(){performance.mark(`framer-hydration-layout-effects-start`)}markRouterUseLayoutEffectStart(){performance.mark(`framer-hydration-router-layout-effect`)}markUseLayoutEffectsEnd(){performance.mark(`framer-hydration-layout-effects-end`),vr(`framer-hydration-layout-effects`,`framer-hydration-layout-effects-start`,`framer-hydration-layout-effects-end`)}markUseEffectsStart(){performance.mark(`framer-hydration-effects-start`)}markUseEffectsRouterStart(){performance.mark(`framer-hydration-router-effect`)}markUseEffectsAreSynchronous(){performance.mark(`framer-hydration-effects-sync`)}markUseEffectsEnd(){performance.mark(`framer-hydration-effects-end`),vr(`framer-hydration-effects`,performance.getEntriesByName(`framer-hydration-first-paint`)[0]?.name??performance.getEntriesByName(`framer-hydration-effects-start`)[0]?.name,`framer-hydration-effects-end`)}markRafStart(){this.browserRendering.hasStarted=!0,performance.mark(`framer-hydration-browser-render-start`)}markRafEnd(){performance.mark(`framer-hydration-browser-raf-end`),vr(`framer-hydration-raf`,`framer-hydration-browser-render-start`,`framer-hydration-browser-raf-end`)}markLayoutStylePaintEnd(){performance.mark(`framer-hydration-first-paint`),vr(`framer-hydration-time-to-first-paint`,`framer-hydration-start`,`framer-hydration-first-paint`),vr(`framer-hydration-browser-render`,`framer-hydration-browser-raf-end`,`framer-hydration-first-paint`)}measureMutationEffects(){vr(`framer-hydration-commit`,`framer-hydration-layout-effects-end`,`framer-hydration-effects-start`)}measureUnattributedHydrationOverhead(){vr(`framer-hydration-uho`,performance.getEntriesByName(`framer-hydration-effects-end`)[0]?.name??performance.getEntriesByName(`framer-hydration-layout-effects-end`)[0]?.name,`framer-hydration-browser-render-start`)}},W_=Ce(null),Ve(W_,1,`markRenderStart`,U_,G_),Ve(W_,1,`markRenderEnd`,H_,G_),Ve(W_,1,`markUseInsertionEffectsStart`,V_,G_),Ve(W_,1,`markUseInsertionEffectRouterStart`,B_,G_),Ve(W_,1,`markUseInsertionEffectsEnd`,z_,G_),Ve(W_,1,`markUseLayoutEffectsStart`,R_,G_),Ve(W_,1,`markRouterUseLayoutEffectStart`,L_,G_),Ve(W_,1,`markUseLayoutEffectsEnd`,I_,G_),Ve(W_,1,`markUseEffectsStart`,F_,G_),Ve(W_,1,`markUseEffectsRouterStart`,P_,G_),Ve(W_,1,`markUseEffectsAreSynchronous`,N_,G_),Ve(W_,1,`markUseEffectsEnd`,M_,G_),Ve(W_,1,`markRafStart`,j_,G_),Ve(W_,1,`markRafEnd`,A_,G_),Ve(W_,1,`markLayoutStylePaintEnd`,k_,G_),Ve(W_,1,`measureMutationEffects`,O_,G_),Ve(W_,1,`measureUnattributedHydrationOverhead`,D_,G_),pe(W_,G_),q_=!1,J_={Start:Cr,End:wr},Y_=class extends Error{},X_=class extends k{constructor(e){super(e),this.state={error:void 0,forceUpdateKey:e.forceUpdateKey}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){if(e.forceUpdateKey!==t.forceUpdateKey){let n={forceUpdateKey:e.forceUpdateKey};return t.error&&(n.error=void 0),n}return null}render(){if(this.state.error===void 0)return this.props.children;if(!(this.state.error instanceof Y_))throw this.state.error;let{notFoundPage:e,defaultPageStyle:t}=this.props;if(!e)throw this.state.error;return Tr(e,t)}},Z_=Object.freeze([]),$_=new Set,ev=class{constructor(){L(this,`observers`,new Set),L(this,`transactions`,{})}add(e){this.observers.add(e);let t=!1;return()=>{t||(t=!0,this.remove(e))}}remove(e){this.observers.delete(e)}notify(e,t){if(t){let n=this.transactions[t]||e;n.value=e.value,this.transactions[t]=n}else this.callObservers(e)}finishTransaction(e){let t=this.transactions[e];return delete this.transactions[e],this.callObservers(t,e)}callObservers(e,t){let n=[];return new Set(this.observers).forEach(r=>{typeof r==`function`?r(e,t):(r.update(e,t),n.push(r.finish))}),n}},tv=(()=>{function e(e){return Vr(`Animatable()`,`2.0.0`,`the new animation API (https://www.framer.com/api/animation/)`),Hr(e)?e:new iv(e)}return e.transaction=e=>{let t=Math.random(),n=new Set;e((e,r)=>{e.set(r,t),n.add(e)},t);let r=[];n.forEach(e=>{r.push(...e.finishTransaction(t))}),r.forEach(e=>{e(t)})},e.getNumber=(t,n=0)=>e.get(t,n),e.get=(e,t)=>e==null?t:Hr(e)?e.get():e,e.objectToValues=e=>{if(!e)return e;let t={};for(let n in e){let r=e[n];Hr(r)?t[n]=r.get():t[n]=r}return t},e})(),nv=`onUpdate`,rv=`finishTransaction`,iv=class{constructor(e){this.value=e,L(this,`observers`,new ev)}static interpolationFor(e,t){if(Hr(e))return Ur(e,t)}get(){return this.value}set(e,t){let n=this.value;Hr(e)&&(e=e.get()),this.value=e;let r={value:e,oldValue:n};this.observers.notify(r,t)}finishTransaction(e){return this.observers.finishTransaction(e)}onUpdate(e){return this.observers.add(e)}},(e=>{e.isQuadrilateralPoints=e=>e?.length===4,e.add=(...e)=>e.reduce((e,t)=>({x:e.x+t.x,y:e.y+t.y}),{x:0,y:0}),e.subtract=(e,t)=>({x:e.x-t.x,y:e.y-t.y}),e.multiply=(e,t)=>({x:e.x*t,y:e.y*t}),e.divide=(e,t)=>({x:e.x/t,y:e.y/t}),e.absolute=e=>({x:Math.abs(e.x),y:Math.abs(e.y)}),e.reverse=e=>({x:e.x*-1,y:e.y*-1}),e.pixelAligned=(e,t={x:0,y:0})=>({x:Gr(e.x,t.x),y:Gr(e.y,t.y)}),e.distance=(e,t)=>{let n=Math.abs(e.x-t.x),r=Math.abs(e.y-t.y);return Math.sqrt(n*n+r*r)},e.angle=(e,t)=>Math.atan2(t.y-e.y,t.x-e.x)*180/Math.PI-90,e.angleFromX=(e,t)=>Math.atan2(t.y-e.y,t.x-e.x)*180/Math.PI,e.isEqual=(e,t)=>e.x===t.x&&e.y===t.y,e.rotationNormalizer=()=>{let e;return t=>{typeof e!=`number`&&(e=t);let n=e-t,r=Math.abs(n)+180,i=Math.floor(r/360);return n<180&&(t-=i*360),n>180&&(t+=i*360),e=t,t}};function t(e,t){return{x:(e.x+t.x)/2,y:(e.y+t.y)/2}}e.center=t;function n(e){let t=0,n=0;return e.forEach(e=>{t+=e.x,n+=e.y}),{x:t/e.length,y:n/e.length}}e.centroid=n;function r(t){let n=e.centroid(t),r=new Map;for(let e=0;e<t.length;e++){let i=t[e];i&&r.set(i,Math.atan2(i.y-n.y,i.x-n.x))}return t.sort((e,t)=>(r.get(e)??0)-(r.get(t)??0))}e.sortClockwise=r})(qr||={}),av={aliceblue:`f0f8ff`,antiquewhite:`faebd7`,aqua:`0ff`,aquamarine:`7fffd4`,azure:`f0ffff`,beige:`f5f5dc`,bisque:`ffe4c4`,black:`000`,blanchedalmond:`ffebcd`,blue:`00f`,blueviolet:`8a2be2`,brown:`a52a2a`,burlywood:`deb887`,burntsienna:`ea7e5d`,cadetblue:`5f9ea0`,chartreuse:`7fff00`,chocolate:`d2691e`,coral:`ff7f50`,cornflowerblue:`6495ed`,cornsilk:`fff8dc`,crimson:`dc143c`,cyan:`0ff`,darkblue:`00008b`,darkcyan:`008b8b`,darkgoldenrod:`b8860b`,darkgray:`a9a9a9`,darkgreen:`006400`,darkgrey:`a9a9a9`,darkkhaki:`bdb76b`,darkmagenta:`8b008b`,darkolivegreen:`556b2f`,darkorange:`ff8c00`,darkorchid:`9932cc`,darkred:`8b0000`,darksalmon:`e9967a`,darkseagreen:`8fbc8f`,darkslateblue:`483d8b`,darkslategray:`2f4f4f`,darkslategrey:`2f4f4f`,darkturquoise:`00ced1`,darkviolet:`9400d3`,deeppink:`ff1493`,deepskyblue:`00bfff`,dimgray:`696969`,dimgrey:`696969`,dodgerblue:`1e90ff`,firebrick:`b22222`,floralwhite:`fffaf0`,forestgreen:`228b22`,fuchsia:`f0f`,gainsboro:`dcdcdc`,ghostwhite:`f8f8ff`,gold:`ffd700`,goldenrod:`daa520`,gray:`808080`,green:`008000`,greenyellow:`adff2f`,grey:`808080`,honeydew:`f0fff0`,hotpink:`ff69b4`,indianred:`cd5c5c`,indigo:`4b0082`,ivory:`fffff0`,khaki:`f0e68c`,lavender:`e6e6fa`,lavenderblush:`fff0f5`,lawngreen:`7cfc00`,lemonchiffon:`fffacd`,lightblue:`add8e6`,lightcoral:`f08080`,lightcyan:`e0ffff`,lightgoldenrodyellow:`fafad2`,lightgray:`d3d3d3`,lightgreen:`90ee90`,lightgrey:`d3d3d3`,lightpink:`ffb6c1`,lightsalmon:`ffa07a`,lightseagreen:`20b2aa`,lightskyblue:`87cefa`,lightslategray:`789`,lightslategrey:`789`,lightsteelblue:`b0c4de`,lightyellow:`ffffe0`,lime:`0f0`,limegreen:`32cd32`,linen:`faf0e6`,magenta:`f0f`,maroon:`800000`,mediumaquamarine:`66cdaa`,mediumblue:`0000cd`,mediumorchid:`ba55d3`,mediumpurple:`9370db`,mediumseagreen:`3cb371`,mediumslateblue:`7b68ee`,mediumspringgreen:`00fa9a`,mediumturquoise:`48d1cc`,mediumvioletred:`c71585`,midnightblue:`191970`,mintcream:`f5fffa`,mistyrose:`ffe4e1`,moccasin:`ffe4b5`,navajowhite:`ffdead`,navy:`000080`,oldlace:`fdf5e6`,olive:`808000`,olivedrab:`6b8e23`,orange:`ffa500`,orangered:`ff4500`,orchid:`da70d6`,palegoldenrod:`eee8aa`,palegreen:`98fb98`,paleturquoise:`afeeee`,palevioletred:`db7093`,papayawhip:`ffefd5`,peachpuff:`ffdab9`,peru:`cd853f`,pink:`ffc0cb`,plum:`dda0dd`,powderblue:`b0e0e6`,purple:`800080`,rebeccapurple:`663399`,red:`f00`,rosybrown:`bc8f8f`,royalblue:`4169e1`,saddlebrown:`8b4513`,salmon:`fa8072`,sandybrown:`f4a460`,seagreen:`2e8b57`,seashell:`fff5ee`,sienna:`a0522d`,silver:`c0c0c0`,skyblue:`87ceeb`,slateblue:`6a5acd`,slategray:`708090`,slategrey:`708090`,snow:`fffafa`,springgreen:`00ff7f`,steelblue:`4682b4`,tan:`d2b48c`,teal:`008080`,thistle:`d8bfd8`,tomato:`ff6347`,turquoise:`40e0d0`,violet:`ee82ee`,wheat:`f5deb3`,white:`fff`,whitesmoke:`f5f5f5`,yellow:`ff0`,yellowgreen:`9acd32`},ov=new((()=>Zh().Hsluv)()),sv=(()=>{let e=`(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)`,t=`[\\s|\\(]+(`+e+`)[,|\\s]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))[,|\\s]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))\\s*\\)?`,n=`[\\s|\\(]+(`+e+`)[,|\\s]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))[,|\\s]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))[,|\\s]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))\\s*\\)?`;return{rgb:RegExp(`rgb`+t),rgba:RegExp(`rgba`+n),hsl:RegExp(`hsl`+t),hsla:RegExp(`hsla`+n),hsv:RegExp(`hsv`+t),hsva:RegExp(`hsva`+n),hex3:/^([\da-f])([\da-f])([\da-f])$/iu,hex6:/^([\da-f]{2})([\da-f]{2})([\da-f]{2})$/iu,hex4:/^#?([\da-f])([\da-f])([\da-f])([\da-f])$/iu,hex8:/^#?([\da-f]{2})([\da-f]{2})([\da-f]{2})([\da-f]{2})$/iu}})(),cv=/^color\(display-p3\s+(?<r>\d+\.\d+|\d+|\.\d+)\s+(?<g>\d+\.\d+|\d+|\.\d+)\s+(?<b>\d+\.\d+|\d+|\.\d+)(?:\s*\/\s*(?<a>\d+\.\d+|\d+|\.\d+))?\)$/u,lv=e=>{let{r:t,g:n,b:r,a:i}=_i(e);return{x:.486570948648216*t+.265667693169093*n+.1982172852343625*r,y:.2289745640697487*t+.6917385218365062*n+.079286914093745*r,z:0*t+.0451133818589026*n+1.043944368900976*r,a:i}},uv=({x:e=0,y:t=0,z:n=0,a:r=1})=>yi({r:e*3.2409699419045226-t*1.537383177570094-.4986107602930034*n,g:e*-.9692436362808796+t*1.8759675015077204+.0415550574071756*n,b:e*.0556300796969936-t*.2039769588889765+1.0569715142428784*n,a:r}),dv=e=>{let{r:t,g:n,b:r,a:i}=_i(e);return{x:.4123907992659593*t+.357584339383878*n+.1804807884018343*r,y:.2126390058715102*t+.715168678767756*n+.0721923153607337*r,z:.0193308187155918*t+.119194779794626*n+.9505321522496607*r,a:i}},fv=({x:e=0,y:t=0,z:n=0,a:r=1})=>yi({r:e*2.4934969119414263-t*.9313836179191242-.402710784450717*n,g:e*-.8294889695615749+t*1.7626640603183465+.0236246858419436*n,b:e*.0358458302437845-t*.0761723892680418+.9568845240076871*n,a:r}),pv=class e{constructor(e){L(this,`format`,`p3`),L(this,`r`),L(this,`g`),L(this,`b`),L(this,`a`),this.r=e.r??0,this.g=e.g??0,this.b=e.b??0,this.a=e.a??1}hsv(){return bi(this)}rgb(){return wi(this)}hsl(){return ri(this.r,this.g,this.b)}toString(e=`p3`,t){switch(e){case`p3`:{let e=t?.r??this.r,n=t?.g??this.g,r=t?.b??this.b,i=t?.a??this.a;return i===1?`color(display-p3 ${e} ${n} ${r})`:`color(display-p3 ${e} ${n} ${r} / ${i})`}case`srgb`:{let e=this.rgb(),n=Math.round(Math.max(0,Math.min(e.r,1))*100)/100,r=Math.round(Math.max(0,Math.min(e.g,1))*100)/100,i=Math.round(Math.max(0,Math.min(e.b,1))*100)/100,a=t?.r??n*255,o=t?.g??r*255,s=t?.b??i*255,c=t?.a??e.a??1;return c===1?`rgb(${a}, ${o}, ${s})`:`rgba(${a}, ${o}, ${s}, ${c})`}}}static isP3String(e){return e.startsWith(`color(display-p3`)}static fromHSV(t,n=`p3`){switch(n){case`p3`:return new e(Si(t));case`srgb`:return new e(Ci(Si(t)))}}static fromRGB(t){return new e(Ci({r:Math.round(t.r/255*1e4)/1e4,g:Math.round(t.g/255*1e4)/1e4,b:Math.round(t.b/255*1e4)/1e4,a:t.a??1}))}static fromRGBString(t){let n=q(t);if(n)return e.fromRGB(n)}static fromString(t){if(!e.isP3String(t))return;let n=hi(t);if(n)return new e({r:n.r,g:n.g,b:n.b,a:n.a})}static srgbFromValue(t){if(!R(t)||!q.isP3String(t))return t;let n=e.fromString(t);return n?n.toString(`srgb`):t}static multiplyAlpha(t,n){return new e({r:t.r,g:t.g,b:t.b,a:t.a*n})}},mv=new Map,q=(()=>{function e(n,r,i,a){if(typeof n==`string`){let r=mv.get(n);return r||(r=t(n),r===void 0?{...e(`black`),isValid:!1}:(mv.set(n,r),r))}let o=t(n,r,i,a);return o===void 0?{...e(`black`),isValid:!1}:o}function t(t,n,r,i){if(t===``)return;let a=Ti(t,n,r,i);if(a){let n={r:a.r,g:a.g,b:a.b,a:a.a,h:a.h,s:a.s,l:a.l,initialValue:typeof t==`string`&&a.format!==`hsv`?t:void 0,roundA:Math.round(100*a.a)/100,format:a.format,mix:e.mix,toValue:()=>e.toRgbString(n)};return n}else return}let n={isRGB(e){return e===`rgb`||e===`rgba`},isHSL(e){return e===`hsl`||e===`hsla`}};e.inspect=(e,t)=>e.format===`hsl`?`<${e.constructor.name} h:${e.h} s:${e.s} l:${e.l} a:${e.a}>`:e.format===`hex`||e.format===`name`?`<${e.constructor.name} "${t}">`:`<${e.constructor.name} r:${e.r} g:${e.g} b:${e.b} a:${e.a}>`,e.isColor=t=>typeof t==`string`?e.isColorString(t):e.isColorObject(t),e.isColorString=e=>typeof e==`string`?fi(e)!==!1:!1,e.isColorObject=e=>B(e)&&typeof e.r==`number`&&typeof e.g==`number`&&typeof e.b==`number`&&typeof e.h==`number`&&typeof e.s==`number`&&typeof e.l==`number`&&typeof e.a==`number`&&typeof e.roundA==`number`&&typeof e.format==`string`,e.toString=t=>e.toRgbString(t),e.toHex=(e,t=!1)=>ni(e.r,e.g,e.b,t),e.toHexString=(t,n=!1)=>`#${e.toHex(t,n)}`,e.isP3String=e=>typeof e==`string`?pv.isP3String(e):!1,e.toRgbString=e=>e.a===1?`rgb(`+Math.round(e.r)+`, `+Math.round(e.g)+`, `+Math.round(e.b)+`)`:`rgba(`+Math.round(e.r)+`, `+Math.round(e.g)+`, `+Math.round(e.b)+`, `+e.roundA+`)`,e.toHusl=e=>({...Qr(e.r,e.g,e.b),a:e.roundA}),e.toHslString=t=>{let n=e.toHsl(t),r=Math.round(n.h),i=Math.round(n.s*100),a=Math.round(n.l*100);return t.a===1?`hsl(`+r+`, `+i+`%, `+a+`%)`:`hsla(`+r+`, `+i+`%, `+a+`%, `+t.roundA+`)`},e.toHsv=e=>{let t=oi(e.r,e.g,e.b);return{h:t.h*360,s:t.s,v:t.v,a:e.a}},e.toHsvString=e=>{let t=oi(e.r,e.g,e.b),n=Math.round(t.h*360),r=Math.round(t.s*100),i=Math.round(t.v*100);return e.a===1?`hsv(`+n+`, `+r+`%, `+i+`%)`:`hsva(`+n+`, `+r+`%, `+i+`%, `+e.roundA+`)`},e.toName=e=>{if(e.a===0)return`transparent`;if(e.a<1)return!1;let t=ni(e.r,e.g,e.b,!0);for(let e of Object.keys(av))if(av[e]===t)return e;return!1},e.toHsl=e=>({h:Math.round(e.h),s:e.s,l:e.l,a:e.a}),e.toRgb=e=>({r:Math.round(e.r),g:Math.round(e.g),b:Math.round(e.b),a:e.a}),e.brighten=(t,n=10)=>{let r=e.toRgb(t);return r.r=Math.max(0,Math.min(255,r.r-Math.round(255*-(n/100)))),r.g=Math.max(0,Math.min(255,r.g-Math.round(255*-(n/100)))),r.b=Math.max(0,Math.min(255,r.b-Math.round(255*-(n/100)))),e(r)},e.lighten=(t,n=10)=>{let r=e.toHsl(t);return r.l+=n/100,r.l=Math.min(1,Math.max(0,r.l)),e(r)},e.darken=(t,n=10)=>{let r=e.toHsl(t);return r.l-=n/100,r.l=Math.min(1,Math.max(0,r.l)),e(r)},e.saturate=(t,n=10)=>{let r=e.toHsl(t);return r.s+=n/100,r.s=Math.min(1,Math.max(0,r.s)),e(r)},e.desaturate=(t,n=10)=>{let r=e.toHsl(t);return r.s-=n/100,r.s=Math.min(1,Math.max(0,r.s)),e(r)},e.grayscale=t=>e.desaturate(t,100),e.hueRotate=(t,n)=>{let r=e.toHsl(t);return r.h+=n,r.h=r.h>360?r.h-360:r.h,e(r)},e.alpha=(t,n=1)=>e({r:t.r,g:t.g,b:t.b,a:n}),e.transparent=t=>e.alpha(t,0),e.multiplyAlpha=(t,n=1)=>e({r:t.r,g:t.g,b:t.b,a:t.a*n}),e.interpolate=(t,n,r=`rgb`)=>{if(!e.isColorObject(t)||!e.isColorObject(n))throw TypeError(`Both arguments for Color.interpolate must be Color objects`);return i=>e.mixAsColor(t,n,i,!1,r)},e.mix=(t,n,{model:r=`rgb`}={})=>{let i=typeof t==`string`?e(t):t,a=e.interpolate(i,n,r);return t=>e.toRgbString(a(t))},e.mixAsColor=(t,r,i=.5,a=!1,o=`rgb`)=>{let s=null;if(n.isRGB(o))s=e({r:Jr(i,[0,1],[t.r,r.r],a),g:Jr(i,[0,1],[t.g,r.g],a),b:Jr(i,[0,1],[t.b,r.b],a),a:Jr(i,[0,1],[t.a,r.a],a)});else{let c,l;n.isHSL(o)?(c=e.toHsl(t),l=e.toHsl(r)):(c=e.toHusl(t),l=e.toHusl(r)),c.s===0?c.h=l.h:l.s===0&&(l.h=c.h);let u=c.h,d=l.h,f=d-u;f>180?f=d-360-u:f<-180&&(f=d+360-u);let p={h:Jr(i,[0,1],[u,u+f],a),s:Jr(i,[0,1],[c.s,l.s],a),l:Jr(i,[0,1],[c.l,l.l],a),a:Jr(i,[0,1],[t.a,r.a],a)};s=n.isHSL(o)?e(p):e($r(p.h,p.s,p.l,p.a))}return s},e.random=(t=1)=>{function n(){return Math.floor(Math.random()*255)}return e(`rgba(`+n()+`, `+n()+`, `+n()+`, `+t+`)`)},e.grey=(t=.5,n=1)=>(t=Math.floor(t*255),e(`rgba(`+t+`, `+t+`, `+t+`, `+n+`)`)),e.gray=e.grey,e.rgbToHsl=(e,t,n)=>ri(e,t,n),e.isValidColorProperty=(t,n)=>!!((t.toLowerCase().slice(-5)===`color`||t===`fill`||t===`stroke`)&&typeof n==`string`&&e.isColorString(n)),e.difference=(e,t)=>{let n=(e.r+t.r)/2,r=e.r-t.r,i=e.g-t.g,a=e.b-t.b,o=r**2,s=i**2,c=a**2;return Math.sqrt(2*o+4*s+3*c+n*(o-c)/256)},e.equal=(e,t,n=.1)=>!(Math.abs(e.r-t.r)>=n||Math.abs(e.g-t.g)>=n||Math.abs(e.b-t.b)>=n||Math.abs(e.a-t.a)*256>=n);let r=qe([0,255],[0,1]);function i(e){e=r(e);let t=Math.abs(e);return t<.04045?e/12.92:(Math.sign(e)||1)*((t+.055)/1.055)**2.4}return e.luminance=t=>{let{r:n,g:r,b:a}=e.toRgb(t);return .2126*i(n)+.7152*i(r)+.0722*i(a)},e.contrast=(t,n)=>{let r=e.luminance(t),i=e.luminance(n);return(Math.max(r,i)+.05)/(Math.min(r,i)+.05)},e})(),hv=e=>e instanceof We,gv=(()=>Qh().EventEmitter)(),_v=class{constructor(){L(this,`_emitter`,new gv)}eventNames(){return this._emitter.eventNames()}eventListeners(){let e={};for(let t of this._emitter.eventNames())e[t]=this._emitter.listeners(t);return e}on(e,t){this.addEventListener(e,t,!1,!1,this)}off(e,t){this.removeEventListeners(e,t)}once(e,t){this.addEventListener(e,t,!0,!1,this)}unique(e,t){this.addEventListener(e,t,!1,!0,this)}addEventListener(e,t,n,r,i){if(r){for(let e of this._emitter.eventNames())if(t===this._emitter.listeners(e))return}n===!0?this._emitter.once(e,t,i):this._emitter.addListener(e,t,i)}removeEventListeners(e,t){e?this._emitter.removeListener(e,t):this.removeAllEventListeners()}removeAllEventListeners(){this._emitter.removeAllListeners()}countEventListeners(e){if(e)return this._emitter.listeners(e).length;{let e=0;for(let t of this._emitter.eventNames())e+=this._emitter.listeners(t).length;return e}}emit(e,...t){this._emitter.emit(e,...t)}},vv=e=>{setTimeout(e,1/60)},yv=(()=>K.requestAnimationFrame||vv)(),bv=e=>yv(e),xv=(()=>1/60)(),Sv=class extends _v{constructor(e=!1){super(),L(this,`_started`,!1),L(this,`_frame`,0),L(this,`_frameTasks`,[]),L(this,`tick`,()=>{this._started&&(bv(this.tick),this.emit(`update`,this._frame,xv),this.emit(`render`,this._frame,xv),this._processFrameTasks(),this._frame++)}),e&&this.start()}addFrameTask(e){this._frameTasks.push(e)}_processFrameTasks(){let e=this._frameTasks,t=e.length;if(t!==0){for(let n=0;n<t;n++)e[n]?.();e.length=0}}static set TimeStep(e){xv=e}static get TimeStep(){return xv}start(){return this._started?this:(this._frame=0,this._started=!0,bv(this.tick),this)}stop(){return this._started=!1,this}get frame(){return this._frame}get time(){return this._frame*xv}},Cv=new Sv,wv={target:K.location.origin===`https://screenshot.framer.invalid`?`EXPORT`:`PREVIEW`,zoom:1},J={canvas:`CANVAS`,export:`EXPORT`,thumbnail:`THUMBNAIL`,preview:`PREVIEW`,current:()=>wv.target,hasRestrictions:()=>{let e=wv.target;return e===`CANVAS`||e===`EXPORT`}},Tv=e=>({correct:(t,{projectionDelta:n,treeScale:r})=>{if(typeof t==`string`&&(t=parseFloat(t)),t===0)return`0px`;let i=t;return n&&r&&(i=Math.round(t/n[e].scale/r[e]),i=Math.max(i,1)),i+`px`}}),Oe({borderTopWidth:Tv(`y`),borderLeftWidth:Tv(`x`),borderRightWidth:Tv(`x`),borderBottomWidth:Tv(`y`)}),Ev=n.createContext({getLayoutId:e=>null,persistLayoutIdCache:()=>{},top:!1,enabled:!0}),Dv={background:void 0,display:`flex`,flexDirection:`column`,justifyContent:`center`,alignItems:`center`,lineHeight:`1.4em`,textOverflow:`ellipsis`,overflow:`hidden`,minHeight:0,width:`100%`,height:`100%`},Ov=(()=>({...Dv,border:`1px solid rgba(149, 149, 149, 0.15)`,borderRadius:6,fontSize:`12px`,backgroundColor:`rgba(149, 149, 149, 0.1)`,color:`#a5a5a5`}))(),kv={overflow:`hidden`,whiteSpace:`nowrap`,textOverflow:`ellipsis`,maxWidth:`100%`,flexShrink:0,padding:`0 10px`},Av=(()=>({...kv,fontWeight:500}))(),jv=(()=>({...kv,whiteSpace:`pre`,maxHeight:`calc(50% - calc(20px * var(--framerInternalCanvas-canvasPlaceholderContentScaleFactor, 1)))`,WebkitMaskImage:`linear-gradient(to bottom, black 80%, transparent 100%)`}))(),Mv=(()=>{function e(e,t){return{a:e,b:t}}return e.offset=(t,n)=>{let r=Bi(qr.angleFromX(t.a,t.b)),i=n*Math.sin(r),a=n*Math.cos(r);return e({x:t.a.x+i,y:t.a.y-a},{x:t.b.x+i,y:t.b.y-a})},e.intersection=(e,t,n)=>{let r=e.a.x,i=e.a.y,a=e.b.x,o=e.b.y,s=t.a.x,c=t.a.y,l=t.b.x,u=t.b.y,d=(l-s)*(c-i)-(u-c)*(s-r),f=(l-s)*(o-i)-(u-c)*(a-r),p=(a-r)*(c-i)-(o-i)*(s-r);if(d===0&&f===0||f===0)return null;let m=d/f,h=p/f;return n&&(m<0||m>1||h<0||h>1)?null:{x:r+m*(a-r),y:i+m*(o-i)}},e.intersectionAngle=(e,t)=>{let n=e.b.x-e.a.x,r=e.b.y-e.a.y,i=t.b.x-t.a.x,a=t.b.y-t.a.y;return Math.atan2(n*a-r*i,n*i+r*a)*(180/Math.PI)},e.isOrthogonal=e=>e.a.x===e.b.x||e.a.y===e.b.y,e.perpendicular=(t,n)=>{let r=t.a.x-t.b.x,i=t.a.y-t.b.y;return e(qr(n.x-i,n.y+r),n)},e.projectPoint=(t,n)=>{let r=e.perpendicular(t,n);return e.intersection(t,r)},e.pointAtPercentDistance=(t,n)=>{let r=e.distance(t),i=n*r/r;return{x:i*t.b.x+(1-i)*t.a.x,y:i*t.b.y+(1-i)*t.a.y}},e.distance=e=>qr.distance(e.a,e.b),e})(),Y={equals:function(e,t){return e===t?!0:!e||!t?!1:e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height},from:e=>({x:e.x,y:e.y,width:e.width,height:e.height}),atOrigin:e=>({x:0,y:0,width:e.width,height:e.height}),fromTwoPoints:(e,t)=>({x:Math.min(e.x,t.x),y:Math.min(e.y,t.y),width:Math.abs(e.x-t.x),height:Math.abs(e.y-t.y)}),fromRect:e=>({x:e.left,y:e.top,width:e.right-e.left,height:e.bottom-e.top}),multiply:(e,t)=>({x:e.x*t,y:e.y*t,width:e.width*t,height:e.height*t}),divide:(e,t)=>Y.multiply(e,1/t),offset:(e,t)=>{let n=typeof t.x==`number`?t.x:0,r=typeof t.y==`number`?t.y:0;return{...e,x:e.x+n,y:e.y+r}},inflate:(e,t)=>{if(t===0)return e;let n=2*t;return{x:e.x-t,y:e.y-t,width:e.width+n,height:e.height+n}},pixelAligned:e=>{let t=Math.round(e.x),n=Math.round(e.y),r=Math.round(e.x+e.width),i=Math.round(e.y+e.height);return{x:t,y:n,width:Math.max(r-t,0),height:Math.max(i-n,0)}},halfPixelAligned:e=>{let t=Math.round(e.x*2)/2,n=Math.round(e.y*2)/2,r=Math.round((e.x+e.width)*2)/2,i=Math.round((e.y+e.height)*2)/2;return{x:t,y:n,width:Math.max(r-t,1),height:Math.max(i-n,1)}},round:(e,t=0)=>({x:Wr(e.x,t),y:Wr(e.y,t),width:Wr(e.width,t),height:Wr(e.height,t)}),roundToOutside:e=>{let t=Math.floor(e.x),n=Math.floor(e.y),r=Math.ceil(e.x+e.width),i=Math.ceil(e.y+e.height);return{x:t,y:n,width:Math.max(r-t,0),height:Math.max(i-n,0)}},minX:e=>e.x,maxX:e=>e.x+e.width,minY:e=>e.y,maxY:e=>e.y+e.height,positions:e=>({minX:e.x,midX:e.x+e.width/2,maxX:Y.maxX(e),minY:e.y,midY:e.y+e.height/2,maxY:Y.maxY(e)}),center:e=>({x:e.x+e.width/2,y:e.y+e.height/2}),boundingRectFromPoints:e=>{let t=1/0,n=-1/0,r=1/0,i=-1/0;for(let a=0;a<e.length;a++){let o=e[a];t=Math.min(t,o.x),n=Math.max(n,o.x),r=Math.min(r,o.y),i=Math.max(i,o.y)}return{x:t,y:r,width:n-t,height:i-r}},fromPoints:e=>{let[t,n,r,i]=e,{x:a,y:o}=t;return{x:a,y:o,width:qr.distance(t,n),height:qr.distance(t,i)}},merge:(...e)=>{let t={x:Math.min(...e.map(Y.minX)),y:Math.min(...e.map(Y.minY))},n={x:Math.max(...e.map(Y.maxX)),y:Math.max(...e.map(Y.maxY))};return Y.fromTwoPoints(t,n)},intersection:(e,t)=>{let n=Math.max(e.x,t.x),r=Math.min(e.x+e.width,t.x+t.width),i=Math.max(e.y,t.y),a=Math.min(e.y+e.height,t.y+t.height);return{x:n,y:i,width:r-n,height:a-i}},points:e=>[{x:Y.minX(e),y:Y.minY(e)},{x:Y.minX(e),y:Y.maxY(e)},{x:Y.maxX(e),y:Y.minY(e)},{x:Y.maxX(e),y:Y.maxY(e)}],pointsAtOrigin:e=>[{x:0,y:0},{x:e.width,y:0},{x:e.width,y:e.height},{x:0,y:e.height}],transform:(e,t)=>{let{x:n,y:r}=t.transformPoint({x:e.x,y:e.y}),{x:i,y:a}=t.transformPoint({x:e.x+e.width,y:e.y}),{x:o,y:s}=t.transformPoint({x:e.x+e.width,y:e.y+e.height}),{x:c,y:l}=t.transformPoint({x:e.x,y:e.y+e.height}),u=Math.min(n,i,o,c),d=Math.max(n,i,o,c)-u,f=Math.min(r,a,s,l);return{x:u,y:f,width:d,height:Math.max(r,a,s,l)-f}},containsPoint:(e,t)=>!(t.x<Y.minX(e)||t.x>Y.maxX(e)||t.y<Y.minY(e)||t.y>Y.maxY(e)||Number.isNaN(e.x)||Number.isNaN(e.y)),containsRect:(e,t)=>{for(let n of Y.points(t))if(!Y.containsPoint(e,n))return!1;return!0},toCSS:e=>({display:`block`,transform:`translate(${e.x}px, ${e.y}px)`,width:`${e.width}px`,height:`${e.height}px`}),inset:(e,t)=>({x:e.x+t,y:e.y+t,width:Math.max(0,e.width-2*t),height:Math.max(0,e.height-2*t)}),intersects:(e,t)=>!(t.x>=Y.maxX(e)||Y.maxX(t)<=e.x||t.y>=Y.maxY(e)||Y.maxY(t)<=e.y),overlapHorizontally:(e,t)=>{let n=Y.maxX(e),r=Y.maxX(t);return n>t.x&&r>e.x},overlapVertically:(e,t)=>{let n=Y.maxY(e),r=Y.maxY(t);return n>t.y&&r>e.y},doesNotIntersect:(e,t)=>t.find(t=>Y.intersects(t,e))===void 0,isEqual:(e,t)=>Y.equals(e,t),cornerPoints:e=>{let t=e.x,n=e.x+e.width,r=e.y,i=e.y+e.height;return[{x:t,y:r},{x:n,y:r},{x:n,y:i},{x:t,y:i}]},midPoints:e=>{let t=e.x,n=e.x+e.width/2,r=e.x+e.width,i=e.y,a=e.y+e.height/2,o=e.y+e.height;return[{x:n,y:i},{x:r,y:a},{x:n,y:o},{x:t,y:a}]},pointDistance:(e,t)=>{let n=0,r=0;return t.x<e.x?n=e.x-t.x:t.x>Y.maxX(e)&&(n=t.x-Y.maxX(e)),t.y<e.y?r=e.y-t.y:t.y>Y.maxY(e)&&(r=t.y-Y.maxY(e)),qr.distance({x:n,y:r},{x:0,y:0})},delta:(e,t)=>{let n={x:Y.minX(e),y:Y.minY(e)},r={x:Y.minX(t),y:Y.minY(t)};return{x:n.x-r.x,y:n.y-r.y}},withMinSize:(e,t)=>{let{width:n,height:r}=t,i=e.width-n,a=e.height-r;return{width:Math.max(e.width,n),height:Math.max(e.height,r),x:e.width<n?e.x+i/2:e.x,y:e.height<r?e.y+a/2:e.y}},anyPointsOutsideRect:(e,t)=>{let n=Y.minX(e),r=Y.minY(e),i=Y.maxX(e),a=Y.maxY(e);for(let e of t)if(e.x<n||e.x>i||e.y<r||e.y>a)return!0;return!1},edges:e=>{let[t,n,r,i]=Y.cornerPoints(e);return[Mv(t,n),Mv(n,r),Mv(r,i),Mv(i,t)]},rebaseRectOnto:(e,t,n,r)=>{let i={...e};switch(n){case`bottom`:case`top`:switch(r){case`start`:i.x=t.x;break;case`center`:i.x=t.x+t.width/2-e.width/2;break;case`end`:i.x=t.x+t.width-e.width;break;default:H(r)}break;case`left`:i.x=t.x-e.width;break;case`right`:i.x=t.x+t.width;break;default:H(n)}switch(n){case`left`:case`right`:switch(r){case`start`:i.y=t.y;break;case`center`:i.y=t.y+t.height/2-e.height/2;break;case`end`:i.y=t.y+t.height-e.height;break;default:H(r)}break;case`top`:i.y=t.y-e.height;break;case`bottom`:i.y=t.y+t.height;break;default:H(n)}return i},constrain:(e,t)=>{if(!t)return e;let n=Math.max(e.y,t.y);n=Math.min(n,t.y+t.height-e.height);let r=Math.max(e.x,t.x);return r=Math.min(r,t.x+t.width-e.width),{x:r,y:n,width:e.width,height:e.height}},closestEdge:(e,t)=>{let n=Mv(t,Y.center(e)),r=Y.edges(e);for(let e=0;e<r.length;e++){let t=r[e];if(t&&Mv.intersection(n,t,!0)){let n=Nv[e];return V(n,`Invalid edge name`,Nv),{edge:t,name:n}}}}},Nv=[`top`,`right`,`bottom`,`left`],Pv={quickfix:e=>((Vi(e.widthType)||Vi(e.heightType))&&(e.aspectRatio=null),U(e.aspectRatio)&&(e.left&&e.right&&(e.widthType=0),e.top&&e.bottom&&(e.heightType=0),e.left&&e.right&&e.top&&e.bottom&&(e.bottom=!1),e.widthType!==0&&e.heightType!==0&&(e.heightType=0)),e.left&&e.right&&((e.fixedSize||Vi(e.widthType)||U(e.maxWidth))&&(e.right=!1),e.widthType=0),e.top&&e.bottom&&((e.fixedSize||Vi(e.heightType)||U(e.maxHeight))&&(e.bottom=!1),e.heightType=0),e)},Fv={fromProperties:e=>{let{left:t,right:n,top:r,bottom:i,width:a,height:o,centerX:s,centerY:c,aspectRatio:l,autoSize:u}=e,d=Pv.quickfix({left:U(t)||Hr(t),right:U(n)||Hr(n),top:U(r)||Hr(r),bottom:U(i)||Hr(i),widthType:Hi(a),heightType:Hi(o),aspectRatio:l||null,fixedSize:u===!0}),f=null,p=null,m=0,h=0;if(d.widthType!==0&&typeof a==`string`){let e=parseFloat(a);a.endsWith(`fr`)?(m=3,f=e):a===`auto`?m=2:(m=1,f=e/100)}else a!==void 0&&typeof a!=`string`&&(f=tv.getNumber(a));if(d.heightType!==0&&typeof o==`string`){let e=parseFloat(o);o.endsWith(`fr`)?(h=3,p=e):o===`auto`?h=2:(h=1,p=parseFloat(o)/100)}else o!==void 0&&typeof o!=`string`&&(p=tv.getNumber(o));let g=.5,_=.5;return s&&(g=parseFloat(s)/100),c&&(_=parseFloat(c)/100),{left:d.left?tv.getNumber(t):null,right:d.right?tv.getNumber(n):null,top:d.top?tv.getNumber(r):null,bottom:d.bottom?tv.getNumber(i):null,widthType:m,heightType:h,width:f,height:p,aspectRatio:d.aspectRatio||null,centerAnchorX:g,centerAnchorY:_}},toSize:(e,t,n,r)=>{let i=null,a=null,o=t?.sizing?tv.getNumber(t?.sizing.width):null,s=t?.sizing?tv.getNumber(t?.sizing.height):null,c=Ji(e.left,e.right);if(o&&U(c))i=o-c;else if(n&&Vi(e.widthType))i=n.width;else if(U(e.width))switch(e.widthType){case 0:i=e.width;break;case 3:i=r?r.freeSpaceInParent.width/r.freeSpaceUnitDivisor.width*e.width:null;break;case 1:case 4:o&&(i=o*e.width);break;case 2:case 5:break;default:H(e.widthType)}let l=Ji(e.top,e.bottom);if(s&&U(l))a=s-l;else if(n&&Vi(e.heightType))a=n.height;else if(U(e.height))switch(e.heightType){case 0:a=e.height;break;case 3:a=r?r.freeSpaceInParent.height/r.freeSpaceUnitDivisor.height*e.height:null;break;case 1:case 4:s&&(a=s*e.height);break;case 2:case 5:break;default:H(e.heightType)}return qi(i,a,e,{height:s??0,width:o??0},t?.viewport)},toRect:(e,t=null,n=null,r=!1,i=null)=>{let a=e.left||0,o=e.top||0,{width:s,height:c}=Fv.toSize(e,t,n,i),l=t?.positioning??null,u=l?tv.getNumber(l.width):null,d=l?tv.getNumber(l.height):null;e.left===null?u&&e.right!==null?a=u-e.right-s:u&&(a=e.centerAnchorX*u-s/2):a=e.left,e.top===null?d&&e.bottom!==null?o=d-e.bottom-c:d&&(o=e.centerAnchorY*d-c/2):o=e.top;let f={x:a,y:o,width:s,height:c};return r?Y.pixelAligned(f):f}},Iv=200,Lv=200,Rv=n.createContext({parentSize:0}),zv=e=>{let t=na(),{parentSize:r,children:i}=e,a=n.useMemo(()=>({parentSize:r}),[ia(r),aa(r)]);return t===1?i?A(D,{children:i}):null:A(Rv.Provider,{value:a,children:i})},Bv=(e=>(e.Boolean=`boolean`,e.Number=`number`,e.String=`string`,e.RichText=`richtext`,e.FusedNumber=`fusednumber`,e.Enum=`enum`,e.SegmentedEnum=`segmentedenum`,e.Color=`color`,e.Image=`image`,e.ResponsiveImage=`responsiveimage`,e.File=`file`,e.ComponentInstance=`componentinstance`,e.Slot=`slot`,e.Array=`array`,e.EventHandler=`eventhandler`,e.Transition=`transition`,e.BoxShadow=`boxshadow`,e.Link=`link`,e.Date=`date`,e.Object=`object`,e.Font=`font`,e.PageScope=`pagescope`,e.ScrollSectionRef=`scrollsectionref`,e.CustomCursor=`customcursor`,e.Border=`border`,e.Cursor=`cursor`,e.Padding=`padding`,e.BorderRadius=`borderradius`,e.Gap=`gap`,e.CollectionReference=`collectionreference`,e.MultiCollectionReference=`multicollectionreference`,e.TrackingId=`trackingid`,e.VectorSetItem=`vectorsetitem`,e.LinkRelValues=`linkrelvalues`,e))(Bv||{}),Vv=/Mac/u,Hv=/iPhone|iPod|iPad/iu,Uv=/MacIntel/iu,Wv=/Edg\//u,Gv=/Chrome/u,Kv=/Google Inc/u,qv=/Safari/u,Jv=/Apple Computer/u,Yv=/Firefox\/\d+\.\d+$/u,Xv=/FramerX/u,Zv=/tablet|iPad|Nexus 9/iu,Qv=/mobi/iu,$v=n.createContext(void 0),ey=new Set,ny=`style[data-framer-css-ssr-minified]`,ry=(()=>{if(!_a())return new Set;let e=document.querySelector(ny)?.getAttribute(`data-framer-components`);return e?new Set(e.split(` `)):new Set})(),iy=`data-framer-css-ssr`,ay=(e,t,r)=>n.forwardRef((i,a)=>{let{sheet:o,cache:s}=n.useContext($v)??{},c=r;if(!_a()){Qe(t)&&(t=t(J.current(),i));let e=Array.isArray(t)?t.join(`
`):t;sy.add(e,c)}return m(()=>{c&&ry.has(c)||(Qe(t)?t(J.current(),i):Array.isArray(t)?t:t.split(`
`)).forEach(e=>e&&Ca(e,o,s))},[]),A(e,{...i,ref:a})}),oy=class{constructor(){L(this,`styles`,new Set),L(this,`componentIds`,new Set)}add(e,t){this.styles.add(e),t&&this.componentIds.add(t)}getStyles(){return this.styles}getComponentIds(){return this.componentIds}clear(){this.styles.clear(),this.componentIds.clear()}},sy=new oy,ly=`flexbox-gap-not-supported`,uy=!1,dy=[`[data-framer-component-type="DeprecatedRichText"] { cursor: inherit; }`,`
[data-framer-component-type="DeprecatedRichText"] .text-styles-preset-reset {
    --framer-font-family: Inter, Inter Placeholder, sans-serif;
    --framer-font-style: normal;
    --framer-font-weight: 500;
    --framer-text-color: #000;
    --framer-font-size: 16px;
    --framer-letter-spacing: 0;
    --framer-text-transform: none;
    --framer-text-decoration: none;
    --framer-line-height: 1.2em;
    --framer-text-alignment: start;
    --framer-font-open-type-features: normal;
    --font-variation-settings: normal;
}
`,`
[data-framer-component-type="DeprecatedRichText"] p,
[data-framer-component-type="DeprecatedRichText"] div,
[data-framer-component-type="DeprecatedRichText"] h1,
[data-framer-component-type="DeprecatedRichText"] h2,
[data-framer-component-type="DeprecatedRichText"] h3,
[data-framer-component-type="DeprecatedRichText"] h4,
[data-framer-component-type="DeprecatedRichText"] h5,
[data-framer-component-type="DeprecatedRichText"] h6 {
    margin: 0;
    padding: 0;
}
`,`
[data-framer-component-type="DeprecatedRichText"] p,
[data-framer-component-type="DeprecatedRichText"] div,
[data-framer-component-type="DeprecatedRichText"] h1,
[data-framer-component-type="DeprecatedRichText"] h2,
[data-framer-component-type="DeprecatedRichText"] h3,
[data-framer-component-type="DeprecatedRichText"] h4,
[data-framer-component-type="DeprecatedRichText"] h5,
[data-framer-component-type="DeprecatedRichText"] h6,
[data-framer-component-type="DeprecatedRichText"] li,
[data-framer-component-type="DeprecatedRichText"] ol,
[data-framer-component-type="DeprecatedRichText"] ul,
[data-framer-component-type="DeprecatedRichText"] span:not([data-text-fill]) {
    font-family: var(--framer-font-family, Inter, Inter Placeholder, sans-serif);
    font-style: var(--framer-font-style, normal);
    font-weight: var(--framer-font-weight, 400);
    color: var(--framer-text-color, #000);
    font-size: var(--framer-font-size, 16px);
    letter-spacing: var(--framer-letter-spacing, 0);
    text-transform: var(--framer-text-transform, none);
    text-decoration: var(--framer-text-decoration, none);
    line-height: var(--framer-line-height, 1.2em);
    text-align: var(--framer-text-alignment, start);
}
`,`
[data-framer-component-type="DeprecatedRichText"] p:not(:first-child),
[data-framer-component-type="DeprecatedRichText"] div:not(:first-child),
[data-framer-component-type="DeprecatedRichText"] h1:not(:first-child),
[data-framer-component-type="DeprecatedRichText"] h2:not(:first-child),
[data-framer-component-type="DeprecatedRichText"] h3:not(:first-child),
[data-framer-component-type="DeprecatedRichText"] h4:not(:first-child),
[data-framer-component-type="DeprecatedRichText"] h5:not(:first-child),
[data-framer-component-type="DeprecatedRichText"] h6:not(:first-child),
[data-framer-component-type="DeprecatedRichText"] ol:not(:first-child),
[data-framer-component-type="DeprecatedRichText"] ul:not(:first-child),
[data-framer-component-type="DeprecatedRichText"] .framer-image:not(:first-child) {
    margin-top: var(--framer-paragraph-spacing, 0);
}
`,`
[data-framer-component-type="DeprecatedRichText"] span[data-text-fill] {
    display: inline-block;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
`,`
[data-framer-component-type="DeprecatedRichText"] a,
[data-framer-component-type="DeprecatedRichText"] a span:not([data-text-fill]) {
    font-family: var(--framer-link-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif));
    font-style: var(--framer-link-font-style, var(--framer-font-style, normal));
    font-weight: var(--framer-link-font-weight, var(--framer-font-weight, 400));
    color: var(--framer-link-text-color, var(--framer-text-color, #000));
    font-size: var(--framer-link-font-size, var(--framer-font-size, 16px));
    text-transform: var(--framer-link-text-transform, var(--framer-text-transform, none));
    text-decoration: var(--framer-link-text-decoration, var(--framer-text-decoration, none));
}
`,`
[data-framer-component-type="DeprecatedRichText"] a:hover,
[data-framer-component-type="DeprecatedRichText"] a:hover span:not([data-text-fill]) {
    font-family: var(--framer-link-hover-font-family, var(--framer-link-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif)));
    font-style: var(--framer-link-hover-font-style, var(--framer-link-font-style, var(--framer-font-style, normal)));
    font-weight: var(--framer-link-hover-font-weight, var(--framer-link-font-weight, var(--framer-font-weight, 400)));
    color: var(--framer-link-hover-text-color, var(--framer-link-text-color, var(--framer-text-color, #000)));
    font-size: var(--framer-link-hover-font-size, var(--framer-link-font-size, var(--framer-font-size, 16px)));
    text-transform: var(--framer-link-hover-text-transform, var(--framer-link-text-transform, var(--framer-text-transform, none)));
    text-decoration: var(--framer-link-hover-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration, none)));
}
`,`
[data-framer-component-type="DeprecatedRichText"] a[data-framer-page-link-current],
[data-framer-component-type="DeprecatedRichText"] a[data-framer-page-link-current] span:not([data-text-fill]):not([data-nested-link]) {
    font-family: var(--framer-link-current-font-family, var(--framer-link-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif)));
    font-style: var(--framer-link-current-font-style, var(--framer-link-font-style, var(--framer-font-style, normal)));
    font-weight: var(--framer-link-current-font-weight, var(--framer-link-font-weight, var(--framer-font-weight, 400)));
    color: var(--framer-link-current-text-color, var(--framer-link-text-color, var(--framer-text-color, #000)));
    font-size: var(--framer-link-current-font-size, var(--framer-link-font-size, var(--framer-font-size, 16px)));
    text-transform: var(--framer-link-current-text-transform, var(--framer-link-text-transform, var(--framer-text-transform, none)));
    text-decoration: var(--framer-link-current-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration, none)));
}
`,`
[data-framer-component-type="DeprecatedRichText"] a[data-framer-page-link-current]:hover,
[data-framer-component-type="DeprecatedRichText"] a[data-framer-page-link-current]:hover span:not([data-text-fill]):not([data-nested-link]) {
    font-family: var(--framer-link-hover-font-family, var(--framer-link-current-font-family, var(--framer-link-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif))));
    font-style: var(--framer-link-hover-font-style, var(--framer-link-current-font-style, var(--framer-link-font-style, var(--framer-font-style, normal))));
    font-weight: var(--framer-link-hover-font-weight, var(--framer-link-current-font-weight, var(--framer-link-font-weight, var(--framer-font-weight, 400))));
    color: var(--framer-link-hover-text-color, var(--framer-link-current-text-color, var(--framer-link-text-color, var(--framer-text-color, #000))));
    font-size: var(--framer-link-hover-font-size, var(--framer-link-current-font-size, var(--framer-link-font-size, var(--framer-font-size, 16px))));
    text-transform: var(--framer-link-hover-text-transform, var(--framer-link-current-text-transform, var(--framer-link-text-transform, var(--framer-text-transform, none))));
    text-decoration: var(--framer-link-hover-text-decoration, var(--framer-link-current-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration, none))));
}
`,`
[data-framer-component-type="DeprecatedRichText"] strong {
    font-weight: bolder;
}
`,`
[data-framer-component-type="DeprecatedRichText"] em {
    font-style: italic;
}
`,`
[data-framer-component-type="DeprecatedRichText"] .framer-image {
    display: block;
    max-width: 100%;
    height: auto;
}
`,`
[data-framer-component-type="DeprecatedRichText"] ul,
[data-framer-component-type="DeprecatedRichText"] ol {
    display: table;
    width: 100%;
    padding-left: 0;
    margin: 0;
}
`,`
[data-framer-component-type="DeprecatedRichText"] li {
    display: table-row;
    counter-increment: list-item;
    list-style: none;
}
`,`
[data-framer-component-type="DeprecatedRichText"] ol > li::before {
    display: table-cell;
    width: 2.25ch;
    box-sizing: border-box;
    padding-right: 0.75ch;
    content: counter(list-item) ".";
    white-space: nowrap;
}
`,`
[data-framer-component-type="DeprecatedRichText"] ul > li::before {
    display: table-cell;
    width: 2.25ch;
    box-sizing: border-box;
    padding-right: 0.75ch;
    content: "•";
}
`],fy=(e=>(e.Padding=`--framer-input-padding`,e.BorderRadiusTopLeft=`--framer-input-border-radius-top-left`,e.BorderRadiusTopRight=`--framer-input-border-radius-top-right`,e.BorderRadiusBottomRight=`--framer-input-border-radius-bottom-right`,e.BorderRadiusBottomLeft=`--framer-input-border-radius-bottom-left`,e.CornerShape=`--framer-input-corner-shape`,e.BorderColor=`--framer-input-border-color`,e.BorderTopWidth=`--framer-input-border-top-width`,e.BorderRightWidth=`--framer-input-border-right-width`,e.BorderBottomWidth=`--framer-input-border-bottom-width`,e.BorderLeftWidth=`--framer-input-border-left-width`,e.BorderStyle=`--framer-input-border-style`,e.Background=`--framer-input-background`,e.FontFamily=`--framer-input-font-family`,e.FontWeight=`--framer-input-font-weight`,e.FontSize=`--framer-input-font-size`,e.FontColor=`--framer-input-font-color`,e.FontStyle=`--framer-input-font-style`,e.FontLetterSpacing=`--framer-input-font-letter-spacing`,e.FontTextAlignment=`--framer-input-font-text-alignment`,e.FontLineHeight=`--framer-input-font-line-height`,e.FontOpenType=`--framer-input-font-open-type-features`,e.FontVariationAxes=`--framer-input-font-variation-axes`,e.PlaceholderColor=`--framer-input-placeholder-color`,e.BoxShadow=`--framer-input-box-shadow`,e.FocusedBorderColor=`--framer-input-focused-border-color`,e.FocusedBorderWidth=`--framer-input-focused-border-width`,e.FocusedBorderStyle=`--framer-input-focused-border-style`,e.FocusedBackground=`--framer-input-focused-background`,e.FocusedBoxShadow=`--framer-input-focused-box-shadow`,e.FocusedTransition=`--framer-input-focused-transition`,e.BooleanCheckedBackground=`--framer-input-boolean-checked-background`,e.BooleanCheckedBorderColor=`--framer-input-boolean-checked-border-color`,e.BooleanCheckedBorderWidth=`--framer-input-boolean-checked-border-width`,e.BooleanCheckedBorderStyle=`--framer-input-boolean-checked-border-style`,e.BooleanCheckedBoxShadow=`--framer-input-boolean-checked-box-shadow`,e.BooleanCheckedTransition=`--framer-input-boolean-checked-transition`,e.InvalidTextColor=`--framer-input-invalid-text-color`,e.IconBackgroundImage=`--framer-input-icon-image`,e.IconMaskImage=`--framer-input-icon-mask-image`,e.IconColor=`--framer-input-icon-color`,e.WrapperHeight=`--framer-input-wrapper-height`,e))(fy||{}),X=fy,py=`framer-form-input`,my=`framer-form-input-wrapper`,hy=`framer-form-input-empty`,gy=`framer-form-input-forced-focus`,Z=(()=>{function e(e,t){let n=` `;for(let e in t){let r=t[e];V(r!==void 0,"Encountered `undefined` in CSSDeclaration"),n+=`${e.replace(/([A-Z])/gu,`-$1`).toLowerCase()}: ${Ea(r)}; `}return e+` {`+n+`}`}return e.variable=(...e)=>{let t=e[e.length-1];V(t!==void 0,"Zero variables passed to `css.variable`");let n=t.startsWith(`--`)?`var(${t})`:t;for(let t=e.length-2;t>=0;t--)n=`var(${e[t]}, ${n})`;return n},e})(),_y=(()=>[Z(`.${py}`,{padding:Z.variable(X.Padding),background:`transparent`,fontFamily:Z.variable(X.FontFamily),fontWeight:Z.variable(X.FontWeight),fontSize:Z.variable(X.FontSize),fontStyle:Z.variable(X.FontStyle),color:Z.variable(X.FontColor),fontFeatureSettings:Z.variable(X.FontOpenType),fontVariationSettings:Z.variable(X.FontVariationAxes),border:`none`,textOverflow:`ellipsis`,whiteSpace:`nowrap`,overflow:`hidden`,width:`100%`,height:Z.variable(X.WrapperHeight,`100%`),letterSpacing:Z.variable(X.FontLetterSpacing),textAlign:Z.variable(X.FontTextAlignment),lineHeight:Z.variable(X.FontLineHeight)}),Z(`.${py}:focus-visible`,{outline:`none`})])(),vy=(()=>[Z(`.${my}`,{overflow:`hidden`})])(),yy=`var(${X.BorderTopWidth}) var(${X.BorderRightWidth}) var(${X.BorderBottomWidth}) var(${X.BorderLeftWidth})`,by=(()=>[`.${my}:after {
        content: "";
        pointer-events: none;
        box-sizing: border-box;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-top-left-radius: var(${X.BorderRadiusTopLeft});
        border-top-right-radius: var(${X.BorderRadiusTopRight});
        border-bottom-right-radius: var(${X.BorderRadiusBottomRight});
        border-bottom-left-radius: var(${X.BorderRadiusBottomLeft});
        corner-shape: var(${X.CornerShape});
        border-color: var(${X.BorderColor});
        border-top-width: var(${X.BorderTopWidth});
        border-right-width: var(${X.BorderRightWidth});
        border-bottom-width: var(${X.BorderBottomWidth});
        border-left-width: var(${X.BorderLeftWidth});
        border-style: var(${X.BorderStyle});
        transition: var(${X.FocusedTransition});
        transition-property: border-color, border-width, border-style, border-top-left-radius, border-top-right-radius, border-bottom-right-radius, border-bottom-left-radius, corner-shape;
    }`])(),xy=`customError`,Sy=`valid`,Cy=10,wy=16,Ty=(()=>({content:``,display:`block`,position:`absolute`,right:0,top:0,bottom:0,width:`${wy}px`,boxSizing:`content-box`,padding:Z.variable(X.Padding),border:`none`,pointerEvents:`none`,backgroundRepeat:`no-repeat`,backgroundSize:`${wy}px`,maskRepeat:`no-repeat`,maskSize:`${wy}px`,backgroundColor:Z.variable(X.IconColor)}))(),Ey={display:`flex`,flexDirection:`column`,justifyContent:`flex-start`},Dy={display:`inline-block`},Oy={display:`block`},ky=(()=>[`
        [data-framer-component-type="RichTextContainer"] {
            display: ${Ey.display};
            flex-direction: ${Ey.flexDirection};
            justify-content: ${Ey.justifyContent};
            outline: none;
            flex-shrink: 0;
        }
    `,`
        p.framer-text,
        div.framer-text,
        figure.framer-text,
        h1.framer-text,
        h2.framer-text,
        h3.framer-text,
        h4.framer-text,
        h5.framer-text,
        h6.framer-text,
        ol.framer-text,
        ul.framer-text {
            margin: 0;
            padding: 0;
        }
    `,`
        p.framer-text,
        div.framer-text,
        h1.framer-text,
        h2.framer-text,
        h3.framer-text,
        h4.framer-text,
        h5.framer-text,
        h6.framer-text,
        li.framer-text,
        ol.framer-text,
        ul.framer-text,
        mark.framer-text,
        span.framer-text:not([data-text-fill]) {
            font-family: var(--framer-font-family-preview, var(--framer-blockquote-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif)));
            font-style: var(--framer-font-style-preview, var(--framer-blockquote-font-style, var(--framer-font-style, normal)));
            font-weight: var(--framer-font-weight-preview, var(--framer-blockquote-font-weight, var(--framer-font-weight, 400)));
            color: var(--framer-blockquote-text-color, var(--framer-text-color, #000));
            font-size: calc(var(--framer-blockquote-font-size, var(--framer-font-size, 16px)) * var(--framer-font-size-scale, 1));
            letter-spacing: var(--framer-blockquote-letter-spacing, var(--framer-letter-spacing, 0));
            text-transform: var(--framer-blockquote-text-transform, var(--framer-text-transform, none));
            text-decoration-line: var(--framer-blockquote-text-decoration, var(--framer-text-decoration, initial));
            text-decoration-style: var(--framer-blockquote-text-decoration-style, var(--framer-text-decoration-style, initial));
            text-decoration-color: var(--framer-blockquote-text-decoration-color, var(--framer-text-decoration-color, initial));
            text-decoration-thickness: var(--framer-blockquote-text-decoration-thickness, var(--framer-text-decoration-thickness, initial));
            text-decoration-skip-ink: var(--framer-blockquote-text-decoration-skip-ink, var(--framer-text-decoration-skip-ink, initial));
            text-underline-offset: var(--framer-blockquote-text-decoration-offset, var(--framer-text-decoration-offset, initial));
            line-height: var(--framer-blockquote-line-height, var(--framer-line-height, 1.2em));
            text-align: var(--framer-blockquote-text-alignment, var(--framer-text-alignment, start));
            -webkit-text-stroke-width: var(--framer-text-stroke-width, initial);
            -webkit-text-stroke-color: var(--framer-text-stroke-color, initial);
            -moz-font-feature-settings: var(--framer-font-open-type-features, initial);
            -webkit-font-feature-settings: var(--framer-font-open-type-features, initial);
            font-feature-settings: var(--framer-font-open-type-features, initial);
            font-variation-settings: var(--framer-font-variation-axes-preview, var(--framer-font-variation-axes, normal));
            text-wrap: var(--framer-text-wrap-override, var(--framer-text-wrap));
        }
    `,`
        mark.framer-text,
        p.framer-text,
        div.framer-text,
        h1.framer-text,
        h2.framer-text,
        h3.framer-text,
        h4.framer-text,
        h5.framer-text,
        h6.framer-text,
        li.framer-text,
        ol.framer-text,
        ul.framer-text {
            background-color: var(--framer-blockquote-text-background-color, var(--framer-text-background-color, initial));
            border-radius: var(--framer-blockquote-text-background-radius, var(--framer-text-background-radius, initial));
            corner-shape: var(--framer-blockquote-text-background-corner-shape, var(--framer-text-background-corner-shape, initial));
            padding: var(--framer-blockquote-text-background-padding, var(--framer-text-background-padding, initial));
        }
    `,`
        @supports not (color: color(display-p3 1 1 1)) {
            p.framer-text,
            div.framer-text,
            h1.framer-text,
            h2.framer-text,
            h3.framer-text,
            h4.framer-text,
            h5.framer-text,
            h6.framer-text,
            li.framer-text,
            ol.framer-text,
            ul.framer-text,
            span.framer-text:not([data-text-fill]) {
                color: ${Aa([`--framer-blockquote-text-color`,`--framer-text-color`],`#000`)};
                -webkit-text-stroke-color: ${Aa([`--framer-text-stroke-color`],`initial`)};
            }

            mark.framer-text {
                background-color: ${Aa([`--framer-blockquote-text-background-color`,`--framer-text-background-color`],`initial`)};
            }
        }
    `,`
        .framer-fit-text .framer-text {
            white-space: nowrap;
            white-space-collapse: preserve;
        }
    `,`
        strong.framer-text {
            font-family: var(--framer-blockquote-font-family-bold, var(--framer-font-family-bold));
            font-style: var(--framer-blockquote-font-style-bold, var(--framer-font-style-bold));
            font-weight: var(--framer-blockquote-font-weight-bold, var(--framer-font-weight-bold, bolder));
            font-variation-settings: var(--framer-blockquote-font-variation-axes-bold, var(--framer-font-variation-axes-bold));
        }
    `,`
        em.framer-text {
            font-family: var(--framer-blockquote-font-family-italic, var(--framer-font-family-italic));
            font-style: var(--framer-blockquote-font-style-italic, var(--framer-font-style-italic, italic));
            font-weight: var(--framer-blockquote-font-weight-italic, var(--framer-font-weight-italic));
            font-variation-settings: var(--framer-blockquote-font-variation-axes-italic, var(--framer-font-variation-axes-italic));
        }
    `,`
        em.framer-text > strong.framer-text {
            font-family: var(--framer-blockquote-font-family-bold-italic, var(--framer-font-family-bold-italic));
            font-style: var(--framer-blockquote-font-style-bold-italic, var(--framer-font-style-bold-italic, italic));
            font-weight: var(--framer-blockquote-font-weight-bold-italic, var(--framer-font-weight-bold-italic, bolder));
            font-variation-settings: var(--framer-blockquote-font-variation-axes-bold-italic, var(--framer-font-variation-axes-bold-italic));
        }
    `,`
        p.framer-text:not(:first-child),
        div.framer-text:not(:first-child),
        h1.framer-text:not(:first-child),
        h2.framer-text:not(:first-child),
        h3.framer-text:not(:first-child),
        h4.framer-text:not(:first-child),
        h5.framer-text:not(:first-child),
        h6.framer-text:not(:first-child),
        ol.framer-text:not(:first-child),
        ul.framer-text:not(:first-child),
        blockquote.framer-text:not(:first-child),
        table.framer-text:not(:first-child),
        figure.framer-text:not(:first-child),
        .framer-image.framer-text:not(:first-child) {
            margin-top: var(--framer-blockquote-paragraph-spacing, var(--framer-paragraph-spacing, 0));
        }
    `,`
        li.framer-text > ul.framer-text:nth-child(2),
        li.framer-text > ol.framer-text:nth-child(2) {
            margin-top: 0;
        }
    `,`
        .framer-text[data-text-fill] {
            display: ${Dy.display};
            background-clip: text;
            -webkit-background-clip: text;
            /* make this a transparent color if you want to visualise the clipping  */
            -webkit-text-fill-color: transparent;
            padding: max(0em, calc(calc(1.3em - var(--framer-blockquote-line-height, var(--framer-line-height, 1.3em))) / 2));
            margin: min(0em, calc(calc(1.3em - var(--framer-blockquote-line-height, var(--framer-line-height, 1.3em))) / -2));
        }
    `,`
        code.framer-text,
        code.framer-text span.framer-text:not([data-text-fill]) {
            font-family: var(--framer-code-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif));
            font-style: var(--framer-blockquote-font-style, var(--framer-code-font-style, var(--framer-font-style, normal)));
            font-weight: var(--framer-blockquote-font-weight, var(--framer-code-font-weight, var(--framer-font-weight, 400)));
            color: var(--framer-blockquote-text-color, var(--framer-code-text-color, var(--framer-text-color, #000)));
            font-size: calc(var(--framer-blockquote-font-size, var(--framer-font-size, 16px)) * var(--framer-font-size-scale, 1));
            letter-spacing: var(--framer-blockquote-letter-spacing, var(--framer-letter-spacing, 0));
            line-height: var(--framer-blockquote-line-height, var(--framer-line-height, 1.2em));
        }
    `,`
        @supports not (color: color(display-p3 1 1 1)) {
            code.framer-text,
            code.framer-text span.framer-text:not([data-text-fill]) {
                color: ${Aa([`--framer-blockquote-text-color`,`--framer-code-text-color`,`--framer-text-color`],`#000`)};
            }
        }
    `,`
        blockquote.framer-text {
            margin-block-start: initial;
            margin-block-end: initial;
            margin-inline-start: initial;
            margin-inline-end: initial;
            unicode-bidi: initial;
        }
    `,`
        a.framer-text,
        a.framer-text span.framer-text:not([data-text-fill]),
        span.framer-text[data-nested-link],
        span.framer-text[data-nested-link] span.framer-text:not([data-text-fill]) {
            /* Ensure the color is inherited from the link style rather than the parent text for nested spans */
            color: inherit;
            font-family: var(--framer-font-family-preview, var(--framer-blockquote-font-family, var(--framer-link-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif))));
            font-style: var(--framer-font-style-preview, var(--framer-blockquote-font-style, var(--framer-link-font-style, var(--framer-font-style, normal))));
            font-weight: var(--framer-font-weight-preview, var(--framer-blockquote-font-weight, var(--framer-link-font-weight, var(--framer-font-weight, 400))));
            font-size: calc(var(--framer-blockquote-font-size, var(--framer-font-size, 16px)) * var(--framer-font-size-scale, 1));
            text-transform: var(--framer-blockquote-text-transform, var(--framer-link-text-transform, var(--framer-text-transform, none)));
            /* Cursor inherit to overwrite the user agent stylesheet on rich text links. */
            cursor: var(--framer-custom-cursors, pointer);
            /* Don't inherit background styles from any parent text style. */
            background-color: initial;
            border-radius: var(--framer-link-text-background-radius, initial);
            corner-shape: var(--framer-link-text-background-corner-shape, initial);
            padding: var(--framer-link-text-background-padding, initial);
        }
    `,`
        a.framer-text,
        span.framer-text[data-nested-link] {
            color: var(--framer-blockquote-text-color, var(--framer-link-text-color, var(--framer-text-color, #000)));
            text-decoration-line: var(--framer-blockquote-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration, initial)));
            text-decoration-style: var(--framer-blockquote-text-decoration-style, var(--framer-link-text-decoration-style, var(--framer-text-decoration-style, initial)));
            text-decoration-color: var(--framer-blockquote-text-decoration-color, var(--framer-link-text-decoration-color, var(--framer-text-decoration-color, initial)));
            text-decoration-thickness: var(--framer-blockquote-text-decoration-thickness, var(--framer-link-text-decoration-thickness, var(--framer-text-decoration-thickness, initial)));
            text-decoration-skip-ink: var(--framer-blockquote-text-decoration-skip-ink, var(--framer-link-text-decoration-skip-ink, var(--framer-text-decoration-skip-ink, initial)));
            text-underline-offset: var(--framer-blockquote-text-decoration-offset, var(--framer-link-text-decoration-offset, var(--framer-text-decoration-offset, initial)));
            /* Don't inherit background styles from any parent text style. */
            background-color: var(--framer-link-text-background-color, initial);
        }
    `,`
        @supports not (color: color(display-p3 1 1 1)) {
            a.framer-text,
            span.framer-text[data-nested-link] {
                color: ${Aa([`--framer-blockquote-text-color`,`--framer-link-text-color`,`--framer-text-color`],`#000`)};
                background-color: ${Aa([`--framer-link-text-background-color`],`initial`)};
                text-decoration-color: ${Aa([`--framer-link-text-decoration-color`,`--framer-text-decoration-color`],`currentcolor`)};
            }
        }
    `,`
    code.framer-text a.framer-text,
    code.framer-text a.framer-text span.framer-text:not([data-text-fill]),
    code.framer-text span.framer-text[data-nested-link],
    code.framer-text span.framer-text[data-nested-link] span.framer-text:not([data-text-fill]) {
        font-family: var(--framer-code-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif));
        font-style: var(--framer-blockquote-font-style, var(--framer-code-font-style, var(--framer-font-style, normal)));
        font-weight: var(--framer-blockquote-font-weight, var(--framer-code-font-weight, var(--framer-font-weight, 400)));
        color: inherit;
        font-size: calc(var(--framer-blockquote-font-size, var(--framer-font-size, 16px)) * var(--framer-font-size-scale, 1));
    }
`,`
    code.framer-text a.framer-text,
    code.framer-text span.framer-text[data-nested-link] {
        color: var(--framer-blockquote-text-color, var(--framer-link-text-color, var(--framer-code-text-color, var(--framer-text-color, #000))));
    }
`,`
    @supports not (color: color(display-p3 1 1 1)) {
        code.framer-text a.framer-text,
        code.framer-text a.framer-text span.framer-text:not([data-text-fill]),
        code.framer-text span.framer-text[data-nested-link],
        code.framer-text span.framer-text[data-nested-link] span.framer-text:not([data-text-fill]) {
            color: ${Aa([`--framer-blockquote-text-color`,`--framer-link-text-color`,`--framer-code-text-color`,`--framer-text-color`],`#000`)};
        }
    }
`,`
        a.framer-text:hover,
        a.framer-text:hover span.framer-text:not([data-text-fill]),
        span.framer-text[data-nested-link]:hover,
        span.framer-text[data-nested-link]:hover span.framer-text:not([data-text-fill]) {
            font-family: var(--framer-font-family-preview, var(--framer-link-hover-font-family, var(--framer-blockquote-font-family, var(--framer-link-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif)))));
            font-style: var(--framer-font-style-preview, var(--framer-link-hover-font-style, var(--framer-blockquote-font-style, var(--framer-link-font-style, var(--framer-font-style, normal)))));
            font-weight: var(--framer-font-weight-preview, var(--framer-link-hover-font-weight, var(--framer-blockquote-font-weight, var(--framer-link-font-weight, var(--framer-font-weight, 400)))));
            font-size: calc(var(--framer-link-hover-font-size, var(--framer-blockquote-font-size, var(--framer-font-size, 16px))) * var(--framer-font-size-scale, 1));
            text-transform: var(--framer-link-hover-text-transform, var(--framer-blockquote-text-transform, var(--framer-link-text-transform, var(--framer-text-transform, none))));
            border-radius: var(--framer-link-hover-text-background-radius, var(--framer-link-text-background-radius, var(--framer-text-background-radius, initial)));
            corner-shape: var(--framer-link-hover-text-background-corner-shape, var(--framer-link-text-background-corner-shape, var(--framer-text-background-corner-shape, initial)));
            padding: var(--framer-link-hover-text-background-padding, var(--framer-link-text-background-padding, var(--framer-text-background-padding, initial)));
        }
    `,`
        a.framer-text:hover,
        span.framer-text[data-nested-link]:hover {
            color: var(--framer-link-hover-text-color, var(--framer-blockquote-text-color, var(--framer-link-text-color, var(--framer-text-color, #000))));
            text-decoration-line: var(--framer-link-hover-text-decoration, var(--framer-blockquote-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration, initial))));
            text-decoration-style: var(--framer-link-hover-text-decoration-style, var(--framer-blockquote-text-decoration-style, var(--framer-link-text-decoration-style, var(--framer-text-decoration-style, initial))));
            text-decoration-color: var(--framer-link-hover-text-decoration-color, var(--framer-blockquote-text-decoration-color, var(--framer-link-text-decoration-color, var(--framer-text-decoration-color, initial))));
            text-decoration-thickness: var(--framer-link-hover-text-decoration-thickness, var(--framer-blockquote-text-decoration-thickness, var(--framer-link-text-decoration-thickness, var(--framer-text-decoration-thickness, initial))));
            text-decoration-skip-ink: var(--framer-link-hover-text-decoration-skip-ink, var(--framer-blockquote-text-decoration-skip-ink, var(--framer-link-text-decoration-skip-ink, var(--framer-text-decoration-skip-ink, initial))));
            text-underline-offset: var(--framer-link-hover-text-decoration-offset, var(--framer-blockquote-text-decoration-offset, var(--framer-link-text-decoration-offset, var(--framer-text-decoration-offset, initial))));
            background-color: var(--framer-link-hover-text-background-color, var(--framer-link-text-background-color, var(--framer-text-background-color, initial)));
        }
    `,`
    @supports not (color: color(display-p3 1 1 1)) {
        a.framer-text:hover,
        span.framer-text[data-nested-link]:hover {
            color: ${Aa([`--framer-link-hover-text-color`,`--framer-blockquote-text-color`,`--framer-link-text-color`,`--framer-text-color`],`#000`)};
            background-color: ${Aa([`--framer-link-hover-text-background-color`,`--framer-link-text-background-color`,`--framer-text-background-color`],`initial`)};
            text-decoration-color: ${Aa([`--framer-link-hover-text-decoration-color`,`--framer-link-text-decoration-color`,`--framer-text-decoration-color`],`currentcolor`)};
        }
    }
    `,`
        code.framer-text a.framer-text:hover,
        code.framer-text span.framer-text[data-nested-link]:hover {
            color: var(--framer-link-hover-text-color, var(--framer-blockquote-text-color, var(--framer-link-text-color, var(--framer-code-text-color, var(--framer-text-color, #000)))));
        }
    `,`
    @supports not (color: color(display-p3 1 1 1)) {
        code.framer-text a.framer-text:hover,
        code.framer-text span.framer-text[data-nested-link]:hover {
            color: ${Aa([`--framer-link-hover-text-color`,`--framer-blockquote-text-color`,`--framer-link-text-color`,`--framer-code-text-color`,`--framer-text-color`],`#000`)};
        }
    }
   `,`
        a.framer-text[data-framer-page-link-current],
        a.framer-text[data-framer-page-link-current] span.framer-text:not([data-text-fill]),
        span.framer-text[data-framer-page-link-current],
        span.framer-text[data-framer-page-link-current] span.framer-text:not([data-text-fill]) {
            font-family: var(--framer-font-family-preview, var(--framer-link-current-font-family, var(--framer-link-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif))));
            font-style: var(--framer-font-style-preview, var(--framer-link-current-font-style, var(--framer-link-font-style, var(--framer-font-style, normal))));
            font-weight: var(--framer-font-weight-preview, var(--framer-link-current-font-weight, var(--framer-link-font-weight, var(--framer-font-weight, 400))));
            font-size: calc(var(--framer-link-current-font-size, var(--framer-link-font-size, var(--framer-font-size, 16px))) * var(--framer-font-size-scale, 1));
            text-transform: var(--framer-link-current-text-transform, var(--framer-link-text-transform, var(--framer-text-transform, none)));
            border-radius: var(--framer-link-current-text-background-radius, var(--framer-link-text-background-radius, initial));
            corner-shape: var(--framer-link-current-text-background-corner-shape, var(--framer-link-text-background-corner-shape, initial));
            padding: var(--framer-link-current-text-background-padding, var(--framer-link-text-background-padding, initial));
        }
    `,`
        a.framer-text[data-framer-page-link-current],
        span.framer-text[data-framer-page-link-current] {
            color: var(--framer-link-current-text-color, var(--framer-link-text-color, var(--framer-text-color, #000)));
            text-decoration-line: var(--framer-link-current-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration, initial)));
            text-decoration-style: var(--framer-link-current-text-decoration-style, var(--framer-link-text-decoration-style, var(--framer-text-decoration-style, initial)));
            text-decoration-color: var(--framer-link-current-text-decoration-color, var(--framer-link-text-decoration-color, var(--framer-text-decoration-color, initial)));
            text-decoration-thickness: var(--framer-link-current-text-decoration-thickness, var(--framer-link-text-decoration-thickness, var(--framer-text-decoration-thickness, initial)));
            text-decoration-skip-ink: var(--framer-link-current-text-decoration-skip-ink, var(--framer-link-text-decoration-skip-ink, var(--framer-text-decoration-skip-ink, initial)));
            text-underline-offset: var(--framer-link-current-text-decoration-offset, var(--framer-link-text-decoration-offset, var(--framer-text-decoration-offset, initial)));
            background-color: var(--framer-link-current-text-background-color, var(--framer-link-text-background-color, var(--framer-text-background-color, initial)));
        }
    `,`
        @supports not (color: color(display-p3 1 1 1)) {
            a.framer-text[data-framer-page-link-current],
            span.framer-text[data-framer-page-link-current]{
                color: ${Aa([`--framer-link-current-text-color`,`--framer-link-text-color`,`--framer-text-color`],`#000`)};
                background-color: ${Aa([`--framer-link-current-text-background-color`,`--framer-link-text-background-color`,`--framer-text-background-color`],`initial`)};
                text-decoration-color: ${Aa([`--framer-link-current-text-decoration-color`,`--framer-link-text-decoration-color`,`--framer-text-decoration-color`],`currentcolor`)};
            }
        }
    `,`
        code.framer-text a.framer-text[data-framer-page-link-current],
        code.framer-text a.framer-text[data-framer-page-link-current] span.framer-text:not([data-text-fill]),
        code.framer-text span.framer-text[data-framer-page-link-current],
        code.framer-text span.framer-text[data-framer-page-link-current] span.framer-text:not([data-text-fill]) {
            font-family: var(--framer-code-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif));
            font-style: var(--framer-code-font-style, var(--framer-font-style, normal));
            font-weight: var(--framer-code-font-weight, var(--framer-font-weight, 400));
            color: inherit;
            font-size: calc(var(--framer-link-current-font-size, var(--framer-link-font-size, var(--framer-font-size, 16px))) * var(--framer-font-size-scale, 1));
        }
    `,`
        code.framer-text a.framer-text[data-framer-page-link-current],
        code.framer-text span.framer-text[data-framer-page-link-current] {
            color: var(--framer-link-current-text-color, var(--framer-link-text-color, var(--framer-code-text-color, var(--framer-text-color, #000))));
        }
    `,`
        @supports not (color: color(display-p3 1 1 1)) {
            code.framer-text a.framer-text[data-framer-page-link-current],
            code.framer-text a.framer-text[data-framer-page-link-current] span.framer-text:not([data-text-fill]),
            code.framer-text span.framer-text[data-framer-page-link-current],
            code.framer-text span.framer-text[data-framer-page-link-current] span.framer-text:not([data-text-fill]) {
                color: ${Aa([`--framer-link-current-text-color`,`--framer-link-text-color`,`--framer-code-text-color`,`--framer-text-color`],`#000`)};
                background-color: ${Aa([`--framer-link-current-text-background-color`,`--framer-link-text-background-color`,`--framer-text-background-color`],`initial`)};
            }
        }
    `,`
        a.framer-text[data-framer-page-link-current]:hover,
        a.framer-text[data-framer-page-link-current]:hover span.framer-text:not([data-text-fill]),
        span.framer-text[data-framer-page-link-current]:hover,
        span.framer-text[data-framer-page-link-current]:hover span.framer-text:not([data-text-fill]) {
            color: inherit;
            font-family: var(--framer-font-family-preview, var(--framer-link-hover-font-family, var(--framer-link-current-font-family, var(--framer-link-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif)))));
            font-style: var(--framer-font-style-preview, var(--framer-link-hover-font-style, var(--framer-link-current-font-style, var(--framer-link-font-style, var(--framer-font-style, normal)))));
            font-weight: var(--framer-font-weight-preview, var(--framer-link-hover-font-weight, var(--framer-link-current-font-weight, var(--framer-link-font-weight, var(--framer-font-weight, 400)))));
            font-size: calc(var(--framer-link-hover-font-size, var(--framer-link-current-font-size, var(--framer-link-font-size, var(--framer-font-size, 16px)))) * var(--framer-font-size-scale, 1));
            text-transform: var(--framer-link-hover-text-transform, var(--framer-link-current-text-transform, var(--framer-link-text-transform, var(--framer-text-transform, none))));
            border-radius: var(--framer-link-hover-text-background-radius, var(--framer-link-current-text-background-radius, var(--framer-link-text-background-radius, initial)));
            corner-shape: var(--framer-link-hover-text-background-corner-shape, var(--framer-link-current-text-background-corner-shape, var(--framer-link-text-background-corner-shape, initial)));
            padding: var(--framer-link-hover-text-background-padding, var(--framer-link-current-text-background-padding, var(--framer-link-text-background-padding, initial)));
        }
    `,`
        a.framer-text[data-framer-page-link-current]:hover,
        span.framer-text[data-framer-page-link-current]:hover {
            color: var(--framer-link-hover-text-color, var(--framer-link-current-text-color, var(--framer-link-text-color, var(--framer-text-color, #000))));
            text-decoration-line: var(--framer-link-hover-text-decoration, var(--framer-link-current-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration, initial))));
            text-decoration-style: var(--framer-link-hover-text-decoration-style, var(--framer-link-current-text-decoration-style, var(--framer-link-text-decoration-style, var(--framer-text-decoration-style, initial))));
            text-decoration-color: var(--framer-link-hover-text-decoration-color, var(--framer-link-current-text-decoration-color, var(--framer-link-text-decoration-color, var(--framer-text-decoration-color, initial))));
            text-decoration-thickness: var(--framer-link-hover-text-decoration-thickness, var(--framer-link-current-text-decoration-thickness, var(--framer-link-text-decoration-thickness, var(--framer-text-decoration-thickness, initial))));
            text-decoration-skip-ink: var(--framer-link-hover-text-decoration-skip-ink, var(--framer-link-current-text-decoration-skip-ink, var(--framer-link-text-decoration-skip-ink, var(--framer-text-decoration-skip-ink, initial))));
            text-underline-offset: var(--framer-link-hover-text-decoration-offset, var(--framer-link-current-text-decoration-offset, var(--framer-link-text-decoration-offset, var(--framer-text-decoration-offset, initial))));
            background-color: var(--framer-link-hover-text-background-color, var(--framer-link-current-text-background-color, var(--framer-link-text-background-color, initial)));
        }
    `,`
        @supports not (color: color(display-p3 1 1 1)) {
            a.framer-text[data-framer-page-link-current]:hover,
            span.framer-text[data-framer-page-link-current]:hover {
                color: ${Aa([`--framer-link-hover-text-color`,`--framer-link-current-text-color`,`--framer-link-text-color`,`--framer-code-text-color`,`--framer-text-color`],`#000`)};
                background-color: ${Aa([`--framer-link-hover-text-background-color`,`--framer-link-current-text-background-color`,`--framer-link-text-background-color`],`initial`)};
                text-decoration-color: ${Aa([`--framer-link-hover-text-decoration-color`,`--framer-link-current-text-decoration-color`,`--framer-link-text-decoration-color`,`--framer-text-decoration-color`],`currentcolor`)};
            }
        }
    `,`
        code.framer-text a.framer-text[data-framer-page-link-current]:hover,
        code.framer-text span.framer-text[data-framer-page-link-current]:hover {
            color: var(--framer-link-hover-text-color, var(--framer-link-current-text-color, var(--framer-link-text-color, var(--framer-code-text-color, var(--framer-text-color, #000)))));
        }
    `,`
        @supports not (color: color(display-p3 1 1 1)) {
            code.framer-text a.framer-text[data-framer-page-link-current]:hover,
            code.framer-text a.framer-text[data-framer-page-link-current]:hover span.framer-text:not([data-text-fill]),
            code.framer-text span.framer-text[data-framer-page-link-current]:hover,
            code.framer-text span.framer-text[data-framer-page-link-current]:hover span.framer-text:not([data-text-fill]) {
                color: ${Aa([`--framer-link-hover-text-color`,`--framer-link-current-text-color`,`--framer-link-text-color`,`--framer-code-text-color`,`--framer-text-color`],`#000`)};
                background-color: ${Aa([`--framer-link-hover-text-background-color`,`--framer-link-current-text-background-color`,`--framer-link-text-background-color`],`initial`)};
            }
        }
    `,`
        .framer-image.framer-text {
            display: ${Oy.display};
            max-width: 100%;
            height: auto;
        }
    `,`
        .text-styles-preset-reset.framer-text {
            --framer-font-family: Inter, Inter Placeholder, sans-serif;
            --framer-font-style: normal;
            --framer-font-weight: 500;
            --framer-text-color: #000;
            --framer-font-size: 16px;
            --framer-letter-spacing: 0;
            --framer-text-transform: none;
            --framer-text-decoration: none;
            --framer-text-decoration-style: none;
            --framer-text-decoration-color: none;
            --framer-text-decoration-thickness: none;
            --framer-text-decoration-skip-ink: none;
            --framer-text-decoration-offset: none;
            --framer-line-height: 1.2em;
            --framer-text-alignment: start;
            --framer-font-open-type-features: normal;
            --framer-text-background-color: initial;
            --framer-text-background-radius: initial;
            --framer-text-background-corner-shape: initial;
            --framer-text-background-padding: initial;
        }
    `,`
        ol.framer-text {
            --list-style-type: decimal;
        }
    `,`
        ul.framer-text,
        ol.framer-text {
            padding-inline-start: 0;
            position: relative;
        }
    `,`
        li.framer-text {
            counter-increment: list-item;
            list-style: none;
            padding-inline-start: 2ch;
        }
    `,`
        ol.framer-text > li.framer-text::before {
            position: absolute;
            inset-inline-start: 0;
            content: counter(list-item, var(--list-style-type)) ".";
            font-variant-numeric: tabular-nums;
        }
    `,`
        ol.framer-text > li.framer-text:nth-last-child(n + 10),
        ol.framer-text > li.framer-text:nth-last-child(n + 10) ~ li {
            padding-inline-start: 3ch;
        }
    `,`
        ol.framer-text > li.framer-text:nth-last-child(n + 100),
        ol.framer-text > li.framer-text:nth-last-child(n + 100) ~ li {
            padding-inline-start: 4ch;
        }
    `,`
        ol.framer-text > li.framer-text:nth-last-child(n + 1000),
        ol.framer-text > li.framer-text:nth-last-child(n + 1000) ~ li {
            padding-inline-start: 5ch;
        }
    `,`
        ol.framer-text > li.framer-text:nth-last-child(n + 10000),
        ol.framer-text > li.framer-text:nth-last-child(n + 10000) ~ li {
            padding-inline-start: 6ch;
        }
    `,`
        ol.framer-text > li.framer-text:nth-last-child(n + 100000),
        ol.framer-text > li.framer-text:nth-last-child(n + 100000) ~ li {
            padding-inline-start: 7ch;
        }
    `,`
        ol.framer-text > li.framer-text:nth-last-child(n + 1000000),
        ol.framer-text > li.framer-text:nth-last-child(n + 1000000) ~ li {
            padding-inline-start: 8ch;
        }
    `,`
        ul.framer-text > li.framer-text::before {
            position: absolute;
            inset-inline-start: 0;
            content: "•";
        }
    `,`
        .framer-table-wrapper {
            overflow-x: auto;
        }
    `,`
        table.framer-text,
        .framer-table-wrapper table.framer-text {
            border-collapse: separate;
            border-spacing: 0;
            table-layout: auto;
            word-break: normal;
            width: 100%;
        }
    `,`
        td.framer-text,
        th.framer-text {
            min-width: 16ch;
            vertical-align: top;
        }
    `,`
        .framer-text-module[data-width="fill"] > :first-child,
        .framer-text-module:not([data-width="fit"])[style*="aspect-ratio"] > :first-child {
            width: 100%;
        }
    `,`
        @supports not (aspect-ratio: 1) {
            .framer-text-module:not([data-width="fit"])[style*="aspect-ratio"] {
                position: relative;
            }
        }
    `,`
        @supports not (aspect-ratio: 1) {
            .framer-text-module:not([data-width="fit"])[style*="aspect-ratio"]::before {
                content: "";
                display: block;
                padding-bottom: calc(100% / calc(var(--aspect-ratio)));
            }
        }
    `,`
        @supports not (aspect-ratio: 1) {
            .framer-text-module[data-width="fill"] > :first-child,
            .framer-text-module:not([data-width="fit"])[style*="aspect-ratio"] > :first-child {
                position: absolute;
                top: 0;
                left: 0;
                height: 100%;
            }
        }
    `])(),Ay=`--text-truncation-display-inline-for-safari-16`,jy=`--text-truncation-display-none-for-safari-16`,My=`--text-truncation-line-break-for-safari-16`,Ny=[`div.framer-text`,`p.framer-text`,`h1.framer-text`,`h2.framer-text`,`h3.framer-text`,`h4.framer-text`,`h5.framer-text`,`h6.framer-text`,`ol.framer-text`,`ul.framer-text`,`li.framer-text`,`blockquote.framer-text`,`.framer-text.framer-image`],Py=`(background: -webkit-named-image(i))`,Fy=`(contain-intrinsic-size: inherit)`,Iy=(()=>[`@supports ${Py} and (not ${Fy}) {
        /* Render block-like elements inline when text is truncated, otherwise default to user agent (revert)  */
        ${Ny.join(`, `)} { display: var(${Ay}, revert) }

        /* Add a line break after each block-like element that we render inline, to resemble the block-like behavior */
        ${Ny.map(e=>`${e}::after`).join(`, `)} { content: var(${My}); white-space: pre; }

        /* Don't render modules (e.g. videos, code-blocks), or tables when text is truncated, because often these can't be truncated and their children might be block elements */
        .framer-text.framer-text-module,
        .framer-text.framer-table-wrapper { display: var(${jy}, revert) }

        /* Render text-fill elements inline when text is truncated, otherwise default to their default value (e.g. inline-block) */
        p.framer-text[data-text-fill] { display: var(${Ay}, ${Dy.display}) }
    }`])(),Ly=[`[data-framer-component-type] { position: absolute; }`],Ry=[`[data-framer-component-type="Text"] { cursor: inherit; }`,`[data-framer-component-text-autosized] * { white-space: pre; }`,`
[data-framer-component-type="Text"] > * {
    text-align: var(--framer-text-alignment, start);
}`,`
[data-framer-component-type="Text"] span span,
[data-framer-component-type="Text"] p span,
[data-framer-component-type="Text"] h1 span,
[data-framer-component-type="Text"] h2 span,
[data-framer-component-type="Text"] h3 span,
[data-framer-component-type="Text"] h4 span,
[data-framer-component-type="Text"] h5 span,
[data-framer-component-type="Text"] h6 span {
    display: block;
}`,`
[data-framer-component-type="Text"] span span span,
[data-framer-component-type="Text"] p span span,
[data-framer-component-type="Text"] h1 span span,
[data-framer-component-type="Text"] h2 span span,
[data-framer-component-type="Text"] h3 span span,
[data-framer-component-type="Text"] h4 span span,
[data-framer-component-type="Text"] h5 span span,
[data-framer-component-type="Text"] h6 span span {
    display: unset;
}`,`
[data-framer-component-type="Text"] div div span,
[data-framer-component-type="Text"] a div span,
[data-framer-component-type="Text"] span span span,
[data-framer-component-type="Text"] p span span,
[data-framer-component-type="Text"] h1 span span,
[data-framer-component-type="Text"] h2 span span,
[data-framer-component-type="Text"] h3 span span,
[data-framer-component-type="Text"] h4 span span,
[data-framer-component-type="Text"] h5 span span,
[data-framer-component-type="Text"] h6 span span,
[data-framer-component-type="Text"] a {
    font-family: var(--font-family);
    font-style: var(--font-style);
    font-weight: min(calc(var(--framer-font-weight-increase, 0) + var(--font-weight, 400)), 900);
    color: var(--text-color);
    letter-spacing: var(--letter-spacing);
    font-size: var(--font-size);
    text-transform: var(--text-transform);
    --text-decoration: var(--framer-text-decoration-style, solid) var(--framer-text-decoration, none) var(--framer-text-decoration-color, currentcolor) var(--framer-text-decoration-thickness, auto);
    --text-decoration-skip-ink: var(--framer-text-decoration-skip-ink);
    --text-underline-offset: var(--framer-text-decoration-offset);
    line-height: var(--line-height);
}`,`
[data-framer-component-type="Text"] div div span,
[data-framer-component-type="Text"] a div span,
[data-framer-component-type="Text"] span span span,
[data-framer-component-type="Text"] p span span,
[data-framer-component-type="Text"] h1 span span,
[data-framer-component-type="Text"] h2 span span,
[data-framer-component-type="Text"] h3 span span,
[data-framer-component-type="Text"] h4 span span,
[data-framer-component-type="Text"] h5 span span,
[data-framer-component-type="Text"] h6 span span,
[data-framer-component-type="Text"] a {
    --font-family: var(--framer-font-family);
    --font-style: var(--framer-font-style);
    --font-weight: var(--framer-font-weight);
    --text-color: var(--framer-text-color);
    --letter-spacing: var(--framer-letter-spacing);
    --font-size: var(--framer-font-size);
    --text-transform: var(--framer-text-transform);
    --text-decoration: var(--framer-text-decoration-style, solid) var(--framer-text-decoration, none) var(--framer-text-decoration-color, currentcolor) var(--framer-text-decoration-thickness, auto);
    --text-decoration-skip-ink: var(--framer-text-decoration-skip-ink);
    --text-underline-offset: var(--framer-text-decoration-offset);
    --line-height: var(--framer-line-height);
}`,`
[data-framer-component-type="Text"] a,
[data-framer-component-type="Text"] a div span,
[data-framer-component-type="Text"] a span span span,
[data-framer-component-type="Text"] a p span span,
[data-framer-component-type="Text"] a h1 span span,
[data-framer-component-type="Text"] a h2 span span,
[data-framer-component-type="Text"] a h3 span span,
[data-framer-component-type="Text"] a h4 span span,
[data-framer-component-type="Text"] a h5 span span,
[data-framer-component-type="Text"] a h6 span span {
    --font-family: var(--framer-link-font-family, var(--framer-font-family));
    --font-style: var(--framer-link-font-style, var(--framer-font-style));
    --font-weight: var(--framer-link-font-weight, var(--framer-font-weight));
    --text-color: var(--framer-link-text-color, var(--framer-text-color));
    --font-size: var(--framer-link-font-size, var(--framer-font-size));
    --text-transform: var(--framer-link-text-transform, var(--framer-text-transform));
    --text-decoration: var(--framer-link-text-decoration-style, var(--framer-text-decoration-style, solid)) var(--framer-link-text-decoration, var(--framer-text-decoration, none)) var(--framer-link-text-decoration-color, var(--framer-text-decoration-color, currentcolor)) var(--framer-link-text-decoration-thickness, var(--framer-text-decoration-thickness, auto));
    --text-decoration-skip-ink: var(--framer-link-text-decoration-skip-ink, var(--framer-text-decoration-skip-ink));
    --text-underline-offset: var(--framer-link-text-decoration-offset, var(--framer-text-decoration-offset));
}`,`
[data-framer-component-type="Text"] a:hover,
[data-framer-component-type="Text"] a div span:hover,
[data-framer-component-type="Text"] a span span span:hover,
[data-framer-component-type="Text"] a p span span:hover,
[data-framer-component-type="Text"] a h1 span span:hover,
[data-framer-component-type="Text"] a h2 span span:hover,
[data-framer-component-type="Text"] a h3 span span:hover,
[data-framer-component-type="Text"] a h4 span span:hover,
[data-framer-component-type="Text"] a h5 span span:hover,
[data-framer-component-type="Text"] a h6 span span:hover {
    --font-family: var(--framer-link-hover-font-family, var(--framer-link-font-family, var(--framer-font-family)));
    --font-style: var(--framer-link-hover-font-style, var(--framer-link-font-style, var(--framer-font-style)));
    --font-weight: var(--framer-link-hover-font-weight, var(--framer-link-font-weight, var(--framer-font-weight)));
    --text-color: var(--framer-link-hover-text-color, var(--framer-link-text-color, var(--framer-text-color)));
    --font-size: var(--framer-link-hover-font-size, var(--framer-link-font-size, var(--framer-font-size)));
    --text-transform: var(--framer-link-hover-text-transform, var(--framer-link-text-transform, var(--framer-text-transform)));
    --text-decoration: var(--framer-link-hover-text-decoration-style, var(--framer-link-text-decoration-style, var(--framer-text-decoration-style, solid))) var(--framer-link-hover-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration, none))) var(--framer-link-hover-text-decoration-color, var(--framer-link-text-decoration-color, var(--framer-text-decoration-color, currentcolor))) var(--framer-link-hover-text-decoration-thickness, var(--framer-link-text-decoration-thickness, var(--framer-text-decoration-thickness, auto)));
    --text-decoration-skip-ink: var(--framer-link-hover-text-decoration-skip-ink, var(--framer-link-text-decoration-skip-ink, var(--framer-text-decoration-skip-ink)));
    --text-underline-offset: var(--framer-link-hover-text-decoration-offset, var(--framer-link-text-decoration-offset, var(--framer-text-decoration-offset)));
}`,`
[data-framer-component-type="Text"].isCurrent a,
[data-framer-component-type="Text"].isCurrent a div span,
[data-framer-component-type="Text"].isCurrent a span span span,
[data-framer-component-type="Text"].isCurrent a p span span,
[data-framer-component-type="Text"].isCurrent a h1 span span,
[data-framer-component-type="Text"].isCurrent a h2 span span,
[data-framer-component-type="Text"].isCurrent a h3 span span,
[data-framer-component-type="Text"].isCurrent a h4 span span,
[data-framer-component-type="Text"].isCurrent a h5 span span,
[data-framer-component-type="Text"].isCurrent a h6 span span {
    --font-family: var(--framer-link-current-font-family, var(--framer-link-font-family, var(--framer-font-family)));
    --font-style: var(--framer-link-current-font-style, var(--framer-link-font-style, var(--framer-font-style)));
    --font-weight: var(--framer-link-current-font-weight, var(--framer-link-font-weight, var(--framer-font-weight)));
    --text-color: var(--framer-link-current-text-color, var(--framer-link-text-color, var(--framer-text-color)));
    --font-size: var(--framer-link-current-font-size, var(--framer-link-font-size, var(--framer-font-size)));
    --text-transform: var(--framer-link-current-text-transform, var(--framer-link-text-transform, var(--framer-text-transform)));
    --text-decoration: var(--framer-link-current-text-decoration-style, var(--framer-link-text-decoration-style, var(--framer-text-decoration-style, solid))) var(--framer-link-current-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration, none))) var(--framer-link-current-text-decoration-color, var(--framer-link-text-decoration-color, var(--framer-text-decoration-color, currentcolor))) var(--framer-link-current-text-decoration-thickness, var(--framer-link-text-decoration-thickness, var(--framer-text-decoration-thickness, auto)));
    --text-decoration-skip-ink: var(--framer-link-current-text-decoration-skip-ink, var(--framer-link-text-decoration-skip-ink, var(--framer-text-decoration-skip-ink)));
    --text-underline-offset: var(--framer-link-current-text-decoration-offset, var(--framer-link-text-decoration-offset, var(--framer-text-decoration-offset)));
}`],zy=`
:not([data-framer-generated]) > [data-framer-stack-content-wrapper] > *,
:not([data-framer-generated]) > [data-framer-stack-content-wrapper] > [data-framer-component-type],
:not([data-framer-generated]) > [data-framer-stack-content-wrapper] > [data-framer-legacy-stack-gap-enabled] > *,
:not([data-framer-generated]) > [data-framer-stack-content-wrapper] > [data-framer-legacy-stack-gap-enabled] > [data-framer-component-type] {
    position: relative;
}`,By=(()=>[`[data-framer-stack-content-wrapper][data-framer-stack-gap-enabled="true"] {
        row-gap: var(--stack-native-row-gap);
        column-gap: var(--stack-native-column-gap);
    }`,`.${ly} [data-framer-stack-content-wrapper][data-framer-stack-gap-enabled="true"] {
        row-gap: unset;
        column-gap: unset;
    }`])(),Vy=(()=>`
.${ly} [data-framer-legacy-stack-gap-enabled="true"] > *, [data-framer-legacy-stack-gap-enabled="true"][data-framer-stack-flexbox-gap="false"] {
    margin-top: calc(var(--stack-gap-y) / 2);
    margin-bottom: calc(var(--stack-gap-y) / 2);
    margin-right: calc(var(--stack-gap-x) / 2);
    margin-left: calc(var(--stack-gap-x) / 2);
}
`)(),Hy=(()=>`
.${ly}
[data-framer-stack-direction-reverse="false"]
[data-framer-legacy-stack-gap-enabled="true"]
> *:first-child,
[data-framer-stack-direction-reverse="false"]
[data-framer-legacy-stack-gap-enabled="true"][data-framer-stack-flexbox-gap="false"]
> *:first-child,
.${ly}
[data-framer-stack-direction-reverse="true"]
[data-framer-legacy-stack-gap-enabled="true"]
> *:last-child,
[data-framer-stack-direction-reverse="true"]
[data-framer-legacy-stack-gap-enabled="true"][data-framer-stack-flexbox-gap="false"]
> *:last-child {
    margin-top: 0;
    margin-left: 0;
}`)(),Uy=(()=>`
.${ly}
[data-framer-stack-direction-reverse="false"]
[data-framer-legacy-stack-gap-enabled="true"]
> *:last-child,
[data-framer-stack-direction-reverse="false"]
[data-framer-legacy-stack-gap-enabled="true"][data-framer-stack-flexbox-gap="false"]
> *:last-child,
.${ly}
[data-framer-stack-direction-reverse="true"]
[data-framer-legacy-stack-gap-enabled="true"]
> *:first-child,
[data-framer-stack-direction-reverse="true"]
[data-framer-legacy-stack-gap-enabled="true"][data-framer-stack-flexbox-gap="false"]
> *:first-child {
    margin-right: 0;
    margin-bottom: 0;
}`)(),Wy=(()=>[zy,Vy,...By,Hy,Uy])(),Gy=[`
NavigationContainer
[data-framer-component-type="NavigationContainer"] > *,
[data-framer-component-type="NavigationContainer"] > [data-framer-component-type] {
    position: relative;
}`],Ky=[`[data-framer-component-type="Scroll"]::-webkit-scrollbar { display: none; }`,`[data-framer-component-type="ScrollContentWrapper"] > * { position: relative; }`],qy=[`[data-framer-component-type="NativeScroll"] { -webkit-overflow-scrolling: touch; }`,`[data-framer-component-type="NativeScroll"] > * { position: relative; }`,`[data-framer-component-type="NativeScroll"].direction-both { overflow-x: auto; overflow-y: auto; }`,`[data-framer-component-type="NativeScroll"].direction-vertical { overflow-x: hidden; overflow-y: auto; }`,`[data-framer-component-type="NativeScroll"].direction-horizontal { overflow-x: auto; overflow-y: hidden; }`,`[data-framer-component-type="NativeScroll"].direction-vertical > * { width: 100% !important; }`,`[data-framer-component-type="NativeScroll"].direction-horizontal > * { height: 100% !important; }`,`[data-framer-component-type="NativeScroll"].scrollbar-hidden::-webkit-scrollbar { display: none; }`],Jy=[`[data-framer-component-type="DeviceComponent"].no-device > * { width: 100% !important; height: 100% !important; }`],Yy=[`[data-framer-component-type="PageContentWrapper"] > *, [data-framer-component-type="PageContentWrapper"] > [data-framer-component-type] { position: relative; }`],Xy=[`[data-is-present="false"], [data-is-present="false"] * { pointer-events: none !important; }`],Zy=[`.framer-lightbox-container { opacity: 1 !important; pointer-events: auto !important; }`],Qy=[`[data-framer-cursor="pointer"] { cursor: pointer; }`,`[data-framer-cursor="grab"] { cursor: grab; }`,`[data-framer-cursor="grab"]:active { cursor: grabbing; }`],$y=[`[data-framer-component-type="Frame"] *, [data-framer-component-type="Stack"] * { pointer-events: auto; }`,`[data-framer-generated] * { pointer-events: unset }`],eb=[`[data-reset="button"] {
        border-width: 0;
        padding: 0;
        background: none;
}`],tb=[`[data-hide-scrollbars="true"]::-webkit-scrollbar { width: 0px; height: 0px; }`,`[data-hide-scrollbars="true"]::-webkit-scrollbar-thumb { background: transparent; }`,`[data-hide-scrollbars="true"] { scrollbar-width: none; }`],nb=`--framer-will-change-override`,rb=`--framer-will-change-effect-override`,ib=`--framer-will-change-filter-override`,ab=`(background: -webkit-named-image(i))`,ob=`(grid-template-rows: subgrid)`,sb=`(position-area: top right)`,cb=e=>e?[`body { ${nb}: none; }`,`@supports ${ab} and (not ${ob}) { body { ${nb}: transform; } }`]:[`body { ${nb}: none; ${rb}: none; }`],lb=e=>e?[`body { ${ib}: none; }`,`@supports ${ab} and (not ${sb}) { body { ${ib}: filter; } }`]:[`body { ${ib}: none; }`],ub=e=>e?$y:[],db=[`.svgContainer svg { display: block; }`],fb=`--overflow-clip-fallback`,pb=(()=>[`@supports (not (overflow: clip)) {
        :root { ${fb}: hidden; }
    }`])(),mb=`--one-if-corner-shape-supported`,hb=(()=>[`@supports (corner-shape: superellipse(2)) { :root { ${mb}: 1 } }`])(),gb=e=>[...cb(e),...lb(e),...Ly,...Ry,...ky,...dy,...Wy,...Gy,...Ky,...qy,...Yy,...Jy,...Xy,...Qy,...ub(e),...db,...eb,...tb,...pb,...Zy,...Iy,...hb],_b=gb(!1),vb=gb(!0),yb=`optional`,bb=e=>e,xb=/^(?:children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|[dkrxyz]|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y1|y2|yChannelSelector|zoomAndPan|for|class|autofocus|(?:[Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*)$/u,Sb=Ua(e=>xb.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91),Cb=e=>()=>{Br(e)},wb=()=>()=>{},Tb={imagePlaceholderSvg:`<svg xmlns="http://www.w3.org/2000/svg" width="126" height="126"><path id="a" d="M126 0v21.584L21.584 126H0v-17.585L108.415 0H126Zm0 108.414V126h-17.586L126 108.414Zm0-84v39.171L63.585 126H24.414L126 24.414Zm0 42v39.17L105.584 126h-39.17L126 66.414ZM105.586 0 0 105.586V66.415L66.415 0h39.171Zm-42 0L0 63.586V24.415L24.415 0h39.171Zm-42 0L0 21.586V0h21.586Z" fill="rgb(136, 136, 136, 0.2)" fill-rule="evenodd"/></svg>`,useImageSource(e){return e.src??``},useImageElement(e,t,n){let r=Db.useImageSource(e,t,n);return d(()=>{let t=new Image;return t.src=r,e.srcSet&&(t.srcset=e.srcSet),t},[r,e.srcSet])},canRenderOptimizedCanvasImage(){return!1},isOnPageCanvas:!1},Eb=!1,Db=new Proxy(Tb,{get(e,t,n){return Reflect.has(e,t)?Reflect.get(e,t,n):[`getLogger`].includes(String(t))?wb():Cb(Eb?`${String(t)} is not available in this version of Framer.`:`${String(t)} is only available inside of Framer. https://www.framer.com/`)}}),Ob={borderRadius:`inherit`,cornerShape:`inherit`},kb=[1,2,2.2],Ab=[512,1024,2048,4096],jb=512,Mb=(()=>({position:`absolute`,...Ob,top:0,right:0,bottom:0,left:0}))(),Nb=`src`,Pb={isImageObject:function(e){return!e||typeof e==`string`?!1:typeof e==`object`&&Nb in e}},Fb=ma(),Ib=typeof document<`u`?te:s,Lb=n.createContext(!1),Rb=class{constructor(){L(this,`sharedResizeObserver`),L(this,`callbacks`,new WeakMap),this.sharedResizeObserver=new ResizeObserver(this.updateResizedElements.bind(this))}updateResizedElements(e){for(let t of e){let e=this.callbacks.get(t.target);e&&e(t.contentRect)}}observeElementWithCallback(e,t){this.sharedResizeObserver.observe(e),this.callbacks.set(e,t)}unobserve(e){this.sharedResizeObserver.unobserve(e),this.callbacks.delete(e)}},zb=(()=>_a()?new Rb:void 0)(),Bb=`data-framer-size-compatibility-wrapper`,Vb=`0.000001px`,Hb=(()=>` translateZ(${Vb})`)(),Ub=(()=>va()||ha()||ya())(),Wb=(()=>{class e extends k{constructor(){super(...arguments),L(this,`layerElement`,null),L(this,`setLayerElement`,e=>{this.layerElement=e})}static applyWillChange(e,t,n){e.willChangeTransform&&(n?wo(t):To(t))}shouldComponentUpdate(e,t){return e._needsMeasure||this.state!==t||!Et(this.props,e)}componentDidUpdate(e){bb(this.props).clip&&bb(this.props).radius===0&&bb(e).radius!==0&&Do(this.layerElement,`overflow`,`hidden`,!1)}}return L(e,`defaultProps`,{}),e})(),Gb=e=>{let t=0,n,r;if(e.length===0)return t;for(n=0;n<e.length;n++)r=e.charCodeAt(n),t=(t<<5)-t+r,t|=0;return t},Kb={hueRotate:(e,t)=>q.toHslString(q.hueRotate(q(e),t)),setAlpha:(e,t)=>q.toRgbString(q.alpha(q(e),t)),getAlpha:e=>{let t=fi(e);return t?t.a:1},multiplyAlpha:(e,t)=>q.toRgbString(q.multiplyAlpha(q(e),t)),toHexValue:e=>q.toHex(q(e)).toUpperCase(),toHex:e=>q.toHexString(q(e)).toUpperCase(),toRgb:e=>q.toRgb(q(e)),toRgbString:e=>q.toRgbString(q(e)),toHSV:e=>q.toHsv(q(e)),toHSL:e=>q.toHsl(q(e)),toHslString:e=>q.toHslString(q(e)),toHsvString:e=>q.toHsvString(q(e)),hsvToHSLString:e=>q.toHslString(q(ei(e.h,e.s,e.v,e.a))),hsvToHexValue:e=>q.toHex(q(ei(e.h,e.s,e.v,e.a))).toUpperCase(),hsvToHex:e=>q.toHexString(q(ei(e.h,e.s,e.v,e.a))).toUpperCase(),hsvToRgbString:e=>q.toRgbString(q(ei(e.h,e.s,e.v,e.a))),hsvToString:e=>ei(e.h,e.s,e.v),rgbaToString:e=>q.toRgbString(q(e)),rgbToHexValue:e=>q.toHex(q(e)),rgbToHexString:e=>q.toHexString(q(e)),hslToString:e=>q.toHslString(q(e)),hslToRgbString:e=>q.toRgbString(q(e)),toColorPickerSquare:e=>q.toRgbString(q({h:e,s:1,l:.5,a:1})),isValid:e=>q(e).isValid!==!1,equals:(e,t)=>q.isP3String(e)||q.isP3String(t)?e===t:(typeof e==`string`&&(e=q(e)),typeof t==`string`&&(t=q(t)),q.equal(e,t)),toHexOrRgbaString:e=>{let t=q(e);return t.a===1?q.toHexString(t):q.toRgbString(t)},toFormatString:e=>q.isP3String(e)?e:q.toRgbString(q(e))},qb=/var\(.+\)/u,Jb=new Map,Yb=[`stops`],Xb=[`start`,`end`],Zb=[`angle`,`alpha`],Qb={isLinearGradient:e=>B(e)&&Zb.every(t=>t in e)&&(Fo(e)||Po(e)),hash:e=>e.angle^No(e,e.alpha),toCSS:(e,t,n)=>{let r=Mo(e,e.alpha),i=t===void 0?e.angle:t;return`linear-gradient(${Math.round(i)}deg, ${r.map(e=>`${n?.(e.value)??e.value} ${e.position*100}%`).join(`, `)})`}},$b=[`widthFactor`,`heightFactor`,`centerAnchorX`,`centerAnchorY`,`alpha`],ex={isRadialGradient:e=>B(e)&&$b.every(t=>t in e)&&(Fo(e)||Po(e)),hash:e=>e.centerAnchorX^e.centerAnchorY^e.widthFactor^e.heightFactor^No(e,e.alpha),toCSS:(e,t)=>{let{alpha:n,widthFactor:r,heightFactor:i,centerAnchorX:a,centerAnchorY:o}=e,s=Mo(e,n),c=s.map((e,n)=>{let r=s[n+1],i=e.position===1&&r?.position===1?e.position-1e-4:e.position;return`${t?.(e.value)??e.value} ${i*100}%`});return`radial-gradient(${r*100}% ${i*100}% at ${a*100}% ${o*100}%, ${c.join(`, `)})`}},tx=[`onClick`,`onDoubleClick`,`onMouse`,`onMouseDown`,`onMouseUp`,`onTapDown`,`onTap`,`onTapUp`,`onPointer`,`onPointerDown`,`onPointerUp`,`onTouch`,`onTouchDown`,`onTouchUp`],nx=(()=>new Set([...tx,...tx.map(e=>`${e}Capture`)]))(),rx=`overflow`,ix={x:0,y:0,width:200,height:200},ax=new Set([`width`,`height`,`opacity`,`overflow`,`radius`,`background`,`color`,`x`,`y`,`z`,`rotate`,`rotateX`,`rotateY`,`rotateZ`,`scale`,`scaleX`,`scaleY`,`skew`,`skewX`,`skewY`,`originX`,`originY`,`originZ`]),ox=j(function(e,t){let{name:n,center:r,border:i,_border:a,__portal:o}=e,{props:s,children:c}=mo(e),l=Ko(s),d=go(e),f=Vo(e),p=E(null),m=t??p,h={"data-framer-component-type":e.componentType??`Frame`,"data-framer-cursor":f,"data-framer-highlight":f===`pointer`?!0:void 0,"data-layoutid":d,"data-framer-offset-parent-id":bb(e)[`data-framer-offset-parent-id`]};!qo(e)&&n&&(bb(h)[`data-framer-name`]=n);let[g,_]=Go(s),v=Wo(s),y=ca(v);r&&!(_&&!y&&Xi(v))?(l.transformTemplate||=ho(r),Object.assign(h,fo(r))):l.transformTemplate||=void 0,So(e,m);let b=so(e),S=Jo(s,v,_,u(Lb)),C=oa(x(D,{children:[b?A(ro,{alt:e.alt??``,image:b,containerSize:_??void 0,nodeId:e.id&&po(e.id),layoutId:d}):null,c,A(ao,{...a,border:i,layoutId:d})]}),S),w=lo(e.as),T=co(b);return e.fitImageDimension&&T&&(g[e.fitImageDimension]=`auto`,g.aspectRatio=T.width/T.height),x(w,{...h,...l,layoutId:d,style:g,ref:m,children:[C,o]})}),sx=Ma(j(function(e,t){let{visible:n=!0}=e;return n?A(ox,{...e,ref:t}):null})),cx=`__LAYOUT_TREE_ROOT`,lx=n.createContext({schedulePromoteTree:()=>{},scheduleProjectionDidUpdate:()=>{},initLead:()=>{}}),ux=class extends k{constructor(){super(...arguments),L(this,`shouldAnimate`,!1),L(this,`transition`),L(this,`lead`),L(this,`follow`),L(this,`scheduledPromotion`,!1),L(this,`scheduledDidUpdate`,!1),L(this,`scheduleProjectionDidUpdate`,()=>{this.scheduledDidUpdate=!0}),L(this,`schedulePromoteTree`,(e,t,n)=>{this.follow=this.lead,this.shouldAnimate=n,this.lead=e,this.transition=t,this.scheduledPromotion=!0}),L(this,`initLead`,(e,t)=>{this.follow=this.lead,this.lead=e,this.follow&&t&&(this.follow.layoutMaybeMutated=!0)}),L(this,`sharedLayoutContext`,{schedulePromoteTree:this.schedulePromoteTree,scheduleProjectionDidUpdate:this.scheduleProjectionDidUpdate,initLead:this.initLead})}getSnapshotBeforeUpdate(){if(!this.scheduledPromotion||!this.lead||!this.follow)return null;let e=this.lead?.layoutMaybeMutated&&!this.shouldAnimate;return this.lead.projectionNodes.forEach(t=>{t?.promote({needsReset:e,transition:this.shouldAnimate?this.transition:void 0,preserveFollowOpacity:t.options.layoutId===cx&&!this.follow?.isExiting})}),this.shouldAnimate?this.follow.layoutMaybeMutated=!0:this.scheduleProjectionDidUpdate(),this.lead.layoutMaybeMutated=!1,this.transition=void 0,this.scheduledPromotion=!1,null}componentDidUpdate(){if(!this.lead)return null;this.scheduledDidUpdate&&=(this.lead.rootProjectionNode?.root?.didUpdate(),!1)}render(){return A(lx.Provider,{value:this.sharedLayoutContext,children:this.props.children})}},dx={width:`100%`,height:`100%`,backgroundColor:`none`},fx=class{constructor(e){L(this,`sharedIntersectionObserver`),L(this,`callbacks`,new WeakMap),this.sharedIntersectionObserver=new IntersectionObserver(this.intersectionObserverCallback.bind(this),e)}intersectionObserverCallback(e,t){for(let n of e){let e=this.callbacks.get(n.target);e&&e(n,t)}}observeElementWithCallback(e,t){this.sharedIntersectionObserver&&(this.sharedIntersectionObserver.observe(e),this.callbacks.set(e,t))}unobserve(e){this.sharedIntersectionObserver&&(this.sharedIntersectionObserver.unobserve(e),this.callbacks.delete(e))}get root(){return this.sharedIntersectionObserver?.root}},px=M(new Map),mx=typeof IntersectionObserver>`u`?rg:rs,hx=Array(100).fill(void 0).map((e,t)=>t*.01),gx=n.createContext(null),_x=class extends k{constructor(){super(...arguments),L(this,`layoutMaybeMutated`,!1),L(this,`projectionNodes`,new Map),L(this,`rootProjectionNode`),L(this,`isExiting`),L(this,`shouldPreserveFollowOpacity`,e=>e.options.layoutId===cx&&!this.props.isExiting),L(this,`switchLayoutGroupContext`,{register:e=>this.addChild(e),deregister:e=>this.removeChild(e),transition:this.props.isLead!==void 0&&this.props.animatesLayout?this.props.transition:void 0,shouldPreserveFollowOpacity:this.shouldPreserveFollowOpacity})}componentDidMount(){this.props.isLead&&this.props.sharedLayoutContext.initLead(this,!!this.props.animatesLayout)}shouldComponentUpdate(e){let{isLead:t,isExiting:n,isOverlayed:r,animatesLayout:i,transition:a,sharedLayoutContext:o}=e;if(this.isExiting=n,t===void 0)return!0;let s=!this.props.isLead&&t,c=this.props.isExiting&&!n,l=s||c,u=!!this.props.isLead&&!t,d=this.props.isOverlayed!==r;return(l||u)&&this.projectionNodes.forEach(e=>e?.willUpdate()),l?o.schedulePromoteTree(this,a,!!i):d&&o.scheduleProjectionDidUpdate(),!!l&&!!i}addChild(e){let t=e.options.layoutId;t&&(this.projectionNodes.set(t,e),this.setRootChild(e))}setRootChild(e){if(!this.rootProjectionNode)return this.rootProjectionNode=e;this.rootProjectionNode=this.rootProjectionNode.depth<e.depth?this.rootProjectionNode:e}removeChild(e){let t=e.options.layoutId;t&&this.projectionNodes.delete(t)}render(){return A(Fe.Provider,{value:this.switchLayoutGroupContext,children:this.props.children})}},vx=e=>{let t=n.useContext(lx);return A(_x,{...e,sharedLayoutContext:t})},yx=n.createContext(!0),bx=M({register:()=>{},deregister:()=>{}}),xx=({isCurrent:e,isOverlayed:t,children:n})=>{let r=ls(),i=E({register:a(e=>{if(r.has(e)){console.warn(`NavigationTargetWrapper: already registered`);return}r.set(e,void 0)},[r]),deregister:a(e=>{r.get(e)?.(),r.delete(e)},[r])}).current;return s(()=>(r.forEach((n,i)=>{let a=i(e,t);r.set(i,Qe(a)?a:void 0)}),()=>{r.forEach((e,t)=>{e&&(e(),r.set(t,void 0))})}),[e,t,r]),A(bx.Provider,{value:i,children:n})},Sx=n.memo(function({isLayeredContainer:e,isCurrent:t,isPrevious:n,isOverlayed:r=!1,visible:i,transitionProps:a,children:o,backdropColor:c,onTapBackdrop:l,backfaceVisible:d,exitBackfaceVisible:f,animation:p,exitAnimation:m,instant:h,initialProps:g,exitProps:_,position:v={top:0,right:0,bottom:0,left:0},withMagicMotion:y,index:b,areMagicMotionLayersPresent:S,id:C,isInitial:w}){let T=ge(),D=u(De),{persistLayoutIdCache:O}=u(Ev),k=E({wasCurrent:void 0,wasPrevious:!1,wasBeingRemoved:!1,wasReset:!0,origins:fs({},g,a)}),ee=E(null),j=D!==null&&!D.isPresent;t&&k.current.wasCurrent===void 0&&O(),s(()=>{if(e||!T)return;if(j){k.current={...k.current,wasBeingRemoved:j};return}let{wasPrevious:r,wasCurrent:i}=k.current,o=t&&!i||!j&&k.current.wasBeingRemoved&&t,s=n&&!r,c=fs(k.current.origins,g,a),l=k.current.wasReset;o||s?(T.stop(),T.start({zIndex:b,...c,...a}),l=!1):l===!1&&(T.stop(),T.set({zIndex:b,...Cx,opacity:0}),l=!0),k.current={wasCurrent:!!t,wasPrevious:!!n,wasBeingRemoved:!1,wasReset:l,origins:c}},[t,n,j]);let te=h?{type:!1}:`velocity`in p?{...p,velocity:0}:p,ne=h?{type:!1}:m||p,M={...v};(M.left===void 0||M.right===void 0)&&(M.width=`auto`),(M.top===void 0||M.bottom===void 0)&&(M.height=`auto`);let re=(ps(a)||ps(g))&&(e||t||n)?1200:void 0,ie={...Cx,...k.current.origins},ae=e?{initial:{...ie,...g},animate:{...ie,...a,transition:te},exit:{...ie,..._,transition:p}}:{animate:T,exit:{...ie,..._,transition:ne}},oe=!(j||S===!1),se=!!t&&oe,ce=t&&w;return x(sx,{"data-framer-component-type":`NavigationContainerWrapper`,width:`100%`,height:`100%`,style:{position:`absolute`,transformStyle:`flat`,backgroundColor:`transparent`,overflow:`hidden`,zIndex:e||j||t&&y?b:void 0,pointerEvents:void 0,visibility:i?`visible`:`hidden`,perspective:re},children:[e&&A(sx,{width:`100%`,height:`100%`,"data-framer-component-type":`NavigationContainerBackdrop`,transition:p,initial:{opacity:h&&i?1:0},animate:{opacity:1},exit:{opacity:0},backgroundColor:c||`transparent`,onTap:j?void 0:l}),A(sx,{...M,...ae,transition:{default:te,originX:{type:!1},originY:{type:!1},originZ:{type:!1}},backgroundColor:`transparent`,backfaceVisible:j?f:d,"data-framer-component-type":`NavigationContainer`,"data-framer-is-current-navigation-target":!!t,style:{pointerEvents:void 0,opacity:ce||e||t&&y?1:0},"data-is-present":oe?void 0:!1,ref:ee,children:A(gx.Provider,{value:ee,children:A(yx.Provider,{value:se,children:A(xx,{isCurrent:se,isOverlayed:r,children:A(vx,{isLead:t,animatesLayout:!!y,transition:te,isExiting:!oe,isOverlayed:r,id:C,children:o})})})})})]})},ds),Cx={x:0,y:0,z:0,rotate:0,rotateX:0,rotateY:0,rotateZ:0,scale:1,scaleX:1,scaleY:1,scaleZ:1,skew:0,skewX:0,skewY:0,originX:.5,originY:.5,originZ:0,opacity:1},wx=class{constructor(){L(this,`warning`,()=>{Br(`The Navigator API is only available inside of Framer: https://www.framer.com/`)}),L(this,`goBack`,()=>this.warning()),L(this,`instant`,()=>this.warning()),L(this,`fade`,()=>this.warning()),L(this,`push`,()=>this.warning()),L(this,`modal`,()=>this.warning()),L(this,`overlay`,()=>this.warning()),L(this,`flip`,()=>this.warning()),L(this,`customTransition`,()=>this.warning()),L(this,`magicMotion`,()=>this.warning())}},Tx=M(new wx),Ex={Fade:{exit:{opacity:0},enter:{opacity:0}},PushLeft:{exit:{x:`-30%`},enter:{x:`100%`}},PushRight:{exit:{x:`30%`},enter:{x:`-100%`}},PushUp:{exit:{y:`-30%`},enter:{y:`100%`}},PushDown:{exit:{y:`30%`},enter:{y:`-100%`}},Instant:{animation:{type:!1},enter:{opacity:0}},Modal:{overCurrentContext:!0,goBackOnTapOutside:!0,position:{center:!0},enter:{opacity:0,scale:1.2}},OverlayLeft:{overCurrentContext:!0,goBackOnTapOutside:!0,position:{right:0,top:0,bottom:0},enter:{x:`100%`}},OverlayRight:{overCurrentContext:!0,goBackOnTapOutside:!0,position:{left:0,top:0,bottom:0},enter:{x:`-100%`}},OverlayUp:{overCurrentContext:!0,goBackOnTapOutside:!0,position:{bottom:0,left:0,right:0},enter:{y:`100%`}},OverlayDown:{overCurrentContext:!0,goBackOnTapOutside:!0,position:{top:0,left:0,right:0},enter:{y:`-100%`}},FlipLeft:{backfaceVisible:!1,exit:{rotateY:-180},enter:{rotateY:180}},FlipRight:{backfaceVisible:!1,exit:{rotateY:180},enter:{rotateY:-180}},FlipUp:{backfaceVisible:!1,exit:{rotateX:180},enter:{rotateX:-180}},FlipDown:{backfaceVisible:!1,exit:{rotateX:-180},enter:{rotateX:180}},MagicMotion:{withMagicMotion:!0}},Dx=()=>({current:-1,previous:-1,currentOverlay:-1,previousOverlay:-1,visualIndex:0,overlayItemId:0,historyItemId:0,history:[],overlayStack:[],containers:{},containerIndex:{},containerVisualIndex:{},containerIsRemoved:{},transitionForContainer:{},previousTransition:null}),Ox=dg(Cx),kx=n.createContext(void 0),Ax=n.createContext(void 0),jx=(()=>{var e,t,n,r,i,a,o;return t=class extends k{constructor(t){super(t),F(this,n),F(this,e,null),L(this,`state`,Dx()),F(this,a,e=>{if(!this.props.enabled&&this.state.history.length>0)return;let t=_s(this.state,e);if(!t)return;let{skipLayoutAnimation:n}=this.props,r=t.history[t.current],i=e.type===`add`&&e.transition.withMagicMotion||e.type===`forward`&&r?.transition.withMagicMotion||e.type===`remove`&&!!t.previousTransition,a=()=>{this.setState(t),r?.key&&this.context?.(r.key)};n&&!i?n(a):a()}),L(this,`goBack`,()=>{if(!ve(this,n,i).call(this))return re(this,e,globalThis.event?.timeStamp||null),this.state.currentOverlay===-1?I(this,a).call(this,{type:`remove`}):I(this,a).call(this,{type:`removeOverlay`})});let r=this.props.children;if(!r||!zi(r)||!Ri(r))return;let o={...Ex.Instant},s={type:`add`,key:r.key?.toString()||`stack-${this.state.historyItemId+1}`,transition:o,component:r},c=_s(this.state,s);c&&(this.state=c)}componentDidMount(){let e=this.state.history[this.state.current];e&&this.context?.(e.key)}UNSAFE_componentWillReceiveProps(e){let t=e.children;if(!zi(t)||!Ri(t))return;let r=t.key?.toString();r&&(this.state.history.length===0?ve(this,n,o).call(this,t,Ex.Instant):I(this,a).call(this,{type:`update`,key:r,component:t}))}componentWillUnmount(){this.props.resetProjection?.()}instant(e){ve(this,n,o).call(this,e,Ex.Instant,void 0)}fade(e,t){ve(this,n,o).call(this,e,Ex.Fade,t)}push(e,t){ve(this,n,o).call(this,e,ms(t),t)}modal(e,t){ve(this,n,o).call(this,e,Ex.Modal,t)}overlay(e,t){ve(this,n,o).call(this,e,hs(t),t)}flip(e,t){ve(this,n,o).call(this,e,gs(t),t)}magicMotion(e,t){ve(this,n,o).call(this,e,Ex.MagicMotion,t)}customTransition(e,t){ve(this,n,o).call(this,e,t)}render(){let e=ve(this,n,r).call(this,{overCurrentContext:!1}),t=ve(this,n,r).call(this,{overCurrentContext:!0}),i=Ms(t),a=t.current>-1,o=this.state.history.length===1,s=[];for(let[t,n]of Object.entries(this.state.containers)){let r=this.state.containerIndex[t];V(r!==void 0,`Container's index must be registered`);let i=this.state.containerVisualIndex[t];V(i!==void 0,`Container's visual index must be registered`);let c=this.state.containerIsRemoved[t],l=this.state.history[r],u=this.state.transitionForContainer[t],d=r===this.state.current,f=r===this.state.previous,p=d?!1:c,m=l?.transition?.withMagicMotion||d&&!!this.state.previousTransition;s.push(A(Sx,{id:t,index:i,isInitial:o,isCurrent:d,isPrevious:f,isOverlayed:a,visible:d||f,position:l?.transition?.position,instant:Hs(r,e),transitionProps:u,animation:Vs(r,e),backfaceVisible:zs(r,e),exitAnimation:l?.transition?.animation,exitBackfaceVisible:l?.transition?.backfaceVisible,exitProps:l?.transition?.enter,withMagicMotion:m,areMagicMotionLayersPresent:p?!1:void 0,children:A(Yo,{children:Ws({component:n,transition:l?.transition})})},t))}let c=this.state.overlayStack.map((e,n)=>A(Sx,{isLayeredContainer:!0,isCurrent:n===this.state.currentOverlay,position:e.transition.position,initialProps:Rs(n,t),transitionProps:Bs(n,t),instant:Hs(n,t,!0),animation:Vs(n,t),exitProps:e.transition.enter,visible:Us(n,t),backdropColor:Is(e.transition),backfaceVisible:Ls(n,t),onTapBackdrop:Gs(e.transition,this.goBack),index:this.state.current+1+n,children:Ws({component:e.component,transition:e.transition})},e.key));return A(sx,{"data-framer-component-type":`NavigationRoot`,top:0,left:0,width:`100%`,height:`100%`,position:`relative`,style:{overflow:`hidden`,backgroundColor:`unset`,pointerEvents:void 0,...this.props.style},children:A(Tx.Provider,{value:this,children:x(Ax.Provider,{value:o,children:[A(Sx,{isLayeredContainer:!0,position:void 0,initialProps:{},instant:!1,transitionProps:Ns(i),animation:Ps(i),backfaceVisible:Fs(i),visible:!0,backdropColor:void 0,onTapBackdrop:void 0,index:0,children:A(ji,{children:A(ux,{children:A(Le,{presenceAffectsLayout:!1,children:s})})})}),A(Le,{children:c})]})})})}},e=new WeakMap,n=new WeakSet,r=function(e){let{current:t,previous:n,currentOverlay:r,previousOverlay:i}=this.state;return e.overCurrentContext?{current:r,previous:i,history:this.state.overlayStack}:{current:t,previous:n,history:this.state.history}},i=function(){return globalThis.event?I(this,e)===globalThis.event.timeStamp:!1},a=new WeakMap,o=function(t,r,o){if(ve(this,n,i).call(this)||(re(this,e,globalThis.event?.timeStamp||null),!t||!zi(t)||!Ri(t)))return;let s={...r,...o};if(s.overCurrentContext)return I(this,a).call(this,{type:`addOverlay`,transition:s,component:t});let c=t.key?.toString()||`stack-${this.state.historyItemId+1}`;I(this,a).call(this,{type:`add`,key:c,transition:s,component:t})},L(t,`defaultProps`,{enabled:!0}),L(t,`contextType`,kx),t})(),Mx={stiffness:500,damping:50,restDelta:1,type:`spring`},Nx=Ma(Ks),Re(tg(),1),Re(tg(),1),Re(tg(),1),Px=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),Fx=Symbol(`private`),Ix=(()=>{function e(e={},t=!1,n=!0){let r={[Fx]:{makeAnimatables:t,observeAnimatables:n,observers:new ev,reset(){for(let t in i)if(Px(i,t)){let n=Px(e,t)?bb(e)[t]:void 0;n===void 0?delete i[t]:i[t]=n}},transactions:new Set}},i=new Proxy(r,Rx);return Object.assign(i,e),i}return e.resetObject=e=>e[Fx].reset(),e.addObserver=(e,t)=>e[Fx].observers.add(t),e})(),Lx=class{constructor(){L(this,`set`,(e,t,n,r)=>{if(t===Fx)return!1;let i=e[Fx],a,o;if(Hr(n)?(a=n,o=a.get()):o=n,i.makeAnimatables&&typeof n!=`function`&&typeof n!=`object`&&!a&&(a=tv(n)),i.observeAnimatables&&a){let e=i.transactions;a.onUpdate({update:(t,n)=>{n&&e.add(n),i.observers.notify({value:r},n)},finish:t=>{e.delete(t)&&i.observers.finishTransaction(t)}})}let s=!1,c=!0,l=bb(e)[t];if(l!==void 0){Hr(l)?(c=l.get()!==o,l.set(o)):(c=l!==o,bb(e)[t]=o);let n=typeof o==`object`&&!!o;(Array.isArray(o)||n)&&(c=!0),s=!0}else a&&(n=a),s=Reflect.set(e,t,n);return c&&i.observers.notify({value:r}),s}),L(this,`get`,(e,t,n)=>{if(t===Fx)return bb(e)[t];let r=Reflect.get(e,t,n);return typeof r==`function`?r.bind(n):r})}deleteProperty(e,t){let n=Reflect.deleteProperty(e,t);return e[Fx].observers.notify({value:e}),n}ownKeys(e){let t=Reflect.ownKeys(e),n=t.indexOf(Fx);return n!==-1&&t.splice(n,1),t}getOwnPropertyDescriptor(e,t){if(t!==Fx)return Reflect.getOwnPropertyDescriptor(e,t)}},Rx=new Lx,zx=`opacity`,Bx=(()=>{function e(t={}){let n=Ix(t,!1,!1);return e.addData(n),n}return e._stores=[],e.addData=t=>{e._stores.push(t)},e.reset=()=>{e._stores.forEach(e=>Ix.resetObject(e))},e.addObserver=(e,t)=>Ix.addObserver(e,t),e})(),Vx={update:0},Hx=n.createContext({update:NaN}),Ux=class extends k{constructor(){super(...arguments),L(this,`observers`,[]),L(this,`state`,Vx),L(this,`taskAdded`,!1),L(this,`frameTask`,()=>{this.setState({update:this.state.update+1}),this.taskAdded=!1}),L(this,`observer`,()=>{this.taskAdded||(this.taskAdded=!0,Cv.addFrameTask(this.frameTask))})}componentWillUnmount(){this.observers.map(e=>e()),Bx.reset()}render(){let{children:e}=this.props;return this.observers.map(e=>e()),this.observers=[],Bx._stores.forEach(e=>{let t=Bx.addObserver(e,this.observer);this.observers.push(t)}),A(Hx.Provider,{value:{...this.state},children:e})}},Re(tg(),1),Wx=`__framer__`,Gx=(()=>Wx.length)(),Kx=n.createContext(void 0),qx=n.createContext(void 0),Jx=`ssr-variant`,Yx=()=>()=>{},Xx=()=>!0,Zx=()=>!1,Qx=n.forwardRef(function(e,t){let r=oc(t),i=n.useContext(qx),a=n.useSyncExternalStore(Yx,Zx,Xx),o=Pi(()=>a?_a()?1:2:0),s=n.useContext(Kx);return fr(()=>{let{breakpoint:t,overrides:n,children:a,...c}=e;if(!s)return console.warn(`PropertyOverrides is missing GeneratedComponentContext`),r(a,c);let{primaryVariantId:l,variantClassNames:u}=s,d=i?.primaryVariantId===l?i?.variants:void 0;switch(o){case 0:return r(a,mc(t,c,n));case 1:return lc(n,a,c,u,l,d,r,t);case 2:return lc(n,a,c,u,l,d,ac,void 0);default:H(o)}},[s,i,r,e])}),$x=(()=>ay(Qx,`.${Jx} { display: contents }`,`PropertyOverrides`))(),eS=`default`,tS=new Set([eS]),rS=class{constructor(){L(this,`entries`,new Map),F(this,nS,{})}set(e,t,n,r){switch(t){case`transformTemplate`:V(typeof n==`string`,`transformTemplate must be a string, received: ${n}`),this.setHash(e,r,{transformTemplate:n,legacy:!0});break;case`initial`:case`animate`:V(typeof n==`object`,`${t} must be a valid object, received: ${n}`),this.setHash(e,r,{[t]:n,legacy:!0});break;default:break}}setHash(e,t=eS,n){let r=this.entries.get(e)??{},i=r[t]??{};r[t]=n===null?null:{...i,...n},this.entries.set(e,r)}variantHash(e,t){if(e===t?.primaryVariantId)return eS;let n=I(this,nS)[e];if(n)return n;let r=t?.variantClassNames[e];return r?I(this,nS)[e]=uc(r):eS}setAll(e,t=tS,n,r){if(n===null){for(let n of t)this.setHash(e,this.variantHash(n,r),null);return}let i=Qe(n.transformTemplate)?n.transformTemplate?.({},aS):void 0,a=n.__framer__presenceInitial??n.initial,o=n.__framer__presenceAnimate??n.animate,s={initial:B(a)?a:void 0,animate:B(o)?o:void 0,transformTemplate:R(i)?i:void 0};for(let n of t)this.setHash(e,this.variantHash(n,r),s)}clear(){this.entries.clear()}toObject(){return Object.fromEntries(this.entries)}},nS=new WeakMap,iS=new rS,aS=`__Appear_Animation_Transform__`,oS=`data-framer-appear-id`,sS=`data-framer-appear-animation`,cS=e=>{if(Va())return{animate:gc(e.animate)?e.animate:void 0,initial:gc(e.initial)?e.initial:void 0,exit:void 0}},lS=[`opacity`,`x`,`y`,`scale`,`rotate`,`rotateX`,`rotateY`,`skewX`,`skewY`,`transformPerspective`],uS=e=>({x:oe(e?.x??0),y:oe(e?.y??0),opacity:oe(e?.opacity??1),scale:oe(e?.scale??1),rotate:oe(e?.rotate??0),rotateX:oe(e?.rotateX??0),rotateY:oe(e?.rotateY??0),skewX:oe(e?.skewX??0),skewY:oe(e?.skewY??0),transformPerspective:oe(e?.transformPerspective??0)}),dS={x:0,y:0,scale:1,opacity:1,rotate:0,rotateX:0,rotateY:0,skewX:0,skewY:0,transformPerspective:0},fS={willChange:`transform`},Object.freeze(fS),pS={},Object.freeze(pS),mS=new Set([`loopEffectEnabled`,`loopTransition`,`loop`,`loopRepeatType`,`loopRepeatDelay`,`loopPauseOffscreen`]),hS=()=>{let e=E();return s(()=>()=>{clearTimeout(e.current)},[]),async t=>new Promise(n=>{e.current=setTimeout(()=>{n(!0)},t*1e3)})},gS=new Set([`speed`,`adjustPosition`,`offset`,`parallaxTransformEnabled`]),_S=new Set([`presenceInitial`,`presenceAnimate`,`presenceExit`]),vS=1,yS=4,bS=new Set([`threshold`,`animateOnce`,`opacity`,`targetOpacity`,`x`,`y`,`scale`,`transition`,`rotate`,`rotateX`,`rotateY`,`perspective`,`enter`,`exit`,`animate`,`styleAppearEffectEnabled`,`targets`,`scrollDirection`]),xS=[`animate`,`animate`],SS={inputRange:[],outputRange:[]},CS=new Set([`transformViewportThreshold`,`styleTransformEffectEnabled`,`transformTargets`,`spring`,`transformTrigger`]),wS=(e,t)=>{let n=e?.[0]?.target;return t?{opacity:n?.opacity??1}:n},TS=()=>({opacity:[],x:[],y:[],scale:[],rotate:[],rotateX:[],rotateY:[],skewX:[],skewY:[],transformPerspective:[]}),ES=[0,1],DS={parallax:gS,styleAppear:bS,styleTransform:CS,loop:mS,presence:_S},OS=dg(DS),kS=e=>e.reduce((e,t)=>e+=t,0),AS=e=>e.reduce((e,t)=>e*=t,1),jS=`current`,MS=e=>n.forwardRef((t,r)=>{if(t.__withFX)return A(e,{...t,animate:void 0,initial:void 0,exit:void 0,ref:r});let i=cS(t);if(i)return A(e,{...t,...i,ref:r});let{parallax:a={},styleAppear:o={},styleTransform:s={},presence:c={},loop:l={},forwardedProps:u,targetOpacityValue:d,withPerspective:f,inSmartComponent:p=!1}=zc(t),m=es(r),{values:h,style:g}=Tc(c,m,p,t.style,t[Je]),{values:_,style:v}=xc(a,m,t.style?.visibility),{values:y,style:b}=Lc(s,m),{values:x,style:S}=Nc(o,m),{values:C,style:w}=yc(l,m),T=n.useMemo(()=>{let e=new We(d??1);return{scale:[x.scale,C.scale,h.scale,y.scale],opacity:[x.opacity,C.opacity,h.opacity,e,y.opacity],x:[x.x,C.x,h.x,y.x],y:[x.y,C.y,_.y,h.y,y.y],rotate:[x.rotate,C.rotate,h.rotate,y.rotate],rotateX:[x.rotateX,C.rotateX,h.rotateX,y.rotateX],rotateY:[x.rotateY,C.rotateY,h.rotateY,y.rotateY],skewX:[x.skewX,C.skewX,h.skewX,y.skewX],skewY:[x.skewY,C.skewY,h.skewY,y.skewY],transformPerspective:[y.transformPerspective,x.transformPerspective]}},[d,y,_,x,C,h]);Vc(t.style,T);let E=be(T.scale,AS),D=be(T.opacity,AS),O=be(T.x,kS),k=be(T.y,kS),ee=be(T.rotate,kS),j=be(T.rotateX,kS),te=be(T.rotateY,kS),ne=be(T.skewX,kS),M=be(T.skewY,kS),re=be(T.transformPerspective,kS),{drag:ie,dragConstraints:ae}=u;vo(ie&&Bc(ae)?ae:void 0);let oe={opacity:D,scale:E,x:O,y:k,rotate:ee,rotateX:j,rotateY:te,skewX:ne,skewY:M};nt(f)&&(oe.transformPerspective=re);let se=Hc(t.animate)?t.animate:void 0,ce=Hc(t.initial)?t.initial:void 0,le=Hc(t.exit)?t.exit:void 0,ue=p&&!c.presenceInitial?{initial:ce,animate:se,exit:le}:{};return A(e,{...u,...ue,__withFX:!0,style:{...t.style,...v,...b,...w,...oe,...S,...g},values:h,ref:m})}),NS=M({}),PS=n.createContext({}),FS=n.forwardRef(function({width:e,height:t,y:r,children:i,...a},o){let s=n.useMemo(()=>({width:e,height:t,y:r}),[e,t,r]),c=oc(o);return A(PS.Provider,{value:s,children:c(i,a)})}),IS=e=>n.forwardRef((t,n)=>A(e,{layoutId:go(t),...t,layoutIdKey:void 0,duplicatedFrom:void 0,ref:n})),LS=!1,RS=class extends k{constructor(){super(...arguments),L(this,`state`,{error:void 0})}static getDerivedStateFromError(e){return{error:e}}componentDidCatch(e,t){if(!Gc(e))return;let n=t?.componentStack;console.error(`Caught an error in SynchronousSuspenseErrorBoundary:

`,e,`

Component stack:
`,n,`

This error indicates a state update wasn’t wrapped with \`startTransition\`. Some of the UI might flash as a result. `+ut(`If you are the author of this website, update external components and check recently added custom code or code overrides.`));let r=e instanceof Error&&typeof e.stack==`string`?e.stack:void 0;$t(`published_site_load_recoverable_error`,{message:String(e),stack:r,componentStack:r?void 0:n})}render(){let e=this.state.error;if(e===void 0)return this.props.children;if(!Gc(e))throw e;return LS=!0,this.props.children}},zS=(()=>h===void 0?null:new Promise(()=>{}))(),BS=A(Kc,{}),VS=M(!1),VS.displayName=`DisableSuspenseSuspenseThatPreservesDomContext`,HS=A(Jc,{}),US=class extends k{constructor(){super(...arguments),L(this,`state`,{hasError:!1})}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e,t){Xc(this.props.getErrorMessage(),t?.componentStack),Yc(e,t)}render(){let{children:e,fallback:t=HS}=this.props,{hasError:n}=this.state;return n?t:e}},WS=class extends k{constructor(){super(...arguments),L(this,`state`,{hasError:!1})}componentDidCatch(e,t){let n=t?.componentStack;console.error(`Error in component (see previous log). This component has been hidden. Please check any custom code or code overrides to fix.`,n),this.setState({hasError:!0}),Yc(e,t)}render(){let{children:e}=this.props,{hasError:t}=this.state;return t?null:e}},GS=(()=>n.createContext(void 0))(),KS=`code-crash:`,qS=IS(n.forwardRef(function({children:e,layoutId:t,as:r,scopeId:i,nodeId:a,isAuthoredByUser:o,isModuleExternal:s,inComponentSlot:c,...l},u){let d=Pi(()=>t?`${t}-container`:void 0),f=lo(r),p=ul(n.Children.map(e,e=>n.isValidElement(e)?n.cloneElement(e,{layoutId:t}):e),i,a,o,s,c);return A(f,{layoutId:d,...l,ref:u,children:A(Lb.Provider,{value:!0,children:A(__.Provider,{value:a??null,children:A(Ni,{enabled:!1,children:A(He,{id:t??``,inherit:l.layout?!0:`id`,children:p})})})})})})),JS=n.forwardRef(function(e,t){let{as:n,children:r,scopeId:i,nodeId:a,isAuthoredByUser:o,rendersWithMotion:s,isModuleExternal:c,inComponentSlot:l,...u}=e,d=ul(r,i,a,o,c,l),f=e.as??`div`;if(e.rendersWithMotion){let n=lo(f);return A(__.Provider,{value:a??null,children:A(n,{...u,ref:t,style:e.style,children:d})})}else{let n=f,{layoutId:r,layoutDependency:i,...o}=u;return A(__.Provider,{value:a??null,children:A(n,{...o,ref:t,style:e.style,children:d})})}}),YS=M({onRegisterCursors:()=>()=>{},registerCursors:()=>{}}),XS=`framer-cursor-none`,ZS=`framer-pointer-events-none`,QS=_(function({children:e}){let t=Pi(()=>{let e=new Set,t={},n=new Map;return{onRegisterCursors:n=>(n(t),e.add(n),()=>e.delete(n)),registerCursors:(r,i)=>{n.set(i,Object.keys(r)),t=dl(n,t,r);for(let n of e)n(t);return()=>{n.delete(i)}}}}),n=Ze();return x(YS.Provider,{value:t,children:[e,!n&&A(nC,{})]})}),$S=(()=>ay(QS,[`.${XS}, .${XS} * { cursor: none !important; }`,`.${ZS}, .${ZS} * { pointer-events: none !important; }`],`framer-lib-cursors-host`))(),eC=(()=>({position:`fixed`,top:0,left:0,zIndex:13,pointerEvents:`none`}))(),tC=`data-framer-portal-id`,nC=_(function(){let{onRegisterCursors:e}=u(YS),[t,n]=f(!1),r=fe(0),i=fe(0),o=fe(0),c=E(null),l=E({cursors:{},cursorHash:void 0}),d=_o();te(()=>{let e=K.matchMedia(`(any-hover: none)`);function t(e){e.matches?ne(()=>n(!1)):n(!0)}return e.addEventListener(`change`,t),e.matches||n(!0),()=>{e.removeEventListener(`change`,t)}},[]),s(()=>{if(!t)return;let e=0,n=0;function a(){r.set(e),i.set(n),ke(o,1,{type:`tween`,duration:.2})}let s=()=>{if(tt(l.current.cursors))return;let t=hl(e,n);t!==l.current.cursorHash&&(l.current.cursorHash=t,je.update(()=>d()))};function u(t){if(t.pointerType===`touch`){Ie(s);return}je.read(s,!0),e=t.clientX,n=t.clientY,je.update(a)}function f(e){if(e.target===c.current||!c.current)return;let t=new PointerEvent(e.type,{bubbles:!0,cancelable:e.cancelable,pointerType:e.pointerType,pointerId:e.pointerId,composed:e.composed,isPrimary:e.isPrimary,buttons:e.buttons,button:e.button});je.update(()=>{c.current?.dispatchEvent(t)})}return K.addEventListener(`pointermove`,u),document.addEventListener(`pointerdown`,f),document.addEventListener(`pointerup`,f),je.read(s,!0),()=>{K.removeEventListener(`pointermove`,u),document.removeEventListener(`pointerdown`,f),document.removeEventListener(`pointerup`,f),Ie(s)}},[o,r,i,d,t]),s(()=>{if(!t)return;function e(){ke(o,0,{type:`tween`,duration:.2})}return document.addEventListener(`mouseleave`,e),K.addEventListener(`blur`,e),()=>{document.removeEventListener(`mouseleave`,e),K.removeEventListener(`blur`,e)}},[o,t]),te(()=>{function t(e){l.current.cursors=e,l.current.cursorHash=tt(e)?null:hl(r.get(),i.get()),d()}let n=e(t);return()=>{n(),document.body.classList.toggle(XS,!1)}},[r,i,e,d]);let{cursors:p,cursorHash:m}=l.current,h=m?p[m]:null,g=fl(h);te(()=>{t&&document.body.classList.toggle(XS,g)},[g,t]);let _=h?.component,v=h?.transition??{duration:0},y=de(r,v),b=de(i,v),x=be(()=>y.get()+(h?.offset?.x??0)),S=be(()=>b.get()+(h?.offset?.y??0)),C=h?.alignment,T=h?.placement,D=a((e,t)=>`translate(${ml(T,C)}) ${t}`,[C,T]);return!t||!h||!_?null:A(w,{children:A(_,{transformTemplate:D,style:{...eC,x,y:S,opacity:o},globalTapTarget:!0,variant:h?.variant,ref:c,className:ZS})})}),rC=`webPageId`,iC=class{constructor(){L(this,`collectedLinks`,new Map),L(this,`nestingInfo`,new Map)}clear(){this.collectedLinks.clear(),this.nestingInfo.clear()}getLinks(){let e=new Map;for(let[t,n]of this.nestingInfo){let r=this.collectedLinks.get(t);V(r,`Outer link not found: ${t}`);let i=Array.from(n).map(e=>{let t=this.collectedLinks.get(e);return V(t,`Inner link not found: ${e}`),t});e.set(r,i)}return e}collectNestedLink(e,t){if(ig&&!ya()||!e.nodeId||!t.nodeId)return;this.collectedLinks.set(vl(e),e),this.collectedLinks.set(vl(t),t);let n=this.nestingInfo.get(vl(e))??new Set;n.add(vl(t)),this.nestingInfo.set(vl(e),n)}},aC=new iC,oC=`element`,sC=`collection`,cC=`collectionItemId`,lC=`pathVariables`,uC=`framer/page-link,`,dC=M(void 0),fC=`--text-selection-color`,pC=`--text-selection-background-color`,mC=(()=>ay(Il,(e,t)=>Fl(t?.triggerId),`InjectSelectionStyle`))(),hC={isClockwise:e=>hC.signedArea(e)<=0,signedArea:e=>{let t=0,n=e.length;for(let r=0;r<n;r++){let i=e[r],a=e[(r+1)%n];!i||!a||(t+=i.x*-a.y-a.x*-i.y)}return 1/2*t},containsPoint:(e,t)=>{let n;for(let r=0;r<e.length;r++){if(qr.isEqual(e[r],t))return!0;let i=e[r]?.x??0,a=e[r]?.y??0,o=(r+1)%e.length;if(qr.isEqual(e[o],t))return!0;let s=e[o]?.x??0,c=e[o]?.y??0,l=(t.x-i)*(c-a)-(t.y-a)*(s-i);if(l===0)continue;let u=l>0;if(n??=u,n!==u)return!1}return!0},intersects:(e,t)=>{if(e.length<1||t.length<1)return!1;let n=Y.boundingRectFromPoints(e),r=Y.boundingRectFromPoints(t);if(!Y.intersects(n,r))return!1;let i=[],a=e.length;e.forEach((t,n)=>{let r=e[(n+1)%a];r&&i.push(Mv(t,r))});let o=[],s=t.length;t.forEach((e,n)=>{let r=t[(n+1)%s];r&&o.push(Mv(e,r))});for(let e of i)for(let t of o)if(Mv.intersection(e,t,!0))return!0;return!!(hC.containsPoint(t,e[0])||hC.containsPoint(e,t[0]))},contains:(e,t)=>{for(let n=0;n<t.length;n++)if(!hC.containsPoint(e,t[n]))return!1;return!0},clipToRect:(e,t)=>{let n=Y.edges(t),r=new Set,i=e.length,a=[],o=[];for(let s=0;s<i;s++){let c=e[s],l=e[(s+1)%i];if(Y.containsPoint(t,c)){let e=Ll(c);if(r.add(e),o.push(c),Y.containsPoint(t,l))continue}let u=Mv(c,l);n.forEach(e=>{let t=Mv.intersection(u,e,!0);if(!t)return;let n=Ll(t);r.has(n)||(r.add(n),a.push(t))})}return a.length===0?o:(Y.points(t).forEach(t=>{hC.containsPoint(e,t)&&(r.add(Ll(t)),a.push(t))}),qr.sortClockwise([...o,...a]))}},gC=5,_C=4,vC=(()=>{let e=n.createContext(new Set);return e.displayName=`FloatingStackingContext`,e})(),yC=`overlay`,bC=`template-overlay`,xC=n.forwardRef(function({Component:e,...t},n){return e?A(e,{...t,ref:n}):null}),SC=class extends k{constructor(){super(...arguments),L(this,`state`,{error:void 0}),L(this,`message`,`Made UI non-interactive due to an error.`),L(this,`messageFatal`,`Fatal error.`)}static getDerivedStateFromError(e){return{error:e}}componentDidCatch(e){if(h.__framer_hadFatalError=!0,`cause`in e&&(e=e.cause),console.error(ut(ag?this.message:this.messageFatal,e)),Math.random()>.5)return;let t=e instanceof Error&&typeof e.stack==`string`?e.stack:null;$t(`published_site_load_error`,{message:String(e),stack:t})}render(){let e=this.state.error;if(!e)return this.props.children;let t=`cause`in e?e.cause:e,n=/-->/gu,r=ag&&document.getElementById(`main`)?.innerHTML||``;return A(`div`,{style:{display:`contents`},suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:`<!-- DOM replaced by GracefullyDegradingErrorBoundary due to "${t.message.replace(n,`--!>`)}". ${ut()}: --><!-- Stack: ${e.stack?.replace(n,`--!>`)} -->`+r}})}},CC=/:([a-z]\w*)/gi,wC=M(void 0),TC=500,EC=.9,DC=1.7,OC=4,kC=1/0,AC=new WeakMap,jC=new Set,MC=new Map,NC=!Wg||typeof IntersectionObserver>`u`?null:mu(),PC=cu(j(function({children:e,href:t,openInNewTab:n,smoothScroll:r,clickTrackingId:i,relValues:a,preserveParams:o,nodeId:s,scopeId:c,motionChild:l,...u},f){let p=kt(),m=jt(),h=fu(),{activeLocale:g,locales:_}=pr(),v=Su(),y=gn(),b=yl(),x=Cu({nodeId:s,clickTrackingId:i,router:p,href:t,activeLocale:g}),S=d(()=>{if(!t)return{};let e=_l(t)?t:El(t);if(!e)return{};if(R(e))return Du(e,p,m,{openInNewTab:n,trackLinkClick:x,rel:a?.join(` `),preserveParams:o,smoothScroll:r},y,g?.id,_,h);let{unresolvedPathSlugs:i,unresolvedHashSlugs:s}=e,c=v(i,s,g);if(ct(c))throw c;let{routeId:l,href:u,elementId:d,pathVariables:f,locale:b}=lu(p,m,e,g,c,h),S=gu(n,!0),C=S===`_blank`,w={pathVariables:f,locale:b},T=e=>Tu(p,l,()=>y(l,w,!1,!C),d,f,r,e);return{href:u,target:S,onClick:Eu(u,x,T),"data-framer-page-link-current":m&&pu(m,e,h)||void 0,navigate:T,preload:()=>y(l,w,!0,!C),_routeId:l,_pathVariables:f,_locale:b}},[t,p,g,h,n,m,r,x,a,_,o,v,y]),C=es(O(e)&&`ref`in e?e.ref:void 0),{navigate:w,preload:T,_routeId:E,_pathVariables:D,_locale:k,...ee}=S;ts(C,e=>{if(!(e===null||!E||!T||b))return NC?.(e,T,`${E}:${k?.id}:${JSON.stringify(D)}`)},[T,E,D,k]);let A=!!w;return kl(oc(f).cloneAsArray(e,e=>Ou(e,{...u,...Au(ee,l,A)},C)),c,s,t,S,C)})),FC=`framer`,IC=3,LC=30,RC=1e4,zC=`3`,BC=`__framer`,VC=[`website`,`company`,`message`,`subject`,`title`,`description`,`feedback`,`notes`,`details`,`remarks`,`comments`],HC=(()=>Date.now())(),UC={name:0,value:1,setAttribute:2,valueProperty:3,isInputEventTrusted:4,inputChangeTimeSinceModuleLoad:5,wasFilledBeforeHydration:6},WC={fieldData:0,fieldCount:1,fieldFilledCount:2,hpVersion:3,siteId:4,timeToSubmissionSinceModuleLoad:5},GC=()=>((Date.now()-HC)/1e3).toFixed(2),KC=({inputStateRef:e})=>{let{inputRef:t,originalName:r}=e;return n.useLayoutEffect(()=>{let n=t.current;if(!n)return;let r=e.methodsUsed;n.value&&(r.wasFilledBeforeHydration=!0)},[t,e]),n.useEffect(()=>{let n=t.current;if(!n)return;let r=e.methodsUsed,i=Element.prototype.setAttribute,a=i.bind(n);n.setAttribute=function(e,t){e===`value`&&(r.setAttribute=!0,r.inputChangeTimeSinceModuleLoad=GC()),a(e,t)};let o=Object.getOwnPropertyDescriptor(HTMLInputElement.prototype,`value`);o&&Object.defineProperty(n,`value`,{configurable:!0,enumerable:!0,get:function(){return o.get?.call(this)??``},set:function(e){r.valueProperty=!0,r.inputChangeTimeSinceModuleLoad=GC(),o.set?.call(this,e)}});let s=e=>{r.isInputEventTrusted=e.isTrusted,r.inputChangeTimeSinceModuleLoad=GC()};return n.addEventListener(`input`,s),()=>{n.setAttribute=i.bind(n),o&&Object.defineProperty(n,`value`,o),n.removeEventListener(`input`,s)}},[t,e]),A(`input`,{ref:t,type:`text`,name:r,suppressHydrationWarning:!0,tabIndex:-1,autoComplete:`one-time-code`,"aria-hidden":`true`,style:{position:`absolute`,transform:`scale(0)`},defaultValue:``,"data-1p-ignore":!0,"data-lpignore":`true`,"data-form-type":`other`,"data-bwignore":!0})},qC={state:`pending`},JC={state:`success`},YC={state:`incomplete`},XC={state:`complete`},ZC={state:`error`},QC=n.createContext(void 0),$C=n.forwardRef(function({action:e,children:t,redirectUrl:r,onSuccess:i,onError:a,onLoading:o,submitTrackingId:s,nodeId:c,...l},d){let f=n.useRef(null),p=d??f,{states:m,convertHoneypotFieldsForSubmission:h,replaceHoneypotWithMetadata:g}=Lu(),_=kt(),v=jt(),y=fu(),b=un(),[S,C]=n.useReducer(Vu,YC),{activeLocale:w,locales:T}=pr(),E=u(QC),D=n.useRef({onSuccess:i,onError:a,onLoading:o});D.current={onSuccess:i,onError:a,onLoading:o};let O=n.useRef(!1);async function k(e){if(R(e)){let t=uu(_,e,y,T);if(!t){Wu(e,p);return}let{routeId:n,elementId:r,pathVariables:i}=t;_.navigate?.(n,r,i);return}V(_l(e),`Expected link to be either a LinkToWebPage or a string`,e);let{routeId:t,elementId:n,pathVariables:r}=lu(_,v,e,w,await bu(e.unresolvedPathSlugs,e.unresolvedHashSlugs,w,b),y);_.navigate?.(t,n,r)}let ee=async t=>{if(t.preventDefault(),!e||!E||O.current)return;O.current=!0,h();let n=new FormData(t.currentTarget);await hn({priority:`user-visible`,continueAfter:`paint`}),g(n),ne(()=>C({type:`submit`})),Iu(n,K.document);for(let[e,t]of n)t instanceof File&&n.delete(e);try{D.current.onLoading?.(),zu({router:_,nodeId:c,submitTrackingId:s,activeLocale:w}),await Ku(e,n,E),ne(()=>C({type:`success`})),D.current.onSuccess?.(),r&&await k(r)}catch(e){ne(()=>C({type:`error`})),D.current.onError?.(),console.error(e)}O.current=!1},j=e=>{let{target:t,currentTarget:n,key:r}=e;t instanceof HTMLTextAreaElement||r===`Enter`&&n.checkValidity()&&(e.preventDefault(),ee(e))},te=async e=>{let t=e.currentTarget;await hn({priority:`background`,continueAfter:`paint`}),ne(()=>C({type:Gu(t)?`incomplete`:`complete`}))};return x(ye.form,{...l,onSubmit:Hu(S)?ee:Uu,onKeyDown:j,onChange:te,ref:p,children:[t(S),A(Ru,{states:m})]})}),ew=`__framer_force_showing_editorbar_since`,tw=class extends k{constructor(){super(...arguments),L(this,`state`,{error:void 0})}static getDerivedStateFromError(e){return{error:e}}render(){return this.state.error?null:this.props.children}},nw=()=>{try{return!!localStorage[ew]}catch{return!1}},rw=()=>!nw(),iw=()=>!1,aw=()=>()=>{},ow=(()=>{let e=M(void 0);return e.displayName=`TriggerStateContext`,e})(),sw=`main`,cw=`framerGeneratedPage`,lw=`<!-- Start of headStart -->`,uw=`<!-- End of headStart -->`,dw=`<!-- Start of headEnd -->`,fw=`<!-- End of headEnd -->`,pw=`<!-- Start of bodyStart -->`,mw=`<!-- End of bodyStart -->`,hw=`<!-- Start of bodyEnd -->`,gw=`<!-- End of bodyEnd -->`,_w=(()=>n.createContext(void 0))(),vw=null,yw=null,sg(fd),bw=(e,t,n,r,i,a)=>{let o=u(QC),c=E(),l=un(),d=E(!0);return s(()=>{function s(){(!vw||!yw)&&fd();let s=n?new URL(K.location.origin+n):K.location,c={version:Mg,abTestId:e?.abTestId,framerSiteId:o??null,webPageId:e?.abTestingVariantId??t,routePath:e?.path||`/`,collectionItemId:null,framerLocale:i?.code||null,referrer:null,url:s.href,hostname:s.hostname,pathname:s.pathname,search:s.search||null,hash:s.hash||null,timezone:vw,locale:yw},u=d.current&&a!==void 0?a:void 0;return e?.collectionId&&r?(async()=>{let t=u??null;if(u===void 0){let n=e.collectionId&&l?.get(e.collectionId),[a]=Object.values(r);if(n&&R(a)){let e=n.getRecordIdBySlug(a,i||void 0);t=(ct(e)?await e:e)??null}}return{...c,collectionItemId:t}})():c}(async()=>{let e=c.current=s(),t=e instanceof Promise?await e:e;c.current=t,d.current?d.current=!1:$t(`published_site_pageview`,t,`eager`)})();let u=async e=>{if(e.persisted){let e=c.current=s(),t=e instanceof Promise?await e:e;c.current=t,$t(`published_site_pageview`,t,`eager`)}};return h.addEventListener(`pageshow`,u),()=>{h.removeEventListener(`pageshow`,u)}},[e,t,n,r,i,o,l,a]),c},xw={status:`loading`,data:void 0},Sw=5e3,Cw=()=>{},Aw=class e{constructor(){L(this,`responseValues`,new Map),F(this,ww,new Map),F(this,Tw,new Set),F(this,Ew,new Map),F(this,Dw,new Map),F(this,Ow,new Map),F(this,kw,new Map),L(this,`persistCache`,ec(()=>{let t={};for(let[e,n]of this.responseValues){if(!n||n.status!==`success`)continue;let r=I(this,Ew).get(e);if(!r||r===0)continue;let i=I(this,Dw).get(e);i&&(i&&Od(i,r)||(t[e]=[i,r,n.data]))}try{localStorage.setItem(e.cacheKey,JSON.stringify(t))}catch{}},500))}unmount(){for(let[e,t]of I(this,kw))clearInterval(t),I(this,kw).delete(e)}stopQueryRefetching(e){let t=wd(e),n=I(this,kw).get(t);n&&(clearInterval(n),I(this,kw).delete(t))}startQueryRefetching(e){let t=wd(e),n=I(this,kw).get(t),r=I(this,Ew).get(t);if(n||!r)return;let i=K.setInterval(()=>{if(document.visibilityState===`hidden`)return;let n=I(this,Dw).get(t);!r||!n||this.fetchWithCache({...e,cacheDuration:r})},r);I(this,kw).set(t,i)}hydrateCache(){try{let t=localStorage.getItem(e.cacheKey);if(!t)return;let n=JSON.parse(t);if(typeof n!=`object`)throw Error(`Invalid cache data`);for(let e in n){let t=n[e];if(!Array.isArray(t)||t.length!==3)throw Error(`Invalid cache data`);let[r,i,a]=t;Od(r,i)||(I(this,Dw).set(e,r),I(this,Ew).set(e,i),this.responseValues.set(e,{status:`success`,data:a}))}}catch{try{localStorage.removeItem(e.cacheKey)}catch{}}}setResponseValue(e,t){this.responseValues.set(e,t),this.persistCache();let n=I(this,ww).get(e);if(n)for(let e of n)e()}async prefetch(e){if(!_a()||!xl(e.url,!1))return;let t=wd(e);I(this,Tw).add(t),await this.fetchWithCache(e);let n=this.getValue(t);if(!n||n.status===`loading`)throw Error(`Unexpected result status for prefetch`);let r=I(this,ww).get(t);for(let e of r??[])e();let i=Dd(n,e);return e.resultOutputType===`image`&&R(i)&&await xd(i).catch(Cw),i}async fetchWithCache(e){if(!_a())return;let t=wd(e),n=I(this,Ow).get(t);if(n)return n;let r=I(this,Dw).get(t),i=r&&Od(r,e.cacheDuration);if(this.responseValues.has(t)&&!i)return;this.responseValues.get(t)||this.setResponseValue(t,xw);let a=(async()=>{try{let n=await fetch(e.url,{method:`GET`,credentials:e.credentials});if(!n.ok){this.setResponseValue(t,{status:`error`,error:Error(`Invalid Response Status`),data:void 0});return}let r=await n.json();this.setResponseValue(t,{status:`success`,data:r}),I(this,Dw).set(t,Date.now())}catch(e){this.setResponseValue(t,{status:`error`,error:e,data:void 0})}})();return I(this,Ow).set(t,a),a.finally(()=>{I(this,Ow).delete(t)}),a}getValue(e,t=!1){if(!(t&&!I(this,Tw).has(e)))return this.responseValues.get(e)}subscribe(e,t,n=!1){let{url:r,cacheDuration:i}=e;if(!xl(r,!1))return Cw;let a=wd(e),o=I(this,Ew).get(a);(!o||i<o)&&I(this,Ew).set(a,i),n||(this.startQueryRefetching(e),this.fetchWithCache(e));let s=I(this,ww).get(a)??new Set;return s.add(t),I(this,ww).set(a,s),()=>{let n=I(this,ww).get(a);n&&(n.delete(t),n.size===0&&I(this,ww).delete(a),I(this,ww).size===0&&this.stopQueryRefetching(e))}}},ww=new WeakMap,Tw=new WeakMap,Ew=new WeakMap,Dw=new WeakMap,Ow=new WeakMap,kw=new WeakMap,L(Aw,`cacheKey`,`framer-fetch-client-cache`),jw=Aw,Mw=M(void 0),Nw=M(!0),Pw=({children:e,client:t})=>{let[n]=f(()=>t??new jw),[r,i]=f(!0);return s(()=>(n.hydrateCache(),ne(()=>{i(!1)}),()=>n.unmount()),[n]),A(Nw.Provider,{value:r,children:A(Mw.Provider,{value:n,children:e})})},ze.WillChange=Ke,Fw=cu(j(function({links:e,children:t,...n},r){let i=kt(),{activeLocale:a}=pr(),o=oc(r),s=Su(),c=[],l=e.map(e=>{if(e)return R(e)?Mu(e,i,void 0,void 0,a):Mu(e.href,i,e.implicitPathVariables,e.refKey,a,(e,t)=>s(e,t,a,c))});if(c.length>0)throw Promise.allSettled(c);return o(t(l),n)})),Iw={cast(e,t){switch(t.type){case`array`:return Wd(e,t);case`boolean`:return Kd(e);case`color`:return Yd(e);case`date`:return Zd(e);case`enum`:return $d(e);case`file`:return tf(e);case`link`:return rf(e);case`number`:return of(e);case`object`:return lf(e,t);case`responsiveimage`:return df(e);case`richtext`:return pf(e);case`string`:return _f(e);case`vectorsetitem`:return hf(e);case`unknown`:return e;default:H(t,`Unsupported cast`)}},parse(e){return $e(e)?{type:`boolean`,value:e}:at(e)?{type:`date`,value:e.toISOString()}:z(e)?{type:`number`,value:e}:R(e)?{type:`string`,value:e}:et(e)?{type:`array`,value:e.map(Iw.parse)}:null},equal(e,t,n){return e?.type===t?.type?yf(e,t,n)===0:!1},lessThan(e,t,n){return e?.type===t?.type?yf(e,t,n)<0:!1},lessThanOrEqual(e,t,n){return e?.type===t?.type?yf(e,t,n)<=0:!1},greaterThan(e,t,n){return e?.type===t?.type?yf(e,t,n)>0:!1},greaterThanOrEqual(e,t,n){return e?.type===t?.type?yf(e,t,n)>=0:!1},in(e,t,n){return t?.type===`array`?t.value.some(t=>Iw.equal(t,e,n)):!1},indexOf(e,t,n){return e?.type===`array`?e.value.findIndex(e=>Iw.equal(e,t,n)):-1},contains(e,t,n){let r=vf(e),i=vf(t);return rt(r)||rt(i)?!1:(n.type===0&&(r=r.toLowerCase(),i=i.toLowerCase()),r.includes(i))},startsWith(e,t,n){let r=vf(e),i=vf(t);return rt(r)||rt(i)?!1:(n.type===0&&(r=r.toLowerCase(),i=i.toLowerCase()),r.startsWith(i))},endsWith(e,t,n){let r=vf(e),i=vf(t);return rt(r)||rt(i)?!1:(n.type===0&&(r=r.toLowerCase(),i=i.toLowerCase()),r.endsWith(i))},length(e){switch(e?.type){case`array`:return e.value.length}return 0},stringify(e){if(e===null)return`null`;switch(e.type){case`array`:return`[${e.value.map(Iw.stringify).join(`, `)}]`;case`boolean`:case`number`:return String(e.value);case`string`:return`'${e.value}'`;case`enum`:return`'${e.value}' /* Enum */`;case`color`:return`'${e.value}' /* Color */`;case`date`:return`'${e.value}' /* Date */`;case`richtext`:return`RichText`;case`vectorsetitem`:return`VectorSetItem`;case`responsiveimage`:return`ResponsiveImage`;case`file`:return`File`;case`link`:return R(e.value)?`'${e.value}' /* Link */`:`Link`;case`object`:return`Object`;default:H(e)}}},Lw={type:`unknown`,isNullable:!0},Rw=class{constructor(e,t){this.collection=e,this.locale=t,L(this,`schema`),L(this,`indexes`,[]);let n=Ba(e);V(n,`Collection does not have properties`);let r={id:{type:`string`,isNullable:!1}},i=Object.entries(n);for(let[e,t]of i){if(!t)continue;let n=t.type;V(n!==`array`,`Array properties are not supported`),V(n!==`object`,`Object properties are not supported`),r[e]={type:n,isNullable:!0}}this.schema=r}getDatabaseItem(e,t){let n={},r=Number(t);for(let t in this.schema){let i=e[t];if(it(i))continue;let a=this.schema[t];if(!nt(a)){if(V(a.type!==`unknown`,`Invalid definition type`),a.type===`richtext`){n[t]={type:a.type,value:{itemIndex:r,key:t}};continue}n[t]={type:a.type,value:i}}}return{pointer:t,data:n}}async resolveRichText(e){let{itemIndex:t,key:n}=e,r=(await bf(this.collection,this.locale))[t]?.[n];return xg.is(r)?r.readMaybeAsync():r}async scanItems(){return(await bf(this.collection,this.locale)).map((e,t)=>{let n=String(t);return this.getDatabaseItem(e,n)})}async resolveItems(e){let t=await bf(this.collection,this.locale);return e.map(e=>{let n=t[Number(e)];return V(n,`Can't find collection item`),this.getDatabaseItem(n,e)})}compareItems(e,t){return Number(e.pointer)-Number(t.pointer)}},zw=new Map,Bw=new WeakMap,Vw=`$r_`,Hw=new Map,Uw=1e3,Q=class e{constructor(e){this.network=e}static estimate(t,n){let r=Tf(),i=Ef();return new e(t*r+n/i)}static max(t,n){return new e(Math.max(t.network,n.network))}static compare(e,t){return e.network<t.network?-1:e.network>t.network?1:0}add(e){return this.network+=e.network,this}toString(){return`${this.network}ms`}},Ww=class{constructor(e,t){this.id=e,this.relational=t,L(this,`nodes`,[]),L(this,`winners`,new Map)}addNode(e){this.nodes.push(e),e.setGroup(this)}getWinner(e){let t=e.getHash(),n=this.winners.get(t);if(n)return n;let r=new Gw;return this.winners.set(t,r),r}getOptimized(e){let t=this.getWinner(e);V(t.node,`Group not optimized`);let n=t.node.getOptimized(e);return n.setGroup(this),n}},Gw=class{constructor(){L(this,`node`),L(this,`cost`,new Q(1/0)),L(this,`nodes`,[])}update(e,t){this.nodes.push(e),Q.compare(t,this.cost)<0&&(this.node=e,this.cost=t)}},Kw=class{constructor(e){this.isSynchronous=e}},qw=class extends Kw{constructor(){super(...arguments),L(this,`group`)}getGroup(){return V(this.group,`Node must be in a group`),this.group}setGroup(e){V(!this.group,`Node is already in a group`),this.group=e}evaluateSync(){return jd(this.evaluate(void 0))}evaluateAsync(){return Md(this.evaluate(void 0))}},Jw=class{constructor(e,t){L(this,`collections`),L(this,`richTextCache`,new WeakMap),L(this,`vectorSetItemCache`,new WeakMap),this.collections=Pf(e,t)}*resolveArrayValue(e){return yield*Fd(e.value.map(e=>this.resolveValue(e)))}*resolveObjectValue(e){let t={};for(let n in e.value){let r=e.value[n];t[n]=this.resolveValue(r)}return yield*Pd(t)}loadRichTextValue(e){let t=e.value;V(jf(t),`Rich text pointer must be wrapped`);let n=this.collections.get(t.collectionId);V(n,`Can't find collection for rich text pointer`);let r=this.richTextCache.get(n)??new Map;this.richTextCache.set(n,r);let i=r.get(t.pointer);if(i)return i;let a=n.resolveRichText(t.pointer);return r.set(t.pointer,a),a}preloadRichTextValue(e){this.loadRichTextValue(e)}*resolveRichTextValue(e){let t=this.loadRichTextValue(e);return st(t)?yield t:t}loadVectorSetItemValue(e){let t=e.value;V(Nf(t),`Vector set item pointer must be wrapped`);let n=this.collections.get(t.collectionId);V(n,`Can't find collection for vector set item pointer`),V(n.resolveVectorSetItem,`Can't resolve vector set item pointer`);let r=this.vectorSetItemCache.get(n)??new Map;this.vectorSetItemCache.set(n,r);let i=r.get(t.pointer);if(i)return i;let a=n.resolveVectorSetItem(t.pointer);return r.set(t.pointer,a),a}preloadVectorSetItemValue(e){this.loadVectorSetItemValue(e)}*resolveVectorSetItemValue(e){let t=this.loadVectorSetItemValue(e);return st(t)?yield t:t}*resolveValue(e){switch(e?.type){case`array`:return yield*this.resolveArrayValue(e);case`object`:return yield*this.resolveObjectValue(e);case`richtext`:return yield*this.resolveRichTextValue(e);case`vectorsetitem`:return yield*this.resolveVectorSetItemValue(e)}return e?.value??null}},Yw=`index`,Xw=class extends Set{merge(e){for(let t of e)this.add(t)}equals(e){if(this===e)return!0;if(this.size!==e.size)return!1;for(let t of this)if(!e.has(t))return!1;return!0}subsetOf(e){if(this===e)return!0;if(this.size>e.size)return!1;for(let t of this)if(!e.has(t))return!1;return!0}getHash(){let e=[];for(let t of this)e.push(t.id);return e.sort((e,t)=>e-t),G(this.name,...e)}},Zw=class{constructor(e,t,n){this.id=e,this.name=t,this.data=n,L(this,`indexes`,new $w),L(this,`fields`,new $)}},Qw=class{constructor(e,t,n,r,i,a){for(let o in this.id=e,this.data=t,this.collection=n,this.lookupNodes=r,this.constraint=i,this.ordering=a,L(this,`resolvedFields`,new $),t.schema)for(let e of n.fields)e.name===o&&this.resolvedFields.add(e)}},$w=class extends Xw{constructor(){super(...arguments),L(this,`name`,`Indexes`)}},eT=class{constructor(e,t,n,r){this.id=e,this.name=t,this.definition=n,this.collection=r}getValue(e){V(this.name,`Can only get value of field with a name`);let t=e.data[this.name];switch(t?.type){case`richtext`:return V(this.collection,`Rich text field must have a collection`),{type:`richtext`,value:Af(this.collection.data,t.value)};case`vectorsetitem`:return V(this.collection,`Vector set item field must have a collection`),{type:`vectorsetitem`,value:Mf(this.collection.data,t.value)}}return t??null}},$=class extends Xw{constructor(){super(...arguments),L(this,`name`,`Fields`)}},tT=class{constructor(e,t=`asc`){this.field=e,this.direction=t}getHash(){return G(`OrderingField`,this.field.id,this.direction)}},nT=class{constructor(e){L(this,`fields`,[]),e&&this.merge(e)}get length(){return this.fields.length}getHash(){return G(`Ordering`,...this.fields)}push(e){this.fields.push(e)}merge(e){this.fields.push(...e.fields)}equals(e){return this===e?!0:this.length===e.length?this.getHash()===e.getHash():!1}providedByFields(e){for(let{field:t}of this.fields)if(!e.has(t)&&t.name!==Yw)return!1;return!0}},rT=class{constructor(e,t){this.ordering=e,this.resolvedFields=t}getHash(){return G(`RequiredProps`,this.ordering,this.resolvedFields)}get isMinimal(){return this.ordering.length===0&&this.resolvedFields.size===0}canProvide(e){return this.canProvideOrdering(e)&&this.canProvideResolvedFields(e)}canProvideOrdering(e){return this.ordering.length===0?!0:e.canProvideOrdering(this.ordering)}canProvideResolvedFields(e){return this.resolvedFields.size===0?!0:e.canProvideResolvedFields(this.resolvedFields)}},iT=class e{constructor(e){this.parent=e,L(this,`node`),L(this,`ordering`),L(this,`fields`,[])}takeNode(){let e=this.node;return V(e,`Node is missing`),this.node=void 0,e}setNode(e){V(!this.node,`Node already set`),this.node=e}setOrdering(e){this.ordering=e}push(){return new e(this)}replace(){return new e(this.parent)}addField(e){this.fields.push(e)}addFieldsFromScope(e){for(let t of e.fields)this.addField(t)}resolveField(e,t){let n=[];for(let r of this.fields)r.name===e&&(t&&r.collectionName!==t||n.push(r));if(n.length===1)return n[0];if(n.length>1)throw Error(`Ambiguous fields`);return this.parent?.resolveField(e,t)}has(e){return this.fields.includes(e)?!0:this.parent?.has(e)??!1}getRequiredOrdering(){return this.ordering??new nT}getRequiredResolvedFields(){let e=new $;for(let{field:t}of this.fields)t.collection&&e.add(t);return e}getRequiredProps(){return new rT(this.getRequiredOrdering(),this.getRequiredResolvedFields())}getNamedFields(){let e={};for(let{name:t,field:n}of this.fields)e[t]=n;return e}getSingleField(){V(this.fields.length===1,`Scope must contain exactly one field`);let e=this.fields[0];return V(e,`Field must exist`),e.field}},aT=class{constructor(){L(this,`pointers`,new Map),L(this,`values`,new Map)}getKey(){let e=[];for(let[t,n]of this.pointers)e.push(`${t.id}-${n}`);return e.sort().join(`-`)}addValue(e,t){this.values.set(e,t)}getValue(e){return this.values.get(e)??null}mergeValues(e){for(let[t,n]of e.values)this.addValue(t,n)}addPointer(e,t){this.pointers.set(e,t)}getPointer(e){return this.pointers.get(e)}mergePointers(e){for(let[t,n]of e.pointers)this.addPointer(t,n)}merge(e){this.mergeValues(e),this.mergePointers(e)}},oT=class e{constructor(e,t=[]){this.fields=e,this.tuples=t}push(e){this.tuples.push(e)}filter(t){let n=this.tuples.filter(t);return new e(this.fields,n)}map(t,n){return new e(t,this.tuples.map(n))}sort(t){let n=Array.from(this.tuples).sort(t);return new e(this.fields,n)}slice(t,n){let r=this.tuples.slice(t,n);return new e(this.fields,r)}union(t){let n=new $;for(let e of this.fields)t.fields.has(e)&&n.add(e);let r=new Set,i=new e(n);for(let e of this.tuples){let t=e.getKey();r.add(t),i.push(e)}for(let e of t.tuples){let t=e.getKey();r.has(t)||i.push(e)}return i}intersection(t){let n=new $;for(let e of this.fields)t.fields.has(e)&&n.add(e);let r=new Set,i=new e(n);for(let e of this.tuples){let t=e.getKey();r.add(t)}for(let e of t.tuples){let t=e.getKey();r.has(t)&&i.push(e)}return i}},sT=class{constructor(e,t){this.input=e,this.field=t}getHash(){return G(`ProjectionField`,this.input,this.field.id)}},cT=class e extends qw{constructor(e,t,n){let r=e.isSynchronous;for(let e of t)r&&=e.input.isSynchronous;super(r),this.input=e,this.projections=t,this.passthrough=n,L(this,`inputGroup`),this.inputGroup=e.getGroup()}getHash(){return G(`RelationalProject`,this.inputGroup.id,...this.projections,this.passthrough)}getOutputFields(){let e=new $;e.merge(this.passthrough);for(let t of this.projections)e.add(t.field);return e}canProvideOrdering(e){let t=new $;for(let e of this.projections)t.add(e.field);for(let{field:n}of e.fields)if(t.has(n))return!1;return!0}canProvideResolvedFields(){return!0}getInputRequiredProps(e){let t=new $(e.resolvedFields);for(let e of this.projections)t.merge(e.input.referencedFields),t.delete(e.field);return new rT(e.ordering,t)}optimize(e,t){let n=this.getInputRequiredProps(t),r=e.optimizeGroup(this.inputGroup,n),i=new Q(0);for(let t of this.projections){let n=t.input.optimize(e);i=Q.max(i,n)}return new Q(0).add(Q.max(r,i))}getOptimized(t){let n=this.getInputRequiredProps(t);return new e(this.inputGroup.getOptimized(n),this.projections.map(e=>new sT(e.input.getOptimized(),e.field)),this.passthrough)}*evaluate(e){let t=this.getOutputFields(),n=yield*this.input.evaluate(e),r=yield*Fd(n.tuples.map(t=>Fd(this.projections.map(n=>Pd({field:n.field,value:n.input.evaluate(e,t)})))));return n.map(t,(e,t)=>{let n=new aT;n.mergePointers(e);for(let t of this.passthrough){let r=e.getValue(t);n.addValue(t,r)}let i=r[t];V(i,`Projections must exist`);for(let{field:e,value:t}of i)n.addValue(e,t);return n})}},lT={type:0},uT=class extends Kw{constructor(e,t,n){super(n),this.referencedFields=e,this.referencedOuterFields=t,this.isSynchronous=n}evaluateSync(){return jd(this.evaluate(void 0,void 0))}evaluateAsync(){return Md(this.evaluate(void 0,void 0))}},dT={type:0},fT=class{constructor(e,t){this.when=e,this.then=t}getHash(){return G(`CaseCondition`,this.when,this.then)}},pT=class e extends uT{constructor(e,t,n){let r=new $,i=new $,a=!0;e&&(r.merge(e.referencedFields),i.merge(e.referencedOuterFields),a&&=e.isSynchronous);for(let{when:e,then:n}of t)r.merge(e.referencedFields),i.merge(e.referencedOuterFields),a&&=e.isSynchronous,r.merge(n.referencedFields),i.merge(n.referencedOuterFields),a&&=n.isSynchronous;n&&(r.merge(n.referencedFields),i.merge(n.referencedOuterFields),a&&=n.isSynchronous),super(r,i,a),this.input=e,this.conditions=t,this.otherwise=n,L(this,`definition`,{type:`unknown`,isNullable:!0})}getHash(){return G(`ScalarCase`,this.input,...this.conditions,this.otherwise)}optimize(e){this.input?.optimize(e);for(let t of this.conditions)t.when.optimize(e),t.then.optimize(e);return this.otherwise?.optimize(e),new Q(0)}getOptimized(){let t=this.input?.getOptimized(),n=this.conditions.map(e=>new fT(e.when.getOptimized(),e.then.getOptimized())),r=this.otherwise?.getOptimized();return new e(t,n,r)}*evaluate(e,t){let{input:n,conditions:r,otherwise:i}=yield*Pd({input:this.input?.evaluate(e,t)??null,conditions:Fd(this.conditions.map(n=>Pd({when:n.when.evaluate(e,t),then:n.then.evaluate(e,t)}))),otherwise:this.otherwise?.evaluate(e,t)??null});if(this.input){for(let{when:e,then:t}of r)if(Iw.equal(n,e,dT))return t}else for(let{when:e,then:t}of r)if(qd(e))return t;return i}},mT=class{constructor(e,t,n){this.normalizer=e,this.query=t,this.locale=n,L(this,`collectionId`,0),L(this,`indexId`,0),L(this,`fieldId`,0),L(this,`subqueries`,[])}build(){let e=new iT;return this.buildQuery(e,this.query)}buildQuery(e,t){let n={type:`Select`,...t};return this.buildSelect(e,n)}buildSelect(e,t){let n=this.buildFrom(e,t.from),r=n.getRequiredOrdering();if(t.where){let e=n.takeNode(),r=this.buildExpression(n,t.where),i=this.normalizer.newRelationalFilter(e,r);n.setNode(i)}let i=[],a=new $,o;if(t.orderBy){o=new nT;for(let e of t.orderBy)if(e.type===`Identifier`){let t=n.resolveField(e.name,e.collection);if(nt(t))continue;a.add(t.field);let r=new tT(t.field,e.direction);o.push(r)}else{let t=this.buildExpression(n,e),r=new eT(Lf(this.fieldId++),void 0,t.definition,void 0),a=new sT(t,r);i.push(a);let s=new tT(r,e.direction);o.push(s)}o.merge(r)}else o=r;let s=this.buildSelectList(n,t.select,a,i);if(s.setOrdering(o),t.offset){let n=s.takeNode(),r=this.buildExpression(e,t.offset),i=this.normalizer.newRelationalOffset(n,r,o);s.setNode(i)}if(t.limit){let n=s.takeNode(),r=this.buildExpression(e,t.limit),i=this.normalizer.newRelationalLimit(n,r,o);s.setNode(i)}return s}buildSelectList(e,t,n,r){let i=e.push(),a=new $(n),o=[...r];for(let n of t)if(n.type===`Identifier`){let t=e.resolveField(n.name,n.collection);if(nt(t))continue;a.add(t.field),i.addField({...t,name:n.alias??t.name})}else{let t=this.buildExpression(e,n);V(n.alias,`Subqueries should have an alias`);let r=Lf(this.fieldId++),a=n.alias,s=new eT(r,a,t.definition,void 0),c=new sT(t,s);o.push(c),i.addField({field:s,name:a})}let s=e.takeNode(),c=this.normalizer.newRelationalProject(s,o,a);return i.setNode(c),i}buildFrom(e,t){switch(t.type){case`Collection`:return this.buildCollection(e,t);case`LeftJoin`:return this.buildJoin(e,t);default:H(t,`Unsupported from type`)}}buildCollection(e,t){let n=e.push(),r=wf(t.data,this.locale),i=t.alias,a=new Zw(Ff(this.collectionId++),i,r);for(let[e,t]of Object.entries(r.schema)){let r=new eT(Lf(this.fieldId++),e,t,a);n.addField({field:r,name:e,collectionName:i}),a.fields.add(r)}{let e=new eT(Lf(this.fieldId++),Yw,{type:`number`,isNullable:!1},a);n.addField({field:e,name:Yw,collectionName:i});let t=new nT,r=new tT(e);t.push(r),n.setOrdering(t)}for(let e of r.indexes){let t=[];for(let r of e.fields){let e=this.buildExpression(n,r);t.push(e)}let r;e.where&&(r=this.buildExpression(n,e.where));let i=new nT,o=new Qw(If(this.indexId++),e,a,t,r,i);a.indexes.add(o)}let o=this.normalizer.newRelationalScan(a);return n.setNode(o),n}buildJoin(e,t){let n=this.buildFrom(e,t.left),r=this.buildFrom(e,t.right),i=new nT,a=n.getRequiredOrdering();i.merge(a);let o=r.getRequiredOrdering();i.merge(o);let s=e.push();s.addFieldsFromScope(n),s.addFieldsFromScope(r),s.setOrdering(i);let c=this.buildExpression(s,t.constraint),l=n.takeNode(),u=r.takeNode(),d;switch(t.type){case`LeftJoin`:d=this.normalizer.newRelationalLeftJoin(l,u,c);break;default:H(t.type,`Unsupported join type`)}return s.setNode(d),s}buildExpression(e,t){switch(t.type){case`Identifier`:return this.buildIdentifier(e,t);case`LiteralValue`:return this.buildLiteralValue(t);case`FunctionCall`:return this.buildFunctionCall(e,t);case`Case`:return this.buildCase(e,t);case`UnaryOperation`:return this.buildUnaryOperation(e,t);case`BinaryOperation`:return this.buildBinaryOperation(e,t);case`TypeCast`:return this.buildTypeCast(e,t);case`Select`:throw Error(`Subqueries are only supported inside subquery function calls`);default:H(t,`Unsupported expression`)}}buildIdentifier(e,t){let n=e.resolveField(t.name,t.collection);if(n){let e=!1;for(let t of this.subqueries)e?t.referencedOuterFields.add(n.field):(e=t.inScope.has(n),e&&t.referencedFields.add(n.field));return this.normalizer.newScalarVariable(n.field,e)}return this.normalizer.newScalarConstant(Lw,null)}buildLiteralValue(e){let t=Iw.parse(e.value);return this.normalizer.newScalarConstant(Lw,t)}buildFunctionCall(e,t){let n=n=>{let r=t.arguments[n];return V(r,`Missing argument`),this.buildExpression(e,r)},r=t.functionName;switch(r){case`CONTAINS`:{let e=n(0),t=n(1);return this.normalizer.newScalarContains(e,t)}case`STARTS_WITH`:{let e=n(0),t=n(1);return this.normalizer.newScalarStartsWith(e,t)}case`ENDS_WITH`:{let e=n(0),t=n(1);return this.normalizer.newScalarEndsWith(e,t)}case`LENGTH`:{let e=n(0);return this.normalizer.newScalarLength(e)}case`INDEX_OF`:{let e=n(0),t=n(1);return this.normalizer.newScalarIndexOf(e,t)}case`ARRAY`:{let n=t.arguments[0];return V(n,`Missing argument`),V(n.type===`Select`,`Subqueries require a select expression`),this.buildSubqueryArray(e,n)}case`FLAT_ARRAY`:{let n=t.arguments[0];return V(n,`Missing argument`),V(n.type===`Select`,`Subqueries require a select expression`),this.buildSubqueryFlatArray(e,n)}case`INTERSECT`:{let e=n(0),t=n(1);return this.normalizer.newScalarIntersection(e,t)}default:H(r,`Unsupported function name`)}}buildSubqueryArray(e,t){try{let n=new hT(e);this.subqueries.push(n);let r=this.buildSelect(e,t),i=r.takeNode(),a=r.getNamedFields(),o=r.getRequiredOrdering(),s=n.referencedFields,c=n.referencedOuterFields;return this.normalizer.newScalarArray(i,a,o,s,c)}finally{this.subqueries.pop()}}buildSubqueryFlatArray(e,t){try{let n=new hT(e);this.subqueries.push(n);let r=this.buildSelect(e,t),i=r.takeNode(),a=r.getSingleField(),o=r.getRequiredOrdering(),s=n.referencedFields,c=n.referencedOuterFields;return this.normalizer.newScalarFlatArray(i,a,o,s,c)}finally{this.subqueries.pop()}}buildCase(e,t){let n;t.value&&(n=this.buildExpression(e,t.value));let r=t.conditions.map(t=>new fT(this.buildExpression(e,t.when),this.buildExpression(e,t.then))),i;return t.else&&(i=this.buildExpression(e,t.else)),this.normalizer.newScalarCase(n,r,i)}buildUnaryOperation(e,t){let n=this.buildExpression(e,t.value);switch(t.operator){case`not`:return this.normalizer.newScalarNot(n);default:H(t.operator,`Unsupported unary operator`)}}buildBinaryOperation(e,t){let n=this.buildExpression(e,t.left),r=this.buildExpression(e,t.right);switch(t.operator){case`and`:return this.normalizer.newScalarAnd(n,r);case`or`:return this.normalizer.newScalarOr(n,r);case`==`:return this.normalizer.newScalarEquals(n,r);case`!=`:return this.normalizer.newScalarNotEquals(n,r);case`<`:return this.normalizer.newScalarLessThan(n,r);case`<=`:return this.normalizer.newScalarLessThanOrEqual(n,r);case`>`:return this.normalizer.newScalarGreaterThan(n,r);case`>=`:return this.normalizer.newScalarGreaterThanOrEqual(n,r);case`in`:return this.normalizer.newScalarIn(n,r);default:H(t.operator,`Unsupported binary operator`)}}buildTypeCast(e,t){let n=this.buildExpression(e,t.value);switch(t.dataType){case`BOOLEAN`:return this.normalizer.newScalarCast(n,{type:`boolean`,isNullable:!0});case`DATE`:return this.normalizer.newScalarCast(n,{type:`date`,isNullable:!0});case`NUMBER`:return this.normalizer.newScalarCast(n,{type:`number`,isNullable:!0});case`STRING`:return this.normalizer.newScalarCast(n,{type:`string`,isNullable:!0});default:throw Error(`Unsupported data type`)}}},hT=class{constructor(e){this.inScope=e,L(this,`referencedFields`,new $),L(this,`referencedOuterFields`,new $)}},gT=class e extends qw{constructor(e,t){super(e.isSynchronous&&t.isSynchronous),this.input=e,this.predicate=t,L(this,`inputGroup`),this.inputGroup=e.getGroup()}getHash(){return G(`RelationalFilter`,this.inputGroup.id,this.predicate)}getOutputFields(){return this.inputGroup.relational.outputFields}canProvideOrdering(){return!0}canProvideResolvedFields(){return!0}getInputRequiredProps(e){let t=new $(e.resolvedFields);return t.merge(this.predicate.referencedFields),new rT(e.ordering,t)}optimize(e,t){let n=this.getInputRequiredProps(t),r=e.optimizeGroup(this.inputGroup,n),i=this.predicate.optimize(e);return new Q(0).add(Q.max(r,i))}getOptimized(t){let n=this.getInputRequiredProps(t);return new e(this.inputGroup.getOptimized(n),this.predicate.getOptimized())}*evaluate(e){let t=yield*this.input.evaluate(e),n=yield*Fd(t.tuples.map(t=>this.predicate.evaluate(e,t)));return t.filter((e,t)=>qd(n[t]??null))}},_T=class e extends qw{constructor(e,t){super(!1),this.index=e,this.query=t}getHash(){return G(`RelationalIndexLookup`,this.index.id,...this.query)}getOutputFields(){return this.index.collection.fields}canProvideOrdering(e){return e.equals(this.index.ordering)}canProvideResolvedFields(e){return e.subsetOf(this.index.resolvedFields)}optimize(){let e=this.query.every(e=>e.type===`All`);return Q.estimate(1,e?100*Uw:50*Uw)}getOptimized(){return new e(this.index,this.query)}*evaluate(){let e=this.index,t=e.collection;return new oT(this.getOutputFields(),(yield e.data.lookupItems(this.query)).map(n=>{let r=new aT;for(let i of e.resolvedFields){let e=i.getValue(n);r.addPointer(t,n.pointer),r.addValue(i,e)}return r}))}},vT=class e extends qw{constructor(e,t){super(e.isSynchronous&&t.isSynchronous),this.left=e,this.right=t,L(this,`leftGroup`),L(this,`rightGroup`),this.leftGroup=e.getGroup(),this.rightGroup=t.getGroup()}getHash(){return G(`RelationalIntersection`,this.leftGroup.id,this.rightGroup.id)}getOutputFields(){let e=new $,t=this.leftGroup.relational.outputFields,n=this.rightGroup.relational.outputFields;for(let r of t)n.has(r)&&e.add(r);return e}canProvideOrdering(){return!1}canProvideResolvedFields(){return!0}getChildRequiredProps(e){return new rT(new nT,e.resolvedFields)}optimize(e,t){let n=this.getChildRequiredProps(t),r=e.optimizeGroup(this.leftGroup,n),i=this.getChildRequiredProps(t),a=e.optimizeGroup(this.rightGroup,i);return Q.max(r,a)}getOptimized(t){let n=this.getChildRequiredProps(t),r=this.leftGroup.getOptimized(n),i=this.getChildRequiredProps(t);return new e(r,this.rightGroup.getOptimized(i))}*evaluate(e){let{left:t,right:n}=yield*Pd({left:this.left.evaluate(e),right:this.right.evaluate(e)});return t.intersection(n)}},yT=class e extends uT{constructor(e,t){let n=new $;n.merge(e.referencedFields),n.merge(t.referencedFields);let r=new $;r.merge(e.referencedOuterFields),r.merge(t.referencedOuterFields);let i=e.isSynchronous&&t.isSynchronous;super(n,r,i),this.left=e,this.right=t,L(this,`definition`,{type:`boolean`,isNullable:!1})}getHash(){return G(`ScalarEquals`,this.left,this.right)}optimize(e){let t=this.left.optimize(e),n=this.right.optimize(e);return Q.max(t,n)}getOptimized(){return new e(this.left.getOptimized(),this.right.getOptimized())}*evaluate(e,t){let{left:n,right:r}=yield*Pd({left:this.left.evaluate(e,t),right:this.right.evaluate(e,t)});return{type:`boolean`,value:Iw.equal(n,r,lT)}}},bT=class e extends qw{constructor(e,t,n){super(e.isSynchronous&&t.isSynchronous&&n.isSynchronous),this.left=e,this.right=t,this.constraint=n,L(this,`leftGroup`),L(this,`rightGroup`),this.leftGroup=e.getGroup(),this.rightGroup=t.getGroup()}getHash(){return G(`RelationalLeftJoin`,this.leftGroup.id,this.rightGroup.id,this.constraint)}getOutputFields(){let e=new $;return e.merge(this.leftGroup.relational.outputFields),e.merge(this.rightGroup.relational.outputFields),e}canProvideOrdering(){return!1}canProvideResolvedFields(){return!0}getChildRequiredProps(e,t){let n=new $,r=e.relational.outputFields;for(let e of t.resolvedFields)r.has(e)&&n.add(e);for(let e of this.constraint.referencedFields)r.has(e)&&n.add(e);return new rT(new nT,n)}optimize(e,t){let n=this.getChildRequiredProps(this.leftGroup,t),r=e.optimizeGroup(this.leftGroup,n),i=this.getChildRequiredProps(this.rightGroup,t),a=e.optimizeGroup(this.rightGroup,i),o=this.constraint.optimize(e);return Q.max(Q.max(r,a),o)}getOptimized(t){let n=this.getChildRequiredProps(this.leftGroup,t),r=this.leftGroup.getOptimized(n),i=this.getChildRequiredProps(this.rightGroup,t);return new e(r,this.rightGroup.getOptimized(i),this.constraint.getOptimized())}*evaluateScalarEquals(e,t,n,r,i){let a=new Map;for(let e of t.tuples){let t=yield*r.evaluate(i,e),n=JSON.stringify(t?.value??null),o=a.get(n)??[];o.push(e),a.set(n,o)}let o=new oT(this.getOutputFields());for(let t of e.tuples){let e=yield*n.evaluate(i,t),r=JSON.stringify(e?.value??null),s=a.get(r)??[];if(s.length===0)o.push(t);else for(let e of s){let n=new aT;n.merge(t),n.merge(e),o.push(n)}}return o}*evaluate(e){let{left:t,right:n}=yield*Pd({left:this.left.evaluate(e),right:this.right.evaluate(e)});if(this.constraint instanceof yT){if(this.constraint.left.referencedFields.subsetOf(this.leftGroup.relational.outputFields)&&this.constraint.right.referencedFields.subsetOf(this.rightGroup.relational.outputFields))return yield*this.evaluateScalarEquals(t,n,this.constraint.left,this.constraint.right,e);if(this.constraint.right.referencedFields.subsetOf(this.leftGroup.relational.outputFields)&&this.constraint.left.referencedFields.subsetOf(this.rightGroup.relational.outputFields))return yield*this.evaluateScalarEquals(t,n,this.constraint.right,this.constraint.left,e)}let r=new oT(this.getOutputFields());for(let i of t.tuples){let t=!1;for(let a of n.tuples){let n=new aT;n.merge(i),n.merge(a),qd(yield*this.constraint.evaluate(e,n))&&(r.push(n),t=!0)}t||r.push(i)}return r}},xT=class e extends qw{constructor(e,t,n){super(e.isSynchronous&&t.isSynchronous&&n.isSynchronous),this.left=e,this.right=t,this.constraint=n,L(this,`leftGroup`),L(this,`rightGroup`),this.leftGroup=e.getGroup(),this.rightGroup=t.getGroup()}getHash(){return G(`RelationalRightJoin`,this.leftGroup.id,this.rightGroup.id,this.constraint)}getOutputFields(){let e=new $;return e.merge(this.leftGroup.relational.outputFields),e.merge(this.rightGroup.relational.outputFields),e}canProvideOrdering(){return!1}canProvideResolvedFields(){return!0}getChildRequiredProps(e,t){let n=new $,r=e.relational.outputFields;for(let e of t.resolvedFields)r.has(e)&&n.add(e);for(let e of this.constraint.referencedFields)r.has(e)&&n.add(e);return new rT(new nT,n)}optimize(e,t){let n=this.getChildRequiredProps(this.leftGroup,t),r=e.optimizeGroup(this.leftGroup,n),i=this.getChildRequiredProps(this.rightGroup,t),a=e.optimizeGroup(this.rightGroup,i),o=this.constraint.optimize(e);return Q.max(Q.max(r,a),o)}getOptimized(t){let n=this.getChildRequiredProps(this.leftGroup,t),r=this.leftGroup.getOptimized(n),i=this.getChildRequiredProps(this.rightGroup,t);return new e(r,this.rightGroup.getOptimized(i),this.constraint.getOptimized())}*evaluateScalarEquals(e,t,n,r,i){let a=new Map;for(let t of e.tuples){let e=yield*n.evaluate(i,t),r=JSON.stringify(e?.value??null),o=a.get(r)??[];o.push(t),a.set(r,o)}let o=new oT(this.getOutputFields());for(let e of t.tuples){let t=yield*r.evaluate(i,e),n=JSON.stringify(t?.value??null),s=a.get(n)??[];if(s.length===0)o.push(e);else for(let t of s){let n=new aT;n.merge(e),n.merge(t),o.push(n)}}return o}*evaluate(e){let{left:t,right:n}=yield*Pd({left:this.left.evaluate(e),right:this.right.evaluate(e)});if(this.constraint instanceof yT){if(this.constraint.left.referencedFields.subsetOf(this.leftGroup.relational.outputFields)&&this.constraint.right.referencedFields.subsetOf(this.rightGroup.relational.outputFields))return yield*this.evaluateScalarEquals(t,n,this.constraint.left,this.constraint.right,e);if(this.constraint.right.referencedFields.subsetOf(this.leftGroup.relational.outputFields)&&this.constraint.left.referencedFields.subsetOf(this.rightGroup.relational.outputFields))return yield*this.evaluateScalarEquals(t,n,this.constraint.right,this.constraint.left,e)}let r=new oT(this.getOutputFields());for(let i of n.tuples){let n=!1;for(let a of t.tuples){let t=new aT;t.merge(i),t.merge(a),qd(yield*this.constraint.evaluate(e,t))&&(r.push(t),n=!0)}n||r.push(i)}return r}},ST=class e extends qw{constructor(e){super(!1),this.collection=e}getHash(){return G(`RelationalScan`,this.collection.id)}getOutputFields(){return this.collection.fields}canProvideOrdering(){return!1}canProvideResolvedFields(e){return e.subsetOf(this.collection.fields)}optimize(){return Q.estimate(1,200*Uw)}getOptimized(){return new e(this.collection)}*evaluate(){let e=this.collection,t=this.getOutputFields();return new oT(t,(yield e.data.scanItems()).map(n=>{let r=new aT;for(let i of t){let t=i.getValue(n);r.addPointer(e,n.pointer),r.addValue(i,t)}return r}))}},CT=class e extends qw{constructor(e,t){super(e.isSynchronous&&t.isSynchronous),this.left=e,this.right=t,L(this,`leftGroup`),L(this,`rightGroup`),this.leftGroup=e.getGroup(),this.rightGroup=t.getGroup()}getHash(){return G(`RelationalUnion`,this.leftGroup.id,this.rightGroup.id)}getOutputFields(){let e=new $,t=this.leftGroup.relational.outputFields,n=this.rightGroup.relational.outputFields;for(let r of t)n.has(r)&&e.add(r);return e}canProvideOrdering(){return!1}canProvideResolvedFields(){return!0}getChildRequiredProps(e){return new rT(new nT,e.resolvedFields)}optimize(e,t){let n=this.getChildRequiredProps(t),r=e.optimizeGroup(this.leftGroup,n),i=this.getChildRequiredProps(t),a=e.optimizeGroup(this.rightGroup,i);return Q.max(r,a)}getOptimized(t){let n=this.getChildRequiredProps(t),r=this.leftGroup.getOptimized(n),i=this.getChildRequiredProps(t);return new e(r,this.rightGroup.getOptimized(i))}*evaluate(e){let{left:t,right:n}=yield*Pd({left:this.left.evaluate(e),right:this.right.evaluate(e)});return t.union(n)}},wT=class e extends uT{constructor(e,t){let n=new $;n.merge(e.referencedFields),n.merge(t.referencedFields);let r=new $;r.merge(e.referencedOuterFields),r.merge(t.referencedOuterFields);let i=e.isSynchronous&&t.isSynchronous;super(n,r,i),this.left=e,this.right=t,L(this,`definition`,{type:`boolean`,isNullable:!1})}getHash(){return G(`ScalarAnd`,this.left,this.right)}optimize(e){let t=this.left.optimize(e),n=this.right.optimize(e);return Q.max(t,n)}getOptimized(){return new e(this.left.getOptimized(),this.right.getOptimized())}*evaluate(e,t){let{left:n,right:r}=yield*Pd({left:this.left.evaluate(e,t),right:this.right.evaluate(e,t)});return{type:`boolean`,value:qd(n)&&qd(r)}}},TT=class extends uT{constructor(e,t){let n=new $,r=new $;super(n,r,!0),this.definition=e,this.value=t}getHash(){return G(`ScalarConstant`,this.definition,this.value)}optimize(){return new Q(0)}getOptimized(){return this}*evaluate(){return this.value}},ET={type:0},DT=class e extends uT{constructor(e,t){let n=new $;n.merge(e.referencedFields),n.merge(t.referencedFields);let r=new $;r.merge(e.referencedOuterFields),r.merge(t.referencedOuterFields);let i=e.isSynchronous&&t.isSynchronous;super(n,r,i),this.source=e,this.target=t,L(this,`definition`,{type:`boolean`,isNullable:!1})}getHash(){return G(`ScalarContains`,this.source,this.target)}optimize(e){let t=this.source.optimize(e),n=this.target.optimize(e);return Q.max(t,n)}getOptimized(){return new e(this.source.getOptimized(),this.target.getOptimized())}*evaluate(e,t){let{source:n,target:r}=yield*Pd({source:this.source.evaluate(e,t),target:this.target.evaluate(e,t)});return{type:`boolean`,value:Iw.contains(n,r,ET)}}},OT={type:0},kT=class e extends uT{constructor(e,t){let n=new $;n.merge(e.referencedFields),n.merge(t.referencedFields);let r=new $;r.merge(e.referencedOuterFields),r.merge(t.referencedOuterFields);let i=e.isSynchronous&&t.isSynchronous;super(n,r,i),this.source=e,this.target=t,L(this,`definition`,{type:`boolean`,isNullable:!1})}getHash(){return G(`ScalarEndsWith`,this.source,this.target)}optimize(e){let t=this.source.optimize(e),n=this.target.optimize(e);return Q.max(t,n)}getOptimized(){return new e(this.source.getOptimized(),this.target.getOptimized())}*evaluate(e,t){let{source:n,target:r}=yield*Pd({source:this.source.evaluate(e,t),target:this.target.evaluate(e,t)});return{type:`boolean`,value:Iw.endsWith(n,r,OT)}}},AT=class e extends uT{constructor(e,t){let n=new $;n.merge(e.referencedFields),n.merge(t.referencedFields);let r=new $;r.merge(e.referencedOuterFields),r.merge(t.referencedOuterFields);let i=e.isSynchronous&&t.isSynchronous;super(n,r,i),this.left=e,this.right=t,L(this,`definition`,{type:`boolean`,isNullable:!1})}getHash(){return G(`ScalarGreaterThan`,this.left,this.right)}optimize(e){let t=this.left.optimize(e),n=this.right.optimize(e);return Q.max(t,n)}getOptimized(){return new e(this.left.getOptimized(),this.right.getOptimized())}*evaluate(e,t){let{left:n,right:r}=yield*Pd({left:this.left.evaluate(e,t),right:this.right.evaluate(e,t)});return{type:`boolean`,value:Iw.greaterThan(n,r,lT)}}},jT=class e extends uT{constructor(e,t){let n=new $;n.merge(e.referencedFields),n.merge(t.referencedFields);let r=new $;r.merge(e.referencedOuterFields),r.merge(t.referencedOuterFields);let i=e.isSynchronous&&t.isSynchronous;super(n,r,i),this.left=e,this.right=t,L(this,`definition`,{type:`boolean`,isNullable:!1})}getHash(){return G(`ScalarGreaterThanOrEqual`,this.left,this.right)}optimize(e){let t=this.left.optimize(e),n=this.right.optimize(e);return Q.max(t,n)}getOptimized(){return new e(this.left.getOptimized(),this.right.getOptimized())}*evaluate(e,t){let{left:n,right:r}=yield*Pd({left:this.left.evaluate(e,t),right:this.right.evaluate(e,t)});return{type:`boolean`,value:Iw.greaterThanOrEqual(n,r,lT)}}},MT=class e extends uT{constructor(e,t){let n=new $;n.merge(e.referencedFields),n.merge(t.referencedFields);let r=new $;r.merge(e.referencedOuterFields),r.merge(t.referencedOuterFields);let i=e.isSynchronous&&t.isSynchronous;super(n,r,i),this.left=e,this.right=t,L(this,`definition`,{type:`boolean`,isNullable:!1})}getHash(){return G(`ScalarLessThan`,this.left,this.right)}optimize(e){let t=this.left.optimize(e),n=this.right.optimize(e);return Q.max(t,n)}getOptimized(){return new e(this.left.getOptimized(),this.right.getOptimized())}*evaluate(e,t){let{left:n,right:r}=yield*Pd({left:this.left.evaluate(e,t),right:this.right.evaluate(e,t)});return{type:`boolean`,value:Iw.lessThan(n,r,lT)}}},NT=class e extends uT{constructor(e,t){let n=new $;n.merge(e.referencedFields),n.merge(t.referencedFields);let r=new $;r.merge(e.referencedOuterFields),r.merge(t.referencedOuterFields);let i=e.isSynchronous&&t.isSynchronous;super(n,r,i),this.left=e,this.right=t,L(this,`definition`,{type:`boolean`,isNullable:!1})}getHash(){return G(`ScalarLessThanOrEqual`,this.left,this.right)}optimize(e){let t=this.left.optimize(e),n=this.right.optimize(e);return Q.max(t,n)}getOptimized(){return new e(this.left.getOptimized(),this.right.getOptimized())}*evaluate(e,t){let{left:n,right:r}=yield*Pd({left:this.left.evaluate(e,t),right:this.right.evaluate(e,t)});return{type:`boolean`,value:Iw.lessThanOrEqual(n,r,lT)}}},PT=class e extends uT{constructor(e,t){let n=new $;n.merge(e.referencedFields),n.merge(t.referencedFields);let r=new $;r.merge(e.referencedOuterFields),r.merge(t.referencedOuterFields);let i=e.isSynchronous&&t.isSynchronous;super(n,r,i),this.left=e,this.right=t,L(this,`definition`,{type:`boolean`,isNullable:!1})}getHash(){return G(`ScalarNotEquals`,this.left,this.right)}optimize(e){let t=this.left.optimize(e),n=this.right.optimize(e);return Q.max(t,n)}getOptimized(){return new e(this.left.getOptimized(),this.right.getOptimized())}*evaluate(e,t){let{left:n,right:r}=yield*Pd({left:this.left.evaluate(e,t),right:this.right.evaluate(e,t)});return{type:`boolean`,value:!Iw.equal(n,r,lT)}}},FT=class e extends uT{constructor(e,t){let n=new $;n.merge(e.referencedFields),n.merge(t.referencedFields);let r=new $;r.merge(e.referencedOuterFields),r.merge(t.referencedOuterFields);let i=e.isSynchronous&&t.isSynchronous;super(n,r,i),this.left=e,this.right=t,L(this,`definition`,{type:`boolean`,isNullable:!1})}getHash(){return G(`ScalarOr`,this.left,this.right)}optimize(e){let t=this.left.optimize(e),n=this.right.optimize(e);return Q.max(t,n)}getOptimized(){return new e(this.left.getOptimized(),this.right.getOptimized())}*evaluate(e,t){let{left:n,right:r}=yield*Pd({left:this.left.evaluate(e,t),right:this.right.evaluate(e,t)});return{type:`boolean`,value:qd(n)||qd(r)}}},IT={type:0},LT=class e extends uT{constructor(e,t){let n=new $;n.merge(e.referencedFields),n.merge(t.referencedFields);let r=new $;r.merge(e.referencedOuterFields),r.merge(t.referencedOuterFields);let i=e.isSynchronous&&t.isSynchronous;super(n,r,i),this.source=e,this.target=t,L(this,`definition`,{type:`boolean`,isNullable:!1})}getHash(){return G(`ScalarStartsWith`,this.source,this.target)}optimize(e){let t=this.source.optimize(e),n=this.target.optimize(e);return Q.max(t,n)}getOptimized(){return new e(this.source.getOptimized(),this.target.getOptimized())}*evaluate(e,t){let{source:n,target:r}=yield*Pd({source:this.source.evaluate(e,t),target:this.target.evaluate(e,t)});return{type:`boolean`,value:Iw.startsWith(n,r,IT)}}},RT=class{constructor(e){this.normalizer=e,L(this,`memo`),this.memo=e.memo}explore(e){let t=e.getGroup();if(e instanceof bT){let n=new xT(e.right,e.left,e.constraint);this.memo.addRelational(n,t)}if(e instanceof gT){if(e.predicate instanceof wT){let n=new vT(this.normalizer.newRelationalFilter(e.input,e.predicate.left),this.normalizer.newRelationalFilter(e.input,e.predicate.right));this.memo.addRelational(n,t)}if(e.predicate instanceof FT){let n=new CT(this.normalizer.newRelationalFilter(e.input,e.predicate.left),this.normalizer.newRelationalFilter(e.input,e.predicate.right));this.memo.addRelational(n,t)}}if(e instanceof ST)for(let n of e.collection.indexes){if(n.constraint)continue;let e=new _T(n,Rf(n.lookupNodes.length));this.memo.addRelational(e,t)}if(e instanceof gT){for(let n of e.inputGroup.nodes)if(n instanceof ST)for(let r of n.collection.indexes){if(e.predicate instanceof yT&&e.predicate.left===r.lookupNodes[0]&&e.predicate.right instanceof TT&&r.data.supportedLookupTypes.includes(`Equals`)){let n=Rf(r.lookupNodes.length);n[0]={type:`Equals`,value:e.predicate.right.value};let i=new _T(r,n);this.memo.addRelational(i,t)}if(e.predicate instanceof PT&&e.predicate.left===r.lookupNodes[0]&&e.predicate.right instanceof TT&&r.data.supportedLookupTypes.includes(`NotEquals`)){let n=Rf(r.lookupNodes.length);n[0]={type:`NotEquals`,value:e.predicate.right.value};let i=new _T(r,n);this.memo.addRelational(i,t)}if(e.predicate instanceof MT&&e.predicate.left===r.lookupNodes[0]&&e.predicate.right instanceof TT&&r.data.supportedLookupTypes.includes(`LessThan`)){let n=Rf(r.lookupNodes.length);n[0]={type:`LessThan`,value:e.predicate.right.value,inclusive:!1};let i=new _T(r,n);this.memo.addRelational(i,t)}if(e.predicate instanceof NT&&e.predicate.left===r.lookupNodes[0]&&e.predicate.right instanceof TT&&r.data.supportedLookupTypes.includes(`LessThan`)){let n=Rf(r.lookupNodes.length);n[0]={type:`LessThan`,value:e.predicate.right.value,inclusive:!0};let i=new _T(r,n);this.memo.addRelational(i,t)}if(e.predicate instanceof AT&&e.predicate.left===r.lookupNodes[0]&&e.predicate.right instanceof TT&&r.data.supportedLookupTypes.includes(`GreaterThan`)){let n=Rf(r.lookupNodes.length);n[0]={type:`GreaterThan`,value:e.predicate.right.value,inclusive:!1};let i=new _T(r,n);this.memo.addRelational(i,t)}if(e.predicate instanceof jT&&e.predicate.left===r.lookupNodes[0]&&e.predicate.right instanceof TT&&r.data.supportedLookupTypes.includes(`GreaterThan`)){let n=Rf(r.lookupNodes.length);n[0]={type:`GreaterThan`,value:e.predicate.right.value,inclusive:!0};let i=new _T(r,n);this.memo.addRelational(i,t)}if(e.predicate instanceof DT&&e.predicate.source===r.lookupNodes[0]&&e.predicate.target instanceof TT&&r.data.supportedLookupTypes.includes(`Contains`)){let n=Rf(r.lookupNodes.length);n[0]={type:`Contains`,value:e.predicate.target.value};let i=new _T(r,n);this.memo.addRelational(i,t)}if(e.predicate instanceof LT&&e.predicate.source===r.lookupNodes[0]&&e.predicate.target instanceof TT&&r.data.supportedLookupTypes.includes(`StartsWith`)){let n=Rf(r.lookupNodes.length);n[0]={type:`StartsWith`,value:e.predicate.target.value};let i=new _T(r,n);this.memo.addRelational(i,t)}if(e.predicate instanceof kT&&e.predicate.source===r.lookupNodes[0]&&e.predicate.target instanceof TT&&r.data.supportedLookupTypes.includes(`EndsWith`)){let n=Rf(r.lookupNodes.length);n[0]={type:`EndsWith`,value:e.predicate.target.value};let i=new _T(r,n);this.memo.addRelational(i,t)}}}}},zT=class{constructor(e){this.outputFields=e}isCompatible(e){return this.outputFields.equals(e.outputFields)}},BT=class{constructor(){L(this,`nodes`,new Map),L(this,`groups`,[])}addGroup(e){let t=new Ww(Df(this.groups.length),e);return this.groups.push(t),t}addRelational(e,t){let n=e.getHash(),r=this.nodes.get(n);if(r)return r;this.nodes.set(n,e);let i=new zT(e.getOutputFields());return t??=this.addGroup(i),t.addNode(e),V(i.isCompatible(t.relational),`Group has inconsistent relational props`),e}addScalar(e){let t=e.getHash();return this.nodes.get(t)||(this.nodes.set(t,e),e)}},VT=class e extends qw{constructor(e,t,n){super(e.isSynchronous&&t.isSynchronous),this.input=e,this.limit=t,this.ordering=n,L(this,`inputGroup`),this.inputGroup=e.getGroup()}getHash(){return G(`RelationalLimit`,this.inputGroup.id,this.limit)}getOutputFields(){return this.inputGroup.relational.outputFields}canProvideOrdering(e){return e.equals(this.ordering)}canProvideResolvedFields(){return!0}getInputRequiredProps(e){let t=new $(e.resolvedFields);return t.merge(this.limit.referencedFields),new rT(this.ordering,t)}optimize(e,t){let n=this.getInputRequiredProps(t),r=e.optimizeGroup(this.inputGroup,n),i=this.limit.optimize(e);return new Q(0).add(Q.max(r,i))}getOptimized(t){let n=this.getInputRequiredProps(t);return new e(this.inputGroup.getOptimized(n),this.limit.getOptimized(),this.ordering)}*evaluate(e){let{input:t,limit:n}=yield*Pd({input:this.input.evaluate(e),limit:this.limit.evaluate(e,void 0)}),r=sf(n)??1/0;return r===1/0?t:t.slice(0,r)}},HT=class e extends qw{constructor(e,t,n){super(e.isSynchronous&&t.isSynchronous),this.input=e,this.offset=t,this.ordering=n,L(this,`inputGroup`),this.inputGroup=e.getGroup()}getHash(){return G(`RelationalOffset`,this.inputGroup.id,this.offset)}getOutputFields(){return this.inputGroup.relational.outputFields}canProvideOrdering(e){return e.equals(this.ordering)}canProvideResolvedFields(){return!0}getInputRequiredProps(e){let t=new $(e.resolvedFields);return t.merge(this.offset.referencedFields),new rT(this.ordering,t)}optimize(e,t){let n=this.getInputRequiredProps(t),r=e.optimizeGroup(this.inputGroup,n),i=this.offset.optimize(e);return new Q(0).add(Q.max(r,i))}getOptimized(t){let n=this.getInputRequiredProps(t);return new e(this.inputGroup.getOptimized(n),this.offset.getOptimized(),this.ordering)}*evaluate(e){let{input:t,offset:n}=yield*Pd({input:this.input.evaluate(e),offset:this.offset.evaluate(e,void 0)}),r=sf(n)??0;return r===0?t:t.slice(r)}},UT=class e extends uT{constructor(e,t,n,r,i){super(r,i,e.isSynchronous),this.input=e,this.namedFields=t,this.ordering=n,this.referencedFields=r,this.referencedOuterFields=i,L(this,`inputGroup`),L(this,`definition`),this.inputGroup=e.getGroup();let a={},o=Object.entries(t);for(let[e,t]of o)a[e]=t.definition;this.definition={type:`array`,isNullable:!1,definition:{type:`object`,isNullable:!1,definitions:a}}}getHash(){let e={},t=Object.entries(this.namedFields);for(let[n,r]of t)e[n]=r.id;return G(`ScalarArray`,this.inputGroup.id,e,this.ordering,this.referencedFields,this.referencedOuterFields)}getInputRequiredProps(){let e=new $,t=Object.values(this.namedFields);for(let n of t)nt(n.collection)||e.add(n);return new rT(this.ordering,e)}optimize(e){let t=this.getInputRequiredProps(),n=e.optimizeGroup(this.inputGroup,t);return new Q(0).add(n)}getOptimized(){let t=this.getInputRequiredProps();return new e(this.inputGroup.getOptimized(t),this.namedFields,this.ordering,this.referencedFields,this.referencedOuterFields)}*evaluate(e,t){let n=new aT;e&&n.merge(e),t&&n.merge(t);let r=yield*this.input.evaluate(n),i=Object.entries(this.namedFields);return{type:`array`,value:r.tuples.map(e=>{let t={};for(let[n,r]of i)t[n]=e.getValue(r);return{type:`object`,value:t}})}}},WT=class e extends uT{constructor(e,t){super(e.referencedFields,e.referencedOuterFields,e.isSynchronous),this.input=e,this.definition=t,V(t.isNullable,`Unsupported non-nullable cast`)}getHash(){return G(`ScalarCast`,this.input,this.definition)}optimize(e){return this.input.optimize(e)}getOptimized(){return new e(this.input.getOptimized(),this.definition)}*evaluate(e,t){let n=yield*this.input.evaluate(e,t);return Iw.cast(n,this.definition)}},GT=class e extends uT{constructor(e,t,n,r,i){super(r,i,e.isSynchronous),this.input=e,this.field=t,this.ordering=n,this.referencedFields=r,this.referencedOuterFields=i,L(this,`inputGroup`),L(this,`definition`),this.inputGroup=e.getGroup(),this.definition={type:`array`,isNullable:!1,definition:t.definition}}getHash(){return G(`ScalarFlatArray`,this.inputGroup.id,this.field.id,this.ordering,this.referencedFields,this.referencedOuterFields)}getInputRequiredProps(){let e=new $;return nt(this.field.collection)||e.add(this.field),new rT(this.ordering,e)}optimize(e){let t=this.getInputRequiredProps(),n=e.optimizeGroup(this.inputGroup,t);return new Q(0).add(n)}getOptimized(){let t=this.getInputRequiredProps();return new e(this.inputGroup.getOptimized(t),this.field,this.ordering,this.referencedFields,this.referencedOuterFields)}*evaluate(e,t){let n=new aT;return e&&n.merge(e),t&&n.merge(t),{type:`array`,value:(yield*this.input.evaluate(n)).tuples.map(e=>e.getValue(this.field))}}},KT={type:0},qT=class e extends uT{constructor(e,t){let n=new $;n.merge(e.referencedFields),n.merge(t.referencedFields);let r=new $;r.merge(e.referencedOuterFields),r.merge(t.referencedOuterFields);let i=e.isSynchronous&&t.isSynchronous;super(n,r,i),this.left=e,this.right=t,L(this,`definition`,{type:`boolean`,isNullable:!1})}getHash(){return G(`ScalarIn`,this.left,this.right)}optimize(e){let t=this.left.optimize(e),n=this.right.optimize(e);return Q.max(t,n)}getOptimized(){return new e(this.left.getOptimized(),this.right.getOptimized())}*evaluate(e,t){let{left:n,right:r}=yield*Pd({left:this.left.evaluate(e,t),right:this.right.evaluate(e,t)});return{type:`boolean`,value:Iw.in(n,r,KT)}}},JT={type:1},YT=class e extends uT{constructor(e,t){let n=new $;n.merge(e.referencedFields),n.merge(t.referencedFields);let r=new $;r.merge(e.referencedOuterFields),r.merge(t.referencedOuterFields);let i=e.isSynchronous&&t.isSynchronous;super(n,r,i),this.source=e,this.target=t,L(this,`definition`,{type:`number`,isNullable:!1})}getHash(){return G(`ScalarIndexOf`,this.source,this.target)}optimize(e){let t=this.source.optimize(e),n=this.target.optimize(e);return Q.max(t,n)}getOptimized(){return new e(this.source.getOptimized(),this.target.getOptimized())}*evaluate(e,t){let{source:n,target:r}=yield*Pd({source:this.source.evaluate(e,t),target:this.target.evaluate(e,t)});return{type:`number`,value:Iw.indexOf(n,r,JT)}}},XT=class e extends uT{constructor(e,t){let n=new $;n.merge(e.referencedFields),n.merge(t.referencedFields);let r=new $;r.merge(e.referencedOuterFields),r.merge(t.referencedOuterFields);let i=e.isSynchronous&&t.isSynchronous;super(n,r,i),this.left=e,this.right=t,L(this,`definition`,{type:`array`,definition:{type:`string`,isNullable:!1},isNullable:!1})}getHash(){return G(`ScalarIntersection`,this.left,this.right)}optimize(e){let t=this.left.optimize(e),n=this.right.optimize(e);return Q.max(t,n)}getOptimized(){return new e(this.left.getOptimized(),this.right.getOptimized())}*evaluate(e,t){let{left:n,right:r}=yield*Pd({left:this.left.evaluate(e,t),right:this.right.evaluate(e,t)}),i=Bf(n),a=Bf(r),o=[],s=i.size<a.size?i:a,c=s===i?a:i;for(let e of s)c.has(e)&&o.push({type:`string`,value:e});return{type:`array`,value:o}}},ZT=class e extends uT{constructor(e){super(e.referencedFields,e.referencedOuterFields,e.isSynchronous),this.input=e,L(this,`definition`,{type:`number`,isNullable:!1})}getHash(){return G(`ScalarLength`,this.input)}optimize(e){return this.input.optimize(e)}getOptimized(){return new e(this.input.getOptimized())}*evaluate(e,t){let n=yield*this.input.evaluate(e,t);return{type:`number`,value:Iw.length(n)}}},QT=class e extends uT{constructor(e){super(e.referencedFields,e.referencedOuterFields,e.isSynchronous),this.input=e,L(this,`definition`,{type:`boolean`,isNullable:!1})}getHash(){return G(`ScalarNot`,this.input)}optimize(e){return this.input.optimize(e)}getOptimized(){return new e(this.input.getOptimized())}*evaluate(e,t){return{type:`boolean`,value:!qd(yield*this.input.evaluate(e,t))}}},$T={type:0},eE=class e extends uT{constructor(e,t){let n=new $;n.merge(e.referencedFields),n.merge(t.referencedFields);let r=new $;r.merge(e.referencedOuterFields),r.merge(t.referencedOuterFields);let i=e.isSynchronous&&t.isSynchronous;super(n,r,i),this.left=e,this.right=t,L(this,`definition`,{type:`boolean`,isNullable:!1})}getHash(){return G(`ScalarNotIn`,this.left,this.right)}optimize(e){let t=this.left.optimize(e),n=this.right.optimize(e);return Q.max(t,n)}getOptimized(){return new e(this.left.getOptimized(),this.right.getOptimized())}*evaluate(e,t){let{left:n,right:r}=yield*Pd({left:this.left.evaluate(e,t),right:this.right.evaluate(e,t)});return{type:`boolean`,value:!Iw.in(n,r,$T)}}},tE=class extends uT{constructor(e,t){V(e.name!==Yw,`Invalid field name`);let n=new $,r=new $;t?r.add(e):n.add(e),super(n,r,!0),this.field=e,this.isOuterField=t,L(this,`definition`),this.definition=e.definition}getHash(){return G(`ScalarVariable`,this.field.id,this.isOuterField)}optimize(){return new Q(0)}getOptimized(){return this}*evaluate(e,t){return this.isOuterField?(V(e,`Context must exist`),e.getValue(this.field)):(V(t,`Tuple must exist`),t.getValue(this.field))}},nE=class{constructor(e){this.memo=e}finishRelational(e){return this.memo.addRelational(e)}newRelationalScan(e){let t=new ST(e);return this.finishRelational(t)}newRelationalIndexLookup(e,t){let n=new _T(e,t);return this.finishRelational(n)}newRelationalLeftJoin(e,t,n){let r=new bT(e,t,n);return this.finishRelational(r)}newRelationalRightJoin(e,t,n){return this.newRelationalLeftJoin(t,e,n)}newRelationalFilter(e,t){if(t instanceof TT&&t.value?.type===`boolean`&&t.value.value===!0)return e;if(e instanceof bT&&t.referencedFields.subsetOf(e.leftGroup.relational.outputFields)){let n=this.newRelationalFilter(e.left,t);return this.newRelationalLeftJoin(n,e.right,e.constraint)}if(e instanceof xT&&t.referencedFields.subsetOf(e.rightGroup.relational.outputFields)){let n=this.newRelationalFilter(e.right,t);return this.newRelationalLeftJoin(e.left,n,e.constraint)}let n=new gT(e,t);return this.finishRelational(n)}newRelationalProject(e,t,n){let r=new cT(e,t,n);return this.finishRelational(r)}newRelationalLimit(e,t,n){if(e instanceof cT&&t.referencedFields.subsetOf(e.inputGroup.relational.outputFields)&&n.providedByFields(e.inputGroup.relational.outputFields)){let r=this.newRelationalLimit(e.input,t,n);return this.newRelationalProject(r,e.projections,e.passthrough)}let r=new VT(e,t,n);return this.finishRelational(r)}newRelationalOffset(e,t,n){let r=new HT(e,t,n);return this.finishRelational(r)}finishScalar(e){if(!(e instanceof TT)&&e.isSynchronous&&e.referencedFields.size===0&&e.referencedOuterFields.size===0){let t=e.evaluateSync();return this.newScalarConstant(e.definition,t)}return this.memo.addScalar(e)}removeUnknown(e,t){if(e.definition.type!==`unknown`||t.type===`unknown`)return e;let n={...t,isNullable:!0};return this.newScalarCast(e,n)}newScalarVariable(e,t){let n=new tE(e,t);return this.finishScalar(n)}newScalarConstant(e,t){let n=new TT(e,t);return this.finishScalar(n)}newScalarNot(e){if(e instanceof QT)return e.input.definition.type===`boolean`?e.input:this.newScalarCast(e.input,{type:`boolean`,isNullable:!0});if(e instanceof yT)return this.newScalarNotEquals(e.left,e.right);if(e instanceof PT)return this.newScalarEquals(e.left,e.right);if(e instanceof MT)return this.newScalarGreaterThanOrEqual(e.left,e.right);if(e instanceof NT)return this.newScalarGreaterThan(e.left,e.right);if(e instanceof AT)return this.newScalarLessThanOrEqual(e.left,e.right);if(e instanceof jT)return this.newScalarLessThan(e.left,e.right);if(e instanceof wT){let t=this.newScalarNot(e.left),n=this.newScalarNot(e.right);return this.newScalarOr(t,n)}if(e instanceof FT){let t=this.newScalarNot(e.left),n=this.newScalarNot(e.right);return this.newScalarAnd(t,n)}let t=new QT(e);return this.finishScalar(t)}newScalarAnd(e,t){if(t instanceof TT&&t.value?.type===`boolean`&&t.value.value===!0)return e;if(e instanceof TT&&e.value?.type===`boolean`&&e.value.value===!0||t instanceof TT&&t.value?.type===`boolean`&&t.value.value===!1)return t;if(e instanceof TT&&e.value?.type===`boolean`&&e.value.value===!1)return e;let n=new wT(e,t);return this.finishScalar(n)}newScalarOr(e,t){if(t instanceof TT&&t.value?.type===`boolean`&&t.value.value===!0)return t;if(e instanceof TT&&e.value?.type===`boolean`&&e.value.value===!0||t instanceof TT&&t.value?.type===`boolean`&&t.value.value===!1)return e;if(e instanceof TT&&e.value?.type===`boolean`&&e.value.value===!1)return t;let n=new FT(e,t);return this.finishScalar(n)}newScalarEquals(e,t){let n=e instanceof tE;if(t instanceof tE&&!n)return this.newScalarEquals(t,e);e=this.removeUnknown(e,t.definition),t=this.removeUnknown(t,e.definition);let r=new yT(e,t);return this.finishScalar(r)}newScalarNotEquals(e,t){let n=e instanceof tE;if(t instanceof tE&&!n)return this.newScalarNotEquals(t,e);e=this.removeUnknown(e,t.definition),t=this.removeUnknown(t,e.definition);let r=new PT(e,t);return this.finishScalar(r)}newScalarLessThan(e,t){let n=e instanceof tE;if(t instanceof tE&&!n)return this.newScalarGreaterThan(t,e);e=this.removeUnknown(e,t.definition),t=this.removeUnknown(t,e.definition);let r=new MT(e,t);return this.finishScalar(r)}newScalarLessThanOrEqual(e,t){let n=e instanceof tE;if(t instanceof tE&&!n)return this.newScalarGreaterThanOrEqual(t,e);e=this.removeUnknown(e,t.definition),t=this.removeUnknown(t,e.definition);let r=new NT(e,t);return this.finishScalar(r)}newScalarGreaterThan(e,t){let n=e instanceof tE;if(t instanceof tE&&!n)return this.newScalarLessThan(t,e);e=this.removeUnknown(e,t.definition),t=this.removeUnknown(t,e.definition);let r=new AT(e,t);return this.finishScalar(r)}newScalarGreaterThanOrEqual(e,t){let n=e instanceof tE;if(t instanceof tE&&!n)return this.newScalarLessThanOrEqual(t,e);e=this.removeUnknown(e,t.definition),t=this.removeUnknown(t,e.definition);let r=new jT(e,t);return this.finishScalar(r)}newScalarIn(e,t){t.definition.type===`array`&&(e=this.removeUnknown(e,t.definition.definition));let n={type:`array`,isNullable:!0,definition:e.definition};t=this.removeUnknown(t,n);let r=new qT(e,t);return this.finishScalar(r)}newScalarNotIn(e,t){t.definition.type===`array`&&(e=this.removeUnknown(e,t.definition.definition));let n={type:`array`,isNullable:!0,definition:e.definition};t=this.removeUnknown(t,n);let r=new eE(e,t);return this.finishScalar(r)}newScalarCase(e,t,n){if(e){let n=[];for(let{when:r,then:i}of t){let t=new fT(this.removeUnknown(r,e.definition),i);n.push(t)}t=n}let r=new pT(e,t,n);return this.finishScalar(r)}newScalarContains(e,t){let n=new DT(e,t);return this.finishScalar(n)}newScalarStartsWith(e,t){let n=new LT(e,t);return this.finishScalar(n)}newScalarEndsWith(e,t){let n=new kT(e,t);return this.finishScalar(n)}newScalarLength(e){let t=new ZT(e);return this.finishScalar(t)}newScalarIndexOf(e,t){let n=new YT(e,t);return this.finishScalar(n)}newScalarArray(e,t,n,r,i){let a=new UT(e,t,n,r,i);return this.finishScalar(a)}newScalarFlatArray(e,t,n,r,i){let a=new GT(e,t,n,r,i);return this.finishScalar(a)}newScalarIntersection(e,t){let n=new XT(e,t);return this.finishScalar(n)}newScalarCast(e,t){if(e.definition.type===t.type)return e;let n=new WT(e,t);return this.finishScalar(n)}},rE=class extends qw{},iE=class e extends rE{constructor(e,t,n){super(!1),this.input=e,this.fields=t,this.resolver=n,L(this,`inputGroup`),this.inputGroup=e.getGroup()}getHash(){return G(`EnforcerResolve`,this.inputGroup.id,this.fields)}getOutputFields(){return this.inputGroup.relational.outputFields}canProvideOrdering(){return!0}canProvideResolvedFields(e){return e.subsetOf(this.fields)}getInputRequiredProps(e){let t=new $;return new rT(e.ordering,t)}optimize(e,t){let n=this.getInputRequiredProps(t),r=e.optimizeGroup(this.inputGroup,n);return Q.estimate(0,100*Uw).add(r)}getOptimized(t){let n=this.getInputRequiredProps(t);return new e(this.inputGroup.getOptimized(n),this.fields,this.resolver)}*evaluate(e){let t=yield*this.input.evaluate(e);V(this.fields.subsetOf(t.fields),`Fields can't be resolved`);let n=new Set;for(let e of this.fields)V(e.collection,`Collection required to resolve field`),n.add(e.collection);for(let e of t.tuples)for(let t of this.fields){let n=e.getValue(t);n?.type===`richtext`?this.resolver.preloadRichTextValue(n):n?.type===`vectorsetitem`&&this.resolver.preloadVectorSetItemValue(n)}let r=yield Promise.all(Array.from(n).map(async e=>{let n=[];for(let r of t.tuples){let t=r.getPointer(e);t&&n.push(t)}let r=await e.data.resolveItems(n);return V(r.length===n.length,`Invalid number of items`),[e,r]}));return t.map(t.fields,e=>{let t=new aT;t.merge(e);for(let[n,i]of r){let r=e.getPointer(n);if(!r)continue;let a=i.shift();V(a,`Item not found`),V(a.pointer===r,`Pointer mismatch`);for(let e of n.fields){let n=e.getValue(a);t.addValue(e,n)}}return t})}},aE={type:0},oE=class e extends rE{constructor(e,t){super(e.isSynchronous),this.input=e,this.ordering=t,L(this,`inputGroup`),this.inputGroup=e.getGroup()}getHash(){return G(`EnforcerSort`,this.inputGroup.id,this.ordering)}getOutputFields(){return this.inputGroup.relational.outputFields}canProvideOrdering(e){return e.equals(this.ordering)}canProvideResolvedFields(){return!0}getInputRequiredProps(e){let t=new $(e.resolvedFields);for(let{field:e}of this.ordering.fields)e.name!==Yw&&(nt(e.collection)||t.add(e));return new rT(new nT,t)}optimize(e,t){let n=this.getInputRequiredProps(t),r=e.optimizeGroup(this.inputGroup,n);return new Q(0).add(r)}getOptimized(t){let n=this.getInputRequiredProps(t);return new e(this.inputGroup.getOptimized(n),this.ordering)}*evaluate(e){return(yield*this.input.evaluate(e)).sort((e,t)=>{for(let{field:n,direction:r}of this.ordering.fields){let i=r===`asc`;if(n.name===Yw){let r=n.collection;V(r,`Collection required for sorting`);let a=e.getPointer(r);V(a,`Pointer required for sorting`);let o={pointer:a,data:{}},s=t.getPointer(r);V(s,`Pointer required for sorting`);let c={pointer:s,data:{}},l=r.data.compareItems(o,c);return i?l:-l}let a=e.getValue(n),o=t.getValue(n);if(!Iw.equal(a,o,aE)){if(rt(a)||Iw.lessThan(a,o,aE))return i?-1:1;if(rt(o)||Iw.greaterThan(a,o,aE))return i?1:-1;throw Error(`Invalid comparison`)}}return 0})}},sE=class{constructor(e,t,n){this.query=e,this.locale=t,this.resolver=n,L(this,`memo`,new BT),L(this,`normalizer`,new nE(this.memo)),L(this,`explorer`,new RT(this.normalizer))}optimize(){let e=new mT(this.normalizer,this.query,this.locale).build(),t=e.takeNode().getGroup(),n=e.getRequiredProps();return this.optimizeGroup(t,n),[t.getOptimized(n),e.getNamedFields()]}optimizeGroup(e,t){let n=e.getWinner(t);if(n.node)return n.cost;let r=e.nodes[0];V(r,`Normalized node not found`),this.createEnforcer(n,r,t);for(let r of e.nodes){if(t.canProvide(r)){let e=r.optimize(this,t);n.update(r,e)}t.isMinimal&&this.explorer.explore(r)}return n.cost}createEnforcer(e,t,n){if(n.resolvedFields.size>0){let r=new iE(t,n.resolvedFields,this.resolver),i=r.optimize(this,n);e.update(r,i)}if(n.ordering.length>0){let r=new oE(t,n.ordering),i=r.optimize(this,n);e.update(r,i)}}},cE=Ad(`query-engine`),lE=class{async evalQuery(e,t,n){cE.enabled&&cE.debug(`Query:
${$f(e)}`);let r=new Jw(e,t),[i,a]=new sE(e,t,r).optimize(),o=await i.evaluateAsync(),s=Object.entries(a),c=[],l=Nd(Fd(o.tuples.map(e=>{let t={},i={};for(let[a,o]of s){let s=e.getValue(o);t[a]=r.resolveValue(s),n&&(i[a]=s)}return n&&c.push(i),Pd(t)})));return n?[ct(l)?await l:l,c]:l}async serializeableQuery(e,t){return this.evalQuery(e,t,!0)}async query(e,t){return this.evalQuery(e,t,!1)}resolveSerializableQueryResult(e,t,n){let r=new Jw(t,n);return Nd(Fd(e.map(e=>{let t={},n;for(n in e){let i=e[n];t[n]=r.resolveValue(i)}return Pd(t)})))}},uE=(()=>Ng.QueryCache)(),dE=class{constructor(e,t=1/0){this.queryEngine=e,this.maxSize=t,L(this,`cache`,new Map),L(this,`serializedCache`,Ig===void 0?void 0:new Map)}prune(){if(!(this.cache.size<=this.maxSize))for(let[e,t]of this.cache){if(this.cache.size<=this.maxSize)break;t.state!==`pending`&&(this.cache.delete(e),this.serializedCache?.delete(e))}}get(e,t){let n=np(e,t),r=this.cache.get(n);if(r){if(this.cache.delete(n),this.cache.set(n,r),Ig!==void 0&&this.serializedCache!==void 0&&!xf(n)&&r.state===`fulfilled`){let e=this.serializedCache.get(n);e!==void 0&&Ig.set(uE,n,e)}return r}let i=new xg(()=>{let r=xf(n),i=r?void 0:an(uE,n);if(i)try{return this.queryEngine.resolveSerializableQueryResult(i,e,t)}catch(e){nn(e,n)}return Ig!==void 0&&!r?this.queryEngine.serializeableQuery(e,t).then(([e,t])=>(this.serializedCache?.set(n,t),Ig.set(uE,n,t),e)):this.queryEngine.query(e,t)});return this.cache.set(n,i),this.prune(),i}},fE=new dE(new lE),pE=`style[data-framer-breakpoint-css]`,mE=`page`,hE=Symbol(`cycle`),vE=e=>j((t,n)=>{let{strokeEffectLength:r,strokeEffectGap:i,strokeEffectOffset:a,strokeEffectLoop:o,strokeEffectTotalLength:c,strokeEffectLoopType:l,pathLengthTransition:u,...d}=t,f=Va(),p=fe(0),{length:m,gap:h}=Pi(()=>({length:c*r,gap:c*i}));s(()=>{if(f)return;let e=new AbortController;async function t(){let t=0;for(;!e.signal.aborted;){let e=o&&l===`mirror`,n=Bp(t,e),r=Bp(t+1,e);if(await Promise.all([ke(p,[n,r],u),Vp()]),!o)break;o&&l===`repeat`||t++}}return t(),()=>{e.abort()}},[]);let g=be(p,e=>a*c+(c-Math.max(e,.001)*c)),_=f?void 0:{strokeDasharray:`${m} ${h}`,strokeDashoffset:g};return A(e,{...d,..._,ref:n})}),yE=(()=>{let e=M(void 0);return e.displayName=`TickerContext`,e})(),bE=new Set([`visibleVariantId`,`obscuredVariantId`,`threshold`,`animateOnce`,`variantAppearEffectEnabled`,`targets`,`exitTarget`,`scrollDirection`]),xE={inputRange:[],outputRange:[]},SE=e=>n.forwardRef((t,r)=>{if(J.current()===J.canvas)return A(e,{...t,ref:r});let[i,a]=rc(t,bE),{visibleVariantId:o,obscuredVariantId:s,animateOnce:c,threshold:l,variantAppearEffectEnabled:u,targets:d,exitTarget:f,scrollDirection:p}=i,[m,h]=n.useState(s),g=n.useRef(!1),_=es(r);return is(_,e=>{i.targets||i.scrollDirection||c&&g.current===!0||g.current!==e&&(g.current=e,n.startTransition(()=>{h(e?o:s)}))},{enabled:u,animateOnce:c,threshold:{y:l}}),n.useEffect(()=>{if(p||!d)return;let e={},t;return ce((r,{y:i})=>{if(!d[0]||d[0].ref&&!d[0].ref.current)return;let{inputRange:a,outputRange:o}=Wp(d,(l??0)*i.containerLength,f);if(a.length===0||a.length!==o.length)return;let s=Math.floor(Pe(i.current,a,o));if(c&&e[s])return;e[s]=!0;let u=d[s]?.target??void 0;u!==t&&(t=u,n.startTransition(()=>{h(u)}))})},[c,l,d,t.variant,p,f]),kc(p,e=>n.startTransition(()=>h(e)),{enabled:u,repeat:!c}),Nt(()=>{if(!u)return;let e=!i.targets&&!i.scrollDirection?i.obscuredVariantId:void 0;ne(()=>h(e))}),!(`variantAppearEffectEnabled`in i)||u===!0?A(e,{...a,variant:m??t.variant,ref:_}):A(e,{...a})}),CE=n.createContext(void 0),wE=()=>n.useContext(CE),TE={Arial:{Regular:{selector:`Arial`,weight:void 0},Black:{selector:`Arial-Black`,weight:void 0},Narrow:{selector:`Arial Narrow`,weight:void 0},"Rounded Bold":{selector:`Arial Rounded MT Bold`,weight:void 0}},Avenir:{Book:{selector:`Avenir`,weight:void 0},Light:{selector:`Avenir-Light`,weight:void 0},Medium:{selector:`Avenir-Medium`,weight:void 0},Heavy:{selector:`Avenir-Heavy`,weight:void 0},Black:{selector:`Avenir-Black`,weight:void 0}},"Avenir Next":{Regular:{selector:`Avenir Next`,weight:void 0},"Ultra Light":{selector:`AvenirNext-UltraLight`,weight:void 0},Medium:{selector:`AvenirNext-Medium`,weight:void 0},"Demi Bold":{selector:`AvenirNext-DemiBold`,weight:void 0},Heavy:{selector:`AvenirNext-Heavy`,weight:void 0}},"Avenir Next Condensed":{Regular:{selector:`Avenir Next Condensed`,weight:void 0},"Ultra Light":{selector:`AvenirNextCondensed-UltraLight`,weight:void 0},Medium:{selector:`AvenirNextCondensed-Medium`,weight:void 0},"Demi Bold":{selector:`AvenirNextCondensed-DemiBold`,weight:void 0},Heavy:{selector:`AvenirNextCondensed-Heavy`,weight:void 0}},Baskerville:{Regular:{selector:`Baskerville`,weight:void 0},"Semi Bold":{selector:`Baskerville-SemiBold`,weight:void 0}},"Bodoni 72":{Book:{selector:`Bodoni 72`,weight:void 0},Oldstyle:{selector:`Bodoni 72 Oldstyle`,weight:void 0},Smallcaps:{selector:`Bodoni 72 Smallcaps`,weight:void 0}},Courier:{Regular:{selector:`Courier`,weight:void 0}},"Courier New":{Regular:{selector:`Courier New`,weight:void 0}},Futura:{Medium:{selector:`Futura`,weight:void 0},Condensed:{selector:`Futura-CondensedMedium`,weight:void 0},"Condensed ExtraBold":{selector:`Futura-CondensedExtraBold`,weight:void 0}},Georgia:{Regular:{selector:`Georgia`,weight:void 0}},"Gill Sans":{Regular:{selector:`Gill Sans`,weight:void 0},Light:{selector:`GillSans-Light`,weight:void 0},SemiBold:{selector:`GillSans-SemiBold`,weight:void 0},UltraBold:{selector:`GillSans-UltraBold`,weight:void 0}},Helvetica:{Regular:{selector:`Helvetica`,weight:void 0},Light:{selector:`Helvetica-Light`,weight:void 0},Bold:{selector:`Helvetica-Bold`,weight:void 0},Oblique:{selector:`Helvetica-Oblique`,weight:void 0},"Light Oblique":{selector:`Helvetica-LightOblique`,weight:void 0},"Bold Oblique":{selector:`Helvetica-BoldOblique`,weight:void 0}},"Helvetica Neue":{Regular:{selector:`Helvetica Neue`,weight:void 0},UltraLight:{selector:`HelveticaNeue-UltraLight`,weight:void 0},Thin:{selector:`HelveticaNeue-Thin`,weight:void 0},Light:{selector:`HelveticaNeue-Light`,weight:void 0},Medium:{selector:`HelveticaNeue-Medium`,weight:void 0},Bold:{selector:`HelveticaNeue-Bold`,weight:void 0},Italic:{selector:`HelveticaNeue-Italic`,weight:void 0},"UltraLight Italic":{selector:`HelveticaNeue-UltraLightItalic`,weight:void 0},"Thin Italic":{selector:`HelveticaNeue-ThinItalic`,weight:void 0},"Light Italic":{selector:`HelveticaNeue-LightItalic`,weight:void 0},"Medium Italic":{selector:`HelveticaNeue-MediumItalic`,weight:void 0},"Bold Italic":{selector:`HelveticaNeue-BoldItalic`,weight:void 0},"Condensed Bold":{selector:`HelveticaNeue-CondensedBold`,weight:void 0},"Condensed Black":{selector:`HelveticaNeue-CondensedBlack`,weight:void 0}},"Hoefler Text":{Regular:{selector:`Hoefler Text`,weight:void 0}},Impact:{Regular:{selector:`Impact`,weight:void 0}},"Lucida Grande":{Regular:{selector:`Lucida Grande`,weight:void 0}},Menlo:{Regular:{selector:`Menlo`,weight:void 0}},Monaco:{Regular:{selector:`Monaco`,weight:void 0}},Optima:{Regular:{selector:`Optima`,weight:void 0},ExtraBlack:{selector:`Optima-ExtraBlack`,weight:void 0}},Palatino:{Regular:{selector:`Palatino`,weight:void 0}},"SF Pro Display":{Regular:{selector:`__SF-UI-Display-Regular__`,weight:400},Ultralight:{selector:`__SF-UI-Display-Ultralight__`,weight:100},Thin:{selector:`__SF-UI-Display-Thin__`,weight:200},Light:{selector:`__SF-UI-Display-Light__`,weight:300},Medium:{selector:`__SF-UI-Display-Medium__`,weight:500},Semibold:{selector:`__SF-UI-Display-Semibold__`,weight:600},Bold:{selector:`__SF-UI-Display-Bold__`,weight:700},Heavy:{selector:`__SF-UI-Display-Heavy__`,weight:800},Black:{selector:`__SF-UI-Display-Black__`,weight:900},Italic:{selector:`__SF-UI-Display-Italic__`,weight:400},"Ultralight Italic":{selector:`__SF-UI-Display-Ultralight-Italic__`,weight:100},"Thin Italic":{selector:`__SF-UI-Display-Thin-Italic__`,weight:200},"Light Italic":{selector:`__SF-UI-Display-Light-Italic__`,weight:300},"Medium Italic":{selector:`__SF-UI-Display-Medium-Italic__`,weight:500},"Semibold Italic":{selector:`__SF-UI-Display-Semibold-Italic__`,weight:600},"Bold Italic":{selector:`__SF-UI-Display-Bold-Italic__`,weight:700},"Heavy Italic":{selector:`__SF-UI-Display-Heavy-Italic__`,weight:800},"Black Italic":{selector:`__SF-UI-Display-Black-Italic__`,weight:900}},"SF Pro Display Condensed":{Regular:{selector:`__SF-UI-Display-Condensed-Regular__`,weight:400},Ultralight:{selector:`__SF-UI-Display-Condensed-Ultralight__`,weight:100},Thin:{selector:`__SF-UI-Display-Condensed-Thin__`,weight:200},Light:{selector:`__SF-UI-Display-Condensed-Light__`,weight:300},Medium:{selector:`__SF-UI-Display-Condensed-Medium__`,weight:500},Semibold:{selector:`__SF-UI-Display-Condensed-Semibold__`,weight:600},Bold:{selector:`__SF-UI-Display-Condensed-Bold__`,weight:700},Heavy:{selector:`__SF-UI-Display-Condensed-Heavy__`,weight:800},Black:{selector:`__SF-UI-Display-Condensed-Black__`,weight:900}},"SF Pro Text":{Regular:{selector:`__SF-UI-Text-Regular__`,weight:400},Light:{selector:`__SF-UI-Text-Light__`,weight:200},Medium:{selector:`__SF-UI-Text-Medium__`,weight:500},Semibold:{selector:`__SF-UI-Text-Semibold__`,weight:600},Bold:{selector:`__SF-UI-Text-Bold__`,weight:700},Heavy:{selector:`__SF-UI-Text-Heavy__`,weight:800},Italic:{selector:`__SF-UI-Text-Italic__`,weight:400},"Light Italic":{selector:`__SF-UI-Text-Light-Italic__`,weight:200},"Medium Italic":{selector:`__SF-UI-Text-Medium-Italic__`,weight:500},"Semibold Italic":{selector:`__SF-UI-Text-Semibold-Italic__`,weight:600},"Bold Italic":{selector:`__SF-UI-Text-Bold-Italic__`,weight:700},"Heavy Italic":{selector:`__SF-UI-Text-Heavy-Italic__`,weight:800}},"SF Pro Text Condensed":{Regular:{selector:`__SF-UI-Text-Condensed-Regular__`,weight:400},Light:{selector:`__SF-UI-Text-Condensed-Light__`,weight:200},Medium:{selector:`__SF-UI-Text-Condensed-Medium__`,weight:500},Semibold:{selector:`__SF-UI-Text-Condensed-Semibold__`,weight:600},Bold:{selector:`__SF-UI-Text-Condensed-Bold__`,weight:700},Heavy:{selector:`__SF-UI-Text-Condensed-Heavy__`,weight:800}},Tahoma:{Regular:{selector:`Tahoma`,weight:void 0}},Times:{Regular:{selector:`Times`,weight:void 0}},"Times New Roman":{Regular:{selector:`Times New Roman`,weight:void 0}},Trebuchet:{Regular:{selector:`Trebuchet MS`,weight:void 0}},Verdana:{Regular:{selector:`Verdana`,weight:void 0}}},EE={"__SF-Compact-Display-Regular__":`SFCompactDisplay-Regular|.SFCompactDisplay-Regular`,"__SF-Compact-Display-Ultralight__":`SFCompactDisplay-Ultralight|.SFCompactDisplay-Ultralight`,"__SF-Compact-Display-Thin__":`SFCompactDisplay-Thin|.SFCompactDisplay-Thin`,"__SF-Compact-Display-Light__":`SFCompactDisplay-Light|.SFCompactDisplay-Light`,"__SF-Compact-Display-Medium__":`SFCompactDisplay-Medium|.SFCompactDisplay-Medium`,"__SF-Compact-Display-Semibold__":`SFCompactDisplay-Semibold|.SFCompactDisplay-Semibold`,"__SF-Compact-Display-Heavy__":`SFCompactDisplay-Heavy|.SFCompactDisplay-Heavy`,"__SF-Compact-Display-Black__":`SFCompactDisplay-Black|.SFCompactDisplay-Black`,"__SF-Compact-Display-Bold__":`SFCompactDisplay-Bold|.SFCompactDisplay-Bold`,"__SF-UI-Text-Regular__":`.SFNSText|SFProText-Regular|SFUIText-Regular|.SFUIText`,"__SF-UI-Text-Light__":`.SFNSText-Light|SFProText-Light|SFUIText-Light|.SFUIText-Light`,"__SF-UI-Text-Medium__":`.SFNSText-Medium|SFProText-Medium|SFUIText-Medium|.SFUIText-Medium`,"__SF-UI-Text-Semibold__":`.SFNSText-Semibold|SFProText-Semibold|SFUIText-Semibold|.SFUIText-Semibold`,"__SF-UI-Text-Bold__":`.SFNSText-Bold|SFProText-Bold|SFUIText-Bold|.SFUIText-Bold`,"__SF-UI-Text-Heavy__":`.SFNSText-Heavy|SFProText-Heavy|.SFUIText-Heavy`,"__SF-UI-Text-Italic__":`.SFNSText-Italic|SFProText-Italic|SFUIText-Italic|.SFUIText-Italic`,"__SF-UI-Text-Light-Italic__":`.SFNSText-LightItalic|SFProText-LightItalic|SFUIText-LightItalic|.SFUIText-LightItalic`,"__SF-UI-Text-Medium-Italic__":`.SFNSText-MediumItalic|SFProText-MediumItalic|SFUIText-MediumItalic|.SFUIText-MediumItalic`,"__SF-UI-Text-Semibold-Italic__":`.SFNSText-SemiboldItalic|SFProText-SemiboldItalic|SFUIText-SemiboldItalic|.SFUIText-SemiboldItalic`,"__SF-UI-Text-Bold-Italic__":`.SFNSText-BoldItalic|SFProText-BoldItalic|SFUIText-BoldItalic|.SFUIText-BoldItalic`,"__SF-UI-Text-Heavy-Italic__":`.SFNSText-HeavyItalic|SFProText-HeavyItalic|.SFUIText-HeavyItalic`,"__SF-Compact-Text-Regular__":`SFCompactText-Regular|.SFCompactText-Regular`,"__SF-Compact-Text-Light__":`SFCompactText-Light|.SFCompactText-Light`,"__SF-Compact-Text-Medium__":`SFCompactText-Medium|.SFCompactText-Medium`,"__SF-Compact-Text-Semibold__":`SFCompactText-Semibold|.SFCompactText-Semibold`,"__SF-Compact-Text-Bold__":`SFCompactText-Bold|.SFCompactText-Bold`,"__SF-Compact-Text-Heavy__":`SFCompactText-Heavy|.SFCompactText-Heavy`,"__SF-Compact-Text-Italic__":`SFCompactText-Italic|.SFCompactText-Italic`,"__SF-Compact-Text-Light-Italic__":`SFCompactText-LightItalic|.SFCompactText-LightItalic`,"__SF-Compact-Text-Medium-Italic__":`SFCompactText-MediumItalic|.SFCompactText-MediumItalic`,"__SF-Compact-Text-Semibold-Italic__":`SFCompactText-SemiboldItalic|.SFCompactText-SemiboldItalic`,"__SF-Compact-Text-Bold-Italic__":`SFCompactText-BoldItalic|.SFCompactText-BoldItalic`,"__SF-Compact-Text-Heavy-Italic__":`SFCompactText-HeavyItalic|.SFCompactText-HeavyItalic`,"__SF-UI-Display-Condensed-Regular__":`.SFNSDisplayCondensed-Regular|SFUIDisplayCondensed-Regular|.SFUIDisplayCondensed-Regular`,"__SF-UI-Display-Condensed-Ultralight__":`.SFNSDisplayCondensed-Ultralight|SFUIDisplayCondensed-Ultralight|.SFUIDisplayCondensed-Ultralight`,"__SF-UI-Display-Condensed-Thin__":`.SFNSDisplayCondensed-Thin|SFUIDisplayCondensed-Thin|.SFUIDisplayCondensed-Thin`,"__SF-UI-Display-Condensed-Light__":`.SFNSDisplayCondensed-Light|SFUIDisplayCondensed-Light|.SFUIDisplayCondensed-Light`,"__SF-UI-Display-Condensed-Medium__":`.SFNSDisplayCondensed-Medium|SFUIDisplayCondensed-Medium|.SFUIDisplayCondensed-Medium`,"__SF-UI-Display-Condensed-Semibold__":`.SFNSDisplayCondensed-Semibold|SFUIDisplayCondensed-Semibold|.SFUIDisplayCondensed-Semibold`,"__SF-UI-Display-Condensed-Bold__":`.SFNSDisplayCondensed-Bold|SFUIDisplayCondensed-Bold|.SFUIDisplayCondensed-Bold`,"__SF-UI-Display-Condensed-Heavy__":`.SFNSDisplayCondensed-Heavy|SFUIDisplayCondensed-Heavy|.SFUIDisplayCondensed-Heavy`,"__SF-UI-Display-Condensed-Black__":`.SFNSDisplayCondensed-Black|.SFUIDisplayCondensed-Black`,"__SF-UI-Display-Regular__":`.SFNSDisplay|SFProDisplay-Regular|SFUIDisplay-Regular|.SFUIDisplay`,"__SF-UI-Display-Ultralight__":`.SFNSDisplay-Ultralight|SFProDisplay-Ultralight|SFUIDisplay-Ultralight|.SFUIDisplay-Ultralight`,"__SF-UI-Display-Thin__":`.SFNSDisplay-Thin|SFProDisplay-Thin|SFUIDisplay-Thin|.SFUIDisplay-Thin`,"__SF-UI-Display-Light__":`.SFNSDisplay-Light|SFProDisplay-Light|SFUIDisplay-Light|.SFUIDisplay-Light`,"__SF-UI-Display-Medium__":`.SFNSDisplay-Medium|SFProDisplay-Medium|SFUIDisplay-Medium|.SFUIDisplay-Medium`,"__SF-UI-Display-Semibold__":`.SFNSDisplay-Semibold|SFProDisplay-Semibold|SFUIDisplay-Semibold|.SFUIDisplay-Semibold`,"__SF-UI-Display-Bold__":`.SFNSDisplay-Bold|SFProDisplay-Bold|SFUIDisplay-Bold|.SFUIDisplay-Bold`,"__SF-UI-Display-Heavy__":`.SFNSDisplay-Heavy|SFProDisplay-Heavy|SFUIDisplay-Heavy|.SFUIDisplay-Heavy`,"__SF-UI-Display-Black__":`.SFNSDisplay-Black|SFProDisplay-Black|.SFUIDisplay-Black`,"__SF-UI-Display-Italic__":`.SFNSDisplay-Italic|SFProDisplay-Italic|SFUIDisplay-Italic`,"__SF-UI-Display-Ultralight-Italic__":`.SFNSDisplay-UltralightItalic|SFProDisplay-UltralightItalic|SFUIDisplay-UltralightItalic|.SFUIDisplay-UltralightItalic`,"__SF-UI-Display-Thin-Italic__":`.SFNSDisplay-ThinItalic|SFProDisplay-ThinItalic|SFUIDisplay-ThinItalic|.SFUIDisplay-ThinItalic`,"__SF-UI-Display-Light-Italic__":`.SFNSDisplay-LightItalic|SFProDisplay-LightItalic|SFUIDisplay-LightItalic|.SFUIDisplay-LightItalic`,"__SF-UI-Display-Medium-Italic__":`.SFNSDisplay-MediumItalic|SFProDisplay-MediumItalic|SFUIDisplay-MediumItalic|.SFUIDisplay-MediumItalic`,"__SF-UI-Display-Semibold-Italic__":`.SFNSDisplay-SemiboldItalic|SFProDisplay-SemiboldItalic|SFUIDisplay-SemiboldItalic|.SFUIDisplay-SemiboldItalic`,"__SF-UI-Display-Bold-Italic__":`.SFNSDisplay-BoldItalic|SFProDisplay-BoldItalic|SFUIDisplay-BoldItalic|.SFUIDisplay-BoldItalic`,"__SF-UI-Display-Heavy-Italic__":`.SFNSDisplay-HeavyItalic|SFProDisplay-HeavyItalic|SFUIDisplay-HeavyItalic|.SFUIDisplay-HeavyItalic`,"__SF-UI-Display-Black-Italic__":`.SFNSDisplay-BlackItalic|SFProDisplay-BlackItalic|.SFUIDisplay-BlackItalic`,"__SF-UI-Text-Condensed-Regular__":`.SFNSTextCondensed-Regular|SFUITextCondensed-Regular|.SFUITextCondensed-Regular`,"__SF-UI-Text-Condensed-Light__":`.SFNSTextCondensed-Light|SFUITextCondensed-Light|.SFUITextCondensed-Light`,"__SF-UI-Text-Condensed-Medium__":`.SFNSTextCondensed-Medium|SFUITextCondensed-Medium|.SFUITextCondensed-Medium`,"__SF-UI-Text-Condensed-Semibold__":`.SFNSTextCondensed-Semibold|SFUITextCondensed-Semibold|.SFUITextCondensed-Semibold`,"__SF-UI-Text-Condensed-Bold__":`.SFNSTextCondensed-Bold|SFUITextCondensed-Bold|.SFUITextCondensed-Bold`,"__SF-UI-Text-Condensed-Heavy__":`.SFNSTextCondensed-Heavy|.SFUITextCondensed-Heavy`,"__SF-Compact-Rounded-Regular__":`SFCompactRounded-Regular|.SFCompactRounded-Regular`,"__SF-Compact-Rounded-Ultralight__":`SFCompactRounded-Ultralight|.SFCompactRounded-Ultralight`,"__SF-Compact-Rounded-Thin__":`SFCompactRounded-Thin|.SFCompactRounded-Thin`,"__SF-Compact-Rounded-Light__":`SFCompactRounded-Light|.SFCompactRounded-Light`,"__SF-Compact-Rounded-Medium__":`SFCompactRounded-Medium|.SFCompactRounded-Medium`,"__SF-Compact-Rounded-Semibold__":`SFCompactRounded-Semibold|.SFCompactRounded-Semibold`,"__SF-Compact-Rounded-Bold__":`SFCompactRounded-Bold|.SFCompactRounded-Bold`,"__SF-Compact-Rounded-Heavy__":`SFCompactRounded-Heavy|.SFCompactRounded-Heavy`,"__SF-Compact-Rounded-Black__":`SFCompactRounded-Black|.SFCompactRounded-Black`},DE=TE,OE=`System Default`,kE=class{constructor(){L(this,`name`,`local`),L(this,`fontFamilies`,[]),L(this,`byFamilyName`,new Map),L(this,`fontAliasBySelector`,new Map),L(this,`fontAliases`,new Map)}getFontFamilyByName(e){return this.byFamilyName.get(e)??null}createFontFamily(e){let t={name:e,fonts:[],source:this.name};return this.addFontFamily(t),t}addFontFamily(e){this.fontFamilies.push(e),this.byFamilyName.set(e.name,e)}importFonts(){let e=[];for(let t of Object.keys(DE)){let n=DE[t];if(!n)continue;let r=this.createFontFamily(t);for(let e of Object.keys(n)){let t=n[e];if(!t)continue;let{selector:i,weight:a}=t,o={variant:e,selector:i,weight:a,family:r,cssFamilyName:r.name};r.fonts.push(o)}e.push(...r.fonts)}for(let[e,t]of Object.entries(EE))this.addFontAlias(e,t);let{fontFamily:t,aliases:n}=this.getSystemFontFamily();this.addFontFamily(t);for(let[e,t]of n)this.addFontAlias(e,t);return e.push(...t.fonts),e}addFontAlias(e,t){this.fontAliases.set(e,t),this.fontAliasBySelector.set(t,e)}getSystemFontFamily(){let e={name:OE,fonts:[],source:this.name},t=new Map,n=[400,100,200,300,500,600,700,800,900];for(let r of[`normal`,`italic`])for(let i of n){let n=Kp(i,r),a=`__SystemDefault-${i}-${r}__`,o={variant:n,selector:a,style:r,weight:i,family:e,cssFamilyName:e.name};e.fonts.push(o),t.set(a,`system-ui|-apple-system|BlinkMacSystemFont|Segoe UI|Roboto|Oxygen|Ubuntu|Cantarell|Fira Sans|Droid Sans|Helvetica Neue|sans-serif`)}return{fontFamily:e,aliases:t}}getFontAliasBySelector(e){return this.fontAliasBySelector.get(e)||null}getFontSelectorByAlias(e){return this.fontAliases.get(e)||null}isFontFamilyAlias(e){return!!(e&&/^__.*__$/u.exec(e))}},AE={100:`Thin`,200:`Extra Light`,300:`Light`,400:`Normal`,500:`Medium`,600:`Semi Bold`,700:`Bold`,800:`Extra Bold`,900:`Black`},jE=class extends Map{constructor(){super(...arguments),L(this,`_hash`,0)}get hash(){return this._hash}set(e,t){return this._hash++,super.set(e,t)}delete(e){return this._hash++,super.delete(e)}clear(){return this._hash++,super.clear()}},NE=`Variable`,PE=`BI;`,FE=class{constructor(){L(this,`name`,`builtIn`),L(this,`fontFamilies`,[]),L(this,`byFamilyName`,new Map),L(this,`assetByKey`,new Map)}importFonts(e){this.fontFamilies.length=0,this.byFamilyName.clear(),this.assetByKey.clear();let t=[];for(let n of e){if(!this.isValidBuiltInFont(n))continue;let{properties:e}=n,r=e.font.fontFamily,i=this.createFontFamily(r,e.font.foundryName,e.font.fontVersion),a=e.font.openTypeData,o=e.font.variationAxes,s=Array.isArray(o),c=s?`variable`:e.font.fontSubFamily||`regular`,l=Zp(n),u={assetKey:n.key,family:i,selector:this.createSelector(r,c,e.font.fontVersion),variant:c,file:l,hasOpenTypeFeatures:em(a),variationAxes:tm(o),category:e.font.fontCategory,weight:im(c),style:om(c),cssFamilyName:Qp(r,s)};i.fonts.push(u),this.assetByKey.set(n.key,n),t.push(u)}for(let e of this.fontFamilies)e.fonts.sort((e,t)=>{let n=im(e.variant),r=im(t.variant);return!n||!r?1:n-r});return t}static parseVariant(e){return{weight:IE[am(e)],style:om(e)}}getFontBySelector(e){let t=this.parseSelector(e);if(!t)return;let n=this.getFontFamilyByName(t.name);if(n)return n.fonts.find(t=>t.selector===e)}getFontFamilyByName(e){return this.byFamilyName.get(e)??null}createFontFamily(e,t,n){let r=this.byFamilyName.get(e);if(r&&r.version===n)return r;let i={source:this.name,name:e,fonts:[],foundryName:t,version:n};return this.addFontFamily(i),i}getOpenTypeFeatures(e){V(e.assetKey,`Font must have an asset key`);let t=this.assetByKey.get(e.assetKey)?.properties?.font?.openTypeData;return em(t)?t?.map(e=>{if(nm(e))return{tag:e.tag,coverage:e.coverage}}):[]}isValidBuiltInFont(e){return!e.mimeType.startsWith(`font/`)||e.properties?.kind!==`font`||!e.properties.font||!e.properties.font.fontVersion||!e.properties.font.fontFamily?!1:`fontFamily`in e.properties.font}createSelector(e,t,n){return`${PE}${e}/${t}/${n}`}parseSelector(e){if(!e.startsWith(PE))return null;let[t,n]=e.split(PE);if(n===void 0)return null;let[r,i,a]=n.split(`/`);return!r||!i||!a?null:{name:r,variant:i,source:this.name,isVariable:i.toLowerCase().includes(`variable`)}}addFontFamily(e){this.fontFamilies.push(e),this.byFamilyName.set(e.name,e)}},IE={ultralight:100,"ultralight-italic":100,thin:200,"thin-italic":200,demi:200,light:300,"light-italic":300,normal:350,base:400,regular:400,classic:400,"regular-slanted":400,italic:400,oblique:400,dense:400,brukt:300,book:400,"book-italic":400,text:400,"text-italic":400,medium:500,solid:500,"medium-oblique":500,"medium-italic":500,mittel:500,semibold:600,"semibold-italic":600,bold:700,"bold-italic":700,"bold-oblique":700,fett:700,ultrabold:800,"ultrabold-italic":800,extrabold:800,"extrabold-italic":800,black:900,extralight:100,"extralight-italic":100,"black-italic":900,"extra-italic":900,"extra-italic-bold":900,satt:900,heavy:900,"heavy-italic":900,serif:100,school:200,expanded:300,gothique:500,"dense-light":200,"dense-regular":300,"dense-medium":400,"dense-bold":500,"solid-light":600,"solid-regular":700,"solid-medium":800,"solid-bold":900,53:400,55:600,"narrow-regular":350,"narrow-black":850,variable:1e3,"variable-italic":1e3},LE=Ad(`custom-font-source`),RE=`CUSTOM;`,zE=`CUSTOMV2;`,BE=class e{constructor(){L(this,`name`,`custom`),L(this,`fontFamilies`,[]),L(this,`byFamilyName`,new Map),L(this,`assetsByKey`,new Map)}deprecatedImportFonts(t){this.fontFamilies.length=0,this.byFamilyName.clear(),this.assetsByKey.clear();let n=[];for(let r of t){if(!this.isValidCustomFontAsset(r))continue;let t=r.properties?.font.variationAxes,i=Array.isArray(t),a=hm(r.properties),o=this.createFontFamily(a),s=r.properties?.font.openTypeData,c=i?`variable`:this.inferVariantName(a),l=Zp(r),u=e.createLegacySelector(a),{family:d,variant:f}=gm(r.properties.font),p=e.createSelector(d,f),m={assetKey:r.key,family:o,selector:u,variant:c,file:l,hasOpenTypeFeatures:em(s),variationAxes:tm(t),owner:ym(r),cssFamilyName:e.cssFontFamilyFromSelector(u),alternativeSelectors:{[p]:{variant:f,cssFamilyName:e.cssFontFamilyFromSelector(p)}}};o.fonts.push(m),this.assetsByKey.set(r.key,r),n.push(...o.fonts)}return n}importFonts(t,n){if(!n)return this.deprecatedImportFonts(t);this.fontFamilies.length=0,this.byFamilyName.clear(),this.assetsByKey.clear();let r={};for(let n of t){if(!this.isValidCustomFontAsset(n))continue;let{family:t,variant:i,weight:a,style:o}=gm(n.properties.font),s=n.properties.font.variationAxes,c=Array.isArray(s),l=n.properties.font.openTypeData,u=Zp(n),d=ym(n),f=hm(n.properties),p=e.createLegacySelector(f),m=this.createFontFamily(t),h=e.createSelector(m.name,i),g={assetKey:n.key,family:m,selector:h,variant:i,weight:a,style:o,file:u,hasOpenTypeFeatures:em(l),variationAxes:tm(s),owner:d,alternativeSelectors:{[p]:{variant:c?`variable`:this.inferVariantName(f),cssFamilyName:e.cssFontFamilyFromSelector(p)}},cssFamilyName:e.cssFontFamilyFromSelector(h)},_=mm(m.fonts,g);if(_?.projectDuplicate)g.owner===`project`&&(m.fonts[_.index]=g,r[h]=g);else if(_){LE.warn(`Duplicate font found for:`,g,`with existing font:`,_.existingFont);let e=_.existingFont,t=g.file?.endsWith(`.woff2`)??!1,n=e.file?.endsWith(`.woff2`)??!1;t&&!n&&(m.fonts[_.index]=g,r[h]=g)}else m.fonts.push(g),r[h]=g;this.assetsByKey.set(n.key,n)}for(let e of this.fontFamilies)e.fonts.length>0&&vm(e);return Object.values(r)}static createSelector(e,t){return`${zE}${e}${t?` ${t}`:``}`}static createLegacySelector(e){return`${RE}${e}`}static cssFontFamilyFromSelector(e){return V(dm(e),`Selector must be a custom font selector`),pm(e)?e.slice(RE.length):e.slice(zE.length)}isValidCustomFontAsset(e){return!e.mimeType.startsWith(`font/`)||e.properties?.kind!==`font`||!e.properties.font?!1:`fontFamily`in e.properties.font}getOpenTypeFeatures(e){V(e.assetKey,`Font must have an asset key`);let t=this.assetsByKey.get(e.assetKey)?.properties?.font?.openTypeData;return em(t)?t?.map(e=>{if(nm(e))return{tag:e.tag,coverage:e.coverage}}):[]}inferVariantName(e){let t=[`thin`,`ultra light`,`extra light`,`light`,`normal`,`medium`,`semi bold`,`bold`,`extra bold`,`black`],n=[...t.map(e=>`${e} italic`),...t],r=e.toLowerCase(),i=[...r.split(` `),...r.split(`-`),...r.split(`_`)],a=n.find(e=>i.includes(e)||i.includes(e.replace(/\s+/gu,``)));return a?a.replace(/^\w|\s\w/gu,e=>e.toUpperCase()):`Regular`}createFontFamily(e){let t=this.byFamilyName.get(e);if(t)return t;let n={source:this.name,name:e,fonts:[]};return this.addFontFamily(n),n}addFontFamily(e){this.fontFamilies.push(e),this.byFamilyName.set(e.name,e)}getFontFamilyByName(e){return this.byFamilyName.get(e)||null}},VE=[`display`,`sans`,`serif`,`slab`,`handwritten`,`script`],HE=`FS;`,UE={thin:100,hairline:100,extralight:200,light:300,regular:400,medium:500,semibold:600,bold:700,extrabold:800,ultra:800,black:900,heavy:900},WE=Object.keys(UE),GE=(()=>RegExp(`^(?:${[...WE,`italic`,`variable`].join(`|`)})`,`u`))(),KE=class e{constructor(){L(this,`name`,`fontshare`),L(this,`fontFamilies`,[]),L(this,`byFamilyName`,new Map)}getFontFamilyByName(e){return this.byFamilyName.get(e)??null}static parseVariant(e){let t=e.toLowerCase().split(` `),n=WE.find(e=>t.includes(e)),r=e.toLowerCase().includes(`italic`)?`italic`:`normal`;return{weight:n&&UE[n]||400,style:r===`italic`?r:`normal`}}parseSelector(e){if(!e.startsWith(HE))return null;let t=e.split(`-`);if(t.length!==2)return null;let[n,r]=t;return!n||!r?null:{name:n.replace(HE,``),variant:r,source:this.name,isVariable:r.toLowerCase().includes(`variable`)}}static createSelector(e,t){return`${HE}${e}-${t.toLowerCase()}`}static createMetadataSelector(e){return`${HE}${e}`}addFontFamily(e){this.fontFamilies.push(e),this.byFamilyName.set(e.name,e)}async importFonts(t,n){this.fontFamilies.length=0,this.byFamilyName.clear();let r=await bm(`fontshare`),i=[];for(let a of t){let t=a.font_styles.filter(e=>{let t=e.name.toLowerCase();return!(!GE.exec(t)||t.split(` `).includes(`wide`))}).map(t=>({...e.parseVariant(t.name),selector:e.createSelector(a.name,t.name),isVariable:t.is_variable,fontshareVariantName:t.name,file:t.file})),o=e.createMetadataSelector(a.name),s=n?.[o],c=a.name,l=this.getFontFamilyByName(c);l||(l={name:c,fonts:[],source:this.name},this.addFontFamily(l));let u=r[e.createMetadataSelector(a.name)];for(let e of t){let{variantBold:n,variantBoldItalic:r,variantItalic:o,variantVariable:c,variantVariableItalic:d}=sm(e,t),f={family:l,variant:e.fontshareVariantName.toLowerCase(),selector:e.selector,selectorBold:n?.selector,selectorBoldItalic:r?.selector,selectorItalic:o?.selector,selectorVariable:c?.selector,selectorVariableItalic:d?.selector,weight:e.weight,style:e.style,file:e.file,category:wm(a.category),hasOpenTypeFeatures:u,variationAxes:e.isVariable?s:void 0,cssFamilyName:Qp(l.name,e.isVariable)};l.fonts.push(f),i.push(f)}}return i}async getOpenTypeFeatures(t){return(await xm(`fontshare`))[e.createMetadataSelector(t.family.name)]}},qE=`Inter`,JE=`FR;`,YE={Thin:100,ExtraLight:200,Light:300,"":400,Medium:500,SemiBold:600,Bold:700,ExtraBold:800,Black:900},XE=class e{constructor(){L(this,`name`,`framer`),L(this,`fontFamilies`,[]),L(this,`byFamilyName`,new Map)}getFontFamilyByName(e){return this.byFamilyName.get(e)??null}addFontFamily(e){let t={name:e,fonts:[],source:this.name};return this.fontFamilies.push(t),this.byFamilyName.set(t.name,t),t}static getDraftFontPropertiesBySelector(e){if(!e.startsWith(JE)&&!e.startsWith(qE))return null;let[t,n=``]=e.split(`-`);if(!t)return null;let r=n.includes(`Italic`)?`italic`:`normal`,i=n.replace(`Italic`,``);return{cssFamilyName:t,style:r,weight:i&&YE[i]||400,source:`framer`,variant:void 0,category:`sans-serif`}}static createMetadataSelector(e){return`${JE}${e}`}importFonts(t,n){this.fontFamilies.length=0,this.byFamilyName.clear();let r=[];return t.forEach(t=>{let{uiFamilyName:i,...a}=t,o=e.createMetadataSelector(t.uiFamilyName),s=n?.[o],c=this.getFontFamilyByName(i);c||=this.addFontFamily(i);let l=t.selector===t.selectorVariable||t.selector===t.selectorVariableItalic,u={...a,family:c,variationAxes:l?s:void 0};c.fonts.push(u),r.push(u)}),r}async getOpenTypeFeatures(t){return(await xm(`framer`))[e.createMetadataSelector(t.family.name)]}},ZE=`GF;`,QE=class e{constructor(){L(this,`name`,`google`),L(this,`fontFamilies`,[]),L(this,`byFamilyName`,new Map)}getFontFamilyByName(e){return this.byFamilyName.get(e)??null}static parseVariant(e){if(e===`regular`)return{style:`normal`,weight:400};let t=/(\d*)(normal|italic)?/u.exec(e);return t?{weight:parseInt(t[1]||`400`),style:t[2]===`italic`?`italic`:`normal`}:{}}parseSelector(e){if(!e.startsWith(ZE))return null;let t=e.includes(`-variable-`),n=t?e.split(`-variable-`):e.split(`-`);if(n.length!==2)return null;let[r,i]=n;return!r||!i?null:{name:r.replace(ZE,``),variant:i,source:this.name,isVariable:t}}static createSelector(e,t,n){return`${ZE}${e}-${n?`variable-`:``}${t}`}static createMetadataSelector(e){return`${ZE}${e}`}addFontFamily(e){let t={name:e,fonts:[],source:this.name};return this.fontFamilies.push(t),this.byFamilyName.set(t.name,t),t}async importFonts(t,n,r){this.fontFamilies.length=0,this.byFamilyName.clear();let i=await bm(`google`),a=[],o=Em(t,e=>e.family),s=Em(n,e=>e.family);for(let t in o){let n=o[t];if(!n)continue;let c=this.getFontFamilyByName(n.family);c||=this.addFontFamily(n.family);let l=n.variants.map(r=>({...e.parseVariant(r),googleFontsVariantName:r,selector:e.createSelector(t,r,!1),isVariable:!1,file:n.files[r]})),u=s[t],d=u?.axes?u.variants.map(n=>({...e.parseVariant(n),googleFontsVariantName:n,selector:e.createSelector(t,n,!0),isVariable:!0,file:u.files[n]})):[],f=e.createMetadataSelector(n.family),p=r?.[f],m=[...l,...d],h=m.filter(Gp),g=i[e.createMetadataSelector(t)];for(let e of m){let{weight:t,style:r,selector:i,googleFontsVariantName:o}=e,{variantBold:s,variantItalic:l,variantBoldItalic:u,variantVariable:d,variantVariableItalic:f}=(Gp(e)?sm(e,h):void 0)??{},m={family:c,variant:o,selector:i,selectorBold:s?.selector,selectorBoldItalic:u?.selector,selectorItalic:l?.selector,selectorVariable:d?.selector,selectorVariableItalic:f?.selector,weight:t,style:r,category:Tm(n.category),file:e.file?.replace(`http://`,`https://`),variationAxes:e.isVariable?p:void 0,hasOpenTypeFeatures:g,cssFamilyName:Qp(c.name,e.isVariable)};c.fonts.push(m),a.push(m)}}return a}async getOpenTypeFeatures(t){return(await xm(`google`))[e.createMetadataSelector(t.family.name)]}},$E=Re(ng(),1),eD=5e3,tD=3,nD=class extends Error{constructor(e){super(e),this.name=`FontLoadingError`}},rD=new Map,iD=new Map,aD=(e,t)=>Dm(e,t),oD={"FR;Inter":[{tag:`opsz`,minValue:14,maxValue:32,defaultValue:14,name:`Optical size`},{tag:`wght`,minValue:100,maxValue:900,defaultValue:400,name:`Weight`}]},sD=class{constructor(){L(this,`enabled`,!1),L(this,`bySelector`,new jE),L(this,`loadedSelectors`,new Set),L(this,`getGoogleFontsListPromise`),L(this,`getFontshareFontsListPromise`),L(this,`getBuiltInFontsListPromise`),L(this,`customFontsImportPromise`,new Promise(e=>{this.resolveCustomFontsImportPromise=e})),L(this,`local`),L(this,`google`),L(this,`fontshare`),L(this,`builtIn`),L(this,`framer`),L(this,`custom`),L(this,`bySelectorValuesCache`),L(this,`testing`,{addFont:this.addFont.bind(this)}),this.local=new kE,this.google=new QE,this.fontshare=new KE,this.framer=new XE,this.custom=new BE,this.builtIn=new FE,this.importLocalFonts()}get hash(){return this.bySelector.hash}addFont(e){if(this.bySelector.set(e.selector,e),e.alternativeSelectors)for(let t of Object.keys(e.alternativeSelectors))this.bySelector.set(t,e)}getAvailableFonts(){if(!this.bySelectorValuesCache||this.bySelectorValuesCache.hash!==this.bySelector.hash){let e=new Map;for(let t of this.bySelector.values())e.set(t,!0);this.bySelectorValuesCache={result:Array.from(e.keys()),hash:this.bySelector.hash}}return this.bySelectorValuesCache.result}importLocalFonts(){for(let e of this.local.importFonts())this.addFont(e),this.loadFont(e.selector)}async importGoogleFonts(){return this.getGoogleFontsListPromise||=Promise.resolve().then(async()=>{let{staticFonts:e,variableFonts:t}=await Db.fetchGoogleFontsList(),n=await km(`google`);for(let r of await this.google.importFonts(e,t,n))this.addFont(r);return{staticFonts:e,variableFonts:t}}),this.getGoogleFontsListPromise}async importFontshareFonts(){if(!this.getFontshareFontsListPromise){this.getFontshareFontsListPromise=Db.fetchFontshareFontsList();let e=await this.getFontshareFontsListPromise,t=await km(`fontshare`);for(let n of await this.fontshare.importFonts(e,t))this.addFont(n)}return this.getFontshareFontsListPromise}async importBuiltInFonts(){if(!this.getBuiltInFontsListPromise){this.getBuiltInFontsListPromise=Db.fetchBuiltInFontsList();let e=await this.getBuiltInFontsListPromise;for(let t of await this.builtIn.importFonts(e))this.addFont(t)}return this.getBuiltInFontsListPromise}importFramerFonts(e){let t=km(`framer`);this.framer.importFonts(e,t).forEach(e=>{this.addFont(e)})}importCustomFonts(e,t){this.bySelector.forEach((e,t)=>{dm(t)&&this.bySelector.delete(t)});let n=this.custom.importFonts(e,t);for(let e of n)this.addFont(e);this.resolveCustomFontsImportPromise()}getCustomFontsImportPromise(){return this.customFontsImportPromise}getFontFamily(e){return this[e.source].getFontFamilyByName(e.name)}getFontBySelector(e){if(!e)return;let t;if(t=this.bySelector.get(e),t)return t.alternativeSelectors&&e in t.alternativeSelectors?{...t,...t.alternativeSelectors[e]}:t}getDraftPropertiesBySelector(e){let t=this.getFontBySelector(e);if(t)return{style:t.style,weight:t.weight,variant:t.variant,cssFamilyName:t.cssFamilyName,source:t.family.source,category:t.category};let n=this.google.parseSelector(e);if(n){let e=QE.parseVariant(n.variant);if(Gp(e))return{style:e.style,weight:e.weight,variant:n.variant,cssFamilyName:$p(n,`google`),source:`google`,category:void 0}}let r=this.fontshare.parseSelector(e);if(r){let e=KE.parseVariant(r.variant);if(Gp(e))return{style:e.style,weight:e.weight,variant:r.variant,cssFamilyName:$p(r,`fontshare`),source:`fontshare`,category:void 0}}let i=this.builtIn.parseSelector(e);if(i){let e=FE.parseVariant(i.variant);if(Gp(e))return{style:e.style,weight:e.weight,variant:i.variant,cssFamilyName:$p(i,`builtIn`),source:`builtIn`,category:void 0}}return XE.getDraftFontPropertiesBySelector(e)||null}isSelectorLoaded(e){return this.loadedSelectors.has(e)}async loadFont(e){let t=this.getFontBySelector(e);if(!t)return 2;if(this.loadedSelectors.has(e))return 0;let n=t.cssFamilyName,r=t.family.source,i=um(t);switch(r){case`local`:return this.loadedSelectors.add(e),1;case`framer`:if(ya()||await Om(t.family.name,t.style,t.weight),i){if(!t.file)return Promise.reject(`Unable to load font: ${e}`);await aD({family:n,url:t.file,weight:t.weight,style:t.style},document)}return this.loadedSelectors.add(e),1;case`google`:case`fontshare`:case`builtIn`:case`custom`:return t.file?(await aD({family:n,url:t.file,weight:t.weight,style:t.style},document),this.loadedSelectors.add(e),1):Promise.reject(`Unable to load font: ${e}`);default:H(r)}}async loadFontsFromSelectors(e){if(!this.enabled)return[];let t=[];e.some(e=>e.startsWith(HE))&&t.push(this.importFontshareFonts().catch(e=>{Br(`Failed to load Fontshare fonts:`,e)})),e.some(e=>e.startsWith(ZE))&&t.push(this.importGoogleFonts().catch(e=>{Br(`Failed to load Google fonts:`,e)})),e.some(e=>e.startsWith(PE))&&t.push(this.importBuiltInFonts().catch(e=>{Br(`Failed to load built-in fonts:`,e)})),e.some(dm)&&t.push(this.customFontsImportPromise.catch(e=>{Br(`Failed to load custom fonts:`,e)})),t.length>0&&await Promise.all(t);let n=[];for(let t of e)n.push(this.loadFont(t));return Promise.allSettled(n)}async loadFonts(e){return{newlyLoadedFontCount:(await this.loadFontsFromSelectors(e)).filter(e=>e.status===`fulfilled`&&e.value===1).length}}async loadMissingFonts(e,t){let n=e.filter(e=>!cD.loadedSelectors.has(e));n.length!==0&&(await cD.loadWebFontsFromSelectors(n),n.every(e=>cD.loadedSelectors.has(e))&&t&&t())}async loadWebFontsFromSelectors(e){return this.loadFontsFromSelectors(e)}get defaultFont(){let e=this.getFontBySelector(`Inter`);return V(e,`Can’t find Inter font`),e}},cD=new sD,lD={"data-1p-ignore":!0,"data-lpignore":!0,"data-form-type":`other`,autocomplete:`off`},uD=j(function(e,t){let{autoFocus:n,className:r,inputName:i,max:o,min:s,placeholder:c,required:l,step:u,style:d,type:p,maxLength:m,defaultValue:h,autofillEnabled:g,onChange:_,onBlur:v,onInvalid:y,onFocus:b,onValid:S,onClear:C,...w}=e,[T,D]=f(!!h),[O,k]=f(),ee=E(null),j=yl();h!==O&&(D(!!h),k(h));let te=a(async e=>{await hn({continueAfter:`paint`});let t=e.target.value;_?.(e),ne(()=>D(!!t))},[_]),M=a(()=>{ee.current&&(ee.current.value=``),C?.(),ne(()=>D(!1))},[C]),re=ka(S,y,te,v,b);if(p===`hidden`)return A(ye.input,{type:`hidden`,name:i,defaultValue:h});let ie=g===!1?lD:void 0,ae=!!C&&T;return x(ye.div,{ref:t,style:d,className:tc(fD,my,r,C&&mD),...w,children:[p===`textarea`?A(ye.textarea,{ref:ee,...ie,...re,required:l,autoFocus:n,name:i,placeholder:c,className:py,defaultValue:h,maxLength:m},j?h:void 0):A(ye.input,{ref:ee,...ie,...re,type:p,required:l,autoFocus:n,name:i,placeholder:c,className:tc(py,!T&&hy),defaultValue:h,min:s,max:o,step:u,maxLength:m},j?h:void 0),ae&&A(`button`,{type:`button`,className:pD,onClick:M,"aria-label":`Clear`,children:A(Nm,{})})]})}),dD=16,fD=`framer-form-text-input`,pD=`framer-form-text-input-clear`,mD=`framer-form-text-input-has-clear-button`,hD=`<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14"><path d="m1.5 8 7-7M9 5.5l-3 3" stroke="%23999" stroke-width="1.5" stroke-linecap="round"></path></svg>`,gD=`<svg xmlns="http://www.w3.org/2000/svg" transform="scale(-1, 1)" width="14" height="14"><path d="m1.5 8 7-7M9 5.5l-3 3" stroke="%23999" stroke-width="1.5" stroke-linecap="round"></path></svg>`,_D=`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"><path fill="rgb(153, 153, 153)" d="M3 5a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v2H3Z" opacity=".3"/><path fill="transparent" stroke="rgb(153, 153, 153)" stroke-width="1.5" d="M3.25 5.25a2 2 0 0 1 2-2h5.5a2 2 0 0 1 2 2v5.5a2 2 0 0 1-2 2h-5.5a2 2 0 0 1-2-2ZM3 6.75h9.5"/></svg>`,vD=`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"><path fill="transparent" stroke="rgb(153, 153, 153)" stroke-width="1.5" d="M2.5 8a5.5 5.5 0 1 1 11 0 5.5 5.5 0 1 1-11 0Z"/><path fill="transparent" stroke="rgb(153, 153, 153)" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M7.75 8.25v-3m0 3h2"/></svg>`,yD=ay(uD,(()=>[..._y,...by,...vy,Z(`.${my}`,{boxShadow:Z.variable(`--framer-input-box-shadow`),borderTopLeftRadius:Z.variable(`--framer-input-border-radius-top-left`),borderTopRightRadius:Z.variable(`--framer-input-border-radius-top-right`),borderBottomRightRadius:Z.variable(`--framer-input-border-radius-bottom-right`),borderBottomLeftRadius:Z.variable(`--framer-input-border-radius-bottom-left`),cornerShape:Z.variable(`--framer-input-corner-shape`),background:Z.variable(`--framer-input-background`),transition:Z.variable(`--framer-input-focused-transition`),transitionProperty:`background, box-shadow`}),Z(`.${fD} .${py}::placeholder`,{color:Z.variable(`--framer-input-placeholder-color`)}),Z(`.${fD} .${py}[type="date"], .${fD} .${py}[type="time"]`,{"-webkit-appearance":`none`,appearance:`none`}),Z(`.${fD} .${py}::-webkit-date-and-time-value`,{textAlign:`start`}),Z(`.${fD} textarea`,{display:`flex`,resize:Z.variable(`--framer-textarea-resize`),overflowY:`auto`,minHeight:`inherit`,maxHeight:`inherit`,whiteSpace:`break-spaces`}),Z(`.${fD} textarea::-webkit-resizer`,{background:`no-repeat ${lt(hD)}`}),Z(`.${fD}:dir(rtl) textarea::-webkit-resizer`,{background:`no-repeat ${lt(gD)}`}),Z(`.${fD} textarea::-webkit-scrollbar`,{cursor:`pointer`,background:`transparent`}),Z(`.${fD} textarea::-webkit-scrollbar-thumb:window-inactive`,{opacity:0}),Z(`.${fD} textarea::-webkit-scrollbar-corner`,{background:`none`,backgroundColor:`transparent`,outline:`none`}),Z(`.${fD} .${py}::-webkit-datetime-edit`,{height:Z.variable(`--framer-input-font-line-height`)}),Z(`.${fD} .${py}.${hy}::-webkit-datetime-edit`,{color:Z.variable(`--framer-input-placeholder-color`),"-webkit-text-fill-color":Z.variable(`--framer-input-placeholder-color`),overflow:`visible`}),Z(`.${fD} .${py}[type="date"]::before, .${fD} .${py}[type="time"]::before`,{...Ty,paddingLeft:`${Cy}px`,maskPosition:`${Cy}px center`,backgroundPosition:`${Cy}px center`}),Z(`.${fD} .${py}[type="date"]::before`,{maskImage:Z.variable(`--framer-input-icon-mask-image`,lt(_D)),backgroundImage:Z.variable(`--framer-input-icon-image`)}),Z(`.${fD} .${py}[type="time"]::before`,{maskImage:Z.variable(`--framer-input-icon-mask-image`,lt(vD)),backgroundImage:Z.variable(`--framer-input-icon-image`)}),Z(`.${fD} .${py}::-webkit-calendar-picker-indicator`,{opacity:0,position:`absolute`,right:0,top:0,bottom:0,padding:Z.variable(`--framer-input-padding`),paddingTop:0,paddingBottom:0,width:`${dD}px`,height:`100%`}),Z(`.${fD}:focus-within, .${fD}.${gy}`,{boxShadow:Z.variable(`--framer-input-focused-box-shadow`,`--framer-input-box-shadow`),background:Z.variable(`--framer-input-focused-background`,`--framer-input-background`)}),Z(`.${fD}:focus-within::after, .${fD}.${gy}::after`,{borderColor:Z.variable(`--framer-input-focused-border-color`,`--framer-input-border-color`),borderStyle:Z.variable(`--framer-input-focused-border-style`,`--framer-input-border-style`),borderWidth:Z.variable(`--framer-input-focused-border-width`,yy)}),Z(`.${pD}`,{position:`absolute`,right:0,top:0,bottom:0,width:`${dD}px`,boxSizing:`content-box`,padding:Z.variable(`--framer-input-padding`),border:`none`,background:`transparent`,cursor:`pointer`,color:Z.variable(`--framer-input-placeholder-color`),transition:`color 0.15s ease`,outline:`none`}),Z(`.${pD}:hover, .${pD}:focus-visible`,{color:Z.variable(`--framer-input-font-color`)}),Z(`.${fD}.${mD} .${py}`,{paddingRight:`calc(${Z.variable(`--framer-input-padding`)} + ${dD}px + ${Cy}px)`})])(),`framer-lib-form-plain-text-input`),bD=(()=>({x:void 0,y:void 0,z:0,translateX:void 0,translateY:void 0,translateZ:0,rotate:void 0,rotateX:0,rotateY:0,rotateZ:void 0,scale:1,scaleX:1,scaleY:1,scaleZ:1,skew:0,skewX:0,skewY:0,originX:void 0,originY:void 0,originZ:void 0,perspective:0,transformPerspective:0}))(),xD={opacity:0},SD={opacity:1},CD=Gm(n.forwardRef(function(e,t){let{background:r,children:i,alt:a,draggable:o,fitImageDimension:s,style:c,...l}=e,u={...c},p=d(()=>co(r),[r]),[m,h]=f();n.useLayoutEffect(()=>{if(!r?.src||!s||p)return;let e=document.createElement(`img`);e.onload=()=>{e.naturalWidth&&e.naturalHeight&&h({width:e.naturalWidth,height:e.naturalHeight})},e.src=r.src},[r?.src,s,p]);let g=p??m;return s&&g&&(u[s]=`auto`,u.aspectRatio=g.width/g.height),r&&delete u.background,x(lo(e.as),{...l,style:u,ref:t,draggable:o,children:[r&&A(ro,{image:r,alt:a,draggable:o}),i]})})),TD=(()=>!ga()&&typeof Document<`u`&&typeof Document.parseHTMLUnsafe==`function`)(),ED=/(<([a-z]+)(?:\s+(?!href[\s=])[^=\s]+=(?:'[^']*'|"[^"]*"))*)(?:(\s+href\s*=)(?:'([^']*)'|"([^"]*)"))?((?:\s+[^=\s]+=(?:'[^']*'|"[^"]*"))*>)/gi,DD=`{{ text-placeholder }}`,OD=`rich-text-wrapper`,kD=Ma(j(function(e,t){let{id:n,name:r,html:i,htmlFromDesign:a,text:o,textFromDesign:c,fonts:l=[],width:f,height:p,left:m,right:h,top:g,bottom:_,center:v,className:y,stylesPresetsClassName:b,visible:x=!0,opacity:S,rotation:C=0,verticalAlignment:w=`top`,isEditable:T=!1,environment:D=J.current,withExternalLayout:O=!1,positionSticky:k,positionStickyTop:ee,positionStickyRight:j,positionStickyBottom:te,positionStickyLeft:ne,__htmlStructure:M,__fromCanvasComponent:re=!1,_forwardedOverrideId:ie,_forwardedOverrides:ae,_usesDOMRect:oe,children:se,...ce}=e,le=na(),ue=go(e),de=E(null),fe=t??de,{navigate:pe,getRoute:me}=kt(),he=jt();_n(e.preload??[]),So(e,fe);let ge=u(Lb),N=yl(),_e=o,ve=ie??n;if(ve&&ae){let e=ae[ve];typeof e==`string`&&(_e=e)}let P=``;if(_e){let e=qm(_e);P=M?M.replace(DD,e):`<p>${e}</p>`}else if(i)P=i;else if(c){let e=qm(c);P=M?M.replace(DD,e):`<p>${e}</p>`}else a&&(P=a);let be=fu(),xe=d(()=>N||!me||!he?P:Jm(P,me,he,be),[P,me,he,be]);if(s(()=>{let e=fe.current;if(e===null)return;function t(e){let t=ou(e.target,fe.current);Sa(e)||!pe||!t||t.getAttribute(`target`)===`_blank`||Tl(pe,t,be)&&e.preventDefault()}return e.addEventListener(`click`,t),()=>{e.removeEventListener(`click`,t)}},[pe,be]),Zm(l,re,fe),!x)return null;let Se=T&&D()===J.canvas,F={outline:`none`,display:`flex`,flexDirection:`column`,justifyContent:Xm(w),opacity:Se?0:S,flexShrink:0},Ce=J.hasRestrictions(),I=$i(e,le||0,!1),we=oe&&(f===`auto`||p===`auto`),Te=e.transformTemplate||!I||!Ce||re||we?e.transformTemplate??ho(v):void 0;if(!O){if(I&&Ce&&!we){let e=tv.getNumber(C).toFixed(4);F.transform=`translate(${I.x}px, ${I.y}px) rotate(${e}deg)`,F.width=I.width,F.minWidth=I.width,F.height=I.height}else F.left=m,F.right=h,F.top=g,F.bottom=_,F.width=f,F.height=p,F.rotate=C;k?(!N||ge)&&(F.position=`sticky`,F.willChange=`transform`,F.zIndex=1,F.top=ee,F.right=j,F.bottom=te,F.left=ne):N&&(e.positionFixed||e.positionAbsolute)&&(F.position=`absolute`)}return $s(e,F),Xs(e,F),Object.assign(F,e.style),A(ye.div,{id:n,ref:fe,...ce,style:F,layoutId:ue,"data-framer-name":r,"data-framer-component-type":`DeprecatedRichText`,"data-center":v,className:tc(y,b,OD),transformTemplate:Te,dangerouslySetInnerHTML:{__html:xe}})})),AD={opacity:1,y:0,x:0,scale:1,rotate:0,rotateX:0,rotateY:0,skewX:0,skewY:0,filter:`none`},jD=(()=>RegExp(`\\p{Regional_Indicator}{2}|\\p{Emoji}\\p{Emoji_Modifier}?\\p{Variation_Selector}?(?:\\u{200d}\\p{Emoji}\\p{Emoji_Modifier}?\\p{Variation_Selector}?)*|.`,`gu`))(),MD=j(function(e,t){return A(`svg`,{...e,ref:t,children:e.children})}),ND=ye.create(MD),PD=j(function({viewBoxScale:e,viewBox:t,children:n,...r},i){return A(ND,{...r,ref:i,viewBox:t,children:A(ye.foreignObject,{width:`100%`,height:`100%`,className:`framer-fit-text`,transform:`scale(${e})`,style:{overflow:`visible`,transformOrigin:`center center`},children:n})})}),FD=[],ID=`RichTextContainer`,LD=j(function(e,t){let{__fromCanvasComponent:n=!1,_forwardedOverrideId:r,_forwardedOverrides:i,_usesDOMRect:a,anchorLinkOffsetY:o,as:s,bottom:c,center:l,children:f,environment:p=J.current,fonts:m=FD,height:h,isEditable:g=!1,left:_,name:v,opacity:y,positionSticky:b,positionStickyBottom:x,positionStickyLeft:S,positionStickyRight:C,positionStickyTop:w,right:T,rotation:D=0,style:O,_initialStyle:k,stylesPresetsClassNames:ee,text:j,top:te,verticalAlignment:ne=`top`,visible:M=!0,width:re,withExternalLayout:ie=!1,viewBox:ae,viewBoxScale:oe=1,effect:se,...ce}=e,le=na(),ue=yl(),de=u(Lb),fe=go(e),pe=E(null),me=t??pe;So(e,me),Zm(m,n,me);let he=oh(se,me),ge=d(()=>{if(f)return ph(f,ee,j,o,void 0,he.getTokenizer())},[f,ee,j,o,he]);if(!M)return null;let N={opacity:g&&p()===J.canvas?0:y},_e=Xm(ne);_e!==Ey.justifyContent&&(N.justifyContent=_e);let ve={},ye=J.hasRestrictions(),P=$i(e,le||0,!1),be=a&&(re===`auto`||h===`auto`),xe=e.transformTemplate||!P||!ye||n||be?e.transformTemplate??ho(l):void 0;ie||(P&&ye&&!be?(ve.x=P.x+(z(O?.x)?O.x:0),ve.y=P.y+(z(O?.y)?O.y:0),ve.left=0,ve.top=0,N.rotate=tv.getNumber(D),N.width=P.width,N.minWidth=P.width,N.height=P.height):(N.left=_,N.right=T,N.top=te,N.bottom=c,N.width=re,N.height=h,N.rotate=D),b?(!ue||de)&&(N.position=`sticky`,N.willChange=`transform`,N.zIndex=1,N.top=w,N.right=C,N.bottom=x,N.left=S):ue&&(e.positionFixed||e.positionAbsolute)&&(N.position=`absolute`)),$s(e,N),Xs(e,N),Object.assign(N,k,O,ve),fe&&(ce.layout=`preserve-aspect`);let Se=lo(e.as),F=ce[`data-framer-name`]??v;return R(e.viewBox)?e.as===void 0?A(PD,{...ce,ref:me,style:N,layoutId:fe,viewBox:ae,viewBoxScale:oe,transformTemplate:xe,"data-framer-name":F,"data-framer-component-type":ID,children:ge}):A(Se,{...ce,ref:me,style:N,layoutId:fe,transformTemplate:xe,"data-framer-name":F,"data-framer-component-type":ID,children:A(PD,{viewBox:ae,viewBoxScale:oe,style:{width:`100%`,height:`100%`},children:ge})}):A(Se,{...ce,ref:me,style:N,layoutId:fe,transformTemplate:xe,"data-framer-name":F,"data-framer-component-type":ID,children:ge})}),RD=Ma(j(function({children:e,html:t,htmlFromDesign:n,...r},i){let a=t||e||n;if(R(a)){!r.stylesPresetsClassName&&B(r.stylesPresetsClassNames)&&(r.stylesPresetsClassName=Object.values(r.stylesPresetsClassNames).join(` `));let e={[R(t)?`html`:`htmlFromDesign`]:a};return A(kD,{...r,...e,ref:i})}if(!r.stylesPresetsClassNames&&R(r.stylesPresetsClassName)){let[e,t,n,i,a]=r.stylesPresetsClassName.split(` `);e===void 0||t===void 0||n===void 0||i===void 0||a===void 0?console.warn(`Encountered invalid stylesPresetsClassNames: ${r.stylesPresetsClassNames}`):r.stylesPresetsClassNames={h1:e,h2:t,h3:n,p:i,a}}return A(LD,{...r,ref:i,children:O(a)?a:void 0})})),zD=`framer/asset-reference,`,BD=({id:e,path:t,transform:n,repeat:r,width:i,height:a,offsetX:o,offsetY:s})=>{let c=Th(t);return A(`pattern`,{id:e,width:r?i:`100%`,height:r?a:`100%`,patternContentUnits:r?void 0:`objectBoundingBox`,patternUnits:r?`userSpaceOnUse`:void 0,x:r?o:void 0,y:r?s:void 0,children:A(`image`,{width:r?i:1,height:r?a:1,href:c,preserveAspectRatio:`none`,transform:r?void 0:n,x:r?0:void 0,y:r?0:void 0},c)})},VD=_a(),HD=class{constructor(e,t,n,r,i=0){this.id=e,this.svg=t,this.innerHTML=n,this.viewBox=r,this.count=i}},UD=`position: absolute; overflow: hidden; bottom: 0; left: 0; width: 0; height: 0; z-index: 0; contain: strict`,WD=class{constructor(){L(this,`entries`,new Map),L(this,`vectorSetItems`,new Map)}debugGetEntries(){return this.entries}subscribe(e,t,n,r){if(!e||e===``)return``;let i=this.entries.get(e);if(!i){n||=`svg${String(Gb(e))}_${String(e.length)}`;let a=e,o,s=Eh(e);s&&(t&&Dh(s,n),s.id=n,o=Mh(s),s.removeAttribute(`xmlns`),s.removeAttribute(`xlink`),s.removeAttribute(`xmlns:xlink`),a=s.outerHTML),i=this.createDOMElementFor(a,n,o,r),this.entries.set(e,i)}return i.count+=1,i.innerHTML}getViewBox(e){if(!(!e||e===``))return this.entries.get(e)?.viewBox}unsubscribe(e){if(!e||e===``)return;let t=this.entries.get(e);t&&(--t.count,!(t.count>0)&&setTimeout(()=>this.maybeRemoveEntry(e),5e3))}maybeRemoveEntry(e){let t=this.entries.get(e);t&&(t.count>0||(this.entries.delete(e),this.removeDOMElement(t)))}removeDOMElement(e){VD&&(document?.getElementById(e.id))?.remove()}getOrCreateTemplateContainer(){let e=document.getElementById(`svg-templates`);if(e)return e;let t=document.createElement(`div`);return t.id=`svg-templates`,t.ariaHidden=`true`,t.style.cssText=UD,document.body.appendChild(t),t}maybeAppendTemplate(e,t){if(document.getElementById(e))return;let n=document.createElement(`div`);n.innerHTML=t;let r=n.firstElementChild;r&&(r.id=e,this.getOrCreateTemplateContainer().appendChild(r))}createDOMElementFor(e,t,n,r){VD&&this.maybeAppendTemplate(t,e);let i=n?`0 0 ${n.width} ${n.height}`:void 0,a=i?` viewBox="${i}"`:``;return new HD(t,e,`<svg style="width:100%;height:100%;${r?`overflow: visible;`:``}"${a}><use href="#${t}"/></svg>`,i)}template(e,t){return this.vectorSetItems.get(e)||(this.vectorSetItems.set(e,{svg:t,count:0}),!VD)||this.maybeAppendTemplate(e,t),`#${e}`}subscribeToTemplate(e){let t=this.vectorSetItems.get(e);if(t)return t.count++,()=>{let t=this.vectorSetItems.get(e);t&&(t.count--,!(t.count>0)&&setTimeout(()=>{this.vectorSetItems.get(e)?.count||(this.vectorSetItems.delete(e),VD&&document?.getElementById(e)?.remove())},5e3))}}clear(){this.entries.clear()}generateTemplates(){let e=[];return e.push(`<div id="svg-templates" style="${UD}" aria-hidden="true">`),this.entries.forEach(t=>e.push(t.svg)),this.vectorSetItems.forEach(t=>e.push(t.svg)),e.push(`</div>`),e.join(`
`)}},GD=new WD,KD=(()=>({cm:96/2.54,mm:96/2.54/10,Q:96/2.54/40,in:96,pc:96/6,pt:96/72,px:1,em:16,ex:8,ch:8,rem:16}))(),qD=j(function(e,t){let r=na(),i=go(e),a=n.useRef(null),o=t??a,s=wE();return So(e,a),A(YD,{...e,innerRef:o,parentSize:r,layoutId:i,providedWindow:s})}),JD=5e4,YD=(()=>{var e;return e=class extends Wb{constructor(){super(...arguments),L(this,`container`,n.createRef()),L(this,`svgElement`,null),L(this,`setSVGElement`,e=>{this.svgElement=e,this.setLayerElement(e)}),L(this,`previouslyRenderedSVG`,``),L(this,`unmountedSVG`,``)}static frame(e){return $i(e,e.parentSize||0)}get frame(){return $i(this.props,this.props.parentSize||0)}componentDidMount(){if(this.unmountedSVG){let{svgContentId:e}=this.props,t=e?`svg${e}`:null;GD.subscribe(this.unmountedSVG,!e,t),this.previouslyRenderedSVG=this.unmountedSVG}this.props.svgContentId||Ih(this.container,this.props)}componentWillUnmount(){GD.unsubscribe(this.previouslyRenderedSVG),this.unmountedSVG=this.previouslyRenderedSVG,this.previouslyRenderedSVG=``}componentDidUpdate(e){if(super.componentDidUpdate(e),this.props.svgContentId)return;let{fill:t}=this.props;Pb.isImageObject(t)&&Pb.isImageObject(e.fill)&&t.src!==e.fill.src&&Do(this.svgElement,`fill`,null,!1),Ih(this.container,this.props)}collectLayout(e,t){if(this.props.withExternalLayout){t.width=`100%`,t.height=`100%`,t.aspectRatio=`inherit`;return}let n=this.frame,{rotation:r,intrinsicWidth:i,intrinsicHeight:a,width:o,height:s}=this.props,c=tv.getNumber(r);if(e.opacity=U(this.props.opacity)?this.props.opacity:1,J.hasRestrictions()&&n){Object.assign(e,{transform:`translate(${n.x}px, ${n.y}px) rotate(${c.toFixed(4)}deg)`,width:`${n.width}px`,height:`${n.height}px`}),Xi(this.props)&&(e.position=`absolute`);let r=n.width/(i||1),o=n.height/(a||1);t.transformOrigin=`top left`;let{zoom:s,target:l}=wv;if(l===J.export){let e=s>1?s:1;t.transform=`scale(${r*e}, ${o*e})`,t.zoom=1/e}else t.transform=`scale(${r}, ${o})`;i&&a&&(t.width=i,t.height=a);return}let{left:l,right:u,top:d,bottom:f}=this.props;Object.assign(e,{left:l,right:u,top:d,bottom:f,width:o,height:s,rotate:c}),Object.assign(t,{left:0,top:0,bottom:0,right:0,position:`absolute`})}render(){let{id:e,visible:t,style:n,fill:r,svg:i,intrinsicHeight:a,intrinsicWidth:o,title:s,description:c,layoutId:l,className:u,variants:d,withExternalLayout:f,innerRef:p,svgContentId:m,height:h,opacity:g,width:_,requiresOverflowVisible:v,...y}=this.props;if(!f&&(!t||!e))return null;let b=e??l??`svg`,S=this.frame,C=S||{width:o||100,height:a||100},w={...n,imageRendering:`pixelated`,flexShrink:0},T={};this.collectLayout(w,T),Js(this.props,w),$s(this.props,w),Wb.applyWillChange(this.props,w,!1);let E=null;if(typeof r==`string`||q.isColorObject(r)){let e=q.isColorObject(r)?r.initialValue||q.toRgbString(r):r;w.fill=e,w.color=e}else if(Qb.isLinearGradient(r)){let t=r,n=`${encodeURI(e||``)}g${Qb.hash(t)}`;w.fill=`url(#${n})`;let{stops:i,x1:a,x2:o,y1:s,y2:c}=_h(t,b);E=A(`svg`,{ref:this.setSVGElement,width:`100%`,height:`100%`,style:{position:`absolute`},role:`presentation`,children:A(`linearGradient`,{id:n,x1:a,x2:o,y1:s,y2:c,children:i.map((e,t)=>A(`stop`,{offset:e.position,stopColor:e.color,stopOpacity:e.alpha},t))})})}else if(ex.isRadialGradient(r)){let t=r,n=`${encodeURI(e||``)}g${ex.hash(t)}`;w.fill=`url(#${n})`;let i=vh(t,b);E=A(`svg`,{ref:this.setSVGElement,width:`100%`,height:`100%`,style:{position:`absolute`},role:`presentation`,children:A(`radialGradient`,{id:n,cy:t.centerAnchorY,cx:t.centerAnchorX,r:t.widthFactor,children:i.stops.map((e,t)=>A(`stop`,{offset:e.position,stopColor:e.color,stopOpacity:e.alpha},t))})})}else if(Pb.isImageObject(r)){let e=Ch(r,C,b);e&&(w.fill=`url(#${e.id})`,E=A(`svg`,{ref:this.setSVGElement,width:`100%`,height:`100%`,style:{position:`absolute`},role:`presentation`,children:A(`defs`,{children:A(BD,{...e})})}))}let O={"data-framer-component-type":`SVG`},k=!S;k&&Object.assign(O,fo(this.props.center));let ee=!v&&!E&&!w.fill&&!w.background&&!w.backgroundImage&&i.length<JD&&!Nh(i)&&!Ph(i),j=null;if(ee)w.backgroundSize=`100% 100%`,w.backgroundImage=lt(i),GD.unsubscribe(this.previouslyRenderedSVG),this.previouslyRenderedSVG=``;else{let e=m?`svg${m}`:null,t=GD.subscribe(i,!m,e,v);GD.unsubscribe(this.previouslyRenderedSVG),this.previouslyRenderedSVG=i,Fh(w)&&(w.overflow=`hidden`),j=x(D,{children:[E,A(`div`,{className:`svgContainer`,style:T,ref:this.container,dangerouslySetInnerHTML:{__html:t}},Pb.isImageObject(r)?r.src:``)]})}let te=lo(this.props.as),{href:ne,target:M,rel:re,onClick:ie,onTap:ae}=this.props,oe=s||c;return A(te,{...O,...y,layoutId:l,transformTemplate:k?ho(this.props.center):void 0,id:e,ref:p,style:w,className:u,variants:d,tabIndex:this.props.tabIndex,role:oe?`img`:void 0,"aria-label":s,"aria-description":c,"aria-hidden":oe?void 0:`true`,onTap:ae,onClick:ie,href:ne,target:M,rel:re,children:j})}},L(e,`supportsConstraints`,!0),L(e,`defaultSVGProps`,{left:void 0,right:void 0,top:void 0,bottom:void 0,style:void 0,_constraints:{enabled:!0,aspectRatio:null},parentSize:0,rotation:0,visible:!0,svg:``,shadows:[]}),L(e,`defaultProps`,{...Wb.defaultProps,...e.defaultSVGProps}),e})(),XD=Ma(qD),ZD=1e3,QD=`explicitInter`,We.prototype.addChild=function({transformer:e=e=>e}){let t=oe(e(this.get()));return this.onChange(n=>t.set(e(n))),t}}));export{$D as $,RD as A,MS as At,sS as B,wC as C,Sp as Ct,J as D,Lp as Dt,lE as E,kt as Et,vb as F,SE as Ft,zh as G,oS as H,sy as I,hn as It,Ba as J,Bh as K,tc as L,JS as M,hc as Mt,Rh as N,Jh as Nt,Ol as O,ay as Ot,za as P,vE as Pt,dt as Q,cD as R,kd as S,bp as St,dE as T,Lt as Tt,aS as U,iS as V,iy as W,Ig as X,ip as Y,Or as Z,xC as _,yl as _t,Bv as a,Rr as at,PC as b,zr as bt,Fi as c,GD as ct,yD as d,Wc as dt,Ta as et,ur as f,jt as ft,mC as g,ss as gt,CD as h,dp as ht,qS as i,aC as it,XD as j,Up as jt,Fw as k,Rp as kt,au as l,hr as lt,SC as m,vp as mt,Uc as n,lg as nt,Bx as o,fE as ot,Kx as p,gl as pt,Lh as q,FS as r,yr as rt,Hx as s,hp as st,su as t,mt as tt,$C as u,sp as ut,xg as v,Ha as vt,$x as w,rp as wt,An as x,nc as xt,_g as y,pr as yt,Xh as z};
//# sourceMappingURL=framer.DePO6ZtZ.mjs.map