PageSourceSearch

https://nymfcu.org/_next/static/chunks/885-4b9ab139022bad9d.js

js nymfcu.org collected 2026-09-24 14:26:22 UTC 153,036 bytes, 16 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[885],{1462:function(t,e,i){"use strict";i.d(e,{Z:function(){return l}});var n=i(7294);/**
2 * @license lucide-react v0.383.0 - ISC
3 *
4 * This source code is licensed under the ISC license.
5 * See the LICENSE file in the root directory of this source tree.
6 */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&&i.indexOf(t)===e).join(" ")};/**
7 * @license lucide-react v0.383.0 - ISC
8 *
9 * This source code is licensed under the ISC license.
10 * See the LICENSE file in the root directory of this source tree.
11 */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"};/**
12 * @license lucide-react v0.383.0 - ISC
13 *
14 * This source code is licensed under the ISC license.
15 * See the LICENSE file in the root directory of this source tree.
16 */let a=(0,n.forwardRef)((t,e)=>{let{color:i="currentColor",size:r=24,strokeWidth:a=2,absoluteStrokeWidth:l,className:u="",children:h,iconNode:d,...c}=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),...c},[...d.map(t=>{let[e,i]=t;return(0,n.createElement)(e,i)}),...Array.isArray(h)?h:[h]])}),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}},6541:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Image",{enumerable:!0,get:function(){return b}});let n=i(8754),r=i(1757),s=i(5893),o=r._(i(7294)),a=n._(i(3935)),l=n._(i(7828)),u=i(7367),h=i(7903),d=i(4938);i(1997);let c=i(9953),p=n._(i(6663)),f={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:!0};function m(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 v(t){let[e,i]=o.version.split(".",2),n=parseInt(e,10),r=parseInt(i,10);return n>18||18===n&&r>=3?{fetchPriority:t}:{fetchpriority:t}}let g=(0,o.forwardRef)((t,e)=>{let{src:i,srcSet:n,sizes:r,height:a,width:l,decoding:u,className:h,style:d,fetchPriority:c,placeholder:p,loading:f,unoptimized:g,fill:y,onLoadRef:b,onLoadingCompleteRef:P,setBlurComplete:T,setShowAltText:x,sizesInput:w,onLoad:E,onError:S,...A}=t;return(0,s.jsx)("img",{...A,...v(c),loading:f,width:l,height:a,decoding:u,"data-nimg":y?"fill":"1",className:h,style:d,sizes:r,srcSet:n,src:i,ref:(0,o.useCallback)(t=>{e&&("function"==typeof e?e(t):"object"==typeof e&&(e.current=t)),t&&(S&&(t.src=t.src),t.complete&&m(t,p,b,P,T,g,w))},[i,p,b,P,T,S,g,w,e]),onLoad:t=>{m(t.currentTarget,p,b,P,T,g,w)},onError:t=>{x(!0),"empty"!==p&&T(!0),S&&S(t)}})});function y(t){let{isAppRouter:e,imgAttributes:i}=t,n={as:"image",imageSrcSet:i.srcSet,imageSizes:i.sizes,crossOrigin:i.crossOrigin,referrerPolicy:i.referrerPolicy,...v(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)(c.RouterContext),n=(0,o.useContext)(d.ImageConfigContext),r=(0,o.useMemo)(()=>{let t=f||n||h.imageConfigDefault,e=[...t.deviceSizes,...t.imageSizes].sort((t,e)=>t-e),i=t.deviceSizes.sort((t,e)=>t-e);return{...t,allSizes:e,deviceSizes:i}},[n]),{onLoad:a,onLoadingComplete:l}=t,m=(0,o.useRef)(a);(0,o.useEffect)(()=>{m.current=a},[a]);let v=(0,o.useRef)(l);(0,o.useEffect)(()=>{v.current=l},[l]);let[b,P]=(0,o.useState)(!1),[T,x]=(0,o.useState)(!1),{props:w,meta:E}=(0,u.getImgProps)(t,{defaultLoader:p.default,imgConf:r,blurComplete:b,showAltText:T});return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(g,{...w,unoptimized:E.unoptimized,placeholder:E.placeholder,fill:E.fill,onLoadRef:m,onLoadingCompleteRef:v,setBlurComplete:P,setShowAltText:x,sizesInput:t.sizes,ref:e}),E.priority?(0,s.jsx)(y,{isAppRouter:!i,imgAttributes:w}):null]})});("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esMo
16dule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},7367:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getImgProps",{enumerable:!0,get:function(){return a}}),i(1997);let n=i(9919),r=i(7903);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;let a,l,u,{src:h,sizes:d,unoptimized:c=!1,priority:p=!1,loading:f,className:m,quality:v,width:g,height:y,fill:b=!1,style:P,overrideSrc:T,onLoad:x,onLoadingComplete:w,placeholder:E="empty",blurDataURL:S,fetchPriority:A,layout:C,objectFit:M,objectPosition:k,lazyBoundary:L,lazyRoot:V,...D}=t,{imgConf:R,showAltText:F,blurComplete:j,defaultLoader:O}=e,B=R||r.imageConfigDefault;if("allSizes"in B)a=B;else{let t=[...B.deviceSizes,...B.imageSizes].sort((t,e)=>t-e),e=B.deviceSizes.sort((t,e)=>t-e);a={...B,allSizes:t,deviceSizes:e}}if(void 0===O)throw Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config");let I=D.loader||O;delete D.loader,delete D.srcSet;let W="__next_img_default"in I;if(W){if("custom"===a.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=I;I=e=>{let{config:i,...n}=e;return t(n)}}if(C){"fill"===C&&(b=!0);let t={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[C];t&&(P={...P,...t});let e={responsive:"100vw",fill:"100vw"}[C];e&&!d&&(d=e)}let N="",U=o(g),K=o(y);if("object"==typeof(i=h)&&(s(i)||void 0!==i.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(l=t.blurWidth,u=t.blurHeight,S=S||t.blurDataURL,N=t.src,!b){if(U||K){if(U&&!K){let e=U/t.width;K=Math.round(t.height*e)}else if(!U&&K){let e=K/t.height;U=Math.round(t.width*e)}}else U=t.width,K=t.height}}let z=!p&&("lazy"===f||void 0===f);(!(h="string"==typeof h?h:N)||h.startsWith("data:")||h.startsWith("blob:"))&&(c=!0,z=!1),a.unoptimized&&(c=!0),W&&h.endsWith(".svg")&&!a.dangerouslyAllowSVG&&(c=!0),p&&(A="high");let H=o(v),$=Object.assign(b?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:M,objectPosition:k}:{},F?{}:{color:"transparent"},P),_=j||"empty"===E?null:"blur"===E?'url("data:image/svg+xml;charset=utf-8,'+(0,n.getImageBlurSvg)({widthInt:U,heightInt:K,blurWidth:l,blurHeight:u,blurDataURL:S||"",objectFit:$.objectFit})+'")':'url("'+E+'")',Z=_?{backgroundSize:$.objectFit||"cover",backgroundPosition:$.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:_}:{},Y=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),h=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[h]})}}({config:a,src:h,unoptimized:c,width:U,quality:H,sizes:d,loader:I});return{props:{...D,loading:z?"lazy":f,fetchPriority:A,width:U,height:K,decoding:"async",className:m,style:{...$,...Z},sizes:Y.sizes,srcSet:Y.srcSet,src:T||Y.src},meta:{unoptimized:c,priority:p,placeholder:E,fill:b}}}},9919:function(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%3Cfe
16ColorMatrix 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}})},5666:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var i in e)Object.defineProperty(t,i,{enumerable:!0,get:e[i]})}(e,{default:function(){return l},getImageProps:function(){return a}});let n=i(8754),r=i(7367),s=i(6541),o=n._(i(6663));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:!0}});for(let[t,i]of Object.entries(e))void 0===i&&delete e[t];return{props:e}}let l=s.Image},6663:function(t,e){"use strict";function i(t){let{config:e,src:i,width:n,quality:r}=t;return e.path+"?url="+encodeURIComponent(i)+"&w="+n+"&q="+(r||75)}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return n}}),i.__next_img_default=!0;let n=i},5675:function(t,e,i){t.exports=i(5666)},6590:function(t,e,i){"use strict";i.d(e,{e:function(){return a}});var n=i(8837),r=i(5007),s=i(7604),o=i(9975);function a(t){let e=(0,n.r)(t);if("virtual"===(0,o.Jz)()){let i=e.activeElement;(0,r.Q)(()=>{e.activeElement===i&&t.isConnected&&(0,s.A)(t)})}else(0,s.A)(t)}},4942:function(t,e,i){"use strict";i.d(e,{O:function(){return n}});let n=i(7294).createContext({register:()=>{}});n.displayName="PressResponderContext"},9975:function(t,e,i){"use strict";i.d(e,{E:function(){return T},Jz:function(){return x},mG:function(){return E}});var n=i(8806),r=i(6301),s=i(8837),o=i(7294);let a=null,l=new Set,u=new Map,h=!1,d=!1,c={Tab:!0,Escape:!0};function p(t,e){for(let i of l)i(t,e)}function f(t){h=!0,t.metaKey||!(0,n.V5)()&&t.altKey||t.ctrlKey||"Control"===t.key||"Shift"===t.key||"Meta"===t.key||(a="keyboard",p("keyboard",t))}
16function m(t){a="pointer",("mousedown"===t.type||"pointerdown"===t.type)&&(h=!0,p("pointer",t))}function v(t){(0,r.Z)(t)&&(h=!0,a="virtual")}function g(t){t.target!==window&&t.target!==document&&(h||d||(a="virtual",p("virtual",t)),h=!1,d=!1)}function y(){h=!1,d=!0}function b(t){if("undefined"==typeof window||u.get((0,s.k)(t)))return;let e=(0,s.k)(t),i=(0,s.r)(t),n=e.HTMLElement.prototype.focus;e.HTMLElement.prototype.focus=function(){h=!0,n.apply(this,arguments)},i.addEventListener("keydown",f,!0),i.addEventListener("keyup",f,!0),i.addEventListener("click",v,!0),e.addEventListener("focus",g,!0),e.addEventListener("blur",y,!1),"undefined"!=typeof PointerEvent?(i.addEventListener("pointerdown",m,!0),i.addEventListener("pointermove",m,!0),i.addEventListener("pointerup",m,!0)):(i.addEventListener("mousedown",m,!0),i.addEventListener("mousemove",m,!0),i.addEventListener("mouseup",m,!0)),e.addEventListener("beforeunload",()=>{P(t)},{once:!0}),u.set(e,{focus:n})}let P=(t,e)=>{let i=(0,s.k)(t),n=(0,s.r)(t);e&&n.removeEventListener("DOMContentLoaded",e),u.has(i)&&(i.HTMLElement.prototype.focus=u.get(i).focus,n.removeEventListener("keydown",f,!0),n.removeEventListener("keyup",f,!0),n.removeEventListener("click",v,!0),i.removeEventListener("focus",g,!0),i.removeEventListener("blur",y,!1),"undefined"!=typeof PointerEvent?(n.removeEventListener("pointerdown",m,!0),n.removeEventListener("pointermove",m,!0),n.removeEventListener("pointerup",m,!0)):(n.removeEventListener("mousedown",m,!0),n.removeEventListener("mousemove",m,!0),n.removeEventListener("mouseup",m,!0)),u.delete(i))};function T(){return"pointer"!==a}function x(){return a}"undefined"!=typeof document&&function(t){let e;let i=(0,s.r)(void 0);"loading"!==i.readyState?b(void 0):(e=()=>{b(void 0)},i.addEventListener("DOMContentLoaded",e)),()=>P(t,e)}();let w=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function E(t,e,i){b(),(0,o.useEffect)(()=>{let e=(e,n)=>{(function(t,e,i){var n;let r="undefined"!=typeof window?(0,s.k)(null==i?void 0:i.target).HTMLInputElement:HTMLInputElement,o="undefined"!=typeof window?(0,s.k)(null==i?void 0:i.target).HTMLTextAreaElement:HTMLTextAreaElement,a="undefined"!=typeof window?(0,s.k)(null==i?void 0:i.target).HTMLElement:HTMLElement,l="undefined"!=typeof window?(0,s.k)(null==i?void 0:i.target).KeyboardEvent:KeyboardEvent;return!((t=t||(null==i?void 0:i.target)instanceof r&&!w.has(null==i?void 0:null===(n=i.target)||void 0===n?void 0:n.type)||(null==i?void 0:i.target)instanceof o||(null==i?void 0:i.target)instanceof a&&(null==i?void 0:i.target.isContentEditable))&&"keyboard"===e&&i instanceof l&&!c[i.key])})(!!(null==i?void 0:i.isTextInput),e,n)&&t(T())};return l.add(e),()=>{l.delete(e)}},e)}},4971:function(t,e,i){"use strict";i.d(e,{L:function(){return s}});var n=i(4247),r=i(7294);function s(t){let{isDisabled:e,onBlurWithin:i,onFocusWithin:s,onFocusWithinChange:o}=t,a=(0,r.useRef)({isFocusWithin:!1}),l=(0,r.useCallback)(t=>{a.current.isFocusWithin&&!t.currentTarget.contains(t.relatedTarget)&&(a.current.isFocusWithin=!1,i&&i(t),o&&o(!1))},[i,o,a]),u=(0,n.d)(l),h=(0,r.useCallback)(t=>{a.current.isFocusWithin||document.activeElement!==t.target||(s&&s(t),o&&o(!0),a.current.isFocusWithin=!0,u(t))},[s,o,u]);return e?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:h,onBlur:l}}}},4247:function(t,e,i){"use strict";i.d(e,{d:function(){return a}});var n=i(7294),r=i(9786),s=i(1718);class o{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(t,e){this.nativeEvent=e,this.target=e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget,this.bubbles=e.bubbles,this.cancelable=e.cancelable,this.defaultPrevented=e.defaultPrevented,this.eventPhase=e.eventPhase,this.isTrusted=e.isTrusted,this.timeStamp=e.timeStamp,this.type=t}}function a(t){let e=(0,n.useRef)({isFocused:!1,observer:null});(0,r.b)(()=>{let t=e.current;return()=>{t.observer&&(t.observer.disconnect(),t.observer=null)}},[]);let i=(0,s.i)(e=>{null==t||t(e)});return(0,n.useCallback)(t=>{if(t.target instanceof HTMLButtonElement||t.target instanceof HTMLInputElement||t.target instanceof HTMLTextAreaElement||t.target instanceof HTMLSelectElement){e.current.isFocused=!0;let n=t.target;n.addEventListener("focusout",t=>{e.current.isFocused=!1,n.disabled&&i(new o("blur",t)),e.current.observer&&(e.current.observer.disconnect(),e.current.observer=null)},{once:!0}),e.current.observer=new MutationObserver(()=>{if(e.current.isFocused&&n.disabled){var t;null===(t=e.current.observer)||void 0===t||t.disconnect();
16let i=n===document.activeElement?null:document.activeElement;n.dispatchEvent(new FocusEvent("blur",{relatedTarget:i})),n.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:i}))}}),e.current.observer.observe(n,{attributes:!0,attributeFilter:["disabled"]})}},[i])}},7385:function(t,e,i){"use strict";i.d(e,{Av:function(){return p},gP:function(){return u}});var n=i(7294);let r={prefix:String(Math.round(1e10*Math.random())),current:0},s=n.createContext(r),o=n.createContext(!1),a=!!("undefined"!=typeof window&&window.document&&window.document.createElement),l=new WeakMap,u="function"==typeof n.useId?function(t){let e=n.useId(),[i]=(0,n.useState)(p()),s=i?"react-aria":`react-aria${r.prefix}`;return t||`${s}-${e}`}:function(t){let e=(0,n.useContext)(s);e!==r||a||console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");let i=function(t=!1){let e=(0,n.useContext)(s),i=(0,n.useRef)(null);if(null===i.current&&!t){var r,o;let t=null===(o=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)||void 0===o?void 0:null===(r=o.ReactCurrentOwner)||void 0===r?void 0:r.current;if(t){let i=l.get(t);null==i?l.set(t,{id:e.current,state:t.memoizedState}):t.memoizedState!==i.state&&(e.current=i.id,l.delete(t))}i.current=++e.current}return i.current}(!!t),o=`react-aria${e.prefix}`;return t||`${o}-${i}`};function h(){return!1}function d(){return!0}function c(t){return()=>{}}function p(){return"function"==typeof n.useSyncExternalStore?n.useSyncExternalStore(c,h,d):(0,n.useContext)(o)}},1086:function(t,e,i){"use strict";function n(...t){return(...e)=>{for(let i of t)"function"==typeof i&&i(...e)}}i.d(e,{t:function(){return n}})},8837:function(t,e,i){"use strict";i.d(e,{k:function(){return r},r:function(){return n}});let n=t=>{var e;return null!==(e=null==t?void 0:t.ownerDocument)&&void 0!==e?e:document},r=t=>t&&"window"in t&&t.window===t?t:n(t).defaultView||window},3136:function(t,e,i){"use strict";i.d(e,{z:function(){return a}});let n=new Set(["id"]),r=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),s=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),o=/^(data-.*)$/;function a(t,e={}){let{labelable:i,isLink:a,propNames:l}=e,u={};for(let e in t)Object.prototype.hasOwnProperty.call(t,e)&&(n.has(e)||i&&r.has(e)||a&&s.has(e)||(null==l?void 0:l.has(e))||o.test(e))&&(u[e]=t[e]);return u}},7604:function(t,e,i){"use strict";function n(t){if(function(){if(null==r){r=!1;try{document.createElement("div").focus({get preventScroll(){return r=!0,!0}})}catch(t){}}return r}())t.focus({preventScroll:!0});else{let e=function(t){let e=t.parentNode,i=[],n=document.scrollingElement||document.documentElement;for(;e instanceof HTMLElement&&e!==n;)(e.offsetHeight<e.scrollHeight||e.offsetWidth<e.scrollWidth)&&i.push({element:e,scrollTop:e.scrollTop,scrollLeft:e.scrollLeft}),e=e.parentNode;return n instanceof HTMLElement&&i.push({element:n,scrollTop:n.scrollTop,scrollLeft:n.scrollLeft}),i}(t);t.focus(),function(t){for(let{element:e,scrollTop:i,scrollLeft:n}of t)e.scrollTop=i,e.scrollLeft=n}(e)}}i.d(e,{A:function(){return n}});let r=null},6301:function(t,e,i){"use strict";i.d(e,{Z:function(){return r},c:function(){return s}});var n=i(8806);function r(t){return 0===t.mozInputSource&&!!t.isTrusted||((0,n.Dt)()&&t.pointerType?"click"===t.type&&1===t.buttons:0===t.detail&&!t.pointerType)}function s(t){return!(0,n.Dt)()&&0===t.width&&0===t.height||1===t.width&&1===t.height&&0===t.pressure&&0===t.detail&&"mouse"===t.pointerType}},8349:function(t,e,i){"use strict";i.d(e,{d:function(){return o}});var n=i(1086),r=i(9188),s=i(512);function o(...t){let e={...t[0]};for(let i=1;i<t.length;i++){let o=t[i];for(let t in o){let i=e[t],a=o[t];"function"==typeof i&&"function"==typeof a&&"o"===t[0]&&"n"===t[1]&&t.charCodeAt(2)>=65&&90>=t.charCodeAt(2)?e[t]=(0,n.t)(i,a):("className"===t||"UNSAFE_className"===t)&&"string"==typeof i&&"string"==typeof a?e[t]=(0,s.Z)(i,a):"id"===t&&i&&a?e.id=(0,r.ur)(i,a):e[t]=void 0!==a?a:i}}return e}}
16,6303:function(t,e,i){"use strict";function n(...t){return 1===t.length?t[0]:e=>{for(let i of t)"function"==typeof i?i(e):null!=i&&(i.current=e)}}i.d(e,{l:function(){return n}})},8806:function(t,e,i){"use strict";function n(t){var e;return"undefined"!=typeof window&&null!=window.navigator&&((null===(e=window.navigator.userAgentData)||void 0===e?void 0:e.brands.some(e=>t.test(e.brand)))||t.test(window.navigator.userAgent))}function r(t){var e;return"undefined"!=typeof window&&null!=window.navigator&&t.test((null===(e=window.navigator.userAgentData)||void 0===e?void 0:e.platform)||window.navigator.platform)}function s(){return r(/^Mac/i)}function o(){return r(/^iPad/i)||s()&&navigator.maxTouchPoints>1}function a(){return r(/^iPhone/i)||o()}function l(){return n(/AppleWebKit/i)&&!n(/Chrome/i)}function u(){return n(/Android/i)}function h(){return n(/Firefox/i)}i.d(e,{Dt:function(){return u},Pf:function(){return l},V5:function(){return s},gn:function(){return a},vU:function(){return h},zc:function(){return o}})},5007:function(t,e,i){"use strict";i.d(e,{Q:function(){return o}});let n=new Map,r=new Set;function s(){if("undefined"==typeof window)return;function t(t){return"propertyName"in t}let e=i=>{if(!t(i)||!i.target)return;let s=n.get(i.target);if(s&&(s.delete(i.propertyName),0===s.size&&(i.target.removeEventListener("transitioncancel",e),n.delete(i.target)),0===n.size)){for(let t of r)t();r.clear()}};document.body.addEventListener("transitionrun",i=>{if(!t(i)||!i.target)return;let r=n.get(i.target);r||(r=new Set,n.set(i.target,r),i.target.addEventListener("transitioncancel",e,{once:!0})),r.add(i.propertyName)}),document.body.addEventListener("transitionend",e)}function o(t){requestAnimationFrame(()=>{0===n.size?t():r.add(t)})}"undefined"!=typeof document&&("loading"!==document.readyState?s():document.addEventListener("DOMContentLoaded",s))},1718:function(t,e,i){"use strict";i.d(e,{i:function(){return s}});var n=i(9786),r=i(7294);function s(t){let e=(0,r.useRef)(null);return(0,n.b)(()=>{e.current=t},[t]),(0,r.useCallback)((...t)=>{let i=e.current;return null==i?void 0:i(...t)},[])}},9188:function(t,e,i){"use strict";i.d(e,{ur:function(){return h},Me:function(){return u},mp:function(){return d}});var n=i(9786),r=i(1718),s=i(7294),o=i(7385);let a=!!("undefined"!=typeof window&&window.document&&window.document.createElement),l=new Map;function u(t){let[e,i]=(0,s.useState)(t),r=(0,s.useRef)(null),u=(0,o.gP)(e),h=(0,s.useCallback)(t=>{r.current=t},[]);return a&&l.set(u,h),(0,n.b)(()=>()=>{l.delete(u)},[u]),(0,s.useEffect)(()=>{let t=r.current;t&&(r.current=null,i(t))}),u}function h(t,e){if(t===e)return t;let i=l.get(t);if(i)return i(e),e;let n=l.get(e);return n?(n(t),t):e}function d(t=[]){let e=u(),[i,o]=function(t){let[e,i]=(0,s.useState)(t),o=(0,s.useRef)(null),a=(0,r.i)(()=>{if(!o.current)return;let t=o.current.next();if(t.done){o.current=null;return}e===t.value?a():i(t.value)});(0,n.b)(()=>{o.current&&a()});let l=(0,r.i)(t=>{o.current=t(e),a()});return[e,l]}(e),a=(0,s.useCallback)(()=>{o(function*(){yield e,yield document.getElementById(e)?e:void 0})},[e,o]);return(0,n.b)(a,[e,a,...t]),i}},9786:function(t,e,i){"use strict";i.d(e,{b:function(){return r}});var n=i(7294);let r="undefined"!=typeof document?n.useLayoutEffect:()=>{}},7189:function(t,e,i){"use strict";i.d(e,{B:function(){return r}});var n=i(7294);function r(t){let e=(0,n.useRef)(null);return(0,n.useMemo)(()=>({get current(){return e.current},set current(value){e.current=value,"function"==typeof t?t(value):t&&(t.current=value)}}),[t])}},2970:function(t,e,i){"use strict";i.d(e,{l:function(){return r}});var n=i(9786);function r(t,e){(0,n.b)(()=>{if(t&&t.ref&&e)return t.ref.current=e.current,()=>{t.ref&&(t.ref.current=null)}})}},512:function(t,e,i){"use strict";e.Z=function(){for(var t,e,i=0,n="",r=arguments.length;i<r;i++)(t=arguments[i])&&(e=function t(e){var i,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e){if(Array.isArray(e)){var s=e.length;for(i=0;i<s;i++)e[i]&&(n=t(e[i]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n)}return r}(t))&&(n&&(n+=" "),n+=e);return n}}
16,5364:function(t,e,i){"use strict";i.d(e,{p:function(){return n}});let n=(0,i(7294).createContext)({})},6014:function(t,e,i){"use strict";i.d(e,{_:function(){return n}});let n=(0,i(7294).createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"})},240:function(t,e,i){"use strict";i.d(e,{O:function(){return n}});let n=(0,i(7294).createContext)(null)},9727:function(t,e,i){"use strict";i.d(e,{Z:function(){return o}});var n=i(2081);class r{constructor(){this.order=[],this.scheduled=new Set}add(t){if(!this.scheduled.has(t))return this.scheduled.add(t),this.order.push(t),!0}remove(t){let e=this.order.indexOf(t);-1!==e&&(this.order.splice(e,1),this.scheduled.delete(t))}clear(){this.order.length=0,this.scheduled.clear()}}let s=["read","resolveKeyframes","update","preRender","render","postRender"];function o(t,e){let i=!1,o=!0,a={delta:0,timestamp:0,isProcessing:!1},l=s.reduce((t,e)=>(t[e]=function(t){let e=new r,i=new r,n=0,s=!1,o=!1,a=new WeakSet,l={schedule:(t,r=!1,o=!1)=>{let l=o&&s,u=l?e:i;return r&&a.add(t),u.add(t)&&l&&s&&(n=e.order.length),t},cancel:t=>{i.remove(t),a.delete(t)},process:r=>{if(s){o=!0;return}if(s=!0,[e,i]=[i,e],i.clear(),n=e.order.length)for(let i=0;i<n;i++){let n=e.order[i];a.has(n)&&(l.schedule(n),t()),n(r)}s=!1,o&&(o=!1,l.process(r))}};return l}(()=>i=!0),t),{}),u=t=>{l[t].process(a)},h=()=>{let r=n.c.useManualTiming?a.timestamp:performance.now();i=!1,a.delta=o?1e3/60:Math.max(Math.min(r-a.timestamp,40),1),a.timestamp=r,a.isProcessing=!0,s.forEach(u),a.isProcessing=!1,i&&e&&(o=!1,t(h))},d=()=>{i=!0,o=!0,a.isProcessing||t(h)};return{schedule:s.reduce((t,e)=>{let n=l[e];return t[e]=(t,e=!1,r=!1)=>(i||d(),n.schedule(t,e,r)),t},{}),cancel:t=>s.forEach(e=>l[e].cancel(t)),state:a,steps:l}}},6166:function(t,e,i){"use strict";i.d(e,{Pn:function(){return s},S6:function(){return a},Wi:function(){return r},frameData:function(){return o}});var n=i(1662);let{schedule:r,cancel:s,state:o,steps:a}=(0,i(9727).Z)("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:n.Z,!0)},1610:function(t,e,i){"use strict";let n;i.d(e,{E:function(){return se}});var r,s=i(5893),o=i(7294),a=i(6014);let l=(0,o.createContext)({});var u=i(240),h=i(8868);let d=(0,o.createContext)({strict:!1}),c=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),p="data-"+c("framerAppearId"),{schedule:f,cancel:m}=(0,i(9727).Z)(queueMicrotask,!1);function v(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}let g=(0,o.createContext)({}),y=!1;function b(){window.HandoffComplete=!0}function P(t){return"string"==typeof t||Array.isArray(t)}function T(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}let x=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],w=["initial",...x];function E(t){return T(t.animate)||w.some(e=>P(t[e]))}function S(t){return!!(E(t)||t.variants)}function A(t){return Array.isArray(t)?t.join(" "):t}let C={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},M={};for(let t in C)M[t]={isEnabled:e=>C[t].some(t=>!!e[t])};var k=i(1741),L=i(5364);let V=Symbol.for("motionComponentSymbol"),D=["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 R(t){if("string"!=typeof t||t.includes("-"));else if(D.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}let F={},j=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],O=new Set(j);function B(t,{layout:e,layoutId:i}){return O.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!F[t]||"opacity"===t)}let I=t=>!!(t&&t.getVelocity),W={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},N=j.length,U=t=>e=>"string"==typeof e&&e.startsWith(t),K=U("--"),z=U("var(--"),H=t=>!!z(t)&&$.test(t.split("/*")[0].trim()),$=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,_=(t,e)=>e&&"number"==typeof t?e.transform(t):t,Z=(t,e,i)=>i>e?e:i<t?t:i,Y={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},G={...Y,transform:t=>Z(0,1,t)},X={...Y,default:1},q=t=>Math.round(1e5*t)/1e5,J=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,Q=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,tt=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;function te(t){return"string"==typeof t}let ti=t=>({test:e=>te(e)&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),tn=ti("deg"),tr=ti("%"),ts=ti("px"),to=ti("vh"),ta=ti("vw"),tl={...tr,parse:t=>tr.parse(t)/100,transform:t=>tr.transform(100*t)},tu={...Y,transform:Math.round},th={borderWidth:ts,borderTopWidth:ts,borderRightWidth:ts,borderBottomWidth:ts,borderLeftWidth:ts,borderRadius:ts,radius:ts,borderTopLeftRadius:ts,borderTopRightRadius:ts,borderBottomRightRadius:ts,borderBottomLeftRadius:ts,width:ts,maxWidth:ts,height:ts,maxHeight:ts,size:ts,top:ts,right:ts,bottom:ts,left:ts,padding:ts,paddingTop:ts,paddingRight:ts,paddingBottom:ts,paddingLeft:ts,margin:ts,marginTop:ts,marginRight:ts,marginBottom:ts,marginLeft:ts,rotate:tn,rotateX:tn,rotateY:tn,rotateZ:tn,scale:X,scaleX:X,scaleY:X,scaleZ:X,skew:tn,skewX:tn,skewY:tn,distance:ts,translateX:ts,translateY:ts,translateZ:ts,x:ts,y:ts,z:ts,perspective:ts,transformPerspective:ts,opacity:G,originX:tl,originY:tl,originZ:ts,zIndex:tu,backgroundPositionX:ts,backgroundPositionY:ts,fillOpacity:G,strokeOpacity:G,numOctaves:tu};function td(t,e,i,n){let{style:r,vars:s,transform:o,transformOrigin:a}=t,l=!1,u=!1,h=!0;for(let t in e){let i=e[t];if(K(t)){s[t]=i;continue}let n=th[t],d=_(i,n);if(O.has(t)){if(l=!0,o[t]=d,!h)continue;i!==(n.default||0)&&(h=!1)}else t.startsWith("origin")?(u=!0,a[t]=d):r[t]=d}if(!e.transform&&(l||n?r.transform=function(t,{enableHardwareAcceleration:e=!0,allowTransformNone:i=!0}
16,n,r){let s="";for(let e=0;e<N;e++){let i=j[e];if(void 0!==t[i]){let e=W[i]||i;s+=`${e}(${t[i]}) `}}return e&&!t.z&&(s+="translateZ(0)"),s=s.trim(),r?s=r(t,n?"":s):i&&n&&(s="none"),s}(t.transform,i,h,n):r.transform&&(r.transform="none")),u){let{originX:t="50%",originY:e="50%",originZ:i=0}=a;r.transformOrigin=`${t} ${e} ${i}`}}let tc=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function tp(t,e,i){for(let n in e)I(e[n])||B(n,i)||(t[n]=e[n])}let tf=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function tm(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||tf.has(t)}let tv=t=>!tm(t);try{(r=require("@emotion/is-prop-valid").default)&&(tv=t=>t.startsWith("on")?!tm(t):r(t))}catch(t){}function tg(t,e,i){return"string"==typeof t?t:ts.transform(e+i*t)}let ty={offset:"stroke-dashoffset",array:"stroke-dasharray"},tb={offset:"strokeDashoffset",array:"strokeDasharray"};function tP(t,{attrX:e,attrY:i,attrScale:n,originX:r,originY:s,pathLength:o,pathSpacing:a=1,pathOffset:l=0,...u},h,d,c){if(td(t,u,h,c),d){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:p,style:f,dimensions:m}=t;p.transform&&(m&&(f.transform=p.transform),delete p.transform),m&&(void 0!==r||void 0!==s||f.transform)&&(f.transformOrigin=function(t,e,i){let n=tg(e,t.x,t.width),r=tg(i,t.y,t.height);return`${n} ${r}`}(m,void 0!==r?r:.5,void 0!==s?s:.5)),void 0!==e&&(p.x=e),void 0!==i&&(p.y=i),void 0!==n&&(p.scale=n),void 0!==o&&function(t,e,i=1,n=0,r=!0){t.pathLength=1;let s=r?ty:tb;t[s.offset]=ts.transform(-n);let o=ts.transform(e),a=ts.transform(i);t[s.array]=`${o} ${a}`}(p,o,a,l,!1)}let tT=()=>({...tc(),attrs:{}}),tx=t=>"string"==typeof t&&"svg"===t.toLowerCase();function tw(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 tE=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 tS(t,e,i,n){for(let i in tw(t,e,void 0,n),e.attrs)t.setAttribute(tE.has(i)?i:c(i),e.attrs[i])}function tA(t,e,i){var n;let{style:r}=t,s={};for(let o in r)(I(r[o])||e.style&&I(e.style[o])||B(o,t)||(null===(n=null==i?void 0:i.getValue(o))||void 0===n?void 0:n.liveStyle)!==void 0)&&(s[o]=r[o]);return s}function tC(t,e,i){let n=tA(t,e,i);for(let i in t)(I(t[i])||I(e[i]))&&(n[-1!==j.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return n}function tM(t){let e=[{},{}];return null==t||t.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function tk(t,e,i,n){if("function"==typeof e){let[r,s]=tM(n);e=e(void 0!==i?i:t.custom,r,s)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[r,s]=tM(n);e=e(void 0!==i?i:t.custom,r,s)}return e}var tL=i(6681);let tV=t=>Array.isArray(t),tD=t=>!!(t&&"object"==typeof t&&t.mix&&t.toValue),tR=t=>tV(t)?t[t.length-1]||0:t;function tF(t){let e=I(t)?t.get():t;return tD(e)?e.toValue():e}let tj=t=>(e,i)=>{let n=(0,o.useContext)(l),r=(0,o.useContext)(u.O),s=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e,onMount:i},n,r,s){let o={latestValues:function(t,e,i,n){let r={},s=n(t,{});for(let t in s)r[t]=tF(s[t]);let{initial:o,animate:a}=t,l=E(t),u=S(t);e&&u&&!l&&!1!==t.inherit&&(void 0===o&&(o=e.initial),void 0===a&&(a=e.animate));let h=!!i&&!1===i.initial,d=(h=h||!1===o)?a:o;return d&&"boolean"!=typeof d&&!T(d)&&(Array.isArray(d)?d:[d]).forEac
16h(e=>{let i=tk(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=h?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?s():(0,tL.h)(s)};var tO=i(6166);let tB={useVisualState:tj({scrapeMotionValuesFromProps:tC,createRenderState:tT,onMount:(t,e,{renderState:i,latestValues:n})=>{tO.Wi.read(()=>{try{i.dimensions="function"==typeof e.getBBox?e.getBBox():e.getBoundingClientRect()}catch(t){i.dimensions={x:0,y:0,width:0,height:0}}}),tO.Wi.render(()=>{tP(i,n,{enableHardwareAcceleration:!1},tx(e.tagName),t.transformTemplate),tS(e,i)})}})},tI={useVisualState:tj({scrapeMotionValuesFromProps:tA,createRenderState:tc})};function tW(t,e,i,n={passive:!0}){return t.addEventListener(e,i,n),()=>t.removeEventListener(e,i)}let tN=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function tU(t,e="page"){return{point:{x:t[`${e}X`],y:t[`${e}Y`]}}}let tK=t=>e=>tN(e)&&t(e,tU(e));function tz(t,e,i,n){return tW(t,e,tK(i),n)}let tH=(t,e)=>i=>e(t(i)),t$=(...t)=>t.reduce(tH);function t_(t){let e=null;return()=>null===e&&(e=t,()=>{e=null})}let tZ=t_("dragHorizontal"),tY=t_("dragVertical");function tG(t){let e=!1;if("y"===t)e=tY();else if("x"===t)e=tZ();else{let t=tZ(),i=tY();t&&i?e=()=>{t(),i()}:(t&&t(),i&&i())}return e}function tX(){let t=tG(!0);return!t||(t(),!1)}class tq{constructor(t){this.isMounted=!1,this.node=t}update(){}}function tJ(t,e){let i=e?"onHoverStart":"onHoverEnd";return tz(t.current,e?"pointerenter":"pointerleave",(n,r)=>{if("touch"===n.pointerType||tX())return;let s=t.getProps();t.animationState&&s.whileHover&&t.animationState.setActive("whileHover",e);let o=s[i];o&&tO.Wi.postRender(()=>o(n,r))},{passive:!t.getProps()[i]})}class tQ extends tq{mount(){this.unmount=t$(tJ(this.node,!0),tJ(this.node,!1))}unmount(){}}class t0 extends tq{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){t=!0}t&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=t$(tW(this.node.current,"focus",()=>this.onFocus()),tW(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}let t1=(t,e)=>!!e&&(t===e||t1(t,e.parentElement));var t2=i(1662);function t3(t,e){if(!e)return;let i=new PointerEvent("pointer"+t);e(i,tU(i))}class t5 extends tq{constructor(){super(...arguments),this.removeStartListeners=t2.Z,this.removeEndListeners=t2.Z,this.removeAccessibleListeners=t2.Z,this.startPointerPress=(t,e)=>{if(this.isPressing)return;this.removeEndListeners();let i=this.node.getProps(),n=tz(window,"pointerup",(t,e)=>{if(!this.checkPressEnd())return;let{onTap:i,onTapCancel:n,globalTapTarget:r}=this.node.getProps(),s=r||t1(this.node.current,t.target)?i:n;s&&tO.Wi.update(()=>s(t,e))},{passive:!(i.onTap||i.onPointerUp)}),r=tz(window,"pointercancel",(t,e)=>this.cancelPress(t,e),{passive:!(i.onTapCancel||i.onPointerCancel)});this.removeEndListeners=t$(n,r),this.startPress(t,e)},this.startAccessiblePress=()=>{let t=tW(this.node.current,"keydown",t=>{"Enter"!==t.key||this.isPressing||(this.removeEndListeners(),this.removeEndListeners=tW(this.node.current,"keyup",t=>{"Enter"===t.key&&this.checkPressEnd()&&t3("up",(t,e)=>{let{onTap:i}=this.node.getProps();i&&tO.Wi.postRender(()=>i(t,e))})}),t3("down",(t,e)=>{this.startPress(t,e)}))}),e=tW(this.node.current,"blur",()=>{this.isPressing&&t3("cancel",(t,e)=>this.cancelPress(t,e))});this.removeAccessibleListeners=t$(t,e)}}startPress(t,e){this.isPressing=!0;let{onTapStart:i,whileTap:n}=this.node.getProps();n&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),i&&tO.Wi.postRender(()=>i(t,e))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!tX()}cancelPress(t,e){if(!this.checkPressEnd())return;let{onTapCancel:i}=this.node.getProps();i&&tO.Wi.postRender(()=>i(t,e))}mount(){let t=this.node.getProps(),e=tz(t.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),i=tW(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=t$(e,i)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}let t6=new WeakMap,t9=new WeakMap,t4=t=>{let e=t6.get(t.target);e&&e(t)}
16,t8=t=>{t.forEach(t4)},t7={some:0,all:1};class et extends tq{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:t={}}=this.node.getProps(),{root:e,margin:i,amount:n="some",once:r}=t,s={root:e?e.current:void 0,rootMargin:i,threshold:"number"==typeof n?n:t7[n]};return function(t,e,i){let n=function({root:t,...e}){let i=t||document;t9.has(i)||t9.set(i,{});let n=t9.get(i),r=JSON.stringify(e);return n[r]||(n[r]=new IntersectionObserver(t8,{root:t,...e})),n[r]}(e);return t6.set(t,i),n.observe(t),()=>{t6.delete(t),n.unobserve(t)}}(this.node.current,s,t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,r&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:i,onViewportLeave:n}=this.node.getProps(),s=e?i:n;s&&s(t)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return i=>t[i]!==e[i]}(t,e))&&this.startObserver()}unmount(){}}function ee(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}function ei(t,e,i){let n=t.getProps();return tk(n,e,void 0!==i?i:n.custom,t)}let en=t=>1e3*t,er=t=>t/1e3,es={type:"spring",stiffness:500,damping:25,restSpeed:10},eo=t=>({type:"spring",stiffness:550,damping:0===t?2*Math.sqrt(550):30,restSpeed:10}),ea={type:"keyframes",duration:.8},el={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},eu=(t,{keyframes:e})=>e.length>2?ea:O.has(t)?t.startsWith("scale")?eo(e[1]):es:el;function eh(t,e){return t[e]||t.default||t}var ed=i(2081);let ec={current:!1},ep=t=>null!==t;function ef(t,{repeat:e,repeatType:i="loop"},n){let r=t.filter(ep),s=e&&"loop"!==i&&e%2==1?0:r.length-1;return s&&void 0!==n?n:r[s]}function em(){n=void 0}let ev={now:()=>(void 0===n&&ev.set(tO.frameData.isProcessing||ed.c.useManualTiming?tO.frameData.timestamp:performance.now()),n),set:t=>{n=t,queueMicrotask(em)}},eg=t=>/^0[^.\s]+$/u.test(t);var ey=i(5487);let eb=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t),eP=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,eT=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),ex=t=>t===Y||t===ts,ew=(t,e)=>parseFloat(t.split(", ")[e]),eE=(t,e)=>(i,{transform:n})=>{if("none"===n||!n)return 0;let r=n.match(/^matrix3d\((.+)\)$/u);if(r)return ew(r[1],e);{let e=n.match(/^matrix\((.+)\)$/u);return e?ew(e[1],t):0}},eS=new Set(["x","y","z"]),eA=j.filter(t=>!eS.has(t)),eC={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:eE(4,13),y:eE(5,14)};eC.translateX=eC.x,eC.translateY=eC.y;let eM=t=>e=>e.test(t),ek=[Y,ts,tr,tn,ta,to,{test:t=>"auto"===t,parse:t=>t}],eL=t=>ek.find(eM(t)),eV=new Set,eD=!1,eR=!1;function eF(){if(eR){let t=Array.from(eV).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),i=new Map;e.forEach(t=>{let e=function(t){let e=[];return eA.forEach(i=>{let n=t.getValue(i);void 0!==n&&(e.push([i,n.get()]),n.set(i.startsWith("scale")?1:0))}),e}(t);e.length&&(i.set(t,e),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();let e=i.get(t);e&&e.forEach(([e,i])=>{var n;null===(n=t.getValue(e))||void 0===n||n.set(i)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}eR=!1,eD=!1,eV.forEach(t=>t.complete()),eV.clear()}function ej(){eV.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(eR=!0)})}class eO{constructor(t,e,i,n,r,s=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=n,this.element=r,this.isAsync=s}scheduleResolve(){this.isScheduled=!0,this.isAsync?(eV.add(this),eD||(eD=!0,tO.Wi.read(ej),tO.Wi.resolveKeyframes(eF))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:i,motionValue:n}=this;for(let r=0;r<t.length;r++)if(null===t[r]){if(0===r){let r=null==n?void 0:n.get(),s=t[t.length-1];if(void 0!==r)t[0]=r;else if(i&&e){let n=i.readValue(e,s);null!=n&&(t[0]=n)}void 0===t[0]&&(t[0]=s),n&&void 0===r&&n.set(t[0])}else t[r]=t[r-1]}}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),eV.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,eV.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}let eB=(t,e)=>i=>!!(te(i)&&tt.test(i)&&i.startsWith(t)||e&&Object.prototype.hasOwnProperty.call(i,e)),eI=(t,e,i)=>n=>{if(!te(n))return n;let[r,s,o,a]=n.match(J);return{[t]:parseFloat(r),[e]:parseFloat(s),[i]:parseFloat(o),alpha:void 0!==a?parseFloat(a):1}},eW=t=>Z(0,255,t),eN={...Y,transform:t=>Math.round(eW(t))},eU={test:eB("rgb","red"),parse:eI("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:n=1})=>"rgba("+eN.transform(t)+", "+eN.transform(e)+", "+eN.transform(i)+", "+q(G.transform(n))+")"},eK={test:eB("#"),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
16a:r?parseInt(r,16)/255:1}},transform:eU.transform},ez={test:eB("hsl","hue"),parse:eI("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:n=1})=>"hsla("+Math.round(t)+", "+tr.transform(q(e))+", "+tr.transform(q(i))+", "+q(G.transform(n))+")"},eH={test:t=>eU.test(t)||eK.test(t)||ez.test(t),parse:t=>eU.test(t)?eU.parse(t):ez.test(t)?ez.parse(t):eK.parse(t),transform:t=>te(t)?t:t.hasOwnProperty("red")?eU.transform(t):ez.transform(t)},e$="number",e_="color",eZ=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function eY(t){let e=t.toString(),i=[],n={color:[],number:[],var:[]},r=[],s=0,o=e.replace(eZ,t=>(eH.test(t)?(n.color.push(s),r.push(e_),i.push(eH.parse(t))):t.startsWith("var(")?(n.var.push(s),r.push("var"),i.push(t)):(n.number.push(s),r.push(e$),i.push(parseFloat(t))),++s,"${}")).split("${}");return{values:i,split:o,indexes:n,types:r}}function eG(t){return eY(t).values}function eX(t){let{split:e,types:i}=eY(t),n=e.length;return t=>{let r="";for(let s=0;s<n;s++)if(r+=e[s],void 0!==t[s]){let e=i[s];e===e$?r+=q(t[s]):e===e_?r+=eH.transform(t[s]):r+=t[s]}return r}}let eq=t=>"number"==typeof t?0:t,eJ={test:function(t){var e,i;return isNaN(t)&&te(t)&&((null===(e=t.match(J))||void 0===e?void 0:e.length)||0)+((null===(i=t.match(Q))||void 0===i?void 0:i.length)||0)>0},parse:eG,createTransformer:eX,getAnimatableNone:function(t){let e=eG(t);return eX(t)(e.map(eq))}},eQ=new Set(["brightness","contrast","saturate","opacity"]);function e0(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[n]=i.match(J)||[];if(!n)return t;let r=i.replace(n,""),s=eQ.has(e)?1:0;return n!==i&&(s*=100),e+"("+s+r+")"}let e1=/\b([a-z-]*)\(.*?\)/gu,e2={...eJ,getAnimatableNone:t=>{let e=t.match(e1);return e?e.map(e0).join(" "):t}},e3={...th,color:eH,backgroundColor:eH,outlineColor:eH,fill:eH,stroke:eH,borderColor:eH,borderTopColor:eH,borderRightColor:eH,borderBottomColor:eH,borderLeftColor:eH,filter:e2,WebkitFilter:e2},e5=t=>e3[t];function e6(t,e){let i=e5(t);return i!==e2&&(i=eJ),i.getAnimatableNone?i.getAnimatableNone(e):void 0}let e9=new Set(["auto","none","0"]);class e4 extends eO{constructor(t,e,i,n){super(t,e,i,n,null==n?void 0:n.owner,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:i}=this;if(!e.current)return;super.readKeyframes();for(let i=0;i<t.length;i++){let n=t[i];if("string"==typeof n&&H(n=n.trim())){let r=function t(e,i,n=1){(0,ey.k)(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[r,s]=function(t){let e=eP.exec(t);if(!e)return[,];let[,i,n,r]=e;return[`--${null!=i?i:n}`,r]}(e);if(!r)return;let o=window.getComputedStyle(i).getPropertyValue(r);if(o){let t=o.trim();return eb(t)?parseFloat(t):t}return H(s)?t(s,i,n+1):s}(n,e.current);void 0!==r&&(t[i]=r),i===t.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!eT.has(i)||2!==t.length)return;let[n,r]=t,s=eL(n),o=eL(r);if(s!==o){if(ex(s)&&ex(o))for(let e=0;e<t.length;e++){let i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else this.needsMeasurement=!0}}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,i=[];for(let e=0;e<t.length;e++){var n;("number"==typeof(n=t[e])?0===n:null===n||"none"===n||"0"===n||eg(n))&&i.push(e)}i.length&&function(t,e,i){let n,r=0;for(;r<t.length&&!n;){let e=t[r];"string"==typeof e&&!e9.has(e)&&eY(e).values.length&&(n=t[r]),r++}if(n&&i)for(let r of e)t[r]=e6(i,n)}(t,i,e)}measureInitialState(){let{element:t,unresolvedKeyframes:e,name:i}=this;if(!t.current)return;"height"===i&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=eC[i](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let n=e[e.length-1];void 0!==n&&t.getValue(i,n).jump(n,!1)}measureEndState(){var t;let{element:e,name:i,unresolvedKeyframes:n}=this;if(!e.current)return;let r=e.getValue(i);r&&r.jump(this.measuredOrigin,!1);let s=n.length-1,o=n[s];n[s]=eC[i](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==o&&void 0===this.finalKeyframe&&(this.finalKeyframe=o),(null===(t=this.removedTransforms)||void 0===t?void 0:t.length)&&this.removedTransforms.forEac
16h(([t,i])=>{e.getValue(t).set(i)}),this.resolveNoneKeyframes()}}function e8(t){let e;return()=>(void 0===e&&(e=t()),e)}let e7=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(eJ.test(t)||"0"===t)&&!t.startsWith("url("));class it{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:n=0,repeatDelay:r=0,repeatType:s="loop",...o}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.options={autoplay:t,delay:e,type:i,repeat:n,repeatDelay:r,repeatType:s,...o},this.updateFinishedPromise()}get resolved(){return this._resolved||this.hasAttemptedResolve||(ej(),eF()),this._resolved}onKeyframesResolved(t,e){this.hasAttemptedResolve=!0;let{name:i,type:n,velocity:r,delay:s,onComplete:o,onUpdate:a,isGenerator:l}=this.options;if(!l&&!function(t,e,i,n){let r=t[0];if(null===r)return!1;if("display"===e||"visibility"===e)return!0;let s=t[t.length-1],o=e7(r,e),a=e7(s,e);return(0,ey.K)(o===a,`You are trying to animate ${e} from "${r}" to "${s}". ${r} is not an animatable value - to enable this animation set ${r} to a value animatable to ${s} via the \`style\` property.`),!!o&&!!a&&(function(t){let e=t[0];if(1===t.length)return!0;for(let i=0;i<t.length;i++)if(t[i]!==e)return!0}(t)||"spring"===i&&n)}(t,i,n,r)){if(ec.current||!s){null==a||a(ef(t,this.options,e)),null==o||o(),this.resolveFinishedPromise();return}this.options.duration=0}let u=this.initPlayback(t,e);!1!==u&&(this._resolved={keyframes:t,finalKeyframe:e,...u},this.onPostResolved())}onPostResolved(){}then(t,e){return this.currentFinishedPromise.then(t,e)}updateFinishedPromise(){this.currentFinishedPromise=new Promise(t=>{this.resolveFinishedPromise=t})}}function ie(t,e,i){var n,r;let s=Math.max(e-5,0);return n=i-t(s),(r=e-s)?1e3/r*n:0}function ii(t,e){return t*Math.sqrt(1-e*e)}let ir=["duration","bounce"],is=["stiffness","damping","mass"];function io(t,e){return e.some(e=>void 0!==t[e])}function ia({keyframes:t,restDelta:e,restSpeed:i,...n}){let r;let s=t[0],o=t[t.length-1],a={done:!1,value:s},{stiffness:l,damping:u,mass:h,duration:d,velocity:c,isResolvedFromDuration:p}=function(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!io(t,is)&&io(t,ir)){let i=function({duration:t=800,bounce:e=.25,velocity:i=0,mass:n=1}){let r,s;(0,ey.K)(t<=en(10),"Spring duration must be 10 seconds or less");let o=1-e;o=Z(.05,1,o),t=Z(.01,10,er(t)),o<1?(r=e=>{let n=e*o,r=n*t;return .001-(n-i)/ii(e,o)*Math.exp(-r)},s=e=>{let n=e*o*t,s=Math.pow(o,2)*Math.pow(e,2)*t,a=ii(Math.pow(e,2),o);return(n*i+i-s)*Math.exp(-n)*(-r(e)+.001>0?-1:1)/a}):(r=e=>-.001+Math.exp(-e*t)*((e-i)*t+1),s=e=>t*t*(i-e)*Math.exp(-e*t));let a=function(t,e,i){let n=i;for(let i=1;i<12;i++)n-=t(n)/e(n);return n}(r,s,5/t);if(t=en(t),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,mass:1}).isResolvedFromDuration=!0}return e}({...n,velocity:-er(n.velocity||0)}),f=c||0,m=u/(2*Math.sqrt(l*h)),v=o-s,g=er(Math.sqrt(l/h)),y=5>Math.abs(v);if(i||(i=y?.01:2),e||(e=y?.005:.5),m<1){let t=ii(g,m);r=e=>o-Math.exp(-m*g*e)*((f+m*g*v)/t*Math.sin(t*e)+v*Math.cos(t*e))}else if(1===m)r=t=>o-Math.exp(-g*t)*(v+(f+g*v)*t);else{let t=g*Math.sqrt(m*m-1);r=e=>{let i=Math.exp(-m*g*e),n=Math.min(t*e,300);return o-i*((f+m*g*v)*Math.sinh(n)+t*v*Math.cosh(n))/t}}return{calculatedDuration:p&&d||null,next:t=>{let n=r(t);if(p)a.done=t>=d;else{let s=f;0!==t&&(s=m<1?ie(r,t,n):0);let l=Math.abs(s)<=i,u=Math.abs(o-n)<=e;a.done=l&&u}return a.value=a.done?o:n,a}}}function il({keyframes:t,velocity:e=0,power:i=.8,timeConstant:n=325,bounceDamping:r=10,bounceStiffness:s=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:h}){let d,c;let p=t[0],f={done:!1,value:p},m=t=>void 0!==a&&t<a||void 0!==l&&t>l,v=t=>void 0===a?l:void 0===l?a:Math.abs(a-t)<Math.abs(l-t)?a:l,g=i*e,y=p+g,b=void 0===o?y:o(y);b!==y&&(g=b-p);let P=t=>-g*Math.exp(-t/n),T=t=>b+P(t),x=t=>{let e=P(t),i=T(t);f.done=Math.abs(e)<=u,f.value=f.done?b:i},w=t=>{m(f.value)&&(d=t,c=ia({keyframes:[f.value,v(f.value)],velocity:ie(T,t,f.value),damping:r,stiffness:s,restDelta:u,restSpeed:h}
16))};return w(0),{calculatedDuration:null,next:t=>{let e=!1;return(c||void 0!==d||(e=!0,x(t),w(t)),void 0!==d&&t>=d)?c.next(t-d):(e||x(t),f)}}}let iu=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function ih(t,e,i,n){if(t===e&&i===n)return t2.Z;let r=e=>(function(t,e,i,n,r){let s,o;let a=0;do(s=iu(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:iu(r(t),e,n)}let id=ih(.42,0,1,1),ic=ih(0,0,.58,1),ip=ih(.42,0,.58,1),im=t=>Array.isArray(t)&&"number"!=typeof t[0],iv=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,ig=t=>e=>1-t(1-e),iy=t=>1-Math.sin(Math.acos(t)),ib=ig(iy),iP=iv(iy),iT=ih(.33,1.53,.69,.99),ix=ig(iT),iw=iv(ix),iE={linear:t2.Z,easeIn:id,easeInOut:ip,easeOut:ic,circIn:iy,circInOut:iP,circOut:ib,backIn:ix,backInOut:iw,backOut:iT,anticipate:t=>(t*=2)<1?.5*ix(t):.5*(2-Math.pow(2,-10*(t-1)))},iS=t=>{if(Array.isArray(t)){(0,ey.k)(4===t.length,"Cubic bezier arrays must contain four numerical values.");let[e,i,n,r]=t;return ih(e,i,n,r)}return"string"==typeof t?((0,ey.k)(void 0!==iE[t],`Invalid easing type '${t}'`),iE[t]):t},iA=(t,e,i)=>{let n=e-t;return 0===n?1:(i-t)/n},iC=(t,e,i)=>t+(e-t)*i;function iM(t,e,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?t+(e-t)*6*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t}function ik(t,e){return i=>i>0?e:t}let iL=(t,e,i)=>{let n=t*t,r=i*(e*e-n)+n;return r<0?0:Math.sqrt(r)},iV=[eK,eU,ez],iD=t=>iV.find(e=>e.test(t));function iR(t){let e=iD(t);if((0,ey.K)(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`),!e)return!1;let i=e.parse(t);return e===ez&&(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,a=2*i-n;r=iM(a,n,t+1/3),s=iM(a,n,t),o=iM(a,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 iF=(t,e)=>{let i=iR(t),n=iR(e);if(!i||!n)return ik(t,e);let r={...i};return t=>(r.red=iL(i.red,n.red,t),r.green=iL(i.green,n.green,t),r.blue=iL(i.blue,n.blue,t),r.alpha=iC(i.alpha,n.alpha,t),eU.transform(r))},ij=new Set(["none","hidden"]);function iO(t,e){return i=>iC(t,e,i)}function iB(t){return"number"==typeof t?iO:"string"==typeof t?H(t)?ik:eH.test(t)?iF:iN:Array.isArray(t)?iI:"object"==typeof t?eH.test(t)?iF:iW:ik}function iI(t,e){let i=[...t],n=i.length,r=t.map((t,i)=>iB(t)(t,e[i]));return t=>{for(let e=0;e<n;e++)i[e]=r[e](t);return i}}function iW(t,e){let i={...t,...e},n={};for(let r in i)void 0!==t[r]&&void 0!==e[r]&&(n[r]=iB(t[r])(t[r],e[r]));return t=>{for(let e in n)i[e]=n[e](t);return i}}let iN=(t,e)=>{let i=eJ.createTransformer(e),n=eY(t),r=eY(e);return n.indexes.var.length===r.indexes.var.length&&n.indexes.color.length===r.indexes.color.length&&n.indexes.number.length>=r.indexes.number.length?ij.has(t)&&!r.values.length||ij.has(e)&&!n.values.length?ij.has(t)?i=>i<=0?t:e:i=>i>=1?e:t:t$(iI(function(t,e){var i;let n=[],r={color:0,var:0,number:0};for(let s=0;s<e.values.length;s++){let o=e.types[s],a=t.indexes[o][r[o]],l=null!==(i=t.values[a])&&void 0!==i?i:0;n[s]=l,r[o]++}return n}(n,r),r.values),i):((0,ey.K)(!0,`Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),ik(t,e))};function iU(t,e,i){return"number"==typeof t&&"number"==typeof e&&"number"==typeof i?iC(t,e,i):iB(t)(t,e)}function iK({duration:t=300,keyframes:e,times:i,ease:n="easeInOut"}){let r=im(n)?n.map(iS):iS(n),s={done:!1,value:e[0]},o=function(t,e,{clamp:i=!0,ease:n,mixer:r}={}){let s=t.length;if((0,ey.k)(s===e.length,"Both input and output ranges must be the same length"),1===s)return()=>e[0];if(2===s&&t[0]===t[1])return()=>e[1];t[0]>t[s-1]&&(t=[...t].reverse(),e=[...e].reverse());let o=function(t,e,i){let n=[],r=i||iU,s=t.length-1;for(let i=0;i<s;i++){let s=r(t[i],t[i+1]);e&&(s=t$(Array.isArray(e)?e[i]||t2.Z:e,s)),n.push(s)}return n}(e,n,r),a=o.length,l=e=>{let i=0;if(a>1)for(;i<t.length-2&&!(e<t[i+1]);i++);let n=iA(t[i],t[i+1],e);return o[i](n)};return i?e=>l(Z(t[0],t[s-1],e)):l}
16((i&&i.length===e.length?i:function(t){let e=[0];return function(t,e){let i=t[t.length-1];for(let n=1;n<=e;n++){let r=iA(0,e,n);t.push(iC(i,1,r))}}(e,t.length-1),e}(e)).map(e=>e*t),e,{ease:Array.isArray(r)?r:e.map(()=>r||ip).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(s.value=o(e),s.done=e>=t,s)}}let iz=t=>{let e=({timestamp:e})=>t(e);return{start:()=>tO.Wi.update(e,!0),stop:()=>(0,tO.Pn)(e),now:()=>tO.frameData.isProcessing?tO.frameData.timestamp:ev.now()}},iH={decay:il,inertia:il,tween:iK,keyframes:iK,spring:ia},i$=t=>t/100;class i_ extends it{constructor({KeyframeResolver:t=eO,...e}){super(e),this.holdTime=null,this.startTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.teardown();let{onStop:t}=this.options;t&&t()};let{name:i,motionValue:n,keyframes:r}=this.options,s=(t,e)=>this.onKeyframesResolved(t,e);i&&n&&n.owner?this.resolver=n.owner.resolveKeyframes(r,s,i,n):this.resolver=new t(r,s,i,n),this.resolver.scheduleResolve()}initPlayback(t){let e,i;let{type:n="keyframes",repeat:r=0,repeatDelay:s=0,repeatType:o,velocity:a=0}=this.options,l=iH[n]||iK;l!==iK&&"number"!=typeof t[0]&&(e=t$(i$,iU(t[0],t[1])),t=[0,100]);let u=l({...this.options,keyframes:t});"mirror"===o&&(i=l({...this.options,keyframes:[...t].reverse(),velocity:-a})),null===u.calculatedDuration&&(u.calculatedDuration=function(t){let e=0,i=t.next(e);for(;!i.done&&e<2e4;)e+=50,i=t.next(e);return e>=2e4?1/0:e}(u));let{calculatedDuration:h}=u,d=h+s;return{generator:u,mirroredGenerator:i,mapPercentToKeyframes:e,calculatedDuration:h,resolvedDuration:d,totalDuration:d*(r+1)-s}}onPostResolved(){let{autoplay:t=!0}=this.options;this.play(),"paused"!==this.pendingPlayState&&t?this.state=this.pendingPlayState:this.pause()}tick(t,e=!1){let{resolved:i}=this;if(!i){let{keyframes:t}=this.options;return{done:!0,value:t[t.length-1]}}let{finalKeyframe:n,generator:r,mirroredGenerator:s,mapPercentToKeyframes:o,keyframes:a,calculatedDuration:l,totalDuration:u,resolvedDuration:h}=i;if(null===this.startTime)return r.next(0);let{delay:d,repeat:c,repeatType:p,repeatDelay:f,onUpdate:m}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-u/this.speed,this.startTime)),e?this.currentTime=t:null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;let v=this.currentTime-d*(this.speed>=0?1:-1),g=this.speed>=0?v<0:v>u;this.currentTime=Math.max(v,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=u);let y=this.currentTime,b=r;if(c){let t=Math.min(this.currentTime,u)/h,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,c+1))%2&&("reverse"===p?(i=1-i,f&&(i-=f/h)):"mirror"===p&&(b=s)),y=Z(0,1,i)*h}let P=g?{done:!1,value:a[0]}:b.next(y);o&&(P.value=o(P.value));let{done:T}=P;g||null===l||(T=this.speed>=0?this.currentTime>=u:this.currentTime<=0);let x=null===this.holdTime&&("finished"===this.state||"running"===this.state&&T);return x&&void 0!==n&&(P.value=ef(a,this.options,n)),m&&m(P.value),x&&this.finish(),P}get duration(){let{resolved:t}=this;return t?er(t.calculatedDuration):0}get time(){return er(this.currentTime)}set time(t){t=en(t),this.currentTime=t,null!==this.holdTime||0===this.speed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){let e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=er(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:t=iz,onPlay:e}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),e&&e();let i=this.driver.now();null!==this.holdTime?this.startTime=i-this.holdTime:this.startTime&&"finished"!==this.state||(this.startTime=i),"finished"===this.state&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=null!==(t=this.currentTime)&&void 0!==t?t:0}complete(){"running"!==this.state&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";let{onComplete:t}=this.options;t&&t()}cancel(){null!==this.cancelTime&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedProm
16ise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}}let iZ=t=>Array.isArray(t)&&"number"==typeof t[0],iY=([t,e,i,n])=>`cubic-bezier(${t}, ${e}, ${i}, ${n})`,iG={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:iY([0,.65,.55,1]),circOut:iY([.55,0,1,.45]),backIn:iY([.31,.01,.66,-.59]),backOut:iY([.33,1.53,.69,.99])};function iX(t){return iq(t)||iG.easeOut}function iq(t){if(t)return iZ(t)?iY(t):Array.isArray(t)?t.map(iX):iG[t]}let iJ=e8(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),iQ=new Set(["opacity","clipPath","filter","transform"]);class i0 extends it{constructor(t){super(t);let{name:e,motionValue:i,keyframes:n}=this.options;this.resolver=new e4(n,(t,e)=>this.onKeyframesResolved(t,e),e,i),this.resolver.scheduleResolve()}initPlayback(t,e){var i,n;let{duration:r=300,times:s,ease:o,type:a,motionValue:l,name:u}=this.options;if(!(null===(i=l.owner)||void 0===i?void 0:i.current))return!1;if("spring"===(n=this.options).type||"backgroundColor"===n.name||!function t(e){return!!(!e||"string"==typeof e&&e in iG||iZ(e)||Array.isArray(e)&&e.every(t))}(n.ease)){let{onComplete:e,onUpdate:i,motionValue:n,...l}=this.options,u=function(t,e){let i=new i_({...e,keyframes:t,repeat:0,delay:0,isGenerator:!0}),n={done:!1,value:t[0]},r=[],s=0;for(;!n.done&&s<2e4;)r.push((n=i.sample(s)).value),s+=10;return{times:void 0,keyframes:r,duration:s-10,ease:"linear"}}(t,l);1===(t=u.keyframes).length&&(t[1]=t[0]),r=u.duration,s=u.times,o=u.ease,a="keyframes"}let h=function(t,e,i,{delay:n=0,duration:r=300,repeat:s=0,repeatType:o="loop",ease:a,times:l}={}){let u={[e]:i};l&&(u.offset=l);let h=iq(a);return Array.isArray(h)&&(u.easing=h),t.animate(u,{delay:n,duration:r,easing:Array.isArray(h)?"linear":h,fill:"both",iterations:s+1,direction:"reverse"===o?"alternate":"normal"})}(l.owner.current,u,t,{...this.options,duration:r,times:s,ease:o});return h.startTime=ev.now(),this.pendingTimeline?(h.timeline=this.pendingTimeline,this.pendingTimeline=void 0):h.onfinish=()=>{let{onComplete:i}=this.options;l.set(ef(t,this.options,e)),i&&i(),this.cancel(),this.resolveFinishedPromise()},{animation:h,duration:r,times:s,type:a,ease:o,keyframes:t}}get duration(){let{resolved:t}=this;if(!t)return 0;let{duration:e}=t;return er(e)}get time(){let{resolved:t}=this;if(!t)return 0;let{animation:e}=t;return er(e.currentTime||0)}set time(t){let{resolved:e}=this;if(!e)return;let{animation:i}=e;i.currentTime=en(t)}get speed(){let{resolved:t}=this;if(!t)return 1;let{animation:e}=t;return e.playbackRate}set speed(t){let{resolved:e}=this;if(!e)return;let{animation:i}=e;i.playbackRate=t}get state(){let{resolved:t}=this;if(!t)return"idle";let{animation:e}=t;return e.playState}attachTimeline(t){if(this._resolved){let{resolved:e}=this;if(!e)return t2.Z;let{animation:i}=e;i.timeline=t,i.onfinish=null}else this.pendingTimeline=t;return t2.Z}play(){if(this.isStopped)return;let{resolved:t}=this;if(!t)return;let{animation:e}=t;"finished"===e.playState&&this.updateFinishedPromise(),e.play()}pause(){let{resolved:t}=this;if(!t)return;let{animation:e}=t;e.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;let{resolved:t}=this;if(!t)return;let{animation:e,keyframes:i,duration:n,type:r,ease:s,times:o}=t;if("idle"!==e.playState&&"finished"!==e.playState){if(this.time){let{motionValue:t,onUpdate:e,onComplete:a,...l}=this.options,u=new i_({...l,keyframes:i,duration:n,type:r,ease:s,times:o,isGenerator:!0}),h=en(this.time);t.setWithVelocity(u.sample(h-10).value,u.sample(h).value,10)}this.cancel()}}complete(){let{resolved:t}=this;t&&t.animation.finish()}cancel(){let{resolved:t}=this;t&&t.animation.cancel()}static supports(t){let{motionValue:e,name:i,repeatDelay:n,repeatType:r,damping:s,type:o}=t;return iJ()&&i&&iQ.has(i)&&e&&e.owner&&e.owner.current instanceof HTMLElement&&!e.owner.getProps().onUp
16date&&!n&&"mirror"!==r&&0!==s&&"inertia"!==o}}let i1=e8(()=>void 0!==window.ScrollTimeline);class i2{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}then(t,e){return Promise.all(this.animations).then(t).catch(e)}getAll(t){return this.animations[0][t]}setAll(t,e){for(let i=0;i<this.animations.length;i++)this.animations[i][t]=e}attachTimeline(t){let e=this.animations.map(e=>{if(!i1()||!e.attachTimeline)return e.pause(),function(t,e){let i;let n=()=>{let{currentTime:n}=e,r=(null===n?0:n.value)/100;i!==r&&t(r),i=r};return tO.Wi.update(n,!0),()=>(0,tO.Pn)(n)}(t=>{e.time=e.duration*t},t);e.attachTimeline(t)});return()=>{e.forEach((t,e)=>{t&&t(),this.animations[e].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get duration(){let t=0;for(let e=0;e<this.animations.length;e++)t=Math.max(t,this.animations[e].duration);return t}runAll(t){this.animations.forEach(e=>e[t]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}let i3=(t,e,i,n={},r,s)=>o=>{let a=eh(n,t)||{},l=a.delay||n.delay||0,{elapsed:u=0}=n;u-=en(l);let h={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...a,delay:-u,onUpdate:t=>{e.set(t),a.onUpdate&&a.onUpdate(t)},onComplete:()=>{o(),a.onComplete&&a.onComplete()},name:t,motionValue:e,element:s?void 0:r};!function({when:t,delay:e,delayChildren:i,staggerChildren:n,staggerDirection:r,repeat:s,repeatType:o,repeatDelay:a,from:l,elapsed:u,...h}){return!!Object.keys(h).length}(a)&&(h={...h,...eu(t,h)}),h.duration&&(h.duration=en(h.duration)),h.repeatDelay&&(h.repeatDelay=en(h.repeatDelay)),void 0!==h.from&&(h.keyframes[0]=h.from);let d=!1;if(!1!==h.type&&(0!==h.duration||h.repeatDelay)||(h.duration=0,0!==h.delay||(d=!0)),(ec.current||ed.c.skipAnimations)&&(d=!0,h.duration=0,h.delay=0),d&&!s&&void 0!==e.get()){let t=ef(h.keyframes,a);if(void 0!==t)return tO.Wi.update(()=>{h.onUpdate(t),h.onComplete()}),new i2([])}return!s&&i0.supports(h)?new i0(h):new i_(h)};function i5(t){return!!(I(t)&&t.add)}function i6(t,e){-1===t.indexOf(e)&&t.push(e)}function i9(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}class i4{constructor(){this.subscriptions=[]}add(t){return i6(this.subscriptions,t),()=>i9(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}}let i8=t=>!isNaN(parseFloat(t)),i7={current:void 0};class nt{constructor(t,e={}){this.version="11.2.12",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(t,e=!0)=>{let i=ev.now();this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),e&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=ev.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=i8(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new i4);let i=this.events[t].add(e);return"change"===t?()=>{i(),tO.Wi.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t,e=!0){e&&this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,e)}setWithVelocity(t,e,i){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}jump(t,e=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return i7.current&&i7.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){var t;let e=ev.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;let i=Math.min(this.updatedAt-this.prevUpdatedAt,30);return t=parseFloat(this.current)-parseFloat(this.prevFrameValue),i?1e3/i*t:0}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function ne(t,e){return new nt(t,e)}function ni(t){return t.getProps()[p]}function nn(t,e,{delay:i=0,transitionOverride:n,type:r}={}){var s;let{transition:o=t.getDefaultTransition(),transitionEnd:a,...l}=e,u=t.getValue("willChange");n&&(o=n);let h=[],d=r&&t.animationState&&t.animationState.getState()[r];for(let e in l){let n=t.getValue(e,null!==(s=t.latestValues[e])&&void 0!==s?s:null),r=l[e];if(void 0===r||d&&function({protectedKeys:t,needsAnimating:e},i){let n=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,n}(d,e))continue;let a={delay:i,elapsed:0,...eh(o||{},e)},c=!1;if(window.HandoffAppearAnimations){let i=ni(t);if(i){let t=window.HandoffAppearAnimations(i,e,n,tO.Wi);null!==t&&(a.elapsed=t,c=!0)}}n.start(i3(e,n,r,t.shouldReduceMotion&&O.has(e)?{type:!1}:a,t,c));let p=n.animation;p&&(i5(u)&&(u.add(e),p.then(()=>u.remove(e))),h.push(p))}return a&&Promise.all(h).then(()=>{tO.Wi.update(()=>{a&&function(t,e){let{transitionEnd:i={},transition:n={},...r}=ei(t,e)||{};for(let e in r={...r,...i}){let i=tR(r[e]);t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,ne(i))}}(t,a)})}),h}function nr(t,e,i={}){var n;let r=ei(t,e,"exit"===i.type?null===(n=t.presenceContext)||void 0===n?void 0:n.custom:void 0),{transition:s=t.getDefaultTransition()||{}}=r||{};i.transitionOverride&&(s=i.transitionOverride);let o=r?()=>Promise.all(nn(t,r,i)):()=>Promise.resolve(),a=t.variantChildren&&t.variantChildren.size?(n=0)=>{let{delayChildren:r=0,staggerChildren:o,staggerDirection:a}=s;
16return 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(ns).forEach((t,n)=>{t.notify("AnimationStart",e),o.push(nr(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 ns(t,e){return t.sortNodePosition(e)}let no=[...x].reverse(),na=x.length;function nl(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function nu(){return{animate:nl(!0),whileInView:nl(),whileHover:nl(),whileTap:nl(),whileDrag:nl(),whileFocus:nl(),exit:nl()}}class nh extends tq{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:i})=>(function(t,e,i={}){let n;if(t.notify("AnimationStart",e),Array.isArray(e))n=Promise.all(e.map(e=>nr(t,e,i)));else if("string"==typeof e)n=nr(t,e,i);else{let r="function"==typeof e?ei(t,e,i.custom):e;n=Promise.all(nn(t,r,i))}return n.then(()=>{tO.Wi.postRender(()=>{t.notify("AnimationComplete",e)})})})(t,e,i))),i=nu(),n=!0,r=e=>(i,n)=>{var r;let s=ei(t,n,"exit"===e?null===(r=t.presenceContext)||void 0===r?void 0:r.custom:void 0);if(s){let{transition:t,transitionEnd:e,...n}=s;i={...i,...n,...e}}return i};function s(s){let o=t.getProps(),a=t.getVariantContext(!0)||{},l=[],u=new Set,h={},d=1/0;for(let e=0;e<na;e++){var c;let p=no[e],f=i[p],m=void 0!==o[p]?o[p]:a[p],v=P(m),g=p===s?f.isActive:null;!1===g&&(d=e);let y=m===a[p]&&m!==o[p]&&v;if(y&&n&&t.manuallyAnimateOnMount&&(y=!1),f.protectedKeys={...h},!f.isActive&&null===g||!m&&!f.prevProp||T(m)||"boolean"==typeof m)continue;let b=(c=f.prevProp,("string"==typeof m?m!==c:!!Array.isArray(m)&&!ee(m,c))||p===s&&f.isActive&&!y&&v||e>d&&v),x=!1,w=Array.isArray(m)?m:[m],E=w.reduce(r(p),{});!1===g&&(E={});let{prevResolvedValues:S={}}=f,A={...S,...E},C=e=>{b=!0,u.has(e)&&(x=!0,u.delete(e)),f.needsAnimating[e]=!0;let i=t.getValue(e);i&&(i.liveStyle=!1)};for(let t in A){let e=E[t],i=S[t];if(!h.hasOwnProperty(t))(tV(e)&&tV(i)?ee(e,i):e===i)?void 0!==e&&u.has(t)?C(t):f.protectedKeys[t]=!0:null!=e?C(t):u.add(t)}f.prevProp=m,f.prevResolvedValues=E,f.isActive&&(h={...h,...E}),n&&t.blockInitialAnimation&&(b=!1),b&&(!y||x)&&l.push(...w.map(t=>({animation:t,options:{type:p}})))}if(u.size){let e={};u.forEach(i=>{let n=t.getBaseTarget(i),r=t.getValue(i);r&&(r.liveStyle=!0),e[i]=null!=n?n:null}),l.push({animation:e})}let p=!!l.length;return n&&(!1===o.initial||o.initial===o.animate)&&!t.manuallyAnimateOnMount&&(p=!1),n=!1,p?e(l):Promise.resolve()}return{animateChanges:s,setActive:function(e,n){var r;if(i[e].isActive===n)return Promise.resolve();null===(r=t.variantChildren)||void 0===r||r.forEach(t=>{var i;return null===(i=t.animationState)||void 0===i?void 0:i.setActive(e,n)}),i[e].isActive=n;let o=s(e);for(let t in i)i[t].protectedKeys={};return o},setAnimateFunction:function(i){e=i(t)},getState:()=>i,reset:()=>{i=nu(),n=!0}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();T(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),null===(t=this.unmountControls)||void 0===t||t.call(this)}}let nd=0;class nc extends tq{constructor(){super(...arguments),this.id=nd++}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;let n=this.node.animationState.setActive("exit",!t);e&&!t&&n.then(()=>e(this.id))}mount(){let{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}let np=(t,e)=>Math.abs(t-e);class nf{constructor(t,e,{transformPagePoint:i,contextWindow:n,dragSnapToOrigin:r=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{var t,e;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let i=ng(this.lastMoveEventInfo,this.history),n=null!==this.startEvent,r=(t=i.offset,e={x:0,y:0},Math.sqrt(np(t.x,e.x)**2+np(t.y,e.y)**2)>=3);if(!n&&!r)return;let{point:s}=i,{timestamp:o}=tO.frameData;this.history.push({...s,timestamp:o});let{onStart:a,onMove:l}=this.handlers;n||(a&&a(this.lastMoveEvent,i),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,i)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=nm(e,this.transformPagePoint),tO.Wi.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:n,resumeAnimation:r}=this.handlers;if(this.dragSnapToOrigin&&r&&r(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let s=ng("pointercancel"===t.type?this.lastMoveEventInfo:nm(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,s),n&&n(t,s)},!tN(t))return;this.dragSnapToOrigin=r,this.handlers=e,this.transformPagePoint=i,this.contextWindow=n||window;let s=nm(tU(t),this.transformPagePoint),{point:o}=s,{timestamp:a}=tO.frameData;this.history=[{...o,timestamp:a}];let{onSessionStart:l}=e;l&&l(t,ng(s,this.history)),this.removeListeners=t$(tz(this.contextWindow,"pointermove",this.handlePointerMove),tz(this.contextWindow,"pointerup",this.handlePointerUp),tz(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),(0,tO.Pn)(this.updatePoint)}}function nm(t,e){return e?{point:e(t.point)}:t}function nv(t,e){return{x:t.x-e.x,y:t.y-e.y}}function ng({point:t},e){return{point:t,delta:nv(t,ny(e)),offset:nv(t,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let i=t.length-1,n=null,r=ny(t);for(;i>=0&&(n=t[i],!(r.timestamp-n.timestamp>en(.1)));)i--;if(!n)return{x:0,y:0};let s=er(r.timestamp-n.timestamp);if(0===s)return{x:0,y:0};let o={x:(r.x-n.x)/s,y:(r.y-n.y)/s}
16;return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}(e,0)}}function ny(t){return t[t.length-1]}function nb(t){return t.max-t.min}function nP(t,e=0,i=.01){return Math.abs(t-e)<=i}function nT(t,e,i,n=.5){t.origin=n,t.originPoint=iC(e.min,e.max,t.origin),t.scale=nb(i)/nb(e),(nP(t.scale,1,1e-4)||isNaN(t.scale))&&(t.scale=1),t.translate=iC(i.min,i.max,t.origin)-t.originPoint,(nP(t.translate)||isNaN(t.translate))&&(t.translate=0)}function nx(t,e,i,n){nT(t.x,e.x,i.x,n?n.originX:void 0),nT(t.y,e.y,i.y,n?n.originY:void 0)}function nw(t,e,i){t.min=i.min+e.min,t.max=t.min+nb(e)}function nE(t,e,i){t.min=e.min-i.min,t.max=t.min+nb(e)}function nS(t,e,i){nE(t.x,e.x,i.x),nE(t.y,e.y,i.y)}function nA(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 nC(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 nM(t,e,i){return{min:nk(t,e),max:nk(t,i)}}function nk(t,e){return"number"==typeof t?t:t[e]||0}let nL=()=>({translate:0,scale:1,origin:0,originPoint:0}),nV=()=>({x:nL(),y:nL()}),nD=()=>({min:0,max:0}),nR=()=>({x:nD(),y:nD()});function nF(t){return[t("x"),t("y")]}function nj({top:t,left:e,right:i,bottom:n}){return{x:{min:e,max:i},y:{min:t,max:n}}}function nO(t){return void 0===t||1===t}function nB({scale:t,scaleX:e,scaleY:i}){return!nO(t)||!nO(e)||!nO(i)}function nI(t){return nB(t)||nW(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function nW(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}function nN(t,e,i,n,r){return void 0!==r&&(t=n+r*(t-n)),n+i*(t-n)+e}function nU(t,e=0,i=1,n,r){t.min=nN(t.min,e,i,n,r),t.max=nN(t.max,e,i,n,r)}function nK(t,{x:e,y:i}){nU(t.x,e.translate,e.scale,e.originPoint),nU(t.y,i.translate,i.scale,i.originPoint)}function nz(t){return Number.isInteger(t)?t:t>1.0000000000001||t<.999999999999?t:1}function nH(t,e){t.min=t.min+e,t.max=t.max+e}function n$(t,e,[i,n,r]){let s=void 0!==e[r]?e[r]:.5,o=iC(t.min,t.max,s);nU(t,e[i],e[n],o,e.scale)}let n_=["x","scaleX","originX"],nZ=["y","scaleY","originY"];function nY(t,e){n$(t.x,e,n_),n$(t.y,e,nZ)}function nG(t,e){return nj(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 nX=({current:t})=>t?t.ownerDocument.defaultView:null,nq=new WeakMap;class nJ{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=nR(),this.visualElement=t}start(t,{snapToCursor:e=!1}={}){let{presenceContext:i}=this.visualElement;if(i&&!1===i.isPresent)return;let{dragSnapToOrigin:n}=this.getProps();this.panSession=new nf(t,{onSessionStart:t=>{let{dragSnapToOrigin:i}=this.getProps();i?this.pauseAnimation():this.stopAnimation(),e&&this.snapToCursor(tU(t,"page").point)},onStart:(t,e)=>{let{drag:i,dragPropagation:n,onDragStart:r}=this.getProps();if(i&&!n&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=tG(i),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),nF(t=>{let e=this.getAxisMotionValue(t).get()||0;if(tr.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let n=i.layout.layoutBox[t];if(n){let t=nb(n);e=parseFloat(e)/100*t}}}this.originPoint[t]=e}),r&&tO.Wi.postRender(()=>r(t,e));let{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!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&&r&&r(this.currentDirection);return}this.updateAxis("x",e.point,o),this.updateAxis("y",e.point,o),this.visualElement.render(),s&&s(t,e)},onSessionEnd:(t,e)=>this.stop(t,e),resumeAnimation:()=>nF(t=>{var e;return"paused"===this.getAnimationState(t)&&(null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.play())})},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:n,contextWindow:nX(this.visualElement)})}stop(t,e){let i=this.isDragging;if(this.cancel(),!i)return;let{velocity:n}=e;this.startAnimation(n);let{onDragEnd:r}=this.getProps();r&&tO.Wi.postRender(()=>r(t,e))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:i}=this.getProps();!i&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),e&&e.setActive("whileDrag",!1)}updateAxis(t,e,i){let{drag:n}=this.getProps();if(!i||!nQ(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?iC(e,t,n.min):Math.max(t,e):void 0!==i&&t>i&&(t=n?iC(i,t,n.max):Math.min(t,i)),t}(s,this.constraints[t],this.elastic[t])),r.set(s)}resolveConstraints(){var t;let{dragConstraints:e,dragElastic:i}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null===(t=this.visualElement.projection)||void 0===t?void 0:t.layout,r=this.constraints;e&&v(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&n?this.constraints=function(t,{top:e,left:i,bottom:n,right:r}){return{x:nA(t.x,i,r),y:nA(t.y,e,n)}}(n.layoutBox,e):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:nM(t,"left","right"),y:nM(t,"top","bottom")}}(i),r!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&nF(t=>{!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){let i={};return void 0!==e.min&&(i.min=e.min-t.min),void 0!==e.max&&(i.max=e.max-t.min),i}(n.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!v(e))return!1;let n=e.current;(0,ey.k)(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;
16let s=function(t,e,i){let n=nG(t,i),{scroll:r}=e;return r&&(nH(n.x,r.offset.x),nH(n.y,r.offset.y)),n}(n,r.root,this.visualElement.getTransformPagePoint()),o={x:nC((t=r.layout.layoutBox).x,s.x),y:nC(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=nj(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(nF(o=>{if(!nQ(o,e,this.currentDirection))return;let l=a&&a[o]||{};s&&(l={min:0,max:0});let u={type:"inertia",velocity:i?t[o]:0,bounceStiffness: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(i3(t,i,0,e,this.visualElement))}stopAnimation(){nF(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){nF(t=>{var e;return null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.pause()})}getAnimationState(t){var e;return null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.state}getAxisMotionValue(t){let e=`_drag${t.toUpperCase()}`,i=this.visualElement.getProps();return i[e]||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){nF(e=>{let{drag:i}=this.getProps();if(!nQ(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]-iC(i,s,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!v(e)||!i||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};nF(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){let i=e.get();n[t]=function(t,e){let i=.5,n=nb(t),r=nb(e);return r>n?i=iA(e.min,e.max-n,t.min):n>r&&(i=iA(t.min,t.max-r,e.min)),Z(0,1,i)}({min:i,max:i},this.constraints[t])}});let{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),nF(e=>{if(!nQ(e,t,null))return;let i=this.getAxisMotionValue(e),{min:r,max:s}=this.constraints[e];i.set(iC(r,s,n[e]))})}addListeners(){if(!this.visualElement.current)return;nq.set(this.visualElement,this);let t=tz(this.visualElement.current,"pointerdown",t=>{let{drag:e,dragListener:i=!0}=this.getProps();e&&i&&this.start(t)}),e=()=>{let{dragConstraints:t}=this.getProps();v(t)&&t.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,n=i.addEventListener("measure",e);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),tO.Wi.read(e);let r=tW(window,"resize",()=>this.scalePositionWithinConstraints()),s=i.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(nF(e=>{let i=this.getAxisMotionValue(e);i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=>{r(),t(),n(),s&&s()}}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 nQ(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}class n0 extends tq{constructor(t){super(t),this.removeGroupControls=t2.Z,this.removeListeners=t2.Z,this.controls=new nJ(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||t2.Z}unmount(){this.removeGroupControls(),this.removeListeners()}}let n1=t=>(e,i)=>{t&&tO.Wi.postRender(()=>t(e,i))};class n2 extends tq{constructor(){super(...arguments),this.removePointerDownListener=t2.Z}onPointerDown(t){this.session=new nf(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:nX(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:n}=this.node.getProps();return{onSessionStart:n1(t),onStart:n1(e),onMove:i,onEnd:(t,e)=>{delete this.session,n&&tO.Wi.postRender(()=>n(t,e))}}}mount(){this.removePointerDownListener=tz(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let n3={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function n5(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let n6={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t){if(!ts.test(t))return t;t=parseFloat(t)}let i=n5(t,e.target.x),n=n5(t,e.target.y);return`${i}% ${n}%`}};
16class n9 extends o.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:n}=this.props,{projection:r}=t;Object.assign(F,n8),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()})),n3.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()||tO.Wi.postRender(()=>{let t=s.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),f.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:n}=t;n&&(n.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(n),i&&i.deregister&&i.deregister(n))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function n4(t){let[e,i]=function(){let t=(0,o.useContext)(u.O);if(null===t)return[!0,null];let{isPresent:e,onExitComplete:i,register:n}=t,r=(0,o.useId)();return(0,o.useEffect)(()=>n(r),[]),!e&&i?[!1,()=>i&&i(r)]:[!0]}(),n=(0,o.useContext)(L.p);return(0,s.jsx)(n9,{...t,layoutGroup:n,switchLayoutGroup:(0,o.useContext)(g),isPresent:e,safeToRemove:i})}let n8={borderRadius:{...n6,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:n6,borderTopRightRadius:n6,borderBottomLeftRadius:n6,borderBottomRightRadius:n6,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let n=eJ.parse(t);if(n.length>5)return t;let r=eJ.createTransformer(t),s="number"!=typeof n[0]?1:0,o=i.x.scale*e.x,a=i.y.scale*e.y;n[0+s]/=o,n[1+s]/=a;let l=iC(o,a,.5);return"number"==typeof n[2+s]&&(n[2+s]/=l),"number"==typeof n[3+s]&&(n[3+s]/=l),r(n)}}},n7=["TopLeft","TopRight","BottomLeft","BottomRight"],rt=n7.length,re=t=>"string"==typeof t?parseFloat(t):t,ri=t=>"number"==typeof t||ts.test(t);function rn(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let rr=ro(0,.5,ib),rs=ro(.5,.95,t2.Z);function ro(t,e,i){return n=>n<t?0:n>e?1:i(iA(t,e,n))}function ra(t,e){t.min=e.min,t.max=e.max}function rl(t,e){ra(t.x,e.x),ra(t.y,e.y)}function ru(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 rh(t,e,[i,n,r],s,o){!function(t,e=0,i=1,n=.5,r,s=t,o=t){if(tr.test(e)&&(e=parseFloat(e),e=iC(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=iC(s.min,s.max,n);t===s&&(a-=e),t.min=ru(t.min,e,i,a,r),t.max=ru(t.max,e,i,a,r)}(t,e[i],e[n],e[r],e.scale,s,o)}let rd=["x","scaleX","originX"],rc=["y","scaleY","originY"];function rp(t,e,i,n){rh(t.x,e,rd,i?i.x:void 0,n?n.x:void 0),rh(t.y,e,rc,i?i.y:void 0,n?n.y:void 0)}function rf(t){return 0===t.translate&&1===t.scale}function rm(t){return rf(t.x)&&rf(t.y)}function rv(t,e){return Math.round(t.x.min)===Math.round(e.x.min)&&Math.round(t.x.max)===Math.round(e.x.max)&&Math.round(t.y.min)===Math.round(e.y.min)&&Math.round(t.y.max)===Math.round(e.y.max)}function rg(t){return nb(t.x)/nb(t.y)}class ry{constructor(){this.members=[]}add(t){i6(this.members,t),t.scheduleRender()}remove(t){if(i9(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){let i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,e&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:n}=t.options;!1===n&&i.hide()}}
16exitAnimationComplete(){this.members.forEach(t=>{let{options:e,resumingFrom:i}=t;e.onExitComplete&&e.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function rb(t,e,i){let n="",r=t.x.translate/e.x,s=t.y.translate/e.y,o=(null==i?void 0:i.z)||0;if((r||s||o)&&(n=`translate3d(${r}px, ${s}px, ${o}px) `),(1!==e.x||1!==e.y)&&(n+=`scale(${1/e.x}, ${1/e.y}) `),i){let{transformPerspective:t,rotate:e,rotateX:r,rotateY:s,skewX:o,skewY:a}=i;t&&(n=`perspective(${t}px) ${n}`),e&&(n+=`rotate(${e}deg) `),r&&(n+=`rotateX(${r}deg) `),s&&(n+=`rotateY(${s}deg) `),o&&(n+=`skewX(${o}deg) `),a&&(n+=`skewY(${a}deg) `)}let a=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==a||1!==l)&&(n+=`scale(${a}, ${l})`),n||"none"}let rP=(t,e)=>t.depth-e.depth;class rT{constructor(){this.children=[],this.isDirty=!1}add(t){i6(this.children,t),this.isDirty=!0}remove(t){i9(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(rP),this.isDirty=!1,this.children.forEach(t)}}let rx=["","X","Y","Z"],rw={visibility:"hidden"},rE=0,rS={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function rA(t,e,i,n){let{latestValues:r}=e;r[t]&&(i[t]=r[t],e.setStaticValue(t,0),n&&(n[t]=0))}function rC({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:n,resetTransform:r}){return class{constructor(t={},i=null==e?void 0:e()){this.id=rE++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,rS.totalNodes=rS.resolvedTargetDeltas=rS.recalculatedProjection=0,this.nodes.forEach(rL),this.nodes.forEach(rB),this.nodes.forEach(rI),this.nodes.forEach(rV),window.MotionDebug&&window.MotionDebug.record(rS)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new rT)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new i4),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let i=this.eventHandlers.get(t);i&&i.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e,i=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=e instanceof SVGElement&&"svg"!==e.tagName,this.instance=e;let{layoutId:n,layout:r,visualElement:s}=this.options;if(s&&!s.current&&s.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),i&&(r||n)&&(this.isLayoutDirty=!0),t){let i;let n=()=>this.root.updateBlockedByResize=!1;t(e,()=>{this.root.updateBlockedByResize=!0,i&&i(),i=function(t,e){let i=ev.now(),n=({timestamp:e})=>{let r=e-i;r>=250&&((0,tO.Pn)(n),t(r-250))};return tO.Wi.read(n,!0),()=>(0,tO.Pn)(n)}(n,0),n3.hasAnimatedSinceResize&&(n3.hasAnimatedSinceResize=!1,this.nodes.forEach(rO))})}n&&this.root.registerSharedNode(n,this),!1!==this.options.animate&&s&&(n||r)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeTargetChanged:i,layout:n})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let r=this.options.transition||s.getDefaultTransition()||rH,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=s.getProps(),l=!this.targetLayout||!rv(this.targetLayout,n)||i,u=!e&&i;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||u||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(t,u);let e={...eh(r,"layout"),onPlay:o,onComplete:a};(s.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e)}else e||rO(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=n})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,(0,tO.Pn)(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEac
16h(rW),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.HandoffCancelAllAnimations&&function t(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return!1;let{visualElement:i}=e.options;return!!i&&(!!ni(i)||!!e.parent&&!e.parent.hasCheckedOptimisedAppear&&t(e.parent))}(this)&&window.HandoffCancelAllAnimations(),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){let e=this.path[t];e.shouldResetTransform=!0,e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:i}=this.options;if(void 0===e&&!i)return;let n=this.getTransformTemplate();this.prevTransformTemplateValue=n?n(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(rR);return}this.isUpdating||this.nodes.forEach(rF),this.isUpdating=!1,this.nodes.forEach(rj),this.nodes.forEach(rM),this.nodes.forEach(rk),this.clearAllSnapshots();let t=ev.now();tO.frameData.delta=Z(0,1e3/60,t-tO.frameData.timestamp),tO.frameData.timestamp=t,tO.frameData.isProcessing=!0,tO.S6.update.process(tO.frameData),tO.S6.preRender.process(tO.frameData),tO.S6.render.process(tO.frameData),tO.frameData.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,f.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(rD),this.sharedNodes.forEach(rN)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,tO.Wi.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){tO.Wi.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let t=0;t<this.path.length;t++)this.path[t].updateScroll();let t=this.layout;this.layout=this.measure(!1),this.layoutCorrected=nR(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=!!(this.options.layoutScroll&&this.instance);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(){if(!r)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!rm(this.projectionDelta),i=this.getTransformTemplate(),n=i?i(this.latestValues,""):void 0,s=n!==this.prevTransformTemplateValue;t&&(e||nI(this.latestValues)||s)&&(r(this.instance,n),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let i=this.measurePageBox(),n=this.removeElementScroll(i);return t&&(n=this.removeTransform(n)),rZ((e=n).x),rZ(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return nR();let e=t.measureViewportBox(),{scroll:i}=this.root;return i&&(nH(e.x,i.offset.x),nH(e.y,i.offset.y)),e}removeElementScroll(t){let e=nR();rl(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){rl(e,t);let{scroll:i}=this.root;i&&(nH(e.x,-i.offset.x),nH(e.y,-i.offset.y))}nH(e.x,r.offset.x),nH(e.y,r.offset.y)}}return e}applyTransform(t,e=!1){let i=nR();rl(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&&nY(i,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),nI(n.latestValues)&&nY(i,n.latestValues)}return nI(this.latestValues)&&nY(i,this.latestValues),i}removeTransform(t){let e=nR();rl(e,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];if(!i.instance||!nI(i.latestValues))continue;nB(i.latestValues)&&i.updateSnapshot();let n=nR();rl(n,i.measurePageBox()),rp(e,i.latestValues,i.snapshot?i.snapshot.layoutBox:void 0,n)}return nI(this.latestValues)&&rp(e,this.latestValues),e}setTargetDelta(t){this.targetDelta=t,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(t){this.options={...this.options,...t,crossfade:void 0===t.crossfade||t.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==tO.frameData.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){var e,i,n,r;let s=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=s.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=s.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=s.isS
16haredProjectionDirty);let o=!!this.resumingFrom||this!==s;if(!(t||o&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty)||this.attemptToResolveRelativeTarget))return;let{layout:a,layoutId:l}=this.options;if(this.layout&&(a||l)){if(this.resolvedRelativeTargetAt=tO.frameData.timestamp,!this.targetDelta&&!this.relativeTarget){let t=this.getClosestProjectingParent();t&&t.layout&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=nR(),this.relativeTargetOrigin=nR(),nS(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),rl(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if((this.target||(this.target=nR(),this.targetWithTransforms=nR()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target)?(this.forceRelativeParentToResolveTarget(),i=this.target,n=this.relativeTarget,r=this.relativeParent.target,nw(i.x,n.x,r.x),nw(i.y,n.y,r.y)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):rl(this.target,this.layout.layoutBox),nK(this.target,this.targetDelta)):rl(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let t=this.getClosestProjectingParent();t&&!!t.resumingFrom==!!this.resumingFrom&&!t.options.layoutScroll&&t.target&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=nR(),this.relativeTargetOrigin=nR(),nS(this.relativeTargetOrigin,this.target,t.target),rl(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}rS.resolvedTargetDeltas++}}}getClosestProjectingParent(){return!this.parent||nB(this.parent.latestValues)||nW(this.parent.latestValues)?void 0:this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var t;let e=this.getLead(),i=!!this.resumingFrom||this!==e,n=!0;if((this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty))&&(n=!1),i&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===tO.frameData.timestamp&&(n=!1),n)return;let{layout:r,layoutId:s}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(r||s))return;rl(this.layoutCorrected,this.layout.layoutBox);let o=this.treeScale.x,a=this.treeScale.y;!function(t,e,i,n=!1){let r,s;let o=i.length;if(o){e.x=e.y=1;for(let a=0;a<o;a++){s=(r=i[a]).projectionDelta;let o=r.instance;(!o||!o.style||"contents"!==o.style.display)&&(n&&r.options.layoutScroll&&r.scroll&&r!==r.root&&nY(t,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),s&&(e.x*=s.x.scale,e.y*=s.y.scale,nK(t,s)),n&&nI(r.latestValues)&&nY(t,r.latestValues))}e.x=nz(e.x),e.y=nz(e.y)}}(this.layoutCorrected,this.treeScale,this.path,i),e.layout&&!e.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=nR());let{target:l}=e;if(!l){this.projectionTransform&&(this.projectionDelta=nV(),this.projectionTransform="none",this.scheduleRender());return}this.projectionDelta||(this.projectionDelta=nV(),this.projectionDeltaWithTransform=nV());let u=this.projectionTransform;nx(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.projectionTransform=rb(this.projectionDelta,this.treeScale),(this.projectionTransform!==u||this.treeScale.x!==o||this.treeScale.y!==a)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),rS.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(t,e=!1){let i;let n=this.snapshot,r=n?n.latestValues:{},s={...this.latestValues},o=nV();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let a=nR(),l=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),h=!u||u.members.length<=1,d=!!(l&&!h&&
16!0===this.options.crossfade&&!this.path.some(rz));this.animationProgress=0,this.mixTargetDelta=e=>{let n=e/1e3;if(rU(o.x,t.x,n),rU(o.y,t.y,n),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,c,p,f;nS(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,f=this.relativeTargetOrigin,rK(p.x,f.x,a.x,n),rK(p.y,f.y,a.y,n),i&&(u=this.relativeTarget,c=i,u.x.min===c.x.min&&u.x.max===c.x.max&&u.y.min===c.y.min&&u.y.max===c.y.max)&&(this.isProjectionDirty=!1),i||(i=nR()),rl(i,this.relativeTarget)}l&&(this.animationValues=s,function(t,e,i,n,r,s){r?(t.opacity=iC(0,void 0!==i.opacity?i.opacity:1,rr(n)),t.opacityExit=iC(void 0!==e.opacity?e.opacity:1,0,rs(n))):s&&(t.opacity=iC(void 0!==e.opacity?e.opacity:1,void 0!==i.opacity?i.opacity:1,n));for(let r=0;r<rt;r++){let s=`border${n7[r]}Radius`,o=rn(e,s),a=rn(i,s);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||ri(o)===ri(a)?(t[s]=Math.max(iC(re(o),re(a),n),0),(tr.test(a)||tr.test(o))&&(t[s]+="%")):t[s]=a)}(e.rotate||i.rotate)&&(t.rotate=iC(e.rotate||0,i.rotate||0,n))}(s,r,this.latestValues,n,d,h)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&((0,tO.Pn)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=tO.Wi.update(()=>{n3.hasAnimatedSinceResize=!0,this.currentAnimation=function(t,e,i){let n=I(0)?0:ne(0);return n.start(i3("",n,1e3,i)),n.animation}(0,0,{...t,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onComplete:()=>{t.onComplete&&t.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let t=this.getLead(),{targetWithTransforms:e,target:i,layout:n,latestValues:r}=t;if(e&&i&&n){if(this!==t&&this.layout&&n&&rY(this.options.animationType,this.layout.layoutBox,n.layoutBox)){i=this.target||nR();let e=nb(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let n=nb(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+n}rl(e,i),nY(e,r),nx(this.projectionDeltaWithTransform,this.layoutCorrected,e,r)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new ry),this.sharedNodes.get(t).add(e);let i=e.options.initialPromotionConfig;e.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(e):void 0})}isLead(){let t=this.getStack();return!t||t.lead===this}getLead(){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)}resetSkewAndRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:i}=t;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(e=!0),!e)return;let n={};i.z&&rA("z",t,n,this.animationValues);for(let e=0;e<rx.length;e++)rA(`rotate${rx[e]}`,t,n,this.animationValues),rA(`skew${rx[e]}`,t,n,this.animationValues);for(let e in t.render(),n)t.setStaticValue(e,n[e]),this.animationValues&&(this.animationValues[e]=n[e]);t.scheduleRender()}getProjectionStyles(t){var e,i;if(!this.instance||this.isSVG)return;if(!this.isVisible)return rw;let n={visibility:""},r=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,n.opacity="",n.pointerEvents=tF(null==t?void 0:t.pointerEvents)||"",n.transform=r?r(this.latestValues,""):"none",n;let s=this.getLead();if(!this.projectionDelta||!this.layout||!s.target){let e={};return this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=tF(null==t?void 0:t.pointerEvents)||""),this.hasProjected&&!nI(this.latestValues)&&(e.transform=r?r({},""):"none",this.hasProjected=!1),e}let o=s.animationValues||s.latestValues;this.applyTransformsToTarget(),n.transform=rb(this.projectionDeltaWithTransform,this.treeScale,o),r&&(n.transform=r(o,n.transform));let{x:a,y:l}=this.projectionDelta;for(let t in n.transformOrigin=`${100*a.origin}% ${100*l.origin}% 0`,s.animationValues?n.opacity=s===this?null!==(i=null!==(e=o.opacity)&&void 0!==e?e:this.latestValues.opacity)&&void 0!==i?i:1:this.preserveOpacity?this.latestValues.opacity:o.opacityExit:n.opacity=s===this?void 0!==o.opacity?o.opacity:"":void 0!==o.opacityExit?o.opacityExit:0,F){if(void 0===o[t])continue;let{correct:e,applyTo:i}=F[t],r="none"===n.transform?o[t]:e(o[t],s);if(i){let t=i.length;for(let e=0;e<t;e++)n[i[e]]=r}else n[t]=r}return this.options.layoutId&&(n.pointerEvents=s===this?tF(null==t?void 0:t.pointerEvents)||"":"none"),n}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}
16resetTree(){this.root.nodes.forEach(t=>{var e;return null===(e=t.currentAnimation)||void 0===e?void 0:e.stop()}),this.root.nodes.forEach(rR),this.root.sharedNodes.clear()}}}function rM(t){t.updateLayout()}function rk(t){var e;let i=(null===(e=t.resumeFrom)||void 0===e?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&i&&t.hasListeners("didUpdate")){let{layoutBox:e,measuredBox:n}=t.layout,{animationType:r}=t.options,s=i.source!==t.layout.source;"size"===r?nF(t=>{let n=s?i.measuredBox[t]:i.layoutBox[t],r=nb(n);n.min=e[t].min,n.max=n.min+r}):rY(r,i.layoutBox,e)&&nF(n=>{let r=s?i.measuredBox[n]:i.layoutBox[n],o=nb(e[n]);r.max=r.min+o,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[n].max=t.relativeTarget[n].min+o)});let o=nV();nx(o,e,i.layoutBox);let a=nV();s?nx(a,t.applyTransform(n,!0),i.measuredBox):nx(a,e,i.layoutBox);let l=!rm(o),u=!1;if(!t.resumeFrom){let n=t.getClosestProjectingParent();if(n&&!n.resumeFrom){let{snapshot:r,layout:s}=n;if(r&&s){let o=nR();nS(o,i.layoutBox,r.layoutBox);let a=nR();nS(a,e,s.layoutBox),rv(o,a)||(u=!0),n.options.layoutRoot&&(t.relativeTarget=a,t.relativeTargetOrigin=o,t.relativeParent=n)}}}t.notifyListeners("didUpdate",{layout:e,snapshot:i,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeTargetChanged:u})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function rL(t){rS.totalNodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function rV(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function rD(t){t.clearSnapshot()}function rR(t){t.clearMeasurements()}function rF(t){t.isLayoutDirty=!1}function rj(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function rO(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function rB(t){t.resolveTargetDelta()}function rI(t){t.calcProjection()}function rW(t){t.resetSkewAndRotation()}function rN(t){t.removeLeadSnapshot()}function rU(t,e,i){t.translate=iC(e.translate,0,i),t.scale=iC(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function rK(t,e,i,n){t.min=iC(e.min,i.min,n),t.max=iC(e.max,i.max,n)}function rz(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let rH={duration:.45,ease:[.4,0,.1,1]},r$=t=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),r_=r$("applewebkit/")&&!r$("chrome/")?Math.round:t2.Z;function rZ(t){t.min=r_(t.min),t.max=r_(t.max)}function rY(t,e,i){return"position"===t||"preserve-aspect"===t&&!nP(rg(e),rg(i),.2)}let rG=rC({attachResizeListener:(t,e)=>tW(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),rX={current:void 0},rq=rC({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!rX.current){let t=new rG({});t.mount(window),t.setOptions({layoutScroll:!0}),rX.current=t}return rX.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position}),rJ={current:null},rQ={current:!1},r0=new WeakMap,r1=[...ek,eH,eJ],r2=t=>r1.find(eM(t)),r3=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],r5=w.length;class r6{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:n,blockInitialAnimation:r,visualState:s},o={}){this.resolveKeyframes=(t,e,i,n)=>new this.KeyframeResolver(t,e,i,n,this),this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=eO,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>tO.Wi.render(this.render,!1,!0);let{latestValues:a,renderState:l}=s;this.latestValues=a,this.baseTarget={...a},this.initialValues=e.initial?{...a}:{},this.renderState=l,this.parent=t,this.props=e,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=n,this.options=o,this.blockInitialAnimation=!!r,this.isControllingVariants=E(e),this.isVariantNode=S(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);let{willChange:u,...h}=this.scrapeMotionValuesFromProps(e,{},this);for(let t in h){let e=h[t];void 0!==a[t]&&I(e)&&(e.set(a[t],!1),i5(u)&&u.add(t))}}mount(t){this.current=t,r0.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEac
16h((t,e)=>this.bindToMotionValue(e,t)),rQ.current||function(){if(rQ.current=!0,k.j){if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>rJ.current=t.matches;t.addListener(e),e()}else rJ.current=!1}}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||rJ.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in r0.delete(this.current),this.projection&&this.projection.unmount(),(0,tO.Pn)(this.notifyUpdate),(0,tO.Pn)(this.render),this.valueSubscriptions.forEach(t=>t()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[t].clear();for(let t in this.features){let e=this.features[t];e&&(e.unmount(),e.isMounted=!1)}this.current=null}bindToMotionValue(t,e){let i=O.has(t),n=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&tO.Wi.preRender(this.notifyUpdate),i&&this.projection&&(this.projection.isTransformDirty=!0)}),r=e.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{n(),r(),e.owner&&e.stop()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in M){let e=M[t];if(!e)continue;let{isEnabled:i,Feature:n}=e;if(!this.features[t]&&n&&i(this.props)&&(this.features[t]=new n(this)),this.features[t]){let e=this.features[t];e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):nR()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let e=0;e<r3.length;e++){let i=r3[e];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let n=t["on"+i];n&&(this.propEventSubscriptions[i]=this.on(i,n))}this.prevMotionValues=function(t,e,i){let{willChange:n}=e;for(let r in e){let s=e[r],o=i[r];if(I(s))t.addValue(r,s),i5(n)&&n.add(r);else if(I(o))t.addValue(r,ne(s,{owner:t})),i5(n)&&n.remove(r);else if(o!==s){if(t.hasValue(r)){let e=t.getValue(r);!0===e.liveStyle?e.jump(s):e.hasAnimated||e.set(s)}else{let e=t.getStaticValue(r);t.addValue(r,ne(void 0!==e?e:s,{owner:t}))}}}for(let n in i)void 0===e[n]&&t.removeValue(n);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(t=!1){if(t)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){let t=this.parent&&this.parent.getVariantContext()||{};return void 0!==this.props.initial&&(t.initial=this.props.initial),t}let e={};for(let t=0;t<r5;t++){let i=w[t],n=this.props[i];(P(n)||!1===n)&&(e[i]=n)}return e}addVariantChild(t){let e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){let i=this.values.get(t);e!==i&&(i&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);let e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return void 0===i&&void 0!==e&&(i=ne(null===e?void 0:e,{owner:this}),this.addValue(t,i)),i}readValue(t,e){var i;let n=void 0===this.latestValues[t]&&this.current?null!==(i=this.getBaseTargetFromProps(this.props,t))&&void 0!==i?i:this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];return null!=n&&("string"==typeof n&&(eb(n)||eg(n))?n=parseFloat(n):!r2(n)&&eJ.test(e)&&(n=e6(t,e)),this.setBaseTarget(t,I(n)?n.get():n)),I(n)?n.get():n}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){var e;let i;let{initial:n}=this.props;if("string"==typeof n||"object"==typeof n){let r=tk(this.props,n,null===(e=this.presenceContext)||void 0===e?void 0:e.custom);r&&(i=r[t])}if(n&&void 0!==i)return i;let r=this.getBaseTargetFromProps(this.props,t);return void 0===r||I(r)?void 0!==this.initialValues[t]&&void 0===i?void 0:this.baseTarget[t]:r}on(t,e){return this.events[t]||(this.events[t]=new i4),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}}class r9 extends r6{constructor(){super(...arguments),this.KeyframeResolver=e4}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){return t.style?t.style[e]:void 0}removeValueFromRenderState(t,{vars:e,style:i}){delete e[t],delete i[t]}}class r4 extends r9{constructor(){super(...arguments),this.type="html"}readValueFromInstance(t,e){if(O.has(e)){let t=e5(e);return t&&t.default||0}{let i=window.getComputedStyle(t),n=(K(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(t,{transformPagePoint:e}){return nG(t,e)}build(t,e,i,n){td(t,e,i,n.transformTemplate)}
16scrapeMotionValuesFromProps(t,e,i){return tA(t,e,i)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;I(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}renderInstance(t,e,i,n){tw(t,e,i,n)}}class r8 extends r9{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(O.has(e)){let t=e5(e);return t&&t.default||0}return e=tE.has(e)?e:c(e),t.getAttribute(e)}measureInstanceViewportBox(){return nR()}scrapeMotionValuesFromProps(t,e,i){return tC(t,e,i)}build(t,e,i,n){tP(t,e,i,this.isSVGTag,n.transformTemplate)}renderInstance(t,e,i,n){tS(t,e,i,n)}mount(t){this.isSVGTag=tx(t.tagName),super.mount(t)}}let r7=(t,e)=>R(t)?new r8(e,{enableHardwareAcceleration:!1}):new r4(e,{allowProjection:t!==o.Fragment,enableHardwareAcceleration:!0}),st={animation:{Feature:nh},exit:{Feature:nc},inView:{Feature:et},tap:{Feature:t5},focus:{Feature:t0},hover:{Feature:tQ},pan:{Feature:n2},drag:{Feature:n0,ProjectionNode:rq,MeasureLayout:n4},layout:{ProjectionNode:rq,MeasureLayout:n4}},se=function(t){function e(e,i={}){return function({preloadedFeatures:t,createVisualElement:e,useRender:i,useVisualState:n,Component:r}){t&&function(t){for(let e in t)M[e]={...M[e],...t[e]}}(t);let c=(0,o.forwardRef)(function(t,c){var m;let T;let x={...(0,o.useContext)(a._),...t,layoutId:function({layoutId:t}){let e=(0,o.useContext)(L.p).id;return e&&void 0!==t?e+"-"+t:t}(t)},{isStatic:w}=x,S=function(t){let{initial:e,animate:i}=function(t,e){if(E(t)){let{initial:e,animate:i}=t;return{initial:!1===e||P(e)?e:void 0,animate:P(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,o.useContext)(l));return(0,o.useMemo)(()=>({initial:e,animate:i}),[A(e),A(i)])}(t),C=n(t,w);if(!w&&k.j){(0,o.useContext)(d).strict;let t=function(t){let{drag:e,layout:i}=M;if(!e&&!i)return{};let n={...e,...i};return{MeasureLayout:(null==e?void 0:e.isEnabled(t))||(null==i?void 0:i.isEnabled(t))?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}(x);T=t.MeasureLayout,S.visualElement=function(t,e,i,n,r){let{visualElement:s}=(0,o.useContext)(l),c=(0,o.useContext)(d),m=(0,o.useContext)(u.O),P=(0,o.useContext)(a._).reducedMotion,T=(0,o.useRef)();n=n||c.renderer,!T.current&&n&&(T.current=n(t,{visualState:e,parent:s,props:i,presenceContext:m,blockInitialAnimation:!!m&&!1===m.initial,reducedMotionConfig:P}));let x=T.current,w=(0,o.useContext)(g);x&&!x.projection&&r&&("html"===x.type||"svg"===x.type)&&function(t,e,i,n){let{layoutId:r,layout:s,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:u}=e;t.projection=new i(t.latestValues,e["data-framer-portal-id"]?void 0:function t(e){if(e)return!1!==e.options.allowProjection?e.projection:t(e.parent)}(t.parent)),t.projection.setOptions({layoutId:r,layout:s,alwaysMeasureLayout:!!o||a&&v(a),visualElement:t,scheduleRender:()=>t.scheduleRender(),animationType:"string"==typeof s?s:"both",initialPromotionConfig:n,layoutScroll:l,layoutRoot:u})}(T.current,i,r,w),(0,o.useInsertionEffect)(()=>{x&&x.update(i,m)});let E=(0,o.useRef)(!!(i[p]&&!window.HandoffComplete));return(0,h.L)(()=>{x&&(x.updateFeatures(),f.render(x.render),E.current&&x.animationState&&x.animationState.animateChanges())}),(0,o.useEffect)(()=>{x&&(!E.current&&x.animationState&&x.animationState.animateChanges(),E.current&&(E.current=!1,y||(y=!0,queueMicrotask(b))))}),x}(r,C,x,e,t.ProjectionNode)}return(0,s.jsxs)(l.Provider,{value:S,children:[T&&S.visualElement?(0,s.jsx)(T,{visualElement:S.visualElement,...x}):null,i(r,t,(m=S.visualElement,(0,o.useCallback)(t=>{t&&C.mount&&C.mount(t),m&&(t?m.mount(t):m.unmount()),c&&("function"==typeof c?c(t):v(c)&&(c.current=t))},[m])),C,w,S.visualElement)]})});return c[V]=r,c}(t(e,i))}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){return{...R(t)?tB:tI,preloadedFeatures:i,useRender:function(t=!1){return(e,i,n,{latestValues:r},s)=>
16{let a=(R(e)?function(t,e,i,n){let r=(0,o.useMemo)(()=>{let i=tT();return tP(i,e,{enableHardwareAcceleration:!1},tx(n),t.transformTemplate),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};tp(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 tp(r,n,t),Object.assign(r,function({transformTemplate:t},e,i){return(0,o.useMemo)(()=>{let n=tc();return td(n,e,{enableHardwareAcceleration:!i},t),Object.assign({},n.vars,n.style)},[e])}(t,e,i)),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"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(n.tabIndex=0),n.style=r,n})(i,r,s,e),l=function(t,e,i){let n={};for(let r in t)("values"!==r||"object"!=typeof t.values)&&(tv(r)||!0===i&&tm(r)||!e&&!tm(r)||t.draggable&&r.startsWith("onDrag"))&&(n[r]=t[r]);return n}(i,"string"==typeof e,t),u=e!==o.Fragment?{...l,...a,ref:n}:{},{children:h}=i,d=(0,o.useMemo)(()=>I(h)?h.get():h,[h]);return(0,o.createElement)(e,{...u,children:d})}}(e),createVisualElement:n,Component:t}})(t,e,st,r7))},2081:function(t,e,i){"use strict";i.d(e,{c:function(){return n}});let n={skipAnimations:!1,useManualTiming:!1}},5487:function(t,e,i){"use strict";i.d(e,{K:function(){return r},k:function(){return s}});var n=i(1662);let r=n.Z,s=n.Z},1741:function(t,e,i){"use strict";i.d(e,{j:function(){return n}});let n="undefined"!=typeof document},1662:function(t,e,i){"use strict";i.d(e,{Z:function(){return n}});let n=t=>t},6681:function(t,e,i){"use strict";i.d(e,{h:function(){return r}});var n=i(7294);function r(t){let e=(0,n.useRef)(null);return null===e.current&&(e.current=t()),e.current}},8868:function(t,e,i){"use strict";i.d(e,{L:function(){return r}});var n=i(7294);let r=i(1741).j?n.useLayoutEffect:n.useEffect},6324:function(t,e,i){"use strict";i.d(e,{z:function(){return X}});var n=i(3024),r=i(8349),s=i(3136),o=i(6590),a=i(2970),l=i(7294),u=i(4247),h=i(8837);function d(t){let{isDisabled:e,onFocus:i,onBlur:n,onFocusChange:r}=t,s=(0,l.useCallback)(t=>{if(t.target===t.currentTarget)return n&&n(t),r&&r(!1),!0},[n,r]),o=(0,u.d)(s),a=(0,l.useCallback)(t=>{let e=(0,h.r)(t.target);t.target===t.currentTarget&&e.activeElement===t.target&&(i&&i(t),r&&r(!0),o(t))},[r,i,o]);return{focusProps:{onFocus:!e&&(i||r||n)?a:void 0,onBlur:!e&&(n||r)?s:void 0}}}function c(t){if(!t)return;let e=!0;return i=>{t({...i,preventDefault(){i.preventDefault()},isDefaultPrevented:()=>i.isDefaultPrevented(),stopPropagation(){console.error("stopPropagation is now the default behavior for events in React Spectrum. You can use continuePropagation() to revert this behavior.")},continuePropagation(){e=!1}}),e&&i.stopPropagation()}}let p=l.createContext(null);var f=i(8806),m=i(5007);let v="default",g="",y=new WeakMap;function b(t){if((0,f.gn)()){if("default"===v){let e=(0,h.r)(t);g=e.documentElement.style.webkitUserSelect,e.documentElement.style.webkitUserSelect="none"}v="disabled"}else(t instanceof HTMLElement||t instanceof SVGElement)&&(y.set(t,t.style.userSelect),t.style.userSelect="none")}function P(t){if((0,f.gn)())"disabled"===v&&(v="restoring",setTimeout(()=>{(0,m.Q)(()=>{if("restoring"===v){let e=(0,h.r)(t);"none"===e.documentElement.style.webkitUserSelect&&(e.documentElement.style.webkitUserSelect=g||""),g="",v="default"}})},300));else if((t instanceof HTMLElement||t instanceof SVGElement)&&t&&y.has(t)){let e=y.get(t);"none"===t.style.userSelect&&(t.style.userSelect=e),""===t.getAttribute("style")&&t.removeAttribute("style"),y.delete(t)}}var T=i(4942);function x(t,e,i){if(!e.has(t))throw TypeError("attempted to "+i+" private field on non-instance");return e.get(t)}function w(t,e,i){var n=x(t,e,"set");return!function(t,e,i){if(e.set)e.set.call(t,i);else{if(!e.writable)throw TypeError("attempted to set read only private field");e.value=i}}(t,n,i),i}var E=i(1718),S=i(1086),A=i(7604);function C(t,e,i=!0){var n,r;let{metaKey:s,ctrlKey:o,altKey:a,shiftKey:l}=e;(0,f.vU)()&&(null===(r=window.event)||void 0===r?void 0:null===(n=r.type)||void 0===n?void 0:n.startsWith("key"))&&"_blank"===t.target&&((0,f.V5)()?s=!0:o=!0);let u=(0,f.Pf)()&&(0,f.V5)()&&!(0,f.zc)()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:s,ctrlKey:o,altKey:a,shift
16Key:l}):new MouseEvent("click",{metaKey:s,ctrlKey:o,altKey:a,shiftKey:l,bubbles:!0,cancelable:!0});C.isOpening=i,(0,A.A)(t),t.dispatchEvent(u),C.isOpening=!1}C.isOpening=!1;var M=i(6301),k=new WeakMap;class L{continuePropagation(){w(this,k,!1)}get shouldStopPropagation(){var t;return(t=x(this,k,"get")).get?t.get.call(this):t.value}constructor(t,e,i){var n;n={writable:!0,value:void 0},function(t,e){if(e.has(t))throw TypeError("Cannot initialize the same private elements twice on an object")}(this,k),k.set(this,n),w(this,k,!0),this.type=t,this.pointerType=e,this.target=i.currentTarget,this.shiftKey=i.shiftKey,this.metaKey=i.metaKey,this.ctrlKey=i.ctrlKey,this.altKey=i.altKey}}let V=Symbol("linkClicked");function D(t){return"A"===t.tagName&&t.hasAttribute("href")}function R(t,e){let{key:i,code:n}=t,r=e.getAttribute("role");return("Enter"===i||" "===i||"Spacebar"===i||"Space"===n)&&!(e instanceof(0,h.k)(e).HTMLInputElement&&!N(e,i)||e instanceof(0,h.k)(e).HTMLTextAreaElement||e.isContentEditable)&&!(("link"===r||!r&&D(e))&&"Enter"!==i)}function F(t,e){let i=t.changedTouches;for(let t=0;t<i.length;t++){let n=i[t];if(n.identifier===e)return n}return null}function j(t,e){return{currentTarget:t,shiftKey:e.shiftKey,ctrlKey:e.ctrlKey,metaKey:e.metaKey,altKey:e.altKey}}function O(t,e){let i,n,r=e.getBoundingClientRect(),s=(i=0,n=0,void 0!==t.width?i=t.width/2:void 0!==t.radiusX&&(i=t.radiusX),void 0!==t.height?n=t.height/2:void 0!==t.radiusY&&(n=t.radiusY),{top:t.clientY-n,right:t.clientX+i,bottom:t.clientY+n,left:t.clientX-i});return!(r.left>s.right)&&!(s.left>r.right)&&!(r.top>s.bottom)&&!(s.top>r.bottom)}function B(t){return!(t instanceof HTMLElement)||!t.hasAttribute("draggable")}function I(t,e){return t instanceof HTMLInputElement?!N(t,e):t instanceof HTMLButtonElement?"submit"!==t.type&&"reset"!==t.type:!D(t)}let W=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function N(t,e){return"checkbox"===t.type||"radio"===t.type?" "===e:W.has(t.type)}var U=i(9975),K=i(4971);let z=!1,H=0;function $(){z=!0,setTimeout(()=>{z=!1},50)}function _(t){"touch"===t.pointerType&&$()}function Z(){if("undefined"!=typeof document)return"undefined"!=typeof PointerEvent?document.addEventListener("pointerup",_):document.addEventListener("touchend",$),H++,()=>{--H>0||("undefined"!=typeof PointerEvent?document.removeEventListener("pointerup",_):document.removeEventListener("touchend",$))}}let Y=new Set(["form","formAction","formEncType","formMethod","formNoValidate","formTarget","name","value"]),G=(0,l.createContext)({}),X=(0,n.qW)(function(t,e){[t,e]=(0,n.pE)(t,e,G);let i=t,{buttonProps:u,isPressed:m}=function(t,e){let i,{elementType:n="button",isDisabled:u,onPress:m,onPressStart:v,onPressEnd:g,onPressUp:y,onPressChange:x,preventFocusOnPress:w,allowFocusWhenDisabled:k,onClick:W,href:N,target:U,rel:K,type:z="button"}=t;i="button"===n?{type:z,disabled:u}:{role:"button",tabIndex:u?void 0:0,href:"a"===n&&u?void 0:N,target:"a"===n?U:void 0,type:"input"===n?z:void 0,disabled:"input"===n?u:void 0,"aria-disabled":u&&"input"!==n?u:void 0,rel:"a"===n?K:void 0};let{pressProps:H,isPressed:$}=function(t){let e,i,n,s,{onPress:o,onPressChange:u,onPressStart:d,onPressEnd:c,onPressUp:p,isDisabled:m,isPressed:v,preventFocusOnPress:g,shouldCancelOnPointerExit:y,allowTextSelectionOnPress:x,ref:w,...k}=function(t){let e=(0,l.useContext)(T.O);if(e){let{register:i,...n}=e;t=(0,r.d)(n,t),i()}return(0,a.l)(e,t.ref),t}(t),[W,N]=(0,l.useState)(!1),U=(0,l.useRef)({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:K,removeAllGlobalListeners:z}=(e=(0,l.useRef)(new Map),i=(0,l.useCallback)((t,i,n,r)=>{let s=(null==r?void 0:r.once)?(...t)=>{e.current.delete(n),n(...t)}:n;e.current.set(n,{type:i,eventTarget:t,fn:s,options:r}),t.addEventListener(i,n,r)},[]),n=(0,l.useCallback)((t,i,n,r)=>{var s;let o=(null===(s=e.current.get(n))||void 0===s?void 0:s.fn)||n;t.removeEventListener(i,o,r),e.current.delete(n)},[]),s=(0,l.useCallback)(()=>{e.current.forEach((t,e)=>{n(t.eventTarget,t.type,e,t.options)})},[n]),(0,l.useEffect)(()=>s,[s]),{addGlobalListener:i,removeGlobalListener:n,removeAllGlobalListeners:s}),H=(0,E.i)((t,e)=>{let i=U.current;if(m||i.didFirePressStart)return!1;let n=!0;if(i.isTriggeringEvent=!0,d){let i=new L("pressstart",e,t);d(i),n=i.shouldStopPropagation}return u&&u(!0),i.isTriggeringEvent=!1,i.didFirePressStart=!0,N(!0),n}),$=(0,E.i)((t,e,i=!0)=>{let n=U.current;if(!n.didFirePressStart)return!1;n.ignoreClickAfterPress=!0,n.didFirePressStart=!1,n.isTriggeringEvent=!0;let r=!0;if(c){let i=new L("pressend",e,t);c(i),r=i.shouldStopPropagation}if(u&&u(!1),N(!1),o&&i&&!m){let i=new L("press",e,t);o(i),r&&(r=i.shouldStopPropagation)}return n.isTriggeringEvent=!1,r}),_=(0,E.i)((t,e)=>{let i=U.current;if(m)return!1;if(p){i.isTriggeringEvent=!0;let n=new L("pressup",e,t);return p(n),i.isTriggeringEvent=!1,n.shouldStopPropagation}return!0}),Z=(0,E.i)(t=>{let e=U.current;e.isPressed&&e.target&&(e.isOverTarget&&null!=e.pointerType&&$(j(e.target,t),e.pointerType,!1),e.isPressed=!1,e.isOverTarget=!1,e.activePointerId=null,e.pointerType=null,z(),x||P(e.target))}),Y=(0,E.i)(t=>{y&&Z(t)}),G=(0,l.useMemo)(()=>{let t=U.current,e={onKeyDown(e){if(R(e.nativeEvent,e.currentTarget)&&e.currentTarget.contains(e.target)){var n;I(e.target,e.key)&&e.preventDefault();let r=!0;if(!t.isPressed&&!e.repeat){t.target=e.currentTarget,t.isPressed=!0,r=H(e,"keyboard");let n=e.currentTarget;K((0,h.r)(e.currentTarget),"keyup",(0,S.t)(e=>{R(e,n)&&!e.repeat&&n.contains(e.target)&&t.target&&_(j(t.target,e),"keyboard")},i),!0)}r&&e.stopPropagation(),e.metaKey&&(0,f.V5)()&&(null===(n=t.metaKeyEvents)||void 0===n||n.set(e.key,e.nativeEvent))}else"Meta"===e.key&&(t.metaKeyEvents=new Map)},onClick(e){if((!e||e.currentTarget.contains(e.target))&&e&&0===e.button&&!t.isTriggeringEvent&&!C.isOpening){let i=!0;if(m&&e.preventDefault(),!t.ignoreClickAfterPress&&!t.ignoreEmulatedMouseEvents&&!t.isPressed&&("virtual"===t.pointerType||(0,M.Z)(e.nativeEvent))){m||g||(0,A.A)(e.currentTarget);let t=H(e,"virtual"),n=_(e,"virtual"),r=$(e,"virtual");i=t&&n&&r}t.ignoreEmulatedMouseEvents=!1,t.ignoreClickAfterPress=!1,i&&e.stopPropagation()}}},i=e=>{var i,n,r;if(t.isPressed&&t.target&&R(e,t.target)){I(e.target,e.key)&&e.preventDefault();let i=e.target;$(j(t.target,e),"keyboard",t.target.contains(i)),z(),"Enter"!==e.key&&D(t.target)&&t.target.contains(i)&&!e[V]&&(e[V]=!0,C(t.target,e,!1)),t.isPressed=!1,null===(n=t.metaKeyEvents)||void 0===n||n.delete(e.key)}else if("Meta"===e.key&&(null===(i=t.metaKeyEvents)||void 0===i?void 0:i.size)){let e=t.metaKeyEvents;
16for(let i of(t.metaKeyEvents=void 0,e.values()))null===(r=t.target)||void 0===r||r.dispatchEvent(new KeyboardEvent("keyup",i))}};if("undefined"!=typeof PointerEvent){e.onPointerDown=e=>{if(0!==e.button||!e.currentTarget.contains(e.target))return;if((0,M.c)(e.nativeEvent)){t.pointerType="virtual";return}B(e.currentTarget)&&e.preventDefault(),t.pointerType=e.pointerType;let s=!0;t.isPressed||(t.isPressed=!0,t.isOverTarget=!0,t.activePointerId=e.pointerId,t.target=e.currentTarget,m||g||(0,A.A)(e.currentTarget),x||b(t.target),s=H(e,t.pointerType),K((0,h.r)(e.currentTarget),"pointermove",i,!1),K((0,h.r)(e.currentTarget),"pointerup",n,!1),K((0,h.r)(e.currentTarget),"pointercancel",r,!1)),s&&e.stopPropagation()},e.onMouseDown=t=>{t.currentTarget.contains(t.target)&&0===t.button&&(B(t.currentTarget)&&t.preventDefault(),t.stopPropagation())},e.onPointerUp=e=>{e.currentTarget.contains(e.target)&&"virtual"!==t.pointerType&&0===e.button&&O(e,e.currentTarget)&&_(e,t.pointerType||e.pointerType)};let i=e=>{e.pointerId===t.activePointerId&&(t.target&&O(e,t.target)?t.isOverTarget||null==t.pointerType||(t.isOverTarget=!0,H(j(t.target,e),t.pointerType)):t.target&&t.isOverTarget&&null!=t.pointerType&&(t.isOverTarget=!1,$(j(t.target,e),t.pointerType,!1),Y(e)))},n=e=>{e.pointerId===t.activePointerId&&t.isPressed&&0===e.button&&t.target&&(O(e,t.target)&&null!=t.pointerType?$(j(t.target,e),t.pointerType):t.isOverTarget&&null!=t.pointerType&&$(j(t.target,e),t.pointerType,!1),t.isPressed=!1,t.isOverTarget=!1,t.activePointerId=null,t.pointerType=null,z(),x||P(t.target))},r=t=>{Z(t)};e.onDragStart=t=>{t.currentTarget.contains(t.target)&&Z(t)}}else{e.onMouseDown=e=>{if(0===e.button&&e.currentTarget.contains(e.target)){if(B(e.currentTarget)&&e.preventDefault(),t.ignoreEmulatedMouseEvents){e.stopPropagation();return}t.isPressed=!0,t.isOverTarget=!0,t.target=e.currentTarget,t.pointerType=(0,M.Z)(e.nativeEvent)?"virtual":"mouse",m||g||(0,A.A)(e.currentTarget),H(e,t.pointerType)&&e.stopPropagation(),K((0,h.r)(e.currentTarget),"mouseup",i,!1)}},e.onMouseEnter=e=>{if(!e.currentTarget.contains(e.target))return;let i=!0;t.isPressed&&!t.ignoreEmulatedMouseEvents&&null!=t.pointerType&&(t.isOverTarget=!0,i=H(e,t.pointerType)),i&&e.stopPropagation()},e.onMouseLeave=e=>{if(!e.currentTarget.contains(e.target))return;let i=!0;t.isPressed&&!t.ignoreEmulatedMouseEvents&&null!=t.pointerType&&(t.isOverTarget=!1,i=$(e,t.pointerType,!1),Y(e)),i&&e.stopPropagation()},e.onMouseUp=e=>{e.currentTarget.contains(e.target)&&!t.ignoreEmulatedMouseEvents&&0===e.button&&_(e,t.pointerType||"mouse")};let i=e=>{if(0===e.button){if(t.isPressed=!1,z(),t.ignoreEmulatedMouseEvents){t.ignoreEmulatedMouseEvents=!1;return}t.target&&O(e,t.target)&&null!=t.pointerType?$(j(t.target,e),t.pointerType):t.target&&t.isOverTarget&&null!=t.pointerType&&$(j(t.target,e),t.pointerType,!1),t.isOverTarget=!1}};e.onTouchStart=e=>{if(!e.currentTarget.contains(e.target))return;let i=function(t){let{targetTouches:e}=t;return e.length>0?e[0]:null}(e.nativeEvent);i&&(t.activePointerId=i.identifier,t.ignoreEmulatedMouseEvents=!0,t.isOverTarget=!0,t.isPressed=!0,t.target=e.currentTarget,t.pointerType="touch",m||g||(0,A.A)(e.currentTarget),x||b(t.target),H(e,t.pointerType)&&e.stopPropagation(),K((0,h.k)(e.currentTarget),"scroll",n,!0))},e.onTouchMove=e=>{if(!e.currentTarget.contains(e.target))return;if(!t.isPressed){e.stopPropagation();return}let i=F(e.nativeEvent,t.activePointerId),n=!0;i&&O(i,e.currentTarget)?t.isOverTarget||null==t.pointerType||(t.isOverTarget=!0,n=H(e,t.pointerType)):t.isOverTarget&&null!=t.pointerType&&(t.isOverTarget=!1,n=$(e,t.pointerType,!1),Y(e)),n&&e.stopPropagation()},e.onTouchEnd=e=>{if(!e.currentTarget.contains(e.target))return;if(!t.isPressed){e.stopPropagation();return}let i=F(e.nativeEvent,t.activePointerId),n=!0;i&&O(i,e.currentTarget)&&null!=t.pointerType?(_(e,t.pointerType),n=$(e,t.pointerType)):t.isOverTarget&&null!=t.pointerType&&(n=$(e,t.pointerType,!1)),n&&e.stopPropagation(),t.isPressed=!1,t.activePointerId=null,t.isOverTarget=!1,t.ignoreEmulatedMouseEvents=!0,t.target&&!x&&P(t.target),z()},e.onTouchCancel=e=>{e.currentTarget.contains(e.target)&&(e.stopPropagation(),t.isPressed&&Z(e))};let n=e=>{t.isPressed&&e.target.contains(t.target)&&Z({currentTarget:t.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};e.onDragStart=t=>{t.currentTarget.contains(t.target)&&Z(t)}}return e},[K,m,g,z,x,Z,Y,$,H,_]);return(0,l.useEffect)(()=>()=>{var t;x||P(null!==(t=U.current.target)&&void 0!==t?t:void 0)},[x]),{isPressed:v||W,pressProps:(0,r.d)(k,G)}}({onPressStart:v,onPressEnd:g,onPressChange:x,onPress:m,onPressUp:y,isDisabled:u,preventFocusOnPress:w,ref:e}),{focusableProps:_}=function(t,e){let{focusProps:i}=d(t),{keyboardProps:n}={keyboardProps:t.isDisabled?{}:{onKeyDown:c(t.onKeyDown),onKeyUp:c(t.onKeyUp)}},s=(0,r.d)(i,n),u=function(t){let e=(0,l.useContext)(p)||{};(0,a.l)(e,t);let{ref:i,...n}=e;return n}(e),h=t.isDisabled?{}
16:u,f=(0,l.useRef)(t.autoFocus);return(0,l.useEffect)(()=>{f.current&&e.current&&(0,o.e)(e.current),f.current=!1},[e]),{focusableProps:(0,r.d)({...s,tabIndex:t.excludeFromTabOrder&&!t.isDisabled?-1:void 0},h)}}(t,e);k&&(_.tabIndex=u?-1:_.tabIndex);let Z=(0,r.d)(_,H,(0,s.z)(t,{labelable:!0}));return{isPressed:$,buttonProps:(0,r.d)(i,Z,{"aria-haspopup":t["aria-haspopup"],"aria-expanded":t["aria-expanded"],"aria-controls":t["aria-controls"],"aria-pressed":t["aria-pressed"],onClick:t=>{W&&(W(t),console.warn("onClick is deprecated, please use onPress"))}})}}(t,e),{focusProps:v,isFocused:g,isFocusVisible:y}=function(t={}){let{autoFocus:e=!1,isTextInput:i,within:n}=t,r=(0,l.useRef)({isFocused:!1,isFocusVisible:e||(0,U.E)()}),[s,o]=(0,l.useState)(!1),[a,u]=(0,l.useState)(()=>r.current.isFocused&&r.current.isFocusVisible),h=(0,l.useCallback)(()=>u(r.current.isFocused&&r.current.isFocusVisible),[]),c=(0,l.useCallback)(t=>{r.current.isFocused=t,o(t),h()},[h]);(0,U.mG)(t=>{r.current.isFocusVisible=t,h()},[],{isTextInput:i});let{focusProps:p}=d({isDisabled:n,onFocusChange:c}),{focusWithinProps:f}=(0,K.L)({isDisabled:!n,onFocusWithinChange:c});return{isFocused:s,isFocusVisible:a,focusProps:n?f:p}}(t),{hoverProps:x,isHovered:w}=function(t){let{onHoverStart:e,onHoverChange:i,onHoverEnd:n,isDisabled:r}=t,[s,o]=(0,l.useState)(!1),a=(0,l.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;(0,l.useEffect)(Z,[]);let{hoverProps:u,triggerHoverEnd:h}=(0,l.useMemo)(()=>{let t=(t,n)=>{if(a.pointerType=n,r||"touch"===n||a.isHovered||!t.currentTarget.contains(t.target))return;a.isHovered=!0;let s=t.currentTarget;a.target=s,e&&e({type:"hoverstart",target:s,pointerType:n}),i&&i(!0),o(!0)},s=(t,e)=>{if(a.pointerType="",a.target=null,"touch"===e||!a.isHovered)return;a.isHovered=!1;let r=t.currentTarget;n&&n({type:"hoverend",target:r,pointerType:e}),i&&i(!1),o(!1)},l={};return"undefined"!=typeof PointerEvent?(l.onPointerEnter=e=>{z&&"mouse"===e.pointerType||t(e,e.pointerType)},l.onPointerLeave=t=>{!r&&t.currentTarget.contains(t.target)&&s(t,t.pointerType)}):(l.onTouchStart=()=>{a.ignoreEmulatedMouseEvents=!0},l.onMouseEnter=e=>{a.ignoreEmulatedMouseEvents||z||t(e,"mouse"),a.ignoreEmulatedMouseEvents=!1},l.onMouseLeave=t=>{!r&&t.currentTarget.contains(t.target)&&s(t,"mouse")}),{hoverProps:l,triggerHoverEnd:s}},[e,i,n,r,a]);return(0,l.useEffect)(()=>{r&&h({currentTarget:a.target},a.pointerType)},[r]),{hoverProps:u,isHovered:s}}(t),k=(0,n.aX)({...t,values:{isHovered:w,isPressed:m,isFocused:g,isFocusVisible:y,isDisabled:t.isDisabled||!1},defaultClassName:"react-aria-Button"});return l.createElement("button",{...(0,s.z)(t,{propNames:Y}),...(0,r.d)(u,v,x),...k,ref:e,slot:t.slot||void 0,"data-disabled":t.isDisabled||void 0,"data-pressed":i.isPressed||m||void 0,"data-hovered":w||void 0,"data-focused":g||void 0,"data-focus-visible":y||void 0})})},3024:function(t,e,i){"use strict";i.d(e,{aX:function(){return d},hO:function(){return u},iW:function(){return p},pE:function(){return c},qW:function(){return g},xB:function(){return f},zt:function(){return h}});var n=i(7189),r=i(6303),s=i(8349),o=i(9786),a=i(7294),l=i(3935);let u=Symbol("default");function h({values:t,children:e}){for(let[i,n]of t)e=a.createElement(i.Provider,{value:n},e);return e}function d(t){let{className:e,style:i,children:n,defaultClassName:r,defaultChildren:s,defaultStyle:o,values:l}=t;return(0,a.useMemo)(()=>{let t,a,u;return t="function"==typeof e?e({...l,defaultClassName:r}):e,a="function"==typeof i?i({...l,defaultStyle:o||{}}):i,u="function"==typeof n?n({...l,defaultChildren:s}):null==n?s:n,{className:null!=t?t:r,style:a||o?{...o,...a}:void 0,children:null!=u?u:s,"data-rac":""}},[e,i,n,r,s,o,l])}function c(t,e,i){let{ref:o,...l}=function(t,e){let i=(0,a.useContext)(t);if(null===e)return null;if(i&&"object"==typeof i&&"slots"in i&&i.slots){let t=new Intl.ListFormat().format(Object.keys(i.slots).map(t=>`"${t}"`));if(!e&&!i.slots[u])throw Error(`A slot prop is required. Valid slot names are ${t}.`);let n=e||u;if(!i.slots[n])throw Error(`Invalid slot "${e}". Valid slot names are ${t}.`);return i.slots[n]}return i}(i,t.slot)||{},h=(0,n.B)((0,a.useMemo)(()=>(0,r.l)(e,o),[e,o])),d=(0,s.d)(l,t);return"style"in l&&l.style&&"style"in t&&t.style&&("function"==typeof l.style||"function"==typeof t.style?d.style=e=>{let i="function"==typeof l.style?l.style(e):l.style,n={...e.defaultStyle,...i},r="function"==typeof t.style?t.style({...e,defaultStyle:n}):t.style;return{...n,...r}}:d.style={...l.style,...t.style}),[d,h]}function p(t,e=!0){let[i,n]=(0,a.useState)(!0);return m(t,i&&e,(0,a.useCallback)(()=>n(!1),[])),i&&e}function f(t,e){let[i,n]=(0,a.useState)(!1),[r,s]=(0,a.useState)("idle");return!e&&t.current&&"idle"===r&&(i=!0,n(!0),s("exiting")),t.current||"exited"!==r||s("idle"),m(t,i,(0,a.useCallback)(()=>{s("exited"),n(!1)},[])),i}function m(t,e,i){let n=(0,a.useRef)(null);e&&t.current&&(n.current=window.getComputedStyle(t.current).animation),(0,o.b)(()=>
16{if(e&&t.current){let e=window.getComputedStyle(t.current);if(e.animationName&&"none"!==e.animationName&&e.animation!==n.current){let e=r=>{r.target===t.current&&(n.removeEventListener("animationend",e),l.flushSync(()=>{i()}))},n=t.current;return n.addEventListener("animationend",e),()=>{n.removeEventListener("animationend",e)}}i()}},[t,e,i])}if("undefined"!=typeof HTMLTemplateElement){let t=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild").get;Object.defineProperty(HTMLTemplateElement.prototype,"firstChild",{configurable:!0,enumerable:!0,get:function(){return this.dataset.reactAriaHidden?this.content.firstChild:t.call(this)}})}let v=(0,a.createContext)(!1);function g(t){let e=(e,i)=>(0,a.useContext)(v)?null:t(e,i);return e.displayName=t.displayName||t.name,a.forwardRef(e)}"undefined"!=typeof DocumentFragment&&new DocumentFragment}}]);

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.