1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[656],{4741:(t,e,i)=>{"use strict";function n(t,e){var i;return"string"==typeof t?e?(null!==(i=e[t])&&void 0!==i||(e[t]=document.querySelectorAll(t)),t=e[t]):t=document.querySelectorAll(t):t instanceof Element&&(t=[t]),Array.from(t||[])}i.d(e,{K:()=>n})},4687:(t,e,i)=>{"use strict";i.d(e,{T:()=>n});let n=t=>"function"==typeof t},7198:(t,e,i)=>{"use strict";i.d(e,{$:()=>n,V:()=>r});var n=function(){},r=function(){}},5565:(t,e,i)=>{"use strict";i.d(e,{default:()=>r.a});var n=i(4146),r=i.n(n)},7970:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Image",{enumerable:!0,get:function(){return b}});let n=i(306),r=i(9955),s=i(5155),o=r._(i(2115)),a=n._(i(7650)),l=n._(i(6107)),u=i(666),c=i(1159),h=i(3621);i(2363);let d=i(3576),p=n._(i(5514)),f=i(5353),m={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 v(t,e,i,n,r,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&&r(!0),null==i?void 0:i.current){let e=new Event("load");Object.defineProperty(e,"target",{writable:!1,value:t});let n=!1,r=!1;i.current({...e,nativeEvent:e,currentTarget:t,target:t,isDefaultPrevented:()=>n,isPropagationStopped:()=>r,persist:()=>{},preventDefault:()=>{n=!0,e.preventDefault()},stopPropagation:()=>{r=!0,e.stopPropagation()}})}(null==n?void 0:n.current)&&n.current(t)}}))}function g(t){return o.use?{fetchPriority:t}:{fetchpriority:t}}"undefined"==typeof window&&(globalThis.__NEXT_IMAGE_IMPORTED=!0);let y=(0,o.forwardRef)((t,e)=>{let{src:i,srcSet:n,sizes:r,height:a,width:l,decoding:u,className:c,style:h,fetchPriority:d,placeholder:p,loading:m,unoptimized:y,fill:x,onLoadRef:b,onLoadingCompleteRef:w,setBlurComplete:S,setShowAltText:A,sizesInput:E,onLoad:P,onError:C,...V}=t,j=(0,o.useCallback)(t=>{t&&(C&&(t.src=t.src),t.complete&&v(t,p,b,w,S,y,E))},[i,p,b,w,S,C,y,E]),k=(0,f.useMergedRef)(e,j);return(0,s.jsx)("img",{...V,...g(d),loading:m,width:l,height:a,decoding:u,"data-nimg":x?"fill":"1",className:c,style:h,sizes:r,srcSet:n,src:i,ref:k,onLoad:t=>{v(t.currentTarget,p,b,w,S,y,E)},onError:t=>{A(!0),"empty"!==p&&S(!0),C&&C(t)}})});function x(t){let{isAppRouter:e,imgAttributes:i}=t,n={as:"image",imageSrcSet:i.srcSet,imageSizes:i.sizes,crossOrigin:i.crossOrigin,referrerPolicy:i.referrerPolicy,...g(i.fetchPriority)};return e&&a.default.preload?(a.default.preload(i.src,n),null):(0,s.jsx)(l.default,{children:(0,s.jsx)("link",{rel:"preload",href:i.srcSet?void 0:i.src,...n},"__nimg-"+i.src+i.srcSet+i.sizes)})}let b=(0,o.forwardRef)((t,e)=>{let i=(0,o.useContext)(d.RouterContext),n=(0,o.useContext)(h.ImageConfigContext),r=(0,o.useMemo)(()=>{var t;let e=m||n||c.imageConfigDefault,i=[...e.deviceSizes,...e.imageSizes].sort((t,e)=>t-e),r=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:r,qualities:s}},[n]),{onLoad:a,onLoadingComplete:l}=t,f=(0,o.useRef)(a);(0,o.useEffect)(()=>{f.current=a},[a]);let v=(0,o.useRef)(l);(0,o.useEffect)(()=>{v.current=l},[l]);let[g,b]=(0,o.useState)(!1),[w,S]=(0,o.useState)(!1),{props:A,meta:E}=(0,u.getImgProps)(t,{defaultLoader:p.default,imgConf:r,blurComplete:g,showAltText:w});return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(y,{...A,unoptimized:E.unoptimized,placeholder:E.placeholder,fill:E.fill,onLoadRef:f,onLoadingCompleteRef:v,setBlurComplete:b,setShowAltText:S,sizesInput:t.sizes,ref:e}),E.priority?(0,s.jsx)(x,{isAppRouter:!i,imgAttributes:A}):null]})});("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)},5353:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"useMergedRef",{enumerable:!0,get:function(){return r}});let n=i(2115);function r(t,e){let i=(0,n.useRef)(()=>{}),r=(0,n.useRef)(()=>{});return(0,n.useMemo)(()=>t&&e?n=>{null===n?(i.current(),r.current()):(i.current=s(t,n),r.current=s(e,n))}:t||e,[t,e])}function s(t,e){if("function"!=typeof t)return t.current=e,()=>{t.current=null};{let i=t(e);return"function"==typeof i?i:()=>t(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)},6562:()=>{},3003:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"AmpStateContext",{enumerable:!0,get:function(){return n}});let n=i(306)._(i(2115)).default.createContext({})},675:(t,e)=>{"use strict";function i(t){let{ampFirst:e=!1,hybrid:i=!1,hasQuery:n=!1}=void 0===t?{}:t;return e||i&&n}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"isInAmpMode",{enumerable:!0,get:function(){return i}})},666:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getImgProps",{enumerable:!0,get:function(){return a}}),i(2363);let n=i(5859),r=i(1159);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:p=!1,priority:f=!1,loading:m,className:v,quality:g,width:y,height:x,fill:b=!1,style:w,overrideSrc:S,onLoad:A,onLoadingComplete:E,placeholder:P="empty",blurDataURL:C,fetchPriority:V,decoding:j="async",layout:k,objectFit:M,objectPosition:T,lazyBoundary:O,lazyRoot:_,...R}=t,{imgConf:L,showAltText:F,blurComplete:D,defaultLoader:B}=e,I=L||r.imageConfigDefault;if("allSizes"in I)l=I;else{let t=[...I.deviceSizes,...I.imageSizes].sort((t,e)=>t-e),e=I.deviceSizes.sort((t,e)=>t-e),n=null==(i=I.qualities)?void 0:i.sort((t,e)=>t-e);l={...I,allSizes:t,deviceSizes:e,qualities:n}}if(void 0===B)throw Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config");let z=R.loader||B;delete R.loader,delete R.srcSet;let N="__next_img_default"in z;if(N){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,...n}=e;return t(n)}}if(k){"fill"===k&&(b=!0);let t={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[k];t&&(w={...w,...t});let e={responsive:"100vw",fill:"100vw"}[k];e&&!d&&(d=e)}let U="",$=o(y),H=o(x);if((a=h)&&"object"==typeof a&&(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,C=C||t.blurDataURL,U=t.src,!b){if($||H){if($&&!H){let e=$/t.width;H=Math.round(t.height*e)}else if(!$&&H){let e=H/t.height;$=Math.round(t.width*e)}}else $=t.width,H=t.height}}let q=!f&&("lazy"===m||void 0===m);(!(h="string"==typeof h?h:U)||h.startsWith("data:")||h.startsWith("blob:"))&&(p=!0,q=!1),l.unoptimized&&(p=!0),N&&!l.dangerouslyAllowSVG&&h.split("?",1)[0].endsWith(".svg")&&(p=!0);let W=o(g),X=Object.assign(b?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:M,objectPosition:T}:{},F?{}:{color:"transparent"},w),Y=D||"empty"===P?null:"blur"===P?'url("data:image/svg+xml;charset=utf-8,'+(0,n.getImageBlurSvg)({widthInt:$,heightInt:H,blurWidth:u,blurHeight:c,blurDataURL:C||"",objectFit:X.objectFit})+'")':'url("'+P+'")',G=Y?{backgroundSize:X.objectFit||"cover",backgroundPosition:X.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:Y}:{},K=function(t){let{config:e,src:i,unoptimized:n,width:r,quality:s,sizes:o,loader:a}=t;if(n)return{src:i,srcSet:void 0,sizes:void 0};let{widths:l,kind:u}=function(t,e,i){let{deviceSizes:n,allSizes:r}=t;if(i){let t=/(^|\s)(1?\d?\d)vw/g,e=[];for(let n;n=t.exec(i);n)e.push(parseInt(n[2]));if(e.length){let t=.01*Math.min(...e);return{widths:r.filter(e=>e>=n[0]*t),kind:"w"}}return{widths:r,kind:"w"}}return"number"!=typeof e?{widths:n,kind:"w"}:{widths:[...new Set([e,2*e].map(t=>r.find(e=>e>=t)||r[r.length-1]))],kind:"x"}}(e,r,o),c=l.length-1;return{sizes:o||"w"!==u?o:"100vw",srcSet:l.map((t,n)=>a({config:e,src:i,quality:s,width:t})+" "+("w"===u?t:n+1)+u).join(", "),src:a({config:e,src:i,quality:s,width:l[c]})}}({config:l,src:h,unoptimized:p,width:$,quality:W,sizes:d,loader:z});return{props:{...R,loading:q?"lazy":m,fetchPriority:V,width:$,height:H,decoding:j,className:v,style:{...X,...G},sizes:K.sizes,srcSet:K.srcSet,src:S||K.src},meta:{unoptimized:p,priority:f,placeholder:P,fill:b}}}}
1,6107:(t,e,i)=>{"use strict";var n=i(2818);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 v},defaultHead:function(){return d}});let r=i(306),s=i(9955),o=i(5155),a=s._(i(2115)),l=r._(i(1172)),u=i(3003),c=i(1147),h=i(675);function d(t){void 0===t&&(t=!1);let e=[(0,o.jsx)("meta",{charSet:"utf-8"},"charset")];return t||e.push((0,o.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")),e}function p(t,e){return"string"==typeof e||"number"==typeof e?t:e.type===a.default.Fragment?t.concat(a.default.Children.toArray(e.props.children).reduce((t,e)=>"string"==typeof e||"number"==typeof e?t:t.concat(e),[])):t.concat(e)}i(2363);let f=["name","httpEquiv","charSet","itemProp"];function m(t,e){let{inAmpMode:i}=e;return t.reduce(p,[]).reverse().concat(d(i).reverse()).filter(function(){let t=new Set,e=new Set,i=new Set,n={};return r=>{let s=!0,o=!1;if(r.key&&"number"!=typeof r.key&&r.key.indexOf("$")>0){o=!0;let e=r.key.slice(r.key.indexOf("$")+1);t.has(e)?s=!1:t.add(e)}switch(r.type){case"title":case"base":e.has(r.type)?s=!1:e.add(r.type);break;case"meta":for(let t=0,e=f.length;t<e;t++){let e=f[t];if(r.props.hasOwnProperty(e)){if("charSet"===e)i.has(e)?s=!1:i.add(e);else{let t=r.props[e],i=n[e]||new Set;("name"!==e||!o)&&i.has(t)?s=!1:(i.add(t),n[e]=i)}}}}return s}}()).reverse().map((t,e)=>{let r=t.key||e;if(n.env.__NEXT_OPTIMIZE_FONTS&&!i&&"link"===t.type&&t.props.href&&["https://fonts.googleapis.com/css","https://use.typekit.net/"].some(e=>t.props.href.startsWith(e))){let e={...t.props||{}};return e["data-href"]=e.href,e.href=void 0,e["data-optimized-fonts"]=!0,a.default.cloneElement(t,e)}return a.default.cloneElement(t,{key:r})})}let v=function(t){let{children:e}=t,i=(0,a.useContext)(u.AmpStateContext),n=(0,a.useContext)(c.HeadManagerContext);return(0,o.jsx)(l.default,{reduceComponentsToState:m,headManager:n,inAmpMode:(0,h.isInAmpMode)(i),children:e})};("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)},5859:(t,e)=>{"use strict";function i(t){let{widthInt:e,heightInt:i,blurWidth:n,blurHeight:r,blurDataURL:s,objectFit:o}=t,a=n?40*n:e,l=r?40*r: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%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='"+(u?"none":"contain"===o?"xMidYMid":"cover"===o?"xMidYMid slice":"none")+"' style='filter: url(%23b);' href='"+s+"'/%3E%3C/svg%3E"}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getImageBlurSvg",{enumerable:!0,get:function(){return i}})},3621:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ImageConfigContext",{enumerable:!0,get:function(){return s}});let n=i(306)._(i(2115)),r=i(1159),s=n.default.createContext(r.imageConfigDefault)},1159:(t,e)=>{"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,{VALID_LOADERS:function(){return i},imageConfigDefault:function(){return n}});let i=["default","imgix","cloudinary","akamai","custom"],n={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:60,formats:["image/webp"],dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:void 0,unoptimized:!1}}
1,4146:(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 n=i(306),r=i(666),s=i(7970),o=n._(i(5514));function a(t){let{props:e}=(0,r.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},5514:(t,e)=>{"use strict";function i(t){var e;let{config:i,src:n,width:r,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(n)+"&w="+r+"&q="+o+(n.startsWith("/_next/static/media/"),"")}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return n}}),i.__next_img_default=!0;let n=i},3576:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"RouterContext",{enumerable:!0,get:function(){return n}});let n=i(306)._(i(2115)).default.createContext(null)},1172:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return a}});let n=i(2115),r="undefined"==typeof window,s=r?()=>{}:n.useLayoutEffect,o=r?()=>{}:n.useEffect;function a(t){let{headManager:e,reduceComponentsToState:i}=t;function a(){if(e&&e.mountedInstances){let r=n.Children.toArray(Array.from(e.mountedInstances).filter(Boolean));e.updateHead(i(r,t))}}if(r){var l;null==e||null==(l=e.mountedInstances)||l.add(t.children),a()}return s(()=>{var i;return null==e||null==(i=e.mountedInstances)||i.add(t.children),()=>{var i;null==e||null==(i=e.mountedInstances)||i.delete(t.children)}}),s(()=>(e&&(e._pendingUpdate=a),()=>{e&&(e._pendingUpdate=a)})),o(()=>(e&&e._pendingUpdate&&(e._pendingUpdate(),e._pendingUpdate=null),()=>{e&&e._pendingUpdate&&(e._pendingUpdate(),e._pendingUpdate=null)})),null}},5434:(t,e,i)=>{"use strict";var n=i(2818);i(6562);var r=i(2115),s=function(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}(r),o=void 0!==n&&n.env&&!0,a=function(t){return"[object String]"===Object.prototype.toString.call(t)},l=function(){function t(t){var e=void 0===t?{}:t,i=e.name,n=void 0===i?"stylesheet":i,r=e.optimizeForSpeed,s=void 0===r?o:r;u(a(n),"`name` must be a string"),this._name=n,this._deletedRulePlaceholder="#"+n+"-deleted-rule____{}",u("boolean"==typeof s,"`optimizeForSpeed` must be a boolean"),this._optimizeForSpeed=s,this._serverSheet=void 0,this._tags=[],this._injected=!1,this._rulesCount=0;var l="undefined"!=typeof window&&document.querySelector('meta[property="csp-nonce"]');this._nonce=l?l.getAttribute("content"):null}var e=t.prototype;return e.setOptimizeForSpeed=function(t){u("boolean"==typeof t,"`setOptimizeForSpeed` accepts a boolean"),u(0===this._rulesCount,"optimizeForSpeed cannot be when rules have already been inserted"),this.flush(),this._optimizeForSpeed=t,this.inject()},e.isOptimizeForSpeed=function(){return this._optimizeForSpeed},e.inject=function(){var t=this;if(u(!this._injected,"sheet already injected"),this._injected=!0,"undefined"!=typeof window&&this._optimizeForSpeed){this._tags[0]=this.makeStyleTag(this._name),this._optimizeForSpeed="insertRule"in this.getSheet(),this._optimizeForSpeed||(o||console.warn("StyleSheet: optimizeForSpeed mode not supported falling back to standard mode."),this.flush(),this._injected=!0);return}this._serverSheet={cssRules:[],insertRule:function(e,i){return"number"==typeof i?t._serverSheet.cssRules[i]={cssText:e}:t._serverSheet.cssRules.push({cssText:e}),i},deleteRule:function(e){t._serverSheet.cssRules[e]=null}}},e.getSheetForTag=function(t){if(t.sheet)return t.sheet;for(var e=0;e<document.styleSheets.length;e++)if(document.styleSheets[e].ownerNode===t)return document.styleSheets[e]},e.getSheet=function(){return this.getSheetForTag(this._tags[this._tags.length-1])},e.insertRule=function(t,e){if(u(a(t),"`insertRule` accepts only strings"),"undefined"==typeof window)return"number"!=typeof e&&(e=this._serverSheet.cssRules.length),this._serverSheet.insertRule(t,e),this._rulesCount++;
1if(this._optimizeForSpeed){var i=this.getSheet();"number"!=typeof e&&(e=i.cssRules.length);try{i.insertRule(t,e)}catch(e){return o||console.warn("StyleSheet: illegal rule: \n\n"+t+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),-1}}else{var n=this._tags[e];this._tags.push(this.makeStyleTag(this._name,t,n))}return this._rulesCount++},e.replaceRule=function(t,e){if(this._optimizeForSpeed||"undefined"==typeof window){var i="undefined"!=typeof window?this.getSheet():this._serverSheet;if(e.trim()||(e=this._deletedRulePlaceholder),!i.cssRules[t])return t;i.deleteRule(t);try{i.insertRule(e,t)}catch(n){o||console.warn("StyleSheet: illegal rule: \n\n"+e+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),i.insertRule(this._deletedRulePlaceholder,t)}}else{var n=this._tags[t];u(n,"old rule at index `"+t+"` not found"),n.textContent=e}return t},e.deleteRule=function(t){if("undefined"==typeof window){this._serverSheet.deleteRule(t);return}if(this._optimizeForSpeed)this.replaceRule(t,"");else{var e=this._tags[t];u(e,"rule at index `"+t+"` not found"),e.parentNode.removeChild(e),this._tags[t]=null}},e.flush=function(){this._injected=!1,this._rulesCount=0,"undefined"!=typeof window?(this._tags.forEac
1h(function(t){return t&&t.parentNode.removeChild(t)}),this._tags=[]):this._serverSheet.cssRules=[]},e.cssRules=function(){var t=this;return"undefined"==typeof window?this._serverSheet.cssRules:this._tags.reduce(function(e,i){return i?e=e.concat(Array.prototype.map.call(t.getSheetForTag(i).cssRules,function(e){return e.cssText===t._deletedRulePlaceholder?null:e})):e.push(null),e},[])},e.makeStyleTag=function(t,e,i){e&&u(a(e),"makeStyleTag accepts only strings as second parameter");var n=document.createElement("style");this._nonce&&n.setAttribute("nonce",this._nonce),n.type="text/css",n.setAttribute("data-"+t,""),e&&n.appendChild(document.createTextNode(e));var r=document.head||document.getElementsByTagName("head")[0];return i?r.insertBefore(n,i):r.appendChild(n),n},function(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}(t.prototype,[{key:"length",get:function(){return this._rulesCount}}]),t}();function u(t,e){if(!t)throw Error("StyleSheet: "+e+".")}var c=function(t){for(var e=5381,i=t.length;i;)e=33*e^t.charCodeAt(--i);return e>>>0},h={};function d(t,e){if(!e)return"jsx-"+t;var i=String(e),n=t+i;return h[n]||(h[n]="jsx-"+c(t+"-"+i)),h[n]}function p(t,e){"undefined"==typeof window&&(e=e.replace(/\/style/gi,"\\/style"));var i=t+e;return h[i]||(h[i]=e.replace(/__jsx-style-dynamic-selector/g,t)),h[i]}var f=function(){function t(t){var e=void 0===t?{}:t,i=e.styleSheet,n=void 0===i?null:i,r=e.optimizeForSpeed,s=void 0!==r&&r;this._sheet=n||new l({name:"styled-jsx",optimizeForSpeed:s}),this._sheet.inject(),n&&"boolean"==typeof s&&(this._sheet.setOptimizeForSpeed(s),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer=void 0,this._indices={},this._instancesCounts={}}var e=t.prototype;return e.add=function(t){var e=this;void 0===this._optimizeForSpeed&&(this._optimizeForSpeed=Array.isArray(t.children),this._sheet.setOptimizeForSpeed(this._optimizeForSpeed),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),"undefined"==typeof window||this._fromServer||(this._fromServer=this.selectFromServer(),this._instancesCounts=Object.keys(this._fromServer).reduce(function(t,e){return t[e]=0,t},{}));var i=this.getIdAndRules(t),n=i.styleId,r=i.rules;if(n in this._instancesCounts){this._instancesCounts[n]+=1;return}var s=r.map(function(t){return e._sheet.insertRule(t)}).filter(function(t){return -1!==t});this._indices[n]=s,this._instancesCounts[n]=1},e.remove=function(t){var e=this,i=this.getIdAndRules(t).styleId;if(function(t,e){if(!t)throw Error("StyleSheetRegistry: "+e+".")}(i in this._instancesCounts,"styleId: `"+i+"` not found"),this._instancesCounts[i]-=1,this._instancesCounts[i]<1){var n=this._fromServer&&this._fromServer[i];n?(n.parentNode.removeChild(n),delete this._fromServer[i]):(this._indices[i].forEac
1h(function(t){return e._sheet.deleteRule(t)}),delete this._indices[i]),delete this._instancesCounts[i]}},e.update=function(t,e){this.add(e),this.remove(t)},e.flush=function(){this._sheet.flush(),this._sheet.inject(),this._fromServer=void 0,this._indices={},this._instancesCounts={}},e.cssRules=function(){var t=this,e=this._fromServer?Object.keys(this._fromServer).map(function(e){return[e,t._fromServer[e]]}):[],i=this._sheet.cssRules();return e.concat(Object.keys(this._indices).map(function(e){return[e,t._indices[e].map(function(t){return i[t].cssText}).join(t._optimizeForSpeed?"":"\n")]}).filter(function(t){return!!t[1]}))},e.styles=function(t){var e,i;return e=this.cssRules(),void 0===(i=t)&&(i={}),e.map(function(t){var e=t[0],n=t[1];return s.default.createElement("style",{id:"__"+e,key:"__"+e,nonce:i.nonce?i.nonce:void 0,dangerouslySetInnerHTML:{__html:n}})})},e.getIdAndRules=function(t){var e=t.children,i=t.dynamic,n=t.id;if(i){var r=d(n,i);return{styleId:r,rules:Array.isArray(e)?e.map(function(t){return p(r,t)}):[p(r,e)]}}return{styleId:d(n),rules:Array.isArray(e)?e:[e]}},e.selectFromServer=function(){return Array.prototype.slice.call(document.querySelectorAll('[id^="__jsx-"]')).reduce(function(t,e){return t[e.id.slice(2)]=e,t},{})},t}(),m=r.createContext(null);m.displayName="StyleSheetContext";var v=s.default.useInsertionEffect||s.default.useLayoutEffect,g="undefined"!=typeof window?new f:void 0;function y(t){var e=g||r.useContext(m);return e&&("undefined"==typeof window?e.add(t):v(function(){return e.add(t),function(){e.remove(t)}},[t.id,String(t.dynamic)])),null}y.dynamic=function(t){return t.map(function(t){return d(t[0],t[1])}).join(" ")},e.style=y},8803:(t,e,i)=>{"use strict";t.exports=i(5434).style},1807:(t,e,i)=>{"use strict";i.d(e,{N:()=>y});var n=i(2115),r=i(8361),s=i(378),o=i(5403);function a(){let t=(0,n.useRef)(!1);return(0,o.E)(()=>(t.current=!0,()=>{t.current=!1}),[]),t}var l=i(9656),u=i(9234);class c extends n.Component{getSnapshotBeforeUpdate(t){let e=this.props.childRef.current;if(e&&t.isPresent&&!this.props.isPresent){let t=this.props.sizeRef.current;t.height=e.offsetHeight||0,t.width=e.offsetWidth||0,t.top=e.offsetTop,t.left=e.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function h({children:t,isPresent:e}){let i=(0,n.useId)(),r=(0,n.useRef)(null),s=(0,n.useRef)({width:0,height:0,top:0,left:0});return(0,n.useInsertionEffect)(()=>{let{width:t,height:n,top:o,left:a}=s.current;if(e||!r.current||!t||!n)return;r.current.dataset.motionPopId=i;let l=document.createElement("style");return document.head.appendChild(l),l.sheet&&l.sheet.insertRule(` 2 [data-motion-pop-id="${i}"] { 3 position: absolute !important; 4 width: ${t}px !important; 5 height: ${n}px !important; 6 top: ${o}px !important; 7 left: ${a}px !important; 8 } 9 `),()=>{document.head.removeChild(l)}},[e]),n.createElement(c,{isPresent:e,childRef:r,sizeRef:s},n.cloneElement(t,{ref:r}))}let d=({children:t,initial:e,isPresent:i,onExitComplete:r,custom:s,presenceAffectsLayout:o,mode:a})=>{let c=(0,u.M)(p),d=(0,n.useId)(),f=(0,n.useMemo)(()=>({id:d,initial:e,isPresent:i,custom:s,onExitComplete:t=>{for(let e of(c.set(t,!0),c.values()))if(!e)return;r&&r()},register:t=>(c.set(t,!1),()=>c.delete(t))}),o?void 0:[i]);return(0,n.useMemo)(()=>{c.forEach((t,e)=>c.set(e,!1))},[i]),n.useEffect(()=>{i||c.size||!r||r()},[i]),"popLayout"===a&&(t=n.createElement(h,{isPresent:i},t)),n.createElement(l.t.Provider,{value:f},t)};function p(){return new Map}var f=i(4710),m=i(6024),v=i(2184);let g=t=>t.key||"",y=({children:t,custom:e,initial:i=!0,onExitComplete:l,exitBeforeEnter:u,presenceAffectsLayout:c=!0,mode:h="sync"})=>{u&&(h="wait",(0,v.m)(!1,"Replace exitBeforeEnter with mode='wait'"));let[p]=function(){let t=a(),[e,i]=(0,n.useState)(0),r=(0,n.useCallback)(()=>{t.current&&i(e+1)},[e]);return[(0,n.useCallback)(()=>s.OH.postRender(r),[r]),e]}(),y=(0,n.useContext)(f.L).forceRender;y&&(p=y);let x=a(),b=function(t){let e=[];return n.Children.forEach(t,t=>{(0,n.isValidElement)(t)&&e.push(t)}),e}(t),w=b,S=new Set,A=(0,n.useRef)(w),E=(0,n.useRef)(new Map).current,P=(0,n.useRef)(!0);if((0,o.E)(()=>{P.current=!1,function(t,e){t.forEach(t=>{let i=g(t);e.set(i,t)})}(b,E),A.current=w}),(0,m.l)(()=>{P.current=!0,E.clear(),S.clear()}),P.current)return n.createElement(n.Fragment,null,w.map(t=>n.createElement(d,{key:g(t),isPresent:!0,initial:!!i&&void 0,presenceAffectsLayout:c,mode:h},t)));w=[...w];let C=A.current.map(g),V=b.map(g),j=C.length;for(let t=0;t<j;t++){let e=C[t];-1===V.indexOf(e)&&S.add(e)}
9return"wait"===h&&S.size&&(w=[]),S.forEach(t=>{if(-1!==V.indexOf(t))return;let i=E.get(t);if(!i)return;let r=C.indexOf(t);w.splice(r,0,n.createElement(d,{key:g(i),isPresent:!1,onExitComplete:()=>{E.delete(t),S.delete(t);let e=A.current.findIndex(e=>e.key===t);if(A.current.splice(e,1),!S.size){if(A.current=b,!1===x.current)return;p(),l&&l()}},custom:e,presenceAffectsLayout:c,mode:h},i))}),w=w.map(t=>{let e=t.key;return S.has(e)?t:n.createElement(d,{key:g(t),isPresent:!0,presenceAffectsLayout:c,mode:h},t)}),"production"!==r._&&"wait"===h&&w.length>1&&console.warn('You\'re attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.'),n.createElement(n.Fragment,null,S.size?w:w.map(t=>(0,n.cloneElement)(t)))}},4710:(t,e,i)=>{"use strict";i.d(e,{L:()=>n});let n=(0,i(2115).createContext)({})},7249:(t,e,i)=>{"use strict";i.d(e,{Q:()=>n});let n=(0,i(2115).createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"})},9656:(t,e,i)=>{"use strict";i.d(e,{t:()=>n});let n=(0,i(2115).createContext)(null)},5730:(t,e,i)=>{"use strict";i.d(e,{u:()=>n});let n={delta:0,timestamp:0}},378:(t,e,i)=>{"use strict";i.d(e,{eO:()=>p,qX:()=>f,OH:()=>d});let n=1/60*1e3,r="undefined"!=typeof performance?()=>performance.now():()=>Date.now(),s="undefined"!=typeof window?t=>window.requestAnimationFrame(t):t=>setTimeout(()=>t(r()),n);var o=i(5730);let a=!0,l=!1,u=!1,c=["read","update","preRender","render","postRender"],h=c.reduce((t,e)=>(t[e]=function(t){let e=[],i=[],n=0,r=!1,s=!1,o=new WeakSet,a={schedule:(t,s=!1,a=!1)=>{let l=a&&r,u=l?e:i;return s&&o.add(t),-1===u.indexOf(t)&&(u.push(t),l&&r&&(n=e.length)),t},cancel:t=>{let e=i.indexOf(t);-1!==e&&i.splice(e,1),o.delete(t)},process:l=>{if(r){s=!0;return}if(r=!0,[e,i]=[i,e],i.length=0,n=e.length)for(let i=0;i<n;i++){let n=e[i];n(l),o.has(n)&&(a.schedule(n),t())}r=!1,s&&(s=!1,a.process(l))}};return a}(()=>l=!0),t),{}),d=c.reduce((t,e)=>{let i=h[e];return t[e]=(t,e=!1,n=!1)=>(l||g(),i.schedule(t,e,n)),t},{}),p=c.reduce((t,e)=>(t[e]=h[e].cancel,t),{}),f=c.reduce((t,e)=>(t[e]=()=>h[e].process(o.u),t),{}),m=t=>h[t].process(o.u),v=t=>{l=!1,o.u.delta=a?n:Math.max(Math.min(t-o.u.timestamp,40),1),o.u.timestamp=t,u=!0,c.forEach(m),u=!1,l&&(a=!1,s(v))},g=()=>{l=!0,a=!0,u||s(v)}},5260:(t,e,i)=>{"use strict";i.d(e,{P:()=>ro});var n,r,s=i(2115),o=i(7249);let a=(0,s.createContext)({});var l=i(9656),u=i(5403);let c=(0,s.createContext)({strict:!1});function h(t){return"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}function d(t){return"string"==typeof t||Array.isArray(t)}function p(t){return"object"==typeof t&&"function"==typeof t.start}let f=["initial","animate","exit","whileHover","whileDrag","whileTap","whileFocus","whileInView"];function m(t){return p(t.animate)||f.some(e=>d(t[e]))}function v(t){return!!(m(t)||t.variants)}function g(t){return Array.isArray(t)?t.join(" "):t}let y=t=>({isEnabled:e=>t.some(t=>!!e[t])}),x={measureLayout:y(["layout","layoutId","drag"]),animation:y(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:y(["exit"]),drag:y(["drag","dragControls"]),focus:y(["whileFocus"]),hover:y(["whileHover","onHoverStart","onHoverEnd"]),tap:y(["whileTap","onTap","onTapStart","onTapCancel"]),pan:y(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:y(["whileInView","onViewportEnter","onViewportLeave"])};var b=i(5687),w=i(9234);let S={hasAnimatedSinceResize:!0,hasEverUpdated:!1},A=1;var E=i(4710);class P extends s.Component{getSnapshotBeforeUpdate(){let{visualElement:t,props:e}=this.props;return t&&t.setProps(e),null}componentDidUpdate(){}render(){return this.props.children}}let C=(0,s.createContext)({}),V=Symbol.for("motionComponentSymbol"),j=["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 k(t){if("string"!=typeof t||t.includes("-"));else if(j.indexOf(t)>-1||/[A-Z]/.test(t))return!0;return!1}let M={},T=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],O=new Set(T);function _(t,{layout:e,layoutId:i}){return O.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!M[t]||"opacity"===t)}let R=t=>!!(null==t?void 0:t.getVelocity),L={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},F=(t,e)=>T.indexOf(t)-T.indexOf(e);function D(t){return t.startsWith("--")}let B=(t,e)=>e&&"number"==typeof t?e.transform(t):t;var I=i(1535),z=i(3406);let N={...I.ai,transform:Math.round},U={borderWidth:z.px,borderTopWidth:z.px,borderRightWidth:z.px,borderBottomWidth:z.px,borderLeftWidth:z.px,borderRadius:z.px,radius:z.px,borderTopLeftRadius:z.px,borderTopRightRadius:z.px,borderBottomRightRadius:z.px,borderBottomLeftRadius:z.px,width:z.px,maxWidth:z.px,height:z.px,maxHeight:z.px,size:z.px,top:z.px,right:z.px,bottom:z.px,left:z.px,padding:z.px,paddingTop:z.px,paddingRight:z.px,paddingBottom:z.px,paddingLeft:z.px,margin:z.px,marginTop:z.px,marginRight:z.px,marginBottom:z.px,marginLeft:z.px,rotate:z.uj,rotateX:z.uj,rotateY:z.uj,rotateZ:z.uj,scale:I.hs,scaleX:I.hs,scaleY:I.hs,scaleZ:I.hs,skew:z.uj,skewX:z.uj,skewY:z.uj,distance:z.px,translateX:z.px,translateY:z.px,translateZ:z.px,x:z.px,y:z.px,z:z.px,perspective:z.px,transformPerspective:z.px,opacity:I.X4,originX:z.gQ,originY:z.gQ,originZ:z.px,zIndex:N,fillOpacity:I.X4,strokeOpacity:I.X4,numOctaves:N};function $(t,e,i,n){let{style:r,vars:s,transform:o,transformKeys:a,transformOrigin:l}=t;a.length=0;
9let u=!1,c=!1,h=!0;for(let t in e){let i=e[t];if(D(t)){s[t]=i;continue}let n=U[t],d=B(i,n);if(O.has(t)){if(u=!0,o[t]=d,a.push(t),!h)continue;i!==(n.default||0)&&(h=!1)}else t.startsWith("origin")?(c=!0,l[t]=d):r[t]=d}if(!e.transform&&(u||n?r.transform=function({transform:t,transformKeys:e},{enableHardwareAcceleration:i=!0,allowTransformNone:n=!0},r,s){let o="";for(let i of(e.sort(F),e))o+=`${L[i]||i}(${t[i]}) `;return i&&!t.z&&(o+="translateZ(0)"),o=o.trim(),s?o=s(t,r?"":o):n&&r&&(o="none"),o}(t,i,h,n):r.transform&&(r.transform="none")),c){let{originX:t="50%",originY:e="50%",originZ:i=0}=l;r.transformOrigin=`${t} ${e} ${i}`}}let H=()=>({style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}});function q(t,e,i){for(let n in e)R(e[n])||_(n,i)||(t[n]=e[n])}let W=new Set(["initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","layout","layoutId","layoutDependency","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","drag","dragControls","dragListener","dragConstraints","dragDirectionLock","dragSnapToOrigin","_dragX","_dragY","dragElastic","dragMomentum","dragPropagation","dragTransition","onHoverStart","onHoverEnd","layoutScroll","whileInView","onViewportEnter","onViewportLeave","viewport","whileTap","onTap","onTapStart","onTapCancel","animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView","onPan","onPanStart","onPanSessionStart","onPanEnd"]);function X(t){return W.has(t)}let Y=t=>!X(t);try{!function(t){t&&(Y=e=>e.startsWith("on")?!X(e):t(e))}(require("@emotion/is-prop-valid").default)}catch(t){}function G(t,e,i){return"string"==typeof t?t:z.px.transform(e+i*t)}let K={offset:"stroke-dashoffset",array:"stroke-dasharray"},Z={offset:"strokeDashoffset",array:"strokeDasharray"};function Q(t,{attrX:e,attrY:i,originX:n,originY:r,pathLength:s,pathSpacing:o=1,pathOffset:a=0,...l},u,c,h){if($(t,l,u,h),c){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:d,style:p,dimensions:f}=t;d.transform&&(f&&(p.transform=d.transform),delete d.transform),f&&(void 0!==n||void 0!==r||p.transform)&&(p.transformOrigin=function(t,e,i){let n=G(e,t.x,t.width),r=G(i,t.y,t.height);return`${n} ${r}`}(f,void 0!==n?n:.5,void 0!==r?r:.5)),void 0!==e&&(d.x=e),void 0!==i&&(d.y=i),void 0!==s&&function(t,e,i=1,n=0,r=!0){t.pathLength=1;let s=r?K:Z;t[s.offset]=z.px.transform(-n);let o=z.px.transform(e),a=z.px.transform(i);t[s.array]=`${o} ${a}`}(d,s,o,a,!1)}let J=()=>({...H(),attrs:{}}),tt=t=>"string"==typeof t&&"svg"===t.toLowerCase(),te=t=>t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function ti(t,{style:e,vars:i},n,r){for(let s in Object.assign(t.style,e,r&&r.getProjectionStyles(n)),i)t.style.setProperty(s,i[s])}let tn=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function tr(t,e,i,n){for(let i in ti(t,e,void 0,n),e.attrs)t.setAttribute(tn.has(i)?i:te(i),e.attrs[i])}function ts(t){let{style:e}=t,i={};for(let n in e)(R(e[n])||_(n,t))&&(i[n]=e[n]);return i}function to(t){let e=ts(t);for(let i in t)R(t[i])&&(e["x"===i||"y"===i?"attr"+i.toUpperCase():i]=t[i]);return e}function ta(t,e,i,n={},r={}){return"function"==typeof e&&(e=e(void 0!==i?i:t.custom,n,r)),"string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e&&(e=e(void 0!==i?i:t.custom,n,r)),e}let tl=t=>Array.isArray(t),tu=t=>!!(t&&"object"==typeof t&&t.mix&&t.toValue),tc=t=>tl(t)?t[t.length-1]||0:t;function th(t){let e=R(t)?t.get():t;return tu(e)?e.toValue():e}let td=t=>(e,i)=>{let n=(0,s.useContext)(a),r=(0,s.useContext)(l.t),o=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e,onMount:i}
9,n,r,s){let o={latestValues:function(t,e,i,n){let r={},s=n(t);for(let t in s)r[t]=th(s[t]);let{initial:o,animate:a}=t,l=m(t),u=v(t);e&&u&&!l&&!1!==t.inherit&&(void 0===o&&(o=e.initial),void 0===a&&(a=e.animate));let c=!!i&&!1===i.initial,h=(c=c||!1===o)?a:o;return h&&"boolean"!=typeof h&&!p(h)&&(Array.isArray(h)?h:[h]).forEach(e=>{let i=ta(t,e);if(!i)return;let{transitionEnd:n,transition:s,...o}=i;for(let t in o){let e=o[t];if(Array.isArray(e)){let t=c?e.length-1:0;e=e[t]}null!==e&&(r[t]=e)}for(let t in n)r[t]=n[t]}),r}(n,r,s,t),renderState:e()};return i&&(o.mount=t=>i(n,t,o)),o})(t,e,n,r);return i?o():(0,w.M)(o)},tp={useVisualState:td({scrapeMotionValuesFromProps:to,createRenderState:J,onMount:(t,e,{renderState:i,latestValues:n})=>{try{i.dimensions="function"==typeof e.getBBox?e.getBBox():e.getBoundingClientRect()}catch(t){i.dimensions={x:0,y:0,width:0,height:0}}Q(i,n,{enableHardwareAcceleration:!1},tt(e.tagName),t.transformTemplate),tr(e,i)}})},tf={useVisualState:td({scrapeMotionValuesFromProps:ts,createRenderState:H})};function tm(t,e,i,n={passive:!0}){return t.addEventListener(e,i,n),()=>t.removeEventListener(e,i)}function tv(t,e,i,n){(0,s.useEffect)(()=>{let r=t.current;if(i&&r)return tm(r,e,i,n)},[t,e,i,n])}function tg(t){return"undefined"!=typeof PointerEvent&&t instanceof PointerEvent?!("mouse"!==t.pointerType):t instanceof MouseEvent}!function(t){t.Animate="animate",t.Hover="whileHover",t.Tap="whileTap",t.Drag="whileDrag",t.Focus="whileFocus",t.InView="whileInView",t.Exit="exit"}(n||(n={}));let ty={pageX:0,pageY:0};function tx(t,e="page"){return{point:t.touches?function(t,e="page"){let i=t.touches[0]||t.changedTouches[0]||ty;return{x:i[e+"X"],y:i[e+"Y"]}}(t,e):function(t,e="page"){return{x:t[e+"X"],y:t[e+"Y"]}}(t,e)}}let tb=(t,e=!1)=>{let i=e=>t(e,tx(e));return e?t=>{let e=t instanceof MouseEvent;(!e||e&&0===t.button)&&i(t)}:i},tw=()=>b.B&&null===window.onpointerdown,tS=()=>b.B&&null===window.ontouchstart,tA=()=>b.B&&null===window.onmousedown,tE={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},tP={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function tC(t){if(tw());else if(tS())return tP[t];else if(tA())return tE[t];return t}function tV(t,e,i,n){return tm(t,tC(e),tb(i,"pointerdown"===e),n)}function tj(t,e,i,n){return tv(t,tC(e),i&&tb(i,"pointerdown"===e),n)}function tk(t){let e=null;return()=>null===e&&(e=t,()=>{e=null})}let tM=tk("dragHorizontal"),tT=tk("dragVertical");function tO(t){let e=!1;if("y"===t)e=tT();else if("x"===t)e=tM();else{let t=tM(),i=tT();t&&i?e=()=>{t(),i()}:(t&&t(),i&&i())}return e}function t_(){let t=tO(!0);return!t||(t(),!1)}function tR(t,e,i){return(r,s)=>{!(!tg(r)||t_())&&(t.animationState&&t.animationState.setActive(n.Hover,e),i&&i(r,s))}}let tL=(t,e)=>!!e&&(t===e||tL(t,e.parentElement));var tF=i(6024),tD=i(5068),tB=i(8361),tI=i(2184);let tz=new WeakMap,tN=new WeakMap,tU=t=>{let e=tz.get(t.target);e&&e(t)},t$=t=>{t.forEach(tU)},tH={some:0,all:1},tq=t=>e=>(t(e),null),tW={inView:tq(function({visualElement:t,whileInView:e,onViewportEnter:i,onViewportLeave:r,viewport:o={}}){let a=(0,s.useRef)({hasEnteredView:!1,isInView:!1}),l=!!(e||i||r);o.once&&a.current.hasEnteredView&&(l=!1),("undefined"==typeof IntersectionObserver?function(t,e,i,{fallback:r=!0}){(0,s.useEffect)(()=>{t&&r&&("production"!==tB._&&(0,tI.m)(!1,"IntersectionObserver not available on this device. whileInView animations will trigger on mount."),requestAnimationFrame(()=>{e.hasEnteredView=!0;let{onViewportEnter:t}=i.getProps();t&&t(null),i.animationState&&i.animationState.setActive(n.InView,!0)}))},[t])}:function(t,e,i,{root:r,margin:o,amount:a="some",once:l}){(0,s.useEffect)(()=>{if(!t||!i.current)return;let s={root:null==r?void 0:r.current,rootMargin:o,threshold:"number"==typeof a?a:tH[a]};return function(t,e,i){let n=function({root:t,...e}){let i=t||document;tN.has(i)||tN.set(i,{});let n=tN.get(i),r=JSON.stringify(e);return n[r]||(n[r]=new IntersectionObserver(t$,{root:t,...e})),n[r]}(e);return tz.set(t,i),n.observe(t),()=>{tz.delete(t),n.unobserve(t)}}(i.current,s,t=>{let{isIntersecting:r}=t;if(e.isInView===r||(e.isInView=r,l&&!r&&e.hasEnteredView))return;r&&(e.hasEnteredView=!0),i.animationState&&i.animationState.setActive(n.InView,r);let s=i.getProps(),o=r?s.onViewportEnter:s.onViewportLeave;o&&o(t)})},[t,r,o,a])})(l,a.current,t,o)}
9),tap:tq(function({onTap:t,onTapStart:e,onTapCancel:i,whileTap:r,visualElement:o}){let a=t||e||i||r,l=(0,s.useRef)(!1),u=(0,s.useRef)(null),c={passive:!(e||t||i||m)};function h(){u.current&&u.current(),u.current=null}function d(){return h(),l.current=!1,o.animationState&&o.animationState.setActive(n.Tap,!1),!t_()}function p(e,n){d()&&(tL(o.current,e.target)?t&&t(e,n):i&&i(e,n))}function f(t,e){d()&&i&&i(t,e)}function m(t,i){h(),!l.current&&(l.current=!0,u.current=(0,tD.F)(tV(window,"pointerup",p,c),tV(window,"pointercancel",f,c)),o.animationState&&o.animationState.setActive(n.Tap,!0),e&&e(t,i))}tj(o,"pointerdown",a?m:void 0,c),(0,tF.l)(h)}),focus:tq(function({whileFocus:t,visualElement:e}){let{animationState:i}=e;tv(e,"focus",t?()=>{i&&i.setActive(n.Focus,!0)}:void 0),tv(e,"blur",t?()=>{i&&i.setActive(n.Focus,!1)}:void 0)}),hover:tq(function({onHoverStart:t,onHoverEnd:e,whileHover:i,visualElement:n}){tj(n,"pointerenter",t||i?tR(n,!0,t):void 0,{passive:!t}),tj(n,"pointerleave",e||i?tR(n,!1,e):void 0,{passive:!e})})};function tX(){let t=(0,s.useContext)(l.t);if(null===t)return[!0,null];let{isPresent:e,onExitComplete:i,register:n}=t,r=(0,s.useId)();return(0,s.useEffect)(()=>n(r),[]),!e&&i?[!1,()=>i&&i(r)]:[!0]}function tY(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let n=0;n<i;n++)if(e[n]!==t[n])return!1;return!0}let tG=t=>/^\-?\d*\.?\d+$/.test(t),tK=t=>/^0[^.\s]+$/.test(t);var tZ=i(3250),tQ=i(9605),tJ=i(3163);let t0=new Set(["brightness","contrast","saturate","opacity"]);function t1(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[n]=i.match(tJ.SY)||[];if(!n)return t;let r=i.replace(n,""),s=t0.has(e)?1:0;return n!==i&&(s*=100),e+"("+s+r+")"}let t2=/([a-z-]*)\(.*?\)/g,t5={...tQ.f,getAnimatableNone:t=>{let e=t.match(t2);return e?e.map(t1).join(" "):t}};var t3=i(4064);let t6={...U,color:t3.y,backgroundColor:t3.y,outlineColor:t3.y,fill:t3.y,stroke:t3.y,borderColor:t3.y,borderTopColor:t3.y,borderRightColor:t3.y,borderBottomColor:t3.y,borderLeftColor:t3.y,filter:t5,WebkitFilter:t5},t4=t=>t6[t];function t9(t,e){var i;let n=t4(t);return n!==t5&&(n=tQ.f),null===(i=n.getAnimatableNone)||void 0===i?void 0:i.call(n,e)}let t7=t=>e=>e.test(t),t8=[I.ai,z.px,z.KN,z.uj,z.vw,z.vh,{test:t=>"auto"===t,parse:t=>t}],et=t=>t8.find(t7(t)),ee=[...t8,t3.y,tQ.f],ei=t=>ee.find(t7(t));function en(t,e,i){let n=t.getProps();return ta(n,e,void 0!==i?i:n.custom,function(t){let e={};return t.values.forEach((t,i)=>e[i]=t.get()),e}(t),function(t){let e={};return t.values.forEach((t,i)=>e[i]=t.getVelocity()),e}(t))}function er(t){return!!(R(t)&&t.add)}var es=i(378);let eo=(t,e)=>`${t}: ${e}`,ea="data-"+te("framerAppearId");var el=i(7198);let eu=t=>1e3*t,ec={current:!1},eh=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,ed=t=>e=>1-t(1-e),ep=t=>t*t,ef=ed(ep),em=eh(ep);var ev=i(9600);let eg=t=>t,ey=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function ex(t,e,i,n){if(t===e&&i===n)return eg;let r=e=>(function(t,e,i,n,r){let s,o;let a=0;do(s=ey(o=e+(i-e)/2,n,r)-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:ey(r(t),e,n)}let eb=t=>1-Math.sin(Math.acos(t)),ew=ed(eb),eS=eh(ew),eA=ex(.33,1.53,.69,.99),eE=ed(eA),eP=eh(eE),eC={linear:eg,easeIn:ep,easeInOut:em,easeOut:ef,circIn:eb,circInOut:eS,circOut:ew,backIn:eE,backInOut:eP,backOut:eA,anticipate:t=>(t*=2)<1?.5*eE(t):.5*(2-Math.pow(2,-10*(t-1)))},eV=t=>{if(Array.isArray(t)){(0,el.V)(4===t.length,"Cubic bezier arrays must contain four numerical values.");let[e,i,n,r]=t;return ex(e,i,n,r)}return"string"==typeof t?((0,el.V)(void 0!==eC[t],`Invalid easing type '${t}'`),eC[t]):t},ej=t=>Array.isArray(t)&&"number"!=typeof t[0];function ek({keyframes:t,ease:e=em,times:i,duration:n=300}){t=[...t];let r=ek[0],s=ej(e)?e.map(eV):eV(e),o={done:!1,value:r},a=(i&&i.length===ek.length?i:function(t){let e=t.length;return t.map((t,i)=>0!==i?i/(e-1):0)}(t)).map(t=>t*n);function l(){var e;return(0,ev.G)(a,t,{ease:Array.isArray(s)?s:(e=t).map(()=>s||em).splice(0,e.length-1)})}let u=l();return{next:t=>(o.value=u(t),o.done=t>=n,o),flipTarget:()=>{t.reverse(),u=l()}}}var eM=i(6611);function eT(t,e){return t*Math.sqrt(1-e*e)}var eO=i(2206);let e_=["duration","bounce"],eR=["stiffness","damping","mass"];function eL(t,e){return e.some(e=>void 0!==t[e])}function eF({keyframes:t,restSpeed:e=2,restDelta:i=.01,...n}){let r=t[0],s=t[t.length-1],o={done:!1,value:r},{stiffness:a,damping:l,mass:u,velocity:c,duration:h,isResolvedFromDuration:d}=function(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!eL(t,eR)&&eL(t,e_)){let i=function({duration:t=800,bounce:e=.25,velocity:i=0,mass:n=1}){let r,s;(0,el.$)(t<=1e4,"Spring duration must be 10 seconds or less");let o=1-e;o=(0,eM.q)(.05,1,o),t=(0,eM.q)(.01,10,t/1e3),o<1?(r=e=>{let n=e*o,r=n*t;return .001-(n-i)/eT(e,o)*Math.exp(-r)},s=e=>{let n=e*o*t,s=Math.pow(o,2)*Math.pow(e,2)*t,a=Math.exp(-n),l=eT(Math.pow(e,2),o);return(n*i+i-s)*a*(-r(e)+.001>0?-1:1)/l}):(r=e=>-.001+Math.exp(-e*t)*((e-i)*t+1),s=e=>t*t*(i-e)*Math.exp(-e*t));
9let a=function(t,e,i){let n=i;for(let i=1;i<12;i++)n-=t(n)/e(n);return n}(r,s,5/t);if(t*=1e3,isNaN(a))return{stiffness:100,damping:10,duration:t};{let e=Math.pow(a,2)*n;return{stiffness:e,damping:2*o*Math.sqrt(n*e),duration:t}}}(t);(e={...e,...i,velocity:0,mass:1}).isResolvedFromDuration=!0}return e}(n),p=eD,f=c?-(c/1e3):0,m=l/(2*Math.sqrt(a*u));function v(){let t=s-r,e=Math.sqrt(a/u)/1e3;if(void 0===i&&(i=Math.min(Math.abs(s-r)/100,.4)),m<1){let i=eT(e,m);p=n=>s-Math.exp(-m*e*n)*((f+m*e*t)/i*Math.sin(i*n)+t*Math.cos(i*n))}else if(1===m)p=i=>s-Math.exp(-e*i)*(t+(f+e*t)*i);else{let i=e*Math.sqrt(m*m-1);p=n=>{let r=Math.exp(-m*e*n),o=Math.min(i*n,300);return s-r*((f+m*e*t)*Math.sinh(o)+i*t*Math.cosh(o))/i}}}return v(),{next:t=>{let n=p(t);if(d)o.done=t>=h;else{let r=f;if(0!==t){if(m<1){let e=Math.max(0,t-5);r=(0,eO.f)(n-p(e),t-e)}else r=0}let a=Math.abs(r)<=e,l=Math.abs(s-n)<=i;o.done=a&&l}return o.value=o.done?s:n,o},flipTarget:()=>{f=-f,[r,s]=[s,r],v()}}}eF.needsInterpolation=(t,e)=>"string"==typeof t||"string"==typeof e;let eD=t=>0,eB={decay:function({keyframes:t=[0],velocity:e=0,power:i=.8,timeConstant:n=350,restDelta:r=.5,modifyTarget:s}){let o=t[0],a={done:!1,value:o},l=i*e,u=o+l,c=void 0===s?u:s(u);return c!==u&&(l=c-o),{next:t=>{let e=-l*Math.exp(-t/n);return a.done=!(e>r||e<-r),a.value=a.done?c:c+e,a},flipTarget:()=>{}}},keyframes:ek,tween:ek,spring:eF};function eI(t,e,i=0){return t-e-i}let ez=t=>{let e=({delta:e})=>t(e);return{start:()=>es.OH.update(e,!0),stop:()=>es.eO.update(e)}};function eN({duration:t,driver:e=ez,elapsed:i=0,repeat:n=0,repeatType:r="loop",repeatDelay:s=0,keyframes:o,autoplay:a=!0,onPlay:l,onStop:u,onComplete:c,onRepeat:h,onUpdate:d,type:p="keyframes",...f}){var m;let v,g,y;let x=0,b=t,w=!1,S=!0,A=eB[o.length>2?"keyframes":p],E=o[0],P=o[o.length-1];(null===(m=A.needsInterpolation)||void 0===m?void 0:m.call(A,E,P))&&(y=(0,ev.G)([0,100],[E,P],{clamp:!1}),o=[0,100]);let C=A({...f,duration:t,keyframes:o});return a&&(l&&l(),(v=e(function(t){if(S||(t=-t),i+=t,!w){let t=C.next(Math.max(0,i));g=t.value,y&&(g=y(g)),w=S?t.done:i<=0}if(d&&d(g),w){if(0===x&&(b=void 0!==b?b:i),x<n){var e,o;e=i,o=b,(S?e>=o+s:e<=-s)&&(x++,"reverse"===r?i=function(t,e=0,i=0,n=!0){return n?eI(e+-t,e,i):e-(t-e)+i}(i,b,s,S=x%2==0):(i=eI(i,b,s),"mirror"===r&&C.flipTarget()),w=!1,h&&h())}else v.stop(),c&&c()}})).start()),{stop:()=>{u&&u(),v.stop()},sample:t=>C.next(Math.max(0,t))}}let eU=([t,e,i,n])=>`cubic-bezier(${t}, ${e}, ${i}, ${n})`,e$={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:eU([0,.65,.55,1]),circOut:eU([.55,0,1,.45]),backIn:eU([.31,.01,.66,-.59]),backOut:eU([.33,1.53,.69,.99])};function eH(t,e){let i=performance.now(),n=({timestamp:r})=>{let s=r-i;s>=e&&(es.eO.read(n),t(s-e))};return es.OH.read(n,!0),()=>es.eO.read(n)}var eq=i(5730);let eW=()=>({type:"spring",stiffness:500,damping:25,restSpeed:10}),eX=t=>({type:"spring",stiffness:550,damping:0===t?2*Math.sqrt(550):30,restSpeed:10}),eY=()=>({type:"keyframes",ease:"linear",duration:.3}),eG={type:"keyframes",duration:.8},eK={x:eW,y:eW,z:eW,rotate:eW,rotateX:eW,rotateY:eW,rotateZ:eW,scaleX:eX,scaleY:eX,scale:eX,opacity:eY,backgroundColor:eY,color:eY,default:eX},eZ=(t,{keyframes:e})=>e.length>2?eG:(eK[t]||eK.default)(e[1]),eQ=(t,e)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&tQ.f.test(e)&&!e.startsWith("url("));function eJ(t){return 0===t||"string"==typeof t&&0===parseFloat(t)&&-1===t.indexOf(" ")}function e0(t){return"number"==typeof t?0:t9("",t)}function e1(t,e){return t[e]||t.default||t}let e2={waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate")},e5={},e3={};for(let t in e2)e3[t]=()=>(void 0===e5[t]&&(e5[t]=e2[t]()),e5[t]);let e6=new Set(["opacity"]),e4=(t,e,i,n={})=>r=>{let s=e1(n,t)||{},o=s.delay||n.delay||0,{elapsed:a=0}=n;a-=eu(o);let l=function(t,e,i,n){let r=eQ(e,i),s=void 0!==n.from?n.from:t.get();return("none"===s&&r&&"string"==typeof i?s=t9(e,i):eJ(s)&&"string"==typeof i?s=e0(i):!Array.isArray(i)&&eJ(i)&&"string"==typeof s&&(i=e0(s)),Array.isArray(i))?(null===i[0]&&(i[0]=s),i):[s,i]}(e,t,i,s),u=l[0],c=l[l.length-1],h=eQ(t,u),d=eQ(t,c);(0,el.$)(h===d,`You are trying to animate ${t} from "${u}" to "${c}". ${u} is not an animatable value - to enable this animation set ${u} to a value animatable to ${c} via the \`style\` property.`);let p={keyframes:l,velocity:e.getVelocity(),...s,elapsed:a,onUpdate:t=>
9{e.set(t),s.onUpdate&&s.onUpdate(t)},onComplete:()=>{r(),s.onComplete&&s.onComplete()}};if(!h||!d||ec.current||!1===s.type)return function({keyframes:t,elapsed:e,onUpdate:i,onComplete:n}){let r=()=>(i&&i(t[t.length-1]),n&&n(),()=>{});return e?eH(r,-e):r()}(p);if("inertia"===s.type){let t=function({keyframes:t,velocity:e=0,min:i,max:n,power:r=.8,timeConstant:s=750,bounceStiffness:o=500,bounceDamping:a=10,restDelta:l=1,modifyTarget:u,driver:c,onUpdate:h,onComplete:d,onStop:p}){let f;let m=t[0];function v(t){return void 0!==i&&t<i||void 0!==n&&t>n}function g(t){return void 0===i?n:void 0===n?i:Math.abs(i-t)<Math.abs(n-t)?i:n}function y(t){null==f||f.stop(),f=eN({keyframes:[0,1],velocity:0,...t,driver:c,onUpdate:e=>{var i;null==h||h(e),null===(i=t.onUpdate)||void 0===i||i.call(t,e)},onComplete:d,onStop:p})}function x(t){y({type:"spring",stiffness:o,damping:a,restDelta:l,...t})}if(v(m))x({velocity:e,keyframes:[m,g(m)]});else{let t,n,o=r*e+m;void 0!==u&&(o=u(o));let a=g(o),c=a===i?-1:1;y({type:"decay",keyframes:[m,0],velocity:e,timeConstant:s,power:r,restDelta:l,modifyTarget:u,onUpdate:v(o)?i=>{t=n,n=i,e=(0,eO.f)(i-t,eq.u.delta),(1===c&&i>a||-1===c&&i<a)&&x({keyframes:[i,a],velocity:e})}:void 0})}return{stop:()=>null==f?void 0:f.stop()}}(p);return()=>t.stop()}!function({when:t,delay:e,delayChildren:i,staggerChildren:n,staggerDirection:r,repeat:s,repeatType:o,repeatDelay:a,from:l,...u}){return!!Object.keys(u).length}(s)&&(p={...p,...eZ(t,p)}),p.duration&&(p.duration=eu(p.duration)),p.repeatDelay&&(p.repeatDelay=eu(p.repeatDelay));let f=e.owner,m=f&&f.current;if(e3.waapi()&&e6.has(t)&&!p.repeatDelay&&"mirror"!==p.repeatType&&0!==p.damping&&f&&m instanceof HTMLElement&&!f.getProps().onUpdate)return function(t,e,{onUpdate:i,onComplete:n,...r}){var s;let{keyframes:o,duration:a=.3,elapsed:l=0,ease:u}=r;if("spring"===r.type||!(!(s=r.ease)||Array.isArray(s)||"string"==typeof s&&e$[s])){let t=eN(r),e={done:!1,value:o[0]},i=[],n=0;for(;!e.done;)e=t.sample(n),i.push(e.value),n+=10;o=i,a=n-10,u="linear"}let c=function(t,e,i,{delay:n=0,duration:r,repeat:s=0,repeatType:o="loop",ease:a,times:l}={}){return t.animate({[e]:i,offset:l},{delay:n,duration:r,easing:function(t){if(t)return Array.isArray(t)?eU(t):e$[t]}(a),fill:"both",iterations:s+1,direction:"reverse"===o?"alternate":"normal"})}(t.owner.current,e,o,{...r,delay:-l,duration:a,ease:u});return c.onfinish=()=>{t.set(o[o.length-1]),n&&n()},()=>{let{currentTime:e}=c;if(e){let i=eN(r);t.setWithVelocity(i.sample(e-10).value,i.sample(e).value,10)}es.OH.update(()=>c.cancel())}}(e,t,p);{let t=eN(p);return()=>t.stop()}};function e9(t,e,i={}){var n;let r=en(t,e,i.custom),{transition:s=t.getDefaultTransition()||{}}=r||{};i.transitionOverride&&(s=i.transitionOverride);let o=r?()=>e7(t,r,i):()=>Promise.resolve(),a=(null===(n=t.variantChildren)||void 0===n?void 0:n.size)?(n=0)=>{let{delayChildren:r=0,staggerChildren:o,staggerDirection:a}=s;return function(t,e,i=0,n=0,r=1,s){let o=[],a=(t.variantChildren.size-1)*n,l=1===r?(t=0)=>t*n:(t=0)=>a-t*n;return Array.from(t.variantChildren).sort(e8).forEach((t,n)=>{o.push(e9(t,e,{...s,delay:i+l(n)}).then(()=>t.notify("AnimationComplete",e)))}),Promise.all(o)}(t,e,r+n,o,a,i)}:()=>Promise.resolve(),{when:l}=s;if(!l)return Promise.all([o(),a(i.delay)]);{let[t,e]="beforeChildren"===l?[o,a]:[a,o];return t().then(e)}}function e7(t,e,{delay:i=0,transitionOverride:n,type:r}={}){var s;let{transition:o=t.getDefaultTransition(),transitionEnd:a,...l}=t.makeTargetAnimatable(e),u=t.getValue("willChange");n&&(o=n);let c=[],h=r&&(null===(s=t.animationState)||void 0===s?void 0:s.getState()[r]);for(let e in l){let n=t.getValue(e),r=l[e];if(!n||void 0===r||h&&function({protectedKeys:t,needsAnimating:e},i){let n=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,n}(h,e))continue;let s={delay:i,elapsed:0,...o};if(t.shouldReduceMotion&&O.has(e)&&(s={...s,type:!1,delay:0}),!n.hasAnimated){let i=t.getProps()[ea];i&&(s.elapsed=function(t,e){let{MotionAppearAnimations:i}=window,n=eo(t,O.has(e)?"transform":e),r=i&&i.get(n);return r?(es.OH.render(()=>{try{r.cancel(),i.delete(n)}catch(t){}}),r.currentTime||0):0}(i,e))}let a=n.start(e4(e,n,r,s));er(u)&&(u.add(e),a=a.then(()=>u.remove(e))),c.push(a)}return Promise.all(c).then(()=>{a&&function(t,e){let i=en(t,e),{transitionEnd:n={},transition:r={},...s}=i?t.makeTargetAnimatable(i,!1):{};for(let e in s={...s,...n}){let i=tc(s[e]);t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,(0,tZ.O)(i))}}(t,a)})}function e8(t,e){return t.sortNodePosition(e)}let it=[n.Animate,n.InView,n.Focus,n.Hover,n.Tap,n.Drag,n.Exit],ie=[...it].reverse(),ii=it.length;function ir(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}let is={animation:tq(({visualElement:t,animate:e})=>{t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:i})=>
9(function(t,e,i={}){let n;if(t.notify("AnimationStart",e),Array.isArray(e))n=Promise.all(e.map(e=>e9(t,e,i)));else if("string"==typeof e)n=e9(t,e,i);else{let r="function"==typeof e?en(t,e,i.custom):e;n=e7(t,r,i)}return n.then(()=>t.notify("AnimationComplete",e))})(t,e,i))),i={[n.Animate]:ir(!0),[n.InView]:ir(),[n.Hover]:ir(),[n.Tap]:ir(),[n.Drag]:ir(),[n.Focus]:ir(),[n.Exit]:ir()},r=!0,s=(e,i)=>{let n=en(t,i);if(n){let{transition:t,transitionEnd:i,...r}=n;e={...e,...r,...i}}return e};function o(n,o){let a=t.getProps(),l=t.getVariantContext(!0)||{},u=[],c=new Set,h={},f=1/0;for(let e=0;e<ii;e++){var m;let v=ie[e],g=i[v],y=void 0!==a[v]?a[v]:l[v],x=d(y),b=v===o?g.isActive:null;!1===b&&(f=e);let w=y===l[v]&&y!==a[v]&&x;if(w&&r&&t.manuallyAnimateOnMount&&(w=!1),g.protectedKeys={...h},!g.isActive&&null===b||!y&&!g.prevProp||p(y)||"boolean"==typeof y)continue;let S=(m=g.prevProp,"string"==typeof y?y!==m:!!Array.isArray(y)&&!tY(y,m)),A=S||v===o&&g.isActive&&!w&&x||e>f&&x,E=Array.isArray(y)?y:[y],P=E.reduce(s,{});!1===b&&(P={});let{prevResolvedValues:C={}}=g,V={...C,...P},j=t=>{A=!0,c.delete(t),g.needsAnimating[t]=!0};for(let t in V){let e=P[t],i=C[t];h.hasOwnProperty(t)||(e!==i?tl(e)&&tl(i)?!tY(e,i)||S?j(t):g.protectedKeys[t]=!0:void 0!==e?j(t):c.add(t):void 0!==e&&c.has(t)?j(t):g.protectedKeys[t]=!0)}g.prevProp=y,g.prevResolvedValues=P,g.isActive&&(h={...h,...P}),r&&t.blockInitialAnimation&&(A=!1),A&&!w&&u.push(...E.map(t=>({animation:t,options:{type:v,...n}})))}if(c.size){let e={};
9c.forEach(i=>{let n=t.getBaseTarget(i);void 0!==n&&(e[i]=n)}),u.push({animation:e})}let v=!!u.length;return r&&!1===a.initial&&!t.manuallyAnimateOnMount&&(v=!1),r=!1,v?e(u):Promise.resolve()}return{animateChanges:o,setActive:function(e,n,r){var s;if(i[e].isActive===n)return Promise.resolve();null===(s=t.variantChildren)||void 0===s||s.forEach(t=>{var i;return null===(i=t.animationState)||void 0===i?void 0:i.setActive(e,n)}),i[e].isActive=n;let a=o(r,e);for(let t in i)i[t].protectedKeys={};return a},setAnimateFunction:function(i){e=i(t)},getState:()=>i}}(t)),p(e)&&(0,s.useEffect)(()=>e.subscribe(t),[e])}),exit:tq(t=>{let{custom:e,visualElement:i}=t,[r,o]=tX(),a=(0,s.useContext)(l.t);(0,s.useEffect)(()=>{i.isPresent=r;let t=i.animationState&&i.animationState.setActive(n.Exit,!r,{custom:a&&a.custom||e});t&&!r&&t.then(o)},[r])})},io=(t,e)=>Math.abs(t-e);class ia{constructor(t,e,{transformPagePoint:i}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let t=ic(this.lastMoveEventInfo,this.history),e=null!==this.startEvent,i=function(t,e){return Math.sqrt(io(t.x,e.x)**2+io(t.y,e.y)**2)}(t.offset,{x:0,y:0})>=3;if(!e&&!i)return;let{point:n}=t,{timestamp:r}=eq.u;this.history.push({...n,timestamp:r});let{onStart:s,onMove:o}=this.handlers;e||(s&&s(this.lastMoveEvent,t),this.startEvent=this.lastMoveEvent),o&&o(this.lastMoveEvent,t)},this.handlePointerMove=(t,e)=>{if(this.lastMoveEvent=t,this.lastMoveEventInfo=il(e,this.transformPagePoint),tg(t)&&0===t.buttons){this.handlePointerUp(t,e);return}es.OH.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:n}=this.handlers,r=ic(il(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,r),n&&n(t,r)},t.touches&&t.touches.length>1)return;this.handlers=e,this.transformPagePoint=i;let n=il(tx(t),this.transformPagePoint),{point:r}=n,{timestamp:s}=eq.u;this.history=[{...r,timestamp:s}];let{onSessionStart:o}=e;o&&o(t,ic(n,this.history)),this.removeListeners=(0,tD.F)(tV(window,"pointermove",this.handlePointerMove),tV(window,"pointerup",this.handlePointerUp),tV(window,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),es.eO.update(this.updatePoint)}}function il(t,e){return e?{point:e(t.point)}:t}function iu(t,e){return{x:t.x-e.x,y:t.y-e.y}}function ic({point:t},e){return{point:t,delta:iu(t,ih(e)),offset:iu(t,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let i=t.length-1,n=null,r=ih(t);for(;i>=0&&(n=t[i],!(r.timestamp-n.timestamp>eu(.1)));)i--;if(!n)return{x:0,y:0};let s=(r.timestamp-n.timestamp)/1e3;if(0===s)return{x:0,y:0};let o={x:(r.x-n.x)/s,y:(r.y-n.y)/s};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}(e,0)}}function ih(t){return t[t.length-1]}var id=i(6781),ip=i(6316);function im(t){return t.max-t.min}function iv(t,e=0,i=.01){return Math.abs(t-e)<=i}function ig(t,e,i,n=.5){t.origin=n,t.originPoint=(0,ip.j)(e.min,e.max,t.origin),t.scale=im(i)/im(e),(iv(t.scale,1,1e-4)||isNaN(t.scale))&&(t.scale=1),t.translate=(0,ip.j)(i.min,i.max,t.origin)-t.originPoint,(iv(t.translate)||isNaN(t.translate))&&(t.translate=0)}function iy(t,e,i,n){ig(t.x,e.x,i.x,null==n?void 0:n.originX),ig(t.y,e.y,i.y,null==n?void 0:n.originY)}function ix(t,e,i){t.min=i.min+e.min,t.max=t.min+im(e)}function ib(t,e,i){t.min=e.min-i.min,t.max=t.min+im(e)}function iw(t,e,i){ib(t.x,e.x,i.x),ib(t.y,e.y,i.y)}function iS(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 iA(t,e){let i=e.min-t.min,n=e.max-t.max;return e.max-e.min<t.max-t.min&&([i,n]=[n,i]),{min:i,max:n}}function iE(t,e,i){return{min:iP(t,e),max:iP(t,i)}}function iP(t,e){return"number"==typeof t?t:t[e]||0}let iC=()=>({translate:0,scale:1,origin:0,originPoint:0}),iV=()=>({x:iC(),y:iC()}),ij=()=>({min:0,max:0}),ik=()=>({x:ij(),y:ij()});function iM(t){return[t("x"),t("y")]}function iT({top:t,left:e,right:i,bottom:n}){return{x:{min:e,max:i},y:{min:t,max:n}}}function iO(t){return void 0===t||1===t}function i_({scale:t,scaleX:e,scaleY:i}){return!iO(t)||!iO(e)||!iO(i)}function iR(t){return i_(t)||iL(t)||t.z||t.rotate||t.rotateX||t.rotateY}function iL(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}function iF(t,e,i,n,r){return void 0!==r&&(t=n+r*(t-n)),n+i*(t-n)+e}function iD(t,e=0,i=1,n,r){t.min=iF(t.min,e,i,n,r),t.max=iF(t.max,e,i,n,r)}function iB(t,{x:e,y:i}){iD(t.x,e.translate,e.scale,e.originPoint),iD(t.y,i.translate,i.scale,i.originPoint)}function iI(t){return Number.isInteger(t)?t:t>1.0000000000001||t<.999999999999?t:1}function iz(t,e){t.min=t.min+e,t.max=t.max+e}function iN(t,e,[i,n,r]){let s=void 0!==e[r]?e[r]:.5,o=(0,ip.j)(t.min,t.max,s);iD(t,e[i],e[n],o,e.scale)}let iU=["x","scaleX","originX"],i$=["y","scaleY","originY"];function iH(t,e){iN(t.x,e,iU),iN(t.y,e,i$)}function iq(t,e){return iT(function(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),n=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:n.y,right:n.x}}(t.getBoundingClientRect(),e))}let iW=new WeakMap;class iX{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=ik(),this.visualElement=t}start(t,{snapToCursor:e=!1}={}){!1!==this.visualElement.isPresent&&(this.panSession=new ia(t,{onSessionStart:t=>{this.stopAnimation(),e&&this.snapToCursor(tx(t,"page").point)},onStart:(t,e)=>{var i;let{drag:r,dragPropagation:s,onDragStart:o}=this.getProps();(!r||s||(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=tO(r),this.openGlobalLock))&&(this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),iM(t=>{var e,i;let n=this.getAxisMotionValue(t).get()||0;if(z.KN.test(n)){let r=null===(i=null===(e=this.visualElement.projection)||void 0===e?void 0:e.layout)||void 0===i?void 0:i.layoutBox[t];r&&(n=im(r)*(parseFloat(n)/100))}this.originPoint[t]=n}),null==o||o(t,e),null===(i=this.visualElement.animationState)||void 0===i||i.setActive(n.Drag,!0))},onMove:(t,e)=>{let{dragPropagation:i,dragDirectionLock:n,onDirectionLock:r,onDrag:s}=this.getProps();if(!i&&!this.openGlobalLock)return;let{offset:o}=e;if(n&&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&&(null==r||r(this.currentDirection));return}this.updateAxis("x",e.point,o),this.updateAxis("y",e.point,o),this.visualElement.render(),null==s||s(t,e)},onSessionEnd:(t,e)=>this.stop(t,e)},{transformPagePoint:this.visualElement.getTransformPagePoint()}))}stop(t,e){let i=this.isDragging;if(this.cancel(),!i)return;let{velocity:n}=e;this.startAnimation(n);let{onDragEnd:r}=this.getProps();null==r||r(t,e)}cancel(){var t,e;this.isDragging=!1,this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!1),null===(t=this.panSession)||void 0===t||t.end(),this.panSession=void 0;let{dragPropagation:i}=this.getProps();!i&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),null===(e=this.visualElement.animationState)||void 0===e||e.setActive(n.Drag,!1)}updateAxis(t,e,i){let{drag:n}=this.getProps();if(!i||!iY(t,n,this.currentDirection))return;let r=this.getAxisMotionValue(t),s=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(s=function(t,{min:e,max:i},n){return void 0!==e&&t<e?t=n?(0,ip.j)(e,t,n.min):Math.max(t,e):void 0!==i&&t>i&&(t=n?(0,ip.j)(i,t,n.max):Math.min(t,i)),t}(s,this.constraints[t],this.elastic[t])),r.set(s)}resolveConstraints(){let{dragConstraints:t,dragElastic:e}=this.getProps(),{layout:i}=this.visualElement.projection||{},n=this.constraints;t&&h(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&i?this.constraints=function(t,{top:e,left:i,bottom:n,right:r}){return{x:iS(t.x,i,r),y:iS(t.y,e,n)}}(i.layoutBox,t):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:iE(t,"left","right"),y:iE(t,"top","bottom")}}(e),n!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&iM(t=>{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||!h(e))return!1;let n=e.current;(0,el.V)(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:r}=this.visualElement;if(!r||!r.layout)return!1;
9let s=function(t,e,i){let n=iq(t,i),{scroll:r}=e;return r&&(iz(n.x,r.offset.x),iz(n.y,r.offset.y)),n}(n,r.root,this.visualElement.getTransformPagePoint()),o={x:iA((t=r.layout.layoutBox).x,s.x),y:iA(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=iT(t))}return o}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:n,dragTransition:r,dragSnapToOrigin:s,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{};return Promise.all(iM(o=>{if(!iY(o,e,this.currentDirection))return;let l=(null==a?void 0:a[o])||{};s&&(l={min:0,max:0});let u={type:"inertia",velocity:i?t[o]:0,bounceStiffness:n?200:1e6,bounceDamping:n?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...r,...l};return this.startAxisValueAnimation(o,u)})).then(o)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return i.start(e4(t,i,0,e))}stopAnimation(){iM(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){var e;let i="_drag"+t.toUpperCase();return this.visualElement.getProps()[i]||this.visualElement.getValue(t,(null===(e=this.visualElement.getProps().initial)||void 0===e?void 0:e[t])||0)}snapToCursor(t){iM(e=>{let{drag:i}=this.getProps();if(!iY(e,i,this.currentDirection))return;let{projection:n}=this.visualElement,r=this.getAxisMotionValue(e);if(n&&n.layout){let{min:i,max:s}=n.layout.layoutBox[e];r.set(t[e]-(0,ip.j)(i,s,.5))}})}scalePositionWithinConstraints(){var t;if(!this.visualElement.current)return;let{drag:e,dragConstraints:i}=this.getProps(),{projection:n}=this.visualElement;if(!h(i)||!n||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};iM(t=>{let e=this.getAxisMotionValue(t);if(e){let i=e.get();r[t]=function(t,e){let i=.5,n=im(t),r=im(e);return r>n?i=(0,id.q)(e.min,e.max-n,t.min):n>r&&(i=(0,id.q)(t.min,t.max-r,e.min)),(0,eM.q)(0,1,i)}({min:i,max:i},this.constraints[t])}});let{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",null===(t=n.root)||void 0===t||t.updateScroll(),n.updateLayout(),this.resolveConstraints(),iM(t=>{if(!iY(t,e,null))return;let i=this.getAxisMotionValue(t),{min:n,max:s}=this.constraints[t];i.set((0,ip.j)(n,s,r[t]))})}addListeners(){var t;if(!this.visualElement.current)return;iW.set(this.visualElement,this);let e=tV(this.visualElement.current,"pointerdown",t=>{let{drag:e,dragListener:i=!0}=this.getProps();e&&i&&this.start(t)}),i=()=>{let{dragConstraints:t}=this.getProps();h(t)&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,r=n.addEventListener("measure",i);n&&!n.layout&&(null===(t=n.root)||void 0===t||t.updateScroll(),n.updateLayout()),i();let s=tm(window,"resize",()=>this.scalePositionWithinConstraints()),o=n.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(iM(e=>{let i=this.getAxisMotionValue(e);i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=>{s(),e(),r(),null==o||o()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:n=!1,dragConstraints:r=!1,dragElastic:s=.35,dragMomentum:o=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:n,dragConstraints:r,dragElastic:s,dragMomentum:o}}}function iY(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}let iG={pan:tq(function({onPan:t,onPanStart:e,onPanEnd:i,onPanSessionStart:n,visualElement:r}){let a=(0,s.useRef)(null),{transformPagePoint:l}=(0,s.useContext)(o.Q),u={onSessionStart:n,onStart:e,onMove:t,onEnd:(t,e)=>{a.current=null,i&&i(t,e)}};(0,s.useEffect)(()=>{null!==a.current&&a.current.updateHandlers(u)}),tj(r,"pointerdown",(t||e||i||n)&&function(t){a.current=new ia(t,u,{transformPagePoint:l})}),(0,tF.l)(()=>a.current&&a.current.end())}),drag:tq(function(t){let{dragControls:e,visualElement:i}=t,n=(0,w.M)(()=>new iX(i));(0,s.useEffect)(()=>e&&e.subscribe(n),[n,e]),(0,s.useEffect)(()=>n.addListeners(),[n])})};function iK(t){return"string"==typeof t&&t.startsWith("var(--")}let iZ=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function iQ(t,e,i=1){(0,el.V)(i<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);let[n,r]=function(t){let e=iZ.exec(t);if(!e)return[,];let[,i,n]=e;return[i,n]}(t);if(!n)return;let s=window.getComputedStyle(e).getPropertyValue(n);return s?s.trim():iK(r)?iQ(r,e,i+1):r}let iJ=new Set(["width","height","top","left","right","bottom","x","y"]),i0=t=>iJ.has(t),i1=t=>Object.keys(t).some(i0),i2=(t,e)=>{t.set(e,!1),t.set(e)},i5=t=>t===I.ai||t===z.px;!function(t){t.width="width",t.height="height",t.left="left",t.right="right",t.top="top",t.bottom="bottom"}(r||(r={}));let i3=(t,e)=>parseFloat(t.split(", ")[e]),i6=(t,e)=>(i,{transform:n})=>{if("none"===n||!n)return 0;let r=n.match(/^matrix3d\((.+)\)$/);if(r)return i3(r[1],e);{let e=n.match(/^matrix\((.+)\)$/);return e?i3(e[1],t):0}},i4=new Set(["x","y","z"]),i9=T.filter(t=>!i4.has(t)),i7={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:i6(4,13),y:i6(5,14)},i8=(t,e,i)=>{let n=e.measureViewportBox(),r=getComputedStyle(e.current),{display:s}=r,o={};"none"===s&&e.setStaticValue("display",t.display||"block"),i.forEac
9h(t=>{o[t]=i7[t](n,r)}),e.render();let a=e.measureViewportBox();return i.forEach(i=>{i2(e.getValue(i),o[i]),t[i]=i7[i](a,r)}),t},nt=(t,e,i={},n={})=>{e={...e},n={...n};let r=Object.keys(e).filter(i0),s=[],o=!1,a=[];if(r.forEach(r=>{let l;let u=t.getValue(r);if(!t.hasValue(r))return;let c=i[r],h=et(c),d=e[r];if(tl(d)){let t=d.length,e=null===d[0]?1:0;h=et(c=d[e]);for(let i=e;i<t;i++)l?(0,el.V)(et(d[i])===l,"All keyframes must be of the same type"):(l=et(d[i]),(0,el.V)(l===h||i5(h)&&i5(l),"Keyframes must be of the same dimension as the current value"))}else l=et(d);if(h!==l){if(i5(h)&&i5(l)){let t=u.get();"string"==typeof t&&u.set(parseFloat(t)),"string"==typeof d?e[r]=parseFloat(d):Array.isArray(d)&&l===z.px&&(e[r]=d.map(parseFloat))}else(null==h?void 0:h.transform)&&(null==l?void 0:l.transform)&&(0===c||0===d)?0===c?u.set(l.transform(c)):e[r]=h.transform(d):(o||(s=function(t){let e=[];return i9.forEach(i=>{let n=t.getValue(i);void 0!==n&&(e.push([i,n.get()]),n.set(i.startsWith("scale")?1:0))}),e.length&&t.render(),e}(t),o=!0),a.push(r),n[r]=void 0!==n[r]?n[r]:e[r],i2(u,d))}}),!a.length)return{target:e,transitionEnd:n};{let i=a.indexOf("height")>=0?window.pageYOffset:null,r=i8(e,t,a);return s.length&&s.forEach(([e,i])=>{t.getValue(e).set(i)}),t.render(),b.B&&null!==i&&window.scrollTo({top:i}),{target:r,transitionEnd:n}}},ne=(t,e,i,n)=>{let r=function(t,{...e},i){let n=t.current;if(!(n instanceof Element))return{target:e,transitionEnd:i};for(let r in i&&(i={...i}),t.values.forEach(t=>{let e=t.get();if(!iK(e))return;let i=iQ(e,n);i&&t.set(i)}),e){let t=e[r];if(!iK(t))continue;let s=iQ(t,n);s&&(e[r]=s,i&&void 0===i[r]&&(i[r]=t))}return{target:e,transitionEnd:i}}(t,e,n);return function(t,e,i,n){return i1(e)?nt(t,e,i,n):{target:e,transitionEnd:n}}(t,e=r.target,i,n=r.transitionEnd)},ni={current:null},nn={current:!1};var nr=i(7945);let ns=Object.keys(x),no=ns.length,na=["AnimationStart","AnimationComplete","Update","Unmount","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class nl{constructor({parent:t,props:e,reducedMotionConfig:i,visualState:n},r={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.isPresent=!0,this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>es.OH.render(this.render,!1,!0);let{latestValues:s,renderState:o}=n;this.latestValues=s,this.baseTarget={...s},this.initialValues=e.initial?{...s}:{},this.renderState=o,this.parent=t,this.props=e,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.options=r,this.isControllingVariants=m(e),this.isVariantNode=v(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);let{willChange:a,...l}=this.scrapeMotionValuesFromProps(e);for(let t in l){let e=l[t];void 0!==s[t]&&R(e)&&(e.set(s[t],!1),er(a)&&a.add(t))}}scrapeMotionValuesFromProps(t){return{}}mount(t){var e;this.current=t,this.projection&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=null===(e=this.parent)||void 0===e?void 0:e.addVariantChild(this)),this.values.forEach((t,e)=>this.bindToMotionValue(e,t)),nn.current||function(){if(nn.current=!0,b.B){if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>ni.current=t.matches;t.addListener(e),e()}else ni.current=!1}}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||ni.current),this.parent&&this.parent.children.add(this),this.setProps(this.props)}unmount(){var t,e,i;for(let n in null===(t=this.projection)||void 0===t||t.unmount(),es.eO.update(this.notifyUpdate),es.eO.render(this.render),this.valueSubscriptions.forEach(t=>t()),null===(e=this.removeFromVariantTree)||void 0===e||e.call(this),null===(i=this.parent)||void 0===i||i.children.delete(this),this.events)this.events[n].clear();this.current=null}bindToMotionValue(t,e){let i=O.has(t),n=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&es.OH.update(this.notifyUpdate,!1,!0),i&&this.projection&&(this.projection.isTransformDirty=!0)}),r=e.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{n(),r()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}loadFeatures(t,e,i,n,r,o){let a=[];"production"!==tB._&&i&&e&&(0,el.V)(!1,"You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.");for(let e=0;e<no;e++){let i=ns[e],{isEnabled:n,Component:r}=x[i];n(t)&&r&&a.push((0,s.createElement)(r,{key:i,...t,visualElement:this}))}if(!this.projection&&r){this.projection=new r(n,this.latestValues,this.parent&&this.parent.projection);let{layoutId:e,layout:i,drag:s,dragConstraints:a,layoutScroll:l}=t;this.projection.setOptions({layoutId:e,layout:i,alwaysMeasureLayout:!!s||a&&h(a),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof i?i:"both",initialPromotionConfig:o,layoutScroll:l})}return a}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):ik()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}makeTargetAnimatable(t,e=!0){return this.makeTargetAnimatableFromInstance(t,this.props,e)}setProps(t){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.props=t;for(let e=0;e<na.length;e++){let i=na[e];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let n=t["on"+i];n&&(this.propEventSubscriptions[i]=this.on(i,n))}
9this.prevMotionValues=function(t,e,i){let{willChange:n}=e;for(let r in e){let s=e[r],o=i[r];if(R(s))t.addValue(r,s),er(n)&&n.add(r);else if(R(o))t.addValue(r,(0,tZ.O)(s,{owner:t})),er(n)&&n.remove(r);else if(o!==s){if(t.hasValue(r)){let e=t.getValue(r);e.hasAnimated||e.set(s)}else{let e=t.getStaticValue(r);t.addValue(r,(0,tZ.O)(void 0!==e?e:s))}}}for(let n in i)void 0===e[n]&&t.removeValue(n);return e}(this,this.scrapeMotionValuesFromProps(t),this.prevMotionValues)}getProps(){return this.props}getVariant(t){var e;return null===(e=this.props.variants)||void 0===e?void 0:e[t]}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){var t;return this.isVariantNode?this:null===(t=this.parent)||void 0===t?void 0:t.getClosestVariantNode()}getVariantContext(t=!1){var e,i;if(t)return null===(e=this.parent)||void 0===e?void 0:e.getVariantContext();if(!this.isControllingVariants){let t=(null===(i=this.parent)||void 0===i?void 0:i.getVariantContext())||{};return void 0!==this.props.initial&&(t.initial=this.props.initial),t}let n={};for(let t=0;t<nc;t++){let e=nu[t],i=this.props[e];(d(i)||!1===i)&&(n[e]=i)}return n}addVariantChild(t){var e;let i=this.getClosestVariantNode();if(i)return null===(e=i.variantChildren)||void 0===e||e.add(t),()=>i.variantChildren.delete(t)}addValue(t,e){this.hasValue(t)&&this.removeValue(t),this.values.set(t,e),this.latestValues[t]=e.get(),this.bindToMotionValue(t,e)}removeValue(t){var e;this.values.delete(t),null===(e=this.valueSubscriptions.get(t))||void 0===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=(0,tZ.O)(e,{owner:this}),this.addValue(t,i)),i}readValue(t){return void 0===this.latestValues[t]&&this.current?this.readValueFromInstance(this.current,t,this.options):this.latestValues[t]}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){var e;let{initial:i}=this.props,n="string"==typeof i||"object"==typeof i?null===(e=ta(this.props,i))||void 0===e?void 0:e[t]:void 0;if(i&&void 0!==n)return n;let r=this.getBaseTargetFromProps(this.props,t);return void 0===r||R(r)?void 0!==this.initialValues[t]&&void 0===n?void 0:this.baseTarget[t]:r}on(t,e){return this.events[t]||(this.events[t]=new nr.v),this.events[t].add(e)}notify(t,...e){var i;null===(i=this.events[t])||void 0===i||i.notify(...e)}}let nu=["initial",...it],nc=nu.length;class nh extends nl{sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){var i;return null===(i=t.style)||void 0===i?void 0:i[e]}removeValueFromRenderState(t,{vars:e,style:i}){delete e[t],delete i[t]}makeTargetAnimatableFromInstance({transition:t,transitionEnd:e,...i},{transformValues:n},r){let s=function(t,e,i){var n;let r={};for(let s in t){let t=function(t,e){if(e)return(e[t]||e.default||e).from}(s,e);r[s]=void 0!==t?t:null===(n=i.getValue(s))||void 0===n?void 0:n.get()}return r}(i,t||{},this);if(n&&(e&&(e=n(e)),i&&(i=n(i)),s&&(s=n(s))),r){!function(t,e,i){var n,r;let s=Object.keys(e).filter(e=>!t.hasValue(e)),o=s.length;if(o)for(let a=0;a<o;a++){let o=s[a],l=e[o],u=null;Array.isArray(l)&&(u=l[0]),null===u&&(u=null!==(r=null!==(n=i[o])&&void 0!==n?n:t.readValue(o))&&void 0!==r?r:e[o]),null!=u&&("string"==typeof u&&(tG(u)||tK(u))?u=parseFloat(u):!ei(u)&&tQ.f.test(l)&&(u=t9(o,l)),t.addValue(o,(0,tZ.O)(u,{owner:t})),void 0===i[o]&&(i[o]=u),null!==u&&t.setBaseTarget(o,u))}}(this,i,s);let t=ne(this,i,s,e);e=t.transitionEnd,i=t.target}return{transition:t,transitionEnd:e,...i}}}class nd extends nh{readValueFromInstance(t,e){if(O.has(e)){let t=t4(e);return t&&t.default||0}{let i=window.getComputedStyle(t),n=(D(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(t,{transformPagePoint:e}){return iq(t,e)}build(t,e,i,n){$(t,e,i,n.transformTemplate)}scrapeMotionValuesFromProps(t){return ts(t)}renderInstance(t,e,i,n){ti(t,e,i,n)}}class np extends nh{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){var i;return O.has(e)?(null===(i=t4(e))||void 0===i?void 0:i.default)||0:(e=tn.has(e)?e:te(e),t.getAttribute(e))}measureInstanceViewportBox(){return ik()}scrapeMotionValuesFromProps(t){return to(t)}
9build(t,e,i,n){Q(t,e,i,this.isSVGTag,n.transformTemplate)}renderInstance(t,e,i,n){tr(t,e,i,n)}mount(t){this.isSVGTag=tt(t.tagName),super.mount(t)}}let nf=(t,e)=>k(t)?new np(e,{enableHardwareAcceleration:!1}):new nd(e,{enableHardwareAcceleration:!0});function nm(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let nv={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t){if(!z.px.test(t))return t;t=parseFloat(t)}let i=nm(t,e.target.x),n=nm(t,e.target.y);return`${i}% ${n}%`}},ng="_$css",ny={correct:(t,{treeScale:e,projectionDelta:i})=>{let n=t,r=t.includes("var("),s=[];r&&(t=t.replace(iZ,t=>(s.push(t),ng)));let o=tQ.f.parse(t);if(o.length>5)return n;let a=tQ.f.createTransformer(t),l="number"!=typeof o[0]?1:0,u=i.x.scale*e.x,c=i.y.scale*e.y;o[0+l]/=u,o[1+l]/=c;let h=(0,ip.j)(u,c,.5);"number"==typeof o[2+l]&&(o[2+l]/=h),"number"==typeof o[3+l]&&(o[3+l]/=h);let d=a(o);if(r){let t=0;d=d.replace(ng,()=>{let e=s[t];return t++,e})}return d}};class nx extends s.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:n}=this.props,{projection:r}=t;Object.assign(M,nb),r&&(e.group&&e.group.add(r),i&&i.register&&n&&i.register(r),r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),S.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:n,isPresent:r}=this.props,s=i.projection;return s&&(s.isPresent=r,n||t.layoutDependency!==e||void 0===e?s.willUpdate():this.safeToRemove(),t.isPresent===r||(r?s.promote():s.relegate()||es.OH.postRender(()=>{var t;(null===(t=s.getStack())||void 0===t?void 0:t.members.length)||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),!t.currentAnimation&&t.isLead()&&this.safeToRemove())}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:n}=t;n&&(n.scheduleCheckAfterUnmount(),(null==e?void 0:e.group)&&e.group.remove(n),(null==i?void 0:i.deregister)&&i.deregister(n))}safeToRemove(){let{safeToRemove:t}=this.props;null==t||t()}render(){return null}}let nb={borderRadius:{...nv,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:nv,borderTopRightRadius:nv,borderBottomLeftRadius:nv,borderBottomRightRadius:nv,boxShadow:ny},nw=["TopLeft","TopRight","BottomLeft","BottomRight"],nS=nw.length,nA=t=>"string"==typeof t?parseFloat(t):t,nE=t=>"number"==typeof t||z.px.test(t);function nP(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let nC=nj(0,.5,ew),nV=nj(.5,.95,eg);function nj(t,e,i){return n=>n<t?0:n>e?1:i((0,id.q)(t,e,n))}function nk(t,e){t.min=e.min,t.max=e.max}function nM(t,e){nk(t.x,e.x),nk(t.y,e.y)}function nT(t,e,i,n,r){return t-=e,t=n+1/i*(t-n),void 0!==r&&(t=n+1/r*(t-n)),t}function nO(t,e,[i,n,r],s,o){!function(t,e=0,i=1,n=.5,r,s=t,o=t){if(z.KN.test(e)&&(e=parseFloat(e),e=(0,ip.j)(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=(0,ip.j)(s.min,s.max,n);t===s&&(a-=e),t.min=nT(t.min,e,i,a,r),t.max=nT(t.max,e,i,a,r)}(t,e[i],e[n],e[r],e.scale,s,o)}let n_=["x","scaleX","originX"],nR=["y","scaleY","originY"];function nL(t,e,i,n){nO(t.x,e,n_,null==i?void 0:i.x,null==n?void 0:n.x),nO(t.y,e,nR,null==i?void 0:i.y,null==n?void 0:n.y)}function nF(t){return 0===t.translate&&1===t.scale}function nD(t){return nF(t.x)&&nF(t.y)}function nB(t,e){return t.x.min===e.x.min&&t.x.max===e.x.max&&t.y.min===e.y.min&&t.y.max===e.y.max}function nI(t){return im(t.x)/im(t.y)}var nz=i(4093);class nN{constructor(){this.members=[]}add(t){(0,nz.Kq)(this.members,t),t.scheduleRender()}remove(t){if((0,nz.Ai)(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)}}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){var i;let n=this.lead;if(t!==n&&(this.prevLead=n,this.lead=t,t.show(),n)){n.instance&&n.scheduleRender(),t.scheduleRender(),t.resumeFrom=n,e&&(t.resumeFrom.preserveOpacity=!0),n.snapshot&&(t.snapshot=n.snapshot,t.snapshot.latestValues=n.animationValues||n.latestValues),(null===(i=t.root)||void 0===i?void 0:i.isUpdating)&&(t.isLayoutDirty=!0);let{crossfade:r}=t.options;!1===r&&n.hide()}}
9exitAnimationComplete(){this.members.forEach(t=>{var e,i,n,r,s;null===(i=(e=t.options).onExitComplete)||void 0===i||i.call(e),null===(s=null===(n=t.resumingFrom)||void 0===n?void 0:(r=n.options).onExitComplete)||void 0===s||s.call(r)})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function nU(t,e,i){let n="",r=t.x.translate/e.x,s=t.y.translate/e.y;if((r||s)&&(n=`translate3d(${r}px, ${s}px, 0) `),(1!==e.x||1!==e.y)&&(n+=`scale(${1/e.x}, ${1/e.y}) `),i){let{rotate:t,rotateX:e,rotateY:r}=i;t&&(n+=`rotate(${t}deg) `),e&&(n+=`rotateX(${e}deg) `),r&&(n+=`rotateY(${r}deg) `)}let o=t.x.scale*e.x,a=t.y.scale*e.y;return(1!==o||1!==a)&&(n+=`scale(${o}, ${a})`),n||"none"}let n$=(t,e)=>t.depth-e.depth;class nH{constructor(){this.children=[],this.isDirty=!1}add(t){(0,nz.Kq)(this.children,t),this.isDirty=!0}remove(t){(0,nz.Ai)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(n$),this.isDirty=!1,this.children.forEach(t)}}let nq=["","X","Y","Z"],nW=0;function nX({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:n,resetTransform:r}){return class{constructor(t,i={},n=null==e?void 0:e()){this.id=nW++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isTransformDirty=!1,this.isProjectionDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.potentialNodes=new Map,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.nodes.forEach(nK),this.nodes.forEach(n1),this.nodes.forEach(n2)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.elementId=t,this.latestValues=i,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0,t&&this.root.registerPotentialNode(t,this);for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new nH)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new nr.v),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let i=this.eventHandlers.get(t);null==i||i.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}registerPotentialNode(t,e){this.potentialNodes.set(t,e)}mount(e,i=!1){var n;if(this.instance)return;this.isSVG=e instanceof SVGElement&&"svg"!==e.tagName,this.instance=e;let{layoutId:r,layout:s,visualElement:o}=this.options;if(o&&!o.current&&o.mount(e),this.root.nodes.add(this),null===(n=this.parent)||void 0===n||n.children.add(this),this.elementId&&this.root.potentialNodes.delete(this.elementId),i&&(s||r)&&(this.isLayoutDirty=!0),t){let i;let n=()=>this.root.updateBlockedByResize=!1;t(e,()=>{this.root.updateBlockedByResize=!0,i&&i(),i=eH(n,250),S.hasAnimatedSinceResize&&(S.hasAnimatedSinceResize=!1,this.nodes.forEach(n0))})}r&&this.root.registerSharedNode(r,this),!1!==this.options.animate&&o&&(r||s)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeTargetChanged:i,layout:n})=>{var r,s,a,l,u;if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let c=null!==(s=null!==(r=this.options.transition)&&void 0!==r?r:o.getDefaultTransition())&&void 0!==s?s:n7,{onLayoutAnimationStart:h,onLayoutAnimationComplete:d}=o.getProps(),p=!this.targetLayout||!nB(this.targetLayout,n)||i,f=!e&&i;if((null===(a=this.resumeFrom)||void 0===a?void 0:a.instance)||f||e&&(p||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(t,f);let e={...e1(c,"layout"),onPlay:h,onComplete:d};o.shouldReduceMotion&&(e.delay=0,e.type=!1),this.startAnimation(e)}else e||0!==this.animationProgress||n0(this),this.isLead()&&(null===(u=(l=this.options).onExitComplete)||void 0===u||u.call(l));this.targetLayout=n})}unmount(){var t,e;this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this),null===(t=this.getStack())||void 0===t||t.remove(this),null===(e=this.parent)||void 0===e||e.children.delete(this),this.instance=void 0,es.eO.preRender(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){var t;return this.isAnimationBlocked||(null===(t=this.parent)||void 0===t?void 0:t.isTreeAnimationBlocked())||!1}startUpdate(){var t;!this.isUpdateBlocked()&&(this.isUpdating=!0,null===(t=this.nodes)||void 0===t||t.forEach(n5),this.animationId++)}willUpdate(t=!0){var e,i,n;if(this.root.isUpdateBlocked()){null===(i=(e=this.options).onExitComplete)||void 0===i||i.call(e);return}
9if(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")}let{layoutId:r,layout:s}=this.options;if(void 0===r&&!s)return;let o=null===(n=this.options.visualElement)||void 0===n?void 0:n.getProps().transformTemplate;this.prevTransformTemplateValue=null==o?void 0:o(this.latestValues,""),this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}didUpdate(){if(this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(nQ);return}this.isUpdating&&(this.isUpdating=!1,this.potentialNodes.size&&(this.potentialNodes.forEach(n8),this.potentialNodes.clear()),this.nodes.forEach(nJ),this.nodes.forEach(nY),this.nodes.forEach(nG),this.clearAllSnapshots(),es.qX.update(),es.qX.preRender(),es.qX.render())}clearAllSnapshots(){this.nodes.forEach(nZ),this.sharedNodes.forEach(n3)}scheduleUpdateProjection(){es.OH.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){es.OH.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){var t;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 e=this.layout;this.layout=this.measure(!1),this.layoutCorrected=ik(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox),null===(t=this.options.visualElement)||void 0===t||t.notify("LayoutMeasure",this.layout.layoutBox,null==e?void 0:e.layoutBox)}updateScroll(t="measure"){let e=!!(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&(this.scroll={animationId:this.root.animationId,phase:t,isRoot:n(this.instance),offset:i(this.instance)})}resetTransform(){var t;if(!r)return;let e=this.isLayoutDirty||this.shouldResetTransform,i=this.projectionDelta&&!nD(this.projectionDelta),n=null===(t=this.options.visualElement)||void 0===t?void 0:t.getProps().transformTemplate,s=null==n?void 0:n(this.latestValues,""),o=s!==this.prevTransformTemplateValue;e&&(i||iR(this.latestValues)||o)&&(r(this.instance,s),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let i=this.measurePageBox(),n=this.removeElementScroll(i);return t&&(n=this.removeTransform(n)),rt((e=n).x),rt(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return ik();let e=t.measureViewportBox(),{scroll:i}=this.root;return i&&(iz(e.x,i.offset.x),iz(e.y,i.offset.y)),e}removeElementScroll(t){let e=ik();nM(e,t);for(let i=0;i<this.path.length;i++){let n=this.path[i],{scroll:r,options:s}=n;if(n!==this.root&&r&&s.layoutScroll){if(r.isRoot){nM(e,t);let{scroll:i}=this.root;i&&(iz(e.x,-i.offset.x),iz(e.y,-i.offset.y))}iz(e.x,r.offset.x),iz(e.y,r.offset.y)}}return e}applyTransform(t,e=!1){let i=ik();nM(i,t);for(let t=0;t<this.path.length;t++){let n=this.path[t];!e&&n.options.layoutScroll&&n.scroll&&n!==n.root&&iH(i,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),iR(n.latestValues)&&iH(i,n.latestValues)}return iR(this.latestValues)&&iH(i,this.latestValues),i}removeTransform(t){var e;let i=ik();nM(i,t);for(let t=0;t<this.path.length;t++){let n=this.path[t];if(!n.instance||!iR(n.latestValues))continue;i_(n.latestValues)&&n.updateSnapshot();let r=ik();nM(r,n.measurePageBox()),nL(i,n.latestValues,null===(e=n.snapshot)||void 0===e?void 0:e.layoutBox,r)}return iR(this.latestValues)&&nL(i,this.latestValues),i}setTargetDelta(t){this.targetDelta=t,this.isProjectionDirty=!0,this.root.scheduleUpdateProjection()}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}resolveTargetDelta(){var t,e,i,n;let r=this.getLead();if(this.isProjectionDirty||(this.isProjectionDirty=r.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=r.isTransformDirty),!this.isProjectionDirty&&!this.attemptToResolveRelativeTarget)return;let{layout:s,layoutId:o}=this.options;
9if(this.layout&&(s||o)){if(!this.targetDelta&&!this.relativeTarget){let t=this.getClosestProjectingParent();t&&t.layout?(this.relativeParent=t,this.relativeTarget=ik(),this.relativeTargetOrigin=ik(),iw(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),nM(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if((this.relativeTarget||this.targetDelta)&&((this.target||(this.target=ik(),this.targetWithTransforms=ik()),this.relativeTarget&&this.relativeTargetOrigin&&(null===(t=this.relativeParent)||void 0===t?void 0:t.target))?(e=this.target,i=this.relativeTarget,n=this.relativeParent.target,ix(e.x,i.x,n.x),ix(e.y,i.y,n.y)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):nM(this.target,this.layout.layoutBox),iB(this.target,this.targetDelta)):nM(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget)){this.attemptToResolveRelativeTarget=!1;let t=this.getClosestProjectingParent();t&&!!t.resumingFrom==!!this.resumingFrom&&!t.options.layoutScroll&&t.target?(this.relativeParent=t,this.relativeTarget=ik(),this.relativeTargetOrigin=ik(),iw(this.relativeTargetOrigin,this.target,t.target),nM(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(!(!this.parent||i_(this.parent.latestValues)||iL(this.parent.latestValues)))return(this.parent.relativeTarget||this.parent.targetDelta)&&this.parent.layout?this.parent:this.parent.getClosestProjectingParent()}calcProjection(){var t;let{isProjectionDirty:e,isTransformDirty:i}=this;this.isProjectionDirty=this.isTransformDirty=!1;let n=this.getLead(),r=!!this.resumingFrom||this!==n,s=!0;if(e&&(s=!1),r&&i&&(s=!1),s)return;let{layout:o,layoutId:a}=this.options;if(this.isTreeAnimating=!!((null===(t=this.parent)||void 0===t?void 0:t.isTreeAnimating)||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(o||a))return;nM(this.layoutCorrected,this.layout.layoutBox),function(t,e,i,n=!1){var r,s;let o,a;let l=i.length;if(l){e.x=e.y=1;for(let u=0;u<l;u++)a=(o=i[u]).projectionDelta,(null===(s=null===(r=o.instance)||void 0===r?void 0:r.style)||void 0===s?void 0:s.display)!=="contents"&&(n&&o.options.layoutScroll&&o.scroll&&o!==o.root&&iH(t,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),a&&(e.x*=a.x.scale,e.y*=a.y.scale,iB(t,a)),n&&iR(o.latestValues)&&iH(t,o.latestValues));e.x=iI(e.x),e.y=iI(e.y)}}(this.layoutCorrected,this.treeScale,this.path,r);let{target:l}=n;if(!l)return;this.projectionDelta||(this.projectionDelta=iV(),this.projectionDeltaWithTransform=iV());let u=this.treeScale.x,c=this.treeScale.y,h=this.projectionTransform;iy(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.projectionTransform=nU(this.projectionDelta,this.treeScale),(this.projectionTransform!==h||this.treeScale.x!==u||this.treeScale.y!==c)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){var e,i,n;null===(i=(e=this.options).scheduleRender)||void 0===i||i.call(e),t&&(null===(n=this.getStack())||void 0===n||n.scheduleRender()),this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(t,e=!1){var i,n;let r=this.snapshot,s=(null==r?void 0:r.latestValues)||{},o={...this.latestValues},a=iV();this.relativeTarget=this.relativeTargetOrigin=void 0,this.attemptToResolveRelativeTarget=!e;let l=ik(),u=(null==r?void 0:r.source)!==(null===(i=this.layout)||void 0===i?void 0:i.source),c=1>=((null===(n=this.getStack())||void 0===n?void 0:n.members.length)||0),h=!!(u&&!c&&!0===this.options.crossfade&&!this.path.some(n9));this.animationProgress=0,this.mixTargetDelta=e=>{var i,n,r;let d=e/1e3;n6(a.x,t.x,d),n6(a.y,t.y,d),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&(null===(i=this.relativeParent)||void 0===i?void 0:i.layout)&&(iw(l,this.layout.layoutBox,this.relativeParent.layout.layoutBox),n=this.relativeTarget,r=this.relativeTargetOrigin,n4(n.x,r.x,l.x,d),n4(n.y,r.y,l.y,d)),u&&(this.animationValues=o,function(t,e,
9i,n,r,s){r?(t.opacity=(0,ip.j)(0,void 0!==i.opacity?i.opacity:1,nC(n)),t.opacityExit=(0,ip.j)(void 0!==e.opacity?e.opacity:1,0,nV(n))):s&&(t.opacity=(0,ip.j)(void 0!==e.opacity?e.opacity:1,void 0!==i.opacity?i.opacity:1,n));for(let r=0;r<nS;r++){let s=`border${nw[r]}Radius`,o=nP(e,s),a=nP(i,s);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||nE(o)===nE(a)?(t[s]=Math.max((0,ip.j)(nA(o),nA(a),n),0),(z.KN.test(a)||z.KN.test(o))&&(t[s]+="%")):t[s]=a)}(e.rotate||i.rotate)&&(t.rotate=(0,ip.j)(e.rotate||0,i.rotate||0,n))}(o,s,this.latestValues,d,h,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=d},this.mixTargetDelta(0)}startAnimation(t){var e,i;this.notifyListeners("animationStart"),null===(e=this.currentAnimation)||void 0===e||e.stop(),this.resumingFrom&&(null===(i=this.resumingFrom.currentAnimation)||void 0===i||i.stop()),this.pendingAnimation&&(es.eO.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=es.OH.update(()=>{S.hasAnimatedSinceResize=!0,this.currentAnimation=function(t,e,i={}){let n=R(0)?0:(0,tZ.O)(0);return n.start(e4("",n,1e3,i)),{stop:()=>n.stop(),isAnimating:()=>n.isAnimating()}}(0,0,{...t,onUpdate:e=>{var i;this.mixTargetDelta(e),null===(i=t.onUpdate)||void 0===i||i.call(t,e)},onComplete:()=>{var e;null===(e=t.onComplete)||void 0===e||e.call(t),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){var t;this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0),null===(t=this.getStack())||void 0===t||t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){var t;this.currentAnimation&&(null===(t=this.mixTargetDelta)||void 0===t||t.call(this,1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let t=this.getLead(),{targetWithTransforms:e,target:i,layout:n,latestValues:r}=t;if(e&&i&&n){if(this!==t&&this.layout&&n&&re(this.options.animationType,this.layout.layoutBox,n.layoutBox)){i=this.target||ik();let e=im(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let n=im(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+n}nM(e,i),iH(e,r),iy(this.projectionDeltaWithTransform,this.layoutCorrected,e,r)}}registerSharedNode(t,e){var i,n,r;this.sharedNodes.has(t)||this.sharedNodes.set(t,new nN),this.sharedNodes.get(t).add(e),e.promote({transition:null===(i=e.options.initialPromotionConfig)||void 0===i?void 0:i.transition,preserveFollowOpacity:null===(r=null===(n=e.options.initialPromotionConfig)||void 0===n?void 0:n.shouldPreserveFollowOpacity)||void 0===r?void 0:r.call(n,e)})}isLead(){let t=this.getStack();return!t||t.lead===this}getLead(){var t;let{layoutId:e}=this.options;return e&&(null===(t=this.getStack())||void 0===t?void 0:t.lead)||this}getPrevLead(){var t;let{layoutId:e}=this.options;return e?null===(t=this.getStack())||void 0===t?void 0:t.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 n=this.getStack();n&&n.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)}resetRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:i}=t;if((i.rotate||i.rotateX||i.rotateY||i.rotateZ)&&(e=!0),!e)return;let n={};for(let e=0;e<nq.length;e++){let r="rotate"+nq[e];i[r]&&(n[r]=i[r],t.setStaticValue(r,0))}for(let e in null==t||t.render(),n)t.setStaticValue(e,n[e]);t.scheduleRender()}getProjectionStyles(t={}){var e,i,n;let r={};if(!this.instance||this.isSVG)return r;if(!this.isVisible)return{visibility:"hidden"};r.visibility="";let s=null===(e=this.options.visualElement)||void 0===e?void 0:e.getProps().transformTemplate;if(this.needsReset)return this.needsReset=!1,r.opacity="",r.pointerEvents=th(t.pointerEvents)||"",r.transform=s?s(this.latestValues,""):"none",r;let o=this.getLead();if(!this.projectionDelta||!this.layout||!o.target){let e={};return this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=th(t.pointerEvents)||""),this.hasProjected&&!iR(this.latestValues)&&(e.transform=s?s({},""):"none",this.hasProjected=!1),e}let a=o.animationValues||o.latestValues;this.applyTransformsToTarget(),r.transform=nU(this.projectionDeltaWithTransform,this.treeScale,a),s&&(r.transform=s(a,r.transform));let{x:l,y:u}=this.projectionDelta;for(let t in r.transformOrigin=`${100*l.origin}% ${100*u.origin}% 0`,o.animationValues?r.opacity=o===this?null!==(n=null!==(i=a.opacity)&&void 0!==i?i:this.latestValues.opacity)&&void 0!==n?n:1:this.preserveOpacity?this.latestValues.opacity:a.opacityExit:r.opacity=o===this?void 0!==a.opacity?a.opacity:"":void 0!==a.opacityExit?a.opacityExit:0,M){if(void 0===a[t])continue;let{correct:e,applyTo:i}=M[t],n=e(a[t],o);if(i){let t=i.length;for(let e=0;e<t;e++)r[i[e]]=n}else r[t]=n}return this.options.layoutId&&(r.pointerEvents=o===this?th(t.pointerEvents)||"":"none"),r}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}
9resetTree(){this.root.nodes.forEach(t=>{var e;return null===(e=t.currentAnimation)||void 0===e?void 0:e.stop()}),this.root.nodes.forEach(nQ),this.root.sharedNodes.clear()}}}function nY(t){t.updateLayout()}function nG(t){var e,i,n;let r=(null===(e=t.resumeFrom)||void 0===e?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&r&&t.hasListeners("didUpdate")){let{layoutBox:e,measuredBox:i}=t.layout,{animationType:n}=t.options,s=r.source!==t.layout.source;"size"===n?iM(t=>{let i=s?r.measuredBox[t]:r.layoutBox[t],n=im(i);i.min=e[t].min,i.max=i.min+n}):re(n,r.layoutBox,e)&&iM(t=>{let i=s?r.measuredBox[t]:r.layoutBox[t],n=im(e[t]);i.max=i.min+n});let o=iV();iy(o,e,r.layoutBox);let a=iV();s?iy(a,t.applyTransform(i,!0),r.measuredBox):iy(a,e,r.layoutBox);let l=!nD(o),u=!1;if(!t.resumeFrom){let i=t.getClosestProjectingParent();if(i&&!i.resumeFrom){let{snapshot:t,layout:n}=i;if(t&&n){let i=ik();iw(i,r.layoutBox,t.layoutBox);let s=ik();iw(s,e,n.layoutBox),nB(i,s)||(u=!0)}}}t.notifyListeners("didUpdate",{layout:e,snapshot:r,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeTargetChanged:u})}else t.isLead()&&(null===(n=(i=t.options).onExitComplete)||void 0===n||n.call(i));t.options.transition=void 0}function nK(t){t.isProjectionDirty||(t.isProjectionDirty=!!(t.parent&&t.parent.isProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=!!(t.parent&&t.parent.isTransformDirty))}function nZ(t){t.clearSnapshot()}function nQ(t){t.clearMeasurements()}function nJ(t){let{visualElement:e}=t.options;(null==e?void 0:e.getProps().onBeforeLayoutMeasure)&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function n0(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0}function n1(t){t.resolveTargetDelta()}function n2(t){t.calcProjection()}function n5(t){t.resetRotation()}function n3(t){t.removeLeadSnapshot()}function n6(t,e,i){t.translate=(0,ip.j)(e.translate,0,i),t.scale=(0,ip.j)(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function n4(t,e,i,n){t.min=(0,ip.j)(e.min,i.min,n),t.max=(0,ip.j)(e.max,i.max,n)}function n9(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let n7={duration:.45,ease:[.4,0,.1,1]};function n8(t,e){let i=t.root;for(let e=t.path.length-1;e>=0;e--)if(t.path[e].instance){i=t.path[e];break}
9let n=(i&&i!==t.root?i.instance:document).querySelector(`[data-projection-id="${e}"]`);n&&t.mount(n,!0)}function rt(t){t.min=Math.round(t.min),t.max=Math.round(t.max)}function re(t,e,i){return"position"===t||"preserve-aspect"===t&&!iv(nI(e),nI(i),.2)}let ri=nX({attachResizeListener:(t,e)=>tm(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),rn={current:void 0},rr=nX({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!rn.current){let t=new ri(0,{});t.mount(window),t.setOptions({layoutScroll:!0}),rn.current=t}return rn.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position}),rs={...is,...tW,...iG,measureLayout:function(t){let[e,i]=tX(),n=(0,s.useContext)(E.L);return s.createElement(nx,{...t,layoutGroup:n,switchLayoutGroup:(0,s.useContext)(C),isPresent:e,safeToRemove:i})}},ro=function(t){function e(i,n={}){return function({preloadedFeatures:t,createVisualElement:e,projectionNodeConstructor:i,useRender:n,useVisualState:r,Component:p}){t&&function(t){for(let e in t)"projectionNodeConstructor"===e?x.projectionNodeConstructor=t[e]:x[e].Component=t[e]}(t);let f=(0,s.forwardRef)(function(f,v){var y;let V={...(0,s.useContext)(o.Q),...f,layoutId:function({layoutId:t}){let e=(0,s.useContext)(E.L).id;return e&&void 0!==t?e+"-"+t:t}(f)},{isStatic:j}=V,k=null,M=function(t){let{initial:e,animate:i}=function(t,e){if(m(t)){let{initial:e,animate:i}=t;return{initial:!1===e||d(e)?e:void 0,animate:d(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,s.useContext)(a));return(0,s.useMemo)(()=>({initial:e,animate:i}),[g(e),g(i)])}(f),T=j?void 0:(0,w.M)(()=>{if(S.hasEverUpdated)return A++}),O=r(f,j);if(!j&&b.B){M.visualElement=function(t,e,i,n){let r=(0,s.useContext)(a).visualElement,h=(0,s.useContext)(c),d=(0,s.useContext)(l.t),p=(0,s.useContext)(o.Q).reducedMotion,f=(0,s.useRef)();n=n||h.renderer,!f.current&&n&&(f.current=n(t,{visualState:e,parent:r,props:i,presenceId:d?d.id:void 0,blockInitialAnimation:!!d&&!1===d.initial,reducedMotionConfig:p}));let m=f.current;return(0,u.E)(()=>{m&&m.render()}),(0,u.E)(()=>{m&&m.animationState&&m.animationState.animateChanges()}),(0,u.E)(()=>()=>m&&m.notify("Unmount"),[]),m}(p,O,V,e);let n=(0,s.useContext)(c).strict,r=(0,s.useContext)(C);M.visualElement&&(k=M.visualElement.loadFeatures(V,n,t,T,i||x.projectionNodeConstructor,r))}return s.createElement(P,{visualElement:M.visualElement,props:V},k,s.createElement(a.Provider,{value:M},n(p,f,T,(y=M.visualElement,(0,s.useCallback)(t=>{t&&O.mount&&O.mount(t),y&&(t?y.mount(t):y.unmount()),v&&("function"==typeof v?v(t):h(v)&&(v.current=t))},[y])),O,j,M.visualElement)))});return f[V]=p,f}(t(i,n))}if("undefined"==typeof Proxy)return e;let i=new Map;return new Proxy(e,{get:(t,n)=>(i.has(n)||i.set(n,e(n)),i.get(n))})}((t,e)=>(function(t,{forwardMotionProps:e=!1},i,n,r){return{...k(t)?tp:tf,preloadedFeatures:i,useRender:function(t=!1){return(e,i,n,r,{latestValues:o},a)=>{let l=(k(e)?function(t,e,i,n){let r=(0,s.useMemo)(()=>{let i=J();return Q(i,e,{enableHardwareAcceleration:!1},tt(n),t.transformTemplate),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};q(e,t.style,t),r.style={...e,...r.style}}return r}:function(t,e,i){let n={},r=function(t,e,i){let n=t.style||{},r={};return q(r,n,t),Object.assign(r,function({transformTemplate:t},e,i){return(0,s.useMemo)(()=>{let n=H();return $(n,e,{enableHardwareAcceleration:!i},t),Object.assign({},n.vars,n.style)},[e])}(t,e,i)),t.transformValues?t.transformValues(r):r}(t,e,i);return t.drag&&!1!==t.dragListener&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),n.style=r,n})(i,o,a,e),u={...function(t,e,i){let n={};for(let r in t)(Y(r)||!0===i&&X(r)||!e&&!X(r)||t.draggable&&r.startsWith("onDrag"))&&(n[r]=t[r]);return n}(i,"string"==typeof e,t),...l,ref:r};return n&&(u["data-projection-id"]=n),(0,s.createElement)(e,u)}}(e),createVisualElement:n,projectionNodeConstructor:r,Component:t}})(t,e,rs,nf,rr))},4093:(t,e,i)=>{"use strict";function n(t,e){-1===t.indexOf(e)&&t.push(e)}function r(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}i.d(e,{Ai:()=>r,Kq:()=>n})},6611:(t,e,i)=>{"use strict";i.d(e,{q:()=>n});let n=(t,e,i)=>Math.min(Math.max(i,t),e)},9600:(t,e,i)=>{"use strict";i.d(e,{G:()=>E});var n=i(7198),r=i(4064),s=i(6611),o=i(6316);function a(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}var l=i(1348),u=i(2664),c=i(3020);let h=(t,e,i)=>{let n=t*t;return Math.sqrt(Math.max(0,i*(e*e-n)+n))},d=[l.u,u.B,c.V],p=t=>d.find(e=>e.test(t));function f(t){let e=p(t);(0,n.V)(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`);let i=e.parse(t);return e===c.V&&(i=function({hue:t,saturation:e,lightness:i,alpha:n}){t/=360,i/=100;let r=0,s=0,o=0;if(e/=100){let n=i<.5?i*(1+e):i+e-i*e,l=2*i-n;r=a(l,n,t+1/3),s=a(l,n,t),o=a(l,n,t-1/3)}else r=s=o=i;return{red:Math.round(255*r),green:Math.round(255*s),blue:Math.round(255*o),alpha:n}}(i)),i}let m=(t,e)=>{let i=f(t),n=f(e),r={...i};return t=>(r.red=h(i.red,n.red,t),r.green=h(i.green,n.green,t),r.blue=h(i.blue,n.blue,t),r.alpha=(0,o.j)(i.alpha,n.alpha,t),u.B.transform(r))};var v=i(5068),g=i(9605);function y(t,e){return"number"==typeof t?i=>(0,o.j)(t,e,i):r.y.test(t)?m(t,e):w(t,e)}let x=(t,e)=>{let i=[...t],n=i.length,r=t.map((t,i)=>y(t,e[i]));return t=>{for(let e=0;e<n;e++)i[e]=r[e](t);return i}},b=(t,e)=>{let i={...t,...e},n={};for(let r in i)void 0!==t[r]&&void 0!==e[r]&&(n[r]=y(t[r],e[r]));return t=>{for(let e in n)i[e]=n[e](t);return i}},w=(t,e)=>{let i=g.f.createTransformer(e),r=(0,g.V)(t),s=(0,g.V)(e);return r.numColors===s.numColors&&r.numNumbers>=s.numNumbers?(0,v.F)(x(r.values,s.values),i):((0,n.$)(!0,`Complex values '${t}' and '${e}
9' 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.`),i=>`${i>0?e:t}`)};var S=i(6781);let A=(t,e)=>i=>(0,o.j)(t,e,i);function E(t,e,{clamp:i=!0,ease:o,mixer:a}={}){let l=t.length;(0,n.V)(l===e.length,"Both input and output ranges must be the same length"),(0,n.V)(!o||!Array.isArray(o)||o.length===l-1,"Array of easing functions must be of length `input.length - 1`, as it applies to the transitions **between** the defined values."),t[0]>t[l-1]&&(t=[...t].reverse(),e=[...e].reverse());let u=function(t,e,i){let n=[],s=i||function(t){if("number"==typeof t);else if("string"==typeof t)return r.y.test(t)?m:w;else if(Array.isArray(t))return x;else if("object"==typeof t)return b;return A}(t[0]),o=t.length-1;for(let i=0;i<o;i++){let r=s(t[i],t[i+1]);if(e){let t=Array.isArray(e)?e[i]:e;r=(0,v.F)(t,r)}n.push(r)}return n}(e,o,a),c=u.length,h=e=>{let i=0;if(c>1)for(;i<t.length-2&&!(e<t[i+1]);i++);let n=(0,S.q)(t[i],t[i+1],e);return u[i](n)};return i?e=>h((0,s.q)(t[0],t[l-1],e)):h}},5687:(t,e,i)=>{"use strict";i.d(e,{B:()=>n});let n="undefined"!=typeof document},6316:(t,e,i)=>{"use strict";i.d(e,{j:()=>n});let n=(t,e,i)=>-i*t+i*e+t},5068:(t,e,i)=>{"use strict";i.d(e,{F:()=>r});let n=(t,e)=>i=>e(t(i)),r=(...t)=>t.reduce(n)},8361:(t,e,i)=>{"use strict";i.d(e,{_:()=>r});var n=i(2818);let r=(void 0===n||n.env,"production")},6781:(t,e,i)=>{"use strict";i.d(e,{q:()=>n});let n=(t,e,i)=>{let n=e-t;return 0===n?1:(i-t)/n}},7945:(t,e,i)=>{"use strict";i.d(e,{v:()=>r});var n=i(4093);class r{constructor(){this.subscriptions=[]}add(t){return(0,n.Kq)(this.subscriptions,t),()=>(0,n.Ai)(this.subscriptions,t)}notify(t,e,i){let n=this.subscriptions.length;if(n){if(1===n)this.subscriptions[0](t,e,i);else for(let r=0;r<n;r++){let n=this.subscriptions[r];n&&n(t,e,i)}}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}},9234:(t,e,i)=>{"use strict";i.d(e,{M:()=>r});var n=i(2115);function r(t){let e=(0,n.useRef)(null);return null===e.current&&(e.current=t()),e.current}},6390:(t,e,i)=>{"use strict";i.d(e,{W:()=>a});var n=i(2115),r=i(4741),s=i(4687);let o={any:0,all:1};function a(t,{root:e,margin:i,amount:l,once:u=!1}={}){let[c,h]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{if(!t.current||u&&c)return;let n={root:e&&e.current||void 0,margin:i,amount:"some"===l?"any":l};return function(t,e,{root:i,margin:n,amount:a="any"}={}){if("undefined"==typeof IntersectionObserver)return()=>{};let l=(0,r.K)(t),u=new WeakMap,c=new IntersectionObserver(t=>{t.forEach(t=>{let i=u.get(t.target);if(!!i!==t.isIntersecting){if(t.isIntersecting){let i=e(t);(0,s.T)(i)?u.set(t.target,i):c.unobserve(t.target)}else i&&(i(t),u.delete(t.target))}})},{root:i,rootMargin:n,threshold:"number"==typeof a?a:o[a]});return l.forEach(t=>c.observe(t)),()=>c.disconnect()}(t.current,()=>(h(!0),u?void 0:()=>h(!1)),n)},[e,t,i,u]),c}},5403:(t,e,i)=>{"use strict";i.d(e,{E:()=>r});var n=i(2115);let r=i(5687).B?n.useLayoutEffect:n.useEffect},6024:(t,e,i)=>{"use strict";i.d(e,{l:()=>r});var n=i(2115);function r(t){return(0,n.useEffect)(()=>()=>t(),[])}},2206:(t,e,i)=>{"use strict";function n(t,e){return e?1e3/e*t:0}i.d(e,{f:()=>n})},2184:(t,e,i)=>{"use strict";i.d(e,{m:()=>r});let n=new Set;function r(t,e,i){t||n.has(e)||(console.warn(e),i&&console.warn(i),n.add(e))}},3250:(t,e,i)=>{"use strict";i.d(e,{O:()=>u});var n=i(5730),r=i(378),s=i(7945),o=i(2206);let a=t=>!isNaN(parseFloat(t));class l{constructor(t,e={}){this.version="7.10.3",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(t,e=!0)=>{this.prev=this.current,this.current=t;let{delta:i,timestamp:s}=n.u;this.lastUpdated!==s&&(this.timeDelta=i,this.lastUpdated=s,r.OH.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),e&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>r.OH.postRender(this.velocityCheck),this.velocityCheck=({timestamp:t})=>{t!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=a(this.current),this.owner=e.owner}onChange(t){return this.on("change",t)}on(t,e){return this.events[t]||(this.events[t]=new s.v),this.events[t].add(e)}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t){this.passiveEffect=t}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=t,this.timeDelta=i}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?(0,o.f)(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.stopAnimation=t(e),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.stopAnimation&&(this.stopAnimation(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.stopAnimation}clearAnimation(){this.stopAnimation=null}destroy(){this.clearListeners(),this.stop()}}function u(t,e){return new l(t,e)}},1348:(t,e,i)=>{"use strict";i.d(e,{u:()=>r});var n=i(2664);let r={test:(0,i(8279).$)("#"),parse:function(t){let e="",i="",n="",r="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),n=t.substring(5,7),r=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),n=t.substring(3,4),r=t.substring(4,5),e+=e,i+=i,n+=n,r+=r),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(n,16),alph
9a:r?parseInt(r,16)/255:1}},transform:n.B.transform}},3020:(t,e,i)=>{"use strict";i.d(e,{V:()=>a});var n=i(1535),r=i(3406),s=i(3163),o=i(8279);let a={test:(0,o.$)("hsl","hue"),parse:(0,o.q)("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:o=1})=>"hsla("+Math.round(t)+", "+r.KN.transform((0,s.aj)(e))+", "+r.KN.transform((0,s.aj)(i))+", "+(0,s.aj)(n.X4.transform(o))+")"}},4064:(t,e,i)=>{"use strict";i.d(e,{y:()=>a});var n=i(3163),r=i(1348),s=i(3020),o=i(2664);let a={test:t=>o.B.test(t)||r.u.test(t)||s.V.test(t),parse:t=>o.B.test(t)?o.B.parse(t):s.V.test(t)?s.V.parse(t):r.u.parse(t),transform:t=>(0,n.Kg)(t)?t:t.hasOwnProperty("red")?o.B.transform(t):s.V.transform(t)}},2664:(t,e,i)=>{"use strict";i.d(e,{B:()=>u});var n=i(6611),r=i(1535),s=i(3163),o=i(8279);let a=t=>(0,n.q)(0,255,t),l={...r.ai,transform:t=>Math.round(a(t))},u={test:(0,o.$)("rgb","red"),parse:(0,o.q)("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:n=1})=>"rgba("+l.transform(t)+", "+l.transform(e)+", "+l.transform(i)+", "+(0,s.aj)(r.X4.transform(n))+")"}},8279:(t,e,i)=>{"use strict";i.d(e,{$:()=>r,q:()=>s});var n=i(3163);let r=(t,e)=>i=>!!((0,n.Kg)(i)&&n.Fl.test(i)&&i.startsWith(t)||e&&Object.prototype.hasOwnProperty.call(i,e)),s=(t,e,i)=>r=>{if(!(0,n.Kg)(r))return r;let[s,o,a,l]=r.match(n.SY);return{[t]:parseFloat(s),[e]:parseFloat(o),[i]:parseFloat(a),alpha:void 0!==l?parseFloat(l):1}}},9605:(t,e,i)=>{"use strict";i.d(e,{V:()=>l,f:()=>d});var n=i(4064),r=i(1535),s=i(3163);let o="${c}",a="${n}";function l(t){"number"==typeof t&&(t=`${t}`);let e=[],i=0,l=0,u=t.match(s.ne);u&&(i=u.length,t=t.replace(s.ne,o),e.push(...u.map(n.y.parse)));let c=t.match(s.SY);return c&&(l=c.length,t=t.replace(s.SY,a),e.push(...c.map(r.ai.parse))),{values:e,numColors:i,numNumbers:l,tokenised:t}}function u(t){return l(t).values}function c(t){let{values:e,numColors:i,tokenised:r}=l(t),u=e.length;return t=>{let e=r;for(let r=0;r<u;r++)e=e.replace(r<i?o:a,r<i?n.y.transform(t[r]):(0,s.aj)(t[r]));return e}}let h=t=>"number"==typeof t?0:t,d={test:function(t){var e,i;return isNaN(t)&&(0,s.Kg)(t)&&((null===(e=t.match(s.SY))||void 0===e?void 0:e.length)||0)+((null===(i=t.match(s.ne))||void 0===i?void 0:i.length)||0)>0},parse:u,createTransformer:c,getAnimatableNone:function(t){let e=u(t);return c(t)(e.map(h))}}},1535:(t,e,i)=>{"use strict";i.d(e,{X4:()=>s,ai:()=>r,hs:()=>o});var n=i(6611);let r={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},s={...r,transform:t=>(0,n.q)(0,1,t)},o={...r,default:1}},3406:(t,e,i)=>{"use strict";i.d(e,{KN:()=>o,gQ:()=>c,px:()=>a,uj:()=>s,vh:()=>l,vw:()=>u});var n=i(3163);let r=t=>({test:e=>(0,n.Kg)(e)&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),s=r("deg"),o=r("%"),a=r("px"),l=r("vh"),u=r("vw"),c={...o,parse:t=>o.parse(t)/100,transform:t=>o.transform(100*t)}},3163:(t,e,i)=>{"use strict";i.d(e,{Fl:()=>o,Kg:()=>a,SY:()=>r,aj:()=>n,ne:()=>s});let n=t=>Math.round(1e5*t)/1e5,r=/(-)?([\d]*\.?[\d])+/g,s=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,o=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function a(t){return"string"==typeof t}},7569:(t,e,i)=>{"use strict";let n,r;i.d(e,{L:()=>I}),Object.create,Object.create;var s=i(4741);let o=new WeakMap;function a({target:t,contentRect:e,borderBoxSize:i}){var n;null===(n=o.get(t))||void 0===n||n.forEach(n=>{n({target:t,contentSize:e,get size(){return function(t,e){if(e){let{inlineSize:t,blockSize:i}=e[0];return{width:t,height:i}}return t instanceof SVGElement&&"getBBox"in t?t.getBBox():{width:t.offsetWidth,height:t.offsetHeight}}(t,i)}})})}function l(t){t.forEach(a)}let u=new Set;var c=i(4687);let h=(t,e,i)=>e-t==0?1:(i-t)/(e-t),d=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),p=()=>({time:0,x:d(),y:d()}),f={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function m(t,e,i,n){var r;let s=i[e],{length:o,position:a}=f[e],l=s.current,u=i.time;s.current=t[`scroll${a}`],s.scrollLength=t[`scroll${o}`]-t[`client${o}`],s.offset.length=0,s.offset[0]=0,s.offset[1]=s.scrollLength,s.progress=h(0,s.scrollLength,s.current);let c=n-u;s.velocity=c>50?0:(r=s.current-l,c?1e3/c*r:0)}let v=t=>t,g=(t,e,i)=>-i*t+i*e+t;function y(t,e){let i=t[t.length-1];for(let n=1;n<=e;n++){let r=h(0,e,n);t.push(g(i,1,r))}}function x(t){let e=[0];return y(e,t-1),e}let b=t=>"number"==typeof t,w=t=>Array.isArray(t)&&!b(t[0]),S=(t,e,i)=>{let n=e-t;return((i-t)%n+n)%n+t},A=(t,e,i)=>Math.min(Math.max(i,t),e),E={All:[[0,0],[1,1]]},P=t=>"string"==typeof t,C={start:0,center:.5,end:1};function V(t,e,i=0){let n=0;if(void 0!==C[t]&&(t=C[t]),P(t)){let e=parseFloat(t);t.endsWith("px")?n=e:t.endsWith("%")?t=e/100:t.endsWith("vw")?n=e/100*document.documentElement.clientWidth:t.endsWith("vh")?n=e/100*document.documentElement.clientHeight:t=e}return b(t)&&(n=e*t),i+n}let j=[0,0],k={x:0,y:0},M=new WeakMap,T=new WeakMap,O=new WeakMap,_=t=>t===document.documentElement?window:t;var R=i(3250),L=i(9234),F=i(2115),D=i(5403);let B=()=>({scrollX:(0,R.O)(0),scrollY:(0,R.O)(0),scrollXProgress:(0,R.O)(0),scrollYProgress:(0,R.O)(0)});function I({container:t,target:e,layoutEffect:i=!0,...a}={}){let d=(0,L.M)(B);return(i?D.E:F.useEffect)(()=>(function(t,e={}){var{container:i=document.documentElement}=e,a=function(t,e){var i={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&0>e.indexOf(n)&&(i[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,n=Object.getOwnPropertySymbols(t);r<n.length;r++)0>e.indexOf(n[r])&&Object.prototype.propertyIsEnumerable.call(t,n[r])&&(i[n[r]]=t[n[r]]);return i}(e,["container"]);let d=O.get(i);d||(d=new Set,O.set(i,d));
9let f=function(t,e,i,n={}){var r;let s=n.axis||"y";return{measure:()=>(function(t,e=t,i){if(i.x.targetOffset=0,i.y.targetOffset=0,e!==t){let n=e;for(;n&&n!=t;)i.x.targetOffset+=n.offsetLeft,i.y.targetOffset+=n.offsetTop,n=n.offsetParent}i.x.targetLength=e===t?e.scrollWidth:e.clientWidth,i.y.targetLength=e===t?e.scrollHeight:e.clientHeight,i.x.containerLength=t.clientWidth,i.y.containerLength=t.clientHeight})(t,n.target,i),update:e=>{m(t,"x",i,e),m(t,"y",i,e),i.time=e,(n.offset||n.target)&&function(t,e,i){let{offset:n=E.All}=i,{target:r=t,axis:s="y"}=i,o="y"===s?"height":"width",a=r!==t?function(t,e){let i={x:0,y:0},n=t;for(;n&&n!==e;)if(n instanceof HTMLElement)i.x+=n.offsetLeft,i.y+=n.offsetTop,n=n.offsetParent;else if(n instanceof SVGGraphicsElement&&"getBBox"in n){let{top:t,left:e}=n.getBBox();for(i.x+=e,i.y+=t;n&&"svg"!==n.tagName;)n=n.parentNode}return i}(r,t):k,l=r===t?{width:t.scrollWidth,height:t.scrollHeight}:{width:r.clientWidth,height:r.clientHeight},u={width:t.clientWidth,height:t.clientHeight};e[s].offset.length=0;let c=!e[s].interpolate,d=n.length;for(let t=0;t<d;t++){let i=function(t,e,i,n){let r=Array.isArray(t)?t:j,s=0;return b(t)?r=[t,t]:P(t)&&(r=(t=t.trim()).includes(" ")?t.split(" "):[t,C[t]?t:"0"]),V(r[0],i,n)-V(r[1],e)}(n[t],u[o],l[o],a[s]);c||i===e[s].interpolatorOffsets[t]||(c=!0),e[s].offset[t]=i}c&&(e[s].interpolate=function(t,e=x(t.length),i=v){let n=t.length,r=n-e.length;return r>0&&y(e,r),r=>{var s;let o=0;for(;o<n-2&&!(r<e[o+1]);o++);let a=A(0,1,h(e[o],e[o+1],r));return a=(s=o,w(i)?i[S(0,i.length,s)]:i)(a),g(t[o],t[o+1],a)}}(x(d),e[s].offset),e[s].interpolatorOffsets=[...e[s].offset]),e[s].progress=e[s].interpolate(e[s].current)}(t,i,n)},notify:(0,c.T)(e)?()=>e(i):(r=i[s],e.pause(),e.forEachNative((t,{easing:e})=>{var i,n;if(t.updateDuration)e||(t.easing=v),t.updateDuration(1);else{let r={duration:1e3};e||(r.easing="linear"),null===(n=null===(i=t.effect)||void 0===i?void 0:i.updateTiming)||void 0===n||n.call(i,r)}}),()=>{e.currentTime=r.progress})}}(i,t,p(),a);if(d.add(f),!M.has(i)){let t=()=>{let t=performance.now();for(let t of d)t.measure();for(let e of d)e.update(t);for(let t of d)t.notify()};M.set(i,t);let e=_(i);window.addEventListener("resize",t,{passive:!0}),i!==document.documentElement&&T.set(i,(0,c.T)(i)?(u.add(i),r||(r=()=>{let t={width:window.innerWidth,height:window.innerHeight},e={target:window,size:t,contentSize:t};u.forEach(t=>t(e))},window.addEventListener("resize",r)),()=>{u.delete(i),!u.size&&r&&(r=void 0)}):function(t,e){n||"undefined"==typeof ResizeObserver||(n=new ResizeObserver(l));let i=(0,s.K)(t);return i.forEach(t=>{let i=o.get(t);i||(i=new Set,o.set(t,i)),i.add(e),null==n||n.observe(t)}),()=>{i.forEach(t=>{let i=o.get(t);null==i||i.delete(e),(null==i?void 0:i.size)||null==n||n.unobserve(t)})}}(i,t)),e.addEventListener("scroll",t,{passive:!0})}let R=requestAnimationFrame(M.get(i));return()=>{var e;"function"!=typeof t&&t.stop(),cancelAnimationFrame(R);let n=O.get(i);if(!n||(n.delete(f),n.size))return;let r=M.get(i);M.delete(i),r&&(_(i).removeEventListener("scroll",r),null===(e=T.get(i))||void 0===e||e(),window.removeEventListener("resize",r))}})(({x:t,y:e})=>{d.scrollX.set(t.current),d.scrollXProgress.set(t.progress),d.scrollY.set(e.current),d.scrollYProgress.set(e.progress)},{...a,container:(null==t?void 0:t.current)||void 0,target:(null==e?void 0:e.current)||void 0}),[]),d}},6650:(t,e,i)=>{"use strict";i.d(e,{G:()=>d});var n=i(9600);let r=t=>"object"==typeof t&&t.mix,s=t=>r(t)?t.mix:void 0;var o=i(2115),a=i(3250),l=i(7249),u=i(9234),c=i(5403),h=i(378);function d(t,e,i,r){let o="function"==typeof e?e:function(...t){let e=!Array.isArray(t[0]),i=e?0:-1,r=t[0+i],o=t[1+i],a=t[2+i],l=t[3+i],u=(0,n.G)(o,a,{mixer:s(a[0]),...l});return e?u(r):u}(e,i,r);return Array.isArray(t)?p(t,o):p([t],([t])=>o(t))}function p(t,e){let i=(0,u.M)(()=>[]);return function(t,e){var i,n;let r=function(t){let e=(0,u.M)(()=>(0,a.O)(t)),{isStatic:i}=(0,o.useContext)(l.Q);if(i){let[,i]=(0,o.useState)(t);(0,o.useEffect)(()=>e.on("change",i),[])}return e}(e()),s=()=>r.set(e());return s(),i=()=>h.OH.update(s,!1,!0),n=()=>h.eO.update(s),(0,c.E)(()=>{let e=t.map(t=>
9t.on("change",i));return()=>{e.forEach(t=>t()),n()}}),r}(t,()=>{i.length=0;let n=t.length;for(let e=0;e<n;e++)i[e]=t[e].get();return e(i)})}},4057:(t,e,i)=>{"use strict";i.d(e,{A:()=>l});var n=i(2115);let r=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,n.forwardRef)((t,e)=>{let{color:i="currentColor",size:r=24,strokeWidth:a=2,absoluteStrokeWidth:l,className:u="",children:c,iconNode:h,...d}=t;return(0,n.createElement)("svg",{ref:e,...o,width:r,height:r,stroke:i,strokeWidth:l?24*Number(a)/Number(r):a,className:s("lucide",u),...d},[...h.map(t=>{let[e,i]=t;return(0,n.createElement)(e,i)}),...Array.isArray(c)?c:[c]])}),l=(t,e)=>{let i=(0,n.forwardRef)((i,o)=>{let{className:l,...u}=i;return(0,n.createElement)(a,{ref:o,iconNode:e,className:s("lucide-".concat(r(t)),l),...u})});return i.displayName="".concat(t),i}},3998:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});let n=(0,i(4057).A)("ArrowUp",[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]])},2582:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});let n=(0,i(4057).A)("Code",[["polyline",{points:"16 18 22 12 16 6",key:"z7tu5w"}],["polyline",{points:"8 6 2 12 8 18",key:"1eg1df"}]])},8247:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});let n=(0,i(4057).A)("Cpu",[["rect",{width:"16",height:"16",x:"4",y:"4",rx:"2",key:"14l7u7"}],["rect",{width:"6",height:"6",x:"9",y:"9",rx:"1",key:"5aljv4"}],["path",{d:"M15 2v2",key:"13l42r"}],["path",{d:"M15 20v2",key:"15mkzm"}],["path",{d:"M2 15h2",key:"1gxd5l"}],["path",{d:"M2 9h2",key:"1bbxkp"}],["path",{d:"M20 15h2",key:"19e6y8"}],["path",{d:"M20 9h2",key:"19tzq7"}
9],["path",{d:"M9 2v2",key:"165o2o"}],["path",{d:"M9 20v2",key:"i2bqo8"}]])},632:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});let n=(0,i(4057).A)("Eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]])},1983:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});let n=(0,i(4057).A)("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"}]])},3408:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});let n=(0,i(4057).A)("Github",[["path",{d:"M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4",key:"tonef"}],["path",{d:"M9 18c-4.51 2-5-2-7-2",key:"9comsn"}]])},9523:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});let n=(0,i(4057).A)("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]])},2345:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});let n=(0,i(4057).A)("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"}]])},5548:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});let n=(0,i(4057).A)("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"}]])},7936:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});let n=(0,i(4057).A)("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]])},2591:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});let n=(0,i(4057).A)("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]])},9609:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});let n=(0,i(4057).A)("Send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]])},6535:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});let n=(0,i(4057).A)("Sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]])},4424:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});let n=(0,i(4057).A)("Twitch",[["path",{d:"M21 2H3v16h5v4l4-4h5l4-4V2zm-10 9V7m5 4V7",key:"c0yzno"}]])},689:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});let n=(0,i(4057).A)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},7246:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});let n=(0,i(4057).A)("Zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]])},3435:(t,e,i)=>{"use strict";i.d(e,{k5:()=>c});var n=i(2115),r={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},s=n.createContext&&n.createContext(r),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 n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t}).apply(this,arguments)}function l(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return i}function u(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};
9e%2?l(Object(i),!0).forEach(function(e){var n,r;n=e,r=i[e],(n=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(n))in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r}):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=>n.createElement(h,a({attr:u({},t.attr)},e),function t(e){return e&&e.map((e,i)=>n.createElement(e.tag,u({key:i},e.attr),t(e.child)))}(t.child))}function h(t){var e=e=>{var i,{attr:r,size:s,title:l}=t,c=function(t,e){if(null==t)return{};var i,n,r=function(t,e){if(null==t)return{};var i={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;i[n]=t[n]}return i}(t,e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);for(n=0;n<s.length;n++)i=s[n],!(e.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(t,i)&&(r[i]=t[i])}return r}(t,o),h=s||e.size||"1em";return e.className&&(i=e.className),t.className&&(i=(i?i+" ":"")+t.className),n.createElement("svg",a({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},e.attr,r,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&&n.createElement("title",null,l),t.children)};return void 0!==s?n.createElement(s.Consumer,null,t=>e(t)):e(r)}}}]);
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.