@biznext-ui/react 0.4.2 → 0.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.umd.js CHANGED
@@ -1,8 +1,8 @@
1
- (function(ae,A){typeof exports=="object"&&typeof module<"u"?A(exports,require("react/jsx-runtime"),require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","react","react-dom"],A):(ae=typeof globalThis<"u"?globalThis:ae||self,A(ae["biznext-ui-react"]={},ae["react/jsx-runtime"],ae.React,ae.ReactDOM))})(this,function(ae,A,C,Re){"use strict";function Du(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const i=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,i.get?i:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const G=Du(C),pr=C.createContext({}),mr=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.payload,...e.toasts]};case"DELETE_TOAST":return{...e,toasts:e.toasts.filter(n=>n.id!==t.payload.id)};default:console.error(`Biznext-UI-Toast: Unhandled action type: ${t.type}`)}},gr=()=>C.useContext(pr),Ce={"toasts-container":"biznext-ui-Voj91bwiOQ0-5","top-left":"biznext-ui-r8K3Yfg1a0k-a","top-center":"biznext-ui-hLBI-yY3XZg-8","top-right":"biznext-ui-McMmb-sS6LE-3","bottom-left":"biznext-ui-lX4jcK0Szv4-9","bottom-center":"biznext-ui-Ee7khmzQluU-1","bottom-right":"biznext-ui-8KE-IEqqaMQ-f",toast:"biznext-ui-HNUcjKVTeyM-1",fadein:"biznext-ui-HDMPjvBSEyg-1","toast-icon":"biznext-ui--tFdGazkGSA-f","toast-content":"biznext-ui-ymhtH9nUp6I-c","toast-title":"biznext-ui-KpFZjCXKdcg-2","toast-close":"biznext-ui-BzxmwExZEIc-0","toast-close-btn":"biznext-ui-2vYXLFQRSLY-d","toast-close-btn-icon":"biznext-ui-fnjPMKE33W8-7",success:"biznext-ui-gWJh5oSUaH4-8",info:"biznext-ui-KprtriQR6do-2",warning:"biznext-ui-u0IYuYPu1og-b",error:"biznext-ui-DMi33WPhK2I-0"};function Nu(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var br={exports:{}};/*!
1
+ (function(oe,B){typeof exports=="object"&&typeof module<"u"?B(exports,require("react/jsx-runtime"),require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","react","react-dom"],B):(oe=typeof globalThis<"u"?globalThis:oe||self,B(oe["biznext-ui-react"]={},oe["react/jsx-runtime"],oe.React,oe.ReactDOM))})(this,function(oe,B,C,Vn){"use strict";function xu(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const i=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,i.get?i:{enumerable:!0,get:()=>t[n]})}}return e.default=t,Object.freeze(e)}const G=xu(C),Au=({children:t,toastPosition:e})=>t?B.jsxs("div",{children:[e,t]}):null,he={"modal-wrapper":"biznext-ui-n2Vjx4mdikE-9","modal-overlay":"biznext-ui-6sKjk6L11EQ-e",modal:"biznext-ui-Mao59ye15po-3",left:"biznext-ui-5bDq6-PrHF4-e","left-slider":"biznext-ui-dhv7A0opLyg-7",right:"biznext-ui-X9XXG3R3kc4-5","right-slider":"biznext-ui-EXk9iqQoKIU-1","top-left":"biznext-ui-agEjPkJufuY-6","top-center":"biznext-ui-CzoFpYQH5r0-0","top-right":"biznext-ui-e0SRVasbx2Q-7","bottom-left":"biznext-ui-jMdhucf3jH4-8","bottom-center":"biznext-ui-1ruLnzU-7Mg-d","bottom-right":"biznext-ui-IBxY5gMZXAs-2",center:"biznext-ui-g7IKSnXitqg-8",full:"biznext-ui-T4NhvYHqFMo-4","modal-content":"biznext-ui-1F-uEUK7Izg-d","modal-header":"biznext-ui-nWO9WSw4Ix8-9","module-header-close-btn":"biznext-ui-kCEeyonkTlE-9","modal-title":"biznext-ui-r-WKlIAFS20-a","modal-body":"biznext-ui-7AJhK9Yn-KQ-e","modal-footer":"biznext-ui-lUyv0bpMUw4-9","modal-footer-close-btn":"biznext-ui-acScPNehEic-6"};function Su(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var or={exports:{}};/*!
2
2
  Copyright (c) 2018 Jed Watson.
3
3
  Licensed under the MIT License (MIT), see
4
4
  http://jedwatson.github.io/classnames
5
- */(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var s="",o=0;o<arguments.length;o++){var u=arguments[o];u&&(s=r(s,i(u)))}return s}function i(s){if(typeof s=="string"||typeof s=="number")return s;if(typeof s!="object")return"";if(Array.isArray(s))return n.apply(null,s);if(s.toString!==Object.prototype.toString&&!s.toString.toString().includes("[native code]"))return s.toString();var o="";for(var u in s)t.call(s,u)&&s[u]&&(o=r(o,u));return o}function r(s,o){return o?s?s+" "+o:s+o:s}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(br);var Lu=br.exports;const tt=Nu(Lu);var vr={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},yr=C.createContext&&C.createContext(vr),Wu=["attr","size","title"];function Ru(e,t){if(e==null)return{};var n=Ou(e,t),i,r;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(r=0;r<s.length;r++)i=s[r],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function Ou(e,t){if(e==null)return{};var n={};for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){if(t.indexOf(i)>=0)continue;n[i]=e[i]}return n}function Ht(){return Ht=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Ht.apply(this,arguments)}function Cr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,i)}return n}function kt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Cr(Object(n),!0).forEach(function(i){Xu(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Cr(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function Xu(e,t,n){return t=Zu(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zu(e){var t=Hu(e,"string");return typeof t=="symbol"?t:t+""}function Hu(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t||"default");if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Ir(e){return e&&e.map((t,n)=>C.createElement(t.tag,kt({key:n},t.attr),Ir(t.child)))}function Ye(e){return t=>C.createElement(ku,Ht({attr:kt({},e.attr)},t),Ir(e.child))}function ku(e){var t=n=>{var{attr:i,size:r,title:s}=e,o=Ru(e,Wu),u=r||n.size||"1em",a;return n.className&&(a=n.className),e.className&&(a=(a?a+" ":"")+e.className),C.createElement("svg",Ht({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},n.attr,i,o,{className:a,style:kt(kt({color:e.color||n.color},n.style),e.style),height:u,width:u,xmlns:"http://www.w3.org/2000/svg"}),s&&C.createElement("title",null,s),e.children)};return yr!==void 0?C.createElement(yr.Consumer,null,n=>t(n)):t(vr)}function zu(e){return Ye({tag:"svg",attr:{role:"img",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M12 0C5.383 0 0 5.383 0 12s5.383 12 12 12 12-5.383 12-12h-2.7c0 5.128-4.172 9.3-9.3 9.3-5.128 0-9.3-4.172-9.3-9.3 0-5.128 4.172-9.3 9.3-9.3V0Zm7.4 2.583-7.505 9.371L8.388 9.08l-2.002 2.436 4.741 3.888a1.573 1.573 0 0 0 2.231-.233l8.504-10.617L19.4 2.583Z"},child:[]}]})(e)}function ju(e){return Ye({tag:"svg",attr:{viewBox:"0 0 15 15",fill:"none"},child:[{tag:"path",attr:{fillRule:"evenodd",clipRule:"evenodd",d:"M0.877075 7.49988C0.877075 3.84219 3.84222 0.877045 7.49991 0.877045C11.1576 0.877045 14.1227 3.84219 14.1227 7.49988C14.1227 11.1575 11.1576 14.1227 7.49991 14.1227C3.84222 14.1227 0.877075 11.1575 0.877075 7.49988ZM7.49991 1.82704C4.36689 1.82704 1.82708 4.36686 1.82708 7.49988C1.82708 10.6329 4.36689 13.1727 7.49991 13.1727C10.6329 13.1727 13.1727 10.6329 13.1727 7.49988C13.1727 4.36686 10.6329 1.82704 7.49991 1.82704ZM9.85358 5.14644C10.0488 5.3417 10.0488 5.65829 9.85358 5.85355L8.20713 7.49999L9.85358 9.14644C10.0488 9.3417 10.0488 9.65829 9.85358 9.85355C9.65832 10.0488 9.34173 10.0488 9.14647 9.85355L7.50002 8.2071L5.85358 9.85355C5.65832 10.0488 5.34173 10.0488 5.14647 9.85355C4.95121 9.65829 4.95121 9.3417 5.14647 9.14644L6.79292 7.49999L5.14647 5.85355C4.95121 5.65829 4.95121 5.3417 5.14647 5.14644C5.34173 4.95118 5.65832 4.95118 5.85358 5.14644L7.50002 6.79289L9.14647 5.14644C9.34173 4.95118 9.65832 4.95118 9.85358 5.14644Z",fill:"currentColor"},child:[]}]})(e)}function Yu(e){return Ye({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M464 256A208 208 0 1 0 48 256a208 208 0 1 0 416 0zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256zm169.8-90.7c7.9-22.3 29.1-37.3 52.8-37.3h58.3c34.9 0 63.1 28.3 63.1 63.1c0 22.6-12.1 43.5-31.7 54.8L280 264.4c-.2 13-10.9 23.6-24 23.6c-13.3 0-24-10.7-24-24V250.5c0-8.6 4.6-16.5 12.1-20.8l44.3-25.4c4.7-2.7 7.6-7.7 7.6-13.1c0-8.4-6.8-15.1-15.1-15.1H222.6c-3.4 0-6.4 2.1-7.5 5.3l-.4 1.2c-4.4 12.5-18.2 19-30.6 14.6s-19-18.2-14.6-30.6l.4-1.2zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"},child:[]}]})(e)}function Ju(e){return Ye({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"},child:[]}]})(e)}function Uu(e){return Ye({tag:"svg",attr:{version:"1.1",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M15.854 12.854c-0-0-0-0-0-0l-4.854-4.854 4.854-4.854c0-0 0-0 0-0 0.052-0.052 0.090-0.113 0.114-0.178 0.066-0.178 0.028-0.386-0.114-0.529l-2.293-2.293c-0.143-0.143-0.351-0.181-0.529-0.114-0.065 0.024-0.126 0.062-0.178 0.114 0 0-0 0-0 0l-4.854 4.854-4.854-4.854c-0-0-0-0-0-0-0.052-0.052-0.113-0.090-0.178-0.114-0.178-0.066-0.386-0.029-0.529 0.114l-2.293 2.293c-0.143 0.143-0.181 0.351-0.114 0.529 0.024 0.065 0.062 0.126 0.114 0.178 0 0 0 0 0 0l4.854 4.854-4.854 4.854c-0 0-0 0-0 0-0.052 0.052-0.090 0.113-0.114 0.178-0.066 0.178-0.029 0.386 0.114 0.529l2.293 2.293c0.143 0.143 0.351 0.181 0.529 0.114 0.065-0.024 0.126-0.062 0.178-0.114 0-0 0-0 0-0l4.854-4.854 4.854 4.854c0 0 0 0 0 0 0.052 0.052 0.113 0.090 0.178 0.114 0.178 0.066 0.386 0.029 0.529-0.114l2.293-2.293c0.143-0.143 0.181-0.351 0.114-0.529-0.024-0.065-0.062-0.126-0.114-0.178z"},child:[]}]})(e)}const Ln=C.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),zt=C.createContext({}),jt=C.createContext(null),Wn=typeof document<"u",Rn=Wn?C.useLayoutEffect:C.useEffect,xr=C.createContext({strict:!1}),Yt=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),Ar="data-"+Yt("framerAppearId"),_u={skipAnimations:!1,useManualTiming:!1};function Qu(e){let t=new Set,n=new Set,i=!1,r=!1;const s=new WeakSet;let o={delta:0,timestamp:0,isProcessing:!1};function u(l){s.has(l)&&(a.schedule(l),e()),l(o)}const a={schedule:(l,c=!1,d=!1)=>{const h=d&&i?t:n;return c&&s.add(l),h.has(l)||h.add(l),l},cancel:l=>{n.delete(l),s.delete(l)},process:l=>{if(o=l,i){r=!0;return}i=!0,[t,n]=[n,t],n.clear(),t.forEach(u),i=!1,r&&(r=!1,a.process(l))}};return a}const Jt=["read","resolveKeyframes","update","preRender","render","postRender"],$u=40;function Sr(e,t){let n=!1,i=!0;const r={delta:0,timestamp:0,isProcessing:!1},s=()=>n=!0,o=Jt.reduce((b,I)=>(b[I]=Qu(s),b),{}),{read:u,resolveKeyframes:a,update:l,preRender:c,render:d,postRender:f}=o,h=()=>{const b=performance.now();n=!1,r.delta=i?1e3/60:Math.max(Math.min(b-r.timestamp,$u),1),r.timestamp=b,r.isProcessing=!0,u.process(r),a.process(r),l.process(r),c.process(r),d.process(r),f.process(r),r.isProcessing=!1,n&&t&&(i=!1,e(h))},m=()=>{n=!0,i=!0,r.isProcessing||e(h)};return{schedule:Jt.reduce((b,I)=>{const v=o[I];return b[I]=(x,y=!1,E=!1)=>(n||m(),v.schedule(x,y,E)),b},{}),cancel:b=>{for(let I=0;I<Jt.length;I++)o[Jt[I]].cancel(b)},state:r,steps:o}}const{schedule:On,cancel:eb}=Sr(queueMicrotask,!1);function nt(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}const Er=C.createContext({});let Tr=!1;function Ku(e,t,n,i,r){const{visualElement:s}=C.useContext(zt),o=C.useContext(xr),u=C.useContext(jt),a=C.useContext(Ln).reducedMotion,l=C.useRef();i=i||o.renderer,!l.current&&i&&(l.current=i(e,{visualState:t,parent:s,props:n,presenceContext:u,blockInitialAnimation:u?u.initial===!1:!1,reducedMotionConfig:a}));const c=l.current,d=C.useContext(Er);c&&!c.projection&&r&&(c.type==="html"||c.type==="svg")&&el(l.current,n,r,d),C.useInsertionEffect(()=>{c&&c.update(n,u)});const f=C.useRef(!!(n[Ar]&&!window.HandoffComplete));return Rn(()=>{c&&(c.updateFeatures(),On.render(c.render),f.current&&c.animationState&&c.animationState.animateChanges())}),C.useEffect(()=>{c&&(!f.current&&c.animationState&&c.animationState.animateChanges(),f.current&&(f.current=!1,Tr||(Tr=!0,queueMicrotask(qu))))}),c}function qu(){window.HandoffComplete=!0}function el(e,t,n,i){const{layoutId:r,layout:s,drag:o,dragConstraints:u,layoutScroll:a,layoutRoot:l}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:Pr(e.parent)),e.projection.setOptions({layoutId:r,layout:s,alwaysMeasureLayout:!!o||u&&nt(u),visualElement:e,scheduleRender:()=>e.scheduleRender(),animationType:typeof s=="string"?s:"both",initialPromotionConfig:i,layoutScroll:a,layoutRoot:l})}function Pr(e){if(e)return e.options.allowProjection!==!1?e.projection:Pr(e.parent)}function tl(e,t,n){return C.useCallback(i=>{i&&e.mount&&e.mount(i),t&&(i?t.mount(i):t.unmount()),n&&(typeof n=="function"?n(i):nt(n)&&(n.current=i))},[t])}function vt(e){return typeof e=="string"||Array.isArray(e)}function yt(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const Xn=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Zn=["initial",...Xn];function Ut(e){return yt(e.animate)||Zn.some(t=>vt(e[t]))}function Vr(e){return!!(Ut(e)||e.variants)}function nl(e,t){if(Ut(e)){const{initial:n,animate:i}=e;return{initial:n===!1||vt(n)?n:void 0,animate:vt(i)?i:void 0}}return e.inherit!==!1?t:{}}function il(e){const{initial:t,animate:n}=nl(e,C.useContext(zt));return C.useMemo(()=>({initial:t,animate:n}),[wr(t),wr(n)])}function wr(e){return Array.isArray(e)?e.join(" "):e}const Fr={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"]},it={};for(const e in Fr)it[e]={isEnabled:t=>Fr[e].some(n=>!!t[n])};function rl(e){for(const t in e)it[t]={...it[t],...e[t]}}const Hn=C.createContext({}),sl=Symbol.for("motionComponentSymbol"),Q=e=>e;let rt=Q,Ve=Q;process.env.NODE_ENV!=="production"&&(rt=(e,t)=>{!e&&typeof console<"u"&&console.warn(t)},Ve=(e,t)=>{if(!e)throw new Error(t)});function ol({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:i,Component:r}){e&&rl(e);function s(u,a){let l;const c={...C.useContext(Ln),...u,layoutId:al(u)},{isStatic:d}=c,f=il(u),h=i(u,d);if(!d&&Wn){ul(c,e);const m=ll(c);l=m.MeasureLayout,f.visualElement=Ku(r,h,c,t,m.ProjectionNode)}return A.jsxs(zt.Provider,{value:f,children:[l&&f.visualElement?A.jsx(l,{visualElement:f.visualElement,...c}):null,n(r,u,tl(h,f.visualElement,a),h,d,f.visualElement)]})}const o=C.forwardRef(s);return o[sl]=r,o}function al({layoutId:e}){const t=C.useContext(Hn).id;return t&&e!==void 0?t+"-"+e:e}function ul(e,t){const n=C.useContext(xr).strict;if(process.env.NODE_ENV!=="production"&&t&&n){const i="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";e.ignoreStrict?rt(!1,i):Ve(!1,i)}}function ll(e){const{drag:t,layout:n}=it;if(!t&&!n)return{};const i={...t,...n};return{MeasureLayout:t!=null&&t.isEnabled(e)||n!=null&&n.isEnabled(e)?i.MeasureLayout:void 0,ProjectionNode:i.ProjectionNode}}function cl(e){function t(i,r={}){return ol(e(i,r))}if(typeof Proxy>"u")return t;const n=new Map;return new Proxy(t,{get:(i,r)=>(n.has(r)||n.set(r,t(r)),n.get(r))})}const dl=["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 kn(e){return typeof e!="string"||e.includes("-")?!1:!!(dl.indexOf(e)>-1||/[A-Z]/u.test(e))}const _t={};function fl(e){Object.assign(_t,e)}const Ct=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Oe=new Set(Ct);function Br(e,{layout:t,layoutId:n}){return Oe.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!_t[e]||e==="opacity")}const ee=e=>!!(e&&e.getVelocity),hl={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},pl=Ct.length;function ml(e,t,n){let i="";for(let r=0;r<pl;r++){const s=Ct[r];if(e[s]!==void 0){const o=hl[s]||s;i+=`${o}(${e[s]}) `}}return i=i.trim(),n?i=n(e,t?"":i):t&&(i="none"),i}const Gr=e=>t=>typeof t=="string"&&t.startsWith(e),Mr=Gr("--"),gl=Gr("var(--"),zn=e=>gl(e)?bl.test(e.split("/*")[0].trim()):!1,bl=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,vl=(e,t)=>t&&typeof e=="number"?t.transform(e):e,Xe=(e,t,n)=>n>t?t:n<e?e:n,st={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},It={...st,transform:e=>Xe(0,1,e)},Qt={...st,default:1},xt=e=>Math.round(e*1e5)/1e5,jn=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,yl=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,Cl=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;function At(e){return typeof e=="string"}function Il(e){return e==null}const St=e=>({test:t=>At(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Ze=St("deg"),Ie=St("%"),F=St("px"),xl=St("vh"),Al=St("vw"),Dr={...Ie,parse:e=>Ie.parse(e)/100,transform:e=>Ie.transform(e*100)},Nr={...st,transform:Math.round},Lr={borderWidth:F,borderTopWidth:F,borderRightWidth:F,borderBottomWidth:F,borderLeftWidth:F,borderRadius:F,radius:F,borderTopLeftRadius:F,borderTopRightRadius:F,borderBottomRightRadius:F,borderBottomLeftRadius:F,width:F,maxWidth:F,height:F,maxHeight:F,size:F,top:F,right:F,bottom:F,left:F,padding:F,paddingTop:F,paddingRight:F,paddingBottom:F,paddingLeft:F,margin:F,marginTop:F,marginRight:F,marginBottom:F,marginLeft:F,rotate:Ze,rotateX:Ze,rotateY:Ze,rotateZ:Ze,scale:Qt,scaleX:Qt,scaleY:Qt,scaleZ:Qt,skew:Ze,skewX:Ze,skewY:Ze,distance:F,translateX:F,translateY:F,translateZ:F,x:F,y:F,z:F,perspective:F,transformPerspective:F,opacity:It,originX:Dr,originY:Dr,originZ:F,zIndex:Nr,backgroundPositionX:F,backgroundPositionY:F,fillOpacity:It,strokeOpacity:It,numOctaves:Nr};function Yn(e,t,n){const{style:i,vars:r,transform:s,transformOrigin:o}=e;let u=!1,a=!1,l=!0;for(const c in t){const d=t[c];if(Mr(c)){r[c]=d;continue}const f=Lr[c],h=vl(d,f);if(Oe.has(c)){if(u=!0,s[c]=h,!l)continue;d!==(f.default||0)&&(l=!1)}else c.startsWith("origin")?(a=!0,o[c]=h):i[c]=h}if(t.transform||(u||n?i.transform=ml(e.transform,l,n):i.transform&&(i.transform="none")),a){const{originX:c="50%",originY:d="50%",originZ:f=0}=o;i.transformOrigin=`${c} ${d} ${f}`}}const Jn=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Wr(e,t,n){for(const i in t)!ee(t[i])&&!Br(i,n)&&(e[i]=t[i])}function Sl({transformTemplate:e},t){return C.useMemo(()=>{const n=Jn();return Yn(n,t,e),Object.assign({},n.vars,n.style)},[t])}function El(e,t){const n=e.style||{},i={};return Wr(i,n,e),Object.assign(i,Sl(e,t)),i}function Tl(e,t){const n={},i=El(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=i,n}const Pl=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 $t(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||Pl.has(e)}let Rr=e=>!$t(e);function Vl(e){e&&(Rr=t=>t.startsWith("on")?!$t(t):e(t))}try{Vl(require("@emotion/is-prop-valid").default)}catch{}function wl(e,t,n){const i={};for(const r in e)r==="values"&&typeof e.values=="object"||(Rr(r)||n===!0&&$t(r)||!t&&!$t(r)||e.draggable&&r.startsWith("onDrag"))&&(i[r]=e[r]);return i}function Or(e,t,n){return typeof e=="string"?e:F.transform(t+n*e)}function Fl(e,t,n){const i=Or(t,e.x,e.width),r=Or(n,e.y,e.height);return`${i} ${r}`}const Bl={offset:"stroke-dashoffset",array:"stroke-dasharray"},Gl={offset:"strokeDashoffset",array:"strokeDasharray"};function Ml(e,t,n=1,i=0,r=!0){e.pathLength=1;const s=r?Bl:Gl;e[s.offset]=F.transform(-i);const o=F.transform(t),u=F.transform(n);e[s.array]=`${o} ${u}`}function Un(e,{attrX:t,attrY:n,attrScale:i,originX:r,originY:s,pathLength:o,pathSpacing:u=1,pathOffset:a=0,...l},c,d){if(Yn(e,l,d),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:f,style:h,dimensions:m}=e;f.transform&&(m&&(h.transform=f.transform),delete f.transform),m&&(r!==void 0||s!==void 0||h.transform)&&(h.transformOrigin=Fl(m,r!==void 0?r:.5,s!==void 0?s:.5)),t!==void 0&&(f.x=t),n!==void 0&&(f.y=n),i!==void 0&&(f.scale=i),o!==void 0&&Ml(f,o,u,a,!1)}const Xr=()=>({...Jn(),attrs:{}}),_n=e=>typeof e=="string"&&e.toLowerCase()==="svg";function Dl(e,t,n,i){const r=C.useMemo(()=>{const s=Xr();return Un(s,t,_n(i),e.transformTemplate),{...s.attrs,style:{...s.style}}},[t]);if(e.style){const s={};Wr(s,e.style,e),r.style={...s,...r.style}}return r}function Nl(e=!1){return(n,i,r,{latestValues:s},o)=>{const a=(kn(n)?Dl:Tl)(i,s,o,n),l=wl(i,typeof n=="string",e),c=n!==C.Fragment?{...l,...a,ref:r}:{},{children:d}=i,f=C.useMemo(()=>ee(d)?d.get():d,[d]);return C.createElement(n,{...c,children:f})}}function Zr(e,{style:t,vars:n},i,r){Object.assign(e.style,t,r&&r.getProjectionStyles(i));for(const s in n)e.style.setProperty(s,n[s])}const Hr=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 kr(e,t,n,i){Zr(e,t,void 0,i);for(const r in t.attrs)e.setAttribute(Hr.has(r)?r:Yt(r),t.attrs[r])}function Qn(e,t,n){var i;const{style:r}=e,s={};for(const o in r)(ee(r[o])||t.style&&ee(t.style[o])||Br(o,e)||((i=n==null?void 0:n.getValue(o))===null||i===void 0?void 0:i.liveStyle)!==void 0)&&(s[o]=r[o]);return n&&r&&typeof r.willChange=="string"&&(n.applyWillChange=!1),s}function zr(e,t,n){const i=Qn(e,t,n);for(const r in e)if(ee(e[r])||ee(t[r])){const s=Ct.indexOf(r)!==-1?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r;i[s]=e[r]}return i}function jr(e){const t=[{},{}];return e==null||e.values.forEach((n,i)=>{t[0][i]=n.get(),t[1][i]=n.getVelocity()}),t}function $n(e,t,n,i){if(typeof t=="function"){const[r,s]=jr(i);t=t(n!==void 0?n:e.custom,r,s)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[r,s]=jr(i);t=t(n!==void 0?n:e.custom,r,s)}return t}function Yr(e){const t=C.useRef(null);return t.current===null&&(t.current=e()),t.current}const Kn=e=>Array.isArray(e),Ll=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),Wl=e=>Kn(e)?e[e.length-1]||0:e;function Kt(e){const t=ee(e)?e.get():e;return Ll(t)?t.toValue():t}const Jr=new Set(["opacity","clipPath","filter","transform"]);function Ur(e){if(Oe.has(e))return"transform";if(Jr.has(e))return Yt(e)}function qt(e,t){e.indexOf(t)===-1&&e.push(t)}function en(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function Rl({applyWillChange:e=!1,scrapeMotionValuesFromProps:t,createRenderState:n,onMount:i},r,s,o,u){const a={latestValues:Xl(r,s,o,u?!1:e,t),renderState:n()};return i&&(a.mount=l=>i(r,l,a)),a}const _r=e=>(t,n)=>{const i=C.useContext(zt),r=C.useContext(jt),s=()=>Rl(e,t,i,r,n);return n?s():Yr(s)};function Ol(e,t){const n=Ur(t);n&&qt(e,n)}function Qr(e,t,n){const i=Array.isArray(t)?t:[t];for(let r=0;r<i.length;r++){const s=$n(e,i[r]);if(s){const{transitionEnd:o,transition:u,...a}=s;n(a,o)}}}function Xl(e,t,n,i,r){var s;const o={},u=[],a=i&&((s=e.style)===null||s===void 0?void 0:s.willChange)===void 0,l=r(e,{});for(const g in l)o[g]=Kt(l[g]);let{initial:c,animate:d}=e;const f=Ut(e),h=Vr(e);t&&h&&!f&&e.inherit!==!1&&(c===void 0&&(c=t.initial),d===void 0&&(d=t.animate));let m=n?n.initial===!1:!1;m=m||c===!1;const p=m?d:c;return p&&typeof p!="boolean"&&!yt(p)&&Qr(e,p,(g,b)=>{for(const I in g){let v=g[I];if(Array.isArray(v)){const x=m?v.length-1:0;v=v[x]}v!==null&&(o[I]=v)}for(const I in b)o[I]=b[I]}),a&&(d&&c!==!1&&!yt(d)&&Qr(e,d,g=>{for(const b in g)Ol(u,b)}),u.length&&(o.willChange=u.join(","))),o}const{schedule:O,cancel:we,state:$,steps:qn}=Sr(typeof requestAnimationFrame<"u"?requestAnimationFrame:Q,!0),Zl={useVisualState:_r({scrapeMotionValuesFromProps:zr,createRenderState:Xr,onMount:(e,t,{renderState:n,latestValues:i})=>{O.read(()=>{try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}),O.render(()=>{Un(n,i,_n(t.tagName),e.transformTemplate),kr(t,n)})}})},Hl={useVisualState:_r({applyWillChange:!0,scrapeMotionValuesFromProps:Qn,createRenderState:Jn})};function kl(e,{forwardMotionProps:t=!1},n,i){return{...kn(e)?Zl:Hl,preloadedFeatures:n,useRender:Nl(t),createVisualElement:i,Component:e}}function Fe(e,t,n,i={passive:!0}){return e.addEventListener(t,n,i),()=>e.removeEventListener(t,n)}const $r=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function tn(e,t="page"){return{point:{x:e[`${t}X`],y:e[`${t}Y`]}}}const zl=e=>t=>$r(t)&&e(t,tn(t));function Be(e,t,n,i){return Fe(e,t,zl(n),i)}const jl=(e,t)=>n=>t(e(n)),Ge=(...e)=>e.reduce(jl);function Kr(e){let t=null;return()=>{const n=()=>{t=null};return t===null?(t=e,n):!1}}const qr=Kr("dragHorizontal"),es=Kr("dragVertical");function ts(e){let t=!1;if(e==="y")t=es();else if(e==="x")t=qr();else{const n=qr(),i=es();n&&i?t=()=>{n(),i()}:(n&&n(),i&&i())}return t}function ns(){const e=ts(!0);return e?(e(),!1):!0}class He{constructor(t){this.isMounted=!1,this.node=t}update(){}}function is(e,t){const n=t?"pointerenter":"pointerleave",i=t?"onHoverStart":"onHoverEnd",r=(s,o)=>{if(s.pointerType==="touch"||ns())return;const u=e.getProps();e.animationState&&u.whileHover&&e.animationState.setActive("whileHover",t);const a=u[i];a&&O.postRender(()=>a(s,o))};return Be(e.current,n,r,{passive:!e.getProps()[i]})}class Yl extends He{mount(){this.unmount=Ge(is(this.node,!0),is(this.node,!1))}unmount(){}}class Jl extends He{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Ge(Fe(this.node.current,"focus",()=>this.onFocus()),Fe(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const rs=(e,t)=>t?e===t?!0:rs(e,t.parentElement):!1;function ei(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,tn(n))}class Ul extends He{constructor(){super(...arguments),this.removeStartListeners=Q,this.removeEndListeners=Q,this.removeAccessibleListeners=Q,this.startPointerPress=(t,n)=>{if(this.isPressing)return;this.removeEndListeners();const i=this.node.getProps(),s=Be(window,"pointerup",(u,a)=>{if(!this.checkPressEnd())return;const{onTap:l,onTapCancel:c,globalTapTarget:d}=this.node.getProps(),f=!d&&!rs(this.node.current,u.target)?c:l;f&&O.update(()=>f(u,a))},{passive:!(i.onTap||i.onPointerUp)}),o=Be(window,"pointercancel",(u,a)=>this.cancelPress(u,a),{passive:!(i.onTapCancel||i.onPointerCancel)});this.removeEndListeners=Ge(s,o),this.startPress(t,n)},this.startAccessiblePress=()=>{const t=s=>{if(s.key!=="Enter"||this.isPressing)return;const o=u=>{u.key!=="Enter"||!this.checkPressEnd()||ei("up",(a,l)=>{const{onTap:c}=this.node.getProps();c&&O.postRender(()=>c(a,l))})};this.removeEndListeners(),this.removeEndListeners=Fe(this.node.current,"keyup",o),ei("down",(u,a)=>{this.startPress(u,a)})},n=Fe(this.node.current,"keydown",t),i=()=>{this.isPressing&&ei("cancel",(s,o)=>this.cancelPress(s,o))},r=Fe(this.node.current,"blur",i);this.removeAccessibleListeners=Ge(n,r)}}startPress(t,n){this.isPressing=!0;const{onTapStart:i,whileTap:r}=this.node.getProps();r&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),i&&O.postRender(()=>i(t,n))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!ns()}cancelPress(t,n){if(!this.checkPressEnd())return;const{onTapCancel:i}=this.node.getProps();i&&O.postRender(()=>i(t,n))}mount(){const t=this.node.getProps(),n=Be(t.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),i=Fe(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=Ge(n,i)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const ti=new WeakMap,ni=new WeakMap,_l=e=>{const t=ti.get(e.target);t&&t(e)},Ql=e=>{e.forEach(_l)};function $l({root:e,...t}){const n=e||document;ni.has(n)||ni.set(n,{});const i=ni.get(n),r=JSON.stringify(t);return i[r]||(i[r]=new IntersectionObserver(Ql,{root:e,...t})),i[r]}function Kl(e,t,n){const i=$l(t);return ti.set(e,n),i.observe(e),()=>{ti.delete(e),i.unobserve(e)}}const ql={some:0,all:1};class ec extends He{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:i,amount:r="some",once:s}=t,o={root:n?n.current:void 0,rootMargin:i,threshold:typeof r=="number"?r:ql[r]},u=a=>{const{isIntersecting:l}=a;if(this.isInView===l||(this.isInView=l,s&&!l&&this.hasEnteredView))return;l&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",l);const{onViewportEnter:c,onViewportLeave:d}=this.node.getProps(),f=l?c:d;f&&f(a)};return Kl(this.node.current,o,u)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(tc(t,n))&&this.startObserver()}unmount(){}}function tc({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const nc={inView:{Feature:ec},tap:{Feature:Ul},focus:{Feature:Jl},hover:{Feature:Yl}};function ss(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let i=0;i<n;i++)if(t[i]!==e[i])return!1;return!0}function nn(e,t,n){const i=e.getProps();return $n(i,t,n!==void 0?n:i.custom,e)}const Me=e=>e*1e3,De=e=>e/1e3,ic={type:"spring",stiffness:500,damping:25,restSpeed:10},rc=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),sc={type:"keyframes",duration:.8},oc={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},ac=(e,{keyframes:t})=>t.length>2?sc:Oe.has(e)?e.startsWith("scale")?rc(t[1]):ic:oc;function uc({when:e,delay:t,delayChildren:n,staggerChildren:i,staggerDirection:r,repeat:s,repeatType:o,repeatDelay:u,from:a,elapsed:l,...c}){return!!Object.keys(c).length}function ii(e,t){return e[t]||e.default||e}const lc=e=>e!==null;function rn(e,{repeat:t,repeatType:n="loop"},i){const r=e.filter(lc),s=t&&n!=="loop"&&t%2===1?0:r.length-1;return!s||i===void 0?r[s]:i}let sn;function cc(){sn=void 0}const ke={now:()=>(sn===void 0&&ke.set($.isProcessing||_u.useManualTiming?$.timestamp:performance.now()),sn),set:e=>{sn=e,queueMicrotask(cc)}},os=e=>/^0[^.\s]+$/u.test(e);function dc(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||os(e):!0}const as=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),fc=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function hc(e){const t=fc.exec(e);if(!t)return[,];const[,n,i,r]=t;return[`--${n??i}`,r]}const pc=4;function us(e,t,n=1){Ve(n<=pc,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[i,r]=hc(e);if(!i)return;const s=window.getComputedStyle(t).getPropertyValue(i);if(s){const o=s.trim();return as(o)?parseFloat(o):o}return zn(r)?us(r,t,n+1):r}const mc=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),ls=e=>e===st||e===F,cs=(e,t)=>parseFloat(e.split(", ")[t]),ds=(e,t)=>(n,{transform:i})=>{if(i==="none"||!i)return 0;const r=i.match(/^matrix3d\((.+)\)$/u);if(r)return cs(r[1],t);{const s=i.match(/^matrix\((.+)\)$/u);return s?cs(s[1],e):0}},gc=new Set(["x","y","z"]),bc=Ct.filter(e=>!gc.has(e));function vc(e){const t=[];return bc.forEach(n=>{const i=e.getValue(n);i!==void 0&&(t.push([n,i.get()]),i.set(n.startsWith("scale")?1:0))}),t}const ot={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:ds(4,13),y:ds(5,14)};ot.translateX=ot.x,ot.translateY=ot.y;const fs=e=>t=>t.test(e),hs=[st,F,Ie,Ze,Al,xl,{test:e=>e==="auto",parse:e=>e}],ps=e=>hs.find(fs(e)),Je=new Set;let ri=!1,si=!1;function ms(){if(si){const e=Array.from(Je).filter(i=>i.needsMeasurement),t=new Set(e.map(i=>i.element)),n=new Map;t.forEach(i=>{const r=vc(i);r.length&&(n.set(i,r),i.render())}),e.forEach(i=>i.measureInitialState()),t.forEach(i=>{i.render();const r=n.get(i);r&&r.forEach(([s,o])=>{var u;(u=i.getValue(s))===null||u===void 0||u.set(o)})}),e.forEach(i=>i.measureEndState()),e.forEach(i=>{i.suspendedScrollY!==void 0&&window.scrollTo(0,i.suspendedScrollY)})}si=!1,ri=!1,Je.forEach(e=>e.complete()),Je.clear()}function gs(){Je.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(si=!0)})}function yc(){gs(),ms()}class oi{constructor(t,n,i,r,s,o=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=i,this.motionValue=r,this.element=s,this.isAsync=o}scheduleResolve(){this.isScheduled=!0,this.isAsync?(Je.add(this),ri||(ri=!0,O.read(gs),O.resolveKeyframes(ms))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:i,motionValue:r}=this;for(let s=0;s<t.length;s++)if(t[s]===null)if(s===0){const o=r==null?void 0:r.get(),u=t[t.length-1];if(o!==void 0)t[0]=o;else if(i&&n){const a=i.readValue(n,u);a!=null&&(t[0]=a)}t[0]===void 0&&(t[0]=u),r&&o===void 0&&r.set(t[0])}else t[s]=t[s-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),Je.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,Je.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const ai=(e,t)=>n=>!!(At(n)&&Cl.test(n)&&n.startsWith(e)||t&&!Il(n)&&Object.prototype.hasOwnProperty.call(n,t)),bs=(e,t,n)=>i=>{if(!At(i))return i;const[r,s,o,u]=i.match(jn);return{[e]:parseFloat(r),[t]:parseFloat(s),[n]:parseFloat(o),alpha:u!==void 0?parseFloat(u):1}},Cc=e=>Xe(0,255,e),ui={...st,transform:e=>Math.round(Cc(e))},Ue={test:ai("rgb","red"),parse:bs("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:i=1})=>"rgba("+ui.transform(e)+", "+ui.transform(t)+", "+ui.transform(n)+", "+xt(It.transform(i))+")"};function Ic(e){let t="",n="",i="",r="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),i=e.substring(5,7),r=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),i=e.substring(3,4),r=e.substring(4,5),t+=t,n+=n,i+=i,r+=r),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(i,16),alpha:r?parseInt(r,16)/255:1}}const li={test:ai("#"),parse:Ic,transform:Ue.transform},at={test:ai("hsl","hue"),parse:bs("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:i=1})=>"hsla("+Math.round(e)+", "+Ie.transform(xt(t))+", "+Ie.transform(xt(n))+", "+xt(It.transform(i))+")"},te={test:e=>Ue.test(e)||li.test(e)||at.test(e),parse:e=>Ue.test(e)?Ue.parse(e):at.test(e)?at.parse(e):li.parse(e),transform:e=>At(e)?e:e.hasOwnProperty("red")?Ue.transform(e):at.transform(e)};function xc(e){var t,n;return isNaN(e)&&At(e)&&(((t=e.match(jn))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(yl))===null||n===void 0?void 0:n.length)||0)>0}const vs="number",ys="color",Ac="var",Sc="var(",Cs="${}",Ec=/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 Et(e){const t=e.toString(),n=[],i={color:[],number:[],var:[]},r=[];let s=0;const u=t.replace(Ec,a=>(te.test(a)?(i.color.push(s),r.push(ys),n.push(te.parse(a))):a.startsWith(Sc)?(i.var.push(s),r.push(Ac),n.push(a)):(i.number.push(s),r.push(vs),n.push(parseFloat(a))),++s,Cs)).split(Cs);return{values:n,split:u,indexes:i,types:r}}function Is(e){return Et(e).values}function xs(e){const{split:t,types:n}=Et(e),i=t.length;return r=>{let s="";for(let o=0;o<i;o++)if(s+=t[o],r[o]!==void 0){const u=n[o];u===vs?s+=xt(r[o]):u===ys?s+=te.transform(r[o]):s+=r[o]}return s}}const Tc=e=>typeof e=="number"?0:e;function Pc(e){const t=Is(e);return xs(e)(t.map(Tc))}const ze={test:xc,parse:Is,createTransformer:xs,getAnimatableNone:Pc},Vc=new Set(["brightness","contrast","saturate","opacity"]);function wc(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[i]=n.match(jn)||[];if(!i)return e;const r=n.replace(i,"");let s=Vc.has(t)?1:0;return i!==n&&(s*=100),t+"("+s+r+")"}const Fc=/\b([a-z-]*)\(.*?\)/gu,ci={...ze,getAnimatableNone:e=>{const t=e.match(Fc);return t?t.map(wc).join(" "):e}},Bc={...Lr,color:te,backgroundColor:te,outlineColor:te,fill:te,stroke:te,borderColor:te,borderTopColor:te,borderRightColor:te,borderBottomColor:te,borderLeftColor:te,filter:ci,WebkitFilter:ci},di=e=>Bc[e];function As(e,t){let n=di(e);return n!==ci&&(n=ze),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const Gc=new Set(["auto","none","0"]);function Mc(e,t,n){let i=0,r;for(;i<e.length&&!r;){const s=e[i];typeof s=="string"&&!Gc.has(s)&&Et(s).values.length&&(r=e[i]),i++}if(r&&n)for(const s of t)e[s]=As(n,r)}class Ss extends oi{constructor(t,n,i,r){super(t,n,i,r,r==null?void 0:r.owner,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:i}=this;if(!n.current)return;super.readKeyframes();for(let a=0;a<t.length;a++){let l=t[a];if(typeof l=="string"&&(l=l.trim(),zn(l))){const c=us(l,n.current);c!==void 0&&(t[a]=c),a===t.length-1&&(this.finalKeyframe=l)}}if(this.resolveNoneKeyframes(),!mc.has(i)||t.length!==2)return;const[r,s]=t,o=ps(r),u=ps(s);if(o!==u)if(ls(o)&&ls(u))for(let a=0;a<t.length;a++){const l=t[a];typeof l=="string"&&(t[a]=parseFloat(l))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,i=[];for(let r=0;r<t.length;r++)dc(t[r])&&i.push(r);i.length&&Mc(t,i,n)}measureInitialState(){const{element:t,unresolvedKeyframes:n,name:i}=this;if(!t.current)return;i==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=ot[i](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const r=n[n.length-1];r!==void 0&&t.getValue(i,r).jump(r,!1)}measureEndState(){var t;const{element:n,name:i,unresolvedKeyframes:r}=this;if(!n.current)return;const s=n.getValue(i);s&&s.jump(this.measuredOrigin,!1);const o=r.length-1,u=r[o];r[o]=ot[i](n.measureViewportBox(),window.getComputedStyle(n.current)),u!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=u),!((t=this.removedTransforms)===null||t===void 0)&&t.length&&this.removedTransforms.forEach(([a,l])=>{n.getValue(a).set(l)}),this.resolveNoneKeyframes()}}function Es(e){let t;return()=>(t===void 0&&(t=e()),t)}const Ts=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(ze.test(e)||e==="0")&&!e.startsWith("url("));function Dc(e){const t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function Nc(e,t,n,i){const r=e[0];if(r===null)return!1;if(t==="display"||t==="visibility")return!0;const s=e[e.length-1],o=Ts(r,t),u=Ts(s,t);return rt(o===u,`You are trying to animate ${t} 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||!u?!1:Dc(e)||n==="spring"&&i}class Ps{constructor({autoplay:t=!0,delay:n=0,type:i="keyframes",repeat:r=0,repeatDelay:s=0,repeatType:o="loop",...u}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.options={autoplay:t,delay:n,type:i,repeat:r,repeatDelay:s,repeatType:o,...u},this.updateFinishedPromise()}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&yc(),this._resolved}onKeyframesResolved(t,n){this.hasAttemptedResolve=!0;const{name:i,type:r,velocity:s,delay:o,onComplete:u,onUpdate:a,isGenerator:l}=this.options;if(!l&&!Nc(t,i,r,s))if(o)this.options.duration=0;else{a==null||a(rn(t,this.options,n)),u==null||u(),this.resolveFinishedPromise();return}const c=this.initPlayback(t,n);c!==!1&&(this._resolved={keyframes:t,finalKeyframe:n,...c},this.onPostResolved())}onPostResolved(){}then(t,n){return this.currentFinishedPromise.then(t,n)}updateFinishedPromise(){this.currentFinishedPromise=new Promise(t=>{this.resolveFinishedPromise=t})}}function Vs(e,t){return t?e*(1e3/t):0}const Lc=5;function ws(e,t,n){const i=Math.max(t-Lc,0);return Vs(n-e(i),t-i)}const fi=.001,Wc=.01,Fs=10,Rc=.05,Oc=1;function Xc({duration:e=800,bounce:t=.25,velocity:n=0,mass:i=1}){let r,s;rt(e<=Me(Fs),"Spring duration must be 10 seconds or less");let o=1-t;o=Xe(Rc,Oc,o),e=Xe(Wc,Fs,De(e)),o<1?(r=l=>{const c=l*o,d=c*e,f=c-n,h=hi(l,o),m=Math.exp(-d);return fi-f/h*m},s=l=>{const d=l*o*e,f=d*n+n,h=Math.pow(o,2)*Math.pow(l,2)*e,m=Math.exp(-d),p=hi(Math.pow(l,2),o);return(-r(l)+fi>0?-1:1)*((f-h)*m)/p}):(r=l=>{const c=Math.exp(-l*e),d=(l-n)*e+1;return-fi+c*d},s=l=>{const c=Math.exp(-l*e),d=(n-l)*(e*e);return c*d});const u=5/e,a=Hc(r,s,u);if(e=Me(e),isNaN(a))return{stiffness:100,damping:10,duration:e};{const l=Math.pow(a,2)*i;return{stiffness:l,damping:o*2*Math.sqrt(i*l),duration:e}}}const Zc=12;function Hc(e,t,n){let i=n;for(let r=1;r<Zc;r++)i=i-e(i)/t(i);return i}function hi(e,t){return e*Math.sqrt(1-t*t)}const kc=["duration","bounce"],zc=["stiffness","damping","mass"];function Bs(e,t){return t.some(n=>e[n]!==void 0)}function jc(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!Bs(e,zc)&&Bs(e,kc)){const n=Xc(e);t={...t,...n,mass:1},t.isResolvedFromDuration=!0}return t}function Gs({keyframes:e,restDelta:t,restSpeed:n,...i}){const r=e[0],s=e[e.length-1],o={done:!1,value:r},{stiffness:u,damping:a,mass:l,duration:c,velocity:d,isResolvedFromDuration:f}=jc({...i,velocity:-De(i.velocity||0)}),h=d||0,m=a/(2*Math.sqrt(u*l)),p=s-r,g=De(Math.sqrt(u/l)),b=Math.abs(p)<5;n||(n=b?.01:2),t||(t=b?.005:.5);let I;if(m<1){const v=hi(g,m);I=x=>{const y=Math.exp(-m*g*x);return s-y*((h+m*g*p)/v*Math.sin(v*x)+p*Math.cos(v*x))}}else if(m===1)I=v=>s-Math.exp(-g*v)*(p+(h+g*p)*v);else{const v=g*Math.sqrt(m*m-1);I=x=>{const y=Math.exp(-m*g*x),E=Math.min(v*x,300);return s-y*((h+m*g*p)*Math.sinh(E)+v*p*Math.cosh(E))/v}}return{calculatedDuration:f&&c||null,next:v=>{const x=I(v);if(f)o.done=v>=c;else{let y=h;v!==0&&(m<1?y=ws(I,v,x):y=0);const E=Math.abs(y)<=n,T=Math.abs(s-x)<=t;o.done=E&&T}return o.value=o.done?s:x,o}}}function Ms({keyframes:e,velocity:t=0,power:n=.8,timeConstant:i=325,bounceDamping:r=10,bounceStiffness:s=500,modifyTarget:o,min:u,max:a,restDelta:l=.5,restSpeed:c}){const d=e[0],f={done:!1,value:d},h=S=>u!==void 0&&S<u||a!==void 0&&S>a,m=S=>u===void 0?a:a===void 0||Math.abs(u-S)<Math.abs(a-S)?u:a;let p=n*t;const g=d+p,b=o===void 0?g:o(g);b!==g&&(p=b-d);const I=S=>-p*Math.exp(-S/i),v=S=>b+I(S),x=S=>{const M=I(S),N=v(S);f.done=Math.abs(M)<=l,f.value=f.done?b:N};let y,E;const T=S=>{h(f.value)&&(y=S,E=Gs({keyframes:[f.value,m(f.value)],velocity:ws(v,S,f.value),damping:r,stiffness:s,restDelta:l,restSpeed:c}))};return T(0),{calculatedDuration:null,next:S=>{let M=!1;return!E&&y===void 0&&(M=!0,x(S),T(S)),y!==void 0&&S>=y?E.next(S-y):(!M&&x(S),f)}}}const Ds=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,Yc=1e-7,Jc=12;function Uc(e,t,n,i,r){let s,o,u=0;do o=t+(n-t)/2,s=Ds(o,i,r)-e,s>0?n=o:t=o;while(Math.abs(s)>Yc&&++u<Jc);return o}function Tt(e,t,n,i){if(e===t&&n===i)return Q;const r=s=>Uc(s,0,1,e,n);return s=>s===0||s===1?s:Ds(r(s),t,i)}const _c=Tt(.42,0,1,1),Qc=Tt(0,0,.58,1),Ns=Tt(.42,0,.58,1),$c=e=>Array.isArray(e)&&typeof e[0]!="number",Ls=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Ws=e=>t=>1-e(1-t),pi=e=>1-Math.sin(Math.acos(e)),Rs=Ws(pi),Kc=Ls(pi),Os=Tt(.33,1.53,.69,.99),mi=Ws(Os),qc=Ls(mi),Xs={linear:Q,easeIn:_c,easeInOut:Ns,easeOut:Qc,circIn:pi,circInOut:Kc,circOut:Rs,backIn:mi,backInOut:qc,backOut:Os,anticipate:e=>(e*=2)<1?.5*mi(e):.5*(2-Math.pow(2,-10*(e-1)))},Zs=e=>{if(Array.isArray(e)){Ve(e.length===4,"Cubic bezier arrays must contain four numerical values.");const[t,n,i,r]=e;return Tt(t,n,i,r)}else if(typeof e=="string")return Ve(Xs[e]!==void 0,`Invalid easing type '${e}'`),Xs[e];return e},Pt=(e,t,n)=>{const i=t-e;return i===0?1:(n-e)/i},H=(e,t,n)=>e+(t-e)*n;function gi(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function ed({hue:e,saturation:t,lightness:n,alpha:i}){e/=360,t/=100,n/=100;let r=0,s=0,o=0;if(!t)r=s=o=n;else{const u=n<.5?n*(1+t):n+t-n*t,a=2*n-u;r=gi(a,u,e+1/3),s=gi(a,u,e),o=gi(a,u,e-1/3)}return{red:Math.round(r*255),green:Math.round(s*255),blue:Math.round(o*255),alpha:i}}function on(e,t){return n=>n>0?t:e}const bi=(e,t,n)=>{const i=e*e,r=n*(t*t-i)+i;return r<0?0:Math.sqrt(r)},td=[li,Ue,at],nd=e=>td.find(t=>t.test(e));function Hs(e){const t=nd(e);if(rt(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`),!t)return!1;let n=t.parse(e);return t===at&&(n=ed(n)),n}const ks=(e,t)=>{const n=Hs(e),i=Hs(t);if(!n||!i)return on(e,t);const r={...n};return s=>(r.red=bi(n.red,i.red,s),r.green=bi(n.green,i.green,s),r.blue=bi(n.blue,i.blue,s),r.alpha=H(n.alpha,i.alpha,s),Ue.transform(r))},vi=new Set(["none","hidden"]);function id(e,t){return vi.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function rd(e,t){return n=>H(e,t,n)}function yi(e){return typeof e=="number"?rd:typeof e=="string"?zn(e)?on:te.test(e)?ks:ad:Array.isArray(e)?zs:typeof e=="object"?te.test(e)?ks:sd:on}function zs(e,t){const n=[...e],i=n.length,r=e.map((s,o)=>yi(s)(s,t[o]));return s=>{for(let o=0;o<i;o++)n[o]=r[o](s);return n}}function sd(e,t){const n={...e,...t},i={};for(const r in n)e[r]!==void 0&&t[r]!==void 0&&(i[r]=yi(e[r])(e[r],t[r]));return r=>{for(const s in i)n[s]=i[s](r);return n}}function od(e,t){var n;const i=[],r={color:0,var:0,number:0};for(let s=0;s<t.values.length;s++){const o=t.types[s],u=e.indexes[o][r[o]],a=(n=e.values[u])!==null&&n!==void 0?n:0;i[s]=a,r[o]++}return i}const ad=(e,t)=>{const n=ze.createTransformer(t),i=Et(e),r=Et(t);return i.indexes.var.length===r.indexes.var.length&&i.indexes.color.length===r.indexes.color.length&&i.indexes.number.length>=r.indexes.number.length?vi.has(e)&&!r.values.length||vi.has(t)&&!i.values.length?id(e,t):Ge(zs(od(i,r),r.values),n):(rt(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),on(e,t))};function js(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?H(e,t,n):yi(e)(e,t)}function ud(e,t,n){const i=[],r=n||js,s=e.length-1;for(let o=0;o<s;o++){let u=r(e[o],e[o+1]);if(t){const a=Array.isArray(t)?t[o]||Q:t;u=Ge(a,u)}i.push(u)}return i}function ld(e,t,{clamp:n=!0,ease:i,mixer:r}={}){const s=e.length;if(Ve(s===t.length,"Both input and output ranges must be the same length"),s===1)return()=>t[0];if(s===2&&e[0]===e[1])return()=>t[1];e[0]>e[s-1]&&(e=[...e].reverse(),t=[...t].reverse());const o=ud(t,i,r),u=o.length,a=l=>{let c=0;if(u>1)for(;c<e.length-2&&!(l<e[c+1]);c++);const d=Pt(e[c],e[c+1],l);return o[c](d)};return n?l=>a(Xe(e[0],e[s-1],l)):a}function cd(e,t){const n=e[e.length-1];for(let i=1;i<=t;i++){const r=Pt(0,t,i);e.push(H(n,1,r))}}function dd(e){const t=[0];return cd(t,e.length-1),t}function fd(e,t){return e.map(n=>n*t)}function hd(e,t){return e.map(()=>t||Ns).splice(0,e.length-1)}function an({duration:e=300,keyframes:t,times:n,ease:i="easeInOut"}){const r=$c(i)?i.map(Zs):Zs(i),s={done:!1,value:t[0]},o=fd(n&&n.length===t.length?n:dd(t),e),u=ld(o,t,{ease:Array.isArray(r)?r:hd(t,r)});return{calculatedDuration:e,next:a=>(s.value=u(a),s.done=a>=e,s)}}const Ys=2e4;function pd(e){let t=0;const n=50;let i=e.next(t);for(;!i.done&&t<Ys;)t+=n,i=e.next(t);return t>=Ys?1/0:t}const md=e=>{const t=({timestamp:n})=>e(n);return{start:()=>O.update(t,!0),stop:()=>we(t),now:()=>$.isProcessing?$.timestamp:ke.now()}},gd={decay:Ms,inertia:Ms,tween:an,keyframes:an,spring:Gs},bd=e=>e/100;class Ci extends Ps{constructor({KeyframeResolver:t=oi,...n}){super(n),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,this.state==="idle")return;this.teardown();const{onStop:u}=this.options;u&&u()};const{name:i,motionValue:r,keyframes:s}=this.options,o=(u,a)=>this.onKeyframesResolved(u,a);i&&r&&r.owner?this.resolver=r.owner.resolveKeyframes(s,o,i,r):this.resolver=new t(s,o,i,r),this.resolver.scheduleResolve()}initPlayback(t){const{type:n="keyframes",repeat:i=0,repeatDelay:r=0,repeatType:s,velocity:o=0}=this.options,u=gd[n]||an;let a,l;u!==an&&typeof t[0]!="number"&&(process.env.NODE_ENV!=="production"&&Ve(t.length===2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${t}`),a=Ge(bd,js(t[0],t[1])),t=[0,100]);const c=u({...this.options,keyframes:t});s==="mirror"&&(l=u({...this.options,keyframes:[...t].reverse(),velocity:-o})),c.calculatedDuration===null&&(c.calculatedDuration=pd(c));const{calculatedDuration:d}=c,f=d+r,h=f*(i+1)-r;return{generator:c,mirroredGenerator:l,mapPercentToKeyframes:a,calculatedDuration:d,resolvedDuration:f,totalDuration:h}}onPostResolved(){const{autoplay:t=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!t?this.pause():this.state=this.pendingPlayState}tick(t,n=!1){const{resolved:i}=this;if(!i){const{keyframes:S}=this.options;return{done:!0,value:S[S.length-1]}}const{finalKeyframe:r,generator:s,mirroredGenerator:o,mapPercentToKeyframes:u,keyframes:a,calculatedDuration:l,totalDuration:c,resolvedDuration:d}=i;if(this.startTime===null)return s.next(0);const{delay:f,repeat:h,repeatType:m,repeatDelay:p,onUpdate:g}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-c/this.speed,this.startTime)),n?this.currentTime=t:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;const b=this.currentTime-f*(this.speed>=0?1:-1),I=this.speed>=0?b<0:b>c;this.currentTime=Math.max(b,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=c);let v=this.currentTime,x=s;if(h){const S=Math.min(this.currentTime,c)/d;let M=Math.floor(S),N=S%1;!N&&S>=1&&(N=1),N===1&&M--,M=Math.min(M,h+1),!!(M%2)&&(m==="reverse"?(N=1-N,p&&(N-=p/d)):m==="mirror"&&(x=o)),v=Xe(0,1,N)*d}const y=I?{done:!1,value:a[0]}:x.next(v);u&&(y.value=u(y.value));let{done:E}=y;!I&&l!==null&&(E=this.speed>=0?this.currentTime>=c:this.currentTime<=0);const T=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&E);return T&&r!==void 0&&(y.value=rn(a,this.options,r)),g&&g(y.value),T&&this.finish(),y}get duration(){const{resolved:t}=this;return t?De(t.calculatedDuration):0}get time(){return De(this.currentTime)}set time(t){t=Me(t),this.currentTime=t,this.holdTime!==null||this.speed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=De(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:t=md,onPlay:n}=this.options;this.driver||(this.driver=t(r=>this.tick(r))),n&&n();const i=this.driver.now();this.holdTime!==null?this.startTime=i-this.holdTime:(!this.startTime||this.state==="finished")&&(this.startTime=i),this.state==="finished"&&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=(t=this.currentTime)!==null&&t!==void 0?t:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:t}=this.options;t&&t()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}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)}}const Js=e=>Array.isArray(e)&&typeof e[0]=="number";function Us(e){return!!(!e||typeof e=="string"&&e in Ii||Js(e)||Array.isArray(e)&&e.every(Us))}const Vt=([e,t,n,i])=>`cubic-bezier(${e}, ${t}, ${n}, ${i})`,Ii={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Vt([0,.65,.55,1]),circOut:Vt([.55,0,1,.45]),backIn:Vt([.31,.01,.66,-.59]),backOut:Vt([.33,1.53,.69,.99])};function vd(e){return _s(e)||Ii.easeOut}function _s(e){if(e)return Js(e)?Vt(e):Array.isArray(e)?e.map(vd):Ii[e]}function yd(e,t,n,{delay:i=0,duration:r=300,repeat:s=0,repeatType:o="loop",ease:u,times:a}={}){const l={[t]:n};a&&(l.offset=a);const c=_s(u);return Array.isArray(c)&&(l.easing=c),e.animate(l,{delay:i,duration:r,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:s+1,direction:o==="reverse"?"alternate":"normal"})}const Cd=Es(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),un=10,Id=2e4;function xd(e){return e.type==="spring"||!Us(e.ease)}function Ad(e,t){const n=new Ci({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0});let i={done:!1,value:e[0]};const r=[];let s=0;for(;!i.done&&s<Id;)i=n.sample(s),r.push(i.value),s+=un;return{times:void 0,keyframes:r,duration:s-un,ease:"linear"}}class Qs extends Ps{constructor(t){super(t);const{name:n,motionValue:i,keyframes:r}=this.options;this.resolver=new Ss(r,(s,o)=>this.onKeyframesResolved(s,o),n,i),this.resolver.scheduleResolve()}initPlayback(t,n){var i;let{duration:r=300,times:s,ease:o,type:u,motionValue:a,name:l}=this.options;if(!(!((i=a.owner)===null||i===void 0)&&i.current))return!1;if(xd(this.options)){const{onComplete:d,onUpdate:f,motionValue:h,...m}=this.options,p=Ad(t,m);t=p.keyframes,t.length===1&&(t[1]=t[0]),r=p.duration,s=p.times,o=p.ease,u="keyframes"}const c=yd(a.owner.current,l,t,{...this.options,duration:r,times:s,ease:o});return c.startTime=ke.now(),this.pendingTimeline?(c.timeline=this.pendingTimeline,this.pendingTimeline=void 0):c.onfinish=()=>{const{onComplete:d}=this.options;a.set(rn(t,this.options,n)),d&&d(),this.cancel(),this.resolveFinishedPromise()},{animation:c,duration:r,times:s,type:u,ease:o,keyframes:t}}get duration(){const{resolved:t}=this;if(!t)return 0;const{duration:n}=t;return De(n)}get time(){const{resolved:t}=this;if(!t)return 0;const{animation:n}=t;return De(n.currentTime||0)}set time(t){const{resolved:n}=this;if(!n)return;const{animation:i}=n;i.currentTime=Me(t)}get speed(){const{resolved:t}=this;if(!t)return 1;const{animation:n}=t;return n.playbackRate}set speed(t){const{resolved:n}=this;if(!n)return;const{animation:i}=n;i.playbackRate=t}get state(){const{resolved:t}=this;if(!t)return"idle";const{animation:n}=t;return n.playState}attachTimeline(t){if(!this._resolved)this.pendingTimeline=t;else{const{resolved:n}=this;if(!n)return Q;const{animation:i}=n;i.timeline=t,i.onfinish=null}return Q}play(){if(this.isStopped)return;const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.playState==="finished"&&this.updateFinishedPromise(),n.play()}pause(){const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;const{resolved:t}=this;if(!t)return;const{animation:n,keyframes:i,duration:r,type:s,ease:o,times:u}=t;if(n.playState==="idle"||n.playState==="finished")return;if(this.time){const{motionValue:l,onUpdate:c,onComplete:d,...f}=this.options,h=new Ci({...f,keyframes:i,duration:r,type:s,ease:o,times:u,isGenerator:!0}),m=Me(this.time);l.setWithVelocity(h.sample(m-un).value,h.sample(m).value,un)}const{onStop:a}=this.options;a&&a(),this.cancel()}complete(){const{resolved:t}=this;t&&t.animation.finish()}cancel(){const{resolved:t}=this;t&&t.animation.cancel()}static supports(t){const{motionValue:n,name:i,repeatDelay:r,repeatType:s,damping:o,type:u}=t;return Cd()&&i&&Jr.has(i)&&n&&n.owner&&n.owner.current instanceof HTMLElement&&!n.owner.getProps().onUpdate&&!r&&s!=="mirror"&&o!==0&&u!=="inertia"}}function Sd(e,t){let n;const i=()=>{const{currentTime:r}=t,o=(r===null?0:r.value)/100;n!==o&&e(o),n=o};return O.update(i,!0),()=>we(i)}const Ed=Es(()=>window.ScrollTimeline!==void 0);class Td{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}then(t,n){return Promise.all(this.animations).then(t).catch(n)}getAll(t){return this.animations[0][t]}setAll(t,n){for(let i=0;i<this.animations.length;i++)this.animations[i][t]=n}attachTimeline(t){const n=this.animations.map(i=>{if(Ed()&&i.attachTimeline)i.attachTimeline(t);else return i.pause(),Sd(r=>{i.time=i.duration*r},t)});return()=>{n.forEach((i,r)=>{i&&i(),this.animations[r].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 n=0;n<this.animations.length;n++)t=Math.max(t,this.animations[n].duration);return t}runAll(t){this.animations.forEach(n=>n[t]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}const xi=(e,t,n,i={},r,s,o)=>u=>{const a=ii(i,e)||{},l=a.delay||i.delay||0;let{elapsed:c=0}=i;c=c-Me(l);let d={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-c,onUpdate:h=>{t.set(h),a.onUpdate&&a.onUpdate(h)},onComplete:()=>{u(),a.onComplete&&a.onComplete(),o&&o()},onStop:o,name:e,motionValue:t,element:s?void 0:r};uc(a)||(d={...d,...ac(e,d)}),d.duration&&(d.duration=Me(d.duration)),d.repeatDelay&&(d.repeatDelay=Me(d.repeatDelay)),d.from!==void 0&&(d.keyframes[0]=d.from);let f=!1;if((d.type===!1||d.duration===0&&!d.repeatDelay)&&(d.duration=0,d.delay===0&&(f=!0)),f&&!s&&t.get()!==void 0){const h=rn(d.keyframes,a);if(h!==void 0)return O.update(()=>{d.onUpdate(h),d.onComplete()}),new Td([])}return!s&&Qs.supports(d)?new Qs(d):new Ci(d)};class Ai{constructor(){this.subscriptions=[]}add(t){return qt(this.subscriptions,t),()=>en(this.subscriptions,t)}notify(t,n,i){const r=this.subscriptions.length;if(r)if(r===1)this.subscriptions[0](t,n,i);else for(let s=0;s<r;s++){const o=this.subscriptions[s];o&&o(t,n,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const $s=new Set;function Si(e,t,n){e||$s.has(t)||(console.warn(t),$s.add(t))}const Ks=30,Pd=e=>!isNaN(parseFloat(e));class qs{constructor(t,n={}){this.version="11.3.8",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(i,r=!0)=>{const s=ke.now();this.updatedAt!==s&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(i),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),r&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=ke.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=Pd(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return process.env.NODE_ENV!=="production"&&Si(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new Ai);const i=this.events[t].add(n);return t==="change"?()=>{i(),O.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t,n=!0){!n||!this.passiveEffect?this.updateAndNotify(t,n):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,n,i){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=ke.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>Ks)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,Ks);return Vs(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),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 wt(e,t){return new qs(e,t)}function Vd(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,wt(n))}function wd(e,t){const n=nn(e,t);let{transitionEnd:i={},transition:r={},...s}=n||{};s={...s,...i};for(const o in s){const u=Wl(s[o]);Vd(e,o,u)}}function eo(e){return e.getProps()[Ar]}class Fd extends qs{constructor(){super(...arguments),this.output=[],this.counts=new Map}add(t){const n=Ur(t);if(!n)return;const i=this.counts.get(n)||0;this.counts.set(n,i+1),i===0&&(this.output.push(n),this.update());let r=!1;return()=>{if(r)return;r=!0;const s=this.counts.get(n)-1;this.counts.set(n,s),s===0&&(en(this.output,n),this.update())}}update(){this.set(this.output.length?this.output.join(", "):"auto")}}function Bd(e){return!!(ee(e)&&e.add)}function Ei(e,t){var n;if(!e.applyWillChange)return;let i=e.getValue("willChange");if(!i&&!(!((n=e.props.style)===null||n===void 0)&&n.willChange)&&(i=new Fd("auto"),e.addValue("willChange",i)),Bd(i))return i.add(t)}function Gd({protectedKeys:e,needsAnimating:t},n){const i=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,i}function to(e,t,{delay:n=0,transitionOverride:i,type:r}={}){var s;let{transition:o=e.getDefaultTransition(),transitionEnd:u,...a}=t;i&&(o=i);const l=[],c=r&&e.animationState&&e.animationState.getState()[r];for(const d in a){const f=e.getValue(d,(s=e.latestValues[d])!==null&&s!==void 0?s:null),h=a[d];if(h===void 0||c&&Gd(c,d))continue;const m={delay:n,elapsed:0,...ii(o||{},d)};let p=!1;if(window.HandoffAppearAnimations){const b=eo(e);if(b){const I=window.HandoffAppearAnimations(b,d,f,O);I!==null&&(m.elapsed=I,p=!0)}}f.start(xi(d,f,h,e.shouldReduceMotion&&Oe.has(d)?{type:!1}:m,e,p,Ei(e,d)));const g=f.animation;g&&l.push(g)}return u&&Promise.all(l).then(()=>{O.update(()=>{u&&wd(e,u)})}),l}function Ti(e,t,n={}){var i;const r=nn(e,t,n.type==="exit"?(i=e.presenceContext)===null||i===void 0?void 0:i.custom:void 0);let{transition:s=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(s=n.transitionOverride);const o=r?()=>Promise.all(to(e,r,n)):()=>Promise.resolve(),u=e.variantChildren&&e.variantChildren.size?(l=0)=>{const{delayChildren:c=0,staggerChildren:d,staggerDirection:f}=s;return Md(e,t,c+l,d,f,n)}:()=>Promise.resolve(),{when:a}=s;if(a){const[l,c]=a==="beforeChildren"?[o,u]:[u,o];return l().then(()=>c())}else return Promise.all([o(),u(n.delay)])}function Md(e,t,n=0,i=0,r=1,s){const o=[],u=(e.variantChildren.size-1)*i,a=r===1?(l=0)=>l*i:(l=0)=>u-l*i;return Array.from(e.variantChildren).sort(Dd).forEach((l,c)=>{l.notify("AnimationStart",t),o.push(Ti(l,t,{...s,delay:n+a(c)}).then(()=>l.notify("AnimationComplete",t)))}),Promise.all(o)}function Dd(e,t){return e.sortNodePosition(t)}function Nd(e,t,n={}){e.notify("AnimationStart",t);let i;if(Array.isArray(t)){const r=t.map(s=>Ti(e,s,n));i=Promise.all(r)}else if(typeof t=="string")i=Ti(e,t,n);else{const r=typeof t=="function"?nn(e,t,n.custom):t;i=Promise.all(to(e,r,n))}return i.then(()=>{O.postRender(()=>{e.notify("AnimationComplete",t)})})}const Ld=[...Xn].reverse(),Wd=Xn.length;function Rd(e){return t=>Promise.all(t.map(({animation:n,options:i})=>Nd(e,n,i)))}function Od(e){let t=Rd(e),n=no(),i=!0;const r=a=>(l,c)=>{var d;const f=nn(e,c,a==="exit"?(d=e.presenceContext)===null||d===void 0?void 0:d.custom:void 0);if(f){const{transition:h,transitionEnd:m,...p}=f;l={...l,...p,...m}}return l};function s(a){t=a(e)}function o(a){const l=e.getProps(),c=e.getVariantContext(!0)||{},d=[],f=new Set;let h={},m=1/0;for(let g=0;g<Wd;g++){const b=Ld[g],I=n[b],v=l[b]!==void 0?l[b]:c[b],x=vt(v),y=b===a?I.isActive:null;y===!1&&(m=g);let E=v===c[b]&&v!==l[b]&&x;if(E&&i&&e.manuallyAnimateOnMount&&(E=!1),I.protectedKeys={...h},!I.isActive&&y===null||!v&&!I.prevProp||yt(v)||typeof v=="boolean")continue;let S=Xd(I.prevProp,v)||b===a&&I.isActive&&!E&&x||g>m&&x,M=!1;const N=Array.isArray(v)?v:[v];let k=N.reduce(r(b),{});y===!1&&(k={});const{prevResolvedValues:Y={}}=I,ce={...Y,...k},oe=D=>{S=!0,f.has(D)&&(M=!0,f.delete(D)),I.needsAnimating[D]=!0;const R=e.getValue(D);R&&(R.liveStyle=!1)};for(const D in ce){const R=k[D],ie=Y[D];if(h.hasOwnProperty(D))continue;let _=!1;Kn(R)&&Kn(ie)?_=!ss(R,ie):_=R!==ie,_?R!=null?oe(D):f.add(D):R!==void 0&&f.has(D)?oe(D):I.protectedKeys[D]=!0}I.prevProp=v,I.prevResolvedValues=k,I.isActive&&(h={...h,...k}),i&&e.blockInitialAnimation&&(S=!1),S&&(!E||M)&&d.push(...N.map(D=>({animation:D,options:{type:b}})))}if(f.size){const g={};f.forEach(b=>{const I=e.getBaseTarget(b),v=e.getValue(b);v&&(v.liveStyle=!0),g[b]=I??null}),d.push({animation:g})}let p=!!d.length;return i&&(l.initial===!1||l.initial===l.animate)&&!e.manuallyAnimateOnMount&&(p=!1),i=!1,p?t(d):Promise.resolve()}function u(a,l){var c;if(n[a].isActive===l)return Promise.resolve();(c=e.variantChildren)===null||c===void 0||c.forEach(f=>{var h;return(h=f.animationState)===null||h===void 0?void 0:h.setActive(a,l)}),n[a].isActive=l;const d=o(a);for(const f in n)n[f].protectedKeys={};return d}return{animateChanges:o,setActive:u,setAnimateFunction:s,getState:()=>n,reset:()=>{n=no(),i=!0}}}function Xd(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!ss(t,e):!1}function _e(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function no(){return{animate:_e(!0),whileInView:_e(),whileHover:_e(),whileTap:_e(),whileDrag:_e(),whileFocus:_e(),exit:_e()}}class Zd extends He{constructor(t){super(t),t.animationState||(t.animationState=Od(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();yt(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),(t=this.unmountControls)===null||t===void 0||t.call(this)}}let Hd=0;class kd extends He{constructor(){super(...arguments),this.id=Hd++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;const r=this.node.animationState.setActive("exit",!t);n&&!t&&r.then(()=>n(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const zd={animation:{Feature:Zd},exit:{Feature:kd}},io=(e,t)=>Math.abs(e-t);function jd(e,t){const n=io(e.x,t.x),i=io(e.y,t.y);return Math.sqrt(n**2+i**2)}class ro{constructor(t,n,{transformPagePoint:i,contextWindow:r,dragSnapToOrigin:s=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const d=Vi(this.lastMoveEventInfo,this.history),f=this.startEvent!==null,h=jd(d.offset,{x:0,y:0})>=3;if(!f&&!h)return;const{point:m}=d,{timestamp:p}=$;this.history.push({...m,timestamp:p});const{onStart:g,onMove:b}=this.handlers;f||(g&&g(this.lastMoveEvent,d),this.startEvent=this.lastMoveEvent),b&&b(this.lastMoveEvent,d)},this.handlePointerMove=(d,f)=>{this.lastMoveEvent=d,this.lastMoveEventInfo=Pi(f,this.transformPagePoint),O.update(this.updatePoint,!0)},this.handlePointerUp=(d,f)=>{this.end();const{onEnd:h,onSessionEnd:m,resumeAnimation:p}=this.handlers;if(this.dragSnapToOrigin&&p&&p(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const g=Vi(d.type==="pointercancel"?this.lastMoveEventInfo:Pi(f,this.transformPagePoint),this.history);this.startEvent&&h&&h(d,g),m&&m(d,g)},!$r(t))return;this.dragSnapToOrigin=s,this.handlers=n,this.transformPagePoint=i,this.contextWindow=r||window;const o=tn(t),u=Pi(o,this.transformPagePoint),{point:a}=u,{timestamp:l}=$;this.history=[{...a,timestamp:l}];const{onSessionStart:c}=n;c&&c(t,Vi(u,this.history)),this.removeListeners=Ge(Be(this.contextWindow,"pointermove",this.handlePointerMove),Be(this.contextWindow,"pointerup",this.handlePointerUp),Be(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),we(this.updatePoint)}}function Pi(e,t){return t?{point:t(e.point)}:e}function so(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Vi({point:e},t){return{point:e,delta:so(e,oo(t)),offset:so(e,Yd(t)),velocity:Jd(t,.1)}}function Yd(e){return e[0]}function oo(e){return e[e.length-1]}function Jd(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,i=null;const r=oo(e);for(;n>=0&&(i=e[n],!(r.timestamp-i.timestamp>Me(t)));)n--;if(!i)return{x:0,y:0};const s=De(r.timestamp-i.timestamp);if(s===0)return{x:0,y:0};const o={x:(r.x-i.x)/s,y:(r.y-i.y)/s};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}const ao=1e-4,Ud=1-ao,_d=1+ao,uo=.01,Qd=0-uo,$d=0+uo;function ue(e){return e.max-e.min}function Kd(e,t,n){return Math.abs(e-t)<=n}function lo(e,t,n,i=.5){e.origin=i,e.originPoint=H(t.min,t.max,e.origin),e.scale=ue(n)/ue(t),e.translate=H(n.min,n.max,e.origin)-e.originPoint,(e.scale>=Ud&&e.scale<=_d||isNaN(e.scale))&&(e.scale=1),(e.translate>=Qd&&e.translate<=$d||isNaN(e.translate))&&(e.translate=0)}function Ft(e,t,n,i){lo(e.x,t.x,n.x,i?i.originX:void 0),lo(e.y,t.y,n.y,i?i.originY:void 0)}function co(e,t,n){e.min=n.min+t.min,e.max=e.min+ue(t)}function qd(e,t,n){co(e.x,t.x,n.x),co(e.y,t.y,n.y)}function fo(e,t,n){e.min=t.min-n.min,e.max=e.min+ue(t)}function Bt(e,t,n){fo(e.x,t.x,n.x),fo(e.y,t.y,n.y)}function ef(e,{min:t,max:n},i){return t!==void 0&&e<t?e=i?H(t,e,i.min):Math.max(e,t):n!==void 0&&e>n&&(e=i?H(n,e,i.max):Math.min(e,n)),e}function ho(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function tf(e,{top:t,left:n,bottom:i,right:r}){return{x:ho(e.x,n,r),y:ho(e.y,t,i)}}function po(e,t){let n=t.min-e.min,i=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,i]=[i,n]),{min:n,max:i}}function nf(e,t){return{x:po(e.x,t.x),y:po(e.y,t.y)}}function rf(e,t){let n=.5;const i=ue(e),r=ue(t);return r>i?n=Pt(t.min,t.max-i,e.min):i>r&&(n=Pt(e.min,e.max-r,t.min)),Xe(0,1,n)}function sf(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const wi=.35;function of(e=wi){return e===!1?e=0:e===!0&&(e=wi),{x:mo(e,"left","right"),y:mo(e,"top","bottom")}}function mo(e,t,n){return{min:go(e,t),max:go(e,n)}}function go(e,t){return typeof e=="number"?e:e[t]||0}const bo=()=>({translate:0,scale:1,origin:0,originPoint:0}),ut=()=>({x:bo(),y:bo()}),vo=()=>({min:0,max:0}),j=()=>({x:vo(),y:vo()});function fe(e){return[e("x"),e("y")]}function yo({top:e,left:t,right:n,bottom:i}){return{x:{min:t,max:n},y:{min:e,max:i}}}function af({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function uf(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),i=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:i.y,right:i.x}}function Fi(e){return e===void 0||e===1}function Bi({scale:e,scaleX:t,scaleY:n}){return!Fi(e)||!Fi(t)||!Fi(n)}function Qe(e){return Bi(e)||Co(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Co(e){return Io(e.x)||Io(e.y)}function Io(e){return e&&e!=="0%"}function ln(e,t,n){const i=e-n,r=t*i;return n+r}function xo(e,t,n,i,r){return r!==void 0&&(e=ln(e,r,i)),ln(e,n,i)+t}function Gi(e,t=0,n=1,i,r){e.min=xo(e.min,t,n,i,r),e.max=xo(e.max,t,n,i,r)}function Ao(e,{x:t,y:n}){Gi(e.x,t.translate,t.scale,t.originPoint),Gi(e.y,n.translate,n.scale,n.originPoint)}const So=.999999999999,Eo=1.0000000000001;function lf(e,t,n,i=!1){const r=n.length;if(!r)return;t.x=t.y=1;let s,o;for(let u=0;u<r;u++){s=n[u],o=s.projectionDelta;const{visualElement:a}=s.options;a&&a.props.style&&a.props.style.display==="contents"||(i&&s.options.layoutScroll&&s.scroll&&s!==s.root&&lt(e,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),o&&(t.x*=o.x.scale,t.y*=o.y.scale,Ao(e,o)),i&&Qe(s.latestValues)&&lt(e,s.latestValues))}t.x<Eo&&t.x>So&&(t.x=1),t.y<Eo&&t.y>So&&(t.y=1)}function je(e,t){e.min=e.min+t,e.max=e.max+t}function To(e,t,n,i,r=.5){const s=H(e.min,e.max,r);Gi(e,t,n,s,i)}function lt(e,t){To(e.x,t.x,t.scaleX,t.scale,t.originX),To(e.y,t.y,t.scaleY,t.scale,t.originY)}function Po(e,t){return yo(uf(e.getBoundingClientRect(),t))}function cf(e,t,n){const i=Po(e,n),{scroll:r}=t;return r&&(je(i.x,r.offset.x),je(i.y,r.offset.y)),i}const Vo=({current:e})=>e?e.ownerDocument.defaultView:null,df=new WeakMap;class ff{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=j(),this.visualElement=t}start(t,{snapToCursor:n=!1}={}){const{presenceContext:i}=this.visualElement;if(i&&i.isPresent===!1)return;const r=c=>{const{dragSnapToOrigin:d}=this.getProps();d?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(tn(c,"page").point)},s=(c,d)=>{var f;const{drag:h,dragPropagation:m,onDragStart:p}=this.getProps();if(h&&!m&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=ts(h),!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),fe(b=>{let I=this.getAxisMotionValue(b).get()||0;if(Ie.test(I)){const{projection:v}=this.visualElement;if(v&&v.layout){const x=v.layout.layoutBox[b];x&&(I=ue(x)*(parseFloat(I)/100))}}this.originPoint[b]=I}),p&&O.postRender(()=>p(c,d)),(f=this.removeWillChange)===null||f===void 0||f.call(this),this.removeWillChange=Ei(this.visualElement,"transform");const{animationState:g}=this.visualElement;g&&g.setActive("whileDrag",!0)},o=(c,d)=>{const{dragPropagation:f,dragDirectionLock:h,onDirectionLock:m,onDrag:p}=this.getProps();if(!f&&!this.openGlobalLock)return;const{offset:g}=d;if(h&&this.currentDirection===null){this.currentDirection=hf(g),this.currentDirection!==null&&m&&m(this.currentDirection);return}this.updateAxis("x",d.point,g),this.updateAxis("y",d.point,g),this.visualElement.render(),p&&p(c,d)},u=(c,d)=>this.stop(c,d),a=()=>fe(c=>{var d;return this.getAnimationState(c)==="paused"&&((d=this.getAxisMotionValue(c).animation)===null||d===void 0?void 0:d.play())}),{dragSnapToOrigin:l}=this.getProps();this.panSession=new ro(t,{onSessionStart:r,onStart:s,onMove:o,onSessionEnd:u,resumeAnimation:a},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:l,contextWindow:Vo(this.visualElement)})}stop(t,n){var i;(i=this.removeWillChange)===null||i===void 0||i.call(this);const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:s}=n;this.startAnimation(s);const{onDragEnd:o}=this.getProps();o&&O.postRender(()=>o(t,n))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:i}=this.getProps();!i&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,i){const{drag:r}=this.getProps();if(!i||!cn(t,r,this.currentDirection))return;const s=this.getAxisMotionValue(t);let o=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(o=ef(o,this.constraints[t],this.elastic[t])),s.set(o)}resolveConstraints(){var t;const{dragConstraints:n,dragElastic:i}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)===null||t===void 0?void 0:t.layout,s=this.constraints;n&&nt(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&r?this.constraints=tf(r.layoutBox,n):this.constraints=!1,this.elastic=of(i),s!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&fe(o=>{this.constraints!==!1&&this.getAxisMotionValue(o)&&(this.constraints[o]=sf(r.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!nt(t))return!1;const i=t.current;Ve(i!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:r}=this.visualElement;if(!r||!r.layout)return!1;const s=cf(i,r.root,this.visualElement.getTransformPagePoint());let o=nf(r.layout.layoutBox,s);if(n){const u=n(af(o));this.hasMutatedConstraints=!!u,u&&(o=yo(u))}return o}startAnimation(t){const{drag:n,dragMomentum:i,dragElastic:r,dragTransition:s,dragSnapToOrigin:o,onDragTransitionEnd:u}=this.getProps(),a=this.constraints||{},l=fe(c=>{if(!cn(c,n,this.currentDirection))return;let d=a&&a[c]||{};o&&(d={min:0,max:0});const f=r?200:1e6,h=r?40:1e7,m={type:"inertia",velocity:i?t[c]:0,bounceStiffness:f,bounceDamping:h,timeConstant:750,restDelta:1,restSpeed:10,...s,...d};return this.startAxisValueAnimation(c,m)});return Promise.all(l).then(u)}startAxisValueAnimation(t,n){const i=this.getAxisMotionValue(t);return i.start(xi(t,i,0,n,this.visualElement,!1,Ei(this.visualElement,t)))}stopAnimation(){fe(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){fe(t=>{var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.pause()})}getAnimationState(t){var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.state}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,i=this.visualElement.getProps(),r=i[n];return r||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){fe(n=>{const{drag:i}=this.getProps();if(!cn(n,i,this.currentDirection))return;const{projection:r}=this.visualElement,s=this.getAxisMotionValue(n);if(r&&r.layout){const{min:o,max:u}=r.layout.layoutBox[n];s.set(t[n]-H(o,u,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:i}=this.visualElement;if(!nt(n)||!i||!this.constraints)return;this.stopAnimation();const r={x:0,y:0};fe(o=>{const u=this.getAxisMotionValue(o);if(u&&this.constraints!==!1){const a=u.get();r[o]=rf({min:a,max:a},this.constraints[o])}});const{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),fe(o=>{if(!cn(o,t,null))return;const u=this.getAxisMotionValue(o),{min:a,max:l}=this.constraints[o];u.set(H(a,l,r[o]))})}addListeners(){if(!this.visualElement.current)return;df.set(this.visualElement,this);const t=this.visualElement.current,n=Be(t,"pointerdown",a=>{const{drag:l,dragListener:c=!0}=this.getProps();l&&c&&this.start(a)}),i=()=>{const{dragConstraints:a}=this.getProps();nt(a)&&a.current&&(this.constraints=this.resolveRefConstraints())},{projection:r}=this.visualElement,s=r.addEventListener("measure",i);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),O.read(i);const o=Fe(window,"resize",()=>this.scalePositionWithinConstraints()),u=r.addEventListener("didUpdate",({delta:a,hasLayoutChanged:l})=>{this.isDragging&&l&&(fe(c=>{const d=this.getAxisMotionValue(c);d&&(this.originPoint[c]+=a[c].translate,d.set(d.get()+a[c].translate))}),this.visualElement.render())});return()=>{o(),n(),s(),u&&u()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:i=!1,dragPropagation:r=!1,dragConstraints:s=!1,dragElastic:o=wi,dragMomentum:u=!0}=t;return{...t,drag:n,dragDirectionLock:i,dragPropagation:r,dragConstraints:s,dragElastic:o,dragMomentum:u}}}function cn(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function hf(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class pf extends He{constructor(t){super(t),this.removeGroupControls=Q,this.removeListeners=Q,this.controls=new ff(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Q}unmount(){this.removeGroupControls(),this.removeListeners()}}const wo=e=>(t,n)=>{e&&O.postRender(()=>e(t,n))};class mf extends He{constructor(){super(...arguments),this.removePointerDownListener=Q}onPointerDown(t){this.session=new ro(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Vo(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:i,onPanEnd:r}=this.node.getProps();return{onSessionStart:wo(t),onStart:wo(n),onMove:i,onEnd:(s,o)=>{delete this.session,r&&O.postRender(()=>r(s,o))}}}mount(){this.removePointerDownListener=Be(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}function gf(){const e=C.useContext(jt);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:n,register:i}=e,r=C.useId();return C.useEffect(()=>i(r),[]),!t&&n?[!1,()=>n&&n(r)]:[!0]}const dn={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Fo(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Gt={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(F.test(e))e=parseFloat(e);else return e;const n=Fo(e,t.target.x),i=Fo(e,t.target.y);return`${n}% ${i}%`}},bf={correct:(e,{treeScale:t,projectionDelta:n})=>{const i=e,r=ze.parse(e);if(r.length>5)return i;const s=ze.createTransformer(e),o=typeof r[0]!="number"?1:0,u=n.x.scale*t.x,a=n.y.scale*t.y;r[0+o]/=u,r[1+o]/=a;const l=H(u,a,.5);return typeof r[2+o]=="number"&&(r[2+o]/=l),typeof r[3+o]=="number"&&(r[3+o]/=l),s(r)}};class vf extends C.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:i,layoutId:r}=this.props,{projection:s}=t;fl(yf),s&&(n.group&&n.group.add(s),i&&i.register&&r&&i.register(s),s.root.didUpdate(),s.addEventListener("animationComplete",()=>{this.safeToRemove()}),s.setOptions({...s.options,onExitComplete:()=>this.safeToRemove()})),dn.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:i,drag:r,isPresent:s}=this.props,o=i.projection;return o&&(o.isPresent=s,r||t.layoutDependency!==n||n===void 0?o.willUpdate():this.safeToRemove(),t.isPresent!==s&&(s?o.promote():o.relegate()||O.postRender(()=>{const u=o.getStack();(!u||!u.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),On.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:i}=this.props,{projection:r}=t;r&&(r.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(r),i&&i.deregister&&i.deregister(r))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function Bo(e){const[t,n]=gf(),i=C.useContext(Hn);return A.jsx(vf,{...e,layoutGroup:i,switchLayoutGroup:C.useContext(Er),isPresent:t,safeToRemove:n})}const yf={borderRadius:{...Gt,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Gt,borderTopRightRadius:Gt,borderBottomLeftRadius:Gt,borderBottomRightRadius:Gt,boxShadow:bf},Go=["TopLeft","TopRight","BottomLeft","BottomRight"],Cf=Go.length,Mo=e=>typeof e=="string"?parseFloat(e):e,Do=e=>typeof e=="number"||F.test(e);function If(e,t,n,i,r,s){r?(e.opacity=H(0,n.opacity!==void 0?n.opacity:1,xf(i)),e.opacityExit=H(t.opacity!==void 0?t.opacity:1,0,Af(i))):s&&(e.opacity=H(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,i));for(let o=0;o<Cf;o++){const u=`border${Go[o]}Radius`;let a=No(t,u),l=No(n,u);if(a===void 0&&l===void 0)continue;a||(a=0),l||(l=0),a===0||l===0||Do(a)===Do(l)?(e[u]=Math.max(H(Mo(a),Mo(l),i),0),(Ie.test(l)||Ie.test(a))&&(e[u]+="%")):e[u]=l}(t.rotate||n.rotate)&&(e.rotate=H(t.rotate||0,n.rotate||0,i))}function No(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const xf=Lo(0,.5,Rs),Af=Lo(.5,.95,Q);function Lo(e,t,n){return i=>i<e?0:i>t?1:n(Pt(e,t,i))}function Wo(e,t){e.min=t.min,e.max=t.max}function he(e,t){Wo(e.x,t.x),Wo(e.y,t.y)}function Ro(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function Oo(e,t,n,i,r){return e-=t,e=ln(e,1/n,i),r!==void 0&&(e=ln(e,1/r,i)),e}function Sf(e,t=0,n=1,i=.5,r,s=e,o=e){if(Ie.test(t)&&(t=parseFloat(t),t=H(o.min,o.max,t/100)-o.min),typeof t!="number")return;let u=H(s.min,s.max,i);e===s&&(u-=t),e.min=Oo(e.min,t,n,u,r),e.max=Oo(e.max,t,n,u,r)}function Xo(e,t,[n,i,r],s,o){Sf(e,t[n],t[i],t[r],t.scale,s,o)}const Ef=["x","scaleX","originX"],Tf=["y","scaleY","originY"];function Zo(e,t,n,i){Xo(e.x,t,Ef,n?n.x:void 0,i?i.x:void 0),Xo(e.y,t,Tf,n?n.y:void 0,i?i.y:void 0)}function Ho(e){return e.translate===0&&e.scale===1}function ko(e){return Ho(e.x)&&Ho(e.y)}function Pf(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function zo(e,t){return Math.round(e.x.min)===Math.round(t.x.min)&&Math.round(e.x.max)===Math.round(t.x.max)&&Math.round(e.y.min)===Math.round(t.y.min)&&Math.round(e.y.max)===Math.round(t.y.max)}function jo(e){return ue(e.x)/ue(e.y)}function Yo(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class Vf{constructor(){this.members=[]}add(t){qt(this.members,t),t.scheduleRender()}remove(t){if(en(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(r=>t===r);if(n===0)return!1;let i;for(let r=n;r>=0;r--){const s=this.members[r];if(s.isPresent!==!1){i=s;break}}return i?(this.promote(i),!0):!1}promote(t,n){const i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,n&&(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);const{crossfade:r}=t.options;r===!1&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:i}=t;n.onExitComplete&&n.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 wf(e,t,n){let i="";const r=e.x.translate/t.x,s=e.y.translate/t.y,o=(n==null?void 0:n.z)||0;if((r||s||o)&&(i=`translate3d(${r}px, ${s}px, ${o}px) `),(t.x!==1||t.y!==1)&&(i+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:l,rotate:c,rotateX:d,rotateY:f,skewX:h,skewY:m}=n;l&&(i=`perspective(${l}px) ${i}`),c&&(i+=`rotate(${c}deg) `),d&&(i+=`rotateX(${d}deg) `),f&&(i+=`rotateY(${f}deg) `),h&&(i+=`skewX(${h}deg) `),m&&(i+=`skewY(${m}deg) `)}const u=e.x.scale*t.x,a=e.y.scale*t.y;return(u!==1||a!==1)&&(i+=`scale(${u}, ${a})`),i||"none"}const Ff=(e,t)=>e.depth-t.depth;class Bf{constructor(){this.children=[],this.isDirty=!1}add(t){qt(this.children,t),this.isDirty=!0}remove(t){en(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(Ff),this.isDirty=!1,this.children.forEach(t)}}function Gf(e,t){const n=ke.now(),i=({timestamp:r})=>{const s=r-n;s>=t&&(we(i),e(s-t))};return O.read(i,!0),()=>we(i)}function Mf(e){return e instanceof SVGElement&&e.tagName!=="svg"}function Df(e,t,n){const i=ee(e)?e:wt(e);return i.start(xi("",i,t,n)),i.animation}const $e={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},Mi=["","X","Y","Z"],Nf={visibility:"hidden"},Jo=1e3;let Lf=0;function Di(e,t,n,i){const{latestValues:r}=t;r[e]&&(n[e]=r[e],t.setStaticValue(e,0),i&&(i[e]=0))}function Uo(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return!1;const{visualElement:t}=e.options;return t?eo(t)?!0:e.parent&&!e.parent.hasCheckedOptimisedAppear?Uo(e.parent):!1:!1}function _o({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:i,resetTransform:r}){return class{constructor(o={},u=t==null?void 0:t()){this.id=Lf++,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,window.MotionDebug&&($e.totalNodes=$e.resolvedTargetDeltas=$e.recalculatedProjection=0),this.nodes.forEach(Of),this.nodes.forEach(zf),this.nodes.forEach(jf),this.nodes.forEach(Xf),window.MotionDebug&&window.MotionDebug.record($e)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=o,this.root=u?u.root||u:this,this.path=u?[...u.path,u]:[],this.parent=u,this.depth=u?u.depth+1:0;for(let a=0;a<this.path.length;a++)this.path[a].shouldResetTransform=!0;this.root===this&&(this.nodes=new Bf)}addEventListener(o,u){return this.eventHandlers.has(o)||this.eventHandlers.set(o,new Ai),this.eventHandlers.get(o).add(u)}notifyListeners(o,...u){const a=this.eventHandlers.get(o);a&&a.notify(...u)}hasListeners(o){return this.eventHandlers.has(o)}mount(o,u=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=Mf(o),this.instance=o;const{layoutId:a,layout:l,visualElement:c}=this.options;if(c&&!c.current&&c.mount(o),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),u&&(l||a)&&(this.isLayoutDirty=!0),e){let d;const f=()=>this.root.updateBlockedByResize=!1;e(o,()=>{this.root.updateBlockedByResize=!0,d&&d(),d=Gf(f,250),dn.hasAnimatedSinceResize&&(dn.hasAnimatedSinceResize=!1,this.nodes.forEach($o))})}a&&this.root.registerSharedNode(a,this),this.options.animate!==!1&&c&&(a||l)&&this.addEventListener("didUpdate",({delta:d,hasLayoutChanged:f,hasRelativeTargetChanged:h,layout:m})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const p=this.options.transition||c.getDefaultTransition()||Qf,{onLayoutAnimationStart:g,onLayoutAnimationComplete:b}=c.getProps(),I=!this.targetLayout||!zo(this.targetLayout,m)||h,v=!f&&h;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||v||f&&(I||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(d,v);const x={...ii(p,"layout"),onPlay:g,onComplete:b};(c.shouldReduceMotion||this.options.layoutRoot)&&(x.delay=0,x.type=!1),this.startAnimation(x)}else f||$o(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=m})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const o=this.getStack();o&&o.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,we(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(Yf),this.animationId++)}getTransformTemplate(){const{visualElement:o}=this.options;return o&&o.getProps().transformTemplate}willUpdate(o=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.HandoffCancelAllAnimations&&Uo(this)&&window.HandoffCancelAllAnimations(),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let c=0;c<this.path.length;c++){const d=this.path[c];d.shouldResetTransform=!0,d.updateScroll("snapshot"),d.options.layoutRoot&&d.willUpdate(!1)}const{layoutId:u,layout:a}=this.options;if(u===void 0&&!a)return;const l=this.getTransformTemplate();this.prevTransformTemplateValue=l?l(this.latestValues,""):void 0,this.updateSnapshot(),o&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(Qo);return}this.isUpdating||this.nodes.forEach(Hf),this.isUpdating=!1,this.nodes.forEach(kf),this.nodes.forEach(Wf),this.nodes.forEach(Rf),this.clearAllSnapshots();const u=ke.now();$.delta=Xe(0,1e3/60,u-$.timestamp),$.timestamp=u,$.isProcessing=!0,qn.update.process($),qn.preRender.process($),qn.render.process($),$.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,On.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Zf),this.sharedNodes.forEach(Jf)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,O.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){O.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 a=0;a<this.path.length;a++)this.path[a].updateScroll();const o=this.layout;this.layout=this.measure(!1),this.layoutCorrected=j(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:u}=this.options;u&&u.notify("LayoutMeasure",this.layout.layoutBox,o?o.layoutBox:void 0)}updateScroll(o="measure"){let u=!!(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===o&&(u=!1),u&&(this.scroll={animationId:this.root.animationId,phase:o,isRoot:i(this.instance),offset:n(this.instance)})}resetTransform(){if(!r)return;const o=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,u=this.projectionDelta&&!ko(this.projectionDelta),a=this.getTransformTemplate(),l=a?a(this.latestValues,""):void 0,c=l!==this.prevTransformTemplateValue;o&&(u||Qe(this.latestValues)||c)&&(r(this.instance,l),this.shouldResetTransform=!1,this.scheduleRender())}measure(o=!0){const u=this.measurePageBox();let a=this.removeElementScroll(u);return o&&(a=this.removeTransform(a)),$f(a),{animationId:this.root.animationId,measuredBox:u,layoutBox:a,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:o}=this.options;if(!o)return j();const u=o.measureViewportBox(),{scroll:a}=this.root;return a&&(je(u.x,a.offset.x),je(u.y,a.offset.y)),u}removeElementScroll(o){const u=j();he(u,o);for(let a=0;a<this.path.length;a++){const l=this.path[a],{scroll:c,options:d}=l;if(l!==this.root&&c&&d.layoutScroll){if(c.isRoot){he(u,o);const{scroll:f}=this.root;f&&(je(u.x,-f.offset.x),je(u.y,-f.offset.y))}je(u.x,c.offset.x),je(u.y,c.offset.y)}}return u}applyTransform(o,u=!1){const a=j();he(a,o);for(let l=0;l<this.path.length;l++){const c=this.path[l];!u&&c.options.layoutScroll&&c.scroll&&c!==c.root&&lt(a,{x:-c.scroll.offset.x,y:-c.scroll.offset.y}),Qe(c.latestValues)&&lt(a,c.latestValues)}return Qe(this.latestValues)&&lt(a,this.latestValues),a}removeTransform(o){const u=j();he(u,o);for(let a=0;a<this.path.length;a++){const l=this.path[a];if(!l.instance||!Qe(l.latestValues))continue;Bi(l.latestValues)&&l.updateSnapshot();const c=j(),d=l.measurePageBox();he(c,d),Zo(u,l.latestValues,l.snapshot?l.snapshot.layoutBox:void 0,c)}return Qe(this.latestValues)&&Zo(u,this.latestValues),u}setTargetDelta(o){this.targetDelta=o,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(o){this.options={...this.options,...o,crossfade:o.crossfade!==void 0?o.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==$.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(o=!1){var u;const a=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=a.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=a.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=a.isSharedProjectionDirty);const l=!!this.resumingFrom||this!==a;if(!(o||l&&this.isSharedProjectionDirty||this.isProjectionDirty||!((u=this.parent)===null||u===void 0)&&u.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:d,layoutId:f}=this.options;if(!(!this.layout||!(d||f))){if(this.resolvedRelativeTargetAt=$.timestamp,!this.targetDelta&&!this.relativeTarget){const h=this.getClosestProjectingParent();h&&h.layout&&this.animationProgress!==1?(this.relativeParent=h,this.forceRelativeParentToResolveTarget(),this.relativeTarget=j(),this.relativeTargetOrigin=j(),Bt(this.relativeTargetOrigin,this.layout.layoutBox,h.layout.layoutBox),he(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=j(),this.targetWithTransforms=j()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),qd(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):he(this.target,this.layout.layoutBox),Ao(this.target,this.targetDelta)):he(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const h=this.getClosestProjectingParent();h&&!!h.resumingFrom==!!this.resumingFrom&&!h.options.layoutScroll&&h.target&&this.animationProgress!==1?(this.relativeParent=h,this.forceRelativeParentToResolveTarget(),this.relativeTarget=j(),this.relativeTargetOrigin=j(),Bt(this.relativeTargetOrigin,this.target,h.target),he(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}window.MotionDebug&&$e.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||Bi(this.parent.latestValues)||Co(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var o;const u=this.getLead(),a=!!this.resumingFrom||this!==u;let l=!0;if((this.isProjectionDirty||!((o=this.parent)===null||o===void 0)&&o.isProjectionDirty)&&(l=!1),a&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(l=!1),this.resolvedRelativeTargetAt===$.timestamp&&(l=!1),l)return;const{layout:c,layoutId:d}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(c||d))return;he(this.layoutCorrected,this.layout.layoutBox);const f=this.treeScale.x,h=this.treeScale.y;lf(this.layoutCorrected,this.treeScale,this.path,a),u.layout&&!u.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(u.target=u.layout.layoutBox,u.targetWithTransforms=j());const{target:m}=u;if(!m){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Ro(this.prevProjectionDelta.x,this.projectionDelta.x),Ro(this.prevProjectionDelta.y,this.projectionDelta.y)),Ft(this.projectionDelta,this.layoutCorrected,m,this.latestValues),(this.treeScale.x!==f||this.treeScale.y!==h||!Yo(this.projectionDelta.x,this.prevProjectionDelta.x)||!Yo(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",m)),window.MotionDebug&&$e.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(o=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),o){const u=this.getStack();u&&u.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=ut(),this.projectionDelta=ut(),this.projectionDeltaWithTransform=ut()}setAnimationOrigin(o,u=!1){const a=this.snapshot,l=a?a.latestValues:{},c={...this.latestValues},d=ut();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!u;const f=j(),h=a?a.source:void 0,m=this.layout?this.layout.source:void 0,p=h!==m,g=this.getStack(),b=!g||g.members.length<=1,I=!!(p&&!b&&this.options.crossfade===!0&&!this.path.some(_f));this.animationProgress=0;let v;this.mixTargetDelta=x=>{const y=x/1e3;Ko(d.x,o.x,y),Ko(d.y,o.y,y),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Bt(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Uf(this.relativeTarget,this.relativeTargetOrigin,f,y),v&&Pf(this.relativeTarget,v)&&(this.isProjectionDirty=!1),v||(v=j()),he(v,this.relativeTarget)),p&&(this.animationValues=c,If(c,l,this.latestValues,y,I,b)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=y},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(o){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(we(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=O.update(()=>{dn.hasAnimatedSinceResize=!0,this.currentAnimation=Df(0,Jo,{...o,onUpdate:u=>{this.mixTargetDelta(u),o.onUpdate&&o.onUpdate(u)},onComplete:()=>{o.onComplete&&o.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const o=this.getStack();o&&o.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Jo),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const o=this.getLead();let{targetWithTransforms:u,target:a,layout:l,latestValues:c}=o;if(!(!u||!a||!l)){if(this!==o&&this.layout&&l&&ia(this.options.animationType,this.layout.layoutBox,l.layoutBox)){a=this.target||j();const d=ue(this.layout.layoutBox.x);a.x.min=o.target.x.min,a.x.max=a.x.min+d;const f=ue(this.layout.layoutBox.y);a.y.min=o.target.y.min,a.y.max=a.y.min+f}he(u,a),lt(u,c),Ft(this.projectionDeltaWithTransform,this.layoutCorrected,u,c)}}registerSharedNode(o,u){this.sharedNodes.has(o)||this.sharedNodes.set(o,new Vf),this.sharedNodes.get(o).add(u);const l=u.options.initialPromotionConfig;u.promote({transition:l?l.transition:void 0,preserveFollowOpacity:l&&l.shouldPreserveFollowOpacity?l.shouldPreserveFollowOpacity(u):void 0})}isLead(){const o=this.getStack();return o?o.lead===this:!0}getLead(){var o;const{layoutId:u}=this.options;return u?((o=this.getStack())===null||o===void 0?void 0:o.lead)||this:this}getPrevLead(){var o;const{layoutId:u}=this.options;return u?(o=this.getStack())===null||o===void 0?void 0:o.prevLead:void 0}getStack(){const{layoutId:o}=this.options;if(o)return this.root.sharedNodes.get(o)}promote({needsReset:o,transition:u,preserveFollowOpacity:a}={}){const l=this.getStack();l&&l.promote(this,a),o&&(this.projectionDelta=void 0,this.needsReset=!0),u&&this.setOptions({transition:u})}relegate(){const o=this.getStack();return o?o.relegate(this):!1}resetSkewAndRotation(){const{visualElement:o}=this.options;if(!o)return;let u=!1;const{latestValues:a}=o;if((a.z||a.rotate||a.rotateX||a.rotateY||a.rotateZ||a.skewX||a.skewY)&&(u=!0),!u)return;const l={};a.z&&Di("z",o,l,this.animationValues);for(let c=0;c<Mi.length;c++)Di(`rotate${Mi[c]}`,o,l,this.animationValues),Di(`skew${Mi[c]}`,o,l,this.animationValues);o.render();for(const c in l)o.setStaticValue(c,l[c]),this.animationValues&&(this.animationValues[c]=l[c]);o.scheduleRender()}getProjectionStyles(o){var u,a;if(!this.instance||this.isSVG)return;if(!this.isVisible)return Nf;const l={visibility:""},c=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,l.opacity="",l.pointerEvents=Kt(o==null?void 0:o.pointerEvents)||"",l.transform=c?c(this.latestValues,""):"none",l;const d=this.getLead();if(!this.projectionDelta||!this.layout||!d.target){const p={};return this.options.layoutId&&(p.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,p.pointerEvents=Kt(o==null?void 0:o.pointerEvents)||""),this.hasProjected&&!Qe(this.latestValues)&&(p.transform=c?c({},""):"none",this.hasProjected=!1),p}const f=d.animationValues||d.latestValues;this.applyTransformsToTarget(),l.transform=wf(this.projectionDeltaWithTransform,this.treeScale,f),c&&(l.transform=c(f,l.transform));const{x:h,y:m}=this.projectionDelta;l.transformOrigin=`${h.origin*100}% ${m.origin*100}% 0`,d.animationValues?l.opacity=d===this?(a=(u=f.opacity)!==null&&u!==void 0?u:this.latestValues.opacity)!==null&&a!==void 0?a:1:this.preserveOpacity?this.latestValues.opacity:f.opacityExit:l.opacity=d===this?f.opacity!==void 0?f.opacity:"":f.opacityExit!==void 0?f.opacityExit:0;for(const p in _t){if(f[p]===void 0)continue;const{correct:g,applyTo:b}=_t[p],I=l.transform==="none"?f[p]:g(f[p],d);if(b){const v=b.length;for(let x=0;x<v;x++)l[b[x]]=I}else l[p]=I}return this.options.layoutId&&(l.pointerEvents=d===this?Kt(o==null?void 0:o.pointerEvents)||"":"none"),l}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(o=>{var u;return(u=o.currentAnimation)===null||u===void 0?void 0:u.stop()}),this.root.nodes.forEach(Qo),this.root.sharedNodes.clear()}}}function Wf(e){e.updateLayout()}function Rf(e){var t;const n=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:i,measuredBox:r}=e.layout,{animationType:s}=e.options,o=n.source!==e.layout.source;s==="size"?fe(d=>{const f=o?n.measuredBox[d]:n.layoutBox[d],h=ue(f);f.min=i[d].min,f.max=f.min+h}):ia(s,n.layoutBox,i)&&fe(d=>{const f=o?n.measuredBox[d]:n.layoutBox[d],h=ue(i[d]);f.max=f.min+h,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[d].max=e.relativeTarget[d].min+h)});const u=ut();Ft(u,i,n.layoutBox);const a=ut();o?Ft(a,e.applyTransform(r,!0),n.measuredBox):Ft(a,i,n.layoutBox);const l=!ko(u);let c=!1;if(!e.resumeFrom){const d=e.getClosestProjectingParent();if(d&&!d.resumeFrom){const{snapshot:f,layout:h}=d;if(f&&h){const m=j();Bt(m,n.layoutBox,f.layoutBox);const p=j();Bt(p,i,h.layoutBox),zo(m,p)||(c=!0),d.options.layoutRoot&&(e.relativeTarget=p,e.relativeTargetOrigin=m,e.relativeParent=d)}}}e.notifyListeners("didUpdate",{layout:i,snapshot:n,delta:a,layoutDelta:u,hasLayoutChanged:l,hasRelativeTargetChanged:c})}else if(e.isLead()){const{onExitComplete:i}=e.options;i&&i()}e.options.transition=void 0}function Of(e){window.MotionDebug&&$e.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function Xf(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Zf(e){e.clearSnapshot()}function Qo(e){e.clearMeasurements()}function Hf(e){e.isLayoutDirty=!1}function kf(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function $o(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function zf(e){e.resolveTargetDelta()}function jf(e){e.calcProjection()}function Yf(e){e.resetSkewAndRotation()}function Jf(e){e.removeLeadSnapshot()}function Ko(e,t,n){e.translate=H(t.translate,0,n),e.scale=H(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function qo(e,t,n,i){e.min=H(t.min,n.min,i),e.max=H(t.max,n.max,i)}function Uf(e,t,n,i){qo(e.x,t.x,n.x,i),qo(e.y,t.y,n.y,i)}function _f(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const Qf={duration:.45,ease:[.4,0,.1,1]},ea=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),ta=ea("applewebkit/")&&!ea("chrome/")?Math.round:Q;function na(e){e.min=ta(e.min),e.max=ta(e.max)}function $f(e){na(e.x),na(e.y)}function ia(e,t,n){return e==="position"||e==="preserve-aspect"&&!Kd(jo(t),jo(n),.2)}const Kf=_o({attachResizeListener:(e,t)=>Fe(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Ni={current:void 0},ra=_o({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Ni.current){const e=new Kf({});e.mount(window),e.setOptions({layoutScroll:!0}),Ni.current=e}return Ni.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),qf={pan:{Feature:mf},drag:{Feature:pf,ProjectionNode:ra,MeasureLayout:Bo}},Li={current:null},sa={current:!1};function eh(){if(sa.current=!0,!!Wn)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Li.current=e.matches;e.addListener(t),t()}else Li.current=!1}function th(e,t,n){for(const i in t){const r=t[i],s=n[i];if(ee(r))e.addValue(i,r),process.env.NODE_ENV==="development"&&Si(r.version==="11.3.8",`Attempting to mix Framer Motion versions ${r.version} with 11.3.8 may not work as expected.`);else if(ee(s))e.addValue(i,wt(r,{owner:e}));else if(s!==r)if(e.hasValue(i)){const o=e.getValue(i);o.liveStyle===!0?o.jump(r):o.hasAnimated||o.set(r)}else{const o=e.getStaticValue(i);e.addValue(i,wt(o!==void 0?o:r,{owner:e}))}}for(const i in n)t[i]===void 0&&e.removeValue(i);return t}const oa=new WeakMap,nh=[...hs,te,ze],ih=e=>nh.find(fs(e)),aa=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],rh=Zn.length;class sh{scrapeMotionValuesFromProps(t,n,i){return{}}constructor({parent:t,props:n,presenceContext:i,reducedMotionConfig:r,blockInitialAnimation:s,visualState:o},u={}){this.applyWillChange=!1,this.resolveKeyframes=(f,h,m,p)=>new this.KeyframeResolver(f,h,m,p,this),this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=oi,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.isRenderScheduled=!1,this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.isRenderScheduled=!1,this.scheduleRender=()=>{this.isRenderScheduled||(this.isRenderScheduled=!0,O.render(this.render,!1,!0))};const{latestValues:a,renderState:l}=o;this.latestValues=a,this.baseTarget={...a},this.initialValues=n.initial?{...a}:{},this.renderState=l,this.parent=t,this.props=n,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=r,this.options=u,this.blockInitialAnimation=!!s,this.isControllingVariants=Ut(n),this.isVariantNode=Vr(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:c,...d}=this.scrapeMotionValuesFromProps(n,{},this);for(const f in d){const h=d[f];a[f]!==void 0&&ee(h)&&h.set(a[f],!1)}}mount(t){this.current=t,oa.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,i)=>this.bindToMotionValue(i,n)),sa.current||eh(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Li.current,process.env.NODE_ENV!=="production"&&Si(this.shouldReduceMotion!==!0,"You have Reduced Motion enabled on your device. Animations may not appear as expected."),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){oa.delete(this.current),this.projection&&this.projection.unmount(),we(this.notifyUpdate),we(this.render),this.valueSubscriptions.forEach(t=>t()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const n=this.features[t];n&&(n.unmount(),n.isMounted=!1)}this.current=null}bindToMotionValue(t,n){const i=Oe.has(t),r=n.on("change",o=>{this.latestValues[t]=o,this.props.onUpdate&&O.preRender(this.notifyUpdate),i&&this.projection&&(this.projection.isTransformDirty=!0)}),s=n.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{r(),s(),n.owner&&n.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in it){const n=it[t];if(!n)continue;const{isEnabled:i,Feature:r}=n;if(!this.features[t]&&r&&i(this.props)&&(this.features[t]=new r(this)),this.features[t]){const s=this.features[t];s.isMounted?s.update():(s.mount(),s.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):j()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let i=0;i<aa.length;i++){const r=aa[i];this.propEventSubscriptions[r]&&(this.propEventSubscriptions[r](),delete this.propEventSubscriptions[r]);const s="on"+r,o=t[s];o&&(this.propEventSubscriptions[r]=this.on(r,o))}this.prevMotionValues=th(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){const i=this.parent?this.parent.getVariantContext()||{}:{};return this.props.initial!==void 0&&(i.initial=this.props.initial),i}const n={};for(let i=0;i<rh;i++){const r=Zn[i],s=this.props[r];(vt(s)||s===!1)&&(n[r]=s)}return n}addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){const i=this.values.get(t);n!==i&&(i&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return i===void 0&&n!==void 0&&(i=wt(n===null?void 0:n,{owner:this}),this.addValue(t,i)),i}readValue(t,n){var i;let r=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(i=this.getBaseTargetFromProps(this.props,t))!==null&&i!==void 0?i:this.readValueFromInstance(this.current,t,this.options);return r!=null&&(typeof r=="string"&&(as(r)||os(r))?r=parseFloat(r):!ih(r)&&ze.test(n)&&(r=As(t,n)),this.setBaseTarget(t,ee(r)?r.get():r)),ee(r)?r.get():r}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var n;const{initial:i}=this.props;let r;if(typeof i=="string"||typeof i=="object"){const o=$n(this.props,i,(n=this.presenceContext)===null||n===void 0?void 0:n.custom);o&&(r=o[t])}if(i&&r!==void 0)return r;const s=this.getBaseTargetFromProps(this.props,t);return s!==void 0&&!ee(s)?s:this.initialValues[t]!==void 0&&r===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new Ai),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class ua extends sh{constructor(){super(...arguments),this.KeyframeResolver=Ss}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:i}){delete n[t],delete i[t]}}function oh(e){return window.getComputedStyle(e)}class ah extends ua{constructor(){super(...arguments),this.type="html",this.applyWillChange=!0,this.renderInstance=Zr}readValueFromInstance(t,n){if(Oe.has(n)){const i=di(n);return i&&i.default||0}else{const i=oh(t),r=(Mr(n)?i.getPropertyValue(n):i[n])||0;return typeof r=="string"?r.trim():r}}measureInstanceViewportBox(t,{transformPagePoint:n}){return Po(t,n)}build(t,n,i){Yn(t,n,i.transformTemplate)}scrapeMotionValuesFromProps(t,n,i){return Qn(t,n,i)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;ee(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}class uh extends ua{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=j}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(Oe.has(n)){const i=di(n);return i&&i.default||0}return n=Hr.has(n)?n:Yt(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,i){return zr(t,n,i)}build(t,n,i){Un(t,n,this.isSVGTag,i.transformTemplate)}renderInstance(t,n,i,r){kr(t,n,i,r)}mount(t){this.isSVGTag=_n(t.tagName),super.mount(t)}}const lh=(e,t)=>kn(e)?new uh(t):new ah(t,{allowProjection:e!==C.Fragment}),ch={...zd,...nc,...qf,...{layout:{ProjectionNode:ra,MeasureLayout:Bo}}},Mt=cl((e,t)=>kl(e,t,ch,lh));function la(){const e=C.useRef(!1);return Rn(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function dh(){const e=la(),[t,n]=C.useState(0),i=C.useCallback(()=>{e.current&&n(t+1)},[t]);return[C.useCallback(()=>O.postRender(i),[i]),t]}class fh extends G.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent){const i=this.props.sizeRef.current;i.height=n.offsetHeight||0,i.width=n.offsetWidth||0,i.top=n.offsetTop,i.left=n.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function hh({children:e,isPresent:t}){const n=C.useId(),i=C.useRef(null),r=C.useRef({width:0,height:0,top:0,left:0}),{nonce:s}=C.useContext(Ln);return C.useInsertionEffect(()=>{const{width:o,height:u,top:a,left:l}=r.current;if(t||!i.current||!o||!u)return;i.current.dataset.motionPopId=n;const c=document.createElement("style");return s&&(c.nonce=s),document.head.appendChild(c),c.sheet&&c.sheet.insertRule(`
5
+ */(function(t){(function(){var e={}.hasOwnProperty;function n(){for(var s="",o=0;o<arguments.length;o++){var u=arguments[o];u&&(s=r(s,i(u)))}return s}function i(s){if(typeof s=="string"||typeof s=="number")return s;if(typeof s!="object")return"";if(Array.isArray(s))return n.apply(null,s);if(s.toString!==Object.prototype.toString&&!s.toString.toString().includes("[native code]"))return s.toString();var o="";for(var u in s)e.call(s,u)&&s[u]&&(o=r(o,u));return o}function r(s,o){return o?s?s+" "+o:s+o:s}t.exports?(n.default=n,t.exports=n):window.classNames=n})()})(or);var Pu=or.exports;const wn=Su(Pu);var ar={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},ur=C.createContext&&C.createContext(ar),Eu=["attr","size","title"];function Tu(t,e){if(t==null)return{};var n=Vu(t,e),i,r;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);for(r=0;r<s.length;r++)i=s[r],!(e.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(t,i)&&(n[i]=t[i])}return n}function Vu(t,e){if(t==null)return{};var n={};for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i)){if(e.indexOf(i)>=0)continue;n[i]=t[i]}return n}function Rt(){return Rt=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},Rt.apply(this,arguments)}function lr(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,i)}return n}function Nt(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?lr(Object(n),!0).forEach(function(i){wu(t,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):lr(Object(n)).forEach(function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(n,i))})}return t}function wu(t,e,n){return e=Fu(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Fu(t){var e=Bu(t,"string");return typeof e=="symbol"?e:e+""}function Bu(t,e){if(typeof t!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var i=n.call(t,e||"default");if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function cr(t){return t&&t.map((e,n)=>C.createElement(e.tag,Nt({key:n},e.attr),cr(e.child)))}function Gu(t){return e=>C.createElement(Mu,Rt({attr:Nt({},t.attr)},e),cr(t.child))}function Mu(t){var e=n=>{var{attr:i,size:r,title:s}=t,o=Tu(t,Eu),u=r||n.size||"1em",a;return n.className&&(a=n.className),t.className&&(a=(a?a+" ":"")+t.className),C.createElement("svg",Rt({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},n.attr,i,o,{className:a,style:Nt(Nt({color:t.color||n.color},n.style),t.style),height:u,width:u,xmlns:"http://www.w3.org/2000/svg"}),s&&C.createElement("title",null,s),t.children)};return ur!==void 0?C.createElement(ur.Consumer,null,n=>e(n)):e(ar)}function Du(t){return Gu({tag:"svg",attr:{viewBox:"0 0 352 512"},child:[{tag:"path",attr:{d:"M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"},child:[]}]})(t)}function Ru(t){const{children:e}=t,[n,i]=C.useState(!1);C.useEffect(()=>{i(!0)},[]);const r=document.getElementById("biznext-ui-modal-portal");return n&&r?Vn.createPortal(e,r):Vn.createPortal(e,document.body)}const Fn=C.createContext({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"}),Lt=C.createContext({}),Wt=C.createContext(null),Bn=typeof document<"u",Gn=Bn?C.useLayoutEffect:C.useEffect,dr=C.createContext({strict:!1}),Ot=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),fr="data-"+Ot("framerAppearId"),Nu={skipAnimations:!1,useManualTiming:!1};function Lu(t){let e=new Set,n=new Set,i=!1,r=!1;const s=new WeakSet;let o={delta:0,timestamp:0,isProcessing:!1};function u(l){s.has(l)&&(a.schedule(l),t()),l(o)}const a={schedule:(l,c=!1,d=!1)=>{const h=d&&i?e:n;return c&&s.add(l),h.has(l)||h.add(l),l},cancel:l=>{n.delete(l),s.delete(l)},process:l=>{if(o=l,i){r=!0;return}i=!0,[e,n]=[n,e],n.clear(),e.forEach(u),i=!1,r&&(r=!1,a.process(l))}};return a}const Xt=["read","resolveKeyframes","update","preRender","render","postRender"],Wu=40;function hr(t,e){let n=!1,i=!0;const r={delta:0,timestamp:0,isProcessing:!1},s=()=>n=!0,o=Xt.reduce((b,I)=>(b[I]=Lu(s),b),{}),{read:u,resolveKeyframes:a,update:l,preRender:c,render:d,postRender:f}=o,h=()=>{const b=performance.now();n=!1,r.delta=i?1e3/60:Math.max(Math.min(b-r.timestamp,Wu),1),r.timestamp=b,r.isProcessing=!0,u.process(r),a.process(r),l.process(r),c.process(r),d.process(r),f.process(r),r.isProcessing=!1,n&&e&&(i=!1,t(h))},m=()=>{n=!0,i=!0,r.isProcessing||t(h)};return{schedule:Xt.reduce((b,I)=>{const v=o[I];return b[I]=(x,y=!1,S=!1)=>(n||m(),v.schedule(x,y,S)),b},{}),cancel:b=>{for(let I=0;I<Xt.length;I++)o[Xt[I]].cancel(b)},state:r,steps:o}}const{schedule:Mn,cancel:Tb}=hr(queueMicrotask,!1);function Qe(t){return t&&typeof t=="object"&&Object.prototype.hasOwnProperty.call(t,"current")}const pr=C.createContext({});let mr=!1;function Ou(t,e,n,i,r){const{visualElement:s}=C.useContext(Lt),o=C.useContext(dr),u=C.useContext(Wt),a=C.useContext(Fn).reducedMotion,l=C.useRef();i=i||o.renderer,!l.current&&i&&(l.current=i(t,{visualState:e,parent:s,props:n,presenceContext:u,blockInitialAnimation:u?u.initial===!1:!1,reducedMotionConfig:a}));const c=l.current,d=C.useContext(pr);c&&!c.projection&&r&&(c.type==="html"||c.type==="svg")&&Zu(l.current,n,r,d),C.useInsertionEffect(()=>{c&&c.update(n,u)});const f=C.useRef(!!(n[fr]&&!window.HandoffComplete));return Gn(()=>{c&&(c.updateFeatures(),Mn.render(c.render),f.current&&c.animationState&&c.animationState.animateChanges())}),C.useEffect(()=>{c&&(!f.current&&c.animationState&&c.animationState.animateChanges(),f.current&&(f.current=!1,mr||(mr=!0,queueMicrotask(Xu))))}),c}function Xu(){window.HandoffComplete=!0}function Zu(t,e,n,i){const{layoutId:r,layout:s,drag:o,dragConstraints:u,layoutScroll:a,layoutRoot:l}=e;t.projection=new n(t.latestValues,e["data-framer-portal-id"]?void 0:gr(t.parent)),t.projection.setOptions({layoutId:r,layout:s,alwaysMeasureLayout:!!o||u&&Qe(u),visualElement:t,scheduleRender:()=>t.scheduleRender(),animationType:typeof s=="string"?s:"both",initialPromotionConfig:i,layoutScroll:a,layoutRoot:l})}function gr(t){if(t)return t.options.allowProjection!==!1?t.projection:gr(t.parent)}function Hu(t,e,n){return C.useCallback(i=>{i&&t.mount&&t.mount(i),e&&(i?e.mount(i):e.unmount()),n&&(typeof n=="function"?n(i):Qe(n)&&(n.current=i))},[e])}function ft(t){return typeof t=="string"||Array.isArray(t)}function ht(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}const Dn=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Rn=["initial",...Dn];function Zt(t){return ht(t.animate)||Rn.some(e=>ft(t[e]))}function br(t){return!!(Zt(t)||t.variants)}function ku(t,e){if(Zt(t)){const{initial:n,animate:i}=t;return{initial:n===!1||ft(n)?n:void 0,animate:ft(i)?i:void 0}}return t.inherit!==!1?e:{}}function zu(t){const{initial:e,animate:n}=ku(t,C.useContext(Lt));return C.useMemo(()=>({initial:e,animate:n}),[vr(e),vr(n)])}function vr(t){return Array.isArray(t)?t.join(" "):t}const yr={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"]},$e={};for(const t in yr)$e[t]={isEnabled:e=>yr[t].some(n=>!!e[n])};function ju(t){for(const e in t)$e[e]={...$e[e],...t[e]}}const Nn=C.createContext({}),Yu=Symbol.for("motionComponentSymbol"),Q=t=>t;let Ke=Q,Pe=Q;process.env.NODE_ENV!=="production"&&(Ke=(t,e)=>{!t&&typeof console<"u"&&console.warn(e)},Pe=(t,e)=>{if(!t)throw new Error(e)});function Ju({preloadedFeatures:t,createVisualElement:e,useRender:n,useVisualState:i,Component:r}){t&&ju(t);function s(u,a){let l;const c={...C.useContext(Fn),...u,layoutId:Uu(u)},{isStatic:d}=c,f=zu(u),h=i(u,d);if(!d&&Bn){_u(c,t);const m=Qu(c);l=m.MeasureLayout,f.visualElement=Ou(r,h,c,e,m.ProjectionNode)}return B.jsxs(Lt.Provider,{value:f,children:[l&&f.visualElement?B.jsx(l,{visualElement:f.visualElement,...c}):null,n(r,u,Hu(h,f.visualElement,a),h,d,f.visualElement)]})}const o=C.forwardRef(s);return o[Yu]=r,o}function Uu({layoutId:t}){const e=C.useContext(Nn).id;return e&&t!==void 0?e+"-"+t:t}function _u(t,e){const n=C.useContext(dr).strict;if(process.env.NODE_ENV!=="production"&&e&&n){const i="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";t.ignoreStrict?Ke(!1,i):Pe(!1,i)}}function Qu(t){const{drag:e,layout:n}=$e;if(!e&&!n)return{};const i={...e,...n};return{MeasureLayout:e!=null&&e.isEnabled(t)||n!=null&&n.isEnabled(t)?i.MeasureLayout:void 0,ProjectionNode:i.ProjectionNode}}function $u(t){function e(i,r={}){return Ju(t(i,r))}if(typeof Proxy>"u")return e;const n=new Map;return new Proxy(e,{get:(i,r)=>(n.has(r)||n.set(r,e(r)),n.get(r))})}const Ku=["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 Ln(t){return typeof t!="string"||t.includes("-")?!1:!!(Ku.indexOf(t)>-1||/[A-Z]/u.test(t))}const Ht={};function qu(t){Object.assign(Ht,t)}const pt=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Re=new Set(pt);function Ir(t,{layout:e,layoutId:n}){return Re.has(t)||t.startsWith("origin")||(e||n!==void 0)&&(!!Ht[t]||t==="opacity")}const q=t=>!!(t&&t.getVelocity),el={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},tl=pt.length;function nl(t,e,n){let i="";for(let r=0;r<tl;r++){const s=pt[r];if(t[s]!==void 0){const o=el[s]||s;i+=`${o}(${t[s]}) `}}return i=i.trim(),n?i=n(t,e?"":i):e&&(i="none"),i}const Cr=t=>e=>typeof e=="string"&&e.startsWith(t),xr=Cr("--"),il=Cr("var(--"),Wn=t=>il(t)?rl.test(t.split("/*")[0].trim()):!1,rl=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,sl=(t,e)=>e&&typeof t=="number"?e.transform(t):t,Ne=(t,e,n)=>n>e?e:n<t?t:n,qe={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},mt={...qe,transform:t=>Ne(0,1,t)},kt={...qe,default:1},gt=t=>Math.round(t*1e5)/1e5,On=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,ol=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,al=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;function bt(t){return typeof t=="string"}function ul(t){return t==null}const vt=t=>({test:e=>bt(e)&&e.endsWith(t)&&e.split(" ").length===1,parse:parseFloat,transform:e=>`${e}${t}`}),Le=vt("deg"),ve=vt("%"),w=vt("px"),ll=vt("vh"),cl=vt("vw"),Ar={...ve,parse:t=>ve.parse(t)/100,transform:t=>ve.transform(t*100)},Sr={...qe,transform:Math.round},Pr={borderWidth:w,borderTopWidth:w,borderRightWidth:w,borderBottomWidth:w,borderLeftWidth:w,borderRadius:w,radius:w,borderTopLeftRadius:w,borderTopRightRadius:w,borderBottomRightRadius:w,borderBottomLeftRadius:w,width:w,maxWidth:w,height:w,maxHeight:w,size:w,top:w,right:w,bottom:w,left:w,padding:w,paddingTop:w,paddingRight:w,paddingBottom:w,paddingLeft:w,margin:w,marginTop:w,marginRight:w,marginBottom:w,marginLeft:w,rotate:Le,rotateX:Le,rotateY:Le,rotateZ:Le,scale:kt,scaleX:kt,scaleY:kt,scaleZ:kt,skew:Le,skewX:Le,skewY:Le,distance:w,translateX:w,translateY:w,translateZ:w,x:w,y:w,z:w,perspective:w,transformPerspective:w,opacity:mt,originX:Ar,originY:Ar,originZ:w,zIndex:Sr,backgroundPositionX:w,backgroundPositionY:w,fillOpacity:mt,strokeOpacity:mt,numOctaves:Sr};function Xn(t,e,n){const{style:i,vars:r,transform:s,transformOrigin:o}=t;let u=!1,a=!1,l=!0;for(const c in e){const d=e[c];if(xr(c)){r[c]=d;continue}const f=Pr[c],h=sl(d,f);if(Re.has(c)){if(u=!0,s[c]=h,!l)continue;d!==(f.default||0)&&(l=!1)}else c.startsWith("origin")?(a=!0,o[c]=h):i[c]=h}if(e.transform||(u||n?i.transform=nl(t.transform,l,n):i.transform&&(i.transform="none")),a){const{originX:c="50%",originY:d="50%",originZ:f=0}=o;i.transformOrigin=`${c} ${d} ${f}`}}const Zn=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Er(t,e,n){for(const i in e)!q(e[i])&&!Ir(i,n)&&(t[i]=e[i])}function dl({transformTemplate:t},e){return C.useMemo(()=>{const n=Zn();return Xn(n,e,t),Object.assign({},n.vars,n.style)},[e])}function fl(t,e){const n=t.style||{},i={};return Er(i,n,t),Object.assign(i,dl(t,e)),i}function hl(t,e){const n={},i=fl(t,e);return t.drag&&t.dragListener!==!1&&(n.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=t.drag===!0?"none":`pan-${t.drag==="x"?"y":"x"}`),t.tabIndex===void 0&&(t.onTap||t.onTapStart||t.whileTap)&&(n.tabIndex=0),n.style=i,n}const pl=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 zt(t){return t.startsWith("while")||t.startsWith("drag")&&t!=="draggable"||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||pl.has(t)}let Tr=t=>!zt(t);function ml(t){t&&(Tr=e=>e.startsWith("on")?!zt(e):t(e))}try{ml(require("@emotion/is-prop-valid").default)}catch{}function gl(t,e,n){const i={};for(const r in t)r==="values"&&typeof t.values=="object"||(Tr(r)||n===!0&&zt(r)||!e&&!zt(r)||t.draggable&&r.startsWith("onDrag"))&&(i[r]=t[r]);return i}function Vr(t,e,n){return typeof t=="string"?t:w.transform(e+n*t)}function bl(t,e,n){const i=Vr(e,t.x,t.width),r=Vr(n,t.y,t.height);return`${i} ${r}`}const vl={offset:"stroke-dashoffset",array:"stroke-dasharray"},yl={offset:"strokeDashoffset",array:"strokeDasharray"};function Il(t,e,n=1,i=0,r=!0){t.pathLength=1;const s=r?vl:yl;t[s.offset]=w.transform(-i);const o=w.transform(e),u=w.transform(n);t[s.array]=`${o} ${u}`}function Hn(t,{attrX:e,attrY:n,attrScale:i,originX:r,originY:s,pathLength:o,pathSpacing:u=1,pathOffset:a=0,...l},c,d){if(Xn(t,l,d),c){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};const{attrs:f,style:h,dimensions:m}=t;f.transform&&(m&&(h.transform=f.transform),delete f.transform),m&&(r!==void 0||s!==void 0||h.transform)&&(h.transformOrigin=bl(m,r!==void 0?r:.5,s!==void 0?s:.5)),e!==void 0&&(f.x=e),n!==void 0&&(f.y=n),i!==void 0&&(f.scale=i),o!==void 0&&Il(f,o,u,a,!1)}const wr=()=>({...Zn(),attrs:{}}),kn=t=>typeof t=="string"&&t.toLowerCase()==="svg";function Cl(t,e,n,i){const r=C.useMemo(()=>{const s=wr();return Hn(s,e,kn(i),t.transformTemplate),{...s.attrs,style:{...s.style}}},[e]);if(t.style){const s={};Er(s,t.style,t),r.style={...s,...r.style}}return r}function xl(t=!1){return(n,i,r,{latestValues:s},o)=>{const a=(Ln(n)?Cl:hl)(i,s,o,n),l=gl(i,typeof n=="string",t),c=n!==C.Fragment?{...l,...a,ref:r}:{},{children:d}=i,f=C.useMemo(()=>q(d)?d.get():d,[d]);return C.createElement(n,{...c,children:f})}}function Fr(t,{style:e,vars:n},i,r){Object.assign(t.style,e,r&&r.getProjectionStyles(i));for(const s in n)t.style.setProperty(s,n[s])}const Br=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 Gr(t,e,n,i){Fr(t,e,void 0,i);for(const r in e.attrs)t.setAttribute(Br.has(r)?r:Ot(r),e.attrs[r])}function zn(t,e,n){var i;const{style:r}=t,s={};for(const o in r)(q(r[o])||e.style&&q(e.style[o])||Ir(o,t)||((i=n==null?void 0:n.getValue(o))===null||i===void 0?void 0:i.liveStyle)!==void 0)&&(s[o]=r[o]);return n&&r&&typeof r.willChange=="string"&&(n.applyWillChange=!1),s}function Mr(t,e,n){const i=zn(t,e,n);for(const r in t)if(q(t[r])||q(e[r])){const s=pt.indexOf(r)!==-1?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r;i[s]=t[r]}return i}function Dr(t){const e=[{},{}];return t==null||t.values.forEach((n,i)=>{e[0][i]=n.get(),e[1][i]=n.getVelocity()}),e}function jn(t,e,n,i){if(typeof e=="function"){const[r,s]=Dr(i);e=e(n!==void 0?n:t.custom,r,s)}if(typeof e=="string"&&(e=t.variants&&t.variants[e]),typeof e=="function"){const[r,s]=Dr(i);e=e(n!==void 0?n:t.custom,r,s)}return e}function Rr(t){const e=C.useRef(null);return e.current===null&&(e.current=t()),e.current}const Yn=t=>Array.isArray(t),Al=t=>!!(t&&typeof t=="object"&&t.mix&&t.toValue),Sl=t=>Yn(t)?t[t.length-1]||0:t;function jt(t){const e=q(t)?t.get():t;return Al(e)?e.toValue():e}const Nr=new Set(["opacity","clipPath","filter","transform"]);function Lr(t){if(Re.has(t))return"transform";if(Nr.has(t))return Ot(t)}function Yt(t,e){t.indexOf(e)===-1&&t.push(e)}function Jt(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}function Pl({applyWillChange:t=!1,scrapeMotionValuesFromProps:e,createRenderState:n,onMount:i},r,s,o,u){const a={latestValues:Tl(r,s,o,u?!1:t,e),renderState:n()};return i&&(a.mount=l=>i(r,l,a)),a}const Wr=t=>(e,n)=>{const i=C.useContext(Lt),r=C.useContext(Wt),s=()=>Pl(t,e,i,r,n);return n?s():Rr(s)};function El(t,e){const n=Lr(e);n&&Yt(t,n)}function Or(t,e,n){const i=Array.isArray(e)?e:[e];for(let r=0;r<i.length;r++){const s=jn(t,i[r]);if(s){const{transitionEnd:o,transition:u,...a}=s;n(a,o)}}}function Tl(t,e,n,i,r){var s;const o={},u=[],a=i&&((s=t.style)===null||s===void 0?void 0:s.willChange)===void 0,l=r(t,{});for(const g in l)o[g]=jt(l[g]);let{initial:c,animate:d}=t;const f=Zt(t),h=br(t);e&&h&&!f&&t.inherit!==!1&&(c===void 0&&(c=e.initial),d===void 0&&(d=e.animate));let m=n?n.initial===!1:!1;m=m||c===!1;const p=m?d:c;return p&&typeof p!="boolean"&&!ht(p)&&Or(t,p,(g,b)=>{for(const I in g){let v=g[I];if(Array.isArray(v)){const x=m?v.length-1:0;v=v[x]}v!==null&&(o[I]=v)}for(const I in b)o[I]=b[I]}),a&&(d&&c!==!1&&!ht(d)&&Or(t,d,g=>{for(const b in g)El(u,b)}),u.length&&(o.willChange=u.join(","))),o}const{schedule:O,cancel:Ee,state:$,steps:Jn}=hr(typeof requestAnimationFrame<"u"?requestAnimationFrame:Q,!0),Vl={useVisualState:Wr({scrapeMotionValuesFromProps:Mr,createRenderState:wr,onMount:(t,e,{renderState:n,latestValues:i})=>{O.read(()=>{try{n.dimensions=typeof e.getBBox=="function"?e.getBBox():e.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}),O.render(()=>{Hn(n,i,kn(e.tagName),t.transformTemplate),Gr(e,n)})}})},wl={useVisualState:Wr({applyWillChange:!0,scrapeMotionValuesFromProps:zn,createRenderState:Zn})};function Fl(t,{forwardMotionProps:e=!1},n,i){return{...Ln(t)?Vl:wl,preloadedFeatures:n,useRender:xl(e),createVisualElement:i,Component:t}}function Te(t,e,n,i={passive:!0}){return t.addEventListener(e,n,i),()=>t.removeEventListener(e,n)}const Xr=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1;function Ut(t,e="page"){return{point:{x:t[`${e}X`],y:t[`${e}Y`]}}}const Bl=t=>e=>Xr(e)&&t(e,Ut(e));function Ve(t,e,n,i){return Te(t,e,Bl(n),i)}const Gl=(t,e)=>n=>e(t(n)),we=(...t)=>t.reduce(Gl);function Zr(t){let e=null;return()=>{const n=()=>{e=null};return e===null?(e=t,n):!1}}const Hr=Zr("dragHorizontal"),kr=Zr("dragVertical");function zr(t){let e=!1;if(t==="y")e=kr();else if(t==="x")e=Hr();else{const n=Hr(),i=kr();n&&i?e=()=>{n(),i()}:(n&&n(),i&&i())}return e}function jr(){const t=zr(!0);return t?(t(),!1):!0}class We{constructor(e){this.isMounted=!1,this.node=e}update(){}}function Yr(t,e){const n=e?"pointerenter":"pointerleave",i=e?"onHoverStart":"onHoverEnd",r=(s,o)=>{if(s.pointerType==="touch"||jr())return;const u=t.getProps();t.animationState&&u.whileHover&&t.animationState.setActive("whileHover",e);const a=u[i];a&&O.postRender(()=>a(s,o))};return Ve(t.current,n,r,{passive:!t.getProps()[i]})}class Ml extends We{mount(){this.unmount=we(Yr(this.node,!0),Yr(this.node,!1))}unmount(){}}class Dl extends We{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch{e=!0}!e||!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=we(Te(this.node.current,"focus",()=>this.onFocus()),Te(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const Jr=(t,e)=>e?t===e?!0:Jr(t,e.parentElement):!1;function Un(t,e){if(!e)return;const n=new PointerEvent("pointer"+t);e(n,Ut(n))}class Rl extends We{constructor(){super(...arguments),this.removeStartListeners=Q,this.removeEndListeners=Q,this.removeAccessibleListeners=Q,this.startPointerPress=(e,n)=>{if(this.isPressing)return;this.removeEndListeners();const i=this.node.getProps(),s=Ve(window,"pointerup",(u,a)=>{if(!this.checkPressEnd())return;const{onTap:l,onTapCancel:c,globalTapTarget:d}=this.node.getProps(),f=!d&&!Jr(this.node.current,u.target)?c:l;f&&O.update(()=>f(u,a))},{passive:!(i.onTap||i.onPointerUp)}),o=Ve(window,"pointercancel",(u,a)=>this.cancelPress(u,a),{passive:!(i.onTapCancel||i.onPointerCancel)});this.removeEndListeners=we(s,o),this.startPress(e,n)},this.startAccessiblePress=()=>{const e=s=>{if(s.key!=="Enter"||this.isPressing)return;const o=u=>{u.key!=="Enter"||!this.checkPressEnd()||Un("up",(a,l)=>{const{onTap:c}=this.node.getProps();c&&O.postRender(()=>c(a,l))})};this.removeEndListeners(),this.removeEndListeners=Te(this.node.current,"keyup",o),Un("down",(u,a)=>{this.startPress(u,a)})},n=Te(this.node.current,"keydown",e),i=()=>{this.isPressing&&Un("cancel",(s,o)=>this.cancelPress(s,o))},r=Te(this.node.current,"blur",i);this.removeAccessibleListeners=we(n,r)}}startPress(e,n){this.isPressing=!0;const{onTapStart:i,whileTap:r}=this.node.getProps();r&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),i&&O.postRender(()=>i(e,n))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!jr()}cancelPress(e,n){if(!this.checkPressEnd())return;const{onTapCancel:i}=this.node.getProps();i&&O.postRender(()=>i(e,n))}mount(){const e=this.node.getProps(),n=Ve(e.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),i=Te(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=we(n,i)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const _n=new WeakMap,Qn=new WeakMap,Nl=t=>{const e=_n.get(t.target);e&&e(t)},Ll=t=>{t.forEach(Nl)};function Wl({root:t,...e}){const n=t||document;Qn.has(n)||Qn.set(n,{});const i=Qn.get(n),r=JSON.stringify(e);return i[r]||(i[r]=new IntersectionObserver(Ll,{root:t,...e})),i[r]}function Ol(t,e,n){const i=Wl(e);return _n.set(t,n),i.observe(t),()=>{_n.delete(t),i.unobserve(t)}}const Xl={some:0,all:1};class Zl extends We{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:n,margin:i,amount:r="some",once:s}=e,o={root:n?n.current:void 0,rootMargin:i,threshold:typeof r=="number"?r:Xl[r]},u=a=>{const{isIntersecting:l}=a;if(this.isInView===l||(this.isInView=l,s&&!l&&this.hasEnteredView))return;l&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",l);const{onViewportEnter:c,onViewportLeave:d}=this.node.getProps(),f=l?c:d;f&&f(a)};return Ol(this.node.current,o,u)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:e,prevProps:n}=this.node;["amount","margin","root"].some(Hl(e,n))&&this.startObserver()}unmount(){}}function Hl({viewport:t={}},{viewport:e={}}={}){return n=>t[n]!==e[n]}const kl={inView:{Feature:Zl},tap:{Feature:Rl},focus:{Feature:Dl},hover:{Feature:Ml}};function Ur(t,e){if(!Array.isArray(e))return!1;const n=e.length;if(n!==t.length)return!1;for(let i=0;i<n;i++)if(e[i]!==t[i])return!1;return!0}function _t(t,e,n){const i=t.getProps();return jn(i,e,n!==void 0?n:i.custom,t)}const Fe=t=>t*1e3,Be=t=>t/1e3,zl={type:"spring",stiffness:500,damping:25,restSpeed:10},jl=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),Yl={type:"keyframes",duration:.8},Jl={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Ul=(t,{keyframes:e})=>e.length>2?Yl:Re.has(t)?t.startsWith("scale")?jl(e[1]):zl:Jl;function _l({when:t,delay:e,delayChildren:n,staggerChildren:i,staggerDirection:r,repeat:s,repeatType:o,repeatDelay:u,from:a,elapsed:l,...c}){return!!Object.keys(c).length}function $n(t,e){return t[e]||t.default||t}const Ql=t=>t!==null;function Qt(t,{repeat:e,repeatType:n="loop"},i){const r=t.filter(Ql),s=e&&n!=="loop"&&e%2===1?0:r.length-1;return!s||i===void 0?r[s]:i}let $t;function $l(){$t=void 0}const Oe={now:()=>($t===void 0&&Oe.set($.isProcessing||Nu.useManualTiming?$.timestamp:performance.now()),$t),set:t=>{$t=t,queueMicrotask($l)}},_r=t=>/^0[^.\s]+$/u.test(t);function Kl(t){return typeof t=="number"?t===0:t!==null?t==="none"||t==="0"||_r(t):!0}const Qr=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t),ql=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function ec(t){const e=ql.exec(t);if(!e)return[,];const[,n,i,r]=e;return[`--${n??i}`,r]}const tc=4;function $r(t,e,n=1){Pe(n<=tc,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);const[i,r]=ec(t);if(!i)return;const s=window.getComputedStyle(e).getPropertyValue(i);if(s){const o=s.trim();return Qr(o)?parseFloat(o):o}return Wn(r)?$r(r,e,n+1):r}const nc=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),Kr=t=>t===qe||t===w,qr=(t,e)=>parseFloat(t.split(", ")[e]),es=(t,e)=>(n,{transform:i})=>{if(i==="none"||!i)return 0;const r=i.match(/^matrix3d\((.+)\)$/u);if(r)return qr(r[1],e);{const s=i.match(/^matrix\((.+)\)$/u);return s?qr(s[1],t):0}},ic=new Set(["x","y","z"]),rc=pt.filter(t=>!ic.has(t));function sc(t){const e=[];return rc.forEach(n=>{const i=t.getValue(n);i!==void 0&&(e.push([n,i.get()]),i.set(n.startsWith("scale")?1:0))}),e}const et={width:({x:t},{paddingLeft:e="0",paddingRight:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),height:({y:t},{paddingTop:e="0",paddingBottom:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:es(4,13),y:es(5,14)};et.translateX=et.x,et.translateY=et.y;const ts=t=>e=>e.test(t),ns=[qe,w,ve,Le,cl,ll,{test:t=>t==="auto",parse:t=>t}],is=t=>ns.find(ts(t)),He=new Set;let Kn=!1,qn=!1;function rs(){if(qn){const t=Array.from(He).filter(i=>i.needsMeasurement),e=new Set(t.map(i=>i.element)),n=new Map;e.forEach(i=>{const r=sc(i);r.length&&(n.set(i,r),i.render())}),t.forEach(i=>i.measureInitialState()),e.forEach(i=>{i.render();const r=n.get(i);r&&r.forEach(([s,o])=>{var u;(u=i.getValue(s))===null||u===void 0||u.set(o)})}),t.forEach(i=>i.measureEndState()),t.forEach(i=>{i.suspendedScrollY!==void 0&&window.scrollTo(0,i.suspendedScrollY)})}qn=!1,Kn=!1,He.forEach(t=>t.complete()),He.clear()}function ss(){He.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(qn=!0)})}function oc(){ss(),rs()}class ei{constructor(e,n,i,r,s,o=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...e],this.onComplete=n,this.name=i,this.motionValue=r,this.element=s,this.isAsync=o}scheduleResolve(){this.isScheduled=!0,this.isAsync?(He.add(this),Kn||(Kn=!0,O.read(ss),O.resolveKeyframes(rs))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:e,name:n,element:i,motionValue:r}=this;for(let s=0;s<e.length;s++)if(e[s]===null)if(s===0){const o=r==null?void 0:r.get(),u=e[e.length-1];if(o!==void 0)e[0]=o;else if(i&&n){const a=i.readValue(n,u);a!=null&&(e[0]=a)}e[0]===void 0&&(e[0]=u),r&&o===void 0&&r.set(e[0])}else e[s]=e[s-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),He.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,He.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const ti=(t,e)=>n=>!!(bt(n)&&al.test(n)&&n.startsWith(t)||e&&!ul(n)&&Object.prototype.hasOwnProperty.call(n,e)),os=(t,e,n)=>i=>{if(!bt(i))return i;const[r,s,o,u]=i.match(On);return{[t]:parseFloat(r),[e]:parseFloat(s),[n]:parseFloat(o),alpha:u!==void 0?parseFloat(u):1}},ac=t=>Ne(0,255,t),ni={...qe,transform:t=>Math.round(ac(t))},ke={test:ti("rgb","red"),parse:os("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:i=1})=>"rgba("+ni.transform(t)+", "+ni.transform(e)+", "+ni.transform(n)+", "+gt(mt.transform(i))+")"};function uc(t){let e="",n="",i="",r="";return t.length>5?(e=t.substring(1,3),n=t.substring(3,5),i=t.substring(5,7),r=t.substring(7,9)):(e=t.substring(1,2),n=t.substring(2,3),i=t.substring(3,4),r=t.substring(4,5),e+=e,n+=n,i+=i,r+=r),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(i,16),alpha:r?parseInt(r,16)/255:1}}const ii={test:ti("#"),parse:uc,transform:ke.transform},tt={test:ti("hsl","hue"),parse:os("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:i=1})=>"hsla("+Math.round(t)+", "+ve.transform(gt(e))+", "+ve.transform(gt(n))+", "+gt(mt.transform(i))+")"},ee={test:t=>ke.test(t)||ii.test(t)||tt.test(t),parse:t=>ke.test(t)?ke.parse(t):tt.test(t)?tt.parse(t):ii.parse(t),transform:t=>bt(t)?t:t.hasOwnProperty("red")?ke.transform(t):tt.transform(t)};function lc(t){var e,n;return isNaN(t)&&bt(t)&&(((e=t.match(On))===null||e===void 0?void 0:e.length)||0)+(((n=t.match(ol))===null||n===void 0?void 0:n.length)||0)>0}const as="number",us="color",cc="var",dc="var(",ls="${}",fc=/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 yt(t){const e=t.toString(),n=[],i={color:[],number:[],var:[]},r=[];let s=0;const u=e.replace(fc,a=>(ee.test(a)?(i.color.push(s),r.push(us),n.push(ee.parse(a))):a.startsWith(dc)?(i.var.push(s),r.push(cc),n.push(a)):(i.number.push(s),r.push(as),n.push(parseFloat(a))),++s,ls)).split(ls);return{values:n,split:u,indexes:i,types:r}}function cs(t){return yt(t).values}function ds(t){const{split:e,types:n}=yt(t),i=e.length;return r=>{let s="";for(let o=0;o<i;o++)if(s+=e[o],r[o]!==void 0){const u=n[o];u===as?s+=gt(r[o]):u===us?s+=ee.transform(r[o]):s+=r[o]}return s}}const hc=t=>typeof t=="number"?0:t;function pc(t){const e=cs(t);return ds(t)(e.map(hc))}const Xe={test:lc,parse:cs,createTransformer:ds,getAnimatableNone:pc},mc=new Set(["brightness","contrast","saturate","opacity"]);function gc(t){const[e,n]=t.slice(0,-1).split("(");if(e==="drop-shadow")return t;const[i]=n.match(On)||[];if(!i)return t;const r=n.replace(i,"");let s=mc.has(e)?1:0;return i!==n&&(s*=100),e+"("+s+r+")"}const bc=/\b([a-z-]*)\(.*?\)/gu,ri={...Xe,getAnimatableNone:t=>{const e=t.match(bc);return e?e.map(gc).join(" "):t}},vc={...Pr,color:ee,backgroundColor:ee,outlineColor:ee,fill:ee,stroke:ee,borderColor:ee,borderTopColor:ee,borderRightColor:ee,borderBottomColor:ee,borderLeftColor:ee,filter:ri,WebkitFilter:ri},si=t=>vc[t];function fs(t,e){let n=si(t);return n!==ri&&(n=Xe),n.getAnimatableNone?n.getAnimatableNone(e):void 0}const yc=new Set(["auto","none","0"]);function Ic(t,e,n){let i=0,r;for(;i<t.length&&!r;){const s=t[i];typeof s=="string"&&!yc.has(s)&&yt(s).values.length&&(r=t[i]),i++}if(r&&n)for(const s of e)t[s]=fs(n,r)}class hs extends ei{constructor(e,n,i,r){super(e,n,i,r,r==null?void 0:r.owner,!0)}readKeyframes(){const{unresolvedKeyframes:e,element:n,name:i}=this;if(!n.current)return;super.readKeyframes();for(let a=0;a<e.length;a++){let l=e[a];if(typeof l=="string"&&(l=l.trim(),Wn(l))){const c=$r(l,n.current);c!==void 0&&(e[a]=c),a===e.length-1&&(this.finalKeyframe=l)}}if(this.resolveNoneKeyframes(),!nc.has(i)||e.length!==2)return;const[r,s]=e,o=is(r),u=is(s);if(o!==u)if(Kr(o)&&Kr(u))for(let a=0;a<e.length;a++){const l=e[a];typeof l=="string"&&(e[a]=parseFloat(l))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:e,name:n}=this,i=[];for(let r=0;r<e.length;r++)Kl(e[r])&&i.push(r);i.length&&Ic(e,i,n)}measureInitialState(){const{element:e,unresolvedKeyframes:n,name:i}=this;if(!e.current)return;i==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=et[i](e.measureViewportBox(),window.getComputedStyle(e.current)),n[0]=this.measuredOrigin;const r=n[n.length-1];r!==void 0&&e.getValue(i,r).jump(r,!1)}measureEndState(){var e;const{element:n,name:i,unresolvedKeyframes:r}=this;if(!n.current)return;const s=n.getValue(i);s&&s.jump(this.measuredOrigin,!1);const o=r.length-1,u=r[o];r[o]=et[i](n.measureViewportBox(),window.getComputedStyle(n.current)),u!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=u),!((e=this.removedTransforms)===null||e===void 0)&&e.length&&this.removedTransforms.forEach(([a,l])=>{n.getValue(a).set(l)}),this.resolveNoneKeyframes()}}function ps(t){let e;return()=>(e===void 0&&(e=t()),e)}const ms=(t,e)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(Xe.test(t)||t==="0")&&!t.startsWith("url("));function Cc(t){const e=t[0];if(t.length===1)return!0;for(let n=0;n<t.length;n++)if(t[n]!==e)return!0}function xc(t,e,n,i){const r=t[0];if(r===null)return!1;if(e==="display"||e==="visibility")return!0;const s=t[t.length-1],o=ms(r,e),u=ms(s,e);return Ke(o===u,`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||!u?!1:Cc(t)||n==="spring"&&i}class gs{constructor({autoplay:e=!0,delay:n=0,type:i="keyframes",repeat:r=0,repeatDelay:s=0,repeatType:o="loop",...u}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.options={autoplay:e,delay:n,type:i,repeat:r,repeatDelay:s,repeatType:o,...u},this.updateFinishedPromise()}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&oc(),this._resolved}onKeyframesResolved(e,n){this.hasAttemptedResolve=!0;const{name:i,type:r,velocity:s,delay:o,onComplete:u,onUpdate:a,isGenerator:l}=this.options;if(!l&&!xc(e,i,r,s))if(o)this.options.duration=0;else{a==null||a(Qt(e,this.options,n)),u==null||u(),this.resolveFinishedPromise();return}const c=this.initPlayback(e,n);c!==!1&&(this._resolved={keyframes:e,finalKeyframe:n,...c},this.onPostResolved())}onPostResolved(){}then(e,n){return this.currentFinishedPromise.then(e,n)}updateFinishedPromise(){this.currentFinishedPromise=new Promise(e=>{this.resolveFinishedPromise=e})}}function bs(t,e){return e?t*(1e3/e):0}const Ac=5;function vs(t,e,n){const i=Math.max(e-Ac,0);return bs(n-t(i),e-i)}const oi=.001,Sc=.01,ys=10,Pc=.05,Ec=1;function Tc({duration:t=800,bounce:e=.25,velocity:n=0,mass:i=1}){let r,s;Ke(t<=Fe(ys),"Spring duration must be 10 seconds or less");let o=1-e;o=Ne(Pc,Ec,o),t=Ne(Sc,ys,Be(t)),o<1?(r=l=>{const c=l*o,d=c*t,f=c-n,h=ai(l,o),m=Math.exp(-d);return oi-f/h*m},s=l=>{const d=l*o*t,f=d*n+n,h=Math.pow(o,2)*Math.pow(l,2)*t,m=Math.exp(-d),p=ai(Math.pow(l,2),o);return(-r(l)+oi>0?-1:1)*((f-h)*m)/p}):(r=l=>{const c=Math.exp(-l*t),d=(l-n)*t+1;return-oi+c*d},s=l=>{const c=Math.exp(-l*t),d=(n-l)*(t*t);return c*d});const u=5/t,a=wc(r,s,u);if(t=Fe(t),isNaN(a))return{stiffness:100,damping:10,duration:t};{const l=Math.pow(a,2)*i;return{stiffness:l,damping:o*2*Math.sqrt(i*l),duration:t}}}const Vc=12;function wc(t,e,n){let i=n;for(let r=1;r<Vc;r++)i=i-t(i)/e(i);return i}function ai(t,e){return t*Math.sqrt(1-e*e)}const Fc=["duration","bounce"],Bc=["stiffness","damping","mass"];function Is(t,e){return e.some(n=>t[n]!==void 0)}function Gc(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!Is(t,Bc)&&Is(t,Fc)){const n=Tc(t);e={...e,...n,mass:1},e.isResolvedFromDuration=!0}return e}function Cs({keyframes:t,restDelta:e,restSpeed:n,...i}){const r=t[0],s=t[t.length-1],o={done:!1,value:r},{stiffness:u,damping:a,mass:l,duration:c,velocity:d,isResolvedFromDuration:f}=Gc({...i,velocity:-Be(i.velocity||0)}),h=d||0,m=a/(2*Math.sqrt(u*l)),p=s-r,g=Be(Math.sqrt(u/l)),b=Math.abs(p)<5;n||(n=b?.01:2),e||(e=b?.005:.5);let I;if(m<1){const v=ai(g,m);I=x=>{const y=Math.exp(-m*g*x);return s-y*((h+m*g*p)/v*Math.sin(v*x)+p*Math.cos(v*x))}}else if(m===1)I=v=>s-Math.exp(-g*v)*(p+(h+g*p)*v);else{const v=g*Math.sqrt(m*m-1);I=x=>{const y=Math.exp(-m*g*x),S=Math.min(v*x,300);return s-y*((h+m*g*p)*Math.sinh(S)+v*p*Math.cosh(S))/v}}return{calculatedDuration:f&&c||null,next:v=>{const x=I(v);if(f)o.done=v>=c;else{let y=h;v!==0&&(m<1?y=vs(I,v,x):y=0);const S=Math.abs(y)<=n,P=Math.abs(s-x)<=e;o.done=S&&P}return o.value=o.done?s:x,o}}}function xs({keyframes:t,velocity:e=0,power:n=.8,timeConstant:i=325,bounceDamping:r=10,bounceStiffness:s=500,modifyTarget:o,min:u,max:a,restDelta:l=.5,restSpeed:c}){const d=t[0],f={done:!1,value:d},h=A=>u!==void 0&&A<u||a!==void 0&&A>a,m=A=>u===void 0?a:a===void 0||Math.abs(u-A)<Math.abs(a-A)?u:a;let p=n*e;const g=d+p,b=o===void 0?g:o(g);b!==g&&(p=b-d);const I=A=>-p*Math.exp(-A/i),v=A=>b+I(A),x=A=>{const M=I(A),R=v(A);f.done=Math.abs(M)<=l,f.value=f.done?b:R};let y,S;const P=A=>{h(f.value)&&(y=A,S=Cs({keyframes:[f.value,m(f.value)],velocity:vs(v,A,f.value),damping:r,stiffness:s,restDelta:l,restSpeed:c}))};return P(0),{calculatedDuration:null,next:A=>{let M=!1;return!S&&y===void 0&&(M=!0,x(A),P(A)),y!==void 0&&A>=y?S.next(A-y):(!M&&x(A),f)}}}const As=(t,e,n)=>(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t,Mc=1e-7,Dc=12;function Rc(t,e,n,i,r){let s,o,u=0;do o=e+(n-e)/2,s=As(o,i,r)-t,s>0?n=o:e=o;while(Math.abs(s)>Mc&&++u<Dc);return o}function It(t,e,n,i){if(t===e&&n===i)return Q;const r=s=>Rc(s,0,1,t,n);return s=>s===0||s===1?s:As(r(s),e,i)}const Nc=It(.42,0,1,1),Lc=It(0,0,.58,1),Ss=It(.42,0,.58,1),Wc=t=>Array.isArray(t)&&typeof t[0]!="number",Ps=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,Es=t=>e=>1-t(1-e),ui=t=>1-Math.sin(Math.acos(t)),Ts=Es(ui),Oc=Ps(ui),Vs=It(.33,1.53,.69,.99),li=Es(Vs),Xc=Ps(li),ws={linear:Q,easeIn:Nc,easeInOut:Ss,easeOut:Lc,circIn:ui,circInOut:Oc,circOut:Ts,backIn:li,backInOut:Xc,backOut:Vs,anticipate:t=>(t*=2)<1?.5*li(t):.5*(2-Math.pow(2,-10*(t-1)))},Fs=t=>{if(Array.isArray(t)){Pe(t.length===4,"Cubic bezier arrays must contain four numerical values.");const[e,n,i,r]=t;return It(e,n,i,r)}else if(typeof t=="string")return Pe(ws[t]!==void 0,`Invalid easing type '${t}'`),ws[t];return t},Ct=(t,e,n)=>{const i=e-t;return i===0?1:(n-t)/i},H=(t,e,n)=>t+(e-t)*n;function ci(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+(e-t)*6*n:n<1/2?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function Zc({hue:t,saturation:e,lightness:n,alpha:i}){t/=360,e/=100,n/=100;let r=0,s=0,o=0;if(!e)r=s=o=n;else{const u=n<.5?n*(1+e):n+e-n*e,a=2*n-u;r=ci(a,u,t+1/3),s=ci(a,u,t),o=ci(a,u,t-1/3)}return{red:Math.round(r*255),green:Math.round(s*255),blue:Math.round(o*255),alpha:i}}function Kt(t,e){return n=>n>0?e:t}const di=(t,e,n)=>{const i=t*t,r=n*(e*e-i)+i;return r<0?0:Math.sqrt(r)},Hc=[ii,ke,tt],kc=t=>Hc.find(e=>e.test(t));function Bs(t){const e=kc(t);if(Ke(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`),!e)return!1;let n=e.parse(t);return e===tt&&(n=Zc(n)),n}const Gs=(t,e)=>{const n=Bs(t),i=Bs(e);if(!n||!i)return Kt(t,e);const r={...n};return s=>(r.red=di(n.red,i.red,s),r.green=di(n.green,i.green,s),r.blue=di(n.blue,i.blue,s),r.alpha=H(n.alpha,i.alpha,s),ke.transform(r))},fi=new Set(["none","hidden"]);function zc(t,e){return fi.has(t)?n=>n<=0?t:e:n=>n>=1?e:t}function jc(t,e){return n=>H(t,e,n)}function hi(t){return typeof t=="number"?jc:typeof t=="string"?Wn(t)?Kt:ee.test(t)?Gs:Uc:Array.isArray(t)?Ms:typeof t=="object"?ee.test(t)?Gs:Yc:Kt}function Ms(t,e){const n=[...t],i=n.length,r=t.map((s,o)=>hi(s)(s,e[o]));return s=>{for(let o=0;o<i;o++)n[o]=r[o](s);return n}}function Yc(t,e){const n={...t,...e},i={};for(const r in n)t[r]!==void 0&&e[r]!==void 0&&(i[r]=hi(t[r])(t[r],e[r]));return r=>{for(const s in i)n[s]=i[s](r);return n}}function Jc(t,e){var n;const i=[],r={color:0,var:0,number:0};for(let s=0;s<e.values.length;s++){const o=e.types[s],u=t.indexes[o][r[o]],a=(n=t.values[u])!==null&&n!==void 0?n:0;i[s]=a,r[o]++}return i}const Uc=(t,e)=>{const n=Xe.createTransformer(e),i=yt(t),r=yt(e);return i.indexes.var.length===r.indexes.var.length&&i.indexes.color.length===r.indexes.color.length&&i.indexes.number.length>=r.indexes.number.length?fi.has(t)&&!r.values.length||fi.has(e)&&!i.values.length?zc(t,e):we(Ms(Jc(i,r),r.values),n):(Ke(!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.`),Kt(t,e))};function Ds(t,e,n){return typeof t=="number"&&typeof e=="number"&&typeof n=="number"?H(t,e,n):hi(t)(t,e)}function _c(t,e,n){const i=[],r=n||Ds,s=t.length-1;for(let o=0;o<s;o++){let u=r(t[o],t[o+1]);if(e){const a=Array.isArray(e)?e[o]||Q:e;u=we(a,u)}i.push(u)}return i}function Qc(t,e,{clamp:n=!0,ease:i,mixer:r}={}){const s=t.length;if(Pe(s===e.length,"Both input and output ranges must be the same length"),s===1)return()=>e[0];if(s===2&&t[0]===t[1])return()=>e[1];t[0]>t[s-1]&&(t=[...t].reverse(),e=[...e].reverse());const o=_c(e,i,r),u=o.length,a=l=>{let c=0;if(u>1)for(;c<t.length-2&&!(l<t[c+1]);c++);const d=Ct(t[c],t[c+1],l);return o[c](d)};return n?l=>a(Ne(t[0],t[s-1],l)):a}function $c(t,e){const n=t[t.length-1];for(let i=1;i<=e;i++){const r=Ct(0,e,i);t.push(H(n,1,r))}}function Kc(t){const e=[0];return $c(e,t.length-1),e}function qc(t,e){return t.map(n=>n*e)}function ed(t,e){return t.map(()=>e||Ss).splice(0,t.length-1)}function qt({duration:t=300,keyframes:e,times:n,ease:i="easeInOut"}){const r=Wc(i)?i.map(Fs):Fs(i),s={done:!1,value:e[0]},o=qc(n&&n.length===e.length?n:Kc(e),t),u=Qc(o,e,{ease:Array.isArray(r)?r:ed(e,r)});return{calculatedDuration:t,next:a=>(s.value=u(a),s.done=a>=t,s)}}const Rs=2e4;function td(t){let e=0;const n=50;let i=t.next(e);for(;!i.done&&e<Rs;)e+=n,i=t.next(e);return e>=Rs?1/0:e}const nd=t=>{const e=({timestamp:n})=>t(n);return{start:()=>O.update(e,!0),stop:()=>Ee(e),now:()=>$.isProcessing?$.timestamp:Oe.now()}},id={decay:xs,inertia:xs,tween:qt,keyframes:qt,spring:Cs},rd=t=>t/100;class pi extends gs{constructor({KeyframeResolver:e=ei,...n}){super(n),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,this.state==="idle")return;this.teardown();const{onStop:u}=this.options;u&&u()};const{name:i,motionValue:r,keyframes:s}=this.options,o=(u,a)=>this.onKeyframesResolved(u,a);i&&r&&r.owner?this.resolver=r.owner.resolveKeyframes(s,o,i,r):this.resolver=new e(s,o,i,r),this.resolver.scheduleResolve()}initPlayback(e){const{type:n="keyframes",repeat:i=0,repeatDelay:r=0,repeatType:s,velocity:o=0}=this.options,u=id[n]||qt;let a,l;u!==qt&&typeof e[0]!="number"&&(process.env.NODE_ENV!=="production"&&Pe(e.length===2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${e}`),a=we(rd,Ds(e[0],e[1])),e=[0,100]);const c=u({...this.options,keyframes:e});s==="mirror"&&(l=u({...this.options,keyframes:[...e].reverse(),velocity:-o})),c.calculatedDuration===null&&(c.calculatedDuration=td(c));const{calculatedDuration:d}=c,f=d+r,h=f*(i+1)-r;return{generator:c,mirroredGenerator:l,mapPercentToKeyframes:a,calculatedDuration:d,resolvedDuration:f,totalDuration:h}}onPostResolved(){const{autoplay:e=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!e?this.pause():this.state=this.pendingPlayState}tick(e,n=!1){const{resolved:i}=this;if(!i){const{keyframes:A}=this.options;return{done:!0,value:A[A.length-1]}}const{finalKeyframe:r,generator:s,mirroredGenerator:o,mapPercentToKeyframes:u,keyframes:a,calculatedDuration:l,totalDuration:c,resolvedDuration:d}=i;if(this.startTime===null)return s.next(0);const{delay:f,repeat:h,repeatType:m,repeatDelay:p,onUpdate:g}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-c/this.speed,this.startTime)),n?this.currentTime=e:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(e-this.startTime)*this.speed;const b=this.currentTime-f*(this.speed>=0?1:-1),I=this.speed>=0?b<0:b>c;this.currentTime=Math.max(b,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=c);let v=this.currentTime,x=s;if(h){const A=Math.min(this.currentTime,c)/d;let M=Math.floor(A),R=A%1;!R&&A>=1&&(R=1),R===1&&M--,M=Math.min(M,h+1),!!(M%2)&&(m==="reverse"?(R=1-R,p&&(R-=p/d)):m==="mirror"&&(x=o)),v=Ne(0,1,R)*d}const y=I?{done:!1,value:a[0]}:x.next(v);u&&(y.value=u(y.value));let{done:S}=y;!I&&l!==null&&(S=this.speed>=0?this.currentTime>=c:this.currentTime<=0);const P=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&S);return P&&r!==void 0&&(y.value=Qt(a,this.options,r)),g&&g(y.value),P&&this.finish(),y}get duration(){const{resolved:e}=this;return e?Be(e.calculatedDuration):0}get time(){return Be(this.currentTime)}set time(e){e=Fe(e),this.currentTime=e,this.holdTime!==null||this.speed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.speed)}get speed(){return this.playbackSpeed}set speed(e){const n=this.playbackSpeed!==e;this.playbackSpeed=e,n&&(this.time=Be(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:e=nd,onPlay:n}=this.options;this.driver||(this.driver=e(r=>this.tick(r))),n&&n();const i=this.driver.now();this.holdTime!==null?this.startTime=i-this.holdTime:(!this.startTime||this.state==="finished")&&(this.startTime=i),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var e;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(e=this.currentTime)!==null&&e!==void 0?e:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:e}=this.options;e&&e()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}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(e){return this.startTime=0,this.tick(e,!0)}}const Ns=t=>Array.isArray(t)&&typeof t[0]=="number";function Ls(t){return!!(!t||typeof t=="string"&&t in mi||Ns(t)||Array.isArray(t)&&t.every(Ls))}const xt=([t,e,n,i])=>`cubic-bezier(${t}, ${e}, ${n}, ${i})`,mi={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:xt([0,.65,.55,1]),circOut:xt([.55,0,1,.45]),backIn:xt([.31,.01,.66,-.59]),backOut:xt([.33,1.53,.69,.99])};function sd(t){return Ws(t)||mi.easeOut}function Ws(t){if(t)return Ns(t)?xt(t):Array.isArray(t)?t.map(sd):mi[t]}function od(t,e,n,{delay:i=0,duration:r=300,repeat:s=0,repeatType:o="loop",ease:u,times:a}={}){const l={[e]:n};a&&(l.offset=a);const c=Ws(u);return Array.isArray(c)&&(l.easing=c),t.animate(l,{delay:i,duration:r,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:s+1,direction:o==="reverse"?"alternate":"normal"})}const ad=ps(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),en=10,ud=2e4;function ld(t){return t.type==="spring"||!Ls(t.ease)}function cd(t,e){const n=new pi({...e,keyframes:t,repeat:0,delay:0,isGenerator:!0});let i={done:!1,value:t[0]};const r=[];let s=0;for(;!i.done&&s<ud;)i=n.sample(s),r.push(i.value),s+=en;return{times:void 0,keyframes:r,duration:s-en,ease:"linear"}}class Os extends gs{constructor(e){super(e);const{name:n,motionValue:i,keyframes:r}=this.options;this.resolver=new hs(r,(s,o)=>this.onKeyframesResolved(s,o),n,i),this.resolver.scheduleResolve()}initPlayback(e,n){var i;let{duration:r=300,times:s,ease:o,type:u,motionValue:a,name:l}=this.options;if(!(!((i=a.owner)===null||i===void 0)&&i.current))return!1;if(ld(this.options)){const{onComplete:d,onUpdate:f,motionValue:h,...m}=this.options,p=cd(e,m);e=p.keyframes,e.length===1&&(e[1]=e[0]),r=p.duration,s=p.times,o=p.ease,u="keyframes"}const c=od(a.owner.current,l,e,{...this.options,duration:r,times:s,ease:o});return c.startTime=Oe.now(),this.pendingTimeline?(c.timeline=this.pendingTimeline,this.pendingTimeline=void 0):c.onfinish=()=>{const{onComplete:d}=this.options;a.set(Qt(e,this.options,n)),d&&d(),this.cancel(),this.resolveFinishedPromise()},{animation:c,duration:r,times:s,type:u,ease:o,keyframes:e}}get duration(){const{resolved:e}=this;if(!e)return 0;const{duration:n}=e;return Be(n)}get time(){const{resolved:e}=this;if(!e)return 0;const{animation:n}=e;return Be(n.currentTime||0)}set time(e){const{resolved:n}=this;if(!n)return;const{animation:i}=n;i.currentTime=Fe(e)}get speed(){const{resolved:e}=this;if(!e)return 1;const{animation:n}=e;return n.playbackRate}set speed(e){const{resolved:n}=this;if(!n)return;const{animation:i}=n;i.playbackRate=e}get state(){const{resolved:e}=this;if(!e)return"idle";const{animation:n}=e;return n.playState}attachTimeline(e){if(!this._resolved)this.pendingTimeline=e;else{const{resolved:n}=this;if(!n)return Q;const{animation:i}=n;i.timeline=e,i.onfinish=null}return Q}play(){if(this.isStopped)return;const{resolved:e}=this;if(!e)return;const{animation:n}=e;n.playState==="finished"&&this.updateFinishedPromise(),n.play()}pause(){const{resolved:e}=this;if(!e)return;const{animation:n}=e;n.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;const{resolved:e}=this;if(!e)return;const{animation:n,keyframes:i,duration:r,type:s,ease:o,times:u}=e;if(n.playState==="idle"||n.playState==="finished")return;if(this.time){const{motionValue:l,onUpdate:c,onComplete:d,...f}=this.options,h=new pi({...f,keyframes:i,duration:r,type:s,ease:o,times:u,isGenerator:!0}),m=Fe(this.time);l.setWithVelocity(h.sample(m-en).value,h.sample(m).value,en)}const{onStop:a}=this.options;a&&a(),this.cancel()}complete(){const{resolved:e}=this;e&&e.animation.finish()}cancel(){const{resolved:e}=this;e&&e.animation.cancel()}static supports(e){const{motionValue:n,name:i,repeatDelay:r,repeatType:s,damping:o,type:u}=e;return ad()&&i&&Nr.has(i)&&n&&n.owner&&n.owner.current instanceof HTMLElement&&!n.owner.getProps().onUpdate&&!r&&s!=="mirror"&&o!==0&&u!=="inertia"}}function dd(t,e){let n;const i=()=>{const{currentTime:r}=e,o=(r===null?0:r.value)/100;n!==o&&t(o),n=o};return O.update(i,!0),()=>Ee(i)}const fd=ps(()=>window.ScrollTimeline!==void 0);class hd{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}then(e,n){return Promise.all(this.animations).then(e).catch(n)}getAll(e){return this.animations[0][e]}setAll(e,n){for(let i=0;i<this.animations.length;i++)this.animations[i][e]=n}attachTimeline(e){const n=this.animations.map(i=>{if(fd()&&i.attachTimeline)i.attachTimeline(e);else return i.pause(),dd(r=>{i.time=i.duration*r},e)});return()=>{n.forEach((i,r)=>{i&&i(),this.animations[r].stop()})}}get time(){return this.getAll("time")}set time(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get duration(){let e=0;for(let n=0;n<this.animations.length;n++)e=Math.max(e,this.animations[n].duration);return e}runAll(e){this.animations.forEach(n=>n[e]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}const gi=(t,e,n,i={},r,s,o)=>u=>{const a=$n(i,t)||{},l=a.delay||i.delay||0;let{elapsed:c=0}=i;c=c-Fe(l);let d={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:e.getVelocity(),...a,delay:-c,onUpdate:h=>{e.set(h),a.onUpdate&&a.onUpdate(h)},onComplete:()=>{u(),a.onComplete&&a.onComplete(),o&&o()},onStop:o,name:t,motionValue:e,element:s?void 0:r};_l(a)||(d={...d,...Ul(t,d)}),d.duration&&(d.duration=Fe(d.duration)),d.repeatDelay&&(d.repeatDelay=Fe(d.repeatDelay)),d.from!==void 0&&(d.keyframes[0]=d.from);let f=!1;if((d.type===!1||d.duration===0&&!d.repeatDelay)&&(d.duration=0,d.delay===0&&(f=!0)),f&&!s&&e.get()!==void 0){const h=Qt(d.keyframes,a);if(h!==void 0)return O.update(()=>{d.onUpdate(h),d.onComplete()}),new hd([])}return!s&&Os.supports(d)?new Os(d):new pi(d)};class bi{constructor(){this.subscriptions=[]}add(e){return Yt(this.subscriptions,e),()=>Jt(this.subscriptions,e)}notify(e,n,i){const r=this.subscriptions.length;if(r)if(r===1)this.subscriptions[0](e,n,i);else for(let s=0;s<r;s++){const o=this.subscriptions[s];o&&o(e,n,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Xs=new Set;function vi(t,e,n){t||Xs.has(e)||(console.warn(e),Xs.add(e))}const Zs=30,pd=t=>!isNaN(parseFloat(t));class Hs{constructor(e,n={}){this.version="11.3.8",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(i,r=!0)=>{const s=Oe.now();this.updatedAt!==s&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(i),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),r&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(e),this.owner=n.owner}setCurrent(e){this.current=e,this.updatedAt=Oe.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=pd(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return process.env.NODE_ENV!=="production"&&vi(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",e)}on(e,n){this.events[e]||(this.events[e]=new bi);const i=this.events[e].add(n);return e==="change"?()=>{i(),O.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,n){this.passiveEffect=e,this.stopPassiveEffect=n}set(e,n=!0){!n||!this.passiveEffect?this.updateAndNotify(e,n):this.passiveEffect(e,this.updateAndNotify)}setWithVelocity(e,n,i){this.set(n),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-i}jump(e,n=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const e=Oe.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>Zs)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,Zs);return bs(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(e){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=e(n),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 At(t,e){return new Hs(t,e)}function md(t,e,n){t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,At(n))}function gd(t,e){const n=_t(t,e);let{transitionEnd:i={},transition:r={},...s}=n||{};s={...s,...i};for(const o in s){const u=Sl(s[o]);md(t,o,u)}}function ks(t){return t.getProps()[fr]}class bd extends Hs{constructor(){super(...arguments),this.output=[],this.counts=new Map}add(e){const n=Lr(e);if(!n)return;const i=this.counts.get(n)||0;this.counts.set(n,i+1),i===0&&(this.output.push(n),this.update());let r=!1;return()=>{if(r)return;r=!0;const s=this.counts.get(n)-1;this.counts.set(n,s),s===0&&(Jt(this.output,n),this.update())}}update(){this.set(this.output.length?this.output.join(", "):"auto")}}function vd(t){return!!(q(t)&&t.add)}function yi(t,e){var n;if(!t.applyWillChange)return;let i=t.getValue("willChange");if(!i&&!(!((n=t.props.style)===null||n===void 0)&&n.willChange)&&(i=new bd("auto"),t.addValue("willChange",i)),vd(i))return i.add(e)}function yd({protectedKeys:t,needsAnimating:e},n){const i=t.hasOwnProperty(n)&&e[n]!==!0;return e[n]=!1,i}function zs(t,e,{delay:n=0,transitionOverride:i,type:r}={}){var s;let{transition:o=t.getDefaultTransition(),transitionEnd:u,...a}=e;i&&(o=i);const l=[],c=r&&t.animationState&&t.animationState.getState()[r];for(const d in a){const f=t.getValue(d,(s=t.latestValues[d])!==null&&s!==void 0?s:null),h=a[d];if(h===void 0||c&&yd(c,d))continue;const m={delay:n,elapsed:0,...$n(o||{},d)};let p=!1;if(window.HandoffAppearAnimations){const b=ks(t);if(b){const I=window.HandoffAppearAnimations(b,d,f,O);I!==null&&(m.elapsed=I,p=!0)}}f.start(gi(d,f,h,t.shouldReduceMotion&&Re.has(d)?{type:!1}:m,t,p,yi(t,d)));const g=f.animation;g&&l.push(g)}return u&&Promise.all(l).then(()=>{O.update(()=>{u&&gd(t,u)})}),l}function Ii(t,e,n={}){var i;const r=_t(t,e,n.type==="exit"?(i=t.presenceContext)===null||i===void 0?void 0:i.custom:void 0);let{transition:s=t.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(s=n.transitionOverride);const o=r?()=>Promise.all(zs(t,r,n)):()=>Promise.resolve(),u=t.variantChildren&&t.variantChildren.size?(l=0)=>{const{delayChildren:c=0,staggerChildren:d,staggerDirection:f}=s;return Id(t,e,c+l,d,f,n)}:()=>Promise.resolve(),{when:a}=s;if(a){const[l,c]=a==="beforeChildren"?[o,u]:[u,o];return l().then(()=>c())}else return Promise.all([o(),u(n.delay)])}function Id(t,e,n=0,i=0,r=1,s){const o=[],u=(t.variantChildren.size-1)*i,a=r===1?(l=0)=>l*i:(l=0)=>u-l*i;return Array.from(t.variantChildren).sort(Cd).forEach((l,c)=>{l.notify("AnimationStart",e),o.push(Ii(l,e,{...s,delay:n+a(c)}).then(()=>l.notify("AnimationComplete",e)))}),Promise.all(o)}function Cd(t,e){return t.sortNodePosition(e)}function xd(t,e,n={}){t.notify("AnimationStart",e);let i;if(Array.isArray(e)){const r=e.map(s=>Ii(t,s,n));i=Promise.all(r)}else if(typeof e=="string")i=Ii(t,e,n);else{const r=typeof e=="function"?_t(t,e,n.custom):e;i=Promise.all(zs(t,r,n))}return i.then(()=>{O.postRender(()=>{t.notify("AnimationComplete",e)})})}const Ad=[...Dn].reverse(),Sd=Dn.length;function Pd(t){return e=>Promise.all(e.map(({animation:n,options:i})=>xd(t,n,i)))}function Ed(t){let e=Pd(t),n=js(),i=!0;const r=a=>(l,c)=>{var d;const f=_t(t,c,a==="exit"?(d=t.presenceContext)===null||d===void 0?void 0:d.custom:void 0);if(f){const{transition:h,transitionEnd:m,...p}=f;l={...l,...p,...m}}return l};function s(a){e=a(t)}function o(a){const l=t.getProps(),c=t.getVariantContext(!0)||{},d=[],f=new Set;let h={},m=1/0;for(let g=0;g<Sd;g++){const b=Ad[g],I=n[b],v=l[b]!==void 0?l[b]:c[b],x=ft(v),y=b===a?I.isActive:null;y===!1&&(m=g);let S=v===c[b]&&v!==l[b]&&x;if(S&&i&&t.manuallyAnimateOnMount&&(S=!1),I.protectedKeys={...h},!I.isActive&&y===null||!v&&!I.prevProp||ht(v)||typeof v=="boolean")continue;let A=Td(I.prevProp,v)||b===a&&I.isActive&&!S&&x||g>m&&x,M=!1;const R=Array.isArray(v)?v:[v];let k=R.reduce(r(b),{});y===!1&&(k={});const{prevResolvedValues:Y={}}=I,le={...Y,...k},se=D=>{A=!0,f.has(D)&&(M=!0,f.delete(D)),I.needsAnimating[D]=!0;const W=t.getValue(D);W&&(W.liveStyle=!1)};for(const D in le){const W=k[D],ne=Y[D];if(h.hasOwnProperty(D))continue;let _=!1;Yn(W)&&Yn(ne)?_=!Ur(W,ne):_=W!==ne,_?W!=null?se(D):f.add(D):W!==void 0&&f.has(D)?se(D):I.protectedKeys[D]=!0}I.prevProp=v,I.prevResolvedValues=k,I.isActive&&(h={...h,...k}),i&&t.blockInitialAnimation&&(A=!1),A&&(!S||M)&&d.push(...R.map(D=>({animation:D,options:{type:b}})))}if(f.size){const g={};f.forEach(b=>{const I=t.getBaseTarget(b),v=t.getValue(b);v&&(v.liveStyle=!0),g[b]=I??null}),d.push({animation:g})}let p=!!d.length;return i&&(l.initial===!1||l.initial===l.animate)&&!t.manuallyAnimateOnMount&&(p=!1),i=!1,p?e(d):Promise.resolve()}function u(a,l){var c;if(n[a].isActive===l)return Promise.resolve();(c=t.variantChildren)===null||c===void 0||c.forEach(f=>{var h;return(h=f.animationState)===null||h===void 0?void 0:h.setActive(a,l)}),n[a].isActive=l;const d=o(a);for(const f in n)n[f].protectedKeys={};return d}return{animateChanges:o,setActive:u,setAnimateFunction:s,getState:()=>n,reset:()=>{n=js(),i=!0}}}function Td(t,e){return typeof e=="string"?e!==t:Array.isArray(e)?!Ur(e,t):!1}function ze(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function js(){return{animate:ze(!0),whileInView:ze(),whileHover:ze(),whileTap:ze(),whileDrag:ze(),whileFocus:ze(),exit:ze()}}class Vd extends We{constructor(e){super(e),e.animationState||(e.animationState=Ed(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();ht(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:n}=this.node.prevProps||{};e!==n&&this.updateAnimationControlsSubscription()}unmount(){var e;this.node.animationState.reset(),(e=this.unmountControls)===null||e===void 0||e.call(this)}}let wd=0;class Fd extends We{constructor(){super(...arguments),this.id=wd++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:n}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===i)return;const r=this.node.animationState.setActive("exit",!e);n&&!e&&r.then(()=>n(this.id))}mount(){const{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}const Bd={animation:{Feature:Vd},exit:{Feature:Fd}},Ys=(t,e)=>Math.abs(t-e);function Gd(t,e){const n=Ys(t.x,e.x),i=Ys(t.y,e.y);return Math.sqrt(n**2+i**2)}class Js{constructor(e,n,{transformPagePoint:i,contextWindow:r,dragSnapToOrigin:s=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const d=xi(this.lastMoveEventInfo,this.history),f=this.startEvent!==null,h=Gd(d.offset,{x:0,y:0})>=3;if(!f&&!h)return;const{point:m}=d,{timestamp:p}=$;this.history.push({...m,timestamp:p});const{onStart:g,onMove:b}=this.handlers;f||(g&&g(this.lastMoveEvent,d),this.startEvent=this.lastMoveEvent),b&&b(this.lastMoveEvent,d)},this.handlePointerMove=(d,f)=>{this.lastMoveEvent=d,this.lastMoveEventInfo=Ci(f,this.transformPagePoint),O.update(this.updatePoint,!0)},this.handlePointerUp=(d,f)=>{this.end();const{onEnd:h,onSessionEnd:m,resumeAnimation:p}=this.handlers;if(this.dragSnapToOrigin&&p&&p(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const g=xi(d.type==="pointercancel"?this.lastMoveEventInfo:Ci(f,this.transformPagePoint),this.history);this.startEvent&&h&&h(d,g),m&&m(d,g)},!Xr(e))return;this.dragSnapToOrigin=s,this.handlers=n,this.transformPagePoint=i,this.contextWindow=r||window;const o=Ut(e),u=Ci(o,this.transformPagePoint),{point:a}=u,{timestamp:l}=$;this.history=[{...a,timestamp:l}];const{onSessionStart:c}=n;c&&c(e,xi(u,this.history)),this.removeListeners=we(Ve(this.contextWindow,"pointermove",this.handlePointerMove),Ve(this.contextWindow,"pointerup",this.handlePointerUp),Ve(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),Ee(this.updatePoint)}}function Ci(t,e){return e?{point:e(t.point)}:t}function Us(t,e){return{x:t.x-e.x,y:t.y-e.y}}function xi({point:t},e){return{point:t,delta:Us(t,_s(e)),offset:Us(t,Md(e)),velocity:Dd(e,.1)}}function Md(t){return t[0]}function _s(t){return t[t.length-1]}function Dd(t,e){if(t.length<2)return{x:0,y:0};let n=t.length-1,i=null;const r=_s(t);for(;n>=0&&(i=t[n],!(r.timestamp-i.timestamp>Fe(e)));)n--;if(!i)return{x:0,y:0};const s=Be(r.timestamp-i.timestamp);if(s===0)return{x:0,y:0};const o={x:(r.x-i.x)/s,y:(r.y-i.y)/s};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}const Qs=1e-4,Rd=1-Qs,Nd=1+Qs,$s=.01,Ld=0-$s,Wd=0+$s;function ae(t){return t.max-t.min}function Od(t,e,n){return Math.abs(t-e)<=n}function Ks(t,e,n,i=.5){t.origin=i,t.originPoint=H(e.min,e.max,t.origin),t.scale=ae(n)/ae(e),t.translate=H(n.min,n.max,t.origin)-t.originPoint,(t.scale>=Rd&&t.scale<=Nd||isNaN(t.scale))&&(t.scale=1),(t.translate>=Ld&&t.translate<=Wd||isNaN(t.translate))&&(t.translate=0)}function St(t,e,n,i){Ks(t.x,e.x,n.x,i?i.originX:void 0),Ks(t.y,e.y,n.y,i?i.originY:void 0)}function qs(t,e,n){t.min=n.min+e.min,t.max=t.min+ae(e)}function Xd(t,e,n){qs(t.x,e.x,n.x),qs(t.y,e.y,n.y)}function eo(t,e,n){t.min=e.min-n.min,t.max=t.min+ae(e)}function Pt(t,e,n){eo(t.x,e.x,n.x),eo(t.y,e.y,n.y)}function Zd(t,{min:e,max:n},i){return e!==void 0&&t<e?t=i?H(e,t,i.min):Math.max(t,e):n!==void 0&&t>n&&(t=i?H(n,t,i.max):Math.min(t,n)),t}function to(t,e,n){return{min:e!==void 0?t.min+e:void 0,max:n!==void 0?t.max+n-(t.max-t.min):void 0}}function Hd(t,{top:e,left:n,bottom:i,right:r}){return{x:to(t.x,n,r),y:to(t.y,e,i)}}function no(t,e){let n=e.min-t.min,i=e.max-t.max;return e.max-e.min<t.max-t.min&&([n,i]=[i,n]),{min:n,max:i}}function kd(t,e){return{x:no(t.x,e.x),y:no(t.y,e.y)}}function zd(t,e){let n=.5;const i=ae(t),r=ae(e);return r>i?n=Ct(e.min,e.max-i,t.min):i>r&&(n=Ct(t.min,t.max-r,e.min)),Ne(0,1,n)}function jd(t,e){const n={};return e.min!==void 0&&(n.min=e.min-t.min),e.max!==void 0&&(n.max=e.max-t.min),n}const Ai=.35;function Yd(t=Ai){return t===!1?t=0:t===!0&&(t=Ai),{x:io(t,"left","right"),y:io(t,"top","bottom")}}function io(t,e,n){return{min:ro(t,e),max:ro(t,n)}}function ro(t,e){return typeof t=="number"?t:t[e]||0}const so=()=>({translate:0,scale:1,origin:0,originPoint:0}),nt=()=>({x:so(),y:so()}),oo=()=>({min:0,max:0}),j=()=>({x:oo(),y:oo()});function de(t){return[t("x"),t("y")]}function ao({top:t,left:e,right:n,bottom:i}){return{x:{min:e,max:n},y:{min:t,max:i}}}function Jd({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function Ud(t,e){if(!e)return t;const n=e({x:t.left,y:t.top}),i=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:i.y,right:i.x}}function Si(t){return t===void 0||t===1}function Pi({scale:t,scaleX:e,scaleY:n}){return!Si(t)||!Si(e)||!Si(n)}function je(t){return Pi(t)||uo(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function uo(t){return lo(t.x)||lo(t.y)}function lo(t){return t&&t!=="0%"}function tn(t,e,n){const i=t-n,r=e*i;return n+r}function co(t,e,n,i,r){return r!==void 0&&(t=tn(t,r,i)),tn(t,n,i)+e}function Ei(t,e=0,n=1,i,r){t.min=co(t.min,e,n,i,r),t.max=co(t.max,e,n,i,r)}function fo(t,{x:e,y:n}){Ei(t.x,e.translate,e.scale,e.originPoint),Ei(t.y,n.translate,n.scale,n.originPoint)}const ho=.999999999999,po=1.0000000000001;function _d(t,e,n,i=!1){const r=n.length;if(!r)return;e.x=e.y=1;let s,o;for(let u=0;u<r;u++){s=n[u],o=s.projectionDelta;const{visualElement:a}=s.options;a&&a.props.style&&a.props.style.display==="contents"||(i&&s.options.layoutScroll&&s.scroll&&s!==s.root&&it(t,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),o&&(e.x*=o.x.scale,e.y*=o.y.scale,fo(t,o)),i&&je(s.latestValues)&&it(t,s.latestValues))}e.x<po&&e.x>ho&&(e.x=1),e.y<po&&e.y>ho&&(e.y=1)}function Ze(t,e){t.min=t.min+e,t.max=t.max+e}function mo(t,e,n,i,r=.5){const s=H(t.min,t.max,r);Ei(t,e,n,s,i)}function it(t,e){mo(t.x,e.x,e.scaleX,e.scale,e.originX),mo(t.y,e.y,e.scaleY,e.scale,e.originY)}function go(t,e){return ao(Ud(t.getBoundingClientRect(),e))}function Qd(t,e,n){const i=go(t,n),{scroll:r}=e;return r&&(Ze(i.x,r.offset.x),Ze(i.y,r.offset.y)),i}const bo=({current:t})=>t?t.ownerDocument.defaultView:null,$d=new WeakMap;class Kd{constructor(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=j(),this.visualElement=e}start(e,{snapToCursor:n=!1}={}){const{presenceContext:i}=this.visualElement;if(i&&i.isPresent===!1)return;const r=c=>{const{dragSnapToOrigin:d}=this.getProps();d?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(Ut(c,"page").point)},s=(c,d)=>{var f;const{drag:h,dragPropagation:m,onDragStart:p}=this.getProps();if(h&&!m&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=zr(h),!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),de(b=>{let I=this.getAxisMotionValue(b).get()||0;if(ve.test(I)){const{projection:v}=this.visualElement;if(v&&v.layout){const x=v.layout.layoutBox[b];x&&(I=ae(x)*(parseFloat(I)/100))}}this.originPoint[b]=I}),p&&O.postRender(()=>p(c,d)),(f=this.removeWillChange)===null||f===void 0||f.call(this),this.removeWillChange=yi(this.visualElement,"transform");const{animationState:g}=this.visualElement;g&&g.setActive("whileDrag",!0)},o=(c,d)=>{const{dragPropagation:f,dragDirectionLock:h,onDirectionLock:m,onDrag:p}=this.getProps();if(!f&&!this.openGlobalLock)return;const{offset:g}=d;if(h&&this.currentDirection===null){this.currentDirection=qd(g),this.currentDirection!==null&&m&&m(this.currentDirection);return}this.updateAxis("x",d.point,g),this.updateAxis("y",d.point,g),this.visualElement.render(),p&&p(c,d)},u=(c,d)=>this.stop(c,d),a=()=>de(c=>{var d;return this.getAnimationState(c)==="paused"&&((d=this.getAxisMotionValue(c).animation)===null||d===void 0?void 0:d.play())}),{dragSnapToOrigin:l}=this.getProps();this.panSession=new Js(e,{onSessionStart:r,onStart:s,onMove:o,onSessionEnd:u,resumeAnimation:a},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:l,contextWindow:bo(this.visualElement)})}stop(e,n){var i;(i=this.removeWillChange)===null||i===void 0||i.call(this);const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:s}=n;this.startAnimation(s);const{onDragEnd:o}=this.getProps();o&&O.postRender(()=>o(e,n))}cancel(){this.isDragging=!1;const{projection:e,animationState:n}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:i}=this.getProps();!i&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(e,n,i){const{drag:r}=this.getProps();if(!i||!nn(e,r,this.currentDirection))return;const s=this.getAxisMotionValue(e);let o=this.originPoint[e]+i[e];this.constraints&&this.constraints[e]&&(o=Zd(o,this.constraints[e],this.elastic[e])),s.set(o)}resolveConstraints(){var e;const{dragConstraints:n,dragElastic:i}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(e=this.visualElement.projection)===null||e===void 0?void 0:e.layout,s=this.constraints;n&&Qe(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&r?this.constraints=Hd(r.layoutBox,n):this.constraints=!1,this.elastic=Yd(i),s!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&de(o=>{this.constraints!==!1&&this.getAxisMotionValue(o)&&(this.constraints[o]=jd(r.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:n}=this.getProps();if(!e||!Qe(e))return!1;const i=e.current;Pe(i!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:r}=this.visualElement;if(!r||!r.layout)return!1;const s=Qd(i,r.root,this.visualElement.getTransformPagePoint());let o=kd(r.layout.layoutBox,s);if(n){const u=n(Jd(o));this.hasMutatedConstraints=!!u,u&&(o=ao(u))}return o}startAnimation(e){const{drag:n,dragMomentum:i,dragElastic:r,dragTransition:s,dragSnapToOrigin:o,onDragTransitionEnd:u}=this.getProps(),a=this.constraints||{},l=de(c=>{if(!nn(c,n,this.currentDirection))return;let d=a&&a[c]||{};o&&(d={min:0,max:0});const f=r?200:1e6,h=r?40:1e7,m={type:"inertia",velocity:i?e[c]:0,bounceStiffness:f,bounceDamping:h,timeConstant:750,restDelta:1,restSpeed:10,...s,...d};return this.startAxisValueAnimation(c,m)});return Promise.all(l).then(u)}startAxisValueAnimation(e,n){const i=this.getAxisMotionValue(e);return i.start(gi(e,i,0,n,this.visualElement,!1,yi(this.visualElement,e)))}stopAnimation(){de(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){de(e=>{var n;return(n=this.getAxisMotionValue(e).animation)===null||n===void 0?void 0:n.pause()})}getAnimationState(e){var n;return(n=this.getAxisMotionValue(e).animation)===null||n===void 0?void 0:n.state}getAxisMotionValue(e){const n=`_drag${e.toUpperCase()}`,i=this.visualElement.getProps(),r=i[n];return r||this.visualElement.getValue(e,(i.initial?i.initial[e]:void 0)||0)}snapToCursor(e){de(n=>{const{drag:i}=this.getProps();if(!nn(n,i,this.currentDirection))return;const{projection:r}=this.visualElement,s=this.getAxisMotionValue(n);if(r&&r.layout){const{min:o,max:u}=r.layout.layoutBox[n];s.set(e[n]-H(o,u,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:n}=this.getProps(),{projection:i}=this.visualElement;if(!Qe(n)||!i||!this.constraints)return;this.stopAnimation();const r={x:0,y:0};de(o=>{const u=this.getAxisMotionValue(o);if(u&&this.constraints!==!1){const a=u.get();r[o]=zd({min:a,max:a},this.constraints[o])}});const{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),de(o=>{if(!nn(o,e,null))return;const u=this.getAxisMotionValue(o),{min:a,max:l}=this.constraints[o];u.set(H(a,l,r[o]))})}addListeners(){if(!this.visualElement.current)return;$d.set(this.visualElement,this);const e=this.visualElement.current,n=Ve(e,"pointerdown",a=>{const{drag:l,dragListener:c=!0}=this.getProps();l&&c&&this.start(a)}),i=()=>{const{dragConstraints:a}=this.getProps();Qe(a)&&a.current&&(this.constraints=this.resolveRefConstraints())},{projection:r}=this.visualElement,s=r.addEventListener("measure",i);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),O.read(i);const o=Te(window,"resize",()=>this.scalePositionWithinConstraints()),u=r.addEventListener("didUpdate",({delta:a,hasLayoutChanged:l})=>{this.isDragging&&l&&(de(c=>{const d=this.getAxisMotionValue(c);d&&(this.originPoint[c]+=a[c].translate,d.set(d.get()+a[c].translate))}),this.visualElement.render())});return()=>{o(),n(),s(),u&&u()}}getProps(){const e=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:i=!1,dragPropagation:r=!1,dragConstraints:s=!1,dragElastic:o=Ai,dragMomentum:u=!0}=e;return{...e,drag:n,dragDirectionLock:i,dragPropagation:r,dragConstraints:s,dragElastic:o,dragMomentum:u}}}function nn(t,e,n){return(e===!0||e===t)&&(n===null||n===t)}function qd(t,e=10){let n=null;return Math.abs(t.y)>e?n="y":Math.abs(t.x)>e&&(n="x"),n}class ef extends We{constructor(e){super(e),this.removeGroupControls=Q,this.removeListeners=Q,this.controls=new Kd(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Q}unmount(){this.removeGroupControls(),this.removeListeners()}}const vo=t=>(e,n)=>{t&&O.postRender(()=>t(e,n))};class tf extends We{constructor(){super(...arguments),this.removePointerDownListener=Q}onPointerDown(e){this.session=new Js(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:bo(this.node)})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:n,onPan:i,onPanEnd:r}=this.node.getProps();return{onSessionStart:vo(e),onStart:vo(n),onMove:i,onEnd:(s,o)=>{delete this.session,r&&O.postRender(()=>r(s,o))}}}mount(){this.removePointerDownListener=Ve(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}function nf(){const t=C.useContext(Wt);if(t===null)return[!0,null];const{isPresent:e,onExitComplete:n,register:i}=t,r=C.useId();return C.useEffect(()=>i(r),[]),!e&&n?[!1,()=>n&&n(r)]:[!0]}const rn={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function yo(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}const Et={correct:(t,e)=>{if(!e.target)return t;if(typeof t=="string")if(w.test(t))t=parseFloat(t);else return t;const n=yo(t,e.target.x),i=yo(t,e.target.y);return`${n}% ${i}%`}},rf={correct:(t,{treeScale:e,projectionDelta:n})=>{const i=t,r=Xe.parse(t);if(r.length>5)return i;const s=Xe.createTransformer(t),o=typeof r[0]!="number"?1:0,u=n.x.scale*e.x,a=n.y.scale*e.y;r[0+o]/=u,r[1+o]/=a;const l=H(u,a,.5);return typeof r[2+o]=="number"&&(r[2+o]/=l),typeof r[3+o]=="number"&&(r[3+o]/=l),s(r)}};class sf extends C.Component{componentDidMount(){const{visualElement:e,layoutGroup:n,switchLayoutGroup:i,layoutId:r}=this.props,{projection:s}=e;qu(of),s&&(n.group&&n.group.add(s),i&&i.register&&r&&i.register(s),s.root.didUpdate(),s.addEventListener("animationComplete",()=>{this.safeToRemove()}),s.setOptions({...s.options,onExitComplete:()=>this.safeToRemove()})),rn.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:n,visualElement:i,drag:r,isPresent:s}=this.props,o=i.projection;return o&&(o.isPresent=s,r||e.layoutDependency!==n||n===void 0?o.willUpdate():this.safeToRemove(),e.isPresent!==s&&(s?o.promote():o.relegate()||O.postRender(()=>{const u=o.getStack();(!u||!u.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),Mn.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:e,layoutGroup:n,switchLayoutGroup:i}=this.props,{projection:r}=e;r&&(r.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(r),i&&i.deregister&&i.deregister(r))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function Io(t){const[e,n]=nf(),i=C.useContext(Nn);return B.jsx(sf,{...t,layoutGroup:i,switchLayoutGroup:C.useContext(pr),isPresent:e,safeToRemove:n})}const of={borderRadius:{...Et,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Et,borderTopRightRadius:Et,borderBottomLeftRadius:Et,borderBottomRightRadius:Et,boxShadow:rf},Co=["TopLeft","TopRight","BottomLeft","BottomRight"],af=Co.length,xo=t=>typeof t=="string"?parseFloat(t):t,Ao=t=>typeof t=="number"||w.test(t);function uf(t,e,n,i,r,s){r?(t.opacity=H(0,n.opacity!==void 0?n.opacity:1,lf(i)),t.opacityExit=H(e.opacity!==void 0?e.opacity:1,0,cf(i))):s&&(t.opacity=H(e.opacity!==void 0?e.opacity:1,n.opacity!==void 0?n.opacity:1,i));for(let o=0;o<af;o++){const u=`border${Co[o]}Radius`;let a=So(e,u),l=So(n,u);if(a===void 0&&l===void 0)continue;a||(a=0),l||(l=0),a===0||l===0||Ao(a)===Ao(l)?(t[u]=Math.max(H(xo(a),xo(l),i),0),(ve.test(l)||ve.test(a))&&(t[u]+="%")):t[u]=l}(e.rotate||n.rotate)&&(t.rotate=H(e.rotate||0,n.rotate||0,i))}function So(t,e){return t[e]!==void 0?t[e]:t.borderRadius}const lf=Po(0,.5,Ts),cf=Po(.5,.95,Q);function Po(t,e,n){return i=>i<t?0:i>e?1:n(Ct(t,e,i))}function Eo(t,e){t.min=e.min,t.max=e.max}function fe(t,e){Eo(t.x,e.x),Eo(t.y,e.y)}function To(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function Vo(t,e,n,i,r){return t-=e,t=tn(t,1/n,i),r!==void 0&&(t=tn(t,1/r,i)),t}function df(t,e=0,n=1,i=.5,r,s=t,o=t){if(ve.test(e)&&(e=parseFloat(e),e=H(o.min,o.max,e/100)-o.min),typeof e!="number")return;let u=H(s.min,s.max,i);t===s&&(u-=e),t.min=Vo(t.min,e,n,u,r),t.max=Vo(t.max,e,n,u,r)}function wo(t,e,[n,i,r],s,o){df(t,e[n],e[i],e[r],e.scale,s,o)}const ff=["x","scaleX","originX"],hf=["y","scaleY","originY"];function Fo(t,e,n,i){wo(t.x,e,ff,n?n.x:void 0,i?i.x:void 0),wo(t.y,e,hf,n?n.y:void 0,i?i.y:void 0)}function Bo(t){return t.translate===0&&t.scale===1}function Go(t){return Bo(t.x)&&Bo(t.y)}function pf(t,e){return t.x.min===e.x.min&&t.x.max===e.x.max&&t.y.min===e.y.min&&t.y.max===e.y.max}function Mo(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 Do(t){return ae(t.x)/ae(t.y)}function Ro(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class mf{constructor(){this.members=[]}add(e){Yt(this.members,e),e.scheduleRender()}remove(e){if(Jt(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(e){const n=this.members.findIndex(r=>e===r);if(n===0)return!1;let i;for(let r=n;r>=0;r--){const s=this.members[r];if(s.isPresent!==!1){i=s;break}}return i?(this.promote(i),!0):!1}promote(e,n){const i=this.lead;if(e!==i&&(this.prevLead=i,this.lead=e,e.show(),i)){i.instance&&i.scheduleRender(),e.scheduleRender(),e.resumeFrom=i,n&&(e.resumeFrom.preserveOpacity=!0),i.snapshot&&(e.snapshot=i.snapshot,e.snapshot.latestValues=i.animationValues||i.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:r}=e.options;r===!1&&i.hide()}}exitAnimationComplete(){this.members.forEach(e=>{const{options:n,resumingFrom:i}=e;n.onExitComplete&&n.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function gf(t,e,n){let i="";const r=t.x.translate/e.x,s=t.y.translate/e.y,o=(n==null?void 0:n.z)||0;if((r||s||o)&&(i=`translate3d(${r}px, ${s}px, ${o}px) `),(e.x!==1||e.y!==1)&&(i+=`scale(${1/e.x}, ${1/e.y}) `),n){const{transformPerspective:l,rotate:c,rotateX:d,rotateY:f,skewX:h,skewY:m}=n;l&&(i=`perspective(${l}px) ${i}`),c&&(i+=`rotate(${c}deg) `),d&&(i+=`rotateX(${d}deg) `),f&&(i+=`rotateY(${f}deg) `),h&&(i+=`skewX(${h}deg) `),m&&(i+=`skewY(${m}deg) `)}const u=t.x.scale*e.x,a=t.y.scale*e.y;return(u!==1||a!==1)&&(i+=`scale(${u}, ${a})`),i||"none"}const bf=(t,e)=>t.depth-e.depth;class vf{constructor(){this.children=[],this.isDirty=!1}add(e){Yt(this.children,e),this.isDirty=!0}remove(e){Jt(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(bf),this.isDirty=!1,this.children.forEach(e)}}function yf(t,e){const n=Oe.now(),i=({timestamp:r})=>{const s=r-n;s>=e&&(Ee(i),t(s-e))};return O.read(i,!0),()=>Ee(i)}function If(t){return t instanceof SVGElement&&t.tagName!=="svg"}function Cf(t,e,n){const i=q(t)?t:At(t);return i.start(gi("",i,e,n)),i.animation}const Ye={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},Ti=["","X","Y","Z"],xf={visibility:"hidden"},No=1e3;let Af=0;function Vi(t,e,n,i){const{latestValues:r}=e;r[t]&&(n[t]=r[t],e.setStaticValue(t,0),i&&(i[t]=0))}function Lo(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return!1;const{visualElement:e}=t.options;return e?ks(e)?!0:t.parent&&!t.parent.hasCheckedOptimisedAppear?Lo(t.parent):!1:!1}function Wo({attachResizeListener:t,defaultParent:e,measureScroll:n,checkIsScrollRoot:i,resetTransform:r}){return class{constructor(o={},u=e==null?void 0:e()){this.id=Af++,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,window.MotionDebug&&(Ye.totalNodes=Ye.resolvedTargetDeltas=Ye.recalculatedProjection=0),this.nodes.forEach(Ef),this.nodes.forEach(Bf),this.nodes.forEach(Gf),this.nodes.forEach(Tf),window.MotionDebug&&window.MotionDebug.record(Ye)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=o,this.root=u?u.root||u:this,this.path=u?[...u.path,u]:[],this.parent=u,this.depth=u?u.depth+1:0;for(let a=0;a<this.path.length;a++)this.path[a].shouldResetTransform=!0;this.root===this&&(this.nodes=new vf)}addEventListener(o,u){return this.eventHandlers.has(o)||this.eventHandlers.set(o,new bi),this.eventHandlers.get(o).add(u)}notifyListeners(o,...u){const a=this.eventHandlers.get(o);a&&a.notify(...u)}hasListeners(o){return this.eventHandlers.has(o)}mount(o,u=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=If(o),this.instance=o;const{layoutId:a,layout:l,visualElement:c}=this.options;if(c&&!c.current&&c.mount(o),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),u&&(l||a)&&(this.isLayoutDirty=!0),t){let d;const f=()=>this.root.updateBlockedByResize=!1;t(o,()=>{this.root.updateBlockedByResize=!0,d&&d(),d=yf(f,250),rn.hasAnimatedSinceResize&&(rn.hasAnimatedSinceResize=!1,this.nodes.forEach(Xo))})}a&&this.root.registerSharedNode(a,this),this.options.animate!==!1&&c&&(a||l)&&this.addEventListener("didUpdate",({delta:d,hasLayoutChanged:f,hasRelativeTargetChanged:h,layout:m})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const p=this.options.transition||c.getDefaultTransition()||Lf,{onLayoutAnimationStart:g,onLayoutAnimationComplete:b}=c.getProps(),I=!this.targetLayout||!Mo(this.targetLayout,m)||h,v=!f&&h;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||v||f&&(I||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(d,v);const x={...$n(p,"layout"),onPlay:g,onComplete:b};(c.shouldReduceMotion||this.options.layoutRoot)&&(x.delay=0,x.type=!1),this.startAnimation(x)}else f||Xo(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=m})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const o=this.getStack();o&&o.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Ee(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(Mf),this.animationId++)}getTransformTemplate(){const{visualElement:o}=this.options;return o&&o.getProps().transformTemplate}willUpdate(o=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.HandoffCancelAllAnimations&&Lo(this)&&window.HandoffCancelAllAnimations(),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let c=0;c<this.path.length;c++){const d=this.path[c];d.shouldResetTransform=!0,d.updateScroll("snapshot"),d.options.layoutRoot&&d.willUpdate(!1)}const{layoutId:u,layout:a}=this.options;if(u===void 0&&!a)return;const l=this.getTransformTemplate();this.prevTransformTemplateValue=l?l(this.latestValues,""):void 0,this.updateSnapshot(),o&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(Oo);return}this.isUpdating||this.nodes.forEach(wf),this.isUpdating=!1,this.nodes.forEach(Ff),this.nodes.forEach(Sf),this.nodes.forEach(Pf),this.clearAllSnapshots();const u=Oe.now();$.delta=Ne(0,1e3/60,u-$.timestamp),$.timestamp=u,$.isProcessing=!0,Jn.update.process($),Jn.preRender.process($),Jn.render.process($),$.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Mn.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Vf),this.sharedNodes.forEach(Df)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,O.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){O.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 a=0;a<this.path.length;a++)this.path[a].updateScroll();const o=this.layout;this.layout=this.measure(!1),this.layoutCorrected=j(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:u}=this.options;u&&u.notify("LayoutMeasure",this.layout.layoutBox,o?o.layoutBox:void 0)}updateScroll(o="measure"){let u=!!(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===o&&(u=!1),u&&(this.scroll={animationId:this.root.animationId,phase:o,isRoot:i(this.instance),offset:n(this.instance)})}resetTransform(){if(!r)return;const o=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,u=this.projectionDelta&&!Go(this.projectionDelta),a=this.getTransformTemplate(),l=a?a(this.latestValues,""):void 0,c=l!==this.prevTransformTemplateValue;o&&(u||je(this.latestValues)||c)&&(r(this.instance,l),this.shouldResetTransform=!1,this.scheduleRender())}measure(o=!0){const u=this.measurePageBox();let a=this.removeElementScroll(u);return o&&(a=this.removeTransform(a)),Wf(a),{animationId:this.root.animationId,measuredBox:u,layoutBox:a,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:o}=this.options;if(!o)return j();const u=o.measureViewportBox(),{scroll:a}=this.root;return a&&(Ze(u.x,a.offset.x),Ze(u.y,a.offset.y)),u}removeElementScroll(o){const u=j();fe(u,o);for(let a=0;a<this.path.length;a++){const l=this.path[a],{scroll:c,options:d}=l;if(l!==this.root&&c&&d.layoutScroll){if(c.isRoot){fe(u,o);const{scroll:f}=this.root;f&&(Ze(u.x,-f.offset.x),Ze(u.y,-f.offset.y))}Ze(u.x,c.offset.x),Ze(u.y,c.offset.y)}}return u}applyTransform(o,u=!1){const a=j();fe(a,o);for(let l=0;l<this.path.length;l++){const c=this.path[l];!u&&c.options.layoutScroll&&c.scroll&&c!==c.root&&it(a,{x:-c.scroll.offset.x,y:-c.scroll.offset.y}),je(c.latestValues)&&it(a,c.latestValues)}return je(this.latestValues)&&it(a,this.latestValues),a}removeTransform(o){const u=j();fe(u,o);for(let a=0;a<this.path.length;a++){const l=this.path[a];if(!l.instance||!je(l.latestValues))continue;Pi(l.latestValues)&&l.updateSnapshot();const c=j(),d=l.measurePageBox();fe(c,d),Fo(u,l.latestValues,l.snapshot?l.snapshot.layoutBox:void 0,c)}return je(this.latestValues)&&Fo(u,this.latestValues),u}setTargetDelta(o){this.targetDelta=o,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(o){this.options={...this.options,...o,crossfade:o.crossfade!==void 0?o.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==$.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(o=!1){var u;const a=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=a.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=a.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=a.isSharedProjectionDirty);const l=!!this.resumingFrom||this!==a;if(!(o||l&&this.isSharedProjectionDirty||this.isProjectionDirty||!((u=this.parent)===null||u===void 0)&&u.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:d,layoutId:f}=this.options;if(!(!this.layout||!(d||f))){if(this.resolvedRelativeTargetAt=$.timestamp,!this.targetDelta&&!this.relativeTarget){const h=this.getClosestProjectingParent();h&&h.layout&&this.animationProgress!==1?(this.relativeParent=h,this.forceRelativeParentToResolveTarget(),this.relativeTarget=j(),this.relativeTargetOrigin=j(),Pt(this.relativeTargetOrigin,this.layout.layoutBox,h.layout.layoutBox),fe(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=j(),this.targetWithTransforms=j()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),Xd(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):fe(this.target,this.layout.layoutBox),fo(this.target,this.targetDelta)):fe(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const h=this.getClosestProjectingParent();h&&!!h.resumingFrom==!!this.resumingFrom&&!h.options.layoutScroll&&h.target&&this.animationProgress!==1?(this.relativeParent=h,this.forceRelativeParentToResolveTarget(),this.relativeTarget=j(),this.relativeTargetOrigin=j(),Pt(this.relativeTargetOrigin,this.target,h.target),fe(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}window.MotionDebug&&Ye.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||Pi(this.parent.latestValues)||uo(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var o;const u=this.getLead(),a=!!this.resumingFrom||this!==u;let l=!0;if((this.isProjectionDirty||!((o=this.parent)===null||o===void 0)&&o.isProjectionDirty)&&(l=!1),a&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(l=!1),this.resolvedRelativeTargetAt===$.timestamp&&(l=!1),l)return;const{layout:c,layoutId:d}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(c||d))return;fe(this.layoutCorrected,this.layout.layoutBox);const f=this.treeScale.x,h=this.treeScale.y;_d(this.layoutCorrected,this.treeScale,this.path,a),u.layout&&!u.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(u.target=u.layout.layoutBox,u.targetWithTransforms=j());const{target:m}=u;if(!m){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(To(this.prevProjectionDelta.x,this.projectionDelta.x),To(this.prevProjectionDelta.y,this.projectionDelta.y)),St(this.projectionDelta,this.layoutCorrected,m,this.latestValues),(this.treeScale.x!==f||this.treeScale.y!==h||!Ro(this.projectionDelta.x,this.prevProjectionDelta.x)||!Ro(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",m)),window.MotionDebug&&Ye.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(o=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),o){const u=this.getStack();u&&u.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=nt(),this.projectionDelta=nt(),this.projectionDeltaWithTransform=nt()}setAnimationOrigin(o,u=!1){const a=this.snapshot,l=a?a.latestValues:{},c={...this.latestValues},d=nt();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!u;const f=j(),h=a?a.source:void 0,m=this.layout?this.layout.source:void 0,p=h!==m,g=this.getStack(),b=!g||g.members.length<=1,I=!!(p&&!b&&this.options.crossfade===!0&&!this.path.some(Nf));this.animationProgress=0;let v;this.mixTargetDelta=x=>{const y=x/1e3;Zo(d.x,o.x,y),Zo(d.y,o.y,y),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Pt(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Rf(this.relativeTarget,this.relativeTargetOrigin,f,y),v&&pf(this.relativeTarget,v)&&(this.isProjectionDirty=!1),v||(v=j()),fe(v,this.relativeTarget)),p&&(this.animationValues=c,uf(c,l,this.latestValues,y,I,b)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=y},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(o){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Ee(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=O.update(()=>{rn.hasAnimatedSinceResize=!0,this.currentAnimation=Cf(0,No,{...o,onUpdate:u=>{this.mixTargetDelta(u),o.onUpdate&&o.onUpdate(u)},onComplete:()=>{o.onComplete&&o.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const o=this.getStack();o&&o.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(No),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const o=this.getLead();let{targetWithTransforms:u,target:a,layout:l,latestValues:c}=o;if(!(!u||!a||!l)){if(this!==o&&this.layout&&l&&Yo(this.options.animationType,this.layout.layoutBox,l.layoutBox)){a=this.target||j();const d=ae(this.layout.layoutBox.x);a.x.min=o.target.x.min,a.x.max=a.x.min+d;const f=ae(this.layout.layoutBox.y);a.y.min=o.target.y.min,a.y.max=a.y.min+f}fe(u,a),it(u,c),St(this.projectionDeltaWithTransform,this.layoutCorrected,u,c)}}registerSharedNode(o,u){this.sharedNodes.has(o)||this.sharedNodes.set(o,new mf),this.sharedNodes.get(o).add(u);const l=u.options.initialPromotionConfig;u.promote({transition:l?l.transition:void 0,preserveFollowOpacity:l&&l.shouldPreserveFollowOpacity?l.shouldPreserveFollowOpacity(u):void 0})}isLead(){const o=this.getStack();return o?o.lead===this:!0}getLead(){var o;const{layoutId:u}=this.options;return u?((o=this.getStack())===null||o===void 0?void 0:o.lead)||this:this}getPrevLead(){var o;const{layoutId:u}=this.options;return u?(o=this.getStack())===null||o===void 0?void 0:o.prevLead:void 0}getStack(){const{layoutId:o}=this.options;if(o)return this.root.sharedNodes.get(o)}promote({needsReset:o,transition:u,preserveFollowOpacity:a}={}){const l=this.getStack();l&&l.promote(this,a),o&&(this.projectionDelta=void 0,this.needsReset=!0),u&&this.setOptions({transition:u})}relegate(){const o=this.getStack();return o?o.relegate(this):!1}resetSkewAndRotation(){const{visualElement:o}=this.options;if(!o)return;let u=!1;const{latestValues:a}=o;if((a.z||a.rotate||a.rotateX||a.rotateY||a.rotateZ||a.skewX||a.skewY)&&(u=!0),!u)return;const l={};a.z&&Vi("z",o,l,this.animationValues);for(let c=0;c<Ti.length;c++)Vi(`rotate${Ti[c]}`,o,l,this.animationValues),Vi(`skew${Ti[c]}`,o,l,this.animationValues);o.render();for(const c in l)o.setStaticValue(c,l[c]),this.animationValues&&(this.animationValues[c]=l[c]);o.scheduleRender()}getProjectionStyles(o){var u,a;if(!this.instance||this.isSVG)return;if(!this.isVisible)return xf;const l={visibility:""},c=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,l.opacity="",l.pointerEvents=jt(o==null?void 0:o.pointerEvents)||"",l.transform=c?c(this.latestValues,""):"none",l;const d=this.getLead();if(!this.projectionDelta||!this.layout||!d.target){const p={};return this.options.layoutId&&(p.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,p.pointerEvents=jt(o==null?void 0:o.pointerEvents)||""),this.hasProjected&&!je(this.latestValues)&&(p.transform=c?c({},""):"none",this.hasProjected=!1),p}const f=d.animationValues||d.latestValues;this.applyTransformsToTarget(),l.transform=gf(this.projectionDeltaWithTransform,this.treeScale,f),c&&(l.transform=c(f,l.transform));const{x:h,y:m}=this.projectionDelta;l.transformOrigin=`${h.origin*100}% ${m.origin*100}% 0`,d.animationValues?l.opacity=d===this?(a=(u=f.opacity)!==null&&u!==void 0?u:this.latestValues.opacity)!==null&&a!==void 0?a:1:this.preserveOpacity?this.latestValues.opacity:f.opacityExit:l.opacity=d===this?f.opacity!==void 0?f.opacity:"":f.opacityExit!==void 0?f.opacityExit:0;for(const p in Ht){if(f[p]===void 0)continue;const{correct:g,applyTo:b}=Ht[p],I=l.transform==="none"?f[p]:g(f[p],d);if(b){const v=b.length;for(let x=0;x<v;x++)l[b[x]]=I}else l[p]=I}return this.options.layoutId&&(l.pointerEvents=d===this?jt(o==null?void 0:o.pointerEvents)||"":"none"),l}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(o=>{var u;return(u=o.currentAnimation)===null||u===void 0?void 0:u.stop()}),this.root.nodes.forEach(Oo),this.root.sharedNodes.clear()}}}function Sf(t){t.updateLayout()}function Pf(t){var e;const n=((e=t.resumeFrom)===null||e===void 0?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&n&&t.hasListeners("didUpdate")){const{layoutBox:i,measuredBox:r}=t.layout,{animationType:s}=t.options,o=n.source!==t.layout.source;s==="size"?de(d=>{const f=o?n.measuredBox[d]:n.layoutBox[d],h=ae(f);f.min=i[d].min,f.max=f.min+h}):Yo(s,n.layoutBox,i)&&de(d=>{const f=o?n.measuredBox[d]:n.layoutBox[d],h=ae(i[d]);f.max=f.min+h,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[d].max=t.relativeTarget[d].min+h)});const u=nt();St(u,i,n.layoutBox);const a=nt();o?St(a,t.applyTransform(r,!0),n.measuredBox):St(a,i,n.layoutBox);const l=!Go(u);let c=!1;if(!t.resumeFrom){const d=t.getClosestProjectingParent();if(d&&!d.resumeFrom){const{snapshot:f,layout:h}=d;if(f&&h){const m=j();Pt(m,n.layoutBox,f.layoutBox);const p=j();Pt(p,i,h.layoutBox),Mo(m,p)||(c=!0),d.options.layoutRoot&&(t.relativeTarget=p,t.relativeTargetOrigin=m,t.relativeParent=d)}}}t.notifyListeners("didUpdate",{layout:i,snapshot:n,delta:a,layoutDelta:u,hasLayoutChanged:l,hasRelativeTargetChanged:c})}else if(t.isLead()){const{onExitComplete:i}=t.options;i&&i()}t.options.transition=void 0}function Ef(t){window.MotionDebug&&Ye.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 Tf(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function Vf(t){t.clearSnapshot()}function Oo(t){t.clearMeasurements()}function wf(t){t.isLayoutDirty=!1}function Ff(t){const{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function Xo(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function Bf(t){t.resolveTargetDelta()}function Gf(t){t.calcProjection()}function Mf(t){t.resetSkewAndRotation()}function Df(t){t.removeLeadSnapshot()}function Zo(t,e,n){t.translate=H(e.translate,0,n),t.scale=H(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function Ho(t,e,n,i){t.min=H(e.min,n.min,i),t.max=H(e.max,n.max,i)}function Rf(t,e,n,i){Ho(t.x,e.x,n.x,i),Ho(t.y,e.y,n.y,i)}function Nf(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const Lf={duration:.45,ease:[.4,0,.1,1]},ko=t=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),zo=ko("applewebkit/")&&!ko("chrome/")?Math.round:Q;function jo(t){t.min=zo(t.min),t.max=zo(t.max)}function Wf(t){jo(t.x),jo(t.y)}function Yo(t,e,n){return t==="position"||t==="preserve-aspect"&&!Od(Do(e),Do(n),.2)}const Of=Wo({attachResizeListener:(t,e)=>Te(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),wi={current:void 0},Jo=Wo({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!wi.current){const t=new Of({});t.mount(window),t.setOptions({layoutScroll:!0}),wi.current=t}return wi.current},resetTransform:(t,e)=>{t.style.transform=e!==void 0?e:"none"},checkIsScrollRoot:t=>window.getComputedStyle(t).position==="fixed"}),Xf={pan:{Feature:tf},drag:{Feature:ef,ProjectionNode:Jo,MeasureLayout:Io}},Fi={current:null},Uo={current:!1};function Zf(){if(Uo.current=!0,!!Bn)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>Fi.current=t.matches;t.addListener(e),e()}else Fi.current=!1}function Hf(t,e,n){for(const i in e){const r=e[i],s=n[i];if(q(r))t.addValue(i,r),process.env.NODE_ENV==="development"&&vi(r.version==="11.3.8",`Attempting to mix Framer Motion versions ${r.version} with 11.3.8 may not work as expected.`);else if(q(s))t.addValue(i,At(r,{owner:t}));else if(s!==r)if(t.hasValue(i)){const o=t.getValue(i);o.liveStyle===!0?o.jump(r):o.hasAnimated||o.set(r)}else{const o=t.getStaticValue(i);t.addValue(i,At(o!==void 0?o:r,{owner:t}))}}for(const i in n)e[i]===void 0&&t.removeValue(i);return e}const _o=new WeakMap,kf=[...ns,ee,Xe],zf=t=>kf.find(ts(t)),Qo=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],jf=Rn.length;class Yf{scrapeMotionValuesFromProps(e,n,i){return{}}constructor({parent:e,props:n,presenceContext:i,reducedMotionConfig:r,blockInitialAnimation:s,visualState:o},u={}){this.applyWillChange=!1,this.resolveKeyframes=(f,h,m,p)=>new this.KeyframeResolver(f,h,m,p,this),this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=ei,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.isRenderScheduled=!1,this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.isRenderScheduled=!1,this.scheduleRender=()=>{this.isRenderScheduled||(this.isRenderScheduled=!0,O.render(this.render,!1,!0))};const{latestValues:a,renderState:l}=o;this.latestValues=a,this.baseTarget={...a},this.initialValues=n.initial?{...a}:{},this.renderState=l,this.parent=e,this.props=n,this.presenceContext=i,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.options=u,this.blockInitialAnimation=!!s,this.isControllingVariants=Zt(n),this.isVariantNode=br(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);const{willChange:c,...d}=this.scrapeMotionValuesFromProps(n,{},this);for(const f in d){const h=d[f];a[f]!==void 0&&q(h)&&h.set(a[f],!1)}}mount(e){this.current=e,_o.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,i)=>this.bindToMotionValue(i,n)),Uo.current||Zf(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Fi.current,process.env.NODE_ENV!=="production"&&vi(this.shouldReduceMotion!==!0,"You have Reduced Motion enabled on your device. Animations may not appear as expected."),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){_o.delete(this.current),this.projection&&this.projection.unmount(),Ee(this.notifyUpdate),Ee(this.render),this.valueSubscriptions.forEach(e=>e()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const e in this.events)this.events[e].clear();for(const e in this.features){const n=this.features[e];n&&(n.unmount(),n.isMounted=!1)}this.current=null}bindToMotionValue(e,n){const i=Re.has(e),r=n.on("change",o=>{this.latestValues[e]=o,this.props.onUpdate&&O.preRender(this.notifyUpdate),i&&this.projection&&(this.projection.isTransformDirty=!0)}),s=n.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,()=>{r(),s(),n.owner&&n.stop()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e="animation";for(e in $e){const n=$e[e];if(!n)continue;const{isEnabled:i,Feature:r}=n;if(!this.features[e]&&r&&i(this.props)&&(this.features[e]=new r(this)),this.features[e]){const s=this.features[e];s.isMounted?s.update():(s.mount(),s.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):j()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,n){this.latestValues[e]=n}update(e,n){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let i=0;i<Qo.length;i++){const r=Qo[i];this.propEventSubscriptions[r]&&(this.propEventSubscriptions[r](),delete this.propEventSubscriptions[r]);const s="on"+r,o=e[s];o&&(this.propEventSubscriptions[r]=this.on(r,o))}this.prevMotionValues=Hf(this,this.scrapeMotionValuesFromProps(e,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]: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(e=!1){if(e)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){const i=this.parent?this.parent.getVariantContext()||{}:{};return this.props.initial!==void 0&&(i.initial=this.props.initial),i}const n={};for(let i=0;i<jf;i++){const r=Rn[i],s=this.props[r];(ft(s)||s===!1)&&(n[r]=s)}return n}addVariantChild(e){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(e),()=>n.variantChildren.delete(e)}addValue(e,n){const i=this.values.get(e);n!==i&&(i&&this.removeValue(e),this.bindToMotionValue(e,n),this.values.set(e,n),this.latestValues[e]=n.get())}removeValue(e){this.values.delete(e);const n=this.valueSubscriptions.get(e);n&&(n(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,n){if(this.props.values&&this.props.values[e])return this.props.values[e];let i=this.values.get(e);return i===void 0&&n!==void 0&&(i=At(n===null?void 0:n,{owner:this}),this.addValue(e,i)),i}readValue(e,n){var i;let r=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:(i=this.getBaseTargetFromProps(this.props,e))!==null&&i!==void 0?i:this.readValueFromInstance(this.current,e,this.options);return r!=null&&(typeof r=="string"&&(Qr(r)||_r(r))?r=parseFloat(r):!zf(r)&&Xe.test(n)&&(r=fs(e,n)),this.setBaseTarget(e,q(r)?r.get():r)),q(r)?r.get():r}setBaseTarget(e,n){this.baseTarget[e]=n}getBaseTarget(e){var n;const{initial:i}=this.props;let r;if(typeof i=="string"||typeof i=="object"){const o=jn(this.props,i,(n=this.presenceContext)===null||n===void 0?void 0:n.custom);o&&(r=o[e])}if(i&&r!==void 0)return r;const s=this.getBaseTargetFromProps(this.props,e);return s!==void 0&&!q(s)?s:this.initialValues[e]!==void 0&&r===void 0?void 0:this.baseTarget[e]}on(e,n){return this.events[e]||(this.events[e]=new bi),this.events[e].add(n)}notify(e,...n){this.events[e]&&this.events[e].notify(...n)}}class $o extends Yf{constructor(){super(...arguments),this.KeyframeResolver=hs}sortInstanceNodePosition(e,n){return e.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(e,n){return e.style?e.style[n]:void 0}removeValueFromRenderState(e,{vars:n,style:i}){delete n[e],delete i[e]}}function Jf(t){return window.getComputedStyle(t)}class Uf extends $o{constructor(){super(...arguments),this.type="html",this.applyWillChange=!0,this.renderInstance=Fr}readValueFromInstance(e,n){if(Re.has(n)){const i=si(n);return i&&i.default||0}else{const i=Jf(e),r=(xr(n)?i.getPropertyValue(n):i[n])||0;return typeof r=="string"?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:n}){return go(e,n)}build(e,n,i){Xn(e,n,i.transformTemplate)}scrapeMotionValuesFromProps(e,n,i){return zn(e,n,i)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;q(e)&&(this.childSubscription=e.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}class _f extends $o{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=j}getBaseTargetFromProps(e,n){return e[n]}readValueFromInstance(e,n){if(Re.has(n)){const i=si(n);return i&&i.default||0}return n=Br.has(n)?n:Ot(n),e.getAttribute(n)}scrapeMotionValuesFromProps(e,n,i){return Mr(e,n,i)}build(e,n,i){Hn(e,n,this.isSVGTag,i.transformTemplate)}renderInstance(e,n,i,r){Gr(e,n,i,r)}mount(e){this.isSVGTag=kn(e.tagName),super.mount(e)}}const Qf=(t,e)=>Ln(t)?new _f(e):new Uf(e,{allowProjection:t!==C.Fragment}),$f={...Bd,...kl,...Xf,...{layout:{ProjectionNode:Jo,MeasureLayout:Io}}},Ko=$u((t,e)=>Fl(t,e,$f,Qf));function qo(){const t=C.useRef(!1);return Gn(()=>(t.current=!0,()=>{t.current=!1}),[]),t}function Kf(){const t=qo(),[e,n]=C.useState(0),i=C.useCallback(()=>{t.current&&n(e+1)},[e]);return[C.useCallback(()=>O.postRender(i),[i]),e]}class qf extends G.Component{getSnapshotBeforeUpdate(e){const n=this.props.childRef.current;if(n&&e.isPresent&&!this.props.isPresent){const i=this.props.sizeRef.current;i.height=n.offsetHeight||0,i.width=n.offsetWidth||0,i.top=n.offsetTop,i.left=n.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function eh({children:t,isPresent:e}){const n=C.useId(),i=C.useRef(null),r=C.useRef({width:0,height:0,top:0,left:0}),{nonce:s}=C.useContext(Fn);return C.useInsertionEffect(()=>{const{width:o,height:u,top:a,left:l}=r.current;if(e||!i.current||!o||!u)return;i.current.dataset.motionPopId=n;const c=document.createElement("style");return s&&(c.nonce=s),document.head.appendChild(c),c.sheet&&c.sheet.insertRule(`
6
6
  [data-motion-pop-id="${n}"] {
7
7
  position: absolute !important;
8
8
  width: ${o}px !important;
@@ -10,23 +10,23 @@
10
10
  top: ${a}px !important;
11
11
  left: ${l}px !important;
12
12
  }
13
- `),()=>{document.head.removeChild(c)}},[t]),A.jsx(fh,{isPresent:t,childRef:i,sizeRef:r,children:G.cloneElement(e,{ref:i})})}const Wi=({children:e,initial:t,isPresent:n,onExitComplete:i,custom:r,presenceAffectsLayout:s,mode:o})=>{const u=Yr(ph),a=C.useId(),l=C.useMemo(()=>({id:a,initial:t,isPresent:n,custom:r,onExitComplete:c=>{u.set(c,!0);for(const d of u.values())if(!d)return;i&&i()},register:c=>(u.set(c,!1),()=>u.delete(c))}),s?[Math.random()]:[n]);return C.useMemo(()=>{u.forEach((c,d)=>u.set(d,!1))},[n]),G.useEffect(()=>{!n&&!u.size&&i&&i()},[n]),o==="popLayout"&&(e=A.jsx(hh,{isPresent:n,children:e})),A.jsx(jt.Provider,{value:l,children:e})};function ph(){return new Map}function mh(e){return C.useEffect(()=>()=>e(),[])}const Ke=e=>e.key||"";function gh(e,t){e.forEach(n=>{const i=Ke(n);t.set(i,n)})}function bh(e){const t=[];return C.Children.forEach(e,n=>{C.isValidElement(n)&&t.push(n)}),t}const Ri=({children:e,custom:t,initial:n=!0,onExitComplete:i,exitBeforeEnter:r,presenceAffectsLayout:s=!0,mode:o="sync"})=>{Ve(!r,"Replace exitBeforeEnter with mode='wait'");const u=C.useContext(Hn).forceRender||dh()[0],a=la(),l=bh(e);let c=l;const d=C.useRef(new Map).current,f=C.useRef(c),h=C.useRef(new Map).current,m=C.useRef(!0);if(Rn(()=>{m.current=!1,gh(l,h),f.current=c}),mh(()=>{m.current=!0,h.clear(),d.clear()}),m.current)return A.jsx(A.Fragment,{children:c.map(I=>A.jsx(Wi,{isPresent:!0,initial:n?void 0:!1,presenceAffectsLayout:s,mode:o,children:I},Ke(I)))});c=[...c];const p=f.current.map(Ke),g=l.map(Ke),b=p.length;for(let I=0;I<b;I++){const v=p[I];g.indexOf(v)===-1&&!d.has(v)&&d.set(v,void 0)}return o==="wait"&&d.size&&(c=[]),d.forEach((I,v)=>{if(g.indexOf(v)!==-1)return;const x=h.get(v);if(!x)return;const y=p.indexOf(v);let E=I;if(!E){const T=()=>{d.delete(v);const S=Array.from(h.keys()).filter(M=>!g.includes(M));if(S.forEach(M=>h.delete(M)),f.current=l.filter(M=>{const N=Ke(M);return N===v||S.includes(N)}),!d.size){if(a.current===!1)return;u(),i&&i()}};E=A.jsx(Wi,{isPresent:!1,onExitComplete:T,custom:t,presenceAffectsLayout:s,mode:o,children:x},Ke(x)),d.set(v,E)}c.splice(y,0,E)}),c=c.map(I=>{const v=I.key;return d.has(v)?I:A.jsx(Wi,{isPresent:!0,presenceAffectsLayout:s,mode:o,children:I},Ke(I))}),process.env.NODE_ENV!=="production"&&o==="wait"&&c.length>1&&console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`),A.jsx(A.Fragment,{children:d.size?c:c.map(I=>C.cloneElement(I))})},vh=e=>{let t=A.jsx(A.Fragment,{});switch(e){case"success":t=A.jsx(zu,{});break;case"info":t=A.jsx(Yu,{});break;case"warning":t=A.jsx(Ju,{});break;case"error":t=A.jsx(ju,{});break}return{icon:t}},yh=e=>{const{id:t,type:n,title:i}=e,{icon:r}=vh(n),s=4e3,o=gr(),u=C.useCallback(()=>{o.removeToast(t)},[t,o]);return C.useEffect(()=>{const a=setTimeout(()=>{setTimeout(()=>{u()},1e3)},s);return()=>{clearTimeout(a)}},[]),A.jsx(Mt.div,{layout:!0,initial:{opacity:0,y:50,scale:.3},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:0,scale:.8},children:A.jsxs("div",{className:tt(Ce.toast,Ce[n]),children:[A.jsx("div",{className:Ce["toast-icon"],children:r}),A.jsx("div",{className:Ce["toast-content"],children:A.jsx("p",{className:Ce["toast-title"],children:i})}),A.jsx("div",{className:Ce["toast-close"],children:A.jsx("button",{type:"button",className:Ce["toast-close-btn"],onClick:u,children:A.jsx("span",{className:Ce["toast-close-btn-icon"],children:A.jsx(Uu,{})})})})]})},t)};function Ch(e){const{children:t}=e,[n,i]=C.useState(!1);C.useEffect(()=>{i(!0)},[]);const r=document.getElementById("biznext-ui-toast-portal");return n&&r?Re.createPortal(t,r):Re.createPortal(t,document.body)}const Ih=e=>{const{toasts:t,toastPosition:n="top-center"}=e;return A.jsx(Ch,{children:A.jsx("div",{className:tt(Ce["toasts-container"],Ce[n]),children:A.jsx(Ri,{children:t.map(i=>A.jsx(yh,{id:i.id,type:i.type,title:i.title},i.id))})})})};for(var K=[],Oi=0;Oi<256;++Oi)K.push((Oi+256).toString(16).slice(1));function xh(e,t=0){return(K[e[t+0]]+K[e[t+1]]+K[e[t+2]]+K[e[t+3]]+"-"+K[e[t+4]]+K[e[t+5]]+"-"+K[e[t+6]]+K[e[t+7]]+"-"+K[e[t+8]]+K[e[t+9]]+"-"+K[e[t+10]]+K[e[t+11]]+K[e[t+12]]+K[e[t+13]]+K[e[t+14]]+K[e[t+15]]).toLowerCase()}var fn,Ah=new Uint8Array(16);function Sh(){if(!fn&&(fn=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!fn))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return fn(Ah)}var Eh=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);const ca={randomUUID:Eh};function Th(e,t,n){if(ca.randomUUID&&!t&&!e)return ca.randomUUID();e=e||{};var i=e.random||(e.rng||Sh)();return i[6]=i[6]&15|64,i[8]=i[8]&63|128,xh(i)}function Ph(){return Re.createPortal(A.jsxs("div",{id:"biznext-ui-portal",children:[A.jsx("div",{id:"biznext-ui-modal-portal"}),A.jsx("div",{id:"biznext-ui-toast-portal"}),A.jsx("div",{id:"biznext-ui-confirm-dialog-portal"})]}),document.body)}function Vh(e){return Ye({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"currentColor"},child:[{tag:"path",attr:{d:"M7 4V2H17V4H22V6H20V21C20 21.5523 19.5523 22 19 22H5C4.44772 22 4 21.5523 4 21V6H2V4H7ZM6 6V20H18V6H6ZM9 9H11V17H9V9ZM13 9H15V17H13V9Z"},child:[]}]})(e)}const pe={"confirm-dialog":"biznext-ui-4yyscqDACxw-e","confirm-dialog-overlay":"biznext-ui-ylpaWxEFaTU-c","confirm-dialog-content":"biznext-ui-xwshXokj5ZA-c","confirm-dialog-body":"biznext-ui-K3-i0eWEQi8-2","confirm-dialog-icon-container":"biznext-ui-W86o6InrK1E-5","confirm-dialog-icon":"biznext-ui-PSIKxZhvjyo-3","confirm-dialog-footer":"biznext-ui-ffcW632vEe0-7","confirm-dialog-footer-close-btn":"biznext-ui-hDNTUYM-ra0-8","confirm-dialog-footer-confirm-btn":"biznext-ui-bFmcSx3W8Rs-6",info:"biznext-ui-wec4qWkj9NU-c",warning:"biznext-ui-mcehjNn9Nl0-9",danger:"biznext-ui-pYq-UQoFMHM-a",success:"biznext-ui-bgVORylkzc0-6"};function wh(e){const{children:t}=e,[n,i]=C.useState(!1);C.useEffect(()=>{i(!0)},[]);const r=document.getElementById("biznext-ui-confirm-dialog-portal");return n&&r?Re.createPortal(t,r):Re.createPortal(t,document.body)}const Fh=e=>{const{isOpen:t,onClose:n,config:i}=e,{type:r,title:s,description:o,icon:u,onConfirm:a,buttonContent:l}=i,c=()=>{n()},d=()=>{a(),n()};return A.jsx(wh,{children:A.jsx("div",{className:pe["confirm-dialog-wrapper"],children:A.jsx(Ri,{children:t&&A.jsx(Mt.div,{className:pe["confirm-dialog-overlay"],initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},children:A.jsx(Mt.div,{className:tt(pe["confirm-dialog"],pe[r]),initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.95},children:A.jsxs("div",{className:pe["confirm-dialog-content"],children:[A.jsxs("div",{className:pe["confirm-dialog-body"],children:[A.jsx("div",{className:pe["confirm-dialog-icon-container"],children:A.jsx("div",{className:pe["confirm-dialog-icon"],children:u||A.jsx(Vh,{})})}),A.jsxs("div",{children:[A.jsx("h2",{children:s}),A.jsx("p",{children:o})]})]}),A.jsxs("div",{className:pe["confirm-dialog-footer"],children:[A.jsx("button",{type:"button",className:pe["confirm-dialog-footer-close-btn"],onClick:c,children:l&&l.onCloseTitle?l.onCloseTitle:"Cancel"}),A.jsx("button",{type:"button",className:pe["confirm-dialog-footer-confirm-btn"],onClick:d,children:l&&l.onConfirmTitle?l.onConfirmTitle:"Confirm"})]})]})})})})})})},da=C.createContext({}),Bh=({children:e,toastPosition:t})=>e?A.jsx(Gh,{children:e,toastPosition:t}):null,Gh=({children:e,toastPosition:t})=>{const n={toasts:[]};console.log(n,"initialState"),console.log(mr,"ToastReducer"),console.log(C.useReducer,"useReducer");const[i,r]=C.useReducer(mr,n);console.log(i,r,"state - setState");const s=(v,x,y)=>{const E=Th();r({type:"ADD_TOAST",payload:{id:E,title:x,type:v,config:y}})},d={success:(v,x)=>{s("success",v,x)},warning:(v,x)=>{s("warning",v,x)},info:(v,x)=>{s("info",v,x)},error:(v,x)=>{s("error",v,x)},removeToast:v=>{r({type:"DELETE_TOAST",payload:{id:v,title:"",type:""}})}},[f,h]=C.useState({}),[m,p]=C.useState(!1),g=v=>{h(v),p(!0)},b=()=>{p(!1)},I=g;return e?A.jsx(pr.Provider,{value:d,children:A.jsxs(da.Provider,{value:I,children:[A.jsx(Ph,{}),A.jsx(Ih,{toasts:i.toasts,toastPosition:t}),A.jsx(Fh,{isOpen:m,onClose:b,config:f}),e]})}):null},me={"modal-wrapper":"biznext-ui-n2Vjx4mdikE-9","modal-overlay":"biznext-ui-6sKjk6L11EQ-e",modal:"biznext-ui-Mao59ye15po-3",left:"biznext-ui-5bDq6-PrHF4-e","left-slider":"biznext-ui-dhv7A0opLyg-7",right:"biznext-ui-X9XXG3R3kc4-5","right-slider":"biznext-ui-EXk9iqQoKIU-1","top-left":"biznext-ui-agEjPkJufuY-6","top-center":"biznext-ui-CzoFpYQH5r0-0","top-right":"biznext-ui-e0SRVasbx2Q-7","bottom-left":"biznext-ui-jMdhucf3jH4-8","bottom-center":"biznext-ui-1ruLnzU-7Mg-d","bottom-right":"biznext-ui-IBxY5gMZXAs-2",center:"biznext-ui-g7IKSnXitqg-8",full:"biznext-ui-T4NhvYHqFMo-4","modal-content":"biznext-ui-1F-uEUK7Izg-d","modal-header":"biznext-ui-nWO9WSw4Ix8-9","module-header-close-btn":"biznext-ui-kCEeyonkTlE-9","modal-title":"biznext-ui-r-WKlIAFS20-a","modal-body":"biznext-ui-7AJhK9Yn-KQ-e","modal-footer":"biznext-ui-lUyv0bpMUw4-9","modal-footer-close-btn":"biznext-ui-acScPNehEic-6"};function Mh(e){return Ye({tag:"svg",attr:{viewBox:"0 0 352 512"},child:[{tag:"path",attr:{d:"M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"},child:[]}]})(e)}function Dh(e){const{children:t}=e,[n,i]=C.useState(!1);C.useEffect(()=>{i(!0)},[]);const r=document.getElementById("biznext-ui-modal-portal");return n&&r?Re.createPortal(t,r):Re.createPortal(t,document.body)}const Xi=C.createContext({onClose:()=>console.warn("Biznext-UI-Modal: Close Function not Implemented!")}),ct=e=>{const{type:t,index:n,height:i,width:r,sx:s,isOpen:o,onClose:u,children:a}=e;return A.jsx(Xi.Provider,{value:{onClose:u},children:A.jsx(Dh,{children:A.jsx(Ri,{children:o&&A.jsxs("div",{className:me["modal-wrapper"],children:[A.jsx(Mt.div,{className:me["modal-overlay"],style:{zIndex:9999+(n||0)},onClick:u,initial:{opacity:0},animate:{opacity:1},exit:{opacity:0}}),A.jsx(Mt.div,{initial:{opacity:0,scale:.95},className:tt(me.modal,me[t]),style:{height:i,width:r,zIndex:99999+(n||0),...s},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.95},children:a})]})})})})},Nh=ct,Lh=({children:e})=>A.jsx("div",{className:me["modal-content"],children:e}),Wh=({children:e})=>{const{onClose:t}=C.useContext(Xi);return A.jsxs("header",{id:"handle",className:me["modal-header"],children:[e,A.jsx("button",{type:"button",className:me["module-header-close-btn"],onClick:t,children:A.jsx(Mh,{})})]})},Rh=({children:e})=>A.jsx("h2",{className:me["modal-title"],children:e}),Oh=({children:e})=>A.jsx("div",{className:me["modal-body"],children:e}),Xh=e=>{const{children:t,closeTitle:n}=e,{onClose:i}=C.useContext(Xi);return A.jsxs("footer",{className:me["modal-footer"],children:[t,A.jsx("button",{type:"button",className:me["modal-footer-close-btn"],onClick:i,children:n||"Cancel"})]})};ct.Content=Lh,ct.Header=Wh,ct.Title=Rh,ct.Body=Oh,ct.Footer=Xh;const Zh=()=>C.useContext(da),ge={form:"biznext-ui-WgISRe1bJDU-5","form-group":"biznext-ui-PDYbgOuoFL0-3","form-input-group":"biznext-ui-7dIDGqcfwy4-e","form-input-group-label":"biznext-ui-3qrluRcbSyQ-d",required:"biznext-ui-S1AWtF9fE-s-4","form-input-control-group":"biznext-ui-GQweSyKURD4-1","form-input-control":"biznext-ui-Pxa8kMsnvaQ-3","validation-error":"biznext-ui-B7sgFlayyBI-0","form-select-control":"biznext-ui-TyZSBF2HLh0-4","form-input-group-error-text":"biznext-ui-npOI3UC2M38-9"};function qe(e){"@babel/helpers - typeof";return qe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},qe(e)}function Hh(e,t){if(qe(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t||"default");if(qe(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function fa(e){var t=Hh(e,"string");return qe(t)=="symbol"?t:t+""}function Dt(e,t,n){return(t=fa(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ha(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,i)}return n}function w(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ha(Object(n),!0).forEach(function(i){Dt(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ha(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function kh(e){if(Array.isArray(e))return e}function zh(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var i,r,s,o,u=[],a=!0,l=!1;try{if(s=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;a=!1}else for(;!(a=(i=s.call(n)).done)&&(u.push(i.value),u.length!==t);a=!0);}catch(c){l=!0,r=c}finally{try{if(!a&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw r}}return u}}function Zi(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}function pa(e,t){if(e){if(typeof e=="string")return Zi(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Zi(e,t):void 0}}function jh(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
14
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ne(e,t){return kh(e)||zh(e,t)||pa(e,t)||jh()}function Yh(e,t){if(e==null)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(t.includes(i))continue;n[i]=e[i]}return n}function Le(e,t){if(e==null)return{};var n,i,r=Yh(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(i=0;i<s.length;i++)n=s[i],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var Jh=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function Uh(e){var t=e.defaultInputValue,n=t===void 0?"":t,i=e.defaultMenuIsOpen,r=i===void 0?!1:i,s=e.defaultValue,o=s===void 0?null:s,u=e.inputValue,a=e.menuIsOpen,l=e.onChange,c=e.onInputChange,d=e.onMenuClose,f=e.onMenuOpen,h=e.value,m=Le(e,Jh),p=C.useState(u!==void 0?u:n),g=Ne(p,2),b=g[0],I=g[1],v=C.useState(a!==void 0?a:r),x=Ne(v,2),y=x[0],E=x[1],T=C.useState(h!==void 0?h:o),S=Ne(T,2),M=S[0],N=S[1],k=C.useCallback(function(_,Ee){typeof l=="function"&&l(_,Ee),N(_)},[l]),Y=C.useCallback(function(_,Ee){var be;typeof c=="function"&&(be=c(_,Ee)),I(be!==void 0?be:_)},[c]),ce=C.useCallback(function(){typeof f=="function"&&f(),E(!0)},[f]),oe=C.useCallback(function(){typeof d=="function"&&d(),E(!1)},[d]),D=u!==void 0?u:b,R=a!==void 0?a:y,ie=h!==void 0?h:M;return w(w({},m),{},{inputValue:D,menuIsOpen:R,onChange:k,onInputChange:Y,onMenuClose:oe,onMenuOpen:ce,value:ie})}function B(){return B=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},B.apply(null,arguments)}function _h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ma(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,fa(i.key),i)}}function Qh(e,t,n){return t&&ma(e.prototype,t),n&&ma(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Hi(e,t){return Hi=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},Hi(e,t)}function $h(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Hi(e,t)}function hn(e){return hn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},hn(e)}function ga(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(ga=function(){return!!e})()}function Kh(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qh(e,t){if(t&&(qe(t)=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Kh(e)}function ep(e){var t=ga();return function(){var n,i=hn(e);if(t){var r=hn(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return qh(this,n)}}function tp(e){if(Array.isArray(e))return Zi(e)}function np(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function ip(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
15
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ki(e){return tp(e)||np(e)||pa(e)||ip()}var rp=!1;function sp(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function op(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var ap=function(){function e(n){var i=this;this._insertTag=function(r){var s;i.tags.length===0?i.insertionPoint?s=i.insertionPoint.nextSibling:i.prepend?s=i.container.firstChild:s=i.before:s=i.tags[i.tags.length-1].nextSibling,i.container.insertBefore(r,s),i.tags.push(r)},this.isSpeedy=n.speedy===void 0?!rp:n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(i){i.forEach(this._insertTag)},t.insert=function(i){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(op(this));var r=this.tags[this.tags.length-1];if(this.isSpeedy){var s=sp(r);try{s.insertRule(i,s.cssRules.length)}catch{}}else r.appendChild(document.createTextNode(i));this.ctr++},t.flush=function(){this.tags.forEach(function(i){var r;return(r=i.parentNode)==null?void 0:r.removeChild(i)}),this.tags=[],this.ctr=0},e}(),ne="-ms-",pn="-moz-",L="-webkit-",ba="comm",zi="rule",ji="decl",up="@import",va="@keyframes",lp="@layer",cp=Math.abs,mn=String.fromCharCode,dp=Object.assign;function fp(e,t){return q(e,0)^45?(((t<<2^q(e,0))<<2^q(e,1))<<2^q(e,2))<<2^q(e,3):0}function ya(e){return e.trim()}function hp(e,t){return(e=t.exec(e))?e[0]:e}function W(e,t,n){return e.replace(t,n)}function Yi(e,t){return e.indexOf(t)}function q(e,t){return e.charCodeAt(t)|0}function Nt(e,t,n){return e.slice(t,n)}function xe(e){return e.length}function Ji(e){return e.length}function gn(e,t){return t.push(e),e}function pp(e,t){return e.map(t).join("")}var bn=1,dt=1,Ca=0,se=0,U=0,ft="";function vn(e,t,n,i,r,s,o){return{value:e,root:t,parent:n,type:i,props:r,children:s,line:bn,column:dt,length:o,return:""}}function Lt(e,t){return dp(vn("",null,null,"",null,null,0),e,{length:-e.length},t)}function mp(){return U}function gp(){return U=se>0?q(ft,--se):0,dt--,U===10&&(dt=1,bn--),U}function le(){return U=se<Ca?q(ft,se++):0,dt++,U===10&&(dt=1,bn++),U}function Ae(){return q(ft,se)}function yn(){return se}function Wt(e,t){return Nt(ft,e,t)}function Rt(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Ia(e){return bn=dt=1,Ca=xe(ft=e),se=0,[]}function xa(e){return ft="",e}function Cn(e){return ya(Wt(se-1,Ui(e===91?e+2:e===40?e+1:e)))}function bp(e){for(;(U=Ae())&&U<33;)le();return Rt(e)>2||Rt(U)>3?"":" "}function vp(e,t){for(;--t&&le()&&!(U<48||U>102||U>57&&U<65||U>70&&U<97););return Wt(e,yn()+(t<6&&Ae()==32&&le()==32))}function Ui(e){for(;le();)switch(U){case e:return se;case 34:case 39:e!==34&&e!==39&&Ui(U);break;case 40:e===41&&Ui(e);break;case 92:le();break}return se}function yp(e,t){for(;le()&&e+U!==57;)if(e+U===84&&Ae()===47)break;return"/*"+Wt(t,se-1)+"*"+mn(e===47?e:le())}function Cp(e){for(;!Rt(Ae());)le();return Wt(e,se)}function Ip(e){return xa(In("",null,null,null,[""],e=Ia(e),0,[0],e))}function In(e,t,n,i,r,s,o,u,a){for(var l=0,c=0,d=o,f=0,h=0,m=0,p=1,g=1,b=1,I=0,v="",x=r,y=s,E=i,T=v;g;)switch(m=I,I=le()){case 40:if(m!=108&&q(T,d-1)==58){Yi(T+=W(Cn(I),"&","&\f"),"&\f")!=-1&&(b=-1);break}case 34:case 39:case 91:T+=Cn(I);break;case 9:case 10:case 13:case 32:T+=bp(m);break;case 92:T+=vp(yn()-1,7);continue;case 47:switch(Ae()){case 42:case 47:gn(xp(yp(le(),yn()),t,n),a);break;default:T+="/"}break;case 123*p:u[l++]=xe(T)*b;case 125*p:case 59:case 0:switch(I){case 0:case 125:g=0;case 59+c:b==-1&&(T=W(T,/\f/g,"")),h>0&&xe(T)-d&&gn(h>32?Sa(T+";",i,n,d-1):Sa(W(T," ","")+";",i,n,d-2),a);break;case 59:T+=";";default:if(gn(E=Aa(T,t,n,l,c,r,u,v,x=[],y=[],d),s),I===123)if(c===0)In(T,t,E,E,x,s,d,u,y);else switch(f===99&&q(T,3)===110?100:f){case 100:case 108:case 109:case 115:In(e,E,E,i&&gn(Aa(e,E,E,0,0,r,u,v,r,x=[],d),y),r,y,d,u,i?x:y);break;default:In(T,E,E,E,[""],y,0,u,y)}}l=c=h=0,p=b=1,v=T="",d=o;break;case 58:d=1+xe(T),h=m;default:if(p<1){if(I==123)--p;else if(I==125&&p++==0&&gp()==125)continue}switch(T+=mn(I),I*p){case 38:b=c>0?1:(T+="\f",-1);break;case 44:u[l++]=(xe(T)-1)*b,b=1;break;case 64:Ae()===45&&(T+=Cn(le())),f=Ae(),c=d=xe(v=T+=Cp(yn())),I++;break;case 45:m===45&&xe(T)==2&&(p=0)}}return s}function Aa(e,t,n,i,r,s,o,u,a,l,c){for(var d=r-1,f=r===0?s:[""],h=Ji(f),m=0,p=0,g=0;m<i;++m)for(var b=0,I=Nt(e,d+1,d=cp(p=o[m])),v=e;b<h;++b)(v=ya(p>0?f[b]+" "+I:W(I,/&\f/g,f[b])))&&(a[g++]=v);return vn(e,t,n,r===0?zi:u,a,l,c)}function xp(e,t,n){return vn(e,t,n,ba,mn(mp()),Nt(e,2,-2),0)}function Sa(e,t,n,i){return vn(e,t,n,ji,Nt(e,0,i),Nt(e,i+1,-1),i)}function ht(e,t){for(var n="",i=Ji(e),r=0;r<i;r++)n+=t(e[r],r,e,t)||"";return n}function Ap(e,t,n,i){switch(e.type){case lp:if(e.children.length)break;case up:case ji:return e.return=e.return||e.value;case ba:return"";case va:return e.return=e.value+"{"+ht(e.children,i)+"}";case zi:e.value=e.props.join(",")}return xe(n=ht(e.children,i))?e.return=e.value+"{"+n+"}":""}function Sp(e){var t=Ji(e);return function(n,i,r,s){for(var o="",u=0;u<t;u++)o+=e[u](n,i,r,s)||"";return o}}function Ep(e){return function(t){t.root||(t=t.return)&&e(t)}}function Tp(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var Pp=function(t,n,i){for(var r=0,s=0;r=s,s=Ae(),r===38&&s===12&&(n[i]=1),!Rt(s);)le();return Wt(t,se)},Vp=function(t,n){var i=-1,r=44;do switch(Rt(r)){case 0:r===38&&Ae()===12&&(n[i]=1),t[i]+=Pp(se-1,n,i);break;case 2:t[i]+=Cn(r);break;case 4:if(r===44){t[++i]=Ae()===58?"&\f":"",n[i]=t[i].length;break}default:t[i]+=mn(r)}while(r=le());return t},wp=function(t,n){return xa(Vp(Ia(t),n))},Ea=new WeakMap,Fp=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var n=t.value,i=t.parent,r=t.column===i.column&&t.line===i.line;i.type!=="rule";)if(i=i.parent,!i)return;if(!(t.props.length===1&&n.charCodeAt(0)!==58&&!Ea.get(i))&&!r){Ea.set(t,!0);for(var s=[],o=wp(n,s),u=i.props,a=0,l=0;a<o.length;a++)for(var c=0;c<u.length;c++,l++)t.props[l]=s[a]?o[a].replace(/&\f/g,u[c]):u[c]+" "+o[a]}}},Bp=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}};function Ta(e,t){switch(fp(e,t)){case 5103:return L+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return L+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return L+e+pn+e+ne+e+e;case 6828:case 4268:return L+e+ne+e+e;case 6165:return L+e+ne+"flex-"+e+e;case 5187:return L+e+W(e,/(\w+).+(:[^]+)/,L+"box-$1$2"+ne+"flex-$1$2")+e;case 5443:return L+e+ne+"flex-item-"+W(e,/flex-|-self/,"")+e;case 4675:return L+e+ne+"flex-line-pack"+W(e,/align-content|flex-|-self/,"")+e;case 5548:return L+e+ne+W(e,"shrink","negative")+e;case 5292:return L+e+ne+W(e,"basis","preferred-size")+e;case 6060:return L+"box-"+W(e,"-grow","")+L+e+ne+W(e,"grow","positive")+e;case 4554:return L+W(e,/([^-])(transform)/g,"$1"+L+"$2")+e;case 6187:return W(W(W(e,/(zoom-|grab)/,L+"$1"),/(image-set)/,L+"$1"),e,"")+e;case 5495:case 3959:return W(e,/(image-set\([^]*)/,L+"$1$`$1");case 4968:return W(W(e,/(.+:)(flex-)?(.*)/,L+"box-pack:$3"+ne+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+L+e+e;case 4095:case 3583:case 4068:case 2532:return W(e,/(.+)-inline(.+)/,L+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(xe(e)-1-t>6)switch(q(e,t+1)){case 109:if(q(e,t+4)!==45)break;case 102:return W(e,/(.+:)(.+)-([^]+)/,"$1"+L+"$2-$3$1"+pn+(q(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Yi(e,"stretch")?Ta(W(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(q(e,t+1)!==115)break;case 6444:switch(q(e,xe(e)-3-(~Yi(e,"!important")&&10))){case 107:return W(e,":",":"+L)+e;case 101:return W(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+L+(q(e,14)===45?"inline-":"")+"box$3$1"+L+"$2$3$1"+ne+"$2box$3")+e}break;case 5936:switch(q(e,t+11)){case 114:return L+e+ne+W(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return L+e+ne+W(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return L+e+ne+W(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return L+e+ne+e+e}return e}var Gp=function(t,n,i,r){if(t.length>-1&&!t.return)switch(t.type){case ji:t.return=Ta(t.value,t.length);break;case va:return ht([Lt(t,{value:W(t.value,"@","@"+L)})],r);case zi:if(t.length)return pp(t.props,function(s){switch(hp(s,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return ht([Lt(t,{props:[W(s,/:(read-\w+)/,":"+pn+"$1")]})],r);case"::placeholder":return ht([Lt(t,{props:[W(s,/:(plac\w+)/,":"+L+"input-$1")]}),Lt(t,{props:[W(s,/:(plac\w+)/,":"+pn+"$1")]}),Lt(t,{props:[W(s,/:(plac\w+)/,ne+"input-$1")]})],r)}return""})}},Mp=[Gp],Dp=function(t){var n=t.key;if(n==="css"){var i=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(i,function(p){var g=p.getAttribute("data-emotion");g.indexOf(" ")!==-1&&(document.head.appendChild(p),p.setAttribute("data-s",""))})}var r=t.stylisPlugins||Mp,s={},o,u=[];o=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(p){for(var g=p.getAttribute("data-emotion").split(" "),b=1;b<g.length;b++)s[g[b]]=!0;u.push(p)});var a,l=[Fp,Bp];{var c,d=[Ap,Ep(function(p){c.insert(p)})],f=Sp(l.concat(r,d)),h=function(g){return ht(Ip(g),f)};a=function(g,b,I,v){c=I,h(g?g+"{"+b.styles+"}":b.styles),v&&(m.inserted[b.name]=!0)}}var m={key:n,sheet:new ap({key:n,container:o,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:s,registered:{},insert:a};return m.sheet.hydrate(u),m},_i={exports:{}},X={};/** @license React v16.13.1
13
+ `),()=>{document.head.removeChild(c)}},[e]),B.jsx(qf,{isPresent:e,childRef:i,sizeRef:r,children:G.cloneElement(t,{ref:i})})}const Bi=({children:t,initial:e,isPresent:n,onExitComplete:i,custom:r,presenceAffectsLayout:s,mode:o})=>{const u=Rr(th),a=C.useId(),l=C.useMemo(()=>({id:a,initial:e,isPresent:n,custom:r,onExitComplete:c=>{u.set(c,!0);for(const d of u.values())if(!d)return;i&&i()},register:c=>(u.set(c,!1),()=>u.delete(c))}),s?[Math.random()]:[n]);return C.useMemo(()=>{u.forEach((c,d)=>u.set(d,!1))},[n]),G.useEffect(()=>{!n&&!u.size&&i&&i()},[n]),o==="popLayout"&&(t=B.jsx(eh,{isPresent:n,children:t})),B.jsx(Wt.Provider,{value:l,children:t})};function th(){return new Map}function nh(t){return C.useEffect(()=>()=>t(),[])}const Je=t=>t.key||"";function ih(t,e){t.forEach(n=>{const i=Je(n);e.set(i,n)})}function rh(t){const e=[];return C.Children.forEach(t,n=>{C.isValidElement(n)&&e.push(n)}),e}const sh=({children:t,custom:e,initial:n=!0,onExitComplete:i,exitBeforeEnter:r,presenceAffectsLayout:s=!0,mode:o="sync"})=>{Pe(!r,"Replace exitBeforeEnter with mode='wait'");const u=C.useContext(Nn).forceRender||Kf()[0],a=qo(),l=rh(t);let c=l;const d=C.useRef(new Map).current,f=C.useRef(c),h=C.useRef(new Map).current,m=C.useRef(!0);if(Gn(()=>{m.current=!1,ih(l,h),f.current=c}),nh(()=>{m.current=!0,h.clear(),d.clear()}),m.current)return B.jsx(B.Fragment,{children:c.map(I=>B.jsx(Bi,{isPresent:!0,initial:n?void 0:!1,presenceAffectsLayout:s,mode:o,children:I},Je(I)))});c=[...c];const p=f.current.map(Je),g=l.map(Je),b=p.length;for(let I=0;I<b;I++){const v=p[I];g.indexOf(v)===-1&&!d.has(v)&&d.set(v,void 0)}return o==="wait"&&d.size&&(c=[]),d.forEach((I,v)=>{if(g.indexOf(v)!==-1)return;const x=h.get(v);if(!x)return;const y=p.indexOf(v);let S=I;if(!S){const P=()=>{d.delete(v);const A=Array.from(h.keys()).filter(M=>!g.includes(M));if(A.forEach(M=>h.delete(M)),f.current=l.filter(M=>{const R=Je(M);return R===v||A.includes(R)}),!d.size){if(a.current===!1)return;u(),i&&i()}};S=B.jsx(Bi,{isPresent:!1,onExitComplete:P,custom:e,presenceAffectsLayout:s,mode:o,children:x},Je(x)),d.set(v,S)}c.splice(y,0,S)}),c=c.map(I=>{const v=I.key;return d.has(v)?I:B.jsx(Bi,{isPresent:!0,presenceAffectsLayout:s,mode:o,children:I},Je(I))}),process.env.NODE_ENV!=="production"&&o==="wait"&&c.length>1&&console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`),B.jsx(B.Fragment,{children:d.size?c:c.map(I=>C.cloneElement(I))})},Gi=C.createContext({onClose:()=>console.warn("Biznext-UI-Modal: Close Function not Implemented!")}),rt=t=>{const{type:e,index:n,height:i,width:r,sx:s,isOpen:o,onClose:u,children:a}=t;return B.jsx(Gi.Provider,{value:{onClose:u},children:B.jsx(Ru,{children:B.jsx(sh,{children:o&&B.jsxs("div",{className:he["modal-wrapper"],children:[B.jsx(Ko.div,{className:he["modal-overlay"],style:{zIndex:9999+(n||0)},onClick:u,initial:{opacity:0},animate:{opacity:1},exit:{opacity:0}}),B.jsx(Ko.div,{initial:{opacity:0,scale:.95},className:wn(he.modal,he[e]),style:{height:i,width:r,zIndex:99999+(n||0),...s},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.95},children:a})]})})})})},oh=rt,ah=({children:t})=>B.jsx("div",{className:he["modal-content"],children:t}),uh=({children:t})=>{const{onClose:e}=C.useContext(Gi);return B.jsxs("header",{id:"handle",className:he["modal-header"],children:[t,B.jsx("button",{type:"button",className:he["module-header-close-btn"],onClick:e,children:B.jsx(Du,{})})]})},lh=({children:t})=>B.jsx("h2",{className:he["modal-title"],children:t}),ch=({children:t})=>B.jsx("div",{className:he["modal-body"],children:t}),dh=t=>{const{children:e,closeTitle:n}=t,{onClose:i}=C.useContext(Gi);return B.jsxs("footer",{className:he["modal-footer"],children:[e,B.jsx("button",{type:"button",className:he["modal-footer-close-btn"],onClick:i,children:n||"Cancel"})]})};rt.Content=ah,rt.Header=uh,rt.Title=lh,rt.Body=ch,rt.Footer=dh;const fh=C.createContext({}),hh=()=>C.useContext(fh),ph=C.createContext({}),mh=()=>C.useContext(ph),pe={form:"biznext-ui-WgISRe1bJDU-5","form-group":"biznext-ui-PDYbgOuoFL0-3","form-input-group":"biznext-ui-7dIDGqcfwy4-e","form-input-group-label":"biznext-ui-3qrluRcbSyQ-d",required:"biznext-ui-S1AWtF9fE-s-4","form-input-control-group":"biznext-ui-GQweSyKURD4-1","form-input-control":"biznext-ui-Pxa8kMsnvaQ-3","validation-error":"biznext-ui-B7sgFlayyBI-0","form-select-control":"biznext-ui-TyZSBF2HLh0-4","form-input-group-error-text":"biznext-ui-npOI3UC2M38-9"};function Ue(t){"@babel/helpers - typeof";return Ue=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ue(t)}function gh(t,e){if(Ue(t)!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var i=n.call(t,e||"default");if(Ue(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function ea(t){var e=gh(t,"string");return Ue(e)=="symbol"?e:e+""}function Tt(t,e,n){return(e=ea(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ta(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,i)}return n}function V(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?ta(Object(n),!0).forEach(function(i){Tt(t,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ta(Object(n)).forEach(function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(n,i))})}return t}function bh(t){if(Array.isArray(t))return t}function vh(t,e){var n=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(n!=null){var i,r,s,o,u=[],a=!0,l=!1;try{if(s=(n=n.call(t)).next,e===0){if(Object(n)!==n)return;a=!1}else for(;!(a=(i=s.call(n)).done)&&(u.push(i.value),u.length!==e);a=!0);}catch(c){l=!0,r=c}finally{try{if(!a&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw r}}return u}}function Mi(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=Array(e);n<e;n++)i[n]=t[n];return i}function na(t,e){if(t){if(typeof t=="string")return Mi(t,e);var n={}.toString.call(t).slice(8,-1);return n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set"?Array.from(t):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Mi(t,e):void 0}}function yh(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
14
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ge(t,e){return bh(t)||vh(t,e)||na(t,e)||yh()}function Ih(t,e){if(t==null)return{};var n={};for(var i in t)if({}.hasOwnProperty.call(t,i)){if(e.includes(i))continue;n[i]=t[i]}return n}function Me(t,e){if(t==null)return{};var n,i,r=Ih(t,e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);for(i=0;i<s.length;i++)n=s[i],e.includes(n)||{}.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}var Ch=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function xh(t){var e=t.defaultInputValue,n=e===void 0?"":e,i=t.defaultMenuIsOpen,r=i===void 0?!1:i,s=t.defaultValue,o=s===void 0?null:s,u=t.inputValue,a=t.menuIsOpen,l=t.onChange,c=t.onInputChange,d=t.onMenuClose,f=t.onMenuOpen,h=t.value,m=Me(t,Ch),p=C.useState(u!==void 0?u:n),g=Ge(p,2),b=g[0],I=g[1],v=C.useState(a!==void 0?a:r),x=Ge(v,2),y=x[0],S=x[1],P=C.useState(h!==void 0?h:o),A=Ge(P,2),M=A[0],R=A[1],k=C.useCallback(function(_,xe){typeof l=="function"&&l(_,xe),R(_)},[l]),Y=C.useCallback(function(_,xe){var me;typeof c=="function"&&(me=c(_,xe)),I(me!==void 0?me:_)},[c]),le=C.useCallback(function(){typeof f=="function"&&f(),S(!0)},[f]),se=C.useCallback(function(){typeof d=="function"&&d(),S(!1)},[d]),D=u!==void 0?u:b,W=a!==void 0?a:y,ne=h!==void 0?h:M;return V(V({},m),{},{inputValue:D,menuIsOpen:W,onChange:k,onInputChange:Y,onMenuClose:se,onMenuOpen:le,value:ne})}function F(){return F=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)({}).hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},F.apply(null,arguments)}function Ah(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ia(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,ea(i.key),i)}}function Sh(t,e,n){return e&&ia(t.prototype,e),n&&ia(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function Di(t,e){return Di=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},Di(t,e)}function Ph(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Di(t,e)}function sn(t){return sn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},sn(t)}function ra(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(ra=function(){return!!t})()}function Eh(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Th(t,e){if(e&&(Ue(e)=="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Eh(t)}function Vh(t){var e=ra();return function(){var n,i=sn(t);if(e){var r=sn(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return Th(this,n)}}function wh(t){if(Array.isArray(t))return Mi(t)}function Fh(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Bh(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
15
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ri(t){return wh(t)||Fh(t)||na(t)||Bh()}var Gh=!1;function Mh(t){if(t.sheet)return t.sheet;for(var e=0;e<document.styleSheets.length;e++)if(document.styleSheets[e].ownerNode===t)return document.styleSheets[e]}function Dh(t){var e=document.createElement("style");return e.setAttribute("data-emotion",t.key),t.nonce!==void 0&&e.setAttribute("nonce",t.nonce),e.appendChild(document.createTextNode("")),e.setAttribute("data-s",""),e}var Rh=function(){function t(n){var i=this;this._insertTag=function(r){var s;i.tags.length===0?i.insertionPoint?s=i.insertionPoint.nextSibling:i.prepend?s=i.container.firstChild:s=i.before:s=i.tags[i.tags.length-1].nextSibling,i.container.insertBefore(r,s),i.tags.push(r)},this.isSpeedy=n.speedy===void 0?!Gh:n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var e=t.prototype;return e.hydrate=function(i){i.forEach(this._insertTag)},e.insert=function(i){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(Dh(this));var r=this.tags[this.tags.length-1];if(this.isSpeedy){var s=Mh(r);try{s.insertRule(i,s.cssRules.length)}catch{}}else r.appendChild(document.createTextNode(i));this.ctr++},e.flush=function(){this.tags.forEach(function(i){var r;return(r=i.parentNode)==null?void 0:r.removeChild(i)}),this.tags=[],this.ctr=0},t}(),te="-ms-",on="-moz-",N="-webkit-",sa="comm",Ni="rule",Li="decl",Nh="@import",oa="@keyframes",Lh="@layer",Wh=Math.abs,an=String.fromCharCode,Oh=Object.assign;function Xh(t,e){return K(t,0)^45?(((e<<2^K(t,0))<<2^K(t,1))<<2^K(t,2))<<2^K(t,3):0}function aa(t){return t.trim()}function Zh(t,e){return(t=e.exec(t))?t[0]:t}function L(t,e,n){return t.replace(e,n)}function Wi(t,e){return t.indexOf(e)}function K(t,e){return t.charCodeAt(e)|0}function Vt(t,e,n){return t.slice(e,n)}function ye(t){return t.length}function Oi(t){return t.length}function un(t,e){return e.push(t),t}function Hh(t,e){return t.map(e).join("")}var ln=1,st=1,ua=0,re=0,U=0,ot="";function cn(t,e,n,i,r,s,o){return{value:t,root:e,parent:n,type:i,props:r,children:s,line:ln,column:st,length:o,return:""}}function wt(t,e){return Oh(cn("",null,null,"",null,null,0),t,{length:-t.length},e)}function kh(){return U}function zh(){return U=re>0?K(ot,--re):0,st--,U===10&&(st=1,ln--),U}function ue(){return U=re<ua?K(ot,re++):0,st++,U===10&&(st=1,ln++),U}function Ie(){return K(ot,re)}function dn(){return re}function Ft(t,e){return Vt(ot,t,e)}function Bt(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function la(t){return ln=st=1,ua=ye(ot=t),re=0,[]}function ca(t){return ot="",t}function fn(t){return aa(Ft(re-1,Xi(t===91?t+2:t===40?t+1:t)))}function jh(t){for(;(U=Ie())&&U<33;)ue();return Bt(t)>2||Bt(U)>3?"":" "}function Yh(t,e){for(;--e&&ue()&&!(U<48||U>102||U>57&&U<65||U>70&&U<97););return Ft(t,dn()+(e<6&&Ie()==32&&ue()==32))}function Xi(t){for(;ue();)switch(U){case t:return re;case 34:case 39:t!==34&&t!==39&&Xi(U);break;case 40:t===41&&Xi(t);break;case 92:ue();break}return re}function Jh(t,e){for(;ue()&&t+U!==57;)if(t+U===84&&Ie()===47)break;return"/*"+Ft(e,re-1)+"*"+an(t===47?t:ue())}function Uh(t){for(;!Bt(Ie());)ue();return Ft(t,re)}function _h(t){return ca(hn("",null,null,null,[""],t=la(t),0,[0],t))}function hn(t,e,n,i,r,s,o,u,a){for(var l=0,c=0,d=o,f=0,h=0,m=0,p=1,g=1,b=1,I=0,v="",x=r,y=s,S=i,P=v;g;)switch(m=I,I=ue()){case 40:if(m!=108&&K(P,d-1)==58){Wi(P+=L(fn(I),"&","&\f"),"&\f")!=-1&&(b=-1);break}case 34:case 39:case 91:P+=fn(I);break;case 9:case 10:case 13:case 32:P+=jh(m);break;case 92:P+=Yh(dn()-1,7);continue;case 47:switch(Ie()){case 42:case 47:un(Qh(Jh(ue(),dn()),e,n),a);break;default:P+="/"}break;case 123*p:u[l++]=ye(P)*b;case 125*p:case 59:case 0:switch(I){case 0:case 125:g=0;case 59+c:b==-1&&(P=L(P,/\f/g,"")),h>0&&ye(P)-d&&un(h>32?fa(P+";",i,n,d-1):fa(L(P," ","")+";",i,n,d-2),a);break;case 59:P+=";";default:if(un(S=da(P,e,n,l,c,r,u,v,x=[],y=[],d),s),I===123)if(c===0)hn(P,e,S,S,x,s,d,u,y);else switch(f===99&&K(P,3)===110?100:f){case 100:case 108:case 109:case 115:hn(t,S,S,i&&un(da(t,S,S,0,0,r,u,v,r,x=[],d),y),r,y,d,u,i?x:y);break;default:hn(P,S,S,S,[""],y,0,u,y)}}l=c=h=0,p=b=1,v=P="",d=o;break;case 58:d=1+ye(P),h=m;default:if(p<1){if(I==123)--p;else if(I==125&&p++==0&&zh()==125)continue}switch(P+=an(I),I*p){case 38:b=c>0?1:(P+="\f",-1);break;case 44:u[l++]=(ye(P)-1)*b,b=1;break;case 64:Ie()===45&&(P+=fn(ue())),f=Ie(),c=d=ye(v=P+=Uh(dn())),I++;break;case 45:m===45&&ye(P)==2&&(p=0)}}return s}function da(t,e,n,i,r,s,o,u,a,l,c){for(var d=r-1,f=r===0?s:[""],h=Oi(f),m=0,p=0,g=0;m<i;++m)for(var b=0,I=Vt(t,d+1,d=Wh(p=o[m])),v=t;b<h;++b)(v=aa(p>0?f[b]+" "+I:L(I,/&\f/g,f[b])))&&(a[g++]=v);return cn(t,e,n,r===0?Ni:u,a,l,c)}function Qh(t,e,n){return cn(t,e,n,sa,an(kh()),Vt(t,2,-2),0)}function fa(t,e,n,i){return cn(t,e,n,Li,Vt(t,0,i),Vt(t,i+1,-1),i)}function at(t,e){for(var n="",i=Oi(t),r=0;r<i;r++)n+=e(t[r],r,t,e)||"";return n}function $h(t,e,n,i){switch(t.type){case Lh:if(t.children.length)break;case Nh:case Li:return t.return=t.return||t.value;case sa:return"";case oa:return t.return=t.value+"{"+at(t.children,i)+"}";case Ni:t.value=t.props.join(",")}return ye(n=at(t.children,i))?t.return=t.value+"{"+n+"}":""}function Kh(t){var e=Oi(t);return function(n,i,r,s){for(var o="",u=0;u<e;u++)o+=t[u](n,i,r,s)||"";return o}}function qh(t){return function(e){e.root||(e=e.return)&&t(e)}}function ep(t){var e=Object.create(null);return function(n){return e[n]===void 0&&(e[n]=t(n)),e[n]}}var tp=function(e,n,i){for(var r=0,s=0;r=s,s=Ie(),r===38&&s===12&&(n[i]=1),!Bt(s);)ue();return Ft(e,re)},np=function(e,n){var i=-1,r=44;do switch(Bt(r)){case 0:r===38&&Ie()===12&&(n[i]=1),e[i]+=tp(re-1,n,i);break;case 2:e[i]+=fn(r);break;case 4:if(r===44){e[++i]=Ie()===58?"&\f":"",n[i]=e[i].length;break}default:e[i]+=an(r)}while(r=ue());return e},ip=function(e,n){return ca(np(la(e),n))},ha=new WeakMap,rp=function(e){if(!(e.type!=="rule"||!e.parent||e.length<1)){for(var n=e.value,i=e.parent,r=e.column===i.column&&e.line===i.line;i.type!=="rule";)if(i=i.parent,!i)return;if(!(e.props.length===1&&n.charCodeAt(0)!==58&&!ha.get(i))&&!r){ha.set(e,!0);for(var s=[],o=ip(n,s),u=i.props,a=0,l=0;a<o.length;a++)for(var c=0;c<u.length;c++,l++)e.props[l]=s[a]?o[a].replace(/&\f/g,u[c]):u[c]+" "+o[a]}}},sp=function(e){if(e.type==="decl"){var n=e.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(e.return="",e.value="")}};function pa(t,e){switch(Xh(t,e)){case 5103:return N+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return N+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return N+t+on+t+te+t+t;case 6828:case 4268:return N+t+te+t+t;case 6165:return N+t+te+"flex-"+t+t;case 5187:return N+t+L(t,/(\w+).+(:[^]+)/,N+"box-$1$2"+te+"flex-$1$2")+t;case 5443:return N+t+te+"flex-item-"+L(t,/flex-|-self/,"")+t;case 4675:return N+t+te+"flex-line-pack"+L(t,/align-content|flex-|-self/,"")+t;case 5548:return N+t+te+L(t,"shrink","negative")+t;case 5292:return N+t+te+L(t,"basis","preferred-size")+t;case 6060:return N+"box-"+L(t,"-grow","")+N+t+te+L(t,"grow","positive")+t;case 4554:return N+L(t,/([^-])(transform)/g,"$1"+N+"$2")+t;case 6187:return L(L(L(t,/(zoom-|grab)/,N+"$1"),/(image-set)/,N+"$1"),t,"")+t;case 5495:case 3959:return L(t,/(image-set\([^]*)/,N+"$1$`$1");case 4968:return L(L(t,/(.+:)(flex-)?(.*)/,N+"box-pack:$3"+te+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+N+t+t;case 4095:case 3583:case 4068:case 2532:return L(t,/(.+)-inline(.+)/,N+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(ye(t)-1-e>6)switch(K(t,e+1)){case 109:if(K(t,e+4)!==45)break;case 102:return L(t,/(.+:)(.+)-([^]+)/,"$1"+N+"$2-$3$1"+on+(K(t,e+3)==108?"$3":"$2-$3"))+t;case 115:return~Wi(t,"stretch")?pa(L(t,"stretch","fill-available"),e)+t:t}break;case 4949:if(K(t,e+1)!==115)break;case 6444:switch(K(t,ye(t)-3-(~Wi(t,"!important")&&10))){case 107:return L(t,":",":"+N)+t;case 101:return L(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+N+(K(t,14)===45?"inline-":"")+"box$3$1"+N+"$2$3$1"+te+"$2box$3")+t}break;case 5936:switch(K(t,e+11)){case 114:return N+t+te+L(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return N+t+te+L(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return N+t+te+L(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return N+t+te+t+t}return t}var op=function(e,n,i,r){if(e.length>-1&&!e.return)switch(e.type){case Li:e.return=pa(e.value,e.length);break;case oa:return at([wt(e,{value:L(e.value,"@","@"+N)})],r);case Ni:if(e.length)return Hh(e.props,function(s){switch(Zh(s,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return at([wt(e,{props:[L(s,/:(read-\w+)/,":"+on+"$1")]})],r);case"::placeholder":return at([wt(e,{props:[L(s,/:(plac\w+)/,":"+N+"input-$1")]}),wt(e,{props:[L(s,/:(plac\w+)/,":"+on+"$1")]}),wt(e,{props:[L(s,/:(plac\w+)/,te+"input-$1")]})],r)}return""})}},ap=[op],up=function(e){var n=e.key;if(n==="css"){var i=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(i,function(p){var g=p.getAttribute("data-emotion");g.indexOf(" ")!==-1&&(document.head.appendChild(p),p.setAttribute("data-s",""))})}var r=e.stylisPlugins||ap,s={},o,u=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(p){for(var g=p.getAttribute("data-emotion").split(" "),b=1;b<g.length;b++)s[g[b]]=!0;u.push(p)});var a,l=[rp,sp];{var c,d=[$h,qh(function(p){c.insert(p)})],f=Kh(l.concat(r,d)),h=function(g){return at(_h(g),f)};a=function(g,b,I,v){c=I,h(g?g+"{"+b.styles+"}":b.styles),v&&(m.inserted[b.name]=!0)}}var m={key:n,sheet:new Rh({key:n,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:s,registered:{},insert:a};return m.sheet.hydrate(u),m},Zi={exports:{}},X={};/** @license React v16.13.1
16
16
  * react-is.production.min.js
17
17
  *
18
18
  * Copyright (c) Facebook, Inc. and its affiliates.
19
19
  *
20
20
  * This source code is licensed under the MIT license found in the
21
21
  * LICENSE file in the root directory of this source tree.
22
- */var Pa;function Np(){if(Pa)return X;Pa=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,i=e?Symbol.for("react.fragment"):60107,r=e?Symbol.for("react.strict_mode"):60108,s=e?Symbol.for("react.profiler"):60114,o=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,a=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,c=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,f=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,p=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,I=e?Symbol.for("react.scope"):60119;function v(y){if(typeof y=="object"&&y!==null){var E=y.$$typeof;switch(E){case t:switch(y=y.type,y){case a:case l:case i:case s:case r:case d:return y;default:switch(y=y&&y.$$typeof,y){case u:case c:case m:case h:case o:return y;default:return E}}case n:return E}}}function x(y){return v(y)===l}return X.AsyncMode=a,X.ConcurrentMode=l,X.ContextConsumer=u,X.ContextProvider=o,X.Element=t,X.ForwardRef=c,X.Fragment=i,X.Lazy=m,X.Memo=h,X.Portal=n,X.Profiler=s,X.StrictMode=r,X.Suspense=d,X.isAsyncMode=function(y){return x(y)||v(y)===a},X.isConcurrentMode=x,X.isContextConsumer=function(y){return v(y)===u},X.isContextProvider=function(y){return v(y)===o},X.isElement=function(y){return typeof y=="object"&&y!==null&&y.$$typeof===t},X.isForwardRef=function(y){return v(y)===c},X.isFragment=function(y){return v(y)===i},X.isLazy=function(y){return v(y)===m},X.isMemo=function(y){return v(y)===h},X.isPortal=function(y){return v(y)===n},X.isProfiler=function(y){return v(y)===s},X.isStrictMode=function(y){return v(y)===r},X.isSuspense=function(y){return v(y)===d},X.isValidElementType=function(y){return typeof y=="string"||typeof y=="function"||y===i||y===l||y===s||y===r||y===d||y===f||typeof y=="object"&&y!==null&&(y.$$typeof===m||y.$$typeof===h||y.$$typeof===o||y.$$typeof===u||y.$$typeof===c||y.$$typeof===g||y.$$typeof===b||y.$$typeof===I||y.$$typeof===p)},X.typeOf=v,X}var Z={};/** @license React v16.13.1
22
+ */var ma;function lp(){if(ma)return X;ma=1;var t=typeof Symbol=="function"&&Symbol.for,e=t?Symbol.for("react.element"):60103,n=t?Symbol.for("react.portal"):60106,i=t?Symbol.for("react.fragment"):60107,r=t?Symbol.for("react.strict_mode"):60108,s=t?Symbol.for("react.profiler"):60114,o=t?Symbol.for("react.provider"):60109,u=t?Symbol.for("react.context"):60110,a=t?Symbol.for("react.async_mode"):60111,l=t?Symbol.for("react.concurrent_mode"):60111,c=t?Symbol.for("react.forward_ref"):60112,d=t?Symbol.for("react.suspense"):60113,f=t?Symbol.for("react.suspense_list"):60120,h=t?Symbol.for("react.memo"):60115,m=t?Symbol.for("react.lazy"):60116,p=t?Symbol.for("react.block"):60121,g=t?Symbol.for("react.fundamental"):60117,b=t?Symbol.for("react.responder"):60118,I=t?Symbol.for("react.scope"):60119;function v(y){if(typeof y=="object"&&y!==null){var S=y.$$typeof;switch(S){case e:switch(y=y.type,y){case a:case l:case i:case s:case r:case d:return y;default:switch(y=y&&y.$$typeof,y){case u:case c:case m:case h:case o:return y;default:return S}}case n:return S}}}function x(y){return v(y)===l}return X.AsyncMode=a,X.ConcurrentMode=l,X.ContextConsumer=u,X.ContextProvider=o,X.Element=e,X.ForwardRef=c,X.Fragment=i,X.Lazy=m,X.Memo=h,X.Portal=n,X.Profiler=s,X.StrictMode=r,X.Suspense=d,X.isAsyncMode=function(y){return x(y)||v(y)===a},X.isConcurrentMode=x,X.isContextConsumer=function(y){return v(y)===u},X.isContextProvider=function(y){return v(y)===o},X.isElement=function(y){return typeof y=="object"&&y!==null&&y.$$typeof===e},X.isForwardRef=function(y){return v(y)===c},X.isFragment=function(y){return v(y)===i},X.isLazy=function(y){return v(y)===m},X.isMemo=function(y){return v(y)===h},X.isPortal=function(y){return v(y)===n},X.isProfiler=function(y){return v(y)===s},X.isStrictMode=function(y){return v(y)===r},X.isSuspense=function(y){return v(y)===d},X.isValidElementType=function(y){return typeof y=="string"||typeof y=="function"||y===i||y===l||y===s||y===r||y===d||y===f||typeof y=="object"&&y!==null&&(y.$$typeof===m||y.$$typeof===h||y.$$typeof===o||y.$$typeof===u||y.$$typeof===c||y.$$typeof===g||y.$$typeof===b||y.$$typeof===I||y.$$typeof===p)},X.typeOf=v,X}var Z={};/** @license React v16.13.1
23
23
  * react-is.development.js
24
24
  *
25
25
  * Copyright (c) Facebook, Inc. and its affiliates.
26
26
  *
27
27
  * This source code is licensed under the MIT license found in the
28
28
  * LICENSE file in the root directory of this source tree.
29
- */var Va;function Lp(){return Va||(Va=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,i=e?Symbol.for("react.fragment"):60107,r=e?Symbol.for("react.strict_mode"):60108,s=e?Symbol.for("react.profiler"):60114,o=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,a=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,c=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,f=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,p=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,I=e?Symbol.for("react.scope"):60119;function v(P){return typeof P=="string"||typeof P=="function"||P===i||P===l||P===s||P===r||P===d||P===f||typeof P=="object"&&P!==null&&(P.$$typeof===m||P.$$typeof===h||P.$$typeof===o||P.$$typeof===u||P.$$typeof===c||P.$$typeof===g||P.$$typeof===b||P.$$typeof===I||P.$$typeof===p)}function x(P){if(typeof P=="object"&&P!==null){var Zt=P.$$typeof;switch(Zt){case t:var et=P.type;switch(et){case a:case l:case i:case s:case r:case d:return et;default:var Nn=et&&et.$$typeof;switch(Nn){case u:case c:case m:case h:case o:return Nn;default:return Zt}}case n:return Zt}}}var y=a,E=l,T=u,S=o,M=t,N=c,k=i,Y=m,ce=h,oe=n,D=s,R=r,ie=d,_=!1;function Ee(P){return _||(_=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),be(P)||x(P)===a}function be(P){return x(P)===l}function gt(P){return x(P)===u}function J(P){return x(P)===o}function re(P){return typeof P=="object"&&P!==null&&P.$$typeof===t}function ve(P){return x(P)===c}function Te(P){return x(P)===i}function de(P){return x(P)===m}function Pe(P){return x(P)===h}function ye(P){return x(P)===n}function bt(P){return x(P)===s}function hr(P){return x(P)===r}function Dn(P){return x(P)===d}Z.AsyncMode=y,Z.ConcurrentMode=E,Z.ContextConsumer=T,Z.ContextProvider=S,Z.Element=M,Z.ForwardRef=N,Z.Fragment=k,Z.Lazy=Y,Z.Memo=ce,Z.Portal=oe,Z.Profiler=D,Z.StrictMode=R,Z.Suspense=ie,Z.isAsyncMode=Ee,Z.isConcurrentMode=be,Z.isContextConsumer=gt,Z.isContextProvider=J,Z.isElement=re,Z.isForwardRef=ve,Z.isFragment=Te,Z.isLazy=de,Z.isMemo=Pe,Z.isPortal=ye,Z.isProfiler=bt,Z.isStrictMode=hr,Z.isSuspense=Dn,Z.isValidElementType=v,Z.typeOf=x}()),Z}process.env.NODE_ENV==="production"?_i.exports=Np():_i.exports=Lp();var Wp=_i.exports,wa=Wp,Rp={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Op={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Fa={};Fa[wa.ForwardRef]=Rp,Fa[wa.Memo]=Op;var Xp=!0;function Zp(e,t,n){var i="";return n.split(" ").forEach(function(r){e[r]!==void 0?t.push(e[r]+";"):i+=r+" "}),i}var Ba=function(t,n,i){var r=t.key+"-"+n.name;(i===!1||Xp===!1)&&t.registered[r]===void 0&&(t.registered[r]=n.styles)},Hp=function(t,n,i){Ba(t,n,i);var r=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var s=n;do t.insert(n===s?"."+r:"",s,t.sheet,!0),s=s.next;while(s!==void 0)}};function kp(e){for(var t=0,n,i=0,r=e.length;r>=4;++i,r-=4)n=e.charCodeAt(i)&255|(e.charCodeAt(++i)&255)<<8|(e.charCodeAt(++i)&255)<<16|(e.charCodeAt(++i)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(r){case 3:t^=(e.charCodeAt(i+2)&255)<<16;case 2:t^=(e.charCodeAt(i+1)&255)<<8;case 1:t^=e.charCodeAt(i)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var zp={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},jp=!1,Yp=/[A-Z]|^ms/g,Jp=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Ga=function(t){return t.charCodeAt(1)===45},Ma=function(t){return t!=null&&typeof t!="boolean"},Qi=Tp(function(e){return Ga(e)?e:e.replace(Yp,"-$&").toLowerCase()}),Da=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(Jp,function(i,r,s){return Se={name:r,styles:s,next:Se},r})}return zp[t]!==1&&!Ga(t)&&typeof n=="number"&&n!==0?n+"px":n},Up="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Ot(e,t,n){if(n==null)return"";var i=n;if(i.__emotion_styles!==void 0)return i;switch(typeof n){case"boolean":return"";case"object":{var r=n;if(r.anim===1)return Se={name:r.name,styles:r.styles,next:Se},r.name;var s=n;if(s.styles!==void 0){var o=s.next;if(o!==void 0)for(;o!==void 0;)Se={name:o.name,styles:o.styles,next:Se},o=o.next;var u=s.styles+";";return u}return _p(e,t,n)}case"function":{if(e!==void 0){var a=Se,l=n(e);return Se=a,Ot(e,t,l)}break}}var c=n;return c}function _p(e,t,n){var i="";if(Array.isArray(n))for(var r=0;r<n.length;r++)i+=Ot(e,t,n[r])+";";else for(var s in n){var o=n[s];if(typeof o!="object"){var u=o;Ma(u)&&(i+=Qi(s)+":"+Da(s,u)+";")}else{if(s==="NO_COMPONENT_SELECTOR"&&jp)throw new Error(Up);if(Array.isArray(o)&&typeof o[0]=="string"&&t==null)for(var a=0;a<o.length;a++)Ma(o[a])&&(i+=Qi(s)+":"+Da(s,o[a])+";");else{var l=Ot(e,t,o);switch(s){case"animation":case"animationName":{i+=Qi(s)+":"+l+";";break}default:i+=s+"{"+l+"}"}}}}return i}var Na=/label:\s*([^\s;\n{]+)\s*(;|$)/g,Se;function La(e,t,n){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var i=!0,r="";Se=void 0;var s=e[0];if(s==null||s.raw===void 0)i=!1,r+=Ot(n,t,s);else{var o=s;r+=o[0]}for(var u=1;u<e.length;u++)if(r+=Ot(n,t,e[u]),i){var a=s;r+=a[u]}Na.lastIndex=0;for(var l="",c;(c=Na.exec(r))!==null;)l+="-"+c[1];var d=kp(r)+l;return{name:d,styles:r,next:Se}}var Qp=function(t){return t()},$p=G.useInsertionEffect?G.useInsertionEffect:!1,Kp=$p||Qp,qp=!1,Wa=G.createContext(typeof HTMLElement<"u"?Dp({key:"css"}):null);Wa.Provider;var em=function(t){return C.forwardRef(function(n,i){var r=C.useContext(Wa);return t(n,r,i)})},tm=G.createContext({}),$i={}.hasOwnProperty,Ki="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",nm=function(t,n){var i={};for(var r in n)$i.call(n,r)&&(i[r]=n[r]);return i[Ki]=t,i},im=function(t){var n=t.cache,i=t.serialized,r=t.isStringTag;return Ba(n,i,r),Kp(function(){return Hp(n,i,r)}),null},rm=em(function(e,t,n){var i=e.css;typeof i=="string"&&t.registered[i]!==void 0&&(i=t.registered[i]);var r=e[Ki],s=[i],o="";typeof e.className=="string"?o=Zp(t.registered,s,e.className):e.className!=null&&(o=e.className+" ");var u=La(s,void 0,G.useContext(tm));o+=t.key+"-"+u.name;var a={};for(var l in e)$i.call(e,l)&&l!=="css"&&l!==Ki&&!qp&&(a[l]=e[l]);return a.className=o,n&&(a.ref=n),G.createElement(G.Fragment,null,G.createElement(im,{cache:t,serialized:u,isStringTag:typeof r=="string"}),G.createElement(r,a))}),sm=rm,V=function(t,n){var i=arguments;if(n==null||!$i.call(n,"css"))return G.createElement.apply(void 0,i);var r=i.length,s=new Array(r);s[0]=sm,s[1]=nm(t,n);for(var o=2;o<r;o++)s[o]=i[o];return G.createElement.apply(null,s)};function qi(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return La(t)}var om=function(){var t=qi.apply(void 0,arguments),n="animation-"+t.name;return{name:n,styles:"@keyframes "+n+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}};function am(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}const um=Math.min,lm=Math.max,xn=Math.round,An=Math.floor,Sn=e=>({x:e,y:e});function cm(e){const{x:t,y:n,width:i,height:r}=e;return{width:i,height:r,top:n,left:t,right:t+i,bottom:n+r,x:t,y:n}}function Ra(e){return Xa(e)?(e.nodeName||"").toLowerCase():"#document"}function We(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Oa(e){var t;return(t=(Xa(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Xa(e){return e instanceof Node||e instanceof We(e).Node}function dm(e){return e instanceof Element||e instanceof We(e).Element}function er(e){return e instanceof HTMLElement||e instanceof We(e).HTMLElement}function Za(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof We(e).ShadowRoot}function Ha(e){const{overflow:t,overflowX:n,overflowY:i,display:r}=tr(e);return/auto|scroll|overlay|hidden|clip/.test(t+i+n)&&!["inline","contents"].includes(r)}function fm(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function hm(e){return["html","body","#document"].includes(Ra(e))}function tr(e){return We(e).getComputedStyle(e)}function pm(e){if(Ra(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Za(e)&&e.host||Oa(e);return Za(t)?t.host:t}function ka(e){const t=pm(e);return hm(t)?e.ownerDocument?e.ownerDocument.body:e.body:er(t)&&Ha(t)?t:ka(t)}function En(e,t,n){var i;t===void 0&&(t=[]),n===void 0&&(n=!0);const r=ka(e),s=r===((i=e.ownerDocument)==null?void 0:i.body),o=We(r);return s?t.concat(o,o.visualViewport||[],Ha(r)?r:[],o.frameElement&&n?En(o.frameElement):[]):t.concat(r,En(r,[],n))}function mm(e){const t=tr(e);let n=parseFloat(t.width)||0,i=parseFloat(t.height)||0;const r=er(e),s=r?e.offsetWidth:n,o=r?e.offsetHeight:i,u=xn(n)!==s||xn(i)!==o;return u&&(n=s,i=o),{width:n,height:i,$:u}}function nr(e){return dm(e)?e:e.contextElement}function za(e){const t=nr(e);if(!er(t))return Sn(1);const n=t.getBoundingClientRect(),{width:i,height:r,$:s}=mm(t);let o=(s?xn(n.width):n.width)/i,u=(s?xn(n.height):n.height)/r;return(!o||!Number.isFinite(o))&&(o=1),(!u||!Number.isFinite(u))&&(u=1),{x:o,y:u}}const gm=Sn(0);function bm(e){const t=We(e);return!fm()||!t.visualViewport?gm:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function vm(e,t,n){return!1}function ja(e,t,n,i){t===void 0&&(t=!1);const r=e.getBoundingClientRect(),s=nr(e);let o=Sn(1);t&&(o=za(e));const u=vm()?bm(s):Sn(0);let a=(r.left+u.x)/o.x,l=(r.top+u.y)/o.y,c=r.width/o.x,d=r.height/o.y;if(s){const f=We(s),h=i;let m=f,p=m.frameElement;for(;p&&i&&h!==m;){const g=za(p),b=p.getBoundingClientRect(),I=tr(p),v=b.left+(p.clientLeft+parseFloat(I.paddingLeft))*g.x,x=b.top+(p.clientTop+parseFloat(I.paddingTop))*g.y;a*=g.x,l*=g.y,c*=g.x,d*=g.y,a+=v,l+=x,m=We(p),p=m.frameElement}}return cm({width:c,height:d,x:a,y:l})}function ym(e,t){let n=null,i;const r=Oa(e);function s(){var u;clearTimeout(i),(u=n)==null||u.disconnect(),n=null}function o(u,a){u===void 0&&(u=!1),a===void 0&&(a=1),s();const{left:l,top:c,width:d,height:f}=e.getBoundingClientRect();if(u||t(),!d||!f)return;const h=An(c),m=An(r.clientWidth-(l+d)),p=An(r.clientHeight-(c+f)),g=An(l),I={rootMargin:-h+"px "+-m+"px "+-p+"px "+-g+"px",threshold:lm(0,um(1,a))||1};let v=!0;function x(y){const E=y[0].intersectionRatio;if(E!==a){if(!v)return o();E?o(!1,E):i=setTimeout(()=>{o(!1,1e-7)},1e3)}v=!1}try{n=new IntersectionObserver(x,{...I,root:r.ownerDocument})}catch{n=new IntersectionObserver(x,I)}n.observe(e)}return o(!0),s}function Cm(e,t,n,i){i===void 0&&(i={});const{ancestorScroll:r=!0,ancestorResize:s=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:u=typeof IntersectionObserver=="function",animationFrame:a=!1}=i,l=nr(e),c=r||s?[...l?En(l):[],...En(t)]:[];c.forEach(b=>{r&&b.addEventListener("scroll",n,{passive:!0}),s&&b.addEventListener("resize",n)});const d=l&&u?ym(l,n):null;let f=-1,h=null;o&&(h=new ResizeObserver(b=>{let[I]=b;I&&I.target===l&&h&&(h.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var v;(v=h)==null||v.observe(t)})),n()}),l&&!a&&h.observe(l),h.observe(t));let m,p=a?ja(e):null;a&&g();function g(){const b=ja(e);p&&(b.x!==p.x||b.y!==p.y||b.width!==p.width||b.height!==p.height)&&n(),p=b,m=requestAnimationFrame(g)}return n(),()=>{var b;c.forEach(I=>{r&&I.removeEventListener("scroll",n),s&&I.removeEventListener("resize",n)}),d==null||d(),(b=h)==null||b.disconnect(),h=null,a&&cancelAnimationFrame(m)}}var ir=C.useLayoutEffect,Im=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],Tn=function(){};function xm(e,t){return t?t[0]==="-"?e+t:e+"__"+t:e}function Am(e,t){for(var n=arguments.length,i=new Array(n>2?n-2:0),r=2;r<n;r++)i[r-2]=arguments[r];var s=[].concat(i);if(t&&e)for(var o in t)t.hasOwnProperty(o)&&t[o]&&s.push("".concat(xm(e,o)));return s.filter(function(u){return u}).map(function(u){return String(u).trim()}).join(" ")}var Ya=function(t){return Gm(t)?t.filter(Boolean):qe(t)==="object"&&t!==null?[t]:[]},Ja=function(t){t.className,t.clearValue,t.cx,t.getStyles,t.getClassNames,t.getValue,t.hasValue,t.isMulti,t.isRtl,t.options,t.selectOption,t.selectProps,t.setValue,t.theme;var n=Le(t,Im);return w({},n)},z=function(t,n,i){var r=t.cx,s=t.getStyles,o=t.getClassNames,u=t.className;return{css:s(n,t),className:r(i??{},o(n,t),u)}};function Pn(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function Sm(e){return Pn(e)?window.innerHeight:e.clientHeight}function Ua(e){return Pn(e)?window.pageYOffset:e.scrollTop}function Vn(e,t){if(Pn(e)){window.scrollTo(0,t);return}e.scrollTop=t}function Em(e){var t=getComputedStyle(e),n=t.position==="absolute",i=/(auto|scroll)/;if(t.position==="fixed")return document.documentElement;for(var r=e;r=r.parentElement;)if(t=getComputedStyle(r),!(n&&t.position==="static")&&i.test(t.overflow+t.overflowY+t.overflowX))return r;return document.documentElement}function Tm(e,t,n,i){return n*((e=e/i-1)*e*e+1)+t}function wn(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:Tn,r=Ua(e),s=t-r,o=10,u=0;function a(){u+=o;var l=Tm(u,r,s,n);Vn(e,l),u<n?window.requestAnimationFrame(a):i(e)}a()}function _a(e,t){var n=e.getBoundingClientRect(),i=t.getBoundingClientRect(),r=t.offsetHeight/3;i.bottom+r>n.bottom?Vn(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+r,e.scrollHeight)):i.top-r<n.top&&Vn(e,Math.max(t.offsetTop-r,0))}function Pm(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}function Qa(){try{return document.createEvent("TouchEvent"),!0}catch{return!1}}function Vm(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}var $a=!1,wm={get passive(){return $a=!0}},Fn=typeof window<"u"?window:{};Fn.addEventListener&&Fn.removeEventListener&&(Fn.addEventListener("p",Tn,wm),Fn.removeEventListener("p",Tn,!1));var Fm=$a;function Bm(e){return e!=null}function Gm(e){return Array.isArray(e)}function Bn(e,t,n){return e?t:n}function bb(e){return e}function vb(e){return e}var Mm=function(t){for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];var s=Object.entries(t).filter(function(o){var u=Ne(o,1),a=u[0];return!i.includes(a)});return s.reduce(function(o,u){var a=Ne(u,2),l=a[0],c=a[1];return o[l]=c,o},{})},Dm=["children","innerProps"],Nm=["children","innerProps"];function Lm(e){var t=e.maxHeight,n=e.menuEl,i=e.minHeight,r=e.placement,s=e.shouldScroll,o=e.isFixedPosition,u=e.controlHeight,a=Em(n),l={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return l;var c=a.getBoundingClientRect(),d=c.height,f=n.getBoundingClientRect(),h=f.bottom,m=f.height,p=f.top,g=n.offsetParent.getBoundingClientRect(),b=g.top,I=o?window.innerHeight:Sm(a),v=Ua(a),x=parseInt(getComputedStyle(n).marginBottom,10),y=parseInt(getComputedStyle(n).marginTop,10),E=b-y,T=I-p,S=E+v,M=d-v-p,N=h-I+v+x,k=v+p-y,Y=160;switch(r){case"auto":case"bottom":if(T>=m)return{placement:"bottom",maxHeight:t};if(M>=m&&!o)return s&&wn(a,N,Y),{placement:"bottom",maxHeight:t};if(!o&&M>=i||o&&T>=i){s&&wn(a,N,Y);var ce=o?T-x:M-x;return{placement:"bottom",maxHeight:ce}}if(r==="auto"||o){var oe=t,D=o?E:S;return D>=i&&(oe=Math.min(D-x-u,t)),{placement:"top",maxHeight:oe}}if(r==="bottom")return s&&Vn(a,N),{placement:"bottom",maxHeight:t};break;case"top":if(E>=m)return{placement:"top",maxHeight:t};if(S>=m&&!o)return s&&wn(a,k,Y),{placement:"top",maxHeight:t};if(!o&&S>=i||o&&E>=i){var R=t;return(!o&&S>=i||o&&E>=i)&&(R=o?E-y:S-y),s&&wn(a,k,Y),{placement:"top",maxHeight:R}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(r,'".'))}return l}function Wm(e){var t={bottom:"top",top:"bottom"};return e?t[e]:"bottom"}var Ka=function(t){return t==="auto"?"bottom":t},Rm=function(t,n){var i,r=t.placement,s=t.theme,o=s.borderRadius,u=s.spacing,a=s.colors;return w((i={label:"menu"},Dt(i,Wm(r),"100%"),Dt(i,"position","absolute"),Dt(i,"width","100%"),Dt(i,"zIndex",1),i),n?{}:{backgroundColor:a.neutral0,borderRadius:o,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:u.menuGutter,marginTop:u.menuGutter})},qa=C.createContext(null),Om=function(t){var n=t.children,i=t.minMenuHeight,r=t.maxMenuHeight,s=t.menuPlacement,o=t.menuPosition,u=t.menuShouldScrollIntoView,a=t.theme,l=C.useContext(qa)||{},c=l.setPortalPlacement,d=C.useRef(null),f=C.useState(r),h=Ne(f,2),m=h[0],p=h[1],g=C.useState(null),b=Ne(g,2),I=b[0],v=b[1],x=a.spacing.controlHeight;return ir(function(){var y=d.current;if(y){var E=o==="fixed",T=u&&!E,S=Lm({maxHeight:r,menuEl:y,minHeight:i,placement:s,shouldScroll:T,isFixedPosition:E,controlHeight:x});p(S.maxHeight),v(S.placement),c==null||c(S.placement)}},[r,s,o,u,i,c,x]),n({ref:d,placerProps:w(w({},t),{},{placement:I||Ka(s),maxHeight:m})})},Xm=function(t){var n=t.children,i=t.innerRef,r=t.innerProps;return V("div",B({},z(t,"menu",{menu:!0}),{ref:i},r),n)},Zm=Xm,Hm=function(t,n){var i=t.maxHeight,r=t.theme.spacing.baseUnit;return w({maxHeight:i,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},n?{}:{paddingBottom:r,paddingTop:r})},km=function(t){var n=t.children,i=t.innerProps,r=t.innerRef,s=t.isMulti;return V("div",B({},z(t,"menuList",{"menu-list":!0,"menu-list--is-multi":s}),{ref:r},i),n)},eu=function(t,n){var i=t.theme,r=i.spacing.baseUnit,s=i.colors;return w({textAlign:"center"},n?{}:{color:s.neutral40,padding:"".concat(r*2,"px ").concat(r*3,"px")})},zm=eu,jm=eu,Ym=function(t){var n=t.children,i=n===void 0?"No options":n,r=t.innerProps,s=Le(t,Dm);return V("div",B({},z(w(w({},s),{},{children:i,innerProps:r}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),r),i)},Jm=function(t){var n=t.children,i=n===void 0?"Loading...":n,r=t.innerProps,s=Le(t,Nm);return V("div",B({},z(w(w({},s),{},{children:i,innerProps:r}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),r),i)},Um=function(t){var n=t.rect,i=t.offset,r=t.position;return{left:n.left,position:r,top:i,width:n.width,zIndex:1}},_m=function(t){var n=t.appendTo,i=t.children,r=t.controlElement,s=t.innerProps,o=t.menuPlacement,u=t.menuPosition,a=C.useRef(null),l=C.useRef(null),c=C.useState(Ka(o)),d=Ne(c,2),f=d[0],h=d[1],m=C.useMemo(function(){return{setPortalPlacement:h}},[]),p=C.useState(null),g=Ne(p,2),b=g[0],I=g[1],v=C.useCallback(function(){if(r){var T=Pm(r),S=u==="fixed"?0:window.pageYOffset,M=T[f]+S;(M!==(b==null?void 0:b.offset)||T.left!==(b==null?void 0:b.rect.left)||T.width!==(b==null?void 0:b.rect.width))&&I({offset:M,rect:T})}},[r,u,f,b==null?void 0:b.offset,b==null?void 0:b.rect.left,b==null?void 0:b.rect.width]);ir(function(){v()},[v]);var x=C.useCallback(function(){typeof l.current=="function"&&(l.current(),l.current=null),r&&a.current&&(l.current=Cm(r,a.current,v,{elementResize:"ResizeObserver"in window}))},[r,v]);ir(function(){x()},[x]);var y=C.useCallback(function(T){a.current=T,x()},[x]);if(!n&&u!=="fixed"||!b)return null;var E=V("div",B({ref:y},z(w(w({},t),{},{offset:b.offset,position:u,rect:b.rect}),"menuPortal",{"menu-portal":!0}),s),i);return V(qa.Provider,{value:m},n?Re.createPortal(E,n):E)},Qm=function(t){var n=t.isDisabled,i=t.isRtl;return{label:"container",direction:i?"rtl":void 0,pointerEvents:n?"none":void 0,position:"relative"}},$m=function(t){var n=t.children,i=t.innerProps,r=t.isDisabled,s=t.isRtl;return V("div",B({},z(t,"container",{"--is-disabled":r,"--is-rtl":s}),i),n)},Km=function(t,n){var i=t.theme.spacing,r=t.isMulti,s=t.hasValue,o=t.selectProps.controlShouldRenderValue;return w({alignItems:"center",display:r&&s&&o?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},n?{}:{padding:"".concat(i.baseUnit/2,"px ").concat(i.baseUnit*2,"px")})},qm=function(t){var n=t.children,i=t.innerProps,r=t.isMulti,s=t.hasValue;return V("div",B({},z(t,"valueContainer",{"value-container":!0,"value-container--is-multi":r,"value-container--has-value":s}),i),n)},eg=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},tg=function(t){var n=t.children,i=t.innerProps;return V("div",B({},z(t,"indicatorsContainer",{indicators:!0}),i),n)},tu,ng=["size"],ig=["innerProps","isRtl","size"];function rg(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var sg=process.env.NODE_ENV==="production"?{name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"}:{name:"tj5bde-Svg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lLFxuICBDU1NPYmplY3RXaXRoTGFiZWwsXG4gIEdyb3VwQmFzZSxcbn0gZnJvbSAnLi4vdHlwZXMnO1xuaW1wb3J0IHsgZ2V0U3R5bGVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBEcm9wZG93biAmIENsZWFyIEljb25zXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuY29uc3QgU3ZnID0gKHtcbiAgc2l6ZSxcbiAgLi4ucHJvcHNcbn06IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU6IG51bWJlciB9KSA9PiAoXG4gIDxzdmdcbiAgICBoZWlnaHQ9e3NpemV9XG4gICAgd2lkdGg9e3NpemV9XG4gICAgdmlld0JveD1cIjAgMCAyMCAyMFwiXG4gICAgYXJpYS1oaWRkZW49XCJ0cnVlXCJcbiAgICBmb2N1c2FibGU9XCJmYWxzZVwiXG4gICAgY3NzPXt7XG4gICAgICBkaXNwbGF5OiAnaW5saW5lLWJsb2NrJyxcbiAgICAgIGZpbGw6ICd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IHNpemUgfSxcbiAgICAgICAgJ2xvYWRpbmdJbmRpY2F0b3InLFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdsb2FkaW5nLWluZGljYXRvcic6IHRydWUsXG4gICAgICAgIH1cbiAgICAgICl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MH0gb2Zmc2V0PXtpc1J0bH0gLz5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXsxNjB9IG9mZnNldCAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezMyMH0gb2Zmc2V0PXshaXNSdGx9IC8+XG4gICAgPC9kaXY+XG4gICk7XG59O1xuIl19 */",toString:rg},nu=function(t){var n=t.size,i=Le(t,ng);return V("svg",B({height:n,width:n,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:sg},i))},rr=function(t){return V(nu,B({size:20},t),V("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},iu=function(t){return V(nu,B({size:20},t),V("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},ru=function(t,n){var i=t.isFocused,r=t.theme,s=r.spacing.baseUnit,o=r.colors;return w({label:"indicatorContainer",display:"flex",transition:"color 150ms"},n?{}:{color:i?o.neutral60:o.neutral20,padding:s*2,":hover":{color:i?o.neutral80:o.neutral40}})},og=ru,ag=function(t){var n=t.children,i=t.innerProps;return V("div",B({},z(t,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),i),n||V(iu,null))},ug=ru,lg=function(t){var n=t.children,i=t.innerProps;return V("div",B({},z(t,"clearIndicator",{indicator:!0,"clear-indicator":!0}),i),n||V(rr,null))},cg=function(t,n){var i=t.isDisabled,r=t.theme,s=r.spacing.baseUnit,o=r.colors;return w({label:"indicatorSeparator",alignSelf:"stretch",width:1},n?{}:{backgroundColor:i?o.neutral10:o.neutral20,marginBottom:s*2,marginTop:s*2})},dg=function(t){var n=t.innerProps;return V("span",B({},n,z(t,"indicatorSeparator",{"indicator-separator":!0})))},fg=om(tu||(tu=am([`
29
+ */var ga;function cp(){return ga||(ga=1,process.env.NODE_ENV!=="production"&&function(){var t=typeof Symbol=="function"&&Symbol.for,e=t?Symbol.for("react.element"):60103,n=t?Symbol.for("react.portal"):60106,i=t?Symbol.for("react.fragment"):60107,r=t?Symbol.for("react.strict_mode"):60108,s=t?Symbol.for("react.profiler"):60114,o=t?Symbol.for("react.provider"):60109,u=t?Symbol.for("react.context"):60110,a=t?Symbol.for("react.async_mode"):60111,l=t?Symbol.for("react.concurrent_mode"):60111,c=t?Symbol.for("react.forward_ref"):60112,d=t?Symbol.for("react.suspense"):60113,f=t?Symbol.for("react.suspense_list"):60120,h=t?Symbol.for("react.memo"):60115,m=t?Symbol.for("react.lazy"):60116,p=t?Symbol.for("react.block"):60121,g=t?Symbol.for("react.fundamental"):60117,b=t?Symbol.for("react.responder"):60118,I=t?Symbol.for("react.scope"):60119;function v(E){return typeof E=="string"||typeof E=="function"||E===i||E===l||E===s||E===r||E===d||E===f||typeof E=="object"&&E!==null&&(E.$$typeof===m||E.$$typeof===h||E.$$typeof===o||E.$$typeof===u||E.$$typeof===c||E.$$typeof===g||E.$$typeof===b||E.$$typeof===I||E.$$typeof===p)}function x(E){if(typeof E=="object"&&E!==null){var Dt=E.$$typeof;switch(Dt){case e:var _e=E.type;switch(_e){case a:case l:case i:case s:case r:case d:return _e;default:var Tn=_e&&_e.$$typeof;switch(Tn){case u:case c:case m:case h:case o:return Tn;default:return Dt}}case n:return Dt}}}var y=a,S=l,P=u,A=o,M=e,R=c,k=i,Y=m,le=h,se=n,D=s,W=r,ne=d,_=!1;function xe(E){return _||(_=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),me(E)||x(E)===a}function me(E){return x(E)===l}function ct(E){return x(E)===u}function J(E){return x(E)===o}function ie(E){return typeof E=="object"&&E!==null&&E.$$typeof===e}function ge(E){return x(E)===c}function Ae(E){return x(E)===i}function ce(E){return x(E)===m}function Se(E){return x(E)===h}function be(E){return x(E)===n}function dt(E){return x(E)===s}function sr(E){return x(E)===r}function En(E){return x(E)===d}Z.AsyncMode=y,Z.ConcurrentMode=S,Z.ContextConsumer=P,Z.ContextProvider=A,Z.Element=M,Z.ForwardRef=R,Z.Fragment=k,Z.Lazy=Y,Z.Memo=le,Z.Portal=se,Z.Profiler=D,Z.StrictMode=W,Z.Suspense=ne,Z.isAsyncMode=xe,Z.isConcurrentMode=me,Z.isContextConsumer=ct,Z.isContextProvider=J,Z.isElement=ie,Z.isForwardRef=ge,Z.isFragment=Ae,Z.isLazy=ce,Z.isMemo=Se,Z.isPortal=be,Z.isProfiler=dt,Z.isStrictMode=sr,Z.isSuspense=En,Z.isValidElementType=v,Z.typeOf=x}()),Z}process.env.NODE_ENV==="production"?Zi.exports=lp():Zi.exports=cp();var dp=Zi.exports,ba=dp,fp={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},hp={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},va={};va[ba.ForwardRef]=fp,va[ba.Memo]=hp;var pp=!0;function mp(t,e,n){var i="";return n.split(" ").forEach(function(r){t[r]!==void 0?e.push(t[r]+";"):i+=r+" "}),i}var ya=function(e,n,i){var r=e.key+"-"+n.name;(i===!1||pp===!1)&&e.registered[r]===void 0&&(e.registered[r]=n.styles)},gp=function(e,n,i){ya(e,n,i);var r=e.key+"-"+n.name;if(e.inserted[n.name]===void 0){var s=n;do e.insert(n===s?"."+r:"",s,e.sheet,!0),s=s.next;while(s!==void 0)}};function bp(t){for(var e=0,n,i=0,r=t.length;r>=4;++i,r-=4)n=t.charCodeAt(i)&255|(t.charCodeAt(++i)&255)<<8|(t.charCodeAt(++i)&255)<<16|(t.charCodeAt(++i)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,e=(n&65535)*1540483477+((n>>>16)*59797<<16)^(e&65535)*1540483477+((e>>>16)*59797<<16);switch(r){case 3:e^=(t.charCodeAt(i+2)&255)<<16;case 2:e^=(t.charCodeAt(i+1)&255)<<8;case 1:e^=t.charCodeAt(i)&255,e=(e&65535)*1540483477+((e>>>16)*59797<<16)}return e^=e>>>13,e=(e&65535)*1540483477+((e>>>16)*59797<<16),((e^e>>>15)>>>0).toString(36)}var vp={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},yp=!1,Ip=/[A-Z]|^ms/g,Cp=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Ia=function(e){return e.charCodeAt(1)===45},Ca=function(e){return e!=null&&typeof e!="boolean"},Hi=ep(function(t){return Ia(t)?t:t.replace(Ip,"-$&").toLowerCase()}),xa=function(e,n){switch(e){case"animation":case"animationName":if(typeof n=="string")return n.replace(Cp,function(i,r,s){return Ce={name:r,styles:s,next:Ce},r})}return vp[e]!==1&&!Ia(e)&&typeof n=="number"&&n!==0?n+"px":n},xp="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Gt(t,e,n){if(n==null)return"";var i=n;if(i.__emotion_styles!==void 0)return i;switch(typeof n){case"boolean":return"";case"object":{var r=n;if(r.anim===1)return Ce={name:r.name,styles:r.styles,next:Ce},r.name;var s=n;if(s.styles!==void 0){var o=s.next;if(o!==void 0)for(;o!==void 0;)Ce={name:o.name,styles:o.styles,next:Ce},o=o.next;var u=s.styles+";";return u}return Ap(t,e,n)}case"function":{if(t!==void 0){var a=Ce,l=n(t);return Ce=a,Gt(t,e,l)}break}}var c=n;return c}function Ap(t,e,n){var i="";if(Array.isArray(n))for(var r=0;r<n.length;r++)i+=Gt(t,e,n[r])+";";else for(var s in n){var o=n[s];if(typeof o!="object"){var u=o;Ca(u)&&(i+=Hi(s)+":"+xa(s,u)+";")}else{if(s==="NO_COMPONENT_SELECTOR"&&yp)throw new Error(xp);if(Array.isArray(o)&&typeof o[0]=="string"&&e==null)for(var a=0;a<o.length;a++)Ca(o[a])&&(i+=Hi(s)+":"+xa(s,o[a])+";");else{var l=Gt(t,e,o);switch(s){case"animation":case"animationName":{i+=Hi(s)+":"+l+";";break}default:i+=s+"{"+l+"}"}}}}return i}var Aa=/label:\s*([^\s;\n{]+)\s*(;|$)/g,Ce;function Sa(t,e,n){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var i=!0,r="";Ce=void 0;var s=t[0];if(s==null||s.raw===void 0)i=!1,r+=Gt(n,e,s);else{var o=s;r+=o[0]}for(var u=1;u<t.length;u++)if(r+=Gt(n,e,t[u]),i){var a=s;r+=a[u]}Aa.lastIndex=0;for(var l="",c;(c=Aa.exec(r))!==null;)l+="-"+c[1];var d=bp(r)+l;return{name:d,styles:r,next:Ce}}var Sp=function(e){return e()},Pp=G.useInsertionEffect?G.useInsertionEffect:!1,Ep=Pp||Sp,Tp=!1,Pa=G.createContext(typeof HTMLElement<"u"?up({key:"css"}):null);Pa.Provider;var Vp=function(e){return C.forwardRef(function(n,i){var r=C.useContext(Pa);return e(n,r,i)})},wp=G.createContext({}),ki={}.hasOwnProperty,zi="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Fp=function(e,n){var i={};for(var r in n)ki.call(n,r)&&(i[r]=n[r]);return i[zi]=e,i},Bp=function(e){var n=e.cache,i=e.serialized,r=e.isStringTag;return ya(n,i,r),Ep(function(){return gp(n,i,r)}),null},Gp=Vp(function(t,e,n){var i=t.css;typeof i=="string"&&e.registered[i]!==void 0&&(i=e.registered[i]);var r=t[zi],s=[i],o="";typeof t.className=="string"?o=mp(e.registered,s,t.className):t.className!=null&&(o=t.className+" ");var u=Sa(s,void 0,G.useContext(wp));o+=e.key+"-"+u.name;var a={};for(var l in t)ki.call(t,l)&&l!=="css"&&l!==zi&&!Tp&&(a[l]=t[l]);return a.className=o,n&&(a.ref=n),G.createElement(G.Fragment,null,G.createElement(Bp,{cache:e,serialized:u,isStringTag:typeof r=="string"}),G.createElement(r,a))}),Mp=Gp,T=function(e,n){var i=arguments;if(n==null||!ki.call(n,"css"))return G.createElement.apply(void 0,i);var r=i.length,s=new Array(r);s[0]=Mp,s[1]=Fp(e,n);for(var o=2;o<r;o++)s[o]=i[o];return G.createElement.apply(null,s)};function ji(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return Sa(e)}var Dp=function(){var e=ji.apply(void 0,arguments),n="animation-"+e.name;return{name:n,styles:"@keyframes "+n+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}};function Rp(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}const Np=Math.min,Lp=Math.max,pn=Math.round,mn=Math.floor,gn=t=>({x:t,y:t});function Wp(t){const{x:e,y:n,width:i,height:r}=t;return{width:i,height:r,top:n,left:e,right:e+i,bottom:n+r,x:e,y:n}}function Ea(t){return Va(t)?(t.nodeName||"").toLowerCase():"#document"}function De(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Ta(t){var e;return(e=(Va(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Va(t){return t instanceof Node||t instanceof De(t).Node}function Op(t){return t instanceof Element||t instanceof De(t).Element}function Yi(t){return t instanceof HTMLElement||t instanceof De(t).HTMLElement}function wa(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof De(t).ShadowRoot}function Fa(t){const{overflow:e,overflowX:n,overflowY:i,display:r}=Ji(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+n)&&!["inline","contents"].includes(r)}function Xp(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Zp(t){return["html","body","#document"].includes(Ea(t))}function Ji(t){return De(t).getComputedStyle(t)}function Hp(t){if(Ea(t)==="html")return t;const e=t.assignedSlot||t.parentNode||wa(t)&&t.host||Ta(t);return wa(e)?e.host:e}function Ba(t){const e=Hp(t);return Zp(e)?t.ownerDocument?t.ownerDocument.body:t.body:Yi(e)&&Fa(e)?e:Ba(e)}function bn(t,e,n){var i;e===void 0&&(e=[]),n===void 0&&(n=!0);const r=Ba(t),s=r===((i=t.ownerDocument)==null?void 0:i.body),o=De(r);return s?e.concat(o,o.visualViewport||[],Fa(r)?r:[],o.frameElement&&n?bn(o.frameElement):[]):e.concat(r,bn(r,[],n))}function kp(t){const e=Ji(t);let n=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=Yi(t),s=r?t.offsetWidth:n,o=r?t.offsetHeight:i,u=pn(n)!==s||pn(i)!==o;return u&&(n=s,i=o),{width:n,height:i,$:u}}function Ui(t){return Op(t)?t:t.contextElement}function Ga(t){const e=Ui(t);if(!Yi(e))return gn(1);const n=e.getBoundingClientRect(),{width:i,height:r,$:s}=kp(e);let o=(s?pn(n.width):n.width)/i,u=(s?pn(n.height):n.height)/r;return(!o||!Number.isFinite(o))&&(o=1),(!u||!Number.isFinite(u))&&(u=1),{x:o,y:u}}const zp=gn(0);function jp(t){const e=De(t);return!Xp()||!e.visualViewport?zp:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Yp(t,e,n){return!1}function Ma(t,e,n,i){e===void 0&&(e=!1);const r=t.getBoundingClientRect(),s=Ui(t);let o=gn(1);e&&(o=Ga(t));const u=Yp()?jp(s):gn(0);let a=(r.left+u.x)/o.x,l=(r.top+u.y)/o.y,c=r.width/o.x,d=r.height/o.y;if(s){const f=De(s),h=i;let m=f,p=m.frameElement;for(;p&&i&&h!==m;){const g=Ga(p),b=p.getBoundingClientRect(),I=Ji(p),v=b.left+(p.clientLeft+parseFloat(I.paddingLeft))*g.x,x=b.top+(p.clientTop+parseFloat(I.paddingTop))*g.y;a*=g.x,l*=g.y,c*=g.x,d*=g.y,a+=v,l+=x,m=De(p),p=m.frameElement}}return Wp({width:c,height:d,x:a,y:l})}function Jp(t,e){let n=null,i;const r=Ta(t);function s(){var u;clearTimeout(i),(u=n)==null||u.disconnect(),n=null}function o(u,a){u===void 0&&(u=!1),a===void 0&&(a=1),s();const{left:l,top:c,width:d,height:f}=t.getBoundingClientRect();if(u||e(),!d||!f)return;const h=mn(c),m=mn(r.clientWidth-(l+d)),p=mn(r.clientHeight-(c+f)),g=mn(l),I={rootMargin:-h+"px "+-m+"px "+-p+"px "+-g+"px",threshold:Lp(0,Np(1,a))||1};let v=!0;function x(y){const S=y[0].intersectionRatio;if(S!==a){if(!v)return o();S?o(!1,S):i=setTimeout(()=>{o(!1,1e-7)},1e3)}v=!1}try{n=new IntersectionObserver(x,{...I,root:r.ownerDocument})}catch{n=new IntersectionObserver(x,I)}n.observe(t)}return o(!0),s}function Up(t,e,n,i){i===void 0&&(i={});const{ancestorScroll:r=!0,ancestorResize:s=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:u=typeof IntersectionObserver=="function",animationFrame:a=!1}=i,l=Ui(t),c=r||s?[...l?bn(l):[],...bn(e)]:[];c.forEach(b=>{r&&b.addEventListener("scroll",n,{passive:!0}),s&&b.addEventListener("resize",n)});const d=l&&u?Jp(l,n):null;let f=-1,h=null;o&&(h=new ResizeObserver(b=>{let[I]=b;I&&I.target===l&&h&&(h.unobserve(e),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var v;(v=h)==null||v.observe(e)})),n()}),l&&!a&&h.observe(l),h.observe(e));let m,p=a?Ma(t):null;a&&g();function g(){const b=Ma(t);p&&(b.x!==p.x||b.y!==p.y||b.width!==p.width||b.height!==p.height)&&n(),p=b,m=requestAnimationFrame(g)}return n(),()=>{var b;c.forEach(I=>{r&&I.removeEventListener("scroll",n),s&&I.removeEventListener("resize",n)}),d==null||d(),(b=h)==null||b.disconnect(),h=null,a&&cancelAnimationFrame(m)}}var _i=C.useLayoutEffect,_p=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],vn=function(){};function Qp(t,e){return e?e[0]==="-"?t+e:t+"__"+e:t}function $p(t,e){for(var n=arguments.length,i=new Array(n>2?n-2:0),r=2;r<n;r++)i[r-2]=arguments[r];var s=[].concat(i);if(e&&t)for(var o in e)e.hasOwnProperty(o)&&e[o]&&s.push("".concat(Qp(t,o)));return s.filter(function(u){return u}).map(function(u){return String(u).trim()}).join(" ")}var Da=function(e){return om(e)?e.filter(Boolean):Ue(e)==="object"&&e!==null?[e]:[]},Ra=function(e){e.className,e.clearValue,e.cx,e.getStyles,e.getClassNames,e.getValue,e.hasValue,e.isMulti,e.isRtl,e.options,e.selectOption,e.selectProps,e.setValue,e.theme;var n=Me(e,_p);return V({},n)},z=function(e,n,i){var r=e.cx,s=e.getStyles,o=e.getClassNames,u=e.className;return{css:s(n,e),className:r(i??{},o(n,e),u)}};function yn(t){return[document.documentElement,document.body,window].indexOf(t)>-1}function Kp(t){return yn(t)?window.innerHeight:t.clientHeight}function Na(t){return yn(t)?window.pageYOffset:t.scrollTop}function In(t,e){if(yn(t)){window.scrollTo(0,e);return}t.scrollTop=e}function qp(t){var e=getComputedStyle(t),n=e.position==="absolute",i=/(auto|scroll)/;if(e.position==="fixed")return document.documentElement;for(var r=t;r=r.parentElement;)if(e=getComputedStyle(r),!(n&&e.position==="static")&&i.test(e.overflow+e.overflowY+e.overflowX))return r;return document.documentElement}function em(t,e,n,i){return n*((t=t/i-1)*t*t+1)+e}function Cn(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:vn,r=Na(t),s=e-r,o=10,u=0;function a(){u+=o;var l=em(u,r,s,n);In(t,l),u<n?window.requestAnimationFrame(a):i(t)}a()}function La(t,e){var n=t.getBoundingClientRect(),i=e.getBoundingClientRect(),r=e.offsetHeight/3;i.bottom+r>n.bottom?In(t,Math.min(e.offsetTop+e.clientHeight-t.offsetHeight+r,t.scrollHeight)):i.top-r<n.top&&In(t,Math.max(e.offsetTop-r,0))}function tm(t){var e=t.getBoundingClientRect();return{bottom:e.bottom,height:e.height,left:e.left,right:e.right,top:e.top,width:e.width}}function Wa(){try{return document.createEvent("TouchEvent"),!0}catch{return!1}}function nm(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}var Oa=!1,im={get passive(){return Oa=!0}},xn=typeof window<"u"?window:{};xn.addEventListener&&xn.removeEventListener&&(xn.addEventListener("p",vn,im),xn.removeEventListener("p",vn,!1));var rm=Oa;function sm(t){return t!=null}function om(t){return Array.isArray(t)}function An(t,e,n){return t?e:n}function Rb(t){return t}function Nb(t){return t}var am=function(e){for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];var s=Object.entries(e).filter(function(o){var u=Ge(o,1),a=u[0];return!i.includes(a)});return s.reduce(function(o,u){var a=Ge(u,2),l=a[0],c=a[1];return o[l]=c,o},{})},um=["children","innerProps"],lm=["children","innerProps"];function cm(t){var e=t.maxHeight,n=t.menuEl,i=t.minHeight,r=t.placement,s=t.shouldScroll,o=t.isFixedPosition,u=t.controlHeight,a=qp(n),l={placement:"bottom",maxHeight:e};if(!n||!n.offsetParent)return l;var c=a.getBoundingClientRect(),d=c.height,f=n.getBoundingClientRect(),h=f.bottom,m=f.height,p=f.top,g=n.offsetParent.getBoundingClientRect(),b=g.top,I=o?window.innerHeight:Kp(a),v=Na(a),x=parseInt(getComputedStyle(n).marginBottom,10),y=parseInt(getComputedStyle(n).marginTop,10),S=b-y,P=I-p,A=S+v,M=d-v-p,R=h-I+v+x,k=v+p-y,Y=160;switch(r){case"auto":case"bottom":if(P>=m)return{placement:"bottom",maxHeight:e};if(M>=m&&!o)return s&&Cn(a,R,Y),{placement:"bottom",maxHeight:e};if(!o&&M>=i||o&&P>=i){s&&Cn(a,R,Y);var le=o?P-x:M-x;return{placement:"bottom",maxHeight:le}}if(r==="auto"||o){var se=e,D=o?S:A;return D>=i&&(se=Math.min(D-x-u,e)),{placement:"top",maxHeight:se}}if(r==="bottom")return s&&In(a,R),{placement:"bottom",maxHeight:e};break;case"top":if(S>=m)return{placement:"top",maxHeight:e};if(A>=m&&!o)return s&&Cn(a,k,Y),{placement:"top",maxHeight:e};if(!o&&A>=i||o&&S>=i){var W=e;return(!o&&A>=i||o&&S>=i)&&(W=o?S-y:A-y),s&&Cn(a,k,Y),{placement:"top",maxHeight:W}}return{placement:"bottom",maxHeight:e};default:throw new Error('Invalid placement provided "'.concat(r,'".'))}return l}function dm(t){var e={bottom:"top",top:"bottom"};return t?e[t]:"bottom"}var Xa=function(e){return e==="auto"?"bottom":e},fm=function(e,n){var i,r=e.placement,s=e.theme,o=s.borderRadius,u=s.spacing,a=s.colors;return V((i={label:"menu"},Tt(i,dm(r),"100%"),Tt(i,"position","absolute"),Tt(i,"width","100%"),Tt(i,"zIndex",1),i),n?{}:{backgroundColor:a.neutral0,borderRadius:o,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:u.menuGutter,marginTop:u.menuGutter})},Za=C.createContext(null),hm=function(e){var n=e.children,i=e.minMenuHeight,r=e.maxMenuHeight,s=e.menuPlacement,o=e.menuPosition,u=e.menuShouldScrollIntoView,a=e.theme,l=C.useContext(Za)||{},c=l.setPortalPlacement,d=C.useRef(null),f=C.useState(r),h=Ge(f,2),m=h[0],p=h[1],g=C.useState(null),b=Ge(g,2),I=b[0],v=b[1],x=a.spacing.controlHeight;return _i(function(){var y=d.current;if(y){var S=o==="fixed",P=u&&!S,A=cm({maxHeight:r,menuEl:y,minHeight:i,placement:s,shouldScroll:P,isFixedPosition:S,controlHeight:x});p(A.maxHeight),v(A.placement),c==null||c(A.placement)}},[r,s,o,u,i,c,x]),n({ref:d,placerProps:V(V({},e),{},{placement:I||Xa(s),maxHeight:m})})},pm=function(e){var n=e.children,i=e.innerRef,r=e.innerProps;return T("div",F({},z(e,"menu",{menu:!0}),{ref:i},r),n)},mm=pm,gm=function(e,n){var i=e.maxHeight,r=e.theme.spacing.baseUnit;return V({maxHeight:i,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},n?{}:{paddingBottom:r,paddingTop:r})},bm=function(e){var n=e.children,i=e.innerProps,r=e.innerRef,s=e.isMulti;return T("div",F({},z(e,"menuList",{"menu-list":!0,"menu-list--is-multi":s}),{ref:r},i),n)},Ha=function(e,n){var i=e.theme,r=i.spacing.baseUnit,s=i.colors;return V({textAlign:"center"},n?{}:{color:s.neutral40,padding:"".concat(r*2,"px ").concat(r*3,"px")})},vm=Ha,ym=Ha,Im=function(e){var n=e.children,i=n===void 0?"No options":n,r=e.innerProps,s=Me(e,um);return T("div",F({},z(V(V({},s),{},{children:i,innerProps:r}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),r),i)},Cm=function(e){var n=e.children,i=n===void 0?"Loading...":n,r=e.innerProps,s=Me(e,lm);return T("div",F({},z(V(V({},s),{},{children:i,innerProps:r}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),r),i)},xm=function(e){var n=e.rect,i=e.offset,r=e.position;return{left:n.left,position:r,top:i,width:n.width,zIndex:1}},Am=function(e){var n=e.appendTo,i=e.children,r=e.controlElement,s=e.innerProps,o=e.menuPlacement,u=e.menuPosition,a=C.useRef(null),l=C.useRef(null),c=C.useState(Xa(o)),d=Ge(c,2),f=d[0],h=d[1],m=C.useMemo(function(){return{setPortalPlacement:h}},[]),p=C.useState(null),g=Ge(p,2),b=g[0],I=g[1],v=C.useCallback(function(){if(r){var P=tm(r),A=u==="fixed"?0:window.pageYOffset,M=P[f]+A;(M!==(b==null?void 0:b.offset)||P.left!==(b==null?void 0:b.rect.left)||P.width!==(b==null?void 0:b.rect.width))&&I({offset:M,rect:P})}},[r,u,f,b==null?void 0:b.offset,b==null?void 0:b.rect.left,b==null?void 0:b.rect.width]);_i(function(){v()},[v]);var x=C.useCallback(function(){typeof l.current=="function"&&(l.current(),l.current=null),r&&a.current&&(l.current=Up(r,a.current,v,{elementResize:"ResizeObserver"in window}))},[r,v]);_i(function(){x()},[x]);var y=C.useCallback(function(P){a.current=P,x()},[x]);if(!n&&u!=="fixed"||!b)return null;var S=T("div",F({ref:y},z(V(V({},e),{},{offset:b.offset,position:u,rect:b.rect}),"menuPortal",{"menu-portal":!0}),s),i);return T(Za.Provider,{value:m},n?Vn.createPortal(S,n):S)},Sm=function(e){var n=e.isDisabled,i=e.isRtl;return{label:"container",direction:i?"rtl":void 0,pointerEvents:n?"none":void 0,position:"relative"}},Pm=function(e){var n=e.children,i=e.innerProps,r=e.isDisabled,s=e.isRtl;return T("div",F({},z(e,"container",{"--is-disabled":r,"--is-rtl":s}),i),n)},Em=function(e,n){var i=e.theme.spacing,r=e.isMulti,s=e.hasValue,o=e.selectProps.controlShouldRenderValue;return V({alignItems:"center",display:r&&s&&o?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},n?{}:{padding:"".concat(i.baseUnit/2,"px ").concat(i.baseUnit*2,"px")})},Tm=function(e){var n=e.children,i=e.innerProps,r=e.isMulti,s=e.hasValue;return T("div",F({},z(e,"valueContainer",{"value-container":!0,"value-container--is-multi":r,"value-container--has-value":s}),i),n)},Vm=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},wm=function(e){var n=e.children,i=e.innerProps;return T("div",F({},z(e,"indicatorsContainer",{indicators:!0}),i),n)},ka,Fm=["size"],Bm=["innerProps","isRtl","size"];function Gm(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var Mm=process.env.NODE_ENV==="production"?{name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"}:{name:"tj5bde-Svg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgf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0PXshaXNSdGx9IC8+XG4gICAgPC9kaXY+XG4gICk7XG59O1xuIl19 */",toString:Gm},za=function(e){var n=e.size,i=Me(e,Fm);return T("svg",F({height:n,width:n,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:Mm},i))},Qi=function(e){return T(za,F({size:20},e),T("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},ja=function(e){return T(za,F({size:20},e),T("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},Ya=function(e,n){var i=e.isFocused,r=e.theme,s=r.spacing.baseUnit,o=r.colors;return V({label:"indicatorContainer",display:"flex",transition:"color 150ms"},n?{}:{color:i?o.neutral60:o.neutral20,padding:s*2,":hover":{color:i?o.neutral80:o.neutral40}})},Dm=Ya,Rm=function(e){var n=e.children,i=e.innerProps;return T("div",F({},z(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),i),n||T(ja,null))},Nm=Ya,Lm=function(e){var n=e.children,i=e.innerProps;return T("div",F({},z(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),i),n||T(Qi,null))},Wm=function(e,n){var i=e.isDisabled,r=e.theme,s=r.spacing.baseUnit,o=r.colors;return V({label:"indicatorSeparator",alignSelf:"stretch",width:1},n?{}:{backgroundColor:i?o.neutral10:o.neutral20,marginBottom:s*2,marginTop:s*2})},Om=function(e){var n=e.innerProps;return T("span",F({},n,z(e,"indicatorSeparator",{"indicator-separator":!0})))},Xm=Dp(ka||(ka=Rp([`
30
30
  0%, 80%, 100% { opacity: 0; }
31
31
  40% { opacity: 1; }
32
- `]))),hg=function(t,n){var i=t.isFocused,r=t.size,s=t.theme,o=s.colors,u=s.spacing.baseUnit;return w({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:r,lineHeight:1,marginRight:r,textAlign:"center",verticalAlign:"middle"},n?{}:{color:i?o.neutral60:o.neutral20,padding:u*2})},sr=function(t){var n=t.delay,i=t.offset;return V("span",{css:qi({animation:"".concat(fg," 1s ease-in-out ").concat(n,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:i?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},process.env.NODE_ENV==="production"?"":";label:LoadingDot;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lLFxuICBDU1NPYmplY3RXaXRoTGFiZWwsXG4gIEdyb3VwQmFzZSxcbn0gZnJvbSAnLi4vdHlwZXMnO1xuaW1wb3J0IHsgZ2V0U3R5bGVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuLy8gPT09PT09PT09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XplIG9mIHRoZSBjb250YWluZXIuICovXG4gIHNpemU6IG51bWJlcjtcbn1cbmV4cG9ydCBjb25zdCBMb2FkaW5nSW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KHtcbiAgaW5uZXJQcm9wcyxcbiAgaXNSdGwsXG4gIHNpemUgPSA0LFxuICAuLi5yZXN0UHJvcHNcbn06IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPikgPT4ge1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKFxuICAgICAgICB7IC4uLnJlc3RQcm9wcywgaW5uZXJQcm9wcywgaXNSdGwsIHNpemUgfSxcbiAgICAgICAgJ2xvYWRpbmdJbmRpY2F0b3InLFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdsb2FkaW5nLWluZGljYXRvcic6IHRydWUsXG4gICAgICAgIH1cbiAgICAgICl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MH0gb2Zmc2V0PXtpc1J0bH0gLz5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXsxNjB9IG9mZnNldCAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezMyMH0gb2Zmc2V0PXshaXNSdGx9IC8+XG4gICAgPC9kaXY+XG4gICk7XG59O1xuIl19 */")})},pg=function(t){var n=t.innerProps,i=t.isRtl,r=t.size,s=r===void 0?4:r,o=Le(t,ig);return V("div",B({},z(w(w({},o),{},{innerProps:n,isRtl:i,size:s}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),n),V(sr,{delay:0,offset:i}),V(sr,{delay:160,offset:!0}),V(sr,{delay:320,offset:!i}))},mg=function(t,n){var i=t.isDisabled,r=t.isFocused,s=t.theme,o=s.colors,u=s.borderRadius,a=s.spacing;return w({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:a.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},n?{}:{backgroundColor:i?o.neutral5:o.neutral0,borderColor:i?o.neutral10:r?o.primary:o.neutral20,borderRadius:u,borderStyle:"solid",borderWidth:1,boxShadow:r?"0 0 0 1px ".concat(o.primary):void 0,"&:hover":{borderColor:r?o.primary:o.neutral30}})},gg=function(t){var n=t.children,i=t.isDisabled,r=t.isFocused,s=t.innerRef,o=t.innerProps,u=t.menuIsOpen;return V("div",B({ref:s},z(t,"control",{control:!0,"control--is-disabled":i,"control--is-focused":r,"control--menu-is-open":u}),o,{"aria-disabled":i||void 0}),n)},bg=gg,vg=["data"],yg=function(t,n){var i=t.theme.spacing;return n?{}:{paddingBottom:i.baseUnit*2,paddingTop:i.baseUnit*2}},Cg=function(t){var n=t.children,i=t.cx,r=t.getStyles,s=t.getClassNames,o=t.Heading,u=t.headingProps,a=t.innerProps,l=t.label,c=t.theme,d=t.selectProps;return V("div",B({},z(t,"group",{group:!0}),a),V(o,B({},u,{selectProps:d,theme:c,getStyles:r,getClassNames:s,cx:i}),l),V("div",null,n))},Ig=function(t,n){var i=t.theme,r=i.colors,s=i.spacing;return w({label:"group",cursor:"default",display:"block"},n?{}:{color:r.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:s.baseUnit*3,paddingRight:s.baseUnit*3,textTransform:"uppercase"})},xg=function(t){var n=Ja(t);n.data;var i=Le(n,vg);return V("div",B({},z(t,"groupHeading",{"group-heading":!0}),i))},Ag=Cg,Sg=["innerRef","isDisabled","isHidden","inputClassName"],Eg=function(t,n){var i=t.isDisabled,r=t.value,s=t.theme,o=s.spacing,u=s.colors;return w(w({visibility:i?"hidden":"visible",transform:r?"translateZ(0)":""},Tg),n?{}:{margin:o.baseUnit/2,paddingBottom:o.baseUnit/2,paddingTop:o.baseUnit/2,color:u.neutral80})},su={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},Tg={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":w({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},su)},Pg=function(t){return w({label:"input",color:"inherit",background:0,opacity:t?0:1,width:"100%"},su)},Vg=function(t){var n=t.cx,i=t.value,r=Ja(t),s=r.innerRef,o=r.isDisabled,u=r.isHidden,a=r.inputClassName,l=Le(r,Sg);return V("div",B({},z(t,"input",{"input-container":!0}),{"data-value":i||""}),V("input",B({className:n({input:!0},a),ref:s,style:Pg(u),disabled:o},l)))},wg=Vg,Fg=function(t,n){var i=t.theme,r=i.spacing,s=i.borderRadius,o=i.colors;return w({label:"multiValue",display:"flex",minWidth:0},n?{}:{backgroundColor:o.neutral10,borderRadius:s/2,margin:r.baseUnit/2})},Bg=function(t,n){var i=t.theme,r=i.borderRadius,s=i.colors,o=t.cropWithEllipsis;return w({overflow:"hidden",textOverflow:o||o===void 0?"ellipsis":void 0,whiteSpace:"nowrap"},n?{}:{borderRadius:r/2,color:s.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},Gg=function(t,n){var i=t.theme,r=i.spacing,s=i.borderRadius,o=i.colors,u=t.isFocused;return w({alignItems:"center",display:"flex"},n?{}:{borderRadius:s/2,backgroundColor:u?o.dangerLight:void 0,paddingLeft:r.baseUnit,paddingRight:r.baseUnit,":hover":{backgroundColor:o.dangerLight,color:o.danger}})},ou=function(t){var n=t.children,i=t.innerProps;return V("div",i,n)},Mg=ou,Dg=ou;function Ng(e){var t=e.children,n=e.innerProps;return V("div",B({role:"button"},n),t||V(rr,{size:14}))}var Lg=function(t){var n=t.children,i=t.components,r=t.data,s=t.innerProps,o=t.isDisabled,u=t.removeProps,a=t.selectProps,l=i.Container,c=i.Label,d=i.Remove;return V(l,{data:r,innerProps:w(w({},z(t,"multiValue",{"multi-value":!0,"multi-value--is-disabled":o})),s),selectProps:a},V(c,{data:r,innerProps:w({},z(t,"multiValueLabel",{"multi-value__label":!0})),selectProps:a},n),V(d,{data:r,innerProps:w(w({},z(t,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(n||"option")},u),selectProps:a}))},Wg=Lg,Rg=function(t,n){var i=t.isDisabled,r=t.isFocused,s=t.isSelected,o=t.theme,u=o.spacing,a=o.colors;return w({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},n?{}:{backgroundColor:s?a.primary:r?a.primary25:"transparent",color:i?a.neutral20:s?a.neutral0:"inherit",padding:"".concat(u.baseUnit*2,"px ").concat(u.baseUnit*3,"px"),":active":{backgroundColor:i?void 0:s?a.primary:a.primary50}})},Og=function(t){var n=t.children,i=t.isDisabled,r=t.isFocused,s=t.isSelected,o=t.innerRef,u=t.innerProps;return V("div",B({},z(t,"option",{option:!0,"option--is-disabled":i,"option--is-focused":r,"option--is-selected":s}),{ref:o,"aria-disabled":i},u),n)},Xg=Og,Zg=function(t,n){var i=t.theme,r=i.spacing,s=i.colors;return w({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},n?{}:{color:s.neutral50,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2})},Hg=function(t){var n=t.children,i=t.innerProps;return V("div",B({},z(t,"placeholder",{placeholder:!0}),i),n)},kg=Hg,zg=function(t,n){var i=t.isDisabled,r=t.theme,s=r.spacing,o=r.colors;return w({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},n?{}:{color:i?o.neutral40:o.neutral80,marginLeft:s.baseUnit/2,marginRight:s.baseUnit/2})},jg=function(t){var n=t.children,i=t.isDisabled,r=t.innerProps;return V("div",B({},z(t,"singleValue",{"single-value":!0,"single-value--is-disabled":i}),r),n)},Yg=jg,Jg={ClearIndicator:lg,Control:bg,DropdownIndicator:ag,DownChevron:iu,CrossIcon:rr,Group:Ag,GroupHeading:xg,IndicatorsContainer:tg,IndicatorSeparator:dg,Input:wg,LoadingIndicator:pg,Menu:Zm,MenuList:km,MenuPortal:_m,LoadingMessage:Jm,NoOptionsMessage:Ym,MultiValue:Wg,MultiValueContainer:Mg,MultiValueLabel:Dg,MultiValueRemove:Ng,Option:Xg,Placeholder:kg,SelectContainer:$m,SingleValue:Yg,ValueContainer:qm},Ug=function(t){return w(w({},Jg),t.components)},au=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function _g(e,t){return!!(e===t||au(e)&&au(t))}function Qg(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!_g(e[n],t[n]))return!1;return!0}function $g(e,t){t===void 0&&(t=Qg);var n=null;function i(){for(var r=[],s=0;s<arguments.length;s++)r[s]=arguments[s];if(n&&n.lastThis===this&&t(r,n.lastArgs))return n.lastResult;var o=e.apply(this,r);return n={lastResult:o,lastArgs:r,lastThis:this},o}return i.clear=function(){n=null},i}function Kg(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}for(var qg=process.env.NODE_ENV==="production"?{name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"}:{name:"1f43avz-a11yText-A11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;label:A11yText;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFNSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */",toString:Kg},e0=function(t){return V("span",B({css:qg},t))},uu=e0,t0={guidance:function(t){var n=t.isSearchable,i=t.isMulti,r=t.tabSelectsValue,s=t.context,o=t.isInitialFocus;switch(s){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(r?", press Tab to select the option and exit the menu":"",".");case"input":return o?"".concat(t["aria-label"]||"Select"," is focused ").concat(n?",type to refine list":"",", press Down to open the menu, ").concat(i?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(t){var n=t.action,i=t.label,r=i===void 0?"":i,s=t.labels,o=t.isDisabled;switch(n){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(r,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(s.length>1?"s":""," ").concat(s.join(","),", selected.");case"select-option":return o?"option ".concat(r," is disabled. Select another option."):"option ".concat(r,", selected.");default:return""}},onFocus:function(t){var n=t.context,i=t.focused,r=t.options,s=t.label,o=s===void 0?"":s,u=t.selectValue,a=t.isDisabled,l=t.isSelected,c=t.isAppleDevice,d=function(p,g){return p&&p.length?"".concat(p.indexOf(g)+1," of ").concat(p.length):""};if(n==="value"&&u)return"value ".concat(o," focused, ").concat(d(u,i),".");if(n==="menu"&&c){var f=a?" disabled":"",h="".concat(l?" selected":"").concat(f);return"".concat(o).concat(h,", ").concat(d(r,i),".")}return""},onFilter:function(t){var n=t.inputValue,i=t.resultsMessage;return"".concat(i).concat(n?" for search term "+n:"",".")}},n0=function(t){var n=t.ariaSelection,i=t.focusedOption,r=t.focusedValue,s=t.focusableOptions,o=t.isFocused,u=t.selectValue,a=t.selectProps,l=t.id,c=t.isAppleDevice,d=a.ariaLiveMessages,f=a.getOptionLabel,h=a.inputValue,m=a.isMulti,p=a.isOptionDisabled,g=a.isSearchable,b=a.menuIsOpen,I=a.options,v=a.screenReaderStatus,x=a.tabSelectsValue,y=a.isLoading,E=a["aria-label"],T=a["aria-live"],S=C.useMemo(function(){return w(w({},t0),d||{})},[d]),M=C.useMemo(function(){var D="";if(n&&S.onChange){var R=n.option,ie=n.options,_=n.removedValue,Ee=n.removedValues,be=n.value,gt=function(ye){return Array.isArray(ye)?null:ye},J=_||R||gt(be),re=J?f(J):"",ve=ie||Ee||void 0,Te=ve?ve.map(f):[],de=w({isDisabled:J&&p(J,u),label:re,labels:Te},n);D=S.onChange(de)}return D},[n,S,p,u,f]),N=C.useMemo(function(){var D="",R=i||r,ie=!!(i&&u&&u.includes(i));if(R&&S.onFocus){var _={focused:R,label:f(R),isDisabled:p(R,u),isSelected:ie,options:s,context:R===i?"menu":"value",selectValue:u,isAppleDevice:c};D=S.onFocus(_)}return D},[i,r,f,p,S,s,u,c]),k=C.useMemo(function(){var D="";if(b&&I.length&&!y&&S.onFilter){var R=v({count:s.length});D=S.onFilter({inputValue:h,resultsMessage:R})}return D},[s,h,b,S,I,v,y]),Y=(n==null?void 0:n.action)==="initial-input-focus",ce=C.useMemo(function(){var D="";if(S.guidance){var R=r?"value":b?"menu":"input";D=S.guidance({"aria-label":E,context:R,isDisabled:i&&p(i,u),isMulti:m,isSearchable:g,tabSelectsValue:x,isInitialFocus:Y})}return D},[E,i,r,m,p,g,b,S,u,x,Y]),oe=V(C.Fragment,null,V("span",{id:"aria-selection"},M),V("span",{id:"aria-focused"},N),V("span",{id:"aria-results"},k),V("span",{id:"aria-guidance"},ce));return V(C.Fragment,null,V(uu,{id:l},Y&&oe),V(uu,{"aria-live":T,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},o&&!Y&&oe))},i0=n0,or=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],r0=new RegExp("["+or.map(function(e){return e.letters}).join("")+"]","g"),lu={},ar=0;ar<or.length;ar++)for(var ur=or[ar],lr=0;lr<ur.letters.length;lr++)lu[ur.letters[lr]]=ur.base;var cu=function(t){return t.replace(r0,function(n){return lu[n]})},s0=$g(cu),du=function(t){return t.replace(/^\s+|\s+$/g,"")},o0=function(t){return"".concat(t.label," ").concat(t.value)},a0=function(t){return function(n,i){if(n.data.__isNew__)return!0;var r=w({ignoreCase:!0,ignoreAccents:!0,stringify:o0,trim:!0,matchFrom:"any"},t),s=r.ignoreCase,o=r.ignoreAccents,u=r.stringify,a=r.trim,l=r.matchFrom,c=a?du(i):i,d=a?du(u(n)):u(n);return s&&(c=c.toLowerCase(),d=d.toLowerCase()),o&&(c=s0(c),d=cu(d)),l==="start"?d.substr(0,c.length)===c:d.indexOf(c)>-1}},u0=["innerRef"];function l0(e){var t=e.innerRef,n=Le(e,u0),i=Mm(n,"onExited","in","enter","exit","appear");return V("input",B({ref:t},i,{css:qi({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},process.env.NODE_ENV==="production"?"":";label:DummyInput;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hb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JlbnQnLFxuICAgICAgICBmb250U2l6ZTogJ2luaGVyaXQnLFxuICAgICAgICBncmlkQXJlYTogJzEgLyAxIC8gMiAvIDMnLFxuICAgICAgICBvdXRsaW5lOiAwLFxuICAgICAgICBwYWRkaW5nOiAwLFxuICAgICAgICAvLyBpbXBvcnRhbnQhIHdpdGhvdXQgYHdpZHRoYCBicm93c2VycyB3b24ndCBhbGxvdyBmb2N1c1xuICAgICAgICB3aWR0aDogMSxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIGRlc2t0b3BcbiAgICAgICAgY29sb3I6ICd0cmFuc3BhcmVudCcsXG5cbiAgICAgICAgLy8gcmVtb3ZlIGN1cnNvciBvbiBtb2JpbGUgd2hpbHN0IG1haW50YWluaW5nIFwic2Nyb2xsIGludG8gdmlld1wiIGJlaGF2aW91clxuICAgICAgICBsZWZ0OiAtMTAwLFxuICAgICAgICBvcGFjaXR5OiAwLFxuICAgICAgICBwb3NpdGlvbjogJ3JlbGF0aXZlJyxcbiAgICAgICAgdHJhbnNmb3JtOiAnc2NhbGUoLjAxKScsXG4gICAgICB9fVxuICAgIC8+XG4gICk7XG59XG4iXX0= */")}))}var c0=function(t){t.cancelable&&t.preventDefault(),t.stopPropagation()};function d0(e){var t=e.isEnabled,n=e.onBottomArrive,i=e.onBottomLeave,r=e.onTopArrive,s=e.onTopLeave,o=C.useRef(!1),u=C.useRef(!1),a=C.useRef(0),l=C.useRef(null),c=C.useCallback(function(g,b){if(l.current!==null){var I=l.current,v=I.scrollTop,x=I.scrollHeight,y=I.clientHeight,E=l.current,T=b>0,S=x-y-v,M=!1;S>b&&o.current&&(i&&i(g),o.current=!1),T&&u.current&&(s&&s(g),u.current=!1),T&&b>S?(n&&!o.current&&n(g),E.scrollTop=x,M=!0,o.current=!0):!T&&-b>v&&(r&&!u.current&&r(g),E.scrollTop=0,M=!0,u.current=!0),M&&c0(g)}},[n,i,r,s]),d=C.useCallback(function(g){c(g,g.deltaY)},[c]),f=C.useCallback(function(g){a.current=g.changedTouches[0].clientY},[]),h=C.useCallback(function(g){var b=a.current-g.changedTouches[0].clientY;c(g,b)},[c]),m=C.useCallback(function(g){if(g){var b=Fm?{passive:!1}:!1;g.addEventListener("wheel",d,b),g.addEventListener("touchstart",f,b),g.addEventListener("touchmove",h,b)}},[h,f,d]),p=C.useCallback(function(g){g&&(g.removeEventListener("wheel",d,!1),g.removeEventListener("touchstart",f,!1),g.removeEventListener("touchmove",h,!1))},[h,f,d]);return C.useEffect(function(){if(t){var g=l.current;return m(g),function(){p(g)}}},[t,m,p]),function(g){l.current=g}}var fu=["boxSizing","height","overflow","paddingRight","position"],hu={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function pu(e){e.preventDefault()}function mu(e){e.stopPropagation()}function gu(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;e===0?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function bu(){return"ontouchstart"in window||navigator.maxTouchPoints}var vu=!!(typeof window<"u"&&window.document&&window.document.createElement),Xt=0,pt={capture:!1,passive:!1};function f0(e){var t=e.isEnabled,n=e.accountForScrollbars,i=n===void 0?!0:n,r=C.useRef({}),s=C.useRef(null),o=C.useCallback(function(a){if(vu){var l=document.body,c=l&&l.style;if(i&&fu.forEach(function(m){var p=c&&c[m];r.current[m]=p}),i&&Xt<1){var d=parseInt(r.current.paddingRight,10)||0,f=document.body?document.body.clientWidth:0,h=window.innerWidth-f+d||0;Object.keys(hu).forEach(function(m){var p=hu[m];c&&(c[m]=p)}),c&&(c.paddingRight="".concat(h,"px"))}l&&bu()&&(l.addEventListener("touchmove",pu,pt),a&&(a.addEventListener("touchstart",gu,pt),a.addEventListener("touchmove",mu,pt))),Xt+=1}},[i]),u=C.useCallback(function(a){if(vu){var l=document.body,c=l&&l.style;Xt=Math.max(Xt-1,0),i&&Xt<1&&fu.forEach(function(d){var f=r.current[d];c&&(c[d]=f)}),l&&bu()&&(l.removeEventListener("touchmove",pu,pt),a&&(a.removeEventListener("touchstart",gu,pt),a.removeEventListener("touchmove",mu,pt)))}},[i]);return C.useEffect(function(){if(t){var a=s.current;return o(a),function(){u(a)}}},[t,o,u]),function(a){s.current=a}}function h0(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var p0=function(t){var n=t.target;return n.ownerDocument.activeElement&&n.ownerDocument.activeElement.blur()},m0=process.env.NODE_ENV==="production"?{name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"}:{name:"bp8cua-ScrollManager",styles:"position:fixed;left:0;bottom:0;right:0;top:0;label:ScrollManager;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2ssIE1vdXNlRXZlbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcuL3VzZVNjcm9sbENhcHR1cmUnO1xuaW1wb3J0IHVzZVNjcm9sbExvY2sgZnJvbSAnLi91c2VTY3JvbGxMb2NrJztcblxuaW50ZXJmYWNlIFByb3BzIHtcbiAgcmVhZG9ubHkgY2hpbGRyZW46IChyZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PikgPT4gUmVhY3RFbGVtZW50O1xuICByZWFkb25seSBsb2NrRW5hYmxlZDogYm9vbGVhbjtcbiAgcmVhZG9ubHkgY2FwdHVyZUVuYWJsZW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IG9uQm90dG9tQXJyaXZlLFxuICAgIG9uQm90dG9tTGVhdmUsXG4gICAgb25Ub3BBcnJpdmUsXG4gICAgb25Ub3BMZWF2ZSxcbiAgfSk7XG4gIGNvbnN0IHNldFNjcm9sbExvY2tUYXJnZXQgPSB1c2VTY3JvbGxMb2NrKHsgaXNFbmFibGVkOiBsb2NrRW5hYmxlZCB9KTtcblxuICBjb25zdCB0YXJnZXRSZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PiA9IChlbGVtZW50KSA9PiB7XG4gICAgc2V0U2Nyb2xsQ2FwdHVyZVRhcmdldChlbGVtZW50KTtcbiAgICBzZXRTY3JvbGxMb2NrVGFyZ2V0KGVsZW1lbnQpO1xuICB9O1xuXG4gIHJldHVybiAoXG4gICAgPEZyYWdtZW50PlxuICAgICAge2xvY2tFbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+XG4gICk7XG59XG4iXX0= */",toString:h0};function g0(e){var t=e.children,n=e.lockEnabled,i=e.captureEnabled,r=i===void 0?!0:i,s=e.onBottomArrive,o=e.onBottomLeave,u=e.onTopArrive,a=e.onTopLeave,l=d0({isEnabled:r,onBottomArrive:s,onBottomLeave:o,onTopArrive:u,onTopLeave:a}),c=f0({isEnabled:n}),d=function(h){l(h),c(h)};return V(C.Fragment,null,n&&V("div",{onClick:p0,css:m0}),t(d))}function b0(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var v0=process.env.NODE_ENV==="production"?{name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"}:{name:"5kkxb2-requiredInput-RequiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%;label:RequiredInput;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlJlcXVpcmVkSW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWNJIiwiZmlsZSI6IlJlcXVpcmVkSW5wdXQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyBGb2N1c0V2ZW50SGFuZGxlciwgRnVuY3Rpb25Db21wb25lbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmNvbnN0IFJlcXVpcmVkSW5wdXQ6IEZ1bmN0aW9uQ29tcG9uZW50PHtcbiAgcmVhZG9ubHkgbmFtZT86IHN0cmluZztcbiAgcmVhZG9ubHkgb25Gb2N1czogRm9jdXNFdmVudEhhbmRsZXI8SFRNTElucHV0RWxlbWVudD47XG59PiA9ICh7IG5hbWUsIG9uRm9jdXMgfSkgPT4gKFxuICA8aW5wdXRcbiAgICByZXF1aXJlZFxuICAgIG5hbWU9e25hbWV9XG4gICAgdGFiSW5kZXg9ey0xfVxuICAgIGFyaWEtaGlkZGVuPVwidHJ1ZVwiXG4gICAgb25Gb2N1cz17b25Gb2N1c31cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAncmVxdWlyZWRJbnB1dCcsXG4gICAgICBvcGFjaXR5OiAwLFxuICAgICAgcG9pbnRlckV2ZW50czogJ25vbmUnLFxuICAgICAgcG9zaXRpb246ICdhYnNvbHV0ZScsXG4gICAgICBib3R0b206IDAsXG4gICAgICBsZWZ0OiAwLFxuICAgICAgcmlnaHQ6IDAsXG4gICAgICB3aWR0aDogJzEwMCUnLFxuICAgIH19XG4gICAgLy8gUHJldmVudCBgU3dpdGNoaW5nIGZyb20gdW5jb250cm9sbGVkIHRvIGNvbnRyb2xsZWRgIGVycm9yXG4gICAgdmFsdWU9XCJcIlxuICAgIG9uQ2hhbmdlPXsoKSA9PiB7fX1cbiAgLz5cbik7XG5cbmV4cG9ydCBkZWZhdWx0IFJlcXVpcmVkSW5wdXQ7XG4iXX0= */",toString:b0},y0=function(t){var n=t.name,i=t.onFocus;return V("input",{required:!0,name:n,tabIndex:-1,"aria-hidden":"true",onFocus:i,css:v0,value:"",onChange:function(){}})},C0=y0;function cr(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function I0(){return cr(/^iPhone/i)}function yu(){return cr(/^Mac/i)}function x0(){return cr(/^iPad/i)||yu()&&navigator.maxTouchPoints>1}function A0(){return I0()||x0()}function S0(){return yu()||A0()}var E0=function(t){return t.label},T0=function(t){return t.label},P0=function(t){return t.value},V0=function(t){return!!t.isDisabled},w0={clearIndicator:ug,container:Qm,control:mg,dropdownIndicator:og,group:yg,groupHeading:Ig,indicatorsContainer:eg,indicatorSeparator:cg,input:Eg,loadingIndicator:hg,loadingMessage:jm,menu:Rm,menuList:Hm,menuPortal:Um,multiValue:Fg,multiValueLabel:Bg,multiValueRemove:Gg,noOptionsMessage:zm,option:Rg,placeholder:Zg,singleValue:zg,valueContainer:Km},F0={primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},B0=4,Cu=4,G0=38,M0=Cu*2,D0={baseUnit:Cu,controlHeight:G0,menuGutter:M0},dr={borderRadius:B0,colors:F0,spacing:D0},N0={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Qa(),captureMenuScroll:!Qa(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:a0(),formatGroupLabel:E0,getOptionLabel:T0,getOptionValue:P0,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:V0,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!Vm(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(t){var n=t.count;return"".concat(n," result").concat(n!==1?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function Iu(e,t,n,i){var r=Tu(e,t,n),s=Pu(e,t,n),o=Eu(e,t),u=Mn(e,t);return{type:"option",data:t,isDisabled:r,isSelected:s,label:o,value:u,index:i}}function Gn(e,t){return e.options.map(function(n,i){if("options"in n){var r=n.options.map(function(o,u){return Iu(e,o,t,u)}).filter(function(o){return Su(e,o)});return r.length>0?{type:"group",data:n,options:r,index:i}:void 0}var s=Iu(e,n,t,i);return Su(e,s)?s:void 0}).filter(Bm)}function xu(e){return e.reduce(function(t,n){return n.type==="group"?t.push.apply(t,ki(n.options.map(function(i){return i.data}))):t.push(n.data),t},[])}function Au(e,t){return e.reduce(function(n,i){return i.type==="group"?n.push.apply(n,ki(i.options.map(function(r){return{data:r.data,id:"".concat(t,"-").concat(i.index,"-").concat(r.index)}}))):n.push({data:i.data,id:"".concat(t,"-").concat(i.index)}),n},[])}function L0(e,t){return xu(Gn(e,t))}function Su(e,t){var n=e.inputValue,i=n===void 0?"":n,r=t.data,s=t.isSelected,o=t.label,u=t.value;return(!wu(e)||!s)&&Vu(e,{label:o,value:u,data:r},i)}function W0(e,t){var n=e.focusedValue,i=e.selectValue,r=i.indexOf(n);if(r>-1){var s=t.indexOf(n);if(s>-1)return n;if(r<t.length)return t[r]}return null}function R0(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}var fr=function(t,n){var i,r=(i=t.find(function(s){return s.data===n}))===null||i===void 0?void 0:i.id;return r||null},Eu=function(t,n){return t.getOptionLabel(n)},Mn=function(t,n){return t.getOptionValue(n)};function Tu(e,t,n){return typeof e.isOptionDisabled=="function"?e.isOptionDisabled(t,n):!1}function Pu(e,t,n){if(n.indexOf(t)>-1)return!0;if(typeof e.isOptionSelected=="function")return e.isOptionSelected(t,n);var i=Mn(e,t);return n.some(function(r){return Mn(e,r)===i})}function Vu(e,t,n){return e.filterOption?e.filterOption(t,n):!0}var wu=function(t){var n=t.hideSelectedOptions,i=t.isMulti;return n===void 0?i:n},O0=1,Fu=function(e){$h(n,e);var t=ep(n);function n(i){var r;if(_h(this,n),r=t.call(this,i),r.state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:""},r.blockOptionHover=!1,r.isComposing=!1,r.commonProps=void 0,r.initialTouchX=0,r.initialTouchY=0,r.openAfterFocus=!1,r.scrollToFocusedOptionOnUpdate=!1,r.userIsDragging=void 0,r.isAppleDevice=S0(),r.controlRef=null,r.getControlRef=function(a){r.controlRef=a},r.focusedOptionRef=null,r.getFocusedOptionRef=function(a){r.focusedOptionRef=a},r.menuListRef=null,r.getMenuListRef=function(a){r.menuListRef=a},r.inputRef=null,r.getInputRef=function(a){r.inputRef=a},r.focus=r.focusInput,r.blur=r.blurInput,r.onChange=function(a,l){var c=r.props,d=c.onChange,f=c.name;l.name=f,r.ariaOnChange(a,l),d(a,l)},r.setValue=function(a,l,c){var d=r.props,f=d.closeMenuOnSelect,h=d.isMulti,m=d.inputValue;r.onInputChange("",{action:"set-value",prevInputValue:m}),f&&(r.setState({inputIsHiddenAfterUpdate:!h}),r.onMenuClose()),r.setState({clearFocusValueOnUpdate:!0}),r.onChange(a,{action:l,option:c})},r.selectOption=function(a){var l=r.props,c=l.blurInputOnSelect,d=l.isMulti,f=l.name,h=r.state.selectValue,m=d&&r.isOptionSelected(a,h),p=r.isOptionDisabled(a,h);if(m){var g=r.getOptionValue(a);r.setValue(h.filter(function(b){return r.getOptionValue(b)!==g}),"deselect-option",a)}else if(!p)d?r.setValue([].concat(ki(h),[a]),"select-option",a):r.setValue(a,"select-option");else{r.ariaOnChange(a,{action:"select-option",option:a,name:f});return}c&&r.blurInput()},r.removeValue=function(a){var l=r.props.isMulti,c=r.state.selectValue,d=r.getOptionValue(a),f=c.filter(function(m){return r.getOptionValue(m)!==d}),h=Bn(l,f,f[0]||null);r.onChange(h,{action:"remove-value",removedValue:a}),r.focusInput()},r.clearValue=function(){var a=r.state.selectValue;r.onChange(Bn(r.props.isMulti,[],null),{action:"clear",removedValues:a})},r.popValue=function(){var a=r.props.isMulti,l=r.state.selectValue,c=l[l.length-1],d=l.slice(0,l.length-1),f=Bn(a,d,d[0]||null);r.onChange(f,{action:"pop-value",removedValue:c})},r.getFocusedOptionId=function(a){return fr(r.state.focusableOptionsWithIds,a)},r.getFocusableOptionsWithIds=function(){return Au(Gn(r.props,r.state.selectValue),r.getElementId("option"))},r.getValue=function(){return r.state.selectValue},r.cx=function(){for(var a=arguments.length,l=new Array(a),c=0;c<a;c++)l[c]=arguments[c];return Am.apply(void 0,[r.props.classNamePrefix].concat(l))},r.getOptionLabel=function(a){return Eu(r.props,a)},r.getOptionValue=function(a){return Mn(r.props,a)},r.getStyles=function(a,l){var c=r.props.unstyled,d=w0[a](l,c);d.boxSizing="border-box";var f=r.props.styles[a];return f?f(d,l):d},r.getClassNames=function(a,l){var c,d;return(c=(d=r.props.classNames)[a])===null||c===void 0?void 0:c.call(d,l)},r.getElementId=function(a){return"".concat(r.state.instancePrefix,"-").concat(a)},r.getComponents=function(){return Ug(r.props)},r.buildCategorizedOptions=function(){return Gn(r.props,r.state.selectValue)},r.getCategorizedOptions=function(){return r.props.menuIsOpen?r.buildCategorizedOptions():[]},r.buildFocusableOptions=function(){return xu(r.buildCategorizedOptions())},r.getFocusableOptions=function(){return r.props.menuIsOpen?r.buildFocusableOptions():[]},r.ariaOnChange=function(a,l){r.setState({ariaSelection:w({value:a},l)})},r.onMenuMouseDown=function(a){a.button===0&&(a.stopPropagation(),a.preventDefault(),r.focusInput())},r.onMenuMouseMove=function(a){r.blockOptionHover=!1},r.onControlMouseDown=function(a){if(!a.defaultPrevented){var l=r.props.openMenuOnClick;r.state.isFocused?r.props.menuIsOpen?a.target.tagName!=="INPUT"&&a.target.tagName!=="TEXTAREA"&&r.onMenuClose():l&&r.openMenu("first"):(l&&(r.openAfterFocus=!0),r.focusInput()),a.target.tagName!=="INPUT"&&a.target.tagName!=="TEXTAREA"&&a.preventDefault()}},r.onDropdownIndicatorMouseDown=function(a){if(!(a&&a.type==="mousedown"&&a.button!==0)&&!r.props.isDisabled){var l=r.props,c=l.isMulti,d=l.menuIsOpen;r.focusInput(),d?(r.setState({inputIsHiddenAfterUpdate:!c}),r.onMenuClose()):r.openMenu("first"),a.preventDefault()}},r.onClearIndicatorMouseDown=function(a){a&&a.type==="mousedown"&&a.button!==0||(r.clearValue(),a.preventDefault(),r.openAfterFocus=!1,a.type==="touchend"?r.focusInput():setTimeout(function(){return r.focusInput()}))},r.onScroll=function(a){typeof r.props.closeMenuOnScroll=="boolean"?a.target instanceof HTMLElement&&Pn(a.target)&&r.props.onMenuClose():typeof r.props.closeMenuOnScroll=="function"&&r.props.closeMenuOnScroll(a)&&r.props.onMenuClose()},r.onCompositionStart=function(){r.isComposing=!0},r.onCompositionEnd=function(){r.isComposing=!1},r.onTouchStart=function(a){var l=a.touches,c=l&&l.item(0);c&&(r.initialTouchX=c.clientX,r.initialTouchY=c.clientY,r.userIsDragging=!1)},r.onTouchMove=function(a){var l=a.touches,c=l&&l.item(0);if(c){var d=Math.abs(c.clientX-r.initialTouchX),f=Math.abs(c.clientY-r.initialTouchY),h=5;r.userIsDragging=d>h||f>h}},r.onTouchEnd=function(a){r.userIsDragging||(r.controlRef&&!r.controlRef.contains(a.target)&&r.menuListRef&&!r.menuListRef.contains(a.target)&&r.blurInput(),r.initialTouchX=0,r.initialTouchY=0)},r.onControlTouchEnd=function(a){r.userIsDragging||r.onControlMouseDown(a)},r.onClearIndicatorTouchEnd=function(a){r.userIsDragging||r.onClearIndicatorMouseDown(a)},r.onDropdownIndicatorTouchEnd=function(a){r.userIsDragging||r.onDropdownIndicatorMouseDown(a)},r.handleInputChange=function(a){var l=r.props.inputValue,c=a.currentTarget.value;r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange(c,{action:"input-change",prevInputValue:l}),r.props.menuIsOpen||r.onMenuOpen()},r.onInputFocus=function(a){r.props.onFocus&&r.props.onFocus(a),r.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(r.openAfterFocus||r.props.openMenuOnFocus)&&r.openMenu("first"),r.openAfterFocus=!1},r.onInputBlur=function(a){var l=r.props.inputValue;if(r.menuListRef&&r.menuListRef.contains(document.activeElement)){r.inputRef.focus();return}r.props.onBlur&&r.props.onBlur(a),r.onInputChange("",{action:"input-blur",prevInputValue:l}),r.onMenuClose(),r.setState({focusedValue:null,isFocused:!1})},r.onOptionHover=function(a){if(!(r.blockOptionHover||r.state.focusedOption===a)){var l=r.getFocusableOptions(),c=l.indexOf(a);r.setState({focusedOption:a,focusedOptionId:c>-1?r.getFocusedOptionId(a):null})}},r.shouldHideSelectedOptions=function(){return wu(r.props)},r.onValueInputFocus=function(a){a.preventDefault(),a.stopPropagation(),r.focus()},r.onKeyDown=function(a){var l=r.props,c=l.isMulti,d=l.backspaceRemovesValue,f=l.escapeClearsValue,h=l.inputValue,m=l.isClearable,p=l.isDisabled,g=l.menuIsOpen,b=l.onKeyDown,I=l.tabSelectsValue,v=l.openMenuOnFocus,x=r.state,y=x.focusedOption,E=x.focusedValue,T=x.selectValue;if(!p&&!(typeof b=="function"&&(b(a),a.defaultPrevented))){switch(r.blockOptionHover=!0,a.key){case"ArrowLeft":if(!c||h)return;r.focusValue("previous");break;case"ArrowRight":if(!c||h)return;r.focusValue("next");break;case"Delete":case"Backspace":if(h)return;if(E)r.removeValue(E);else{if(!d)return;c?r.popValue():m&&r.clearValue()}break;case"Tab":if(r.isComposing||a.shiftKey||!g||!I||!y||v&&r.isOptionSelected(y,T))return;r.selectOption(y);break;case"Enter":if(a.keyCode===229)break;if(g){if(!y||r.isComposing)return;r.selectOption(y);break}return;case"Escape":g?(r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange("",{action:"menu-close",prevInputValue:h}),r.onMenuClose()):m&&f&&r.clearValue();break;case" ":if(h)return;if(!g){r.openMenu("first");break}if(!y)return;r.selectOption(y);break;case"ArrowUp":g?r.focusOption("up"):r.openMenu("last");break;case"ArrowDown":g?r.focusOption("down"):r.openMenu("first");break;case"PageUp":if(!g)return;r.focusOption("pageup");break;case"PageDown":if(!g)return;r.focusOption("pagedown");break;case"Home":if(!g)return;r.focusOption("first");break;case"End":if(!g)return;r.focusOption("last");break;default:return}a.preventDefault()}},r.state.instancePrefix="react-select-"+(r.props.instanceId||++O0),r.state.selectValue=Ya(i.value),i.menuIsOpen&&r.state.selectValue.length){var s=r.getFocusableOptionsWithIds(),o=r.buildFocusableOptions(),u=o.indexOf(r.state.selectValue[0]);r.state.focusableOptionsWithIds=s,r.state.focusedOption=o[u],r.state.focusedOptionId=fr(s,o[u])}return r}return Qh(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&_a(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(r){var s=this.props,o=s.isDisabled,u=s.menuIsOpen,a=this.state.isFocused;(a&&!o&&r.isDisabled||a&&u&&!r.menuIsOpen)&&this.focusInput(),a&&o&&!r.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!a&&!o&&r.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(_a(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(r,s){this.props.onInputChange(r,s)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(r){var s=this,o=this.state,u=o.selectValue,a=o.isFocused,l=this.buildFocusableOptions(),c=r==="first"?0:l.length-1;if(!this.props.isMulti){var d=l.indexOf(u[0]);d>-1&&(c=d)}this.scrollToFocusedOptionOnUpdate=!(a&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:l[c],focusedOptionId:this.getFocusedOptionId(l[c])},function(){return s.onMenuOpen()})}},{key:"focusValue",value:function(r){var s=this.state,o=s.selectValue,u=s.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var a=o.indexOf(u);u||(a=-1);var l=o.length-1,c=-1;if(o.length){switch(r){case"previous":a===0?c=0:a===-1?c=l:c=a-1;break;case"next":a>-1&&a<l&&(c=a+1);break}this.setState({inputIsHidden:c!==-1,focusedValue:o[c]})}}}},{key:"focusOption",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"first",s=this.props.pageSize,o=this.state.focusedOption,u=this.getFocusableOptions();if(u.length){var a=0,l=u.indexOf(o);o||(l=-1),r==="up"?a=l>0?l-1:u.length-1:r==="down"?a=(l+1)%u.length:r==="pageup"?(a=l-s,a<0&&(a=0)):r==="pagedown"?(a=l+s,a>u.length-1&&(a=u.length-1)):r==="last"&&(a=u.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:u[a],focusedValue:null,focusedOptionId:this.getFocusedOptionId(u[a])})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(dr):w(w({},dr),this.props.theme):dr}},{key:"getCommonProps",value:function(){var r=this.clearValue,s=this.cx,o=this.getStyles,u=this.getClassNames,a=this.getValue,l=this.selectOption,c=this.setValue,d=this.props,f=d.isMulti,h=d.isRtl,m=d.options,p=this.hasValue();return{clearValue:r,cx:s,getStyles:o,getClassNames:u,getValue:a,hasValue:p,isMulti:f,isRtl:h,options:m,selectOption:l,selectProps:d,setValue:c,theme:this.getTheme()}}},{key:"hasValue",value:function(){var r=this.state.selectValue;return r.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var r=this.props,s=r.isClearable,o=r.isMulti;return s===void 0?o:s}},{key:"isOptionDisabled",value:function(r,s){return Tu(this.props,r,s)}},{key:"isOptionSelected",value:function(r,s){return Pu(this.props,r,s)}},{key:"filterOption",value:function(r,s){return Vu(this.props,r,s)}},{key:"formatOptionLabel",value:function(r,s){if(typeof this.props.formatOptionLabel=="function"){var o=this.props.inputValue,u=this.state.selectValue;return this.props.formatOptionLabel(r,{context:s,inputValue:o,selectValue:u})}else return this.getOptionLabel(r)}},{key:"formatGroupLabel",value:function(r){return this.props.formatGroupLabel(r)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var r=this.props,s=r.isDisabled,o=r.isSearchable,u=r.inputId,a=r.inputValue,l=r.tabIndex,c=r.form,d=r.menuIsOpen,f=r.required,h=this.getComponents(),m=h.Input,p=this.state,g=p.inputIsHidden,b=p.ariaSelection,I=this.commonProps,v=u||this.getElementId("input"),x=w(w(w({"aria-autocomplete":"list","aria-expanded":d,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":f,role:"combobox","aria-activedescendant":this.isAppleDevice?void 0:this.state.focusedOptionId||""},d&&{"aria-controls":this.getElementId("listbox")}),!o&&{"aria-readonly":!0}),this.hasValue()?(b==null?void 0:b.action)==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return o?G.createElement(m,B({},I,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:v,innerRef:this.getInputRef,isDisabled:s,isHidden:g,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:l,form:c,type:"text",value:a},x)):G.createElement(l0,B({id:v,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Tn,onFocus:this.onInputFocus,disabled:s,tabIndex:l,inputMode:"none",form:c,value:""},x))}},{key:"renderPlaceholderOrValue",value:function(){var r=this,s=this.getComponents(),o=s.MultiValue,u=s.MultiValueContainer,a=s.MultiValueLabel,l=s.MultiValueRemove,c=s.SingleValue,d=s.Placeholder,f=this.commonProps,h=this.props,m=h.controlShouldRenderValue,p=h.isDisabled,g=h.isMulti,b=h.inputValue,I=h.placeholder,v=this.state,x=v.selectValue,y=v.focusedValue,E=v.isFocused;if(!this.hasValue()||!m)return b?null:G.createElement(d,B({},f,{key:"placeholder",isDisabled:p,isFocused:E,innerProps:{id:this.getElementId("placeholder")}}),I);if(g)return x.map(function(S,M){var N=S===y,k="".concat(r.getOptionLabel(S),"-").concat(r.getOptionValue(S));return G.createElement(o,B({},f,{components:{Container:u,Label:a,Remove:l},isFocused:N,isDisabled:p,key:k,index:M,removeProps:{onClick:function(){return r.removeValue(S)},onTouchEnd:function(){return r.removeValue(S)},onMouseDown:function(ce){ce.preventDefault()}},data:S}),r.formatOptionLabel(S,"value"))});if(b)return null;var T=x[0];return G.createElement(c,B({},f,{data:T,isDisabled:p}),this.formatOptionLabel(T,"value"))}},{key:"renderClearIndicator",value:function(){var r=this.getComponents(),s=r.ClearIndicator,o=this.commonProps,u=this.props,a=u.isDisabled,l=u.isLoading,c=this.state.isFocused;if(!this.isClearable()||!s||a||!this.hasValue()||l)return null;var d={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return G.createElement(s,B({},o,{innerProps:d,isFocused:c}))}},{key:"renderLoadingIndicator",value:function(){var r=this.getComponents(),s=r.LoadingIndicator,o=this.commonProps,u=this.props,a=u.isDisabled,l=u.isLoading,c=this.state.isFocused;if(!s||!l)return null;var d={"aria-hidden":"true"};return G.createElement(s,B({},o,{innerProps:d,isDisabled:a,isFocused:c}))}},{key:"renderIndicatorSeparator",value:function(){var r=this.getComponents(),s=r.DropdownIndicator,o=r.IndicatorSeparator;if(!s||!o)return null;var u=this.commonProps,a=this.props.isDisabled,l=this.state.isFocused;return G.createElement(o,B({},u,{isDisabled:a,isFocused:l}))}},{key:"renderDropdownIndicator",value:function(){var r=this.getComponents(),s=r.DropdownIndicator;if(!s)return null;var o=this.commonProps,u=this.props.isDisabled,a=this.state.isFocused,l={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return G.createElement(s,B({},o,{innerProps:l,isDisabled:u,isFocused:a}))}},{key:"renderMenu",value:function(){var r=this,s=this.getComponents(),o=s.Group,u=s.GroupHeading,a=s.Menu,l=s.MenuList,c=s.MenuPortal,d=s.LoadingMessage,f=s.NoOptionsMessage,h=s.Option,m=this.commonProps,p=this.state.focusedOption,g=this.props,b=g.captureMenuScroll,I=g.inputValue,v=g.isLoading,x=g.loadingMessage,y=g.minMenuHeight,E=g.maxMenuHeight,T=g.menuIsOpen,S=g.menuPlacement,M=g.menuPosition,N=g.menuPortalTarget,k=g.menuShouldBlockScroll,Y=g.menuShouldScrollIntoView,ce=g.noOptionsMessage,oe=g.onMenuScrollToTop,D=g.onMenuScrollToBottom;if(!T)return null;var R=function(re,ve){var Te=re.type,de=re.data,Pe=re.isDisabled,ye=re.isSelected,bt=re.label,hr=re.value,Dn=p===de,P=Pe?void 0:function(){return r.onOptionHover(de)},Zt=Pe?void 0:function(){return r.selectOption(de)},et="".concat(r.getElementId("option"),"-").concat(ve),Nn={id:et,onClick:Zt,onMouseMove:P,onMouseOver:P,tabIndex:-1,role:"option","aria-selected":r.isAppleDevice?void 0:ye};return G.createElement(h,B({},m,{innerProps:Nn,data:de,isDisabled:Pe,isSelected:ye,key:et,label:bt,type:Te,value:hr,isFocused:Dn,innerRef:Dn?r.getFocusedOptionRef:void 0}),r.formatOptionLabel(re.data,"menu"))},ie;if(this.hasOptions())ie=this.getCategorizedOptions().map(function(J){if(J.type==="group"){var re=J.data,ve=J.options,Te=J.index,de="".concat(r.getElementId("group"),"-").concat(Te),Pe="".concat(de,"-heading");return G.createElement(o,B({},m,{key:de,data:re,options:ve,Heading:u,headingProps:{id:Pe,data:J.data},label:r.formatGroupLabel(J.data)}),J.options.map(function(ye){return R(ye,"".concat(Te,"-").concat(ye.index))}))}else if(J.type==="option")return R(J,"".concat(J.index))});else if(v){var _=x({inputValue:I});if(_===null)return null;ie=G.createElement(d,m,_)}else{var Ee=ce({inputValue:I});if(Ee===null)return null;ie=G.createElement(f,m,Ee)}var be={minMenuHeight:y,maxMenuHeight:E,menuPlacement:S,menuPosition:M,menuShouldScrollIntoView:Y},gt=G.createElement(Om,B({},m,be),function(J){var re=J.ref,ve=J.placerProps,Te=ve.placement,de=ve.maxHeight;return G.createElement(a,B({},m,be,{innerRef:re,innerProps:{onMouseDown:r.onMenuMouseDown,onMouseMove:r.onMenuMouseMove},isLoading:v,placement:Te}),G.createElement(g0,{captureEnabled:b,onTopArrive:oe,onBottomArrive:D,lockEnabled:k},function(Pe){return G.createElement(l,B({},m,{innerRef:function(bt){r.getMenuListRef(bt),Pe(bt)},innerProps:{role:"listbox","aria-multiselectable":m.isMulti,id:r.getElementId("listbox")},isLoading:v,maxHeight:de,focusedOption:p}),ie)}))});return N||M==="fixed"?G.createElement(c,B({},m,{appendTo:N,controlElement:this.controlRef,menuPlacement:S,menuPosition:M}),gt):gt}},{key:"renderFormField",value:function(){var r=this,s=this.props,o=s.delimiter,u=s.isDisabled,a=s.isMulti,l=s.name,c=s.required,d=this.state.selectValue;if(c&&!this.hasValue()&&!u)return G.createElement(C0,{name:l,onFocus:this.onValueInputFocus});if(!(!l||u))if(a)if(o){var f=d.map(function(p){return r.getOptionValue(p)}).join(o);return G.createElement("input",{name:l,type:"hidden",value:f})}else{var h=d.length>0?d.map(function(p,g){return G.createElement("input",{key:"i-".concat(g),name:l,type:"hidden",value:r.getOptionValue(p)})}):G.createElement("input",{name:l,type:"hidden",value:""});return G.createElement("div",null,h)}else{var m=d[0]?this.getOptionValue(d[0]):"";return G.createElement("input",{name:l,type:"hidden",value:m})}}},{key:"renderLiveRegion",value:function(){var r=this.commonProps,s=this.state,o=s.ariaSelection,u=s.focusedOption,a=s.focusedValue,l=s.isFocused,c=s.selectValue,d=this.getFocusableOptions();return G.createElement(i0,B({},r,{id:this.getElementId("live-region"),ariaSelection:o,focusedOption:u,focusedValue:a,isFocused:l,selectValue:c,focusableOptions:d,isAppleDevice:this.isAppleDevice}))}},{key:"render",value:function(){var r=this.getComponents(),s=r.Control,o=r.IndicatorsContainer,u=r.SelectContainer,a=r.ValueContainer,l=this.props,c=l.className,d=l.id,f=l.isDisabled,h=l.menuIsOpen,m=this.state.isFocused,p=this.commonProps=this.getCommonProps();return G.createElement(u,B({},p,{className:c,innerProps:{id:d,onKeyDown:this.onKeyDown},isDisabled:f,isFocused:m}),this.renderLiveRegion(),G.createElement(s,B({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:f,isFocused:m,menuIsOpen:h}),G.createElement(a,B({},p,{isDisabled:f}),this.renderPlaceholderOrValue(),this.renderInput()),G.createElement(o,B({},p,{isDisabled:f}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(r,s){var o=s.prevProps,u=s.clearFocusValueOnUpdate,a=s.inputIsHiddenAfterUpdate,l=s.ariaSelection,c=s.isFocused,d=s.prevWasFocused,f=s.instancePrefix,h=r.options,m=r.value,p=r.menuIsOpen,g=r.inputValue,b=r.isMulti,I=Ya(m),v={};if(o&&(m!==o.value||h!==o.options||p!==o.menuIsOpen||g!==o.inputValue)){var x=p?L0(r,I):[],y=p?Au(Gn(r,I),"".concat(f,"-option")):[],E=u?W0(s,I):null,T=R0(s,x),S=fr(y,T);v={selectValue:I,focusedOption:T,focusedOptionId:S,focusableOptionsWithIds:y,focusedValue:E,clearFocusValueOnUpdate:!1}}var M=a!=null&&r!==o?{inputIsHidden:a,inputIsHiddenAfterUpdate:void 0}:{},N=l,k=c&&d;return c&&!k&&(N={value:Bn(b,I,I[0]||null),options:I,action:"initial-input-focus"},k=!d),(l==null?void 0:l.action)==="initial-input-focus"&&(N=null),w(w(w({},v),M),{},{prevProps:r,ariaSelection:N,prevWasFocused:k})}}]),n}(C.Component);Fu.defaultProps=N0;var X0=C.forwardRef(function(e,t){var n=Uh(e);return G.createElement(Fu,B({ref:t},n))}),Z0=X0;const mt=e=>{const{children:t,sx:n,...i}=e;return A.jsx("div",{className:ge.form,style:n,...i,children:t})},H0=mt,k0={menuPortal:e=>({...e,zIndex:"9999999999 !important"}),control:(e,t)=>({...e,background:t.isDisabled?"#e9ecef !important":"#fff!important",minHeight:"26px!important",boxShadow:t.isFocused?"0 0 0 2px rgba(0 125 250 / 30%)":null,borderColor:t.isFocused?"#0071e3":"#D6DBDF!important",fontSize:"12px!important",padding:"0px 0px 0px 6px!important",color:"#3f4254!important",borderRadius:"0px !important"}),valueContainer:e=>({...e,height:"26px!important",padding:"0 6px 0 2px!important"}),input:e=>({...e,margin:"0px!important",fontSize:"12px!important",color:"#3f4254"}),placeholder:e=>({...e,margin:"0px!important",fontSize:"12px!important",color:"#aeaeae !important"}),indicatorsContainer:e=>({...e,height:"26px!important"}),option:(e,t)=>({...e,backgroundColor:t.isSelected?"#50c6d0":t.isFocused?"#e6e7ea":null,color:t.isSelected?"#ffffff":(t.isFocused,"#3f4254"),fontSize:"12px!important",padding:"6px 12px 5px 12px!important",fontWeight:"400",fontFamily:"Poppins, Helvetica, 'sans-serif'",borderRadius:"2px !important"}),noOptionsMessage:e=>({...e,fontSize:"12px!important",padding:"5px 8px!important",color:"#3f4254!important"}),menu:e=>({...e,padding:"1px 4px",zIndex:"99999999",position:"absolute",borderRadius:"0px !important"})},z0=e=>{const{children:t,sx:n,...i}=e;return A.jsx("div",{className:ge["form-group"],style:n,...i,children:t})},j0=e=>{const{children:t,sx:n,...i}=e,r=C.Children.toArray(t).filter(a=>a.type.displayName==="biznext-ui-input-label"),s=C.Children.toArray(t).filter(a=>a.type.displayName==="biznext-ui-input-control"),o=C.Children.toArray(t).filter(a=>a.type.displayName==="biznext-ui-input-error-message"),u=o[0]&&o[0].props.children&&o[0].props.children.length>0;return A.jsxs("div",{className:tt(ge["form-input-group"],u&&ge["validation-error"]),style:n,...i,children:[r,A.jsxs("div",{className:ge["form-input-control-group"],children:[s,A.jsx("span",{className:ge["form-input-group-error-text"],children:o})]})]})},Bu=e=>{const{required:t=!1,children:n,sx:i,...r}=e;return A.jsx("label",{className:tt(ge["form-input-group-label"],t&&ge.required),style:i,...r,children:n})},Gu=C.forwardRef((e,t)=>{const{controlType:n,focus:i,onFocus:r,sx:s,placeholder:o="",isSearchable:u=!0,isClearable:a=!0,...l}=e;let c=A.jsx(A.Fragment,{});const d=C.useRef(null);switch(C.useEffect(()=>{d.current&&d.current.focus()},[i]),C.useEffect(()=>{d.current&&d.current.focus()},[r]),n){case"input":c=A.jsx("input",{className:ge["form-input-control"],placeholder:o,ref:i?d:t,style:s,...l});break;case"select":c=A.jsx(Z0,{styles:k0,className:ge["form-select-control"],classNamePrefix:"biznext-ui-",menuPortalTarget:document.body,menuPosition:"absolute",menuShouldScrollIntoView:!1,ref:i?d:t,placeholder:o?`Select ${o}`:"Select...",isSearchable:u,isClearable:a,noOptionsMessage:()=>"No Results Found!",...l});break;case"textarea":c=A.jsx("textarea",{className:ge["form-input-control"],placeholder:o,style:s,ref:i?d:t,...l});break;default:c=A.jsx(A.Fragment,{});break}return c}),Mu=e=>{const{children:t}=e;return t};Bu.displayName="biznext-ui-input-label",Gu.displayName="biznext-ui-input-control",Mu.displayName="biznext-ui-input-error-message",mt.Group=z0,mt.InputGroup=j0,mt.Label=Bu,mt.Control=Gu,mt.ErrorMessage=Mu,ae.BiznextUIProvider=Bh,ae.Form=H0,ae.Modal=Nh,ae.useConfirmDialog=Zh,ae.useToast=gr,Object.defineProperty(ae,Symbol.toStringTag,{value:"Module"})});
32
+ `]))),Zm=function(e,n){var i=e.isFocused,r=e.size,s=e.theme,o=s.colors,u=s.spacing.baseUnit;return V({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:r,lineHeight:1,marginRight:r,textAlign:"center",verticalAlign:"middle"},n?{}:{color:i?o.neutral60:o.neutral20,padding:u*2})},$i=function(e){var n=e.delay,i=e.offset;return T("span",{css:ji({animation:"".concat(Xm," 1s ease-in-out ").concat(n,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:i?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},process.env.NODE_ENV==="production"?"":";label:LoadingDot;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lLFxuICBDU1NPYmplY3RXaXRoTGFiZWwsXG4gIEdyb3VwQmFzZSxcbn0gZnJvbSAnLi4vdHlwZXMnO1xuaW1wb3J0IHsgZ2V0U3R5bGVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBEcm9wZG93biAmIENsZWFyIEljb25zXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09P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hdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KHtcbiAgaW5uZXJQcm9wcyxcbiAgaXNSdGwsXG4gIHNpemUgPSA0LFxuICAuLi5yZXN0UHJvcHNcbn06IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPikgPT4ge1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKFxuICAgICAgICB7IC4uLnJlc3RQcm9wcywgaW5uZXJQcm9wcywgaXNSdGwsIHNpemUgfSxcbiAgICAgICAgJ2xvYWRpbmdJbmRpY2F0b3InLFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdsb2FkaW5nLWluZGljYXRvcic6IHRydWUsXG4gICAgICAgIH1cbiAgICAgICl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MH0gb2Zmc2V0PXtpc1J0bH0gLz5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXsxNjB9IG9mZnNldCAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezMyMH0gb2Zmc2V0PXshaXNSdGx9IC8+XG4gICAgPC9kaXY+XG4gICk7XG59O1xuIl19 */")})},Hm=function(e){var n=e.innerProps,i=e.isRtl,r=e.size,s=r===void 0?4:r,o=Me(e,Bm);return T("div",F({},z(V(V({},o),{},{innerProps:n,isRtl:i,size:s}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),n),T($i,{delay:0,offset:i}),T($i,{delay:160,offset:!0}),T($i,{delay:320,offset:!i}))},km=function(e,n){var i=e.isDisabled,r=e.isFocused,s=e.theme,o=s.colors,u=s.borderRadius,a=s.spacing;return V({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:a.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},n?{}:{backgroundColor:i?o.neutral5:o.neutral0,borderColor:i?o.neutral10:r?o.primary:o.neutral20,borderRadius:u,borderStyle:"solid",borderWidth:1,boxShadow:r?"0 0 0 1px ".concat(o.primary):void 0,"&:hover":{borderColor:r?o.primary:o.neutral30}})},zm=function(e){var n=e.children,i=e.isDisabled,r=e.isFocused,s=e.innerRef,o=e.innerProps,u=e.menuIsOpen;return T("div",F({ref:s},z(e,"control",{control:!0,"control--is-disabled":i,"control--is-focused":r,"control--menu-is-open":u}),o,{"aria-disabled":i||void 0}),n)},jm=zm,Ym=["data"],Jm=function(e,n){var i=e.theme.spacing;return n?{}:{paddingBottom:i.baseUnit*2,paddingTop:i.baseUnit*2}},Um=function(e){var n=e.children,i=e.cx,r=e.getStyles,s=e.getClassNames,o=e.Heading,u=e.headingProps,a=e.innerProps,l=e.label,c=e.theme,d=e.selectProps;return T("div",F({},z(e,"group",{group:!0}),a),T(o,F({},u,{selectProps:d,theme:c,getStyles:r,getClassNames:s,cx:i}),l),T("div",null,n))},_m=function(e,n){var i=e.theme,r=i.colors,s=i.spacing;return V({label:"group",cursor:"default",display:"block"},n?{}:{color:r.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:s.baseUnit*3,paddingRight:s.baseUnit*3,textTransform:"uppercase"})},Qm=function(e){var n=Ra(e);n.data;var i=Me(n,Ym);return T("div",F({},z(e,"groupHeading",{"group-heading":!0}),i))},$m=Um,Km=["innerRef","isDisabled","isHidden","inputClassName"],qm=function(e,n){var i=e.isDisabled,r=e.value,s=e.theme,o=s.spacing,u=s.colors;return V(V({visibility:i?"hidden":"visible",transform:r?"translateZ(0)":""},eg),n?{}:{margin:o.baseUnit/2,paddingBottom:o.baseUnit/2,paddingTop:o.baseUnit/2,color:u.neutral80})},Ja={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},eg={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":V({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},Ja)},tg=function(e){return V({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},Ja)},ng=function(e){var n=e.cx,i=e.value,r=Ra(e),s=r.innerRef,o=r.isDisabled,u=r.isHidden,a=r.inputClassName,l=Me(r,Km);return T("div",F({},z(e,"input",{"input-container":!0}),{"data-value":i||""}),T("input",F({className:n({input:!0},a),ref:s,style:tg(u),disabled:o},l)))},ig=ng,rg=function(e,n){var i=e.theme,r=i.spacing,s=i.borderRadius,o=i.colors;return V({label:"multiValue",display:"flex",minWidth:0},n?{}:{backgroundColor:o.neutral10,borderRadius:s/2,margin:r.baseUnit/2})},sg=function(e,n){var i=e.theme,r=i.borderRadius,s=i.colors,o=e.cropWithEllipsis;return V({overflow:"hidden",textOverflow:o||o===void 0?"ellipsis":void 0,whiteSpace:"nowrap"},n?{}:{borderRadius:r/2,color:s.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},og=function(e,n){var i=e.theme,r=i.spacing,s=i.borderRadius,o=i.colors,u=e.isFocused;return V({alignItems:"center",display:"flex"},n?{}:{borderRadius:s/2,backgroundColor:u?o.dangerLight:void 0,paddingLeft:r.baseUnit,paddingRight:r.baseUnit,":hover":{backgroundColor:o.dangerLight,color:o.danger}})},Ua=function(e){var n=e.children,i=e.innerProps;return T("div",i,n)},ag=Ua,ug=Ua;function lg(t){var e=t.children,n=t.innerProps;return T("div",F({role:"button"},n),e||T(Qi,{size:14}))}var cg=function(e){var n=e.children,i=e.components,r=e.data,s=e.innerProps,o=e.isDisabled,u=e.removeProps,a=e.selectProps,l=i.Container,c=i.Label,d=i.Remove;return T(l,{data:r,innerProps:V(V({},z(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":o})),s),selectProps:a},T(c,{data:r,innerProps:V({},z(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:a},n),T(d,{data:r,innerProps:V(V({},z(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(n||"option")},u),selectProps:a}))},dg=cg,fg=function(e,n){var i=e.isDisabled,r=e.isFocused,s=e.isSelected,o=e.theme,u=o.spacing,a=o.colors;return V({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},n?{}:{backgroundColor:s?a.primary:r?a.primary25:"transparent",color:i?a.neutral20:s?a.neutral0:"inherit",padding:"".concat(u.baseUnit*2,"px ").concat(u.baseUnit*3,"px"),":active":{backgroundColor:i?void 0:s?a.primary:a.primary50}})},hg=function(e){var n=e.children,i=e.isDisabled,r=e.isFocused,s=e.isSelected,o=e.innerRef,u=e.innerProps;return T("div",F({},z(e,"option",{option:!0,"option--is-disabled":i,"option--is-focused":r,"option--is-selected":s}),{ref:o,"aria-disabled":i},u),n)},pg=hg,mg=function(e,n){var i=e.theme,r=i.spacing,s=i.colors;return V({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},n?{}:{color:s.neutral50,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2})},gg=function(e){var n=e.children,i=e.innerProps;return T("div",F({},z(e,"placeholder",{placeholder:!0}),i),n)},bg=gg,vg=function(e,n){var i=e.isDisabled,r=e.theme,s=r.spacing,o=r.colors;return V({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},n?{}:{color:i?o.neutral40:o.neutral80,marginLeft:s.baseUnit/2,marginRight:s.baseUnit/2})},yg=function(e){var n=e.children,i=e.isDisabled,r=e.innerProps;return T("div",F({},z(e,"singleValue",{"single-value":!0,"single-value--is-disabled":i}),r),n)},Ig=yg,Cg={ClearIndicator:Lm,Control:jm,DropdownIndicator:Rm,DownChevron:ja,CrossIcon:Qi,Group:$m,GroupHeading:Qm,IndicatorsContainer:wm,IndicatorSeparator:Om,Input:ig,LoadingIndicator:Hm,Menu:mm,MenuList:bm,MenuPortal:Am,LoadingMessage:Cm,NoOptionsMessage:Im,MultiValue:dg,MultiValueContainer:ag,MultiValueLabel:ug,MultiValueRemove:lg,Option:pg,Placeholder:bg,SelectContainer:Pm,SingleValue:Ig,ValueContainer:Tm},xg=function(e){return V(V({},Cg),e.components)},_a=Number.isNaN||function(e){return typeof e=="number"&&e!==e};function Ag(t,e){return!!(t===e||_a(t)&&_a(e))}function Sg(t,e){if(t.length!==e.length)return!1;for(var n=0;n<t.length;n++)if(!Ag(t[n],e[n]))return!1;return!0}function Pg(t,e){e===void 0&&(e=Sg);var n=null;function i(){for(var r=[],s=0;s<arguments.length;s++)r[s]=arguments[s];if(n&&n.lastThis===this&&e(r,n.lastArgs))return n.lastResult;var o=t.apply(this,r);return n={lastResult:o,lastArgs:r,lastThis:this},o}return i.clear=function(){n=null},i}function Eg(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}for(var Tg=process.env.NODE_ENV==="production"?{name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"}:{name:"1f43avz-a11yText-A11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;label:A11yText;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFNSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */",toString:Eg},Vg=function(e){return T("span",F({css:Tg},e))},Qa=Vg,wg={guidance:function(e){var n=e.isSearchable,i=e.isMulti,r=e.tabSelectsValue,s=e.context,o=e.isInitialFocus;switch(s){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(r?", press Tab to select the option and exit the menu":"",".");case"input":return o?"".concat(e["aria-label"]||"Select"," is focused ").concat(n?",type to refine list":"",", press Down to open the menu, ").concat(i?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(e){var n=e.action,i=e.label,r=i===void 0?"":i,s=e.labels,o=e.isDisabled;switch(n){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(r,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(s.length>1?"s":""," ").concat(s.join(","),", selected.");case"select-option":return o?"option ".concat(r," is disabled. Select another option."):"option ".concat(r,", selected.");default:return""}},onFocus:function(e){var n=e.context,i=e.focused,r=e.options,s=e.label,o=s===void 0?"":s,u=e.selectValue,a=e.isDisabled,l=e.isSelected,c=e.isAppleDevice,d=function(p,g){return p&&p.length?"".concat(p.indexOf(g)+1," of ").concat(p.length):""};if(n==="value"&&u)return"value ".concat(o," focused, ").concat(d(u,i),".");if(n==="menu"&&c){var f=a?" disabled":"",h="".concat(l?" selected":"").concat(f);return"".concat(o).concat(h,", ").concat(d(r,i),".")}return""},onFilter:function(e){var n=e.inputValue,i=e.resultsMessage;return"".concat(i).concat(n?" for search term "+n:"",".")}},Fg=function(e){var n=e.ariaSelection,i=e.focusedOption,r=e.focusedValue,s=e.focusableOptions,o=e.isFocused,u=e.selectValue,a=e.selectProps,l=e.id,c=e.isAppleDevice,d=a.ariaLiveMessages,f=a.getOptionLabel,h=a.inputValue,m=a.isMulti,p=a.isOptionDisabled,g=a.isSearchable,b=a.menuIsOpen,I=a.options,v=a.screenReaderStatus,x=a.tabSelectsValue,y=a.isLoading,S=a["aria-label"],P=a["aria-live"],A=C.useMemo(function(){return V(V({},wg),d||{})},[d]),M=C.useMemo(function(){var D="";if(n&&A.onChange){var W=n.option,ne=n.options,_=n.removedValue,xe=n.removedValues,me=n.value,ct=function(be){return Array.isArray(be)?null:be},J=_||W||ct(me),ie=J?f(J):"",ge=ne||xe||void 0,Ae=ge?ge.map(f):[],ce=V({isDisabled:J&&p(J,u),label:ie,labels:Ae},n);D=A.onChange(ce)}return D},[n,A,p,u,f]),R=C.useMemo(function(){var D="",W=i||r,ne=!!(i&&u&&u.includes(i));if(W&&A.onFocus){var _={focused:W,label:f(W),isDisabled:p(W,u),isSelected:ne,options:s,context:W===i?"menu":"value",selectValue:u,isAppleDevice:c};D=A.onFocus(_)}return D},[i,r,f,p,A,s,u,c]),k=C.useMemo(function(){var D="";if(b&&I.length&&!y&&A.onFilter){var W=v({count:s.length});D=A.onFilter({inputValue:h,resultsMessage:W})}return D},[s,h,b,A,I,v,y]),Y=(n==null?void 0:n.action)==="initial-input-focus",le=C.useMemo(function(){var D="";if(A.guidance){var W=r?"value":b?"menu":"input";D=A.guidance({"aria-label":S,context:W,isDisabled:i&&p(i,u),isMulti:m,isSearchable:g,tabSelectsValue:x,isInitialFocus:Y})}return D},[S,i,r,m,p,g,b,A,u,x,Y]),se=T(C.Fragment,null,T("span",{id:"aria-selection"},M),T("span",{id:"aria-focused"},R),T("span",{id:"aria-results"},k),T("span",{id:"aria-guidance"},le));return T(C.Fragment,null,T(Qa,{id:l},Y&&se),T(Qa,{"aria-live":P,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},o&&!Y&&se))},Bg=Fg,Ki=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],Gg=new RegExp("["+Ki.map(function(t){return t.letters}).join("")+"]","g"),$a={},qi=0;qi<Ki.length;qi++)for(var er=Ki[qi],tr=0;tr<er.letters.length;tr++)$a[er.letters[tr]]=er.base;var Ka=function(e){return e.replace(Gg,function(n){return $a[n]})},Mg=Pg(Ka),qa=function(e){return e.replace(/^\s+|\s+$/g,"")},Dg=function(e){return"".concat(e.label," ").concat(e.value)},Rg=function(e){return function(n,i){if(n.data.__isNew__)return!0;var r=V({ignoreCase:!0,ignoreAccents:!0,stringify:Dg,trim:!0,matchFrom:"any"},e),s=r.ignoreCase,o=r.ignoreAccents,u=r.stringify,a=r.trim,l=r.matchFrom,c=a?qa(i):i,d=a?qa(u(n)):u(n);return s&&(c=c.toLowerCase(),d=d.toLowerCase()),o&&(c=Mg(c),d=Ka(d)),l==="start"?d.substr(0,c.length)===c:d.indexOf(c)>-1}},Ng=["innerRef"];function Lg(t){var e=t.innerRef,n=Me(t,Ng),i=am(n,"onExited","in","enter","exit","appear");return T("input",F({ref:e},i,{css:ji({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},process.env.NODE_ENV==="production"?"":";label:DummyInput;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZ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xIC8gMiAvIDMnLFxuICAgICAgICBvdXRsaW5lOiAwLFxuICAgICAgICBwYWRkaW5nOiAwLFxuICAgICAgICAvLyBpbXBvcnRhbnQhIHdpdGhvdXQgYHdpZHRoYCBicm93c2VycyB3b24ndCBhbGxvdyBmb2N1c1xuICAgICAgICB3aWR0aDogMSxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIGRlc2t0b3BcbiAgICAgICAgY29sb3I6ICd0cmFuc3BhcmVudCcsXG5cbiAgICAgICAgLy8gcmVtb3ZlIGN1cnNvciBvbiBtb2JpbGUgd2hpbHN0IG1haW50YWluaW5nIFwic2Nyb2xsIGludG8gdmlld1wiIGJlaGF2aW91clxuICAgICAgICBsZWZ0OiAtMTAwLFxuICAgICAgICBvcGFjaXR5OiAwLFxuICAgICAgICBwb3NpdGlvbjogJ3JlbGF0aXZlJyxcbiAgICAgICAgdHJhbnNmb3JtOiAnc2NhbGUoLjAxKScsXG4gICAgICB9fVxuICAgIC8+XG4gICk7XG59XG4iXX0= */")}))}var Wg=function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()};function Og(t){var e=t.isEnabled,n=t.onBottomArrive,i=t.onBottomLeave,r=t.onTopArrive,s=t.onTopLeave,o=C.useRef(!1),u=C.useRef(!1),a=C.useRef(0),l=C.useRef(null),c=C.useCallback(function(g,b){if(l.current!==null){var I=l.current,v=I.scrollTop,x=I.scrollHeight,y=I.clientHeight,S=l.current,P=b>0,A=x-y-v,M=!1;A>b&&o.current&&(i&&i(g),o.current=!1),P&&u.current&&(s&&s(g),u.current=!1),P&&b>A?(n&&!o.current&&n(g),S.scrollTop=x,M=!0,o.current=!0):!P&&-b>v&&(r&&!u.current&&r(g),S.scrollTop=0,M=!0,u.current=!0),M&&Wg(g)}},[n,i,r,s]),d=C.useCallback(function(g){c(g,g.deltaY)},[c]),f=C.useCallback(function(g){a.current=g.changedTouches[0].clientY},[]),h=C.useCallback(function(g){var b=a.current-g.changedTouches[0].clientY;c(g,b)},[c]),m=C.useCallback(function(g){if(g){var b=rm?{passive:!1}:!1;g.addEventListener("wheel",d,b),g.addEventListener("touchstart",f,b),g.addEventListener("touchmove",h,b)}},[h,f,d]),p=C.useCallback(function(g){g&&(g.removeEventListener("wheel",d,!1),g.removeEventListener("touchstart",f,!1),g.removeEventListener("touchmove",h,!1))},[h,f,d]);return C.useEffect(function(){if(e){var g=l.current;return m(g),function(){p(g)}}},[e,m,p]),function(g){l.current=g}}var eu=["boxSizing","height","overflow","paddingRight","position"],tu={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function nu(t){t.preventDefault()}function iu(t){t.stopPropagation()}function ru(){var t=this.scrollTop,e=this.scrollHeight,n=t+this.offsetHeight;t===0?this.scrollTop=1:n===e&&(this.scrollTop=t-1)}function su(){return"ontouchstart"in window||navigator.maxTouchPoints}var ou=!!(typeof window<"u"&&window.document&&window.document.createElement),Mt=0,ut={capture:!1,passive:!1};function Xg(t){var e=t.isEnabled,n=t.accountForScrollbars,i=n===void 0?!0:n,r=C.useRef({}),s=C.useRef(null),o=C.useCallback(function(a){if(ou){var l=document.body,c=l&&l.style;if(i&&eu.forEach(function(m){var p=c&&c[m];r.current[m]=p}),i&&Mt<1){var d=parseInt(r.current.paddingRight,10)||0,f=document.body?document.body.clientWidth:0,h=window.innerWidth-f+d||0;Object.keys(tu).forEach(function(m){var p=tu[m];c&&(c[m]=p)}),c&&(c.paddingRight="".concat(h,"px"))}l&&su()&&(l.addEventListener("touchmove",nu,ut),a&&(a.addEventListener("touchstart",ru,ut),a.addEventListener("touchmove",iu,ut))),Mt+=1}},[i]),u=C.useCallback(function(a){if(ou){var l=document.body,c=l&&l.style;Mt=Math.max(Mt-1,0),i&&Mt<1&&eu.forEach(function(d){var f=r.current[d];c&&(c[d]=f)}),l&&su()&&(l.removeEventListener("touchmove",nu,ut),a&&(a.removeEventListener("touchstart",ru,ut),a.removeEventListener("touchmove",iu,ut)))}},[i]);return C.useEffect(function(){if(e){var a=s.current;return o(a),function(){u(a)}}},[e,o,u]),function(a){s.current=a}}function Zg(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var Hg=function(e){var n=e.target;return n.ownerDocument.activeElement&&n.ownerDocument.activeElement.blur()},kg=process.env.NODE_ENV==="production"?{name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"}:{name:"bp8cua-ScrollManager",styles:"position:fixed;left:0;bottom:0;right:0;top:0;label:ScrollManager;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2ssIE1vdXNlRXZlbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcuL3VzZVNjcm9sbENhcHR1cmUnO1xuaW1wb3J0IHVzZVNjcm9sbExvY2sgZnJvbSAnLi91c2VTY3JvbGxMb2NrJztcblxuaW50ZXJmYWNlIFByb3BzIHtcbiAgcmVhZG9ubHkgY2hpbGRyZW46IChyZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PikgPT4gUmVhY3RFbGVtZW50O1xuICByZWFkb25seSBsb2NrRW5hYmxlZDogYm9vbGVhbjtcbiAgcmVhZG9ubHkgY2FwdHVyZUVuYWJsZWQ6IGJvb2xlYW47XG4gIHJlYWRvbmx5IG9uQm90dG9tQXJyaXZlPzogKGV2ZW50OiBXaGVlbE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4gICAgb25Ub3BMZWF2ZSxcbiAgfSk7XG4gIGNvbnN0IHNldFNjcm9sbExvY2tUYXJnZXQgPSB1c2VTY3JvbGxMb2NrKHsgaXNFbmFibGVkOiBsb2NrRW5hYmxlZCB9KTtcblxuICBjb25zdCB0YXJnZXRSZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PiA9IChlbGVtZW50KSA9PiB7XG4gICAgc2V0U2Nyb2xsQ2FwdHVyZVRhcmdldChlbGVtZW50KTtcbiAgICBzZXRTY3JvbGxMb2NrVGFyZ2V0KGVsZW1lbnQpO1xuICB9O1xuXG4gIHJldHVybiAoXG4gICAgPEZyYWdtZW50PlxuICAgICAge2xvY2tFbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+XG4gICk7XG59XG4iXX0= */",toString:Zg};function zg(t){var e=t.children,n=t.lockEnabled,i=t.captureEnabled,r=i===void 0?!0:i,s=t.onBottomArrive,o=t.onBottomLeave,u=t.onTopArrive,a=t.onTopLeave,l=Og({isEnabled:r,onBottomArrive:s,onBottomLeave:o,onTopArrive:u,onTopLeave:a}),c=Xg({isEnabled:n}),d=function(h){l(h),c(h)};return T(C.Fragment,null,n&&T("div",{onClick:Hg,css:kg}),e(d))}function jg(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var Yg=process.env.NODE_ENV==="production"?{name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"}:{name:"5kkxb2-requiredInput-RequiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%;label:RequiredInput;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlJlcXVpcmVkSW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWNJIiwiZmlsZSI6IlJlcXVpcmVkSW5wdXQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyBGb2N1c0V2ZW50SGFuZGxlciwgRnVuY3Rpb25Db21wb25lbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmNvbnN0IFJlcXVpcmVkSW5wdXQ6IEZ1bmN0aW9uQ29tcG9uZW50PHtcbiAgcmVhZG9ubHkgbmFtZT86IHN0cmluZztcbiAgcmVhZG9ubHkgb25Gb2N1czogRm9jdXNFdmVudEhhbmRsZXI8SFRNTElucHV0RWxlbWVudD47XG59PiA9ICh7IG5hbWUsIG9uRm9jdXMgfSkgPT4gKFxuICA8aW5wdXRcbiAgICByZXF1aXJlZFxuICAgIG5hbWU9e25hbWV9XG4gICAgdGFiSW5kZXg9ey0xfVxuICAgIGFyaWEtaGlkZGVuPVwidHJ1ZVwiXG4gICAgb25Gb2N1cz17b25Gb2N1c31cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAncmVxdWlyZWRJbnB1dCcsXG4gICAgICBvcGFjaXR5OiAwLFxuICAgICAgcG9pbnRlckV2ZW50czogJ25vbmUnLFxuICAgICAgcG9zaXRpb246ICdhYnNvbHV0ZScsXG4gICAgICBib3R0b206IDAsXG4gICAgICBsZWZ0OiAwLFxuICAgICAgcmlnaHQ6IDAsXG4gICAgICB3aWR0aDogJzEwMCUnLFxuICAgIH19XG4gICAgLy8gUHJldmVudCBgU3dpdGNoaW5nIGZyb20gdW5jb250cm9sbGVkIHRvIGNvbnRyb2xsZWRgIGVycm9yXG4gICAgdmFsdWU9XCJcIlxuICAgIG9uQ2hhbmdlPXsoKSA9PiB7fX1cbiAgLz5cbik7XG5cbmV4cG9ydCBkZWZhdWx0IFJlcXVpcmVkSW5wdXQ7XG4iXX0= */",toString:jg},Jg=function(e){var n=e.name,i=e.onFocus;return T("input",{required:!0,name:n,tabIndex:-1,"aria-hidden":"true",onFocus:i,css:Yg,value:"",onChange:function(){}})},Ug=Jg;function nr(t){var e;return typeof window<"u"&&window.navigator!=null?t.test(((e=window.navigator.userAgentData)===null||e===void 0?void 0:e.platform)||window.navigator.platform):!1}function _g(){return nr(/^iPhone/i)}function au(){return nr(/^Mac/i)}function Qg(){return nr(/^iPad/i)||au()&&navigator.maxTouchPoints>1}function $g(){return _g()||Qg()}function Kg(){return au()||$g()}var qg=function(e){return e.label},eb=function(e){return e.label},tb=function(e){return e.value},nb=function(e){return!!e.isDisabled},ib={clearIndicator:Nm,container:Sm,control:km,dropdownIndicator:Dm,group:Jm,groupHeading:_m,indicatorsContainer:Vm,indicatorSeparator:Wm,input:qm,loadingIndicator:Zm,loadingMessage:ym,menu:fm,menuList:gm,menuPortal:xm,multiValue:rg,multiValueLabel:sg,multiValueRemove:og,noOptionsMessage:vm,option:fg,placeholder:mg,singleValue:vg,valueContainer:Em},rb={primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},sb=4,uu=4,ob=38,ab=uu*2,ub={baseUnit:uu,controlHeight:ob,menuGutter:ab},ir={borderRadius:sb,colors:rb,spacing:ub},lb={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Wa(),captureMenuScroll:!Wa(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:Rg(),formatGroupLabel:qg,getOptionLabel:eb,getOptionValue:tb,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:nb,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!nm(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var n=e.count;return"".concat(n," result").concat(n!==1?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function lu(t,e,n,i){var r=pu(t,e,n),s=mu(t,e,n),o=hu(t,e),u=Pn(t,e);return{type:"option",data:e,isDisabled:r,isSelected:s,label:o,value:u,index:i}}function Sn(t,e){return t.options.map(function(n,i){if("options"in n){var r=n.options.map(function(o,u){return lu(t,o,e,u)}).filter(function(o){return fu(t,o)});return r.length>0?{type:"group",data:n,options:r,index:i}:void 0}var s=lu(t,n,e,i);return fu(t,s)?s:void 0}).filter(sm)}function cu(t){return t.reduce(function(e,n){return n.type==="group"?e.push.apply(e,Ri(n.options.map(function(i){return i.data}))):e.push(n.data),e},[])}function du(t,e){return t.reduce(function(n,i){return i.type==="group"?n.push.apply(n,Ri(i.options.map(function(r){return{data:r.data,id:"".concat(e,"-").concat(i.index,"-").concat(r.index)}}))):n.push({data:i.data,id:"".concat(e,"-").concat(i.index)}),n},[])}function cb(t,e){return cu(Sn(t,e))}function fu(t,e){var n=t.inputValue,i=n===void 0?"":n,r=e.data,s=e.isSelected,o=e.label,u=e.value;return(!bu(t)||!s)&&gu(t,{label:o,value:u,data:r},i)}function db(t,e){var n=t.focusedValue,i=t.selectValue,r=i.indexOf(n);if(r>-1){var s=e.indexOf(n);if(s>-1)return n;if(r<e.length)return e[r]}return null}function fb(t,e){var n=t.focusedOption;return n&&e.indexOf(n)>-1?n:e[0]}var rr=function(e,n){var i,r=(i=e.find(function(s){return s.data===n}))===null||i===void 0?void 0:i.id;return r||null},hu=function(e,n){return e.getOptionLabel(n)},Pn=function(e,n){return e.getOptionValue(n)};function pu(t,e,n){return typeof t.isOptionDisabled=="function"?t.isOptionDisabled(e,n):!1}function mu(t,e,n){if(n.indexOf(e)>-1)return!0;if(typeof t.isOptionSelected=="function")return t.isOptionSelected(e,n);var i=Pn(t,e);return n.some(function(r){return Pn(t,r)===i})}function gu(t,e,n){return t.filterOption?t.filterOption(e,n):!0}var bu=function(e){var n=e.hideSelectedOptions,i=e.isMulti;return n===void 0?i:n},hb=1,vu=function(t){Ph(n,t);var e=Vh(n);function n(i){var r;if(Ah(this,n),r=e.call(this,i),r.state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:""},r.blockOptionHover=!1,r.isComposing=!1,r.commonProps=void 0,r.initialTouchX=0,r.initialTouchY=0,r.openAfterFocus=!1,r.scrollToFocusedOptionOnUpdate=!1,r.userIsDragging=void 0,r.isAppleDevice=Kg(),r.controlRef=null,r.getControlRef=function(a){r.controlRef=a},r.focusedOptionRef=null,r.getFocusedOptionRef=function(a){r.focusedOptionRef=a},r.menuListRef=null,r.getMenuListRef=function(a){r.menuListRef=a},r.inputRef=null,r.getInputRef=function(a){r.inputRef=a},r.focus=r.focusInput,r.blur=r.blurInput,r.onChange=function(a,l){var c=r.props,d=c.onChange,f=c.name;l.name=f,r.ariaOnChange(a,l),d(a,l)},r.setValue=function(a,l,c){var d=r.props,f=d.closeMenuOnSelect,h=d.isMulti,m=d.inputValue;r.onInputChange("",{action:"set-value",prevInputValue:m}),f&&(r.setState({inputIsHiddenAfterUpdate:!h}),r.onMenuClose()),r.setState({clearFocusValueOnUpdate:!0}),r.onChange(a,{action:l,option:c})},r.selectOption=function(a){var l=r.props,c=l.blurInputOnSelect,d=l.isMulti,f=l.name,h=r.state.selectValue,m=d&&r.isOptionSelected(a,h),p=r.isOptionDisabled(a,h);if(m){var g=r.getOptionValue(a);r.setValue(h.filter(function(b){return r.getOptionValue(b)!==g}),"deselect-option",a)}else if(!p)d?r.setValue([].concat(Ri(h),[a]),"select-option",a):r.setValue(a,"select-option");else{r.ariaOnChange(a,{action:"select-option",option:a,name:f});return}c&&r.blurInput()},r.removeValue=function(a){var l=r.props.isMulti,c=r.state.selectValue,d=r.getOptionValue(a),f=c.filter(function(m){return r.getOptionValue(m)!==d}),h=An(l,f,f[0]||null);r.onChange(h,{action:"remove-value",removedValue:a}),r.focusInput()},r.clearValue=function(){var a=r.state.selectValue;r.onChange(An(r.props.isMulti,[],null),{action:"clear",removedValues:a})},r.popValue=function(){var a=r.props.isMulti,l=r.state.selectValue,c=l[l.length-1],d=l.slice(0,l.length-1),f=An(a,d,d[0]||null);r.onChange(f,{action:"pop-value",removedValue:c})},r.getFocusedOptionId=function(a){return rr(r.state.focusableOptionsWithIds,a)},r.getFocusableOptionsWithIds=function(){return du(Sn(r.props,r.state.selectValue),r.getElementId("option"))},r.getValue=function(){return r.state.selectValue},r.cx=function(){for(var a=arguments.length,l=new Array(a),c=0;c<a;c++)l[c]=arguments[c];return $p.apply(void 0,[r.props.classNamePrefix].concat(l))},r.getOptionLabel=function(a){return hu(r.props,a)},r.getOptionValue=function(a){return Pn(r.props,a)},r.getStyles=function(a,l){var c=r.props.unstyled,d=ib[a](l,c);d.boxSizing="border-box";var f=r.props.styles[a];return f?f(d,l):d},r.getClassNames=function(a,l){var c,d;return(c=(d=r.props.classNames)[a])===null||c===void 0?void 0:c.call(d,l)},r.getElementId=function(a){return"".concat(r.state.instancePrefix,"-").concat(a)},r.getComponents=function(){return xg(r.props)},r.buildCategorizedOptions=function(){return Sn(r.props,r.state.selectValue)},r.getCategorizedOptions=function(){return r.props.menuIsOpen?r.buildCategorizedOptions():[]},r.buildFocusableOptions=function(){return cu(r.buildCategorizedOptions())},r.getFocusableOptions=function(){return r.props.menuIsOpen?r.buildFocusableOptions():[]},r.ariaOnChange=function(a,l){r.setState({ariaSelection:V({value:a},l)})},r.onMenuMouseDown=function(a){a.button===0&&(a.stopPropagation(),a.preventDefault(),r.focusInput())},r.onMenuMouseMove=function(a){r.blockOptionHover=!1},r.onControlMouseDown=function(a){if(!a.defaultPrevented){var l=r.props.openMenuOnClick;r.state.isFocused?r.props.menuIsOpen?a.target.tagName!=="INPUT"&&a.target.tagName!=="TEXTAREA"&&r.onMenuClose():l&&r.openMenu("first"):(l&&(r.openAfterFocus=!0),r.focusInput()),a.target.tagName!=="INPUT"&&a.target.tagName!=="TEXTAREA"&&a.preventDefault()}},r.onDropdownIndicatorMouseDown=function(a){if(!(a&&a.type==="mousedown"&&a.button!==0)&&!r.props.isDisabled){var l=r.props,c=l.isMulti,d=l.menuIsOpen;r.focusInput(),d?(r.setState({inputIsHiddenAfterUpdate:!c}),r.onMenuClose()):r.openMenu("first"),a.preventDefault()}},r.onClearIndicatorMouseDown=function(a){a&&a.type==="mousedown"&&a.button!==0||(r.clearValue(),a.preventDefault(),r.openAfterFocus=!1,a.type==="touchend"?r.focusInput():setTimeout(function(){return r.focusInput()}))},r.onScroll=function(a){typeof r.props.closeMenuOnScroll=="boolean"?a.target instanceof HTMLElement&&yn(a.target)&&r.props.onMenuClose():typeof r.props.closeMenuOnScroll=="function"&&r.props.closeMenuOnScroll(a)&&r.props.onMenuClose()},r.onCompositionStart=function(){r.isComposing=!0},r.onCompositionEnd=function(){r.isComposing=!1},r.onTouchStart=function(a){var l=a.touches,c=l&&l.item(0);c&&(r.initialTouchX=c.clientX,r.initialTouchY=c.clientY,r.userIsDragging=!1)},r.onTouchMove=function(a){var l=a.touches,c=l&&l.item(0);if(c){var d=Math.abs(c.clientX-r.initialTouchX),f=Math.abs(c.clientY-r.initialTouchY),h=5;r.userIsDragging=d>h||f>h}},r.onTouchEnd=function(a){r.userIsDragging||(r.controlRef&&!r.controlRef.contains(a.target)&&r.menuListRef&&!r.menuListRef.contains(a.target)&&r.blurInput(),r.initialTouchX=0,r.initialTouchY=0)},r.onControlTouchEnd=function(a){r.userIsDragging||r.onControlMouseDown(a)},r.onClearIndicatorTouchEnd=function(a){r.userIsDragging||r.onClearIndicatorMouseDown(a)},r.onDropdownIndicatorTouchEnd=function(a){r.userIsDragging||r.onDropdownIndicatorMouseDown(a)},r.handleInputChange=function(a){var l=r.props.inputValue,c=a.currentTarget.value;r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange(c,{action:"input-change",prevInputValue:l}),r.props.menuIsOpen||r.onMenuOpen()},r.onInputFocus=function(a){r.props.onFocus&&r.props.onFocus(a),r.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(r.openAfterFocus||r.props.openMenuOnFocus)&&r.openMenu("first"),r.openAfterFocus=!1},r.onInputBlur=function(a){var l=r.props.inputValue;if(r.menuListRef&&r.menuListRef.contains(document.activeElement)){r.inputRef.focus();return}r.props.onBlur&&r.props.onBlur(a),r.onInputChange("",{action:"input-blur",prevInputValue:l}),r.onMenuClose(),r.setState({focusedValue:null,isFocused:!1})},r.onOptionHover=function(a){if(!(r.blockOptionHover||r.state.focusedOption===a)){var l=r.getFocusableOptions(),c=l.indexOf(a);r.setState({focusedOption:a,focusedOptionId:c>-1?r.getFocusedOptionId(a):null})}},r.shouldHideSelectedOptions=function(){return bu(r.props)},r.onValueInputFocus=function(a){a.preventDefault(),a.stopPropagation(),r.focus()},r.onKeyDown=function(a){var l=r.props,c=l.isMulti,d=l.backspaceRemovesValue,f=l.escapeClearsValue,h=l.inputValue,m=l.isClearable,p=l.isDisabled,g=l.menuIsOpen,b=l.onKeyDown,I=l.tabSelectsValue,v=l.openMenuOnFocus,x=r.state,y=x.focusedOption,S=x.focusedValue,P=x.selectValue;if(!p&&!(typeof b=="function"&&(b(a),a.defaultPrevented))){switch(r.blockOptionHover=!0,a.key){case"ArrowLeft":if(!c||h)return;r.focusValue("previous");break;case"ArrowRight":if(!c||h)return;r.focusValue("next");break;case"Delete":case"Backspace":if(h)return;if(S)r.removeValue(S);else{if(!d)return;c?r.popValue():m&&r.clearValue()}break;case"Tab":if(r.isComposing||a.shiftKey||!g||!I||!y||v&&r.isOptionSelected(y,P))return;r.selectOption(y);break;case"Enter":if(a.keyCode===229)break;if(g){if(!y||r.isComposing)return;r.selectOption(y);break}return;case"Escape":g?(r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange("",{action:"menu-close",prevInputValue:h}),r.onMenuClose()):m&&f&&r.clearValue();break;case" ":if(h)return;if(!g){r.openMenu("first");break}if(!y)return;r.selectOption(y);break;case"ArrowUp":g?r.focusOption("up"):r.openMenu("last");break;case"ArrowDown":g?r.focusOption("down"):r.openMenu("first");break;case"PageUp":if(!g)return;r.focusOption("pageup");break;case"PageDown":if(!g)return;r.focusOption("pagedown");break;case"Home":if(!g)return;r.focusOption("first");break;case"End":if(!g)return;r.focusOption("last");break;default:return}a.preventDefault()}},r.state.instancePrefix="react-select-"+(r.props.instanceId||++hb),r.state.selectValue=Da(i.value),i.menuIsOpen&&r.state.selectValue.length){var s=r.getFocusableOptionsWithIds(),o=r.buildFocusableOptions(),u=o.indexOf(r.state.selectValue[0]);r.state.focusableOptionsWithIds=s,r.state.focusedOption=o[u],r.state.focusedOptionId=rr(s,o[u])}return r}return Sh(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&La(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(r){var s=this.props,o=s.isDisabled,u=s.menuIsOpen,a=this.state.isFocused;(a&&!o&&r.isDisabled||a&&u&&!r.menuIsOpen)&&this.focusInput(),a&&o&&!r.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!a&&!o&&r.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(La(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(r,s){this.props.onInputChange(r,s)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(r){var s=this,o=this.state,u=o.selectValue,a=o.isFocused,l=this.buildFocusableOptions(),c=r==="first"?0:l.length-1;if(!this.props.isMulti){var d=l.indexOf(u[0]);d>-1&&(c=d)}this.scrollToFocusedOptionOnUpdate=!(a&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:l[c],focusedOptionId:this.getFocusedOptionId(l[c])},function(){return s.onMenuOpen()})}},{key:"focusValue",value:function(r){var s=this.state,o=s.selectValue,u=s.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var a=o.indexOf(u);u||(a=-1);var l=o.length-1,c=-1;if(o.length){switch(r){case"previous":a===0?c=0:a===-1?c=l:c=a-1;break;case"next":a>-1&&a<l&&(c=a+1);break}this.setState({inputIsHidden:c!==-1,focusedValue:o[c]})}}}},{key:"focusOption",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"first",s=this.props.pageSize,o=this.state.focusedOption,u=this.getFocusableOptions();if(u.length){var a=0,l=u.indexOf(o);o||(l=-1),r==="up"?a=l>0?l-1:u.length-1:r==="down"?a=(l+1)%u.length:r==="pageup"?(a=l-s,a<0&&(a=0)):r==="pagedown"?(a=l+s,a>u.length-1&&(a=u.length-1)):r==="last"&&(a=u.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:u[a],focusedValue:null,focusedOptionId:this.getFocusedOptionId(u[a])})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(ir):V(V({},ir),this.props.theme):ir}},{key:"getCommonProps",value:function(){var r=this.clearValue,s=this.cx,o=this.getStyles,u=this.getClassNames,a=this.getValue,l=this.selectOption,c=this.setValue,d=this.props,f=d.isMulti,h=d.isRtl,m=d.options,p=this.hasValue();return{clearValue:r,cx:s,getStyles:o,getClassNames:u,getValue:a,hasValue:p,isMulti:f,isRtl:h,options:m,selectOption:l,selectProps:d,setValue:c,theme:this.getTheme()}}},{key:"hasValue",value:function(){var r=this.state.selectValue;return r.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var r=this.props,s=r.isClearable,o=r.isMulti;return s===void 0?o:s}},{key:"isOptionDisabled",value:function(r,s){return pu(this.props,r,s)}},{key:"isOptionSelected",value:function(r,s){return mu(this.props,r,s)}},{key:"filterOption",value:function(r,s){return gu(this.props,r,s)}},{key:"formatOptionLabel",value:function(r,s){if(typeof this.props.formatOptionLabel=="function"){var o=this.props.inputValue,u=this.state.selectValue;return this.props.formatOptionLabel(r,{context:s,inputValue:o,selectValue:u})}else return this.getOptionLabel(r)}},{key:"formatGroupLabel",value:function(r){return this.props.formatGroupLabel(r)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var r=this.props,s=r.isDisabled,o=r.isSearchable,u=r.inputId,a=r.inputValue,l=r.tabIndex,c=r.form,d=r.menuIsOpen,f=r.required,h=this.getComponents(),m=h.Input,p=this.state,g=p.inputIsHidden,b=p.ariaSelection,I=this.commonProps,v=u||this.getElementId("input"),x=V(V(V({"aria-autocomplete":"list","aria-expanded":d,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":f,role:"combobox","aria-activedescendant":this.isAppleDevice?void 0:this.state.focusedOptionId||""},d&&{"aria-controls":this.getElementId("listbox")}),!o&&{"aria-readonly":!0}),this.hasValue()?(b==null?void 0:b.action)==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return o?G.createElement(m,F({},I,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:v,innerRef:this.getInputRef,isDisabled:s,isHidden:g,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:l,form:c,type:"text",value:a},x)):G.createElement(Lg,F({id:v,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:vn,onFocus:this.onInputFocus,disabled:s,tabIndex:l,inputMode:"none",form:c,value:""},x))}},{key:"renderPlaceholderOrValue",value:function(){var r=this,s=this.getComponents(),o=s.MultiValue,u=s.MultiValueContainer,a=s.MultiValueLabel,l=s.MultiValueRemove,c=s.SingleValue,d=s.Placeholder,f=this.commonProps,h=this.props,m=h.controlShouldRenderValue,p=h.isDisabled,g=h.isMulti,b=h.inputValue,I=h.placeholder,v=this.state,x=v.selectValue,y=v.focusedValue,S=v.isFocused;if(!this.hasValue()||!m)return b?null:G.createElement(d,F({},f,{key:"placeholder",isDisabled:p,isFocused:S,innerProps:{id:this.getElementId("placeholder")}}),I);if(g)return x.map(function(A,M){var R=A===y,k="".concat(r.getOptionLabel(A),"-").concat(r.getOptionValue(A));return G.createElement(o,F({},f,{components:{Container:u,Label:a,Remove:l},isFocused:R,isDisabled:p,key:k,index:M,removeProps:{onClick:function(){return r.removeValue(A)},onTouchEnd:function(){return r.removeValue(A)},onMouseDown:function(le){le.preventDefault()}},data:A}),r.formatOptionLabel(A,"value"))});if(b)return null;var P=x[0];return G.createElement(c,F({},f,{data:P,isDisabled:p}),this.formatOptionLabel(P,"value"))}},{key:"renderClearIndicator",value:function(){var r=this.getComponents(),s=r.ClearIndicator,o=this.commonProps,u=this.props,a=u.isDisabled,l=u.isLoading,c=this.state.isFocused;if(!this.isClearable()||!s||a||!this.hasValue()||l)return null;var d={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return G.createElement(s,F({},o,{innerProps:d,isFocused:c}))}},{key:"renderLoadingIndicator",value:function(){var r=this.getComponents(),s=r.LoadingIndicator,o=this.commonProps,u=this.props,a=u.isDisabled,l=u.isLoading,c=this.state.isFocused;if(!s||!l)return null;var d={"aria-hidden":"true"};return G.createElement(s,F({},o,{innerProps:d,isDisabled:a,isFocused:c}))}},{key:"renderIndicatorSeparator",value:function(){var r=this.getComponents(),s=r.DropdownIndicator,o=r.IndicatorSeparator;if(!s||!o)return null;var u=this.commonProps,a=this.props.isDisabled,l=this.state.isFocused;return G.createElement(o,F({},u,{isDisabled:a,isFocused:l}))}},{key:"renderDropdownIndicator",value:function(){var r=this.getComponents(),s=r.DropdownIndicator;if(!s)return null;var o=this.commonProps,u=this.props.isDisabled,a=this.state.isFocused,l={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return G.createElement(s,F({},o,{innerProps:l,isDisabled:u,isFocused:a}))}},{key:"renderMenu",value:function(){var r=this,s=this.getComponents(),o=s.Group,u=s.GroupHeading,a=s.Menu,l=s.MenuList,c=s.MenuPortal,d=s.LoadingMessage,f=s.NoOptionsMessage,h=s.Option,m=this.commonProps,p=this.state.focusedOption,g=this.props,b=g.captureMenuScroll,I=g.inputValue,v=g.isLoading,x=g.loadingMessage,y=g.minMenuHeight,S=g.maxMenuHeight,P=g.menuIsOpen,A=g.menuPlacement,M=g.menuPosition,R=g.menuPortalTarget,k=g.menuShouldBlockScroll,Y=g.menuShouldScrollIntoView,le=g.noOptionsMessage,se=g.onMenuScrollToTop,D=g.onMenuScrollToBottom;if(!P)return null;var W=function(ie,ge){var Ae=ie.type,ce=ie.data,Se=ie.isDisabled,be=ie.isSelected,dt=ie.label,sr=ie.value,En=p===ce,E=Se?void 0:function(){return r.onOptionHover(ce)},Dt=Se?void 0:function(){return r.selectOption(ce)},_e="".concat(r.getElementId("option"),"-").concat(ge),Tn={id:_e,onClick:Dt,onMouseMove:E,onMouseOver:E,tabIndex:-1,role:"option","aria-selected":r.isAppleDevice?void 0:be};return G.createElement(h,F({},m,{innerProps:Tn,data:ce,isDisabled:Se,isSelected:be,key:_e,label:dt,type:Ae,value:sr,isFocused:En,innerRef:En?r.getFocusedOptionRef:void 0}),r.formatOptionLabel(ie.data,"menu"))},ne;if(this.hasOptions())ne=this.getCategorizedOptions().map(function(J){if(J.type==="group"){var ie=J.data,ge=J.options,Ae=J.index,ce="".concat(r.getElementId("group"),"-").concat(Ae),Se="".concat(ce,"-heading");return G.createElement(o,F({},m,{key:ce,data:ie,options:ge,Heading:u,headingProps:{id:Se,data:J.data},label:r.formatGroupLabel(J.data)}),J.options.map(function(be){return W(be,"".concat(Ae,"-").concat(be.index))}))}else if(J.type==="option")return W(J,"".concat(J.index))});else if(v){var _=x({inputValue:I});if(_===null)return null;ne=G.createElement(d,m,_)}else{var xe=le({inputValue:I});if(xe===null)return null;ne=G.createElement(f,m,xe)}var me={minMenuHeight:y,maxMenuHeight:S,menuPlacement:A,menuPosition:M,menuShouldScrollIntoView:Y},ct=G.createElement(hm,F({},m,me),function(J){var ie=J.ref,ge=J.placerProps,Ae=ge.placement,ce=ge.maxHeight;return G.createElement(a,F({},m,me,{innerRef:ie,innerProps:{onMouseDown:r.onMenuMouseDown,onMouseMove:r.onMenuMouseMove},isLoading:v,placement:Ae}),G.createElement(zg,{captureEnabled:b,onTopArrive:se,onBottomArrive:D,lockEnabled:k},function(Se){return G.createElement(l,F({},m,{innerRef:function(dt){r.getMenuListRef(dt),Se(dt)},innerProps:{role:"listbox","aria-multiselectable":m.isMulti,id:r.getElementId("listbox")},isLoading:v,maxHeight:ce,focusedOption:p}),ne)}))});return R||M==="fixed"?G.createElement(c,F({},m,{appendTo:R,controlElement:this.controlRef,menuPlacement:A,menuPosition:M}),ct):ct}},{key:"renderFormField",value:function(){var r=this,s=this.props,o=s.delimiter,u=s.isDisabled,a=s.isMulti,l=s.name,c=s.required,d=this.state.selectValue;if(c&&!this.hasValue()&&!u)return G.createElement(Ug,{name:l,onFocus:this.onValueInputFocus});if(!(!l||u))if(a)if(o){var f=d.map(function(p){return r.getOptionValue(p)}).join(o);return G.createElement("input",{name:l,type:"hidden",value:f})}else{var h=d.length>0?d.map(function(p,g){return G.createElement("input",{key:"i-".concat(g),name:l,type:"hidden",value:r.getOptionValue(p)})}):G.createElement("input",{name:l,type:"hidden",value:""});return G.createElement("div",null,h)}else{var m=d[0]?this.getOptionValue(d[0]):"";return G.createElement("input",{name:l,type:"hidden",value:m})}}},{key:"renderLiveRegion",value:function(){var r=this.commonProps,s=this.state,o=s.ariaSelection,u=s.focusedOption,a=s.focusedValue,l=s.isFocused,c=s.selectValue,d=this.getFocusableOptions();return G.createElement(Bg,F({},r,{id:this.getElementId("live-region"),ariaSelection:o,focusedOption:u,focusedValue:a,isFocused:l,selectValue:c,focusableOptions:d,isAppleDevice:this.isAppleDevice}))}},{key:"render",value:function(){var r=this.getComponents(),s=r.Control,o=r.IndicatorsContainer,u=r.SelectContainer,a=r.ValueContainer,l=this.props,c=l.className,d=l.id,f=l.isDisabled,h=l.menuIsOpen,m=this.state.isFocused,p=this.commonProps=this.getCommonProps();return G.createElement(u,F({},p,{className:c,innerProps:{id:d,onKeyDown:this.onKeyDown},isDisabled:f,isFocused:m}),this.renderLiveRegion(),G.createElement(s,F({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:f,isFocused:m,menuIsOpen:h}),G.createElement(a,F({},p,{isDisabled:f}),this.renderPlaceholderOrValue(),this.renderInput()),G.createElement(o,F({},p,{isDisabled:f}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(r,s){var o=s.prevProps,u=s.clearFocusValueOnUpdate,a=s.inputIsHiddenAfterUpdate,l=s.ariaSelection,c=s.isFocused,d=s.prevWasFocused,f=s.instancePrefix,h=r.options,m=r.value,p=r.menuIsOpen,g=r.inputValue,b=r.isMulti,I=Da(m),v={};if(o&&(m!==o.value||h!==o.options||p!==o.menuIsOpen||g!==o.inputValue)){var x=p?cb(r,I):[],y=p?du(Sn(r,I),"".concat(f,"-option")):[],S=u?db(s,I):null,P=fb(s,x),A=rr(y,P);v={selectValue:I,focusedOption:P,focusedOptionId:A,focusableOptionsWithIds:y,focusedValue:S,clearFocusValueOnUpdate:!1}}var M=a!=null&&r!==o?{inputIsHidden:a,inputIsHiddenAfterUpdate:void 0}:{},R=l,k=c&&d;return c&&!k&&(R={value:An(b,I,I[0]||null),options:I,action:"initial-input-focus"},k=!d),(l==null?void 0:l.action)==="initial-input-focus"&&(R=null),V(V(V({},v),M),{},{prevProps:r,ariaSelection:R,prevWasFocused:k})}}]),n}(C.Component);vu.defaultProps=lb;var pb=C.forwardRef(function(t,e){var n=xh(t);return G.createElement(vu,F({ref:e},n))}),mb=pb;const lt=t=>{const{children:e,sx:n,...i}=t;return B.jsx("div",{className:pe.form,style:n,...i,children:e})},gb=lt,bb={menuPortal:t=>({...t,zIndex:"9999999999 !important"}),control:(t,e)=>({...t,background:e.isDisabled?"#e9ecef !important":"#fff!important",minHeight:"26px!important",boxShadow:e.isFocused?"0 0 0 2px rgba(0 125 250 / 30%)":null,borderColor:e.isFocused?"#0071e3":"#D6DBDF!important",fontSize:"12px!important",padding:"0px 0px 0px 6px!important",color:"#3f4254!important",borderRadius:"0px !important"}),valueContainer:t=>({...t,height:"26px!important",padding:"0 6px 0 2px!important"}),input:t=>({...t,margin:"0px!important",fontSize:"12px!important",color:"#3f4254"}),placeholder:t=>({...t,margin:"0px!important",fontSize:"12px!important",color:"#aeaeae !important"}),indicatorsContainer:t=>({...t,height:"26px!important"}),option:(t,e)=>({...t,backgroundColor:e.isSelected?"#50c6d0":e.isFocused?"#e6e7ea":null,color:e.isSelected?"#ffffff":(e.isFocused,"#3f4254"),fontSize:"12px!important",padding:"6px 12px 5px 12px!important",fontWeight:"400",fontFamily:"Poppins, Helvetica, 'sans-serif'",borderRadius:"2px !important"}),noOptionsMessage:t=>({...t,fontSize:"12px!important",padding:"5px 8px!important",color:"#3f4254!important"}),menu:t=>({...t,padding:"1px 4px",zIndex:"99999999",position:"absolute",borderRadius:"0px !important"})},vb=t=>{const{children:e,sx:n,...i}=t;return B.jsx("div",{className:pe["form-group"],style:n,...i,children:e})},yb=t=>{const{children:e,sx:n,...i}=t,r=C.Children.toArray(e).filter(a=>a.type.displayName==="biznext-ui-input-label"),s=C.Children.toArray(e).filter(a=>a.type.displayName==="biznext-ui-input-control"),o=C.Children.toArray(e).filter(a=>a.type.displayName==="biznext-ui-input-error-message"),u=o[0]&&o[0].props.children&&o[0].props.children.length>0;return B.jsxs("div",{className:wn(pe["form-input-group"],u&&pe["validation-error"]),style:n,...i,children:[r,B.jsxs("div",{className:pe["form-input-control-group"],children:[s,B.jsx("span",{className:pe["form-input-group-error-text"],children:o})]})]})},yu=t=>{const{required:e=!1,children:n,sx:i,...r}=t;return B.jsx("label",{className:wn(pe["form-input-group-label"],e&&pe.required),style:i,...r,children:n})},Iu=C.forwardRef((t,e)=>{const{controlType:n,focus:i,onFocus:r,sx:s,placeholder:o="",isSearchable:u=!0,isClearable:a=!0,...l}=t;let c=B.jsx(B.Fragment,{});const d=C.useRef(null);switch(C.useEffect(()=>{d.current&&d.current.focus()},[i]),C.useEffect(()=>{d.current&&d.current.focus()},[r]),n){case"input":c=B.jsx("input",{className:pe["form-input-control"],placeholder:o,ref:i?d:e,style:s,...l});break;case"select":c=B.jsx(mb,{styles:bb,className:pe["form-select-control"],classNamePrefix:"biznext-ui-",menuPortalTarget:document.body,menuPosition:"absolute",menuShouldScrollIntoView:!1,ref:i?d:e,placeholder:o?`Select ${o}`:"Select...",isSearchable:u,isClearable:a,noOptionsMessage:()=>"No Results Found!",...l});break;case"textarea":c=B.jsx("textarea",{className:pe["form-input-control"],placeholder:o,style:s,ref:i?d:e,...l});break;default:c=B.jsx(B.Fragment,{});break}return c}),Cu=t=>{const{children:e}=t;return e};yu.displayName="biznext-ui-input-label",Iu.displayName="biznext-ui-input-control",Cu.displayName="biznext-ui-input-error-message",lt.Group=vb,lt.InputGroup=yb,lt.Label=yu,lt.Control=Iu,lt.ErrorMessage=Cu,oe.BiznextUIProvider=Au,oe.Form=gb,oe.Modal=oh,oe.useConfirmDialog=mh,oe.useToast=hh,Object.defineProperty(oe,Symbol.toStringTag,{value:"Module"})});