PageSourceSearch

https://freemind.games/_next/static/chunks/0qz3vc_dbcvlt.js

js freemind.games collected 2026-10-05 01:50:31 UTC 187,141 bytes, 11 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,95057,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var r={formatUrl:function(){return a},formatWithValidation:function(){return u},urlObjectKeys:function(){return l}};for(var n in r)Object.defineProperty(i,n,{enumerable:!0,get:r[n]});let s=e.r(90809)._(e.r(98183)),o=/https?|ftp|gopher|file/;function a(e){let{auth:t,hostname:i}=e,r=e.protocol||"",n=e.pathname||"",a=e.hash||"",l=e.query||"",u=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?u=t+e.host:i&&(u=t+(~i.indexOf(":")?`[${i}]`:i),e.port&&(u+=":"+e.port)),l&&"object"==typeof l&&(l=String(s.urlQueryToSearchParams(l)));let h=e.search||l&&`?${l}`||"";return r&&!r.endsWith(":")&&(r+=":"),e.slashes||(!r||o.test(r))&&!1!==u?(u="//"+(u||""),n&&"/"!==n[0]&&(n="/"+n)):u||(u=""),a&&"#"!==a[0]&&(a="#"+a),h&&"?"!==h[0]&&(h="?"+h),n=n.replace(/[?#]/g,encodeURIComponent),h=h.replace("#","%23"),`${r}${u}${n}${h}${a}`}let l=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function u(e){return a(e)}},18581,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"useMergedRef",{enumerable:!0,get:function(){return n}});let r=e.r(71645);function n(e,t){let i=(0,r.useRef)(null),n=(0,r.useRef)(null);return(0,r.useCallback)(r=>{if(null===r){let e=i.current;e&&(i.current=null,e());let t=n.current;t&&(n.current=null,t())}else e&&(i.current=s(e,r)),t&&(n.current=s(t,r))},[e,t])}function s(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let i=e(t);return"function"==typeof i?i:()=>e(null)}}("function"==typeof i.default||"object"==typeof i.default&&null!==i.default)&&void 0===i.default.__esModule&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),t.exports=i.default)},73668,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"isLocalURL",{enumerable:!0,get:function(){return s}});let r=e.r(18967),n=e.r(52817);function s(e){if(!(0,r.isAbsoluteUrl)(e))return!0;try{let t=(0,r.getLocationOrigin)(),i=new URL(e,t);return i.origin===t&&(0,n.hasBasePath)(i.pathname)}catch(e){return!1}}},84508,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"errorOnce",{enumerable:!0,get:function(){return r}});let r=e=>{}},22016,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var r={default:function(){return y},useLinkStatus:function(){return b}};for(var n in r)Object.defineProperty(i,n,{enumerable:!0,get:r[n]});let s=e.r(90809),o=e.r(43476),a=s._(e.r(71645)),l=e.r(95057),u=e.r(8372),h=e.r(18581),d=e.r(18967),c=e.r(5550);e.r(33525);let p=e.r(88540),m=e.r(91949),f=e.r(73668),g=e.r(9396);function y(t){var i,r;let n,s,y,[b,x]=(0,a.useOptimistic)(m.IDLE_LINK_STATUS),w=(0,a.useRef)(null),{href:k,as:P,children:S,prefetch:T=null,passHref:C,replace:E,shallow:M,scroll:j,onClick:A,onMouseEnter:V,onTouchStart:R,legacyBehavior:L=!1,onNavigate:D,transitionTypes:O,ref:B,unstable_dynamicOnHover:I,...z}=t;n=S,L&&("string"==typeof n||"number"==typeof n)&&(n=(0,o.jsx)("a",{children:n}));let N=a.default.useContext(u.AppRouterContext),F=!1!==T,_=!1!==T?null===(r=T)||"auto"===r?g.FetchStrategy.PPR:g.FetchStrategy.Full:g.FetchStrategy.PPR,$="string"==typeof(i=P||k)?i:(0,l.formatUrl)(i);if(L){if(n?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});s=a.default.Children.only(n)}let U=L?s&&"object"==typeof s&&s.ref:B,W=a.default.useCallback(e=>(null!==N&&(w.current=(0,m.mountLinkInstance)(e,$,N,_,F,x)),()=>{w.current&&((0,m.unmountLinkForCurrentNavigation)(w.current),w.current=null),(0,m.unmountPrefetchableInstance)(e)}),[F,$,N,_,x]),H={ref:(0,h.useMergedRef)(W,U),onClick(t){L||"function"!=typeof A||A(t),L&&s.props&&"function"==typeof s.props.onClick&&s.props.onClick(t),!N||t.defaultPrevented||function(t,i,r,n,s,o,l){if("u">typeof window){let u,{nodeName:h}=t.currentTarget;if("A"===h.toUpperCase()&&((u=t.currentTarget.getAttribute("target"))&&"_self"!==u||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,f.isLocalURL)(i)){n&&(t.preventDefault(),location.replace(i));return}if(t.preventDefault(),o){let e=!1;if(o({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:d}=e.r(99781);a.default.startTransition(()=>{d(i,n?"replace":"push",!1===s?p.ScrollBehavior.NoScroll:p.ScrollBehavior.Default,r.current,l)})}}(t,$,w,E,j,D,O)},onMouseEnter(e){L||"function"!=typeof V||V(e),L&&s.props&&"function"==typeof s.props.onMouseEnter&&s.props.onMouseEnter(e),N&&F&&(0,m.onNavigationIntent)(e.currentTarget,!0===I)},onTouchStart:function(e){L||"function"!=typeof R||R(e),L&&s.props&&"function"==typeof s.props.onTouchStart&&s.props.onTouchStart(e),N&&F&&(0,m.onNavigationIntent)(e.currentTarget,!0===I)}};return(0,d.isAbsoluteUrl)($)?H.href=$:L&&!C&&("a"!==s.type||"href"in s.props)||(H.href=(0,c.addBasePath)($)),y=L?a.default.cloneElement(s,H):(0,o.jsx)("a",{...z,...H,children:n}),(0,o.jsx)(v.Provider,{value:b,children:y})}e.r(84508);let v=(0,a.createContext)(m.IDLE_LINK_STATUS),b=()=>(0,a.useContext)(v);("function"==typeof i.default||"object"==typeof i.default&&null!==i.default)&&void 0===i.default.__esModule&&(Object.defineProperty(i.default,"__esMo
1dule",{value:!0}),Object.assign(i.default,i),t.exports=i.default)},88143,(e,t,i)=>{"use strict";function r({widthInt:e,heightInt:t,blurWidth:i,blurHeight:n,blurDataURL:s,objectFit:o}){let a=i?40*i:e,l=n?40*n:t,u=a&&l?`viewBox='0 0 ${a} ${l}'`:"";return`%3Csvg xmlns='http://www.w3.org/2000/svg' ${u}%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='${u?"none":"contain"===o?"xMidYMid":"cover"===o?"xMidYMid slice":"none"}' style='filter: url(%23b);' href='${s}'/%3E%3C/svg%3E`}Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"getImageBlurSvg",{enumerable:!0,get:function(){return r}})},87690,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var r={VALID_LOADERS:function(){return s},imageConfigDefault:function(){return o}};for(var n in r)Object.defineProperty(i,n,{enumerable:!0,get:r[n]});let s=["default","imgix","cloudinary","akamai","custom"],o={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:14400,formats:["image/webp"],maximumDiskCacheSize:void 0,maximumRedirects:3,maximumResponseBody:5e7,dangerouslyAllowLocalIP:!1,dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:[75],unoptimized:!1,customCacheHandler:!1}},8927,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"getImgProps",{enumerable:!0,get:function(){return u}}),e.r(33525);let r=e.r(43369),n=e.r(88143),s=e.r(87690),o=["-moz-initial","fill","none","scale-down",void 0];function a(e){return void 0!==e.default}function l(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function u({src:e,sizes:t,unoptimized:i=!1,priority:h=!1,preload:d=!1,loading:c,className:p,quality:m,width:f,height:g,fill:y=!1,style:v,overrideSrc:b,onLoad:x,onLoadingComplete:w,placeholder:k="empty",blurDataURL:P,fetchPriority:S,decoding:T="async",layout:C,objectFit:E,objectPosition:M,lazyBoundary:j,lazyRoot:A,...V},R){var L;let D,O,B,{imgConf:I,showAltText:z,blurComplete:N,defaultLoader:F}=R,_=I||s.imageConfigDefault;if("allSizes"in _)D=_;else{let e=[..._.deviceSizes,..._.imageSizes].sort((e,t)=>e-t),t=_.deviceSizes.sort((e,t)=>e-t),i=_.qualities?.sort((e,t)=>e-t);D={..._,allSizes:e,deviceSizes:t,qualities:i}}if(void 0===F)throw Object.defineProperty(Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});let $=V.loader||F;delete V.loader,delete V.srcSet;let U="__next_img_default"in $;if(U){if("custom"===D.loader)throw Object.defineProperty(Error(`Image with src "${e}" is missing "loader" prop.
2Read more: https://nextjs.org/docs/messages/next-image-missing-loader`),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{let e=$;$=t=>{let{config:i,...r}=t;return e(r)}}if(C){"fill"===C&&(y=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[C];e&&(v={...v,...e});let i={responsive:"100vw",fill:"100vw"}[C];i&&!t&&(t=i)}let W="",H=l(f),G=l(g);if((L=e)&&"object"==typeof L&&(a(L)||void 0!==L.src)){let t=a(e)?e.default:e;if(!t.src)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ${JSON.stringify(t)}`),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!t.height||!t.width)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ${JSON.stringify(t)}
2`),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(O=t.blurWidth,B=t.blurHeight,P=P||t.blurDataURL,W=t.src,!y)if(H||G){if(H&&!G){let e=H/t.width;G=Math.round(t.height*e)}else if(!H&&G){let e=G/t.height;H=Math.round(t.width*e)}}else H=t.width,G=t.height}let X=!h&&!d&&("lazy"===c||void 0===c);(!(e="string"==typeof e?e:W)||e.startsWith("data:")||e.startsWith("blob:"))&&(i=!0,X=!1),D.unoptimized&&(i=!0),U&&!D.dangerouslyAllowSVG&&e.split("?",1)[0].endsWith(".svg")&&(i=!0);let Y=l(m),K=Object.assign(y?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:E,objectPosition:M}:{},z?{}:{color:"transparent"},v),q=N||"empty"===k?null:"blur"===k?`url("data:image/svg+xml;charset=utf-8,${(0,n.getImageBlurSvg)({widthInt:H,heightInt:G,blurWidth:O,blurHeight:B,blurDataURL:P||"",objectFit:K.objectFit})}")`:`url("${k}")`,Z=o.includes(K.objectFit)?"fill"===K.objectFit?"100% 100%":"cover":K.objectFit,J=q?{backgroundSize:Z,backgroundPosition:K.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:q}:{},Q=function({config:e,src:t,unoptimized:i,width:n,quality:s,sizes:o,loader:a}){if(i){if(t.startsWith("/")&&!t.startsWith("//")){let e=(0,r.getDeploymentId)();if(e){let i=t.indexOf("?");if(-1!==i){let r=new URLSearchParams(t.slice(i+1));r.get("dpl")||(r.append("dpl",e),t=t.slice(0,i)+"?"+r.toString())}else t+=`?dpl=${e}`}}return{src:t,srcSet:void 0,sizes:void 0}}let{widths:l,kind:u}=function({deviceSizes:e,allSizes:t},i,r){if(r){let i=/(^|\s)(1?\d?\d)vw/g,n=[];for(let e;e=i.exec(r);)n.push(parseInt(e[2]));if(n.length){let i=.01*Math.min(...n);return{widths:t.filter(t=>t>=e[0]*i),kind:"w"}}return{widths:t,kind:"w"}}return"number"!=typeof i?{widths:e,kind:"w"}:{widths:[...new Set([i,2*i].map(e=>t.find(t=>t>=e)||t[t.length-1]))],kind:"x"}}(e,n,o),h=l.length-1;return{sizes:o||"w"!==u?o:"100vw",srcSet:l.map((i,r)=>`${a({config:e,src:t,quality:s,width:i})} ${"w"===u?i:r+1}${u}`).join(", "),src:a({config:e,src:t,quality:s,width:l[h]})}}({config:D,src:e,unoptimized:i,width:H,quality:Y,sizes:t,loader:$}),ee=X?"lazy":c;return{props:{...V,loading:ee,fetchPriority:S,width:H,height:G,decoding:T,className:p,style:{...K,...J},sizes:Q.sizes,srcSet:Q.srcSet,src:b||Q.src},meta:{unoptimized:i,preload:d||h,placeholder:k,fill:y}}}},98879,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return a}});let r=e.r(71645),n="u"<typeof window,s=n?()=>{}:r.useLayoutEffect,o=n?()=>{}:r.useEffect;function a(e){let{headManager:t,reduceComponentsToState:i}=e;function a(){if(t&&t.mountedInstances){let e=r.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(i(e))}}return n&&(t?.mountedInstances?.add(e.children),a()),s(()=>(t?.mountedInstances?.add(e.children),()=>{t?.mountedInstances?.delete(e.children)})),s(()=>(t&&(t._pendingUpdate=a),()=>{t&&(t._pendingUpdate=a)})),o(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},25633,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var r={default:function(){return f},defaultHead:function(){return d}};for(var n in r)Object.defineProperty(i,n,{enumerable:!0,get:r[n]});let s=e.r(55682),o=e.r(90809),a=e.r(43476),l=o._(e.r(71645)),u=s._(e.r(98879)),h=e.r(42732);function d(){return[(0,a.jsx)("meta",{charSet:"utf-8"},"charset"),(0,a.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")]}function c(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===l.default.Fragment?e.concat(l.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}e.r(33525);let p=["name","httpEquiv","charSet","itemProp"];function m(e){let t,i,r,n;return e.reduce(c,[]).reverse().concat(d().reverse()).filter((t=new Set,i=new Set,r=new Set,n={},e=>{let s=!0,o=!1;if(e.key&&"number"!=typeof e.key&&e.key.indexOf("$")>0){o=!0;let i=e.key.slice(e.key.indexOf("$")+1);t.has(i)?s=!1:t.add(i)}switch(e.type){case"title":case"base":i.has(e.type)?s=!1:i.add(e.type);break;case"meta":for(let t=0,i=p.length;t<i;t++){let i=p[t];if(e.props.hasOwnProperty(i))if("charSet"===i)r.has(i)?s=!1:r.add(i);else{let t=e.props[i],r=n[i]||new Set;("name"!==i||!o)&&r.has(t)?s=!1:(r.add(t),n[i]=r)}}}return s})).reverse().map((e,t)=>{let i=e.key||t;return l.default.cloneElement(e,{key:i})})}let f=function({children:e}){let t=(0,l.useContext)(h.HeadManagerContext);return(0,a.jsx)(u.default,{reduceComponentsToState:m,headManager:t,children:e})};("function"==typeof i.default||"object"==typeof i.default&&null!==i.default)&&void 0===i.default.__esModule&&(Object.defineProperty(i.default,"__esMo
2dule",{value:!0}),Object.assign(i.default,i),t.exports=i.default)},18556,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"ImageConfigContext",{enumerable:!0,get:function(){return s}});let r=e.r(55682)._(e.r(71645)),n=e.r(87690),s=r.default.createContext(n.imageConfigDefault)},65856,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"RouterContext",{enumerable:!0,get:function(){return r}});let r=e.r(55682)._(e.r(71645)).default.createContext(null)},70965,(e,t,i)=>{"use strict";function r(e,t){let i=e||75;return t?.qualities?.length?t.qualities.reduce((e,t)=>Math.abs(t-i)<Math.abs(e-i)?t:e,t.qualities[0]):i}Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"findClosestQuality",{enumerable:!0,get:function(){return r}})},1948,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return o}});let r=e.r(70965),n=e.r(43369);function s({config:e,src:t,width:i,quality:o}){let a=(0,n.getDeploymentId)();if(t.startsWith("/")&&!t.startsWith("//")){let e=t.indexOf("?");if(-1!==e){let i=new URLSearchParams(t.slice(e+1)),r=i.get("dpl");if(r){a=r,i.delete("dpl");let n=i.toString();t=t.slice(0,e)+(n?"?"+n:"")}}}if(t.startsWith("/")&&t.includes("?")&&e.localPatterns?.length===1&&"**"===e.localPatterns[0].pathname&&""===e.localPatterns[0].search)throw Object.defineProperty(Error(`Image with src "${t}" is using a query string which is not configured in images.localPatterns.
3Read more: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns`),"__NEXT_ERROR_CODE",{value:"E871",enumerable:!1,configurable:!0});let l=(0,r.findClosestQuality)(o,e);return`${e.path}?url=${encodeURIComponent(t)}&w=${i}&q=${l}${t.startsWith("/")&&a?`&dpl=${a}`:""}`}s.__next_img_default=!0;let o=s},85437,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"Image",{enumerable:!0,get:function(){return x}});let r=e.r(55682),n=e.r(90809),s=e.r(43476),o=n._(e.r(71645)),a=r._(e.r(74080)),l=r._(e.r(25633)),u=e.r(8927),h=e.r(87690),d=e.r(18556);e.r(33525);let c=e.r(65856),p=r._(e.r(1948)),m=e.r(18581),f={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image/",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0};function g(e,t,i,r,n,s,o){let a=e?.src;e&&e["data-loaded-src"]!==a&&(e["data-loaded-src"]=a,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&n(!0),i?.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let r=!1,n=!1;i.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>r,isPropagationStopped:()=>n,persist:()=>{},preventDefault:()=>{r=!0,t.preventDefault()},stopPropagation:()=>{n=!0,t.stopPropagation()}})}r?.current&&r.current(e)}}))}function y(e){return o.use?{fetchPriority:e}:{fetchpriority:e}}"u"<typeof window&&(globalThis.__NEXT_IMAGE_IMPORTED=!0);let v=(0,o.forwardRef)(({src:e,srcSet:t,sizes:i,height:r,width:n,decoding:a,className:l,style:u,fetchPriority:h,placeholder:d,loading:c,unoptimized:p,fill:f,onLoadRef:v,onLoadingCompleteRef:b,setBlurComplete:x,setShowAltText:w,sizesInput:k,onLoad:P,onError:S,...T},C)=>{let E=(0,o.useCallback)(e=>{e&&(S&&(e.src=e.src),e.complete&&g(e,d,v,b,x,p,k))},[e,d,v,b,x,S,p,k]),M=(0,m.useMergedRef)(C,E);return(0,s.jsx)("img",{...T,...y(h),loading:c,width:n,height:r,decoding:a,"data-nimg":f?"fill":"1",className:l,style:u,sizes:i,srcSet:t,src:e,ref:M,onLoad:e=>{g(e.currentTarget,d,v,b,x,p,k)},onError:e=>{w(!0),"empty"!==d&&x(!0),S&&S(e)}})});function b({isAppRouter:e,imgAttributes:t}){let i={as:"image",imageSrcSet:t.srcSet,imageSizes:t.sizes,crossOrigin:t.crossOrigin,referrerPolicy:t.referrerPolicy,...y(t.fetchPriority)};return e&&a.default.preload?(a.default.preload(t.src,i),null):(0,s.jsx)(l.default,{children:(0,s.jsx)("link",{rel:"preload",href:t.srcSet?void 0:t.src,...i},"__nimg-"+t.src+t.srcSet+t.sizes)})}let x=(0,o.forwardRef)((e,t)=>{let i=(0,o.useContext)(c.RouterContext),r=(0,o.useContext)(d.ImageConfigContext),n=(0,o.useMemo)(()=>{let e=f||r||h.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>
3e-t),i=e.deviceSizes.sort((e,t)=>e-t),n=e.qualities?.sort((e,t)=>e-t);return{...e,allSizes:t,deviceSizes:i,qualities:n,localPatterns:"u"<typeof window?r?.localPatterns:e.localPatterns}},[r]),{onLoad:a,onLoadingComplete:l}=e,m=(0,o.useRef)(a);(0,o.useEffect)(()=>{m.current=a},[a]);let g=(0,o.useRef)(l);(0,o.useEffect)(()=>{g.current=l},[l]);let[y,x]=(0,o.useState)(!1),[w,k]=(0,o.useState)(!1),{props:P,meta:S}=(0,u.getImgProps)(e,{defaultLoader:p.default,imgConf:n,blurComplete:y,showAltText:w});return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(v,{...P,unoptimized:S.unoptimized,placeholder:S.placeholder,fill:S.fill,onLoadRef:m,onLoadingCompleteRef:g,setBlurComplete:x,setShowAltText:k,sizesInput:e.sizes,ref:t}),S.preload?(0,s.jsx)(b,{isAppRouter:!i,imgAttributes:P}):null]})});("function"==typeof i.default||"object"==typeof i.default&&null!==i.default)&&void 0===i.default.__esModule&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),t.exports=i.default)},94909,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var r={default:function(){return h},getImageProps:function(){return u}};for(var n in r)Object.defineProperty(i,n,{enumerable:!0,get:r[n]});let s=e.r(55682),o=e.r(8927),a=e.r(85437),l=s._(e.r(1948));function u(e){let{props:t}=(0,o.getImgProps)(e,{defaultLoader:l.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image/",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0}});for(let[e,i]of Object.entries(t))void 0===i&&delete t[e];return{props:t}}let h=a.Image},57688,(e,t,i)=>{t.exports=e.r(94909)},46932,31178,21476,74008,64978,72846,e=>{"use strict";let t,i,r,n,s=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],o=new Set(s),a=(e,t,i)=>i>t?t:i<e?e:i,l={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},u={...l,transform:e=>a(0,1,e)},h={...l,default:1},d=e=>Math.round(1e5*e)/1e5,c=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,p=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,m=(e,t)=>i=>!!("string"==typeof i&&p.test(i)&&i.startsWith(e)||t&&null!=i&&Object.prototype.hasOwnProperty.call(i,t)),f=(e,t,i)=>r=>{if("string"!=typeof r)return r;let[n,s,o,a]=r.match(c);return{[e]:parseFloat(n),[t]:parseFloat(s),[i]:parseFloat(o),alpha:void 0!==a?parseFloat(a):1}},g={...l,transform:e=>Math.round(a(0,255,e))},y={test:m("rgb","red"),parse:f("red","green","blue"),transform:({red:e,green:t,blue:i,alpha:r=1})=>"rgba("+g.transform(e)+", "+g.transform(t)+", "+g.transform(i)+", "+d(u.transform(r))+")"},v={test:m("#"),parse:function(e){let t="",i="",r="",n="";return e.length>5?(t=e.substring(1,3),i=e.substring(3,5),r=e.substring(5,7),n=e.substring(7,9)):(t=e.substring(1,2),i=e.substring(2,3),r=e.substring(3,4),n=e.substring(4,5),t+=t,i+=i,r+=r,n+=n),{red:parseInt(t,16),green:parseInt(i,16),blue:parseInt(r,16),alpha:n?parseInt(n,16)/255:1}},transform:y.transform},b=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),x=b("deg"),w=b("%"),k=b("px"),P=b("vh"),S=b("vw"),T={...w,parse:e=>w.parse(e)/100,transform:e=>w.transform(100*e)},C={test:m("hsl","hue"),parse:f("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:i,alpha:r=1})=>"hsla("+Math.round(e)+", "+w.transform(d(t))+", "+w.transform(d(i))+", "+d(u.transform(r))+")"},E={test:e=>y.test(e)||v.test(e)||C.test(e),parse:e=>y.test(e)?y.parse(e):C.test(e)?C.parse(e):v.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?y.transform(e):C.transform(e),getAnimatableNone:e=>{let t=E.parse(e);return t.alpha=0,E.transform(t)}},M=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,j="number",A="color",V=/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 R(e){let t=e.toString(),i=[],r={color:[],number:[],var:[]},n=[],s=0,o=t.replace(V,e=>(E.test(e)?(r.color.push(s),n.push(A),i.push(E.parse(e))):e.startsWith("var(")?(r.var.push(s),n.push("var"),i.push(e)):(r.number.push(s),n.push(j),i.push(parseFloat(e))),++s,"${}")).split("${}");return{values:i,split:o,indexes:r,types:n}}function L({split:e,types:t}){let i=e.length;return r=>{let n="";for(let s=0;s<i;s++)if(n+=e[s],void 0!==r[s]){let e=t[s];e===j?n+=d(r[s]):e===A?n+=E.transform(r[s]):n+=r[s]}return n}}let D={test:function(e){return isNaN(e)&&"string"==typeof e&&(e.match(c)?.length||0)+(e.match(M)?.length||0)>0},parse:function(e){return R(e).values},createTransformer:function(e){return L(R(e))},getAnimatableNone:function(e){let t=R(e);return L(t)(t.values.map((e,i)=>((e,t)=>"number"==typeof e?t?.trim().endsWith("/")?e:0:"number"==typeof e?0:E.test(e)?E.getAnimatableNone(e):e)(e,t.split[i])))}},O=new Set(["brightness","contrast","saturate","opacity"]);function B(e){let[t,i]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[r]=i.match(c)||[];
3if(!r)return e;let n=i.replace(r,""),s=+!!O.has(t);return r!==i&&(s*=100),t+"("+s+n+")"}let I=/\b([a-z-]*)\(.*?\)/gu,z={...D,getAnimatableNone:e=>{let t=e.match(I);return t?t.map(B).join(" "):e}},N={...D,getAnimatableNone:e=>{let t=D.parse(e);return D.createTransformer(e)(t.map(e=>"number"==typeof e?0:"object"==typeof e?{...e,alpha:1}:e))}},F={...l,transform:Math.round},_={borderWidth:k,borderTopWidth:k,borderRightWidth:k,borderBottomWidth:k,borderLeftWidth:k,borderRadius:k,borderTopLeftRadius:k,borderTopRightRadius:k,borderBottomRightRadius:k,borderBottomLeftRadius:k,width:k,maxWidth:k,height:k,maxHeight:k,top:k,right:k,bottom:k,left:k,inset:k,insetBlock:k,insetBlockStart:k,insetBlockEnd:k,insetInline:k,insetInlineStart:k,insetInlineEnd:k,padding:k,paddingTop:k,paddingRight:k,paddingBottom:k,paddingLeft:k,paddingBlock:k,paddingBlockStart:k,paddingBlockEnd:k,paddingInline:k,paddingInlineStart:k,paddingInlineEnd:k,margin:k,marginTop:k,marginRight:k,marginBottom:k,marginLeft:k,marginBlock:k,marginBlockStart:k,marginBlockEnd:k,marginInline:k,marginInlineStart:k,marginInlineEnd:k,fontSize:k,backgroundPositionX:k,backgroundPositionY:k,rotate:x,rotateX:x,rotateY:x,rotateZ:x,scale:h,scaleX:h,scaleY:h,scaleZ:h,skew:x,skewX:x,skewY:x,distance:k,translateX:k,translateY:k,translateZ:k,x:k,y:k,z:k,perspective:k,transformPerspective:k,opacity:u,originX:T,originY:T,originZ:k,zIndex:F,fillOpacity:u,strokeOpacity:u,numOctaves:F},$={..._,color:E,backgroundColor:E,outlineColor:E,fill:E,stroke:E,borderColor:E,borderTopColor:E,borderRightColor:E,borderBottomColor:E,borderLeftColor:E,filter:z,WebkitFilter:z,mask:N,WebkitMask:N},U=e=>$[e],W=()=>({translate:0,scale:1,origin:0,originPoint:0}),H=()=>({x:W(),y:W()}),G=()=>({min:0,max:0}),X=()=>({x:G(),y:G()});var Y=e.i(83411);let K=new Set(["width","height","top","left","right","bottom",...s]),q=e=>t=>t.test(e),Z=[l,k,w,x,S,P,{test:e=>"auto"===e,parse:e=>e}],J=e=>Z.find(q(e));var Q=e.i(47167);let ee=()=>{},et=()=>{};Q.default;let ei=e=>t=>"string"==typeof t&&t.startsWith(e),er=ei("--"),en=ei("var(--"),es=e=>!!en(e)&&eo.test(e.split("/*")[0].trim()),eo=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function ea(e){return"string"==typeof e&&e.split("/*")[0].includes("var(--")}let el=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,eu=e=>180*e/Math.PI,eh=e=>ec(eu(Math.atan2(e[1],e[0]))),ed={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:eh,rotateZ:eh,skewX:e=>eu(Math.atan(e[1])),skewY:e=>eu(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},ec=e=>((e%=360)<0&&(e+=360),e),ep=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),em=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),ef={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:ep,scaleY:em,scale:e=>(ep(e)+em(e))/2,rotateX:e=>ec(eu(Math.atan2(e[6],e[5]))),rotateY:e=>ec(eu(Math.atan2(-e[2],e[0]))),rotateZ:eh,rotate:eh,skewX:e=>eu(Math.atan(e[4])),skewY:e=>eu(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function eg(e){return+!!e.includes("scale")}function ey(e,t){let i,r;if(!e||"none"===e)return eg(t);let n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(n)i=ef,r=n;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=ed,r=t}if(!r)return eg(t);let s=i[t],o=r[1].split(",").map(ev);return"function"==typeof s?s(o):o[s]}function ev(e){return parseFloat(e.trim())}let eb=e=>e===l||e===k,ex=new Set(["x","y","z"]),ew=s.filter(e=>!ex.has(e)),ek={width:({x:e},{paddingLeft:t="0",paddingRight:i="0",boxSizing:r})=>{let n=e.max-e.min;return"border-box"===r?n:n-parseFloat(t)-parseFloat(i)},height:({y:e},{paddingTop:t="0",paddingBottom:i="0",boxSizing:r})=>{let n=e.max-e.min;return"border-box"===r?n:n-parseFloat(t)-parseFloat(i)},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})=>ey(t,"x"),y:(e,{transform:t})=>ey(t,"y")};ek.translateX=ek.x,ek.translateY=ek.y;let eP=e=>e,eS={},eT=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function eC(e,t){let i=!1,r=!0,n={delta:0,timestamp:0,isProcessing:!1},s=()=>i=!0,o=eT.reduce((e,i)=>(e[i]=function(e,t){let i=new Set,r=new Set,n=!1,s=!1,o=new WeakSet,a={delta:0,timestamp:0,isProcessing:!1},l=0;function u(t){o.has(t)&&(h.schedule(t),e()),l++,t(a)}let h={schedule:(e,t=!1,s=!1)=>{let a=s&&n?i:r;return t&&o.add(e),a.add(e),e},cancel:e=>{r.delete(e),o.delete(e)},process:e=>{if(a=e,n){s=!0;return}n=!0;let o=i;
3i=r,r=o,i.forEach(u),t,l=0,i.clear(),n=!1,s&&(s=!1,h.process(e))}};return h}(s,t?i:void 0),e),{}),{setup:a,read:l,resolveKeyframes:u,preUpdate:h,update:d,preRender:c,render:p,postRender:m}=o,f=()=>{let s=eS.useManualTiming,o=s?n.timestamp:performance.now();i=!1,s||(n.delta=r?1e3/60:Math.max(Math.min(o-n.timestamp,40),1)),n.timestamp=o,n.isProcessing=!0,a.process(n),l.process(n),u.process(n),h.process(n),d.process(n),c.process(n),p.process(n),m.process(n),n.isProcessing=!1,i&&t&&(r=!1,e(f))};return{schedule:eT.reduce((t,s)=>{let a=o[s];return t[s]=(t,s=!1,o=!1)=>(!i&&(i=!0,r=!0,n.isProcessing||e(f)),a.schedule(t,s,o)),t},{}),cancel:e=>{for(let t=0;t<eT.length;t++)o[eT[t]].cancel(e)},state:n,steps:o}}let{schedule:eE,cancel:eM,state:ej,steps:eA}=eC("u">typeof requestAnimationFrame?requestAnimationFrame:eP,!0),eV=new Set,eR=!1,eL=!1,eD=!1;function eO(){if(eL){let e=Array.from(eV).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),i=new Map;t.forEach(e=>{let t,r=(t=[],ew.forEach(i=>{let r=e.getValue(i);void 0!==r&&(t.push([i,r.get()]),r.set(+!!i.startsWith("scale")))}),t);r.length&&(i.set(e,r),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=i.get(e);t&&t.forEach(([t,i])=>{e.getValue(t)?.set(i)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)})}eL=!1,eR=!1,eV.forEach(e=>e.complete(eD)),eV.clear()}function eB(){eV.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(eL=!0)})}class eI{constructor(e,t,i,r,n,s=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=i,this.motionValue=r,this.element=n,this.isAsync=s}scheduleResolve(){this.state="scheduled",this.isAsync?(eV.add(this),eR||(eR=!0,eE.read(eB),eE.resolveKeyframes(eO))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:i,motionValue:r}=this;if(null===e[0]){let n=r?.get(),s=e[e.length-1];if(void 0!==n)e[0]=n;else if(i&&t){let r=i.readValue(t,s);null!=r&&(e[0]=r)}void 0===e[0]&&(e[0]=s),r&&void 0===n&&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.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),eV.delete(this)}cancel(){"scheduled"===this.state&&(eV.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}let ez=new Set([z,N]);function eN(e,t){let i=U(e);return ez.has(i)||(i=D),i.getAnimatableNone?i.getAnimatableNone(t):void 0}let eF=new Set(["auto","none","0"]);class e_ extends eI{constructor(e,t,i,r,n){super(e,t,i,r,n,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:i}=this;if(!t||!t.current)return;super.readKeyframes();for(let i=0;i<e.length;i++){let r=e[i];if("string"==typeof r&&es(r=r.trim())){let n=function e(t,i,r=1){et(r<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[n,s]=function(e){let t=el.exec(e);if(!t)return[,];let[,i,r,n]=t;return[`--${i??r}`,n]}(t);if(!n)return;let o=window.getComputedStyle(i).getPropertyValue(n);if(o){let e=o.trim();return/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e)?parseFloat(e):e}return es(s)?e(s,i,r+1):s}(r,t.current);void 0!==n&&(e[i]=n),i===e.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!K.has(i)||2!==e.length)return;let[r,n]=e,s=J(r),o=J(n);if(ea(r)!==ea(n)&&ek[i]){this.needsMeasurement=!0;return}if(s!==o)if(eb(s)&&eb(o))for(let t=0;t<e.length;t++){let i=e[t];"string"==typeof i&&(e[t]=parseFloat(i))}else ek[i]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,i=[];for(let t=0;t<e.length;t++)(null===e[t]||function(e){if("number"==typeof e)return 0===e;if(null===e)return!0;return"none"===e||"0"===e||/^0[^.\s]+$/u.test(e)}(e[t]))&&i.push(t);i.length&&function(e,t,i){let r,n=0;for(;n<e.length&&!r;){let t=e[n];"string"==typeof t&&!eF.has(t)&&R(t).values.length&&(r=e[n]),n++}if(r&&i)for(let n of t)e[n]=eN(i,r)}(e,i,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:i}=this;if(!e||!e.current)return;"height"===i&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=ek[i](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let r=t[t.length-1];void 0!==r&&e.getValue(i,r).jump(r,!1)}measureEndState(){let{element:e,name:t,unresolvedKeyframes:i}=this;if(!e||!e.current)return;let r=e.getValue(t);r&&r.jump(this.measuredOrigin,!1);let n=i.length-1,s=i[n];i[n]=ek[t](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==s&&void 0===this.finalKeyframe&&(this.finalKeyframe=s),this.removedTransforms?.length&&this.removedTransforms.forEac
3h(([t,i])=>{e.getValue(t).set(i)}),this.resolveNoneKeyframes()}}let e$=e=>1e3*e;function eU(e,t){-1===e.indexOf(t)&&e.push(t)}function eW(e,t){let i=e.indexOf(t);i>-1&&e.splice(i,1)}class eH{constructor(){this.subscriptions=[]}add(e){return eU(this.subscriptions,e),()=>eW(this.subscriptions,e)}notify(e,t,i){let r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](e,t,i);else for(let n=0;n<r;n++){let r=this.subscriptions[n];r&&r(e,t,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function eG(e,t,i){t.startsWith("--")?e.style.setProperty(t,i):e.style[t]=i}function eX(e){let t;return()=>(void 0===t&&(t=e()),t)}let eY={};function eK(e,t){let i=eX(e);return()=>eY[t]??i()}let eq=eK(()=>void 0!==window.ScrollTimeline,"scrollTimeline"),eZ=e=>null!==e;function eJ(e,{repeat:t,repeatType:i="loop"},r,n=1){let s=e.filter(eZ),o=n<0||t&&"loop"!==i&&t%2==1?0:s.length-1;return o&&void 0!==r?r:s[o]}class eQ{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,t){return this.finished.then(e,t)}}let e0={layout:0,mainThread:0,waapi:0},e1=e=>Array.isArray(e)&&"number"==typeof e[0],e2=eK(()=>{try{document.createElement("div").animate({opacity:0}
3,{easing:"linear(0, 1)"})}catch(e){return!1}return!0},"linearEasing"),e5=(e,t,i=10)=>{let r="",n=Math.max(Math.round(t/i),2);for(let t=0;t<n;t++)r+=Math.round(1e4*e(t/(n-1)))/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},e3=([e,t,i,r])=>`cubic-bezier(${e}, ${t}, ${i}, ${r})`,e4={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:e3([0,.65,.55,1]),circOut:e3([.55,0,1,.45]),backIn:e3([.31,.01,.66,-.59]),backOut:e3([.33,1.53,.69,.99])};function e6(e){return"function"==typeof e&&"applyToOptions"in e}class e8 extends eQ{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;const{element:t,name:i,keyframes:r,pseudoElement:n,allowFlatten:s=!1,finalKeyframe:o,onComplete:a}=e;this.isPseudoElement=!!n,this.allowFlatten=s,this.options=e,et("string"!=typeof e.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");const l=function({type:e,...t}){return e6(e)&&e2()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}(e);this.animation=function(e,t,i,{delay:r=0,duration:n=300,repeat:s=0,repeatType:o="loop",ease:a="easeOut",times:l}={},u){let h={[t]:i};l&&(h.offset=l);let d=function e(t,i){if(t)return"function"==typeof t?e2()?e5(t,i):"ease-out":e1(t)?e3(t):Array.isArray(t)?t.map(t=>e(t,i)||e4.easeOut):e4[t]}(a,n);Array.isArray(d)&&(h.easing=d);let c={delay:r,duration:n,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:s+1,direction:"reverse"===o?"alternate":"normal"};u&&(c.pseudoElement=u);let p=e.animate(h,c);return p}(t,i,r,l,n),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!n){let e=eJ(r,this.options,o,this.speed);this.updateMotionValue&&this.updateMotionValue(e),eG(t,i,e),this.animation.cancel()}a?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,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(){let e=this.options?.element;!this.isPseudoElement&&e?.isConnected&&this.animation.commitStyles?.()}get duration(){return Number(this.animation.effect?.getComputedTiming?.().duration||0)/1e3}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+e/1e3}get time(){return(Number(this.animation.currentTime)||0)/1e3}set time(e){let t=null!==this.finishedTime;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=e$(e),t&&this.animation.pause()}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 this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,rangeStart:t,rangeEnd:i,observe:r}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,e&&eq())?(this.animation.timeline=e,t&&(this.animation.rangeStart=t),i&&(this.animation.rangeEnd=i),eP):r(this)}}let e7=new Set(["opacity","clipPath","filter","transform"]),{schedule:e9}=eC(queueMicrotask,!1);function te(){i=void 0}let tt={now:()=>(void 0===i&&tt.set(ej.isProcessing||eS.useManualTiming?ej.timestamp:performance.now()),i),set:e=>{i=e,queueMicrotask(te)}};class ti{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let t=tt.now();if(this.updatedAt!==t&&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=t.owner}setCurrent(e){this.current=e,this.updatedAt=tt.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=!isNaN(parseFloat(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 eH);let i=this.events[e].add(t);return"change"===e?()=>{i(),eE.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,t,i){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-i}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 t&&t.push(this),this.current}getPrevious(){return this.prev}getVelocity(){var e;let t=tt.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let i=Math.min(this.updatedAt-this.prevUpdatedAt,30);return e=parseFloat(this.current)-parseFloat(this.prevFrameValue),i?1e3/i*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 tr(e,t){return new ti(e,t)}let tn=[...Z,E,D],ts=new WeakMap;function to(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}function ta(e){return"string"==typeof e||Array.isArray(e)}let tl=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],tu=["initial",...tl];function th(e){return to(e.animate)||tu.some(t=>ta(e[t]))}function td(e){return!!(th(e)||e.variants)}let tc={current:null},tp={current:!1},tm="u">typeof window;function tf(e){let t=[{},{}];
3return e?.values.forEach((e,i)=>{t[0][i]=e.get(),t[1][i]=e.getVelocity()}),t}function tg(e,t,i,r){if("function"==typeof t){let[n,s]=tf(r);t=t(void 0!==i?i:e.custom,n,s)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){let[n,s]=tf(r);t=t(void 0!==i?i:e.custom,n,s)}return t}let ty=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],tv={};class tb{scrapeMotionValuesFromProps(e,t,i){return{}}constructor({parent:e,props:t,presenceContext:i,reducedMotionConfig:r,skipAnimations:n,blockInitialAnimation:s,visualState:o},a={}){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=eI,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=tt.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,eE.render(this.render,!1,!0))};const{latestValues:l,renderState:u}=o;this.latestValues=l,this.baseTarget={...l},this.initialValues=t.initial?{...l}:{},this.renderState=u,this.parent=e,this.props=t,this.presenceContext=i,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.skipAnimationsConfig=n,this.options=a,this.blockInitialAnimation=!!s,this.isControllingVariants=th(t),this.isVariantNode=td(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);const{willChange:h,...d}=this.scrapeMotionValuesFromProps(t,{},this);for(const e in d){const t=d[e];void 0!==l[e]&&(0,Y.isMotionValue)(t)&&t.set(l[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,ts.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,t)=>this.bindToMotionValue(t,e)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(tp.current||function(){if(tp.current=!0,tm)if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>tc.current=e.matches;e.addEventListener("change",t),t()}else tc.current=!1}(),this.shouldReduceMotion=tc.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){for(let e in this.projection&&this.projection.unmount(),eM(this.notifyUpdate),eM(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(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}addChild(e){this.children.add(e),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,t){let i;if(this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)(),t.accelerate&&e7.has(e)&&this.current instanceof HTMLElement){let{factory:i,keyframes:r,times:n,ease:s,duration:o}=t.accelerate,a=new e8({element:this.current,name:e,keyframes:r,times:n,ease:s,duration:e$(o)}),l=i(a);this.valueSubscriptions.set(e,()=>{l(),a.cancel()});return}let r=o.has(e);r&&this.onBindTransform&&this.onBindTransform();let n=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&eE.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});"u">typeof window&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{n(),i&&i(),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 tv){let t=tv[e];if(!t)continue;let{isEnabled:i,Feature:r}=t;if(!this.features[e]&&r&&i(this.props)&&(this.features[e]=new r(this)),this.features[e]){let t=this.features[e];
3t.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):X()}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<ty.length;t++){let i=ty[t];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let r=e["on"+i];r&&(this.propEventSubscriptions[i]=this.on(i,r))}this.prevMotionValues=function(e,t,i){for(let r in t){let n=t[r],s=i[r];if((0,Y.isMotionValue)(n))e.addValue(r,n);else if((0,Y.isMotionValue)(s))e.addValue(r,tr(n,{owner:e}));else if(s!==n)if(e.hasValue(r)){let t=e.getValue(r);!0===t.liveStyle?t.jump(n):t.hasAnimated||t.set(n)}else{let t=e.getStaticValue(r);e.addValue(r,tr(void 0!==t?t:n,{owner:e}))}}for(let r in i)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 i=this.values.get(e);t!==i&&(i&&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 i=this.values.get(e);return void 0===i&&void 0!==t&&(i=tr(null===t?void 0:t,{owner:this}),this.addValue(e,i)),i}readValue(e,t){let i=void 0===this.latestValues[e]&&this.current?this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];if(null!=i){let r,n;if("string"==typeof i&&(r=i,/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(r)||(n=i,/^0[^.\s]+$/u.test(n))))i=parseFloat(i);else{let r;r=i,!tn.find(q(r))&&D.test(t)&&(i=eN(e,t))}this.setBaseTarget(e,(0,Y.isMotionValue)(i)?i.get():i)}return(0,Y.isMotionValue)(i)?i.get():i}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){let t,{initial:i}=this.props;if("string"==typeof i||"object"==typeof i){let r=tg(this.props,i,this.presenceContext?.custom);r&&(t=r[e])}if(i&&void 0!==t)return t;let r=this.getBaseTargetFromProps(this.props,e);return void 0===r||(0,Y.isMotionValue)(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 eH),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){e9.render(this.render)}}class tx extends tb{constructor(){super(...arguments),this.KeyframeResolver=e_}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){let i=e.style;return i?i[t]:void 0}removeValueFromRenderState(e,{vars:t,style:i}){delete t[e],delete i[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;(0,Y.isMotionValue)(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}}function tw(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}let tk=(e,t)=>t&&"number"==typeof e?t.transform(e):e,tP={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},tS=s.length;function tT(e,t,i){let{style:r,vars:n,transformOrigin:a}=e,l=!1,u=!1;for(let e in t){let i=t[e];if(o.has(e)){l=!0;continue}if(er(e)){n[e]=i;continue}{let t=tk(i,_[e]);e.startsWith("origin")?(u=!0,a[e]=t):r[e]=t}}if(!t.transform&&(l||i?r.transform=function(e,t,i){let r="",n=!0;for(let o=0;o<tS;o++){let a=s[o],l=e[a];if(void 0===l)continue;let u=!0;
3if("number"==typeof l)u=l===+!!a.startsWith("scale");else{let e=parseFloat(l);u=a.startsWith("scale")?1===e:0===e}if(!u||i){let e=tk(l,_[a]);if(!u){n=!1;let t=tP[a]||a;r+=`${t}(${e}) `}i&&(t[a]=e)}}return r=r.trim(),i?r=i(t,n?"":r):n&&(r="none"),r}(t,e.transform,i):r.transform&&(r.transform="none")),u){let{originX:e="50%",originY:t="50%",originZ:i=0}=a;r.transformOrigin=`${e} ${t} ${i}`}}let tC={offset:"stroke-dashoffset",array:"stroke-dasharray"},tE={offset:"strokeDashoffset",array:"strokeDasharray"},tM=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function tj(e,{attrX:t,attrY:i,attrScale:r,pathLength:n,pathSpacing:s=1,pathOffset:o=0,...a},l,u,h){if(tT(e,a,u),l){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:d,style:c}=e;for(let e of(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),tM))void 0!==d[e]&&(c[e]=d[e],delete d[e]);void 0!==t&&(d.x=t),void 0!==i&&(d.y=i),void 0!==r&&(d.scale=r),void 0!==n&&function(e,t,i=1,r=0,n=!0){e.pathLength=1;let s=n?tC:tE;e[s.offset]=`${-r}`,e[s.array]=`${t} ${i}`}(d,n,s,o,!1)}let tA=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"]),tV=e=>"string"==typeof e&&"svg"===e.toLowerCase();function tR(e,{style:t,vars:i},r,n){let s,o=e.style;for(s in t)o[s]=t[s];for(s in n?.applyProjectionStyles(o,r),i)o.setProperty(s,i[s])}function tL(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}let tD={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e)if(!k.test(e))return e;else e=parseFloat(e);let i=tL(e,t.target.x),r=tL(e,t.target.y);return`${i}% ${r}%`}},tO=(e,t,i)=>e+(t-e)*i,tB={borderRadius:{...tD,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:tD,borderTopRightRadius:tD,borderBottomLeftRadius:tD,borderBottomRightRadius:tD,boxShadow:{correct:(e,{treeScale:t,projectionDelta:i})=>{let r=D.parse(e);if(r.length>5)return e;let n=D.createTransformer(e),s=+("number"!=typeof r[0]),o=i.x.scale*t.x,a=i.y.scale*t.y;r[0+s]/=o,r[1+s]/=a;let l=tO(o,a,.5);return"number"==typeof r[2+s]&&(r[2+s]/=l),"number"==typeof r[3+s]&&(r[3+s]/=l),n(r)}}};function tI(e,{layout:t,layoutId:i}){return o.has(e)||e.startsWith("origin")||(t||void 0!==i)&&(!!tB[e]||"opacity"===e)}function tz(e,t,i){let r=e.style,n=t?.style,s={};if(!r)return s;for(let t in r)((0,Y.isMotionValue)(r[t])||n&&(0,Y.isMotionValue)(n[t])||tI(t,e)||i?.getValue(t)?.liveStyle!==void 0)&&(s[t]=r[t]);return s}function tN(e,t,i){let r=tz(e,t,i);for(let i in e)((0,Y.isMotionValue)(e[i])||(0,Y.isMotionValue)(t[i]))&&(r[-1!==s.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=e[i]);return r}class tF extends tx{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=X}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(o.has(t)){let e=U(t);return e&&e.default||0}return t=tA.has(t)?t:tw(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,i){return tN(e,t,i)}build(e,t,i){tj(e,t,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(e,t,i,r){for(let i in tR(e,t,void 0,r),t.attrs)e.setAttribute(tA.has(i)?i:tw(i),t.attrs[i])}mount(e){this.isSVGTag=tV(e.tagName),super.mount(e)}}function t_({top:e,left:t,right:i,bottom:r}){return{x:{min:t,max:i},y:{min:e,max:r}}}function t$(e){return void 0===e||1===e}function tU({scale:e,scaleX:t,scaleY:i}){return!t$(e)||!t$(t)||!t$(i)}function tW(e){return tU(e)||tH(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function tH(e){var t,i;return(t=e.x)&&"0%"!==t||(i=e.y)&&"0%"!==i}function tG(e,t,i,r,n){return void 0!==n&&(e=r+n*(e-r)),r+i*(e-r)+t}function tX(e,t=0,i=1,r,n){e.min=tG(e.min,t,i,r,n),e.max=tG(e.max,t,i,r,n)}function tY(e,{x:t,y:i}){tX(e.x,t.translate,t.scale,t.originPoint),tX(e.y,i.translate,i.scale,i.originPoint)}function tK(e,t){e.min+=t,e.max+=t}function tq(e,t,i,r,n=.5){let s=tO(e.min,e.max,n);tX(e,t,i,s,r)}function tZ(e,t){return"string"==typeof e?parseFloat(e)/100*(t.max-t.min):e}function tJ(e,t,i){let r=i??e;tq(e.x,tZ(t.x,r.x),t.scaleX,t.scale,t.originX),tq(e.y,tZ(t.y,r.y),t.scaleY,t.scale,t.originY)}function tQ(e,t){return t_(function(e,t){if(!t)return e;let i=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:i.y,left:i.x,bottom:r.y,right:r.x}}(e.getBoundingClientRect(),t))}class t0 extends tx{constructor(){super(...arguments),this.type="html",this.renderInstance=tR}readValueFromInstance(e,t){if(o.has(t))return this.projection?.isProjecting?eg(t):((e,t)=>{let{transform:i="none"}=getComputedStyle(e);return ey(i,t)})(e,t);{let i=window.getComputedStyle(e),r=(er(t)?i.getPropertyValue(t):i[t])||0;return"string"==typeof r?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return tQ(e,t)}build(e,t,i){tT(e,t,i.transformTemplate)}scrapeMotionValuesFromProps(e,t,i){return tz(e,t,i)}}var t1=e.i(71645);let t2=["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 t5(e){if("string"!=typeof e||e.includes("-"));else if(t2.indexOf(e)>-1||/[A-Z]/u.test(e))return!0;return!1}var t3=e.i(43476);let t4=(0,t1.createContext)({});e.s(["LayoutGroupContext",0,t4],31178);let t6=(0,t1.createContext)({strict:!1});var t8=e.i(37806);let t7=(0,t1.createContext)({});function t9(e){return Array.isArray(e)?e.join(" "):e}let ie=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function it(e,t,i){for(let r in t)(0,Y.isMotionValue)(t[r])||tI(r,i)||(e[r]=t[r])}let ii=()=>({...ie(),attrs:{}});var ir=e.i(98125);function is(e){return(0,Y.isMotionValue)(e)?e.get():e}let io=(0,t1.createContext)(null);e.s(["PresenceContext",0,io],21476);var ia=e.i(47414);let il=e=>(t,i)=>{let r=(0,t1.useContext)(t7),n=(0,t1.useContext)(io),s=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:t},i,r,n){return{latestValues:function(e,t,i,r){let n={},s=r(e,{});for(let e in s)n[e]=is(s[e]);let{initial:o,animate:a}=e,l=th(e),u=td(e);t&&u&&!l&&!1!==e.inherit&&(void 0===o&&(o=t.initial),void 0===a&&(a=t.animate));let h=!!i&&!1===i.initial,d=(h=h||!1===o)?a:o;if(d&&"boolean"!=typeof d&&!to(d)){let t=Array.isArray(d)?d:[d];for(let i=0;i<t.length;i++){let r=tg(e,t[i]);if(r){let{transitionEnd:e,transition:t,...i}=r;for(let e in i){let t=i[e];if(Array.isArray(t)){let e=h?t.length-1:0;t=t[e]}null!==t&&(n[e]=t)}for(let t in e)n[t]=e[t]}}}return n}(i,r,n,e),renderState:t()}})(e,t,r,n);return i?s():(0,ia.useConstant)(s)},iu=il({scrapeMotionValuesFromProps:tz,createRenderState:ie}),ih=il({scrapeMotionValuesFromProps:tN,createRenderState:ii}),id={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"]},ic=!1;function ip(){return!function(){if(ic)return;let e={};for(let t in id)e[t]={isEnabled:e=>id[t].some(t=>!!e[t])};tv=e,ic=!0}(),tv}let im=Symbol.for("motionComponentSymbol"),ig="data-"+tw("framerAppearId"),iy=(0,t1.createContext)({});function iv(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}let ib="u">typeof window?t1.useLayoutEffect:t1.useEffect;function ix(e,{forwardMotionProps:t=!1,type:i}={},r,n){r&&function(e){let t=ip();for(let i in e)t[i]={...t[i],...e[i]};tv=t}(r);let s=i?"svg"===i:t5(e),o=s?ih:iu;function a(i,r){var a;let l,u,h,d={...(0,t1.useContext)(t8.MotionConfigContext),...i,layoutId:function({layoutId:e}){let t=(0,t1.useContext)(t4).id;return t&&void 0!==e?t+"-"+e:e}(i)},{isStatic:c}=d,p=function(e){let{initial:t,animate:i}=function(e,t){if(th(e)){let{initial:t,animate:i}=e;return{initial:!1===t||ta(t)?t:void 0,animate:ta(i)?i:void 0}}return!1!==e.inherit?t:{}}(e,(0,t1.useContext)(t7));return(0,t1.useMemo)(()=>({initial:t,animate:i}),[t9(t),t9(i)])}(i),m=o(i,c);if(!c&&"u">
3typeof window){(0,t1.useContext)(t6).strict;let t=function(e){let{drag:t,layout:i}=ip();if(!t&&!i)return{};let r={...t,...i};return{MeasureLayout:t?.isEnabled(e)||i?.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}(d);l=t.MeasureLayout,p.visualElement=function(e,t,i,r,n,s){let{visualElement:o}=(0,t1.useContext)(t7),a=(0,t1.useContext)(t6),l=(0,t1.useContext)(io),u=(0,t1.useContext)(t8.MotionConfigContext),h=u.reducedMotion,d=u.skipAnimations,c=(0,t1.useRef)(null),p=(0,t1.useRef)(!1);r=r||a.renderer,!c.current&&r&&(c.current=r(e,{visualState:t,parent:o,props:i,presenceContext:l,blockInitialAnimation:!!l&&!1===l.initial,reducedMotionConfig:h,skipAnimations:d,isSVG:s}),p.current&&c.current&&(c.current.manuallyAnimateOnMount=!0));let m=c.current,f=(0,t1.useContext)(iy);m&&!m.projection&&n&&("html"===m.type||"svg"===m.type)&&function(e,t,i,r){let{layoutId:n,layout:s,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:u,layoutAnchor:h,layoutCrossfade:d}=t;e.projection=new i(e.latestValues,t["data-framer-portal-id"]?void 0:function e(t){if(t)return!1!==t.options.allowProjection?t.projection:e(t.parent)}(e.parent)),e.projection.setOptions({layoutId:n,layout:s,alwaysMeasureLayout:!!o||a&&iv(a),visualElement:e,animationType:"string"==typeof s?s:"both",initialPromotionConfig:r,crossfade:d,layoutScroll:l,layoutRoot:u,layoutAnchor:h})}(c.current,i,n,f);let g=(0,t1.useRef)(!1);(0,t1.useInsertionEffect)(()=>{m&&g.current&&m.update(i,l)});let y=i[ig],v=(0,t1.useRef)(!!y&&"u">typeof window&&!window.MotionHandoffIsComplete?.(y)&&window.MotionHasOptimisedAnimation?.(y));return ib(()=>{p.current=!0,m&&(g.current=!0,window.MotionIsMounted=!0,m.updateFeatures(),m.scheduleRenderMicrotask(),v.current&&m.animationState&&m.animationState.animateChanges())}),(0,t1.useEffect)(()=>{m&&(!v.current&&m.animationState&&m.animationState.animateChanges(),v.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(y)}),v.current=!1),m.enteringChildren=void 0)}),m}(e,m,d,n,t.ProjectionNode,s)}return(0,t3.jsxs)(t7.Provider,{value:p,children:[l&&p.visualElement?(0,t3.jsx)(l,{visualElement:p.visualElement,...d}):null,function(e,t,i,{latestValues:r},n,s=!1,o){let a=(o??t5(e)?function(e,t,i,r){let n=(0,t1.useMemo)(()=>{let i=ii();return tj(i,t,tV(r),e.transformTemplate,e.style),{...i.attrs,style:{...i.style}}},[t]);if(e.style){let t={};it(t,e.style,e),n.style={...t,...n.style}}return n}:function(e,t){let i,r,n={},s=(i=e.style||{},it(r={},i,e),Object.assign(r,function({transformTemplate:e},t){return(0,t1.useMemo)(()=>{let i=ie();return tT(i,t,e),Object.assign({},i.vars,i.style)},[t])}(e,t)),r);return e.drag&&!1!==e.dragListener&&(n.draggable=!1,s.userSelect=s.WebkitUserSelect=s.WebkitTouchCallout="none",s.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}`),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=s,n})(t,r,n,e),l=(0,ir.filterProps)(t,"string"==typeof e,s),u=e!==t1.Fragment?{...l,...a,ref:i}
3:{},{children:h}=t,d=(0,t1.useMemo)(()=>(0,Y.isMotionValue)(h)?h.get():h,[h]);return(0,t1.createElement)(e,{...u,children:d})}(e,i,(a=p.visualElement,u=(0,t1.useRef)(r),(0,t1.useInsertionEffect)(()=>{u.current=r}),h=(0,t1.useRef)(null),(0,t1.useCallback)(e=>{e&&m.onMount?.(e);let t=u.current;if("function"==typeof t)if(e){let i=t(e);"function"==typeof i&&(h.current=i)}else h.current?(h.current(),h.current=null):t(e);else t&&(t.current=e);a&&(e?a.mount(e):a.unmount())},[a])),m,c,t,s)]})}a.displayName=`motion.${"string"==typeof e?e:`create(${e.displayName??e.name??""})`}`;let l=(0,t1.forwardRef)(a);return l[im]=e,l}e.s(["useIsomorphicLayoutEffect",0,ib],74008);class iw{constructor(e){this.isMounted=!1,this.node=e}update(){}}function ik(e,t,i){let r=e.getProps();return tg(r,t,void 0!==i?i:r.custom,e)}var iP=e.i(53034);function iS(e,t){let i=e?.[t]??e?.default??e;return i!==e?(0,iP.resolveTransition)(i,e):i}let iT=e=>Array.isArray(e);function iC(e,t){let i=e.getValue("willChange");if((0,Y.isMotionValue)(i)&&i.add)return i.add(t);if(!i&&eS.WillChange){let i=new eS.WillChange("auto");e.addValue("willChange",i),i.add(t)}}let iE=(e,t)=>i=>t(e(i)),iM=(...e)=>e.reduce(iE);function ij(e,t,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?e+(t-e)*6*i:i<.5?t:i<2/3?e+(t-e)*(2/3-i)*6:e}function iA(e,t){return i=>i>0?t:e}let iV=(e,t,i)=>{let r=e*e,n=i*(t*t-r)+r;return n<0?0:Math.sqrt(n)},iR=[v,y,C];function iL(e){let t=iR.find(t=>t.test(e));if(ee(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let i=t.parse(e);return t===C&&(i=function({hue:e,saturation:t,lightness:i,alpha:r}){e/=360,i/=100;let n=0,s=0,o=0;if(t/=100){let r=i<.5?i*(1+t):i+t-i*t,a=2*i-r;n=ij(a,r,e+1/3),s=ij(a,r,e),o=ij(a,r,e-1/3)}else n=s=o=i;return{red:Math.round(255*n),green:Math.round(255*s),blue:Math.round(255*o),alpha:r}}(i)),i}let iD=(e,t)=>{let i=iL(e),r=iL(t);if(!i||!r)return iA(e,t);let n={...i};return e=>(n.red=iV(i.red,r.red,e),n.green=iV(i.green,r.green,e),n.blue=iV(i.blue,r.blue,e),n.alpha=tO(i.alpha,r.alpha,e),y.transform(n))},iO=new Set(["none","hidden"]);function iB(e,t){return i=>tO(e,t,i)}function iI(e){return"number"==typeof e?iB:"string"==typeof e?es(e)?iA:E.test(e)?iD:iF:Array.isArray(e)?iz:"object"==typeof e?E.test(e)?iD:iN:iA}function iz(e,t){let i=[...e],r=i.length,n=e.map((e,i)=>iI(e)(e,t[i]));return e=>{for(let t=0;t<r;t++)i[t]=n[t](e);return i}}function iN(e,t){let i={...e,...t},r={};for(let n in i)void 0!==e[n]&&void 0!==t[n]&&(r[n]=iI(e[n])(e[n],t[n]));return e=>{for(let t in r)i[t]=r[t](e);return i}}let iF=(e,t)=>{let i=D.createTransformer(t),r=R(e),n=R(t);if(!(r.indexes.var.length===n.indexes.var.length&&r.indexes.color.length===n.indexes.color.length&&r.indexes.number.length>=n.indexes.number.length))return ee(!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.`,"complex-values-different"),iA(e,t);if(iO.has(e)&&!n.values.length||iO.has(t)&&!r.values.length)return iO.has(e)?i=>i<=0?e:t:i=>i>=1?t:e;return iM(iz(function(e,t){let i=[],r={color:0,var:0,number:0};for(let n=0;n<t.values.length;n++){let s=t.types[n],o=e.indexes[s][r[s]],a=e.values[o]??0;i[n]=a,r[s]++}return i}(r,n),n.values),i)};function i_(e,t,i){return"number"==typeof e&&"number"==typeof t&&"number"==typeof i?tO(e,t,i):iI(e)(e,t)}let i$=e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>eE.update(t,e),stop:()=>eM(t),now:()=>ej.isProcessing?ej.timestamp:tt.now()}};function iU(e){let t=0,i=e.next(t);for(;!i.done&&t<2e4;)t+=50,i=e.next(t);return t>=2e4?1/0:t}let iW=.01,iH=2,iG=.005,iX=.5;function iY(e,t){return e*Math.sqrt(1-t*t)}let iK=["duration","bounce"],iq=["stiffness","damping","mass"];function iZ(e,t){return t.some(t=>void 0!==e[t])}function iJ(e=.3,t=.3){let i,r,n,s,o,l,u="object"!=typeof e?{visualDuration:e,keyframes:[0,1],bounce:t}:e,{restSpeed:h,restDelta:d}=u,c=u.keyframes[0],p=u.keyframes[u.keyframes.length-1],m={done:!1,value:c},{stiffness:f,damping:g,mass:y,duration:v,velocity:b,isResolvedFromDuration:x}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!iZ(e,iq)&&iZ(e,iK))if(t.velocity=0,e.visualDuration){let i=2*Math.PI/(1.2*e.visualDuration),r=i*i,n=2*a(.05,1,1-(e.bounce||0))*Math.sqrt(r);t={...t,mass:1,stiffness:r,damping:n}}else{let i=function({duration:e=800,bounce:t=.3,velocity:i=0,mass:r=1}){let n,s;ee(e<=e$(10),"Spring duration must be 10 seconds or less","spring-duration-limit");let o=1-t;o=a(.05,1,o),e=a(.01,10,e/1e3),o<1?(n=t=>{let r=t*o,n=r*e;return .001-(r-i)/iY(t,o)*Math.exp(-n)},s=t=>{let r=t*o*e,s=Math.pow(o,2)*Math.pow(t,2)*e,a=Math.exp(-r),l=iY(Math.pow(t,2),o);return(r*i+i-s)*a*(-n(t)+.001>0?-1:1)/l}):(n=t=>-.001+Math.exp(-t*e)*((t-i)*e+1),s=t=>e*e*(i-t)*Math.exp(-t*e));let l=function(e,t,i){let r=i;for(let i=1;i<12;i++)r-=e(r)/t(r);return r}(n,s,5/e);if(e=e$(e),isNaN(l))return{stiffness:100,damping:10,duration:e};{let t=Math.pow(l,2)*r;return{stiffness:t,damping:2*o*Math.sqrt(r*t),duration:e}}}({...e,velocity:0});(t={...t,...i,mass:1}).isResolvedFromDuration=!0}return t}({...u,velocity:-((u.velocity||0)/1e3)}),w=b||0,k=g/(2*Math.sqrt(f*y)),P=p-c,S=Math.sqrt(f/y)/1e3,T=5>Math.abs(P);if(h||(h=T?iW:iH),d||(d=T?iG:iX),k<1)n=iY(S,k),s=(w+k*S*P)/n,i=e=>p-Math.exp(-k*S*e)*(s*Math.sin(n*e)+P*Math.cos(n*e)),o=k*S*s+P*n,l=k*S*P-s*n,r=e=>Math.exp(-k*S*e)*(o*Math.sin(n*e)+l*Math.cos(n*e));else if(1===k){i=e=>p-Math.exp(-S*e)*(P+(w+S*P)*e);let e=w+S*P;r=t=>Math.exp(-S*t)*(S*e*t-w)}else{let e=S*Math.sqrt(k*k-1);i=t=>{let i=Math.exp(-k*S*t),r=Math.min(e*t,300);return p-i*((w+k*S*P)*Math.sinh(r)+e*P*Math.cosh(r))/e};let t=(w+k*S*P)/e,n=k*S*t-P*e,s=k*S*P-t*e;r=t=>{let i=Math.exp(-k*S*t),r=Math.min(e*t,300);return i*(n*Math.sinh(r)+s*Math.cosh(r))}}let C={calculatedDuration:x&&v||null,velocity:e=>e$(r(e)),next:e=>{if(!x&&k<1){let t=Math.exp(-k*S*e),i=Math.sin(n*e),r=Math.cos(n*e),a=p-t*(s*i+P*r);
3return m.done=Math.abs(e$(t*(o*i+l*r)))<=h&&Math.abs(p-a)<=d,m.value=m.done?p:a,m}let t=i(e);return x?m.done=e>=v:m.done=Math.abs(e$(r(e)))<=h&&Math.abs(p-t)<=d,m.value=m.done?p:t,m},toString:()=>{let e=Math.min(iU(C),2e4),t=e5(t=>C.next(e*t).value,e,30);return e+"ms "+t},toTransition:()=>{}};return C}function iQ(e,t,i){var r,n;let s=Math.max(t-5,0);return r=i-e(s),(n=t-s)?1e3/n*r:0}function i0({keyframes:e,velocity:t=0,power:i=.8,timeConstant:r=325,bounceDamping:n=10,bounceStiffness:s=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:h}){let d,c,p=e[0],m={done:!1,value:p},f=i*t,g=p+f,y=void 0===o?g:o(g);y!==g&&(f=y-p);let v=e=>-f*Math.exp(-e/r),b=e=>y+v(e),x=e=>{let t=v(e),i=b(e);m.done=Math.abs(t)<=u,m.value=m.done?y:i},w=e=>{let t;if(t=m.value,void 0!==a&&t<a||void 0!==l&&t>l){var i;d=e,c=iJ({keyframes:[m.value,(i=m.value,void 0===a?l:void 0===l||Math.abs(a-i)<Math.abs(l-i)?a:l)],velocity:iQ(b,e,m.value),damping:n,stiffness:s,restDelta:u,restSpeed:h})}};return w(0),{calculatedDuration:null,next:e=>{let t=!1;return(c||void 0!==d||(t=!0,x(e),w(e)),void 0!==d&&e>=d)?c.next(e-d):(t||x(e),m)}}}iJ.applyToOptions=e=>{let t=function(e,t=100,i){let r=i({...e,keyframes:[0,t]}),n=Math.min(iU(r),2e4);return{type:"keyframes",ease:e=>r.next(n*e).value/t,duration:n/1e3}}(e,100,iJ);return e.ease=t.ease,e.duration=e$(t.duration),e.type="keyframes",e};let i1=(e,t,i)=>(((1-3*i+3*t)*e+(3*i-6*t))*e+3*t)*e;function i2(e,t,i,r){return e===t&&i===r?eP:n=>0===n||1===n?n:i1(function(e,t,i,r,n){let s,o,a=0;do(s=i1(o=t+(i-t)/2,r,n)-e)>0?i=o:t=o;while(Math.abs(s)>1e-7&&++a<12)return o}(n,0,1,e,i),t,r)}let i5=i2(.42,0,1,1),i3=i2(0,0,.58,1),i4=i2(.42,0,.58,1),i6=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,i8=e=>t=>1-e(1-t),i7=i2(.33,1.53,.69,.99),i9=i8(i7),re=i6(i9),rt=e=>e>=1?1:(e*=2)<1?.5*i9(e):.5*(2-Math.pow(2,-10*(e-1))),ri=e=>1-Math.sin(Math.acos(e)),rr=i8(ri),rn=i6(ri),rs={linear:eP,easeIn:i5,easeInOut:i4,easeOut:i3,circIn:ri,circInOut:rn,circOut:rr,backIn:i9,backInOut:re,backOut:i7,anticipate:rt},ro=e=>{if(e1(e)){et(4===e.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[t,i,r,n]=e;return i2(t,i,r,n)}return"string"==typeof e?(et(void 0!==rs[e],`Invalid easing type '${e}'`,"invalid-easing-type"),rs[e]):e},ra=(e,t,i)=>{let r=t-e;return 0===r?1:(i-e)/r};function rl({duration:e=300,keyframes:t,times:i,ease:r="easeInOut"}){var n;let s,o=Array.isArray(r)&&"number"!=typeof r[0]?r.map(ro):ro(r),l={done:!1,value:t[0]},u=function(e,t,{clamp:i=!0,ease:r,mixer:n}={}){let s=e.length;if(et(s===t.length,"Both input and output ranges must be the same length","range-length"),1===s)return()=>t[0];if(2===s&&t[0]===t[1])return()=>t[1];let o=e[0]===e[1];e[0]>e[s-1]&&(e=[...e].reverse(),t=[...t].reverse());let l=function(e,t,i){let r=[],n=i||eS.mix||i_,s=e.length-1;for(let i=0;i<s;i++){let s=n(e[i],e[i+1]);t&&(s=iM(Array.isArray(t)?t[i]||eP:t,s)),r.push(s)}return r}(t,r,n),u=l.length,h=i=>{if(o&&i<e[0])return t[0];let r=0;if(u>1)for(;r<e.length-2&&!(i<e[r+1]);r++);let n=ra(e[r],e[r+1],i);return l[r](n)};return i?t=>h(a(e[0],e[s-1],t)):h}((n=i&&i.length===t.length?i:(!function(e,t){let i=e[e.length-1];for(let r=1;r<=t;r++){let n=ra(0,t,r);e.push(tO(i,1,n))}}(s=[0],t.length-1),s),n.map(t=>t*e)),t,{ease:Array.isArray(o)?o:t.map(()=>o||i4).splice(0,t.length-1)});return{calculatedDuration:e,next:t=>(l.value=u(t),l.done=t>=e,l)}}let ru={decay:i0,inertia:i0,tween:rl,keyframes:rl,spring:iJ};function rh(e){"string"==typeof e.type&&(e.type=ru[e.type])}let rd=e=>e/100;class rc extends eQ{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!==tt.now()&&this.tick(tt.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},e0.mainThread++,this.options=e,this.initAnimation(),this.play(),!1===e.autoplay&&this.pause()}initAnimation(){let{options:e}=this;rh(e);let{type:t=rl,repeat:i=0,repeatDelay:r=0,repeatType:n,velocity:s=0}=e,{keyframes:o}=e,a=t||rl;a!==rl&&"number"!=typeof o[0]&&(this.mixKeyframes=iM(rd,i_(o[0],o[1])),o=[0,100]);let l=a({...e,keyframes:o});"mirror"===n&&(this.mirroredGenerator=a({...e,keyframes:[...o].reverse(),velocity:-s})),null===l.calculatedDuration&&(l.calculatedDuration=iU(l));let{calculatedDuration:u}=l;this.calculatedDuration=u,this.resolvedDuration=u+r,this.totalDuration=this.resolvedDuration*(i+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 i,{generator:r,totalDuration:n,mixKeyframes:s,mirroredGenerator:o,resolvedDuration:l,calculatedDuration:u}=this;if(null===this.startTime)return r.next(0);
3let{delay:h=0,keyframes:d,repeat:c,repeatType:p,repeatDelay:m,type:f,onUpdate:g,finalKeyframe:y}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-n/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);let v=this.currentTime-h*(this.playbackSpeed>=0?1:-1),b=this.playbackSpeed>=0?v<0:v>n;this.currentTime=Math.max(v,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=n);let x=this.currentTime,w=r;if(c){let e=Math.min(this.currentTime,n)/l,t=Math.floor(e),i=e%1;!i&&e>=1&&(i=1),1===i&&t--,(t=Math.min(t,c+1))%2&&("reverse"===p?(i=1-i,m&&(i-=m/l)):"mirror"===p&&(w=o)),x=a(0,1,i)*l}b?(this.delayState.value=d[0],i=this.delayState):i=w.next(x),s&&!b&&(i.value=s(i.value));let{done:k}=i;b||null===u||(k=this.playbackSpeed>=0?this.currentTime>=n:this.currentTime<=0);let P=null===this.holdTime&&("finished"===this.state||"running"===this.state&&k);return P&&f!==i0&&(i.value=eJ(d,this.options,y,this.speed)),g&&g(i.value),P&&this.finish(),i}then(e,t){return this.finished.then(e,t)}get duration(){return this.calculatedDuration/1e3}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+e/1e3}get time(){return this.currentTime/1e3}set time(e){e=e$(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?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 t=this.generator.next(e).value;return iQ(e=>this.generator.next(e).value,e,t)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;t&&this.driver&&this.updateTime(tt.now()),this.playbackSpeed=e,t&&this.driver&&(this.time=this.currentTime/1e3)}play(){if(this.isStopped)return;let{driver:e=i$,startTime:t}=this.options;this.driver||(this.driver=e(e=>this.tick(e))),this.options.onPlay?.();let i=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=i):null!==this.holdTime?this.startTime=i-this.holdTime:this.startTime||(this.startTime=t??i),"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(tt.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&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,e0.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 rp={anticipate:rt,backInOut:re,circInOut:rn};class rm extends e8{constructor(e){!function(e){"string"==typeof e.ease&&e.ease in rp&&(e.ease=rp[e.ease])}(e),rh(e),super(e),void 0!==e.startTime&&!1!==e.autoplay&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){let{motionValue:t,onUpdate:i,onComplete:r,element:n,...s}=this.options;if(!t)return;if(void 0!==e)return void t.set(e);let o=new rc({...s,autoplay:!1}),l=Math.max(10,tt.now()-this.startTime),u=a(0,10,l-10),h=o.sample(l).value,{name:d}=this.options;n&&d&&eG(n,d,h),t.setWithVelocity(o.sample(Math.max(0,l-u)).value,h,u),o.stop()}}let rf=(e,t)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(D.test(e)||"0"===e)&&!e.startsWith("url("));function rg(e){e.duration=0,e.type="keyframes"}let ry=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/,rv=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),rb=eX(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class rx extends eQ{constructor({autoplay:e=!0,delay:t=0,type:i="keyframes",repeat:r=0,repeatDelay:n=0,repeatType:s="loop",keyframes:o,name:a,motionValue:l,element:u,...h}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=tt.now();const d={autoplay:e,delay:t,type:i,repeat:r,repeatDelay:n,repeatType:s,name:a,motionValue:l,element:u,...h},c=u?.KeyframeResolver||eI;this.keyframeResolver=new c(o,(e,t,i)=>this.onKeyframesResolved(e,t,d,!i),a,l,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,i,r){let n;this.keyframeResolver=void 0;let{name:s,type:o,velocity:a,delay:l,isHandoff:u,onUpdate:h}=i;this.resolvedAt=tt.now();let d=!0;!function(e,t,i,r){let n=e[0];if(null===n)return!1;if("display"===t||"visibility"===t)return!0;let s=e[e.length-1],o=rf(n,t),a=rf(s,t);return ee(o===a,`You are trying to animate ${t} from "${n}" to "${s}". "${o?s:n}" is not an animatable value.`,"value-not-animatable"),!!o&&!!a&&(function(e){let t=e[0];if(1===e.length)return!0;for(let i=0;i<e.length;i++)if(e[i]!==t)return!0}(e)||("spring"===i||e6(i))&&r)}(e,s,o,a)&&(d=!1,(eS.instantAnimations||!l)&&h?.(eJ(e,i,t)),e[0]=e[e.length-1],rg(i),i.repeat=0);let c={startTime:r?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...i,keyframes:e},p=d&&!u&&function(e){let{motionValue:t,name:i,repeatDelay:r,repeatType:n,damping:s,type:o,keyframes:a}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;
3let{onUpdate:l,transformTemplate:u}=t.owner.getProps();return rb()&&i&&(e7.has(i)||rv.has(i)&&function(e){for(let t=0;t<e.length;t++)if("string"==typeof e[t]&&ry.test(e[t]))return!0;return!1}(a))&&("transform"!==i||!u)&&!l&&!r&&"mirror"!==n&&0!==s&&"inertia"!==o}(c),m=c.motionValue?.owner?.current;if(p)try{n=new rm({...c,element:m})}catch{n=new rc(c)}else n=new rc(c);n.finished.then(()=>{this.notifyFinished()}).catch(eP),this.pendingTimeline&&(this.stopTimeline=n.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=n}get finished(){return this._animation?this.animation.finished:this._finished}then(e,t){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),eD=!0,eB(),eO(),eD=!1),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()}}let rw={type:"spring",stiffness:500,damping:25,restSpeed:10},rk={type:"keyframes",duration:.8},rP={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},rS=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]),rT=(e,t,i,r={},n,s)=>a=>{let l=iS(r,e)||{},u=l.delay||r.delay||0,{elapsed:h=0}=r;h-=e$(u);let d={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:t.getVelocity(),...l,delay:-h,onUpdate:e=>{t.set(e),l.onUpdate&&l.onUpdate(e)},onComplete:()=>{a(),l.onComplete&&l.onComplete()},name:e,motionValue:t,element:s?void 0:n};!function(e){for(let t in e)if(!rS.has(t))return!0;return!1}(l)&&Object.assign(d,((e,{keyframes:t})=>t.length>2?rk:o.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:rw:rP)(e,d)),d.duration&&(d.duration=e$(d.duration)),d.repeatDelay&&(d.repeatDelay=e$(d.repeatDelay)),void 0!==d.from&&(d.keyframes[0]=d.from);let c=!1;if(!1!==d.type&&(0!==d.duration||d.repeatDelay)||(rg(d),0===d.delay&&(c=!0)),(eS.instantAnimations||eS.skipAnimations||n?.shouldSkipAnimations)&&(c=!0,rg(d),d.delay=0),d.allowFlatten=!l.type&&!l.ease,c&&!s&&void 0!==t.get()){let e=eJ(d.keyframes,l);if(void 0!==e)return void eE.update(()=>{d.onUpdate(e),d.onComplete()})}return l.isSync?new rc(d):new rx(d)};function rC(e,t,{delay:i=0,transitionOverride:r,type:n}={}){let{transition:s,transitionEnd:o,...a}=t,l=e.getDefaultTransition();s=s?(0,iP.resolveTransition)(s,l):l;let u=s?.reduceMotion;r&&(s=r);let h=[],d=n&&e.animationState&&e.animationState.getState()[n];for(let t in a){let r=e.getValue(t,e.latestValues[t]??null),n=a[t];if(void 0===n||d&&function({protectedKeys:e,needsAnimating:t},i){let r=e.hasOwnProperty(i)&&!0!==t[i];return t[i]=!1,r}(d,t))continue;let o={delay:i,...iS(s||{},t)},l=r.get();if(void 0!==l&&!r.isAnimating()&&!Array.isArray(n)&&n===l&&!o.velocity){eE.update(()=>r.set(n));continue}let c=!1;if(window.MotionHandoffAnimation){let i=e.props[ig];if(i){let e=window.MotionHandoffAnimation(i,t,eE);null!==e&&(o.startTime=e,c=!0)}}iC(e,t);let p=u??e.shouldReduceMotion;r.start(rT(t,r,n,p&&K.has(t)?{type:!1}:o,e,c));let m=r.animation;m&&h.push(m)}if(o){let t=()=>eE.update(()=>{o&&function(e,t){let{transitionEnd:i={},transition:r={},...n}=ik(e,t)||{};for(let t in n={...n,...i}){var s;let i=iT(s=n[t])?s[s.length-1]||0:s;e.hasValue(t)?e.getValue(t).set(i):e.addValue(t,tr(i))}}(e,o)});h.length?Promise.all(h).then(t):t()}return h}function rE(e,t,i,r=0,n=1){let s=Array.from(e).sort((e,t)=>e.sortNodePosition(t)).indexOf(t),o=e.size,a=(o-1)*r;return"function"==typeof i?i(s,o):1===n?s*r:a-s*r}function rM(e,t,i={}){let r=ik(e,t,"exit"===i.type?e.presenceContext?.custom:void 0),{transition:n=e.getDefaultTransition()||{}}=r||{};i.transitionOverride&&(n=i.transitionOverride);let s=r?()=>
3Promise.all(rC(e,r,i)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(r=0)=>{let{delayChildren:s=0,staggerChildren:o,staggerDirection:a}=n;return function(e,t,i=0,r=0,n=0,s=1,o){let a=[];for(let l of e.variantChildren)l.notify("AnimationStart",t),a.push(rM(l,t,{...o,delay:i+("function"==typeof r?0:r)+rE(e.variantChildren,l,r,n,s)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(a)}(e,t,r,s,o,a,i)}:()=>Promise.resolve(),{when:a}=n;if(!a)return Promise.all([s(),o(i.delay)]);{let[e,t]="beforeChildren"===a?[s,o]:[o,s];return e().then(()=>t())}}let rj=tu.length;function rA(e,t){if(!Array.isArray(t))return!1;let i=t.length;if(i!==e.length)return!1;for(let r=0;r<i;r++)if(t[r]!==e[r])return!1;return!0}let rV=[...tl].reverse(),rR=tl.length;function rL(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function rD(){return{animate:rL(!0),whileInView:rL(),whileHover:rL(),whileTap:rL(),whileDrag:rL(),whileFocus:rL(),exit:rL()}}let rO=0;function rB(e){return[e("x"),e("y")]}function rI(e,t,i,r={passive:!0}){return e.addEventListener(t,i,r),()=>e.removeEventListener(t,i)}let rz={x:!1,y:!1};function rN(e){return e.max-e.min}function rF(e,t,i,r=.5){e.origin=r,e.originPoint=tO(t.min,t.max,e.origin),e.scale=rN(i)/rN(t),e.translate=tO(i.min,i.max,e.origin)-e.originPoint,(e.scale>=.9999&&e.scale<=1.0001||isNaN(e.scale))&&(e.scale=1),(e.translate>=-.01&&e.translate<=.01||isNaN(e.translate))&&(e.translate=0)}function r_(e,t,i,r){rF(e.x,t.x,i.x,r?r.originX:void 0),rF(e.y,t.y,i.y,r?r.originY:void 0)}function r$(e,t,i,r=0){e.min=(r?tO(i.min,i.max,r):i.min)+t.min,e.max=e.min+rN(t)}function rU(e,t,i,r=0){let n=r?tO(i.min,i.max,r):i.min;e.min=t.min-n,e.max=e.min+rN(t)}function rW(e,t,i,r){rU(e.x,t.x,i.x,r?.x),rU(e.y,t.y,i.y,r?.y)}function rH(e){return"object"==typeof e&&null!==e}function rG(e){return rH(e)&&"ownerSVGElement"in e}function rX(e,t,i){if(null==e)return[];if(e instanceof EventTarget)return[e];if("string"==typeof e){let r=document;t&&(r=t.current);let n=i?.[e]??r.querySelectorAll(e);return n?Array.from(n):[]}return Array.from(e).filter(e=>null!=e)}let rY=new WeakMap,rK=(e,t,i)=>(r,n)=>n&&n[0]?n[0][e+"Size"]:rG(r)&&"getBBox"in r?r.getBBox()[t]:r[i],rq=rK("inline","width","offsetWidth"),rZ=rK("block","height","offsetHeight");function rJ({target:e,borderBoxSize:t}){rY.get(e)?.forEach(i=>{i(e,{get width(){return rq(e,t)},get height(){return rZ(e,t)}})})}function rQ(e){e.forEach(rJ)}let r0=new Set;function r1(e,t){let i;return"function"==typeof e?(r0.add(e),n||(n=()=>{let e={get width(){return window.innerWidth},get height(){return window.innerHeight}};r0.forEach(t=>t(e))},window.addEventListener("resize",n)),()=>{r0.delete(e),r0.size||"function"!=typeof n||(window.removeEventListener("resize",n),n=void 0)}):(!r&&"u">typeof ResizeObserver&&(r=new ResizeObserver(rQ)),(i=rX(e)).forEach(e=>{let i=rY.get(e);i||(i=new Set,rY.set(e,i)),i.add(t),r?.observe(e)}),()=>{i.forEach(e=>{let i=rY.get(e);i?.delete(t),i?.size||r?.unobserve(e)})})}let r2=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),r5=new Set(["INPUT","SELECT","TEXTAREA"]),r3=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function r4(e){return{point:{x:e.pageX,y:e.pageY}}}function r6(e,t,i,r){return rI(e,t,e=>r3(e)&&i(e,r4(e)),r)}let r8=({current:e})=>e?e.ownerDocument.defaultView:null,r7=(e,t)=>Math.abs(e-t),r9=new Set(["auto","scroll"]);class ne{constructor(e,t,{transformPagePoint:i,contextWindow:r=window,dragSnapToOrigin:n=!1,distanceThreshold:s=3,element:o}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=e=>{this.handleScroll(e.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{var e,t;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=nt(this.lastRawMoveEventInfo,this.transformPagePoint));let i=nr(this.lastMoveEventInfo,this.history),r=null!==this.startEvent,n=(e=i.offset,t={x:0,y:0},Math.sqrt(r7(e.x,t.x)**2+r7(e.y,t.y)**2)>=this.distanceThreshold);if(!r&&!n)return;let{point:s}=i,{timestamp:o}=ej;this.history.push({...s,timestamp:o});let{onStart:a,onMove:l}=this.handlers;r||(a&&a(this.lastMoveEvent,i),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,i)},this.handlePointerMove=(e,t)=>
3{this.lastMoveEvent=e,this.lastRawMoveEventInfo=t,this.lastMoveEventInfo=nt(t,this.transformPagePoint),eE.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:i,onSessionEnd:r,resumeAnimation:n}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&n&&n(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let s=nr("pointercancel"===e.type?this.lastMoveEventInfo:nt(t,this.transformPagePoint),this.history);this.startEvent&&i&&i(e,s),r&&r(e,s)},!r3(e))return;this.dragSnapToOrigin=n,this.handlers=t,this.transformPagePoint=i,this.distanceThreshold=s,this.contextWindow=r||window;const a=nt(r4(e),this.transformPagePoint),{point:l}=a,{timestamp:u}=ej;this.history=[{...l,timestamp:u}];const{onSessionStart:h}=t;h&&h(e,nr(a,this.history)),this.removeListeners=iM(r6(this.contextWindow,"pointermove",this.handlePointerMove),r6(this.contextWindow,"pointerup",this.handlePointerUp),r6(this.contextWindow,"pointercancel",this.handlePointerUp)),o&&this.startScrollTracking(o)}startScrollTracking(e){let t=e.parentElement;for(;t;){let e=getComputedStyle(t);(r9.has(e.overflowX)||r9.has(e.overflowY))&&this.scrollPositions.set(t,{x:t.scrollLeft,y:t.scrollTop}),t=t.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(e){let t=this.scrollPositions.get(e);if(!t)return;let i=e===window,r=i?{x:window.scrollX,y:window.scrollY}:{x:e.scrollLeft,y:e.scrollTop},n={x:r.x-t.x,y:r.y-t.y};(0!==n.x||0!==n.y)&&(i?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=n.x,this.lastMoveEventInfo.point.y+=n.y):this.history.length>0&&(this.history[0].x-=n.x,this.history[0].y-=n.y),this.scrollPositions.set(e,r),eE.update(this.updatePoint,!0))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),eM(this.updatePoint)}}function nt(e,t){return t?{point:t(e.point)}:e}function ni(e,t){return{x:e.x-t.x,y:e.y-t.y}}function nr({point:e},t){return{point:e,delta:ni(e,nn(t)),offset:ni(e,t[0]),velocity:function(e){if(e.length<2)return{x:0,y:0};let t=e.length-1,i=null,r=nn(e);for(;t>=0&&(i=e[t],!(r.timestamp-i.timestamp>e$(.1)));)t--;if(!i)return{x:0,y:0};i===e[0]&&e.length>2&&r.timestamp-i.timestamp>2*e$(.1)&&(i=e[1]);let n=(r.timestamp-i.timestamp)/1e3;if(0===n)return{x:0,y:0};let s={x:(r.x-i.x)/n,y:(r.y-i.y)/n};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}(t)}}function nn(e){return e[e.length-1]}function ns(e,t,i){return{min:void 0!==t?e.min+t:void 0,max:void 0!==i?e.max+i-(e.max-e.min):void 0}}function no(e,t){let i=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([i,r]=[r,i]),{min:i,max:r}}function na(e,t,i){return{min:nl(e,t),max:nl(e,i)}}function nl(e,t){return"number"==typeof e?e:e[t]||0}let nu=new WeakMap;class nh{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=X(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=e}start(e,{snapToCursor:t=!1,distanceThreshold:i}={}){let{presenceContext:r}=this.visualElement;if(r&&!1===r.isPresent)return;let n=e=>{t&&this.snapToCursor(r4(e).point),this.stopAnimation()},s=(e,t)=>{let{drag:i,dragPropagation:r,onDragStart:n}=this.getProps();if(i&&!r&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(e){if("x"===e||"y"===e)if(rz[e])return null;else return rz[e]=!0,()=>{rz[e]=!1};return rz.x||rz.y?null:(rz.x=rz.y=!0,()=>{rz.x=rz.y=!1})}(i),!this.openDragLock))return;this.latestPointerEvent=e,this.latestPanInfo=t,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),rB(e=>{let t=this.getAxisMotionValue(e).get()||0;if(w.test(t)){let{projection:i}=this.visualElement;if(i&&i.layout){let r=i.layout.layoutBox[e];r&&(t=rN(r)*(parseFloat(t)/100))}}this.originPoint[e]=t}),n&&eE.update(()=>n(e,t),!1,!0),iC(this.visualElement,"transform");let{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},o=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t;let{dragPropagation:i,dragDirectionLock:r,onDirectionLock:n,onDrag:s}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:o}=t;if(r&&null===this.currentDirection){this.currentDirection=function(e,t=10){let i=null;return Math.abs(e.y)>t?i="y":Math.abs(e.x)>t&&(i="x"),i}(o),null!==this.currentDirection&&n&&n(this.currentDirection);return}this.updateAxis("x",t.point,o),this.updateAxis("y",t.point,o),this.visualElement.render(),s&&eE.update(()=>s(e,t),!1,!0)},a=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t,this.stop(e,t),this.latestPointerEvent=null,this.latestPanInfo=null},l=()=>{let{dragSnapToOrigin:e}=this.getProps();(e||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:u}=this.getProps();this.panSession=new ne(e,{onSessionStart:n,onStart:s,onMove:o,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:i,contextWindow:r8(this.visualElement),element:this.visualElement.current})}stop(e,t){let i=e||this.latestPointerEvent,r=t||this.latestPanInfo,n=this.isDragging;if(this.cancel(),!n||!r||!i)return;let{velocity:s}=r;this.startAnimation(s);let{onDragEnd:o}=this.getProps();o&&eE.postRender(()=>o(i,r))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(e,t,i){let{drag:r}=this.getProps();if(!i||!nc(e,r,this.currentDirection))return;let n=this.getAxisMotionValue(e),s=this.originPoint[e]+i[e];this.constraints&&this.constraints[e]&&(s=function(e,{min:t,max:i},r){return void 0!==t&&e<t?e=r?tO(t,e,r.min):Math.max(e,t):void 0!==i&&e>i&&(e=r?tO(i,e,r.max):Math.min(e,i)),e}(s,this.constraints[e],this.elastic[e])),n.set(s)}resolveConstraints(){let{dragConstraints:e,dragElastic:t}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,r=this.constraints;e&&iv(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&i?this.constraints=function(e,{top:t,left:i,bottom:r,right:n}){return{x:ns(e.x,i,n),y:ns(e.y,t,r)}}(i.layoutBox,e):this.constraints=!1,this.elastic=function(e=.35){return!1===e?e=0:!0===e&&(e=.35),{x:na(e,"left","right"),y:na(e,"top","bottom")}}(t),r!==this.constraints&&!iv(e)&&i&&this.constraints&&!this.hasMutatedConstraints&&rB(e=>{var t,r;let n;!1!==this.constraints&&this.getAxisMotionValue(e)&&(this.constraints[e]=(t=i.layoutBox[e],r=this.constraints[e],n={},void 0!==r.min&&(n.min=r.min-t.min),void 0!==r.max&&(n.max=r.max-t.min),n))})}resolveRefConstraints(){var e;let{dragConstraints:t,onMeasureDragConstraints:i}=this.getProps();if(!t||!iv(t))return!1;let r=t.current;et(null!==r,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:n}=this.visualElement;if(!n||!n.layout)return!1;let s=function(e,t,i){let r=tQ(e,i),{scroll:n}=t;return n&&(tK(r.x,n.offset.x),tK(r.y,n.offset.y)),r}(r,n.root,this.visualElement.getTransformPagePoint()),o=(e=n.layout.layoutBox,{x:no(e.x,s.x),y:no(e.y,s.y)});if(i){let e=i(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(o));this.hasMutatedConstraints=!!e,e&&(o=t_(e))}return o}startAnimation(e){let{drag:t,dragMomentum:i,dragElastic:r,dragTransition:n,dragSnapToOrigin:s,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{};return Promise.all(rB(o=>
3{if(!nc(o,t,this.currentDirection))return;let l=a&&a[o]||{};(!0===s||s===o)&&(l={min:0,max:0});let u={type:"inertia",velocity:i?e[o]:0,bounceStiffness:r?200:1e6,bounceDamping:r?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...n,...l};return this.startAxisValueAnimation(o,u)})).then(o)}startAxisValueAnimation(e,t){let i=this.getAxisMotionValue(e);return iC(this.visualElement,e),i.start(rT(e,i,0,t,this.visualElement,!1))}stopAnimation(){rB(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`,i=this.visualElement.getProps();return i[t]||this.visualElement.getValue(e,(i.initial?i.initial[e]:void 0)||0)}snapToCursor(e){rB(t=>{let{drag:i}=this.getProps();if(!nc(t,i,this.currentDirection))return;let{projection:r}=this.visualElement,n=this.getAxisMotionValue(t);if(r&&r.layout){let{min:i,max:s}=r.layout.layoutBox[t],o=n.get()||0;n.set(e[t]-tO(i,s,.5)+o)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:i}=this.visualElement;if(!iv(t)||!i||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};rB(e=>{let t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){var i,n;let s,o,l,u=t.get();r[e]=(i={min:u,max:u},n=this.constraints[e],s=.5,o=rN(i),(l=rN(n))>o?s=ra(n.min,n.max-o,i.min):o>l&&(s=ra(i.min,i.max-l,n.min)),a(0,1,s))}});let{transformTemplate:n}=this.visualElement.getProps();this.visualElement.current.style.transform=n?n({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.constraints=!1,this.resolveConstraints(),rB(t=>{if(!nc(t,e,null))return;let i=this.getAxisMotionValue(t),{min:n,max:s}=this.constraints[t];i.set(tO(n,s,r[t]))}),this.visualElement.render()}addListeners(){let e;if(!this.visualElement.current)return;nu.set(this.visualElement,this);let t=this.visualElement.current,i=r6(t,"pointerdown",e=>{let{drag:i,dragListener:r=!0}=this.getProps(),n=e.target,s=n!==t&&(r5.has(n.tagName)||!0===n.isContentEditable);i&&r&&!s&&this.start(e)}),r=()=>{var i,r,n;let s,o,{dragConstraints:a}=this.getProps();iv(a)&&a.current&&(this.constraints=this.resolveRefConstraints(),e||(i=t,r=a.current,s=r1(i,nd(n=()=>this.scalePositionWithinConstraints())),o=r1(r,nd(n)),e=()=>{s(),o()}))},{projection:n}=this.visualElement,s=n.addEventListener("measure",r);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),eE.read(r);let o=rI(window,"resize",()=>this.scalePositionWithinConstraints()),a=n.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(rB(t=>{let i=this.getAxisMotionValue(t);i&&(this.originPoint[t]+=e[t].translate,i.set(i.get()+e[t].translate))}),this.visualElement.render())});return()=>{o(),i(),s(),a&&a(),e&&e()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:i=!1,dragPropagation:r=!1,dragConstraints:n=!1,dragElastic:s=.35,dragMomentum:o=!0}=e;return{...e,drag:t,dragDirectionLock:i,dragPropagation:r,dragConstraints:n,dragElastic:s,dragMomentum:o}}}function nd(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function nc(e,t,i){return(!0===t||t===e)&&(null===i||i===e)}let np=e=>(t,i)=>{e&&eE.update(()=>e(t,i),!1,!0)},nm={hasAnimatedSinceResize:!0,hasEverUpdated:!1};var nf=t1;function ng(e=!0){let t=(0,t1.useContext)(io);if(null===t)return[!0,null];let{isPresent:i,onExitComplete:r,register:n}=t,s=(0,t1.useId)();(0,t1.useEffect)(()=>{if(e)return n(s)},[e]);let o=(0,t1.useCallback)(()=>e&&r&&r(s),[s,r,e]);return!i&&r?[!1,o]:[!0]}e.s(["usePresence",0,ng],64978);let ny=!1;class nv extends nf.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:i,layoutId:r}=this.props,{projection:n}=e;n&&(t.group&&t.group.add(n),i&&i.register&&r&&i.register(n),ny&&n.root.didUpdate(),n.addEventListener("animationComplete",()=>{this.safeToRemove()}),n.setOptions({...n.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),nm.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:i,drag:r,isPresent:n}=this.props,{projection:s}=i;return s&&(s.isPresent=n,e.layoutDependency!==t&&s.setOptions({...s.options,layoutDependency:t}),ny=!0,r||e.layoutDependency!==t||void 0===t||e.isPresent!==n?s.willUpdate():this.safeToRemove(),e.isPresent!==n&&(n?s.promote():s.relegate()||eE.postRender(()=>{let e=s.getStack();e&&e.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{visualElement:e,layoutAnchor:t}=this.props,{projection:i}=e;i&&(i.options.layoutAnchor=t,i.root.didUpdate(),e9.postRender(()=>{!i.currentAnimation&&i.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:i}=this.props,{projection:r}=e;ny=!0,r&&(r.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(r),i&&i.deregister&&i.deregister(r))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}}function nb(e){let[t,i]=ng(),r=(0,nf.useContext)(t4);return(0,t3.jsx)(nv,{...e,layoutGroup:r,switchLayoutGroup:(0,nf.useContext)(iy),isPresent:t,safeToRemove:i})}let nx=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],nw=nx.length,nk=e=>"string"==typeof e?parseFloat(e):e,nP=e=>"number"==typeof e||k.test(e);function nS(e,t){return void 0!==e[t]?e[t]:e.borderRadius}let nT=nE(0,.5,rr),nC=nE(.5,.95,eP);function nE(e,t,i){return r=>r<e?0:r>t?1:i(ra(e,t,r))}function nM(e,t){e.min=t.min,e.max=t.max}function nj(e,t){nM(e.x,t.x),nM(e.y,t.y)}function nA(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function nV(e,t,i,r,n){return e-=t,e=r+1/i*(e-r),void 0!==n&&(e=r+1/n*(e-r)),e}function nR(e,t,[i,r,n],s,o){!function(e,t=0,i=1,r=.5,n,s=e,o=e){if(w.test(t)&&(t=parseFloat(t),t=tO(o.min,o.max,t/100)-o.min),"number"!=typeof t)return;let a=tO(s.min,s.max,r);e===s&&(a-=t),e.min=nV(e.min,t,i,a,n),e.max=nV(e.max,t,i,a,n)}(e,t[i],t[r],t[n],t.scale,s,o)}let nL=["x","scaleX","originX"],nD=["y","scaleY","originY"];function nO(e,t,i,r){nR(e.x,t,nL,i?i.x:void 0,r?r.x:void 0),nR(e.y,t,nD,i?i.y:void 0,r?r.y:void 0)}function nB(e){return 0===e.translate&&1===e.scale}function nI(e){return nB(e.x)&&nB(e.y)}function nz(e,t){return e.min===t.min&&e.max===t.max}function nN(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function nF(e,t){return nN(e.x,t.x)&&nN(e.y,t.y)}function n_(e){return rN(e.x)/rN(e.y)}function n$(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class nU{constructor(){this.members=[]}add(e){eU(this.members,e);for(let t=this.members.length-1;t>=0;t--){let i=this.members[t];if(i===e||i===this.lead||i===this.prevLead)continue;let r=i.instance;r&&!1!==r.isConnected||i.snapshot||(eW(this.members,i),i.unmount())}e.scheduleRender()}remove(e){if(eW(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 t=this.members.indexOf(e)-1;t>=0;t--){let e=this.members[t];if(!1!==e.isPresent&&e.instance?.isConnected!==!1)return this.promote(e),!0}return!1}promote(e,t){let i=this.lead;if(e!==i&&(this.prevLead=i,this.lead=e,e.show(),i)){i.updateSnapshot(),e.scheduleRender();let{layoutDependency:r}=i.options,{layoutDependency:n}=e.options;(void 0===r||r!==n)&&(e.resumeFrom=i,t&&(i.preserveOpacity=!0),i.snapshot&&(e.snapshot=i.snapshot,e.snapshot.latestValues=i.animationValues||i.latestValues),e.root?.isU
3pdating&&(e.isLayoutDirty=!0)),!1===e.options.crossfade&&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)}}let nW=(e,t)=>e.depth-t.depth;class nH{constructor(){this.children=[],this.isDirty=!1}add(e){eU(this.children,e),this.isDirty=!0}remove(e){eW(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(nW),this.isDirty=!1,this.children.forEach(e)}}let nG=["","X","Y","Z"],nX=0;function nY(e,t,i,r){let{latestValues:n}=t;n[e]&&(i[e]=n[e],t.setStaticValue(e,0),r&&(r[e]=0))}function nK({attachResizeListener:e,defaultParent:t,measureScroll:i,checkIsScrollRoot:r,resetTransform:n}){return class{constructor(e={},i=t?.()){this.id=nX++,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,this.nodes.forEach(nJ),this.nodes.forEach(n8),this.nodes.forEach(n7),this.nodes.forEach(nQ)},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 nH)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new eH),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let i=this.eventHandlers.get(e);i&&i.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t){if(this.instance)return;this.isSVG=rG(t)&&!(rG(t)&&"svg"===t.tagName),this.instance=t;let{layoutId:i,layout:r,visualElement:n}=this.options;if(n&&!n.current&&n.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(r||i)&&(this.isLayoutDirty=!0),e){let i,r=0,n=()=>this.root.updateBlockedByResize=!1;eE.read(()=>{r=window.innerWidth}),e(t,()=>{let e=window.innerWidth;if(e!==r){let t,s;r=e,this.root.updateBlockedByResize=!0,i&&i(),t=tt.now(),s=({timestamp:e})=>{let i=e-t;i>=250&&(eM(s),n(i-250))},eE.setup(s,!0),i=()=>eM(s),nm.hasAnimatedSinceResize&&(nm.hasAnimatedSinceResize=!1,this.nodes.forEach(n6))}})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&n&&(i||r)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:i,layout:r})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let s=this.options.transition||n.getDefaultTransition()||sn,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=n.getProps(),l=!this.targetLayout||!nF(this.targetLayout,r),u=!t&&i;if(this.options.layoutRoot||this.resumeFrom||u||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let t={...iS(s,"layout"),onPlay:o,onComplete:a};(n.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,u)}else t||n6(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}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(),eM(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.forEac
3h(n9),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(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function e(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;let{visualElement:i}=t.options;if(!i)return;let r=i.props[ig];if(window.MotionHasOptimisedAnimation(r,"transform")){let{layout:e,layoutId:i}=t.options;window.MotionCancelOptimisedAnimation(r,"transform",eE,!(e||i))}let{parent:n}=t;n&&!n.hasCheckedOptimisedAppear&&e(n)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,("string"==typeof t.latestValues.x||"string"==typeof t.latestValues.y)&&(t.isLayoutDirty=!0),t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:i}=this.options;if(void 0===t&&!i)return;let r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(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.forEach(n2),this.nodes.forEach(n1);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(n5);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(n3),this.nodes.forEach(n4),this.nodes.forEach(nq),this.nodes.forEach(nZ)):this.nodes.forEach(n5),this.clearAllSnapshots();let e=tt.now();ej.delta=a(0,1e3/60,e-ej.timestamp),ej.timestamp=e,ej.isProcessing=!0,eA.update.process(ej),eA.preRender.process(ej),eA.render.process(ej),ej.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,e9.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(n0),this.sharedNodes.forEach(se)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,eE.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){eE.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||rN(this.snapshot.measuredBox.x)||rN(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||(this.layoutCorrected=X()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&this.instance){let t=r(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!n)return;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!nI(this.projectionDelta),i=this.getTransformTemplate(),r=i?i(this.latestValues,""):void 0,s=r!==this.prevTransformTemplateValue;e&&this.instance&&(t||tW(this.latestValues)||s)&&(n(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){var t;let i=this.measurePageBox(),r=this.removeElementScroll(i);return e&&(r=this.removeTransform(r)),sa((t=r).x),sa(t.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:r,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return X();let t=e.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(su))){let{scroll:e}=this.root;e&&(tK(t.x,e.offset.x),tK(t.y,e.offset.y))}return t}removeElementScroll(e){let t=X();if(nj(t,e),this.scroll?.wasRoot)return t;for(let i=0;i<this.path.length;i++){let r=this.path[i],{scroll:n,options:s}=r;r!==this.root&&n&&s.layoutScroll&&(n.wasRoot&&nj(t,e),tK(t.x,n.offset.x),tK(t.y,n.offset.y))}return t}applyTransform(e,t=!1,i){let r=i||X();nj(r,e);for(let e=0;e<this.path.length;e++){let i=this.path[e];!t&&i.options.layoutScroll&&i.scroll&&i!==i.root&&(tK(r.x,-i.scroll.offset.x),tK(r.y,-i.scroll.offset.y)),tW(i.latestValues)&&tJ(r,i.latestValues,i.layout?.layoutBox)}return tW(this.latestValues)&&tJ(r,this.latestValues,this.layout?.layoutBox),r}removeTransform(e){let t=X();nj(t,e);for(let e=0;e<this.path.length;e++){let i,r=this.path[e];tW(r.latestValues)&&(r.instance&&(tU(r.latestValues)&&r.updateSnapshot(),nj(i=X(),r.measurePageBox())),nO(t,r.latestValues,r.snapshot?.layoutBox,i))}return tW(this.latestValues)&&nO(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||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!==ej.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){let t=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=t.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=t.
3isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=t.isSharedProjectionDirty);let i=!!this.resumingFrom||this!==t;if(!(e||i&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:r,layoutId:n}=this.options;if(!this.layout||!(r||n))return;this.resolvedRelativeTargetAt=ej.timestamp;let s=this.getClosestProjectingParent();if(s&&this.linkedParentVersion!==s.layoutVersion&&!s.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(!1!==this.options.layoutAnchor&&s&&s.layout?this.createRelativeTarget(s,this.layout.layoutBox,s.layout.layoutBox):this.removeRelativeTarget()),this.relativeTarget||this.targetDelta){if(this.target||(this.target=X(),this.targetWithTransforms=X()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target){var o,a,l,u;this.forceRelativeParentToResolveTarget(),o=this.target,a=this.relativeTarget,l=this.relativeParent.target,u=this.options.layoutAnchor||void 0,r$(o.x,a.x,l.x,u?.x),r$(o.y,a.y,l.y,u?.y)}else this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):nj(this.target,this.layout.layoutBox),tY(this.target,this.targetDelta)):nj(this.target,this.layout.layoutBox);this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,!1!==this.options.layoutAnchor&&s&&!!s.resumingFrom==!!this.resumingFrom&&!s.options.layoutScroll&&s.target&&1!==this.animationProgress?this.createRelativeTarget(s,this.target,s.target):this.relativeParent=this.relativeTarget=void 0)}}getClosestProjectingParent(){if(!(!this.parent||tU(this.parent.latestValues)||tH(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(e,t,i){this.relativeParent=e,this.linkedParentVersion=e.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=X(),this.relativeTargetOrigin=X(),rW(this.relativeTargetOrigin,t,i,this.options.layoutAnchor||void 0),nj(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let e=this.getLead(),t=!!this.resumingFrom||this!==e,i=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(i=!1),t&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===ej.timestamp&&(i=!1),i)return;let{layout:r,layoutId:n}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(r||n))return;nj(this.layoutCorrected,this.layout.layoutBox);let s=this.treeScale.x,o=this.treeScale.y;!function(e,t,i,r=!1){let n,s,o=i.length;if(o){t.x=t.y=1;for(let a=0;a<o;a++){s=(n=i[a]).projectionDelta;let{visualElement:o}=n.options;(!o||!o.props.style||"contents"!==o.props.style.display)&&(r&&n.options.layoutScroll&&n.scroll&&n!==n.root&&(tK(e.x,-n.scroll.offset.x),tK(e.y,-n.scroll.offset.y)),s&&(t.x*=s.x.scale,t.y*=s.y.scale,tY(e,s)),r&&tW(n.latestValues)&&tJ(e,n.latestValues,n.layout?.layoutBox))}t.x<1.0000000000001&&t.x>.999999999999&&(t.x=1),t.y<1.0000000000001&&t.y>.999999999999&&(t.y=1)}}(this.layoutCorrected,this.treeScale,this.path,t),e.layout&&!e.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=X());let{target:a}=e;if(!a){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(nA(this.prevProjectionDelta.x,this.projectionDelta.x),nA(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),r_(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.treeScale.x===s&&this.treeScale.y===o&&n$(this.projectionDelta.x,this.prevProjectionDelta.x)&&n$(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",a))}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=H(),this.projectionDelta=H(),this.projectionDeltaWithTransform=H()}setAnimationOrigin(e,t=!1){let i,r=this.snapshot,n=r?r.latestValues:{},s={...this.latestValues},o=H();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let a=X(),l=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),h=!u||u.members.length<=1,d=!!(l&&!h&&
3!0===this.options.crossfade&&!this.path.some(sr));this.animationProgress=0,this.mixTargetDelta=t=>{let r=t/1e3;if(st(o.x,e.x,r),st(o.y,e.y,r),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,c,p,m,f,g;rW(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),p=this.relativeTarget,m=this.relativeTargetOrigin,f=a,g=r,si(p.x,m.x,f.x,g),si(p.y,m.y,f.y,g),i&&(u=this.relativeTarget,c=i,nz(u.x,c.x)&&nz(u.y,c.y))&&(this.isProjectionDirty=!1),i||(i=X()),nj(i,this.relativeTarget)}l&&(this.animationValues=s,function(e,t,i,r,n,s){n?(e.opacity=tO(0,i.opacity??1,nT(r)),e.opacityExit=tO(t.opacity??1,0,nC(r))):s&&(e.opacity=tO(t.opacity??1,i.opacity??1,r));for(let n=0;n<nw;n++){let s=nx[n],o=nS(t,s),a=nS(i,s);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||nP(o)===nP(a)?(e[s]=Math.max(tO(nk(o),nk(a),r),0),(w.test(a)||w.test(o))&&(e[s]+="%")):e[s]=a)}(t.rotate||i.rotate)&&(e.rotate=tO(t.rotate||0,i.rotate||0,r))}(s,n,this.latestValues,r,d,h)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=r},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(eM(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=eE.update(()=>{var t,i,r;let n;nm.hasAnimatedSinceResize=!0,e0.layout++,this.motionValue||(this.motionValue=tr(0)),this.motionValue.jump(0,!1),this.currentAnimation=(t=this.motionValue,i=[0,1e3],r={...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onStop:()=>{e0.layout--},onComplete:()=>{e0.layout--,e.onComplete&&e.onComplete(),this.completeAnimation()}},(n=(0,Y.isMotionValue)(t)?t:tr(t)).start(rT("",n,i,r)),n.animation),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(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:i,layout:r,latestValues:n}=e;if(t&&i&&r){if(this!==e&&this.layout&&r&&sl(this.options.animationType,this.layout.layoutBox,r.layoutBox)){i=this.target||X();let t=rN(this.layout.layoutBox.x);i.x.min=e.target.x.min,i.x.max=i.x.min+t;let r=rN(this.layout.layoutBox.y);i.y.min=e.target.y.min,i.y.max=i.y.min+r}nj(t,i),tJ(t,n),r_(this.projectionDeltaWithTransform,this.layoutCorrected,t,n)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new nU),this.sharedNodes.get(e).add(t);let i=t.options.initialPromotionConfig;t.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){let{layoutId:e}=this.options;return 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:t,preserveFollowOpacity:i}={}){let r=this.getStack();r&&r.promote(this,i),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return!!e&&e.relegate(this)}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:i}=e;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(t=!0),!t)return;let r={};i.z&&nY("z",e,r,this.animationValues);for(let t=0;t<nG.length;t++)nY(`rotate${nG[t]}`,e,r,this.animationValues),nY(`skew${nG[t]}`,e,r,this.animationValues);for(let t in e.render(),r)e.setStaticValue(t,r[t]),this.animationValues&&(this.animationValues[t]=r[t]);e.scheduleRender()}applyProjectionStyles(e,t){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=is(t?.pointerEvents)||"",e.transform=i?i(this.latestValues,""):"none";return}let r=this.getLead();if(!this.projectionDelta||!this.layout||!r.target){this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=is(t?.pointerEvents)||""),this.hasProjected&&!tW(this.latestValues)&&(e.transform=i?i({},""):"none",this.hasProjected=!1);return}e.visibility="";let n=r.animationValues||r.latestValues;this.applyTransformsToTarget();let s=function(e,t,i){let r="",n=e.x.translate/t.x,s=e.y.translate/t.y,o=i?.z||0;if((n||s||o)&&(r=`translate3d(${n}px, ${s}px, ${o}px) `),(1!==t.x||1!==t.y)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),i){let{transformPerspective:e,rotate:t,rotateX:n,rotateY:s,skewX:o,skewY:a}=i;e&&(r=`perspective(${e}px) ${r}`),t&&(r+=`rotate(${t}deg) `),n&&(r+=`rotateX(${n}deg) `),s&&(r+=`rotateY(${s}deg) `),o&&(r+=`skewX(${o}deg) `),a&&(r+=`skewY(${a}deg) `)}let a=e.x.scale*t.x,l=e.y.scale*t.y;return(1!==a||1!==l)&&(r+=`scale(${a}, ${l}
3)`),r||"none"}(this.projectionDeltaWithTransform,this.treeScale,n);i&&(s=i(n,s)),e.transform=s;let{x:o,y:a}=this.projectionDelta;for(let t in e.transformOrigin=`${100*o.origin}% ${100*a.origin}% 0`,r.animationValues?e.opacity=r===this?n.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:n.opacityExit:e.opacity=r===this?void 0!==n.opacity?n.opacity:"":void 0!==n.opacityExit?n.opacityExit:0,tB){if(void 0===n[t])continue;let{correct:i,applyTo:o,isCSSVariable:a}=tB[t],l="none"===s?n[t]:i(n[t],r);if(o){let t=o.length;for(let i=0;i<t;i++)e[o[i]]=l}else a?this.options.visualElement.renderState.vars[t]=l:e[t]=l}this.options.layoutId&&(e.pointerEvents=r===this?is(t?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach(n1),this.root.sharedNodes.clear()}}}function nq(e){e.updateLayout()}function nZ(e){let t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){let{layoutBox:i,measuredBox:r}=e.layout,{animationType:n}=e.options,s=t.source!==e.layout.source;if("size"===n)rB(e=>{let r=s?t.measuredBox[e]:t.layoutBox[e],n=rN(r);r.min=i[e].min,r.max=r.min+n});else if("x"===n||"y"===n){let e="x"===n?"y":"x";nM(s?t.measuredBox[e]:t.layoutBox[e],i[e])}else sl(n,t.layoutBox,i)&&rB(r=>{let n=s?t.measuredBox[r]:t.layoutBox[r],o=rN(i[r]);n.max=n.min+o,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+o)});let o=H();r_(o,i,t.layoutBox);let a=H();s?r_(a,e.applyTransform(r,!0),t.measuredBox):r_(a,i,t.layoutBox);let l=!nI(o),u=!1;if(!e.resumeFrom){let r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:n,layout:s}=r;if(n&&s){let o=e.options.layoutAnchor||void 0,a=X();rW(a,t.layoutBox,n.layoutBox,o);let l=X();rW(l,i,s.layoutBox,o),nF(a,l)||(u=!0),r.options.layoutRoot&&(e.relativeTarget=l,e.relativeTargetOrigin=a,e.relativeParent=r)}}}e.notifyListeners("didUpdate",{layout:i,snapshot:t,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function nJ(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function nQ(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function n0(e){e.clearSnapshot()}function n1(e){e.clearMeasurements()}function n2(e){e.isLayoutDirty=!0,e.updateLayout()}function n5(e){e.isLayoutDirty=!1}function n3(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function n4(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function n6(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function n8(e){e.resolveTargetDelta()}function n7(e){e.calcProjection()}function n9(e){e.resetSkewAndRotation()}function se(e){e.removeLeadSnapshot()}function st(e,t,i){e.translate=tO(t.translate,0,i),e.scale=tO(t.scale,1,i),e.origin=t.origin,e.originPoint=t.originPoint}function si(e,t,i,r){e.min=tO(t.min,i.min,r),e.max=tO(t.max,i.max,r)}function sr(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}let sn={duration:.45,ease:[.4,0,.1,1]},ss=e=>"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),so=ss("applewebkit/")&&!ss("chrome/")?Math.round:eP;function sa(e){e.min=so(e.min),e.max=so(e.max)}function sl(e,t,i){return"position"===e||"preserve-aspect"===e&&!(.2>=Math.abs(n_(t)-n_(i)))}function su(e){return e!==e.root&&e.scroll?.wasRoot}let sh=nK({attachResizeListener:(e,t)=>rI(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),sd={current:void 0},sc=nK({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!sd.current){let e=new sh({});e.mount(window),e.setOptions({layoutScroll:!0}),sd.current=e}return sd.current},resetTransform:(e,t)=>
3{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>"fixed"===window.getComputedStyle(e).position});function sp(e,t){let i=rX(e),r=new AbortController;return[i,{passive:!0,...t,signal:r.signal},()=>r.abort()]}function sm(e,t,i){let{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover","Start"===i);let n=r["onHover"+i];n&&eE.postRender(()=>n(t,r4(t)))}function sf(e){return rH(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)}e.s(["isHTMLElement",0,sf],72846);let sg=(e,t)=>!!t&&(e===t||sg(e,t.parentElement)),sy=new WeakSet;function sv(e){return t=>{"Enter"===t.key&&e(t)}}function sb(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}function sx(e){return r3(e)&&!(rz.x||rz.y)}let sw=new WeakSet;function sk(e,t,i){let{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap","Start"===i);let n=r["onTap"+("End"===i?"":i)];n&&eE.postRender(()=>n(t,r4(t)))}let sP=new WeakMap,sS=new WeakMap,sT=e=>{let t=sP.get(e.target);t&&t(e)},sC=e=>{e.forEach(sT)},sE={some:0,all:1},sM=function(e,t){if("u"<typeof Proxy)return ix;let i=new Map,r=(i,r)=>ix(i,r,e,t);return new Proxy((e,t)=>r(e,t),{get:(n,s)=>"create"===s?r:(i.has(s)||i.set(s,ix(s,void 0,e,t)),i.get(s))})}({animation:{Feature:class extends iw{constructor(e){super(e),e.animationState||(e.animationState=function(e){let t=t=>Promise.all(t.map(({animation:t,options:i})=>(function(e,t,i={}){let r;if(e.notify("AnimationStart",t),Array.isArray(t))r=Promise.all(t.map(t=>rM(e,t,i)));else if("string"==typeof t)r=rM(e,t,i);else{let n="function"==typeof t?ik(e,t,i.custom):t;r=Promise.all(rC(e,n,i))}return r.then(()=>{e.notify("AnimationComplete",t)})})(e,t,i))),i=rD(),r=!0,n=!1,s=t=>(i,r)=>{let n=ik(e,r,"exit"===t?e.presenceContext?.custom:void 0);if(n){let{transition:e,transitionEnd:t,...r}=n;i={...i,...r,...t}}return i};function o(o){let{props:a}=e,l=function e(t){if(!t)return;if(!t.isControllingVariants){let i=t.parent&&e(t.parent)||{};return void 0!==t.props.initial&&(i.initial=t.props.initial),i}let i={};for(let e=0;e<rj;e++){let r=tu[e],n=t.props[r];(ta(n)||!1===n)&&(i[r]=n)}return i}(e.parent)||{},u=[],h=new Set,d={},c=1/0;for(let t=0;t<rR;t++){var p,m;let f=rV[t],g=i[f],y=void 0!==a[f]?a[f]:l[f],v=ta(y),b=f===o?g.isActive:null;!1===b&&(c=t);let x=y===l[f]&&y!==a[f]&&v;if(x&&(r||n)&&e.manuallyAnimateOnMount&&(x=!1),g.protectedKeys={...d},!g.isActive&&null===b||!y&&!g.prevProp||to(y)||"boolean"==typeof y)continue;if("exit"===f&&g.isActive&&!0!==b){g.prevResolvedValues&&(d={...d,...g.prevResolvedValues});continue}let w=(p=g.prevProp,"string"==typeof(m=y)?m!==p:!!Array.isArray(m)&&!rA(m,p)),k=w||f===o&&g.isActive&&!x&&v||t>c&&v,P=!1,S=Array.isArray(y)?y:[y],T=S.reduce(s(f),{});!1===b&&(T={});let{prevResolvedValues:C={}}=g,E={...C,...T},M=t=>{k=!0,h.has(t)&&(P=!0,h.delete(t)),g.needsAnimating[t]=!0;let i=e.getValue(t);i&&(i.liveStyle=!1)};for(let e in E){let t=T[e],i=C[e];if(!d.hasOwnProperty(e))(iT(t)&&iT(i)?rA(t,i):t===i)?void 0!==t&&h.has(e)?M(e):g.protectedKeys[e]=!0:null!=t?M(e):h.add(e)}g.prevProp=y,g.prevResolvedValues=T,g.isActive&&(d={...d,...T}),(r||n)&&e.blockInitialAnimation&&(k=!1);let j=x&&w,A=!j||P;k&&A&&u.push(...S.map(t=>{let i={type:f};if("string"==typeof t&&(r||n)&&!j&&e.manuallyAnimateOnMount&&e.parent){let{parent:r}=e,n=ik(r,t);if(r.enteringChildren&&n){let{delayChildren:t}=n.transition||{};i.delay=rE(r.enteringChildren,e,t)}}return{animation:t,options:i}}))}if(h.size){let t={};if("boolean"!=typeof a.initial){let i=ik(e,Array.isArray(a.initial)?a.initial[0]:a.initial);i&&i.transition&&(t.transition=i.transition)}h.forEach(i=>{let r=e.getBaseTarget(i),n=e.getValue(i);n&&(n.liveStyle=!0),t[i]=r??null}),u.push({animation:t})}let f=!!u.length;return r&&(!1===a.initial||a.initial===a.animate)&&!e.manuallyAnimateOnMount&&(f=!1),r=!1,n=!1,f?t(u):Promise.resolve()}return{animateChanges:o,setActive:function(t,r){if(i[t].isActive===r)return Promise.resolve();e.variantChildren?.forEach(e=>e.animationState?.setActive(t,r)),i[t].isActive=r;let n=o(t);for(let e in i)i[e].protectedKeys={};return n},setAnimateFunction:function(i){t=i(e)},getState:()=>i,reset:()=>{i=rD(),n=!0}}}(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();to(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}},exit:{Feature:class extends iw{constructor(){super(...arguments),this.id=rO++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===i)return;if(e&&!1===i){if(this.isExitComplete){let{initial:e,custom:t}=this.node.getProps();if("string"==typeof e){let i=ik(this.node,e,t);if(i){let{transition:e,transitionEnd:t,...r}=i;for(let e in r)this.node.getValue(e)?.jump(r[e])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}let r=this.node.animationState.setActive("exit",!e);t&&!e&&r.then(()=>
3{this.isExitComplete=!0,t(this.id)})}mount(){let{register:e,onExitComplete:t}=this.node.presenceContext||{};t&&t(this.id),e&&(this.unmount=e(this.id))}unmount(){}}},inView:{Feature:class extends iw{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var e;let t;this.stopObserver?.();let{viewport:i={}}=this.node.getProps(),{root:r,margin:n,amount:s="some",once:o}=i,a={root:r?r.current:void 0,rootMargin:n,threshold:"number"==typeof s?s:sE[s]},l=e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,o&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);let{onViewportEnter:i,onViewportLeave:r}=this.node.getProps(),n=t?i:r;n&&n(e)};this.stopObserver=(e=this.node.current,t=function({root:e,...t}){let i=e||document;sS.has(i)||sS.set(i,{});let r=sS.get(i),n=JSON.stringify(t);return r[n]||(r[n]=new IntersectionObserver(sC,{root:e,...t})),r[n]}(a),sP.set(e,l),t.observe(e),()=>{sP.delete(e),t.unobserve(e)})}mount(){this.startObserver()}update(){if("u"<typeof IntersectionObserver)return;let{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return i=>e[i]!==t[i]}(e,t))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}},tap:{Feature:class extends iw{mount(){let{current:e}=this.node;if(!e)return;let{globalTapTarget:t,propagate:i}=this.node.props;this.unmount=function(e,t,i={}){let[r,n,s]=sp(e,i),o=e=>{let r=e.currentTarget;if(!sx(e)||sw.has(e))return;sy.add(r),i.stopPropagation&&sw.add(e);let s=t(r,e),o=(e,t)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),sy.has(r)&&sy.delete(r),sx(e)&&"function"==typeof s&&s(e,{success:t})},a=e=>{o(e,r===window||r===document||i.useGlobalTarget||sg(r,e.target))},l=e=>{o(e,!1)};window.addEventListener("pointerup",a,n),window.addEventListener("pointercancel",l,n)};return r.forEach(e=>{((i.useGlobalTarget?window:e).addEventListener("pointerdown",o,n),sf(e))&&(e.addEventListener("focus",e=>((e,t)=>{let i=e.currentTarget;if(!i)return;let r=sv(()=>{if(sy.has(i))return;sb(i,"down");let e=sv(()=>{sb(i,"up")});i.addEventListener("keyup",e,t),i.addEventListener("blur",()=>sb(i,"cancel"),t)});i.addEventListener("keydown",r,t),i.addEventListener("blur",()=>i.removeEventListener("keydown",r),t)})(e,n)),r2.has(e.tagName)||!0===e.isContentEditable||e.hasAttribute("tabindex")||(e.tabIndex=0))}),s}(e,(e,t)=>(sk(this.node,t,"Start"),(e,{success:t})=>sk(this.node,e,t?"End":"Cancel")),{useGlobalTarget:t,stopPropagation:i?.tap===!1})}unmount(){}}},focus:{Feature:class extends iw{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){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=iM(rI(this.node.current,"focus",()=>this.onFocus()),rI(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends iw{mount(){let{current:e}=this.node;e&&(this.unmount=function(e,t,i={}){let[r,n,s]=sp(e,i);return r.forEach(e=>{let i,r=!1,s=!1,o=t=>{i&&(i(t),i=void 0),e.removeEventListener("pointerleave",l)},a=e=>{r=!1,window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",a),s&&(s=!1,o(e))},l=e=>{if("touch"!==e.pointerType){if(r){s=!0;return}o(e)}};e.addEventListener("pointerenter",r=>{if("touch"===r.pointerType||rz.x||rz.y)return;s=!1;let o=t(e,r);"function"==typeof o&&(i=o,e.addEventListener("pointerleave",l,n))},n),e.addEventListener("pointerdown",()=>{r=!0,window.addEventListener("pointerup",a,n),window.addEventListener("pointercancel",a,n)},n)}),s}(e,(e,t)=>(sm(this.node,t,"Start"),e=>sm(this.node,e,"End"))))}unmount(){}}},pan:{Feature:class extends iw{constructor(){super(...arguments),this.removePointerDownListener=eP}onPointerDown(e){this.session=new ne(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:r8(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:i,onPanEnd:r}=this.node.getProps();return{onSessionStart:np(e),onStart:np(t),onMove:np(i),onEnd:(e,t)=>{delete this.session,r&&eE.postRender(()=>r(e,t))}}}mount(){this.removePointerDownListener=r6(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends iw{constructor(e){super(e),this.removeGroupControls=eP,this.removeListeners=eP,this.controls=new nh(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||eP}update(){let{dragControls:e}=this.node.getProps(),{dragControls:t}=this.node.prevProps||{};e!==t&&(this.removeGroupControls(),e&&(this.removeGroupControls=e.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}},ProjectionNode:sc,MeasureLayout:nb},layout:{ProjectionNode:sc,MeasureLayout:nb}},(e,t)=>t.isSVG??t5(e)?new tF(t):new t0(t,{allowProjection:e!==t1.Fragment}));e.s(["motion",0,sM],46932)},75254,e=>{"use strict";var t=e.i(71645);let i=(...e)=>e.filter((e,t,i)=>
3!!e&&""!==e.trim()&&i.indexOf(e)===t).join(" ").trim(),r=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,i)=>i?i.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)};var n={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 s=(0,t.forwardRef)(({color:e="currentColor",size:r=24,strokeWidth:s=2,absoluteStrokeWidth:o,className:a="",children:l,iconNode:u,...h},d)=>(0,t.createElement)("svg",{ref:d,...n,width:r,height:r,stroke:e,strokeWidth:o?24*Number(s)/Number(r):s,className:i("lucide",a),...!l&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1})(h)&&{"aria-hidden":"true"},...h},[...u.map(([e,i])=>(0,t.createElement)(e,i)),...Array.isArray(l)?l:[l]]));e.s(["default",0,(e,n)=>{let o=(0,t.forwardRef)(({className:o,...a},l)=>(0,t.createElement)(s,{ref:l,iconNode:n,className:i(`lucide-${r(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,o),...a}));return o.displayName=r(e),o}],75254)},37727,e=>{"use strict";let t=(0,e.i(75254).default)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);e.s(["X",0,t],37727)},67881,20783,91918,25913,47163,e=>{"use strict";var t=e.i(43476),i=e.i(71645);function r(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function n(...e){return t=>{let i=!1,n=e.map(e=>{let n=r(e,t);return i||"function"!=typeof n||(i=!0),n});if(i)return()=>{for(let t=0;t<n.length;t++){let i=n[t];"function"==typeof i?i():r(e[t],null)}}}}e.s(["composeRefs",0,n,"useComposedRefs",0,function(...e){return i.useCallback(n(...e),e)}],20783);var s=Symbol.for("react.lazy"),o=i[" use ".trim().toString()];function a(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===s&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}function l(e){var r;let s,l=(r=e,(s=i.forwardRef((e,t)=>{let{children:r,...s}=e;if(a(r)&&"function"==typeof o&&(r=o(r._payload)),i.isValidElement(r)){var l;let e,o,a=(l=r,(o=(e=Object.getOwnPropertyDescriptor(l.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?l.ref:(o=(e=Object.getOwnPropertyDescriptor(l,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?l.props.ref:l.props.ref||l.ref),u=function(e,t){let i={...t};for(let r in t){let n=e[r],s=t[r];/^on[A-Z]/.test(r)?n&&s?i[r]=(...e)=>{let t=s(...e);return n(...e),t}:n&&(i[r]=n):"style"===r?i[r]={...n,...s}:"className"===r&&(i[r]=[n,s].filter(Boolean).join(" "))}return{...e,...i}}(s,r.props);return r.type!==i.Fragment&&(u.ref=t?n(t,a):a),i.cloneElement(r,u)}return i.Children.count(r)>1?i.Children.only(null):null})).displayName=`${r}.SlotClone`,s),u=i.forwardRef((e,r)=>{let{children:n,...s}=e;a(n)&&"function"==typeof o&&(n=o(n._payload));
3let u=i.Children.toArray(n),h=u.find(d);if(h){let e=h.props.children,n=u.map(t=>t!==h?t:i.Children.count(e)>1?i.Children.only(null):i.isValidElement(e)?e.props.children:null);return(0,t.jsx)(l,{...s,ref:r,children:i.isValidElement(e)?i.cloneElement(e,void 0,n):null})}return(0,t.jsx)(l,{...s,ref:r,children:n})});return u.displayName=`${e}.Slot`,u}var u=l("Slot"),h=Symbol("radix.slottable");function d(e){return i.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===h}function c(){for(var e,t,i=0,r="",n=arguments.length;i<n;i++)(e=arguments[i])&&(t=function e(t){var i,r,n="";if("string"==typeof t||"number"==typeof t)n+=t;else if("object"==typeof t)if(Array.isArray(t)){var s=t.length;for(i=0;i<s;i++)t[i]&&(r=e(t[i]))&&(n&&(n+=" "),n+=r)}else for(r in t)t[r]&&(n&&(n+=" "),n+=r);return n}(e))&&(r&&(r+=" "),r+=t);return r}e.s(["Slot",0,u,"createSlot",0,l],91918);let p=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,m=(e,t)=>i=>{var r;if((null==t?void 0:t.variants)==null)return c(e,null==i?void 0:i.class,null==i?void 0:i.className);let{variants:n,defaultVariants:s}=t,o=Object.keys(n).map(e=>{let t=null==i?void 0:i[e],r=null==s?void 0:s[e];if(null===t)return null;let o=p(t)||p(r);return n[e][o]}),a=i&&Object.entries(i).reduce((e,t)=>{let[i,r]=t;return void 0===r||(e[i]=r),e},{});return c(e,o,null==t||null==(r=t.compoundVariants)?void 0:r.reduce((e,t)=>{let{class:i,className:r,...n}=t;return Object.entries(n).every(e=>{let[t,i]=e;return Array.isArray(i)?i.includes({...s,...a}[t]):({...s,...a})[t]===i})?[...e,i,r]:e},[]),null==i?void 0:i.class,null==i?void 0:i.className)};e.s(["cva",0,m],25913);let f=(e=new Map,t=null,i)=>({nextPart:e,validators:t,classGroupId:i}),g=[],y=(e,t,i)=>{if(0==e.length-t)return i.classGroupId;let r=e[t],n=i.nextPart.get(r);if(n){let i=y(e,t+1,n);if(i)return i}let s=i.validators;if(null===s)return;let o=0===t?e.join("-"):e.slice(t).join("-"),a=s.length;for(let e=0;e<a;e++){let t=s[e];if(t.validator(o))return t.classGroupId}},v=(e,t)=>{let i=f();for(let r in e)b(e[r],i,r,t);return i},b=(e,t,i,r)=>{let n=e.length;for(let s=0;s<n;s++)x(e[s],t,i,r)},x=(e,t,i,r)=>{"string"==typeof e?w(e,t,i):"function"==typeof e?k(e,t,i,r):P(e,t,i,r)},w=(e,t,i)=>{(""===e?t:S(t,e)).classGroupId=i},k=(e,t,i,r)=>{T(e)?b(e(r),t,i,r):(null===t.validators&&(t.validators=[]),t.validators.push({classGroupId:i,validator:e}))},P=(e,t,i,r)=>{let n=Object.entries(e),s=n.length;for(let e=0;e<s;e++){let[s,o]=n[e];b(o,S(t,s),i,r)}},S=(e,t)=>{let i=e,r=t.split("-"),n=r.length;for(let e=0;e<n;e++){let t=r[e],n=i.nextPart.get(t);n||(n=f(),i.nextPart.set(t,n)),i=n}return i},T=e=>"isThemeGetter"in e&&!0===e.isThemeGetter,C=[],E=(e,t,i,r,n)=>({modifiers:e,hasImportantModifier:t,baseClassName:i,maybePostfixModifierPosition:r,isExternal:n}),M=/\s+/,j=e=>{let t;if("string"==typeof e)return e;let i="";for(let r=0;r<e.length;r++)e[r]&&(t=j(e[r]))&&(i&&(i+=" "),i+=t);return i},A=[],V=e=>{let t=t=>t[e]||A;return t.isThemeGetter=!0,t},R=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,L=/^\((?:(\w[\w-]*):)?(.+)\)$/i,D=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,O=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,B=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,I=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,z=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,N=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,F=e=>D.test(e),_=e=>!!e&&!Number.isNaN(Number(e)),$=e=>!!e&&Number.isInteger(Number(e)),U=e=>e.endsWith("%")&&_(e.slice(0,-1)),W=e=>O.test(e),H=()=>!0,G=e=>B.test(e)&&!I.test(e),X=()=>!1,Y=e=>z.test(e),K=e=>N.test(e),q=e=>!J(e)&&!eo(e),Z=e=>em(e,ev,X),J=e=>R.test(e),Q=e=>em(e,eb,G),ee=e=>em(e,ex,_),et=e=>em(e,ek,H),ei=e=>em(e,ew,X),er=e=>em(e,eg,X),en=e=>em(e,ey,K),es=e=>em(e,eP,Y),eo=e=>L.test(e),ea=e=>ef(e,eb),el=e=>ef(e,ew),eu=e=>ef(e,eg),eh=e=>ef(e,ev),ed=e=>ef(e,ey),ec=e=>ef(e,eP,!0),ep=e=>ef(e,ek,!0),em=(e,t,i)=>{let r=R.exec(e);return!!r&&(r[1]?t(r[1]):i(r[2]))},ef=(e,t,i=!1)=>{let r=L.exec(e);return!!r&&(r[1]?t(r[1]):i)},eg=e=>"position"===e||"percentage"===e,ey=e=>"image"===e||"url"===e,ev=e=>"length"===e||"size"===e||"bg-size"===e,eb=e=>"length"===e,ex=e=>"number"===e,ew=e=>"family-name"===e,ek=e=>"number"===e||"weight"===e,eP=e=>"shadow"===e,eS=((e,...t)=>{let i,r,n,s,o=e=>{let t=r(e);if(t)return t;let s=((e,t)=>{let{parseClassName:i,getClassGroupId:r,getConflictingClassGroupIds:n,sortModifiers:s}=t,o=[],a=e.trim().split(M),l="";for(let e=a.length-1;e>=0;e-=1){let t=a[e],{isExternal:u,modifiers:h,hasImportantModifier:d,baseClassName:c,maybePostfixModifierPosition:p}=i(t);if(u){l=t+(l.length>0?" "+l:l);continue}let m=!!p,f=r(m?c.substring(0,p):c);if(!f){if(!m||!(f=r(c))){l=t+(l.length>0?" "+l:l);continue}m=!1}let g=0===h.length?"":1===h.length?h[0]:s(h).join(":"),y=d?g+"!":g,v=y+f;if(o.indexOf(v)>-1)continue;o.push(v);let b=n(f,m);for(let e=0;e<b.length;++e){let t=b[e];o.push(y+t)}l=t+(l.length>0?" "+l:l)}return l})(e,i);return n(e,s),s};return s=a=>{var l;let u;return r=(i={cache:(e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,i=Object.create(null),r=Object.create(null),n=(n,s)=>{i[n]=s,++t>e&&(t=0,r=i,i=Object.create(null))};return{get(e){let t=i[e];return void 0!==t?t:void 0!==(t=r[e])?(n(e,t),t):void 0},set(e,t){e in i?i[e]=t:n(e,t)}}})((l=t.reduce((e,t)=>
3t(e),e())).cacheSize),parseClassName:(e=>{let{prefix:t,experimentalParseClassName:i}=e,r=e=>{let t,i=[],r=0,n=0,s=0,o=e.length;for(let a=0;a<o;a++){let o=e[a];if(0===r&&0===n){if(":"===o){i.push(e.slice(s,a)),s=a+1;continue}if("/"===o){t=a;continue}}"["===o?r++:"]"===o?r--:"("===o?n++:")"===o&&n--}let a=0===i.length?e:e.slice(s),l=a,u=!1;return a.endsWith("!")?(l=a.slice(0,-1),u=!0):a.startsWith("!")&&(l=a.slice(1),u=!0),E(i,u,l,t&&t>s?t-s:void 0)};if(t){let e=t+":",i=r;r=t=>t.startsWith(e)?i(t.slice(e.length)):E(C,!1,t,void 0,!0)}if(i){let e=r;r=t=>i({className:t,parseClassName:e})}return r})(l),sortModifiers:(u=new Map,l.orderSensitiveModifiers.forEach((e,t)=>{u.set(e,1e6+t)}),e=>{let t=[],i=[];for(let r=0;r<e.length;r++){let n=e[r],s="["===n[0],o=u.has(n);s||o?(i.length>0&&(i.sort(),t.push(...i),i=[]),t.push(n)):i.push(n)}return i.length>0&&(i.sort(),t.push(...i)),t}),...(e=>{let t=(e=>{let{theme:t,classGroups:i}=e;return v(i,t)})(e),{conflictingClassGroups:i,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{if(e.startsWith("[")&&e.endsWith("]")){var i;let t,r,n;return -1===(i=e).slice(1,-1).indexOf(":")?void 0:(r=(t=i.slice(1,-1)).indexOf(":"),(n=t.slice(0,r))?"arbitrary.."+n:void 0)}let r=e.split("-"),n=+(""===r[0]&&r.length>1);return y(r,n,t)},getConflictingClassGroupIds:(e,t)=>{if(t){let t=r[e],n=i[e];if(t){if(n){let e=Array(n.length+t.length);for(let t=0;t<n.length;t++)e[t]=n[t];for(let i=0;i<t.length;i++)e[n.length+i]=t[i];return e}return t}return n||g}return i[e]||g}}})(l)}).cache.get,n=i.cache.set,s=o,o(a)},(...e)=>s(((...e)=>{let t,i,r=0,n="";for(;r<e.length;)(t=e[r++])&&(i=j(t))&&(n&&(n+=" "),n+=i);return n})(...e))})(()=>{let e=V("color"),t=V("font"),i=V("text"),r=V("font-weight"),n=V("tracking"),s=V("leading"),o=V("breakpoint"),a=V("container"),l=V("spacing"),u=V("radius"),h=V("shadow"),d=V("inset-shadow"),c=V("text-shadow"),p=V("drop-shadow"),m=V("blur"),f=V("perspective"),g=V("aspect"),y=V("ease"),v=V("animate"),b=()=>["auto","avoid","all","avoid-page","page","left","right","column"],x=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],w=()=>[...x(),eo,J],k=()=>["auto","hidden","clip","visible","scroll"],P=()=>["auto","contain","none"],S=()=>[eo,J,l],T=()=>[F,"full","auto",...S()],C=()=>[$,"none","subgrid",eo,J],E=()=>["auto",{span:["full",$,eo,J]},$,eo,J],M=()=>[$,"auto",eo,J],j=()=>["auto","min","max","fr",eo,J],A=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],R=()=>["start","end","center","stretch","center-safe","end-safe"],L=()=>["auto",...S()],D=()=>[F,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...S()],O=()=>[F,"screen","full","dvw","lvw","svw","min","max","fit",...S()],B=()=>[F,"screen","full","lh","dvh","lvh","svh","min","max","fit",...S()],I=()=>[e,eo,J],z=()=>[...x(),eu,er,{position:[eo,J]}],N=()=>["no-repeat",{repeat:["","x","y","space","round"]}],G=()=>["auto","cover","contain",eh,Z,{size:[eo,J]}],X=()=>[U,ea,Q],Y=()=>["","none","full",u,eo,J],K=()=>["",_,ea,Q],em=()=>["solid","dashed","dotted","double"],ef=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],eg=()=>[_,U,eu,er],ey=()=>["","none",m,eo,J],ev=()=>["none",_,eo,J],eb=()=>["none",_,eo,J],ex=()=>[_,eo,J],ew=()=>[F,"full",...S()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[W],breakpoint:[W],color:[H],container:[W],"drop-shadow":[W],ease:["in","out","in-out"],font:[q],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[W],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[W],shadow:[W],spacing:["px",_],text:[W],"text-shadow":[W],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",F,J,eo,g]}
vendor: 6,058 bytes, line 3
3],container:["container"],columns:[{columns:[_,J,eo,a]}],"break-after":[{"break-after":b()}],"break-before":[{"break-before":b()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:w()}],overflow:[{overflow:k()}],"overflow-x":[{"overflow-x":k()}],"overflow-y":[{"overflow-y":k()}],overscroll:[{overscroll:P()}],"overscroll-x":[{"overscroll-x":P()}],"overscroll-y":[{"overscroll-y":P()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:T()}],"inset-x":[{"inset-x":T()}],"inset-y":[{"inset-y":T()}],start:[{"inset-s":T(),start:T()}],end:[{"inset-e":T(),end:T()}],"inset-bs":[{"inset-bs":T()}],"inset-be":[{"inset-be":T()}],top:[{top:T()}],right:[{right:T()}],bottom:[{bottom:T()}],left:[{left:T()}],visibility:["visible","invisible","collapse"],z:[{z:[$,"auto",eo,J]}],basis:[{basis:[F,"full","auto",a,...S()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[_,F,"auto","initial","none",J]}],grow:[{grow:["",_,eo,J]}],shrink:[{shrink:["",_,eo,J]}],order:[{order:[$,"first","last","none",eo,J]}],"grid-cols":[{"grid-cols":C()}],"col-start-end":[{col:E()}],"col-start":[{"col-start":M()}],"col-end":[{"col-end":M()}],"grid-rows":[{"grid-rows":C()}],"row-start-end":[{row:E()}],"row-start":[{"row-start":M()}],"row-end":[{"row-end":M()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":j()}],"auto-rows":[{"auto-rows":j()}],gap:[{gap:S()}],"gap-x":[{"gap-x":S()}],"gap-y":[{"gap-y":S()}],"justify-content":[{justify:[...A(),"normal"]}],"justify-items":[{"justify-items":[...R(),"normal"]}],"justify-self":[{"justify-self":["auto",...R()]}],"align-content":[{content:["normal",...A()]}],"align-items":[{items:[...R(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...R(),{baseline:["","last"]}]}],"place-content":[{"place-content":A()}],"place-items":[{"place-items":[...R(),"baseline"]}],"place-self":[{"place-self":["auto",...R()]}],p:[{p:S()}],px:[{px:S()}],py:[{py:S()}],ps:[{ps:S()}],pe:[{pe:S()}],pbs:[{pbs:S()}],pbe:[{pbe:S()}],pt:[{pt:S()}],pr:[{pr:S()}],pb:[{pb:S()}],pl:[{pl:S()}],m:[{m:L()}],mx:[{mx:L()}],my:[{my:L()}],ms:[{ms:L()}],me:[{me:L()}],mbs:[{mbs:L()}],mbe:[{mbe:L()}],mt:[{mt:L()}],mr:[{mr:L()}],mb:[{mb:L()}],ml:[{ml:L()}],"space-x":[{"space-x":S()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":S()}],"space-y-reverse":["space-y-reverse"],size:[{size:D()}],"inline-size":[{inline:["auto",...O()]}],"min-inline-size":[{"min-inline":["auto",...O()]}],"max-inline-size":[{"max-inline":["none",...O()]}],"block-size":[{block:["auto",...B()]}],"min-block-size":[{"min-block":["auto",...B()]}],"max-block-size":[{"max-block":["none",...B()]}],w:[{w:[a,"screen",...D()]}],"min-w":[{"min-w":[a,"screen","none",...D()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[o]},...D()]}],h:[{h:["screen","lh",...D()]}],"min-h":[{"min-h":["screen","lh","none",...D()]}],"max-h":[{"max-h":["screen","lh",...D()]}],"font-size":[{text:["base",i,ea,Q]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,ep,et]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",U,J]}],"font-family":[{font:[el,ei,t]}],"font-features":[{"font-features":[J]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[n,eo,J]}],"line-clamp":[{"line-clamp":[_,"none",eo,ee]}],leading:[{leading:[s,...S()]}],"list-image":[{"list-image":["none",eo,J]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",eo,J]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:I()}],"text-color":[{text:I()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...em(),"wavy"]}],"text-decoration-thickness":[{decoration:[_,"from-font","auto",eo,Q]}],"text-decoration-color":[{decoration:I()}],"underline-offset":[{"underline-offset":[_,"auto",eo,J]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:S()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",eo,J]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",eo,J]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:z()}],"bg-repeat":[{bg:N()}],"bg-size":[{bg:G()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},$,eo,J],radial:["",eo,J],conic:[$,eo,J]},ed,en]}],"bg-color":[{bg:I()}],"gradient-from-pos":[{from:X()}
3],"gradient-via-pos":[{via:X()}],"gradient-to-pos":[{to:X()}],"gradient-from":[{from:I()}],"gradient-via":[{via:I()}],"gradient-to":[{to:I()}],rounded:[{rounded:Y()}],"rounded-s":[{"rounded-s":Y()}],"rounded-e":[{"rounded-e":Y()}],"rounded-t":[{"rounded-t":Y()}],"rounded-r":[{"rounded-r":Y()}],"rounded-b":[{"rounded-b":Y()}],"rounded-l":[{"rounded-l":Y()}],"rounded-ss":[{"rounded-ss":Y()}],"rounded-se":[{"rounded-se":Y()}],"rounded-ee":[{"rounded-ee":Y()}],"rounded-es":[{"rounded-es":Y()}],"rounded-tl":[{"rounded-tl":Y()}],"rounded-tr":[{"rounded-tr":Y()}],"rounded-br":[{"rounded-br":Y()}],"rounded-bl":[{"rounded-bl":Y()}],"border-w":[{border:K()}],"border-w-x":[{"border-x":K()}],"border-w-y":[{"border-y":K()}],"border-w-s":[{"border-s":K()}],"border-w-e":[{"border-e":K()}],"border-w-bs":[{"border-bs":K()}],"border-w-be":[{"border-be":K()}],"border-w-t":[{"border-t":K()}],"border-w-r":[{"border-r":K()}],"border-w-b":[{"border-b":K()}],"border-w-l":[{"border-l":K()}],"divide-x":[{"divide-x":K()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":K()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...em(),"hidden","none"]}],"divide-style":[{divide:[...em(),"hidden","none"]}],"border-color":[{border:I()}],"border-color-x":[{"border-x":I()}],"border-color-y":[{"border-y":I()}],"border-color-s":[{"border-s":I()}],"border-color-e":[{"border-e":I()}],"border-color-bs":[{"border-bs":I()}],"border-color-be":[{"border-be":I()}],"border-color-t":[{"border-t":I()}],"border-color-r":[{"border-r":I()}],"border-color-b":[{"border-b":I()}],"border-color-l":[{"border-l":I()}
vendor: 5,700 bytes, line 3
3],"divide-color":[{divide:I()}],"outline-style":[{outline:[...em(),"none","hidden"]}],"outline-offset":[{"outline-offset":[_,eo,J]}],"outline-w":[{outline:["",_,ea,Q]}],"outline-color":[{outline:I()}],shadow:[{shadow:["","none",h,ec,es]}],"shadow-color":[{shadow:I()}],"inset-shadow":[{"inset-shadow":["none",d,ec,es]}],"inset-shadow-color":[{"inset-shadow":I()}],"ring-w":[{ring:K()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:I()}],"ring-offset-w":[{"ring-offset":[_,Q]}],"ring-offset-color":[{"ring-offset":I()}],"inset-ring-w":[{"inset-ring":K()}],"inset-ring-color":[{"inset-ring":I()}],"text-shadow":[{"text-shadow":["none",c,ec,es]}],"text-shadow-color":[{"text-shadow":I()}],opacity:[{opacity:[_,eo,J]}],"mix-blend":[{"mix-blend":[...ef(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ef()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[_]}],"mask-image-linear-from-pos":[{"mask-linear-from":eg()}],"mask-image-linear-to-pos":[{"mask-linear-to":eg()}],"mask-image-linear-from-color":[{"mask-linear-from":I()}],"mask-image-linear-to-color":[{"mask-linear-to":I()}],"mask-image-t-from-pos":[{"mask-t-from":eg()}],"mask-image-t-to-pos":[{"mask-t-to":eg()}],"mask-image-t-from-color":[{"mask-t-from":I()}],"mask-image-t-to-color":[{"mask-t-to":I()}],"mask-image-r-from-pos":[{"mask-r-from":eg()}],"mask-image-r-to-pos":[{"mask-r-to":eg()}],"mask-image-r-from-color":[{"mask-r-from":I()}],"mask-image-r-to-color":[{"mask-r-to":I()}],"mask-image-b-from-pos":[{"mask-b-from":eg()}],"mask-image-b-to-pos":[{"mask-b-to":eg()}],"mask-image-b-from-color":[{"mask-b-from":I()}],"mask-image-b-to-color":[{"mask-b-to":I()}],"mask-image-l-from-pos":[{"mask-l-from":eg()}],"mask-image-l-to-pos":[{"mask-l-to":eg()}],"mask-image-l-from-color":[{"mask-l-from":I()}],"mask-image-l-to-color":[{"mask-l-to":I()}],"mask-image-x-from-pos":[{"mask-x-from":eg()}],"mask-image-x-to-pos":[{"mask-x-to":eg()}],"mask-image-x-from-color":[{"mask-x-from":I()}],"mask-image-x-to-color":[{"mask-x-to":I()}],"mask-image-y-from-pos":[{"mask-y-from":eg()}],"mask-image-y-to-pos":[{"mask-y-to":eg()}],"mask-image-y-from-color":[{"mask-y-from":I()}],"mask-image-y-to-color":[{"mask-y-to":I()}],"mask-image-radial":[{"mask-radial":[eo,J]}],"mask-image-radial-from-pos":[{"mask-radial-from":eg()}],"mask-image-radial-to-pos":[{"mask-radial-to":eg()}],"mask-image-radial-from-color":[{"mask-radial-from":I()}],"mask-image-radial-to-color":[{"mask-radial-to":I()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":x()}],"mask-image-conic-pos":[{"mask-conic":[_]}],"mask-image-conic-from-pos":[{"mask-conic-from":eg()}],"mask-image-conic-to-pos":[{"mask-conic-to":eg()}],"mask-image-conic-from-color":[{"mask-conic-from":I()}],"mask-image-conic-to-color":[{"mask-conic-to":I()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:z()}],"mask-repeat":[{mask:N()}],"mask-size":[{mask:G()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",eo,J]}],filter:[{filter:["","none",eo,J]}],blur:[{blur:ey()}],brightness:[{brightness:[_,eo,J]}],contrast:[{contrast:[_,eo,J]}],"drop-shadow":[{"drop-shadow":["","none",p,ec,es]}],"drop-shadow-color":[{"drop-shadow":I()}],grayscale:[{grayscale:["",_,eo,J]}],"hue-rotate":[{"hue-rotate":[_,eo,J]}],invert:[{invert:["",_,eo,J]}],saturate:[{saturate:[_,eo,J]}],sepia:[{sepia:["",_,eo,J]}],"backdrop-filter":[{"backdrop-filter":["","none",eo,J]}],"backdrop-blur":[{"backdrop-blur":ey()}],"backdrop-brightness":[{"backdrop-brightness":[_,eo,J]}],"backdrop-contrast":[{"backdrop-contrast":[_,eo,J]}],"backdrop-grayscale":[{"backdrop-grayscale":["",_,eo,J]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[_,eo,J]}],"backdrop-invert":[{"backdrop-invert":["",_,eo,J]}],"backdrop-opacity":[{"backdrop-opacity":[_,eo,J]}],"backdrop-saturate":[{"backdrop-saturate":[_,eo,J]}],"backdrop-sepia":[{"backdrop-sepia":["",_,eo,J]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":S()}],"border-spacing-x":[{"border-spacing-x":S()}],"border-spacing-y":[{"border-spacing-y":S()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",eo,J]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[_,"initial",eo,J]}],ease:[{ease:["linear","initial",y,eo,J]}],delay:[{delay:[_,eo,J]}],animate:[{animate:["none",v,eo,J]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[f,eo,J]}],"perspective-origin":[{"perspective-origin":w()}],rotate:[{rotate:ev()}],"rotate-x":[{"rotate-x":ev()}],"rotate-y":[{"rotate-y":ev()}],"rotate-z":[{"rotate-z":ev()}],scale:[{scale:eb()}],"scale-x":[{"scale-x":eb()}],"scale-y":[{"scale-y":eb()}],"scale-z":[{"scale-z":eb()}],"scale-3d":["scale-3d"],skew:[{skew:ex()}],"skew-x":[{"skew-x":ex()}],"skew-y":[{"skew-y":ex()}],transform:[{transform:[eo,J,"","none","gpu","cpu"]}],"transform-origin":[{origin:w()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ew()}],"translate-x":[{"translate-x":ew()}],"translate-y":[{"translate-y":ew()}],"translate-z":[{"translate-z":ew()}],"translate-none":["translate-none"],accent:[{accent:I()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:I()}
vendor: 4,777 bytes, line 3
3],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",eo,J]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":S()}],"scroll-mx":[{"scroll-mx":S()}],"scroll-my":[{"scroll-my":S()}],"scroll-ms":[{"scroll-ms":S()}],"scroll-me":[{"scroll-me":S()}],"scroll-mbs":[{"scroll-mbs":S()}],"scroll-mbe":[{"scroll-mbe":S()}],"scroll-mt":[{"scroll-mt":S()}],"scroll-mr":[{"scroll-mr":S()}],"scroll-mb":[{"scroll-mb":S()}],"scroll-ml":[{"scroll-ml":S()}],"scroll-p":[{"scroll-p":S()}],"scroll-px":[{"scroll-px":S()}],"scroll-py":[{"scroll-py":S()}],"scroll-ps":[{"scroll-ps":S()}],"scroll-pe":[{"scroll-pe":S()}],"scroll-pbs":[{"scroll-pbs":S()}],"scroll-pbe":[{"scroll-pbe":S()}],"scroll-pt":[{"scroll-pt":S()}],"scroll-pr":[{"scroll-pr":S()}],"scroll-pb":[{"scroll-pb":S()}],"scroll-pl":[{"scroll-pl":S()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",eo,J]}],fill:[{fill:["none",...I()]}],"stroke-w":[{stroke:[_,ea,Q,ee]}],stroke:[{stroke:["none",...I()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});function eT(...e){return eS(c(e))}e.s(["cn",0,eT],47163);
3let eC=m("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-white hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9","icon-sm":"size-8","icon-lg":"size-10"}},defaultVariants:{variant:"default",size:"default"}});e.s(["Button",0,function({className:e,variant:i,size:r,asChild:n=!1,...s}){return(0,t.jsx)(n?u:"button",{"data-slot":"button",className:eT(eC({variant:i,size:r,className:e})),...s})}],67881)},42193,e=>{"use strict";e.s(["withBasePath",0,function(e){return/^https?:\/\//.test(e)||e.startsWith("/")?e:`/${e}`}])},63780,e=>{"use strict";var t=e.i(43476),i=e.i(71645),r=e.i(22016),n=e.i(57688),s=e.i(46932);e.i(47167);var o=e.i(31178),a=e.i(47414),l=e.i(74008),u=e.i(21476),h=e.i(72846),d=i,c=e.i(37806);function p(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}class m extends d.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if((0,h.isHTMLElement)(t)&&e.isPresent&&!this.props.isPresent&&!1!==this.props.pop){let e=t.offsetParent,i=(0,h.isHTMLElement)(e)&&e.offsetWidth||0,r=(0,h.isHTMLElement)(e)&&e.offsetHeight||0,n=getComputedStyle(t),s=this.props.sizeRef.current;s.height=parseFloat(n.height),s.width=parseFloat(n.width),s.top=t.offsetTop,s.left=t.offsetLeft,s.right=i-s.width-s.left,s.bottom=r-s.height-s.top}return null}componentDidUpdate(){}render(){return this.props.children}}function f({children:e,isPresent:r,anchorX:n,anchorY:s,root:o,pop:a}){let l=(0,d.useId)(),u=(0,d.useRef)(null),h=(0,d.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:g}=(0,d.useContext)(c.MotionConfigContext),y=function(...e){return i.useCallback(function(...e){return t=>{let i=!1,r=e.map(e=>{let r=p(e,t);return i||"function"!=typeof r||(i=!0),r});if(i)return()=>{for(let t=0;t<r.length;t++){let i=r[t];"function"==typeof i?i():p(e[t],null)}}}}(...e),e)}(u,e.props?.ref??e?.ref);return(0,d.useInsertionEffect)(()=>{let{width:e,height:t,top:i,left:d,right:c,bottom:p}=h.current;if(r||!1===a||!u.current||!e||!t)return;let m="left"===n?`left: ${d}`:`right: ${c}`,f="bottom"===s?`bottom: ${p}`:`top: ${i}`;u.current.dataset.motionPopId=l;let y=document.createElement("style");g&&(y.nonce=g);let v=o??document.head;return v.appendChild(y),y.sheet&&y.sheet.insertRule(`
4          [data-motion-pop-id="${l}"] {
5            position: absolute !important;
6            width: ${e}px !important;
7            height: ${t}px !important;
8            ${m}px !important;
9            ${f}px !important;
10          }
11        `),()=>{u.current?.removeAttribute("data-motion-pop-id"),v.contains(y)&&v.removeChild(y)}},[r]),(0,t.jsx)(m,{isPresent:r,childRef:u,sizeRef:h,pop:a,children:!1===a?e:d.cloneElement(e,{ref:y})})}let g=({children:e,initial:r,isPresent:n,onExitComplete:s,custom:o,presenceAffectsLayout:l,mode:h,anchorX:d,anchorY:c,root:p})=>{let m=(0,a.useConstant)(y),g=(0,i.useId)(),v=!0,b=(0,i.useMemo)(()=>(v=!1,{id:g,initial:r,isPresent:n,custom:o,onExitComplete:e=>
11{for(let t of(m.set(e,!0),m.values()))if(!t)return;s&&s()},register:e=>(m.set(e,!1),()=>m.delete(e))}),[n,m,s]);return l&&v&&(b={...b}),(0,i.useMemo)(()=>{m.forEach((e,t)=>m.set(t,!1))},[n]),i.useEffect(()=>{n||m.size||!s||s()},[n]),e=(0,t.jsx)(f,{pop:"popLayout"===h,isPresent:n,anchorX:d,anchorY:c,root:p,children:e}),(0,t.jsx)(u.PresenceContext.Provider,{value:b,children:e})};function y(){return new Map}var v=e.i(64978);let b=e=>e.key||"";function x(e){let t=[];return i.Children.forEach(e,e=>{(0,i.isValidElement)(e)&&t.push(e)}),t}let w=({children:e,custom:r,initial:n=!0,onExitComplete:s,presenceAffectsLayout:u=!0,mode:h="sync",propagate:d=!1,anchorX:c="left",anchorY:p="top",root:m})=>{let[f,y]=(0,v.usePresence)(d),w=(0,i.useMemo)(()=>x(e),[e]),k=d&&!f?[]:w.map(b),P=(0,i.useRef)(!0),S=(0,i.useRef)(w),T=(0,a.useConstant)(()=>new Map),C=(0,i.useRef)(new Set),[E,M]=(0,i.useState)(w),[j,A]=(0,i.useState)(w);(0,l.useIsomorphicLayoutEffect)(()=>{P.current=!1,S.current=w;for(let e=0;e<j.length;e++){let t=b(j[e]);k.includes(t)?(T.delete(t),C.current.delete(t)):!0!==T.get(t)&&T.set(t,!1)}},[j,k.length,k.join("-")]);let V=[];if(w!==E){let e=[...w];for(let t=0;t<j.length;t++){let i=j[t],r=b(i);k.includes(r)||(e.splice(t,0,i),V.push(i))}return"wait"===h&&V.length&&(e=V),A(x(e)),M(w),null}let{forceRender:R}=(0,i.useContext)(o.LayoutGroupContext);return(0,t.jsx)(t.Fragment,{children:j.map(e=>{let i=b(e),o=(!d||!!f)&&(w===j||k.includes(i));return(0,t.jsx)(g,{isPresent:o,initial:(!P.current||!!n)&&void 0,custom:r,presenceAffectsLayout:u,mode:h,root:m,onExitComplete:o?void 0:()=>{if(C.current.has(i)||!T.has(i))return;C.current.add(i),T.set(i,!0);let e=!0;T.forEach(t=>{t||(e=!1)}),e&&(R?.(),A(S.current),d&&y?.(),s&&s())},anchorX:c,anchorY:p,children:e},i)})})};var k=e.i(75254);let P=(0,k.default)("menu",[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]]);var S=e.i(37727);let T=(0,k.default)("moon",[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]]),C=(0,k.default)("sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);var E=e.i(67881),M=e.i(38447),j=e.i(89554),A=e.i(6315),V=e.i(42193);function R(){let{theme:e,toggle:i}=(0,j.useTheme)(),r="dark"===e;return(0,t.jsx)("button",{type:"button",onClick:i,"aria-label":r?"Switch to light theme":"Switch to dark theme",className:"w-9 h-9 inline-flex items-center justify-center rounded-full border border-border bg-secondary/40 text-muted-foreground hover:text-foreground transition-colors",children:r?(0,t.jsx)(C,{className:"w-4 h-4"}):(0,t.jsx)(T,{className:"w-4 h-4"})})}function L({lang:e,setLang:i,srLabel:r}){return(0,t.jsx)("div",{role:"group","aria-label":r,className:"inline-flex items-center rounded-full border border-border bg-secondary/40 p-0.5",children:A.LANGS.map(r=>(0,t.jsx)("button",{type:"button",onClick:()=>i(r.code),"aria-pressed":e===r.code,className:`px-3 py-1 text-xs font-semibold rounded-full transition-colors ${e===r.code?"bg-primary text-primary-foreground":"text-muted-foreground hover:text-foreground"}`,children:r.label},r.code))})}e.s(["Navbar",0,function(){let[e,o]=(0,i.useState)(!1),[a,l]=(0,i.useState)(!1),{lang:u,setLang:h,t:d}=(0,M.useLanguage)();(0,i.useEffect)(()=>{let e=()=>l(window.scrollY>8);return e(),window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[]);let c=[{href:"/#games",label:d("nav","games")},{href:"/#about",label:d("nav","about")},{href:"/#services",label:d("nav","services")},{href:"/#investors",label:d("nav","investors")},{href:"/press",label:d("nav","press")},{href:"/#contact",label:d("nav","contact")}];return(0,t.jsx)(s.motion.header,{initial:{y:-100},animate:{y:0},className:`fixed top-0 left-0 right-0 z-50 transition-all duration-300 ${a?"bg-background/85 backdrop-blur-xl border-b border-border/60":"bg-transparent border-b border-transparent"}`,children:(0,t.jsxs)("nav",{className:"container mx-auto px-4 lg:px-8",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between h-16 lg:h-20",children:[(0,t.jsx)(r.default,{href:"/",className:"flex items-center group",children:(0,t.jsx)(n.default,{src:(0,V.withBasePath)("/freemind-logo-horizontal.png"),alt:"FreeMind",width:649,height:183,priority:!0,className:"h-12 lg:h-14 w-auto transition-transform group-hover:scale-105"})}),(0,t.jsx)("div",{className:"hidden md:flex items-center gap-7 lg:gap-9",children:c.map(e=>(0,t.jsxs)(r.default,{href:e.href,className:"text-sm font-medium text-muted-foreground hover:text-foreground transition-colors relative group",children:[e.label,(0,t.jsx)("span",{className:"absolute -bottom-1 left-0 w-0 h-0.5 bg-primary transition-all group-hover:w-full"})]},e.href))}),(0,t.jsxs)("div",{className:"hidden md:flex items-center gap-3",children:[(0,t.jsx)(L,{lang:u,setLang:h,srLabel:d("nav","languageLabel")}),(0,t.jsx)(R,{}),(0,t.jsx)(E.Button,{size:"sm",className:"glow-primary",asChild:!0,children:(0,t.jsx)(r.default,{href:"/#games",children:d("nav","games")})})]}),(0,t.jsx)("button",{onClick:()=>o(!e),className:"md:hidden p-2 text-foreground","aria-label":"Toggle menu","aria-expanded":e,children:e?(0,t.jsx)(S.X,{className:"w-6 h-6"}):(0,t.jsx)(P,{className:"w-6 h-6"})})]}),(0,t.jsx)(w,{children:e&&(0,t.jsx)(s.motion.div,{initial:{opacity:0,height:0}
11,animate:{opacity:1,height:"auto"},exit:{opacity:0,height:0},className:"md:hidden overflow-hidden",children:(0,t.jsxs)("div",{className:"py-4 space-y-2",children:[c.map(e=>(0,t.jsx)(r.default,{href:e.href,onClick:()=>o(!1),className:"block px-4 py-2 text-lg font-medium text-muted-foreground hover:text-foreground hover:bg-secondary/50 rounded-lg transition-colors",children:e.label},e.href)),(0,t.jsxs)("div",{className:"pt-4 px-4 space-y-3",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between gap-3",children:[(0,t.jsx)("span",{className:"text-sm text-muted-foreground",children:d("nav","languageLabel")}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(L,{lang:u,setLang:h,srLabel:d("nav","languageLabel")}),(0,t.jsx)(R,{})]})]}),(0,t.jsx)(E.Button,{className:"w-full glow-primary",asChild:!0,children:(0,t.jsx)(r.default,{href:"/#games",onClick:()=>o(!1),children:d("nav","games")})})]})]})})})]})})}],63780)},76841,e=>{"use strict";var t=e.i(43476),i=e.i(22016),r=e.i(57688),n=e.i(38447),s=e.i(42193);let o=[{label:"Steam",href:"https://store.steampowered.com/publisher/freemind",icon:(0,t.jsx)("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 24 24","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M12 0C5.4 0 0 5.4 0 12c0 5.5 3.7 10.1 8.7 11.5v-4.8c-1.4-.3-2.4-1.5-2.4-3 0-1.6 1.3-3 3-3 .2 0 .5 0 .7.1l2.2-1.6c0-.1 0-.3 0-.4 0-2.5 2-4.5 4.5-4.5s4.5 2 4.5 4.5-2 4.5-4.5 4.5c-.2 0-.3 0-.5 0l-1.6 2.2c0 .2.1.5.1.7 0 1.6-1.3 3-3 3-.2 0-.4 0-.6-.1C11.3 24 12 24 12 24c6.6 0 12-5.4 12-12S18.6 0 12 0z"})})},{label:"Twitter / X",href:"https://twitter.com/GamesFreemind",icon:(0,t.jsx)("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 24 24","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"})})},{label:"Facebook",href:"https://facebook.com/free.mind.gamess",icon:(0,t.jsx)("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 24 24","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"})})},{label:"LinkedIn",href:"https://linkedin.com/company/freemind-sa/",icon:(0,t.jsx)("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 24 24","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433a2.062 2.062 0 0 1-2.063-2.065 2.063 2.063 0 1 1 2.063 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"})})},{label:"YouTube",href:"https://youtube.com/user/freemindpl",icon:(0,t.jsx)("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 24 24","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"})})}];function a({href:e,label:r,external:n}){return(0,t.jsx)(i.default,{href:e,className:"text-sm text-muted-foreground hover:text-foreground transition-colors",...n?{target:"_blank",rel:"noopener noreferrer"}:{},children:r})}e.s(["Footer",0,function(){let{t:e}=(0,n.useLanguage)(),l={games:[{label:e("footer","allGames"),href:"/#games"},{label:e("footer","coming"),href:"/#upcoming"},{label:e("footer","steamPage"),href:"https://store.steampowered.com/publisher/freemind",external:!0}],company:[{label:e("nav","about"),href:"/#about"},{label:e("nav","investors"),href:"/#investors"},{label:e("footer","companyInfo"),href:"/o-spolce"},{label:e("footer","pressKit"),href:"/press"},{label:e("footer","news"),href:"/news"},{label:e("footer","careers"),href:"/job"}],developers:[{label:e("footer","submitGame"),href:"/#contact"},{label:e("footer","publishing"),href:"/#services"},{label:e("footer","partnerships"),href:"/#contact"}],legal:[{label:e("footer","aboutCompany"),href:"/#about"},{label:e("footer","privacy"),href:"/privacy"},{label:e("footer","cookies"),href:"/cookies"}]};return(0,t.jsx)("footer",{className:"bg-background border-t border-border",children:(0,t.jsxs)("div",{className:"container mx-auto px-4 lg:px-8 py-12 lg:py-16",children:[(0,t.jsxs)("div",{className:"grid grid-cols-2 md:grid-cols-4 lg:grid-cols-6 gap-8 lg:gap-12",children:[(0,t.jsxs)("div",{className:"col-span-2",children:[(0,t.jsx)(i.default,{href:"/",className:"inline-flex items-center mb-4",children:(0,t.jsx)(r.default,{src:(0,s.withBasePath)("/freemind-logo-horizontal.png"),alt:"FreeMind",width:649,height:183,className:"h-10 w-auto"})}),(0,t.jsx)("p",{className:"text-sm text-muted-foreground mb-6 max-w-xs leading-relaxed",children:e("footer","tagline")}),(0,t.jsx)("div",{className:"flex gap-3",children:o.map(e=>(0,t.jsx)(i.default,{href:e.href,target:"_blank",rel:"noopener noreferrer",className:"w-9 h-9 rounded-lg border border-border bg-card flex items-center justify-center text-muted-foreground hover:text-primary hover:border-primary/60 transition-colors","aria-label":e.label,children:e.icon},e.label))})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h4",{className:"font-semibold mb-4",children:e("footer","games")}),(0,t.jsx)("ul",{className:"space-y-3",children:l.games.map(e=>(0,t.jsx)("li",{children:(0,t.jsx)(a,{...e})},e.label))})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h4",{className:"font-semibold mb-4",children:e("footer","company")}),(0,t.jsx)("ul",{className:"space-y-3",children:l.company.map(e=>(0,t.jsx)("li",{children:(0,t.jsx)(a,{...e})},e.label))})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h4",{className:"font-semibold mb-4",children:e("footer","developers")}),(0,t.jsx)("ul",{className:"space-y-3",children:l.developers.map(e=>(0,t.jsx)("li",{children:(0,t.jsx)(a,{...e})},e.label))})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h4",{className:"font-semibold mb-4",children:e("footer","legal")}),(0,t.jsx)("ul",{className:"space-y-3",children:l.legal.map(e=>(0,t.jsx)("li",{children:(0,t.jsx)(a,{...e})},e.label))})]})]}),(0,t.jsxs)("div",{className:"mt-12 pt-8 border-t border-border flex flex-col md:flex-row md:items-center md:justify-between gap-4",children:[(0,t.jsxs)("div",{className:"text-sm text-muted-foreground",children:["© ",new Date().getFullYear()," FreeMind S.A. · ul. Bydgoska 6, 30-056 Kraków"]}),(0,t.jsxs)("div",{className:"flex flex-wrap gap-x-5 gap-y-1 text-xs text-muted-foreground
11/80 font-mono",children:[(0,t.jsx)("span",{children:"KRS 0000774982"}),(0,t.jsx)("span",{children:"NIP 6772442296"}),(0,t.jsx)("span",{children:"REGON 382754852"})]})]})]})})}])}]);

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.