From c38874c16a513bffb441cc451603c57ed2ed2971 Mon Sep 17 00:00:00 2001 From: sekwah41 Date: Fri, 30 Aug 2024 17:17:09 +0000 Subject: [PATCH] deploy: 2230eab5b01223f6949b0062820c8ed3519a93ec --- 404.html | 2 +- 404/index.html | 2 +- _gatsby/slices/_gatsby-scripts-1.html | 2 +- ...69edc0ac247a604650a5.js => commons-770989b10db241bbefaa.js | 4 ++-- ...247a604650a5.js.map => commons-770989b10db241bbefaa.js.map | 2 +- index.html | 4 ++-- page-data/app-data.json | 2 +- webpack-runtime-39e916558b3ca333418b.js | 2 ++ ...3087.js.map => webpack-runtime-39e916558b3ca333418b.js.map | 2 +- webpack-runtime-bf481bff75833dc93087.js | 2 -- webpack.stats.json | 2 +- 11 files changed, 13 insertions(+), 13 deletions(-) rename commons-69edc0ac247a604650a5.js => commons-770989b10db241bbefaa.js (99%) rename commons-69edc0ac247a604650a5.js.map => commons-770989b10db241bbefaa.js.map (99%) create mode 100644 webpack-runtime-39e916558b3ca333418b.js rename webpack-runtime-bf481bff75833dc93087.js.map => webpack-runtime-39e916558b3ca333418b.js.map (99%) delete mode 100644 webpack-runtime-bf481bff75833dc93087.js diff --git a/404.html b/404.html index 39b3dacc..6955593c 100644 --- a/404.html +++ b/404.html @@ -137,4 +137,4 @@ > window.___chunkMapping="{\"app\":[\"/app-1e51ebd9a06075e7388b.js\"],\"component---src-pages-404-tsx\":[\"/component---src-pages-404-tsx-288cacbf07f00d7f5c50.js\"],\"component---src-pages-index-tsx\":[\"/component---src-pages-index-tsx-a24886539739ff4a1db4.js\"]}"; - \ No newline at end of file + \ No newline at end of file diff --git a/404/index.html b/404/index.html index 0152a4f3..7203a276 100644 --- a/404/index.html +++ b/404/index.html @@ -137,4 +137,4 @@ > window.___chunkMapping="{\"app\":[\"/app-1e51ebd9a06075e7388b.js\"],\"component---src-pages-404-tsx\":[\"/component---src-pages-404-tsx-288cacbf07f00d7f5c50.js\"],\"component---src-pages-index-tsx\":[\"/component---src-pages-index-tsx-a24886539739ff4a1db4.js\"]}"; - \ No newline at end of file + \ No newline at end of file diff --git a/_gatsby/slices/_gatsby-scripts-1.html b/_gatsby/slices/_gatsby-scripts-1.html index ec119198..96aaa741 100644 --- a/_gatsby/slices/_gatsby-scripts-1.html +++ b/_gatsby/slices/_gatsby-scripts-1.html @@ -4,4 +4,4 @@ > window.___chunkMapping="{\"app\":[\"/app-1e51ebd9a06075e7388b.js\"],\"component---src-pages-404-tsx\":[\"/component---src-pages-404-tsx-288cacbf07f00d7f5c50.js\"],\"component---src-pages-index-tsx\":[\"/component---src-pages-index-tsx-a24886539739ff4a1db4.js\"]}"; - \ No newline at end of file + \ No newline at end of file diff --git a/commons-69edc0ac247a604650a5.js b/commons-770989b10db241bbefaa.js similarity index 99% rename from commons-69edc0ac247a604650a5.js rename to commons-770989b10db241bbefaa.js index f4fd1693..715b4358 100644 --- a/commons-69edc0ac247a604650a5.js +++ b/commons-770989b10db241bbefaa.js @@ -1,2 +1,2 @@ -(self.webpackChunk_pomatez_website=self.webpackChunk_pomatez_website||[]).push([[351],{5119:function(t,e,n){"use strict";n.d(e,{h4:function(){return X},yG:function(){return a},Xg:function(){return _},Wj:function(){return R}});var r=n(7294),i=n(1883),o=n(1298);function a(){const{site:t,allMarkdownRemark:e}=(0,i.useStaticQuery)("2511079251"),n=t.siteMetadata.title,a=t.siteMetadata.description,s=t.siteMetadata.siteUrl+o.F3,l=e.edges[0].node.frontmatter.image.childImageSharp.original;return r.createElement(r.Fragment,null,r.createElement("title",null,n),r.createElement("meta",{name:"description",content:a}),r.createElement("meta",{name:"google-site-verification",content:t.siteMetadata.googleVerification}),r.createElement("meta",{property:"og:type",content:"website"}),r.createElement("meta",{property:"og:description",content:a}),r.createElement("meta",{property:"og:url",content:s}),r.createElement("meta",{property:"og:title",content:n}),r.createElement("meta",{property:"og:image",content:s+l.src}),r.createElement("meta",{property:"og:image:width",content:""+l.width}),r.createElement("meta",{property:"og:image:height",content:""+l.height}),r.createElement("meta",{name:"twitter:card",content:"summary_large_image"}),r.createElement("meta",{name:"twitter:creator",content:t.siteMetadata.twitterUsername}),r.createElement("meta",{name:"twitter:title",content:n}),r.createElement("meta",{name:"twitter:description",content:a}),r.createElement("link",{rel:"preconnect",href:"https://fonts.googleapis.com"}),r.createElement("link",{rel:"preconnect",href:"https://fonts.gstatic.com",crossOrigin:""}),r.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;700&display=swap",rel:"stylesheet"}))}var s=n(9168),l=n(9513);const c=()=>{const{isDarkMode:t,themeToggler:e}=(0,r.useContext)(s.Ni),{isMenuOpen:n,toggleMenu:i,closeMenu:o}=(0,r.useContext)(s.Ly),{width:a}=(0,r.useContext)(s.Rj);return{isDarkMode:t,themeToggler:e,isOnMobile:a<=1024,isMenuOpen:n,toggleMenu:i,closeMenu:o}},u=()=>{const{0:t,1:e}=(0,r.useState)(!1);return(0,r.useEffect)((()=>(e(!0),()=>e(!1))),[]),t};function d(){const{closeMenu:t}=c();return r.createElement(r.Fragment,null,o.qy.map(((e,n)=>e.offset?r.createElement(l.CF,{key:n},r.createElement(l.Mc,{href:"/",onClick:t,to:e.link,offset:e.offset,duration:420,smooth:!0},e.label)):r.createElement(l.CF,{key:n},r.createElement("a",{href:e.link,target:"_blank",rel:"noopener noreferrer"},e.label)))))}var h=n(6261),m=n(9622),p=n.n(m),f=n(7593),g=n.n(f),v=n(9418),y=n.n(v),b=n(411),x=n.n(b),w=n(2713),E=n.n(w),k=n(9315),C=n.n(k),P=n(131),S=n.n(P),M=n(6902),T=n.n(M),A=n(9496),V=n.n(A),j=n(6792),O=n.n(j),D=n(5523),L=n.n(D);function R(t){let{name:e}=t;if(u())switch(e){case"pomatez":default:return r.createElement(p(),null);case"download":return r.createElement(g(),null);case"sunny":return r.createElement(y(),null);case"moon":return r.createElement(x(),null);case"github":return r.createElement(E(),null);case"windows":return r.createElement(C(),null);case"apple":return r.createElement(S(),null);case"linux":return r.createElement(T(),null);case"snap-store":return r.createElement(V(),null);case"tux":return r.createElement(O(),null);case"arrow-back":return r.createElement(L(),null)}return null}function I(){return r.createElement(l.Wz,null,r.createElement(h.rU,{href:"/",to:"hero",offset:-64,duration:420,smooth:!0},r.createElement(R,{name:"pomatez"}),r.createElement("p",null,o.iC)))}function B(){const{isDarkMode:t,themeToggler:e,isMenuOpen:n,toggleMenu:i}=c();return r.createElement(l.Y6,{isMenuOpen:n},r.createElement(l.FG,null,r.createElement(I,null),r.createElement(l.Bk,null,r.createElement(l.K9,null,r.createElement(d,null)),r.createElement(l.Zt,null,r.createElement(l.Pu,{onClick:e},"Mode",r.createElement(R,{name:t?"moon":"sunny"})),r.createElement(l.uM,null,r.createElement(h.rU,{href:"/",to:"installers",offset:-24,duration:420,smooth:!0},r.createElement(R,{name:"download"}),"See Installers")))),r.createElement(l.sK,{isMenuOpen:n,onClick:i},r.createElement("span",null," "),r.createElement("span",null," "),r.createElement("span",null," "))))}function z(){const{isOnMobile:t,isDarkMode:e,themeToggler:n,isMenuOpen:i,toggleMenu:o}=c();return(0,r.useEffect)((()=>{document.body.style.overflow=i?"hidden":"unset"}),[i]),t&&i?r.createElement(l.mw,null,r.createElement(l.Zt,null,r.createElement(l.Pu,{onClick:n},"Mode",e?r.createElement(R,{name:"moon"}):r.createElement(R,{name:"sunny"}))),r.createElement(l.Mu,null,r.createElement(d,null),r.createElement(l.uM,null,r.createElement(h.rU,{href:"/",onClick:o,to:"installers",offset:-24,duration:420,smooth:!0},r.createElement(R,{name:"download"}),"See Installers")))):null}function F(){return r.createElement(l.tc,null,r.createElement(l.x7,null,r.createElement("a",{href:o.o9,rel:"noopener noreferrer",target:"_blank"},r.createElement(R,{name:"github"}),r.createElement(l.WL,null,o.iC," © ",(new Date).getFullYear())),r.createElement(l.rG,null,"Developed and Maintained by ",r.createElement("br",null),r.createElement("a",{href:o.m5,rel:"noopener noreferrer",target:"_blank"},"Roldan Montilla Jr"))))}function _(t){let{children:e}=t;return r.createElement(s.f6,null,r.createElement(s.jm,null,r.createElement(s.N7,null,r.createElement(l.Rh,null,r.createElement(B,null),r.createElement(z,null),r.createElement("main",null,e),r.createElement(F,null)))))}var W=n(2708),H=n(3793);const X=t=>{let{node:e}=t;const[n,i]=(0,W.YD)({triggerOnce:!0}),o=(0,H._)();(0,r.useEffect)((()=>{i&&o.start("animate")}),[o,i]);const{title:a,subTitle:s}=e.frontmatter;return r.createElement(l.eb,{ref:n,animate:o},r.createElement(l.wh,{"data-after":a},r.createElement("span",null,a)),r.createElement(l.Lz,null,s),r.createElement(l.MJ,{dangerouslySetInnerHTML:{__html:e.html}}))}},1298:function(t,e,n){"use strict";n.d(e,{ZR:function(){return p},iC:function(){return i},m5:function(){return s},fq:function(){return m},cK:function(){return v},F2:function(){return g},qy:function(){return y},o9:function(){return l},LD:function(){return f},F3:function(){return a},$3:function(){return h}});var r="1.7.0";const i="Pomatez",o="v"+r,a="/pomatez",s="https://github.com/roldanjr",l=s+"/pomatez",c=l+"/releases",u=c+"/download/"+o,d=u+"/Pomatez-"+o,h=d+"-win-x64-setup.exe",m=d+"-linux-amd64.deb",p=d+"-linux-x86_64.AppImage",f=d+"-linux-x86_64.rpm",g=d+"-mac-x64.dmg",v={ELECTRON:{WINDOWS:{x64:h,arm:d+"-win-arm64-setup.exe"},LINUX:{deb:m,appImage:{x64:p,arm:d+"-linux-arm64.AppImage"},rpm:f},MAC:{x64:g,arm:d+"-mac-arm64.dmg"}},TAURI:{WINDOWS:{x64:u+"/Pomatez_"+r+"_x64_en-US-win-tauri-beta.msi",arm:u+"/Pomatez_"+r+"_arm64-setup-win-tauri-beta.exe"},LINUX:{deb:u+"/pomatez_"+r+"_amd64-linux-tauri-beta.deb",appImage:{x64:u+"/pomatez_"+r+"_amd64-linux-tauri-beta.AppImage"}},MAC:{universal:u+"/Pomatez_"+r+"_universal-mac-tauri-beta.dmg"}}},y=[{label:"Features",link:"features",offset:-24},{label:"Roadmap",link:"roadmap",offset:-24},{label:"Release notes",link:c+"/latest"},{label:"Discord",link:"https://discord.gg/ZqPqN3hwcB"}]},9168:function(t,e,n){"use strict";n.d(e,{Ly:function(){return i},N7:function(){return o},Ni:function(){return l},f6:function(){return c},Rj:function(){return u},jm:function(){return d}});var r=n(7294);const i=(0,r.createContext)({isMenuOpen:!1}),o=t=>{let{children:e}=t;const{0:n,1:o}=(0,r.useState)(!1);return r.createElement(i.Provider,{value:{isMenuOpen:n,toggleMenu:()=>o((t=>!t)),closeMenu:()=>o(!1)}},e)};var a=n(910),s=n(9513);const l=r.createContext({}),c=t=>{let{children:e}=t;const n=!a.yF&&(0,a.L2)("isDarkMode")&&(0,a.U5)(),{0:i,1:o}=(0,r.useState)(n);(0,r.useLayoutEffect)((()=>{null===i&&o((0,a.U5)()),(0,a.RY)("isDarkMode",i)}),[i]);return r.createElement(l.Provider,{value:{isDarkMode:i,themeToggler:()=>{o((t=>!t))}}},r.createElement(s.ZL,{isDarkMode:i}),e)},u=(0,r.createContext)({width:0,height:0}),d=t=>{let{children:e}=t;const{0:n,1:i}=(0,r.useState)(a.yF?0:window.innerWidth),{0:o,1:s}=(0,r.useState)(a.yF?0:window.innerHeight);return(0,r.useEffect)((()=>{const t=()=>{i(window.innerWidth),s(window.innerHeight)};return window.addEventListener("resize",t),()=>window.removeEventListener("resize",t)}),[n]),r.createElement(u.Provider,{value:{width:n,height:o}},e)}},9513:function(t,e,n){"use strict";n.d(e,{ZL:function(){return l},GQ:function(){return yo},kV:function(){return go},j5:function(){return vo},ul:function(){return bo},C8:function(){return Jr},WL:function(){return yi},MJ:function(){return vi},Rk:function(){return io},bZ:function(){return Qr},f_:function(){return so},cE:function(){return oo},MB:function(){return ho},xl:function(){return mo},Ey:function(){return lo},qZ:function(){return ao},RQ:function(){return Ui},H5:function(){return Xi},WI:function(){return qi},tm:function(){return Yi},BG:function(){return Zi},yR:function(){return $i},aO:function(){return Hi},tc:function(){return wi},x7:function(){return xi},rG:function(){return bi},ag:function(){return ti},eb:function(){return pi},wh:function(){return fi},tF:function(){return Ti},fw:function(){return Li},Ly:function(){return Fi},jI:function(){return zi},sj:function(){return Ai},XE:function(){return Bi},A9:function(){return Ri},Uh:function(){return Ii},Rh:function(){return c},uZ:function(){return uo},Qc:function(){return co},Y6:function(){return ri},Zt:function(){return ui},Bk:function(){return ai},FG:function(){return ii},Mc:function(){return ci},CF:function(){return li},K9:function(){return si},Wz:function(){return oi},sK:function(){return mi},Pu:function(){return di},QG:function(){return fo},dL:function(){return Wi},cu:function(){return _i},$O:function(){return Ki},Vm:function(){return eo},ce:function(){return Qi},d2:function(){return to},pr:function(){return Ji},OZ:function(){return ro},sc:function(){return no},uM:function(){return hi},mw:function(){return Ei},Mu:function(){return ki},_V:function(){return Ni},Lz:function(){return gi},ut:function(){return Oi},lb:function(){return Di},tu:function(){return Vi}});var r=n(540);const i=(0,r.css)(["--cl-primary:#007bc7;--cl-primary-variant:#035aa5;--cl-display-text:#111111;--cl-heading-text:#212121;--cl-body-text:#666666;--cl-disabled-text:#999999;--bg-primary:#fff;--bg-primary-rgb:255,255,255;--bg-secondary:#fafafa;--bg-tertiary:#f2f2f2;--bg-card:var(--bg-primary);--cl-link:var(--cl-primary-variant);--cl-link-hover:var(--cl-primary);--bg-btn-primary:linear-gradient( to bottom,var(--cl-primary),var(--cl-primary-variant) );--bg-btn-primary-hover:linear-gradient( to bottom,var(--cl-primary),var(--cl-primary) );--cl-github-btn:rgba(255,255,255,0.9);--bg-github-btn:linear-gradient( to bottom,var(--cl-heading-text),var(--cl-display-text) );--bg-github-btn-hover:linear-gradient( to bottom,var(--cl-heading-text),var(--cl-heading-text) );--border-primary:#e6e6e6;--border-secondary:#f4f4f4;--border-tertiary:#f2f2f2;--cl-shadow-primary:rgba(0,0,0,0.12);--cl-shadow-secondary:rgba(0,0,0,0.16);--cl-shadow-tertiary:rgba(0,0,0,0.24);--logo-opacity:1;"]),o=(0,r.css)(["--cl-primary:#007bc7;--cl-primary-variant:#0098f7;--cl-display-text:rgba(255,255,255,0.9);--cl-heading-text:rgba(255,255,255,0.8);--cl-body-text:rgba(255,255,255,0.6);--cl-disabled-text:rgba(255,255,255,0.4);--bg-primary:#111d25;--bg-primary-rgb:17,29,37;--bg-secondary:#1c2830;--bg-tertiary:#202c34;--bg-card:var(--bg-secondary);--cl-link:var(--cl-primary);--cl-link-hover:var(--cl-primary-variant);--bg-btn-primary:linear-gradient( to bottom,var(--cl-primary-variant),var(--cl-primary) );--bg-btn-primary-hover:linear-gradient( to bottom,var(--cl-primary-variant),var(--cl-primary-variant) );--cl-github-btn:var(--cl-heading-text);--bg-github-btn:linear-gradient( to bottom,var(--bg-tertiary),var(--bg-secondary) );--bg-github-btn-hover:linear-gradient( to bottom,var(--bg-tertiary),var(--bg-tertiary) );--border-primary:rgba(255,255,255,0.12);--border-secondary:rgba(255,255,255,0.1);--border-tertiary:rgba(255,255,255,0.04);--cl-shadow-primary:rgba(0,0,0,0.24);--cl-shadow-secondary:rgba(0,0,0,0.32);--cl-shadow-tertiary:rgba(0,0,0,0.4);--logo-opacity:0.64;"]),a={laptopXl:1920,laptopLg:1600,laptopMd:1440,laptopNm:1360,laptopSm:1280,laptopXs:1024,tabletXl:900,tabletLg:768,tabletMd:600,tabletSm:480,mobileXl:460,mobileLg:425,mobileMd:375,mobileSm:360,mobileXs:320};Object.keys(a).forEach((t=>{const e=a[t]/16;a[t]="@media screen and\n (max-width: "+e+"em)"}));var s=a;const l=(0,r.createGlobalStyle)([":root{","}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit;font-size:inherit;color:currentColor;}html{font-size:62.5%;font-family:'Noto Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Open Sans','Helvetica Neue',sans-serif;font-weight:normal;","{font-size:56.25%;}}body{font-size:1.6rem;font-weight:normal;color:var(--cl-body-text);background:var(--bg-primary);counter-reset:header;overflow-x:hidden;}a{text-decoration:none;}p{line-height:1.6;}"],(t=>t.isDarkMode?o:i),s.laptopSm),c=r.default.div.withConfig({componentId:"sc-1djgdtu-0"})(["width:100%;height:100%;min-height:100vh;& > main{border-bottom:1px solid var(--border-secondary);}"]);var u=n(6261),d=n(7294);const h=(0,d.createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"}),m=(0,d.createContext)({}),p=(0,d.createContext)(null);var f=n(8868);const g=(0,d.createContext)({strict:!1});function v(t){return"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}function y(t){return"string"==typeof t||Array.isArray(t)}function b(t){return"object"==typeof t&&"function"==typeof t.start}const x=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],w=["initial",...x];function E(t){return b(t.animate)||w.some((e=>y(t[e])))}function k(t){return Boolean(E(t)||t.variants)}function C(t){const{initial:e,animate:n}=function(t,e){if(E(t)){const{initial:e,animate:n}=t;return{initial:!1===e||y(e)?e:void 0,animate:y(n)?n:void 0}}return!1!==t.inherit?e:{}}(t,(0,d.useContext)(m));return(0,d.useMemo)((()=>({initial:e,animate:n})),[P(e),P(n)])}function P(t){return Array.isArray(t)?t.join(" "):t}const S={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"]},M={};for(const wo in S)M[wo]={isEnabled:t=>S[wo].some((e=>!!t[e]))};var T=n(1741);const A=(0,d.createContext)({}),V=(0,d.createContext)({}),j=Symbol.for("motionComponentSymbol");function O({preloadedFeatures:t,createVisualElement:e,useRender:n,useVisualState:r,Component:i}){t&&function(t){for(const e in t)M[e]={...M[e],...t[e]}}(t);const o=(0,d.forwardRef)((function(o,a){let s;const l={...(0,d.useContext)(h),...o,layoutId:D(o)},{isStatic:c}=l,u=C(o),y=r(o,c);if(!c&&T.j){u.visualElement=function(t,e,n,r){const{visualElement:i}=(0,d.useContext)(m),o=(0,d.useContext)(g),a=(0,d.useContext)(p),s=(0,d.useContext)(h).reducedMotion,l=(0,d.useRef)();r=r||o.renderer,!l.current&&r&&(l.current=r(t,{visualState:e,parent:i,props:n,presenceContext:a,blockInitialAnimation:!!a&&!1===a.initial,reducedMotionConfig:s}));const c=l.current;(0,d.useInsertionEffect)((()=>{c&&c.update(n,a)}));const u=(0,d.useRef)(Boolean(window.HandoffAppearAnimations));return(0,f.L)((()=>{c&&(c.render(),u.current&&c.animationState&&c.animationState.animateChanges())})),(0,d.useEffect)((()=>{c&&(c.updateFeatures(),!u.current&&c.animationState&&c.animationState.animateChanges(),window.HandoffAppearAnimations=void 0,u.current=!1)})),c}(i,y,l,e);const n=(0,d.useContext)(V),r=(0,d.useContext)(g).strict;u.visualElement&&(s=u.visualElement.loadFeatures(l,r,t,n))}return d.createElement(m.Provider,{value:u},s&&u.visualElement?d.createElement(s,{visualElement:u.visualElement,...l}):null,n(i,o,function(t,e,n){return(0,d.useCallback)((r=>{r&&t.mount&&t.mount(r),e&&(r?e.mount(r):e.unmount()),n&&("function"==typeof n?n(r):v(n)&&(n.current=r))}),[e])}(y,u.visualElement,a),y,c,u.visualElement))}));return o[j]=i,o}function D({layoutId:t}){const e=(0,d.useContext)(A).id;return e&&void 0!==t?e+"-"+t:t}function L(t){function e(e,n={}){return O(t(e,n))}if("undefined"==typeof Proxy)return e;const n=new Map;return new Proxy(e,{get:(t,r)=>(n.has(r)||n.set(r,e(r)),n.get(r))})}const R=["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 I(t){return"string"==typeof t&&!t.includes("-")&&!!(R.indexOf(t)>-1||/[A-Z]/.test(t))}const B={};var z=n(4714);function F(t,{layout:e,layoutId:n}){return z.G.has(t)||t.startsWith("origin")||(e||void 0!==n)&&(!!B[t]||"opacity"===t)}var _=n(406);const W={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},H=z._.length;var X=n(7630);const U=(t,e)=>e&&"number"==typeof t?e.transform(t):t;var N=n(6482);function $(t,e,n,r){const{style:i,vars:o,transform:a,transformOrigin:s}=t;let l=!1,c=!1,u=!0;for(const d in e){const t=e[d];if((0,X.f9)(d)){o[d]=t;continue}const n=N.j[d],r=U(t,n);if(z.G.has(d)){if(l=!0,a[d]=r,!u)continue;t!==(n.default||0)&&(u=!1)}else d.startsWith("origin")?(c=!0,s[d]=r):i[d]=r}if(e.transform||(l||r?i.transform=function(t,{enableHardwareAcceleration:e=!0,allowTransformNone:n=!0},r,i){let o="";for(let a=0;a({style:{},transform:{},transformOrigin:{},vars:{}});function Y(t,e,n){for(const r in e)(0,_.i)(e[r])||F(r,n)||(t[r]=e[r])}function G(t,e,n){const r={};return Y(r,t.style||{},t),Object.assign(r,function({transformTemplate:t},e,n){return(0,d.useMemo)((()=>{const r=Z();return $(r,e,{enableHardwareAcceleration:!n},t),Object.assign({},r.vars,r.style)}),[e])}(t,e,n)),t.transformValues?t.transformValues(r):r}function q(t,e,n){const r={},i=G(t,e,n);return t.drag&&!1!==t.dragListener&&(r.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=!0===t.drag?"none":"pan-"+("x"===t.drag?"y":"x")),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(r.tabIndex=0),r.style=i,r}const K=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","ignoreStrict","viewport"]);function Q(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||K.has(t)}let J=t=>!Q(t);try{(tt=require("@emotion/is-prop-valid").default)&&(J=t=>t.startsWith("on")?!Q(t):tt(t))}catch(xo){}var tt;var et=n(6190);function nt(t,e,n){return"string"==typeof t?t:et.px.transform(e+n*t)}const rt={offset:"stroke-dashoffset",array:"stroke-dasharray"},it={offset:"strokeDashoffset",array:"strokeDasharray"};function ot(t,{attrX:e,attrY:n,attrScale:r,originX:i,originY:o,pathLength:a,pathSpacing:s=1,pathOffset:l=0,...c},u,d,h){if($(t,c,u,h),d)return void(t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox));t.attrs=t.style,t.style={};const{attrs:m,style:p,dimensions:f}=t;m.transform&&(f&&(p.transform=m.transform),delete m.transform),f&&(void 0!==i||void 0!==o||p.transform)&&(p.transformOrigin=function(t,e,n){return`${nt(e,t.x,t.width)} ${nt(n,t.y,t.height)}`}(f,void 0!==i?i:.5,void 0!==o?o:.5)),void 0!==e&&(m.x=e),void 0!==n&&(m.y=n),void 0!==r&&(m.scale=r),void 0!==a&&function(t,e,n=1,r=0,i=!0){t.pathLength=1;const o=i?rt:it;t[o.offset]=et.px.transform(-r);const a=et.px.transform(e),s=et.px.transform(n);t[o.array]=`${a} ${s}`}(m,a,s,l,!1)}const at=()=>({...Z(),attrs:{}}),st=t=>"string"==typeof t&&"svg"===t.toLowerCase();function lt(t,e,n,r){const i=(0,d.useMemo)((()=>{const n=at();return ot(n,e,{enableHardwareAcceleration:!1},st(r),t.transformTemplate),{...n.attrs,style:{...n.style}}}),[e]);if(t.style){const e={};Y(e,t.style,t),i.style={...e,...i.style}}return i}function ct(t=!1){return(e,n,r,{latestValues:i},o)=>{const a=(I(e)?lt:q)(n,i,o,e),s=function(t,e,n){const r={};for(const i in t)"values"===i&&"object"==typeof t.values||(J(i)||!0===n&&Q(i)||!e&&!Q(i)||t.draggable&&i.startsWith("onDrag"))&&(r[i]=t[i]);return r}(n,"string"==typeof e,t),l={...s,...a,ref:r},{children:c}=n,u=(0,d.useMemo)((()=>(0,_.i)(c)?c.get():c),[c]);return(0,d.createElement)(e,{...l,children:u})}}var ut=n(3193);function dt(t,{style:e,vars:n},r,i){Object.assign(t.style,e,i&&i.getProjectionStyles(r));for(const o in n)t.style.setProperty(o,n[o])}const ht=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 mt(t,e,n,r){dt(t,e,void 0,r);for(const i in e.attrs)t.setAttribute(ht.has(i)?i:(0,ut.D)(i),e.attrs[i])}function pt(t,e){const{style:n}=t,r={};for(const i in n)((0,_.i)(n[i])||e.style&&(0,_.i)(e.style[i])||F(i,t))&&(r[i]=n[i]);return r}function ft(t,e){const n=pt(t,e);for(const r in t)if((0,_.i)(t[r])||(0,_.i)(e[r])){n[-1!==z._.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=t[r]}return n}var gt=n(9432),vt=n(6681),yt=n(8715);function bt(t){const e=(0,_.i)(t)?t.get():t;return(0,yt.p)(e)?e.toValue():e}const xt=t=>(e,n)=>{const r=(0,d.useContext)(m),i=(0,d.useContext)(p),o=()=>function({scrapeMotionValuesFromProps:t,createRenderState:e,onMount:n},r,i,o){const a={latestValues:wt(r,i,o,t),renderState:e()};return n&&(a.mount=t=>n(r,t,a)),a}(t,e,r,i);return n?o():(0,vt.h)(o)};function wt(t,e,n,r){const i={},o=r(t,{});for(const h in o)i[h]=bt(o[h]);let{initial:a,animate:s}=t;const l=E(t),c=k(t);e&&c&&!l&&!1!==t.inherit&&(void 0===a&&(a=e.initial),void 0===s&&(s=e.animate));let u=!!n&&!1===n.initial;u=u||!1===a;const d=u?s:a;if(d&&"boolean"!=typeof d&&!b(d)){(Array.isArray(d)?d:[d]).forEach((e=>{const n=(0,gt.o)(t,e);if(!n)return;const{transitionEnd:r,transition:o,...a}=n;for(const t in a){let e=a[t];if(Array.isArray(e)){e=e[u?e.length-1:0]}null!==e&&(i[t]=e)}for(const t in r)i[t]=r[t]}))}return i}var Et=n(5618);const kt={useVisualState:xt({scrapeMotionValuesFromProps:ft,createRenderState:at,onMount:(t,e,{renderState:n,latestValues:r})=>{Et.Wi.read((()=>{try{n.dimensions="function"==typeof e.getBBox?e.getBBox():e.getBoundingClientRect()}catch(t){n.dimensions={x:0,y:0,width:0,height:0}}})),Et.Wi.render((()=>{ot(n,r,{enableHardwareAcceleration:!1},st(e.tagName),t.transformTemplate),mt(e,n)}))}})},Ct={useVisualState:xt({scrapeMotionValuesFromProps:pt,createRenderState:Z})};function Pt(t,e,n,r={passive:!0}){return t.addEventListener(e,n,r),()=>t.removeEventListener(e,n)}const St=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function Mt(t,e="page"){return{point:{x:t[e+"X"],y:t[e+"Y"]}}}const Tt=t=>e=>St(e)&&t(e,Mt(e));function At(t,e,n,r){return Pt(t,e,Tt(n),r)}var Vt=n(3624);function jt(t){let e=null;return()=>{const n=()=>{e=null};return null===e&&(e=t,n)}}const Ot=jt("dragHorizontal"),Dt=jt("dragVertical");function Lt(t){let e=!1;if("y"===t)e=Dt();else if("x"===t)e=Ot();else{const t=Ot(),n=Dt();t&&n?e=()=>{t(),n()}:(t&&t(),n&&n())}return e}function Rt(){const t=Lt(!0);return!t||(t(),!1)}class It{constructor(t){this.isMounted=!1,this.node=t}update(){}}function Bt(t,e){const n="pointer"+(e?"enter":"leave"),r="onHover"+(e?"Start":"End");return At(t.current,n,((n,i)=>{if("touch"===n.type||Rt())return;const o=t.getProps();t.animationState&&o.whileHover&&t.animationState.setActive("whileHover",e),o[r]&&Et.Wi.update((()=>o[r](n,i)))}),{passive:!t.getProps()[r]})}const zt=(t,e)=>!!e&&(t===e||zt(t,e.parentElement));var Ft=n(1662);function _t(t,e){if(!e)return;const n=new PointerEvent("pointer"+t);e(n,Mt(n))}const Wt=new WeakMap,Ht=new WeakMap,Xt=t=>{const e=Wt.get(t.target);e&&e(t)},Ut=t=>{t.forEach(Xt)};function Nt(t,e,n){const r=function({root:t,...e}){const n=t||document;Ht.has(n)||Ht.set(n,{});const r=Ht.get(n),i=JSON.stringify(e);return r[i]||(r[i]=new IntersectionObserver(Ut,{root:t,...e})),r[i]}(e);return Wt.set(t,n),r.observe(t),()=>{Wt.delete(t),r.unobserve(t)}}const $t={some:0,all:1};const Zt={inView:{Feature:class extends It{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:e,margin:n,amount:r="some",once:i}=t,o={root:e?e.current:void 0,rootMargin:n,threshold:"number"==typeof r?r:$t[r]};return Nt(this.node.current,o,(t=>{const{isIntersecting:e}=t;if(this.isInView===e)return;if(this.isInView=e,i&&!e&&this.hasEnteredView)return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);const{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),o=e?n:r;o&&o(t)}))}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;const{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return n=>t[n]!==e[n]}(t,e))&&this.startObserver()}unmount(){}}},tap:{Feature:class extends It{constructor(){super(...arguments),this.removeStartListeners=Ft.Z,this.removeEndListeners=Ft.Z,this.removeAccessibleListeners=Ft.Z,this.startPointerPress=(t,e)=>{if(this.removeEndListeners(),this.isPressing)return;const n=this.node.getProps(),r=At(window,"pointerup",((t,e)=>{if(!this.checkPressEnd())return;const{onTap:n,onTapCancel:r}=this.node.getProps();Et.Wi.update((()=>{zt(this.node.current,t.target)?n&&n(t,e):r&&r(t,e)}))}),{passive:!(n.onTap||n.onPointerUp)}),i=At(window,"pointercancel",((t,e)=>this.cancelPress(t,e)),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=(0,Vt.z)(r,i),this.startPress(t,e)},this.startAccessiblePress=()=>{const t=Pt(this.node.current,"keydown",(t=>{if("Enter"!==t.key||this.isPressing)return;this.removeEndListeners(),this.removeEndListeners=Pt(this.node.current,"keyup",(t=>{"Enter"===t.key&&this.checkPressEnd()&&_t("up",((t,e)=>{const{onTap:n}=this.node.getProps();n&&Et.Wi.update((()=>n(t,e)))}))})),_t("down",((t,e)=>{this.startPress(t,e)}))})),e=Pt(this.node.current,"blur",(()=>{this.isPressing&&_t("cancel",((t,e)=>this.cancelPress(t,e)))}));this.removeAccessibleListeners=(0,Vt.z)(t,e)}}startPress(t,e){this.isPressing=!0;const{onTapStart:n,whileTap:r}=this.node.getProps();r&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),n&&Et.Wi.update((()=>n(t,e)))}checkPressEnd(){this.removeEndListeners(),this.isPressing=!1;return this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!Rt()}cancelPress(t,e){if(!this.checkPressEnd())return;const{onTapCancel:n}=this.node.getProps();n&&Et.Wi.update((()=>n(t,e)))}mount(){const t=this.node.getProps(),e=At(this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),n=Pt(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=(0,Vt.z)(e,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}},focus:{Feature:class extends It{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){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=(0,Vt.z)(Pt(this.node.current,"focus",(()=>this.onFocus())),Pt(this.node.current,"blur",(()=>this.onBlur())))}unmount(){}}},hover:{Feature:class extends It{mount(){this.unmount=(0,Vt.z)(Bt(this.node,!0),Bt(this.node,!1))}unmount(){}}}};var Yt=n(8488);function Gt(t,e){if(!Array.isArray(e))return!1;const n=e.length;if(n!==t.length)return!1;for(let r=0;rPromise.all(e.map((({animation:e,options:n})=>(0,Kt.d)(t,e,n))))}(t);const n={animate:ne(!0),whileInView:ne(),whileHover:ne(),whileTap:ne(),whileDrag:ne(),whileFocus:ne(),exit:ne()};let r=!0;const i=(e,n)=>{const r=(0,qt.x)(t,n);if(r){const{transition:t,transitionEnd:n,...i}=r;e={...e,...i,...n}}return e};function o(o,a){const s=t.getProps(),l=t.getVariantContext(!0)||{},c=[],u=new Set;let d={},h=1/0;for(let e=0;eh&&g;const k=Array.isArray(f)?f:[f];let C=k.reduce(i,{});!1===v&&(C={});const{prevResolvedValues:P={}}=p,S={...P,...C},M=t=>{E=!0,u.delete(t),p.needsAnimating[t]=!0};for(const t in S){const e=C[t],n=P[t];d.hasOwnProperty(t)||(e!==n?(0,Yt.C)(e)&&(0,Yt.C)(n)?!Gt(e,n)||w?M(t):p.protectedKeys[t]=!0:void 0!==e?M(t):u.add(t):void 0!==e&&u.has(t)?M(t):p.protectedKeys[t]=!0)}p.prevProp=f,p.prevResolvedValues=C,p.isActive&&(d={...d,...C}),r&&t.blockInitialAnimation&&(E=!1),E&&!x&&c.push(...k.map((t=>({animation:t,options:{type:m,...o}}))))}if(u.size){const e={};u.forEach((n=>{const r=t.getBaseTarget(n);void 0!==r&&(e[n]=r)})),c.push({animation:e})}let m=Boolean(c.length);return r&&!1===s.initial&&!t.manuallyAnimateOnMount&&(m=!1),r=!1,m?e(c):Promise.resolve()}return{animateChanges:o,setActive:function(e,r,i){var a;if(n[e].isActive===r)return Promise.resolve();null===(a=t.variantChildren)||void 0===a||a.forEach((t=>{var n;return null===(n=t.animationState)||void 0===n?void 0:n.setActive(e,r)})),n[e].isActive=r;const s=o(i,e);for(const t in n)n[t].protectedKeys={};return s},setAnimateFunction:function(n){e=n(t)},getState:()=>n}}function ee(t,e){return"string"==typeof e?e!==t:!!Array.isArray(e)&&!Gt(e,t)}function ne(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}let re=0;const ie={animation:{Feature:class extends It{constructor(t){super(t),t.animationState||(t.animationState=te(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();this.unmount(),b(t)&&(this.unmount=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){}}},exit:{Feature:class extends It{constructor(){super(...arguments),this.id=re++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:e,custom:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;const i=this.node.animationState.setActive("exit",!t,{custom:null!=n?n:this.node.getProps().custom});e&&!t&&i.then((()=>e(this.id)))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}}};var oe=n(5487),ae=n(6917);const se=(t,e)=>Math.abs(t-e);class le{constructor(t,e,{transformPagePoint:n}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=()=>{if(!this.lastMoveEvent||!this.lastMoveEventInfo)return;const t=de(this.lastMoveEventInfo,this.history),e=null!==this.startEvent,n=function(t,e){const n=se(t.x,e.x),r=se(t.y,e.y);return Math.sqrt(n**2+r**2)}(t.offset,{x:0,y:0})>=3;if(!e&&!n)return;const{point:r}=t,{timestamp:i}=Et.frameData;this.history.push({...r,timestamp:i});const{onStart:o,onMove:a}=this.handlers;e||(o&&o(this.lastMoveEvent,t),this.startEvent=this.lastMoveEvent),a&&a(this.lastMoveEvent,t)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=ce(e,this.transformPagePoint),Et.Wi.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{if(this.end(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const{onEnd:n,onSessionEnd:r}=this.handlers,i=de("pointercancel"===t.type?this.lastMoveEventInfo:ce(e,this.transformPagePoint),this.history);this.startEvent&&n&&n(t,i),r&&r(t,i)},!St(t))return;this.handlers=e,this.transformPagePoint=n;const r=ce(Mt(t),this.transformPagePoint),{point:i}=r,{timestamp:o}=Et.frameData;this.history=[{...i,timestamp:o}];const{onSessionStart:a}=e;a&&a(t,de(r,this.history)),this.removeListeners=(0,Vt.z)(At(window,"pointermove",this.handlePointerMove),At(window,"pointerup",this.handlePointerUp),At(window,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),(0,Et.Pn)(this.updatePoint)}}function ce(t,e){return e?{point:e(t.point)}:t}function ue(t,e){return{x:t.x-e.x,y:t.y-e.y}}function de({point:t},e){return{point:t,delta:ue(t,me(e)),offset:ue(t,he(e)),velocity:pe(e,.1)}}function he(t){return t[0]}function me(t){return t[t.length-1]}function pe(t,e){if(t.length<2)return{x:0,y:0};let n=t.length-1,r=null;const i=me(t);for(;n>=0&&(r=t[n],!(i.timestamp-r.timestamp>(0,ae.w)(e)));)n--;if(!r)return{x:0,y:0};const o=(0,ae.X)(i.timestamp-r.timestamp);if(0===o)return{x:0,y:0};const a={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}var fe=n(3967),ge=n(22);function ve(t){return t.max-t.min}function ye(t,e=0,n=.01){return Math.abs(t-e)<=n}function be(t,e,n,r=.5){t.origin=r,t.originPoint=(0,ge.C)(e.min,e.max,t.origin),t.scale=ve(n)/ve(e),(ye(t.scale,1,1e-4)||isNaN(t.scale))&&(t.scale=1),t.translate=(0,ge.C)(n.min,n.max,t.origin)-t.originPoint,(ye(t.translate)||isNaN(t.translate))&&(t.translate=0)}function xe(t,e,n,r){be(t.x,e.x,n.x,r?r.originX:void 0),be(t.y,e.y,n.y,r?r.originY:void 0)}function we(t,e,n){t.min=n.min+e.min,t.max=t.min+ve(e)}function Ee(t,e,n){t.min=e.min-n.min,t.max=t.min+ve(e)}function ke(t,e,n){Ee(t.x,e.x,n.x),Ee(t.y,e.y,n.y)}var Ce=n(4169);function Pe(t,e,n){return{min:void 0!==e?t.min+e:void 0,max:void 0!==n?t.max+n-(t.max-t.min):void 0}}function Se(t,e){let n=e.min-t.min,r=e.max-t.max;return e.max-e.min({x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}}),je=()=>({x:{min:0,max:0},y:{min:0,max:0}});function Oe(t){return[t("x"),t("y")]}function De({top:t,left:e,right:n,bottom:r}){return{x:{min:e,max:n},y:{min:t,max:r}}}function Le(t){return void 0===t||1===t}function Re({scale:t,scaleX:e,scaleY:n}){return!Le(t)||!Le(e)||!Le(n)}function Ie(t){return Re(t)||Be(t)||t.z||t.rotate||t.rotateX||t.rotateY}function Be(t){return ze(t.x)||ze(t.y)}function ze(t){return t&&"0%"!==t}function Fe(t,e,n){return n+e*(t-n)}function _e(t,e,n,r,i){return void 0!==i&&(t=Fe(t,i,r)),Fe(t,n,r)+e}function We(t,e=0,n=1,r,i){t.min=_e(t.min,e,n,r,i),t.max=_e(t.max,e,n,r,i)}function He(t,{x:e,y:n}){We(t.x,e.translate,e.scale,e.originPoint),We(t.y,n.translate,n.scale,n.originPoint)}function Xe(t){return Number.isInteger(t)||t>1.0000000000001||t<.999999999999?t:1}function Ue(t,e){t.min=t.min+e,t.max=t.max+e}function Ne(t,e,[n,r,i]){const o=void 0!==e[i]?e[i]:.5,a=(0,ge.C)(t.min,t.max,o);We(t,e[n],e[r],a,e.scale)}const $e=["x","scaleX","originX"],Ze=["y","scaleY","originY"];function Ye(t,e){Ne(t.x,e,$e),Ne(t.y,e,Ze)}function Ge(t,e){return De(function(t,e){if(!e)return t;const n=e({x:t.left,y:t.top}),r=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}(t.getBoundingClientRect(),e))}var qe=n(9912);const Ke=new WeakMap;class Qe{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=je(),this.visualElement=t}start(t,{snapToCursor:e=!1}={}){const{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;this.panSession=new le(t,{onSessionStart:t=>{this.stopAnimation(),e&&this.snapToCursor(Mt(t,"page").point)},onStart:(t,e)=>{const{drag:n,dragPropagation:r,onDragStart:i}=this.getProps();if(n&&!r&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=Lt(n),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Oe((t=>{let e=this.getAxisMotionValue(t).get()||0;if(et.aQ.test(e)){const{projection:n}=this.visualElement;if(n&&n.layout){const r=n.layout.layoutBox[t];if(r){e=ve(r)*(parseFloat(e)/100)}}}this.originPoint[t]=e})),i&&Et.Wi.update((()=>i(t,e)),!1,!0);const{animationState:o}=this.visualElement;o&&o.setActive("whileDrag",!0)},onMove:(t,e)=>{const{dragPropagation:n,dragDirectionLock:r,onDirectionLock:i,onDrag:o}=this.getProps();if(!n&&!this.openGlobalLock)return;const{offset:a}=e;if(r&&null===this.currentDirection)return this.currentDirection=function(t,e=10){let n=null;Math.abs(t.y)>e?n="y":Math.abs(t.x)>e&&(n="x");return n}(a),void(null!==this.currentDirection&&i&&i(this.currentDirection));this.updateAxis("x",e.point,a),this.updateAxis("y",e.point,a),this.visualElement.render(),o&&o(t,e)},onSessionEnd:(t,e)=>this.stop(t,e)},{transformPagePoint:this.visualElement.getTransformPagePoint()})}stop(t,e){const n=this.isDragging;if(this.cancel(),!n)return;const{velocity:r}=e;this.startAnimation(r);const{onDragEnd:i}=this.getProps();i&&Et.Wi.update((()=>i(t,e)))}cancel(){this.isDragging=!1;const{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),e&&e.setActive("whileDrag",!1)}updateAxis(t,e,n){const{drag:r}=this.getProps();if(!n||!Je(t,r,this.currentDirection))return;const i=this.getAxisMotionValue(t);let o=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(o=function(t,{min:e,max:n},r){return void 0!==e&&tn&&(t=r?(0,ge.C)(n,t,r.max):Math.min(t,n)),t}(o,this.constraints[t],this.elastic[t])),i.set(o)}resolveConstraints(){const{dragConstraints:t,dragElastic:e}=this.getProps(),{layout:n}=this.visualElement.projection||{},r=this.constraints;t&&v(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!t||!n)&&function(t,{top:e,left:n,bottom:r,right:i}){return{x:Pe(t.x,n,i),y:Pe(t.y,e,r)}}(n.layoutBox,t),this.elastic=function(t=Me){return!1===t?t=0:!0===t&&(t=Me),{x:Te(t,"left","right"),y:Te(t,"top","bottom")}}(e),r!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&Oe((t=>{this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){const n={};return void 0!==e.min&&(n.min=e.min-t.min),void 0!==e.max&&(n.max=e.max-t.min),n}(n.layoutBox[t],this.constraints[t]))}))}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:e}=this.getProps();if(!t||!v(t))return!1;const n=t.current;(0,oe.k)(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:r}=this.visualElement;if(!r||!r.layout)return!1;const i=function(t,e,n){const r=Ge(t,n),{scroll:i}=e;return i&&(Ue(r.x,i.offset.x),Ue(r.y,i.offset.y)),r}(n,r.root,this.visualElement.getTransformPagePoint());let o=function(t,e){return{x:Se(t.x,e.x),y:Se(t.y,e.y)}}(r.layout.layoutBox,i);if(e){const t=e(function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}(o));this.hasMutatedConstraints=!!t,t&&(o=De(t))}return o}startAnimation(t){const{drag:e,dragMomentum:n,dragElastic:r,dragTransition:i,dragSnapToOrigin:o,onDragTransitionEnd:a}=this.getProps(),s=this.constraints||{},l=Oe((a=>{if(!Je(a,e,this.currentDirection))return;let l=s&&s[a]||{};o&&(l={min:0,max:0});const c=r?200:1e6,u=r?40:1e7,d={type:"inertia",velocity:n?t[a]:0,bounceStiffness:c,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...i,...l};return this.startAxisValueAnimation(a,d)}));return Promise.all(l).then(a)}startAxisValueAnimation(t,e){const n=this.getAxisMotionValue(t);return n.start((0,qe.v)(t,n,0,e))}stopAnimation(){Oe((t=>this.getAxisMotionValue(t).stop()))}getAxisMotionValue(t){const e="_drag"+t.toUpperCase(),n=this.visualElement.getProps(),r=n[e];return r||this.visualElement.getValue(t,(n.initial?n.initial[t]:void 0)||0)}snapToCursor(t){Oe((e=>{const{drag:n}=this.getProps();if(!Je(e,n,this.currentDirection))return;const{projection:r}=this.visualElement,i=this.getAxisMotionValue(e);if(r&&r.layout){const{min:n,max:o}=r.layout.layoutBox[e];i.set(t[e]-(0,ge.C)(n,o,.5))}}))}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:e}=this.getProps(),{projection:n}=this.visualElement;if(!v(e)||!n||!this.constraints)return;this.stopAnimation();const r={x:0,y:0};Oe((t=>{const e=this.getAxisMotionValue(t);if(e){const n=e.get();r[t]=function(t,e){let n=.5;const r=ve(t),i=ve(e);return i>r?n=(0,fe.Y)(e.min,e.max-r,t.min):r>i&&(n=(0,fe.Y)(t.min,t.max-i,e.min)),(0,Ce.u)(0,1,n)}({min:n,max:n},this.constraints[t])}}));const{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),Oe((e=>{if(!Je(e,t,null))return;const n=this.getAxisMotionValue(e),{min:i,max:o}=this.constraints[e];n.set((0,ge.C)(i,o,r[e]))}))}addListeners(){if(!this.visualElement.current)return;Ke.set(this.visualElement,this);const t=At(this.visualElement.current,"pointerdown",(t=>{const{drag:e,dragListener:n=!0}=this.getProps();e&&n&&this.start(t)})),e=()=>{const{dragConstraints:t}=this.getProps();v(t)&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,r=n.addEventListener("measure",e);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),e();const i=Pt(window,"resize",(()=>this.scalePositionWithinConstraints())),o=n.addEventListener("didUpdate",(({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(Oe((e=>{const n=this.getAxisMotionValue(e);n&&(this.originPoint[e]+=t[e].translate,n.set(n.get()+t[e].translate))})),this.visualElement.render())}));return()=>{i(),t(),r(),o&&o()}}getProps(){const t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:i=!1,dragElastic:o=Me,dragMomentum:a=!0}=t;return{...t,drag:e,dragDirectionLock:n,dragPropagation:r,dragConstraints:i,dragElastic:o,dragMomentum:a}}}function Je(t,e,n){return!(!0!==e&&e!==t||null!==n&&n!==t)}const tn=t=>(e,n)=>{t&&Et.Wi.update((()=>t(e,n)))};const en={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function nn(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}const rn={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t){if(!et.px.test(t))return t;t=parseFloat(t)}return`${nn(t,e.target.x)}% ${nn(t,e.target.y)}%`}};var on=n(1550);const an={correct:(t,{treeScale:e,projectionDelta:n})=>{const r=t,i=on.P.parse(t);if(i.length>5)return r;const o=on.P.createTransformer(t),a="number"!=typeof i[0]?1:0,s=n.x.scale*e.x,l=n.y.scale*e.y;i[0+a]/=s,i[1+a]/=l;const c=(0,ge.C)(s,l,.5);return"number"==typeof i[2+a]&&(i[2+a]/=c),"number"==typeof i[3+a]&&(i[3+a]/=c),o(i)}};class sn extends d.Component{componentDidMount(){const{visualElement:t,layoutGroup:e,switchLayoutGroup:n,layoutId:r}=this.props,{projection:i}=t;var o;o=cn,Object.assign(B,o),i&&(e.group&&e.group.add(i),n&&n.register&&r&&n.register(i),i.root.didUpdate(),i.addEventListener("animationComplete",(()=>{this.safeToRemove()})),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),en.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:e,visualElement:n,drag:r,isPresent:i}=this.props,o=n.projection;return o?(o.isPresent=i,r||t.layoutDependency!==e||void 0===e?o.willUpdate():this.safeToRemove(),t.isPresent!==i&&(i?o.promote():o.relegate()||Et.Wi.postRender((()=>{const t=o.getStack();t&&t.members.length||this.safeToRemove()}))),null):null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),queueMicrotask((()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()})))}componentWillUnmount(){const{visualElement:t,layoutGroup:e,switchLayoutGroup:n}=this.props,{projection:r}=t;r&&(r.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(r),n&&n.deregister&&n.deregister(r))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function ln(t){const[e,n]=function(){const t=(0,d.useContext)(p);if(null===t)return[!0,null];const{isPresent:e,onExitComplete:n,register:r}=t,i=(0,d.useId)();return(0,d.useEffect)((()=>r(i)),[]),!e&&n?[!1,()=>n&&n(i)]:[!0]}(),r=(0,d.useContext)(A);return d.createElement(sn,{...t,layoutGroup:r,switchLayoutGroup:(0,d.useContext)(V),isPresent:e,safeToRemove:n})}const cn={borderRadius:{...rn,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:rn,borderTopRightRadius:rn,borderBottomLeftRadius:rn,borderBottomRightRadius:rn,boxShadow:an};var un=n(1560),dn=n(7255);const hn=["TopLeft","TopRight","BottomLeft","BottomRight"],mn=hn.length,pn=t=>"string"==typeof t?parseFloat(t):t,fn=t=>"number"==typeof t||et.px.test(t);function gn(t,e){return void 0!==t[e]?t[e]:t.borderRadius}const vn=bn(0,.5,dn.Bn),yn=bn(.5,.95,Ft.Z);function bn(t,e,n){return r=>re?1:n((0,fe.Y)(t,e,r))}function xn(t,e){t.min=e.min,t.max=e.max}function wn(t,e){xn(t.x,e.x),xn(t.y,e.y)}function En(t,e,n,r,i){return t=Fe(t-=e,1/n,r),void 0!==i&&(t=Fe(t,1/i,r)),t}function kn(t,e,[n,r,i],o,a){!function(t,e=0,n=1,r=.5,i,o=t,a=t){et.aQ.test(e)&&(e=parseFloat(e),e=(0,ge.C)(a.min,a.max,e/100)-a.min);if("number"!=typeof e)return;let s=(0,ge.C)(o.min,o.max,r);t===o&&(s-=e),t.min=En(t.min,e,n,s,i),t.max=En(t.max,e,n,s,i)}(t,e[n],e[r],e[i],e.scale,o,a)}const Cn=["x","scaleX","originX"],Pn=["y","scaleY","originY"];function Sn(t,e,n,r){kn(t.x,e,Cn,n?n.x:void 0,r?r.x:void 0),kn(t.y,e,Pn,n?n.y:void 0,r?r.y:void 0)}var Mn=n(1056);function Tn(t){return 0===t.translate&&1===t.scale}function An(t){return Tn(t.x)&&Tn(t.y)}function Vn(t,e){return Math.round(t.x.min)===Math.round(e.x.min)&&Math.round(t.x.max)===Math.round(e.x.max)&&Math.round(t.y.min)===Math.round(e.y.min)&&Math.round(t.y.max)===Math.round(e.y.max)}function jn(t){return ve(t.x)/ve(t.y)}var On=n(10);class Dn{constructor(){this.members=[]}add(t){(0,On.y4)(this.members,t),t.scheduleRender()}remove(t){if((0,On.cl)(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){const e=this.members.findIndex((e=>t===e));if(0===e)return!1;let n;for(let r=e;r>=0;r--){const t=this.members[r];if(!1!==t.isPresent){n=t;break}}return!!n&&(this.promote(n),!0)}promote(t,e){const n=this.lead;if(t!==n&&(this.prevLead=n,this.lead=t,t.show(),n)){n.instance&&n.scheduleRender(),t.scheduleRender(),t.resumeFrom=n,e&&(t.resumeFrom.preserveOpacity=!0),n.snapshot&&(t.snapshot=n.snapshot,t.snapshot.latestValues=n.animationValues||n.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:r}=t.options;!1===r&&n.hide()}}exitAnimationComplete(){this.members.forEach((t=>{const{options:e,resumingFrom:n}=t;e.onExitComplete&&e.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()}))}scheduleRender(){this.members.forEach((t=>{t.instance&&t.scheduleRender(!1)}))}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function Ln(t,e,n){let r="";const i=t.x.translate/e.x,o=t.y.translate/e.y;if((i||o)&&(r=`translate3d(${i}px, ${o}px, 0) `),1===e.x&&1===e.y||(r+=`scale(${1/e.x}, ${1/e.y}) `),n){const{rotate:t,rotateX:e,rotateY:i}=n;t&&(r+=`rotate(${t}deg) `),e&&(r+=`rotateX(${e}deg) `),i&&(r+=`rotateY(${i}deg) `)}const a=t.x.scale*e.x,s=t.y.scale*e.y;return 1===a&&1===s||(r+=`scale(${a}, ${s})`),r||"none"}const Rn=(t,e)=>t.depth-e.depth;class In{constructor(){this.children=[],this.isDirty=!1}add(t){(0,On.y4)(this.children,t),this.isDirty=!0}remove(t){(0,On.cl)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(Rn),this.isDirty=!1,this.children.forEach(t)}}var Bn=n(3234);const zn=["","X","Y","Z"];let Fn=0;const _n={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function Wn({attachResizeListener:t,defaultParent:e,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(t={},n=(null==e?void 0:e())){this.id=Fn++,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.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{var t;_n.totalNodes=_n.resolvedTargetDeltas=_n.recalculatedProjection=0,this.nodes.forEach(Un),this.nodes.forEach(Kn),this.nodes.forEach(Qn),this.nodes.forEach(Nn),t=_n,window.MotionDebug&&window.MotionDebug.record(t)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;ethis.root.updateBlockedByResize=!1;t(e,(()=>{this.root.updateBlockedByResize=!0,n&&n(),n=function(t,e){const n=performance.now(),r=({timestamp:i})=>{const o=i-n;o>=e&&((0,Et.Pn)(r),t(o-e))};return Et.Wi.read(r,!0),()=>(0,Et.Pn)(r)}(r,250),en.hasAnimatedSinceResize&&(en.hasAnimatedSinceResize=!1,this.nodes.forEach(qn))}))}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&a&&(i||o)&&this.addEventListener("didUpdate",(({delta:t,hasLayoutChanged:e,hasRelativeTargetChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const i=this.options.transition||a.getDefaultTransition()||ir,{onLayoutAnimationStart:o,onLayoutAnimationComplete:s}=a.getProps(),l=!this.targetLayout||!Vn(this.targetLayout,r)||n,c=!e&&n;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||c||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(t,c);const e={...(0,Mn.e)(i,"layout"),onPlay:o,onComplete:s};(a.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e)}else e||qn(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r}))}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,(0,Et.Pn)(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(Jn),this.animationId++)}getTransformTemplate(){const{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked())return void(this.options.onExitComplete&&this.options.onExitComplete());if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let i=0;ithis.update())))}clearAllSnapshots(){this.nodes.forEach($n),this.sharedNodes.forEach(tr)}scheduleUpdateProjection(){Et.Wi.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){Et.Wi.postRender((()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()}))}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance)return;if(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let n=0;n{const n=e/1e3;var l,h,m,p,f,g;er(o.x,t.x,n),er(o.y,t.y,n),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(ke(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),m=this.relativeTarget,p=this.relativeTargetOrigin,f=a,g=n,nr(m.x,p.x,f.x,g),nr(m.y,p.y,f.y,g),d&&(l=this.relativeTarget,h=d,l.x.min===h.x.min&&l.x.max===h.x.max&&l.y.min===h.y.min&&l.y.max===h.y.max)&&(this.isProjectionDirty=!1),d||(d=je()),wn(d,this.relativeTarget)),s&&(this.animationValues=i,function(t,e,n,r,i,o){i?(t.opacity=(0,ge.C)(0,void 0!==n.opacity?n.opacity:1,vn(r)),t.opacityExit=(0,ge.C)(void 0!==e.opacity?e.opacity:1,0,yn(r))):o&&(t.opacity=(0,ge.C)(void 0!==e.opacity?e.opacity:1,void 0!==n.opacity?n.opacity:1,r));for(let a=0;a{en.hasAnimatedSinceResize=!0,this.currentAnimation=function(t,e,n){const r=(0,_.i)(t)?t:(0,Bn.BX)(t);return r.start((0,qe.v)("",r,e,n)),r.animation}(0,1e3,{...t,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onComplete:()=>{t.onComplete&&t.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 t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const t=this.getLead();let{targetWithTransforms:e,target:n,layout:r,latestValues:i}=t;if(e&&n&&r){if(this!==t&&this.layout&&r&&lr(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||je();const e=ve(this.layout.layoutBox.x);n.x.min=t.target.x.min,n.x.max=n.x.min+e;const r=ve(this.layout.layoutBox.y);n.y.min=t.target.y.min,n.y.max=n.y.min+r}wn(e,n),Ye(e,i),xe(this.projectionDeltaWithTransform,this.layoutCorrected,e,i)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new Dn);this.sharedNodes.get(t).add(e);const n=e.options.initialPromotionConfig;e.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(e):void 0})}isLead(){const t=this.getStack();return!t||t.lead===this}getLead(){var t;const{layoutId:e}=this.options;return e&&(null===(t=this.getStack())||void 0===t?void 0:t.lead)||this}getPrevLead(){var t;const{layoutId:e}=this.options;return e?null===(t=this.getStack())||void 0===t?void 0:t.prevLead:void 0}getStack(){const{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:n}={}){const r=this.getStack();r&&r.promote(this,n),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){const t=this.getStack();return!!t&&t.relegate(this)}resetRotation(){const{visualElement:t}=this.options;if(!t)return;let e=!1;const{latestValues:n}=t;if((n.rotate||n.rotateX||n.rotateY||n.rotateZ)&&(e=!0),!e)return;const r={};for(let i=0;i{var e;return null===(e=t.currentAnimation)||void 0===e?void 0:e.stop()})),this.root.nodes.forEach(Zn),this.root.sharedNodes.clear()}}}function Hn(t){t.updateLayout()}function Xn(t){var e;const n=(null===(e=t.resumeFrom)||void 0===e?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&n&&t.hasListeners("didUpdate")){const{layoutBox:e,measuredBox:r}=t.layout,{animationType:i}=t.options,o=n.source!==t.layout.source;"size"===i?Oe((t=>{const r=o?n.measuredBox[t]:n.layoutBox[t],i=ve(r);r.min=e[t].min,r.max=r.min+i})):lr(i,n.layoutBox,e)&&Oe((r=>{const i=o?n.measuredBox[r]:n.layoutBox[r],a=ve(e[r]);i.max=i.min+a,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[r].max=t.relativeTarget[r].min+a)}));const a=Ve();xe(a,e,n.layoutBox);const s=Ve();o?xe(s,t.applyTransform(r,!0),n.measuredBox):xe(s,e,n.layoutBox);const l=!An(a);let c=!1;if(!t.resumeFrom){const r=t.getClosestProjectingParent();if(r&&!r.resumeFrom){const{snapshot:i,layout:o}=r;if(i&&o){const a=je();ke(a,n.layoutBox,i.layoutBox);const s=je();ke(s,e,o.layoutBox),Vn(a,s)||(c=!0),r.options.layoutRoot&&(t.relativeTarget=s,t.relativeTargetOrigin=a,t.relativeParent=r)}}}t.notifyListeners("didUpdate",{layout:e,snapshot:n,delta:s,layoutDelta:a,hasLayoutChanged:l,hasRelativeTargetChanged:c})}else if(t.isLead()){const{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function Un(t){_n.totalNodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=Boolean(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function Nn(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function $n(t){t.clearSnapshot()}function Zn(t){t.clearMeasurements()}function Yn(t){t.isLayoutDirty=!1}function Gn(t){const{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function qn(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function Kn(t){t.resolveTargetDelta()}function Qn(t){t.calcProjection()}function Jn(t){t.resetRotation()}function tr(t){t.removeLeadSnapshot()}function er(t,e,n){t.translate=(0,ge.C)(e.translate,0,n),t.scale=(0,ge.C)(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function nr(t,e,n,r){t.min=(0,ge.C)(e.min,n.min,r),t.max=(0,ge.C)(e.max,n.max,r)}function rr(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}const ir={duration:.45,ease:[.4,0,.1,1]},or=t=>"undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().includes(t),ar=or("applewebkit/")&&!or("chrome/")?Math.round:Ft.Z;function sr(t){t.min=ar(t.min),t.max=ar(t.max)}function lr(t,e,n){return"position"===t||"preserve-aspect"===t&&!ye(jn(e),jn(n),.2)}const cr=Wn({attachResizeListener:(t,e)=>Pt(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),ur={current:void 0},dr=Wn({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!ur.current){const t=new cr({});t.mount(window),t.setOptions({layoutScroll:!0}),ur.current=t}return ur.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>Boolean("fixed"===window.getComputedStyle(t).position)}),hr={pan:{Feature:class extends It{constructor(){super(...arguments),this.removePointerDownListener=Ft.Z}onPointerDown(t){this.session=new le(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:e,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:tn(t),onStart:tn(e),onMove:n,onEnd:(t,e)=>{delete this.session,r&&Et.Wi.update((()=>r(t,e)))}}}mount(){this.removePointerDownListener=At(this.node.current,"pointerdown",(t=>this.onPointerDown(t)))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends It{constructor(t){super(t),this.removeGroupControls=Ft.Z,this.removeListeners=Ft.Z,this.controls=new Qe(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Ft.Z}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:dr,MeasureLayout:ln}};var mr=n(2728),pr=n(461),fr=n(3441);const gr=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;const vr=4;function yr(t,e,n=1){(0,oe.k)(n<=vr,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);const[r,i]=function(t){const e=gr.exec(t);if(!e)return[,];const[,n,r]=e;return[n,r]}(t);if(!r)return;const o=window.getComputedStyle(e).getPropertyValue(r);if(o){const t=o.trim();return(0,fr.P)(t)?parseFloat(t):t}return(0,X.tm)(i)?yr(i,e,n+1):i}var br=n(277),xr=n(1649);const wr=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),Er=t=>wr.has(t),kr=t=>t===xr.Rx||t===et.px,Cr=(t,e)=>parseFloat(t.split(", ")[e]),Pr=(t,e)=>(n,{transform:r})=>{if("none"===r||!r)return 0;const i=r.match(/^matrix3d\((.+)\)$/);if(i)return Cr(i[1],e);{const e=r.match(/^matrix\((.+)\)$/);return e?Cr(e[1],t):0}},Sr=new Set(["x","y","z"]),Mr=z._.filter((t=>!Sr.has(t)));const Tr={width:({x:t},{paddingLeft:e="0",paddingRight:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),height:({y:t},{paddingTop:e="0",paddingBottom:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:Pr(4,13),y:Pr(5,14)};Tr.translateX=Tr.x,Tr.translateY=Tr.y;const Ar=(t,e,n={},r={})=>{e={...e},r={...r};const i=Object.keys(e).filter(Er);let o=[],a=!1;const s=[];if(i.forEach((i=>{const l=t.getValue(i);if(!t.hasValue(i))return;let c=n[i],u=(0,br.C)(c);const d=e[i];let h;if((0,Yt.C)(d)){const t=d.length,e=null===d[0]?1:0;c=d[e],u=(0,br.C)(c);for(let n=e;n{const r=t.getValue(n);void 0!==r&&(e.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))})),e.length&&t.render(),e}(t),a=!0),s.push(i),r[i]=void 0!==r[i]?r[i]:e[i],l.jump(d))})),s.length){const n=s.indexOf("height")>=0?window.pageYOffset:null,i=((t,e,n)=>{const r=e.measureViewportBox(),i=e.current,o=getComputedStyle(i),{display:a}=o,s={};"none"===a&&e.setStaticValue("display",t.display||"block"),n.forEach((t=>{s[t]=Tr[t](r,o)})),e.render();const l=e.measureViewportBox();return n.forEach((n=>{const r=e.getValue(n);r&&r.jump(s[n]),t[n]=Tr[n](l,o)})),t})(e,t,s);return o.length&&o.forEach((([e,n])=>{t.getValue(e).set(n)})),t.render(),T.j&&null!==n&&window.scrollTo({top:n}),{target:i,transitionEnd:r}}return{target:e,transitionEnd:r}};function Vr(t,e,n,r){return(t=>Object.keys(t).some(Er))(e)?Ar(t,e,n,r):{target:e,transitionEnd:r}}const jr=(t,e,n,r)=>{const i=function(t,{...e},n){const r=t.current;if(!(r instanceof Element))return{target:e,transitionEnd:n};n&&(n={...n}),t.values.forEach((t=>{const e=t.get();if(!(0,X.tm)(e))return;const n=yr(e,r);n&&t.set(n)}));for(const i in e){const t=e[i];if(!(0,X.tm)(t))continue;const o=yr(t,r);o&&(e[i]=o,n||(n={}),void 0===n[i]&&(n[i]=t))}return{target:e,transitionEnd:n}}(t,e,r);return Vr(t,e=i.target,n,r=i.transitionEnd)},Or={current:null},Dr={current:!1};var Lr=n(2490);const Rr=new WeakMap,Ir=Object.keys(M),Br=Ir.length,zr=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],Fr=w.length;class _r{constructor({parent:t,props:e,presenceContext:n,reducedMotionConfig:r,visualState:i},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,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.scheduleRender=()=>Et.Wi.render(this.render,!1,!0);const{latestValues:a,renderState:s}=i;this.latestValues=a,this.baseTarget={...a},this.initialValues=e.initial?{...a}:{},this.renderState=s,this.parent=t,this.props=e,this.presenceContext=n,this.depth=t?t.depth+1:0,this.reducedMotionConfig=r,this.options=o,this.isControllingVariants=E(e),this.isVariantNode=k(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(t&&t.current);const{willChange:l,...c}=this.scrapeMotionValuesFromProps(e,{});for(const u in c){const t=c[u];void 0!==a[u]&&(0,_.i)(t)&&(t.set(a[u],!1),(0,Lr.L)(l)&&l.add(u))}}scrapeMotionValuesFromProps(t,e){return{}}mount(t){this.current=t,Rr.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(((t,e)=>this.bindToMotionValue(e,t))),Dr.current||function(){if(Dr.current=!0,T.j)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>Or.current=t.matches;t.addListener(e),e()}else Or.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||Or.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){Rr.delete(this.current),this.projection&&this.projection.unmount(),(0,Et.Pn)(this.notifyUpdate),(0,Et.Pn)(this.render),this.valueSubscriptions.forEach((t=>t())),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)this.features[t].unmount();this.current=null}bindToMotionValue(t,e){const n=z.G.has(t),r=e.on("change",(e=>{this.latestValues[t]=e,this.props.onUpdate&&Et.Wi.update(this.notifyUpdate,!1,!0),n&&this.projection&&(this.projection.isTransformDirty=!0)})),i=e.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,(()=>{r(),i()}))}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}loadFeatures({children:t,...e},n,r,i){let o,a;for(let s=0;sthis.scheduleRender(),animationType:"string"==typeof n?n:"both",initialPromotionConfig:i,layoutScroll:s,layoutRoot:l})}return a}updateFeatures(){for(const t in this.features){const e=this.features[t];e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):je()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}makeTargetAnimatable(t,e=!0){return this.makeTargetAnimatableFromInstance(t,this.props,e)}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let n=0;ne.variantChildren.delete(t)}addValue(t,e){e!==this.values.get(t)&&(this.removeValue(t),this.bindToMotionValue(t,e)),this.values.set(t,e),this.latestValues[t]=e.get()}removeValue(t){this.values.delete(t);const e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let n=this.values.get(t);return void 0===n&&void 0!==e&&(n=(0,Bn.BX)(e,{owner:this}),this.addValue(t,n)),n}readValue(t){var e;return void 0===this.latestValues[t]&&this.current?null!==(e=this.getBaseTargetFromProps(this.props,t))&&void 0!==e?e:this.readValueFromInstance(this.current,t,this.options):this.latestValues[t]}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){var e;const{initial:n}=this.props,r="string"==typeof n||"object"==typeof n?null===(e=(0,gt.o)(this.props,n))||void 0===e?void 0:e[t]:void 0;if(n&&void 0!==r)return r;const i=this.getBaseTargetFromProps(this.props,t);return void 0===i||(0,_.i)(i)?void 0!==this.initialValues[t]&&void 0===r?void 0:this.baseTarget[t]:i}on(t,e){return this.events[t]||(this.events[t]=new un.L),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}}class Wr extends _r{sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){return t.style?t.style[e]:void 0}removeValueFromRenderState(t,{vars:e,style:n}){delete e[t],delete n[t]}makeTargetAnimatableFromInstance({transition:t,transitionEnd:e,...n},{transformValues:r},i){let o=(0,pr.P$)(n,t||{},this);if(r&&(e&&(e=r(e)),n&&(n=r(n)),o&&(o=r(o))),i){(0,pr.GJ)(this,n,o);const t=jr(this,n,o,e);e=t.transitionEnd,n=t.target}return{transition:t,transitionEnd:e,...n}}}class Hr extends Wr{readValueFromInstance(t,e){if(z.G.has(e)){const t=(0,mr.A)(e);return t&&t.default||0}{const r=(n=t,window.getComputedStyle(n)),i=((0,X.f9)(e)?r.getPropertyValue(e):r[e])||0;return"string"==typeof i?i.trim():i}var n}measureInstanceViewportBox(t,{transformPagePoint:e}){return Ge(t,e)}build(t,e,n,r){$(t,e,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,e){return pt(t,e)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;(0,_.i)(t)&&(this.childSubscription=t.on("change",(t=>{this.current&&(this.current.textContent=`${t}`)})))}renderInstance(t,e,n,r){dt(t,e,n,r)}}class Xr extends Wr{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(z.G.has(e)){const t=(0,mr.A)(e);return t&&t.default||0}return e=ht.has(e)?e:(0,ut.D)(e),t.getAttribute(e)}measureInstanceViewportBox(){return je()}scrapeMotionValuesFromProps(t,e){return ft(t,e)}build(t,e,n,r){ot(t,e,n,this.isSVGTag,r.transformTemplate)}renderInstance(t,e,n,r){mt(t,e,0,r)}mount(t){this.isSVGTag=st(t.tagName),super.mount(t)}}const Ur=(t,e)=>I(t)?new Xr(e,{enableHardwareAcceleration:!1}):new Hr(e,{enableHardwareAcceleration:!0}),Nr={...ie,...Zt,...hr,...{layout:{ProjectionNode:dr,MeasureLayout:ln}}},$r=L(((t,e)=>function(t,{forwardMotionProps:e=!1},n,r){return{...I(t)?kt:Ct,preloadedFeatures:n,useRender:ct(e),createVisualElement:r,Component:t}}(t,e,Nr,Ur)));const Zr={animate:{transition:{delayChildren:.3,staggerChildren:.2}}},Yr={initial:{opacity:0},animate:{opacity:1,transition:{duration:.3}}},Gr={initial:{y:-10,opacity:0},animate:{y:0,opacity:1,transition:{duration:.3}}},qr={initial:{y:10,opacity:0},animate:{y:0,opacity:1,transition:{duration:.3}}},Kr=(0,r.css)(["padding:1rem 2rem;border:none;border-radius:100px;display:flex;align-items:center;justify-content:center;font-weight:500;transition:box-shadow 200ms ease;& > svg{width:1.25em;height:1.25em;margin-right:0.8rem;margin-left:-0.4rem;fill:currentColor;}"]),Qr=(r.default.button.withConfig({componentId:"sc-sjeovr-0"})(["",";color:white;background:var(--bg-btn-primary);&:hover{background:var(--bg-btn-primary-hover);}"],Kr),(0,r.default)($r.div).attrs((()=>({variants:qr}))).withConfig({componentId:"sc-sjeovr-1"})(["& > a{",";min-height:4.8rem;min-width:24rem;font-size:1.6rem;padding:1.2rem 2.4rem;color:white;border-radius:100px;background:var(--bg-btn-primary);box-shadow:0 4px 16px 0 var(--cl-shadow-secondary);&:hover{background:var(--bg-btn-primary-hover);box-shadow:0 8px 40px 0 var(--cl-shadow-secondary);}& > svg{width:2.2rem;height:2.2rem;margin-right:1rem;margin-left:-0.6rem;}}"],Kr)),Jr=(0,r.default)(Qr).withConfig({componentId:"sc-sjeovr-2"})(["min-width:25rem;"]),ti=r.default.button.withConfig({componentId:"sc-sjeovr-3"})(["",";min-height:4.8rem;min-width:25rem;font-size:1.6rem;padding:1.2rem 2.4rem;border-radius:10rem;color:var(--cl-github-btn);background:var(--bg-github-btn);box-shadow:0 4px 16px 0 var(--cl-shadow-secondary);&:hover{background:var(--bg-github-btn-hover);box-shadow:0 8px 40px 0 var(--cl-shadow-secondary);}& > svg{width:2.2rem;height:2.2rem;margin-right:1rem;}","{min-width:24rem;}"],Kr,s.laptopSm),ei=(0,r.css)(["position:relative;width:100%;height:max-content;padding:10rem 5.6rem;&:nth-child(even){background:var(--bg-primary);}","{padding:6.4rem 4rem;}","{padding:5.6rem 2rem;}","{padding:5.6rem 1.6rem;}"],s.laptopSm,s.tabletSm,s.mobileXs),ni=(0,r.css)(["width:100%;max-width:130rem;height:100%;margin:0 auto;display:grid;row-gap:6rem;align-content:start;animation:fadeIn ease 160ms;","{max-width:116.8rem;}","{max-width:106.8rem;row-gap:4.8rem;}","{max-width:90rem;}"],s.laptopMd,s.laptopSm,s.laptopXs),ri=(0,r.default)($r.nav).attrs((()=>({initial:"initial",animate:"animate",variants:Zr}))).withConfig({componentId:"sc-em3hls-0"})(["width:100%;height:6.4rem;padding:0 5.6rem;background-color:",";backdrop-filter:saturate(180%) blur(5px);position:sticky;top:0;left:0;z-index:100;","{padding:0 4rem;}","{padding:0 2rem;}","{padding:0 1.6rem;}"],(t=>t.isMenuOpen?"var(--bg-primary)":"rgba(var(--bg-primary-rgb), 0.8)"),s.laptopSm,s.tabletSm,s.mobileXs),ii=(0,r.default)($r.header).attrs((()=>({variants:Gr}))).withConfig({componentId:"sc-em3hls-1"})(["",";max-width:100rem;align-content:center;grid-template-columns:max-content 1fr;column-gap:4rem;","{max-width:90rem;}","{column-gap:2.8rem;}"],ni,s.laptopMd,s.laptopSm),oi=(0,r.default)($r.div).attrs((()=>({}))).withConfig({componentId:"sc-em3hls-2"})(["display:flex;align-items:center;& > a{display:grid;align-items:center;grid-auto-flow:column;font-size:2rem;font-weight:700;text-transform:capitalize;color:var(--cl-display-text);& > svg{width:1.5em;height:1.5em;margin-right:1rem;color:var(--cl-primary);background-color:transparent;border-radius:0.8rem;}}"]),ai=(0,r.default)($r.div).attrs((()=>({}))).withConfig({componentId:"sc-em3hls-3"})(["display:grid;align-content:start;justify-items:end;grid-auto-flow:column;column-gap:4rem;margin-bottom:-4px;","{column-gap:2.8rem;}","{display:none;}"],s.laptopSm,s.laptopXs),si=(0,r.default)($r.ul).attrs((()=>({}))).withConfig({componentId:"sc-em3hls-4"})(["width:max-content;justify-self:start;list-style:none;display:flex;align-items:center;font-size:1.6rem;font-weight:500;color:var(--cl-heading-text);cursor:pointer;","{width:100%;display:grid;row-gap:2rem;padding-left:6.4rem;font-weight:500;& > li:not(:last-of-type){margin-right:0;}}& > li:not(:last-of-type){margin-right:2rem;","{margin-right:1.6rem;}}& > li a:hover,& > li a.active{color:var(--cl-primary-variant);}"],s.laptopXs,s.laptopSm),li=(0,r.default)($r.li).attrs((()=>({}))).withConfig({componentId:"sc-em3hls-5"})([""]),ci=(0,r.default)(u.rU).withConfig({componentId:"sc-em3hls-6"})([""]),ui=(0,r.default)($r.div).attrs((()=>({}))).withConfig({componentId:"sc-em3hls-7"})(["display:grid;align-items:center;grid-template-columns:repeat(2,max-content);column-gap:2rem;","{grid-template-columns:1fr;row-gap:2rem;max-width:92rem;margin-bottom:0.8rem;margin-left:auto;margin-right:auto;}","{max-width:77.6rem;}"],s.laptopXs,s.tabletXl),di=(0,r.default)($r.button).attrs((()=>({}))).withConfig({componentId:"sc-em3hls-8"})(["padding:0.8rem 1.2rem;border:none;border-radius:10rem;display:flex;align-items:center;justify-content:center;font-size:1.6rem;color:var(--cl-heading-text);background-color:transparent;","{border:1px solid var(--border-secondary);padding:1rem;}&:hover{color:var(--cl-display-text);}&:hover > svg{fill:var(--cl-heading-text);}& > svg{width:1.25em;height:1.25em;margin-left:1.2rem;fill:var(--cl-body-text);}"],s.laptopXs),hi=(0,r.default)($r.div).attrs((()=>({}))).withConfig({componentId:"sc-em3hls-9"})(["& > a{",";font-size:1.4rem;border-radius:10rem;color:#fff;background:var(--bg-btn-primary);box-shadow:0 0 0 0 var(--cl-shadow-secondary);&:hover{background:var(--bg-btn-primary-hover);box-shadow:0 4px 16px 0 var(--cl-shadow-secondary);}","{margin-top:4rem;padding:1.2rem;max-width:92rem;margin-left:auto;margin-right:auto;}","{max-width:77.6rem;}}"],Kr,s.laptopXs,s.tabletXl),mi=(r.default.button.withConfig({componentId:"sc-em3hls-10"})(["",";font-size:1.4rem;border-radius:10rem;color:#fff;background:var(--bg-btn-primary);box-shadow:0 0 0 0 var(--cl-shadow-secondary);&:hover{background:var(--bg-btn-primary-hover);box-shadow:0 4px 16px 0 var(--cl-shadow-secondary);}"],Kr),(0,r.default)($r.div).attrs((()=>({}))).withConfig({componentId:"sc-em3hls-11"})(["justify-self:end;border:none;border-radius:3px;background-color:transparent;display:none;row-gap:4px;align-content:center;","{display:grid;}& > span{width:24px;height:3px;border-radius:3px;background-color:",";transition:all 160ms ease;&:nth-of-type(1){transform-origin:left;transform:",";margin-bottom:",";}&:nth-of-type(2){opacity:",";transform:",";}&:nth-of-type(3){transform-origin:left;transform:",";margin-top:",";}}"],s.laptopXs,(t=>t.isMenuOpen?"var(--cl-primary)":"var(--cl-body-text)"),(t=>t.isMenuOpen?"rotate(45deg)":"rotate(0deg)"),(t=>t.isMenuOpen?"1.5px":"0"),(t=>t.isMenuOpen?"0":"1"),(t=>t.isMenuOpen?"translateX(12px)":"translateX(0)"),(t=>t.isMenuOpen?"rotate(-45deg)":"rotate(0deg)"),(t=>t.isMenuOpen?"1.5px":"0"))),pi=(0,r.default)($r.header).attrs((()=>({initial:"initial",variants:Zr}))).withConfig({componentId:"sc-1xtm763-0"})(['text-align:center;max-width:60rem;margin:0 auto;display:grid;row-gap:2rem;align-content:start;position:relative;&::before{counter-increment:header;content:"0" counter(header) ".";color:var(--cl-disabled-text);font-size:3.2rem;font-weight:700;opacity:0.1;}']),fi=(0,r.default)($r.h3).attrs((()=>({variants:qr}))).withConfig({componentId:"sc-1xtm763-1"})(["font-size:3.2rem;font-weight:700;position:relative;","{font-size:2.8rem;}& > span{position:absolute;top:0;left:50%;transform:translateX(-50%);z-index:-1;opacity:0;}&::before{content:attr(data-after);background:linear-gradient( to bottom,var(--cl-primary),var(--cl-primary-variant) );background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;}&::after{content:attr(data-after);position:absolute;color:var(--cl-disabled-text);opacity:0.04;font-size:20rem;top:-2rem;left:50%;transform:translateX(-50%);overflow-x:hidden;","{font-size:16rem;}","{font-size:14rem;}","{font-size:12rem;}","{display:none;}}"],s.mobileMd,s.tabletXl,s.tabletLg,s.tabletMd,s.tabletSm),gi=(0,r.default)($r.h4).attrs((()=>({variants:qr}))).withConfig({componentId:"sc-1xtm763-2"})(["font-size:6.4rem;font-weight:700;color:var(--cl-display-text);z-index:1;","{font-size:5.6rem;}","{font-size:5.2rem;}","{font-size:4.8rem;}","{font-size:4rem;}"],s.mobileXl,s.mobileLg,s.mobileSm,s.mobileXs),vi=(0,r.default)($r.div).attrs((()=>({variants:qr}))).withConfig({componentId:"sc-1xtm763-3"})(["& > p{font-size:2rem;color:var(--cl-body-text);line-height:1.7;","{line-height:1.5;}& > a{color:var(--cl-primary);&:hover{text-decoration:underline;}}}"],s.tabletSm),yi=(r.default.a.withConfig({componentId:"sc-1fvqfc5-0"})(["&:hover{color:var(--cl-primary-variant);}& > svg{width:2.4rem;height:2.4rem;fill:currentColor;}"]),r.default.span.withConfig({componentId:"sc-1fvqfc5-1"})(["font-size:1.4rem;font-weight:700;text-transform:capitalize;margin-bottom:0.8rem;display:block;"])),bi=r.default.p.withConfig({componentId:"sc-1fvqfc5-2"})(["display:grid;row-gap:0.8rem;& > a{color:var(--cl-link);font-size:2rem;font-weight:700 !important;&:hover{color:var(--cl-link-hover);}}"]),xi=r.default.div.withConfig({componentId:"sc-1fvqfc5-3"})(["display:grid;row-gap:0.8rem;height:max-content;width:max-content;margin:0 auto;& > a{&:hover{color:var(--cl-link-hover);}svg{width:2.2rem;height:2.2rem;fill:currentColor;margin-bottom:0.8rem;}}"]),wi=r.default.footer.withConfig({componentId:"sc-1fvqfc5-4"})(["width:100%;min-height:6.4rem;padding:3.2rem;text-align:center;background:var(--bg-secondary);box-shadow:0 1px 4px -1px var(--cl-shadow-secondary);position:relative;","{padding:3.2rem 2rem;}"],s.mobileLg),Ei=(0,r.default)($r.aside).attrs((()=>({initial:"initial",animate:"animate",variants:Zr}))).withConfig({componentId:"sc-nnbsif-0"})(["padding:4rem 5.6rem;background-color:var(--bg-primary);border-top:1px solid var(--border-tertiary);position:fixed;top:6.4rem;left:0;width:100%;min-height:calc(100% - 6.4rem);z-index:80;","{padding:4rem;}","{padding:4rem 2rem;}","{padding:4rem 1.6rem;}"],s.laptopSm,s.tabletSm,s.mobileXs),ki=r.default.ul.withConfig({componentId:"sc-nnbsif-1"})(["",';max-width:100rem;row-gap:0 !important;list-style:none;& > li{padding:1.6rem 0;font-size:1.7rem;color:var(--cl-heading-text);position:relative;&::after{content:"";position:absolute;left:0;bottom:0;width:100%;height:1px;background-color:var(--border-secondary);}}'],ni);var Ci=n(9570),Pi=n.n(Ci),Si=n(5170),Mi=n.n(Si);const Ti=(0,r.default)($r.section).attrs((()=>({initial:"initial",animate:"animate",variants:Zr}))).withConfig({componentId:"sc-odavfk-0"})(["",";position:relative;overflow:hidden;padding-top:8rem;","{padding-top:8rem;padding-bottom:8rem;}"],ei,s.laptopSm),Ai=r.default.div.withConfig({componentId:"sc-odavfk-1"})(["",";row-gap:10rem;"],ni),Vi=(0,r.default)($r.div).attrs((()=>({variants:Yr}))).withConfig({componentId:"sc-odavfk-2"})(["position:absolute;top:0;left:0;width:100%;height:100%;"]),ji=(0,r.css)(["position:absolute;top:0;","{width:38rem;height:38rem;}","{width:32rem;height:32rem;}","{width:28rem;height:28rem;}","{width:24rem;height:24rem;}","{width:20rem;height:20rem;}","{width:16rem;height:16rem;}"],s.laptopXs,s.tabletXl,s.tabletMd,s.tabletSm,s.mobileLg,s.mobileXs),Oi=(0,r.default)(Pi()).withConfig({componentId:"sc-odavfk-3"})(["",";left:0;margin-left:-2.4rem;","{display:none;}"],ji,s.laptopXs),Di=(0,r.default)(Mi()).withConfig({componentId:"sc-odavfk-4"})(["",";right:0;margin-right:-2.4rem;","{display:none;}"],ji,s.laptopXs),Li=r.default.div.withConfig({componentId:"sc-odavfk-5"})(["display:grid;justify-content:center;justify-items:center;position:relative;z-index:10;"]),Ri=r.default.header.withConfig({componentId:"sc-odavfk-6"})(["text-align:center;max-width:56rem;margin:0 auto;display:grid;row-gap:2.4rem;"]),Ii=(0,r.default)($r.h1).attrs((()=>({variants:qr}))).withConfig({componentId:"sc-odavfk-7"})(["font-size:7.2rem;font-weight:700;color:var(--cl-display-text);","{line-height:normal;}","{font-size:6.4rem;}","{font-size:5.6rem;}","{font-size:4.8rem;}","{font-size:4.2rem;}"],s.tabletSm,s.mobileXl,s.mobileLg,s.mobileSm,s.mobileXs),Bi=(0,r.default)($r.h2).attrs((()=>({variants:qr}))).withConfig({componentId:"sc-odavfk-8"})(["font-size:2.2rem;font-weight:400;line-height:1.7;margin-bottom:4.8rem;","{line-height:1.5;}","{font-size:2rem;}"],s.tabletSm,s.mobileXl),zi=(0,r.default)($r.h2).attrs((()=>({variants:qr}))).withConfig({componentId:"sc-odavfk-9"})(["font-size:2rem;font-weight:400;line-height:1.7;margin-top:4.8rem;margin-bottom:2.8rem;","{line-height:1.5;}","{font-size:2rem;}"],s.tabletSm,s.mobileXl),Fi=(0,r.default)($r.div).attrs((()=>({variants:qr}))).withConfig({componentId:"sc-odavfk-10"})(["display:grid;grid-template-columns:repeat(3,max-content);gap:2rem;","{width:100%;grid-template-columns:1fr;}"],s.tabletMd),_i=(0,r.default)($r.div).attrs((()=>({variants:qr}))).withConfig({componentId:"sc-odavfk-11"})(["position:relative;z-index:10;display:grid;grid-template-columns:repeat(6,max-content);align-items:center;justify-content:center;","{grid-template-columns:repeat(3,max-content);row-gap:3.2rem;column-gap:-2rem;}"],s.tabletLg),Wi=r.default.div.withConfig({componentId:"sc-odavfk-12"})(["background-color:var(--bg-primary);position:relative;&:nth-child(1),&:nth-child(6){width:20rem;height:max-content;z-index:2;box-shadow:0 20px 40px var(--cl-shadow-primary);","{width:18rem;}@media screen and (max-width:420px){width:16rem !important;}}&:nth-child(1){margin-right:-1.6rem;","{margin-right:-4.8rem;}","{margin-right:-9rem;}","{margin-right:-12.2rem;}","{grid-column:1 / 2;width:20rem;margin-right:-2.4rem;}","{grid-column:1 / 2;width:20rem;margin-right:-10.4rem;transform:skewX(8deg) skewY(-8deg);}@media screen and (max-width:420px){margin-right:-7.2rem;}","{margin-right:-10rem;}}&:nth-child(6){margin-left:-1.6rem;","{margin-left:-4.8rem;}","{margin-left:-9rem;}","{margin-left:-12.2rem;}","{grid-row:1 / 2;grid-column:3 / 4;width:20rem;margin-left:-2.4rem;}","{grid-row:1 / 2;grid-column:3 / 4;width:20rem;margin-left:-10.4rem;transform:skewX(-8deg) skewY(8deg);}@media screen and (max-width:420px){margin-left:-7.2rem;}","{margin-left:-10rem;}}&:nth-child(2),&:nth-child(5){width:22rem;height:max-content;z-index:4;box-shadow:0 20px 40px var(--cl-shadow-primary);","{width:20rem;}@media screen and (max-width:420px){width:16rem !important;}}&:nth-child(2){margin-right:-1.6rem;","{margin-right:-4.8rem;}","{margin-right:-9rem;}","{margin-right:-12.2rem;}","{grid-row:2 / 3;grid-column:3 / 4;margin:0;margin-left:-2.4rem;}","{grid-row:2 / 3;grid-column:3 / 4;margin:0;margin-left:-10.4rem;transform:skewX(-8deg) skewY(8deg);}@media screen and (max-width:420px){margin-left:-7.2rem;}","{margin-left:-10rem;}}&:nth-child(5){margin-left:-1.6rem;","{margin-left:-4.8rem;}","{margin-left:-9rem;}","{margin-left:-12.2rem;}","{grid-row:1 / 2;grid-column:1 / 2;margin:0;margin-right:-2.4rem;}","{grid-row:1 / 2;grid-column:1 / 2;margin:0;margin-right:-10.4rem;transform:skewX(8deg) skewY(-8deg);}@media screen and (max-width:420px){margin-right:-7.2rem;}","{margin-right:-10rem;}}&:nth-child(3),&:nth-child(4){width:25rem;height:max-content;z-index:8;box-shadow:0 20px 40px var(--cl-shadow-primary);","{width:24rem;}@media screen and (max-width:420px){width:20rem !important;}}&:nth-child(3){margin-right:2rem;","{grid-row:2 / 3;grid-column:2 / 3;margin:0;}}&:nth-child(4){","{grid-row:1 / 2;grid-column:2 / 3;margin:0;}}"],s.laptopSm,s.laptopMd,s.laptopXs,s.tabletXl,s.tabletLg,s.tabletMd,s.mobileMd,s.laptopMd,s.laptopXs,s.tabletXl,s.tabletLg,s.tabletMd,s.mobileMd,s.laptopSm,s.laptopMd,s.laptopXs,s.tabletXl,s.tabletLg,s.tabletMd,s.mobileMd,s.laptopMd,s.laptopXs,s.tabletXl,s.tabletLg,s.tabletMd,s.mobileMd,s.laptopSm,s.tabletLg,s.tabletLg),Hi=r.default.section.withConfig({componentId:"sc-1s07eu1-0"})(["",";"],ei),Xi=r.default.div.withConfig({componentId:"sc-1s07eu1-1"})(["",";"],ni),Ui=(0,r.default)($r.div).attrs((()=>({initial:"initial",variants:Zr}))).withConfig({componentId:"sc-1s07eu1-2"})(["display:grid;grid-template-columns:repeat(2,1fr);column-gap:2rem;","{grid-template-columns:1fr;}"],s.tabletMd),Ni=r.default.div.withConfig({componentId:"sc-1s07eu1-3"})(["","{display:none;}"],s.tabletMd),$i=r.default.div.withConfig({componentId:"sc-1s07eu1-4"})(["display:grid;grid-template-columns:repeat(2,1fr);justify-items:end;margin-right:4rem;position:sticky;top:8rem;","{margin-right:2rem;}"],s.laptopSm),Zi=(0,r.default)($r.div).attrs((()=>({variants:qr}))).withConfig({componentId:"sc-1s07eu1-5"})(["width:34rem;height:48rem;background-color:var(--bg-primary);box-shadow:0 20px 40px var(--cl-shadow-primary);","{width:30rem;height:max-content;}","{width:26.4rem;height:max-content;}&:nth-child(1){margin-right:-16rem;z-index:10;}&:nth-child(2){margin-top:16rem;z-index:20;}"],s.laptopXs,s.tabletLg),Yi=r.default.ul.withConfig({componentId:"sc-1s07eu1-6"})(["list-style:none;max-width:40rem;display:grid;align-content:start;justify-content:center;gap:4rem;margin-bottom:8rem;","{gap:4rem;}","{gap:3.2rem;}","{max-width:100%;margin-bottom:0;gap:2.4rem;}","{grid-template-columns:1fr;}"],s.laptopMd,s.laptopSm,s.tabletMd,s.tabletSm),Gi=(0,r.css)(["position:relative;height:100%;display:grid;align-content:start;row-gap:1.2rem;color:var(--cl-display-text);border-radius:3px;box-shadow:0 0 0 0 var(--cl-primary-variant);transition:all 200ms ease;&:hover{color:var(--cl-primary-variant);}&:last-of-type{cursor:pointer;height:max-content;}& > h5{font-size:2.4rem;font-weight:700;display:flex;flex-direction:column;color:currentColor;z-index:1;}& > p{color:var(--cl-body-text);z-index:1;}"]),qi=(0,r.default)($r.li).attrs((()=>({variants:qr}))).withConfig({componentId:"sc-1s07eu1-7"})(["",";","{border-radius:3px;background-color:var(--bg-card);box-shadow:0 10px 40px -10px var(--cl-shadow-primary);padding:2rem 2.4rem;padding-top:1.8rem;row-gap:0.8rem;}& > a{font-size:2rem;font-weight:700;color:var(--cl-body-text);&:hover{color:var(--cl-primary-variant);text-decoration:underline;}}"],Gi,s.tabletMd),Ki=r.default.section.withConfig({componentId:"sc-di325x-0"})(["",""],ei),Qi=r.default.div.withConfig({componentId:"sc-di325x-1"})(["",";"],ni),Ji=(0,r.default)($i).withConfig({componentId:"sc-di325x-2"})([""]),to=(0,r.default)(Zi).withConfig({componentId:"sc-di325x-3"})([""]),eo=(0,r.default)(Ui).withConfig({componentId:"sc-di325x-4"})([""]),no=(0,r.default)(Yi).withConfig({componentId:"sc-di325x-5"})([""]),ro=(0,r.default)(qi).withConfig({componentId:"sc-di325x-6"})([""]),io=r.default.section.withConfig({componentId:"sc-1g51x81-0"})(["",";","{padding-bottom:8rem;}"],ei,s.laptopSm),oo=r.default.div.withConfig({componentId:"sc-1g51x81-1"})(["",";"],ni),ao=(0,r.default)($r.div).attrs((()=>({variants:qr}))).withConfig({componentId:"sc-1g51x81-2"})(["& > svg{width:12rem;height:12rem;fill:currentColor;}"]),so=(0,r.default)($r.div).attrs((()=>({initial:"initial",variants:Zr}))).withConfig({componentId:"sc-1g51x81-3"})(["display:grid;align-items:start;column-gap:2rem;row-gap:4rem;grid-template-columns:1fr 2fr 1fr;","{grid-template-columns:1fr;}"],s.tabletLg),lo=r.default.div.withConfig({componentId:"sc-1g51x81-4"})(["color:var(--cl-primary-variant);display:grid;row-gap:4.8rem;justify-items:center;","{row-gap:3.2rem;}"],s.tabletMd),co=(0,r.default)($r.span).attrs((()=>({variants:qr}))).withConfig({componentId:"sc-1g51x81-5"})([""]),uo=r.default.div.withConfig({componentId:"sc-1g51x81-6"})(["display:grid;align-items:center;justify-content:center;grid-template-columns:repeat(3,1fr);gap:2rem;& > div > a{min-width:max-content;}","{grid-template-columns:repeat(2,1fr);#app-image{grid-row:1 / 2;grid-column:2 / -1;}#rpm{grid-column:1 / -1;}& > div > span{grid-column:1 / -1 !important;}}","{width:100%;}& > span{grid-column:2 / 3;font-weight:500;width:100%;height:2rem;display:flex;align-items:center;justify-content:center;","{grid-column:1 / -1;}}#snap-store-btn{grid-column:1 / -1;justify-self:center;width:max-content;display:flex;align-items:center;justify-content:center;padding:0 1.2rem;& > a{padding:0 1.2rem;}& > a > span{width:0;height:0;opacity:0;}& > a > svg{width:182px;height:56px;fill:transparent;margin:0 auto;}}"],s.laptopXs,s.tabletMd,s.tabletXl),ho=r.default.div.withConfig({componentId:"sc-1g51x81-7"})(["display:grid;row-gap:4.8rem;justify-items:center;","{row-gap:3.2rem;}"],s.tabletMd),mo=r.default.div.withConfig({componentId:"sc-1g51x81-8"})(["color:var(--cl-display-text);display:grid;row-gap:4.8rem;justify-items:center;","{row-gap:3.2rem;}"],s.tabletMd);var po=n(1883);const fo=r.default.section.withConfig({componentId:"sc-1858ky1-0"})(["",";min-height:calc(100vh - 14.9rem - 5.6rem);position:relative;overflow:hidden;"],ei),go=r.default.div.withConfig({componentId:"sc-1858ky1-1"})(["",";row-gap:4.8rem;justify-content:center;"],ni),vo=(0,r.default)(Ri).withConfig({componentId:"sc-1858ky1-2"})(["justify-items:center;margin-top:10rem;& > svg{width:16rem;height:16rem;fill:currentColor;}"]),yo=r.default.div.withConfig({componentId:"sc-1858ky1-3"})([""]),bo=(0,r.default)(po.Link).withConfig({componentId:"sc-1858ky1-4"})(["",";min-height:4.8rem;min-width:25rem;font-size:1.6rem;padding:1.2rem 2.4rem;color:white;background:var(--bg-btn-primary);box-shadow:0 2px 4px 0 var(--cl-shadow-secondary);&:hover{box-shadow:0 3px 6px 0 var(--cl-shadow-secondary);}& > svg{width:2.2rem;height:2.2rem;margin-right:1rem;margin-left:-0.6rem;}"],Kr)},910:function(t,e,n){"use strict";n.d(e,{fV:function(){return i},L2:function(){return a},U5:function(){return r},yF:function(){return s},RY:function(){return o}});const r=()=>window.matchMedia("(prefers-color-scheme: dark)").matches;function i(){const{appVersion:t,userAgent:e}=navigator;return new RegExp("Android|webOS|iPhone|iPad|iPod","i").test(e)?"Mobile":-1!==t.indexOf("Win")?"Windows":-1!==t.indexOf("Mac")?"MacOS":-1!==t.indexOf("Linux")?"Linux":"Windows"}const o=(t,e)=>{try{const n=JSON.stringify(e);localStorage.setItem(t,n)}catch(n){console.error(n)}},a=t=>{try{const e=localStorage.getItem(t);if(null===e)return;return JSON.parse(e)}catch(e){return void console.error(e)}},s="undefined"==typeof window},3096:function(t,e,n){var r="Expected a function",i=NaN,o="[object Symbol]",a=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,c=/^0o[0-7]+$/i,u=parseInt,d="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,h="object"==typeof self&&self&&self.Object===Object&&self,m=d||h||Function("return this")(),p=Object.prototype.toString,f=Math.max,g=Math.min,v=function(){return m.Date.now()};function y(t,e,n){var i,o,a,s,l,c,u=0,d=!1,h=!1,m=!0;if("function"!=typeof t)throw new TypeError(r);function p(e){var n=i,r=o;return i=o=void 0,u=e,s=t.apply(r,n)}function y(t){var n=t-c;return void 0===c||n>=e||n<0||h&&t-u>=a}function w(){var t=v();if(y(t))return E(t);l=setTimeout(w,function(t){var n=e-(t-c);return h?g(n,a-(t-u)):n}(t))}function E(t){return l=void 0,m&&i?p(t):(i=o=void 0,s)}function k(){var t=v(),n=y(t);if(i=arguments,o=this,c=t,n){if(void 0===l)return function(t){return u=t,l=setTimeout(w,e),d?p(t):s}(c);if(h)return l=setTimeout(w,e),p(c)}return void 0===l&&(l=setTimeout(w,e)),s}return e=x(e)||0,b(n)&&(d=!!n.leading,a=(h="maxWait"in n)?f(x(n.maxWait)||0,e):a,m="trailing"in n?!!n.trailing:m),k.cancel=function(){void 0!==l&&clearTimeout(l),u=0,i=c=o=l=void 0},k.flush=function(){return void 0===l?s:E(v())},k}function b(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function x(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&p.call(t)==o}(t))return i;if(b(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=b(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(a,"");var n=l.test(t);return n||c.test(t)?u(t.slice(2),n?2:8):s.test(t)?i:+t}t.exports=function(t,e,n){var i=!0,o=!0;if("function"!=typeof t)throw new TypeError(r);return b(n)&&(i="leading"in n?!!n.leading:i,o="trailing"in n?!!n.trailing:o),y(t,e,{leading:i,maxWait:e,trailing:o})}},8477:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var n=0;n=Math.floor(a)&&d=Math.floor(s),f=n.getActiveLink();return p?(i===f&&n.setActiveLink(void 0),t.props.hashSpy&&h.getHash()===i&&h.changeHash(),t.props.spy&&t.state.active&&(t.setState({active:!1}),t.props.onSetInactive&&t.props.onSetInactive()),c.updateStates()):m&&f!==i?(n.setActiveLink(i),t.props.hashSpy&&h.changeHash(i),t.props.spy&&(t.setState({active:!0}),t.props.onSetActive&&t.props.onSetActive(i)),c.updateStates()):void 0}}};return d.propTypes=m,d.defaultProps={offset:0},d},Element:function(t){console.warn("Helpers.Element is deprecated since v1.7.0");var e=function(e){function n(t){o(this,n);var e=a(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,t));return e.childBindings={domNode:null},e}return s(n,e),i(n,[{key:"componentDidMount",value:function(){if("undefined"==typeof window)return!1;this.registerElems(this.props.name)}},{key:"componentDidUpdate",value:function(t){this.props.name!==t.name&&this.registerElems(this.props.name)}},{key:"componentWillUnmount",value:function(){if("undefined"==typeof window)return!1;u.unregister(this.props.name)}},{key:"registerElems",value:function(t){u.register(t,this.childBindings.domNode)}},{key:"render",value:function(){return l.createElement(t,r({},this.props,{parentBindings:this.childBindings}))}}]),n}(l.Component);return e.propTypes={name:d.string,id:d.string},e}};t.exports=p},3200:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=Object.assign||function(t){for(var e=1;e=i.duration?1:e(i.progress/i.duration),i.currentPosition=i.startPosition+Math.ceil(i.delta*i.percent),i.containerElement&&i.containerElement!==document&&i.containerElement!==document.body?n.horizontal?i.containerElement.scrollLeft=i.currentPosition:i.containerElement.scrollTop=i.currentPosition:n.horizontal?window.scrollTo(i.currentPosition,0):window.scrollTo(0,i.currentPosition),i.percent<1){var o=t.bind(null,e,n);c.call(window,o)}else a.default.registered.end&&a.default.registered.end(i.to,i.target,i.currentPosition);else a.default.registered.end&&a.default.registered.end(i.to,i.target,i.currentPositionY)},m=function(t){t.data.containerElement=t?t.containerId?document.getElementById(t.containerId):t.container&&t.container.nodeType?t.container:document:null},p=function(t,e,n,r){if(e.data=e.data||{currentPosition:0,startPosition:0,targetPosition:0,progress:0,duration:0,cancel:!1,target:null,containerElement:null,to:null,start:null,delta:null,percent:null,delayTimeout:null},window.clearTimeout(e.data.delayTimeout),o.default.subscribe((function(){e.data.cancel=!0})),m(e),e.data.start=null,e.data.cancel=!1,e.data.startPosition=e.horizontal?u(e):d(e),e.data.targetPosition=e.absolute?t:t+e.data.startPosition,e.data.startPosition!==e.data.targetPosition){var i;e.data.delta=Math.round(e.data.targetPosition-e.data.startPosition),e.data.duration=("function"==typeof(i=e.duration)?i:function(){return i})(e.data.delta),e.data.duration=isNaN(parseFloat(e.data.duration))?1e3:parseFloat(e.data.duration),e.data.to=n,e.data.target=r;var s=l(e),p=h.bind(null,s,e);e&&e.delay>0?e.data.delayTimeout=window.setTimeout((function(){a.default.registered.begin&&a.default.registered.begin(e.data.to,e.data.target),c.call(window,p)}),e.delay):(a.default.registered.begin&&a.default.registered.begin(e.data.to,e.data.target),c.call(window,p))}else a.default.registered.end&&a.default.registered.end(e.data.to,e.data.target,e.data.currentPosition)},f=function(t){return(t=r({},t)).data=t.data||{currentPosition:0,startPosition:0,targetPosition:0,progress:0,duration:0,cancel:!1,target:null,containerElement:null,to:null,start:null,delta:null,percent:null,delayTimeout:null},t.absolute=!0,t};e.default={animateTopScroll:p,getAnimationType:l,scrollToTop:function(t){p(0,f(t))},scrollToBottom:function(t){t=f(t),m(t),p(t.horizontal?function(t){var e=t.data.containerElement;if(e&&e!==document&&e!==document.body)return e.scrollWidth-e.offsetWidth;var n=document.body,r=document.documentElement;return Math.max(n.scrollWidth,n.offsetWidth,r.clientWidth,r.scrollWidth,r.offsetWidth)}(t):function(t){var e=t.data.containerElement;if(e&&e!==document&&e!==document.body)return e.scrollHeight-e.offsetHeight;var n=document.body,r=document.documentElement;return Math.max(n.scrollHeight,n.offsetHeight,r.clientHeight,r.scrollHeight,r.offsetHeight)}(t),t)},scrollTo:function(t,e){p(t,f(e))},scrollMore:function(t,e){e=f(e),m(e);var n=e.horizontal?u(e):d(e);p(t+n,e)}}},140:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(5236),i=["mousedown","mousewheel","touchmove","keydown"];e.default={subscribe:function(t){return"undefined"!=typeof document&&i.forEach((function(e){return(0,r.addPassiveEventListener)(document,e,t)}))}}},5236:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.addPassiveEventListener=function(t,e,n){var r=function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("test",null,e)}catch(n){}return t}();t.addEventListener(e,n,!!r&&{passive:!0})},e.removePassiveEventListener=function(t,e,n){t.removeEventListener(e,n)}},8e3:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=Object.assign||function(t){for(var e=1;e=Math.floor(d)&&f=Math.floor(h)}else{var g=0,v=0,y=0;if(i.getBoundingClientRect)y=i.getBoundingClientRect().top;if(!s||t.props.isDynamic){if(!(s=n.get(a)))return;var b=s.getBoundingClientRect();v=(g=b.top-y+r)+b.height}var x=r-t.props.offset;l=x>=Math.floor(g)&&x=Math.floor(v)}var w=n.getActiveLink();if(u){if(a===w&&n.setActiveLink(void 0),t.props.hashSpy&&c.default.getHash()===a){var E=t.props.saveHashHistory,k=void 0!==E&&E;c.default.changeHash("",k)}t.props.spy&&t.state.active&&(t.setState({active:!1}),t.props.onSetInactive&&t.props.onSetInactive(a,s))}if(l&&(w!==a||!1===t.state.active)){n.setActiveLink(a);var C=t.props.saveHashHistory,P=void 0!==C&&C;t.props.hashSpy&&c.default.changeHash(a,P),t.props.spy&&(t.setState({active:!0}),t.props.onSetActive&&t.props.onSetActive(a,s))}}}};return l.propTypes=d,l.defaultProps={offset:0},l}},7606:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,i=n(3096),o=(r=i)&&r.__esModule?r:{default:r},a=n(5236);var s={spyCallbacks:[],spySetState:[],scrollSpyContainers:[],mount:function(t,e){if(t){var n=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:66;return(0,o.default)(t,e)}((function(e){s.scrollHandler(t)}),e);s.scrollSpyContainers.push(t),(0,a.addPassiveEventListener)(t,"scroll",n)}},isMounted:function(t){return-1!==s.scrollSpyContainers.indexOf(t)},currentPositionX:function(t){if(t===document){var e=void 0!==window.pageYOffset,n="CSS1Compat"===(document.compatMode||"");return e?window.pageXOffset:n?document.documentElement.scrollLeft:document.body.scrollLeft}return t.scrollLeft},currentPositionY:function(t){if(t===document){var e=void 0!==window.pageXOffset,n="CSS1Compat"===(document.compatMode||"");return e?window.pageYOffset:n?document.documentElement.scrollTop:document.body.scrollTop}return t.scrollTop},scrollHandler:function(t){(s.scrollSpyContainers[s.scrollSpyContainers.indexOf(t)].spyCallbacks||[]).forEach((function(e){return e(s.currentPositionX(t),s.currentPositionY(t))}))},addStateHandler:function(t){s.spySetState.push(t)},addSpyHandler:function(t,e){var n=s.scrollSpyContainers[s.scrollSpyContainers.indexOf(e)];n.spyCallbacks||(n.spyCallbacks=[]),n.spyCallbacks.push(t),t(s.currentPositionX(e),s.currentPositionY(e))},updateStates:function(){s.spySetState.forEach((function(t){return t()}))},unmount:function(t,e){s.scrollSpyContainers.forEach((function(t){return t.spyCallbacks&&t.spyCallbacks.length&&t.spyCallbacks.indexOf(e)>-1&&t.spyCallbacks.splice(t.spyCallbacks.indexOf(e),1)})),s.spySetState&&s.spySetState.length&&s.spySetState.indexOf(t)>-1&&s.spySetState.splice(s.spySetState.indexOf(t),1),document.removeEventListener("scroll",s.scrollHandler)},update:function(){return s.scrollSpyContainers.forEach((function(t){return s.scrollHandler(t)}))}};e.default=s},2628:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=Object.assign||function(t){for(var e=1;e{e.delete(t)}},start(n,i){(0,r.k)(t,"controls.start() should only be called after a component has mounted. Consider calling within a useEffect hook.");const a=[];return e.forEach((t=>{a.push((0,o.d)(t,n,{transitionOverride:i}))})),Promise.all(a)},set(n){return(0,r.k)(t,"controls.set() should only be called after a component has mounted. Consider calling within a useEffect hook."),e.forEach((t=>{(0,i.gg)(t,n)}))},stop(){e.forEach((t=>{!function(t){t.values.forEach((t=>t.stop()))}(t)}))},mount(){return t=!0,()=>{t=!1,n.stop()}}};return n}var s=n(6681),l=n(8868);const c=function(){const t=(0,s.h)(a);return(0,l.L)(t.mount,[]),t}},9912:function(t,e,n){"use strict";n.d(e,{v:function(){return Dt}});var r=n(5487),i=n(6917);const o=!1,a=t=>Array.isArray(t)&&"number"==typeof t[0];function s(t){return Boolean(!t||"string"==typeof t&&c[t]||a(t)||Array.isArray(t)&&t.every(s))}const l=([t,e,n,r])=>`cubic-bezier(${t}, ${e}, ${n}, ${r})`,c={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:l([0,.65,.55,1]),circOut:l([.55,0,1,.45]),backIn:l([.31,.01,.66,-.59]),backOut:l([.33,1.53,.69,.99])};function u(t){if(t)return a(t)?l(t):Array.isArray(t)?t.map(u):c[t]}var d=n(1662);const h=(t,e,n)=>(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t,m=1e-7,p=12;function f(t,e,n,r){if(t===e&&n===r)return d.Z;const i=e=>function(t,e,n,r,i){let o,a,s=0;do{a=e+(n-e)/2,o=h(a,r,i)-t,o>0?n=a:e=a}while(Math.abs(o)>m&&++s0===t||1===t?t:h(i(t),e,r)}const g=f(.42,0,1,1),v=f(0,0,.58,1),y=f(.42,0,.58,1),b=t=>Array.isArray(t)&&"number"!=typeof t[0];var x=n(7255),w=n(415),E=n(5129);const k=f(.33,1.53,.69,.99),C=(0,E.M)(k),P=(0,w.o)(C),S={linear:d.Z,easeIn:g,easeInOut:y,easeOut:v,circIn:x.Z7,circInOut:x.X7,circOut:x.Bn,backIn:C,backInOut:P,backOut:k,anticipate:t=>(t*=2)<1?.5*C(t):.5*(2-Math.pow(2,-10*(t-1)))},M=t=>{if(Array.isArray(t)){(0,r.k)(4===t.length,"Cubic bezier arrays must contain four numerical values.");const[e,n,i,o]=t;return f(e,n,i,o)}return"string"==typeof t?((0,r.k)(void 0!==S[t],`Invalid easing type '${t}'`),S[t]):t};var T=n(5385),A=n(4169),V=n(22);function j(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}var O=n(6382),D=n(819),L=n(3184);const R=(t,e,n)=>{const r=t*t;return Math.sqrt(Math.max(0,n*(e*e-r)+r))},I=[O.$,D.m,L.J];function B(t){const e=(n=t,I.find((t=>t.test(n))));var n;(0,r.k)(Boolean(e),`'${t}' is not an animatable color. Use the equivalent color code instead.`);let i=e.parse(t);return e===L.J&&(i=function({hue:t,saturation:e,lightness:n,alpha:r}){t/=360,n/=100;let i=0,o=0,a=0;if(e/=100){const r=n<.5?n*(1+e):n+e-n*e,s=2*n-r;i=j(s,r,t+1/3),o=j(s,r,t),a=j(s,r,t-1/3)}else i=o=a=n;return{red:Math.round(255*i),green:Math.round(255*o),blue:Math.round(255*a),alpha:r}}(i)),i}const z=(t,e)=>{const n=B(t),r=B(e),i={...n};return t=>(i.red=R(n.red,r.red,t),i.green=R(n.green,r.green,t),i.blue=R(n.blue,r.blue,t),i.alpha=(0,V.C)(n.alpha,r.alpha,t),D.m.transform(i))};var F=n(3624),_=n(1550);const W=(t,e)=>n=>`${n>0?e:t}`;function H(t,e){return"number"==typeof t?n=>(0,V.C)(t,e,n):T.$.test(t)?z(t,e):t.startsWith("var(")?W(t,e):N(t,e)}const X=(t,e)=>{const n=[...t],r=n.length,i=t.map(((t,n)=>H(t,e[n])));return t=>{for(let e=0;e{const n={...t,...e},r={};for(const i in n)void 0!==t[i]&&void 0!==e[i]&&(r[i]=H(t[i],e[i]));return t=>{for(const e in r)n[e]=r[e](t);return n}},N=(t,e)=>{const n=_.P.createTransformer(e),i=(0,_.V)(t),o=(0,_.V)(e);return i.numVars===o.numVars&&i.numColors===o.numColors&&i.numNumbers>=o.numNumbers?(0,F.z)(X(i.values,o.values),n):((0,r.K)(!0,`Complex values '${t}' and '${e}' 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.`),W(t,e))};var $=n(3967);const Z=(t,e)=>n=>(0,V.C)(t,e,n);function Y(t,e,n){const r=[],i=n||("number"==typeof(o=t[0])?Z:"string"==typeof o?T.$.test(o)?z:N:Array.isArray(o)?X:"object"==typeof o?U:Z);var o;const a=t.length-1;for(let s=0;se[0];t[0]>t[a-1]&&(t=[...t].reverse(),e=[...e].reverse());const s=Y(e,i,o),l=s.length,c=e=>{let n=0;if(l>1)for(;nc((0,A.u)(t[0],t[a-1],e)):c}function q(t){const e=[0];return function(t,e){const n=t[t.length-1];for(let r=1;r<=e;r++){const i=(0,$.Y)(0,e,r);t.push((0,V.C)(n,1,i))}}(e,t.length-1),e}function K({duration:t=300,keyframes:e,times:n,ease:r="easeInOut"}){const i=b(r)?r.map(M):M(r),o={done:!1,value:e[0]},a=function(t,e){return t.map((t=>t*e))}(n&&n.length===e.length?n:q(e),t),s=G(a,e,{ease:Array.isArray(i)?i:(l=e,c=i,l.map((()=>c||y)).splice(0,l.length-1))});var l,c;return{calculatedDuration:t,next:e=>(o.value=s(e),o.done=e>=t,o)}}var Q=n(3038);const J=5;function tt(t,e,n){const r=Math.max(e-J,0);return(0,Q.R)(n-t(r),e-r)}const et=.001,nt=.01,rt=10,it=.05,ot=1;function at({duration:t=800,bounce:e=.25,velocity:n=0,mass:o=1}){let a,s;(0,r.K)(t<=(0,i.w)(rt),"Spring duration must be 10 seconds or less");let l=1-e;l=(0,A.u)(it,ot,l),t=(0,A.u)(nt,rt,(0,i.X)(t)),l<1?(a=e=>{const r=e*l,i=r*t,o=r-n,a=lt(e,l),s=Math.exp(-i);return et-o/a*s},s=e=>{const r=e*l*t,i=r*n+n,o=Math.pow(l,2)*Math.pow(e,2)*t,s=Math.exp(-r),c=lt(Math.pow(e,2),l);return(-a(e)+et>0?-1:1)*((i-o)*s)/c}):(a=e=>Math.exp(-e*t)*((e-n)*t+1)-et,s=e=>Math.exp(-e*t)*(t*t*(n-e)));const c=function(t,e,n){let r=n;for(let i=1;ivoid 0!==t[e]))}function ht({keyframes:t,restDelta:e,restSpeed:n,...r}){const o=t[0],a=t[t.length-1],s={done:!1,value:o},{stiffness:l,damping:c,mass:u,velocity:d,duration:h,isResolvedFromDuration:m}=function(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!dt(t,ut)&&dt(t,ct)){const n=at(t);e={...e,...n,velocity:0,mass:1},e.isResolvedFromDuration=!0}return e}(r),p=d?-(0,i.X)(d):0,f=c/(2*Math.sqrt(l*u)),g=a-o,v=(0,i.X)(Math.sqrt(l/u)),y=Math.abs(g)<5;let b;if(n||(n=y?.01:2),e||(e=y?.005:.5),f<1){const t=lt(v,f);b=e=>{const n=Math.exp(-f*v*e);return a-n*((p+f*v*g)/t*Math.sin(t*e)+g*Math.cos(t*e))}}else if(1===f)b=t=>a-Math.exp(-v*t)*(g+(p+v*g)*t);else{const t=v*Math.sqrt(f*f-1);b=e=>{const n=Math.exp(-f*v*e),r=Math.min(t*e,300);return a-n*((p+f*v*g)*Math.sinh(r)+t*g*Math.cosh(r))/t}}return{calculatedDuration:m&&h||null,next:t=>{const r=b(t);if(m)s.done=t>=h;else{let i=p;0!==t&&(i=f<1?tt(b,t,r):0);const o=Math.abs(i)<=n,l=Math.abs(a-r)<=e;s.done=o&&l}return s.value=s.done?a:r,s}}}function mt({keyframes:t,velocity:e=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:a,min:s,max:l,restDelta:c=.5,restSpeed:u}){const d=t[0],h={done:!1,value:d},m=t=>void 0===s?l:void 0===l||Math.abs(s-t)-p*Math.exp(-t/r),y=t=>g+v(t),b=t=>{const e=v(t),n=y(t);h.done=Math.abs(e)<=c,h.value=h.done?g:n};let x,w;const E=t=>{var e;(e=h.value,void 0!==s&&el)&&(x=t,w=ht({keyframes:[h.value,m(h.value)],velocity:tt(y,t,h.value),damping:i,stiffness:o,restDelta:c,restSpeed:u}))};return E(0),{calculatedDuration:null,next:t=>{let e=!1;return w||void 0!==x||(e=!0,b(t),E(t)),void 0!==x&&t>x?w.next(t-x):(!e&&b(t),h)}}}var pt=n(5618);const ft=t=>{const e=({timestamp:e})=>t(e);return{start:()=>pt.Wi.update(e,!0),stop:()=>(0,pt.Pn)(e),now:()=>pt.frameData.isProcessing?pt.frameData.timestamp:performance.now()}},gt=2e4;function vt(t){let e=0;let n=t.next(e);for(;!n.done&&e=gt?1/0:e}const yt={decay:mt,inertia:mt,tween:K,keyframes:K,spring:ht};function bt({autoplay:t=!0,delay:e=0,driver:n=ft,keyframes:r,type:o="keyframes",repeat:a=0,repeatDelay:s=0,repeatType:l="loop",onPlay:c,onStop:u,onComplete:d,onUpdate:h,...m}){let p,f,g=1,v=!1;const y=()=>{f=new Promise((t=>{p=t}))};let b;y();const x=yt[o]||K;let w;x!==K&&"number"!=typeof r[0]&&(w=G([0,100],r,{clamp:!1}),r=[0,100]);const E=x({...m,keyframes:r});let k;"mirror"===l&&(k=x({...m,keyframes:[...r].reverse(),velocity:-(m.velocity||0)}));let C="idle",P=null,S=null,M=null;null===E.calculatedDuration&&a&&(E.calculatedDuration=vt(E));const{calculatedDuration:T}=E;let V=1/0,j=1/0;null!==T&&(V=T+s,j=V*(a+1)-s);let O=0;const D=t=>{if(null===S)return;g>0&&(S=Math.min(S,t)),g<0&&(S=Math.min(t-j/g,S)),O=null!==P?P:Math.round(t-S)*g;const n=O-e*(g>=0?1:-1),i=g>=0?n<0:n>j;O=Math.max(n,0),"finished"===C&&null===P&&(O=j);let o=O,c=E;if(a){const t=O/V;let e=Math.floor(t),n=t%1;!n&&t>=1&&(n=1),1===n&&e--,e=Math.min(e,a+1);const r=Boolean(e%2);r&&("reverse"===l?(n=1-n,s&&(n-=s/V)):"mirror"===l&&(c=k));let i=(0,A.u)(0,1,n);O>j&&(i="reverse"===l&&r?1:0),o=i*V}const u=i?{done:!1,value:r[0]}:c.next(o);w&&(u.value=w(u.value));let{done:d}=u;i||null===T||(d=g>=0?O>=j:O<=0);const m=null===P&&("finished"===C||"running"===C&&d);return h&&h(u.value),m&&I(),u},L=()=>{b&&b.stop(),b=void 0},R=()=>{C="idle",L(),p(),y(),S=M=null},I=()=>{C="finished",d&&d(),L(),p()},B=()=>{if(v)return;b||(b=n(D));const t=b.now();c&&c(),null!==P?S=t-P:S&&"finished"!==C||(S=t),"finished"===C&&y(),M=S,P=null,C="running",b.start()};t&&B();const z={then(t,e){return f.then(t,e)},get time(){return(0,i.X)(O)},set time(t){t=(0,i.w)(t),O=t,null===P&&b&&0!==g?S=b.now()-t/g:P=t},get duration(){const t=null===E.calculatedDuration?vt(E):E.calculatedDuration;return(0,i.X)(t)},get speed(){return g},set speed(t){t!==g&&b&&(g=t,z.time=(0,i.X)(O))},get state(){return C},play:B,pause:()=>{C="paused",P=O},stop:()=>{v=!0,"idle"!==C&&(C="idle",u&&u(),R())},cancel:()=>{null!==M&&D(M),R()},complete:()=>{C="finished"},sample:t=>(S=0,D(t))};return z}const xt=function(t){let e;return()=>(void 0===e&&(e=t()),e)}((()=>Object.hasOwnProperty.call(Element.prototype,"animate"))),wt=new Set(["opacity","clipPath","filter","transform","backgroundColor"]);function Et(t,e,{onUpdate:n,onComplete:r,...o}){if(!(xt()&&wt.has(e)&&!o.repeatDelay&&"mirror"!==o.repeatType&&0!==o.damping&&"inertia"!==o.type))return!1;let a,l,c=!1;const h=()=>{l=new Promise((t=>{a=t}))};h();let{keyframes:m,duration:p=300,ease:f,times:g}=o;if(((t,e)=>"spring"===e.type||"backgroundColor"===t||!s(e.ease))(e,o)){const t=bt({...o,repeat:0,delay:0});let e={done:!1,value:m[0]};const n=[];let r=0;for(;!e.done&&r<2e4;)e=t.sample(r),n.push(e.value),r+=10;g=void 0,m=n,p=r-10,f="linear"}const v=function(t,e,n,{delay:r=0,duration:i,repeat:o=0,repeatType:a="loop",ease:s,times:l}={}){const c={[e]:n};l&&(c.offset=l);const d=u(s);return Array.isArray(d)&&(c.easing=d),t.animate(c,{delay:r,duration:i,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:o+1,direction:"reverse"===a?"alternate":"normal"})}(t.owner.current,e,m,{...o,duration:p,ease:f,times:g});o.syncStart&&(v.startTime=pt.frameData.isProcessing?pt.frameData.timestamp:document.timeline?document.timeline.currentTime:performance.now());const y=()=>v.cancel(),b=()=>{pt.Wi.update(y),a(),h()};v.onfinish=()=>{t.set(function(t,{repeat:e,repeatType:n="loop"}){return t[e&&"loop"!==n&&e%2==1?0:t.length-1]}(m,o)),r&&r(),b()};return{then(t,e){return l.then(t,e)},attachTimeline(t){return v.timeline=t,v.onfinish=null,d.Z},get time(){return(0,i.X)(v.currentTime||0)},set time(t){v.currentTime=(0,i.w)(t)},get speed(){return v.playbackRate},set speed(t){v.playbackRate=t},get duration(){return(0,i.X)(p)},play:()=>{c||(v.play(),(0,pt.Pn)(y))},pause:()=>v.pause(),stop:()=>{if(c=!0,"idle"===v.playState)return;const{currentTime:e}=v;if(e){const n=bt({...o,autoplay:!1});t.setWithVelocity(n.sample(e-10).value,n.sample(e).value,10)}b()},complete:()=>v.finish(),cancel:b}}var kt=n(4714);const Ct={type:"spring",stiffness:500,damping:25,restSpeed:10},Pt={type:"keyframes",duration:.8},St={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Mt=(t,{keyframes:e})=>e.length>2?Pt:kt.G.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:Ct:St,Tt=(t,e)=>"zIndex"!==t&&(!("number"!=typeof e&&!Array.isArray(e))||!("string"!=typeof e||!_.P.test(e)&&"0"!==e||e.startsWith("url(")));var At=n(9135),Vt=n(681);function jt(t){return"number"==typeof t?0===t:null!==t?"none"===t||"0"===t||(0,Vt.W)(t):void 0}var Ot=n(1056);const Dt=(t,e,n,a={})=>s=>{const l=(0,Ot.e)(a,t)||{},c=l.delay||a.delay||0;let{elapsed:u=0}=a;u-=(0,i.w)(c);const h=function(t,e,n,r){const i=Tt(e,n);let o;o=Array.isArray(n)?[...n]:[null,n];const a=void 0!==r.from?r.from:t.get();let s;const l=[];for(let c=0;c{e.set(t),l.onUpdate&&l.onUpdate(t)},onComplete:()=>{s(),l.onComplete&&l.onComplete()}};if((0,Ot.r)(l)||(v={...v,...Mt(t,v)}),v.duration&&(v.duration=(0,i.w)(v.duration)),v.repeatDelay&&(v.repeatDelay=(0,i.w)(v.repeatDelay)),!f||!g||o||!1===l.type)return function({keyframes:t,delay:e,onUpdate:n,onComplete:r}){const i=()=>(n&&n(t[t.length-1]),r&&r(),{time:0,speed:1,duration:0,play:d.Z,pause:d.Z,stop:d.Z,then:t=>(t(),Promise.resolve()),cancel:d.Z,complete:d.Z});return e?bt({keyframes:[0,1],duration:0,delay:e,onComplete:i}):i()}(o?{...v,delay:0}:v);if(e.owner&&e.owner.current instanceof HTMLElement&&!e.owner.getProps().onUpdate){const n=Et(e,t,v);if(n)return n}return bt(v)}},6173:function(t,e,n){"use strict";n.d(e,{d:function(){return p}});var r=n(2248),i=n(4714);const o="data-"+(0,n(3193).D)("framerAppearId");var a=n(9912),s=n(2490),l=n(461),c=n(5618);function u({protectedKeys:t,needsAnimating:e},n){const r=t.hasOwnProperty(n)&&!0!==e[n];return e[n]=!1,r}function d(t,e,{delay:n=0,transitionOverride:r,type:d}={}){let{transition:h=t.getDefaultTransition(),transitionEnd:m,...p}=t.makeTargetAnimatable(e);const f=t.getValue("willChange");r&&(h=r);const g=[],v=d&&t.animationState&&t.animationState.getState()[d];for(const l in p){const e=t.getValue(l),r=p[l];if(!e||void 0===r||v&&u(v,l))continue;const d={delay:n,elapsed:0,...h};if(window.HandoffAppearAnimations&&!e.hasAnimated){const n=t.getProps()[o];n&&(d.elapsed=window.HandoffAppearAnimations(n,l,e,c.Wi),d.syncStart=!0)}e.start((0,a.v)(l,e,r,t.shouldReduceMotion&&i.G.has(l)?{type:!1}:d));const m=e.animation;(0,s.L)(f)&&(f.add(l),m.then((()=>f.remove(l)))),g.push(m)}return m&&Promise.all(g).then((()=>{m&&(0,l.CD)(t,m)})),g}function h(t,e,n={}){const i=(0,r.x)(t,e,n.custom);let{transition:o=t.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(o=n.transitionOverride);const a=i?()=>Promise.all(d(t,i,n)):()=>Promise.resolve(),s=t.variantChildren&&t.variantChildren.size?(r=0)=>{const{delayChildren:i=0,staggerChildren:a,staggerDirection:s}=o;return function(t,e,n=0,r=0,i=1,o){const a=[],s=(t.variantChildren.size-1)*r,l=1===i?(t=0)=>t*r:(t=0)=>s-t*r;return Array.from(t.variantChildren).sort(m).forEach(((t,r)=>{t.notify("AnimationStart",e),a.push(h(t,e,{...o,delay:n+l(r)}).then((()=>t.notify("AnimationComplete",e))))})),Promise.all(a)}(t,e,i+r,a,s,n)}:()=>Promise.resolve(),{when:l}=o;if(l){const[t,e]="beforeChildren"===l?[a,s]:[s,a];return t().then((()=>e()))}return Promise.all([a(),s(n.delay)])}function m(t,e){return t.sortNodePosition(e)}function p(t,e,n={}){let i;if(t.notify("AnimationStart",e),Array.isArray(e)){const r=e.map((e=>h(t,e,n)));i=Promise.all(r)}else if("string"==typeof e)i=h(t,e,n);else{const o="function"==typeof e?(0,r.x)(t,e,n.custom):e;i=Promise.all(d(t,o,n))}return i.then((()=>t.notify("AnimationComplete",e)))}},8488:function(t,e,n){"use strict";n.d(e,{C:function(){return r}});const r=t=>Array.isArray(t)},1056:function(t,e,n){"use strict";function r({when:t,delay:e,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:o,repeatType:a,repeatDelay:s,from:l,elapsed:c,...u}){return!!Object.keys(u).length}function i(t,e){return t[e]||t.default||t}n.d(e,{e:function(){return i},r:function(){return r}})},7255:function(t,e,n){"use strict";n.d(e,{Bn:function(){return a},X7:function(){return s},Z7:function(){return o}});var r=n(415),i=n(5129);const o=t=>1-Math.sin(Math.acos(t)),a=(0,i.M)(o),s=(0,r.o)(a)},415:function(t,e,n){"use strict";n.d(e,{o:function(){return r}});const r=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2},5129:function(t,e,n){"use strict";n.d(e,{M:function(){return r}});const r=t=>e=>1-t(1-e)},5618:function(t,e,n){"use strict";n.d(e,{Pn:function(){return s},Wi:function(){return a},frameData:function(){return l},S6:function(){return c}});var r=n(1662);class i{constructor(){this.order=[],this.scheduled=new Set}add(t){if(!this.scheduled.has(t))return this.scheduled.add(t),this.order.push(t),!0}remove(t){const e=this.order.indexOf(t);-1!==e&&(this.order.splice(e,1),this.scheduled.delete(t))}clear(){this.order.length=0,this.scheduled.clear()}}const o=["prepare","read","update","preRender","render","postRender"];const{schedule:a,cancel:s,state:l,steps:c}=function(t,e){let n=!1,r=!0;const a={delta:0,timestamp:0,isProcessing:!1},s=o.reduce(((t,e)=>(t[e]=function(t){let e=new i,n=new i,r=0,o=!1,a=!1;const s=new WeakSet,l={schedule:(t,i=!1,a=!1)=>{const l=a&&o,c=l?e:n;return i&&s.add(t),c.add(t)&&l&&o&&(r=e.order.length),t},cancel:t=>{n.remove(t),s.delete(t)},process:i=>{if(o)a=!0;else{if(o=!0,[e,n]=[n,e],n.clear(),r=e.order.length,r)for(let n=0;nn=!0)),t)),{}),l=t=>s[t].process(a),c=()=>{const i=performance.now();n=!1,a.delta=r?1e3/60:Math.max(Math.min(i-a.timestamp,40),1),a.timestamp=i,a.isProcessing=!0,o.forEach(l),a.isProcessing=!1,n&&e&&(r=!1,t(c))};return{schedule:o.reduce(((e,i)=>{const o=s[i];return e[i]=(e,i=!1,s=!1)=>(n||(n=!0,r=!0,a.isProcessing||t(c)),o.schedule(e,i,s)),e}),{}),cancel:t=>o.forEach((e=>s[e].cancel(t))),state:a,steps:s}}("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:r.Z,!0)},3193:function(t,e,n){"use strict";n.d(e,{D:function(){return r}});const r=t=>t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()},7630:function(t,e,n){"use strict";n.d(e,{Xp:function(){return a},f9:function(){return i},tm:function(){return o}});const r=t=>e=>"string"==typeof e&&e.startsWith(t),i=r("--"),o=r("var(--"),a=/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g},9135:function(t,e,n){"use strict";n.d(e,{T:function(){return a}});var r=n(1550),i=n(7197),o=n(2728);function a(t,e){let n=(0,o.A)(t);return n!==i.h&&(n=r.P),n.getAnimatableNone?n.getAnimatableNone(e):void 0}},2728:function(t,e,n){"use strict";n.d(e,{A:function(){return a}});var r=n(5385),i=n(7197);const o={...n(6482).j,color:r.$,backgroundColor:r.$,outlineColor:r.$,fill:r.$,stroke:r.$,borderColor:r.$,borderTopColor:r.$,borderRightColor:r.$,borderBottomColor:r.$,borderLeftColor:r.$,filter:i.h,WebkitFilter:i.h},a=t=>o[t]},277:function(t,e,n){"use strict";n.d(e,{$:function(){return a},C:function(){return s}});var r=n(1649),i=n(6190),o=n(8340);const a=[r.Rx,i.px,i.aQ,i.RW,i.vw,i.vh,{test:t=>"auto"===t,parse:t=>t}],s=t=>a.find((0,o.l)(t))},6482:function(t,e,n){"use strict";n.d(e,{j:function(){return a}});var r=n(1649),i=n(6190);const o={...r.Rx,transform:Math.round},a={borderWidth:i.px,borderTopWidth:i.px,borderRightWidth:i.px,borderBottomWidth:i.px,borderLeftWidth:i.px,borderRadius:i.px,radius:i.px,borderTopLeftRadius:i.px,borderTopRightRadius:i.px,borderBottomRightRadius:i.px,borderBottomLeftRadius:i.px,width:i.px,maxWidth:i.px,height:i.px,maxHeight:i.px,size:i.px,top:i.px,right:i.px,bottom:i.px,left:i.px,padding:i.px,paddingTop:i.px,paddingRight:i.px,paddingBottom:i.px,paddingLeft:i.px,margin:i.px,marginTop:i.px,marginRight:i.px,marginBottom:i.px,marginLeft:i.px,rotate:i.RW,rotateX:i.RW,rotateY:i.RW,rotateZ:i.RW,scale:r.bA,scaleX:r.bA,scaleY:r.bA,scaleZ:r.bA,skew:i.RW,skewX:i.RW,skewY:i.RW,distance:i.px,translateX:i.px,translateY:i.px,translateZ:i.px,x:i.px,y:i.px,z:i.px,perspective:i.px,transformPerspective:i.px,opacity:r.Fq,originX:i.$C,originY:i.$C,originZ:i.px,zIndex:o,fillOpacity:r.Fq,strokeOpacity:r.Fq,numOctaves:o}},8340:function(t,e,n){"use strict";n.d(e,{l:function(){return r}});const r=t=>e=>e.test(t)},4714:function(t,e,n){"use strict";n.d(e,{G:function(){return i},_:function(){return r}});const r=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],i=new Set(r)},2248:function(t,e,n){"use strict";n.d(e,{x:function(){return i}});var r=n(9432);function i(t,e,n){const i=t.getProps();return(0,r.o)(i,e,void 0!==n?n:i.custom,function(t){const e={};return t.values.forEach(((t,n)=>e[n]=t.get())),e}(t),function(t){const e={};return t.values.forEach(((t,n)=>e[n]=t.getVelocity())),e}(t))}},9432:function(t,e,n){"use strict";function r(t,e,n,r={},i={}){return"function"==typeof e&&(e=e(void 0!==n?n:t.custom,r,i)),"string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e&&(e=e(void 0!==n?n:t.custom,r,i)),e}n.d(e,{o:function(){return r}})},461:function(t,e,n){"use strict";n.d(e,{GJ:function(){return b},P$:function(){return w},CD:function(){return g},gg:function(){return y}});var r=n(3441),i=n(681),o=n(8715),a=n(3234),s=n(1550),l=n(9135),c=n(5385),u=n(277),d=n(8340);const h=[...u.$,c.$,s.P],m=t=>h.find((0,d.l)(t));var p=n(2248);function f(t,e,n){t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,(0,a.BX)(n))}function g(t,e){const n=(0,p.x)(t,e);let{transitionEnd:r={},transition:i={},...a}=n?t.makeTargetAnimatable(n,!1):{};a={...a,...r};for(const s in a){f(t,s,(0,o.Y)(a[s]))}}function v(t,e){[...e].reverse().forEach((n=>{const r=t.getVariant(n);r&&g(t,r),t.variantChildren&&t.variantChildren.forEach((t=>{v(t,e)}))}))}function y(t,e){return Array.isArray(e)?v(t,e):"string"==typeof e?v(t,[e]):void g(t,e)}function b(t,e,n){var o,c;const u=Object.keys(e).filter((e=>!t.hasValue(e))),d=u.length;if(d)for(let h=0;h-1&&t.splice(n,1)}n.d(e,{cl:function(){return i},y4:function(){return r}})},4169:function(t,e,n){"use strict";n.d(e,{u:function(){return r}});const r=(t,e,n)=>Math.min(Math.max(n,t),e)},5487:function(t,e,n){"use strict";n.d(e,{K:function(){return i},k:function(){return o}});var r=n(1662);let i=r.Z,o=r.Z},1741:function(t,e,n){"use strict";n.d(e,{j:function(){return r}});const r="undefined"!=typeof document},3441:function(t,e,n){"use strict";n.d(e,{P:function(){return r}});const r=t=>/^\-?\d*\.?\d+$/.test(t)},681:function(t,e,n){"use strict";n.d(e,{W:function(){return r}});const r=t=>/^0[^.\s]+$/.test(t)},22:function(t,e,n){"use strict";n.d(e,{C:function(){return r}});const r=(t,e,n)=>-n*t+n*e+t},1662:function(t,e,n){"use strict";n.d(e,{Z:function(){return r}});const r=t=>t},3624:function(t,e,n){"use strict";n.d(e,{z:function(){return i}});const r=(t,e)=>n=>e(t(n)),i=(...t)=>t.reduce(r)},3967:function(t,e,n){"use strict";n.d(e,{Y:function(){return r}});const r=(t,e,n)=>{const r=e-t;return 0===r?1:(n-t)/r}},8715:function(t,e,n){"use strict";n.d(e,{Y:function(){return o},p:function(){return i}});var r=n(8488);const i=t=>Boolean(t&&"object"==typeof t&&t.mix&&t.toValue),o=t=>(0,r.C)(t)?t[t.length-1]||0:t},1560:function(t,e,n){"use strict";n.d(e,{L:function(){return i}});var r=n(10);class i{constructor(){this.subscriptions=[]}add(t){return(0,r.y4)(this.subscriptions,t),()=>(0,r.cl)(this.subscriptions,t)}notify(t,e,n){const r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](t,e,n);else for(let i=0;i1e3*t,i=t=>t/1e3},6681:function(t,e,n){"use strict";n.d(e,{h:function(){return i}});var r=n(7294);function i(t){const e=(0,r.useRef)(null);return null===e.current&&(e.current=t()),e.current}},8868:function(t,e,n){"use strict";n.d(e,{L:function(){return i}});var r=n(7294);const i=n(1741).j?r.useLayoutEffect:r.useEffect},3038:function(t,e,n){"use strict";function r(t,e){return e?t*(1e3/e):0}n.d(e,{R:function(){return r}})},3234:function(t,e,n){"use strict";n.d(e,{BX:function(){return l}});var r=n(1560),i=n(3038),o=n(5618);const a={current:void 0};class s{constructor(t,e={}){var n;this.version="10.16.4",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(t,e=!0)=>{this.prev=this.current,this.current=t;const{delta:n,timestamp:r}=o.frameData;this.lastUpdated!==r&&(this.timeDelta=n,this.lastUpdated=r,o.Wi.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),e&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>o.Wi.postRender(this.velocityCheck),this.velocityCheck=({timestamp:t})=>{t!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=(n=this.current,!isNaN(parseFloat(n))),this.owner=e.owner}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new r.L);const n=this.events[t].add(e);return"change"===t?()=>{n(),o.Wi.read((()=>{this.events.change.getSize()||this.stop()}))}:n}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t,e=!0){e&&this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,e)}setWithVelocity(t,e,n){this.set(e),this.prev=t,this.timeDelta=n}jump(t){this.updateAndNotify(t),this.prev=t,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return a.current&&a.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?(0,i.R)(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(t){return this.stop(),new Promise((e=>{this.hasAnimated=!0,this.animation=t(e),this.events.animationStart&&this.events.animationStart.notify()})).then((()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()}))}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function l(t,e){return new s(t,e)}},6382:function(t,e,n){"use strict";n.d(e,{$:function(){return i}});var r=n(819);const i={test:(0,n(8834).i)("#"),parse:function(t){let e="",n="",r="",i="";return t.length>5?(e=t.substring(1,3),n=t.substring(3,5),r=t.substring(5,7),i=t.substring(7,9)):(e=t.substring(1,2),n=t.substring(2,3),r=t.substring(3,4),i=t.substring(4,5),e+=e,n+=n,r+=r,i+=i),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}},transform:r.m.transform}},3184:function(t,e,n){"use strict";n.d(e,{J:function(){return s}});var r=n(1649),i=n(6190),o=n(6430),a=n(8834);const s={test:(0,a.i)("hsl","hue"),parse:(0,a.d)("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:a=1})=>"hsla("+Math.round(t)+", "+i.aQ.transform((0,o.Nw)(e))+", "+i.aQ.transform((0,o.Nw)(n))+", "+(0,o.Nw)(r.Fq.transform(a))+")"}},5385:function(t,e,n){"use strict";n.d(e,{$:function(){return s}});var r=n(6430),i=n(6382),o=n(3184),a=n(819);const s={test:t=>a.m.test(t)||i.$.test(t)||o.J.test(t),parse:t=>a.m.test(t)?a.m.parse(t):o.J.test(t)?o.J.parse(t):i.$.parse(t),transform:t=>(0,r.HD)(t)?t:t.hasOwnProperty("red")?a.m.transform(t):o.J.transform(t)}},819:function(t,e,n){"use strict";n.d(e,{m:function(){return l}});var r=n(4169),i=n(1649),o=n(6430),a=n(8834);const s={...i.Rx,transform:t=>Math.round((t=>(0,r.u)(0,255,t))(t))},l={test:(0,a.i)("rgb","red"),parse:(0,a.d)("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:r=1})=>"rgba("+s.transform(t)+", "+s.transform(e)+", "+s.transform(n)+", "+(0,o.Nw)(i.Fq.transform(r))+")"}},8834:function(t,e,n){"use strict";n.d(e,{d:function(){return o},i:function(){return i}});var r=n(6430);const i=(t,e)=>n=>Boolean((0,r.HD)(n)&&r.mj.test(n)&&n.startsWith(t)||e&&Object.prototype.hasOwnProperty.call(n,e)),o=(t,e,n)=>i=>{if(!(0,r.HD)(i))return i;const[o,a,s,l]=i.match(r.KP);return{[t]:parseFloat(o),[e]:parseFloat(a),[n]:parseFloat(s),alpha:void 0!==l?parseFloat(l):1}}},7197:function(t,e,n){"use strict";n.d(e,{h:function(){return l}});var r=n(1550),i=n(6430);const o=new Set(["brightness","contrast","saturate","opacity"]);function a(t){const[e,n]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;const[r]=n.match(i.KP)||[];if(!r)return t;const a=n.replace(r,"");let s=o.has(e)?1:0;return r!==n&&(s*=100),e+"("+s+a+")"}const s=/([a-z-]*)\(.*?\)/g,l={...r.P,getAnimatableNone:t=>{const e=t.match(s);return e?e.map(a).join(" "):t}}},1550:function(t,e,n){"use strict";n.d(e,{P:function(){return g},V:function(){return h}});var r=n(7630),i=n(1662),o=n(5385),a=n(1649),s=n(6430);const l={regex:r.Xp,countKey:"Vars",token:"${v}",parse:i.Z},c={regex:s.dA,countKey:"Colors",token:"${c}",parse:o.$.parse},u={regex:s.KP,countKey:"Numbers",token:"${n}",parse:a.Rx.parse};function d(t,{regex:e,countKey:n,token:r,parse:i}){const o=t.tokenised.match(e);o&&(t["num"+n]=o.length,t.tokenised=t.tokenised.replace(e,r),t.values.push(...o.map(i)))}function h(t){const e=t.toString(),n={value:e,tokenised:e,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&d(n,l),d(n,c),d(n,u),n}function m(t){return h(t).values}function p(t){const{values:e,numColors:n,numVars:r,tokenised:i}=h(t),a=e.length;return t=>{let e=i;for(let i=0;i"number"==typeof t?0:t;const g={test:function(t){var e,n;return isNaN(t)&&(0,s.HD)(t)&&((null===(e=t.match(s.KP))||void 0===e?void 0:e.length)||0)+((null===(n=t.match(s.dA))||void 0===n?void 0:n.length)||0)>0},parse:m,createTransformer:p,getAnimatableNone:function(t){const e=m(t);return p(t)(e.map(f))}}},1649:function(t,e,n){"use strict";n.d(e,{Fq:function(){return o},Rx:function(){return i},bA:function(){return a}});var r=n(4169);const i={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},o={...i,transform:t=>(0,r.u)(0,1,t)},a={...i,default:1}},6190:function(t,e,n){"use strict";n.d(e,{$C:function(){return u},RW:function(){return o},aQ:function(){return a},px:function(){return s},vh:function(){return l},vw:function(){return c}});var r=n(6430);const i=t=>({test:e=>(0,r.HD)(e)&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),o=i("deg"),a=i("%"),s=i("px"),l=i("vh"),c=i("vw"),u={...a,parse:t=>a.parse(t)/100,transform:t=>a.transform(100*t)}},6430:function(t,e,n){"use strict";n.d(e,{HD:function(){return s},KP:function(){return i},Nw:function(){return r},dA:function(){return o},mj:function(){return a}});const r=t=>Math.round(1e5*t)/1e5,i=/(-)?([\d]*\.?[\d])+/g,o=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,a=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function s(t){return"string"==typeof t}},2490:function(t,e,n){"use strict";n.d(e,{L:function(){return i}});var r=n(406);function i(t){return Boolean((0,r.i)(t)&&t.add)}},406:function(t,e,n){"use strict";n.d(e,{i:function(){return r}});const r=t=>Boolean(t&&t.getVelocity)},2708:function(t,e,n){"use strict";n.d(e,{YD:function(){return h}});var r=n(7294),i=Object.defineProperty,o=(t,e,n)=>(((t,e,n)=>{e in t?i(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n})(t,"symbol"!=typeof e?e+"":e,n),n),a=new Map,s=new WeakMap,l=0,c=void 0;function u(t){return Object.keys(t).sort().filter((e=>void 0!==t[e])).map((e=>{return`${e}_${"root"===e?(n=t.root,n?(s.has(n)||(l+=1,s.set(n,l.toString())),s.get(n)):"0"):t[e]}`;var n})).toString()}function d(t,e,n={},r=c){if(void 0===window.IntersectionObserver&&void 0!==r){const i=t.getBoundingClientRect();return e(r,{isIntersecting:r,target:t,intersectionRatio:"number"==typeof n.threshold?n.threshold:0,time:0,boundingClientRect:i,intersectionRect:i,rootBounds:i}),()=>{}}const{id:i,observer:o,elements:s}=function(t){let e=u(t),n=a.get(e);if(!n){const r=new Map;let i;const o=new IntersectionObserver((e=>{e.forEach((e=>{var n;const o=e.isIntersecting&&i.some((t=>e.intersectionRatio>=t));t.trackVisibility&&void 0===e.isVisible&&(e.isVisible=o),null==(n=r.get(e.target))||n.forEach((t=>{t(o,e)}))}))}),t);i=o.thresholds||(Array.isArray(t.threshold)?t.threshold:[t.threshold||0]),n={id:e,observer:o,elements:r},a.set(e,n)}return n}(n);let l=s.get(t)||[];return s.has(t)||s.set(t,l),l.push(e),o.observe(t),function(){l.splice(l.indexOf(e),1),0===l.length&&(s.delete(t),o.unobserve(t)),0===s.size&&(o.disconnect(),a.delete(i))}}r.Component;function h({threshold:t,delay:e,trackVisibility:n,rootMargin:i,root:o,triggerOnce:a,skip:s,initialInView:l,fallbackInView:c,onChange:u}={}){var h;const[m,p]=r.useState(null),f=r.useRef(),[g,v]=r.useState({inView:!!l,entry:void 0});f.current=u,r.useEffect((()=>{if(s||!m)return;let r;return r=d(m,((t,e)=>{v({inView:t,entry:e}),f.current&&f.current(t,e),e.isIntersecting&&a&&r&&(r(),r=void 0)}),{root:o,rootMargin:i,threshold:t,trackVisibility:n,delay:e},c),()=>{r&&r()}}),[Array.isArray(t)?t.toString():t,m,o,i,a,s,n,c,e]);const y=null==(h=g.entry)?void 0:h.target,b=r.useRef();m||!y||a||s||b.current===y||(b.current=y,v({inView:!!l,entry:void 0}));const x=[p,g.inView,g.entry];return x.ref=x[0],x.inView=x[1],x.entry=x[2],x}}}]); -//# sourceMappingURL=commons-69edc0ac247a604650a5.js.map \ No newline at end of file +(self.webpackChunk_pomatez_website=self.webpackChunk_pomatez_website||[]).push([[351],{5119:function(t,e,n){"use strict";n.d(e,{h4:function(){return X},yG:function(){return a},Xg:function(){return _},Wj:function(){return R}});var r=n(7294),i=n(1883),o=n(1298);function a(){const{site:t,allMarkdownRemark:e}=(0,i.useStaticQuery)("2511079251"),n=t.siteMetadata.title,a=t.siteMetadata.description,s=t.siteMetadata.siteUrl+o.F3,l=e.edges[0].node.frontmatter.image.childImageSharp.original;return r.createElement(r.Fragment,null,r.createElement("title",null,n),r.createElement("meta",{name:"description",content:a}),r.createElement("meta",{name:"google-site-verification",content:t.siteMetadata.googleVerification}),r.createElement("meta",{property:"og:type",content:"website"}),r.createElement("meta",{property:"og:description",content:a}),r.createElement("meta",{property:"og:url",content:s}),r.createElement("meta",{property:"og:title",content:n}),r.createElement("meta",{property:"og:image",content:s+l.src}),r.createElement("meta",{property:"og:image:width",content:""+l.width}),r.createElement("meta",{property:"og:image:height",content:""+l.height}),r.createElement("meta",{name:"twitter:card",content:"summary_large_image"}),r.createElement("meta",{name:"twitter:creator",content:t.siteMetadata.twitterUsername}),r.createElement("meta",{name:"twitter:title",content:n}),r.createElement("meta",{name:"twitter:description",content:a}),r.createElement("link",{rel:"preconnect",href:"https://fonts.googleapis.com"}),r.createElement("link",{rel:"preconnect",href:"https://fonts.gstatic.com",crossOrigin:""}),r.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;700&display=swap",rel:"stylesheet"}))}var s=n(9168),l=n(9513);const c=()=>{const{isDarkMode:t,themeToggler:e}=(0,r.useContext)(s.Ni),{isMenuOpen:n,toggleMenu:i,closeMenu:o}=(0,r.useContext)(s.Ly),{width:a}=(0,r.useContext)(s.Rj);return{isDarkMode:t,themeToggler:e,isOnMobile:a<=1024,isMenuOpen:n,toggleMenu:i,closeMenu:o}},u=()=>{const{0:t,1:e}=(0,r.useState)(!1);return(0,r.useEffect)((()=>(e(!0),()=>e(!1))),[]),t};function d(){const{closeMenu:t}=c();return r.createElement(r.Fragment,null,o.qy.map(((e,n)=>e.offset?r.createElement(l.CF,{key:n},r.createElement(l.Mc,{href:"/",onClick:t,to:e.link,offset:e.offset,duration:420,smooth:!0},e.label)):r.createElement(l.CF,{key:n},r.createElement("a",{href:e.link,target:"_blank",rel:"noopener noreferrer"},e.label)))))}var h=n(6261),m=n(9622),p=n.n(m),f=n(7593),g=n.n(f),v=n(9418),y=n.n(v),b=n(411),x=n.n(b),w=n(2713),E=n.n(w),k=n(9315),C=n.n(k),P=n(131),S=n.n(P),M=n(6902),T=n.n(M),A=n(9496),V=n.n(A),j=n(6792),O=n.n(j),D=n(5523),L=n.n(D);function R(t){let{name:e}=t;if(u())switch(e){case"pomatez":default:return r.createElement(p(),null);case"download":return r.createElement(g(),null);case"sunny":return r.createElement(y(),null);case"moon":return r.createElement(x(),null);case"github":return r.createElement(E(),null);case"windows":return r.createElement(C(),null);case"apple":return r.createElement(S(),null);case"linux":return r.createElement(T(),null);case"snap-store":return r.createElement(V(),null);case"tux":return r.createElement(O(),null);case"arrow-back":return r.createElement(L(),null)}return null}function I(){return r.createElement(l.Wz,null,r.createElement(h.rU,{href:"/",to:"hero",offset:-64,duration:420,smooth:!0},r.createElement(R,{name:"pomatez"}),r.createElement("p",null,o.iC)))}function B(){const{isDarkMode:t,themeToggler:e,isMenuOpen:n,toggleMenu:i}=c();return r.createElement(l.Y6,{isMenuOpen:n},r.createElement(l.FG,null,r.createElement(I,null),r.createElement(l.Bk,null,r.createElement(l.K9,null,r.createElement(d,null)),r.createElement(l.Zt,null,r.createElement(l.Pu,{onClick:e},"Mode",r.createElement(R,{name:t?"moon":"sunny"})),r.createElement(l.uM,null,r.createElement(h.rU,{href:"/",to:"installers",offset:-24,duration:420,smooth:!0},r.createElement(R,{name:"download"}),"See Installers")))),r.createElement(l.sK,{isMenuOpen:n,onClick:i},r.createElement("span",null," "),r.createElement("span",null," "),r.createElement("span",null," "))))}function z(){const{isOnMobile:t,isDarkMode:e,themeToggler:n,isMenuOpen:i,toggleMenu:o}=c();return(0,r.useEffect)((()=>{document.body.style.overflow=i?"hidden":"unset"}),[i]),t&&i?r.createElement(l.mw,null,r.createElement(l.Zt,null,r.createElement(l.Pu,{onClick:n},"Mode",e?r.createElement(R,{name:"moon"}):r.createElement(R,{name:"sunny"}))),r.createElement(l.Mu,null,r.createElement(d,null),r.createElement(l.uM,null,r.createElement(h.rU,{href:"/",onClick:o,to:"installers",offset:-24,duration:420,smooth:!0},r.createElement(R,{name:"download"}),"See Installers")))):null}function F(){return r.createElement(l.tc,null,r.createElement(l.x7,null,r.createElement("a",{href:o.o9,rel:"noopener noreferrer",target:"_blank"},r.createElement(R,{name:"github"}),r.createElement(l.WL,null,o.iC," © ",(new Date).getFullYear())),r.createElement(l.rG,null,"Developed and Maintained by ",r.createElement("br",null),r.createElement("a",{href:o.m5,rel:"noopener noreferrer",target:"_blank"},"Roldan Montilla Jr"))))}function _(t){let{children:e}=t;return r.createElement(s.f6,null,r.createElement(s.jm,null,r.createElement(s.N7,null,r.createElement(l.Rh,null,r.createElement(B,null),r.createElement(z,null),r.createElement("main",null,e),r.createElement(F,null)))))}var W=n(2708),H=n(3793);const X=t=>{let{node:e}=t;const[n,i]=(0,W.YD)({triggerOnce:!0}),o=(0,H._)();(0,r.useEffect)((()=>{i&&o.start("animate")}),[o,i]);const{title:a,subTitle:s}=e.frontmatter;return r.createElement(l.eb,{ref:n,animate:o},r.createElement(l.wh,{"data-after":a},r.createElement("span",null,a)),r.createElement(l.Lz,null,s),r.createElement(l.MJ,{dangerouslySetInnerHTML:{__html:e.html}}))}},1298:function(t,e,n){"use strict";n.d(e,{ZR:function(){return p},iC:function(){return i},m5:function(){return s},fq:function(){return m},cK:function(){return v},F2:function(){return g},qy:function(){return y},o9:function(){return l},LD:function(){return f},F3:function(){return a},$3:function(){return h}});var r="1.7.2";const i="Pomatez",o="v"+r,a="/pomatez",s="https://github.com/roldanjr",l=s+"/pomatez",c=l+"/releases",u=c+"/download/"+o,d=u+"/Pomatez-"+o,h=d+"-win-x64-setup.exe",m=d+"-linux-amd64.deb",p=d+"-linux-x86_64.AppImage",f=d+"-linux-x86_64.rpm",g=d+"-mac-x64.dmg",v={ELECTRON:{WINDOWS:{x64:h,arm:d+"-win-arm64-setup.exe"},LINUX:{deb:m,appImage:{x64:p,arm:d+"-linux-arm64.AppImage"},rpm:f},MAC:{x64:g,arm:d+"-mac-arm64.dmg"}},TAURI:{WINDOWS:{x64:u+"/Pomatez_"+r+"_x64_en-US-win-tauri-beta.msi",arm:u+"/Pomatez_"+r+"_arm64-setup-win-tauri-beta.exe"},LINUX:{deb:u+"/pomatez_"+r+"_amd64-linux-tauri-beta.deb",appImage:{x64:u+"/pomatez_"+r+"_amd64-linux-tauri-beta.AppImage"}},MAC:{universal:u+"/Pomatez_"+r+"_universal-mac-tauri-beta.dmg"}}},y=[{label:"Features",link:"features",offset:-24},{label:"Roadmap",link:"roadmap",offset:-24},{label:"Release notes",link:c+"/latest"},{label:"Discord",link:"https://discord.gg/ZqPqN3hwcB"}]},9168:function(t,e,n){"use strict";n.d(e,{Ly:function(){return i},N7:function(){return o},Ni:function(){return l},f6:function(){return c},Rj:function(){return u},jm:function(){return d}});var r=n(7294);const i=(0,r.createContext)({isMenuOpen:!1}),o=t=>{let{children:e}=t;const{0:n,1:o}=(0,r.useState)(!1);return r.createElement(i.Provider,{value:{isMenuOpen:n,toggleMenu:()=>o((t=>!t)),closeMenu:()=>o(!1)}},e)};var a=n(910),s=n(9513);const l=r.createContext({}),c=t=>{let{children:e}=t;const n=!a.yF&&(0,a.L2)("isDarkMode")&&(0,a.U5)(),{0:i,1:o}=(0,r.useState)(n);(0,r.useLayoutEffect)((()=>{null===i&&o((0,a.U5)()),(0,a.RY)("isDarkMode",i)}),[i]);return r.createElement(l.Provider,{value:{isDarkMode:i,themeToggler:()=>{o((t=>!t))}}},r.createElement(s.ZL,{isDarkMode:i}),e)},u=(0,r.createContext)({width:0,height:0}),d=t=>{let{children:e}=t;const{0:n,1:i}=(0,r.useState)(a.yF?0:window.innerWidth),{0:o,1:s}=(0,r.useState)(a.yF?0:window.innerHeight);return(0,r.useEffect)((()=>{const t=()=>{i(window.innerWidth),s(window.innerHeight)};return window.addEventListener("resize",t),()=>window.removeEventListener("resize",t)}),[n]),r.createElement(u.Provider,{value:{width:n,height:o}},e)}},9513:function(t,e,n){"use strict";n.d(e,{ZL:function(){return l},GQ:function(){return yo},kV:function(){return go},j5:function(){return vo},ul:function(){return bo},C8:function(){return Jr},WL:function(){return yi},MJ:function(){return vi},Rk:function(){return io},bZ:function(){return Qr},f_:function(){return so},cE:function(){return oo},MB:function(){return ho},xl:function(){return mo},Ey:function(){return lo},qZ:function(){return ao},RQ:function(){return Ui},H5:function(){return Xi},WI:function(){return qi},tm:function(){return Yi},BG:function(){return Zi},yR:function(){return $i},aO:function(){return Hi},tc:function(){return wi},x7:function(){return xi},rG:function(){return bi},ag:function(){return ti},eb:function(){return pi},wh:function(){return fi},tF:function(){return Ti},fw:function(){return Li},Ly:function(){return Fi},jI:function(){return zi},sj:function(){return Ai},XE:function(){return Bi},A9:function(){return Ri},Uh:function(){return Ii},Rh:function(){return c},uZ:function(){return uo},Qc:function(){return co},Y6:function(){return ri},Zt:function(){return ui},Bk:function(){return ai},FG:function(){return ii},Mc:function(){return ci},CF:function(){return li},K9:function(){return si},Wz:function(){return oi},sK:function(){return mi},Pu:function(){return di},QG:function(){return fo},dL:function(){return Wi},cu:function(){return _i},$O:function(){return Ki},Vm:function(){return eo},ce:function(){return Qi},d2:function(){return to},pr:function(){return Ji},OZ:function(){return ro},sc:function(){return no},uM:function(){return hi},mw:function(){return Ei},Mu:function(){return ki},_V:function(){return Ni},Lz:function(){return gi},ut:function(){return Oi},lb:function(){return Di},tu:function(){return Vi}});var r=n(540);const i=(0,r.css)(["--cl-primary:#007bc7;--cl-primary-variant:#035aa5;--cl-display-text:#111111;--cl-heading-text:#212121;--cl-body-text:#666666;--cl-disabled-text:#999999;--bg-primary:#fff;--bg-primary-rgb:255,255,255;--bg-secondary:#fafafa;--bg-tertiary:#f2f2f2;--bg-card:var(--bg-primary);--cl-link:var(--cl-primary-variant);--cl-link-hover:var(--cl-primary);--bg-btn-primary:linear-gradient( to bottom,var(--cl-primary),var(--cl-primary-variant) );--bg-btn-primary-hover:linear-gradient( to bottom,var(--cl-primary),var(--cl-primary) );--cl-github-btn:rgba(255,255,255,0.9);--bg-github-btn:linear-gradient( to bottom,var(--cl-heading-text),var(--cl-display-text) );--bg-github-btn-hover:linear-gradient( to bottom,var(--cl-heading-text),var(--cl-heading-text) );--border-primary:#e6e6e6;--border-secondary:#f4f4f4;--border-tertiary:#f2f2f2;--cl-shadow-primary:rgba(0,0,0,0.12);--cl-shadow-secondary:rgba(0,0,0,0.16);--cl-shadow-tertiary:rgba(0,0,0,0.24);--logo-opacity:1;"]),o=(0,r.css)(["--cl-primary:#007bc7;--cl-primary-variant:#0098f7;--cl-display-text:rgba(255,255,255,0.9);--cl-heading-text:rgba(255,255,255,0.8);--cl-body-text:rgba(255,255,255,0.6);--cl-disabled-text:rgba(255,255,255,0.4);--bg-primary:#111d25;--bg-primary-rgb:17,29,37;--bg-secondary:#1c2830;--bg-tertiary:#202c34;--bg-card:var(--bg-secondary);--cl-link:var(--cl-primary);--cl-link-hover:var(--cl-primary-variant);--bg-btn-primary:linear-gradient( to bottom,var(--cl-primary-variant),var(--cl-primary) );--bg-btn-primary-hover:linear-gradient( to bottom,var(--cl-primary-variant),var(--cl-primary-variant) );--cl-github-btn:var(--cl-heading-text);--bg-github-btn:linear-gradient( to bottom,var(--bg-tertiary),var(--bg-secondary) );--bg-github-btn-hover:linear-gradient( to bottom,var(--bg-tertiary),var(--bg-tertiary) );--border-primary:rgba(255,255,255,0.12);--border-secondary:rgba(255,255,255,0.1);--border-tertiary:rgba(255,255,255,0.04);--cl-shadow-primary:rgba(0,0,0,0.24);--cl-shadow-secondary:rgba(0,0,0,0.32);--cl-shadow-tertiary:rgba(0,0,0,0.4);--logo-opacity:0.64;"]),a={laptopXl:1920,laptopLg:1600,laptopMd:1440,laptopNm:1360,laptopSm:1280,laptopXs:1024,tabletXl:900,tabletLg:768,tabletMd:600,tabletSm:480,mobileXl:460,mobileLg:425,mobileMd:375,mobileSm:360,mobileXs:320};Object.keys(a).forEach((t=>{const e=a[t]/16;a[t]="@media screen and\n (max-width: "+e+"em)"}));var s=a;const l=(0,r.createGlobalStyle)([":root{","}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit;font-size:inherit;color:currentColor;}html{font-size:62.5%;font-family:'Noto Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Open Sans','Helvetica Neue',sans-serif;font-weight:normal;","{font-size:56.25%;}}body{font-size:1.6rem;font-weight:normal;color:var(--cl-body-text);background:var(--bg-primary);counter-reset:header;overflow-x:hidden;}a{text-decoration:none;}p{line-height:1.6;}"],(t=>t.isDarkMode?o:i),s.laptopSm),c=r.default.div.withConfig({componentId:"sc-1djgdtu-0"})(["width:100%;height:100%;min-height:100vh;& > main{border-bottom:1px solid var(--border-secondary);}"]);var u=n(6261),d=n(7294);const h=(0,d.createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"}),m=(0,d.createContext)({}),p=(0,d.createContext)(null);var f=n(8868);const g=(0,d.createContext)({strict:!1});function v(t){return"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}function y(t){return"string"==typeof t||Array.isArray(t)}function b(t){return"object"==typeof t&&"function"==typeof t.start}const x=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],w=["initial",...x];function E(t){return b(t.animate)||w.some((e=>y(t[e])))}function k(t){return Boolean(E(t)||t.variants)}function C(t){const{initial:e,animate:n}=function(t,e){if(E(t)){const{initial:e,animate:n}=t;return{initial:!1===e||y(e)?e:void 0,animate:y(n)?n:void 0}}return!1!==t.inherit?e:{}}(t,(0,d.useContext)(m));return(0,d.useMemo)((()=>({initial:e,animate:n})),[P(e),P(n)])}function P(t){return Array.isArray(t)?t.join(" "):t}const S={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"]},M={};for(const wo in S)M[wo]={isEnabled:t=>S[wo].some((e=>!!t[e]))};var T=n(1741);const A=(0,d.createContext)({}),V=(0,d.createContext)({}),j=Symbol.for("motionComponentSymbol");function O({preloadedFeatures:t,createVisualElement:e,useRender:n,useVisualState:r,Component:i}){t&&function(t){for(const e in t)M[e]={...M[e],...t[e]}}(t);const o=(0,d.forwardRef)((function(o,a){let s;const l={...(0,d.useContext)(h),...o,layoutId:D(o)},{isStatic:c}=l,u=C(o),y=r(o,c);if(!c&&T.j){u.visualElement=function(t,e,n,r){const{visualElement:i}=(0,d.useContext)(m),o=(0,d.useContext)(g),a=(0,d.useContext)(p),s=(0,d.useContext)(h).reducedMotion,l=(0,d.useRef)();r=r||o.renderer,!l.current&&r&&(l.current=r(t,{visualState:e,parent:i,props:n,presenceContext:a,blockInitialAnimation:!!a&&!1===a.initial,reducedMotionConfig:s}));const c=l.current;(0,d.useInsertionEffect)((()=>{c&&c.update(n,a)}));const u=(0,d.useRef)(Boolean(window.HandoffAppearAnimations));return(0,f.L)((()=>{c&&(c.render(),u.current&&c.animationState&&c.animationState.animateChanges())})),(0,d.useEffect)((()=>{c&&(c.updateFeatures(),!u.current&&c.animationState&&c.animationState.animateChanges(),window.HandoffAppearAnimations=void 0,u.current=!1)})),c}(i,y,l,e);const n=(0,d.useContext)(V),r=(0,d.useContext)(g).strict;u.visualElement&&(s=u.visualElement.loadFeatures(l,r,t,n))}return d.createElement(m.Provider,{value:u},s&&u.visualElement?d.createElement(s,{visualElement:u.visualElement,...l}):null,n(i,o,function(t,e,n){return(0,d.useCallback)((r=>{r&&t.mount&&t.mount(r),e&&(r?e.mount(r):e.unmount()),n&&("function"==typeof n?n(r):v(n)&&(n.current=r))}),[e])}(y,u.visualElement,a),y,c,u.visualElement))}));return o[j]=i,o}function D({layoutId:t}){const e=(0,d.useContext)(A).id;return e&&void 0!==t?e+"-"+t:t}function L(t){function e(e,n={}){return O(t(e,n))}if("undefined"==typeof Proxy)return e;const n=new Map;return new Proxy(e,{get:(t,r)=>(n.has(r)||n.set(r,e(r)),n.get(r))})}const R=["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 I(t){return"string"==typeof t&&!t.includes("-")&&!!(R.indexOf(t)>-1||/[A-Z]/.test(t))}const B={};var z=n(4714);function F(t,{layout:e,layoutId:n}){return z.G.has(t)||t.startsWith("origin")||(e||void 0!==n)&&(!!B[t]||"opacity"===t)}var _=n(406);const W={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},H=z._.length;var X=n(7630);const U=(t,e)=>e&&"number"==typeof t?e.transform(t):t;var N=n(6482);function $(t,e,n,r){const{style:i,vars:o,transform:a,transformOrigin:s}=t;let l=!1,c=!1,u=!0;for(const d in e){const t=e[d];if((0,X.f9)(d)){o[d]=t;continue}const n=N.j[d],r=U(t,n);if(z.G.has(d)){if(l=!0,a[d]=r,!u)continue;t!==(n.default||0)&&(u=!1)}else d.startsWith("origin")?(c=!0,s[d]=r):i[d]=r}if(e.transform||(l||r?i.transform=function(t,{enableHardwareAcceleration:e=!0,allowTransformNone:n=!0},r,i){let o="";for(let a=0;a({style:{},transform:{},transformOrigin:{},vars:{}});function Y(t,e,n){for(const r in e)(0,_.i)(e[r])||F(r,n)||(t[r]=e[r])}function G(t,e,n){const r={};return Y(r,t.style||{},t),Object.assign(r,function({transformTemplate:t},e,n){return(0,d.useMemo)((()=>{const r=Z();return $(r,e,{enableHardwareAcceleration:!n},t),Object.assign({},r.vars,r.style)}),[e])}(t,e,n)),t.transformValues?t.transformValues(r):r}function q(t,e,n){const r={},i=G(t,e,n);return t.drag&&!1!==t.dragListener&&(r.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=!0===t.drag?"none":"pan-"+("x"===t.drag?"y":"x")),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(r.tabIndex=0),r.style=i,r}const K=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","ignoreStrict","viewport"]);function Q(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||K.has(t)}let J=t=>!Q(t);try{(tt=require("@emotion/is-prop-valid").default)&&(J=t=>t.startsWith("on")?!Q(t):tt(t))}catch(xo){}var tt;var et=n(6190);function nt(t,e,n){return"string"==typeof t?t:et.px.transform(e+n*t)}const rt={offset:"stroke-dashoffset",array:"stroke-dasharray"},it={offset:"strokeDashoffset",array:"strokeDasharray"};function ot(t,{attrX:e,attrY:n,attrScale:r,originX:i,originY:o,pathLength:a,pathSpacing:s=1,pathOffset:l=0,...c},u,d,h){if($(t,c,u,h),d)return void(t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox));t.attrs=t.style,t.style={};const{attrs:m,style:p,dimensions:f}=t;m.transform&&(f&&(p.transform=m.transform),delete m.transform),f&&(void 0!==i||void 0!==o||p.transform)&&(p.transformOrigin=function(t,e,n){return`${nt(e,t.x,t.width)} ${nt(n,t.y,t.height)}`}(f,void 0!==i?i:.5,void 0!==o?o:.5)),void 0!==e&&(m.x=e),void 0!==n&&(m.y=n),void 0!==r&&(m.scale=r),void 0!==a&&function(t,e,n=1,r=0,i=!0){t.pathLength=1;const o=i?rt:it;t[o.offset]=et.px.transform(-r);const a=et.px.transform(e),s=et.px.transform(n);t[o.array]=`${a} ${s}`}(m,a,s,l,!1)}const at=()=>({...Z(),attrs:{}}),st=t=>"string"==typeof t&&"svg"===t.toLowerCase();function lt(t,e,n,r){const i=(0,d.useMemo)((()=>{const n=at();return ot(n,e,{enableHardwareAcceleration:!1},st(r),t.transformTemplate),{...n.attrs,style:{...n.style}}}),[e]);if(t.style){const e={};Y(e,t.style,t),i.style={...e,...i.style}}return i}function ct(t=!1){return(e,n,r,{latestValues:i},o)=>{const a=(I(e)?lt:q)(n,i,o,e),s=function(t,e,n){const r={};for(const i in t)"values"===i&&"object"==typeof t.values||(J(i)||!0===n&&Q(i)||!e&&!Q(i)||t.draggable&&i.startsWith("onDrag"))&&(r[i]=t[i]);return r}(n,"string"==typeof e,t),l={...s,...a,ref:r},{children:c}=n,u=(0,d.useMemo)((()=>(0,_.i)(c)?c.get():c),[c]);return(0,d.createElement)(e,{...l,children:u})}}var ut=n(3193);function dt(t,{style:e,vars:n},r,i){Object.assign(t.style,e,i&&i.getProjectionStyles(r));for(const o in n)t.style.setProperty(o,n[o])}const ht=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 mt(t,e,n,r){dt(t,e,void 0,r);for(const i in e.attrs)t.setAttribute(ht.has(i)?i:(0,ut.D)(i),e.attrs[i])}function pt(t,e){const{style:n}=t,r={};for(const i in n)((0,_.i)(n[i])||e.style&&(0,_.i)(e.style[i])||F(i,t))&&(r[i]=n[i]);return r}function ft(t,e){const n=pt(t,e);for(const r in t)if((0,_.i)(t[r])||(0,_.i)(e[r])){n[-1!==z._.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=t[r]}return n}var gt=n(9432),vt=n(6681),yt=n(8715);function bt(t){const e=(0,_.i)(t)?t.get():t;return(0,yt.p)(e)?e.toValue():e}const xt=t=>(e,n)=>{const r=(0,d.useContext)(m),i=(0,d.useContext)(p),o=()=>function({scrapeMotionValuesFromProps:t,createRenderState:e,onMount:n},r,i,o){const a={latestValues:wt(r,i,o,t),renderState:e()};return n&&(a.mount=t=>n(r,t,a)),a}(t,e,r,i);return n?o():(0,vt.h)(o)};function wt(t,e,n,r){const i={},o=r(t,{});for(const h in o)i[h]=bt(o[h]);let{initial:a,animate:s}=t;const l=E(t),c=k(t);e&&c&&!l&&!1!==t.inherit&&(void 0===a&&(a=e.initial),void 0===s&&(s=e.animate));let u=!!n&&!1===n.initial;u=u||!1===a;const d=u?s:a;if(d&&"boolean"!=typeof d&&!b(d)){(Array.isArray(d)?d:[d]).forEach((e=>{const n=(0,gt.o)(t,e);if(!n)return;const{transitionEnd:r,transition:o,...a}=n;for(const t in a){let e=a[t];if(Array.isArray(e)){e=e[u?e.length-1:0]}null!==e&&(i[t]=e)}for(const t in r)i[t]=r[t]}))}return i}var Et=n(5618);const kt={useVisualState:xt({scrapeMotionValuesFromProps:ft,createRenderState:at,onMount:(t,e,{renderState:n,latestValues:r})=>{Et.Wi.read((()=>{try{n.dimensions="function"==typeof e.getBBox?e.getBBox():e.getBoundingClientRect()}catch(t){n.dimensions={x:0,y:0,width:0,height:0}}})),Et.Wi.render((()=>{ot(n,r,{enableHardwareAcceleration:!1},st(e.tagName),t.transformTemplate),mt(e,n)}))}})},Ct={useVisualState:xt({scrapeMotionValuesFromProps:pt,createRenderState:Z})};function Pt(t,e,n,r={passive:!0}){return t.addEventListener(e,n,r),()=>t.removeEventListener(e,n)}const St=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function Mt(t,e="page"){return{point:{x:t[e+"X"],y:t[e+"Y"]}}}const Tt=t=>e=>St(e)&&t(e,Mt(e));function At(t,e,n,r){return Pt(t,e,Tt(n),r)}var Vt=n(3624);function jt(t){let e=null;return()=>{const n=()=>{e=null};return null===e&&(e=t,n)}}const Ot=jt("dragHorizontal"),Dt=jt("dragVertical");function Lt(t){let e=!1;if("y"===t)e=Dt();else if("x"===t)e=Ot();else{const t=Ot(),n=Dt();t&&n?e=()=>{t(),n()}:(t&&t(),n&&n())}return e}function Rt(){const t=Lt(!0);return!t||(t(),!1)}class It{constructor(t){this.isMounted=!1,this.node=t}update(){}}function Bt(t,e){const n="pointer"+(e?"enter":"leave"),r="onHover"+(e?"Start":"End");return At(t.current,n,((n,i)=>{if("touch"===n.type||Rt())return;const o=t.getProps();t.animationState&&o.whileHover&&t.animationState.setActive("whileHover",e),o[r]&&Et.Wi.update((()=>o[r](n,i)))}),{passive:!t.getProps()[r]})}const zt=(t,e)=>!!e&&(t===e||zt(t,e.parentElement));var Ft=n(1662);function _t(t,e){if(!e)return;const n=new PointerEvent("pointer"+t);e(n,Mt(n))}const Wt=new WeakMap,Ht=new WeakMap,Xt=t=>{const e=Wt.get(t.target);e&&e(t)},Ut=t=>{t.forEach(Xt)};function Nt(t,e,n){const r=function({root:t,...e}){const n=t||document;Ht.has(n)||Ht.set(n,{});const r=Ht.get(n),i=JSON.stringify(e);return r[i]||(r[i]=new IntersectionObserver(Ut,{root:t,...e})),r[i]}(e);return Wt.set(t,n),r.observe(t),()=>{Wt.delete(t),r.unobserve(t)}}const $t={some:0,all:1};const Zt={inView:{Feature:class extends It{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:e,margin:n,amount:r="some",once:i}=t,o={root:e?e.current:void 0,rootMargin:n,threshold:"number"==typeof r?r:$t[r]};return Nt(this.node.current,o,(t=>{const{isIntersecting:e}=t;if(this.isInView===e)return;if(this.isInView=e,i&&!e&&this.hasEnteredView)return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);const{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),o=e?n:r;o&&o(t)}))}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;const{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return n=>t[n]!==e[n]}(t,e))&&this.startObserver()}unmount(){}}},tap:{Feature:class extends It{constructor(){super(...arguments),this.removeStartListeners=Ft.Z,this.removeEndListeners=Ft.Z,this.removeAccessibleListeners=Ft.Z,this.startPointerPress=(t,e)=>{if(this.removeEndListeners(),this.isPressing)return;const n=this.node.getProps(),r=At(window,"pointerup",((t,e)=>{if(!this.checkPressEnd())return;const{onTap:n,onTapCancel:r}=this.node.getProps();Et.Wi.update((()=>{zt(this.node.current,t.target)?n&&n(t,e):r&&r(t,e)}))}),{passive:!(n.onTap||n.onPointerUp)}),i=At(window,"pointercancel",((t,e)=>this.cancelPress(t,e)),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=(0,Vt.z)(r,i),this.startPress(t,e)},this.startAccessiblePress=()=>{const t=Pt(this.node.current,"keydown",(t=>{if("Enter"!==t.key||this.isPressing)return;this.removeEndListeners(),this.removeEndListeners=Pt(this.node.current,"keyup",(t=>{"Enter"===t.key&&this.checkPressEnd()&&_t("up",((t,e)=>{const{onTap:n}=this.node.getProps();n&&Et.Wi.update((()=>n(t,e)))}))})),_t("down",((t,e)=>{this.startPress(t,e)}))})),e=Pt(this.node.current,"blur",(()=>{this.isPressing&&_t("cancel",((t,e)=>this.cancelPress(t,e)))}));this.removeAccessibleListeners=(0,Vt.z)(t,e)}}startPress(t,e){this.isPressing=!0;const{onTapStart:n,whileTap:r}=this.node.getProps();r&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),n&&Et.Wi.update((()=>n(t,e)))}checkPressEnd(){this.removeEndListeners(),this.isPressing=!1;return this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!Rt()}cancelPress(t,e){if(!this.checkPressEnd())return;const{onTapCancel:n}=this.node.getProps();n&&Et.Wi.update((()=>n(t,e)))}mount(){const t=this.node.getProps(),e=At(this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),n=Pt(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=(0,Vt.z)(e,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}},focus:{Feature:class extends It{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){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=(0,Vt.z)(Pt(this.node.current,"focus",(()=>this.onFocus())),Pt(this.node.current,"blur",(()=>this.onBlur())))}unmount(){}}},hover:{Feature:class extends It{mount(){this.unmount=(0,Vt.z)(Bt(this.node,!0),Bt(this.node,!1))}unmount(){}}}};var Yt=n(8488);function Gt(t,e){if(!Array.isArray(e))return!1;const n=e.length;if(n!==t.length)return!1;for(let r=0;rPromise.all(e.map((({animation:e,options:n})=>(0,Kt.d)(t,e,n))))}(t);const n={animate:ne(!0),whileInView:ne(),whileHover:ne(),whileTap:ne(),whileDrag:ne(),whileFocus:ne(),exit:ne()};let r=!0;const i=(e,n)=>{const r=(0,qt.x)(t,n);if(r){const{transition:t,transitionEnd:n,...i}=r;e={...e,...i,...n}}return e};function o(o,a){const s=t.getProps(),l=t.getVariantContext(!0)||{},c=[],u=new Set;let d={},h=1/0;for(let e=0;eh&&g;const k=Array.isArray(f)?f:[f];let C=k.reduce(i,{});!1===v&&(C={});const{prevResolvedValues:P={}}=p,S={...P,...C},M=t=>{E=!0,u.delete(t),p.needsAnimating[t]=!0};for(const t in S){const e=C[t],n=P[t];d.hasOwnProperty(t)||(e!==n?(0,Yt.C)(e)&&(0,Yt.C)(n)?!Gt(e,n)||w?M(t):p.protectedKeys[t]=!0:void 0!==e?M(t):u.add(t):void 0!==e&&u.has(t)?M(t):p.protectedKeys[t]=!0)}p.prevProp=f,p.prevResolvedValues=C,p.isActive&&(d={...d,...C}),r&&t.blockInitialAnimation&&(E=!1),E&&!x&&c.push(...k.map((t=>({animation:t,options:{type:m,...o}}))))}if(u.size){const e={};u.forEach((n=>{const r=t.getBaseTarget(n);void 0!==r&&(e[n]=r)})),c.push({animation:e})}let m=Boolean(c.length);return r&&!1===s.initial&&!t.manuallyAnimateOnMount&&(m=!1),r=!1,m?e(c):Promise.resolve()}return{animateChanges:o,setActive:function(e,r,i){var a;if(n[e].isActive===r)return Promise.resolve();null===(a=t.variantChildren)||void 0===a||a.forEach((t=>{var n;return null===(n=t.animationState)||void 0===n?void 0:n.setActive(e,r)})),n[e].isActive=r;const s=o(i,e);for(const t in n)n[t].protectedKeys={};return s},setAnimateFunction:function(n){e=n(t)},getState:()=>n}}function ee(t,e){return"string"==typeof e?e!==t:!!Array.isArray(e)&&!Gt(e,t)}function ne(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}let re=0;const ie={animation:{Feature:class extends It{constructor(t){super(t),t.animationState||(t.animationState=te(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();this.unmount(),b(t)&&(this.unmount=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){}}},exit:{Feature:class extends It{constructor(){super(...arguments),this.id=re++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:e,custom:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;const i=this.node.animationState.setActive("exit",!t,{custom:null!=n?n:this.node.getProps().custom});e&&!t&&i.then((()=>e(this.id)))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}}};var oe=n(5487),ae=n(6917);const se=(t,e)=>Math.abs(t-e);class le{constructor(t,e,{transformPagePoint:n}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=()=>{if(!this.lastMoveEvent||!this.lastMoveEventInfo)return;const t=de(this.lastMoveEventInfo,this.history),e=null!==this.startEvent,n=function(t,e){const n=se(t.x,e.x),r=se(t.y,e.y);return Math.sqrt(n**2+r**2)}(t.offset,{x:0,y:0})>=3;if(!e&&!n)return;const{point:r}=t,{timestamp:i}=Et.frameData;this.history.push({...r,timestamp:i});const{onStart:o,onMove:a}=this.handlers;e||(o&&o(this.lastMoveEvent,t),this.startEvent=this.lastMoveEvent),a&&a(this.lastMoveEvent,t)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=ce(e,this.transformPagePoint),Et.Wi.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{if(this.end(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const{onEnd:n,onSessionEnd:r}=this.handlers,i=de("pointercancel"===t.type?this.lastMoveEventInfo:ce(e,this.transformPagePoint),this.history);this.startEvent&&n&&n(t,i),r&&r(t,i)},!St(t))return;this.handlers=e,this.transformPagePoint=n;const r=ce(Mt(t),this.transformPagePoint),{point:i}=r,{timestamp:o}=Et.frameData;this.history=[{...i,timestamp:o}];const{onSessionStart:a}=e;a&&a(t,de(r,this.history)),this.removeListeners=(0,Vt.z)(At(window,"pointermove",this.handlePointerMove),At(window,"pointerup",this.handlePointerUp),At(window,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),(0,Et.Pn)(this.updatePoint)}}function ce(t,e){return e?{point:e(t.point)}:t}function ue(t,e){return{x:t.x-e.x,y:t.y-e.y}}function de({point:t},e){return{point:t,delta:ue(t,me(e)),offset:ue(t,he(e)),velocity:pe(e,.1)}}function he(t){return t[0]}function me(t){return t[t.length-1]}function pe(t,e){if(t.length<2)return{x:0,y:0};let n=t.length-1,r=null;const i=me(t);for(;n>=0&&(r=t[n],!(i.timestamp-r.timestamp>(0,ae.w)(e)));)n--;if(!r)return{x:0,y:0};const o=(0,ae.X)(i.timestamp-r.timestamp);if(0===o)return{x:0,y:0};const a={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}var fe=n(3967),ge=n(22);function ve(t){return t.max-t.min}function ye(t,e=0,n=.01){return Math.abs(t-e)<=n}function be(t,e,n,r=.5){t.origin=r,t.originPoint=(0,ge.C)(e.min,e.max,t.origin),t.scale=ve(n)/ve(e),(ye(t.scale,1,1e-4)||isNaN(t.scale))&&(t.scale=1),t.translate=(0,ge.C)(n.min,n.max,t.origin)-t.originPoint,(ye(t.translate)||isNaN(t.translate))&&(t.translate=0)}function xe(t,e,n,r){be(t.x,e.x,n.x,r?r.originX:void 0),be(t.y,e.y,n.y,r?r.originY:void 0)}function we(t,e,n){t.min=n.min+e.min,t.max=t.min+ve(e)}function Ee(t,e,n){t.min=e.min-n.min,t.max=t.min+ve(e)}function ke(t,e,n){Ee(t.x,e.x,n.x),Ee(t.y,e.y,n.y)}var Ce=n(4169);function Pe(t,e,n){return{min:void 0!==e?t.min+e:void 0,max:void 0!==n?t.max+n-(t.max-t.min):void 0}}function Se(t,e){let n=e.min-t.min,r=e.max-t.max;return e.max-e.min({x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}}),je=()=>({x:{min:0,max:0},y:{min:0,max:0}});function Oe(t){return[t("x"),t("y")]}function De({top:t,left:e,right:n,bottom:r}){return{x:{min:e,max:n},y:{min:t,max:r}}}function Le(t){return void 0===t||1===t}function Re({scale:t,scaleX:e,scaleY:n}){return!Le(t)||!Le(e)||!Le(n)}function Ie(t){return Re(t)||Be(t)||t.z||t.rotate||t.rotateX||t.rotateY}function Be(t){return ze(t.x)||ze(t.y)}function ze(t){return t&&"0%"!==t}function Fe(t,e,n){return n+e*(t-n)}function _e(t,e,n,r,i){return void 0!==i&&(t=Fe(t,i,r)),Fe(t,n,r)+e}function We(t,e=0,n=1,r,i){t.min=_e(t.min,e,n,r,i),t.max=_e(t.max,e,n,r,i)}function He(t,{x:e,y:n}){We(t.x,e.translate,e.scale,e.originPoint),We(t.y,n.translate,n.scale,n.originPoint)}function Xe(t){return Number.isInteger(t)||t>1.0000000000001||t<.999999999999?t:1}function Ue(t,e){t.min=t.min+e,t.max=t.max+e}function Ne(t,e,[n,r,i]){const o=void 0!==e[i]?e[i]:.5,a=(0,ge.C)(t.min,t.max,o);We(t,e[n],e[r],a,e.scale)}const $e=["x","scaleX","originX"],Ze=["y","scaleY","originY"];function Ye(t,e){Ne(t.x,e,$e),Ne(t.y,e,Ze)}function Ge(t,e){return De(function(t,e){if(!e)return t;const n=e({x:t.left,y:t.top}),r=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}(t.getBoundingClientRect(),e))}var qe=n(9912);const Ke=new WeakMap;class Qe{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=je(),this.visualElement=t}start(t,{snapToCursor:e=!1}={}){const{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;this.panSession=new le(t,{onSessionStart:t=>{this.stopAnimation(),e&&this.snapToCursor(Mt(t,"page").point)},onStart:(t,e)=>{const{drag:n,dragPropagation:r,onDragStart:i}=this.getProps();if(n&&!r&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=Lt(n),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Oe((t=>{let e=this.getAxisMotionValue(t).get()||0;if(et.aQ.test(e)){const{projection:n}=this.visualElement;if(n&&n.layout){const r=n.layout.layoutBox[t];if(r){e=ve(r)*(parseFloat(e)/100)}}}this.originPoint[t]=e})),i&&Et.Wi.update((()=>i(t,e)),!1,!0);const{animationState:o}=this.visualElement;o&&o.setActive("whileDrag",!0)},onMove:(t,e)=>{const{dragPropagation:n,dragDirectionLock:r,onDirectionLock:i,onDrag:o}=this.getProps();if(!n&&!this.openGlobalLock)return;const{offset:a}=e;if(r&&null===this.currentDirection)return this.currentDirection=function(t,e=10){let n=null;Math.abs(t.y)>e?n="y":Math.abs(t.x)>e&&(n="x");return n}(a),void(null!==this.currentDirection&&i&&i(this.currentDirection));this.updateAxis("x",e.point,a),this.updateAxis("y",e.point,a),this.visualElement.render(),o&&o(t,e)},onSessionEnd:(t,e)=>this.stop(t,e)},{transformPagePoint:this.visualElement.getTransformPagePoint()})}stop(t,e){const n=this.isDragging;if(this.cancel(),!n)return;const{velocity:r}=e;this.startAnimation(r);const{onDragEnd:i}=this.getProps();i&&Et.Wi.update((()=>i(t,e)))}cancel(){this.isDragging=!1;const{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),e&&e.setActive("whileDrag",!1)}updateAxis(t,e,n){const{drag:r}=this.getProps();if(!n||!Je(t,r,this.currentDirection))return;const i=this.getAxisMotionValue(t);let o=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(o=function(t,{min:e,max:n},r){return void 0!==e&&tn&&(t=r?(0,ge.C)(n,t,r.max):Math.min(t,n)),t}(o,this.constraints[t],this.elastic[t])),i.set(o)}resolveConstraints(){const{dragConstraints:t,dragElastic:e}=this.getProps(),{layout:n}=this.visualElement.projection||{},r=this.constraints;t&&v(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!t||!n)&&function(t,{top:e,left:n,bottom:r,right:i}){return{x:Pe(t.x,n,i),y:Pe(t.y,e,r)}}(n.layoutBox,t),this.elastic=function(t=Me){return!1===t?t=0:!0===t&&(t=Me),{x:Te(t,"left","right"),y:Te(t,"top","bottom")}}(e),r!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&Oe((t=>{this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){const n={};return void 0!==e.min&&(n.min=e.min-t.min),void 0!==e.max&&(n.max=e.max-t.min),n}(n.layoutBox[t],this.constraints[t]))}))}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:e}=this.getProps();if(!t||!v(t))return!1;const n=t.current;(0,oe.k)(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:r}=this.visualElement;if(!r||!r.layout)return!1;const i=function(t,e,n){const r=Ge(t,n),{scroll:i}=e;return i&&(Ue(r.x,i.offset.x),Ue(r.y,i.offset.y)),r}(n,r.root,this.visualElement.getTransformPagePoint());let o=function(t,e){return{x:Se(t.x,e.x),y:Se(t.y,e.y)}}(r.layout.layoutBox,i);if(e){const t=e(function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}(o));this.hasMutatedConstraints=!!t,t&&(o=De(t))}return o}startAnimation(t){const{drag:e,dragMomentum:n,dragElastic:r,dragTransition:i,dragSnapToOrigin:o,onDragTransitionEnd:a}=this.getProps(),s=this.constraints||{},l=Oe((a=>{if(!Je(a,e,this.currentDirection))return;let l=s&&s[a]||{};o&&(l={min:0,max:0});const c=r?200:1e6,u=r?40:1e7,d={type:"inertia",velocity:n?t[a]:0,bounceStiffness:c,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...i,...l};return this.startAxisValueAnimation(a,d)}));return Promise.all(l).then(a)}startAxisValueAnimation(t,e){const n=this.getAxisMotionValue(t);return n.start((0,qe.v)(t,n,0,e))}stopAnimation(){Oe((t=>this.getAxisMotionValue(t).stop()))}getAxisMotionValue(t){const e="_drag"+t.toUpperCase(),n=this.visualElement.getProps(),r=n[e];return r||this.visualElement.getValue(t,(n.initial?n.initial[t]:void 0)||0)}snapToCursor(t){Oe((e=>{const{drag:n}=this.getProps();if(!Je(e,n,this.currentDirection))return;const{projection:r}=this.visualElement,i=this.getAxisMotionValue(e);if(r&&r.layout){const{min:n,max:o}=r.layout.layoutBox[e];i.set(t[e]-(0,ge.C)(n,o,.5))}}))}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:e}=this.getProps(),{projection:n}=this.visualElement;if(!v(e)||!n||!this.constraints)return;this.stopAnimation();const r={x:0,y:0};Oe((t=>{const e=this.getAxisMotionValue(t);if(e){const n=e.get();r[t]=function(t,e){let n=.5;const r=ve(t),i=ve(e);return i>r?n=(0,fe.Y)(e.min,e.max-r,t.min):r>i&&(n=(0,fe.Y)(t.min,t.max-i,e.min)),(0,Ce.u)(0,1,n)}({min:n,max:n},this.constraints[t])}}));const{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),Oe((e=>{if(!Je(e,t,null))return;const n=this.getAxisMotionValue(e),{min:i,max:o}=this.constraints[e];n.set((0,ge.C)(i,o,r[e]))}))}addListeners(){if(!this.visualElement.current)return;Ke.set(this.visualElement,this);const t=At(this.visualElement.current,"pointerdown",(t=>{const{drag:e,dragListener:n=!0}=this.getProps();e&&n&&this.start(t)})),e=()=>{const{dragConstraints:t}=this.getProps();v(t)&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,r=n.addEventListener("measure",e);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),e();const i=Pt(window,"resize",(()=>this.scalePositionWithinConstraints())),o=n.addEventListener("didUpdate",(({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(Oe((e=>{const n=this.getAxisMotionValue(e);n&&(this.originPoint[e]+=t[e].translate,n.set(n.get()+t[e].translate))})),this.visualElement.render())}));return()=>{i(),t(),r(),o&&o()}}getProps(){const t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:i=!1,dragElastic:o=Me,dragMomentum:a=!0}=t;return{...t,drag:e,dragDirectionLock:n,dragPropagation:r,dragConstraints:i,dragElastic:o,dragMomentum:a}}}function Je(t,e,n){return!(!0!==e&&e!==t||null!==n&&n!==t)}const tn=t=>(e,n)=>{t&&Et.Wi.update((()=>t(e,n)))};const en={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function nn(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}const rn={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t){if(!et.px.test(t))return t;t=parseFloat(t)}return`${nn(t,e.target.x)}% ${nn(t,e.target.y)}%`}};var on=n(1550);const an={correct:(t,{treeScale:e,projectionDelta:n})=>{const r=t,i=on.P.parse(t);if(i.length>5)return r;const o=on.P.createTransformer(t),a="number"!=typeof i[0]?1:0,s=n.x.scale*e.x,l=n.y.scale*e.y;i[0+a]/=s,i[1+a]/=l;const c=(0,ge.C)(s,l,.5);return"number"==typeof i[2+a]&&(i[2+a]/=c),"number"==typeof i[3+a]&&(i[3+a]/=c),o(i)}};class sn extends d.Component{componentDidMount(){const{visualElement:t,layoutGroup:e,switchLayoutGroup:n,layoutId:r}=this.props,{projection:i}=t;var o;o=cn,Object.assign(B,o),i&&(e.group&&e.group.add(i),n&&n.register&&r&&n.register(i),i.root.didUpdate(),i.addEventListener("animationComplete",(()=>{this.safeToRemove()})),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),en.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:e,visualElement:n,drag:r,isPresent:i}=this.props,o=n.projection;return o?(o.isPresent=i,r||t.layoutDependency!==e||void 0===e?o.willUpdate():this.safeToRemove(),t.isPresent!==i&&(i?o.promote():o.relegate()||Et.Wi.postRender((()=>{const t=o.getStack();t&&t.members.length||this.safeToRemove()}))),null):null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),queueMicrotask((()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()})))}componentWillUnmount(){const{visualElement:t,layoutGroup:e,switchLayoutGroup:n}=this.props,{projection:r}=t;r&&(r.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(r),n&&n.deregister&&n.deregister(r))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function ln(t){const[e,n]=function(){const t=(0,d.useContext)(p);if(null===t)return[!0,null];const{isPresent:e,onExitComplete:n,register:r}=t,i=(0,d.useId)();return(0,d.useEffect)((()=>r(i)),[]),!e&&n?[!1,()=>n&&n(i)]:[!0]}(),r=(0,d.useContext)(A);return d.createElement(sn,{...t,layoutGroup:r,switchLayoutGroup:(0,d.useContext)(V),isPresent:e,safeToRemove:n})}const cn={borderRadius:{...rn,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:rn,borderTopRightRadius:rn,borderBottomLeftRadius:rn,borderBottomRightRadius:rn,boxShadow:an};var un=n(1560),dn=n(7255);const hn=["TopLeft","TopRight","BottomLeft","BottomRight"],mn=hn.length,pn=t=>"string"==typeof t?parseFloat(t):t,fn=t=>"number"==typeof t||et.px.test(t);function gn(t,e){return void 0!==t[e]?t[e]:t.borderRadius}const vn=bn(0,.5,dn.Bn),yn=bn(.5,.95,Ft.Z);function bn(t,e,n){return r=>re?1:n((0,fe.Y)(t,e,r))}function xn(t,e){t.min=e.min,t.max=e.max}function wn(t,e){xn(t.x,e.x),xn(t.y,e.y)}function En(t,e,n,r,i){return t=Fe(t-=e,1/n,r),void 0!==i&&(t=Fe(t,1/i,r)),t}function kn(t,e,[n,r,i],o,a){!function(t,e=0,n=1,r=.5,i,o=t,a=t){et.aQ.test(e)&&(e=parseFloat(e),e=(0,ge.C)(a.min,a.max,e/100)-a.min);if("number"!=typeof e)return;let s=(0,ge.C)(o.min,o.max,r);t===o&&(s-=e),t.min=En(t.min,e,n,s,i),t.max=En(t.max,e,n,s,i)}(t,e[n],e[r],e[i],e.scale,o,a)}const Cn=["x","scaleX","originX"],Pn=["y","scaleY","originY"];function Sn(t,e,n,r){kn(t.x,e,Cn,n?n.x:void 0,r?r.x:void 0),kn(t.y,e,Pn,n?n.y:void 0,r?r.y:void 0)}var Mn=n(1056);function Tn(t){return 0===t.translate&&1===t.scale}function An(t){return Tn(t.x)&&Tn(t.y)}function Vn(t,e){return Math.round(t.x.min)===Math.round(e.x.min)&&Math.round(t.x.max)===Math.round(e.x.max)&&Math.round(t.y.min)===Math.round(e.y.min)&&Math.round(t.y.max)===Math.round(e.y.max)}function jn(t){return ve(t.x)/ve(t.y)}var On=n(10);class Dn{constructor(){this.members=[]}add(t){(0,On.y4)(this.members,t),t.scheduleRender()}remove(t){if((0,On.cl)(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){const e=this.members.findIndex((e=>t===e));if(0===e)return!1;let n;for(let r=e;r>=0;r--){const t=this.members[r];if(!1!==t.isPresent){n=t;break}}return!!n&&(this.promote(n),!0)}promote(t,e){const n=this.lead;if(t!==n&&(this.prevLead=n,this.lead=t,t.show(),n)){n.instance&&n.scheduleRender(),t.scheduleRender(),t.resumeFrom=n,e&&(t.resumeFrom.preserveOpacity=!0),n.snapshot&&(t.snapshot=n.snapshot,t.snapshot.latestValues=n.animationValues||n.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:r}=t.options;!1===r&&n.hide()}}exitAnimationComplete(){this.members.forEach((t=>{const{options:e,resumingFrom:n}=t;e.onExitComplete&&e.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()}))}scheduleRender(){this.members.forEach((t=>{t.instance&&t.scheduleRender(!1)}))}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function Ln(t,e,n){let r="";const i=t.x.translate/e.x,o=t.y.translate/e.y;if((i||o)&&(r=`translate3d(${i}px, ${o}px, 0) `),1===e.x&&1===e.y||(r+=`scale(${1/e.x}, ${1/e.y}) `),n){const{rotate:t,rotateX:e,rotateY:i}=n;t&&(r+=`rotate(${t}deg) `),e&&(r+=`rotateX(${e}deg) `),i&&(r+=`rotateY(${i}deg) `)}const a=t.x.scale*e.x,s=t.y.scale*e.y;return 1===a&&1===s||(r+=`scale(${a}, ${s})`),r||"none"}const Rn=(t,e)=>t.depth-e.depth;class In{constructor(){this.children=[],this.isDirty=!1}add(t){(0,On.y4)(this.children,t),this.isDirty=!0}remove(t){(0,On.cl)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(Rn),this.isDirty=!1,this.children.forEach(t)}}var Bn=n(3234);const zn=["","X","Y","Z"];let Fn=0;const _n={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function Wn({attachResizeListener:t,defaultParent:e,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(t={},n=(null==e?void 0:e())){this.id=Fn++,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.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{var t;_n.totalNodes=_n.resolvedTargetDeltas=_n.recalculatedProjection=0,this.nodes.forEach(Un),this.nodes.forEach(Kn),this.nodes.forEach(Qn),this.nodes.forEach(Nn),t=_n,window.MotionDebug&&window.MotionDebug.record(t)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;ethis.root.updateBlockedByResize=!1;t(e,(()=>{this.root.updateBlockedByResize=!0,n&&n(),n=function(t,e){const n=performance.now(),r=({timestamp:i})=>{const o=i-n;o>=e&&((0,Et.Pn)(r),t(o-e))};return Et.Wi.read(r,!0),()=>(0,Et.Pn)(r)}(r,250),en.hasAnimatedSinceResize&&(en.hasAnimatedSinceResize=!1,this.nodes.forEach(qn))}))}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&a&&(i||o)&&this.addEventListener("didUpdate",(({delta:t,hasLayoutChanged:e,hasRelativeTargetChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const i=this.options.transition||a.getDefaultTransition()||ir,{onLayoutAnimationStart:o,onLayoutAnimationComplete:s}=a.getProps(),l=!this.targetLayout||!Vn(this.targetLayout,r)||n,c=!e&&n;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||c||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(t,c);const e={...(0,Mn.e)(i,"layout"),onPlay:o,onComplete:s};(a.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e)}else e||qn(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r}))}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,(0,Et.Pn)(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(Jn),this.animationId++)}getTransformTemplate(){const{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked())return void(this.options.onExitComplete&&this.options.onExitComplete());if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let i=0;ithis.update())))}clearAllSnapshots(){this.nodes.forEach($n),this.sharedNodes.forEach(tr)}scheduleUpdateProjection(){Et.Wi.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){Et.Wi.postRender((()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()}))}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance)return;if(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let n=0;n{const n=e/1e3;var l,h,m,p,f,g;er(o.x,t.x,n),er(o.y,t.y,n),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(ke(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),m=this.relativeTarget,p=this.relativeTargetOrigin,f=a,g=n,nr(m.x,p.x,f.x,g),nr(m.y,p.y,f.y,g),d&&(l=this.relativeTarget,h=d,l.x.min===h.x.min&&l.x.max===h.x.max&&l.y.min===h.y.min&&l.y.max===h.y.max)&&(this.isProjectionDirty=!1),d||(d=je()),wn(d,this.relativeTarget)),s&&(this.animationValues=i,function(t,e,n,r,i,o){i?(t.opacity=(0,ge.C)(0,void 0!==n.opacity?n.opacity:1,vn(r)),t.opacityExit=(0,ge.C)(void 0!==e.opacity?e.opacity:1,0,yn(r))):o&&(t.opacity=(0,ge.C)(void 0!==e.opacity?e.opacity:1,void 0!==n.opacity?n.opacity:1,r));for(let a=0;a{en.hasAnimatedSinceResize=!0,this.currentAnimation=function(t,e,n){const r=(0,_.i)(t)?t:(0,Bn.BX)(t);return r.start((0,qe.v)("",r,e,n)),r.animation}(0,1e3,{...t,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onComplete:()=>{t.onComplete&&t.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 t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const t=this.getLead();let{targetWithTransforms:e,target:n,layout:r,latestValues:i}=t;if(e&&n&&r){if(this!==t&&this.layout&&r&&lr(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||je();const e=ve(this.layout.layoutBox.x);n.x.min=t.target.x.min,n.x.max=n.x.min+e;const r=ve(this.layout.layoutBox.y);n.y.min=t.target.y.min,n.y.max=n.y.min+r}wn(e,n),Ye(e,i),xe(this.projectionDeltaWithTransform,this.layoutCorrected,e,i)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new Dn);this.sharedNodes.get(t).add(e);const n=e.options.initialPromotionConfig;e.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(e):void 0})}isLead(){const t=this.getStack();return!t||t.lead===this}getLead(){var t;const{layoutId:e}=this.options;return e&&(null===(t=this.getStack())||void 0===t?void 0:t.lead)||this}getPrevLead(){var t;const{layoutId:e}=this.options;return e?null===(t=this.getStack())||void 0===t?void 0:t.prevLead:void 0}getStack(){const{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:n}={}){const r=this.getStack();r&&r.promote(this,n),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){const t=this.getStack();return!!t&&t.relegate(this)}resetRotation(){const{visualElement:t}=this.options;if(!t)return;let e=!1;const{latestValues:n}=t;if((n.rotate||n.rotateX||n.rotateY||n.rotateZ)&&(e=!0),!e)return;const r={};for(let i=0;i{var e;return null===(e=t.currentAnimation)||void 0===e?void 0:e.stop()})),this.root.nodes.forEach(Zn),this.root.sharedNodes.clear()}}}function Hn(t){t.updateLayout()}function Xn(t){var e;const n=(null===(e=t.resumeFrom)||void 0===e?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&n&&t.hasListeners("didUpdate")){const{layoutBox:e,measuredBox:r}=t.layout,{animationType:i}=t.options,o=n.source!==t.layout.source;"size"===i?Oe((t=>{const r=o?n.measuredBox[t]:n.layoutBox[t],i=ve(r);r.min=e[t].min,r.max=r.min+i})):lr(i,n.layoutBox,e)&&Oe((r=>{const i=o?n.measuredBox[r]:n.layoutBox[r],a=ve(e[r]);i.max=i.min+a,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[r].max=t.relativeTarget[r].min+a)}));const a=Ve();xe(a,e,n.layoutBox);const s=Ve();o?xe(s,t.applyTransform(r,!0),n.measuredBox):xe(s,e,n.layoutBox);const l=!An(a);let c=!1;if(!t.resumeFrom){const r=t.getClosestProjectingParent();if(r&&!r.resumeFrom){const{snapshot:i,layout:o}=r;if(i&&o){const a=je();ke(a,n.layoutBox,i.layoutBox);const s=je();ke(s,e,o.layoutBox),Vn(a,s)||(c=!0),r.options.layoutRoot&&(t.relativeTarget=s,t.relativeTargetOrigin=a,t.relativeParent=r)}}}t.notifyListeners("didUpdate",{layout:e,snapshot:n,delta:s,layoutDelta:a,hasLayoutChanged:l,hasRelativeTargetChanged:c})}else if(t.isLead()){const{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function Un(t){_n.totalNodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=Boolean(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function Nn(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function $n(t){t.clearSnapshot()}function Zn(t){t.clearMeasurements()}function Yn(t){t.isLayoutDirty=!1}function Gn(t){const{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function qn(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function Kn(t){t.resolveTargetDelta()}function Qn(t){t.calcProjection()}function Jn(t){t.resetRotation()}function tr(t){t.removeLeadSnapshot()}function er(t,e,n){t.translate=(0,ge.C)(e.translate,0,n),t.scale=(0,ge.C)(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function nr(t,e,n,r){t.min=(0,ge.C)(e.min,n.min,r),t.max=(0,ge.C)(e.max,n.max,r)}function rr(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}const ir={duration:.45,ease:[.4,0,.1,1]},or=t=>"undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().includes(t),ar=or("applewebkit/")&&!or("chrome/")?Math.round:Ft.Z;function sr(t){t.min=ar(t.min),t.max=ar(t.max)}function lr(t,e,n){return"position"===t||"preserve-aspect"===t&&!ye(jn(e),jn(n),.2)}const cr=Wn({attachResizeListener:(t,e)=>Pt(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),ur={current:void 0},dr=Wn({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!ur.current){const t=new cr({});t.mount(window),t.setOptions({layoutScroll:!0}),ur.current=t}return ur.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>Boolean("fixed"===window.getComputedStyle(t).position)}),hr={pan:{Feature:class extends It{constructor(){super(...arguments),this.removePointerDownListener=Ft.Z}onPointerDown(t){this.session=new le(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:e,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:tn(t),onStart:tn(e),onMove:n,onEnd:(t,e)=>{delete this.session,r&&Et.Wi.update((()=>r(t,e)))}}}mount(){this.removePointerDownListener=At(this.node.current,"pointerdown",(t=>this.onPointerDown(t)))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends It{constructor(t){super(t),this.removeGroupControls=Ft.Z,this.removeListeners=Ft.Z,this.controls=new Qe(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Ft.Z}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:dr,MeasureLayout:ln}};var mr=n(2728),pr=n(461),fr=n(3441);const gr=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;const vr=4;function yr(t,e,n=1){(0,oe.k)(n<=vr,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);const[r,i]=function(t){const e=gr.exec(t);if(!e)return[,];const[,n,r]=e;return[n,r]}(t);if(!r)return;const o=window.getComputedStyle(e).getPropertyValue(r);if(o){const t=o.trim();return(0,fr.P)(t)?parseFloat(t):t}return(0,X.tm)(i)?yr(i,e,n+1):i}var br=n(277),xr=n(1649);const wr=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),Er=t=>wr.has(t),kr=t=>t===xr.Rx||t===et.px,Cr=(t,e)=>parseFloat(t.split(", ")[e]),Pr=(t,e)=>(n,{transform:r})=>{if("none"===r||!r)return 0;const i=r.match(/^matrix3d\((.+)\)$/);if(i)return Cr(i[1],e);{const e=r.match(/^matrix\((.+)\)$/);return e?Cr(e[1],t):0}},Sr=new Set(["x","y","z"]),Mr=z._.filter((t=>!Sr.has(t)));const Tr={width:({x:t},{paddingLeft:e="0",paddingRight:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),height:({y:t},{paddingTop:e="0",paddingBottom:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:Pr(4,13),y:Pr(5,14)};Tr.translateX=Tr.x,Tr.translateY=Tr.y;const Ar=(t,e,n={},r={})=>{e={...e},r={...r};const i=Object.keys(e).filter(Er);let o=[],a=!1;const s=[];if(i.forEach((i=>{const l=t.getValue(i);if(!t.hasValue(i))return;let c=n[i],u=(0,br.C)(c);const d=e[i];let h;if((0,Yt.C)(d)){const t=d.length,e=null===d[0]?1:0;c=d[e],u=(0,br.C)(c);for(let n=e;n{const r=t.getValue(n);void 0!==r&&(e.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))})),e.length&&t.render(),e}(t),a=!0),s.push(i),r[i]=void 0!==r[i]?r[i]:e[i],l.jump(d))})),s.length){const n=s.indexOf("height")>=0?window.pageYOffset:null,i=((t,e,n)=>{const r=e.measureViewportBox(),i=e.current,o=getComputedStyle(i),{display:a}=o,s={};"none"===a&&e.setStaticValue("display",t.display||"block"),n.forEach((t=>{s[t]=Tr[t](r,o)})),e.render();const l=e.measureViewportBox();return n.forEach((n=>{const r=e.getValue(n);r&&r.jump(s[n]),t[n]=Tr[n](l,o)})),t})(e,t,s);return o.length&&o.forEach((([e,n])=>{t.getValue(e).set(n)})),t.render(),T.j&&null!==n&&window.scrollTo({top:n}),{target:i,transitionEnd:r}}return{target:e,transitionEnd:r}};function Vr(t,e,n,r){return(t=>Object.keys(t).some(Er))(e)?Ar(t,e,n,r):{target:e,transitionEnd:r}}const jr=(t,e,n,r)=>{const i=function(t,{...e},n){const r=t.current;if(!(r instanceof Element))return{target:e,transitionEnd:n};n&&(n={...n}),t.values.forEach((t=>{const e=t.get();if(!(0,X.tm)(e))return;const n=yr(e,r);n&&t.set(n)}));for(const i in e){const t=e[i];if(!(0,X.tm)(t))continue;const o=yr(t,r);o&&(e[i]=o,n||(n={}),void 0===n[i]&&(n[i]=t))}return{target:e,transitionEnd:n}}(t,e,r);return Vr(t,e=i.target,n,r=i.transitionEnd)},Or={current:null},Dr={current:!1};var Lr=n(2490);const Rr=new WeakMap,Ir=Object.keys(M),Br=Ir.length,zr=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],Fr=w.length;class _r{constructor({parent:t,props:e,presenceContext:n,reducedMotionConfig:r,visualState:i},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,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.scheduleRender=()=>Et.Wi.render(this.render,!1,!0);const{latestValues:a,renderState:s}=i;this.latestValues=a,this.baseTarget={...a},this.initialValues=e.initial?{...a}:{},this.renderState=s,this.parent=t,this.props=e,this.presenceContext=n,this.depth=t?t.depth+1:0,this.reducedMotionConfig=r,this.options=o,this.isControllingVariants=E(e),this.isVariantNode=k(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(t&&t.current);const{willChange:l,...c}=this.scrapeMotionValuesFromProps(e,{});for(const u in c){const t=c[u];void 0!==a[u]&&(0,_.i)(t)&&(t.set(a[u],!1),(0,Lr.L)(l)&&l.add(u))}}scrapeMotionValuesFromProps(t,e){return{}}mount(t){this.current=t,Rr.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(((t,e)=>this.bindToMotionValue(e,t))),Dr.current||function(){if(Dr.current=!0,T.j)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>Or.current=t.matches;t.addListener(e),e()}else Or.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||Or.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){Rr.delete(this.current),this.projection&&this.projection.unmount(),(0,Et.Pn)(this.notifyUpdate),(0,Et.Pn)(this.render),this.valueSubscriptions.forEach((t=>t())),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)this.features[t].unmount();this.current=null}bindToMotionValue(t,e){const n=z.G.has(t),r=e.on("change",(e=>{this.latestValues[t]=e,this.props.onUpdate&&Et.Wi.update(this.notifyUpdate,!1,!0),n&&this.projection&&(this.projection.isTransformDirty=!0)})),i=e.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,(()=>{r(),i()}))}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}loadFeatures({children:t,...e},n,r,i){let o,a;for(let s=0;sthis.scheduleRender(),animationType:"string"==typeof n?n:"both",initialPromotionConfig:i,layoutScroll:s,layoutRoot:l})}return a}updateFeatures(){for(const t in this.features){const e=this.features[t];e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):je()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}makeTargetAnimatable(t,e=!0){return this.makeTargetAnimatableFromInstance(t,this.props,e)}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let n=0;ne.variantChildren.delete(t)}addValue(t,e){e!==this.values.get(t)&&(this.removeValue(t),this.bindToMotionValue(t,e)),this.values.set(t,e),this.latestValues[t]=e.get()}removeValue(t){this.values.delete(t);const e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let n=this.values.get(t);return void 0===n&&void 0!==e&&(n=(0,Bn.BX)(e,{owner:this}),this.addValue(t,n)),n}readValue(t){var e;return void 0===this.latestValues[t]&&this.current?null!==(e=this.getBaseTargetFromProps(this.props,t))&&void 0!==e?e:this.readValueFromInstance(this.current,t,this.options):this.latestValues[t]}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){var e;const{initial:n}=this.props,r="string"==typeof n||"object"==typeof n?null===(e=(0,gt.o)(this.props,n))||void 0===e?void 0:e[t]:void 0;if(n&&void 0!==r)return r;const i=this.getBaseTargetFromProps(this.props,t);return void 0===i||(0,_.i)(i)?void 0!==this.initialValues[t]&&void 0===r?void 0:this.baseTarget[t]:i}on(t,e){return this.events[t]||(this.events[t]=new un.L),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}}class Wr extends _r{sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){return t.style?t.style[e]:void 0}removeValueFromRenderState(t,{vars:e,style:n}){delete e[t],delete n[t]}makeTargetAnimatableFromInstance({transition:t,transitionEnd:e,...n},{transformValues:r},i){let o=(0,pr.P$)(n,t||{},this);if(r&&(e&&(e=r(e)),n&&(n=r(n)),o&&(o=r(o))),i){(0,pr.GJ)(this,n,o);const t=jr(this,n,o,e);e=t.transitionEnd,n=t.target}return{transition:t,transitionEnd:e,...n}}}class Hr extends Wr{readValueFromInstance(t,e){if(z.G.has(e)){const t=(0,mr.A)(e);return t&&t.default||0}{const r=(n=t,window.getComputedStyle(n)),i=((0,X.f9)(e)?r.getPropertyValue(e):r[e])||0;return"string"==typeof i?i.trim():i}var n}measureInstanceViewportBox(t,{transformPagePoint:e}){return Ge(t,e)}build(t,e,n,r){$(t,e,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,e){return pt(t,e)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;(0,_.i)(t)&&(this.childSubscription=t.on("change",(t=>{this.current&&(this.current.textContent=`${t}`)})))}renderInstance(t,e,n,r){dt(t,e,n,r)}}class Xr extends Wr{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(z.G.has(e)){const t=(0,mr.A)(e);return t&&t.default||0}return e=ht.has(e)?e:(0,ut.D)(e),t.getAttribute(e)}measureInstanceViewportBox(){return je()}scrapeMotionValuesFromProps(t,e){return ft(t,e)}build(t,e,n,r){ot(t,e,n,this.isSVGTag,r.transformTemplate)}renderInstance(t,e,n,r){mt(t,e,0,r)}mount(t){this.isSVGTag=st(t.tagName),super.mount(t)}}const Ur=(t,e)=>I(t)?new Xr(e,{enableHardwareAcceleration:!1}):new Hr(e,{enableHardwareAcceleration:!0}),Nr={...ie,...Zt,...hr,...{layout:{ProjectionNode:dr,MeasureLayout:ln}}},$r=L(((t,e)=>function(t,{forwardMotionProps:e=!1},n,r){return{...I(t)?kt:Ct,preloadedFeatures:n,useRender:ct(e),createVisualElement:r,Component:t}}(t,e,Nr,Ur)));const Zr={animate:{transition:{delayChildren:.3,staggerChildren:.2}}},Yr={initial:{opacity:0},animate:{opacity:1,transition:{duration:.3}}},Gr={initial:{y:-10,opacity:0},animate:{y:0,opacity:1,transition:{duration:.3}}},qr={initial:{y:10,opacity:0},animate:{y:0,opacity:1,transition:{duration:.3}}},Kr=(0,r.css)(["padding:1rem 2rem;border:none;border-radius:100px;display:flex;align-items:center;justify-content:center;font-weight:500;transition:box-shadow 200ms ease;& > svg{width:1.25em;height:1.25em;margin-right:0.8rem;margin-left:-0.4rem;fill:currentColor;}"]),Qr=(r.default.button.withConfig({componentId:"sc-sjeovr-0"})(["",";color:white;background:var(--bg-btn-primary);&:hover{background:var(--bg-btn-primary-hover);}"],Kr),(0,r.default)($r.div).attrs((()=>({variants:qr}))).withConfig({componentId:"sc-sjeovr-1"})(["& > a{",";min-height:4.8rem;min-width:24rem;font-size:1.6rem;padding:1.2rem 2.4rem;color:white;border-radius:100px;background:var(--bg-btn-primary);box-shadow:0 4px 16px 0 var(--cl-shadow-secondary);&:hover{background:var(--bg-btn-primary-hover);box-shadow:0 8px 40px 0 var(--cl-shadow-secondary);}& > svg{width:2.2rem;height:2.2rem;margin-right:1rem;margin-left:-0.6rem;}}"],Kr)),Jr=(0,r.default)(Qr).withConfig({componentId:"sc-sjeovr-2"})(["min-width:25rem;"]),ti=r.default.button.withConfig({componentId:"sc-sjeovr-3"})(["",";min-height:4.8rem;min-width:25rem;font-size:1.6rem;padding:1.2rem 2.4rem;border-radius:10rem;color:var(--cl-github-btn);background:var(--bg-github-btn);box-shadow:0 4px 16px 0 var(--cl-shadow-secondary);&:hover{background:var(--bg-github-btn-hover);box-shadow:0 8px 40px 0 var(--cl-shadow-secondary);}& > svg{width:2.2rem;height:2.2rem;margin-right:1rem;}","{min-width:24rem;}"],Kr,s.laptopSm),ei=(0,r.css)(["position:relative;width:100%;height:max-content;padding:10rem 5.6rem;&:nth-child(even){background:var(--bg-primary);}","{padding:6.4rem 4rem;}","{padding:5.6rem 2rem;}","{padding:5.6rem 1.6rem;}"],s.laptopSm,s.tabletSm,s.mobileXs),ni=(0,r.css)(["width:100%;max-width:130rem;height:100%;margin:0 auto;display:grid;row-gap:6rem;align-content:start;animation:fadeIn ease 160ms;","{max-width:116.8rem;}","{max-width:106.8rem;row-gap:4.8rem;}","{max-width:90rem;}"],s.laptopMd,s.laptopSm,s.laptopXs),ri=(0,r.default)($r.nav).attrs((()=>({initial:"initial",animate:"animate",variants:Zr}))).withConfig({componentId:"sc-em3hls-0"})(["width:100%;height:6.4rem;padding:0 5.6rem;background-color:",";backdrop-filter:saturate(180%) blur(5px);position:sticky;top:0;left:0;z-index:100;","{padding:0 4rem;}","{padding:0 2rem;}","{padding:0 1.6rem;}"],(t=>t.isMenuOpen?"var(--bg-primary)":"rgba(var(--bg-primary-rgb), 0.8)"),s.laptopSm,s.tabletSm,s.mobileXs),ii=(0,r.default)($r.header).attrs((()=>({variants:Gr}))).withConfig({componentId:"sc-em3hls-1"})(["",";max-width:100rem;align-content:center;grid-template-columns:max-content 1fr;column-gap:4rem;","{max-width:90rem;}","{column-gap:2.8rem;}"],ni,s.laptopMd,s.laptopSm),oi=(0,r.default)($r.div).attrs((()=>({}))).withConfig({componentId:"sc-em3hls-2"})(["display:flex;align-items:center;& > a{display:grid;align-items:center;grid-auto-flow:column;font-size:2rem;font-weight:700;text-transform:capitalize;color:var(--cl-display-text);& > svg{width:1.5em;height:1.5em;margin-right:1rem;color:var(--cl-primary);background-color:transparent;border-radius:0.8rem;}}"]),ai=(0,r.default)($r.div).attrs((()=>({}))).withConfig({componentId:"sc-em3hls-3"})(["display:grid;align-content:start;justify-items:end;grid-auto-flow:column;column-gap:4rem;margin-bottom:-4px;","{column-gap:2.8rem;}","{display:none;}"],s.laptopSm,s.laptopXs),si=(0,r.default)($r.ul).attrs((()=>({}))).withConfig({componentId:"sc-em3hls-4"})(["width:max-content;justify-self:start;list-style:none;display:flex;align-items:center;font-size:1.6rem;font-weight:500;color:var(--cl-heading-text);cursor:pointer;","{width:100%;display:grid;row-gap:2rem;padding-left:6.4rem;font-weight:500;& > li:not(:last-of-type){margin-right:0;}}& > li:not(:last-of-type){margin-right:2rem;","{margin-right:1.6rem;}}& > li a:hover,& > li a.active{color:var(--cl-primary-variant);}"],s.laptopXs,s.laptopSm),li=(0,r.default)($r.li).attrs((()=>({}))).withConfig({componentId:"sc-em3hls-5"})([""]),ci=(0,r.default)(u.rU).withConfig({componentId:"sc-em3hls-6"})([""]),ui=(0,r.default)($r.div).attrs((()=>({}))).withConfig({componentId:"sc-em3hls-7"})(["display:grid;align-items:center;grid-template-columns:repeat(2,max-content);column-gap:2rem;","{grid-template-columns:1fr;row-gap:2rem;max-width:92rem;margin-bottom:0.8rem;margin-left:auto;margin-right:auto;}","{max-width:77.6rem;}"],s.laptopXs,s.tabletXl),di=(0,r.default)($r.button).attrs((()=>({}))).withConfig({componentId:"sc-em3hls-8"})(["padding:0.8rem 1.2rem;border:none;border-radius:10rem;display:flex;align-items:center;justify-content:center;font-size:1.6rem;color:var(--cl-heading-text);background-color:transparent;","{border:1px solid var(--border-secondary);padding:1rem;}&:hover{color:var(--cl-display-text);}&:hover > svg{fill:var(--cl-heading-text);}& > svg{width:1.25em;height:1.25em;margin-left:1.2rem;fill:var(--cl-body-text);}"],s.laptopXs),hi=(0,r.default)($r.div).attrs((()=>({}))).withConfig({componentId:"sc-em3hls-9"})(["& > a{",";font-size:1.4rem;border-radius:10rem;color:#fff;background:var(--bg-btn-primary);box-shadow:0 0 0 0 var(--cl-shadow-secondary);&:hover{background:var(--bg-btn-primary-hover);box-shadow:0 4px 16px 0 var(--cl-shadow-secondary);}","{margin-top:4rem;padding:1.2rem;max-width:92rem;margin-left:auto;margin-right:auto;}","{max-width:77.6rem;}}"],Kr,s.laptopXs,s.tabletXl),mi=(r.default.button.withConfig({componentId:"sc-em3hls-10"})(["",";font-size:1.4rem;border-radius:10rem;color:#fff;background:var(--bg-btn-primary);box-shadow:0 0 0 0 var(--cl-shadow-secondary);&:hover{background:var(--bg-btn-primary-hover);box-shadow:0 4px 16px 0 var(--cl-shadow-secondary);}"],Kr),(0,r.default)($r.div).attrs((()=>({}))).withConfig({componentId:"sc-em3hls-11"})(["justify-self:end;border:none;border-radius:3px;background-color:transparent;display:none;row-gap:4px;align-content:center;","{display:grid;}& > span{width:24px;height:3px;border-radius:3px;background-color:",";transition:all 160ms ease;&:nth-of-type(1){transform-origin:left;transform:",";margin-bottom:",";}&:nth-of-type(2){opacity:",";transform:",";}&:nth-of-type(3){transform-origin:left;transform:",";margin-top:",";}}"],s.laptopXs,(t=>t.isMenuOpen?"var(--cl-primary)":"var(--cl-body-text)"),(t=>t.isMenuOpen?"rotate(45deg)":"rotate(0deg)"),(t=>t.isMenuOpen?"1.5px":"0"),(t=>t.isMenuOpen?"0":"1"),(t=>t.isMenuOpen?"translateX(12px)":"translateX(0)"),(t=>t.isMenuOpen?"rotate(-45deg)":"rotate(0deg)"),(t=>t.isMenuOpen?"1.5px":"0"))),pi=(0,r.default)($r.header).attrs((()=>({initial:"initial",variants:Zr}))).withConfig({componentId:"sc-1xtm763-0"})(['text-align:center;max-width:60rem;margin:0 auto;display:grid;row-gap:2rem;align-content:start;position:relative;&::before{counter-increment:header;content:"0" counter(header) ".";color:var(--cl-disabled-text);font-size:3.2rem;font-weight:700;opacity:0.1;}']),fi=(0,r.default)($r.h3).attrs((()=>({variants:qr}))).withConfig({componentId:"sc-1xtm763-1"})(["font-size:3.2rem;font-weight:700;position:relative;","{font-size:2.8rem;}& > span{position:absolute;top:0;left:50%;transform:translateX(-50%);z-index:-1;opacity:0;}&::before{content:attr(data-after);background:linear-gradient( to bottom,var(--cl-primary),var(--cl-primary-variant) );background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;}&::after{content:attr(data-after);position:absolute;color:var(--cl-disabled-text);opacity:0.04;font-size:20rem;top:-2rem;left:50%;transform:translateX(-50%);overflow-x:hidden;","{font-size:16rem;}","{font-size:14rem;}","{font-size:12rem;}","{display:none;}}"],s.mobileMd,s.tabletXl,s.tabletLg,s.tabletMd,s.tabletSm),gi=(0,r.default)($r.h4).attrs((()=>({variants:qr}))).withConfig({componentId:"sc-1xtm763-2"})(["font-size:6.4rem;font-weight:700;color:var(--cl-display-text);z-index:1;","{font-size:5.6rem;}","{font-size:5.2rem;}","{font-size:4.8rem;}","{font-size:4rem;}"],s.mobileXl,s.mobileLg,s.mobileSm,s.mobileXs),vi=(0,r.default)($r.div).attrs((()=>({variants:qr}))).withConfig({componentId:"sc-1xtm763-3"})(["& > p{font-size:2rem;color:var(--cl-body-text);line-height:1.7;","{line-height:1.5;}& > a{color:var(--cl-primary);&:hover{text-decoration:underline;}}}"],s.tabletSm),yi=(r.default.a.withConfig({componentId:"sc-1fvqfc5-0"})(["&:hover{color:var(--cl-primary-variant);}& > svg{width:2.4rem;height:2.4rem;fill:currentColor;}"]),r.default.span.withConfig({componentId:"sc-1fvqfc5-1"})(["font-size:1.4rem;font-weight:700;text-transform:capitalize;margin-bottom:0.8rem;display:block;"])),bi=r.default.p.withConfig({componentId:"sc-1fvqfc5-2"})(["display:grid;row-gap:0.8rem;& > a{color:var(--cl-link);font-size:2rem;font-weight:700 !important;&:hover{color:var(--cl-link-hover);}}"]),xi=r.default.div.withConfig({componentId:"sc-1fvqfc5-3"})(["display:grid;row-gap:0.8rem;height:max-content;width:max-content;margin:0 auto;& > a{&:hover{color:var(--cl-link-hover);}svg{width:2.2rem;height:2.2rem;fill:currentColor;margin-bottom:0.8rem;}}"]),wi=r.default.footer.withConfig({componentId:"sc-1fvqfc5-4"})(["width:100%;min-height:6.4rem;padding:3.2rem;text-align:center;background:var(--bg-secondary);box-shadow:0 1px 4px -1px var(--cl-shadow-secondary);position:relative;","{padding:3.2rem 2rem;}"],s.mobileLg),Ei=(0,r.default)($r.aside).attrs((()=>({initial:"initial",animate:"animate",variants:Zr}))).withConfig({componentId:"sc-nnbsif-0"})(["padding:4rem 5.6rem;background-color:var(--bg-primary);border-top:1px solid var(--border-tertiary);position:fixed;top:6.4rem;left:0;width:100%;min-height:calc(100% - 6.4rem);z-index:80;","{padding:4rem;}","{padding:4rem 2rem;}","{padding:4rem 1.6rem;}"],s.laptopSm,s.tabletSm,s.mobileXs),ki=r.default.ul.withConfig({componentId:"sc-nnbsif-1"})(["",';max-width:100rem;row-gap:0 !important;list-style:none;& > li{padding:1.6rem 0;font-size:1.7rem;color:var(--cl-heading-text);position:relative;&::after{content:"";position:absolute;left:0;bottom:0;width:100%;height:1px;background-color:var(--border-secondary);}}'],ni);var Ci=n(9570),Pi=n.n(Ci),Si=n(5170),Mi=n.n(Si);const Ti=(0,r.default)($r.section).attrs((()=>({initial:"initial",animate:"animate",variants:Zr}))).withConfig({componentId:"sc-odavfk-0"})(["",";position:relative;overflow:hidden;padding-top:8rem;","{padding-top:8rem;padding-bottom:8rem;}"],ei,s.laptopSm),Ai=r.default.div.withConfig({componentId:"sc-odavfk-1"})(["",";row-gap:10rem;"],ni),Vi=(0,r.default)($r.div).attrs((()=>({variants:Yr}))).withConfig({componentId:"sc-odavfk-2"})(["position:absolute;top:0;left:0;width:100%;height:100%;"]),ji=(0,r.css)(["position:absolute;top:0;","{width:38rem;height:38rem;}","{width:32rem;height:32rem;}","{width:28rem;height:28rem;}","{width:24rem;height:24rem;}","{width:20rem;height:20rem;}","{width:16rem;height:16rem;}"],s.laptopXs,s.tabletXl,s.tabletMd,s.tabletSm,s.mobileLg,s.mobileXs),Oi=(0,r.default)(Pi()).withConfig({componentId:"sc-odavfk-3"})(["",";left:0;margin-left:-2.4rem;","{display:none;}"],ji,s.laptopXs),Di=(0,r.default)(Mi()).withConfig({componentId:"sc-odavfk-4"})(["",";right:0;margin-right:-2.4rem;","{display:none;}"],ji,s.laptopXs),Li=r.default.div.withConfig({componentId:"sc-odavfk-5"})(["display:grid;justify-content:center;justify-items:center;position:relative;z-index:10;"]),Ri=r.default.header.withConfig({componentId:"sc-odavfk-6"})(["text-align:center;max-width:56rem;margin:0 auto;display:grid;row-gap:2.4rem;"]),Ii=(0,r.default)($r.h1).attrs((()=>({variants:qr}))).withConfig({componentId:"sc-odavfk-7"})(["font-size:7.2rem;font-weight:700;color:var(--cl-display-text);","{line-height:normal;}","{font-size:6.4rem;}","{font-size:5.6rem;}","{font-size:4.8rem;}","{font-size:4.2rem;}"],s.tabletSm,s.mobileXl,s.mobileLg,s.mobileSm,s.mobileXs),Bi=(0,r.default)($r.h2).attrs((()=>({variants:qr}))).withConfig({componentId:"sc-odavfk-8"})(["font-size:2.2rem;font-weight:400;line-height:1.7;margin-bottom:4.8rem;","{line-height:1.5;}","{font-size:2rem;}"],s.tabletSm,s.mobileXl),zi=(0,r.default)($r.h2).attrs((()=>({variants:qr}))).withConfig({componentId:"sc-odavfk-9"})(["font-size:2rem;font-weight:400;line-height:1.7;margin-top:4.8rem;margin-bottom:2.8rem;","{line-height:1.5;}","{font-size:2rem;}"],s.tabletSm,s.mobileXl),Fi=(0,r.default)($r.div).attrs((()=>({variants:qr}))).withConfig({componentId:"sc-odavfk-10"})(["display:grid;grid-template-columns:repeat(3,max-content);gap:2rem;","{width:100%;grid-template-columns:1fr;}"],s.tabletMd),_i=(0,r.default)($r.div).attrs((()=>({variants:qr}))).withConfig({componentId:"sc-odavfk-11"})(["position:relative;z-index:10;display:grid;grid-template-columns:repeat(6,max-content);align-items:center;justify-content:center;","{grid-template-columns:repeat(3,max-content);row-gap:3.2rem;column-gap:-2rem;}"],s.tabletLg),Wi=r.default.div.withConfig({componentId:"sc-odavfk-12"})(["background-color:var(--bg-primary);position:relative;&:nth-child(1),&:nth-child(6){width:20rem;height:max-content;z-index:2;box-shadow:0 20px 40px var(--cl-shadow-primary);","{width:18rem;}@media screen and (max-width:420px){width:16rem !important;}}&:nth-child(1){margin-right:-1.6rem;","{margin-right:-4.8rem;}","{margin-right:-9rem;}","{margin-right:-12.2rem;}","{grid-column:1 / 2;width:20rem;margin-right:-2.4rem;}","{grid-column:1 / 2;width:20rem;margin-right:-10.4rem;transform:skewX(8deg) skewY(-8deg);}@media screen and (max-width:420px){margin-right:-7.2rem;}","{margin-right:-10rem;}}&:nth-child(6){margin-left:-1.6rem;","{margin-left:-4.8rem;}","{margin-left:-9rem;}","{margin-left:-12.2rem;}","{grid-row:1 / 2;grid-column:3 / 4;width:20rem;margin-left:-2.4rem;}","{grid-row:1 / 2;grid-column:3 / 4;width:20rem;margin-left:-10.4rem;transform:skewX(-8deg) skewY(8deg);}@media screen and (max-width:420px){margin-left:-7.2rem;}","{margin-left:-10rem;}}&:nth-child(2),&:nth-child(5){width:22rem;height:max-content;z-index:4;box-shadow:0 20px 40px var(--cl-shadow-primary);","{width:20rem;}@media screen and (max-width:420px){width:16rem !important;}}&:nth-child(2){margin-right:-1.6rem;","{margin-right:-4.8rem;}","{margin-right:-9rem;}","{margin-right:-12.2rem;}","{grid-row:2 / 3;grid-column:3 / 4;margin:0;margin-left:-2.4rem;}","{grid-row:2 / 3;grid-column:3 / 4;margin:0;margin-left:-10.4rem;transform:skewX(-8deg) skewY(8deg);}@media screen and (max-width:420px){margin-left:-7.2rem;}","{margin-left:-10rem;}}&:nth-child(5){margin-left:-1.6rem;","{margin-left:-4.8rem;}","{margin-left:-9rem;}","{margin-left:-12.2rem;}","{grid-row:1 / 2;grid-column:1 / 2;margin:0;margin-right:-2.4rem;}","{grid-row:1 / 2;grid-column:1 / 2;margin:0;margin-right:-10.4rem;transform:skewX(8deg) skewY(-8deg);}@media screen and (max-width:420px){margin-right:-7.2rem;}","{margin-right:-10rem;}}&:nth-child(3),&:nth-child(4){width:25rem;height:max-content;z-index:8;box-shadow:0 20px 40px var(--cl-shadow-primary);","{width:24rem;}@media screen and (max-width:420px){width:20rem !important;}}&:nth-child(3){margin-right:2rem;","{grid-row:2 / 3;grid-column:2 / 3;margin:0;}}&:nth-child(4){","{grid-row:1 / 2;grid-column:2 / 3;margin:0;}}"],s.laptopSm,s.laptopMd,s.laptopXs,s.tabletXl,s.tabletLg,s.tabletMd,s.mobileMd,s.laptopMd,s.laptopXs,s.tabletXl,s.tabletLg,s.tabletMd,s.mobileMd,s.laptopSm,s.laptopMd,s.laptopXs,s.tabletXl,s.tabletLg,s.tabletMd,s.mobileMd,s.laptopMd,s.laptopXs,s.tabletXl,s.tabletLg,s.tabletMd,s.mobileMd,s.laptopSm,s.tabletLg,s.tabletLg),Hi=r.default.section.withConfig({componentId:"sc-1s07eu1-0"})(["",";"],ei),Xi=r.default.div.withConfig({componentId:"sc-1s07eu1-1"})(["",";"],ni),Ui=(0,r.default)($r.div).attrs((()=>({initial:"initial",variants:Zr}))).withConfig({componentId:"sc-1s07eu1-2"})(["display:grid;grid-template-columns:repeat(2,1fr);column-gap:2rem;","{grid-template-columns:1fr;}"],s.tabletMd),Ni=r.default.div.withConfig({componentId:"sc-1s07eu1-3"})(["","{display:none;}"],s.tabletMd),$i=r.default.div.withConfig({componentId:"sc-1s07eu1-4"})(["display:grid;grid-template-columns:repeat(2,1fr);justify-items:end;margin-right:4rem;position:sticky;top:8rem;","{margin-right:2rem;}"],s.laptopSm),Zi=(0,r.default)($r.div).attrs((()=>({variants:qr}))).withConfig({componentId:"sc-1s07eu1-5"})(["width:34rem;height:48rem;background-color:var(--bg-primary);box-shadow:0 20px 40px var(--cl-shadow-primary);","{width:30rem;height:max-content;}","{width:26.4rem;height:max-content;}&:nth-child(1){margin-right:-16rem;z-index:10;}&:nth-child(2){margin-top:16rem;z-index:20;}"],s.laptopXs,s.tabletLg),Yi=r.default.ul.withConfig({componentId:"sc-1s07eu1-6"})(["list-style:none;max-width:40rem;display:grid;align-content:start;justify-content:center;gap:4rem;margin-bottom:8rem;","{gap:4rem;}","{gap:3.2rem;}","{max-width:100%;margin-bottom:0;gap:2.4rem;}","{grid-template-columns:1fr;}"],s.laptopMd,s.laptopSm,s.tabletMd,s.tabletSm),Gi=(0,r.css)(["position:relative;height:100%;display:grid;align-content:start;row-gap:1.2rem;color:var(--cl-display-text);border-radius:3px;box-shadow:0 0 0 0 var(--cl-primary-variant);transition:all 200ms ease;&:hover{color:var(--cl-primary-variant);}&:last-of-type{cursor:pointer;height:max-content;}& > h5{font-size:2.4rem;font-weight:700;display:flex;flex-direction:column;color:currentColor;z-index:1;}& > p{color:var(--cl-body-text);z-index:1;}"]),qi=(0,r.default)($r.li).attrs((()=>({variants:qr}))).withConfig({componentId:"sc-1s07eu1-7"})(["",";","{border-radius:3px;background-color:var(--bg-card);box-shadow:0 10px 40px -10px var(--cl-shadow-primary);padding:2rem 2.4rem;padding-top:1.8rem;row-gap:0.8rem;}& > a{font-size:2rem;font-weight:700;color:var(--cl-body-text);&:hover{color:var(--cl-primary-variant);text-decoration:underline;}}"],Gi,s.tabletMd),Ki=r.default.section.withConfig({componentId:"sc-di325x-0"})(["",""],ei),Qi=r.default.div.withConfig({componentId:"sc-di325x-1"})(["",";"],ni),Ji=(0,r.default)($i).withConfig({componentId:"sc-di325x-2"})([""]),to=(0,r.default)(Zi).withConfig({componentId:"sc-di325x-3"})([""]),eo=(0,r.default)(Ui).withConfig({componentId:"sc-di325x-4"})([""]),no=(0,r.default)(Yi).withConfig({componentId:"sc-di325x-5"})([""]),ro=(0,r.default)(qi).withConfig({componentId:"sc-di325x-6"})([""]),io=r.default.section.withConfig({componentId:"sc-1g51x81-0"})(["",";","{padding-bottom:8rem;}"],ei,s.laptopSm),oo=r.default.div.withConfig({componentId:"sc-1g51x81-1"})(["",";"],ni),ao=(0,r.default)($r.div).attrs((()=>({variants:qr}))).withConfig({componentId:"sc-1g51x81-2"})(["& > svg{width:12rem;height:12rem;fill:currentColor;}"]),so=(0,r.default)($r.div).attrs((()=>({initial:"initial",variants:Zr}))).withConfig({componentId:"sc-1g51x81-3"})(["display:grid;align-items:start;column-gap:2rem;row-gap:4rem;grid-template-columns:1fr 2fr 1fr;","{grid-template-columns:1fr;}"],s.tabletLg),lo=r.default.div.withConfig({componentId:"sc-1g51x81-4"})(["color:var(--cl-primary-variant);display:grid;row-gap:4.8rem;justify-items:center;","{row-gap:3.2rem;}"],s.tabletMd),co=(0,r.default)($r.span).attrs((()=>({variants:qr}))).withConfig({componentId:"sc-1g51x81-5"})([""]),uo=r.default.div.withConfig({componentId:"sc-1g51x81-6"})(["display:grid;align-items:center;justify-content:center;grid-template-columns:repeat(3,1fr);gap:2rem;& > div > a{min-width:max-content;}","{grid-template-columns:repeat(2,1fr);#app-image{grid-row:1 / 2;grid-column:2 / -1;}#rpm{grid-column:1 / -1;}& > div > span{grid-column:1 / -1 !important;}}","{width:100%;}& > span{grid-column:2 / 3;font-weight:500;width:100%;height:2rem;display:flex;align-items:center;justify-content:center;","{grid-column:1 / -1;}}#snap-store-btn{grid-column:1 / -1;justify-self:center;width:max-content;display:flex;align-items:center;justify-content:center;padding:0 1.2rem;& > a{padding:0 1.2rem;}& > a > span{width:0;height:0;opacity:0;}& > a > svg{width:182px;height:56px;fill:transparent;margin:0 auto;}}"],s.laptopXs,s.tabletMd,s.tabletXl),ho=r.default.div.withConfig({componentId:"sc-1g51x81-7"})(["display:grid;row-gap:4.8rem;justify-items:center;","{row-gap:3.2rem;}"],s.tabletMd),mo=r.default.div.withConfig({componentId:"sc-1g51x81-8"})(["color:var(--cl-display-text);display:grid;row-gap:4.8rem;justify-items:center;","{row-gap:3.2rem;}"],s.tabletMd);var po=n(1883);const fo=r.default.section.withConfig({componentId:"sc-1858ky1-0"})(["",";min-height:calc(100vh - 14.9rem - 5.6rem);position:relative;overflow:hidden;"],ei),go=r.default.div.withConfig({componentId:"sc-1858ky1-1"})(["",";row-gap:4.8rem;justify-content:center;"],ni),vo=(0,r.default)(Ri).withConfig({componentId:"sc-1858ky1-2"})(["justify-items:center;margin-top:10rem;& > svg{width:16rem;height:16rem;fill:currentColor;}"]),yo=r.default.div.withConfig({componentId:"sc-1858ky1-3"})([""]),bo=(0,r.default)(po.Link).withConfig({componentId:"sc-1858ky1-4"})(["",";min-height:4.8rem;min-width:25rem;font-size:1.6rem;padding:1.2rem 2.4rem;color:white;background:var(--bg-btn-primary);box-shadow:0 2px 4px 0 var(--cl-shadow-secondary);&:hover{box-shadow:0 3px 6px 0 var(--cl-shadow-secondary);}& > svg{width:2.2rem;height:2.2rem;margin-right:1rem;margin-left:-0.6rem;}"],Kr)},910:function(t,e,n){"use strict";n.d(e,{fV:function(){return i},L2:function(){return a},U5:function(){return r},yF:function(){return s},RY:function(){return o}});const r=()=>window.matchMedia("(prefers-color-scheme: dark)").matches;function i(){const{appVersion:t,userAgent:e}=navigator;return new RegExp("Android|webOS|iPhone|iPad|iPod","i").test(e)?"Mobile":-1!==t.indexOf("Win")?"Windows":-1!==t.indexOf("Mac")?"MacOS":-1!==t.indexOf("Linux")?"Linux":"Windows"}const o=(t,e)=>{try{const n=JSON.stringify(e);localStorage.setItem(t,n)}catch(n){console.error(n)}},a=t=>{try{const e=localStorage.getItem(t);if(null===e)return;return JSON.parse(e)}catch(e){return void console.error(e)}},s="undefined"==typeof window},3096:function(t,e,n){var r="Expected a function",i=NaN,o="[object Symbol]",a=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,c=/^0o[0-7]+$/i,u=parseInt,d="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,h="object"==typeof self&&self&&self.Object===Object&&self,m=d||h||Function("return this")(),p=Object.prototype.toString,f=Math.max,g=Math.min,v=function(){return m.Date.now()};function y(t,e,n){var i,o,a,s,l,c,u=0,d=!1,h=!1,m=!0;if("function"!=typeof t)throw new TypeError(r);function p(e){var n=i,r=o;return i=o=void 0,u=e,s=t.apply(r,n)}function y(t){var n=t-c;return void 0===c||n>=e||n<0||h&&t-u>=a}function w(){var t=v();if(y(t))return E(t);l=setTimeout(w,function(t){var n=e-(t-c);return h?g(n,a-(t-u)):n}(t))}function E(t){return l=void 0,m&&i?p(t):(i=o=void 0,s)}function k(){var t=v(),n=y(t);if(i=arguments,o=this,c=t,n){if(void 0===l)return function(t){return u=t,l=setTimeout(w,e),d?p(t):s}(c);if(h)return l=setTimeout(w,e),p(c)}return void 0===l&&(l=setTimeout(w,e)),s}return e=x(e)||0,b(n)&&(d=!!n.leading,a=(h="maxWait"in n)?f(x(n.maxWait)||0,e):a,m="trailing"in n?!!n.trailing:m),k.cancel=function(){void 0!==l&&clearTimeout(l),u=0,i=c=o=l=void 0},k.flush=function(){return void 0===l?s:E(v())},k}function b(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function x(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&p.call(t)==o}(t))return i;if(b(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=b(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(a,"");var n=l.test(t);return n||c.test(t)?u(t.slice(2),n?2:8):s.test(t)?i:+t}t.exports=function(t,e,n){var i=!0,o=!0;if("function"!=typeof t)throw new TypeError(r);return b(n)&&(i="leading"in n?!!n.leading:i,o="trailing"in n?!!n.trailing:o),y(t,e,{leading:i,maxWait:e,trailing:o})}},8477:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var n=0;n=Math.floor(a)&&d=Math.floor(s),f=n.getActiveLink();return p?(i===f&&n.setActiveLink(void 0),t.props.hashSpy&&h.getHash()===i&&h.changeHash(),t.props.spy&&t.state.active&&(t.setState({active:!1}),t.props.onSetInactive&&t.props.onSetInactive()),c.updateStates()):m&&f!==i?(n.setActiveLink(i),t.props.hashSpy&&h.changeHash(i),t.props.spy&&(t.setState({active:!0}),t.props.onSetActive&&t.props.onSetActive(i)),c.updateStates()):void 0}}};return d.propTypes=m,d.defaultProps={offset:0},d},Element:function(t){console.warn("Helpers.Element is deprecated since v1.7.0");var e=function(e){function n(t){o(this,n);var e=a(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,t));return e.childBindings={domNode:null},e}return s(n,e),i(n,[{key:"componentDidMount",value:function(){if("undefined"==typeof window)return!1;this.registerElems(this.props.name)}},{key:"componentDidUpdate",value:function(t){this.props.name!==t.name&&this.registerElems(this.props.name)}},{key:"componentWillUnmount",value:function(){if("undefined"==typeof window)return!1;u.unregister(this.props.name)}},{key:"registerElems",value:function(t){u.register(t,this.childBindings.domNode)}},{key:"render",value:function(){return l.createElement(t,r({},this.props,{parentBindings:this.childBindings}))}}]),n}(l.Component);return e.propTypes={name:d.string,id:d.string},e}};t.exports=p},3200:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=Object.assign||function(t){for(var e=1;e=i.duration?1:e(i.progress/i.duration),i.currentPosition=i.startPosition+Math.ceil(i.delta*i.percent),i.containerElement&&i.containerElement!==document&&i.containerElement!==document.body?n.horizontal?i.containerElement.scrollLeft=i.currentPosition:i.containerElement.scrollTop=i.currentPosition:n.horizontal?window.scrollTo(i.currentPosition,0):window.scrollTo(0,i.currentPosition),i.percent<1){var o=t.bind(null,e,n);c.call(window,o)}else a.default.registered.end&&a.default.registered.end(i.to,i.target,i.currentPosition);else a.default.registered.end&&a.default.registered.end(i.to,i.target,i.currentPositionY)},m=function(t){t.data.containerElement=t?t.containerId?document.getElementById(t.containerId):t.container&&t.container.nodeType?t.container:document:null},p=function(t,e,n,r){if(e.data=e.data||{currentPosition:0,startPosition:0,targetPosition:0,progress:0,duration:0,cancel:!1,target:null,containerElement:null,to:null,start:null,delta:null,percent:null,delayTimeout:null},window.clearTimeout(e.data.delayTimeout),o.default.subscribe((function(){e.data.cancel=!0})),m(e),e.data.start=null,e.data.cancel=!1,e.data.startPosition=e.horizontal?u(e):d(e),e.data.targetPosition=e.absolute?t:t+e.data.startPosition,e.data.startPosition!==e.data.targetPosition){var i;e.data.delta=Math.round(e.data.targetPosition-e.data.startPosition),e.data.duration=("function"==typeof(i=e.duration)?i:function(){return i})(e.data.delta),e.data.duration=isNaN(parseFloat(e.data.duration))?1e3:parseFloat(e.data.duration),e.data.to=n,e.data.target=r;var s=l(e),p=h.bind(null,s,e);e&&e.delay>0?e.data.delayTimeout=window.setTimeout((function(){a.default.registered.begin&&a.default.registered.begin(e.data.to,e.data.target),c.call(window,p)}),e.delay):(a.default.registered.begin&&a.default.registered.begin(e.data.to,e.data.target),c.call(window,p))}else a.default.registered.end&&a.default.registered.end(e.data.to,e.data.target,e.data.currentPosition)},f=function(t){return(t=r({},t)).data=t.data||{currentPosition:0,startPosition:0,targetPosition:0,progress:0,duration:0,cancel:!1,target:null,containerElement:null,to:null,start:null,delta:null,percent:null,delayTimeout:null},t.absolute=!0,t};e.default={animateTopScroll:p,getAnimationType:l,scrollToTop:function(t){p(0,f(t))},scrollToBottom:function(t){t=f(t),m(t),p(t.horizontal?function(t){var e=t.data.containerElement;if(e&&e!==document&&e!==document.body)return e.scrollWidth-e.offsetWidth;var n=document.body,r=document.documentElement;return Math.max(n.scrollWidth,n.offsetWidth,r.clientWidth,r.scrollWidth,r.offsetWidth)}(t):function(t){var e=t.data.containerElement;if(e&&e!==document&&e!==document.body)return e.scrollHeight-e.offsetHeight;var n=document.body,r=document.documentElement;return Math.max(n.scrollHeight,n.offsetHeight,r.clientHeight,r.scrollHeight,r.offsetHeight)}(t),t)},scrollTo:function(t,e){p(t,f(e))},scrollMore:function(t,e){e=f(e),m(e);var n=e.horizontal?u(e):d(e);p(t+n,e)}}},140:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(5236),i=["mousedown","mousewheel","touchmove","keydown"];e.default={subscribe:function(t){return"undefined"!=typeof document&&i.forEach((function(e){return(0,r.addPassiveEventListener)(document,e,t)}))}}},5236:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.addPassiveEventListener=function(t,e,n){var r=function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("test",null,e)}catch(n){}return t}();t.addEventListener(e,n,!!r&&{passive:!0})},e.removePassiveEventListener=function(t,e,n){t.removeEventListener(e,n)}},8e3:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=Object.assign||function(t){for(var e=1;e=Math.floor(d)&&f=Math.floor(h)}else{var g=0,v=0,y=0;if(i.getBoundingClientRect)y=i.getBoundingClientRect().top;if(!s||t.props.isDynamic){if(!(s=n.get(a)))return;var b=s.getBoundingClientRect();v=(g=b.top-y+r)+b.height}var x=r-t.props.offset;l=x>=Math.floor(g)&&x=Math.floor(v)}var w=n.getActiveLink();if(u){if(a===w&&n.setActiveLink(void 0),t.props.hashSpy&&c.default.getHash()===a){var E=t.props.saveHashHistory,k=void 0!==E&&E;c.default.changeHash("",k)}t.props.spy&&t.state.active&&(t.setState({active:!1}),t.props.onSetInactive&&t.props.onSetInactive(a,s))}if(l&&(w!==a||!1===t.state.active)){n.setActiveLink(a);var C=t.props.saveHashHistory,P=void 0!==C&&C;t.props.hashSpy&&c.default.changeHash(a,P),t.props.spy&&(t.setState({active:!0}),t.props.onSetActive&&t.props.onSetActive(a,s))}}}};return l.propTypes=d,l.defaultProps={offset:0},l}},7606:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,i=n(3096),o=(r=i)&&r.__esModule?r:{default:r},a=n(5236);var s={spyCallbacks:[],spySetState:[],scrollSpyContainers:[],mount:function(t,e){if(t){var n=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:66;return(0,o.default)(t,e)}((function(e){s.scrollHandler(t)}),e);s.scrollSpyContainers.push(t),(0,a.addPassiveEventListener)(t,"scroll",n)}},isMounted:function(t){return-1!==s.scrollSpyContainers.indexOf(t)},currentPositionX:function(t){if(t===document){var e=void 0!==window.pageYOffset,n="CSS1Compat"===(document.compatMode||"");return e?window.pageXOffset:n?document.documentElement.scrollLeft:document.body.scrollLeft}return t.scrollLeft},currentPositionY:function(t){if(t===document){var e=void 0!==window.pageXOffset,n="CSS1Compat"===(document.compatMode||"");return e?window.pageYOffset:n?document.documentElement.scrollTop:document.body.scrollTop}return t.scrollTop},scrollHandler:function(t){(s.scrollSpyContainers[s.scrollSpyContainers.indexOf(t)].spyCallbacks||[]).forEach((function(e){return e(s.currentPositionX(t),s.currentPositionY(t))}))},addStateHandler:function(t){s.spySetState.push(t)},addSpyHandler:function(t,e){var n=s.scrollSpyContainers[s.scrollSpyContainers.indexOf(e)];n.spyCallbacks||(n.spyCallbacks=[]),n.spyCallbacks.push(t),t(s.currentPositionX(e),s.currentPositionY(e))},updateStates:function(){s.spySetState.forEach((function(t){return t()}))},unmount:function(t,e){s.scrollSpyContainers.forEach((function(t){return t.spyCallbacks&&t.spyCallbacks.length&&t.spyCallbacks.indexOf(e)>-1&&t.spyCallbacks.splice(t.spyCallbacks.indexOf(e),1)})),s.spySetState&&s.spySetState.length&&s.spySetState.indexOf(t)>-1&&s.spySetState.splice(s.spySetState.indexOf(t),1),document.removeEventListener("scroll",s.scrollHandler)},update:function(){return s.scrollSpyContainers.forEach((function(t){return s.scrollHandler(t)}))}};e.default=s},2628:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=Object.assign||function(t){for(var e=1;e{e.delete(t)}},start(n,i){(0,r.k)(t,"controls.start() should only be called after a component has mounted. Consider calling within a useEffect hook.");const a=[];return e.forEach((t=>{a.push((0,o.d)(t,n,{transitionOverride:i}))})),Promise.all(a)},set(n){return(0,r.k)(t,"controls.set() should only be called after a component has mounted. Consider calling within a useEffect hook."),e.forEach((t=>{(0,i.gg)(t,n)}))},stop(){e.forEach((t=>{!function(t){t.values.forEach((t=>t.stop()))}(t)}))},mount(){return t=!0,()=>{t=!1,n.stop()}}};return n}var s=n(6681),l=n(8868);const c=function(){const t=(0,s.h)(a);return(0,l.L)(t.mount,[]),t}},9912:function(t,e,n){"use strict";n.d(e,{v:function(){return Dt}});var r=n(5487),i=n(6917);const o=!1,a=t=>Array.isArray(t)&&"number"==typeof t[0];function s(t){return Boolean(!t||"string"==typeof t&&c[t]||a(t)||Array.isArray(t)&&t.every(s))}const l=([t,e,n,r])=>`cubic-bezier(${t}, ${e}, ${n}, ${r})`,c={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:l([0,.65,.55,1]),circOut:l([.55,0,1,.45]),backIn:l([.31,.01,.66,-.59]),backOut:l([.33,1.53,.69,.99])};function u(t){if(t)return a(t)?l(t):Array.isArray(t)?t.map(u):c[t]}var d=n(1662);const h=(t,e,n)=>(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t,m=1e-7,p=12;function f(t,e,n,r){if(t===e&&n===r)return d.Z;const i=e=>function(t,e,n,r,i){let o,a,s=0;do{a=e+(n-e)/2,o=h(a,r,i)-t,o>0?n=a:e=a}while(Math.abs(o)>m&&++s0===t||1===t?t:h(i(t),e,r)}const g=f(.42,0,1,1),v=f(0,0,.58,1),y=f(.42,0,.58,1),b=t=>Array.isArray(t)&&"number"!=typeof t[0];var x=n(7255),w=n(415),E=n(5129);const k=f(.33,1.53,.69,.99),C=(0,E.M)(k),P=(0,w.o)(C),S={linear:d.Z,easeIn:g,easeInOut:y,easeOut:v,circIn:x.Z7,circInOut:x.X7,circOut:x.Bn,backIn:C,backInOut:P,backOut:k,anticipate:t=>(t*=2)<1?.5*C(t):.5*(2-Math.pow(2,-10*(t-1)))},M=t=>{if(Array.isArray(t)){(0,r.k)(4===t.length,"Cubic bezier arrays must contain four numerical values.");const[e,n,i,o]=t;return f(e,n,i,o)}return"string"==typeof t?((0,r.k)(void 0!==S[t],`Invalid easing type '${t}'`),S[t]):t};var T=n(5385),A=n(4169),V=n(22);function j(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}var O=n(6382),D=n(819),L=n(3184);const R=(t,e,n)=>{const r=t*t;return Math.sqrt(Math.max(0,n*(e*e-r)+r))},I=[O.$,D.m,L.J];function B(t){const e=(n=t,I.find((t=>t.test(n))));var n;(0,r.k)(Boolean(e),`'${t}' is not an animatable color. Use the equivalent color code instead.`);let i=e.parse(t);return e===L.J&&(i=function({hue:t,saturation:e,lightness:n,alpha:r}){t/=360,n/=100;let i=0,o=0,a=0;if(e/=100){const r=n<.5?n*(1+e):n+e-n*e,s=2*n-r;i=j(s,r,t+1/3),o=j(s,r,t),a=j(s,r,t-1/3)}else i=o=a=n;return{red:Math.round(255*i),green:Math.round(255*o),blue:Math.round(255*a),alpha:r}}(i)),i}const z=(t,e)=>{const n=B(t),r=B(e),i={...n};return t=>(i.red=R(n.red,r.red,t),i.green=R(n.green,r.green,t),i.blue=R(n.blue,r.blue,t),i.alpha=(0,V.C)(n.alpha,r.alpha,t),D.m.transform(i))};var F=n(3624),_=n(1550);const W=(t,e)=>n=>`${n>0?e:t}`;function H(t,e){return"number"==typeof t?n=>(0,V.C)(t,e,n):T.$.test(t)?z(t,e):t.startsWith("var(")?W(t,e):N(t,e)}const X=(t,e)=>{const n=[...t],r=n.length,i=t.map(((t,n)=>H(t,e[n])));return t=>{for(let e=0;e{const n={...t,...e},r={};for(const i in n)void 0!==t[i]&&void 0!==e[i]&&(r[i]=H(t[i],e[i]));return t=>{for(const e in r)n[e]=r[e](t);return n}},N=(t,e)=>{const n=_.P.createTransformer(e),i=(0,_.V)(t),o=(0,_.V)(e);return i.numVars===o.numVars&&i.numColors===o.numColors&&i.numNumbers>=o.numNumbers?(0,F.z)(X(i.values,o.values),n):((0,r.K)(!0,`Complex values '${t}' and '${e}' 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.`),W(t,e))};var $=n(3967);const Z=(t,e)=>n=>(0,V.C)(t,e,n);function Y(t,e,n){const r=[],i=n||("number"==typeof(o=t[0])?Z:"string"==typeof o?T.$.test(o)?z:N:Array.isArray(o)?X:"object"==typeof o?U:Z);var o;const a=t.length-1;for(let s=0;se[0];t[0]>t[a-1]&&(t=[...t].reverse(),e=[...e].reverse());const s=Y(e,i,o),l=s.length,c=e=>{let n=0;if(l>1)for(;nc((0,A.u)(t[0],t[a-1],e)):c}function q(t){const e=[0];return function(t,e){const n=t[t.length-1];for(let r=1;r<=e;r++){const i=(0,$.Y)(0,e,r);t.push((0,V.C)(n,1,i))}}(e,t.length-1),e}function K({duration:t=300,keyframes:e,times:n,ease:r="easeInOut"}){const i=b(r)?r.map(M):M(r),o={done:!1,value:e[0]},a=function(t,e){return t.map((t=>t*e))}(n&&n.length===e.length?n:q(e),t),s=G(a,e,{ease:Array.isArray(i)?i:(l=e,c=i,l.map((()=>c||y)).splice(0,l.length-1))});var l,c;return{calculatedDuration:t,next:e=>(o.value=s(e),o.done=e>=t,o)}}var Q=n(3038);const J=5;function tt(t,e,n){const r=Math.max(e-J,0);return(0,Q.R)(n-t(r),e-r)}const et=.001,nt=.01,rt=10,it=.05,ot=1;function at({duration:t=800,bounce:e=.25,velocity:n=0,mass:o=1}){let a,s;(0,r.K)(t<=(0,i.w)(rt),"Spring duration must be 10 seconds or less");let l=1-e;l=(0,A.u)(it,ot,l),t=(0,A.u)(nt,rt,(0,i.X)(t)),l<1?(a=e=>{const r=e*l,i=r*t,o=r-n,a=lt(e,l),s=Math.exp(-i);return et-o/a*s},s=e=>{const r=e*l*t,i=r*n+n,o=Math.pow(l,2)*Math.pow(e,2)*t,s=Math.exp(-r),c=lt(Math.pow(e,2),l);return(-a(e)+et>0?-1:1)*((i-o)*s)/c}):(a=e=>Math.exp(-e*t)*((e-n)*t+1)-et,s=e=>Math.exp(-e*t)*(t*t*(n-e)));const c=function(t,e,n){let r=n;for(let i=1;ivoid 0!==t[e]))}function ht({keyframes:t,restDelta:e,restSpeed:n,...r}){const o=t[0],a=t[t.length-1],s={done:!1,value:o},{stiffness:l,damping:c,mass:u,velocity:d,duration:h,isResolvedFromDuration:m}=function(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!dt(t,ut)&&dt(t,ct)){const n=at(t);e={...e,...n,velocity:0,mass:1},e.isResolvedFromDuration=!0}return e}(r),p=d?-(0,i.X)(d):0,f=c/(2*Math.sqrt(l*u)),g=a-o,v=(0,i.X)(Math.sqrt(l/u)),y=Math.abs(g)<5;let b;if(n||(n=y?.01:2),e||(e=y?.005:.5),f<1){const t=lt(v,f);b=e=>{const n=Math.exp(-f*v*e);return a-n*((p+f*v*g)/t*Math.sin(t*e)+g*Math.cos(t*e))}}else if(1===f)b=t=>a-Math.exp(-v*t)*(g+(p+v*g)*t);else{const t=v*Math.sqrt(f*f-1);b=e=>{const n=Math.exp(-f*v*e),r=Math.min(t*e,300);return a-n*((p+f*v*g)*Math.sinh(r)+t*g*Math.cosh(r))/t}}return{calculatedDuration:m&&h||null,next:t=>{const r=b(t);if(m)s.done=t>=h;else{let i=p;0!==t&&(i=f<1?tt(b,t,r):0);const o=Math.abs(i)<=n,l=Math.abs(a-r)<=e;s.done=o&&l}return s.value=s.done?a:r,s}}}function mt({keyframes:t,velocity:e=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:a,min:s,max:l,restDelta:c=.5,restSpeed:u}){const d=t[0],h={done:!1,value:d},m=t=>void 0===s?l:void 0===l||Math.abs(s-t)-p*Math.exp(-t/r),y=t=>g+v(t),b=t=>{const e=v(t),n=y(t);h.done=Math.abs(e)<=c,h.value=h.done?g:n};let x,w;const E=t=>{var e;(e=h.value,void 0!==s&&el)&&(x=t,w=ht({keyframes:[h.value,m(h.value)],velocity:tt(y,t,h.value),damping:i,stiffness:o,restDelta:c,restSpeed:u}))};return E(0),{calculatedDuration:null,next:t=>{let e=!1;return w||void 0!==x||(e=!0,b(t),E(t)),void 0!==x&&t>x?w.next(t-x):(!e&&b(t),h)}}}var pt=n(5618);const ft=t=>{const e=({timestamp:e})=>t(e);return{start:()=>pt.Wi.update(e,!0),stop:()=>(0,pt.Pn)(e),now:()=>pt.frameData.isProcessing?pt.frameData.timestamp:performance.now()}},gt=2e4;function vt(t){let e=0;let n=t.next(e);for(;!n.done&&e=gt?1/0:e}const yt={decay:mt,inertia:mt,tween:K,keyframes:K,spring:ht};function bt({autoplay:t=!0,delay:e=0,driver:n=ft,keyframes:r,type:o="keyframes",repeat:a=0,repeatDelay:s=0,repeatType:l="loop",onPlay:c,onStop:u,onComplete:d,onUpdate:h,...m}){let p,f,g=1,v=!1;const y=()=>{f=new Promise((t=>{p=t}))};let b;y();const x=yt[o]||K;let w;x!==K&&"number"!=typeof r[0]&&(w=G([0,100],r,{clamp:!1}),r=[0,100]);const E=x({...m,keyframes:r});let k;"mirror"===l&&(k=x({...m,keyframes:[...r].reverse(),velocity:-(m.velocity||0)}));let C="idle",P=null,S=null,M=null;null===E.calculatedDuration&&a&&(E.calculatedDuration=vt(E));const{calculatedDuration:T}=E;let V=1/0,j=1/0;null!==T&&(V=T+s,j=V*(a+1)-s);let O=0;const D=t=>{if(null===S)return;g>0&&(S=Math.min(S,t)),g<0&&(S=Math.min(t-j/g,S)),O=null!==P?P:Math.round(t-S)*g;const n=O-e*(g>=0?1:-1),i=g>=0?n<0:n>j;O=Math.max(n,0),"finished"===C&&null===P&&(O=j);let o=O,c=E;if(a){const t=O/V;let e=Math.floor(t),n=t%1;!n&&t>=1&&(n=1),1===n&&e--,e=Math.min(e,a+1);const r=Boolean(e%2);r&&("reverse"===l?(n=1-n,s&&(n-=s/V)):"mirror"===l&&(c=k));let i=(0,A.u)(0,1,n);O>j&&(i="reverse"===l&&r?1:0),o=i*V}const u=i?{done:!1,value:r[0]}:c.next(o);w&&(u.value=w(u.value));let{done:d}=u;i||null===T||(d=g>=0?O>=j:O<=0);const m=null===P&&("finished"===C||"running"===C&&d);return h&&h(u.value),m&&I(),u},L=()=>{b&&b.stop(),b=void 0},R=()=>{C="idle",L(),p(),y(),S=M=null},I=()=>{C="finished",d&&d(),L(),p()},B=()=>{if(v)return;b||(b=n(D));const t=b.now();c&&c(),null!==P?S=t-P:S&&"finished"!==C||(S=t),"finished"===C&&y(),M=S,P=null,C="running",b.start()};t&&B();const z={then(t,e){return f.then(t,e)},get time(){return(0,i.X)(O)},set time(t){t=(0,i.w)(t),O=t,null===P&&b&&0!==g?S=b.now()-t/g:P=t},get duration(){const t=null===E.calculatedDuration?vt(E):E.calculatedDuration;return(0,i.X)(t)},get speed(){return g},set speed(t){t!==g&&b&&(g=t,z.time=(0,i.X)(O))},get state(){return C},play:B,pause:()=>{C="paused",P=O},stop:()=>{v=!0,"idle"!==C&&(C="idle",u&&u(),R())},cancel:()=>{null!==M&&D(M),R()},complete:()=>{C="finished"},sample:t=>(S=0,D(t))};return z}const xt=function(t){let e;return()=>(void 0===e&&(e=t()),e)}((()=>Object.hasOwnProperty.call(Element.prototype,"animate"))),wt=new Set(["opacity","clipPath","filter","transform","backgroundColor"]);function Et(t,e,{onUpdate:n,onComplete:r,...o}){if(!(xt()&&wt.has(e)&&!o.repeatDelay&&"mirror"!==o.repeatType&&0!==o.damping&&"inertia"!==o.type))return!1;let a,l,c=!1;const h=()=>{l=new Promise((t=>{a=t}))};h();let{keyframes:m,duration:p=300,ease:f,times:g}=o;if(((t,e)=>"spring"===e.type||"backgroundColor"===t||!s(e.ease))(e,o)){const t=bt({...o,repeat:0,delay:0});let e={done:!1,value:m[0]};const n=[];let r=0;for(;!e.done&&r<2e4;)e=t.sample(r),n.push(e.value),r+=10;g=void 0,m=n,p=r-10,f="linear"}const v=function(t,e,n,{delay:r=0,duration:i,repeat:o=0,repeatType:a="loop",ease:s,times:l}={}){const c={[e]:n};l&&(c.offset=l);const d=u(s);return Array.isArray(d)&&(c.easing=d),t.animate(c,{delay:r,duration:i,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:o+1,direction:"reverse"===a?"alternate":"normal"})}(t.owner.current,e,m,{...o,duration:p,ease:f,times:g});o.syncStart&&(v.startTime=pt.frameData.isProcessing?pt.frameData.timestamp:document.timeline?document.timeline.currentTime:performance.now());const y=()=>v.cancel(),b=()=>{pt.Wi.update(y),a(),h()};v.onfinish=()=>{t.set(function(t,{repeat:e,repeatType:n="loop"}){return t[e&&"loop"!==n&&e%2==1?0:t.length-1]}(m,o)),r&&r(),b()};return{then(t,e){return l.then(t,e)},attachTimeline(t){return v.timeline=t,v.onfinish=null,d.Z},get time(){return(0,i.X)(v.currentTime||0)},set time(t){v.currentTime=(0,i.w)(t)},get speed(){return v.playbackRate},set speed(t){v.playbackRate=t},get duration(){return(0,i.X)(p)},play:()=>{c||(v.play(),(0,pt.Pn)(y))},pause:()=>v.pause(),stop:()=>{if(c=!0,"idle"===v.playState)return;const{currentTime:e}=v;if(e){const n=bt({...o,autoplay:!1});t.setWithVelocity(n.sample(e-10).value,n.sample(e).value,10)}b()},complete:()=>v.finish(),cancel:b}}var kt=n(4714);const Ct={type:"spring",stiffness:500,damping:25,restSpeed:10},Pt={type:"keyframes",duration:.8},St={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Mt=(t,{keyframes:e})=>e.length>2?Pt:kt.G.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:Ct:St,Tt=(t,e)=>"zIndex"!==t&&(!("number"!=typeof e&&!Array.isArray(e))||!("string"!=typeof e||!_.P.test(e)&&"0"!==e||e.startsWith("url(")));var At=n(9135),Vt=n(681);function jt(t){return"number"==typeof t?0===t:null!==t?"none"===t||"0"===t||(0,Vt.W)(t):void 0}var Ot=n(1056);const Dt=(t,e,n,a={})=>s=>{const l=(0,Ot.e)(a,t)||{},c=l.delay||a.delay||0;let{elapsed:u=0}=a;u-=(0,i.w)(c);const h=function(t,e,n,r){const i=Tt(e,n);let o;o=Array.isArray(n)?[...n]:[null,n];const a=void 0!==r.from?r.from:t.get();let s;const l=[];for(let c=0;c{e.set(t),l.onUpdate&&l.onUpdate(t)},onComplete:()=>{s(),l.onComplete&&l.onComplete()}};if((0,Ot.r)(l)||(v={...v,...Mt(t,v)}),v.duration&&(v.duration=(0,i.w)(v.duration)),v.repeatDelay&&(v.repeatDelay=(0,i.w)(v.repeatDelay)),!f||!g||o||!1===l.type)return function({keyframes:t,delay:e,onUpdate:n,onComplete:r}){const i=()=>(n&&n(t[t.length-1]),r&&r(),{time:0,speed:1,duration:0,play:d.Z,pause:d.Z,stop:d.Z,then:t=>(t(),Promise.resolve()),cancel:d.Z,complete:d.Z});return e?bt({keyframes:[0,1],duration:0,delay:e,onComplete:i}):i()}(o?{...v,delay:0}:v);if(e.owner&&e.owner.current instanceof HTMLElement&&!e.owner.getProps().onUpdate){const n=Et(e,t,v);if(n)return n}return bt(v)}},6173:function(t,e,n){"use strict";n.d(e,{d:function(){return p}});var r=n(2248),i=n(4714);const o="data-"+(0,n(3193).D)("framerAppearId");var a=n(9912),s=n(2490),l=n(461),c=n(5618);function u({protectedKeys:t,needsAnimating:e},n){const r=t.hasOwnProperty(n)&&!0!==e[n];return e[n]=!1,r}function d(t,e,{delay:n=0,transitionOverride:r,type:d}={}){let{transition:h=t.getDefaultTransition(),transitionEnd:m,...p}=t.makeTargetAnimatable(e);const f=t.getValue("willChange");r&&(h=r);const g=[],v=d&&t.animationState&&t.animationState.getState()[d];for(const l in p){const e=t.getValue(l),r=p[l];if(!e||void 0===r||v&&u(v,l))continue;const d={delay:n,elapsed:0,...h};if(window.HandoffAppearAnimations&&!e.hasAnimated){const n=t.getProps()[o];n&&(d.elapsed=window.HandoffAppearAnimations(n,l,e,c.Wi),d.syncStart=!0)}e.start((0,a.v)(l,e,r,t.shouldReduceMotion&&i.G.has(l)?{type:!1}:d));const m=e.animation;(0,s.L)(f)&&(f.add(l),m.then((()=>f.remove(l)))),g.push(m)}return m&&Promise.all(g).then((()=>{m&&(0,l.CD)(t,m)})),g}function h(t,e,n={}){const i=(0,r.x)(t,e,n.custom);let{transition:o=t.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(o=n.transitionOverride);const a=i?()=>Promise.all(d(t,i,n)):()=>Promise.resolve(),s=t.variantChildren&&t.variantChildren.size?(r=0)=>{const{delayChildren:i=0,staggerChildren:a,staggerDirection:s}=o;return function(t,e,n=0,r=0,i=1,o){const a=[],s=(t.variantChildren.size-1)*r,l=1===i?(t=0)=>t*r:(t=0)=>s-t*r;return Array.from(t.variantChildren).sort(m).forEach(((t,r)=>{t.notify("AnimationStart",e),a.push(h(t,e,{...o,delay:n+l(r)}).then((()=>t.notify("AnimationComplete",e))))})),Promise.all(a)}(t,e,i+r,a,s,n)}:()=>Promise.resolve(),{when:l}=o;if(l){const[t,e]="beforeChildren"===l?[a,s]:[s,a];return t().then((()=>e()))}return Promise.all([a(),s(n.delay)])}function m(t,e){return t.sortNodePosition(e)}function p(t,e,n={}){let i;if(t.notify("AnimationStart",e),Array.isArray(e)){const r=e.map((e=>h(t,e,n)));i=Promise.all(r)}else if("string"==typeof e)i=h(t,e,n);else{const o="function"==typeof e?(0,r.x)(t,e,n.custom):e;i=Promise.all(d(t,o,n))}return i.then((()=>t.notify("AnimationComplete",e)))}},8488:function(t,e,n){"use strict";n.d(e,{C:function(){return r}});const r=t=>Array.isArray(t)},1056:function(t,e,n){"use strict";function r({when:t,delay:e,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:o,repeatType:a,repeatDelay:s,from:l,elapsed:c,...u}){return!!Object.keys(u).length}function i(t,e){return t[e]||t.default||t}n.d(e,{e:function(){return i},r:function(){return r}})},7255:function(t,e,n){"use strict";n.d(e,{Bn:function(){return a},X7:function(){return s},Z7:function(){return o}});var r=n(415),i=n(5129);const o=t=>1-Math.sin(Math.acos(t)),a=(0,i.M)(o),s=(0,r.o)(a)},415:function(t,e,n){"use strict";n.d(e,{o:function(){return r}});const r=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2},5129:function(t,e,n){"use strict";n.d(e,{M:function(){return r}});const r=t=>e=>1-t(1-e)},5618:function(t,e,n){"use strict";n.d(e,{Pn:function(){return s},Wi:function(){return a},frameData:function(){return l},S6:function(){return c}});var r=n(1662);class i{constructor(){this.order=[],this.scheduled=new Set}add(t){if(!this.scheduled.has(t))return this.scheduled.add(t),this.order.push(t),!0}remove(t){const e=this.order.indexOf(t);-1!==e&&(this.order.splice(e,1),this.scheduled.delete(t))}clear(){this.order.length=0,this.scheduled.clear()}}const o=["prepare","read","update","preRender","render","postRender"];const{schedule:a,cancel:s,state:l,steps:c}=function(t,e){let n=!1,r=!0;const a={delta:0,timestamp:0,isProcessing:!1},s=o.reduce(((t,e)=>(t[e]=function(t){let e=new i,n=new i,r=0,o=!1,a=!1;const s=new WeakSet,l={schedule:(t,i=!1,a=!1)=>{const l=a&&o,c=l?e:n;return i&&s.add(t),c.add(t)&&l&&o&&(r=e.order.length),t},cancel:t=>{n.remove(t),s.delete(t)},process:i=>{if(o)a=!0;else{if(o=!0,[e,n]=[n,e],n.clear(),r=e.order.length,r)for(let n=0;nn=!0)),t)),{}),l=t=>s[t].process(a),c=()=>{const i=performance.now();n=!1,a.delta=r?1e3/60:Math.max(Math.min(i-a.timestamp,40),1),a.timestamp=i,a.isProcessing=!0,o.forEach(l),a.isProcessing=!1,n&&e&&(r=!1,t(c))};return{schedule:o.reduce(((e,i)=>{const o=s[i];return e[i]=(e,i=!1,s=!1)=>(n||(n=!0,r=!0,a.isProcessing||t(c)),o.schedule(e,i,s)),e}),{}),cancel:t=>o.forEach((e=>s[e].cancel(t))),state:a,steps:s}}("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:r.Z,!0)},3193:function(t,e,n){"use strict";n.d(e,{D:function(){return r}});const r=t=>t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()},7630:function(t,e,n){"use strict";n.d(e,{Xp:function(){return a},f9:function(){return i},tm:function(){return o}});const r=t=>e=>"string"==typeof e&&e.startsWith(t),i=r("--"),o=r("var(--"),a=/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g},9135:function(t,e,n){"use strict";n.d(e,{T:function(){return a}});var r=n(1550),i=n(7197),o=n(2728);function a(t,e){let n=(0,o.A)(t);return n!==i.h&&(n=r.P),n.getAnimatableNone?n.getAnimatableNone(e):void 0}},2728:function(t,e,n){"use strict";n.d(e,{A:function(){return a}});var r=n(5385),i=n(7197);const o={...n(6482).j,color:r.$,backgroundColor:r.$,outlineColor:r.$,fill:r.$,stroke:r.$,borderColor:r.$,borderTopColor:r.$,borderRightColor:r.$,borderBottomColor:r.$,borderLeftColor:r.$,filter:i.h,WebkitFilter:i.h},a=t=>o[t]},277:function(t,e,n){"use strict";n.d(e,{$:function(){return a},C:function(){return s}});var r=n(1649),i=n(6190),o=n(8340);const a=[r.Rx,i.px,i.aQ,i.RW,i.vw,i.vh,{test:t=>"auto"===t,parse:t=>t}],s=t=>a.find((0,o.l)(t))},6482:function(t,e,n){"use strict";n.d(e,{j:function(){return a}});var r=n(1649),i=n(6190);const o={...r.Rx,transform:Math.round},a={borderWidth:i.px,borderTopWidth:i.px,borderRightWidth:i.px,borderBottomWidth:i.px,borderLeftWidth:i.px,borderRadius:i.px,radius:i.px,borderTopLeftRadius:i.px,borderTopRightRadius:i.px,borderBottomRightRadius:i.px,borderBottomLeftRadius:i.px,width:i.px,maxWidth:i.px,height:i.px,maxHeight:i.px,size:i.px,top:i.px,right:i.px,bottom:i.px,left:i.px,padding:i.px,paddingTop:i.px,paddingRight:i.px,paddingBottom:i.px,paddingLeft:i.px,margin:i.px,marginTop:i.px,marginRight:i.px,marginBottom:i.px,marginLeft:i.px,rotate:i.RW,rotateX:i.RW,rotateY:i.RW,rotateZ:i.RW,scale:r.bA,scaleX:r.bA,scaleY:r.bA,scaleZ:r.bA,skew:i.RW,skewX:i.RW,skewY:i.RW,distance:i.px,translateX:i.px,translateY:i.px,translateZ:i.px,x:i.px,y:i.px,z:i.px,perspective:i.px,transformPerspective:i.px,opacity:r.Fq,originX:i.$C,originY:i.$C,originZ:i.px,zIndex:o,fillOpacity:r.Fq,strokeOpacity:r.Fq,numOctaves:o}},8340:function(t,e,n){"use strict";n.d(e,{l:function(){return r}});const r=t=>e=>e.test(t)},4714:function(t,e,n){"use strict";n.d(e,{G:function(){return i},_:function(){return r}});const r=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],i=new Set(r)},2248:function(t,e,n){"use strict";n.d(e,{x:function(){return i}});var r=n(9432);function i(t,e,n){const i=t.getProps();return(0,r.o)(i,e,void 0!==n?n:i.custom,function(t){const e={};return t.values.forEach(((t,n)=>e[n]=t.get())),e}(t),function(t){const e={};return t.values.forEach(((t,n)=>e[n]=t.getVelocity())),e}(t))}},9432:function(t,e,n){"use strict";function r(t,e,n,r={},i={}){return"function"==typeof e&&(e=e(void 0!==n?n:t.custom,r,i)),"string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e&&(e=e(void 0!==n?n:t.custom,r,i)),e}n.d(e,{o:function(){return r}})},461:function(t,e,n){"use strict";n.d(e,{GJ:function(){return b},P$:function(){return w},CD:function(){return g},gg:function(){return y}});var r=n(3441),i=n(681),o=n(8715),a=n(3234),s=n(1550),l=n(9135),c=n(5385),u=n(277),d=n(8340);const h=[...u.$,c.$,s.P],m=t=>h.find((0,d.l)(t));var p=n(2248);function f(t,e,n){t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,(0,a.BX)(n))}function g(t,e){const n=(0,p.x)(t,e);let{transitionEnd:r={},transition:i={},...a}=n?t.makeTargetAnimatable(n,!1):{};a={...a,...r};for(const s in a){f(t,s,(0,o.Y)(a[s]))}}function v(t,e){[...e].reverse().forEach((n=>{const r=t.getVariant(n);r&&g(t,r),t.variantChildren&&t.variantChildren.forEach((t=>{v(t,e)}))}))}function y(t,e){return Array.isArray(e)?v(t,e):"string"==typeof e?v(t,[e]):void g(t,e)}function b(t,e,n){var o,c;const u=Object.keys(e).filter((e=>!t.hasValue(e))),d=u.length;if(d)for(let h=0;h-1&&t.splice(n,1)}n.d(e,{cl:function(){return i},y4:function(){return r}})},4169:function(t,e,n){"use strict";n.d(e,{u:function(){return r}});const r=(t,e,n)=>Math.min(Math.max(n,t),e)},5487:function(t,e,n){"use strict";n.d(e,{K:function(){return i},k:function(){return o}});var r=n(1662);let i=r.Z,o=r.Z},1741:function(t,e,n){"use strict";n.d(e,{j:function(){return r}});const r="undefined"!=typeof document},3441:function(t,e,n){"use strict";n.d(e,{P:function(){return r}});const r=t=>/^\-?\d*\.?\d+$/.test(t)},681:function(t,e,n){"use strict";n.d(e,{W:function(){return r}});const r=t=>/^0[^.\s]+$/.test(t)},22:function(t,e,n){"use strict";n.d(e,{C:function(){return r}});const r=(t,e,n)=>-n*t+n*e+t},1662:function(t,e,n){"use strict";n.d(e,{Z:function(){return r}});const r=t=>t},3624:function(t,e,n){"use strict";n.d(e,{z:function(){return i}});const r=(t,e)=>n=>e(t(n)),i=(...t)=>t.reduce(r)},3967:function(t,e,n){"use strict";n.d(e,{Y:function(){return r}});const r=(t,e,n)=>{const r=e-t;return 0===r?1:(n-t)/r}},8715:function(t,e,n){"use strict";n.d(e,{Y:function(){return o},p:function(){return i}});var r=n(8488);const i=t=>Boolean(t&&"object"==typeof t&&t.mix&&t.toValue),o=t=>(0,r.C)(t)?t[t.length-1]||0:t},1560:function(t,e,n){"use strict";n.d(e,{L:function(){return i}});var r=n(10);class i{constructor(){this.subscriptions=[]}add(t){return(0,r.y4)(this.subscriptions,t),()=>(0,r.cl)(this.subscriptions,t)}notify(t,e,n){const r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](t,e,n);else for(let i=0;i1e3*t,i=t=>t/1e3},6681:function(t,e,n){"use strict";n.d(e,{h:function(){return i}});var r=n(7294);function i(t){const e=(0,r.useRef)(null);return null===e.current&&(e.current=t()),e.current}},8868:function(t,e,n){"use strict";n.d(e,{L:function(){return i}});var r=n(7294);const i=n(1741).j?r.useLayoutEffect:r.useEffect},3038:function(t,e,n){"use strict";function r(t,e){return e?t*(1e3/e):0}n.d(e,{R:function(){return r}})},3234:function(t,e,n){"use strict";n.d(e,{BX:function(){return l}});var r=n(1560),i=n(3038),o=n(5618);const a={current:void 0};class s{constructor(t,e={}){var n;this.version="10.16.4",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(t,e=!0)=>{this.prev=this.current,this.current=t;const{delta:n,timestamp:r}=o.frameData;this.lastUpdated!==r&&(this.timeDelta=n,this.lastUpdated=r,o.Wi.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),e&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>o.Wi.postRender(this.velocityCheck),this.velocityCheck=({timestamp:t})=>{t!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=(n=this.current,!isNaN(parseFloat(n))),this.owner=e.owner}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new r.L);const n=this.events[t].add(e);return"change"===t?()=>{n(),o.Wi.read((()=>{this.events.change.getSize()||this.stop()}))}:n}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t,e=!0){e&&this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,e)}setWithVelocity(t,e,n){this.set(e),this.prev=t,this.timeDelta=n}jump(t){this.updateAndNotify(t),this.prev=t,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return a.current&&a.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?(0,i.R)(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(t){return this.stop(),new Promise((e=>{this.hasAnimated=!0,this.animation=t(e),this.events.animationStart&&this.events.animationStart.notify()})).then((()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()}))}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function l(t,e){return new s(t,e)}},6382:function(t,e,n){"use strict";n.d(e,{$:function(){return i}});var r=n(819);const i={test:(0,n(8834).i)("#"),parse:function(t){let e="",n="",r="",i="";return t.length>5?(e=t.substring(1,3),n=t.substring(3,5),r=t.substring(5,7),i=t.substring(7,9)):(e=t.substring(1,2),n=t.substring(2,3),r=t.substring(3,4),i=t.substring(4,5),e+=e,n+=n,r+=r,i+=i),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}},transform:r.m.transform}},3184:function(t,e,n){"use strict";n.d(e,{J:function(){return s}});var r=n(1649),i=n(6190),o=n(6430),a=n(8834);const s={test:(0,a.i)("hsl","hue"),parse:(0,a.d)("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:a=1})=>"hsla("+Math.round(t)+", "+i.aQ.transform((0,o.Nw)(e))+", "+i.aQ.transform((0,o.Nw)(n))+", "+(0,o.Nw)(r.Fq.transform(a))+")"}},5385:function(t,e,n){"use strict";n.d(e,{$:function(){return s}});var r=n(6430),i=n(6382),o=n(3184),a=n(819);const s={test:t=>a.m.test(t)||i.$.test(t)||o.J.test(t),parse:t=>a.m.test(t)?a.m.parse(t):o.J.test(t)?o.J.parse(t):i.$.parse(t),transform:t=>(0,r.HD)(t)?t:t.hasOwnProperty("red")?a.m.transform(t):o.J.transform(t)}},819:function(t,e,n){"use strict";n.d(e,{m:function(){return l}});var r=n(4169),i=n(1649),o=n(6430),a=n(8834);const s={...i.Rx,transform:t=>Math.round((t=>(0,r.u)(0,255,t))(t))},l={test:(0,a.i)("rgb","red"),parse:(0,a.d)("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:r=1})=>"rgba("+s.transform(t)+", "+s.transform(e)+", "+s.transform(n)+", "+(0,o.Nw)(i.Fq.transform(r))+")"}},8834:function(t,e,n){"use strict";n.d(e,{d:function(){return o},i:function(){return i}});var r=n(6430);const i=(t,e)=>n=>Boolean((0,r.HD)(n)&&r.mj.test(n)&&n.startsWith(t)||e&&Object.prototype.hasOwnProperty.call(n,e)),o=(t,e,n)=>i=>{if(!(0,r.HD)(i))return i;const[o,a,s,l]=i.match(r.KP);return{[t]:parseFloat(o),[e]:parseFloat(a),[n]:parseFloat(s),alpha:void 0!==l?parseFloat(l):1}}},7197:function(t,e,n){"use strict";n.d(e,{h:function(){return l}});var r=n(1550),i=n(6430);const o=new Set(["brightness","contrast","saturate","opacity"]);function a(t){const[e,n]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;const[r]=n.match(i.KP)||[];if(!r)return t;const a=n.replace(r,"");let s=o.has(e)?1:0;return r!==n&&(s*=100),e+"("+s+a+")"}const s=/([a-z-]*)\(.*?\)/g,l={...r.P,getAnimatableNone:t=>{const e=t.match(s);return e?e.map(a).join(" "):t}}},1550:function(t,e,n){"use strict";n.d(e,{P:function(){return g},V:function(){return h}});var r=n(7630),i=n(1662),o=n(5385),a=n(1649),s=n(6430);const l={regex:r.Xp,countKey:"Vars",token:"${v}",parse:i.Z},c={regex:s.dA,countKey:"Colors",token:"${c}",parse:o.$.parse},u={regex:s.KP,countKey:"Numbers",token:"${n}",parse:a.Rx.parse};function d(t,{regex:e,countKey:n,token:r,parse:i}){const o=t.tokenised.match(e);o&&(t["num"+n]=o.length,t.tokenised=t.tokenised.replace(e,r),t.values.push(...o.map(i)))}function h(t){const e=t.toString(),n={value:e,tokenised:e,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&d(n,l),d(n,c),d(n,u),n}function m(t){return h(t).values}function p(t){const{values:e,numColors:n,numVars:r,tokenised:i}=h(t),a=e.length;return t=>{let e=i;for(let i=0;i"number"==typeof t?0:t;const g={test:function(t){var e,n;return isNaN(t)&&(0,s.HD)(t)&&((null===(e=t.match(s.KP))||void 0===e?void 0:e.length)||0)+((null===(n=t.match(s.dA))||void 0===n?void 0:n.length)||0)>0},parse:m,createTransformer:p,getAnimatableNone:function(t){const e=m(t);return p(t)(e.map(f))}}},1649:function(t,e,n){"use strict";n.d(e,{Fq:function(){return o},Rx:function(){return i},bA:function(){return a}});var r=n(4169);const i={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},o={...i,transform:t=>(0,r.u)(0,1,t)},a={...i,default:1}},6190:function(t,e,n){"use strict";n.d(e,{$C:function(){return u},RW:function(){return o},aQ:function(){return a},px:function(){return s},vh:function(){return l},vw:function(){return c}});var r=n(6430);const i=t=>({test:e=>(0,r.HD)(e)&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),o=i("deg"),a=i("%"),s=i("px"),l=i("vh"),c=i("vw"),u={...a,parse:t=>a.parse(t)/100,transform:t=>a.transform(100*t)}},6430:function(t,e,n){"use strict";n.d(e,{HD:function(){return s},KP:function(){return i},Nw:function(){return r},dA:function(){return o},mj:function(){return a}});const r=t=>Math.round(1e5*t)/1e5,i=/(-)?([\d]*\.?[\d])+/g,o=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,a=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function s(t){return"string"==typeof t}},2490:function(t,e,n){"use strict";n.d(e,{L:function(){return i}});var r=n(406);function i(t){return Boolean((0,r.i)(t)&&t.add)}},406:function(t,e,n){"use strict";n.d(e,{i:function(){return r}});const r=t=>Boolean(t&&t.getVelocity)},2708:function(t,e,n){"use strict";n.d(e,{YD:function(){return h}});var r=n(7294),i=Object.defineProperty,o=(t,e,n)=>(((t,e,n)=>{e in t?i(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n})(t,"symbol"!=typeof e?e+"":e,n),n),a=new Map,s=new WeakMap,l=0,c=void 0;function u(t){return Object.keys(t).sort().filter((e=>void 0!==t[e])).map((e=>{return`${e}_${"root"===e?(n=t.root,n?(s.has(n)||(l+=1,s.set(n,l.toString())),s.get(n)):"0"):t[e]}`;var n})).toString()}function d(t,e,n={},r=c){if(void 0===window.IntersectionObserver&&void 0!==r){const i=t.getBoundingClientRect();return e(r,{isIntersecting:r,target:t,intersectionRatio:"number"==typeof n.threshold?n.threshold:0,time:0,boundingClientRect:i,intersectionRect:i,rootBounds:i}),()=>{}}const{id:i,observer:o,elements:s}=function(t){let e=u(t),n=a.get(e);if(!n){const r=new Map;let i;const o=new IntersectionObserver((e=>{e.forEach((e=>{var n;const o=e.isIntersecting&&i.some((t=>e.intersectionRatio>=t));t.trackVisibility&&void 0===e.isVisible&&(e.isVisible=o),null==(n=r.get(e.target))||n.forEach((t=>{t(o,e)}))}))}),t);i=o.thresholds||(Array.isArray(t.threshold)?t.threshold:[t.threshold||0]),n={id:e,observer:o,elements:r},a.set(e,n)}return n}(n);let l=s.get(t)||[];return s.has(t)||s.set(t,l),l.push(e),o.observe(t),function(){l.splice(l.indexOf(e),1),0===l.length&&(s.delete(t),o.unobserve(t)),0===s.size&&(o.disconnect(),a.delete(i))}}r.Component;function h({threshold:t,delay:e,trackVisibility:n,rootMargin:i,root:o,triggerOnce:a,skip:s,initialInView:l,fallbackInView:c,onChange:u}={}){var h;const[m,p]=r.useState(null),f=r.useRef(),[g,v]=r.useState({inView:!!l,entry:void 0});f.current=u,r.useEffect((()=>{if(s||!m)return;let r;return r=d(m,((t,e)=>{v({inView:t,entry:e}),f.current&&f.current(t,e),e.isIntersecting&&a&&r&&(r(),r=void 0)}),{root:o,rootMargin:i,threshold:t,trackVisibility:n,delay:e},c),()=>{r&&r()}}),[Array.isArray(t)?t.toString():t,m,o,i,a,s,n,c,e]);const y=null==(h=g.entry)?void 0:h.target,b=r.useRef();m||!y||a||s||b.current===y||(b.current=y,v({inView:!!l,entry:void 0}));const x=[p,g.inView,g.entry];return x.ref=x[0],x.inView=x[1],x.entry=x[2],x}}}]); +//# sourceMappingURL=commons-770989b10db241bbefaa.js.map \ No newline at end of file diff --git a/commons-69edc0ac247a604650a5.js.map b/commons-770989b10db241bbefaa.js.map similarity index 99% rename from commons-69edc0ac247a604650a5.js.map rename to commons-770989b10db241bbefaa.js.map index b8ecc916..b516d1e1 100644 --- a/commons-69edc0ac247a604650a5.js.map +++ b/commons-770989b10db241bbefaa.js.map @@ -1 +1 @@ -{"version":3,"file":"commons-69edc0ac247a604650a5.js","mappings":"oQAOO,SAASA,IACd,MAAM,KAAEC,EAAI,kBAAEC,IAAsBC,EAAAA,EAAAA,gBAAc,cAoC5CC,EAAYH,EAAKI,aAAaC,MAC9BC,EAAkBN,EAAKI,aAAaG,YACpCC,EAAcR,EAAKI,aAAaK,QAAUC,EAAAA,GAC1CC,EACJV,EAAkBW,MAAM,GAAGC,KAAKC,YAAYC,MAAMC,gBAC/CC,SAEL,OACEC,EAAAA,cAAAA,EAAAA,SAAA,KACEA,EAAAA,cAAA,aAAQf,GACRe,EAAAA,cAAA,QAAMC,KAAK,cAAcC,QAASd,IAClCY,EAAAA,cAAA,QACEC,KAAK,2BACLC,QAASpB,EAAKI,aAAaiB,qBAG7BH,EAAAA,cAAA,QAAMI,SAAS,UAAUF,QAAQ,YACjCF,EAAAA,cAAA,QAAMI,SAAS,iBAAiBF,QAASd,IACzCY,EAAAA,cAAA,QAAMI,SAAS,SAASF,QAASZ,IACjCU,EAAAA,cAAA,QAAMI,SAAS,WAAWF,QAASjB,IACnCe,EAAAA,cAAA,QAAMI,SAAS,WAAWF,QAASZ,EAAcG,EAAUY,MAC3DL,EAAAA,cAAA,QAAMI,SAAS,iBAAiBF,QAAO,GAAKT,EAAUa,QACtDN,EAAAA,c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,GACpBA,EAAO3wC,OAAS2wC,EAAO,GACvBA,EAAOt4B,MAAQs4B,EAAO,GACfA,CACT,C","sources":["webpack://@pomatez/website/./src/components/page/head.tsx","webpack://@pomatez/website/./src/hooks/use-target-outside.ts","webpack://@pomatez/website/./src/hooks/use-context-provider.ts","webpack://@pomatez/website/./src/hooks/use-is-browser.ts","webpack://@pomatez/website/./src/components/navigation/nav-link.tsx","webpack://@pomatez/website/./src/components/svg.tsx","webpack://@pomatez/website/./src/components/logo.tsx","webpack://@pomatez/website/./src/components/navigation/navbar.tsx","webpack://@pomatez/website/./src/components/sidebar.tsx","webpack://@pomatez/website/./src/components/footer.tsx","webpack://@pomatez/website/./src/components/page/layout.tsx","webpack://@pomatez/website/./src/components/header.tsx","webpack://@pomatez/website/./src/config.ts","webpack://@pomatez/website/./src/context/nav-context.tsx","webpack://@pomatez/website/./src/context/theme-context.tsx","webpack://@pomatez/website/./src/context/viewport-context.tsx","webpack://@pomatez/website/./src/styles/themes.ts","webpack://@pomatez/website/./src/styles/media.ts","webpack://@pomatez/website/./src/styles/global.ts","webpack://@pomatez/website/./src/styles/components/layout.ts","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/context/MotionConfigContext.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/context/MotionContext/index.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/context/PresenceContext.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/context/LazyContext.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/utils/is-ref-object.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/render/utils/is-variant-label.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/animation/utils/is-animation-controls.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/render/utils/variant-props.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/render/utils/is-controlling-variants.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/context/MotionContext/create.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/context/MotionContext/utils.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/motion/features/definitions.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/context/LayoutGroupContext.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/motion/utils/symbol.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/motion/index.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/motion/features/load-features.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/motion/utils/use-visual-element.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/render/dom/motion-proxy.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/render/svg/lowercase-elements.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/projection/styles/scale-correction.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/motion/utils/is-forced-motion-value.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/render/html/utils/build-transform.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/render/dom/value-types/get-as-type.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/render/html/utils/build-styles.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/render/html/utils/create-render-state.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/render/html/use-props.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/motion/utils/valid-prop.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/render/dom/utils/filter-props.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/render/svg/utils/transform-origin.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/render/svg/utils/path.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/render/svg/utils/build-attrs.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/render/svg/utils/is-svg-tag.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/render/svg/use-props.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/render/dom/use-render.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/render/html/utils/render.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/render/svg/utils/camel-case-attrs.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/render/svg/utils/render.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/render/html/utils/scrape-motion-values.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/render/svg/utils/scrape-motion-values.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/value/utils/resolve-motion-value.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/motion/utils/use-visual-state.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/render/svg/config-motion.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/render/html/config-motion.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/events/add-dom-event.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/events/utils/is-primary-pointer.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/events/event-info.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/events/add-pointer-event.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/gestures/drag/utils/lock.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/motion/features/Feature.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/gestures/hover.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/gestures/utils/is-node-or-child.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/gestures/press.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/motion/features/viewport/observers.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/motion/features/viewport/index.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/motion/features/gestures.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/gestures/focus.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/utils/shallow-compare.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/render/utils/animation-state.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/motion/features/animation/exit.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/motion/features/animations.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/motion/features/animation/index.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/utils/distance.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/gestures/pan/PanSession.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/projection/geometry/delta-calc.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/projection/geometry/models.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/projection/utils/each-axis.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/projection/geometry/conversion.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/projection/utils/has-transform.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/projection/geometry/delta-apply.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/projection/utils/measure.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/gestures/pan/index.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/projection/node/state.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/projection/styles/scale-border-radius.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/projection/styles/scale-box-shadow.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/projection/animation/mix-values.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/projection/geometry/copy.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/projection/geometry/delta-remove.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/projection/geometry/utils.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/projection/shared/stack.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/projection/styles/transform.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/render/utils/compare-by-depth.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/render/utils/flat-tree.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/projection/node/create-projection-node.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/debug/record.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/render/dom/utils/is-svg-element.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/utils/delay.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/animation/interfaces/single-value.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/projection/node/DocumentProjectionNode.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/projection/node/HTMLProjectionNode.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/motion/features/drag.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/gestures/drag/index.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/render/dom/utils/css-variables-conversion.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/render/dom/utils/unit-conversion.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/render/dom/utils/parse-dom-variant.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/utils/reduced-motion/state.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/render/store.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/render/VisualElement.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/utils/reduced-motion/index.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/render/utils/motion-values.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/render/dom/DOMVisualElement.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/render/html/HTMLVisualElement.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/render/svg/SVGVisualElement.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/render/dom/create-visual-element.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/render/dom/motion.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/motion/features/layout.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/render/dom/utils/create-config.mjs","webpack://@pomatez/website/./src/styles/animate.ts","webpack://@pomatez/website/./src/styles/components/button.ts","webpack://@pomatez/website/./src/styles/mixins.ts","webpack://@pomatez/website/./src/styles/components/nav.ts","webpack://@pomatez/website/./src/styles/components/header.ts","webpack://@pomatez/website/./src/styles/components/footer.ts","webpack://@pomatez/website/./src/styles/components/sidebar.ts","webpack://@pomatez/website/./src/styles/sections/hero.ts","webpack://@pomatez/website/./src/styles/sections/features.ts","webpack://@pomatez/website/./src/styles/sections/roadmap.ts","webpack://@pomatez/website/./src/styles/sections/download.ts","webpack://@pomatez/website/./src/styles/sections/404.ts","webpack://@pomatez/website/./src/utils/isPreferredDark.ts","webpack://@pomatez/website/./src/utils/detectOS.ts","webpack://@pomatez/website/./src/utils/storage.ts","webpack://@pomatez/website/./src/utils/isSSR.ts","webpack://@pomatez/website/./node_modules/lodash.throttle/index.js","webpack://@pomatez/website/./node_modules/react-scroll/modules/components/Button.js","webpack://@pomatez/website/./node_modules/react-scroll/modules/components/Element.js","webpack://@pomatez/website/./node_modules/react-scroll/modules/components/Link.js","webpack://@pomatez/website/./node_modules/react-scroll/modules/index.js","webpack://@pomatez/website/./node_modules/react-scroll/modules/mixins/Helpers.js","webpack://@pomatez/website/./node_modules/react-scroll/modules/mixins/animate-scroll.js","webpack://@pomatez/website/./node_modules/react-scroll/modules/mixins/cancel-events.js","webpack://@pomatez/website/./node_modules/react-scroll/modules/mixins/passive-event-listeners.js","webpack://@pomatez/website/./node_modules/react-scroll/modules/mixins/scroll-element.js","webpack://@pomatez/website/./node_modules/react-scroll/modules/mixins/scroll-events.js","webpack://@pomatez/website/./node_modules/react-scroll/modules/mixins/scroll-hash.js","webpack://@pomatez/website/./node_modules/react-scroll/modules/mixins/scroll-link.js","webpack://@pomatez/website/./node_modules/react-scroll/modules/mixins/scroll-spy.js","webpack://@pomatez/website/./node_modules/react-scroll/modules/mixins/scroller.js","webpack://@pomatez/website/./node_modules/react-scroll/modules/mixins/smooth.js","webpack://@pomatez/website/./node_modules/react-scroll/modules/mixins/utils.js","webpack://@pomatez/website/./assets/icons/apple.svg","webpack://@pomatez/website/./assets/icons/arrow-back.svg","webpack://@pomatez/website/./assets/icons/download.svg","webpack://@pomatez/website/./assets/icons/github.svg","webpack://@pomatez/website/./assets/icons/moon.svg","webpack://@pomatez/website/./assets/icons/pomatez.svg","webpack://@pomatez/website/./assets/icons/snap-store.svg","webpack://@pomatez/website/./assets/icons/sunny.svg","webpack://@pomatez/website/./assets/icons/tux.svg","webpack://@pomatez/website/./assets/icons/windows.svg","webpack://@pomatez/website/./assets/images/watermark-left.svg","webpack://@pomatez/website/./assets/images/watermark-right.svg","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/animation/hooks/animation-controls.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/animation/hooks/use-animation.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/utils/use-instant-transition-state.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/easing/utils/is-bezier-definition.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/animation/animators/waapi/easing.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/easing/cubic-bezier.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/easing/ease.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/easing/utils/is-easing-array.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/easing/back.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/easing/utils/map.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/easing/anticipate.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/utils/hsla-to-rgba.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/utils/mix-color.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/utils/mix-complex.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/utils/interpolate.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/utils/offsets/default.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/utils/offsets/fill.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/animation/generators/keyframes.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/utils/offsets/time.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/animation/generators/utils/velocity.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/animation/generators/spring/find.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/animation/generators/spring/index.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/animation/generators/inertia.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/animation/animators/js/driver-frameloop.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/animation/generators/utils/calc-duration.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/animation/animators/js/index.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/animation/animators/waapi/create-accelerated-animation.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/utils/memo.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/animation/animators/waapi/index.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/animation/animators/waapi/utils/get-final-keyframe.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/animation/utils/default-transitions.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/animation/utils/is-animatable.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/animation/utils/is-none.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/animation/interfaces/motion-value.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/animation/utils/keyframes.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/animation/animators/instant.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/animation/optimized-appear/data-id.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/animation/interfaces/visual-element-target.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/animation/interfaces/visual-element-variant.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/animation/interfaces/visual-element.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/animation/utils/is-keyframes-target.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/animation/utils/transitions.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/easing/circ.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/easing/modifiers/mirror.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/easing/modifiers/reverse.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/frameloop/render-step.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/frameloop/batcher.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/frameloop/frame.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/render/dom/utils/camel-to-dash.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/render/dom/utils/is-css-variable.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/render/dom/value-types/animatable-none.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/render/dom/value-types/defaults.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/render/dom/value-types/type-auto.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/render/dom/value-types/dimensions.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/render/dom/value-types/type-int.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/render/dom/value-types/number.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/render/dom/value-types/test.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/render/html/utils/transform.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/render/utils/resolve-dynamic-variants.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/render/utils/resolve-variants.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/render/dom/value-types/find.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/render/utils/setters.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/utils/array.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/utils/clamp.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/utils/errors.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/utils/is-browser.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/utils/is-numerical-string.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/utils/is-zero-value-string.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/utils/mix.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/utils/noop.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/utils/pipe.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/utils/progress.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/utils/resolve-value.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/utils/subscription-manager.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/utils/time-conversion.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/utils/use-constant.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/utils/velocity-per-second.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/value/index.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/value/types/color/hex.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/value/types/color/hsla.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/value/types/color/index.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/value/types/color/rgba.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/value/types/color/utils.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/value/types/complex/filter.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/value/types/complex/index.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/value/types/numbers/index.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/value/types/numbers/units.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/value/types/utils.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/value/use-will-change/is.mjs","webpack://@pomatez/website/./node_modules/framer-motion/dist/es/value/utils/is-motion-value.mjs","webpack://@pomatez/website/./node_modules/react-intersection-observer/index.mjs"],"sourcesContent":["import React from \"react\";\nimport { graphql, useStaticQuery } from \"gatsby\";\nimport { MarkDownProps, SiteMetaProps } from \"../../types\";\nimport { URL_PATH_PREFIX } from \"../../config\";\n\ntype QueryProps = SiteMetaProps & MarkDownProps;\n\nexport function PageHead() {\n const { site, allMarkdownRemark } = useStaticQuery(\n graphql`\n query HeaderQuery {\n site {\n siteMetadata {\n title\n description\n siteUrl\n author\n twitterUsername\n googleVerification\n }\n }\n allMarkdownRemark(\n filter: { fileAbsolutePath: { regex: \"/hero/\" } }\n ) {\n edges {\n node {\n frontmatter {\n image {\n childImageSharp {\n original {\n height\n src\n width\n }\n }\n }\n }\n }\n }\n }\n }\n `\n );\n\n const metaTitle = site.siteMetadata.title;\n const metaDescription = site.siteMetadata.description;\n const metaSiteUrl = site.siteMetadata.siteUrl + URL_PATH_PREFIX;\n const metaImage =\n allMarkdownRemark.edges[0].node.frontmatter.image.childImageSharp\n .original;\n\n return (\n <>\n {metaTitle}\n \n \n\n \n \n \n \n \n \n \n\n \n \n \n \n\n \n \n \n \n );\n}\n","import { useState, useLayoutEffect } from \"react\";\n\ninterface TargetOutside {\n ref: React.RefObject;\n eventType?: string;\n}\n\nexport const useTargetOutside = ({\n ref,\n eventType = \"click\",\n}: TargetOutside) => {\n const [state, setState] = useState();\n\n useLayoutEffect(() => {\n function outsideTarget(e: Event) {\n const { current } = ref;\n const target = e.target as HTMLElement;\n\n if (current) {\n if (current.contains(target)) {\n return;\n }\n setState(false);\n }\n }\n\n function closeOnEscape(e: KeyboardEvent) {\n if (e.key === \"Escape\") {\n setState(false);\n }\n }\n\n if (state) {\n document.addEventListener(eventType, outsideTarget);\n document.addEventListener(\"keydown\", closeOnEscape);\n }\n return () => {\n document.removeEventListener(eventType, outsideTarget);\n document.removeEventListener(\"keydown\", closeOnEscape);\n };\n }, [state, ref, eventType]);\n\n return [state, setState];\n};\n","import { useContext } from \"react\";\nimport { NavContext, ThemeContext, ViewportContext } from \"../context\";\n\nexport const useContextProvider = () => {\n const { isDarkMode, themeToggler } = useContext(ThemeContext);\n\n const { isMenuOpen, toggleMenu, closeMenu } = useContext(NavContext);\n\n const { width } = useContext(ViewportContext);\n\n const isOnMobile = width <= 1024;\n\n return {\n isDarkMode,\n themeToggler,\n isOnMobile,\n isMenuOpen,\n toggleMenu,\n closeMenu,\n };\n};\n","import { useEffect, useState } from \"react\";\n\nexport const useIsBrowser = () => {\n const [isBrowser, setIsBrowser] = useState(false);\n\n useEffect(() => {\n setIsBrowser(true);\n return () => setIsBrowser(false);\n }, []);\n\n return isBrowser;\n};\n","import React from \"react\";\nimport { StyledNavLinkItem, StyledNavLinkAnchor } from \"../../styles\";\nimport { useContextProvider } from \"../../hooks\";\nimport { NAV_LINKS } from \"../../config\";\n\nexport function NavLinks() {\n const { closeMenu } = useContextProvider();\n\n return (\n <>\n {NAV_LINKS.map((nav, index) =>\n nav.offset ? (\n \n \n {nav.label}\n \n \n ) : (\n \n \n {nav.label}\n \n \n )\n )}\n \n );\n}\n","import React from \"react\";\nimport { useIsBrowser } from \"../hooks\";\n\nimport PomatezSVG from \"../../assets/icons/pomatez.svg\";\nimport DownloadSVG from \"../../assets/icons/download.svg\";\nimport SunnySVG from \"../../assets/icons/sunny.svg\";\nimport MoonSVG from \"../../assets/icons/moon.svg\";\nimport GithubSVG from \"../../assets/icons/github.svg\";\nimport WindowSVG from \"../../assets/icons/windows.svg\";\nimport AppleSVG from \"../../assets/icons/apple.svg\";\nimport LinuxSVG from \"../../assets/icons/linux.svg\";\nimport SnapStoreSVG from \"../../assets/icons/snap-store.svg\";\nimport TuxSVG from \"../../assets/icons/tux.svg\";\nimport ArrowBackSVG from \"../../assets/icons/arrow-back.svg\";\n\nexport function SVG({ name }: { name?: string }) {\n const isBrowser = useIsBrowser();\n\n if (isBrowser) {\n switch (name) {\n case \"pomatez\":\n return ;\n case \"download\":\n return ;\n case \"sunny\":\n return ;\n case \"moon\":\n return ;\n case \"github\":\n return ;\n case \"windows\":\n return ;\n case \"apple\":\n return ;\n case \"linux\":\n return ;\n case \"snap-store\":\n return ;\n case \"tux\":\n return ;\n case \"arrow-back\":\n return ;\n default:\n return ;\n }\n }\n\n return null;\n}\n","import React from \"react\";\nimport { Link as ScrollLink } from \"react-scroll\";\nimport { StyledNavLogo } from \"../styles\";\nimport { APP_NAME } from \"../config\";\nimport { SVG } from \"./svg\";\n\nexport function Logo() {\n return (\n \n \n \n

{APP_NAME}

\n
\n
\n );\n}\n","import React from \"react\";\nimport { Link as ScrollLink } from \"react-scroll\";\nimport { useContextProvider } from \"../../hooks\";\nimport {\n StyledNav,\n StyledNavHeader,\n StyledNavContent,\n StyledNavLinks,\n StyledNavButtonWrapper,\n StyledNavThemeToggler,\n StyledScrollToDownload,\n StyledNavMenu,\n} from \"../../styles\";\nimport { Logo } from \"../logo\";\nimport { NavLinks } from \"../navigation\";\nimport { SVG } from \"../svg\";\n\nexport function Navbar() {\n const { isDarkMode, themeToggler, isMenuOpen, toggleMenu } =\n useContextProvider();\n\n return (\n \n \n \n\n \n \n \n \n\n \n \n Mode\n \n \n \n \n \n See Installers\n \n \n \n \n\n \n  \n  \n  \n \n \n \n );\n}\n","import React, { useEffect } from \"react\";\nimport { Link as ScrollLink } from \"react-scroll\";\nimport {\n StyledSidebar,\n StyledSidebarList,\n StyledNavButtonWrapper,\n StyledNavThemeToggler,\n StyledScrollToDownload,\n} from \"../styles\";\nimport { useContextProvider } from \"../hooks\";\nimport { NavLinks } from \"./navigation\";\nimport { SVG } from \"./svg\";\n\nexport function Sidebar() {\n const {\n isOnMobile,\n isDarkMode,\n themeToggler,\n isMenuOpen,\n toggleMenu,\n } = useContextProvider();\n\n useEffect(() => {\n if (isMenuOpen) {\n document.body.style.overflow = \"hidden\";\n } else {\n document.body.style.overflow = \"unset\";\n }\n }, [isMenuOpen]);\n\n return isOnMobile && isMenuOpen ? (\n \n \n \n Mode\n {isDarkMode ? : }\n \n \n\n \n \n\n \n \n \n See Installers\n \n \n \n \n ) : null;\n}\n","import React from \"react\";\nimport {\n StyledCopyrightText,\n StyledFooter,\n StyledFooterContent,\n StyledFooterNote,\n} from \"../styles\";\nimport {\n APP_NAME,\n AUTHOR_GITHUB_URL,\n PROJECT_GITHUB_URL,\n} from \"../config\";\nimport { SVG } from \"./svg\";\n\nexport function Footer() {\n return (\n \n \n \n \n \n {APP_NAME} © {new Date().getFullYear()}\n \n \n\n \n Developed and Maintained by
\n \n Roldan Montilla Jr\n \n
\n
\n
\n );\n}\n","import React, { ReactNode } from \"react\";\nimport {\n NavProvider,\n ThemeProvider,\n ViewportProvider,\n} from \"../../context\";\nimport { StyledLayout } from \"../../styles\";\nimport { Navbar } from \"../navigation\";\nimport { Sidebar } from \"../sidebar\";\nimport { Footer } from \"../footer\";\n\ntype Props = { children?: ReactNode };\n\nexport function PageLayout({ children }: Props) {\n return (\n \n \n \n \n \n \n
{children}
\n