1globalThis.STRADA_RELEASE={commit:`8baab3aec8ff48dc5fbac483694f40eec8e5f6b2`,branch:`preview`,deploymentId:`8baab3aec8ff48dc5fbac483694f40eec8e5f6b2`};import{a as e,i as n,s as i}from"./rolldown-runtime-BO1D7fPK.js";import{t as a}from"./jsx-runtime-B44_mNpU.js";import{t as o}from"./react-BIe5H-YT.js";import{t as s}from"./react-dom-fK_C_gDK.js";import{t as c}from"./preload-helper-DeUS1kg4.js";import"./dedent-Bk4XllGD.js";var l=i(a(),1),d=(n=>e===void 0?typeof Proxy<`u`?new Proxy(n,{get:(n,i)=>(e===void 0?n:e)[i]}):n:e)(function(n){if(e!==void 0)return e.apply(this,arguments);throw Error(`Dynamic require of "`+n+`" is not supported`)}),f=i(o(),1),m=i(s(),1),_=Object.create,v=Object.defineProperty,y=Object.getOwnPropertyDescriptor,x=Object.getOwnPropertyNames,S=Object.getPrototypeOf,T=Object.prototype.hasOwnProperty,__knownSymbol=(e,n)=>(n=Symbol[e])?n:Symbol.for(`Symbol.`+e),__typeError=e=>{throw TypeError(e)},__defNormalProp=(e,n,i)=>n in e?v(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i,__name=(e,n)=>v(e,`name`,{value:n,configurable:!0}),E=(e=>d===void 0?typeof Proxy<`u`?new Proxy(e,{get:(e,n)=>(d===void 0?e:d)[n]}):e:d)(function(e){if(d!==void 0)return d.apply(this,arguments);throw Error(`Dynamic require of "`+e+`" is not supported`)}),__commonJS=(e,n)=>function __require22(){try{return n||(0,e[x(e)[0]])((n={exports:{}}).exports,n),n.exports}catch(e){throw n=0,e}},__export=(e,n)=>{for(var i in n)v(e,i,{get:n[i],enumerable:!0})},__copyProps=(e,n,i,a)=>{if(n&&typeof n==`object`||typeof n==`function`)for(let o of x(n))!T.call(e,o)&&o!==i&&v(e,o,{get:()=>n[o],enumerable:!(a=y(n,o))||a.enumerable});return e},__toESM=(e,n,i)=>(i=e==null?{}:_(S(e)),__copyProps(n||!e||!e.__esModule?v(i,`default`,{value:e,enumerable:!0}):i,e)),__decoratorStart=e=>[,,,_(e?.[__knownSymbol(`metadata`)]??null)],O=[`class`,`method`,`getter`,`setter`,`accessor`,`field`,`value`,`get`,`set`],__expectFn=e=>e!==void 0&&typeof e!=`function`?__typeError(`Function expected`):e,__decoratorContext=(e,n,i,a,o)=>({kind:O[e],name:n,metadata:a,addInitializer:e=>i._?__typeError(`Already initialized`):o.push(__expectFn(e||null))}),__decoratorMetadata=(e,n)=>__defNormalProp(n,__knownSymbol(`metadata`),e[3]),__runInitializers=(e,n,i,a)=>{for(var o=0,s=e[n>>1],c=s&&s.length;o<c;o++)n&1?s[o].call(i):a=s[o].call(i,a);return a},__decorateElement=(e,n,i,a,o,s)=>{var c,l,d,f,m,_=n&7,x=!!(n&8),S=!!(n&16),T=_>3?e.length+1:_?x?1:2:0,E=O[_+5],k=_>3&&(e[T-1]=[]),j=e[T]||(e[T]=[]),P=_&&(!S&&!x&&(o=o.prototype),_<5&&(_>3||!S)&&y(_<4?o:{get[i](){return __privateGet(this,s)},set[i](e){return __privateSet(this,s,e)}},i));_?S&&_<4&&__name(s,(_>2?`set `:_>1?`get `:``)+i):__name(o,i);for(var F=a.length-1;F>=0;F--)f=__decoratorContext(_,i,d={},e[3],j),_&&(f.static=x,f.private=S,m=f.access={has:S?e=>__privateIn(o,e):e=>i in e},_^3&&(m.get=S?e=>(_^1?__privateGet:__privateMethod)(e,o,_^4?s:P.get):e=>e[i]),_>2&&(m.set=S?(e,n)=>__privateSet(e,o,n,_^4?s:P.set):(e,n)=>e[i]=n)),l=(0,a[F])(_?_<4?S?s:P[E]:_>4?void 0:{get:P.get,set:P.set}:o,f),d._=1,_^4||l===void 0?__expectFn(l)&&(_>4?k.unshift(l):_?S?s=l:P[E]=l:o=l):typeof l!=`object`||!l?__typeError(`Object expected`):(__expectFn(c=l.get)&&(P.get=c),__expectFn(c=l.set)&&(P.set=c),__expectFn(c=l.init)&&k.unshift(c));return _||__decoratorMetadata(e,o),P&&v(o,i,P),S?_^4?s:P:o},__publicField=(e,n,i)=>__defNormalProp(e,typeof n==`symbol`?n:n+``,i),__accessCheck=(e,n,i)=>n.has(e)||__typeError(`Cannot `+i),__privateIn=(e,n)=>Object(n)===n?e.has(n):__typeError(`Cannot use the "in" operator on this value`),__privateGet=(e,n,i)=>(__accessCheck(e,n,`read from private field`),i?i.call(e):n.get(e)),__privateSet=(e,n,i,a)=>(__accessCheck(e,n,`write to private field`),a?a.call(e,i):n.set(e,i),i),__privateMethod=(e,n,i)=>(__accessCheck(e,n,`access private method`),i),k=typeof window<`u`?window:void 0,j=k===void 0?void 0:navigator,P=(0,f.createContext)({}),F=k===void 0?f.useEffect:f.useLayoutEffect,L=(0,f.createContext)(null);function addUniqueItem(e,n){e.indexOf(n)===-1&&e.push(n)}function removeItem(e,n){let i=e.indexOf(n);i>-1&&e.splice(i,1)}function moveItem([...e],n,i){let a=n<0?e.length+n:n;if(a>=0&&a<e.length){let a=i<0?e.length+i:i,[o]=e.splice(n,1);e.splice(a,0,o)}return e}var clamp=(e,n,i)=>i>n?n:i<e?e:i,R={},isNumericalString=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),isObject=e=>typeof e==`object`&&!!e,isZeroValueString=e=>/^0[^.\s]+$/u.test(e);function memo(e){let n;return()=>(n===void 0&&(n=e()),n)}var noop=e=>e,pipe=(...e)=>e.reduce((e,n)=>i=>n(e(i))),progress=(e,n,i)=>{let a=n-e;return a?(i-e)/a:1},SubscriptionManager=class{constructor(){this.subscriptions=[]}add(e){return addUniqueItem(this.subscriptions,e),()=>removeItem(this.subscriptions,e)}notify(e,n,i){let a=this.subscriptions.length;if(a){if(a===1)this.subscriptions[0](e,n,i);else for(let o=0;o<a;o++){let a=this.subscriptions[o];a&&a(e,n,i)}}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}},secondsToMilliseconds=e=>e*1e3,millisecondsToSeconds=e=>e/1e3,velocityPerSecond=(e,n)=>n?1e3/n*e:0,wrap=(e,n,i)=>{let a=n-e;return((i-e)%a+a)%a+e},calcBezier=(e,n,i)=>(((1-3*i+3*n)*e+(3*i-6*n))*e+3*n)*e,ee=1e-7,V=12;function binarySubdivide(e,n,i,a,o){let s,c,l=0;do c=n+(i-n)/2,s=calcBezier(c,a,o)-e,s>0?i=c:n=c;while(Math.abs(s)>ee&&++l<V);return c}function cubicBezier(e,n,i,a){if(e===n&&i===a)return noop;let getTForX=n=>binarySubdivide(n,0,1,e,i);return e=>e===0||e===1?e:calcBezier(getTForX(e),n,a)}var mirrorEasing=e=>n=>n<=.5?e(2*n)/2:(2-e(2*(1-n)))/2,reverseEasing=e=>n=>1-e(1-n),te=cubicBezier(.33,1.53,.69,.99),ne=reverseEasing(te),re=mirrorEasing(ne),anticipate=e=>e>=1?1:(e*=2)<1?.5*ne(e):.5*(2-2**(-10*(e-1))),circIn=e=>1-Math.sin(Math.acos(e)),ie=reverseEasing(circIn),ae=mirrorEasing(circIn),oe=cubicBezier(.42,0,1,1),se=cubicBezier(0,0,.58,1),ce=cubicBezier(.42,0,.58,1),isEasingArray=e=>Array.isArray(e)&&typeof e[0]!=`number`;function getEasingForSegment(e,n){return isEasingArray(e)?e[wrap(0,e.length,n)]:e}var isBezierDefinition=e=>
1Array.isArray(e)&&typeof e[0]==`number`,le={linear:noop,easeIn:oe,easeInOut:ce,easeOut:se,circIn,circInOut:ae,circOut:ie,backIn:ne,backInOut:re,backOut:te,anticipate},isValidEasing=e=>typeof e==`string`,easingDefinitionToFunction=e=>{if(isBezierDefinition(e)){e.length;let[n,i,a,o]=e;return cubicBezier(n,i,a,o)}return isValidEasing(e)?(le[e],`${e}`,le[e]):e},ue=[`setup`,`read`,`resolveKeyframes`,`preUpdate`,`update`,`preRender`,`render`,`postRender`];function createRenderStep(e){let n=new Set,i=new Set,a=!1,o=!1,s=new WeakSet,c={delta:0,timestamp:0,isProcessing:!1};function triggerCallback(n){s.has(n)&&(l.schedule(n),e()),n(c)}let l={schedule:(e,o=!1,c=!1)=>{let l=c&&a?n:i;return o&&s.add(e),l.add(e),e},cancel:e=>{i.delete(e),s.delete(e)},process:e=>{if(c=e,a){o=!0;return}a=!0;let s=n;n=i,i=s,n.forEach(triggerCallback),n.clear(),a=!1,o&&(o=!1,l.process(e))}};return l}var de=40;function createRenderBatcher(e,n){let i=!1,a=!0,o={delta:0,timestamp:0,isProcessing:!1},flagRunNextFrame=()=>i=!0,s=ue.reduce((e,n)=>(e[n]=createRenderStep(flagRunNextFrame),e),{}),{setup:c,read:l,resolveKeyframes:d,preUpdate:f,update:m,preRender:_,render:v,postRender:y}=s,processBatch=()=>{let s=R.useManualTiming,x=s?o.timestamp:performance.now();i=!1,s||(o.delta=a?1e3/60:Math.max(Math.min(x-o.timestamp,de),1)),o.timestamp=x,o.isProcessing=!0,c.process(o),l.process(o),d.process(o),f.process(o),m.process(o),_.process(o),v.process(o),y.process(o),o.isProcessing=!1,i&&n&&(a=!1,e(processBatch))},wake=()=>{i=!0,a=!0,o.isProcessing||e(processBatch)},x=ue.reduce((e,n)=>{let a=s[n];return e[n]=(e,n=!1,o=!1)=>(i||wake(),a.schedule(e,n,o)),e},{}),cancel=e=>{for(let n=0;n<ue.length;n++)s[ue[n]].cancel(e)};return{schedule:x,cancel,state:o,steps:s}}var{schedule:H,cancel:fe,state:pe,steps:me}=createRenderBatcher(typeof requestAnimationFrame<`u`?requestAnimationFrame:noop,!0),he;function clearTime(){he=void 0}var ge={now:()=>(he===void 0&&ge.set(pe.isProcessing||R.useManualTiming?pe.timestamp:performance.now()),he),set:e=>{he=e,queueMicrotask(clearTime)}},checkStringStartsWith=e=>n=>typeof n==`string`&&n.startsWith(e),_e=checkStringStartsWith(`--`),ve=checkStringStartsWith(`var(--`),isCSSVariableToken=e=>ve(e)?ye.test(e.split(`/*`)[0].trim()):!1,ye=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function containsCSSVariable(e){return typeof e==`string`&&e.split(`/*`)[0].includes(`var(--`)}var be={test:e=>typeof e==`number`,parse:parseFloat,transform:e=>e},xe={...be,transform:e=>clamp(0,1,e)},Se={...be,default:1},sanitize=e=>Math.round(e*1e5)/1e5,U=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function isNullish(e){return e==null}var Ce=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,isColorString=(e,n)=>i=>!!(typeof i==`string`&&Ce.test(i)&&i.startsWith(e)||n&&!isNullish(i)&&Object.prototype.hasOwnProperty.call(i,n)),splitColor=(e,n,i)=>a=>{if(typeof a!=`string`)return a;let[o,s,c,l]=a.match(U);return{[e]:parseFloat(o),[n]:parseFloat(s),[i]:parseFloat(c),alpha:l===void 0?1:parseFloat(l)}},clampRgbUnit=e=>clamp(0,255,e),we={...be,transform:e=>Math.round(clampRgbUnit(e))},Te={test:isColorString(`rgb`,`red`),parse:splitColor(`red`,`green`,`blue`),transform:({red:e,green:n,blue:i,alpha:a=1})=>`rgba(`+we.transform(e)+`, `+we.transform(n)+`, `+we.transform(i)+`, `+sanitize(xe.transform(a))+`)`};function parseHex(e){let n=``,i=``,a=``,o=``;return e.length>5?(n=e.substring(1,3),i=e.substring(3,5),a=e.substring(5,7),o=e.substring(7,9)):(n=e.substring(1,2),i=e.substring(2,3),a=e.substring(3,4),o=e.substring(4,5),n+=n,i+=i,a+=a,o+=o),{red:parseInt(n,16),green:parseInt(i,16),blue:parseInt(a,16),alpha:o?parseInt(o,16)/255:1}}var W={test:isColorString(`#`),parse:parseHex,transform:Te.transform},createUnitType=e=>({test:n=>typeof n==`string`&&n.endsWith(e)&&n.split(` `).length===1,parse:parseFloat,transform:n=>`${n}${e}`}),Ee=createUnitType(`deg`),De=createUnitType(`%`),G=createUnitType(`px`),Oe=createUnitType(`vh`),ke=createUnitType(`vw`),Ae={...De,parse:e=>De.parse(e)/100,transform:e=>De.transform(e*100)},je={test:isColorString(`hsl`,`hue`),parse:splitColor(`hue`,`saturation`,`lightness`),transform:({hue:e,saturation:n,lightness:i,alpha:a=1})=>`hsla(`+Math.round(e)+`, `+De.transform(sanitize(n))+`, `+De.transform(sanitize(i))+`, `+sanitize(xe.transform(a))+`)`},Me={test:e=>Te.test(e)||W.test(e)||je.test(e),parse:e=>Te.test(e)?Te.parse(e):je.test(e)?je.parse(e):W.parse(e),transform:e=>typeof e==`string`?e:e.hasOwnProperty(`red`)?Te.transform(e):je.transform(e),getAnimatableNone:e=>{let n=Me.parse(e);
1return n.alpha=0,Me.transform(n)}},Ne=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function test(e){return isNaN(e)&&typeof e==`string`&&(e.match(U)?.length||0)+(e.match(Ne)?.length||0)>0}var Pe=`number`,Fe=`color`,Ie=`var`,Le=`var(`,Re="${}",ze=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function analyseComplexValue(e){let n=e.toString(),i=[],a={color:[],number:[],var:[]},o=[],s=0;return{values:i,split:n.replace(ze,e=>(Me.test(e)?(a.color.push(s),o.push(Fe),i.push(Me.parse(e))):e.startsWith(Le)?(a.var.push(s),o.push(Ie),i.push(e)):(a.number.push(s),o.push(Pe),i.push(parseFloat(e))),++s,Re)).split(Re),indexes:a,types:o}}function parseComplexValue(e){return analyseComplexValue(e).values}function buildTransformer({split:e,types:n}){let i=e.length;return a=>{let o=``;for(let s=0;s<i;s++)if(o+=e[s],a[s]!==void 0){let e=n[s];o+=e===Pe?sanitize(a[s]):e===Fe?Me.transform(a[s]):a[s]}return o}}function createTransformer(e){return buildTransformer(analyseComplexValue(e))}var convertNumbersToZero=e=>typeof e==`number`?0:Me.test(e)?Me.getAnimatableNone(e):e,convertToZero=(e,n)=>typeof e==`number`?n?.trim().endsWith(`/`)?e:0:convertNumbersToZero(e);function getAnimatableNone(e){let n=analyseComplexValue(e);return buildTransformer(n)(n.values.map((e,i)=>convertToZero(e,n.split[i])))}var Be={test,parse:parseComplexValue,createTransformer,getAnimatableNone};function hueToRgb(e,n,i){return i<0&&(i+=1),i>1&&--i,i<1/6?e+(n-e)*6*i:i<1/2?n:i<2/3?e+(n-e)*(2/3-i)*6:e}function hslaToRgba({hue:e,saturation:n,lightness:i,alpha:a}){e/=360,n/=100,i/=100;let o=0,s=0,c=0;if(!n)o=s=c=i;else{let a=i<.5?i*(1+n):i+n-i*n,l=2*i-a;o=hueToRgb(l,a,e+1/3),s=hueToRgb(l,a,e),c=hueToRgb(l,a,e-1/3)}return{red:Math.round(o*255),green:Math.round(s*255),blue:Math.round(c*255),alpha:a}}function mixImmediate(e,n){return i=>i>0?n:e}var mixNumber=(e,n,i)=>e+(n-e)*i,mixLinearColor=(e,n,i)=>{let a=e*e,o=i*(n*n-a)+a;return o<0?0:Math.sqrt(o)},Ve=[W,Te,je],getColorType=e=>Ve.find(n=>n.test(e));function asRGBA(e){let n=getColorType(e);if(`${e}`,!n)return!1;let i=n.parse(e);return n===je&&(i=hslaToRgba(i)),i}var mixColor=(e,n)=>{let i=asRGBA(e),a=asRGBA(n);if(!i||!a)return mixImmediate(e,n);let o={...i};return e=>(o.red=mixLinearColor(i.red,a.red,e),o.green=mixLinearColor(i.green,a.green,e),o.blue=mixLinearColor(i.blue,a.blue,e),o.alpha=mixNumber(i.alpha,a.alpha,e),Te.transform(o))},He=new Set([`none`,`hidden`]);function mixVisibility(e,n){return He.has(e)?i=>i<=0?e:n:i=>i>=1?n:e}function mixNumber2(e,n){return i=>mixNumber(e,n,i)}function getMixer(e){return typeof e==`number`?mixNumber2:typeof e==`string`?isCSSVariableToken(e)?mixImmediate:Me.test(e)?mixColor:mixComplex:Array.isArray(e)?mixArray:typeof e==`object`?Me.test(e)?mixColor:mixObject:mixImmediate}function mixArray(e,n){let i=[...e],a=i.length,o=e.map((e,i)=>getMixer(e)(e,n[i]));return e=>{for(let n=0;n<a;n++)i[n]=o[n](e);return i}}function mixObject(e,n){let i={...e,...n},a={};for(let o in i)e[o]!==void 0&&n[o]!==void 0&&(a[o]=getMixer(e[o])(e[o],n[o]));return e=>{for(let n in a)i[n]=a[n](e);return i}}function matchOrder(e,n){let i=[],a={color:0,var:0,number:0};for(let o=0;o<n.values.length;o++){let s=n.types[o],c=e.indexes[s][a[s]],l=e.values[c]??0;i[o]=l,a[s]++}return i}var mixComplex=(e,n)=>{let i=Be.createTransformer(n),a=analyseComplexValue(e),o=analyseComplexValue(n);return a.indexes.var.length===o.indexes.var.length&&a.indexes.color.length===o.indexes.color.length&&a.indexes.number.length>=o.indexes.number.length?He.has(e)&&!o.values.length||He.has(n)&&!a.values.length?mixVisibility(e,n):pipe(mixArray(matchOrder(a,o),o.values),i):(`${e}${n}`,mixImmediate(e,n))};function mix(e,n,i){return typeof e==`number`&&typeof n==`number`&&typeof i==`number`?mixNumber(e,n,i):getMixer(e)(e,n)}var generateLinearEasing=(e,n,i=10)=>{let a=``,o=Math.max(Math.round(n/i),2);for(let n=0;n<o;n++)a+=Math.round(e(n/(o-1))*1e4)/1e4+`, `;return`linear(${a.substring(0,a.length-2)})`},Ue=2e4;function calcGeneratorDuration(e){let n=0,i=e.next(n);for(;!i.done&&n<2e4;)n+=50,i=e.next(n);return n>=2e4?1/0:n}function createGeneratorEasing(e,n=100,i){let a=i({...e,keyframes:[0,n]}),o=Math.min(calcGeneratorDuration(a),Ue);return{type:`keyframes`,ease:e=>a.next(o*e).value/n,duration:millisecondsToSeconds(o)}}var We={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function calcAngularFreq(e,n){return e*Math.sqrt(1-n*n)}var Ge=12;function approximateRoot(e,n,i){let a=i;for(let i=1;i<Ge;i++)a-=e(a)/n(a);return a}var Ke=.001;function findSpring({duration:e=We.duration,bounce:n=We.bounce,velocity:i=We.velocity,mass:a=We.mass}){let envelope,derivative;We.maxDuration;let o=1-n;o=clamp(We.minDamping,We.maxDamping,o),e=clamp(We.minDuration,We.maxDuration,millisecondsToSeconds(e)),o<1?(envelope=n=>{let a=n*o,s=a*e,c=a-i,l=calcAngularFreq(n,o),d=Math.exp(-s);return Ke-c/l*d},derivative=n=>{let a=n*o*e,s=a*i+i,c=o**2*n**2*e,l=Math.exp(-a),d=calcAngularFreq(n**2,o);return(-envelope(n)+Ke>0?-1:1)*((s-c)*l)/d}):(envelope=n=>{let a=Math.exp(-n*e),o=(n-i)*e+1;return-Ke+a*o},derivative=n=>Math.exp(-n*e)*((i-n)*(e*e)));let s=5/e,c=approximateRoot(envelope,derivative,s);if(e=secondsToMilliseconds(e),isNaN(c))return{stiffness:We.stiffness,damping:We.damping,duration:e};{let n=c**2*a;return{stiffness:n,damping:o*2*Math.sqrt(a*n),duration:e}}}var qe=[`duration`,`bounce`],Je=[`stiffness`,`damping`,`mass`];function isSpringType(e,n){return n.some(n=>e[n]!==void 0)}function getSpringOptions(e){let n={velocity:We.velocity,stiffness:We.stiffness,damping:We.damping,mass:We.mass,isResolvedFromDuration:!1,...e};if(!isSpringType(e,Je)&&isSpringType(e,qe)){if(n.velocity=0,e.visualDuration){let i=e.visualDuration,a=2*Math.PI/(i*1.2),o=a*a,s=2*clamp(.05,1,1-(e.bounce||0))*Math.sqrt(o);n={...n,mass:We.mass,stiffness:o,damping:s}}else{let i=findSpring({...e,velocity:0});n={...n,...i,mass:We.mass},n.isResolvedFromDuration=!0}}return n}function spring(e=We.visualDuration,n=We.bounce){let i=typeof e==`object`?e:{visualDuration:e,keyframes:[0,1],bounce:n},{restSpeed:a,restDelta:o}=i,s=i.keyframes[0],c=i.keyframes[i.keyframes.length-1],l={done:!1,value:s},{stiffness:d,damping:f,mass:m,duration:_,velocity:v,isResolvedFromDuration:y}=getSpringOptions({...i,velocity:-millisecondsToSeconds(i.velocity||0)}),x=v||0,S=f/(2*Math.sqrt(d*m)),T=c-s,E=millisecondsToSeconds(Math.sqrt(d/m)),O=Math.abs(T)<5;a||=O?We.restSpeed.granular:We.restSpeed.default,o||=O?We.restDelta.granular:We.restDelta.default;let resolveSpring,resolveVelocity,k,j,P,F;if(S<1)k=calcAngularFreq(E,S),j=(x+S*E*T)/k,resolveSpring=e=>{let n=Math.exp(-S*E*e);return c-n*(j*Math.sin(k*e)+T*Math.cos(k*e))},P=S*E*j+T*k,F=S*E*T-j*k,resolveVelocity=e=>Math.exp(-S*E*e)*(P*Math.sin(k*e)+F*Math.cos(k*e));else if(S===1){resolveSpring=e=>c-Math.exp(-E*e)*(T+(x+E*T)*e);let e=x+E*T;resolveVelocity=n=>Math.exp(-E*n)*(E*e*n-x)}else{let e=E*Math.sqrt(S*S-1);resolveSpring=n=>{let i=Math.exp(-S*E*n),a=Math.min(e*n,300);return c-i*((x+S*E*T)*Math.sinh(a)+e*T*Math.cosh(a))/e};let n=(x+S*E*T)/e,i=S*E*n-T*e,a=S*E*T-n*e;resolveVelocity=n=>{let o=Math.exp(-S*E*n),s=Math.min(e*n,300);return o*(i*Math.sinh(s)+a*Math.cosh(s))}}let L={calculatedDuration:y&&_||null,velocity:e=>secondsToMilliseconds(resolveVelocity(e)),next:e=>{if(!y&&S<1){let n=Math.exp(-S*E*e),i=Math.sin(k*e),s=Math.cos(k*e),d=c-n*(j*i+T*s),f=secondsToMilliseconds(n*(P*i+F*s));return l.done=Math.abs(f)<=a&&Math.abs(c-d)<=o,l.value=l.done?c:d,l}let n=resolveSpring(e);if(y)l.done=e>=_;else{let i=secondsToMilliseconds(resolveVelocity(e));l.done=Math.abs(i)<=a&&Math.abs(c-n)<=o}return l.value=l.done?c:n,l},toString:()=>{let e=Math.min(calcGeneratorDuration(L),Ue),n=generateLinearEasing(n=>L.next(e*n).value,e,30);return e+`ms `+n},toTransition:()=>{}};return L}spring.applyToOptions=e=>{let n=createGeneratorEasing(e,100,spring);return e.ease=n.ease,e.duration=secondsToMilliseconds(n.duration),e.type=`keyframes`,e};var Ye=5;function getGeneratorVelocity(e,n,i){let a=Math.max(n-Ye,0);return velocityPerSecond(i-e(a),n-a)}
1function inertia({keyframes:e,velocity:n=0,power:i=.8,timeConstant:a=325,bounceDamping:o=10,bounceStiffness:s=500,modifyTarget:c,min:l,max:d,restDelta:f=.5,restSpeed:m}){let _=e[0],v={done:!1,value:_},isOutOfBounds=e=>l!==void 0&&e<l||d!==void 0&&e>d,nearestBoundary=e=>l===void 0?d:d===void 0||Math.abs(l-e)<Math.abs(d-e)?l:d,y=i*n,x=_+y,S=c===void 0?x:c(x);S!==x&&(y=S-_);let calcDelta=e=>-y*Math.exp(-e/a),calcLatest=e=>S+calcDelta(e),applyFriction=e=>{let n=calcDelta(e),i=calcLatest(e);v.done=Math.abs(n)<=f,v.value=v.done?S:i},T,E,checkCatchBoundary=e=>{isOutOfBounds(v.value)&&(T=e,E=spring({keyframes:[v.value,nearestBoundary(v.value)],velocity:getGeneratorVelocity(calcLatest,e,v.value),damping:o,stiffness:s,restDelta:f,restSpeed:m}))};return checkCatchBoundary(0),{calculatedDuration:null,next:e=>{let n=!1;return!E&&T===void 0&&(n=!0,applyFriction(e),checkCatchBoundary(e)),T!==void 0&&e>=T?E.next(e-T):(!n&&applyFriction(e),v)}}}function createMixers(e,n,i){let a=[],o=i||R.mix||mix,s=e.length-1;for(let i=0;i<s;i++){let s=o(e[i],e[i+1]);n&&(s=pipe(Array.isArray(n)?n[i]||noop:n,s)),a.push(s)}return a}function interpolate(e,n,{clamp:i=!0,ease:a,mixer:o}={}){let s=e.length;if(n.length,s===1)return()=>n[0];if(s===2&&n[0]===n[1])return()=>n[1];let c=e[0]===e[1];e[0]>e[s-1]&&(e=[...e].reverse(),n=[...n].reverse());let l=createMixers(n,a,o),d=l.length,interpolator=i=>{if(c&&i<e[0])return n[0];let a=0;if(d>1)for(;a<e.length-2&&!(i<e[a+1]);a++);let o=progress(e[a],e[a+1],i);return l[a](o)};return i?n=>interpolator(clamp(e[0],e[s-1],n)):interpolator}function fillOffset(e,n){let i=e[e.length-1];for(let a=1;a<=n;a++){let o=progress(0,n,a);e.push(mixNumber(i,1,o))}}function defaultOffset(e){let n=[0];return fillOffset(n,e.length-1),n}function convertOffsetToTimes(e,n){return e.map(e=>e*n)}function defaultEasing(e,n){return e.map(()=>n||ce).splice(0,e.length-1)}function keyframes({duration:e=300,keyframes:n,times:i,ease:a=`easeInOut`}){let o=isEasingArray(a)?a.map(easingDefinitionToFunction):easingDefinitionToFunction(a),s={done:!1,value:n[0]},c=interpolate(convertOffsetToTimes(i&&i.length===n.length?i:defaultOffset(n),e),n,{ease:Array.isArray(o)?o:defaultEasing(n,o)});return{calculatedDuration:e,next:n=>(s.value=c(n),s.done=n>=e,s)}}var isNotNull=e=>e!==null;function getFinalKeyframe(e,{repeat:n,repeatType:i=`loop`},a,o=1){let s=e.filter(isNotNull),c=o<0||n&&i!==`loop`&&n%2==1?0:s.length-1;return!c||a===void 0?s[c]:a}var frameloopDriver=e=>{let passTimestamp=({timestamp:n})=>e(n);return{start:(e=!0)=>H.update(passTimestamp,e),stop:()=>fe(passTimestamp),now:()=>pe.isProcessing?pe.timestamp:ge.now()}},Xe={decay:inertia,inertia,tween:keyframes,keyframes,spring};function replaceTransitionType(e){typeof e.type==`string`&&(e.type=Xe[e.type])}var WithPromise=class{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,n){return this.finished.then(e,n)}},percentToProgress=e=>e/100,JSAnimation=class extends WithPromise{constructor(e){super(),this.state=`idle`,this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:e}=this.options;e&&e.updatedAt!==ge.now()&&this.tick(ge.now()),this.isStopped=!0,this.state!==`idle`&&(this.teardown(),this.options.onStop?.())},this.options=e,this.initAnimation(),this.play(),e.autoplay===!1&&this.pause()}initAnimation(){let{options:e}=this;replaceTransitionType(e);let{type:n=keyframes,repeat:i=0,repeatDelay:a=0,repeatType:o,velocity:s=0}=e,{keyframes:c}=e,l=n||keyframes;l!==keyframes&&typeof c[0]!=`number`&&(this.mixKeyframes=pipe(percentToProgress,mix(c[0],c[1])),c=[0,100]);let d=l({...e,keyframes:c});o===`mirror`&&(this.mirroredGenerator=l({...e,keyframes:[...c].reverse(),velocity:-s})),d.calculatedDuration===null&&(d.calculatedDuration=calcGeneratorDuration(d));let{calculatedDuration:f}=d;this.calculatedDuration=f,this.resolvedDuration=f+a,this.totalDuration=this.resolvedDuration*(i+1)-a,this.generator=d}updateTime(e){let n=Math.round(e-this.startTime)*this.playbackSpeed;this.currentTime=this.holdTime===null?n:this.holdTime}tick(e,n=!1){let{generator:i,totalDuration:a,mixKeyframes:o,mirroredGenerator:s,resolvedDuration:c,calculatedDuration:l}=this;if(this.startTime===null)return i.next(0);let{delay:d=0,keyframes:f,repeat:m,repeatType:_,repeatDelay:v,type:y,onUpdate:x,finalKeyframe:S}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-a/this.speed,this.startTime)),n?this.currentTime=e:this.updateTime(e);let T=this.currentTime-d*(this.playbackSpeed>=0?1:-1),E=this.playbackSpeed>=0?T<0:T>a;this.currentTime=Math.max(T,0),this.state===`finished`&&this.holdTime===null&&(this.currentTime=a);let O=this.currentTime,k=i;if(m){let e=Math.min(this.currentTime,a)/c,n=Math.floor(e),i=e%1;!i&&e>=1&&(i=1),i===1&&n--,n=Math.min(n,m+1),n%2&&(_===`reverse`?(i=1-i,v&&(i-=v/c)):_===`mirror`&&(k=s)),O=clamp(0,1,i)*c}let j;E?(this.delayState.value=f[0],j=this.delayState):j=k.next(O),o&&!E&&(j.value=o(j.value));let{done:P}=j;!E&&l!==null&&(P=this.playbackSpeed>=0?this.currentTime>=a:this.currentTime<=0);let F=this.holdTime===null&&(this.state===`finished`||this.state===`running`&&P);return F&&y!==inertia&&(j.value=getFinalKeyframe(f,this.options,S,this.speed)),x&&x(j.value),F&&this.finish(),j}then(e,n){return this.finished.then(e,n)}get duration(){return millisecondsToSeconds(this.calculatedDuration)}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+millisecondsToSeconds(e)}get time(){return millisecondsToSeconds(this.currentTime)}set time(e){e=secondsToMilliseconds(e),this.currentTime=e,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state=`paused`,this.holdTime=e,this.tick(e))}getGeneratorVelocity(){let e=this.currentTime;if(e<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(e);let n=this.generator.next(e).value;return getGeneratorVelocity(e=>this.generator.next(e).value,e,n)}get speed(){return this.playbackSpeed}set speed(e){let n=this.playbackSpeed!==e;n&&this.driver&&this.updateTime(ge.now()),this.playbackSpeed=e,n&&this.driver&&(this.time=millisecondsToSeconds(this.currentTime))}play(){if(this.isStopped)return;let{driver:e=frameloopDriver,startTime:n}=this.options;this.driver||=e(e=>this.tick(e)),this.options.onPlay?.();let i=this.driver.now();this.state===`finished`?(this.updateFinished(),this.startTime=i):this.holdTime===null?this.startTime||=n??i:this.startTime=i-this.holdTime,this.state===`finished`&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state=`running`,this.driver.start()}pause(){this.state=`paused`,this.updateTime(ge.now()),this.holdTime=this.currentTime}complete(){this.state!==`running`&&this.play(),this.state=`finished`,this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state=`finished`,this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state=`idle`,this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&=(this.driver.stop(),void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type=`keyframes`,this.options.ease=`linear`,this.initAnimation()),this.driver?.stop(),e.observe(this)}};function animateValue(e){return new JSAnimation(e)}function fillWildcards(e){for(let n=1;n<e.length;n++)e[n]??(e[n]=e[n-1])}var radToDeg=e=>e*180/Math.PI,rotate=e=>rebaseAngle(radToDeg(Math.atan2(e[1],e[0]))),Ze={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate,rotateZ:rotate,skewX:e=>radToDeg(Math.atan(e[1])),skewY:e=>radToDeg(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},rebaseAngle=e=>(e%=360,e<0&&(e+=360),e),Qe=rotate,scaleX=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),scaleY=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),$e={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX,scaleY,scale:e=>(scaleX(e)+scaleY(e))/2,rotateX:e=>rebaseAngle(radToDeg(Math.atan2(e[6],e[5]))),rotateY:e=>rebaseAngle(radToDeg(Math.atan2(-e[2],e[0]))),rotateZ:Qe,rotate:Qe,skewX:e=>radToDeg(Math.atan(e[4])),skewY:e=>radToDeg(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function defaultTransformValue(e){return+!!e.includes(`scale`)}
1function parseValueFromTransform(e,n){if(!e||e===`none`)return defaultTransformValue(n);let i=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u),a,o;if(i)a=$e,o=i;else{let n=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);a=Ze,o=n}if(!o)return defaultTransformValue(n);let s=a[n],c=o[1].split(`,`).map(convertTransformToNumber);return typeof s==`function`?s(c):c[s]}var readTransformValue=(e,n)=>{let{transform:i=`none`}=getComputedStyle(e);return parseValueFromTransform(i,n)};function convertTransformToNumber(e){return parseFloat(e.trim())}var et=[`transformPerspective`,`x`,`y`,`z`,`translateX`,`translateY`,`translateZ`,`scale`,`scaleX`,`scaleY`,`rotate`,`rotateX`,`rotateY`,`rotateZ`,`skew`,`skewX`,`skewY`],tt=new Set([...et,`pathRotation`]),isNumOrPxType=e=>e===be||e===G,nt=new Set([`x`,`y`,`z`]),rt=et.filter(e=>!nt.has(e));function removeNonTranslationalTransform(e){let n=[];return rt.forEach(i=>{let a=e.getValue(i);a!==void 0&&(n.push([i,a.get()]),a.set(+!!i.startsWith(`scale`)))}),n}var it={width:({x:e},{paddingLeft:n=`0`,paddingRight:i=`0`,boxSizing:a})=>{let o=e.max-e.min;return a===`border-box`?o:o-parseFloat(n)-parseFloat(i)},height:({y:e},{paddingTop:n=`0`,paddingBottom:i=`0`,boxSizing:a})=>{let o=e.max-e.min;return a===`border-box`?o:o-parseFloat(n)-parseFloat(i)},top:(e,{top:n})=>parseFloat(n),left:(e,{left:n})=>parseFloat(n),bottom:({y:e},{top:n})=>parseFloat(n)+(e.max-e.min),right:({x:e},{left:n})=>parseFloat(n)+(e.max-e.min),x:(e,{transform:n})=>parseValueFromTransform(n,`x`),y:(e,{transform:n})=>parseValueFromTransform(n,`y`)};it.translateX=it.x,it.translateY=it.y;var at=new Set,ot=!1,st=!1,ct=!1;function measureAllKeyframes(){if(st){let e=Array.from(at).filter(e=>e.needsMeasurement),n=new Set(e.map(e=>e.element)),i=new Map;n.forEach(e=>{let n=removeNonTranslationalTransform(e);n.length&&(i.set(e,n),e.render())}),e.forEach(e=>e.measureInitialState()),n.forEach(e=>{e.render();let n=i.get(e);n&&n.forEach(([n,i])=>{e.getValue(n)?.set(i)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{e.suspendedScrollY!==void 0&&k.scrollTo(0,e.suspendedScrollY)})}st=!1,ot=!1,at.forEach(e=>e.complete(ct)),at.clear()}function readAllKeyframes(){at.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(st=!0)})}function flushKeyframeResolvers(){ct=!0,readAllKeyframes(),measureAllKeyframes(),ct=!1}var KeyframeResolver=class{constructor(e,n,i,a,o,s=!1){this.state=`pending`,this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=n,this.name=i,this.motionValue=a,this.element=o,this.isAsync=s}scheduleResolve(){this.state=`scheduled`,this.isAsync?(at.add(this),ot||(ot=!0,H.read(readAllKeyframes),H.resolveKeyframes(measureAllKeyframes))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:n,element:i,motionValue:a}=this;if(e[0]===null){let o=a?.get(),s=e[e.length-1];if(o!==void 0)e[0]=o;else if(i&&n){let a=i.readValue(n,s);a!=null&&(e[0]=a)}e[0]===void 0&&(e[0]=s),a&&o===void 0&&a.set(e[0])}fillWildcards(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state=`complete`,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),at.delete(this)}cancel(){this.state===`scheduled`&&(at.delete(this),this.state=`pending`)}resume(){this.state===`pending`&&this.scheduleResolve()}},isCSSVar=e=>e.startsWith(`--`);function setStyle(e,n,i){isCSSVar(n)?e.style.setProperty(n,i):e.style[n]=i}var lt={};function memoSupports(e,n){let i=memo(e);return()=>lt[n]??i()}var ut=memoSupports(()=>k.ScrollTimeline!==void 0,`scrollTimeline`),dt=memoSupports(()=>k.ViewTimeline!==void 0,`viewTimeline`),ft=memoSupports(()=>{try{document.createElement(`div`).animate({opacity:0}
1,{easing:`linear(0, 1)`})}catch{return!1}return!0},`linearEasing`),cubicBezierAsString=([e,n,i,a])=>`cubic-bezier(${e}, ${n}, ${i}, ${a})`,pt={linear:`linear`,ease:`ease`,easeIn:`ease-in`,easeOut:`ease-out`,easeInOut:`ease-in-out`,circIn:cubicBezierAsString([0,.65,.55,1]),circOut:cubicBezierAsString([.55,0,1,.45]),backIn:cubicBezierAsString([.31,.01,.66,-.59]),backOut:cubicBezierAsString([.33,1.53,.69,.99])};function mapEasingToNativeEasing(e,n){if(e)return typeof e==`function`?ft()?generateLinearEasing(e,n):`ease-out`:isBezierDefinition(e)?cubicBezierAsString(e):Array.isArray(e)?e.map(e=>mapEasingToNativeEasing(e,n)||pt.easeOut):pt[e]}function startWaapiAnimation(e,n,i,{delay:a=0,duration:o=300,repeat:s=0,repeatType:c=`loop`,ease:l=`easeOut`,times:d}={},f=void 0){let m={[n]:i};d&&(m.offset=d);let _=mapEasingToNativeEasing(l,o);Array.isArray(_)&&(m.easing=_);let v={delay:a,duration:o,easing:Array.isArray(_)?`linear`:_,fill:`both`,iterations:s+1,direction:c===`reverse`?`alternate`:`normal`};return f&&(v.pseudoElement=f),e.animate(m,v)}function isGenerator(e){return typeof e==`function`&&`applyToOptions`in e}function applyGeneratorOptions({type:e,...n}){return isGenerator(e)&&ft()?e.applyToOptions(n):(n.duration??=300,n.ease??=`easeOut`,n)}var NativeAnimation=class extends WithPromise{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;let{element:n,name:i,keyframes:a,pseudoElement:o,allowFlatten:s=!1,finalKeyframe:c,onComplete:l}=e;this.isPseudoElement=!!o,this.allowFlatten=s,this.options=e,e.type;let d=applyGeneratorOptions(e);this.animation=startWaapiAnimation(n,i,a,d,o),d.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!o){let e=getFinalKeyframe(a,this.options,c,this.speed);this.updateMotionValue&&this.updateMotionValue(e),setStyle(n,i,e),this.animation.cancel()}l?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state===`finished`&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:e}=this;e!==`idle`&&e!==`finished`&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let e=this.options?.element;!this.isPseudoElement&&e?.isConnected&&this.animation.commitStyles?.()}get duration(){let e=this.animation.effect?.getComputedTiming?.().duration||0;return millisecondsToSeconds(Number(e))}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+millisecondsToSeconds(e)}get time(){return millisecondsToSeconds(Number(this.animation.currentTime)||0)}set time(e){let n=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=secondsToMilliseconds(e),n&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return this.finishedTime===null?this.animation.playState:`f
1inished`}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,rangeStart:n,rangeEnd:i,observe:a}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:`linear`}),this.animation.onfinish=null,e&&ut()?(this.animation.timeline=e,n&&(this.animation.rangeStart=n),i&&(this.animation.rangeEnd=i),noop):a(this)}},mt={anticipate,backInOut:re,circInOut:ae};function isUnsupportedEase(e){return e in mt}function replaceStringEasing(e){typeof e.ease==`string`&&isUnsupportedEase(e.ease)&&(e.ease=mt[e.ease])}var ht=10,NativeAnimationExtended=class extends NativeAnimation{constructor(e){replaceStringEasing(e),replaceTransitionType(e),super(e),e.startTime!==void 0&&e.autoplay!==!1&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){let{motionValue:n,onUpdate:i,onComplete:a,element:o,...s}=this.options;if(!n)return;if(e!==void 0){n.set(e);return}let c=new JSAnimation({...s,autoplay:!1}),l=Math.max(ht,ge.now()-this.startTime),d=clamp(0,ht,l-ht),f=c.sample(l).value,{name:m}=this.options;o&&m&&setStyle(o,m,f),n.setWithVelocity(c.sample(Math.max(0,l-d)).value,f,d),c.stop()}};function makeAnimationInstant(e){e.duration=0,e.type=`keyframes`}var gt=new Set([`opacity`,`clipPath`,`filter`,`transform`]),_t=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function hasBrowserOnlyColors(e){for(let n=0;n<e.length;n++)if(typeof e[n]==`string`&&_t.test(e[n]))return!0;return!1}var vt=new Set([`color`,`backgroundColor`,`outlineColor`,`fill`,`stroke`,`borderColor`,`borderTopColor`,`borderRightColor`,`borderBottomColor`,`borderLeftColor`]),yt=memo(()=>Object.hasOwnProperty.call(Element.prototype,`animate`));function supportsBrowserAnimation(e){let{motionValue:n,name:i,repeatDelay:a,repeatType:o,damping:s,type:c,keyframes:l}=e;if(!(n?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:d,transformTemplate:f}=n.owner.getProps();return yt()&&i&&(gt.has(i)||vt.has(i)&&hasBrowserOnlyColors(l))&&(i!==`transform`||!f)&&!d&&!a&&o!==`mirror`&&s!==0&&c!==`inertia`}var isAnimatable=(e,n)=>n!==`zIndex`&&!!(typeof e==`number`||Array.isArray(e)||typeof e==`string`&&(Be.test(e)||e===`0`)&&!e.startsWith(`url(`));function hasKeyframesChanged(e){let n=e[0];if(e.length===1)return!0;for(let i=0;i<e.length;i++)if(e[i]!==n)return!0}function canAnimate(e,n,i,a){let o=e[0];if(o===null)return!1;if(n===`display`||n===`visibility`)return!0;let s=e[e.length-1],c=isAnimatable(o,n),l=isAnimatable(s,n);return`${n}${o}${s}${c?s:o}`,!c||!l?!1:hasKeyframesChanged(e)||(i===`spring`||isGenerator(i))&&a}var bt=40,AsyncMotionValueAnimation=class extends WithPromise{constructor({autoplay:e=!0,delay:n=0,type:i=`keyframes`,repeat:a=0,repeatDelay:o=0,repeatType:s=`loop`,keyframes:c,name:l,motionValue:d,element:f,...m}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=ge.now();let _={autoplay:e,delay:n,type:i,repeat:a,repeatDelay:o,repeatType:s,name:l,motionValue:d,element:f,...m},v=f?.KeyframeResolver||KeyframeResolver;this.keyframeResolver=new v(c,(e,n,i)=>this.onKeyframesResolved(e,n,_,!i),l,d,f),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,n,i,a){this.keyframeResolver=void 0;let{name:o,type:s,velocity:c,delay:l,isHandoff:d,onUpdate:f}=i;this.resolvedAt=ge.now();let m=!0;canAnimate(e,o,s,c)||(m=!1,(R.instantAnimations||!l)&&f?.(getFinalKeyframe(e,i,n)),e[0]=e[e.length-1],makeAnimationInstant(i),i.repeat=0);let _={startTime:a?this.resolvedAt&&this.resolvedAt-this.createdAt>bt?this.resolvedAt:this.createdAt:void 0,finalKeyframe:n,...i,keyframes:e},v=m&&!d&&supportsBrowserAnimation(_),y=_.motionValue?.owner?.current,x;if(v)try{x=new NativeAnimationExtended({..._,element:y})}catch{x=new JSAnimation(_)}else x=new JSAnimation(_);x.finished.then(()=>{this.notifyFinished()}).catch(noop),this.pendingTimeline&&=(this.stopTimeline=x.attachTimeline(this.pendingTimeline),void 0),this._animation=x}get finished(){return this._animation?this.animation.finished:this._finished}then(e,n){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),flushKeyframeResolvers()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}},GroupAnimation=class{constructor(e){this.stop=()=>this.runAll(`stop`),this.animations=e.filter(Boolean)}get finished(){return Promise.all(this.animations.map(e=>e.finished))}getAll(e){return this.animations[0][e]}setAll(e,n){for(let i=0;i<this.animations.length;i++)this.animations[i][e]=n}attachTimeline(e){let n=this.animations.map(n=>n.attachTimeline(e));return()=>
1{n.forEach((e,n)=>{e&&e(),this.animations[n].stop()})}}get time(){return this.getAll(`time`)}set time(e){this.setAll(`time`,e)}get speed(){return this.getAll(`speed`)}set speed(e){this.setAll(`speed`,e)}get state(){return this.getAll(`state`)}get startTime(){return this.getAll(`startTime`)}get duration(){return getMax(this.animations,`duration`)}get iterationDuration(){return getMax(this.animations,`iterationDuration`)}runAll(e){this.animations.forEach(n=>n[e]())}play(){this.runAll(`play`)}pause(){this.runAll(`pause`)}cancel(){this.runAll(`cancel`)}complete(){this.runAll(`complete`)}};function getMax(e,n){let i=0;for(let a=0;a<e.length;a++){let o=e[a][n];o!==null&&o>i&&(i=o)}return i}var GroupAnimationWithThen=class extends GroupAnimation{then(e,n){return this.finished.finally(e).then(()=>{})}};function calcChildStagger(e,n,i,a=0,o=1){let s=Array.from(e).sort((e,n)=>e.sortNodePosition(n)).indexOf(n),c=e.size,l=(c-1)*a;return typeof i==`function`?i(s,c):o===1?s*a:l-s*a}var xt=30,isFloat=e=>!isNaN(parseFloat(e)),St={current:void 0},MotionValue=class{constructor(e,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let n=ge.now();if(this.updatedAt!==n&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let e of this.dependents)e.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=n.owner}setCurrent(e){this.current=e,this.updatedAt=ge.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=isFloat(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on(`change`,e)}on(e,n){this.events[e]||(this.events[e]=new SubscriptionManager);let i=this.events[e].add(n);return e===`change`?()=>{i(),H.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,n){this.passiveEffect=e,this.stopPassiveEffect=n}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,n,i){this.set(n),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-i}jump(e,n=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||=new Set,this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return St.current&&St.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=ge.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>xt)return 0;let n=Math.min(this.updatedAt-this.prevUpdatedAt,xt);return velocityPerSecond(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(e){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=e(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}};function motionValue(e,n){return new MotionValue(e,n)}function resolveTransition(e,n){if(e?.inherit&&n){let{inherit:i,...a}=e;return{...n,...a}}return e}function getValueTransition(e,n){let i=e?.[n]??e?.default??e;return i===e?i:resolveTransition(i,e)}var Ct={type:`spring`,stiffness:500,damping:25,restSpeed:10},criticallyDampedSpring=e=>({type:`spring`,stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),wt={type:`keyframes`,duration:.8},Tt={type:`keyframes`,ease:[.25,.1,.35,1],duration:.3},getDefaultTransition=(e,{keyframes:n})=>n.length>2?wt:tt.has(e)?e.startsWith(`scale`)?criticallyDampedSpring(n[1]):Ct:Tt,Et=new Set([`when`,`delay`,`delayChildren`,`staggerChildren`,`staggerDirection`,`repeat`,`repeatType`,`repeatDelay`,`from`,`elapsed`]);function isTransitionDefined(e){for(let n in e)if(!Et.has(n))return!0;return!1}var animateMotionValue=(e,n,i,a={},o,s)=>c=>{let l=getValueTransition(a,e)||{},d=l.delay||a.delay||0,{elapsed:f=0}=a;f-=secondsToMilliseconds(d);let m={keyframes:Array.isArray(i)?i:[null,i],ease:`easeOut`,velocity:n.getVelocity(),...l,delay:-f,onUpdate:e=>{n.set(e),l.onUpdate&&l.onUpdate(e)},onComplete:()=>{c(),l.onComplete&&l.onComplete()},name:e,motionValue:n,element:s?void 0:o};isTransitionDefined(l)||Object.assign(m,getDefaultTransition(e,m)),m.duration&&=secondsToMilliseconds(m.duration),m.repeatDelay&&=secondsToMilliseconds(m.repeatDelay),m.from!==void 0&&(m.keyframes[0]=m.from);let _=!1;if((m.type===!1||m.duration===0&&!m.repeatDelay)&&(makeAnimationInstant(m),m.delay===0&&(_=!0)),(R.instantAnimations||R.skipAnimations||o?.shouldSkipAnimations||l.skipAnimations)&&(_=!0,makeAnimationInstant(m),m.delay=0),m.allowFlatten=!l.type&&!l.ease,_&&!s&&n.get()!==void 0){let e=getFinalKeyframe(m.keyframes,l);if(e!==void 0){H.update(()=>{m.onUpdate(e),m.onComplete()});return}}return l.isSync?new JSAnimation(m):new AsyncMotionValueAnimation(m)},Dt=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function parseCSSVariable(e){let n=Dt.exec(e);if(!n)return[,];let[,i,a,o]=n;return[`--${i??a}`,o]}function getVariableValue(e,n,i=1){`${e}`;let[a,o]=parseCSSVariable(e);if(!a)return;let s=k.getComputedStyle(n).getPropertyValue(a);if(s){let e=s.trim();return isNumericalString(e)?parseFloat(e):e}return isCSSVariableToken(o)?getVariableValue(o,n,i+1):o}function getValueState(e){let n=[{},{}];
1return e?.values.forEach((e,i)=>{n[0][i]=e.get(),n[1][i]=e.getVelocity()}),n}function resolveVariantFromProps(e,n,i,a){if(typeof n==`function`){let[o,s]=getValueState(a);n=n(i===void 0?e.custom:i,o,s)}if(typeof n==`string`&&(n=e.variants&&e.variants[n]),typeof n==`function`){let[o,s]=getValueState(a);n=n(i===void 0?e.custom:i,o,s)}return n}function resolveVariant(e,n,i){let a=e.getProps();return resolveVariantFromProps(a,n,i===void 0?a.custom:i,e)}var Ot=new Set([`width`,`height`,`top`,`left`,`right`,`bottom`,...et]),isKeyframesTarget=e=>Array.isArray(e);function setMotionValue(e,n,i){e.hasValue(n)?e.getValue(n).set(i):e.addValue(n,motionValue(i))}function resolveFinalValueInKeyframes(e){return isKeyframesTarget(e)?e[e.length-1]||0:e}function setTarget(e,n){let{transitionEnd:i={},transition:a={},...o}=resolveVariant(e,n)||{};o={...o,...i};for(let n in o)setMotionValue(e,n,resolveFinalValueInKeyframes(o[n]))}var isMotionValue=e=>!!(e&&e.getVelocity);function isWillChangeMotionValue(e){return!!(isMotionValue(e)&&e.add)}function addValueToWillChange(e,n){let i=e.getValue(`willChange`);if(isWillChangeMotionValue(i))return i.add(n);if(!i&&R.WillChange){let i=new R.WillChange(`auto`);e.addValue(`willChange`,i),i.add(n)}}function camelToDash(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}var kt=`data-`+camelToDash(`framerAppearId`);function getOptimisedAppearId(e){return e.props[kt]}function shouldBlockAnimation({protectedKeys:e,needsAnimating:n},i){let a=e.hasOwnProperty(i)&&n[i]!==!0;return n[i]=!1,a}function animateTarget(e,n,{delay:i=0,transitionOverride:a,type:o}={}){let{transition:s,transitionEnd:c,...l}=n,d=e.getDefaultTransition();s=s?resolveTransition(s,d):d;let f=s?.reduceMotion,m=s?.skipAnimations;a&&(s=a);let _=[],v=o&&e.animationState&&e.animationState.getState()[o],y=s?.path;y&&y.animateVisualElement(e,l,s,i,_);for(let n in l){let a=e.getValue(n,e.latestValues[n]??null),o=l[n];if(o===void 0||v&&shouldBlockAnimation(v,n))continue;let c={delay:i,...getValueTransition(s||{},n)};m&&(c.skipAnimations=!0);let d=a.get();if(d!==void 0&&!a.isAnimating()&&!Array.isArray(o)&&o===d&&!c.velocity){H.update(()=>a.set(o));continue}let y=!1;if(k.MotionHandoffAnimation){let i=getOptimisedAppearId(e);if(i){let e=k.MotionHandoffAnimation(i,n,H);e!==null&&(c.startTime=e,y=!0)}}addValueToWillChange(e,n);let x=f??e.shouldReduceMotion;a.start(animateMotionValue(n,a,o,x&&Ot.has(n)?{type:!1}:c,e,y));let S=a.animation;S&&_.push(S)}if(c){let applyTransitionEnd=()=>H.update(()=>{c&&setTarget(e,c)});_.length?Promise.all(_).then(applyTransitionEnd):applyTransitionEnd()}return _}function animateVariant(e,n,i={}){let a=resolveVariant(e,n,i.type===`exit`?e.presenceContext?.custom:void 0),{transition:o=e.getDefaultTransition()||{}}=a||{};i.transitionOverride&&(o=i.transitionOverride);let s=a?()=>Promise.all(animateTarget(e,a,i)):()=>Promise.resolve(),c=e.variantChildren&&e.variantChildren.size?(a=0)=>{let{delayChildren:s=0,staggerChildren:c,staggerDirection:l}=o;return animateChildren(e,n,a,s,c,l,i)}:()=>Promise.resolve(),{when:l}=o;if(l){let[e,n]=l===`beforeChildren`?[s,c]:[c,s];return e().then(()=>n())}return Promise.all([s(),c(i.delay)])}function animateChildren(e,n,i=0,a=0,o=0,s=1,c){let l=[];for(let d of e.variantChildren)d.notify(`AnimationStart`,n),l.push(animateVariant(d,n,{...c,delay:i+(typeof a==`function`?0:a)+calcChildStagger(e.variantChildren,d,a,o,s)}).then(()=>d.notify(`AnimationComplete`,n)));return Promise.all(l)}function animateVisualElement(e,n,i={}){e.notify(`AnimationStart`,n);let a;if(Array.isArray(n)){let o=n.map(n=>animateVariant(e,n,i));a=Promise.all(o)}else if(typeof n==`string`)a=animateVariant(e,n,i);else{let o=typeof n==`function`?resolveVariant(e,n,i.custom):n;a=Promise.all(animateTarget(e,o,i))}return a.then(()=>{e.notify(`AnimationComplete`,n)})}var testValueType=e=>n=>n.test(e),At=[be,G,De,Ee,ke,Oe,{test:e=>e===`auto`,parse:e=>e}],findDimensionValueType=e=>At.find(testValueType(e)),jt={rotate:Ee,pathRotation:Ee,rotateX:Ee,rotateY:Ee,rotateZ:Ee,scale:Se,scaleX:Se,scaleY:Se,scaleZ:Se,skew:Ee,skewX:Ee,skewY:Ee,distance:G,translateX:G,translateY:G,translateZ:G,x:G,y:G,z:G,perspective:G,transformPerspective:G,opacity:xe,originX:Ae,originY:Ae,originZ:G},Mt={...be,transform:Math.round},Nt={borderWidth:G,borderTopWidth:G,borderRightWidth:G,borderBottomWidth:G,borderLeftWidth:G,borderRadius:G,borderTopLeftRadius:G,borderTopRightRadius:G,borderBottomRightRadius:G,borderBottomLeftRadius:G,width:G,maxWidth:G,height:G,maxHeight:G,top:G,right:G,bottom:G,left:G,inset:G,insetBlock:G,insetBlockStart:G,insetBlockEnd:G,insetInline:G,insetInlineStart:G,insetInlineEnd:G,padding:G,paddingTop:G,paddingRight:G,paddingBottom:G,paddingLeft:G,paddingBlock:G,paddingBlockStart:G,paddingBlockEnd:G,paddingInline:G,paddingInlineStart:G,paddingInlineEnd:G,margin:G,marginTop:G,marginRight:G,marginBottom:G,marginLeft:G,marginBlock:G,marginBlockStart:G,marginBlockEnd:G,marginInline:G,marginInlineStart:G,marginInlineEnd:G,fontSize:G,backgroundPositionX:G,backgroundPositionY:G,...jt,zIndex:Mt,fillOpacity:xe,strokeOpacity:xe,numOctaves:Mt},Pt=new Set([`brightness`,`contrast`,`saturate`,`opacity`]);function applyDefaultFilter(e){let[n,i]=e.slice(0,-1).split(`(`);if(n===`drop-shadow`)return e;let[a]=i.match(U)||[];if(!a)return e;let o=i.replace(a,``),s=+!!Pt.has(n);return a!==i&&(s*=100),n+`(`+s+o+`)`}var Ft=/\b([a-z-]*)\(.*?\)/gu,It={...Be,getAnimatableNone:e=>{let n=e.match(Ft);return n?n.map(applyDefaultFilter).join(` `):e}},Lt={...Be,getAnimatableNone:e=>{let n=Be.parse(e);return Be.createTransformer(e)(n.map(e=>typeof e==`number`?0:typeof e==`object`?{...e,alpha:1}:e))}},Rt={...Nt,color:Me,backgroundColor:Me,outlineColor:Me,fill:Me,stroke:Me,borderColor:Me,borderTopColor:Me,borderRightColor:Me,borderBottomColor:Me,borderLeftColor:Me,filter:It,WebkitFilter:It,mask:Lt,WebkitMask:Lt},getDefaultValueType=e=>Rt[e],zt=new Set([It,Lt]);function getAnimatableNone2(e,n){let i=getDefaultValueType(e);return zt.has(i)||(i=Be),i.getAnimatableNone?i.getAnimatableNone(n):void 0}function isNone(e){return typeof e==`number`?e===0:e===null||e===`none`||e===`0`||isZeroValueString(e)}var Bt=new Set([`auto`,`none`,`0`]);function makeNoneKeyframesAnimatable(e,n,i){let a=0,o;for(;a<e.length&&!o;){let n=e[a];typeof n==`string`&&!Bt.has(n)&&analyseComplexValue(n).values.length&&(o=e[a]),a++}if(o&&i)for(let a of n)e[a]=getAnimatableNone2(i,o)}var DOMKeyframesResolver=class extends KeyframeResolver{constructor(e,n,i,a,o){super(e,n,i,a,o,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:n,name:i}=this;if(!n||!n.current)return;super.readKeyframes();for(let i=0;i<e.length;i++){let a=e[i];if(typeof a==`string`&&(a=a.trim(),isCSSVariableToken(a))){let o=getVariableValue(a,n.current);o!==void 0&&(e[i]=o),i===e.length-1&&(this.finalKeyframe=a)}}if(this.resolveNoneKeyframes(),!Ot.has(i)||e.length!==2)return;let[a,o]=e,s=findDimensionValueType(a),c=findDimensionValueType(o);if(containsCSSVariable(a)!==containsCSSVariable(o)&&it[i]){this.needsMeasurement=!0;return}if(s!==c){if(isNumOrPxType(s)&&isNumOrPxType(c))for(let n=0;n<e.length;n++){let i=e[n];typeof i==`string`&&(e[n]=parseFloat(i))}else it[i]&&(this.needsMeasurement=!0)}}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:n}=this,i=[];for(let n=0;n<e.length;n++)(e[n]===null||isNone(e[n]))&&i.push(n);i.length&&makeNoneKeyframesAnimatable(e,i,n)}measureInitialState(){let{element:e,unresolvedKeyframes:n,name:i}=this;if(!e||!e.current)return;i===`height`&&(this.suspendedScrollY=k.pageYOffset),this.measuredOrigin=it[i](e.measureViewportBox(),
1k.getComputedStyle(e.current)),n[0]=this.measuredOrigin;let a=n[n.length-1];a!==void 0&&e.getValue(i,a).jump(a,!1)}measureEndState(){let{element:e,name:n,unresolvedKeyframes:i}=this;if(!e||!e.current)return;let a=e.getValue(n);a&&a.jump(this.measuredOrigin,!1);let o=i.length-1,s=i[o];i[o]=it[n](e.measureViewportBox(),k.getComputedStyle(e.current)),s!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=s),this.removedTransforms?.length&&this.removedTransforms.forEach(([n,i])=>{e.getValue(n).set(i)}),this.resolveNoneKeyframes()}},Vt=[`borderTopLeftRadius`,`borderTopRightRadius`,`borderBottomRightRadius`,`borderBottomLeftRadius`];[...Vt];function resolveElements(e,n,i){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e==`string`){let a=document;n&&(a=n.current);let o=i?.[e]??a.querySelectorAll(e);return o?Array.from(o):[]}return Array.from(e).filter(e=>e!=null)}var getValueAsType=(e,n)=>n&&typeof e==`number`?n.transform(e):e;function isHTMLElement(e){return isObject(e)&&`offsetHeight`in e&&!(`ownerSVGElement`in e)}var{schedule:Ht,cancel:Ut}=createRenderBatcher(queueMicrotask,!1),Wt={x:!1,y:!1};function isDragActive(){return Wt.x||Wt.y}function setDragLock(e){return e===`x`||e===`y`?Wt[e]?null:(Wt[e]=!0,()=>{Wt[e]=!1}):Wt.x||Wt.y?null:(Wt.x=Wt.y=!0,()=>{Wt.x=Wt.y=!1})}function setupGesture(e,n){let i=resolveElements(e),a=new AbortController,o={passive:!0,...n,signal:a.signal},cancel=()=>a.abort();return[i,o,cancel]}function isValidHover(e){return!(e.pointerType===`touch`||isDragActive())}function hover(e,n,i={}){let[a,o,s]=setupGesture(e,i);return a.forEach(e=>{let i=!1,a=!1,s,removePointerLeave=()=>{e.removeEventListener(`pointerleave`,onPointerLeave)},endHover=e=>{s&&=(s(e),void 0),removePointerLeave()},onPointerUp=e=>{i=!1,k.removeEventListener(`pointerup`,onPointerUp),k.removeEventListener(`pointercancel`,onPointerUp),a&&(a=!1,endHover(e))},onPointerDown=()=>{i=!0,k.addEventListener(`pointerup`,onPointerUp,o),k.addEventListener(`pointercancel`,onPointerUp,o)},onPointerLeave=e=>{if(e.pointerType!==`touch`){if(i){a=!0;return}endHover(e)}},onPointerEnter=i=>{if(!isValidHover(i))return;a=!1;let c=n(e,i);typeof c==`function`&&(s=c,e.addEventListener(`pointerleave`,onPointerLeave,o))};e.addEventListener(`pointerenter`,onPointerEnter,o),e.addEventListener(`pointerdown`,onPointerDown,o)}),s}var isNodeOrChild=(e,n)=>n?e===n||isNodeOrChild(e,n.parentElement):!1,isPrimaryPointer=e=>e.pointerType===`mouse`?typeof e.button!=`number`||e.button<=0:e.isPrimary!==!1,Gt=new Set([`BUTTON`,`INPUT`,`SELECT`,`TEXTAREA`,`A`]);function isElementKeyboardAccessible(e){return Gt.has(e.tagName)||e.isContentEditable===!0}var Kt=new Set([`INPUT`,`SELECT`,`TEXTAREA`]);function isElementTextInput(e){return Kt.has(e.tagName)||e.isContentEditable===!0}var qt=new WeakSet;function filterEvents(e){return n=>{n.key===`Enter`&&e(n)}}function firePointerEvent(e,n){e.dispatchEvent(new PointerEvent(`pointer`+n,{isPrimary:!0,bubbles:!0}))}var enableKeyboardPress=(e,n)=>{let i=e.currentTarget;if(!i)return;let a=filterEvents(()=>{if(qt.has(i))return;firePointerEvent(i,`down`);let e=filterEvents(()=>{firePointerEvent(i,`up`)}),handleBlur=()=>firePointerEvent(i,`cancel`);i.addEventListener(`keyup`,e,n),i.addEventListener(`blur`,handleBlur,n)});i.addEventListener(`keydown`,a,n),i.addEventListener(`blur`,()=>i.removeEventListener(`keydown`,a),n)};function isValidPressEvent(e){return isPrimaryPointer(e)&&!isDragActive()}var Jt=new WeakSet;function press(e,n,i={}){let[a,o,s]=setupGesture(e,i),startPress=e=>{let a=e.currentTarget;if(!isValidPressEvent(e)||Jt.has(e))return;qt.add(a),i.stopPropagation&&Jt.add(e);let s=n(a,e),c={...o,capture:!0},onPointerEnd=(e,n)=>{k.removeEventListener(`pointerup`,onPointerUp,c),k.removeEventListener(`pointercancel`,onPointerCancel,c),qt.has(a)&&qt.delete(a),isValidPressEvent(e)&&typeof s==`function`&&s(e,{success:n})},onPointerUp=e=>{onPointerEnd(e,a===k||a===document||i.useGlobalTarget||isNodeOrChild(a,e.target))},onPointerCancel=e=>{onPointerEnd(e,!1)};k.addEventListener(`pointerup`,onPointerUp,c),k.addEventListener(`pointercancel`,onPointerCancel,c)};
1return a.forEach(e=>{(i.useGlobalTarget?k:e).addEventListener(`pointerdown`,startPress,o),isHTMLElement(e)&&(e.addEventListener(`focus`,e=>enableKeyboardPress(e,o)),!isElementKeyboardAccessible(e)&&!e.hasAttribute(`tabindex`)&&(e.tabIndex=0))}),s}function isSVGElement(e){return isObject(e)&&`ownerSVGElement`in e}var Yt=new WeakMap,Xt,getSize=(e,n,i)=>(a,o)=>o&&o[0]?o[0][e+`Size`]:isSVGElement(a)&&`getBBox`in a?a.getBBox()[n]:a[i],Zt=getSize(`inline`,`width`,`offsetWidth`),Qt=getSize(`block`,`height`,`offsetHeight`);function notifyTarget({target:e,borderBoxSize:n}){Yt.get(e)?.forEach(i=>{i(e,{get width(){return Zt(e,n)},get height(){return Qt(e,n)}})})}function notifyAll(e){e.forEach(notifyTarget)}function createResizeObserver(){typeof ResizeObserver>`u`||(Xt=new ResizeObserver(notifyAll))}function resizeElement(e,n){Xt||createResizeObserver();let i=resolveElements(e);return i.forEach(e=>{let i=Yt.get(e);i||(i=new Set,Yt.set(e,i)),i.add(n),Xt?.observe(e)}),()=>{i.forEach(e=>{let i=Yt.get(e);i?.delete(n),i?.size||Xt?.unobserve(e)})}}var $t=new Set,windowResizeHandler;function createWindowResizeHandler(){windowResizeHandler=()=>{let e={get width(){return k.innerWidth},get height(){return k.innerHeight}};$t.forEach(n=>n(e))},k.addEventListener(`resize`,windowResizeHandler)}function resizeWindow(e){return $t.add(e),windowResizeHandler||createWindowResizeHandler(),()=>{$t.delete(e),!$t.size&&typeof windowResizeHandler==`function`&&(k.removeEventListener(`resize`,windowResizeHandler),windowResizeHandler=void 0)}}function resize(e,n){return typeof e==`function`?resizeWindow(e):resizeElement(e,n)}function observeTimeline(e,n){let i,onFrame=()=>{let{currentTime:a}=n,o=(a===null?0:a.value)/100;i!==o&&e(o),i=o};return H.preUpdate(onFrame,!0),()=>fe(onFrame)}var en={value:null,addProjectionMetrics:null};function isSVGSVGElement(e){return isSVGElement(e)&&e.tagName===`svg`}function getOriginIndex(e,n){if(e===`first`)return 0;{let i=n-1;return e===`last`?i:i/2}}function stagger(e=.1,{startDelay:n=0,from:i=0,ease:a}={}){return(o,s)=>{let c=typeof i==`number`?i:getOriginIndex(i,s),l=e*Math.abs(c-o);if(a){let n=s*e;l=easingDefinitionToFunction(a)(l/n)*n}return n+l}}function transform(...e){let n=!Array.isArray(e[0]),i=n?0:-1,a=e[0+i],o=e[1+i],s=e[2+i],c=e[3+i],l=interpolate(o,s,c);return n?l(a):l}function attachFollow(e,n,i={}){let a=e.get(),o=null,s=a,latestSetter,c=typeof a==`string`?a.replace(/[\d.-]/g,``):void 0,stopAnimation2=()=>{o&&=(o.stop(),null),e.animation=void 0},startAnimation2=()=>{let n=asNumber(e.get()),a=asNumber(s);if(n===a){stopAnimation2();return}let c=o?o.getGeneratorVelocity():e.getVelocity();stopAnimation2(),o=new JSAnimation({keyframes:[n,a],velocity:c,type:`spring`,restDelta:.001,restSpeed:.01,...i,onUpdate:latestSetter})},scheduleAnimation=()=>{startAnimation2(),e.animation=o??void 0,e.events.animationStart?.notify(),o?.then(()=>{e.animation=void 0,e.events.animationComplete?.notify()})};if(e.attach((e,n)=>{s=e,latestSetter=e=>n(parseValue(e,c)),H.postRender(scheduleAnimation)},stopAnimation2),isMotionValue(n)){let a=i.skipInitialAnimation===!0,o=n.on(`change`,n=>{a?(a=!1,e.jump(parseValue(n,c),!1)):e.set(parseValue(n,c))}),s=e.on(`destroy`,o);return()=>{o(),s()}}return stopAnimation2}function parseValue(e,n){return n?e+n:e}function asNumber(e){return typeof e==`number`?e:parseFloat(e)}var tn=[...At,Me,Be],findValueType=e=>tn.find(testValueType(e)),createAxisDelta=()=>({translate:0,scale:1,origin:0,originPoint:0}),createDelta=()=>({x:createAxisDelta(),y:createAxisDelta()}),createAxis=()=>({min:0,max:0}),createBox=()=>({x:createAxis(),y:createAxis()}),nn=new WeakMap;function isAnimationControls(e){return typeof e==`object`&&!!e&&typeof e.start==`function`}function isVariantLabel(e){return typeof e==`string`||Array.isArray(e)}var rn=[`animate`,`whileInView`,`whileFocus`,`whileHover`,`whileTap`,`whileDrag`,`exit`],an=[`initial`,...rn];function isControllingVariants(e){return isAnimationControls(e.animate)||an.some(n=>isVariantLabel(e[n]))}function isVariantNode(e){return!!(isControllingVariants(e)||e.variants)}function updateMotionValuesFromProps(e,n,i){for(let a in n){let o=n[a],s=i[a];if(isMotionValue(o))e.addValue(a,o);else if(isMotionValue(s))e.addValue(a,motionValue(o,{owner:e}));else if(s!==o){if(e.hasValue(a)){let n=e.getValue(a);n.liveStyle===!0?n.jump(o):n.hasAnimated||n.set(o)}else{let n=e.getStaticValue(a);e.addValue(a,motionValue(n===void 0?o:n,{owner:e}))}}}for(let a in i)n[a]===void 0&&e.removeValue(a);return n}var on={current:null},sn={current:!1},cn=k!==void 0;
1function initPrefersReducedMotion(){if(sn.current=!0,cn){if(k.matchMedia){let e=k.matchMedia(`(prefers-reduced-motion)`),setReducedMotionPreferences=()=>on.current=e.matches;e.addEventListener(`change`,setReducedMotionPreferences),setReducedMotionPreferences()}else on.current=!1}}var ln=[`AnimationStart`,`AnimationComplete`,`Update`,`BeforeLayoutMeasure`,`LayoutMeasure`,`LayoutAnimationStart`,`LayoutAnimationComplete`],un={};function setFeatureDefinitions(e){un=e}function getFeatureDefinitions(){return un}var VisualElement=class{scrapeMotionValuesFromProps(e,n,i){return{}}constructor({parent:e,props:n,presenceContext:i,reducedMotionConfig:a,skipAnimations:o,blockInitialAnimation:s,visualState:c},l={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=KeyframeResolver,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify(`Update`,this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let e=ge.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,H.render(this.render,!1,!0))};let{latestValues:d,renderState:f}=c;this.latestValues=d,this.baseTarget={...d},this.initialValues=n.initial?{...d}:{},this.renderState=f,this.parent=e,this.props=n,this.presenceContext=i,this.depth=e?e.depth+1:0,this.reducedMotionConfig=a,this.skipAnimationsConfig=o,this.options=l,this.blockInitialAnimation=!!s,this.isControllingVariants=isControllingVariants(n),this.isVariantNode=isVariantNode(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:m,..._}=this.scrapeMotionValuesFromProps(n,{},this);for(let e in _){let n=_[e];d[e]!==void 0&&isMotionValue(n)&&n.set(d[e])}}mount(e){if(this.hasBeenMounted)for(let e in this.initialValues)this.values.get(e)?.jump(this.initialValues[e]),this.latestValues[e]=this.initialValues[e];this.current=e,nn.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,n)=>this.bindToMotionValue(n,e)),this.reducedMotionConfig===`never`?this.shouldReduceMotion=!1:this.reducedMotionConfig===`always`?this.shouldReduceMotion=!0:(sn.current||initPrefersReducedMotion(),this.shouldReduceMotion=on.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),fe(this.notifyUpdate),fe(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(let e in this.events)this.events[e].clear();for(let e in this.features){let n=this.features[e];n&&(n.unmount(),n.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??=new Set,this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,n){if(this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)(),n.accelerate&>.has(e)&&this.current instanceof HTMLElement){let{factory:i,keyframes:a,times:o,ease:s,duration:c}=n.accelerate,l=new NativeAnimation({element:this.current,name:e,keyframes:a,times:o,ease:s,duration:secondsToMilliseconds(c)}),d=i(l);this.valueSubscriptions.set(e,()=>{d(),l.cancel()});return}let i=tt.has(e);i&&this.onBindTransform&&this.onBindTransform();let a=n.on(`change`,n=>{this.latestValues[e]=n,this.props.onUpdate&&H.preRender(this.notifyUpdate),i&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()}),o;k!==void 0&&k.MotionCheckAppearSync&&(o=k.MotionCheckAppearSync(this,e,n)),this.valueSubscriptions.set(e,()=>{a(),o&&o()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e=`animation`;for(e in un){let n=un[e];if(!n)continue;let{isEnabled:i,Feature:a}=n;
1if(!this.features[e]&&a&&i(this.props)&&(this.features[e]=new a(this)),this.features[e]){let n=this.features[e];n.isMounted?n.update():(n.mount(),n.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):createBox()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,n){this.latestValues[e]=n}update(e,n){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let n=0;n<ln.length;n++){let i=ln[n];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let a=e[`on`+i];a&&(this.propEventSubscriptions[i]=this.on(i,a))}this.prevMotionValues=updateMotionValuesFromProps(this,this.scrapeMotionValuesFromProps(e,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){let n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(e),()=>n.variantChildren.delete(e)}addValue(e,n){let i=this.values.get(e);n!==i&&(i&&this.removeValue(e),this.bindToMotionValue(e,n),this.values.set(e,n),this.latestValues[e]=n.get())}removeValue(e){this.values.delete(e);let n=this.valueSubscriptions.get(e);n&&(n(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,n){if(this.props.values&&this.props.values[e])return this.props.values[e];let i=this.values.get(e);return i===void 0&&n!==void 0&&(i=motionValue(n===null?void 0:n,{owner:this}),this.addValue(e,i)),i}readValue(e,n){let i=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options);return i!=null&&(typeof i==`string`&&(isNumericalString(i)||isZeroValueString(i))?i=parseFloat(i):!findValueType(i)&&Be.test(n)&&(i=getAnimatableNone2(e,n)),this.setBaseTarget(e,isMotionValue(i)?i.get():i)),isMotionValue(i)?i.get():i}setBaseTarget(e,n){this.baseTarget[e]=n}getBaseTarget(e){let{initial:n}=this.props,i;if(typeof n==`string`||typeof n==`object`){let a=resolveVariantFromProps(this.props,n,this.presenceContext?.custom);a&&(i=a[e])}if(n&&i!==void 0)return i;let a=this.getBaseTargetFromProps(this.props,e);return a!==void 0&&!isMotionValue(a)?a:this.initialValues[e]!==void 0&&i===void 0?void 0:this.baseTarget[e]}on(e,n){return this.events[e]||(this.events[e]=new SubscriptionManager),this.events[e].add(n)}notify(e,...n){this.events[e]&&this.events[e].notify(...n)}scheduleRenderMicrotask(){Ht.render(this.render)}},DOMVisualElement=class extends VisualElement{constructor(){super(...arguments),this.KeyframeResolver=DOMKeyframesResolver}sortInstanceNodePosition(e,n){return e.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(e,n){let i=e.style;return i?i[n]:void 0}removeValueFromRenderState(e,{vars:n,style:i}){delete n[e],delete i[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;isMotionValue(e)&&(this.childSubscription=e.on(`change`,e=>{this.current&&(this.current.textContent=`${e}`)}))}},Feature=class{constructor(e){this.isMounted=!1,this.node=e}update(){}};function convertBoundingBoxToBox({top:e,left:n,right:i,bottom:a}){return{x:{min:n,max:i},y:{min:e,max:a}}}function convertBoxToBoundingBox({x:e,y:n}){return{top:n.min,right:e.max,bottom:n.max,left:e.min}}function transformBoxPoints(e,n){if(!n)return e;let i=n({x:e.left,y:e.top}),a=n({x:e.right,y:e.bottom});return{top:i.y,left:i.x,bottom:a.y,right:a.x}}function isIdentityScale(e){return e===void 0||e===1}function hasScale({scale:e,scaleX:n,scaleY:i}){return!isIdentityScale(e)||!isIdentityScale(n)||!isIdentityScale(i)}function hasTransform(e){return hasScale(e)||has2DTranslate(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function has2DTranslate(e){return is2DTranslate(e.x)||is2DTranslate(e.y)}function is2DTranslate(e){return e&&e!==`0%`}function scalePoint(e,n,i){return i+n*(e-i)}function applyPointDelta(e,n,i,a,o){return o!==void 0&&(e=scalePoint(e,o,a)),scalePoint(e,i,a)+n}function applyAxisDelta(e,n=0,i=1,a,o){e.min=applyPointDelta(e.min,n,i,a,o),e.max=applyPointDelta(e.max,n,i,a,o)}function applyBoxDelta(e,{x:n,y:i}){applyAxisDelta(e.x,n.translate,n.scale,n.originPoint),applyAxisDelta(e.y,i.translate,i.scale,i.originPoint)}var dn=.999999999999,fn=1.0000000000001;function applyTreeDeltas(e,n,i,a=!1){let o=i.length;if(!o)return;n.x=n.y=1;let s,c;for(let l=0;l<o;l++){s=i[l],c=s.projectionDelta;let{visualElement:o}=s.options;o&&o.props.style&&o.props.style.display===`contents`||(a&&s.options.layoutScroll&&s.scroll&&s!==s.root&&(translateAxis(e.x,-s.scroll.offset.x),translateAxis(e.y,-s.scroll.offset.y)),c&&(n.x*=c.x.scale,n.y*=c.y.scale,applyBoxDelta(e,c)),a&&hasTransform(s.latestValues)&&transformBox(e,s.latestValues,s.layout?.layoutBox))}n.x<fn&&n.x>dn&&(n.x=1),n.y<fn&&n.y>dn&&(n.y=1)}function translateAxis(e,n){e.min+=n,e.max+=n}
1function transformAxis(e,n,i,a,o=.5){applyAxisDelta(e,n,i,mixNumber(e.min,e.max,o),a)}function resolveAxisTranslate(e,n){return typeof e==`string`?parseFloat(e)/100*(n.max-n.min):e}function transformBox(e,n,i){let a=i??e;transformAxis(e.x,resolveAxisTranslate(n.x,a.x),n.scaleX,n.scale,n.originX),transformAxis(e.y,resolveAxisTranslate(n.y,a.y),n.scaleY,n.scale,n.originY)}function measureViewportBox(e,n){return convertBoundingBoxToBox(transformBoxPoints(e.getBoundingClientRect(),n))}function measurePageBox(e,n,i){let a=measureViewportBox(e,i),{scroll:o}=n;return o&&(translateAxis(a.x,o.offset.x),translateAxis(a.y,o.offset.y)),a}var pn={x:`translateX`,y:`translateY`,z:`translateZ`,transformPerspective:`perspective`},mn=et.length;function buildTransform2(e,n,i){let a=``,o=!0;for(let s=0;s<mn;s++){let c=et[s],l=e[c];if(l===void 0)continue;let d=!0;if(typeof l==`number`)d=l===+!!c.startsWith(`scale`);else{let e=parseFloat(l);d=c.startsWith(`scale`)?e===1:e===0}if(!d||i){let e=getValueAsType(l,Nt[c]);if(!d){o=!1;let n=pn[c]||c;a+=`${n}(${e}) `}i&&(n[c]=e)}}let s=e.pathRotation;return s&&(o=!1,a+=`rotate(${getValueAsType(s,Nt.pathRotation)}) `),a=a.trim(),i?a=i(n,o?``:a):o&&(a=`none`),a}function buildHTMLStyles(e,n,i){let{style:a,vars:o,transformOrigin:s}=e,c=!1,l=!1;for(let e in n){let i=n[e];if(tt.has(e)){c=!0;continue}if(_e(e)){o[e]=i;continue}{let n=getValueAsType(i,Nt[e]);e.startsWith(`origin`)?(l=!0,s[e]=n):a[e]=n}}if(n.transform||(c||i?a.transform=buildTransform2(n,e.transform,i):a.transform&&=`none`),l){let{originX:e=`50%`,originY:n=`50%`,originZ:i=0}=s;a.transformOrigin=`${e} ${n} ${i}`}}function renderHTML(e,{style:n,vars:i},a,o){let s=e.style,c;for(c in n)s[c]=n[c];for(c in o?.applyProjectionStyles(s,a),i)s.setProperty(c,i[c])}function pixelsToPercent(e,n){return n.max===n.min?0:e/(n.max-n.min)*100}var hn={correct:(e,n)=>{if(!n.target)return e;if(typeof e==`string`){if(G.test(e))e=parseFloat(e);else return e}return`${pixelsToPercent(e,n.target.x)}% ${pixelsToPercent(e,n.target.y)}%`}},gn={correct:(e,{treeScale:n,projectionDelta:i})=>{let a=e,o=Be.parse(e);if(o.length>5)return a;let s=Be.createTransformer(e),c=typeof o[0]==`number`?0:1,l=i.x.scale*n.x,d=i.y.scale*n.y;o[0+c]/=l,o[1+c]/=d;let f=mixNumber(l,d,.5);return typeof o[2+c]==`number`&&(o[2+c]/=f),typeof o[3+c]==`number`&&(o[3+c]/=f),s(o)}},_n={borderRadius:{...hn,applyTo:[...Vt]},borderTopLeftRadius:hn,borderTopRightRadius:hn,borderBottomLeftRadius:hn,borderBottomRightRadius:hn,boxShadow:gn};function addScaleCorrector(e){for(let n in e)_n[n]=e[n],_e(n)&&(_n[n].isCSSVariable=!0)}function isForcedMotionValue(e,{layout:n,layoutId:i}){return tt.has(e)||e.startsWith(`origin`)||(n||i!==void 0)&&(!!_n[e]||e===`opacity`)}function scrapeMotionValuesFromProps(e,n,i){let a=e.style,o=n?.style,s={};if(!a)return s;for(let n in a)(isMotionValue(a[n])||o&&isMotionValue(o[n])||isForcedMotionValue(n,e)||i?.getValue(n)?.liveStyle!==void 0)&&(s[n]=a[n]);return s}function getComputedStyle3(e){return k.getComputedStyle(e)}var HTMLVisualElement=class extends DOMVisualElement{constructor(){super(...arguments),this.type=`html`,this.renderInstance=renderHTML}readValueFromInstance(e,n){if(tt.has(n))return this.projection?.isProjecting?defaultTransformValue(n):readTransformValue(e,n);{let i=getComputedStyle3(e),a=(_e(n)?i.getPropertyValue(n):i[n])||0;return typeof a==`string`?a.trim():a}}measureInstanceViewportBox(e,{transformPagePoint:n}){return measureViewportBox(e,n)}build(e,n,i){buildHTMLStyles(e,n,i.transformTemplate)}scrapeMotionValuesFromProps(e,n,i){return scrapeMotionValuesFromProps(e,n,i)}};function isObjectKey(e,n){return e in n}var ObjectVisualElement=class extends VisualElement{constructor(){super(...arguments),this.type=`object`}readValueFromInstance(e,n){if(isObjectKey(n,e)){let i=e[n];if(typeof i==`string`||typeof i==`number`)return i}}getBaseTargetFromProps(){}removeValueFromRenderState(e,n){delete n.output[e]}measureInstanceViewportBox(){return createBox()}build(e,n){Object.assign(e.output,n)}renderInstance(e,{output:n}){Object.assign(e,n)}sortInstanceNodePosition(){return 0}},vn={offset:`stroke-dashoffset`,array:`stroke-dasharray`},yn={offset:`strokeDashoffset`,array:`strokeDasharray`};function buildSVGPath(e,n,i=1,a=0,o=!0){e.pathLength=1;let s=o?vn:yn;e[s.offset]=`${-a}`,e[s.array]=`${n} ${i}`}var bn=[`offsetDistance`,`offsetPath`,`offsetRotate`,`offsetAnchor`];function buildSVGAttrs(e,{attrX:n,attrY:i,attrScale:a,pathLength:o,pathSpacing:s=1,pathOffset:c=0,...l},d,f,m){if(buildHTMLStyles(e,l,f),d){e.style.viewBox&&(e.attrs.viewB
1ox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:_,style:v}=e;_.transform&&(v.transform=_.transform,delete _.transform),(v.transform||_.transformOrigin)&&(v.transformOrigin=_.transformOrigin??`50% 50%`,delete _.transformOrigin),v.transform&&(v.transformBox=m?.transformBox??`fill-box`,delete _.transformBox);for(let e of bn)_[e]!==void 0&&(v[e]=_[e],delete _[e]);n!==void 0&&(_.x=n),i!==void 0&&(_.y=i),a!==void 0&&(_.scale=a),o!==void 0&&buildSVGPath(_,o,s,c,!1)}var xn=new Set([`baseFrequency`,`diffuseConstant`,`kernelMatrix`,`kernelUnitLength`,`keySplines`,`keyTimes`,`limitingConeAngle`,`markerHeight`,`markerWidth`,`numOctaves`,`targetX`,`targetY`,`surfaceScale`,`specularConstant`,`specularExponent`,`stdDeviation`,`tableValues`,`viewBox`,`gradientTransform`,`pathLength`,`startOffset`,`textLength`,`lengthAdjust`]),isSVGTag=e=>typeof e==`string`&&e.toLowerCase()===`svg`;function renderSVG(e,n,i,a){renderHTML(e,n,void 0,a);for(let i in n.attrs)e.setAttribute(xn.has(i)?i:camelToDash(i),n.attrs[i])}function scrapeMotionValuesFromProps2(e,n,i){let a=scrapeMotionValuesFromProps(e,n,i);for(let i in e)if(isMotionValue(e[i])||isMotionValue(n[i])){let n=et.indexOf(i)===-1?i:`attr`+i.charAt(0).toUpperCase()+i.substring(1);a[n]=e[i]}return a}var SVGVisualElement=class extends DOMVisualElement{constructor(){super(...arguments),this.type=`svg`,this.isSVGTag=!1,this.measureInstanceViewportBox=createBox}getBaseTargetFromProps(e,n){return e[n]}readValueFromInstance(e,n){if(tt.has(n)){let e=getDefaultValueType(n);return e&&e.default||0}return n=xn.has(n)?n:camelToDash(n),e.getAttribute(n)}scrapeMotionValuesFromProps(e,n,i){return scrapeMotionValuesFromProps2(e,n,i)}build(e,n,i){buildSVGAttrs(e,n,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(e,n,i,a){renderSVG(e,n,i,a)}mount(e){this.isSVGTag=isSVGTag(e.tagName),super.mount(e)}},Sn=an.length;function getVariantContext(e){if(!e)return;if(!e.isControllingVariants){let n=e.parent&&getVariantContext(e.parent)||{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}let n={};for(let i=0;i<Sn;i++){let a=an[i],o=e.props[a];(isVariantLabel(o)||o===!1)&&(n[a]=o)}return n}function shallowCompare(e,n){if(!Array.isArray(n))return!1;let i=n.length;if(i!==e.length)return!1;for(let a=0;a<i;a++)if(n[a]!==e[a])return!1;return!0}var Cn=[...rn].reverse(),wn=rn.length;function createAnimateFunction(e){return n=>Promise.all(n.map(({animation:n,options:i})=>animateVisualElement(e,n,i)))}function createAnimationState(e){let n=createAnimateFunction(e),i=createState(),a=!0,o=!1,buildResolvedTypeValues=n=>(i,a)=>{let o=resolveVariant(e,a,n===`exit`?e.presenceContext?.custom:void 0);if(o){let{transition:e,transitionEnd:n,...a}=o;i={...i,...a,...n}}return i};function setAnimateFunction(i){n=i(e)}function animateChanges(s){let{props:c}=e,l=getVariantContext(e.parent)||{},d=[],f=new Set,m={},_=1/0;for(let n=0;n<wn;n++){let v=Cn[n],y=i[v],x=c[v]===void 0?l[v]:c[v],S=isVariantLabel(x),T=v===s?y.isActive:null;T===!1&&(_=n);let E=x===l[v]&&x!==c[v]&&S;if(E&&(a||o)&&e.manuallyAnimateOnMount&&(E=!1),y.protectedKeys={...m},!y.isActive&&T===null||!x&&!y.prevProp||isAnimationControls(x)||typeof x==`boolean`)continue;if(v===`exit`&&y.isActive&&T!==!0){y.prevResolvedValues&&(m={...m,...y.prevResolvedValues});continue}let O=checkVariantsDidChange(y.prevProp,x),k=O||v===s&&y.isActive&&!E&&S||n>_&&S,j=!1,P=Array.isArray(x)?x:[x],F=P.reduce(buildResolvedTypeValues(v),{});T===!1&&(F={});let{prevResolvedValues:L={}}=y,R={...L,...F},markToAnimate=n=>{k=!0,f.has(n)&&(j=!0,f.delete(n)),y.needsAnimating[n]=!0;let i=e.getValue(n);i&&(i.liveStyle=!1)};for(let e in R){let n=F[e],i=L[e];if(m.hasOwnProperty(e))continue;let a=!1;a=isKeyframesTarget(n)&&isKeyframesTarget(i)?!shallowCompare(n,i)||O:n!==i,a?n==null?f.add(e):markToAnimate(e):n!==void 0&&f.has(e)?markToAnimate(e):y.protectedKeys[e]=!0}y.prevProp=x,y.prevResolvedValues=F,y.isActive&&(m={...m,...F}),(a||o)&&e.blockInitialAnimation&&(k=!1);let ee=E&&O;k&&(!ee||j)&&d.push(...P.map(n=>{let i={type:v};if(typeof n==`string`&&(a||o)&&!ee&&e.manuallyAnimateOnMount&&e.parent){let{parent:a}=e,o=resolveVariant(a,n);if(a.enteringChildren&&o){let{delayChildren:n}=o.transition||{};i.delay=calcChildStagger(a.enteringChildren,e,n)}}return{animation:n,options:i}}))}
1if(f.size){let n={};if(typeof c.initial!=`boolean`){let i=resolveVariant(e,Array.isArray(c.initial)?c.initial[0]:c.initial);i&&i.transition&&(n.transition=i.transition)}f.forEach(i=>{let a=e.getBaseTarget(i),o=e.getValue(i);o&&(o.liveStyle=!0),n[i]=a??null}),d.push({animation:n})}let v=!!d.length;return a&&(c.initial===!1||c.initial===c.animate)&&!e.manuallyAnimateOnMount&&(v=!1),a=!1,o=!1,v?n(d):Promise.resolve()}function setActive(n,a){if(i[n].isActive===a)return Promise.resolve();e.variantChildren?.forEach(e=>e.animationState?.setActive(n,a)),i[n].isActive=a;let o=animateChanges(n);for(let e in i)i[e].protectedKeys={};return o}return{animateChanges,setActive,setAnimateFunction,getState:()=>i,reset:()=>{i=createState(),o=!0}}}function checkVariantsDidChange(e,n){return typeof n==`string`?n!==e:Array.isArray(n)?!shallowCompare(n,e):!1}function createTypeState(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function createState(){return{animate:createTypeState(!0),whileInView:createTypeState(),whileHover:createTypeState(),whileTap:createTypeState(),whileDrag:createTypeState(),whileFocus:createTypeState(),exit:createTypeState()}}function copyAxisInto(e,n){e.min=n.min,e.max=n.max}function copyBoxInto(e,n){copyAxisInto(e.x,n.x),copyAxisInto(e.y,n.y)}function copyAxisDeltaInto(e,n){e.translate=n.translate,e.scale=n.scale,e.originPoint=n.originPoint,e.origin=n.origin}var Tn=1e-4,En=1-Tn,Dn=1+Tn,On=.01,kn=0-On,An=0+On;function calcLength(e){return e.max-e.min}function isNear(e,n,i){return Math.abs(e-n)<=i}function calcAxisDelta(e,n,i,a=.5){e.origin=a,e.originPoint=mixNumber(n.min,n.max,e.origin),e.scale=calcLength(i)/calcLength(n),e.translate=mixNumber(i.min,i.max,e.origin)-e.originPoint,(e.scale>=En&&e.scale<=Dn||isNaN(e.scale))&&(e.scale=1),(e.translate>=kn&&e.translate<=An||isNaN(e.translate))&&(e.translate=0)}function calcBoxDelta(e,n,i,a){calcAxisDelta(e.x,n.x,i.x,a?a.originX:void 0),calcAxisDelta(e.y,n.y,i.y,a?a.originY:void 0)}function calcRelativeAxis(e,n,i,a=0){e.min=(a?mixNumber(i.min,i.max,a):i.min)+n.min,e.max=e.min+calcLength(n)}function calcRelativeBox(e,n,i,a){calcRelativeAxis(e.x,n.x,i.x,a?.x),calcRelativeAxis(e.y,n.y,i.y,a?.y)}function calcRelativeAxisPosition(e,n,i,a=0){let o=a?mixNumber(i.min,i.max,a):i.min;e.min=n.min-o,e.max=e.min+calcLength(n)}function calcRelativePosition(e,n,i,a){calcRelativeAxisPosition(e.x,n.x,i.x,a?.x),calcRelativeAxisPosition(e.y,n.y,i.y,a?.y)}function removePointDelta(e,n,i,a,o){return e-=n,e=scalePoint(e,1/i,a),o!==void 0&&(e=scalePoint(e,1/o,a)),e}function removeAxisDelta(e,n=0,i=1,a=.5,o,s=e,c=e){if(De.test(n)&&(n=parseFloat(n),n=mixNumber(c.min,c.max,n/100)-c.min),typeof n!=`number`)return;let l=mixNumber(s.min,s.max,a);e===s&&(l-=n),e.min=removePointDelta(e.min,n,i,l,o),e.max=removePointDelta(e.max,n,i,l,o)}function removeAxisTransforms(e,n,[i,a,o],s,c){removeAxisDelta(e,n[i],n[a],n[o],n.scale,s,c)}var jn=[`x`,`scaleX`,`originX`],Mn=[`y`,`scaleY`,`originY`];function removeBoxTransforms(e,n,i,a){removeAxisTransforms(e.x,n,jn,i?i.x:void 0,a?a.x:void 0),removeAxisTransforms(e.y,n,Mn,i?i.y:void 0,a?a.y:void 0)}function isAxisDeltaZero(e){return e.translate===0&&e.scale===1}function isDeltaZero(e){return isAxisDeltaZero(e.x)&&isAxisDeltaZero(e.y)}function axisEquals(e,n){return e.min===n.min&&e.max===n.max}function boxEquals(e,n){return axisEquals(e.x,n.x)&&axisEquals(e.y,n.y)}function axisEqualsRounded(e,n){return Math.round(e.min)===Math.round(n.min)&&Math.round(e.max)===Math.round(n.max)}function boxEqualsRounded(e,n){return axisEqualsRounded(e.x,n.x)&&axisEqualsRounded(e.y,n.y)}function aspectRatio(e){return calcLength(e.x)/calcLength(e.y)}function axisDeltaEquals(e,n){return e.translate===n.translate&&e.scale===n.scale&&e.originPoint===n.originPoint}function eachAxis(e){return[e(`x`),e(`y`)]}function buildProjectionTransform(e,n,i){let a=``,o=e.x.translate/n.x,s=e.y.translate/n.y,c=i?.z||0;if((o||s||c)&&(a=`translate3d(${o}px, ${s}px, ${c}px) `),(n.x!==1||n.y!==1)&&(a+=`scale(${1/n.x}, ${1/n.y}) `),i){let{transformPerspective:e,rotate:n,pathRotation:o,rotateX:s,rotateY:c,skewX:l,skewY:d}=i;e&&(a=`perspective(${e}px) ${a}`),n&&(a+=`rotate(${n}deg) `),o&&(a+=`rotate(${o}deg) `),s&&(a+=`rotateX(${s}deg) `),c&&(a+=`rotateY(${c}deg) `),l&&(a+=`skewX(${l}deg) `),d&&(a+=`skewY(${d}
1deg) `)}let l=e.x.scale*n.x,d=e.y.scale*n.y;return(l!==1||d!==1)&&(a+=`scale(${l}, ${d})`),a||`none`}var Nn=Vt.length,asNumber2=e=>typeof e==`string`?parseFloat(e):e,isPx=e=>typeof e==`number`||G.test(e);function mixValues(e,n,i,a,o,s){o?(e.opacity=mixNumber(0,i.opacity??1,Pn(a)),e.opacityExit=mixNumber(n.opacity??1,0,Fn(a))):s&&(e.opacity=mixNumber(n.opacity??1,i.opacity??1,a));for(let o=0;o<Nn;o++){let s=Vt[o],c=getRadius(n,s),l=getRadius(i,s);(c!==void 0||l!==void 0)&&(c||=0,l||=0,c===0||l===0||isPx(c)===isPx(l)?(e[s]=Math.max(mixNumber(asNumber2(c),asNumber2(l),a),0),(De.test(l)||De.test(c))&&(e[s]+=`%`)):e[s]=l)}(n.rotate||i.rotate)&&(e.rotate=mixNumber(n.rotate||0,i.rotate||0,a))}function getRadius(e,n){return e[n]===void 0?e.borderRadius:e[n]}var Pn=compress(0,.5,ie),Fn=compress(.5,.95,noop);function compress(e,n,i){return a=>a<e?0:a>n?1:i(progress(e,n,a))}function animateSingleValue(e,n,i){let a=isMotionValue(e)?e:motionValue(e);return a.start(animateMotionValue(``,a,n,i)),a.animation}function addDomEvent(e,n,i,a={passive:!0}){return e.addEventListener(n,i,a),()=>e.removeEventListener(n,i,a)}var compareByDepth=(e,n)=>e.depth-n.depth,FlatTree=class{constructor(){this.children=[],this.isDirty=!1}add(e){addUniqueItem(this.children,e),this.isDirty=!0}remove(e){removeItem(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(compareByDepth),this.isDirty=!1,this.children.forEach(e)}};function delay(e,n){let i=ge.now(),checkElapsed=({timestamp:a})=>{let o=a-i;o>=n&&(fe(checkElapsed),e(o-n))};return H.setup(checkElapsed,!0),()=>fe(checkElapsed)}function resolveMotionValue(e){return isMotionValue(e)?e.get():e}var NodeStack=class{constructor(){this.members=[]}add(e){addUniqueItem(this.members,e);for(let n=this.members.length-1;n>=0;n--){let i=this.members[n];if(i===e||i===this.lead||i===this.prevLead)continue;let a=i.instance;(!a||a.isConnected===!1)&&!i.snapshot&&(removeItem(this.members,i),i.unmount())}e.scheduleRender()}remove(e){if(removeItem(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){for(let n=this.members.indexOf(e)-1;n>=0;n--){let e=this.members[n];if(e.isPresent!==!1&&e.instance?.isConnected!==!1)return this.promote(e),!0}return!1}promote(e,n){let i=this.lead;if(e!==i&&(this.prevLead=i,this.lead=e,e.show(),i)){i.updateSnapshot(),e.scheduleRender();let{layoutDependency:a}=i.options,{layoutDependency:o}=e.options;(a===void 0||a!==o)&&(e.resumeFrom=i,n&&(i.preserveOpacity=!0),i.snapshot&&(e.snapshot=i.snapshot,e.snapshot.latestValues=i.animationValues||i.latestValues),e.root?.isUpdating&&(e.isLayoutDirty=!0)),e.options.crossfade===!1&&i.hide()}}exitAnimationComplete(){this.members.forEach(e=>{e.options.onExitComplete?.(),e.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(e=>e.instance&&e.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}},In={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Ln={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},Rn=[``,`X`,`Y`,`Z`],zn=1e3,Bn=0;function resetDistortingTransform(e,n,i,a){let{latestValues:o}=n;o[e]&&(i[e]=o[e],n.setStaticValue(e,0),a&&(a[e]=0))}function cancelTreeOptimisedTransformAnimations(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:n}=e.options;if(!n)return;let i=getOptimisedAppearId(n);if(k.MotionHasOptimisedAnimation(i,`transform`)){let{layout:n,layoutId:a}=e.options;k.MotionCancelOptimisedAnimation(i,`transform`,H,!(n||a))}let{parent:a}=e;a&&!a.hasCheckedOptimisedAppear&&cancelTreeOptimisedTransformAnimations(a)}function createProjectionNode({attachResizeListener:e,defaultParent:n,measureScroll:i,checkIsScrollRoot:a,resetTransform:o}){return class ProjectionNode{constructor(e={},i=n?.()){this.id=Bn++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,en.value&&(Ln.nodes=Ln.calculatedTargetDeltas=Ln.calculatedProjections=0),this.nodes.forEac
1h(propagateDirtyNodes),this.nodes.forEach(resolveTargetDelta),this.nodes.forEach(calcProjection),this.nodes.forEach(cleanDirtyNodes),en.addProjectionMetrics&&en.addProjectionMetrics(Ln)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new FlatTree)}addEventListener(e,n){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new SubscriptionManager),this.eventHandlers.get(e).add(n)}notifyListeners(e,...n){let i=this.eventHandlers.get(e);i&&i.notify(...n)}hasListeners(e){return this.eventHandlers.has(e)}mount(n){if(this.instance)return;this.isSVG=isSVGElement(n)&&!isSVGSVGElement(n),this.instance=n;let{layoutId:i,layout:a,visualElement:o}=this.options;if(o&&!o.current&&o.mount(n),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(a||i)&&(this.isLayoutDirty=!0),e){let i,a=0,resizeUnblockUpdate=()=>this.root.updateBlockedByResize=!1;H.read(()=>{a=k.innerWidth}),e(n,()=>{let e=k.innerWidth;e!==a&&(a=e,this.root.updateBlockedByResize=!0,i&&i(),i=delay(resizeUnblockUpdate,250),In.hasAnimatedSinceResize&&(In.hasAnimatedSinceResize=!1,this.nodes.forEach(finishAnimation)))})}i&&this.root.registerSharedNode(i,this),this.options.animate!==!1&&o&&(i||a)&&this.addEventListener(`didUpdate`,({delta:e,hasLayoutChanged:n,hasRelativeLayoutChanged:i,layout:a})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let s=this.options.transition||o.getDefaultTransition()||Vn,{onLayoutAnimationStart:c,onLayoutAnimationComplete:l}=o.getProps(),d=!this.targetLayout||!boxEqualsRounded(this.targetLayout,a),f=!n&&i;if(this.options.layoutRoot||this.resumeFrom||f||n&&(d||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let n={...getValueTransition(s,`layout`),onPlay:c,onComplete:l};(o.shouldReduceMotion||this.options.layoutRoot)&&(n.delay=0,n.type=!1),this.startAnimation(n),this.setAnimationOrigin(e,f,n.path)}else n||finishAnimation(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=a})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),fe(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(resetSkewAndRotation),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(k.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&cancelTreeOptimisedTransformAnimations(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let n=this.path[e];n.shouldResetTransform=!0,(typeof n.latestValues.x==`string`||typeof n.latestValues.y==`string`)&&(n.isLayoutDirty=!0),n.updateScroll(`snapshot`),n.options.layoutRoot&&n.willUpdate(!1)}let{layoutId:n,layout:i}=this.options;if(n===void 0&&!i)return;let a=this.getTransformTemplate();this.prevTransformTemplateValue=a?a(this.latestValues,``):void 0,this.updateSnapshot(),e&&this.notifyListeners(`willUpdate`)}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){let e=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),e&&this.nodes.forEac
1h(forceLayoutMeasure),this.nodes.forEach(clearMeasurements);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(clearIsLayoutDirty);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(ensureDraggedNodesSnapshotted),this.nodes.forEach(resetTransformStyle),this.nodes.forEach(updateLayout),this.nodes.forEach(notifyLayoutUpdate)):this.nodes.forEach(clearIsLayoutDirty),this.clearAllSnapshots();let e=ge.now();pe.delta=clamp(0,1e3/60,e-pe.timestamp),pe.timestamp=e,pe.isProcessing=!0,me.update.process(pe),me.preRender.process(pe),me.render.process(pe),pe.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Ht.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(clearSnapshot),this.sharedNodes.forEach(removeLeadSnapshots)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,H.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){H.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!calcLength(this.snapshot.measuredBox.x)&&!calcLength(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++)this.path[e].updateScroll();let e=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||=createBox(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners(`measure`,this.layout.layoutBox);let{visualElement:n}=this.options;n&&n.notify(`LayoutMeasure`,this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e=`measure`){let n=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(n=!1),n&&this.instance){let n=a(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:n,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:n}}}resetTransform(){if(!o)return;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,n=this.projectionDelta&&!isDeltaZero(this.projectionDelta),i=this.getTransformTemplate(),a=i?i(this.latestValues,``):void 0,s=a!==this.prevTransformTemplateValue;e&&this.instance&&(n||hasTransform(this.latestValues)||s)&&(o(this.instance,a),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){let n=this.measurePageBox(),i=this.removeElementScroll(n);return e&&(i=this.removeTransform(i)),roundBox(i),{animationId:this.root.animationId,measuredBox:n,layoutBox:i,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return createBox();let n=e.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(checkNodeWasScrollRoot))){let{scroll:e}=this.root;e&&(translateAxis(n.x,e.offset.x),translateAxis(n.y,e.offset.y))}return n}removeElementScroll(e){let n=createBox();if(copyBoxInto(n,e),this.scroll?.wasRoot)return n;for(let i=0;i<this.path.length;i++){let a=this.path[i],{scroll:o,options:s}=a;a!==this.root&&o&&s.layoutScroll&&(o.wasRoot&©BoxInto(n,e),translateAxis(n.x,o.offset.x),translateAxis(n.y,o.offset.y))}return n}applyTransform(e,n=!1,i){let a=i||createBox();copyBoxInto(a,e);for(let e=0;e<this.path.length;e++){let i=this.path[e];!n&&i.options.layoutScroll&&i.scroll&&i!==i.root&&(translateAxis(a.x,-i.scroll.offset.x),translateAxis(a.y,-i.scroll.offset.y)),hasTransform(i.latestValues)&&transformBox(a,i.latestValues,i.layout?.layoutBox)}return hasTransform(this.latestValues)&&transformBox(a,this.latestValues,this.layout?.layoutBox),a}removeTransform(e){let n=createBox();copyBoxInto(n,e);for(let e=0;e<this.path.length;e++){let i=this.path[e];if(!hasTransform(i.latestValues))continue;let a;i.instance&&(hasScale(i.latestValues)&&i.updateSnapshot(),a=createBox(),copyBoxInto(a,i.measurePageBox())),removeBoxTransforms(n,i.latestValues,i.snapshot?.layoutBox,a)}return hasTransform(this.latestValues)&&removeBoxTransforms(n,this.latestValues),n}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:e.crossfade===void 0||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==pe.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){let n=this.getLead();this.isProjectionDirty||=n.isProjectionDirty,this.isTransformDirty||=n.isTransformDirty,this.isSharedProjectionDirty||=n.isSharedProjectionDirty;let i=!!this.resumingFrom||this!==n;if(!(e||i&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:a,layoutId:o}=this.options;if(!this.layout||!(a||o))return;this.resolvedRelativeTargetAt=pe.timestamp;let s=this.getClosestProjectingParent();s&&this.linkedParentVersion!==s.layoutVersion&&!s.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&s&&s.layout?this.createRelativeTarget(s,this.layout.layoutBox,s.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=createBox(),this.targetWithTransforms=createBox()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),calcRelativeBox(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):copyBoxInto(this.target,this.layout.layoutBox),applyBoxDelta(this.target,this.targetDelta)):copyBoxInto(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&s&&!!s.resumingFrom==!!this.resumingFrom&&!s.options.layoutScroll&&s.target&&this.animationProgress!==1?this.createRelativeTarget(s,this.target,s.target):this.relativeParent=this.relativeTarget=void 0),en.value&&Ln.calculatedTargetDeltas++)}getClosestProjectingParent(){if(!(!this.parent||hasScale(this.parent.latestValues)||has2DTranslate(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(e,n,i){this.relativeParent=e,this.linkedParentVersion=e.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=createBox(),this.relativeTargetOrigin=createBox(),calcRelativePosition(this.relativeTargetOrigin,n,i,this.options.layoutAnchor||void 0),copyBoxInto(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let e=this.getLead(),n=!!this.resumingFrom||this!==e,i=!0;
1if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(i=!1),n&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===pe.timestamp&&(i=!1),i)return;let{layout:a,layoutId:o}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(a||o))return;copyBoxInto(this.layoutCorrected,this.layout.layoutBox);let s=this.treeScale.x,c=this.treeScale.y;applyTreeDeltas(this.layoutCorrected,this.treeScale,this.path,n),e.layout&&!e.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=createBox());let{target:l}=e;if(!l){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(copyAxisDeltaInto(this.prevProjectionDelta.x,this.projectionDelta.x),copyAxisDeltaInto(this.prevProjectionDelta.y,this.projectionDelta.y)),calcBoxDelta(this.projectionDelta,this.layoutCorrected,l,this.latestValues),(this.treeScale.x!==s||this.treeScale.y!==c||!axisDeltaEquals(this.projectionDelta.x,this.prevProjectionDelta.x)||!axisDeltaEquals(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners(`projectionUpdate`,l)),en.value&&Ln.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.visualElement?.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=createDelta(),this.projectionDelta=createDelta(),this.projectionDeltaWithTransform=createDelta()}setAnimationOrigin(e,n=!1,i){let a=this.snapshot,o=a?a.latestValues:{},s={...this.latestValues},c=createDelta();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!n;let l=createBox(),d=(a?a.source:void 0)!==(this.layout?this.layout.source:void 0),f=this.getStack(),m=!f||f.members.length<=1,_=!!(d&&!m&&this.options.crossfade===!0&&!this.path.some(hasOpacityCrossfade));this.animationProgress=0;let v,y=i?.interpolateProjection(e);this.mixTargetDelta=n=>{let i=n/1e3,a=y?.(i);a?(c.x.translate=a.x,c.x.scale=mixNumber(e.x.scale,1,i),c.x.origin=e.x.origin,c.x.originPoint=e.x.originPoint,c.y.translate=a.y,c.y.scale=mixNumber(e.y.scale,1,i),c.y.origin=e.y.origin,c.y.originPoint=e.y.originPoint):(mixAxisDeltaLinear(c.x,e.x,i),mixAxisDeltaLinear(c.y,e.y,i)),this.setTargetDelta(c),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(calcRelativePosition(l,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),mixBox(this.relativeTarget,this.relativeTargetOrigin,l,i),v&&boxEquals(this.relativeTarget,v)&&(this.isProjectionDirty=!1),v||=createBox(),copyBoxInto(v,this.relativeTarget)),d&&(this.animationValues=s,mixValues(s,o,this.latestValues,i,_,m)),a&&a.rotate!==void 0&&(this.animationValues||=s,this.animationValues.pathRotation=a.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=i},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners(`animationStart`),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&=(fe(this.pendingAnimation),void 0),this.pendingAnimation=H.update(()=>{In.hasAnimatedSinceResize=!0,this.motionValue||=motionValue(0),this.motionValue.jump(0,!1),this.currentAnimation=animateSingleValue(this.motionValue,[0,1e3],{...e,velocity:0,isSync:!0,onUpdate:n=>{this.mixTargetDelta(n),e.onUpdate&&e.onUpdate(n)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners(`animationComplete`)}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(zn),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:n,target:i,layout:a,latestValues:o}=e;if(!(!n||!i||!a)){if(this!==e&&this.layout&&a&&shouldAnimatePositionOnly(this.options.animationType,this.layout.layoutBox,a.layoutBox)){i=this.target||createBox();let n=calcLength(this.layout.layoutBox.x);i.x.min=e.target.x.min,i.x.max=i.x.min+n;let a=calcLength(this.layout.layoutBox.y);i.y.min=e.target.y.min,i.y.max=i.y.min+a}copyBoxInto(n,i),transformBox(n,o),calcBoxDelta(this.projectionDeltaWithTransform,this.layoutCorrected,n,o)}}registerSharedNode(e,n){this.sharedNodes.has(e)||this.sharedNodes.set(e,new NodeStack),this.sharedNodes.get(e).add(n);let i=n.options.initialPromotionConfig;n.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(n):void 0})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){let{layoutId:e}=this.options;
1return e&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:e}=this.options;return e?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:n,preserveFollowOpacity:i}={}){let a=this.getStack();a&&a.promote(this,i),e&&(this.projectionDelta=void 0,this.needsReset=!0),n&&this.setOptions({transition:n})}relegate(){let e=this.getStack();return e?e.relegate(this):!1}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let n=!1,{latestValues:i}=e;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(n=!0),!n)return;let a={};i.z&&resetDistortingTransform(`z`,e,a,this.animationValues);for(let n=0;n<Rn.length;n++)resetDistortingTransform(`rotate${Rn[n]}`,e,a,this.animationValues),resetDistortingTransform(`skew${Rn[n]}`,e,a,this.animationValues);e.render();for(let n in a)e.setStaticValue(n,a[n]),this.animationValues&&(this.animationValues[n]=a[n]);e.scheduleRender()}applyProjectionStyles(e,n){if(!this.instance||this.isSVG)return;if(!this.isVisible){e.visibility=`hidden`;return}let i=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,e.visibility=``,e.opacity=``,e.pointerEvents=resolveMotionValue(n?.pointerEvents)||``,e.transform=i?i(this.latestValues,``):`none`;return}let a=this.getLead();if(!this.projectionDelta||!this.layout||!a.target){this.options.layoutId&&(e.opacity=this.latestValues.opacity===void 0?1:this.latestValues.opacity,e.pointerEvents=resolveMotionValue(n?.pointerEvents)||``),this.hasProjected&&!hasTransform(this.latestValues)&&(e.transform=i?i({},``):`none`,this.hasProjected=!1);return}e.visibility=``;let o=a.animationValues||a.latestValues;this.applyTransformsToTarget();let s=buildProjectionTransform(this.projectionDeltaWithTransform,this.treeScale,o);i&&(s=i(o,s)),e.transform=s;let{x:c,y:l}=this.projectionDelta;e.transformOrigin=`${c.origin*100}% ${l.origin*100}% 0`,e.opacity=a.animationValues?a===this?o.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:o.opacityExit:a===this?o.opacity===void 0?``:o.opacity:o.opacityExit===void 0?0:o.opacityExit;for(let n in _n){if(o[n]===void 0)continue;let{correct:i,applyTo:c,isCSSVariable:l}=_n[n],d=s===`none`?o[n]:i(o[n],a);if(c){let n=c.length;for(let i=0;i<n;i++)e[c[i]]=d}else l?this.options.visualElement.renderState.vars[n]=d:e[n]=d}this.options.layoutId&&(e.pointerEvents=a===this?resolveMotionValue(n?.pointerEvents)||``:`none`)}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach(clearMeasurements),this.root.sharedNodes.clear()}}}function updateLayout(e){e.updateLayout()}function notifyLayoutUpdate(e){let n=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners(`didUpdate`)){let{layoutBox:i,measuredBox:a}=e.layout,{animationType:o}=e.options,s=n.source!==e.layout.source;if(o===`size`)eachAxis(e=>{let a=s?n.measuredBox[e]:n.layoutBox[e],o=calcLength(a);a.min=i[e].min,a.max=a.min+o});else if(o===`x`||o===`y`){let e=o===`x`?`y`:`x`;copyAxisInto(s?n.measuredBox[e]:n.layoutBox[e],i[e])}else shouldAnimatePositionOnly(o,n.layoutBox,i)&&eachAxis(a=>{let o=s?n.measuredBox[a]:n.layoutBox[a],c=calcLength(i[a]);o.max=o.min+c,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[a].max=e.relativeTarget[a].min+c)});let c=createDelta();calcBoxDelta(c,i,n.layoutBox);let l=createDelta();s?calcBoxDelta(l,e.applyTransform(a,!0),n.measuredBox):calcBoxDelta(l,i,n.layoutBox);let d=!isDeltaZero(c),f=!1;if(!e.resumeFrom){let a=e.getClosestProjectingParent();if(a&&!a.resumeFrom){let{snapshot:o,layout:s}=a;if(o&&s){let c=e.options.layoutAnchor||void 0,l=createBox();calcRelativePosition(l,n.layoutBox,o.layoutBox,c);let d=createBox();calcRelativePosition(d,i,s.layoutBox,c),boxEqualsRounded(l,d)||(f=!0),a.options.layoutRoot&&(e.relativeTarget=d,e.relativeTargetOrigin=l,e.relativeParent=a)}}}e.notifyListeners(`didUpdate`,{layout:i,snapshot:n,delta:l,layoutDelta:c,hasLayoutChanged:d,hasRelativeLayoutChanged:f})}else if(e.isLead()){let{onExitComplete:n}=e.options;n&&n()}e.options.transition=void 0}function propagateDirtyNodes(e){en.value&&Ln.nodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty),e.isTransformDirty||=e.parent.isTransformDirty)}function cleanDirtyNodes(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function clearSnapshot(e){e.clearSnapshot()}function clearMeasurements(e){e.clearMeasurements()}function forceLayoutMeasure(e){e.isLayoutDirty=!0,e.updateLayout()}function clearIsLayoutDirty(e){e.isLayoutDirty=!1}
1function ensureDraggedNodesSnapshotted(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function resetTransformStyle(e){let{visualElement:n}=e.options;n&&n.getProps().onBeforeLayoutMeasure&&n.notify(`BeforeLayoutMeasure`),e.resetTransform()}function finishAnimation(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function resolveTargetDelta(e){e.resolveTargetDelta()}function calcProjection(e){e.calcProjection()}function resetSkewAndRotation(e){e.resetSkewAndRotation()}function removeLeadSnapshots(e){e.removeLeadSnapshot()}function mixAxisDeltaLinear(e,n,i){e.translate=mixNumber(n.translate,0,i),e.scale=mixNumber(n.scale,1,i),e.origin=n.origin,e.originPoint=n.originPoint}function mixAxis(e,n,i,a){e.min=mixNumber(n.min,i.min,a),e.max=mixNumber(n.max,i.max,a)}function mixBox(e,n,i,a){mixAxis(e.x,n.x,i.x,a),mixAxis(e.y,n.y,i.y,a)}function hasOpacityCrossfade(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var Vn={duration:.45,ease:[.4,0,.1,1]},userAgentContains=e=>j!==void 0&&j.userAgent&&j.userAgent.toLowerCase().includes(e),Hn=userAgentContains(`applewebkit/`)&&!userAgentContains(`chrome/`)?Math.round:noop;function roundAxis(e){e.min=Hn(e.min),e.max=Hn(e.max)}function roundBox(e){roundAxis(e.x),roundAxis(e.y)}function shouldAnimatePositionOnly(e,n,i){return e===`position`||e===`preserve-aspect`&&!isNear(aspectRatio(n),aspectRatio(i),.2)}function checkNodeWasScrollRoot(e){return e!==e.root&&e.scroll?.wasRoot}var Un=createProjectionNode({attachResizeListener:(e,n)=>addDomEvent(e,`resize`,n),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),notify=e=>!e.isLayoutDirty&&e.willUpdate(!1);function nodeGroup(){let e=new Set,n=new WeakMap,dirtyAll=()=>e.forEach(notify);return{add:i=>{e.add(i),n.set(i,i.addEventListener(`willUpdate`,dirtyAll))},remove:i=>{e.delete(i);let a=n.get(i);a&&(a(),n.delete(i)),dirtyAll()},dirty:dirtyAll}}var Wn={current:void 0},Gn=createProjectionNode({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Wn.current){let e=new Un({});e.mount(k),e.setOptions({layoutScroll:!0}),Wn.current=e}return Wn.current},resetTransform:(e,n)=>{e.style.transform=n===void 0?`none`:n},checkIsScrollRoot:e=>k.getComputedStyle(e).position===`fixed`});ue.reduce((e,n)=>(e[n]=e=>fe(e),e),{});var Kn=(0,f.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:`never`});function setRef(e,n){if(typeof e==`function`)return e(n);e!=null&&(e.current=n)}function composeRefs(...e){return n=>{let i=!1,a=e.map(e=>{let a=setRef(e,n);return!i&&typeof a==`function`&&(i=!0),a});if(i)return()=>{for(let n=0;n<a.length;n++){let i=a[n];typeof i==`function`?i():setRef(e[n],null)}}}}function useComposedRefs(...e){return f.useCallback(composeRefs(...e),e)}var PopChildMeasure=class extends f.Component{getSnapshotBeforeUpdate(e){let n=this.props.childRef.current;if(isHTMLElement(n)&&e.isPresent&&!this.props.isPresent&&this.props.pop!==!1){let e=n.offsetParent,i=isHTMLElement(e)&&e.offsetWidth||0,a=isHTMLElement(e)&&e.offsetHeight||0,o=getComputedStyle(n),s=this.props.sizeRef.current;s.height=parseFloat(o.height),s.width=parseFloat(o.width),s.top=n.offsetTop,s.left=n.offsetLeft,s.right=i-s.width-s.left,s.bottom=a-s.height-s.top,s.direction=o.direction}return null}componentDidUpdate(){}render(){return this.props.children}};function PopChild({children:e,isPresent:n,anchorX:i,anchorY:a,root:o,pop:s}){let c=(0,f.useId)(),d=(0,f.useRef)(null),m=(0,f.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:`ltr`}),{nonce:_}=(0,f.useContext)(Kn),v=useComposedRefs(d,e.props?.ref??e?.ref);return(0,f.useInsertionEffect)(()=>{let{width:e,height:l,top:f,left:v,right:y,bottom:x,direction:S}=m.current;if(n||s===!1||!d.current||!e||!l)return;let T=S===`rtl`,E=i===`left`?T?`right: ${y}`:`left: ${v}`:T?`left: ${v}`:`right: ${y}`,O=a===`bottom`?`bottom: ${x}`:`top: ${f}`;d.current.dataset.motionPopId=c;let k=document.createElement(`style`);_&&(k.nonce=_);let j=o??document.head;return j.appendChild(k),k.sheet&&k.sheet.insertRule(` 2 [data-motion-pop-id="${c}"] { 3 position: absolute !important; 4 width: ${e}px !important; 5 height: ${l}px !important; 6 ${E}px !important; 7 ${O}px !important; 8 } 9 `),()=>{d.current?.removeAttribute(`data-motion-pop-id`),j.contains(k)&&j.removeChild(k)}},[n]),(0,l.jsx)(PopChildMeasure,{suppressHydrationWarning:!0,isPresent:n,childRef:d,sizeRef:m,pop:s,children:s===!1?e:f.cloneElement(e,{ref:v})})}function useConstant(e){let n=(0,f.useRef)(null);return n.current===null&&(n.current=e()),n.current}var PresenceChild=({children:e,initial:n,isPresent:i,onExitComplete:a,custom:o,presenceAffectsLayout:s,mode:c,anch
9orX:d,anchorY:m,root:_})=>{let v=useConstant(newChildrenMap),y=(0,f.useId)(),x=(0,f.useRef)(i),S=(0,f.useRef)(a);F(()=>{x.current=i,S.current=a});let T=!0,E=(0,f.useMemo)(()=>(T=!1,{id:y,initial:n,isPresent:i,custom:o,onExitComplete:e=>{v.set(e,!0);for(let e of v.values())if(!e)return;a&&a()},register:e=>(v.set(e,!1),()=>{v.delete(e),!x.current&&!v.size&&S.current?.()})}),[i,v,a]);return s&&T&&(E={...E}),(0,f.useMemo)(()=>{v.forEach((e,n)=>v.set(n,!1))},[i]),f.useEffect(()=>{!i&&!v.size&&a&&a()},[i]),e=(0,l.jsx)(PopChild,{suppressHydrationWarning:!0,pop:c===`popLayout`,isPresent:i,anchorX:d,anchorY:m,root:_,children:e}),(0,l.jsx)(L.Provider,{suppressHydrationWarning:!0,value:E,children:e})};function newChildrenMap(){return new Map}function usePresence(e=!0){let n=(0,f.useContext)(L);if(n===null)return[!0,null];let{isPresent:i,onExitComplete:a,register:o}=n,s=(0,f.useId)();(0,f.useEffect)(()=>{if(e)return o(s)},[e]);let c=(0,f.useCallback)(()=>e&&a&&a(s),[s,a,e]);return!i&&a?[!1,c]:[!0]}var getChildKey=e=>e.key||``;function onlyElements(e){let n=[];return f.Children.forEach(e,e=>{(0,f.isValidElement)(e)&&n.push(e)}),n}var AnimatePresence=({children:e,custom:n,initial:i=!0,onExitComplete:a,presenceAffectsLayout:o=!0,mode:s=`sync`,propagate:c=!1,anchorX:d=`left`,anchorY:m=`top`,root:_})=>{let[v,y]=usePresence(c),x=(0,f.useMemo)(()=>onlyElements(e),[e]),S=c&&!v?[]:x.map(getChildKey),T=(0,f.useRef)(!0),E=(0,f.useRef)(x),O=useConstant(()=>new Map),k=(0,f.useRef)(new Set),[j,L]=(0,f.useState)(x),[R,ee]=(0,f.useState)(x);F(()=>{T.current=!1,E.current=x;for(let e=0;e<R.length;e++){let n=getChildKey(R[e]);S.includes(n)?(O.delete(n),k.current.delete(n)):O.get(n)!==!0&&O.set(n,!1)}},[R,S.length,S.join(`-`)]);let V=[];if(x!==j){let e=[...x];for(let n=0;n<R.length;n++){let i=R[n],a=getChildKey(i);S.includes(a)||(e.splice(n,0,i),V.push(i))}return s===`wait`&&V.length&&(e=V),ee(onlyElements(e)),L(x),null}let{forceRender:te}=(0,f.useContext)(P);return(0,l.jsx)(l.Fragment,{children:R.map(e=>{let f=getChildKey(e),j=c&&!v?!1:x===R||S.includes(f),onExit=()=>{if(k.current.has(f))return;if(O.has(f))k.current.add(f),O.set(f,!0);else return;let e=!0;O.forEach(n=>{n||(e=!1)}),e&&(te?.(),ee(E.current),c&&y?.(),a&&a())};return(0,l.jsx)(PresenceChild,{suppressHydrationWarning:!0,isPresent:j,initial:!T.current||i?void 0:!1,custom:n,presenceAffectsLayout:o,mode:s,root:_,onExitComplete:j?void 0:onExit,anchorX:d,anchorY:m,children:e},f)})})},qn=(0,f.createContext)(null);function useIsMounted(){let e=(0,f.useRef)(!1);return F(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function useForceUpdate(){let e=useIsMounted(),[n,i]=(0,f.useState)(0),a=(0,f.useCallback)(()=>{e.current&&i(n+1)},[n]);return[(0,f.useCallback)(()=>H.postRender(a),[a]),n]}var shouldInheritGroup=e=>e===!0,shouldInheritId=e=>shouldInheritGroup(e===!0)||e===`id`,LayoutGroup=({children:e,id:n,inherit:i=!0})=>{let a=(0,f.useContext)(P),o=(0,f.useContext)(qn),[s,c]=useForceUpdate(),d=(0,f.useRef)(null),m=a.id||o;d.current===null&&(shouldInheritId(i)&&m&&(n=n?m+`-`+n:m),d.current={id:n,group:shouldInheritGroup(i)&&a.group||nodeGroup()});let _=(0,f.useMemo)(()=>({...d.current,forceRender:s}),[c]);return(0,l.jsx)(P.Provider,{suppressHydrationWarning:!0,value:_,children:e})},Jn=(0,f.createContext)({strict:!1}),Yn={animation:[`animate`,`variants`,`whileHover`,`whileTap`,`exit`,`whileInView`,`whileFocus`,`whileDrag`],exit:[`exit`],drag:[`drag`,`dragControls`],focus:[`whileFocus`],hover:[`whileHover`,`onHoverStart`,`onHoverEnd`],tap:[`whileTap`,`onTap`,`onTapStart`,`onTapCancel`],pan:[`onPan`,`onPanStart`,`onPanSessionStart`,`onPanEnd`],inView:[`whileInView`,`onViewportEnter`,`onViewportLeave`],layout:[`layout`,`layoutId`]},Xn=!1;function initFeatureDefinitions(){if(Xn)return;let e={};for(let n in Yn)e[n]={isEnabled:e=>Yn[n].some(n=>!!e[n])};setFeatureDefinitions(e),Xn=!0}function getInitializedFeatureDefinitions(){return initFeatureDefinitions(),getFeatureDefinitions()}function loadFeatures(e){let n=getInitializedFeatureDefinitions();for(let i in e)n[i]={...n[i],...e[i]};setFeatureDefinitions(n)}var Zn=new Set(`animate.exit.variants.initial.style.values.variants.transition.transformTemplate.custom.inherit.onBeforeLayoutMeasure.onAnimationStart.onAnimationComplete.onUpdate.onDragStart.onDrag.onDragEnd.onMeasureDragConstraints.onDirectionLock.onDragTransitionEnd._dragX._dragY.onHoverStart.onHoverEnd.onViewportEnter.onViewportLeave.globalTapTarget.propagate.ignoreStrict.viewport`.split(`.`));function isValidMotionProp(e){return e.startsWith(`while`)||e.startsWith(`drag`)&&e!==`draggable`||e.startsWith(`layout`)||e.startsWith(`onTap`)||e.startsWith(`onPan`)||e.startsWith(`onLayout`)||Zn.has(e)}var shouldForward=e=>!isValidMotionProp(e);function loadExternalIsValidProp(e){typeof e==`function`&&(shouldForward=n=>n.startsWith(`on`)?!isValidMotionProp(n):e(n))}try{loadExternalIsValidProp(E(`@emotion/is-prop-valid`).default)}catch{}function filterProps(e,n,i){let a={};for(let o in e)(o!==`values`||typeof e.values!=`object`)&&(isMotionValue(e[o])||(shouldForward(o)||i===!0&&isValidMotionProp(o)||!n&&!isValidMotionProp(o)||e.draggable&&o.startsWith(`onDrag`))&&(a[o]=e[o]));return a}var Qn=(0,f.createContext)({});function makeState({scrapeMotionValuesFromProps:e,createRenderState:n},i,a,o){return{latestValues:makeLatestValues(i,a,o,e),renderState:n()}}function makeLatestValues(e,n,i,a){let o={},s=a(e,{});for(let e in s)o[e]=resolveMotionValue(s[e]);let{initial:c,animate:l}=e,d=isControllingVariants(e),f=isVariantNode(e);n&&f&&!d&&e.inherit!==!1&&(c===void 0&&(c=n.initial),l===void 0&&(l=n.animate));let m=i?i.initial===!1:!1;m||=c===!1;let _=m?l:c;if(_&&typeof _!=`boolean`&&!isAnimationControls(_)){let n=Array.isArray(_)?_:[_];for(let i=0;i<n.length;i++){let a=resolveVariantFromProps(e,n[i]);if(a){let{transitionEnd:e,transition:n,...i}=a;for(let e in i){let n=i[e];if(Array.isArray(n)){let e=m?n.length-1:0;n=n[e]}n!==null&&(o[e]=n)}for(let n in e)o[n]=e[n]}}}return o}var makeUseVisualState=e=>(n,i)=>{let a=(0,f.useContext)(Qn),o=(0,f.useContext)(L),make=()=>makeState(e,n,a,o);return i?make():useConstant(make)},$n=(0,f.createContext)({});function getCurrentTreeVariants(e,n){if(isControllingVariants(e)){let{initial:n,animate:i}=e;return{initial:n===!1||isVariantLabel(n)?n:void 0,animate:isVariantLabel(i)?i:void 0}}return e.inherit===!1?{}:n}function useCreateMotionContext(e){let{initial:n,animate:i}=getCurrentTreeVariants(e,(0,f.useContext)(Qn));return(0,f.useMemo)(()=>({initial:n,animate:i}),[variantLabelsAsDependency(n),variantLabelsAsDependency(i)])}function variantLabelsAsDependency(e){return Array.isArray(e)?e.join(` `):e}var createHtmlRenderState=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function copyRawValuesOnly(e,n,i){for(let a in n)!isMotionValue(n[a])&&!isForcedMotionValue(a,i)&&(e[a]=n[a])}function useInitialMotionValues({transformTemplate:e},n){return(0,f.useMemo)(()=>{let i=createHtmlRenderState();return buildHTMLStyles(i,n,e),Object.assign({},i.vars,i.style)},[n])}function useStyle(e,n){let i=e.style||{},a={};return copyRawValuesOnly(a,i,e),Object.assign(a,useInitialMotionValues(e,n
9)),a}function useHTMLProps(e,n){let i={},a=useStyle(e,n);return e.drag&&e.dragListener!==!1&&(i.draggable=!1,a.userSelect=a.WebkitUserSelect=a.WebkitTouchCallout=`none`,a.touchAction=e.drag===!0?`none`:`pan-${e.drag===`x`?`y`:`x`}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(i.tabIndex=0),i.style=a,i}var createSvgRenderState=()=>({...createHtmlRenderState(),attrs:{}});function useSVGProps(e,n,i,a){let o=(0,f.useMemo)(()=>{let i=createSvgRenderState();return buildSVGAttrs(i,n,isSVGTag(a),e.transformTemplate,e.style),{...i.attrs,style:{...i.style}}},[n]);if(e.style){let n={};copyRawValuesOnly(n,e.style,e),o.style={...n,...o.style}}return o}var er=[`animate`,`circle`,`defs`,`desc`,`ellipse`,`g`,`image`,`line`,`filter`,`marker`,`mask`,`metadata`,`path`,`pattern`,`polygon`,`polyline`,`rect`,`stop`,`switch`,`symbol`,`svg`,`text`,`tspan`,`use`,`view`];function isSVGComponent(e){return typeof e!=`string`||e.includes(`-`)?!1:!!(er.indexOf(e)>-1||/[A-Z]/u.test(e))}function useRender(e,n,i,{latestValues:a},o,s=!1,c){let d=(c??isSVGComponent(e)?useSVGProps:useHTMLProps)(n,a,o,e),m=filterProps(n,typeof e==`string`,s),_=e===l.Fragment?{}:{...m,...d,ref:i},{children:v}=n,y=(0,f.useMemo)(()=>isMotionValue(v)?v.get():v,[v]);return(0,f.createElement)(e,{..._,children:y})}var tr=makeUseVisualState({scrapeMotionValuesFromProps,createRenderState:createHtmlRenderState}),nr=makeUseVisualState({scrapeMotionValuesFromProps:scrapeMotionValuesFromProps2,createRenderState:createSvgRenderState}),rr=Symbol.for(`motionComponentSymbol`);function useMotionRef(e,n,i){let a=(0,f.useRef)(i);(0,f.useInsertionEffect)(()=>{a.current=i});let o=(0,f.useRef)(null);return(0,f.useCallback)(i=>{i&&e.onMount?.(i),n&&(i?n.mount(i):n.unmount());let s=a.current;if(typeof s==`function`){if(i){let e=s(i);typeof e==`function`&&(o.current=e)}else o.current?(o.current(),o.current=null):s(i)}else s&&(s.current=i)},[n])}function isRefObject(e){return e&&typeof e==`object`&&Object.prototype.hasOwnProperty.call(e,`current`)}function useVisualElement(e,n,i,a,o,s){let{visualElement:c}=(0,f.useContext)(Qn),l=(0,f.useContext)(Jn),d=(0,f.useContext)(L),m=(0,f.useContext)(Kn),_=m.reducedMotion,v=m.skipAnimations,y=(0,f.useRef)(null),x=(0,f.useRef)(!1);a||=l.renderer,!y.current&&a&&(y.current=a(e,{visualState:n,parent:c,props:i,presenceContext:d,blockInitialAnimation:d?d.initial===!1:!1,reducedMotionConfig:_,skipAnimations:v,isSVG:s}),x.current&&y.current&&(y.current.manuallyAnimateOnMount=!0));let S=y.current,T=(0,f.useContext)($n);S&&!S.projection&&o&&(S.type===`html`||S.type===`svg`)&&createProjectionNode2(y.current,i,o,T);let E=(0,f.useRef)(!1);(0,f.useInsertionEffect)(()=>{S&&E.current&&S.update(i,d)});let O=i[kt],j=(0,f.useRef)(!!O&&k!==void 0&&!k.MotionHandoffIsComplete?.(O)&&k.MotionHasOptimisedAnimation?.(O));return F(()=>{x.current=!0,S&&(E.current=!0,k.MotionIsMounted=!0,S.updateFeatures(),S.scheduleRenderMicrotask(),j.current&&S.animationState&&S.animationState.animateChanges())}),(0,f.useEffect)(()=>{S&&(!j.current&&S.animationState&&S.animationState.animateChanges(),j.current&&=(queueMicrotask(()=>{k.MotionHandoffMarkAsComplete?.(O)}),!1),S.enteringChildren=void 0)}),S}function createProjectionNode2(e,n,i,a){let{layoutId:o,layout:s,drag:c,dragConstraints:l,layoutScroll:d,layoutRoot:f,layoutAnchor:m,layoutCrossfade:_}=n;e.projection=new i(e.latestValues,n[`data-framer-portal-id`]?void 0:getClosestProjectingNode(e.parent)),e.projection.setOptions({layoutId:o,layout:s,alwaysMeasureLayout:!!c||l&&isRefObject(l),visualElement:e,animationType:typeof s==`string`?s:`both`,initialPromotionConfig:a,crossfade:_,layoutScroll:d,layoutRoot:f,layoutAnchor:m})}function getClosestProjectingNode(e){if(e)return e.options.allowProjection===!1?getClosestProjectingNode(e.parent):e.projection}function createMotionComponent(e,{forwardMotionProps:n=!1,type:i}={},a,o){a&&loadFeatures(a);let s=i?i===`svg`:isSVGComponent(e),c=s?nr:tr;function MotionDOMComponent(i,d){let m,_={...(0,f.useContext)(Kn),...i,layoutId:useLayoutId(i)},{isStatic:v}=_,y=useCreateMotionContext(i),x=c(i,v);if(!v&&k!==void 0){useStrictMode(_,a);let n=getProjectionFunctionality(_);m=n.MeasureLayout,y.visualElement=useVisualElement(e,x,_,o,n.ProjectionNode,s)}return(0,l.jsxs)(Qn.Provider,{suppressHydrationWarning:!0,value:y,children:[m&&y.visualElement?(0,l.jsx)(m,{suppressHydrationWarning:!0,visualElement:y.visualElement,..._}):null,useRender(e,i,useMotionRef(x,y.visualElement,d),x,v,n,s)]})}MotionDOMComponent.displayName=`motion.${typeof e==`string`?e:`create(${e.displayName??e.name??``})`}`;let d=(0,f.forwardRef)(MotionDOMComponent);return d[rr]=e,d}function useLayoutId({layoutId:e}){let n=(0,f.useContext)(P).id;return n&&e!==void 0?n+`-`+e:e}function useStrictMode(e,n){(0,f.useContext)(Jn).strict}function getProjectionFunctionality(e){let{drag:n,layout:i}=getInitializedFeatureDefinitions();if(!n&&!i)return{};let a={...n,...i};return{MeasureLayout:n?.isEnabled(e)||i?.isEnabled(e)?a.MeasureLayout:void 0,ProjectionNode:a.ProjectionNode}}
9function createMotionProxy(e,n){if(typeof Proxy>`u`)return createMotionComponent;let i=new Map,factory=(i,a)=>createMotionComponent(i,a,e,n),deprecatedFactoryFunction=(e,n)=>factory(e,n);return new Proxy(deprecatedFactoryFunction,{get:(a,o)=>o===`create`?factory:(i.has(o)||i.set(o,createMotionComponent(o,void 0,e,n)),i.get(o))})}var AnimationFeature=class extends Feature{constructor(e){super(e),e.animationState||=createAnimationState(e)}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();isAnimationControls(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:n}=this.node.prevProps||{};e!==n&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}},ir=0,ExitAnimationFeature=class extends Feature{constructor(){super(...arguments),this.id=ir++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:n}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===i)return;if(e&&i===!1){if(this.isExitComplete){let{initial:e,custom:n}=this.node.getProps();if(typeof e==`string`||typeof e==`object`&&e&&!Array.isArray(e)){let i=resolveVariant(this.node,e,n);if(i){let{transition:e,transitionEnd:n,...a}=i;for(let e in a)this.node.getValue(e)?.jump(a[e])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive(`exit`,!1);this.isExitComplete=!1;return}let a=this.node.animationState.setActive(`exit`,!e);n&&!e&&a.then(()=>{this.isExitComplete=!0,n(this.id)})}mount(){let{register:e,onExitComplete:n}=this.node.presenceContext||{};n&&n(this.id),e&&(this.unmount=e(this.id))}unmount(){}},ar={animation:{Feature:AnimationFeature},exit:{Feature:ExitAnimationFeature}};function extractEventInfo(e){return{point:{x:e.pageX,y:e.pageY}}}var addPointerInfo=e=>n=>isPrimaryPointer(n)&&e(n,extractEventInfo(n));function addPointerEvent(e,n,i,a){return addDomEvent(e,n,addPointerInfo(i),a)}var distance=(e,n)=>Math.abs(e-n);function distance2D(e,n){let i=distance(e.x,n.x),a=distance(e.y,n.y);return Math.sqrt(i**2+a**2)}var createDomVisualElement=(e,n)=>n.isSVG??isSVGComponent(e)?new SVGVisualElement(n):new HTMLVisualElement(n,{allowProjection:e!==l.Fragment}),getContextWindow=({current:e})=>e?e.ownerDocument.defaultView:null,or=new Set([`auto`,`scroll`]),PanSession=class{constructor(e,n,{transformPagePoint:i,contextWindow:a=k,dragSnapToOrigin:o=!1,distanceThreshold:s=3,element:c}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=k,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=e=>{this.handleScroll(e.target)},this.onWindowScroll=()=>{this.handleScroll(k)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=transformPoint(this.lastRawMoveEventInfo,this.transformPagePoint));let e=getPanInfo(this.lastMoveEventInfo,this.history),n=this.startEvent!==null,i=distance2D(e.offset,{x:0,y:0})>=this.distanceThreshold;if(!n&&!i)return;let{point:a}=e,{timestamp:o}=pe;this.history.push({...a,timestamp:o});let{onStart:s,onMove:c}=this.handlers;n||(s&&s(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),c&&c(this.lastMoveEvent,e)},this.handlePointerMove=(e,n)=>{this.lastMoveEvent=e,this.lastRawMoveEventInfo=n,this.lastMoveEventInfo=transformPoint(n,this.transformPagePoint),H.update(this.updatePoint,!0)},this.handlePointerUp=(e,n)=>{this.end();let{onEnd:i,onSessionEnd:a,resumeAnimation:o}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&o&&o(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let s=getPanInfo(e.type===`pointercancel`?this.lastMoveEventInfo:transformPoint(n,this.transformPagePoint),this.history);this.startEvent&&i&&i(e,s),a&&a(e,s)},!isPrimaryPointer(e))return;this.dragSnapToOrigin=o,this.handlers=n,this.transformPagePoint=i,this.distanceThreshold=s,this.contextWindow=a||k;let l=transformPoint(extractEventInfo(e),this.transformPagePoint),{point:d}=l,{timestamp:f}=pe;this.history=[{...d,timestamp:f}];let{onSessionStart:m}=n;m&&m(e,getPanInfo(l,this.history));let _={passive:!0,capture:!0};this.removeListeners=pipe(addPointerEvent(this.contextWindow,`pointermove`,this.handlePointerMove,_),addPointerEvent(this.contextWindow,`pointerup`,this.handlePointerUp,_),addPointerEvent(this.contextWindow,`pointercancel`,this.handlePointerUp,_)),c&&this.startScrollTracking(c)}startScrollTracking(e){let n=e.parentElement;for(;n;){let e=getComputedStyle(n);(or.has(e.overflowX)||or.has(e.overflowY))&&this.scrollPositions.set(n,{x:n.scrollLeft,y:n.scrollTop}),n=n.parentElement}this.scrollPositions.set(k,{x:k.scrollX,y:k.scrollY}),k.addEventListener(`scroll`,this.onElementScroll,{capture:!0}),k.addEventListener(`scroll`,this.onWindowScroll),this.removeScrollListeners=()=>{k.removeEventListener(`scroll`,this.onElementScroll,{capture:!0}),k.removeEventListener(`scroll`,this.onWindowScroll)}}handleScroll(e){let n=this.scrollPositions.get(e);if(!n)return;let i=e===k,a=i?{x:k.scrollX,y:k.scrollY}:{x:e.scrollLeft,y:e.scrollTop},o={x:a.x-n.x,y:a.y-n.y};(o.x!==0||o.y!==0)&&(i?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=o.x,this.lastMoveEventInfo.point.y+=o.y):this.history.length>0&&(this.history[0].x-=o.x,this.history[0].y-=o.y),this.scrollPositions.set(e,a),H.update(this.updatePoint,!0))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),fe(this.updatePoint)}};function transformPoint(e,n){return n?{point:n(e.point)}:e}function subtractPoint(e,n){return{x:e.x-n.x,y:e.y-n.y}}function getPanInfo({point:e},n){return{point:e,delta:subtractPoint(e,lastDevicePoint(n)),offset:subtractPoint(e,startDevicePoint(n)),velocity:getVelocity(n,.1)}}function startDevicePoint(e){return e[0]}function lastDevicePoint(e){return e[e.length-1]}function getVelocity(e,n){if(e.length<2)return{x:0,y:0};let i=e.length-1,a=null,o=lastDevicePoint(e);for(;i>=0&&(a=e[i],!(o.timestamp-a.timestamp>secondsToMilliseconds(n)));)i--;if(!a)return{x:0,y:0};a===e[0]&&e.length>2&&o.timestamp-a.timestamp>secondsToMilliseconds(n)*2&&(a=e[1]);let s=millisecondsToSeconds(o.timestamp-a.timestamp);if(s===0)return{x:0,y:0};let c={x:(o.x-a.x)/s,y:(o.y-a.y)/s};return c.x===1/0&&(c.x=0),c.y===1/0&&(c.y=0),c}function applyConstraints(e,{min:n,max:i},a){return n!==void 0&&e<n?e=a?mixNumber(n,e,a.min):Math.max(e,n):i!==void 0&&e>i&&(e=a?mixNumber(i,e,a.max):Math.min(e,i)),e}function calcRelativeAxisConstraints(e,n,i){return{min:n===void 0?void 0:e.min+n,max:i===void 0?void 0:e.max+i-(e.max-e.min)}}function calcRelativeConstraints(e,{top:n,left:i,bottom:a,right:o}){return{x:calcRelativeAxisConstraints(e.x,i,o),y:calcRelativeAxisConstraints(e.y,n,a)}}
9function calcViewportAxisConstraints(e,n){let i=n.min-e.min,a=n.max-e.max;return n.max-n.min<e.max-e.min&&([i,a]=[a,i]),{min:i,max:a}}function calcViewportConstraints(e,n){return{x:calcViewportAxisConstraints(e.x,n.x),y:calcViewportAxisConstraints(e.y,n.y)}}function calcOrigin(e,n){let i=.5,a=calcLength(e),o=calcLength(n);return o>a?i=progress(n.min,n.max-a,e.min):a>o&&(i=progress(e.min,e.max-o,n.min)),clamp(0,1,i)}function rebaseAxisConstraints(e,n){let i={};return n.min!==void 0&&(i.min=n.min-e.min),n.max!==void 0&&(i.max=n.max-e.min),i}var sr=.35;function resolveDragElastic(e=sr){return e===!1?e=0:e===!0&&(e=sr),{x:resolveAxisElastic(e,`left`,`right`),y:resolveAxisElastic(e,`top`,`bottom`)}}function resolveAxisElastic(e,n,i){return{min:resolvePointElastic(e,n),max:resolvePointElastic(e,i)}}function resolvePointElastic(e,n){return typeof e==`number`?e:e[n]||0}var cr=new WeakMap,VisualElementDragControls=class{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=createBox(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=e}start(e,{snapToCursor:n=!1,distanceThreshold:i}={}){let{presenceContext:a}=this.visualElement;if(a&&a.isPresent===!1)return;let onSessionStart=e=>{n&&this.snapToCursor(extractEventInfo(e).point),this.stopAnimation()},onStart=(e,n)=>{let{drag:i,dragPropagation:a,onDragStart:o}=this.getProps();if(i&&!a&&(this.openDragLock&&this.openDragLock(),this.openDragLock=setDragLock(i),!this.openDragLock))return;this.latestPointerEvent=e,this.latestPanInfo=n,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),eachAxis(e=>{let n=this.getAxisMotionValue(e).get()||0;if(De.test(n)){let{projection:i}=this.visualElement;if(i&&i.layout){let a=i.layout.layoutBox[e];a&&(n=calcLength(a)*(parseFloat(n)/100))}}this.originPoint[e]=n}),o&&H.update(()=>o(e,n),!1,!0),addValueToWillChange(this.visualElement,`transform`);let{animationState:s}=this.visualElement;s&&s.setActive(`whileDrag`,!0)},onMove=(e,n)=>{this.latestPointerEvent=e,this.latestPanInfo=n;let{dragPropagation:i,dragDirectionLock:a,onDirectionLock:o,onDrag:s}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:c}=n;if(a&&this.currentDirection===null){this.currentDirection=getCurrentDirection(c),this.currentDirection!==null&&o&&o(this.currentDirection);return}this.updateAxis(`x`,n.point,c),this.updateAxis(`y`,n.point,c),this.visualElement.render(),s&&H.update(()=>s(e,n),!1,!0)},onSessionEnd=(e,n)=>{this.latestPointerEvent=e,this.latestPanInfo=n,this.stop(e,n),this.latestPointerEvent=null,this.latestPanInfo=null},resumeAnimation=()=>{let{dragSnapToOrigin:e}=this.getProps();(e||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:o}=this.getProps();this.panSession=new PanSession(e,{onSessionStart,onStart,onMove,onSessionEnd,resumeAnimation},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:o,distanceThreshold:i,contextWindow:getContextWindow(this.visualElement),element:this.visualElement.current})}stop(e,n){let i=e||this.latestPointerEvent,a=n||this.latestPanInfo,o=this.isDragging;if(this.cancel(),!o||!a||!i)return;let{velocity:s}=a;this.startAnimation(s);let{onDragEnd:c}=this.getProps();c&&H.postRender(()=>c(i,a))}cancel(){this.isDragging=!1;let{projection:e,animationState:n}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive(`whileDrag`,!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(e,n,i){let{drag:a}=this.getProps();if(!i||!shouldDrag(e,a,this.currentDirection))return;let o=this.getAxisMotionValue(e),s=this.originPoint[e]+i[e];this.constraints&&this.constraints[e]&&(s=applyConstraints(s,this.constraints[e],this.elastic[e])),o.set(s)}resolveConstraints(){let{dragConstraints:e,dragElastic:n}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,a=this.constraints;e&&isRefObject(e)?this.constraints||=this.resolveRefConstraints():this.constraints=e&&i?calcRelativeConstraints(i.layoutBox,e):!1,this.elastic=resolveDragElastic(n),a!==this.constraints&&!isRefObject(e)&&i&&this.constraints&&!this.hasMutatedConstraints&&eachAxis(e=>{this.constraints!==!1&&this.getAxisMotionValue(e)&&(this.constraints[e]=rebaseAxisConstraints(i.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){let{dragConstraints:e,onMeasureDragConstraints:n}=this.getProps();if(!e||!isRefObject(e))return!1;let i=e.current,{projection:a}=this.visualElement;if(!a||!a.layout)return!1;a.root&&(a.root.scroll=void 0,a.root.updateScroll());let o=measurePageBox(i,a.root,this.visualElement.getTransformPagePoint()),s=calcViewportConstraints(a.layout.layoutBox,o);if(n){let e=n(convertBoxToBoundingBox(s));this.hasMutatedConstraints=!!e,e&&(s=convertBoundingBoxToBox(e))}return s}startAnimation(e){let{drag:n,dragMomentum:i,dragElastic:a,dragTransition:o,dragSnapToOrigin:s,onDragTransitionEnd:c}
9=this.getProps(),l=this.constraints||{},d=eachAxis(c=>{if(!shouldDrag(c,n,this.currentDirection))return;let d=l&&l[c]||{};(s===!0||s===c)&&(d={min:0,max:0});let f=a?200:1e6,m=a?40:1e7,_={type:`inertia`,velocity:i?e[c]:0,bounceStiffness:f,bounceDamping:m,timeConstant:750,restDelta:1,restSpeed:10,...o,...d};return this.startAxisValueAnimation(c,_)});return Promise.all(d).then(c)}startAxisValueAnimation(e,n){let i=this.getAxisMotionValue(e);return addValueToWillChange(this.visualElement,e),i.start(animateMotionValue(e,i,0,n,this.visualElement,!1))}stopAnimation(){eachAxis(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){let n=`_drag${e.toUpperCase()}`;return this.visualElement.getProps()[n]||this.visualElement.getValue(e,this.visualElement.latestValues[e]??0)}snapToCursor(e){eachAxis(n=>{let{drag:i}=this.getProps();if(!shouldDrag(n,i,this.currentDirection))return;let{projection:a}=this.visualElement,o=this.getAxisMotionValue(n);if(a&&a.layout){let{min:i,max:s}=a.layout.layoutBox[n],c=o.get()||0;o.set(e[n]-mixNumber(i,s,.5)+c)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:n}=this.getProps(),{projection:i}=this.visualElement;if(!isRefObject(n)||!i||!this.constraints)return;this.stopAnimation();let a={x:0,y:0};eachAxis(e=>{let n=this.getAxisMotionValue(e);if(n&&this.constraints!==!1){let i=n.get();a[e]=calcOrigin({min:i,max:i},this.constraints[e])}});let{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},``):`none`,i.root&&i.root.updateScroll(),i.updateLayout(),this.constraints=!1,this.resolveConstraints(),eachAxis(n=>{if(!shouldDrag(n,e,null))return;let i=this.getAxisMotionValue(n),{min:o,max:s}=this.constraints[n];i.set(mixNumber(o,s,a[n]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;cr.set(this.visualElement,this);let e=this.visualElement.current,n=addPointerEvent(e,`pointerdown`,n=>{let{drag:i,dragListener:a=!0}=this.getProps(),o=n.target,s=o!==e&&isElementTextInput(o);i&&a&&!s&&this.start(n)}),i,measureDragConstraints=()=>{let{dragConstraints:n}=this.getProps();isRefObject(n)&&n.current&&(this.constraints=this.resolveRefConstraints(),i||=startResizeObservers(e,n.current,()=>this.scalePositionWithinConstraints()))},{projection:a}=this.visualElement,o=a.addEventListener(`measure`,measureDragConstraints);a&&!a.layout&&(a.root&&a.root.updateScroll(),a.updateLayout()),H.read(measureDragConstraints);let s=addDomEvent(k,`resize`,()=>this.scalePositionWithinConstraints()),c=a.addEventListener(`didUpdate`,({delta:e,hasLayoutChanged:n})=>{this.isDragging&&n&&(eachAxis(n=>{let i=this.getAxisMotionValue(n);i&&(this.originPoint[n]+=e[n].translate,i.set(i.get()+e[n].translate))}),this.visualElement.render())});return()=>{s(),n(),o(),c&&c(),i&&i()}}getProps(){let e=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:i=!1,dragPropagation:a=!1,dragConstraints:o=!1,dragElastic:s=sr,dragMomentum:c=!0}=e;return{...e,drag:n,dragDirectionLock:i,dragPropagation:a,dragConstraints:o,dragElastic:s,dragMomentum:c}}};function skipFirstCall(e){let n=!0;return()=>{if(n){n=!1;return}e()}}function startResizeObservers(e,n,i){let a=resize(e,skipFirstCall(i)),o=resize(n,skipFirstCall(i));return()=>{a(),o()}}function shouldDrag(e,n,i){return(n===!0||n===e)&&(i===null||i===e)}function getCurrentDirection(e,n=10){let i=null;return Math.abs(e.y)>n?i=`y`:Math.abs(e.x)>n&&(i=`x`),i}var DragGesture=class extends Feature{constructor(e){super(e),this.removeGroupControls=noop,this.removeListeners=noop,this.controls=new VisualElementDragControls(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||noop}update(){let{dragControls:e}=this.node.getProps(),{dragControls:n}=this.node.prevProps||{};e!==n&&(this.removeGroupControls(),e&&(this.removeGroupControls=e.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}},asyncHandler=e=>(n,i)=>{e&&H.update(()=>e(n,i),!1,!0)},PanGesture=class extends Feature{constructor(){super(...arguments),this.removePointerDownListener=noop}onPointerDown(e){this.session=new PanSession(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:getContextWindow(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:n,onPan:i,onPanEnd:a}=this.node.getProps();return{onSessionStart:asyncHandler(e),onStart:asyncHandler(n),onMove:asyncHandler(i),onEnd:(e,n)=>{delete this.session,a&&H.postRender(()=>a(e,n))}}}mount(){this.removePointerDownListener=addPointerEvent(this.node.current,`pointerdown`,e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}},lr=!1,MeasureLayoutWithContext=class extends f.Component{componentDidMount(){let{visualElement:e,layoutGroup:n,switchLayoutGroup:i,layoutId:a}=this.props,{projection:o}=e;o&&(n.group&&n.group.add(o),i&&i.register&&a&&i.register(o),lr&&o.root.didUpdate(),o.addEventListener(`animationComplete`,()=>{this.safeToRemove()}),o.setOptions({...o.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),In.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:n,visualElement:i,drag:a,isPresent:o}=this.props,{projection:s}=i;return s?(s.isPresent=o,e.layoutDependency!==n&&s.setOptions({...s.options,layoutDependency:n}),lr=!0,a||e.layoutDependency!==n||n===void 0||e.isPresent!==o?s.willUpdate():this.safeToRemove(),e.isPresent!==o&&(o?s.promote():s.relegate()||H.postRender(()=>{let e=s.getStack();(!e||!e.members.length)&&this.safeToRemove()})),null):null}componentDidUpdate(){let{visualElement:e,layoutAnchor:n}=this.props,{projection:i}=e;i&&(i.options.layoutAnchor=n,i.root.didUpdate(),Ht.postRender(()=>{!i.currentAnimation&&i.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:n,switchLayoutGroup:i}=this.props,{projection:a}=e;lr=!0,a&&(a.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(a),i&&i.deregister&&i.deregister(a))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}};function MeasureLayout(e){let[n,i]=usePresence(),a=(0,f.useContext)(P);return(0,l.jsx)(MeasureLayoutWithContext,{suppressHydrationWarning:!0,...e,layoutGroup:a,switchLayoutGroup:(0,f.useContext)($n),isPresent:n,safeToRemove:i})}var ur={pan:{Feature:PanGesture},drag:{Feature:DragGesture,ProjectionNode:Gn,MeasureLayout}};function handleHoverEvent(e,n,i){let{props:a}=e;e.animationState&&a.whileHover&&e.animationState.setActive(`whileHover`,i===`Start`);let o=a[`onHover`+i];o&&H.postRender(()=>o(n,extractEventInfo(n)))}var HoverGesture=class extends Feature{mount(){let{current:e}=this.node;e&&(this.unmount=hover(e,(e,n)=>(handleHoverEvent(this.node,n,`Start`),e=>handleHoverEvent(this.node,e,`End`))))}unmount(){}},FocusGesture=class extends Feature{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(`:focus-visible`)}catch{e=!0}!e||!this.node.animationState||(this.node.animationState.setActive(`whileFocus`,!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive(`whileFocus`,!1),this.isActive=!1)}mount(){this.unmount=pipe(addDomEvent(this.node.current,`focus`,()=>this.onFocus()),addDomEvent(this.node.current,`blur`,()=>this.onBlur()))}unmount(){}};function handlePressEvent(e,n,i){let{props:a}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&a.whileTap&&e.animationState.setActive(`whileTap`,i===`Start`);let o=a[`onTap`+(i===`End`?``:i)];o&&H.postRender(()=>o(n,extractEventInfo(n)))}var PressGesture=class extends Feature{mount(){let{current:e}=this.node;if(!e)return;
9let{globalTapTarget:n,propagate:i}=this.node.props;this.unmount=press(e,(e,n)=>(handlePressEvent(this.node,n,`Start`),(e,{success:n})=>handlePressEvent(this.node,e,n?`End`:`Cancel`)),{useGlobalTarget:n,stopPropagation:i?.tap===!1})}unmount(){}},dr=new WeakMap,fr=new WeakMap,fireObserverCallback=e=>{let n=dr.get(e.target);n&&n(e)},fireAllObserverCallbacks=e=>{e.forEach(fireObserverCallback)};function initIntersectionObserver({root:e,...n}){let i=e||document;fr.has(i)||fr.set(i,{});let a=fr.get(i),o=JSON.stringify(n);return a[o]||(a[o]=new IntersectionObserver(fireAllObserverCallbacks,{root:e,...n})),a[o]}function observeIntersection(e,n,i){let a=initIntersectionObserver(n);return dr.set(e,i),a.observe(e),()=>{dr.delete(e),a.unobserve(e)}}var pr={some:0,all:1},InViewFeature=class extends Feature{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.stopObserver?.();let{viewport:e={}}=this.node.getProps(),{root:n,margin:i,amount:a=`some`,once:o}=e,s={root:n?n.current:void 0,rootMargin:i,threshold:typeof a==`number`?a:pr[a]},onIntersectionUpdate=e=>{let{isIntersecting:n}=e;if(this.isInView===n||(this.isInView=n,o&&!n&&this.hasEnteredView))return;n&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive(`whileInView`,n);let{onViewportEnter:i,onViewportLeave:a}=this.node.getProps(),s=n?i:a;s&&s(e)};this.stopObserver=observeIntersection(this.node.current,s,onIntersectionUpdate)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>`u`)return;let{props:e,prevProps:n}=this.node;[`amount`,`margin`,`root`].some(hasViewportOptionChanged(e,n))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}};function hasViewportOptionChanged({viewport:e={}},{viewport:n={}}={}){return i=>e[i]!==n[i]}var mr={inView:{Feature:InViewFeature},tap:{Feature:PressGesture},focus:{Feature:FocusGesture},hover:{Feature:HoverGesture}},hr={layout:{ProjectionNode:Gn,MeasureLayout}},gr=createMotionProxy({...ar,...mr,...ur,...hr},createDomVisualElement);({...ar,...mr,...ur,...hr}),{...ar};var _r=50,createAxisInfo=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),createScrollInfo=()=>({time:0,x:createAxisInfo(),y:createAxisInfo()}),vr={x:{length:`Width`,position:`Left`},y:{length:`Height`,position:`Top`}};function updateAxisInfo(e,n,i,a){let o=i[n],{length:s,position:c}=vr[n],l=o.current,d=i.time;o.current=Math.abs(e[`scroll${c}`]),o.scrollLength=e[`scroll${s}`]-e[`client${s}`],o.offset.length=0,o.offset[0]=0,o.offset[1]=o.scrollLength,o.progress=progress(0,o.scrollLength,o.current);let f=a-d;o.velocity=f>_r?0:velocityPerSecond(o.current-l,f)}function updateScrollInfo(e,n,i){updateAxisInfo(e,`x`,n,i),updateAxisInfo(e,`y`,n,i),n.time=i}function calcInset(e,n){let i={x:0,y:0},a=e;for(;a&&a!==n;)if(isHTMLElement(a))i.x+=a.offsetLeft,i.y+=a.offsetTop,a=a.offsetParent;else if(a.tagName===`svg`){let e=a.getBoundingClientRect();a=a.parentElement;let n=a.getBoundingClientRect();i.x+=e.left-n.left,i.y+=e.top-n.top}else if(a instanceof SVGGraphicsElement){let{x:e,y:n}=a.getBBox();i.x+=e,i.y+=n;let o=null,s=a.parentNode;for(;!o;)s.tagName===`svg`&&(o=s),s=a.parentNode;a=o}else break;return i}var yr={start:0,center:.5,end:1};function resolveEdge(e,n,i=0){let a=0;if(e in yr&&(e=yr[e]),typeof e==`string`){let n=parseFloat(e);e.endsWith(`px`)?a=n:e.endsWith(`%`)?e=n/100:e.endsWith(`vw`)?a=n/100*document.documentElement.clientWidth:e.endsWith(`vh`)?a=n/100*document.documentElement.clientHeight:e=n}return typeof e==`number`&&(a=n*e),i+a}var br=[0,0];function resolveOffset(e,n,i,a){let o=Array.isArray(e)?e:br,s=0,c=0;return typeof e==`number`?o=[e,e]:typeof e==`string`&&(e=e.trim(),o=e.includes(` `)?e.split(` `):[e,yr[e]?e:`0`]),s=resolveEdge(o[0],i,a),c=resolveEdge(o[1],n),s-c}var xr={Enter:[[0,1],[1,1]],Exit:[[0,0],[1,0]],Any:[[1,0],[0,1]],All:[[0,0],[1,1]]},Sr={x:0,y:0};function getTargetSize(e){return`getBBox`in e&&e.tagName!==`svg`?e.getBBox():{width:e.clientWidth,height:e.clientHeight}}function resolveOffsets(e,n,i){let{offset:a=xr.All}=i,{target:o=e,axis:s=`y`}=i,c=s===`y`?`height`:`width`,l=o===e?Sr:calcInset(o,e),d=o===e?{width:e.scrollWidth,height:e.scrollHeight}:getTargetSize(o),f={width:e.clientWidth,height:e.clientHeight};n[s].offset.length=0;let m=!n[s].interpolate,_=a.length;for(let e=0;e<_;e++){let i=resolveOffset(a[e],f[c],d[c],l[s]);
9!m&&i!==n[s].interpolatorOffsets[e]&&(m=!0),n[s].offset[e]=i}m&&(n[s].interpolate=interpolate(n[s].offset,defaultOffset(a),{clamp:!1}),n[s].interpolatorOffsets=[...n[s].offset]),n[s].progress=clamp(0,1,n[s].interpolate(n[s].current))}function measure(e,n=e,i){if(i.x.targetOffset=0,i.y.targetOffset=0,n!==e){let a=n;for(;a&&a!==e;)i.x.targetOffset+=a.offsetLeft,i.y.targetOffset+=a.offsetTop,a=a.offsetParent}i.x.targetLength=n===e?n.scrollWidth:n.clientWidth,i.y.targetLength=n===e?n.scrollHeight:n.clientHeight,i.x.containerLength=e.clientWidth,i.y.containerLength=e.clientHeight}function createOnScrollHandler(e,n,i,a={}){return{measure:n=>{measure(e,a.target,i),updateScrollInfo(e,i,n),(a.offset||a.target)&&resolveOffsets(e,i,a)},notify:()=>n(i)}}var Cr=new WeakMap,wr=new WeakMap,Tr=new WeakMap,Er=new WeakMap,Dr=new WeakMap,getEventTarget=e=>e===document.scrollingElement?k:e;function scrollInfo(e,{container:n=document.scrollingElement,trackContentSize:i=!1,...a}={}){if(!n)return noop;let o=Tr.get(n);o||(o=new Set,Tr.set(n,o));let s=createOnScrollHandler(n,e,createScrollInfo(),a);if(o.add(s),!Cr.has(n)){let measureAll=()=>{for(let e of o)e.measure(pe.timestamp);H.preUpdate(notifyAll2)},notifyAll2=()=>{for(let e of o)e.notify()},listener2=()=>H.read(measureAll);Cr.set(n,listener2);let e=getEventTarget(n);k.addEventListener(`resize`,listener2),n!==document.documentElement&&wr.set(n,resize(n,listener2)),e.addEventListener(`scroll`,listener2),listener2()}if(i&&!Dr.has(n)){let e=Cr.get(n),i={width:n.scrollWidth,height:n.scrollHeight};Er.set(n,i);let checkScrollDimensions=()=>{let a=n.scrollWidth,o=n.scrollHeight;(i.width!==a||i.height!==o)&&(e(),i.width=a,i.height=o)},a=H.read(checkScrollDimensions,!0);Dr.set(n,a)}let c=Cr.get(n);return H.read(c,!1,!0),()=>{fe(c);let e=Tr.get(n);if(!e||(e.delete(s),e.size))return;let i=Cr.get(n);Cr.delete(n),i&&(getEventTarget(n).removeEventListener(`scroll`,i),wr.get(n)?.(),k.removeEventListener(`resize`,i));let a=Dr.get(n);a&&(fe(a),Dr.delete(n)),Er.delete(n)}}function canUseNativeTimeline(e){return k===void 0?!1:e?dt():ut()}var Or=[[xr.Enter,`entry`],[xr.Exit,`exit`],[xr.Any,`cover`],[xr.All,`contain`]],kr={start:0,end:1};function parseStringOffset(e){let n=e.trim().split(/\s+/);if(n.length!==2)return;let i=kr[n[0]],a=kr[n[1]];if(i!==void 0&&a!==void 0)return[i,a]}function normaliseOffset(e){if(e.length!==2)return;let n=[];for(let i of e)if(Array.isArray(i))n.push(i);else if(typeof i==`string`){let e=parseStringOffset(i);if(!e)return;n.push(e)}else return;return n}function matchesPreset(e,n){let i=normaliseOffset(e);if(!i)return!1;for(let e=0;e<2;e++){let a=i[e],o=n[e];if(a[0]!==o[0]||a[1]!==o[1])return!1}return!0}function offsetToViewTimelineRange(e){if(!e)return{rangeStart:`contain 0%`,rangeEnd:`contain 100%`};for(let[n,i]of Or)if(matchesPreset(e,n))return{rangeStart:`${i} 0%`,rangeEnd:`${i} 100%`}}var Ar=new Map;function scrollTimelineFallback(e){let n={value:0};return{currentTime:n,cancel:scrollInfo(i=>{n.value=i[e.axis].progress*100},e)}}function getTimeline({source:e,container:n,...i}){let{axis:a}=i;e&&(n=e);let o=Ar.get(n);o||(o=new Map,Ar.set(n,o));let s=i.target??`self`,c=o.get(s);c||(c={},o.set(s,c));let l=a+(i.offset??[]).join(`,`);return c[l]||(i.target&&canUseNativeTimeline(i.target)?offsetToViewTimelineRange(i.offset)?c[l]=new ViewTimeline({subject:i.target,axis:a}):c[l]=scrollTimelineFallback({container:n,...i}):canUseNativeTimeline()?c[l]=new ScrollTimeline({source:n,axis:a}):c[l]=scrollTimelineFallback({container:n,...i})),c[l]}function attachToAnimation(e,n){let i=getTimeline(n),a=n.target?offsetToViewTimelineRange(n.offset):void 0,o=n.target?canUseNativeTimeline(n.target)&&!!a:canUseNativeTimeline();return e.attachTimeline({timeline:o?i:void 0,...a&&o&&{rangeStart:a.rangeStart,rangeEnd:a.rangeEnd},observe:e=>(e.pause(),observeTimeline(n=>{e.time=e.iterationDuration*n},i))})}function isElementTracking(e){return e&&(e.target||e.offset)}function isOnScrollWithInfo(e){return e.length===2}function attachToFunction(e,n){return isOnScrollWithInfo(e)||isElementTracking(n)?scrollInfo(i=>
9{e(i[n.axis].progress,i)},n):observeTimeline(e,getTimeline(n))}function scroll(e,{axis:n=`y`,container:i=document.scrollingElement,...a}={}){if(!i)return noop;let o={axis:n,container:i,...a};return typeof e==`function`?attachToFunction(e,o):attachToAnimation(e,o)}var createScrollMotionValues=()=>({scrollX:motionValue(0),scrollY:motionValue(0),scrollXProgress:motionValue(0),scrollYProgress:motionValue(0)}),isRefPending=e=>e?!e.current:!1;function makeAccelerateConfig(e,n,i,a){return{factory:o=>{let s,start2=()=>{if(isRefPending(i)||isRefPending(a)){Ht.read(start2);return}s=scroll(o,{...n,axis:e,container:i?.current||void 0,target:a?.current||void 0})};return Ht.read(start2),()=>{Ut(start2),s?.()}},times:[0,1],keyframes:[0,1],ease:e=>e,duration:1}}function canAccelerateScroll(e,n){return k===void 0?!1:e?dt()&&!!offsetToViewTimelineRange(n):ut()}function useScroll({container:e,target:n,...i}={}){let a=useConstant(createScrollMotionValues);canAccelerateScroll(n,i.offset)&&(a.scrollXProgress.accelerate=makeAccelerateConfig(`x`,i,e,n),a.scrollYProgress.accelerate=makeAccelerateConfig(`y`,i,e,n));let o=(0,f.useRef)(null),s=(0,f.useRef)(!1),c=(0,f.useCallback)(()=>(o.current=scroll((e,{x:n,y:i})=>{a.scrollX.set(n.current),a.scrollXProgress.set(n.progress),a.scrollY.set(i.current),a.scrollYProgress.set(i.progress)},{...i,container:e?.current||void 0,target:n?.current||void 0}),()=>{o.current?.()}),[e,n,JSON.stringify(i.offset)]);return F(()=>{if(s.current=!1,isRefPending(e)||isRefPending(n)){s.current=!0;return}return c()},[c]),(0,f.useEffect)(()=>{if(!s.current)return;let i,tryStart=()=>{let a=isRefPending(e),o=isRefPending(n);!a&&!o&&(i=c())};return Ht.read(tryStart),()=>{Ut(tryStart),i?.()}},[c]),a}function useMotionValue(e){let n=useConstant(()=>motionValue(e)),{isStatic:i}=(0,f.useContext)(Kn);if(i){let[,i]=(0,f.useState)(e);(0,f.useEffect)(()=>n.on(`change`,i),[])}return n}function useCombineMotionValues(e,n){let i=useMotionValue(n()),updateValue=()=>i.set(n());return updateValue(),F(()=>{let scheduleUpdate=()=>H.preRender(updateValue,!1,!0),n=e.map(e=>e.on(`change`,scheduleUpdate));return()=>{n.forEach(e=>e()),fe(updateValue)}}),i}function useComputed(e){St.current=[],e();let n=useCombineMotionValues(St.current,e);return St.current=void 0,n}function useTransform(e,n,i,a){if(typeof e==`function`)return useComputed(e);if(i!==void 0&&!Array.isArray(i)&&typeof n!=`function`)return useMapTransform(e,n,i,a);let o=typeof n==`function`?n:transform(n,i,a),s=Array.isArray(e)?useListTransform(e,o):useListTransform([e],([e])=>o(e)),c=Array.isArray(e)?void 0:e.accelerate;return c&&!c.isTransformed&&typeof n!=`function`&&Array.isArray(i)&&a?.clamp!==!1&&(s.accelerate={...c,times:n,keyframes:i,isTransformed:!0,...a?.ease?{ease:a.ease}:{}}),s}function useListTransform(e,n){let i=useConstant(()=>[]);return useCombineMotionValues(e,()=>{i.length=0;let a=e.length;for(let n=0;n<a;n++)i[n]=e[n].get();return n(i)})}function useMapTransform(e,n,i,a){let o=useConstant(()=>Object.keys(i)),s=useConstant(()=>({}));for(let c of o)s[c]=useTransform(e,n,i[c],a);return s}function useFollowValue(e,n={}){let{isStatic:i}=(0,f.useContext)(Kn),getFromSource=()=>isMotionValue(e)?e.get():e;if(i)return useTransform(getFromSource);let a=useMotionValue(getFromSource());return(0,f.useInsertionEffect)(()=>attachFollow(a,e,n),[a,JSON.stringify(n)]),a}function useSpring(e,n={}){return useFollowValue(e,{type:`spring`,...n})}var WillChangeMotionValue=class extends MotionValue{constructor(){super(...arguments),this.isEnabled=!1}add(e){(tt.has(e)||gt.has(e))&&(this.isEnabled=!0,this.update())}update(){this.set(this.isEnabled?`transform`:`auto`)}};function useReducedMotion(){!sn.current&&initPrefersReducedMotion();let[e]=(0,f.useState)(on.current);return e}function useReducedMotionConfig(){let e=useReducedMotion(),{reducedMotion:n}=(0,f.useContext)(Kn);return n===`never`?!1:n===`always`||e}function isDOMKeyframes(e){return typeof e==`object`&&!Array.isArray(e)}function resolveSubjects(e,n,i,a){return e==null?[]:typeof e==`string`&&isDOMKeyframes(n)?resolveElements(e,i,a):e instanceof NodeList?Array.from(e):Array.isArray(e)?e.filter(e=>e!=null):[e]}function calculateRepeatDuration(e,n,i){return e*(n+1)+i*n}
9function calcNextTime(e,n,i,a){return typeof n==`number`?n:n.startsWith(`-`)||n.startsWith(`+`)?Math.max(0,e+parseFloat(n)):n===`<`?i:n.startsWith(`<`)?Math.max(0,i+parseFloat(n.slice(1))):a.get(n)??e}function eraseKeyframes(e,n,i){for(let a=0;a<e.length;a++){let o=e[a];o.at>n&&o.at<i&&(removeItem(e,o),a--)}}function addKeyframes(e,n,i,a,o,s){eraseKeyframes(e,o,s);for(let c=0;c<n.length;c++)e.push({value:n[c],at:mixNumber(o,s,a[c]),easing:getEasingForSegment(i,c)})}function normalizeTimes(e,n,i=0){let a=n+1+n*i;for(let n=0;n<e.length;n++)e[n]=e[n]/a}function compareByTime(e,n){return e.at===n.at?e.value===null?1:n.value===null?-1:0:e.at-n.at}var jr=`easeInOut`,Mr=20;function createAnimationsFromSequence(e,{defaultTransition:n={},...i}={},a,o){let s=n.duration||.3,c=new Map,l=new Map,d={},f=new Map,m=0,_=0,v=0;for(let i=0;i<e.length;i++){let c=e[i];if(typeof c==`string`){f.set(c,_);continue}if(!Array.isArray(c)){f.set(c.name,calcNextTime(_,c.at,m,f));continue}let[y,x,S={}]=c;S.at!==void 0&&(_=calcNextTime(_,S.at,m,f));let T=0,resolveValueSequence=(e,i,a,c=0,l=0)=>{let d=keyframesAsList(e),{delay:f=0,times:m=defaultOffset(d),type:y=n.type||`keyframes`,repeat:x,repeatType:S,repeatDelay:E=0,...O}=i,{ease:k=n.ease||`easeOut`,duration:j}=i,P=typeof f==`function`?f(c,l):f,F=d.length,L=isGenerator(y)?y:o?.[y||`keyframes`];if(F<=2&&L){let e=100;if(F===2&&isNumberKeyframesArray(d)){let n=d[1]-d[0];e=Math.abs(n)}let i={...n,...O};j!==void 0&&(i.duration=secondsToMilliseconds(j));let a=createGeneratorEasing(i,e,L);k=a.ease,j=a.duration}j??=s;let R=_+P;m.length===1&&m[0]===0&&(m[1]=1);let ee=m.length-d.length;if(ee>0&&fillOffset(m,ee),d.length===1&&d.unshift(null),x&&`${x}${Mr}`,x&&x<Mr){let e=j>0?E/j:0;j=calculateRepeatDuration(j,x,E);let n=[...d],i=[...m];k=Array.isArray(k)?[...k]:[k];let a=[...k],o=S===`reverse`||S===`mirror`,s=n,c=a;o&&(s=[...n].reverse(),S===`reverse`&&(c=[...a].reverse().map(e=>typeof e==`function`?reverseEasing(e):e)));for(let l=0;l<x;l++){let f=o&&l%2==0,_=f?s:n,v=f?c:a,y=(l+1)*(1+e);e>0&&(d.push(d[d.length-1]),m.push(y),k.push(`linear`)),d.push(..._);for(let e=0;e<_.length;e++)m.push(i[e]+y),k.push(e===0?`linear`:getEasingForSegment(v,e-1))}normalizeTimes(m,x,e)}let V=R+j;addKeyframes(a,d,k,m,R,V),T=Math.max(P+j,T),v=Math.max(V,v)};if(isMotionValue(y)){let e=getSubjectSequence(y,l);resolveValueSequence(x,S,getValueSequence(`default`,e))}else{let e=resolveSubjects(y,x,a,d),n=e.length;for(let i=0;i<n;i++){x=x,S=S;let a=e[i],o=getSubjectSequence(a,l);for(let e in x)resolveValueSequence(x[e],getValueTransition2(S,e),getValueSequence(e,o),i,n)}}m=_,_+=T}return l.forEach((e,a)=>{for(let o in e){let s=e[o];s.sort(compareByTime);let l=[],d=[],f=[];for(let e=0;e<s.length;e++){let{at:n,value:i,easing:a}=s[e];l.push(i),d.push(progress(0,v,n)),f.push(a||`easeOut`)}d[0]!==0&&(d.unshift(0),l.unshift(l[0]),f.unshift(jr)),d[d.length-1]!==1&&(d.push(1),l.push(null)),c.has(a)||c.set(a,{keyframes:{},transition:{}});let m=c.get(a);m.keyframes[o]=l;let{type:_,...y}=n;m.transition[o]={...y,duration:v,ease:f,times:d,...i}}}),c}function getSubjectSequence(e,n){return!n.has(e)&&n.set(e,{}),n.get(e)}function getValueSequence(e,n){return n[e]||(n[e]=[]),n[e]}function keyframesAsList(e){return Array.isArray(e)?e:[e]}function getValueTransition2(e,n){return e&&e[n]?{...e,...e[n]}:{...e}}var isNumber=e=>typeof e==`number`,isNumberKeyframesArray=e=>e.every(isNumber);function createDOMVisualElement(e){let n={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},i=isSVGElement(e)&&!isSVGSVGElement(e)?new SVGVisualElement(n):new HTMLVisualElement(n);i.mount(e),nn.set(e,i)}function createObjectVisualElement(e){let n=new ObjectVisualElement({presenceContext:null,props:{},visualState:{renderState:{output:{}},latestValues:{}}});n.mount(e),nn.set(e,n)}function isSingleValue(e,n){return isMotionValue(e)||typeof e==`number`||typeof e==`string`&&!isDOMKeyframes(n)}function animateSubject(e,n,i,a){let o=[];if(isSingleValue(e,n))o.push(animateSingleValue(e,isDOMKeyframes(n)&&n.default||n,i&&(i.default||i)));else{if(e==null)return o;let s=resolveSubjects(e,n,a),c=s.length;for(let e=0;e<c;e++){let a=s[e],l=a instanceof Element?createDOMVisualElement:createObjectVisualElement;nn.has(a)||l(a);let d=nn.get(a),f={...i};`delay`in f&&typeof f.delay==`function`&&(f.delay=f.delay(e,c)),o.push(...animateTarget(d,{...n,transition:f},{}))}}return o}function animateSequence(e,n,i){let a=[];return createAnimationsFromSequence(e.map(e=>{if(Array.isArray(e)&&typeof e[0]==`function`){let n=e[0],i=motionValue(0);return i.on(`change`,n),e.length===1?[i,[0,1]]:e.length===2?[i,[0,1],e[1]]:[i,e[1],e[2]]}return e}),n,i,{spring}
9).forEach(({keyframes:e,transition:n},i)=>{a.push(...animateSubject(i,e,n))}),a}function isSequence(e){return Array.isArray(e)&&e.some(Array.isArray)}function createScopedAnimate(e={}){let{scope:n,reduceMotion:i,skipAnimations:a}=e;function scopedAnimate(e,o,s){let c=[],l,d={};if(i!==void 0&&(d.reduceMotion=i),a!==void 0&&(d.skipAnimations=a),isSequence(e)){let{onComplete:i,...a}=o||{};typeof i==`function`&&(l=i),c=animateSequence(e,{...d,...a},n)}else{let{onComplete:i,...a}=s||{};typeof i==`function`&&(l=i),c=animateSubject(e,o,{...d,...a},n)}let f=new GroupAnimationWithThen(c);return l&&f.finished.then(l),n&&(n.animations.push(f),f.finished.then(()=>{removeItem(n.animations,f)})),f}return scopedAnimate}var Nr=createScopedAnimate();function isMotionComponent(e){return typeof e==`object`&&!!e&&rr in e}function unwrapMotionComponent(e){if(isMotionComponent(e))return e[rr]}var Pr={some:0,all:1};function inView(e,n,{root:i,margin:a,amount:o=`some`}={}){let s=resolveElements(e),c=new WeakMap,onIntersectionChange=e=>{e.forEach(e=>{let i=c.get(e.target);if(e.isIntersecting!==!!i){if(e.isIntersecting){let i=n(e.target,e);
9typeof i==`function`?c.set(e.target,i):l.unobserve(e.target)}else typeof i==`function`&&(i(e),c.delete(e.target))}})},l=new IntersectionObserver(onIntersectionChange,{root:i,rootMargin:a,threshold:typeof o==`number`?o:Pr[o]});return s.forEach(e=>l.observe(e)),()=>l.disconnect()}function useInView(e,{root:n,margin:i,amount:a,once:o=!1,initial:s=!1}={}){let[c,l]=(0,f.useState)(s);return(0,f.useEffect)(()=>{if(!e.current||o&&c)return;let onEnter=()=>(l(!0),o?void 0:()=>l(!1)),s={root:n&&n.current||void 0,margin:i,amount:a};return inView(e.current,onEnter,s)},[n,e,i,o,a]),c}__export({},{Group:()=>Ir,Item:()=>Ur});var Fr=(0,f.createContext)(null);function checkReorder(e,n,i,a){if(!a)return e;let o=e.findIndex(e=>e.value===n);if(o===-1)return e;let s=a>0?1:-1,c=e[o+s];if(!c)return e;let l=e[o],d=c.layout,f=mixNumber(d.min,d.max,.5);return s===1&&l.layout.max+i>f||s===-1&&l.layout.min+i<f?moveItem(e,o,o+s):e}function ReorderGroupComponent({children:e,as:n=`ul`,axis:i=`y`,onReorder:a,values:o,...s},c){let d=useConstant(()=>gr[n]),m=[],_=(0,f.useRef)(!1),v=(0,f.useRef)(null),y={axis:i,groupRef:v,registerItem:(e,n)=>{let a=m.findIndex(n=>e===n.value);a===-1?m.push({value:e,layout:n[i]}):m[a].layout=n[i],m.sort(compareMin)},updateOrder:(e,n,i)=>{if(_.current)return;let s=checkReorder(m,e,n,i);if(m!==s){_.current=!0;let e=[...o];for(let n=0;n<s.length;n++)if(m[n].value!==s[n].value){let i=o.indexOf(m[n].value),a=o.indexOf(s[n].value);i!==-1&&a!==-1&&([e[i],e[a]]=[e[a],e[i]]);break}a(e)}}};(0,f.useEffect)(()=>{_.current=!1});let setRef22=e=>{v.current=e,typeof c==`function`?c(e):c&&(c.current=e)},x={overflowAnchor:`none`,...s.style};return(0,l.jsx)(d,{suppressHydrationWarning:!0,...s,style:x,ref:setRef22,ignoreStrict:!0,children:(0,l.jsx)(Fr.Provider,{suppressHydrationWarning:!0,value:y,children:e})})}var Ir=(0,f.forwardRef)(ReorderGroupComponent);function compareMin(e,n){return e.layout.min-n.layout.min}var Lr=50,Rr=25,zr=new Set([`auto`,`scroll`]),Br=new WeakMap,Vr=new WeakMap,Hr=null;function resetAutoScrollState(){if(Hr){let e=findScrollableAncestor(Hr,`y`);e&&(Vr.delete(e),Br.delete(e));let n=findScrollableAncestor(Hr,`x`);n&&n!==e&&(Vr.delete(n),Br.delete(n)),Hr=null}}function isScrollableElement(e,n){let i=getComputedStyle(e),a=n===`x`?i.overflowX:i.overflowY,o=e===document.body||e===document.documentElement;return zr.has(a)||o}function findScrollableAncestor(e,n){let i=e?.parentElement;for(;i;){if(isScrollableElement(i,n))return i;i=i.parentElement}return null}function getScrollAmount(e,n,i){let a=n.getBoundingClientRect(),o=i===`x`?Math.max(0,a.left):Math.max(0,a.top),s=i===`x`?Math.min(k.innerWidth,a.right):Math.min(k.innerHeight,a.bottom),c=e-o,l=s-e;if(c<Lr){let e=1-c/Lr;return{amount:-Rr*e*e,edge:`start`}}if(l<Lr){let e=1-l/Lr;return{amount:Rr*e*e,edge:`end`}}return{amount:0,edge:null}}function autoScrollIfNeeded(e,n,i,a){if(!e)return;Hr=e;let o=findScrollableAncestor(e,i);if(!o)return;let{amount:s,edge:c}=getScrollAmount(n-(i===`x`?k.scrollX:k.scrollY),o,i);if(c===null){Vr.delete(o),Br.delete(o);return}let l=Vr.get(o),d=o===document.body||o===document.documentElement;if(l!==c){if(!(c===`start`&&a<0||c===`end`&&a>0))return;Vr.set(o,c);let e=i===`x`?o.scrollWidth-(d?k.innerWidth:o.clientWidth):o.scrollHeight-(d?k.innerHeight:o.clientHeight);Br.set(o,e)}if(s>0){let e=Br.get(o);if((i===`x`?d?k.scrollX:o.scrollLeft:d?k.scrollY:o.scrollTop)>=e)return}i===`x`?d?k.scrollBy({left:s}):o.scrollLeft+=s:d?k.scrollBy({top:s}):o.scrollTop+=s}function useDefaultMotionValue(e,n=0){return isMotionValue(e)?e:useMotionValue(n)}function ReorderItemComponent({children:e,style:n={},value:i,as:a=`li`,onDrag:o,onDragEnd:s,layout:c=!0,...d},m){let _=useConstant(()=>gr[a]),v=(0,f.useContext)(Fr),y={x:useDefaultMotionValue(n.x),y:useDefaultMotionValue(n.y)},x=useTransform([y.x,y.y],([e,n])=>e||n?1:`unset`),{axis:S,registerItem:T,updateOrder:E,groupRef:O}=v;return(0,l.jsx)(_,{suppressHydrationWarning:!0,drag:S,...d,dragSnapToOrigin:!0,style:{...n,x:y.x,y:y.y,zIndex:x},layout:c,onDrag:(e,n)=>{let{velocity:a,point:s}=n,c=y[S].get();E(i,c,a[S]),autoScrollIfNeeded(O.current,s[S],S,a[S]),o&&o(e,n)},onDragEnd:(e,n)=>{resetAutoScrollState(),s&&s(e,n)},onLayoutMeasure:e=>{T(i,e)},ref:m,ignoreStrict:!0,children:e})}var Ur=(0,f.forwardRef)(ReorderItemComponent),K=typeof window<`u`?window:void 0,Wr=K===void 0?void 0:navigator,Gr=__commonJS({"../../../node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.production.min.js"(e){var n=typeof Symbol==`function`&&Symbol.for,i=n?Symbol.for(`react.element`):60103,a=n?Symbol.for(`react.portal`):60106,o=n?Symbol.for(`react.fragment`):60107,s=n?Symbol.for(`react.strict_mode`):60108,c=n?Symbol.for(`react.profiler`):60114,l=n?Symbol.for(`react.provider`):60109,d=n?Symbol.for(`react.context`):60110,f=n?Symbol.for(`react.async_mode`):60111,m=n?Symbol.for(`react.concurrent_mode`):60111,_=n?Symbol.for(`react.forward_ref`):60112,v=n?Symbol.for(`react.suspense`):60113,y=n?Symbol.for(`react.suspense_list`):60120,x=n?Symbol.for(`react.memo`):60115,S=n?Symbol.for(`react.lazy`):60116,T=n?Symbol.for(`react.block`):60121,E=n?Symbol.for(`react.fundamental`):60117,O=n?Symbol.for(`react.responder`):60118,k=n?Symbol.for(`react.scope`):60119;function z(e){if(typeof e==`object`&&e){var n=e.$$typeof;switch(n){case i:switch(e=e.type,e){case f:case m:case o:case c:case s:case v:return e;default:switch(e&&=e.$$typeof,e){case d:case _:case S:case x:case l:return e;default:return n}}case a:return n}}}function A(e){return z(e)===m}e.AsyncMode=f,e.ConcurrentMode=m,e.ContextConsumer=d,e.ContextProvider=l,e.Element=i,e.ForwardRef=_,e.Fragment=o,e.Lazy=S,e.Memo=x,e.Portal=a,e.Profiler=c,e.StrictMode=s,e.Suspense=v,e.isAsyncMode=function(e){return A(e)||z(e)===f},e.isConcurrentMode=A,e.isContextConsumer=function(e){return z(e)===d},e.isContextProvider=function(e){return z(e)===l},e.isElement=function(e){return typeof e==`object`&&!!e&&e.$$typeof===i},e.isForwardRef=function(e){return z(e)===_},e.isFragment=function(e){return z(e)===o},e.isLazy=function(e){return z(e)===S},e.isMemo=function(e){return z(e)===x},e.isPortal=function(e){return z(e)===a},e.isProfiler=function(e){return z(e)===c},e.isStrictMode=function(e){return z(e)===s},e.isSuspense=function(e){return z(e)===v},e.isValidElementType=function(e){return typeof e==`string`||typeof e==`function`||e===o||e===m||e===c||e===s||e===v||e===y||typeof e==`object`&&!!e&&(e.$$typeof===S||e.$$typeof===x||e.$$typeof===l||e.$$typeof===d||e.$$typeof===_||e.$$typeof===E||e.$$typeof===O||e.$$typeof===k||e.$$typeof===T)},e.typeOf=z}}),Kr=__commonJS({"../../../node_modules/hoist-non-react-statics/node_modules/react-is/index.js"(e,n){n.exports=Gr()}}),qr=__commonJS({"../../../node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js"(e,n){var i=Kr(),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},s={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},c={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};l[i.ForwardRef]=s,l[i.Memo]=c;function getStatics(e){return i.isMemo(e)?c:l[e.$$typeof]||a}var d=Object.defineProperty,f=Object.getOwnPropertyNames,m=Object.getOwnPropertySymbols,_=Object.getOwnPropertyDescriptor,v=Object.getPrototypeOf,y=Object.prototype;function hoistNonReactStatics(e,n,i){if(typeof n!=`string`){if(y){var a=v(n);a&&a!==y&&hoistNonReactStatics(e,a,i)}var s=f(n);m&&(s=s.concat(m(n)));for(var c=getStatics(e),l=getStatics(n),x=0;x<s.length;++x){var S=s[x];if(!o[S]&&!(i&&i[S])&&!(l&&l[S])&&!(c&&c[S])){var T=_(n,S);try{d(e,S,T)}catch{}}}}return e}n.exports=hoistNonReactStatics}}
9),Jr=__commonJS({"../../../node_modules/fontfaceobserver/fontfaceobserver.standalone.js"(e,n){(function(){function p(e,n){document.addEventListener?e.addEventListener(`scroll`,n,!1):e.attachEvent(`scroll`,n)}function u(e){document.body?e():document.addEventListener?document.addEventListener(`DOMContentLoaded`,function b(){document.removeEventListener(`DOMContentLoaded`,b),e()}):document.attachEvent(`onreadystatechange`,function g(){(document.readyState==`interactive`||document.readyState==`complete`)&&(document.detachEvent(`onreadystatechange`,g),e())})}function w(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 x2(e,n){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:`+n+`;`}function B(e){var n=e.g.offsetWidth,i=n+100;return e.j.style.width=i+`px`,e.i.scrollLeft=i,e.h.scrollLeft=e.h.scrollWidth+100,e.l!==n&&(e.l=n,!0)}function C(e,n){function b(){var e=i;B(e)&&e.g.parentNode!==null&&n(e.l)}var i=e;p(e.h,b),p(e.i,b),B(e)}function D(e,n,i){n||={},i||=K,this.family=e,this.style=n.style||`normal`,this.weight=n.weight||`normal`,this.stretch=n.stretch||`normal`,this.context=i}var e=null,i=null,a=null,o=null;function I(e){return i===null&&(M(e)&&/Apple/.test(K.navigator.vendor)?(e=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))(?:\.([0-9]+))/.exec(K.navigator.userAgent),i=!!e&&603>parseInt(e[1],10)):i=!1),i}function M(e){return o===null&&(o=!!e.document.fonts),o}function N(e,n){var i=e.style,o=e.weight;if(a===null){var s=document.createElement(`div`);try{s.style.font=`condensed 100px sans-serif`}catch{}a=s.style.font!==``}return[i,o,a?e.stretch:``,`100px`,n].join(` `)}D.prototype.load=function(n,i){var a=this,o=n||`BESbswy`,s=0,c=i||3e3,l=new Date().getTime();return new Promise(function(n,i){if(M(a.context)&&!I(a.context)){var d=new Promise(function(e,n){function h(){new Date().getTime()-l>=c?n(Error(``+c+`ms timeout exceeded`)):a.context.document.fonts.load(N(a,`"`+a.family+`"`),o).then(function(n){1<=n.length?e():setTimeout(h,25)},n)}h()}),f=new Promise(function(e,n){s=setTimeout(function(){n(Error(``+c+`ms timeout exceeded`))},c)});Promise.race([f,d]).then(function(){clearTimeout(s),n(a)},i)}else u(function(){function r(){var i;(i=_!=-1&&v!=-1||_!=-1&&y!=-1||v!=-1&&y!=-1)&&((i=_!=v&&_!=y&&v!=y)||(e===null&&(i=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(K.navigator.userAgent),e=!!i&&(536>parseInt(i[1],10)||parseInt(i[1],10)===536&&11>=parseInt(i[2],10))),i=e&&(_==x&&v==x&&y==x||_==S&&v==S&&y==S||_==T&&v==T&&y==T)),i=!i),i&&(E.parentNode!==null&&E.parentNode.removeChild(E),clearTimeout(s),n(a))}function t(){if(new Date().getTime()-l>=c)E.parentNode!==null&&E.parentNode.removeChild(E),i(Error(``+c+`ms timeout exceeded`));else{var e=a.context.document.hidden;(!0===e||e===void 0)&&(_=d.g.offsetWidth,v=f.g.offsetWidth,y=m.g.offsetWidth,r()),s=setTimeout(t,50)}}var d=new w(o),f=new w(o),m=new w(o),_=-1,v=-1,y=-1,x=-1,S=-1,T=-1,E=document.createElement(`div`);E.dir=`ltr`,x2(d,N(a,`sans-serif`)),x2(f,N(a,`serif`)),x2(m,N(a,`monospace`)),E.appendChild(d.g),E.appendChild(f.g),E.appendChild(m.g),a.context.document.body.appendChild(E),x=d.g.offsetWidth,S=f.g.offsetWidth,T=m.g.offsetWidth,t(),C(d,function(e){_=e,r()}),x2(d,N(a,`"`+a.family+`",sans-serif`)),C(f,function(e){v=e,r()}),x2(f,N(a,`"`+a.family+`",serif`)),C(m,function(e){y=e,r()}),x2(m,N(a,`"`+a.family+`",monospace`))})})},typeof n==`object`?n.exports=D:(K.FontFaceObserver=D,K.FontFaceObserver.prototype.load=D.prototype.load)})()}});function isFunction(e){return typeof e==`function`}function isBoolean(e){return typeof e==`boolean`}function isString(e){return typeof e==`string`}function isNumber2(e){return Number.isFinite(e)}function isArray(e){return Array.isArray(e)}function isObject2(e){return typeof e==`object`&&!!e&&!isArray(e)}function isEmptyObject(e){for(let n in e)return!1;return!0}function isUndefined(e){return e===void 0}function isNull(e){return e===null}function isPromise(e){return e instanceof Promise}var noop2=()=>{},Yr=K!==void 0,Xr=Yr&&(Wr.webdriver||/bot|-google|google-|yandex|ia_archiver|crawl|spider/iu.test(Wr.userAgent)),Zr=Yr&&typeof K.requestIdleCallback==`function`?K.requestIdleCallback:setTimeout;function encodeSVGForCSS(e){return`url('${encodeSVGForURL(e)}')`}function encodeSVGForURL(e){return`data:image/svg+xml,${e.replaceAll(`#`,`%23`).replaceAll(`'`,`%27`).replaceAll(`"`,`%22`)}`}function getPleaseReportMessage(e,n){let i=n instanceof Error?n.stack??n.message:n;return`${e?`${e} 10`:``}In case the issue persists, report this to the Framer team via https://www.framer.com/contact/${i?`: 11${i}`:`.`}`}var noopSubscribe=()=>noop2,returnFalse=()=>!1,Qr=`preload`;function isLazyComponentType(e){return typeof e==`object`&&!!e&&!(0,f.isValidElement)(e)&&Qr in e}var $r=Object.keys;function hasProp(e,n){return Object.prototype.hasOwnProperty.call(e,n)}var ei=`equals`;function withEquals(e){return e===null||!(ei in e)?!1:typeof e.equals==`function`}function valueEqual(e,n){return e===n||e!==e&&n!==n}function arrayShallowEqual(e,n){let i=e.length;if(i!==n.length)return!1;for(let a=i;a--!==0;)if(!valueEqual(e[a],n[a]))return!1;return!0}function arrayDeepEqual(e,n){let i=e.length;if(i!==n.length)return!1;for(let a=i;a--!==0;)if(!equal(e[a],n[a],!0))return!1;return!0}function mapShallowEqual(e,n){if(e.size!==n.size)return!1;for(let[i,a]of e.entries())if(!valueEqual(a,n.get(i)))return!1;return!0}function mapDeepEqual(e,n){if(e.size!==n.size)return!1;for(let[i,a]of e.entries())if(!equal(a,n.get(i),!0))return!1;return!0}function setEqual(e,n){if(e.size!==n.size)return!1;for(let i of e.keys())if(!n.has(i))return!1;return!0}function objectShallowEqual(e,n){let i=$r(e);if(i.length!==$r(n).length)return!1;for(let a of i)if(!hasProp(n,a)||!(a===`_owner`&&hasProp(e,`$$typeof`)&&e.$$typeof)&&!valueEqual(e[a],n[a]))return!1;return!0}function objectDeepEqual(e,n){let i=$r(e);if(i.length!==$r(n).length)return!1;for(let a of i)if(!hasProp(n,a)||!(a===`_owner`&&hasProp(e,`$$typeof`)&&e.$$typeof)&&!equal(e[a],n[a],!0))return!1;return!0}function equal(e,n,i){if(e===n)return!0;
11if(!e||!n)return e!==e&&n!==n;let a=typeof e;if(a!==typeof n||a!==`object`)return!1;let o=Array.isArray(e),s=Array.isArray(n);if(o&&s)return i?arrayDeepEqual(e,n):arrayShallowEqual(e,n);if(o!==s)return!1;let c=e instanceof Map,l=n instanceof Map;if(c&&l)return i?mapDeepEqual(e,n):mapShallowEqual(e,n);if(c!==l)return!1;let d=e instanceof Set,f=n instanceof Set;if(d&&f)return setEqual(e,n);if(d!==f)return!1;let m=e instanceof Date,_=n instanceof Date;if(m&&_)return e.getTime()===n.getTime();if(m!==_)return!1;let v=e instanceof RegExp,y=n instanceof RegExp;return v&&y?e.toString()===n.toString():v===y?withEquals(e)&&withEquals(n)?e.equals(n):i?objectDeepEqual(e,n):objectShallowEqual(e,n):!1}function isEqual(e,n,i=!0){try{return equal(e,n,i)}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}}var ti=f.createContext({});function useRouter(){return f.useContext(ti)}var ni=f.createContext({});function useCurrentRoute(){let e=useRouter(),n=(0,f.useContext)(ni),i=n?.routeId??e.currentRouteId,a=n?.routeId?n.pathVariables:e.currentPathVariables,o=n?.routeId?void 0:e.currentCanonicalPathVariables,s=i?e.getRoute?.(i):void 0;return(0,f.useMemo)(()=>{if(!(!i||!s))return{...s,id:i,pathVariables:a,canonicalPathVariables:o}},[o,i,a,s])}function useCurrentRouteKey(){let e=useCurrentRoute();if(e)return`${e.id}-${JSON.stringify(e.pathVariables)}`}function useOnRouteChange(e){let n=useCurrentRoute(),i=f.useRef(n);isEqual(i.current,n)||!n||(i.current=n,e(n))}function getRouteElementId(e,n){if(n&&e)return e.elements&&n in e.elements?e.elements[n]:n}var ri=`default`;function assert(e,n){if(e)return;if(typeof n==`function`)try{n=n()}catch{n=`(assert message threw)`}typeof n==`string`&&n.length>2048&&(n=n.slice(0,2048)+`â¦`);let i=Error(n?`Assertion Error: `+n:`Assertion Error`);if(i.stack)try{let e=i.stack.split(` 12`);e[1]?.includes(`assert`)?(e.splice(1,1),i.stack=e.join(` 13`)):e[0]?.includes(`assert`)&&(e.splice(0,1),i.stack=e.join(` 14`))}catch{}throw i}function assertNever(e,n){throw n instanceof Error?n:Error(n===void 0?e?`Unexpected value: ${e}`:`Application entered invalid state`:String(n))}Uint8Array.fromBase64,typeof process==`object`&&process.versions?.node;var q=Yr?K:{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:{},open:function(e,n,i){},__framer_events:[]};function sendTrackingEvent(e,n,i=`lazy`){switch(q.__framer_events?.push([e,n,i]),e){case`published_site_click`:{let{trackingId:e,href:i}=n;e&&document.dispatchEvent(new CustomEvent(`framer:click`,{detail:{trackingId:e,href:i}}));break}case`published_site_form_submit`:{let{trackingId:e}=n;e&&document.dispatchEvent(new CustomEvent(`framer:formsubmit`,{detail:{trackingId:e}}));break}case`published_site_pageview`:{let{framerLocale:e}=n;document.dispatchEvent(new CustomEvent(`framer:pageview`,{detail:{framerLocale:e}}));break}case`published_site_trigger_invoke`:{let{trackingId:e}=n;e&&document.dispatchEvent(new CustomEvent(`framer:triggerinvoke`,{detail:{trackingId:e}}));break}}}var ii=(0,f.createContext)(void 0);function useCollectionUtils(){return(0,f.useContext)(ii)}function delay2(e){return new Promise(n=>{setTimeout(n,e)})}function getNavigator(){return Wr===void 0?void 0:Wr}var ai=/Mac/u,oi=/iPhone|iPod|iPad/iu,si=/MacIntel/iu;function isMacOS(){let e=getNavigator();return e?ai.test(e.platform):!1}function isIOS(){let e=getNavigator();return e?oi.test(e.platform)?!0:si.test(e.platform)&&e.maxTouchPoints!=null&&e.maxTouchPoints>2:!1}function isAppleDevice(){return isMacOS()||isIOS()}var ci=/Edg\//u;function isEdge(){let e=getNavigator();return e?ci.test(e.userAgent):!1}var li=/Chrome/u,ui=/Google Inc/u;function isChrome(){let e=getNavigator();return e?li.test(e.userAgent)&&ui.test(e.vendor)&&!isEdge():!1}
14var di=/Safari/u,fi=/Apple Computer/u;function isSafari(){let e=getNavigator();return e?di.test(e.userAgent)&&fi.test(e.vendor):!1}var pi=/Firefox\/\d+\.\d+$/u;function isFirefox(){let e=getNavigator();return e?pi.test(e.userAgent):!1}function isBrowser22(){return typeof document==`object`}var mi=/Version\/([\d.]+)/u;function safariVersion(){let e=getNavigator();if(!e)return-1;let n=mi.exec(e.userAgent);return n?.[1]?parseFloat(n[1]):-1}var hi=/FramerX/u;function isFramerX(){let e=getNavigator();return e?hi.test(e.userAgent):!1}function isTest(){return!1}function isCommandKeyPressed(e){return isAppleDevice()?e.metaKey:e.ctrlKey}function noop3(){}var gi=1e3/60,_i=40,vi=500;function getScheduler(){if(!(typeof scheduler>`u`))return scheduler}var yi=Promise.resolve();function schedulerYield(e,n){let i=e?.priority,a=getScheduler();return i===`background`?n?.()??delay2(1):a?.yield?a.yield(e).catch(noop3):a?.postTask?a.postTask(noop3,e).catch(noop3):n?n():i===`user-blocking`?yi:delay2(0)}var bi=100;function createYieldToMain(e,n,i){let a=-1/0,o,s=new Set;function resolvePendingPromises(){for(let e of s)e();s.clear()}function resolvePendingPromisesIfHidden(){return document.hidden?(resolvePendingPromises(),!0):!1}function listenForPageLifecycle(){isBrowser22()&&(document.addEventListener(`visibilitychange`,resolvePendingPromisesIfHidden),K.addEventListener(`pagehide`,resolvePendingPromises))}function interactionResponse(i){return new Promise(a=>{setTimeout(a,bi),e(()=>{schedulerYield(i,n).then(a)})})}function withUnloadGuarantee(e){return isBrowser22()?new Promise(n=>{let i=!0,resolveYield=()=>{i&&(i=!1,s.delete(resolveYield),n())};s.add(resolveYield),resolvePendingPromisesIfHidden()||listenForPageLifecycle(),e.then(resolveYield,resolveYield)}):e}function createYieldPromise(e,i){let{continueAfter:a,ensureContinueBeforeUnload:o,...s}=e,c=i??a===`paint`?interactionResponse(s):schedulerYield(s,n);return o?withUnloadGuarantee(c):c}function scheduleBatchYield(e,n,i){i&&e.pendingPaintYieldCount++;let s=createYieldPromise(n,i),c=n.signal,l=!0,finishYield=n=>{l&&(l=!1,c?.removeEventListener(`abort`,abortYield),n&&(a=performance.now()),i&&e.pendingPaintYieldCount--,o===e&&e.pendingPaintYieldCount===0&&(o=void 0))},abortYield=()=>finishYield(!1);return c?.aborted?abortYield():c?.addEventListener(`abort`,abortYield,{once:!0}),s.then(()=>finishYield(!0),()=>finishYield(!0)),s}function yieldBatchedToMain(e,n){let s=o;if(!s){let i=performance.now(),c=n??(e.priority===`user-blocking`?gi:_i),l=isBrowser22()&&document.hidden?vi:c;if(i-a<l)return;s={pendingPaintYieldCount:0},o=s}let c=e.continueAfter===`paint`&&(s.pendingPaintYieldCount>0||i?.()!==!1);return scheduleBatchYield(s,e,c)}function yieldToMain2(e){let{batch:i,batchDuration:a,...o}=e??{};return!isBrowser22()&&!n?i?void 0:yi:i?yieldBatchedToMain(o,a):createYieldPromise(o)}return yieldToMain2}var scheduleFrameRead=e=>{H.read(e,!1,!0)},xi=createYieldToMain(scheduleFrameRead);function forwardCurrentQueryParams(e,n=!1){let i=``;if(K!==void 0){if(n)i=K.location.search;else{let e=K.history?.state?.queryParamBackAnchorSearch;i=e===void 0?K.location.search:e===``?``:`?${e}`}}return i?forwardQueryParams(i,e):e}var Si=`framer_variant`;function forwardQueryParams(e,n){let i=n.indexOf(`#`),a=i===-1?n:n.substring(0,i),o=i===-1?``:n.substring(i),s=a.indexOf(`?`),c=s===-1?a:a.substring(0,s),l=s===-1?``:a.substring(s),d=new URLSearchParams(l),f=new URLSearchParams(e);for(let[e,n]of f)d.has(e)||e!==Si&&d.append(e,n);let m=d.toString();return m===``?a+o:c+`?`+m+o}var Ci=RegExp(`:([a-z]\\w*)`,`gi`);async function replacePathVariables(e,n,i,a,o,s,c){let l=e,d=!1,f={...s},m=Array.from(l.matchAll(Ci)),_=await Promise.all(m.map(async e=>{let l=e?.[0],m=e?.[1];if(!l||!m)throw Error(`Failed to replace path variables: unexpected regex match group`);let _=s[m];if(!_||!isString(_))throw Error(`No slug found for path variable ${m}`);let v=c?.get(o);if(!v||!n)return _;let y=v.getRecordIdBySlug(_,n),x=isPromise(y)?await y:y;if(!x)return _;let S=v.getSlugByRecordId(x,i),T=isPromise(S)?await S:S;if(!T){d=!0;let e=v.getSlugByRecordId(x,a),n=isPromise(e)?await e:e;return n&&(f[m]=n),n??_}return f[m]=T,T})),v=0,y=``,x=!1;for(let e=0;e<m.length;e++){let n=m[e],i=_[e];!n||!i||(y+=l.substring(v,n.index),v=(n.index??0)+(n[0]?.length??0),y+=_[e],x=!0)}return x&&(y+=l.substring(v),l=y),{path:l,pathVariables:f,isMissingInLocale:d}}function prependLocaleSlug(e,n){return n?`/${n}${e}`:e}async function getLocalizedNavigationPath({currentLocale:e,nextLocale:n,defaultLocale:i,route:a,pathVariables:o,collectionUtils:s,preserveQueryParams:c}){let{path:l,pathLocalized:d}=a,f=d?.[n.id]??l,m={path:f,pathVariables:o,isMissingInLocale:!1};if(!f)return m;if(o&&a.collectionId)try{m=await replacePathVariables(f,e,n,i,a.collectionId,o,s)}catch{}return m.path!==void 0&&(m.path=prependLocaleSlug(m.path,n.slug)),c&&m.path&&(m.path=forwardCurrentQueryParams(m.path,!0)),m}async function getCollectionItemRecordId({activeLocale:e,collectionUtils:n,currentRoute:i,pathVariables:a}){let o=i?.collectionId;if(!o)return;let s=n?.get(o);if(!s||!a||!i?.path)return;let c=Array.from(i.path.matchAll(Ci)).at(-1)?.[1];if(!c)return;let l=a[c];if(isString(l))return s.getRecordIdBySlug(l,e??void 0)}async function getCollectionItemContentLocaleId({activeLocale:e,collectionUtils:n,currentRoute:i,pathVariables:a}){if(!e||e.id===ri)return;let o=i?.collectionId;if(!o)return;let s=n?.get(o);if(!s?.getContentLocaleIdByRecordId)return;let c=await getCollectionItemRecordId({activeLocale:e,collectionUtils:n,currentRoute:i,pathVariables:a});if(c)return s.getContentLocaleIdByRecordId(c,e)}async function resolveRouteContentState({activeLocale:e,defaultLocale:n,collectionUtilsCache:i,locales:a,pathVariables:o,route:s,routeId:c}){if(!e||!s)return{};let l=await getCollectionItemContentLocaleId({activeLocale:e,collectionUtils:i,currentRoute:s,pathVariables:o}
14)??s.canonicalLocaleIdByLocaleId?.[e.id],d=l?a.find(({id:e})=>e===l):void 0;if(!d||d.id===e.id)return{contentLocaleId:l};let{pathVariables:f}=await getLocalizedNavigationPath({currentLocale:e,nextLocale:d,defaultLocale:n,route:s,routeId:c,pathVariables:o,collectionUtils:i,preserveQueryParams:!1});return isEqual(f??{},o??{},!1)?{contentLocaleId:l}:{contentLocaleId:l,canonicalPathVariables:f}}var noopAsync2=async()=>{},wi={contentLocale:null,activeLocale:null,locales:[],setLocale:noopAsync2},Ti=(()=>{let e=f.createContext(wi);return e.displayName=`LocaleInfoContext`,e})();function useLocaleInfo(){return f.useContext(Ti)}var Ei=!Xr;function usePreloadRoute(){let e=useCollectionUtils(),{getRoute:n}=useRouter(),{activeLocale:i,locales:a}=useLocaleInfo();return(0,f.useCallback)((o,s,c)=>{if(!o||!n)return;let l=n(o),{pathVariables:d}=s;return preloadRoute(l,{routeId:o,pathVariables:d,locale:s.locale??i??void 0,locales:a,collectionUtils:e},c)},[n,e,i,a])}function useRoutePreloader(e,n=!0){let i=usePreloadRoute();(0,f.useEffect)(()=>{if(!(!n||!Ei))for(let n of e)i(n,{})},[e,n,i])}async function preloadRoute(e,n,i={}){if(!Ei||!e)return;let{priority:a=`background`,yieldBeforePreload:o=!0,shouldLoadRouteData:s=!0}=i,c=e.page;if(!c||!isLazyComponentType(c))return;let l=s&&!!n;if(!(c.getStatus().hasLoaded&&!l)){o&&await xi({priority:a});try{let i=await c.preload();l&&n&&i&&await loadRouteData(i,e,n,a)}catch{}}}async function loadRouteData(e,n,i,a){let o=e.loader;if(!o?.load)return;let{canonicalPathVariables:s}=await resolveRouteContentState({activeLocale:i.locale??null,defaultLocale:i.locales?.find(e=>e.id===ri),collectionUtilsCache:i.collectionUtils,locales:i.locales??[],pathVariables:i.pathVariables,route:n,routeId:i.routeId}),c={signal:i.signal??new AbortController().signal,pathVariables:i.pathVariables??{},canonicalPathVariables:s,routeId:i.routeId,locale:i.locale,priority:a,collectionUtils:i.collectionUtils};try{await o.load({},c)}catch{}}var Di=/[\s?#[\]@!$&'*+,;:="<>%{}|\\^`/]+/gu;function trimDashes(e){let n=0,i=e.length;for(;n<i&&e[n]===`-`;)n++;for(;i>n&&e[i-1]===`-`;)i--;return e.slice(n,i)}function slugify(e){return trimDashes(e.trim().toLowerCase().replace(Di,`-`))}var Oi=f.createContext(null),ki=typeof document<`u`?f.useLayoutEffect:f.useEffect;function useMemoOne(e,n){let i=(0,f.useState)(()=>({inputs:n,result:e()}))[0],a=(0,f.useRef)(!0),o=(0,f.useRef)(i),s=a.current||n&&o.current.inputs&&isEqual(n,o.current.inputs,!1)?o.current:{inputs:n,result:e()};return(0,f.useEffect)(()=>{a.current=!1,o.current=s},[s]),s.result}function useCallbackOne(e,n){return useMemoOne(()=>e,n)}function computeRelativePath(e,n){if(!e.startsWith(`/`)||!n.startsWith(`/`))throw Error(`from/to paths are expected to be absolute`);let[i]=getDirAndFile(e),[a,o]=getDirAndFile(n),s=relative(i,a);return s===``&&(s=`.`),!s.startsWith(`.`)&&!s.startsWith(`/`)&&(s=`./`+s),s+`/`+o}function getDirAndFile(e){let n=e.lastIndexOf(`/`);return[e.substring(0,n+1),e.substring(n+1)]}var Ai=46,ji=47,StringPrototypeCharCodeAt=(e,n)=>e.charCodeAt(n),StringPrototypeLastIndexOf=(e,n)=>e.lastIndexOf(n),StringPrototypeSlice=(e,n,i)=>e.slice(n,i);function relative(e,n){if(e===n||(e=`/`+normalizeString(e),n=`/`+normalizeString(n),e===n))return``;let i=e.length,a=i-1,o=n.length-1,s=a<o?a:o,c=-1,l=0;for(;l<s;l++){let i=StringPrototypeCharCodeAt(e,1+l);if(i!==StringPrototypeCharCodeAt(n,1+l))break;i===ji&&(c=l)}if(l===s){if(o>s){if(StringPrototypeCharCodeAt(n,1+l)===ji)return StringPrototypeSlice(n,1+l+1);if(l===0)return StringPrototypeSlice(n,1+l)}else a>s&&(StringPrototypeCharCodeAt(e,1+l)===ji?c=l:l===0&&(c=0))}let d=``;for(l=1+c+1;l<=i;++l)(l===i||StringPrototypeCharCodeAt(e,l)===ji)&&(d+=d.length===0?`..`:`/..`);return`${d}${StringPrototypeSlice(n,1+c)}`}var Mi=`/`,isPathSeparator=e=>e===ji;function normalizeString(e){let n=``,i=0,a=-1,o=0,s=0;for(let c=0;c<=e.length;++c){if(c<e.length)s=StringPrototypeCharCodeAt(e,c);else if(isPathSeparator(s))break;else s=ji;if(isPathSeparator(s)){if(a!==c-1&&o!==1){if(o===2){if(n.length<2||i!==2||StringPrototypeCharCodeAt(n,n.length-1)!==Ai||StringPrototypeCharCodeAt(n,n.length-2)!==Ai){if(n.length>2){let e=StringPrototypeLastIndexOf(n,Mi);e===-1?(n=``,i=0):(n=StringPrototypeSlice(n,0,e),i=n.length-1-StringPrototypeLastIndexOf(n,Mi)),a=c,o=0;continue}if(n.length!==0){n=``,i=0,a=c,o=0;continue}}}else n.length>0?n+=`${Mi}${StringPrototypeSlice(e,a+1,c)}`:n=StringPrototypeSlice(e,a+1,c),i=c-a-1}a=c,o=0}else s===Ai&&o!==-1?++o:o=-1}return n}var Ni=new Set([`/404.html`,`/404`,`/404/`]);function getSitePrefix(e){if(!e)return``;let n;try{n=new URL(e)}catch{return``}return n.pathname===`/`||K.location.origin!==n.origin?``:n.pathname.endsWith(`/`)?
14n.pathname.slice(0,-1):n.pathname}function resolveHash(e,n){let i=e.replace(Ci,(e,i)=>n[i]??e);if(!i.includes(`:`))return i}function getHashForRoute(e,n,i){let a=Object.assign({},n.elements,i);if(e.startsWith(`:`)){let i=e.slice(1),o=n.elementPatterns?.[i];if(o)return resolveHash(o,a)}if(e.includes(`:`))return resolveHash(e,a);let o=n.elements?.[e];return o?resolveHash(o,a):e}function getPathForRoute(e,{currentRoutePath:n,currentRoutePathLocalized:i,currentPathVariables:a,hash:o,pathVariables:s,hashVariables:c,relative:l=!0,preserveQueryParams:d,onlyHash:f=!1,siteCanonicalURL:m,localeId:_,localeSlug:v}){let y;if(o&&e&&(y=getHashForRoute(o,e,c)),f)return y??``;let x=n??`/`;i&&_&&(x=i[_]??x),a&&(x=x.replace(Ci,(e,n)=>String(a[n]||e)));let S=(_?e?.pathLocalized?.[_]:void 0)??e?.path??`/`;s&&(S=S.replace(Ci,(e,n)=>String(s[n]||e)));let T=!!(x===S&&y),E=!T&&s!==void 0&&n!==void 0&&e?.path!==void 0&&n===e.path&&x!==S;if(l){if(Ni.has(x)&&K!==void 0){let e=getSitePrefix(m);S=computeRelativePath(K.location.pathname,e+S)}else S=computeRelativePath(x,S)}else S=prependLocaleSlug(S,v);let O=T||E;return(d||O)&&(S=forwardCurrentQueryParams(S,O)),y&&(S=`${S}#${y}`),S}var Pi=`__f_replay`,Fi=`__f_replay_ignore`;function changeEvent(){let e=new Event(`change`,{bubbles:!0});return e[Pi]=1,e}function clickEvent(){let e=new MouseEvent(`click`,{bubbles:!0});return e[Pi]=1,e}function getValuePropFromElement(e){return e instanceof HTMLInputElement&&(e.type===`checkbox`||e.type===`radio`)?`checked`:`value`}function shouldIgnoreReplayEvent(e){return Fi in e.nativeEvent&&e.nativeEvent[Fi]===1}var isHydrationFn=()=>Yr;function useReplayPreHydrationInput(e){let n=(0,f.useRef)(!1),i=(0,f.useRef)(null),a=(0,f.useSyncExternalStore)(noopSubscribe,returnFalse,isHydrationFn);return(0,f.useEffect)(()=>{if(!a)return;let o=i.current;if(n.current||!o)return;n.current=!0;let s=getValuePropFromElement(o),c=o[s];if(c===e)return;if(o.type===`radio`&&c===!0){o.checked=!1,o.dispatchEvent(clickEvent());return}if(s===`checked`){let e=clickEvent();e[Fi]=1,o.dispatchEvent(e),o.dispatchEvent(clickEvent());return}if(o.nodeName===`SELECT`){o.dispatchEvent(changeEvent());return}let l=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(o),s)?.set;if(!l)return;l.call(o,``);let d=changeEvent();d[Fi]=1,o.dispatchEvent(d),queueMicrotask(()=>{l.call(o,c),o.dispatchEvent(changeEvent())})},[a]),i}function onlyRunOnce(e){let n=!1;return function(...i){if(!n)return n=!0,e.apply(this,i)}}function measureSafe(e,n,i){try{performance.measure(e,n,i)}catch(n){console.warn(`Could not measure ${e}`,n)}}var Ii,Li,Ri,zi,Bi,Vi,Hi,Ui,Wi,Gi,Ki,qi,Ji,Yi,Xi,Zi,Qi=[onlyRunOnce],$i;Zi=[onlyRunOnce],Xi=[onlyRunOnce],Yi=[onlyRunOnce],Ji=[onlyRunOnce],qi=[onlyRunOnce],Ki=[onlyRunOnce],Gi=[onlyRunOnce],Wi=[onlyRunOnce],Ui=[onlyRunOnce],Hi=[onlyRunOnce],Vi=[onlyRunOnce],Bi=[onlyRunOnce],zi=[onlyRunOnce],Ri=[onlyRunOnce],Li=[onlyRunOnce],Ii=[onlyRunOnce];var HydrationMarker=class{constructor(){__runInitializers($i,5,this),__publicField(this,`render`,{markStart:()=>this.markRenderStart(),markEnd:()=>this.markRenderEnd()}),__publicField(this,`mutationEffects`,{measure:()=>this.measureMutationEffects()}),__publicField(this,`useInsertionEffects`,{markStart:()=>this.markUseInsertionEffectsStart(),markRouterStart:()=>this.markUseInsertionEffectRouterStart(),markEnd:()=>this.markUseInsertionEffectsEnd()}),__publicField(this,`useLayoutEffects`,{markStart:()=>this.markUseLayoutEffectsStart(),markRouterStart:()=>this.markRouterUseLayoutEffectStart(),markEnd:()=>this.markUseLayoutEffectsEnd()}),__publicField(this,`useEffects`,{markStart:()=>this.markUseEffectsStart(),markRouterStart:()=>this.markUseEffectsRouterStart(),markEnd:()=>this.markUseEffectsEnd(),markAreSynchronous:()=>this.markUseEffectsAreSynchronous()}),__publicField(this,`browserRendering`,{hasStarted:!1,requestAnimationFrame:{markStart:()=>this.markRafStart(),markEnd:()=>this.markRafEnd()},layoutStylePaint:{markEnd:()=>this.markLayoutStylePaintEnd()}}),__publicField(this,`unattributedHydrationOverhead`,{measure:()=>this.measureUnattributedHydrationOverhead()})}markRenderStart(){performance.mark(`framer-hydration-start`)}markRenderEnd(){performance.mark(`framer-hydration-render-end`),measureSafe(`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`),measureSafe(`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`),measureSafe(`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`),measureSafe(`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`),measureSafe(`framer-hydration-raf`,`framer-hydration-browser-render-start`,`framer-hydration-browser-raf-end`)}markLayoutStylePaintEnd(){performance.mark(`framer-hydration-first-paint`),measureSafe(`framer-hydration-time-to-first-paint`,`framer-hydration-start`,`framer-hydration-first-paint`),measureSafe(`framer-hydration-browser-render`,`framer-hydration-browser-raf-end`,`framer-hydration-first-paint`)}measureMutationEffects(){measureSafe(`framer-hydration-commit`,`framer-hydration-layout-effects-end`,`framer-hydration-effects-start`)}measureUnattributedHydrationOverhead(){measureSafe(`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`)}};$i=__decoratorStart(null),__decorateElement($i,1,`markRenderStart`,Qi,HydrationMarker),__decorateElement($i,1,`markRenderEnd`,Zi,HydrationMarker),__decorateElement($i,1,`markUseInsertionEffectsStart`,Xi,HydrationMarker),__decorateElement($i,1,`markUseInsertionEffectRouterStart`,Yi,HydrationMarker),__decorateElement($i,1,`markUseInsertionEffectsEnd`,Ji,HydrationMarker),__decorateElement($i,1,`markUseLayoutEffectsStart`,qi,HydrationMarker),__decorateElement($i,1,`markRouterUseLayoutEffectStart`,Ki,HydrationMarker),__decorateElement($i,1,`markUseLayoutEffectsEnd`,Gi,HydrationMarker),__decorateElement($i,1,`markUseEffectsStart`,Wi,HydrationMarker),__decorateElement($i,1,`markUseEffectsRouterStart`,Ui,HydrationMarker),__decorateElement($i,1,`markUseEffectsAreSynchronous`,Hi,HydrationMarker),__decorateElement($i,1,`markUseEffectsEnd`,Vi,HydrationMarker),__decorateElement($i,1,`markRafStart`,Bi,HydrationMarker),__decorateElement($i,1,`markRafEnd`,zi,HydrationMarker),__decorateElement($i,1,`markLayoutStylePaintEnd`,Ri,HydrationMarker),__decorateElement($i,1,`measureMutationEffects`,Li,HydrationMarker),__decorateElement($i,1,`measureUnattributedHydrationOverhead`,Ii,HydrationMarker),__decoratorMetadata($i,HydrationMarker);var ea=Object.freeze([]);function emptyArray(){return ea}var ta;function getRouteInfoMemo(e){if(ta?.lastRoutes!==e){let n={},i={},a=[],o={},s=e;for(let a in e){let o=e[a];assert(o,`route must be defined`);let{path:s,pathLocalized:c}=o;
14if(s&&(n[s]={path:s,depth:pathDepth(s),routeId:a},c))for(let e in c){let n=c[e];assert(n,`localizedPath must be defined`);let o=pathDepth(n),s=i[e]||={};s[n]={path:n,depth:o,routeId:a}}}a=Object.values(n),a.sort(({depth:e},{depth:n})=>n-e);for(let e in i){let n=i[e];if(!n)continue;let a=Object.values(n);a.sort(({depth:e},{depth:n})=>n-e),o[e]=a}ta={pathRoutes:n,pathRoutesLocalized:i,paths:a,pathsLocalized:o,lastRoutes:s}}return{pathRoutes:ta.pathRoutes,paths:ta.paths,pathRoutesLocalized:ta.pathRoutesLocalized,pathsLocalized:ta.pathsLocalized}}function inferInitialRouteFromPath(e,n,i=!0,a=emptyArray()){return inferInitialRouteFromPathAndLocales(e,n,a,i)}function inferInitialRouteFromPathAndLocales(e,n,i,a=!0){let{pathRoutes:o,paths:s,pathRoutesLocalized:c,pathsLocalized:l}=getRouteInfoMemo(e),d,f,m=!1;if(i.length>0){let e=n.split(`/`).find(Boolean);if(e&&(d=i.find(({slug:n})=>n===e),d&&(f=d.id,n=n.substring(d.slug.length+1),m=!0)),!f){let e=i.find(({slug:e})=>e===``);e&&(f=e.id)}}if(f&&m){let e=c[f],i=e?e[n]:void 0;if(i){let e=matchPath(n,i.path);if(e.isMatch)return{routeId:i.routeId,localeId:f,pathVariables:e.pathVariables}}}let _=o[n];if(_){let e=matchPath(n,_.path);if(e.isMatch)return{routeId:_.routeId,localeId:f,pathVariables:e.pathVariables}}if(f&&m){let e=l[f];if(e)for(let{path:i,routeId:a}of e){let e=matchPath(n,i);if(e.isMatch)return{routeId:a,localeId:f,pathVariables:e.pathVariables}}}for(let{path:e,routeId:i}of s){let a=matchPath(n,e);if(a.isMatch)return{routeId:i,localeId:f,pathVariables:a.pathVariables}}if(!a)throw Error(`No exact match found for path`);let v=o[`/`];if(v)return{routeId:v.routeId,localeId:f};let y=Object.keys(e)[0];if(!y)throw Error(`Router should not have undefined routes`);return{routeId:y,localeId:f}}function pathDepth(e){let n=e.replace(/^\/|\/$/gu,``);return n===``?0:n.split(`/`).length}function matchPath(e,n){let i=[],a=escapeStringRegExp(n).replace(Ci,(e,n)=>(i.push(n),`([^/]+)`)),o=RegExp(a+`$`),s=e.match(o);if(!s)return{isMatch:!1};if(s.length===1)return{isMatch:!0};let c={},l=s.slice(1);for(let e=0;e<i.length;++e){let n=i[e];if(n===void 0)continue;let a=l[e],o=c[n];if(o){if(o!==a)return{isMatch:!1};continue}if(a===void 0)throw Error(`Path variable values cannot be undefined`);c[n]=a}return{isMatch:!0,pathVariables:c}}function escapeStringRegExp(e){return e.replace(/[|\\{}()[\]^$+*?.]/gu,`\\$&`).replace(/-/gu,`\\x2d`)}function unquoteServerTimingParameterValue(e){return e.startsWith(`"`)&&e.endsWith(`"`)?e.slice(1,-1):e}function getServerTimingEntries(e){let n=new Map;if(!e)return n;for(let i of e.split(`,`)){let[e,...a]=i.split(`;`),o=e?.trim().toLowerCase();if(!o)continue;let s=``;for(let e of a){let n=e.indexOf(`=`);n!==-1&&e.slice(0,n).trim().toLowerCase()===`desc`&&(s=unquoteServerTimingParameterValue(e.slice(n+1).trim()))}n.set(o,s)}return n}function getServerTimingEntry(e,n){let i=e.toLowerCase(),a=getServerTimingEntries(n).get(i);if(a!==void 0)return{name:i,description:a}}function getNavigationServerTimingEntry(e){if(K===void 0||typeof performance>`u`||!(`PerformanceServerTiming`in K))return;let n=performance.getEntriesByType(`navigation`)[0]?.serverTiming;if(!n||n.length===0)return;let i=n.find(n=>n.name===e);if(i)return{name:i.name,description:i.description}}var na=new Set;function warnOnce2(e,...n){na.has(e)||(na.add(e),console.warn(e,...n))}function deprecationWarning(e,n,i){warnOnce2(`Deprecation warning: ${e} will be removed in version ${n}${i?`, use ${i} instead`:``}.`)}var Observers=class{observers=new Set;transactions={};add(e){this.observers.add(e);let n=!1;return()=>{n||(n=!0,this.remove(e))}}remove(e){this.observers.delete(e)}notify(e,n){if(n){let i=this.transactions[n]||e;i.value=e.value,this.transactions[n]=i}else this.callObservers(e)}finishTransaction(e){let n=this.transactions[e];return delete this.transactions[e],this.callObservers(n,e)}callObservers(e,n){let i=[];return new Set(this.observers).forEach(a=>{typeof a==`function`?a(e,n):(a.update(e,n),i.push(a.finish))}),i}},ra=(()=>{function Animatable2(e){return deprecationWarning(`Animatable()`,`2.0.0`,`the new animation API (https://www.framer.com/api/animation/)`),isAnimatable2(e)?e:new AnimatableValue(e)}return Animatable2.transaction=e=>{let n=Math.random(),i=new Set,updater=(e,a)=>{e.set(a,n),i.add(e)};e(updater,n);let a=[];
14i.forEach(e=>{a.push(...e.finishTransaction(n))}),a.forEach(e=>{e(n)})},Animatable2.getNumber=(e,n=0)=>Animatable2.get(e,n),Animatable2.get=(e,n)=>e==null?n:isAnimatable2(e)?e.get():e,Animatable2.objectToValues=e=>{if(!e)return e;let n={};for(let i in e){let a=e[i];n[i]=isAnimatable2(a)?a.get():a}return n},Animatable2})(),ia=`onUpdate`,aa=`finishTransaction`;function isAnimatable2(e){return typeof e==`object`&&!!e&&ia in e&&e[ia]instanceof Function&&aa in e&&e[aa]instanceof Function}function animatableInterpolation(e,n){return{interpolate(e,i){let a=e.get(),o=i.get(),s=ra(a);return e=>{let i=n.interpolate(a,o)(e);return s.set(i),s}},difference(e,i){let a=e.get();return n.difference(a,i.get())}}}var AnimatableValue=class{constructor(e){this.value=e}value;observers=new Observers;static interpolationFor(e,n){if(isAnimatable2(e))return animatableInterpolation(e,n)}get(){return this.value}set(e,n){let i=this.value;isAnimatable2(e)&&(e=e.get()),this.value=e;let a={value:e,oldValue:i};this.observers.notify(a,n)}finishTransaction(e){return this.observers.finishTransaction(e)}onUpdate(e){return this.observers.add(e)}};function roundedNumber(e,n){let i=10**Math.round(Math.abs(n));return Math.round(e*i)/i}function roundWithOffset(e,n){return n===0?Math.round(e):(n-=n|0,n<0&&(n=1-n),Math.round(e-n)+n)}function roundToHalfPixel(e){return Math.round(e*2)/2}function Point(e,n){return{x:e,y:n}}(e=>{e.isQuadrilateralPoints=e=>e?.length===4,e.add=(...e)=>e.reduce((e,n)=>({x:e.x+n.x,y:e.y+n.y}),{x:0,y:0}),e.subtract=(e,n)=>({x:e.x-n.x,y:e.y-n.y}),e.multiply=(e,n)=>({x:e.x*n,y:e.y*n}),e.divide=(e,n)=>({x:e.x/n,y:e.y/n}),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,n={x:0,y:0})=>({x:roundWithOffset(e.x,n.x),y:roundWithOffset(e.y,n.y)}),e.distance=(e,n)=>{let i=Math.abs(e.x-n.x),a=Math.abs(e.y-n.y);return Math.sqrt(i*i+a*a)},e.angle=(e,n)=>Math.atan2(n.y-e.y,n.x-e.x)*180/Math.PI-90,e.angleFromX=(e,n)=>Math.atan2(n.y-e.y,n.x-e.x)*180/Math.PI,e.isEqual=(e,n)=>e.x===n.x&&e.y===n.y,e.rotationNormalizer=()=>{let e;return n=>{typeof e!=`number`&&(e=n);let i=e-n,a=Math.abs(i)+180,o=Math.floor(a/360);return i<180&&(n-=o*360),i>180&&(n+=o*360),e=n,n}};function center(e,n){return{x:(e.x+n.x)/2,y:(e.y+n.y)/2}}e.center=center;function centroid(e){let n=0,i=0;return e.forEach(e=>{n+=e.x,i+=e.y}),{x:n/e.length,y:i/e.length}}e.centroid=centroid;function sortClockwise(n){let i=e.centroid(n),a=new Map;for(let e=0;e<n.length;e++){let o=n[e];o&&a.set(o,Math.atan2(o.y-i.y,o.x-i.x))}return n.sort((e,n)=>(a.get(e)??0)-(a.get(n)??0))}e.sortClockwise=sortClockwise})(Point||={});var oa={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`,rebe
14ccapurple:`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`};function modulate(e,n,i,a=!1){let[o,s]=n,[c,l]=i,d=s-o;if(d===0)return(l+c)/2;let f=l-c;if(f===0)return c;let m=c+(e-o)/d*f;if(a===!0){if(c<l){if(m<c)return c;if(m>l)return l}else{if(m>c)return c;if(m<l)return l}}return m}function isNumeric(e){return!Number.isNaN(e)&&Number.isFinite(e)}function percentToFraction(e){let n=numberFromString(e);return n===void 0?0:e.includes(`%`)?n/100:n}function numberFromString(e){let n=/\d?\.?\d+/u.exec(e);return n?Number(n[0]):void 0}var sa=class _Hsluv{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(e){return e<=_Hsluv.epsilon?e/_Hsluv.refY*_Hsluv.kappa:116*(e/_Hsluv.refY)**(1/3)-16}static lToY(e){return e<=8?_Hsluv.refY*e/_Hsluv.kappa:_Hsluv.refY*((e+16)/116)**3}static rgbChannelToHex(e){let n=Math.round(e*255),i=n%16,a=(n-i)/16|0;return _Hsluv.hexChars.charAt(a)+_Hsluv.hexChars.charAt(i)}static hexToRgbChannel(e,n){let i=_Hsluv.hexChars.indexOf(e.charAt(n)),a=_Hsluv.hexChars.indexOf(e.charAt(n+1));return(i*16+a)/255}static distanceFromOriginAngle(e,n,i){let a=n/(Math.sin(i)-e*Math.cos(i));return a<0?1/0:a}static distanceFromOrigin(e,n){return Math.abs(n)/Math.sqrt(e**2+1)}static min6(e,n,i,a,o,s){return Math.min(e,Math.min(n,Math.min(i,Math.min(a,Math.min(o,s)))))}rgbToHex(){this.hex=`#`,this.hex+=_Hsluv.rgbChannelToHex(this.rgb_r),this.hex+=_Hsluv.rgbChannelToHex(this.rgb_g),this.hex+=_Hsluv.rgbChannelToHex(this.rgb_b)}hexToRgb(){this.hex=this.hex.toLowerCase(),this.rgb_r=_Hsluv.hexToRgbChannel(this.hex,1),this.rgb_g=_Hsluv.hexToRgbChannel(this.hex,3),this.rgb_b=_Hsluv.hexToRgbChannel(this.hex,5)}xyzToRgb(){this.rgb_r=_Hsluv.fromLinear(_Hsluv.m_r0*this.xyz_x+_Hsluv.m_r1*this.xyz_y+_Hsluv.m_r2*this.xyz_z),this.rgb_g=_Hsluv.fromLinear(_Hsluv.m_g0*this.xyz_x+_Hsluv.m_g1*this.xyz_y+_Hsluv.m_g2*this.xyz_z),this.rgb_b=_Hsluv.fromLinear(_Hsluv.m_b0*this.xyz_x+_Hsluv.m_b1*this.xyz_y+_Hsluv.m_b2*this.xyz_z)}rgbToXyz(){let e=_Hsluv.toLinear(this.rgb_r),n=_Hsluv.toLinear(this.rgb_g),i=_Hsluv.toLinear(this.rgb_b);this.xyz_x=.41239079926595*e+.35758433938387*n+.18048078840183*i,this.xyz_y=.21263900587151*e+.71516867876775*n+.072192315360733*i,this.xyz_z=.019330818715591*e+.11919477979462*n+.95053215224966*i}xyzToLuv(){let e=this.xyz_x+15*this.xyz_y+3*this.xyz_z,n=4*this.xyz_x,i=9*this.xyz_y;e===0?(n=NaN,i=NaN):(n/=e,i/=e),this.luv_l=_Hsluv.yToL(this.xyz_y),this.luv_l===0?(this.luv_u=0,this.luv_v=0):(this.luv_u=13*this.luv_l*(n-_Hsluv.refU),this.luv_v=13*this.luv_l*(i-_Hsluv.refV))}luvToXyz(){if(this.luv_l===0){this.xyz_x=0,this.xyz_y=0,this.xyz_z=0;return}let e=this.luv_u/(13*this.luv_l)+_Hsluv.refU,n=this.luv_v/(13*this.luv_l)+_Hsluv.refV;this.xyz_y=_Hsluv.lToY(this.luv_l),this.xyz_x=0-9*this.xyz_y*e/((e-4)*n-e*n),this.xyz_z=(9*this.xyz_y-15*n*this.xyz_y-n*this.xyz_x)/(3*n)}luvToLch(){if(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;else{let e=Math.atan2(this.luv_v,this.luv_u);this.lch_h=e*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(e){let n=(e+16)**3/1560896,i=n>_Hsluv.epsilon?n:e/_Hsluv.kappa,a=i*(284517*_Hsluv.m_r0-94839*_Hsluv.m_r2),o=i*(838422*_Hsluv.m_r2+769860*_Hsluv.m_r1+731718*_Hsluv.m_r0),s=i*(632260*_Hsluv.m_r2-126452*_Hsluv.m_r1),c=i*(284517*_Hsluv.m_g0-94839*_Hsluv.m_g2),l=i*(838422*_Hsluv.m_g2+769860*_Hsluv.m_g1+731718*_Hsluv.m_g0),d=i*(632260*_Hsluv.m_g2-126452*_Hsluv.m_g1),f=i*(284517*_Hsluv.m_b0-94839*_Hsluv.m_b2),m=i*(838422*_Hsluv.m_b2+769860*_Hsluv.m_b1+731718*_Hsluv.m_b0),_=i*(632260*_Hsluv.m_b2-126452*_Hsluv.m_b1);this.r0s=a/s,this.r0i=o*e/s,this.r1s=a/(s+126452),this.r1i=(o-769860)*e/(s+126452),this.g0s=c/d,this.g0i=l*e/d,this.g1s=c/(d+126452),this.g1i=(l-769860)*e/(d+126452),this.b0s=f/_,this.b0i=m*e/_,this.b1s=f/(_+126452),this.b1i=(m-769860)*e/(_+126452)}calcMaxChromaHpluv(){let e=_Hsluv.distanceFromOrigin(this.r0s,this.r0i),n=_Hsluv.distanceFromOrigin(this.r1s,this.r1i),i=_Hsluv.distanceFromOrigin(this.g0s,this.g0i),a=_Hsluv.distanceFromOrigin(this.g1s,this.g1i),o=_Hsluv.distanceFromOrigin(this.b0s,this.b0i),s=_Hsluv.distanceFromOrigin(this.b1s,this.b1i);return _Hsluv.min6(e,n,i,a,o,s)}calcMaxChromaHsluv(e){let n=e/360*Math.PI*2,i=_Hsluv.distanceFromOriginAngle(this.r0s,this.r0i,n),a=_Hsluv.distanceFromOriginAngle(this.r1s,this.r1i,n),o=_Hsluv.distanceFromOriginAngle(this.g0s,this.g0i,n),s=_Hsluv.distanceFromOriginAngle(this.g1s,this.g1i,n),c=_Hsluv.distanceFromOriginAngle(this.b0s,this.b0i,n),l=_Hsluv.distanceFromOriginAngle(this.b1s,this.b1i,n);return _Hsluv.min6(i,a,o,s,c,l)}hsluvToLch(){if(this.hsluv_l>99.9999999)this.lch_l=100,this.lch_c=0;else if(this.hsluv_l<1e-8)this.lch_l=0,this.lch_c=0;else{this.lch_l=this.hsluv_l,this.calculateBoundingLines(this.hsluv_l);let e=this.calcMaxChromaHsluv(this.hsluv_h);this.lch_c=e/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(){if(this.hpluv_l>99.9999999)this.lch_l=100,this.lch_c=0;else if(this.hpluv_l<1e-8)this.lch_l=0,this.lch_c=0;else{this.lch_l=this.hpluv_l,this.calculateBoundingLines(this.hpluv_l);let e=this.calcMaxChromaHpluv();this.lch_c=e/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()}};sa.hexChars=`0123456789abcdef`,sa.refY=1,sa.refU=.19783000664283,sa.refV=.46831999493879,sa.kappa=903.2962962,sa.epsilon=.0088564516,sa.m_r0=3.240969941904521,sa.m_r1=-1.537383177570093,sa.m_r2=-.498610760293,sa.m_g0=-.96924363628087,sa.m_g1=1.87596750150772,sa.m_g2=.041555057407175,sa.m_b0=.055630079696993,sa.m_b1=-.20397695888897,sa.m_b2=1.056971514242878;var ca=new sa;function rgbToHsluv(e,n,i){return ca.rgb_r=e/255,ca.rgb_g=n/255,ca.rgb_b=i/255,ca.rgbToHsluv(),{h:ca.hsluv_h,s:ca.hsluv_s,l:ca.hsluv_l}}function rgbaFromHusl(e,n,i,a=1){return ca.hsluv_h=e,ca.hsluv_s=n,ca.hsluv_l=i,ca.hsluvToRgb(),{r:ca.rgb_r*255,g:ca.rgb_g*255,b:ca.rgb_b*255,a}}function hsvToStr(e,n,i,a){let o=Math.round(e),s=Math.round(n*100),c=Math.round(i*100);return a===void 0||a===1?`hsv(`+o+`, `+s+`%, `+c+`%)`:`hsva(`+o+`, `+s+`%, `+c+`%, `+a+`)`}function rgbToRgb(e,n,i){return{r:isNumeric(e)?bound01(e,255)*255:0,g:isNumeric(n)?bound01(n,255)*255:0,b:isNumeric(i)?bound01(i,255)*255:0}}function rgbToHex(e,n,i,a){let o=[pad2(Math.round(e).toString(16)),pad2(Math.round(n).toString(16)),pad2(Math.round(i).toString(16))];return a&&o[0].charAt(0)===o[0].charAt(1)&&o[1].charAt(0)===o[1].charAt(1)&&o[2].charAt(0)===o[2].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join(``)}function rgbToHsl(e,n,i){let a,o,s=bound01(e,255),c=bound01(n,255),l=bound01(i,255),d=Math.max(s,c,l),f=Math.min(s,c,l),m=o=a=(d+f)/2;if(d===f)m=o=0;else{let e=d-f;switch(o=a>.5?e/(2-d-f):e/(d+f),d){case s:m=(c-l)/e+(c<l?6:0);break;case c:m=(l-s)/e+2;break;case l:m=(s-c)/e+4}m/=6}return{h:m*360,s:o,l:a}}function hue2rgb(e,n,i){return i<0&&(i+=1),i>1&&--i,i<1/6?e+(n-e)*6*i:i<1/2?n:i<2/3?e+(n-e)*(2/3-i)*6:e}function hslToRgb(e,n,i){let a,o,s;if(e=bound01(e,360),n=bound01(n*100,100),i=bound01(i*100,100),n===0)a=o=s=i;else{let c=i<.5?i*(1+n):i+n-i*n,l=2*i-c;a=hue2rgb(l,c,e+1/3),o=hue2rgb(l,c,e),s=hue2rgb(l,c,e-1/3)}return{r:a*255,g:o*255,b:s*255}}function rgbToHsv(e,n,i){e=bound01(e,255),n=bound01(n,255),i=bound01(i,255);let a=Math.max(e,n,i),o=Math.min(e,n,i),s=a-o,c=0,l=a===0?0:s/a,d=a;if(a===o)c=0;else{switch(a){case e:c=(n-i)/s+(n<i?6:0);break;case n:c=(i-e)/s+2;break;case i:c=(e-n)/s+4}c/=6}return{h:c,s:l,v:d}}function hsvToRgb(e,n,i){e=bound01(e,360)*6,n=bound01(n*100,100),i=bound01(i*100,100);let a=Math.floor(e),o=e-a,s=i*(1-n),c=i*(1-o*n),l=i*(1-(1-o)*n),d=a%6,f=[i,c,s,s,l,i][d],m=[l,i,i,c,s,s][d],_=[s,s,l,i,i,c][d];return{r:f*255,g:m*255,b:_*255}}function bound01(e,n){let i,a;if(i=typeof n==`string`?parseFloat(n):n,typeof e==`string`){isOnePointZero(e)&&(e=`100%`);let n=isPercentage(e);a=Math.min(i,Math.max(0,parseFloat(e))),n&&(a=Math.floor(a*i)/100)}else a=e;return Math.abs(a-i)<1e-6?1:a%i/i}function isOnePointZero(e){return typeof e==`string`&&e.includes(`.`)&&parseFloat(e)===1}function isPercentage(e){return typeof e==`string`&&e.includes(`%`)}function pad2(e){return e.length===1?`0`+e:``+e}var la={rgb:RegExp(`rgb[\\s|\\(]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))[,|\\s]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))[,|\\s]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))\\s*\\)?`),rgba:RegExp(`rgba[\\s|\\(]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))[,|\\s]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))[,|\\s]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))[,|\\s]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))\\s*\\)?`),hsl:RegExp(`hsl[\\s|\\(]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))[,|\\s]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))[,|\\s]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))\\s*\\)?`),hsla:RegExp(`hsla[\\s|\\(]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))[,|\\s]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))[,|\\s]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))[,|\\s]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))\\s*\\)?`),hsv:RegExp(`hsv[\\s|\\(]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))[,|\\s]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))[,|\\s]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))\\s*\\)?`),hsva:RegExp(`hsva[\\s|\\(]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))[,|\\s]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))[,|\\s]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))[,|\\s]+((?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?))\\s*\\)?`),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};function stringToObject(e){if(e.includes(`gradient(`)||e.includes(`var(`))return!1;let n=e.replace(/^[\s,#]+/u,``).trimEnd().toLowerCase(),i=oa[n];if(i&&(n=i),n===`transparent`)return{r:0,g:0,b:0,a:0,format:`name`};let a;return(a=la.rgb.exec(n))?{r:parseInt(a[1]??``),g:parseInt(a[2]??``),b:parseInt(a[3]??``),a:1,format:`rgb`}:(a=la.rgba.exec(n))?{r:parseInt(a[1]??``),g:parseInt(a[2]??``),b:parseInt(a[3]??``),a:parseFloat(a[4]??``),format:`rgb`}:(a=la.hsl.exec(n))?{h:parseInt(a[1]??``),s:percentToFraction(a[2]??``),l:percentToFraction(a[3]??``),a:1,format:`hsl`}:(a=la.hsla.exec(n))?{h:parseInt(a[1]??``),s:percentToFraction(a[2]??``),l:percentToFraction(a[3]??``),a:parseFloat(a[4]??``),format:`hsl`}:(a=la.hsv.exec(n))?{h:parseInt(a[1]??``),s:percentToFraction(a[2]??``),v:percentToFraction(a[3]??``),a:1,format:`hsv`}:(a=la.hsva.exec(n))?{h:parseInt(a[1]??``),s:percentToFraction(a[2]??``),v:percentToFraction(a[3]??``),a:parseFloat(a[4]??``),format:`hsv`}:(a=la.hex8.exec(n))?{r:parseIntFromHex(a[1]??``),g:parseIntFromHex(a[2]??``),b:parseIntFromHex(a[3]??``),a:convertHexToDecimal(a[4]??``),format:i?`name`:`hex`}:(a=la.hex6.exec(n))?{r:parseIntFromHex(a[1]??``),g:parseIntFromHex(a[2]??``),b:parseIntFromHex(a[3]??``),a:1,format:i?`name`:`hex`}:(a=la.hex4.exec(n))?{r:parseIntFromHex(`${a[1]}${a[1]}`),g:parseIntFromHex(`${a[2]}${a[2]}`),b:parseIntFromHex(`${a[3]}${a[3]}`),a:convertHexToDecimal(a[4]+``+a[4]),format:i?`name`:`hex`}:(a=la.hex3.exec(n))?{r:parseIntFromHex(`${a[1]}${a[1]}`),g:parseIntFromHex(`${a[2]}${a[2]}`),b:parseIntFromHex(`${a[3]}${a[3]}`),a:1,format:i?`name`:`hex`}:!1}function parseIntFromHex(e){return parseInt(e,16)}function convertHexToDecimal(e){return parseIntFromHex(e)/255}var ua=/^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;function parseP3(e){let n=ua.exec(e);if(!n)return null;let{r:i=`0`,g:a=`0`,b:o=`0`,a:s}=n.groups??{};return{r:parseFloat(i),g:parseFloat(a),b:parseFloat(o),a:s?parseFloat(s):1}}function convertRGBChannelToLrgb(e=0){let n=Math.abs(e);return n<=.04045?e/12.92:(Math.sign(e)||1)*((n+.055)/1.055)**2.4}function convertRgbToLrgb({r:e,g:n,b:i,a}){return{r:convertRGBChannelToLrgb(e),g:convertRGBChannelToLrgb(n),b:convertRGBChannelToLrgb(i),a}}function convertLrgbChannelToRgb(e=0){let n=Math.abs(e);return n>.0031308?(Math.sign(e)||1)*(1.055*n**(1/2.4)-.055):e*12.92}function convertLrgbToRgb({r:e,g:n,b:i,a}){return{r:convertLrgbChannelToRgb(e),g:convertLrgbChannelToRgb(n),b:convertLrgbChannelToRgb(i),a}}var convertP3ToXyz65=e=>{let{r:n,g:i,b:a,a:o}=convertRgbToLrgb(e);return{x:.486570948648216*n+.265667693169093*i+.1982172852343625*a,y:.2289745640697487*n+.
146917385218365062*i+.079286914093745*a,z:0*n+.0451133818589026*i+1.043944368900976*a,a:o}},convertXyz65ToRgb=({x:e=0,y:n=0,z:i=0,a=1})=>convertLrgbToRgb({r:e*3.2409699419045226-n*1.537383177570094-.4986107602930034*i,g:e*-.9692436362808796+n*1.8759675015077204+.0415550574071756*i,b:e*.0556300796969936-n*.2039769588889765+1.0569715142428784*i,a}),convertRgbToXyz65=e=>{let{r:n,g:i,b:a,a:o}=convertRgbToLrgb(e);return{x:.4123907992659593*n+.357584339383878*i+.1804807884018343*a,y:.2126390058715102*n+.715168678767756*i+.0721923153607337*a,z:.0193308187155918*n+.119194779794626*i+.9505321522496607*a,a:o}},convertXyz65ToP3=({x:e=0,y:n=0,z:i=0,a=1})=>convertLrgbToRgb({r:e*2.4934969119414263-n*.9313836179191242-.402710784450717*i,g:e*-.8294889695615749+n*1.7626640603183465+.0236246858419436*i,b:e*.0358458302437845-n*.0761723892680418+.9568845240076871*i,a});function convertRGBToHSV({r:e,g:n,b:i,a}){let o=Math.max(e,n,i),s=Math.min(e,n,i),c={h:0,s:o===0?0:1-s/o,v:o,a};return o-s!==0&&(c.h=(o===e?(n-i)/(o-s)+(n<i?6:0):o===n?(i-e)/(o-s)+2:(e-n)/(o-s)+4)*60),c}function normalizeHue(e){return(e%=360)<0?e+360:e}function convertHsvToRgb({h:e=0,s:n=0,v:i=0,a=1}){let o=normalizeHue(e),s=Math.abs(o/60%2-1);switch(Math.floor(o/60)){case 0:return{r:i,g:i*(1-n*s),b:i*(1-n),a};case 1:return{r:i*(1-n*s),g:i,b:i*(1-n),a};case 2:return{r:i*(1-n),g:i,b:i*(1-n*s),a};case 3:return{r:i*(1-n),g:i*(1-n*s),b:i,a};case 4:return{r:i*(1-n*s),g:i*(1-n),b:i,a};case 5:return{r:i,g:i*(1-n),b:i*(1-n*s),a};default:return{r:i*(1-n),g:i*(1-n),b:i*(1-n),a}}}function convertRgbToP3(e){return convertXyz65ToP3(convertRgbToXyz65(e))}function convertP3ToRgb(e){return convertXyz65ToRgb(convertP3ToXyz65(e))}var da=class _P3Color{format=`p3`;r;g;b;a;constructor(e){this.r=e.r??0,this.g=e.g??0,this.b=e.b??0,this.a=e.a??1}hsv(){return convertRGBToHSV(this)}rgb(){return convertP3ToRgb(this)}hsl(){return rgbToHsl(this.r,this.g,this.b)}toString(e=`p3`,n){switch(e){case`p3`:{let e=n?.r??this.r,i=n?.g??this.g,a=n?.b??this.b,o=n?.a??this.a;return o===1?`color(display-p3 ${e} ${i} ${a})`:`color(display-p3 ${e} ${i} ${a} / ${o})`}case`srgb`:{let e=this.rgb(),i=Math.round(Math.max(0,Math.min(e.r,1))*100)/100,a=Math.round(Math.max(0,Math.min(e.g,1))*100)/100,o=Math.round(Math.max(0,Math.min(e.b,1))*100)/100,s=n?.r??i*255,c=n?.g??a*255,l=n?.b??o*255,d=n?.a??e.a??1;return d===1?`rgb(${s}, ${c}, ${l})`:`rgba(${s}, ${c}, ${l}, ${d})`}}}static isP3String(e){return e.startsWith(`color(display-p3`)}static fromHSV(e,n=`p3`){switch(n){case`p3`:return new _P3Color(convertHsvToRgb(e));case`srgb`:return new _P3Color(convertRgbToP3(convertHsvToRgb(e)))}}static fromRGB(e){return new _P3Color(convertRgbToP3({r:Math.round(e.r/255*1e4)/1e4,g:Math.round(e.g/255*1e4)/1e4,b:Math.round(e.b/255*1e4)/1e4,a:e.a??1}))}static fromRGBString(e){let n=J(e);if(n)return _P3Color.fromRGB(n)}static fromString(e){if(!_P3Color.isP3String(e))return;let n=parseP3(e);if(n)return new _P3Color({r:n.r,g:n.g,b:n.b,a:n.a})}static srgbFromValue(e){if(!isString(e)||!J.isP3String(e))return e;let n=_P3Color.fromString(e);return n?n.toString(`srgb`):e}static multiplyAlpha(e,n){return new _P3Color({r:e.r,g:e.g,b:e.b,a:e.a*n})}},fa=new Map,J=(()=>{function Color2(e,n,i,a){if(typeof e==`string`){let n=fa.get(e);return n||(n=createColor(e),n===void 0?{...Color2(`black`),isValid:!1}:(fa.set(e,n),n))}let o=createColor(e,n,i,a);return o===void 0?{...Color2(`black`),isValid:!1}:o}function createColor(e,n,i,a){if(e===``)return;let o=getCompleteColorStrategy(e,n,i,a);if(o){let n={r:o.r,g:o.g,b:o.b,a:o.a,h:o.h,s:o.s,l:o.l,initialValue:typeof e==`string`&&o.format!==`hsv`?e:void 0,roundA:Math.round(100*o.a)/100,format:o.format,mix:Color2.mix,toValue:()=>Color2.toRgbString(n)};return n}}let e={isRGB(e){return e===`rgb`||e===`rgba`},isHSL(e){return e===`hsl`||e===`hsla`}};Color2.inspect=(e,n)=>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} "${n}">`:`<${e.constructor.name} r:${e.r} g:${e.g} b:${e.b} a:${e.a}>`,Color2.isColor=e=>typeof e==`string`?Color2.isColorString(e):Color2.isColorObject(e),Color2.isColorString=e=>typeof e==`string`&&stringToObject(e)!==!1,Color2.isColorObject=e=>
14isObject2(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`,Color2.toString=e=>Color2.toRgbString(e),Color2.toHex=(e,n=!1)=>rgbToHex(e.r,e.g,e.b,n),Color2.toHexString=(e,n=!1)=>`#${Color2.toHex(e,n)}`,Color2.isP3String=e=>typeof e==`string`&&da.isP3String(e),Color2.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+`)`,Color2.toHusl=e=>({...rgbToHsluv(e.r,e.g,e.b),a:e.roundA}),Color2.toHslString=e=>{let n=Color2.toHsl(e),i=Math.round(n.h),a=Math.round(n.s*100),o=Math.round(n.l*100);return e.a===1?`hsl(`+i+`, `+a+`%, `+o+`%)`:`hsla(`+i+`, `+a+`%, `+o+`%, `+e.roundA+`)`},Color2.toHsv=e=>{let n=rgbToHsv(e.r,e.g,e.b);return{h:n.h*360,s:n.s,v:n.v,a:e.a}},Color2.toHsvString=e=>{let n=rgbToHsv(e.r,e.g,e.b),i=Math.round(n.h*360),a=Math.round(n.s*100),o=Math.round(n.v*100);return e.a===1?`hsv(`+i+`, `+a+`%, `+o+`%)`:`hsva(`+i+`, `+a+`%, `+o+`%, `+e.roundA+`)`},Color2.toName=e=>{if(e.a===0)return`transparent`;if(e.a<1)return!1;let n=rgbToHex(e.r,e.g,e.b,!0);for(let e of Object.keys(oa))if(oa[e]===n)return e;return!1},Color2.toHsl=e=>({h:Math.round(e.h),s:e.s,l:e.l,a:e.a}),Color2.toRgb=e=>({r:Math.round(e.r),g:Math.round(e.g),b:Math.round(e.b),a:e.a}),Color2.brighten=(e,n=10)=>{let i=Color2.toRgb(e);return i.r=Math.max(0,Math.min(255,i.r-Math.round(255*-(n/100)))),i.g=Math.max(0,Math.min(255,i.g-Math.round(255*-(n/100)))),i.b=Math.max(0,Math.min(255,i.b-Math.round(255*-(n/100)))),Color2(i)},Color2.lighten=(e,n=10)=>{let i=Color2.toHsl(e);return i.l+=n/100,i.l=Math.min(1,Math.max(0,i.l)),Color2(i)},Color2.darken=(e,n=10)=>{let i=Color2.toHsl(e);return i.l-=n/100,i.l=Math.min(1,Math.max(0,i.l)),Color2(i)},Color2.saturate=(e,n=10)=>{let i=Color2.toHsl(e);return i.s+=n/100,i.s=Math.min(1,Math.max(0,i.s)),Color2(i)},Color2.desaturate=(e,n=10)=>{let i=Color2.toHsl(e);return i.s-=n/100,i.s=Math.min(1,Math.max(0,i.s)),Color2(i)},Color2.grayscale=e=>Color2.desaturate(e,100),Color2.hueRotate=(e,n)=>{let i=Color2.toHsl(e);return i.h+=n,i.h=i.h>360?i.h-360:i.h,Color2(i)},Color2.alpha=(e,n=1)=>Color2({r:e.r,g:e.g,b:e.b,a:n}),Color2.transparent=e=>Color2.alpha(e,0),Color2.multiplyAlpha=(e,n=1)=>Color2({r:e.r,g:e.g,b:e.b,a:e.a*n}),Color2.alphaComposite=(e,n)=>{if(e.a===1)return e;if(n.a<1)throw Error("Bottom color must be fully opaque for alpha blending, you should check and determine your own strategy for resolving alpha bottom layers, ie. `Color.alphaComposite(bottom, Color('white'))`");return e.a===0?n:Color2({r:Math.round(e.r*e.a+n.r*(1-e.a)),g:Math.round(e.g*e.a+n.g*(1-e.a)),b:Math.round(e.b*e.a+n.b*(1-e.a)),a:1})},Color2.interpolate=(e,n,i=`rgb`)=>{if(!Color2.isColorObject(e)||!Color2.isColorObject(n))throw TypeError(`Both arguments for Color.interpolate must be Color objects`);return a=>Color2.mixAsColor(e,n,a,!1,i)},Color2.mix=(e,n,{model:i=`rgb`}={})=>{let a=typeof e==`string`?Color2(e):e,o=Color2.interpolate(a,n,i);return e=>Color2.toRgbString(o(e))},Color2.mixAsColor=(n,i,a=.5,o=!1,s=`rgb`)=>{let c=null;if(e.isRGB(s))c=Color2({r:modulate(a,[0,1],[n.r,i.r],o),g:modulate(a,[0,1],[n.g,i.g],o),b:modulate(a,[0,1],[n.b,i.b],o),a:modulate(a,[0,1],[n.a,i.a],o)});else{let l,d;e.isHSL(s)?(l=Color2.toHsl(n),d=Color2.toHsl(i)):(l=Color2.toHusl(n),d=Color2.toHusl(i)),l.s===0?l.h=d.h:d.s===0&&(d.h=l.h);let f=l.h,m=d.h,_=m-f;_>180?_=m-360-f:_<-180&&(_=m+360-f);let v={h:modulate(a,[0,1],[f,f+_],o),s:modulate(a,[0,1],[l.s,d.s],o),l:modulate(a,[0,1],[l.l,d.l],o),a:modulate(a,[0,1],[n.a,i.a],o)};c=e.isHSL(s)?Color2(v):Color2(rgbaFromHusl(v.h,v.s,v.l,v.a))}return c},Color2.random=(e=1)=>{function gen(){return Math.floor(Math.random()*255)}return Color2(`rgba(`+gen()+`, `+gen()+`, `+gen()+`, `+e+`)`)},Color2.grey=(e=.5,n=1)=>(e=Math.floor(e*255),Color2(`rgba(`+e+`, `+e+`, `+e+`, `+n+`)`)),Color2.gray=Color2.grey,Color2.rgbToHsl=(e,n,i)=>rgbToHsl(e,n,i),Color2.isValidColorProperty=(e,n)=>!!((e.toLowerCase().slice(-5)===`color`||e===`fill`||e===`stroke`)&&typeof n==`string`&&Color2.isColorString(n)),Color2.difference=(e,n)=>{let i=(e.r+n.r)/2,a=e.r-n.r,o=e.g-n.g,s=e.b-n.b,c=a**2,l=o**2,d=s**2;return Math.sqrt(2*c+4*l+3*d+i*(c-d)/256)},Color2.equal=(e,n,i=.1)=>!(Math.abs(e.r-n.r)>
14=i||Math.abs(e.g-n.g)>=i||Math.abs(e.b-n.b)>=i||Math.abs(e.a-n.a)*256>=i);function convertChannelToLinearRgb(e){e/=255;let n=Math.abs(e);return n<.04045?e/12.92:(Math.sign(e)||1)*((n+.055)/1.055)**2.4}return Color2.luminance=e=>{let{r:n,g:i,b:a}=Color2.toRgb(e);return .2126*convertChannelToLinearRgb(n)+.7152*convertChannelToLinearRgb(i)+.0722*convertChannelToLinearRgb(a)},Color2.contrast=(e,n)=>{let i=Color2.luminance(e),a=Color2.luminance(n);return(Math.max(i,a)+.05)/(Math.min(i,a)+.05)},Color2})();function getCompleteColorStrategy(e,n,i,a=1){let o;return typeof e==`number`&&!Number.isNaN(e)&&typeof n==`number`&&!Number.isNaN(n)&&typeof i==`number`&&!Number.isNaN(i)?o=getCompleteColorFromRGB({r:e,g:n,b:i,a}):typeof e==`string`?o=getCompleteColorFromString(e):typeof e==`object`&&(o=e.hasOwnProperty(`r`)&&e.hasOwnProperty(`g`)&&e.hasOwnProperty(`b`)?getCompleteColorFromRGB(e):getCompleteColorFromHSL(e)),o}function getCompleteColorFromString(e){let n=stringToObject(e);if(n)return n.format===`hsl`?getCompleteColorFromHSL(n):n.format===`hsv`?getCompleteColorFromHSV(n):getCompleteColorFromRGB(n)}function getCompleteColorFromHSV(e){let n=hsvToRgb(e.h,e.s,e.v);return{...rgbToHsl(n.r,n.g,n.b),...n,format:`rgb`,a:e.a===void 0?1:correctAlpha(e.a)}}function getCompleteColorFromRGB(e){let n=rgbToRgb(e.r,e.g,e.b);return{...rgbToHsl(n.r,n.g,n.b),...n,format:`rgb`,a:e.a===void 0?1:correctAlpha(e.a)}}function getCompleteColorFromHSL(e){let n,i,a,o={r:0,g:0,b:0},s={h:0,s:0,l:0};return n=isNumeric(e.h)?e.h:0,n=(n+360)%360,i=isNumeric(e.s)?e.s:1,typeof e.s==`string`&&(i=numberFromString(e.s)),a=isNumeric(e.l)?e.l:.5,typeof e.l==`string`&&(a=numberFromString(e.l)),o=hslToRgb(n,i,a),s={h:n,s:i,l:a},{...o,...s,a:e.a===void 0?1:e.a,format:`hsl`}}function correctAlpha(e){return e=parseFloat(e),e<0&&(e=0),(Number.isNaN(e)||e>1)&&(e=1),e}function isScreenshotFramerHost(){return q.location.origin===`https://screenshot.framer.invalid`}var pa={target:isScreenshotFramerHost()?`EXPORT`:`PREVIEW`,zoom:1},Y={canvas:`CANVAS`,export:`EXPORT`,thumbnail:`THUMBNAIL`,preview:`PREVIEW`,current:()=>pa.target,hasRestrictions:()=>{let e=pa.target;return e===`CANVAS`||e===`EXPORT`}},correctBorderScale=e=>({correct:(n,{projectionDelta:i,treeScale:a})=>{if(typeof n==`string`&&(n=parseFloat(n)),n===0)return`0px`;let o=n;return i&&a&&(o=Math.round(n/i[e].scale/a[e]),o=Math.max(o,1)),o+`px`}});addScaleCorrector({borderTopWidth:correctBorderScale(`y`),borderLeftWidth:correctBorderScale(`x`),borderRightWidth:correctBorderScale(`x`),borderBottomWidth:correctBorderScale(`y`)});var ma=f.createContext({getLayoutId:e=>null,persistLayoutIdCache:()=>{},top:!1,enabled:!0});function useConstant2(e){let n=(0,f.useRef)(null);return n.current===null&&(n.current=e()),n.current}function isStaticRenderer(){let e=Y.current();return e===Y.canvas||e===Y.export}var asRecord=e=>e;function memoize(e){let n=Object.create(Object.prototype);return i=>(n[i]===void 0&&(n[i]=e(i)),n[i])}var ha=/^(?: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|colorRen
14dering|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,ga=memoize(e=>ha.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91),mockWithWarning=e=>()=>{warnOnce2(e)},mockWithoutWarning=()=>()=>{},_a=new Proxy({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,n,i){let a=_a.useImageSource(e,n,i);return(0,f.useMemo)(()=>{let n=new Image;return n.src=a,e.srcSet&&(n.srcset=e.srcSet),n},[a,e.srcSet])},canRenderOptimizedCanvasImage(){return!1},isOnPageCanvas:!1},{get(e,n,i){return Reflect.has(e,n)?Reflect.get(e,n,i):[`getLogger`].includes(String(n))?mockWithoutWarning():mockWithWarning(`${String(n)} is only available inside of Framer. https://www.framer.com/`)}}),va={borderRadius:`inherit`,cornerShape:`inherit`},ya=[1,2,2.2],ba=[512,1024,2048,4096];function getVariantsDimensions(e,n){if(e===void 0||n===void 0)return;let i=e,a=n,o=0;n>e&&(i=n,a=e,o=1);let s=i/a,c=[];for(let e of ba){if(i<=e)return c;c.push({maxSideSize:e,width:o===0?e:Math.trunc(e/s)})}return c}function urlWithScaleDownTo(e,n){try{let i=new URL(e);return n?i.searchParams.set(`scale-down-to`,`${n}`):i.searchParams.delete(`scale-down-to`),i.toString()}catch{return e}}var xa=512;function getResponsiveSrcSet(e,n,i){if(!i||i.length===0||!n.pixelWidth)return;let a=[];for(let n of i){if(n.width<xa)continue;let i=urlWithScaleDownTo(e,n.maxSideSize);a.push(`${i} ${n.width}w`)}return a.push(`${urlWithScaleDownTo(e,null)} ${n.pixelWidth}w`),a.join(`, `)||void 0}function getFixedSrcSets(e,n,i){if(!n.pixelWidth||!n.pixelHeight||!i?.width||!i?.height)return;let a=[],o=Math.max(n.pixelWidth,n.pixelHeight),s=Math.max(i.width/n.pixelWidth,i.height/n.pixelHeight);for(let n of ya){let i=urlWithScaleDownTo(e,Math.round(o*n*s));a.push({src:i,scale:n})}return a}function getSrcSet(e,n,i){if(![`auto`,`lossless`].includes(n.preferredSize??``))return{src:i,srcSet:void 0};if(e){let a=getFixedSrcSets(i,n,e);if(!a?.length)return{src:i,srcSet:void 0};let[o,...s]=a;return{src:o?.src,srcSet:s.map(({src:e,scale:n})=>`${e} ${n}x`).join(`, `)}}return{src:i,srcSet:getResponsiveSrcSet(i,n,getVariantsDimensions(n.pixelWidth,n.pixelHeight))}}var Sa={position:`absolute`,...va,top:0,right:0,bottom:0,left:0};function getPlaceholderStyle(){return{backgroundRepeat:`repeat`,backgroundPosition:`left top`,backgroundSize:`64px auto`,backgroundImage:encodeSVGForCSS(_a.imagePlaceholderSvg)}}function cssObjectFit(e){switch(e){case`fit`:return`contain`;case`stretch`:return`fill`;default:return`cover`}}function cssObjectPosition(e,n){let i=e??`center`,a=n??`center`;return i===`center`&&a===`center`?`center`:i+` `+a}function getImageStyle(e){return{display:`block`,width:`100%`,height:`100%`,...va,objectPosition:cssObjectPosition(e.positionX,e.positionY),objectFit:cssObjectFit(e.fit)}}function useDecodingAttribute(e){let n=f.useRef(e?`auto`:`async`),i=(0,f.useCallback)(e=>{n.current=`auto`,e.decoding=`auto`},[]),a=(0,f.useCallback)(e=>{i(e.currentTarget)},[i]),o=(0,f.useCallback)(e=>{e?.complete&&i(e)},[i]);return{decoding:n.current,onImageLoad:a,onImageMount:o}}function StaticImage({image:e,containerSize:n,nodeId:i,alt:a,draggable:o,avoidAsyncDecoding:s}){let c=_a.useImageSource(e,n,i),d=getImageStyle(e),{decoding:f,onImageLoad:m,onImageMount:_}=useDecodingAttribute(s),{srcSet:v,src:y}=`srcSet`in e?{src:c,srcSet:e.srcSet}:getSrcSet(e.nodeFixedSize,e,c);return(0,l.jsx)(`img`,{suppressHydrationWarning:!0,ref:_,decoding:f,fetchPriority:e.fetchPriority,loading:e.loading,width:e.pixelWidth,height:e.pixelHeight,sizes:v?e.sizes:void 0,srcSet:v,src:y,onLoad:m,alt:a??e.alt??``,style:d,draggable:o})}function CanvasImage({image:e,containerSize:n,nodeId:i}){let a=f.useRef(null),o=_a.useImageElement(e,n,i),s=getImageStyle(e);return f.useLayoutEffect(()=>{let e=a.current;if(e!==null)return e.appendChild(o),()=>{e.removeChild(o)}},[o]),Object.assign(o.style,s),(0,l.jsx)(`div`,{suppressHydrationWarning:!0,ref:a,style:{display:`contents`,...va}})}function OptimizedCanvasImage({nodeId:e,image:n,containerSize:i}){let a=f.useRef(null),o=_a.useImageSource(n,i,e);return f.useLayoutEffect(()=>{let i=a.current;if(i===null)return;let s=getImageStyle(n);_a.renderOptimizedCanvasImage(i,o,s,e)},[e,n,o]),(0,l.jsx)(`div`,{suppressHydrationWarning:!0,ref:a,style:{display:`contents`,...va}})}
14function BackgroundImageComponent({layoutId:e,image:n,...i}){e&&(e+=`-background`);let a=null,o=!!e,s=null;if(isString(n.src)){if(n.fit===`tile`&&n.pixelWidth&&n.pixelHeight){let e=isNumber2(n.backgroundSize)?n.backgroundSize:1,i={width:Math.round(e*n.pixelWidth),height:Math.round(e*n.pixelHeight)},c=roundToHalfPixel(e*(n.pixelWidth/2)),l=_a.useImageSource(n,i);a={...Sa,backgroundImage:`url(${l})`,backgroundRepeat:`repeat`,backgroundPosition:cssObjectPosition(n.positionX,n.positionY),opacity:void 0,border:0,backgroundSize:`${c}px auto`},s=null,o=!0}else s=Y.current()===Y.canvas?_a.canRenderOptimizedCanvasImage(_a.useImageSource(n))?(0,l.jsx)(OptimizedCanvasImage,{suppressHydrationWarning:!0,image:n,...i}):(0,l.jsx)(CanvasImage,{suppressHydrationWarning:!0,image:n,...i}):(0,l.jsx)(StaticImage,{suppressHydrationWarning:!0,image:n,avoidAsyncDecoding:Y.current()===Y.export,...i})}let c=s?Sa:a??{...Sa,...getPlaceholderStyle()};return o?(0,l.jsx)(gr.div,{suppressHydrationWarning:!0,layoutId:e,style:c,"data-framer-background-image-wrapper":!0,children:s}):(0,l.jsx)(`div`,{suppressHydrationWarning:!0,style:c,"data-framer-background-image-wrapper":!0,children:s})}var Ca=`src`,wa={isImageObject:function(e){return!e||typeof e==`string`?!1:typeof e==`object`&&Ca in e}};function isEmpty$1(e){return!e||!Object.keys(e).length&&e.constructor===Object}n(isEmpty$1,`isEmpty`);function isReactElement(e){return typeof e!=`string`&&typeof e!=`number`}function isReactChild(e){return e!=null&&typeof e!=`boolean`&&!isEmpty$1(e)}function isFiniteNumber(e){return Number.isFinite(e)}function degreesToRadians(e){return Math.PI/180*e}var Ta=(()=>{function Line2(e,n){return{a:e,b:n}}return Line2.offset=(e,n)=>{let i=degreesToRadians(Point.angleFromX(e.a,e.b)),a=n*Math.sin(i),o=n*Math.cos(i);return Line2({x:e.a.x+a,y:e.a.y-o},{x:e.b.x+a,y:e.b.y-o})},Line2.intersection=(e,n,i)=>{let a=e.a.x,o=e.a.y,s=e.b.x,c=e.b.y,l=n.a.x,d=n.a.y,f=n.b.x,m=n.b.y,_=(f-l)*(d-o)-(m-d)*(l-a),v=(f-l)*(c-o)-(m-d)*(s-a),y=(s-a)*(d-o)-(c-o)*(l-a);if(_===0&&v===0||v===0)return null;let x=_/v,S=y/v;return i&&(x<0||x>1||S<0||S>1)?null:{x:a+x*(s-a),y:o+x*(c-o)}},Line2.intersectionAngle=(e,n)=>{let i=e.b.x-e.a.x,a=e.b.y-e.a.y,o=n.b.x-n.a.x,s=n.b.y-n.a.y;return Math.atan2(i*s-a*o,i*o+a*s)*(180/Math.PI)},Line2.isOrthogonal=e=>e.a.x===e.b.x||e.a.y===e.b.y,Line2.perpendicular=(e,n)=>{let i=e.a.x-e.b.x,a=e.a.y-e.b.y;return Line2(Point(n.x-a,n.y+i),n)},Line2.projectPoint=(e,n)=>{let i=Line2.perpendicular(e,n);return Line2.intersection(e,i)},Line2.pointAtPercentDistance=(e,n)=>{let i=Line2.distance(e),a=n*i/i;return{x:a*e.b.x+(1-a)*e.a.x,y:a*e.b.y+(1-a)*e.a.y}},Line2.distance=e=>Point.distance(e.a,e.b),Line2})(),X={equals:function(e,n){return e===n?!0:!e||!n?!1:e.x===n.x&&e.y===n.y&&e.width===n.width&&e.height===n.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,n)=>({x:Math.min(e.x,n.x),y:Math.min(e.y,n.y),width:Math.abs(e.x-n.x),height:Math.abs(e.y-n.y)}),fromRect:e=>({x:e.left,y:e.top,width:e.right-e.left,height:e.bottom-e.top}),multiply:(e,n)=>({x:e.x*n,y:e.y*n,width:e.width*n,height:e.height*n}),divide:(e,n)=>X.multiply(e,1/n),offset:(e,n)=>{let i=typeof n.x==`number`?n.x:0,a=typeof n.y==`number`?n.y:0;return{...e,x:e.x+i,y:e.y+a}},inflate:(e,n)=>{if(n===0)return e;let i=2*n;return{x:e.x-n,y:e.y-n,width:e.width+i,height:e.height+i}},pixelAligned:e=>{let n=Math.round(e.x),i=Math.round(e.y),a=Math.round(e.x+e.width),o=Math.round(e.y+e.height);return{x:n,y:i,width:Math.max(a-n,0),height:Math.max(o-i,0)}},halfPixelAligned:e=>{let n=Math.round(e.x*2)/2,i=Math.round(e.y*2)/2,a=Math.round((e.x+e.width)*2)/2,o=Math.round((e.y+e.height)*2)/2;return{x:n,y:i,width:Math.max(a-n,1),height:Math.max(o-i,1)}},round:(e,n=0)=>({x:roundedNumber(e.x,n),y:roundedNumber(e.y,n),width:roundedNumber(e.width,n),height:roundedNumber(e.height,n)}),roundToOutside:e=>{let n=Math.floor(e.x),i=Math.floor(e.y),a=Math.ceil(e.x+e.width),o=Math.ceil(e.y+e.height);return{x:n,y:i,width:Math.max(a-n,0),height:Math.max(o-i,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:X.maxX(e),minY:e.y,midY:e.y+e.height/2,maxY:X.maxY(e)}),center:e=>({x:e.x+e.width/2,y:e.y+e.height/2}),boundingRectFromPoints:e=>{let n=1/0,i=-1/0,a=1/0,o=-1/0;for(let s=0;s<e.length;s++){let c=e[s];n=Math.min(n,c.x),i=Math.max(i,c.x),a=Math.min(a,c.y),o=Math.max(o,c.y)}return{x:n,y:a,width:i-n,height:o-a}},fromPoints:e=>{let[n,i,a,o]=e,{x:s,y:c}=n;return{x:s,y:c,width:Point.distance(n,i),height:Point.distance(n,o)}},merge:(...e)=>{let n={x:Math.min(...e.map(X.minX)),y:Math.min(...e.map(X.minY))},i={x:Math.max(...e.map(X.maxX)),y:Math.max(...e.map(X.maxY))};return X.fromTwoPoints(n,i)},intersection:(e,n)=>{let i=Math.max(e.x,n.x),a=Math.min(e.x+e.width,n.x+n.width),o=Math.max(e.y,n.y),s=Math.min(e.y+e.height,n.y+n.height);return{x:i,y:o,width:a-i,height:s-o}},points:e=>[{x:X.minX(e),y:X.minY(e)},{x:X.minX(e),y:X.maxY(e)},{x:X.maxX(e),y:X.minY(e)},{x:X.maxX(e),y:X.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,n)=>{let{x:i,y:a}=n.transformPoint({x:e.x,y:e.y}),{x:o,y:s}=n.transformPoint({x:e.x+e.width,y:e.y}),{x:c,y:l}=n.transformPoint({x:e.x+e.width,y:e.y+e.height}),{x:d,y:f}=n.transformPoint({x:e.x,y:e.y+e.height}),m=Math.min(i,o,c,d),_=Math.max(i,o,c,d)-m,v=Math.min(a,s,l,f);return{x:m,y:v,width:_,height:Math.max(a,s,l,f)-v}}
14,containsPoint:(e,n)=>!(n.x<X.minX(e)||n.x>X.maxX(e)||n.y<X.minY(e)||n.y>X.maxY(e)||Number.isNaN(e.x)||Number.isNaN(e.y)),containsRect:(e,n)=>{for(let i of X.points(n))if(!X.containsPoint(e,i))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,n)=>({x:e.x+n,y:e.y+n,width:Math.max(0,e.width-2*n),height:Math.max(0,e.height-2*n)}),intersects:(e,n)=>!(n.x>=X.maxX(e)||X.maxX(n)<=e.x||n.y>=X.maxY(e)||X.maxY(n)<=e.y),overlapHorizontally:(e,n)=>{let i=X.maxX(e),a=X.maxX(n);return i>n.x&&a>e.x},overlapVertically:(e,n)=>{let i=X.maxY(e),a=X.maxY(n);return i>n.y&&a>e.y},doesNotIntersect:(e,n)=>n.find(n=>X.intersects(n,e))===void 0,isEqual:(e,n)=>X.equals(e,n),cornerPoints:e=>{let n=e.x,i=e.x+e.width,a=e.y,o=e.y+e.height;return[{x:n,y:a},{x:i,y:a},{x:i,y:o},{x:n,y:o}]},midPoints:e=>{let n=e.x,i=e.x+e.width/2,a=e.x+e.width,o=e.y,s=e.y+e.height/2,c=e.y+e.height;return[{x:i,y:o},{x:a,y:s},{x:i,y:c},{x:n,y:s}]},pointDistance:(e,n)=>{let i=0,a=0;return n.x<e.x?i=e.x-n.x:n.x>X.maxX(e)&&(i=n.x-X.maxX(e)),n.y<e.y?a=e.y-n.y:n.y>X.maxY(e)&&(a=n.y-X.maxY(e)),Point.distance({x:i,y:a},{x:0,y:0})},delta:(e,n)=>{let i={x:X.minX(e),y:X.minY(e)},a={x:X.minX(n),y:X.minY(n)};return{x:i.x-a.x,y:i.y-a.y}},withMinSize:(e,n)=>{let{width:i,height:a}=n,o=e.width-i,s=e.height-a;return{width:Math.max(e.width,i),height:Math.max(e.height,a),x:e.width<i?e.x+o/2:e.x,y:e.height<a?e.y+s/2:e.y}},anyPointsOutsideRect:(e,n)=>{let i=X.minX(e),a=X.minY(e),o=X.maxX(e),s=X.maxY(e);for(let e of n)if(e.x<i||e.x>o||e.y<a||e.y>s)return!0;return!1},edges:e=>{let[n,i,a,o]=X.cornerPoints(e);return[Ta(n,i),Ta(i,a),Ta(a,o),Ta(o,n)]},rebaseRectOnto:(e,n,i,a)=>{let o={...e};switch(i){case`bottom`:case`top`:switch(a){case`start`:o.x=n.x;break;case`center`:o.x=n.x+n.width/2-e.width/2;break;case`end`:o.x=n.x+n.width-e.width;break;default:assertNever(a)}break;case`left`:o.x=n.x-e.width;break;case`right`:o.x=n.x+n.width;break;default:assertNever(i)}switch(i){case`left`:case`right`:switch(a){case`start`:o.y=n.y;break;case`center`:o.y=n.y+n.height/2-e.height/2;break;case`end`:o.y=n.y+n.height-e.height;break;default:assertNever(a)}break;case`top`:o.y=n.y-e.height;break;case`bottom`:o.y=n.y+n.height;break;default:assertNever(i)}return o},constrain:(e,n)=>{if(!n)return e;let i=Math.max(e.y,n.y);i=Math.min(i,n.y+n.height-e.height);let a=Math.max(e.x,n.x);return a=Math.min(a,n.x+n.width-e.width),{x:a,y:i,width:e.width,height:e.height}},closestEdge:(e,n)=>{let i=Ta(n,X.center(e)),a=X.edges(e);for(let e=0;e<a.length;e++){let n=a[e];if(n&&Ta.intersection(i,n,!0)){let i=Ea[e];return assert(i,()=>`Invalid edge name: ${JSON.stringify(Ea)}`),{edge:n,name:i}}}},closestRect:(e,n)=>{let i=0,a=e[0];assert(a,`Rect array is empty`);let o=X.pointDistance(a,n);for(let s=1;s<e.length;s+=1){let c=e[s];assert(c);let l=X.pointDistance(c,n);if(l<o&&(i=s,a=c,o=l),o===0)break}return{rect:a,index:i}}},Ea=[`top`,`right`,`bottom`,`left`];function isAutoDimensionType(e){return isUndefined(e)?!1:e===2||e===5}var Da={quickfix:e=>((isAutoDimensionType(e.widthType)||isAutoDimensionType(e.heightType))&&(e.aspectRatio=null),isFiniteNumber(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||isAutoDimensionType(e.widthType)||isFiniteNumber(e.maxWidth))&&(e.right=!1),e.widthType=0),e.top&&e.bottom&&((e.fixedSize||isAutoDimensionType(e.heightType)||isFiniteNumber(e.maxHeight))&&(e.bottom=!1),e.heightType=0),e)};function valueToDimensionType(e){if(typeof e==`string`){let n=e.trim();if(n===`auto`)return 2;if(n.endsWith(`fr`))return 3;if(n.endsWith(`%`))return 1;if(n.endsWith(`vw`)||n.endsWith(`vh`))return 4}return 0}var Oa={fromProperties:e=>{let{left:n,right:i,top:a,bottom:o,width:s,height:c,centerX:l,centerY:d,aspectRatio:f,autoSize:m}
14=e,_=Da.quickfix({left:isFiniteNumber(n)||isAnimatable2(n),right:isFiniteNumber(i)||isAnimatable2(i),top:isFiniteNumber(a)||isAnimatable2(a),bottom:isFiniteNumber(o)||isAnimatable2(o),widthType:valueToDimensionType(s),heightType:valueToDimensionType(c),aspectRatio:f||null,fixedSize:m===!0}),v=null,y=null,x=0,S=0;if(_.widthType!==0&&typeof s==`string`){let e=parseFloat(s);s.endsWith(`fr`)?(x=3,v=e):s===`auto`?x=2:(x=1,v=e/100)}else s!==void 0&&typeof s!=`string`&&(v=ra.getNumber(s));if(_.heightType!==0&&typeof c==`string`){let e=parseFloat(c);c.endsWith(`fr`)?(S=3,y=e):c===`auto`?S=2:(S=1,y=parseFloat(c)/100)}else c!==void 0&&typeof c!=`string`&&(y=ra.getNumber(c));let T=.5,E=.5;return l&&(T=parseFloat(l)/100),d&&(E=parseFloat(d)/100),{left:_.left?ra.getNumber(n):null,right:_.right?ra.getNumber(i):null,top:_.top?ra.getNumber(a):null,bottom:_.bottom?ra.getNumber(o):null,widthType:x,heightType:S,width:v,height:y,aspectRatio:_.aspectRatio||null,centerAnchorX:T,centerAnchorY:E}},toSize:(e,n,i,a)=>{let o=null,s=null,c=n?.sizing?ra.getNumber(n?.sizing.width):null,l=n?.sizing?ra.getNumber(n?.sizing.height):null,d=pinnedOffset(e.left,e.right);if(c&&isFiniteNumber(d))o=c-d;else if(i&&isAutoDimensionType(e.widthType))o=i.width;else if(isFiniteNumber(e.width))switch(e.widthType){case 0:o=e.width;break;case 3:o=a?a.freeSpaceInParent.width/a.freeSpaceUnitDivisor.width*e.width:null;break;case 1:case 4:c&&(o=c*e.width);break;case 2:case 5:break;default:assertNever(e.widthType)}let f=pinnedOffset(e.top,e.bottom);if(l&&isFiniteNumber(f))s=l-f;else if(i&&isAutoDimensionType(e.heightType))s=i.height;else if(isFiniteNumber(e.height))switch(e.heightType){case 0:s=e.height;break;case 3:s=a?a.freeSpaceInParent.height/a.freeSpaceUnitDivisor.height*e.height:null;break;case 1:case 4:l&&(s=l*e.height);break;case 2:case 5:break;default:assertNever(e.heightType)}return sizeAfterApplyingConstraintsAndAspectRatio(o,s,e,{height:l??0,width:c??0},n?.viewport)},toRect:(e,n=null,i=null,a=!1,o=null)=>{let s=e.left||0,c=e.top||0,{width:l,height:d}=Oa.toSize(e,n,i,o),f=n?.positioning??null,m=f?ra.getNumber(f.width):null,_=f?ra.getNumber(f.height):null;e.left===null?m&&e.right!==null?s=m-e.right-l:m&&(s=e.centerAnchorX*m-l/2):s=e.left,e.top===null?_&&e.bottom!==null?c=_-e.bottom-d:_&&(c=e.centerAnchorY*_-d/2):c=e.top;let v={x:s,y:c,width:l,height:d};return a?X.pixelAligned(v):v}},ka=200,Aa=200;function getConstraintValue(e,n,i,a){if(typeof n==`string`){if(n.endsWith(`%`)&&i)switch(e){case`maxWidth`:case`minWidth`:return parseFloat(n)/100*i.width;case`maxHeight`:case`minHeight`:return parseFloat(n)/100*i.height}if(n.endsWith(`vh`)){if(!a)return constraintValueForUncalculatedViewport(e);switch(e){case`maxWidth`:case`minWidth`:return parseFloat(n)/100*a.width;case`maxHeight`:case`minHeight`:return parseFloat(n)/100*a.height}}return parseFloat(n)}return n}function constraintValueForUncalculatedViewport(e){switch(e){case`minWidth`:case`minHeight`:return-1/0;case`maxWidth`:case`maxHeight`:return 1/0;default:assertNever(e,`unknown constraint key`)}}function constrainHeight(e,n,i,a){return n.minHeight&&(e=Math.max(getConstraintValue(`minHeight`,n.minHeight,i,a),e)),n.maxHeight&&(e=Math.min(getConstraintValue(`maxHeight`,n.maxHeight,i,a),e)),e}function constrainWidth(e,n,i,a){return n.minWidth&&(e=Math.max(getConstraintValue(`minWidth`,n.minWidth,i,a),e)),n.maxWidth&&(e=Math.min(getConstraintValue(`maxWidth`,n.maxWidth,i,a),e)),e}function sizeAfterApplyingConstraintsAndAspectRatio(e,n,i,a,o){let s=constrainWidth(isFiniteNumber(e)?e:ka,i,a,o),c=constrainHeight(isFiniteNumber(n)?n:Aa,i,a,o);return isFiniteNumber(i.aspectRatio)&&i.aspectRatio>0&&(isFiniteNumber(i.left)&&isFiniteNumber(i.right)?c=s/i.aspectRatio:isFiniteNumber(i.top)&&isFiniteNumber(i.bottom)||i.widthType===0?s=c*i.aspectRatio:c=s/i.aspectRatio),{width:s,height:c}}function pinnedOffset(e,n){return!isFiniteNumber(e)||!isFiniteNumber(n)?null:e+n}function containsInvalidStringValues(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 constraintsEnabled(e){return!e._constraints||containsInvalidStringValues(e)?!1:e._constraints.enabled}function sizeFromFiniteNumberProps(e){let{size:n}=e,{width:i,height:a}=e;return isFiniteNumber(n)&&(i===void 0&&(i=n),a===void 0&&(a=n)),isFiniteNumber(i)&&isFiniteNumber(a)?{width:i,height:a}:null}function rectFromFiniteNumberProps(e){let n=sizeFromFiniteNumberProps(e);if(n===null)return null;let{left:i,top:a}=e;return isFiniteNumber(i)&&isFiniteNumber(a)?{x:i,y:a,...n}:null}function calculateRect(e,n,i=!0){if(e.positionFixed||e.positionAbsolute)return null;let a=n===1||n===2;if(!constraintsEnabled(e)||a)return rectFromFiniteNumberProps(e);let o=getConstraintValues(e),s=deprecatedParentSize(n),c=s?{sizing:s,positioning:s,viewport:null}:null;return Oa.toRect(o,c,null,i,null)}function getConstraintValues(e){let{left:n,right:i,top:a,bottom:o,center:s,_constraints:c,size:l}=e,{width:d,height:f}=e;d===void 0&&(d=l),f===void 0&&(f=l);let{aspectRatio:m,autoSize:_}=c,v=Da.quickfix({left:isFiniteNumber(n),right:isFiniteNumber(i),top:isFiniteNumber(a),bottom:isFiniteNumber(o),widthType:valueToDimensionType(d),heightType:valueToDimensionType(f),aspectRatio:m||null,fixedSize:_===!0}
14),y=null,x=null,S=0,T=0;if(v.widthType!==0&&typeof d==`string`){let e=parseFloat(d);d.endsWith(`fr`)?(S=3,y=e):d===`auto`?S=2:(S=1,y=e/100)}else d!==void 0&&typeof d!=`string`&&(y=d);if(v.heightType!==0&&typeof f==`string`){let e=parseFloat(f);f.endsWith(`fr`)?(T=3,x=e):f===`auto`?T=2:(T=1,x=parseFloat(f)/100)}else f!==void 0&&typeof f!=`string`&&(x=f);let E=.5,O=.5;return(s===!0||s===`x`)&&(v.left=!1,typeof n==`string`&&(E=parseFloat(n)/100)),(s===!0||s===`y`)&&(v.top=!1,typeof a==`string`&&(O=parseFloat(a)/100)),{left:v.left?n:null,right:v.right?i:null,top:v.top?a:null,bottom:v.bottom?o:null,widthType:S,heightType:T,width:y,height:x,aspectRatio:v.aspectRatio||null,centerAnchorX:E,centerAnchorY:O,minHeight:e.minHeight,maxHeight:e.maxHeight,minWidth:e.minWidth,maxWidth:e.maxWidth}}var ja=f.createContext({parentSize:0});function deprecatedParentSize(e){return e===0||e===1||e===2?null:e}function useParentSize(){return f.useContext(ja).parentSize}function getIntrinsicSizeForBackgroundImage(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 htmlElementAsMotionComponent(e){return e&&e!==`search`&&e!==`slot`&&e!==`template`?gr[e]:gr.div}function LazyProp(e){let n=!1,i;return{get value(){return n||=(i=e(),!0),i}}}var Ma=f.createContext(void 0),Na=new Set,Pa;function injectCSSRule(e,n,i=Na){if(!(!e||i.has(e)||typeof document>`u`)){if(i.add(e),!n){if(!Pa){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)Pa=e.sheet;else{console.warn(`not injecting CSS: injected <style> element does not have a sheet`,e);return}}n=Pa}try{n.insertRule(e,n.cssRules.length)}catch{}}}var Fa=`style[data-framer-css-ssr-minified]`,Ia=(()=>{if(!isBrowser22())return new Set;let e=document.querySelector(Fa)?.getAttribute(`data-framer-components`);return e?new Set(e.split(` `)):new Set})();function currentCSSRenderTarget(){return isScreenshotFramerHost()?Y.preview:Y.current()}var La=n((e,n,i)=>f.forwardRef((a,o)=>{let{sheet:s,cache:c}=f.useContext(Ma)??{},d=i;if(!isBrowser22()){isFunction(n)&&(n=n(currentCSSRenderTarget(),a));let e=Array.isArray(n)?n.join(` 15`):n;Ra.add(e,d)}return(0,f.useInsertionEffect)(()=>{d&&Ia.has(d)||(isFunction(n)?n(currentCSSRenderTarget(),a):Array.isArray(n)?n:n.split(` 16`)).forEach(e=>e&&injectCSSRule(e,s,c))},[]),(0,l.jsx)(e,{suppressHydrationWarning:!0,...a,ref:o})}),`withCSS`),CSSCollector=class{styles=new Set;componentIds=new Set;add(e,n){this.styles.add(e),n&&this.componentIds.add(n)}getStyles(){return this.styles}getComponentIds(){return this.componentIds}clear(){this.styles.clear(),this.componentIds.clear()}},Ra=new CSSCollector,za=[`[data-framer-component-type="DeprecatedRichText"] { cursor: inherit; }`,` 17[data-framer-component-type="DeprecatedRichText"] .text-styles-preset-reset { 18 --framer-font-family: Inter, Inter Placeholder, sans-serif; 19 --framer-font-style: normal; 20 --framer-font-weight: 500; 21 --framer-text-color: #000; 22 --framer-font-size: 16px; 23 --framer-letter-spacing: 0; 24 --framer-text-transform: none; 25 --framer-text-decoration: none; 26 --framer-line-height: 1.2em; 27 --framer-text-alignment: start; 28 --framer-font-open-type-features: normal; 29 --font-variation-settings: normal; 30} 31`,` 32[data-framer-component-type="DeprecatedRichText"] p, 33[data-framer-component-type="DeprecatedRichText"] div, 34[data-framer-component-type="DeprecatedRichText"] h1, 35[data-framer-component-type="DeprecatedRichText"] h2, 36[data-framer-component-type="DeprecatedRichText"] h3, 37[data-framer-component-type="DeprecatedRichText"] h4, 38[data-framer-component-type="DeprecatedRichText"] h5, 39[data-framer-component-type="DeprecatedRichText"] h6 { 40 margin: 0; 41 padding: 0; 42} 43`,` 44[data-framer-component-type="DeprecatedRichText"] p, 45[data-framer-component-type="DeprecatedRichText"] div, 46[data-framer-component-type="DeprecatedRichText"] h1, 47[data-framer-component-type="DeprecatedRichText"] h2, 48[data-framer-component-type="DeprecatedRichText"] h3, 49[data-framer-component-type="DeprecatedRichText"] h4, 50[data-framer-component-type="DeprecatedRichText"] h5, 51[data-framer-component-type="DeprecatedRichText"] h6, 52[data-framer-component-type="DeprecatedRichText"] li, 53[data-framer-component-type="DeprecatedRichText"] ol, 54[data-framer-component-type="DeprecatedRichText"] ul, 55[data-framer-component-type="DeprecatedRichText"] span:not([data-text-fill]) { 56 font-family: var(--framer-font-family, Inter, Inter Placeholder, sans-serif); 57 font-style: var(--framer-font-style, normal);
58 font-weight: var(--framer-font-weight, 400); 59 color: var(--framer-text-color, #000); 60 font-size: var(--framer-font-size, 16px); 61 letter-spacing: var(--framer-letter-spacing, 0); 62 text-transform: var(--framer-text-transform, none); 63 text-decoration: var(--framer-text-decoration, none); 64 line-height: var(--framer-line-height, 1.2em); 65 text-align: var(--framer-text-alignment, start); 66} 67`,` 68[data-framer-component-type="DeprecatedRichText"] p:not(:first-child), 69[data-framer-component-type="DeprecatedRichText"] div:not(:first-child), 70[data-framer-component-type="DeprecatedRichText"] h1:not(:first-child), 71[data-framer-component-type="DeprecatedRichText"] h2:not(:first-child), 72[data-framer-component-type="DeprecatedRichText"] h3:not(:first-child), 73[data-framer-component-type="DeprecatedRichText"] h4:not(:first-child), 74[data-framer-component-type="DeprecatedRichText"] h5:not(:first-child), 75[data-framer-component-type="DeprecatedRichText"] h6:not(:first-child), 76[data-framer-component-type="DeprecatedRichText"] ol:not(:first-child), 77[data-framer-component-type="DeprecatedRichText"] ul:not(:first-child), 78[data-framer-component-type="DeprecatedRichText"] .framer-image:not(:first-child) { 79 margin-top: var(--framer-paragraph-spacing, 0); 80} 81`,` 82[data-framer-component-type="DeprecatedRichText"] span[data-text-fill] { 83 display: inline-block; 84 background-clip: text; 85 -webkit-background-clip: text; 86 -webkit-text-fill-color: transparent; 87} 88`,` 89[data-framer-component-type="DeprecatedRichText"] a, 90[data-framer-component-type="DeprecatedRichText"] a span:not([data-text-fill]) { 91 font-family: var(--framer-link-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif)); 92 font-style: var(--framer-link-font-style, var(--framer-font-style, normal)); 93 font-weight: var(--framer-link-font-weight, var(--framer-font-weight, 400)); 94 color: var(--framer-link-text-color, var(--framer-text-color, #000)); 95 font-size: var(--framer-link-font-size, var(--framer-font-size, 16px)); 96 text-transform: var(--framer-link-text-transform, var(--framer-text-transform, none)); 97 text-decoration: var(--framer-link-text-decoration, var(--framer-text-decoration, none)); 98} 99`,` 100[data-framer-component-type="DeprecatedRichText"] a:hover, 101[data-framer-component-type="DeprecatedRichText"] a:hover span:not([data-text-fill]) { 102 font-family: var(--framer-link-hover-font-family, var(--framer-link-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif))); 103 font-style: var(--framer-link-hover-font-style, var(--framer-link-font-style, var(--framer-font-style, normal)));
104 font-weight: var(--framer-link-hover-font-weight, var(--framer-link-font-weight, var(--framer-font-weight, 400))); 105 color: var(--framer-link-hover-text-color, var(--framer-link-text-color, var(--framer-text-color, #000))); 106 font-size: var(--framer-link-hover-font-size, var(--framer-link-font-size, var(--framer-font-size, 16px))); 107 text-transform: var(--framer-link-hover-text-transform, var(--framer-link-text-transform, var(--framer-text-transform, none))); 108 text-decoration: var(--framer-link-hover-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration, none))); 109} 110`,` 111[data-framer-component-type="DeprecatedRichText"] a[data-framer-page-link-current], 112[data-framer-component-type="DeprecatedRichText"] a[data-framer-page-link-current] span:not([data-text-fill]):not([data-nested-link]) { 113 font-family: var(--framer-link-current-font-family, var(--framer-link-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif))); 114 font-style: var(--framer-link-current-font-style, var(--framer-link-font-style, var(--framer-font-style, normal))); 115 font-weight: var(--framer-link-current-font-weight, var(--framer-link-font-weight, var(--framer-font-weight, 400))); 116 color: var(--framer-link-current-text-color, var(--framer-link-text-color, var(--framer-text-color, #000))); 117 font-size: var(--framer-link-current-font-size, var(--framer-link-font-size, var(--framer-font-size, 16px))); 118 text-transform: var(--framer-link-current-text-transform, var(--framer-link-text-transform, var(--framer-text-transform, none))); 119 text-decoration: var(--framer-link-current-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration, none))); 120} 121`,` 122[data-framer-component-type="DeprecatedRichText"] a[data-framer-page-link-current]:hover, 123[data-framer-component-type="DeprecatedRichText"] a[data-framer-page-link-current]:hover span:not([data-text-fill]):not([data-nested-link]) { 124 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)))); 125 font-style: var(--framer-link-hover-font-style, var(--framer-link-current-font-style, var(--framer-link-font-style, var(--framer-font-style, normal))));
126 font-weight: var(--framer-link-hover-font-weight, var(--framer-link-current-font-weight, var(--framer-link-font-weight, var(--framer-font-weight, 400)))); 127 color: var(--framer-link-hover-text-color, var(--framer-link-current-text-color, var(--framer-link-text-color, var(--framer-text-color, #000)))); 128 font-size: var(--framer-link-hover-font-size, var(--framer-link-current-font-size, var(--framer-link-font-size, var(--framer-font-size, 16px)))); 129 text-transform: var(--framer-link-hover-text-transform, var(--framer-link-current-text-transform, var(--framer-link-text-transform, var(--framer-text-transform, none)))); 130 text-decoration: var(--framer-link-hover-text-decoration, var(--framer-link-current-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration, none)))); 131} 132`,` 133[data-framer-component-type="DeprecatedRichText"] strong { 134 font-weight: bolder; 135} 136`,` 137[data-framer-component-type="DeprecatedRichText"] em { 138 font-style: italic; 139} 140`,` 141[data-framer-component-type="DeprecatedRichText"] .framer-image { 142 display: block; 143 max-width: 100%; 144 height: auto; 145} 146`,` 147[data-framer-component-type="DeprecatedRichText"] ul, 148[data-framer-component-type="DeprecatedRichText"] ol { 149 display: table; 150 width: 100%; 151 padding-left: 0; 152 margin: 0; 153} 154`,` 155[data-framer-component-type="DeprecatedRichText"] li { 156 display: table-row; 157 counter-increment: list-item; 158 list-style: none; 159} 160`,` 161[data-framer-component-type="DeprecatedRichText"] ol > li::before { 162 display: table-cell; 163 width: 2.25ch; 164 box-sizing: border-box; 165 padding-right: 0.75ch; 166 content: counter(list-item) "."; 167 white-space: nowrap; 168} 169`,` 170[data-framer-component-type="DeprecatedRichText"] ul > li::before { 171 display: table-cell; 172 width: 2.25ch; 173 box-sizing: border-box; 174 padding-right: 0.75ch; 175 content: "â¢"; 176} 177`],Ba=(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.IconContent=`--framer-input-icon-content`,e.WrapperHeight=`--framer-input-wrapper-height`,e))(Ba||{}),Z=Ba,Va=`framer-form-input`,Ha=`framer-form-input-wrapper`,Ua=`framer-form-input-empty`,Wa=`framer-form-input-forced-focus`;function cssValue(e){return typeof e==`number`?e:e.startsWith(`--`)?Q.variable(e):e===``?`""`:e}var Q=(()=>{function css22(e,n){let i=` `;for(let e in n){let a=n[e];assert(a!==void 0,"Encountered `undefined` in CSSDeclaration"),i+=`${e.replace(/([A-Z])/gu,`-$1`).toLowerCase()}: ${cssValue(a)}; `}return e+` {`+i+`}`}return css22.variable=(...e)=>{let n=e[e.length-1];assert(n!==void 0,"Zero variables passed to `css.variable`");let i=n.startsWith(`--`)?`var(${n})`:n;for(let n=e.length-2;n>=0;n--)i=`var(${e[n]}, ${i})`;return i},css22})(),Ga=[Q(`.${Va}`,{padding:Q.variable(Z.Padding),background:`transparent`,fontFamily:Q.variable(Z.FontFamily),fontWeight:Q.variable(Z.FontWeight),fontSize:Q.variable(Z.FontSize),fontStyle:Q.variable(Z.FontStyle),color:Q.variable(Z.FontColor),fontFeatureSettings:Q.variable(Z.FontOpenType),fontVariationSettings:Q.variable(Z.FontVariationAxes),border:`none`,textOverflow:`ellipsis`,whiteSpace:`nowrap`,overflow:`hidden`,width:`100%`,height:Q.variable(Z.WrapperHeight,`100%`),letterSpacing:Q.variable(Z.FontLetterSpacing),textAlign:Q.variable(Z.FontTextAlignment),lineHeight:Q.variable(Z.FontLineHeight)}),Q(`.${Va}:focus-visible`,{outline:`none`})],Ka=[Q(`.${Ha}`,{overflow:`hidden`})],qa=`var(${Z.BorderTopWidth}) var(${Z.BorderRightWidth}) var(${Z.BorderBottomWidth}) var(${Z.BorderLeftWidth})`,Ja=[`.${Ha}:after { 178 content: ""; 179 pointer-events: none; 180 box-sizing: border-box; 181 position: absolute; 182 top: 0; 183 left: 0; 184 width: 100%; 185 height: 100%; 186 border-top-left-radius: var(${Z.BorderRadiusTopLeft}); 187 border-top-right-radius: var(${Z.BorderRadiusTopRight}); 188 border-bottom-right-radius: var(${Z.BorderRadiusBottomRight}); 189 border-bottom-left-radius: var(${Z.BorderRadiusBottomLeft}); 190 corner-shape: var(${Z.CornerShape}); 191 border-color: var(${Z.BorderColor}); 192 border-top-width: var(${Z.BorderTopWidth}); 193 border-right-width: var(${Z.BorderRightWidth}); 194 border-bottom-width: var(${Z.BorderBottomWidth}); 195 border-left-width: var(${Z.BorderLeftWidth}); 196 border-style: var(${Z.BorderStyle}); 197 transition: var(${Z.FocusedTransition}); 198 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; 199 }`],Ya=`customError`,Xa=`valid`;
199function isRelevantValidityStateKey(e){return e!==Ya&&e!==Xa}function isInvalid(e){for(let n in e)if(isRelevantValidityStateKey(n)&&e?.[n]===!0)return!0;return!1}function useCustomValidity(e,n,i,a,o){let s=f.useRef(null),c=f.useCallback(e=>{n&&s.current!==!1&&(s.current=!1,e.currentTarget.setCustomValidity(` `),e.currentTarget.reportValidity(),n(e))},[n]),l=f.useCallback(a=>{if(i?.(a),!n&&!e)return;let o=a.target.validity;s.current===!1&&!isInvalid(o)&&(a.currentTarget.setCustomValidity(``),a.target.reportValidity(),s.current=!0,e?.())},[n,e,i]),d=f.useCallback(e=>{if(!n){a?.(e);return}if(s.current===!1)return;let i=e.currentTarget.validity;if(isInvalid(i)){c(e);return}a?.(e)},[c,a,n]);return f.useMemo(()=>({onInvalid:c,onChange:l,onBlur:d,onFocus:o}),[c,l,d,o])}var Za=10,Qa=8,$a=16,eo={backgroundRepeat:`no-repeat`,backgroundSize:`${$a}px`,maskRepeat:`no-repeat`,maskSize:`${$a}px`,backgroundColor:Q.variable(Z.IconColor)},to={content:``,display:`block`,position:`absolute`,right:0,top:0,bottom:0,width:`${$a}px`,boxSizing:`content-box`,padding:Q.variable(Z.Padding),border:`none`,pointerEvents:`none`,...eo},no=`--list-style-type`,ro=`--max-list-digits`;function getMaxListDigits(e,n,i){let a=e+Math.max(n,1)-1;switch(i){case`decimal`:return decimalMaxListDigits(a);case`lower-alpha`:case`upper-alpha`:case`lower-latin`:case`upper-latin`:return alphaMaxListDigits(a);case`lower-roman`:case`upper-roman`:return romanMaxListDigits(a);default:return decimalMaxListDigits(a)}}function decimalMaxListDigits(e){return String(e).length}function alphaMaxListDigits(e){let n=1;for(;letterPermutations(n)<e;)n++;return n}function letterPermutations(e){let n=0;for(let i=0;i<e;i++)n+=26**(i+1);return n}var io=[1,2,3,8,18,28,38,88,188,288,388,888];function romanMaxListDigits(e){let n=0;for(let i of io){if(e<i)return n;n++}let i=Math.floor((e-888)/1e3);return i>=1?Math.max(n,i+12):n}function createRGBVariableFallbacks(e,n){return Q.variable(...e.flatMap(e=>[`${e}-rgb`,e]),n)}var ao={display:`flex`,flexDirection:`column`,justifyContent:`flex-start`},oo={display:`inline-block`},so={display:`block`};function selectComponentChild(e,n){return`${e} > ${n}, ${e} > .ssr-variant > ${n}`}var co=[` 200 [data-framer-component-type="RichTextContainer"] { 201 display: ${ao.display}; 202 flex-direction: ${ao.flexDirection}; 203 justify-content: ${ao.justifyContent}; 204 outline: none; 205 flex-shrink: 0; 206 } 207 `,` 208 p.framer-text, 209 div.framer-text, 210 figure.framer-text, 211 h1.framer-text, 212 h2.framer-text, 213 h3.framer-text, 214 h4.framer-text, 215 h5.framer-text, 216 h6.framer-text, 217 ol.framer-text, 218 ul.framer-text { 219 margin: 0; 220 padding: 0; 221 } 222 `,` 223 p.framer-text, 224 div.framer-text, 225 h1.framer-text, 226 h2.framer-text, 227 h3.framer-text, 228 h4.framer-text, 229 h5.framer-text, 230 h6.framer-text, 231 li.framer-text, 232 ol.framer-text, 233 ul.framer-text, 234 mark.framer-text, 235 span.framer-text:not([data-text-fill]) { 236 font-family: var(--framer-font-family-preview, var(--framer-blockquote-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif))); 237 font-style: var(--framer-font-style-preview, var(--framer-blockquote-font-style, var(--framer-font-style, normal))); 238 font-weight: var(--framer-font-weight-preview, var(--framer-blockquote-font-weight, var(--framer-font-weight, 400))); 239 color: var(--framer-blockquote-text-color, var(--framer-text-color, #000)); 240 font-size: calc(var(--framer-blockquote-font-size, var(--framer-font-size, 16px)) * var(--framer-font-size-scale, 1)); 241 letter-spacing: var(--framer-blockquote-letter-spacing, var(--framer-letter-spacing, 0)); 242 text-transform: var(--framer-blockquote-text-transform, var(--framer-text-transform, none)); 243 text-decoration-line: var(--framer-blockquote-text-decoration, var(--framer-text-decoration, initial)); 244 text-decoration-style: var(--framer-blockquote-text-decoration-style, var(--framer-text-decoration-style, initial)); 245 text-decoration-color: var(--framer-blockquote-text-decoration-color, var(--framer-text-decoration-color, initial)); 246 text-decoration-thickness: var(--framer-blockquote-text-decoration-thickness, var(--framer-text-decoration-thickness, initial)); 247 text-decoration-skip-ink: var(--framer-blockquote-text-decoration-skip-ink, var(--framer-text-decoration-skip-ink, initial)); 248 text-underline-offset: var(--framer-blockquote-text-decoration-offset, var(--framer-text-decoration-offset, initial)); 249 line-height: var(--framer-blockquote-line-height, var(--framer-line-height, 1.2em)); 250 text-align: var(--framer-blockquote-text-alignment, var(--framer-text-alignment, start)); 251 -webkit-text-stroke-width: var(--framer-text-stroke-width, initial); 252 -webkit-text-stroke-color: var(--framer-text-stroke-color, initial); 253 -moz-font-feature-settings: var(--framer-font-open-type-features, initial); 254 -webkit-font-feature-settings: var(--framer-font-open-type-features, initial); 255 font-feature-settings: var(--framer-font-open-type-features, initial); 256 font-variation-settings: var(--framer-font-variation-axes-preview, var(--framer-font-variation-axes, normal)); 257 text-wrap: var(--framer-text-wrap-override, var(--framer-text-wrap)); 258 } 259 `,` 260 mark.framer-text, 261 p.framer-text, 262 div.framer-text, 263 h1.framer-text, 264 h2.framer-text, 265 h3.framer-text, 266 h4.framer-text, 267 h5.framer-text, 268 h6.framer-text, 269 li.framer-text, 270 ol.framer-text, 271 ul.framer-text { 272 background-color: var(--framer-blockquote-text-background-color, var(--framer-text-background-color, initial)); 273 border-radius: var(--framer-blockquote-text-background-radius, var(--framer-text-background-radius, initial)); 274 corner-shape: var(--framer-blockquote-text-background-corner-shape, var(--framer-text-background-corner-shape, initial)); 275 padding: var(--framer-blockquote-text-background-padding, var(--framer-text-background-padding, initial)); 276 } 277 `,` 278 @supports not (color: color(display-p3 1 1 1)) { 279 p.framer-text, 280 div.framer-text, 281 h1.framer-text, 282 h2.framer-text, 283 h3.framer-text, 284 h4.framer-text, 285 h5.framer-text, 286 h6.framer-text, 287 li.framer-text, 288 ol.framer-text, 289 ul.framer-text, 290 span.framer-text:not([data-text-fill]) { 291 color: ${createRGBVariableFallbacks([`--framer-blockquote-text-color`,`--framer-text-color`],`#000`)}; 292 -webkit-text-stroke-color: ${createRGBVariableFallbacks([`--framer-text-stroke-color`],`initial`)}; 293 } 294 295 mark.framer-text { 296 background-color: ${createRGBVariableFallbacks([`--framer-blockquote-text-background-color`,`--framer-text-background-color`],`initial`)}; 297 } 298 } 299 `,` 300 .framer-fit-text .framer-text { 301 white-space: nowrap; 302 white-space-collapse: preserve; 303 } 304 `,` 305 strong.framer-text { 306 font-family: var(--framer-blockquote-font-family-bold, var(--framer-font-family-bold)); 307 font-style: var(--framer-blockquote-font-style-bold, var(--framer-font-style-bold));
308 font-weight: var(--framer-blockquote-font-weight-bold, var(--framer-font-weight-bold, bolder)); 309 font-variation-settings: var(--framer-blockquote-font-variation-axes-bold, var(--framer-font-variation-axes-bold)); 310 } 311 `,` 312 em.framer-text { 313 font-family: var(--framer-blockquote-font-family-italic, var(--framer-font-family-italic)); 314 font-style: var(--framer-blockquote-font-style-italic, var(--framer-font-style-italic, italic)); 315 font-weight: var(--framer-blockquote-font-weight-italic, var(--framer-font-weight-italic)); 316 font-variation-settings: var(--framer-blockquote-font-variation-axes-italic, var(--framer-font-variation-axes-italic)); 317 } 318 `,` 319 em.framer-text > strong.framer-text { 320 font-family: var(--framer-blockquote-font-family-bold-italic, var(--framer-font-family-bold-italic)); 321 font-style: var(--framer-blockquote-font-style-bold-italic, var(--framer-font-style-bold-italic, italic)); 322 font-weight: var(--framer-blockquote-font-weight-bold-italic, var(--framer-font-weight-bold-italic, bolder)); 323 font-variation-settings: var(--framer-blockquote-font-variation-axes-bold-italic, var(--framer-font-variation-axes-bold-italic)); 324 } 325 `,` 326 p.framer-text:not(:first-child), 327 div.framer-text:not(:first-child), 328 h1.framer-text:not(:first-child), 329 h2.framer-text:not(:first-child), 330 h3.framer-text:not(:first-child), 331 h4.framer-text:not(:first-child), 332 h5.framer-text:not(:first-child), 333 h6.framer-text:not(:first-child), 334 ol.framer-text:not(:first-child), 335 ul.framer-text:not(:first-child), 336 blockquote.framer-text:not(:first-child), 337 table.framer-text:not(:first-child), 338 figure.framer-text:not(:first-child), 339 .framer-image.framer-text:not(:first-child) { 340 margin-top: var(--framer-blockquote-paragraph-spacing, var(--framer-paragraph-spacing, 0)); 341 } 342 `,` 343 li.framer-text > ul.framer-text:nth-child(2), 344 li.framer-text > ol.framer-text:nth-child(2) { 345 margin-top: 0; 346 } 347 `,` 348 .framer-text[data-text-fill] { 349 display: ${oo.display}; 350 background-clip: text; 351 -webkit-background-clip: text; 352 /* make this a transparent color if you want to visualise the clipping */ 353 -webkit-text-fill-color: transparent; 354 padding: max(0em, calc(calc(1.3em - var(--framer-blockquote-line-height, var(--framer-line-height, 1.3em))) / 2)); 355 margin: min(0em, calc(calc(1.3em - var(--framer-blockquote-line-height, var(--framer-line-height, 1.3em))) / -2)); 356 } 357 `,` 358 code.framer-text, 359 code.framer-text span.framer-text:not([data-text-fill]) { 360 font-family: var(--framer-code-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif)); 361 font-style: var(--framer-blockquote-font-style, var(--framer-code-font-style, var(--framer-font-style, normal))); 362 font-weight: var(--framer-blockquote-font-weight, var(--framer-code-font-weight, var(--framer-font-weight, 400))); 363 color: var(--framer-blockquote-text-color, var(--framer-code-text-color, var(--framer-text-color, #000))); 364 font-size: calc(var(--framer-blockquote-font-size, var(--framer-font-size, 16px)) * var(--framer-font-size-scale, 1)); 365 letter-spacing: var(--framer-blockquote-letter-spacing, var(--framer-letter-spacing, 0)); 366 line-height: var(--framer-blockquote-line-height, var(--framer-line-height, 1.2em)); 367 } 368 `,` 369 @supports not (color: color(display-p3 1 1 1)) { 370 code.framer-text, 371 code.framer-text span.framer-text:not([data-text-fill]) { 372 color: ${createRGBVariableFallbacks([`--framer-blockquote-text-color`,`--framer-code-text-color`,`--framer-text-color`],`#000`)}; 373 } 374 } 375 `,` 376 blockquote.framer-text { 377 margin-block-start: initial; 378 margin-block-end: initial; 379 margin-inline-start: initial; 380 margin-inline-end: initial; 381 unicode-bidi: initial; 382 } 383 `,` 384 a.framer-text, 385 a.framer-text span.framer-text:not([data-text-fill]), 386 span.framer-text[data-nested-link], 387 span.framer-text[data-nested-link] span.framer-text:not([data-text-fill]) { 388 /* Ensure the color is inherited from the link style rather than the parent text for nested spans */ 389 color: inherit; 390 font-family: var(--framer-font-family-preview, var(--framer-link-font-family, var(--framer-blockquote-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif)))); 391 font-style: var(--framer-font-style-preview, var(--framer-link-font-style, var(--framer-blockquote-font-style, var(--framer-font-style, normal))));
392 font-weight: var(--framer-font-weight-preview, var(--framer-link-font-weight, var(--framer-blockquote-font-weight, var(--framer-font-weight, 400)))); 393 font-size: calc(var(--framer-blockquote-font-size, var(--framer-font-size, 16px)) * var(--framer-font-size-scale, 1)); 394 text-transform: var(--framer-link-text-transform, var(--framer-blockquote-text-transform, var(--framer-text-transform, none))); 395 /* Cursor inherit to overwrite the user agent stylesheet on rich text links. */ 396 cursor: var(--framer-custom-cursors, pointer); 397 /* Don't inherit background styles from any parent text style. */ 398 background-color: initial; 399 border-radius: var(--framer-link-text-background-radius, initial); 400 corner-shape: var(--framer-link-text-background-corner-shape, initial); 401 padding: var(--framer-link-text-background-padding, initial); 402 } 403 `,` 404 a.framer-text, 405 span.framer-text[data-nested-link] { 406 color: var(--framer-link-text-color, var(--framer-blockquote-text-color, var(--framer-text-color, #000))); 407 text-decoration-line: var(--framer-link-text-decoration, var(--framer-blockquote-text-decoration, var(--framer-text-decoration, initial))); 408 text-decoration-style: var(--framer-link-text-decoration-style, var(--framer-blockquote-text-decoration-style, var(--framer-text-decoration-style, initial))); 409 text-decoration-color: var(--framer-link-text-decoration-color, var(--framer-blockquote-text-decoration-color, var(--framer-text-decoration-color, initial))); 410 text-decoration-thickness: var(--framer-link-text-decoration-thickness, var(--framer-blockquote-text-decoration-thickness, var(--framer-text-decoration-thickness, initial))); 411 text-decoration-skip-ink: var(--framer-link-text-decoration-skip-ink, var(--framer-blockquote-text-decoration-skip-ink, var(--framer-text-decoration-skip-ink, initial))); 412 text-underline-offset: var(--framer-link-text-decoration-offset, var(--framer-blockquote-text-decoration-offset, var(--framer-text-decoration-offset, initial))); 413 /* Don't inherit background styles from any parent text style. */ 414 background-color: var(--framer-link-text-background-color, initial); 415 } 416 `,` 417 @supports not (color: color(display-p3 1 1 1)) { 418 a.framer-text, 419 span.framer-text[data-nested-link] { 420 color: ${createRGBVariableFallbacks([`--framer-link-text-color`,`--framer-blockquote-text-color`,`--framer-text-color`],`#000`)}; 421 background-color: ${createRGBVariableFallbacks([`--framer-link-text-background-color`],`initial`)}; 422 text-decoration-color: ${createRGBVariableFallbacks([`--framer-link-text-decoration-color`,`--framer-text-decoration-color`],`currentcolor`)}; 423 } 424 } 425 `,` 426 code.framer-text a.framer-text, 427 code.framer-text a.framer-text span.framer-text:not([data-text-fill]), 428 code.framer-text span.framer-text[data-nested-link], 429 code.framer-text span.framer-text[data-nested-link] span.framer-text:not([data-text-fill]) { 430 font-family: var(--framer-code-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif)); 431 font-style: var(--framer-blockquote-font-style, var(--framer-code-font-style, var(--framer-font-style, normal))); 432 font-weight: var(--framer-blockquote-font-weight, var(--framer-code-font-weight, var(--framer-font-weight, 400))); 433 color: inherit; 434 font-size: calc(var(--framer-blockquote-font-size, var(--framer-font-size, 16px)) * var(--framer-font-size-scale, 1)); 435 } 436`,` 437 code.framer-text a.framer-text, 438 code.framer-text span.framer-text[data-nested-link] { 439 color: var(--framer-link-text-color, var(--framer-blockquote-text-color, var(--framer-code-text-color, var(--framer-text-color, #000)))); 440 } 441`,` 442 @supports not (color: color(display-p3 1 1 1)) { 443 code.framer-text a.framer-text, 444 code.framer-text a.framer-text span.framer-text:not([data-text-fill]), 445 code.framer-text span.framer-text[data-nested-link], 446 code.framer-text span.framer-text[data-nested-link] span.framer-text:not([data-text-fill]) { 447 color: ${createRGBVariableFallbacks([`--framer-link-text-color`,`--framer-blockquote-text-color`,`--framer-code-text-color`,`--framer-text-color`],`#000`)}; 448 } 449 } 450`,` 451 a.framer-text:hover, 452 a.framer-text:hover span.framer-text:not([data-text-fill]), 453 span.framer-text[data-nested-link]:hover, 454 span.framer-text[data-nested-link]:hover span.framer-text:not([data-text-fill]) { 455 font-family: var(--framer-font-family-preview, var(--framer-link-hover-font-family, var(--framer-link-font-family, var(--framer-blockquote-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif))))); 456 font-style: var(--framer-font-style-preview, var(--framer-link-hover-font-style, var(--framer-link-font-style, var(--framer-blockquote-font-style, var(--framer-font-style, normal)))));
457 font-weight: var(--framer-font-weight-preview, var(--framer-link-hover-font-weight, var(--framer-link-font-weight, var(--framer-blockquote-font-weight, var(--framer-font-weight, 400))))); 458 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)); 459 text-transform: var(--framer-link-hover-text-transform, var(--framer-link-text-transform, var(--framer-blockquote-text-transform, var(--framer-text-transform, none)))); 460 border-radius: var(--framer-link-hover-text-background-radius, var(--framer-link-text-background-radius, var(--framer-text-background-radius, initial))); 461 corner-shape: var(--framer-link-hover-text-background-corner-shape, var(--framer-link-text-background-corner-shape, var(--framer-text-background-corner-shape, initial))); 462 padding: var(--framer-link-hover-text-background-padding, var(--framer-link-text-background-padding, var(--framer-text-background-padding, initial))); 463 } 464 `,` 465 a.framer-text:hover, 466 span.framer-text[data-nested-link]:hover { 467 color: var(--framer-link-hover-text-color, var(--framer-link-text-color, var(--framer-blockquote-text-color, var(--framer-text-color, #000)))); 468 text-decoration-line: var(--framer-link-hover-text-decoration, var(--framer-link-text-decoration, var(--framer-blockquote-text-decoration, var(--framer-text-decoration, initial)))); 469 text-decoration-style: var(--framer-link-hover-text-decoration-style, var(--framer-link-text-decoration-style, var(--framer-blockquote-text-decoration-style, var(--framer-text-decoration-style, initial)))); 470 text-decoration-color: var(--framer-link-hover-text-decoration-color, var(--framer-link-text-decoration-color, var(--framer-blockquote-text-decoration-color, var(--framer-text-decoration-color, initial)))); 471 text-decoration-thickness: var(--framer-link-hover-text-decoration-thickness, var(--framer-link-text-decoration-thickness, var(--framer-blockquote-text-decoration-thickness, var(--framer-text-decoration-thickness, initial)))); 472 text-decoration-skip-ink: var(--framer-link-hover-text-decoration-skip-ink, var(--framer-link-text-decoration-skip-ink, var(--framer-blockquote-text-decoration-skip-ink, var(--framer-text-decoration-skip-ink, initial)))); 473 text-underline-offset: var(--framer-link-hover-text-decoration-offset, var(--framer-link-text-decoration-offset, var(--framer-blockquote-text-decoration-offset, var(--framer-text-decoration-offset, initial)))); 474 background-color: var(--framer-link-hover-text-background-color, var(--framer-link-text-background-color, var(--framer-text-background-color, initial))); 475 } 476 `,` 477 @supports not (color: color(display-p3 1 1 1)) { 478 a.framer-text:hover, 479 span.framer-text[data-nested-link]:hover { 480 color: ${createRGBVariableFallbacks([`--framer-link-hover-text-color`,`--framer-link-text-color`,`--framer-blockquote-text-color`,`--framer-text-color`],`#000`)}; 481 background-color: ${createRGBVariableFallbacks([`--framer-link-hover-text-background-color`,`--framer-link-text-background-color`,`--framer-text-background-color`],`initial`)}; 482 text-decoration-color: ${createRGBVariableFallbacks([`--framer-link-hover-text-decoration-color`,`--framer-link-text-decoration-color`,`--framer-text-decoration-color`],`currentcolor`)}; 483 } 484 } 485 `,` 486 code.framer-text a.framer-text:hover, 487 code.framer-text span.framer-text[data-nested-link]:hover { 488 color: var(--framer-link-hover-text-color, var(--framer-link-text-color, var(--framer-blockquote-text-color, var(--framer-code-text-color, var(--framer-text-color, #000))))); 489 } 490 `,` 491 @supports not (color: color(display-p3 1 1 1)) { 492 code.framer-text a.framer-text:hover, 493 code.framer-text span.framer-text[data-nested-link]:hover { 494 color: ${createRGBVariableFallbacks([`--framer-link-hover-text-color`,`--framer-link-text-color`,`--framer-blockquote-text-color`,`--framer-code-text-color`,`--framer-text-color`],`#000`)}; 495 } 496 } 497 `,` 498 a.framer-text[data-framer-page-link-current], 499 a.framer-text[data-framer-page-link-current] span.framer-text:not([data-text-fill]), 500 span.framer-text[data-framer-page-link-current], 501 span.framer-text[data-framer-page-link-current] span.framer-text:not([data-text-fill]) { 502 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)))); 503 font-style: var(--framer-font-style-preview, var(--framer-link-current-font-style, var(--framer-link-font-style, var(--framer-font-style, normal))));
504 font-weight: var(--framer-font-weight-preview, var(--framer-link-current-font-weight, var(--framer-link-font-weight, var(--framer-font-weight, 400)))); 505 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)); 506 text-transform: var(--framer-link-current-text-transform, var(--framer-link-text-transform, var(--framer-text-transform, none))); 507 border-radius: var(--framer-link-current-text-background-radius, var(--framer-link-text-background-radius, initial)); 508 corner-shape: var(--framer-link-current-text-background-corner-shape, var(--framer-link-text-background-corner-shape, initial)); 509 padding: var(--framer-link-current-text-background-padding, var(--framer-link-text-background-padding, initial)); 510 } 511 `,` 512 a.framer-text[data-framer-page-link-current], 513 span.framer-text[data-framer-page-link-current] { 514 color: var(--framer-link-current-text-color, var(--framer-link-text-color, var(--framer-text-color, #000))); 515 text-decoration-line: var(--framer-link-current-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration, initial))); 516 text-decoration-style: var(--framer-link-current-text-decoration-style, var(--framer-link-text-decoration-style, var(--framer-text-decoration-style, initial))); 517 text-decoration-color: var(--framer-link-current-text-decoration-color, var(--framer-link-text-decoration-color, var(--framer-text-decoration-color, initial))); 518 text-decoration-thickness: var(--framer-link-current-text-decoration-thickness, var(--framer-link-text-decoration-thickness, var(--framer-text-decoration-thickness, initial))); 519 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))); 520 text-underline-offset: var(--framer-link-current-text-decoration-offset, var(--framer-link-text-decoration-offset, var(--framer-text-decoration-offset, initial))); 521 background-color: var(--framer-link-current-text-background-color, var(--framer-link-text-background-color, var(--framer-text-background-color, initial))); 522 } 523 `,` 524 @supports not (color: color(display-p3 1 1 1)) { 525 a.framer-text[data-framer-page-link-current], 526 span.framer-text[data-framer-page-link-current]{ 527 color: ${createRGBVariableFallbacks([`--framer-link-current-text-color`,`--framer-link-text-color`,`--framer-text-color`],`#000`)}; 528 background-color: ${createRGBVariableFallbacks([`--framer-link-current-text-background-color`,`--framer-link-text-background-color`,`--framer-text-background-color`],`initial`)}; 529 text-decoration-color: ${createRGBVariableFallbacks([`--framer-link-current-text-decoration-color`,`--framer-link-text-decoration-color`,`--framer-text-decoration-color`],`currentcolor`)}; 530 } 531 } 532 `,` 533 code.framer-text a.framer-text[data-framer-page-link-current], 534 code.framer-text a.framer-text[data-framer-page-link-current] span.framer-text:not([data-text-fill]), 535 code.framer-text span.framer-text[data-framer-page-link-current], 536 code.framer-text span.framer-text[data-framer-page-link-current] span.framer-text:not([data-text-fill]) { 537 font-family: var(--framer-code-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif)); 538 font-style: var(--framer-code-font-style, var(--framer-font-style, normal)); 539 font-weight: var(--framer-code-font-weight, var(--framer-font-weight, 400)); 540 color: inherit; 541 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)); 542 } 543 `,` 544 code.framer-text a.framer-text[data-framer-page-link-current], 545 code.framer-text span.framer-text[data-framer-page-link-current] { 546 color: var(--framer-link-current-text-color, var(--framer-link-text-color, var(--framer-code-text-color, var(--framer-text-color, #000)))); 547 } 548 `,` 549 @supports not (color: color(display-p3 1 1 1)) { 550 code.framer-text a.framer-text[data-framer-page-link-current], 551 code.framer-text a.framer-text[data-framer-page-link-current] span.framer-text:not([data-text-fill]), 552 code.framer-text span.framer-text[data-framer-page-link-current], 553 code.framer-text span.framer-text[data-framer-page-link-current] span.framer-text:not([data-text-fill]) { 554 color: ${createRGBVariableFallbacks([`--framer-link-current-text-color`,`--framer-link-text-color`,`--framer-code-text-color`,`--framer-text-color`],`#000`)}; 555 background-color: ${createRGBVariableFallbacks([`--framer-link-current-text-background-color`,`--framer-link-text-background-color`,`--framer-text-background-color`],`initial`)}; 556 } 557 } 558 `,` 559 a.framer-text[data-framer-page-link-current]:hover, 560 a.framer-text[data-framer-page-link-current]:hover span.framer-text:not([data-text-fill]), 561 span.framer-text[data-framer-page-link-current]:hover, 562 span.framer-text[data-framer-page-link-current]:hover span.framer-text:not([data-text-fill]) { 563 color: inherit; 564 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))))); 565 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)))));
566 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))))); 567 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)); 568 text-transform: var(--framer-link-hover-text-transform, var(--framer-link-current-text-transform, var(--framer-link-text-transform, var(--framer-text-transform, none)))); 569 border-radius: var(--framer-link-hover-text-background-radius, var(--framer-link-current-text-background-radius, var(--framer-link-text-background-radius, initial))); 570 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))); 571 padding: var(--framer-link-hover-text-background-padding, var(--framer-link-current-text-background-padding, var(--framer-link-text-background-padding, initial))); 572 } 573 `,` 574 a.framer-text[data-framer-page-link-current]:hover, 575 span.framer-text[data-framer-page-link-current]:hover { 576 color: var(--framer-link-hover-text-color, var(--framer-link-current-text-color, var(--framer-link-text-color, var(--framer-text-color, #000)))); 577 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)))); 578 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)))); 579 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)))); 580 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)))); 581 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)))); 582 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)))); 583 background-color: var(--framer-link-hover-text-background-color, var(--framer-link-current-text-background-color, var(--framer-link-text-background-color, initial))); 584 } 585 `,` 586 @supports not (color: color(display-p3 1 1 1)) { 587 a.framer-text[data-framer-page-link-current]:hover, 588 span.framer-text[data-framer-page-link-current]:hover { 589 color: ${createRGBVariableFallbacks([`--framer-link-hover-text-color`,`--framer-link-current-text-color`,`--framer-link-text-color`,`--framer-code-text-color`,`--framer-text-color`],`#000`)}; 590 background-color: ${createRGBVariableFallbacks([`--framer-link-hover-text-background-color`,`--framer-link-current-text-background-color`,`--framer-link-text-background-color`],`initial`)}; 591 text-decoration-color: ${createRGBVariableFallbacks([`--framer-link-hover-text-decoration-color`,`--framer-link-current-text-decoration-color`,`--framer-link-text-decoration-color`,`--framer-text-decoration-color`],`currentcolor`)}; 592 } 593 } 594 `,` 595 code.framer-text a.framer-text[data-framer-page-link-current]:hover, 596 code.framer-text span.framer-text[data-framer-page-link-current]:hover { 597 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))))); 598 } 599 `,` 600 @supports not (color: color(display-p3 1 1 1)) { 601 code.framer-text a.framer-text[data-framer-page-link-current]:hover, 602 code.framer-text a.framer-text[data-framer-page-link-current]:hover span.framer-text:not([data-text-fill]), 603 code.framer-text span.framer-text[data-framer-page-link-current]:hover, 604 code.framer-text span.framer-text[data-framer-page-link-current]:hover span.framer-text:not([data-text-fill]) { 605 color: ${createRGBVariableFallbacks([`--framer-link-hover-text-color`,`--framer-link-current-text-color`,`--framer-link-text-color`,`--framer-code-text-color`,`--framer-text-color`],`#000`)}; 606 background-color: ${createRGBVariableFallbacks([`--framer-link-hover-text-background-color`,`--framer-link-current-text-background-color`,`--framer-link-text-background-color`],`initial`)}; 607 } 608 } 609 `,` 610 .framer-image.framer-text { 611 display: ${so.display}; 612 max-width: 100%; 613 height: auto; 614 } 615 `,` 616 .text-styles-preset-reset.framer-text { 617 --framer-font-family: Inter, Inter Placeholder, sans-serif; 618 --framer-font-style: normal;
619 --framer-font-weight: 500; 620 --framer-text-color: #000; 621 --framer-font-size: 16px; 622 --framer-letter-spacing: 0; 623 --framer-text-transform: none; 624 --framer-text-decoration: none; 625 --framer-text-decoration-style: none; 626 --framer-text-decoration-color: none; 627 --framer-text-decoration-thickness: none; 628 --framer-text-decoration-skip-ink: none; 629 --framer-text-decoration-offset: none; 630 --framer-line-height: 1.2em; 631 --framer-text-alignment: start; 632 --framer-font-open-type-features: normal; 633 --framer-text-background-color: initial; 634 --framer-text-background-radius: initial; 635 --framer-text-background-corner-shape: initial; 636 --framer-text-background-padding: initial; 637 } 638 `,` 639 ol.framer-text { 640 --list-style-type: decimal; 641 } 642 `,` 643 ul.framer-text, 644 ol.framer-text { 645 padding-inline-start: 0; 646 position: relative; 647 } 648 `,` 649 li.framer-text { 650 counter-increment: list-item; 651 list-style: none; 652 padding-inline-start: 2ch; 653 } 654 `,` 655 ol.framer-text > li.framer-text { 656 padding-inline-start: calc(calc(var(${ro}, 1) + 1) * 1ch); 657 } 658 `,` 659 ol.framer-text > li.framer-text::before { 660 position: absolute; 661 inset-inline-start: 0; 662 content: counter(list-item, var(--list-style-type)) "."; 663 font-variant-numeric: tabular-nums; 664 } 665 `,` 666 ul.framer-text > li.framer-text::before { 667 position: absolute; 668 inset-inline-start: 0; 669 content: "â¢"; 670 } 671 `,` 672 .framer-table-wrapper { 673 overflow-x: auto; 674 } 675 `,` 676 table.framer-text, 677 .framer-table-wrapper table.framer-text { 678 border-collapse: separate; 679 border-spacing: 0; 680 table-layout: auto; 681 word-break: normal; 682 width: 100%; 683 } 684 `,` 685 td.framer-text, 686 th.framer-text { 687 min-width: 16ch; 688 overflow-wrap: anywhere; 689 vertical-align: top; 690 } 691 `,` 692 ${selectComponentChild(`.framer-text-module[data-width="fill"]`,`:first-child`)} { 693 width: 100% !important; 694 } 695 `],lo=`--text-truncation-display-inline-for-safari-16`,uo=`--text-truncation-display-none-for-safari-16`,fo=`--text-truncation-line-break-for-safari-16`,po=[`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`],mo=[`@supports (background: -webkit-named-image(i)) and (not (contain-intrinsic-size: inherit)) { 696 /* Render block-like elements inline when text is truncated, otherwise default to user agent (revert) */ 697 ${po.join(`, `)} { display: var(${lo}, revert) } 698 699 /* Add a line break after each block-like element that we render inl
699ine, to resemble the block-like behavior */ 700 ${po.map(e=>`${e}::after`).join(`, `)} { content: var(${fo}); white-space: pre; } 701 702 /* 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 */ 703 .framer-text.framer-text-module, 704 .framer-text.framer-table-wrapper { display: var(${uo}, revert) } 705 706 /* Render text-fill elements inline when text is truncated, otherwise default to their default value (e.g. inline-block) */ 707 p.framer-text[data-text-fill] { display: var(${lo}, ${oo.display}) } 708 }`],ho=`--framer-will-change-override`,go=`--framer-will-change-effect-override`,_o=`--framer-will-change-filter-override`,vo=`--overflow-clip-fallback`,yo=`--one-if-corner-shape-supported`,combineCSSRules=e=>{let n=[`[data-framer-component-type="Text"] { cursor: inherit; }`,`[data-framer-component-text-autosized] * { white-space: pre; }`,` 709[data-framer-component-type="Text"] > * { 710 text-align: var(--framer-text-alignment, start); 711}`,` 712[data-framer-component-type="Text"] span span, 713[data-framer-component-type="Text"] p span, 714[data-framer-component-type="Text"] h1 span, 715[data-framer-component-type="Text"] h2 span, 716[data-framer-component-type="Text"] h3 span, 717[data-framer-component-type="Text"] h4 span, 718[data-framer-component-type="Text"] h5 span, 719[data-framer-component-type="Text"] h6 span { 720 display: block; 721}`,` 722[data-framer-component-type="Text"] span span span, 723[data-framer-component-type="Text"] p span span, 724[data-framer-component-type="Text"] h1 span span, 725[data-framer-component-type="Text"] h2 span span, 726[data-framer-component-type="Text"] h3 span span, 727[data-framer-component-type="Text"] h4 span span, 728[data-framer-component-type="Text"] h5 span span, 729[data-framer-component-type="Text"] h6 span span { 730 display: unset; 731}`,` 732[data-framer-component-type="Text"] div div span, 733[data-framer-component-type="Text"] a div span, 734[data-framer-component-type="Text"] span span span, 735[data-framer-component-type="Text"] p span span, 736[data-framer-component-type="Text"] h1 span span, 737[data-framer-component-type="Text"] h2 span span, 738[data-framer-component-type="Text"] h3 span span, 739[data-framer-component-type="Text"] h4 span span, 740[data-framer-component-type="Text"] h5 span span, 741[data-framer-component-type="Text"] h6 span span, 742[data-framer-component-type="Text"] a { 743 font-family: var(--font-family); 744 font-style: var(--font-style); 745 font-weight: min(calc(var(--framer-font-weight-increase, 0) + var(--font-weight, 400)), 900); 746 color: var(--text-color); 747 letter-spacing: var(--letter-spacing); 748 font-size: var(--font-size); 749 text-transform: var(--text-transform); 750 --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); 751 --text-decoration-skip-ink: var(--framer-text-decoration-skip-ink); 752 --text-underline-offset: var(--framer-text-decoration-offset); 753 line-height: var(--line-height); 754}`,` 755[data-framer-component-type="Text"] div div span, 756[data-framer-component-type="Text"] a div span, 757[data-framer-component-type="Text"] span span span, 758[data-framer-component-type="Text"] p span span, 759[data-framer-component-type="Text"] h1 span span, 760[data-framer-component-type="Text"] h2 span span, 761[data-framer-component-type="Text"] h3 span span, 762[data-framer-component-type="Text"] h4 span span, 763[data-framer-component-type="Text"] h5 span span, 764[data-framer-component-type="Text"] h6 span span, 765[data-framer-component-type="Text"] a { 766 --font-family: var(--framer-font-family); 767 --font-style: var(--framer-font-style); 768 --font-weight: var(--framer-font-weight); 769 --text-color: var(--framer-text-color); 770 --letter-spacing: var(--framer-letter-spacing); 771 --font-size: var(--framer-font-size); 772 --text-transform: var(--framer-text-transform); 773 --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); 774 --text-decoration-skip-ink: var(--framer-text-decoration-skip-ink); 775 --text-underline-offset: var(--framer-text-decoration-offset); 776 --line-height: var(--framer-line-height); 777}`,` 778[data-framer-component-type="Text"] a, 779[data-framer-component-type="Text"] a div span, 780[data-framer-component-type="Text"] a span span span, 781[data-framer-component-type="Text"] a p span span, 782[data-framer-component-type="Text"] a h1 span span, 783[data-framer-component-type="Text"] a h2 span span, 784[data-framer-component-type="Text"] a h3 span span, 785[data-framer-component-type="Text"] a h4 span span, 786[data-framer-component-type="Text"] a h5 span span, 787[data-framer-component-type="Text"] a h6 span span { 788 --font-family: var(--framer-link-font-family, var(--framer-font-family)); 789 --font-style: var(--framer-link-font-style, var(--framer-font-style)); 790 --font-weight: var(--framer-link-font-weight, var(--framer-font-we
790ight)); 791 --text-color: var(--framer-link-text-color, var(--framer-text-color)); 792 --font-size: var(--framer-link-font-size, var(--framer-font-size)); 793 --text-transform: var(--framer-link-text-transform, var(--framer-text-transform)); 794 --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)); 795 --text-decoration-skip-ink: var(--framer-link-text-decoration-skip-ink, var(--framer-text-decoration-skip-ink)); 796 --text-underline-offset: var(--framer-link-text-decoration-offset, var(--framer-text-decoration-offset)); 797}`,` 798[data-framer-component-type="Text"] a:hover, 799[data-framer-component-type="Text"] a div span:hover, 800[data-framer-component-type="Text"] a span span span:hover, 801[data-framer-component-type="Text"] a p span span:hover, 802[data-framer-component-type="Text"] a h1 span span:hover, 803[data-framer-component-type="Text"] a h2 span span:hover, 804[data-framer-component-type="Text"] a h3 span span:hover, 805[data-framer-component-type="Text"] a h4 span span:hover, 806[data-framer-component-type="Text"] a h5 span span:hover, 807[data-framer-component-type="Text"] a h6 span span:hover { 808 --font-family: var(--framer-link-hover-font-family, var(--framer-link-font-family, var(--framer-font-family))); 809 --font-style: var(--framer-link-hover-font-style, var(--framer-link-font-style, var(--framer-font-style)));
810 --font-weight: var(--framer-link-hover-font-weight, var(--framer-link-font-weight, var(--framer-font-weight))); 811 --text-color: var(--framer-link-hover-text-color, var(--framer-link-text-color, var(--framer-text-color))); 812 --font-size: var(--framer-link-hover-font-size, var(--framer-link-font-size, var(--framer-font-size))); 813 --text-transform: var(--framer-link-hover-text-transform, var(--framer-link-text-transform, var(--framer-text-transform))); 814 --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))); 815 --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))); 816 --text-underline-offset: var(--framer-link-hover-text-decoration-offset, var(--framer-link-text-decoration-offset, var(--framer-text-decoration-offset))); 817}`,` 818[data-framer-component-type="Text"].isCurrent a, 819[data-framer-component-type="Text"].isCurrent a div span, 820[data-framer-component-type="Text"].isCurrent a span span span, 821[data-framer-component-type="Text"].isCurrent a p span span, 822[data-framer-component-type="Text"].isCurrent a h1 span span, 823[data-framer-component-type="Text"].isCurrent a h2 span span, 824[data-framer-component-type="Text"].isCurrent a h3 span span, 825[data-framer-component-type="Text"].isCurrent a h4 span span, 826[data-framer-component-type="Text"].isCurrent a h5 span span, 827[data-framer-component-type="Text"].isCurrent a h6 span span { 828 --font-family: var(--framer-link-current-font-family, var(--framer-link-font-family, var(--framer-font-family))); 829 --font-style: var(--framer-link-current-font-style, var(--framer-link-font-style, var(--framer-font-style))); 830 --font-weight: var(--framer-link-current-font-weight, var(--framer-link-font-weight, var(--framer-font-weight))); 831 --text-color: var(--framer-link-current-text-color, var(--framer-link-text-color, var(--framer-text-color))); 832 --font-size: var(--framer-link-current-font-size, var(--framer-link-font-size, var(--framer-font-size))); 833 --text-transform: var(--framer-link-current-text-transform, var(--framer-link-text-transform, var(--framer-text-transform))); 834 --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))); 835 --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))); 836 --text-underline-offset: var(--framer-link-current-text-decoration-offset, var(--framer-link-text-decoration-offset, var(--framer-text-decoration-offset))); 837}`],i=[`[data-framer-component-type="Scroll"]::-webkit-scrollbar { display: none; }`,`[data-framer-component-type="ScrollContentWrapper"] > * { position: relative; }`],a=[`[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; }`],o=[`[data-framer-cursor="pointer"] { cursor: pointer; }`,`[data-framer-cursor="grab"] { cursor: grab; }`,`[data-framer-cursor="grab"]:active { cursor: grabbing; }`],s=[`[data-framer-component-type="Frame"] *, [data-framer-component-type="Stack"] * { pointer-events: auto; }`,`[data-framer-generated] * { pointer-events: unset }`],c=[`[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; }`],l=`(background: -webkit-named-image(i))`,willChangeTransformRules=e=>e?[`body { ${ho}: none; }`,`@supports ${l} and (not (grid-template-rows: subgrid)) { body { ${ho}: transform; } }`]:[`body { ${ho}: none; ${go}: none; }`],willChangeFilterRules=e=>e?[`body { ${_o}: none; }`,`@supports ${l} and (not (position-area: top right)) { body { ${_o}: filter; } }`]:[`body { ${_o}: none; }`],frameCSSRules=e=>e?s:[],d=`@supports (not (overflow: clip)) { 838 :root { ${vo}: hidden; } 839 }`,f=`@supports (corner-shape: superellipse(2)) { :root { ${yo}: 1 } }`;return[...willChangeTransformRules(e),...willChangeFilterRules(e),`[data-framer-component-type] { position: absolute; }`,...n,...co,...za,` 840[data-framer-component-type="Stack"]:not([data-framer-generated]) > *, 841[data-framer-component-type="Stack"]:not([data-framer-generated]) > [data-framer-component-type] { 842 position: relative; 843}`,` 844NavigationContainer 845[data-framer-component-type="NavigationContainer"] > *, 846[data-framer-component-type="NavigationContainer"] > [data-framer-component-type] { 847 position: relative; 848}`,...i,...a,`[data-framer-component-type="PageContentWrapper"] > *, [data-framer-component-type="PageContentWrapper"] > [data-framer-component-type] { position: relative; }`,`[data-framer-component-type="DeviceComponent"].no-device > * { width: 100% !important; height: 100% !important; }`,`[data-is-present="false"], [data-is-present="false"] * { pointer-events: none !important; }`,...o,...frameCSSRules(e),`.svgContainer svg { display: block; }`,`[data-reset="button"] { 849 border-width: 0; 850 padding: 0; 851 background: none; 852}`,...c,d,`.framer-lightbox-container { opacity: 1 !important; pointer-events: auto !important; }`,...mo,f]},bo=LazyProp(()=>combineCSSRules(!1)),xo=LazyProp(()=>combineCSSRules(!0));function getCombinedCSSRules(){return Y.current()===Y.preview?xo.value:bo.value}function withLibraryCSS(e){return La(e,getCombinedCSSRules,`framer-lib-combinedCSSRules`)}var So=isChrome();function collectLayoutHintDataProps(e,n){e[`data-framer-layout-hint-center-x`]=n===!0||n===`x`||void 0,e[`data-framer-layout-hint-center-y`]=n===!0||n===`y`||void 0}function layoutHintDataPropsForCenter(e){let n={};return!e||!So||Y.current()!==Y.canvas||collectLayoutHintDataProps(n,e),n}function nodeIdFromString(e){return e.replace(/^id_/u,``).replace(/\\/gu,``)}function transformTemplate(e){return(n,i)=>e===!0?`translate(-50%, -50%) ${i}`:e===`x`?`translateX(-50%) ${i}`:e===`y`?`translateY(-50%) ${i}`:i||`none`}function useLayoutId2(e,{specificLayoutId:n,postfix:i}={}){let{name:a,layoutIdKey:o,duplicatedFrom:s,__fromCodeComponentNode:c=!1,drag:l}=e,{getLayoutId:d,enabled:m}=(0,f.useContext)(ma);return(0,f.useMemo)(()=>
852{if(!m)return e.layoutId;let f=n||e.layoutId;if(!f&&(l||!o||c))return;let _=f||d({id:o,name:a,duplicatedFrom:s});if(_)return i?`${_}-${i}`:_},[m])}var Co=f.createContext(!1);function useForceUpdate2(){let[e,n]=f.useState(0);return f.useCallback(()=>n(e=>e+1),[])}var SharedObserver=class{sharedResizeObserver;callbacks=new WeakMap;constructor(){this.sharedResizeObserver=new ResizeObserver(this.updateResizedElements.bind(this))}updateResizedElements(e){for(let n of e){let e=this.callbacks.get(n.target);e&&e(n.contentRect)}}observeElementWithCallback(e,n){this.sharedResizeObserver.observe(e),this.callbacks.set(e,n)}unobserve(e){this.sharedResizeObserver.unobserve(e),this.callbacks.delete(e)}},wo=isBrowser22()?new SharedObserver:void 0;function useRerenderOnResize(e){let n=useForceUpdate2();(0,f.useEffect)(()=>{let i=e?.current;if(i)return wo?.observeElementWithCallback(e.current,n),()=>{wo?.unobserve(i)}},[e,n])}var To=`data-framer-size-compatibility-wrapper`;function getMeasurableCodeComponentChildren(e){return[...e.firstElementChild&&e.firstElementChild.hasAttribute(To)?e.firstElementChild.children:e.children].filter(isMeasurable).map(unwrapInlinedDisplayContents)}function isMeasurable(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 unwrapInlinedDisplayContents(e){if(!(e instanceof HTMLElement)||e.children.length===0||e.style.display!==`contents`)return e;let n=[...e.children].find(isMeasurable);return n?unwrapInlinedDisplayContents(n):e}function useMeasureLayout(e,n,i=()=>[],a={}){let{id:o,visible:s,_needsMeasure:c}=e,{skipHook:l=!1}=a,d=(0,f.useContext)(Co),m=Y.current()===Y.canvas;ki(()=>{!m||d||l||n.current&&o&&s&&c&&_a.queueMeasureRequest(nodeIdFromString(o),n.current,i(n.current))})}function measureClosestComponentContainer(e){let n=e.closest(`[data-framer-component-container]`);n&&_a.queueMeasureRequest(nodeIdFromString(n.id),n,getMeasurableCodeComponentChildren(n))}var Eo=`0.000001px`,Do=` translateZ(${Eo})`,Oo=isFramerX()||isSafari()||isTest();function forceLayerBackingWithMotionStyle(e){e.willChange=`transform`;let n=Y.current()===Y.canvas;Oo&&n&&(e.translateZ=Eo)}function forceLayerBackingWithCSSProperties(e){e.willChange=`transform`,setTranslateZHack(e,!0)}function setTranslateZHack(e,n){let i=Y.current()===Y.canvas;if(!Oo||!i)return;let a=isString(e.transform)&&e.transform||``;n?a.includes(Do)||(e.transform=a+Do):e.transform=a.replace(Do,``)}function resetSetStyle(e,n,i,a=!0){if(!e)return;let o=asRecord(e.style),s=i||o[n],reset=()=>{isValidCSSStyleValue(s)&&(o[n]=s)};o[n]=null,a?Promise.resolve().then(reset):setTimeout(reset,0)}function isValidCSSStyleValue(e){return isString(e)||isNumber2(e)||isNull(e)}var ko=(()=>{class Layer2 extends f.Component{static defaultProps={};static applyWillChange(e,n,i){e.willChangeTransform&&(i?forceLayerBackingWithMotionStyle(n):forceLayerBackingWithCSSProperties(n))}layerElement=null;setLayerElement=e=>{this.layerElement=e};shouldComponentUpdate(e,n){return e._needsMeasure||this.state!==n||!isEqual(this.props,e)}componentDidUpdate(e){asRecord(this.props).clip&&asRecord(this.props).radius===0&&asRecord(e).radius!==0&&resetSetStyle(this.layerElement,`overflow`,`hidden`,!1)}}return Layer2})();function manageCache(e,n){if(e.size<n)return;let i=Math.round(Math.random());for(let n of e.keys())(++i&1)!=1&&e.delete(n)}function memoize2(e,n,i,a){let o=n.get(i);if(o)return o;manageCache(n,e);let s=a(i);return n.set(i,s),s}var hash=e=>{let n=0,i,a;if(e.length===0)return n;for(i=0;i<e.length;i++)a=e.charCodeAt(i),n=(n<<5)-n+a,n|=0;return n},Ao={hueRotate:(e,n)=>J.toHslString(J.hueRotate(J(e),n)),setAlpha:(e,n)=>J.toRgbString(J.alpha(J(e),n)),getAlpha:e=>{let n=stringToObject(e);return n?n.a:1},multiplyAlpha:(e,n)=>J.toRgbString(J.multiplyAlpha(J(e),n)),toHexValue:e=>J.toHex(J(e)).toUpperCase(),toHex:e=>J.toHexString(J(e)).toUpperCase(),toRgb:e=>J.toRgb(J(e)),toRgbString:e=>J.toRgbString(J(e)),toHSV:e=>J.toHsv(J(e)),toHSL:e=>J.toHsl(J(e)),toHslString:e=>J.toHslString(J(e)),toHsvString:e=>J.toHsvString(J(e)),hsvToHSLString:e=>J.toHslString(J(hsvToStr(e.h,e.s,e.v,e.a))),hsvToHexValue:e=>J.toHex(J(hsvToStr(e.h,e.s,e.v,e.a))).toUpperCase(),hsvToHex:e=>J.toHexString(J(hsvToStr(e.h,e.s,e.v,e.a))).toUpperCase(),hsvToRgbString:e=>J.toRgbString(J(hsvToStr(e.h,e.s,e.v,e.a))),hsvToString:e=>hsvToStr(e.h,e.s,e.v),rgbaToString:e=>J.toRgbString(J(e)),rgbToHexValue:e=>J.toHex(J(e)),rgbToHexString:e=>J.toHexString(J(e)),hslToString:e=>J.toHslString(J(e)),hslToRgbString:e=>J.toRgbString(J(e)),toColorPickerSquare:e=>J.toRgbString(J({h:e,s:1,l:.5,a:1})),isValid:e=>J(e).isValid!==!1,equals:(e,n)=>
852J.isP3String(e)||J.isP3String(n)?e===n:(typeof e==`string`&&(e=J(e)),typeof n==`string`&&(n=J(n)),J.equal(e,n)),toHexOrRgbaString:e=>{let n=J(e);return n.a===1?J.toHexString(n):J.toRgbString(n)},toFormatString:e=>J.isP3String(e)?e:J.toRgbString(J(e))},jo=/var\(.+\)/u,Mo=new Map;function cachedMultiplyAlpha(e,n){let i=[e,n];return jo.test(e)?e:memoize2(1e3,Mo,i,()=>Ao.multiplyAlpha(e,n))}function gradientColorStops(e,n=1){let i;return i=`stops`in e?e.stops:[{value:e.start,position:0},{value:e.end,position:1}],n===1?i:i.map(e=>({...e,value:cachedMultiplyAlpha(e.value,n)}))}function gradientColorStopsHash(e,n){let i=0;return gradientColorStops(e,n).forEach(e=>{i^=hash(e.value)^e.position}),i}var No=[`stops`];function isMultiStopGradient(e){return e&&No.every(n=>n in e)}var Po=[`start`,`end`];function isSimpleGradient(e){return e&&Po.every(n=>n in e)}var Fo=[`angle`,`alpha`],Io={isLinearGradient:e=>isObject2(e)&&Fo.every(n=>n in e)&&(isSimpleGradient(e)||isMultiStopGradient(e)),hash:e=>e.angle^gradientColorStopsHash(e,e.alpha),toCSS:(e,n,i)=>{let a=gradientColorStops(e,e.alpha),o=n===void 0?e.angle:n;return`linear-gradient(${Math.round(o)}deg, ${a.map(e=>`${i?.(e.value)??e.value} ${e.position*100}%`).join(`, `)})`}},Lo=[`widthFactor`,`heightFactor`,`centerAnchorX`,`centerAnchorY`,`alpha`],Ro={isRadialGradient:e=>isObject2(e)&&Lo.every(n=>n in e)&&(isSimpleGradient(e)||isMultiStopGradient(e)),hash:e=>e.centerAnchorX^e.centerAnchorY^e.widthFactor^e.heightFactor^gradientColorStopsHash(e,e.alpha),toCSS:(e,n)=>{let{alpha:i,widthFactor:a,heightFactor:o,centerAnchorX:s,centerAnchorY:c}=e,l=gradientColorStops(e,i),d=l.map((e,i)=>{let a=l[i+1],o=e.position===1&&a?.position===1?e.position-1e-4:e.position;return`${n?.(e.value)??e.value} ${o*100}%`});return`radial-gradient(${a*100}% ${o*100}% at ${s*100}% ${c*100}%, ${d.join(`, `)})`}};function setRef2(e,n){isFunction(e)?e(n):isMutableRef(e)&&(e.current=n)}function isMutableRef(e){return isObject2(e)&&`current`in e}function refHasValue(e){return isMutableRef(e)&&e.current!==null}function useStableRefWithObserver(){let e=useConstant2(()=>new Set),n=useConstant2(()=>new Map);return useConstant2(()=>(i,a)=>({get current(){return i.current},set current(o){if(o!==i.current){if(i.current=o,a&&a(o),n.forEach((e,n)=>{e?e():n(null)}),o===null){n.clear(),e.clear();return}e.forEach(e=>{let i=e(o);n.set(e,i)})}},observe(a){e.add(a);let o=i.current;if(o){let e=a(o);n.set(a,e)}},unobserve(i){if(!i||(e.delete(i),!n.has(i)))return;let a=n.get(i);a?a():i(null),n.delete(i)}}))}function useObserverRef(e){let n=(0,f.useRef)(null),i=useStableRefWithObserver();return useConstant2(()=>isMutableRef(e)?i(e):isFunction(e)?i(n,e):i(n))}function useRefEffect(e,n,i){let a=(0,f.useRef)(),o=(0,f.useRef)();useMemoOne(()=>{o.current!==void 0&&(o.current=!0)},i??[{}]),e&&o.current!==!1&&(o.current=!1,e.unobserve(a.current),e.observe(n),a.current=n)}var SharedIntersectionObserver=class{sharedIntersectionObserver;callbacks=new WeakMap;constructor(e){this.sharedIntersectionObserver=new IntersectionObserver(this.intersectionObserverCallback.bind(this),e)}intersectionObserverCallback(e,n){for(let i of e){let e=this.callbacks.get(i.target);e&&e(i,n)}}observeElementWithCallback(e,n){this.sharedIntersectionObserver&&(this.sharedIntersectionObserver.observe(e),this.callbacks.set(e,n))}unobserve(e){this.sharedIntersectionObserver&&(this.sharedIntersectionObserver.unobserve(e),this.callbacks.delete(e))}get root(){return this.sharedIntersectionObserver?.root}},zo=(0,f.createContext)(new Map);function observeElement(e,n,i,a,o,s,c){let l=e.get(n);return(!l||l.root!==a?.current)&&(l=new SharedIntersectionObserver({root:a?.current,rootMargin:s,threshold:c}),e.set(n,l)),l.observeElementWithCallback(i,o),()=>{l.unobserve(i)}}function _useSharedIntersectionObserver(e,n,i){let a=useConstant2(()=>`${i.rootMargin}`),o=(0,f.useContext)(zo),{enabled:s,root:c,rootMargin:l,threshold:d}=i;useRefEffect(e,e=>{if(s&&e!==null)return observeElement(o,a,e,c,n,l,d)},[s,n,c,l,d])}var Bo=typeof IntersectionObserver>`u`?noop2:_useSharedIntersectionObserver,Vo=Array(100).fill(void 0).map((e,n)=>n*.01);function useAppearEffect(e,n,i){let a=f.useRef({isInView:!1,hasAnimatedOnce:!1}
852),{enabled:o,animateOnce:s,threshold:c,rootMargin:l=`0px 0px 0px 0px`}=i;Bo(e,f.useCallback(e=>{let{isInView:i,hasAnimatedOnce:o}=a.current,l=isIntersectingWithThreshold(e,c?.y??0);if(l&&!i){if(s&&o)return;a.current.hasAnimatedOnce=!0,a.current.isInView=!0,n(!0);return}if(!l&&i){if(a.current.isInView=!1,s)return;n(!1);return}},[s,c?.y,n]),{threshold:Vo,rootMargin:l,enabled:o??!0})}function calculatedIntersection(e,n){return n.height===0?0:e.height/Math.min(n.height,q.innerHeight)}function isIntersectingWithThreshold({boundingClientRect:e,intersectionRect:n,isIntersecting:i},a){return e.height===0?i:i&&calculatedIntersection(n,e)>=a}var Ho=(0,f.createContext)({register:()=>{},deregister:()=>{}});function useOnCurrentTargetChange(e,n=[]){let{register:i,deregister:a}=(0,f.useContext)(Ho);(0,f.useEffect)(()=>{if(e)return i(e),()=>a(e)},[i,a,...n])}__toESM(qr(),1);var Uo=(e=>(e.Boolean=`boolean`,e.Number=`number`,e.Dimension=`dimension`,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.ChangeHandler=`changehandler`,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=`borderradiu
852s`,e.Gap=`gap`,e.CollectionReference=`collectionreference`,e.MultiCollectionReference=`multicollectionreference`,e.TrackingId=`trackingid`,e.VectorSetItem=`vectorsetitem`,e.LinkRelValues=`linkrelvalues`,e.Location=`location`,e))(Uo||{});function isReactComponent(e){return isObject2(e)||isFunction(e)}var Wo=`optional`;function controlIsOptional(e){return!!e&&Wo in e&&e[Wo]===!0}function getControlDefaultValue(e){try{switch(e.type){case`string`:case`collectionreference`:case`color`:case`date`:case`link`:case`boxshadow`:case`padding`:case`borderradius`:case`gap`:case`dimension`:return isString(e.defaultValue)?e.defaultValue:void 0;case`boolean`:return isBoolean(e.defaultValue)?e.defaultValue:void 0;case`enum`:return isUndefined(e.defaultValue)?void 0:e.options.includes(e.defaultValue)?e.defaultValue:void 0;case`fusednumber`:case`number`:return isNumber2(e.defaultValue)?e.defaultValue:void 0;case`transition`:return isObject2(e.defaultValue)?e.defaultValue:void 0;case`border`:return isObject2(e.defaultValue)?e.defaultValue:void 0;case`font`:case`location`:return isObject2(e.defaultValue)?e.defaultValue:void 0;case`linkrelvalues`:return isArray(e.defaultValue)?e.defaultValue:void 0;case`multicollectionreference`:return isArray(e.defaultValue)?e.defaultValue:void 0;case`object`:{let n=isObject2(e.defaultValue)?e.defaultValue:{};return isObject2(e.controls)&&applyControlDefaultsToDefaultProps(n,e.controls),n}case`array`:return isArray(e.defaultValue)?e.defaultValue:void 0;case`file`:case`image`:case`richtext`:case`pagescope`:case`eventhandler`:case`changehandler`:case`segmentedenum`:case`responsiveimage`:case`componentinstance`:case`slot`:case`scrollsectionref`:case`customcursor`:case`cursor`:case`trackingid`:case`vectorsetitem`:return;default:return}}catch{return}}function applyControlDefaultsToDefaultProps(e,n){for(let i in n){let a=n[i];if(!a)continue;let o=e[i];if(!isUndefined(o)||controlIsOptional(a))continue;let s=getControlDefaultValue(a);isUndefined(s)||(e[i]=s)}}function getDefaultProps(e){if(isObject2(e.defaultProps))return e.defaultProps;let n={};return e.defaultProps=n,n}function applyControlDefaultsToReactDefaultProps(e,n){isReactComponent(e)&&applyControlDefaultsToDefaultProps(getDefaultProps(e),n)}function addPropertyControls(e,n){Object.assign(e,{propertyControls:n}),applyControlDefaultsToReactDefaultProps(e,n)}__toESM(qr(),1),__toESM(qr(),1);var Go=`opacity`;function withOpacity(e){return Go in e}function collectOpacityFromProps(e,n){if(!withOpacity(e))return;let i=ra.getNumber(e.opacity);i!==1&&(n.opacity=i)}function shadowsAsFilter(e){let n=[];if(e&&e.length){let i=e.map(e=>`drop-shadow(${e.x}px ${e.y}px ${e.blur}px ${e.color})`);n.push(...i)}return n}function collectTextShadowsForProps(e,n){if(!e.shadows||e.shadows.length===0)return;let i=e.shadows.map(e=>`${e.x}px ${e.y}px ${e.blur}px ${e.color}`).join(`, `);i&&(n.textShadow=i)}function collectLayerFilters(e,n){let i=[];isFiniteNumber(e.brightness)&&i.push(`brightness(${e.brightness/100})`),isFiniteNumber(e.contrast)&&i.push(`contrast(${e.contrast/100})`),isFiniteNumber(e.grayscale)&&i.push(`grayscale(${e.grayscale/100})`),isFiniteNumber(e.hueRotate)&&i.push(`hue-rotate(${e.hueRotate}deg)`),isFiniteNumber(e.invert)&&i.push(`invert(${e.invert/100})`),isFiniteNumber(e.saturate)&&i.push(`saturate(${e.saturate/100})`),isFiniteNumber(e.sepia)&&i.push(`sepia(${e.sepia/100})`),isFiniteNumber(e.blur)&&i.push(`blur(${e.blur}px)`),e.dropShadows&&i.push(...shadowsAsFilter(e.dropShadows)),i.length!==0&&(n.filter=n.WebkitFilter=i.join(` `))}function collectBackgroundFilters(e,n){isFiniteNumber(e.backgroundBlur)&&(n.backdropFilter=n.WebkitBackdropFilter=`blur(${e.backgroundBlur}px)`)}function collectFiltersFromProps(e,n){collectBackgroundFilters(e,n),collectLayerFilters(e,n)}function debounce(e,n){let i,debounced=(...a)=>{q.clearTimeout(i),i=q.setTimeout(e,n,...a)},cancel=()=>{q.clearTimeout(i)};return debounced.cancel=cancel,debounced}function cx(...e){return e.filter(Boolean).join(` `)}__toESM(qr(),1);var Ko=`__framer__`,qo=Ko.length;function stripPrefixFromPrefixedKey(e){if(e.startsWith(Ko))return e.substr(qo)}var Jo=f.createContext(void 0);function useCloneChildrenWithPropsAndRef(e){let n=useConstant2(()=>createHook(e));return n.useSetup(e),n.cloneAsElement}function createHook(e){let n={forwardedRef:e,childRef:null,ref:null};
852n.ref=createRefFunction(n);let updateIfNeeded=(e,i)=>{if(!n.forwardedRef&&n.forwardedRef===e){n.ref=i;return}let a=!1;n.childRef!==i&&(n.childRef=i,a=!0),n.forwardedRef!==e&&(n.forwardedRef=e,a=!0),a&&(n.ref=createRefFunction(n))};function cloneChildrenWithPropsAndRef(i,a){return f.Children.count(i)>1&&e&&(n.forwardedRef=void 0,n.ref=n.childRef),f.Children.map(i,e=>{if(f.isValidElement(e)){let i=`ref`in e?e.ref:void 0;updateIfNeeded(n.forwardedRef,i);let o=isFunction(a)?a(e.props):a;return f.cloneElement(e,n.ref===i?o:{...o,ref:n.ref})}return e})}let i=function cloneAsElement2(e,n){return(0,l.jsx)(l.Fragment,{children:cloneChildrenWithPropsAndRef(e,n)})};return i.cloneAsArray=cloneChildrenWithPropsAndRef,{useSetup:e=>{updateIfNeeded(e,n.childRef)},cloneAsElement:i}}function createRefFunction(e){if(!e.forwardedRef)return e.childRef;let{forwardedRef:n,childRef:i}=e;return e=>{setRef2(i,e),setRef2(n,e)}}var Yo=f.createContext(void 0);function variantHashFromClassName(e){return e.split(`-`)[2]}var Xo=`default`,Zo=new Set([Xo]),AnimationCollector=class{entries=new Map;set(e,n,i,a){switch(n){case`transformTemplate`:assert(typeof i==`string`,`transformTemplate must be a string, received: ${i}`),this.setHash(e,a,{transformTemplate:i,legacy:!0});break;case`initial`:case`animate`:assert(typeof i==`object`,`${n} must be a valid object, received: ${i}`),this.setHash(e,a,{[n]:i,legacy:!0})}}setHash(e,n=Xo,i){let a=this.entries.get(e)??{},o=a[n]??{};a[n]=i===null?null:{...o,...i},this.entries.set(e,a)}#e={};variantHash(e,n){if(e===n?.primaryVariantId)return Xo;let i=this.#e[e];if(i)return i;let a=n?.variantClassNames[e];return a?this.#e[e]=variantHashFromClassName(a):Xo}setAll(e,n=Zo,i,a){if(i===null){for(let i of n)this.setHash(e,this.variantHash(i,a),null);return}let o=isFunction(i.transformTemplate)?i.transformTemplate?.({},$o):void 0,s=i.__framer__presenceInitial??i.initial,c=i.__framer__presenceAnimate??i.animate,l={initial:isObject2(s)?s:void 0,animate:isObject2(c)?c:void 0,transformTemplate:isString(o)?o:void 0};for(let i of n)this.setHash(e,this.variantHash(i,a),l)}clear(){this.entries.clear()}toObject(){return Object.fromEntries(this.entries)}},Qo=new AnimationCollector;function withOptimizedAppearEffect(e){return f.forwardRef(({optimized:n,...i},a)=>{let o=f.useContext(Jo),s=f.useContext(Yo)?.variants,c=i[es];c&&!isBrowser22()&&Qo.setAll(c,s,n?i:null,o);let d=getDisabledFXPropsInStaticRenderer(i);return(0,l.jsx)(e,{suppressHydrationWarning:!0,ref:a,...i,...d})})}var $o=`__Appear_Animation_Transform__`,es=`data-framer-appear-id`,getDisabledFXPropsInStaticRenderer=e=>{if(isStaticRenderer())return{animate:isVariantOrVariantList(e.animate)?e.animate:void 0,initial:isVariantOrVariantList(e.initial)?e.initial:void 0,exit:void 0}};function isVariantOrVariantList(e){return isString(e)||Array.isArray(e)}var ts=[`opacity`,`x`,`y`,`scale`,`rotate`,`rotateX`,`rotateY`,`skewX`,`skewY`,`transformPerspective`],makeFXValues=e=>({x:motionValue(e?.x??0),y:motionValue(e?.y??0),opacity:motionValue(e?.opacity??1),scale:motionValue(e?.scale??1),rotate:motionValue(e?.rotate??0),rotateX:motionValue(e?.rotateX??0),rotateY:motionValue(e?.rotateY??0),skewX:motionValue(e?.skewX??0),skewY:motionValue(e?.skewY??0),transformPerspective:motionValue(e?.transformPerspective??0)}),ns={x:0,y:0,scale:1,opacity:1,rotate:0,rotateX:0,rotateY:0,skewX:0,skewY:0,transformPerspective:0};function isFXValuesKey(e){return e in ns}var rs={willChange:`transform`};Object.freeze(rs);var is={};Object.freeze(is);function useFXValues(e,n){let i=useConstant2(()=>({values:makeFXValues(n?e:void 0)}));return f.useEffect(()=>{if(!n)for(let e of ts){let n=ns[e];isUndefined(n)||i.values[e].set(n)}},[n]),i}var as=new Set([`loopEffectEnabled`,`loopTransition`,`loop`,`loopRepeatType`,`loopRepeatDelay`,`loopPauseOffscreen`]),useDelay=()=>{let e=(0,f.useRef)();return(0,f.useEffect)(()=>()=>{clearTimeout(e.current)},[]),async n=>new Promise(i=>{e.current=setTimeout(()=>{i(!0)},n*1e3)})};function useLoop({loopEffectEnabled:e,loopRepeatDelay:n,loopTransition:i,loopRepeatType:a,loop:o,loopPauseOffscreen:s},c){let l=useReducedMotionConfig(),d=useConstant2(makeFXValues),m=(0,f.useRef)(!1),_=useDelay(),v=(0,f.useRef)(null),y=(0,f.useCallback)(async()=>
852{if(!o)return;let e=i||void 0,n=m.current&&a===`mirror`,s=n?ns:o,c=n?o:ns;return m.current=!m.current,v.current=Promise.all(ts.map(n=>{if(!(l&&n!==`opacity`))return d[n].jump(c[n]??ns[n]),new Promise(i=>{let a={...e,onComplete:()=>i()},o=s[n]??c[n];typeof o==`number`&&Nr(d[n],o,a)})})),v.current},[o,a,i,l]),[x,S]=(0,f.useState)(!1),T=(0,f.useRef)(!1),E=(0,f.useCallback)(async()=>{!e||!T.current||(await y(),await _(n??0),E())},[y,_,e,n]),O=(0,f.useCallback)(()=>{T.current||(T.current=!0,(0,f.startTransition)(()=>S(!0)),E())},[E]),k=(0,f.useCallback)((e=!0)=>{ts.forEach(e=>{d[e].stop()}),ts.forEach(e=>{d[e].set(ns[e])}),m.current=!1,e&&(T.current=!1,(0,f.startTransition)(()=>S(!1)))},[]),j=e&&o,P=(0,f.useCallback)(()=>{document.hidden?k(!1):T.current&&(T.current=!1,O())},[O,k]);(0,f.useEffect)(()=>{if(j)return document.addEventListener(`visibilitychange`,P),()=>{document.removeEventListener(`visibilitychange`,P)}},[j,P]),(0,f.useEffect)(()=>{j&&s||(j?O():k())},[O,k,s,j]),(0,f.useEffect)(()=>()=>k(),[k]);let F=(0,f.useRef)(!1),L=(0,f.useCallback)(async()=>{v.current&&(await v.current,!F.current&&k())},[k]);Bo(c,(0,f.useCallback)(e=>{e.isIntersecting?(F.current=!0,O()):(F.current=!1,L())},[O,L]),{enabled:j&&s});let R=x||!s;return(0,f.useMemo)(()=>({values:d,style:j&&R?rs:is}),[j,R])}function parallaxTransform(e,n,i,a,o){let s=i/100-1;return(o?(n-a)*s:0)+-e*s}var os=new Set([`speed`,`adjustPosition`,`offset`,`parallaxTransformEnabled`]);function useParallax(e,n,i){let{speed:a=100,offset:o=0,adjustPosition:s=!1,parallaxTransformEnabled:c}=e,l=f.useRef(null),d=useReducedMotionConfig(),m=f.useCallback(e=>l.current===null||a===100?0:parallaxTransform(e,l.current,a,o,s),[a,o,s]),{scrollY:_}=useScroll(),v=useTransform(_,m),y=useMotionValue(s&&l.current===null?`hidden`:i),x=useMotionValue(0),S=(0,f.useContext)(zo);return useRefEffect(n,e=>{if(e===null||!c)return;let n=observeElement(S,`undefined`,e,null,e=>{l.current=e.boundingClientRect.top,H.update(()=>{v.set(m(_.get())),s&&y.set(i??`initial`)}),n()});return n},[s,c]),useOnRouteChange(()=>{c&&v.set(0)}),{values:{y:d||!c?x:v},style:c?{...rs,visibility:y}:is}}function isTargetAndTransition(e){return typeof e==`object`&&!!e}function getTransition(e){if(isTargetAndTransition(e))return e?.transition}function runEffectAnimation(e,n,i,a,o,s){let c=getTransition(e);return Promise.all(ts.map(l=>new Promise(d=>{if(i&&l!==`opacity`)return d();let f=n.values[l];f.stop();let m=isTargetAndTransition(e)?e?.[l]??ns[l]:ns[l];if(isMotionValue(m)&&(m=m.get()),!isNumber2(m))return d();let _=nn.get(a.current);_&&_.setBaseTarget(l,m);let v;if(isString(o)&&!f?.hasAnimated&&q.MotionHandoffAnimation){let e=q.MotionHandoffAnimation(o,l,H);e&&(v=e)}s?f.set(m):Nr(f,m,{...c,velocity:0,startTime:v,onComplete:()=>d()})})))}var ss=new Set([`presenceInitial`,`presenceAnimate`,`presenceExit`]);function usePresenceAnimation({initial:e,animate:n,exit:i,presenceInitial:a,presenceAnimate:o,presenceExit:s},c,l,d,m){let _=a??e,v=o??n,y=s??i,[x,S]=usePresence(),T=(0,f.useRef)({lastPresence:!1,lastAnimate:v,hasMounted:!1,running:!1}),E=useConstant2(()=>{let e=_??d;if(!isObject2(e))return{values:makeFXValues()};let n={};for(let i in e){let a=isObject2(e)?e[i]:void 0;isNumber2(a)&&(n[i]=a)}return{values:makeFXValues(n)}});useRefEffect(c,e=>{let{hasMounted:n}=T.current;if(n&&v)return;let i=nn.get(e);if(i){Object.assign(T.current,{hasMounted:!0});for(let e in E.values){if(!isFXValuesKey(e))continue;let n=d?.[e];i.setBaseTarget(e,isNumber2(n)?n:ns[e])}}},[v]);let O=useReducedMotionConfig();useRefEffect(c,e=>{if(!l){S?.();return}if(e===null)return;if(x!==T.current.lastPresence){Object.assign(T.current,{lastPresence:x}),x?_&&v&&(Object.assign(T.current,{running:!0}),runEffectAnimation(v,E,O,c,m).then(()=>Object.assign(T.current,{running:!1}))):y?(Object.assign(T.current,{running:!0}),runEffectAnimation(y,E,O,c,m).then(()=>Object.assign(T.current,{running:!1})).then(()=>S())):S();return}let{lastAnimate:n,running:i}=T.current;isEqual(v,n)||!v||(Object.assign(T.current,{lastAnimate:v}),runEffectAnimation(v,E,O,c,m,!i).then(()=>Object.assign(T.current,{running:!1})))});let k=l&&v;return(0,f.useMemo)(()=>({values:E.values,style:k?rs:is}),[k])}function calcOffsetTop(e,n){let i=0,a=e;for(;a&&a!==n&&a instanceof HTMLElement;)i+=a.offsetTop,a=a.offsetParent;return i}var cs=1;function createTransformInputRange(e,n=0,i){let a=[],o=[];for(let s=e.length;s>=0;s--){let{ref:c,offset:l}=e[s]??{};if(!c?.current)continue;let d=calcOffsetTop(c.current,document.documentElement)-cs-(l??0)-n,f=c.current?.clientHeight??0,m=a[a.length-1],_=Math.max(d+f,0);a.push(d),o.unshift(Math.max(d,0),m===void 0?_:Math.min(_,Math.max(m-1,0))),i?.(s)}return o}function currentScrollDirection(e,n=0){return e<n?`up`:`down`}var ls=4;function useScrollDirectionChange(e,n,i={}){let{direction:a,target:o}=e??{},{repeat:s=!0,enabled:c=!0}=i,l=useCurrentRouteKey();f.useEffect(()=>{if(!a||!c)return;let e,i=0,l,d;return scroll((c,{y:f})=>{if(!s&&d===o||f.current>f.scrollLength||f.current<0)return;let m=currentScrollDirection(f.current,e);e=f.current;let _=m!==l;if(l=m,_)i=f.current;else{if(Math.abs(f.current-i)<ls)return;let e=m===a?o:void 0;e!==d&&n(e),d=e}})},[l,a,s,o,c,n])}
852var us=new Set([`threshold`,`animateOnce`,`opacity`,`targetOpacity`,`x`,`y`,`scale`,`transition`,`rotate`,`rotateX`,`rotateY`,`perspective`,`enter`,`exit`,`animate`,`styleAppearEffectEnabled`,`targets`,`scrollDirection`]),ds=[`animate`,`animate`],fs={inputRange:[],outputRange:[]};function createInputOutputRange(e,n,i){let a=createTransformInputRange(e,n),o=[...ds],s=a[0];if(!isNumber2(s))return fs;if(s>1&&(a.unshift(0,s-1),o.unshift(`initial`,`initial`)),i){let e=a[a.length-1];if(!isNumber2(e))return fs;a.push(e+1),o.push(`exit`)}return{inputRange:a,outputRange:o}}function makeStyle(e){return{x:e?.x??ns.x,y:e?.y??ns.y,scale:e?.scale??ns.scale,opacity:e?.opacity??ns.opacity,transformPerspective:e?.transformPerspective??ns.transformPerspective,rotate:e?.rotate??ns.rotate,rotateX:e?.rotateX??ns.rotateX,rotateY:e?.rotateY??ns.rotateY,skewX:e?.skewX??ns.skewX,skewY:e?.skewY??ns.skewY,transition:e?.transition??void 0}}function useAnimationVariants({opacity:e,targetOpacity:n,perspective:i,enter:a,exit:o,animate:s,...c}){return f.useMemo(()=>({initial:a??makeStyle({...c,opacity:e??n??1,transformPerspective:i}),animate:s??makeStyle({opacity:n}),exit:o??makeStyle()}),[s,c,a,o,e,n,i])}function useStyleAppearEffect(e,n){let i=useReducedMotionConfig(),a=useAnimationVariants(e),o=e.styleAppearEffectEnabled,s=useFXValues(o?a.initial:a.animate,o),c=f.useRef({isPlaying:!1,scheduledAppearState:void 0,lastAppearState:!e.styleAppearEffectEnabled}),l=useCurrentRouteKey(),d=f.useRef(),m=f.useCallback(async({transition:o,...c},l)=>{let f=o??a.animate.transition??e.transition;await d.current;let m=nn.get(n.current);d.current=Promise.all(ts.map(e=>{l&&s.values[e].set(a.initial[e]??ns[e]);let n=c[e]??ns[e];return m&&typeof n!=`object`&&m.setBaseTarget(e,n),new Promise(a=>{if(i&&e!==`opacity`)isNumber2(n)&&s.values[e].set(n),a();else{let i={restDelta:e===`scale`?.001:void 0,...f,onComplete:()=>a()};
852typeof n==`number`&&Nr(s.values[e],n,i)}})}))},[]),_=e.animateOnce&&c.current.lastAppearState===!0;useAppearEffect(n,e=>{let{isPlaying:n,lastAppearState:i}=c.current;if(n){c.current.scheduledAppearState=e;return}c.current.scheduledAppearState=void 0,c.current.lastAppearState=e,i!==e&&m(e?a.animate:a.exit,e)},{enabled:!e.targets&&e.styleAppearEffectEnabled&&!e.scrollDirection&&!_,animateOnce:!!e.animateOnce,threshold:{y:e.threshold}});let v=e.targets&&o&&!e.scrollDirection;return f.useEffect(()=>{if(!v)return;let n={initial:!0},i=`initial`;return scroll((o,{y:s})=>{let{targets:c}=e;if(!c||!c[0]||c[0].ref&&!c[0].ref.current)return;let{inputRange:l,outputRange:d}=createInputOutputRange(c,(e.threshold??0)*s.containerLength,!!e.exit);if(l.length===0||l.length!==d.length)return;let f=transform(s.current,l,d);if(e.animateOnce&&n[f]||(n[f]=!0,i===f))return;i=f;let _=asRecord(a)[f];_&&m(_)})},[l,v]),useScrollDirectionChange(e.scrollDirection,e=>void m(e??a.animate),{enabled:o,repeat:!e.animateOnce}),useOnRouteChange(()=>{if(o&&!(!e.targets&&!e.scrollDirection))for(let e of ts)s.values[e].set(a.initial?.[e]??ns[e])}),(0,f.useMemo)(()=>({values:s.values,style:o?rs:is}),[o])}var ps=new Set([`transformViewportThreshold`,`styleTransformEffectEnabled`,`transformTargets`,`spring`,`transformTrigger`]),defaultValues=(e,n)=>{let i=e?.[0]?.target;return n?{opacity:i?.opacity??1}:i},defaultRanges2=()=>({opacity:[],x:[],y:[],scale:[],rotate:[],rotateX:[],rotateY:[],skewX:[],skewY:[],transformPerspective:[]});function useAttachOptionalSpring(e,n){let i=f.useRef({});f.useEffect(()=>{if(n!==void 0)for(let a of $r(e)){let startAnimation3=function(){let e=i.current[a];e&&e.stop(),i.current[a]=animateValue({keyframes:[o.get(),c],velocity:o.getVelocity(),...n,restDelta:.001,onUpdate:s})},o=e[a],s,c;o.attach((e,n)=>(c=e,s=n,H.postRender(startAnimation3),o.get()))}},[JSON.stringify(n)])}function createInputOutputRanges(e,n){let i=defaultRanges2();return{inputRange:createTransformInputRange(e,n,n=>{let a=e[n-1]?.target,o=e[n]?.target;for(let e of ts)i[e]?.unshift(a?.[e]??0,o?.[e]??0)}),effectKeyOutputRange:i}}function createPageOutputRange(e){let n=defaultRanges2();for(let{target:i}of e)for(let e of ts)n[e]?.push(i[e]);return n}var ms=[0,1];function useStyleTransform({transformTrigger:e,styleTransformEffectEnabled:n,transformTargets:i,spring:a,transformViewportThreshold:o=0},s){let c=useReducedMotionConfig(),l=useFXValues(defaultValues(i,c),n),d=!n||!i,m=e===`onScrollTarget`,_=useCurrentRouteKey();return(0,f.useLayoutEffect)(()=>{if(!(d||!m))return scroll((e,{y:n})=>{if(!i[0]||i[0].ref&&!i[0].ref.current)return;let{inputRange:a,effectKeyOutputRange:s}=createInputOutputRanges(i,o*n.containerLength);if(a.length!==0)for(let e of ts)c&&e!==`opacity`||a.length===s[e].length&&s[e][0]!==void 0&&l.values[e].set(transform(n.current,a,s[e]))})},[c,m,o,i,d]),useRefEffect(s,n=>{if(d||m||n===null)return;let a=createPageOutputRange(i);return scroll((e,{y:n})=>{for(let e of ts)c&&e!==`opacity`||ms.length===a[e].length&&a[e][0]!==void 0&&l.values[e].set(transform(n.progress,ms,a[e]))},e===`onInView`?{target:n??void 0,offset:[`start end`,`end end`]}:void 0)},[_,c,e,m,i,d]),useAttachOptionalSpring(l.values,a),useOnRouteChange(()=>{if(d)return;let e=defaultValues(i,c);for(let n of ts)l.values[n].set(e?.[n]??ns[n])}),f.useMemo(()=>({values:l.values,style:n?rs:is}),[n])}var hs={parallax:os,styleAppear:us,styleTransform:ps,loop:as,presence:ss},gs=$r(hs);function backwardsCompatibleEnabledCheck(e,n,i){return!(e in i)&&n in i||i[e]===!0}function extractFXOptions(e){let n={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 i in e){if(i===`__targetOpacity`||i===`__perspectiveFX`||i===`__smartComponentFX`)continue;let a=stripPrefixFromPrefixedKey(i);if(a){for(let o of gs)if(hs[o]?.has(a)){n[o][a]=asRecord(e)[i];break}}else n.forwardedProps[i]=asRecord(e)[i]}return n.parallax.parallaxTransformEnabled=backwardsCompatibleEnabledCheck(`parallaxTransformEnabled`,`speed`,n.parallax),n.styleAppear.styleAp
852pearEffectEnabled=backwardsCompatibleEnabledCheck(`styleAppearEffectEnabled`,`animateOnce`,n.styleAppear),n}var add2=e=>e.reduce((e,n)=>e+=n,0),multiply=e=>e.reduce((e,n)=>e*=n,1),_s=`current`;function isReactRefObject(e){return isObject2(e)&&_s in e}function addMotionValueStyle(e,n){if(!e||!isObject2(e))return n;for(let i in e){let a=e[i];!isMotionValue(a)||!isFXValuesKey(i)||isNumber2(a.get())&&n[i].push(a)}}function isVariantOrVariantList2(e){return isString(e)||Array.isArray(e)}var withFX=e=>f.forwardRef((n,i)=>{if(n.__withFX)return(0,l.jsx)(e,{suppressHydrationWarning:!0,...n,animate:void 0,initial:void 0,exit:void 0,ref:i});let a=getDisabledFXPropsInStaticRenderer(n);if(a)return(0,l.jsx)(e,{suppressHydrationWarning:!0,...n,...a,ref:i});let{parallax:o={},styleAppear:s={},styleTransform:c={},presence:d={},loop:m={},forwardedProps:_,targetOpacityValue:v,withPerspective:y,inSmartComponent:x=!1}=extractFXOptions(n),S=useObserverRef(i),{values:T,style:E}=usePresenceAnimation(d,S,x,n.style,n[kt]),{values:O,style:k}=useParallax(o,S,n.style?.visibility),{values:j,style:P}=useStyleTransform(c,S),{values:F,style:L}=useStyleAppearEffect(s,S),{values:R,style:ee}=useLoop(m,S),V=f.useMemo(()=>{let e=new MotionValue(v??1);return{scale:[F.scale,R.scale,T.scale,j.scale],opacity:[F.opacity,R.opacity,T.opacity,e,j.opacity],x:[F.x,R.x,T.x,j.x],y:[F.y,R.y,O.y,T.y,j.y],rotate:[F.rotate,R.rotate,T.rotate,j.rotate],rotateX:[F.rotateX,R.rotateX,T.rotateX,j.rotateX],rotateY:[F.rotateY,R.rotateY,T.rotateY,j.rotateY],skewX:[F.skewX,R.skewX,T.skewX,j.skewX],skewY:[F.skewY,R.skewY,T.skewY,j.skewY],transformPerspective:[j.transformPerspective,F.transformPerspective]}},[v,j,O,F,R,T]);addMotionValueStyle(n.style,V);let te=useTransform(V.scale,multiply),ne=useTransform(V.opacity,multiply),re=useTransform(V.x,add2),ie=useTransform(V.y,add2),ae=useTransform(V.rotate,add2),oe=useTransform(V.rotateX,add2),se=useTransform(V.rotateY,add2),ce=useTransform(V.skewX,add2),le=useTransform(V.skewY,add2),ue=useTransform(V.transformPerspective,add2),{drag:de,dragConstraints:H}=_;useRerenderOnResize(de&&isReactRefObject(H)?H:void 0);let fe={opacity:ne,scale:te,x:re,y:ie,rotate:ae,rotateX:oe,rotateY:se,skewX:ce,skewY:le};isUndefined(y)&&(fe.transformPerspective=ue);let pe=isVariantOrVariantList2(n.animate)?n.animate:void 0,me=isVariantOrVariantList2(n.initial)?n.initial:void 0,he=isVariantOrVariantList2(n.exit)?n.exit:void 0,ge=x&&!d.presenceInitial?{initial:me,animate:pe,exit:he}:{};return(0,l.jsx)(e,{suppressHydrationWarning:!0,..._,...ge,__withFX:!0,style:{...n.style,...k,...P,...ee,...fe,...L,...E},values:T,ref:S})}),vs=f.createContext({});function useComponentViewport(){return f.useContext(vs)}var ys=f.forwardRef(function ComponentViewportProvider2({width:e,height:n,y:i,children:a,...o},s){let c=f.useMemo(()=>({width:e,height:n,y:i}),[e,n,i]),d=useCloneChildrenWithPropsAndRef(s);return(0,l.jsx)(vs.Provider,{suppressHydrationWarning:!0,value:c,children:d(a,o)})}),bs={},getLibraryFeatures=()=>bs,xs=K===void 0?null:new Promise(()=>{});function Suspend(){if(K===void 0)return(0,l.jsx)(`div`,{suppressHydrationWarning:!0,hidden:!0,dangerouslySetInnerHTML:{__html:`<!-- SuspenseThatPreservesDOM fallback rendered -->`}});throw xs}var Ss=(0,l.jsx)(Suspend,{suppressHydrationWarning:!0}),Cs=(0,f.createContext)(!1);Cs.displayName=`DisableSuspenseSuspenseThatPreservesDomContext`;function SuspenseThatPreservesDom({children:e}){return(0,f.useContext)(Cs)?(0,l.jsx)(l.Fragment,{children:e}):(0,l.jsx)(f.Suspense,{suppressHydrationWarning:!0,fallback:Ss,children:e})}function NullFallback(){return(0,l.jsx)(`div`,{suppressHydrationWarning:!0,hidden:!0,dangerouslySetInnerHTML:{__html:`<!-- Code boundary fallback rendered -->`}})}var ws=(0,l.jsx)(NullFallback,{suppressHydrationWarning:!0});function collectErrorToAnalytics(e,n){if(!Yr||Math.random()>.01)return;let i=e instanceof Error&&typeof e.stack==`string`?e.stack:null,a=n?.componentStack;sendTrackingEvent(`published_site_load_recoverable_error`,{message:String(e),stack:i,componentStack:i?void 0:a})}function logError(...e){console.error(...e)}function shouldEnableCodeBoundaries(){return Y.current()!==Y.canvas}function CodeComponentBoundary({getErrorMessage:e,fallback:n,children:i}){return shouldEnableCodeBoundaries()?(0,l.jsx)(ServerSideErrorBoundary,{suppressHydrationWarning:!0,fallback:n,children:(0,l.jsx)(ClientSideErrorBoundary,{suppressHydrationWarning:!0,fallback:n,getErrorMessage:e,children:i})}):i}var ClientSideErrorBoundary=class extends f.Component{state={hasError:!1};static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e,n){logError(this.props.getErrorMessage(),n?.componentStack),collectErrorToAnalytics(e,n)}render(){let{children:e,fallback:n=ws}=this.props,{hasError:i}=this.state;return i?n:e}};function ServerSideErrorBoundary({children:e,fallback:n=ws}){return K===void 0?(0,l.jsx)(f.Suspense,{suppressHydrationWarning:!0,fallback:n,children:e}):(0,l.jsx)(SuspenseThatPreservesDom,{suppressHydrationWarning:!0,children:e})}var DeprecatedContainerErrorBoundary=class extends f.Component{state={hasError:!1};componentDidCatch(e,n){let i=n?.componentStack;console.error(`Error in component (see previous log). This component has been hidden. Please check any custom code or code overrides to fix.`,i),this.setState({hasError:!0}),collectErrorToAnalytics(e,n)}render(){let{children:e}=this.props,{hasError:n}=this.state;return n?null:e}},Ts=f.createContext(void 0);function useNearestExternalComponent(){return f.useContext(Ts)}
852function useFurthestExternalComponent(){let e=useNearestExternalComponent();return f.useMemo(()=>{if(!e)return;let n=e;for(;n.parent&&n.parent.level>0;)n=n.parent;return n},[e])}function IsExternalComponent({children:e,scopeId:n,nodeId:i}){let a=useNearestExternalComponent(),o=f.useMemo(()=>({level:(a?.level??0)+1,scopeId:n,nodeId:i,parent:a}),[n,i,a]);return(0,l.jsx)(Ts.Provider,{suppressHydrationWarning:!0,value:o,children:e})}var Es=`code-crash:`;function formatCodeCrashLocationFromSourceNode(e,n){return`${Es}${e}:${n}`}function getErrorMessageForComponent(e,n){return getErrorMessageFor(`component`,e,n)}function getErrorMessageFor(e,n,i){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: ${formatCodeCrashLocationFromSourceNode(n,i)} \u2192 click \u201CShow Layer\u201D.`}function shouldWrapComponentWithBoundary(e,n,i,a,o,s){let c=isNodeLocalToProject(e,n,i,s);return c&&!o&&a||c&&o}function isNodeLocalToProject(e,n,i,a){return!!(isUndefined(i)||i===1&&a&&e===n)}function useMaybeWrapComponentWithCodeBoundary(e,n,i,a,o,s){let c=useNearestExternalComponent();if(isUndefined(n)||isUndefined(i))return(0,l.jsx)(DeprecatedContainerErrorBoundary,{suppressHydrationWarning:!0,children:e});let{disableCustomCode:d}=getLibraryFeatures();return d&&a?(0,l.jsx)(`div`,{suppressHydrationWarning:!0,style:{padding:`12px 16px`,borderWidth:1,borderRadius:6,borderStyle:`solid`,borderColor:`rgba(149, 149, 149, 0.15)`,backgroundColor:`rgba(149, 149, 149, 0.1)`,fontSize:12,color:`#a5a5a5`},children:`Code component disabled`}):(shouldWrapComponentWithBoundary(n,c?.scopeId,c?.level,a??!1,o??!1,s??!1)&&(e=(0,l.jsx)(CodeComponentBoundary,{suppressHydrationWarning:!0,getErrorMessage:getErrorMessageForComponent.bind(null,n,i),fallback:null,children:e})),o&&(e=(0,l.jsx)(IsExternalComponent,{suppressHydrationWarning:!0,scopeId:n,nodeId:i,children:e})),e)}var Ds=f.forwardRef(function SmartComponentScopedContainer2(e,n){let{as:i,children:a,scopeId:o,nodeId:s,isAuthoredByUser:c,rendersWithMotion:d,isModuleExternal:f,inComponentSlot:m,..._}=e,v=useMaybeWrapComponentWithCodeBoundary(a,o,s,c,f,m),y=e.as??`div`;if(e.rendersWithMotion){let i=htmlElementAsMotionComponent(y);return(0,l.jsx)(Oi.Provider,{suppressHydrationWarning:!0,value:s??null,children:(0,l.jsx)(i,{suppressHydrationWarning:!0,..._,ref:n,style:e.style,children:v})})}{let i=y,{layoutId:a,layoutDependency:o,...c}=_;return(0,l.jsx)(Oi.Provider,{suppressHydrationWarning:!0,value:s??null,children:(0,l.jsx)(i,{suppressHydrationWarning:!0,...c,ref:n,style:e.style,children:v})})}}),Os=(0,f.createContext)({onRegisterCursors:()=>()=>{},registerCursors:()=>{}}),ks=`framer-cursor-none`,As=`framer-pointer-events-none`;function getActiveDefinitions(e,n,i){let a={};for(let[,o]of e)for(let e of o){let o=a[e]??n[e]??i[e];o&&(a[e]=o)}return a}var js=La((0,f.memo)(function CustomCursorList({children:e}){let n=useConstant2(()=>{let e=new Set,n={},i=new Map;return{onRegisterCursors:i=>(i(n),e.add(i),()=>e.delete(i)),registerCursors:(a,o)=>{i.set(o,Object.keys(a)),n=getActiveDefinitions(i,n,a);for(let i of e)i(n);return()=>{i.delete(o)}}}}),i=useReducedMotionConfig();return(0,l.jsxs)(Os.Provider,{suppressHydrationWarning:!0,value:n,children:[e,!i&&(0,l.jsx)(Ps,{suppressHydrationWarning:!0})]})}),[`.${ks}, .${ks} * { cursor: none !important; }`,`.${As}, .${As} * { pointer-events: none !important; }`],`framer-lib-cursors-host`),Ms={position:`fixed`,top:0,left:0,zIndex:13,pointerEvents:`none`};function customCursorReplacesNativeCursor(e){return!(!e||e.placement||e.alignment)}function valueForCursorAlignment(e){switch(e){case`start`:return`0%`;case`center`:return`-50%`;case`end`:return`-100%`;default:assertNever(e)}}function getCenteringTransform(e,n=`center`){switch(e){case`top`:return`${valueForCursorAlignment(n)}, -100%`;case`right`:return`0%, ${valueForCursorAlignment(n)}`;case`bottom`:return`${valueForCursorAlignment(n)}, 0%`;case`left`:return`-100%, ${valueForCursorAlignment(n)}`;default:return`-50%, -50%`}}var Ns=`data-framer-portal-id`;function getCursorHash(e,n){let i=document.elementFromPoint(e,n);for(;i;){if(i===document.body)return;let e=i.getAttribute(`data-framer-cursor`);if(e)return e;if(i.hasAttribute(Ns)){let e=i.getAttribute(Ns);i=i.parentElement,e&&(i=document.getElementById(e)??i)}else i=i.parentElement}}var Ps=(0,f.memo)(function CustomCursorComponent2(){let{onRegisterCursors:e}=(0,f.useContext)(Os),[n,i]=(0,f.useState)(!1),a=useMotionValue(0),o=useMotionValue(0),s=useMotionValue(0),c=(0,f.useRef)(null),d=(0,f.useRef)({cursors:{},cursorHash:void 0}),m=useForceUpdate2();(0,f.useLayoutEffect)(()=>{let e=q.matchMedia(`(any-hover: none)`);function updateRender(e){e.matches?(0,f.startTransition)(()=>i(!1)):i(!0)}return e.addEventListener(`change`,updateRender),e.matches||i(!0),()=>{e.removeEventListener(`change`,updateRender)}},[]),(0,f.useEffect)(()=>
852{if(!n)return;let e=0,i=0;function updateValues(){a.set(e),o.set(i),Nr(s,1,{type:`tween`,duration:.2})}let updateVariant=()=>{if(isEmptyObject(d.current.cursors))return;let n=getCursorHash(e,i);n!==d.current.cursorHash&&(d.current.cursorHash=n,H.update(()=>m()))};function updateCursor(n){if(n.pointerType===`touch`){fe(updateVariant);return}H.read(updateVariant,!0),e=n.clientX,i=n.clientY,H.update(updateValues)}function fireEventToTarget(e){if(e.target===c.current||!c.current)return;let n=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});H.update(()=>{c.current?.dispatchEvent(n)})}return q.addEventListener(`pointermove`,updateCursor),document.addEventListener(`pointerdown`,fireEventToTarget),document.addEventListener(`pointerup`,fireEventToTarget),H.read(updateVariant,!0),()=>{q.removeEventListener(`pointermove`,updateCursor),document.removeEventListener(`pointerdown`,fireEventToTarget),document.removeEventListener(`pointerup`,fireEventToTarget),fe(updateVariant)}},[s,a,o,m,n]),(0,f.useEffect)(()=>{if(!n)return;function hideCursor(){Nr(s,0,{type:`tween`,duration:.2})}return document.addEventListener(`mouseleave`,hideCursor),q.addEventListener(`blur`,hideCursor),()=>{document.removeEventListener(`mouseleave`,hideCursor),q.removeEventListener(`blur`,hideCursor)}},[s,n]),(0,f.useLayoutEffect)(()=>{function updateCursors(e){d.current.cursors=e,d.current.cursorHash=isEmptyObject(e)?null:getCursorHash(a.get(),o.get()),m()}let n=e(updateCursors);return()=>{n(),document.body.classList.toggle(ks,!1)}},[a,o,e,m]);let{cursors:_,cursorHash:v}=d.current,y=v?_[v]:null,x=customCursorReplacesNativeCursor(y);(0,f.useLayoutEffect)(()=>{n&&document.body.classList.toggle(ks,x)},[x,n]);let S=y?.component,T=y?.transition??{duration:0},E=T.duration===void 0?T:{...T,duration:T.duration*1e3},O=useSpring(a,E),k=useSpring(o,E),j=useTransform(()=>O.get()+(y?.offset?.x??0)),P=useTransform(()=>k.get()+(y?.offset?.y??0)),F=y?.alignment,L=y?.placement,R=(0,f.useCallback)((e,n)=>`translate(${getCenteringTransform(L,F)}) ${n}`,[F,L]);return!n||!y||!S?null:(0,l.jsx)(f.Suspense,{suppressHydrationWarning:!0,children:(0,l.jsx)(S,{suppressHydrationWarning:!0,transformTemplate:R,style:{...Ms,x:j,y:P,opacity:s},globalTapTarget:!0,variant:y?.variant,ref:c,className:As})})}),Fs=`webPageId`;function isLinkToWebPage(e){return!!(e&&typeof e==`object`&&Fs in e)}function linkInfoKey(e){return`${e.scopeId}:${e.nodeId}:${e.furthestExternalComponent?.scopeId}:${e.furthestExternalComponent?.nodeId}`}var NestedLinksCollector=class{collectedLinks=new Map;nestingInfo=new Map;clear(){this.collectedLinks.clear(),this.nestingInfo.clear()}getLinks(){let e=new Map;for(let[n,i]of this.nestingInfo){let a=this.collectedLinks.get(n);assert(a,`Outer link not found: ${n}`);let o=Array.from(i).map(e=>{let n=this.collectedLinks.get(e);return assert(n,`Inner link not found: ${e}`),n});e.set(a,o)}return e}collectNestedLink(e,n){if(Yr&&!isTest()||!e.nodeId||!n.nodeId)return;this.collectedLinks.set(linkInfoKey(e),e),this.collectedLinks.set(linkInfoKey(n),n);let i=this.nestingInfo.get(linkInfoKey(e))??new Set;i.add(linkInfoKey(n)),this.nestingInfo.set(linkInfoKey(e),i)}},Is=new NestedLinksCollector;function useIsOnFramerCanvas(){return Y.current()===Y.canvas}function isInternalURL(e){return e!==void 0&&!!(e.startsWith(`#`)||e.startsWith(`/`)||e.startsWith(`.`))}function isValidURL(e,n){try{return!!new URL(e).protocol}catch{}return n}function getRouteFromPageLink(e,n,i,a){if(isString(e)){let o=isInternalURL(e);if(!n.routes||!n.getRoute||!i||!o)return;let[s]=e.split(`#`,2);if(s===void 0)return;let[c]=s.split(`?`,2);if(c===void 0)return;try{let{routeId:e}=inferInitialRouteFromPath(n.routes,c,c===``,a);return n.getRoute(e)}catch{return}}let{webPageId:o}=e;return n.getRoute?.(o)}var Ls=`element`,Rs=`collection`,zs=`collectionItemId`,Bs=`pathVariables`,Vs=`framer/page-link,`;function isFramerPageLink(e){return isString(e)&&e.startsWith(`data:${Vs}`)}function parseFramerPageLink(e){if(isFramerPageLink(e))try{let n=new URL(e),i=n.pathname.substring(Vs.length),a=n.searchParams,o=a.has(Ls)?a.get(Ls):void 0,s,c=a.get(Rs),l=a.get(zs),d=a.get(Bs);return c&&l&&d&&(s={collection:c,collectionItemId:l,pathVariables:Object.fromEntries(new URLSearchParams(d).entries())}),{target:i===`none`?null:i,element:o===`none`?void 0:o,collectionItem:s}}catch{return}}function navigateFromAttributes(e,n,i){let a=n.getAttribute(`data-framer-page-link-target`),o,s;if(a){o=n.getAttribute(`data-framer-page-link-element`)??void 0;let e=n.getAttribute(`data-framer-page-link-path-variables`);e&&(s=Object.fromEntries(new URLSearchParams(e).entries()))}else{let e=n.getAttribute(`href`);if(!e)return!1;let i=parseFramerPageLink(e);if(!i?.target)return!1;a=i.target,o=i.element??void 0,s=i.collectionItem?.pathVariables}let c=o?n.dataset.framerSmoothScroll!==void 0:void 0;return e(a,o,Object.assign({},i,s),c),!0}function linkFromFramerPageLink(e){if(!isFramerPageLink(e))return e;let n=parseFramerPageLink(e);if(!n)return;let{target:i,element:a,collectionItem:o}=n;
852if(i)return{webPageId:i,hash:a??void 0,pathVariables:createVariablesFromPageLinkCollectionItem(o)}}function createVariablesFromPageLinkCollectionItem(e){if(!e)return;let n={};for(let i in e.pathVariables){let a=e.pathVariables[i];a&&(n[i]=a)}return n}var Hs=(0,f.createContext)(void 0);function ResetOuterLinkContext({children:e}){return(0,l.jsx)(Hs.Provider,{suppressHydrationWarning:!0,value:void 0,children:e})}function useReplaceNestedLinks(e,n,i,a,o,s){let c=(0,f.useContext)(Hs),d=useFurthestExternalComponent(),m=(0,f.useMemo)(()=>({scopeId:n,nodeId:i,furthestExternalComponent:d}),[n,i,d]),_=useRouter(),v=useCurrentRoute(),{locales:y}=useLocaleInfo(),x=(0,f.useMemo)(()=>{let e=isLinkToWebPage(a)?a:linkFromFramerPageLink(a);if(e)return getRouteFromPageLink(e,_,v,y)},[v,a,_,y]),S=!!(!useIsOnFramerCanvas()&&c?.nodeId&&m.nodeId),T=(0,f.useCallback)(e=>{if(o.href){if(e.preventDefault(),e.stopPropagation(),isCommandKeyPressed(e)){openExternalLink(o.href,``,`_blank`);return}x?o.navigate?.():openExternalLink(o.href,o.rel,o.target)}},[o,x]),E=(0,f.useCallback)(e=>{o.href&&(e.preventDefault(),e.stopPropagation(),openExternalLink(o.href,``,`_blank`))},[o]),O=(0,f.useCallback)(e=>{o.href&&e.key===`Enter`&&(e.preventDefault(),e.stopPropagation(),x?o.navigate?.():openExternalLink(o.href,o.rel,o.target))},[o,x]);useRefEffect(s,e=>{e!==null&&S&&(e.dataset.hydrated=`true`)},[S]);let k=e;return S&&(f.Children.forEach(e,e=>{isChildReplaceable(e)&&(assert(linkInfoIsCollectable(c),"outerLink must have nodeId defined at this point; this was verified with `shouldReplaceLink` above"),assert(linkInfoIsCollectable(m),"innerLink must have nodeId defined at this point; this was verified with `shouldReplaceLink` above"),Is.collectNestedLink(c,m))}),k=f.Children.map(e,e=>{if(!isChildReplaceable(e))return e;let n=maybeReplaceAnchorWithSpan(e.type),{children:i,...a}=e.props,o={...a,"data-nested-link":!0,role:`link`,tabIndex:0,onClick:T,onAuxClick:E,onKeyDown:O,as:a.as&&maybeReplaceAnchorWithSpan(a.as)},s=`ref`in e?e.ref:void 0;return(0,f.createElement)(n,{...o,ref:s},i)})),(0,l.jsx)(Hs.Provider,{suppressHydrationWarning:!0,value:m,children:k})}function linkInfoIsCollectable(e){return!isUndefined(e?.nodeId)}function isChildReplaceable(e){return(0,f.isValidElement)(e)&&(maybeReplaceAnchorWithSpan(e.type)!==e.type||maybeReplaceAnchorWithSpan(e.props.as)!==e.props.as)}function openExternalLink(e,n,i){let a=document.createElement(`a`);a.href=e,n&&(a.rel=n),i&&(a.target=i),document.body.appendChild(a),a.click(),a.remove()}function maybeReplaceAnchorWithSpan(e){return e===`a`?`span`:isMotionComponent(e)&&unwrapMotionComponent(e)===`a`?gr.span:e}var Us=`--text-selection-color`,Ws=`--text-selection-background-color`;function updateTextSelectionStyles(e){e&&H.read(()=>{let n=document.getElementById(e);if(!n)return;let i=getComputedStyle(n),a=i.getPropertyValue(`--selection-color`).trim(),o=i.getPropertyValue(`--selection-background-color`).trim();H.render(()=>{let n=document.querySelectorAll(`[data-framer-portal-id="${e}"]`);n.length!==0&&(a&&n.forEach(e=>e.style.setProperty(Us,a)),o&&n.forEach(e=>e.style.setProperty(Ws,o)))})})}function getTextSelectionStylesFromTrigger(e){return[`[data-framer-portal-id="${e}"] * ::selection { 853 color: var(${Us}); 854 background-color: var(${Ws}, highlight); 855}`]}function InjectSelectionStyleWithoutCSS({triggerId:e,children:n}){return f.useLayoutEffect(()=>{e&&updateTextSelectionStyles(e)},[e]),n}var Gs=La(InjectSelectionStyleWithoutCSS,(e,n)=>getTextSelectionStylesFromTrigger(n?.triggerId),`InjectSelectionStyle`),Ks={isClockwise:e=>Ks.signedArea(e)<=0,signedArea:e=>{let n=0,i=e.length;for(let a=0;a<i;a++){let o=e[a],s=e[(a+1)%i];!o||!s||(n+=o.x*-s.y-s.x*-o.y)}return 1/2*n},containsPoint:(e,n)=>{let i;for(let a=0;a<e.length;a++){if(Point.isEqual(e[a],n))return!0;let o=e[a]?.x??0,s=e[a]?.y??0,c=(a+1)%e.length;if(Point.isEqual(e[c],n))return!0;let l=e[c]?.x??0,d=e[c]?.y??0,f=(n.x-o)*(d-s)-(n.y-s)*(l-o);if(f===0)continue;let m=f>0;if(i??=m,i!==m)return!1}return!0},intersects:(e,n)=>{if(e.length<1||n.length<1)return!1;let i=X.boundingRectFromPoints(e),a=X.boundingRectFromPoints(n);if(!X.intersects(i,a))return!1;let o=[],s=e.length;e.forEach((n,i)=>{let a=e[(i+1)%s];a&&o.push(Ta(n,a))});let c=[],l=n.length;
855n.forEach((e,i)=>{let a=n[(i+1)%l];a&&c.push(Ta(e,a))});for(let e of o)for(let n of c)if(Ta.intersection(e,n,!0))return!0;return!!(Ks.containsPoint(n,e[0])||Ks.containsPoint(e,n[0]))},contains:(e,n)=>{for(let i=0;i<n.length;i++)if(!Ks.containsPoint(e,n[i]))return!1;return!0},clipToRect:(e,n)=>{let i=X.edges(n),a=new Set,o=e.length,s=[],c=[];for(let l=0;l<o;l++){let d=e[l],f=e[(l+1)%o];if(X.containsPoint(n,d)){let e=keyForPoint(d);if(a.add(e),c.push(d),X.containsPoint(n,f))continue}let m=Ta(d,f);i.forEach(e=>{let n=Ta.intersection(m,e,!0);if(!n)return;let i=keyForPoint(n);a.has(i)||(a.add(i),s.push(n))})}return s.length===0?c:(X.points(n).forEach(n=>{Ks.containsPoint(e,n)&&(a.add(keyForPoint(n)),s.push(n))}),Point.sortClockwise([...c,...s]))}};function keyForPoint(e){return`${e?.x}-${e?.y}`}function invertPlacement(e){switch(e){case`top`:return`bottom`;case`right`:return`left`;case`bottom`:return`top`;case`left`:return`right`;default:assertNever(e)}}function preferredOffset(e,n,i,a=0){let o=Math.max(e,a);if(e<o)return o;let s=n+a;return o+s>i?i-s:o}function collisionAxis(e,n,i){switch(e){case`top`:case`bottom`:return n.y<0||n.y+n.height>i.height?`y`:void 0;case`left`:case`right`:return n.x<0||n.x+n.width>i.width?`x`:void 0;default:assertNever(e)}}function getPlacementAndOffsetAvoidingScreenCollision(e,n,i,a){switch(collisionAxis(n,e,a)){case`x`:return{placement:invertPlacement(n),x:i.x*-1,y:i.y};case`y`:return{placement:invertPlacement(n),x:i.x,y:i.y*-1};default:return{placement:n,x:i.x,y:i.y}}}function getSafePlacementFloatingPositionRect(e,n,i,a,o,s,c){let l=X.rebaseRectOnto(n,e,i,a),d={x:l.x+o.x,y:l.y+o.y,width:n.width,height:n.height};if(!s)return[i,d];let{x:f,y:m,placement:_}=getPlacementAndOffsetAvoidingScreenCollision(d,i,o,s),v=X.rebaseRectOnto(n,e,_,a);return[_,{x:preferredOffset(v.x+f,n.width,s.width,c),y:preferredOffset(v.y+m,n.height,s.height,c),width:n.width,height:n.height}]}function preferredPoint(e,n,i){return Ks.containsPoint([n,...i],e)?n:e}var qs=5;function safeAreaPolygonConstraints(e){return{constrainX:n=>Math.min(Math.max(n,e.x+qs),e.x+e.width-qs),constrainY:n=>Math.min(Math.max(n,e.y+qs),e.y+e.height-qs)}}var Js=4;function polygonPoints({x:e,y:n},i,a,{constrainX:o,constrainY:s}){let[c,l,d,f]=X.points(a);switch(i){case`left`:{let i={x:o(e-Js),y:n};return[i,preferredPoint(f,l,[i,d]),preferredPoint(d,c,[i,f])]}case`right`:{let i={x:o(e+Js),y:n};return[i,preferredPoint(l,f,[i,c]),preferredPoint(c,d,[i,l])]}case`top`:{let i={x:e,y:s(n-Js)};return[i,preferredPoint(l,c,[i,f]),preferredPoint(f,d,[i,l])]}case`bottom`:{let i={x:e,y:s(n+Js)};return[i,preferredPoint(c,l,[i,d]),preferredPoint(d,f,[i,c])]}default:assertNever(i)}}function safeAreaInset(e,n){switch(e){case`left`:return`${Math.min(n.y,0)}px auto auto 0px`;case`right`:return`${Math.min(n.y,0)}px 0px auto auto`;case`top`:return`0px auto auto ${Math.min(n.x,0)}px`;case`bottom`:return`auto auto 0px ${Math.min(n.x,0)}px`;default:assertNever(e)}}function floatingPositionSafeAreaStyle(e,n,i,a,o){let s=Math.min(o.x,a.x),c=Math.min(o.y,a.y),l=X.merge(a,o),d=polygonPoints({x:e,y:n},i,o,safeAreaPolygonConstraints(a)).map(e=>`${e.x-s}px ${e.y-c}px`).join(`, `);return{height:`${l.height}px`,width:`${l.width}px`,clipPath:`polygon(${d})`,inset:safeAreaInset(i,X.delta(a,o))}}function valueForFloatingAlignment(e){switch(e){case`start`:return 0;case`center`:return .5;case`end`:return 1;default:assertNever(e)}}function motionOriginFromFloatingPosition(e=`bottom`,n=`center`){switch(e){case`top`:return{originX:valueForFloatingAlignment(n),originY:1};case`right`:return{originX:0,originY:valueForFloatingAlignment(n)};case`bottom`:return{originX:valueForFloatingAlignment(n),originY:0};case`left`:return{originX:1,originY:valueForFloatingAlignment(n)};default:assertNever(e)}}function domReadGetAncestorInfo(e){let n=e.current,i={position:`absolute`,scrolls:!1};for(;n;){if(n?.tagName===`BODY`||(getComputedStyle(n)?.position===`fixed`&&(i.position=`fixed`),(n.scrollWidth>n.clientWidth||n.scrollHeight>n.clientHeight)&&(i.scrolls=!0),i.scrolls&&i.position===`fixed`))return i;n=n.parentElement}return i}function domReadStartAnimationFrameLoop(e){return H.read(e,!0),()=>fe(e)}function domWriteCreateUpdateSafeArea(e){let n=0,i=0;
855return(a,o,s,c)=>{e.current?.style&&(n=c?.clientX??n,i=c?.clientY??i,Object.assign(e.current.style,floatingPositionSafeAreaStyle(n,i,s,a,o)))}}function domWriteUpdatePosition(e,n,i,a,o){e.current&&Object.assign(e.current.style,{position:n,visibility:`visible`,left:(i?.x??0)+a+`px`,top:(i?.y??0)+o+`px`})}var Ys=(()=>{let e=f.createContext(new Set);return e.displayName=`FloatingStackingContext`,e})();function useDismissFloatingLayer(e,n,i,{safeArea:a,onDismiss:o}){let s=useConstant2(()=>new Set),c=f.useContext(Ys),[l,d]=usePresence();return f.useEffect(()=>{if(l){if(!n.current)return;n.current.style.pointerEvents=``,c.add(n.current)}else{if(!n.current)return;n.current.style.pointerEvents=`none`,c.delete(n.current),d()}},[l,d,n,c]),f.useEffect(()=>{if(!a){let handleEscape=e=>{e.key===`Escape`&&o()};return q.addEventListener(`keyup`,handleEscape),()=>q.removeEventListener(`keyup`,handleEscape)}let c;function maybeDismiss(){if(!(!c||s.size!==0)){for(let a of document.elementsFromPoint(c.x,c.y))if(a===e.current||a===n.current||a===i.current)return;o()}}function scheduleMaybeDismiss(e){c=e,H.read(maybeDismiss)}return q.addEventListener(`mousemove`,scheduleMaybeDismiss),()=>{q.removeEventListener(`mousemove`,scheduleMaybeDismiss)}},[o,a,e,i,n]),s}function makeGetSafePlacementFloatingPositionRect({placement:e,alignment:n,offset:i,collisionDetectionSize:a,collisionDetectionPadding:o}){return(s,c)=>getSafePlacementFloatingPositionRect(s,c,e,n,i,a,o)}function useDynamicMotionOrigin(e,n){return useConstant2(()=>{let{originX:i,originY:a}=motionOriginFromFloatingPosition(e,n),o={x:motionValue(i),y:motionValue(a)};return[o,e=>{let i=motionOriginFromFloatingPosition(e,n);o.x.set(i.originX),o.y.set(i.originY)}]})}function childrenWithOrigin(e,{x:n,y:i}){if(!e||!isReactChild(e)||!isReactElement(e)||!isObject2(e.props.style)&&!isUndefined(e.props.style))return null;let a={...e.props.style,originX:n,originY:i};return f.cloneElement(e,{style:a})}var Xs=`overlay`,Zs=`template-overlay`;function getPortalContainer(e,n){if(n||isUndefined(e)){let e=document.querySelector(`#${Zs}`)??document.querySelector(`#${Xs}`);if(e)return e}return(isString(e)?document.querySelector(e):void 0)||document.body}function Floating({alignment:e,placement:n,safeArea:i,offsetX:a,offsetY:o,anchorRef:s,className:c,children:d,portalSelector:_,zIndex:v,collisionDetection:y=!1,collisionDetectionPadding:x,onDismiss:S,...T}){let E=f.useRef(null),O=f.useRef(null),k=f.useRef(null),[j,P]=useDynamicMotionOrigin(n,e);f.useLayoutEffect(()=>{if(!refHasValue(s)||!k.current||!n||!e)return;let c={x:a??0,y:o??0},l,d=!1,f=!1,m,_,v,S,T,j=0,F=0,L=domReadGetAncestorInfo(s),R=L.position,ee=k.current.getBoundingClientRect(),V=makeGetSafePlacementFloatingPositionRect({placement:n,alignment:e,offset:c,collisionDetectionSize:y?{width:q.innerWidth,height:q.innerHeight}:void 0,collisionDetectionPadding:x}),onRender=()=>{d||(domWriteUpdatePosition(E,R,v,j,F),i&&T(m,v,_,S),S=void 0)},initialRender=()=>{T=domWriteCreateUpdateSafeArea(O),S?onRender():domWriteUpdatePosition(E,R,v,j,F),f=!0},onUpdate=()=>{d||P(_)},domReadUpdateSafePlacementAndRect=()=>{if(!V||d)return;R===`fixed`?(j=0,F=0):(j=q.scrollX,F=q.scrollY),m=s.current.getBoundingClientRect();let e=V(m,ee);_=e[0],v=e[1]};if(domReadUpdateSafePlacementAndRect(),onUpdate(),initialRender(),L.scrolls&&(l=domReadStartAnimationFrameLoop(domReadUpdateSafePlacementAndRect)),!i)return()=>{l?.(),d=!0};let handleMouseMove=e=>{S=e,f&&(H.read(domReadUpdateSafePlacementAndRect,!1,!0),H.update(onUpdate,!1,!0),H.render(onRender,!1,!0))},te=s.current;return te.addEventListener(`mousemove`,handleMouseMove),()=>{te.removeEventListener(`mousemove`,handleMouseMove),l?.(),d=!0}},[i,n,e,a,o,s,y,x,P]);let F=useDismissFloatingLayer(s,E,O,{safeArea:i,onDismiss:S}),L=(0,f.useContext)(Co);return m.createPortal((0,l.jsxs)(gr.div,{suppressHydrationWarning:!0,ref:E,className:c,style:{top:0,left:0,visibility:`hidden`,width:`auto`,height:`auto`,position:`absolute`,zIndex:v},...T,children:[i?(0,l.jsx)(`div`,{suppressHydrationWarning:!0,ref:O,style:{position:`absolute`},"data-safearea":!0}):(0,l.jsx)(`div`,{suppressHydrationWarning:!0,style:{position:`fixed`,inset:0},"aria-hidden":!0,onClick:S}),(0,l.jsx)(Ys.Provider,{suppressHydrationWarning:!0,value:F,children:(0,l.jsx)(ResetOuterLinkContext,{suppressHydrationWarning:!0,children:(0,l.jsx)(Gs,{suppressHydrationWarning:!0,triggerId:s.current?.id??void 0,children:(0,l.jsx)(`div`,{suppressHydrationWarning:!0,ref:k,children:childrenWithOrigin(d,j)})})})})]}),getPortalContainer(_,L))}var Qs;function getCurrentSiteId(){return Qs}function findAnchorElement(e,n){return e instanceof HTMLAnchorElement?e:e instanceof Element?e===n?null:findAnchorElement(e.parentElement,n):null}function ChildrenCanSuspend({children:e}){return(0,l.jsx)(SuspenseThatPreservesDom,{suppressHydrationWarning:!0,children:e})}function withChildrenCanSuspend(e){return(0,f.forwardRef)(function withChildrenCanSuspendInner(n,i){return(0,l.jsx)(ChildrenCanSuspend,{suppressHydrationWarning:!0,children:(0,l.jsx)(e,{suppressHydrationWarning:!0,...n,ref:i})})})}function findMatchingRouteAttributesForWebPageLink(e,n,i,a,o,s){let{webPageId:c,hash:l,pathVariables:d,hashVariables:f}=i;return getRouteAttributes(e,n,c,l,s,d,f,o,a)}function findMatchingRouteAttributesForResolvedPath(e,n,i,a){if(!(!e.routes||!e.getRoute)&&isInternalURL(n))try{let[o,s]=n.split(`#`,2);assert(o!==void 0,`A href must have a defined pathname.`);let[c]=o.split(`?`,2);assert(c!==void 0,`A href must have a defined pathname.`);let l=c===``,{routeId:d,pathVariables:f,localeId:m}=inferInitialRouteFromPath(e.routes,c,l,a),_=e.getRoute(d);if(_)return{routeId:d,route:_,href:n,elementId:s,pathVariables:Object.assign({},i,f),locale:m?a?.find(({id:e})=>e===m):void 0}}catch{}}function getRouteAttributes(e,n,i,a,o,s,c,l,d){let f={...o,...s,...l?.path},m={...o,...c,...l?.hash},_=e.getRoute?.(i),v=getPathForRoute(_,{currentRoutePath:n?.path,currentRoutePathLocalized:n?.pathLocalized,currentPathVariables:n?.pathVariables,hash:a,pathVariables:f,hashVariables:m,preserveQueryParams:e.preserveQueryParams,siteCanonicalURL:e.siteCanonicalURL,localeId:d?.id});return{routeId:i,route:_,href:v,elementId:v.split(`#`,2)[1],pathVariables:f,locale:d??void 0}}
855var $s=/:([a-z]\w*)/gi,ec=(0,f.createContext)(void 0);function useImplicitPathVariables(){let e=(0,f.useContext)(ec),n=useCurrentRoute()?.pathVariables;return e||n}function linkMatchesRoute(e,{webPageId:n,hash:i,pathVariables:a},o){if(n!==e.id||i)return!1;if(e.path&&e.pathVariables){let n=Object.assign({},o,a);for(let[,i]of e.path.matchAll($s))if(!i||e.pathVariables[i]!==n[i])return!1}return!0}var tc=new Map,nc=500,rc=500,ic,ac=!1;function hasServerOnlyRoutes(){return!!getNavigationServerTimingEntry(`ss-only-routes`)}function normalizeUrl(e){if(K===void 0)return;let n=K.location.href,i;try{i=new URL(e,n)}catch{return}return i.hash=``,i}function isExternalRewrite(e){return getServerTimingEntry(`rewrite`,e)?.description===`external`}function isNavigationCheckEnabled(){if(!getLibraryFeatures().checkServerSideRouter)return!1;if(ic===void 0){let e=hasServerOnlyRoutes();ac=!e&&isSafari()&&safariVersion()<16.4,ic=e||ac}return ic}function mapResponseToNavigationResolution(e,n){if(e.type===`opaqueredirect`||!e.ok)return{decision:`server`};let i=e.headers.get(`Framer-Location`);if(i)try{return{decision:`server`,redirectUrl:new URL(i,n).href}}catch{return{decision:`server`}}let a=e.headers.get(`Framer-Site-Id`);return a===null?{decision:isExternalRewrite(e.headers.get(`server-timing`))?`server`:`client`}:{decision:a===getCurrentSiteId()?`client`:`server`}}async function probe(e){let n=await fetch(e,{method:`HEAD`,redirect:`manual`,credentials:`same-origin`,headers:{"Framer-Navigation":`true`}});if(ac&&n.type!==`opaqueredirect`&&n.status!==0&&n.ok&&!n.headers.has(`Framer-Location`)&&(ac=!1,getServerTimingEntry(`ss-only-routes`,n.headers.get(`server-timing`))||(ic=!1)),n.status>=500)throw Error(`Transient response status ${n.status}`);return mapResponseToNavigationResolution(n,e)}function cacheNavigationResolution(e,n){tc.has(e)&&tc.set(e,n)}async function retryNavigationCheck(e){await delay2(nc);try{cacheNavigationResolution(e,await probe(e))}catch{tc.delete(e)}}async function runNavigationCheck(e){try{let n=await probe(e);return cacheNavigationResolution(e,n),n}catch{return retryNavigationCheck(e),{decision:`server`}}}function startNavigationCheck(e){if(!isNavigationCheckEnabled())return;let n=normalizeUrl(e);if(!n||n.origin!==K.location.origin)return;let i=n.href;tc.has(i)||tc.set(i,runNavigationCheck(i))}function getNavigationResolution(e){let n=normalizeUrl(e);if(!n)return;let i=tc.get(n.href);return i&&!isPromise(i)?i:void 0}async function waitForNavigationResolution(e){let n=normalizeUrl(e);if(!n)return;let i=tc.get(n.href);if(i)return isPromise(i)?Promise.race([i,delay2(rc).then(()=>void 0)]):i}var oc=500,sc=.9,cc=1.7,lc=4,uc=1/0,dc=new WeakMap,fc=new Set,pc=new Map;function startNavigationCheckFromNode(e){!(e instanceof HTMLAnchorElement)||!e.href||startNavigationCheck(e.href)}function getObserveRouteForPreloadingFn(){let e=Wr.connection||Wr.mozConnection||Wr.webkitConnection||{},n=Wr.deviceMemory&&Wr.deviceMemory>cc,i,a,o;function updateConnection(){i=e.effectiveType||``,a=e.saveData||i.includes(`2g`),o=i===`3g`||n?lc:uc}e.addEventListener?.(`change`,updateConnection),updateConnection();let s=new IntersectionObserver(onPreloadIntersectionChange,{threshold:sc}),c=0;async function preloadTimeout(e,n){if(a)return;startNavigationCheckFromNode(n);let{id:i,preload:o}=e,l=pc.get(i);if(!l?.size||fc.has(i))return;++c,fc.add(i);let d=o()?.catch(()=>{});s.unobserve(n),dc.delete(n);for(let e of l)s.unobserve(e),dc.delete(e);l.clear(),pc.delete(i),await d,--c}function onPreloadIntersectionChange(e){for(let n of e){let e=n.target,i=dc.get(e);if(!i||fc.has(i.id)){s.unobserve(e),dc.delete(e);continue}let a=i.id,l=pc.get(a),d=pc.get(a)?.size??0;if(n.isIntersecting){if(c>=o)continue;l?l.add(e):pc.set(a,new Set([e])),setTimeout(preloadTimeout,oc,i,e)}else l&&l.delete(e),d<=1&&pc.delete(a)}}return(e,n,i)=>{if(!fc.has(i))return dc.set(e,{id:i,preload:n}),s.observe(e),()=>{dc.delete(e),s.unobserve(e)}}}var mc=!Ei||typeof IntersectionObserver>`u`?null:getObserveRouteForPreloadingFn();function propsForLink(e,n){let i=isInternalURL(e),a={href:e===``||isValidURL(e,i)?e:`https://${e}`,target:getTargetAttrValue(n?.openInNewTab,i),rel:i?void 0:n?.rel};return n?.preserveParams&&(a.href=forwardCurrentQueryParams(a.href??e),a[`data-framer-preserve-params`]=!0),n?.trackLinkClick&&(a.onClick=()=>{n.trackLinkClick(e)}),a}function getTargetAttrValue(e,n){return e===void 0?n?void 0:`_blank`:e?`_blank`:void 0}function handleResolveSlugError(e,n){console.warn(getPleaseReportMessage(`Failed to resolve slug: ${e instanceof Error?e.message:n??`Unknown error`}`))}function resolveSlug(e,n,i){try{let a=n?.get(e.collectionId);if(!a)return handleResolveSlugError(void 0,`Couldn't find collection utils for collection id: "${e.collectionId}"`);let o=a.getSlugByRecordId(e.collectionItemId,i??void 0);return isPromise(o)?o.catch(handleResolveSlugError):o}catch(e){handleResolveSlugError(e)}}async function resolveSlugs(e,n,i,a){async function handleSlugs(e){if(!e)return{};let n={};for(let o in e){let s=e[o];assert(s,`unresolvedSlug should be defined`);let c=resolveSlug(s,a,i),l=isPromise(c)?await c:c;l&&(n[o]=l)}return n}let[o,s]=await Promise.allSettled([handleSlugs(e),handleSlugs(n)]);return{path:o.status===`fulfilled`?o.value:void 0,hash:s.status===`fulfilled`?s.value:void 0}}function resolveSlugsWithSuspense(e,n,i,a,o=[]){function handleSlugs(e){if(!e)return;let n={};for(let s in e){let c=e[s];if(!c)continue;let l=resolveSlug(c,a,i);isPromise(l)?o.push(l):l&&(n[s]=l)}return n}
855let s={path:handleSlugs(e),hash:handleSlugs(n)};return o.length>0?Promise.allSettled(o):s}function useResolveSlugsWithSuspense(){let e=useCollectionUtils();return(0,f.useCallback)((n,i,a,o=[])=>resolveSlugsWithSuspense(n,i,a,e,o),[e])}function useTrackLinkClick({nodeId:e,clickTrackingId:n,router:i,href:a,activeLocale:o}){let s=useCollectionUtils();return(0,f.useCallback)(async c=>{if(!i.pageviewEventData?.current)return;let l=i.pageviewEventData.current instanceof Promise?await i.pageviewEventData.current:i.pageviewEventData.current,d=isLinkToWebPage(a)?a:linkFromFramerPageLink(a);if(!isLinkToWebPage(d))return sendTrackingEvent(`published_site_click`,{...l,href:c?makeUrlAbsolute(c):null,nodeId:e??null,trackingId:n||null,targetRoutePath:null,targetWebPageId:null,targetCollectionItemId:null},`eager`);let f=d.webPageId,m=i?.getRoute?.(f),_=m?.path??null,v=null;if(m?.collectionId&&d.pathVariables){let e=s?.get(m.collectionId);if(!e)return;let[n]=Object.values(d.pathVariables);if(isString(n)){let i=e.getRecordIdBySlug(n,o||void 0);v=(isPromise(i)?await i:i)??null}}return sendTrackingEvent(`published_site_click`,{...l,href:c?makeUrlAbsolute(c):null,nodeId:e??null,trackingId:n??null,targetRoutePath:_,targetWebPageId:f,targetCollectionItemId:v},`eager`)},[e,n,i,a,o,s])}function makeUrlAbsolute(e){try{let n=new URL(e,q.document.baseURI);return n.origin===q.location.origin?n.pathname+n.search+n.hash:n.href}catch{return e}}function performNavigation(e,n,i,a,o,s,c){i(),e.navigate?.(n,a,o,s,c)}function createOnClickLinkHandler(e,n,i){return async a=>{let o=isCommandKeyPressed(a),s=findAnchorElement(a.target),c=!s||s.getAttribute(`target`)===`_blank`,l=!o&&!c,track=()=>void n(e);if(!l){await xi({priority:`user-blocking`,ensureContinueBeforeUnload:!0,continueAfter:`paint`}),track();return}a.preventDefault(),i(track)}}function createNavigate(e,n,i){return async a=>{let o=await resolveNavigation(n);if(o.decision===`client`){i(a);return}performServerNavigation(e,a,o.redirectUrl)}}async function resolveNavigation(e){return!e||!isNavigationCheckEnabled()?{decision:`client`}:getNavigationResolution(e)||(startNavigationCheck(e),await waitForNavigationResolution(e)??{decision:`server`})}async function performServerNavigation(e,n,i){await xi({priority:`user-blocking`,ensureContinueBeforeUnload:!0,continueAfter:`paint`}),n?.(),K.location.assign(getServerNavigationUrl(e,i))}function getServerNavigationUrl(e,n){if(!n)return e;try{let i=new URL(e,K.location.href),a=new URL(n);return i.hash&&!a.hash&&(a.hash=i.hash),a.href}catch{return n}}function getNavigationUrl(e,n){if(n||K===void 0)return;let i=K.location.href,a;try{a=new URL(e,i)}catch{return}let o=new URL(i);if(a.origin===o.origin&&(a.pathname!==o.pathname||a.search!==o.search))return a.href}function propsForRoutePath(e,n,i,a,o,s,c,l){if(!i)return propsForLink(e,a);let d=findMatchingRouteAttributesForResolvedPath(n,e,l,c);if(!d)return propsForLink(e,a);let{routeId:f,route:m,elementId:_,pathVariables:v,locale:y}=d;if(!m)return propsForLink(e,a);let x=getPathForRoute(m,{currentRoutePath:i.path,currentRoutePathLocalized:i.pathLocalized,currentPathVariables:i.pathVariables,hash:_,pathVariables:v,preserveQueryParams:n.preserveQueryParams&&!Xr,siteCanonicalURL:n.siteCanonicalURL,localeId:s}),S=getTargetAttrValue(a.openInNewTab,!0),T=S===`_blank`,E=getNavigationUrl(x,T),O={pathVariables:v,locale:y},k=createNavigate(x,E,e=>performNavigation(n,f,()=>o(f,O,{priority:`user-blocking`,yieldBeforePreload:!1,shouldLoadRouteData:!T}),_,v,a.smoothScroll,e));return{href:x,target:S,onClick:createOnClickLinkHandler(x,a.trackLinkClick,k),navigate:k,"data-framer-page-link-current":i&&linkMatchesRoute(i,{webPageId:f,hash:_,pathVariables:v},l)||void 0,preload:()=>o(f,O,{priority:`background`,yieldBeforePreload:!0,shouldLoadRouteData:!T}),_routeId:f,_pathVariables:v,_locale:y,_navigationUrl:E}}var hc=withChildrenCanSuspend((0,f.forwardRef)(function Link2({children:e,href:n,openInNewTab:i,smoothScroll:a,clickTrackingId:o,relValues:s,preserveParams:c,nodeId:l,scopeId:d,motionChild:m,..._}
855,v){let y=useRouter(),x=useCurrentRoute(),S=useImplicitPathVariables(),{activeLocale:T,locales:E}=useLocaleInfo(),O=useResolveSlugsWithSuspense(),k=usePreloadRoute(),j=useIsOnFramerCanvas(),P=useTrackLinkClick({nodeId:l,clickTrackingId:o,router:y,href:n,activeLocale:T}),F=(0,f.useMemo)(()=>{if(!n)return{};let e=isLinkToWebPage(n)?n:linkFromFramerPageLink(n);if(!e)return{};if(isString(e))return propsForRoutePath(e,y,x,{openInNewTab:i,trackLinkClick:P,rel:s?.join(` `),preserveParams:c,smoothScroll:a},k,T?.id,E,S);let{unresolvedPathSlugs:o,unresolvedHashSlugs:l}=e,d=O(o,l,T);if(isPromise(d))throw d;let{routeId:f,href:m,elementId:_,pathVariables:v,locale:j}=findMatchingRouteAttributesForWebPageLink(y,x,e,T,d,S),F=getTargetAttrValue(i,!0),L=F===`_blank`,R=getNavigationUrl(m,L),ee={pathVariables:v,locale:j},V=createNavigate(m,R,e=>performNavigation(y,f,()=>k(f,ee,{priority:`user-blocking`,yieldBeforePreload:!1,shouldLoadRouteData:!L}),_,v,a,e));return{href:m,target:F,onClick:createOnClickLinkHandler(m,P,V),"data-framer-page-link-current":x&&linkMatchesRoute(x,e,S)||void 0,navigate:V,preload:()=>k(f,ee,{priority:`background`,yieldBeforePreload:!0,shouldLoadRouteData:!L}),_routeId:f,_pathVariables:v,_locale:j,_navigationUrl:R}},[n,y,T,S,i,x,a,P,s,E,c,O,k]),L=useObserverRef((0,f.isValidElement)(e)&&`ref`in e?e.ref:void 0),{navigate:R,preload:ee,_routeId:V,_pathVariables:te,_locale:ne,_navigationUrl:re,...ie}=F;useRefEffect(L,e=>{if(!(e===null||!V||!ee||!re||j))return mc?.(e,ee,`${V}:${ne?.id}:${JSON.stringify(te)}`)},[ee,V,te,ne,re,j]);let ae=!!R;return useReplaceNestedLinks(useCloneChildrenWithPropsAndRef(v).cloneAsArray(e,e=>cloneChildPropsWithAggregatedEvents(e,{..._,...rebindEventHandlersIfNeeded(ie,m,ae)},L)),d,l,n,F,L)}));function cloneChildPropsWithAggregatedEvents(e,n,i){let a=mergeStyles(e.style,n.style),o={...e,...n,...a&&{style:a},ref:i},{onTap:s,onClick:c}=n;if(!s&&!c)return o;let{onClick:l,onTap:d}=e;return{...o,onClick:c||l?e=>{isFunction(l)&&l?.(e),c?.(e)}:void 0,onTap:s||d?(e,n)=>{isFunction(d)&&d?.(e,n),s?.(e,n)}:void 0}}function mergeStyles(e,n){let i=isObject2(e)?e:void 0,a=i&&!isEmptyObject(i),o=n&&!isEmptyObject(n);if(!(!a&&!o))return{...i,...n}}function rebindEventHandlersIfNeeded(e,n,i){if(!(n&&isIOS()))return e;let{onClick:a,...o}=e;return a?i?{...o,onTap:a,onClick:preventClickOnNativeAnchorLink}:{...o,onTap:a}:e}function preventClickOnNativeAnchorLink(e){let n=findAnchorElement(e.target);!n||n.getAttribute(`target`)===`_blank`||e.preventDefault()}var gc=`framer`,_c=3,vc=30,yc=1e4;function createWorkerTask(){return function(){async function sha256(e){let n=new TextEncoder().encode(e),i=await crypto.subtle.digest(`SHA-256`,n);return Array.from(new Uint8Array(i)).map(e=>e.toString(16).padStart(2,`0`)).join(``)}function randomCharacters(e){let n=``;for(let i=0;i<e;i++)n+=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789`.charAt(Math.floor(Math.random()*62));return n}addEventListener(`message`,async e=>{let{salt:n,difficulty:i,tokenLength:a,maxTime:o}=e.data,s=`0`.repeat(i),c=performance.now(),l=!0;for(;l;){if(performance.now()-c>o){l=!1,postMessage({success:!1});return}let e=randomCharacters(a),i=`${Date.now()}:${e}`,d=await sha256(n+i);if(d.startsWith(s)){postMessage({success:!0,secret:i,hash:d});return}}})}.toString()}async function calculateProofOfWork(){return new Promise((e,n)=>{let i=URL.createObjectURL(new Blob([`(`,createWorkerTask(),`)()`],{type:`application/javascript`})),a=new Worker(i);a.onmessage=n=>{a.terminate(),URL.revokeObjectURL(i),n.data.success?e({secret:n.data.secret,hash:n.data.hash}):e(void 0)},a.onerror=e=>{a.terminate(),URL.revokeObjectURL(i),n(e)},a.postMessage({salt:gc,difficulty:_c,tokenLength:vc,maxTime:yc})})}var bc=`__framer`;function getFormFieldNames(e){let n=new Set;for(let i of e.elements)!isFormField(i)||i.disabled||!i.name||i.name.startsWith(bc)||n.add(i.name);return Array.from(n)}function isFormField(e){return e instanceof HTMLSelectElement||e instanceof HTMLTextAreaElement||e instanceof HTMLInputElement&&![`file`,`submit`,`reset`,`button`,`image`].includes(e.type)}function getEncodedFormFieldsHeader(e,n){let i=Array.from(n.keys()).filter(n=>!e.includes(n));
855return[...e,...i].map(encodeURIComponent).join(`,`)}function addUTMTagsToFormData(e,n){try{let i=n.cookie.match(`(^|;) ?framerFormsUTMTags=([^;]*)(;|$)`);if(i!==null&&i[2]){let n=JSON.parse(decodeURIComponent(i[2]));if(!n||typeof n!=`object`)return;[`utm_source`,`utm_medium`,`utm_campaign`,`utm_term`,`utm_content`,`gclid`].forEach(i=>{typeof n[i]==`string`&&e.append(i,n[i])})}}catch{}}var xc=`3`,Sc=[`website`,`company`,`message`,`subject`,`title`,`description`,`feedback`,`notes`,`details`,`remarks`,`comments`],Cc=Date.now(),wc={name:0,value:1,setAttribute:2,valueProperty:3,isInputEventTrusted:4,inputChangeTimeSinceModuleLoad:5,wasFilledBeforeHydration:6},Tc={fieldData:0,fieldCount:1,fieldFilledCount:2,hpVersion:3,siteId:4,timeToSubmissionSinceModuleLoad:5},getTimeSinceModuleLoadInSeconds=()=>((Date.now()-Cc)/1e3).toFixed(2),HoneypotInput=({inputStateRef:e})=>{let{inputRef:n,originalName:i}=e;return f.useLayoutEffect(()=>{let i=n.current;if(!i)return;let a=e.methodsUsed;i.value&&(a.wasFilledBeforeHydration=!0)},[n,e]),f.useEffect(()=>{let i=n.current;if(!i)return;let a=e.methodsUsed,o=Element.prototype.setAttribute,s=o.bind(i);i.setAttribute=function(e,n){e===`value`&&(a.setAttribute=!0,a.inputChangeTimeSinceModuleLoad=getTimeSinceModuleLoadInSeconds()),s(e,n)};let c=Object.getOwnPropertyDescriptor(HTMLInputElement.prototype,`value`);c&&Object.defineProperty(i,"value",{configurable:!0,enumerable:!0,get:function(){return c.get?.call(this)??``},set:function(e){a.valueProperty=!0,a.inputChangeTimeSinceModuleLoad=getTimeSinceModuleLoadInSeconds(),c.set?.call(this,e)}});let handleInput=e=>{a.isInputEventTrusted=e.isTrusted,a.inputChangeTimeSinceModuleLoad=getTimeSinceModuleLoadInSeconds()};return i.addEventListener(`input`,handleInput),()=>{i.setAttribute=o.bind(i),c&&Object.defineProperty(i,"value",c),i.removeEventListener(`input`,handleInput)}},[n,e]),(0,l.jsx)(`input`,{ref:n,type:`text`,name:i,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})};function useHoneypotFields(){let e=f.useContext(jc),n=f.useMemo(()=>Sc.map(e=>({inputRef:f.createRef(),originalName:e,methodsUsed:{setAttribute:!1,valueProperty:!1}})),[]);return{states:n,convertHoneypotFieldsForSubmission:f.useCallback(()=>{n.forEach(e=>{let n=e.inputRef.current;n&&(n.name=`${bc}_${e.originalName}`)})},[n]),replaceHoneypotWithMetadata:f.useCallback(i=>{let a=n.length,o=0,s=[];n.forEach(e=>{let n=e.inputRef.current;if(n){let a=n.name,c=n.value;if(c){o++;let n={[wc.name]:e.originalName,[wc.value]:c,[wc.setAttribute]:e.methodsUsed.setAttribute,[wc.valueProperty]:e.methodsUsed.valueProperty,[wc.isInputEventTrusted]:e.methodsUsed.isInputEventTrusted,[wc.inputChangeTimeSinceModuleLoad]:e.methodsUsed.inputChangeTimeSinceModuleLoad,[wc.wasFilledBeforeHydration]:e.methodsUsed.wasFilledBeforeHydration};s.push(JSON.stringify(n))}i.delete(a),n.name=e.originalName}}),i.append(`${bc}_${Tc.fieldData}`,`[${s.join(`,`)}]`),i.append(`${bc}_${Tc.fieldCount}`,a.toString()),i.append(`${bc}_${Tc.fieldFilledCount}`,o.toString()),i.append(`${bc}_${Tc.hpVersion}`,xc),i.append(`${bc}_${Tc.siteId}`,e||``),i.append(`${bc}_${Tc.timeToSubmissionSinceModuleLoad}`,getTimeSinceModuleLoadInSeconds())},[n,e])}}function HoneypotFields({states:e}){return(0,l.jsx)(l.Fragment,{children:e.map(e=>(0,l.jsx)(HoneypotInput,{suppressHydrationWarning:!0,inputStateRef:e},`hp_${e.originalName}`))})}function trackFormSubmit({router:e,nodeId:n,submitTrackingId:i}){e?.pageviewEventData?.current&&(e.pageviewEventData.current instanceof Promise?e.pageviewEventData.current.then(e=>{sendFormSubmitTrackingEvent(e,n,i)}):sendFormSubmitTrackingEvent(e.pageviewEventData.current,n,i))}function sendFormSubmitTrackingEvent(e,n,i){return sendTrackingEvent(`published_site_form_submit`,{...e,nodeId:n??null,trackingId:i||null},`eager`)}var Ec={state:`pending`},Dc={state:`success`},Oc={state:`incomplete`},kc={state:`complete`},Ac={state:`error`};function formReducer({state:e},{type:n}){switch(n){case`complete`:return e===`error`?Ac:kc;case`incomplete`:return e===`error`?Ac:Oc;case`submit`:return Ec;case`success`:return Dc;case`error`:return Ac;default:assertNever(n)}}function stateCanSubmitForm({state:e}){return e===`incomplete`||e===`complete`}function preventDefault(e){e.preventDefault()}function openExternalLinkInCurrentTab(e,n){let i=isValidURL(e,!1)?e:`https://${e}`,a=document.createElement(`a`);a.href=i,a.target=`_self`,a.style.display=`none`,`current`in n&&n.current&&(n.current.appendChild(a),a.click(),a.remove())}var jc=f.createContext(void 0),Mc=f.forwardRef(function FormContainer2({action:e,children:n,redirectUrl:i,onSuccess:a,onError:o,onLoading:s,submitTrackingId:c,nodeId:d,...m},_){let v=f.useRef(null),y=_??v,{states:x,convertHoneypotFieldsForSubmission:S,replaceHoneypotWithMetadata:T}=useHoneypotFields(),E=useRouter(),O=useCurrentRoute(),k=useImplicitPathVariables(),j=useCollectionUtils(),[P,F]=f.useReducer(formReducer,Oc),{activeLocale:L,locales:R}=useLocaleInfo(),ee=(0,f.useContext)(jc),V=f.useRef({onSuccess:a,onError:o,onLoading:s});V.current={onSuccess:a,onError:o,onLoading:s};let te=f.useRef(!1);async function redirectTo(e){if(isString(e)){let n=findMatchingRouteAttributesForResolvedPath(E,e,k,R);if(!n){openExternalLinkInCurrentTab(e,y);return}let{routeId:i,elementId:a,pathVariables:o}=n;E.navigate?.(i,a,o);return}assert(isLinkToWebPage(e),()=>`Expected link to be either a LinkToWebPage or a string: ${JSON.stringify(e)}`);let n=await resolveSlugs(e.unresolvedPathSlugs,e.unresolvedHashSlugs,L,j),{routeId:i,elementId:a,pathVariables:o}=findMatchingRouteAttributesForWebPageLink(E,O,e,L,n,k);E.navigate?.(i,a,o)}let handleSubmit=async n=>{if(n.preventDefault(),!e||!ee||te.current)return;te.current=!0,S();let a=new FormData(n.currentTarget),o=getFormFieldNames(n.currentTarget);await xi({priority:`user-visible`,continueAfter:`paint`}),T(a),(0,f.startTransition)(()=>F({type:`submit`})),addUTMTagsToFormData(a,q.document);
855for(let[e,n]of a)n instanceof File&&a.delete(e);try{V.current.onLoading?.(),trackFormSubmit({router:E,nodeId:d,submitTrackingId:c,activeLocale:L}),await submitForm(e,a,o,ee),(0,f.startTransition)(()=>F({type:`success`})),V.current.onSuccess?.(),i&&await redirectTo(i)}catch(e){(0,f.startTransition)(()=>F({type:`error`})),V.current.onError?.(),console.error(e)}te.current=!1},handleKeyDown=e=>{let{target:n,currentTarget:i,key:a}=e;n instanceof HTMLTextAreaElement||a===`Enter`&&i.checkValidity()&&(e.preventDefault(),handleSubmit(e))},checkValidity=async e=>{let n=e.currentTarget;await xi({priority:`background`,continueAfter:`paint`}),(0,f.startTransition)(()=>F({type:anyEmptyRequiredFields(n)?`incomplete`:`complete`}))};return(0,l.jsxs)(gr.form,{suppressHydrationWarning:!0,...m,onSubmit:stateCanSubmitForm(P)?handleSubmit:preventDefault,onKeyDown:handleKeyDown,onChange:checkValidity,ref:y,children:[n(P),(0,l.jsx)(HoneypotFields,{suppressHydrationWarning:!0,states:x})]})});function anyEmptyRequiredFields(e){if(e.children.length===0)return!1;for(let n of e.children)if(n instanceof HTMLInputElement||n instanceof HTMLTextAreaElement||n instanceof HTMLSelectElement){if(n.required&&n.value===``)return!0}else if(anyEmptyRequiredFields(n))return!0;return!1}async function submitForm(e,n,i,a){let o=await calculateProofOfWork();if(!o)throw Error(`Failed to calculate proof of work`);let s={"Framer-Site-Id":a,"Framer-POW":o.secret,"Framer-Form-Fields":getEncodedFormFieldsHeader(i,n)},c=await fetch(e,{body:n,method:`POST`,headers:s});if(c.ok)return c;{let e=await c.json(),n=`Failed to submit form`;throw responseHasError(e)?Error(`${n} - ${e.error.message}`):Error(n)}}function responseHasError(e){return typeof e==`object`&&!!e&&`error`in e&&isObject2(e.error)&&`message`in e.error&&typeof e.error.message==`string`}function setTimezoneAndLocaleForTracking(){let e=Intl.DateTimeFormat().resolvedOptions();e.timeZone,e.locale}Zr(setTimezoneAndLocaleForTracking);function preloadImage(e){return new Promise((n,i)=>{try{new URL(e);let a=new Image;a.onload=()=>n(),a.onerror=i,a.src=e}catch(e){i(e)}})}function isObjectOrArray(e){return typeof e==`object`&&!!e}function getPropertyByPath(e,n){if(n===``)return e;let i=n.split(/[.[\]]+/u).filter(e=>e.length>0),a=e;for(let e of i){if(!isObjectOrArray(a))return;a=a[e]}return a}function getRequestCacheKey(e){return`${e.credentials}:${e.url}`}var Nc={status:`loading`,data:void 0};function isNumberString(e){return isString(e)&&!Number.isNaN(Number(e))}function isValidFetchDataValueResult(e,n){switch(e){case`string`:return isString(n)||isNumber2(n);case`color`:return isString(n);case`boolean`:return isBoolean(n);case`number`:return isNumber2(n)||isNumberString(n);case`link`:case`image`:return isString(n)&&isValidURL(n,!1);default:return!1}}function resolveFetchDataValue(e,n){if(e.status===`loading`)return n.fallbackValue;if(e.status===`error`)throw e.error;let i=getPropertyByPath(e.data,n.resultKeyPath);if(isUndefined(i))throw Error(`Key '${n.resultKeyPath}' not found in response`);if(!isValidFetchDataValueResult(n.resultOutputType,i))throw Error(`Resolved value '${i}' is not valid for type '${n.resultOutputType}'`);return i}var Pc=5e3;function isCacheExpired(e,n){if(Y.current()===Y.canvas)return!1;let i=Math.max(n*1e3,Pc);return Date.now()>=e+i}var noop5=()=>{},Fc=class _FetchClient{static cacheKey=`framer-fetch-client-cache`;responseValues=new Map;#e=new Map;#t=new Set;#n=new Map;#r=new Map;#i=new Map;#a=new Map;unmount(){for(let[e,n]of this.#a)clearInterval(n),this.#a.delete(e)}stopQueryRefetching(e){let n=getRequestCacheKey(e),i=this.#a.get(n);i&&(clearInterval(i),this.#a.delete(n))}startQueryRefetching(e){let n=getRequestCacheKey(e),i=this.#a.get(n),a=this.#n.get(n);if(i||!a)return;let o=q.setInterval(()=>{if(document.visibilityState===`hidden`)return;let i=this.#r.get(n);!a||!i||this.fetchWithCache({...e,cacheDuration:a})},a);this.#a.set(n,o)}hydrateCache(){try{let e=localStorage.getItem(_FetchClient.cacheKey);if(!e)return;let n=JSON.parse(e);if(typeof n!=`object`)throw Error(`Invalid cache data`);for(let e in n){let i=n[e];
855if(!Array.isArray(i)||i.length!==3)throw Error(`Invalid cache data`);let[a,o,s]=i;isCacheExpired(a,o)||(this.#r.set(e,a),this.#n.set(e,o),this.responseValues.set(e,{status:`success`,data:s}))}}catch{try{localStorage.removeItem(_FetchClient.cacheKey)}catch{}}}setResponseValue(e,n){this.responseValues.set(e,n),this.persistCache();let i=this.#e.get(e);if(i)for(let e of i)e()}persistCache=debounce(()=>{let e={};for(let[n,i]of this.responseValues){if(!i||i.status!==`success`)continue;let a=this.#n.get(n);if(!a||a===0)continue;let o=this.#r.get(n);o&&(o&&isCacheExpired(o,a)||(e[n]=[o,a,i.data]))}try{localStorage.setItem(_FetchClient.cacheKey,JSON.stringify(e))}catch{}},500);async prefetch(e){if(!isBrowser22()||!isValidURL(e.url,!1))return;let n=getRequestCacheKey(e);this.#t.add(n),await this.fetchWithCache(e);let i=this.getValue(n);if(!i||i.status===`loading`)throw Error(`Unexpected result status for prefetch`);let a=this.#e.get(n);for(let e of a??[])e();let o=resolveFetchDataValue(i,e);return e.resultOutputType===`image`&&isString(o)&&await preloadImage(o).catch(noop5),o}async fetchWithCache(e){if(!isBrowser22())return;let n=getRequestCacheKey(e),i=this.#i.get(n);if(i)return i;let a=this.#r.get(n),o=a&&isCacheExpired(a,e.cacheDuration);if(this.responseValues.has(n)&&!o)return;this.responseValues.get(n)||this.setResponseValue(n,Nc);let doFetch=async()=>{try{let i=await fetch(e.url,{method:`GET`,credentials:e.credentials});if(!i.ok){this.setResponseValue(n,{status:`error`,error:Error(`Invalid Response Status`),data:void 0});return}let a=await i.json();this.setResponseValue(n,{status:`success`,data:a}),this.#r.set(n,Date.now())}catch(e){this.setResponseValue(n,{status:`error`,error:e,data:void 0})}},s=doFetch();return this.#i.set(n,s),s.finally(()=>{this.#i.delete(n)}),s}getValue(e,n=!1){if(!(n&&!this.#t.has(e)))return this.responseValues.get(e)}subscribe(e,n,i=!1){let{url:a,cacheDuration:o}=e;if(!isValidURL(a,!1))return noop5;let s=getRequestCacheKey(e),c=this.#n.get(s);(!c||o<c)&&this.#n.set(s,o),i||(this.startQueryRefetching(e),this.fetchWithCache(e));let l=this.#e.get(s)??new Set;return l.add(n),this.#e.set(s,l),()=>{let i=this.#e.get(s);i&&(i.delete(n),i.size===0&&this.#e.delete(s),this.#e.size===0&&this.stopQueryRefetching(e))}}},Ic=f.createContext(void 0),Lc=f.createContext(!0),FetchClientProvider=({children:e,client:n})=>{let[i]=f.useState(()=>n??new Fc),[a,o]=f.useState(!0);return f.useEffect(()=>(i.hydrateCache(),f.startTransition(()=>{o(!1)}),()=>i.unmount()),[i]),(0,l.jsx)(Lc.Provider,{suppressHydrationWarning:!0,value:a,children:(0,l.jsx)(Ic.Provider,{suppressHydrationWarning:!0,value:i,children:e})})};R.WillChange=WillChangeMotionValue;function getLogger(e){return{trace(...n){return _a.getLogger(e)?.trace(...n)},debug(...n){return _a.getLogger(e)?.debug(...n)},info(...n){return _a.getLogger(e)?.info(...n)},warn(...n){return _a.getLogger(e)?.warn(...n)},error(...n){return _a.getLogger(e)?.error(...n)},get enabled(){return _a.getLogger(e)!==void 0}}}function useStableCallback(e){let n=(0,f.useRef)(e);return(0,f.useInsertionEffect)(()=>{n.current=e},[e]),useCallbackOne((...e)=>{let i=n.current;return i(...e)},[])}function rejectPending(e,n){e.forEach(e=>clearTimeout(e)),e.clear(),n.forEach(e=>e?.(`Callback cancelled by variant change`)),n.clear()}function createSet(){return new Set}function useActiveVariantCallback(e){let n=useConstant2(createSet),i=useConstant2(createSet);return useOnCurrentTargetChange(()=>()=>rejectPending(i,n)),(0,f.useEffect)(()=>()=>rejectPending(i,n),[]),(0,f.useEffect)(()=>{rejectPending(i,n)},[e]),(0,f.useRef)({activeVariantCallback:e=>async(...i)=>new Promise((a,o)=>{n.add(o),e(...i).then(a)}).catch(()=>{}),delay:async(e,n)=>{await new Promise(e=>{i.add(globalThis.setTimeout(()=>e(!0),n))}),e()}}).current}function useAddVariantProps(e,n,i){return f.useCallback(a=>!i||!e?{}:n?Object.assign({},i[e]?.[a],i[n]?.[a]):i[e]?.[a]||{},[e,n,i])}function setOverflow(e,n){e!==!1&&H.render(()=>{let e=document.documentElement.style;n?e.setProperty(`overflow`,`hidden`):e.removeProperty(`overflow`)})}function useOverlayState({blockDocumentScrolling:e=!0,dismissWithEsc:n=!1}={}){let[i,a]=f.useState(!1),o=f.useCallback(async n=>{await xi({priority:`user-blocking`,continueAfter:`paint`}),(0,f.startTransition)(()=>a(n)),setOverflow(e,n)},[e]);return f.useEffect(()=>()=>{xi({priority:`user-blocking`,continueAfter:`paint`}).then(()=>{setOverflow(e,!1)})},[e]),f.useEffect(()=>{if(!n)return;let handleEscapeKeyDown=e=>{e.key===`Escape`&&(e.preventDefault(),e.stopPropagation(),o(!1))};
855return q.addEventListener(`keydown`,handleEscapeKeyDown),()=>q.removeEventListener(`keydown`,handleEscapeKeyDown)},[n,o]),[i,o]}var Rc=`page`;function isRoute(e){return isObject2(e)&&Rc in e&&e.page!==void 0}function createGestureVariant(e,n){return`${e}-${n}`}function nextVariant(e,n){let i=e.indexOf(n)+1;i>=e.length&&(i=0);let a=e[i];return assert(a!==void 0,`nextVariant should be defined`),a}function activeTransition(e,n){if(e){if(n){let i=e[n];if(i)return i}return e.default}}function getGesture(e,n,i,a,o){let{hover:s,pressed:c,loading:l,error:d}=e||{};if(d&&o)return`error`;if(l&&a)return`loading`;if(c&&i)return`pressed`;if(s&&n)return`hover`}function createVariantClassName(e,n){return n[e]||`framer-v-${e}`}function safeBaseVariant(e,n,i){return e&&i.has(e)?e:n}var zc=Symbol(`cycle`);function useRunCallbackIfPageIsVisible(){let e=(0,f.useRef)(),n=(0,f.useRef)(),i=(0,f.useCallback)(()=>{e.current&&(document.removeEventListener(`visibilitychange`,e.current),e.current=void 0,n.current=void 0)},[]);return(0,f.useEffect)(()=>()=>{i()},[i]),(0,f.useCallback)(a=>{if(!document.hidden){a(),i();return}if(n.current=a,e.current)return;let listenerFn=()=>{document.hidden||(n.current?.(),i())};e.current=listenerFn,document.addEventListener(`visibilitychange`,listenerFn)},[i])}function useRunCallbackIfElementIsInView(){let e=(0,f.useRef)(),n=(0,f.useRef)(!1),i=(0,f.useRef)(),a=(0,f.useContext)(zo);return(0,f.useEffect)(()=>()=>{e.current?.(),i.current=void 0,e.current=void 0},[]),(0,f.useCallback)((o,s)=>{if(!s?.current||n.current){o();return}if(i.current=o,e.current)return;let c=!1,observerCallback=e=>{n.current=e.isIntersecting,!c&&(c=!0,queueMicrotask(()=>{c=!1,n.current&&i.current?.()}))};e.current=observeElement(a,`undefined`,s.current,null,observerCallback)},[a])}function useUpdateIfVisible(e){let n=useRunCallbackIfPageIsVisible(),i=useRunCallbackIfElementIsInView();return(0,f.useCallback)((a,o=!1)=>{if(Xr){a();return}n(o&&e?()=>i(a,e):a)},[n,i,e])}var Bc,globalWaitingForClickResolve;async function getPromiseWithFallback(){return new Promise(e=>{let n=e;setTimeout(()=>{n&&(performance.mark(`wait-for-click-fallback`),n())},150),globalWaitingForClickResolve=()=>{e(),n=void 0}})}function globalWaitForClickListener(e){e.button===0&&(performance.mark(`pointerdown-listener`),Bc=getPromiseWithFallback())}function globalClickReceivedListener(){performance.mark(`click-received-listener`),Bc=void 0,globalWaitingForClickResolve?.(),globalWaitingForClickResolve=void 0}function useWaitForGlobalClick(e=!1){(0,f.useEffect)(()=>{e&&(document.addEventListener(`pointerup`,globalWaitForClickListener,!0),document.__proto__.addEventListener.call(document,`click`,globalClickReceivedListener,!0))},[e])}function useVariantState({variant:e,defaultVariant:n,transitions:i,enabledGestures:a,cycleOrder:o=[],variantProps:s={},variantClassNames:c={},ref:l}){let d=useForceUpdate2(),m=useIsOnFramerCanvas(),_=useConstant2(()=>new Set(o));useWaitForGlobalClick(getLibraryFeatures().yieldOnTap);let v=useUpdateIfVisible(l),y=(0,f.useRef)({isHovered:!1,isHoveredHasUpdated:!1,isPressed:!1,isPressedHasUpdated:!1,isError:!1,hasPressedVariants:!0,baseVariant:safeBaseVariant(e,n,_),lastVariant:e,gestureVariant:void 0,loadedBaseVariant:{},defaultVariant:n,enabledGestures:a,cycleOrder:o,transitions:i}),x=(0,f.useCallback)(e=>{let{isHovered:n,isPressed:i,isError:a,enabledGestures:o,defaultVariant:s}=y.current,c=safeBaseVariant(e,s,_),l=getGesture(o?.[c],n,i,!1,a);return[c,l?createGestureVariant(c,l):void 0]},[]),S=(0,f.useCallback)(async(e,n,i,a,o=!1,s=!1)=>{let[c,l]=x(a);if(c===e&&l===n)return;s&&(y.current.isError=!1),y.current.baseVariant=c||i,y.current.gestureVariant=l;let m=getLibraryFeatures().yieldOnTap&&y.current.isPressedHasUpdated;m&&Bc&&(performance.mark(`wait-for-tap-start`),await Bc,performance.measure(`wait-for-tap`,`wait-for-tap-start`)),m&&(performance.mark(`yield-on-tap-start`),await xi({priority:`user-blocking`,continueAfter:`paint`}),performance.measure(`yield-on-tap`,`yield-on-tap-start`));let{isHovered:_,isPressed:S,isHoveredHasUpdated:T,isPressedHasUpdated:E}=y.current;if(_||T||S||E){(0,f.startTransition)(d);return}v(()=>(0,f.startTransition)(d),o)},[x,d,v]),T=(0,f.useCallback)(({isHovered:e,isPressed:n,isError:i})=>{let a=n!==y.current.isPressed,o=e!==y.current.isHovered;
855e!==void 0&&(y.current.isHovered=e),n!==void 0&&(y.current.isPressed=n),i!==void 0&&(y.current.isError=i);let{baseVariant:s,gestureVariant:c,defaultVariant:l}=y.current;y.current.isPressedHasUpdated=a,y.current.isHoveredHasUpdated=o,S(s,c,l,s,!1)},[S]),E=(0,f.useCallback)((e,n=!1)=>{let{defaultVariant:i,cycleOrder:a,baseVariant:o,gestureVariant:s}=y.current,c=e===zc?nextVariant(a||[],o||i):e;S(o,s,i,c,n,!0)},[S]),O=(0,f.useCallback)(()=>{let{baseVariant:e}=y.current;y.current.loadedBaseVariant[e]=!0,v(()=>(0,f.startTransition)(d),!0)},[d,v]);if(e!==y.current.lastVariant){let[n,i]=x(e);y.current.lastVariant=n,(n!==y.current.baseVariant||i!==y.current.gestureVariant)&&(y.current.baseVariant=n,y.current.gestureVariant=i)}let{baseVariant:k,gestureVariant:j,defaultVariant:P,enabledGestures:F,isHovered:L,isPressed:R,isError:ee,loadedBaseVariant:V}=y.current,te=useAddVariantProps(y.current.baseVariant,y.current.gestureVariant,s);return(0,f.useMemo)(()=>{let e=[];k!==P&&e.push(k);let n=F?.[k]?.loading,i=!ee&&!m&&!!n&&!V[k],a=i?createGestureVariant(k,`loading`):j;a&&e.push(a);let o=F?.[k],s={onMouseEnter:()=>T({isHovered:!0}),onMouseLeave:()=>T({isHovered:!1})};return o?.pressed&&Object.assign(s,{onTapStart:()=>T({isPressed:!0}),onTapCancel:()=>T({isPressed:!1}),onTap:()=>T({isPressed:!1})}),{variants:e,baseVariant:k,gestureVariant:a,isLoading:i,transition:activeTransition(y.current.transitions,k),setVariant:E,setGestureState:T,clearLoadingGesture:O,addVariantProps:te,gestureHandlers:s,classNames:cx(createVariantClassName(k,c),getGesture(o,L,R,i,ee))}},[k,j,L,R,V,te,E,P,F,T,O,c])}var Vc=(()=>{let e=(0,f.createContext)(void 0);return e.displayName=`TickerContext`,e})(),Hc=f.createContext(void 0),useProvidedWindow=()=>f.useContext(Hc),Uc={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}
855,"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}}},Wc={"__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`},Gc=Uc;function isSuccessfullyParsedFontVariant(e){return e.weight!==void 0&&e.style!==void 0}var Kc=`System Default`,LocalFontSource=class{name=`local`;fontFamilies=[];byFamilyName=new Map;fontAliasBySelector=new Map;fontAliases=new Map;getFontFamilyByName(e){return this.byFamilyName.get(e)??null}createFontFamily(e){let n={name:e,fonts:[],source:this.name};return this.addFontFamily(n),n}addFontFamily(e){this.fontFamilies.push(e),this.byFamilyName.set(e.name,e)}importFonts(){let e=[];for(let n of Object.keys(Gc)){let i=Gc[n];if(!i)continue;let a=this.createFontFamily(n);for(let e of Object.keys(i)){let n=i[e];if(!n)continue;let{selector:o,weight:s}=n,c={variant:e,selector:o,weight:s,family:a,cssFamilyName:a.name};a.fonts.push(c)}
855e.push(...a.fonts)}for(let[e,n]of Object.entries(Wc))this.addFontAlias(e,n);let{fontFamily:n,aliases:i}=this.getSystemFontFamily();this.addFontFamily(n);for(let[e,n]of i)this.addFontAlias(e,n);return e.push(...n.fonts),e}addFontAlias(e,n){this.fontAliases.set(e,n),this.fontAliasBySelector.set(n,e)}getSystemFontFamily(){let e={name:Kc,fonts:[],source:this.name},n=new Map,i=[400,100,200,300,500,600,700,800,900];for(let a of[`normal`,`italic`])for(let o of i){let i=createVariantName(o,a),s=`__SystemDefault-${o}-${a}__`,c={variant:i,selector:s,style:a,weight:o,family:e,cssFamilyName:e.name};e.fonts.push(c),n.set(s,`system-ui|-apple-system|BlinkMacSystemFont|Segoe UI|Roboto|Oxygen|Ubuntu|Cantarell|Fira Sans|Droid Sans|Helvetica Neue|sans-serif`)}return{fontFamily:e,aliases:n}}getFontAliasBySelector(e){return this.fontAliasBySelector.get(e)||null}getFontSelectorByAlias(e){return this.fontAliases.get(e)||null}isFontFamilyAlias(e){return!!(e&&/^__.*__$/u.exec(e))}},qc={100:`Thin`,200:`Extra Light`,300:`Light`,400:`Normal`,500:`Medium`,600:`Semi Bold`,700:`Bold`,800:`Extra Bold`,900:`Black`};function createVariantName(e,n){let i=n===`normal`?`Regular`:`Italic`;return e===400?i:n===`normal`?`${qc[e]}`:`${qc[e]} ${i}`}var MapWithHash=class extends Map{_hash=0;get hash(){return this._hash}set(e,n){return this._hash++,super.set(e,n)}delete(e){return this._hash++,super.delete(e)}clear(){return this._hash++,super.clear()}},Jc;function getServiceMap(){return K===void 0?Jc??{}:Jc||(Jc=extractServiceMap(),Jc)}function extractServiceMap(){let e=K.location,n=K?.bootstrap?.services;if(n)return n;let i;try{if(i=K.top.location.origin,n=K.top?.bootstrap?.services,n)return n}catch{}if(i&&i!==e.origin)throw Error(`Unexpectedly embedded by ${i} (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 i=new URLSearchParams(e.search).get(`services`)||new URLSearchParams(e.hash.substring(1)).get(`services`);i&&(n=JSON.parse(i))}catch{}if(n&&typeof n==`object`&&n.api)return n;throw Error(`ServiceMap requested but not available`)}function getAssetFilename(e){return e.key+e.extension}function createAbsoluteAssetURL(e){return`${getServiceMap().userContent}/assets/${e}`}function createAbsoluteAssetURLFromAsset(e){return createAbsoluteAssetURL(getAssetFilename(e))}var Yc=`Variable`;function createCSSFamilyName(e,n){return n?`${e} ${Yc}`:e}function createCSSFontFamilyFromWebFontLocator(e,n){switch(n){case`custom`:throw Error(`Custom fonts are not supported`);default:return createCSSFamilyName(e.name,e.isVariable)}}function supportsOpenType(e){return!!(e&&Array.isArray(e))}function validateVariationAxes(e){if(!e||!Array.isArray(e))return;let n=[];for(let i of e)isVariationAxis(i)&&n.push({tag:i.tag,name:i.name,minValue:i.minValue,maxValue:i.maxValue,defaultValue:i.defaultValue});return n}function isOpenTypeFeature(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 isVariationAxis(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`)}var Xc=`BI;`,BuiltInFontSource=class{name=`builtIn`;fontFamilies=[];byFamilyName=new Map;assetByKey=new Map;importFonts(e){this.fontFamilies.length=0,this.byFamilyName.clear(),this.assetByKey.clear();let n=[];for(let i of e){if(!this.isValidBuiltInFont(i))continue;let{properties:e}=i,a=e.font.fontFamily,o=this.createFontFamily(a,e.font.foundryName,e.font.fontVersion),s=e.font.openTypeData,c=e.font.variationAxes,l=Array.isArray(c),d=l?`variable`:e.font.fontSubFamily||`regular`,f=createAbsoluteAssetURLFromAsset(i),m=validateVariationAxes(c),_={assetKey:i.key,family:o,selector:this.createSelector(a,d,e.font.fontVersion),variant:d,file:f,hasOpenTypeFeatures:supportsOpenType(s),variationAxes:m,category:e.font.fontCategory,weight:l?getWeightFromVariationAxes(m,e.font.faceDescriptors?.weight):variantNameToWeight(d),style:getFontStyle(d),cssFamilyName:createCSSFamilyName(a,l)};o.fonts.push(_),this.assetByKey.set(i.key,i),n.push(_)}for(let e of this.fontFamilies)e.fonts.sort((e,n)=>{let i=variantNameToWeight(e.variant),a=variantNameToWeight(n.variant);return!i||!a?1:i-a});return n}static parseVariant(e){let n=variantToKebabCase(e);return{weight:n===`variable`||n===`variable-italic`?400:Zc[n],style:getFontStyle(e)}}getFontBySelector(e){let n=this.parseSelector(e);
855if(!n)return;let i=this.getFontFamilyByName(n.name);if(i)return i.fonts.find(n=>n.selector===e)}getFontFamilyByName(e){return this.byFamilyName.get(e)??null}createFontFamily(e,n,i){let a=this.byFamilyName.get(e);if(a&&a.version===i)return a;let o={source:this.name,name:e,fonts:[],foundryName:n,version:i};return this.addFontFamily(o),o}getOpenTypeFeatures(e){assert(e.assetKey,`Font must have an asset key`);let n=this.assetByKey.get(e.assetKey)?.properties?.font?.openTypeData;return supportsOpenType(n)?n?.map(e=>{if(isOpenTypeFeature(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,n,i){return`${Xc}${e}/${n}/${i}`}parseSelector(e){if(!e.startsWith(Xc))return null;let[n,i]=e.split(Xc);if(i===void 0)return null;let[a,o,s]=i.split(`/`);return!a||!o||!s?null:{name:a,variant:o,source:this.name,isVariable:o.toLowerCase().includes(`variable`)}}addFontFamily(e){this.fontFamilies.push(e),this.byFamilyName.set(e.name,e)}},Zc={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};function variantNameToWeight(e){return Zc[variantToKebabCase(e)]}function getWeightFromVariationAxes(e,n){let i=e?.find(e=>e.tag===`wght`)?.defaultValue;return i!==void 0&&i>=1&&i<=1e3?i:n??variantNameToWeight(`variable`)??500}function variantToKebabCase(e){return e.toLowerCase().replace(/\s+/gu,`-`)}function getFontStyle(e){return e=e.toLowerCase(),e.includes(`italic`)||e.includes(`oblique`)||e.includes(`slanted`)?`italic`:`normal`}function getRelatedFontVariants(e,n){return{...pickBoldItalicVariants(e,n),...pickVariableVariants(e,n)}}function pickBoldItalicVariants(e,n){if(n.length===0)return{variantBold:void 0,variantBoldItalic:void 0,variantItalic:void 0};let{weight:i,style:a}=e,o=new Map,s=new Map;for(let a of n)a.isVariable===e.isVariable&&(o.set(`${a.weight}-${a.style}`,a),!(a.weight<=i)&&(s.has(a.style)||s.set(a.style,a)));let c=s.get(a),l=s.get(`italic`),d=e.weight;d<=300?(c=o.get(`400-${a}`)??c,l=o.get(`400-italic`)??l):d<=500?(c=o.get(`700-${a}`)??c,l=o.get(`700-italic`)??l):(c=o.get(`900-${a}`)??c,l=o.get(`900-italic`)??l);let f=o.get(`${i}-italic`);return{variantBold:c,variantItalic:f,variantBoldItalic:l}}function pickVariableVariants(e,n){if(n.length===0)return{variantVariable:void 0,variantVariableItalic:void 0};let i,a,o,s;for(let c of n){if(!c.isVariable)continue;let n=c.weight===e.weight,l=c.weight===400;c.style===`normal`?n?i=c:l?o=c:o||=c:c.style===`italic`&&(n?a=c:l?s=c:s||=c)}return{variantVariable:i??o,variantVariableItalic:a??s}}function isVariableFont(e){return!!e.variationAxes}var Qc=getLogger(`custom-font-source`),$c=`CUSTOM;`,el=`CUSTOMV2;`;function isCustomFontSelector(e){return isCustomFontSelectorV2(e)||isCustomFontSelectorLegacy(e)}function isCustomFontSelectorV2(e){return e.startsWith(el)}function isCustomFontSelectorLegacy(e){return e.startsWith($c)}function findDuplicateFont(e,n){for(let i=0;i<e.length;i++){let a=e[i];if(a){if(a.owner!==n.owner&&a.file===n.file)return{existingFont:a,index:i,projectDuplicate:!0};if(a&&a.selector===n.selector)return{existingFont:a,index:i,projectDuplicate:!1}}}}function getLegacyFontFamilyName(e){let{font:n}=e,i=n.fontFamily,a=Array.isArray(n.variationAxes);if(a&&i.toLowerCase().includes(`variable`))return i;let o=a?Yc:n.fontSubFamily.trim();return o===``?i:`${i} ${o}`}function getCustomFontInfo({fontFamily:e,fontSubFamily:n,variationAxes:i,faceDescriptors:a}){let o=n.trim()||`Regular`,s=o.toLocaleLowerCase().includes(`variable`),c=vali
855dateVariationAxes(i)&&!s?`Variable ${o}`:o,l=`normal`,d=400;return a&&(d=a.weight,l=a.italic||a.oblique?`italic`:`normal`),{family:e,variant:c,weight:d,style:l}}var tl=class _CustomFontSource{name=`custom`;fontFamilies=[];byFamilyName=new Map;assetsByKey=new Map;debugByFamily=new Map;debugFamilies;importFonts(e){this.fontFamilies.length=0,this.byFamilyName.clear(),this.assetsByKey.clear();let n={},i=new Map;for(let a of e){if(!this.isValidCustomFontAsset(a))continue;let{family:e,variant:o,weight:s,style:c}=getCustomFontInfo(a.properties.font),l=a.properties.font.variationAxes,d=Array.isArray(l),f=a.properties.font.openTypeData,m=createAbsoluteAssetURLFromAsset(a),_=getAssetOwnerType(a),v=getLegacyFontFamilyName(a.properties),y=_CustomFontSource.createLegacySelector(v),x=this.createFontFamily(e),S=_CustomFontSource.createSelector(x.name,o),T={assetKey:a.key,family:x,selector:S,variant:o,weight:s,style:c,file:m,hasOpenTypeFeatures:supportsOpenType(f),variationAxes:validateVariationAxes(l),owner:_,alternativeSelectors:{[y]:{variant:d?`variable`:this.inferVariantName(v),cssFamilyName:_CustomFontSource.cssFontFamilyFromSelector(y)}},cssFamilyName:_CustomFontSource.cssFontFamilyFromSelector(S)},E=findDuplicateFont(x.fonts,T);if(E?.projectDuplicate)T.owner===`team`&&(x.fonts[E.index]=T,n[S]=T);else if(E){Qc.debug(`Duplicate font found for:`,T,`with existing font:`,E.existingFont);let e=E.existingFont,i=T.file?.endsWith(`.woff2`)??!1,a=e.file?.endsWith(`.woff2`)??!1,o=i&&!a,s=i===a,c=T.owner===`team`||e.owner!==`team`;(o||s&&c)&&(x.fonts[E.index]=T,n[S]=T)}else x.fonts.push(T),n[S]=T;this.assetsByKey.set(a.key,a),getOrCreateDebugVariant(i,e,o).fonts.push({font:T,asset:a,selected:!1})}for(let e of this.fontFamilies)e.fonts.length>0&&updateFontRelationships(e);return this.debugByFamily=i,this.debugFamilies=void 0,Object.values(n)}getDebugFamilies(){if(this.debugFamilies)return this.debugFamilies;let e=new Set;for(let n of this.fontFamilies)for(let i of n.fonts)i.assetKey&&i.owner&&e.add(`${i.assetKey}:${i.owner}`);return this.debugFamilies=buildDebugFamilies(this.debugByFamily,e),this.debugFamilies}static createSelector(e,n){return`${el}${e}${n?` ${n}`:``}`}static createLegacySelector(e){return`${$c}${e}`}static cssFontFamilyFromSelector(e){return assert(isCustomFontSelector(e),`Selector must be a custom font selector`),isCustomFontSelectorLegacy(e)?e.slice($c.length):e.slice(el.length)}isValidCustomFontAsset(e){return!e.mimeType.startsWith(`font/`)||e.properties?.kind!==`font`||!e.properties.font?!1:`fontFamily`in e.properties.font}getOpenTypeFeatures(e){assert(e.assetKey,`Font must have an asset key`);let n=this.assetsByKey.get(e.assetKey)?.properties?.font?.openTypeData;return supportsOpenType(n)?n?.map(e=>{if(isOpenTypeFeature(e))return{tag:e.tag,coverage:e.coverage}}):[]}inferVariantName(e){let n=[`thin`,`ultra light`,`extra light`,`light`,`normal`,`medium`,`semi bold`,`bold`,`extra bold`,`black`],i=[...n.map(e=>`${e} italic`),...n],a=e.toLowerCase(),o=[...a.split(` `),...a.split(`-`),...a.split(`_`)],s=i.find(e=>o.includes(e)||o.includes(e.replace(/\s+/gu,``)));return s?s.replace(/^\w|\s\w/gu,e=>e.toUpperCase()):`Regular`}createFontFamily(e){let n=this.byFamilyName.get(e);if(n)return n;let i={source:this.name,name:e,fonts:[]};return this.addFontFamily(i),i}addFontFamily(e){this.fontFamilies.push(e),this.byFamilyName.set(e.name,e)}getFontFamilyByName(e){return this.byFamilyName.get(e)||null}};function fontToVariantWithMetadata(e){if(!(!e.weight||!e.style))return{weight:e.weight,style:e.style,isVariable:isVariableFont(e),selector:e.selector}}function updateFontRelationships(e){let n=e.fonts.map(e=>fontToVariantWithMetadata(e)).filter(e=>e!==void 0);for(let i of e.fonts){let e=fontToVariantWithMetadata(i);if(!e)continue;let a=getRelatedFontVariants(e,n);i.selectorVariable=a.variantVariable?.selector,i.selectorVariableItalic=a.variantVariableItalic?.selector,i.selectorBold=a.variantBold?.selector,i.selectorBoldItalic=a.variantBoldItalic?.selector,i.selectorItalic=a.variantItalic?.selector}}function getAssetOwnerType(e){return e.ownerTypes.includes(`team`)?`team`:`project`}function getOrCreateDebugVariant(e,n,i){let a=e.get(n);a||(a=new Map,e.set(n,a));let o=a.get(i);return o||(o={fonts:[]},a.set(i,o)),o}function buildDebugFamilies(e,n){return Array.from(e.entries()).sort(([e],[n])=>e.localeCompare(n)).map(([e,i])=>({family:e,variants:Array.from(i.entries()).sort(([e],[n])=>e.localeCompare(n)).map(([,e])=>({fonts:e.fonts.map(e=>({...e,selected:e.font.assetKey&&e.font.owner?n.has(`${e.font.assetKey}:${e.font.owner}`):!1}
855))}))}))}async function loadFontsWithOpenType(e){switch(e){case`google`:return(await c(()=>import(`./google-YSYBFRE6-L7YAHH7V-BEVUb6jy.js`),[])).default;case`fontshare`:return(await c(()=>import(`./fontshare-TIA7QUPT-PUDLUTQ7-BEVUb6jy.js`),[])).default;default:throw Error(`Unknown font source: ${e}`)}}async function loadFontToOpenTypeFeatures(e){switch(e){case`google`:return(await c(()=>import(`./google-H6SFY4F5-5JSJCGDR-BEVUb6jy.js`),[])).default;case`fontshare`:return(await c(()=>import(`./fontshare-PZLWRK4B-MHMZIGTX-BEVUb6jy.js`),[])).default;case`framer`:return(await c(()=>import(`./framer-font-RD2SUPQH-Q4MS7WS6-BEVUb6jy.js`),[])).default;default:throw Error(`Unknown font source: ${e}`)}}var nl=[`display`,`sans`,`serif`,`slab`,`handwritten`,`script`];function parseFontshareCategories(e){return e.split(`,`).map(e=>e.trim().toLowerCase()).filter(isKnownFontshareCategory)}function isKnownFontshareCategory(e){return nl.includes(e)}var rl=`FS;`,il={thin:100,hairline:100,extralight:200,light:300,regular:400,medium:500,semibold:600,bold:700,extrabold:800,ultra:800,black:900,heavy:900},al=Object.keys(il),ol=RegExp(`^(?:${[...al,`italic`,`variable`].join(`|`)})`,`u`),sl=class _FontshareSource{name=`fontshare`;fontFamilies=[];byFamilyName=new Map;getFontFamilyByName(e){return this.byFamilyName.get(e)??null}static parseVariant(e){let n=e.toLowerCase().split(` `),i=al.find(e=>n.includes(e)),a=e.toLowerCase().includes(`italic`)?`italic`:`normal`;return{weight:i&&il[i]||400,style:a===`italic`?a:`normal`}}parseSelector(e){if(!e.startsWith(rl))return null;let n=e.split(`-`);if(n.length!==2)return null;let[i,a]=n;return!i||!a?null:{name:i.replace(rl,``),variant:a,source:this.name,isVariable:a.toLowerCase().includes(`variable`)}}static createSelector(e,n){return`${rl}${e}-${n.toLowerCase()}`}static createMetadataSelector(e){return`${rl}${e}`}addFontFamily(e){this.fontFamilies.push(e),this.byFamilyName.set(e.name,e)}async importFonts(e,n){this.fontFamilies.length=0,this.byFamilyName.clear();let i=await loadFontsWithOpenType(`fontshare`),a=[];for(let o of e){let e=o.font_styles.filter(e=>{let n=e.name.toLowerCase();return!(!ol.exec(n)||n.split(` `).includes(`wide`))}).map(e=>({..._FontshareSource.parseVariant(e.name),selector:_FontshareSource.createSelector(o.name,e.name),isVariable:e.is_variable,fontshareVariantName:e.name,file:e.file})),s=_FontshareSource.createMetadataSelector(o.name),c=n?.[s],l=o.name,d=this.getFontFamilyByName(l);d||(d={name:l,fonts:[],source:this.name},this.addFontFamily(d));let f=i[_FontshareSource.createMetadataSelector(o.name)];for(let n of e){let{variantBold:i,variantBoldItalic:s,variantItalic:l,variantVariable:m,variantVariableItalic:_}=getRelatedFontVariants(n,e),v={family:d,variant:n.fontshareVariantName.toLowerCase(),selector:n.selector,selectorBold:i?.selector,selectorBoldItalic:s?.selector,selectorItalic:l?.selector,selectorVariable:m?.selector,selectorVariableItalic:_?.selector,weight:n.weight,style:n.style,file:n.file,category:mapToKnownCategory(o.category),hasOpenTypeFeatures:f,variationAxes:n.isVariable?c:void 0,cssFamilyName:createCSSFamilyName(d.name,n.isVariable)};d.fonts.push(v),a.push(v)}}return a}async getOpenTypeFeatures(e){return(await loadFontToOpenTypeFeatures(`fontshare`))[_FontshareSource.createMetadataSelector(e.family.name)]}};function mapToKnownCategory(e){let n={serif:`serif`,sans:`sans-serif`,slab:`slab`,display:`display`,handwritten:`handwriting`,script:`handwriting`},i=parseFontshareCategories(e)[0];return i&&n[i]}var cl=`Inter`,ll=`FR;`,ul={Thin:100,ExtraLight:200,Light:300,"":400,Medium:500,SemiBold:600,Bold:700,ExtraBold:800,Black:900},dl=class _FramerFontSource{name=`framer`;fontFamilies=[];byFamilyName=new Map;getFontFamilyByName(e){return this.byFamilyName.get(e)??null}addFontFamily(e){let n={name:e,fonts:[],source:this.name};return this.fontFamilies.push(n),this.byFamilyName.set(n.name,n),n}static getDraftFontPropertiesBySelector(e){if(!e.startsWith(ll)&&!e.startsWith(cl))return null;let[n,i=``]=e.split(`-`);if(!n)return null;let a=i.includes(`Italic`)?`italic`:`normal`,o=i.replace(`Italic`,``);
855return{cssFamilyName:n,style:a,weight:o&&ul[o]||400,source:`framer`,variant:void 0,category:`sans-serif`}}static createMetadataSelector(e){return`${ll}${e}`}importFonts(e,n){this.fontFamilies.length=0,this.byFamilyName.clear();let i=[];return e.forEach(e=>{let{uiFamilyName:a,...o}=e,s=_FramerFontSource.createMetadataSelector(e.uiFamilyName),c=n?.[s],l=this.getFontFamilyByName(a);l||=this.addFontFamily(a);let d=e.selector===e.selectorVariable||e.selector===e.selectorVariableItalic,f={...o,family:l,variationAxes:d?c:void 0};l.fonts.push(f),i.push(f)}),i}async getOpenTypeFeatures(e){return(await loadFontToOpenTypeFeatures(`framer`))[_FramerFontSource.createMetadataSelector(e.family.name)]}},fl=`GF;`,pl=class _GoogleFontSource{name=`google`;fontFamilies=[];byFamilyName=new Map;supportedSubsetsByFamilyName=new Map;getFontFamilyByName(e){return this.byFamilyName.get(e)??null}getSupportedSubsetsByFamilyName(e){return this.supportedSubsetsByFamilyName.get(e)??[]}static parseVariant(e){if(e===`regular`)return{style:`normal`,weight:400};let n=/(\d*)(normal|italic)?/u.exec(e);return n?{weight:parseInt(n[1]||`400`),style:n[2]===`italic`?`italic`:`normal`}:{}}parseSelector(e){if(!e.startsWith(fl))return null;let n=e.includes(`-variable-`),i=n?e.split(`-variable-`):e.split(`-`);if(i.length!==2)return null;let[a,o]=i;return!a||!o?null:{name:a.replace(fl,``),variant:o,source:this.name,isVariable:n}}static createSelector(e,n,i){return`${fl}${e}-${i?`variable-`:``}${n}`}static createMetadataSelector(e){return`${fl}${e}`}addFontFamily(e){let n={name:e,fonts:[],source:this.name};return this.fontFamilies.push(n),this.byFamilyName.set(n.name,n),n}async importFonts(e,n,i){this.fontFamilies.length=0,this.byFamilyName.clear(),this.supportedSubsetsByFamilyName.clear();let a=await loadFontsWithOpenType(`google`),o=[],s=mapBy(e,e=>e.family),c=mapBy(n,e=>e.family);for(let e in s){let n=s[e];if(!n)continue;this.supportedSubsetsByFamilyName.set(n.family,n.subsets??[]);let l=this.getFontFamilyByName(n.family);l||=this.addFontFamily(n.family);let d=n.variants.map(i=>({..._GoogleFontSource.parseVariant(i),googleFontsVariantName:i,selector:_GoogleFontSource.createSelector(e,i,!1),isVariable:!1,file:n.files[i]})),f=c[e],m=f?.axes?f.variants.map(n=>({..._GoogleFontSource.parseVariant(n),googleFontsVariantName:n,selector:_GoogleFontSource.createSelector(e,n,!0),isVariable:!0,file:f.files[n]})):[],_=_GoogleFontSource.createMetadataSelector(n.family),v=i?.[_],y=[...d,...m],x=y.filter(isSuccessfullyParsedFontVariant),S=a[_GoogleFontSource.createMetadataSelector(e)];for(let e of y){let{weight:i,style:a,selector:s,googleFontsVariantName:c}=e,{variantBold:d,variantItalic:f,variantBoldItalic:m,variantVariable:_,variantVariableItalic:y}=(isSuccessfullyParsedFontVariant(e)?getRelatedFontVariants(e,x):void 0)??{},T={family:l,variant:c,selector:s,selectorBold:d?.selector,selectorBoldItalic:m?.selector,selectorItalic:f?.selector,selectorVariable:_?.selector,selectorVariableItalic:y?.selector,weight:i,style:a,category:mapToKnownCategory2(n.category),file:e.file?.replace(`http://`,`https://`),variationAxes:e.isVariable?v:void 0,hasOpenTypeFeatures:S,cssFamilyName:createCSSFamilyName(l.name,e.isVariable)};l.fonts.push(T),o.push(T)}}return o}async getOpenTypeFeatures(e){return(await loadFontToOpenTypeFeatures(`google`))[_GoogleFontSource.createMetadataSelector(e.family.name)]}};function mapToKnownCategory2(e){let n={serif:`serif`,"sans-serif":`sans-serif`,display:`display`,handwriting:`handwriting`,monospace:`monospace`};if(e)return n[e]}function mapBy(e,n){return e.reduce((e,i)=>(e[n(i)]=i,e),{})}var ml=__toESM(Jr(),1),hl=5e3,gl=3,FontLoadingError=class extends Error{constructor(e){super(e),this.name=`FontLoadingError`}},_l=new Map,vl=new Map,yl=new Map;function getRequestId(e,n,i,a){return`${e}-${n}-${i}-${a}`}function getReadyPromiseId(e,n,i){return`${e}-${n}-${i}`}var loadFont=(e,n)=>loadFontWithRetries(e,n);async function loadFontWithRetries(e,n,i=0){let{family:a,url:o,stretch:s,unicodeRange:c}=e,l=e.weight,d=e.style||`normal`,f=getRequestId(a,d,l,o);if(!_l.has(f)||i>0){let m=new FontFace(a,`url(${o})`,{weight:isString(l)?l:l?.toString(),style:d,stretch:s,unicodeRange:c}),_=m.load().then(()=>(n.fonts.add(m),yl.set(f,{fontFace:m,doc:n}),isFontReady(a,d,l))).catch(f=>{if(f.name!==`NetworkError`)throw f;if(i<gl)return loadFontWithRetries(e,n,i+1);throw new FontLoadingError(`Font loading failed after ${i} retries due to network error: ${JSON.stringify({family:a,style:d,weight:l,url:o,stretch:s,unicodeRange:c})}`)});_l.set(f,_)}await _l.get(f)}async function isFontReady(e,n,i){let a=getReadyPromiseId(e,n,i);if(!vl.has(a)){let o=new ml.default(e,{style:n,weight:i}).load(null,hl);vl.set(a,o)}try{await vl.get(a)}catch{throw new FontLoadingError(`Failed to check if font is ready (${hl}ms timeout exceeded): ${JSON.stringify({family:e,style:n,weight:i})}`)}}function removeFont(e){let n=e.style||`normal`,{family:i,url:a,weight:o}=e,s=getRequestId(i,n,o,a),c=yl.get(s);c&&(c.doc.fonts.delete(c.fontFace),yl.delete(s)),_l.delete(s),vl.delete(getReadyPromiseId(i,n,o))}var bl={"FR;Inter":[{tag:`opsz`,minValue:14,maxValue:32,defaultValue:14,name:`Optical size`},{tag:`wght`,minValue:100,maxValue:900,defaultValue:400,name:`Weight`}]};function loadVariationAxes(e){try{if(e===`framer`)return isValidVariationAxesData(bl)?bl:void 0;{let n=(async()=>{switch(e){case`google`:return(await c(async()=>{let{default:e}=await import(`./google-EGNT223R-P4DUHBW2-BEVUb6jy.js`);return{default:e}},[])).default;case`fontshare`:return(await c(async()=>{let{default:e}=await import(`./fontshare-SXU5BGFE-OWTMMPGS-BEVUb6jy.js`);return{default:e}},[])).default;default:assertNever(e)}})();return isValidVariationAxesData(n)?n:void 0}}catch(e){console.error(e);return}}function isValidVariationAxesData(e){return isObject2(e)&&Object.values(e).every(isValidVariationAxes)}function isVariationAxis2(e){return isObject2(e)&&isString(e.tag)}function isValidVariationAxes(e){return Array.isArray(e)&&e.every(isVariationAxis2)}var FontStore=class{enabled=!1;
855bySelector=new MapWithHash;loadedSelectors=new Set;getGoogleFontsListPromise;getFontshareFontsListPromise;getBuiltInFontsListPromise;customFontsImportPromise=new Promise(e=>{this.resolveCustomFontsImportPromise=e});constructor(){this.local=new LocalFontSource,this.google=new pl,this.fontshare=new sl,this.framer=new dl,this.custom=new tl,this.builtIn=new BuiltInFontSource,this.importLocalFonts()}local;google;fontshare;builtIn;framer;custom;get hash(){return this.bySelector.hash}addFont(e){if(this.bySelector.set(e.selector,e),e.alternativeSelectors)for(let n of Object.keys(e.alternativeSelectors))this.bySelector.set(n,e)}bySelectorValuesCache;getAvailableFonts(){if(!this.bySelectorValuesCache||this.bySelectorValuesCache.hash!==this.bySelector.hash){let e=new Map;for(let n of this.bySelector.values())e.set(n,!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:n}=await _a.fetchGoogleFontsList(),i=await loadVariationAxes(`google`);for(let a of await this.google.importFonts(e,n,i))this.addFont(a);return{staticFonts:e,variableFonts:n}}),this.getGoogleFontsListPromise}async importFontshareFonts(){if(!this.getFontshareFontsListPromise){this.getFontshareFontsListPromise=_a.fetchFontshareFontsList();let e=await this.getFontshareFontsListPromise,n=await loadVariationAxes(`fontshare`);for(let i of await this.fontshare.importFonts(e,n))this.addFont(i)}return this.getFontshareFontsListPromise}async importAllWebFonts(){await Promise.all([this.importGoogleFonts(),this.importFontshareFonts(),this.importBuiltInFonts()])}async importBuiltInFonts(){if(!this.getBuiltInFontsListPromise){this.getBuiltInFontsListPromise=_a.fetchBuiltInFontsList();let e=await this.getBuiltInFontsListPromise;for(let n of await this.builtIn.importFonts(e))this.addFont(n)}return this.getBuiltInFontsListPromise}importFramerFonts(e){let n=loadVariationAxes(`framer`);this.framer.importFonts(e,n).forEach(e=>{this.addFont(e)})}importCustomFonts(e){let n=new Map;for(let e of this.loadedSelectors){if(!isCustomFontSelector(e))continue;let i=this.getFontBySelector(e);i&&n.set(e,i)}this.bySelector.forEach((e,n)=>{isCustomFontSelector(n)&&this.bySelector.delete(n)});let i=this.custom.importFonts(e);for(let e of i)this.addFont(e);for(let[e,i]of n){let n=this.getFontBySelector(e);n&&n.file===i.file||(this.loadedSelectors.delete(e),i.file&&removeFont({family:i.cssFamilyName,url:i.file,weight:i.weight,style:i.style}))}this.resolveCustomFontsImportPromise()}getCustomFontsImportPromise(){return this.customFontsImportPromise}getCustomFontDebugFamilies(){return this.custom.getDebugFamilies()}getFontFamily(e){return this[e.source].getFontFamilyByName(e.name)}getFontBySelector(e){if(!e)return;let n;if(n=this.bySelector.get(e),n)return n.alternativeSelectors&&e in n.alternativeSelectors?{...n,...n.alternativeSelectors[e]}:n}getDraftPropertiesBySelector(e){let n=this.getFontBySelector(e);if(n)return{style:n.style,weight:n.weight,variant:n.variant,cssFamilyName:n.cssFamilyName,source:n.family.source,category:n.category};let i=this.google.parseSelector(e);if(i){let e=pl.parseVariant(i.variant);if(isSuccessfullyParsedFontVariant(e))return{style:e.style,weight:e.weight,variant:i.variant,cssFamilyName:createCSSFontFamilyFromWebFontLocator(i,`google`),source:`google`,category:void 0}}let a=this.fontshare.parseSelector(e);if(a){let e=sl.parseVariant(a.variant);if(isSuccessfullyParsedFontVariant(e))return{style:e.style,weight:e.weight,variant:a.variant,cssFamilyName:createCSSFontFamilyFromWebFontLocator(a,`fontshare`),source:`fontshare`,category:void 0}}let o=this.builtIn.parseSelector(e);if(o){let e=BuiltInFontSource.parseVariant(o.variant);if(isSuccessfullyParsedFontVariant(e))return{style:e.style,weight:e.weight,variant:o.variant,cssFamilyName:createCSSFontFamilyFromWebFontLocator(o,`builtIn`),source:`builtIn`,category:void 0}}return dl.getDraftFontPropertiesBySelector(e)||null}isSelectorLoaded(e){return this.loadedSelectors.has(e)}async loadFont(e){let n=this.getFontBySelector(e);
855if(!n)return 2;if(this.loadedSelectors.has(e))return 0;let i=n.cssFamilyName,a=n.family.source,o=isVariableFont(n);switch(a){case`local`:return this.loadedSelectors.add(e),1;case`framer`:if(isTest()||await isFontReady(n.family.name,n.style,n.weight),o){if(!n.file)return Promise.reject(`Unable to load font: ${e}`);await loadFont({family:i,url:n.file,weight:n.weight,style:n.style},document)}return this.loadedSelectors.add(e),1;case`google`:case`fontshare`:case`builtIn`:case`custom`:{if(!n.file)return Promise.reject(`Unable to load font: ${e}`);let a=n.file;await loadFont({family:i,url:a,weight:n.weight,style:n.style},document);let o=this.getFontBySelector(e);return!o||o.file!==a?(removeFont({family:i,url:a,weight:n.weight,style:n.style}),2):(this.loadedSelectors.add(e),1)}default:assertNever(a)}}async loadFontsFromSelectors(e){if(!this.enabled)return[];let n=[];e.some(e=>e.startsWith(rl))&&n.push(this.importFontshareFonts().catch(e=>{warnOnce2(`Failed to load Fontshare fonts:`,e)})),e.some(e=>e.startsWith(fl))&&n.push(this.importGoogleFonts().catch(e=>{warnOnce2(`Failed to load Google fonts:`,e)})),e.some(e=>e.startsWith(Xc))&&n.push(this.importBuiltInFonts().catch(e=>{warnOnce2(`Failed to load built-in fonts:`,e)})),e.some(isCustomFontSelector)&&n.push(this.customFontsImportPromise.catch(e=>{warnOnce2(`Failed to load custom fonts:`,e)})),n.length>0&&await Promise.all(n);let i=[];for(let n of e)i.push(this.loadFont(n));return Promise.allSettled(i)}async loadFonts(e){return{newlyLoadedFontCount:(await this.loadFontsFromSelectors(e)).filter(e=>e.status===`fulfilled`&&e.value===1).length}}async loadMissingFonts(e,n){let i=e.filter(e=>!xl.loadedSelectors.has(e));i.length!==0&&(await xl.loadWebFontsFromSelectors(i),i.every(e=>xl.loadedSelectors.has(e))&&n&&n())}async loadWebFontsFromSelectors(e){return this.loadFontsFromSelectors(e)}get defaultFont(){let e=this.getFontBySelector(`Inter`);return assert(e,`Canât find Inter font`),e}testing={addFont:this.addFont.bind(this)}},xl=new FontStore,defaultGetValueFromEvent=e=>e.target.value;function useOptimisticValue(e,n,i,a=defaultGetValueFromEvent){let[o,s]=f.useState(e),[c,l]=f.useState(e);return n&&e!==c&&(l(e),s(e)),[o,s,f.useCallback(e=>{shouldIgnoreReplayEvent(e)||(n&&s(a(e)),i&&f.startTransition(()=>{i(e)}))},[a,i,n])]}var Sl={"data-1p-ignore":!0,"data-lpignore":!0,"data-form-type":`other`,autocomplete:`off`},Cl=(0,f.forwardRef)(function FormPlainTextInput(e,n){let{autoFocus:i,className:a,inputName:o,max:s,min:c,placeholder:d,required:m,step:_,style:v,type:y,maxLength:x,value:S,defaultValue:T,autofillEnabled:E,onChange:O,onBlur:k,onInvalid:j,onFocus:P,onValid:F,onClear:L,...R}=e,ee=normalizeValueForInputType(S??T,y),[V,te,ne]=useOptimisticValue(ee??``,!0,O),re=useReplayPreHydrationInput(ee),ie=(0,f.useCallback)(()=>{te(``),L&&(0,f.startTransition)(()=>L())},[L,te]),ae=useCustomValidity(F,j,ne,k,P),oe=(0,f.useCallback)(e=>{e.target===e.currentTarget&&re.current?.focus()},[re]);if(y===`hidden`)return(0,l.jsx)(gr.input,{suppressHydrationWarning:!0,type:`hidden`,name:o,defaultValue:T});let se=E===!1?Sl:void 0,ce=!!V,le=!!L&&ce,ue=cx($,Ha,a,y===`text`&&wl,y===`textarea`&&Tl);return(0,l.jsxs)(gr.div,{suppressHydrationWarning:!0,ref:n,onClick:oe,style:v,className:ue,...R,children:[y===`textarea`?(0,l.jsx)(gr.textarea,{suppressHydrationWarning:!0,ref:re,...se,...ae,required:m,autoFocus:i,name:o,placeholder:d,className:Va,value:V,maxLength:x}):(0,l.jsx)(gr.input,{suppressHydrationWarning:!0,ref:re,...se,...ae,type:y,required:m,autoFocus:i,name:o,placeholder:d,className:cx(Va,!ce&&Ua),value:V,min:c,max:s,step:_,maxLength:x}),le&&(0,l.jsx)(`button`,{suppressHydrationWarning:!0,type:`button`,className:El,onClick:ie,"aria-label":`Clear`,children:(0,l.jsx)(ClearIcon,{suppressHydrationWarning:!0})})]})});function normalizeValueForInputType(e,n){return!e||n!==`date`?e:e.includes(`T`)?e.split(`T`)[0]:e}function ClearIcon(){return(0,l.jsx)(`svg`,{suppressHydrationWarning:!0,xmlns:`http://www.w3.org/2000/svg`,width:`8`,height:`8`,viewBox:`0 0 8 8`,"aria-hidden":`true`,children:(0,l.jsx)(`path`,{suppressHydrationWarning:!0,d:`m1.5 6.5 5-5M6.5 6.5l-5-5`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`})})}var $=`framer-form-text-input`,wl=`framer-form-text-input-type`,Tl=`framer-form-textarea-input-type`,El=`framer-form-text-input-clear`,Dl=`<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>`,Ol=`<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>`,kl=`<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>`,Al=`<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>`,jl=La(Cl,[...Ga,...Ja,...Ka,Q(`.${Ha}
855`,{boxShadow:Q.variable(`--framer-input-box-shadow`),borderTopLeftRadius:Q.variable(`--framer-input-border-radius-top-left`),borderTopRightRadius:Q.variable(`--framer-input-border-radius-top-right`),borderBottomRightRadius:Q.variable(`--framer-input-border-radius-bottom-right`),borderBottomLeftRadius:Q.variable(`--framer-input-border-radius-bottom-left`),cornerShape:Q.variable(`--framer-input-corner-shape`),background:Q.variable(`--framer-input-background`),transition:Q.variable(`--framer-input-focused-transition`),transitionProperty:`background, box-shadow`}),Q(`.${$} .${Va}::placeholder`,{color:Q.variable(`--framer-input-placeholder-color`)}),Q(`.${$}`,{display:`flex`,alignItems:`center`,padding:Q.variable(`--framer-input-padding`)}),Q(`.${$} .${Va}`,{flex:1,minWidth:0,width:`auto`,padding:0}),Q(`.${$}.${Tl}`,{padding:0}),Q(`.${$}.${Tl} textarea.${Va}`,{width:`100%`,padding:Q.variable(`--framer-input-padding`)}),Q(`.${$} .${Va}[type="date"], .${$} .${Va}[type="time"]`,{"-webkit-appearance":`none`,appearance:`none`}),Q(`.${$} .${Va}::-webkit-date-and-time-value`,{textAlign:`start`}),Q(`.${$} textarea`,{display:`flex`,resize:Q.variable(`--framer-textarea-resize`),overflowY:`auto`,minHeight:`inherit`,maxHeight:`inherit`,whiteSpace:`break-spaces`}),Q(`.${$} textarea::-webkit-resizer`,{background:`no-repeat ${encodeSVGForCSS(Dl)}`}),Q(`.${$}:dir(rtl) textarea::-webkit-resizer`,{background:`no-repeat ${encodeSVGForCSS(Ol)}`}),Q(`.${$} textarea::-webkit-scrollbar`,{cursor:`pointer`,background:`transparent`}),Q(`.${$} textarea::-webkit-scrollbar-thumb:window-inactive`,{opacity:0}),Q(`.${$} textarea::-webkit-scrollbar-corner`,{background:`none`,backgroundColor:`transparent`,outline:`none`}),Q(`.${$} .${Va}::-webkit-datetime-edit`,{height:Q.variable(`--framer-input-font-line-height`)}),Q(`.${$} .${Va}.${Ua}::-webkit-datetime-edit`,{color:Q.variable(`--framer-input-placeholder-color`),"-webkit-text-fill-color":Q.variable(`--framer-input-placeholder-color`),overflow:`visible`}),Q(`.${$}.${wl}::before`,{content:Q.variable(`--framer-input-icon-content`,`none`),display:`block`,flexShrink:0,width:`${$a}px`,height:`${$a}px`,marginRight:`${Qa}px`,...eo,backgroundPosition:`center`,maskPosition:`center`,maskImage:Q.variable(`--framer-input-icon-mask-image`),backgroundImage:Q.variable(`--framer-input-icon-image`)}),Q(`.${$} .${Va}[type="date"]::before, .${$} .${Va}[type="time"]::before`,{...to,paddingLeft:`${Za}px`,maskPosition:`${Za}px center`,backgroundPosition:`${Za}px center`}),Q(`.${$} .${Va}[type="date"]::before`,{maskImage:Q.variable(`--framer-input-icon-mask-image`,encodeSVGForCSS(kl)),backgroundImage:Q.variable(`--framer-input-icon-image`)}),Q(`.${$} .${Va}[type="time"]::before`,{maskImage:Q.variable(`--framer-input-icon-mask-image`,encodeSVGForCSS(Al)),backgroundImage:Q.variable(`--framer-input-icon-image`)}),Q(`.${$} .${Va}::-webkit-calendar-picker-indicator`,{opacity:0,position:`absolute`,right:0,top:0,bottom:0,padding:Q.variable(`--framer-input-padding`),paddingTop:0,paddingBottom:0,width:`${$a}px`,height:`100%`}),Q(`.${$}:focus-within, .${$}.${Wa}`,{boxShadow:Q.variable(`--framer-input-focused-box-shadow`,`--framer-input-box-shadow`),background:Q.variable(`--framer-input-focused-background`,`--framer-input-background`)}),Q(`.${$}:focus-within::after, .${$}.${Wa}::after`,{borderColor:Q.variable(`--framer-input-focused-border-color`,`--framer-input-border-color`),borderStyle:Q.variable(`--framer-input-focused-border-style`,`--framer-input-border-style`),borderWidth:Q.variable(`--framer-input-focused-border-width`,qa)}),Q(`.${El}`,{display:`flex`,order:2,alignItems:`center`,justifyContent:`center`,flexShrink:0,width:`${$a}px`,height:`${$a}px`,marginLeft:`${Qa}px`,padding:0,border:`none`,background:`transparent`,cursor:`pointer`,color:Q.variable(`--framer-input-placeholder-color`),transition:`color 0.15s ease`,outline:`none`}),Q(`.${El}:hover, .${El}:focus-visible`,{color:Q.variable(`--framer-input-font-color`)})],`framer-lib-form-plain-text-input`);function useEscToClose(e,n){(0,f.useEffect)(()=>{function handleKeyDown(i){i.key===`Escape`&&e&&(i.preventDefault(),i.stopPropagation(),n())}
855return K.addEventListener(`keyup`,handleKeyDown),()=>K.removeEventListener(`keyup`,handleKeyDown)},[e,n])}function calculateImageWidth(e,n,i,a){let o=K.innerHeight-a,s=Math.min(K.innerWidth-i,n),c=o/e;return Math.min(s,c)}function optimisticallyDecodeImage(e,{width:n,height:i}){if(!e.src||!e.srcSet)return;let a=new K.Image;return a.src=e.src,a.srcset=e.srcSet,a.sizes=e.sizes||``,a.width=n,a.height=i,a.decode()}function getPortalContainer2(){return document.getElementById(Zs)??document.getElementById(Xs)??document.body}function getSidePadding(e,n){return isNumber2(e)?e:n??0}function getTotalVerticalPadding(e){return getSidePadding(e?.paddingTop,e?.padding)+getSidePadding(e?.paddingBottom,e?.padding)}function getTotalHorizontalPadding(e){return getSidePadding(e?.paddingLeft,e?.padding)+getSidePadding(e?.paddingRight,e?.padding)}function createImageWithSrcSet(e,n){if(!e||!n?.src)return n;let i=new URL(n.src);return i.searchParams.delete(`scale-down-to`),i.searchParams.delete(`lossless`),{...n,sizes:`min(100vw, ${e.maxWidth-getTotalHorizontalPadding(e)}px)`,srcSet:getSrcSet(n.nodeFixedSize,n,n.src).srcSet}}var Ml={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};function isDistortionTransform(e){if(!e)return!1;for(let n in e){if(!(n in Ml))continue;let i=Ml[n],a=e[n];if(!(!isNumber2(i)||!isNumber2(a))&&i!==a)return!0}return!1}function isDistorted(e){let n=nn.get(e.current);if(!n)return!1;if(isDistortionTransform(n.projection?.latestValues))return!0;let i=n.projection?.path;if(!i||i.length===0)return!1;for(let e of i)if(isDistortionTransform(e.latestValues))return!0;return!1}var Nl={opacity:0}
855,Pl={opacity:1};function withLightboxEffect(e){return(0,f.forwardRef)(function LightboxEffect({lightbox:n,lightboxClassName:i,onClick:a,...o},s){let c=(0,f.useContext)(Kn),d=(0,f.useContext)(Vc),_=!!d,v=(0,f.useRef)(null),y=s??v,x=(0,f.useRef)(),S=(0,f.useMemo)(()=>createImageWithSrcSet(n,o.background),[n,o.background]),[T,E]=(0,f.useState)(!1),[O,k]=(0,f.useState)(),j=(0,f.useCallback)(()=>{if(n){if(T){(0,f.startTransition)(()=>{E(!0)});return}H.read(()=>{if(!y.current)return;let e=getComputedStyle(y.current),i=y.current.getAttribute(`data-border`)===`true`?getComputedStyle(y.current,`::after`):void 0,a=y.current.offsetWidth??1,o=y.current.offsetHeight??1,s=isDistorted(y)||_?{duration:0}:n.transition;(0,f.startTransition)(()=>{k({borderRadius:e.borderRadius,aspectRatio:a/(o||1),borderTop:i?.borderTopWidth,borderRight:i?.borderRightWidth,borderBottom:i?.borderBottomWidth,borderLeft:i?.borderLeftWidth,borderStyle:i?.borderStyle,borderColor:i?.borderColor,transition:s,imageRendering:e.imageRendering,filter:e.filter}),E(!0),d?.stop()})})}},[n,T,y,d?.stop,_]),P=O?.aspectRatio??1,F=useStableCallback(()=>{if(!n||!S?.src)return;let e=x.current?.[S.src];if(e)return e;let i=calculateImageWidth(P,n.maxWidth,getTotalHorizontalPadding(n),getTotalVerticalPadding(n)),a=optimisticallyDecodeImage(S,{width:i,height:i*P});return x.current={[S.src]:a},a}),L=(0,f.useCallback)(async e=>{a?.(e),!(T||!n||!S)&&(await F(),j())},[a,j,T,S,n,F]),R=(0,f.useCallback)(e=>{e?.stopPropagation(),(0,f.startTransition)(()=>{E(!1)})},[]);useEscToClose(T,R),(0,f.useEffect)(()=>{if(!n)return;let e;function enter(){e=setTimeout(()=>{F()},50)}function clear(){clearTimeout(e)}let i=y.current;return i?.addEventListener(`mouseenter`,enter),i?.addEventListener(`mouseleave`,clear),i?.addEventListener(`pointerdown`,F),()=>{clear(),i?.removeEventListener(`mouseenter`,enter),i?.removeEventListener(`mouseleave`,clear),i?.removeEventListener(`pointerdown`,F)}},[F,y,n]);let ee=(0,f.useId)(),V=O?.transition??o.transition??c.transition,te=O?.borderRadius,ne=O?.imageRendering,re=O?.filter,ie=O?.borderTop,ae=O?.borderRight,oe=O?.borderBottom,se=O?.borderLeft,ce=O?.borderStyle,le=O?.borderColor,ue=!!(ie||ae||oe||se||ce||le),de=ue?{"--border-top-width":ie,"--border-right-width":ae,"--border-bottom-width":oe,"--border-left-width":se,"--border-style":ce,"--border-color":le}:void 0,fe={[Ns]:o.id},pe=getSidePadding(n?.paddingTop,n?.padding),me=getSidePadding(n?.paddingBottom,n?.padding),he=getSidePadding(n?.paddingLeft,n?.padding),ge=getSidePadding(n?.paddingRight,n?.padding),_e=O?.borderRadius?{...o.style,borderRadius:O.borderRadius}:o.style,ve=T?o.layoutDependency?`${o.layoutDependency}-open`:`open`:o.layoutDependency,ye=_&&T?void 0:o.layoutId??(n?ee:void 0);return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(e,{suppressHydrationWarning:!0,...o,style:_e,onClick:L,layoutId:ye,ref:y,layoutDependency:ve,transition:V}),(0,l.jsx)(AnimatePresence,{suppressHydrationWarning:!0,onExitComplete:()=>{(0,f.startTransition)(()=>{k(void 0),d?.start()})},children:T&&n&&S&&(0,l.jsx)(l.Fragment,{children:(0,m.createPortal)((0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(gr.div,{suppressHydrationWarning:!0,...fe,className:i,onClick:R,style:{position:`fixed`,inset:0,zIndex:n.zIndex,backgroundColor:n.backdrop??`transparent`},transition:V,initial:Nl,animate:Pl,exit:Nl}),(0,l.jsx)(gr.div,{suppressHydrationWarning:!0,...fe,className:i,style:{alignItems:`center`,display:`flex`,inset:`${pe}px ${ge}px ${me}px ${he}px`,justifyContent:`center`,pointerEvents:`none`,position:`fixed`,zIndex:n.zIndex},children:(0,l.jsx)(`div`,{suppressHydrationWarning:!0,style:{alignItems:`center`,aspectRatio:P,display:`flex`,justifyContent:`center`,maxHeight:`100%`,position:`relative`,width:`100%`,maxWidth:n.maxWidth},children:(0,l.jsx)(gr.div,{suppressHydrationWarning:!0,layoutId:ye,transition:V,onClick:j,className:`framer-lightbox-container`,"data-border":ue,style:{aspectRatio:P,borderRadius:te,bottom:0,position:`absolute`,top:0,userSelect:`none`,imageRendering:ne,filter:re,...de},children:(0,l.jsx)(BackgroundImageComponent,{suppressHydrationWarning:!0,image:S,alt:S.alt,draggable:o.draggable})})})})]}),getPortalContainer2())},`backdrop`)})]})})}var Fl=withLightboxEffect(f.forwardRef(function Image2(e,n){let{background:i,children:a,alt:o,draggable:s,fitImageDimension:c,style:d,...m}=e,_={...d},v=(0,f.useMemo)(()=>
855getIntrinsicSizeForBackgroundImage(i),[i]),[y,x]=(0,f.useState)();f.useEffect(()=>{if(!i?.src||!c||v)return;let e=document.createElement(`img`);e.onload=()=>{e.naturalWidth&&e.naturalHeight&&(0,f.startTransition)(()=>x({width:e.naturalWidth,height:e.naturalHeight}))},e.src=i.src},[i?.src,c,v]);let S=v??y;c&&S&&(_[c]=`auto`,_.aspectRatio=S.width/S.height),i&&delete _.background;let T=htmlElementAsMotionComponent(e.as);return(0,l.jsxs)(T,{suppressHydrationWarning:!0,...m,style:_,ref:n,draggable:s,children:[i&&(0,l.jsx)(BackgroundImageComponent,{suppressHydrationWarning:!0,image:i,alt:o,draggable:s}),a]})})),Il,Ll=!isFirefox()&&typeof Document<`u`&&typeof Document.parseHTMLUnsafe==`function`;function domParser(e,n){return Ll&&!n?Document.parseHTMLUnsafe(e):(Il??=new DOMParser,Il.parseFromString(e,n??`text/html`))}function escapeHTML(e){return e.replaceAll(`&`,`&`).replaceAll(`<`,`<`).replaceAll(`>`,`>`).replaceAll(`"`,`"`).replaceAll(`'`,`'`)}var Rl=/(<([a-z]+)(?:\s+(?!href[\s=])[^=\s]+=(?:'[^']*'|"[^"]*"))*)(?:(\s+href\s*=)(?:'([^']*)'|"([^"]*)"))?((?:\s+[^=\s]+=(?:'[^']*'|"[^"]*"))*>)/gi;function replaceFramerPageLinks(e,n,i,a){return e.replace(Rl,(e,o,s,c,l,d,f)=>{if(s.toLowerCase()!==`a`)return e;let m=l||d,_=parseFramerPageLink(m.replace(/&/gu,`&`));if(!_?.target)return e;let v=n(_.target);if(!isRoute(v)||!isRoute(i))return e;let y=v.path,x=i.path;if(!y||!x)return e;let S=` data-framer-page-link-target="${_.target}"`,T=getRouteElementId(v,_.element??void 0);T&&(S+=` data-framer-page-link-element="${_.element}"`);let E=linkFromFramerPageLink(m);if(!E||isString(E))return e;linkMatchesRoute(i,E,a)&&(S+=` data-framer-page-link-current`);let O=y,k=Object.assign({},a,_.collectionItem?.pathVariables);if(Object.keys(k).length>0&&(O=O.replace($s,(e,n)=>``+k[n])),_.collectionItem?.pathVariables){let e=new URLSearchParams(_.collectionItem.pathVariables);S+=` data-framer-page-link-path-variables="${e}"`}return O=computeRelativePath(x,O),o+c+`"${escapeHTML(O+(T?`#${T}`:``))}"`+S+f})}function isShallowEqualArray(e,n){return e.length===n.length&&e.every((e,i)=>e===n[i])}var zl=`{{ text-placeholder }}`,Bl=`rich-text-wrapper`,Vl=withLibraryCSS(f.forwardRef(function Text(e,n){let{id:i,name:a,html:o,htmlFromDesign:s,text:c,textFromDesign:d,fonts:m=[],width:_,height:v,left:y,right:x,top:S,bottom:T,center:E,className:O,stylesPresetsClassName:k,visible:j=!0,opacity:P,rotation:F=0,verticalAlignment:L=`top`,isEditable:R=!1,environment:ee=Y.current,withExternalLayout:V=!1,positionSticky:te,positionStickyTop:ne,positionStickyRight:re,positionStickyBottom:ie,positionStickyLeft:ae,__htmlStructure:oe,__fromCanvasComponent:se=!1,_forwardedOverrideId:ce,_forwardedOverrides:le,_usesDOMRect:ue,children:de,...H}=e,fe=useParentSize(),pe=useLayoutId2(e),me=(0,f.useRef)(null),he=n??me,{navigate:ge,getRoute:_e}=useRouter(),ve=useCurrentRoute();useRoutePreloader(e.preload??[]),useMeasureLayout(e,he);let ye=f.useContext(Co),be=useIsOnFramerCanvas(),xe=c,Se=ce??i;if(Se&&le){let e=le[Se];typeof e==`string`&&(xe=e)}let U=``;if(xe){let e=escapeHTML(xe);U=oe?oe.replace(zl,e):`<p>${e}</p>`}else if(o)U=o;else if(d){let e=escapeHTML(d);U=oe?oe.replace(zl,e):`<p>${e}</p>`}else s&&(U=s);let Ce=useImplicitPathVariables(),we=f.useMemo(()=>be||!_e||!ve?U:replaceFramerPageLinks(U,_e,ve,Ce),[U,_e,ve,Ce]);if(f.useEffect(()=>{let e=he.current;if(e===null)return;function interceptPageLinks(e){let n=findAnchorElement(e.target,he.current);isCommandKeyPressed(e)||!ge||!n||n.getAttribute(`target`)===`_blank`||navigateFromAttributes(ge,n,Ce)&&e.preventDefault()}return e.addEventListener(`click`,interceptPageLinks),()=>{e.removeEventListener(`click`,interceptPageLinks)}},[ge,Ce]),useLoadFonts(m,se,he),!j)return null;let Te=R&&ee()===Y.canvas,W={outline:`none`,display:`flex`,flexDirection:`column`,justifyContent:convertVerticalAlignment(L),opacity:Te?0:P,flexShrink:0},Ee=Y.hasRestrictions(),De=calculateRect(e,fe||0,!1),G=ue&&(_===`auto`||v===`auto`),Oe=e.transformTemplate||!De||!Ee||se||G?e.transformTemplate??transformTemplate(E):void 0;if(!V){if(De&&Ee&&!G){let e=ra.getNumber(F).toFixed(4);W.transform=`translate(${De.x}px, ${De.y}px) rotate(${e}deg)`,W.width=De.width,W.minWidth=De.width,W.height=De.height}else W.left=y,W.right=x,W.top=S,W.bottom=T,W.width=_,W.height=v,W.rotate=F;te?(!be||ye)&&(W.position=`sticky`,W.willChange=`transform`,W.top=ne,W.right=re,W.bottom=ie,W.left=ae):be&&(e.positionFixed||e.positionAbsolute)&&(W.position=`absolute`)}return collectFiltersFromProps(e,W),collectTextShadowsForProps(e,W),Object.assign(W,e.style),(0,l.jsx)(gr.div,{suppressHydrationWarning:!0,id:i,ref:he,...H,style:W,layoutId:pe,"data-framer-name":a,"data-framer-component-type":`DeprecatedRichText`,"data-center":E,className:cx(O,k,Bl),transformTemplate:Oe,dangerouslySetInnerHTML:{__html:we}})}));function convertVerticalAlignment(e){switch(e){case`top`:return`flex-start`;case`center`:return`center`;case`bottom`:return`flex-end`}}function useLoadFonts(e,n,i){let a=(0,f.useRef)([]);isShallowEqualArray(a.current,e)||(a.current=e,xl.loadFonts(e).then(({newlyLoadedFontCount:e})=>{!n||!i.current||Y.current()!==Y.canvas||e>0&&measureClosestComponentContainer(i.current)}))}function newOverrideableRef(){return{current:null}}async function patchAndWaitForChild(e,n){let i=e.current;if(i)return i;let a,o=new Promise((e,i)=>{a=e,n.signal.addEventListener(`abort`,()=>i())});return Object.defineProperty(e,"current",{get(){return i},set(e){if(i=e,e===null){n.abort();return}a(e)},configurable:!0}),o}var Hl={opacity:1,y:0,x:0,scale:1,rotate:0,rotateX:0,rotateY:0,skewX:0,skewY:0,filter:`none`};function isEffectKey(e){return e in Hl}function createKeyframes(e,n){let i={};for(let a in e){if(!isEffectKey(a))continue;let o=e[a],s=Hl[a];isUndefined(o)||isUndefined(s)||n&&a!==`opacity`||(i[a]=[o,s])}return i}var Ul=RegExp(`\\p{Regional_Indicator}{2}|\\p{Emoji}\\p{Emoji_Modifier}?\\p{Variation_Selector}?(?:\\u{200d}\\p{Emoji}\\p{Emoji_Modifier}?\\p{Variation_Selector}?)*|.`,`gu`);function tokenizeText(e,n=`character`,i,a,o){if(a){let n=newOverrideableRef();return i.add(n),(0,l.jsx)(`span`,{suppressHydrationWarning:!0,ref:n,style:o,children:e})}switch(n){case`character`:case`line`:{let n=e.split(` `),a=n.length-1;return n.map((e,n)=>{let s=n===a,c=e.length<=12;return(0,l.jsxs)(f.Fragment,{children:[(0,l.jsx)(`span`,{suppressHydrationWarning:!0,style:{whiteSpace:c?`nowrap`:`unset`},children:e.match(Ul)?.map((e,n)=>{let a=newOverrideableRef();return i.add(a),(0,l.jsx)(`span`,{suppressHydrationWarning:!0,ref:a,style:o,children:e},e+n)})}),s?null:` `]},e+n+s)})}case`word`:{let n=e.split(` `),a=n.length-1;return n.map((e,n)=>{let s=n===a,c=newOverrideableRef();return i.add(c),(0,l.jsxs)(f.Fragment,{children:[(0,l.jsx)(`span`,{suppressHydrationWarning:!0,ref:c,style:o,children:e}),s?null:` `]},e+n+s)})}default:return e}}function tokenizationForEffect(e){let n=e.type;switch(n){case`appear`:return e.tokenization??`character`;default:assertNever(n)}}function transformString(e){let n=[];return isNumber2(e.x)&&n.push(`translateX(${e.x}px)`),isNumber2(e.y)&&n.push(`translateY(${e.y}px)`),isNumber2(e.scale)&&n.push(`scale(${e.scale})`),isNumber2(e.rotate)&&n.push(`rotate(${e.rotate}deg)`),isNumber2(e.rotateX)&&n.push(`rotateX(${e.rotateX}deg)`),isNumber2(e.rotateY)&&n.push(`rotateY(${e.rotateY}deg)`),isNumber2(e.skewX)&&n.push(`skewX(${e.skewX}deg)`),isNumber2(e.skewY)&&n.push(`skewY(${e.skewY}deg)`),n.join(` `)}function getInitialEffectStyle(e,n,i,a){if(!i?.effect)return;let o=i.type;switch(o){case`appear`:switch(i.tokenization){case`element`:return!e||!n?void 0:{opacity:i.effect.opacity,filter:a?void 0:i.effect.filter,transform:a?void 0:transformString(i.effect)};default:return!e||!n?{display:`inline-block`}:{display:`inline-block`,opacity:i.effect.opacity,filter:a?void 0:i.effect.filter,transform:a?void 0:transformString(i.effect)}}default:assertNever(o)}}function useTextEffect(e,n,i){let a=useConstant2(()=>new Set),o=isStaticRenderer(),s=i||!o,c=useReducedMotionConfig(),l=f.useRef({hasMounted:!1,hasAnimatedOnce:!1,isAnimating:!1,effect:e});l.current.effect=e;let d=e?.trigger??`onMount`,m=e?.target,_=e?.threshold;f.useEffect(()=>{if(!s||i)return;l.current.hasMounted=!0;function play(){let{effect:e}=l.current;if(!s||!e||e?.repeat!==!0&&l.current.hasAnimatedOnce||e?.type===`appear`&&l.current.isAnimating)return;Object.assign(l.current,{hasAnimatedOnce:!0,isAnimating:!0});let n=e.type;switch(n){case`appear`:{let{transition:n,startDelay:i,repeat:o,tokenization:s}=e,d={current:void 0};return runAppearEffect(s,e.effect,a,n,i,o,c,()=>{Object.assign(l.current,{isAnimating:!1})},d),()=>d.current?.()}default:assertNever(n)}}switch(d){case`onMount`:play();return;case`onInView`:{let e=n?.current;return e?inView(e,play,{amount:_??0}):void 0}case`onScrollTarget`:{let e=m?.ref?.current;return e?inView(e,play,{amount:_??0,root:document,margin:m?.offset?`${m.offset}px 0px 0px 0px`:void 0}):void 0}default:assertNever(d)}},[s,a,i,n,m,_,d]);let v=!!e,y=e?tokenizationForEffect(e):void 0;return f.useMemo(()=>({getTokenizer:()=>{if(a.clear(),!v)return;let{hasMounted:e,hasAnimatedOnce:n,effect:o}=l.current,d=getInitialEffectStyle(s,i||mayAnimate(e,n,o),l.current.effect,c);return{text:e=>
855tokenizeText(e,y,a,c,d),props:e=>{if(o?.tokenization!==`element`)return;let n=newOverrideableRef();return a.add(n),{ref:n,style:{...e,...d}}}}},play:()=>{let{effect:e}=l.current;if(!e)return;let n=e.type;switch(n){case`appear`:{let{transition:n,startDelay:i}=e;runAppearEffect(y,e.effect,a,n,i,!1,c);break}default:assertNever(n)}}}),[s,v,a,i,y])}function mayAnimate(e,n,i){return!(e&&i?.trigger===`onMount`||n&&!i?.repeat&&(i?.trigger===`onInView`||i?.trigger===`onScrollTarget`))}async function runAppearEffect(e=`character`,n,i,a,o=0,s=!1,c,l,d){let f=createKeyframes(n,c),m=new AbortController;switch(d&&(d.current=()=>m.abort()),e){case`character`:case`element`:case`word`:{let e=await createElementList(i,m);if(e===null||(Nr(e,f,{...a,restDelta:.001,delay:stagger(a?.delay??0,{startDelay:o})}).then(()=>l?.()),!s||!d))return;d.current=()=>{let i=c?{opacity:n.opacity}:n;Nr(e,i,{...a,restDelta:.001,delay:stagger(a?.delay??0,{startDelay:o})})};return}case`line`:{try{for(let e of i)await patchAndWaitForChild(e,m)}catch{return}let e;if(H.read(()=>{e=createLineGroups(i),e.length!==0&&H.update(()=>{let n=e.map((e,n)=>Nr(e,f,{...a,restDelta:.001,delay:o+n*(a?.delay??0)}));Promise.all(n).then(()=>l?.())})}),!s||!d)return;d.current=()=>{if(e.length===0)return;let i=c?{opacity:n.opacity}:n;e.forEach((e,n)=>{Nr(e,i,{...a,restDelta:.001,delay:o+n*(a?.delay??0)})})};return}default:assertNever(e)}}async function createElementList(e,n){if(e.size===0)return null;let i=[];for(let a of e)try{let e=await patchAndWaitForChild(a,n);e&&i.push(e)}catch{return null}return i}function createLineGroups(e){let n=[],i=[],a=null;for(let o of e){if(!o.current)continue;let e=o.current.offsetTop,s=o.current.offsetHeight;!s||a===null||e===a?i.push(o.current):(n.push(i),i=[o.current]),s&&(a=e)}return n.push(i),n}var Wl=(0,f.forwardRef)(function BaseSVG2(e,n){return(0,l.jsx)(`svg`,{suppressHydrationWarning:!0,...e,ref:n,children:e.children})}),Gl=gr.create(Wl),Kl=(0,f.forwardRef)(function FitText2({viewBoxScale:e,viewBox:n,children:i,...a},o){return(0,l.jsx)(Gl,{suppressHydrationWarning:!0,...a,ref:o,viewBox:n,children:(0,l.jsx)(gr.foreignObject,{suppressHydrationWarning:!0,width:`100%`,height:`100%`,className:`framer-fit-text`,transform:`scale(${e})`,style:{overflow:`visible`,transformOrigin:`center center`},children:i})})}),ql=[],Jl=`RichTextContainer`;function getValidRestProps(e){let n={};for(let i in e)(isValidMotionProp(i)||ga(i))&&(n[i]=e[i]);return n}var Yl=(0,f.forwardRef)(function RichTextContainer2(e,n){let{__fromCanvasComponent:i=!1,_forwardedOverrideId:a,_forwardedOverrides:o,_usesDOMRect:s,anchorLinkOffsetY:c,as:d,bottom:m,center:_,children:v,environment:y=Y.current,fonts:x=ql,height:S,isEditable:T=!1,left:E,name:O,opacity:k,positionSticky:j,positionStickyBottom:P,positionStickyLeft:F,positionStickyRight:L,positionStickyTop:R,right:ee,rotation:V=0,style:te,_initialStyle:ne,stylesPresetsClassNames:re,text:ie,top:ae,verticalAlignment:oe=`top`,visible:se=!0,width:ce,withExternalLayout:le=!1,viewBox:ue,viewBoxScale:de=1,effect:H,...fe}=e,pe=useParentSize(),me=y(),he=me===Y.canvas,ge=he||me===Y.export,_e=(0,f.useContext)(Co),ve=useLayoutId2(e),ye=(0,f.useRef)(null),be=n??ye;useMeasureLayout(e,be),useLoadFonts(x,i,be);let xe=useTextEffect(H,be),Se=(0,f.useMemo)(()=>{if(v)return processRichTextChildren(v,re,ie,c,void 0,xe.getTokenizer())},[v,re,ie,c,xe]);if(!se)return null;let U={opacity:T&&he?0:k},Ce=convertVerticalAlignment(oe);Ce!==ao.justifyContent&&(U.justifyContent=Ce);let we={},Te=Y.hasRestrictions(),W=calculateRect(e,pe||0,!1),Ee=s&&(ce===`auto`||S===`auto`),De=e.transformTemplate||!W||!Te||i||Ee?e.transformTemplate??transformTemplate(_):void 0;le||(W&&Te&&!Ee?(we.x=W.x+(isNumber2(te?.x)?te.x:0),we.y=W.y+(isNumber2(te?.y)?te.y:0),we.left=0,we.top=0,U.rotate=ra.getNumber(V),U.width=W.width,U.minWidth=W.width,U.height=W.height):(U.left=E,U.right=ee,U.top=ae,U.bottom=m,U.width=ce,U.height=S,U.rotate=V),j?(!ge||_e)&&(U.position=`sticky`,U.willChange=`transform`,U.top=R,U.right=L,U.bottom=P,U.left=F):he&&(e.positionFixed||e.positionAbsolute)&&(U.position=`absolute`)),collectFiltersFromProps(e,U),collectTextShadowsForProps(e,U),Object.assign(U,ne,te,we),ve&&(fe.layout=`preserve-aspect`);let G=htmlElementAsMotionComponent(e.as),Oe=fe[`data-framer-name`]??O,ke=he?getValidRestProps(asRecord(fe)):fe;return isString(e.viewBox)?e.as===void 0?(0,l.jsx)(Kl,{suppressHydrationWarning:!0,...ke,ref:be,style:U,layoutId:ve,viewBox:ue,viewBoxScale:de,transformTemplate:De,"data-framer-name":Oe,"data-framer-component-type":Jl,children:Se}):(0,l.jsx)(G,{suppressHydrationWarning:!0,...ke,ref:be,style:U,layoutId:ve,transformTemplate:De,"data-framer-name":Oe,"data-framer-component-type":Jl,children:(0,l.jsx)(Kl,{suppressHydrationWarning:!0,viewBox:ue,viewBoxScale:de,style:{width:`100%`,height:`100%`},children:Se})}):(0,l.jsx)(G,{suppressHydrationWarning:!0,...ke,ref:be,style:U,layoutId:ve,transformTemplate:De,"data-framer-name":Oe,"data-framer-component-type":Jl,children:Se})});function isFragment(e){return e.type===l.Fragment}function isLineBreak(e){return e.type===`br`}function processRichTextChildren(e,n,i,a,o={},s,c=isFragment(e)?-1:0){let d=f.Children.toArray(e.props.children);isUndefined(i)||(d=d.slice(0,1));let m=!0;d=d.map(e=>{if((!(0,f.isValidElement)(e)||!isLineBreak(e))&&(m=!1),(0,f.isValidElement)(e))return processRichTextChildren(e,n,i,a,o,s,c+1);let l=isUndefined(i)?e:i;return isString(l)&&s?s.text(l):l});let{"data-preset-tag":_,...v}=e.props;if(isString(e.type)||isMotionComponent(e.type)){let i=unwrapMotionComponent(e.type)||e.type,y=_||i,x=isString(y)?n?.[y]:void 0;v.className=cx(`framer-text`,v.className,x),s&&c===0&&!m&&Object.assign(v,s.props(v.style));let S=i===`h1`||i===`h2`||i===`h3`||i===`h4`||i===`h5`||i===`h6`,T=n?.anchor;if(S&&T){let e=generateHeadingSlug(d,o);v.id=e;let n=cx(`framer-text`,T),i=(0,l.jsx)(`a`,{suppressHydrationWarning:!0,href:`#${e}`,className:n,children:d});v.style={...v.style,scrollMarginTop:a},d=[i]}y===`ol`&&(v.style={...v.style,[ro]:safeGetMaxListDigits(v.start??1,f.Children.count(v.children),v.style?.[no]??``)})}return(0,f.cloneElement)(e,v,...d)}function generateHeadingSlug(e,n){let i=slugify(e.map(extractTextFromReactNode).join(``)),a=n[i]??0;return a>0&&(i+=`-${a}`),n[i]=a+1,i}function extractTextFromReactNode(e){return isString(e)||isNumber2(e)?e.toString():(0,f.isValidElement)(e)?extractTextFromReactNode(e.props.children):Array.isArray(e)?e.map(extractTextFromReactNode).join(``):``}function safeGetMaxListDigits(e,n,i){return getMaxListDigits(Number(e)||1,n,i)}var Xl=withLibraryCSS((0,f.forwardRef)(function RichText({children:e,html:n,htmlFromDesign:i,...a},o){let s=n||e||i;if(isString(s)){!a.stylesPresetsClassName&&isObject2(a.stylesPresetsClassNames)&&(a.stylesPresetsClassName=Object.values(a.stylesPresetsClassNames).join(` `));let e={[isString(n)?`html`:`htmlFromDesign`]:s};return(0,l.jsx)(Vl,{suppressHydrationWarning:!0,...a,...e,ref:o})}if(!a.stylesPresetsClassNames&&isString(a.stylesPresetsClassName)){let[e,n,i,o,s]=a.stylesPresetsClassName.split(` `);e===void 0||n===void 0||i===void 0||o===void 0||s===void 0?console.warn(`Encountered invali
855d stylesPresetsClassNames: ${a.stylesPresetsClassNames}`):a.stylesPresetsClassNames={h1:e,h2:n,h3:i,p:o,a:s}}return(0,l.jsx)(Yl,{suppressHydrationWarning:!0,...a,ref:o,children:(0,f.isValidElement)(s)?s:void 0})}));function linearGradientLine(e){let n=e*Math.PI/180,i={x:-Math.sin(n)*100,y:Math.cos(n)*100},a=Point(i.x,i.y),o=Ta(Point(.5,.5),a),s=X.points({x:0,y:0,width:1,height:1}),c=s.map(e=>({point:e,distance:Point.distance(a,e)})).sort((e,n)=>e.distance-n.distance),l=c[0]?.point,d=c[1]?.point;assert(l&&d,`linearGradientLine: Must have 2 closest points.`);let[f,m]=s.filter(e=>!Point.isEqual(e,l)&&!Point.isEqual(e,d));assert(f&&m,`linearGradientLine: Must have 2 opposing points.`);let _=Ta.intersection(o,Ta(l,d)),v=Ta.intersection(o,Ta(f,m));return assert(_&&v,`linearGradientLine: Must have a start and end point.`),Ta(_,v)}function elementPropertiesForLinearGradient(e,n){let i=linearGradientLine(e.angle),a=gradientColorStops(e),o=a[0]?.position??0,s=a[a.length-1]?.position??1,c=Ta.pointAtPercentDistance(i,o),l=Ta.pointAtPercentDistance(i,s),d=interpolate([o,s],[0,1]);return{id:`id${n}g${Io.hash(e)}`,x1:c.x,y1:c.y,x2:l.x,y2:l.y,stops:a.map(n=>({color:n.value,alpha:Ao.getAlpha(n.value)*e.alpha,position:d(n.position)}))}}function elementPropertiesForRadialGradient(e,n){return{id:`id${n}g${Ro.hash(e)}`,widthFactor:e.widthFactor,heightFactor:e.heightFactor,centerAnchorX:e.centerAnchorX,centerAnchorY:e.centerAnchorY,stops:gradientColorStops(e).map(n=>({color:n.value,alpha:Ao.getAlpha(n.value)*e.alpha,position:n.position}))}}function isRelativeNumber(e){if(!isString(e)||e.charAt(e.length-1)!==`%`)return!1;let n=e.slice(0,-1);return isNumber2(parseFloat(n))}function getRelativeNumberValue(e){let n=e.slice(0,-1),i=parseFloat(n);return isNumber2(i)?i:50}function getPositionXFraction(e){return isRelativeNumber(e)?getRelativeNumberValue(e)/100:e===`left`?0:e===`right`?1:.5}function getPositionYFraction(e){return isRelativeNumber(e)?getRelativeNumberValue(e)/100:e===`top`?0:e===`bottom`?1:.5}function imagePatternPropsForFill(e,n,i,a){if(e=ra.get(e,`#09F`),!wa.isImageObject(e)||!e.pixelWidth||!e.pixelHeight)return;let o=e.pixelWidth,s=e.pixelHeight,c,{fit:l}=e,d=1,f=1,m=0,_=0;if(l===`fill`||l===`fit`||l===`tile`||!l){let i=1,v=1,y=o/s,x=n.height*y,S=n.width/y,T=x/n.width,E=S/n.height;if(l===`tile`){e.backgroundSize??=1,d=Math.round(e.backgroundSize*(o/2)),f=Math.round(e.backgroundSize*(s/2));let i=n.x??0,l=n.y??0,v=0,y=0;a&&(v=i,y=l),m=(n.width-d)*getPositionXFraction(e.positionX)+v,_=(n.height-f)*getPositionYFraction(e.positionY)+y,c=`translate(${m+i}, ${_+l})`}else(l===`fill`||!l?E>T:E<T)?(v=E,_=(1-E)*getPositionYFraction(e.positionY)):(i=T,m=(1-T)*getPositionXFraction(e.positionX)),c=`translate(${m}, ${_}) scale(${i}, ${v})`}return{id:`id${i}g-fillImage`,path:e.src??``,transform:c,width:d,height:f,offsetX:m,offsetY:_}}var Zl=`framer/asset-reference,`;function isAssetReference(e){return e.startsWith(`data:${Zl}`)}function imageUrlForAsset(e,n){if(/^\w+:/u.test(e)&&!isAssetReference(e))return e;n=typeof n==`number`?n<=512?512:n<=1024?1024:n<=2048?2048:4096:void 0;let i=Y.current()===Y.export;return _a.assetResolver(e,{pixelSize:n,isExport:i})??``}var ImagePatternElement=({id:e,path:n,transform:i,repeat:a,width:o,height:s,offsetX:c,offsetY:d})=>{let f=imageUrlForAsset(n);return(0,l.jsx)(`pattern`,{suppressHydrationWarning:!0,id:e,width:a?o:`100%`,height:a?s:`100%`,patternContentUnits:a?void 0:`objectBoundingBox`,patternUnits:a?`userSpaceOnUse`:void 0,x:a?c:void 0,y:a?d:void 0,children:(0,l.jsx)(`image`,{suppressHydrationWarning:!0,width:a?o:1,height:a?s:1,href:f,preserveAspectRatio:`none`,transform:a?void 0:i,x:a?0:void 0,y:a?0:void 0},f)})},Ql=isBrowser22(),SharedSVGEntry=class{constructor(e,n,i,a,o=0){this.id=e,this.svg=n,this.innerHTML=i,this.viewBox=a,this.count=o}id;svg;innerHTML;viewBox;count},$l=`position: absolute; overflow: hidden; bottom: 0; left: 0; width: 0; height: 0; z-index: 0; contain: strict`,SharedSVGManager=class{entries=new Map;vectorSetItems=new Map;debugGetEntries(){return this.entries}subscribe(e,n,i,a){if(!e||e===``)return``;let o=this.entries.get(e);if(!o){i||=`svg${String(hash(e))}_${String(e.length)}`;let s=e,c,l=parseSVG(e);l&&(n&&prefixIdsInSVG(l,i),l.id=i,c=getSVGSize(l),l.removeAttribute(`xmlns`),l.removeAttribute(`xlink`),l.removeAttribute(`xmlns:xlink`),s=l.outerHTML),o=this.createDOMElementFor(s,i,c,a),this.entries.set(e,o)}return o.count+=1,o.innerHTML}getViewBox(e){if(!(!e||e===``))return this.entries.get(e)?.viewBox}unsubscribe(e){if(!e||e===``)return;let n=this.entries.get(e);n&&(--n.count,!(n.count>0)&&setTimeout(()=>this.maybeRemoveEntry(e),5e3))}maybeRemoveEntry(e){let n=this.entries.get(e);n&&(n.count>0||(this.entries.delete(e),this.removeDOMElement(n)))}removeDOMElement(e){Ql&&(document?.getElementById(e.id))?.remove()}getOrCreateTemplateContainer(){let e=document.getElementById(`svg-templates`);if(e)return e;let n=document.createElement(`div`);return n.id=`svg-templates`,n.ariaHidden=`true`,n.style.cssText=$l,document.body.appendChild(n),n}maybeAppendTemplate(e,n){if(document.getElementById(e))return;let i=document.createElement(`div`);i.innerHTML=n;let a=i.firstElementChild;a&&(a.id=e,this.getOrCreateTemplateContainer().appendChild(a))}createDOMElementFor(e,n,i,a){Ql&&this.maybeAppendTemplate(n,e);let o=i?`0 0 ${i.width} ${i.height}`:void 0,s=o?` viewBox="${o}"`:``;return new SharedSVGEntry(n,e,`<svg style="width:100%;height:100%;${a?`overflow: visible;`:``}"${s}><use href="#${n}"/></svg>`,o)}template(e,n){return this.vectorSetItems.get(e)||(this.vectorSetItems.set(e,{svg:n,count:0}),!Ql)||this.maybeAppendTemplate(e,n),`#${e}`}subscribeToTemplate(e){let n=this.vectorSetItems.get(e);if(n)return n.count++,()=>{let n=this.vectorSetItems.get(e);n&&(n.count--,!(n.count>0)&&setTimeout(()=>{this.vectorSetItems.get(e)?.count||(this.vectorSetItems.delete(e),Ql&&document?.getElementById(e)?.remove())},5e3))}}clear(){this.entries.clear()}generateTemplates(){let e=[];return e.push(`<div id="svg-templates" style="${$l}" aria-hidden="true">
855`),this.entries.forEach(n=>e.push(n.svg)),this.vectorSetItems.forEach((n,i)=>{let a=n.svg;e.push(a.includes(`id="${i}"`)?a:a.replace(/^<svg/u,`<svg id="${i}"`))}),e.push(`</div>`),e.join(` 856`)}},eu=new SharedSVGManager;function parseSVG(e){try{let n=domParser(e).getElementsByTagName(`svg`)[0];if(!n)throw Error(`no svg element found`);return n}catch{return}}function prefixIdsInSVG(e,n){recursivelyPrefixId(e,sanitizeString(n))}function sanitizeString(e){return e.replace(/[^\w\-:.]|^[^a-z]+/gi,``)}function recursivelyPrefixId(e,n){prefixId(e,n),Array.from(e.children).forEach(e=>{recursivelyPrefixId(e,n)})}function prefixId(e,n){e.getAttributeNames().forEach(i=>{let a=e.getAttribute(i);if(!a)return;if(i===`id`&&e.setAttribute(i,`${n}_${a}`),i===`href`||i===`xlink:href`){let[o,s]=a.split(`#`);if(o)return;e.setAttribute(i,`#${n}_${s}`);return}let o=`url(#`;if(a.includes(o)){let s=a.replace(o,`${o}${n}_`);e.setAttribute(i,s)}})}var tu={cm:96/2.54,mm:96/2.54/10,Q:96/2.54/40,in:96,pc:16,pt:96/72,px:1,em:16,ex:8,ch:8,rem:16};function parseLength(e){if(!e)return;let n=/(-?[\d.]+)([a-z%]*)/u.exec(e);if(n?.[1]!==void 0&&n?.[2]!==void 0&&!n[2]?.startsWith(`%`))return Math.round(parseFloat(n[1])*(tu[n[2]]||1))}function getSVGSize(e){let n=parseLength(e.getAttribute(`width`)),i=parseLength(e.getAttribute(`height`));if(typeof n==`number`&&typeof i==`number`&&!(n<=0||i<=0))return{width:n,height:i}}var nu=(0,f.forwardRef)(function SVG(e,n){let i=useParentSize(),a=useLayoutId2(e),o=f.useRef(null),s=n??o,c=useProvidedWindow();return useMeasureLayout(e,o),(0,l.jsx)(iu,{suppressHydrationWarning:!0,...e,innerRef:s,parentSize:i,layoutId:a,providedWindow:c})}),ru=5e4;function containsImageReference(e){return e.indexOf(`image`)>=0}function containsCustomPropertyReference(e){return e.indexOf(`var(--`)>=0}function hasBorderRadius(e){return!!(e.borderRadius||e.borderBottomLeftRadius||e.borderBottomRightRadius||e.borderTopLeftRadius||e.borderTopRightRadius)}function sizeSVG(e,n){let i=e.current;if(!i)return;let a=n.providedWindow??q,o=i.firstElementChild;if(!o||!(o instanceof a.SVGSVGElement))return;if(!o.getAttribute(`viewBox`)){let e=eu.getViewBox(n.svg);e&&o.setAttribute(`viewBox`,e)}let{withExternalLayout:s,parentSize:c}=n;if(!s&&constraintsEnabled(n)&&c!==1&&c!==2)return;let{intrinsicWidth:l,intrinsicHeight:d,_constraints:f}=n;o.viewBox?.baseVal?.width===0&&o.viewBox?.baseVal?.height===0&&isFiniteNumber(l)&&isFiniteNumber(d)&&o.setAttribute(`viewBox`,`0 0 ${l} ${d}`),f?.aspectRatio?o.setAttribute(`preserveAspectRatio`,``):o.setAttribute(`preserveAspectRatio`,`none`),o.setAttribute(`width`,`100%`),o.setAttribute(`height`,`100%`)}var iu=class SVGComponentInner extends ko{static supportsConstraints=!0;static 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:[]};static defaultProps={...ko.defaultProps,...SVGComponentInner.defaultSVGProps};static frame(e){return calculateRect(e,e.parentSize||0)}container=f.createRef();svgElement=null;setSVGElement=e=>{this.svgElement=e,this.setLayerElement(e)};previouslyRenderedSVG=``;get frame(){return calculateRect(this.props,this.props.parentSize||0)}unmountedSVG=``;componentDidMount(){if(this.unmountedSVG){let{svgContentId:e}=this.props,n=e?`svg${e}`:null;eu.subscribe(this.unmountedSVG,!e,n),this.previouslyRenderedSVG=this.unmountedSVG}this.props.svgContentId||sizeSVG(this.container,this.props)}componentWillUnmount(){eu.unsubscribe(this.previouslyRenderedSVG),this.unmountedSVG=this.previouslyRenderedSVG,this.previouslyRenderedSVG=``}componentDidUpdate(e){if(super.componentDidUpdate(e),this.props.svgContentId)return;let{fill:n}=this.props;wa.isImageObject(n)&&wa.isImageObject(e.fill)&&n.src!==e.fill.src&&resetSetStyle(this.svgElement,`fill`,null,!1),sizeSVG(this.container,this.props)}collectLayout(e,n){if(this.props.withExternalLayout){n.width=`100%`,n.height=`100%`,n.aspectRatio=`inherit`;return}let i=this.frame,{rotation:a,intrinsicWidth:o,intrinsicHeight:s,width:c,height:l}=this.props,d=ra.getNumber(a);if(e.opacity=isFiniteNumber(this.props.opacity)?this.props.opacity:1,Y.hasRestrictions()&&i){Object.assign(e,{transform:`translate(${i.x}px, ${i.y}px) rotate(${d.toFixed(4)}deg)`,width:`${i.width}px`,height:`${i.height}px`}),constraintsEnabled(this.props)&&(e.position=`absolute`);let a=i.width/(o||1),c=i.height/(s||1);n.transformOrigin=`top left`;let{zoom:l,target:f}
856=pa;if(f===Y.export){let e=l>1?l:1;n.transform=`scale(${a*e}, ${c*e})`,n.zoom=1/e}else n.transform=`scale(${a}, ${c})`;o&&s&&(n.width=o,n.height=s);return}let{left:f,right:m,top:_,bottom:v}=this.props;Object.assign(e,{left:f,right:m,top:_,bottom:v,width:c,height:l,rotate:d}),Object.assign(n,{left:0,top:0,bottom:0,right:0,position:`absolute`})}render(){let{id:e,visible:n,style:i,fill:a,svg:o,intrinsicHeight:s,intrinsicWidth:c,title:d,description:f,layoutId:m,className:_,variants:v,withExternalLayout:y,innerRef:x,svgContentId:S,height:T,opacity:E,width:O,requiresOverflowVisible:k,...j}=this.props;if(!y&&(!n||!e))return null;let P=e??m??`svg`,F=this.frame,L=F||{width:c||100,height:s||100},R={...i,imageRendering:`pixelated`,flexShrink:0},ee={};this.collectLayout(R,ee),collectOpacityFromProps(this.props,R),collectFiltersFromProps(this.props,R),ko.applyWillChange(this.props,R,!1);let V=null;if(typeof a==`string`||J.isColorObject(a)){let e=J.isColorObject(a)?a.initialValue||J.toRgbString(a):a;R.fill=e,R.color=e}else if(Io.isLinearGradient(a)){let n=a,i=`${encodeURI(e||``)}g${Io.hash(n)}`;R.fill=`url(#${i})`;let{stops:o,x1:s,x2:c,y1:d,y2:f}=elementPropertiesForLinearGradient(n,P);V=(0,l.jsx)(`svg`,{suppressHydrationWarning:!0,ref:this.setSVGElement,width:`100%`,height:`100%`,style:{position:`absolute`},role:`presentation`,children:(0,l.jsx)(`linearGradient`,{suppressHydrationWarning:!0,id:i,x1:s,x2:c,y1:d,y2:f,children:o.map((e,n)=>(0,l.jsx)(`stop`,{suppressHydrationWarning:!0,offset:e.position,stopColor:e.color,stopOpacity:e.alpha},n))})})}else if(Ro.isRadialGradient(a)){let n=a,i=`${encodeURI(e||``)}g${Ro.hash(n)}`;R.fill=`url(#${i})`;let o=elementPropertiesForRadialGradient(n,P);V=(0,l.jsx)(`svg`,{suppressHydrationWarning:!0,ref:this.setSVGElement,width:`100%`,height:`100%`,style:{position:`absolute`},role:`presentation`,children:(0,l.jsx)(`radialGradient`,{suppressHydrationWarning:!0,id:i,cy:n.centerAnchorY,cx:n.centerAnchorX,r:n.widthFactor,children:o.stops.map((e,n)=>(0,l.jsx)(`stop`,{suppressHydrationWarning:!0,offset:e.position,stopColor:e.color,stopOpacity:e.alpha},n))})})}else if(wa.isImageObject(a)){let e=imagePatternPropsForFill(a,L,P);e&&(R.fill=`url(#${e.id})`,V=(0,l.jsx)(`svg`,{suppressHydrationWarning:!0,ref:this.setSVGElement,width:`100%`,height:`100%`,style:{position:`absolute`},role:`presentation`,children:(0,l.jsx)(`defs`,{suppressHydrationWarning:!0,children:(0,l.jsx)(ImagePatternElement,{suppressHydrationWarning:!0,...e})})}))}let te={"data-framer-component-type":`SVG`},ne=!F;ne&&Object.assign(te,layoutHintDataPropsForCenter(this.props.center));let re=!k&&!V&&!R.fill&&!R.background&&!R.backgroundImage&&o.length<ru&&!containsImageReference(o)&&!containsCustomPropertyReference(o),ie=null;if(re)R.backgroundSize=`100% 100%`,R.backgroundImage=encodeSVGForCSS(o),eu.unsubscribe(this.previouslyRenderedSVG),this.previouslyRenderedSVG=``;else{let e=S?`svg${S}`:null,n=eu.subscribe(o,!S,e,k);eu.unsubscribe(this.previouslyRenderedSVG),this.previouslyRenderedSVG=o,hasBorderRadius(R)&&(R.overflow=`hidden`),ie=(0,l.jsxs)(l.Fragment,{children:[V,(0,l.jsx)(`div`,{suppressHydrationWarning:!0,className:`svgContainer`,style:ee,ref:this.container,dangerouslySetInnerHTML:{__html:n}},wa.isImageObject(a)?a.src:``)]})}let ae=htmlElementAsMotionComponent(this.props.as),{href:oe,target:se,rel:ce,onClick:le,onTap:ue}=this.props,de=d||f;return(0,l.jsx)(ae,{suppressHydrationWarning:!0,...te,...j,layoutId:m,transformTemplate:ne?transformTemplate(this.props.center):void 0,id:e,ref:x,style:R,className:_,variants:v,tabIndex:this.props.tabIndex,role:de?`img`:void 0,"aria-label":d,"aria-description":f,"aria-hidden":de?void 0:`true`,onTap:ue,onClick:le,href:oe,target:se,rel:ce,children:ie})}},au=withLibraryCSS(nu),ou=1e3;function getLoadingLazyAtYPosition(e){return e>ou?`lazy`:void 0}function addFonts(e,n,i){let a=upgradeFontBundlesAsNeeded(n);!i?.supportsExplicitInterCodegen&&!a.some(e=>e.explicitInter===!1)&&a.push({explicitInter:!1,fonts:[]}),Object.assign(e,{fonts:a})}function getFonts(e){return e?e.fonts??emptyArray():emptyArray()}function getFontsFromSharedStyle(e){return e.length===0?[{explicitInter:!1,fonts:[]}]:upgradeFontBundlesAsNeeded(e)}function upgradeFontBundlesAsNeeded(e){let n={explicitInter:!1,fonts:[]},i=[];for(let a of e)isComponentFontBundle(a)?i.push({explicitInter:a.explicitInter,fonts:a.fonts.map(upgradeComponentFont)}):n.fonts.push(upgradeComponentFont(a));return n.fonts.length>0&&i.push(n),i}var su=`explicitInter`;function isComponentFontBundle(e){return su in e}function upgradeComponentFont(e){let n=hasComponentFontV2(e)||hasComponentFontV3(e)?e:upgradeToComponentFontV2(e);return hasComponentFontV3(n)?n:upgradeToComponentFontV3(n)}function hasComponentFontV2(e){return`source`in e}function hasComponentFontV3(e){return`cssFamilyName`in e}function upgradeToComponentFontV2(e){let n;
856return n=e.url.startsWith(`https://fonts.gstatic.com/s/`)?`google`:e.url.startsWith(`https://framerusercontent.com/third-party-assets/fontshare/`)?`fontshare`:`custom`,{...e,source:n}}function upgradeToComponentFontV3(e){let{family:n,...i}=e,a=e.variationAxes&&e.source!==`custom`?`${n} ${Yc}`:n;return{...i,uiFamilyName:n,cssFamilyName:a}}function getLoader(e){return e.loader}function forwardLoader(e,n,i){let a=getLoader(e);return a?a.load(n,i):Promise.resolve(void 0)}if(MotionValue.prototype.addChild=function({transformer:e=e=>e}){let n=motionValue(e(this.get()));return this.onChange(i=>n.set(e(i))),n},typeof document<`u`){let e=new DocumentFragment;for(let n of document.querySelectorAll(`body style[data-framer-css-ssr]`))n.cloneNode(!0),e.appendChild(n);document.head.appendChild(e)}if(typeof document<`u`){let clearCaches=()=>{Pa=void 0,Ia.clear(),Na.clear()};document.addEventListener(`astro:before-preparation`,clearCaches),document.addEventListener(`astro:before-swap`,clearCaches)}bo.value;var cu={base:0,sm:320,md:768,lg:960,xl:1200,"2xl":1536};function classNames(...e){return e.filter(Boolean).join(` `)}function Hints(){return(0,m.prefetchDNS)(`https://fonts.gstatic.com`),(0,m.preconnect)(`https://fonts.gstatic.com`),(0,m.preconnect)(`https://framerusercontent.com`),null}var lu=Object.keys(cu).reverse();function getBreakpointNameFromWindowWidth(e){return lu.find(n=>e>=cu[n])}function fillBreakpoints(e){let n=[`base`,`sm`,`md`,`lg`,`xl`,`2xl`],i={...e};for(let e=1;e<n.length;e++){let a=n[e],o=n[e-1];i[a]||(i[a]=i[o])}return i}function removeInactiveUnframerHiddenElements(){let e=window.innerWidth,n=getBreakpointNameFromWindowWidth(e),i=n?`unframer-${n}`:null;document.querySelectorAll(`.unframer-hidden`).forEach(e=>{e.classList.contains(`unframer-hidden`)&&i&&!e.classList.contains(i)&&e.parentNode?.removeChild(e)})}typeof window<`u`&&removeInactiveUnframerHiddenElements();var WithFramerBreakpoints=({Component:e,variants:n,...i})=>{let a=(0,f.useSyncExternalStore)(onResize,()=>getBreakpointNameFromWindowWidth(window.innerWidth),()=>``);if(isEmpty(n))return(0,l.jsx)(e,{...i});let o=fillBreakpoints(n),s=new Map;for(let e of Object.keys(o)){let n=o[e];if(!n)continue;let i=s.get(n);i?(i.breakpoints.push(e),i.className=classNames(i.className,`unframer-${e}`)):s.set(n,{className:classNames(`unframer unframer-hidden`,`unframer-${e}`),variant:n,breakpoints:[e]})}let c=[...s.values()].map(({className:n,breakpoints:o,variant:s},c)=>{if(!(!a||o.includes(a)))return null;let d=classNames(n,i.className);return(0,l.jsx)(e,{suppressHydrationWarning:!0,layoutId:s,...i,className:d,variant:s},s)});return c.push((0,l.jsx)(DebugUnframerVersion,{},`debug-unframer-version`)),c},onResize=e=>(window.addEventListener(`resize`,e),()=>window.removeEventListener(`resize`,e)),uu=f.createContext({});function replacePathParams(e,n){let i=/:[a-zA-Z]+/g;if(e.match(i)?.length===1){let a=Object.values(n)[0];return e.replace(i,a)}return e.replace(i,e=>n[e.slice(1)]||e)}function isRelativeLink(e){return e?e?.startsWith?.(`/`)||e?.startsWith?.(`#`):!1}function isMailto(e){return e?e?.startsWith?.(`mailto:`):!1}function AdaptedLink({href:e,nodeId:n,openInNewTab:i,smoothScroll:a,children:o,...s}){let c=(0,f.useContext)(du),d=c.navigate&&!i?e=>{if(!c.navigate)return;let n=e.currentTarget?.getAttribute(`href`);!n||!isRelativeLink(n)||(e.preventDefault(),s.onClick&&s.onClick(e),c.navigate(n))}:null,m={children:o,nodeId:n,openInNewTab:i,smoothScroll:a},_=f.useContext(uu),v=e?.webPageId,y=e?.pathVariables,x=_?.[v],S=i?`_blank`:void 0;if(isRelativeLink(e)||isMailto(e))return(0,l.jsx)(l.Fragment,{children:f.cloneElement(o,{...s,suppressHydrationWarning:!0,onClick:d,href:e,target:S})});if(!v||!x||!x.path)return(0,l.jsx)(hc,{suppressHydrationWarning:!0,href:e,...s,...m});let T=x.path;return y&&(T=replacePathParams(T,y)),isRelativeLink(T)||isMailto(e)?(0,l.jsx)(l.Fragment,{children:f.cloneElement(o,{...s,suppressHydrationWarning:!0,onClick:d,href:T,target:S})}):(0,l.jsx)(hc,{href:T,suppressHydrationWarning:!0,...s,...m})}function ContextProviders({locale:e,children:n,framerSiteId:i,routes:a,locales:o}){let s=(0,f.useContext)(du),c=e||s?.locale,d=o?.find(e=>e.slug===c||e.code===c||e.id===c),m=(0,f.useMemo)(()=>({activeLocale:d,locales:o,setLocale:async e=>{console.log(`setLocale`,e)}}),[d,o]);return(0,l.jsxs)(FetchClientProvider,{children:[(0,l.jsx)(Hints,{}),(0,l.jsx)(js,{children:(0,l.jsx)(jc.Provider,{value:i,children:(0,l.jsx)(Ti,{value:m,children:(0,l.jsx)(uu.Provider,{value:a,children:n})})})})]})}function DebugUnframerVersion(){return null}function isEmpty(e){for(let n in e)if(e.hasOwnProperty(n))return!1;return!0}var du=(0,f.createContext)({navigate:void 0});function withCSS(e,n,i){return typeof window<`u`&&window.document!==void 0?La(e,n,i||``):a=>{if(!(typeof window<`u`&&window.document!==void 0)){let o=i,s=typeof n==`function`?n(`EXPORT`):Array.isArray(n)?n.join(` 857`):n;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(`style`,{"data-framer-css-ssr":!0,"data-framer-component":o,dangerouslySetInnerHTML:{__html:s}}),(0,l.jsx)(e,{...a}
857)]})}return(0,l.jsx)(e,{...a})}}var fu={CDLIDQEFG:{path:`/contact`},augiA20Il:{path:`/`},s69UEbhsF:{path:`/404`},tfaaimH0f:{path:`/testing`},wyGCNkDrw:{path:`/login`}};export{useComponentViewport as A,forwardLoader as C,getLoadingLazyAtYPosition as D,getFontsFromSharedStyle as E,useReducedMotion as F,useTransform as I,useVariantState as L,useLocaleInfo as M,useMotionValue as N,gr as O,useOverlayState as P,withFX as R,xl as S,getFonts as T,au as _,WithFramerBreakpoints as a,addPropertyControls as b,Uo as c,jl as d,Fl as f,Xl as g,Y as h,ContextProviders as i,useInView as j,useActiveVariantCallback as k,Floating as l,Kn as m,withCSS as n,AnimatePresence as o,LayoutGroup as p,AdaptedLink as r,ys as s,fu as t,Mc as u,Ds as v,H as w,cx as x,addFonts as y,withOptimizedAppearEffect as z};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.