PageSourceSearch

https://stockandaccountbook.com/_next/static/chunks/pages/_app-797462a0ac6d3f07.js

js stockandaccountbook.com collected 2026-10-03 20:08:28 UTC 204,883 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2888],{3454:function(t,e,i){"use strict";var r,n;t.exports=(null==(r=i.g.process)?void 0:r.env)&&"object"==typeof(null==(n=i.g.process)?void 0:n.env)?i.g.process:i(7663)},1118:function(t,e,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return i(4781)}])},8199:function(t,e){"use strict";var i,r,n,s;Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var i in e)Object.defineProperty(t,i,{enumerable:!0,get:e[i]})}(e,{ACTION_FAST_REFRESH:function(){return h},ACTION_NAVIGATE:function(){return a},ACTION_PREFETCH:function(){return c},ACTION_REFRESH:function(){return o},ACTION_RESTORE:function(){return l},ACTION_SERVER_ACTION:function(){return d},ACTION_SERVER_PATCH:function(){return u},PrefetchCacheEntryStatus:function(){return r},PrefetchKind:function(){return i},isThenable:function(){return f}});let o="refresh",a="navigate",l="restore",u="server-patch",c="prefetch",h="fast-refresh",d="server-action";function f(t){return t&&("object"==typeof t||"function"==typeof t)&&"function"==typeof t.then}(n=i||(i={})).AUTO="auto",n.FULL="full",n.TEMPORARY="temporary",(s=r||(r={})).fresh="fresh",s.reusable="reusable",s.expired="expired",s.stale="stale",("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},7195:function(t,e,i){"use strict";function r(t,e,i,r){return!1}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getDomainLocale",{enumerable:!0,get:function(){return r}}),i(8337),("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},4080:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Image",{enumerable:!0,get:function(){return x}});let r=i(8754),n=i(1757),s=i(5893),o=n._(i(7294)),a=r._(i(3935)),l=r._(i(3867)),u=i(5283),c=i(6594),h=i(3945);i(3179);let d=i(1928),f=r._(i(3872)),p={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1};function m(t,e,i,r,n,s,o){let a=null==t?void 0:t.src;t&&t["data-loaded-src"]!==a&&(t["data-loaded-src"]=a,("decode"in t?t.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(t.parentElement&&t.isConnected){if("empty"!==e&&n(!0),null==i?void 0:i.current){let e=new Event("load");Object.defineProperty(e,"target",{writable:!1,value:t});let r=!1,n=!1;i.current({...e,nativeEvent:e,currentTarget:t,target:t,isDefaultPrevented:()=>r,isPropagationStopped:()=>n,persist:()=>{},preventDefault:()=>{r=!0,e.preventDefault()},stopPropagation:()=>{n=!0,e.stopPropagation()}})}(null==r?void 0:r.current)&&r.current(t)}}))}function y(t){return o.use?{fetchPriority:t}:{fetchpriority:t}}let g=(0,o.forwardRef)((t,e)=>{let{src:i,srcSet:r,sizes:n,height:a,width:l,decoding:u,className:c,style:h,fetchPriority:d,placeholder:f,loading:p,unoptimized:g,fill:v,onLoadRef:x,onLoadingCompleteRef:b,setBlurComplete:w,setShowAltText:S,sizesInput:P,onLoad:j,onError:k,...E}=t;return(0,s.jsx)("img",{...E,...y(d),loading:p,width:l,height:a,decoding:u,"data-nimg":v?"fill":"1",className:c,style:h,sizes:n,srcSet:r,src:i,ref:(0,o.useCallback)(t=>{e&&("function"==typeof e?e(t):"object"==typeof e&&(e.current=t)),t&&(k&&(t.src=t.src),t.complete&&m(t,f,x,b,w,g,P))},[i,f,x,b,w,k,g,P,e]),onLoad:t=>{m(t.currentTarget,f,x,b,w,g,P)},onError:t=>{S(!0),"empty"!==f&&w(!0),k&&k(t)}})});function v(t){let{isAppRouter:e,imgAttributes:i}=t,r={as:"image",imageSrcSet:i.srcSet,imageSizes:i.sizes,crossOrigin:i.crossOrigin,referrerPolicy:i.referrerPolicy,...y(i.fetchPriority)};return e&&a.default.preload?(a.default.preload(i.src,r),null):(0,s.jsx)(l.default,{children:(0,s.jsx)("link",{rel:"preload",href:i.srcSet?void 0:i.src,...r},"__nimg-"+i.src+i.srcSet+i.sizes)})}let x=(0,o.forwardRef)((t,e)=>{let i=(0,o.useContext)(d.RouterContext),r=(0,o.useContext)(h.ImageConfigContext),n=(0,o.useMemo)(()=>{var t;let e=p||r||c.imageConfigDefault,i=[...e.deviceSizes,...e.imageSizes].sort((t,e)=>t-e),n=e.deviceSizes.sort((t,e)=>t-e),s=null==(t=e.qualities)?void 0:t.sort((t,e)=>t-e);return{...e,allSizes:i,deviceSizes:n,qualities:s}},[r]),{onLoad:a,onLoadingComplete:l}=t,m=(0,o.useRef)(a);(0,o.useEffect)(()=>{m.current=a},[a]);let y=(0,o.useRef)(l);(0,o.useEffect)(()=>{y.current=l},[l]);let[x,b]=(0,o.useState)(!1),[w,S]=(0,o.useState)(!1),{props:P,meta:j}=(0,u.getImgProps)(t,{defaultLoader:f.default,imgConf:n,blurComplete:x,showAltText:w});return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(g,{...P,unoptimized:j.unoptimized,placeholder:j.placeholder,fill:j.fill,onLoadRef:m,onLoadingCompleteRef:y,setBlurComplete:b,setShowAltText:S,sizesInput:t.sizes,ref:e}),j.priority?(0,s.jsx)(v,{isAppRouter:!i,imgAttributes:P}):null]})});("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esMo
1dule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},8342:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return b}});let r=i(8754),n=i(5893),s=r._(i(7294)),o=i(6075),a=i(3955),l=i(8041),u=i(9903),c=i(5490),h=i(1928),d=i(257),f=i(4229),p=i(7195),m=i(9470),y=i(8199),g=new Set;function v(t,e,i,r,n,s){if(s||(0,a.isLocalURL)(e)){if(!r.bypassPrefetchedCheck){let n=e+"%"+i+"%"+(void 0!==r.locale?r.locale:"locale"in t?t.locale:void 0);if(g.has(n))return;g.add(n)}(async()=>s?t.prefetch(e,n):t.prefetch(e,i,r))().catch(t=>{})}}function x(t){return"string"==typeof t?t:(0,l.formatUrl)(t)}let b=s.default.forwardRef(function(t,e){let i,r;let{href:l,as:g,children:b,prefetch:w=null,passHref:S,replace:P,shallow:j,scroll:k,locale:E,onClick:T,onMouseEnter:M,onTouchStart:A,legacyBehavior:C=!1,...O}=t;i=b,C&&("string"==typeof i||"number"==typeof i)&&(i=(0,n.jsx)("a",{children:i}));let _=s.default.useContext(h.RouterContext),D=s.default.useContext(d.AppRouterContext),V=null!=_?_:D,R=!_,N=!1!==w,L=null===w?y.PrefetchKind.AUTO:y.PrefetchKind.FULL,{href:I,as:F}=s.default.useMemo(()=>{if(!_){let t=x(l);return{href:t,as:g?x(g):t}}let[t,e]=(0,o.resolveHref)(_,l,!0);return{href:t,as:g?(0,o.resolveHref)(_,g):e||t}},[_,l,g]),z=s.default.useRef(I),B=s.default.useRef(F);C&&(r=s.default.Children.only(i));let H=C?r&&"object"==typeof r&&r.ref:e,[U,W,$]=(0,f.useIntersection)({rootMargin:"200px"}),Z=s.default.useCallback(t=>{(B.current!==F||z.current!==I)&&($(),B.current=F,z.current=I),U(t),H&&("function"==typeof H?H(t):"object"==typeof H&&(H.current=t))},[F,H,I,$,U]);s.default.useEffect(()=>{V&&W&&N&&v(V,I,F,{locale:E},{kind:L},R)},[F,I,W,E,N,null==_?void 0:_.locale,V,R,L]);let q={ref:Z,onClick(t){C||"function"!=typeof T||T(t),C&&r.props&&"function"==typeof r.props.onClick&&r.props.onClick(t),V&&!t.defaultPrevented&&function(t,e,i,r,n,o,l,u,c){let{nodeName:h}=t.currentTarget;if("A"===h.toUpperCase()&&(function(t){let e=t.currentTarget.getAttribute("target");return e&&"_self"!==e||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which}(t)||!c&&!(0,a.isLocalURL)(i)))return;t.preventDefault();let d=()=>{let t=null==l||l;"beforePopState"in e?e[n?"replace":"push"](i,r,{shallow:o,locale:u,scroll:t}):e[n?"replace":"push"](r||i,{scroll:t})};c?s.default.startTransition(d):d()}(t,V,I,F,P,j,k,E,R)},onMouseEnter(t){C||"function"!=typeof M||M(t),C&&r.props&&"function"==typeof r.props.onMouseEnter&&r.props.onMouseEnter(t),V&&(N||!R)&&v(V,I,F,{locale:E,priority:!0,bypassPrefetchedCheck:!0},{kind:L},R)},onTouchStart:function(t){C||"function"!=typeof A||A(t),C&&r.props&&"function"==typeof r.props.onTouchStart&&r.props.onTouchStart(t),V&&(N||!R)&&v(V,I,F,{locale:E,priority:!0,bypassPrefetchedCheck:!0},{kind:L},R)}};if((0,u.isAbsoluteUrl)(F))q.href=F;else if(!C||S||"a"===r.type&&!("href"in r.props)){let t=void 0!==E?E:null==_?void 0:_.locale,e=(null==_?void 0:_.isLocaleDomain)&&(0,p.getDomainLocale)(F,t,null==_?void 0:_.locales,null==_?void 0:_.domainLocales);q.href=e||(0,m.addBasePath)((0,c.addLocale)(F,t,null==_?void 0:_.defaultLocale))}return C?s.default.cloneElement(r,q):(0,n.jsx)("a",{...O,...q,children:i})});("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},4229:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"useIntersection",{enumerable:!0,get:function(){return l}});let r=i(7294),n=i(4474),s="function"==typeof IntersectionObserver,o=new Map,a=[];function l(t){let{rootRef:e,rootMargin:i,disabled:l}=t,u=l||!s,[c,h]=(0,r.useState)(!1),d=(0,r.useRef)(null),f=(0,r.useCallback)(t=>{d.current=t},[]);return(0,r.useEffect)(()=>{if(s){if(u||c)return;let t=d.current;if(t&&t.tagName)return function(t,e,i){let{id:r,observer:n,elements:s}=function(t){let e;let i={root:t.root||null,margin:t.rootMargin||""},r=a.find(t=>t.root===i.root&&t.margin===i.margin);if(r&&(e=o.get(r)))return e;let n=new Map;return e={id:i,observer:new IntersectionObserver(t=>{t.forEach(t=>{let e=n.get(t.target),i=t.isIntersecting||t.intersectionRatio>0;e&&i&&e(i)})},t),elements:n},a.push(i),o.set(i,e),e}(i);return s.set(t,e),n.observe(t),function(){if(s.delete(t),n.unobserve(t),0===s.size){n.disconnect(),o.delete(r);let t=a.findIndex(t=>t.root===r.root&&t.margin===r.margin);t>-1&&a.splice(t,1)}}}(t,t=>t&&h(t),{root:null==e?void 0:e.current,rootMargin:i})}else if(!c){let t=(0,n.requestIdleCallback)(()=>h(!0));return()=>(0,n.cancelIdleCallback)(t)}},[u,i,e,c,d.current]),[f,c,(0,r.useCallback)(()=>{h(!1)},[])]}("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esMo
1dule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},5283:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getImgProps",{enumerable:!0,get:function(){return a}}),i(3179);let r=i(6630),n=i(6594);function s(t){return void 0!==t.default}function o(t){return void 0===t?t:"number"==typeof t?Number.isFinite(t)?t:NaN:"string"==typeof t&&/^[0-9]+$/.test(t)?parseInt(t,10):NaN}function a(t,e){var i,a;let l,u,c,{src:h,sizes:d,unoptimized:f=!1,priority:p=!1,loading:m,className:y,quality:g,width:v,height:x,fill:b=!1,style:w,overrideSrc:S,onLoad:P,onLoadingComplete:j,placeholder:k="empty",blurDataURL:E,fetchPriority:T,decoding:M="async",layout:A,objectFit:C,objectPosition:O,lazyBoundary:_,lazyRoot:D,...V}=t,{imgConf:R,showAltText:N,blurComplete:L,defaultLoader:I}=e,F=R||n.imageConfigDefault;if("allSizes"in F)l=F;else{let t=[...F.deviceSizes,...F.imageSizes].sort((t,e)=>t-e),e=F.deviceSizes.sort((t,e)=>t-e),r=null==(i=F.qualities)?void 0:i.sort((t,e)=>t-e);l={...F,allSizes:t,deviceSizes:e,qualities:r}}if(void 0===I)throw Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config");let z=V.loader||I;delete V.loader,delete V.srcSet;let B="__next_img_default"in z;if(B){if("custom"===l.loader)throw Error('Image with src "'+h+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader')}else{let t=z;z=e=>{let{config:i,...r}=e;return t(r)}}if(A){"fill"===A&&(b=!0);let t={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[A];t&&(w={...w,...t});let e={responsive:"100vw",fill:"100vw"}[A];e&&!d&&(d=e)}let H="",U=o(v),W=o(x);if("object"==typeof(a=h)&&(s(a)||void 0!==a.src)){let t=s(h)?h.default:h;if(!t.src)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(t));if(!t.height||!t.width)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(t));if(u=t.blurWidth,c=t.blurHeight,E=E||t.blurDataURL,H=t.src,!b){if(U||W){if(U&&!W){let e=U/t.width;W=Math.round(t.height*e)}else if(!U&&W){let e=W/t.height;U=Math.round(t.width*e)}}else U=t.width,W=t.height}}let $=!p&&("lazy"===m||void 0===m);(!(h="string"==typeof h?h:H)||h.startsWith("data:")||h.startsWith("blob:"))&&(f=!0,$=!1),l.unoptimized&&(f=!0),B&&h.endsWith(".svg")&&!l.dangerouslyAllowSVG&&(f=!0),p&&(T="high");let Z=o(g),q=Object.assign(b?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:C,objectPosition:O}:{},N?{}:{color:"transparent"},w),K=L||"empty"===k?null:"blur"===k?'url("data:image/svg+xml;charset=utf-8,'+(0,r.getImageBlurSvg)({widthInt:U,heightInt:W,blurWidth:u,blurHeight:c,blurDataURL:E||"",objectFit:q.objectFit})+'")':'url("'+k+'")',X=K?{backgroundSize:q.objectFit||"cover",backgroundPosition:q.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:K}:{},G=function(t){let{config:e,src:i,unoptimized:r,width:n,quality:s,sizes:o,loader:a}=t;if(r)return{src:i,srcSet:void 0,sizes:void 0};let{widths:l,kind:u}=function(t,e,i){let{deviceSizes:r,allSizes:n}=t;if(i){let t=/(^|\s)(1?\d?\d)vw/g,e=[];for(let r;r=t.exec(i);r)e.push(parseInt(r[2]));if(e.length){let t=.01*Math.min(...e);return{widths:n.filter(e=>e>=r[0]*t),kind:"w"}}return{widths:n,kind:"w"}}return"number"!=typeof e?{widths:r,kind:"w"}:{widths:[...new Set([e,2*e].map(t=>n.find(e=>e>=t)||n[n.length-1]))],kind:"x"}}(e,n,o),c=l.length-1;return{sizes:o||"w"!==u?o:"100vw",srcSet:l.map((t,r)=>a({config:e,src:i,quality:s,width:t})+" "+("w"===u?t:r+1)+u).join(", "),src:a({config:e,src:i,quality:s,width:l[c]})}}({config:l,src:h,unoptimized:f,width:U,quality:Z,sizes:d,loader:z});return{props:{...V,loading:$?"lazy":m,fetchPriority:T,width:U,height:W,decoding:M,className:y,style:{...q,...X},sizes:G.sizes,srcSet:G.srcSet,src:S||G.src},meta:{unoptimized:f,priority:p,placeholder:k,fill:b}}}},6630:function(t,e){"use strict";function i(t){let{widthInt:e,heightInt:i,blurWidth:r,blurHeight:n,blurDataURL:s,objectFit:o}=t,a=r?40*r:e,l=n?40*n:i,u=a&&l?"viewBox='0 0 "+a+" "+l+"'":"";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+u+"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3Cfe
1ColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='"+(u?"none":"contain"===o?"xMidYMid":"cover"===o?"xMidYMid slice":"none")+"' style='filter: url(%23b);' href='"+s+"'/%3E%3C/svg%3E"}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getImageBlurSvg",{enumerable:!0,get:function(){return i}})},6210:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var i in e)Object.defineProperty(t,i,{enumerable:!0,get:e[i]})}(e,{default:function(){return l},getImageProps:function(){return a}});let r=i(8754),n=i(5283),s=i(4080),o=r._(i(3872));function a(t){let{props:e}=(0,n.getImgProps)(t,{defaultLoader:o.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[t,i]of Object.entries(e))void 0===i&&delete e[t];return{props:e}}let l=s.Image},3872:function(t,e){"use strict";function i(t){var e;let{config:i,src:r,width:n,quality:s}=t,o=s||(null==(e=i.qualities)?void 0:e.reduce((t,e)=>Math.abs(e-75)<Math.abs(t-75)?e:t))||75;return i.path+"?url="+encodeURIComponent(r)+"&w="+n+"&q="+o}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return r}}),i.__next_img_default=!0;let r=i},4781:function(t,e,i){"use strict";i.r(e),i.d(e,{default:function(){return to}});var r,n,s,o,a,l,u,c,h,d,f,p,m,y,g=i(5893),v=i(9008),x=i.n(v),b=i(4298),w=i.n(b),S=i(7294),P=i(5007);function j(t){return(j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function k(t){return(k=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function E(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function T(t,e){return(T=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function M(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}var A=function(t){var e;function i(){!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,i);for(var t,e,r,n=arguments.length,s=Array(n),o=0;o<n;o++)s[o]=arguments[o];return r=(t=(e=k(i)).call.apply(e,[this].concat(s)))&&("object"===j(t)||"function"==typeof t)?t:E(this),M(E(r),"state",{bootstrapped:!1}),M(E(r),"_unsubscribe",void 0),M(E(r),"handlePersistorState",function(){r.props.persistor.getState().bootstrapped&&(r.props.onBeforeLift?Promise.resolve(r.props.onBeforeLift()).finally(function(){return r.setState({bootstrapped:!0})}):r.setState({bootstrapped:!0}),r._unsubscribe&&r._unsubscribe())}),r}return!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&T(t,e)}(i,t),e=[{key:"componentDidMount",value:function(){this._unsubscribe=this.props.persistor.subscribe(this.handlePersistorState),this.handlePersistorState()}},{key:"componentWillUnmount",value:function(){this._unsubscribe&&this._unsubscribe()}},{key:"render",value:function(){return"function"==typeof this.props.children?this.props.children(this.state.bootstrapped):this.state.bootstrapped?this.props.children:this.props.loading}}],function(t,e){for(var i=0;i<e.length;i++){var r=e[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}(i.prototype,e),i}(S.PureComponent);M(A,"defaultProps",{children:null,loading:null});var C=i(5839),O="persist:",_="persist/FLUSH",D="persist/REHYDRATE",V="persist/PAUSE",R="persist/PERSIST",N="persist/PURGE",L="persist/REGISTER";function I(t){return(I="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function F(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,r)}return i}function z(t){return JSON.stringify(t)}function B(t){return JSON.parse(t)}function H(t){}function U(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,r)}return i}function W(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};
1e%2?U(i,!0).forEach(function(e){var r;r=i[e],e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):U(i).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))})}return t}var $=i(5849);function Z(t){return function(t){if(Array.isArray(t)){for(var e=0,i=Array(t.length);e<t.length;e++)i[e]=t[e];return i}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance")}()}function q(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,r)}return i}function K(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?q(i,!0).forEach(function(e){var r;r=i[e],e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):q(i).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))})}return t}var X={registry:[],bootstrapped:!1},G=i(6734),Y=i(8187),J=i(9025);
1let Q={key:"root",storage:G.Z},tt=(0,$.UY)({cart:Y.ZP,userLocation:J.Z}),te=(r=void 0!==Q.version?Q.version:-1,Q.debug,n=void 0===Q.stateReconciler?function(t,e,i,r){r.debug;var n=function(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?F(i,!0).forEach(function(e){var r;r=i[e],e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):F(i).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))})}return t}({},i);return t&&"object"===I(t)&&Object.keys(t).forEach(function(r){"_persist"!==r&&e[r]===i[r]&&(n[r]=t[r])}),n}:Q.stateReconciler,s=Q.getStoredState||function(t){var e,i=t.transforms||[],r="".concat(void 0!==t.keyPrefix?t.keyPrefix:O).concat(t.key),n=t.storage;return t.debug,e=!1===t.deserialize?function(t){return t}:"function"==typeof t.deserialize?t.deserialize:B,n.getItem(r).then(function(t){if(t)try{var r={},n=e(t);return Object.keys(n).forEach(function(t){r[t]=i.reduceRight(function(e,i){return i.out(e,t,n)},e(n[t]))}),r}catch(t){throw t}})},o=void 0!==Q.timeout?Q.timeout:5e3,a=null,l=!1,u=!0,c=function(t){return t._persist.rehydrated&&a&&!u&&a.update(t),t},function(t,e){var i,h,d=t||{},f=d._persist,p=function(t,e){if(null==t)return{};var i,r,n=function(t,e){if(null==t)return{};var i,r,n={},s=Object.keys(t);for(r=0;r<s.length;r++)i=s[r],e.indexOf(i)>=0||(n[i]=t[i]);return n}(t,e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);for(r=0;r<s.length;r++)i=s[r],!(e.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(t,i)&&(n[i]=t[i])}return n}(d,["_persist"]);if(e.type===R){var m=!1,y=function(t,i){m||(e.rehydrate(Q.key,t,i),m=!0)};if(o&&setTimeout(function(){m||y(void 0,Error('redux-persist: persist timed out for persist key "'.concat(Q.key,'"')))},o),u=!1,a||(a=function(t){var e,i=t.blacklist||null,r=t.whitelist||null,n=t.transforms||[],s=t.throttle||0,o="".concat(void 0!==t.keyPrefix?t.keyPrefix:O).concat(t.key),a=t.storage;e=!1===t.serialize?function(t){return t}:"function"==typeof t.serialize?t.serialize:z;var l=t.writeFailHandler||null,u={},c={},h=[],d=null,f=null;function p(){if(0===h.length){d&&clearInterval(d),d=null;return}var t=h.shift(),i=n.reduce(function(e,i){return i.in(e,t,u)},u[t]);if(void 0!==i)try{c[t]=e(i)}catch(t){console.error("redux-persist/createPersistoid: error serializing state",t)}else delete c[t];0===h.length&&(Object.keys(c).forEach(function(t){void 0===u[t]&&delete c[t]}),f=a.setItem(o,e(c)).catch(y))}function m(t){return(!r||-1!==r.indexOf(t)||"_persist"===t)&&(!i||-1===i.indexOf(t))}function y(t){l&&l(t)}return{update:function(t){Object.keys(t).forEach(function(e){m(e)&&u[e]!==t[e]&&-1===h.indexOf(e)&&h.push(e)}),Object.keys(u).forEach(function(e){void 0===t[e]&&m(e)&&-1===h.indexOf(e)&&void 0!==u[e]&&h.push(e)}),null===d&&(d=setInterval(p,s)),u=t},flush:function(){for(;0!==h.length;)p();return f||Promise.resolve()}}}(Q)),f)return W({},tt(p,e),{_persist:f});if("function"!=typeof e.rehydrate||"function"!=typeof e.register)throw Error("redux-persist: either rehydrate or register is not a function on the PERSIST action. This can happen if the action is being replayed. This is an unexplored use case, please open an issue and we will figure out a resolution.");return e.register(Q.key),s(Q).then(function(t){(Q.migrate||function(t,e){return Promise.resolve(t)})(t,r).then(function(t){y(t)},function(t){y(void 0,t)})},function(t){y(void 0,t)}),W({},tt(p,e),{_persist:{version:r,rehydrated:!1}})}if(e.type===N)return l=!0,e.result((i=Q.storage,h="".concat(void 0!==Q.keyPrefix?Q.keyPrefix:O).concat(Q.key),i.removeItem(h,H))),W({},tt(p,e),{_persist:f});if(e.type===_)return e.result(a&&a.flush()),W({},tt(p,e),{_persist:f});if(e.type===V)u=!0;else if(e.type===D){if(l)return W({},p,{_persist:W({},f,{rehydrated:!0})});if(e.key===Q.key){var g=tt(p,e),v=e.payload;return c(W({},!1!==n&&void 0!==v?n(v,t,g,Q):g,{_persist:W({},f,{rehydrated:!0})}))}}if(!f)return tt(t,e);var x=tt(p,e);return x===p?t:c(W({},x,{_persist:f}))}),ti=(0,C.xC)({reducer:te}),tr=(d=!1,f=(0,$.MT)(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:X,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case L:return K({},t,{registry:[].concat(Z(t.registry),[e.key])});case D:var i=t.registry.indexOf(e.key),r=Z(t.registry);return r.splice(i,1),K({},t,{registry:r,bootstrapped:0===r.length});default:return t}},X,void 0),p=function(t){f.dispatch({type:L,key:t})}
1,m=function(t,e,i){var r={type:D,payload:e,err:i,key:t};ti.dispatch(r),f.dispatch(r),d&&y.getState().bootstrapped&&(d(),d=!1)},y=K({},f,{purge:function(){var t=[];return ti.dispatch({type:N,result:function(e){t.push(e)}}),Promise.all(t)},flush:function(){var t=[];return ti.dispatch({type:_,result:function(e){t.push(e)}}),Promise.all(t)},pause:function(){ti.dispatch({type:V})},persist:function(){ti.dispatch({type:R,register:p,rehydrate:m})}}),h&&h.manualPersist||y.persist(),y);i(876),i(2189);var tn=i(3227),ts=i(366);function to(t){let{Component:e,pageProps:i}=t,[r,n]=(0,S.useState)("light"),s=()=>{let t="light"===r?"dark":"light";n(t),document.documentElement.classList.toggle("dark"),document.body.classList.toggle("dark"),localStorage.setItem("theme",t)};return r?(0,g.jsxs)("div",{className:"".concat("dark"===r?"bg-black text-white":"bg-white text-black"," overflow-hidden"),children:[(0,g.jsxs)(x(),{children:[(0,g.jsx)("title",{children:"Stock And Account Book"}),(0,g.jsx)("meta",{name:"description",content:"A accounts and inventory management software with billing, invoice, sales, point of sale, business reports, profit and loss, affordable, cheapest, free, India best billing software, purchase, expense, POS, taxes, bank transactions, daybook, credit, debit, inventory, non-inventory, receipts, Bluetooth printing, barcode scanning, barcode sell, barcode purchase, QR code scanner, UPI payments, refer and earn, multiple outlets/shops and godowns, etc. management features"}),(0,g.jsx)("link",{rel:"icon",href:"/favicon.ico"})]}),(0,g.jsx)(w(),{src:"/scripts/app.js"}),(0,g.jsx)(w(),{src:"/scripts/swiper.js"}),(0,g.jsx)(w(),{src:"/scripts/preline.js"}),(0,g.jsx)(P.zt,{store:ti,children:(0,g.jsxs)(A,{loading:null,persistor:tr,children:[(0,g.jsx)(ts.default,{toggleTheme:s,theme:r}),(0,g.jsx)(e,{...i,toggleTheme:s,theme:r}),(0,g.jsx)(tn.default,{})]})})]}):null}},8148:function(t,e,i){"use strict";i.r(e);var r=i(5893);i(7294);var n=i(1664),s=i.n(n),o=i(5675),a=i.n(o);e.default=function(){return(0,r.jsx)("div",{children:(0,r.jsx)(s(),{legacyBehavior:!0,href:"/",children:(0,r.jsxs)("a",{className:"flex title-font font-medium items-center text-gray-900 md:mb-0 md:0 ",children:[(0,r.jsx)(a(),{width:"50",height:"50",src:"/logo.png",alt:"logo image"}),(0,r.jsxs)("div",{className:"flex flex-col",children:[(0,r.jsx)("span",{className:"ml-3 font-bold text-xl bg-clip-text text-transparent bg-gradient-to-r from-colorBlueApp  to-appColor no-dark",children:"Stock And"}),(0,r.jsx)("span",{className:"ml-3 font-bold text-xl bg-clip-text text-transparent bg-gradient-to-r from-colorBlueApp to-appColor no-dark",children:"Account Book"})]})]})})})}},3227:function(t,e,i){"use strict";i.r(e),i.d(e,{default:function(){return M}});var r=i(5893),n=i(1664),s=i.n(n),o=i(5675),a=i.n(o),l=i(9092),u=i(5649),c=i(7637),h=i(3734),d=i(2405),f=i(1692);let p=(0,f.Z)("Coins",[["circle",{cx:"8",cy:"8",r:"6",key:"3yglwk"}],["path",{d:"M18.09 10.37A6 6 0 1 1 10.34 18",key:"t5s6rm"}],["path",{d:"M7 6h1v4",key:"1obek4"}],["path",{d:"m16.71 13.88.7.71-2.82 2.82",key:"1rbuyh"}]]);var m=i(27);let y=(0,f.Z)("Building2",[["path",{d:"M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z",key:"1b4qmf"}],["path",{d:"M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2",key:"i71pzd"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2",key:"10jefs"}],["path",{d:"M10 6h4",key:"1itunk"}],["path",{d:"M10 10h4",key:"tcdvrf"}],["path",{d:"M10 14h4",key:"kelpxr"}],["path",{d:"M10 18h4",key:"1ulq68"}]]),g=(0,f.Z)("Briefcase",[["path",{d:"M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16",key:"jecpp"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]]);var v=i(754);let x=(0,f.Z)("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]),b=(0,f.Z)("RefreshCw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}
1]]),w=(0,f.Z)("Truck",[["path",{d:"M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2",key:"wrbu53"}],["path",{d:"M15 18H9",key:"1lyqi6"}],["path",{d:"M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.624l-3.48-4.35A1 1 0 0 0 17.52 8H14",key:"lysw3i"}],["circle",{cx:"17",cy:"18",r:"2",key:"332jqn"}],["circle",{cx:"7",cy:"18",r:"2",key:"19iecd"}]]),S=(0,f.Z)("Facebook",[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]]),P=(0,f.Z)("Instagram",[["rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5",key:"2e1cvw"}],["path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z",key:"9exkf1"}],["line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5",key:"r4j83e"}]]),j=(0,f.Z)("Linkedin",[["path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z",key:"c2jq9f"}],["rect",{width:"4",height:"12",x:"2",y:"9",key:"mk3on5"}],["circle",{cx:"4",cy:"4",r:"2",key:"bt5ra8"}]]),k=()=>(0,r.jsxs)(l.E.div,{className:"flex items-center space-x-3",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6},children:[(0,r.jsx)(l.E.div,{whileHover:{scale:1.05,rotate:2},transition:{type:"spring",stiffness:300,damping:20},children:(0,r.jsx)(a(),{src:"/logo.png",alt:"Stock And Account Book Logo",width:40,height:40,className:"w-10 h-10"})}),(0,r.jsxs)("div",{children:[(0,r.jsx)(l.E.h2,{className:"text-white font-bold text-lg leading-tight",whileHover:{color:"#22d3ee"},transition:{duration:.2},children:"Stock & Account Book"}),(0,r.jsx)(l.E.p,{className:"text-[#1D676A] text-xs font-medium",initial:{opacity:0}
1,animate:{opacity:1},transition:{delay:.3},children:"Business Management Software"})]})]}),E={hidden:{opacity:0},visible:{opacity:1,transition:{staggerChildren:.1,delayChildren:.2}}},T={hidden:{opacity:0,y:20},visible:{opacity:1,y:0,transition:{duration:.5}}};function M(){return(0,r.jsxs)("footer",{className:"bg-gradient-to-br from-[#0a2829] via-slate-800 to-[#1a5355] text-white relative overflow-hidden",children:[(0,r.jsx)("div",{className:"absolute inset-0 opacity-5",children:(0,r.jsx)("div",{className:'absolute inset-0 bg-[url(\'data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fillRule="evenodd"%3E%3Cg fill="%231D676A" fillOpacity="0.1"%3E%3Ccircle cx="30" cy="30" r="2"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E\')]'})}),(0,r.jsx)("div",{className:"container mx-auto px-4 py-16 relative z-10",children:(0,r.jsxs)(l.E.div,{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8 lg:gap-12",variants:E,initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-100px"},children:[(0,r.jsxs)(l.E.div,{className:"lg:col-span-1",variants:T,children:[(0,r.jsx)("div",{className:"mb-6",children:(0,r.jsx)(k,{})}),(0,r.jsx)(l.E.p,{className:"text-slate-300 text-sm leading-relaxed mb-6 max-w-sm",initial:{opacity:0}
1,animate:{opacity:1},transition:{delay:.4,duration:.6},children:"Manages all of your billing, inventory and accounts with few clicks in Stock And Account Book Software"}),(0,r.jsx)(l.E.div,{className:"space-y-3",variants:E,initial:"hidden",animate:"visible",children:[{icon:(0,r.jsx)(u.Z,{className:"w-4 h-4"}),href:"mailto:[email protected]",text:"[email protected]"},{icon:(0,r.jsx)(c.Z,{className:"w-4 h-4"}),href:"tel:+918118815292",text:"+91-8118815292"},{icon:(0,r.jsx)(h.Z,{className:"w-4 h-4 mt-0.5 flex-shrink-0"}),href:"https://www.google.com/maps/search/?api=1&query=SM+Digital+Office,+Near+Jodhpur+Sweets,+Niwru+Road,+Jaipur,+Rajasthan+302012",text:"SM Digital Office, Near Jodhpur Sweets, Niwru Road, Jaipur, Rajasthan - 302012",external:!0}].map((t,e)=>(0,r.jsx)(l.E.div,{variants:T,children:(0,r.jsxs)(s(),{href:t.href,className:"flex items-start space-x-3 text-slate-300 hover:text-white transition-colors duration-200 group",target:t.external?"_blank":void 0,rel:t.external?"noopener noreferrer":void 0,children:[(0,r.jsx)(l.E.div,{className:"text-[#1D676A] group-hover:text-cyan-400",whileHover:{scale:1.1},transition:{type:"spring",stiffness:400},children:t.icon}),(0,r.jsx)("span",{className:"text-sm leading-relaxed",children:t.text})]})},e))})]}),(0,r.jsxs)(l.E.div,{variants:T,children:[(0,r.jsxs)(l.E.h3,{className:"font-semibold text-white text-sm uppercase tracking-wider mb-6 relative",whileHover:{color:"#1D676A"},transition:{duration:.2},children:["Add-ons / Plugins",(0,r.jsx)(l.E.div,{className:"absolute bottom-0 left-0 h-0.5 bg-[#1D676A]",initial:{width:0},whileInView:{width:"2rem"},transition:{delay:.5,duration:.8}})]}),(0,r.jsx)(l.E.ul,{className:"space-y-3",variants:E,initial:"hidden",whileInView:"visible",viewport:{once:!0},children:[{name:"Loans/EMI",href:"/addons/loans-emi-management",icon:(0,r.jsx)(d.Z,{className:"w-4 h-4"})},{name:"Girvi/Money Lending",href:"/addons/girvi-money-lending-jeweller",icon:(0,r.jsx)(p,{className:"w-4 h-4"})},{name:"CRM/Lead Management",href:"/addons/customer-relation-management-lead-management",icon:(0,r.jsx)(m.Z,{className:"w-4 h-4"})},{name:"Human Resource Management",href:"/addons/human-resource-management",icon:(0,r.jsx)(y,{className:"w-4 h-4"})},{name:"Service Providers/Contractors",href:"/addons/service-provider-contractor-management",icon:(0,r.jsx)(g,{className:"w-4 h-4"})}].map((t,e)=>(0,r.jsx)(l.E.li,{variants:T,children:(0,r.jsxs)(s(),{href:t.href,className:"flex items-center space-x-3 text-slate-300 hover:text-white transition-colors duration-200 group",children:[(0,r.jsx)(l.E.div,{className:"text-[#1D676A] group-hover:text-cyan-400",whileHover:{scale:1.1,rotate:5},transition:{type:"spring",stiffness:400},children:t.icon}),(0,r.jsx)(l.E.span,{className:"text-sm",whileHover:{x:4},transition:{type:"spring",stiffness:400},children:t.name})]})},t.name))})]}),(0,r.jsxs)(l.E.div,{variants:T,children:[(0,r.jsxs)(l.E.h3,{className:"font-semibold text-white text-sm uppercase tracking-wider mb-6 relative",whileHover:{color:"#1D676A"},transition:{duration:.2},children:["Our Software",(0,r.jsx)(l.E.div,{className:"absolute bottom-0 left-0 h-0.5 bg-[#1D676A]",initial:{width:0},whileInView:{width:"2rem"},transition:{delay:.6,duration:.8}})]}),(0,r.jsx)(l.E.ul,{className:"space-y-3",variants:E,initial:"hidden",whileInView:"visible",viewport:{once:!0},children:[{name:"Stock And Account Book",href:"https://apps.microsoft.com/detail/9PKQT9GDKG4C"},{name:"Barcode Based Billing",href:"https://apps.microsoft.com/detail/9NC29M9QQ0CV"},{name:"Jeweller Software",href:"https://apps.microsoft.com/detail/9NKMG54JMNBZ"},{name:"Manufacturer Software",href:"https://apps.microsoft.com/detail/9N4DD19Q8F50"},{name:"Restaurant Software",href:"https://zaykapos.com/"}].map((t,e)=>(0,r.jsx)(l.E.li,{variants:T,children:(0,r.jsx)(s(),{href:t.href,className:"text-slate-300 hover:text-white transition-colors duration-200 text-sm group",target:"_blank",rel:"noopener noreferrer",children:(0,r.jsx)(l.E.span,{whileHover:{x:4,color:"#1D676A"},transition:{type:"spring",stiffness:400},className:"inline-block",children:t.name})})},t.name))})]}),(0,r.jsxs)(l.E.div,{variants:T,children:[(0,r.jsxs)(l.E.h3,{className:"font-semibold text-white text-sm uppercase tracking-wider mb-6 relative",whileHover:{color:"#1D676A"},transition:{duration:.2},children:["Important Links",(0,r.jsx)(l.E.div,{className:"absolute bottom-0 left-0 h-0.5 bg-[#1D676A]",initial:{width:0},whileInView:{width:"2rem"},transition:{delay:.7,duration:.8}})]}),(0,r.jsx)(l.E.ul,{className:"space-y-3",variants:E,initial:"hidden",
1whileInView:"visible",viewport:{once:!0},children:[{name:"Privacy Policy",href:"/privacy-policy",icon:(0,r.jsx)(v.Z,{className:"w-4 h-4"})},{name:"Terms & Conditions",href:"/terms-and-conditions",icon:(0,r.jsx)(x,{className:"w-4 h-4"})},{name:"Refund Policy",href:"/refund-policy",icon:(0,r.jsx)(b,{className:"w-4 h-4"})},{name:"Shipping Policy",href:"/shipping-policy",icon:(0,r.jsx)(w,{className:"w-4 h-4"})}].map((t,e)=>(0,r.jsx)(l.E.li,{variants:T,children:(0,r.jsxs)(s(),{href:t.href,className:"flex items-center space-x-3 text-slate-300 hover:text-white transition-colors duration-200 group",children:[(0,r.jsx)(l.E.div,{className:"text-[#1D676A] group-hover:text-cyan-400",whileHover:{scale:1.1,rotate:5},transition:{type:"spring",stiffness:400},children:t.icon}),(0,r.jsx)(l.E.span,{className:"text-sm",whileHover:{x:4},transition:{type:"spring",stiffness:400},children:t.name})]})},t.name))})]})]})}),(0,r.jsx)(l.E.div,{className:"border-t border-slate-800 relative z-10",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.6},viewport:{once:!0},children:(0,r.jsx)("div",{className:"container mx-auto px-4 py-6",children:(0,r.jsxs)("div",{className:"flex flex-col md:flex-row items-center justify-between space-y-4 md:space-y-0",children:[(0,r.jsxs)(l.E.div,{className:"text-center md:text-left",initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},transition:{delay:.2,duration:.6},children:[(0,r.jsxs)("p",{className:"text-slate-400 text-sm",children:["\xa9 2025 All Rights Reserved -"," ",(0,r.jsx)(s(),{href:"/",className:"text-[#1D676A] hover:text-cyan-400 transition-colors font-medium",children:"stockandaccountbook.com"})]}),(0,r.jsx)("p",{className:"text-slate-500 text-xs mt-1",children:"Powered by SM Digital Technologies"})]}),(0,r.jsx)(l.E.div,{className:"flex items-center space-x-4",initial:{opacity:0,x:20},whileInView:{opacity:1,x:0},transition:{delay:.4,duration:.6},children:[{href:"https://www.facebook.com/people/Stock-And-Account-Book/61563574427229/",icon:(0,r.jsx)(S,{className:"w-4 h-4"}),title:"Facebook",hoverColor:"hover:bg-blue-600"},{href:"https://www.instagram.com/stockandaccountbook?igsh=MTJpM2c5Z2xwc2IyYw==",icon:(0,r.jsx)(P,{className:"w-4 h-4"}),title:"Instagram",hoverColor:"hover:bg-pink-600"},{href:"https://www.linkedin.com/company/stockandaccountbook",icon:(0,r.jsx)(j,{className:"w-4 h-4"}),title:"LinkedIn",hoverColor:"hover:bg-blue-700"},{href:"https://apps.microsoft.com/",icon:(0,r.jsx)("svg",{className:"w-4 h-4",viewBox:"0 0 24 24",fill:"currentColor",children:(0,r.jsx)("path",{d:"M11.5 3v8.5H3V3h8.5m1-1H2v10.5h10.5V2zm8.5 1v8.5h-8.5V3H21m0-1h-9.5v10.5H22V2zM11.5 13V22H3v-9h8.5m1-1H2V22h10.5V12zm8.5 1v9h-8.5v-9H21m0-1h-9.5V22H22V12z"})}),title:"Microsoft Store",hoverColor:"hover:bg-[#1D676A]"},{href:"https://play.google.com/store",icon:(0,r.jsx)("svg",{className:"w-4 h-4",viewBox:"0 0 24 24",fill:"currentColor",children:(0,r.jsx)("path",{d:"M22.018 13.298l-3.919 2.218-3.515-3.493 3.543-3.521 3.891 2.202a1.49 1.49 0 0 1 0 2.594zM1.337.924a1.486 1.486 0 0 0-.112.568v21.017c0 .217.045.419.124.6l11.155-11.087L1.337.924zm12.207 10.065l3.258-3.238L3.45.195a1.466 1.466 0 0 0-1.176.179l11.27 10.615zm0 2.067l-11.25 10.609c.295.221.658.355 1.06.355.337 0 .653-.111.909-.299l13.324-7.54-3.043-3.025z"})}),title:"Google Play Store",hoverColor:"hover:bg-green-500"}].map((t,e)=>(0,r.jsx)(l.E.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{delay:.6+.1*e,duration:.4},children:(0,r.jsx)(s(),{href:t.href,className:"w-9 h-9 bg-slate-800 ".concat(t.hoverColor," rounded-lg flex items-center justify-center transition-all duration-300 group"),title:t.title,target:"_blank",rel:"noopener noreferrer",children:(0,r.jsx)(l.E.div,{className:"text-slate-400 group-hover:text-white",whileHover:{scale:1.1,rotate:5},whileTap:{scale:.95},transition:{type:"spring",stiffness:400},children:t.icon})})},t.title))})]})})})]})}},3484:function(t,e,i){"use strict";i.r(e),i.d(e,{default:function(){return f}});var r=i(5893),n=i(7294),s=i(6932),o=i(1692);let a=(0,o.Z)("Monitor",[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]]),l=(0,o.Z)("Gift",[["rect",{x:"3",y:"8",width:"18",height:"4",rx:"1",key:"bkv52"}],["path",{d:"M12 8v13",key:"1c76mn"}],["path",{d:"M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7",key:"6wjy6b"}],["path",{d:"M7.5 8a2.5 2.5 0 0 1 0-5A4.8 8 0 0 1 12 8a4.8 8 0 0 1 4.5-5 2.5 2.5 0 0 1 0 5",key:"1ihvrl"}]]),u=(0,o.Z)("Gamepad2",[["line",{x1:"6",x2:"10",y1:"11",y2:"11",key:"1gktln"}],["line",{x1:"8",x2:"8",y1:"9",y2:"13",key:"qnk9ow"}],["line",{x1:"15",x2:"15.01",y1:"12",y2:"12",key:"krot7o"}],["line",{x1:"18",x2:"18.01",y1:"10",y2:"10",key:"1lcuu1"}],["path",{d:"M17.32 5H6.68a4 4 0 0 0-3.978 3.59c-.006.052-.01.101-.017.152C2.604 9.416 2 14.456 2 16a3 3 0 0 0 3 3c1 0 1.5-.5 2-1l1.414-1.414A2 2 0 0 1 9.828 16h4.344a2 2 0 0 1 1.414.586L17 18c.5.5 1 1 2 1a3 3 0 0 0 3-3c0-1.545-.604-6.584-.685-7.258-.007-.05-.011-.1-.017-.151A4 4 0 0 0 17.32 5z",key:"mfqc10"}]]),c=(0,o.Z)("Tv",[["rect",{width:"20",height:"15",x:"2",y:"7",rx:"2",ry:"2",key:"10ag99"}],["polyline",{points:"17 2 12 7 7 2",key:"11pgbg"}]]),h=(0,o.Z)("Dumbbell",[["path",{d:"M14.4 14.4 9.6 9.6",key:"ic80wn"}],["path",{d:"M18.657 21.485a2 2 0 1 1-2.829-2.828l-1.767 1.768a2 2 0 1 1-2.829-2.829l6.364-6.364a2 2 0 1 1 2.829 2.829l-1.768 1.767a2 2 0 1 1 2.828 2.829z",key:"nnl7wr"}],["path",{d:"m21.5 21.5-1.4-1.4",key:"1f1ice"}],["path",{d:"M3.9 3.9 2.5 2.5",key:"1evmna"}],["path",{d:"M6.404 12.768a2 2 0 1 1-2.829-2.829l1.768-1.767a2 2 0 1 1-2.828-2.829l2.828-2.828a2 2 0 1 1 2.829 2.828l1.767-1.768a2 2 0 1 1 2.829 2.829z",key:"yhosts"}]]);var d=i(3354),f=t=>{let{showDropDownMenu:e,setShowDropDownMenu:i}
1=t,[o,f]=(0,n.useState)("stock-account"),p=[{id:"stock-account",name:"Stock & Account Book",icon:s.Z,subcategories:[{title:"Basic Edition",items:["Autoparts","Electrical","Kirana/Grocery","Building Materials","Transport & Courier","Import/Export","Sweets Shop","Fertilizers"]},{title:"Advanced Features",items:["Wine Shop","Hardwares","Cosmetic","FMCG","Salons","Plywood","Chemicals","Ecommerce"]},{title:"Specialized Stores",items:["Stationary","Furniture & Decor","Printing Press & Shops","Glass & Crockeries","Toys & Baby Stores","Optical Stores"]}],featured:{title:"Stock Management Made Easy",description:"Comprehensive inventory tracking for all business types",image:"/api/placeholder/300/200"}},{id:"barcode-edition",name:"Barcode Edition",icon:a,subcategories:[{title:"Retail Solutions",items:["Automobiles","Mart/Supermart","Medical/Pharmacy","Apparel Clothing"]},{title:"Technology Stores",items:["Mobiles & Accessories","Computer & Accessories","Electronics & Home Appliances"]},{title:"Specialty Retail",items:["Shoe/Footwear & Accessories","Books & Stationery Stores","Kirana & Departmental Stores"]}],featured:{title:"Barcode Integration",description:"Streamline your retail operations with advanced barcode scanning",image:"/api/placeholder/300/200"}},{id:"jeweller-edition",name:"Jeweller Edition",icon:l,subcategories:[{title:"Precious Metals",items:["Gold Jeweller","Silver Jeweller","Platinum Jeweller"]},{title:"Gemstones",items:["Diamond Jeweller","Fashion Jewellery"]}],featured:{title:"Jewelry Management",description:"Specialized tools for precious metals and gemstone inventory",image:"/api/placeholder/300/200"}},{id:"manufacturer-edition",name:"Manufacturer Edition",icon:u,subcategories:[{title:"Manufacturing Industries",items:["Textile Industry","Pharmaceutical Industry","Food & Beverages Industry","Electrical Industry","Autoparts Industry"]},{title:"Processing Industries",items:["FMCG Industry","Cosmetic Industry","Fertilizers Industry","Building Materials Industry","Glass & Crockeries Industry"]}],featured:{title:"Manufacturing Solutions",description:"End-to-end inventory management for manufacturing businesses",image:"/api/placeholder/300/200"}},{id:"pos-systems",name:"POS Systems",icon:c,subcategories:[{title:"Restaurant POS",items:["Quick Service","Fine Dining","Food Trucks","Cafes"]},{title:"Retail POS",items:["Fashion Stores","Electronics","Grocery","Pharmacy"]}],featured:{title:"Point of Sale Solutions",description:"Modern POS systems for streamlined transactions",image:"/api/placeholder/300/200"}},{id:"reporting",name:"Reports & Analytics",icon:h,subcategories:[{title:"Sales Reports",items:["Daily Sales","Monthly Summary","Product Performance","Customer Analytics"]},{title:"Inventory Reports",items:["Stock Levels","Low Stock Alerts","Reorder Reports","Wastage Analysis"]}],featured:{title:"Business Intelligence",description:"Detailed insights and analytics for informed decision making",image:"/api/placeholder/300/200"}}],m=p.find(t=>t.id===o);return(0,r.jsx)(r.Fragment,{children:(0,r.jsx)("div",{className:"absolute top-full left-0  w-full z-50 transition-all duration-500 ease-out transform ",onClick:()=>i(!1),children:(0,r.jsx)("div",{className:"bg-white shadow-2xl border-t border-gray-100",children:(0,r.jsxs)("div",{className:"max-w-7xl mx-auto flex",children:[(0,r.jsx)("div",{className:"w-80 bg-gray-50 border-r border-gray-200",children:(0,r.jsxs)("div",{className:"p-4",children:[(0,r.jsx)("h3",{className:"text-sm font-semibold text-gray-500 uppercase tracking-wide mb-4",children:"Product Categories"}),(0,r.jsx)("div",{className:"space-y-1",children:p.map(t=>{let e=t.icon;return(0,r.jsxs)("div",{className:"group flex items-center px-4 py-3 text-sm rounded-lg cursor-pointer transition-all duration-200 ".concat(o===t.id?"bg-blue-100 text-green-700 border-r-2 border-green-500":"text-gray-700 hover:bg-white hover:text-blue-600 hover:shadow-sm"),onMouseEnter:()=>f(t.id),children:[(0,r.jsx)(e,{className:"h-5 w-5 mr-3 ".concat(o===t.id?"text-green-600":"text-gray-400 hover:text-green-500")}),(0,r.jsx)("span",{className:"font-medium flex-1",children:t.name}),(0,r.jsx)(d.Z,{className:"h-4 w-4 transition-transform duration-200 ".concat(o===t.id?"text-green-600 transform translate-x-1":"text-gray-300 group-hover:text-green-400 group-hover:transform group-hover:translate-x-1")})]},t.id)})})]})}),(0,r.jsxs)("div",{className:"flex-1 flex",children:[(0,r.jsxs)("div",{className:"flex-1 p-8",children:[(0,r.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8",children:null==m?void 0:m.subcategories.map((t,e)=>(0,r.jsxs)("div",{className:"space-y-4",style:{animationDelay:"".concat(100*e,"ms")},children:[(0,r.jsx)("h4",{className:"font-bold text-gray-800 text-lg border-b border-gray-200 pb-2",children:t.title}),(0,r.jsx)("div",{className:"space-y-2",children:t.items.map((t,i)=>(0,r.jsx)("a",{href:"#",className:"block text-sm text-gray-600 hover:text-blue-600 font-medium transition-all duration-200 hover:translate-x-1 py-1 hover:bg-blue-50 px-2 rounded",style:{animationDelay:"".concat(100*e+50*i,"ms")},children:t},t))})]},t.title))}),(0,r.jsx)("div",{className:"mt-8 pt-6 border-t border-gray-200",children:(0,r.jsxs)("div",{className:"flex space-x-4",children:[(0,r.jsxs)("button",{className:"flex-1 bg-gradient-to-r from-green-600 to-green-700 text-white px-6 py-3 rounded-lg font-medium hover:shadow-lg transition-all duration-300 transform hover:-translate-y-0.5 flex items-center justify-center",children:[(0,r.jsx)(s.Z,{className:"h-5 w-5 mr-2"}),"Download from Microsoft Store"]}),(0,r.jsxs)("button",{className:"flex-1 border-2 border-green-600 text-green-700 px-6 py-3 rounded-lg font-medium hover:border-gray-400 hover:bg-gray-50 transition-all duration-300 flex items-center justify-center",children:[(0,r.jsx)(a,{className:"h-5 w-5 mr-2"}),"Download EXE"]})]})})]}),(0,r.jsx)("div",{className:"w-80 p-8 bg-gradient-to-br from-green-50 to-yellow-50 border-l border-gray-200",children:(0,r.jsx)("div",{className:"h-full flex flex-col justify-center",children:(0,r.jsxs)("div",{className:"bg-white rounded-xl shadow-lg p-6 transform hover:scale-105 transition-transform duration-300",children:[(0,r.jsx)("div",{className:"w-full h-48 bg-gradient-to-br from-green-100 to-red-100 rounded-lg mb-4 flex items-center justify-center",children:(0,r.jsx)("div",{className:"text-6xl text-blue-300",children:n.createElement((null==m?void 0:m.icon)||s.Z)})}
1),(0,r.jsx)("h3",{className:"text-xl font-bold text-gray-800 mb-2",children:null==m?void 0:m.featured.title}),(0,r.jsx)("p",{className:"text-gray-600 text-sm mb-4",children:null==m?void 0:m.featured.description}),(0,r.jsx)("button",{className:"w-full bg-gradient-to-r from-green-600 to-green-400 text-white py-2 px-4 rounded-lg font-medium hover:shadow-lg transition-all duration-300 transform hover:-translate-y-0.5",children:"Learn More"})]})})})]})]})})})})}},366:function(t,e,i){"use strict";i.r(e),i.d(e,{default:function(){return p}});var r=i(5893),n=i(1664),s=i.n(n),o=i(5346),a=i(7796);function l(t){return(0,a.w_)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M32 96v64h448V96H32zm0 128v64h448v-64H32zm0 128v64h448v-64H32z"},child:[]}]})(t)}var u=i(8148),c=i(7294),h=i(3571),d=i(3484),f=i(5007),p=function(){var t;let e=(0,f.v9)(t=>null==t?void 0:t.cart);console.log(e);let[i,n]=(0,c.useState)(!1),[a,p]=(0,c.useState)("dark"===localStorage.getItem("theme")),[m,y]=(0,c.useState)(!1);return(0,c.useEffect)(()=>{a?(document.documentElement.classList.add("dark"),localStorage.setItem("theme","dark")):(document.documentElement.classList.remove("dark"),localStorage.setItem("theme","light"))},[a]),(0,r.jsx)("div",{children:(0,r.jsxs)("nav",{className:"navbar fixed top-0 start-0 end-0 z-[1900] transition-all duration-500 py-5 items-center shadow-md lg:shadow-none \n        group is-sticky:bg-white dark:is-sticky:bg-gray-900 is-sticky:shadow-md bg-white dark:bg-black lg:bg-transparent \n        backdrop-blur-md",id:"navbar",children:[(0,r.jsx)("div",{className:"container ",children:(0,r.jsxs)("div",{className:"flex lg:flex-nowrap flex-wrap items-center",children:[(0,r.jsx)(u.default,{}),(0,r.jsx)("div",{className:"lg:hidden flex items-center ms-auto px-2.5",children:(0,r.jsx)("button",{className:"hs-collapse-toggle",type:"button",id:"hs-unstyled-collapse",onClick:()=>n(!i),children:(0,r.jsx)(l,{className:"lucide lucide-menu h-8 w-8  text-appColor"})})}),(0,r.jsx)("div",{className:"navigation hs-collapse transition-all duration-300 lg:basis-auto basis-full grow ".concat(i?"flex":"hidden"," flex-col lg:flex-row lg:flex items-center justify-center mx-auto mt-6 lg:mt-0 nav-light"),id:"navbarCollapse",children:(0,r.jsxs)("ul",{className:"navbar-nav flex-col lg:flex-row gap-y-2 flex lg:items-center justify-center relative z-50",id:"navbar-navlist",children:[(0,r.jsx)("li",{className:"nav-item mx-1.5 transition-all text-dark lg:text-black duration-300 hover:text-primary",children:(0,r.jsx)(s(),{className:"nav-link inline-flex items-center text-sm lg:text-base font-medium py-0.5 px-2 capitalize",href:"/",children:"Home"})}),(0,r.jsx)("li",{className:"nav-item mx-1.5 transition-all text-dark lg:text-black duration-300 hover:text-primary",children:(0,r.jsx)(s(),{className:"nav-link inline-flex items-center text-sm lg:text-base font-medium py-0.5 px-2 capitalize",href:"/contact",children:"Contact Us"})}),(0,r.jsx)("li",{className:"nav-item mx-1.5 transition-all text-dark lg:text-black duration-300 hover:text-primary",children:(0,r.jsx)(s(),{className:"nav-link inline-flex items-center text-sm lg:text-base font-medium py-0.5 px-2 capitalize",href:"/partner",children:"Become a partner"})}),(0,r.jsx)("li",{className:"nav-item mx-1.5 transition-all text-dark lg:text-black duration-300 hover:text-primary",children:(0,r.jsx)(s(),{className:"nav-link inline-flex items-center text-sm lg:text-base font-medium py-0.5 px-2 capitalize",href:"https://asolstore.com",children:"Printers"})})]})}),(0,r.jsxs)("div",{className:"ms-auto shrink hidden lg:inline-flex gap-2",children:[(0,r.jsxs)("div",{onClick:()=>n(!0),className:"py-2 px-6 inline-flex items-center gap-2 rounded-md text-base text-white bg-primary hover:bg-primaryDark transition-all duration-500 font-medium cursor-pointer",children:[(0,r.jsx)(o.lMi,{className:"text-white"}),(0,r.jsx)("span",{className:"hidden sm:block",children:"Download"})]}),(0,r.jsxs)(s(),{href:"/cart",className:"relative flex items-center bg-[#d8f6f7] rounded-md px-3",children:[(0,r.jsx)(h.Z,{className:"h-5 w-5  text-appColor"}
1),(0,r.jsx)("div",{className:"bg-appColor rounded-full text-[#d8f6f7] px-2 text-[10px] absolute -top-2 -right-2",children:(0,r.jsx)("p",{children:(null==e?void 0:null===(t=e.items)||void 0===t?void 0:t.length)||0})})]})]})]})}),(0,r.jsx)("div",{className:"relative",children:i&&(0,r.jsx)(d.default,{showDropDownMenu:i,setShowDropDownMenu:y})}),i&&(0,r.jsx)("div",{className:"fixed inset-0  bg-black h-screen bg-opacity-20 z-40 transition-opacity duration-300",onClick:()=>n(!1)})]})})}},8187:function(t,e,i){"use strict";i.d(e,{LL:function(){return l},Qd:function(){return o},Xq:function(){return n},a3:function(){return a},h2:function(){return s}});let r=(0,i(5839).oM)({name:"cart",initialState:{items:[]},reducers:{addToCart(t,e){let i=e.payload,r=t.items.find(t=>t.id===i.id);r?r.quantity+=1:t.items.push({...i,quantity:1})},removeFromCart(t,e){t.items=t.items.filter(t=>t.id!==e.payload)},decreaseQuantity(t,e){let i=t.items.find(t=>t.id===e.payload);i.quantity>1&&(i.quantity-=1)},increaseQuantity(t,e){let i=t.items.find(t=>t.id===e.payload);i.quantity+=1},clearCart(t){t.items=[]}}}),{addToCart:n,removeFromCart:s,increaseQuantity:o,decreaseQuantity:a,clearCart:l}=r.actions;e.ZP=r.reducer},9025:function(t,e,i){"use strict";i.d(e,{F:function(){return n}});var r=i(5839);let n=(0,r.hg)("userLocation/fetchUserLocation",async(t,e)=>{let{rejectWithValue:i}=e;try{let t=await fetch("https://ipapi.co/json/");if(!t.ok)throw Error("Failed to fetch IP data");return await t.json()}catch(t){return i(t.message)}}),s=(0,r.oM)({name:"userLocation",initialState:{data:null,loading:!1,error:null},reducers:{},extraReducers:t=>{t.addCase(n.pending,t=>{t.loading=!0,t.error=null}).addCase(n.fulfilled,(t,e)=>{t.loading=!1,t.data=e.payload}).addCase(n.rejected,(t,e)=>{t.loading=!1,t.error=e.payload})}});e.Z=s.reducer},876:function(){},2189:function(){},7663:function(t){!function(){var e={229:function(t){var e,i,r,n=t.exports={};function s(){throw Error("setTimeout has not been defined")}function o(){throw Error("clearTimeout has not been defined")}function a(t){if(e===setTimeout)return setTimeout(t,0);if((e===s||!e)&&setTimeout)return e=setTimeout,setTimeout(t,0);try{return e(t,0)}catch(i){try{return e.call(null,t,0)}catch(i){return e.call(this,t,0)}}}!function(){try{e="function"==typeof setTimeout?setTimeout:s}catch(t){e=s}try{i="function"==typeof clearTimeout?clearTimeout:o}catch(t){i=o}}();var l=[],u=!1,c=-1;function h(){u&&r&&(u=!1,r.length?l=r.concat(l):c=-1,l.length&&d())}function d(){if(!u){var t=a(h);u=!0;for(var e=l.length;e;){for(r=l,l=[];++c<e;)r&&r[c].run();c=-1,e=l.length}r=null,u=!1,function(t){if(i===clearTimeout)return clearTimeout(t);if((i===o||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(t);try{i(t)}catch(e){try{return i.call(null,t)}catch(e){return i.call(this,t)}}}(t)}}function f(t,e){this.fun=t,this.array=e}function p(){}n.nextTick=function(t){var e=Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)e[i-1]=arguments[i];l.push(new f(t,e)),1!==l.length||u||a(d)},f.prototype.run=function(){this.fun.apply(null,this.array)},n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={},n.on=p,n.addListener=p,n.once=p,n.off=p,n.removeListener=p,n.removeAllListeners=p,n.emit=p,n.prependListener=p,n.prependOnceListener=p,n.listeners=function(t){return[]},n.binding=function(t){throw Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(t){throw Error("process.chdir is not supported")},n.umask=function(){return 0}}},i={};function r(t){var n=i[t];if(void 0!==n)return n.exports;var s=i[t]={exports:{}},o=!0;try{e[t](s,s.exports,r),o=!1}finally{o&&delete i[t]}return s.exports}r.ab="//";var n=r(229);t.exports=n}()},9008:function(t,e,i){t.exports=i(3867)},5675:function(t,e,i){t.exports=i(6210)},1664:function(t,e,i){t.exports=i(8342)},4298:function(t,e,i){t.exports=i(3381)},3488:function(t,e,i){"use strict";e.__esModule=!0,e.default=function(t){var e=(0,n.default)(t);return{getItem:function(t){return new Promise(function(i,r){i(e.getItem(t))})},setItem:function(t,i){return new Promise(function(r,n){r(e.setItem(t,i))})},removeItem:function(t){return new Promise(function(i,r){i(e.removeItem(t))})}}};var r,n=(r=i(7290))&&r.__esModule?r:{default:r}},7290:function(t,e){"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(){}e.__esModule=!0,e.default=function(t){var e="".concat(t,"Storage");return!function(t){if(("undefined"==typeof self?"undefined":i(self))!=="object"||!(t in self))return!1;try{var e=self[t],r="redux-persist ".concat(t," test");e.setItem(r,"test"),e.getItem(r),e.removeItem(r)}catch(t){return!1}return!0}(e)?n:self[e]};var n={getItem:r,setItem:r,removeItem:r}}
1,6734:function(t,e,i){"use strict";e.Z=void 0;var r,n=(0,((r=i(3488))&&r.__esModule?r:{default:r}).default)("local");e.Z=n},7666:function(t,e,i){"use strict";var r=i(7294),n="function"==typeof Object.is?Object.is:function(t,e){return t===e&&(0!==t||1/t==1/e)||t!=t&&e!=e},s=r.useSyncExternalStore,o=r.useRef,a=r.useEffect,l=r.useMemo,u=r.useDebugValue;e.useSyncExternalStoreWithSelector=function(t,e,i,r,c){var h=o(null);if(null===h.current){var d={hasValue:!1,value:null};h.current=d}else d=h.current;var f=s(t,(h=l(function(){function t(t){if(!a){if(a=!0,s=t,t=r(t),void 0!==c&&d.hasValue){var e=d.value;if(c(e,t))return o=e}return o=t}if(e=o,n(s,t))return e;var i=r(t);return void 0!==c&&c(e,i)?(s=t,e):(s=t,o=i)}var s,o,a=!1,l=void 0===i?null:i;return[function(){return t(e())},null===l?void 0:function(){return t(l())}]},[e,i,r,c]))[0],h[1]);return a(function(){d.hasValue=!0,d.value=f},[f]),u(f),f}},1103:function(t,e,i){"use strict";t.exports=i(7666)},5839:function(t,e,i){"use strict";i.d(e,{xC:function(){return tn},hg:function(){return tf},oM:function(){return tg}});var r,n,s=i(5849);function o(t){return({dispatch:e,getState:i})=>r=>n=>"function"==typeof n?n(e,i,t):r(n)}var a=o(),l=Symbol.for("immer-nothing"),u=Symbol.for("immer-draftable"),c=Symbol.for("immer-state");function h(t,...e){throw Error(`[Immer] minified error nr: ${t}. Full error at: https://bit.ly/3cXEKWf`)}var d=Object.getPrototypeOf;function f(t){return!!t&&!!t[c]}function p(t){return!!t&&(y(t)||Array.isArray(t)||!!t[u]||!!t.constructor?.[u]||w(t)||S(t))}var m=Object.prototype.constructor.toString();function y(t){if(!t||"object"!=typeof t)return!1;let e=d(t);if(null===e)return!0;let i=Object.hasOwnProperty.call(e,"constructor")&&e.constructor;return i===Object||"function"==typeof i&&Function.toString.call(i)===m}function g(t,e){0===v(t)?Reflect.ownKeys(t).forEach(i=>{e(i,t[i],t)}):t.forEach((i,r)=>e(r,i,t))}function v(t){let e=t[c];return e?e.type_:Array.isArray(t)?1:w(t)?2:S(t)?3:0}function x(t,e){return 2===v(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function b(t,e,i){let r=v(t);2===r?t.set(e,i):3===r?t.add(i):t[e]=i}function w(t){return t instanceof Map}function S(t){return t instanceof Set}function P(t){return t.copy_||t.base_}function j(t,e){if(w(t))return new Map(t);if(S(t))return new Set(t);if(Array.isArray(t))return Array.prototype.slice.call(t);let i=y(t);if(!0!==e&&("class_only"!==e||i)){let e=d(t);return null!==e&&i?{...t}:Object.assign(Object.create(e),t)}{let e=Object.getOwnPropertyDescriptors(t);delete e[c];let i=Reflect.ownKeys(e);for(let r=0;r<i.length;r++){let n=i[r],s=e[n];!1===s.writable&&(s.writable=!0,s.configurable=!0),(s.get||s.set)&&(e[n]={configurable:!0,writable:!0,enumerable:s.enumerable,value:t[n]})}return Object.create(d(t),e)}}function k(t,e=!1){return T(t)||f(t)||!p(t)||(v(t)>1&&(t.set=t.add=t.clear=t.delete=E),Object.freeze(t),e&&Object.entries(t).forEach(([t,e])=>k(e,!0))),t}function E(){h(2)}function T(t){return Object.isFrozen(t)}var M={};function A(t){let e=M[t];return e||h(0,t),e}function C(t,e){e&&(A("Patches"),t.patches_=[],t.inversePatches_=[],t.patchListener_=e)}function O(t){_(t),t.drafts_.forEach(V),t.drafts_=null}function _(t){t===n&&(n=t.parent_)}function D(t){return n={drafts_:[],parent_:n,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function V(t){let e=t[c];0===e.type_||1===e.type_?e.revoke_():e.revoked_=!0}function R(t,e){e.unfinalizedDrafts_=e.drafts_.length;let i=e.drafts_[0];return void 0!==t&&t!==i?(i[c].modified_&&(O(e),h(4)),p(t)&&(t=N(e,t),e.parent_||I(e,t)),e.patches_&&A("Patches").generateReplacementPatches_(i[c].base_,t,e.patches_,e.inversePatches_)):t=N(e,i,[]),O(e),e.patches_&&e.patchListener_(e.patches_,e.inversePatches_),t!==l?t:void 0}function N(t,e,i){if(T(e))return e;let r=e[c];if(!r)return g(e,(n,s)=>L(t,r,e,n,s,i)),e;if(r.scope_!==t)return e;if(!r.modified_)return I(t,r.base_,!0),r.base_;if(!r.finalized_){r.finalized_=!0,r.scope_.unfinalizedDrafts_--;let e=r.copy_,n=e,s=!1;3===r.type_&&(n=new Set(e),e.clear(),s=!0),g(n,(n,o)=>L(t,r,e,n,o,i,s)),I(t,e,!1),i&&t.patches_&&A("Patches").generatePatches_(r,i,t.patches_,t.inversePatches_)}return r.copy_}function L(t,e,i,r,n,s,o){if(f(n)){let o=N(t,n,s&&e&&3!==e.type_&&!x(e.assigned_,r)?s.concat(r):void 0);if(b(i,r,o),!f(o))return;t.canAutoFreeze_=!1}else o&&i.add(n);if(p(n)&&!T(n)){if(!t.immer_.autoFreeze_&&t.unfinalizedDrafts_<1)return;N(t,n),(!e||!e.scope_.parent_)&&"symbol"!=typeof r&&Object.prototype.propertyIsEnumerable.call(i,r)&&I(t,n)}}function I(t,e,i=!1){!t.parent_&&t.immer_.autoFreeze_&&t.canAutoFreeze_&&k(e,i)}var F={get(t,e){if(e===c)return t;let i=P(t);
1if(!x(i,e))return function(t,e,i){let r=H(e,i);return r?"value"in r?r.value:r.get?.call(t.draft_):void 0}(t,i,e);let r=i[e];return t.finalized_||!p(r)?r:r===B(t.base_,e)?(W(t),t.copy_[e]=$(r,t)):r},has:(t,e)=>e in P(t),ownKeys:t=>Reflect.ownKeys(P(t)),set(t,e,i){let r=H(P(t),e);if(r?.set)return r.set.call(t.draft_,i),!0;if(!t.modified_){let r=B(P(t),e),n=r?.[c];if(n&&n.base_===i)return t.copy_[e]=i,t.assigned_[e]=!1,!0;if((i===r?0!==i||1/i==1/r:i!=i&&r!=r)&&(void 0!==i||x(t.base_,e)))return!0;W(t),U(t)}return!!(t.copy_[e]===i&&(void 0!==i||e in t.copy_)||Number.isNaN(i)&&Number.isNaN(t.copy_[e]))||(t.copy_[e]=i,t.assigned_[e]=!0,!0)},deleteProperty:(t,e)=>(void 0!==B(t.base_,e)||e in t.base_?(t.assigned_[e]=!1,W(t),U(t)):delete t.assigned_[e],t.copy_&&delete t.copy_[e],!0),getOwnPropertyDescriptor(t,e){let i=P(t),r=Reflect.getOwnPropertyDescriptor(i,e);return r?{writable:!0,configurable:1!==t.type_||"length"!==e,enumerable:r.enumerable,value:i[e]}:r},defineProperty(){h(11)},getPrototypeOf:t=>d(t.base_),setPrototypeOf(){h(12)}},z={};function B(t,e){let i=t[c];return(i?P(i):t)[e]}function H(t,e){if(!(e in t))return;let i=d(t);for(;i;){let t=Object.getOwnPropertyDescriptor(i,e);if(t)return t;i=d(i)}}function U(t){!t.modified_&&(t.modified_=!0,t.parent_&&U(t.parent_))}function W(t){t.copy_||(t.copy_=j(t.base_,t.scope_.immer_.useStrictShallowCopy_))}function $(t,e){let i=w(t)?A("MapSet").proxyMap_(t,e):S(t)?A("MapSet").proxySet_(t,e):function(t,e){let i=Array.isArray(t),r={type_:i?1:0,scope_:e?e.scope_:n,modified_:!1,finalized_:!1,assigned_:{},parent_:e,base_:t,draft_:null,copy_:null,revoke_:null,isManual_:!1},s=r,o=F;i&&(s=[r],o=z);let{revoke:a,proxy:l}=Proxy.revocable(s,o);return r.draft_=l,r.revoke_=a,l}(t,e);return(e?e.scope_:n).drafts_.push(i),i}g(F,(t,e)=>{z[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),z.deleteProperty=function(t,e){return z.set.call(this,t,e,void 0)},z.set=function(t,e,i){return F.set.call(this,t[0],e,i,t[0])};var Z=new class{constructor(t){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(t,e,i)=>{let r;if("function"==typeof t&&"function"!=typeof e){let i=e;e=t;let r=this;return function(t=i,...n){return r.produce(t,t=>e.call(this,t,...n))}}if("function"!=typeof e&&h(6),void 0!==i&&"function"!=typeof i&&h(7),p(t)){let n=D(this),s=$(t,void 0),o=!0;try{r=e(s),o=!1}finally{o?O(n):_(n)}return C(n,i),R(r,n)}if(t&&"object"==typeof t)h(1,t);else{if(void 0===(r=e(t))&&(r=t),r===l&&(r=void 0),this.autoFreeze_&&k(r,!0),i){let e=[],n=[];A("Patches").generateReplacementPatches_(t,r,e,n),i(e,n)}return r}},this.produceWithPatches=(t,e)=>{let i,r;return"function"==typeof t?(e,...i)=>this.produceWithPatches(e,e=>t(e,...i)):[this.produce(t,e,(t,e)=>{i=t,r=e}),i,r]},"boolean"==typeof t?.autoFreeze&&this.setAutoFreeze(t.autoFreeze),"boolean"==typeof t?.useStrictShallowCopy&&this.setUseStrictShallowCopy(t.useStrictShallowCopy)}createDraft(t){var e;p(t)||h(8),f(t)&&(f(e=t)||h(10,e),t=function t(e){let i;if(!p(e)||T(e))return e;let r=e[c];if(r){if(!r.modified_)return r.base_;r.finalized_=!0,i=j(e,r.scope_.immer_.useStrictShallowCopy_)}else i=j(e,!0);return g(i,(e,r)=>{b(i,e,t(r))}),r&&(r.finalized_=!1),i}(e));let i=D(this),r=$(t,void 0);return r[c].isManual_=!0,_(i),r}finishDraft(t,e){let i=t&&t[c];i&&i.isManual_||h(9);let{scope_:r}=i;return C(r,e),R(void 0,r)}setAutoFreeze(t){this.autoFreeze_=t}setUseStrictShallowCopy(t){this.useStrictShallowCopy_=t}applyPatches(t,e){let i;for(i=e.length-1;i>=0;i--){let r=e[i];if(0===r.path.length&&"replace"===r.op){t=r.value;break}}i>-1&&(e=e.slice(i+1));let r=A("Patches").applyPatches_;return f(t)?r(t,e):this.produce(t,t=>r(t,e))}},q=Z.produce;Z.produceWithPatches.bind(Z),Z.setAutoFreeze.bind(Z),Z.setUseStrictShallowCopy.bind(Z),Z.applyPatches.bind(Z),Z.createDraft.bind(Z),Z.finishDraft.bind(Z),i(3454);var K="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!=arguments.length)return"object"==typeof arguments[0]?s.qC:s.qC.apply(null,arguments)};"undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__;var X=t=>t&&"function"==typeof t.match;function G(t,e){function i(...r){if(e){let i=e(...r);if(!i)throw Error(tE(0));return{type:t,payload:i.payload,..."meta"in i&&{meta:i.meta},..."error"in i&&{error:i.error}}}return{type:t,payload:r[0]}}return i.toString=()=>`${t}`,i.type=t,i.match=e=>(0,s.LG)(e)&&e.type===t,i}var Y=class t extends Array{constructor(...e){super(...e),Object.setPrototypeOf(this,t.prototype)}static get[Symbol.species](){return t}concat(...t){return super.concat.apply(this,t)}prepend(...e){return 1===e.length&&Array.isArray(e[0])?new t(...e[0].concat(this)):new t(...e.concat(this))}};function J(t){return p(t)?q(t,()=>{}):t}function Q(t,e,i){return t.has(e)?t.get(e):t.set(e,i(e)).get(e)}var tt=()=>function(t){let{thunk:e=!0,immutableCheck:i=!0,serializableCheck:r=!0,actionCreatorCheck:n=!0}=t??{},s=new Y;return e&&("boolean"==typeof e?s.push(a):s.push(o(e.extraArgument))),s},te=t=>e=>{setTimeout(e,t)},ti=(t={type:"raf"})=>e=>(...i)=>{let r=e(...i),n=!0,s=!1,o=!1,a=new Set,l="tick"===t.type?queueMicrotask:"raf"===t.type?"undefined"!=typeof window&&window.requestAnimationFrame?window.requestAnimationFrame:te(10):"callback"===t.type?t.queueNotification:te(t.timeout),u=()=>{o=!1,s&&(s=!1,a.forEach(t=>t()))};return Object.assign({},r,{subscribe(t){let e=r.subscribe(()=>n&&t());return a.add(t),()=>{e(),a.delete(t)}},dispatch(t){try{return(s=!(n=!t?.meta?.RTK_autoBatch))&&!o&&(o=!0,l(u)),r.dispatch(t)}finally{n=!0}}})},tr=t=>function(e){let{autoBatch:i=!0}=e??{},r=new Y(t);return i&&r.push(ti("object"==typeof i?i:void 0)),r};function tn(t){let e,i;let r=tt(),{reducer:n,middleware:o,devTools:a=!0,duplicateMiddlewareCheck:l=!0,preloadedState:u,enhancers:c}=t||{};if("function"==typeof n)e=n;else if((0,s.PO)(n))e=(0,s.UY)(n);else throw Error(tE(1));i="function"==typeof o?o(r):r();let h=s.qC;a&&(h=K({trace:!1,..."object"==typeof a&&a}));let d=tr((0,s.md)(...i)),f=h(..."function"==typeof c?c(d):d());return(0,s.MT)(e,u,f)}function ts(t){let e;let i={},r=[],n={addCase(t,e){let r="string"==typeof t?t:t.type;if(!r)throw Error(tE(28));if(r in i)throw Error(tE(29));return i[r]=e,n},addMatcher:(t,e)=>(r.push({matcher:t,reducer:e}),n),addDefaultCase:t=>(e=t,n)};return t(n),[i,r,e]}var to=(t,e)=>X(t)?t.match(e):t(e),ta=(t=21)=>{let e="",i=t;
1for(;i--;)e+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return e},tl=["name","message","stack","code"],tu=class{constructor(t,e){this.payload=t,this.meta=e}_type},tc=class{constructor(t,e){this.payload=t,this.meta=e}_type},th=t=>{if("object"==typeof t&&null!==t){let e={};for(let i of tl)"string"==typeof t[i]&&(e[i]=t[i]);return e}return{message:String(t)}},td="External signal was aborted",tf=(()=>{function t(t,e,i){let r=G(t+"/fulfilled",(t,e,i,r)=>({payload:t,meta:{...r||{},arg:i,requestId:e,requestStatus:"fulfilled"}})),n=G(t+"/pending",(t,e,i)=>({payload:void 0,meta:{...i||{},arg:e,requestId:t,requestStatus:"pending"}})),s=G(t+"/rejected",(t,e,r,n,s)=>({payload:n,error:(i&&i.serializeError||th)(t||"Rejected"),meta:{...s||{},arg:r,requestId:e,rejectedWithValue:!!n,requestStatus:"rejected",aborted:t?.name==="AbortError",condition:t?.name==="ConditionError"}}));return Object.assign(function(t,{signal:o}={}){return(a,l,u)=>{let c,h;let d=i?.idGenerator?i.idGenerator(t):ta(),f=new AbortController;function p(t){h=t,f.abort()}o&&(o.aborted?p(td):o.addEventListener("abort",()=>p(td),{once:!0}));let m=async function(){let o;try{var m;let s=i?.condition?.(t,{getState:l,extra:u});if(m=s,null!==m&&"object"==typeof m&&"function"==typeof m.then&&(s=await s),!1===s||f.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};let y=new Promise((t,e)=>{c=()=>{e({name:"AbortError",message:h||"Aborted"})},f.signal.addEventListener("abort",c)});a(n(d,t,i?.getPendingMeta?.({requestId:d,arg:t},{getState:l,extra:u}))),o=await Promise.race([y,Promise.resolve(e(t,{dispatch:a,getState:l,extra:u,requestId:d,signal:f.signal,abort:p,rejectWithValue:(t,e)=>new tu(t,e),fulfillWithValue:(t,e)=>new tc(t,e)})).then(e=>{if(e instanceof tu)throw e;return e instanceof tc?r(e.payload,d,t,e.meta):r(e,d,t)})])}catch(e){o=e instanceof tu?s(null,d,t,e.payload,e.meta):s(e,d,t)}finally{c&&f.signal.removeEventListener("abort",c)}return i&&!i.dispatchConditionRejection&&s.match(o)&&o.meta.condition||a(o),o}();return Object.assign(m,{abort:p,requestId:d,arg:t,unwrap:()=>m.then(tp)})}},{pending:n,rejected:s,fulfilled:r,settled:function(...t){return e=>t.some(t=>to(t,e))}(s,r),typePrefix:t})}return t.withTypes=()=>t,t})();function tp(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}var tm=Symbol.for("rtk-slice-createasyncthunk"),ty=((r=ty||{}).reducer="reducer",r.reducerWithPrepare="reducerWithPrepare",r.asyncThunk="asyncThunk",r),tg=function({creators:t}={}){let e=t?.asyncThunk?.[tm];return function(t){let i;let{name:r,reducerPath:n=r}=t;if(!r)throw Error(tE(11));let s=("function"==typeof t.reducers?t.reducers(function(){function t(t,e){return{_reducerDefinitionType:"asyncThunk",payloadCreator:t,...e}}return t.withTypes=()=>t,{reducer:t=>Object.assign({[t.name]:(...e)=>t(...e)}[t.name],{_reducerDefinitionType:"reducer"}),preparedReducer:(t,e)=>({_reducerDefinitionType:"reducerWithPrepare",prepare:t,reducer:e}),asyncThunk:t}}()):t.reducers)||{},o=Object.keys(s),a={},l={},u={},c=[],h={addCase(t,e){let i="string"==typeof t?t:t.type;if(!i)throw Error(tE(12));if(i in l)throw Error(tE(13));return l[i]=e,h},addMatcher:(t,e)=>(c.push({matcher:t,reducer:e}),h),exposeAction:(t,e)=>(u[t]=e,h),exposeCaseReducer:(t,e)=>(a[t]=e,h)};function d(){let[e={},i=[],r]="function"==typeof t.extraReducers?ts(t.extraReducers):[t.extraReducers],n={...e,...l};return function(t,e){let i;let[r,n,s]=ts(e);if("function"==typeof t)i=()=>J(t());else{let e=J(t);i=()=>e}function o(t=i(),e){let o=[r[e.type],...n.filter(({matcher:t})=>t(e)).map(({reducer:t})=>t)];return 0===o.filter(t=>!!t).length&&(o=[s]),o.reduce((t,i)=>{if(i){if(f(t)){let r=i(t,e);return void 0===r?t:r}if(p(t))return q(t,t=>i(t,e));{let r=i(t,e);if(void 0===r){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return r}}return t},t)}return o.getInitialState=i,o}(t.initialState,t=>{for(let e in n)t.addCase(e,n[e]);for(let e of c)t.addMatcher(e.matcher,e.reducer);for(let e of i)t.addMatcher(e.matcher,e.reducer);r&&t.addDefaultCase(r)})}
1o.forEach(i=>{let n=s[i],o={reducerName:i,type:`${r}/${i}`,createNotation:"function"==typeof t.reducers};"asyncThunk"===n._reducerDefinitionType?function({type:t,reducerName:e},i,r,n){if(!n)throw Error(tE(18));let{payloadCreator:s,fulfilled:o,pending:a,rejected:l,settled:u,options:c}=i,h=n(t,s,c);r.exposeAction(e,h),o&&r.addCase(h.fulfilled,o),a&&r.addCase(h.pending,a),l&&r.addCase(h.rejected,l),u&&r.addMatcher(h.settled,u),r.exposeCaseReducer(e,{fulfilled:o||tv,pending:a||tv,rejected:l||tv,settled:u||tv})}(o,n,h,e):function({type:t,reducerName:e,createNotation:i},r,n){let s,o;if("reducer"in r){if(i&&"reducerWithPrepare"!==r._reducerDefinitionType)throw Error(tE(17));s=r.reducer,o=r.prepare}else s=r;n.addCase(t,s).exposeCaseReducer(e,s).exposeAction(e,o?G(t,o):G(t))}(o,n,h)});let m=t=>t,y=new Map,g=new WeakMap;function v(t,e){return i||(i=d()),i(t,e)}function x(){return i||(i=d()),i.getInitialState()}function b(e,i=!1){function r(t){let n=t[e];return void 0===n&&i&&(n=Q(g,r,x)),n}function n(e=m){let r=Q(y,i,()=>new WeakMap);return Q(r,e,()=>{let r={};for(let[n,s]of Object.entries(t.selectors??{}))r[n]=function(t,e,i,r){function n(s,...o){let a=e(s);return void 0===a&&r&&(a=i()),t(a,...o)}return n.unwrapped=t,n}(s,e,()=>Q(g,e,x),i);return r})}return{reducerPath:e,getSelectors:n,get selectors(){return n(r)},selectSlice:r}}let w={name:r,reducer:v,actions:u,caseReducers:a,getInitialState:x,...b(n),injectInto(t,{reducerPath:e,...i}={}){let r=e??n;return t.inject({reducerPath:r,reducer:v},i),{...w,...b(r,!0)}}};return w}}();function tv(){}var tx=(t,e)=>{if("function"!=typeof t)throw TypeError(tE(32))},{assign:tb}=Object,tw="listenerMiddleware",tS=t=>{let{type:e,actionCreator:i,matcher:r,predicate:n,effect:s}=t;if(e)n=G(e).match;else if(i)e=i.type,n=i.match;else if(r)n=r;else if(n);else throw Error(tE(21));return tx(s,"options.listener"),{predicate:n,type:e,effect:s}},tP=tb(t=>{let{type:e,predicate:i,effect:r}=tS(t);return{id:ta(),effect:r,type:e,predicate:i,pending:new Set,unsubscribe:()=>{throw Error(tE(22))}}},{withTypes:()=>tP}),tj=tb(G(`${tw}/add`),{withTypes:()=>tj}),tk=tb(G(`${tw}/remove`),{withTypes:()=>tk});function tE(t){return`Minified Redux Toolkit error #${t}; visit https://redux-toolkit.js.org/Errors?code=${t} for the full message or use the non-minified dev environment for full errors. `}Symbol.for("rtk-state-proxy-original")},5947:function(t,e,i){"use strict";i.d(e,{oO:function(){return s}});var r=i(7294),n=i(240);function s(t=!0){let e=(0,r.useContext)(n.O);if(null===e)return[!0,null];let{isPresent:i,onExitComplete:s,register:o}=e,a=(0,r.useId)();(0,r.useEffect)(()=>{if(t)return o(a)},[t]);let l=(0,r.useCallback)(()=>t&&s&&s(a),[a,s,t]);return!i&&s?[!1,l]:[!0]}},5364:function(t,e,i){"use strict";i.d(e,{p:function(){return r}});let r=(0,i(7294).createContext)({})},6014:function(t,e,i){"use strict";i.d(e,{_:function(){return r}});let r=(0,i(7294).createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"})},240:function(t,e,i){"use strict";i.d(e,{O:function(){return r}});let r=(0,i(7294).createContext)(null)},9092:function(t,e,i){"use strict";let r;function n(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}function s(t){let e=[{},{}];return t?.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function o(t,e,i,r){if("function"==typeof e){let[n,o]=s(r);e=e(void 0!==i?i:t.custom,n,o)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[n,o]=s(r);e=e(void 0!==i?i:t.custom,n,o)}return e}function a(t,e,i){let r=t.getProps();return o(r,e,void 0!==i?i:r.custom,t)}function l(t,e){return t?.[e]??t?.default??t}i.d(e,{E:function(){return sA}});let u=t=>t,c={},h=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],d={value:null,addProjectionMetrics:null};function f(t,e){let i=!1,r=!0,n={delta:0,timestamp:0,isProcessing:!1},s=()=>i=!0,o=h.reduce((t,i)=>(t[i]=function(t,e){let i=new Set,r=new Set,n=!1,s=!1,o=new WeakSet,a={delta:0,timestamp:0,isProcessing:!1},l=0;function u(e){o.has(e)&&(c.schedule(e),t()),l++,e(a)}let c={schedule:(t,e=!1,s=!1)=>{let a=s&&n?i:r;return e&&o.add(t),a.has(t)||a.add(t),t},cancel:t=>{r.delete(t),o.delete(t)},process:t=>{if(a=t,n){s=!0;return}
1n=!0,[i,r]=[r,i],i.forEach(u),e&&d.value&&d.value.frameloop[e].push(l),l=0,i.clear(),n=!1,s&&(s=!1,c.process(t))}};return c}(s,e?i:void 0),t),{}),{setup:a,read:l,resolveKeyframes:u,preUpdate:f,update:p,preRender:m,render:y,postRender:g}=o,v=()=>{let s=c.useManualTiming?n.timestamp:performance.now();i=!1,c.useManualTiming||(n.delta=r?1e3/60:Math.max(Math.min(s-n.timestamp,40),1)),n.timestamp=s,n.isProcessing=!0,a.process(n),l.process(n),u.process(n),f.process(n),p.process(n),m.process(n),y.process(n),g.process(n),n.isProcessing=!1,i&&e&&(r=!1,t(v))},x=()=>{i=!0,r=!0,n.isProcessing||t(v)};return{schedule:h.reduce((t,e)=>{let r=o[e];return t[e]=(t,e=!1,n=!1)=>(i||x(),r.schedule(t,e,n)),t},{}),cancel:t=>{for(let e=0;e<h.length;e++)o[h[e]].cancel(t)},state:n,steps:o}}let{schedule:p,cancel:m,state:y,steps:g}=f("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:u,!0),v=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],x=new Set(v),b=new Set(["width","height","top","left","right","bottom",...v]);function w(t,e){-1===t.indexOf(e)&&t.push(e)}function S(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}class P{constructor(){this.subscriptions=[]}add(t){return w(this.subscriptions,t),()=>S(this.subscriptions,t)}notify(t,e,i){let r=this.subscriptions.length;if(r){if(1===r)this.subscriptions[0](t,e,i);else for(let n=0;n<r;n++){let r=this.subscriptions[n];r&&r(t,e,i)}}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function j(){r=void 0}let k={now:()=>(void 0===r&&k.set(y.isProcessing||c.useManualTiming?y.timestamp:performance.now()),r),set:t=>{r=t,queueMicrotask(j)}},E=t=>!isNaN(parseFloat(t)),T={current:void 0};class M{constructor(t,e={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=(t,e=!0)=>{let i=k.now();if(this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let t of this.dependents)t.dirty();e&&this.events.renderRequest?.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=k.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=E(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new P);let i=this.events[t].add(e);return"change"===t?()=>{i(),p.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(let 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,i){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}jump(t,e=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return T.current&&T.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){var t;let e=k.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;let i=Math.min(this.updatedAt-this.prevUpdatedAt,30);return t=parseFloat(this.current)-parseFloat(this.prevFrameValue),i?1e3/i*t: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.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function A(t,e){return new M(t,e)}let C=t=>Array.isArray(t),O=t=>!!(t&&t.getVelocity);function _(t,e){let i=t.getValue("willChange");if(O(i)&&i.add)return i.add(e);if(!i&&c.WillChange){let i=new c.WillChange("auto");
1t.addValue("willChange",i),i.add(e)}}let D=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),V="data-"+D("framerAppearId"),R=(t,e)=>i=>e(t(i)),N=(...t)=>t.reduce(R),L=(t,e,i)=>i>e?e:i<t?t:i,I=t=>1e3*t,F=t=>t/1e3,z={layout:0,mainThread:0,waapi:0},B=()=>{},H=()=>{},U=t=>e=>"string"==typeof e&&e.startsWith(t),W=U("--"),$=U("var(--"),Z=t=>!!$(t)&&q.test(t.split("/*")[0].trim()),q=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,K={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},X={...K,transform:t=>L(0,1,t)},G={...K,default:1},Y=t=>Math.round(1e5*t)/1e5,J=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,Q=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,tt=(t,e)=>i=>!!("string"==typeof i&&Q.test(i)&&i.startsWith(t)||e&&null!=i&&Object.prototype.hasOwnProperty.call(i,e)),te=(t,e,i)=>r=>{if("string"!=typeof r)return r;let[n,s,o,a]=r.match(J);return{[t]:parseFloat(n),[e]:parseFloat(s),[i]:parseFloat(o),alpha:void 0!==a?parseFloat(a):1}},ti=t=>L(0,255,t),tr={...K,transform:t=>Math.round(ti(t))},tn={test:tt("rgb","red"),parse:te("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:r=1})=>"rgba("+tr.transform(t)+", "+tr.transform(e)+", "+tr.transform(i)+", "+Y(X.transform(r))+")"},ts={test:tt("#"),parse:function(t){let e="",i="",r="",n="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),r=t.substring(5,7),n=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),r=t.substring(3,4),n=t.substring(4,5),e+=e,i+=i,r+=r,n+=n),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(r,16),alpha:n?parseInt(n,16)/255:1}},transform:tn.transform},to=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),ta=to("deg"),tl=to("%"),tu=to("px"),tc=to("vh"),th=to("vw"),td={...tl,parse:t=>tl.parse(t)/100,transform:t=>tl.transform(100*t)},tf={test:tt("hsl","hue"),parse:te("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:r=1})=>"hsla("+Math.round(t)+", "+tl.transform(Y(e))+", "+tl.transform(Y(i))+", "+Y(X.transform(r))+")"},tp={test:t=>tn.test(t)||ts.test(t)||tf.test(t),parse:t=>tn.test(t)?tn.parse(t):tf.test(t)?tf.parse(t):ts.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?tn.transform(t):tf.transform(t)},tm=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,ty="number",tg="color",tv=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function tx(t){let e=t.toString(),i=[],r={color:[],number:[],var:[]},n=[],s=0,o=e.replace(tv,t=>(tp.test(t)?(r.color.push(s),n.push(tg),i.push(tp.parse(t))):t.startsWith("var(")?(r.var.push(s),n.push("var"),i.push(t)):(r.number.push(s),n.push(ty),i.push(parseFloat(t))),++s,"${}")).split("${}");return{values:i,split:o,indexes:r,types:n}}function tb(t){return tx(t).values}function tw(t){let{split:e,types:i}=tx(t),r=e.length;return t=>{let n="";for(let s=0;s<r;s++)if(n+=e[s],void 0!==t[s]){let e=i[s];e===ty?n+=Y(t[s]):e===tg?n+=tp.transform(t[s]):n+=t[s]}return n}}let tS=t=>"number"==typeof t?0:t,tP={test:function(t){return isNaN(t)&&"string"==typeof t&&(t.match(J)?.length||0)+(t.match(tm)?.length||0)>0},parse:tb,createTransformer:tw,getAnimatableNone:function(t){let e=tb(t);return tw(t)(e.map(tS))}};function tj(t,e,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?t+(e-t)*6*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t}function tk(t,e){return i=>i>0?e:t}let tE=(t,e,i)=>t+(e-t)*i,tT=(t,e,i)=>{let r=t*t,n=i*(e*e-r)+r;return n<0?0:Math.sqrt(n)},tM=[ts,tn,tf],tA=t=>tM.find(e=>e.test(t));function tC(t){let e=tA(t);if(B(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`),!e)return!1;let i=e.parse(t);return e===tf&&(i=function({hue:t,saturation:e,lightness:i,alpha:r}){t/=360,i/=100;let n=0,s=0,o=0;if(e/=100){let r=i<.5?i*(1+e):i+e-i*e,a=2*i-r;n=tj(a,r,t+1/3),s=tj(a,r,t),o=tj(a,r,t-1/3)}else n=s=o=i;return{red:Math.round(255*n),green:Math.round(255*s),blue:Math.round(255*o),alpha:r}}(i)),i}let tO=(t,e)=>{let i=tC(t),r=tC(e);if(!i||!r)return tk(t,e);let n={...i};return t=>(n.red=tT(i.red,r.red,t),n.green=tT(i.green,r.green,t),n.blue=tT(i.blue,r.blue,t),n.alpha=tE(i.alpha,r.alpha,t),tn.transform(n))},t_=new Set(["none","hidden"]);function tD(t,e){return i=>tE(t,e,i)}function tV(t){return"number"==typeof t?tD:"string"==typeof t?Z(t)?tk:tp.test(t)?tO:tL:Array.isArray(t)?tR:"object"==typeof t?tp.test(t)?tO:tN:tk}function tR(t,e){let i=[...t],r=i.length,n=t.map((t,i)=>tV(t)(t,e[i]));return t=>{for(let e=0;e<r;e++)i[e]=n[e](t);return i}}function tN(t,e){let i={...t,...e},r={};for(let n in i)void 0!==t[n]&&void 0!==e[n]&&(r[n]=tV(t[n])(t[n],e[n]));return t=>{for(let e in r)i[e]=r[e](t);return i}}let tL=(t,e)=>{let i=tP.createTransformer(e),r=tx(t),n=tx(e);return r.indexes.var.length===n.indexes.var.length&&r.indexes.color.length===n.indexes.color.length&&r.indexes.number.length>=n.indexes.number.length?t_.has(t)&&!n.values.length||t_.has(e)&&!r.values.length?t_.has(t)?i=>i<=0?t:e:i=>i>=1?e:t:N(tR(function(t,e){let i=[],r={color:0,var:0,number:0};for(let n=0;n<e.values.length;n++){let s=e.types[n],o=t.indexes[s][r[s]],a=t.values[o]??0;i[n]=a,r[s]++}
1return i}(r,n),n.values),i):(B(!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.`),tk(t,e))};function tI(t,e,i){return"number"==typeof t&&"number"==typeof e&&"number"==typeof i?tE(t,e,i):tV(t)(t,e)}let tF=t=>{let e=({timestamp:e})=>t(e);return{start:(t=!0)=>p.update(e,t),stop:()=>m(e),now:()=>y.isProcessing?y.timestamp:k.now()}},tz=(t,e,i=10)=>{let r="",n=Math.max(Math.round(e/i),2);for(let e=0;e<n;e++)r+=t(e/(n-1))+", ";return`linear(${r.substring(0,r.length-2)})`};function tB(t){let e=0,i=t.next(e);for(;!i.done&&e<2e4;)e+=50,i=t.next(e);return e>=2e4?1/0:e}function tH(t,e,i){var r,n;let s=Math.max(e-5,0);return r=i-t(s),(n=e-s)?1e3/n*r:0}let tU={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function tW(t,e){return t*Math.sqrt(1-e*e)}let t$=["duration","bounce"],tZ=["stiffness","damping","mass"];function tq(t,e){return e.some(e=>void 0!==t[e])}function tK(t=tU.visualDuration,e=tU.bounce){let i;let r="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:n,restDelta:s}=r,o=r.keyframes[0],a=r.keyframes[r.keyframes.length-1],l={done:!1,value:o},{stiffness:u,damping:c,mass:h,duration:d,velocity:f,isResolvedFromDuration:p}=function(t){let e={velocity:tU.velocity,stiffness:tU.stiffness,damping:tU.damping,mass:tU.mass,isResolvedFromDuration:!1,...t};if(!tq(t,tZ)&&tq(t,t$)){if(t.visualDuration){let i=2*Math.PI/(1.2*t.visualDuration),r=i*i,n=2*L(.05,1,1-(t.bounce||0))*Math.sqrt(r);e={...e,mass:tU.mass,stiffness:r,damping:n}}else{let i=function({duration:t=tU.duration,bounce:e=tU.bounce,velocity:i=tU.velocity,mass:r=tU.mass}){let n,s;B(t<=I(tU.maxDuration),"Spring duration must be 10 seconds or less");let o=1-e;o=L(tU.minDamping,tU.maxDamping,o),t=L(tU.minDuration,tU.maxDuration,F(t)),o<1?(n=e=>{let r=e*o,n=r*t;return .001-(r-i)/tW(e,o)*Math.exp(-n)},s=e=>{let r=e*o*t,s=Math.pow(o,2)*Math.pow(e,2)*t,a=tW(Math.pow(e,2),o);return(r*i+i-s)*Math.exp(-r)*(-n(e)+.001>0?-1:1)/a}):(n=e=>-.001+Math.exp(-e*t)*((e-i)*t+1),s=e=>t*t*(i-e)*Math.exp(-e*t));let a=function(t,e,i){let r=i;for(let i=1;i<12;i++)r-=t(r)/e(r);return r}(n,s,5/t);if(t=I(t),isNaN(a))return{stiffness:tU.stiffness,damping:tU.damping,duration:t};{let e=Math.pow(a,2)*r;return{stiffness:e,damping:2*o*Math.sqrt(r*e),duration:t}}}(t);(e={...e,...i,mass:tU.mass}).isResolvedFromDuration=!0}}return e}({...r,velocity:-F(r.velocity||0)}),m=f||0,y=c/(2*Math.sqrt(u*h)),g=a-o,v=F(Math.sqrt(u/h)),x=5>Math.abs(g);if(n||(n=x?tU.restSpeed.granular:tU.restSpeed.default),s||(s=x?tU.restDelta.granular:tU.restDelta.default),y<1){let t=tW(v,y);i=e=>a-Math.exp(-y*v*e)*((m+y*v*g)/t*Math.sin(t*e)+g*Math.cos(t*e))}else if(1===y)i=t=>a-Math.exp(-v*t)*(g+(m+v*g)*t);else{let t=v*Math.sqrt(y*y-1);i=e=>{let i=Math.exp(-y*v*e),r=Math.min(t*e,300);return a-i*((m+y*v*g)*Math.sinh(r)+t*g*Math.cosh(r))/t}}let b={calculatedDuration:p&&d||null,next:t=>{let e=i(t);if(p)l.done=t>=d;else{let r=0===t?m:0;y<1&&(r=0===t?I(m):tH(i,t,e));let o=Math.abs(r)<=n,u=Math.abs(a-e)<=s;l.done=o&&u}return l.value=l.done?a:e,l},toString:()=>{let t=Math.min(tB(b),2e4),e=tz(e=>b.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return b}function tX({keyframes:t,velocity:e=0,power:i=.8,timeConstant:r=325,bounceDamping:n=10,bounceStiffness:s=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:c}){let h,d;let f=t[0],p={done:!1,value:f},m=t=>void 0!==a&&t<a||void 0!==l&&t>l,y=t=>void 0===a?l:void 0===l?a:Math.abs(a-t)<Math.abs(l-t)?a:l,g=i*e,v=f+g,x=void 0===o?v:o(v);x!==v&&(g=x-f);let b=t=>-g*Math.exp(-t/r),w=t=>x+b(t),S=t=>{let e=b(t),i=w(t);p.done=Math.abs(e)<=u,p.value=p.done?x:i},P=t=>{m(p.value)&&(h=t,d=tK({keyframes:[p.value,y(p.value)],velocity:tH(w,t,p.value),damping:n,stiffness:s,restDelta:u,restSpeed:c}))};return P(0),{calculatedDuration:null,next:t=>{let e=!1;return(d||void 0!==h||(e=!0,S(t),P(t)),void 0!==h&&t>=h)?d.next(t-h):(e||S(t),p)}}}tK.applyToOptions=t=>{let e=function(t,e=100,i){let r=i({...t,keyframes:[0,e]}),n=Math.min(tB(r),2e4);return{type:"keyframes",ease:t=>r.next(n*t).value/e,duration:F(n)}}(t,100,tK);return t.ease=e.ease,t.duration=I(e.duration),t.type="keyframes",t};let tG=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function tY(t,e,i,r){if(t===e&&i===r)return u;let n=e=>
1(function(t,e,i,r,n){let s,o;let a=0;do(s=tG(o=e+(i-e)/2,r,n)-t)>0?i=o:e=o;while(Math.abs(s)>1e-7&&++a<12);return o})(e,0,1,t,i);return t=>0===t||1===t?t:tG(n(t),e,r)}let tJ=tY(.42,0,1,1),tQ=tY(0,0,.58,1),t0=tY(.42,0,.58,1),t1=t=>Array.isArray(t)&&"number"!=typeof t[0],t2=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,t4=t=>e=>1-t(1-e),t5=tY(.33,1.53,.69,.99),t3=t4(t5),t6=t2(t3),t8=t=>(t*=2)<1?.5*t3(t):.5*(2-Math.pow(2,-10*(t-1))),t7=t=>1-Math.sin(Math.acos(t)),t9=t4(t7),et=t2(t7),ee=t=>Array.isArray(t)&&"number"==typeof t[0],ei={linear:u,easeIn:tJ,easeInOut:t0,easeOut:tQ,circIn:t7,circInOut:et,circOut:t9,backIn:t3,backInOut:t6,backOut:t5,anticipate:t8},er=t=>"string"==typeof t,en=t=>{if(ee(t)){H(4===t.length,"Cubic bezier arrays must contain four numerical values.");let[e,i,r,n]=t;return tY(e,i,r,n)}return er(t)?(H(void 0!==ei[t],`Invalid easing type '${t}'`),ei[t]):t},es=(t,e,i)=>{let r=e-t;return 0===r?1:(i-t)/r};function eo({duration:t=300,keyframes:e,times:i,ease:r="easeInOut"}){let n=t1(r)?r.map(en):en(r),s={done:!1,value:e[0]},o=function(t,e,{clamp:i=!0,ease:r,mixer:n}={}){let s=t.length;if(H(s===e.length,"Both input and output ranges must be the same length"),1===s)return()=>e[0];if(2===s&&e[0]===e[1])return()=>e[1];let o=t[0]===t[1];t[0]>t[s-1]&&(t=[...t].reverse(),e=[...e].reverse());let a=function(t,e,i){let r=[],n=i||c.mix||tI,s=t.length-1;for(let i=0;i<s;i++){let s=n(t[i],t[i+1]);e&&(s=N(Array.isArray(e)?e[i]||u:e,s)),r.push(s)}return r}(e,r,n),l=a.length,h=i=>{if(o&&i<t[0])return e[0];let r=0;if(l>1)for(;r<t.length-2&&!(i<t[r+1]);r++);let n=es(t[r],t[r+1],i);return a[r](n)};return i?e=>h(L(t[0],t[s-1],e)):h}((i&&i.length===e.length?i:function(t){let e=[0];return function(t,e){let i=t[t.length-1];for(let r=1;r<=e;r++){let n=es(0,e,r);t.push(tE(i,1,n))}}(e,t.length-1),e}(e)).map(e=>e*t),e,{ease:Array.isArray(n)?n:e.map(()=>n||t0).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(s.value=o(e),s.done=e>=t,s)}}let ea=t=>null!==t;function el(t,{repeat:e,repeatType:i="loop"},r,n=1){let s=t.filter(ea),o=n<0||e&&"loop"!==i&&e%2==1?0:s.length-1;return o&&void 0!==r?r:s[o]}let eu={decay:tX,inertia:tX,tween:eo,keyframes:eo,spring:tK};function ec(t){"string"==typeof t.type&&(t.type=eu[t.type])}class eh{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,e){return this.finished.then(t,e)}}let ed=t=>t/100;class ef extends eh{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{let{motionValue:t}=this.options;t&&t.updatedAt!==k.now()&&this.tick(k.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},z.mainThread++,this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){let{options:t}=this;ec(t);let{type:e=eo,repeat:i=0,repeatDelay:r=0,repeatType:n,velocity:s=0}=t,{keyframes:o}=t,a=e||eo;a!==eo&&"number"!=typeof o[0]&&(this.mixKeyframes=N(ed,tI(o[0],o[1])),o=[0,100]);let l=a({...t,keyframes:o});"mirror"===n&&(this.mirroredGenerator=a({...t,keyframes:[...o].reverse(),velocity:-s})),null===l.calculatedDuration&&(l.calculatedDuration=tB(l));let{calculatedDuration:u}=l;this.calculatedDuration=u,this.resolvedDuration=u+r,this.totalDuration=this.resolvedDuration*(i+1)-r,this.generator=l}updateTime(t){let e=Math.round(t-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=e}tick(t,e=!1){let{generator:i,totalDuration:r,mixKeyframes:n,mirroredGenerator:s,resolvedDuration:o,calculatedDuration:a}=this;if(null===this.startTime)return i.next(0);let{delay:l=0,keyframes:u,repeat:c,repeatType:h,repeatDelay:d,type:f,onUpdate:p,finalKeyframe:m}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-r/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);let y=this.currentTime-l*(this.playbackSpeed>=0?1:-1),g=this.playbackSpeed>=0?y<0:y>r;this.currentTime=Math.max(y,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=r);let v=this.currentTime,x=i;if(c){let t=Math.min(this.currentTime,r)/o,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,c+1))%2&&("reverse"===h?(i=1-i,d&&(i-=d/
1o)):"mirror"===h&&(x=s)),v=L(0,1,i)*o}let b=g?{done:!1,value:u[0]}:x.next(v);n&&(b.value=n(b.value));let{done:w}=b;g||null===a||(w=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);let S=null===this.holdTime&&("finished"===this.state||"running"===this.state&&w);return S&&f!==tX&&(b.value=el(u,this.options,m,this.speed)),p&&p(b.value),S&&this.finish(),b}then(t,e){return this.finished.then(t,e)}get duration(){return F(this.calculatedDuration)}get time(){return F(this.currentTime)}set time(t){t=I(t),this.currentTime=t,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(k.now());let e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=F(this.currentTime))}play(){if(this.isStopped)return;let{driver:t=tF,startTime:e}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),this.options.onPlay?.();let i=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=i):null!==this.holdTime?this.startTime=i-this.holdTime:this.startTime||(this.startTime=e??i),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(k.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null,z.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}let ep=t=>180*t/Math.PI,em=t=>eg(ep(Math.atan2(t[1],t[0]))),ey={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:em,rotateZ:em,skewX:t=>ep(Math.atan(t[1])),skewY:t=>ep(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},eg=t=>((t%=360)<0&&(t+=360),t),ev=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),ex=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),eb={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:ev,scaleY:ex,scale:t=>(ev(t)+ex(t))/2,rotateX:t=>eg(ep(Math.atan2(t[6],t[5]))),rotateY:t=>eg(ep(Math.atan2(-t[2],t[0]))),rotateZ:em,rotate:em,skewX:t=>ep(Math.atan(t[4])),skewY:t=>ep(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function ew(t){return t.includes("scale")?1:0}function eS(t,e){let i,r;if(!t||"none"===t)return ew(e);let n=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(n)i=eb,r=n;else{let e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=ey,r=e}if(!r)return ew(e);let s=i[e],o=r[1].split(",").map(ej);return"function"==typeof s?s(o):o[s]}let eP=(t,e)=>{let{transform:i="none"}=getComputedStyle(t);return eS(i,e)};function ej(t){return parseFloat(t.trim())}let ek=t=>t===K||t===tu,eE=new Set(["x","y","z"]),eT=v.filter(t=>!eE.has(t)),eM={width:({x:t},{paddingLeft:e="0",paddingRight:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),height:({y:t},{paddingTop:e="0",paddingBottom:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),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:(t,{transform:e})=>eS(e,"x"),y:(t,{transform:e})=>eS(e,"y")};eM.translateX=eM.x,eM.translateY=eM.y;let eA=new Set,eC=!1,eO=!1,e_=!1;function eD(){if(eO){let t=Array.from(eA).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),i=new Map;e.forEach(t=>{let e=function(t){let e=[];return eT.forEach(i=>{let r=t.getValue(i);void 0!==r&&(e.push([i,r.get()]),r.set(i.startsWith("scale")?1:0))}),e}(t);e.length&&(i.set(t,e),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();let e=i.get(t);e&&e.forEach(([e,i])=>{t.getValue(e)?.set(i)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}eO=!1,eC=!1,eA.forEach(t=>t.complete(e_)),eA.clear()}function eV(){eA.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(eO=!0)})}class eR{constructor(t,e,i,r,n,s=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=r,this.element=n,this.isAsync=s}scheduleResolve(){this.state="scheduled",this.isAsync?(eA.add(this),eC||(eC=!0,p.read(eV),p.resolveKeyframes(eD))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:i,motionValue:r}=this;if(null===t[0]){let n=r?.get(),s=t[t.length-1];if(void 0!==n)t[0]=n;else if(i&&e){let r=i.readValue(e,s);null!=r&&(t[0]=r)}void 0===t[0]&&(t[0]=s),r&&void 0===n&&r.set(t[0])}!function(t){for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),eA.delete(this)}cancel(){"scheduled"===this.state&&(eA.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}let eN=t=>t.startsWith("--");function eL(t){let e;return()=>(void 0===e&&(e=t()),e)}let eI=eL(()=>void 0!==window.ScrollTimeline),eF={},ez=function(t,e){let i=eL(t);return()=>eF[e]??i()}(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing"),eB=([t,e,i,r])=>`cubic-bezier(${t}, ${e}, ${i}, ${r})`,eH={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:eB([0,.65,.55,1]),circOut:eB([.55,0,1,.45]),backIn:eB([.31,.01,.66,-.59]),backOut:eB([.33,1.53,.69,.99])};function eU(t){return"function"==typeof t&&"applyToOptions"in t}class eW extends eh{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;let{element:e,name:i,keyframes:r,pseudoElement:n,allowFlatten:s=!1,finalKeyframe:o,onComplete:a}=t;this.isPseudoElement=!!n,this.allowFlatten=s,this.options=t,H("string"!=typeof t.type,'animateMini doesn\'t support "type" as a string. Did you mean to import { spring } from "motion"?');let l=function({type:t,...e}){return eU(t)&&ez()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}(t);this.animation=function(t,e,i,{delay:r=0,duration:n=300,repeat:s=0,repeatType:o="loop",ease:a="easeOut",times:l}={},u){let c={[e]:i};l&&(c.offset=l);let h=function t(e,i){if(e)return"function"==typeof e?ez()?tz(e,i):"ease-out":ee(e)?eB(e):Array.isArray(e)?e.map(e=>t(e,i)||eH.easeOut):eH[e]}(a,n);Array.isArray(h)&&(c.easing=h),d.value&&z.waapi++;let f={delay:r,duration:n,easing:Array.isArray(h)?"linear":h,fill:"both",iterations:s+1,direction:"reverse"===o?"alternate":"normal"};u&&(f.pseudoElement=u);let p=t.animate(c,f);return d.value&&p.finished.finally(()=>{z.waapi--}),p}(e,i,r,l,n),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!n){let t=el(r,this.options,o,this.speed);this.updateMotionValue?this.updateMotionValue(t):eN(i)?e.style.setProperty(i,t):e.style[i]=t,this.animation.cancel()}a?.(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(t){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:t}=this;"idle"!==t&&"finished"!==t&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){return F(Number(this.animation.effect?.getComputedTiming?.().duration||0))}get time(){return F(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=I(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(t){this.animation.startTime=t}attachTimeline({timeline:t,observe:e}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&eI())?(this.animation.timeline=t,u):e(this)}}let e$={anticipate:t8,backInOut:t6,circInOut:et};class eZ extends eW{constructor(t){"string"==typeof t.ease&&t.ease in e$&&(t.ease=e$[t.ease]),ec(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){let{motionValue:e,onUpdate:i,onComplete:r,element:n,...s}=this.options;if(!e)return;if(void 0!==t){e.set(t);return}let o=new ef({...s,autoplay:!1}),a=I(this.finishedTime??this.time);e.setWithVelocity(o.sample(a-10).value,o.sample(a).value,10),o.stop()}}let eq=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(tP.test(t)||"0"===t)&&!t.startsWith("url("));var eK,eX,eG,eY=i(3243);let eJ=new Set(["opacity","clipPath","filter","transform"]),eQ=eL(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class e0 extends eh{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:r=0,repeatDelay:n=0,repeatType:s="loop",keyframes:o,name:a,motionValue:l,element:u,...c}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=k.now();let h={autoplay:t,delay:e,type:i,repeat:r,repeatDelay:n,repeatType:s,name:a,motionValue:l,element:u,...c},d=u?.KeyframeResolver||eR;this.keyframeResolver=new d(o,(t,e,i)=>this.onKeyframesResolved(t,e,h,!i),a,l,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,i,r){this.keyframeResolver=void 0;let{name:n,type:s,velocity:o,delay:a,isHandoff:l,onUpdate:h}=i;
1this.resolvedAt=k.now(),!function(t,e,i,r){let n=t[0];if(null===n)return!1;if("display"===e||"visibility"===e)return!0;let s=t[t.length-1],o=eq(n,e),a=eq(s,e);return B(o===a,`You are trying to animate ${e} from "${n}" to "${s}". ${n} is not an animatable value - to enable this animation set ${n} to a value animatable to ${s} via the \`style\` property.`),!!o&&!!a&&(function(t){let e=t[0];if(1===t.length)return!0;for(let i=0;i<t.length;i++)if(t[i]!==e)return!0}(t)||("spring"===i||eU(i))&&r)}(t,n,s,o)&&((c.instantAnimations||!a)&&h?.(el(t,i,e)),t[0]=t[t.length-1],i.duration=0,i.repeat=0);let d={startTime:r?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:e,...i,keyframes:t},f=!l&&function(t){let{motionValue:e,name:i,repeatDelay:r,repeatType:n,damping:s,type:o}=t;if(!(0,eY.R)(e?.owner?.current))return!1;let{onUpdate:a,transformTemplate:l}=e.owner.getProps();return eQ()&&i&&eJ.has(i)&&("transform"!==i||!l)&&!a&&!r&&"mirror"!==n&&0!==s&&"inertia"!==o}(d)?new eZ({...d,element:d.motionValue.owner.current}):new ef(d);f.finished.then(()=>this.notifyFinished()).catch(u),this.pendingTimeline&&(this.stopTimeline=f.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=f}get finished(){return this._animation?this.animation.finished:this._finished}then(t,e){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),e_=!0,eV(),eD(),e_=!1),this._animation}get duration(){return this.animation.duration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}let e1=t=>null!==t,e2={type:"spring",stiffness:500,damping:25,restSpeed:10},e4=t=>({type:"spring",stiffness:550,damping:0===t?2*Math.sqrt(550):30,restSpeed:10}),e5={type:"keyframes",duration:.8},e3={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},e6=(t,{keyframes:e})=>e.length>2?e5:x.has(t)?t.startsWith("scale")?e4(e[1]):e2:e3,e8=(t,e,i,r={},n,s)=>o=>{let a=l(r,t)||{},u=a.delay||r.delay||0,{elapsed:h=0}=r;h-=I(u);let d={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...a,delay:-h,onUpdate:t=>{e.set(t),a.onUpdate&&a.onUpdate(t)},onComplete:()=>{o(),a.onComplete&&a.onComplete()},name:t,motionValue:e,element:s?void 0:n};!function({when:t,delay:e,delayChildren:i,staggerChildren:r,staggerDirection:n,repeat:s,repeatType:o,repeatDelay:a,from:l,elapsed:u,...c}){return!!Object.keys(c).length}(a)&&Object.assign(d,e6(t,d)),d.duration&&(d.duration=I(d.duration)),d.repeatDelay&&(d.repeatDelay=I(d.repeatDelay)),void 0!==d.from&&(d.keyframes[0]=d.from);let f=!1;if(!1!==d.type&&(0!==d.duration||d.repeatDelay)||(d.duration=0,0!==d.delay||(f=!0)),(c.instantAnimations||c.skipAnimations)&&(f=!0,d.duration=0,d.delay=0),d.allowFlatten=!a.type&&!a.ease,f&&!s&&void 0!==e.get()){let t=function(t,{repeat:e,repeatType:i="loop"},r){let n=t.filter(e1),s=e&&"loop"!==i&&e%2==1?0:n.length-1;return n[s]}(d.keyframes,a);if(void 0!==t){p.update(()=>{d.onUpdate(t),d.onComplete()});return}}return a.isSync?new ef(d):new e0(d)};function e7(t,e,{delay:i=0,transitionOverride:r,type:n}={}){let{transition:s=t.getDefaultTransition(),transitionEnd:o,...u}=e;r&&(s=r);let c=[],h=n&&t.animationState&&t.animationState.getState()[n];for(let e in u){let r=t.getValue(e,t.latestValues[e]??null),n=u[e];if(void 0===n||h&&function({protectedKeys:t,needsAnimating:e},i){let r=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,r}(h,e))continue;let o={delay:i,...l(s||{},e)},a=r.get();if(void 0!==a&&!r.isAnimating&&!Array.isArray(n)&&n===a&&!o.velocity)continue;let d=!1;if(window.MotionHandoffAnimation){let i=t.props[V];if(i){let t=window.MotionHandoffAnimation(i,e,p);null!==t&&(o.startTime=t,d=!0)}}_(t,e),r.start(e8(e,r,n,t.shouldReduceMotion&&b.has(e)?{type:!1}:o,t,d));let f=r.animation;f&&c.push(f)}return o&&Promise.all(c).then(()=>{p.update(()=>{o&&function(t,e){let{transitionEnd:i={},transition:r={},...n}=a(t,e)||{};for(let e in n={...n,...i}){var s;let i=C(s=n[e])?s[s.length-1]||0:s;t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,A(i))}}(t,o)})}),c}function e9(t,e,i={}){let r=a(t,e,"exit"===i.type?t.presenceContext?.custom:void 0),{transition:n=t.getDefaultTransition()||{}}=r||{};i.transitionOverride&&(n=i.transitionOverride);let s=r?()=>Promise.all(e7(t,r,i)):()=>Promise.resolve(),o=t.variantChildren&&t.variantChildren.size?(r=0)=>{let{delayChildren:s=0,staggerChildren:o,staggerDirection:a}=n;
1return function(t,e,i=0,r=0,n=1,s){let o=[],a=(t.variantChildren.size-1)*r,l=1===n?(t=0)=>t*r:(t=0)=>a-t*r;return Array.from(t.variantChildren).sort(it).forEach((t,r)=>{t.notify("AnimationStart",e),o.push(e9(t,e,{...s,delay:i+l(r)}).then(()=>t.notify("AnimationComplete",e)))}),Promise.all(o)}(t,e,s+r,o,a,i)}:()=>Promise.resolve(),{when:l}=n;if(!l)return Promise.all([s(),o(i.delay)]);{let[t,e]="beforeChildren"===l?[s,o]:[o,s];return t().then(()=>e())}}function it(t,e){return t.sortNodePosition(e)}function ie(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let r=0;r<i;r++)if(e[r]!==t[r])return!1;return!0}function ii(t){return"string"==typeof t||Array.isArray(t)}let ir=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],is=["initial",...ir],io=is.length,ia=[...ir].reverse(),il=ir.length;function iu(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function ic(){return{animate:iu(!0),whileInView:iu(),whileHover:iu(),whileTap:iu(),whileDrag:iu(),whileFocus:iu(),exit:iu()}}class ih{constructor(t){this.isMounted=!1,this.node=t}update(){}}class id extends ih{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:i})=>(function(t,e,i={}){let r;if(t.notify("AnimationStart",e),Array.isArray(e))r=Promise.all(e.map(e=>e9(t,e,i)));else if("string"==typeof e)r=e9(t,e,i);else{let n="function"==typeof e?a(t,e,i.custom):e;r=Promise.all(e7(t,n,i))}return r.then(()=>{t.notify("AnimationComplete",e)})})(t,e,i))),i=ic(),r=!0,s=e=>(i,r)=>{let n=a(t,r,"exit"===e?t.presenceContext?.custom:void 0);if(n){let{transition:t,transitionEnd:e,...r}=n;i={...i,...r,...e}}return i};function o(o){let{props:l}=t,u=function t(e){if(!e)return;if(!e.isControllingVariants){let i=e.parent&&t(e.parent)||{};return void 0!==e.props.initial&&(i.initial=e.props.initial),i}let i={};for(let t=0;t<io;t++){let r=is[t],n=e.props[r];(ii(n)||!1===n)&&(i[r]=n)}return i}(t.parent)||{},c=[],h=new Set,d={},f=1/0;for(let e=0;e<il;e++){var p;let a=ia[e],m=i[a],y=void 0!==l[a]?l[a]:u[a],g=ii(y),v=a===o?m.isActive:null;!1===v&&(f=e);let x=y===u[a]&&y!==l[a]&&g;if(x&&r&&t.manuallyAnimateOnMount&&(x=!1),m.protectedKeys={...d},!m.isActive&&null===v||!y&&!m.prevProp||n(y)||"boolean"==typeof y)continue;let b=(p=m.prevProp,"string"==typeof y?y!==p:!!Array.isArray(y)&&!ie(y,p)),w=b||a===o&&m.isActive&&!x&&g||e>f&&g,S=!1,P=Array.isArray(y)?y:[y],j=P.reduce(s(a),{});!1===v&&(j={});let{prevResolvedValues:k={}}=m,E={...k,...j},T=e=>{w=!0,h.has(e)&&(S=!0,h.delete(e)),m.needsAnimating[e]=!0;let i=t.getValue(e);i&&(i.liveStyle=!1)};for(let t in E){let e=j[t],i=k[t];if(!d.hasOwnProperty(t))(C(e)&&C(i)?ie(e,i):e===i)?void 0!==e&&h.has(t)?T(t):m.protectedKeys[t]=!0:null!=e?T(t):h.add(t)}m.prevProp=y,m.prevResolvedValues=j,m.isActive&&(d={...d,...j}),r&&t.blockInitialAnimation&&(w=!1);let M=!(x&&b)||S;w&&M&&c.push(...P.map(t=>({animation:t,options:{type:a}})))}if(h.size){let e={};if("boolean"!=typeof l.initial){let i=a(t,Array.isArray(l.initial)?l.initial[0]:l.initial);i&&i.transition&&(e.transition=i.transition)}h.forEach(i=>{let r=t.getBaseTarget(i),n=t.getValue(i);n&&(n.liveStyle=!0),e[i]=r??null}),c.push({animation:e})}let m=!!c.length;return r&&(!1===l.initial||l.initial===l.animate)&&!t.manuallyAnimateOnMount&&(m=!1),r=!1,m?e(c):Promise.resolve()}return{animateChanges:o,setActive:function(e,r){if(i[e].isActive===r)return Promise.resolve();t.variantChildren?.forEach(t=>t.animationState?.setActive(e,r)),i[e].isActive=r;let n=o(e);for(let t in i)i[t].protectedKeys={};return n},setAnimateFunction:function(i){e=i(t)},getState:()=>i,reset:()=>{i=ic(),r=!0}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();n(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let ip=0;class im extends ih{constructor(){super(...arguments),this.id=ip++}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;let r=this.node.animationState.setActive("exit",!t);e&&!t&&r.then(()=>
1{e(this.id)})}mount(){let{register:t,onExitComplete:e}=this.node.presenceContext||{};e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}}let iy={x:!1,y:!1};function ig(t,e,i,r={passive:!0}){return t.addEventListener(e,i,r),()=>t.removeEventListener(e,i)}let iv=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function ix(t){return{point:{x:t.pageX,y:t.pageY}}}let ib=t=>e=>iv(e)&&t(e,ix(e));function iw(t,e,i,r){return ig(t,e,ib(i),r)}function iS({top:t,left:e,right:i,bottom:r}){return{x:{min:e,max:i},y:{min:t,max:r}}}function iP(t){return t.max-t.min}function ij(t,e,i,r=.5){t.origin=r,t.originPoint=tE(e.min,e.max,t.origin),t.scale=iP(i)/iP(e),t.translate=tE(i.min,i.max,t.origin)-t.originPoint,(t.scale>=.9999&&t.scale<=1.0001||isNaN(t.scale))&&(t.scale=1),(t.translate>=-.01&&t.translate<=.01||isNaN(t.translate))&&(t.translate=0)}function ik(t,e,i,r){ij(t.x,e.x,i.x,r?r.originX:void 0),ij(t.y,e.y,i.y,r?r.originY:void 0)}function iE(t,e,i){t.min=i.min+e.min,t.max=t.min+iP(e)}function iT(t,e,i){t.min=e.min-i.min,t.max=t.min+iP(e)}function iM(t,e,i){iT(t.x,e.x,i.x),iT(t.y,e.y,i.y)}let iA=()=>({translate:0,scale:1,origin:0,originPoint:0}),iC=()=>({x:iA(),y:iA()}),iO=()=>({min:0,max:0}),i_=()=>({x:iO(),y:iO()});function iD(t){return[t("x"),t("y")]}function iV(t){return void 0===t||1===t}function iR({scale:t,scaleX:e,scaleY:i}){return!iV(t)||!iV(e)||!iV(i)}function iN(t){return iR(t)||iL(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function iL(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}function iI(t,e,i,r,n){return void 0!==n&&(t=r+n*(t-r)),r+i*(t-r)+e}function iF(t,e=0,i=1,r,n){t.min=iI(t.min,e,i,r,n),t.max=iI(t.max,e,i,r,n)}function iz(t,{x:e,y:i}){iF(t.x,e.translate,e.scale,e.originPoint),iF(t.y,i.translate,i.scale,i.originPoint)}function iB(t,e){t.min=t.min+e,t.max=t.max+e}function iH(t,e,i,r,n=.5){let s=tE(t.min,t.max,n);iF(t,e,i,s,r)}function iU(t,e){iH(t.x,e.x,e.scaleX,e.scale,e.originX),iH(t.y,e.y,e.scaleY,e.scale,e.originY)}function iW(t,e){return iS(function(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),r=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:r.y,right:r.x}}(t.getBoundingClientRect(),e))}let i$=({current:t})=>t?t.ownerDocument.defaultView:null;function iZ(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}let iq=(t,e)=>Math.abs(t-e);class iK{constructor(t,e,{transformPagePoint:i,contextWindow:r,dragSnapToOrigin:n=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{var t,e;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let i=iY(this.lastMoveEventInfo,this.history),r=null!==this.startEvent,n=(t=i.offset,e={x:0,y:0},Math.sqrt(iq(t.x,e.x)**2+iq(t.y,e.y)**2)>=3);if(!r&&!n)return;let{point:s}=i,{timestamp:o}=y;this.history.push({...s,timestamp:o});let{onStart:a,onMove:l}=this.handlers;r||(a&&a(this.lastMoveEvent,i),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,i)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=iX(e,this.transformPagePoint),p.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:r,resumeAnimation:n}=this.handlers;if(this.dragSnapToOrigin&&n&&n(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let s=iY("pointercancel"===t.type?this.lastMoveEventInfo:iX(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,s),r&&r(t,s)},!iv(t))return;this.dragSnapToOrigin=n,this.handlers=e,this.transformPagePoint=i,this.contextWindow=r||window;let s=iX(ix(t),this.transformPagePoint),{point:o}=s,{timestamp:a}=y;this.history=[{...o,timestamp:a}];let{onSessionStart:l}=e;l&&l(t,iY(s,this.history)),this.removeListeners=N(iw(this.contextWindow,"pointermove",this.handlePointerMove),iw(this.contextWindow,"pointerup",this.handlePointerUp),iw(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),m(this.updatePoint)}}function iX(t,e){return e?{point:e(t.point)}:t}function iG(t,e){return{x:t.x-e.x,y:t.y-e.y}}function iY({point:t},e){return{point:t,delta:iG(t,iJ(e)),offset:iG(t,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let i=t.length-1,r=null,n=iJ(t);for(;i>=0&&(r=t[i],!(n.timestamp-r.timestamp>I(.1)));)i--;if(!r)return{x:0,y:0};let s=F(n.timestamp-r.timestamp);if(0===s)return{x:0,y:0};let o={x:(n.x-r.x)/s,y:(n.y-r.y)/s};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}(e,0)}}function iJ(t){return t[t.length-1]}function iQ(t,e,i){return{min:void 0!==e?t.min+e:void 0,max:void 0!==i?t.max+i-(t.max-t.min):void 0}}function i0(t,e){let i=e.min-t.min,r=e.max-t.max;return e.max-e.min<t.max-t.min&&([i,r]=[r,i]),{min:i,max:r}}function i1(t,e,i){return{min:i2(t,e),max:i2(t,i)}}function i2(t,e){return"number"==typeof t?t:t[e]||0}let i4=new WeakMap;class i5{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=i_(),this.visualElement=t}start(t,{snapToCursor:e=!1}={}){let{presenceContext:i}=this.visualElement;if(i&&!1===i.isPresent)return;let{dragSnapToOrigin:r}=this.getProps();this.panSession=new iK(t,{onSessionStart:t=>{let{dragSnapToOrigin:i}=this.getProps();i?this.pauseAnimation():this.stopAnimation(),e&&this.snapToCursor(ix(t).point)},onStart:(t,e)=>{let{drag:i,dragPropagation:r,onDragStart:n}=this.getProps();if(i&&!r&&(this.openDragLock&&this.openDragLock(),this.openDragLock="x"===i||"y"===i?iy[i]?null:(iy[i]=!0,()=>{iy[i]=!1}):iy.x||iy.y?null:(iy.x=iy.y=!0,()=>{iy.x=iy.y=!1}),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),iD(t=>{let e=this.getAxisMotionValue(t).get()||0;if(tl.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let r=i.layout.layoutBox[t];if(r){let t=iP(r);e=parseFloat(e)/100*t}}}this.originPoint[t]=e}),n&&p.postRender(()=>n(t,e)),_(this.visualElement,"transform");let{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},onMove:(t,e)=>{let{dragPropagation:i,dragDirectionLock:r,onDirectionLock:n,onDrag:s}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:o}=e;if(r&&null===this.currentDirection){this.currentDirection=function(t,e=10){let i=null;return Math.abs(t.y)>e?i="y":Math.abs(t.x)>e&&(i="x"),i}(o),null!==this.currentDirection&&n&&n(this.currentDirection);return}this.updateAxis("x",e.point,o),this.updateAxis("y",e.point,o),this.visualElement.render(),s&&s(t,e)},onSessionEnd:(t,e)=>this.stop(t,e),resumeAnimation:()=>iD(t=>"paused"===this.getAnimationState(t)&&this.getAxisMotionValue(t).animation?.play())},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:r,contextWindow:i$(this.visualElement)})}stop(t,e){let i=this.isDragging;if(this.cancel(),!i)return;let{velocity:r}=e;this.startAnimation(r);let{onDragEnd:n}=this.getProps();n&&p.postRender(()=>n(t,e))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}updateAxis(t,e,i){let{drag:r}=this.getProps();if(!i||!i3(t,r,this.currentDirection))return;let n=this.getAxisMotionValue(t),s=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(s=function(t,{min:e,max:i},r){return void 0!==e&&t<e?t=r?tE(e,t,r.min):Math.max(t,e):void 0!==i&&t>i&&(t=r?tE(i,t,r.max):Math.min(t,i)),t}(s,this.constraints[t],this.elastic[t])),n.set(s)}resolveConstraints(){let{dragConstraints:t,dragElastic:e}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,r=this.constraints;t&&iZ(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&i?this.constraints=function(t,{top:e,left:i,bottom:r,right:n}){return{x:iQ(t.x,i,n),y:iQ(t.y,e,r)}}(i.layoutBox,t):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:i1(t,"left","right"),y:i1(t,"top","bottom")}}(e),r!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&iD(t=>{!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){let i={};return void 0!==e.min&&(i.min=e.min-t.min),void 0!==e.max&&(i.max=e.max-t.min),i}(i.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!iZ(e))return!1;let r=e.current;H(null!==r,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:n}=this.visualElement;if(!n||!n.layout)return!1;
1let s=function(t,e,i){let r=iW(t,i),{scroll:n}=e;return n&&(iB(r.x,n.offset.x),iB(r.y,n.offset.y)),r}(r,n.root,this.visualElement.getTransformPagePoint()),o={x:i0((t=n.layout.layoutBox).x,s.x),y:i0(t.y,s.y)};if(i){let t=i(function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}(o));this.hasMutatedConstraints=!!t,t&&(o=iS(t))}return o}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:r,dragTransition:n,dragSnapToOrigin:s,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{};return Promise.all(iD(o=>{if(!i3(o,e,this.currentDirection))return;let l=a&&a[o]||{};s&&(l={min:0,max:0});let u={type:"inertia",velocity:i?t[o]:0,bounceStiffness:r?200:1e6,bounceDamping:r?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...n,...l};return this.startAxisValueAnimation(o,u)})).then(o)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return _(this.visualElement,t),i.start(e8(t,i,0,e,this.visualElement,!1))}stopAnimation(){iD(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){iD(t=>this.getAxisMotionValue(t).animation?.pause())}getAnimationState(t){return this.getAxisMotionValue(t).animation?.state}getAxisMotionValue(t){let e=`_drag${t.toUpperCase()}`,i=this.visualElement.getProps();return i[e]||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){iD(e=>{let{drag:i}=this.getProps();if(!i3(e,i,this.currentDirection))return;let{projection:r}=this.visualElement,n=this.getAxisMotionValue(e);if(r&&r.layout){let{min:i,max:s}=r.layout.layoutBox[e];n.set(t[e]-tE(i,s,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!iZ(e)||!i||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};iD(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){let i=e.get();r[t]=function(t,e){let i=.5,r=iP(t),n=iP(e);return n>r?i=es(e.min,e.max-r,t.min):r>n&&(i=es(t.min,t.max-n,e.min)),L(0,1,i)}({min:i,max:i},this.constraints[t])}});let{transformTemplate:n}=this.visualElement.getProps();this.visualElement.current.style.transform=n?n({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),iD(e=>{if(!i3(e,t,null))return;let i=this.getAxisMotionValue(e),{min:n,max:s}=this.constraints[e];i.set(tE(n,s,r[e]))})}addListeners(){if(!this.visualElement.current)return;i4.set(this.visualElement,this);let t=iw(this.visualElement.current,"pointerdown",t=>{let{drag:e,dragListener:i=!0}=this.getProps();e&&i&&this.start(t)}),e=()=>{let{dragConstraints:t}=this.getProps();iZ(t)&&t.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,r=i.addEventListener("measure",e);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),p.read(e);let n=ig(window,"resize",()=>this.scalePositionWithinConstraints()),s=i.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(iD(e=>{let i=this.getAxisMotionValue(e);i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=>{n(),t(),r(),s&&s()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:r=!1,dragConstraints:n=!1,dragElastic:s=.35,dragMomentum:o=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:r,dragConstraints:n,dragElastic:s,dragMomentum:o}}}function i3(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}class i6 extends ih{constructor(t){super(t),this.removeGroupControls=u,this.removeListeners=u,this.controls=new i5(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||u}unmount(){this.removeGroupControls(),this.removeListeners()}}let i8=t=>(e,i)=>{t&&p.postRender(()=>t(e,i))};class i7 extends ih{constructor(){super(...arguments),this.removePointerDownListener=u}onPointerDown(t){this.session=new iK(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:i$(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:r}=this.node.getProps();return{onSessionStart:i8(t),onStart:i8(e),onMove:i,onEnd:(t,e)=>{delete this.session,r&&p.postRender(()=>r(t,e))}}}mount(){this.removePointerDownListener=iw(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}
1var i9=i(5893);let{schedule:rt,cancel:re}=f(queueMicrotask,!1);var ri=i(7294),rr=i(5947),rn=i(5364);let rs=(0,ri.createContext)({}),ro={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function ra(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let rl={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t){if(!tu.test(t))return t;t=parseFloat(t)}let i=ra(t,e.target.x),r=ra(t,e.target.y);return`${i}% ${r}%`}},ru={};class rc extends ri.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:r}=this.props,{projection:n}=t;!function(t){for(let e in t)ru[e]=t[e],W(e)&&(ru[e].isCSSVariable=!0)}(rd),n&&(e.group&&e.group.add(n),i&&i.register&&r&&i.register(n),n.root.didUpdate(),n.addEventListener("animationComplete",()=>{this.safeToRemove()}),n.setOptions({...n.options,onExitComplete:()=>this.safeToRemove()})),ro.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:r,isPresent:n}=this.props,{projection:s}=i;return s&&(s.isPresent=n,r||t.layoutDependency!==e||void 0===e||t.isPresent!==n?s.willUpdate():this.safeToRemove(),t.isPresent===n||(n?s.promote():s.relegate()||p.postRender(()=>{let t=s.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),rt.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:r}=t;r&&(r.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(r),i&&i.deregister&&i.deregister(r))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function rh(t){let[e,i]=(0,rr.oO)(),r=(0,ri.useContext)(rn.p);return(0,i9.jsx)(rc,{...t,layoutGroup:r,switchLayoutGroup:(0,ri.useContext)(rs),isPresent:e,safeToRemove:i})}let rd={borderRadius:{...rl,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:rl,borderTopRightRadius:rl,borderBottomLeftRadius:rl,borderBottomRightRadius:rl,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let r=tP.parse(t);if(r.length>5)return t;let n=tP.createTransformer(t),s="number"!=typeof r[0]?1:0,o=i.x.scale*e.x,a=i.y.scale*e.y;r[0+s]/=o,r[1+s]/=a;let l=tE(o,a,.5);return"number"==typeof r[2+s]&&(r[2+s]/=l),"number"==typeof r[3+s]&&(r[3+s]/=l),n(r)}}};var rf=i(6464);function rp(t){return(0,rf.K)(t)&&"ownerSVGElement"in t}let rm=(t,e)=>t.depth-e.depth;class ry{constructor(){this.children=[],this.isDirty=!1}add(t){w(this.children,t),this.isDirty=!0}remove(t){S(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(rm),this.isDirty=!1,this.children.forEach(t)}}function rg(t){return O(t)?t.get():t}let rv=["TopLeft","TopRight","BottomLeft","BottomRight"],rx=rv.length,rb=t=>"string"==typeof t?parseFloat(t):t,rw=t=>"number"==typeof t||tu.test(t);function rS(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let rP=rk(0,.5,t9),rj=rk(.5,.95,u);function rk(t,e,i){return r=>r<t?0:r>e?1:i(es(t,e,r))}function rE(t,e){t.min=e.min,t.max=e.max}function rT(t,e){rE(t.x,e.x),rE(t.y,e.y)}function rM(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function rA(t,e,i,r,n){return t-=e,t=r+1/i*(t-r),void 0!==n&&(t=r+1/n*(t-r)),t}function rC(t,e,[i,r,n],s,o){!function(t,e=0,i=1,r=.5,n,s=t,o=t){if(tl.test(e)&&(e=parseFloat(e),e=tE(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=tE(s.min,s.max,r);t===s&&(a-=e),t.min=rA(t.min,e,i,a,n),t.max=rA(t.max,e,i,a,n)}(t,e[i],e[r],e[n],e.scale,s,o)}let rO=["x","scaleX","originX"],r_=["y","scaleY","originY"];function rD(t,e,i,r){rC(t.x,e,rO,i?i.x:void 0,r?r.x:void 0),rC(t.y,e,r_,i?i.y:void 0,r?r.y:void 0)}function rV(t){return 0===t.translate&&1===t.scale}function rR(t){return rV(t.x)&&rV(t.y)}function rN(t,e){return t.min===e.min&&t.max===e.max}function rL(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function rI(t,e){return rL(t.x,e.x)&&rL(t.y,e.y)}function rF(t){return iP(t.x)/iP(t.y)}function rz(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class rB{constructor(){this.members=[]}add(t){w(this.members,t),t.scheduleRender()}remove(t){if(S(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}
1}relegate(t){let e;let i=this.members.findIndex(e=>t===e);if(0===i)return!1;for(let t=i;t>=0;t--){let i=this.members[t];if(!1!==i.isPresent){e=i;break}}return!!e&&(this.promote(e),!0)}promote(t,e){let i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,e&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:r}=t.options;!1===r&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{let{options:e,resumingFrom:i}=t;e.onExitComplete&&e.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}let rH={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},rU=["","X","Y","Z"],rW={visibility:"hidden"},r$=0;function rZ(t,e,i,r){let{latestValues:n}=e;n[t]&&(i[t]=n[t],e.setStaticValue(t,0),r&&(r[t]=0))}function rq({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:r,resetTransform:n}){return class{constructor(t={},i=e?.()){this.id=r$++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,d.value&&(rH.nodes=rH.calculatedTargetDeltas=rH.calculatedProjections=0),this.nodes.forEach(rG),this.nodes.forEach(r4),this.nodes.forEach(r5),this.nodes.forEach(rY),d.addProjectionMetrics&&d.addProjectionMetrics(rH)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new ry)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new P),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let i=this.eventHandlers.get(t);i&&i.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e){if(this.instance)return;this.isSVG=rp(e)&&!(rp(e)&&"svg"===e.tagName),this.instance=e;let{layoutId:i,layout:r,visualElement:n}=this.options;if(n&&!n.current&&n.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(r||i)&&(this.isLayoutDirty=!0),t){let i;let r=()=>this.root.updateBlockedByResize=!1;t(e,()=>{this.root.updateBlockedByResize=!0,i&&i(),i=function(t,e){let i=k.now(),r=({timestamp:e})=>{let n=e-i;n>=250&&(m(r),t(n-250))};return p.setup(r,!0),()=>m(r)}(r,0),ro.hasAnimatedSinceResize&&(ro.hasAnimatedSinceResize=!1,this.nodes.forEach(r2))})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&n&&(i||r)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeLayoutChanged:i,layout:r})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let s=this.options.transition||n.getDefaultTransition()||nt,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=n.getProps(),u=!this.targetLayout||!rI(this.targetLayout,r),c=!e&&i;if(this.options.layoutRoot||this.resumeFrom||c||e&&(u||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let e={...l(s,"layout"),onPlay:o,onComplete:a};(n.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e),this.setAnimationOrigin(t,c)}else e||r2(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),m(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEac
1h(r3),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function t(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:i}=e.options;if(!i)return;let r=i.props[V];if(window.MotionHasOptimisedAnimation(r,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(r,"transform",p,!(t||i))}let{parent:n}=e;n&&!n.hasCheckedOptimisedAppear&&t(n)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){let e=this.path[t];e.shouldResetTransform=!0,e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:i}=this.options;if(void 0===e&&!i)return;let r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(rQ);return}this.isUpdating||this.nodes.forEach(r0),this.isUpdating=!1,this.nodes.forEach(r1),this.nodes.forEach(rK),this.nodes.forEach(rX),this.clearAllSnapshots();let t=k.now();y.delta=L(0,1e3/60,t-y.timestamp),y.timestamp=t,y.isProcessing=!0,g.update.process(y),g.preRender.process(y),g.render.process(y),y.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,rt.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(rJ),this.sharedNodes.forEach(r6)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,p.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){p.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),!this.snapshot||iP(this.snapshot.measuredBox.x)||iP(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let t=0;t<this.path.length;t++)this.path[t].updateScroll();let t=this.layout;this.layout=this.measure(!1),this.layoutCorrected=i_(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&this.instance){let e=r(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!n)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!rR(this.projectionDelta),i=this.getTransformTemplate(),r=i?i(this.latestValues,""):void 0,s=r!==this.prevTransformTemplateValue;t&&this.instance&&(e||iN(this.latestValues)||s)&&(n(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let i=this.measurePageBox(),r=this.removeElementScroll(i);return t&&(r=this.removeTransform(r)),nr((e=r).x),nr(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:r,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return i_();let e=t.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(ns))){let{scroll:t}=this.root;t&&(iB(e.x,t.offset.x),iB(e.y,t.offset.y))}return e}removeElementScroll(t){let e=i_();if(rT(e,t),this.scroll?.wasRoot)return e;for(let i=0;i<this.path.length;i++){let r=this.path[i],{scroll:n,options:s}=r;r!==this.root&&n&&s.layoutScroll&&(n.wasRoot&&rT(e,t),iB(e.x,n.offset.x),iB(e.y,n.offset.y))}return e}applyTransform(t,e=!1){let i=i_();rT(i,t);for(let t=0;t<this.path.length;t++){let r=this.path[t];!e&&r.options.layoutScroll&&r.scroll&&r!==r.root&&iU(i,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),iN(r.latestValues)&&iU(i,r.latestValues)}return iN(this.latestValues)&&iU(i,this.latestValues),i}removeTransform(t){let e=i_();rT(e,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];if(!i.instance||!iN(i.latestValues))continue;iR(i.latestValues)&&i.updateSnapshot();let r=i_();rT(r,i.measurePageBox()),rD(e,i.latestValues,i.snapshot?i.snapshot.layoutBox:void 0,r)}return iN(this.latestValues)&&rD(e,this.latestValues),e}setTargetDelta(t){this.targetDelta=t,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(t){this.options={...this.options,...t,crossfade:void 0===t.crossfade||t.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==y.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){let e=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=e.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=e.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=e.isSharedProjectionDirty);let i=!!this.resumingFrom||this!==e;if(!(t||i&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:r,layoutId:n}=this.options;if(this.layout&&(r||n)){if(this.resolvedRelativeTargetAt=y.timestamp,!this.targetDelta&&!this.relativeTarget){let t=this.getClosestProjectingParent();t&&t.layout&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=i_(),this.relativeTargetOrigin=i_(),iM(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),rT(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if(this.target||(this.target=i_(),this.targetWithTransforms=i_()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target){var s,o,a;this.forceRelativeParentToResolveTarget(),s=this.target,o=this.relativeTarget,a=this.relativeParent.target,iE(s.x,o.x,a.x),iE(s.y,o.y,a.y)}else this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):rT(this.target,this.layout.layoutBox),iz(this.target,this.targetDelta)):rT(this.target,this.layout.layoutBox);if(this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let t=this.getClosestProjectingParent();t&&!!t.resumingFrom==!!this.resumingFrom&&!t.options.layoutScroll&&t.target&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=i_(),this.relativeTargetOrigin=i_(),iM(this.relativeTargetOrigin,this.target,t.target),rT(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}d.value&&rH.calculatedTargetDeltas++}}}getClosestProjectingParent(){return!this.parent||iR(this.parent.latestValues)||iL(this.parent.latestValues)?void 0:this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){let t=this.getLead(),e=!!this.resumingFrom||this!==t,i=!0;
1if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(i=!1),e&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===y.timestamp&&(i=!1),i)return;let{layout:r,layoutId:n}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(r||n))return;rT(this.layoutCorrected,this.layout.layoutBox);let s=this.treeScale.x,o=this.treeScale.y;!function(t,e,i,r=!1){let n,s;let o=i.length;if(o){e.x=e.y=1;for(let a=0;a<o;a++){s=(n=i[a]).projectionDelta;let{visualElement:o}=n.options;(!o||!o.props.style||"contents"!==o.props.style.display)&&(r&&n.options.layoutScroll&&n.scroll&&n!==n.root&&iU(t,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),s&&(e.x*=s.x.scale,e.y*=s.y.scale,iz(t,s)),r&&iN(n.latestValues)&&iU(t,n.latestValues))}e.x<1.0000000000001&&e.x>.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}}(this.layoutCorrected,this.treeScale,this.path,e),t.layout&&!t.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(t.target=t.layout.layoutBox,t.targetWithTransforms=i_());let{target:a}=t;if(!a){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(rM(this.prevProjectionDelta.x,this.projectionDelta.x),rM(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),ik(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.treeScale.x===s&&this.treeScale.y===o&&rz(this.projectionDelta.x,this.prevProjectionDelta.x)&&rz(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",a)),d.value&&rH.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){if(this.options.visualElement?.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=iC(),this.projectionDelta=iC(),this.projectionDeltaWithTransform=iC()}setAnimationOrigin(t,e=!1){let i;let r=this.snapshot,n=r?r.latestValues:{},s={...this.latestValues},o=iC();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let a=i_(),l=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),c=!u||u.members.length<=1,h=!!(l&&!c&&!0===this.options.crossfade&&!this.path.some(r9));this.animationProgress=0,this.mixTargetDelta=e=>{let r=e/1e3;if(r8(o.x,t.x,r),r8(o.y,t.y,r),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,d,f,p;iM(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),f=this.relativeTarget,p=this.relativeTargetOrigin,r7(f.x,p.x,a.x,r),r7(f.y,p.y,a.y,r),i&&(u=this.relativeTarget,d=i,rN(u.x,d.x)&&rN(u.y,d.y))&&(this.isProjectionDirty=!1),i||(i=i_()),rT(i,this.relativeTarget)}l&&(this.animationValues=s,function(t,e,i,r,n,s){n?(t.opacity=tE(0,i.opacity??1,rP(r)),t.opacityExit=tE(e.opacity??1,0,rj(r))):s&&(t.opacity=tE(e.opacity??1,i.opacity??1,r));for(let n=0;n<rx;n++){let s=`border${rv[n]}Radius`,o=rS(e,s),a=rS(i,s);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||rw(o)===rw(a)?(t[s]=Math.max(tE(rb(o),rb(a),r),0),(tl.test(a)||tl.test(o))&&(t[s]+="%")):t[s]=a)}(e.rotate||i.rotate)&&(t.rotate=tE(e.rotate||0,i.rotate||0,r))}(s,n,this.latestValues,r,h,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=r},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(m(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=p.update(()=>{ro.hasAnimatedSinceResize=!0,z.layout++,this.motionValue||(this.motionValue=A(0)),this.currentAnimation=function(t,e,
1i){let r=O(t)?t:A(t);return r.start(e8("",r,e,i)),r.animation}(this.motionValue,[0,1e3],{...t,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onStop:()=>{z.layout--},onComplete:()=>{z.layout--,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);let 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(){let t=this.getLead(),{targetWithTransforms:e,target:i,layout:r,latestValues:n}=t;if(e&&i&&r){if(this!==t&&this.layout&&r&&nn(this.options.animationType,this.layout.layoutBox,r.layoutBox)){i=this.target||i_();let e=iP(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let r=iP(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+r}rT(e,i),iU(e,n),ik(this.projectionDeltaWithTransform,this.layoutCorrected,e,n)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new rB),this.sharedNodes.get(t).add(e);let i=e.options.initialPromotionConfig;e.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(e):void 0})}isLead(){let t=this.getStack();return!t||t.lead===this}getLead(){let{layoutId:t}=this.options;
1return t&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:t}=this.options;return t?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:i}={}){let r=this.getStack();r&&r.promote(this,i),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){let t=this.getStack();return!!t&&t.relegate(this)}resetSkewAndRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:i}=t;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(e=!0),!e)return;let r={};i.z&&rZ("z",t,r,this.animationValues);for(let e=0;e<rU.length;e++)rZ(`rotate${rU[e]}`,t,r,this.animationValues),rZ(`skew${rU[e]}`,t,r,this.animationValues);for(let e in t.render(),r)t.setStaticValue(e,r[e]),this.animationValues&&(this.animationValues[e]=r[e]);t.scheduleRender()}getProjectionStyles(t){if(!this.instance||this.isSVG)return;if(!this.isVisible)return rW;let e={visibility:""},i=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,e.opacity="",e.pointerEvents=rg(t?.pointerEvents)||"",e.transform=i?i(this.latestValues,""):"none",e;let r=this.getLead();if(!this.projectionDelta||!this.layout||!r.target){let e={};return this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=rg(t?.pointerEvents)||""),this.hasProjected&&!iN(this.latestValues)&&(e.transform=i?i({},""):"none",this.hasProjected=!1),e}let n=r.animationValues||r.latestValues;this.applyTransformsToTarget(),e.transform=function(t,e,i){let r="",n=t.x.translate/e.x,s=t.y.translate/e.y,o=i?.z||0;if((n||s||o)&&(r=`translate3d(${n}px, ${s}px, ${o}px) `),(1!==e.x||1!==e.y)&&(r+=`scale(${1/e.x}, ${1/e.y}) `),i){let{transformPerspective:t,rotate:e,rotateX:n,rotateY:s,skewX:o,skewY:a}=i;t&&(r=`perspective(${t}px) ${r}`),e&&(r+=`rotate(${e}deg) `),n&&(r+=`rotateX(${n}deg) `),s&&(r+=`rotateY(${s}deg) `),o&&(r+=`skewX(${o}deg) `),a&&(r+=`skewY(${a}deg) `)}let a=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==a||1!==l)&&(r+=`scale(${a}, ${l})`),r||"none"}(this.projectionDeltaWithTransform,this.treeScale,n),i&&(e.transform=i(n,e.transform));let{x:s,y:o}=this.projectionDelta;for(let t in e.transformOrigin=`${100*s.origin}% ${100*o.origin}% 0`,r.animationValues?e.opacity=r===this?n.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:n.opacityExit:e.opacity=r===this?void 0!==n.opacity?n.opacity:"":void 0!==n.opacityExit?n.opacityExit:0,ru){if(void 0===n[t])continue;let{correct:i,applyTo:s,isCSSVariable:o}=ru[t],a="none"===e.transform?n[t]:i(n[t],r);if(s){let t=s.length;for(let i=0;i<t;i++)e[s[i]]=a}else o?this.options.visualElement.renderState.vars[t]=a:e[t]=a}return this.options.layoutId&&(e.pointerEvents=r===this?rg(t?.pointerEvents)||"":"none"),e}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>t.currentAnimation?.stop()),this.root.nodes.forEach(rQ),this.root.sharedNodes.clear()}}}function rK(t){t.updateLayout()}function rX(t){let e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){let{layoutBox:i,measuredBox:r}=t.layout,{animationType:n}=t.options,s=e.source!==t.layout.source;"size"===n?iD(t=>{let r=s?e.measuredBox[t]:e.layoutBox[t],n=iP(r);r.min=i[t].min,r.max=r.min+n}):nn(n,e.layoutBox,i)&&iD(r=>{let n=s?e.measuredBox[r]:e.layoutBox[r],o=iP(i[r]);n.max=n.min+o,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[r].max=t.relativeTarget[r].min+o)});let o=iC();ik(o,i,e.layoutBox);let a=iC();s?ik(a,t.applyTransform(r,!0),e.measuredBox):ik(a,i,e.layoutBox);let l=!rR(o),u=!1;if(!t.resumeFrom){let r=t.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:n,layout:s}=r;if(n&&s){let o=i_();iM(o,e.layoutBox,n.layoutBox);let a=i_();iM(a,i,s.layoutBox),rI(o,a)||(u=!0),r.options.layoutRoot&&(t.relativeTarget=a,t.relativeTargetOrigin=o,t.relativeParent=r)}}}t.notifyListeners("didUpdate",{layout:i,snapshot:e,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function rG(t){d.value&&rH.nodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.
1isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function rY(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function rJ(t){t.clearSnapshot()}function rQ(t){t.clearMeasurements()}function r0(t){t.isLayoutDirty=!1}function r1(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function r2(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function r4(t){t.resolveTargetDelta()}function r5(t){t.calcProjection()}function r3(t){t.resetSkewAndRotation()}function r6(t){t.removeLeadSnapshot()}function r8(t,e,i){t.translate=tE(e.translate,0,i),t.scale=tE(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function r7(t,e,i,r){t.min=tE(e.min,i.min,r),t.max=tE(e.max,i.max,r)}function r9(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let nt={duration:.45,ease:[.4,0,.1,1]},ne=t=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),ni=ne("applewebkit/")&&!ne("chrome/")?Math.round:u;function nr(t){t.min=ni(t.min),t.max=ni(t.max)}function nn(t,e,i){return"position"===t||"preserve-aspect"===t&&!(.2>=Math.abs(rF(e)-rF(i)))}function ns(t){return t!==t.root&&t.scroll?.wasRoot}let no=rq({attachResizeListener:(t,e)=>ig(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),na={current:void 0},nl=rq({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!na.current){let t=new no({});t.mount(window),t.setOptions({layoutScroll:!0}),na.current=t}return na.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});function nu(t,e){let i=function(t,e,i){if(t instanceof EventTarget)return[t];if("string"==typeof t){let e=document,i=(void 0)??e.querySelectorAll(t);return i?Array.from(i):[]}return Array.from(t)}(t),r=new AbortController;return[i,{passive:!0,...e,signal:r.signal},()=>r.abort()]}function nc(t){return!("touch"===t.pointerType||iy.x||iy.y)}function nh(t,e,i){let{props:r}=t;t.animationState&&r.whileHover&&t.animationState.setActive("whileHover","Start"===i);let n=r["onHover"+i];n&&p.postRender(()=>n(e,ix(e)))}class nd extends ih{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[r,n,s]=nu(t,i),o=t=>{if(!nc(t))return;let{target:i}=t,r=e(i,t);if("function"!=typeof r||!i)return;let s=t=>{nc(t)&&(r(t),i.removeEventListener("pointerleave",s))};i.addEventListener("pointerleave",s,n)};return r.forEach(t=>{t.addEventListener("pointerenter",o,n)}),s}(t,(t,e)=>(nh(this.node,e,"Start"),t=>nh(this.node,t,"End"))))}unmount(){}}class nf extends ih{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=N(ig(this.node.current,"focus",()=>this.onFocus()),ig(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}let np=(t,e)=>!!e&&(t===e||np(t,e.parentElement)),nm=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),ny=new WeakSet;function ng(t){return e=>{"Enter"===e.key&&t(e)}}function nv(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}let nx=(t,e)=>{let i=t.currentTarget;if(!i)return;let r=ng(()=>{if(ny.has(i))return;nv(i,"down");let t=ng(()=>{nv(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>nv(i,"cancel"),e)});i.addEventListener("keydown",r,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",r),e)};function nb(t){return iv(t)&&!(iy.x||iy.y)}function nw(t,e,i){let{props:r}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&r.whileTap&&t.animationState.setActive("whileTap","Start"===i);let n=r["onTap"+("End"===i?"":i)];n&&p.postRender(()=>n(e,ix(e)))}class nS extends ih{mount(){let{current:t}=this.node;
1t&&(this.unmount=function(t,e,i={}){let[r,n,s]=nu(t,i),o=t=>{let r=t.currentTarget;if(!nb(t))return;ny.add(r);let s=e(r,t),o=(t,e)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),ny.has(r)&&ny.delete(r),nb(t)&&"function"==typeof s&&s(t,{success:e})},a=t=>{o(t,r===window||r===document||i.useGlobalTarget||np(r,t.target))},l=t=>{o(t,!1)};window.addEventListener("pointerup",a,n),window.addEventListener("pointercancel",l,n)};return r.forEach(t=>{(i.useGlobalTarget?window:t).addEventListener("pointerdown",o,n),(0,eY.R)(t)&&(t.addEventListener("focus",t=>nx(t,n)),nm.has(t.tagName)||-1!==t.tabIndex||t.hasAttribute("tabindex")||(t.tabIndex=0))}),s}(t,(t,e)=>(nw(this.node,e,"Start"),(t,{success:e})=>nw(this.node,t,e?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}let nP=new WeakMap,nj=new WeakMap,nk=t=>{let e=nP.get(t.target);e&&e(t)},nE=t=>{t.forEach(nk)},nT={some:0,all:1};class nM extends ih{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:t={}}=this.node.getProps(),{root:e,margin:i,amount:r="some",once:n}=t,s={root:e?e.current:void 0,rootMargin:i,threshold:"number"==typeof r?r:nT[r]};return function(t,e,i){let r=function({root:t,...e}){let i=t||document;nj.has(i)||nj.set(i,{});let r=nj.get(i),n=JSON.stringify(e);return r[n]||(r[n]=new IntersectionObserver(nE,{root:t,...e})),r[n]}(e);return nP.set(t,i),r.observe(t),()=>{nP.delete(t),r.unobserve(t)}}(this.node.current,s,t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,n&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:i,onViewportLeave:r}=this.node.getProps(),s=e?i:r;s&&s(t)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return i=>t[i]!==e[i]}(t,e))&&this.startObserver()}unmount(){}}let nA=(0,ri.createContext)({strict:!1});var nC=i(6014);let nO=(0,ri.createContext)({});function n_(t){return n(t.animate)||is.some(e=>ii(t[e]))}function nD(t){return!!(n_(t)||t.variants)}function nV(t){return Array.isArray(t)?t.join(" "):t}var nR=i(1741);let nN={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"]},nL={};for(let t in nN)nL[t]={isEnabled:e=>nN[t].some(t=>!!e[t])};let nI=Symbol.for("motionComponentSymbol");var nF=i(240),nz=i(8868);function nB(t,{layout:e,layoutId:i}){return x.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!ru[t]||"opacity"===t)}let nH=(t,e)=>e&&"number"==typeof t?e.transform(t):t,nU={...K,transform:Math.round},nW={borderWidth:tu,borderTopWidth:tu,borderRightWidth:tu,borderBottomWidth:tu,borderLeftWidth:tu,borderRadius:tu,radius:tu,borderTopLeftRadius:tu,borderTopRightRadius:tu,borderBottomRightRadius:tu,borderBottomLeftRadius:tu,width:tu,maxWidth:tu,height:tu,maxHeight:tu,top:tu,right:tu,bottom:tu,left:tu,padding:tu,paddingTop:tu,paddingRight:tu,paddingBottom:tu,paddingLeft:tu,margin:tu,marginTop:tu,marginRight:tu,marginBottom:tu,marginLeft:tu,backgroundPositionX:tu,backgroundPositionY:tu,rotate:ta,rotateX:ta,rotateY:ta,rotateZ:ta,scale:G,scaleX:G,scaleY:G,scaleZ:G,skew:ta,skewX:ta,skewY:ta,distance:tu,translateX:tu,translateY:tu,translateZ:tu,x:tu,y:tu,z:tu,perspective:tu,transformPerspective:tu,opacity:X,originX:td,originY:td,originZ:tu,zIndex:nU,fillOpacity:X,strokeOpacity:X,numOctaves:nU},n$={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},nZ=v.length;function nq(t,e,i){let{style:r,vars:n,transformOrigin:s}=t,o=!1,a=!1;for(let t in e){let i=e[t];if(x.has(t)){o=!0;continue}if(W(t)){n[t]=i;continue}{let e=nH(i,nW[t]);t.startsWith("origin")?(a=!0,s[t]=e):r[t]=e}}
1if(!e.transform&&(o||i?r.transform=function(t,e,i){let r="",n=!0;for(let s=0;s<nZ;s++){let o=v[s],a=t[o];if(void 0===a)continue;let l=!0;if(!(l="number"==typeof a?a===(o.startsWith("scale")?1:0):0===parseFloat(a))||i){let t=nH(a,nW[o]);if(!l){n=!1;let e=n$[o]||o;r+=`${e}(${t}) `}i&&(e[o]=t)}}return r=r.trim(),i?r=i(e,n?"":r):n&&(r="none"),r}(e,t.transform,i):r.transform&&(r.transform="none")),a){let{originX:t="50%",originY:e="50%",originZ:i=0}=s;r.transformOrigin=`${t} ${e} ${i}`}}let nK=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function nX(t,e,i){for(let r in e)O(e[r])||nB(r,i)||(t[r]=e[r])}let nG={offset:"stroke-dashoffset",array:"stroke-dasharray"},nY={offset:"strokeDashoffset",array:"strokeDasharray"};function nJ(t,{attrX:e,attrY:i,attrScale:r,pathLength:n,pathSpacing:s=1,pathOffset:o=0,...a},l,u,c){if(nq(t,a,u),l){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:h,style:d}=t;h.transform&&(d.transform=h.transform,delete h.transform),(d.transform||h.transformOrigin)&&(d.transformOrigin=h.transformOrigin??"50% 50%",delete h.transformOrigin),d.transform&&(d.transformBox=c?.transformBox??"fill-box",delete h.transformBox),void 0!==e&&(h.x=e),void 0!==i&&(h.y=i),void 0!==r&&(h.scale=r),void 0!==n&&function(t,e,i=1,r=0,n=!0){t.pathLength=1;let s=n?nG:nY;t[s.offset]=tu.transform(-r);let o=tu.transform(e),a=tu.transform(i);t[s.array]=`${o} ${a}`}(h,n,s,o,!1)}let nQ=()=>({...nK(),attrs:{}}),n0=t=>"string"==typeof t&&"svg"===t.toLowerCase(),n1=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function n2(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||n1.has(t)}let n4=t=>!n2(t);try{(eK=require("@emotion/is-prop-valid").default)&&(n4=t=>t.startsWith("on")?!n2(t):eK(t))}catch{}let n5=["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 n3(t){if("string"!=typeof t||t.includes("-"));else if(n5.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}var n6=i(6681);let n8=t=>(e,i)=>{let r=(0,ri.useContext)(nO),s=(0,ri.useContext)(nF.O),a=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e},i,r,s){return{latestValues:function(t,e,i,r){let s={},a=r(t,{});for(let t in a)s[t]=rg(a[t]);let{initial:l,animate:u}=t,c=n_(t),h=nD(t);e&&h&&!c&&!1!==t.inherit&&(void 0===l&&(l=e.initial),void 0===u&&(u=e.animate));let d=!!i&&!1===i.initial,f=(d=d||!1===l)?u:l;if(f&&"boolean"!=typeof f&&!n(f)){let e=Array.isArray(f)?f:[f];for(let i=0;i<e.length;i++){let r=o(t,e[i]);if(r){let{transitionEnd:t,transition:e,...i}=r;for(let t in i){let e=i[t];if(Array.isArray(e)){let t=d?e.length-1:0;e=e[t]}null!==e&&(s[t]=e)}for(let e in t)s[e]=t[e]}}}return s}(i,r,s,t),renderState:e()}})(t,e,r,s);return i?a():(0,n6.h)(a)};function n7(t,e,i){let{style:r}=t,n={};for(let s in r)(O(r[s])||e.style&&O(e.style[s])||nB(s,t)||i?.getValue(s)?.liveStyle!==void 0)&&(n[s]=r[s]);return n}let n9={useVisualState:n8({scrapeMotionValuesFromProps:n7,createRenderState:nK})};function st(t,e,i){let r=n7(t,e,i);for(let i in t)(O(t[i])||O(e[i]))&&(r[-1!==v.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return r}let se={useVisualState:n8({scrapeMotionValuesFromProps:st,createRenderState:nQ})},si=t=>e=>e.test(t),sr=[K,tu,tl,ta,th,tc,{test:t=>"auto"===t,parse:t=>t}],sn=t=>sr.find(si(t)),ss=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t),so=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,sa=t=>/^0[^.\s]+$/u.test(t),sl=new Set(["brightness","contrast","saturate","opacity"]);function su(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[r]=i.match(J)||[];if(!r)return t;let n=i.replace(r,""),s=sl.has(e)?1:0;return r!==i&&(s*=100),e+"("+s+n+")"}let sc=/\b([a-z-]*)\(.*?\)/gu,sh={...tP,getAnimatableNone:t=>{let e=t.match(sc);return e?e.map(su).join(" "):t}},sd={...nW,color:tp,backgroundColor:tp,outlineColor:tp,fill:tp,stroke:tp,borderColor:tp,borderTopColor:tp,borderRightColor:tp,borderBottomColor:tp,borderLeftColor:tp,filter:sh,WebkitFilter:sh},sf=t=>sd[t];function sp(t,e){let i=sf(t);return i!==sh&&(i=tP),i.getAnimatableNone?i.getAnimatableNone(e):void 0}
1let sm=new Set(["auto","none","0"]);class sy extends eR{constructor(t,e,i,r,n){super(t,e,i,r,n,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:i}=this;if(!e||!e.current)return;super.readKeyframes();for(let i=0;i<t.length;i++){let r=t[i];if("string"==typeof r&&Z(r=r.trim())){let n=function t(e,i,r=1){H(r<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[n,s]=function(t){let e=so.exec(t);if(!e)return[,];let[,i,r,n]=e;return[`--${i??r}`,n]}(e);if(!n)return;let o=window.getComputedStyle(i).getPropertyValue(n);if(o){let t=o.trim();return ss(t)?parseFloat(t):t}return Z(s)?t(s,i,r+1):s}(r,e.current);void 0!==n&&(t[i]=n),i===t.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!b.has(i)||2!==t.length)return;let[r,n]=t,s=sn(r),o=sn(n);if(s!==o){if(ek(s)&&ek(o))for(let e=0;e<t.length;e++){let i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else eM[i]&&(this.needsMeasurement=!0)}}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,i=[];for(let e=0;e<t.length;e++){var r;(null===t[e]||("number"==typeof(r=t[e])?0===r:null===r||"none"===r||"0"===r||sa(r)))&&i.push(e)}i.length&&function(t,e,i){let r,n=0;for(;n<t.length&&!r;){let e=t[n];"string"==typeof e&&!sm.has(e)&&tx(e).values.length&&(r=t[n]),n++}if(r&&i)for(let n of e)t[n]=sp(i,r)}(t,i,e)}measureInitialState(){let{element:t,unresolvedKeyframes:e,name:i}=this;if(!t||!t.current)return;"height"===i&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=eM[i](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let r=e[e.length-1];void 0!==r&&t.getValue(i,r).jump(r,!1)}measureEndState(){let{element:t,name:e,unresolvedKeyframes:i}=this;if(!t||!t.current)return;let r=t.getValue(e);r&&r.jump(this.measuredOrigin,!1);let n=i.length-1,s=i[n];i[n]=eM[e](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==s&&void 0===this.finalKeyframe&&(this.finalKeyframe=s),this.removedTransforms?.length&&this.removedTransforms.forEac
1h(([e,i])=>{t.getValue(e).set(i)}),this.resolveNoneKeyframes()}}let sg=[...sr,tp,tP],sv=t=>sg.find(si(t)),sx={current:null},sb={current:!1},sw=new WeakMap,sS=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class sP{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:r,blockInitialAnimation:n,visualState:s},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=eR,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let t=k.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,p.render(this.render,!1,!0))};let{latestValues:a,renderState:l}=s;this.latestValues=a,this.baseTarget={...a},this.initialValues=e.initial?{...a}:{},this.renderState=l,this.parent=t,this.props=e,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=r,this.options=o,this.blockInitialAnimation=!!n,this.isControllingVariants=n_(e),this.isVariantNode=nD(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);let{willChange:u,...c}=this.scrapeMotionValuesFromProps(e,{},this);for(let t in c){let e=c[t];void 0!==a[t]&&O(e)&&e.set(a[t],!1)}}mount(t){this.current=t,sw.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)),sb.current||function(){if(sb.current=!0,nR.j){if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>sx.current=t.matches;t.addListener(e),e()}else sx.current=!1}}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||sx.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in this.projection&&this.projection.unmount(),m(this.notifyUpdate),m(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[t].clear();for(let t in this.features){let e=this.features[t];e&&(e.unmount(),e.isMounted=!1)}this.current=null}bindToMotionValue(t,e){let i;this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();let r=x.has(t);r&&this.onBindTransform&&this.onBindTransform();let n=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&p.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),s=e.on("renderRequest",this.scheduleRender);window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{n(),s(),i&&i(),e.owner&&e.stop()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in nL){let e=nL[t];if(!e)continue;let{isEnabled:i,Feature:r}=e;if(!this.features[t]&&r&&i(this.props)&&(this.features[t]=new r(this)),this.features[t]){let e=this.features[t];e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):i_()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=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 e=0;e<sS.length;e++){let i=sS[e];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let r=t["on"+i];r&&(this.propEventSubscriptions[i]=this.on(i,r))}
1this.prevMotionValues=function(t,e,i){for(let r in e){let n=e[r],s=i[r];if(O(n))t.addValue(r,n);else if(O(s))t.addValue(r,A(n,{owner:t}));else if(s!==n){if(t.hasValue(r)){let e=t.getValue(r);!0===e.liveStyle?e.jump(n):e.hasAnimated||e.set(n)}else{let e=t.getStaticValue(r);t.addValue(r,A(void 0!==e?e:n,{owner:t}))}}}for(let r in i)void 0===e[r]&&t.removeValue(r);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){let e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){let i=this.values.get(t);e!==i&&(i&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);let 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 i=this.values.get(t);return void 0===i&&void 0!==e&&(i=A(null===e?void 0:e,{owner:this}),this.addValue(t,i)),i}readValue(t,e){let i=void 0===this.latestValues[t]&&this.current?this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];return null!=i&&("string"==typeof i&&(ss(i)||sa(i))?i=parseFloat(i):!sv(i)&&tP.test(e)&&(i=sp(t,e)),this.setBaseTarget(t,O(i)?i.get():i)),O(i)?i.get():i}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){let e;let{initial:i}=this.props;if("string"==typeof i||"object"==typeof i){let r=o(this.props,i,this.presenceContext?.custom);r&&(e=r[t])}if(i&&void 0!==e)return e;let r=this.getBaseTargetFromProps(this.props,t);return void 0===r||O(r)?void 0!==this.initialValues[t]&&void 0===e?void 0:this.baseTarget[t]:r}on(t,e){return this.events[t]||(this.events[t]=new P),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}}class sj extends sP{constructor(){super(...arguments),this.KeyframeResolver=sy}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:i}){delete e[t],delete i[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;O(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}function sk(t,{style:e,vars:i},r,n){for(let s in Object.assign(t.style,e,n&&n.getProjectionStyles(r)),i)t.style.setProperty(s,i[s])}class sE extends sj{constructor(){super(...arguments),this.type="html",this.renderInstance=sk}readValueFromInstance(t,e){if(x.has(e))return this.projection?.isProjecting?ew(e):eP(t,e);{let i=window.getComputedStyle(t),r=(W(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof r?r.trim():r}}measureInstanceViewportBox(t,{transformPagePoint:e}){return iW(t,e)}build(t,e,i){nq(t,e,i.transformTemplate)}scrapeMotionValuesFromProps(t,e,i){return n7(t,e,i)}}let sT=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"]);class sM extends sj{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=i_}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(x.has(e)){let t=sf(e);return t&&t.default||0}return e=sT.has(e)?e:D(e),t.getAttribute(e)}
1scrapeMotionValuesFromProps(t,e,i){return st(t,e,i)}build(t,e,i){nJ(t,e,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(t,e,i,r){!function(t,e,i,r){for(let i in sk(t,e,void 0,r),e.attrs)t.setAttribute(sT.has(i)?i:D(i),e.attrs[i])}(t,e,0,r)}mount(t){this.isSVGTag=n0(t.tagName),super.mount(t)}}let sA=function(t){if("undefined"==typeof Proxy)return t;let e=new Map;return new Proxy((...e)=>t(...e),{get:(i,r)=>"create"===r?t:(e.has(r)||e.set(r,t(r)),e.get(r))})}((eX={animation:{Feature:id},exit:{Feature:im},inView:{Feature:nM},tap:{Feature:nS},focus:{Feature:nf},hover:{Feature:nd},pan:{Feature:i7},drag:{Feature:i6,ProjectionNode:nl,MeasureLayout:rh},layout:{ProjectionNode:nl,MeasureLayout:rh}},eG=(t,e)=>n3(t)?new sM(e):new sE(e,{allowProjection:t!==ri.Fragment}),function(t,{forwardMotionProps:e}={forwardMotionProps:!1}){return function({preloadedFeatures:t,createVisualElement:e,useRender:i,useVisualState:r,Component:n}){function s(t,s){var o;let a;let l={...(0,ri.useContext)(nC._),...t,layoutId:function({layoutId:t}){let e=(0,ri.useContext)(rn.p).id;return e&&void 0!==t?e+"-"+t:t}(t)},{isStatic:u}=l,c=function(t){let{initial:e,animate:i}=function(t,e){if(n_(t)){let{initial:e,animate:i}=t;return{initial:!1===e||ii(e)?e:void 0,animate:ii(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,ri.useContext)(nO));return(0,ri.useMemo)(()=>({initial:e,animate:i}),[nV(e),nV(i)])}(t),h=r(t,u);if(!u&&nR.j){(0,ri.useContext)(nA).strict;let t=function(t){let{drag:e,layout:i}=nL;if(!e&&!i)return{};let r={...e,...i};return{MeasureLayout:e?.isEnabled(t)||i?.isEnabled(t)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}(l);a=t.MeasureLayout,c.visualElement=function(t,e,i,r,n){let{visualElement:s}=(0,ri.useContext)(nO),o=(0,ri.useContext)(nA),a=(0,ri.useContext)(nF.O),l=(0,ri.useContext)(nC._).reducedMotion,u=(0,ri.useRef)(null);r=r||o.renderer,!u.current&&r&&(u.current=r(t,{visualState:e,parent:s,props:i,presenceContext:a,blockInitialAnimation:!!a&&!1===a.initial,reducedMotionConfig:l}));let c=u.current,h=(0,ri.useContext)(rs);c&&!c.projection&&n&&("html"===c.type||"svg"===c.type)&&function(t,e,i,r){let{layoutId:n,layout:s,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:u,layoutCrossfade:c}=e;t.projection=new i(t.latestValues,e["data-framer-portal-id"]?void 0:function t(e){if(e)return!1!==e.options.allowProjection?e.projection:t(e.parent)}(t.parent)),t.projection.setOptions({layoutId:n,layout:s,alwaysMeasureLayout:!!o||a&&iZ(a),visualElement:t,animationType:"string"==typeof s?s:"both",initialPromotionConfig:r,crossfade:c,layoutScroll:l,layoutRoot:u})}(u.current,i,n,h);let d=(0,ri.useRef)(!1);(0,ri.useInsertionEffect)(()=>{c&&d.current&&c.update(i,a)});let f=i[V],p=(0,ri.useRef)(!!f&&!window.MotionHandoffIsComplete?.(f)&&window.MotionHasOptimisedAnimation?.(f));return(0,nz.L)(()=>{c&&(d.current=!0,window.MotionIsMounted=!0,c.updateFeatures(),rt.render(c.render),p.current&&c.animationState&&c.animationState.animateChanges())}),(0,ri.useEffect)(()=>{c&&(!p.current&&c.animationState&&c.animationState.animateChanges(),p.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(f)}),p.current=!1))}),c}(n,h,l,e,t.ProjectionNode)}return(0,i9.jsxs)(nO.Provider,{value:c,children:[a&&c.visualElement?(0,i9.jsx)(a,{visualElement:c.visualElement,...l}):null,i(n,t,(o=c.visualElement,(0,ri.useCallback)(t=>{t&&h.onMount&&h.onMount(t),o&&(t?o.mount(t):o.unmount()),s&&("function"==typeof s?s(t):iZ(s)&&(s.current=t))},[o])),h,u,c.visualElement)]})}t&&function(t){for(let e in t)nL[e]={...nL[e],...t[e]}}(t),s.displayName=`motion.${"string"==typeof n?n:`create(${n.displayName??n.name??""})`}`;let o=(0,ri.forwardRef)(s);return o[nI]=n,o}({...n3(t)?se:n9,preloadedFeatures:eX,useRender:function(t=!1){return(e,i,r,{latestValues:n},s)=>{let o=(n3(e)?function(t,e,i,r){let n=(0,ri.useMemo)(()=>{let i=nQ();return nJ(i,e,n0(r),t.transformTemplate,t.style),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};nX(e,t.style,t),n.style={...e,...n.style}}return n}:function(t,e){let i={},r=function(t,e){let i=t.style||{},r={};return nX(r,i,t),Object.assign(r,function({transformTemplate:t},e){return(0,ri.useMemo)(()=>{let i=nK();return nq(i,e,t),Object.assign({},i.vars,i.style)},[e])}(t,e)),r}(t,e);return t.drag&&!1!==t.dragListener&&(i.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(i.tabIndex=0),i.style=r,i}
1)(i,n,s,e),a=function(t,e,i){let r={};for(let n in t)("values"!==n||"object"!=typeof t.values)&&(n4(n)||!0===i&&n2(n)||!e&&!n2(n)||t.draggable&&n.startsWith("onDrag"))&&(r[n]=t[n]);return r}(i,"string"==typeof e,t),l=e!==ri.Fragment?{...a,...o,ref:r}:{},{children:u}=i,c=(0,ri.useMemo)(()=>O(u)?u.get():u,[u]);return(0,ri.createElement)(e,{...l,children:c})}}(e),createVisualElement:eG,Component:t})}))},1741:function(t,e,i){"use strict";i.d(e,{j:function(){return r}});let r="undefined"!=typeof window},6681:function(t,e,i){"use strict";i.d(e,{h:function(){return n}});var r=i(7294);function n(t){let e=(0,r.useRef)(null);return null===e.current&&(e.current=t()),e.current}},8868:function(t,e,i){"use strict";i.d(e,{L:function(){return n}});var r=i(7294);let n=i(1741).j?r.useLayoutEffect:r.useEffect},3243:function(t,e,i){"use strict";i.d(e,{R:function(){return n}});var r=i(6464);function n(t){return(0,r.K)(t)&&"offsetHeight"in t}},6464:function(t,e,i){"use strict";function r(t){return"object"==typeof t&&null!==t}i.d(e,{K:function(){return r}})},1692:function(t,e,i){"use strict";i.d(e,{Z:function(){return l}});var r=i(7294);let n=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),s=function(){for(var t=arguments.length,e=Array(t),i=0;i<t;i++)e[i]=arguments[i];return e.filter((t,e,i)=>!!t&&""!==t.trim()&&i.indexOf(t)===e).join(" ").trim()};var o={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let a=(0,r.forwardRef)((t,e)=>{let{color:i="currentColor",size:n=24,strokeWidth:a=2,absoluteStrokeWidth:l,className:u="",children:c,iconNode:h,...d}=t;return(0,r.createElement)("svg",{ref:e,...o,width:n,height:n,stroke:i,strokeWidth:l?24*Number(a)/Number(n):a,className:s("lucide",u),...d},[...h.map(t=>{let[e,i]=t;return(0,r.createElement)(e,i)}),...Array.isArray(c)?c:[c]])}),l=(t,e)=>{let i=(0,r.forwardRef)((i,o)=>{let{className:l,...u}=i;return(0,r.createElement)(a,{ref:o,iconNode:e,className:s("lucide-".concat(n(t)),l),...u})});return i.displayName="".concat(t),i}},3354:function(t,e,i){"use strict";i.d(e,{Z:function(){return r}});let r=(0,i(1692).Z)("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]])},2405:function(t,e,i){"use strict";i.d(e,{Z:function(){return r}});let r=(0,i(1692).Z)("CreditCard",[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]])},5649:function(t,e,i){"use strict";i.d(e,{Z:function(){return r}});let r=(0,i(1692).Z)("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]])},3734:function(t,e,i){"use strict";i.d(e,{Z:function(){return r}});let r=(0,i(1692).Z)("MapPin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]])},6932:function(t,e,i){"use strict";i.d(e,{Z:function(){return r}});let r=(0,i(1692).Z)("Package",[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]])},7637:function(t,e,i){"use strict";i.d(e,{Z:function(){return r}});let r=(0,i(1692).Z)("Phone",[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]])},754:function(t,e,i){"use strict";i.d(e,{Z:function(){return r}});let r=(0,i(1692).Z)("Shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",ke
1y:"oel41y"}]])},3571:function(t,e,i){"use strict";i.d(e,{Z:function(){return r}});let r=(0,i(1692).Z)("ShoppingCart",[["circle",{cx:"8",cy:"21",r:"1",key:"jimo8o"}],["circle",{cx:"19",cy:"21",r:"1",key:"13723u"}],["path",{d:"M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12",key:"9zh506"}]])},27:function(t,e,i){"use strict";i.d(e,{Z:function(){return r}});let r=(0,i(1692).Z)("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]])},5346:function(t,e,i){"use strict";i.d(e,{FeP:function(){return h},MJA:function(){return d},XEH:function(){return c},bHw:function(){return u},iVx:function(){return a},k4b:function(){return s},lMi:function(){return o},ssk:function(){return l},xpo:function(){return n}});var r=i(7796);function n(t){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M380.9 97.1C339 55.1 283.2 32 223.9 32c-122.4 0-222 99.6-222 222 0 39.1 10.2 77.3 29.6 111L0 480l117.7-30.9c32.4 17.7 68.9 27 106.1 27h.1c122.3 0 224.1-99.6 224.1-222 0-59.3-25.2-115-67.1-157zm-157 341.6c-33.2 0-65.7-8.9-94-25.7l-6.7-4-69.8 18.3L72 359.2l-4.4-7c-18.5-29.4-28.2-63.3-28.2-98.2 0-101.7 82.8-184.5 184.6-184.5 49.3 0 95.6 19.2 130.4 54.1 34.8 34.9 56.2 81.2 56.1 130.5 0 101.8-84.9 184.6-186.6 184.6zm101.2-138.2c-5.5-2.8-32.8-16.2-37.9-18-5.1-1.9-8.8-2.8-12.5 2.8-3.7 5.6-14.3 18-17.6 21.8-3.2 3.7-6.5 4.2-12 1.4-32.6-16.3-54-29.1-75.5-66-5.7-9.8 5.7-9.1 16.3-30.3 1.8-3.7.9-6.9-.5-9.7-1.4-2.8-12.5-30.1-17.1-41.2-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2-3.7 0-9.7 1.4-14.8 6.9-5.1 5.6-19.4 19-19.4 46.3 0 27.3 19.9 53.7 22.6 57.4 2.8 3.7 39.1 59.7 94.8 83.8 35.2 15.2 49 16.5 66.6 13.9 10.7-1.6 32.8-13.4 37.4-26.4 4.6-13 4.6-24.1 3.2-26.4-1.3-2.5-5-3.9-10.5-6.6z"},child:[]}]})(t)}function s(t){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M576 240c0-23.63-12.95-44.04-32-55.12V32.01C544 23.26 537.02 0 512 0c-7.12 0-14.19 2.38-19.98 7.02l-85.03 68.03C364.28 109.19 310.66 128 256 128H64c-35.35 0-64 28.65-64 64v96c0 35.35 28.65 64 64 64h33.7c-1.39 10.48-2.18 21.14-2.18 32 0 39.77 9.26 77.35 25.56 110.94 5.19 10.69 16.52 17.06 28.4 17.06h74.28c26.05 0 41.69-29.84 25.9-50.56-16.4-21.52-26.15-48.36-26.15-77.44 0-11.11 1.62-21.79 4.41-32H256c54.66 0 108.28 18.81 150.98 52.95l85.03 68.03a32.023 32.023 0 0 0 19.98 7.02c24.92 0 32-22.78 32-32V295.13C563.05 284.04 576 263.63 576 240zm-96 141.42l-33.05-26.44C392.95 311.78 325.12 288 256 288v-96c69.12 0 136.95-23.78 190.95-66.98L480 98.58v282.84z"},child:[]}]})(t)}function o(t){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M528 0H48C21.5 0 0 21.5 0 48v320c0 26.5 21.5 48 48 48h192l-16 48h-72c-13.3 0-24 10.7-24 24s10.7 24 24 24h272c13.3 0 24-10.7 24-24s-10.7-24-24-24h-72l-16-48h192c26.5 0 48-21.5 48-48V48c0-26.5-21.5-48-48-48zm-16 352H64V64h448v288z"},child:[]}]})(t)}function a(t){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M480.07 96H160a160 160 0 1 0 114.24 272h91.52A160 160 0 1 0 480.07 96zM248 268a12 12 0 0 1-12 12h-52v52a12 12 0 0 1-12 12h-24a12 12 0 0 1-12-12v-52H84a12 12 0 0 1-12-12v-24a12 12 0 0 1 12-12h52v-52a12 12 0 0 1 12-12h24a12 12 0 0 1 12 12v52h52a12 12 0 0 1 12 12zm216 76a40 40 0 1 1 40-40 40 40 0 0 1-40 40zm64-96a40 40 0 1 1 40-40 40 40 0 0 1-40 40z"},child:[]}]})(t)}function l(t){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 496 512"},child:[{tag:"path",attr:{d:"M336.5 160C322 70.7 287.8 8 248 8s-74 62.7-88.5 152h177zM152 256c0 22.2 1.2 43.5 3.3 64h185.3c2.1-20.5 3.3-41.8 3.3-64s-1.2-43.5-3.3-64H155.3c-2.1 20.5-3.3 41.8-3.3 64zm324.7-96c-28.6-67.9-86.5-120.4-158-141.6 24.4 33.8 41.2 84.7 50 141.6h108zM177.2 18.4C105.8 39.6 47.8 92.1 19.3 160h108c8.7-56.9 25.5-107.8 49.9-141.6zM487.4 192H372.7c2.1 21 3.3 42.5 3.3 64s-1.2 43-3.3 64h114.6c5.5-20.5 8.6-41.8 8.6-64s-3.1-43.5-8.5-64zM120 256c0-21.5 1.2-43 3.3-64H8.6C3.2 212.5 0 233.8 0 256s3.2 43.5 8.6 64h114.6c-2-21-3.2-42.5-3.2-64zm39.5 96c14.5 89.3 48.7 152 88.5 152s74-62.7 88.5-152h-177zm159.3 141.6c71.4-21.2 129.4-73.7 158-141.6h-108c-8.8 56.9-25.6 107.8-50 141.6zM19.3 352c28.6 67.9 86.5 120.4 158 141.6-24.4-33.8-41.2-84.7-50-141.6h-108z"},child:[]}]})(t)}function u(t){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M255.03 261.65c6.25 6.25 16.38 6.25 22.63 0l11.31-11.31c6.25-6.25 6.25-16.38 0-22.63L253.25 192l35.71-35.72c6.25-6.25 6.25-16.38 0-22.63l-11.31-11.31c-6.25-6.25-16.38-6.25-22.63 0l-58.34 58.34c-6.25 6.25-6.25 16.38 0 22.63l58.35 58.34zm96.01-11.3l11.31 11.31c6.25 6.25 16.38 6.25 22.63 0l58.34-58.34c6.25-6.25 6.25-16.38 0-22.63l-58.34-58.34c-6.25-6.25-16.38-6.25-22.63 0l-11.31 11.31c-6.25 6.25-6.25 16.38 0 22.63L386.75 192l-35.71 35.72c-6.25 6.25-6.25 16.38 0 22.63zM624 416H381.54c-.74 19.81-14.71 32-32.74 32H288c-18.69 0-33.02-17.47-32.77-32H16c-8.8 0-16 7.2-16 16v16c0 35.2 28.8 64 64 64h512c35.2 0 64-28.8 64-64v-16c0-8.8-7.2-16-16-16zM576 48c0-26.4-21.6-48-48-48H112C85.6 0 64 21.6 64 48v336h512V48zm-64 272H128V64h384v256z"},child:[]}]})(t)}function c(t){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 320 512"},child:[{tag:"path",attr:{d:"M272 0H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h224c26.5 0 48-21.5 48-48V48c0-26.5-21.5-48-48-48zM160 480c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm112-108c0 6.6-5.4 12-12 12H60c-6.6 0-12-5.4-12-12V60c0-6.6 5.4-12 12-12h200c6.6 0 12 5.4 12 12v312z"},child:[]}]})(t)}function h(t){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M528.12 301.319l47.273-208C578.806 78.301 567.391 64 551.99 64H159.208l-9.166-44.81C147.758 8.021 137.93 0 126.529 0H24C10.745 0 0 10.745 0 24v16c0 13.255 10.745 24 24 24h69.883l70.248 343.435C147.325 417.1 136 435.222 136 456c0 30.928 25.072 56 56 56s56-25.072 56-56c0-15.674-6.447-29.835-16.824-40h209.647C430.447 426.165 424 440.326 424 456c0 30.928 25.072 56 56 56s56-25.072 56-56c0-22.172-12.888-41.332-31.579-50.405l5.517-24.276c3.413-15.018-8.002-29.319-23.403-29.319H218.117l-6.545-32h293.145c11.206 0 20.92-7.754 23.403-18.681z"},child:[]}]})(t)}function d(t){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M149.333 216v80c0 13.255-10.745 24-24 24H24c-13.255 0-24-10.745-24-24v-80c0-13.255 10.745-24 24-24h101.333c13.255 0 24 10.745 24 24zM0 376v80c0 13.255 10.745 24 24 24h101.333c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24H24c-13.255 0-24 10.745-24 24zM125.333 32H24C10.745 32 0 42.745 0 56v80c0 13.255 10.745 24 24 24h101.333c13.255 0 24-10.745 24-24V56c0-13.255-10.745-24-24-24zm80 448H488c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24H205.333c-13.255 0-24 10.745-24 24v80c0 13.255 10.745 24 24 24zm-24-424v80c0 13.255 10.745 24 24 24H488c13.255 0 24-10.745 24-24V56c0-13.255-10.745-24-24-24H205.333c-13.255 0-24 10.745-24 24zm24 264H488c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24H205.333c-13.255 0-24 10.745-24 24v80c0 13.255 10.745 24 24 24z"},child:[]}]})(t)}}
1,7796:function(t,e,i){"use strict";i.d(e,{w_:function(){return c}});var r=i(7294),n={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},s=r.createContext&&r.createContext(n),o=["attr","size","title"];function a(){return(a=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t}).apply(this,arguments)}function l(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,r)}return i}function u(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?l(Object(i),!0).forEach(function(e){var r,n;r=e,n=i[e],(r=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var r=i.call(t,e||"default");if("object"!=typeof r)return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(r))in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):l(Object(i)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))})}return t}function c(t){return e=>r.createElement(h,a({attr:u({},t.attr)},e),function t(e){return e&&e.map((e,i)=>r.createElement(e.tag,u({key:i},e.attr),t(e.child)))}(t.child))}function h(t){var e=e=>{var i,{attr:n,size:s,title:l}=t,c=function(t,e){if(null==t)return{};var i,r,n=function(t,e){if(null==t)return{};var i={};for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){if(e.indexOf(r)>=0)continue;i[r]=t[r]}return i}(t,e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);for(r=0;r<s.length;r++)i=s[r],!(e.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(t,i)&&(n[i]=t[i])}return n}(t,o),h=s||e.size||"1em";return e.className&&(i=e.className),t.className&&(i=(i?i+" ":"")+t.className),r.createElement("svg",a({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},e.attr,n,c,{className:i,style:u(u({color:t.color||e.color},e.style),t.style),height:h,width:h,xmlns:"http://www.w3.org/2000/svg"}),l&&r.createElement("title",null,l),t.children)};return void 0!==s?r.createElement(s.Consumer,null,t=>e(t)):e(n)}},5007:function(t,e,i){"use strict";i.d(e,{I0:function(){return g},v9:function(){return x},zt:function(){return d}});var r=i(7294),n=i(1103),s={notify(){},get:()=>[]},o=!!("undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement),a="undefined"!=typeof navigator&&"ReactNative"===navigator.product,l=o||a?r.useLayoutEffect:r.useEffect,u=Symbol.for("react-redux-context"),c="undefined"!=typeof globalThis?globalThis:{},h=function(){if(!r.createContext)return{};let t=c[u]??=new Map,e=t.get(r.createContext);return e||(e=r.createContext(null),t.set(r.createContext,e)),e}(),d=function(t){let{children:e,context:i,serverState:n,store:o}=t,a=r.useMemo(()=>{let t=function(t,e){let i;let r=s,n=0,o=!1;function a(){c.onStateChange&&c.onStateChange()}function l(){if(n++,!i){let e,n;i=t.subscribe(a),e=null,n=null,r={clear(){e=null,n=null},notify(){(()=>{let t=e;for(;t;)t.callback(),t=t.next})()},get(){let t=[],i=e;for(;i;)t.push(i),i=i.next;return t},subscribe(t){let i=!0,r=n={callback:t,next:null,prev:n};return r.prev?r.prev.next=r:e=r,function(){i&&null!==e&&(i=!1,r.next?r.next.prev=r.prev:n=r.prev,r.prev?r.prev.next=r.next:e=r.next)}}}}}function u(){n--,i&&0===n&&(i(),i=void 0,r.clear(),r=s)}let c={addNestedSub:function(t){l();let e=r.subscribe(t),i=!1;return()=>{i||(i=!0,e(),u())}},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:a,isSubscribed:function(){return o},trySubscribe:function(){o||(o=!0,l())},tryUnsubscribe:function(){o&&(o=!1,u())},getListeners:()=>r};return c}(o);return{store:o,subscription:t,getServerState:n?()=>n:void 0}},[o,n]),u=r.useMemo(()=>o.getState(),[o]);return l(()=>{let{subscription:t}=a;return t.onStateChange=t.notifyNestedSubs,t.trySubscribe(),u!==o.getState()&&t.notifyNestedSubs(),()=>{t.tryUnsubscribe(),t.onStateChange=void 0}},[a,u]),r.createElement((i||h).Provider,{value:a},e)};function f(t=h){return function(){return r.useContext(t)}
1}var p=f();function m(t=h){let e=t===h?p:f(t),i=()=>{let{store:t}=e();return t};return Object.assign(i,{withTypes:()=>i}),i}var y=m(),g=function(t=h){let e=t===h?y:m(t),i=()=>e().dispatch;return Object.assign(i,{withTypes:()=>i}),i}(),v=(t,e)=>t===e,x=function(t=h){let e=t===h?p:f(t),i=(t,i={})=>{let{equalityFn:s=v}="function"==typeof i?{equalityFn:i}:i,{store:o,subscription:a,getServerState:l}=e();r.useRef(!0);let u=r.useCallback({[t.name]:e=>t(e)}[t.name],[t]),c=(0,n.useSyncExternalStoreWithSelector)(a.addNestedSub,o.getState,l||o.getState,u,s);return r.useDebugValue(c),c};return Object.assign(i,{withTypes:()=>i}),i}()},5849:function(t,e,i){"use strict";function r(t){return`Minified Redux error #${t}; visit https://redux.js.org/Errors?code=${t} for the full message or use the non-minified dev environment for full errors. `}i.d(e,{LG:function(){return d},MT:function(){return l},PO:function(){return a},UY:function(){return u},md:function(){return h},qC:function(){return c}});var n="function"==typeof Symbol&&Symbol.observable||"@@observable",s=()=>Math.random().toString(36).substring(7).split("").join("."),o={INIT:`@@redux/INIT${s()}`,REPLACE:`@@redux/REPLACE${s()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${s()}`};function a(t){if("object"!=typeof t||null===t)return!1;let e=t;for(;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e||null===Object.getPrototypeOf(t)}function l(t,e,i){if("function"!=typeof t)throw Error(r(2));if("function"==typeof e&&"function"==typeof i||"function"==typeof i&&"function"==typeof arguments[3])throw Error(r(0));if("function"==typeof e&&void 0===i&&(i=e,e=void 0),void 0!==i){if("function"!=typeof i)throw Error(r(1));return i(l)(t,e)}let s=t,u=e,c=new Map,h=c,d=0,f=!1;function p(){h===c&&(h=new Map,c.forEach((t,e)=>{h.set(e,t)}))}function m(){if(f)throw Error(r(3));return u}function y(t){if("function"!=typeof t)throw Error(r(4));if(f)throw Error(r(5));let e=!0;p();let i=d++;return h.set(i,t),function(){if(e){if(f)throw Error(r(6));e=!1,p(),h.delete(i),c=null}}}function g(t){if(!a(t))throw Error(r(7));if(void 0===t.type)throw Error(r(8));if("string"!=typeof t.type)throw Error(r(17));if(f)throw Error(r(9));try{f=!0,u=s(u,t)}finally{f=!1}return(c=h).forEach(t=>{t()}),t}return g({type:o.INIT}),{dispatch:g,subscribe:y,getState:m,replaceReducer:function(t){if("function"!=typeof t)throw Error(r(10));s=t,g({type:o.REPLACE})},[n]:function(){return{subscribe(t){if("object"!=typeof t||null===t)throw Error(r(11));function e(){t.next&&t.next(m())}return e(),{unsubscribe:y(e)}},[n](){return this}}}}}function u(t){let e;let i=Object.keys(t),n={};for(let e=0;e<i.length;e++){let r=i[e];"function"==typeof t[r]&&(n[r]=t[r])}let s=Object.keys(n);try{!function(t){Object.keys(t).forEach(e=>{let i=t[e];if(void 0===i(void 0,{type:o.INIT}))throw Error(r(12));if(void 0===i(void 0,{type:o.PROBE_UNKNOWN_ACTION()}))throw Error(r(13))})}(n)}catch(t){e=t}return function(t={},i){if(e)throw e;let o=!1,a={};for(let e=0;e<s.length;e++){let l=s[e],u=n[l],c=t[l],h=u(c,i);if(void 0===h)throw i&&i.type,Error(r(14));a[l]=h,o=o||h!==c}return(o=o||s.length!==Object.keys(t).length)?a:t}}function c(...t){return 0===t.length?t=>t:1===t.length?t[0]:t.reduce((t,e)=>(...i)=>t(e(...i)))}function h(...t){return e=>(i,n)=>{let s=e(i,n),o=()=>{throw Error(r(15))},a={getState:s.getState,dispatch:(t,...e)=>o(t,...e)};return o=c(...t.map(t=>t(a)))(s.dispatch),{...s,dispatch:o}}}function d(t){return a(t)&&"type"in t&&"string"==typeof t.type}}},function(t){var e=function(e){return t(t.s=e)};t.O(0,[9774,179],function(){return e(1118),e(3079)}),_N_E=t.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.