uplord-ui 0.1.24 → 0.1.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- "use strict";const t1=require("./useMounted-DXrSfiau.cjs"),q=require("react"),RI=require("react-dom");function $I(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const a in e)if(a!=="default"){const o=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(t,a,o.get?o:{enumerable:!0,get:()=>e[a]})}}return t.default=e,Object.freeze(t)}const k=$I(q);function vv(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ta={exports:{}},ya={};/**
1
+ "use strict";const t1=require("./useMounted-DXrSfiau.cjs"),q=require("react"),RI=require("react-dom");function $I(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const a in e)if(a!=="default"){const o=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(t,a,o.get?o:{enumerable:!0,get:()=>e[a]})}}return t.default=e,Object.freeze(t)}const k=$I(q);function vv(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ja={exports:{}},ya={};/**
2
2
  * @license React
3
3
  * react-jsx-runtime.production.js
4
4
  *
@@ -19,7 +19,7 @@
19
19
  <%s {...props} />
20
20
  React keys must be passed directly to JSX without using spread:
21
21
  let props = %s;
22
- <%s key={someKey} {...props} />`,F,Z,z,Z),W[Z+F]=!0)}if(Z=null,j!==void 0&&(a(j),Z=""+j),r(R)&&(a(R.key),Z=""+R.key),"key"in R){j={};for(var K in R)K!=="key"&&(j[K]=R[K])}else j=R;return Z&&s(j,typeof v=="function"?v.displayName||v.name||"Unknown":v),l(v,Z,ee,V,i(),j,G,b)}function u(v){typeof v=="object"&&v!==null&&v.$$typeof===y&&v._store&&(v._store.validated=1)}var p=q,y=Symbol.for("react.transitional.element"),C=Symbol.for("react.portal"),g=Symbol.for("react.fragment"),x=Symbol.for("react.strict_mode"),m=Symbol.for("react.profiler"),N=Symbol.for("react.consumer"),f=Symbol.for("react.context"),w=Symbol.for("react.forward_ref"),M=Symbol.for("react.suspense"),S=Symbol.for("react.suspense_list"),A=Symbol.for("react.memo"),P=Symbol.for("react.lazy"),H=Symbol.for("react.activity"),E=Symbol.for("react.client.reference"),T=p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,O=Object.prototype.hasOwnProperty,ae=Array.isArray,U=console.createTask?console.createTask:function(){return null};p={"react-stack-bottom-frame":function(v){return v()}};var te,Q={},ce=p["react-stack-bottom-frame"].bind(p,c)(),oe=U(o(c)),W={};ka.Fragment=g,ka.jsx=function(v,R,j,F,V){var ee=1e4>T.recentlyCreatedOwnerStacks++;return h(v,R,j,!1,F,V,ee?Error("react-stack-top-frame"):ce,ee?U(o(v)):oe)},ka.jsxs=function(v,R,j,F,V){var ee=1e4>T.recentlyCreatedOwnerStacks++;return h(v,R,j,!0,F,V,ee?Error("react-stack-top-frame"):ce,ee?U(o(v)):oe)}}()),ka}var Kx;function Cv(){return Kx||(Kx=1,process.env.NODE_ENV==="production"?Ta.exports=qI():Ta.exports=TI()),Ta.exports}var _=Cv();function Eb(e){var t,a,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(a=Eb(e[t]))&&(o&&(o+=" "),o+=a)}else for(a in e)e[a]&&(o&&(o+=" "),o+=a);return o}function Y(){for(var e,t,a=0,o="",i=arguments.length;a<i;a++)(e=arguments[a])&&(t=Eb(e))&&(o&&(o+=" "),o+=t);return o}var Pv={},Ev={},Yx;function Jn(){if(Yx)return Ev;Yx=1;function e(t){return t&&t.__esModule?t:{default:t}}return Ev._=e,Ev}var Rv={},$v={},Qx;function sx(){return Qx||(Qx=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"warnOnce",{enumerable:!0,get:function(){return t}});let t=a=>{};if(process.env.NODE_ENV!=="production"){const a=new Set;t=o=>{a.has(o)||console.warn(o),a.add(o)}}}($v)),$v}var qv={},Jx;function jI(){return Jx||(Jx=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getImageBlurSvg",{enumerable:!0,get:function(){return t}});function t(a){let{widthInt:o,heightInt:i,blurWidth:c,blurHeight:r,blurDataURL:s,objectFit:d}=a;const l=20,h=c?c*40:o,u=r?r*40:i,p=h&&u?"viewBox='0 0 "+h+" "+u+"'":"",y=p?"none":d==="contain"?"xMidYMid":d==="cover"?"xMidYMid slice":"none";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+p+"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='"+l+"'/%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='"+l+"'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='"+y+"' style='filter: url(%23b);' href='"+s+"'/%3E%3C/svg%3E"}}(qv)),qv}var Tv={},eL;function dx(){return eL||(eL=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(i,c){for(var r in c)Object.defineProperty(i,r,{enumerable:!0,get:c[r]})}t(e,{VALID_LOADERS:function(){return a},imageConfigDefault:function(){return o}});const a=["default","imgix","cloudinary","akamai","custom"],o={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:60,formats:["image/webp"],dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:void 0,unoptimized:!1}}(Tv)),Tv}var tL;function Rb(){return tL||(tL=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getImgProps",{enumerable:!0,get:function(){return C}});const t=sx(),a=jI(),o=dx(),i=["lazy","eager",void 0],c=["-moz-initial","fill","none","scale-down",void 0];function r(g){return g.default!==void 0}function s(g){return g.src!==void 0}function d(g){return!!g&&typeof g=="object"&&(r(g)||s(g))}const l=new Map;let h;function u(g){return typeof g>"u"?g:typeof g=="number"?Number.isFinite(g)?g:NaN:typeof g=="string"&&/^[0-9]+$/.test(g)?parseInt(g,10):NaN}function p(g,x,m){let{deviceSizes:N,allSizes:f}=g;if(m){const M=/(^|\s)(1?\d?\d)vw/g,S=[];for(let A;A=M.exec(m);A)S.push(parseInt(A[2]));if(S.length){const A=Math.min(...S)*.01;return{widths:f.filter(P=>P>=N[0]*A),kind:"w"}}return{widths:f,kind:"w"}}return typeof x!="number"?{widths:N,kind:"w"}:{widths:[...new Set([x,x*2].map(M=>f.find(S=>S>=M)||f[f.length-1]))],kind:"x"}}function y(g){let{config:x,src:m,unoptimized:N,width:f,quality:w,sizes:M,loader:S}=g;if(N)return{src:m,srcSet:void 0,sizes:void 0};const{widths:A,kind:P}=p(x,f,M),H=A.length-1;return{sizes:!M&&P==="w"?"100vw":M,srcSet:A.map((E,T)=>S({config:x,src:m,quality:w,width:E})+" "+(P==="w"?E:T+1)+P).join(", "),src:S({config:x,src:m,quality:w,width:A[H]})}}function C(g,x){let{src:m,sizes:N,unoptimized:f=!1,priority:w=!1,loading:M,className:S,quality:A,width:P,height:H,fill:E=!1,style:T,overrideSrc:O,onLoad:ae,onLoadingComplete:U,placeholder:te="empty",blurDataURL:Q,fetchPriority:ce,decoding:oe="async",layout:W,objectFit:v,objectPosition:R,lazyBoundary:j,lazyRoot:F,...V}=g;const{imgConf:ee,showAltText:G,blurComplete:b,defaultLoader:Z}=x;let z,K=ee||o.imageConfigDefault;if("allSizes"in K)z=K;else{var I;const $=[...K.deviceSizes,...K.imageSizes].sort((ue,Ee)=>ue-Ee),ie=K.deviceSizes.sort((ue,Ee)=>ue-Ee),ve=(I=K.qualities)==null?void 0:I.sort((ue,Ee)=>ue-Ee);z={...K,allSizes:$,deviceSizes:ie,qualities:ve}}if(typeof Z>"u")throw Object.defineProperty(new Error(`images.loaderFile detected but the file is missing default export.
22
+ <%s key={someKey} {...props} />`,F,Z,z,Z),W[Z+F]=!0)}if(Z=null,j!==void 0&&(a(j),Z=""+j),r(R)&&(a(R.key),Z=""+R.key),"key"in R){j={};for(var K in R)K!=="key"&&(j[K]=R[K])}else j=R;return Z&&s(j,typeof v=="function"?v.displayName||v.name||"Unknown":v),l(v,Z,ee,V,i(),j,G,b)}function u(v){typeof v=="object"&&v!==null&&v.$$typeof===y&&v._store&&(v._store.validated=1)}var p=q,y=Symbol.for("react.transitional.element"),C=Symbol.for("react.portal"),g=Symbol.for("react.fragment"),x=Symbol.for("react.strict_mode"),m=Symbol.for("react.profiler"),N=Symbol.for("react.consumer"),f=Symbol.for("react.context"),w=Symbol.for("react.forward_ref"),M=Symbol.for("react.suspense"),S=Symbol.for("react.suspense_list"),A=Symbol.for("react.memo"),P=Symbol.for("react.lazy"),H=Symbol.for("react.activity"),E=Symbol.for("react.client.reference"),T=p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,O=Object.prototype.hasOwnProperty,ae=Array.isArray,U=console.createTask?console.createTask:function(){return null};p={"react-stack-bottom-frame":function(v){return v()}};var te,Q={},ce=p["react-stack-bottom-frame"].bind(p,c)(),oe=U(o(c)),W={};ka.Fragment=g,ka.jsx=function(v,R,j,F,V){var ee=1e4>T.recentlyCreatedOwnerStacks++;return h(v,R,j,!1,F,V,ee?Error("react-stack-top-frame"):ce,ee?U(o(v)):oe)},ka.jsxs=function(v,R,j,F,V){var ee=1e4>T.recentlyCreatedOwnerStacks++;return h(v,R,j,!0,F,V,ee?Error("react-stack-top-frame"):ce,ee?U(o(v)):oe)}}()),ka}var Kx;function Cv(){return Kx||(Kx=1,process.env.NODE_ENV==="production"?ja.exports=qI():ja.exports=TI()),ja.exports}var _=Cv();function Eb(e){var t,a,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(a=Eb(e[t]))&&(o&&(o+=" "),o+=a)}else for(a in e)e[a]&&(o&&(o+=" "),o+=a);return o}function Y(){for(var e,t,a=0,o="",i=arguments.length;a<i;a++)(e=arguments[a])&&(t=Eb(e))&&(o&&(o+=" "),o+=t);return o}var Pv={},Ev={},Yx;function Jn(){if(Yx)return Ev;Yx=1;function e(t){return t&&t.__esModule?t:{default:t}}return Ev._=e,Ev}var Rv={},$v={},Qx;function sx(){return Qx||(Qx=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"warnOnce",{enumerable:!0,get:function(){return t}});let t=a=>{};if(process.env.NODE_ENV!=="production"){const a=new Set;t=o=>{a.has(o)||console.warn(o),a.add(o)}}}($v)),$v}var qv={},Jx;function jI(){return Jx||(Jx=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getImageBlurSvg",{enumerable:!0,get:function(){return t}});function t(a){let{widthInt:o,heightInt:i,blurWidth:c,blurHeight:r,blurDataURL:s,objectFit:d}=a;const l=20,h=c?c*40:o,u=r?r*40:i,p=h&&u?"viewBox='0 0 "+h+" "+u+"'":"",y=p?"none":d==="contain"?"xMidYMid":d==="cover"?"xMidYMid slice":"none";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+p+"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='"+l+"'/%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='"+l+"'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='"+y+"' style='filter: url(%23b);' href='"+s+"'/%3E%3C/svg%3E"}}(qv)),qv}var Tv={},eL;function dx(){return eL||(eL=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(i,c){for(var r in c)Object.defineProperty(i,r,{enumerable:!0,get:c[r]})}t(e,{VALID_LOADERS:function(){return a},imageConfigDefault:function(){return o}});const a=["default","imgix","cloudinary","akamai","custom"],o={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:60,formats:["image/webp"],dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:void 0,unoptimized:!1}}(Tv)),Tv}var tL;function Rb(){return tL||(tL=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getImgProps",{enumerable:!0,get:function(){return C}});const t=sx(),a=jI(),o=dx(),i=["lazy","eager",void 0],c=["-moz-initial","fill","none","scale-down",void 0];function r(g){return g.default!==void 0}function s(g){return g.src!==void 0}function d(g){return!!g&&typeof g=="object"&&(r(g)||s(g))}const l=new Map;let h;function u(g){return typeof g>"u"?g:typeof g=="number"?Number.isFinite(g)?g:NaN:typeof g=="string"&&/^[0-9]+$/.test(g)?parseInt(g,10):NaN}function p(g,x,m){let{deviceSizes:N,allSizes:f}=g;if(m){const M=/(^|\s)(1?\d?\d)vw/g,S=[];for(let A;A=M.exec(m);A)S.push(parseInt(A[2]));if(S.length){const A=Math.min(...S)*.01;return{widths:f.filter(P=>P>=N[0]*A),kind:"w"}}return{widths:f,kind:"w"}}return typeof x!="number"?{widths:N,kind:"w"}:{widths:[...new Set([x,x*2].map(M=>f.find(S=>S>=M)||f[f.length-1]))],kind:"x"}}function y(g){let{config:x,src:m,unoptimized:N,width:f,quality:w,sizes:M,loader:S}=g;if(N)return{src:m,srcSet:void 0,sizes:void 0};const{widths:A,kind:P}=p(x,f,M),H=A.length-1;return{sizes:!M&&P==="w"?"100vw":M,srcSet:A.map((E,T)=>S({config:x,src:m,quality:w,width:E})+" "+(P==="w"?E:T+1)+P).join(", "),src:S({config:x,src:m,quality:w,width:A[H]})}}function C(g,x){let{src:m,sizes:N,unoptimized:f=!1,priority:w=!1,loading:M,className:S,quality:A,width:P,height:H,fill:E=!1,style:T,overrideSrc:O,onLoad:ae,onLoadingComplete:U,placeholder:te="empty",blurDataURL:Q,fetchPriority:ce,decoding:oe="async",layout:W,objectFit:v,objectPosition:R,lazyBoundary:j,lazyRoot:F,...V}=g;const{imgConf:ee,showAltText:G,blurComplete:b,defaultLoader:Z}=x;let z,K=ee||o.imageConfigDefault;if("allSizes"in K)z=K;else{var I;const $=[...K.deviceSizes,...K.imageSizes].sort((ue,Ee)=>ue-Ee),ie=K.deviceSizes.sort((ue,Ee)=>ue-Ee),ve=(I=K.qualities)==null?void 0:I.sort((ue,Ee)=>ue-Ee);z={...K,allSizes:$,deviceSizes:ie,qualities:ve}}if(typeof Z>"u")throw Object.defineProperty(new Error(`images.loaderFile detected but the file is missing default export.
23
23
  Read more: https://nextjs.org/docs/messages/invalid-images-config`),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});let L=V.loader||Z;delete V.loader,delete V.srcSet;const me="__next_img_default"in L;if(me){if(z.loader==="custom")throw Object.defineProperty(new Error('Image with src "'+m+`" is missing "loader" prop.
24
24
  Read more: https://nextjs.org/docs/messages/next-image-missing-loader`),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{const $=L;L=ie=>{const{config:ve,...ue}=ie;return $(ue)}}if(W){W==="fill"&&(E=!0);const $={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}},ie={responsive:"100vw",fill:"100vw"},ve=$[W];ve&&(T={...T,...ve});const ue=ie[W];ue&&!N&&(N=ue)}let J="",X=u(P),se=u(H),Ne,Ce;if(d(m)){const $=r(m)?m.default:m;if(!$.src)throw Object.defineProperty(new 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($)),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!$.height||!$.width)throw Object.defineProperty(new 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($)),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(Ne=$.blurWidth,Ce=$.blurHeight,Q=Q||$.blurDataURL,J=$.src,!E){if(!X&&!se)X=$.width,se=$.height;else if(X&&!se){const ie=X/$.width;se=Math.round($.height*ie)}else if(!X&&se){const ie=se/$.height;X=Math.round($.width*ie)}}}m=typeof m=="string"?m:J;let _e=!w&&(M==="lazy"||typeof M>"u");(!m||m.startsWith("data:")||m.startsWith("blob:"))&&(f=!0,_e=!1),z.unoptimized&&(f=!0),me&&!z.dangerouslyAllowSVG&&m.split("?",1)[0].endsWith(".svg")&&(f=!0);const Pe=u(A);if(process.env.NODE_ENV!=="production"){if(z.output==="export"&&me&&!f)throw Object.defineProperty(new Error("Image Optimization using the default loader is not compatible with `{ output: 'export' }`.\n Possible solutions:\n - Remove `{ output: 'export' }` and run \"next start\" to run server mode including the Image Optimization API.\n - Configure `{ images: { unoptimized: true } }` in `next.config.js` to disable the Image Optimization API.\n Read more: https://nextjs.org/docs/messages/export-image-api"),"__NEXT_ERROR_CODE",{value:"E500",enumerable:!1,configurable:!0});if(!m)f=!0;else if(E){if(P)throw Object.defineProperty(new Error('Image with src "'+m+'" has both "width" and "fill" properties. Only one should be used.'),"__NEXT_ERROR_CODE",{value:"E96",enumerable:!1,configurable:!0});if(H)throw Object.defineProperty(new Error('Image with src "'+m+'" has both "height" and "fill" properties. Only one should be used.'),"__NEXT_ERROR_CODE",{value:"E115",enumerable:!1,configurable:!0});if(T!=null&&T.position&&T.position!=="absolute")throw Object.defineProperty(new Error('Image with src "'+m+'" has both "fill" and "style.position" properties. Images with "fill" always use position absolute - it cannot be modified.'),"__NEXT_ERROR_CODE",{value:"E216",enumerable:!1,configurable:!0});if(T!=null&&T.width&&T.width!=="100%")throw Object.defineProperty(new Error('Image with src "'+m+'" has both "fill" and "style.width" properties. Images with "fill" always use width 100% - it cannot be modified.'),"__NEXT_ERROR_CODE",{value:"E73",enumerable:!1,configurable:!0});if(T!=null&&T.height&&T.height!=="100%")throw Object.defineProperty(new Error('Image with src "'+m+'" has both "fill" and "style.height" properties. Images with "fill" always use height 100% - it cannot be modified.'),"__NEXT_ERROR_CODE",{value:"E404",enumerable:!1,configurable:!0})}else{if(typeof X>"u")throw Object.defineProperty(new Error('Image with src "'+m+'" is missing required "width" property.'),"__NEXT_ERROR_CODE",{value:"E451",enumerable:!1,configurable:!0});if(isNaN(X))throw Object.defineProperty(new Error('Image with src "'+m+'" has invalid "width" property. Expected a numeric value in pixels but received "'+P+'".'),"__NEXT_ERROR_CODE",{value:"E66",enumerable:!1,configurable:!0});if(typeof se>"u")throw Object.defineProperty(new Error('Image with src "'+m+'" is missing required "height" property.'),"__NEXT_ERROR_CODE",{value:"E397",enumerable:!1,configurable:!0});if(isNaN(se))throw Object.defineProperty(new Error('Image with src "'+m+'" has invalid "height" property. Expected a numeric value in pixels but received "'+H+'".'),"__NEXT_ERROR_CODE",{value:"E444",enumerable:!1,configurable:!0});if(/^[\x00-\x20]/.test(m))throw Object.defineProperty(new Error('Image with src "'+m+'" cannot start with a space or control character. Use src.trimStart() to remove it or encodeURIComponent(src) to keep it.'),"__NEXT_ERROR_CODE",{value:"E176",enumerable:!1,configurable:!0});if(/[\x00-\x20]$/.test(m))throw Object.defineProperty(new Error('Image with src "'+m+'" cannot end with a space or control character. Use src.trimEnd() to remove it or encodeURIComponent(src) to keep it.'),"__NEXT_ERROR_CODE",{value:"E21",enumerable:!1,configurable:!0})}if(!i.includes(M))throw Object.defineProperty(new Error('Image with src "'+m+'" has invalid "loading" property. Provided "'+M+'" should be one of '+i.map(String).join(",")+"."),"__NEXT_ERROR_CODE",{value:"E357",enumerable:!1,configurable:!0});if(w&&M==="lazy")throw Object.defineProperty(new Error('Image with src "'+m+`" has both "priority" and "loading='lazy'" properties. Only one should be used.`),"__NEXT_ERROR_CODE",{value:"E218",enumerable:!1,configurable:!0});if(te!=="empty"&&te!=="blur"&&!te.startsWith("data:image/"))throw Object.defineProperty(new Error('Image with src "'+m+'" has invalid "placeholder" property "'+te+'".'),"__NEXT_ERROR_CODE",{value:"E431",enumerable:!1,configurable:!0});if(te!=="empty"&&X&&se&&X*se<1600&&(0,t.warnOnce)('Image with src "'+m+'" is smaller than 40x40. Consider removing the "placeholder" property to improve performance.'),te==="blur"&&!Q){const $=["jpeg","png","webp","avif"];throw Object.defineProperty(new Error('Image with src "'+m+`" has "placeholder='blur'" property but is missing the "blurDataURL" property.
25
25
  Possible solutions:
@@ -29,17 +29,17 @@ Read more: https://nextjs.org/docs/messages/next-image-missing-loader`),"__NEXT_
29
29
  Read more: https://nextjs.org/docs/messages/placeholder-blur-data-url`),"__NEXT_ERROR_CODE",{value:"E371",enumerable:!1,configurable:!0})}if("ref"in V&&(0,t.warnOnce)('Image with src "'+m+'" is using unsupported "ref" property. Consider using the "onLoad" property instead.'),!f&&!me){const $=L({config:z,src:m,width:X||400,quality:Pe||75});let ie;try{ie=new URL($)}catch{}($===m||ie&&ie.pathname===m&&!ie.search)&&(0,t.warnOnce)('Image with src "'+m+`" has a "loader" property that does not implement width. Please implement it or use the "unoptimized" property instead.
30
30
  Read more: https://nextjs.org/docs/messages/next-image-missing-loader-width`)}U&&(0,t.warnOnce)('Image with src "'+m+'" is using deprecated "onLoadingComplete" property. Please use the "onLoad" property instead.');for(const[$,ie]of Object.entries({layout:W,objectFit:v,objectPosition:R,lazyBoundary:j,lazyRoot:F}))ie&&(0,t.warnOnce)('Image with src "'+m+'" has legacy prop "'+$+`". Did you forget to run the codemod?
31
31
  Read more: https://nextjs.org/docs/messages/next-image-upgrade-to-13`);if(typeof window<"u"&&!h&&window.PerformanceObserver){h=new PerformanceObserver($=>{for(const ve of $.getEntries()){var ie;const ue=(ve==null||(ie=ve.element)==null?void 0:ie.src)||"",Ee=l.get(ue);Ee&&!Ee.priority&&Ee.placeholder==="empty"&&!Ee.src.startsWith("data:")&&!Ee.src.startsWith("blob:")&&(0,t.warnOnce)('Image with src "'+Ee.src+`" was detected as the Largest Contentful Paint (LCP). Please add the "priority" property if this image is above the fold.
32
- Read more: https://nextjs.org/docs/api-reference/next/image#priority`)}});try{h.observe({type:"largest-contentful-paint",buffered:!0})}catch($){console.error($)}}}const ge=Object.assign(E?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:v,objectPosition:R}:{},G?{}:{color:"transparent"},T),re=!b&&te!=="empty"?te==="blur"?'url("data:image/svg+xml;charset=utf-8,'+(0,a.getImageBlurSvg)({widthInt:X,heightInt:se,blurWidth:Ne,blurHeight:Ce,blurDataURL:Q||"",objectFit:ge.objectFit})+'")':'url("'+te+'")':null,he=c.includes(ge.objectFit)?ge.objectFit==="fill"?"100% 100%":"cover":ge.objectFit;let Me=re?{backgroundSize:he,backgroundPosition:ge.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:re}:{};process.env.NODE_ENV==="development"&&Me.backgroundImage&&te==="blur"&&Q!=null&&Q.startsWith("/")&&(Me.backgroundImage='url("'+Q+'")');const B=y({config:z,src:m,unoptimized:f,width:X,quality:Pe,sizes:N,loader:L});if(process.env.NODE_ENV!=="production"&&typeof window<"u"){let $;try{$=new URL(B.src)}catch{$=new URL(B.src,window.location.href)}l.set($.href,{src:m,priority:w,placeholder:te})}return{props:{...V,loading:_e?"lazy":M,fetchPriority:ce,width:X,height:se,decoding:oe,className:S,style:{...ge,...Me},sizes:B.sizes,srcSet:B.srcSet,src:O||B.src},meta:{unoptimized:f,priority:w,placeholder:te,fill:E}}}}(Rv)),Rv}var ja={exports:{}},jv={},nL;function xv(){if(nL)return jv;nL=1;function e(a){if(typeof WeakMap!="function")return null;var o=new WeakMap,i=new WeakMap;return(e=function(c){return c?i:o})(a)}function t(a,o){if(!o&&a&&a.__esModule)return a;if(a===null||typeof a!="object"&&typeof a!="function")return{default:a};var i=e(o);if(i&&i.has(a))return i.get(a);var c={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in a)if(s!=="default"&&Object.prototype.hasOwnProperty.call(a,s)){var d=r?Object.getOwnPropertyDescriptor(a,s):null;d&&(d.get||d.set)?Object.defineProperty(c,s,d):c[s]=a[s]}return c.default=a,i&&i.set(a,c),c}return jv._=t,jv}var Ha={exports:{}},Hv={},aL;function HI(){return aL||(aL=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return c}});const t=q,a=typeof window>"u",o=a?()=>{}:t.useLayoutEffect,i=a?()=>{}:t.useEffect;function c(r){const{headManager:s,reduceComponentsToState:d}=r;function l(){if(s&&s.mountedInstances){const u=t.Children.toArray(Array.from(s.mountedInstances).filter(Boolean));s.updateHead(d(u,r))}}if(a){var h;s==null||(h=s.mountedInstances)==null||h.add(r.children),l()}return o(()=>{var u;return s==null||(u=s.mountedInstances)==null||u.add(r.children),()=>{var p;s==null||(p=s.mountedInstances)==null||p.delete(r.children)}}),o(()=>(s&&(s._pendingUpdate=l),()=>{s&&(s._pendingUpdate=l)})),i(()=>(s&&s._pendingUpdate&&(s._pendingUpdate(),s._pendingUpdate=null),()=>{s&&s._pendingUpdate&&(s._pendingUpdate(),s._pendingUpdate=null)})),null}}(Hv)),Hv}var Vv={},oL;function VI(){return oL||(oL=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"AmpStateContext",{enumerable:!0,get:function(){return o}});const o=Jn()._(q).default.createContext({});process.env.NODE_ENV!=="production"&&(o.displayName="AmpStateContext")}(Vv)),Vv}var zv={},iL;function zI(){return iL||(iL=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"HeadManagerContext",{enumerable:!0,get:function(){return o}});const o=Jn()._(q).default.createContext({});process.env.NODE_ENV!=="production"&&(o.displayName="HeadManagerContext")}(zv)),zv}var Ov={},cL;function OI(){return cL||(cL=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"isInAmpMode",{enumerable:!0,get:function(){return t}});function t(a){let{ampFirst:o=!1,hybrid:i=!1,hasQuery:c=!1}=a===void 0?{}:a;return o||i&&c}}(Ov)),Ov}var rL;function DI(){return rL||(rL=1,function(e,t){"use client";Object.defineProperty(t,"__esModule",{value:!0});function a(f,w){for(var M in w)Object.defineProperty(f,M,{enumerable:!0,get:w[M]})}a(t,{default:function(){return N},defaultHead:function(){return p}});const o=Jn(),i=xv(),c=Cv(),r=i._(q),s=o._(HI()),d=VI(),l=zI(),h=OI(),u=sx();function p(f){f===void 0&&(f=!1);const w=[(0,c.jsx)("meta",{charSet:"utf-8"},"charset")];return f||w.push((0,c.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")),w}function y(f,w){return typeof w=="string"||typeof w=="number"?f:w.type===r.default.Fragment?f.concat(r.default.Children.toArray(w.props.children).reduce((M,S)=>typeof S=="string"||typeof S=="number"?M:M.concat(S),[])):f.concat(w)}const C=["name","httpEquiv","charSet","itemProp"];function g(){const f=new Set,w=new Set,M=new Set,S={};return A=>{let P=!0,H=!1;if(A.key&&typeof A.key!="number"&&A.key.indexOf("$")>0){H=!0;const E=A.key.slice(A.key.indexOf("$")+1);f.has(E)?P=!1:f.add(E)}switch(A.type){case"title":case"base":w.has(A.type)?P=!1:w.add(A.type);break;case"meta":for(let E=0,T=C.length;E<T;E++){const O=C[E];if(A.props.hasOwnProperty(O))if(O==="charSet")M.has(O)?P=!1:M.add(O);else{const ae=A.props[O],U=S[O]||new Set;(O!=="name"||!H)&&U.has(ae)?P=!1:(U.add(ae),S[O]=U)}}break}return P}}function x(f,w){const{inAmpMode:M}=w;return f.reduce(y,[]).reverse().concat(p(M).reverse()).filter(g()).reverse().map((S,A)=>{const P=S.key||A;if(process.env.NODE_ENV!=="development"&&process.env.__NEXT_OPTIMIZE_FONTS&&!M&&S.type==="link"&&S.props.href&&["https://fonts.googleapis.com/css","https://use.typekit.net/"].some(H=>S.props.href.startsWith(H))){const H={...S.props||{}};return H["data-href"]=H.href,H.href=void 0,H["data-optimized-fonts"]=!0,r.default.cloneElement(S,H)}if(process.env.NODE_ENV==="development")if(S.type==="script"&&S.props.type!=="application/ld+json"){const H=S.props.src?'<script> tag with src="'+S.props.src+'"':"inline <script>";(0,u.warnOnce)("Do not add <script> tags using next/head (see "+H+`). Use next/script instead.
32
+ Read more: https://nextjs.org/docs/api-reference/next/image#priority`)}});try{h.observe({type:"largest-contentful-paint",buffered:!0})}catch($){console.error($)}}}const ge=Object.assign(E?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:v,objectPosition:R}:{},G?{}:{color:"transparent"},T),re=!b&&te!=="empty"?te==="blur"?'url("data:image/svg+xml;charset=utf-8,'+(0,a.getImageBlurSvg)({widthInt:X,heightInt:se,blurWidth:Ne,blurHeight:Ce,blurDataURL:Q||"",objectFit:ge.objectFit})+'")':'url("'+te+'")':null,he=c.includes(ge.objectFit)?ge.objectFit==="fill"?"100% 100%":"cover":ge.objectFit;let Me=re?{backgroundSize:he,backgroundPosition:ge.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:re}:{};process.env.NODE_ENV==="development"&&Me.backgroundImage&&te==="blur"&&Q!=null&&Q.startsWith("/")&&(Me.backgroundImage='url("'+Q+'")');const B=y({config:z,src:m,unoptimized:f,width:X,quality:Pe,sizes:N,loader:L});if(process.env.NODE_ENV!=="production"&&typeof window<"u"){let $;try{$=new URL(B.src)}catch{$=new URL(B.src,window.location.href)}l.set($.href,{src:m,priority:w,placeholder:te})}return{props:{...V,loading:_e?"lazy":M,fetchPriority:ce,width:X,height:se,decoding:oe,className:S,style:{...ge,...Me},sizes:B.sizes,srcSet:B.srcSet,src:O||B.src},meta:{unoptimized:f,priority:w,placeholder:te,fill:E}}}}(Rv)),Rv}var Ha={exports:{}},jv={},nL;function xv(){if(nL)return jv;nL=1;function e(a){if(typeof WeakMap!="function")return null;var o=new WeakMap,i=new WeakMap;return(e=function(c){return c?i:o})(a)}function t(a,o){if(!o&&a&&a.__esModule)return a;if(a===null||typeof a!="object"&&typeof a!="function")return{default:a};var i=e(o);if(i&&i.has(a))return i.get(a);var c={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in a)if(s!=="default"&&Object.prototype.hasOwnProperty.call(a,s)){var d=r?Object.getOwnPropertyDescriptor(a,s):null;d&&(d.get||d.set)?Object.defineProperty(c,s,d):c[s]=a[s]}return c.default=a,i&&i.set(a,c),c}return jv._=t,jv}var Va={exports:{}},Hv={},aL;function HI(){return aL||(aL=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return c}});const t=q,a=typeof window>"u",o=a?()=>{}:t.useLayoutEffect,i=a?()=>{}:t.useEffect;function c(r){const{headManager:s,reduceComponentsToState:d}=r;function l(){if(s&&s.mountedInstances){const u=t.Children.toArray(Array.from(s.mountedInstances).filter(Boolean));s.updateHead(d(u,r))}}if(a){var h;s==null||(h=s.mountedInstances)==null||h.add(r.children),l()}return o(()=>{var u;return s==null||(u=s.mountedInstances)==null||u.add(r.children),()=>{var p;s==null||(p=s.mountedInstances)==null||p.delete(r.children)}}),o(()=>(s&&(s._pendingUpdate=l),()=>{s&&(s._pendingUpdate=l)})),i(()=>(s&&s._pendingUpdate&&(s._pendingUpdate(),s._pendingUpdate=null),()=>{s&&s._pendingUpdate&&(s._pendingUpdate(),s._pendingUpdate=null)})),null}}(Hv)),Hv}var Vv={},oL;function VI(){return oL||(oL=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"AmpStateContext",{enumerable:!0,get:function(){return o}});const o=Jn()._(q).default.createContext({});process.env.NODE_ENV!=="production"&&(o.displayName="AmpStateContext")}(Vv)),Vv}var zv={},iL;function zI(){return iL||(iL=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"HeadManagerContext",{enumerable:!0,get:function(){return o}});const o=Jn()._(q).default.createContext({});process.env.NODE_ENV!=="production"&&(o.displayName="HeadManagerContext")}(zv)),zv}var Ov={},cL;function OI(){return cL||(cL=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"isInAmpMode",{enumerable:!0,get:function(){return t}});function t(a){let{ampFirst:o=!1,hybrid:i=!1,hasQuery:c=!1}=a===void 0?{}:a;return o||i&&c}}(Ov)),Ov}var rL;function DI(){return rL||(rL=1,function(e,t){"use client";Object.defineProperty(t,"__esModule",{value:!0});function a(f,w){for(var M in w)Object.defineProperty(f,M,{enumerable:!0,get:w[M]})}a(t,{default:function(){return N},defaultHead:function(){return p}});const o=Jn(),i=xv(),c=Cv(),r=i._(q),s=o._(HI()),d=VI(),l=zI(),h=OI(),u=sx();function p(f){f===void 0&&(f=!1);const w=[(0,c.jsx)("meta",{charSet:"utf-8"},"charset")];return f||w.push((0,c.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")),w}function y(f,w){return typeof w=="string"||typeof w=="number"?f:w.type===r.default.Fragment?f.concat(r.default.Children.toArray(w.props.children).reduce((M,S)=>typeof S=="string"||typeof S=="number"?M:M.concat(S),[])):f.concat(w)}const C=["name","httpEquiv","charSet","itemProp"];function g(){const f=new Set,w=new Set,M=new Set,S={};return A=>{let P=!0,H=!1;if(A.key&&typeof A.key!="number"&&A.key.indexOf("$")>0){H=!0;const E=A.key.slice(A.key.indexOf("$")+1);f.has(E)?P=!1:f.add(E)}switch(A.type){case"title":case"base":w.has(A.type)?P=!1:w.add(A.type);break;case"meta":for(let E=0,T=C.length;E<T;E++){const O=C[E];if(A.props.hasOwnProperty(O))if(O==="charSet")M.has(O)?P=!1:M.add(O);else{const ae=A.props[O],U=S[O]||new Set;(O!=="name"||!H)&&U.has(ae)?P=!1:(U.add(ae),S[O]=U)}}break}return P}}function x(f,w){const{inAmpMode:M}=w;return f.reduce(y,[]).reverse().concat(p(M).reverse()).filter(g()).reverse().map((S,A)=>{const P=S.key||A;if(process.env.NODE_ENV!=="development"&&process.env.__NEXT_OPTIMIZE_FONTS&&!M&&S.type==="link"&&S.props.href&&["https://fonts.googleapis.com/css","https://use.typekit.net/"].some(H=>S.props.href.startsWith(H))){const H={...S.props||{}};return H["data-href"]=H.href,H.href=void 0,H["data-optimized-fonts"]=!0,r.default.cloneElement(S,H)}if(process.env.NODE_ENV==="development")if(S.type==="script"&&S.props.type!=="application/ld+json"){const H=S.props.src?'<script> tag with src="'+S.props.src+'"':"inline <script>";(0,u.warnOnce)("Do not add <script> tags using next/head (see "+H+`). Use next/script instead.
33
33
  See more info here: https://nextjs.org/docs/messages/no-script-tags-in-head-component`)}else S.type==="link"&&S.props.rel==="stylesheet"&&(0,u.warnOnce)('Do not add stylesheets using next/head (see <link rel="stylesheet"> tag with href="'+S.props.href+`"). Use Document instead.
34
- See more info here: https://nextjs.org/docs/messages/no-stylesheets-in-head-component`);return r.default.cloneElement(S,{key:P})})}function m(f){let{children:w}=f;const M=(0,r.useContext)(d.AmpStateContext),S=(0,r.useContext)(l.HeadManagerContext);return(0,c.jsx)(s.default,{reduceComponentsToState:x,headManager:S,inAmpMode:(0,h.isInAmpMode)(M),children:w})}const N=m;(typeof t.default=="function"||typeof t.default=="object"&&t.default!==null)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(Ha,Ha.exports)),Ha.exports}var Dv={},sL;function FI(){return sL||(sL=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ImageConfigContext",{enumerable:!0,get:function(){return i}});const a=Jn()._(q),o=dx(),i=a.default.createContext(o.imageConfigDefault);process.env.NODE_ENV!=="production"&&(i.displayName="ImageConfigContext")}(Dv)),Dv}var Fv={},dL;function $b(){return dL||(dL=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"RouterContext",{enumerable:!0,get:function(){return o}});const o=Jn()._(q).default.createContext(null);process.env.NODE_ENV!=="production"&&(o.displayName="RouterContext")}(Fv)),Fv}var Bv={},Uv={},Zv={exports:{}},hL;function qb(){return hL||(hL=1,(()=>{var e={170:(i,c,r)=>{const s=r(510),d=()=>{if(typeof navigator<"u"&&navigator.platform){const h=navigator.platform.toLowerCase();return h==="win32"||h==="windows"}return typeof process<"u"&&process.platform?process.platform==="win32":!1};function l(h,u,p=!1){return u&&(u.windows===null||u.windows===void 0)&&(u={...u,windows:d()}),s(h,u,p)}Object.assign(l,s),i.exports=l},154:i=>{const c="\\\\/",r=`[^${c}]`,s="\\.",d="\\+",l="\\?",h="\\/",u="(?=.)",p="[^/]",y=`(?:${h}|$)`,C=`(?:^|${h})`,g=`${s}{1,2}${y}`,x=`(?!${s})`,m=`(?!${C}${g})`,N=`(?!${s}{0,1}${y})`,f=`(?!${g})`,w=`[^.${h}]`,M=`${p}*?`,A={DOT_LITERAL:s,PLUS_LITERAL:d,QMARK_LITERAL:l,SLASH_LITERAL:h,ONE_CHAR:u,QMARK:p,END_ANCHOR:y,DOTS_SLASH:g,NO_DOT:x,NO_DOTS:m,NO_DOT_SLASH:N,NO_DOTS_SLASH:f,QMARK_NO_DOT:w,STAR:M,START_ANCHOR:C,SEP:"/"},P={...A,SLASH_LITERAL:`[${c}]`,QMARK:r,STAR:`${r}*?`,DOTS_SLASH:`${s}{1,2}(?:[${c}]|$)`,NO_DOT:`(?!${s})`,NO_DOTS:`(?!(?:^|[${c}])${s}{1,2}(?:[${c}]|$))`,NO_DOT_SLASH:`(?!${s}{0,1}(?:[${c}]|$))`,NO_DOTS_SLASH:`(?!${s}{1,2}(?:[${c}]|$))`,QMARK_NO_DOT:`[^.${c}]`,START_ANCHOR:`(?:^|[${c}])`,END_ANCHOR:`(?:[${c}]|$)`,SEP:"\\"},H={alnum:"a-zA-Z0-9",alpha:"a-zA-Z",ascii:"\\x00-\\x7F",blank:" \\t",cntrl:"\\x00-\\x1F\\x7F",digit:"0-9",graph:"\\x21-\\x7E",lower:"a-z",print:"\\x20-\\x7E ",punct:"\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",space:" \\t\\r\\n\\v\\f",upper:"A-Z",word:"A-Za-z0-9_",xdigit:"A-Fa-f0-9"};i.exports={MAX_LENGTH:65536,POSIX_REGEX_SOURCE:H,REGEX_BACKSLASH:/\\(?![*+?^${}(|)[\]])/g,REGEX_NON_SPECIAL_CHARS:/^[^@![\].,$*+?^{}()|\\/]+/,REGEX_SPECIAL_CHARS:/[-*+?.^${}(|)[\]]/,REGEX_SPECIAL_CHARS_BACKREF:/(\\?)((\W)(\3*))/g,REGEX_SPECIAL_CHARS_GLOBAL:/([-*+?.^${}(|)[\]])/g,REGEX_REMOVE_BACKSLASH:/(?:\[.*?[^\\]\]|\\(?=.))/g,REPLACEMENTS:{"***":"*","**/**":"**","**/**/**":"**"},CHAR_0:48,CHAR_9:57,CHAR_UPPERCASE_A:65,CHAR_LOWERCASE_A:97,CHAR_UPPERCASE_Z:90,CHAR_LOWERCASE_Z:122,CHAR_LEFT_PARENTHESES:40,CHAR_RIGHT_PARENTHESES:41,CHAR_ASTERISK:42,CHAR_AMPERSAND:38,CHAR_AT:64,CHAR_BACKWARD_SLASH:92,CHAR_CARRIAGE_RETURN:13,CHAR_CIRCUMFLEX_ACCENT:94,CHAR_COLON:58,CHAR_COMMA:44,CHAR_DOT:46,CHAR_DOUBLE_QUOTE:34,CHAR_EQUAL:61,CHAR_EXCLAMATION_MARK:33,CHAR_FORM_FEED:12,CHAR_FORWARD_SLASH:47,CHAR_GRAVE_ACCENT:96,CHAR_HASH:35,CHAR_HYPHEN_MINUS:45,CHAR_LEFT_ANGLE_BRACKET:60,CHAR_LEFT_CURLY_BRACE:123,CHAR_LEFT_SQUARE_BRACKET:91,CHAR_LINE_FEED:10,CHAR_NO_BREAK_SPACE:160,CHAR_PERCENT:37,CHAR_PLUS:43,CHAR_QUESTION_MARK:63,CHAR_RIGHT_ANGLE_BRACKET:62,CHAR_RIGHT_CURLY_BRACE:125,CHAR_RIGHT_SQUARE_BRACKET:93,CHAR_SEMICOLON:59,CHAR_SINGLE_QUOTE:39,CHAR_SPACE:32,CHAR_TAB:9,CHAR_UNDERSCORE:95,CHAR_VERTICAL_LINE:124,CHAR_ZERO_WIDTH_NOBREAK_SPACE:65279,extglobChars(E){return{"!":{type:"negate",open:"(?:(?!(?:",close:`))${E.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}},globChars(E){return E===!0?P:A}}},697:(i,c,r)=>{const s=r(154),d=r(96),{MAX_LENGTH:l,POSIX_REGEX_SOURCE:h,REGEX_NON_SPECIAL_CHARS:u,REGEX_SPECIAL_CHARS_BACKREF:p,REPLACEMENTS:y}=s,C=(m,N)=>{if(typeof N.expandRange=="function")return N.expandRange(...m,N);m.sort();const f=`[${m.join("-")}]`;try{new RegExp(f)}catch{return m.map(M=>d.escapeRegex(M)).join("..")}return f},g=(m,N)=>`Missing ${m}: "${N}" - use "\\\\${N}" to match literal characters`,x=(m,N)=>{if(typeof m!="string")throw new TypeError("Expected a string");m=y[m]||m;const f={...N},w=typeof f.maxLength=="number"?Math.min(l,f.maxLength):l;let M=m.length;if(M>w)throw new SyntaxError(`Input length: ${M}, exceeds maximum allowed length: ${w}`);const S={type:"bos",value:"",output:f.prepend||""},A=[S],P=f.capture?"":"?:",H=s.globChars(f.windows),E=s.extglobChars(H),{DOT_LITERAL:T,PLUS_LITERAL:O,SLASH_LITERAL:ae,ONE_CHAR:U,DOTS_SLASH:te,NO_DOT:Q,NO_DOT_SLASH:ce,NO_DOTS_SLASH:oe,QMARK:W,QMARK_NO_DOT:v,STAR:R,START_ANCHOR:j}=H,F=B=>`(${P}(?:(?!${j}${B.dot?te:T}).)*?)`,V=f.dot?"":Q,ee=f.dot?W:v;let G=f.bash===!0?F(f):R;f.capture&&(G=`(${G})`),typeof f.noext=="boolean"&&(f.noextglob=f.noext);const b={input:m,index:-1,start:0,dot:f.dot===!0,consumed:"",output:"",prefix:"",backtrack:!1,negated:!1,brackets:0,braces:0,parens:0,quotes:0,globstar:!1,tokens:A};m=d.removePrefix(m,b),M=m.length;const Z=[],z=[],K=[];let I=S,L;const me=()=>b.index===M-1,J=b.peek=(B=1)=>m[b.index+B],X=b.advance=()=>m[++b.index]||"",se=()=>m.slice(b.index+1),Ne=(B="",ye=0)=>{b.consumed+=B,b.index+=ye},Ce=B=>{b.output+=B.output!=null?B.output:B.value,Ne(B.value)},_e=()=>{let B=1;for(;J()==="!"&&(J(2)!=="("||J(3)==="?");)X(),b.start++,B++;return B%2===0?!1:(b.negated=!0,b.start++,!0)},Pe=B=>{b[B]++,K.push(B)},ge=B=>{b[B]--,K.pop()},re=B=>{if(I.type==="globstar"){const ye=b.braces>0&&(B.type==="comma"||B.type==="brace"),D=B.extglob===!0||Z.length&&(B.type==="pipe"||B.type==="paren");B.type!=="slash"&&B.type!=="paren"&&!ye&&!D&&(b.output=b.output.slice(0,-I.output.length),I.type="star",I.value="*",I.output=G,b.output+=I.output)}if(Z.length&&B.type!=="paren"&&(Z[Z.length-1].inner+=B.value),(B.value||B.output)&&Ce(B),I&&I.type==="text"&&B.type==="text"){I.output=(I.output||I.value)+B.value,I.value+=B.value;return}B.prev=I,A.push(B),I=B},he=(B,ye)=>{const D={...E[ye],conditions:1,inner:""};D.prev=I,D.parens=b.parens,D.output=b.output;const $=(f.capture?"(":"")+D.open;Pe("parens"),re({type:B,value:ye,output:b.output?"":U}),re({type:"paren",extglob:!0,value:X(),output:$}),Z.push(D)},Me=B=>{let ye=B.close+(f.capture?")":""),D;if(B.type==="negate"){let $=G;if(B.inner&&B.inner.length>1&&B.inner.includes("/")&&($=F(f)),($!==G||me()||/^\)+$/.test(se()))&&(ye=B.close=`)$))${$}`),B.inner.includes("*")&&(D=se())&&/^\.[^\\/.]+$/.test(D)){const ie=x(D,{...N,fastpaths:!1}).output;ye=B.close=`)${ie})${$})`}B.prev.type==="bos"&&(b.negatedExtglob=!0)}re({type:"paren",extglob:!0,value:L,output:ye}),ge("parens")};if(f.fastpaths!==!1&&!/(^[*!]|[/()[\]{}"])/.test(m)){let B=!1,ye=m.replace(p,(D,$,ie,ve,ue,Ee)=>ve==="\\"?(B=!0,D):ve==="?"?$?$+ve+(ue?W.repeat(ue.length):""):Ee===0?ee+(ue?W.repeat(ue.length):""):W.repeat(ie.length):ve==="."?T.repeat(ie.length):ve==="*"?$?$+ve+(ue?G:""):G:$?D:`\\${D}`);return B===!0&&(f.unescape===!0?ye=ye.replace(/\\/g,""):ye=ye.replace(/\\+/g,D=>D.length%2===0?"\\\\":D?"\\":"")),ye===m&&f.contains===!0?(b.output=m,b):(b.output=d.wrapOutput(ye,b,N),b)}for(;!me();){if(L=X(),L==="\0")continue;if(L==="\\"){const D=J();if(D==="/"&&f.bash!==!0||D==="."||D===";")continue;if(!D){L+="\\",re({type:"text",value:L});continue}const $=/^\\+/.exec(se());let ie=0;if($&&$[0].length>2&&(ie=$[0].length,b.index+=ie,ie%2!==0&&(L+="\\")),f.unescape===!0?L=X():L+=X(),b.brackets===0){re({type:"text",value:L});continue}}if(b.brackets>0&&(L!=="]"||I.value==="["||I.value==="[^")){if(f.posix!==!1&&L===":"){const D=I.value.slice(1);if(D.includes("[")&&(I.posix=!0,D.includes(":"))){const $=I.value.lastIndexOf("["),ie=I.value.slice(0,$),ve=I.value.slice($+2),ue=h[ve];if(ue){I.value=ie+ue,b.backtrack=!0,X(),!S.output&&A.indexOf(I)===1&&(S.output=U);continue}}}(L==="["&&J()!==":"||L==="-"&&J()==="]")&&(L=`\\${L}`),L==="]"&&(I.value==="["||I.value==="[^")&&(L=`\\${L}`),f.posix===!0&&L==="!"&&I.value==="["&&(L="^"),I.value+=L,Ce({value:L});continue}if(b.quotes===1&&L!=='"'){L=d.escapeRegex(L),I.value+=L,Ce({value:L});continue}if(L==='"'){b.quotes=b.quotes===1?0:1,f.keepQuotes===!0&&re({type:"text",value:L});continue}if(L==="("){Pe("parens"),re({type:"paren",value:L});continue}if(L===")"){if(b.parens===0&&f.strictBrackets===!0)throw new SyntaxError(g("opening","("));const D=Z[Z.length-1];if(D&&b.parens===D.parens+1){Me(Z.pop());continue}re({type:"paren",value:L,output:b.parens?")":"\\)"}),ge("parens");continue}if(L==="["){if(f.nobracket===!0||!se().includes("]")){if(f.nobracket!==!0&&f.strictBrackets===!0)throw new SyntaxError(g("closing","]"));L=`\\${L}`}else Pe("brackets");re({type:"bracket",value:L});continue}if(L==="]"){if(f.nobracket===!0||I&&I.type==="bracket"&&I.value.length===1){re({type:"text",value:L,output:`\\${L}`});continue}if(b.brackets===0){if(f.strictBrackets===!0)throw new SyntaxError(g("opening","["));re({type:"text",value:L,output:`\\${L}`});continue}ge("brackets");const D=I.value.slice(1);if(I.posix!==!0&&D[0]==="^"&&!D.includes("/")&&(L=`/${L}`),I.value+=L,Ce({value:L}),f.literalBrackets===!1||d.hasRegexChars(D))continue;const $=d.escapeRegex(I.value);if(b.output=b.output.slice(0,-I.value.length),f.literalBrackets===!0){b.output+=$,I.value=$;continue}I.value=`(${P}${$}|${I.value})`,b.output+=I.value;continue}if(L==="{"&&f.nobrace!==!0){Pe("braces");const D={type:"brace",value:L,output:"(",outputIndex:b.output.length,tokensIndex:b.tokens.length};z.push(D),re(D);continue}if(L==="}"){const D=z[z.length-1];if(f.nobrace===!0||!D){re({type:"text",value:L,output:L});continue}let $=")";if(D.dots===!0){const ie=A.slice(),ve=[];for(let ue=ie.length-1;ue>=0&&(A.pop(),ie[ue].type!=="brace");ue--)ie[ue].type!=="dots"&&ve.unshift(ie[ue].value);$=C(ve,f),b.backtrack=!0}if(D.comma!==!0&&D.dots!==!0){const ie=b.output.slice(0,D.outputIndex),ve=b.tokens.slice(D.tokensIndex);D.value=D.output="\\{",L=$="\\}",b.output=ie;for(const ue of ve)b.output+=ue.output||ue.value}re({type:"brace",value:L,output:$}),ge("braces"),z.pop();continue}if(L==="|"){Z.length>0&&Z[Z.length-1].conditions++,re({type:"text",value:L});continue}if(L===","){let D=L;const $=z[z.length-1];$&&K[K.length-1]==="braces"&&($.comma=!0,D="|"),re({type:"comma",value:L,output:D});continue}if(L==="/"){if(I.type==="dot"&&b.index===b.start+1){b.start=b.index+1,b.consumed="",b.output="",A.pop(),I=S;continue}re({type:"slash",value:L,output:ae});continue}if(L==="."){if(b.braces>0&&I.type==="dot"){I.value==="."&&(I.output=T);const D=z[z.length-1];I.type="dots",I.output+=L,I.value+=L,D.dots=!0;continue}if(b.braces+b.parens===0&&I.type!=="bos"&&I.type!=="slash"){re({type:"text",value:L,output:T});continue}re({type:"dot",value:L,output:T});continue}if(L==="?"){if(!(I&&I.value==="(")&&f.noextglob!==!0&&J()==="("&&J(2)!=="?"){he("qmark",L);continue}if(I&&I.type==="paren"){const $=J();let ie=L;(I.value==="("&&!/[!=<:]/.test($)||$==="<"&&!/<([!=]|\w+>)/.test(se()))&&(ie=`\\${L}`),re({type:"text",value:L,output:ie});continue}if(f.dot!==!0&&(I.type==="slash"||I.type==="bos")){re({type:"qmark",value:L,output:v});continue}re({type:"qmark",value:L,output:W});continue}if(L==="!"){if(f.noextglob!==!0&&J()==="("&&(J(2)!=="?"||!/[!=<:]/.test(J(3)))){he("negate",L);continue}if(f.nonegate!==!0&&b.index===0){_e();continue}}if(L==="+"){if(f.noextglob!==!0&&J()==="("&&J(2)!=="?"){he("plus",L);continue}if(I&&I.value==="("||f.regex===!1){re({type:"plus",value:L,output:O});continue}if(I&&(I.type==="bracket"||I.type==="paren"||I.type==="brace")||b.parens>0){re({type:"plus",value:L});continue}re({type:"plus",value:O});continue}if(L==="@"){if(f.noextglob!==!0&&J()==="("&&J(2)!=="?"){re({type:"at",extglob:!0,value:L,output:""});continue}re({type:"text",value:L});continue}if(L!=="*"){(L==="$"||L==="^")&&(L=`\\${L}`);const D=u.exec(se());D&&(L+=D[0],b.index+=D[0].length),re({type:"text",value:L});continue}if(I&&(I.type==="globstar"||I.star===!0)){I.type="star",I.star=!0,I.value+=L,I.output=G,b.backtrack=!0,b.globstar=!0,Ne(L);continue}let B=se();if(f.noextglob!==!0&&/^\([^?]/.test(B)){he("star",L);continue}if(I.type==="star"){if(f.noglobstar===!0){Ne(L);continue}const D=I.prev,$=D.prev,ie=D.type==="slash"||D.type==="bos",ve=$&&($.type==="star"||$.type==="globstar");if(f.bash===!0&&(!ie||B[0]&&B[0]!=="/")){re({type:"star",value:L,output:""});continue}const ue=b.braces>0&&(D.type==="comma"||D.type==="brace"),Ee=Z.length&&(D.type==="pipe"||D.type==="paren");if(!ie&&D.type!=="paren"&&!ue&&!Ee){re({type:"star",value:L,output:""});continue}for(;B.slice(0,3)==="/**";){const qa=m[b.index+4];if(qa&&qa!=="/")break;B=B.slice(3),Ne("/**",3)}if(D.type==="bos"&&me()){I.type="globstar",I.value+=L,I.output=F(f),b.output=I.output,b.globstar=!0,Ne(L);continue}if(D.type==="slash"&&D.prev.type!=="bos"&&!ve&&me()){b.output=b.output.slice(0,-(D.output+I.output).length),D.output=`(?:${D.output}`,I.type="globstar",I.output=F(f)+(f.strictSlashes?")":"|$)"),I.value+=L,b.globstar=!0,b.output+=D.output+I.output,Ne(L);continue}if(D.type==="slash"&&D.prev.type!=="bos"&&B[0]==="/"){const qa=B[1]!==void 0?"|$":"";b.output=b.output.slice(0,-(D.output+I.output).length),D.output=`(?:${D.output}`,I.type="globstar",I.output=`${F(f)}${ae}|${ae}${qa})`,I.value+=L,b.output+=D.output+I.output,b.globstar=!0,Ne(L+X()),re({type:"slash",value:"/",output:""});continue}if(D.type==="bos"&&B[0]==="/"){I.type="globstar",I.value+=L,I.output=`(?:^|${ae}|${F(f)}${ae})`,b.output=I.output,b.globstar=!0,Ne(L+X()),re({type:"slash",value:"/",output:""});continue}b.output=b.output.slice(0,-I.output.length),I.type="globstar",I.output=F(f),I.value+=L,b.output+=I.output,b.globstar=!0,Ne(L);continue}const ye={type:"star",value:L,output:G};if(f.bash===!0){ye.output=".*?",(I.type==="bos"||I.type==="slash")&&(ye.output=V+ye.output),re(ye);continue}if(I&&(I.type==="bracket"||I.type==="paren")&&f.regex===!0){ye.output=L,re(ye);continue}(b.index===b.start||I.type==="slash"||I.type==="dot")&&(I.type==="dot"?(b.output+=ce,I.output+=ce):f.dot===!0?(b.output+=oe,I.output+=oe):(b.output+=V,I.output+=V),J()!=="*"&&(b.output+=U,I.output+=U)),re(ye)}for(;b.brackets>0;){if(f.strictBrackets===!0)throw new SyntaxError(g("closing","]"));b.output=d.escapeLast(b.output,"["),ge("brackets")}for(;b.parens>0;){if(f.strictBrackets===!0)throw new SyntaxError(g("closing",")"));b.output=d.escapeLast(b.output,"("),ge("parens")}for(;b.braces>0;){if(f.strictBrackets===!0)throw new SyntaxError(g("closing","}"));b.output=d.escapeLast(b.output,"{"),ge("braces")}if(f.strictSlashes!==!0&&(I.type==="star"||I.type==="bracket")&&re({type:"maybe_slash",value:"",output:`${ae}?`}),b.backtrack===!0){b.output="";for(const B of b.tokens)b.output+=B.output!=null?B.output:B.value,B.suffix&&(b.output+=B.suffix)}return b};x.fastpaths=(m,N)=>{const f={...N},w=typeof f.maxLength=="number"?Math.min(l,f.maxLength):l,M=m.length;if(M>w)throw new SyntaxError(`Input length: ${M}, exceeds maximum allowed length: ${w}`);m=y[m]||m;const{DOT_LITERAL:S,SLASH_LITERAL:A,ONE_CHAR:P,DOTS_SLASH:H,NO_DOT:E,NO_DOTS:T,NO_DOTS_SLASH:O,STAR:ae,START_ANCHOR:U}=s.globChars(f.windows),te=f.dot?T:E,Q=f.dot?O:E,ce=f.capture?"":"?:",oe={negated:!1,prefix:""};let W=f.bash===!0?".*?":ae;f.capture&&(W=`(${W})`);const v=V=>V.noglobstar===!0?W:`(${ce}(?:(?!${U}${V.dot?H:S}).)*?)`,R=V=>{switch(V){case"*":return`${te}${P}${W}`;case".*":return`${S}${P}${W}`;case"*.*":return`${te}${W}${S}${P}${W}`;case"*/*":return`${te}${W}${A}${P}${Q}${W}`;case"**":return te+v(f);case"**/*":return`(?:${te}${v(f)}${A})?${Q}${P}${W}`;case"**/*.*":return`(?:${te}${v(f)}${A})?${Q}${W}${S}${P}${W}`;case"**/.*":return`(?:${te}${v(f)}${A})?${S}${P}${W}`;default:{const ee=/^(.*?)\.(\w+)$/.exec(V);if(!ee)return;const G=R(ee[1]);return G?G+S+ee[2]:void 0}}},j=d.removePrefix(m,oe);let F=R(j);return F&&f.strictSlashes!==!0&&(F+=`${A}?`),F},i.exports=x},510:(i,c,r)=>{const s=r(716),d=r(697),l=r(96),h=r(154),u=y=>y&&typeof y=="object"&&!Array.isArray(y),p=(y,C,g=!1)=>{if(Array.isArray(y)){const A=y.map(H=>p(H,C,g));return H=>{for(const E of A){const T=E(H);if(T)return T}return!1}}const x=u(y)&&y.tokens&&y.input;if(y===""||typeof y!="string"&&!x)throw new TypeError("Expected pattern to be a non-empty string");const m=C||{},N=m.windows,f=x?p.compileRe(y,C):p.makeRe(y,C,!1,!0),w=f.state;delete f.state;let M=()=>!1;if(m.ignore){const A={...C,ignore:null,onMatch:null,onResult:null};M=p(m.ignore,A,g)}const S=(A,P=!1)=>{const{isMatch:H,match:E,output:T}=p.test(A,f,C,{glob:y,posix:N}),O={glob:y,state:w,regex:f,posix:N,input:A,output:T,match:E,isMatch:H};return typeof m.onResult=="function"&&m.onResult(O),H===!1?(O.isMatch=!1,P?O:!1):M(A)?(typeof m.onIgnore=="function"&&m.onIgnore(O),O.isMatch=!1,P?O:!1):(typeof m.onMatch=="function"&&m.onMatch(O),P?O:!0)};return g&&(S.state=w),S};p.test=(y,C,g,{glob:x,posix:m}={})=>{if(typeof y!="string")throw new TypeError("Expected input to be a string");if(y==="")return{isMatch:!1,output:""};const N=g||{},f=N.format||(m?l.toPosixSlashes:null);let w=y===x,M=w&&f?f(y):y;return w===!1&&(M=f?f(y):y,w=M===x),(w===!1||N.capture===!0)&&(N.matchBase===!0||N.basename===!0?w=p.matchBase(y,C,g,m):w=C.exec(M)),{isMatch:!!w,match:w,output:M}},p.matchBase=(y,C,g)=>(C instanceof RegExp?C:p.makeRe(C,g)).test(l.basename(y)),p.isMatch=(y,C,g)=>p(C,g)(y),p.parse=(y,C)=>Array.isArray(y)?y.map(g=>p.parse(g,C)):d(y,{...C,fastpaths:!1}),p.scan=(y,C)=>s(y,C),p.compileRe=(y,C,g=!1,x=!1)=>{if(g===!0)return y.output;const m=C||{},N=m.contains?"":"^",f=m.contains?"":"$";let w=`${N}(?:${y.output})${f}`;y&&y.negated===!0&&(w=`^(?!${w}).*$`);const M=p.toRegex(w,C);return x===!0&&(M.state=y),M},p.makeRe=(y,C={},g=!1,x=!1)=>{if(!y||typeof y!="string")throw new TypeError("Expected a non-empty string");let m={negated:!1,fastpaths:!0};return C.fastpaths!==!1&&(y[0]==="."||y[0]==="*")&&(m.output=d.fastpaths(y,C)),m.output||(m=d(y,C)),p.compileRe(m,C,g,x)},p.toRegex=(y,C)=>{try{const g=C||{};return new RegExp(y,g.flags||(g.nocase?"i":""))}catch(g){if(C&&C.debug===!0)throw g;return/$^/}},p.constants=h,i.exports=p},716:(i,c,r)=>{const s=r(96),{CHAR_ASTERISK:d,CHAR_AT:l,CHAR_BACKWARD_SLASH:h,CHAR_COMMA:u,CHAR_DOT:p,CHAR_EXCLAMATION_MARK:y,CHAR_FORWARD_SLASH:C,CHAR_LEFT_CURLY_BRACE:g,CHAR_LEFT_PARENTHESES:x,CHAR_LEFT_SQUARE_BRACKET:m,CHAR_PLUS:N,CHAR_QUESTION_MARK:f,CHAR_RIGHT_CURLY_BRACE:w,CHAR_RIGHT_PARENTHESES:M,CHAR_RIGHT_SQUARE_BRACKET:S}=r(154),A=E=>E===C||E===h,P=E=>{E.isPrefix!==!0&&(E.depth=E.isGlobstar?1/0:1)},H=(E,T)=>{const O=T||{},ae=E.length-1,U=O.parts===!0||O.scanToEnd===!0,te=[],Q=[],ce=[];let oe=E,W=-1,v=0,R=0,j=!1,F=!1,V=!1,ee=!1,G=!1,b=!1,Z=!1,z=!1,K=!1,I=!1,L=0,me,J,X={value:"",depth:0,isGlob:!1};const se=()=>W>=ae,Ne=()=>oe.charCodeAt(W+1),Ce=()=>(me=J,oe.charCodeAt(++W));for(;W<ae;){J=Ce();let he;if(J===h){Z=X.backslashes=!0,J=Ce(),J===g&&(b=!0);continue}if(b===!0||J===g){for(L++;se()!==!0&&(J=Ce());){if(J===h){Z=X.backslashes=!0,Ce();continue}if(J===g){L++;continue}if(b!==!0&&J===p&&(J=Ce())===p){if(j=X.isBrace=!0,V=X.isGlob=!0,I=!0,U===!0)continue;break}if(b!==!0&&J===u){if(j=X.isBrace=!0,V=X.isGlob=!0,I=!0,U===!0)continue;break}if(J===w&&(L--,L===0)){b=!1,j=X.isBrace=!0,I=!0;break}}if(U===!0)continue;break}if(J===C){if(te.push(W),Q.push(X),X={value:"",depth:0,isGlob:!1},I===!0)continue;if(me===p&&W===v+1){v+=2;continue}R=W+1;continue}if(O.noext!==!0&&(J===N||J===l||J===d||J===f||J===y)===!0&&Ne()===x){if(V=X.isGlob=!0,ee=X.isExtglob=!0,I=!0,J===y&&W===v&&(K=!0),U===!0){for(;se()!==!0&&(J=Ce());){if(J===h){Z=X.backslashes=!0,J=Ce();continue}if(J===M){V=X.isGlob=!0,I=!0;break}}continue}break}if(J===d){if(me===d&&(G=X.isGlobstar=!0),V=X.isGlob=!0,I=!0,U===!0)continue;break}if(J===f){if(V=X.isGlob=!0,I=!0,U===!0)continue;break}if(J===m){for(;se()!==!0&&(he=Ce());){if(he===h){Z=X.backslashes=!0,Ce();continue}if(he===S){F=X.isBracket=!0,V=X.isGlob=!0,I=!0;break}}if(U===!0)continue;break}if(O.nonegate!==!0&&J===y&&W===v){z=X.negated=!0,v++;continue}if(O.noparen!==!0&&J===x){if(V=X.isGlob=!0,U===!0){for(;se()!==!0&&(J=Ce());){if(J===x){Z=X.backslashes=!0,J=Ce();continue}if(J===M){I=!0;break}}continue}break}if(V===!0){if(I=!0,U===!0)continue;break}}O.noext===!0&&(ee=!1,V=!1);let _e=oe,Pe="",ge="";v>0&&(Pe=oe.slice(0,v),oe=oe.slice(v),R-=v),_e&&V===!0&&R>0?(_e=oe.slice(0,R),ge=oe.slice(R)):V===!0?(_e="",ge=oe):_e=oe,_e&&_e!==""&&_e!=="/"&&_e!==oe&&A(_e.charCodeAt(_e.length-1))&&(_e=_e.slice(0,-1)),O.unescape===!0&&(ge&&(ge=s.removeBackslashes(ge)),_e&&Z===!0&&(_e=s.removeBackslashes(_e)));const re={prefix:Pe,input:E,start:v,base:_e,glob:ge,isBrace:j,isBracket:F,isGlob:V,isExtglob:ee,isGlobstar:G,negated:z,negatedExtglob:K};if(O.tokens===!0&&(re.maxDepth=0,A(J)||Q.push(X),re.tokens=Q),O.parts===!0||O.tokens===!0){let he;for(let Me=0;Me<te.length;Me++){const B=he?he+1:v,ye=te[Me],D=E.slice(B,ye);O.tokens&&(Me===0&&v!==0?(Q[Me].isPrefix=!0,Q[Me].value=Pe):Q[Me].value=D,P(Q[Me]),re.maxDepth+=Q[Me].depth),(Me!==0||D!=="")&&ce.push(D),he=ye}if(he&&he+1<E.length){const Me=E.slice(he+1);ce.push(Me),O.tokens&&(Q[Q.length-1].value=Me,P(Q[Q.length-1]),re.maxDepth+=Q[Q.length-1].depth)}re.slashes=te,re.parts=ce}return re};i.exports=H},96:(i,c,r)=>{const{REGEX_BACKSLASH:s,REGEX_REMOVE_BACKSLASH:d,REGEX_SPECIAL_CHARS:l,REGEX_SPECIAL_CHARS_GLOBAL:h}=r(154);c.isObject=u=>u!==null&&typeof u=="object"&&!Array.isArray(u),c.hasRegexChars=u=>l.test(u),c.isRegexChar=u=>u.length===1&&c.hasRegexChars(u),c.escapeRegex=u=>u.replace(h,"\\$1"),c.toPosixSlashes=u=>u.replace(s,"/"),c.removeBackslashes=u=>u.replace(d,p=>p==="\\"?"":p),c.escapeLast=(u,p,y)=>{const C=u.lastIndexOf(p,y);return C===-1?u:u[C-1]==="\\"?c.escapeLast(u,p,C-1):`${u.slice(0,C)}\\${u.slice(C)}`},c.removePrefix=(u,p={})=>{let y=u;return y.startsWith("./")&&(y=y.slice(2),p.prefix="./"),y},c.wrapOutput=(u,p={},y={})=>{const C=y.contains?"":"^",g=y.contains?"":"$";let x=`${C}(?:${u})${g}`;return p.negated===!0&&(x=`(?:^(?!${x}).*$)`),x},c.basename=(u,{windows:p}={})=>{const y=u.split(p?/[\\/]/:"/"),C=y[y.length-1];return C===""?y[y.length-2]:C}}},t={};function a(i){var c=t[i];if(c!==void 0)return c.exports;var r=t[i]={exports:{}},s=!0;try{e[i](r,r.exports,a),s=!1}finally{s&&delete t[i]}return r.exports}typeof a<"u"&&(a.ab=__dirname+"/");var o=a(170);Zv.exports=o})()),Zv.exports}var lL;function BI(){return lL||(lL=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(c,r){for(var s in r)Object.defineProperty(c,s,{enumerable:!0,get:r[s]})}t(e,{hasLocalMatch:function(){return i},matchLocalPattern:function(){return o}});const a=qb();function o(c,r){if(c.search!==void 0&&c.search!==r.search)return!1;var s;return!!(0,a.makeRe)((s=c.pathname)!=null?s:"**",{dot:!0}).test(r.pathname)}function i(c,r){if(!c)return!0;const s=new URL(r,"http://n");return c.some(d=>o(d,s))}}(Uv)),Uv}var Gv={},uL;function UI(){return uL||(uL=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(c,r){for(var s in r)Object.defineProperty(c,s,{enumerable:!0,get:r[s]})}t(e,{hasRemoteMatch:function(){return i},matchRemotePattern:function(){return o}});const a=qb();function o(c,r){if(c.protocol!==void 0&&c.protocol.replace(/:$/,"")!==r.protocol.replace(/:$/,"")||c.port!==void 0&&c.port!==r.port)return!1;if(c.hostname===void 0)throw Object.defineProperty(new Error(`Pattern should define hostname but found
35
- `+JSON.stringify(c)),"__NEXT_ERROR_CODE",{value:"E410",enumerable:!1,configurable:!0});if(!(0,a.makeRe)(c.hostname).test(r.hostname)||c.search!==void 0&&c.search!==r.search)return!1;var s;return!!(0,a.makeRe)((s=c.pathname)!=null?s:"**",{dot:!0}).test(r.pathname)}function i(c,r,s){return c.some(d=>s.hostname===d)||r.some(d=>o(d,s))}}(Gv)),Gv}var pL;function Tb(){return pL||(pL=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return o}});const t=75;function a(i){let{config:c,src:r,width:s,quality:d}=i;var l;if(process.env.NODE_ENV!=="production"){const u=[];if(r||u.push("src"),s||u.push("width"),u.length>0)throw Object.defineProperty(new Error("Next Image Optimization requires "+u.join(", ")+" to be provided. Make sure you pass them as props to the `next/image` component. Received: "+JSON.stringify({src:r,width:s,quality:d})),"__NEXT_ERROR_CODE",{value:"E188",enumerable:!1,configurable:!0});if(r.startsWith("//"))throw Object.defineProperty(new Error('Failed to parse src "'+r+'" on `next/image`, protocol-relative URL (//) must be changed to an absolute URL (http:// or https://)'),"__NEXT_ERROR_CODE",{value:"E360",enumerable:!1,configurable:!0});if(r.startsWith("/")&&c.localPatterns&&process.env.NODE_ENV!=="test"&&process.env.NEXT_RUNTIME!=="edge"){const{hasLocalMatch:p}=BI();if(!p(c.localPatterns,r))throw Object.defineProperty(new Error("Invalid src prop ("+r+") on `next/image` does not match `images.localPatterns` configured in your `next.config.js`\nSee more info: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns"),"__NEXT_ERROR_CODE",{value:"E426",enumerable:!1,configurable:!0})}if(!r.startsWith("/")&&(c.domains||c.remotePatterns)){let p;try{p=new URL(r)}catch(y){throw console.error(y),Object.defineProperty(new Error('Failed to parse src "'+r+'" on `next/image`, if using relative image it must start with a leading slash "/" or be an absolute URL (http:// or https://)'),"__NEXT_ERROR_CODE",{value:"E63",enumerable:!1,configurable:!0})}if(process.env.NODE_ENV!=="test"&&process.env.NEXT_RUNTIME!=="edge"){const{hasRemoteMatch:y}=UI();if(!y(c.domains,c.remotePatterns,p))throw Object.defineProperty(new Error("Invalid src prop ("+r+') on `next/image`, hostname "'+p.hostname+'" is not configured under images in your `next.config.js`\nSee more info: https://nextjs.org/docs/messages/next-image-unconfigured-host'),"__NEXT_ERROR_CODE",{value:"E231",enumerable:!1,configurable:!0})}}if(d&&c.qualities&&!c.qualities.includes(d))throw Object.defineProperty(new Error("Invalid quality prop ("+d+") on `next/image` does not match `images.qualities` configured in your `next.config.js`\nSee more info: https://nextjs.org/docs/messages/next-image-unconfigured-qualities"),"__NEXT_ERROR_CODE",{value:"E623",enumerable:!1,configurable:!0})}const h=d||((l=c.qualities)==null?void 0:l.reduce((u,p)=>Math.abs(p-t)<Math.abs(u-t)?p:u))||t;return c.path+"?url="+encodeURIComponent(r)+"&w="+s+"&q="+h+(r.startsWith("/_next/static/media/")&&process.env.NEXT_DEPLOYMENT_ID?"&dpl="+process.env.NEXT_DEPLOYMENT_ID:"")}a.__next_img_default=!0;const o=a}(Bv)),Bv}var Va={exports:{}},yL;function jb(){return yL||(yL=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useMergedRef",{enumerable:!0,get:function(){return o}});const a=q;function o(c,r){const s=(0,a.useRef)(null),d=(0,a.useRef)(null);return(0,a.useCallback)(l=>{if(l===null){const h=s.current;h&&(s.current=null,h());const u=d.current;u&&(d.current=null,u())}else c&&(s.current=i(c,l)),r&&(d.current=i(r,l))},[c,r])}function i(c,r){if(typeof c=="function"){const s=c(r);return typeof s=="function"?s:()=>c(null)}else return c.current=r,()=>{c.current=null}}(typeof t.default=="function"||typeof t.default=="object"&&t.default!==null)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(Va,Va.exports)),Va.exports}var kL;function ZI(){return kL||(kL=1,function(e,t){"use client";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Image",{enumerable:!0,get:function(){return w}});const a=Jn(),o=xv(),i=Cv(),c=o._(q),r=a._(RI),s=a._(DI()),d=Rb(),l=dx(),h=FI(),u=sx(),p=$b(),y=a._(Tb()),C=jb(),g=process.env.__NEXT_IMAGE_OPTS;typeof window>"u"&&(globalThis.__NEXT_IMAGE_IMPORTED=!0);function x(M,S,A,P,H,E,T){const O=M==null?void 0:M.src;if(!M||M["data-loaded-src"]===O)return;M["data-loaded-src"]=O,("decode"in M?M.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(!(!M.parentElement||!M.isConnected)){if(S!=="empty"&&H(!0),A!=null&&A.current){const U=new Event("load");Object.defineProperty(U,"target",{writable:!1,value:M});let te=!1,Q=!1;A.current({...U,nativeEvent:U,currentTarget:M,target:M,isDefaultPrevented:()=>te,isPropagationStopped:()=>Q,persist:()=>{},preventDefault:()=>{te=!0,U.preventDefault()},stopPropagation:()=>{Q=!0,U.stopPropagation()}})}if(P!=null&&P.current&&P.current(M),process.env.NODE_ENV!=="production"){const U=new URL(O,"http://n").searchParams.get("url")||O;if(M.getAttribute("data-nimg")==="fill"){if(!E&&(!T||T==="100vw")&&M.getBoundingClientRect().width/window.innerWidth<.6&&(T==="100vw"?(0,u.warnOnce)('Image with src "'+U+'" has "fill" prop and "sizes" prop of "100vw", but image is not rendered at full viewport width. Please adjust "sizes" to improve page performance. Read more: https://nextjs.org/docs/api-reference/next/image#sizes'):(0,u.warnOnce)('Image with src "'+U+'" has "fill" but is missing "sizes" prop. Please add it to improve page performance. Read more: https://nextjs.org/docs/api-reference/next/image#sizes')),M.parentElement){const{position:ce}=window.getComputedStyle(M.parentElement),oe=["absolute","fixed","relative"];oe.includes(ce)||(0,u.warnOnce)('Image with src "'+U+'" has "fill" and parent element with invalid "position". Provided "'+ce+'" should be one of '+oe.map(String).join(",")+".")}M.height===0&&(0,u.warnOnce)('Image with src "'+U+'" has "fill" and a height value of 0. This is likely because the parent element of the image has not been styled to have a set height.')}const te=M.height.toString()!==M.getAttribute("height"),Q=M.width.toString()!==M.getAttribute("width");(te&&!Q||!te&&Q)&&(0,u.warnOnce)('Image with src "'+U+`" has either width or height modified, but not the other. If you use CSS to change the size of your image, also include the styles 'width: "auto"' or 'height: "auto"' to maintain the aspect ratio.`)}}})}function m(M){return c.use?{fetchPriority:M}:{fetchpriority:M}}const N=(0,c.forwardRef)((M,S)=>{let{src:A,srcSet:P,sizes:H,height:E,width:T,decoding:O,className:ae,style:U,fetchPriority:te,placeholder:Q,loading:ce,unoptimized:oe,fill:W,onLoadRef:v,onLoadingCompleteRef:R,setBlurComplete:j,setShowAltText:F,sizesInput:V,onLoad:ee,onError:G,...b}=M;const Z=(0,c.useCallback)(K=>{K&&(G&&(K.src=K.src),process.env.NODE_ENV!=="production"&&(A||console.error('Image is missing required "src" property:',K),K.getAttribute("alt")===null&&console.error('Image is missing required "alt" property. Please add Alternative Text to describe the image for screen readers and search engines.')),K.complete&&x(K,Q,v,R,j,oe,V))},[A,Q,v,R,j,G,oe,V]),z=(0,C.useMergedRef)(S,Z);return(0,i.jsx)("img",{...b,...m(te),loading:ce,width:T,height:E,decoding:O,"data-nimg":W?"fill":"1",className:ae,style:U,sizes:H,srcSet:P,src:A,ref:z,onLoad:K=>{const I=K.currentTarget;x(I,Q,v,R,j,oe,V)},onError:K=>{F(!0),Q!=="empty"&&j(!0),G&&G(K)}})});function f(M){let{isAppRouter:S,imgAttributes:A}=M;const P={as:"image",imageSrcSet:A.srcSet,imageSizes:A.sizes,crossOrigin:A.crossOrigin,referrerPolicy:A.referrerPolicy,...m(A.fetchPriority)};return S&&r.default.preload?(r.default.preload(A.src,P),null):(0,i.jsx)(s.default,{children:(0,i.jsx)("link",{rel:"preload",href:A.srcSet?void 0:A.src,...P},"__nimg-"+A.src+A.srcSet+A.sizes)})}const w=(0,c.forwardRef)((M,S)=>{const P=!(0,c.useContext)(p.RouterContext),H=(0,c.useContext)(h.ImageConfigContext),E=(0,c.useMemo)(()=>{var R;const j=g||H||l.imageConfigDefault,F=[...j.deviceSizes,...j.imageSizes].sort((G,b)=>G-b),V=j.deviceSizes.sort((G,b)=>G-b),ee=(R=j.qualities)==null?void 0:R.sort((G,b)=>G-b);return{...j,allSizes:F,deviceSizes:V,qualities:ee}},[H]),{onLoad:T,onLoadingComplete:O}=M,ae=(0,c.useRef)(T);(0,c.useEffect)(()=>{ae.current=T},[T]);const U=(0,c.useRef)(O);(0,c.useEffect)(()=>{U.current=O},[O]);const[te,Q]=(0,c.useState)(!1),[ce,oe]=(0,c.useState)(!1),{props:W,meta:v}=(0,d.getImgProps)(M,{defaultLoader:y.default,imgConf:E,blurComplete:te,showAltText:ce});return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(N,{...W,unoptimized:v.unoptimized,placeholder:v.placeholder,fill:v.fill,onLoadRef:ae,onLoadingCompleteRef:U,setBlurComplete:Q,setShowAltText:oe,sizesInput:M.sizes,ref:S}),v.priority?(0,i.jsx)(f,{isAppRouter:P,imgAttributes:W}):null]})});(typeof t.default=="function"||typeof t.default=="object"&&t.default!==null)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(ja,ja.exports)),ja.exports}var fL;function GI(){return fL||(fL=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(d,l){for(var h in l)Object.defineProperty(d,h,{enumerable:!0,get:l[h]})}t(e,{default:function(){return s},getImageProps:function(){return r}});const a=Jn(),o=Rb(),i=ZI(),c=a._(Tb());function r(d){const{props:l}=(0,o.getImgProps)(d,{defaultLoader:c.default,imgConf:process.env.__NEXT_IMAGE_OPTS});for(const[h,u]of Object.entries(l))u===void 0&&delete l[h];return{props:l}}const s=i.Image}(Pv)),Pv}var Wv,mL;function WI(){return mL||(mL=1,Wv=GI()),Wv}var XI=WI();const Hb=vv(XI),KI="banner-module__banner___3SG82",YI="banner-module__social___5Kzx8",QI="banner-module__container___Ql7q1",JI="banner-module__content___O1k9U",eN="banner-module__image___MzaS7",tN="banner-module__skeleton___Bo2su",nN="banner-module__text___tUsGq",aN="banner-module__button___OQJDr",oN="banner-module__primary___V4xfg",$e={banner:KI,social:YI,container:QI,content:JI,image:eN,skeleton:tN,"image-wrap":"banner-module__image-wrap___uavzX",text:nN,button:aN,primary:oN,"button-group":"banner-module__button-group___UP8Fi"},iN="social-module__social___Rz7KO",cN="social-module__skeleton___5X-ML",rN="social-module__icon___sBz7e",sN="social-module__linkedin___hkI5Y",dN="social-module__instagram___TM0i3",hN="social-module__github___paHAR",Ve={social:iN,skeleton:cN,icon:rN,linkedin:sN,instagram:dN,github:hN},lN=e=>k.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:"lucide lucide-mail-icon lucide-mail",...e},k.createElement("path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7"}),k.createElement("rect",{x:2,y:4,width:20,height:16,rx:2})),uN=e=>k.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 496 512",...e},k.createElement("path",{fill:"currentColor",d:"M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3 .3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5 .3-6.2 2.3zm44.2-1.7c-2.9 .7-4.9 2.6-4.6 4.9 .3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3 .7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3 .3 2.9 2.3 3.9 1.6 1 3.6 .7 4.3-.7 .7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3 .7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3 .7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"})),pN=e=>k.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",...e},k.createElement("path",{d:"M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z",fill:"currentColor"})),yN=e=>k.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",...e},k.createElement("path",{d:"M100.3 448H7.4V148.9h92.9zM53.8 108.1C24.1 108.1 0 83.5 0 53.8a53.8 53.8 0 0 1 107.6 0c0 29.7-24.1 54.3-53.8 54.3zM447.9 448h-92.7V302.4c0-34.7-.7-79.2-48.3-79.2-48.3 0-55.7 37.7-55.7 76.7V448h-92.8V148.9h89.1v40.8h1.3c12.4-23.5 42.7-48.3 87.9-48.3 94 0 111.3 61.9 111.3 142.3V448z",fill:"currentColor"})),hx=({className:e,isMounted:t=!1})=>{const a=t1.useMounted(),o=t||a;return _.jsxs("div",{className:Y(Ve.social,e),children:[_.jsx("a",{href:"https://www.linkedin.com/in/themichael/",target:"_blank",className:Y(Ve.icon,Ve.linkedin,!o&&Ve.skeleton),"aria-label":"Linkedin",children:_.jsx(yN,{width:"20",height:"20"})}),_.jsx("a",{href:"https://www.instagram.com/michael.adam.allen/",target:"_blank",className:Y(Ve.icon,Ve.instagram,!o&&Ve.skeleton),"aria-label":"Instagram",children:_.jsx(pN,{width:"20",height:"20"})}),_.jsx("a",{href:"https://github.com/uplord/",target:"_blank",className:Y(Ve.icon,Ve.github,!o&&Ve.skeleton),"aria-label":"GitHub",children:_.jsx(uN,{width:"20",height:"20"})}),_.jsx("a",{href:"mailto:michael@uplord.co.uk",className:Y(Ve.icon,Ve.default,!o&&Ve.skeleton),"aria-label":"Email",children:_.jsx(lN,{width:"20",height:"20"})})]})};var za={exports:{}},Oa={exports:{}},Xv={},ML;function Vb(){return ML||(ML=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(r,s){for(var d in s)Object.defineProperty(r,d,{enumerable:!0,get:s[d]})}t(e,{assign:function(){return c},searchParamsToUrlQuery:function(){return a},urlQueryToSearchParams:function(){return i}});function a(r){const s={};for(const[d,l]of r.entries()){const h=s[d];typeof h>"u"?s[d]=l:Array.isArray(h)?h.push(l):s[d]=[h,l]}return s}function o(r){return typeof r=="string"?r:typeof r=="number"&&!isNaN(r)||typeof r=="boolean"?String(r):""}function i(r){const s=new URLSearchParams;for(const[d,l]of Object.entries(r))if(Array.isArray(l))for(const h of l)s.append(d,o(h));else s.set(d,o(l));return s}function c(r){for(var s=arguments.length,d=new Array(s>1?s-1:0),l=1;l<s;l++)d[l-1]=arguments[l];for(const h of d){for(const u of h.keys())r.delete(u);for(const[u,p]of h.entries())r.append(u,p)}return r}}(Xv)),Xv}var Kv={},_L;function zb(){return _L||(_L=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(d,l){for(var h in l)Object.defineProperty(d,h,{enumerable:!0,get:l[h]})}t(e,{formatUrl:function(){return c},formatWithValidation:function(){return s},urlObjectKeys:function(){return r}});const o=xv()._(Vb()),i=/https?|ftp|gopher|file/;function c(d){let{auth:l,hostname:h}=d,u=d.protocol||"",p=d.pathname||"",y=d.hash||"",C=d.query||"",g=!1;l=l?encodeURIComponent(l).replace(/%3A/i,":")+"@":"",d.host?g=l+d.host:h&&(g=l+(~h.indexOf(":")?"["+h+"]":h),d.port&&(g+=":"+d.port)),C&&typeof C=="object"&&(C=String(o.urlQueryToSearchParams(C)));let x=d.search||C&&"?"+C||"";return u&&!u.endsWith(":")&&(u+=":"),d.slashes||(!u||i.test(u))&&g!==!1?(g="//"+(g||""),p&&p[0]!=="/"&&(p="/"+p)):g||(g=""),y&&y[0]!=="#"&&(y="#"+y),x&&x[0]!=="?"&&(x="?"+x),p=p.replace(/[?#]/g,encodeURIComponent),x=x.replace("#","%23"),""+u+g+p+x+y}const r=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function s(d){return process.env.NODE_ENV==="development"&&d!==null&&typeof d=="object"&&Object.keys(d).forEach(l=>{r.includes(l)||console.warn("Unknown key passed via urlObject into url.format: "+l)}),c(d)}}(Kv)),Kv}var Yv={},gL;function kN(){return gL||(gL=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"omit",{enumerable:!0,get:function(){return t}});function t(a,o){const i={};return Object.keys(a).forEach(c=>{o.includes(c)||(i[c]=a[c])}),i}}(Yv)),Yv}var Qv={},vL;function Lv(){return vL||(vL=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(w,M){for(var S in M)Object.defineProperty(w,S,{enumerable:!0,get:M[S]})}t(e,{DecodeError:function(){return C},MiddlewareNotFoundError:function(){return N},MissingStaticPage:function(){return m},NormalizeError:function(){return g},PageNotFoundError:function(){return x},SP:function(){return p},ST:function(){return y},WEB_VITALS:function(){return a},execOnce:function(){return o},getDisplayName:function(){return d},getLocationOrigin:function(){return r},getURL:function(){return s},isAbsoluteUrl:function(){return c},isResSent:function(){return l},loadGetInitialProps:function(){return u},normalizeRepeatedSlashes:function(){return h},stringifyError:function(){return f}});const a=["CLS","FCP","FID","INP","LCP","TTFB"];function o(w){let M=!1,S;return function(){for(var A=arguments.length,P=new Array(A),H=0;H<A;H++)P[H]=arguments[H];return M||(M=!0,S=w(...P)),S}}const i=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,c=w=>i.test(w);function r(){const{protocol:w,hostname:M,port:S}=window.location;return w+"//"+M+(S?":"+S:"")}function s(){const{href:w}=window.location,M=r();return w.substring(M.length)}function d(w){return typeof w=="string"?w:w.displayName||w.name||"Unknown"}function l(w){return w.finished||w.headersSent}function h(w){const M=w.split("?");return M[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(M[1]?"?"+M.slice(1).join("?"):"")}async function u(w,M){if(process.env.NODE_ENV!=="production"){var S;if((S=w.prototype)!=null&&S.getInitialProps){const H='"'+d(w)+'.getInitialProps()" is defined as an instance method - visit https://nextjs.org/docs/messages/get-initial-props-as-an-instance-method for more information.';throw Object.defineProperty(new Error(H),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0})}}const A=M.res||M.ctx&&M.ctx.res;if(!w.getInitialProps)return M.ctx&&M.Component?{pageProps:await u(M.Component,M.ctx)}:{};const P=await w.getInitialProps(M);if(A&&l(A))return P;if(!P){const H='"'+d(w)+'.getInitialProps()" should resolve to an object. But found "'+P+'" instead.';throw Object.defineProperty(new Error(H),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0})}return process.env.NODE_ENV!=="production"&&Object.keys(P).length===0&&!M.ctx&&console.warn(""+d(w)+" returned an empty object from `getInitialProps`. This de-optimizes and prevents automatic static optimization. https://nextjs.org/docs/messages/empty-object-getInitialProps"),P}const p=typeof performance<"u",y=p&&["mark","measure","getEntriesByName"].every(w=>typeof performance[w]=="function");class C extends Error{}class g extends Error{}class x extends Error{constructor(M){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+M}}class m extends Error{constructor(M,S){super(),this.message="Failed to load static file for page: "+M+" "+S}}class N extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function f(w){return JSON.stringify({message:w.message,stack:w.stack})}}(Qv)),Qv}var Da={exports:{}},Jv={},CL;function Ob(){return CL||(CL=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"removeTrailingSlash",{enumerable:!0,get:function(){return t}});function t(a){return a.replace(/\/$/,"")||"/"}}(Jv)),Jv}var eC={},xL;function lx(){return xL||(xL=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"parsePath",{enumerable:!0,get:function(){return t}});function t(a){const o=a.indexOf("#"),i=a.indexOf("?"),c=i>-1&&(o<0||i<o);return c||o>-1?{pathname:a.substring(0,c?i:o),query:c?a.substring(i,o>-1?o:void 0):"",hash:o>-1?a.slice(o):""}:{pathname:a,query:"",hash:""}}}(eC)),eC}var LL;function wv(){return LL||(LL=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizePathTrailingSlash",{enumerable:!0,get:function(){return i}});const a=Ob(),o=lx(),i=c=>{if(!c.startsWith("/")||process.env.__NEXT_MANUAL_TRAILING_SLASH)return c;const{pathname:r,query:s,hash:d}=(0,o.parsePath)(c);return process.env.__NEXT_TRAILING_SLASH?/\.[^/]+\/?$/.test(r)?""+(0,a.removeTrailingSlash)(r)+s+d:r.endsWith("/")?""+r+s+d:r+"/"+s+d:""+(0,a.removeTrailingSlash)(r)+s+d};(typeof t.default=="function"||typeof t.default=="object"&&t.default!==null)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(Da,Da.exports)),Da.exports}var tC={},Fa={exports:{}},nC={},wL;function Db(){return wL||(wL=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"pathHasPrefix",{enumerable:!0,get:function(){return a}});const t=lx();function a(o,i){if(typeof o!="string")return!1;const{pathname:c}=(0,t.parsePath)(o);return c===i||c.startsWith(i+"/")}}(nC)),nC}var bL;function fN(){return bL||(bL=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"hasBasePath",{enumerable:!0,get:function(){return i}});const a=Db(),o=process.env.__NEXT_ROUTER_BASEPATH||"";function i(c){return(0,a.pathHasPrefix)(c,o)}(typeof t.default=="function"||typeof t.default=="object"&&t.default!==null)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(Fa,Fa.exports)),Fa.exports}var SL;function Fb(){return SL||(SL=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"isLocalURL",{enumerable:!0,get:function(){return o}});const t=Lv(),a=fN();function o(i){if(!(0,t.isAbsoluteUrl)(i))return!0;try{const c=(0,t.getLocationOrigin)(),r=new URL(i,c);return r.origin===c&&(0,a.hasBasePath)(r.pathname)}catch{return!1}}}(tC)),tC}var aC={},oC={},IL;function mN(){return IL||(IL=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(c,r){for(var s in r)Object.defineProperty(c,s,{enumerable:!0,get:r[s]})}t(e,{getSortedRouteObjects:function(){return i},getSortedRoutes:function(){return o}});class a{insert(r){this._insert(r.split("/").filter(Boolean),[],!1)}smoosh(){return this._smoosh()}_smoosh(r){r===void 0&&(r="/");const s=[...this.children.keys()].sort();this.slugName!==null&&s.splice(s.indexOf("[]"),1),this.restSlugName!==null&&s.splice(s.indexOf("[...]"),1),this.optionalRestSlugName!==null&&s.splice(s.indexOf("[[...]]"),1);const d=s.map(l=>this.children.get(l)._smoosh(""+r+l+"/")).reduce((l,h)=>[...l,...h],[]);if(this.slugName!==null&&d.push(...this.children.get("[]")._smoosh(r+"["+this.slugName+"]/")),!this.placeholder){const l=r==="/"?"/":r.slice(0,-1);if(this.optionalRestSlugName!=null)throw Object.defineProperty(new Error('You cannot define a route with the same specificity as a optional catch-all route ("'+l+'" and "'+l+"[[..."+this.optionalRestSlugName+']]").'),"__NEXT_ERROR_CODE",{value:"E458",enumerable:!1,configurable:!0});d.unshift(l)}return this.restSlugName!==null&&d.push(...this.children.get("[...]")._smoosh(r+"[..."+this.restSlugName+"]/")),this.optionalRestSlugName!==null&&d.push(...this.children.get("[[...]]")._smoosh(r+"[[..."+this.optionalRestSlugName+"]]/")),d}_insert(r,s,d){if(r.length===0){this.placeholder=!1;return}if(d)throw Object.defineProperty(new Error("Catch-all must be the last part of the URL."),"__NEXT_ERROR_CODE",{value:"E392",enumerable:!1,configurable:!0});let l=r[0];if(l.startsWith("[")&&l.endsWith("]")){let p=function(y,C){if(y!==null&&y!==C)throw Object.defineProperty(new Error("You cannot use different slug names for the same dynamic path ('"+y+"' !== '"+C+"')."),"__NEXT_ERROR_CODE",{value:"E337",enumerable:!1,configurable:!0});s.forEach(g=>{if(g===C)throw Object.defineProperty(new Error('You cannot have the same slug name "'+C+'" repeat within a single dynamic path'),"__NEXT_ERROR_CODE",{value:"E247",enumerable:!1,configurable:!0});if(g.replace(/\W/g,"")===l.replace(/\W/g,""))throw Object.defineProperty(new Error('You cannot have the slug names "'+g+'" and "'+C+'" differ only by non-word symbols within a single dynamic path'),"__NEXT_ERROR_CODE",{value:"E499",enumerable:!1,configurable:!0})}),s.push(C)},h=l.slice(1,-1),u=!1;if(h.startsWith("[")&&h.endsWith("]")&&(h=h.slice(1,-1),u=!0),h.startsWith("…"))throw Object.defineProperty(new Error("Detected a three-dot character ('…') at ('"+h+"'). Did you mean ('...')?"),"__NEXT_ERROR_CODE",{value:"E147",enumerable:!1,configurable:!0});if(h.startsWith("...")&&(h=h.substring(3),d=!0),h.startsWith("[")||h.endsWith("]"))throw Object.defineProperty(new Error("Segment names may not start or end with extra brackets ('"+h+"')."),"__NEXT_ERROR_CODE",{value:"E421",enumerable:!1,configurable:!0});if(h.startsWith("."))throw Object.defineProperty(new Error("Segment names may not start with erroneous periods ('"+h+"')."),"__NEXT_ERROR_CODE",{value:"E288",enumerable:!1,configurable:!0});if(d)if(u){if(this.restSlugName!=null)throw Object.defineProperty(new Error('You cannot use both an required and optional catch-all route at the same level ("[...'+this.restSlugName+']" and "'+r[0]+'" ).'),"__NEXT_ERROR_CODE",{value:"E299",enumerable:!1,configurable:!0});p(this.optionalRestSlugName,h),this.optionalRestSlugName=h,l="[[...]]"}else{if(this.optionalRestSlugName!=null)throw Object.defineProperty(new Error('You cannot use both an optional and required catch-all route at the same level ("[[...'+this.optionalRestSlugName+']]" and "'+r[0]+'").'),"__NEXT_ERROR_CODE",{value:"E300",enumerable:!1,configurable:!0});p(this.restSlugName,h),this.restSlugName=h,l="[...]"}else{if(u)throw Object.defineProperty(new Error('Optional route parameters are not yet supported ("'+r[0]+'").'),"__NEXT_ERROR_CODE",{value:"E435",enumerable:!1,configurable:!0});p(this.slugName,h),this.slugName=h,l="[]"}}this.children.has(l)||this.children.set(l,new a),this.children.get(l)._insert(r.slice(1),s,d)}constructor(){this.placeholder=!0,this.children=new Map,this.slugName=null,this.restSlugName=null,this.optionalRestSlugName=null}}function o(c){const r=new a;return c.forEach(s=>r.insert(s)),r.smoosh()}function i(c,r){const s={},d=[];for(let h=0;h<c.length;h++){const u=r(c[h]);s[u]=h,d[h]=u}return o(d).map(h=>c[s[h]])}}(oC)),oC}var iC={},cC={},rC={},sC={},NL;function MN(){return NL||(NL=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ensureLeadingSlash",{enumerable:!0,get:function(){return t}});function t(a){return a.startsWith("/")?a:"/"+a}}(sC)),sC}var dC={},AL;function _N(){return AL||(AL=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(s,d){for(var l in d)Object.defineProperty(s,l,{enumerable:!0,get:d[l]})}t(e,{DEFAULT_SEGMENT_KEY:function(){return r},PAGE_SEGMENT_KEY:function(){return c},addSearchParamsIfPageSegment:function(){return i},isGroupSegment:function(){return a},isParallelRouteSegment:function(){return o}});function a(s){return s[0]==="("&&s.endsWith(")")}function o(s){return s.startsWith("@")&&s!=="@children"}function i(s,d){if(s.includes(c)){const h=JSON.stringify(d);return h!=="{}"?c+"?"+h:c}return s}const c="__PAGE__",r="__DEFAULT__"}(dC)),dC}var PL;function gN(){return PL||(PL=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(r,s){for(var d in s)Object.defineProperty(r,d,{enumerable:!0,get:s[d]})}t(e,{normalizeAppPath:function(){return i},normalizeRscURL:function(){return c}});const a=MN(),o=_N();function i(r){return(0,a.ensureLeadingSlash)(r.split("/").reduce((s,d,l,h)=>!d||(0,o.isGroupSegment)(d)||d[0]==="@"||(d==="page"||d==="route")&&l===h.length-1?s:s+"/"+d,""))}function c(r){return r.replace(/\.rsc($|\?)/,"$1")}}(rC)),rC}var EL;function Bb(){return EL||(EL=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(r,s){for(var d in s)Object.defineProperty(r,d,{enumerable:!0,get:s[d]})}t(e,{INTERCEPTION_ROUTE_MARKERS:function(){return o},extractInterceptionRouteInformation:function(){return c},isInterceptionRouteAppPath:function(){return i}});const a=gN(),o=["(..)(..)","(.)","(..)","(...)"];function i(r){return r.split("/").find(s=>o.find(d=>s.startsWith(d)))!==void 0}function c(r){let s,d,l;for(const h of r.split("/"))if(d=o.find(u=>h.startsWith(u)),d){[s,l]=r.split(d,2);break}if(!s||!d||!l)throw Object.defineProperty(new Error("Invalid interception route: "+r+". Must be in the format /<intercepting route>/(..|...|..)(..)/<intercepted route>"),"__NEXT_ERROR_CODE",{value:"E269",enumerable:!1,configurable:!0});switch(s=(0,a.normalizeAppPath)(s),d){case"(.)":s==="/"?l="/"+l:l=s+"/"+l;break;case"(..)":if(s==="/")throw Object.defineProperty(new Error("Invalid interception route: "+r+". Cannot use (..) marker at the root level, use (.) instead."),"__NEXT_ERROR_CODE",{value:"E207",enumerable:!1,configurable:!0});l=s.split("/").slice(0,-1).concat(l).join("/");break;case"(...)":l="/"+l;break;case"(..)(..)":const h=s.split("/");if(h.length<=2)throw Object.defineProperty(new Error("Invalid interception route: "+r+". Cannot use (..)(..) marker at the root level or one level up."),"__NEXT_ERROR_CODE",{value:"E486",enumerable:!1,configurable:!0});l=h.slice(0,-2).concat(l).join("/");break;default:throw Object.defineProperty(new Error("Invariant: unexpected marker"),"__NEXT_ERROR_CODE",{value:"E112",enumerable:!1,configurable:!0})}return{interceptingRoute:s,interceptedRoute:l}}}(cC)),cC}var RL;function vN(){return RL||(RL=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"isDynamicRoute",{enumerable:!0,get:function(){return i}});const t=Bb(),a=/\/[^/]*\[[^/]+\][^/]*(?=\/|$)/,o=/\/\[[^/]+\](?=\/|$)/;function i(c,r){return r===void 0&&(r=!0),(0,t.isInterceptionRouteAppPath)(c)&&(c=(0,t.extractInterceptionRouteInformation)(c).interceptedRoute),r?o.test(c):a.test(c)}}(iC)),iC}var $L;function CN(){return $L||($L=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(i,c){for(var r in c)Object.defineProperty(i,r,{enumerable:!0,get:c[r]})}t(e,{getSortedRouteObjects:function(){return a.getSortedRouteObjects},getSortedRoutes:function(){return a.getSortedRoutes},isDynamicRoute:function(){return o.isDynamicRoute}});const a=mN(),o=vN()}(aC)),aC}var hC={},lC={},qL;function xN(){return qL||(qL=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getRouteMatcher",{enumerable:!0,get:function(){return a}});const t=Lv();function a(o){let{re:i,groups:c}=o;return r=>{const s=i.exec(r);if(!s)return!1;const d=h=>{try{return decodeURIComponent(h)}catch{throw Object.defineProperty(new t.DecodeError("failed to decode param"),"__NEXT_ERROR_CODE",{value:"E528",enumerable:!1,configurable:!0})}},l={};for(const[h,u]of Object.entries(c)){const p=s[u.pos];p!==void 0&&(u.repeat?l[h]=p.split("/").map(y=>d(y)):l[h]=d(p))}return l}}}(lC)),lC}var uC={},pC={},TL;function LN(){return TL||(TL=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(_e,Pe){for(var ge in Pe)Object.defineProperty(_e,ge,{enumerable:!0,get:Pe[ge]})}t(e,{ACTION_SUFFIX:function(){return u},APP_DIR_ALIAS:function(){return te},CACHE_ONE_YEAR:function(){return A},DOT_NEXT_ALIAS:function(){return ae},ESLINT_DEFAULT_DIRS:function(){return J},GSP_NO_RETURNED_VALUE:function(){return Z},GSSP_COMPONENT_MEMBER_ERROR:function(){return I},GSSP_NO_RETURNED_VALUE:function(){return z},INFINITE_CACHE:function(){return P},INSTRUMENTATION_HOOK_FILENAME:function(){return T},MATCHED_PATH_HEADER:function(){return i},MIDDLEWARE_FILENAME:function(){return H},MIDDLEWARE_LOCATION_REGEXP:function(){return E},NEXT_BODY_SUFFIX:function(){return C},NEXT_CACHE_IMPLICIT_TAG_ID:function(){return S},NEXT_CACHE_REVALIDATED_TAGS_HEADER:function(){return x},NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER:function(){return m},NEXT_CACHE_SOFT_TAG_MAX_LENGTH:function(){return M},NEXT_CACHE_TAGS_HEADER:function(){return g},NEXT_CACHE_TAG_MAX_ITEMS:function(){return f},NEXT_CACHE_TAG_MAX_LENGTH:function(){return w},NEXT_DATA_SUFFIX:function(){return p},NEXT_INTERCEPTION_MARKER_PREFIX:function(){return o},NEXT_META_SUFFIX:function(){return y},NEXT_QUERY_PARAM_PREFIX:function(){return a},NEXT_RESUME_HEADER:function(){return N},NON_STANDARD_NODE_ENV:function(){return L},PAGES_DIR_ALIAS:function(){return O},PRERENDER_REVALIDATE_HEADER:function(){return c},PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER:function(){return r},PUBLIC_DIR_MIDDLEWARE_CONFLICT:function(){return j},ROOT_DIR_ALIAS:function(){return U},RSC_ACTION_CLIENT_WRAPPER_ALIAS:function(){return R},RSC_ACTION_ENCRYPTION_ALIAS:function(){return v},RSC_ACTION_PROXY_ALIAS:function(){return oe},RSC_ACTION_VALIDATE_ALIAS:function(){return ce},RSC_CACHE_WRAPPER_ALIAS:function(){return W},RSC_MOD_REF_PROXY_ALIAS:function(){return Q},RSC_PREFETCH_SUFFIX:function(){return s},RSC_SEGMENTS_DIR_SUFFIX:function(){return d},RSC_SEGMENT_SUFFIX:function(){return l},RSC_SUFFIX:function(){return h},SERVER_PROPS_EXPORT_ERROR:function(){return b},SERVER_PROPS_GET_INIT_PROPS_CONFLICT:function(){return V},SERVER_PROPS_SSG_CONFLICT:function(){return ee},SERVER_RUNTIME:function(){return X},SSG_FALLBACK_EXPORT_ERROR:function(){return me},SSG_GET_INITIAL_PROPS_CONFLICT:function(){return F},STATIC_STATUS_PAGE_GET_INITIAL_PROPS_ERROR:function(){return G},UNSTABLE_REVALIDATE_RENAME_ERROR:function(){return K},WEBPACK_LAYERS:function(){return Ne},WEBPACK_RESOURCE_QUERIES:function(){return Ce}});const a="nxtP",o="nxtI",i="x-matched-path",c="x-prerender-revalidate",r="x-prerender-revalidate-if-generated",s=".prefetch.rsc",d=".segments",l=".segment.rsc",h=".rsc",u=".action",p=".json",y=".meta",C=".body",g="x-next-cache-tags",x="x-next-revalidated-tags",m="x-next-revalidate-tag-token",N="next-resume",f=128,w=256,M=1024,S="_N_T_",A=31536e3,P=4294967294,H="middleware",E=`(?:src/)?${H}`,T="instrumentation",O="private-next-pages",ae="private-dot-next",U="private-next-root-dir",te="private-next-app-dir",Q="private-next-rsc-mod-ref-proxy",ce="private-next-rsc-action-validate",oe="private-next-rsc-server-reference",W="private-next-rsc-cache-wrapper",v="private-next-rsc-action-encryption",R="private-next-rsc-action-client-wrapper",j="You can not have a '_next' folder inside of your public folder. This conflicts with the internal '/_next' route. https://nextjs.org/docs/messages/public-next-folder-conflict",F="You can not use getInitialProps with getStaticProps. To use SSG, please remove your getInitialProps",V="You can not use getInitialProps with getServerSideProps. Please remove getInitialProps.",ee="You can not use getStaticProps or getStaticPaths with getServerSideProps. To use SSG, please remove getServerSideProps",G="can not have getInitialProps/getServerSideProps, https://nextjs.org/docs/messages/404-get-initial-props",b="pages with `getServerSideProps` can not be exported. See more info here: https://nextjs.org/docs/messages/gssp-export",Z="Your `getStaticProps` function did not return an object. Did you forget to add a `return`?",z="Your `getServerSideProps` function did not return an object. Did you forget to add a `return`?",K="The `unstable_revalidate` property is available for general use.\nPlease use `revalidate` instead.",I="can not be attached to a page's component and must be exported from the page. See more info here: https://nextjs.org/docs/messages/gssp-component-member",L='You are using a non-standard "NODE_ENV" value in your environment. This creates inconsistencies in the project and is strongly advised against. Read more: https://nextjs.org/docs/messages/non-standard-node-env',me="Pages with `fallback` enabled in `getStaticPaths` can not be exported. See more info here: https://nextjs.org/docs/messages/ssg-fallback-true-export",J=["app","pages","components","lib","src"],X={edge:"edge",experimentalEdge:"experimental-edge",nodejs:"nodejs"},se={shared:"shared",reactServerComponents:"rsc",serverSideRendering:"ssr",actionBrowser:"action-browser",apiNode:"api-node",apiEdge:"api-edge",middleware:"middleware",instrument:"instrument",edgeAsset:"edge-asset",appPagesBrowser:"app-pages-browser",pagesDirBrowser:"pages-dir-browser",pagesDirEdge:"pages-dir-edge",pagesDirNode:"pages-dir-node"},Ne={...se,GROUP:{builtinReact:[se.reactServerComponents,se.actionBrowser],serverOnly:[se.reactServerComponents,se.actionBrowser,se.instrument,se.middleware],neutralTarget:[se.apiNode,se.apiEdge],clientOnly:[se.serverSideRendering,se.appPagesBrowser],bundled:[se.reactServerComponents,se.actionBrowser,se.serverSideRendering,se.appPagesBrowser,se.shared,se.instrument,se.middleware],appPages:[se.reactServerComponents,se.serverSideRendering,se.appPagesBrowser,se.actionBrowser]}},Ce={edgeSSREntry:"__next_edge_ssr_entry__",metadata:"__next_metadata__",metadataRoute:"__next_metadata_route__",metadataImageMeta:"__next_metadata_image_meta__"}}(pC)),pC}var yC={},jL;function wN(){return jL||(jL=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"escapeStringRegexp",{enumerable:!0,get:function(){return o}});const t=/[|\\{}()[\]^$+*?.-]/,a=/[|\\{}()[\]^$+*?.-]/g;function o(i){return t.test(i)?i.replace(a,"\\$&"):i}}(yC)),yC}var HL;function bN(){return HL||(HL=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(x,m){for(var N in m)Object.defineProperty(x,N,{enumerable:!0,get:m[N]})}t(e,{getNamedMiddlewareRegex:function(){return g},getNamedRouteRegex:function(){return C},getRouteRegex:function(){return h},parseParameter:function(){return s}});const a=LN(),o=Bb(),i=wN(),c=Ob(),r=/^([^[]*)\[((?:\[[^\]]*\])|[^\]]+)\](.*)$/;function s(x){const m=x.match(r);return d(m?m[2]:x)}function d(x){const m=x.startsWith("[")&&x.endsWith("]");m&&(x=x.slice(1,-1));const N=x.startsWith("...");return N&&(x=x.slice(3)),{key:x,repeat:N,optional:m}}function l(x,m,N){const f={};let w=1;const M=[];for(const S of(0,c.removeTrailingSlash)(x).slice(1).split("/")){const A=o.INTERCEPTION_ROUTE_MARKERS.find(H=>S.startsWith(H)),P=S.match(r);if(A&&P&&P[2]){const{key:H,optional:E,repeat:T}=d(P[2]);f[H]={pos:w++,repeat:T,optional:E},M.push("/"+(0,i.escapeStringRegexp)(A)+"([^/]+?)")}else if(P&&P[2]){const{key:H,repeat:E,optional:T}=d(P[2]);f[H]={pos:w++,repeat:E,optional:T},N&&P[1]&&M.push("/"+(0,i.escapeStringRegexp)(P[1]));let O=E?T?"(?:/(.+?))?":"/(.+?)":"/([^/]+?)";N&&P[1]&&(O=O.substring(1)),M.push(O)}else M.push("/"+(0,i.escapeStringRegexp)(S));m&&P&&P[3]&&M.push((0,i.escapeStringRegexp)(P[3]))}return{parameterizedRoute:M.join(""),groups:f}}function h(x,m){let{includeSuffix:N=!1,includePrefix:f=!1,excludeOptionalTrailingSlash:w=!1}=m===void 0?{}:m;const{parameterizedRoute:M,groups:S}=l(x,N,f);let A=M;return w||(A+="(?:/)?"),{re:new RegExp("^"+A+"$"),groups:S}}function u(){let x=0;return()=>{let m="",N=++x;for(;N>0;)m+=String.fromCharCode(97+(N-1)%26),N=Math.floor((N-1)/26);return m}}function p(x){let{interceptionMarker:m,getSafeRouteKey:N,segment:f,routeKeys:w,keyPrefix:M,backreferenceDuplicateKeys:S}=x;const{key:A,optional:P,repeat:H}=d(f);let E=A.replace(/\W/g,"");M&&(E=""+M+E);let T=!1;(E.length===0||E.length>30)&&(T=!0),isNaN(parseInt(E.slice(0,1)))||(T=!0),T&&(E=N());const O=E in w;M?w[E]=""+M+A:w[E]=A;const ae=m?(0,i.escapeStringRegexp)(m):"";let U;return O&&S?U="\\k<"+E+">":H?U="(?<"+E+">.+?)":U="(?<"+E+">[^/]+?)",P?"(?:/"+ae+U+")?":"/"+ae+U}function y(x,m,N,f,w){const M=u(),S={},A=[];for(const P of(0,c.removeTrailingSlash)(x).slice(1).split("/")){const H=o.INTERCEPTION_ROUTE_MARKERS.some(T=>P.startsWith(T)),E=P.match(r);if(H&&E&&E[2])A.push(p({getSafeRouteKey:M,interceptionMarker:E[1],segment:E[2],routeKeys:S,keyPrefix:m?a.NEXT_INTERCEPTION_MARKER_PREFIX:void 0,backreferenceDuplicateKeys:w}));else if(E&&E[2]){f&&E[1]&&A.push("/"+(0,i.escapeStringRegexp)(E[1]));let T=p({getSafeRouteKey:M,segment:E[2],routeKeys:S,keyPrefix:m?a.NEXT_QUERY_PARAM_PREFIX:void 0,backreferenceDuplicateKeys:w});f&&E[1]&&(T=T.substring(1)),A.push(T)}else A.push("/"+(0,i.escapeStringRegexp)(P));N&&E&&E[3]&&A.push((0,i.escapeStringRegexp)(E[3]))}return{namedParameterizedRoute:A.join(""),routeKeys:S}}function C(x,m){var N,f,w;const M=y(x,m.prefixRouteKeys,(N=m.includeSuffix)!=null?N:!1,(f=m.includePrefix)!=null?f:!1,(w=m.backreferenceDuplicateKeys)!=null?w:!1);let S=M.namedParameterizedRoute;return m.excludeOptionalTrailingSlash||(S+="(?:/)?"),{...h(x,m),namedRegex:"^"+S+"$",routeKeys:M.routeKeys}}function g(x,m){const{parameterizedRoute:N}=l(x,!1,!1),{catchAll:f=!0}=m;if(N==="/")return{namedRegex:"^/"+(f?".*":"")+"$"};const{namedParameterizedRoute:w}=y(x,!1,!1,!1,!1);let M=f?"(?:(/.*)?)":"";return{namedRegex:"^"+w+M+"$"}}}(uC)),uC}var VL;function SN(){return VL||(VL=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"interpolateAs",{enumerable:!0,get:function(){return o}});const t=xN(),a=bN();function o(i,c,r){let s="";const d=(0,a.getRouteRegex)(i),l=d.groups,h=(c!==i?(0,t.getRouteMatcher)(d)(c):"")||r;s=i;const u=Object.keys(l);return u.every(p=>{let y=h[p]||"";const{repeat:C,optional:g}=l[p];let x="["+(C?"...":"")+p+"]";return g&&(x=(y?"":"/")+"["+x+"]"),C&&!Array.isArray(y)&&(y=[y]),(g||p in h)&&(s=s.replace(x,C?y.map(m=>encodeURIComponent(m)).join("/"):encodeURIComponent(y))||"/")})||(s=""),{params:u,result:s}}}(hC)),hC}var zL;function IN(){return zL||(zL=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"resolveHref",{enumerable:!0,get:function(){return h}});const a=Vb(),o=zb(),i=kN(),c=Lv(),r=wv(),s=Fb(),d=CN(),l=SN();function h(u,p,y){let C,g=typeof p=="string"?p:(0,o.formatWithValidation)(p);const x=g.match(/^[a-zA-Z]{1,}:\/\//),m=x?g.slice(x[0].length):g;if((m.split("?",1)[0]||"").match(/(\/\/|\\)/)){console.error("Invalid href '"+g+"' passed to next/router in page: '"+u.pathname+"'. Repeated forward-slashes (//) or backslashes \\ are not valid in the href.");const f=(0,c.normalizeRepeatedSlashes)(m);g=(x?x[0]:"")+f}if(!(0,s.isLocalURL)(g))return y?[g]:g;try{C=new URL(g.startsWith("#")?u.asPath:u.pathname,"http://n")}catch{C=new URL("/","http://n")}try{const f=new URL(g,C);f.pathname=(0,r.normalizePathTrailingSlash)(f.pathname);let w="";if((0,d.isDynamicRoute)(f.pathname)&&f.searchParams&&y){const S=(0,a.searchParamsToUrlQuery)(f.searchParams),{result:A,params:P}=(0,l.interpolateAs)(f.pathname,f.pathname,S);A&&(w=(0,o.formatWithValidation)({pathname:A,hash:f.hash,query:(0,i.omit)(S,P)}))}const M=f.origin===C.origin?f.href.slice(f.origin.length):f.href;return y?[M,w||M]:M}catch{return y?[g]:g}}(typeof t.default=="function"||typeof t.default=="object"&&t.default!==null)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(Oa,Oa.exports)),Oa.exports}var Ba={exports:{}},kC={},fC={},OL;function Ub(){return OL||(OL=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"addPathPrefix",{enumerable:!0,get:function(){return a}});const t=lx();function a(o,i){if(!o.startsWith("/")||!i)return o;const{pathname:c,query:r,hash:s}=(0,t.parsePath)(o);return""+i+c+r+s}}(fC)),fC}var DL;function NN(){return DL||(DL=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"addLocale",{enumerable:!0,get:function(){return o}});const t=Ub(),a=Db();function o(i,c,r,s){if(!c||c===r)return i;const d=i.toLowerCase();return!s&&((0,a.pathHasPrefix)(d,"/api")||(0,a.pathHasPrefix)(d,"/"+c.toLowerCase()))?i:(0,t.addPathPrefix)(i,"/"+c)}}(kC)),kC}var FL;function AN(){return FL||(FL=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return o}});const a=wv(),o=function(i){for(var c=arguments.length,r=new Array(c>1?c-1:0),s=1;s<c;s++)r[s-1]=arguments[s];return process.env.__NEXT_I18N_SUPPORT?(0,a.normalizePathTrailingSlash)(NN().addLocale(i,...r)):i};(typeof t.default=="function"||typeof t.default=="object"&&t.default!==null)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(Ba,Ba.exports)),Ba.exports}var Ua={exports:{}},Za={exports:{}},BL;function PN(){return BL||(BL=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0});function a(c,r){for(var s in r)Object.defineProperty(c,s,{enumerable:!0,get:r[s]})}a(t,{cancelIdleCallback:function(){return i},requestIdleCallback:function(){return o}});const o=typeof self<"u"&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(c){let r=Date.now();return self.setTimeout(function(){c({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-r))}})},1)},i=typeof self<"u"&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(c){return clearTimeout(c)};(typeof t.default=="function"||typeof t.default=="object"&&t.default!==null)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(Za,Za.exports)),Za.exports}var UL;function EN(){return UL||(UL=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return l}});const a=q,o=PN(),i=typeof IntersectionObserver=="function",c=new Map,r=[];function s(h){const u={root:h.root||null,margin:h.rootMargin||""},p=r.find(x=>x.root===u.root&&x.margin===u.margin);let y;if(p&&(y=c.get(p),y))return y;const C=new Map,g=new IntersectionObserver(x=>{x.forEach(m=>{const N=C.get(m.target),f=m.isIntersecting||m.intersectionRatio>0;N&&f&&N(f)})},h);return y={id:u,observer:g,elements:C},r.push(u),c.set(u,y),y}function d(h,u,p){const{id:y,observer:C,elements:g}=s(p);return g.set(h,u),C.observe(h),function(){if(g.delete(h),C.unobserve(h),g.size===0){C.disconnect(),c.delete(y);const m=r.findIndex(N=>N.root===y.root&&N.margin===y.margin);m>-1&&r.splice(m,1)}}}function l(h){let{rootRef:u,rootMargin:p,disabled:y}=h;const C=y||!i,[g,x]=(0,a.useState)(!1),m=(0,a.useRef)(null),N=(0,a.useCallback)(w=>{m.current=w},[]);(0,a.useEffect)(()=>{if(i){if(C||g)return;const w=m.current;if(w&&w.tagName)return d(w,S=>S&&x(S),{root:u==null?void 0:u.current,rootMargin:p})}else if(!g){const w=(0,o.requestIdleCallback)(()=>x(!0));return()=>(0,o.cancelIdleCallback)(w)}},[C,p,u,g,m.current]);const f=(0,a.useCallback)(()=>{x(!1)},[]);return[N,g,f]}(typeof t.default=="function"||typeof t.default=="object"&&t.default!==null)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(Ua,Ua.exports)),Ua.exports}var Ga={exports:{}},Wa={exports:{}},mC={},ZL;function RN(){return ZL||(ZL=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"normalizeLocalePath",{enumerable:!0,get:function(){return a}});const t=new WeakMap;function a(o,i){if(!i)return{pathname:o};let c=t.get(i);c||(c=i.map(h=>h.toLowerCase()),t.set(i,c));let r;const s=o.split("/",2);if(!s[1])return{pathname:o};const d=s[1].toLowerCase(),l=c.indexOf(d);return l<0?{pathname:o}:(r=i[l],o=o.slice(r.length+1)||"/",{pathname:o,detectedLocale:r})}}(mC)),mC}var GL;function $N(){return GL||(GL=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizeLocalePath",{enumerable:!0,get:function(){return a}});const a=(o,i)=>process.env.__NEXT_I18N_SUPPORT?RN().normalizeLocalePath(o,i):{pathname:o,detectedLocale:void 0};(typeof t.default=="function"||typeof t.default=="object"&&t.default!==null)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(Wa,Wa.exports)),Wa.exports}var Xa={exports:{}},MC={},WL;function qN(){return WL||(WL=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"detectDomainLocale",{enumerable:!0,get:function(){return t}});function t(a,o,i){if(a){i&&(i=i.toLowerCase());for(const s of a){var c,r;const d=(c=s.domain)==null?void 0:c.split(":",1)[0].toLowerCase();if(o===d||i===s.defaultLocale.toLowerCase()||(r=s.locales)!=null&&r.some(l=>l.toLowerCase()===i))return s}}}}(MC)),MC}var XL;function TN(){return XL||(XL=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"detectDomainLocale",{enumerable:!0,get:function(){return a}});const a=function(){for(var o=arguments.length,i=new Array(o),c=0;c<o;c++)i[c]=arguments[c];if(process.env.__NEXT_I18N_SUPPORT)return qN().detectDomainLocale(...i)};(typeof t.default=="function"||typeof t.default=="object"&&t.default!==null)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(Xa,Xa.exports)),Xa.exports}var KL;function jN(){return KL||(KL=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return i}});const a=wv(),o=process.env.__NEXT_ROUTER_BASEPATH||"";function i(c,r,s,d){if(process.env.__NEXT_I18N_SUPPORT){const l=$N().normalizeLocalePath,h=TN().detectDomainLocale,u=r||l(c,s).detectedLocale,p=h(d,void 0,u);if(p){const y="http"+(p.http?"":"s")+"://",C=u===p.defaultLocale?"":"/"+u;return""+y+p.domain+(0,a.normalizePathTrailingSlash)(""+o+C+c)}return!1}else return!1}(typeof t.default=="function"||typeof t.default=="object"&&t.default!==null)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(Ga,Ga.exports)),Ga.exports}var Ka={exports:{}},YL;function HN(){return YL||(YL=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addBasePath",{enumerable:!0,get:function(){return c}});const a=Ub(),o=wv(),i=process.env.__NEXT_ROUTER_BASEPATH||"";function c(r,s){return(0,o.normalizePathTrailingSlash)(process.env.__NEXT_MANUAL_CLIENT_BASE_PATH&&!s?r:(0,a.addPathPrefix)(r,i))}(typeof t.default=="function"||typeof t.default=="object"&&t.default!==null)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(Ka,Ka.exports)),Ka.exports}var _C={},QL;function VN(){return QL||(QL=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"errorOnce",{enumerable:!0,get:function(){return t}});let t=a=>{};if(process.env.NODE_ENV!=="production"){const a=new Set;t=o=>{a.has(o)||console.error(o),a.add(o)}}}(_C)),_C}var JL;function zN(){return JL||(JL=1,function(e,t){"use client";Object.defineProperty(t,"__esModule",{value:!0});function a(E,T){for(var O in T)Object.defineProperty(E,O,{enumerable:!0,get:T[O]})}a(t,{default:function(){return H},useLinkStatus:function(){return P}});const o=xv(),i=Cv(),c=o._(q),r=IN(),s=Fb(),d=zb(),l=Lv(),h=AN(),u=$b(),p=EN(),y=jN(),C=HN(),g=jb(),x=VN(),m=new Set;function N(E,T,O,ae){if(!(typeof window>"u")&&(0,s.isLocalURL)(T)){if(!ae.bypassPrefetchedCheck){const U=typeof ae.locale<"u"?ae.locale:"locale"in E?E.locale:void 0,te=T+"%"+O+"%"+U;if(m.has(te))return;m.add(te)}E.prefetch(T,O,ae).catch(U=>{if(process.env.NODE_ENV!=="production")throw U})}}function f(E){const O=E.currentTarget.getAttribute("target");return O&&O!=="_self"||E.metaKey||E.ctrlKey||E.shiftKey||E.altKey||E.nativeEvent&&E.nativeEvent.which===2}function w(E,T,O,ae,U,te,Q,ce,oe){const{nodeName:W}=E.currentTarget;if(W.toUpperCase()==="A"&&f(E)||E.currentTarget.hasAttribute("download"))return;if(!(0,s.isLocalURL)(O)){U&&(E.preventDefault(),location.replace(O));return}E.preventDefault(),(()=>{if(oe){let F=!1;if(oe({preventDefault:()=>{F=!0}}),F)return}const j=Q??!0;"beforePopState"in T?T[U?"replace":"push"](O,ae,{shallow:te,locale:ce,scroll:j}):T[U?"replace":"push"](ae||O,{scroll:j})})()}function M(E){return typeof E=="string"?E:(0,d.formatUrl)(E)}const S=c.default.forwardRef(function(T,O){let ae;const{href:U,as:te,children:Q,prefetch:ce=null,passHref:oe,replace:W,shallow:v,scroll:R,locale:j,onClick:F,onNavigate:V,onMouseEnter:ee,onTouchStart:G,legacyBehavior:b=!1,...Z}=T;ae=Q,b&&(typeof ae=="string"||typeof ae=="number")&&(ae=(0,i.jsx)("a",{children:ae}));const z=c.default.useContext(u.RouterContext),K=ce!==!1;if(process.env.NODE_ENV!=="production"){let he=function($){return Object.defineProperty(new Error("Failed prop type: The prop `"+$.key+"` expects a "+$.expected+" in `<Link>`, but got `"+$.actual+"` instead."+(typeof window<"u"?`
34
+ See more info here: https://nextjs.org/docs/messages/no-stylesheets-in-head-component`);return r.default.cloneElement(S,{key:P})})}function m(f){let{children:w}=f;const M=(0,r.useContext)(d.AmpStateContext),S=(0,r.useContext)(l.HeadManagerContext);return(0,c.jsx)(s.default,{reduceComponentsToState:x,headManager:S,inAmpMode:(0,h.isInAmpMode)(M),children:w})}const N=m;(typeof t.default=="function"||typeof t.default=="object"&&t.default!==null)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(Va,Va.exports)),Va.exports}var Dv={},sL;function FI(){return sL||(sL=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ImageConfigContext",{enumerable:!0,get:function(){return i}});const a=Jn()._(q),o=dx(),i=a.default.createContext(o.imageConfigDefault);process.env.NODE_ENV!=="production"&&(i.displayName="ImageConfigContext")}(Dv)),Dv}var Fv={},dL;function $b(){return dL||(dL=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"RouterContext",{enumerable:!0,get:function(){return o}});const o=Jn()._(q).default.createContext(null);process.env.NODE_ENV!=="production"&&(o.displayName="RouterContext")}(Fv)),Fv}var Bv={},Uv={},Zv={exports:{}},hL;function qb(){return hL||(hL=1,(()=>{var e={170:(i,c,r)=>{const s=r(510),d=()=>{if(typeof navigator<"u"&&navigator.platform){const h=navigator.platform.toLowerCase();return h==="win32"||h==="windows"}return typeof process<"u"&&process.platform?process.platform==="win32":!1};function l(h,u,p=!1){return u&&(u.windows===null||u.windows===void 0)&&(u={...u,windows:d()}),s(h,u,p)}Object.assign(l,s),i.exports=l},154:i=>{const c="\\\\/",r=`[^${c}]`,s="\\.",d="\\+",l="\\?",h="\\/",u="(?=.)",p="[^/]",y=`(?:${h}|$)`,C=`(?:^|${h})`,g=`${s}{1,2}${y}`,x=`(?!${s})`,m=`(?!${C}${g})`,N=`(?!${s}{0,1}${y})`,f=`(?!${g})`,w=`[^.${h}]`,M=`${p}*?`,A={DOT_LITERAL:s,PLUS_LITERAL:d,QMARK_LITERAL:l,SLASH_LITERAL:h,ONE_CHAR:u,QMARK:p,END_ANCHOR:y,DOTS_SLASH:g,NO_DOT:x,NO_DOTS:m,NO_DOT_SLASH:N,NO_DOTS_SLASH:f,QMARK_NO_DOT:w,STAR:M,START_ANCHOR:C,SEP:"/"},P={...A,SLASH_LITERAL:`[${c}]`,QMARK:r,STAR:`${r}*?`,DOTS_SLASH:`${s}{1,2}(?:[${c}]|$)`,NO_DOT:`(?!${s})`,NO_DOTS:`(?!(?:^|[${c}])${s}{1,2}(?:[${c}]|$))`,NO_DOT_SLASH:`(?!${s}{0,1}(?:[${c}]|$))`,NO_DOTS_SLASH:`(?!${s}{1,2}(?:[${c}]|$))`,QMARK_NO_DOT:`[^.${c}]`,START_ANCHOR:`(?:^|[${c}])`,END_ANCHOR:`(?:[${c}]|$)`,SEP:"\\"},H={alnum:"a-zA-Z0-9",alpha:"a-zA-Z",ascii:"\\x00-\\x7F",blank:" \\t",cntrl:"\\x00-\\x1F\\x7F",digit:"0-9",graph:"\\x21-\\x7E",lower:"a-z",print:"\\x20-\\x7E ",punct:"\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",space:" \\t\\r\\n\\v\\f",upper:"A-Z",word:"A-Za-z0-9_",xdigit:"A-Fa-f0-9"};i.exports={MAX_LENGTH:65536,POSIX_REGEX_SOURCE:H,REGEX_BACKSLASH:/\\(?![*+?^${}(|)[\]])/g,REGEX_NON_SPECIAL_CHARS:/^[^@![\].,$*+?^{}()|\\/]+/,REGEX_SPECIAL_CHARS:/[-*+?.^${}(|)[\]]/,REGEX_SPECIAL_CHARS_BACKREF:/(\\?)((\W)(\3*))/g,REGEX_SPECIAL_CHARS_GLOBAL:/([-*+?.^${}(|)[\]])/g,REGEX_REMOVE_BACKSLASH:/(?:\[.*?[^\\]\]|\\(?=.))/g,REPLACEMENTS:{"***":"*","**/**":"**","**/**/**":"**"},CHAR_0:48,CHAR_9:57,CHAR_UPPERCASE_A:65,CHAR_LOWERCASE_A:97,CHAR_UPPERCASE_Z:90,CHAR_LOWERCASE_Z:122,CHAR_LEFT_PARENTHESES:40,CHAR_RIGHT_PARENTHESES:41,CHAR_ASTERISK:42,CHAR_AMPERSAND:38,CHAR_AT:64,CHAR_BACKWARD_SLASH:92,CHAR_CARRIAGE_RETURN:13,CHAR_CIRCUMFLEX_ACCENT:94,CHAR_COLON:58,CHAR_COMMA:44,CHAR_DOT:46,CHAR_DOUBLE_QUOTE:34,CHAR_EQUAL:61,CHAR_EXCLAMATION_MARK:33,CHAR_FORM_FEED:12,CHAR_FORWARD_SLASH:47,CHAR_GRAVE_ACCENT:96,CHAR_HASH:35,CHAR_HYPHEN_MINUS:45,CHAR_LEFT_ANGLE_BRACKET:60,CHAR_LEFT_CURLY_BRACE:123,CHAR_LEFT_SQUARE_BRACKET:91,CHAR_LINE_FEED:10,CHAR_NO_BREAK_SPACE:160,CHAR_PERCENT:37,CHAR_PLUS:43,CHAR_QUESTION_MARK:63,CHAR_RIGHT_ANGLE_BRACKET:62,CHAR_RIGHT_CURLY_BRACE:125,CHAR_RIGHT_SQUARE_BRACKET:93,CHAR_SEMICOLON:59,CHAR_SINGLE_QUOTE:39,CHAR_SPACE:32,CHAR_TAB:9,CHAR_UNDERSCORE:95,CHAR_VERTICAL_LINE:124,CHAR_ZERO_WIDTH_NOBREAK_SPACE:65279,extglobChars(E){return{"!":{type:"negate",open:"(?:(?!(?:",close:`))${E.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}},globChars(E){return E===!0?P:A}}},697:(i,c,r)=>{const s=r(154),d=r(96),{MAX_LENGTH:l,POSIX_REGEX_SOURCE:h,REGEX_NON_SPECIAL_CHARS:u,REGEX_SPECIAL_CHARS_BACKREF:p,REPLACEMENTS:y}=s,C=(m,N)=>{if(typeof N.expandRange=="function")return N.expandRange(...m,N);m.sort();const f=`[${m.join("-")}]`;try{new RegExp(f)}catch{return m.map(M=>d.escapeRegex(M)).join("..")}return f},g=(m,N)=>`Missing ${m}: "${N}" - use "\\\\${N}" to match literal characters`,x=(m,N)=>{if(typeof m!="string")throw new TypeError("Expected a string");m=y[m]||m;const f={...N},w=typeof f.maxLength=="number"?Math.min(l,f.maxLength):l;let M=m.length;if(M>w)throw new SyntaxError(`Input length: ${M}, exceeds maximum allowed length: ${w}`);const S={type:"bos",value:"",output:f.prepend||""},A=[S],P=f.capture?"":"?:",H=s.globChars(f.windows),E=s.extglobChars(H),{DOT_LITERAL:T,PLUS_LITERAL:O,SLASH_LITERAL:ae,ONE_CHAR:U,DOTS_SLASH:te,NO_DOT:Q,NO_DOT_SLASH:ce,NO_DOTS_SLASH:oe,QMARK:W,QMARK_NO_DOT:v,STAR:R,START_ANCHOR:j}=H,F=B=>`(${P}(?:(?!${j}${B.dot?te:T}).)*?)`,V=f.dot?"":Q,ee=f.dot?W:v;let G=f.bash===!0?F(f):R;f.capture&&(G=`(${G})`),typeof f.noext=="boolean"&&(f.noextglob=f.noext);const b={input:m,index:-1,start:0,dot:f.dot===!0,consumed:"",output:"",prefix:"",backtrack:!1,negated:!1,brackets:0,braces:0,parens:0,quotes:0,globstar:!1,tokens:A};m=d.removePrefix(m,b),M=m.length;const Z=[],z=[],K=[];let I=S,L;const me=()=>b.index===M-1,J=b.peek=(B=1)=>m[b.index+B],X=b.advance=()=>m[++b.index]||"",se=()=>m.slice(b.index+1),Ne=(B="",ye=0)=>{b.consumed+=B,b.index+=ye},Ce=B=>{b.output+=B.output!=null?B.output:B.value,Ne(B.value)},_e=()=>{let B=1;for(;J()==="!"&&(J(2)!=="("||J(3)==="?");)X(),b.start++,B++;return B%2===0?!1:(b.negated=!0,b.start++,!0)},Pe=B=>{b[B]++,K.push(B)},ge=B=>{b[B]--,K.pop()},re=B=>{if(I.type==="globstar"){const ye=b.braces>0&&(B.type==="comma"||B.type==="brace"),D=B.extglob===!0||Z.length&&(B.type==="pipe"||B.type==="paren");B.type!=="slash"&&B.type!=="paren"&&!ye&&!D&&(b.output=b.output.slice(0,-I.output.length),I.type="star",I.value="*",I.output=G,b.output+=I.output)}if(Z.length&&B.type!=="paren"&&(Z[Z.length-1].inner+=B.value),(B.value||B.output)&&Ce(B),I&&I.type==="text"&&B.type==="text"){I.output=(I.output||I.value)+B.value,I.value+=B.value;return}B.prev=I,A.push(B),I=B},he=(B,ye)=>{const D={...E[ye],conditions:1,inner:""};D.prev=I,D.parens=b.parens,D.output=b.output;const $=(f.capture?"(":"")+D.open;Pe("parens"),re({type:B,value:ye,output:b.output?"":U}),re({type:"paren",extglob:!0,value:X(),output:$}),Z.push(D)},Me=B=>{let ye=B.close+(f.capture?")":""),D;if(B.type==="negate"){let $=G;if(B.inner&&B.inner.length>1&&B.inner.includes("/")&&($=F(f)),($!==G||me()||/^\)+$/.test(se()))&&(ye=B.close=`)$))${$}`),B.inner.includes("*")&&(D=se())&&/^\.[^\\/.]+$/.test(D)){const ie=x(D,{...N,fastpaths:!1}).output;ye=B.close=`)${ie})${$})`}B.prev.type==="bos"&&(b.negatedExtglob=!0)}re({type:"paren",extglob:!0,value:L,output:ye}),ge("parens")};if(f.fastpaths!==!1&&!/(^[*!]|[/()[\]{}"])/.test(m)){let B=!1,ye=m.replace(p,(D,$,ie,ve,ue,Ee)=>ve==="\\"?(B=!0,D):ve==="?"?$?$+ve+(ue?W.repeat(ue.length):""):Ee===0?ee+(ue?W.repeat(ue.length):""):W.repeat(ie.length):ve==="."?T.repeat(ie.length):ve==="*"?$?$+ve+(ue?G:""):G:$?D:`\\${D}`);return B===!0&&(f.unescape===!0?ye=ye.replace(/\\/g,""):ye=ye.replace(/\\+/g,D=>D.length%2===0?"\\\\":D?"\\":"")),ye===m&&f.contains===!0?(b.output=m,b):(b.output=d.wrapOutput(ye,b,N),b)}for(;!me();){if(L=X(),L==="\0")continue;if(L==="\\"){const D=J();if(D==="/"&&f.bash!==!0||D==="."||D===";")continue;if(!D){L+="\\",re({type:"text",value:L});continue}const $=/^\\+/.exec(se());let ie=0;if($&&$[0].length>2&&(ie=$[0].length,b.index+=ie,ie%2!==0&&(L+="\\")),f.unescape===!0?L=X():L+=X(),b.brackets===0){re({type:"text",value:L});continue}}if(b.brackets>0&&(L!=="]"||I.value==="["||I.value==="[^")){if(f.posix!==!1&&L===":"){const D=I.value.slice(1);if(D.includes("[")&&(I.posix=!0,D.includes(":"))){const $=I.value.lastIndexOf("["),ie=I.value.slice(0,$),ve=I.value.slice($+2),ue=h[ve];if(ue){I.value=ie+ue,b.backtrack=!0,X(),!S.output&&A.indexOf(I)===1&&(S.output=U);continue}}}(L==="["&&J()!==":"||L==="-"&&J()==="]")&&(L=`\\${L}`),L==="]"&&(I.value==="["||I.value==="[^")&&(L=`\\${L}`),f.posix===!0&&L==="!"&&I.value==="["&&(L="^"),I.value+=L,Ce({value:L});continue}if(b.quotes===1&&L!=='"'){L=d.escapeRegex(L),I.value+=L,Ce({value:L});continue}if(L==='"'){b.quotes=b.quotes===1?0:1,f.keepQuotes===!0&&re({type:"text",value:L});continue}if(L==="("){Pe("parens"),re({type:"paren",value:L});continue}if(L===")"){if(b.parens===0&&f.strictBrackets===!0)throw new SyntaxError(g("opening","("));const D=Z[Z.length-1];if(D&&b.parens===D.parens+1){Me(Z.pop());continue}re({type:"paren",value:L,output:b.parens?")":"\\)"}),ge("parens");continue}if(L==="["){if(f.nobracket===!0||!se().includes("]")){if(f.nobracket!==!0&&f.strictBrackets===!0)throw new SyntaxError(g("closing","]"));L=`\\${L}`}else Pe("brackets");re({type:"bracket",value:L});continue}if(L==="]"){if(f.nobracket===!0||I&&I.type==="bracket"&&I.value.length===1){re({type:"text",value:L,output:`\\${L}`});continue}if(b.brackets===0){if(f.strictBrackets===!0)throw new SyntaxError(g("opening","["));re({type:"text",value:L,output:`\\${L}`});continue}ge("brackets");const D=I.value.slice(1);if(I.posix!==!0&&D[0]==="^"&&!D.includes("/")&&(L=`/${L}`),I.value+=L,Ce({value:L}),f.literalBrackets===!1||d.hasRegexChars(D))continue;const $=d.escapeRegex(I.value);if(b.output=b.output.slice(0,-I.value.length),f.literalBrackets===!0){b.output+=$,I.value=$;continue}I.value=`(${P}${$}|${I.value})`,b.output+=I.value;continue}if(L==="{"&&f.nobrace!==!0){Pe("braces");const D={type:"brace",value:L,output:"(",outputIndex:b.output.length,tokensIndex:b.tokens.length};z.push(D),re(D);continue}if(L==="}"){const D=z[z.length-1];if(f.nobrace===!0||!D){re({type:"text",value:L,output:L});continue}let $=")";if(D.dots===!0){const ie=A.slice(),ve=[];for(let ue=ie.length-1;ue>=0&&(A.pop(),ie[ue].type!=="brace");ue--)ie[ue].type!=="dots"&&ve.unshift(ie[ue].value);$=C(ve,f),b.backtrack=!0}if(D.comma!==!0&&D.dots!==!0){const ie=b.output.slice(0,D.outputIndex),ve=b.tokens.slice(D.tokensIndex);D.value=D.output="\\{",L=$="\\}",b.output=ie;for(const ue of ve)b.output+=ue.output||ue.value}re({type:"brace",value:L,output:$}),ge("braces"),z.pop();continue}if(L==="|"){Z.length>0&&Z[Z.length-1].conditions++,re({type:"text",value:L});continue}if(L===","){let D=L;const $=z[z.length-1];$&&K[K.length-1]==="braces"&&($.comma=!0,D="|"),re({type:"comma",value:L,output:D});continue}if(L==="/"){if(I.type==="dot"&&b.index===b.start+1){b.start=b.index+1,b.consumed="",b.output="",A.pop(),I=S;continue}re({type:"slash",value:L,output:ae});continue}if(L==="."){if(b.braces>0&&I.type==="dot"){I.value==="."&&(I.output=T);const D=z[z.length-1];I.type="dots",I.output+=L,I.value+=L,D.dots=!0;continue}if(b.braces+b.parens===0&&I.type!=="bos"&&I.type!=="slash"){re({type:"text",value:L,output:T});continue}re({type:"dot",value:L,output:T});continue}if(L==="?"){if(!(I&&I.value==="(")&&f.noextglob!==!0&&J()==="("&&J(2)!=="?"){he("qmark",L);continue}if(I&&I.type==="paren"){const $=J();let ie=L;(I.value==="("&&!/[!=<:]/.test($)||$==="<"&&!/<([!=]|\w+>)/.test(se()))&&(ie=`\\${L}`),re({type:"text",value:L,output:ie});continue}if(f.dot!==!0&&(I.type==="slash"||I.type==="bos")){re({type:"qmark",value:L,output:v});continue}re({type:"qmark",value:L,output:W});continue}if(L==="!"){if(f.noextglob!==!0&&J()==="("&&(J(2)!=="?"||!/[!=<:]/.test(J(3)))){he("negate",L);continue}if(f.nonegate!==!0&&b.index===0){_e();continue}}if(L==="+"){if(f.noextglob!==!0&&J()==="("&&J(2)!=="?"){he("plus",L);continue}if(I&&I.value==="("||f.regex===!1){re({type:"plus",value:L,output:O});continue}if(I&&(I.type==="bracket"||I.type==="paren"||I.type==="brace")||b.parens>0){re({type:"plus",value:L});continue}re({type:"plus",value:O});continue}if(L==="@"){if(f.noextglob!==!0&&J()==="("&&J(2)!=="?"){re({type:"at",extglob:!0,value:L,output:""});continue}re({type:"text",value:L});continue}if(L!=="*"){(L==="$"||L==="^")&&(L=`\\${L}`);const D=u.exec(se());D&&(L+=D[0],b.index+=D[0].length),re({type:"text",value:L});continue}if(I&&(I.type==="globstar"||I.star===!0)){I.type="star",I.star=!0,I.value+=L,I.output=G,b.backtrack=!0,b.globstar=!0,Ne(L);continue}let B=se();if(f.noextglob!==!0&&/^\([^?]/.test(B)){he("star",L);continue}if(I.type==="star"){if(f.noglobstar===!0){Ne(L);continue}const D=I.prev,$=D.prev,ie=D.type==="slash"||D.type==="bos",ve=$&&($.type==="star"||$.type==="globstar");if(f.bash===!0&&(!ie||B[0]&&B[0]!=="/")){re({type:"star",value:L,output:""});continue}const ue=b.braces>0&&(D.type==="comma"||D.type==="brace"),Ee=Z.length&&(D.type==="pipe"||D.type==="paren");if(!ie&&D.type!=="paren"&&!ue&&!Ee){re({type:"star",value:L,output:""});continue}for(;B.slice(0,3)==="/**";){const Ta=m[b.index+4];if(Ta&&Ta!=="/")break;B=B.slice(3),Ne("/**",3)}if(D.type==="bos"&&me()){I.type="globstar",I.value+=L,I.output=F(f),b.output=I.output,b.globstar=!0,Ne(L);continue}if(D.type==="slash"&&D.prev.type!=="bos"&&!ve&&me()){b.output=b.output.slice(0,-(D.output+I.output).length),D.output=`(?:${D.output}`,I.type="globstar",I.output=F(f)+(f.strictSlashes?")":"|$)"),I.value+=L,b.globstar=!0,b.output+=D.output+I.output,Ne(L);continue}if(D.type==="slash"&&D.prev.type!=="bos"&&B[0]==="/"){const Ta=B[1]!==void 0?"|$":"";b.output=b.output.slice(0,-(D.output+I.output).length),D.output=`(?:${D.output}`,I.type="globstar",I.output=`${F(f)}${ae}|${ae}${Ta})`,I.value+=L,b.output+=D.output+I.output,b.globstar=!0,Ne(L+X()),re({type:"slash",value:"/",output:""});continue}if(D.type==="bos"&&B[0]==="/"){I.type="globstar",I.value+=L,I.output=`(?:^|${ae}|${F(f)}${ae})`,b.output=I.output,b.globstar=!0,Ne(L+X()),re({type:"slash",value:"/",output:""});continue}b.output=b.output.slice(0,-I.output.length),I.type="globstar",I.output=F(f),I.value+=L,b.output+=I.output,b.globstar=!0,Ne(L);continue}const ye={type:"star",value:L,output:G};if(f.bash===!0){ye.output=".*?",(I.type==="bos"||I.type==="slash")&&(ye.output=V+ye.output),re(ye);continue}if(I&&(I.type==="bracket"||I.type==="paren")&&f.regex===!0){ye.output=L,re(ye);continue}(b.index===b.start||I.type==="slash"||I.type==="dot")&&(I.type==="dot"?(b.output+=ce,I.output+=ce):f.dot===!0?(b.output+=oe,I.output+=oe):(b.output+=V,I.output+=V),J()!=="*"&&(b.output+=U,I.output+=U)),re(ye)}for(;b.brackets>0;){if(f.strictBrackets===!0)throw new SyntaxError(g("closing","]"));b.output=d.escapeLast(b.output,"["),ge("brackets")}for(;b.parens>0;){if(f.strictBrackets===!0)throw new SyntaxError(g("closing",")"));b.output=d.escapeLast(b.output,"("),ge("parens")}for(;b.braces>0;){if(f.strictBrackets===!0)throw new SyntaxError(g("closing","}"));b.output=d.escapeLast(b.output,"{"),ge("braces")}if(f.strictSlashes!==!0&&(I.type==="star"||I.type==="bracket")&&re({type:"maybe_slash",value:"",output:`${ae}?`}),b.backtrack===!0){b.output="";for(const B of b.tokens)b.output+=B.output!=null?B.output:B.value,B.suffix&&(b.output+=B.suffix)}return b};x.fastpaths=(m,N)=>{const f={...N},w=typeof f.maxLength=="number"?Math.min(l,f.maxLength):l,M=m.length;if(M>w)throw new SyntaxError(`Input length: ${M}, exceeds maximum allowed length: ${w}`);m=y[m]||m;const{DOT_LITERAL:S,SLASH_LITERAL:A,ONE_CHAR:P,DOTS_SLASH:H,NO_DOT:E,NO_DOTS:T,NO_DOTS_SLASH:O,STAR:ae,START_ANCHOR:U}=s.globChars(f.windows),te=f.dot?T:E,Q=f.dot?O:E,ce=f.capture?"":"?:",oe={negated:!1,prefix:""};let W=f.bash===!0?".*?":ae;f.capture&&(W=`(${W})`);const v=V=>V.noglobstar===!0?W:`(${ce}(?:(?!${U}${V.dot?H:S}).)*?)`,R=V=>{switch(V){case"*":return`${te}${P}${W}`;case".*":return`${S}${P}${W}`;case"*.*":return`${te}${W}${S}${P}${W}`;case"*/*":return`${te}${W}${A}${P}${Q}${W}`;case"**":return te+v(f);case"**/*":return`(?:${te}${v(f)}${A})?${Q}${P}${W}`;case"**/*.*":return`(?:${te}${v(f)}${A})?${Q}${W}${S}${P}${W}`;case"**/.*":return`(?:${te}${v(f)}${A})?${S}${P}${W}`;default:{const ee=/^(.*?)\.(\w+)$/.exec(V);if(!ee)return;const G=R(ee[1]);return G?G+S+ee[2]:void 0}}},j=d.removePrefix(m,oe);let F=R(j);return F&&f.strictSlashes!==!0&&(F+=`${A}?`),F},i.exports=x},510:(i,c,r)=>{const s=r(716),d=r(697),l=r(96),h=r(154),u=y=>y&&typeof y=="object"&&!Array.isArray(y),p=(y,C,g=!1)=>{if(Array.isArray(y)){const A=y.map(H=>p(H,C,g));return H=>{for(const E of A){const T=E(H);if(T)return T}return!1}}const x=u(y)&&y.tokens&&y.input;if(y===""||typeof y!="string"&&!x)throw new TypeError("Expected pattern to be a non-empty string");const m=C||{},N=m.windows,f=x?p.compileRe(y,C):p.makeRe(y,C,!1,!0),w=f.state;delete f.state;let M=()=>!1;if(m.ignore){const A={...C,ignore:null,onMatch:null,onResult:null};M=p(m.ignore,A,g)}const S=(A,P=!1)=>{const{isMatch:H,match:E,output:T}=p.test(A,f,C,{glob:y,posix:N}),O={glob:y,state:w,regex:f,posix:N,input:A,output:T,match:E,isMatch:H};return typeof m.onResult=="function"&&m.onResult(O),H===!1?(O.isMatch=!1,P?O:!1):M(A)?(typeof m.onIgnore=="function"&&m.onIgnore(O),O.isMatch=!1,P?O:!1):(typeof m.onMatch=="function"&&m.onMatch(O),P?O:!0)};return g&&(S.state=w),S};p.test=(y,C,g,{glob:x,posix:m}={})=>{if(typeof y!="string")throw new TypeError("Expected input to be a string");if(y==="")return{isMatch:!1,output:""};const N=g||{},f=N.format||(m?l.toPosixSlashes:null);let w=y===x,M=w&&f?f(y):y;return w===!1&&(M=f?f(y):y,w=M===x),(w===!1||N.capture===!0)&&(N.matchBase===!0||N.basename===!0?w=p.matchBase(y,C,g,m):w=C.exec(M)),{isMatch:!!w,match:w,output:M}},p.matchBase=(y,C,g)=>(C instanceof RegExp?C:p.makeRe(C,g)).test(l.basename(y)),p.isMatch=(y,C,g)=>p(C,g)(y),p.parse=(y,C)=>Array.isArray(y)?y.map(g=>p.parse(g,C)):d(y,{...C,fastpaths:!1}),p.scan=(y,C)=>s(y,C),p.compileRe=(y,C,g=!1,x=!1)=>{if(g===!0)return y.output;const m=C||{},N=m.contains?"":"^",f=m.contains?"":"$";let w=`${N}(?:${y.output})${f}`;y&&y.negated===!0&&(w=`^(?!${w}).*$`);const M=p.toRegex(w,C);return x===!0&&(M.state=y),M},p.makeRe=(y,C={},g=!1,x=!1)=>{if(!y||typeof y!="string")throw new TypeError("Expected a non-empty string");let m={negated:!1,fastpaths:!0};return C.fastpaths!==!1&&(y[0]==="."||y[0]==="*")&&(m.output=d.fastpaths(y,C)),m.output||(m=d(y,C)),p.compileRe(m,C,g,x)},p.toRegex=(y,C)=>{try{const g=C||{};return new RegExp(y,g.flags||(g.nocase?"i":""))}catch(g){if(C&&C.debug===!0)throw g;return/$^/}},p.constants=h,i.exports=p},716:(i,c,r)=>{const s=r(96),{CHAR_ASTERISK:d,CHAR_AT:l,CHAR_BACKWARD_SLASH:h,CHAR_COMMA:u,CHAR_DOT:p,CHAR_EXCLAMATION_MARK:y,CHAR_FORWARD_SLASH:C,CHAR_LEFT_CURLY_BRACE:g,CHAR_LEFT_PARENTHESES:x,CHAR_LEFT_SQUARE_BRACKET:m,CHAR_PLUS:N,CHAR_QUESTION_MARK:f,CHAR_RIGHT_CURLY_BRACE:w,CHAR_RIGHT_PARENTHESES:M,CHAR_RIGHT_SQUARE_BRACKET:S}=r(154),A=E=>E===C||E===h,P=E=>{E.isPrefix!==!0&&(E.depth=E.isGlobstar?1/0:1)},H=(E,T)=>{const O=T||{},ae=E.length-1,U=O.parts===!0||O.scanToEnd===!0,te=[],Q=[],ce=[];let oe=E,W=-1,v=0,R=0,j=!1,F=!1,V=!1,ee=!1,G=!1,b=!1,Z=!1,z=!1,K=!1,I=!1,L=0,me,J,X={value:"",depth:0,isGlob:!1};const se=()=>W>=ae,Ne=()=>oe.charCodeAt(W+1),Ce=()=>(me=J,oe.charCodeAt(++W));for(;W<ae;){J=Ce();let he;if(J===h){Z=X.backslashes=!0,J=Ce(),J===g&&(b=!0);continue}if(b===!0||J===g){for(L++;se()!==!0&&(J=Ce());){if(J===h){Z=X.backslashes=!0,Ce();continue}if(J===g){L++;continue}if(b!==!0&&J===p&&(J=Ce())===p){if(j=X.isBrace=!0,V=X.isGlob=!0,I=!0,U===!0)continue;break}if(b!==!0&&J===u){if(j=X.isBrace=!0,V=X.isGlob=!0,I=!0,U===!0)continue;break}if(J===w&&(L--,L===0)){b=!1,j=X.isBrace=!0,I=!0;break}}if(U===!0)continue;break}if(J===C){if(te.push(W),Q.push(X),X={value:"",depth:0,isGlob:!1},I===!0)continue;if(me===p&&W===v+1){v+=2;continue}R=W+1;continue}if(O.noext!==!0&&(J===N||J===l||J===d||J===f||J===y)===!0&&Ne()===x){if(V=X.isGlob=!0,ee=X.isExtglob=!0,I=!0,J===y&&W===v&&(K=!0),U===!0){for(;se()!==!0&&(J=Ce());){if(J===h){Z=X.backslashes=!0,J=Ce();continue}if(J===M){V=X.isGlob=!0,I=!0;break}}continue}break}if(J===d){if(me===d&&(G=X.isGlobstar=!0),V=X.isGlob=!0,I=!0,U===!0)continue;break}if(J===f){if(V=X.isGlob=!0,I=!0,U===!0)continue;break}if(J===m){for(;se()!==!0&&(he=Ce());){if(he===h){Z=X.backslashes=!0,Ce();continue}if(he===S){F=X.isBracket=!0,V=X.isGlob=!0,I=!0;break}}if(U===!0)continue;break}if(O.nonegate!==!0&&J===y&&W===v){z=X.negated=!0,v++;continue}if(O.noparen!==!0&&J===x){if(V=X.isGlob=!0,U===!0){for(;se()!==!0&&(J=Ce());){if(J===x){Z=X.backslashes=!0,J=Ce();continue}if(J===M){I=!0;break}}continue}break}if(V===!0){if(I=!0,U===!0)continue;break}}O.noext===!0&&(ee=!1,V=!1);let _e=oe,Pe="",ge="";v>0&&(Pe=oe.slice(0,v),oe=oe.slice(v),R-=v),_e&&V===!0&&R>0?(_e=oe.slice(0,R),ge=oe.slice(R)):V===!0?(_e="",ge=oe):_e=oe,_e&&_e!==""&&_e!=="/"&&_e!==oe&&A(_e.charCodeAt(_e.length-1))&&(_e=_e.slice(0,-1)),O.unescape===!0&&(ge&&(ge=s.removeBackslashes(ge)),_e&&Z===!0&&(_e=s.removeBackslashes(_e)));const re={prefix:Pe,input:E,start:v,base:_e,glob:ge,isBrace:j,isBracket:F,isGlob:V,isExtglob:ee,isGlobstar:G,negated:z,negatedExtglob:K};if(O.tokens===!0&&(re.maxDepth=0,A(J)||Q.push(X),re.tokens=Q),O.parts===!0||O.tokens===!0){let he;for(let Me=0;Me<te.length;Me++){const B=he?he+1:v,ye=te[Me],D=E.slice(B,ye);O.tokens&&(Me===0&&v!==0?(Q[Me].isPrefix=!0,Q[Me].value=Pe):Q[Me].value=D,P(Q[Me]),re.maxDepth+=Q[Me].depth),(Me!==0||D!=="")&&ce.push(D),he=ye}if(he&&he+1<E.length){const Me=E.slice(he+1);ce.push(Me),O.tokens&&(Q[Q.length-1].value=Me,P(Q[Q.length-1]),re.maxDepth+=Q[Q.length-1].depth)}re.slashes=te,re.parts=ce}return re};i.exports=H},96:(i,c,r)=>{const{REGEX_BACKSLASH:s,REGEX_REMOVE_BACKSLASH:d,REGEX_SPECIAL_CHARS:l,REGEX_SPECIAL_CHARS_GLOBAL:h}=r(154);c.isObject=u=>u!==null&&typeof u=="object"&&!Array.isArray(u),c.hasRegexChars=u=>l.test(u),c.isRegexChar=u=>u.length===1&&c.hasRegexChars(u),c.escapeRegex=u=>u.replace(h,"\\$1"),c.toPosixSlashes=u=>u.replace(s,"/"),c.removeBackslashes=u=>u.replace(d,p=>p==="\\"?"":p),c.escapeLast=(u,p,y)=>{const C=u.lastIndexOf(p,y);return C===-1?u:u[C-1]==="\\"?c.escapeLast(u,p,C-1):`${u.slice(0,C)}\\${u.slice(C)}`},c.removePrefix=(u,p={})=>{let y=u;return y.startsWith("./")&&(y=y.slice(2),p.prefix="./"),y},c.wrapOutput=(u,p={},y={})=>{const C=y.contains?"":"^",g=y.contains?"":"$";let x=`${C}(?:${u})${g}`;return p.negated===!0&&(x=`(?:^(?!${x}).*$)`),x},c.basename=(u,{windows:p}={})=>{const y=u.split(p?/[\\/]/:"/"),C=y[y.length-1];return C===""?y[y.length-2]:C}}},t={};function a(i){var c=t[i];if(c!==void 0)return c.exports;var r=t[i]={exports:{}},s=!0;try{e[i](r,r.exports,a),s=!1}finally{s&&delete t[i]}return r.exports}typeof a<"u"&&(a.ab=__dirname+"/");var o=a(170);Zv.exports=o})()),Zv.exports}var lL;function BI(){return lL||(lL=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(c,r){for(var s in r)Object.defineProperty(c,s,{enumerable:!0,get:r[s]})}t(e,{hasLocalMatch:function(){return i},matchLocalPattern:function(){return o}});const a=qb();function o(c,r){if(c.search!==void 0&&c.search!==r.search)return!1;var s;return!!(0,a.makeRe)((s=c.pathname)!=null?s:"**",{dot:!0}).test(r.pathname)}function i(c,r){if(!c)return!0;const s=new URL(r,"http://n");return c.some(d=>o(d,s))}}(Uv)),Uv}var Gv={},uL;function UI(){return uL||(uL=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(c,r){for(var s in r)Object.defineProperty(c,s,{enumerable:!0,get:r[s]})}t(e,{hasRemoteMatch:function(){return i},matchRemotePattern:function(){return o}});const a=qb();function o(c,r){if(c.protocol!==void 0&&c.protocol.replace(/:$/,"")!==r.protocol.replace(/:$/,"")||c.port!==void 0&&c.port!==r.port)return!1;if(c.hostname===void 0)throw Object.defineProperty(new Error(`Pattern should define hostname but found
35
+ `+JSON.stringify(c)),"__NEXT_ERROR_CODE",{value:"E410",enumerable:!1,configurable:!0});if(!(0,a.makeRe)(c.hostname).test(r.hostname)||c.search!==void 0&&c.search!==r.search)return!1;var s;return!!(0,a.makeRe)((s=c.pathname)!=null?s:"**",{dot:!0}).test(r.pathname)}function i(c,r,s){return c.some(d=>s.hostname===d)||r.some(d=>o(d,s))}}(Gv)),Gv}var pL;function Tb(){return pL||(pL=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return o}});const t=75;function a(i){let{config:c,src:r,width:s,quality:d}=i;var l;if(process.env.NODE_ENV!=="production"){const u=[];if(r||u.push("src"),s||u.push("width"),u.length>0)throw Object.defineProperty(new Error("Next Image Optimization requires "+u.join(", ")+" to be provided. Make sure you pass them as props to the `next/image` component. Received: "+JSON.stringify({src:r,width:s,quality:d})),"__NEXT_ERROR_CODE",{value:"E188",enumerable:!1,configurable:!0});if(r.startsWith("//"))throw Object.defineProperty(new Error('Failed to parse src "'+r+'" on `next/image`, protocol-relative URL (//) must be changed to an absolute URL (http:// or https://)'),"__NEXT_ERROR_CODE",{value:"E360",enumerable:!1,configurable:!0});if(r.startsWith("/")&&c.localPatterns&&process.env.NODE_ENV!=="test"&&process.env.NEXT_RUNTIME!=="edge"){const{hasLocalMatch:p}=BI();if(!p(c.localPatterns,r))throw Object.defineProperty(new Error("Invalid src prop ("+r+") on `next/image` does not match `images.localPatterns` configured in your `next.config.js`\nSee more info: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns"),"__NEXT_ERROR_CODE",{value:"E426",enumerable:!1,configurable:!0})}if(!r.startsWith("/")&&(c.domains||c.remotePatterns)){let p;try{p=new URL(r)}catch(y){throw console.error(y),Object.defineProperty(new Error('Failed to parse src "'+r+'" on `next/image`, if using relative image it must start with a leading slash "/" or be an absolute URL (http:// or https://)'),"__NEXT_ERROR_CODE",{value:"E63",enumerable:!1,configurable:!0})}if(process.env.NODE_ENV!=="test"&&process.env.NEXT_RUNTIME!=="edge"){const{hasRemoteMatch:y}=UI();if(!y(c.domains,c.remotePatterns,p))throw Object.defineProperty(new Error("Invalid src prop ("+r+') on `next/image`, hostname "'+p.hostname+'" is not configured under images in your `next.config.js`\nSee more info: https://nextjs.org/docs/messages/next-image-unconfigured-host'),"__NEXT_ERROR_CODE",{value:"E231",enumerable:!1,configurable:!0})}}if(d&&c.qualities&&!c.qualities.includes(d))throw Object.defineProperty(new Error("Invalid quality prop ("+d+") on `next/image` does not match `images.qualities` configured in your `next.config.js`\nSee more info: https://nextjs.org/docs/messages/next-image-unconfigured-qualities"),"__NEXT_ERROR_CODE",{value:"E623",enumerable:!1,configurable:!0})}const h=d||((l=c.qualities)==null?void 0:l.reduce((u,p)=>Math.abs(p-t)<Math.abs(u-t)?p:u))||t;return c.path+"?url="+encodeURIComponent(r)+"&w="+s+"&q="+h+(r.startsWith("/_next/static/media/")&&process.env.NEXT_DEPLOYMENT_ID?"&dpl="+process.env.NEXT_DEPLOYMENT_ID:"")}a.__next_img_default=!0;const o=a}(Bv)),Bv}var za={exports:{}},yL;function jb(){return yL||(yL=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useMergedRef",{enumerable:!0,get:function(){return o}});const a=q;function o(c,r){const s=(0,a.useRef)(null),d=(0,a.useRef)(null);return(0,a.useCallback)(l=>{if(l===null){const h=s.current;h&&(s.current=null,h());const u=d.current;u&&(d.current=null,u())}else c&&(s.current=i(c,l)),r&&(d.current=i(r,l))},[c,r])}function i(c,r){if(typeof c=="function"){const s=c(r);return typeof s=="function"?s:()=>c(null)}else return c.current=r,()=>{c.current=null}}(typeof t.default=="function"||typeof t.default=="object"&&t.default!==null)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(za,za.exports)),za.exports}var kL;function ZI(){return kL||(kL=1,function(e,t){"use client";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Image",{enumerable:!0,get:function(){return w}});const a=Jn(),o=xv(),i=Cv(),c=o._(q),r=a._(RI),s=a._(DI()),d=Rb(),l=dx(),h=FI(),u=sx(),p=$b(),y=a._(Tb()),C=jb(),g=process.env.__NEXT_IMAGE_OPTS;typeof window>"u"&&(globalThis.__NEXT_IMAGE_IMPORTED=!0);function x(M,S,A,P,H,E,T){const O=M==null?void 0:M.src;if(!M||M["data-loaded-src"]===O)return;M["data-loaded-src"]=O,("decode"in M?M.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(!(!M.parentElement||!M.isConnected)){if(S!=="empty"&&H(!0),A!=null&&A.current){const U=new Event("load");Object.defineProperty(U,"target",{writable:!1,value:M});let te=!1,Q=!1;A.current({...U,nativeEvent:U,currentTarget:M,target:M,isDefaultPrevented:()=>te,isPropagationStopped:()=>Q,persist:()=>{},preventDefault:()=>{te=!0,U.preventDefault()},stopPropagation:()=>{Q=!0,U.stopPropagation()}})}if(P!=null&&P.current&&P.current(M),process.env.NODE_ENV!=="production"){const U=new URL(O,"http://n").searchParams.get("url")||O;if(M.getAttribute("data-nimg")==="fill"){if(!E&&(!T||T==="100vw")&&M.getBoundingClientRect().width/window.innerWidth<.6&&(T==="100vw"?(0,u.warnOnce)('Image with src "'+U+'" has "fill" prop and "sizes" prop of "100vw", but image is not rendered at full viewport width. Please adjust "sizes" to improve page performance. Read more: https://nextjs.org/docs/api-reference/next/image#sizes'):(0,u.warnOnce)('Image with src "'+U+'" has "fill" but is missing "sizes" prop. Please add it to improve page performance. Read more: https://nextjs.org/docs/api-reference/next/image#sizes')),M.parentElement){const{position:ce}=window.getComputedStyle(M.parentElement),oe=["absolute","fixed","relative"];oe.includes(ce)||(0,u.warnOnce)('Image with src "'+U+'" has "fill" and parent element with invalid "position". Provided "'+ce+'" should be one of '+oe.map(String).join(",")+".")}M.height===0&&(0,u.warnOnce)('Image with src "'+U+'" has "fill" and a height value of 0. This is likely because the parent element of the image has not been styled to have a set height.')}const te=M.height.toString()!==M.getAttribute("height"),Q=M.width.toString()!==M.getAttribute("width");(te&&!Q||!te&&Q)&&(0,u.warnOnce)('Image with src "'+U+`" has either width or height modified, but not the other. If you use CSS to change the size of your image, also include the styles 'width: "auto"' or 'height: "auto"' to maintain the aspect ratio.`)}}})}function m(M){return c.use?{fetchPriority:M}:{fetchpriority:M}}const N=(0,c.forwardRef)((M,S)=>{let{src:A,srcSet:P,sizes:H,height:E,width:T,decoding:O,className:ae,style:U,fetchPriority:te,placeholder:Q,loading:ce,unoptimized:oe,fill:W,onLoadRef:v,onLoadingCompleteRef:R,setBlurComplete:j,setShowAltText:F,sizesInput:V,onLoad:ee,onError:G,...b}=M;const Z=(0,c.useCallback)(K=>{K&&(G&&(K.src=K.src),process.env.NODE_ENV!=="production"&&(A||console.error('Image is missing required "src" property:',K),K.getAttribute("alt")===null&&console.error('Image is missing required "alt" property. Please add Alternative Text to describe the image for screen readers and search engines.')),K.complete&&x(K,Q,v,R,j,oe,V))},[A,Q,v,R,j,G,oe,V]),z=(0,C.useMergedRef)(S,Z);return(0,i.jsx)("img",{...b,...m(te),loading:ce,width:T,height:E,decoding:O,"data-nimg":W?"fill":"1",className:ae,style:U,sizes:H,srcSet:P,src:A,ref:z,onLoad:K=>{const I=K.currentTarget;x(I,Q,v,R,j,oe,V)},onError:K=>{F(!0),Q!=="empty"&&j(!0),G&&G(K)}})});function f(M){let{isAppRouter:S,imgAttributes:A}=M;const P={as:"image",imageSrcSet:A.srcSet,imageSizes:A.sizes,crossOrigin:A.crossOrigin,referrerPolicy:A.referrerPolicy,...m(A.fetchPriority)};return S&&r.default.preload?(r.default.preload(A.src,P),null):(0,i.jsx)(s.default,{children:(0,i.jsx)("link",{rel:"preload",href:A.srcSet?void 0:A.src,...P},"__nimg-"+A.src+A.srcSet+A.sizes)})}const w=(0,c.forwardRef)((M,S)=>{const P=!(0,c.useContext)(p.RouterContext),H=(0,c.useContext)(h.ImageConfigContext),E=(0,c.useMemo)(()=>{var R;const j=g||H||l.imageConfigDefault,F=[...j.deviceSizes,...j.imageSizes].sort((G,b)=>G-b),V=j.deviceSizes.sort((G,b)=>G-b),ee=(R=j.qualities)==null?void 0:R.sort((G,b)=>G-b);return{...j,allSizes:F,deviceSizes:V,qualities:ee}},[H]),{onLoad:T,onLoadingComplete:O}=M,ae=(0,c.useRef)(T);(0,c.useEffect)(()=>{ae.current=T},[T]);const U=(0,c.useRef)(O);(0,c.useEffect)(()=>{U.current=O},[O]);const[te,Q]=(0,c.useState)(!1),[ce,oe]=(0,c.useState)(!1),{props:W,meta:v}=(0,d.getImgProps)(M,{defaultLoader:y.default,imgConf:E,blurComplete:te,showAltText:ce});return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(N,{...W,unoptimized:v.unoptimized,placeholder:v.placeholder,fill:v.fill,onLoadRef:ae,onLoadingCompleteRef:U,setBlurComplete:Q,setShowAltText:oe,sizesInput:M.sizes,ref:S}),v.priority?(0,i.jsx)(f,{isAppRouter:P,imgAttributes:W}):null]})});(typeof t.default=="function"||typeof t.default=="object"&&t.default!==null)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(Ha,Ha.exports)),Ha.exports}var fL;function GI(){return fL||(fL=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(d,l){for(var h in l)Object.defineProperty(d,h,{enumerable:!0,get:l[h]})}t(e,{default:function(){return s},getImageProps:function(){return r}});const a=Jn(),o=Rb(),i=ZI(),c=a._(Tb());function r(d){const{props:l}=(0,o.getImgProps)(d,{defaultLoader:c.default,imgConf:process.env.__NEXT_IMAGE_OPTS});for(const[h,u]of Object.entries(l))u===void 0&&delete l[h];return{props:l}}const s=i.Image}(Pv)),Pv}var Wv,mL;function WI(){return mL||(mL=1,Wv=GI()),Wv}var XI=WI();const Hb=vv(XI),KI="banner-module__banner___3SG82",YI="banner-module__social___5Kzx8",QI="banner-module__container___Ql7q1",JI="banner-module__content___O1k9U",eN="banner-module__image___MzaS7",tN="banner-module__skeleton___Bo2su",nN="banner-module__text___tUsGq",aN="banner-module__button___OQJDr",oN="banner-module__primary___V4xfg",$e={banner:KI,social:YI,container:QI,content:JI,image:eN,skeleton:tN,"image-wrap":"banner-module__image-wrap___uavzX",text:nN,button:aN,primary:oN,"button-group":"banner-module__button-group___UP8Fi"},iN="social-module__social___Rz7KO",cN="social-module__skeleton___5X-ML",rN="social-module__icon___sBz7e",sN="social-module__linkedin___hkI5Y",dN="social-module__instagram___TM0i3",hN="social-module__github___paHAR",Ve={social:iN,skeleton:cN,icon:rN,linkedin:sN,instagram:dN,github:hN},lN=e=>k.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:"lucide lucide-mail-icon lucide-mail",...e},k.createElement("path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7"}),k.createElement("rect",{x:2,y:4,width:20,height:16,rx:2})),uN=e=>k.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 496 512",...e},k.createElement("path",{fill:"currentColor",d:"M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3 .3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5 .3-6.2 2.3zm44.2-1.7c-2.9 .7-4.9 2.6-4.6 4.9 .3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3 .7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3 .3 2.9 2.3 3.9 1.6 1 3.6 .7 4.3-.7 .7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3 .7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3 .7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"})),pN=e=>k.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",...e},k.createElement("path",{d:"M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z",fill:"currentColor"})),yN=e=>k.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",...e},k.createElement("path",{d:"M100.3 448H7.4V148.9h92.9zM53.8 108.1C24.1 108.1 0 83.5 0 53.8a53.8 53.8 0 0 1 107.6 0c0 29.7-24.1 54.3-53.8 54.3zM447.9 448h-92.7V302.4c0-34.7-.7-79.2-48.3-79.2-48.3 0-55.7 37.7-55.7 76.7V448h-92.8V148.9h89.1v40.8h1.3c12.4-23.5 42.7-48.3 87.9-48.3 94 0 111.3 61.9 111.3 142.3V448z",fill:"currentColor"})),hx=({className:e,isMounted:t=!1})=>{const a=t1.useMounted(),o=t||a;return _.jsxs("div",{className:Y(Ve.social,e),children:[_.jsx("a",{href:"https://www.linkedin.com/in/themichael/",target:"_blank",className:Y(Ve.icon,Ve.linkedin,!o&&Ve.skeleton),"aria-label":"Linkedin",children:_.jsx(yN,{width:"20",height:"20"})}),_.jsx("a",{href:"https://www.instagram.com/michael.adam.allen/",target:"_blank",className:Y(Ve.icon,Ve.instagram,!o&&Ve.skeleton),"aria-label":"Instagram",children:_.jsx(pN,{width:"20",height:"20"})}),_.jsx("a",{href:"https://github.com/uplord/",target:"_blank",className:Y(Ve.icon,Ve.github,!o&&Ve.skeleton),"aria-label":"GitHub",children:_.jsx(uN,{width:"20",height:"20"})}),_.jsx("a",{href:"mailto:michael@uplord.co.uk",className:Y(Ve.icon,Ve.default,!o&&Ve.skeleton),"aria-label":"Email",children:_.jsx(lN,{width:"20",height:"20"})})]})};var Oa={exports:{}},Da={exports:{}},Xv={},ML;function Vb(){return ML||(ML=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(r,s){for(var d in s)Object.defineProperty(r,d,{enumerable:!0,get:s[d]})}t(e,{assign:function(){return c},searchParamsToUrlQuery:function(){return a},urlQueryToSearchParams:function(){return i}});function a(r){const s={};for(const[d,l]of r.entries()){const h=s[d];typeof h>"u"?s[d]=l:Array.isArray(h)?h.push(l):s[d]=[h,l]}return s}function o(r){return typeof r=="string"?r:typeof r=="number"&&!isNaN(r)||typeof r=="boolean"?String(r):""}function i(r){const s=new URLSearchParams;for(const[d,l]of Object.entries(r))if(Array.isArray(l))for(const h of l)s.append(d,o(h));else s.set(d,o(l));return s}function c(r){for(var s=arguments.length,d=new Array(s>1?s-1:0),l=1;l<s;l++)d[l-1]=arguments[l];for(const h of d){for(const u of h.keys())r.delete(u);for(const[u,p]of h.entries())r.append(u,p)}return r}}(Xv)),Xv}var Kv={},_L;function zb(){return _L||(_L=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(d,l){for(var h in l)Object.defineProperty(d,h,{enumerable:!0,get:l[h]})}t(e,{formatUrl:function(){return c},formatWithValidation:function(){return s},urlObjectKeys:function(){return r}});const o=xv()._(Vb()),i=/https?|ftp|gopher|file/;function c(d){let{auth:l,hostname:h}=d,u=d.protocol||"",p=d.pathname||"",y=d.hash||"",C=d.query||"",g=!1;l=l?encodeURIComponent(l).replace(/%3A/i,":")+"@":"",d.host?g=l+d.host:h&&(g=l+(~h.indexOf(":")?"["+h+"]":h),d.port&&(g+=":"+d.port)),C&&typeof C=="object"&&(C=String(o.urlQueryToSearchParams(C)));let x=d.search||C&&"?"+C||"";return u&&!u.endsWith(":")&&(u+=":"),d.slashes||(!u||i.test(u))&&g!==!1?(g="//"+(g||""),p&&p[0]!=="/"&&(p="/"+p)):g||(g=""),y&&y[0]!=="#"&&(y="#"+y),x&&x[0]!=="?"&&(x="?"+x),p=p.replace(/[?#]/g,encodeURIComponent),x=x.replace("#","%23"),""+u+g+p+x+y}const r=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function s(d){return process.env.NODE_ENV==="development"&&d!==null&&typeof d=="object"&&Object.keys(d).forEach(l=>{r.includes(l)||console.warn("Unknown key passed via urlObject into url.format: "+l)}),c(d)}}(Kv)),Kv}var Yv={},gL;function kN(){return gL||(gL=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"omit",{enumerable:!0,get:function(){return t}});function t(a,o){const i={};return Object.keys(a).forEach(c=>{o.includes(c)||(i[c]=a[c])}),i}}(Yv)),Yv}var Qv={},vL;function Lv(){return vL||(vL=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(w,M){for(var S in M)Object.defineProperty(w,S,{enumerable:!0,get:M[S]})}t(e,{DecodeError:function(){return C},MiddlewareNotFoundError:function(){return N},MissingStaticPage:function(){return m},NormalizeError:function(){return g},PageNotFoundError:function(){return x},SP:function(){return p},ST:function(){return y},WEB_VITALS:function(){return a},execOnce:function(){return o},getDisplayName:function(){return d},getLocationOrigin:function(){return r},getURL:function(){return s},isAbsoluteUrl:function(){return c},isResSent:function(){return l},loadGetInitialProps:function(){return u},normalizeRepeatedSlashes:function(){return h},stringifyError:function(){return f}});const a=["CLS","FCP","FID","INP","LCP","TTFB"];function o(w){let M=!1,S;return function(){for(var A=arguments.length,P=new Array(A),H=0;H<A;H++)P[H]=arguments[H];return M||(M=!0,S=w(...P)),S}}const i=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,c=w=>i.test(w);function r(){const{protocol:w,hostname:M,port:S}=window.location;return w+"//"+M+(S?":"+S:"")}function s(){const{href:w}=window.location,M=r();return w.substring(M.length)}function d(w){return typeof w=="string"?w:w.displayName||w.name||"Unknown"}function l(w){return w.finished||w.headersSent}function h(w){const M=w.split("?");return M[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(M[1]?"?"+M.slice(1).join("?"):"")}async function u(w,M){if(process.env.NODE_ENV!=="production"){var S;if((S=w.prototype)!=null&&S.getInitialProps){const H='"'+d(w)+'.getInitialProps()" is defined as an instance method - visit https://nextjs.org/docs/messages/get-initial-props-as-an-instance-method for more information.';throw Object.defineProperty(new Error(H),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0})}}const A=M.res||M.ctx&&M.ctx.res;if(!w.getInitialProps)return M.ctx&&M.Component?{pageProps:await u(M.Component,M.ctx)}:{};const P=await w.getInitialProps(M);if(A&&l(A))return P;if(!P){const H='"'+d(w)+'.getInitialProps()" should resolve to an object. But found "'+P+'" instead.';throw Object.defineProperty(new Error(H),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0})}return process.env.NODE_ENV!=="production"&&Object.keys(P).length===0&&!M.ctx&&console.warn(""+d(w)+" returned an empty object from `getInitialProps`. This de-optimizes and prevents automatic static optimization. https://nextjs.org/docs/messages/empty-object-getInitialProps"),P}const p=typeof performance<"u",y=p&&["mark","measure","getEntriesByName"].every(w=>typeof performance[w]=="function");class C extends Error{}class g extends Error{}class x extends Error{constructor(M){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+M}}class m extends Error{constructor(M,S){super(),this.message="Failed to load static file for page: "+M+" "+S}}class N extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function f(w){return JSON.stringify({message:w.message,stack:w.stack})}}(Qv)),Qv}var Fa={exports:{}},Jv={},CL;function Ob(){return CL||(CL=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"removeTrailingSlash",{enumerable:!0,get:function(){return t}});function t(a){return a.replace(/\/$/,"")||"/"}}(Jv)),Jv}var eC={},xL;function lx(){return xL||(xL=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"parsePath",{enumerable:!0,get:function(){return t}});function t(a){const o=a.indexOf("#"),i=a.indexOf("?"),c=i>-1&&(o<0||i<o);return c||o>-1?{pathname:a.substring(0,c?i:o),query:c?a.substring(i,o>-1?o:void 0):"",hash:o>-1?a.slice(o):""}:{pathname:a,query:"",hash:""}}}(eC)),eC}var LL;function wv(){return LL||(LL=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizePathTrailingSlash",{enumerable:!0,get:function(){return i}});const a=Ob(),o=lx(),i=c=>{if(!c.startsWith("/")||process.env.__NEXT_MANUAL_TRAILING_SLASH)return c;const{pathname:r,query:s,hash:d}=(0,o.parsePath)(c);return process.env.__NEXT_TRAILING_SLASH?/\.[^/]+\/?$/.test(r)?""+(0,a.removeTrailingSlash)(r)+s+d:r.endsWith("/")?""+r+s+d:r+"/"+s+d:""+(0,a.removeTrailingSlash)(r)+s+d};(typeof t.default=="function"||typeof t.default=="object"&&t.default!==null)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(Fa,Fa.exports)),Fa.exports}var tC={},Ba={exports:{}},nC={},wL;function Db(){return wL||(wL=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"pathHasPrefix",{enumerable:!0,get:function(){return a}});const t=lx();function a(o,i){if(typeof o!="string")return!1;const{pathname:c}=(0,t.parsePath)(o);return c===i||c.startsWith(i+"/")}}(nC)),nC}var bL;function fN(){return bL||(bL=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"hasBasePath",{enumerable:!0,get:function(){return i}});const a=Db(),o=process.env.__NEXT_ROUTER_BASEPATH||"";function i(c){return(0,a.pathHasPrefix)(c,o)}(typeof t.default=="function"||typeof t.default=="object"&&t.default!==null)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(Ba,Ba.exports)),Ba.exports}var SL;function Fb(){return SL||(SL=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"isLocalURL",{enumerable:!0,get:function(){return o}});const t=Lv(),a=fN();function o(i){if(!(0,t.isAbsoluteUrl)(i))return!0;try{const c=(0,t.getLocationOrigin)(),r=new URL(i,c);return r.origin===c&&(0,a.hasBasePath)(r.pathname)}catch{return!1}}}(tC)),tC}var aC={},oC={},IL;function mN(){return IL||(IL=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(c,r){for(var s in r)Object.defineProperty(c,s,{enumerable:!0,get:r[s]})}t(e,{getSortedRouteObjects:function(){return i},getSortedRoutes:function(){return o}});class a{insert(r){this._insert(r.split("/").filter(Boolean),[],!1)}smoosh(){return this._smoosh()}_smoosh(r){r===void 0&&(r="/");const s=[...this.children.keys()].sort();this.slugName!==null&&s.splice(s.indexOf("[]"),1),this.restSlugName!==null&&s.splice(s.indexOf("[...]"),1),this.optionalRestSlugName!==null&&s.splice(s.indexOf("[[...]]"),1);const d=s.map(l=>this.children.get(l)._smoosh(""+r+l+"/")).reduce((l,h)=>[...l,...h],[]);if(this.slugName!==null&&d.push(...this.children.get("[]")._smoosh(r+"["+this.slugName+"]/")),!this.placeholder){const l=r==="/"?"/":r.slice(0,-1);if(this.optionalRestSlugName!=null)throw Object.defineProperty(new Error('You cannot define a route with the same specificity as a optional catch-all route ("'+l+'" and "'+l+"[[..."+this.optionalRestSlugName+']]").'),"__NEXT_ERROR_CODE",{value:"E458",enumerable:!1,configurable:!0});d.unshift(l)}return this.restSlugName!==null&&d.push(...this.children.get("[...]")._smoosh(r+"[..."+this.restSlugName+"]/")),this.optionalRestSlugName!==null&&d.push(...this.children.get("[[...]]")._smoosh(r+"[[..."+this.optionalRestSlugName+"]]/")),d}_insert(r,s,d){if(r.length===0){this.placeholder=!1;return}if(d)throw Object.defineProperty(new Error("Catch-all must be the last part of the URL."),"__NEXT_ERROR_CODE",{value:"E392",enumerable:!1,configurable:!0});let l=r[0];if(l.startsWith("[")&&l.endsWith("]")){let p=function(y,C){if(y!==null&&y!==C)throw Object.defineProperty(new Error("You cannot use different slug names for the same dynamic path ('"+y+"' !== '"+C+"')."),"__NEXT_ERROR_CODE",{value:"E337",enumerable:!1,configurable:!0});s.forEach(g=>{if(g===C)throw Object.defineProperty(new Error('You cannot have the same slug name "'+C+'" repeat within a single dynamic path'),"__NEXT_ERROR_CODE",{value:"E247",enumerable:!1,configurable:!0});if(g.replace(/\W/g,"")===l.replace(/\W/g,""))throw Object.defineProperty(new Error('You cannot have the slug names "'+g+'" and "'+C+'" differ only by non-word symbols within a single dynamic path'),"__NEXT_ERROR_CODE",{value:"E499",enumerable:!1,configurable:!0})}),s.push(C)},h=l.slice(1,-1),u=!1;if(h.startsWith("[")&&h.endsWith("]")&&(h=h.slice(1,-1),u=!0),h.startsWith("…"))throw Object.defineProperty(new Error("Detected a three-dot character ('…') at ('"+h+"'). Did you mean ('...')?"),"__NEXT_ERROR_CODE",{value:"E147",enumerable:!1,configurable:!0});if(h.startsWith("...")&&(h=h.substring(3),d=!0),h.startsWith("[")||h.endsWith("]"))throw Object.defineProperty(new Error("Segment names may not start or end with extra brackets ('"+h+"')."),"__NEXT_ERROR_CODE",{value:"E421",enumerable:!1,configurable:!0});if(h.startsWith("."))throw Object.defineProperty(new Error("Segment names may not start with erroneous periods ('"+h+"')."),"__NEXT_ERROR_CODE",{value:"E288",enumerable:!1,configurable:!0});if(d)if(u){if(this.restSlugName!=null)throw Object.defineProperty(new Error('You cannot use both an required and optional catch-all route at the same level ("[...'+this.restSlugName+']" and "'+r[0]+'" ).'),"__NEXT_ERROR_CODE",{value:"E299",enumerable:!1,configurable:!0});p(this.optionalRestSlugName,h),this.optionalRestSlugName=h,l="[[...]]"}else{if(this.optionalRestSlugName!=null)throw Object.defineProperty(new Error('You cannot use both an optional and required catch-all route at the same level ("[[...'+this.optionalRestSlugName+']]" and "'+r[0]+'").'),"__NEXT_ERROR_CODE",{value:"E300",enumerable:!1,configurable:!0});p(this.restSlugName,h),this.restSlugName=h,l="[...]"}else{if(u)throw Object.defineProperty(new Error('Optional route parameters are not yet supported ("'+r[0]+'").'),"__NEXT_ERROR_CODE",{value:"E435",enumerable:!1,configurable:!0});p(this.slugName,h),this.slugName=h,l="[]"}}this.children.has(l)||this.children.set(l,new a),this.children.get(l)._insert(r.slice(1),s,d)}constructor(){this.placeholder=!0,this.children=new Map,this.slugName=null,this.restSlugName=null,this.optionalRestSlugName=null}}function o(c){const r=new a;return c.forEach(s=>r.insert(s)),r.smoosh()}function i(c,r){const s={},d=[];for(let h=0;h<c.length;h++){const u=r(c[h]);s[u]=h,d[h]=u}return o(d).map(h=>c[s[h]])}}(oC)),oC}var iC={},cC={},rC={},sC={},NL;function MN(){return NL||(NL=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ensureLeadingSlash",{enumerable:!0,get:function(){return t}});function t(a){return a.startsWith("/")?a:"/"+a}}(sC)),sC}var dC={},AL;function _N(){return AL||(AL=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(s,d){for(var l in d)Object.defineProperty(s,l,{enumerable:!0,get:d[l]})}t(e,{DEFAULT_SEGMENT_KEY:function(){return r},PAGE_SEGMENT_KEY:function(){return c},addSearchParamsIfPageSegment:function(){return i},isGroupSegment:function(){return a},isParallelRouteSegment:function(){return o}});function a(s){return s[0]==="("&&s.endsWith(")")}function o(s){return s.startsWith("@")&&s!=="@children"}function i(s,d){if(s.includes(c)){const h=JSON.stringify(d);return h!=="{}"?c+"?"+h:c}return s}const c="__PAGE__",r="__DEFAULT__"}(dC)),dC}var PL;function gN(){return PL||(PL=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(r,s){for(var d in s)Object.defineProperty(r,d,{enumerable:!0,get:s[d]})}t(e,{normalizeAppPath:function(){return i},normalizeRscURL:function(){return c}});const a=MN(),o=_N();function i(r){return(0,a.ensureLeadingSlash)(r.split("/").reduce((s,d,l,h)=>!d||(0,o.isGroupSegment)(d)||d[0]==="@"||(d==="page"||d==="route")&&l===h.length-1?s:s+"/"+d,""))}function c(r){return r.replace(/\.rsc($|\?)/,"$1")}}(rC)),rC}var EL;function Bb(){return EL||(EL=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(r,s){for(var d in s)Object.defineProperty(r,d,{enumerable:!0,get:s[d]})}t(e,{INTERCEPTION_ROUTE_MARKERS:function(){return o},extractInterceptionRouteInformation:function(){return c},isInterceptionRouteAppPath:function(){return i}});const a=gN(),o=["(..)(..)","(.)","(..)","(...)"];function i(r){return r.split("/").find(s=>o.find(d=>s.startsWith(d)))!==void 0}function c(r){let s,d,l;for(const h of r.split("/"))if(d=o.find(u=>h.startsWith(u)),d){[s,l]=r.split(d,2);break}if(!s||!d||!l)throw Object.defineProperty(new Error("Invalid interception route: "+r+". Must be in the format /<intercepting route>/(..|...|..)(..)/<intercepted route>"),"__NEXT_ERROR_CODE",{value:"E269",enumerable:!1,configurable:!0});switch(s=(0,a.normalizeAppPath)(s),d){case"(.)":s==="/"?l="/"+l:l=s+"/"+l;break;case"(..)":if(s==="/")throw Object.defineProperty(new Error("Invalid interception route: "+r+". Cannot use (..) marker at the root level, use (.) instead."),"__NEXT_ERROR_CODE",{value:"E207",enumerable:!1,configurable:!0});l=s.split("/").slice(0,-1).concat(l).join("/");break;case"(...)":l="/"+l;break;case"(..)(..)":const h=s.split("/");if(h.length<=2)throw Object.defineProperty(new Error("Invalid interception route: "+r+". Cannot use (..)(..) marker at the root level or one level up."),"__NEXT_ERROR_CODE",{value:"E486",enumerable:!1,configurable:!0});l=h.slice(0,-2).concat(l).join("/");break;default:throw Object.defineProperty(new Error("Invariant: unexpected marker"),"__NEXT_ERROR_CODE",{value:"E112",enumerable:!1,configurable:!0})}return{interceptingRoute:s,interceptedRoute:l}}}(cC)),cC}var RL;function vN(){return RL||(RL=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"isDynamicRoute",{enumerable:!0,get:function(){return i}});const t=Bb(),a=/\/[^/]*\[[^/]+\][^/]*(?=\/|$)/,o=/\/\[[^/]+\](?=\/|$)/;function i(c,r){return r===void 0&&(r=!0),(0,t.isInterceptionRouteAppPath)(c)&&(c=(0,t.extractInterceptionRouteInformation)(c).interceptedRoute),r?o.test(c):a.test(c)}}(iC)),iC}var $L;function CN(){return $L||($L=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(i,c){for(var r in c)Object.defineProperty(i,r,{enumerable:!0,get:c[r]})}t(e,{getSortedRouteObjects:function(){return a.getSortedRouteObjects},getSortedRoutes:function(){return a.getSortedRoutes},isDynamicRoute:function(){return o.isDynamicRoute}});const a=mN(),o=vN()}(aC)),aC}var hC={},lC={},qL;function xN(){return qL||(qL=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getRouteMatcher",{enumerable:!0,get:function(){return a}});const t=Lv();function a(o){let{re:i,groups:c}=o;return r=>{const s=i.exec(r);if(!s)return!1;const d=h=>{try{return decodeURIComponent(h)}catch{throw Object.defineProperty(new t.DecodeError("failed to decode param"),"__NEXT_ERROR_CODE",{value:"E528",enumerable:!1,configurable:!0})}},l={};for(const[h,u]of Object.entries(c)){const p=s[u.pos];p!==void 0&&(u.repeat?l[h]=p.split("/").map(y=>d(y)):l[h]=d(p))}return l}}}(lC)),lC}var uC={},pC={},TL;function LN(){return TL||(TL=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(_e,Pe){for(var ge in Pe)Object.defineProperty(_e,ge,{enumerable:!0,get:Pe[ge]})}t(e,{ACTION_SUFFIX:function(){return u},APP_DIR_ALIAS:function(){return te},CACHE_ONE_YEAR:function(){return A},DOT_NEXT_ALIAS:function(){return ae},ESLINT_DEFAULT_DIRS:function(){return J},GSP_NO_RETURNED_VALUE:function(){return Z},GSSP_COMPONENT_MEMBER_ERROR:function(){return I},GSSP_NO_RETURNED_VALUE:function(){return z},INFINITE_CACHE:function(){return P},INSTRUMENTATION_HOOK_FILENAME:function(){return T},MATCHED_PATH_HEADER:function(){return i},MIDDLEWARE_FILENAME:function(){return H},MIDDLEWARE_LOCATION_REGEXP:function(){return E},NEXT_BODY_SUFFIX:function(){return C},NEXT_CACHE_IMPLICIT_TAG_ID:function(){return S},NEXT_CACHE_REVALIDATED_TAGS_HEADER:function(){return x},NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER:function(){return m},NEXT_CACHE_SOFT_TAG_MAX_LENGTH:function(){return M},NEXT_CACHE_TAGS_HEADER:function(){return g},NEXT_CACHE_TAG_MAX_ITEMS:function(){return f},NEXT_CACHE_TAG_MAX_LENGTH:function(){return w},NEXT_DATA_SUFFIX:function(){return p},NEXT_INTERCEPTION_MARKER_PREFIX:function(){return o},NEXT_META_SUFFIX:function(){return y},NEXT_QUERY_PARAM_PREFIX:function(){return a},NEXT_RESUME_HEADER:function(){return N},NON_STANDARD_NODE_ENV:function(){return L},PAGES_DIR_ALIAS:function(){return O},PRERENDER_REVALIDATE_HEADER:function(){return c},PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER:function(){return r},PUBLIC_DIR_MIDDLEWARE_CONFLICT:function(){return j},ROOT_DIR_ALIAS:function(){return U},RSC_ACTION_CLIENT_WRAPPER_ALIAS:function(){return R},RSC_ACTION_ENCRYPTION_ALIAS:function(){return v},RSC_ACTION_PROXY_ALIAS:function(){return oe},RSC_ACTION_VALIDATE_ALIAS:function(){return ce},RSC_CACHE_WRAPPER_ALIAS:function(){return W},RSC_MOD_REF_PROXY_ALIAS:function(){return Q},RSC_PREFETCH_SUFFIX:function(){return s},RSC_SEGMENTS_DIR_SUFFIX:function(){return d},RSC_SEGMENT_SUFFIX:function(){return l},RSC_SUFFIX:function(){return h},SERVER_PROPS_EXPORT_ERROR:function(){return b},SERVER_PROPS_GET_INIT_PROPS_CONFLICT:function(){return V},SERVER_PROPS_SSG_CONFLICT:function(){return ee},SERVER_RUNTIME:function(){return X},SSG_FALLBACK_EXPORT_ERROR:function(){return me},SSG_GET_INITIAL_PROPS_CONFLICT:function(){return F},STATIC_STATUS_PAGE_GET_INITIAL_PROPS_ERROR:function(){return G},UNSTABLE_REVALIDATE_RENAME_ERROR:function(){return K},WEBPACK_LAYERS:function(){return Ne},WEBPACK_RESOURCE_QUERIES:function(){return Ce}});const a="nxtP",o="nxtI",i="x-matched-path",c="x-prerender-revalidate",r="x-prerender-revalidate-if-generated",s=".prefetch.rsc",d=".segments",l=".segment.rsc",h=".rsc",u=".action",p=".json",y=".meta",C=".body",g="x-next-cache-tags",x="x-next-revalidated-tags",m="x-next-revalidate-tag-token",N="next-resume",f=128,w=256,M=1024,S="_N_T_",A=31536e3,P=4294967294,H="middleware",E=`(?:src/)?${H}`,T="instrumentation",O="private-next-pages",ae="private-dot-next",U="private-next-root-dir",te="private-next-app-dir",Q="private-next-rsc-mod-ref-proxy",ce="private-next-rsc-action-validate",oe="private-next-rsc-server-reference",W="private-next-rsc-cache-wrapper",v="private-next-rsc-action-encryption",R="private-next-rsc-action-client-wrapper",j="You can not have a '_next' folder inside of your public folder. This conflicts with the internal '/_next' route. https://nextjs.org/docs/messages/public-next-folder-conflict",F="You can not use getInitialProps with getStaticProps. To use SSG, please remove your getInitialProps",V="You can not use getInitialProps with getServerSideProps. Please remove getInitialProps.",ee="You can not use getStaticProps or getStaticPaths with getServerSideProps. To use SSG, please remove getServerSideProps",G="can not have getInitialProps/getServerSideProps, https://nextjs.org/docs/messages/404-get-initial-props",b="pages with `getServerSideProps` can not be exported. See more info here: https://nextjs.org/docs/messages/gssp-export",Z="Your `getStaticProps` function did not return an object. Did you forget to add a `return`?",z="Your `getServerSideProps` function did not return an object. Did you forget to add a `return`?",K="The `unstable_revalidate` property is available for general use.\nPlease use `revalidate` instead.",I="can not be attached to a page's component and must be exported from the page. See more info here: https://nextjs.org/docs/messages/gssp-component-member",L='You are using a non-standard "NODE_ENV" value in your environment. This creates inconsistencies in the project and is strongly advised against. Read more: https://nextjs.org/docs/messages/non-standard-node-env',me="Pages with `fallback` enabled in `getStaticPaths` can not be exported. See more info here: https://nextjs.org/docs/messages/ssg-fallback-true-export",J=["app","pages","components","lib","src"],X={edge:"edge",experimentalEdge:"experimental-edge",nodejs:"nodejs"},se={shared:"shared",reactServerComponents:"rsc",serverSideRendering:"ssr",actionBrowser:"action-browser",apiNode:"api-node",apiEdge:"api-edge",middleware:"middleware",instrument:"instrument",edgeAsset:"edge-asset",appPagesBrowser:"app-pages-browser",pagesDirBrowser:"pages-dir-browser",pagesDirEdge:"pages-dir-edge",pagesDirNode:"pages-dir-node"},Ne={...se,GROUP:{builtinReact:[se.reactServerComponents,se.actionBrowser],serverOnly:[se.reactServerComponents,se.actionBrowser,se.instrument,se.middleware],neutralTarget:[se.apiNode,se.apiEdge],clientOnly:[se.serverSideRendering,se.appPagesBrowser],bundled:[se.reactServerComponents,se.actionBrowser,se.serverSideRendering,se.appPagesBrowser,se.shared,se.instrument,se.middleware],appPages:[se.reactServerComponents,se.serverSideRendering,se.appPagesBrowser,se.actionBrowser]}},Ce={edgeSSREntry:"__next_edge_ssr_entry__",metadata:"__next_metadata__",metadataRoute:"__next_metadata_route__",metadataImageMeta:"__next_metadata_image_meta__"}}(pC)),pC}var yC={},jL;function wN(){return jL||(jL=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"escapeStringRegexp",{enumerable:!0,get:function(){return o}});const t=/[|\\{}()[\]^$+*?.-]/,a=/[|\\{}()[\]^$+*?.-]/g;function o(i){return t.test(i)?i.replace(a,"\\$&"):i}}(yC)),yC}var HL;function bN(){return HL||(HL=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(x,m){for(var N in m)Object.defineProperty(x,N,{enumerable:!0,get:m[N]})}t(e,{getNamedMiddlewareRegex:function(){return g},getNamedRouteRegex:function(){return C},getRouteRegex:function(){return h},parseParameter:function(){return s}});const a=LN(),o=Bb(),i=wN(),c=Ob(),r=/^([^[]*)\[((?:\[[^\]]*\])|[^\]]+)\](.*)$/;function s(x){const m=x.match(r);return d(m?m[2]:x)}function d(x){const m=x.startsWith("[")&&x.endsWith("]");m&&(x=x.slice(1,-1));const N=x.startsWith("...");return N&&(x=x.slice(3)),{key:x,repeat:N,optional:m}}function l(x,m,N){const f={};let w=1;const M=[];for(const S of(0,c.removeTrailingSlash)(x).slice(1).split("/")){const A=o.INTERCEPTION_ROUTE_MARKERS.find(H=>S.startsWith(H)),P=S.match(r);if(A&&P&&P[2]){const{key:H,optional:E,repeat:T}=d(P[2]);f[H]={pos:w++,repeat:T,optional:E},M.push("/"+(0,i.escapeStringRegexp)(A)+"([^/]+?)")}else if(P&&P[2]){const{key:H,repeat:E,optional:T}=d(P[2]);f[H]={pos:w++,repeat:E,optional:T},N&&P[1]&&M.push("/"+(0,i.escapeStringRegexp)(P[1]));let O=E?T?"(?:/(.+?))?":"/(.+?)":"/([^/]+?)";N&&P[1]&&(O=O.substring(1)),M.push(O)}else M.push("/"+(0,i.escapeStringRegexp)(S));m&&P&&P[3]&&M.push((0,i.escapeStringRegexp)(P[3]))}return{parameterizedRoute:M.join(""),groups:f}}function h(x,m){let{includeSuffix:N=!1,includePrefix:f=!1,excludeOptionalTrailingSlash:w=!1}=m===void 0?{}:m;const{parameterizedRoute:M,groups:S}=l(x,N,f);let A=M;return w||(A+="(?:/)?"),{re:new RegExp("^"+A+"$"),groups:S}}function u(){let x=0;return()=>{let m="",N=++x;for(;N>0;)m+=String.fromCharCode(97+(N-1)%26),N=Math.floor((N-1)/26);return m}}function p(x){let{interceptionMarker:m,getSafeRouteKey:N,segment:f,routeKeys:w,keyPrefix:M,backreferenceDuplicateKeys:S}=x;const{key:A,optional:P,repeat:H}=d(f);let E=A.replace(/\W/g,"");M&&(E=""+M+E);let T=!1;(E.length===0||E.length>30)&&(T=!0),isNaN(parseInt(E.slice(0,1)))||(T=!0),T&&(E=N());const O=E in w;M?w[E]=""+M+A:w[E]=A;const ae=m?(0,i.escapeStringRegexp)(m):"";let U;return O&&S?U="\\k<"+E+">":H?U="(?<"+E+">.+?)":U="(?<"+E+">[^/]+?)",P?"(?:/"+ae+U+")?":"/"+ae+U}function y(x,m,N,f,w){const M=u(),S={},A=[];for(const P of(0,c.removeTrailingSlash)(x).slice(1).split("/")){const H=o.INTERCEPTION_ROUTE_MARKERS.some(T=>P.startsWith(T)),E=P.match(r);if(H&&E&&E[2])A.push(p({getSafeRouteKey:M,interceptionMarker:E[1],segment:E[2],routeKeys:S,keyPrefix:m?a.NEXT_INTERCEPTION_MARKER_PREFIX:void 0,backreferenceDuplicateKeys:w}));else if(E&&E[2]){f&&E[1]&&A.push("/"+(0,i.escapeStringRegexp)(E[1]));let T=p({getSafeRouteKey:M,segment:E[2],routeKeys:S,keyPrefix:m?a.NEXT_QUERY_PARAM_PREFIX:void 0,backreferenceDuplicateKeys:w});f&&E[1]&&(T=T.substring(1)),A.push(T)}else A.push("/"+(0,i.escapeStringRegexp)(P));N&&E&&E[3]&&A.push((0,i.escapeStringRegexp)(E[3]))}return{namedParameterizedRoute:A.join(""),routeKeys:S}}function C(x,m){var N,f,w;const M=y(x,m.prefixRouteKeys,(N=m.includeSuffix)!=null?N:!1,(f=m.includePrefix)!=null?f:!1,(w=m.backreferenceDuplicateKeys)!=null?w:!1);let S=M.namedParameterizedRoute;return m.excludeOptionalTrailingSlash||(S+="(?:/)?"),{...h(x,m),namedRegex:"^"+S+"$",routeKeys:M.routeKeys}}function g(x,m){const{parameterizedRoute:N}=l(x,!1,!1),{catchAll:f=!0}=m;if(N==="/")return{namedRegex:"^/"+(f?".*":"")+"$"};const{namedParameterizedRoute:w}=y(x,!1,!1,!1,!1);let M=f?"(?:(/.*)?)":"";return{namedRegex:"^"+w+M+"$"}}}(uC)),uC}var VL;function SN(){return VL||(VL=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"interpolateAs",{enumerable:!0,get:function(){return o}});const t=xN(),a=bN();function o(i,c,r){let s="";const d=(0,a.getRouteRegex)(i),l=d.groups,h=(c!==i?(0,t.getRouteMatcher)(d)(c):"")||r;s=i;const u=Object.keys(l);return u.every(p=>{let y=h[p]||"";const{repeat:C,optional:g}=l[p];let x="["+(C?"...":"")+p+"]";return g&&(x=(y?"":"/")+"["+x+"]"),C&&!Array.isArray(y)&&(y=[y]),(g||p in h)&&(s=s.replace(x,C?y.map(m=>encodeURIComponent(m)).join("/"):encodeURIComponent(y))||"/")})||(s=""),{params:u,result:s}}}(hC)),hC}var zL;function IN(){return zL||(zL=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"resolveHref",{enumerable:!0,get:function(){return h}});const a=Vb(),o=zb(),i=kN(),c=Lv(),r=wv(),s=Fb(),d=CN(),l=SN();function h(u,p,y){let C,g=typeof p=="string"?p:(0,o.formatWithValidation)(p);const x=g.match(/^[a-zA-Z]{1,}:\/\//),m=x?g.slice(x[0].length):g;if((m.split("?",1)[0]||"").match(/(\/\/|\\)/)){console.error("Invalid href '"+g+"' passed to next/router in page: '"+u.pathname+"'. Repeated forward-slashes (//) or backslashes \\ are not valid in the href.");const f=(0,c.normalizeRepeatedSlashes)(m);g=(x?x[0]:"")+f}if(!(0,s.isLocalURL)(g))return y?[g]:g;try{C=new URL(g.startsWith("#")?u.asPath:u.pathname,"http://n")}catch{C=new URL("/","http://n")}try{const f=new URL(g,C);f.pathname=(0,r.normalizePathTrailingSlash)(f.pathname);let w="";if((0,d.isDynamicRoute)(f.pathname)&&f.searchParams&&y){const S=(0,a.searchParamsToUrlQuery)(f.searchParams),{result:A,params:P}=(0,l.interpolateAs)(f.pathname,f.pathname,S);A&&(w=(0,o.formatWithValidation)({pathname:A,hash:f.hash,query:(0,i.omit)(S,P)}))}const M=f.origin===C.origin?f.href.slice(f.origin.length):f.href;return y?[M,w||M]:M}catch{return y?[g]:g}}(typeof t.default=="function"||typeof t.default=="object"&&t.default!==null)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(Da,Da.exports)),Da.exports}var Ua={exports:{}},kC={},fC={},OL;function Ub(){return OL||(OL=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"addPathPrefix",{enumerable:!0,get:function(){return a}});const t=lx();function a(o,i){if(!o.startsWith("/")||!i)return o;const{pathname:c,query:r,hash:s}=(0,t.parsePath)(o);return""+i+c+r+s}}(fC)),fC}var DL;function NN(){return DL||(DL=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"addLocale",{enumerable:!0,get:function(){return o}});const t=Ub(),a=Db();function o(i,c,r,s){if(!c||c===r)return i;const d=i.toLowerCase();return!s&&((0,a.pathHasPrefix)(d,"/api")||(0,a.pathHasPrefix)(d,"/"+c.toLowerCase()))?i:(0,t.addPathPrefix)(i,"/"+c)}}(kC)),kC}var FL;function AN(){return FL||(FL=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return o}});const a=wv(),o=function(i){for(var c=arguments.length,r=new Array(c>1?c-1:0),s=1;s<c;s++)r[s-1]=arguments[s];return process.env.__NEXT_I18N_SUPPORT?(0,a.normalizePathTrailingSlash)(NN().addLocale(i,...r)):i};(typeof t.default=="function"||typeof t.default=="object"&&t.default!==null)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(Ua,Ua.exports)),Ua.exports}var Za={exports:{}},Ga={exports:{}},BL;function PN(){return BL||(BL=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0});function a(c,r){for(var s in r)Object.defineProperty(c,s,{enumerable:!0,get:r[s]})}a(t,{cancelIdleCallback:function(){return i},requestIdleCallback:function(){return o}});const o=typeof self<"u"&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(c){let r=Date.now();return self.setTimeout(function(){c({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-r))}})},1)},i=typeof self<"u"&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(c){return clearTimeout(c)};(typeof t.default=="function"||typeof t.default=="object"&&t.default!==null)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(Ga,Ga.exports)),Ga.exports}var UL;function EN(){return UL||(UL=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return l}});const a=q,o=PN(),i=typeof IntersectionObserver=="function",c=new Map,r=[];function s(h){const u={root:h.root||null,margin:h.rootMargin||""},p=r.find(x=>x.root===u.root&&x.margin===u.margin);let y;if(p&&(y=c.get(p),y))return y;const C=new Map,g=new IntersectionObserver(x=>{x.forEach(m=>{const N=C.get(m.target),f=m.isIntersecting||m.intersectionRatio>0;N&&f&&N(f)})},h);return y={id:u,observer:g,elements:C},r.push(u),c.set(u,y),y}function d(h,u,p){const{id:y,observer:C,elements:g}=s(p);return g.set(h,u),C.observe(h),function(){if(g.delete(h),C.unobserve(h),g.size===0){C.disconnect(),c.delete(y);const m=r.findIndex(N=>N.root===y.root&&N.margin===y.margin);m>-1&&r.splice(m,1)}}}function l(h){let{rootRef:u,rootMargin:p,disabled:y}=h;const C=y||!i,[g,x]=(0,a.useState)(!1),m=(0,a.useRef)(null),N=(0,a.useCallback)(w=>{m.current=w},[]);(0,a.useEffect)(()=>{if(i){if(C||g)return;const w=m.current;if(w&&w.tagName)return d(w,S=>S&&x(S),{root:u==null?void 0:u.current,rootMargin:p})}else if(!g){const w=(0,o.requestIdleCallback)(()=>x(!0));return()=>(0,o.cancelIdleCallback)(w)}},[C,p,u,g,m.current]);const f=(0,a.useCallback)(()=>{x(!1)},[]);return[N,g,f]}(typeof t.default=="function"||typeof t.default=="object"&&t.default!==null)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(Za,Za.exports)),Za.exports}var Wa={exports:{}},Xa={exports:{}},mC={},ZL;function RN(){return ZL||(ZL=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"normalizeLocalePath",{enumerable:!0,get:function(){return a}});const t=new WeakMap;function a(o,i){if(!i)return{pathname:o};let c=t.get(i);c||(c=i.map(h=>h.toLowerCase()),t.set(i,c));let r;const s=o.split("/",2);if(!s[1])return{pathname:o};const d=s[1].toLowerCase(),l=c.indexOf(d);return l<0?{pathname:o}:(r=i[l],o=o.slice(r.length+1)||"/",{pathname:o,detectedLocale:r})}}(mC)),mC}var GL;function $N(){return GL||(GL=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizeLocalePath",{enumerable:!0,get:function(){return a}});const a=(o,i)=>process.env.__NEXT_I18N_SUPPORT?RN().normalizeLocalePath(o,i):{pathname:o,detectedLocale:void 0};(typeof t.default=="function"||typeof t.default=="object"&&t.default!==null)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(Xa,Xa.exports)),Xa.exports}var Ka={exports:{}},MC={},WL;function qN(){return WL||(WL=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"detectDomainLocale",{enumerable:!0,get:function(){return t}});function t(a,o,i){if(a){i&&(i=i.toLowerCase());for(const s of a){var c,r;const d=(c=s.domain)==null?void 0:c.split(":",1)[0].toLowerCase();if(o===d||i===s.defaultLocale.toLowerCase()||(r=s.locales)!=null&&r.some(l=>l.toLowerCase()===i))return s}}}}(MC)),MC}var XL;function TN(){return XL||(XL=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"detectDomainLocale",{enumerable:!0,get:function(){return a}});const a=function(){for(var o=arguments.length,i=new Array(o),c=0;c<o;c++)i[c]=arguments[c];if(process.env.__NEXT_I18N_SUPPORT)return qN().detectDomainLocale(...i)};(typeof t.default=="function"||typeof t.default=="object"&&t.default!==null)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(Ka,Ka.exports)),Ka.exports}var KL;function jN(){return KL||(KL=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return i}});const a=wv(),o=process.env.__NEXT_ROUTER_BASEPATH||"";function i(c,r,s,d){if(process.env.__NEXT_I18N_SUPPORT){const l=$N().normalizeLocalePath,h=TN().detectDomainLocale,u=r||l(c,s).detectedLocale,p=h(d,void 0,u);if(p){const y="http"+(p.http?"":"s")+"://",C=u===p.defaultLocale?"":"/"+u;return""+y+p.domain+(0,a.normalizePathTrailingSlash)(""+o+C+c)}return!1}else return!1}(typeof t.default=="function"||typeof t.default=="object"&&t.default!==null)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(Wa,Wa.exports)),Wa.exports}var Ya={exports:{}},YL;function HN(){return YL||(YL=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addBasePath",{enumerable:!0,get:function(){return c}});const a=Ub(),o=wv(),i=process.env.__NEXT_ROUTER_BASEPATH||"";function c(r,s){return(0,o.normalizePathTrailingSlash)(process.env.__NEXT_MANUAL_CLIENT_BASE_PATH&&!s?r:(0,a.addPathPrefix)(r,i))}(typeof t.default=="function"||typeof t.default=="object"&&t.default!==null)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(Ya,Ya.exports)),Ya.exports}var _C={},QL;function VN(){return QL||(QL=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"errorOnce",{enumerable:!0,get:function(){return t}});let t=a=>{};if(process.env.NODE_ENV!=="production"){const a=new Set;t=o=>{a.has(o)||console.error(o),a.add(o)}}}(_C)),_C}var JL;function zN(){return JL||(JL=1,function(e,t){"use client";Object.defineProperty(t,"__esModule",{value:!0});function a(E,T){for(var O in T)Object.defineProperty(E,O,{enumerable:!0,get:T[O]})}a(t,{default:function(){return H},useLinkStatus:function(){return P}});const o=xv(),i=Cv(),c=o._(q),r=IN(),s=Fb(),d=zb(),l=Lv(),h=AN(),u=$b(),p=EN(),y=jN(),C=HN(),g=jb(),x=VN(),m=new Set;function N(E,T,O,ae){if(!(typeof window>"u")&&(0,s.isLocalURL)(T)){if(!ae.bypassPrefetchedCheck){const U=typeof ae.locale<"u"?ae.locale:"locale"in E?E.locale:void 0,te=T+"%"+O+"%"+U;if(m.has(te))return;m.add(te)}E.prefetch(T,O,ae).catch(U=>{if(process.env.NODE_ENV!=="production")throw U})}}function f(E){const O=E.currentTarget.getAttribute("target");return O&&O!=="_self"||E.metaKey||E.ctrlKey||E.shiftKey||E.altKey||E.nativeEvent&&E.nativeEvent.which===2}function w(E,T,O,ae,U,te,Q,ce,oe){const{nodeName:W}=E.currentTarget;if(W.toUpperCase()==="A"&&f(E)||E.currentTarget.hasAttribute("download"))return;if(!(0,s.isLocalURL)(O)){U&&(E.preventDefault(),location.replace(O));return}E.preventDefault(),(()=>{if(oe){let F=!1;if(oe({preventDefault:()=>{F=!0}}),F)return}const j=Q??!0;"beforePopState"in T?T[U?"replace":"push"](O,ae,{shallow:te,locale:ce,scroll:j}):T[U?"replace":"push"](ae||O,{scroll:j})})()}function M(E){return typeof E=="string"?E:(0,d.formatUrl)(E)}const S=c.default.forwardRef(function(T,O){let ae;const{href:U,as:te,children:Q,prefetch:ce=null,passHref:oe,replace:W,shallow:v,scroll:R,locale:j,onClick:F,onNavigate:V,onMouseEnter:ee,onTouchStart:G,legacyBehavior:b=!1,...Z}=T;ae=Q,b&&(typeof ae=="string"||typeof ae=="number")&&(ae=(0,i.jsx)("a",{children:ae}));const z=c.default.useContext(u.RouterContext),K=ce!==!1;if(process.env.NODE_ENV!=="production"){let he=function($){return Object.defineProperty(new Error("Failed prop type: The prop `"+$.key+"` expects a "+$.expected+" in `<Link>`, but got `"+$.actual+"` instead."+(typeof window<"u"?`
36
36
  Open your browser's console to view the Component stack trace.`:"")),"__NEXT_ERROR_CODE",{value:"E319",enumerable:!1,configurable:!0})};Object.keys({href:!0}).forEach($=>{if($==="href"&&(T[$]==null||typeof T[$]!="string"&&typeof T[$]!="object"))throw he({key:$,expected:"`string` or `object`",actual:T[$]===null?"null":typeof T[$]})}),Object.keys({as:!0,replace:!0,scroll:!0,shallow:!0,passHref:!0,prefetch:!0,locale:!0,onClick:!0,onMouseEnter:!0,onTouchStart:!0,legacyBehavior:!0,onNavigate:!0}).forEach($=>{const ie=typeof T[$];if($==="as"){if(T[$]&&ie!=="string"&&ie!=="object")throw he({key:$,expected:"`string` or `object`",actual:ie})}else if($==="locale"){if(T[$]&&ie!=="string")throw he({key:$,expected:"`string`",actual:ie})}else if($==="onClick"||$==="onMouseEnter"||$==="onTouchStart"||$==="onNavigate"){if(T[$]&&ie!=="function")throw he({key:$,expected:"`function`",actual:ie})}else if(($==="replace"||$==="scroll"||$==="shallow"||$==="passHref"||$==="prefetch"||$==="legacyBehavior")&&T[$]!=null&&ie!=="boolean")throw he({key:$,expected:"`boolean`",actual:ie})})}const{href:I,as:L}=c.default.useMemo(()=>{if(!z){const B=M(U);return{href:B,as:te?M(te):B}}const[he,Me]=(0,r.resolveHref)(z,U,!0);return{href:he,as:te?(0,r.resolveHref)(z,te):Me||he}},[z,U,te]),me=c.default.useRef(I),J=c.default.useRef(L);let X;if(b)if(process.env.NODE_ENV==="development"){F&&console.warn('"onClick" was passed to <Link> with `href` of `'+U+'` but "legacyBehavior" was set. The legacy behavior requires onClick be set on the child of next/link'),ee&&console.warn('"onMouseEnter" was passed to <Link> with `href` of `'+U+'` but "legacyBehavior" was set. The legacy behavior requires onMouseEnter be set on the child of next/link');try{X=c.default.Children.only(ae)}catch{throw ae?Object.defineProperty(new Error("Multiple children were passed to <Link> with `href` of `"+U+"` but only one child is supported https://nextjs.org/docs/messages/link-multiple-children"+(typeof window<"u"?`
37
37
  Open your browser's console to view the Component stack trace.`:"")),"__NEXT_ERROR_CODE",{value:"E266",enumerable:!1,configurable:!0}):Object.defineProperty(new Error("No children were passed to <Link> with `href` of `"+U+"` but one child is required https://nextjs.org/docs/messages/link-no-children"),"__NEXT_ERROR_CODE",{value:"E320",enumerable:!1,configurable:!0})}}else X=c.default.Children.only(ae);else if(process.env.NODE_ENV==="development"&&(ae==null?void 0:ae.type)==="a")throw Object.defineProperty(new Error(`Invalid <Link> with <a> child. Please remove <a> or use <Link legacyBehavior>.
38
38
  Learn more: https://nextjs.org/docs/messages/invalid-new-link-with-extra-anchor`),"__NEXT_ERROR_CODE",{value:"E209",enumerable:!1,configurable:!0});const se=b?X&&typeof X=="object"&&X.ref:O,[Ne,Ce,_e]=(0,p.useIntersection)({rootMargin:"200px"}),Pe=c.default.useCallback(he=>{(J.current!==L||me.current!==I)&&(_e(),J.current=L,me.current=I),Ne(he)},[L,I,_e,Ne]),ge=(0,g.useMergedRef)(Pe,se);c.default.useEffect(()=>{process.env.NODE_ENV==="production"&&z&&(!Ce||!K||N(z,I,L,{locale:j}))},[L,I,Ce,j,K,z==null?void 0:z.locale,z]);const re={ref:ge,onClick(he){if(process.env.NODE_ENV!=="production"&&!he)throw Object.defineProperty(new Error('Component rendered inside next/link has to pass click event to "onClick" prop.'),"__NEXT_ERROR_CODE",{value:"E312",enumerable:!1,configurable:!0});!b&&typeof F=="function"&&F(he),b&&X.props&&typeof X.props.onClick=="function"&&X.props.onClick(he),z&&(he.defaultPrevented||w(he,z,I,L,W,v,R,j,V))},onMouseEnter(he){!b&&typeof ee=="function"&&ee(he),b&&X.props&&typeof X.props.onMouseEnter=="function"&&X.props.onMouseEnter(he),z&&N(z,I,L,{locale:j,priority:!0,bypassPrefetchedCheck:!0})},onTouchStart:process.env.__NEXT_LINK_NO_TOUCH_START?void 0:function(Me){!b&&typeof G=="function"&&G(Me),b&&X.props&&typeof X.props.onTouchStart=="function"&&X.props.onTouchStart(Me),z&&N(z,I,L,{locale:j,priority:!0,bypassPrefetchedCheck:!0})}};if((0,l.isAbsoluteUrl)(L))re.href=L;else if(!b||oe||X.type==="a"&&!("href"in X.props)){const he=typeof j<"u"?j:z==null?void 0:z.locale,Me=(z==null?void 0:z.isLocaleDomain)&&(0,y.getDomainLocale)(L,he,z==null?void 0:z.locales,z==null?void 0:z.domainLocales);re.href=Me||(0,C.addBasePath)((0,h.addLocale)(L,he,z==null?void 0:z.defaultLocale))}return b?(process.env.NODE_ENV==="development"&&(0,x.errorOnce)(`\`legacyBehavior\` is deprecated and will be removed in a future release. A codemod is available to upgrade your components:
39
39
 
40
40
  npx @next/codemod@latest new-link .
41
41
 
42
- Learn more: https://nextjs.org/docs/app/building-your-application/upgrading/codemods#remove-a-tags-from-link-components`),c.default.cloneElement(X,re)):(0,i.jsx)("a",{...Z,...re,children:ae})}),A=(0,c.createContext)({pending:!1}),P=()=>(0,c.useContext)(A),H=S;(typeof t.default=="function"||typeof t.default=="object"&&t.default!==null)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(za,za.exports)),za.exports}var gC,ew;function ON(){return ew||(ew=1,gC=zN()),gC}var DN=ON();const Wn=vv(DN);/**
42
+ Learn more: https://nextjs.org/docs/app/building-your-application/upgrading/codemods#remove-a-tags-from-link-components`),c.default.cloneElement(X,re)):(0,i.jsx)("a",{...Z,...re,children:ae})}),A=(0,c.createContext)({pending:!1}),P=()=>(0,c.useContext)(A),H=S;(typeof t.default=="function"||typeof t.default=="object"&&t.default!==null)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(Oa,Oa.exports)),Oa.exports}var gC,ew;function ON(){return ew||(ew=1,gC=zN()),gC}var DN=ON();const Wn=vv(DN);/**
43
43
  * @license lucide-react v0.474.0 - ISC
44
44
  *
45
45
  * This source code is licensed under the ISC license.
@@ -7824,7 +7824,7 @@ Learn more: https://nextjs.org/docs/app/building-your-application/upgrading/code
7824
7824
  .dark .leaseloco {
7825
7825
  fill: #fff;
7826
7826
  }
7827
- `)),Oae=e=>k.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 1402.223 555.556",enableBackground:"new 0 0 1402.223 555.556",xmlSpace:"preserve",...e},k.createElement("g",null,k.createElement("path",{d:"M525.544,124.801c46.138,24.343,77.665,59.881,82.312,141.069c0,68.89,0,271.454,0,271.454H485.701V318.559 c0-43.113,0-67.861-11.176-85.426c-9.582-15.967-28.741-23.953-46.307-23.953c-10.379,0-39.125,2.396-54.294,29.543 c-9.582,16.762-8.785,34.327-8.785,71.854v226.748H242.982V289.818c0-39.917-5.579-57.483-23.951-69.46 c-10.375-7.187-23.149-10.379-35.923-10.379c-5.588,0-21.56,0-35.131,10.379c-25.549,19.162-26.351,51.895-26.351,79.039v237.928 H0.272c0,0-0.325-207.584-0.265-270.582c6.238-82.061,41.884-118.628,86.636-142.683c59.142-31.791,168.606-39.686,226.02,15.525 c-7.087,13.047-19.857,29.651-23.716,52.304C341.313,95.412,454.07,87.095,525.544,124.801z",fill:"#1055c4"}),k.createElement("path",{d:"M813.066,205.987v186.827c0,16.764-0.797,26.346,3.197,33.533c7.182,13.57,26.346,13.57,28.746,13.57 c14.367,0,28.74-0.797,43.109-0.797v95.01c-7.979,1.598-36.725,6.389-64.674,6.389c-8.779,0-17.561,0-25.539-0.801 c-11.182-0.797-47.91,0-75.855-25.549c-31.938-27.943-30.339-70.258-30.339-108.584V205.188h-60.68v-75.052h60.68V0h121.354 v130.939h81.438v75.048H813.066z",fill:"#1055c4"}),k.createElement("path",{d:"M1267.896,479.039c-55.092,64.674-126.15,71.859-156.49,71.859c-18.363,0-55.088-2.395-97.404-23.156 c-78.242-38.324-109.379-112.574-109.379-195.611c0-19.16,0.797-59.079,20.754-105.383 c47.107-109.387,150.102-118.169,188.424-118.169c32.736,0,106.189,6.387,162.078,76.651c4.787,6.387,7.984,11.178,15.967,23.953 l-91.02,51.895c-0.797-2.396-7.186-15.172-13.57-23.955c-7.188-8.783-30.428-31.756-67.861-34.327 c-21.539-1.479-45.242,4.065-66.498,21.07c-41.398,33.119-44.307,96.297-44.307,104.276c0,35.928,9.92,84.969,39.918,105.393 c22.141,15.076,48.238,22.283,74.875,19.957c39.779-3.475,61.498-27.129,68.664-37.521c4.592-6.658,7.168-10.158,14.744-23.318 l89.842,46.467C1287.852,452.697,1278.275,467.062,1267.896,479.039",fill:"#1055c4"}),k.createElement("g",null,k.createElement("path",{d:"M1311.33,509.396c0-11.961,8.439-39.393,43.617-39.393c20.395,0,39.395,16.178,39.395,42.209 c0,23.213-17.588,38.686-39.395,38.686C1339.465,550.898,1311.33,542.457,1311.33,509.396z",fill:"#1055c4"})))),Dae=e=>k.createElement("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 317.4 115.8",style:{enableBackground:"new 0 0 317.4 115.8"},xmlSpace:"preserve",...e},k.createElement("g",{id:"Layer_1-2"},k.createElement("path",{fill:"#06549E",d:"M38.1,5.1l-5.1,9.7c-5.7-2.9-10.3-4.4-13.6-4.4c-1.9,0-3.1,0.7-3.1,2c0,4.7,21.7,2.6,21.7,16.8 c0,8.6-7.4,13.8-18.3,13.8c-7,0.1-13.8-1.9-19.6-5.9l4.8-9.7c5.2,3.4,10.5,5.1,15.1,5.1c2.1,0,3.5-0.6,3.5-1.9 C23.3,25.9,2,28.2,2,14C2,5.2,9.3,0,19.8,0C26.2,0.1,32.5,1.8,38.1,5.1z"}),k.createElement("path",{fill:"#06549E",d:"M84.5,15.9v26.4H69v-22c0-4.1-2.4-6.7-6-6.7c-4.2,0.1-6.8,3.4-6.8,8.1v20.6H40.7V0.6h15.5v6.4 c2.9-4.6,7.4-7,13.2-7C78.3,0,84.5,6.2,84.5,15.9z"}),k.createElement("path",{fill:"#06549E",d:"M127.9,15.2v27h-15.2v-4.6c-2.5,3.4-6.7,5.4-12.2,5.4c-8.9,0-14.1-5.3-14.1-13.1c0-8,5.6-12.5,16.1-12.6h10.2 v-0.1c0-3.4-2.4-5.5-7.2-5.5c-4.3,0.2-8.6,1.2-12.6,3L89.2,4.3c6.3-2.7,13.2-4.2,20.1-4.3C121,0,127.9,5.6,127.9,15.2z M112.8,28.6 v-3.8h-7c-3.1,0-4.7,1.3-4.7,3.9s1.7,4.1,4.7,4.1C108.8,32.9,111.5,31.2,112.8,28.6z"}),k.createElement("path",{fill:"#06549E",d:"M176.8,21.8c0,12.8-7.4,21.1-18.9,21.1c-4.5,0.1-8.9-1.8-11.8-5.4v20.1h-15.5V0.7h15.5v4.8 c2.8-3.5,7-5.4,11.4-5.4C169.2,0.2,176.8,8.8,176.8,21.8z M161.2,21.4c0-5.5-3-9.3-7.6-9.3c-4.4,0-7.5,3.8-7.5,9.3s3.1,9.3,7.5,9.3 C158.2,30.7,161.2,26.9,161.2,21.4z"}),k.createElement("path",{fill:"#06549E",d:"M224.7,21.8c0,12.8-7.4,21.1-18.9,21.1c-4.5,0.1-8.9-1.9-11.8-5.4v20.1h-15.5V0.7H194v4.8 c2.8-3.5,7-5.4,11.4-5.4C217,0.2,224.7,8.8,224.7,21.8z M209.1,21.4c0-5.5-3-9.3-7.6-9.3c-4.4,0-7.5,3.8-7.5,9.3s3.1,9.3,7.5,9.3 C206.1,30.7,209.1,26.9,209.1,21.4z"}),k.createElement("path",{fill:"#06549E",d:"M250.6,45.9c-3.3,8.2-9,12-17.3,12c-4.9,0.1-9.6-1.6-13.4-4.6l6.4-10.3c1.5,1.5,3.5,2.4,5.6,2.4 c1.9,0.1,3.7-0.9,4.5-2.7l0.8-1.5L220,0.7h15.8l9.1,25.5l7.7-25.5H268L250.6,45.9z"}),k.createElement("path",{fill:"#E42833",d:"M38.1,63.5l-5.1,9.7c-5.7-2.9-10.3-4.4-13.6-4.4c-1.9,0-3.1,0.7-3.1,2c0,4.7,21.7,2.6,21.7,16.8 c0,8.6-7.4,13.8-18.3,13.8c-7,0.1-13.8-1.9-19.6-5.9l4.8-9.7C10,89.2,15.2,91,19.8,91c2.1,0,3.5-0.6,3.5-1.9 C23.3,84.3,2,86.6,2,72.3c0-8.7,7.3-13.9,17.8-13.9C26.2,58.5,32.5,60.2,38.1,63.5z"}),k.createElement("path",{fill:"#E42833",d:"M84.5,74.3v26.4H69v-22c0-4.1-2.3-6.8-6-6.8c-4.2,0.1-6.8,3.4-6.8,8.1v20.6H40.7V43.9h15.5v21.6 c2.9-4.6,7.4-7,13.2-7C78.4,58.5,84.5,64.7,84.5,74.3z"}),k.createElement("path",{fill:"#E42833",d:"M127.9,79.9c0,12.9-8.2,21.4-20.7,21.4s-20.7-8.5-20.7-21.4s8.2-21.4,20.7-21.4S127.9,67,127.9,79.9z M99.5,79.8c0,5.6,3.1,9.3,7.8,9.3s7.7-3.7,7.7-9.3s-3.1-9.3-7.7-9.3S99.5,74.3,99.5,79.8z"}),k.createElement("path",{fill:"#E42833",d:"M176.8,80.3c0,12.8-7.4,21.1-18.9,21.1c-4.5,0.1-8.9-1.9-11.8-5.4v19.7h-15.5V59.2h15.5v4.8 c2.8-3.5,7-5.4,11.4-5.4C169.2,58.7,176.8,67.3,176.8,80.3z M161.2,79.9c0-5.5-3-9.3-7.6-9.3c-4.4,0-7.5,3.8-7.5,9.3 s3.1,9.3,7.5,9.3C158.2,89.2,161.2,85.4,161.2,79.9z"}),k.createElement("path",{fill:"#E42833",d:"M224.7,80.3c0,12.8-7.4,21.1-18.9,21.1c-4.5,0.1-8.9-1.9-11.8-5.4v19.7h-15.5V59.2H194v4.8 c2.8-3.5,7-5.5,11.4-5.4C217,58.7,224.7,67.3,224.7,80.3z M209.1,79.9c0-5.5-3-9.3-7.6-9.3c-4.4,0-7.5,3.8-7.5,9.3s3.1,9.3,7.5,9.3 C206.1,89.2,209.1,85.4,209.1,79.9z"}),k.createElement("path",{fill:"#E42833",d:"M269.8,83.8h-28c1.2,4,4.1,6.2,8.1,6.2c3.5-0.1,6.7-1.6,9.2-4l8,7.9c-4.4,4.8-10.6,7.5-18.5,7.5 c-13.9,0-22.4-8.4-22.4-21.2c0-13,8.8-21.5,22-21.5C262.7,58.7,270.7,68.5,269.8,83.8z M254.5,76.2c0.1-4.1-2.5-7-6.3-7 c-3.6,0-6,2.8-6.8,7H254.5z"}),k.createElement("path",{fill:"#E42833",d:"M286.6,65.8c2.8-4.6,7.8-7.3,13.1-7.2v13.9c-8-1-13.1,2.4-13.1,8.4v19.9h-15.5V59.2h15.5V65.8z"}),k.createElement("path",{fill:"#E42833",d:"M276.3,8.1c0.4-1.6,1.7-3.4,3.3-3.4h4.4c0,4.4,0.8,4.4,1.7,4.4h10c0.9,0,1.7,0,1.7-4.4h4.4 c1.6,0,2.9,1.9,3.3,3.4l2.4,11.6h3.5L308.2,7c-0.7-3.1-3.4-6.3-6.5-6.3h-22.2c-3.1,0-5.8,3.3-6.5,6.3l-2.6,12.6h3.5L276.3,8.1z"}),k.createElement("path",{fill:"#06549E",d:"M281.2,41c-4.1,0-7.4,3.3-7.4,7.4c0,4.1,3.3,7.4,7.4,7.4c4.1,0,7.4-3.3,7.4-7.4c0,0,0,0,0,0 C288.6,44.3,285.3,41,281.2,41C281.2,41,281.2,41,281.2,41z M283.7,48.4c0,1.4-1.1,2.5-2.5,2.5s-2.5-1.1-2.5-2.5s1.1-2.5,2.5-2.5 l0,0C282.5,45.9,283.7,47,283.7,48.4L283.7,48.4z"}),k.createElement("path",{fill:"#06549E",d:"M300,41c-4.1,0-7.4,3.3-7.4,7.4s3.3,7.4,7.4,7.4c4.1,0,7.4-3.3,7.4-7.4c0,0,0,0,0,0 C307.4,44.3,304.1,41,300,41z M302.5,48.4c0,1.4-1.2,2.5-2.6,2.5c-1.4,0-2.5-1.2-2.5-2.6c0-1.4,1.1-2.5,2.5-2.5 C301.4,45.8,302.5,46.9,302.5,48.4C302.6,48.4,302.6,48.4,302.5,48.4L302.5,48.4z"}),k.createElement("path",{fill:"#E42833",d:"M314.1,19.7h-46.9c-1.8,0-3.3,1.5-3.3,3.3s1.5,3.3,3.3,3.3l0,0h0.4l3,17.9c0.2,1.1,0.9,2.2,1.9,2.8 c0.6-4.9,5.1-8.3,9.9-7.7c4.2,0.5,7.4,3.9,7.7,8.1h1.1c0.4-4.9,4.6-8.5,9.5-8.2c4.2,0.3,7.6,3.5,8.1,7.7c1-0.7,1.7-1.7,1.9-2.8 l3-17.9h0.4c1.8,0,3.3-1.5,3.3-3.3S315.9,19.6,314.1,19.7L314.1,19.7z M275.3,28.3h0.1c0.1,0,0.3,0,0.4,0H275.3z M285.4,28.3h0.2 h0.2H285.4z M295.4,28.3h0.2h0.2H295.4z M305.4,28.3c0.1,0,0.3,0,0.4,0h0.1H305.4z"}),k.createElement("path",{fill:"#E42833",d:"M285.5,29h0.4h-0.2H285.5z"}),k.createElement("path",{fill:"#E42833",d:"M295.3,29h0.4h-0.2H295.3z"}),k.createElement("path",{fill:"#E42833",d:"M305,29h0.5h-0.1C305.3,29,305.1,29,305,29z"}))),Fae={"leaseloco-logo":zae,"snappy-logo":Dae,"hungrrr-logo":Vae,"mtc-logo":Oae},Bae=({id:e,data:t,hasHeader:a=!1})=>{const i=t1.useMounted()?"":Ue.skeleton;return _.jsx("div",{id:e,className:Y(Ue.timeline,a&&Ue.header),children:_.jsxs("div",{className:Ue.container,children:[_.jsxs("div",{className:Ue.intro,children:[_.jsx("h2",{className:i,children:"My timeline"}),_.jsx("h3",{className:i,children:"Explore key roles and milestones over the years"})]}),_.jsx("div",{className:Ue.list,children:t.map((c,r)=>{const s=Fae[c.icon];return _.jsxs("div",{className:Ue.item,children:[_.jsxs("div",{className:Ue.left,children:[_.jsx("span",{className:Y(Ue.dot,i)}),_.jsxs("div",{className:Ue.text,children:[_.jsx("h4",{className:i,children:c.date}),s&&_.jsx(s,{height:"32",className:i})]})]}),_.jsxs("div",{className:Ue.right,children:[_.jsx("h4",{className:i,children:c.location}),_.jsx("h5",{className:i,children:c.role}),c.description.map((d,l)=>_.jsx("p",{className:i,children:d},l))]})]},r)})})]})})},Uae="card-module__container___IbiZO",Zae="card-module__border___EGmYn",Gae="card-module__title___-UuxP",Wae="card-module__content___dH-X7",Ya={container:Uae,border:Zae,title:Gae,content:Wae},Xae=({children:e,title:t,className:a="",border:o=!1})=>_.jsxs("div",{className:Y(Ya.container,o&&Ya.border,a),children:[t&&_.jsx("div",{className:Ya.title,children:t}),_.jsx("div",{className:Ya.content,children:e})]}),Kae="footer-module__footer___5PSsO",Yae="footer-module__skeleton___xsTB0",Qae="footer-module__container___VZcu-",Jae="footer-module__social___B-T-l",Qa={footer:Kae,skeleton:Yae,container:Qae,social:Jae},eoe=()=>{const e=t1.useMounted(),t=new Date().getFullYear();return _.jsx("div",{className:Qa.footer,children:_.jsxs("div",{className:Qa.container,children:[_.jsx(hx,{className:Qa.social,isMounted:e}),_.jsxs("p",{className:Y(!e&&Qa.skeleton),children:["© ",t," Michael Allen"]})]})})},toe="navigation-module__nav___xApEM",noe="navigation-module__skeleton___5r35M",aoe="navigation-module__active___cFzkK",l1={nav:toe,skeleton:noe,active:aoe},ooe=({activeSection:e,className:t})=>{const a=t1.useMounted();return _.jsx("div",{className:Y(l1.nav,!a&&l1.skeleton,t),children:_.jsxs("ul",{children:[_.jsx("li",{children:_.jsx(Wn,{href:"/",className:Y(e==="banner"&&l1.active),children:"Home"})}),_.jsx("li",{children:_.jsx(Wn,{href:"/#about-me",className:Y(e==="about-me"&&l1.active),children:"About me"})}),_.jsx("li",{children:_.jsx(Wn,{href:"/#projects",className:Y(e==="projects"&&l1.active),children:"Projects"})}),_.jsx("li",{children:_.jsx(Wn,{href:"/#timeline",className:Y(e==="timeline"&&l1.active),children:"Timeline"})}),_.jsx("li",{children:_.jsx(Wn,{href:"mailto:michael@uplord.co.uk",className:Y(e==="stack"&&l1.active),children:"Contact"})})]})})},ux=q.createContext({});function bv(e){const t=q.useRef(null);return t.current===null&&(t.current=e()),t.current}const px=typeof window<"u",Wb=px?q.useLayoutEffect:q.useEffect,Sv=q.createContext(null);function yx(e,t){e.indexOf(t)===-1&&e.push(t)}function kx(e,t){const a=e.indexOf(t);a>-1&&e.splice(a,1)}const o1=(e,t,a)=>a>t?t:a<e?e:a;let ha=()=>{},i1=()=>{};process.env.NODE_ENV!=="production"&&(ha=(e,t)=>{!e&&typeof console<"u"&&console.warn(t)},i1=(e,t)=>{if(!e)throw new Error(t)});const c1={},Xb=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function Kb(e){return typeof e=="object"&&e!==null}const Yb=e=>/^0[^.\s]+$/u.test(e);function fx(e){let t;return()=>(t===void 0&&(t=e()),t)}const Be=e=>e,ioe=(e,t)=>a=>t(e(a)),Pa=(...e)=>e.reduce(ioe),La=(e,t,a)=>{const o=t-e;return o===0?1:(a-e)/o};class mx{constructor(){this.subscriptions=[]}add(t){return yx(this.subscriptions,t),()=>kx(this.subscriptions,t)}notify(t,a,o){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](t,a,o);else for(let c=0;c<i;c++){const r=this.subscriptions[c];r&&r(t,a,o)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Ge=e=>e*1e3,Je=e=>e/1e3;function Qb(e,t){return t?e*(1e3/t):0}const tw=new Set;function Mx(e,t,a){e||tw.has(t)||(console.warn(t),tw.add(t))}const Jb=(e,t,a)=>(((1-3*a+3*t)*e+(3*a-6*t))*e+3*t)*e,coe=1e-7,roe=12;function soe(e,t,a,o,i){let c,r,s=0;do r=t+(a-t)/2,c=Jb(r,o,i)-e,c>0?a=r:t=r;while(Math.abs(c)>coe&&++s<roe);return r}function Ea(e,t,a,o){if(e===t&&a===o)return Be;const i=c=>soe(c,0,1,e,a);return c=>c===0||c===1?c:Jb(i(c),t,o)}const eS=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,tS=e=>t=>1-e(1-t),nS=Ea(.33,1.53,.69,.99),_x=tS(nS),aS=eS(_x),oS=e=>(e*=2)<1?.5*_x(e):.5*(2-Math.pow(2,-10*(e-1))),gx=e=>1-Math.sin(Math.acos(e)),iS=tS(gx),cS=eS(gx),doe=Ea(.42,0,1,1),hoe=Ea(0,0,.58,1),rS=Ea(.42,0,.58,1),loe=e=>Array.isArray(e)&&typeof e[0]!="number",sS=e=>Array.isArray(e)&&typeof e[0]=="number",nw={linear:Be,easeIn:doe,easeInOut:rS,easeOut:hoe,circIn:gx,circInOut:cS,circOut:iS,backIn:_x,backInOut:aS,backOut:nS,anticipate:oS},uoe=e=>typeof e=="string",aw=e=>{if(sS(e)){i1(e.length===4,"Cubic bezier arrays must contain four numerical values.");const[t,a,o,i]=e;return Ea(t,a,o,i)}else if(uoe(e))return i1(nw[e]!==void 0,`Invalid easing type '${e}'`),nw[e];return e},Ja=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],ow={value:null};function poe(e,t){let a=new Set,o=new Set,i=!1,c=!1;const r=new WeakSet;let s={delta:0,timestamp:0,isProcessing:!1},d=0;function l(u){r.has(u)&&(h.schedule(u),e()),d++,u(s)}const h={schedule:(u,p=!1,y=!1)=>{const g=y&&i?a:o;return p&&r.add(u),g.has(u)||g.add(u),u},cancel:u=>{o.delete(u),r.delete(u)},process:u=>{if(s=u,i){c=!0;return}i=!0,[a,o]=[o,a],a.forEach(l),t&&ow.value&&ow.value.frameloop[t].push(d),d=0,a.clear(),i=!1,c&&(c=!1,h.process(u))}};return h}const yoe=40;function dS(e,t){let a=!1,o=!0;const i={delta:0,timestamp:0,isProcessing:!1},c=()=>a=!0,r=Ja.reduce((f,w)=>(f[w]=poe(c,t?w:void 0),f),{}),{setup:s,read:d,resolveKeyframes:l,preUpdate:h,update:u,preRender:p,render:y,postRender:C}=r,g=()=>{const f=c1.useManualTiming?i.timestamp:performance.now();a=!1,c1.useManualTiming||(i.delta=o?1e3/60:Math.max(Math.min(f-i.timestamp,yoe),1)),i.timestamp=f,i.isProcessing=!0,s.process(i),d.process(i),l.process(i),h.process(i),u.process(i),p.process(i),y.process(i),C.process(i),i.isProcessing=!1,a&&t&&(o=!1,e(g))},x=()=>{a=!0,o=!0,i.isProcessing||e(g)};return{schedule:Ja.reduce((f,w)=>{const M=r[w];return f[w]=(S,A=!1,P=!1)=>(a||x(),M.schedule(S,A,P)),f},{}),cancel:f=>{for(let w=0;w<Ja.length;w++)r[Ja[w]].cancel(f)},state:i,steps:r}}const{schedule:be,cancel:s1,state:Ae,steps:vC}=dS(typeof requestAnimationFrame<"u"?requestAnimationFrame:Be,!0);let lv;function koe(){lv=void 0}const He={now:()=>(lv===void 0&&He.set(Ae.isProcessing||c1.useManualTiming?Ae.timestamp:performance.now()),lv),set:e=>{lv=e,queueMicrotask(koe)}},hS=e=>t=>typeof t=="string"&&t.startsWith(e),vx=hS("--"),foe=hS("var(--"),Cx=e=>foe(e)?moe.test(e.split("/*")[0].trim()):!1,moe=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,la={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},wa={...la,transform:e=>o1(0,1,e)},eo={...la,default:1},ga=e=>Math.round(e*1e5)/1e5,xx=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Moe(e){return e==null}const _oe=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Lx=(e,t)=>a=>!!(typeof a=="string"&&_oe.test(a)&&a.startsWith(e)||t&&!Moe(a)&&Object.prototype.hasOwnProperty.call(a,t)),lS=(e,t,a)=>o=>{if(typeof o!="string")return o;const[i,c,r,s]=o.match(xx);return{[e]:parseFloat(i),[t]:parseFloat(c),[a]:parseFloat(r),alpha:s!==void 0?parseFloat(s):1}},goe=e=>o1(0,255,e),CC={...la,transform:e=>Math.round(goe(e))},Xn={test:Lx("rgb","red"),parse:lS("red","green","blue"),transform:({red:e,green:t,blue:a,alpha:o=1})=>"rgba("+CC.transform(e)+", "+CC.transform(t)+", "+CC.transform(a)+", "+ga(wa.transform(o))+")"};function voe(e){let t="",a="",o="",i="";return e.length>5?(t=e.substring(1,3),a=e.substring(3,5),o=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),a=e.substring(2,3),o=e.substring(3,4),i=e.substring(4,5),t+=t,a+=a,o+=o,i+=i),{red:parseInt(t,16),green:parseInt(a,16),blue:parseInt(o,16),alpha:i?parseInt(i,16)/255:1}}const DC={test:Lx("#"),parse:voe,transform:Xn.transform},Ra=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),r1=Ra("deg"),e1=Ra("%"),de=Ra("px"),Coe=Ra("vh"),xoe=Ra("vw"),iw={...e1,parse:e=>e1.parse(e)/100,transform:e=>e1.transform(e*100)},na={test:Lx("hsl","hue"),parse:lS("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:a,alpha:o=1})=>"hsla("+Math.round(e)+", "+e1.transform(ga(t))+", "+e1.transform(ga(a))+", "+ga(wa.transform(o))+")"},Ie={test:e=>Xn.test(e)||DC.test(e)||na.test(e),parse:e=>Xn.test(e)?Xn.parse(e):na.test(e)?na.parse(e):DC.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?Xn.transform(e):na.transform(e),getAnimatableNone:e=>{const t=Ie.parse(e);return t.alpha=0,Ie.transform(t)}},Loe=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function woe(e){var t,a;return isNaN(e)&&typeof e=="string"&&(((t=e.match(xx))==null?void 0:t.length)||0)+(((a=e.match(Loe))==null?void 0:a.length)||0)>0}const uS="number",pS="color",boe="var",Soe="var(",cw="${}",Ioe=/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 ba(e){const t=e.toString(),a=[],o={color:[],number:[],var:[]},i=[];let c=0;const s=t.replace(Ioe,d=>(Ie.test(d)?(o.color.push(c),i.push(pS),a.push(Ie.parse(d))):d.startsWith(Soe)?(o.var.push(c),i.push(boe),a.push(d)):(o.number.push(c),i.push(uS),a.push(parseFloat(d))),++c,cw)).split(cw);return{values:a,split:s,indexes:o,types:i}}function yS(e){return ba(e).values}function kS(e){const{split:t,types:a}=ba(e),o=t.length;return i=>{let c="";for(let r=0;r<o;r++)if(c+=t[r],i[r]!==void 0){const s=a[r];s===uS?c+=ga(i[r]):s===pS?c+=Ie.transform(i[r]):c+=i[r]}return c}}const Noe=e=>typeof e=="number"?0:Ie.test(e)?Ie.getAnimatableNone(e):e;function Aoe(e){const t=yS(e);return kS(e)(t.map(Noe))}const d1={test:woe,parse:yS,createTransformer:kS,getAnimatableNone:Aoe};function xC(e,t,a){return a<0&&(a+=1),a>1&&(a-=1),a<1/6?e+(t-e)*6*a:a<1/2?t:a<2/3?e+(t-e)*(2/3-a)*6:e}function Poe({hue:e,saturation:t,lightness:a,alpha:o}){e/=360,t/=100,a/=100;let i=0,c=0,r=0;if(!t)i=c=r=a;else{const s=a<.5?a*(1+t):a+t-a*t,d=2*a-s;i=xC(d,s,e+1/3),c=xC(d,s,e),r=xC(d,s,e-1/3)}return{red:Math.round(i*255),green:Math.round(c*255),blue:Math.round(r*255),alpha:o}}function fv(e,t){return a=>a>0?t:e}const we=(e,t,a)=>e+(t-e)*a,LC=(e,t,a)=>{const o=e*e,i=a*(t*t-o)+o;return i<0?0:Math.sqrt(i)},Eoe=[DC,Xn,na],Roe=e=>Eoe.find(t=>t.test(e));function rw(e){const t=Roe(e);if(ha(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`),!t)return!1;let a=t.parse(e);return t===na&&(a=Poe(a)),a}const sw=(e,t)=>{const a=rw(e),o=rw(t);if(!a||!o)return fv(e,t);const i={...a};return c=>(i.red=LC(a.red,o.red,c),i.green=LC(a.green,o.green,c),i.blue=LC(a.blue,o.blue,c),i.alpha=we(a.alpha,o.alpha,c),Xn.transform(i))},FC=new Set(["none","hidden"]);function $oe(e,t){return FC.has(e)?a=>a<=0?e:t:a=>a>=1?t:e}function qoe(e,t){return a=>we(e,t,a)}function wx(e){return typeof e=="number"?qoe:typeof e=="string"?Cx(e)?fv:Ie.test(e)?sw:Hoe:Array.isArray(e)?fS:typeof e=="object"?Ie.test(e)?sw:Toe:fv}function fS(e,t){const a=[...e],o=a.length,i=e.map((c,r)=>wx(c)(c,t[r]));return c=>{for(let r=0;r<o;r++)a[r]=i[r](c);return a}}function Toe(e,t){const a={...e,...t},o={};for(const i in a)e[i]!==void 0&&t[i]!==void 0&&(o[i]=wx(e[i])(e[i],t[i]));return i=>{for(const c in o)a[c]=o[c](i);return a}}function joe(e,t){const a=[],o={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){const c=t.types[i],r=e.indexes[c][o[c]],s=e.values[r]??0;a[i]=s,o[c]++}return a}const Hoe=(e,t)=>{const a=d1.createTransformer(t),o=ba(e),i=ba(t);return o.indexes.var.length===i.indexes.var.length&&o.indexes.color.length===i.indexes.color.length&&o.indexes.number.length>=i.indexes.number.length?FC.has(e)&&!i.values.length||FC.has(t)&&!o.values.length?$oe(e,t):Pa(fS(joe(o,i),i.values),a):(ha(!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.`),fv(e,t))};function mS(e,t,a){return typeof e=="number"&&typeof t=="number"&&typeof a=="number"?we(e,t,a):wx(e)(e,t)}const Voe=e=>{const t=({timestamp:a})=>e(a);return{start:(a=!0)=>be.update(t,a),stop:()=>s1(t),now:()=>Ae.isProcessing?Ae.timestamp:He.now()}},MS=(e,t,a=10)=>{let o="";const i=Math.max(Math.round(t/a),2);for(let c=0;c<i;c++)o+=Math.round(e(c/(i-1))*1e4)/1e4+", ";return`linear(${o.substring(0,o.length-2)})`},mv=2e4;function bx(e){let t=0;const a=50;let o=e.next(t);for(;!o.done&&t<mv;)t+=a,o=e.next(t);return t>=mv?1/0:t}function zoe(e,t=100,a){const o=a({...e,keyframes:[0,t]}),i=Math.min(bx(o),mv);return{type:"keyframes",ease:c=>o.next(i*c).value/t,duration:Je(i)}}const Ooe=5;function _S(e,t,a){const o=Math.max(t-Ooe,0);return Qb(a-e(o),t-o)}const Le={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},wC=.001;function Doe({duration:e=Le.duration,bounce:t=Le.bounce,velocity:a=Le.velocity,mass:o=Le.mass}){let i,c;ha(e<=Ge(Le.maxDuration),"Spring duration must be 10 seconds or less");let r=1-t;r=o1(Le.minDamping,Le.maxDamping,r),e=o1(Le.minDuration,Le.maxDuration,Je(e)),r<1?(i=l=>{const h=l*r,u=h*e,p=h-a,y=BC(l,r),C=Math.exp(-u);return wC-p/y*C},c=l=>{const u=l*r*e,p=u*a+a,y=Math.pow(r,2)*Math.pow(l,2)*e,C=Math.exp(-u),g=BC(Math.pow(l,2),r);return(-i(l)+wC>0?-1:1)*((p-y)*C)/g}):(i=l=>{const h=Math.exp(-l*e),u=(l-a)*e+1;return-wC+h*u},c=l=>{const h=Math.exp(-l*e),u=(a-l)*(e*e);return h*u});const s=5/e,d=Boe(i,c,s);if(e=Ge(e),isNaN(d))return{stiffness:Le.stiffness,damping:Le.damping,duration:e};{const l=Math.pow(d,2)*o;return{stiffness:l,damping:r*2*Math.sqrt(o*l),duration:e}}}const Foe=12;function Boe(e,t,a){let o=a;for(let i=1;i<Foe;i++)o=o-e(o)/t(o);return o}function BC(e,t){return e*Math.sqrt(1-t*t)}const Uoe=["duration","bounce"],Zoe=["stiffness","damping","mass"];function dw(e,t){return t.some(a=>e[a]!==void 0)}function Goe(e){let t={velocity:Le.velocity,stiffness:Le.stiffness,damping:Le.damping,mass:Le.mass,isResolvedFromDuration:!1,...e};if(!dw(e,Zoe)&&dw(e,Uoe))if(e.visualDuration){const a=e.visualDuration,o=2*Math.PI/(a*1.2),i=o*o,c=2*o1(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:Le.mass,stiffness:i,damping:c}}else{const a=Doe(e);t={...t,...a,mass:Le.mass},t.isResolvedFromDuration=!0}return t}function Mv(e=Le.visualDuration,t=Le.bounce){const a=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:o,restDelta:i}=a;const c=a.keyframes[0],r=a.keyframes[a.keyframes.length-1],s={done:!1,value:c},{stiffness:d,damping:l,mass:h,duration:u,velocity:p,isResolvedFromDuration:y}=Goe({...a,velocity:-Je(a.velocity||0)}),C=p||0,g=l/(2*Math.sqrt(d*h)),x=r-c,m=Je(Math.sqrt(d/h)),N=Math.abs(x)<5;o||(o=N?Le.restSpeed.granular:Le.restSpeed.default),i||(i=N?Le.restDelta.granular:Le.restDelta.default);let f;if(g<1){const M=BC(m,g);f=S=>{const A=Math.exp(-g*m*S);return r-A*((C+g*m*x)/M*Math.sin(M*S)+x*Math.cos(M*S))}}else if(g===1)f=M=>r-Math.exp(-m*M)*(x+(C+m*x)*M);else{const M=m*Math.sqrt(g*g-1);f=S=>{const A=Math.exp(-g*m*S),P=Math.min(M*S,300);return r-A*((C+g*m*x)*Math.sinh(P)+M*x*Math.cosh(P))/M}}const w={calculatedDuration:y&&u||null,next:M=>{const S=f(M);if(y)s.done=M>=u;else{let A=M===0?C:0;g<1&&(A=M===0?Ge(C):_S(f,M,S));const P=Math.abs(A)<=o,H=Math.abs(r-S)<=i;s.done=P&&H}return s.value=s.done?r:S,s},toString:()=>{const M=Math.min(bx(w),mv),S=MS(A=>w.next(M*A).value,M,30);return M+"ms "+S},toTransition:()=>{}};return w}Mv.applyToOptions=e=>{const t=zoe(e,100,Mv);return e.ease=t.ease,e.duration=Ge(t.duration),e.type="keyframes",e};function UC({keyframes:e,velocity:t=0,power:a=.8,timeConstant:o=325,bounceDamping:i=10,bounceStiffness:c=500,modifyTarget:r,min:s,max:d,restDelta:l=.5,restSpeed:h}){const u=e[0],p={done:!1,value:u},y=P=>s!==void 0&&P<s||d!==void 0&&P>d,C=P=>s===void 0?d:d===void 0||Math.abs(s-P)<Math.abs(d-P)?s:d;let g=a*t;const x=u+g,m=r===void 0?x:r(x);m!==x&&(g=m-u);const N=P=>-g*Math.exp(-P/o),f=P=>m+N(P),w=P=>{const H=N(P),E=f(P);p.done=Math.abs(H)<=l,p.value=p.done?m:E};let M,S;const A=P=>{y(p.value)&&(M=P,S=Mv({keyframes:[p.value,C(p.value)],velocity:_S(f,P,p.value),damping:i,stiffness:c,restDelta:l,restSpeed:h}))};return A(0),{calculatedDuration:null,next:P=>{let H=!1;return!S&&M===void 0&&(H=!0,w(P),A(P)),M!==void 0&&P>=M?S.next(P-M):(!H&&w(P),p)}}}function Woe(e,t,a){const o=[],i=a||c1.mix||mS,c=e.length-1;for(let r=0;r<c;r++){let s=i(e[r],e[r+1]);if(t){const d=Array.isArray(t)?t[r]||Be:t;s=Pa(d,s)}o.push(s)}return o}function Xoe(e,t,{clamp:a=!0,ease:o,mixer:i}={}){const c=e.length;if(i1(c===t.length,"Both input and output ranges must be the same length"),c===1)return()=>t[0];if(c===2&&t[0]===t[1])return()=>t[1];const r=e[0]===e[1];e[0]>e[c-1]&&(e=[...e].reverse(),t=[...t].reverse());const s=Woe(t,o,i),d=s.length,l=h=>{if(r&&h<e[0])return t[0];let u=0;if(d>1)for(;u<e.length-2&&!(h<e[u+1]);u++);const p=La(e[u],e[u+1],h);return s[u](p)};return a?h=>l(o1(e[0],e[c-1],h)):l}function Koe(e,t){const a=e[e.length-1];for(let o=1;o<=t;o++){const i=La(0,t,o);e.push(we(a,1,i))}}function Yoe(e){const t=[0];return Koe(t,e.length-1),t}function Qoe(e,t){return e.map(a=>a*t)}function Joe(e,t){return e.map(()=>t||rS).splice(0,e.length-1)}function aa({duration:e=300,keyframes:t,times:a,ease:o="easeInOut"}){const i=loe(o)?o.map(aw):aw(o),c={done:!1,value:t[0]},r=Qoe(a&&a.length===t.length?a:Yoe(t),e),s=Xoe(r,t,{ease:Array.isArray(i)?i:Joe(t,i)});return{calculatedDuration:e,next:d=>(c.value=s(d),c.done=d>=e,c)}}const e0e=e=>e!==null;function Sx(e,{repeat:t,repeatType:a="loop"},o,i=1){const c=e.filter(e0e),s=i<0||t&&a!=="loop"&&t%2===1?0:c.length-1;return!s||o===void 0?c[s]:o}const t0e={decay:UC,inertia:UC,tween:aa,keyframes:aa,spring:Mv};function gS(e){typeof e.type=="string"&&(e.type=t0e[e.type])}class Ix{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,a){return this.finished.then(t,a)}}const n0e=e=>e/100;class Nx extends Ix{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{var o,i;const{motionValue:a}=this.options;a&&a.updatedAt!==He.now()&&this.tick(He.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(i=(o=this.options).onStop)==null||i.call(o))},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;gS(t);const{type:a=aa,repeat:o=0,repeatDelay:i=0,repeatType:c,velocity:r=0}=t;let{keyframes:s}=t;const d=a||aa;process.env.NODE_ENV!=="production"&&d!==aa&&i1(s.length<=2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${s}`),d!==aa&&typeof s[0]!="number"&&(this.mixKeyframes=Pa(n0e,mS(s[0],s[1])),s=[0,100]);const l=d({...t,keyframes:s});c==="mirror"&&(this.mirroredGenerator=d({...t,keyframes:[...s].reverse(),velocity:-r})),l.calculatedDuration===null&&(l.calculatedDuration=bx(l));const{calculatedDuration:h}=l;this.calculatedDuration=h,this.resolvedDuration=h+i,this.totalDuration=this.resolvedDuration*(o+1)-i,this.generator=l}updateTime(t){const a=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=a}tick(t,a=!1){const{generator:o,totalDuration:i,mixKeyframes:c,mirroredGenerator:r,resolvedDuration:s,calculatedDuration:d}=this;if(this.startTime===null)return o.next(0);const{delay:l=0,keyframes:h,repeat:u,repeatType:p,repeatDelay:y,type:C,onUpdate:g,finalKeyframe:x}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-i/this.speed,this.startTime)),a?this.currentTime=t:this.updateTime(t);const m=this.currentTime-l*(this.playbackSpeed>=0?1:-1),N=this.playbackSpeed>=0?m<0:m>i;this.currentTime=Math.max(m,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=i);let f=this.currentTime,w=o;if(u){const P=Math.min(this.currentTime,i)/s;let H=Math.floor(P),E=P%1;!E&&P>=1&&(E=1),E===1&&H--,H=Math.min(H,u+1),!!(H%2)&&(p==="reverse"?(E=1-E,y&&(E-=y/s)):p==="mirror"&&(w=r)),f=o1(0,1,E)*s}const M=N?{done:!1,value:h[0]}:w.next(f);c&&(M.value=c(M.value));let{done:S}=M;!N&&d!==null&&(S=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const A=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&S);return A&&C!==UC&&(M.value=Sx(h,this.options,x,this.speed)),g&&g(M.value),A&&this.finish(),M}then(t,a){return this.finished.then(t,a)}get duration(){return Je(this.calculatedDuration)}get time(){return Je(this.currentTime)}set time(t){var a;t=Ge(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),(a=this.driver)==null||a.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(He.now());const a=this.playbackSpeed!==t;this.playbackSpeed=t,a&&(this.time=Je(this.currentTime))}play(){var i,c;if(this.isStopped)return;const{driver:t=Voe,startTime:a}=this.options;this.driver||(this.driver=t(r=>this.tick(r))),(c=(i=this.options).onPlay)==null||c.call(i);const o=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=o):this.holdTime!==null?this.startTime=o-this.holdTime:this.startTime||(this.startTime=a??o),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(He.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){var t,a;this.notifyFinished(),this.teardown(),this.state="finished",(a=(t=this.options).onComplete)==null||a.call(t)}cancel(){var t,a;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(a=(t=this.options).onCancel)==null||a.call(t)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){var a;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(a=this.driver)==null||a.stop(),t.observe(this)}}function a0e(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const Kn=e=>e*180/Math.PI,ZC=e=>{const t=Kn(Math.atan2(e[1],e[0]));return GC(t)},o0e={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:ZC,rotateZ:ZC,skewX:e=>Kn(Math.atan(e[1])),skewY:e=>Kn(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},GC=e=>(e=e%360,e<0&&(e+=360),e),hw=ZC,lw=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),uw=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),i0e={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:lw,scaleY:uw,scale:e=>(lw(e)+uw(e))/2,rotateX:e=>GC(Kn(Math.atan2(e[6],e[5]))),rotateY:e=>GC(Kn(Math.atan2(-e[2],e[0]))),rotateZ:hw,rotate:hw,skewX:e=>Kn(Math.atan(e[4])),skewY:e=>Kn(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function WC(e){return e.includes("scale")?1:0}function XC(e,t){if(!e||e==="none")return WC(t);const a=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let o,i;if(a)o=i0e,i=a;else{const s=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);o=o0e,i=s}if(!i)return WC(t);const c=o[t],r=i[1].split(",").map(r0e);return typeof c=="function"?c(r):r[c]}const c0e=(e,t)=>{const{transform:a="none"}=getComputedStyle(e);return XC(a,t)};function r0e(e){return parseFloat(e.trim())}const ua=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],pa=new Set(ua),pw=e=>e===la||e===de,s0e=new Set(["x","y","z"]),d0e=ua.filter(e=>!s0e.has(e));function h0e(e){const t=[];return d0e.forEach(a=>{const o=e.getValue(a);o!==void 0&&(t.push([a,o.get()]),o.set(a.startsWith("scale")?1:0))}),t}const Yn={width:({x:e},{paddingLeft:t="0",paddingRight:a="0"})=>e.max-e.min-parseFloat(t)-parseFloat(a),height:({y:e},{paddingTop:t="0",paddingBottom:a="0"})=>e.max-e.min-parseFloat(t)-parseFloat(a),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})=>XC(t,"x"),y:(e,{transform:t})=>XC(t,"y")};Yn.translateX=Yn.x;Yn.translateY=Yn.y;const Qn=new Set;let KC=!1,YC=!1,QC=!1;function vS(){if(YC){const e=Array.from(Qn).filter(o=>o.needsMeasurement),t=new Set(e.map(o=>o.element)),a=new Map;t.forEach(o=>{const i=h0e(o);i.length&&(a.set(o,i),o.render())}),e.forEach(o=>o.measureInitialState()),t.forEach(o=>{o.render();const i=a.get(o);i&&i.forEach(([c,r])=>{var s;(s=o.getValue(c))==null||s.set(r)})}),e.forEach(o=>o.measureEndState()),e.forEach(o=>{o.suspendedScrollY!==void 0&&window.scrollTo(0,o.suspendedScrollY)})}YC=!1,KC=!1,Qn.forEach(e=>e.complete(QC)),Qn.clear()}function CS(){Qn.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(YC=!0)})}function l0e(){QC=!0,CS(),vS(),QC=!1}class Ax{constructor(t,a,o,i,c,r=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=a,this.name=o,this.motionValue=i,this.element=c,this.isAsync=r}scheduleResolve(){this.state="scheduled",this.isAsync?(Qn.add(this),KC||(KC=!0,be.read(CS),be.resolveKeyframes(vS))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:a,element:o,motionValue:i}=this;if(t[0]===null){const c=i==null?void 0:i.get(),r=t[t.length-1];if(c!==void 0)t[0]=c;else if(o&&a){const s=o.readValue(a,r);s!=null&&(t[0]=s)}t[0]===void 0&&(t[0]=r),i&&c===void 0&&i.set(t[0])}a0e(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),Qn.delete(this)}cancel(){this.state==="scheduled"&&(Qn.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const u0e=e=>e.startsWith("--");function p0e(e,t,a){u0e(t)?e.style.setProperty(t,a):e.style[t]=a}const y0e=fx(()=>window.ScrollTimeline!==void 0),k0e={};function f0e(e,t){const a=fx(e);return()=>k0e[t]??a()}const xS=f0e(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Ma=([e,t,a,o])=>`cubic-bezier(${e}, ${t}, ${a}, ${o})`,yw={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Ma([0,.65,.55,1]),circOut:Ma([.55,0,1,.45]),backIn:Ma([.31,.01,.66,-.59]),backOut:Ma([.33,1.53,.69,.99])};function LS(e,t){if(e)return typeof e=="function"?xS()?MS(e,t):"ease-out":sS(e)?Ma(e):Array.isArray(e)?e.map(a=>LS(a,t)||yw.easeOut):yw[e]}function m0e(e,t,a,{delay:o=0,duration:i=300,repeat:c=0,repeatType:r="loop",ease:s="easeOut",times:d}={},l=void 0){const h={[t]:a};d&&(h.offset=d);const u=LS(s,i);Array.isArray(u)&&(h.easing=u);const p={delay:o,duration:i,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:c+1,direction:r==="reverse"?"alternate":"normal"};return l&&(p.pseudoElement=l),e.animate(h,p)}function wS(e){return typeof e=="function"&&"applyToOptions"in e}function M0e({type:e,...t}){return wS(e)&&xS()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class _0e extends Ix{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;const{element:a,name:o,keyframes:i,pseudoElement:c,allowFlatten:r=!1,finalKeyframe:s,onComplete:d}=t;this.isPseudoElement=!!c,this.allowFlatten=r,this.options=t,i1(typeof t.type!="string",`animateMini doesn't support "type" as a string. Did you mean to import { spring } from "motion"?`);const l=M0e(t);this.animation=m0e(a,o,i,l,c),l.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!c){const h=Sx(i,this.options,s,this.speed);this.updateMotionValue?this.updateMotionValue(h):p0e(a,o,h),this.animation.cancel()}d==null||d(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var t,a;(a=(t=this.animation).finish)==null||a.call(t)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var t,a;this.isPseudoElement||(a=(t=this.animation).commitStyles)==null||a.call(t)}get duration(){var a,o;const t=((o=(a=this.animation.effect)==null?void 0:a.getComputedTiming)==null?void 0:o.call(a).duration)||0;return Je(Number(t))}get time(){return Je(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=Ge(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(t){this.animation.startTime=t}attachTimeline({timeline:t,observe:a}){var o;return this.allowFlatten&&((o=this.animation.effect)==null||o.updateTiming({easing:"linear"})),this.animation.onfinish=null,t&&y0e()?(this.animation.timeline=t,Be):a(this)}}const bS={anticipate:oS,backInOut:aS,circInOut:cS};function g0e(e){return e in bS}function v0e(e){typeof e.ease=="string"&&g0e(e.ease)&&(e.ease=bS[e.ease])}const kw=10;class C0e extends _0e{constructor(t){v0e(t),gS(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:a,onUpdate:o,onComplete:i,element:c,...r}=this.options;if(!a)return;if(t!==void 0){a.set(t);return}const s=new Nx({...r,autoplay:!1}),d=Ge(this.finishedTime??this.time);a.setWithVelocity(s.sample(d-kw).value,s.sample(d).value,kw),s.stop()}}const fw=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(d1.test(e)||e==="0")&&!e.startsWith("url("));function x0e(e){const t=e[0];if(e.length===1)return!0;for(let a=0;a<e.length;a++)if(e[a]!==t)return!0}function L0e(e,t,a,o){const i=e[0];if(i===null)return!1;if(t==="display"||t==="visibility")return!0;const c=e[e.length-1],r=fw(i,t),s=fw(c,t);return ha(r===s,`You are trying to animate ${t} from "${i}" to "${c}". ${i} is not an animatable value - to enable this animation set ${i} to a value animatable to ${c} via the \`style\` property.`),!r||!s?!1:x0e(e)||(a==="spring"||wS(a))&&o}function Px(e){return Kb(e)&&"offsetHeight"in e}const w0e=new Set(["opacity","clipPath","filter","transform"]),b0e=fx(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function S0e(e){var l;const{motionValue:t,name:a,repeatDelay:o,repeatType:i,damping:c,type:r}=e;if(!Px((l=t==null?void 0:t.owner)==null?void 0:l.current))return!1;const{onUpdate:s,transformTemplate:d}=t.owner.getProps();return b0e()&&a&&w0e.has(a)&&(a!=="transform"||!d)&&!s&&!o&&i!=="mirror"&&c!==0&&r!=="inertia"}const I0e=40;class N0e extends Ix{constructor({autoplay:t=!0,delay:a=0,type:o="keyframes",repeat:i=0,repeatDelay:c=0,repeatType:r="loop",keyframes:s,name:d,motionValue:l,element:h,...u}){var C;super(),this.stop=()=>{var g,x;this._animation&&(this._animation.stop(),(g=this.stopTimeline)==null||g.call(this)),(x=this.keyframeResolver)==null||x.cancel()},this.createdAt=He.now();const p={autoplay:t,delay:a,type:o,repeat:i,repeatDelay:c,repeatType:r,name:d,motionValue:l,element:h,...u},y=(h==null?void 0:h.KeyframeResolver)||Ax;this.keyframeResolver=new y(s,(g,x,m)=>this.onKeyframesResolved(g,x,p,!m),d,l,h),(C=this.keyframeResolver)==null||C.scheduleResolve()}onKeyframesResolved(t,a,o,i){this.keyframeResolver=void 0;const{name:c,type:r,velocity:s,delay:d,isHandoff:l,onUpdate:h}=o;this.resolvedAt=He.now(),L0e(t,c,r,s)||((c1.instantAnimations||!d)&&(h==null||h(Sx(t,o,a))),t[0]=t[t.length-1],o.duration=0,o.repeat=0);const p={startTime:i?this.resolvedAt?this.resolvedAt-this.createdAt>I0e?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:a,...o,keyframes:t},y=!l&&S0e(p)?new C0e({...p,element:p.motionValue.owner.current}):new Nx(p);y.finished.then(()=>this.notifyFinished()).catch(Be),this.pendingTimeline&&(this.stopTimeline=y.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=y}get finished(){return this._animation?this.animation.finished:this._finished}then(t,a){return this.finished.finally(t).then(()=>{})}get animation(){var t;return this._animation||((t=this.keyframeResolver)==null||t.resume(),l0e()),this._animation}get duration(){return this.animation.duration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var t;this._animation&&this.animation.cancel(),(t=this.keyframeResolver)==null||t.cancel()}}const A0e=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function P0e(e){const t=A0e.exec(e);if(!t)return[,];const[,a,o,i]=t;return[`--${a??o}`,i]}const E0e=4;function SS(e,t,a=1){i1(a<=E0e,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[o,i]=P0e(e);if(!o)return;const c=window.getComputedStyle(t).getPropertyValue(o);if(c){const r=c.trim();return Xb(r)?parseFloat(r):r}return Cx(i)?SS(i,t,a+1):i}function Ex(e,t){return(e==null?void 0:e[t])??(e==null?void 0:e.default)??e}const IS=new Set(["width","height","top","left","right","bottom",...ua]),R0e={test:e=>e==="auto",parse:e=>e},NS=e=>t=>t.test(e),AS=[la,de,e1,r1,xoe,Coe,R0e],mw=e=>AS.find(NS(e));function $0e(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Yb(e):!0}const q0e=new Set(["brightness","contrast","saturate","opacity"]);function T0e(e){const[t,a]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[o]=a.match(xx)||[];if(!o)return e;const i=a.replace(o,"");let c=q0e.has(t)?1:0;return o!==a&&(c*=100),t+"("+c+i+")"}const j0e=/\b([a-z-]*)\(.*?\)/gu,JC={...d1,getAnimatableNone:e=>{const t=e.match(j0e);return t?t.map(T0e).join(" "):e}},Mw={...la,transform:Math.round},H0e={rotate:r1,rotateX:r1,rotateY:r1,rotateZ:r1,scale:eo,scaleX:eo,scaleY:eo,scaleZ:eo,skew:r1,skewX:r1,skewY:r1,distance:de,translateX:de,translateY:de,translateZ:de,x:de,y:de,z:de,perspective:de,transformPerspective:de,opacity:wa,originX:iw,originY:iw,originZ:de},Rx={borderWidth:de,borderTopWidth:de,borderRightWidth:de,borderBottomWidth:de,borderLeftWidth:de,borderRadius:de,radius:de,borderTopLeftRadius:de,borderTopRightRadius:de,borderBottomRightRadius:de,borderBottomLeftRadius:de,width:de,maxWidth:de,height:de,maxHeight:de,top:de,right:de,bottom:de,left:de,padding:de,paddingTop:de,paddingRight:de,paddingBottom:de,paddingLeft:de,margin:de,marginTop:de,marginRight:de,marginBottom:de,marginLeft:de,backgroundPositionX:de,backgroundPositionY:de,...H0e,zIndex:Mw,fillOpacity:wa,strokeOpacity:wa,numOctaves:Mw},V0e={...Rx,color:Ie,backgroundColor:Ie,outlineColor:Ie,fill:Ie,stroke:Ie,borderColor:Ie,borderTopColor:Ie,borderRightColor:Ie,borderBottomColor:Ie,borderLeftColor:Ie,filter:JC,WebkitFilter:JC},PS=e=>V0e[e];function ES(e,t){let a=PS(e);return a!==JC&&(a=d1),a.getAnimatableNone?a.getAnimatableNone(t):void 0}const z0e=new Set(["auto","none","0"]);function O0e(e,t,a){let o=0,i;for(;o<e.length&&!i;){const c=e[o];typeof c=="string"&&!z0e.has(c)&&ba(c).values.length&&(i=e[o]),o++}if(i&&a)for(const c of t)e[c]=ES(a,i)}class D0e extends Ax{constructor(t,a,o,i,c){super(t,a,o,i,c,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:a,name:o}=this;if(!a||!a.current)return;super.readKeyframes();for(let d=0;d<t.length;d++){let l=t[d];if(typeof l=="string"&&(l=l.trim(),Cx(l))){const h=SS(l,a.current);h!==void 0&&(t[d]=h),d===t.length-1&&(this.finalKeyframe=l)}}if(this.resolveNoneKeyframes(),!IS.has(o)||t.length!==2)return;const[i,c]=t,r=mw(i),s=mw(c);if(r!==s)if(pw(r)&&pw(s))for(let d=0;d<t.length;d++){const l=t[d];typeof l=="string"&&(t[d]=parseFloat(l))}else Yn[o]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:a}=this,o=[];for(let i=0;i<t.length;i++)(t[i]===null||$0e(t[i]))&&o.push(i);o.length&&O0e(t,o,a)}measureInitialState(){const{element:t,unresolvedKeyframes:a,name:o}=this;if(!t||!t.current)return;o==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Yn[o](t.measureViewportBox(),window.getComputedStyle(t.current)),a[0]=this.measuredOrigin;const i=a[a.length-1];i!==void 0&&t.getValue(o,i).jump(i,!1)}measureEndState(){var s;const{element:t,name:a,unresolvedKeyframes:o}=this;if(!t||!t.current)return;const i=t.getValue(a);i&&i.jump(this.measuredOrigin,!1);const c=o.length-1,r=o[c];o[c]=Yn[a](t.measureViewportBox(),window.getComputedStyle(t.current)),r!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=r),(s=this.removedTransforms)!=null&&s.length&&this.removedTransforms.forEach(([d,l])=>{t.getValue(d).set(l)}),this.resolveNoneKeyframes()}}function F0e(e,t,a){if(e instanceof EventTarget)return[e];if(typeof e=="string"){let o=document;const i=(a==null?void 0:a[e])??o.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e)}const RS=(e,t)=>t&&typeof e=="number"?t.transform(e):e,_w=30,B0e=e=>!isNaN(parseFloat(e));class U0e{constructor(t,a={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=(o,i=!0)=>{var r,s;const c=He.now();if(this.updatedAt!==c&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(o),this.current!==this.prev&&((r=this.events.change)==null||r.notify(this.current),this.dependents))for(const d of this.dependents)d.dirty();i&&((s=this.events.renderRequest)==null||s.notify(this.current))},this.hasAnimated=!1,this.setCurrent(t),this.owner=a.owner}setCurrent(t){this.current=t,this.updatedAt=He.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=B0e(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return process.env.NODE_ENV!=="production"&&Mx(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",t)}on(t,a){this.events[t]||(this.events[t]=new mx);const o=this.events[t].add(a);return t==="change"?()=>{o(),be.read(()=>{this.events.change.getSize()||this.stop()})}:o}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,a){this.passiveEffect=t,this.stopPassiveEffect=a}set(t,a=!0){!a||!this.passiveEffect?this.updateAndNotify(t,a):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,a,o){this.set(a),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-o}jump(t,a=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,a&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var t;(t=this.events.change)==null||t.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=He.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>_w)return 0;const a=Math.min(this.updatedAt-this.prevUpdatedAt,_w);return Qb(parseFloat(this.current)-parseFloat(this.prevFrameValue),a)}start(t){return this.stop(),new Promise(a=>{this.hasAnimated=!0,this.animation=t(a),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(){var t,a;(t=this.dependents)==null||t.clear(),(a=this.events.destroy)==null||a.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function sa(e,t){return new U0e(e,t)}const{schedule:$x}=dS(queueMicrotask,!1),Ze={x:!1,y:!1};function $S(){return Ze.x||Ze.y}function Z0e(e){return e==="x"||e==="y"?Ze[e]?null:(Ze[e]=!0,()=>{Ze[e]=!1}):Ze.x||Ze.y?null:(Ze.x=Ze.y=!0,()=>{Ze.x=Ze.y=!1})}function qS(e,t){const a=F0e(e),o=new AbortController,i={passive:!0,...t,signal:o.signal};return[a,i,()=>o.abort()]}function gw(e){return!(e.pointerType==="touch"||$S())}function G0e(e,t,a={}){const[o,i,c]=qS(e,a),r=s=>{if(!gw(s))return;const{target:d}=s,l=t(d,s);if(typeof l!="function"||!d)return;const h=u=>{gw(u)&&(l(u),d.removeEventListener("pointerleave",h))};d.addEventListener("pointerleave",h,i)};return o.forEach(s=>{s.addEventListener("pointerenter",r,i)}),c}const TS=(e,t)=>t?e===t?!0:TS(e,t.parentElement):!1,qx=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,W0e=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function X0e(e){return W0e.has(e.tagName)||e.tabIndex!==-1}const uv=new WeakSet;function vw(e){return t=>{t.key==="Enter"&&e(t)}}function bC(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const K0e=(e,t)=>{const a=e.currentTarget;if(!a)return;const o=vw(()=>{if(uv.has(a))return;bC(a,"down");const i=vw(()=>{bC(a,"up")}),c=()=>bC(a,"cancel");a.addEventListener("keyup",i,t),a.addEventListener("blur",c,t)});a.addEventListener("keydown",o,t),a.addEventListener("blur",()=>a.removeEventListener("keydown",o),t)};function Cw(e){return qx(e)&&!$S()}function Y0e(e,t,a={}){const[o,i,c]=qS(e,a),r=s=>{const d=s.currentTarget;if(!Cw(s))return;uv.add(d);const l=t(d,s),h=(y,C)=>{window.removeEventListener("pointerup",u),window.removeEventListener("pointercancel",p),uv.has(d)&&uv.delete(d),Cw(y)&&typeof l=="function"&&l(y,{success:C})},u=y=>{h(y,d===window||d===document||a.useGlobalTarget||TS(d,y.target))},p=y=>{h(y,!1)};window.addEventListener("pointerup",u,i),window.addEventListener("pointercancel",p,i)};return o.forEach(s=>{(a.useGlobalTarget?window:s).addEventListener("pointerdown",r,i),Px(s)&&(s.addEventListener("focus",l=>K0e(l,i)),!X0e(s)&&!s.hasAttribute("tabindex")&&(s.tabIndex=0))}),c}function jS(e){return Kb(e)&&"ownerSVGElement"in e}function Q0e(e){return jS(e)&&e.tagName==="svg"}const Re=e=>!!(e&&e.getVelocity),J0e=[...AS,Ie,d1],eie=e=>J0e.find(NS(e)),Tx=q.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});class tie extends k.Component{getSnapshotBeforeUpdate(t){const a=this.props.childRef.current;if(a&&t.isPresent&&!this.props.isPresent){const o=a.offsetParent,i=Px(o)&&o.offsetWidth||0,c=this.props.sizeRef.current;c.height=a.offsetHeight||0,c.width=a.offsetWidth||0,c.top=a.offsetTop,c.left=a.offsetLeft,c.right=i-c.width-c.left}return null}componentDidUpdate(){}render(){return this.props.children}}function nie({children:e,isPresent:t,anchorX:a}){const o=q.useId(),i=q.useRef(null),c=q.useRef({width:0,height:0,top:0,left:0,right:0}),{nonce:r}=q.useContext(Tx);return q.useInsertionEffect(()=>{const{width:s,height:d,top:l,left:h,right:u}=c.current;if(t||!i.current||!s||!d)return;const p=a==="left"?`left: ${h}`:`right: ${u}`;i.current.dataset.motionPopId=o;const y=document.createElement("style");return r&&(y.nonce=r),document.head.appendChild(y),y.sheet&&y.sheet.insertRule(`
7827
+ `)),Oae=e=>k.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 1402.223 555.556",enableBackground:"new 0 0 1402.223 555.556",xmlSpace:"preserve",...e},k.createElement("g",null,k.createElement("path",{d:"M525.544,124.801c46.138,24.343,77.665,59.881,82.312,141.069c0,68.89,0,271.454,0,271.454H485.701V318.559 c0-43.113,0-67.861-11.176-85.426c-9.582-15.967-28.741-23.953-46.307-23.953c-10.379,0-39.125,2.396-54.294,29.543 c-9.582,16.762-8.785,34.327-8.785,71.854v226.748H242.982V289.818c0-39.917-5.579-57.483-23.951-69.46 c-10.375-7.187-23.149-10.379-35.923-10.379c-5.588,0-21.56,0-35.131,10.379c-25.549,19.162-26.351,51.895-26.351,79.039v237.928 H0.272c0,0-0.325-207.584-0.265-270.582c6.238-82.061,41.884-118.628,86.636-142.683c59.142-31.791,168.606-39.686,226.02,15.525 c-7.087,13.047-19.857,29.651-23.716,52.304C341.313,95.412,454.07,87.095,525.544,124.801z",fill:"#1055c4"}),k.createElement("path",{d:"M813.066,205.987v186.827c0,16.764-0.797,26.346,3.197,33.533c7.182,13.57,26.346,13.57,28.746,13.57 c14.367,0,28.74-0.797,43.109-0.797v95.01c-7.979,1.598-36.725,6.389-64.674,6.389c-8.779,0-17.561,0-25.539-0.801 c-11.182-0.797-47.91,0-75.855-25.549c-31.938-27.943-30.339-70.258-30.339-108.584V205.188h-60.68v-75.052h60.68V0h121.354 v130.939h81.438v75.048H813.066z",fill:"#1055c4"}),k.createElement("path",{d:"M1267.896,479.039c-55.092,64.674-126.15,71.859-156.49,71.859c-18.363,0-55.088-2.395-97.404-23.156 c-78.242-38.324-109.379-112.574-109.379-195.611c0-19.16,0.797-59.079,20.754-105.383 c47.107-109.387,150.102-118.169,188.424-118.169c32.736,0,106.189,6.387,162.078,76.651c4.787,6.387,7.984,11.178,15.967,23.953 l-91.02,51.895c-0.797-2.396-7.186-15.172-13.57-23.955c-7.188-8.783-30.428-31.756-67.861-34.327 c-21.539-1.479-45.242,4.065-66.498,21.07c-41.398,33.119-44.307,96.297-44.307,104.276c0,35.928,9.92,84.969,39.918,105.393 c22.141,15.076,48.238,22.283,74.875,19.957c39.779-3.475,61.498-27.129,68.664-37.521c4.592-6.658,7.168-10.158,14.744-23.318 l89.842,46.467C1287.852,452.697,1278.275,467.062,1267.896,479.039",fill:"#1055c4"}),k.createElement("g",null,k.createElement("path",{d:"M1311.33,509.396c0-11.961,8.439-39.393,43.617-39.393c20.395,0,39.395,16.178,39.395,42.209 c0,23.213-17.588,38.686-39.395,38.686C1339.465,550.898,1311.33,542.457,1311.33,509.396z",fill:"#1055c4"})))),Dae=e=>k.createElement("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 317.4 115.8",style:{enableBackground:"new 0 0 317.4 115.8"},xmlSpace:"preserve",...e},k.createElement("g",{id:"Layer_1-2"},k.createElement("path",{fill:"#06549E",d:"M38.1,5.1l-5.1,9.7c-5.7-2.9-10.3-4.4-13.6-4.4c-1.9,0-3.1,0.7-3.1,2c0,4.7,21.7,2.6,21.7,16.8 c0,8.6-7.4,13.8-18.3,13.8c-7,0.1-13.8-1.9-19.6-5.9l4.8-9.7c5.2,3.4,10.5,5.1,15.1,5.1c2.1,0,3.5-0.6,3.5-1.9 C23.3,25.9,2,28.2,2,14C2,5.2,9.3,0,19.8,0C26.2,0.1,32.5,1.8,38.1,5.1z"}),k.createElement("path",{fill:"#06549E",d:"M84.5,15.9v26.4H69v-22c0-4.1-2.4-6.7-6-6.7c-4.2,0.1-6.8,3.4-6.8,8.1v20.6H40.7V0.6h15.5v6.4 c2.9-4.6,7.4-7,13.2-7C78.3,0,84.5,6.2,84.5,15.9z"}),k.createElement("path",{fill:"#06549E",d:"M127.9,15.2v27h-15.2v-4.6c-2.5,3.4-6.7,5.4-12.2,5.4c-8.9,0-14.1-5.3-14.1-13.1c0-8,5.6-12.5,16.1-12.6h10.2 v-0.1c0-3.4-2.4-5.5-7.2-5.5c-4.3,0.2-8.6,1.2-12.6,3L89.2,4.3c6.3-2.7,13.2-4.2,20.1-4.3C121,0,127.9,5.6,127.9,15.2z M112.8,28.6 v-3.8h-7c-3.1,0-4.7,1.3-4.7,3.9s1.7,4.1,4.7,4.1C108.8,32.9,111.5,31.2,112.8,28.6z"}),k.createElement("path",{fill:"#06549E",d:"M176.8,21.8c0,12.8-7.4,21.1-18.9,21.1c-4.5,0.1-8.9-1.8-11.8-5.4v20.1h-15.5V0.7h15.5v4.8 c2.8-3.5,7-5.4,11.4-5.4C169.2,0.2,176.8,8.8,176.8,21.8z M161.2,21.4c0-5.5-3-9.3-7.6-9.3c-4.4,0-7.5,3.8-7.5,9.3s3.1,9.3,7.5,9.3 C158.2,30.7,161.2,26.9,161.2,21.4z"}),k.createElement("path",{fill:"#06549E",d:"M224.7,21.8c0,12.8-7.4,21.1-18.9,21.1c-4.5,0.1-8.9-1.9-11.8-5.4v20.1h-15.5V0.7H194v4.8 c2.8-3.5,7-5.4,11.4-5.4C217,0.2,224.7,8.8,224.7,21.8z M209.1,21.4c0-5.5-3-9.3-7.6-9.3c-4.4,0-7.5,3.8-7.5,9.3s3.1,9.3,7.5,9.3 C206.1,30.7,209.1,26.9,209.1,21.4z"}),k.createElement("path",{fill:"#06549E",d:"M250.6,45.9c-3.3,8.2-9,12-17.3,12c-4.9,0.1-9.6-1.6-13.4-4.6l6.4-10.3c1.5,1.5,3.5,2.4,5.6,2.4 c1.9,0.1,3.7-0.9,4.5-2.7l0.8-1.5L220,0.7h15.8l9.1,25.5l7.7-25.5H268L250.6,45.9z"}),k.createElement("path",{fill:"#E42833",d:"M38.1,63.5l-5.1,9.7c-5.7-2.9-10.3-4.4-13.6-4.4c-1.9,0-3.1,0.7-3.1,2c0,4.7,21.7,2.6,21.7,16.8 c0,8.6-7.4,13.8-18.3,13.8c-7,0.1-13.8-1.9-19.6-5.9l4.8-9.7C10,89.2,15.2,91,19.8,91c2.1,0,3.5-0.6,3.5-1.9 C23.3,84.3,2,86.6,2,72.3c0-8.7,7.3-13.9,17.8-13.9C26.2,58.5,32.5,60.2,38.1,63.5z"}),k.createElement("path",{fill:"#E42833",d:"M84.5,74.3v26.4H69v-22c0-4.1-2.3-6.8-6-6.8c-4.2,0.1-6.8,3.4-6.8,8.1v20.6H40.7V43.9h15.5v21.6 c2.9-4.6,7.4-7,13.2-7C78.4,58.5,84.5,64.7,84.5,74.3z"}),k.createElement("path",{fill:"#E42833",d:"M127.9,79.9c0,12.9-8.2,21.4-20.7,21.4s-20.7-8.5-20.7-21.4s8.2-21.4,20.7-21.4S127.9,67,127.9,79.9z M99.5,79.8c0,5.6,3.1,9.3,7.8,9.3s7.7-3.7,7.7-9.3s-3.1-9.3-7.7-9.3S99.5,74.3,99.5,79.8z"}),k.createElement("path",{fill:"#E42833",d:"M176.8,80.3c0,12.8-7.4,21.1-18.9,21.1c-4.5,0.1-8.9-1.9-11.8-5.4v19.7h-15.5V59.2h15.5v4.8 c2.8-3.5,7-5.4,11.4-5.4C169.2,58.7,176.8,67.3,176.8,80.3z M161.2,79.9c0-5.5-3-9.3-7.6-9.3c-4.4,0-7.5,3.8-7.5,9.3 s3.1,9.3,7.5,9.3C158.2,89.2,161.2,85.4,161.2,79.9z"}),k.createElement("path",{fill:"#E42833",d:"M224.7,80.3c0,12.8-7.4,21.1-18.9,21.1c-4.5,0.1-8.9-1.9-11.8-5.4v19.7h-15.5V59.2H194v4.8 c2.8-3.5,7-5.5,11.4-5.4C217,58.7,224.7,67.3,224.7,80.3z M209.1,79.9c0-5.5-3-9.3-7.6-9.3c-4.4,0-7.5,3.8-7.5,9.3s3.1,9.3,7.5,9.3 C206.1,89.2,209.1,85.4,209.1,79.9z"}),k.createElement("path",{fill:"#E42833",d:"M269.8,83.8h-28c1.2,4,4.1,6.2,8.1,6.2c3.5-0.1,6.7-1.6,9.2-4l8,7.9c-4.4,4.8-10.6,7.5-18.5,7.5 c-13.9,0-22.4-8.4-22.4-21.2c0-13,8.8-21.5,22-21.5C262.7,58.7,270.7,68.5,269.8,83.8z M254.5,76.2c0.1-4.1-2.5-7-6.3-7 c-3.6,0-6,2.8-6.8,7H254.5z"}),k.createElement("path",{fill:"#E42833",d:"M286.6,65.8c2.8-4.6,7.8-7.3,13.1-7.2v13.9c-8-1-13.1,2.4-13.1,8.4v19.9h-15.5V59.2h15.5V65.8z"}),k.createElement("path",{fill:"#E42833",d:"M276.3,8.1c0.4-1.6,1.7-3.4,3.3-3.4h4.4c0,4.4,0.8,4.4,1.7,4.4h10c0.9,0,1.7,0,1.7-4.4h4.4 c1.6,0,2.9,1.9,3.3,3.4l2.4,11.6h3.5L308.2,7c-0.7-3.1-3.4-6.3-6.5-6.3h-22.2c-3.1,0-5.8,3.3-6.5,6.3l-2.6,12.6h3.5L276.3,8.1z"}),k.createElement("path",{fill:"#06549E",d:"M281.2,41c-4.1,0-7.4,3.3-7.4,7.4c0,4.1,3.3,7.4,7.4,7.4c4.1,0,7.4-3.3,7.4-7.4c0,0,0,0,0,0 C288.6,44.3,285.3,41,281.2,41C281.2,41,281.2,41,281.2,41z M283.7,48.4c0,1.4-1.1,2.5-2.5,2.5s-2.5-1.1-2.5-2.5s1.1-2.5,2.5-2.5 l0,0C282.5,45.9,283.7,47,283.7,48.4L283.7,48.4z"}),k.createElement("path",{fill:"#06549E",d:"M300,41c-4.1,0-7.4,3.3-7.4,7.4s3.3,7.4,7.4,7.4c4.1,0,7.4-3.3,7.4-7.4c0,0,0,0,0,0 C307.4,44.3,304.1,41,300,41z M302.5,48.4c0,1.4-1.2,2.5-2.6,2.5c-1.4,0-2.5-1.2-2.5-2.6c0-1.4,1.1-2.5,2.5-2.5 C301.4,45.8,302.5,46.9,302.5,48.4C302.6,48.4,302.6,48.4,302.5,48.4L302.5,48.4z"}),k.createElement("path",{fill:"#E42833",d:"M314.1,19.7h-46.9c-1.8,0-3.3,1.5-3.3,3.3s1.5,3.3,3.3,3.3l0,0h0.4l3,17.9c0.2,1.1,0.9,2.2,1.9,2.8 c0.6-4.9,5.1-8.3,9.9-7.7c4.2,0.5,7.4,3.9,7.7,8.1h1.1c0.4-4.9,4.6-8.5,9.5-8.2c4.2,0.3,7.6,3.5,8.1,7.7c1-0.7,1.7-1.7,1.9-2.8 l3-17.9h0.4c1.8,0,3.3-1.5,3.3-3.3S315.9,19.6,314.1,19.7L314.1,19.7z M275.3,28.3h0.1c0.1,0,0.3,0,0.4,0H275.3z M285.4,28.3h0.2 h0.2H285.4z M295.4,28.3h0.2h0.2H295.4z M305.4,28.3c0.1,0,0.3,0,0.4,0h0.1H305.4z"}),k.createElement("path",{fill:"#E42833",d:"M285.5,29h0.4h-0.2H285.5z"}),k.createElement("path",{fill:"#E42833",d:"M295.3,29h0.4h-0.2H295.3z"}),k.createElement("path",{fill:"#E42833",d:"M305,29h0.5h-0.1C305.3,29,305.1,29,305,29z"}))),Fae={"leaseloco-logo":zae,"snappy-logo":Dae,"hungrrr-logo":Vae,"mtc-logo":Oae},Bae=({id:e,data:t,hasHeader:a=!1})=>{const i=t1.useMounted()?"":Ue.skeleton;return _.jsx("div",{id:e,className:Y(Ue.timeline,a&&Ue.header),children:_.jsxs("div",{className:Ue.container,children:[_.jsxs("div",{className:Ue.intro,children:[_.jsx("h2",{className:i,children:"My timeline"}),_.jsx("h3",{className:i,children:"Explore key roles and milestones over the years"})]}),_.jsx("div",{className:Ue.list,children:t.map((c,r)=>{const s=Fae[c.icon];return _.jsxs("div",{className:Ue.item,children:[_.jsxs("div",{className:Ue.left,children:[_.jsx("span",{className:Y(Ue.dot,i)}),_.jsxs("div",{className:Ue.text,children:[_.jsx("h4",{className:i,children:c.date}),s&&_.jsx(s,{height:"32",className:i})]})]}),_.jsxs("div",{className:Ue.right,children:[_.jsx("h4",{className:i,children:c.location}),_.jsx("h5",{className:i,children:c.role}),c.description.map((d,l)=>_.jsx("p",{className:i,children:d},l))]})]},r)})})]})})},Uae="card-module__container___IbiZO",Zae="card-module__border___EGmYn",Gae="card-module__padding___EM-vf",Wae="card-module__title___-UuxP",Xae="card-module__content___dH-X7",fa={container:Uae,border:Zae,padding:Gae,title:Wae,content:Xae},Kae=({children:e,title:t,border:a=!1,padding:o=!1,className:i=""})=>_.jsxs("div",{className:Y(fa.container,a&&fa.border,o&&fa.padding,i),children:[t&&_.jsx("div",{className:fa.title,children:t}),_.jsx("div",{className:fa.content,children:e})]}),Yae="footer-module__footer___5PSsO",Qae="footer-module__skeleton___xsTB0",Jae="footer-module__container___VZcu-",eoe="footer-module__social___B-T-l",Qa={footer:Yae,skeleton:Qae,container:Jae,social:eoe},toe=()=>{const e=t1.useMounted(),t=new Date().getFullYear();return _.jsx("div",{className:Qa.footer,children:_.jsxs("div",{className:Qa.container,children:[_.jsx(hx,{className:Qa.social,isMounted:e}),_.jsxs("p",{className:Y(!e&&Qa.skeleton),children:["© ",t," Michael Allen"]})]})})},noe="navigation-module__nav___xApEM",aoe="navigation-module__skeleton___5r35M",ooe="navigation-module__active___cFzkK",l1={nav:noe,skeleton:aoe,active:ooe},ioe=({activeSection:e,className:t})=>{const a=t1.useMounted();return _.jsx("div",{className:Y(l1.nav,!a&&l1.skeleton,t),children:_.jsxs("ul",{children:[_.jsx("li",{children:_.jsx(Wn,{href:"/",className:Y(e==="banner"&&l1.active),children:"Home"})}),_.jsx("li",{children:_.jsx(Wn,{href:"/#about-me",className:Y(e==="about-me"&&l1.active),children:"About me"})}),_.jsx("li",{children:_.jsx(Wn,{href:"/#projects",className:Y(e==="projects"&&l1.active),children:"Projects"})}),_.jsx("li",{children:_.jsx(Wn,{href:"/#timeline",className:Y(e==="timeline"&&l1.active),children:"Timeline"})}),_.jsx("li",{children:_.jsx(Wn,{href:"mailto:michael@uplord.co.uk",className:Y(e==="stack"&&l1.active),children:"Contact"})})]})})},ux=q.createContext({});function bv(e){const t=q.useRef(null);return t.current===null&&(t.current=e()),t.current}const px=typeof window<"u",Wb=px?q.useLayoutEffect:q.useEffect,Sv=q.createContext(null);function yx(e,t){e.indexOf(t)===-1&&e.push(t)}function kx(e,t){const a=e.indexOf(t);a>-1&&e.splice(a,1)}const o1=(e,t,a)=>a>t?t:a<e?e:a;let ha=()=>{},i1=()=>{};process.env.NODE_ENV!=="production"&&(ha=(e,t)=>{!e&&typeof console<"u"&&console.warn(t)},i1=(e,t)=>{if(!e)throw new Error(t)});const c1={},Xb=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function Kb(e){return typeof e=="object"&&e!==null}const Yb=e=>/^0[^.\s]+$/u.test(e);function fx(e){let t;return()=>(t===void 0&&(t=e()),t)}const Be=e=>e,coe=(e,t)=>a=>t(e(a)),Ea=(...e)=>e.reduce(coe),wa=(e,t,a)=>{const o=t-e;return o===0?1:(a-e)/o};class mx{constructor(){this.subscriptions=[]}add(t){return yx(this.subscriptions,t),()=>kx(this.subscriptions,t)}notify(t,a,o){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](t,a,o);else for(let c=0;c<i;c++){const r=this.subscriptions[c];r&&r(t,a,o)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Ge=e=>e*1e3,Je=e=>e/1e3;function Qb(e,t){return t?e*(1e3/t):0}const tw=new Set;function Mx(e,t,a){e||tw.has(t)||(console.warn(t),tw.add(t))}const Jb=(e,t,a)=>(((1-3*a+3*t)*e+(3*a-6*t))*e+3*t)*e,roe=1e-7,soe=12;function doe(e,t,a,o,i){let c,r,s=0;do r=t+(a-t)/2,c=Jb(r,o,i)-e,c>0?a=r:t=r;while(Math.abs(c)>roe&&++s<soe);return r}function Ra(e,t,a,o){if(e===t&&a===o)return Be;const i=c=>doe(c,0,1,e,a);return c=>c===0||c===1?c:Jb(i(c),t,o)}const eS=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,tS=e=>t=>1-e(1-t),nS=Ra(.33,1.53,.69,.99),_x=tS(nS),aS=eS(_x),oS=e=>(e*=2)<1?.5*_x(e):.5*(2-Math.pow(2,-10*(e-1))),gx=e=>1-Math.sin(Math.acos(e)),iS=tS(gx),cS=eS(gx),hoe=Ra(.42,0,1,1),loe=Ra(0,0,.58,1),rS=Ra(.42,0,.58,1),uoe=e=>Array.isArray(e)&&typeof e[0]!="number",sS=e=>Array.isArray(e)&&typeof e[0]=="number",nw={linear:Be,easeIn:hoe,easeInOut:rS,easeOut:loe,circIn:gx,circInOut:cS,circOut:iS,backIn:_x,backInOut:aS,backOut:nS,anticipate:oS},poe=e=>typeof e=="string",aw=e=>{if(sS(e)){i1(e.length===4,"Cubic bezier arrays must contain four numerical values.");const[t,a,o,i]=e;return Ra(t,a,o,i)}else if(poe(e))return i1(nw[e]!==void 0,`Invalid easing type '${e}'`),nw[e];return e},Ja=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],ow={value:null};function yoe(e,t){let a=new Set,o=new Set,i=!1,c=!1;const r=new WeakSet;let s={delta:0,timestamp:0,isProcessing:!1},d=0;function l(u){r.has(u)&&(h.schedule(u),e()),d++,u(s)}const h={schedule:(u,p=!1,y=!1)=>{const g=y&&i?a:o;return p&&r.add(u),g.has(u)||g.add(u),u},cancel:u=>{o.delete(u),r.delete(u)},process:u=>{if(s=u,i){c=!0;return}i=!0,[a,o]=[o,a],a.forEach(l),t&&ow.value&&ow.value.frameloop[t].push(d),d=0,a.clear(),i=!1,c&&(c=!1,h.process(u))}};return h}const koe=40;function dS(e,t){let a=!1,o=!0;const i={delta:0,timestamp:0,isProcessing:!1},c=()=>a=!0,r=Ja.reduce((f,w)=>(f[w]=yoe(c,t?w:void 0),f),{}),{setup:s,read:d,resolveKeyframes:l,preUpdate:h,update:u,preRender:p,render:y,postRender:C}=r,g=()=>{const f=c1.useManualTiming?i.timestamp:performance.now();a=!1,c1.useManualTiming||(i.delta=o?1e3/60:Math.max(Math.min(f-i.timestamp,koe),1)),i.timestamp=f,i.isProcessing=!0,s.process(i),d.process(i),l.process(i),h.process(i),u.process(i),p.process(i),y.process(i),C.process(i),i.isProcessing=!1,a&&t&&(o=!1,e(g))},x=()=>{a=!0,o=!0,i.isProcessing||e(g)};return{schedule:Ja.reduce((f,w)=>{const M=r[w];return f[w]=(S,A=!1,P=!1)=>(a||x(),M.schedule(S,A,P)),f},{}),cancel:f=>{for(let w=0;w<Ja.length;w++)r[Ja[w]].cancel(f)},state:i,steps:r}}const{schedule:be,cancel:s1,state:Ae,steps:vC}=dS(typeof requestAnimationFrame<"u"?requestAnimationFrame:Be,!0);let lv;function foe(){lv=void 0}const He={now:()=>(lv===void 0&&He.set(Ae.isProcessing||c1.useManualTiming?Ae.timestamp:performance.now()),lv),set:e=>{lv=e,queueMicrotask(foe)}},hS=e=>t=>typeof t=="string"&&t.startsWith(e),vx=hS("--"),moe=hS("var(--"),Cx=e=>moe(e)?Moe.test(e.split("/*")[0].trim()):!1,Moe=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,la={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},ba={...la,transform:e=>o1(0,1,e)},eo={...la,default:1},va=e=>Math.round(e*1e5)/1e5,xx=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function _oe(e){return e==null}const goe=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Lx=(e,t)=>a=>!!(typeof a=="string"&&goe.test(a)&&a.startsWith(e)||t&&!_oe(a)&&Object.prototype.hasOwnProperty.call(a,t)),lS=(e,t,a)=>o=>{if(typeof o!="string")return o;const[i,c,r,s]=o.match(xx);return{[e]:parseFloat(i),[t]:parseFloat(c),[a]:parseFloat(r),alpha:s!==void 0?parseFloat(s):1}},voe=e=>o1(0,255,e),CC={...la,transform:e=>Math.round(voe(e))},Xn={test:Lx("rgb","red"),parse:lS("red","green","blue"),transform:({red:e,green:t,blue:a,alpha:o=1})=>"rgba("+CC.transform(e)+", "+CC.transform(t)+", "+CC.transform(a)+", "+va(ba.transform(o))+")"};function Coe(e){let t="",a="",o="",i="";return e.length>5?(t=e.substring(1,3),a=e.substring(3,5),o=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),a=e.substring(2,3),o=e.substring(3,4),i=e.substring(4,5),t+=t,a+=a,o+=o,i+=i),{red:parseInt(t,16),green:parseInt(a,16),blue:parseInt(o,16),alpha:i?parseInt(i,16)/255:1}}const DC={test:Lx("#"),parse:Coe,transform:Xn.transform},$a=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),r1=$a("deg"),e1=$a("%"),de=$a("px"),xoe=$a("vh"),Loe=$a("vw"),iw={...e1,parse:e=>e1.parse(e)/100,transform:e=>e1.transform(e*100)},na={test:Lx("hsl","hue"),parse:lS("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:a,alpha:o=1})=>"hsla("+Math.round(e)+", "+e1.transform(va(t))+", "+e1.transform(va(a))+", "+va(ba.transform(o))+")"},Ie={test:e=>Xn.test(e)||DC.test(e)||na.test(e),parse:e=>Xn.test(e)?Xn.parse(e):na.test(e)?na.parse(e):DC.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?Xn.transform(e):na.transform(e),getAnimatableNone:e=>{const t=Ie.parse(e);return t.alpha=0,Ie.transform(t)}},woe=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function boe(e){var t,a;return isNaN(e)&&typeof e=="string"&&(((t=e.match(xx))==null?void 0:t.length)||0)+(((a=e.match(woe))==null?void 0:a.length)||0)>0}const uS="number",pS="color",Soe="var",Ioe="var(",cw="${}",Noe=/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 Sa(e){const t=e.toString(),a=[],o={color:[],number:[],var:[]},i=[];let c=0;const s=t.replace(Noe,d=>(Ie.test(d)?(o.color.push(c),i.push(pS),a.push(Ie.parse(d))):d.startsWith(Ioe)?(o.var.push(c),i.push(Soe),a.push(d)):(o.number.push(c),i.push(uS),a.push(parseFloat(d))),++c,cw)).split(cw);return{values:a,split:s,indexes:o,types:i}}function yS(e){return Sa(e).values}function kS(e){const{split:t,types:a}=Sa(e),o=t.length;return i=>{let c="";for(let r=0;r<o;r++)if(c+=t[r],i[r]!==void 0){const s=a[r];s===uS?c+=va(i[r]):s===pS?c+=Ie.transform(i[r]):c+=i[r]}return c}}const Aoe=e=>typeof e=="number"?0:Ie.test(e)?Ie.getAnimatableNone(e):e;function Poe(e){const t=yS(e);return kS(e)(t.map(Aoe))}const d1={test:boe,parse:yS,createTransformer:kS,getAnimatableNone:Poe};function xC(e,t,a){return a<0&&(a+=1),a>1&&(a-=1),a<1/6?e+(t-e)*6*a:a<1/2?t:a<2/3?e+(t-e)*(2/3-a)*6:e}function Eoe({hue:e,saturation:t,lightness:a,alpha:o}){e/=360,t/=100,a/=100;let i=0,c=0,r=0;if(!t)i=c=r=a;else{const s=a<.5?a*(1+t):a+t-a*t,d=2*a-s;i=xC(d,s,e+1/3),c=xC(d,s,e),r=xC(d,s,e-1/3)}return{red:Math.round(i*255),green:Math.round(c*255),blue:Math.round(r*255),alpha:o}}function fv(e,t){return a=>a>0?t:e}const we=(e,t,a)=>e+(t-e)*a,LC=(e,t,a)=>{const o=e*e,i=a*(t*t-o)+o;return i<0?0:Math.sqrt(i)},Roe=[DC,Xn,na],$oe=e=>Roe.find(t=>t.test(e));function rw(e){const t=$oe(e);if(ha(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`),!t)return!1;let a=t.parse(e);return t===na&&(a=Eoe(a)),a}const sw=(e,t)=>{const a=rw(e),o=rw(t);if(!a||!o)return fv(e,t);const i={...a};return c=>(i.red=LC(a.red,o.red,c),i.green=LC(a.green,o.green,c),i.blue=LC(a.blue,o.blue,c),i.alpha=we(a.alpha,o.alpha,c),Xn.transform(i))},FC=new Set(["none","hidden"]);function qoe(e,t){return FC.has(e)?a=>a<=0?e:t:a=>a>=1?t:e}function Toe(e,t){return a=>we(e,t,a)}function wx(e){return typeof e=="number"?Toe:typeof e=="string"?Cx(e)?fv:Ie.test(e)?sw:Voe:Array.isArray(e)?fS:typeof e=="object"?Ie.test(e)?sw:joe:fv}function fS(e,t){const a=[...e],o=a.length,i=e.map((c,r)=>wx(c)(c,t[r]));return c=>{for(let r=0;r<o;r++)a[r]=i[r](c);return a}}function joe(e,t){const a={...e,...t},o={};for(const i in a)e[i]!==void 0&&t[i]!==void 0&&(o[i]=wx(e[i])(e[i],t[i]));return i=>{for(const c in o)a[c]=o[c](i);return a}}function Hoe(e,t){const a=[],o={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){const c=t.types[i],r=e.indexes[c][o[c]],s=e.values[r]??0;a[i]=s,o[c]++}return a}const Voe=(e,t)=>{const a=d1.createTransformer(t),o=Sa(e),i=Sa(t);return o.indexes.var.length===i.indexes.var.length&&o.indexes.color.length===i.indexes.color.length&&o.indexes.number.length>=i.indexes.number.length?FC.has(e)&&!i.values.length||FC.has(t)&&!o.values.length?qoe(e,t):Ea(fS(Hoe(o,i),i.values),a):(ha(!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.`),fv(e,t))};function mS(e,t,a){return typeof e=="number"&&typeof t=="number"&&typeof a=="number"?we(e,t,a):wx(e)(e,t)}const zoe=e=>{const t=({timestamp:a})=>e(a);return{start:(a=!0)=>be.update(t,a),stop:()=>s1(t),now:()=>Ae.isProcessing?Ae.timestamp:He.now()}},MS=(e,t,a=10)=>{let o="";const i=Math.max(Math.round(t/a),2);for(let c=0;c<i;c++)o+=Math.round(e(c/(i-1))*1e4)/1e4+", ";return`linear(${o.substring(0,o.length-2)})`},mv=2e4;function bx(e){let t=0;const a=50;let o=e.next(t);for(;!o.done&&t<mv;)t+=a,o=e.next(t);return t>=mv?1/0:t}function Ooe(e,t=100,a){const o=a({...e,keyframes:[0,t]}),i=Math.min(bx(o),mv);return{type:"keyframes",ease:c=>o.next(i*c).value/t,duration:Je(i)}}const Doe=5;function _S(e,t,a){const o=Math.max(t-Doe,0);return Qb(a-e(o),t-o)}const Le={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},wC=.001;function Foe({duration:e=Le.duration,bounce:t=Le.bounce,velocity:a=Le.velocity,mass:o=Le.mass}){let i,c;ha(e<=Ge(Le.maxDuration),"Spring duration must be 10 seconds or less");let r=1-t;r=o1(Le.minDamping,Le.maxDamping,r),e=o1(Le.minDuration,Le.maxDuration,Je(e)),r<1?(i=l=>{const h=l*r,u=h*e,p=h-a,y=BC(l,r),C=Math.exp(-u);return wC-p/y*C},c=l=>{const u=l*r*e,p=u*a+a,y=Math.pow(r,2)*Math.pow(l,2)*e,C=Math.exp(-u),g=BC(Math.pow(l,2),r);return(-i(l)+wC>0?-1:1)*((p-y)*C)/g}):(i=l=>{const h=Math.exp(-l*e),u=(l-a)*e+1;return-wC+h*u},c=l=>{const h=Math.exp(-l*e),u=(a-l)*(e*e);return h*u});const s=5/e,d=Uoe(i,c,s);if(e=Ge(e),isNaN(d))return{stiffness:Le.stiffness,damping:Le.damping,duration:e};{const l=Math.pow(d,2)*o;return{stiffness:l,damping:r*2*Math.sqrt(o*l),duration:e}}}const Boe=12;function Uoe(e,t,a){let o=a;for(let i=1;i<Boe;i++)o=o-e(o)/t(o);return o}function BC(e,t){return e*Math.sqrt(1-t*t)}const Zoe=["duration","bounce"],Goe=["stiffness","damping","mass"];function dw(e,t){return t.some(a=>e[a]!==void 0)}function Woe(e){let t={velocity:Le.velocity,stiffness:Le.stiffness,damping:Le.damping,mass:Le.mass,isResolvedFromDuration:!1,...e};if(!dw(e,Goe)&&dw(e,Zoe))if(e.visualDuration){const a=e.visualDuration,o=2*Math.PI/(a*1.2),i=o*o,c=2*o1(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:Le.mass,stiffness:i,damping:c}}else{const a=Foe(e);t={...t,...a,mass:Le.mass},t.isResolvedFromDuration=!0}return t}function Mv(e=Le.visualDuration,t=Le.bounce){const a=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:o,restDelta:i}=a;const c=a.keyframes[0],r=a.keyframes[a.keyframes.length-1],s={done:!1,value:c},{stiffness:d,damping:l,mass:h,duration:u,velocity:p,isResolvedFromDuration:y}=Woe({...a,velocity:-Je(a.velocity||0)}),C=p||0,g=l/(2*Math.sqrt(d*h)),x=r-c,m=Je(Math.sqrt(d/h)),N=Math.abs(x)<5;o||(o=N?Le.restSpeed.granular:Le.restSpeed.default),i||(i=N?Le.restDelta.granular:Le.restDelta.default);let f;if(g<1){const M=BC(m,g);f=S=>{const A=Math.exp(-g*m*S);return r-A*((C+g*m*x)/M*Math.sin(M*S)+x*Math.cos(M*S))}}else if(g===1)f=M=>r-Math.exp(-m*M)*(x+(C+m*x)*M);else{const M=m*Math.sqrt(g*g-1);f=S=>{const A=Math.exp(-g*m*S),P=Math.min(M*S,300);return r-A*((C+g*m*x)*Math.sinh(P)+M*x*Math.cosh(P))/M}}const w={calculatedDuration:y&&u||null,next:M=>{const S=f(M);if(y)s.done=M>=u;else{let A=M===0?C:0;g<1&&(A=M===0?Ge(C):_S(f,M,S));const P=Math.abs(A)<=o,H=Math.abs(r-S)<=i;s.done=P&&H}return s.value=s.done?r:S,s},toString:()=>{const M=Math.min(bx(w),mv),S=MS(A=>w.next(M*A).value,M,30);return M+"ms "+S},toTransition:()=>{}};return w}Mv.applyToOptions=e=>{const t=Ooe(e,100,Mv);return e.ease=t.ease,e.duration=Ge(t.duration),e.type="keyframes",e};function UC({keyframes:e,velocity:t=0,power:a=.8,timeConstant:o=325,bounceDamping:i=10,bounceStiffness:c=500,modifyTarget:r,min:s,max:d,restDelta:l=.5,restSpeed:h}){const u=e[0],p={done:!1,value:u},y=P=>s!==void 0&&P<s||d!==void 0&&P>d,C=P=>s===void 0?d:d===void 0||Math.abs(s-P)<Math.abs(d-P)?s:d;let g=a*t;const x=u+g,m=r===void 0?x:r(x);m!==x&&(g=m-u);const N=P=>-g*Math.exp(-P/o),f=P=>m+N(P),w=P=>{const H=N(P),E=f(P);p.done=Math.abs(H)<=l,p.value=p.done?m:E};let M,S;const A=P=>{y(p.value)&&(M=P,S=Mv({keyframes:[p.value,C(p.value)],velocity:_S(f,P,p.value),damping:i,stiffness:c,restDelta:l,restSpeed:h}))};return A(0),{calculatedDuration:null,next:P=>{let H=!1;return!S&&M===void 0&&(H=!0,w(P),A(P)),M!==void 0&&P>=M?S.next(P-M):(!H&&w(P),p)}}}function Xoe(e,t,a){const o=[],i=a||c1.mix||mS,c=e.length-1;for(let r=0;r<c;r++){let s=i(e[r],e[r+1]);if(t){const d=Array.isArray(t)?t[r]||Be:t;s=Ea(d,s)}o.push(s)}return o}function Koe(e,t,{clamp:a=!0,ease:o,mixer:i}={}){const c=e.length;if(i1(c===t.length,"Both input and output ranges must be the same length"),c===1)return()=>t[0];if(c===2&&t[0]===t[1])return()=>t[1];const r=e[0]===e[1];e[0]>e[c-1]&&(e=[...e].reverse(),t=[...t].reverse());const s=Xoe(t,o,i),d=s.length,l=h=>{if(r&&h<e[0])return t[0];let u=0;if(d>1)for(;u<e.length-2&&!(h<e[u+1]);u++);const p=wa(e[u],e[u+1],h);return s[u](p)};return a?h=>l(o1(e[0],e[c-1],h)):l}function Yoe(e,t){const a=e[e.length-1];for(let o=1;o<=t;o++){const i=wa(0,t,o);e.push(we(a,1,i))}}function Qoe(e){const t=[0];return Yoe(t,e.length-1),t}function Joe(e,t){return e.map(a=>a*t)}function e0e(e,t){return e.map(()=>t||rS).splice(0,e.length-1)}function aa({duration:e=300,keyframes:t,times:a,ease:o="easeInOut"}){const i=uoe(o)?o.map(aw):aw(o),c={done:!1,value:t[0]},r=Joe(a&&a.length===t.length?a:Qoe(t),e),s=Koe(r,t,{ease:Array.isArray(i)?i:e0e(t,i)});return{calculatedDuration:e,next:d=>(c.value=s(d),c.done=d>=e,c)}}const t0e=e=>e!==null;function Sx(e,{repeat:t,repeatType:a="loop"},o,i=1){const c=e.filter(t0e),s=i<0||t&&a!=="loop"&&t%2===1?0:c.length-1;return!s||o===void 0?c[s]:o}const n0e={decay:UC,inertia:UC,tween:aa,keyframes:aa,spring:Mv};function gS(e){typeof e.type=="string"&&(e.type=n0e[e.type])}class Ix{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,a){return this.finished.then(t,a)}}const a0e=e=>e/100;class Nx extends Ix{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{var o,i;const{motionValue:a}=this.options;a&&a.updatedAt!==He.now()&&this.tick(He.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(i=(o=this.options).onStop)==null||i.call(o))},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;gS(t);const{type:a=aa,repeat:o=0,repeatDelay:i=0,repeatType:c,velocity:r=0}=t;let{keyframes:s}=t;const d=a||aa;process.env.NODE_ENV!=="production"&&d!==aa&&i1(s.length<=2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${s}`),d!==aa&&typeof s[0]!="number"&&(this.mixKeyframes=Ea(a0e,mS(s[0],s[1])),s=[0,100]);const l=d({...t,keyframes:s});c==="mirror"&&(this.mirroredGenerator=d({...t,keyframes:[...s].reverse(),velocity:-r})),l.calculatedDuration===null&&(l.calculatedDuration=bx(l));const{calculatedDuration:h}=l;this.calculatedDuration=h,this.resolvedDuration=h+i,this.totalDuration=this.resolvedDuration*(o+1)-i,this.generator=l}updateTime(t){const a=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=a}tick(t,a=!1){const{generator:o,totalDuration:i,mixKeyframes:c,mirroredGenerator:r,resolvedDuration:s,calculatedDuration:d}=this;if(this.startTime===null)return o.next(0);const{delay:l=0,keyframes:h,repeat:u,repeatType:p,repeatDelay:y,type:C,onUpdate:g,finalKeyframe:x}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-i/this.speed,this.startTime)),a?this.currentTime=t:this.updateTime(t);const m=this.currentTime-l*(this.playbackSpeed>=0?1:-1),N=this.playbackSpeed>=0?m<0:m>i;this.currentTime=Math.max(m,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=i);let f=this.currentTime,w=o;if(u){const P=Math.min(this.currentTime,i)/s;let H=Math.floor(P),E=P%1;!E&&P>=1&&(E=1),E===1&&H--,H=Math.min(H,u+1),!!(H%2)&&(p==="reverse"?(E=1-E,y&&(E-=y/s)):p==="mirror"&&(w=r)),f=o1(0,1,E)*s}const M=N?{done:!1,value:h[0]}:w.next(f);c&&(M.value=c(M.value));let{done:S}=M;!N&&d!==null&&(S=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const A=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&S);return A&&C!==UC&&(M.value=Sx(h,this.options,x,this.speed)),g&&g(M.value),A&&this.finish(),M}then(t,a){return this.finished.then(t,a)}get duration(){return Je(this.calculatedDuration)}get time(){return Je(this.currentTime)}set time(t){var a;t=Ge(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),(a=this.driver)==null||a.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(He.now());const a=this.playbackSpeed!==t;this.playbackSpeed=t,a&&(this.time=Je(this.currentTime))}play(){var i,c;if(this.isStopped)return;const{driver:t=zoe,startTime:a}=this.options;this.driver||(this.driver=t(r=>this.tick(r))),(c=(i=this.options).onPlay)==null||c.call(i);const o=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=o):this.holdTime!==null?this.startTime=o-this.holdTime:this.startTime||(this.startTime=a??o),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(He.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){var t,a;this.notifyFinished(),this.teardown(),this.state="finished",(a=(t=this.options).onComplete)==null||a.call(t)}cancel(){var t,a;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(a=(t=this.options).onCancel)==null||a.call(t)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){var a;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(a=this.driver)==null||a.stop(),t.observe(this)}}function o0e(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const Kn=e=>e*180/Math.PI,ZC=e=>{const t=Kn(Math.atan2(e[1],e[0]));return GC(t)},i0e={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:ZC,rotateZ:ZC,skewX:e=>Kn(Math.atan(e[1])),skewY:e=>Kn(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},GC=e=>(e=e%360,e<0&&(e+=360),e),hw=ZC,lw=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),uw=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),c0e={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:lw,scaleY:uw,scale:e=>(lw(e)+uw(e))/2,rotateX:e=>GC(Kn(Math.atan2(e[6],e[5]))),rotateY:e=>GC(Kn(Math.atan2(-e[2],e[0]))),rotateZ:hw,rotate:hw,skewX:e=>Kn(Math.atan(e[4])),skewY:e=>Kn(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function WC(e){return e.includes("scale")?1:0}function XC(e,t){if(!e||e==="none")return WC(t);const a=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let o,i;if(a)o=c0e,i=a;else{const s=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);o=i0e,i=s}if(!i)return WC(t);const c=o[t],r=i[1].split(",").map(s0e);return typeof c=="function"?c(r):r[c]}const r0e=(e,t)=>{const{transform:a="none"}=getComputedStyle(e);return XC(a,t)};function s0e(e){return parseFloat(e.trim())}const ua=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],pa=new Set(ua),pw=e=>e===la||e===de,d0e=new Set(["x","y","z"]),h0e=ua.filter(e=>!d0e.has(e));function l0e(e){const t=[];return h0e.forEach(a=>{const o=e.getValue(a);o!==void 0&&(t.push([a,o.get()]),o.set(a.startsWith("scale")?1:0))}),t}const Yn={width:({x:e},{paddingLeft:t="0",paddingRight:a="0"})=>e.max-e.min-parseFloat(t)-parseFloat(a),height:({y:e},{paddingTop:t="0",paddingBottom:a="0"})=>e.max-e.min-parseFloat(t)-parseFloat(a),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})=>XC(t,"x"),y:(e,{transform:t})=>XC(t,"y")};Yn.translateX=Yn.x;Yn.translateY=Yn.y;const Qn=new Set;let KC=!1,YC=!1,QC=!1;function vS(){if(YC){const e=Array.from(Qn).filter(o=>o.needsMeasurement),t=new Set(e.map(o=>o.element)),a=new Map;t.forEach(o=>{const i=l0e(o);i.length&&(a.set(o,i),o.render())}),e.forEach(o=>o.measureInitialState()),t.forEach(o=>{o.render();const i=a.get(o);i&&i.forEach(([c,r])=>{var s;(s=o.getValue(c))==null||s.set(r)})}),e.forEach(o=>o.measureEndState()),e.forEach(o=>{o.suspendedScrollY!==void 0&&window.scrollTo(0,o.suspendedScrollY)})}YC=!1,KC=!1,Qn.forEach(e=>e.complete(QC)),Qn.clear()}function CS(){Qn.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(YC=!0)})}function u0e(){QC=!0,CS(),vS(),QC=!1}class Ax{constructor(t,a,o,i,c,r=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=a,this.name=o,this.motionValue=i,this.element=c,this.isAsync=r}scheduleResolve(){this.state="scheduled",this.isAsync?(Qn.add(this),KC||(KC=!0,be.read(CS),be.resolveKeyframes(vS))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:a,element:o,motionValue:i}=this;if(t[0]===null){const c=i==null?void 0:i.get(),r=t[t.length-1];if(c!==void 0)t[0]=c;else if(o&&a){const s=o.readValue(a,r);s!=null&&(t[0]=s)}t[0]===void 0&&(t[0]=r),i&&c===void 0&&i.set(t[0])}o0e(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),Qn.delete(this)}cancel(){this.state==="scheduled"&&(Qn.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const p0e=e=>e.startsWith("--");function y0e(e,t,a){p0e(t)?e.style.setProperty(t,a):e.style[t]=a}const k0e=fx(()=>window.ScrollTimeline!==void 0),f0e={};function m0e(e,t){const a=fx(e);return()=>f0e[t]??a()}const xS=m0e(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),_a=([e,t,a,o])=>`cubic-bezier(${e}, ${t}, ${a}, ${o})`,yw={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:_a([0,.65,.55,1]),circOut:_a([.55,0,1,.45]),backIn:_a([.31,.01,.66,-.59]),backOut:_a([.33,1.53,.69,.99])};function LS(e,t){if(e)return typeof e=="function"?xS()?MS(e,t):"ease-out":sS(e)?_a(e):Array.isArray(e)?e.map(a=>LS(a,t)||yw.easeOut):yw[e]}function M0e(e,t,a,{delay:o=0,duration:i=300,repeat:c=0,repeatType:r="loop",ease:s="easeOut",times:d}={},l=void 0){const h={[t]:a};d&&(h.offset=d);const u=LS(s,i);Array.isArray(u)&&(h.easing=u);const p={delay:o,duration:i,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:c+1,direction:r==="reverse"?"alternate":"normal"};return l&&(p.pseudoElement=l),e.animate(h,p)}function wS(e){return typeof e=="function"&&"applyToOptions"in e}function _0e({type:e,...t}){return wS(e)&&xS()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class g0e extends Ix{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;const{element:a,name:o,keyframes:i,pseudoElement:c,allowFlatten:r=!1,finalKeyframe:s,onComplete:d}=t;this.isPseudoElement=!!c,this.allowFlatten=r,this.options=t,i1(typeof t.type!="string",`animateMini doesn't support "type" as a string. Did you mean to import { spring } from "motion"?`);const l=_0e(t);this.animation=M0e(a,o,i,l,c),l.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!c){const h=Sx(i,this.options,s,this.speed);this.updateMotionValue?this.updateMotionValue(h):y0e(a,o,h),this.animation.cancel()}d==null||d(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var t,a;(a=(t=this.animation).finish)==null||a.call(t)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var t,a;this.isPseudoElement||(a=(t=this.animation).commitStyles)==null||a.call(t)}get duration(){var a,o;const t=((o=(a=this.animation.effect)==null?void 0:a.getComputedTiming)==null?void 0:o.call(a).duration)||0;return Je(Number(t))}get time(){return Je(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=Ge(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(t){this.animation.startTime=t}attachTimeline({timeline:t,observe:a}){var o;return this.allowFlatten&&((o=this.animation.effect)==null||o.updateTiming({easing:"linear"})),this.animation.onfinish=null,t&&k0e()?(this.animation.timeline=t,Be):a(this)}}const bS={anticipate:oS,backInOut:aS,circInOut:cS};function v0e(e){return e in bS}function C0e(e){typeof e.ease=="string"&&v0e(e.ease)&&(e.ease=bS[e.ease])}const kw=10;class x0e extends g0e{constructor(t){C0e(t),gS(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:a,onUpdate:o,onComplete:i,element:c,...r}=this.options;if(!a)return;if(t!==void 0){a.set(t);return}const s=new Nx({...r,autoplay:!1}),d=Ge(this.finishedTime??this.time);a.setWithVelocity(s.sample(d-kw).value,s.sample(d).value,kw),s.stop()}}const fw=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(d1.test(e)||e==="0")&&!e.startsWith("url("));function L0e(e){const t=e[0];if(e.length===1)return!0;for(let a=0;a<e.length;a++)if(e[a]!==t)return!0}function w0e(e,t,a,o){const i=e[0];if(i===null)return!1;if(t==="display"||t==="visibility")return!0;const c=e[e.length-1],r=fw(i,t),s=fw(c,t);return ha(r===s,`You are trying to animate ${t} from "${i}" to "${c}". ${i} is not an animatable value - to enable this animation set ${i} to a value animatable to ${c} via the \`style\` property.`),!r||!s?!1:L0e(e)||(a==="spring"||wS(a))&&o}function Px(e){return Kb(e)&&"offsetHeight"in e}const b0e=new Set(["opacity","clipPath","filter","transform"]),S0e=fx(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function I0e(e){var l;const{motionValue:t,name:a,repeatDelay:o,repeatType:i,damping:c,type:r}=e;if(!Px((l=t==null?void 0:t.owner)==null?void 0:l.current))return!1;const{onUpdate:s,transformTemplate:d}=t.owner.getProps();return S0e()&&a&&b0e.has(a)&&(a!=="transform"||!d)&&!s&&!o&&i!=="mirror"&&c!==0&&r!=="inertia"}const N0e=40;class A0e extends Ix{constructor({autoplay:t=!0,delay:a=0,type:o="keyframes",repeat:i=0,repeatDelay:c=0,repeatType:r="loop",keyframes:s,name:d,motionValue:l,element:h,...u}){var C;super(),this.stop=()=>{var g,x;this._animation&&(this._animation.stop(),(g=this.stopTimeline)==null||g.call(this)),(x=this.keyframeResolver)==null||x.cancel()},this.createdAt=He.now();const p={autoplay:t,delay:a,type:o,repeat:i,repeatDelay:c,repeatType:r,name:d,motionValue:l,element:h,...u},y=(h==null?void 0:h.KeyframeResolver)||Ax;this.keyframeResolver=new y(s,(g,x,m)=>this.onKeyframesResolved(g,x,p,!m),d,l,h),(C=this.keyframeResolver)==null||C.scheduleResolve()}onKeyframesResolved(t,a,o,i){this.keyframeResolver=void 0;const{name:c,type:r,velocity:s,delay:d,isHandoff:l,onUpdate:h}=o;this.resolvedAt=He.now(),w0e(t,c,r,s)||((c1.instantAnimations||!d)&&(h==null||h(Sx(t,o,a))),t[0]=t[t.length-1],o.duration=0,o.repeat=0);const p={startTime:i?this.resolvedAt?this.resolvedAt-this.createdAt>N0e?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:a,...o,keyframes:t},y=!l&&I0e(p)?new x0e({...p,element:p.motionValue.owner.current}):new Nx(p);y.finished.then(()=>this.notifyFinished()).catch(Be),this.pendingTimeline&&(this.stopTimeline=y.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=y}get finished(){return this._animation?this.animation.finished:this._finished}then(t,a){return this.finished.finally(t).then(()=>{})}get animation(){var t;return this._animation||((t=this.keyframeResolver)==null||t.resume(),u0e()),this._animation}get duration(){return this.animation.duration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var t;this._animation&&this.animation.cancel(),(t=this.keyframeResolver)==null||t.cancel()}}const P0e=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function E0e(e){const t=P0e.exec(e);if(!t)return[,];const[,a,o,i]=t;return[`--${a??o}`,i]}const R0e=4;function SS(e,t,a=1){i1(a<=R0e,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[o,i]=E0e(e);if(!o)return;const c=window.getComputedStyle(t).getPropertyValue(o);if(c){const r=c.trim();return Xb(r)?parseFloat(r):r}return Cx(i)?SS(i,t,a+1):i}function Ex(e,t){return(e==null?void 0:e[t])??(e==null?void 0:e.default)??e}const IS=new Set(["width","height","top","left","right","bottom",...ua]),$0e={test:e=>e==="auto",parse:e=>e},NS=e=>t=>t.test(e),AS=[la,de,e1,r1,Loe,xoe,$0e],mw=e=>AS.find(NS(e));function q0e(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Yb(e):!0}const T0e=new Set(["brightness","contrast","saturate","opacity"]);function j0e(e){const[t,a]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[o]=a.match(xx)||[];if(!o)return e;const i=a.replace(o,"");let c=T0e.has(t)?1:0;return o!==a&&(c*=100),t+"("+c+i+")"}const H0e=/\b([a-z-]*)\(.*?\)/gu,JC={...d1,getAnimatableNone:e=>{const t=e.match(H0e);return t?t.map(j0e).join(" "):e}},Mw={...la,transform:Math.round},V0e={rotate:r1,rotateX:r1,rotateY:r1,rotateZ:r1,scale:eo,scaleX:eo,scaleY:eo,scaleZ:eo,skew:r1,skewX:r1,skewY:r1,distance:de,translateX:de,translateY:de,translateZ:de,x:de,y:de,z:de,perspective:de,transformPerspective:de,opacity:ba,originX:iw,originY:iw,originZ:de},Rx={borderWidth:de,borderTopWidth:de,borderRightWidth:de,borderBottomWidth:de,borderLeftWidth:de,borderRadius:de,radius:de,borderTopLeftRadius:de,borderTopRightRadius:de,borderBottomRightRadius:de,borderBottomLeftRadius:de,width:de,maxWidth:de,height:de,maxHeight:de,top:de,right:de,bottom:de,left:de,padding:de,paddingTop:de,paddingRight:de,paddingBottom:de,paddingLeft:de,margin:de,marginTop:de,marginRight:de,marginBottom:de,marginLeft:de,backgroundPositionX:de,backgroundPositionY:de,...V0e,zIndex:Mw,fillOpacity:ba,strokeOpacity:ba,numOctaves:Mw},z0e={...Rx,color:Ie,backgroundColor:Ie,outlineColor:Ie,fill:Ie,stroke:Ie,borderColor:Ie,borderTopColor:Ie,borderRightColor:Ie,borderBottomColor:Ie,borderLeftColor:Ie,filter:JC,WebkitFilter:JC},PS=e=>z0e[e];function ES(e,t){let a=PS(e);return a!==JC&&(a=d1),a.getAnimatableNone?a.getAnimatableNone(t):void 0}const O0e=new Set(["auto","none","0"]);function D0e(e,t,a){let o=0,i;for(;o<e.length&&!i;){const c=e[o];typeof c=="string"&&!O0e.has(c)&&Sa(c).values.length&&(i=e[o]),o++}if(i&&a)for(const c of t)e[c]=ES(a,i)}class F0e extends Ax{constructor(t,a,o,i,c){super(t,a,o,i,c,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:a,name:o}=this;if(!a||!a.current)return;super.readKeyframes();for(let d=0;d<t.length;d++){let l=t[d];if(typeof l=="string"&&(l=l.trim(),Cx(l))){const h=SS(l,a.current);h!==void 0&&(t[d]=h),d===t.length-1&&(this.finalKeyframe=l)}}if(this.resolveNoneKeyframes(),!IS.has(o)||t.length!==2)return;const[i,c]=t,r=mw(i),s=mw(c);if(r!==s)if(pw(r)&&pw(s))for(let d=0;d<t.length;d++){const l=t[d];typeof l=="string"&&(t[d]=parseFloat(l))}else Yn[o]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:a}=this,o=[];for(let i=0;i<t.length;i++)(t[i]===null||q0e(t[i]))&&o.push(i);o.length&&D0e(t,o,a)}measureInitialState(){const{element:t,unresolvedKeyframes:a,name:o}=this;if(!t||!t.current)return;o==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Yn[o](t.measureViewportBox(),window.getComputedStyle(t.current)),a[0]=this.measuredOrigin;const i=a[a.length-1];i!==void 0&&t.getValue(o,i).jump(i,!1)}measureEndState(){var s;const{element:t,name:a,unresolvedKeyframes:o}=this;if(!t||!t.current)return;const i=t.getValue(a);i&&i.jump(this.measuredOrigin,!1);const c=o.length-1,r=o[c];o[c]=Yn[a](t.measureViewportBox(),window.getComputedStyle(t.current)),r!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=r),(s=this.removedTransforms)!=null&&s.length&&this.removedTransforms.forEach(([d,l])=>{t.getValue(d).set(l)}),this.resolveNoneKeyframes()}}function B0e(e,t,a){if(e instanceof EventTarget)return[e];if(typeof e=="string"){let o=document;const i=(a==null?void 0:a[e])??o.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e)}const RS=(e,t)=>t&&typeof e=="number"?t.transform(e):e,_w=30,U0e=e=>!isNaN(parseFloat(e));class Z0e{constructor(t,a={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=(o,i=!0)=>{var r,s;const c=He.now();if(this.updatedAt!==c&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(o),this.current!==this.prev&&((r=this.events.change)==null||r.notify(this.current),this.dependents))for(const d of this.dependents)d.dirty();i&&((s=this.events.renderRequest)==null||s.notify(this.current))},this.hasAnimated=!1,this.setCurrent(t),this.owner=a.owner}setCurrent(t){this.current=t,this.updatedAt=He.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=U0e(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return process.env.NODE_ENV!=="production"&&Mx(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",t)}on(t,a){this.events[t]||(this.events[t]=new mx);const o=this.events[t].add(a);return t==="change"?()=>{o(),be.read(()=>{this.events.change.getSize()||this.stop()})}:o}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,a){this.passiveEffect=t,this.stopPassiveEffect=a}set(t,a=!0){!a||!this.passiveEffect?this.updateAndNotify(t,a):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,a,o){this.set(a),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-o}jump(t,a=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,a&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var t;(t=this.events.change)==null||t.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=He.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>_w)return 0;const a=Math.min(this.updatedAt-this.prevUpdatedAt,_w);return Qb(parseFloat(this.current)-parseFloat(this.prevFrameValue),a)}start(t){return this.stop(),new Promise(a=>{this.hasAnimated=!0,this.animation=t(a),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(){var t,a;(t=this.dependents)==null||t.clear(),(a=this.events.destroy)==null||a.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function sa(e,t){return new Z0e(e,t)}const{schedule:$x}=dS(queueMicrotask,!1),Ze={x:!1,y:!1};function $S(){return Ze.x||Ze.y}function G0e(e){return e==="x"||e==="y"?Ze[e]?null:(Ze[e]=!0,()=>{Ze[e]=!1}):Ze.x||Ze.y?null:(Ze.x=Ze.y=!0,()=>{Ze.x=Ze.y=!1})}function qS(e,t){const a=B0e(e),o=new AbortController,i={passive:!0,...t,signal:o.signal};return[a,i,()=>o.abort()]}function gw(e){return!(e.pointerType==="touch"||$S())}function W0e(e,t,a={}){const[o,i,c]=qS(e,a),r=s=>{if(!gw(s))return;const{target:d}=s,l=t(d,s);if(typeof l!="function"||!d)return;const h=u=>{gw(u)&&(l(u),d.removeEventListener("pointerleave",h))};d.addEventListener("pointerleave",h,i)};return o.forEach(s=>{s.addEventListener("pointerenter",r,i)}),c}const TS=(e,t)=>t?e===t?!0:TS(e,t.parentElement):!1,qx=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,X0e=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function K0e(e){return X0e.has(e.tagName)||e.tabIndex!==-1}const uv=new WeakSet;function vw(e){return t=>{t.key==="Enter"&&e(t)}}function bC(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const Y0e=(e,t)=>{const a=e.currentTarget;if(!a)return;const o=vw(()=>{if(uv.has(a))return;bC(a,"down");const i=vw(()=>{bC(a,"up")}),c=()=>bC(a,"cancel");a.addEventListener("keyup",i,t),a.addEventListener("blur",c,t)});a.addEventListener("keydown",o,t),a.addEventListener("blur",()=>a.removeEventListener("keydown",o),t)};function Cw(e){return qx(e)&&!$S()}function Q0e(e,t,a={}){const[o,i,c]=qS(e,a),r=s=>{const d=s.currentTarget;if(!Cw(s))return;uv.add(d);const l=t(d,s),h=(y,C)=>{window.removeEventListener("pointerup",u),window.removeEventListener("pointercancel",p),uv.has(d)&&uv.delete(d),Cw(y)&&typeof l=="function"&&l(y,{success:C})},u=y=>{h(y,d===window||d===document||a.useGlobalTarget||TS(d,y.target))},p=y=>{h(y,!1)};window.addEventListener("pointerup",u,i),window.addEventListener("pointercancel",p,i)};return o.forEach(s=>{(a.useGlobalTarget?window:s).addEventListener("pointerdown",r,i),Px(s)&&(s.addEventListener("focus",l=>Y0e(l,i)),!K0e(s)&&!s.hasAttribute("tabindex")&&(s.tabIndex=0))}),c}function jS(e){return Kb(e)&&"ownerSVGElement"in e}function J0e(e){return jS(e)&&e.tagName==="svg"}const Re=e=>!!(e&&e.getVelocity),eie=[...AS,Ie,d1],tie=e=>eie.find(NS(e)),Tx=q.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});class nie extends k.Component{getSnapshotBeforeUpdate(t){const a=this.props.childRef.current;if(a&&t.isPresent&&!this.props.isPresent){const o=a.offsetParent,i=Px(o)&&o.offsetWidth||0,c=this.props.sizeRef.current;c.height=a.offsetHeight||0,c.width=a.offsetWidth||0,c.top=a.offsetTop,c.left=a.offsetLeft,c.right=i-c.width-c.left}return null}componentDidUpdate(){}render(){return this.props.children}}function aie({children:e,isPresent:t,anchorX:a}){const o=q.useId(),i=q.useRef(null),c=q.useRef({width:0,height:0,top:0,left:0,right:0}),{nonce:r}=q.useContext(Tx);return q.useInsertionEffect(()=>{const{width:s,height:d,top:l,left:h,right:u}=c.current;if(t||!i.current||!s||!d)return;const p=a==="left"?`left: ${h}`:`right: ${u}`;i.current.dataset.motionPopId=o;const y=document.createElement("style");return r&&(y.nonce=r),document.head.appendChild(y),y.sheet&&y.sheet.insertRule(`
7828
7828
  [data-motion-pop-id="${o}"] {
7829
7829
  position: absolute !important;
7830
7830
  width: ${s}px !important;
@@ -7832,23 +7832,23 @@ Learn more: https://nextjs.org/docs/app/building-your-application/upgrading/code
7832
7832
  ${p}px !important;
7833
7833
  top: ${l}px !important;
7834
7834
  }
7835
- `),()=>{document.head.contains(y)&&document.head.removeChild(y)}},[t]),_.jsx(tie,{isPresent:t,childRef:i,sizeRef:c,children:k.cloneElement(e,{ref:i})})}const aie=({children:e,initial:t,isPresent:a,onExitComplete:o,custom:i,presenceAffectsLayout:c,mode:r,anchorX:s})=>{const d=bv(oie),l=q.useId();let h=!0,u=q.useMemo(()=>(h=!1,{id:l,initial:t,isPresent:a,custom:i,onExitComplete:p=>{d.set(p,!0);for(const y of d.values())if(!y)return;o&&o()},register:p=>(d.set(p,!1),()=>d.delete(p))}),[a,d,o]);return c&&h&&(u={...u}),q.useMemo(()=>{d.forEach((p,y)=>d.set(y,!1))},[a]),k.useEffect(()=>{!a&&!d.size&&o&&o()},[a]),r==="popLayout"&&(e=_.jsx(nie,{isPresent:a,anchorX:s,children:e})),_.jsx(Sv.Provider,{value:u,children:e})};function oie(){return new Map}function HS(e=!0){const t=q.useContext(Sv);if(t===null)return[!0,null];const{isPresent:a,onExitComplete:o,register:i}=t,c=q.useId();q.useEffect(()=>{if(e)return i(c)},[e]);const r=q.useCallback(()=>e&&o&&o(c),[c,o,e]);return!a&&o?[!1,r]:[!0]}const to=e=>e.key||"";function xw(e){const t=[];return q.Children.forEach(e,a=>{q.isValidElement(a)&&t.push(a)}),t}const iie=({children:e,custom:t,initial:a=!0,onExitComplete:o,presenceAffectsLayout:i=!0,mode:c="sync",propagate:r=!1,anchorX:s="left"})=>{const[d,l]=HS(r),h=q.useMemo(()=>xw(e),[e]),u=r&&!d?[]:h.map(to),p=q.useRef(!0),y=q.useRef(h),C=bv(()=>new Map),[g,x]=q.useState(h),[m,N]=q.useState(h);Wb(()=>{p.current=!1,y.current=h;for(let M=0;M<m.length;M++){const S=to(m[M]);u.includes(S)?C.delete(S):C.get(S)!==!0&&C.set(S,!1)}},[m,u.length,u.join("-")]);const f=[];if(h!==g){let M=[...h];for(let S=0;S<m.length;S++){const A=m[S],P=to(A);u.includes(P)||(M.splice(S,0,A),f.push(A))}return c==="wait"&&f.length&&(M=f),N(xw(M)),x(h),null}process.env.NODE_ENV!=="production"&&c==="wait"&&m.length>1&&console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`);const{forceRender:w}=q.useContext(ux);return _.jsx(_.Fragment,{children:m.map(M=>{const S=to(M),A=r&&!d?!1:h===m||u.includes(S),P=()=>{if(C.has(S))C.set(S,!0);else return;let H=!0;C.forEach(E=>{E||(H=!1)}),H&&(w==null||w(),N(y.current),r&&(l==null||l()),o&&o())};return _.jsx(aie,{isPresent:A,initial:!p.current||a?void 0:!1,custom:t,presenceAffectsLayout:i,mode:c,onExitComplete:A?void 0:P,anchorX:s,children:M},S)})})},VS=q.createContext({strict:!1}),Lw={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"]},da={};for(const e in Lw)da[e]={isEnabled:t=>Lw[e].some(a=>!!t[a])};function cie(e){for(const t in e)da[t]={...da[t],...e[t]}}const rie=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function _v(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||rie.has(e)}let zS=e=>!_v(e);function sie(e){typeof e=="function"&&(zS=t=>t.startsWith("on")?!_v(t):e(t))}try{sie(require("@emotion/is-prop-valid").default)}catch{}function die(e,t,a){const o={};for(const i in e)i==="values"&&typeof e.values=="object"||(zS(i)||a===!0&&_v(i)||!t&&!_v(i)||e.draggable&&i.startsWith("onDrag"))&&(o[i]=e[i]);return o}function hie(e){if(typeof Proxy>"u")return e;const t=new Map,a=(...o)=>(process.env.NODE_ENV!=="production"&&Mx(!1,"motion() is deprecated. Use motion.create() instead."),e(...o));return new Proxy(a,{get:(o,i)=>i==="create"?e:(t.has(i)||t.set(i,e(i)),t.get(i))})}const Iv=q.createContext({});function Nv(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function Sa(e){return typeof e=="string"||Array.isArray(e)}const jx=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Hx=["initial",...jx];function Av(e){return Nv(e.animate)||Hx.some(t=>Sa(e[t]))}function OS(e){return!!(Av(e)||e.variants)}function lie(e,t){if(Av(e)){const{initial:a,animate:o}=e;return{initial:a===!1||Sa(a)?a:void 0,animate:Sa(o)?o:void 0}}return e.inherit!==!1?t:{}}function uie(e){const{initial:t,animate:a}=lie(e,q.useContext(Iv));return q.useMemo(()=>({initial:t,animate:a}),[ww(t),ww(a)])}function ww(e){return Array.isArray(e)?e.join(" "):e}const pie=Symbol.for("motionComponentSymbol");function oa(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function yie(e,t,a){return q.useCallback(o=>{o&&e.onMount&&e.onMount(o),t&&(o?t.mount(o):t.unmount()),a&&(typeof a=="function"?a(o):oa(a)&&(a.current=o))},[t])}const Vx=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),kie="framerAppearId",DS="data-"+Vx(kie),FS=q.createContext({});function fie(e,t,a,o,i){var g,x;const{visualElement:c}=q.useContext(Iv),r=q.useContext(VS),s=q.useContext(Sv),d=q.useContext(Tx).reducedMotion,l=q.useRef(null);o=o||r.renderer,!l.current&&o&&(l.current=o(e,{visualState:t,parent:c,props:a,presenceContext:s,blockInitialAnimation:s?s.initial===!1:!1,reducedMotionConfig:d}));const h=l.current,u=q.useContext(FS);h&&!h.projection&&i&&(h.type==="html"||h.type==="svg")&&mie(l.current,a,i,u);const p=q.useRef(!1);q.useInsertionEffect(()=>{h&&p.current&&h.update(a,s)});const y=a[DS],C=q.useRef(!!y&&!((g=window.MotionHandoffIsComplete)!=null&&g.call(window,y))&&((x=window.MotionHasOptimisedAnimation)==null?void 0:x.call(window,y)));return Wb(()=>{h&&(p.current=!0,window.MotionIsMounted=!0,h.updateFeatures(),$x.render(h.render),C.current&&h.animationState&&h.animationState.animateChanges())}),q.useEffect(()=>{h&&(!C.current&&h.animationState&&h.animationState.animateChanges(),C.current&&(queueMicrotask(()=>{var m;(m=window.MotionHandoffMarkAsComplete)==null||m.call(window,y)}),C.current=!1))}),h}function mie(e,t,a,o){const{layoutId:i,layout:c,drag:r,dragConstraints:s,layoutScroll:d,layoutRoot:l,layoutCrossfade:h}=t;e.projection=new a(e.latestValues,t["data-framer-portal-id"]?void 0:BS(e.parent)),e.projection.setOptions({layoutId:i,layout:c,alwaysMeasureLayout:!!r||s&&oa(s),visualElement:e,animationType:typeof c=="string"?c:"both",initialPromotionConfig:o,crossfade:h,layoutScroll:d,layoutRoot:l})}function BS(e){if(e)return e.options.allowProjection!==!1?e.projection:BS(e.parent)}function Mie({preloadedFeatures:e,createVisualElement:t,useRender:a,useVisualState:o,Component:i}){e&&cie(e);function c(s,d){let l;const h={...q.useContext(Tx),...s,layoutId:_ie(s)},{isStatic:u}=h,p=uie(s),y=o(s,u);if(!u&&px){gie(h,e);const C=vie(h);l=C.MeasureLayout,p.visualElement=fie(i,y,h,t,C.ProjectionNode)}return _.jsxs(Iv.Provider,{value:p,children:[l&&p.visualElement?_.jsx(l,{visualElement:p.visualElement,...h}):null,a(i,s,yie(y,p.visualElement,d),y,u,p.visualElement)]})}c.displayName=`motion.${typeof i=="string"?i:`create(${i.displayName??i.name??""})`}`;const r=q.forwardRef(c);return r[pie]=i,r}function _ie({layoutId:e}){const t=q.useContext(ux).id;return t&&e!==void 0?t+"-"+e:e}function gie(e,t){const a=q.useContext(VS).strict;if(process.env.NODE_ENV!=="production"&&t&&a){const o="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";e.ignoreStrict?ha(!1,o):i1(!1,o)}}function vie(e){const{drag:t,layout:a}=da;if(!t&&!a)return{};const o={...t,...a};return{MeasureLayout:t!=null&&t.isEnabled(e)||a!=null&&a.isEnabled(e)?o.MeasureLayout:void 0,ProjectionNode:o.ProjectionNode}}const Ia={};function Cie(e){for(const t in e)Ia[t]=e[t],vx(t)&&(Ia[t].isCSSVariable=!0)}function US(e,{layout:t,layoutId:a}){return pa.has(e)||e.startsWith("origin")||(t||a!==void 0)&&(!!Ia[e]||e==="opacity")}const xie={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Lie=ua.length;function wie(e,t,a){let o="",i=!0;for(let c=0;c<Lie;c++){const r=ua[c],s=e[r];if(s===void 0)continue;let d=!0;if(typeof s=="number"?d=s===(r.startsWith("scale")?1:0):d=parseFloat(s)===0,!d||a){const l=RS(s,Rx[r]);if(!d){i=!1;const h=xie[r]||r;o+=`${h}(${l}) `}a&&(t[r]=l)}}return o=o.trim(),a?o=a(t,i?"":o):i&&(o="none"),o}function zx(e,t,a){const{style:o,vars:i,transformOrigin:c}=e;let r=!1,s=!1;for(const d in t){const l=t[d];if(pa.has(d)){r=!0;continue}else if(vx(d)){i[d]=l;continue}else{const h=RS(l,Rx[d]);d.startsWith("origin")?(s=!0,c[d]=h):o[d]=h}}if(t.transform||(r||a?o.transform=wie(t,e.transform,a):o.transform&&(o.transform="none")),s){const{originX:d="50%",originY:l="50%",originZ:h=0}=c;o.transformOrigin=`${d} ${l} ${h}`}}const Ox=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function ZS(e,t,a){for(const o in t)!Re(t[o])&&!US(o,a)&&(e[o]=t[o])}function bie({transformTemplate:e},t){return q.useMemo(()=>{const a=Ox();return zx(a,t,e),Object.assign({},a.vars,a.style)},[t])}function Sie(e,t){const a=e.style||{},o={};return ZS(o,a,e),Object.assign(o,bie(e,t)),o}function Iie(e,t){const a={},o=Sie(e,t);return e.drag&&e.dragListener!==!1&&(a.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(a.tabIndex=0),a.style=o,a}const Nie={offset:"stroke-dashoffset",array:"stroke-dasharray"},Aie={offset:"strokeDashoffset",array:"strokeDasharray"};function Pie(e,t,a=1,o=0,i=!0){e.pathLength=1;const c=i?Nie:Aie;e[c.offset]=de.transform(-o);const r=de.transform(t),s=de.transform(a);e[c.array]=`${r} ${s}`}function GS(e,{attrX:t,attrY:a,attrScale:o,pathLength:i,pathSpacing:c=1,pathOffset:r=0,...s},d,l,h){if(zx(e,s,l),d){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:u,style:p}=e;u.transform&&(p.transform=u.transform,delete u.transform),(p.transform||u.transformOrigin)&&(p.transformOrigin=u.transformOrigin??"50% 50%",delete u.transformOrigin),p.transform&&(p.transformBox=(h==null?void 0:h.transformBox)??"fill-box",delete u.transformBox),t!==void 0&&(u.x=t),a!==void 0&&(u.y=a),o!==void 0&&(u.scale=o),i!==void 0&&Pie(u,i,c,r,!1)}const WS=()=>({...Ox(),attrs:{}}),XS=e=>typeof e=="string"&&e.toLowerCase()==="svg";function Eie(e,t,a,o){const i=q.useMemo(()=>{const c=WS();return GS(c,t,XS(o),e.transformTemplate,e.style),{...c.attrs,style:{...c.style}}},[t]);if(e.style){const c={};ZS(c,e.style,e),i.style={...c,...i.style}}return i}const Rie=["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 Dx(e){return typeof e!="string"||e.includes("-")?!1:!!(Rie.indexOf(e)>-1||/[A-Z]/u.test(e))}function $ie(e=!1){return(a,o,i,{latestValues:c},r)=>{const d=(Dx(a)?Eie:Iie)(o,c,r,a),l=die(o,typeof a=="string",e),h=a!==q.Fragment?{...l,...d,ref:i}:{},{children:u}=o,p=q.useMemo(()=>Re(u)?u.get():u,[u]);return q.createElement(a,{...h,children:p})}}function bw(e){const t=[{},{}];return e==null||e.values.forEach((a,o)=>{t[0][o]=a.get(),t[1][o]=a.getVelocity()}),t}function Fx(e,t,a,o){if(typeof t=="function"){const[i,c]=bw(o);t=t(a!==void 0?a:e.custom,i,c)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[i,c]=bw(o);t=t(a!==void 0?a:e.custom,i,c)}return t}function pv(e){return Re(e)?e.get():e}function qie({scrapeMotionValuesFromProps:e,createRenderState:t},a,o,i){return{latestValues:Tie(a,o,i,e),renderState:t()}}const KS=e=>(t,a)=>{const o=q.useContext(Iv),i=q.useContext(Sv),c=()=>qie(e,t,o,i);return a?c():bv(c)};function Tie(e,t,a,o){const i={},c=o(e,{});for(const p in c)i[p]=pv(c[p]);let{initial:r,animate:s}=e;const d=Av(e),l=OS(e);t&&l&&!d&&e.inherit!==!1&&(r===void 0&&(r=t.initial),s===void 0&&(s=t.animate));let h=a?a.initial===!1:!1;h=h||r===!1;const u=h?s:r;if(u&&typeof u!="boolean"&&!Nv(u)){const p=Array.isArray(u)?u:[u];for(let y=0;y<p.length;y++){const C=Fx(e,p[y]);if(C){const{transitionEnd:g,transition:x,...m}=C;for(const N in m){let f=m[N];if(Array.isArray(f)){const w=h?f.length-1:0;f=f[w]}f!==null&&(i[N]=f)}for(const N in g)i[N]=g[N]}}}return i}function Bx(e,t,a){var c;const{style:o}=e,i={};for(const r in o)(Re(o[r])||t.style&&Re(t.style[r])||US(r,e)||((c=a==null?void 0:a.getValue(r))==null?void 0:c.liveStyle)!==void 0)&&(i[r]=o[r]);return i}const jie={useVisualState:KS({scrapeMotionValuesFromProps:Bx,createRenderState:Ox})};function YS(e,t,a){const o=Bx(e,t,a);for(const i in e)if(Re(e[i])||Re(t[i])){const c=ua.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;o[c]=e[i]}return o}const Hie={useVisualState:KS({scrapeMotionValuesFromProps:YS,createRenderState:WS})};function Vie(e,t){return function(o,{forwardMotionProps:i}={forwardMotionProps:!1}){const r={...Dx(o)?Hie:jie,preloadedFeatures:e,useRender:$ie(i),createVisualElement:t,Component:o};return Mie(r)}}function Na(e,t,a){const o=e.getProps();return Fx(o,t,a!==void 0?a:o.custom,e)}const ex=e=>Array.isArray(e);function zie(e,t,a){e.hasValue(t)?e.getValue(t).set(a):e.addValue(t,sa(a))}function Oie(e){return ex(e)?e[e.length-1]||0:e}function Die(e,t){const a=Na(e,t);let{transitionEnd:o={},transition:i={},...c}=a||{};c={...c,...o};for(const r in c){const s=Oie(c[r]);zie(e,r,s)}}function Fie(e){return!!(Re(e)&&e.add)}function tx(e,t){const a=e.getValue("willChange");if(Fie(a))return a.add(t);if(!a&&c1.WillChange){const o=new c1.WillChange("auto");e.addValue("willChange",o),o.add(t)}}function QS(e){return e.props[DS]}const Bie=e=>e!==null;function Uie(e,{repeat:t,repeatType:a="loop"},o){const i=e.filter(Bie),c=t&&a!=="loop"&&t%2===1?0:i.length-1;return i[c]}const Zie={type:"spring",stiffness:500,damping:25,restSpeed:10},Gie=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),Wie={type:"keyframes",duration:.8},Xie={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Kie=(e,{keyframes:t})=>t.length>2?Wie:pa.has(e)?e.startsWith("scale")?Gie(t[1]):Zie:Xie;function Yie({when:e,delay:t,delayChildren:a,staggerChildren:o,staggerDirection:i,repeat:c,repeatType:r,repeatDelay:s,from:d,elapsed:l,...h}){return!!Object.keys(h).length}const Ux=(e,t,a,o={},i,c)=>r=>{const s=Ex(o,e)||{},d=s.delay||o.delay||0;let{elapsed:l=0}=o;l=l-Ge(d);const h={keyframes:Array.isArray(a)?a:[null,a],ease:"easeOut",velocity:t.getVelocity(),...s,delay:-l,onUpdate:p=>{t.set(p),s.onUpdate&&s.onUpdate(p)},onComplete:()=>{r(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:c?void 0:i};Yie(s)||Object.assign(h,Kie(e,h)),h.duration&&(h.duration=Ge(h.duration)),h.repeatDelay&&(h.repeatDelay=Ge(h.repeatDelay)),h.from!==void 0&&(h.keyframes[0]=h.from);let u=!1;if((h.type===!1||h.duration===0&&!h.repeatDelay)&&(h.duration=0,h.delay===0&&(u=!0)),(c1.instantAnimations||c1.skipAnimations)&&(u=!0,h.duration=0,h.delay=0),h.allowFlatten=!s.type&&!s.ease,u&&!c&&t.get()!==void 0){const p=Uie(h.keyframes,s);if(p!==void 0){be.update(()=>{h.onUpdate(p),h.onComplete()});return}}return s.isSync?new Nx(h):new N0e(h)};function Qie({protectedKeys:e,needsAnimating:t},a){const o=e.hasOwnProperty(a)&&t[a]!==!0;return t[a]=!1,o}function JS(e,t,{delay:a=0,transitionOverride:o,type:i}={}){let{transition:c=e.getDefaultTransition(),transitionEnd:r,...s}=t;o&&(c=o);const d=[],l=i&&e.animationState&&e.animationState.getState()[i];for(const h in s){const u=e.getValue(h,e.latestValues[h]??null),p=s[h];if(p===void 0||l&&Qie(l,h))continue;const y={delay:a,...Ex(c||{},h)},C=u.get();if(C!==void 0&&!u.isAnimating&&!Array.isArray(p)&&p===C&&!y.velocity)continue;let g=!1;if(window.MotionHandoffAnimation){const m=QS(e);if(m){const N=window.MotionHandoffAnimation(m,h,be);N!==null&&(y.startTime=N,g=!0)}}tx(e,h),u.start(Ux(h,u,p,e.shouldReduceMotion&&IS.has(h)?{type:!1}:y,e,g));const x=u.animation;x&&d.push(x)}return r&&Promise.all(d).then(()=>{be.update(()=>{r&&Die(e,r)})}),d}function nx(e,t,a={}){var d;const o=Na(e,t,a.type==="exit"?(d=e.presenceContext)==null?void 0:d.custom:void 0);let{transition:i=e.getDefaultTransition()||{}}=o||{};a.transitionOverride&&(i=a.transitionOverride);const c=o?()=>Promise.all(JS(e,o,a)):()=>Promise.resolve(),r=e.variantChildren&&e.variantChildren.size?(l=0)=>{const{delayChildren:h=0,staggerChildren:u,staggerDirection:p}=i;return Jie(e,t,h+l,u,p,a)}:()=>Promise.resolve(),{when:s}=i;if(s){const[l,h]=s==="beforeChildren"?[c,r]:[r,c];return l().then(()=>h())}else return Promise.all([c(),r(a.delay)])}function Jie(e,t,a=0,o=0,i=1,c){const r=[],s=(e.variantChildren.size-1)*o,d=i===1?(l=0)=>l*o:(l=0)=>s-l*o;return Array.from(e.variantChildren).sort(ece).forEach((l,h)=>{l.notify("AnimationStart",t),r.push(nx(l,t,{...c,delay:a+d(h)}).then(()=>l.notify("AnimationComplete",t)))}),Promise.all(r)}function ece(e,t){return e.sortNodePosition(t)}function tce(e,t,a={}){e.notify("AnimationStart",t);let o;if(Array.isArray(t)){const i=t.map(c=>nx(e,c,a));o=Promise.all(i)}else if(typeof t=="string")o=nx(e,t,a);else{const i=typeof t=="function"?Na(e,t,a.custom):t;o=Promise.all(JS(e,i,a))}return o.then(()=>{e.notify("AnimationComplete",t)})}function eI(e,t){if(!Array.isArray(t))return!1;const a=t.length;if(a!==e.length)return!1;for(let o=0;o<a;o++)if(t[o]!==e[o])return!1;return!0}const nce=Hx.length;function tI(e){if(!e)return;if(!e.isControllingVariants){const a=e.parent?tI(e.parent)||{}:{};return e.props.initial!==void 0&&(a.initial=e.props.initial),a}const t={};for(let a=0;a<nce;a++){const o=Hx[a],i=e.props[o];(Sa(i)||i===!1)&&(t[o]=i)}return t}const ace=[...jx].reverse(),oce=jx.length;function ice(e){return t=>Promise.all(t.map(({animation:a,options:o})=>tce(e,a,o)))}function cce(e){let t=ice(e),a=Sw(),o=!0;const i=d=>(l,h)=>{var p;const u=Na(e,h,d==="exit"?(p=e.presenceContext)==null?void 0:p.custom:void 0);if(u){const{transition:y,transitionEnd:C,...g}=u;l={...l,...g,...C}}return l};function c(d){t=d(e)}function r(d){const{props:l}=e,h=tI(e.parent)||{},u=[],p=new Set;let y={},C=1/0;for(let x=0;x<oce;x++){const m=ace[x],N=a[m],f=l[m]!==void 0?l[m]:h[m],w=Sa(f),M=m===d?N.isActive:null;M===!1&&(C=x);let S=f===h[m]&&f!==l[m]&&w;if(S&&o&&e.manuallyAnimateOnMount&&(S=!1),N.protectedKeys={...y},!N.isActive&&M===null||!f&&!N.prevProp||Nv(f)||typeof f=="boolean")continue;const A=rce(N.prevProp,f);let P=A||m===d&&N.isActive&&!S&&w||x>C&&w,H=!1;const E=Array.isArray(f)?f:[f];let T=E.reduce(i(m),{});M===!1&&(T={});const{prevResolvedValues:O={}}=N,ae={...O,...T},U=ce=>{P=!0,p.has(ce)&&(H=!0,p.delete(ce)),N.needsAnimating[ce]=!0;const oe=e.getValue(ce);oe&&(oe.liveStyle=!1)};for(const ce in ae){const oe=T[ce],W=O[ce];if(y.hasOwnProperty(ce))continue;let v=!1;ex(oe)&&ex(W)?v=!eI(oe,W):v=oe!==W,v?oe!=null?U(ce):p.add(ce):oe!==void 0&&p.has(ce)?U(ce):N.protectedKeys[ce]=!0}N.prevProp=f,N.prevResolvedValues=T,N.isActive&&(y={...y,...T}),o&&e.blockInitialAnimation&&(P=!1),P&&(!(S&&A)||H)&&u.push(...E.map(ce=>({animation:ce,options:{type:m}})))}if(p.size){const x={};if(typeof l.initial!="boolean"){const m=Na(e,Array.isArray(l.initial)?l.initial[0]:l.initial);m&&m.transition&&(x.transition=m.transition)}p.forEach(m=>{const N=e.getBaseTarget(m),f=e.getValue(m);f&&(f.liveStyle=!0),x[m]=N??null}),u.push({animation:x})}let g=!!u.length;return o&&(l.initial===!1||l.initial===l.animate)&&!e.manuallyAnimateOnMount&&(g=!1),o=!1,g?t(u):Promise.resolve()}function s(d,l){var u;if(a[d].isActive===l)return Promise.resolve();(u=e.variantChildren)==null||u.forEach(p=>{var y;return(y=p.animationState)==null?void 0:y.setActive(d,l)}),a[d].isActive=l;const h=r(d);for(const p in a)a[p].protectedKeys={};return h}return{animateChanges:r,setActive:s,setAnimateFunction:c,getState:()=>a,reset:()=>{a=Sw(),o=!0}}}function rce(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!eI(t,e):!1}function u1(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Sw(){return{animate:u1(!0),whileInView:u1(),whileHover:u1(),whileTap:u1(),whileDrag:u1(),whileFocus:u1(),exit:u1()}}class h1{constructor(t){this.isMounted=!1,this.node=t}update(){}}class sce extends h1{constructor(t){super(t),t.animationState||(t.animationState=cce(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();Nv(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:a}=this.node.prevProps||{};t!==a&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),(t=this.unmountControls)==null||t.call(this)}}let dce=0;class hce extends h1{constructor(){super(...arguments),this.id=dce++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:a}=this.node.presenceContext,{isPresent:o}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===o)return;const i=this.node.animationState.setActive("exit",!t);a&&!t&&i.then(()=>{a(this.id)})}mount(){const{register:t,onExitComplete:a}=this.node.presenceContext||{};a&&a(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const lce={animation:{Feature:sce},exit:{Feature:hce}};function Aa(e,t,a,o={passive:!0}){return e.addEventListener(t,a,o),()=>e.removeEventListener(t,a)}function $a(e){return{point:{x:e.pageX,y:e.pageY}}}const uce=e=>t=>qx(t)&&e(t,$a(t));function va(e,t,a,o){return Aa(e,t,uce(a),o)}function nI({top:e,left:t,right:a,bottom:o}){return{x:{min:t,max:a},y:{min:e,max:o}}}function pce({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function yce(e,t){if(!t)return e;const a=t({x:e.left,y:e.top}),o=t({x:e.right,y:e.bottom});return{top:a.y,left:a.x,bottom:o.y,right:o.x}}const aI=1e-4,kce=1-aI,fce=1+aI,oI=.01,mce=0-oI,Mce=0+oI;function je(e){return e.max-e.min}function _ce(e,t,a){return Math.abs(e-t)<=a}function Iw(e,t,a,o=.5){e.origin=o,e.originPoint=we(t.min,t.max,e.origin),e.scale=je(a)/je(t),e.translate=we(a.min,a.max,e.origin)-e.originPoint,(e.scale>=kce&&e.scale<=fce||isNaN(e.scale))&&(e.scale=1),(e.translate>=mce&&e.translate<=Mce||isNaN(e.translate))&&(e.translate=0)}function Ca(e,t,a,o){Iw(e.x,t.x,a.x,o?o.originX:void 0),Iw(e.y,t.y,a.y,o?o.originY:void 0)}function Nw(e,t,a){e.min=a.min+t.min,e.max=e.min+je(t)}function gce(e,t,a){Nw(e.x,t.x,a.x),Nw(e.y,t.y,a.y)}function Aw(e,t,a){e.min=t.min-a.min,e.max=e.min+je(t)}function xa(e,t,a){Aw(e.x,t.x,a.x),Aw(e.y,t.y,a.y)}const Pw=()=>({translate:0,scale:1,origin:0,originPoint:0}),ia=()=>({x:Pw(),y:Pw()}),Ew=()=>({min:0,max:0}),Se=()=>({x:Ew(),y:Ew()});function Fe(e){return[e("x"),e("y")]}function SC(e){return e===void 0||e===1}function ax({scale:e,scaleX:t,scaleY:a}){return!SC(e)||!SC(t)||!SC(a)}function Gn(e){return ax(e)||iI(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function iI(e){return Rw(e.x)||Rw(e.y)}function Rw(e){return e&&e!=="0%"}function gv(e,t,a){const o=e-a,i=t*o;return a+i}function $w(e,t,a,o,i){return i!==void 0&&(e=gv(e,i,o)),gv(e,a,o)+t}function ox(e,t=0,a=1,o,i){e.min=$w(e.min,t,a,o,i),e.max=$w(e.max,t,a,o,i)}function cI(e,{x:t,y:a}){ox(e.x,t.translate,t.scale,t.originPoint),ox(e.y,a.translate,a.scale,a.originPoint)}const qw=.999999999999,Tw=1.0000000000001;function vce(e,t,a,o=!1){const i=a.length;if(!i)return;t.x=t.y=1;let c,r;for(let s=0;s<i;s++){c=a[s],r=c.projectionDelta;const{visualElement:d}=c.options;d&&d.props.style&&d.props.style.display==="contents"||(o&&c.options.layoutScroll&&c.scroll&&c!==c.root&&ra(e,{x:-c.scroll.offset.x,y:-c.scroll.offset.y}),r&&(t.x*=r.x.scale,t.y*=r.y.scale,cI(e,r)),o&&Gn(c.latestValues)&&ra(e,c.latestValues))}t.x<Tw&&t.x>qw&&(t.x=1),t.y<Tw&&t.y>qw&&(t.y=1)}function ca(e,t){e.min=e.min+t,e.max=e.max+t}function jw(e,t,a,o,i=.5){const c=we(e.min,e.max,i);ox(e,t,a,c,o)}function ra(e,t){jw(e.x,t.x,t.scaleX,t.scale,t.originX),jw(e.y,t.y,t.scaleY,t.scale,t.originY)}function rI(e,t){return nI(yce(e.getBoundingClientRect(),t))}function Cce(e,t,a){const o=rI(e,a),{scroll:i}=t;return i&&(ca(o.x,i.offset.x),ca(o.y,i.offset.y)),o}const sI=({current:e})=>e?e.ownerDocument.defaultView:null,Hw=(e,t)=>Math.abs(e-t);function xce(e,t){const a=Hw(e.x,t.x),o=Hw(e.y,t.y);return Math.sqrt(a**2+o**2)}class dI{constructor(t,a,{transformPagePoint:o,contextWindow:i,dragSnapToOrigin:c=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const u=NC(this.lastMoveEventInfo,this.history),p=this.startEvent!==null,y=xce(u.offset,{x:0,y:0})>=3;if(!p&&!y)return;const{point:C}=u,{timestamp:g}=Ae;this.history.push({...C,timestamp:g});const{onStart:x,onMove:m}=this.handlers;p||(x&&x(this.lastMoveEvent,u),this.startEvent=this.lastMoveEvent),m&&m(this.lastMoveEvent,u)},this.handlePointerMove=(u,p)=>{this.lastMoveEvent=u,this.lastMoveEventInfo=IC(p,this.transformPagePoint),be.update(this.updatePoint,!0)},this.handlePointerUp=(u,p)=>{this.end();const{onEnd:y,onSessionEnd:C,resumeAnimation:g}=this.handlers;if(this.dragSnapToOrigin&&g&&g(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const x=NC(u.type==="pointercancel"?this.lastMoveEventInfo:IC(p,this.transformPagePoint),this.history);this.startEvent&&y&&y(u,x),C&&C(u,x)},!qx(t))return;this.dragSnapToOrigin=c,this.handlers=a,this.transformPagePoint=o,this.contextWindow=i||window;const r=$a(t),s=IC(r,this.transformPagePoint),{point:d}=s,{timestamp:l}=Ae;this.history=[{...d,timestamp:l}];const{onSessionStart:h}=a;h&&h(t,NC(s,this.history)),this.removeListeners=Pa(va(this.contextWindow,"pointermove",this.handlePointerMove),va(this.contextWindow,"pointerup",this.handlePointerUp),va(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),s1(this.updatePoint)}}function IC(e,t){return t?{point:t(e.point)}:e}function Vw(e,t){return{x:e.x-t.x,y:e.y-t.y}}function NC({point:e},t){return{point:e,delta:Vw(e,hI(t)),offset:Vw(e,Lce(t)),velocity:wce(t,.1)}}function Lce(e){return e[0]}function hI(e){return e[e.length-1]}function wce(e,t){if(e.length<2)return{x:0,y:0};let a=e.length-1,o=null;const i=hI(e);for(;a>=0&&(o=e[a],!(i.timestamp-o.timestamp>Ge(t)));)a--;if(!o)return{x:0,y:0};const c=Je(i.timestamp-o.timestamp);if(c===0)return{x:0,y:0};const r={x:(i.x-o.x)/c,y:(i.y-o.y)/c};return r.x===1/0&&(r.x=0),r.y===1/0&&(r.y=0),r}function bce(e,{min:t,max:a},o){return t!==void 0&&e<t?e=o?we(t,e,o.min):Math.max(e,t):a!==void 0&&e>a&&(e=o?we(a,e,o.max):Math.min(e,a)),e}function zw(e,t,a){return{min:t!==void 0?e.min+t:void 0,max:a!==void 0?e.max+a-(e.max-e.min):void 0}}function Sce(e,{top:t,left:a,bottom:o,right:i}){return{x:zw(e.x,a,i),y:zw(e.y,t,o)}}function Ow(e,t){let a=t.min-e.min,o=t.max-e.max;return t.max-t.min<e.max-e.min&&([a,o]=[o,a]),{min:a,max:o}}function Ice(e,t){return{x:Ow(e.x,t.x),y:Ow(e.y,t.y)}}function Nce(e,t){let a=.5;const o=je(e),i=je(t);return i>o?a=La(t.min,t.max-o,e.min):o>i&&(a=La(e.min,e.max-i,t.min)),o1(0,1,a)}function Ace(e,t){const a={};return t.min!==void 0&&(a.min=t.min-e.min),t.max!==void 0&&(a.max=t.max-e.min),a}const ix=.35;function Pce(e=ix){return e===!1?e=0:e===!0&&(e=ix),{x:Dw(e,"left","right"),y:Dw(e,"top","bottom")}}function Dw(e,t,a){return{min:Fw(e,t),max:Fw(e,a)}}function Fw(e,t){return typeof e=="number"?e:e[t]||0}const Ece=new WeakMap;class Rce{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Se(),this.visualElement=t}start(t,{snapToCursor:a=!1}={}){const{presenceContext:o}=this.visualElement;if(o&&o.isPresent===!1)return;const i=h=>{const{dragSnapToOrigin:u}=this.getProps();u?this.pauseAnimation():this.stopAnimation(),a&&this.snapToCursor($a(h).point)},c=(h,u)=>{const{drag:p,dragPropagation:y,onDragStart:C}=this.getProps();if(p&&!y&&(this.openDragLock&&this.openDragLock(),this.openDragLock=Z0e(p),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Fe(x=>{let m=this.getAxisMotionValue(x).get()||0;if(e1.test(m)){const{projection:N}=this.visualElement;if(N&&N.layout){const f=N.layout.layoutBox[x];f&&(m=je(f)*(parseFloat(m)/100))}}this.originPoint[x]=m}),C&&be.postRender(()=>C(h,u)),tx(this.visualElement,"transform");const{animationState:g}=this.visualElement;g&&g.setActive("whileDrag",!0)},r=(h,u)=>{const{dragPropagation:p,dragDirectionLock:y,onDirectionLock:C,onDrag:g}=this.getProps();if(!p&&!this.openDragLock)return;const{offset:x}=u;if(y&&this.currentDirection===null){this.currentDirection=$ce(x),this.currentDirection!==null&&C&&C(this.currentDirection);return}this.updateAxis("x",u.point,x),this.updateAxis("y",u.point,x),this.visualElement.render(),g&&g(h,u)},s=(h,u)=>this.stop(h,u),d=()=>Fe(h=>{var u;return this.getAnimationState(h)==="paused"&&((u=this.getAxisMotionValue(h).animation)==null?void 0:u.play())}),{dragSnapToOrigin:l}=this.getProps();this.panSession=new dI(t,{onSessionStart:i,onStart:c,onMove:r,onSessionEnd:s,resumeAnimation:d},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:l,contextWindow:sI(this.visualElement)})}stop(t,a){const o=this.isDragging;if(this.cancel(),!o)return;const{velocity:i}=a;this.startAnimation(i);const{onDragEnd:c}=this.getProps();c&&be.postRender(()=>c(t,a))}cancel(){this.isDragging=!1;const{projection:t,animationState:a}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:o}=this.getProps();!o&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),a&&a.setActive("whileDrag",!1)}updateAxis(t,a,o){const{drag:i}=this.getProps();if(!o||!no(t,i,this.currentDirection))return;const c=this.getAxisMotionValue(t);let r=this.originPoint[t]+o[t];this.constraints&&this.constraints[t]&&(r=bce(r,this.constraints[t],this.elastic[t])),c.set(r)}resolveConstraints(){var c;const{dragConstraints:t,dragElastic:a}=this.getProps(),o=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(c=this.visualElement.projection)==null?void 0:c.layout,i=this.constraints;t&&oa(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&o?this.constraints=Sce(o.layoutBox,t):this.constraints=!1,this.elastic=Pce(a),i!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&Fe(r=>{this.constraints!==!1&&this.getAxisMotionValue(r)&&(this.constraints[r]=Ace(o.layoutBox[r],this.constraints[r]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:a}=this.getProps();if(!t||!oa(t))return!1;const o=t.current;i1(o!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const c=Cce(o,i.root,this.visualElement.getTransformPagePoint());let r=Ice(i.layout.layoutBox,c);if(a){const s=a(pce(r));this.hasMutatedConstraints=!!s,s&&(r=nI(s))}return r}startAnimation(t){const{drag:a,dragMomentum:o,dragElastic:i,dragTransition:c,dragSnapToOrigin:r,onDragTransitionEnd:s}=this.getProps(),d=this.constraints||{},l=Fe(h=>{if(!no(h,a,this.currentDirection))return;let u=d&&d[h]||{};r&&(u={min:0,max:0});const p=i?200:1e6,y=i?40:1e7,C={type:"inertia",velocity:o?t[h]:0,bounceStiffness:p,bounceDamping:y,timeConstant:750,restDelta:1,restSpeed:10,...c,...u};return this.startAxisValueAnimation(h,C)});return Promise.all(l).then(s)}startAxisValueAnimation(t,a){const o=this.getAxisMotionValue(t);return tx(this.visualElement,t),o.start(Ux(t,o,0,a,this.visualElement,!1))}stopAnimation(){Fe(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){Fe(t=>{var a;return(a=this.getAxisMotionValue(t).animation)==null?void 0:a.pause()})}getAnimationState(t){var a;return(a=this.getAxisMotionValue(t).animation)==null?void 0:a.state}getAxisMotionValue(t){const a=`_drag${t.toUpperCase()}`,o=this.visualElement.getProps(),i=o[a];return i||this.visualElement.getValue(t,(o.initial?o.initial[t]:void 0)||0)}snapToCursor(t){Fe(a=>{const{drag:o}=this.getProps();if(!no(a,o,this.currentDirection))return;const{projection:i}=this.visualElement,c=this.getAxisMotionValue(a);if(i&&i.layout){const{min:r,max:s}=i.layout.layoutBox[a];c.set(t[a]-we(r,s,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:a}=this.getProps(),{projection:o}=this.visualElement;if(!oa(a)||!o||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};Fe(r=>{const s=this.getAxisMotionValue(r);if(s&&this.constraints!==!1){const d=s.get();i[r]=Nce({min:d,max:d},this.constraints[r])}});const{transformTemplate:c}=this.visualElement.getProps();this.visualElement.current.style.transform=c?c({},""):"none",o.root&&o.root.updateScroll(),o.updateLayout(),this.resolveConstraints(),Fe(r=>{if(!no(r,t,null))return;const s=this.getAxisMotionValue(r),{min:d,max:l}=this.constraints[r];s.set(we(d,l,i[r]))})}addListeners(){if(!this.visualElement.current)return;Ece.set(this.visualElement,this);const t=this.visualElement.current,a=va(t,"pointerdown",d=>{const{drag:l,dragListener:h=!0}=this.getProps();l&&h&&this.start(d)}),o=()=>{const{dragConstraints:d}=this.getProps();oa(d)&&d.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,c=i.addEventListener("measure",o);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),be.read(o);const r=Aa(window,"resize",()=>this.scalePositionWithinConstraints()),s=i.addEventListener("didUpdate",({delta:d,hasLayoutChanged:l})=>{this.isDragging&&l&&(Fe(h=>{const u=this.getAxisMotionValue(h);u&&(this.originPoint[h]+=d[h].translate,u.set(u.get()+d[h].translate))}),this.visualElement.render())});return()=>{r(),a(),c(),s&&s()}}getProps(){const t=this.visualElement.getProps(),{drag:a=!1,dragDirectionLock:o=!1,dragPropagation:i=!1,dragConstraints:c=!1,dragElastic:r=ix,dragMomentum:s=!0}=t;return{...t,drag:a,dragDirectionLock:o,dragPropagation:i,dragConstraints:c,dragElastic:r,dragMomentum:s}}}function no(e,t,a){return(t===!0||t===e)&&(a===null||a===e)}function $ce(e,t=10){let a=null;return Math.abs(e.y)>t?a="y":Math.abs(e.x)>t&&(a="x"),a}class qce extends h1{constructor(t){super(t),this.removeGroupControls=Be,this.removeListeners=Be,this.controls=new Rce(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Be}unmount(){this.removeGroupControls(),this.removeListeners()}}const Bw=e=>(t,a)=>{e&&be.postRender(()=>e(t,a))};class Tce extends h1{constructor(){super(...arguments),this.removePointerDownListener=Be}onPointerDown(t){this.session=new dI(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:sI(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:a,onPan:o,onPanEnd:i}=this.node.getProps();return{onSessionStart:Bw(t),onStart:Bw(a),onMove:o,onEnd:(c,r)=>{delete this.session,i&&be.postRender(()=>i(c,r))}}}mount(){this.removePointerDownListener=va(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const yv={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Uw(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const fa={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(de.test(e))e=parseFloat(e);else return e;const a=Uw(e,t.target.x),o=Uw(e,t.target.y);return`${a}% ${o}%`}},jce={correct:(e,{treeScale:t,projectionDelta:a})=>{const o=e,i=d1.parse(e);if(i.length>5)return o;const c=d1.createTransformer(e),r=typeof i[0]!="number"?1:0,s=a.x.scale*t.x,d=a.y.scale*t.y;i[0+r]/=s,i[1+r]/=d;const l=we(s,d,.5);return typeof i[2+r]=="number"&&(i[2+r]/=l),typeof i[3+r]=="number"&&(i[3+r]/=l),c(i)}};class Hce extends q.Component{componentDidMount(){const{visualElement:t,layoutGroup:a,switchLayoutGroup:o,layoutId:i}=this.props,{projection:c}=t;Cie(Vce),c&&(a.group&&a.group.add(c),o&&o.register&&i&&o.register(c),c.root.didUpdate(),c.addEventListener("animationComplete",()=>{this.safeToRemove()}),c.setOptions({...c.options,onExitComplete:()=>this.safeToRemove()})),yv.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:a,visualElement:o,drag:i,isPresent:c}=this.props,{projection:r}=o;return r&&(r.isPresent=c,i||t.layoutDependency!==a||a===void 0||t.isPresent!==c?r.willUpdate():this.safeToRemove(),t.isPresent!==c&&(c?r.promote():r.relegate()||be.postRender(()=>{const s=r.getStack();(!s||!s.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),$x.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:a,switchLayoutGroup:o}=this.props,{projection:i}=t;i&&(i.scheduleCheckAfterUnmount(),a&&a.group&&a.group.remove(i),o&&o.deregister&&o.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function lI(e){const[t,a]=HS(),o=q.useContext(ux);return _.jsx(Hce,{...e,layoutGroup:o,switchLayoutGroup:q.useContext(FS),isPresent:t,safeToRemove:a})}const Vce={borderRadius:{...fa,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:fa,borderTopRightRadius:fa,borderBottomLeftRadius:fa,borderBottomRightRadius:fa,boxShadow:jce};function zce(e,t,a){const o=Re(e)?e:sa(e);return o.start(Ux("",o,t,a)),o.animation}const Oce=(e,t)=>e.depth-t.depth;class Dce{constructor(){this.children=[],this.isDirty=!1}add(t){yx(this.children,t),this.isDirty=!0}remove(t){kx(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(Oce),this.isDirty=!1,this.children.forEach(t)}}function Fce(e,t){const a=He.now(),o=({timestamp:i})=>{const c=i-a;c>=t&&(s1(o),e(c-t))};return be.setup(o,!0),()=>s1(o)}const uI=["TopLeft","TopRight","BottomLeft","BottomRight"],Bce=uI.length,Zw=e=>typeof e=="string"?parseFloat(e):e,Gw=e=>typeof e=="number"||de.test(e);function Uce(e,t,a,o,i,c){i?(e.opacity=we(0,a.opacity??1,Zce(o)),e.opacityExit=we(t.opacity??1,0,Gce(o))):c&&(e.opacity=we(t.opacity??1,a.opacity??1,o));for(let r=0;r<Bce;r++){const s=`border${uI[r]}Radius`;let d=Ww(t,s),l=Ww(a,s);if(d===void 0&&l===void 0)continue;d||(d=0),l||(l=0),d===0||l===0||Gw(d)===Gw(l)?(e[s]=Math.max(we(Zw(d),Zw(l),o),0),(e1.test(l)||e1.test(d))&&(e[s]+="%")):e[s]=l}(t.rotate||a.rotate)&&(e.rotate=we(t.rotate||0,a.rotate||0,o))}function Ww(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const Zce=pI(0,.5,iS),Gce=pI(.5,.95,Be);function pI(e,t,a){return o=>o<e?0:o>t?1:a(La(e,t,o))}function Xw(e,t){e.min=t.min,e.max=t.max}function De(e,t){Xw(e.x,t.x),Xw(e.y,t.y)}function Kw(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function Yw(e,t,a,o,i){return e-=t,e=gv(e,1/a,o),i!==void 0&&(e=gv(e,1/i,o)),e}function Wce(e,t=0,a=1,o=.5,i,c=e,r=e){if(e1.test(t)&&(t=parseFloat(t),t=we(r.min,r.max,t/100)-r.min),typeof t!="number")return;let s=we(c.min,c.max,o);e===c&&(s-=t),e.min=Yw(e.min,t,a,s,i),e.max=Yw(e.max,t,a,s,i)}function Qw(e,t,[a,o,i],c,r){Wce(e,t[a],t[o],t[i],t.scale,c,r)}const Xce=["x","scaleX","originX"],Kce=["y","scaleY","originY"];function Jw(e,t,a,o){Qw(e.x,t,Xce,a?a.x:void 0,o?o.x:void 0),Qw(e.y,t,Kce,a?a.y:void 0,o?o.y:void 0)}function eb(e){return e.translate===0&&e.scale===1}function yI(e){return eb(e.x)&&eb(e.y)}function tb(e,t){return e.min===t.min&&e.max===t.max}function Yce(e,t){return tb(e.x,t.x)&&tb(e.y,t.y)}function nb(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function kI(e,t){return nb(e.x,t.x)&&nb(e.y,t.y)}function ab(e){return je(e.x)/je(e.y)}function ob(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class Qce{constructor(){this.members=[]}add(t){yx(this.members,t),t.scheduleRender()}remove(t){if(kx(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const a=this.members[this.members.length-1];a&&this.promote(a)}}relegate(t){const a=this.members.findIndex(i=>t===i);if(a===0)return!1;let o;for(let i=a;i>=0;i--){const c=this.members[i];if(c.isPresent!==!1){o=c;break}}return o?(this.promote(o),!0):!1}promote(t,a){const o=this.lead;if(t!==o&&(this.prevLead=o,this.lead=t,t.show(),o)){o.instance&&o.scheduleRender(),t.scheduleRender(),t.resumeFrom=o,a&&(t.resumeFrom.preserveOpacity=!0),o.snapshot&&(t.snapshot=o.snapshot,t.snapshot.latestValues=o.animationValues||o.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:i}=t.options;i===!1&&o.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:a,resumingFrom:o}=t;a.onExitComplete&&a.onExitComplete(),o&&o.options.onExitComplete&&o.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function Jce(e,t,a){let o="";const i=e.x.translate/t.x,c=e.y.translate/t.y,r=(a==null?void 0:a.z)||0;if((i||c||r)&&(o=`translate3d(${i}px, ${c}px, ${r}px) `),(t.x!==1||t.y!==1)&&(o+=`scale(${1/t.x}, ${1/t.y}) `),a){const{transformPerspective:l,rotate:h,rotateX:u,rotateY:p,skewX:y,skewY:C}=a;l&&(o=`perspective(${l}px) ${o}`),h&&(o+=`rotate(${h}deg) `),u&&(o+=`rotateX(${u}deg) `),p&&(o+=`rotateY(${p}deg) `),y&&(o+=`skewX(${y}deg) `),C&&(o+=`skewY(${C}deg) `)}const s=e.x.scale*t.x,d=e.y.scale*t.y;return(s!==1||d!==1)&&(o+=`scale(${s}, ${d})`),o||"none"}const AC=["","X","Y","Z"],ere={visibility:"hidden"},tre=1e3;let nre=0;function PC(e,t,a,o){const{latestValues:i}=t;i[e]&&(a[e]=i[e],t.setStaticValue(e,0),o&&(o[e]=0))}function fI(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const a=QS(t);if(window.MotionHasOptimisedAnimation(a,"transform")){const{layout:i,layoutId:c}=e.options;window.MotionCancelOptimisedAnimation(a,"transform",be,!(i||c))}const{parent:o}=e;o&&!o.hasCheckedOptimisedAppear&&fI(o)}function mI({attachResizeListener:e,defaultParent:t,measureScroll:a,checkIsScrollRoot:o,resetTransform:i}){return class{constructor(r={},s=t==null?void 0:t()){this.id=nre++,this.animationId=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.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(ire),this.nodes.forEach(hre),this.nodes.forEach(lre),this.nodes.forEach(cre)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=r,this.root=s?s.root||s:this,this.path=s?[...s.path,s]:[],this.parent=s,this.depth=s?s.depth+1:0;for(let d=0;d<this.path.length;d++)this.path[d].shouldResetTransform=!0;this.root===this&&(this.nodes=new Dce)}addEventListener(r,s){return this.eventHandlers.has(r)||this.eventHandlers.set(r,new mx),this.eventHandlers.get(r).add(s)}notifyListeners(r,...s){const d=this.eventHandlers.get(r);d&&d.notify(...s)}hasListeners(r){return this.eventHandlers.has(r)}mount(r){if(this.instance)return;this.isSVG=jS(r)&&!Q0e(r),this.instance=r;const{layoutId:s,layout:d,visualElement:l}=this.options;if(l&&!l.current&&l.mount(r),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(d||s)&&(this.isLayoutDirty=!0),e){let h;const u=()=>this.root.updateBlockedByResize=!1;e(r,()=>{this.root.updateBlockedByResize=!0,h&&h(),h=Fce(u,250),yv.hasAnimatedSinceResize&&(yv.hasAnimatedSinceResize=!1,this.nodes.forEach(cb))})}s&&this.root.registerSharedNode(s,this),this.options.animate!==!1&&l&&(s||d)&&this.addEventListener("didUpdate",({delta:h,hasLayoutChanged:u,hasRelativeLayoutChanged:p,layout:y})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const C=this.options.transition||l.getDefaultTransition()||fre,{onLayoutAnimationStart:g,onLayoutAnimationComplete:x}=l.getProps(),m=!this.targetLayout||!kI(this.targetLayout,y),N=!u&&p;if(this.options.layoutRoot||this.resumeFrom||N||u&&(m||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const f={...Ex(C,"layout"),onPlay:g,onComplete:x};(l.shouldReduceMotion||this.options.layoutRoot)&&(f.delay=0,f.type=!1),this.startAnimation(f),this.setAnimationOrigin(h,N)}else u||cb(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=y})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const r=this.getStack();r&&r.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),s1(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(ure),this.animationId++)}getTransformTemplate(){const{visualElement:r}=this.options;return r&&r.getProps().transformTemplate}willUpdate(r=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&fI(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let h=0;h<this.path.length;h++){const u=this.path[h];u.shouldResetTransform=!0,u.updateScroll("snapshot"),u.options.layoutRoot&&u.willUpdate(!1)}const{layoutId:s,layout:d}=this.options;if(s===void 0&&!d)return;const l=this.getTransformTemplate();this.prevTransformTemplateValue=l?l(this.latestValues,""):void 0,this.updateSnapshot(),r&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(ib);return}this.isUpdating||this.nodes.forEach(sre),this.isUpdating=!1,this.nodes.forEach(dre),this.nodes.forEach(are),this.nodes.forEach(ore),this.clearAllSnapshots();const s=He.now();Ae.delta=o1(0,1e3/60,s-Ae.timestamp),Ae.timestamp=s,Ae.isProcessing=!0,vC.update.process(Ae),vC.preRender.process(Ae),vC.render.process(Ae),Ae.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,$x.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(rre),this.sharedNodes.forEach(pre)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,be.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){be.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!je(this.snapshot.measuredBox.x)&&!je(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 d=0;d<this.path.length;d++)this.path[d].updateScroll();const r=this.layout;this.layout=this.measure(!1),this.layoutCorrected=Se(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:s}=this.options;s&&s.notify("LayoutMeasure",this.layout.layoutBox,r?r.layoutBox:void 0)}updateScroll(r="measure"){let s=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===r&&(s=!1),s&&this.instance){const d=o(this.instance);this.scroll={animationId:this.root.animationId,phase:r,isRoot:d,offset:a(this.instance),wasRoot:this.scroll?this.scroll.isRoot:d}}}resetTransform(){if(!i)return;const r=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,s=this.projectionDelta&&!yI(this.projectionDelta),d=this.getTransformTemplate(),l=d?d(this.latestValues,""):void 0,h=l!==this.prevTransformTemplateValue;r&&this.instance&&(s||Gn(this.latestValues)||h)&&(i(this.instance,l),this.shouldResetTransform=!1,this.scheduleRender())}measure(r=!0){const s=this.measurePageBox();let d=this.removeElementScroll(s);return r&&(d=this.removeTransform(d)),mre(d),{animationId:this.root.animationId,measuredBox:s,layoutBox:d,latestValues:{},source:this.id}}measurePageBox(){var l;const{visualElement:r}=this.options;if(!r)return Se();const s=r.measureViewportBox();if(!(((l=this.scroll)==null?void 0:l.wasRoot)||this.path.some(Mre))){const{scroll:h}=this.root;h&&(ca(s.x,h.offset.x),ca(s.y,h.offset.y))}return s}removeElementScroll(r){var d;const s=Se();if(De(s,r),(d=this.scroll)!=null&&d.wasRoot)return s;for(let l=0;l<this.path.length;l++){const h=this.path[l],{scroll:u,options:p}=h;h!==this.root&&u&&p.layoutScroll&&(u.wasRoot&&De(s,r),ca(s.x,u.offset.x),ca(s.y,u.offset.y))}return s}applyTransform(r,s=!1){const d=Se();De(d,r);for(let l=0;l<this.path.length;l++){const h=this.path[l];!s&&h.options.layoutScroll&&h.scroll&&h!==h.root&&ra(d,{x:-h.scroll.offset.x,y:-h.scroll.offset.y}),Gn(h.latestValues)&&ra(d,h.latestValues)}return Gn(this.latestValues)&&ra(d,this.latestValues),d}removeTransform(r){const s=Se();De(s,r);for(let d=0;d<this.path.length;d++){const l=this.path[d];if(!l.instance||!Gn(l.latestValues))continue;ax(l.latestValues)&&l.updateSnapshot();const h=Se(),u=l.measurePageBox();De(h,u),Jw(s,l.latestValues,l.snapshot?l.snapshot.layoutBox:void 0,h)}return Gn(this.latestValues)&&Jw(s,this.latestValues),s}setTargetDelta(r){this.targetDelta=r,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(r){this.options={...this.options,...r,crossfade:r.crossfade!==void 0?r.crossfade:!0}}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!==Ae.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(r=!1){var p;const s=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=s.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=s.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=s.isSharedProjectionDirty);const d=!!this.resumingFrom||this!==s;if(!(r||d&&this.isSharedProjectionDirty||this.isProjectionDirty||(p=this.parent)!=null&&p.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:h,layoutId:u}=this.options;if(!(!this.layout||!(h||u))){if(this.resolvedRelativeTargetAt=Ae.timestamp,!this.targetDelta&&!this.relativeTarget){const y=this.getClosestProjectingParent();y&&y.layout&&this.animationProgress!==1?(this.relativeParent=y,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Se(),this.relativeTargetOrigin=Se(),xa(this.relativeTargetOrigin,this.layout.layoutBox,y.layout.layoutBox),De(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=Se(),this.targetWithTransforms=Se()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),gce(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):De(this.target,this.layout.layoutBox),cI(this.target,this.targetDelta)):De(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget)){this.attemptToResolveRelativeTarget=!1;const y=this.getClosestProjectingParent();y&&!!y.resumingFrom==!!this.resumingFrom&&!y.options.layoutScroll&&y.target&&this.animationProgress!==1?(this.relativeParent=y,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Se(),this.relativeTargetOrigin=Se(),xa(this.relativeTargetOrigin,this.target,y.target),De(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(!(!this.parent||ax(this.parent.latestValues)||iI(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var C;const r=this.getLead(),s=!!this.resumingFrom||this!==r;let d=!0;if((this.isProjectionDirty||(C=this.parent)!=null&&C.isProjectionDirty)&&(d=!1),s&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(d=!1),this.resolvedRelativeTargetAt===Ae.timestamp&&(d=!1),d)return;const{layout:l,layoutId:h}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(l||h))return;De(this.layoutCorrected,this.layout.layoutBox);const u=this.treeScale.x,p=this.treeScale.y;vce(this.layoutCorrected,this.treeScale,this.path,s),r.layout&&!r.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(r.target=r.layout.layoutBox,r.targetWithTransforms=Se());const{target:y}=r;if(!y){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Kw(this.prevProjectionDelta.x,this.projectionDelta.x),Kw(this.prevProjectionDelta.y,this.projectionDelta.y)),Ca(this.projectionDelta,this.layoutCorrected,y,this.latestValues),(this.treeScale.x!==u||this.treeScale.y!==p||!ob(this.projectionDelta.x,this.prevProjectionDelta.x)||!ob(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",y))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(r=!0){var s;if((s=this.options.visualElement)==null||s.scheduleRender(),r){const d=this.getStack();d&&d.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=ia(),this.projectionDelta=ia(),this.projectionDeltaWithTransform=ia()}setAnimationOrigin(r,s=!1){const d=this.snapshot,l=d?d.latestValues:{},h={...this.latestValues},u=ia();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!s;const p=Se(),y=d?d.source:void 0,C=this.layout?this.layout.source:void 0,g=y!==C,x=this.getStack(),m=!x||x.members.length<=1,N=!!(g&&!m&&this.options.crossfade===!0&&!this.path.some(kre));this.animationProgress=0;let f;this.mixTargetDelta=w=>{const M=w/1e3;rb(u.x,r.x,M),rb(u.y,r.y,M),this.setTargetDelta(u),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(xa(p,this.layout.layoutBox,this.relativeParent.layout.layoutBox),yre(this.relativeTarget,this.relativeTargetOrigin,p,M),f&&Yce(this.relativeTarget,f)&&(this.isProjectionDirty=!1),f||(f=Se()),De(f,this.relativeTarget)),g&&(this.animationValues=h,Uce(h,l,this.latestValues,M,N,m)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=M},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(r){var s,d,l;this.notifyListeners("animationStart"),(s=this.currentAnimation)==null||s.stop(),(l=(d=this.resumingFrom)==null?void 0:d.currentAnimation)==null||l.stop(),this.pendingAnimation&&(s1(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=be.update(()=>{yv.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=sa(0)),this.currentAnimation=zce(this.motionValue,[0,1e3],{...r,velocity:0,isSync:!0,onUpdate:h=>{this.mixTargetDelta(h),r.onUpdate&&r.onUpdate(h)},onStop:()=>{},onComplete:()=>{r.onComplete&&r.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const r=this.getStack();r&&r.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(tre),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const r=this.getLead();let{targetWithTransforms:s,target:d,layout:l,latestValues:h}=r;if(!(!s||!d||!l)){if(this!==r&&this.layout&&l&&MI(this.options.animationType,this.layout.layoutBox,l.layoutBox)){d=this.target||Se();const u=je(this.layout.layoutBox.x);d.x.min=r.target.x.min,d.x.max=d.x.min+u;const p=je(this.layout.layoutBox.y);d.y.min=r.target.y.min,d.y.max=d.y.min+p}De(s,d),ra(s,h),Ca(this.projectionDeltaWithTransform,this.layoutCorrected,s,h)}}registerSharedNode(r,s){this.sharedNodes.has(r)||this.sharedNodes.set(r,new Qce),this.sharedNodes.get(r).add(s);const l=s.options.initialPromotionConfig;s.promote({transition:l?l.transition:void 0,preserveFollowOpacity:l&&l.shouldPreserveFollowOpacity?l.shouldPreserveFollowOpacity(s):void 0})}isLead(){const r=this.getStack();return r?r.lead===this:!0}getLead(){var s;const{layoutId:r}=this.options;return r?((s=this.getStack())==null?void 0:s.lead)||this:this}getPrevLead(){var s;const{layoutId:r}=this.options;return r?(s=this.getStack())==null?void 0:s.prevLead:void 0}getStack(){const{layoutId:r}=this.options;if(r)return this.root.sharedNodes.get(r)}promote({needsReset:r,transition:s,preserveFollowOpacity:d}={}){const l=this.getStack();l&&l.promote(this,d),r&&(this.projectionDelta=void 0,this.needsReset=!0),s&&this.setOptions({transition:s})}relegate(){const r=this.getStack();return r?r.relegate(this):!1}resetSkewAndRotation(){const{visualElement:r}=this.options;if(!r)return;let s=!1;const{latestValues:d}=r;if((d.z||d.rotate||d.rotateX||d.rotateY||d.rotateZ||d.skewX||d.skewY)&&(s=!0),!s)return;const l={};d.z&&PC("z",r,l,this.animationValues);for(let h=0;h<AC.length;h++)PC(`rotate${AC[h]}`,r,l,this.animationValues),PC(`skew${AC[h]}`,r,l,this.animationValues);r.render();for(const h in l)r.setStaticValue(h,l[h]),this.animationValues&&(this.animationValues[h]=l[h]);r.scheduleRender()}getProjectionStyles(r){if(!this.instance||this.isSVG)return;if(!this.isVisible)return ere;const s={visibility:""},d=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,s.opacity="",s.pointerEvents=pv(r==null?void 0:r.pointerEvents)||"",s.transform=d?d(this.latestValues,""):"none",s;const l=this.getLead();if(!this.projectionDelta||!this.layout||!l.target){const y={};return this.options.layoutId&&(y.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,y.pointerEvents=pv(r==null?void 0:r.pointerEvents)||""),this.hasProjected&&!Gn(this.latestValues)&&(y.transform=d?d({},""):"none",this.hasProjected=!1),y}const h=l.animationValues||l.latestValues;this.applyTransformsToTarget(),s.transform=Jce(this.projectionDeltaWithTransform,this.treeScale,h),d&&(s.transform=d(h,s.transform));const{x:u,y:p}=this.projectionDelta;s.transformOrigin=`${u.origin*100}% ${p.origin*100}% 0`,l.animationValues?s.opacity=l===this?h.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:h.opacityExit:s.opacity=l===this?h.opacity!==void 0?h.opacity:"":h.opacityExit!==void 0?h.opacityExit:0;for(const y in Ia){if(h[y]===void 0)continue;const{correct:C,applyTo:g,isCSSVariable:x}=Ia[y],m=s.transform==="none"?h[y]:C(h[y],l);if(g){const N=g.length;for(let f=0;f<N;f++)s[g[f]]=m}else x?this.options.visualElement.renderState.vars[y]=m:s[y]=m}return this.options.layoutId&&(s.pointerEvents=l===this?pv(r==null?void 0:r.pointerEvents)||"":"none"),s}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(r=>{var s;return(s=r.currentAnimation)==null?void 0:s.stop()}),this.root.nodes.forEach(ib),this.root.sharedNodes.clear()}}}function are(e){e.updateLayout()}function ore(e){var a;const t=((a=e.resumeFrom)==null?void 0:a.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:o,measuredBox:i}=e.layout,{animationType:c}=e.options,r=t.source!==e.layout.source;c==="size"?Fe(u=>{const p=r?t.measuredBox[u]:t.layoutBox[u],y=je(p);p.min=o[u].min,p.max=p.min+y}):MI(c,t.layoutBox,o)&&Fe(u=>{const p=r?t.measuredBox[u]:t.layoutBox[u],y=je(o[u]);p.max=p.min+y,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[u].max=e.relativeTarget[u].min+y)});const s=ia();Ca(s,o,t.layoutBox);const d=ia();r?Ca(d,e.applyTransform(i,!0),t.measuredBox):Ca(d,o,t.layoutBox);const l=!yI(s);let h=!1;if(!e.resumeFrom){const u=e.getClosestProjectingParent();if(u&&!u.resumeFrom){const{snapshot:p,layout:y}=u;if(p&&y){const C=Se();xa(C,t.layoutBox,p.layoutBox);const g=Se();xa(g,o,y.layoutBox),kI(C,g)||(h=!0),u.options.layoutRoot&&(e.relativeTarget=g,e.relativeTargetOrigin=C,e.relativeParent=u)}}}e.notifyListeners("didUpdate",{layout:o,snapshot:t,delta:d,layoutDelta:s,hasLayoutChanged:l,hasRelativeLayoutChanged:h})}else if(e.isLead()){const{onExitComplete:o}=e.options;o&&o()}e.options.transition=void 0}function ire(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 cre(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function rre(e){e.clearSnapshot()}function ib(e){e.clearMeasurements()}function sre(e){e.isLayoutDirty=!1}function dre(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function cb(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function hre(e){e.resolveTargetDelta()}function lre(e){e.calcProjection()}function ure(e){e.resetSkewAndRotation()}function pre(e){e.removeLeadSnapshot()}function rb(e,t,a){e.translate=we(t.translate,0,a),e.scale=we(t.scale,1,a),e.origin=t.origin,e.originPoint=t.originPoint}function sb(e,t,a,o){e.min=we(t.min,a.min,o),e.max=we(t.max,a.max,o)}function yre(e,t,a,o){sb(e.x,t.x,a.x,o),sb(e.y,t.y,a.y,o)}function kre(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const fre={duration:.45,ease:[.4,0,.1,1]},db=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),hb=db("applewebkit/")&&!db("chrome/")?Math.round:Be;function lb(e){e.min=hb(e.min),e.max=hb(e.max)}function mre(e){lb(e.x),lb(e.y)}function MI(e,t,a){return e==="position"||e==="preserve-aspect"&&!_ce(ab(t),ab(a),.2)}function Mre(e){var t;return e!==e.root&&((t=e.scroll)==null?void 0:t.wasRoot)}const _re=mI({attachResizeListener:(e,t)=>Aa(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),EC={current:void 0},_I=mI({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!EC.current){const e=new _re({});e.mount(window),e.setOptions({layoutScroll:!0}),EC.current=e}return EC.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),gre={pan:{Feature:Tce},drag:{Feature:qce,ProjectionNode:_I,MeasureLayout:lI}};function ub(e,t,a){const{props:o}=e;e.animationState&&o.whileHover&&e.animationState.setActive("whileHover",a==="Start");const i="onHover"+a,c=o[i];c&&be.postRender(()=>c(t,$a(t)))}class vre extends h1{mount(){const{current:t}=this.node;t&&(this.unmount=G0e(t,(a,o)=>(ub(this.node,o,"Start"),i=>ub(this.node,i,"End"))))}unmount(){}}class Cre extends h1{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!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=Pa(Aa(this.node.current,"focus",()=>this.onFocus()),Aa(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function pb(e,t,a){const{props:o}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&o.whileTap&&e.animationState.setActive("whileTap",a==="Start");const i="onTap"+(a==="End"?"":a),c=o[i];c&&be.postRender(()=>c(t,$a(t)))}class xre extends h1{mount(){const{current:t}=this.node;t&&(this.unmount=Y0e(t,(a,o)=>(pb(this.node,o,"Start"),(i,{success:c})=>pb(this.node,i,c?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const cx=new WeakMap,RC=new WeakMap,Lre=e=>{const t=cx.get(e.target);t&&t(e)},wre=e=>{e.forEach(Lre)};function bre({root:e,...t}){const a=e||document;RC.has(a)||RC.set(a,{});const o=RC.get(a),i=JSON.stringify(t);return o[i]||(o[i]=new IntersectionObserver(wre,{root:e,...t})),o[i]}function Sre(e,t,a){const o=bre(t);return cx.set(e,a),o.observe(e),()=>{cx.delete(e),o.unobserve(e)}}const Ire={some:0,all:1};class Nre extends h1{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:a,margin:o,amount:i="some",once:c}=t,r={root:a?a.current:void 0,rootMargin:o,threshold:typeof i=="number"?i:Ire[i]},s=d=>{const{isIntersecting:l}=d;if(this.isInView===l||(this.isInView=l,c&&!l&&this.hasEnteredView))return;l&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",l);const{onViewportEnter:h,onViewportLeave:u}=this.node.getProps(),p=l?h:u;p&&p(d)};return Sre(this.node.current,r,s)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:a}=this.node;["amount","margin","root"].some(Are(t,a))&&this.startObserver()}unmount(){}}function Are({viewport:e={}},{viewport:t={}}={}){return a=>e[a]!==t[a]}const Pre={inView:{Feature:Nre},tap:{Feature:xre},focus:{Feature:Cre},hover:{Feature:vre}},Ere={layout:{ProjectionNode:_I,MeasureLayout:lI}},rx={current:null},gI={current:!1};function Rre(){if(gI.current=!0,!!px)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>rx.current=e.matches;e.addListener(t),t()}else rx.current=!1}const $re=new WeakMap;function qre(e,t,a){for(const o in t){const i=t[o],c=a[o];if(Re(i))e.addValue(o,i);else if(Re(c))e.addValue(o,sa(i,{owner:e}));else if(c!==i)if(e.hasValue(o)){const r=e.getValue(o);r.liveStyle===!0?r.jump(i):r.hasAnimated||r.set(i)}else{const r=e.getStaticValue(o);e.addValue(o,sa(r!==void 0?r:i,{owner:e}))}}for(const o in a)t[o]===void 0&&e.removeValue(o);return t}const yb=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class Tre{scrapeMotionValuesFromProps(t,a,o){return{}}constructor({parent:t,props:a,presenceContext:o,reducedMotionConfig:i,blockInitialAnimation:c,visualState:r},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Ax,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const p=He.now();this.renderScheduledAt<p&&(this.renderScheduledAt=p,be.render(this.render,!1,!0))};const{latestValues:d,renderState:l}=r;this.latestValues=d,this.baseTarget={...d},this.initialValues=a.initial?{...d}:{},this.renderState=l,this.parent=t,this.props=a,this.presenceContext=o,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.options=s,this.blockInitialAnimation=!!c,this.isControllingVariants=Av(a),this.isVariantNode=OS(a),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:h,...u}=this.scrapeMotionValuesFromProps(a,{},this);for(const p in u){const y=u[p];d[p]!==void 0&&Re(y)&&y.set(d[p],!1)}}mount(t){this.current=t,$re.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((a,o)=>this.bindToMotionValue(o,a)),gI.current||Rre(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:rx.current,process.env.NODE_ENV!=="production"&&Mx(this.shouldReduceMotion!==!0,"You have Reduced Motion enabled on your device. Animations may not appear as expected."),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),s1(this.notifyUpdate),s1(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const a=this.features[t];a&&(a.unmount(),a.isMounted=!1)}this.current=null}bindToMotionValue(t,a){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const o=pa.has(t);o&&this.onBindTransform&&this.onBindTransform();const i=a.on("change",s=>{this.latestValues[t]=s,this.props.onUpdate&&be.preRender(this.notifyUpdate),o&&this.projection&&(this.projection.isTransformDirty=!0)}),c=a.on("renderRequest",this.scheduleRender);let r;window.MotionCheckAppearSync&&(r=window.MotionCheckAppearSync(this,t,a)),this.valueSubscriptions.set(t,()=>{i(),c(),r&&r(),a.owner&&a.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in da){const a=da[t];if(!a)continue;const{isEnabled:o,Feature:i}=a;if(!this.features[t]&&i&&o(this.props)&&(this.features[t]=new i(this)),this.features[t]){const c=this.features[t];c.isMounted?c.update():(c.mount(),c.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Se()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,a){this.latestValues[t]=a}update(t,a){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=a;for(let o=0;o<yb.length;o++){const i=yb[o];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);const c="on"+i,r=t[c];r&&(this.propEventSubscriptions[i]=this.on(i,r))}this.prevMotionValues=qre(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]: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(t){const a=this.getClosestVariantNode();if(a)return a.variantChildren&&a.variantChildren.add(t),()=>a.variantChildren.delete(t)}addValue(t,a){const o=this.values.get(t);a!==o&&(o&&this.removeValue(t),this.bindToMotionValue(t,a),this.values.set(t,a),this.latestValues[t]=a.get())}removeValue(t){this.values.delete(t);const a=this.valueSubscriptions.get(t);a&&(a(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,a){if(this.props.values&&this.props.values[t])return this.props.values[t];let o=this.values.get(t);return o===void 0&&a!==void 0&&(o=sa(a===null?void 0:a,{owner:this}),this.addValue(t,o)),o}readValue(t,a){let o=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return o!=null&&(typeof o=="string"&&(Xb(o)||Yb(o))?o=parseFloat(o):!eie(o)&&d1.test(a)&&(o=ES(t,a)),this.setBaseTarget(t,Re(o)?o.get():o)),Re(o)?o.get():o}setBaseTarget(t,a){this.baseTarget[t]=a}getBaseTarget(t){var c;const{initial:a}=this.props;let o;if(typeof a=="string"||typeof a=="object"){const r=Fx(this.props,a,(c=this.presenceContext)==null?void 0:c.custom);r&&(o=r[t])}if(a&&o!==void 0)return o;const i=this.getBaseTargetFromProps(this.props,t);return i!==void 0&&!Re(i)?i:this.initialValues[t]!==void 0&&o===void 0?void 0:this.baseTarget[t]}on(t,a){return this.events[t]||(this.events[t]=new mx),this.events[t].add(a)}notify(t,...a){this.events[t]&&this.events[t].notify(...a)}}class vI extends Tre{constructor(){super(...arguments),this.KeyframeResolver=D0e}sortInstanceNodePosition(t,a){return t.compareDocumentPosition(a)&2?1:-1}getBaseTargetFromProps(t,a){return t.style?t.style[a]:void 0}removeValueFromRenderState(t,{vars:a,style:o}){delete a[t],delete o[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;Re(t)&&(this.childSubscription=t.on("change",a=>{this.current&&(this.current.textContent=`${a}`)}))}}function CI(e,{style:t,vars:a},o,i){Object.assign(e.style,t,i&&i.getProjectionStyles(o));for(const c in a)e.style.setProperty(c,a[c])}function jre(e){return window.getComputedStyle(e)}class Hre extends vI{constructor(){super(...arguments),this.type="html",this.renderInstance=CI}readValueFromInstance(t,a){var o;if(pa.has(a))return(o=this.projection)!=null&&o.isProjecting?WC(a):c0e(t,a);{const i=jre(t),c=(vx(a)?i.getPropertyValue(a):i[a])||0;return typeof c=="string"?c.trim():c}}measureInstanceViewportBox(t,{transformPagePoint:a}){return rI(t,a)}build(t,a,o){zx(t,a,o.transformTemplate)}scrapeMotionValuesFromProps(t,a,o){return Bx(t,a,o)}}const xI=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"]);function Vre(e,t,a,o){CI(e,t,void 0,o);for(const i in t.attrs)e.setAttribute(xI.has(i)?i:Vx(i),t.attrs[i])}class zre extends vI{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Se}getBaseTargetFromProps(t,a){return t[a]}readValueFromInstance(t,a){if(pa.has(a)){const o=PS(a);return o&&o.default||0}return a=xI.has(a)?a:Vx(a),t.getAttribute(a)}scrapeMotionValuesFromProps(t,a,o){return YS(t,a,o)}build(t,a,o){GS(t,a,this.isSVGTag,o.transformTemplate,o.style)}renderInstance(t,a,o,i){Vre(t,a,o,i)}mount(t){this.isSVGTag=XS(t.tagName),super.mount(t)}}const Ore=(e,t)=>Dx(e)?new zre(t):new Hre(t,{allowProjection:e!==q.Fragment}),Dre=Vie({...lce,...Pre,...gre,...Ere},Ore),_a=hie(Dre);class Fre{constructor(){this.componentControls=new Set}subscribe(t){return this.componentControls.add(t),()=>this.componentControls.delete(t)}start(t,a){this.componentControls.forEach(o=>{o.start(t.nativeEvent||t,a)})}}const Bre=()=>new Fre;function Ure(){return bv(Bre)}const Zre="toggle-module__toggle___UzM3e",Gre="toggle-module__skeleton___mjzF4",Wre="toggle-module__checkbox___opDuO",Xre="toggle-module__sun___UrzIC",Kre="toggle-module__moon___r5ivs",ea={toggle:Zre,skeleton:Gre,checkbox:Wre,sun:Xre,moon:Kre},Yre="checkbox-module__field___tw7Y1",Qre="checkbox-module__checkbox___6oZEx",Jre="checkbox-module__radio___VoMM2",ese="checkbox-module__toggle___B5NRE",tse="checkbox-module__input___s2l9X",nse="checkbox-module__title___HaaGu",ase="checkbox-module__label___uDuwc",ose="checkbox-module__helper___VwqDa",xe={field:Yre,checkbox:Qre,radio:Jre,toggle:ese,"is-disabled":"checkbox-module__is-disabled___h2CQm",input:tse,"is-error":"checkbox-module__is-error___bgoZ4","is-skeleton":"checkbox-module__is-skeleton___h-CN1",title:nse,label:ase,helper:ose,"no-placeholder":"checkbox-module__no-placeholder___anYwD"},LI=({children:e,name:t,id:a,value:o,checked:i,helper:c,className:r="",label:s,isToggle:d=!1,isDisabled:l=!1,isSkeleton:h=!1,isError:u=!1,hasHover:p=!0,hasFocus:y=!0,onChange:C})=>_.jsxs("div",{className:xe.field,children:[_.jsxs("div",{className:Y(xe.checkbox,d&&xe.toggle,(l||h)&&xe["is-disabled"],h&&xe["is-skeleton"],u&&xe["is-error"],p&&xe["has-hover"],y&&xe["has-focus"],!e&&!s&&xe["no-placeholder"]),children:[_.jsx("input",{type:"checkbox",id:a||t,name:t,value:o,onChange:C,className:Y(xe.input,r),checked:i,"aria-label":t,disabled:l||h}),_.jsx("label",{htmlFor:a||t,children:e||s&&_.jsx("div",{className:xe.title,children:_.jsx("div",{className:xe.label,children:s})})})]}),c&&_.jsx("div",{className:xe.helper,children:c})]}),ise=({...e})=>_.jsxs("div",{className:Y(ea.toggle,e.isSkeleton&&ea.skeleton,e.checked&&ea.checked,e.className),children:[_.jsxs(_a.span,{animate:{x:e.checked?40:0},transition:e.isSkeleton?{duration:0}:{duration:.2},children:[_.jsx(Qe,{name:"Sun",size:"md",className:ea.sun}),_.jsx(Qe,{name:"Moon",size:"md",className:ea.moon})]}),_.jsx(LI,{...e,className:Y(ea.checkbox,e.className)})]}),cse="header-module__header___ouQd4",rse="header-module__scrolled___sKl7S",sse="header-module__container___IjYcu",dse="header-module__top___42BKq",ta={header:cse,"is-home":"header-module__is-home___puHem",scrolled:rse,container:sse,top:dse},hse="logo-module__logo___11Qw4",lse="logo-module__skeleton___ZE23y",use="logo-module__pulse___5tG4z",pse="logo-module__dark___xrO5o",yse="logo-module__button___Bejvb",kse="logo-module__nav___of7Is",fse="logo-module__icon___CyZil",mse="logo-module__light___JQirk",Mse="logo-module__header___9XrJi",_se="logo-module__loading___vpDlp",p1={logo:hse,skeleton:lse,pulse:use,dark:pse,button:yse,nav:kse,icon:fse,light:mse,header:Mse,loading:_se,"loading-dark":"logo-module__loading-dark___MSOCZ"},wI=({type:e="default",hasTitle:t=!0,header:a=!1,className:o=""})=>{const i=t1.useMounted();return _.jsxs(Wn,{href:"/",className:Y(p1.logo,e&&p1[e],a&&p1.header,o),children:[_.jsx("span",{className:Y(p1.icon,!i&&p1.skeleton),children:"M"}),t&&_.jsx("span",{className:Y(p1.title,!i&&p1.skeleton),children:"TheMichael"})]})};function gse(){const[e,t]=q.useState(!1);return q.useEffect(()=>{const a=()=>{t(window.scrollY>0)};return window.addEventListener("scroll",a),a(),()=>{window.removeEventListener("scroll",a)}},[]),e}const vse=({id:e,isHome:t=!1,theme:a,onToggleTheme:o,activeSection:i,className:c=""})=>{const[r,s]=q.useState(a==="dark"),d=t1.useMounted(),l=gse();return _.jsx("div",{id:e,className:Y(ta.header,t&&ta["is-home"],l&&ta.scrolled,c),children:_.jsx("div",{className:ta.container,children:_.jsxs("div",{className:Y(ta.top),children:[_.jsx(wI,{type:"light",header:!0}),_.jsx(ooe,{activeSection:i}),_.jsx("div",{className:ta.right,children:_.jsx(ise,{name:"toggle",value:"",onChange:h=>{const p=h.target.checked?"dark":"light";o&&o(p),s(p==="dark")},checked:r,isSkeleton:!d})})]})})})};var ao={},kb;function Cse(){if(kb)return ao;kb=1,ao.match=c,ao.parse=r;var e=/(?:(only|not)?\s*([^\s\(\)]+)(?:\s*and)?\s*)?(.+)?/i,t=/\(\s*([^\s\:\)]+)\s*(?:\:\s*([^\s\)]+))?\s*\)/,a=/^(?:(min|max)-)?(.+)/,o=/(em|rem|px|cm|mm|in|pt|pc)?$/,i=/(dpi|dpcm|dppx)?$/;function c(h,u){return r(h).some(function(p){var y=p.inverse,C=p.type==="all"||u.type===p.type;if(C&&y||!(C||y))return!1;var g=p.expressions.every(function(x){var m=x.feature,N=x.modifier,f=x.value,w=u[m];if(!w)return!1;switch(m){case"orientation":case"scan":return w.toLowerCase()===f.toLowerCase();case"width":case"height":case"device-width":case"device-height":f=l(f),w=l(w);break;case"resolution":f=d(f),w=d(w);break;case"aspect-ratio":case"device-aspect-ratio":case"device-pixel-ratio":f=s(f),w=s(w);break;case"grid":case"color":case"color-index":case"monochrome":f=parseInt(f,10)||1,w=parseInt(w,10)||0;break}switch(N){case"min":return w>=f;case"max":return w<=f;default:return w===f}});return g&&!y||!g&&y})}function r(h){return h.split(",").map(function(u){u=u.trim();var p=u.match(e),y=p[1],C=p[2],g=p[3]||"",x={};return x.inverse=!!y&&y.toLowerCase()==="not",x.type=C?C.toLowerCase():"all",g=g.match(/\([^\)]+\)/g)||[],x.expressions=g.map(function(m){var N=m.match(t),f=N[1].toLowerCase().match(a);return{modifier:f[1],feature:f[2],value:N[2]}}),x})}function s(h){var u=Number(h),p;return u||(p=h.match(/^(\d+)\s*\/\s*(\d+)$/),u=p[1]/p[2]),u}function d(h){var u=parseFloat(h),p=String(h).match(i)[1];switch(p){case"dpcm":return u/2.54;case"dppx":return u*96;default:return u}}function l(h){var u=parseFloat(h),p=String(h).match(o)[1];switch(p){case"em":return u*16;case"rem":return u*16;case"cm":return u*96/2.54;case"mm":return u*96/2.54/10;case"in":return u*96;case"pt":return u*72;case"pc":return u*72/12;default:return u}}return ao}var $C,fb;function xse(){if(fb)return $C;fb=1;var e=Cse().match,t=typeof window<"u"?window.matchMedia:null;function a(i,c,r){var s=this,d;t&&!r&&(d=t.call(window,i)),d?(this.matches=d.matches,this.media=d.media,d.addListener(u)):(this.matches=e(i,c),this.media=i),this.addListener=l,this.removeListener=h,this.dispose=p;function l(y){d&&d.addListener(y)}function h(y){d&&d.removeListener(y)}function u(y){s.matches=y.matches,s.media=y.media}function p(){d&&d.removeListener(u)}}function o(i,c,r){return new a(i,c,r)}return $C=o,$C}var Lse=xse();const wse=vv(Lse);var bse=/[A-Z]/g,Sse=/^ms-/,qC={};function Ise(e){return"-"+e.toLowerCase()}function bI(e){if(qC.hasOwnProperty(e))return qC[e];var t=e.replace(bse,Ise);return qC[e]=Sse.test(t)?"-"+t:t}function Nse(e,t){if(e===t)return!0;if(!e||!t)return!1;const a=Object.keys(e),o=Object.keys(t),i=a.length;if(o.length!==i)return!1;for(let c=0;c<i;c++){const r=a[c];if(e[r]!==t[r]||!Object.prototype.hasOwnProperty.call(t,r))return!1}return!0}var oo={exports:{}},io={exports:{}},ke={};/** @license React v16.13.1
7835
+ `),()=>{document.head.contains(y)&&document.head.removeChild(y)}},[t]),_.jsx(nie,{isPresent:t,childRef:i,sizeRef:c,children:k.cloneElement(e,{ref:i})})}const oie=({children:e,initial:t,isPresent:a,onExitComplete:o,custom:i,presenceAffectsLayout:c,mode:r,anchorX:s})=>{const d=bv(iie),l=q.useId();let h=!0,u=q.useMemo(()=>(h=!1,{id:l,initial:t,isPresent:a,custom:i,onExitComplete:p=>{d.set(p,!0);for(const y of d.values())if(!y)return;o&&o()},register:p=>(d.set(p,!1),()=>d.delete(p))}),[a,d,o]);return c&&h&&(u={...u}),q.useMemo(()=>{d.forEach((p,y)=>d.set(y,!1))},[a]),k.useEffect(()=>{!a&&!d.size&&o&&o()},[a]),r==="popLayout"&&(e=_.jsx(aie,{isPresent:a,anchorX:s,children:e})),_.jsx(Sv.Provider,{value:u,children:e})};function iie(){return new Map}function HS(e=!0){const t=q.useContext(Sv);if(t===null)return[!0,null];const{isPresent:a,onExitComplete:o,register:i}=t,c=q.useId();q.useEffect(()=>{if(e)return i(c)},[e]);const r=q.useCallback(()=>e&&o&&o(c),[c,o,e]);return!a&&o?[!1,r]:[!0]}const to=e=>e.key||"";function xw(e){const t=[];return q.Children.forEach(e,a=>{q.isValidElement(a)&&t.push(a)}),t}const cie=({children:e,custom:t,initial:a=!0,onExitComplete:o,presenceAffectsLayout:i=!0,mode:c="sync",propagate:r=!1,anchorX:s="left"})=>{const[d,l]=HS(r),h=q.useMemo(()=>xw(e),[e]),u=r&&!d?[]:h.map(to),p=q.useRef(!0),y=q.useRef(h),C=bv(()=>new Map),[g,x]=q.useState(h),[m,N]=q.useState(h);Wb(()=>{p.current=!1,y.current=h;for(let M=0;M<m.length;M++){const S=to(m[M]);u.includes(S)?C.delete(S):C.get(S)!==!0&&C.set(S,!1)}},[m,u.length,u.join("-")]);const f=[];if(h!==g){let M=[...h];for(let S=0;S<m.length;S++){const A=m[S],P=to(A);u.includes(P)||(M.splice(S,0,A),f.push(A))}return c==="wait"&&f.length&&(M=f),N(xw(M)),x(h),null}process.env.NODE_ENV!=="production"&&c==="wait"&&m.length>1&&console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`);const{forceRender:w}=q.useContext(ux);return _.jsx(_.Fragment,{children:m.map(M=>{const S=to(M),A=r&&!d?!1:h===m||u.includes(S),P=()=>{if(C.has(S))C.set(S,!0);else return;let H=!0;C.forEach(E=>{E||(H=!1)}),H&&(w==null||w(),N(y.current),r&&(l==null||l()),o&&o())};return _.jsx(oie,{isPresent:A,initial:!p.current||a?void 0:!1,custom:t,presenceAffectsLayout:i,mode:c,onExitComplete:A?void 0:P,anchorX:s,children:M},S)})})},VS=q.createContext({strict:!1}),Lw={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"]},da={};for(const e in Lw)da[e]={isEnabled:t=>Lw[e].some(a=>!!t[a])};function rie(e){for(const t in e)da[t]={...da[t],...e[t]}}const sie=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function _v(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||sie.has(e)}let zS=e=>!_v(e);function die(e){typeof e=="function"&&(zS=t=>t.startsWith("on")?!_v(t):e(t))}try{die(require("@emotion/is-prop-valid").default)}catch{}function hie(e,t,a){const o={};for(const i in e)i==="values"&&typeof e.values=="object"||(zS(i)||a===!0&&_v(i)||!t&&!_v(i)||e.draggable&&i.startsWith("onDrag"))&&(o[i]=e[i]);return o}function lie(e){if(typeof Proxy>"u")return e;const t=new Map,a=(...o)=>(process.env.NODE_ENV!=="production"&&Mx(!1,"motion() is deprecated. Use motion.create() instead."),e(...o));return new Proxy(a,{get:(o,i)=>i==="create"?e:(t.has(i)||t.set(i,e(i)),t.get(i))})}const Iv=q.createContext({});function Nv(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function Ia(e){return typeof e=="string"||Array.isArray(e)}const jx=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Hx=["initial",...jx];function Av(e){return Nv(e.animate)||Hx.some(t=>Ia(e[t]))}function OS(e){return!!(Av(e)||e.variants)}function uie(e,t){if(Av(e)){const{initial:a,animate:o}=e;return{initial:a===!1||Ia(a)?a:void 0,animate:Ia(o)?o:void 0}}return e.inherit!==!1?t:{}}function pie(e){const{initial:t,animate:a}=uie(e,q.useContext(Iv));return q.useMemo(()=>({initial:t,animate:a}),[ww(t),ww(a)])}function ww(e){return Array.isArray(e)?e.join(" "):e}const yie=Symbol.for("motionComponentSymbol");function oa(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function kie(e,t,a){return q.useCallback(o=>{o&&e.onMount&&e.onMount(o),t&&(o?t.mount(o):t.unmount()),a&&(typeof a=="function"?a(o):oa(a)&&(a.current=o))},[t])}const Vx=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),fie="framerAppearId",DS="data-"+Vx(fie),FS=q.createContext({});function mie(e,t,a,o,i){var g,x;const{visualElement:c}=q.useContext(Iv),r=q.useContext(VS),s=q.useContext(Sv),d=q.useContext(Tx).reducedMotion,l=q.useRef(null);o=o||r.renderer,!l.current&&o&&(l.current=o(e,{visualState:t,parent:c,props:a,presenceContext:s,blockInitialAnimation:s?s.initial===!1:!1,reducedMotionConfig:d}));const h=l.current,u=q.useContext(FS);h&&!h.projection&&i&&(h.type==="html"||h.type==="svg")&&Mie(l.current,a,i,u);const p=q.useRef(!1);q.useInsertionEffect(()=>{h&&p.current&&h.update(a,s)});const y=a[DS],C=q.useRef(!!y&&!((g=window.MotionHandoffIsComplete)!=null&&g.call(window,y))&&((x=window.MotionHasOptimisedAnimation)==null?void 0:x.call(window,y)));return Wb(()=>{h&&(p.current=!0,window.MotionIsMounted=!0,h.updateFeatures(),$x.render(h.render),C.current&&h.animationState&&h.animationState.animateChanges())}),q.useEffect(()=>{h&&(!C.current&&h.animationState&&h.animationState.animateChanges(),C.current&&(queueMicrotask(()=>{var m;(m=window.MotionHandoffMarkAsComplete)==null||m.call(window,y)}),C.current=!1))}),h}function Mie(e,t,a,o){const{layoutId:i,layout:c,drag:r,dragConstraints:s,layoutScroll:d,layoutRoot:l,layoutCrossfade:h}=t;e.projection=new a(e.latestValues,t["data-framer-portal-id"]?void 0:BS(e.parent)),e.projection.setOptions({layoutId:i,layout:c,alwaysMeasureLayout:!!r||s&&oa(s),visualElement:e,animationType:typeof c=="string"?c:"both",initialPromotionConfig:o,crossfade:h,layoutScroll:d,layoutRoot:l})}function BS(e){if(e)return e.options.allowProjection!==!1?e.projection:BS(e.parent)}function _ie({preloadedFeatures:e,createVisualElement:t,useRender:a,useVisualState:o,Component:i}){e&&rie(e);function c(s,d){let l;const h={...q.useContext(Tx),...s,layoutId:gie(s)},{isStatic:u}=h,p=pie(s),y=o(s,u);if(!u&&px){vie(h,e);const C=Cie(h);l=C.MeasureLayout,p.visualElement=mie(i,y,h,t,C.ProjectionNode)}return _.jsxs(Iv.Provider,{value:p,children:[l&&p.visualElement?_.jsx(l,{visualElement:p.visualElement,...h}):null,a(i,s,kie(y,p.visualElement,d),y,u,p.visualElement)]})}c.displayName=`motion.${typeof i=="string"?i:`create(${i.displayName??i.name??""})`}`;const r=q.forwardRef(c);return r[yie]=i,r}function gie({layoutId:e}){const t=q.useContext(ux).id;return t&&e!==void 0?t+"-"+e:e}function vie(e,t){const a=q.useContext(VS).strict;if(process.env.NODE_ENV!=="production"&&t&&a){const o="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";e.ignoreStrict?ha(!1,o):i1(!1,o)}}function Cie(e){const{drag:t,layout:a}=da;if(!t&&!a)return{};const o={...t,...a};return{MeasureLayout:t!=null&&t.isEnabled(e)||a!=null&&a.isEnabled(e)?o.MeasureLayout:void 0,ProjectionNode:o.ProjectionNode}}const Na={};function xie(e){for(const t in e)Na[t]=e[t],vx(t)&&(Na[t].isCSSVariable=!0)}function US(e,{layout:t,layoutId:a}){return pa.has(e)||e.startsWith("origin")||(t||a!==void 0)&&(!!Na[e]||e==="opacity")}const Lie={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},wie=ua.length;function bie(e,t,a){let o="",i=!0;for(let c=0;c<wie;c++){const r=ua[c],s=e[r];if(s===void 0)continue;let d=!0;if(typeof s=="number"?d=s===(r.startsWith("scale")?1:0):d=parseFloat(s)===0,!d||a){const l=RS(s,Rx[r]);if(!d){i=!1;const h=Lie[r]||r;o+=`${h}(${l}) `}a&&(t[r]=l)}}return o=o.trim(),a?o=a(t,i?"":o):i&&(o="none"),o}function zx(e,t,a){const{style:o,vars:i,transformOrigin:c}=e;let r=!1,s=!1;for(const d in t){const l=t[d];if(pa.has(d)){r=!0;continue}else if(vx(d)){i[d]=l;continue}else{const h=RS(l,Rx[d]);d.startsWith("origin")?(s=!0,c[d]=h):o[d]=h}}if(t.transform||(r||a?o.transform=bie(t,e.transform,a):o.transform&&(o.transform="none")),s){const{originX:d="50%",originY:l="50%",originZ:h=0}=c;o.transformOrigin=`${d} ${l} ${h}`}}const Ox=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function ZS(e,t,a){for(const o in t)!Re(t[o])&&!US(o,a)&&(e[o]=t[o])}function Sie({transformTemplate:e},t){return q.useMemo(()=>{const a=Ox();return zx(a,t,e),Object.assign({},a.vars,a.style)},[t])}function Iie(e,t){const a=e.style||{},o={};return ZS(o,a,e),Object.assign(o,Sie(e,t)),o}function Nie(e,t){const a={},o=Iie(e,t);return e.drag&&e.dragListener!==!1&&(a.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(a.tabIndex=0),a.style=o,a}const Aie={offset:"stroke-dashoffset",array:"stroke-dasharray"},Pie={offset:"strokeDashoffset",array:"strokeDasharray"};function Eie(e,t,a=1,o=0,i=!0){e.pathLength=1;const c=i?Aie:Pie;e[c.offset]=de.transform(-o);const r=de.transform(t),s=de.transform(a);e[c.array]=`${r} ${s}`}function GS(e,{attrX:t,attrY:a,attrScale:o,pathLength:i,pathSpacing:c=1,pathOffset:r=0,...s},d,l,h){if(zx(e,s,l),d){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:u,style:p}=e;u.transform&&(p.transform=u.transform,delete u.transform),(p.transform||u.transformOrigin)&&(p.transformOrigin=u.transformOrigin??"50% 50%",delete u.transformOrigin),p.transform&&(p.transformBox=(h==null?void 0:h.transformBox)??"fill-box",delete u.transformBox),t!==void 0&&(u.x=t),a!==void 0&&(u.y=a),o!==void 0&&(u.scale=o),i!==void 0&&Eie(u,i,c,r,!1)}const WS=()=>({...Ox(),attrs:{}}),XS=e=>typeof e=="string"&&e.toLowerCase()==="svg";function Rie(e,t,a,o){const i=q.useMemo(()=>{const c=WS();return GS(c,t,XS(o),e.transformTemplate,e.style),{...c.attrs,style:{...c.style}}},[t]);if(e.style){const c={};ZS(c,e.style,e),i.style={...c,...i.style}}return i}const $ie=["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 Dx(e){return typeof e!="string"||e.includes("-")?!1:!!($ie.indexOf(e)>-1||/[A-Z]/u.test(e))}function qie(e=!1){return(a,o,i,{latestValues:c},r)=>{const d=(Dx(a)?Rie:Nie)(o,c,r,a),l=hie(o,typeof a=="string",e),h=a!==q.Fragment?{...l,...d,ref:i}:{},{children:u}=o,p=q.useMemo(()=>Re(u)?u.get():u,[u]);return q.createElement(a,{...h,children:p})}}function bw(e){const t=[{},{}];return e==null||e.values.forEach((a,o)=>{t[0][o]=a.get(),t[1][o]=a.getVelocity()}),t}function Fx(e,t,a,o){if(typeof t=="function"){const[i,c]=bw(o);t=t(a!==void 0?a:e.custom,i,c)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[i,c]=bw(o);t=t(a!==void 0?a:e.custom,i,c)}return t}function pv(e){return Re(e)?e.get():e}function Tie({scrapeMotionValuesFromProps:e,createRenderState:t},a,o,i){return{latestValues:jie(a,o,i,e),renderState:t()}}const KS=e=>(t,a)=>{const o=q.useContext(Iv),i=q.useContext(Sv),c=()=>Tie(e,t,o,i);return a?c():bv(c)};function jie(e,t,a,o){const i={},c=o(e,{});for(const p in c)i[p]=pv(c[p]);let{initial:r,animate:s}=e;const d=Av(e),l=OS(e);t&&l&&!d&&e.inherit!==!1&&(r===void 0&&(r=t.initial),s===void 0&&(s=t.animate));let h=a?a.initial===!1:!1;h=h||r===!1;const u=h?s:r;if(u&&typeof u!="boolean"&&!Nv(u)){const p=Array.isArray(u)?u:[u];for(let y=0;y<p.length;y++){const C=Fx(e,p[y]);if(C){const{transitionEnd:g,transition:x,...m}=C;for(const N in m){let f=m[N];if(Array.isArray(f)){const w=h?f.length-1:0;f=f[w]}f!==null&&(i[N]=f)}for(const N in g)i[N]=g[N]}}}return i}function Bx(e,t,a){var c;const{style:o}=e,i={};for(const r in o)(Re(o[r])||t.style&&Re(t.style[r])||US(r,e)||((c=a==null?void 0:a.getValue(r))==null?void 0:c.liveStyle)!==void 0)&&(i[r]=o[r]);return i}const Hie={useVisualState:KS({scrapeMotionValuesFromProps:Bx,createRenderState:Ox})};function YS(e,t,a){const o=Bx(e,t,a);for(const i in e)if(Re(e[i])||Re(t[i])){const c=ua.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;o[c]=e[i]}return o}const Vie={useVisualState:KS({scrapeMotionValuesFromProps:YS,createRenderState:WS})};function zie(e,t){return function(o,{forwardMotionProps:i}={forwardMotionProps:!1}){const r={...Dx(o)?Vie:Hie,preloadedFeatures:e,useRender:qie(i),createVisualElement:t,Component:o};return _ie(r)}}function Aa(e,t,a){const o=e.getProps();return Fx(o,t,a!==void 0?a:o.custom,e)}const ex=e=>Array.isArray(e);function Oie(e,t,a){e.hasValue(t)?e.getValue(t).set(a):e.addValue(t,sa(a))}function Die(e){return ex(e)?e[e.length-1]||0:e}function Fie(e,t){const a=Aa(e,t);let{transitionEnd:o={},transition:i={},...c}=a||{};c={...c,...o};for(const r in c){const s=Die(c[r]);Oie(e,r,s)}}function Bie(e){return!!(Re(e)&&e.add)}function tx(e,t){const a=e.getValue("willChange");if(Bie(a))return a.add(t);if(!a&&c1.WillChange){const o=new c1.WillChange("auto");e.addValue("willChange",o),o.add(t)}}function QS(e){return e.props[DS]}const Uie=e=>e!==null;function Zie(e,{repeat:t,repeatType:a="loop"},o){const i=e.filter(Uie),c=t&&a!=="loop"&&t%2===1?0:i.length-1;return i[c]}const Gie={type:"spring",stiffness:500,damping:25,restSpeed:10},Wie=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),Xie={type:"keyframes",duration:.8},Kie={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Yie=(e,{keyframes:t})=>t.length>2?Xie:pa.has(e)?e.startsWith("scale")?Wie(t[1]):Gie:Kie;function Qie({when:e,delay:t,delayChildren:a,staggerChildren:o,staggerDirection:i,repeat:c,repeatType:r,repeatDelay:s,from:d,elapsed:l,...h}){return!!Object.keys(h).length}const Ux=(e,t,a,o={},i,c)=>r=>{const s=Ex(o,e)||{},d=s.delay||o.delay||0;let{elapsed:l=0}=o;l=l-Ge(d);const h={keyframes:Array.isArray(a)?a:[null,a],ease:"easeOut",velocity:t.getVelocity(),...s,delay:-l,onUpdate:p=>{t.set(p),s.onUpdate&&s.onUpdate(p)},onComplete:()=>{r(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:c?void 0:i};Qie(s)||Object.assign(h,Yie(e,h)),h.duration&&(h.duration=Ge(h.duration)),h.repeatDelay&&(h.repeatDelay=Ge(h.repeatDelay)),h.from!==void 0&&(h.keyframes[0]=h.from);let u=!1;if((h.type===!1||h.duration===0&&!h.repeatDelay)&&(h.duration=0,h.delay===0&&(u=!0)),(c1.instantAnimations||c1.skipAnimations)&&(u=!0,h.duration=0,h.delay=0),h.allowFlatten=!s.type&&!s.ease,u&&!c&&t.get()!==void 0){const p=Zie(h.keyframes,s);if(p!==void 0){be.update(()=>{h.onUpdate(p),h.onComplete()});return}}return s.isSync?new Nx(h):new A0e(h)};function Jie({protectedKeys:e,needsAnimating:t},a){const o=e.hasOwnProperty(a)&&t[a]!==!0;return t[a]=!1,o}function JS(e,t,{delay:a=0,transitionOverride:o,type:i}={}){let{transition:c=e.getDefaultTransition(),transitionEnd:r,...s}=t;o&&(c=o);const d=[],l=i&&e.animationState&&e.animationState.getState()[i];for(const h in s){const u=e.getValue(h,e.latestValues[h]??null),p=s[h];if(p===void 0||l&&Jie(l,h))continue;const y={delay:a,...Ex(c||{},h)},C=u.get();if(C!==void 0&&!u.isAnimating&&!Array.isArray(p)&&p===C&&!y.velocity)continue;let g=!1;if(window.MotionHandoffAnimation){const m=QS(e);if(m){const N=window.MotionHandoffAnimation(m,h,be);N!==null&&(y.startTime=N,g=!0)}}tx(e,h),u.start(Ux(h,u,p,e.shouldReduceMotion&&IS.has(h)?{type:!1}:y,e,g));const x=u.animation;x&&d.push(x)}return r&&Promise.all(d).then(()=>{be.update(()=>{r&&Fie(e,r)})}),d}function nx(e,t,a={}){var d;const o=Aa(e,t,a.type==="exit"?(d=e.presenceContext)==null?void 0:d.custom:void 0);let{transition:i=e.getDefaultTransition()||{}}=o||{};a.transitionOverride&&(i=a.transitionOverride);const c=o?()=>Promise.all(JS(e,o,a)):()=>Promise.resolve(),r=e.variantChildren&&e.variantChildren.size?(l=0)=>{const{delayChildren:h=0,staggerChildren:u,staggerDirection:p}=i;return ece(e,t,h+l,u,p,a)}:()=>Promise.resolve(),{when:s}=i;if(s){const[l,h]=s==="beforeChildren"?[c,r]:[r,c];return l().then(()=>h())}else return Promise.all([c(),r(a.delay)])}function ece(e,t,a=0,o=0,i=1,c){const r=[],s=(e.variantChildren.size-1)*o,d=i===1?(l=0)=>l*o:(l=0)=>s-l*o;return Array.from(e.variantChildren).sort(tce).forEach((l,h)=>{l.notify("AnimationStart",t),r.push(nx(l,t,{...c,delay:a+d(h)}).then(()=>l.notify("AnimationComplete",t)))}),Promise.all(r)}function tce(e,t){return e.sortNodePosition(t)}function nce(e,t,a={}){e.notify("AnimationStart",t);let o;if(Array.isArray(t)){const i=t.map(c=>nx(e,c,a));o=Promise.all(i)}else if(typeof t=="string")o=nx(e,t,a);else{const i=typeof t=="function"?Aa(e,t,a.custom):t;o=Promise.all(JS(e,i,a))}return o.then(()=>{e.notify("AnimationComplete",t)})}function eI(e,t){if(!Array.isArray(t))return!1;const a=t.length;if(a!==e.length)return!1;for(let o=0;o<a;o++)if(t[o]!==e[o])return!1;return!0}const ace=Hx.length;function tI(e){if(!e)return;if(!e.isControllingVariants){const a=e.parent?tI(e.parent)||{}:{};return e.props.initial!==void 0&&(a.initial=e.props.initial),a}const t={};for(let a=0;a<ace;a++){const o=Hx[a],i=e.props[o];(Ia(i)||i===!1)&&(t[o]=i)}return t}const oce=[...jx].reverse(),ice=jx.length;function cce(e){return t=>Promise.all(t.map(({animation:a,options:o})=>nce(e,a,o)))}function rce(e){let t=cce(e),a=Sw(),o=!0;const i=d=>(l,h)=>{var p;const u=Aa(e,h,d==="exit"?(p=e.presenceContext)==null?void 0:p.custom:void 0);if(u){const{transition:y,transitionEnd:C,...g}=u;l={...l,...g,...C}}return l};function c(d){t=d(e)}function r(d){const{props:l}=e,h=tI(e.parent)||{},u=[],p=new Set;let y={},C=1/0;for(let x=0;x<ice;x++){const m=oce[x],N=a[m],f=l[m]!==void 0?l[m]:h[m],w=Ia(f),M=m===d?N.isActive:null;M===!1&&(C=x);let S=f===h[m]&&f!==l[m]&&w;if(S&&o&&e.manuallyAnimateOnMount&&(S=!1),N.protectedKeys={...y},!N.isActive&&M===null||!f&&!N.prevProp||Nv(f)||typeof f=="boolean")continue;const A=sce(N.prevProp,f);let P=A||m===d&&N.isActive&&!S&&w||x>C&&w,H=!1;const E=Array.isArray(f)?f:[f];let T=E.reduce(i(m),{});M===!1&&(T={});const{prevResolvedValues:O={}}=N,ae={...O,...T},U=ce=>{P=!0,p.has(ce)&&(H=!0,p.delete(ce)),N.needsAnimating[ce]=!0;const oe=e.getValue(ce);oe&&(oe.liveStyle=!1)};for(const ce in ae){const oe=T[ce],W=O[ce];if(y.hasOwnProperty(ce))continue;let v=!1;ex(oe)&&ex(W)?v=!eI(oe,W):v=oe!==W,v?oe!=null?U(ce):p.add(ce):oe!==void 0&&p.has(ce)?U(ce):N.protectedKeys[ce]=!0}N.prevProp=f,N.prevResolvedValues=T,N.isActive&&(y={...y,...T}),o&&e.blockInitialAnimation&&(P=!1),P&&(!(S&&A)||H)&&u.push(...E.map(ce=>({animation:ce,options:{type:m}})))}if(p.size){const x={};if(typeof l.initial!="boolean"){const m=Aa(e,Array.isArray(l.initial)?l.initial[0]:l.initial);m&&m.transition&&(x.transition=m.transition)}p.forEach(m=>{const N=e.getBaseTarget(m),f=e.getValue(m);f&&(f.liveStyle=!0),x[m]=N??null}),u.push({animation:x})}let g=!!u.length;return o&&(l.initial===!1||l.initial===l.animate)&&!e.manuallyAnimateOnMount&&(g=!1),o=!1,g?t(u):Promise.resolve()}function s(d,l){var u;if(a[d].isActive===l)return Promise.resolve();(u=e.variantChildren)==null||u.forEach(p=>{var y;return(y=p.animationState)==null?void 0:y.setActive(d,l)}),a[d].isActive=l;const h=r(d);for(const p in a)a[p].protectedKeys={};return h}return{animateChanges:r,setActive:s,setAnimateFunction:c,getState:()=>a,reset:()=>{a=Sw(),o=!0}}}function sce(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!eI(t,e):!1}function u1(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Sw(){return{animate:u1(!0),whileInView:u1(),whileHover:u1(),whileTap:u1(),whileDrag:u1(),whileFocus:u1(),exit:u1()}}class h1{constructor(t){this.isMounted=!1,this.node=t}update(){}}class dce extends h1{constructor(t){super(t),t.animationState||(t.animationState=rce(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();Nv(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:a}=this.node.prevProps||{};t!==a&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),(t=this.unmountControls)==null||t.call(this)}}let hce=0;class lce extends h1{constructor(){super(...arguments),this.id=hce++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:a}=this.node.presenceContext,{isPresent:o}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===o)return;const i=this.node.animationState.setActive("exit",!t);a&&!t&&i.then(()=>{a(this.id)})}mount(){const{register:t,onExitComplete:a}=this.node.presenceContext||{};a&&a(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const uce={animation:{Feature:dce},exit:{Feature:lce}};function Pa(e,t,a,o={passive:!0}){return e.addEventListener(t,a,o),()=>e.removeEventListener(t,a)}function qa(e){return{point:{x:e.pageX,y:e.pageY}}}const pce=e=>t=>qx(t)&&e(t,qa(t));function Ca(e,t,a,o){return Pa(e,t,pce(a),o)}function nI({top:e,left:t,right:a,bottom:o}){return{x:{min:t,max:a},y:{min:e,max:o}}}function yce({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function kce(e,t){if(!t)return e;const a=t({x:e.left,y:e.top}),o=t({x:e.right,y:e.bottom});return{top:a.y,left:a.x,bottom:o.y,right:o.x}}const aI=1e-4,fce=1-aI,mce=1+aI,oI=.01,Mce=0-oI,_ce=0+oI;function je(e){return e.max-e.min}function gce(e,t,a){return Math.abs(e-t)<=a}function Iw(e,t,a,o=.5){e.origin=o,e.originPoint=we(t.min,t.max,e.origin),e.scale=je(a)/je(t),e.translate=we(a.min,a.max,e.origin)-e.originPoint,(e.scale>=fce&&e.scale<=mce||isNaN(e.scale))&&(e.scale=1),(e.translate>=Mce&&e.translate<=_ce||isNaN(e.translate))&&(e.translate=0)}function xa(e,t,a,o){Iw(e.x,t.x,a.x,o?o.originX:void 0),Iw(e.y,t.y,a.y,o?o.originY:void 0)}function Nw(e,t,a){e.min=a.min+t.min,e.max=e.min+je(t)}function vce(e,t,a){Nw(e.x,t.x,a.x),Nw(e.y,t.y,a.y)}function Aw(e,t,a){e.min=t.min-a.min,e.max=e.min+je(t)}function La(e,t,a){Aw(e.x,t.x,a.x),Aw(e.y,t.y,a.y)}const Pw=()=>({translate:0,scale:1,origin:0,originPoint:0}),ia=()=>({x:Pw(),y:Pw()}),Ew=()=>({min:0,max:0}),Se=()=>({x:Ew(),y:Ew()});function Fe(e){return[e("x"),e("y")]}function SC(e){return e===void 0||e===1}function ax({scale:e,scaleX:t,scaleY:a}){return!SC(e)||!SC(t)||!SC(a)}function Gn(e){return ax(e)||iI(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function iI(e){return Rw(e.x)||Rw(e.y)}function Rw(e){return e&&e!=="0%"}function gv(e,t,a){const o=e-a,i=t*o;return a+i}function $w(e,t,a,o,i){return i!==void 0&&(e=gv(e,i,o)),gv(e,a,o)+t}function ox(e,t=0,a=1,o,i){e.min=$w(e.min,t,a,o,i),e.max=$w(e.max,t,a,o,i)}function cI(e,{x:t,y:a}){ox(e.x,t.translate,t.scale,t.originPoint),ox(e.y,a.translate,a.scale,a.originPoint)}const qw=.999999999999,Tw=1.0000000000001;function Cce(e,t,a,o=!1){const i=a.length;if(!i)return;t.x=t.y=1;let c,r;for(let s=0;s<i;s++){c=a[s],r=c.projectionDelta;const{visualElement:d}=c.options;d&&d.props.style&&d.props.style.display==="contents"||(o&&c.options.layoutScroll&&c.scroll&&c!==c.root&&ra(e,{x:-c.scroll.offset.x,y:-c.scroll.offset.y}),r&&(t.x*=r.x.scale,t.y*=r.y.scale,cI(e,r)),o&&Gn(c.latestValues)&&ra(e,c.latestValues))}t.x<Tw&&t.x>qw&&(t.x=1),t.y<Tw&&t.y>qw&&(t.y=1)}function ca(e,t){e.min=e.min+t,e.max=e.max+t}function jw(e,t,a,o,i=.5){const c=we(e.min,e.max,i);ox(e,t,a,c,o)}function ra(e,t){jw(e.x,t.x,t.scaleX,t.scale,t.originX),jw(e.y,t.y,t.scaleY,t.scale,t.originY)}function rI(e,t){return nI(kce(e.getBoundingClientRect(),t))}function xce(e,t,a){const o=rI(e,a),{scroll:i}=t;return i&&(ca(o.x,i.offset.x),ca(o.y,i.offset.y)),o}const sI=({current:e})=>e?e.ownerDocument.defaultView:null,Hw=(e,t)=>Math.abs(e-t);function Lce(e,t){const a=Hw(e.x,t.x),o=Hw(e.y,t.y);return Math.sqrt(a**2+o**2)}class dI{constructor(t,a,{transformPagePoint:o,contextWindow:i,dragSnapToOrigin:c=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const u=NC(this.lastMoveEventInfo,this.history),p=this.startEvent!==null,y=Lce(u.offset,{x:0,y:0})>=3;if(!p&&!y)return;const{point:C}=u,{timestamp:g}=Ae;this.history.push({...C,timestamp:g});const{onStart:x,onMove:m}=this.handlers;p||(x&&x(this.lastMoveEvent,u),this.startEvent=this.lastMoveEvent),m&&m(this.lastMoveEvent,u)},this.handlePointerMove=(u,p)=>{this.lastMoveEvent=u,this.lastMoveEventInfo=IC(p,this.transformPagePoint),be.update(this.updatePoint,!0)},this.handlePointerUp=(u,p)=>{this.end();const{onEnd:y,onSessionEnd:C,resumeAnimation:g}=this.handlers;if(this.dragSnapToOrigin&&g&&g(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const x=NC(u.type==="pointercancel"?this.lastMoveEventInfo:IC(p,this.transformPagePoint),this.history);this.startEvent&&y&&y(u,x),C&&C(u,x)},!qx(t))return;this.dragSnapToOrigin=c,this.handlers=a,this.transformPagePoint=o,this.contextWindow=i||window;const r=qa(t),s=IC(r,this.transformPagePoint),{point:d}=s,{timestamp:l}=Ae;this.history=[{...d,timestamp:l}];const{onSessionStart:h}=a;h&&h(t,NC(s,this.history)),this.removeListeners=Ea(Ca(this.contextWindow,"pointermove",this.handlePointerMove),Ca(this.contextWindow,"pointerup",this.handlePointerUp),Ca(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),s1(this.updatePoint)}}function IC(e,t){return t?{point:t(e.point)}:e}function Vw(e,t){return{x:e.x-t.x,y:e.y-t.y}}function NC({point:e},t){return{point:e,delta:Vw(e,hI(t)),offset:Vw(e,wce(t)),velocity:bce(t,.1)}}function wce(e){return e[0]}function hI(e){return e[e.length-1]}function bce(e,t){if(e.length<2)return{x:0,y:0};let a=e.length-1,o=null;const i=hI(e);for(;a>=0&&(o=e[a],!(i.timestamp-o.timestamp>Ge(t)));)a--;if(!o)return{x:0,y:0};const c=Je(i.timestamp-o.timestamp);if(c===0)return{x:0,y:0};const r={x:(i.x-o.x)/c,y:(i.y-o.y)/c};return r.x===1/0&&(r.x=0),r.y===1/0&&(r.y=0),r}function Sce(e,{min:t,max:a},o){return t!==void 0&&e<t?e=o?we(t,e,o.min):Math.max(e,t):a!==void 0&&e>a&&(e=o?we(a,e,o.max):Math.min(e,a)),e}function zw(e,t,a){return{min:t!==void 0?e.min+t:void 0,max:a!==void 0?e.max+a-(e.max-e.min):void 0}}function Ice(e,{top:t,left:a,bottom:o,right:i}){return{x:zw(e.x,a,i),y:zw(e.y,t,o)}}function Ow(e,t){let a=t.min-e.min,o=t.max-e.max;return t.max-t.min<e.max-e.min&&([a,o]=[o,a]),{min:a,max:o}}function Nce(e,t){return{x:Ow(e.x,t.x),y:Ow(e.y,t.y)}}function Ace(e,t){let a=.5;const o=je(e),i=je(t);return i>o?a=wa(t.min,t.max-o,e.min):o>i&&(a=wa(e.min,e.max-i,t.min)),o1(0,1,a)}function Pce(e,t){const a={};return t.min!==void 0&&(a.min=t.min-e.min),t.max!==void 0&&(a.max=t.max-e.min),a}const ix=.35;function Ece(e=ix){return e===!1?e=0:e===!0&&(e=ix),{x:Dw(e,"left","right"),y:Dw(e,"top","bottom")}}function Dw(e,t,a){return{min:Fw(e,t),max:Fw(e,a)}}function Fw(e,t){return typeof e=="number"?e:e[t]||0}const Rce=new WeakMap;class $ce{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Se(),this.visualElement=t}start(t,{snapToCursor:a=!1}={}){const{presenceContext:o}=this.visualElement;if(o&&o.isPresent===!1)return;const i=h=>{const{dragSnapToOrigin:u}=this.getProps();u?this.pauseAnimation():this.stopAnimation(),a&&this.snapToCursor(qa(h).point)},c=(h,u)=>{const{drag:p,dragPropagation:y,onDragStart:C}=this.getProps();if(p&&!y&&(this.openDragLock&&this.openDragLock(),this.openDragLock=G0e(p),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Fe(x=>{let m=this.getAxisMotionValue(x).get()||0;if(e1.test(m)){const{projection:N}=this.visualElement;if(N&&N.layout){const f=N.layout.layoutBox[x];f&&(m=je(f)*(parseFloat(m)/100))}}this.originPoint[x]=m}),C&&be.postRender(()=>C(h,u)),tx(this.visualElement,"transform");const{animationState:g}=this.visualElement;g&&g.setActive("whileDrag",!0)},r=(h,u)=>{const{dragPropagation:p,dragDirectionLock:y,onDirectionLock:C,onDrag:g}=this.getProps();if(!p&&!this.openDragLock)return;const{offset:x}=u;if(y&&this.currentDirection===null){this.currentDirection=qce(x),this.currentDirection!==null&&C&&C(this.currentDirection);return}this.updateAxis("x",u.point,x),this.updateAxis("y",u.point,x),this.visualElement.render(),g&&g(h,u)},s=(h,u)=>this.stop(h,u),d=()=>Fe(h=>{var u;return this.getAnimationState(h)==="paused"&&((u=this.getAxisMotionValue(h).animation)==null?void 0:u.play())}),{dragSnapToOrigin:l}=this.getProps();this.panSession=new dI(t,{onSessionStart:i,onStart:c,onMove:r,onSessionEnd:s,resumeAnimation:d},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:l,contextWindow:sI(this.visualElement)})}stop(t,a){const o=this.isDragging;if(this.cancel(),!o)return;const{velocity:i}=a;this.startAnimation(i);const{onDragEnd:c}=this.getProps();c&&be.postRender(()=>c(t,a))}cancel(){this.isDragging=!1;const{projection:t,animationState:a}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:o}=this.getProps();!o&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),a&&a.setActive("whileDrag",!1)}updateAxis(t,a,o){const{drag:i}=this.getProps();if(!o||!no(t,i,this.currentDirection))return;const c=this.getAxisMotionValue(t);let r=this.originPoint[t]+o[t];this.constraints&&this.constraints[t]&&(r=Sce(r,this.constraints[t],this.elastic[t])),c.set(r)}resolveConstraints(){var c;const{dragConstraints:t,dragElastic:a}=this.getProps(),o=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(c=this.visualElement.projection)==null?void 0:c.layout,i=this.constraints;t&&oa(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&o?this.constraints=Ice(o.layoutBox,t):this.constraints=!1,this.elastic=Ece(a),i!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&Fe(r=>{this.constraints!==!1&&this.getAxisMotionValue(r)&&(this.constraints[r]=Pce(o.layoutBox[r],this.constraints[r]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:a}=this.getProps();if(!t||!oa(t))return!1;const o=t.current;i1(o!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const c=xce(o,i.root,this.visualElement.getTransformPagePoint());let r=Nce(i.layout.layoutBox,c);if(a){const s=a(yce(r));this.hasMutatedConstraints=!!s,s&&(r=nI(s))}return r}startAnimation(t){const{drag:a,dragMomentum:o,dragElastic:i,dragTransition:c,dragSnapToOrigin:r,onDragTransitionEnd:s}=this.getProps(),d=this.constraints||{},l=Fe(h=>{if(!no(h,a,this.currentDirection))return;let u=d&&d[h]||{};r&&(u={min:0,max:0});const p=i?200:1e6,y=i?40:1e7,C={type:"inertia",velocity:o?t[h]:0,bounceStiffness:p,bounceDamping:y,timeConstant:750,restDelta:1,restSpeed:10,...c,...u};return this.startAxisValueAnimation(h,C)});return Promise.all(l).then(s)}startAxisValueAnimation(t,a){const o=this.getAxisMotionValue(t);return tx(this.visualElement,t),o.start(Ux(t,o,0,a,this.visualElement,!1))}stopAnimation(){Fe(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){Fe(t=>{var a;return(a=this.getAxisMotionValue(t).animation)==null?void 0:a.pause()})}getAnimationState(t){var a;return(a=this.getAxisMotionValue(t).animation)==null?void 0:a.state}getAxisMotionValue(t){const a=`_drag${t.toUpperCase()}`,o=this.visualElement.getProps(),i=o[a];return i||this.visualElement.getValue(t,(o.initial?o.initial[t]:void 0)||0)}snapToCursor(t){Fe(a=>{const{drag:o}=this.getProps();if(!no(a,o,this.currentDirection))return;const{projection:i}=this.visualElement,c=this.getAxisMotionValue(a);if(i&&i.layout){const{min:r,max:s}=i.layout.layoutBox[a];c.set(t[a]-we(r,s,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:a}=this.getProps(),{projection:o}=this.visualElement;if(!oa(a)||!o||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};Fe(r=>{const s=this.getAxisMotionValue(r);if(s&&this.constraints!==!1){const d=s.get();i[r]=Ace({min:d,max:d},this.constraints[r])}});const{transformTemplate:c}=this.visualElement.getProps();this.visualElement.current.style.transform=c?c({},""):"none",o.root&&o.root.updateScroll(),o.updateLayout(),this.resolveConstraints(),Fe(r=>{if(!no(r,t,null))return;const s=this.getAxisMotionValue(r),{min:d,max:l}=this.constraints[r];s.set(we(d,l,i[r]))})}addListeners(){if(!this.visualElement.current)return;Rce.set(this.visualElement,this);const t=this.visualElement.current,a=Ca(t,"pointerdown",d=>{const{drag:l,dragListener:h=!0}=this.getProps();l&&h&&this.start(d)}),o=()=>{const{dragConstraints:d}=this.getProps();oa(d)&&d.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,c=i.addEventListener("measure",o);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),be.read(o);const r=Pa(window,"resize",()=>this.scalePositionWithinConstraints()),s=i.addEventListener("didUpdate",({delta:d,hasLayoutChanged:l})=>{this.isDragging&&l&&(Fe(h=>{const u=this.getAxisMotionValue(h);u&&(this.originPoint[h]+=d[h].translate,u.set(u.get()+d[h].translate))}),this.visualElement.render())});return()=>{r(),a(),c(),s&&s()}}getProps(){const t=this.visualElement.getProps(),{drag:a=!1,dragDirectionLock:o=!1,dragPropagation:i=!1,dragConstraints:c=!1,dragElastic:r=ix,dragMomentum:s=!0}=t;return{...t,drag:a,dragDirectionLock:o,dragPropagation:i,dragConstraints:c,dragElastic:r,dragMomentum:s}}}function no(e,t,a){return(t===!0||t===e)&&(a===null||a===e)}function qce(e,t=10){let a=null;return Math.abs(e.y)>t?a="y":Math.abs(e.x)>t&&(a="x"),a}class Tce extends h1{constructor(t){super(t),this.removeGroupControls=Be,this.removeListeners=Be,this.controls=new $ce(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Be}unmount(){this.removeGroupControls(),this.removeListeners()}}const Bw=e=>(t,a)=>{e&&be.postRender(()=>e(t,a))};class jce extends h1{constructor(){super(...arguments),this.removePointerDownListener=Be}onPointerDown(t){this.session=new dI(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:sI(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:a,onPan:o,onPanEnd:i}=this.node.getProps();return{onSessionStart:Bw(t),onStart:Bw(a),onMove:o,onEnd:(c,r)=>{delete this.session,i&&be.postRender(()=>i(c,r))}}}mount(){this.removePointerDownListener=Ca(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const yv={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Uw(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const ma={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(de.test(e))e=parseFloat(e);else return e;const a=Uw(e,t.target.x),o=Uw(e,t.target.y);return`${a}% ${o}%`}},Hce={correct:(e,{treeScale:t,projectionDelta:a})=>{const o=e,i=d1.parse(e);if(i.length>5)return o;const c=d1.createTransformer(e),r=typeof i[0]!="number"?1:0,s=a.x.scale*t.x,d=a.y.scale*t.y;i[0+r]/=s,i[1+r]/=d;const l=we(s,d,.5);return typeof i[2+r]=="number"&&(i[2+r]/=l),typeof i[3+r]=="number"&&(i[3+r]/=l),c(i)}};class Vce extends q.Component{componentDidMount(){const{visualElement:t,layoutGroup:a,switchLayoutGroup:o,layoutId:i}=this.props,{projection:c}=t;xie(zce),c&&(a.group&&a.group.add(c),o&&o.register&&i&&o.register(c),c.root.didUpdate(),c.addEventListener("animationComplete",()=>{this.safeToRemove()}),c.setOptions({...c.options,onExitComplete:()=>this.safeToRemove()})),yv.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:a,visualElement:o,drag:i,isPresent:c}=this.props,{projection:r}=o;return r&&(r.isPresent=c,i||t.layoutDependency!==a||a===void 0||t.isPresent!==c?r.willUpdate():this.safeToRemove(),t.isPresent!==c&&(c?r.promote():r.relegate()||be.postRender(()=>{const s=r.getStack();(!s||!s.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),$x.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:a,switchLayoutGroup:o}=this.props,{projection:i}=t;i&&(i.scheduleCheckAfterUnmount(),a&&a.group&&a.group.remove(i),o&&o.deregister&&o.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function lI(e){const[t,a]=HS(),o=q.useContext(ux);return _.jsx(Vce,{...e,layoutGroup:o,switchLayoutGroup:q.useContext(FS),isPresent:t,safeToRemove:a})}const zce={borderRadius:{...ma,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ma,borderTopRightRadius:ma,borderBottomLeftRadius:ma,borderBottomRightRadius:ma,boxShadow:Hce};function Oce(e,t,a){const o=Re(e)?e:sa(e);return o.start(Ux("",o,t,a)),o.animation}const Dce=(e,t)=>e.depth-t.depth;class Fce{constructor(){this.children=[],this.isDirty=!1}add(t){yx(this.children,t),this.isDirty=!0}remove(t){kx(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(Dce),this.isDirty=!1,this.children.forEach(t)}}function Bce(e,t){const a=He.now(),o=({timestamp:i})=>{const c=i-a;c>=t&&(s1(o),e(c-t))};return be.setup(o,!0),()=>s1(o)}const uI=["TopLeft","TopRight","BottomLeft","BottomRight"],Uce=uI.length,Zw=e=>typeof e=="string"?parseFloat(e):e,Gw=e=>typeof e=="number"||de.test(e);function Zce(e,t,a,o,i,c){i?(e.opacity=we(0,a.opacity??1,Gce(o)),e.opacityExit=we(t.opacity??1,0,Wce(o))):c&&(e.opacity=we(t.opacity??1,a.opacity??1,o));for(let r=0;r<Uce;r++){const s=`border${uI[r]}Radius`;let d=Ww(t,s),l=Ww(a,s);if(d===void 0&&l===void 0)continue;d||(d=0),l||(l=0),d===0||l===0||Gw(d)===Gw(l)?(e[s]=Math.max(we(Zw(d),Zw(l),o),0),(e1.test(l)||e1.test(d))&&(e[s]+="%")):e[s]=l}(t.rotate||a.rotate)&&(e.rotate=we(t.rotate||0,a.rotate||0,o))}function Ww(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const Gce=pI(0,.5,iS),Wce=pI(.5,.95,Be);function pI(e,t,a){return o=>o<e?0:o>t?1:a(wa(e,t,o))}function Xw(e,t){e.min=t.min,e.max=t.max}function De(e,t){Xw(e.x,t.x),Xw(e.y,t.y)}function Kw(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function Yw(e,t,a,o,i){return e-=t,e=gv(e,1/a,o),i!==void 0&&(e=gv(e,1/i,o)),e}function Xce(e,t=0,a=1,o=.5,i,c=e,r=e){if(e1.test(t)&&(t=parseFloat(t),t=we(r.min,r.max,t/100)-r.min),typeof t!="number")return;let s=we(c.min,c.max,o);e===c&&(s-=t),e.min=Yw(e.min,t,a,s,i),e.max=Yw(e.max,t,a,s,i)}function Qw(e,t,[a,o,i],c,r){Xce(e,t[a],t[o],t[i],t.scale,c,r)}const Kce=["x","scaleX","originX"],Yce=["y","scaleY","originY"];function Jw(e,t,a,o){Qw(e.x,t,Kce,a?a.x:void 0,o?o.x:void 0),Qw(e.y,t,Yce,a?a.y:void 0,o?o.y:void 0)}function eb(e){return e.translate===0&&e.scale===1}function yI(e){return eb(e.x)&&eb(e.y)}function tb(e,t){return e.min===t.min&&e.max===t.max}function Qce(e,t){return tb(e.x,t.x)&&tb(e.y,t.y)}function nb(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function kI(e,t){return nb(e.x,t.x)&&nb(e.y,t.y)}function ab(e){return je(e.x)/je(e.y)}function ob(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class Jce{constructor(){this.members=[]}add(t){yx(this.members,t),t.scheduleRender()}remove(t){if(kx(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const a=this.members[this.members.length-1];a&&this.promote(a)}}relegate(t){const a=this.members.findIndex(i=>t===i);if(a===0)return!1;let o;for(let i=a;i>=0;i--){const c=this.members[i];if(c.isPresent!==!1){o=c;break}}return o?(this.promote(o),!0):!1}promote(t,a){const o=this.lead;if(t!==o&&(this.prevLead=o,this.lead=t,t.show(),o)){o.instance&&o.scheduleRender(),t.scheduleRender(),t.resumeFrom=o,a&&(t.resumeFrom.preserveOpacity=!0),o.snapshot&&(t.snapshot=o.snapshot,t.snapshot.latestValues=o.animationValues||o.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:i}=t.options;i===!1&&o.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:a,resumingFrom:o}=t;a.onExitComplete&&a.onExitComplete(),o&&o.options.onExitComplete&&o.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function ere(e,t,a){let o="";const i=e.x.translate/t.x,c=e.y.translate/t.y,r=(a==null?void 0:a.z)||0;if((i||c||r)&&(o=`translate3d(${i}px, ${c}px, ${r}px) `),(t.x!==1||t.y!==1)&&(o+=`scale(${1/t.x}, ${1/t.y}) `),a){const{transformPerspective:l,rotate:h,rotateX:u,rotateY:p,skewX:y,skewY:C}=a;l&&(o=`perspective(${l}px) ${o}`),h&&(o+=`rotate(${h}deg) `),u&&(o+=`rotateX(${u}deg) `),p&&(o+=`rotateY(${p}deg) `),y&&(o+=`skewX(${y}deg) `),C&&(o+=`skewY(${C}deg) `)}const s=e.x.scale*t.x,d=e.y.scale*t.y;return(s!==1||d!==1)&&(o+=`scale(${s}, ${d})`),o||"none"}const AC=["","X","Y","Z"],tre={visibility:"hidden"},nre=1e3;let are=0;function PC(e,t,a,o){const{latestValues:i}=t;i[e]&&(a[e]=i[e],t.setStaticValue(e,0),o&&(o[e]=0))}function fI(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const a=QS(t);if(window.MotionHasOptimisedAnimation(a,"transform")){const{layout:i,layoutId:c}=e.options;window.MotionCancelOptimisedAnimation(a,"transform",be,!(i||c))}const{parent:o}=e;o&&!o.hasCheckedOptimisedAppear&&fI(o)}function mI({attachResizeListener:e,defaultParent:t,measureScroll:a,checkIsScrollRoot:o,resetTransform:i}){return class{constructor(r={},s=t==null?void 0:t()){this.id=are++,this.animationId=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.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(cre),this.nodes.forEach(lre),this.nodes.forEach(ure),this.nodes.forEach(rre)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=r,this.root=s?s.root||s:this,this.path=s?[...s.path,s]:[],this.parent=s,this.depth=s?s.depth+1:0;for(let d=0;d<this.path.length;d++)this.path[d].shouldResetTransform=!0;this.root===this&&(this.nodes=new Fce)}addEventListener(r,s){return this.eventHandlers.has(r)||this.eventHandlers.set(r,new mx),this.eventHandlers.get(r).add(s)}notifyListeners(r,...s){const d=this.eventHandlers.get(r);d&&d.notify(...s)}hasListeners(r){return this.eventHandlers.has(r)}mount(r){if(this.instance)return;this.isSVG=jS(r)&&!J0e(r),this.instance=r;const{layoutId:s,layout:d,visualElement:l}=this.options;if(l&&!l.current&&l.mount(r),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(d||s)&&(this.isLayoutDirty=!0),e){let h;const u=()=>this.root.updateBlockedByResize=!1;e(r,()=>{this.root.updateBlockedByResize=!0,h&&h(),h=Bce(u,250),yv.hasAnimatedSinceResize&&(yv.hasAnimatedSinceResize=!1,this.nodes.forEach(cb))})}s&&this.root.registerSharedNode(s,this),this.options.animate!==!1&&l&&(s||d)&&this.addEventListener("didUpdate",({delta:h,hasLayoutChanged:u,hasRelativeLayoutChanged:p,layout:y})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const C=this.options.transition||l.getDefaultTransition()||mre,{onLayoutAnimationStart:g,onLayoutAnimationComplete:x}=l.getProps(),m=!this.targetLayout||!kI(this.targetLayout,y),N=!u&&p;if(this.options.layoutRoot||this.resumeFrom||N||u&&(m||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const f={...Ex(C,"layout"),onPlay:g,onComplete:x};(l.shouldReduceMotion||this.options.layoutRoot)&&(f.delay=0,f.type=!1),this.startAnimation(f),this.setAnimationOrigin(h,N)}else u||cb(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=y})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const r=this.getStack();r&&r.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),s1(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(pre),this.animationId++)}getTransformTemplate(){const{visualElement:r}=this.options;return r&&r.getProps().transformTemplate}willUpdate(r=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&fI(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let h=0;h<this.path.length;h++){const u=this.path[h];u.shouldResetTransform=!0,u.updateScroll("snapshot"),u.options.layoutRoot&&u.willUpdate(!1)}const{layoutId:s,layout:d}=this.options;if(s===void 0&&!d)return;const l=this.getTransformTemplate();this.prevTransformTemplateValue=l?l(this.latestValues,""):void 0,this.updateSnapshot(),r&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(ib);return}this.isUpdating||this.nodes.forEach(dre),this.isUpdating=!1,this.nodes.forEach(hre),this.nodes.forEach(ore),this.nodes.forEach(ire),this.clearAllSnapshots();const s=He.now();Ae.delta=o1(0,1e3/60,s-Ae.timestamp),Ae.timestamp=s,Ae.isProcessing=!0,vC.update.process(Ae),vC.preRender.process(Ae),vC.render.process(Ae),Ae.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,$x.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(sre),this.sharedNodes.forEach(yre)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,be.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){be.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!je(this.snapshot.measuredBox.x)&&!je(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 d=0;d<this.path.length;d++)this.path[d].updateScroll();const r=this.layout;this.layout=this.measure(!1),this.layoutCorrected=Se(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:s}=this.options;s&&s.notify("LayoutMeasure",this.layout.layoutBox,r?r.layoutBox:void 0)}updateScroll(r="measure"){let s=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===r&&(s=!1),s&&this.instance){const d=o(this.instance);this.scroll={animationId:this.root.animationId,phase:r,isRoot:d,offset:a(this.instance),wasRoot:this.scroll?this.scroll.isRoot:d}}}resetTransform(){if(!i)return;const r=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,s=this.projectionDelta&&!yI(this.projectionDelta),d=this.getTransformTemplate(),l=d?d(this.latestValues,""):void 0,h=l!==this.prevTransformTemplateValue;r&&this.instance&&(s||Gn(this.latestValues)||h)&&(i(this.instance,l),this.shouldResetTransform=!1,this.scheduleRender())}measure(r=!0){const s=this.measurePageBox();let d=this.removeElementScroll(s);return r&&(d=this.removeTransform(d)),Mre(d),{animationId:this.root.animationId,measuredBox:s,layoutBox:d,latestValues:{},source:this.id}}measurePageBox(){var l;const{visualElement:r}=this.options;if(!r)return Se();const s=r.measureViewportBox();if(!(((l=this.scroll)==null?void 0:l.wasRoot)||this.path.some(_re))){const{scroll:h}=this.root;h&&(ca(s.x,h.offset.x),ca(s.y,h.offset.y))}return s}removeElementScroll(r){var d;const s=Se();if(De(s,r),(d=this.scroll)!=null&&d.wasRoot)return s;for(let l=0;l<this.path.length;l++){const h=this.path[l],{scroll:u,options:p}=h;h!==this.root&&u&&p.layoutScroll&&(u.wasRoot&&De(s,r),ca(s.x,u.offset.x),ca(s.y,u.offset.y))}return s}applyTransform(r,s=!1){const d=Se();De(d,r);for(let l=0;l<this.path.length;l++){const h=this.path[l];!s&&h.options.layoutScroll&&h.scroll&&h!==h.root&&ra(d,{x:-h.scroll.offset.x,y:-h.scroll.offset.y}),Gn(h.latestValues)&&ra(d,h.latestValues)}return Gn(this.latestValues)&&ra(d,this.latestValues),d}removeTransform(r){const s=Se();De(s,r);for(let d=0;d<this.path.length;d++){const l=this.path[d];if(!l.instance||!Gn(l.latestValues))continue;ax(l.latestValues)&&l.updateSnapshot();const h=Se(),u=l.measurePageBox();De(h,u),Jw(s,l.latestValues,l.snapshot?l.snapshot.layoutBox:void 0,h)}return Gn(this.latestValues)&&Jw(s,this.latestValues),s}setTargetDelta(r){this.targetDelta=r,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(r){this.options={...this.options,...r,crossfade:r.crossfade!==void 0?r.crossfade:!0}}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!==Ae.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(r=!1){var p;const s=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=s.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=s.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=s.isSharedProjectionDirty);const d=!!this.resumingFrom||this!==s;if(!(r||d&&this.isSharedProjectionDirty||this.isProjectionDirty||(p=this.parent)!=null&&p.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:h,layoutId:u}=this.options;if(!(!this.layout||!(h||u))){if(this.resolvedRelativeTargetAt=Ae.timestamp,!this.targetDelta&&!this.relativeTarget){const y=this.getClosestProjectingParent();y&&y.layout&&this.animationProgress!==1?(this.relativeParent=y,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Se(),this.relativeTargetOrigin=Se(),La(this.relativeTargetOrigin,this.layout.layoutBox,y.layout.layoutBox),De(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=Se(),this.targetWithTransforms=Se()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),vce(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):De(this.target,this.layout.layoutBox),cI(this.target,this.targetDelta)):De(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget)){this.attemptToResolveRelativeTarget=!1;const y=this.getClosestProjectingParent();y&&!!y.resumingFrom==!!this.resumingFrom&&!y.options.layoutScroll&&y.target&&this.animationProgress!==1?(this.relativeParent=y,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Se(),this.relativeTargetOrigin=Se(),La(this.relativeTargetOrigin,this.target,y.target),De(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(!(!this.parent||ax(this.parent.latestValues)||iI(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var C;const r=this.getLead(),s=!!this.resumingFrom||this!==r;let d=!0;if((this.isProjectionDirty||(C=this.parent)!=null&&C.isProjectionDirty)&&(d=!1),s&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(d=!1),this.resolvedRelativeTargetAt===Ae.timestamp&&(d=!1),d)return;const{layout:l,layoutId:h}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(l||h))return;De(this.layoutCorrected,this.layout.layoutBox);const u=this.treeScale.x,p=this.treeScale.y;Cce(this.layoutCorrected,this.treeScale,this.path,s),r.layout&&!r.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(r.target=r.layout.layoutBox,r.targetWithTransforms=Se());const{target:y}=r;if(!y){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Kw(this.prevProjectionDelta.x,this.projectionDelta.x),Kw(this.prevProjectionDelta.y,this.projectionDelta.y)),xa(this.projectionDelta,this.layoutCorrected,y,this.latestValues),(this.treeScale.x!==u||this.treeScale.y!==p||!ob(this.projectionDelta.x,this.prevProjectionDelta.x)||!ob(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",y))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(r=!0){var s;if((s=this.options.visualElement)==null||s.scheduleRender(),r){const d=this.getStack();d&&d.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=ia(),this.projectionDelta=ia(),this.projectionDeltaWithTransform=ia()}setAnimationOrigin(r,s=!1){const d=this.snapshot,l=d?d.latestValues:{},h={...this.latestValues},u=ia();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!s;const p=Se(),y=d?d.source:void 0,C=this.layout?this.layout.source:void 0,g=y!==C,x=this.getStack(),m=!x||x.members.length<=1,N=!!(g&&!m&&this.options.crossfade===!0&&!this.path.some(fre));this.animationProgress=0;let f;this.mixTargetDelta=w=>{const M=w/1e3;rb(u.x,r.x,M),rb(u.y,r.y,M),this.setTargetDelta(u),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(La(p,this.layout.layoutBox,this.relativeParent.layout.layoutBox),kre(this.relativeTarget,this.relativeTargetOrigin,p,M),f&&Qce(this.relativeTarget,f)&&(this.isProjectionDirty=!1),f||(f=Se()),De(f,this.relativeTarget)),g&&(this.animationValues=h,Zce(h,l,this.latestValues,M,N,m)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=M},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(r){var s,d,l;this.notifyListeners("animationStart"),(s=this.currentAnimation)==null||s.stop(),(l=(d=this.resumingFrom)==null?void 0:d.currentAnimation)==null||l.stop(),this.pendingAnimation&&(s1(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=be.update(()=>{yv.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=sa(0)),this.currentAnimation=Oce(this.motionValue,[0,1e3],{...r,velocity:0,isSync:!0,onUpdate:h=>{this.mixTargetDelta(h),r.onUpdate&&r.onUpdate(h)},onStop:()=>{},onComplete:()=>{r.onComplete&&r.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const r=this.getStack();r&&r.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(nre),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const r=this.getLead();let{targetWithTransforms:s,target:d,layout:l,latestValues:h}=r;if(!(!s||!d||!l)){if(this!==r&&this.layout&&l&&MI(this.options.animationType,this.layout.layoutBox,l.layoutBox)){d=this.target||Se();const u=je(this.layout.layoutBox.x);d.x.min=r.target.x.min,d.x.max=d.x.min+u;const p=je(this.layout.layoutBox.y);d.y.min=r.target.y.min,d.y.max=d.y.min+p}De(s,d),ra(s,h),xa(this.projectionDeltaWithTransform,this.layoutCorrected,s,h)}}registerSharedNode(r,s){this.sharedNodes.has(r)||this.sharedNodes.set(r,new Jce),this.sharedNodes.get(r).add(s);const l=s.options.initialPromotionConfig;s.promote({transition:l?l.transition:void 0,preserveFollowOpacity:l&&l.shouldPreserveFollowOpacity?l.shouldPreserveFollowOpacity(s):void 0})}isLead(){const r=this.getStack();return r?r.lead===this:!0}getLead(){var s;const{layoutId:r}=this.options;return r?((s=this.getStack())==null?void 0:s.lead)||this:this}getPrevLead(){var s;const{layoutId:r}=this.options;return r?(s=this.getStack())==null?void 0:s.prevLead:void 0}getStack(){const{layoutId:r}=this.options;if(r)return this.root.sharedNodes.get(r)}promote({needsReset:r,transition:s,preserveFollowOpacity:d}={}){const l=this.getStack();l&&l.promote(this,d),r&&(this.projectionDelta=void 0,this.needsReset=!0),s&&this.setOptions({transition:s})}relegate(){const r=this.getStack();return r?r.relegate(this):!1}resetSkewAndRotation(){const{visualElement:r}=this.options;if(!r)return;let s=!1;const{latestValues:d}=r;if((d.z||d.rotate||d.rotateX||d.rotateY||d.rotateZ||d.skewX||d.skewY)&&(s=!0),!s)return;const l={};d.z&&PC("z",r,l,this.animationValues);for(let h=0;h<AC.length;h++)PC(`rotate${AC[h]}`,r,l,this.animationValues),PC(`skew${AC[h]}`,r,l,this.animationValues);r.render();for(const h in l)r.setStaticValue(h,l[h]),this.animationValues&&(this.animationValues[h]=l[h]);r.scheduleRender()}getProjectionStyles(r){if(!this.instance||this.isSVG)return;if(!this.isVisible)return tre;const s={visibility:""},d=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,s.opacity="",s.pointerEvents=pv(r==null?void 0:r.pointerEvents)||"",s.transform=d?d(this.latestValues,""):"none",s;const l=this.getLead();if(!this.projectionDelta||!this.layout||!l.target){const y={};return this.options.layoutId&&(y.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,y.pointerEvents=pv(r==null?void 0:r.pointerEvents)||""),this.hasProjected&&!Gn(this.latestValues)&&(y.transform=d?d({},""):"none",this.hasProjected=!1),y}const h=l.animationValues||l.latestValues;this.applyTransformsToTarget(),s.transform=ere(this.projectionDeltaWithTransform,this.treeScale,h),d&&(s.transform=d(h,s.transform));const{x:u,y:p}=this.projectionDelta;s.transformOrigin=`${u.origin*100}% ${p.origin*100}% 0`,l.animationValues?s.opacity=l===this?h.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:h.opacityExit:s.opacity=l===this?h.opacity!==void 0?h.opacity:"":h.opacityExit!==void 0?h.opacityExit:0;for(const y in Na){if(h[y]===void 0)continue;const{correct:C,applyTo:g,isCSSVariable:x}=Na[y],m=s.transform==="none"?h[y]:C(h[y],l);if(g){const N=g.length;for(let f=0;f<N;f++)s[g[f]]=m}else x?this.options.visualElement.renderState.vars[y]=m:s[y]=m}return this.options.layoutId&&(s.pointerEvents=l===this?pv(r==null?void 0:r.pointerEvents)||"":"none"),s}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(r=>{var s;return(s=r.currentAnimation)==null?void 0:s.stop()}),this.root.nodes.forEach(ib),this.root.sharedNodes.clear()}}}function ore(e){e.updateLayout()}function ire(e){var a;const t=((a=e.resumeFrom)==null?void 0:a.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:o,measuredBox:i}=e.layout,{animationType:c}=e.options,r=t.source!==e.layout.source;c==="size"?Fe(u=>{const p=r?t.measuredBox[u]:t.layoutBox[u],y=je(p);p.min=o[u].min,p.max=p.min+y}):MI(c,t.layoutBox,o)&&Fe(u=>{const p=r?t.measuredBox[u]:t.layoutBox[u],y=je(o[u]);p.max=p.min+y,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[u].max=e.relativeTarget[u].min+y)});const s=ia();xa(s,o,t.layoutBox);const d=ia();r?xa(d,e.applyTransform(i,!0),t.measuredBox):xa(d,o,t.layoutBox);const l=!yI(s);let h=!1;if(!e.resumeFrom){const u=e.getClosestProjectingParent();if(u&&!u.resumeFrom){const{snapshot:p,layout:y}=u;if(p&&y){const C=Se();La(C,t.layoutBox,p.layoutBox);const g=Se();La(g,o,y.layoutBox),kI(C,g)||(h=!0),u.options.layoutRoot&&(e.relativeTarget=g,e.relativeTargetOrigin=C,e.relativeParent=u)}}}e.notifyListeners("didUpdate",{layout:o,snapshot:t,delta:d,layoutDelta:s,hasLayoutChanged:l,hasRelativeLayoutChanged:h})}else if(e.isLead()){const{onExitComplete:o}=e.options;o&&o()}e.options.transition=void 0}function cre(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 rre(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function sre(e){e.clearSnapshot()}function ib(e){e.clearMeasurements()}function dre(e){e.isLayoutDirty=!1}function hre(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function cb(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function lre(e){e.resolveTargetDelta()}function ure(e){e.calcProjection()}function pre(e){e.resetSkewAndRotation()}function yre(e){e.removeLeadSnapshot()}function rb(e,t,a){e.translate=we(t.translate,0,a),e.scale=we(t.scale,1,a),e.origin=t.origin,e.originPoint=t.originPoint}function sb(e,t,a,o){e.min=we(t.min,a.min,o),e.max=we(t.max,a.max,o)}function kre(e,t,a,o){sb(e.x,t.x,a.x,o),sb(e.y,t.y,a.y,o)}function fre(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const mre={duration:.45,ease:[.4,0,.1,1]},db=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),hb=db("applewebkit/")&&!db("chrome/")?Math.round:Be;function lb(e){e.min=hb(e.min),e.max=hb(e.max)}function Mre(e){lb(e.x),lb(e.y)}function MI(e,t,a){return e==="position"||e==="preserve-aspect"&&!gce(ab(t),ab(a),.2)}function _re(e){var t;return e!==e.root&&((t=e.scroll)==null?void 0:t.wasRoot)}const gre=mI({attachResizeListener:(e,t)=>Pa(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),EC={current:void 0},_I=mI({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!EC.current){const e=new gre({});e.mount(window),e.setOptions({layoutScroll:!0}),EC.current=e}return EC.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),vre={pan:{Feature:jce},drag:{Feature:Tce,ProjectionNode:_I,MeasureLayout:lI}};function ub(e,t,a){const{props:o}=e;e.animationState&&o.whileHover&&e.animationState.setActive("whileHover",a==="Start");const i="onHover"+a,c=o[i];c&&be.postRender(()=>c(t,qa(t)))}class Cre extends h1{mount(){const{current:t}=this.node;t&&(this.unmount=W0e(t,(a,o)=>(ub(this.node,o,"Start"),i=>ub(this.node,i,"End"))))}unmount(){}}class xre extends h1{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!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=Ea(Pa(this.node.current,"focus",()=>this.onFocus()),Pa(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function pb(e,t,a){const{props:o}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&o.whileTap&&e.animationState.setActive("whileTap",a==="Start");const i="onTap"+(a==="End"?"":a),c=o[i];c&&be.postRender(()=>c(t,qa(t)))}class Lre extends h1{mount(){const{current:t}=this.node;t&&(this.unmount=Q0e(t,(a,o)=>(pb(this.node,o,"Start"),(i,{success:c})=>pb(this.node,i,c?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const cx=new WeakMap,RC=new WeakMap,wre=e=>{const t=cx.get(e.target);t&&t(e)},bre=e=>{e.forEach(wre)};function Sre({root:e,...t}){const a=e||document;RC.has(a)||RC.set(a,{});const o=RC.get(a),i=JSON.stringify(t);return o[i]||(o[i]=new IntersectionObserver(bre,{root:e,...t})),o[i]}function Ire(e,t,a){const o=Sre(t);return cx.set(e,a),o.observe(e),()=>{cx.delete(e),o.unobserve(e)}}const Nre={some:0,all:1};class Are extends h1{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:a,margin:o,amount:i="some",once:c}=t,r={root:a?a.current:void 0,rootMargin:o,threshold:typeof i=="number"?i:Nre[i]},s=d=>{const{isIntersecting:l}=d;if(this.isInView===l||(this.isInView=l,c&&!l&&this.hasEnteredView))return;l&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",l);const{onViewportEnter:h,onViewportLeave:u}=this.node.getProps(),p=l?h:u;p&&p(d)};return Ire(this.node.current,r,s)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:a}=this.node;["amount","margin","root"].some(Pre(t,a))&&this.startObserver()}unmount(){}}function Pre({viewport:e={}},{viewport:t={}}={}){return a=>e[a]!==t[a]}const Ere={inView:{Feature:Are},tap:{Feature:Lre},focus:{Feature:xre},hover:{Feature:Cre}},Rre={layout:{ProjectionNode:_I,MeasureLayout:lI}},rx={current:null},gI={current:!1};function $re(){if(gI.current=!0,!!px)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>rx.current=e.matches;e.addListener(t),t()}else rx.current=!1}const qre=new WeakMap;function Tre(e,t,a){for(const o in t){const i=t[o],c=a[o];if(Re(i))e.addValue(o,i);else if(Re(c))e.addValue(o,sa(i,{owner:e}));else if(c!==i)if(e.hasValue(o)){const r=e.getValue(o);r.liveStyle===!0?r.jump(i):r.hasAnimated||r.set(i)}else{const r=e.getStaticValue(o);e.addValue(o,sa(r!==void 0?r:i,{owner:e}))}}for(const o in a)t[o]===void 0&&e.removeValue(o);return t}const yb=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class jre{scrapeMotionValuesFromProps(t,a,o){return{}}constructor({parent:t,props:a,presenceContext:o,reducedMotionConfig:i,blockInitialAnimation:c,visualState:r},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Ax,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const p=He.now();this.renderScheduledAt<p&&(this.renderScheduledAt=p,be.render(this.render,!1,!0))};const{latestValues:d,renderState:l}=r;this.latestValues=d,this.baseTarget={...d},this.initialValues=a.initial?{...d}:{},this.renderState=l,this.parent=t,this.props=a,this.presenceContext=o,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.options=s,this.blockInitialAnimation=!!c,this.isControllingVariants=Av(a),this.isVariantNode=OS(a),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:h,...u}=this.scrapeMotionValuesFromProps(a,{},this);for(const p in u){const y=u[p];d[p]!==void 0&&Re(y)&&y.set(d[p],!1)}}mount(t){this.current=t,qre.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((a,o)=>this.bindToMotionValue(o,a)),gI.current||$re(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:rx.current,process.env.NODE_ENV!=="production"&&Mx(this.shouldReduceMotion!==!0,"You have Reduced Motion enabled on your device. Animations may not appear as expected."),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),s1(this.notifyUpdate),s1(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const a=this.features[t];a&&(a.unmount(),a.isMounted=!1)}this.current=null}bindToMotionValue(t,a){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const o=pa.has(t);o&&this.onBindTransform&&this.onBindTransform();const i=a.on("change",s=>{this.latestValues[t]=s,this.props.onUpdate&&be.preRender(this.notifyUpdate),o&&this.projection&&(this.projection.isTransformDirty=!0)}),c=a.on("renderRequest",this.scheduleRender);let r;window.MotionCheckAppearSync&&(r=window.MotionCheckAppearSync(this,t,a)),this.valueSubscriptions.set(t,()=>{i(),c(),r&&r(),a.owner&&a.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in da){const a=da[t];if(!a)continue;const{isEnabled:o,Feature:i}=a;if(!this.features[t]&&i&&o(this.props)&&(this.features[t]=new i(this)),this.features[t]){const c=this.features[t];c.isMounted?c.update():(c.mount(),c.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Se()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,a){this.latestValues[t]=a}update(t,a){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=a;for(let o=0;o<yb.length;o++){const i=yb[o];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);const c="on"+i,r=t[c];r&&(this.propEventSubscriptions[i]=this.on(i,r))}this.prevMotionValues=Tre(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]: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(t){const a=this.getClosestVariantNode();if(a)return a.variantChildren&&a.variantChildren.add(t),()=>a.variantChildren.delete(t)}addValue(t,a){const o=this.values.get(t);a!==o&&(o&&this.removeValue(t),this.bindToMotionValue(t,a),this.values.set(t,a),this.latestValues[t]=a.get())}removeValue(t){this.values.delete(t);const a=this.valueSubscriptions.get(t);a&&(a(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,a){if(this.props.values&&this.props.values[t])return this.props.values[t];let o=this.values.get(t);return o===void 0&&a!==void 0&&(o=sa(a===null?void 0:a,{owner:this}),this.addValue(t,o)),o}readValue(t,a){let o=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return o!=null&&(typeof o=="string"&&(Xb(o)||Yb(o))?o=parseFloat(o):!tie(o)&&d1.test(a)&&(o=ES(t,a)),this.setBaseTarget(t,Re(o)?o.get():o)),Re(o)?o.get():o}setBaseTarget(t,a){this.baseTarget[t]=a}getBaseTarget(t){var c;const{initial:a}=this.props;let o;if(typeof a=="string"||typeof a=="object"){const r=Fx(this.props,a,(c=this.presenceContext)==null?void 0:c.custom);r&&(o=r[t])}if(a&&o!==void 0)return o;const i=this.getBaseTargetFromProps(this.props,t);return i!==void 0&&!Re(i)?i:this.initialValues[t]!==void 0&&o===void 0?void 0:this.baseTarget[t]}on(t,a){return this.events[t]||(this.events[t]=new mx),this.events[t].add(a)}notify(t,...a){this.events[t]&&this.events[t].notify(...a)}}class vI extends jre{constructor(){super(...arguments),this.KeyframeResolver=F0e}sortInstanceNodePosition(t,a){return t.compareDocumentPosition(a)&2?1:-1}getBaseTargetFromProps(t,a){return t.style?t.style[a]:void 0}removeValueFromRenderState(t,{vars:a,style:o}){delete a[t],delete o[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;Re(t)&&(this.childSubscription=t.on("change",a=>{this.current&&(this.current.textContent=`${a}`)}))}}function CI(e,{style:t,vars:a},o,i){Object.assign(e.style,t,i&&i.getProjectionStyles(o));for(const c in a)e.style.setProperty(c,a[c])}function Hre(e){return window.getComputedStyle(e)}class Vre extends vI{constructor(){super(...arguments),this.type="html",this.renderInstance=CI}readValueFromInstance(t,a){var o;if(pa.has(a))return(o=this.projection)!=null&&o.isProjecting?WC(a):r0e(t,a);{const i=Hre(t),c=(vx(a)?i.getPropertyValue(a):i[a])||0;return typeof c=="string"?c.trim():c}}measureInstanceViewportBox(t,{transformPagePoint:a}){return rI(t,a)}build(t,a,o){zx(t,a,o.transformTemplate)}scrapeMotionValuesFromProps(t,a,o){return Bx(t,a,o)}}const xI=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"]);function zre(e,t,a,o){CI(e,t,void 0,o);for(const i in t.attrs)e.setAttribute(xI.has(i)?i:Vx(i),t.attrs[i])}class Ore extends vI{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Se}getBaseTargetFromProps(t,a){return t[a]}readValueFromInstance(t,a){if(pa.has(a)){const o=PS(a);return o&&o.default||0}return a=xI.has(a)?a:Vx(a),t.getAttribute(a)}scrapeMotionValuesFromProps(t,a,o){return YS(t,a,o)}build(t,a,o){GS(t,a,this.isSVGTag,o.transformTemplate,o.style)}renderInstance(t,a,o,i){zre(t,a,o,i)}mount(t){this.isSVGTag=XS(t.tagName),super.mount(t)}}const Dre=(e,t)=>Dx(e)?new Ore(t):new Vre(t,{allowProjection:e!==q.Fragment}),Fre=zie({...uce,...Ere,...vre,...Rre},Dre),ga=lie(Fre);class Bre{constructor(){this.componentControls=new Set}subscribe(t){return this.componentControls.add(t),()=>this.componentControls.delete(t)}start(t,a){this.componentControls.forEach(o=>{o.start(t.nativeEvent||t,a)})}}const Ure=()=>new Bre;function Zre(){return bv(Ure)}const Gre="toggle-module__toggle___UzM3e",Wre="toggle-module__skeleton___mjzF4",Xre="toggle-module__checkbox___opDuO",Kre="toggle-module__sun___UrzIC",Yre="toggle-module__moon___r5ivs",ea={toggle:Gre,skeleton:Wre,checkbox:Xre,sun:Kre,moon:Yre},Qre="checkbox-module__field___tw7Y1",Jre="checkbox-module__checkbox___6oZEx",ese="checkbox-module__radio___VoMM2",tse="checkbox-module__toggle___B5NRE",nse="checkbox-module__input___s2l9X",ase="checkbox-module__title___HaaGu",ose="checkbox-module__label___uDuwc",ise="checkbox-module__helper___VwqDa",xe={field:Qre,checkbox:Jre,radio:ese,toggle:tse,"is-disabled":"checkbox-module__is-disabled___h2CQm",input:nse,"is-error":"checkbox-module__is-error___bgoZ4","is-skeleton":"checkbox-module__is-skeleton___h-CN1",title:ase,label:ose,helper:ise,"no-placeholder":"checkbox-module__no-placeholder___anYwD"},LI=({children:e,name:t,id:a,value:o,checked:i,helper:c,className:r="",label:s,isToggle:d=!1,isDisabled:l=!1,isSkeleton:h=!1,isError:u=!1,hasHover:p=!0,hasFocus:y=!0,onChange:C})=>_.jsxs("div",{className:xe.field,children:[_.jsxs("div",{className:Y(xe.checkbox,d&&xe.toggle,(l||h)&&xe["is-disabled"],h&&xe["is-skeleton"],u&&xe["is-error"],p&&xe["has-hover"],y&&xe["has-focus"],!e&&!s&&xe["no-placeholder"]),children:[_.jsx("input",{type:"checkbox",id:a||t,name:t,value:o,onChange:C,className:Y(xe.input,r),checked:i,"aria-label":t,disabled:l||h}),_.jsx("label",{htmlFor:a||t,children:e||s&&_.jsx("div",{className:xe.title,children:_.jsx("div",{className:xe.label,children:s})})})]}),c&&_.jsx("div",{className:xe.helper,children:c})]}),cse=({...e})=>_.jsxs("div",{className:Y(ea.toggle,e.isSkeleton&&ea.skeleton,e.checked&&ea.checked,e.className),children:[_.jsxs(ga.span,{animate:{x:e.checked?40:0},transition:e.isSkeleton?{duration:0}:{duration:.2},children:[_.jsx(Qe,{name:"Sun",size:"md",className:ea.sun}),_.jsx(Qe,{name:"Moon",size:"md",className:ea.moon})]}),_.jsx(LI,{...e,className:Y(ea.checkbox,e.className)})]}),rse="header-module__header___ouQd4",sse="header-module__scrolled___sKl7S",dse="header-module__container___IjYcu",hse="header-module__top___42BKq",ta={header:rse,"is-home":"header-module__is-home___puHem",scrolled:sse,container:dse,top:hse},lse="logo-module__logo___11Qw4",use="logo-module__skeleton___ZE23y",pse="logo-module__pulse___5tG4z",yse="logo-module__dark___xrO5o",kse="logo-module__button___Bejvb",fse="logo-module__nav___of7Is",mse="logo-module__icon___CyZil",Mse="logo-module__light___JQirk",_se="logo-module__header___9XrJi",gse="logo-module__loading___vpDlp",p1={logo:lse,skeleton:use,pulse:pse,dark:yse,button:kse,nav:fse,icon:mse,light:Mse,header:_se,loading:gse,"loading-dark":"logo-module__loading-dark___MSOCZ"},wI=({type:e="default",hasTitle:t=!0,header:a=!1,className:o=""})=>{const i=t1.useMounted();return _.jsxs(Wn,{href:"/",className:Y(p1.logo,e&&p1[e],a&&p1.header,o),children:[_.jsx("span",{className:Y(p1.icon,!i&&p1.skeleton),children:"M"}),t&&_.jsx("span",{className:Y(p1.title,!i&&p1.skeleton),children:"TheMichael"})]})};function vse(){const[e,t]=q.useState(!1);return q.useEffect(()=>{const a=()=>{t(window.scrollY>0)};return window.addEventListener("scroll",a),a(),()=>{window.removeEventListener("scroll",a)}},[]),e}const Cse=({id:e,isHome:t=!1,theme:a,onToggleTheme:o,activeSection:i,className:c=""})=>{const[r,s]=q.useState(a==="dark"),d=t1.useMounted(),l=vse();return _.jsx("div",{id:e,className:Y(ta.header,t&&ta["is-home"],l&&ta.scrolled,c),children:_.jsx("div",{className:ta.container,children:_.jsxs("div",{className:Y(ta.top),children:[_.jsx(wI,{type:"light",header:!0}),_.jsx(ioe,{activeSection:i}),_.jsx("div",{className:ta.right,children:_.jsx(cse,{name:"toggle",value:"",onChange:h=>{const p=h.target.checked?"dark":"light";o&&o(p),s(p==="dark")},checked:r,isSkeleton:!d})})]})})})};var ao={},kb;function xse(){if(kb)return ao;kb=1,ao.match=c,ao.parse=r;var e=/(?:(only|not)?\s*([^\s\(\)]+)(?:\s*and)?\s*)?(.+)?/i,t=/\(\s*([^\s\:\)]+)\s*(?:\:\s*([^\s\)]+))?\s*\)/,a=/^(?:(min|max)-)?(.+)/,o=/(em|rem|px|cm|mm|in|pt|pc)?$/,i=/(dpi|dpcm|dppx)?$/;function c(h,u){return r(h).some(function(p){var y=p.inverse,C=p.type==="all"||u.type===p.type;if(C&&y||!(C||y))return!1;var g=p.expressions.every(function(x){var m=x.feature,N=x.modifier,f=x.value,w=u[m];if(!w)return!1;switch(m){case"orientation":case"scan":return w.toLowerCase()===f.toLowerCase();case"width":case"height":case"device-width":case"device-height":f=l(f),w=l(w);break;case"resolution":f=d(f),w=d(w);break;case"aspect-ratio":case"device-aspect-ratio":case"device-pixel-ratio":f=s(f),w=s(w);break;case"grid":case"color":case"color-index":case"monochrome":f=parseInt(f,10)||1,w=parseInt(w,10)||0;break}switch(N){case"min":return w>=f;case"max":return w<=f;default:return w===f}});return g&&!y||!g&&y})}function r(h){return h.split(",").map(function(u){u=u.trim();var p=u.match(e),y=p[1],C=p[2],g=p[3]||"",x={};return x.inverse=!!y&&y.toLowerCase()==="not",x.type=C?C.toLowerCase():"all",g=g.match(/\([^\)]+\)/g)||[],x.expressions=g.map(function(m){var N=m.match(t),f=N[1].toLowerCase().match(a);return{modifier:f[1],feature:f[2],value:N[2]}}),x})}function s(h){var u=Number(h),p;return u||(p=h.match(/^(\d+)\s*\/\s*(\d+)$/),u=p[1]/p[2]),u}function d(h){var u=parseFloat(h),p=String(h).match(i)[1];switch(p){case"dpcm":return u/2.54;case"dppx":return u*96;default:return u}}function l(h){var u=parseFloat(h),p=String(h).match(o)[1];switch(p){case"em":return u*16;case"rem":return u*16;case"cm":return u*96/2.54;case"mm":return u*96/2.54/10;case"in":return u*96;case"pt":return u*72;case"pc":return u*72/12;default:return u}}return ao}var $C,fb;function Lse(){if(fb)return $C;fb=1;var e=xse().match,t=typeof window<"u"?window.matchMedia:null;function a(i,c,r){var s=this,d;t&&!r&&(d=t.call(window,i)),d?(this.matches=d.matches,this.media=d.media,d.addListener(u)):(this.matches=e(i,c),this.media=i),this.addListener=l,this.removeListener=h,this.dispose=p;function l(y){d&&d.addListener(y)}function h(y){d&&d.removeListener(y)}function u(y){s.matches=y.matches,s.media=y.media}function p(){d&&d.removeListener(u)}}function o(i,c,r){return new a(i,c,r)}return $C=o,$C}var wse=Lse();const bse=vv(wse);var Sse=/[A-Z]/g,Ise=/^ms-/,qC={};function Nse(e){return"-"+e.toLowerCase()}function bI(e){if(qC.hasOwnProperty(e))return qC[e];var t=e.replace(Sse,Nse);return qC[e]=Ise.test(t)?"-"+t:t}function Ase(e,t){if(e===t)return!0;if(!e||!t)return!1;const a=Object.keys(e),o=Object.keys(t),i=a.length;if(o.length!==i)return!1;for(let c=0;c<i;c++){const r=a[c];if(e[r]!==t[r]||!Object.prototype.hasOwnProperty.call(t,r))return!1}return!0}var oo={exports:{}},io={exports:{}},ke={};/** @license React v16.13.1
7836
7836
  * react-is.production.min.js
7837
7837
  *
7838
7838
  * Copyright (c) Facebook, Inc. and its affiliates.
7839
7839
  *
7840
7840
  * This source code is licensed under the MIT license found in the
7841
7841
  * LICENSE file in the root directory of this source tree.
7842
- */var mb;function Ase(){if(mb)return ke;mb=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,a=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,c=e?Symbol.for("react.profiler"):60114,r=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,d=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,h=e?Symbol.for("react.forward_ref"):60112,u=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,y=e?Symbol.for("react.memo"):60115,C=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,x=e?Symbol.for("react.fundamental"):60117,m=e?Symbol.for("react.responder"):60118,N=e?Symbol.for("react.scope"):60119;function f(M){if(typeof M=="object"&&M!==null){var S=M.$$typeof;switch(S){case t:switch(M=M.type,M){case d:case l:case o:case c:case i:case u:return M;default:switch(M=M&&M.$$typeof,M){case s:case h:case C:case y:case r:return M;default:return S}}case a:return S}}}function w(M){return f(M)===l}return ke.AsyncMode=d,ke.ConcurrentMode=l,ke.ContextConsumer=s,ke.ContextProvider=r,ke.Element=t,ke.ForwardRef=h,ke.Fragment=o,ke.Lazy=C,ke.Memo=y,ke.Portal=a,ke.Profiler=c,ke.StrictMode=i,ke.Suspense=u,ke.isAsyncMode=function(M){return w(M)||f(M)===d},ke.isConcurrentMode=w,ke.isContextConsumer=function(M){return f(M)===s},ke.isContextProvider=function(M){return f(M)===r},ke.isElement=function(M){return typeof M=="object"&&M!==null&&M.$$typeof===t},ke.isForwardRef=function(M){return f(M)===h},ke.isFragment=function(M){return f(M)===o},ke.isLazy=function(M){return f(M)===C},ke.isMemo=function(M){return f(M)===y},ke.isPortal=function(M){return f(M)===a},ke.isProfiler=function(M){return f(M)===c},ke.isStrictMode=function(M){return f(M)===i},ke.isSuspense=function(M){return f(M)===u},ke.isValidElementType=function(M){return typeof M=="string"||typeof M=="function"||M===o||M===l||M===c||M===i||M===u||M===p||typeof M=="object"&&M!==null&&(M.$$typeof===C||M.$$typeof===y||M.$$typeof===r||M.$$typeof===s||M.$$typeof===h||M.$$typeof===x||M.$$typeof===m||M.$$typeof===N||M.$$typeof===g)},ke.typeOf=f,ke}var fe={};/** @license React v16.13.1
7842
+ */var mb;function Pse(){if(mb)return ke;mb=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,a=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,c=e?Symbol.for("react.profiler"):60114,r=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,d=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,h=e?Symbol.for("react.forward_ref"):60112,u=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,y=e?Symbol.for("react.memo"):60115,C=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,x=e?Symbol.for("react.fundamental"):60117,m=e?Symbol.for("react.responder"):60118,N=e?Symbol.for("react.scope"):60119;function f(M){if(typeof M=="object"&&M!==null){var S=M.$$typeof;switch(S){case t:switch(M=M.type,M){case d:case l:case o:case c:case i:case u:return M;default:switch(M=M&&M.$$typeof,M){case s:case h:case C:case y:case r:return M;default:return S}}case a:return S}}}function w(M){return f(M)===l}return ke.AsyncMode=d,ke.ConcurrentMode=l,ke.ContextConsumer=s,ke.ContextProvider=r,ke.Element=t,ke.ForwardRef=h,ke.Fragment=o,ke.Lazy=C,ke.Memo=y,ke.Portal=a,ke.Profiler=c,ke.StrictMode=i,ke.Suspense=u,ke.isAsyncMode=function(M){return w(M)||f(M)===d},ke.isConcurrentMode=w,ke.isContextConsumer=function(M){return f(M)===s},ke.isContextProvider=function(M){return f(M)===r},ke.isElement=function(M){return typeof M=="object"&&M!==null&&M.$$typeof===t},ke.isForwardRef=function(M){return f(M)===h},ke.isFragment=function(M){return f(M)===o},ke.isLazy=function(M){return f(M)===C},ke.isMemo=function(M){return f(M)===y},ke.isPortal=function(M){return f(M)===a},ke.isProfiler=function(M){return f(M)===c},ke.isStrictMode=function(M){return f(M)===i},ke.isSuspense=function(M){return f(M)===u},ke.isValidElementType=function(M){return typeof M=="string"||typeof M=="function"||M===o||M===l||M===c||M===i||M===u||M===p||typeof M=="object"&&M!==null&&(M.$$typeof===C||M.$$typeof===y||M.$$typeof===r||M.$$typeof===s||M.$$typeof===h||M.$$typeof===x||M.$$typeof===m||M.$$typeof===N||M.$$typeof===g)},ke.typeOf=f,ke}var fe={};/** @license React v16.13.1
7843
7843
  * react-is.development.js
7844
7844
  *
7845
7845
  * Copyright (c) Facebook, Inc. and its affiliates.
7846
7846
  *
7847
7847
  * This source code is licensed under the MIT license found in the
7848
7848
  * LICENSE file in the root directory of this source tree.
7849
- */var Mb;function Pse(){return Mb||(Mb=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,a=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,c=e?Symbol.for("react.profiler"):60114,r=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,d=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,h=e?Symbol.for("react.forward_ref"):60112,u=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,y=e?Symbol.for("react.memo"):60115,C=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,x=e?Symbol.for("react.fundamental"):60117,m=e?Symbol.for("react.responder"):60118,N=e?Symbol.for("react.scope"):60119;function f(L){return typeof L=="string"||typeof L=="function"||L===o||L===l||L===c||L===i||L===u||L===p||typeof L=="object"&&L!==null&&(L.$$typeof===C||L.$$typeof===y||L.$$typeof===r||L.$$typeof===s||L.$$typeof===h||L.$$typeof===x||L.$$typeof===m||L.$$typeof===N||L.$$typeof===g)}function w(L){if(typeof L=="object"&&L!==null){var me=L.$$typeof;switch(me){case t:var J=L.type;switch(J){case d:case l:case o:case c:case i:case u:return J;default:var X=J&&J.$$typeof;switch(X){case s:case h:case C:case y:case r:return X;default:return me}}case a:return me}}}var M=d,S=l,A=s,P=r,H=t,E=h,T=o,O=C,ae=y,U=a,te=c,Q=i,ce=u,oe=!1;function W(L){return oe||(oe=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),v(L)||w(L)===d}function v(L){return w(L)===l}function R(L){return w(L)===s}function j(L){return w(L)===r}function F(L){return typeof L=="object"&&L!==null&&L.$$typeof===t}function V(L){return w(L)===h}function ee(L){return w(L)===o}function G(L){return w(L)===C}function b(L){return w(L)===y}function Z(L){return w(L)===a}function z(L){return w(L)===c}function K(L){return w(L)===i}function I(L){return w(L)===u}fe.AsyncMode=M,fe.ConcurrentMode=S,fe.ContextConsumer=A,fe.ContextProvider=P,fe.Element=H,fe.ForwardRef=E,fe.Fragment=T,fe.Lazy=O,fe.Memo=ae,fe.Portal=U,fe.Profiler=te,fe.StrictMode=Q,fe.Suspense=ce,fe.isAsyncMode=W,fe.isConcurrentMode=v,fe.isContextConsumer=R,fe.isContextProvider=j,fe.isElement=F,fe.isForwardRef=V,fe.isFragment=ee,fe.isLazy=G,fe.isMemo=b,fe.isPortal=Z,fe.isProfiler=z,fe.isStrictMode=K,fe.isSuspense=I,fe.isValidElementType=f,fe.typeOf=w}()),fe}var _b;function SI(){return _b||(_b=1,process.env.NODE_ENV==="production"?io.exports=Ase():io.exports=Pse()),io.exports}/*
7849
+ */var Mb;function Ese(){return Mb||(Mb=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,a=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,c=e?Symbol.for("react.profiler"):60114,r=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,d=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,h=e?Symbol.for("react.forward_ref"):60112,u=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,y=e?Symbol.for("react.memo"):60115,C=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,x=e?Symbol.for("react.fundamental"):60117,m=e?Symbol.for("react.responder"):60118,N=e?Symbol.for("react.scope"):60119;function f(L){return typeof L=="string"||typeof L=="function"||L===o||L===l||L===c||L===i||L===u||L===p||typeof L=="object"&&L!==null&&(L.$$typeof===C||L.$$typeof===y||L.$$typeof===r||L.$$typeof===s||L.$$typeof===h||L.$$typeof===x||L.$$typeof===m||L.$$typeof===N||L.$$typeof===g)}function w(L){if(typeof L=="object"&&L!==null){var me=L.$$typeof;switch(me){case t:var J=L.type;switch(J){case d:case l:case o:case c:case i:case u:return J;default:var X=J&&J.$$typeof;switch(X){case s:case h:case C:case y:case r:return X;default:return me}}case a:return me}}}var M=d,S=l,A=s,P=r,H=t,E=h,T=o,O=C,ae=y,U=a,te=c,Q=i,ce=u,oe=!1;function W(L){return oe||(oe=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),v(L)||w(L)===d}function v(L){return w(L)===l}function R(L){return w(L)===s}function j(L){return w(L)===r}function F(L){return typeof L=="object"&&L!==null&&L.$$typeof===t}function V(L){return w(L)===h}function ee(L){return w(L)===o}function G(L){return w(L)===C}function b(L){return w(L)===y}function Z(L){return w(L)===a}function z(L){return w(L)===c}function K(L){return w(L)===i}function I(L){return w(L)===u}fe.AsyncMode=M,fe.ConcurrentMode=S,fe.ContextConsumer=A,fe.ContextProvider=P,fe.Element=H,fe.ForwardRef=E,fe.Fragment=T,fe.Lazy=O,fe.Memo=ae,fe.Portal=U,fe.Profiler=te,fe.StrictMode=Q,fe.Suspense=ce,fe.isAsyncMode=W,fe.isConcurrentMode=v,fe.isContextConsumer=R,fe.isContextProvider=j,fe.isElement=F,fe.isForwardRef=V,fe.isFragment=ee,fe.isLazy=G,fe.isMemo=b,fe.isPortal=Z,fe.isProfiler=z,fe.isStrictMode=K,fe.isSuspense=I,fe.isValidElementType=f,fe.typeOf=w}()),fe}var _b;function SI(){return _b||(_b=1,process.env.NODE_ENV==="production"?io.exports=Pse():io.exports=Ese()),io.exports}/*
7850
7850
  object-assign
7851
7851
  (c) Sindre Sorhus
7852
7852
  @license MIT
7853
- */var TC,gb;function Ese(){if(gb)return TC;gb=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;function o(c){if(c==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(c)}function i(){try{if(!Object.assign)return!1;var c=new String("abc");if(c[5]="de",Object.getOwnPropertyNames(c)[0]==="5")return!1;for(var r={},s=0;s<10;s++)r["_"+String.fromCharCode(s)]=s;var d=Object.getOwnPropertyNames(r).map(function(h){return r[h]});if(d.join("")!=="0123456789")return!1;var l={};return"abcdefghijklmnopqrst".split("").forEach(function(h){l[h]=h}),Object.keys(Object.assign({},l)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return TC=i()?Object.assign:function(c,r){for(var s,d=o(c),l,h=1;h<arguments.length;h++){s=Object(arguments[h]);for(var u in s)t.call(s,u)&&(d[u]=s[u]);if(e){l=e(s);for(var p=0;p<l.length;p++)a.call(s,l[p])&&(d[l[p]]=s[l[p]])}}return d},TC}var jC,vb;function Zx(){if(vb)return jC;vb=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return jC=e,jC}var HC,Cb;function II(){return Cb||(Cb=1,HC=Function.call.bind(Object.prototype.hasOwnProperty)),HC}var VC,xb;function Rse(){if(xb)return VC;xb=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=Zx(),a={},o=II();e=function(c){var r="Warning: "+c;typeof console<"u"&&console.error(r);try{throw new Error(r)}catch{}}}function i(c,r,s,d,l){if(process.env.NODE_ENV!=="production"){for(var h in c)if(o(c,h)){var u;try{if(typeof c[h]!="function"){var p=Error((d||"React class")+": "+s+" type `"+h+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof c[h]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw p.name="Invariant Violation",p}u=c[h](r,h,d,s,null,t)}catch(C){u=C}if(u&&!(u instanceof Error)&&e((d||"React class")+": type specification of "+s+" `"+h+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof u+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),u instanceof Error&&!(u.message in a)){a[u.message]=!0;var y=l?l():"";e("Failed "+s+" type: "+u.message+(y??""))}}}}return i.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(a={})},VC=i,VC}var zC,Lb;function $se(){if(Lb)return zC;Lb=1;var e=SI(),t=Ese(),a=Zx(),o=II(),i=Rse(),c=function(){};process.env.NODE_ENV!=="production"&&(c=function(s){var d="Warning: "+s;typeof console<"u"&&console.error(d);try{throw new Error(d)}catch{}});function r(){return null}return zC=function(s,d){var l=typeof Symbol=="function"&&Symbol.iterator,h="@@iterator";function u(v){var R=v&&(l&&v[l]||v[h]);if(typeof R=="function")return R}var p="<<anonymous>>",y={array:m("array"),bigint:m("bigint"),bool:m("boolean"),func:m("function"),number:m("number"),object:m("object"),string:m("string"),symbol:m("symbol"),any:N(),arrayOf:f,element:w(),elementType:M(),instanceOf:S,node:E(),objectOf:P,oneOf:A,oneOfType:H,shape:O,exact:ae};function C(v,R){return v===R?v!==0||1/v===1/R:v!==v&&R!==R}function g(v,R){this.message=v,this.data=R&&typeof R=="object"?R:{},this.stack=""}g.prototype=Error.prototype;function x(v){if(process.env.NODE_ENV!=="production")var R={},j=0;function F(ee,G,b,Z,z,K,I){if(Z=Z||p,K=K||b,I!==a){if(d){var L=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw L.name="Invariant Violation",L}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var me=Z+":"+b;!R[me]&&j<3&&(c("You are manually calling a React.PropTypes validation function for the `"+K+"` prop on `"+Z+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),R[me]=!0,j++)}}return G[b]==null?ee?G[b]===null?new g("The "+z+" `"+K+"` is marked as required "+("in `"+Z+"`, but its value is `null`.")):new g("The "+z+" `"+K+"` is marked as required in "+("`"+Z+"`, but its value is `undefined`.")):null:v(G,b,Z,z,K)}var V=F.bind(null,!1);return V.isRequired=F.bind(null,!0),V}function m(v){function R(j,F,V,ee,G,b){var Z=j[F],z=Q(Z);if(z!==v){var K=ce(Z);return new g("Invalid "+ee+" `"+G+"` of type "+("`"+K+"` supplied to `"+V+"`, expected ")+("`"+v+"`."),{expectedType:v})}return null}return x(R)}function N(){return x(r)}function f(v){function R(j,F,V,ee,G){if(typeof v!="function")return new g("Property `"+G+"` of component `"+V+"` has invalid PropType notation inside arrayOf.");var b=j[F];if(!Array.isArray(b)){var Z=Q(b);return new g("Invalid "+ee+" `"+G+"` of type "+("`"+Z+"` supplied to `"+V+"`, expected an array."))}for(var z=0;z<b.length;z++){var K=v(b,z,V,ee,G+"["+z+"]",a);if(K instanceof Error)return K}return null}return x(R)}function w(){function v(R,j,F,V,ee){var G=R[j];if(!s(G)){var b=Q(G);return new g("Invalid "+V+" `"+ee+"` of type "+("`"+b+"` supplied to `"+F+"`, expected a single ReactElement."))}return null}return x(v)}function M(){function v(R,j,F,V,ee){var G=R[j];if(!e.isValidElementType(G)){var b=Q(G);return new g("Invalid "+V+" `"+ee+"` of type "+("`"+b+"` supplied to `"+F+"`, expected a single ReactElement type."))}return null}return x(v)}function S(v){function R(j,F,V,ee,G){if(!(j[F]instanceof v)){var b=v.name||p,Z=W(j[F]);return new g("Invalid "+ee+" `"+G+"` of type "+("`"+Z+"` supplied to `"+V+"`, expected ")+("instance of `"+b+"`."))}return null}return x(R)}function A(v){if(!Array.isArray(v))return process.env.NODE_ENV!=="production"&&(arguments.length>1?c("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):c("Invalid argument supplied to oneOf, expected an array.")),r;function R(j,F,V,ee,G){for(var b=j[F],Z=0;Z<v.length;Z++)if(C(b,v[Z]))return null;var z=JSON.stringify(v,function(I,L){var me=ce(L);return me==="symbol"?String(L):L});return new g("Invalid "+ee+" `"+G+"` of value `"+String(b)+"` "+("supplied to `"+V+"`, expected one of "+z+"."))}return x(R)}function P(v){function R(j,F,V,ee,G){if(typeof v!="function")return new g("Property `"+G+"` of component `"+V+"` has invalid PropType notation inside objectOf.");var b=j[F],Z=Q(b);if(Z!=="object")return new g("Invalid "+ee+" `"+G+"` of type "+("`"+Z+"` supplied to `"+V+"`, expected an object."));for(var z in b)if(o(b,z)){var K=v(b,z,V,ee,G+"."+z,a);if(K instanceof Error)return K}return null}return x(R)}function H(v){if(!Array.isArray(v))return process.env.NODE_ENV!=="production"&&c("Invalid argument supplied to oneOfType, expected an instance of array."),r;for(var R=0;R<v.length;R++){var j=v[R];if(typeof j!="function")return c("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+oe(j)+" at index "+R+"."),r}function F(V,ee,G,b,Z){for(var z=[],K=0;K<v.length;K++){var I=v[K],L=I(V,ee,G,b,Z,a);if(L==null)return null;L.data&&o(L.data,"expectedType")&&z.push(L.data.expectedType)}var me=z.length>0?", expected one of type ["+z.join(", ")+"]":"";return new g("Invalid "+b+" `"+Z+"` supplied to "+("`"+G+"`"+me+"."))}return x(F)}function E(){function v(R,j,F,V,ee){return U(R[j])?null:new g("Invalid "+V+" `"+ee+"` supplied to "+("`"+F+"`, expected a ReactNode."))}return x(v)}function T(v,R,j,F,V){return new g((v||"React class")+": "+R+" type `"+j+"."+F+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+V+"`.")}function O(v){function R(j,F,V,ee,G){var b=j[F],Z=Q(b);if(Z!=="object")return new g("Invalid "+ee+" `"+G+"` of type `"+Z+"` "+("supplied to `"+V+"`, expected `object`."));for(var z in v){var K=v[z];if(typeof K!="function")return T(V,ee,G,z,ce(K));var I=K(b,z,V,ee,G+"."+z,a);if(I)return I}return null}return x(R)}function ae(v){function R(j,F,V,ee,G){var b=j[F],Z=Q(b);if(Z!=="object")return new g("Invalid "+ee+" `"+G+"` of type `"+Z+"` "+("supplied to `"+V+"`, expected `object`."));var z=t({},j[F],v);for(var K in z){var I=v[K];if(o(v,K)&&typeof I!="function")return T(V,ee,G,K,ce(I));if(!I)return new g("Invalid "+ee+" `"+G+"` key `"+K+"` supplied to `"+V+"`.\nBad object: "+JSON.stringify(j[F],null," ")+`
7854
- Valid keys: `+JSON.stringify(Object.keys(v),null," "));var L=I(b,K,V,ee,G+"."+K,a);if(L)return L}return null}return x(R)}function U(v){switch(typeof v){case"number":case"string":case"undefined":return!0;case"boolean":return!v;case"object":if(Array.isArray(v))return v.every(U);if(v===null||s(v))return!0;var R=u(v);if(R){var j=R.call(v),F;if(R!==v.entries){for(;!(F=j.next()).done;)if(!U(F.value))return!1}else for(;!(F=j.next()).done;){var V=F.value;if(V&&!U(V[1]))return!1}}else return!1;return!0;default:return!1}}function te(v,R){return v==="symbol"?!0:R?R["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&R instanceof Symbol:!1}function Q(v){var R=typeof v;return Array.isArray(v)?"array":v instanceof RegExp?"object":te(R,v)?"symbol":R}function ce(v){if(typeof v>"u"||v===null)return""+v;var R=Q(v);if(R==="object"){if(v instanceof Date)return"date";if(v instanceof RegExp)return"regexp"}return R}function oe(v){var R=ce(v);switch(R){case"array":case"object":return"an "+R;case"boolean":case"date":case"regexp":return"a "+R;default:return R}}function W(v){return!v.constructor||!v.constructor.name?p:v.constructor.name}return y.checkPropTypes=i,y.resetWarningCache=i.resetWarningCache,y.PropTypes=y,y},zC}var OC,wb;function qse(){if(wb)return OC;wb=1;var e=Zx();function t(){}function a(){}return a.resetWarningCache=t,OC=function(){function o(r,s,d,l,h,u){if(u!==e){var p=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw p.name="Invariant Violation",p}}o.isRequired=o;function i(){return o}var c={array:o,bigint:o,bool:o,func:o,number:o,object:o,string:o,symbol:o,any:o,arrayOf:i,element:o,elementType:o,instanceOf:i,node:o,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:a,resetWarningCache:t};return c.PropTypes=c,c},OC}var bb;function Tse(){if(bb)return oo.exports;if(bb=1,process.env.NODE_ENV!=="production"){var e=SI(),t=!0;oo.exports=$se()(e.isElement,t)}else oo.exports=qse()();return oo.exports}var jse=Tse();const pe=vv(jse),Te=pe.oneOfType([pe.string,pe.number]),NI={all:pe.bool,grid:pe.bool,aural:pe.bool,braille:pe.bool,handheld:pe.bool,print:pe.bool,projection:pe.bool,screen:pe.bool,tty:pe.bool,tv:pe.bool,embossed:pe.bool},Hse={orientation:pe.oneOf(["portrait","landscape"]),scan:pe.oneOf(["progressive","interlace"]),aspectRatio:pe.string,deviceAspectRatio:pe.string,height:Te,deviceHeight:Te,width:Te,deviceWidth:Te,color:pe.bool,colorIndex:pe.bool,monochrome:pe.bool,resolution:Te,type:Object.keys(NI)},{type:k4e,...Vse}=Hse,zse={minAspectRatio:pe.string,maxAspectRatio:pe.string,minDeviceAspectRatio:pe.string,maxDeviceAspectRatio:pe.string,minHeight:Te,maxHeight:Te,minDeviceHeight:Te,maxDeviceHeight:Te,minWidth:Te,maxWidth:Te,minDeviceWidth:Te,maxDeviceWidth:Te,minColor:pe.number,maxColor:pe.number,minColorIndex:pe.number,maxColorIndex:pe.number,minMonochrome:pe.number,maxMonochrome:pe.number,minResolution:Te,maxResolution:Te,...Vse},Ose={...NI,...zse};var Dse={all:Ose};const Fse=e=>`not ${e}`,Bse=(e,t)=>{const a=bI(e);return typeof t=="number"&&(t=`${t}px`),t===!0?a:t===!1?Fse(a):`(${a}: ${t})`},Use=e=>e.join(" and "),Zse=e=>{const t=[];return Object.keys(Dse.all).forEach(a=>{const o=e[a];o!=null&&t.push(Bse(a,o))}),Use(t)},Gse=q.createContext(void 0),Wse=e=>e.query||Zse(e),Sb=e=>e?Object.keys(e).reduce((a,o)=>(a[bI(o)]=e[o],a),{}):void 0,AI=()=>{const e=q.useRef(!1);return q.useEffect(()=>{e.current=!0},[]),e.current},Xse=e=>{const t=q.useContext(Gse),a=()=>Sb(e)||Sb(t),[o,i]=q.useState(a);return q.useEffect(()=>{const c=a();Nse(o,c)||i(c)},[e,t]),o},Kse=e=>{const t=()=>Wse(e),[a,o]=q.useState(t);return q.useEffect(()=>{const i=t();a!==i&&o(i)},[e]),a},Yse=(e,t)=>{const a=()=>wse(e,t||{},!!t),[o,i]=q.useState(a),c=AI();return q.useEffect(()=>{if(c){const r=a();return i(r),()=>{r&&r.dispose()}}},[e,t]),o},Qse=e=>{const[t,a]=q.useState(e.matches);return q.useEffect(()=>{const o=i=>{a(i.matches)};return e.addListener(o),a(e.matches),()=>{e.removeListener(o)}},[e]),t},Gx=(e,t,a)=>{const o=Xse(t),i=Kse(e);if(!i)throw new Error("Invalid or missing MediaQuery!");const c=Yse(i,o),r=Qse(c);return AI(),q.useEffect(()=>{},[r]),q.useEffect(()=>()=>{c&&c.dispose()},[]),r},Jse="input-module__fields___7s82h",ede="input-module__field___BmXtm",tde="input-module__dark___dEFyl",nde="input-module__outer___STcOB",ade="input-module__button___7gJw-",ode="input-module__click___6FEoM",ide="input-module__sm___jtNdd",cde="input-module__input___j8Xrc",rde="input-module__placeholder___Nc7hU",sde="input-module__icon___foesl",dde="input-module__text___DFtl6",hde="input-module__inner___Oy65q",lde="input-module__pulse___1I5VM",ude="input-module__helper___BfwFu",pde="input-module__loading___1cxGp",ne={fields:Jse,field:ede,dark:tde,outer:nde,"has-hover":"input-module__has-hover___xQrnh","is-disabled":"input-module__is-disabled___JwbG4","is-error":"input-module__is-error___xIDnZ",button:ade,click:ode,sm:ide,"has-focus":"input-module__has-focus___q2d3M",input:cde,placeholder:rde,icon:sde,text:dde,"is-loading":"input-module__is-loading___4plIo",inner:hde,"icon-wrap":"input-module__icon-wrap___HEFm4","is-skeleton":"input-module__is-skeleton___xCVEU",pulse:lde,helper:ude,"no-placeholder":"input-module__no-placeholder___i5lJb",loading:pde,"loading-dark":"input-module__loading-dark___mfX-p"},PI=({label:e="",placeholder:t="",options:a,name:o,id:i,value:c,size:r="md",helper:s,className:d="",isDisabled:l=!1,isLoading:h=!1,isSkeleton:u=!1,isError:p=!1,hasHover:y=!0,hasFocus:C=!0,onChange:g})=>{const x=q.useRef(null);return _.jsxs("div",{className:Y(ne.field,ne["no-placeholder"]),children:[e&&_.jsx("label",{htmlFor:i||o,children:e}),_.jsxs("div",{className:Y(ne.outer,r&&ne[r],d,(l||h||u)&&ne["is-disabled"],h&&!u&&ne["is-loading"],u&&ne["is-skeleton"],p&&ne["is-error"],y&&ne["has-hover"],C&&ne["has-focus"]),children:[h&&!u&&_.jsx("div",{className:ne.loading}),_.jsx("div",{className:ne.inner,children:_.jsxs("select",{ref:x,id:i||o,name:o,value:c,onChange:g,className:ne.input,"aria-label":e?"":i||o,disabled:l||h||u,children:[t&&_.jsx("option",{value:"",children:t}),a==null?void 0:a.map(m=>_.jsx("option",{value:m.value,children:m.label},m.value))]})}),_.jsx("div",{className:ne["icon-wrap"],children:_.jsx(Qe,{name:"ChevronDown",size:"md",className:ne.icon})})]}),s&&_.jsx("div",{className:ne.helper,children:s})]})},yde=({totalPages:e=4,currentPage:t=1,setCurrentPage:a})=>{const o=Gx({maxWidth:743}),[i,c]=q.useState(!0),r=Array.from({length:e},(l,h)=>h+1);q.useEffect(()=>{c(o)},[o]);const s=()=>{t>1&&a(t-1)},d=()=>{t<e&&a(t+1)};return _.jsx(_.Fragment,{children:e<5&&!i?_.jsxs(kv,{justify:"center",children:[_.jsx(Ye,{leadingIcon:"ChevronLeft",size:"md",variant:"outline",onClick:s,isDisabled:t===1,"aria-label":"Previous page"}),r.map(l=>_.jsx(Ye,{label:String(l),size:"md",variant:l===t?"primary":"text",onClick:()=>a(l),isIcon:!0},l)),_.jsx(Ye,{leadingIcon:"ChevronRight",size:"md",variant:"outline",onClick:d,isDisabled:t===e,"aria-label":"Next page"})]}):_.jsxs(kv,{justify:"center",children:[_.jsx(Ye,{leadingIcon:"ChevronLeft",size:"md",variant:"outline",onClick:s,isDisabled:t===1,"aria-label":"Previous page"}),_.jsx(PI,{name:"pageSize",value:String(t),size:"sm",options:r.map(l=>({value:String(l),label:String(l)})),onChange:l=>a(Number(l.target.value))}),_.jsx(Ye,{leadingIcon:"ChevronRight",size:"md",variant:"outline",onClick:d,isDisabled:t===e,"aria-label":"Next page"})]})})},kde="navbar-module__nav___JE2PK",fde={nav:kde},mde=({children:e,className:t})=>_.jsx("div",{className:Y(fde.nav,t),children:e}),Mde=({field:e,form:t,helper:a,input:o,...i})=>{const c=t.errors[e.name],s=t.touched[e.name]&&typeof c=="string";if(!o)return _.jsx("div",{children:"Component not provided"});const d={...e,...i,helper:s?c:a,isError:!!s,...o.name==="Checkbox"&&{checked:e.value},...o.name==="Radio"&&{checked:e.value===i.value}};return _.jsx(o,{...d})},EI=({ref:e,type:t="text",label:a="",placeholder:o="",name:i,id:c,value:r,size:s="md",helper:d,className:l="",leadingIcon:h,leadingFunction:u,leadingText:p="",trailingIcon:y,trailingFunction:C,trailingText:g="",button:x,isDisabled:m=!1,isLoading:N=!1,isSkeleton:f=!1,isError:w=!1,hasHover:M=!0,hasFocus:S=!0,onChange:A,...P})=>{const H=q.useRef(null),[E,T]=q.useState(!1),O=W=>{typeof e=="function"?e(W):e&&typeof e=="object"&&(e.current=W),H.current=W},ae=()=>{e&&typeof e=="object"&&"current"in e&&e.current?e.current.focus():H.current&&H.current.focus()},U=()=>{A({target:{name:i,value:""}})},te=W=>{W.stopPropagation(),T(v=>!v)},Q=W=>{W.stopPropagation(),u==null||u()},ce=W=>{W.stopPropagation(),y==="X"&&U(),C==null||C()},oe=W=>{var v;W.stopPropagation(),(v=x==null?void 0:x.onClick)==null||v.call(x,W)};return _.jsxs("div",{className:Y(ne.field,!o&&ne["no-placeholder"],l),children:[a&&_.jsx("label",{htmlFor:c||i,children:a}),_.jsxs("div",{className:Y("outer",ne.outer,s&&ne[s],(m||N||f)&&ne["is-disabled"],N&&!f&&ne["is-loading"],f&&ne["is-skeleton"],w&&ne["is-error"],M&&ne["has-hover"],S&&ne["has-focus"]),onClick:ae,children:[N&&!f&&_.jsx("div",{className:ne.loading}),h&&_.jsx("div",{onClick:u&&Q,className:Y(ne["icon-wrap"],u&&ne.click),children:_.jsx(Qe,{name:h,size:"md",className:Y("icon",ne.icon)})}),p&&_.jsx("div",{className:ne.text,children:p}),_.jsxs("div",{className:Y("inner",ne.inner),children:[_.jsx("input",{ref:O,type:t==="password"&&E?"text":t,id:c||i,name:i,value:r,onChange:A,className:Y("input",ne.input),placeholder:" ",required:!0,"aria-label":a?"":o,disabled:m||N||f,...P}),_.jsx("span",{className:Y("placeholder",ne.placeholder),children:o})]}),g&&_.jsx("div",{className:ne.text,children:g}),t==="password"&&_.jsx("div",{onClick:te,className:Y(ne["icon-wrap"],ne.click),children:_.jsx(Qe,{name:E?"Eye":"EyeOff",size:"md",className:Y("icon",ne.icon)})}),y&&!(y==="X"&&(!r||m))&&_.jsx("div",{onClick:ce,className:Y(ne["icon-wrap"],C||y==="X"?ne.click:""),children:_.jsx(Qe,{name:y,size:"md",className:Y("icon",ne.icon)})}),x&&_.jsx(Ye,{...x,size:"sm",variant:x.variant||"primary",className:ne.button,isDisabled:m||N||f,onClick:oe})]}),d&&_.jsx("div",{className:ne.helper,children:d})]})},_de="input-otp-module__group___z-CPs",gde="input-otp-module__list___fFJZo",vde="input-otp-module__item___BJ00s",Cde="input-otp-module__active___Om7c5",xde="input-otp-module__input___ZVrBh",Lde="input-otp-module__loading___pNOWC",ze={group:_de,"is-disabled":"input-otp-module__is-disabled___VHFpl","is-error":"input-otp-module__is-error___F1Owx",list:gde,item:vde,"is-loading":"input-otp-module__is-loading___rN1sA","is-skeleton":"input-otp-module__is-skeleton___166Zd",active:Cde,input:xde,loading:Lde},wde=({name:e,id:t,value:a,isDisabled:o=!1,isLoading:i=!1,isSkeleton:c=!1,isError:r=!1,onChange:s})=>{const d=q.useRef(null),[l,h]=q.useState(!1),u=g=>{const m=g.target.value.replace(/\D/g,"");m.length<=6?s(m):s(a.slice(0,5)+m.slice(-1))},p=g=>{["e","E","+","-"].includes(g.key)&&g.preventDefault()},y=()=>{var g;(g=d.current)==null||g.focus()},C=a.length<6?a.length:5;return _.jsxs("div",{className:Y(ze.group,(o||i||c)&&ze["is-disabled"],i&&!c&&ze["is-loading"],c&&ze["is-skeleton"],r&&ze["is-error"]),children:[i&&!c&&_.jsx("div",{className:ze.loading}),_.jsx("div",{className:ze.list,children:[0,1,2].map(g=>_.jsx("div",{className:Y(ze.item,{[ze.active]:l&&g===C}),onClick:y,children:a[g]||""},g))}),_.jsx("div",{className:ze.list,children:[3,4,5].map(g=>_.jsx("div",{className:Y(ze.item,{[ze.active]:l&&g===C}),onClick:y,children:a[g]||""},g))}),_.jsx("div",{className:ze.input,children:_.jsx(EI,{ref:d,type:"number",id:t||e,name:e,value:a,isDisabled:o,isLoading:i,isSkeleton:c,isError:r,autoComplete:"off",onChange:u,onKeyDown:p,onFocus:()=>h(!0),onBlur:()=>h(!1)})})]})},bde=({children:e,name:t,id:a,value:o,checked:i,helper:c,className:r="",label:s,isDisabled:d=!1,isSkeleton:l=!1,isError:h=!1,hasHover:u=!0,hasFocus:p=!0,onChange:y})=>_.jsxs("div",{className:xe.field,children:[_.jsxs("div",{className:Y(xe.radio,(d||l)&&xe["is-disabled"],l&&xe["is-skeleton"],h&&xe["is-error"],u&&xe["has-hover"],p&&xe["has-focus"]),children:[_.jsx("input",{type:"radio",id:a||t,name:t,value:String(o),onChange:y,className:Y(xe.input,r),checked:i,"aria-label":t,disabled:d||l}),_.jsx("label",{htmlFor:a||t,children:e||s&&_.jsx("div",{className:xe.title,children:_.jsx("div",{className:xe.label,children:s})})})]}),c&&_.jsx("div",{className:xe.helper,children:c})]}),Sde=({label:e="",placeholder:t="",name:a,id:o,value:i,size:c="md",helper:r,className:s="",isDisabled:d=!1,isLoading:l=!1,isSkeleton:h=!1,isError:u=!1,hasHover:p=!0,hasFocus:y=!0,onChange:C})=>{const g=q.useRef(null),x=()=>{var m;return(m=g.current)==null?void 0:m.focus()};return _.jsxs("div",{className:Y(ne.field,!t&&ne["no-placeholder"]),children:[e&&_.jsx("label",{htmlFor:o||a,children:e}),_.jsxs("div",{className:Y(ne.outer,c&&ne[c],s,(d||l||h)&&ne["is-disabled"],l&&!h&&ne["is-loading"],h&&ne["is-skeleton"],u&&ne["is-error"],p&&ne["has-hover"],y&&ne["has-focus"]),onClick:x,children:[l&&!h&&_.jsx("div",{className:ne.loading}),_.jsxs("div",{className:Y(ne.inner),children:[_.jsx("textarea",{ref:g,id:o||a,name:a,value:i,onChange:C,className:ne.input,placeholder:" ",required:!0,"aria-label":e?"":t,disabled:d||l||h}),_.jsx("span",{className:ne.placeholder,children:t})]})]}),r&&_.jsx("div",{className:ne.helper,children:r})]})},Ide="accordion-module__item___XYh5I",Nde="accordion-module__title___-r7mZ",Ade="accordion-module__content___xIV0C",ma={item:Ide,title:Nde,content:Ade},Pde=[{title:"Title 1",content:_.jsxs(_.Fragment,{children:[_.jsx("p",{children:"Content 1"}),_.jsx("p",{children:"Content 1"})]})},{title:"Title 2",content:_.jsx("p",{children:"Content 1"})},{title:"Title 3",content:_.jsx("p",{children:"Content 1"})}],Ede=()=>{const[e,t]=q.useState([0]),a=o=>{t(i=>i.includes(o)?i.filter(c=>c!==o):[...i,o])};return _.jsx("div",{className:ma.container,children:Pde.map((o,i)=>_.jsxs("div",{className:ma.item,children:[_.jsxs("div",{className:ma.title,onClick:()=>a(i),children:[o.title,_.jsx(Qe,{name:e.includes(i)?"ChevronDown":"ChevronUp",size:"md",className:e.includes(i)?ma.iconOpen:""})]}),e.includes(i)&&_.jsx("div",{className:ma.content,children:o.content})]},i))})},Rde="alert-module__alert___Ogxa-",$de="alert-module__dark___OWc6S",qde="alert-module__error___p7z3r",Tde="alert-module__warning___YBY3h",jde="alert-module__info___XMxO-",Hde="alert-module__success___qfwG7",Vde="alert-module__left___PSTHk",zde="alert-module__right___Rj6Kx",Ode="alert-module__button___4ztzS",Dde="alert-module__pulse___poyBO",Fde="alert-module__loading___Sa1Ks",co={alert:Rde,default:"alert-module__default___HvJlv",dark:$de,error:qde,warning:Tde,info:jde,success:Hde,left:Vde,right:zde,button:Ode,pulse:Dde,loading:Fde,"loading-dark":"alert-module__loading-dark___107ra"},Bde=({type:e="default",title:t,icon:a,button:o})=>_.jsxs("div",{className:Y(co.alert,co[e]),children:[_.jsxs("div",{className:co.left,children:[a,t]}),_.jsx("div",{className:co.right,children:o})]}),Ude="modal-module__backdrop___DCpKI",Zde="modal-module__fullscreen___sfLoP",Gde="modal-module__main___0Sjqx",Wde="modal-module__max___9QSAL",Xde="modal-module__sheet___8-CTw",Kde="modal-module__drag___mZz3W",Yde="modal-module__scroll___OnShd",Qde="modal-module__header___t3TrT",Jde="modal-module__top___62uvi",e4e="modal-module__title___oMB-c",t4e="modal-module__subtext___IHfeN",n4e="modal-module__left___dCx5f",a4e="modal-module__anchor___UCD-N",o4e="modal-module__right___rvlxY",i4e="modal-module__footer___tqppg",c4e="modal-module__full___WPa3O",r4e="modal-module__text___qx9vw",s4e="modal-module__content___k129O",le={backdrop:Ude,fullscreen:Zde,"backdrop--close-button":"modal-module__backdrop--close-button___SWtbL","bottom-sheet":"modal-module__bottom-sheet___oPiUM",main:Gde,max:Wde,sheet:Xde,drag:Kde,scroll:Yde,header:Qde,top:Jde,title:e4e,subtext:t4e,left:n4e,anchor:a4e,right:o4e,footer:i4e,full:c4e,text:r4e,content:s4e},Ib=e=>{var t;return q.isValidElement(e)&&((t=e.props)==null?void 0:t.variant)==="anchor"},Nb=({title:e="",subtext:t="",leading:a,trailing:o,sheet:i=!1})=>{const c=Gx({maxWidth:743}),r=Ib(a),s=Ib(o);return _.jsxs("div",{className:Y(le.header,i&&!c&&le.sheet),children:[a&&_.jsx("div",{className:Y(le.left,r&&le.anchor),children:a}),_.jsxs("div",{className:le.top,children:[_.jsx("div",{className:Y(le.title,!t&&le.large),children:e}),t&&_.jsx("div",{className:le.subtext,children:t})]}),o&&_.jsx("div",{className:Y(le.right,s&&le.anchor),children:o})]})},Ab=e=>{var t;return q.isValidElement(e)&&((t=e.props)==null?void 0:t.variant)==="anchor"},Pb=({title:e="",subtext:t="",leading:a,trailing:o,fullWidth:i=!1})=>{const c=Ab(a),r=Ab(o);return _.jsxs("div",{className:Y(le.footer,i&&le.full),children:[(e||t||a)&&_.jsx("div",{className:Y(le.left,c&&!e&&!t&&le.anchor),children:e||t?_.jsxs("div",{className:le.text,children:[e&&_.jsx("div",{className:le.title,children:e}),t&&_.jsx("div",{className:le.subtext,children:t})]}):_.jsx(_.Fragment,{children:a})}),o&&_.jsx("div",{className:Y(le.right,r&&le.anchor),children:o})]})},d4e=({children:e,modal:t,headerProps:a,footerProps:o,maxWidth:i,sheet:c=!1,fullscreen:r=!1,mobileMaxHeight:s=!1,mobileDraggable:d=!1,backdropClose:l=!0,bottomSheet:h=!1})=>{const u=q.useRef(null),p=Ure(),y=Gx({maxWidth:743}),[C,g]=q.useState(!0);q.useEffect(()=>{g(y)},[y]);const x=(f,w)=>{w.offset.y>150&&t.hide()},m=()=>{const f={opacity:0};return c&&!y?{...f,translateX:"calc(100% + 0.5rem)",opacity:1}:f},N=()=>{const f={opacity:1};return c&&!y?{...f,translateX:0,opacity:1}:f};return _.jsx(iie,{onExitComplete:()=>t.remove(),children:t.visible&&_.jsxs(_a.div,{className:Y(le.backdrop,h&&le["bottom-sheet"],r&&le.fullscreen,s&&y&&le.max,c&&!y&&le.sheet),children:[_.jsx(_a.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.6},onClick:()=>l&&t.hide(),className:le["backdrop--close-button"]}),C&&d&&h?_.jsx(_a.div,{ref:u,className:Y(le.main,r&&le.fullscreen),style:i?{maxWidth:i}:void 0,drag:"y",dragConstraints:{top:0,bottom:0},dragElastic:{top:0,bottom:.5},dragListener:!1,dragControls:p,onDragEnd:x,initial:{y:"100%"},animate:{y:0},exit:{y:"100%"},transition:{duration:.4,ease:"easeInOut"},children:_.jsxs("div",{className:le.drag,onPointerDown:f=>p.start(f),style:{touchAction:"none"},children:[a&&_.jsx(Nb,{...a}),_.jsx("div",{className:le.scroll,children:_.jsx("div",{className:le.content,children:e})}),o&&_.jsx(Pb,{...o})]})}):_.jsxs(_a.div,{className:Y(le.main,r&&le.fullscreen),style:i?{maxWidth:i}:void 0,onDragEnd:x,initial:m(),animate:N(),exit:m(),transition:{duration:.4,ease:"easeInOut"},children:[a&&_.jsx(Nb,{...a}),_.jsx("div",{className:le.scroll,children:_.jsx("div",{className:le.content,children:e})}),o&&_.jsx(Pb,{...o})]})]})})},h4e="rating-module__list___2OcZ8",l4e="rating-module__item___jHSa3",u4e="rating-module__active___-yGYw",ro={list:h4e,item:l4e,active:u4e};function p4e({rating:e,className:t}){const a=Math.max(0,Math.min(e,5));return _.jsx("div",{className:Y(ro.container,t),children:_.jsx("div",{className:ro.list,children:Array.from({length:5},(o,i)=>{const c=5-i;return _.jsx("div",{className:Y(ro.item,a===c&&ro.active)},c)})})})}exports.Accordion=Ede;exports.Alert=Bde;exports.Banner=jne;exports.Button=Ye;exports.Card=Xae;exports.Checkbox=LI;exports.Footer=eoe;exports.FormikInput=Mde;exports.Header=vse;exports.Icon=Qe;exports.Input=EI;exports.InputOtp=wde;exports.Logo=wI;exports.Modal=d4e;exports.Navbar=mde;exports.Pagination=yde;exports.Projects=Jne;exports.Radio=bde;exports.Rating=p4e;exports.Section=cae;exports.Select=PI;exports.Social=hx;exports.Stack=Sae;exports.Textarea=Sde;exports.Timeline=Bae;
7853
+ */var TC,gb;function Rse(){if(gb)return TC;gb=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;function o(c){if(c==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(c)}function i(){try{if(!Object.assign)return!1;var c=new String("abc");if(c[5]="de",Object.getOwnPropertyNames(c)[0]==="5")return!1;for(var r={},s=0;s<10;s++)r["_"+String.fromCharCode(s)]=s;var d=Object.getOwnPropertyNames(r).map(function(h){return r[h]});if(d.join("")!=="0123456789")return!1;var l={};return"abcdefghijklmnopqrst".split("").forEach(function(h){l[h]=h}),Object.keys(Object.assign({},l)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return TC=i()?Object.assign:function(c,r){for(var s,d=o(c),l,h=1;h<arguments.length;h++){s=Object(arguments[h]);for(var u in s)t.call(s,u)&&(d[u]=s[u]);if(e){l=e(s);for(var p=0;p<l.length;p++)a.call(s,l[p])&&(d[l[p]]=s[l[p]])}}return d},TC}var jC,vb;function Zx(){if(vb)return jC;vb=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return jC=e,jC}var HC,Cb;function II(){return Cb||(Cb=1,HC=Function.call.bind(Object.prototype.hasOwnProperty)),HC}var VC,xb;function $se(){if(xb)return VC;xb=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=Zx(),a={},o=II();e=function(c){var r="Warning: "+c;typeof console<"u"&&console.error(r);try{throw new Error(r)}catch{}}}function i(c,r,s,d,l){if(process.env.NODE_ENV!=="production"){for(var h in c)if(o(c,h)){var u;try{if(typeof c[h]!="function"){var p=Error((d||"React class")+": "+s+" type `"+h+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof c[h]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw p.name="Invariant Violation",p}u=c[h](r,h,d,s,null,t)}catch(C){u=C}if(u&&!(u instanceof Error)&&e((d||"React class")+": type specification of "+s+" `"+h+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof u+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),u instanceof Error&&!(u.message in a)){a[u.message]=!0;var y=l?l():"";e("Failed "+s+" type: "+u.message+(y??""))}}}}return i.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(a={})},VC=i,VC}var zC,Lb;function qse(){if(Lb)return zC;Lb=1;var e=SI(),t=Rse(),a=Zx(),o=II(),i=$se(),c=function(){};process.env.NODE_ENV!=="production"&&(c=function(s){var d="Warning: "+s;typeof console<"u"&&console.error(d);try{throw new Error(d)}catch{}});function r(){return null}return zC=function(s,d){var l=typeof Symbol=="function"&&Symbol.iterator,h="@@iterator";function u(v){var R=v&&(l&&v[l]||v[h]);if(typeof R=="function")return R}var p="<<anonymous>>",y={array:m("array"),bigint:m("bigint"),bool:m("boolean"),func:m("function"),number:m("number"),object:m("object"),string:m("string"),symbol:m("symbol"),any:N(),arrayOf:f,element:w(),elementType:M(),instanceOf:S,node:E(),objectOf:P,oneOf:A,oneOfType:H,shape:O,exact:ae};function C(v,R){return v===R?v!==0||1/v===1/R:v!==v&&R!==R}function g(v,R){this.message=v,this.data=R&&typeof R=="object"?R:{},this.stack=""}g.prototype=Error.prototype;function x(v){if(process.env.NODE_ENV!=="production")var R={},j=0;function F(ee,G,b,Z,z,K,I){if(Z=Z||p,K=K||b,I!==a){if(d){var L=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw L.name="Invariant Violation",L}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var me=Z+":"+b;!R[me]&&j<3&&(c("You are manually calling a React.PropTypes validation function for the `"+K+"` prop on `"+Z+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),R[me]=!0,j++)}}return G[b]==null?ee?G[b]===null?new g("The "+z+" `"+K+"` is marked as required "+("in `"+Z+"`, but its value is `null`.")):new g("The "+z+" `"+K+"` is marked as required in "+("`"+Z+"`, but its value is `undefined`.")):null:v(G,b,Z,z,K)}var V=F.bind(null,!1);return V.isRequired=F.bind(null,!0),V}function m(v){function R(j,F,V,ee,G,b){var Z=j[F],z=Q(Z);if(z!==v){var K=ce(Z);return new g("Invalid "+ee+" `"+G+"` of type "+("`"+K+"` supplied to `"+V+"`, expected ")+("`"+v+"`."),{expectedType:v})}return null}return x(R)}function N(){return x(r)}function f(v){function R(j,F,V,ee,G){if(typeof v!="function")return new g("Property `"+G+"` of component `"+V+"` has invalid PropType notation inside arrayOf.");var b=j[F];if(!Array.isArray(b)){var Z=Q(b);return new g("Invalid "+ee+" `"+G+"` of type "+("`"+Z+"` supplied to `"+V+"`, expected an array."))}for(var z=0;z<b.length;z++){var K=v(b,z,V,ee,G+"["+z+"]",a);if(K instanceof Error)return K}return null}return x(R)}function w(){function v(R,j,F,V,ee){var G=R[j];if(!s(G)){var b=Q(G);return new g("Invalid "+V+" `"+ee+"` of type "+("`"+b+"` supplied to `"+F+"`, expected a single ReactElement."))}return null}return x(v)}function M(){function v(R,j,F,V,ee){var G=R[j];if(!e.isValidElementType(G)){var b=Q(G);return new g("Invalid "+V+" `"+ee+"` of type "+("`"+b+"` supplied to `"+F+"`, expected a single ReactElement type."))}return null}return x(v)}function S(v){function R(j,F,V,ee,G){if(!(j[F]instanceof v)){var b=v.name||p,Z=W(j[F]);return new g("Invalid "+ee+" `"+G+"` of type "+("`"+Z+"` supplied to `"+V+"`, expected ")+("instance of `"+b+"`."))}return null}return x(R)}function A(v){if(!Array.isArray(v))return process.env.NODE_ENV!=="production"&&(arguments.length>1?c("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):c("Invalid argument supplied to oneOf, expected an array.")),r;function R(j,F,V,ee,G){for(var b=j[F],Z=0;Z<v.length;Z++)if(C(b,v[Z]))return null;var z=JSON.stringify(v,function(I,L){var me=ce(L);return me==="symbol"?String(L):L});return new g("Invalid "+ee+" `"+G+"` of value `"+String(b)+"` "+("supplied to `"+V+"`, expected one of "+z+"."))}return x(R)}function P(v){function R(j,F,V,ee,G){if(typeof v!="function")return new g("Property `"+G+"` of component `"+V+"` has invalid PropType notation inside objectOf.");var b=j[F],Z=Q(b);if(Z!=="object")return new g("Invalid "+ee+" `"+G+"` of type "+("`"+Z+"` supplied to `"+V+"`, expected an object."));for(var z in b)if(o(b,z)){var K=v(b,z,V,ee,G+"."+z,a);if(K instanceof Error)return K}return null}return x(R)}function H(v){if(!Array.isArray(v))return process.env.NODE_ENV!=="production"&&c("Invalid argument supplied to oneOfType, expected an instance of array."),r;for(var R=0;R<v.length;R++){var j=v[R];if(typeof j!="function")return c("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+oe(j)+" at index "+R+"."),r}function F(V,ee,G,b,Z){for(var z=[],K=0;K<v.length;K++){var I=v[K],L=I(V,ee,G,b,Z,a);if(L==null)return null;L.data&&o(L.data,"expectedType")&&z.push(L.data.expectedType)}var me=z.length>0?", expected one of type ["+z.join(", ")+"]":"";return new g("Invalid "+b+" `"+Z+"` supplied to "+("`"+G+"`"+me+"."))}return x(F)}function E(){function v(R,j,F,V,ee){return U(R[j])?null:new g("Invalid "+V+" `"+ee+"` supplied to "+("`"+F+"`, expected a ReactNode."))}return x(v)}function T(v,R,j,F,V){return new g((v||"React class")+": "+R+" type `"+j+"."+F+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+V+"`.")}function O(v){function R(j,F,V,ee,G){var b=j[F],Z=Q(b);if(Z!=="object")return new g("Invalid "+ee+" `"+G+"` of type `"+Z+"` "+("supplied to `"+V+"`, expected `object`."));for(var z in v){var K=v[z];if(typeof K!="function")return T(V,ee,G,z,ce(K));var I=K(b,z,V,ee,G+"."+z,a);if(I)return I}return null}return x(R)}function ae(v){function R(j,F,V,ee,G){var b=j[F],Z=Q(b);if(Z!=="object")return new g("Invalid "+ee+" `"+G+"` of type `"+Z+"` "+("supplied to `"+V+"`, expected `object`."));var z=t({},j[F],v);for(var K in z){var I=v[K];if(o(v,K)&&typeof I!="function")return T(V,ee,G,K,ce(I));if(!I)return new g("Invalid "+ee+" `"+G+"` key `"+K+"` supplied to `"+V+"`.\nBad object: "+JSON.stringify(j[F],null," ")+`
7854
+ Valid keys: `+JSON.stringify(Object.keys(v),null," "));var L=I(b,K,V,ee,G+"."+K,a);if(L)return L}return null}return x(R)}function U(v){switch(typeof v){case"number":case"string":case"undefined":return!0;case"boolean":return!v;case"object":if(Array.isArray(v))return v.every(U);if(v===null||s(v))return!0;var R=u(v);if(R){var j=R.call(v),F;if(R!==v.entries){for(;!(F=j.next()).done;)if(!U(F.value))return!1}else for(;!(F=j.next()).done;){var V=F.value;if(V&&!U(V[1]))return!1}}else return!1;return!0;default:return!1}}function te(v,R){return v==="symbol"?!0:R?R["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&R instanceof Symbol:!1}function Q(v){var R=typeof v;return Array.isArray(v)?"array":v instanceof RegExp?"object":te(R,v)?"symbol":R}function ce(v){if(typeof v>"u"||v===null)return""+v;var R=Q(v);if(R==="object"){if(v instanceof Date)return"date";if(v instanceof RegExp)return"regexp"}return R}function oe(v){var R=ce(v);switch(R){case"array":case"object":return"an "+R;case"boolean":case"date":case"regexp":return"a "+R;default:return R}}function W(v){return!v.constructor||!v.constructor.name?p:v.constructor.name}return y.checkPropTypes=i,y.resetWarningCache=i.resetWarningCache,y.PropTypes=y,y},zC}var OC,wb;function Tse(){if(wb)return OC;wb=1;var e=Zx();function t(){}function a(){}return a.resetWarningCache=t,OC=function(){function o(r,s,d,l,h,u){if(u!==e){var p=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw p.name="Invariant Violation",p}}o.isRequired=o;function i(){return o}var c={array:o,bigint:o,bool:o,func:o,number:o,object:o,string:o,symbol:o,any:o,arrayOf:i,element:o,elementType:o,instanceOf:i,node:o,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:a,resetWarningCache:t};return c.PropTypes=c,c},OC}var bb;function jse(){if(bb)return oo.exports;if(bb=1,process.env.NODE_ENV!=="production"){var e=SI(),t=!0;oo.exports=qse()(e.isElement,t)}else oo.exports=Tse()();return oo.exports}var Hse=jse();const pe=vv(Hse),Te=pe.oneOfType([pe.string,pe.number]),NI={all:pe.bool,grid:pe.bool,aural:pe.bool,braille:pe.bool,handheld:pe.bool,print:pe.bool,projection:pe.bool,screen:pe.bool,tty:pe.bool,tv:pe.bool,embossed:pe.bool},Vse={orientation:pe.oneOf(["portrait","landscape"]),scan:pe.oneOf(["progressive","interlace"]),aspectRatio:pe.string,deviceAspectRatio:pe.string,height:Te,deviceHeight:Te,width:Te,deviceWidth:Te,color:pe.bool,colorIndex:pe.bool,monochrome:pe.bool,resolution:Te,type:Object.keys(NI)},{type:f4e,...zse}=Vse,Ose={minAspectRatio:pe.string,maxAspectRatio:pe.string,minDeviceAspectRatio:pe.string,maxDeviceAspectRatio:pe.string,minHeight:Te,maxHeight:Te,minDeviceHeight:Te,maxDeviceHeight:Te,minWidth:Te,maxWidth:Te,minDeviceWidth:Te,maxDeviceWidth:Te,minColor:pe.number,maxColor:pe.number,minColorIndex:pe.number,maxColorIndex:pe.number,minMonochrome:pe.number,maxMonochrome:pe.number,minResolution:Te,maxResolution:Te,...zse},Dse={...NI,...Ose};var Fse={all:Dse};const Bse=e=>`not ${e}`,Use=(e,t)=>{const a=bI(e);return typeof t=="number"&&(t=`${t}px`),t===!0?a:t===!1?Bse(a):`(${a}: ${t})`},Zse=e=>e.join(" and "),Gse=e=>{const t=[];return Object.keys(Fse.all).forEach(a=>{const o=e[a];o!=null&&t.push(Use(a,o))}),Zse(t)},Wse=q.createContext(void 0),Xse=e=>e.query||Gse(e),Sb=e=>e?Object.keys(e).reduce((a,o)=>(a[bI(o)]=e[o],a),{}):void 0,AI=()=>{const e=q.useRef(!1);return q.useEffect(()=>{e.current=!0},[]),e.current},Kse=e=>{const t=q.useContext(Wse),a=()=>Sb(e)||Sb(t),[o,i]=q.useState(a);return q.useEffect(()=>{const c=a();Ase(o,c)||i(c)},[e,t]),o},Yse=e=>{const t=()=>Xse(e),[a,o]=q.useState(t);return q.useEffect(()=>{const i=t();a!==i&&o(i)},[e]),a},Qse=(e,t)=>{const a=()=>bse(e,t||{},!!t),[o,i]=q.useState(a),c=AI();return q.useEffect(()=>{if(c){const r=a();return i(r),()=>{r&&r.dispose()}}},[e,t]),o},Jse=e=>{const[t,a]=q.useState(e.matches);return q.useEffect(()=>{const o=i=>{a(i.matches)};return e.addListener(o),a(e.matches),()=>{e.removeListener(o)}},[e]),t},Gx=(e,t,a)=>{const o=Kse(t),i=Yse(e);if(!i)throw new Error("Invalid or missing MediaQuery!");const c=Qse(i,o),r=Jse(c);return AI(),q.useEffect(()=>{},[r]),q.useEffect(()=>()=>{c&&c.dispose()},[]),r},ede="input-module__fields___7s82h",tde="input-module__field___BmXtm",nde="input-module__dark___dEFyl",ade="input-module__outer___STcOB",ode="input-module__button___7gJw-",ide="input-module__click___6FEoM",cde="input-module__sm___jtNdd",rde="input-module__input___j8Xrc",sde="input-module__placeholder___Nc7hU",dde="input-module__icon___foesl",hde="input-module__text___DFtl6",lde="input-module__inner___Oy65q",ude="input-module__pulse___1I5VM",pde="input-module__helper___BfwFu",yde="input-module__loading___1cxGp",ne={fields:ede,field:tde,dark:nde,outer:ade,"has-hover":"input-module__has-hover___xQrnh","is-disabled":"input-module__is-disabled___JwbG4","is-error":"input-module__is-error___xIDnZ",button:ode,click:ide,sm:cde,"has-focus":"input-module__has-focus___q2d3M",input:rde,placeholder:sde,icon:dde,text:hde,"is-loading":"input-module__is-loading___4plIo",inner:lde,"icon-wrap":"input-module__icon-wrap___HEFm4","is-skeleton":"input-module__is-skeleton___xCVEU",pulse:ude,helper:pde,"no-placeholder":"input-module__no-placeholder___i5lJb",loading:yde,"loading-dark":"input-module__loading-dark___mfX-p"},PI=({label:e="",placeholder:t="",options:a,name:o,id:i,value:c,size:r="md",helper:s,className:d="",isDisabled:l=!1,isLoading:h=!1,isSkeleton:u=!1,isError:p=!1,hasHover:y=!0,hasFocus:C=!0,onChange:g})=>{const x=q.useRef(null);return _.jsxs("div",{className:Y(ne.field,ne["no-placeholder"]),children:[e&&_.jsx("label",{htmlFor:i||o,children:e}),_.jsxs("div",{className:Y(ne.outer,r&&ne[r],d,(l||h||u)&&ne["is-disabled"],h&&!u&&ne["is-loading"],u&&ne["is-skeleton"],p&&ne["is-error"],y&&ne["has-hover"],C&&ne["has-focus"]),children:[h&&!u&&_.jsx("div",{className:ne.loading}),_.jsx("div",{className:ne.inner,children:_.jsxs("select",{ref:x,id:i||o,name:o,value:c,onChange:g,className:ne.input,"aria-label":e?"":i||o,disabled:l||h||u,children:[t&&_.jsx("option",{value:"",children:t}),a==null?void 0:a.map(m=>_.jsx("option",{value:m.value,children:m.label},m.value))]})}),_.jsx("div",{className:ne["icon-wrap"],children:_.jsx(Qe,{name:"ChevronDown",size:"md",className:ne.icon})})]}),s&&_.jsx("div",{className:ne.helper,children:s})]})},kde=({totalPages:e=4,currentPage:t=1,setCurrentPage:a})=>{const o=Gx({maxWidth:743}),[i,c]=q.useState(!0),r=Array.from({length:e},(l,h)=>h+1);q.useEffect(()=>{c(o)},[o]);const s=()=>{t>1&&a(t-1)},d=()=>{t<e&&a(t+1)};return _.jsx(_.Fragment,{children:e<5&&!i?_.jsxs(kv,{justify:"center",children:[_.jsx(Ye,{leadingIcon:"ChevronLeft",size:"md",variant:"outline",onClick:s,isDisabled:t===1,"aria-label":"Previous page"}),r.map(l=>_.jsx(Ye,{label:String(l),size:"md",variant:l===t?"primary":"text",onClick:()=>a(l),isIcon:!0},l)),_.jsx(Ye,{leadingIcon:"ChevronRight",size:"md",variant:"outline",onClick:d,isDisabled:t===e,"aria-label":"Next page"})]}):_.jsxs(kv,{justify:"center",children:[_.jsx(Ye,{leadingIcon:"ChevronLeft",size:"md",variant:"outline",onClick:s,isDisabled:t===1,"aria-label":"Previous page"}),_.jsx(PI,{name:"pageSize",value:String(t),size:"sm",options:r.map(l=>({value:String(l),label:String(l)})),onChange:l=>a(Number(l.target.value))}),_.jsx(Ye,{leadingIcon:"ChevronRight",size:"md",variant:"outline",onClick:d,isDisabled:t===e,"aria-label":"Next page"})]})})},fde="navbar-module__nav___JE2PK",mde={nav:fde},Mde=({children:e,className:t})=>_.jsx("div",{className:Y(mde.nav,t),children:e}),_de=({field:e,form:t,helper:a,input:o,...i})=>{const c=t.errors[e.name],s=t.touched[e.name]&&typeof c=="string";if(!o)return _.jsx("div",{children:"Component not provided"});const d={...e,...i,helper:s?c:a,isError:!!s,...o.name==="Checkbox"&&{checked:e.value},...o.name==="Radio"&&{checked:e.value===i.value}};return _.jsx(o,{...d})},EI=({ref:e,type:t="text",label:a="",placeholder:o="",name:i,id:c,value:r,size:s="md",helper:d,className:l="",leadingIcon:h,leadingFunction:u,leadingText:p="",trailingIcon:y,trailingFunction:C,trailingText:g="",button:x,isDisabled:m=!1,isLoading:N=!1,isSkeleton:f=!1,isError:w=!1,hasHover:M=!0,hasFocus:S=!0,onChange:A,...P})=>{const H=q.useRef(null),[E,T]=q.useState(!1),O=W=>{typeof e=="function"?e(W):e&&typeof e=="object"&&(e.current=W),H.current=W},ae=()=>{e&&typeof e=="object"&&"current"in e&&e.current?e.current.focus():H.current&&H.current.focus()},U=()=>{A({target:{name:i,value:""}})},te=W=>{W.stopPropagation(),T(v=>!v)},Q=W=>{W.stopPropagation(),u==null||u()},ce=W=>{W.stopPropagation(),y==="X"&&U(),C==null||C()},oe=W=>{var v;W.stopPropagation(),(v=x==null?void 0:x.onClick)==null||v.call(x,W)};return _.jsxs("div",{className:Y(ne.field,!o&&ne["no-placeholder"],l),children:[a&&_.jsx("label",{htmlFor:c||i,children:a}),_.jsxs("div",{className:Y("outer",ne.outer,s&&ne[s],(m||N||f)&&ne["is-disabled"],N&&!f&&ne["is-loading"],f&&ne["is-skeleton"],w&&ne["is-error"],M&&ne["has-hover"],S&&ne["has-focus"]),onClick:ae,children:[N&&!f&&_.jsx("div",{className:ne.loading}),h&&_.jsx("div",{onClick:u&&Q,className:Y(ne["icon-wrap"],u&&ne.click),children:_.jsx(Qe,{name:h,size:"md",className:Y("icon",ne.icon)})}),p&&_.jsx("div",{className:ne.text,children:p}),_.jsxs("div",{className:Y("inner",ne.inner),children:[_.jsx("input",{ref:O,type:t==="password"&&E?"text":t,id:c||i,name:i,value:r,onChange:A,className:Y("input",ne.input),placeholder:" ",required:!0,"aria-label":a?"":o,disabled:m||N||f,...P}),_.jsx("span",{className:Y("placeholder",ne.placeholder),children:o})]}),g&&_.jsx("div",{className:ne.text,children:g}),t==="password"&&_.jsx("div",{onClick:te,className:Y(ne["icon-wrap"],ne.click),children:_.jsx(Qe,{name:E?"Eye":"EyeOff",size:"md",className:Y("icon",ne.icon)})}),y&&!(y==="X"&&(!r||m))&&_.jsx("div",{onClick:ce,className:Y(ne["icon-wrap"],C||y==="X"?ne.click:""),children:_.jsx(Qe,{name:y,size:"md",className:Y("icon",ne.icon)})}),x&&_.jsx(Ye,{...x,size:"sm",variant:x.variant||"primary",className:ne.button,isDisabled:m||N||f,onClick:oe})]}),d&&_.jsx("div",{className:ne.helper,children:d})]})},gde="input-otp-module__group___z-CPs",vde="input-otp-module__list___fFJZo",Cde="input-otp-module__item___BJ00s",xde="input-otp-module__active___Om7c5",Lde="input-otp-module__input___ZVrBh",wde="input-otp-module__loading___pNOWC",ze={group:gde,"is-disabled":"input-otp-module__is-disabled___VHFpl","is-error":"input-otp-module__is-error___F1Owx",list:vde,item:Cde,"is-loading":"input-otp-module__is-loading___rN1sA","is-skeleton":"input-otp-module__is-skeleton___166Zd",active:xde,input:Lde,loading:wde},bde=({name:e,id:t,value:a,isDisabled:o=!1,isLoading:i=!1,isSkeleton:c=!1,isError:r=!1,onChange:s})=>{const d=q.useRef(null),[l,h]=q.useState(!1),u=g=>{const m=g.target.value.replace(/\D/g,"");m.length<=6?s(m):s(a.slice(0,5)+m.slice(-1))},p=g=>{["e","E","+","-"].includes(g.key)&&g.preventDefault()},y=()=>{var g;(g=d.current)==null||g.focus()},C=a.length<6?a.length:5;return _.jsxs("div",{className:Y(ze.group,(o||i||c)&&ze["is-disabled"],i&&!c&&ze["is-loading"],c&&ze["is-skeleton"],r&&ze["is-error"]),children:[i&&!c&&_.jsx("div",{className:ze.loading}),_.jsx("div",{className:ze.list,children:[0,1,2].map(g=>_.jsx("div",{className:Y(ze.item,{[ze.active]:l&&g===C}),onClick:y,children:a[g]||""},g))}),_.jsx("div",{className:ze.list,children:[3,4,5].map(g=>_.jsx("div",{className:Y(ze.item,{[ze.active]:l&&g===C}),onClick:y,children:a[g]||""},g))}),_.jsx("div",{className:ze.input,children:_.jsx(EI,{ref:d,type:"number",id:t||e,name:e,value:a,isDisabled:o,isLoading:i,isSkeleton:c,isError:r,autoComplete:"off",onChange:u,onKeyDown:p,onFocus:()=>h(!0),onBlur:()=>h(!1)})})]})},Sde=({children:e,name:t,id:a,value:o,checked:i,helper:c,className:r="",label:s,isDisabled:d=!1,isSkeleton:l=!1,isError:h=!1,hasHover:u=!0,hasFocus:p=!0,onChange:y})=>_.jsxs("div",{className:xe.field,children:[_.jsxs("div",{className:Y(xe.radio,(d||l)&&xe["is-disabled"],l&&xe["is-skeleton"],h&&xe["is-error"],u&&xe["has-hover"],p&&xe["has-focus"]),children:[_.jsx("input",{type:"radio",id:a||t,name:t,value:String(o),onChange:y,className:Y(xe.input,r),checked:i,"aria-label":t,disabled:d||l}),_.jsx("label",{htmlFor:a||t,children:e||s&&_.jsx("div",{className:xe.title,children:_.jsx("div",{className:xe.label,children:s})})})]}),c&&_.jsx("div",{className:xe.helper,children:c})]}),Ide=({label:e="",placeholder:t="",name:a,id:o,value:i,size:c="md",helper:r,className:s="",isDisabled:d=!1,isLoading:l=!1,isSkeleton:h=!1,isError:u=!1,hasHover:p=!0,hasFocus:y=!0,onChange:C})=>{const g=q.useRef(null),x=()=>{var m;return(m=g.current)==null?void 0:m.focus()};return _.jsxs("div",{className:Y(ne.field,!t&&ne["no-placeholder"]),children:[e&&_.jsx("label",{htmlFor:o||a,children:e}),_.jsxs("div",{className:Y(ne.outer,c&&ne[c],s,(d||l||h)&&ne["is-disabled"],l&&!h&&ne["is-loading"],h&&ne["is-skeleton"],u&&ne["is-error"],p&&ne["has-hover"],y&&ne["has-focus"]),onClick:x,children:[l&&!h&&_.jsx("div",{className:ne.loading}),_.jsxs("div",{className:Y(ne.inner),children:[_.jsx("textarea",{ref:g,id:o||a,name:a,value:i,onChange:C,className:ne.input,placeholder:" ",required:!0,"aria-label":e?"":t,disabled:d||l||h}),_.jsx("span",{className:ne.placeholder,children:t})]})]}),r&&_.jsx("div",{className:ne.helper,children:r})]})},Nde="accordion-module__item___XYh5I",Ade="accordion-module__title___-r7mZ",Pde="accordion-module__content___xIV0C",Ma={item:Nde,title:Ade,content:Pde},Ede=[{title:"Title 1",content:_.jsxs(_.Fragment,{children:[_.jsx("p",{children:"Content 1"}),_.jsx("p",{children:"Content 1"})]})},{title:"Title 2",content:_.jsx("p",{children:"Content 1"})},{title:"Title 3",content:_.jsx("p",{children:"Content 1"})}],Rde=()=>{const[e,t]=q.useState([0]),a=o=>{t(i=>i.includes(o)?i.filter(c=>c!==o):[...i,o])};return _.jsx("div",{className:Ma.container,children:Ede.map((o,i)=>_.jsxs("div",{className:Ma.item,children:[_.jsxs("div",{className:Ma.title,onClick:()=>a(i),children:[o.title,_.jsx(Qe,{name:e.includes(i)?"ChevronDown":"ChevronUp",size:"md",className:e.includes(i)?Ma.iconOpen:""})]}),e.includes(i)&&_.jsx("div",{className:Ma.content,children:o.content})]},i))})},$de="alert-module__alert___Ogxa-",qde="alert-module__dark___OWc6S",Tde="alert-module__error___p7z3r",jde="alert-module__warning___YBY3h",Hde="alert-module__info___XMxO-",Vde="alert-module__success___qfwG7",zde="alert-module__left___PSTHk",Ode="alert-module__right___Rj6Kx",Dde="alert-module__button___4ztzS",Fde="alert-module__pulse___poyBO",Bde="alert-module__loading___Sa1Ks",co={alert:$de,default:"alert-module__default___HvJlv",dark:qde,error:Tde,warning:jde,info:Hde,success:Vde,left:zde,right:Ode,button:Dde,pulse:Fde,loading:Bde,"loading-dark":"alert-module__loading-dark___107ra"},Ude=({type:e="default",title:t,icon:a,button:o})=>_.jsxs("div",{className:Y(co.alert,co[e]),children:[_.jsxs("div",{className:co.left,children:[a,t]}),_.jsx("div",{className:co.right,children:o})]}),Zde="modal-module__backdrop___DCpKI",Gde="modal-module__fullscreen___sfLoP",Wde="modal-module__main___0Sjqx",Xde="modal-module__max___9QSAL",Kde="modal-module__sheet___8-CTw",Yde="modal-module__drag___mZz3W",Qde="modal-module__scroll___OnShd",Jde="modal-module__header___t3TrT",e4e="modal-module__top___62uvi",t4e="modal-module__title___oMB-c",n4e="modal-module__subtext___IHfeN",a4e="modal-module__left___dCx5f",o4e="modal-module__anchor___UCD-N",i4e="modal-module__right___rvlxY",c4e="modal-module__footer___tqppg",r4e="modal-module__full___WPa3O",s4e="modal-module__text___qx9vw",d4e="modal-module__content___k129O",le={backdrop:Zde,fullscreen:Gde,"backdrop--close-button":"modal-module__backdrop--close-button___SWtbL","bottom-sheet":"modal-module__bottom-sheet___oPiUM",main:Wde,max:Xde,sheet:Kde,drag:Yde,scroll:Qde,header:Jde,top:e4e,title:t4e,subtext:n4e,left:a4e,anchor:o4e,right:i4e,footer:c4e,full:r4e,text:s4e,content:d4e},Ib=e=>{var t;return q.isValidElement(e)&&((t=e.props)==null?void 0:t.variant)==="anchor"},Nb=({title:e="",subtext:t="",leading:a,trailing:o,sheet:i=!1})=>{const c=Gx({maxWidth:743}),r=Ib(a),s=Ib(o);return _.jsxs("div",{className:Y(le.header,i&&!c&&le.sheet),children:[a&&_.jsx("div",{className:Y(le.left,r&&le.anchor),children:a}),_.jsxs("div",{className:le.top,children:[_.jsx("div",{className:Y(le.title,!t&&le.large),children:e}),t&&_.jsx("div",{className:le.subtext,children:t})]}),o&&_.jsx("div",{className:Y(le.right,s&&le.anchor),children:o})]})},Ab=e=>{var t;return q.isValidElement(e)&&((t=e.props)==null?void 0:t.variant)==="anchor"},Pb=({title:e="",subtext:t="",leading:a,trailing:o,fullWidth:i=!1})=>{const c=Ab(a),r=Ab(o);return _.jsxs("div",{className:Y(le.footer,i&&le.full),children:[(e||t||a)&&_.jsx("div",{className:Y(le.left,c&&!e&&!t&&le.anchor),children:e||t?_.jsxs("div",{className:le.text,children:[e&&_.jsx("div",{className:le.title,children:e}),t&&_.jsx("div",{className:le.subtext,children:t})]}):_.jsx(_.Fragment,{children:a})}),o&&_.jsx("div",{className:Y(le.right,r&&le.anchor),children:o})]})},h4e=({children:e,modal:t,headerProps:a,footerProps:o,maxWidth:i,sheet:c=!1,fullscreen:r=!1,mobileMaxHeight:s=!1,mobileDraggable:d=!1,backdropClose:l=!0,bottomSheet:h=!1})=>{const u=q.useRef(null),p=Zre(),y=Gx({maxWidth:743}),[C,g]=q.useState(!0);q.useEffect(()=>{g(y)},[y]);const x=(f,w)=>{w.offset.y>150&&t.hide()},m=()=>{const f={opacity:0};return c&&!y?{...f,translateX:"calc(100% + 0.5rem)",opacity:1}:f},N=()=>{const f={opacity:1};return c&&!y?{...f,translateX:0,opacity:1}:f};return _.jsx(cie,{onExitComplete:()=>t.remove(),children:t.visible&&_.jsxs(ga.div,{className:Y(le.backdrop,h&&le["bottom-sheet"],r&&le.fullscreen,s&&y&&le.max,c&&!y&&le.sheet),children:[_.jsx(ga.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.6},onClick:()=>l&&t.hide(),className:le["backdrop--close-button"]}),C&&d&&h?_.jsx(ga.div,{ref:u,className:Y(le.main,r&&le.fullscreen),style:i?{maxWidth:i}:void 0,drag:"y",dragConstraints:{top:0,bottom:0},dragElastic:{top:0,bottom:.5},dragListener:!1,dragControls:p,onDragEnd:x,initial:{y:"100%"},animate:{y:0},exit:{y:"100%"},transition:{duration:.4,ease:"easeInOut"},children:_.jsxs("div",{className:le.drag,onPointerDown:f=>p.start(f),style:{touchAction:"none"},children:[a&&_.jsx(Nb,{...a}),_.jsx("div",{className:le.scroll,children:_.jsx("div",{className:le.content,children:e})}),o&&_.jsx(Pb,{...o})]})}):_.jsxs(ga.div,{className:Y(le.main,r&&le.fullscreen),style:i?{maxWidth:i}:void 0,onDragEnd:x,initial:m(),animate:N(),exit:m(),transition:{duration:.4,ease:"easeInOut"},children:[a&&_.jsx(Nb,{...a}),_.jsx("div",{className:le.scroll,children:_.jsx("div",{className:le.content,children:e})}),o&&_.jsx(Pb,{...o})]})]})})},l4e="rating-module__list___2OcZ8",u4e="rating-module__item___jHSa3",p4e="rating-module__active___-yGYw",ro={list:l4e,item:u4e,active:p4e};function y4e({rating:e,className:t}){const a=Math.max(0,Math.min(e,5));return _.jsx("div",{className:Y(ro.container,t),children:_.jsx("div",{className:ro.list,children:Array.from({length:5},(o,i)=>{const c=5-i;return _.jsx("div",{className:Y(ro.item,a===c&&ro.active)},c)})})})}exports.Accordion=Rde;exports.Alert=Ude;exports.Banner=jne;exports.Button=Ye;exports.Card=Kae;exports.Checkbox=LI;exports.Footer=toe;exports.FormikInput=_de;exports.Header=Cse;exports.Icon=Qe;exports.Input=EI;exports.InputOtp=bde;exports.Logo=wI;exports.Modal=h4e;exports.Navbar=Mde;exports.Pagination=kde;exports.Projects=Jne;exports.Radio=Sde;exports.Rating=y4e;exports.Section=cae;exports.Select=PI;exports.Social=hx;exports.Stack=Sae;exports.Textarea=Ide;exports.Timeline=Bae;