PageSourceSearch

https://creativitybenchmark.ai/_next/static/chunks/362-d0629864f5f2f4c4.js

js creativitybenchmark.ai collected 2026-10-03 23:52:39 UTC 81,494 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[362],{32:(e,t,n)=>{n.d(t,{_:()=>i});var r=n(8327);function i(e,t){var n=(0,r._)(e,t,"get");return n.get?n.get.call(e):n.value}},713:(e,t,n)=>{n.d(t,{$:()=>r,V:()=>i});let r=()=>{},i=()=>{}},1039:(e,t,n)=>{n.d(t,{G:()=>r});let r=e=>t=>1-e(1-t)},1134:(e,t,n)=>{n.d(t,{y:()=>i});var r=n(7058);function i(e=.1,{startDelay:t=0,from:n=0,ease:s}={}){return(i,a)=>{let o=e*Math.abs(("number"==typeof n?n:function(e,t){if("first"===e)return 0;{let n=t-1;return"last"===e?n:n/2}}(n,a))-i);if(s){let t=a*e;o=(0,r.K)(s)(o/t)*t}return t+o}}},1884:(e,t,n)=>{n.d(t,{V:()=>r});let r=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2},2710:(e,t,n)=>{n.d(t,{a6:()=>i,am:()=>a,vT:()=>s});var r=n(7798);let i=(0,r.A)(.42,0,1,1),s=(0,r.A)(0,0,.58,1),a=(0,r.A)(.42,0,.58,1)},3219:(e,t,n)=>{n.d(t,{C:()=>a});var r=n(7708),i=n(3056),s=n(3971),a=e=>{let{present:t,children:n}=e,a=function(e){var t,n;let[i,a]=r.useState(),l=r.useRef(null),u=r.useRef(e),h=r.useRef("none"),[d,c]=(t=e?"mounted":"unmounted",n={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},r.useReducer((e,t)=>{let r=n[e][t];return null!=r?r:e},t));return r.useEffect(()=>{let e=o(l.current);h.current="mounted"===d?e:"none"},[d]),(0,s.N)(()=>{let t=l.current,n=u.current;if(n!==e){let r=h.current,i=o(t);e?c("MOUNT"):"none"===i||(null==t?void 0:t.display)==="none"?c("UNMOUNT"):n&&r!==i?c("ANIMATION_OUT"):c("UNMOUNT"),u.current=e}},[e,c]),(0,s.N)(()=>{if(i){var e;let t,n=null!=(e=i.ownerDocument.defaultView)?e:window,r=e=>{let r=o(l.current).includes(e.animationName);if(e.target===i&&r&&(c("ANIMATION_END"),!u.current)){let e=i.style.animationFillMode;i.style.animationFillMode="forwards",t=n.setTimeout(()=>{"forwards"===i.style.animationFillMode&&(i.style.animationFillMode=e)})}},s=e=>{e.target===i&&(h.current=o(l.current))};return i.addEventListener("animationstart",s),i.addEventListener("animationcancel",r),i.addEventListener("animationend",r),()=>{n.clearTimeout(t),i.removeEventListener("animationstart",s),i.removeEventListener("animationcancel",r),i.removeEventListener("animationend",r)}}c("ANIMATION_END")},[i,c]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:r.useCallback(e=>{l.current=e?getComputedStyle(e):null,a(e)},[])}}(t),l="function"==typeof n?n({present:a.isPresent}):r.Children.only(n),u=(0,i.s)(a.ref,function(e){var t,n;let r=null==(t=Object.getOwnPropertyDescriptor(e.props,"ref"))?void 0:t.get,i=r&&"isReactWarning"in r&&r.isReactWarning;return i?e.ref:(i=(r=null==(n=Object.getOwnPropertyDescriptor(e,"ref"))?void 0:n.get)&&"isReactWarning"in r&&r.isReactWarning)?e.props.ref:e.props.ref||e.ref}(l));return"function"==typeof n||a.isPresent?r.cloneElement(l,{ref:u}):null};function o(e){return(null==e?void 0:e.animationName)||"none"}a.displayName="Presence"},3266:(e,t,n)=>{n.d(t,{_:()=>i});var r=n(8327);function i(e,t,n){var i=(0,r._)(e,t,"set");if(i.set)i.set.call(e,n);else{if(!i.writable)throw TypeError("attempted to set read only private field");i.value=n}return n}},3703:(e,t,n)=>{n.d(t,{N:()=>y});var r=n(9712),i=n(7708),s=n(939),a=n(5983),o=n(6544),l=n(6759),u=n(3254);class h extends i.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){let e=t.offsetParent,n=e instanceof HTMLElement&&e.offsetWidth||0,r=this.props.sizeRef.current;r.height=t.offsetHeight||0,r.width=t.offsetWidth||0,r.top=t.offsetTop,r.left=t.offsetLeft,r.right=n-r.width-r.left}return null}componentDidUpdate(){}render(){return this.props.children}}function d(e){let{children:t,isPresent:n,anchorX:s}=e,a=(0,i.useId)(),o=(0,i.useRef)(null),l=(0,i.useRef)({width:0,height:0,top:0,left:0,right:0}),{nonce:d}=(0,i.useContext)(u.Q);return(0,i.useInsertionEffect)(()=>{let{width:e,height:t,top:r,left:i,right:u}=l.current;if(n||!o.current||!e||!t)return;o.current.dataset.motionPopId=a;let h=document.createElement("style");return d&&(h.nonce=d),document.head.appendChild(h),h.sheet&&h.sheet.insertRule('\n          [data-motion-pop-id="'.concat(a,'"] {\n            position: absolute !important;\n            width: ').concat(e,"px !important;\n            height: ").concat(t,"px !important;\n            ").concat("left"===s?"left: ".concat(i):"right: ".concat(u),"px !important;\n            top: ").concat(r,"px !important;\n          }\n        ")),()=>{document.head.contains(h)&&document.head.removeChild(h)}},[n]),(0,r.jsx)(h,{isPresent:n,childRef:o,sizeRef:l,children:i.cloneElement(t,{ref:o})})}let c=e=>{let{children:t,initial:n,isPresent:s,onExitComplete:o,custom:u,presenceAffectsLayout:h,mode:c,anch
1orX:p}=e,m=(0,a.M)(f),g=(0,i.useId)(),y=!0,v=(0,i.useMemo)(()=>(y=!1,{id:g,initial:n,isPresent:s,custom:u,onExitComplete:e=>{for(let t of(m.set(e,!0),m.values()))if(!t)return;o&&o()},register:e=>(m.set(e,!1),()=>m.delete(e))}),[s,m,o]);return h&&y&&(v={...v}),(0,i.useMemo)(()=>{m.forEach((e,t)=>m.set(t,!1))},[s]),i.useEffect(()=>{s||m.size||!o||o()},[s]),"popLayout"===c&&(t=(0,r.jsx)(d,{isPresent:s,anchorX:p,children:t})),(0,r.jsx)(l.t.Provider,{value:v,children:t})};function f(){return new Map}var p=n(6256);let m=e=>e.key||"";function g(e){let t=[];return i.Children.forEach(e,e=>{(0,i.isValidElement)(e)&&t.push(e)}),t}let y=e=>{let{children:t,custom:n,initial:l=!0,onExitComplete:u,presenceAffectsLayout:h=!0,mode:d="sync",propagate:f=!1,anchorX:y="left"}=e,[v,w]=(0,p.xQ)(f),b=(0,i.useMemo)(()=>g(t),[t]),x=f&&!v?[]:b.map(m),A=(0,i.useRef)(!0),T=(0,i.useRef)(b),M=(0,a.M)(()=>new Map),[S,V]=(0,i.useState)(b),[C,k]=(0,i.useState)(b);(0,o.E)(()=>{A.current=!1,T.current=b;for(let e=0;e<C.length;e++){let t=m(C[e]);x.includes(t)?M.delete(t):!0!==M.get(t)&&M.set(t,!1)}},[C,x.length,x.join("-")]);let E=[];if(b!==S){let e=[...b];for(let t=0;t<C.length;t++){let n=C[t],r=m(n);x.includes(r)||(e.splice(t,0,n),E.push(n))}return"wait"===d&&E.length&&(e=E),k(g(e)),V(b),null}let{forceRender:R}=(0,i.useContext)(s.L);return(0,r.jsx)(r.Fragment,{children:C.map(e=>{let t=m(e),i=(!f||!!v)&&(b===C||x.includes(t));return(0,r.jsx)(c,{isPresent:i,initial:(!A.current||!!l)&&void 0,custom:n,presenceAffectsLayout:h,mode:d,onExitComplete:i?void 0:()=>{if(!M.has(t))return;M.set(t,!0);let e=!0;M.forEach(t=>{t||(e=!1)}),e&&(null==R||R(),k(T.current),f&&(null==w||w()),u&&u())},anchorX:y,children:e},t)})})}},3937:(e,t,n)=>{n.d(t,{po:()=>s,tn:()=>o,yT:()=>a});var r=n(1884),i=n(1039);let s=e=>1-Math.sin(Math.acos(e)),a=(0,i.G)(s),o=(0,r.V)(s)},5054:(e,t,n)=>{let r;n.d(t,{i:()=>nL});let i=e=>!!(e&&e.getVelocity);function s(e){return"object"==typeof e&&!Array.isArray(e)}function a(e,t,n,r){if("string"==typeof e&&s(t)){if(e instanceof EventTarget)return[e];if("string"==typeof e){let t=document;n&&(t=n.current);let i=r?.[e]??t.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e)}return e instanceof NodeList?Array.from(e):Array.isArray(e)?e:[e]}function o(e,t,n,r){return"number"==typeof t?t:t.startsWith("-")||t.startsWith("+")?Math.max(0,e+parseFloat(t)):"<"===t?n:r.get(t)??e}let l=(e,t,n)=>e+(t-e)*n,u=(e,t,n)=>{let r=t-e;return((n-e)%r+r)%r+e},h=e=>Array.isArray(e)&&"number"!=typeof e[0];function d(e,t){return h(e)?e[u(0,e.length,t)]:e}function c(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function f(e,t){return e.at!==t.at?e.at-t.at:null===e.value?1:null===t.value?-1:0}let p=(e,t,n)=>{let r=t-e;return 0===r?1:(n-e)/r};function m(e,t){let n=e[e.length-1];for(let r=1;r<=t;r++){let i=p(0,t,r);e.push(l(n,1,i))}}function g(e){let t=[0];return m(t,e.length-1),t}function y(e){return"function"==typeof e&&"applyToOptions"in e}function v(e){let t=0,n=e.next(t);for(;!n.done&&t<2e4;)t+=50,n=e.next(t);return t>=2e4?1/0:t}let w=e=>1e3*e,b=e=>e/1e3;function x(e,t=100,n){let r=n({...e,keyframes:[0,t]}),i=Math.min(v(r),2e4);return{type:"keyframes",ease:e=>r.next(i*e).value/t,duration:b(i)}}var A=n(713);function T(e,t){return t.has(e)||t.set(e,{}),t.get(e)}function M(e,t){return t[e]||(t[e]=[]),t[e]}let S=e=>"number"==typeof e,V=e=>e.every(S),C=new WeakMap,k=e=>Array.isArray(e);function E(e){let t=[{},{}];return e?.values.forEach((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()}),t}function R(e,t,n,r){if("function"==typeof t){let[i,s]=E(r);t=t(void 0!==n?n:e.custom,i,s)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){let[i,s]=E(r);t=t(void 0!==n?n:e.custom,i,s)}return t}let N=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],O={value:null},P={};var F=n(9396);let{schedule:I,cancel:j,state:D}=function(e,t){let n=!1,r=!0,i={delta:0,timestamp:0,isProcessing:!1},s=()=>n=!0,a=N.reduce((e,n)=>(e[n]=function(e,t){let n=new Set,r=new Set,i=!1,s=!1,a=new WeakSet,o={delta:0,timestamp:0,isProcessing:!1},l=0;function u(t){a.has(t)&&(h.schedule(t),e()),l++,t(o)}let h={schedule:(e,t=!1,s=!1)=>{let o=s&&i?n:r;return t&&a.add(e),o.has(e)||o.add(e),e},cancel:e=>{r.delete(e),a.delete(e)},process:e=>{if(o=e,i){s=!0;return}
1i=!0,[n,r]=[r,n],n.forEach(u),t&&O.value&&O.value.frameloop[t].push(l),l=0,n.clear(),i=!1,s&&(s=!1,h.process(e))}};return h}(s,t?n:void 0),e),{}),{setup:o,read:l,resolveKeyframes:u,preUpdate:h,update:d,preRender:c,render:f,postRender:p}=a,m=()=>{let s=P.useManualTiming?i.timestamp:performance.now();n=!1,P.useManualTiming||(i.delta=r?1e3/60:Math.max(Math.min(s-i.timestamp,40),1)),i.timestamp=s,i.isProcessing=!0,o.process(i),l.process(i),u.process(i),h.process(i),d.process(i),c.process(i),f.process(i),p.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(m))},g=()=>{n=!0,r=!0,i.isProcessing||e(m)};return{schedule:N.reduce((e,t)=>{let r=a[t];return e[t]=(e,t=!1,i=!1)=>(n||g(),r.schedule(e,t,i)),e},{}),cancel:e=>{for(let t=0;t<N.length;t++)a[N[t]].cancel(e)},state:i,steps:a}}("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:F.l,!0);function W(){r=void 0}let L={now:()=>(void 0===r&&L.set(D.isProcessing||P.useManualTiming?D.timestamp:performance.now()),r),set:e=>{r=e,queueMicrotask(W)}};class B{constructor(){this.subscriptions=[]}add(e){var t;return t=this.subscriptions,-1===t.indexOf(e)&&t.push(e),()=>c(this.subscriptions,e)}notify(e,t,n){let r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](e,t,n);else for(let i=0;i<r;i++){let r=this.subscriptions[i];r&&r(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}let $=e=>!isNaN(parseFloat(e)),_={current:void 0};class U{constructor(e,t={}){this.version="__VERSION__",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(e,t=!0)=>{let n=L.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();t&&this.events.renderRequest?.notify(this.current)},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=L.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=$(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new B);let n=this.events[e].add(t);return"change"===e?()=>{n(),I.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e,t=!0){t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)}setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||(this.dependents=new Set),this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return _.current&&_.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){var e;let t=L.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let n=Math.min(this.updatedAt-this.prevUpdatedAt,30);return e=parseFloat(this.current)-parseFloat(this.prevFrameValue),n?1e3/n*e:0}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),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 z(e,t){return new U(e,t)}let H=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),K="data-"+H("framerAppearId"),G=e=>null!==e,Y=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],X=new Set(Y),q={type:"spring",stiffness:500,damping:25,restSpeed:10},Z=e=>({type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restSpeed:10}),Q={type:"keyframes",duration:.8},J={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},ee=(e,{keyframes:t})=>t.length>2?Q:X.has(e)?e.startsWith("scale")?Z(t[1]):q:J;function et(e,t){return e?.[t]??e?.default??e}let en={mainThread:0,waapi:0},er=e=>t=>"string"==typeof t&&t.startsWith(e),ei=er("--"),es=er("var(--"),ea=e=>!!es(e)&&eo.test(e.split("/*")[0].trim()),eo=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,el=(e,t,n
1)=>n>t?t:n<e?e:n,eu={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},eh={...eu,transform:e=>el(0,1,e)},ed={...eu,default:1},ec=e=>Math.round(1e5*e)/1e5,ef=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,ep=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,em=(e,t)=>n=>!!("string"==typeof n&&ep.test(n)&&n.startsWith(e)||t&&null!=n&&Object.prototype.hasOwnProperty.call(n,t)),eg=(e,t,n)=>r=>{if("string"!=typeof r)return r;let[i,s,a,o]=r.match(ef);return{[e]:parseFloat(i),[t]:parseFloat(s),[n]:parseFloat(a),alpha:void 0!==o?parseFloat(o):1}},ey=e=>el(0,255,e),ev={...eu,transform:e=>Math.round(ey(e))},ew={test:em("rgb","red"),parse:eg("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+ev.transform(e)+", "+ev.transform(t)+", "+ev.transform(n)+", "+ec(eh.transform(r))+")"},eb={test:em("#"),parse:function(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}},transform:ew.transform},ex=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),eA=ex("deg"),eT=ex("%"),eM=ex("px"),eS=ex("vh"),eV=ex("vw"),eC={...eT,parse:e=>eT.parse(e)/100,transform:e=>eT.transform(100*e)},ek={test:em("hsl","hue"),parse:eg("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+eT.transform(ec(t))+", "+eT.transform(ec(n))+", "+ec(eh.transform(r))+")"},eE={test:e=>ew.test(e)||eb.test(e)||ek.test(e),parse:e=>ew.test(e)?ew.parse(e):ek.test(e)?ek.parse(e):eb.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?ew.transform(e):ek.transform(e)},eR=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,eN="number",eO="color",eP=/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 eF(e){let t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[],s=0,a=t.replace(eP,e=>(eE.test(e)?(r.color.push(s),i.push(eO),n.push(eE.parse(e))):e.startsWith("var(")?(r.var.push(s),i.push("var"),n.push(e)):(r.number.push(s),i.push(eN),n.push(parseFloat(e))),++s,"${}")).split("${}");return{values:n,split:a,indexes:r,types:i}}function eI(e){return eF(e).values}function ej(e){let{split:t,types:n}=eF(e),r=t.length;return e=>{let i="";for(let s=0;s<r;s++)if(i+=t[s],void 0!==e[s]){let t=n[s];t===eN?i+=ec(e[s]):t===eO?i+=eE.transform(e[s]):i+=e[s]}return i}}let eD=e=>"number"==typeof e?0:e,eW={test:function(e){return isNaN(e)&&"string"==typeof e&&(e.match(ef)?.length||0)+(e.match(eR)?.length||0)>0},parse:eI,createTransformer:ej,getAnimatableNone:function(e){let t=eI(e);return ej(e)(t.map(eD))}};
1function eL(e,t,n){return(n<0&&(n+=1),n>1&&(n-=1),n<1/6)?e+(t-e)*6*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function eB(e,t){return n=>n>0?t:e}let e$=(e,t,n)=>{let r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},e_=[eb,ew,ek],eU=e=>e_.find(t=>t.test(e));function ez(e){let t=eU(e);if((0,A.$)(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`),!t)return!1;let n=t.parse(e);return t===ek&&(n=function({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,n/=100;let i=0,s=0,a=0;if(t/=100){let r=n<.5?n*(1+t):n+t-n*t,o=2*n-r;i=eL(o,r,e+1/3),s=eL(o,r,e),a=eL(o,r,e-1/3)}else i=s=a=n;return{red:Math.round(255*i),green:Math.round(255*s),blue:Math.round(255*a),alpha:r}}(n)),n}let eH=(e,t)=>{let n=ez(e),r=ez(t);if(!n||!r)return eB(e,t);let i={...n};return e=>(i.red=e$(n.red,r.red,e),i.green=e$(n.green,r.green,e),i.blue=e$(n.blue,r.blue,e),i.alpha=l(n.alpha,r.alpha,e),ew.transform(i))},eK=new Set(["none","hidden"]),eG=(e,t)=>n=>t(e(n)),eY=(...e)=>e.reduce(eG);function eX(e,t){return n=>l(e,t,n)}function eq(e){return"number"==typeof e?eX:"string"==typeof e?ea(e)?eB:eE.test(e)?eH:eJ:Array.isArray(e)?eZ:"object"==typeof e?eE.test(e)?eH:eQ:eB}function eZ(e,t){let n=[...e],r=n.length,i=e.map((e,n)=>eq(e)(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}}function eQ(e,t){let n={...e,...t},r={};for(let i in n)void 0!==e[i]&&void 0!==t[i]&&(r[i]=eq(e[i])(e[i],t[i]));return e=>{for(let t in r)n[t]=r[t](e);return n}}let eJ=(e,t)=>{let n=eW.createTransformer(t),r=eF(e),i=eF(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?eK.has(e)&&!i.values.length||eK.has(t)&&!r.values.length?function(e,t){return eK.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}(e,t):eY(eZ(function(e,t){let n=[],r={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){let s=t.types[i],a=e.indexes[s][r[s]],o=e.values[a]??0;n[i]=o,r[s]++}return n}(r,i),i.values),n):((0,A.$)(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),eB(e,t))};function e0(e,t,n){return"number"==typeof e&&"number"==typeof t&&"number"==typeof n?l(e,t,n):eq(e)(e,t)}let e1=e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>I.update(t,e),stop:()=>j(t),now:()=>D.isProcessing?D.timestamp:L.now()}},e2=(e,t,n=10)=>{let r="",i=Math.max(Math.round(t/n),2);for(let t=0;t<i;t++)r+=e(t/(i-1))+", ";return`linear(${r.substring(0,r.length-2)})`};function e5(e,t,n){var r,i;let s=Math.max(t-5,0);return r=n-e(s),(i=t-s)?1e3/i*r:0}let e3={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 e9(e,t){return e*Math.sqrt(1-t*t)}let e7=["duration","bounce"],e6=["stiffness","damping","mass"];function e8(e,t){return t.some(t=>void 0!==e[t])}function e4(e=e3.visualDuration,t=e3.bounce){let n,r="object"!=typeof e?{visualDuration:e,keyframes:[0,1],bounce:t}:e,{restSpeed:i,restDelta:s}=r,a=r.keyframes[0],o=r.keyframes[r.keyframes.length-1],l={done:!1,value:a},{stiffness:u,damping:h,mass:d,duration:c,velocity:f,isResolvedFromDuration:p}=function(e){let t={velocity:e3.velocity,stiffness:e3.stiffness,damping:e3.damping,mass:e3.mass,isResolvedFromDuration:!1,...e};if(!e8(e,e6)&&e8(e,e7))if(e.visualDuration){let n=2*Math.PI/(1.2*e.visualDuration),r=n*n,i=2*el(.05,1,1-(e.bounce||0))*Math.sqrt(r);t={...t,mass:e3.mass,stiffness:r,damping:i}}else{let n=function({duration:e=e3.duration,bounce:t=e3.bounce,velocity:n=e3.velocity,mass:r=e3.mass}){let i,s;(0,A.$)(e<=w(e3.maxDuration),"Spring duration must be 10 seconds or less");let a=1-t;a=el(e3.minDamping,e3.maxDamping,a),e=el(e3.minDuration,e3.maxDuration,b(e)),a<1?(i=t=>{let r=t*a,i=r*e;return .001-(r-n)/e9(t,a)*Math.exp(-i)},s=t=>{let r=t*a*e,s=Math.pow(a,2)*Math.pow(t,2)*e,o=Math.exp(-r),l=e9(Math.pow(t,2),a);return(r*n+n-s)*o*(-i(t)+.001>0?-1:1)/l}):(i=t=>-.001+Math.exp(-t*e)*((t-n)*e+1),s=t=>e*e*(n-t)*Math.exp(-t*e));let o=function(e,t,n){let r=n;for(let n=1;n<12;n++)r-=e(r)/t(r);return r}(i,s,5/e);if(e=w(e),isNaN(o))return{stiffness:e3.stiffness,damping:e3.damping,duration:e};{let t=Math.pow(o,2)*r;
1return{stiffness:t,damping:2*a*Math.sqrt(r*t),duration:e}}}(e);(t={...t,...n,mass:e3.mass}).isResolvedFromDuration=!0}return t}({...r,velocity:-b(r.velocity||0)}),m=f||0,g=h/(2*Math.sqrt(u*d)),y=o-a,x=b(Math.sqrt(u/d)),T=5>Math.abs(y);if(i||(i=T?e3.restSpeed.granular:e3.restSpeed.default),s||(s=T?e3.restDelta.granular:e3.restDelta.default),g<1){let e=e9(x,g);n=t=>o-Math.exp(-g*x*t)*((m+g*x*y)/e*Math.sin(e*t)+y*Math.cos(e*t))}else if(1===g)n=e=>o-Math.exp(-x*e)*(y+(m+x*y)*e);else{let e=x*Math.sqrt(g*g-1);n=t=>{let n=Math.exp(-g*x*t),r=Math.min(e*t,300);return o-n*((m+g*x*y)*Math.sinh(r)+e*y*Math.cosh(r))/e}}let M={calculatedDuration:p&&c||null,next:e=>{let t=n(e);if(p)l.done=e>=c;else{let r=0===e?m:0;g<1&&(r=0===e?w(m):e5(n,e,t));let a=Math.abs(o-t)<=s;l.done=Math.abs(r)<=i&&a}return l.value=l.done?o:t,l},toString:()=>{let e=Math.min(v(M),2e4),t=e2(t=>M.next(e*t).value,e,30);return e+"ms "+t},toTransition:()=>{}};return M}function te({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:s=500,modifyTarget:a,min:o,max:l,restDelta:u=.5,restSpeed:h}){let d,c,f=e[0],p={done:!1,value:f},m=e=>void 0!==o&&e<o||void 0!==l&&e>l,g=e=>void 0===o?l:void 0===l||Math.abs(o-e)<Math.abs(l-e)?o:l,y=n*t,v=f+y,w=void 0===a?v:a(v);w!==v&&(y=w-f);let b=e=>-y*Math.exp(-e/r),x=e=>w+b(e),A=e=>{let t=b(e),n=x(e);p.done=Math.abs(t)<=u,p.value=p.done?w:n},T=e=>{m(p.value)&&(d=e,c=e4({keyframes:[p.value,g(p.value)],velocity:e5(x,e,p.value),damping:i,stiffness:s,restDelta:u,restSpeed:h}))};return T(0),{calculatedDuration:null,next:e=>{let t=!1;return(c||void 0!==d||(t=!0,A(e),T(e)),void 0!==d&&e>=d)?c.next(e-d):(t||A(e),p)}}}e4.applyToOptions=e=>{let t=x(e,100,e4);return e.ease=t.ease,e.duration=w(t.duration),e.type="keyframes",e};var tt=n(2710),tn=n(7058);function tr({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){var i;let s=h(r)?r.map(tn.K):(0,tn.K)(r),a={done:!1,value:t[0]},o=function(e,t,{clamp:n=!0,ease:r,mixer:i}={}){let s=e.length;if((0,A.V)(s===t.length,"Both input and output ranges must be the same length"),1===s)return()=>t[0];if(2===s&&t[0]===t[1])return()=>t[1];let a=e[0]===e[1];e[0]>e[s-1]&&(e=[...e].reverse(),t=[...t].reverse());let o=function(e,t,n){let r=[],i=n||P.mix||e0,s=e.length-1;for(let n=0;n<s;n++){let s=i(e[n],e[n+1]);t&&(s=eY(Array.isArray(t)?t[n]||F.l:t,s)),r.push(s)}return r}(t,r,i),l=o.length,u=n=>{if(a&&n<e[0])return t[0];let r=0;if(l>1)for(;r<e.length-2&&!(n<e[r+1]);r++);let i=p(e[r],e[r+1],n);return o[r](i)};return n?t=>u(el(e[0],e[s-1],t)):u}((i=n&&n.length===t.length?n:g(t),i.map(t=>t*e)),t,{ease:Array.isArray(s)?s:t.map(()=>s||tt.am).splice(0,t.length-1)});return{calculatedDuration:e,next:t=>(a.value=o(t),a.done=t>=e,a)}}let ti=e=>null!==e;function ts(e,{repeat:t,repeatType:n="loop"},r,i=1){let s=e.filter(ti),a=i<0||t&&"loop"!==n&&t%2==1?0:s.length-1;return a&&void 0!==r?r:s[a]}let ta={decay:te,inertia:te,tween:tr,keyframes:tr,spring:e4};function to(e){"string"==typeof e.type&&(e.type=ta[e.type])}class tl{constructor(){this.count=0,this.updateFinished()}get finished(){return this._finished}updateFinished(){this.count++,this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,t){return this.finished.then(e,t)}}let tu=e=>e/100;class th extends tl{constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{let{motionValue:e}=this.options;if(e&&e.updatedAt!==L.now()&&this.tick(L.now()),this.isStopped=!0,"idle"===this.state)return;this.teardown();let{onStop:t}=this.options;t&&t()},en.mainThread++,this.options=e,this.initAnimation(),this.play(),!1===e.autoplay&&this.pause()}initAnimation(){let{options:e}=this;to(e);let{type:t=tr,repeat:n=0,repeatDelay:r=0,repeatType:i,velocity:s=0}=e,{keyframes:a}=e,o=t||tr;o!==tr&&"number"!=typeof a[0]&&(this.mixKeyframes=eY(tu,e0(a[0],a[1])),a=[0,100]);let l=o({...e,keyframes:a});"mirror"===i&&(this.mirroredGenerator=o({...e,keyframes:[...a].reverse(),velocity:-s})),null===l.calculatedDuration&&(l.calculatedDuration=v(l));let{calculatedDuration:u}=l;this.calculatedDuration=u,this.resolvedDuration=u+r,this.totalDuration=this.resolvedDuration*(n+1)-r,this.generator=l}updateTime(e){let t=Math.round(e-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=t}tick(e,t=!1){let{generator:n,totalDuration:r,mixKeyframes:i,mirroredGenerator:s,resolvedDuration:a,calculatedDuration:o}=this;if(null===this.startTime)return n.next(0);let{delay:l=0,keyframes:u,repeat:h,repeatType:d,repeatDelay:c,type:f,onUpdate:p,finalKeyframe:m}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-r/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);let g=this.currentTime-l*(this.playbackSpeed>=0?1:-1),y=this.playbackSpeed>=0?g<0:g>r;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=r);let v=this.currentTime,w=n;if(h){let e=Math.min(this.currentTime,r)/a,t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,(t=Math.min(t,h+1))%2&&("reverse"===d?(n=1-n,c&&(n-=c/a)):"mirror"===d&&(w=s)),v=el(0,1,n)*
1a}let b=y?{done:!1,value:u[0]}:w.next(v);i&&(b.value=i(b.value));let{done:x}=b;y||null===o||(x=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);let A=null===this.holdTime&&("finished"===this.state||"running"===this.state&&x);return A&&f!==te&&(b.value=ts(u,this.options,m,this.speed)),p&&p(b.value),A&&this.finish(),b}then(e,t){return this.finished.then(e,t)}get duration(){return b(this.calculatedDuration)}get time(){return b(this.currentTime)}set time(e){e=w(e),this.currentTime=e,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(e){this.updateTime(L.now());let t=this.playbackSpeed!==e;this.playbackSpeed=e,t&&(this.time=b(this.currentTime))}play(){if(this.isStopped)return;let{driver:e=e1,onPlay:t,startTime:n}=this.options;this.driver||(this.driver=e(e=>this.tick(e))),t&&t();let r=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=r):null!==this.holdTime?this.startTime=r-this.holdTime:this.startTime||(this.startTime=n??r),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(L.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";let{onComplete:e}=this.options;e&&e()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown()}teardown(){this.notifyFinished(),this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null,en.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=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)}}let td=e=>180*e/Math.PI,tc=e=>tp(td(Math.atan2(e[1],e[0]))),tf={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:tc,rotateZ:tc,skewX:e=>td(Math.atan(e[1])),skewY:e=>td(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},tp=e=>((e%=360)<0&&(e+=360),e),tm=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),tg=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),ty={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:tm,scaleY:tg,scale:e=>(tm(e)+tg(e))/2,rotateX:e=>tp(td(Math.atan2(e[6],e[5]))),rotateY:e=>tp(td(Math.atan2(-e[2],e[0]))),rotateZ:tc,rotate:tc,skewX:e=>td(Math.atan(e[4])),skewY:e=>td(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function tv(e){return+!!e.includes("scale")}function tw(e,t){let n,r;if(!e||"none"===e)return tv(t);let i=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(i)n=ty,r=i;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);n=tf,r=t}if(!r)return tv(t);let s=n[t],a=r[1].split(",").map(tx);return"function"==typeof s?s(a):a[s]}let tb=(e,t)=>{let{transform:n="none"}=getComputedStyle(e);return tw(n,t)};function tx(e){return parseFloat(e.trim())}let tA=e=>e===eu||e===eM,tT=new Set(["x","y","z"]),tM=Y.filter(e=>!tT.has(e)),tS={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>tw(t,"x"),y:(e,{transform:t})=>tw(t,"y")};tS.translateX=tS.x,tS.translateY=tS.y;let tV=new Set,tC=!1,tk=!1,tE=!1;function tR(){if(tk){let e=Array.from(tV).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),n=new Map;t.forEach(e=>{let t=function(e){let t=[];return tM.forEach(n=>{let r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(+!!n.startsWith("scale")))}),t}(e);t.length&&(n.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=n.get(e);t&&t.forEach(([t,n])=>{e.getValue(t)?.set(n)})}
1),e.forEach(e=>e.measureEndState()),e.forEach(e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)})}tk=!1,tC=!1,tV.forEach(e=>e.complete(tE)),tV.clear()}function tN(){tV.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(tk=!0)})}class tO{constructor(e,t,n,r,i,s=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=r,this.element=i,this.isAsync=s}scheduleResolve(){this.isScheduled=!0,this.isAsync?(tV.add(this),tC||(tC=!0,I.read(tN),I.resolveKeyframes(tR))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:n,motionValue:r}=this;if(null===e[0]){let i=r?.get(),s=e[e.length-1];if(void 0!==i)e[0]=i;else if(n&&t){let r=n.readValue(t,s);null!=r&&(e[0]=r)}void 0===e[0]&&(e[0]=s),r&&void 0===i&&r.set(e[0])}for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),tV.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,tV.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}let tP=e=>e.startsWith("--");function tF(e){let t;return()=>(void 0===t&&(t=e()),t)}let tI=tF(()=>void 0!==window.ScrollTimeline),tj={},tD=function(e,t){let n=tF(e);return()=>tj[t]??n()}(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch(e){return!1}return!0},"linearEasing"),tW=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,tL={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:tW([0,.65,.55,1]),circOut:tW([.55,0,1,.45]),backIn:tW([.31,.01,.66,-.59]),backOut:tW([.33,1.53,.69,.99])};var tB=n(7748);class t$ extends tl{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,!e)return;let{element:t,name:n,keyframes:r,pseudoElement:i,allowFlatten:s=!1,finalKeyframe:a,onComplete:o}=e;this.isPseudoElement=!!i,this.allowFlatten=s,this.options=e,(0,A.V)("string"!=typeof e.type,'animateMini doesn\'t support "type" as a string. Did you mean to import { spring } from "motion"?');let l=function({type:e,...t}){return y(e)&&tD()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}(e);this.animation=function(e,t,n,{delay:r=0,duration:i=300,repeat:s=0,repeatType:a="loop",ease:o="easeOut",times:l}={},u){let h={[t]:n};l&&(h.offset=l);let d=function e(t,n){if(t)return"function"==typeof t?tD()?e2(t,n):"ease-out":(0,tB.D)(t)?tW(t):Array.isArray(t)?t.map(t=>e(t,n)||tL.easeOut):tL[t]}(o,i);Array.isArray(d)&&(h.easing=d),O.value&&en.waapi++;let c={delay:r,duration:i,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:s+1,direction:"reverse"===a?"alternate":"normal"};u&&(c.pseudoElement=u);let f=e.animate(h,c);return O.value&&f.finished.finally(()=>{en.waapi--}),f}(t,n,r,l,i),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){let e=ts(r,this.options,a,this.speed);this.updateMotionValue?this.updateMotionValue(e):function(e,t,n){tP(t)?e.style.setProperty(t,n):e.style[t]=n}(t,n,e),this.animation.cancel()}o?.(),this.notifyFinished()},this.animation.oncancel=()=>this.notifyFinished()}play(){this.isStopped||(this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(e){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:e}=this;"idle"!==e&&"finished"!==e&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){return b(Number(this.animation.effect?.getComputedTiming?.().duration||0))}get time(){return b(Number(this.animation.currentTime)||0)}set time(e){this.finishedTime=null,this.animation.currentTime=w(e)}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(e){this.animation.startTime=e}attachTimeline({timeline:e,observe:t}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,e&&tI())?(this.animation.timeline=e,F.l):t(this)}}var t_=n(8640),tU=n(5693),tz=n(3937);let tH={anticipate:t_.b,backInOut:tU.ZZ,circInOut:tz.tn};class tK extends t${constructor(e){!function(e){"string"==typeof e.ease&&e.ease in tH&&(e.ease=tH[e.ease])}(e),to(e),super(e),e.startTime&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){let{motionValue:t,onUpdate:n,onComplete:r,element:i,...s}=this.options;if(!t)return;if(void 0!==e)return void t.set(e);let a=new th({...s,autoplay:!1}),o=w(this.finishedTime??this.time);t.setWithVelocity(a.sample(o-10).value,a.sample(o).value,10),a.stop()}}let tG=(e,t)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(eW.test(e)||"0"===e)&&!e.startsWith("url(")),tY=new Set(["opacity","clipPath","filter","transform"]),tX=tF(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class tq extends tl{constructor({autoplay:e=!0,delay:t=0,type:n="keyframes",repeat:r=0,repeatDelay:i=0,repeatType:s="loop",keyframes:a,name:o,motionValue:l,element:u,...h}){super(),this.stop=()=>{this._animation?(this._animation.stop(),this.stopTimeline?.()):this.keyframeResolver?.cancel()},this.createdAt=L.now();let d={autoplay:e,delay:t,type:n,repeat:r,repeatDelay:i,repeatType:s,name:o,motionValue:l,element:u,...h},c=u?.KeyframeResolver||tO;this.keyframeResolver=new c(a,(e,t,n)=>this.onKeyframesResolved(e,t,d,!n),o,l,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,n,r){this.keyframeResolver=void 0;let{name:i,type:s,velocity:a,delay:o,isHandoff:l,onUpdate:u}=n;this.resolvedAt=L.now(),!function(e,t,n,r){let i=e[0];if(null===i)return!1;if("display"===t||"visibility"===t)return!0;let s=e[e.length-1],a=tG(i,t),o=tG(s,t);return(0,A.$)(a===o,`You are trying to animate ${t} from "${i}" to "${s}". ${i} is not an animatable value - to enable this animation set ${i} to a value animatable to ${s} via the \`style\` property.`),!!a&&!!o&&(function(e){let t=e[0];if(1===e.length)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}(e)||("spring"===n||y(n))&&r)}(e,i,s,a)&&((P.instantAnimations||!o)&&u?.(ts(e,n,t)),e[0]=e[e.length-1],n.duration=0,n.repeat=0);let h={startTime:r?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...n,keyframes:e},d=!l&&function(e){let{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:s,type:a}=e;if(!t||!t.owner||!(t.owner.current instanceof HTMLElement))return!1;
1let{onUpdate:o,transformTemplate:l}=t.owner.getProps();return tX()&&n&&tY.has(n)&&("transform"!==n||!l)&&!o&&!r&&"mirror"!==i&&0!==s&&"inertia"!==a}(h)?new tK({...h,element:h.motionValue.owner.current}):new th(h);d.finished.then(()=>this.notifyFinished()).catch(F.l),this.pendingTimeline&&(this.stopTimeline=d.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=d}get finished(){return this._animation?this.animation.finished:this._finished}then(e,t){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(tE=!0,tN(),tR(),tE=!1),this._animation}get duration(){return this.animation.duration}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.cancel()}}let tZ=(e,t,n,r={},i,s)=>a=>{let o=et(r,e)||{},l=o.delay||r.delay||0,{elapsed:u=0}=r;u-=w(l);let h={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...o,delay:-u,onUpdate:e=>{t.set(e),o.onUpdate&&o.onUpdate(e)},onComplete:()=>{a(),o.onComplete&&o.onComplete()},name:e,motionValue:t,element:s?void 0:i};!function({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:s,repeatType:a,repeatDelay:o,from:l,elapsed:u,...h}){return!!Object.keys(h).length}(o)&&Object.assign(h,ee(e,h)),h.duration&&(h.duration=w(h.duration)),h.repeatDelay&&(h.repeatDelay=w(h.repeatDelay)),void 0!==h.from&&(h.keyframes[0]=h.from);let d=!1;if(!1!==h.type&&(0!==h.duration||h.repeatDelay)||(h.duration=0,0===h.delay&&(d=!0)),(P.instantAnimations||P.skipAnimations)&&(d=!0,h.duration=0,h.delay=0),h.allowFlatten=!o.type&&!o.ease,d&&!s&&void 0!==t.get()){let e=function(e,{repeat:t,repeatType:n="loop"},r){let i=e.filter(G),s=t&&"loop"!==n&&t%2==1?0:i.length-1;return i[s]}(h.keyframes,o);if(void 0!==e)return void I.update(()=>{h.onUpdate(e),h.onComplete()})}return new tq(h)},tQ=new Set(["width","height","top","left","right","bottom",...Y]),tJ={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"]},t0={};for(let e in tJ)t0[e]={isEnabled:t=>tJ[e].some(e=>!!t[e])};let t1=()=>({min:0,max:0}),t2=()=>({x:t1(),y:t1()}),t5="undefined"!=typeof window,t3={current:null},t9={current:!1},t7=["initial","animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"];function t6(e){var t;return null!==(t=e.animate)&&"object"==typeof t&&"function"==typeof t.start||t7.some(t=>{var n;return"string"==typeof(n=e[t])||Array.isArray(n)})}let t8=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),t4=e=>/^0[^.\s]+$/u.test(e),ne=e=>t=>t.test(e),nt=[eu,eM,eT,eA,eV,eS,{test:e=>"auto"===e,parse:e=>e}],nn=e=>nt.find(ne(e)),nr=[...nt,eE,eW],ni=e=>nr.find(ne(e)),ns=new Set(["brightness","contrast","saturate","opacity"]);function na(e){let[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[r]=n.match(ef)||[];if(!r)return e;let i=n.replace(r,""),s=+!!ns.has(t);return r!==n&&(s*=100),t+"("+s+i+")"}let no=/\b([a-z-]*)\(.*?\)/gu,nl={...eW,getAnimatableNone:e=>{let t=e.match(no);return t?t.map(na).join(" "):e}},nu={...eu,transform:Math.round},nh={borderWidth:eM,borderTopWidth:eM,borderRightWidth:eM,borderBottomWidth:eM,borderLeftWidth:eM,borderRadius:eM,radius:eM,borderTopLeftRadius:eM,borderTopRightRadius:eM,borderBottomRightRadius:eM,borderBottomLeftRadius:eM,width:eM,maxWidth:eM,height:eM,maxHeight:eM,top:eM,right:eM,bottom:eM,left:eM,padding:eM,paddingTop:eM,paddingRight:eM,paddingBottom:eM,paddingLeft:eM,margin:eM,marginTop:eM,marginRight:eM,marginBottom:eM,marginLeft:eM,backgroundPositionX:eM,backgroundPositionY:eM,rotate:eA,rotateX:eA,rotateY:eA,rotateZ:eA,scale:ed,scaleX:ed,scaleY:ed,scaleZ:ed,skew:eA,skewX:eA,skewY:eA,distance:eM,translateX:eM,translateY:eM,translateZ:eM,x:eM,y:eM,z:eM,perspective:eM,transformPerspective:eM,opacity:eh,originX:eC,originY:eC,originZ:eM,zIndex:nu,fillOpacity:eh,strokeOpacity:eh,numOctaves:nu},nd={...nh,color:eE,backgroundColor:eE,outlineColor:eE,fill:eE,stroke:eE,borderColor:eE,borderTopColor:eE,borderRightColor:eE,borderBottomColor:eE,borderLeftColor:eE,filter:nl,WebkitFilter:nl},nc=e=>nd[e];function nf(e,t){let n=nc(e);return n!==nl&&(n=eW),n.getAnimatableNone?n.getAnimatableNone(t):void 0}let np=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class nm{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,blockInitialAnimation:s,visualState:a},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=tO,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},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=L.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,I.render(this.render,!1,!0))};let{latestValues:l,renderState:u}=a;this.latestValues=l,this.baseTarget={...l},this.initialValues=t.initial?{...l}:{},this.renderState=u,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.options=o,this.blockInitialAnimation=!!s,this.isControllingVariants=t6(t),this.isVariantNode=function(e){return!!(t6(e)||e.variants)}(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:h,...d}=this.scrapeMotionValuesFromProps(t,{},this);for(let e in d){let t=d[e];void 0!==l[e]&&i(t)&&t.set(l[e],!1)}}mount(e){this.current=e,C.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.forEac
1h((e,t)=>this.bindToMotionValue(t,e)),t9.current||function(){if(t9.current=!0,t5)if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>t3.current=e.matches;e.addListener(t),t()}else t3.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||t3.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let e in this.projection&&this.projection.unmount(),j(this.notifyUpdate),j(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}bindToMotionValue(e,t){let n;this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();let r=X.has(e);r&&this.onBindTransform&&this.onBindTransform();let i=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&I.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),s=t.on("renderRequest",this.scheduleRender);window.MotionCheckAppearSync&&(n=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{i(),s(),n&&n(),t.owner&&t.stop()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}updateFeatures(){let e="animation";for(e in t0){let t=t0[e];if(!t)continue;let{isEnabled:n,Feature:r}=t;if(!this.features[e]&&r&&n(this.props)&&(this.features[e]=new r(this)),this.features[e]){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):t2()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<np.length;t++){let n=np[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let r=e["on"+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=function(e,t,n){for(let r in t){let s=t[r],a=n[r];if(i(s))e.addValue(r,s);else if(i(a))e.addValue(r,z(s,{owner:e}));else if(a!==s)if(e.hasValue(r)){let t=e.getValue(r);!0===t.liveStyle?t.jump(s):t.hasAnimated||t.set(s)}else{let t=e.getStaticValue(r);e.addValue(r,z(void 0!==t?t:s,{owner:e}))}}for(let r in n)void 0===t[r]&&e.removeValue(r);return t}(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 t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let n=this.values.get(e);t!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return void 0===n&&void 0!==t&&(n=z(null===t?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){let n=void 0===this.latestValues[e]&&this.current?this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];return null!=n&&("string"==typeof n&&(t8(n)||t4(n))?n=parseFloat(n):!ni(n)&&eW.test(t)&&(n=nf(e,t)),this.setBaseTarget(e,i(n)?n.get():n)),i(n)?n.get():n}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){let t,{initial:n}=this.props;if("string"==typeof n||"object"==typeof n){let r=R(this.props,n,this.presenceContext?.custom);r&&(t=r[e])}if(n&&void 0!==t)return t;let r=this.getBaseTargetFromProps(this.props,e);return void 0===r||i(r)?void 0!==this.initialValues[e]&&void 0===t?void 0:this.baseTarget[e]:r}on(e,t){return this.events[e]||(this.events[e]=new B),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}let ng=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,ny=new Set(["auto","
1none","0"]);class nv extends tO{constructor(e,t,n,r,i){super(e,t,n,r,i,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let n=0;n<e.length;n++){let r=e[n];if("string"==typeof r&&ea(r=r.trim())){let i=function e(t,n,r=1){(0,A.V)(r<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);let[i,s]=function(e){let t=ng.exec(e);if(!t)return[,];let[,n,r,i]=t;return[`--${n??r}`,i]}(t);if(!i)return;let a=window.getComputedStyle(n).getPropertyValue(i);if(a){let e=a.trim();return t8(e)?parseFloat(e):e}return ea(s)?e(s,n,r+1):s}(r,t.current);void 0!==i&&(e[n]=i),n===e.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!tQ.has(n)||2!==e.length)return;let[r,i]=e,s=nn(r),a=nn(i);if(s!==a)if(tA(s)&&tA(a))for(let t=0;t<e.length;t++){let n=e[t];"string"==typeof n&&(e[t]=parseFloat(n))}else tS[n]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++){var r;(null===e[t]||("number"==typeof(r=e[t])?0===r:null===r||"none"===r||"0"===r||t4(r)))&&n.push(t)}n.length&&function(e,t,n){let r,i=0;for(;i<e.length&&!r;){let t=e[i];"string"==typeof t&&!ny.has(t)&&eF(t).values.length&&(r=e[i]),i++}if(r&&n)for(let i of t)e[i]=nf(n,r)}(e,n,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:n}=this;if(!e||!e.current)return;"height"===n&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=tS[n](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let r=t[t.length-1];void 0!==r&&e.getValue(n,r).jump(r,!1)}measureEndState(){let{element:e,name:t,unresolvedKeyframes:n}=this;if(!e||!e.current)return;let r=e.getValue(t);r&&r.jump(this.measuredOrigin,!1);let i=n.length-1,s=n[i];n[i]=tS[t](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==s&&void 0===this.finalKeyframe&&(this.finalKeyframe=s),this.removedTransforms?.length&&this.removedTransforms.forEac
1h(([t,n])=>{e.getValue(t).set(n)}),this.resolveNoneKeyframes()}}class nw extends nm{constructor(){super(...arguments),this.KeyframeResolver=nv}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;i(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}}let nb=(e,t)=>t&&"number"==typeof e?t.transform(e):e,nx={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},nA=Y.length;function nT(e,t,n){let{style:r,vars:i,transformOrigin:s}=e,a=!1,o=!1;for(let e in t){let n=t[e];if(X.has(e)){a=!0;continue}if(ei(e)){i[e]=n;continue}{let t=nb(n,nh[e]);e.startsWith("origin")?(o=!0,s[e]=t):r[e]=t}}if(!t.transform&&(a||n?r.transform=function(e,t,n){let r="",i=!0;for(let s=0;s<nA;s++){let a=Y[s],o=e[a];if(void 0===o)continue;let l=!0;if(!(l="number"==typeof o?o===+!!a.startsWith("scale"):0===parseFloat(o))||n){let e=nb(o,nh[a]);if(!l){i=!1;let t=nx[a]||a;r+=`${t}(${e}) `}n&&(t[a]=e)}}return r=r.trim(),n?r=n(t,i?"":r):i&&(r="none"),r}(t,e.transform,n):r.transform&&(r.transform="none")),o){let{originX:e="50%",originY:t="50%",originZ:n=0}=s;r.transformOrigin=`${e} ${t} ${n}`}}function nM(e,{style:t,vars:n},r,i){for(let s in Object.assign(e.style,t,i&&i.getProjectionStyles(r)),n)e.style.setProperty(s,n[s])}let nS={};function nV(e,t,n){let{style:r}=e,s={};for(let a in r)(i(r[a])||t.style&&i(t.style[a])||function(e,{layout:t,layoutId:n}){return X.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!nS[e]||"opacity"===e)}(a,e)||n?.getValue(a)?.liveStyle!==void 0)&&(s[a]=r[a]);return s}class nC extends nw{constructor(){super(...arguments),this.type="html",this.renderInstance=nM}readValueFromInstance(e,t){if(X.has(t))return tb(e,t);{let n=window.getComputedStyle(e),r=(ei(t)?n.getPropertyValue(t):n[t])||0;return"string"==typeof r?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){var n,r;return n=e,r=t,function({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}(function(e,t){if(!t)return e;let n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}(n.getBoundingClientRect(),r))}build(e,t,n){nT(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return nV(e,t,n)}}class nk extends nm{constructor(){super(...arguments),this.type="object"}readValueFromInstance(e,t){if(t in e){let n=e[t];if("string"==typeof n||"number"==typeof n)return n}}getBaseTargetFromProps(){}removeValueFromRenderState(e,t){delete t.output[e]}measureInstanceViewportBox(){return t2()}build(e,t){Object.assign(e.output,t)}renderInstance(e,{output:t}){Object.assign(e,t)}sortInstanceNodePosition(){return 0}}let nE={offset:"stroke-dashoffset",array:"stroke-dasharray"},nR={offset:"strokeDashoffset",array:"strokeDasharray"},nN=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"]),nO=e=>"string"==typeof e&&"svg"===e.toLowerCase();class nP extends nw{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=t2}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(X.has(t)){let e=nc(t);return e&&e.default||0}return t=nN.has(t)?t:H(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){let r=nV(e,t,n);for(let n in e)(i(e[n])||i(t[n]))&&(r[-1!==Y.indexOf(n)?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n]=e[n]);return r}build(e,t,n){!function(e,{attrX:t,attrY:n,attrScale:r,pathLength:i,pathSpacing:s=1,pathOffset:a=0,...o},l,u,h){if(nT(e,o,u),l){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:d,style:c}=e;d.transform&&(c.transform=d.transform,delete d.transform),(c.transform||d.transformOrigin)&&(c.transformOrigin=d.transformOrigin??"50% 50%",delete d.transformOrigin),c.transform&&(c.transformBox=h?.transformBox??"fill-box",delete d.transformBox),void 0!==t&&(d.x=t),void 0!==n&&(d.y=n),void 0!==r&&(d.scale=r),void 0!==i&&function(e,t,n=1,r=0,i=!0){e.pathLength=1;let s=i?nE:nR;e[s.offset]=eM.transform(-r);let a=eM.transform(t),o=eM.transform(n);e[s.array]=`${a} ${o}`}(d,i,s,a,!1)}
1(e,t,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(e,t,n,r){for(let n in nM(e,t,void 0,r),t.attrs)e.setAttribute(nN.has(n)?n:H(n),t.attrs[n])}mount(e){this.isSVGTag=nO(e.tagName),super.mount(e)}}function nF(e){let t={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},n=e instanceof SVGElement&&"svg"!==e.tagName?new nP(t):new nC(t);n.mount(e),C.set(e,n)}function nI(e){let t=new nk({presenceContext:null,props:{},visualState:{renderState:{output:{}},latestValues:{}}});t.mount(e),C.set(e,t)}function nj(e,t,n,r){let o=[];if(i(e)||"number"==typeof e||"string"==typeof e&&!s(t))o.push(function(e,t,n){let r=i(e)?e:z(e);return r.start(tZ("",r,t,n)),r.animation}(e,s(t)&&t.default||t,n&&n.default||n));else{let s=a(e,t,r),l=s.length;(0,A.V)(!!l,"No valid elements provided.");for(let e=0;e<l;e++){let r=s[e],a=r instanceof Element?nF:nI;C.has(r)||a(r);let u=C.get(r),h={...n};"delay"in h&&"function"==typeof h.delay&&(h.delay=h.delay(e,l)),o.push(...function(e,t,{delay:n=0,transitionOverride:r,type:s}={}){let{transition:a=e.getDefaultTransition(),transitionEnd:o,...l}=t;r&&(a=r);let u=[],h=s&&e.animationState&&e.animationState.getState()[s];for(let t in l){let r=e.getValue(t,e.latestValues[t]??null),s=l[t];if(void 0===s||h&&function({protectedKeys:e,needsAnimating:t},n){let r=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,r}(h,t))continue;let o={delay:n,...et(a||{},t)},d=r.get();if(void 0!==d&&!r.isAnimating&&!Array.isArray(s)&&s===d&&!o.velocity)continue;let c=!1;if(window.MotionHandoffAnimation){let n=e.props[K];if(n){let e=window.MotionHandoffAnimation(n,t,I);null!==e&&(o.startTime=e,c=!0)}}!function(e,t){let n=e.getValue("willChange");if(i(n)&&n.add)return n.add(t);if(!n&&P.WillChange){let n=new P.WillChange("auto");e.addValue("willChange",n),n.add(t)}}(e,t),r.start(tZ(t,r,s,e.shouldReduceMotion&&tQ.has(t)?{type:!1}:o,e,c));let f=r.animation;f&&u.push(f)}return o&&Promise.all(u).then(()=>{I.update(()=>{o&&function(e,t){let{transitionEnd:n={},transition:r={},...i}=function(e,t,n){let r=e.getProps();return R(r,t,r.custom,e)}(e,t)||{};for(let t in i={...i,...n}){var s;let n=k(s=i[t])?s[s.length-1]||0:s;e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,z(n))}}(e,o)})}),u}(u,{...t,transition:h},{}))}}return o}class nD{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,t){for(let n=0;n<this.animations.length;n++)this.animations[n][e]=t}attachTimeline(e){let t=this.animations.map(t=>t.attachTimeline(e));return()=>{t.forEach((e,t)=>{e&&e(),this.animations[t].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(){let e=0;for(let t=0;t<this.animations.length;t++)e=Math.max(e,this.animations[t].duration);return e}runAll(e){this.animations.forEach(t=>t[e]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class nW extends nD{then(e,t){return this.finished.finally(e).then(()=>{})}}let nL=function(e){return function(t,n,r){let s=[],u=new nW(s=Array.isArray(t)&&t.some(Array.isArray)?function(e,t,n){let r=[];return(function(e,{defaultTransition:t={},...n}={},r,s){let u=t.duration||.3,h=new Map,v=new Map,b={},S=new Map,C=0,k=0,E=0;for(let n=0;n<e.length;n++){let h=e[n];if("string"==typeof h){S.set(h,k);continue}if(!Array.isArray(h)){S.set(h.name,o(k,h.at,C,S));continue}let[f,p,O={}]=h;void 0!==O.at&&(k=o(k,O.at,C,S));let P=0,F=(e,n,r,i=0,a=0)=>{var o;let h=Array.isArray(o=e)?o:[o],{delay:f=0,times:p=g(h),type:v="keyframes",repeat:b,repeatType:T,repeatDelay:M=0,...S}=n,{ease:C=t.ease||"easeOut",duration:R}=n,N="function"==typeof f?f(i,a):f,O=h.length,F=y(v)?v:s?.[v];if(O<=2&&F){let e=100;2===O&&V(h)&&(e=Math.abs(h[1]-h[0]));let t={...S};void 0!==R&&(t.duration=w(R));let n=x(t,e,F);C=n.ease,R=n.duration}R??(R=u);let I=k+N;1===p.length&&0===p[0]&&(p[1]=1);let j=p.length-h.length;if(j>0&&m(p,j),1===h.length&&h.unshift(null),b){(0,A.V)(b<20,"Repeat count too high, must be less than 20");R*=b+1;let e=[...h],t=[...p],n=[...C=Array.isArray(C)?[...C]:[C]];for(let r=0;r<b;r++){h.push(...e);for(let i=0;i<e.length;i++)p.push(t[i]+(r+1)),C.push(0===i?"linear":d(n,i-1))}for(let e=0;e<p.length;
1e++)p[e]=p[e]/(b+1)}let D=I+R;!function(e,t,n,r,i,s){for(let t=0;t<e.length;t++){let n=e[t];n.at>i&&n.at<s&&(c(e,n),t--)}for(let a=0;a<t.length;a++)e.push({value:t[a],at:l(i,s,r[a]),easing:d(n,a)})}(r,h,C,p,I,D),P=Math.max(N+R,P),E=Math.max(D,E)};if(i(f))F(p,O,M("default",T(f,v)));else{let e=a(f,p,r,b),t=e.length;for(let n=0;n<t;n++){let r=T(e[n],v);for(let e in p){var R,N;F(p[e],(R=O,N=e,R&&R[N]?{...R,...R[N]}:{...R}),M(e,r),n,t)}}}C=k,k+=P}return v.forEach((e,r)=>{for(let i in e){let s=e[i];s.sort(f);let a=[],o=[],l=[];for(let e=0;e<s.length;e++){let{at:t,value:n,easing:r}=s[e];a.push(n),o.push(p(0,E,t)),l.push(r||"easeOut")}0!==o[0]&&(o.unshift(0),a.unshift(a[0]),l.unshift("easeInOut")),1!==o[o.length-1]&&(o.push(1),a.push(null)),h.has(r)||h.set(r,{keyframes:{},transition:{}});let u=h.get(r);u.keyframes[i]=a,u.transition[i]={...t,duration:E,ease:l,times:o,...n}}}),h})(e,t,n,{spring:e4}).forEach(({keyframes:e,transition:t},n)=>{r.push(...nj(n,e,t))}),r}(t,n,void 0):nj(t,n,r,void 0));return e&&e.animations.push(u),u}}()},5069:(e,t,n)=>{n.d(t,{A:()=>d});var r=n(7708);let i=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),s=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,n)=>n?n.toUpperCase():t.toLowerCase()),a=e=>{let t=s(e);return t.charAt(0).toUpperCase()+t.slice(1)},o=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((e,t,n)=>!!e&&""!==e.trim()&&n.indexOf(e)===t).join(" ").trim()},l=e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0};var u={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let h=(0,r.forwardRef)((e,t)=>{let{color:n="currentColor",size:i=24,strokeWidth:s=2,absoluteStrokeWidth:a,className:h="",children:d,iconNode:c,...f}=e;return(0,r.createElement)("svg",{ref:t,...u,width:i,height:i,stroke:n,strokeWidth:a?24*Number(s)/Number(i):s,className:o("lucide",h),...!d&&!l(f)&&{"aria-hidden":"true"},...f},[...c.map(e=>{let[t,n]=e;return(0,r.createElement)(t,n)}),...Array.isArray(d)?d:[d]])}),d=(e,t)=>{let n=(0,r.forwardRef)((n,s)=>{let{className:l,...u}=n;return(0,r.createElement)(h,{ref:s,iconNode:t,className:o("lucide-".concat(i(a(e))),"lucide-".concat(e),l),...u})});return n.displayName=a(e),n}},5619:(e,t,n)=>{n.d(t,{nD:()=>_,ub:()=>ea,As:()=>et,$m:()=>ei});var r,i=n(7708),s=n(8238),a=n(32),o=n(6252),l=n(3266),u=n(3056),h=n(9573),d=n(9712),c=new WeakMap;function f(e,t){if("at"in Array.prototype)return Array.prototype.at.call(e,t);let n=function(e,t){let n=e.length,r=p(t),i=r>=0?r:n+r;return i<0||i>=n?-1:i}(e,t);return -1===n?void 0:e[n]}function p(e){return e!=e||0===e?0:Math.trunc(e)}r=new WeakMap;var m=n(3350),g=n(8115),y=n(8949),v=n(3971),w=n(3219),b=n(6455),x="Collapsible",[A,T]=(0,s.A)(x),[M,S]=A(x),V=i.forwardRef((e,t)=>{let{__scopeCollapsible:n,open:r,defaultOpen:s,disabled:a,onOpenChange:o,...l}=e,[u,h]=(0,g.i)({prop:r,defaultProp:null!=s&&s,onChange:o,caller:x});return(0,d.jsx)(M,{scope:n,disabled:a,contentId:(0,b.B)(),open:u,onOpenToggle:i.useCallback(()=>h(e=>!e),[h]),children:(0,d.jsx)(y.sG.div,{"data-state":O(u),"data-disabled":a?"":void 0,...l,ref:t})})});V.displayName=x;var C="CollapsibleTrigger",k=i.forwardRef((e,t)=>{let{__scopeCollapsible:n,...r}=e,i=S(C,n);return(0,d.jsx)(y.sG.button,{type:"button","aria-controls":i.contentId,"aria-expanded":i.open||!1,"data-state":O(i.open),"data-disabled":i.disabled?"":void 0,disabled:i.disabled,...r,ref:t,onClick:(0,m.m)(e.onClick,i.onOpenToggle)})});k.displayName=C;var E="CollapsibleContent",R=i.forwardRef((e,t)=>{let{forceMount:n,...r}=e,i=S(E,e.__scopeCollapsible);return(0,d.jsx)(w.C,{present:n||i.open,children:e=>{let{present:n}=e;return(0,d.jsx)(N,{...r,ref:t,present:n})}})});R.displayName=E;var N=i.forwardRef((e,t)=>{let{__scopeCollapsible:n,present:r,children:s,...a}=e,o=S(E,n),[l,h]=i.useState(r),c=i.useRef(null),f=(0,u.s)(t,c),p=i.useRef(0),m=p.current,g=i.useRef(0),w=g.current,b=o.open||l,x=i.useRef(b),A=i.useRef(void 0);return i.useEffect(()=>{let e=requestAnimationFrame(()=>x.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,v.N)(()=>
1{let e=c.current;if(e){A.current=A.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();p.current=t.height,g.current=t.width,x.current||(e.style.transitionDuration=A.current.transitionDuration,e.style.animationName=A.current.animationName),h(r)}},[o.open,r]),(0,d.jsx)(y.sG.div,{"data-state":O(o.open),"data-disabled":o.disabled?"":void 0,id:o.contentId,hidden:!b,...a,ref:f,style:{"--radix-collapsible-content-height":m?"".concat(m,"px"):void 0,"--radix-collapsible-content-width":w?"".concat(w,"px"):void 0,...e.style},children:b&&s})});function O(e){return e?"open":"closed"}var P=n(7511),F="Accordion",I=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[j,D,W]=function(e){let t=e+"CollectionProvider",[n,r]=(0,s.A)(t),[a,o]=n(t,{collectionRef:{current:null},itemMap:new Map}),l=e=>{let{scope:t,children:n}=e,r=i.useRef(null),s=i.useRef(new Map).current;return(0,d.jsx)(a,{scope:t,itemMap:s,collectionRef:r,children:n})};l.displayName=t;let c=e+"CollectionSlot",f=(0,h.TL)(c),p=i.forwardRef((e,t)=>{let{scope:n,children:r}=e,i=o(c,n),s=(0,u.s)(t,i.collectionRef);return(0,d.jsx)(f,{ref:s,children:r})});p.displayName=c;let m=e+"CollectionItemSlot",g="data-radix-collection-item",y=(0,h.TL)(m),v=i.forwardRef((e,t)=>{let{scope:n,children:r,...s}=e,a=i.useRef(null),l=(0,u.s)(t,a),h=o(m,n);return i.useEffect(()=>(h.itemMap.set(a,{ref:a,...s}),()=>void h.itemMap.delete(a))),(0,d.jsx)(y,{...{[g]:""},ref:l,children:r})});return v.displayName=m,[{Provider:l,Slot:p,ItemSlot:v},function(t){let n=o(e+"CollectionConsumer",t);return i.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll("[".concat(g,"]")));return Array.from(n.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[n.collectionRef,n.itemMap])},r]}(F),[L,B]=(0,s.A)(F,[W,T]),$=T(),_=i.forwardRef((e,t)=>{let{type:n,...r}=e;return(0,d.jsx)(j.Provider,{scope:e.__scopeAccordion,children:"multiple"===n?(0,d.jsx)(Y,{...r,ref:t}):(0,d.jsx)(G,{...r,ref:t})})});_.displayName=F;var[U,z]=L(F),[H,K]=L(F,{collapsible:!1}),G=i.forwardRef((e,t)=>{let{value:n,defaultValue:r,onValueChange:s=()=>{},collapsible:a=!1,...o}=e,[l,u]=(0,g.i)({prop:n,defaultProp:null!=r?r:"",onChange:s,caller:F});return(0,d.jsx)(U,{scope:e.__scopeAccordion,value:i.useMemo(()=>l?[l]:[],[l]),onItemOpen:u,onItemClose:i.useCallback(()=>a&&u(""),[a,u]),children:(0,d.jsx)(H,{scope:e.__scopeAccordion,collapsible:a,children:(0,d.jsx)(Z,{...o,ref:t})})})}),Y=i.forwardRef((e,t)=>{let{value:n,defaultValue:r,onValueChange:s=()=>{},...a}=e,[o,l]=(0,g.i)({prop:n,defaultProp:null!=r?r:[],onChange:s,caller:F}),u=i.useCallback(e=>l(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return[...t,e]}),[l]),h=i.useCallback(e=>l(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return t.filter(t=>t!==e)}),[l]);return(0,d.jsx)(U,{scope:e.__scopeAccordion,value:o,onItemOpen:u,onItemClose:h,children:(0,d.jsx)(H,{scope:e.__scopeAccordion,collapsible:!0,children:(0,d.jsx)(Z,{...a,ref:t})})})}),[X,q]=L(F),Z=i.forwardRef((e,t)=>{let{__scopeAccordion:n,disabled:r,dir:s,orientation:a="vertical",...o}=e,l=i.useRef(null),h=(0,u.s)(l,t),c=D(n),f="ltr"===(0,P.jH)(s),p=(0,m.m)(e.onKeyDown,e=>{var t;if(!I.includes(e.key))return;let n=e.target,r=c().filter(e=>{var t;return!(null==(t=e.ref.current)?void 0:t.disabled)}),i=r.findIndex(e=>e.ref.current===n),s=r.length;if(-1===i)return;e.preventDefault();let o=i,l=s-1,u=()=>{(o=i+1)>l&&(o=0)},h=()=>{(o=i-1)<0&&(o=l)};switch(e.key){case"Home":o=0;break;case"End":o=l;break;case"ArrowRight":"horizontal"===a&&(f?u():h());break;case"ArrowDown":"vertical"===a&&u();break;case"ArrowLeft":"horizontal"===a&&(f?h():u());break;case"ArrowUp":"vertical"===a&&h()}null==(t=r[o%s].ref.current)||t.focus()});return(0,d.jsx)(X,{scope:n,disabled:r,direction:s,orientation:a,children:(0,d.jsx)(j.Slot,{scope:n,children:(0,d.jsx)(y.sG.div,{...o,"data-orientation":a,ref:h,onKeyDown:r?void 0:p})})})}),Q="AccordionItem",[J,ee]=L(Q),et=i.forwardRef((e,t)=>
1{let{__scopeAccordion:n,value:r,...i}=e,s=q(Q,n),a=z(Q,n),o=$(n),l=(0,b.B)(),u=r&&a.value.includes(r)||!1,h=s.disabled||e.disabled;return(0,d.jsx)(J,{scope:n,open:u,disabled:h,triggerId:l,children:(0,d.jsx)(V,{"data-orientation":s.orientation,"data-state":eo(u),...o,...i,ref:t,disabled:h,open:u,onOpenChange:e=>{e?a.onItemOpen(r):a.onItemClose(r)}})})});et.displayName=Q;var en="AccordionHeader";i.forwardRef((e,t)=>{let{__scopeAccordion:n,...r}=e,i=q(F,n),s=ee(en,n);return(0,d.jsx)(y.sG.h3,{"data-orientation":i.orientation,"data-state":eo(s.open),"data-disabled":s.disabled?"":void 0,...r,ref:t})}).displayName=en;var er="AccordionTrigger",ei=i.forwardRef((e,t)=>{let{__scopeAccordion:n,...r}=e,i=q(F,n),s=ee(er,n),a=K(er,n),o=$(n);return(0,d.jsx)(j.ItemSlot,{scope:n,children:(0,d.jsx)(k,{"aria-disabled":s.open&&!a.collapsible||void 0,"data-orientation":i.orientation,id:s.triggerId,...o,...r,ref:t})})});ei.displayName=er;var es="AccordionContent",ea=i.forwardRef((e,t)=>{let{__scopeAccordion:n,...r}=e,i=q(F,n),s=ee(es,n),a=$(n);return(0,d.jsx)(R,{role:"region","aria-labelledby":s.triggerId,"data-orientation":i.orientation,...a,...r,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});function eo(e){return e?"open":"closed"}ea.displayName=es},5693:(e,t,n)=>{n.d(t,{Sz:()=>a,ZZ:()=>l,dg:()=>o});var r=n(7798),i=n(1884),s=n(1039);let a=(0,r.A)(.33,1.53,.69,.99),o=(0,s.G)(a),l=(0,i.V)(o)},6028:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(5069).A)("menu",[["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 18h16",key:"19g7jn"}],["path",{d:"M4 6h16",key:"1o0s65"}]])},6252:(e,t,n)=>{n.d(t,{_:()=>r});function r(e,t,n){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object");t.set(e,n)}},6263:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(5069).A)("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]])},7058:(e,t,n)=>{n.d(t,{K:()=>f});var r=n(713),i=n(9396),s=n(8640),a=n(5693),o=n(3937),l=n(7798),u=n(2710),h=n(7748);let d={linear:i.l,easeIn:u.a6,easeInOut:u.am,easeOut:u.vT,circIn:o.po,circInOut:o.tn,circOut:o.yT,backIn:a.dg,backInOut:a.ZZ,backOut:a.Sz,anticipate:s.b},c=e=>"string"==typeof e,f=e=>{if((0,h.D)(e)){(0,r.V)(4===e.length,"Cubic bezier arrays must contain four numerical values.");let[t,n,i,s]=e;return(0,l.A)(t,n,i,s)}return c(e)?((0,r.V)(void 0!==d[e],`Invalid easing type '${e}'`),d[e]):e}},7439:(e,t,n)=>{n.d(t,{G:()=>d});var r=n(5927),i=n(5983),s=n(8891),a=n(6544),o=n(4818),l=n(7708),u=n(3254);function h(e,t){let n=function(e){let t=(0,i.M)(()=>(0,o.OQ)(e)),{isStatic:n}=(0,l.useContext)(u.Q);if(n){let[,n]=(0,l.useState)(e);(0,l.useEffect)(()=>t.on("change",n),[])}return t}(t()),r=()=>n.set(t());return r(),(0,a.E)(()=>{let t=()=>s.Gt.preRender(r,!1,!0),n=e.map(e=>e.on("change",t));return()=>{n.forEach(e=>e()),(0,s.WG)(r)}}),n}function d(e,t,n,i){if("function"==typeof e){o.bt.current=[],e();let t=h(o.bt.current,e);return o.bt.current=void 0,t}let s="function"==typeof t?t:function(...e){let t=!Array.isArray(e[0]),n=t?0:-1,i=e[0+n],s=e[1+n],a=e[2+n],o=e[3+n],l=(0,r.G)(s,a,o);return t?l(i):l}(t,n,i);return Array.isArray(e)?c(e,s):c([e],([e])=>s(e))}function c(e,t){let n=(0,i.M)(()=>[]);return h(e,()=>{n.length=0;let r=e.length;for(let t=0;t<r;t++)n[t]=e[t].get();return t(n)})}},7511:(e,t,n)=>{n.d(t,{jH:()=>s});var r=n(7708);n(9712);var i=r.createContext(void 0);function s(e){let t=r.useContext(i);return e||t||"ltr"}},7748:(e,t,n)=>{n.d(t,{D:()=>r});let r=e=>Array.isArray(e)&&"number"==typeof e[0]},7798:(e,t,n)=>{n.d(t,{A:()=>s});var r=n(9396);let i=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function s(e,t,n,s){if(e===t&&n===s)return r.l;let a=t=>(function(e,t,n,r,s){let a,o,l=0;do(a=i(o=t+(n-t)/2,r,s)-e)>0?n=o:t=o;while(Math.abs(a)>1e-7&&++l<12);return o})(t,0,1,e,n);return e=>0===e||1===e?e:i(a(e),t,s)}},8327:(e,t,n)=>{n.d(t,{_:()=>r});function r(e,t,n){if(!t.has(e))throw TypeError("attempted to "+n+" private field on non-instance");return t.get(e)}},8640:(e,t,n)=>{n.d(t,{b:()=>i});var r=n(5693);let i=e=>(e*=2)<1?.5*(0,r.dg)(e):.5*(2-Math.pow(2,-10*(e-1)))},8844:(e,t,n)=>{let r,i;n.d(t,{L:()=>$});var s=n(4818),a=n(2986),o=n(7708),l=n(8891);function u(e,t){let n,r=()=>{let{currentTime:r}=t,i=(null===r?0:r.value)/100;n!==i&&e(i),n=i};return l.Gt.preUpdate(r,!0),()=>(0,l.WG)(r)}var h=n(9356),d=n(7270);let c=new WeakMap;function f({target:e,contentRect:t,borderBoxSize:n}){c.get(e)?.forEach(r=>{r({target:e,contentSize:t,get size(){if(n){let{inlineSize:e,blockSize:t}=n[0];return{width:e,height:t}}if(e instanceof SVGElement&&"getBBox"in e)return e.getBBox();return{width:e.offsetWidth,height:e.offsetHeight}}})})}function p(e){e.forEach(f)}let m=new Set;var g=n(4990),y=n(4063);let v=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),w=()=>({time:0,x:v(),y:v()}),b={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function x(e,t,n,r){let i=n[t],{length:s,position:a}=b[t],o=i.current,l=n.time;i.current=e[`scroll${a}`],i.scrollLength=e[`scroll${s}`]-e[`client${s}`],i.offset.length=0,i.offset[0]=0,i.offset[1]=i.scrollLength,i.progress=(0,g.q)(0,i.scrollLength,i.current);let u=r-l;i.velocity=u>50?0:(0,y.f)(i.current-o,u)}var A=n(5927),T=n(6551),M=n(9730);let S={start:0,center:.5,end:1};function V(e,t,n=0){let r=0;if(e in S&&(e=S[e]),"string"==typeof e){let t=parseFloat(e);e.endsWith("px")?r=t:e.endsWith("%")?e=t/100:e.endsWith("vw")?r=t/100*document.documentElement.clientWidth:e.endsWith("vh")?r=t/100*document.documentElement.clientHeight:e=t}return"number"==typeof e&&(r=t*e),n+r}let C=[0,0],k={All:[[0,0],[1,1]]},E={x:0,y:0},R=new WeakMap,N=new WeakMap,O=new WeakMap,P=e=>e===document.documentElement?window:e;function F(e,{container:t=document.documentElement,...n}={}){let s=O.get(t);s||(s=new Set,O.set(t,s));let a=function(e,t,n,r={}){return{measure:()=>(function(e,t=e,n){if(n.x.targetOffset=0,n.y.targetOffset=0,t!==e){let r=t;for(;r&&r!==e;)n.x.targetOffset+=r.offsetLeft,n.y.targetOffset+=r.offsetTop,r=r.offsetParent}n.x.targetLength=t===e?t.scrollWidth:t.clientWidth,n.y.targetLength=t===e?t.scrollHeight:t.clientHeight,n.x.containerLength=e.clientWidth,n.y.c
1ontainerLength=e.clientHeight})(e,r.target,n),update:t=>{x(e,"x",n,t),x(e,"y",n,t),n.time=t,(r.offset||r.target)&&function(e,t,n){let{offset:r=k.All}=n,{target:i=e,axis:s="y"}=n,a="y"===s?"height":"width",o=i!==e?function(e,t){let n={x:0,y:0},r=e;for(;r&&r!==t;)if(r instanceof HTMLElement)n.x+=r.offsetLeft,n.y+=r.offsetTop,r=r.offsetParent;else if("svg"===r.tagName){let e=r.getBoundingClientRect(),t=(r=r.parentElement).getBoundingClientRect();n.x+=e.left-t.left,n.y+=e.top-t.top}else if(r instanceof SVGGraphicsElement){let{x:e,y:t}=r.getBBox();n.x+=e,n.y+=t;let i=null,s=r.parentNode;for(;!i;)"svg"===s.tagName&&(i=s),s=r.parentNode;r=i}else break;return n}(i,e):E,l=i===e?{width:e.scrollWidth,height:e.scrollHeight}:"getBBox"in i&&"svg"!==i.tagName?i.getBBox():{width:i.clientWidth,height:i.clientHeight},u={width:e.clientWidth,height:e.clientHeight};t[s].offset.length=0;let h=!t[s].interpolate,d=r.length;for(let e=0;e<d;e++){let n=function(e,t,n,r){let i=Array.isArray(e)?e:C,s=0,a=0;return"number"==typeof e?i=[e,e]:"string"==typeof e&&(i=(e=e.trim()).includes(" ")?e.split(" "):[e,S[e]?e:"0"]),(s=V(i[0],n,r))-V(i[1],t)}(r[e],u[a],l[a],o[s]);h||n===t[s].interpolatorOffsets[e]||(h=!0),t[s].offset[e]=n}h&&(t[s].interpolate=(0,A.G)(t[s].offset,(0,T.Z)(r),{clamp:!1}),t[s].interpolatorOffsets=[...t[s].offset]),t[s].progress=(0,M.q)(0,1,t[s].interpolate(t[s].current))}(e,n,r)},notify:()=>t(n)}}(t,e,w(),n);if(s.add(a),!R.has(t)){let e=()=>{for(let e of s)e.measure()},n=()=>{for(let e of s)e.update(l.uv.timestamp)},a=()=>{for(let e of s)e.notify()},o=()=>{l.Gt.read(e),l.Gt.read(n),l.Gt.preUpdate(a)};R.set(t,o);let u=P(t);window.addEventListener("resize",o,{passive:!0}),t!==document.documentElement&&N.set(t,"function"==typeof t?(m.add(t),i||(i=()=>{let e={width:window.innerWidth,height:window.innerHeight},t={target:window,size:e,contentSize:e};m.forEach(e=>e(t))},window.addEventListener("resize",i)),()=>{m.delete(t),!m.size&&i&&(i=void 0)}):function(e,t){r||"undefined"!=typeof ResizeObserver&&(r=new ResizeObserver(p));let n=(0,d.K)(e);return n.forEach(e=>{let n=c.get(e);n||(n=new Set,c.set(e,n)),n.add(t),r?.observe(e)}),()=>{n.forEach(e=>{let n=c.get(e);n?.delete(t),n?.size||r?.unobserve(e)})}}(t,o)),u.addEventListener("scroll",o,{passive:!0}),o()}let o=R.get(t);return l.Gt.read(o,!1,!0),()=>{(0,l.WG)(o);let e=O.get(t);if(!e||(e.delete(a),e.size))return;let n=R.get(t);R.delete(t),n&&(P(t).removeEventListener("scroll",n),N.get(t)?.(),window.removeEventListener("resize",n))}}let I=new Map;function j({source:e,container:t,...n}){let{axis:r}=n;e&&(t=e);let i=I.get(t)??new Map;I.set(t,i);let s=n.target??"self",a=i.get(s)??{},o=r+(n.offset??[]).join(",");return a[o]||(a[o]=!n.target&&(0,h.J)()?new ScrollTimeline({source:t,axis:r}):function(e){let t={value:0},n=F(n=>{t.value=100*n[e.axis].progress},e);return{currentTime:t,cancel:n}}({container:t,...n})),a[o]}var D=n(5983),W=n(6544);function L(e,t){(0,a.$)(!!(!t||t.current),`You have defined a ${e} options but the provided ref is not yet hydrated, probably because it's defined higher up the tree. Try calling useScroll() in the same component as the ref, or setting its \`layoutEffect: false\` option.`)}let B=()=>({scrollX:(0,s.OQ)(0),scrollY:(0,s.OQ)(0),scrollXProgress:(0,s.OQ)(0),scrollYProgress:(0,s.OQ)(0)});function $({container:e,target:t,layoutEffect:n=!0,...r}={}){let i=(0,D.M)(B);return(n?W.E:o.useEffect)(()=>(L("target",t),L("container",e),function(e,{axis:t="y",container:n=document.documentElement,...r}={}){var i,s;n===document.documentElement&&("y"===t&&n.scrollHeight===n.clientHeight||"x"===t&&n.scrollWidth===n.clientWidth)&&(n=document.body);let a={axis:t,container:n,...r};return"function"==typeof e?(i=e,s=a,2===i.length?F(e=>{i(e[s.axis].progress,e)},s):u(i,j(s))):function(e,t){let n=j(t);return e.attachTimeline({timeline:t.target?void 0:n,observe:e=>(e.pause(),u(t=>{e.time=e.duration*t},n))})}(e,a)}((e,{x:t,y:n})=>{i.scrollX.set(t.current),i.scrollXProgress.set(t.progress),i.scrollY.set(n.current),i.scrollYProgress.set(n.progress)},{...r,container:e?.current||void 0,target:t?.current||void 0})),[e,t,JSON.stringify(r.offset)]),i}}
1,8949:(e,t,n)=>{n.d(t,{sG:()=>a});var r=n(7708);n(7127);var i=n(9573),s=n(9712),a=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let n=(0,i.TL)(`Primitive.${t}`),a=r.forwardRef((e,r)=>{let{asChild:i,...a}=e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,s.jsx)(i?n:t,{...a,ref:r})});return a.displayName=`Primitive.${t}`,{...e,[t]:a}},{})},9285:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(5069).A)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},9396:(e,t,n)=>{n.d(t,{l:()=>r});let r=e=>e},9421:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(5069).A)("minus",[["path",{d:"M5 12h14",key:"1ays0h"}]])},9573:(e,t,n)=>{n.d(t,{TL:()=>a});var r=n(7708),i=n(3056),s=n(9712);function a(e){let t=function(e){let t=r.forwardRef((e,t)=>{var n,s,a;let o,l,{children:u,...h}=e,d=r.isValidElement(u)?(l=(o=null==(s=Object.getOwnPropertyDescriptor((n=u).props,"ref"))?void 0:s.get)&&"isReactWarning"in o&&o.isReactWarning)?n.ref:(l=(o=null==(a=Object.getOwnPropertyDescriptor(n,"ref"))?void 0:a.get)&&"isReactWarning"in o&&o.isReactWarning)?n.props.ref:n.props.ref||n.ref:void 0,c=(0,i.s)(d,t);if(r.isValidElement(u)){let e=function(e,t){let n={...t};for(let r in t){let i=e[r],s=t[r];/^on[A-Z]/.test(r)?i&&s?n[r]=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];let r=s(...t);return i(...t),r}:i&&(n[r]=i):"style"===r?n[r]={...i,...s}:"className"===r&&(n[r]=[i,s].filter(Boolean).join(" "))}return{...e,...n}}(h,u.props);return u.type!==r.Fragment&&(e.ref=c),r.cloneElement(u,e)}return r.Children.count(u)>1?r.Children.only(null):null});return t.displayName="".concat(e,".SlotClone"),t}(e),n=r.forwardRef((e,n)=>{let{children:i,...a}=e,o=r.Children.toArray(i),u=o.find(l);if(u){let e=u.props.children,i=o.map(t=>t!==u?t:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,s.jsx)(t,{...a,ref:n,children:r.isValidElement(e)?r.cloneElement(e,void 0,i):null})}return(0,s.jsx)(t,{...a,ref:n,children:i})});return n.displayName="".concat(e,".Slot"),n}var o=Symbol("radix.slottable");function l(e){return r.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===o}}}]);

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.