@biznext-ui/react 0.3.2 → 0.3.4
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.es.js +4206 -4347
- package/dist/index.umd.js +8 -8
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.umd.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(oe,E){typeof exports=="object"&&typeof module<"u"?E(exports,require("react/jsx-runtime"),require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","react","react-dom"],E):(oe=typeof globalThis<"u"?globalThis:oe||self,E(oe["biznext-ui-react"]={},oe["react/jsx-runtime"],oe.React,oe.ReactDOM))})(this,function(oe,E,C,$e){"use strict";function Eu(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=Eu(C);function Tu(){return $e.createPortal(E.jsxs("div",{id:"biznext-ui-portal",children:[E.jsx("div",{id:"biznext-ui-modal-portal"}),E.jsx("div",{id:"biznext-ui-toast-portal"}),E.jsx("div",{id:"biznext-ui-confirm-dialog-portal"})]}),document.body)}var ur={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},lr=C.createContext&&C.createContext(ur),Vu=["attr","size","title"];function wu(t,e){if(t==null)return{};var n=Fu(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 Fu(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 cr(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 Lt(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?cr(Object(n),!0).forEach(function(i){Bu(t,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):cr(Object(n)).forEach(function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(n,i))})}return t}function Bu(t,e,n){return e=Gu(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Gu(t){var e=Mu(t,"string");return typeof e=="symbol"?e:e+""}function Mu(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 dr(t){return t&&t.map((e,n)=>C.createElement(e.tag,Lt({key:n},e.attr),dr(e.child)))}function fr(t){return e=>C.createElement(Du,Rt({attr:Lt({},t.attr)},e),dr(t.child))}function Du(t){var e=n=>{var{attr:i,size:r,title:s}=t,o=wu(t,Vu),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:Lt(Lt({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 lr!==void 0?C.createElement(lr.Consumer,null,n=>e(n)):e(ur)}function Nu(t){return fr({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:[]}]})(t)}const he={"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 Wu(t){const{children:e}=t,[n,i]=C.useState(!1);C.useEffect(()=>{i(!0)},[]);const r=document.getElementById("biznext-ui-confirm-dialog-portal");return n&&r?$e.createPortal(e,r):$e.createPortal(e,document.body)}function Ru(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var hr={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})()})(gr);var Lu=gr.exports;const tt=Nu(Lu);var br={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},vr=I.createContext&&I.createContext(br),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 yr(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?yr(Object(n),!0).forEach(function(i){Xu(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yr(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)=>I.createElement(t.tag,kt({key:n},t.attr),Ir(t.child)))}function Ye(e){return t=>I.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),I.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&&I.createElement("title",null,s),e.children)};return vr!==void 0?I.createElement(vr.Consumer,null,n=>t(n)):t(br)}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=I.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),zt=I.createContext({}),jt=I.createContext(null),Wn=typeof document<"u",Rn=Wn?I.useLayoutEffect:I.useEffect,Cr=I.createContext({strict:!1}),Yt=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),xr="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 Ar(e,t){let n=!1,i=!0;const r={delta:0,timestamp:0,isProcessing:!1},s=()=>n=!0,o=Jt.reduce((b,C)=>(b[C]=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,C)=>{const v=o[C];return b[C]=(x,y=!1,T=!1)=>(n||m(),v.schedule(x,y,T)),b},{}),cancel:b=>{for(let C=0;C<Jt.length;C++)o[Jt[C]].cancel(b)},state:r,steps:o}}const{schedule:On,cancel:q0}=Ar(queueMicrotask,!1);function nt(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}const Sr=I.createContext({});let Tr=!1;function Ku(e,t,n,i,r){const{visualElement:s}=I.useContext(zt),o=I.useContext(Cr),u=I.useContext(jt),a=I.useContext(Ln).reducedMotion,l=I.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=I.useContext(Sr);c&&!c.projection&&r&&(c.type==="html"||c.type==="svg")&&el(l.current,n,r,d),I.useInsertionEffect(()=>{c&&c.update(n,u)});const f=I.useRef(!!(n[xr]&&!window.HandoffComplete));return Rn(()=>{c&&(c.updateFeatures(),On.render(c.render),f.current&&c.animationState&&c.animationState.animateChanges())}),I.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:Er(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 Er(e){if(e)return e.options.allowProjection!==!1?e.projection:Er(e.parent)}function tl(e,t,n){return I.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 Pr(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,I.useContext(zt));return I.useMemo(()=>({initial:t,animate:n}),[Vr(t),Vr(n)])}function Vr(e){return Array.isArray(e)?e.join(" "):e}const wr={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 wr)it[e]={isEnabled:t=>wr[e].some(n=>!!t[n])};function rl(e){for(const t in e)it[t]={...it[t],...e[t]}}const Hn=I.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={...I.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=I.forwardRef(s);return o[sl]=r,o}function al({layoutId:e}){const t=I.useContext(Hn).id;return t&&e!==void 0?t+"-"+e:e}function ul(e,t){const n=I.useContext(Cr).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 It=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Oe=new Set(It);function Fr(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=It.length;function ml(e,t,n){let i="";for(let r=0;r<pl;r++){const s=It[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 Br=e=>t=>typeof t=="string"&&t.startsWith(e),Gr=Br("--"),gl=Br("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},Ct={...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,Il=/^(?:#[\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 Cl(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"),Ce=St("%"),F=St("px"),xl=St("vh"),Al=St("vw"),Mr={...Ce,parse:e=>Ce.parse(e)/100,transform:e=>Ce.transform(e*100)},Dr={...st,transform:Math.round},Nr={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:Ct,originX:Mr,originY:Mr,originZ:F,zIndex:Dr,backgroundPositionX:F,backgroundPositionY:F,fillOpacity:Ct,strokeOpacity:Ct,numOctaves:Dr};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(Gr(c)){r[c]=d;continue}const f=Nr[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 Lr(e,t,n){for(const i in t)!ee(t[i])&&!Fr(i,n)&&(e[i]=t[i])}function Sl({transformTemplate:e},t){return I.useMemo(()=>{const n=Jn();return Yn(n,t,e),Object.assign({},n.vars,n.style)},[t])}function Tl(e,t){const n=e.style||{},i={};return Lr(i,n,e),Object.assign(i,Sl(e,t)),i}function El(e,t){const n={},i=Tl(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 Wr=e=>!$t(e);function Vl(e){e&&(Wr=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"||(Wr(r)||n===!0&&$t(r)||!t&&!$t(r)||e.draggable&&r.startsWith("onDrag"))&&(i[r]=e[r]);return i}function Rr(e,t,n){return typeof e=="string"?e:F.transform(t+n*e)}function Fl(e,t,n){const i=Rr(t,e.x,e.width),r=Rr(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 Or=()=>({...Jn(),attrs:{}}),_n=e=>typeof e=="string"&&e.toLowerCase()==="svg";function Dl(e,t,n,i){const r=I.useMemo(()=>{const s=Or();return Un(s,t,_n(i),e.transformTemplate),{...s.attrs,style:{...s.style}}},[t]);if(e.style){const s={};Lr(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:El)(i,s,o,n),l=wl(i,typeof n=="string",e),c=n!==I.Fragment?{...l,...a,ref:r}:{},{children:d}=i,f=I.useMemo(()=>ee(d)?d.get():d,[d]);return I.createElement(n,{...c,children:f})}}function Xr(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 Zr=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 Hr(e,t,n,i){Xr(e,t,void 0,i);for(const r in t.attrs)e.setAttribute(Zr.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])||Fr(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 kr(e,t,n){const i=Qn(e,t,n);for(const r in e)if(ee(e[r])||ee(t[r])){const s=It.indexOf(r)!==-1?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r;i[s]=e[r]}return i}function zr(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]=zr(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]=zr(i);t=t(n!==void 0?n:e.custom,r,s)}return t}function jr(e){const t=I.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 Yr=new Set(["opacity","clipPath","filter","transform"]);function Jr(e){if(Oe.has(e))return"transform";if(Yr.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 Ur=e=>(t,n)=>{const i=I.useContext(zt),r=I.useContext(jt),s=()=>Rl(e,t,i,r,n);return n?s():jr(s)};function Ol(e,t){const n=Jr(t);n&&qt(e,n)}function _r(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=Pr(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)&&_r(e,p,(g,b)=>{for(const C in g){let v=g[C];if(Array.isArray(v)){const x=m?v.length-1:0;v=v[x]}v!==null&&(o[C]=v)}for(const C in b)o[C]=b[C]}),a&&(d&&c!==!1&&!yt(d)&&_r(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}=Ar(typeof requestAnimationFrame<"u"?requestAnimationFrame:Q,!0),Zl={useVisualState:Ur({scrapeMotionValuesFromProps:kr,createRenderState:Or,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),Hr(t,n)})}})},Hl={useVisualState:Ur({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 Qr=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=>Qr(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 $r(e){let t=null;return()=>{const n=()=>{t=null};return t===null?(t=e,n):!1}}const Kr=$r("dragHorizontal"),qr=$r("dragVertical");function es(e){let t=!1;if(e==="y")t=qr();else if(e==="x")t=Kr();else{const n=Kr(),i=qr();n&&i?t=()=>{n(),i()}:(n&&n(),i&&i())}return t}function ts(){const e=es(!0);return e?(e(),!1):!0}class He{constructor(t){this.isMounted=!1,this.node=t}update(){}}function ns(e,t){const n=t?"pointerenter":"pointerleave",i=t?"onHoverStart":"onHoverEnd",r=(s,o)=>{if(s.pointerType==="touch"||ts())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(ns(this.node,!0),ns(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 is=(e,t)=>t?e===t?!0:is(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&&!is(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),!ts()}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 rs(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)}},ss=e=>/^0[^.\s]+$/u.test(e);function dc(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||ss(e):!0}const os=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 as(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 os(o)?parseFloat(o):o}return zn(r)?as(r,t,n+1):r}const mc=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),us=e=>e===st||e===F,ls=(e,t)=>parseFloat(e.split(", ")[t]),cs=(e,t)=>(n,{transform:i})=>{if(i==="none"||!i)return 0;const r=i.match(/^matrix3d\((.+)\)$/u);if(r)return ls(r[1],t);{const s=i.match(/^matrix\((.+)\)$/u);return s?ls(s[1],e):0}},gc=new Set(["x","y","z"]),bc=It.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:cs(4,13),y:cs(5,14)};ot.translateX=ot.x,ot.translateY=ot.y;const ds=e=>t=>t.test(e),fs=[st,F,Ce,Ze,Al,xl,{test:e=>e==="auto",parse:e=>e}],hs=e=>fs.find(ds(e)),Je=new Set;let ri=!1,si=!1;function ps(){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 ms(){Je.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(si=!0)})}function yc(){ms(),ps()}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(ms),O.resolveKeyframes(ps))):(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)&&Il.test(n)&&n.startsWith(e)||t&&!Cl(n)&&Object.prototype.hasOwnProperty.call(n,t)),gs=(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}},Ic=e=>Xe(0,255,e),ui={...st,transform:e=>Math.round(Ic(e))},Ue={test:ai("rgb","red"),parse:gs("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:i=1})=>"rgba("+ui.transform(e)+", "+ui.transform(t)+", "+ui.transform(n)+", "+xt(Ct.transform(i))+")"};function Cc(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:Cc,transform:Ue.transform},at={test:ai("hsl","hue"),parse:gs("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:i=1})=>"hsla("+Math.round(e)+", "+Ce.transform(xt(t))+", "+Ce.transform(xt(n))+", "+xt(Ct.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 bs="number",vs="color",Ac="var",Sc="var(",ys="${}",Tc=/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 Tt(e){const t=e.toString(),n=[],i={color:[],number:[],var:[]},r=[];let s=0;const u=t.replace(Tc,a=>(te.test(a)?(i.color.push(s),r.push(vs),n.push(te.parse(a))):a.startsWith(Sc)?(i.var.push(s),r.push(Ac),n.push(a)):(i.number.push(s),r.push(bs),n.push(parseFloat(a))),++s,ys)).split(ys);return{values:n,split:u,indexes:i,types:r}}function Is(e){return Tt(e).values}function Cs(e){const{split:t,types:n}=Tt(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===bs?s+=xt(r[o]):u===vs?s+=te.transform(r[o]):s+=r[o]}return s}}const Ec=e=>typeof e=="number"?0:e;function Pc(e){const t=Is(e);return Cs(e)(t.map(Ec))}const ze={test:xc,parse:Is,createTransformer:Cs,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={...Nr,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 xs(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)&&Tt(s).values.length&&(r=e[i]),i++}if(r&&n)for(const s of t)e[s]=xs(n,r)}class As 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=as(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=hs(r),u=hs(s);if(o!==u)if(us(o)&&us(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 Ss(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 Es{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 Ps(e,t){return t?e*(1e3/t):0}const Lc=5;function Vs(e,t,n){const i=Math.max(t-Lc,0);return Ps(n-e(i),t-i)}const fi=.001,Wc=.01,ws=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(ws),"Spring duration must be 10 seconds or less");let o=1-t;o=Xe(Rc,Oc,o),e=Xe(Wc,ws,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 Fs(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(!Fs(e,zc)&&Fs(e,kc)){const n=Xc(e);t={...t,...n,mass:1},t.isResolvedFromDuration=!0}return t}function Bs({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 C;if(m<1){const v=hi(g,m);C=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)C=v=>s-Math.exp(-g*v)*(p+(h+g*p)*v);else{const v=g*Math.sqrt(m*m-1);C=x=>{const y=Math.exp(-m*g*x),T=Math.min(v*x,300);return s-y*((h+m*g*p)*Math.sinh(T)+v*p*Math.cosh(T))/v}}return{calculatedDuration:f&&c||null,next:v=>{const x=C(v);if(f)o.done=v>=c;else{let y=h;v!==0&&(m<1?y=Vs(C,v,x):y=0);const T=Math.abs(y)<=n,E=Math.abs(s-x)<=t;o.done=T&&E}return o.value=o.done?s:x,o}}}function Gs({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 C=S=>-p*Math.exp(-S/i),v=S=>b+C(S),x=S=>{const M=C(S),N=v(S);f.done=Math.abs(M)<=l,f.value=f.done?b:N};let y,T;const E=S=>{h(f.value)&&(y=S,T=Bs({keyframes:[f.value,m(f.value)],velocity:Vs(v,S,f.value),damping:r,stiffness:s,restDelta:l,restSpeed:c}))};return E(0),{calculatedDuration:null,next:S=>{let M=!1;return!T&&y===void 0&&(M=!0,x(S),E(S)),y!==void 0&&S>=y?T.next(S-y):(!M&&x(S),f)}}}const Ms=(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=Ms(o,i,r)-e,s>0?n=o:t=o;while(Math.abs(s)>Yc&&++u<Jc);return o}function Et(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:Ms(r(s),t,i)}const _c=Et(.42,0,1,1),Qc=Et(0,0,.58,1),Ds=Et(.42,0,.58,1),$c=e=>Array.isArray(e)&&typeof e[0]!="number",Ns=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Ls=e=>t=>1-e(1-t),pi=e=>1-Math.sin(Math.acos(e)),Ws=Ls(pi),Kc=Ns(pi),Rs=Et(.33,1.53,.69,.99),mi=Ls(Rs),qc=Ns(mi),Os={linear:Q,easeIn:_c,easeInOut:Ds,easeOut:Qc,circIn:pi,circInOut:Kc,circOut:Ws,backIn:mi,backInOut:qc,backOut:Rs,anticipate:e=>(e*=2)<1?.5*mi(e):.5*(2-Math.pow(2,-10*(e-1)))},Xs=e=>{if(Array.isArray(e)){Ve(e.length===4,"Cubic bezier arrays must contain four numerical values.");const[t,n,i,r]=e;return Et(t,n,i,r)}else if(typeof e=="string")return Ve(Os[e]!==void 0,`Invalid easing type '${e}'`),Os[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 Zs(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 Hs=(e,t)=>{const n=Zs(e),i=Zs(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)?Hs:ad:Array.isArray(e)?ks:typeof e=="object"?te.test(e)?Hs:sd:on}function ks(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=Tt(e),r=Tt(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(ks(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 zs(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||zs,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||Ds).splice(0,e.length-1)}function an({duration:e=300,keyframes:t,times:n,ease:i="easeInOut"}){const r=$c(i)?i.map(Xs):Xs(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 js=2e4;function pd(e){let t=0;const n=50;let i=e.next(t);for(;!i.done&&t<js;)t+=n,i=e.next(t);return t>=js?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:Gs,inertia:Gs,tween:an,keyframes:an,spring:Bs},bd=e=>e/100;class Ii extends Es{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,zs(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),C=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=C?{done:!1,value:a[0]}:x.next(v);u&&(y.value=u(y.value));let{done:T}=y;!C&&l!==null&&(T=this.speed>=0?this.currentTime>=c:this.currentTime<=0);const E=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&T);return E&&r!==void 0&&(y.value=rn(a,this.options,r)),g&&g(y.value),E&&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 Ys=e=>Array.isArray(e)&&typeof e[0]=="number";function Js(e){return!!(!e||typeof e=="string"&&e in Ci||Ys(e)||Array.isArray(e)&&e.every(Js))}const Vt=([e,t,n,i])=>`cubic-bezier(${e}, ${t}, ${n}, ${i})`,Ci={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 Us(e)||Ci.easeOut}function Us(e){if(e)return Ys(e)?Vt(e):Array.isArray(e)?e.map(vd):Ci[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=Us(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 Id=Ss(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),un=10,Cd=2e4;function xd(e){return e.type==="spring"||!Js(e.ease)}function Ad(e,t){const n=new Ii({...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<Cd;)i=n.sample(s),r.push(i.value),s+=un;return{times:void 0,keyframes:r,duration:s-un,ease:"linear"}}class _s extends Es{constructor(t){super(t);const{name:n,motionValue:i,keyframes:r}=this.options;this.resolver=new As(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 Ii({...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 Id()&&i&&Yr.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 Td=Ss(()=>window.ScrollTimeline!==void 0);class Ed{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(Td()&&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 Ed([])}return!s&&_s.supports(d)?new _s(d):new Ii(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 Qs=new Set;function Si(e,t,n){e||Qs.has(t)||(console.warn(t),Qs.add(t))}const $s=30,Pd=e=>!isNaN(parseFloat(e));class Ks{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>$s)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,$s);return Ps(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 Ks(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 qs(e){return e.getProps()[xr]}class Fd extends Ks{constructor(){super(...arguments),this.output=[],this.counts=new Map}add(t){const n=Jr(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 Ti(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 eo(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=qs(e);if(b){const C=window.HandoffAppearAnimations(b,d,f,O);C!==null&&(m.elapsed=C,p=!0)}}f.start(xi(d,f,h,e.shouldReduceMotion&&Oe.has(d)?{type:!1}:m,e,p,Ti(e,d)));const g=f.animation;g&&l.push(g)}return u&&Promise.all(l).then(()=>{O.update(()=>{u&&wd(e,u)})}),l}function Ei(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(eo(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(Ei(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=>Ei(e,s,n));i=Promise.all(r)}else if(typeof t=="string")i=Ei(e,t,n);else{const r=typeof t=="function"?nn(e,t,n.custom):t;i=Promise.all(eo(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=to(),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],C=n[b],v=l[b]!==void 0?l[b]:c[b],x=vt(v),y=b===a?C.isActive:null;y===!1&&(m=g);let T=v===c[b]&&v!==l[b]&&x;if(T&&i&&e.manuallyAnimateOnMount&&(T=!1),C.protectedKeys={...h},!C.isActive&&y===null||!v&&!C.prevProp||yt(v)||typeof v=="boolean")continue;let S=Xd(C.prevProp,v)||b===a&&C.isActive&&!T&&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={}}=C,ce={...Y,...k},oe=D=>{S=!0,f.has(D)&&(M=!0,f.delete(D)),C.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)?_=!rs(R,ie):_=R!==ie,_?R!=null?oe(D):f.add(D):R!==void 0&&f.has(D)?oe(D):C.protectedKeys[D]=!0}C.prevProp=v,C.prevResolvedValues=k,C.isActive&&(h={...h,...k}),i&&e.blockInitialAnimation&&(S=!1),S&&(!T||M)&&d.push(...N.map(D=>({animation:D,options:{type:b}})))}if(f.size){const g={};f.forEach(b=>{const C=e.getBaseTarget(b),v=e.getValue(b);v&&(v.liveStyle=!0),g[b]=C??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=to(),i=!0}}}function Xd(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!rs(t,e):!1}function _e(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function to(){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}},no=(e,t)=>Math.abs(e-t);function jd(e,t){const n=no(e.x,t.x),i=no(e.y,t.y);return Math.sqrt(n**2+i**2)}class io{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)},!Qr(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 ro(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Vi({point:e},t){return{point:e,delta:ro(e,so(t)),offset:ro(e,Yd(t)),velocity:Jd(t,.1)}}function Yd(e){return e[0]}function so(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=so(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 oo=1e-4,Ud=1-oo,_d=1+oo,ao=.01,Qd=0-ao,$d=0+ao;function ue(e){return e.max-e.min}function Kd(e,t,n){return Math.abs(e-t)<=n}function uo(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){uo(e.x,t.x,n.x,i?i.originX:void 0),uo(e.y,t.y,n.y,i?i.originY:void 0)}function lo(e,t,n){e.min=n.min+t.min,e.max=e.min+ue(t)}function qd(e,t,n){lo(e.x,t.x,n.x),lo(e.y,t.y,n.y)}function co(e,t,n){e.min=t.min-n.min,e.max=e.min+ue(t)}function Bt(e,t,n){co(e.x,t.x,n.x),co(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 fo(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:fo(e.x,n,r),y:fo(e.y,t,i)}}function ho(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:ho(e.x,t.x),y:ho(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:po(e,"left","right"),y:po(e,"top","bottom")}}function po(e,t,n){return{min:mo(e,t),max:mo(e,n)}}function mo(e,t){return typeof e=="number"?e:e[t]||0}const go=()=>({translate:0,scale:1,origin:0,originPoint:0}),ut=()=>({x:go(),y:go()}),bo=()=>({min:0,max:0}),j=()=>({x:bo(),y:bo()});function fe(e){return[e("x"),e("y")]}function vo({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)||yo(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function yo(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 Co(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=Co(e.min,t,n,i,r),e.max=Co(e.max,t,n,i,r)}function xo(e,{x:t,y:n}){Gi(e.x,t.translate,t.scale,t.originPoint),Gi(e.y,n.translate,n.scale,n.originPoint)}const Ao=.999999999999,So=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&<(e,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),o&&(t.x*=o.x.scale,t.y*=o.y.scale,xo(e,o)),i&&Qe(s.latestValues)&<(e,s.latestValues))}t.x<So&&t.x>Ao&&(t.x=1),t.y<So&&t.y>Ao&&(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 Eo(e,t){return vo(uf(e.getBoundingClientRect(),t))}function cf(e,t,n){const i=Eo(e,n),{scroll:r}=t;return r&&(je(i.x,r.offset.x),je(i.y,r.offset.y)),i}const Po=({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=es(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 C=this.getAxisMotionValue(b).get()||0;if(Ce.test(C)){const{projection:v}=this.visualElement;if(v&&v.layout){const x=v.layout.layoutBox[b];x&&(C=ue(x)*(parseFloat(C)/100))}}this.originPoint[b]=C}),p&&O.postRender(()=>p(c,d)),(f=this.removeWillChange)===null||f===void 0||f.call(this),this.removeWillChange=Ti(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 io(t,{onSessionStart:r,onStart:s,onMove:o,onSessionEnd:u,resumeAnimation:a},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:l,contextWindow:Po(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=vo(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,Ti(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 Vo=e=>(t,n)=>{e&&O.postRender(()=>e(t,n))};class mf extends He{constructor(){super(...arguments),this.removePointerDownListener=Q}onPointerDown(t){this.session=new io(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Po(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:i,onPanEnd:r}=this.node.getProps();return{onSessionStart:Vo(t),onStart:Vo(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=I.useContext(jt);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:n,register:i}=e,r=I.useId();return I.useEffect(()=>i(r),[]),!t&&n?[!1,()=>n&&n(r)]:[!0]}const dn={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function wo(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=wo(e,t.target.x),i=wo(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 I.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 Fo(e){const[t,n]=gf(),i=I.useContext(Hn);return A.jsx(vf,{...e,layoutGroup:i,switchLayoutGroup:I.useContext(Sr),isPresent:t,safeToRemove:n})}const yf={borderRadius:{...Gt,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Gt,borderTopRightRadius:Gt,borderBottomLeftRadius:Gt,borderBottomRightRadius:Gt,boxShadow:bf},Bo=["TopLeft","TopRight","BottomLeft","BottomRight"],If=Bo.length,Go=e=>typeof e=="string"?parseFloat(e):e,Mo=e=>typeof e=="number"||F.test(e);function Cf(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<If;o++){const u=`border${Bo[o]}Radius`;let a=Do(t,u),l=Do(n,u);if(a===void 0&&l===void 0)continue;a||(a=0),l||(l=0),a===0||l===0||Mo(a)===Mo(l)?(e[u]=Math.max(H(Go(a),Go(l),i),0),(Ce.test(l)||Ce.test(a))&&(e[u]+="%")):e[u]=l}(t.rotate||n.rotate)&&(e.rotate=H(t.rotate||0,n.rotate||0,i))}function Do(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const xf=No(0,.5,Ws),Af=No(.5,.95,Q);function No(e,t,n){return i=>i<e?0:i>t?1:n(Pt(e,t,i))}function Lo(e,t){e.min=t.min,e.max=t.max}function he(e,t){Lo(e.x,t.x),Lo(e.y,t.y)}function Wo(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function Ro(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(Ce.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=Ro(e.min,t,n,u,r),e.max=Ro(e.max,t,n,u,r)}function Oo(e,t,[n,i,r],s,o){Sf(e,t[n],t[i],t[r],t.scale,s,o)}const Tf=["x","scaleX","originX"],Ef=["y","scaleY","originY"];function Xo(e,t,n,i){Oo(e.x,t,Tf,n?n.x:void 0,i?i.x:void 0),Oo(e.y,t,Ef,n?n.y:void 0,i?i.y:void 0)}function Zo(e){return e.translate===0&&e.scale===1}function Ho(e){return Zo(e.x)&&Zo(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 ko(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 zo(e){return ue(e.x)/ue(e.y)}function jo(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"},Yo=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 Jo(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return!1;const{visualElement:t}=e.options;return t?qs(t)?!0:e.parent&&!e.parent.hasCheckedOptimisedAppear?Jo(e.parent):!1:!1}function Uo({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(Qo))})}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(),C=!this.targetLayout||!ko(this.targetLayout,m)||h,v=!f&&h;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||v||f&&(C||!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||Qo(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&&Jo(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(_o);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&&!Ho(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&<(a,{x:-c.scroll.offset.x,y:-c.scroll.offset.y}),Qe(c.latestValues)&<(a,c.latestValues)}return Qe(this.latestValues)&<(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),Xo(u,l.latestValues,l.snapshot?l.snapshot.layoutBox:void 0,c)}return Qe(this.latestValues)&&Xo(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),xo(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)||yo(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():(Wo(this.prevProjectionDelta.x,this.projectionDelta.x),Wo(this.prevProjectionDelta.y,this.projectionDelta.y)),Ft(this.projectionDelta,this.layoutCorrected,m,this.latestValues),(this.treeScale.x!==f||this.treeScale.y!==h||!jo(this.projectionDelta.x,this.prevProjectionDelta.x)||!jo(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,C=!!(p&&!b&&this.options.crossfade===!0&&!this.path.some(_f));this.animationProgress=0;let v;this.mixTargetDelta=x=>{const y=x/1e3;$o(d.x,o.x,y),$o(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,Cf(c,l,this.latestValues,y,C,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,Yo,{...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(Yo),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&&na(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],C=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]]=C}else l[p]=C}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(_o),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}):na(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=!Ho(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),ko(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 _o(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 Qo(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 $o(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 Ko(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){Ko(e.x,t.x,n.x,i),Ko(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]},qo=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),ea=qo("applewebkit/")&&!qo("chrome/")?Math.round:Q;function ta(e){e.min=ea(e.min),e.max=ea(e.max)}function $f(e){ta(e.x),ta(e.y)}function na(e,t,n){return e==="position"||e==="preserve-aspect"&&!Kd(zo(t),zo(n),.2)}const Kf=Uo({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},ia=Uo({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:ia,MeasureLayout:Fo}},Li={current:null},ra={current:!1};function eh(){if(ra.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 sa=new WeakMap,nh=[...fs,te,ze],ih=e=>nh.find(ds(e)),oa=["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=Pr(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,sa.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)),ra.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(){sa.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<oa.length;i++){const r=oa[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"&&(os(r)||ss(r))?r=parseFloat(r):!ih(r)&&ze.test(n)&&(r=xs(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 aa extends sh{constructor(){super(...arguments),this.KeyframeResolver=As}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 aa{constructor(){super(...arguments),this.type="html",this.applyWillChange=!0,this.renderInstance=Xr}readValueFromInstance(t,n){if(Oe.has(n)){const i=di(n);return i&&i.default||0}else{const i=oh(t),r=(Gr(n)?i.getPropertyValue(n):i[n])||0;return typeof r=="string"?r.trim():r}}measureInstanceViewportBox(t,{transformPagePoint:n}){return Eo(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 aa{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=Zr.has(n)?n:Yt(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,i){return kr(t,n,i)}build(t,n,i){Un(t,n,this.isSVGTag,i.transformTemplate)}renderInstance(t,n,i,r){Hr(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!==I.Fragment}),ch={...zd,...nc,...qf,...{layout:{ProjectionNode:ia,MeasureLayout:Fo}}},Mt=cl((e,t)=>kl(e,t,ch,lh));function ua(){const e=I.useRef(!1);return Rn(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function dh(){const e=ua(),[t,n]=I.useState(0),i=I.useCallback(()=>{e.current&&n(t+1)},[t]);return[I.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=I.useId(),i=I.useRef(null),r=I.useRef({width:0,height:0,top:0,left:0}),{nonce:s}=I.useContext(Ln);return I.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})()})(hr);var Lu=hr.exports;const Ot=Ru(Lu),Gn=C.createContext({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"}),Xt=C.createContext({}),Zt=C.createContext(null),Mn=typeof document<"u",Dn=Mn?C.useLayoutEffect:C.useEffect,pr=C.createContext({strict:!1}),Ht=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),mr="data-"+Ht("framerAppearId"),Ou={skipAnimations:!1,useManualTiming:!1};function Xu(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 kt=["read","resolveKeyframes","update","preRender","render","postRender"],Zu=40;function gr(t,e){let n=!1,i=!0;const r={delta:0,timestamp:0,isProcessing:!1},s=()=>n=!0,o=kt.reduce((b,I)=>(b[I]=Xu(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,Zu),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:kt.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<kt.length;I++)o[kt[I]].cancel(b)},state:r,steps:o}}const{schedule:Nn,cancel:Fb}=gr(queueMicrotask,!1);function Ke(t){return t&&typeof t=="object"&&Object.prototype.hasOwnProperty.call(t,"current")}const br=C.createContext({});let vr=!1;function Hu(t,e,n,i,r){const{visualElement:s}=C.useContext(Xt),o=C.useContext(pr),u=C.useContext(Zt),a=C.useContext(Gn).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(br);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[mr]&&!window.HandoffComplete));return Dn(()=>{c&&(c.updateFeatures(),Nn.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,vr||(vr=!0,queueMicrotask(ku))))}),c}function ku(){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:yr(t.parent)),t.projection.setOptions({layoutId:r,layout:s,alwaysMeasureLayout:!!o||u&&Ke(u),visualElement:t,scheduleRender:()=>t.scheduleRender(),animationType:typeof s=="string"?s:"both",initialPromotionConfig:i,layoutScroll:a,layoutRoot:l})}function yr(t){if(t)return t.options.allowProjection!==!1?t.projection:yr(t.parent)}function ju(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):Ke(n)&&(n.current=i))},[e])}function pt(t){return typeof t=="string"||Array.isArray(t)}function mt(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}const Wn=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Rn=["initial",...Wn];function zt(t){return mt(t.animate)||Rn.some(e=>pt(t[e]))}function Ir(t){return!!(zt(t)||t.variants)}function Yu(t,e){if(zt(t)){const{initial:n,animate:i}=t;return{initial:n===!1||pt(n)?n:void 0,animate:pt(i)?i:void 0}}return t.inherit!==!1?e:{}}function Ju(t){const{initial:e,animate:n}=Yu(t,C.useContext(Xt));return C.useMemo(()=>({initial:e,animate:n}),[Cr(e),Cr(n)])}function Cr(t){return Array.isArray(t)?t.join(" "):t}const xr={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"]},qe={};for(const t in xr)qe[t]={isEnabled:e=>xr[t].some(n=>!!e[n])};function Uu(t){for(const e in t)qe[e]={...qe[e],...t[e]}}const Ln=C.createContext({}),_u=Symbol.for("motionComponentSymbol"),Q=t=>t;let et=Q,Ee=Q;process.env.NODE_ENV!=="production"&&(et=(t,e)=>{!t&&typeof console<"u"&&console.warn(e)},Ee=(t,e)=>{if(!t)throw new Error(e)});function Qu({preloadedFeatures:t,createVisualElement:e,useRender:n,useVisualState:i,Component:r}){t&&Uu(t);function s(u,a){let l;const c={...C.useContext(Gn),...u,layoutId:$u(u)},{isStatic:d}=c,f=Ju(u),h=i(u,d);if(!d&&Mn){Ku(c,t);const m=qu(c);l=m.MeasureLayout,f.visualElement=Hu(r,h,c,e,m.ProjectionNode)}return E.jsxs(Xt.Provider,{value:f,children:[l&&f.visualElement?E.jsx(l,{visualElement:f.visualElement,...c}):null,n(r,u,ju(h,f.visualElement,a),h,d,f.visualElement)]})}const o=C.forwardRef(s);return o[_u]=r,o}function $u({layoutId:t}){const e=C.useContext(Ln).id;return e&&t!==void 0?e+"-"+t:t}function Ku(t,e){const n=C.useContext(pr).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?et(!1,i):Ee(!1,i)}}function qu(t){const{drag:e,layout:n}=qe;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 el(t){function e(i,r={}){return Qu(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 tl=["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 On(t){return typeof t!="string"||t.includes("-")?!1:!!(tl.indexOf(t)>-1||/[A-Z]/u.test(t))}const jt={};function nl(t){Object.assign(jt,t)}const gt=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],We=new Set(gt);function Ar(t,{layout:e,layoutId:n}){return We.has(t)||t.startsWith("origin")||(e||n!==void 0)&&(!!jt[t]||t==="opacity")}const q=t=>!!(t&&t.getVelocity),il={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},rl=gt.length;function sl(t,e,n){let i="";for(let r=0;r<rl;r++){const s=gt[r];if(t[s]!==void 0){const o=il[s]||s;i+=`${o}(${t[s]}) `}}return i=i.trim(),n?i=n(t,e?"":i):e&&(i="none"),i}const Sr=t=>e=>typeof e=="string"&&e.startsWith(t),Pr=Sr("--"),ol=Sr("var(--"),Xn=t=>ol(t)?al.test(t.split("/*")[0].trim()):!1,al=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,ul=(t,e)=>e&&typeof t=="number"?e.transform(t):t,Re=(t,e,n)=>n>e?e:n<t?t:n,tt={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},bt={...tt,transform:t=>Re(0,1,t)},Yt={...tt,default:1},vt=t=>Math.round(t*1e5)/1e5,Zn=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,ll=/(?:#[\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 yt(t){return typeof t=="string"}function dl(t){return t==null}const It=t=>({test:e=>yt(e)&&e.endsWith(t)&&e.split(" ").length===1,parse:parseFloat,transform:e=>`${e}${t}`}),Le=It("deg"),ye=It("%"),F=It("px"),fl=It("vh"),hl=It("vw"),Er={...ye,parse:t=>ye.parse(t)/100,transform:t=>ye.transform(t*100)},Tr={...tt,transform:Math.round},Vr={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:Le,rotateX:Le,rotateY:Le,rotateZ:Le,scale:Yt,scaleX:Yt,scaleY:Yt,scaleZ:Yt,skew:Le,skewX:Le,skewY:Le,distance:F,translateX:F,translateY:F,translateZ:F,x:F,y:F,z:F,perspective:F,transformPerspective:F,opacity:bt,originX:Er,originY:Er,originZ:F,zIndex:Tr,backgroundPositionX:F,backgroundPositionY:F,fillOpacity:bt,strokeOpacity:bt,numOctaves:Tr};function Hn(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(Pr(c)){r[c]=d;continue}const f=Vr[c],h=ul(d,f);if(We.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=sl(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 kn=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function wr(t,e,n){for(const i in e)!q(e[i])&&!Ar(i,n)&&(t[i]=e[i])}function pl({transformTemplate:t},e){return C.useMemo(()=>{const n=kn();return Hn(n,e,t),Object.assign({},n.vars,n.style)},[e])}function ml(t,e){const n=t.style||{},i={};return wr(i,n,t),Object.assign(i,pl(t,e)),i}function gl(t,e){const n={},i=ml(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 bl=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 Jt(t){return t.startsWith("while")||t.startsWith("drag")&&t!=="draggable"||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||bl.has(t)}let Fr=t=>!Jt(t);function vl(t){t&&(Fr=e=>e.startsWith("on")?!Jt(e):t(e))}try{vl(require("@emotion/is-prop-valid").default)}catch{}function yl(t,e,n){const i={};for(const r in t)r==="values"&&typeof t.values=="object"||(Fr(r)||n===!0&&Jt(r)||!e&&!Jt(r)||t.draggable&&r.startsWith("onDrag"))&&(i[r]=t[r]);return i}function Br(t,e,n){return typeof t=="string"?t:F.transform(e+n*t)}function Il(t,e,n){const i=Br(e,t.x,t.width),r=Br(n,t.y,t.height);return`${i} ${r}`}const Cl={offset:"stroke-dashoffset",array:"stroke-dasharray"},xl={offset:"strokeDashoffset",array:"strokeDasharray"};function Al(t,e,n=1,i=0,r=!0){t.pathLength=1;const s=r?Cl:xl;t[s.offset]=F.transform(-i);const o=F.transform(e),u=F.transform(n);t[s.array]=`${o} ${u}`}function zn(t,{attrX:e,attrY:n,attrScale:i,originX:r,originY:s,pathLength:o,pathSpacing:u=1,pathOffset:a=0,...l},c,d){if(Hn(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=Il(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&&Al(f,o,u,a,!1)}const Gr=()=>({...kn(),attrs:{}}),jn=t=>typeof t=="string"&&t.toLowerCase()==="svg";function Sl(t,e,n,i){const r=C.useMemo(()=>{const s=Gr();return zn(s,e,jn(i),t.transformTemplate),{...s.attrs,style:{...s.style}}},[e]);if(t.style){const s={};wr(s,t.style,t),r.style={...s,...r.style}}return r}function Pl(t=!1){return(n,i,r,{latestValues:s},o)=>{const a=(On(n)?Sl:gl)(i,s,o,n),l=yl(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 Mr(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 Dr=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 Nr(t,e,n,i){Mr(t,e,void 0,i);for(const r in e.attrs)t.setAttribute(Dr.has(r)?r:Ht(r),e.attrs[r])}function Yn(t,e,n){var i;const{style:r}=t,s={};for(const o in r)(q(r[o])||e.style&&q(e.style[o])||Ar(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 Wr(t,e,n){const i=Yn(t,e,n);for(const r in t)if(q(t[r])||q(e[r])){const s=gt.indexOf(r)!==-1?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r;i[s]=t[r]}return i}function Rr(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]=Rr(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]=Rr(i);e=e(n!==void 0?n:t.custom,r,s)}return e}function Lr(t){const e=C.useRef(null);return e.current===null&&(e.current=t()),e.current}const Un=t=>Array.isArray(t),El=t=>!!(t&&typeof t=="object"&&t.mix&&t.toValue),Tl=t=>Un(t)?t[t.length-1]||0:t;function Ut(t){const e=q(t)?t.get():t;return El(e)?e.toValue():e}const Or=new Set(["opacity","clipPath","filter","transform"]);function Xr(t){if(We.has(t))return"transform";if(Or.has(t))return Ht(t)}function _t(t,e){t.indexOf(e)===-1&&t.push(e)}function Qt(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}function Vl({applyWillChange:t=!1,scrapeMotionValuesFromProps:e,createRenderState:n,onMount:i},r,s,o,u){const a={latestValues:Fl(r,s,o,u?!1:t,e),renderState:n()};return i&&(a.mount=l=>i(r,l,a)),a}const Zr=t=>(e,n)=>{const i=C.useContext(Xt),r=C.useContext(Zt),s=()=>Vl(t,e,i,r,n);return n?s():Lr(s)};function wl(t,e){const n=Xr(e);n&&_t(t,n)}function Hr(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 Fl(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]=Ut(l[g]);let{initial:c,animate:d}=t;const f=zt(t),h=Ir(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"&&!mt(p)&&Hr(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&&!mt(d)&&Hr(t,d,g=>{for(const b in g)wl(u,b)}),u.length&&(o.willChange=u.join(","))),o}const{schedule:O,cancel:Te,state:$,steps:_n}=gr(typeof requestAnimationFrame<"u"?requestAnimationFrame:Q,!0),Bl={useVisualState:Zr({scrapeMotionValuesFromProps:Wr,createRenderState:Gr,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(()=>{zn(n,i,jn(e.tagName),t.transformTemplate),Nr(e,n)})}})},Gl={useVisualState:Zr({applyWillChange:!0,scrapeMotionValuesFromProps:Yn,createRenderState:kn})};function Ml(t,{forwardMotionProps:e=!1},n,i){return{...On(t)?Bl:Gl,preloadedFeatures:n,useRender:Pl(e),createVisualElement:i,Component:t}}function Ve(t,e,n,i={passive:!0}){return t.addEventListener(e,n,i),()=>t.removeEventListener(e,n)}const kr=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1;function $t(t,e="page"){return{point:{x:t[`${e}X`],y:t[`${e}Y`]}}}const Dl=t=>e=>kr(e)&&t(e,$t(e));function we(t,e,n,i){return Ve(t,e,Dl(n),i)}const Nl=(t,e)=>n=>e(t(n)),Fe=(...t)=>t.reduce(Nl);function zr(t){let e=null;return()=>{const n=()=>{e=null};return e===null?(e=t,n):!1}}const jr=zr("dragHorizontal"),Yr=zr("dragVertical");function Jr(t){let e=!1;if(t==="y")e=Yr();else if(t==="x")e=jr();else{const n=jr(),i=Yr();n&&i?e=()=>{n(),i()}:(n&&n(),i&&i())}return e}function Ur(){const t=Jr(!0);return t?(t(),!1):!0}class Oe{constructor(e){this.isMounted=!1,this.node=e}update(){}}function _r(t,e){const n=e?"pointerenter":"pointerleave",i=e?"onHoverStart":"onHoverEnd",r=(s,o)=>{if(s.pointerType==="touch"||Ur())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 we(t.current,n,r,{passive:!t.getProps()[i]})}class Wl extends Oe{mount(){this.unmount=Fe(_r(this.node,!0),_r(this.node,!1))}unmount(){}}class Rl extends Oe{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=Fe(Ve(this.node.current,"focus",()=>this.onFocus()),Ve(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const Qr=(t,e)=>e?t===e?!0:Qr(t,e.parentElement):!1;function Qn(t,e){if(!e)return;const n=new PointerEvent("pointer"+t);e(n,$t(n))}class Ll extends Oe{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=we(window,"pointerup",(u,a)=>{if(!this.checkPressEnd())return;const{onTap:l,onTapCancel:c,globalTapTarget:d}=this.node.getProps(),f=!d&&!Qr(this.node.current,u.target)?c:l;f&&O.update(()=>f(u,a))},{passive:!(i.onTap||i.onPointerUp)}),o=we(window,"pointercancel",(u,a)=>this.cancelPress(u,a),{passive:!(i.onTapCancel||i.onPointerCancel)});this.removeEndListeners=Fe(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()||Qn("up",(a,l)=>{const{onTap:c}=this.node.getProps();c&&O.postRender(()=>c(a,l))})};this.removeEndListeners(),this.removeEndListeners=Ve(this.node.current,"keyup",o),Qn("down",(u,a)=>{this.startPress(u,a)})},n=Ve(this.node.current,"keydown",e),i=()=>{this.isPressing&&Qn("cancel",(s,o)=>this.cancelPress(s,o))},r=Ve(this.node.current,"blur",i);this.removeAccessibleListeners=Fe(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),!Ur()}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=we(e.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),i=Ve(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=Fe(n,i)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const $n=new WeakMap,Kn=new WeakMap,Ol=t=>{const e=$n.get(t.target);e&&e(t)},Xl=t=>{t.forEach(Ol)};function Zl({root:t,...e}){const n=t||document;Kn.has(n)||Kn.set(n,{});const i=Kn.get(n),r=JSON.stringify(e);return i[r]||(i[r]=new IntersectionObserver(Xl,{root:t,...e})),i[r]}function Hl(t,e,n){const i=Zl(e);return $n.set(t,n),i.observe(t),()=>{$n.delete(t),i.unobserve(t)}}const kl={some:0,all:1};class zl extends Oe{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:kl[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 Hl(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(jl(e,n))&&this.startObserver()}unmount(){}}function jl({viewport:t={}},{viewport:e={}}={}){return n=>t[n]!==e[n]}const Yl={inView:{Feature:zl},tap:{Feature:Ll},focus:{Feature:Rl},hover:{Feature:Wl}};function $r(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 Kt(t,e,n){const i=t.getProps();return Jn(i,e,n!==void 0?n:i.custom,t)}const Be=t=>t*1e3,Ge=t=>t/1e3,Jl={type:"spring",stiffness:500,damping:25,restSpeed:10},Ul=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),_l={type:"keyframes",duration:.8},Ql={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},$l=(t,{keyframes:e})=>e.length>2?_l:We.has(t)?t.startsWith("scale")?Ul(e[1]):Jl:Ql;function Kl({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 qn(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 en;function ec(){en=void 0}const Xe={now:()=>(en===void 0&&Xe.set($.isProcessing||Ou.useManualTiming?$.timestamp:performance.now()),en),set:t=>{en=t,queueMicrotask(ec)}},Kr=t=>/^0[^.\s]+$/u.test(t);function tc(t){return typeof t=="number"?t===0:t!==null?t==="none"||t==="0"||Kr(t):!0}const qr=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t),nc=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function ic(t){const e=nc.exec(t);if(!e)return[,];const[,n,i,r]=e;return[`--${n??i}`,r]}const rc=4;function es(t,e,n=1){Ee(n<=rc,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);const[i,r]=ic(t);if(!i)return;const s=window.getComputedStyle(e).getPropertyValue(i);if(s){const o=s.trim();return qr(o)?parseFloat(o):o}return Xn(r)?es(r,e,n+1):r}const sc=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),ts=t=>t===tt||t===F,ns=(t,e)=>parseFloat(t.split(", ")[e]),is=(t,e)=>(n,{transform:i})=>{if(i==="none"||!i)return 0;const r=i.match(/^matrix3d\((.+)\)$/u);if(r)return ns(r[1],e);{const s=i.match(/^matrix\((.+)\)$/u);return s?ns(s[1],t):0}},oc=new Set(["x","y","z"]),ac=gt.filter(t=>!oc.has(t));function uc(t){const e=[];return ac.forEach(n=>{const i=t.getValue(n);i!==void 0&&(e.push([n,i.get()]),i.set(n.startsWith("scale")?1:0))}),e}const nt={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:is(4,13),y:is(5,14)};nt.translateX=nt.x,nt.translateY=nt.y;const rs=t=>e=>e.test(t),ss=[tt,F,ye,Le,hl,fl,{test:t=>t==="auto",parse:t=>t}],os=t=>ss.find(rs(t)),ke=new Set;let ei=!1,ti=!1;function as(){if(ti){const t=Array.from(ke).filter(i=>i.needsMeasurement),e=new Set(t.map(i=>i.element)),n=new Map;e.forEach(i=>{const r=uc(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)})}ti=!1,ei=!1,ke.forEach(t=>t.complete()),ke.clear()}function us(){ke.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(ti=!0)})}function lc(){us(),as()}class ni{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?(ke.add(this),ei||(ei=!0,O.read(us),O.resolveKeyframes(as))):(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),ke.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,ke.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const ii=(t,e)=>n=>!!(yt(n)&&cl.test(n)&&n.startsWith(t)||e&&!dl(n)&&Object.prototype.hasOwnProperty.call(n,e)),ls=(t,e,n)=>i=>{if(!yt(i))return i;const[r,s,o,u]=i.match(Zn);return{[t]:parseFloat(r),[e]:parseFloat(s),[n]:parseFloat(o),alpha:u!==void 0?parseFloat(u):1}},cc=t=>Re(0,255,t),ri={...tt,transform:t=>Math.round(cc(t))},ze={test:ii("rgb","red"),parse:ls("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:i=1})=>"rgba("+ri.transform(t)+", "+ri.transform(e)+", "+ri.transform(n)+", "+vt(bt.transform(i))+")"};function dc(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 si={test:ii("#"),parse:dc,transform:ze.transform},it={test:ii("hsl","hue"),parse:ls("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:i=1})=>"hsla("+Math.round(t)+", "+ye.transform(vt(e))+", "+ye.transform(vt(n))+", "+vt(bt.transform(i))+")"},ee={test:t=>ze.test(t)||si.test(t)||it.test(t),parse:t=>ze.test(t)?ze.parse(t):it.test(t)?it.parse(t):si.parse(t),transform:t=>yt(t)?t:t.hasOwnProperty("red")?ze.transform(t):it.transform(t)};function fc(t){var e,n;return isNaN(t)&&yt(t)&&(((e=t.match(Zn))===null||e===void 0?void 0:e.length)||0)+(((n=t.match(ll))===null||n===void 0?void 0:n.length)||0)>0}const cs="number",ds="color",hc="var",pc="var(",fs="${}",mc=/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 Ct(t){const e=t.toString(),n=[],i={color:[],number:[],var:[]},r=[];let s=0;const u=e.replace(mc,a=>(ee.test(a)?(i.color.push(s),r.push(ds),n.push(ee.parse(a))):a.startsWith(pc)?(i.var.push(s),r.push(hc),n.push(a)):(i.number.push(s),r.push(cs),n.push(parseFloat(a))),++s,fs)).split(fs);return{values:n,split:u,indexes:i,types:r}}function hs(t){return Ct(t).values}function ps(t){const{split:e,types:n}=Ct(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===cs?s+=vt(r[o]):u===ds?s+=ee.transform(r[o]):s+=r[o]}return s}}const gc=t=>typeof t=="number"?0:t;function bc(t){const e=hs(t);return ps(t)(e.map(gc))}const Ze={test:fc,parse:hs,createTransformer:ps,getAnimatableNone:bc},vc=new Set(["brightness","contrast","saturate","opacity"]);function yc(t){const[e,n]=t.slice(0,-1).split("(");if(e==="drop-shadow")return t;const[i]=n.match(Zn)||[];if(!i)return t;const r=n.replace(i,"");let s=vc.has(e)?1:0;return i!==n&&(s*=100),e+"("+s+r+")"}const Ic=/\b([a-z-]*)\(.*?\)/gu,oi={...Ze,getAnimatableNone:t=>{const e=t.match(Ic);return e?e.map(yc).join(" "):t}},Cc={...Vr,color:ee,backgroundColor:ee,outlineColor:ee,fill:ee,stroke:ee,borderColor:ee,borderTopColor:ee,borderRightColor:ee,borderBottomColor:ee,borderLeftColor:ee,filter:oi,WebkitFilter:oi},ai=t=>Cc[t];function ms(t,e){let n=ai(t);return n!==oi&&(n=Ze),n.getAnimatableNone?n.getAnimatableNone(e):void 0}const xc=new Set(["auto","none","0"]);function Ac(t,e,n){let i=0,r;for(;i<t.length&&!r;){const s=t[i];typeof s=="string"&&!xc.has(s)&&Ct(s).values.length&&(r=t[i]),i++}if(r&&n)for(const s of e)t[s]=ms(n,r)}class gs extends ni{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(),Xn(l))){const c=es(l,n.current);c!==void 0&&(e[a]=c),a===e.length-1&&(this.finalKeyframe=l)}}if(this.resolveNoneKeyframes(),!sc.has(i)||e.length!==2)return;const[r,s]=e,o=os(r),u=os(s);if(o!==u)if(ts(o)&&ts(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++)tc(e[r])&&i.push(r);i.length&&Ac(e,i,n)}measureInitialState(){const{element:e,unresolvedKeyframes:n,name:i}=this;if(!e.current)return;i==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=nt[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]=nt[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 bs(t){let e;return()=>(e===void 0&&(e=t()),e)}const vs=(t,e)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(Ze.test(t)||t==="0")&&!t.startsWith("url("));function Sc(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 Pc(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=vs(r,e),u=vs(s,e);return et(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:Sc(t)||n==="spring"&&i}class ys{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&&lc(),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&&!Pc(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 Is(t,e){return e?t*(1e3/e):0}const Ec=5;function Cs(t,e,n){const i=Math.max(e-Ec,0);return Is(n-t(i),e-i)}const ui=.001,Tc=.01,xs=10,Vc=.05,wc=1;function Fc({duration:t=800,bounce:e=.25,velocity:n=0,mass:i=1}){let r,s;et(t<=Be(xs),"Spring duration must be 10 seconds or less");let o=1-e;o=Re(Vc,wc,o),t=Re(Tc,xs,Ge(t)),o<1?(r=l=>{const c=l*o,d=c*t,f=c-n,h=li(l,o),m=Math.exp(-d);return ui-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=li(Math.pow(l,2),o);return(-r(l)+ui>0?-1:1)*((f-h)*m)/p}):(r=l=>{const c=Math.exp(-l*t),d=(l-n)*t+1;return-ui+c*d},s=l=>{const c=Math.exp(-l*t),d=(n-l)*(t*t);return c*d});const u=5/t,a=Gc(r,s,u);if(t=Be(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 Bc=12;function Gc(t,e,n){let i=n;for(let r=1;r<Bc;r++)i=i-t(i)/e(i);return i}function li(t,e){return t*Math.sqrt(1-e*e)}const Mc=["duration","bounce"],Dc=["stiffness","damping","mass"];function As(t,e){return e.some(n=>t[n]!==void 0)}function Nc(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!As(t,Dc)&&As(t,Mc)){const n=Fc(t);e={...e,...n,mass:1},e.isResolvedFromDuration=!0}return e}function Ss({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}=Nc({...i,velocity:-Ge(i.velocity||0)}),h=d||0,m=a/(2*Math.sqrt(u*l)),p=s-r,g=Ge(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=li(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=Cs(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 Ps({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),N=v(A);f.done=Math.abs(M)<=l,f.value=f.done?b:N};let y,S;const P=A=>{h(f.value)&&(y=A,S=Ss({keyframes:[f.value,m(f.value)],velocity:Cs(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 Es=(t,e,n)=>(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t,Wc=1e-7,Rc=12;function Lc(t,e,n,i,r){let s,o,u=0;do o=e+(n-e)/2,s=Es(o,i,r)-t,s>0?n=o:e=o;while(Math.abs(s)>Wc&&++u<Rc);return o}function xt(t,e,n,i){if(t===e&&n===i)return Q;const r=s=>Lc(s,0,1,t,n);return s=>s===0||s===1?s:Es(r(s),e,i)}const Oc=xt(.42,0,1,1),Xc=xt(0,0,.58,1),Ts=xt(.42,0,.58,1),Zc=t=>Array.isArray(t)&&typeof t[0]!="number",Vs=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,ws=t=>e=>1-t(1-e),ci=t=>1-Math.sin(Math.acos(t)),Fs=ws(ci),Hc=Vs(ci),Bs=xt(.33,1.53,.69,.99),di=ws(Bs),kc=Vs(di),Gs={linear:Q,easeIn:Oc,easeInOut:Ts,easeOut:Xc,circIn:ci,circInOut:Hc,circOut:Fs,backIn:di,backInOut:kc,backOut:Bs,anticipate:t=>(t*=2)<1?.5*di(t):.5*(2-Math.pow(2,-10*(t-1)))},Ms=t=>{if(Array.isArray(t)){Ee(t.length===4,"Cubic bezier arrays must contain four numerical values.");const[e,n,i,r]=t;return xt(e,n,i,r)}else if(typeof t=="string")return Ee(Gs[t]!==void 0,`Invalid easing type '${t}'`),Gs[t];return t},At=(t,e,n)=>{const i=e-t;return i===0?1:(n-t)/i},H=(t,e,n)=>t+(e-t)*n;function fi(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=fi(a,u,t+1/3),s=fi(a,u,t),o=fi(a,u,t-1/3)}return{red:Math.round(r*255),green:Math.round(s*255),blue:Math.round(o*255),alpha:i}}function tn(t,e){return n=>n>0?e:t}const hi=(t,e,n)=>{const i=t*t,r=n*(e*e-i)+i;return r<0?0:Math.sqrt(r)},jc=[si,ze,it],Yc=t=>jc.find(e=>e.test(t));function Ds(t){const e=Yc(t);if(et(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`),!e)return!1;let n=e.parse(t);return e===it&&(n=zc(n)),n}const Ns=(t,e)=>{const n=Ds(t),i=Ds(e);if(!n||!i)return tn(t,e);const r={...n};return s=>(r.red=hi(n.red,i.red,s),r.green=hi(n.green,i.green,s),r.blue=hi(n.blue,i.blue,s),r.alpha=H(n.alpha,i.alpha,s),ze.transform(r))},pi=new Set(["none","hidden"]);function Jc(t,e){return pi.has(t)?n=>n<=0?t:e:n=>n>=1?e:t}function Uc(t,e){return n=>H(t,e,n)}function mi(t){return typeof t=="number"?Uc:typeof t=="string"?Xn(t)?tn:ee.test(t)?Ns:$c:Array.isArray(t)?Ws:typeof t=="object"?ee.test(t)?Ns:_c:tn}function Ws(t,e){const n=[...t],i=n.length,r=t.map((s,o)=>mi(s)(s,e[o]));return s=>{for(let o=0;o<i;o++)n[o]=r[o](s);return n}}function _c(t,e){const n={...t,...e},i={};for(const r in n)t[r]!==void 0&&e[r]!==void 0&&(i[r]=mi(t[r])(t[r],e[r]));return r=>{for(const s in i)n[s]=i[s](r);return n}}function Qc(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 $c=(t,e)=>{const n=Ze.createTransformer(e),i=Ct(t),r=Ct(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?pi.has(t)&&!r.values.length||pi.has(e)&&!i.values.length?Jc(t,e):Fe(Ws(Qc(i,r),r.values),n):(et(!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.`),tn(t,e))};function Rs(t,e,n){return typeof t=="number"&&typeof e=="number"&&typeof n=="number"?H(t,e,n):mi(t)(t,e)}function Kc(t,e,n){const i=[],r=n||Rs,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=Fe(a,u)}i.push(u)}return i}function qc(t,e,{clamp:n=!0,ease:i,mixer:r}={}){const s=t.length;if(Ee(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=Kc(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=At(t[c],t[c+1],l);return o[c](d)};return n?l=>a(Re(t[0],t[s-1],l)):a}function ed(t,e){const n=t[t.length-1];for(let i=1;i<=e;i++){const r=At(0,e,i);t.push(H(n,1,r))}}function td(t){const e=[0];return ed(e,t.length-1),e}function nd(t,e){return t.map(n=>n*e)}function id(t,e){return t.map(()=>e||Ts).splice(0,t.length-1)}function nn({duration:t=300,keyframes:e,times:n,ease:i="easeInOut"}){const r=Zc(i)?i.map(Ms):Ms(i),s={done:!1,value:e[0]},o=nd(n&&n.length===e.length?n:td(e),t),u=qc(o,e,{ease:Array.isArray(r)?r:id(e,r)});return{calculatedDuration:t,next:a=>(s.value=u(a),s.done=a>=t,s)}}const Ls=2e4;function rd(t){let e=0;const n=50;let i=t.next(e);for(;!i.done&&e<Ls;)e+=n,i=t.next(e);return e>=Ls?1/0:e}const sd=t=>{const e=({timestamp:n})=>t(n);return{start:()=>O.update(e,!0),stop:()=>Te(e),now:()=>$.isProcessing?$.timestamp:Xe.now()}},od={decay:Ps,inertia:Ps,tween:nn,keyframes:nn,spring:Ss},ad=t=>t/100;class gi extends ys{constructor({KeyframeResolver:e=ni,...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=od[n]||nn;let a,l;u!==nn&&typeof e[0]!="number"&&(process.env.NODE_ENV!=="production"&&Ee(e.length===2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${e}`),a=Fe(ad,Rs(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=rd(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),N=A%1;!N&&A>=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=Re(0,1,N)*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?Ge(e.calculatedDuration):0}get time(){return Ge(this.currentTime)}set time(e){e=Be(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=Ge(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:e=sd,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 Os=t=>Array.isArray(t)&&typeof t[0]=="number";function Xs(t){return!!(!t||typeof t=="string"&&t in bi||Os(t)||Array.isArray(t)&&t.every(Xs))}const St=([t,e,n,i])=>`cubic-bezier(${t}, ${e}, ${n}, ${i})`,bi={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:St([0,.65,.55,1]),circOut:St([.55,0,1,.45]),backIn:St([.31,.01,.66,-.59]),backOut:St([.33,1.53,.69,.99])};function ud(t){return Zs(t)||bi.easeOut}function Zs(t){if(t)return Os(t)?St(t):Array.isArray(t)?t.map(ud):bi[t]}function ld(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=Zs(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 cd=bs(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),rn=10,dd=2e4;function fd(t){return t.type==="spring"||!Xs(t.ease)}function hd(t,e){const n=new gi({...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<dd;)i=n.sample(s),r.push(i.value),s+=rn;return{times:void 0,keyframes:r,duration:s-rn,ease:"linear"}}class Hs extends ys{constructor(e){super(e);const{name:n,motionValue:i,keyframes:r}=this.options;this.resolver=new gs(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(fd(this.options)){const{onComplete:d,onUpdate:f,motionValue:h,...m}=this.options,p=hd(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=ld(a.owner.current,l,e,{...this.options,duration:r,times:s,ease:o});return c.startTime=Xe.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 Ge(n)}get time(){const{resolved:e}=this;if(!e)return 0;const{animation:n}=e;return Ge(n.currentTime||0)}set time(e){const{resolved:n}=this;if(!n)return;const{animation:i}=n;i.currentTime=Be(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 gi({...f,keyframes:i,duration:r,type:s,ease:o,times:u,isGenerator:!0}),m=Be(this.time);l.setWithVelocity(h.sample(m-rn).value,h.sample(m).value,rn)}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 cd()&&i&&Or.has(i)&&n&&n.owner&&n.owner.current instanceof HTMLElement&&!n.owner.getProps().onUpdate&&!r&&s!=="mirror"&&o!==0&&u!=="inertia"}}function pd(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),()=>Te(i)}const md=bs(()=>window.ScrollTimeline!==void 0);class gd{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(md()&&i.attachTimeline)i.attachTimeline(e);else return i.pause(),pd(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 vi=(t,e,n,i={},r,s,o)=>u=>{const a=qn(i,t)||{},l=a.delay||i.delay||0;let{elapsed:c=0}=i;c=c-Be(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};Kl(a)||(d={...d,...$l(t,d)}),d.duration&&(d.duration=Be(d.duration)),d.repeatDelay&&(d.repeatDelay=Be(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 gd([])}return!s&&Hs.supports(d)?new Hs(d):new gi(d)};class yi{constructor(){this.subscriptions=[]}add(e){return _t(this.subscriptions,e),()=>Qt(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 ks=new Set;function Ii(t,e,n){t||ks.has(e)||(console.warn(e),ks.add(e))}const zs=30,bd=t=>!isNaN(parseFloat(t));class js{constructor(e,n={}){this.version="11.3.8",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(i,r=!0)=>{const s=Xe.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=Xe.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=bd(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return process.env.NODE_ENV!=="production"&&Ii(!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 yi);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=Xe.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>zs)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,zs);return Is(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 Pt(t,e){return new js(t,e)}function vd(t,e,n){t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,Pt(n))}function yd(t,e){const n=Kt(t,e);let{transitionEnd:i={},transition:r={},...s}=n||{};s={...s,...i};for(const o in s){const u=Tl(s[o]);vd(t,o,u)}}function Ys(t){return t.getProps()[mr]}class Id extends js{constructor(){super(...arguments),this.output=[],this.counts=new Map}add(e){const n=Xr(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&&(Qt(this.output,n),this.update())}}update(){this.set(this.output.length?this.output.join(", "):"auto")}}function Cd(t){return!!(q(t)&&t.add)}function Ci(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 Id("auto"),t.addValue("willChange",i)),Cd(i))return i.add(e)}function xd({protectedKeys:t,needsAnimating:e},n){const i=t.hasOwnProperty(n)&&e[n]!==!0;return e[n]=!1,i}function Js(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&&xd(c,d))continue;const m={delay:n,elapsed:0,...qn(o||{},d)};let p=!1;if(window.HandoffAppearAnimations){const b=Ys(t);if(b){const I=window.HandoffAppearAnimations(b,d,f,O);I!==null&&(m.elapsed=I,p=!0)}}f.start(vi(d,f,h,t.shouldReduceMotion&&We.has(d)?{type:!1}:m,t,p,Ci(t,d)));const g=f.animation;g&&l.push(g)}return u&&Promise.all(l).then(()=>{O.update(()=>{u&&yd(t,u)})}),l}function xi(t,e,n={}){var i;const r=Kt(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(Js(t,r,n)):()=>Promise.resolve(),u=t.variantChildren&&t.variantChildren.size?(l=0)=>{const{delayChildren:c=0,staggerChildren:d,staggerDirection:f}=s;return Ad(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 Ad(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(Sd).forEach((l,c)=>{l.notify("AnimationStart",e),o.push(xi(l,e,{...s,delay:n+a(c)}).then(()=>l.notify("AnimationComplete",e)))}),Promise.all(o)}function Sd(t,e){return t.sortNodePosition(e)}function Pd(t,e,n={}){t.notify("AnimationStart",e);let i;if(Array.isArray(e)){const r=e.map(s=>xi(t,s,n));i=Promise.all(r)}else if(typeof e=="string")i=xi(t,e,n);else{const r=typeof e=="function"?Kt(t,e,n.custom):e;i=Promise.all(Js(t,r,n))}return i.then(()=>{O.postRender(()=>{t.notify("AnimationComplete",e)})})}const Ed=[...Wn].reverse(),Td=Wn.length;function Vd(t){return e=>Promise.all(e.map(({animation:n,options:i})=>Pd(t,n,i)))}function wd(t){let e=Vd(t),n=Us(),i=!0;const r=a=>(l,c)=>{var d;const f=Kt(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<Td;g++){const b=Ed[g],I=n[b],v=l[b]!==void 0?l[b]:c[b],x=pt(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||mt(v)||typeof v=="boolean")continue;let A=Fd(I.prevProp,v)||b===a&&I.isActive&&!S&&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,le={...Y,...k},se=D=>{A=!0,f.has(D)&&(M=!0,f.delete(D)),I.needsAnimating[D]=!0;const L=t.getValue(D);L&&(L.liveStyle=!1)};for(const D in le){const L=k[D],ne=Y[D];if(h.hasOwnProperty(D))continue;let _=!1;Un(L)&&Un(ne)?_=!$r(L,ne):_=L!==ne,_?L!=null?se(D):f.add(D):L!==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(...N.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=Us(),i=!0}}}function Fd(t,e){return typeof e=="string"?e!==t:Array.isArray(e)?!$r(e,t):!1}function je(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Us(){return{animate:je(!0),whileInView:je(),whileHover:je(),whileTap:je(),whileDrag:je(),whileFocus:je(),exit:je()}}class Bd extends Oe{constructor(e){super(e),e.animationState||(e.animationState=wd(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();mt(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 Gd=0;class Md extends Oe{constructor(){super(...arguments),this.id=Gd++}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 Dd={animation:{Feature:Bd},exit:{Feature:Md}},_s=(t,e)=>Math.abs(t-e);function Nd(t,e){const n=_s(t.x,e.x),i=_s(t.y,e.y);return Math.sqrt(n**2+i**2)}class Qs{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=Si(this.lastMoveEventInfo,this.history),f=this.startEvent!==null,h=Nd(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=Ai(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=Si(d.type==="pointercancel"?this.lastMoveEventInfo:Ai(f,this.transformPagePoint),this.history);this.startEvent&&h&&h(d,g),m&&m(d,g)},!kr(e))return;this.dragSnapToOrigin=s,this.handlers=n,this.transformPagePoint=i,this.contextWindow=r||window;const o=$t(e),u=Ai(o,this.transformPagePoint),{point:a}=u,{timestamp:l}=$;this.history=[{...a,timestamp:l}];const{onSessionStart:c}=n;c&&c(e,Si(u,this.history)),this.removeListeners=Fe(we(this.contextWindow,"pointermove",this.handlePointerMove),we(this.contextWindow,"pointerup",this.handlePointerUp),we(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),Te(this.updatePoint)}}function Ai(t,e){return e?{point:e(t.point)}:t}function $s(t,e){return{x:t.x-e.x,y:t.y-e.y}}function Si({point:t},e){return{point:t,delta:$s(t,Ks(e)),offset:$s(t,Wd(e)),velocity:Rd(e,.1)}}function Wd(t){return t[0]}function Ks(t){return t[t.length-1]}function Rd(t,e){if(t.length<2)return{x:0,y:0};let n=t.length-1,i=null;const r=Ks(t);for(;n>=0&&(i=t[n],!(r.timestamp-i.timestamp>Be(e)));)n--;if(!i)return{x:0,y:0};const s=Ge(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,Ld=1-qs,Od=1+qs,eo=.01,Xd=0-eo,Zd=0+eo;function ae(t){return t.max-t.min}function Hd(t,e,n){return Math.abs(t-e)<=n}function to(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>=Ld&&t.scale<=Od||isNaN(t.scale))&&(t.scale=1),(t.translate>=Xd&&t.translate<=Zd||isNaN(t.translate))&&(t.translate=0)}function Et(t,e,n,i){to(t.x,e.x,n.x,i?i.originX:void 0),to(t.y,e.y,n.y,i?i.originY:void 0)}function no(t,e,n){t.min=n.min+e.min,t.max=t.min+ae(e)}function kd(t,e,n){no(t.x,e.x,n.x),no(t.y,e.y,n.y)}function io(t,e,n){t.min=e.min-n.min,t.max=t.min+ae(e)}function Tt(t,e,n){io(t.x,e.x,n.x),io(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 ro(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 jd(t,{top:e,left:n,bottom:i,right:r}){return{x:ro(t.x,n,r),y:ro(t.y,e,i)}}function so(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 Yd(t,e){return{x:so(t.x,e.x),y:so(t.y,e.y)}}function Jd(t,e){let n=.5;const i=ae(t),r=ae(e);return r>i?n=At(e.min,e.max-i,t.min):i>r&&(n=At(t.min,t.max-r,e.min)),Re(0,1,n)}function Ud(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 Pi=.35;function _d(t=Pi){return t===!1?t=0:t===!0&&(t=Pi),{x:oo(t,"left","right"),y:oo(t,"top","bottom")}}function oo(t,e,n){return{min:ao(t,e),max:ao(t,n)}}function ao(t,e){return typeof t=="number"?t:t[e]||0}const uo=()=>({translate:0,scale:1,origin:0,originPoint:0}),rt=()=>({x:uo(),y:uo()}),lo=()=>({min:0,max:0}),j=()=>({x:lo(),y:lo()});function de(t){return[t("x"),t("y")]}function co({top:t,left:e,right:n,bottom:i}){return{x:{min:e,max:n},y:{min:t,max:i}}}function Qd({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function $d(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 Ei(t){return t===void 0||t===1}function Ti({scale:t,scaleX:e,scaleY:n}){return!Ei(t)||!Ei(e)||!Ei(n)}function Ye(t){return Ti(t)||fo(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function fo(t){return ho(t.x)||ho(t.y)}function ho(t){return t&&t!=="0%"}function sn(t,e,n){const i=t-n,r=e*i;return n+r}function po(t,e,n,i,r){return r!==void 0&&(t=sn(t,r,i)),sn(t,n,i)+e}function Vi(t,e=0,n=1,i,r){t.min=po(t.min,e,n,i,r),t.max=po(t.max,e,n,i,r)}function mo(t,{x:e,y:n}){Vi(t.x,e.translate,e.scale,e.originPoint),Vi(t.y,n.translate,n.scale,n.originPoint)}const go=.999999999999,bo=1.0000000000001;function Kd(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&&st(t,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),o&&(e.x*=o.x.scale,e.y*=o.y.scale,mo(t,o)),i&&Ye(s.latestValues)&&st(t,s.latestValues))}e.x<bo&&e.x>go&&(e.x=1),e.y<bo&&e.y>go&&(e.y=1)}function He(t,e){t.min=t.min+e,t.max=t.max+e}function vo(t,e,n,i,r=.5){const s=H(t.min,t.max,r);Vi(t,e,n,s,i)}function st(t,e){vo(t.x,e.x,e.scaleX,e.scale,e.originX),vo(t.y,e.y,e.scaleY,e.scale,e.originY)}function yo(t,e){return co($d(t.getBoundingClientRect(),e))}function qd(t,e,n){const i=yo(t,n),{scroll:r}=e;return r&&(He(i.x,r.offset.x),He(i.y,r.offset.y)),i}const Io=({current:t})=>t?t.ownerDocument.defaultView:null,ef=new WeakMap;class tf{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($t(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=Jr(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(ye.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=Ci(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=nf(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 Qs(e,{onSessionStart:r,onStart:s,onMove:o,onSessionEnd:u,resumeAnimation:a},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:l,contextWindow:Io(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||!on(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&&Ke(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&r?this.constraints=jd(r.layoutBox,n):this.constraints=!1,this.elastic=_d(i),s!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&de(o=>{this.constraints!==!1&&this.getAxisMotionValue(o)&&(this.constraints[o]=Ud(r.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:n}=this.getProps();if(!e||!Ke(e))return!1;const i=e.current;Ee(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=Yd(r.layout.layoutBox,s);if(n){const u=n(Qd(o));this.hasMutatedConstraints=!!u,u&&(o=co(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(!on(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(vi(e,i,0,n,this.visualElement,!1,Ci(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(!on(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(!Ke(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]=Jd({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(!on(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;ef.set(this.visualElement,this);const e=this.visualElement.current,n=we(e,"pointerdown",a=>{const{drag:l,dragListener:c=!0}=this.getProps();l&&c&&this.start(a)}),i=()=>{const{dragConstraints:a}=this.getProps();Ke(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=Ve(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=Pi,dragMomentum:u=!0}=e;return{...e,drag:n,dragDirectionLock:i,dragPropagation:r,dragConstraints:s,dragElastic:o,dragMomentum:u}}}function on(t,e,n){return(e===!0||e===t)&&(n===null||n===t)}function nf(t,e=10){let n=null;return Math.abs(t.y)>e?n="y":Math.abs(t.x)>e&&(n="x"),n}class rf extends Oe{constructor(e){super(e),this.removeGroupControls=Q,this.removeListeners=Q,this.controls=new tf(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 Co=t=>(e,n)=>{t&&O.postRender(()=>t(e,n))};class sf extends Oe{constructor(){super(...arguments),this.removePointerDownListener=Q}onPointerDown(e){this.session=new Qs(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Io(this.node)})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:n,onPan:i,onPanEnd:r}=this.node.getProps();return{onSessionStart:Co(e),onStart:Co(n),onMove:i,onEnd:(s,o)=>{delete this.session,r&&O.postRender(()=>r(s,o))}}}mount(){this.removePointerDownListener=we(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 of(){const t=C.useContext(Zt);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 an={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function xo(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}const Vt={correct:(t,e)=>{if(!e.target)return t;if(typeof t=="string")if(F.test(t))t=parseFloat(t);else return t;const n=xo(t,e.target.x),i=xo(t,e.target.y);return`${n}% ${i}%`}},af={correct:(t,{treeScale:e,projectionDelta:n})=>{const i=t,r=Ze.parse(t);if(r.length>5)return i;const s=Ze.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 uf extends C.Component{componentDidMount(){const{visualElement:e,layoutGroup:n,switchLayoutGroup:i,layoutId:r}=this.props,{projection:s}=e;nl(lf),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()})),an.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(),Nn.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 Ao(t){const[e,n]=of(),i=C.useContext(Ln);return E.jsx(uf,{...t,layoutGroup:i,switchLayoutGroup:C.useContext(br),isPresent:e,safeToRemove:n})}const lf={borderRadius:{...Vt,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Vt,borderTopRightRadius:Vt,borderBottomLeftRadius:Vt,borderBottomRightRadius:Vt,boxShadow:af},So=["TopLeft","TopRight","BottomLeft","BottomRight"],cf=So.length,Po=t=>typeof t=="string"?parseFloat(t):t,Eo=t=>typeof t=="number"||F.test(t);function df(t,e,n,i,r,s){r?(t.opacity=H(0,n.opacity!==void 0?n.opacity:1,ff(i)),t.opacityExit=H(e.opacity!==void 0?e.opacity:1,0,hf(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<cf;o++){const u=`border${So[o]}Radius`;let a=To(e,u),l=To(n,u);if(a===void 0&&l===void 0)continue;a||(a=0),l||(l=0),a===0||l===0||Eo(a)===Eo(l)?(t[u]=Math.max(H(Po(a),Po(l),i),0),(ye.test(l)||ye.test(a))&&(t[u]+="%")):t[u]=l}(e.rotate||n.rotate)&&(t.rotate=H(e.rotate||0,n.rotate||0,i))}function To(t,e){return t[e]!==void 0?t[e]:t.borderRadius}const ff=Vo(0,.5,Fs),hf=Vo(.5,.95,Q);function Vo(t,e,n){return i=>i<t?0:i>e?1:n(At(t,e,i))}function wo(t,e){t.min=e.min,t.max=e.max}function fe(t,e){wo(t.x,e.x),wo(t.y,e.y)}function Fo(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function Bo(t,e,n,i,r){return t-=e,t=sn(t,1/n,i),r!==void 0&&(t=sn(t,1/r,i)),t}function pf(t,e=0,n=1,i=.5,r,s=t,o=t){if(ye.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=Bo(t.min,e,n,u,r),t.max=Bo(t.max,e,n,u,r)}function Go(t,e,[n,i,r],s,o){pf(t,e[n],e[i],e[r],e.scale,s,o)}const mf=["x","scaleX","originX"],gf=["y","scaleY","originY"];function Mo(t,e,n,i){Go(t.x,e,mf,n?n.x:void 0,i?i.x:void 0),Go(t.y,e,gf,n?n.y:void 0,i?i.y:void 0)}function Do(t){return t.translate===0&&t.scale===1}function No(t){return Do(t.x)&&Do(t.y)}function bf(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 Wo(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 Ro(t){return ae(t.x)/ae(t.y)}function Lo(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class vf{constructor(){this.members=[]}add(e){_t(this.members,e),e.scheduleRender()}remove(e){if(Qt(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 yf(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 If=(t,e)=>t.depth-e.depth;class Cf{constructor(){this.children=[],this.isDirty=!1}add(e){_t(this.children,e),this.isDirty=!0}remove(e){Qt(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(If),this.isDirty=!1,this.children.forEach(e)}}function xf(t,e){const n=Xe.now(),i=({timestamp:r})=>{const s=r-n;s>=e&&(Te(i),t(s-e))};return O.read(i,!0),()=>Te(i)}function Af(t){return t instanceof SVGElement&&t.tagName!=="svg"}function Sf(t,e,n){const i=q(t)?t:Pt(t);return i.start(vi("",i,e,n)),i.animation}const Je={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},wi=["","X","Y","Z"],Pf={visibility:"hidden"},Oo=1e3;let Ef=0;function Fi(t,e,n,i){const{latestValues:r}=e;r[t]&&(n[t]=r[t],e.setStaticValue(t,0),i&&(i[t]=0))}function Xo(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return!1;const{visualElement:e}=t.options;return e?Ys(e)?!0:t.parent&&!t.parent.hasCheckedOptimisedAppear?Xo(t.parent):!1:!1}function Zo({attachResizeListener:t,defaultParent:e,measureScroll:n,checkIsScrollRoot:i,resetTransform:r}){return class{constructor(o={},u=e==null?void 0:e()){this.id=Ef++,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&&(Je.totalNodes=Je.resolvedTargetDeltas=Je.recalculatedProjection=0),this.nodes.forEach(wf),this.nodes.forEach(Df),this.nodes.forEach(Nf),this.nodes.forEach(Ff),window.MotionDebug&&window.MotionDebug.record(Je)},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 Cf)}addEventListener(o,u){return this.eventHandlers.has(o)||this.eventHandlers.set(o,new yi),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=Af(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=xf(f,250),an.hasAnimatedSinceResize&&(an.hasAnimatedSinceResize=!1,this.nodes.forEach(ko))})}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()||Xf,{onLayoutAnimationStart:g,onLayoutAnimationComplete:b}=c.getProps(),I=!this.targetLayout||!Wo(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={...qn(p,"layout"),onPlay:g,onComplete:b};(c.shouldReduceMotion||this.options.layoutRoot)&&(x.delay=0,x.type=!1),this.startAnimation(x)}else f||ko(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,Te(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(Wf),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&&Xo(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(Ho);return}this.isUpdating||this.nodes.forEach(Gf),this.isUpdating=!1,this.nodes.forEach(Mf),this.nodes.forEach(Tf),this.nodes.forEach(Vf),this.clearAllSnapshots();const u=Xe.now();$.delta=Re(0,1e3/60,u-$.timestamp),$.timestamp=u,$.isProcessing=!0,_n.update.process($),_n.preRender.process($),_n.render.process($),$.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Nn.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Bf),this.sharedNodes.forEach(Rf)}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&&!No(this.projectionDelta),a=this.getTransformTemplate(),l=a?a(this.latestValues,""):void 0,c=l!==this.prevTransformTemplateValue;o&&(u||Ye(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)),Zf(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&&(He(u.x,a.offset.x),He(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&&(He(u.x,-f.offset.x),He(u.y,-f.offset.y))}He(u.x,c.offset.x),He(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&&st(a,{x:-c.scroll.offset.x,y:-c.scroll.offset.y}),Ye(c.latestValues)&&st(a,c.latestValues)}return Ye(this.latestValues)&&st(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||!Ye(l.latestValues))continue;Ti(l.latestValues)&&l.updateSnapshot();const c=j(),d=l.measurePageBox();fe(c,d),Mo(u,l.latestValues,l.snapshot?l.snapshot.layoutBox:void 0,c)}return Ye(this.latestValues)&&Mo(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(),Tt(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(),kd(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):fe(this.target,this.layout.layoutBox),mo(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(),Tt(this.relativeTargetOrigin,this.target,h.target),fe(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}window.MotionDebug&&Je.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||Ti(this.parent.latestValues)||fo(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;Kd(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():(Fo(this.prevProjectionDelta.x,this.projectionDelta.x),Fo(this.prevProjectionDelta.y,this.projectionDelta.y)),Et(this.projectionDelta,this.layoutCorrected,m,this.latestValues),(this.treeScale.x!==f||this.treeScale.y!==h||!Lo(this.projectionDelta.x,this.prevProjectionDelta.x)||!Lo(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",m)),window.MotionDebug&&Je.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=rt(),this.projectionDelta=rt(),this.projectionDeltaWithTransform=rt()}setAnimationOrigin(o,u=!1){const a=this.snapshot,l=a?a.latestValues:{},c={...this.latestValues},d=rt();(!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(Of));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&&(Tt(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Lf(this.relativeTarget,this.relativeTargetOrigin,f,y),v&&bf(this.relativeTarget,v)&&(this.isProjectionDirty=!1),v||(v=j()),fe(v,this.relativeTarget)),p&&(this.animationValues=c,df(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&&(Te(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=O.update(()=>{an.hasAnimatedSinceResize=!0,this.currentAnimation=Sf(0,Oo,{...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(Oo),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&&_o(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),st(u,c),Et(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&&Fi("z",o,l,this.animationValues);for(let c=0;c<wi.length;c++)Fi(`rotate${wi[c]}`,o,l,this.animationValues),Fi(`skew${wi[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 Pf;const l={visibility:""},c=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,l.opacity="",l.pointerEvents=Ut(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=Ut(o==null?void 0:o.pointerEvents)||""),this.hasProjected&&!Ye(this.latestValues)&&(p.transform=c?c({},""):"none",this.hasProjected=!1),p}const f=d.animationValues||d.latestValues;this.applyTransformsToTarget(),l.transform=yf(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 jt){if(f[p]===void 0)continue;const{correct:g,applyTo:b}=jt[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?Ut(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(Ho),this.root.sharedNodes.clear()}}}function Tf(t){t.updateLayout()}function Vf(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}):_o(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=rt();Et(u,i,n.layoutBox);const a=rt();o?Et(a,t.applyTransform(r,!0),n.measuredBox):Et(a,i,n.layoutBox);const l=!No(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();Tt(m,n.layoutBox,f.layoutBox);const p=j();Tt(p,i,h.layoutBox),Wo(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 wf(t){window.MotionDebug&&Je.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 Ff(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function Bf(t){t.clearSnapshot()}function Ho(t){t.clearMeasurements()}function Gf(t){t.isLayoutDirty=!1}function Mf(t){const{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function ko(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function Df(t){t.resolveTargetDelta()}function Nf(t){t.calcProjection()}function Wf(t){t.resetSkewAndRotation()}function Rf(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 jo(t,e,n,i){t.min=H(e.min,n.min,i),t.max=H(e.max,n.max,i)}function Lf(t,e,n,i){jo(t.x,e.x,n.x,i),jo(t.y,e.y,n.y,i)}function Of(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const Xf={duration:.45,ease:[.4,0,.1,1]},Yo=t=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),Jo=Yo("applewebkit/")&&!Yo("chrome/")?Math.round:Q;function Uo(t){t.min=Jo(t.min),t.max=Jo(t.max)}function Zf(t){Uo(t.x),Uo(t.y)}function _o(t,e,n){return t==="position"||t==="preserve-aspect"&&!Hd(Ro(e),Ro(n),.2)}const Hf=Zo({attachResizeListener:(t,e)=>Ve(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Bi={current:void 0},Qo=Zo({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!Bi.current){const t=new Hf({});t.mount(window),t.setOptions({layoutScroll:!0}),Bi.current=t}return Bi.current},resetTransform:(t,e)=>{t.style.transform=e!==void 0?e:"none"},checkIsScrollRoot:t=>window.getComputedStyle(t).position==="fixed"}),kf={pan:{Feature:sf},drag:{Feature:rf,ProjectionNode:Qo,MeasureLayout:Ao}},Gi={current:null},$o={current:!1};function zf(){if($o.current=!0,!!Mn)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>Gi.current=t.matches;t.addListener(e),e()}else Gi.current=!1}function jf(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"&&Ii(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,Pt(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,Pt(o!==void 0?o:r,{owner:t}))}}for(const i in n)e[i]===void 0&&t.removeValue(i);return e}const Ko=new WeakMap,Yf=[...ss,ee,Ze],Jf=t=>Yf.find(rs(t)),qo=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],Uf=Rn.length;class _f{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=ni,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=Ir(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,Ko.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)),$o.current||zf(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Gi.current,process.env.NODE_ENV!=="production"&&Ii(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(){Ko.delete(this.current),this.projection&&this.projection.unmount(),Te(this.notifyUpdate),Te(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=We.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 qe){const n=qe[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=jf(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<Uf;i++){const r=Rn[i],s=this.props[r];(pt(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=Pt(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)||Kr(r))?r=parseFloat(r):!Jf(r)&&Ze.test(n)&&(r=ms(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 yi),this.events[e].add(n)}notify(e,...n){this.events[e]&&this.events[e].notify(...n)}}class ea extends _f{constructor(){super(...arguments),this.KeyframeResolver=gs}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 Qf(t){return window.getComputedStyle(t)}class $f extends ea{constructor(){super(...arguments),this.type="html",this.applyWillChange=!0,this.renderInstance=Mr}readValueFromInstance(e,n){if(We.has(n)){const i=ai(n);return i&&i.default||0}else{const i=Qf(e),r=(Pr(n)?i.getPropertyValue(n):i[n])||0;return typeof r=="string"?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:n}){return yo(e,n)}build(e,n,i){Hn(e,n,i.transformTemplate)}scrapeMotionValuesFromProps(e,n,i){return Yn(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 Kf extends ea{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=j}getBaseTargetFromProps(e,n){return e[n]}readValueFromInstance(e,n){if(We.has(n)){const i=ai(n);return i&&i.default||0}return n=Dr.has(n)?n:Ht(n),e.getAttribute(n)}scrapeMotionValuesFromProps(e,n,i){return Wr(e,n,i)}build(e,n,i){zn(e,n,this.isSVGTag,i.transformTemplate)}renderInstance(e,n,i,r){Nr(e,n,i,r)}mount(e){this.isSVGTag=jn(e.tagName),super.mount(e)}}const qf=(t,e)=>On(t)?new Kf(e):new $f(e,{allowProjection:t!==C.Fragment}),eh={...Dd,...Yl,...kf,...{layout:{ProjectionNode:Qo,MeasureLayout:Ao}}},un=el((t,e)=>Ml(t,e,eh,qf));function ta(){const t=C.useRef(!1);return Dn(()=>(t.current=!0,()=>{t.current=!1}),[]),t}function th(){const t=ta(),[e,n]=C.useState(0),i=C.useCallback(()=>{t.current&&n(e+1)},[e]);return[C.useCallback(()=>O.postRender(i),[i]),e]}class nh 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 ih({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(Gn);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=jr(ph),a=I.useId(),l=I.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 I.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 I.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 I.Children.forEach(e,n=>{I.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=I.useContext(Hn).forceRender||dh()[0],a=ua(),l=bh(e);let c=l;const d=I.useRef(new Map).current,f=I.useRef(c),h=I.useRef(new Map).current,m=I.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(C=>A.jsx(Wi,{isPresent:!0,initial:n?void 0:!1,presenceAffectsLayout:s,mode:o,children:C},Ke(C)))});c=[...c];const p=f.current.map(Ke),g=l.map(Ke),b=p.length;for(let C=0;C<b;C++){const v=p[C];g.indexOf(v)===-1&&!d.has(v)&&d.set(v,void 0)}return o==="wait"&&d.size&&(c=[]),d.forEach((C,v)=>{if(g.indexOf(v)!==-1)return;const x=h.get(v);if(!x)return;const y=p.indexOf(v);let T=C;if(!T){const E=()=>{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()}};T=A.jsx(Wi,{isPresent:!1,onExitComplete:E,custom:t,presenceAffectsLayout:s,mode:o,children:x},Ke(x)),d.set(v,T)}c.splice(y,0,T)}),c=c.map(C=>{const v=C.key;return d.has(v)?C:A.jsx(Wi,{isPresent:!0,presenceAffectsLayout:s,mode:o,children:C},Ke(C))}),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(C=>I.cloneElement(C))})},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=mr(),u=I.useCallback(()=>{o.removeToast(t)},[t,o]);return I.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(Ie.toast,Ie[n]),children:[A.jsx("div",{className:Ie["toast-icon"],children:r}),A.jsx("div",{className:Ie["toast-content"],children:A.jsx("p",{className:Ie["toast-title"],children:i})}),A.jsx("div",{className:Ie["toast-close"],children:A.jsx("button",{type:"button",className:Ie["toast-close-btn"],onClick:u,children:A.jsx("span",{className:Ie["toast-close-btn-icon"],children:A.jsx(Uu,{})})})})]})},t)};function Ih(e){const{children:t}=e,[n,i]=I.useState(!1);I.useEffect(()=>{i(!0)},[]);const r=document.getElementById("biznext-ui-toast-portal");return n&&r?Re.createPortal(t,r):Re.createPortal(t,document.body)}const Ch=e=>{const{toasts:t,toastPosition:n="top-center"}=e;return A.jsx(Ih,{children:A.jsx("div",{className:tt(Ie["toasts-container"],Ie[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 Th=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);const la={randomUUID:Th};function Eh(e,t,n){if(la.randomUUID&&!t&&!e)return la.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]=I.useState(!1);I.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"})]})]})})})})})})},ca=I.createContext(e=>console.warn("Biznext-UI-ConfirmDialog: Function not Implemented!",e)),Bh=({children:e,toastPosition:t})=>{const n={toasts:[]},[i,r]=I.useReducer(Du,n),s=(v,x,y)=>{const T=Eh();r({type:"ADD_TOAST",payload:{id:T,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]=I.useState({}),[m,p]=I.useState(!1),g=v=>{h(v),p(!0)},b=()=>{p(!1)},C=g;return A.jsx(pr.Provider,{value:d,children:A.jsxs(ca.Provider,{value:C,children:[A.jsx(Ph,{}),A.jsx(Ch,{toasts:i.toasts,toastPosition:t}),A.jsx(Fh,{isOpen:m,onClose:b,config:f}),e]})})},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 Gh(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 Mh(e){const{children:t}=e,[n,i]=I.useState(!1);I.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=I.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(Mh,{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})]})})})})},Dh=ct,Nh=({children:e})=>A.jsx("div",{className:me["modal-content"],children:e}),Lh=({children:e})=>{const{onClose:t}=I.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(Gh,{})})]})},Wh=({children:e})=>A.jsx("h2",{className:me["modal-title"],children:e}),Rh=({children:e})=>A.jsx("div",{className:me["modal-body"],children:e}),Oh=e=>{const{children:t,closeTitle:n}=e,{onClose:i}=I.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=Nh,ct.Header=Lh,ct.Title=Wh,ct.Body=Rh,ct.Footer=Oh;const Xh=()=>I.useContext(ca),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 Zh(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 da(e){var t=Zh(e,"string");return qe(t)=="symbol"?t:t+""}function Dt(e,t,n){return(t=da(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fa(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?fa(Object(n),!0).forEach(function(i){Dt(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fa(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function Hh(e){if(Array.isArray(e))return e}function kh(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 ha(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 zh(){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
|
|
15
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ki(e){return ep(e)||tp(e)||ha(e)||np()}var ip=!1;function rp(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 sp(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 op=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?!ip: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(sp(this));var r=this.tags[this.tags.length-1];if(this.isSpeedy){var s=rp(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-",ga="comm",zi="rule",ji="decl",ap="@import",ba="@keyframes",up="@layer",lp=Math.abs,mn=String.fromCharCode,cp=Object.assign;function dp(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 va(e){return e.trim()}function fp(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 hp(e,t){return e.map(t).join("")}var bn=1,dt=1,ya=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 cp(vn("",null,null,"",null,null,0),e,{length:-e.length},t)}function pp(){return U}function mp(){return U=se>0?q(ft,--se):0,dt--,U===10&&(dt=1,bn--),U}function le(){return U=se<ya?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,ya=xe(ft=e),se=0,[]}function Ca(e){return ft="",e}function In(e){return va(Wt(se-1,Ui(e===91?e+2:e===40?e+1:e)))}function gp(e){for(;(U=Ae())&&U<33;)le();return Rt(e)>2||Rt(U)>3?"":" "}function bp(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 vp(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 yp(e){for(;!Rt(Ae());)le();return Wt(e,se)}function Ip(e){return Ca(Cn("",null,null,null,[""],e=Ia(e),0,[0],e))}function Cn(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,C=0,v="",x=r,y=s,T=i,E=v;g;)switch(m=C,C=le()){case 40:if(m!=108&&q(E,d-1)==58){Yi(E+=W(In(C),"&","&\f"),"&\f")!=-1&&(b=-1);break}case 34:case 39:case 91:E+=In(C);break;case 9:case 10:case 13:case 32:E+=gp(m);break;case 92:E+=bp(yn()-1,7);continue;case 47:switch(Ae()){case 42:case 47:gn(Cp(vp(le(),yn()),t,n),a);break;default:E+="/"}break;case 123*p:u[l++]=xe(E)*b;case 125*p:case 59:case 0:switch(C){case 0:case 125:g=0;case 59+c:b==-1&&(E=W(E,/\f/g,"")),h>0&&xe(E)-d&&gn(h>32?Aa(E+";",i,n,d-1):Aa(W(E," ","")+";",i,n,d-2),a);break;case 59:E+=";";default:if(gn(T=xa(E,t,n,l,c,r,u,v,x=[],y=[],d),s),C===123)if(c===0)Cn(E,t,T,T,x,s,d,u,y);else switch(f===99&&q(E,3)===110?100:f){case 100:case 108:case 109:case 115:Cn(e,T,T,i&&gn(xa(e,T,T,0,0,r,u,v,r,x=[],d),y),r,y,d,u,i?x:y);break;default:Cn(E,T,T,T,[""],y,0,u,y)}}l=c=h=0,p=b=1,v=E="",d=o;break;case 58:d=1+xe(E),h=m;default:if(p<1){if(C==123)--p;else if(C==125&&p++==0&&mp()==125)continue}switch(E+=mn(C),C*p){case 38:b=c>0?1:(E+="\f",-1);break;case 44:u[l++]=(xe(E)-1)*b,b=1;break;case 64:Ae()===45&&(E+=In(le())),f=Ae(),c=d=xe(v=E+=yp(yn())),C++;break;case 45:m===45&&xe(E)==2&&(p=0)}}return s}function xa(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,C=Nt(e,d+1,d=lp(p=o[m])),v=e;b<h;++b)(v=va(p>0?f[b]+" "+C:W(C,/&\f/g,f[b])))&&(a[g++]=v);return vn(e,t,n,r===0?zi:u,a,l,c)}function Cp(e,t,n){return vn(e,t,n,ga,mn(pp()),Nt(e,2,-2),0)}function Aa(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 xp(e,t,n,i){switch(e.type){case up:if(e.children.length)break;case ap:case ji:return e.return=e.return||e.value;case ga:return"";case ba: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 Ap(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 Sp(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 Ep=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)},Pp=function(t,n){var i=-1,r=44;do switch(Rt(r)){case 0:r===38&&Ae()===12&&(n[i]=1),t[i]+=Ep(se-1,n,i);break;case 2:t[i]+=In(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},Vp=function(t,n){return Ca(Pp(Ia(t),n))},Sa=new WeakMap,wp=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&&!Sa.get(i))&&!r){Sa.set(t,!0);for(var s=[],o=Vp(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]}}},Fp=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(dp(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 Bp=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 ba:return ht([Lt(t,{value:W(t.value,"@","@"+L)})],r);case zi:if(t.length)return hp(t.props,function(s){switch(fp(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""})}},Gp=[Bp],Mp=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||Gp,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=[wp,Fp];{var c,d=[xp,Sp(function(p){c.insert(p)})],f=Ap(l.concat(r,d)),h=function(g){return ht(Ip(g),f)};a=function(g,b,C,v){c=C,h(g?g+"{"+b.styles+"}":b.styles),v&&(m.inserted[b.name]=!0)}}var m={key:n,sheet:new op({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]),E.jsx(nh,{isPresent:e,childRef:i,sizeRef:r,children:G.cloneElement(t,{ref:i})})}const Mi=({children:t,initial:e,isPresent:n,onExitComplete:i,custom:r,presenceAffectsLayout:s,mode:o})=>{const u=Lr(rh),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=E.jsx(ih,{isPresent:n,children:t})),E.jsx(Zt.Provider,{value:l,children:t})};function rh(){return new Map}function sh(t){return C.useEffect(()=>()=>t(),[])}const Ue=t=>t.key||"";function oh(t,e){t.forEach(n=>{const i=Ue(n);e.set(i,n)})}function ah(t){const e=[];return C.Children.forEach(t,n=>{C.isValidElement(n)&&e.push(n)}),e}const na=({children:t,custom:e,initial:n=!0,onExitComplete:i,exitBeforeEnter:r,presenceAffectsLayout:s=!0,mode:o="sync"})=>{Ee(!r,"Replace exitBeforeEnter with mode='wait'");const u=C.useContext(Ln).forceRender||th()[0],a=ta(),l=ah(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(Dn(()=>{m.current=!1,oh(l,h),f.current=c}),sh(()=>{m.current=!0,h.clear(),d.clear()}),m.current)return E.jsx(E.Fragment,{children:c.map(I=>E.jsx(Mi,{isPresent:!0,initial:n?void 0:!1,presenceAffectsLayout:s,mode:o,children:I},Ue(I)))});c=[...c];const p=f.current.map(Ue),g=l.map(Ue),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 N=Ue(M);return N===v||A.includes(N)}),!d.size){if(a.current===!1)return;u(),i&&i()}};S=E.jsx(Mi,{isPresent:!1,onExitComplete:P,custom:e,presenceAffectsLayout:s,mode:o,children:x},Ue(x)),d.set(v,S)}c.splice(y,0,S)}),c=c.map(I=>{const v=I.key;return d.has(v)?I:E.jsx(Mi,{isPresent:!0,presenceAffectsLayout:s,mode:o,children:I},Ue(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.`),E.jsx(E.Fragment,{children:d.size?c:c.map(I=>C.cloneElement(I))})},uh=t=>{const{isOpen:e,onClose:n,config:i}=t,{type:r,title:s,description:o,icon:u,onConfirm:a,buttonContent:l}=i,c=()=>{n()},d=()=>{a(),n()};return E.jsx(Wu,{children:E.jsx("div",{className:he["confirm-dialog-wrapper"],children:E.jsx(na,{children:e&&E.jsx(un.div,{className:he["confirm-dialog-overlay"],initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},children:E.jsx(un.div,{className:Ot(he["confirm-dialog"],he[r]),initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.95},children:E.jsxs("div",{className:he["confirm-dialog-content"],children:[E.jsxs("div",{className:he["confirm-dialog-body"],children:[E.jsx("div",{className:he["confirm-dialog-icon-container"],children:E.jsx("div",{className:he["confirm-dialog-icon"],children:u||E.jsx(Nu,{})})}),E.jsxs("div",{children:[E.jsx("h2",{children:s}),E.jsx("p",{children:o})]})]}),E.jsxs("div",{className:he["confirm-dialog-footer"],children:[E.jsx("button",{type:"button",className:he["confirm-dialog-footer-close-btn"],onClick:c,children:l&&l.onCloseTitle?l.onCloseTitle:"Cancel"}),E.jsx("button",{type:"button",className:he["confirm-dialog-footer-confirm-btn"],onClick:d,children:l&&l.onConfirmTitle?l.onConfirmTitle:"Confirm"})]})]})})})})})})},ia=C.createContext({}),lh=({children:t,toastPosition:e})=>{console.log(e,"toastPosition");const[n,i]=C.useState({}),[r,s]=C.useState(!1),o=l=>{i(l),s(!0)},u=()=>{s(!1)},a=o;return E.jsxs(ia.Provider,{value:a,children:[E.jsx(Tu,{}),E.jsx(uh,{isOpen:r,onClose:u,config:n}),t]})},pe={"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 ch(t){return fr({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 dh(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?$e.createPortal(e,r):$e.createPortal(e,document.body)}const Di=C.createContext({onClose:()=>console.warn("Biznext-UI-Modal: Close Function not Implemented!")}),ot=t=>{const{type:e,index:n,height:i,width:r,sx:s,isOpen:o,onClose:u,children:a}=t;return E.jsx(Di.Provider,{value:{onClose:u},children:E.jsx(dh,{children:E.jsx(na,{children:o&&E.jsxs("div",{className:pe["modal-wrapper"],children:[E.jsx(un.div,{className:pe["modal-overlay"],style:{zIndex:9999+(n||0)},onClick:u,initial:{opacity:0},animate:{opacity:1},exit:{opacity:0}}),E.jsx(un.div,{initial:{opacity:0,scale:.95},className:Ot(pe.modal,pe[e]),style:{height:i,width:r,zIndex:99999+(n||0),...s},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.95},children:a})]})})})})},fh=ot,hh=({children:t})=>E.jsx("div",{className:pe["modal-content"],children:t}),ph=({children:t})=>{const{onClose:e}=C.useContext(Di);return E.jsxs("header",{id:"handle",className:pe["modal-header"],children:[t,E.jsx("button",{type:"button",className:pe["module-header-close-btn"],onClick:e,children:E.jsx(ch,{})})]})},mh=({children:t})=>E.jsx("h2",{className:pe["modal-title"],children:t}),gh=({children:t})=>E.jsx("div",{className:pe["modal-body"],children:t}),bh=t=>{const{children:e,closeTitle:n}=t,{onClose:i}=C.useContext(Di);return E.jsxs("footer",{className:pe["modal-footer"],children:[e,E.jsx("button",{type:"button",className:pe["modal-footer-close-btn"],onClick:i,children:n||"Cancel"})]})};ot.Content=hh,ot.Header=ph,ot.Title=mh,ot.Body=gh,ot.Footer=bh;const vh=C.createContext({}),yh=()=>C.useContext(vh),Ih=()=>C.useContext(ia),me={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 _e(t){"@babel/helpers - typeof";return _e=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},_e(t)}function Ch(t,e){if(_e(t)!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var i=n.call(t,e||"default");if(_e(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function ra(t){var e=Ch(t,"string");return _e(e)=="symbol"?e:e+""}function wt(t,e,n){return(e=ra(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function sa(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 w(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?sa(Object(n),!0).forEach(function(i){wt(t,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):sa(Object(n)).forEach(function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(n,i))})}return t}function xh(t){if(Array.isArray(t))return t}function Ah(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 Ni(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 oa(t,e){if(t){if(typeof t=="string")return Ni(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)?Ni(t,e):void 0}}function Sh(){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 Me(t,e){return xh(t)||Ah(t,e)||oa(t,e)||Sh()}function Ph(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 De(t,e){if(t==null)return{};var n,i,r=Ph(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 Eh=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function Th(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=De(t,Eh),p=C.useState(u!==void 0?u:n),g=Me(p,2),b=g[0],I=g[1],v=C.useState(a!==void 0?a:r),x=Me(v,2),y=x[0],S=x[1],P=C.useState(h!==void 0?h:o),A=Me(P,2),M=A[0],N=A[1],k=C.useCallback(function(_,Ae){typeof l=="function"&&l(_,Ae),N(_)},[l]),Y=C.useCallback(function(_,Ae){var ge;typeof c=="function"&&(ge=c(_,Ae)),I(ge!==void 0?ge:_)},[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,L=a!==void 0?a:y,ne=h!==void 0?h:M;return w(w({},m),{},{inputValue:D,menuIsOpen:L,onChange:k,onInputChange:Y,onMenuClose:se,onMenuOpen:le,value:ne})}function B(){return B=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},B.apply(null,arguments)}function Vh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function aa(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,ra(i.key),i)}}function wh(t,e,n){return e&&aa(t.prototype,e),n&&aa(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function Wi(t,e){return Wi=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},Wi(t,e)}function Fh(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&&Wi(t,e)}function ln(t){return ln=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ln(t)}function ua(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(ua=function(){return!!t})()}function Bh(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Gh(t,e){if(e&&(_e(e)=="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Bh(t)}function Mh(t){var e=ua();return function(){var n,i=ln(t);if(e){var r=ln(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return Gh(this,n)}}function Dh(t){if(Array.isArray(t))return Ni(t)}function Nh(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Wh(){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 Dh(t)||Nh(t)||oa(t)||Wh()}var Rh=!1;function Lh(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 Oh(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 Xh=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?!Rh: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(Oh(this));var r=this.tags[this.tags.length-1];if(this.isSpeedy){var s=Lh(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-",cn="-moz-",W="-webkit-",la="comm",Li="rule",Oi="decl",Zh="@import",ca="@keyframes",Hh="@layer",kh=Math.abs,dn=String.fromCharCode,zh=Object.assign;function jh(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 da(t){return t.trim()}function Yh(t,e){return(t=e.exec(t))?t[0]:t}function R(t,e,n){return t.replace(e,n)}function Xi(t,e){return t.indexOf(e)}function K(t,e){return t.charCodeAt(e)|0}function Ft(t,e,n){return t.slice(e,n)}function Ie(t){return t.length}function Zi(t){return t.length}function fn(t,e){return e.push(t),t}function Jh(t,e){return t.map(e).join("")}var hn=1,at=1,fa=0,re=0,U=0,ut="";function pn(t,e,n,i,r,s,o){return{value:t,root:e,parent:n,type:i,props:r,children:s,line:hn,column:at,length:o,return:""}}function Bt(t,e){return zh(pn("",null,null,"",null,null,0),t,{length:-t.length},e)}function Uh(){return U}function _h(){return U=re>0?K(ut,--re):0,at--,U===10&&(at=1,hn--),U}function ue(){return U=re<fa?K(ut,re++):0,at++,U===10&&(at=1,hn++),U}function Ce(){return K(ut,re)}function mn(){return re}function Gt(t,e){return Ft(ut,t,e)}function Mt(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 ha(t){return hn=at=1,fa=Ie(ut=t),re=0,[]}function pa(t){return ut="",t}function gn(t){return da(Gt(re-1,Hi(t===91?t+2:t===40?t+1:t)))}function Qh(t){for(;(U=Ce())&&U<33;)ue();return Mt(t)>2||Mt(U)>3?"":" "}function $h(t,e){for(;--e&&ue()&&!(U<48||U>102||U>57&&U<65||U>70&&U<97););return Gt(t,mn()+(e<6&&Ce()==32&&ue()==32))}function Hi(t){for(;ue();)switch(U){case t:return re;case 34:case 39:t!==34&&t!==39&&Hi(U);break;case 40:t===41&&Hi(t);break;case 92:ue();break}return re}function Kh(t,e){for(;ue()&&t+U!==57;)if(t+U===84&&Ce()===47)break;return"/*"+Gt(e,re-1)+"*"+dn(t===47?t:ue())}function qh(t){for(;!Mt(Ce());)ue();return Gt(t,re)}function ep(t){return pa(bn("",null,null,null,[""],t=ha(t),0,[0],t))}function bn(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){Xi(P+=R(gn(I),"&","&\f"),"&\f")!=-1&&(b=-1);break}case 34:case 39:case 91:P+=gn(I);break;case 9:case 10:case 13:case 32:P+=Qh(m);break;case 92:P+=$h(mn()-1,7);continue;case 47:switch(Ce()){case 42:case 47:fn(tp(Kh(ue(),mn()),e,n),a);break;default:P+="/"}break;case 123*p:u[l++]=Ie(P)*b;case 125*p:case 59:case 0:switch(I){case 0:case 125:g=0;case 59+c:b==-1&&(P=R(P,/\f/g,"")),h>0&&Ie(P)-d&&fn(h>32?ga(P+";",i,n,d-1):ga(R(P," ","")+";",i,n,d-2),a);break;case 59:P+=";";default:if(fn(S=ma(P,e,n,l,c,r,u,v,x=[],y=[],d),s),I===123)if(c===0)bn(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:bn(t,S,S,i&&fn(ma(t,S,S,0,0,r,u,v,r,x=[],d),y),r,y,d,u,i?x:y);break;default:bn(P,S,S,S,[""],y,0,u,y)}}l=c=h=0,p=b=1,v=P="",d=o;break;case 58:d=1+Ie(P),h=m;default:if(p<1){if(I==123)--p;else if(I==125&&p++==0&&_h()==125)continue}switch(P+=dn(I),I*p){case 38:b=c>0?1:(P+="\f",-1);break;case 44:u[l++]=(Ie(P)-1)*b,b=1;break;case 64:Ce()===45&&(P+=gn(ue())),f=Ce(),c=d=Ie(v=P+=qh(mn())),I++;break;case 45:m===45&&Ie(P)==2&&(p=0)}}return s}function ma(t,e,n,i,r,s,o,u,a,l,c){for(var d=r-1,f=r===0?s:[""],h=Zi(f),m=0,p=0,g=0;m<i;++m)for(var b=0,I=Ft(t,d+1,d=kh(p=o[m])),v=t;b<h;++b)(v=da(p>0?f[b]+" "+I:R(I,/&\f/g,f[b])))&&(a[g++]=v);return pn(t,e,n,r===0?Li:u,a,l,c)}function tp(t,e,n){return pn(t,e,n,la,dn(Uh()),Ft(t,2,-2),0)}function ga(t,e,n,i){return pn(t,e,n,Oi,Ft(t,0,i),Ft(t,i+1,-1),i)}function lt(t,e){for(var n="",i=Zi(t),r=0;r<i;r++)n+=e(t[r],r,t,e)||"";return n}function np(t,e,n,i){switch(t.type){case Hh:if(t.children.length)break;case Zh:case Oi:return t.return=t.return||t.value;case la:return"";case ca:return t.return=t.value+"{"+lt(t.children,i)+"}";case Li:t.value=t.props.join(",")}return Ie(n=lt(t.children,i))?t.return=t.value+"{"+n+"}":""}function ip(t){var e=Zi(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 rp(t){return function(e){e.root||(e=e.return)&&t(e)}}function sp(t){var e=Object.create(null);return function(n){return e[n]===void 0&&(e[n]=t(n)),e[n]}}var op=function(e,n,i){for(var r=0,s=0;r=s,s=Ce(),r===38&&s===12&&(n[i]=1),!Mt(s);)ue();return Gt(e,re)},ap=function(e,n){var i=-1,r=44;do switch(Mt(r)){case 0:r===38&&Ce()===12&&(n[i]=1),e[i]+=op(re-1,n,i);break;case 2:e[i]+=gn(r);break;case 4:if(r===44){e[++i]=Ce()===58?"&\f":"",n[i]=e[i].length;break}default:e[i]+=dn(r)}while(r=ue());return e},up=function(e,n){return pa(ap(ha(e),n))},ba=new WeakMap,lp=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&&!ba.get(i))&&!r){ba.set(e,!0);for(var s=[],o=up(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]}}},cp=function(e){if(e.type==="decl"){var n=e.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(e.return="",e.value="")}};function va(t,e){switch(jh(t,e)){case 5103:return W+"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 W+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return W+t+cn+t+te+t+t;case 6828:case 4268:return W+t+te+t+t;case 6165:return W+t+te+"flex-"+t+t;case 5187:return W+t+R(t,/(\w+).+(:[^]+)/,W+"box-$1$2"+te+"flex-$1$2")+t;case 5443:return W+t+te+"flex-item-"+R(t,/flex-|-self/,"")+t;case 4675:return W+t+te+"flex-line-pack"+R(t,/align-content|flex-|-self/,"")+t;case 5548:return W+t+te+R(t,"shrink","negative")+t;case 5292:return W+t+te+R(t,"basis","preferred-size")+t;case 6060:return W+"box-"+R(t,"-grow","")+W+t+te+R(t,"grow","positive")+t;case 4554:return W+R(t,/([^-])(transform)/g,"$1"+W+"$2")+t;case 6187:return R(R(R(t,/(zoom-|grab)/,W+"$1"),/(image-set)/,W+"$1"),t,"")+t;case 5495:case 3959:return R(t,/(image-set\([^]*)/,W+"$1$`$1");case 4968:return R(R(t,/(.+:)(flex-)?(.*)/,W+"box-pack:$3"+te+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+W+t+t;case 4095:case 3583:case 4068:case 2532:return R(t,/(.+)-inline(.+)/,W+"$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(Ie(t)-1-e>6)switch(K(t,e+1)){case 109:if(K(t,e+4)!==45)break;case 102:return R(t,/(.+:)(.+)-([^]+)/,"$1"+W+"$2-$3$1"+cn+(K(t,e+3)==108?"$3":"$2-$3"))+t;case 115:return~Xi(t,"stretch")?va(R(t,"stretch","fill-available"),e)+t:t}break;case 4949:if(K(t,e+1)!==115)break;case 6444:switch(K(t,Ie(t)-3-(~Xi(t,"!important")&&10))){case 107:return R(t,":",":"+W)+t;case 101:return R(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+W+(K(t,14)===45?"inline-":"")+"box$3$1"+W+"$2$3$1"+te+"$2box$3")+t}break;case 5936:switch(K(t,e+11)){case 114:return W+t+te+R(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return W+t+te+R(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return W+t+te+R(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return W+t+te+t+t}return t}var dp=function(e,n,i,r){if(e.length>-1&&!e.return)switch(e.type){case Oi:e.return=va(e.value,e.length);break;case ca:return lt([Bt(e,{value:R(e.value,"@","@"+W)})],r);case Li:if(e.length)return Jh(e.props,function(s){switch(Yh(s,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return lt([Bt(e,{props:[R(s,/:(read-\w+)/,":"+cn+"$1")]})],r);case"::placeholder":return lt([Bt(e,{props:[R(s,/:(plac\w+)/,":"+W+"input-$1")]}),Bt(e,{props:[R(s,/:(plac\w+)/,":"+cn+"$1")]}),Bt(e,{props:[R(s,/:(plac\w+)/,te+"input-$1")]})],r)}return""})}},fp=[dp],hp=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||fp,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=[lp,cp];{var c,d=[np,rp(function(p){c.insert(p)})],f=ip(l.concat(r,d)),h=function(g){return lt(ep(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 Xh({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},ki={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
|
|
22
|
+
*/var ya;function pp(){if(ya)return X;ya=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 Pa;function Np(){return Pa||(Pa=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,C=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===C||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,T=l,E=u,S=o,M=t,N=c,k=i,Y=m,ce=h,oe=n,D=s,R=r,ie=d,_=!1;function Te(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 Ee(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=T,Z.ContextConsumer=E,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=Te,Z.isConcurrentMode=be,Z.isContextConsumer=gt,Z.isContextProvider=J,Z.isElement=re,Z.isForwardRef=ve,Z.isFragment=Ee,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=Dp():_i.exports=Np();var Lp=_i.exports,Va=Lp,Wp={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Rp={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},wa={};wa[Va.ForwardRef]=Wp,wa[Va.Memo]=Rp;var Op=!0;function Xp(e,t,n){var i="";return n.split(" ").forEach(function(r){e[r]!==void 0?t.push(e[r]+";"):i+=r+" "}),i}var Fa=function(t,n,i){var r=t.key+"-"+n.name;(i===!1||Op===!1)&&t.registered[r]===void 0&&(t.registered[r]=n.styles)},Zp=function(t,n,i){Fa(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 Hp(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 kp={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},zp=!1,jp=/[A-Z]|^ms/g,Yp=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Ba=function(t){return t.charCodeAt(1)===45},Ga=function(t){return t!=null&&typeof t!="boolean"},Qi=Tp(function(e){return Ba(e)?e:e.replace(jp,"-$&").toLowerCase()}),Ma=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(Yp,function(i,r,s){return Se={name:r,styles:s,next:Se},r})}return kp[t]!==1&&!Ba(t)&&typeof n=="number"&&n!==0?n+"px":n},Jp="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 Up(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 Up(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;Ga(u)&&(i+=Qi(s)+":"+Ma(s,u)+";")}else{if(s==="NO_COMPONENT_SELECTOR"&&zp)throw new Error(Jp);if(Array.isArray(o)&&typeof o[0]=="string"&&t==null)for(var a=0;a<o.length;a++)Ga(o[a])&&(i+=Qi(s)+":"+Ma(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 Da=/label:\s*([^\s;\n{]+)\s*(;|$)/g,Se;function Na(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]}Da.lastIndex=0;for(var l="",c;(c=Da.exec(r))!==null;)l+="-"+c[1];var d=Hp(r)+l;return{name:d,styles:r,next:Se}}var _p=function(t){return t()},Qp=G.useInsertionEffect?G.useInsertionEffect:!1,$p=Qp||_p,Kp=!1,La=G.createContext(typeof HTMLElement<"u"?Mp({key:"css"}):null);La.Provider;var qp=function(t){return I.forwardRef(function(n,i){var r=I.useContext(La);return t(n,r,i)})},em=G.createContext({}),$i={}.hasOwnProperty,Ki="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",tm=function(t,n){var i={};for(var r in n)$i.call(n,r)&&(i[r]=n[r]);return i[Ki]=t,i},nm=function(t){var n=t.cache,i=t.serialized,r=t.isStringTag;return Fa(n,i,r),$p(function(){return Zp(n,i,r)}),null},im=qp(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=Xp(t.registered,s,e.className):e.className!=null&&(o=e.className+" ");var u=Na(s,void 0,G.useContext(em));o+=t.key+"-"+u.name;var a={};for(var l in e)$i.call(e,l)&&l!=="css"&&l!==Ki&&!Kp&&(a[l]=e[l]);return a.className=o,n&&(a.ref=n),G.createElement(G.Fragment,null,G.createElement(nm,{cache:t,serialized:u,isStringTag:typeof r=="string"}),G.createElement(r,a))}),rm=im,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]=rm,s[1]=tm(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 Na(t)}var sm=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 om(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}const am=Math.min,um=Math.max,xn=Math.round,An=Math.floor,Sn=e=>({x:e,y:e});function lm(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 Wa(e){return Oa(e)?(e.nodeName||"").toLowerCase():"#document"}function We(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Ra(e){var t;return(t=(Oa(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Oa(e){return e instanceof Node||e instanceof We(e).Node}function cm(e){return e instanceof Element||e instanceof We(e).Element}function er(e){return e instanceof HTMLElement||e instanceof We(e).HTMLElement}function Xa(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof We(e).ShadowRoot}function Za(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 dm(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function fm(e){return["html","body","#document"].includes(Wa(e))}function tr(e){return We(e).getComputedStyle(e)}function hm(e){if(Wa(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Xa(e)&&e.host||Ra(e);return Xa(t)?t.host:t}function Ha(e){const t=hm(e);return fm(t)?e.ownerDocument?e.ownerDocument.body:e.body:er(t)&&Za(t)?t:Ha(t)}function Tn(e,t,n){var i;t===void 0&&(t=[]),n===void 0&&(n=!0);const r=Ha(e),s=r===((i=e.ownerDocument)==null?void 0:i.body),o=We(r);return s?t.concat(o,o.visualViewport||[],Za(r)?r:[],o.frameElement&&n?Tn(o.frameElement):[]):t.concat(r,Tn(r,[],n))}function pm(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 cm(e)?e:e.contextElement}function ka(e){const t=nr(e);if(!er(t))return Sn(1);const n=t.getBoundingClientRect(),{width:i,height:r,$:s}=pm(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 mm=Sn(0);function gm(e){const t=We(e);return!dm()||!t.visualViewport?mm:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function bm(e,t,n){return!1}function za(e,t,n,i){t===void 0&&(t=!1);const r=e.getBoundingClientRect(),s=nr(e);let o=Sn(1);t&&(o=ka(e));const u=bm()?gm(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=ka(p),b=p.getBoundingClientRect(),C=tr(p),v=b.left+(p.clientLeft+parseFloat(C.paddingLeft))*g.x,x=b.top+(p.clientTop+parseFloat(C.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 lm({width:c,height:d,x:a,y:l})}function vm(e,t){let n=null,i;const r=Ra(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),C={rootMargin:-h+"px "+-m+"px "+-p+"px "+-g+"px",threshold:um(0,am(1,a))||1};let v=!0;function x(y){const T=y[0].intersectionRatio;if(T!==a){if(!v)return o();T?o(!1,T):i=setTimeout(()=>{o(!1,1e-7)},1e3)}v=!1}try{n=new IntersectionObserver(x,{...C,root:r.ownerDocument})}catch{n=new IntersectionObserver(x,C)}n.observe(e)}return o(!0),s}function ym(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?Tn(l):[],...Tn(t)]:[];c.forEach(b=>{r&&b.addEventListener("scroll",n,{passive:!0}),s&&b.addEventListener("resize",n)});const d=l&&u?vm(l,n):null;let f=-1,h=null;o&&(h=new ResizeObserver(b=>{let[C]=b;C&&C.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?za(e):null;a&&g();function g(){const b=za(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(C=>{r&&C.removeEventListener("scroll",n),s&&C.removeEventListener("resize",n)}),d==null||d(),(b=h)==null||b.disconnect(),h=null,a&&cancelAnimationFrame(m)}}var ir=I.useLayoutEffect,Im=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],En=function(){};function Cm(e,t){return t?t[0]==="-"?e+t:e+"__"+t:e}function xm(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(Cm(e,o)));return s.filter(function(u){return u}).map(function(u){return String(u).trim()}).join(" ")}var ja=function(t){return Bm(t)?t.filter(Boolean):qe(t)==="object"&&t!==null?[t]:[]},Ya=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 Am(e){return Pn(e)?window.innerHeight:e.clientHeight}function Ja(e){return Pn(e)?window.pageYOffset:e.scrollTop}function Vn(e,t){if(Pn(e)){window.scrollTo(0,t);return}e.scrollTop=t}function Sm(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]:En,r=Ja(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 Ua(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 Em(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 _a(){try{return document.createEvent("TouchEvent"),!0}catch{return!1}}function Pm(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}var Qa=!1,Vm={get passive(){return Qa=!0}},Fn=typeof window<"u"?window:{};Fn.addEventListener&&Fn.removeEventListener&&(Fn.addEventListener("p",En,Vm),Fn.removeEventListener("p",En,!1));var wm=Qa;function Fm(e){return e!=null}function Bm(e){return Array.isArray(e)}function Bn(e,t,n){return e?t:n}function gb(e){return e}function bb(e){return e}var Gm=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},{})},Mm=["children","innerProps"],Dm=["children","innerProps"];function Nm(e){var t=e.maxHeight,n=e.menuEl,i=e.minHeight,r=e.placement,s=e.shouldScroll,o=e.isFixedPosition,u=e.controlHeight,a=Sm(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,C=o?window.innerHeight:Am(a),v=Ja(a),x=parseInt(getComputedStyle(n).marginBottom,10),y=parseInt(getComputedStyle(n).marginTop,10),T=b-y,E=C-p,S=T+v,M=d-v-p,N=h-C+v+x,k=v+p-y,Y=160;switch(r){case"auto":case"bottom":if(E>=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&&E>=i){s&&wn(a,N,Y);var ce=o?E-x:M-x;return{placement:"bottom",maxHeight:ce}}if(r==="auto"||o){var oe=t,D=o?T: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(T>=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&&T>=i){var R=t;return(!o&&S>=i||o&&T>=i)&&(R=o?T-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 Lm(e){var t={bottom:"top",top:"bottom"};return e?t[e]:"bottom"}var $a=function(t){return t==="auto"?"bottom":t},Wm=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,Lm(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})},Ka=I.createContext(null),Rm=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=I.useContext(Ka)||{},c=l.setPortalPlacement,d=I.useRef(null),f=I.useState(r),h=Ne(f,2),m=h[0],p=h[1],g=I.useState(null),b=Ne(g,2),C=b[0],v=b[1],x=a.spacing.controlHeight;return ir(function(){var y=d.current;if(y){var T=o==="fixed",E=u&&!T,S=Nm({maxHeight:r,menuEl:y,minHeight:i,placement:s,shouldScroll:E,isFixedPosition:T,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:C||$a(s),maxHeight:m})})},Om=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)},Xm=Om,Zm=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})},Hm=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)},qa=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")})},km=qa,zm=qa,jm=function(t){var n=t.children,i=n===void 0?"No options":n,r=t.innerProps,s=Le(t,Mm);return V("div",B({},z(w(w({},s),{},{children:i,innerProps:r}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),r),i)},Ym=function(t){var n=t.children,i=n===void 0?"Loading...":n,r=t.innerProps,s=Le(t,Dm);return V("div",B({},z(w(w({},s),{},{children:i,innerProps:r}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),r),i)},Jm=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}},Um=function(t){var n=t.appendTo,i=t.children,r=t.controlElement,s=t.innerProps,o=t.menuPlacement,u=t.menuPosition,a=I.useRef(null),l=I.useRef(null),c=I.useState($a(o)),d=Ne(c,2),f=d[0],h=d[1],m=I.useMemo(function(){return{setPortalPlacement:h}},[]),p=I.useState(null),g=Ne(p,2),b=g[0],C=g[1],v=I.useCallback(function(){if(r){var E=Em(r),S=u==="fixed"?0:window.pageYOffset,M=E[f]+S;(M!==(b==null?void 0:b.offset)||E.left!==(b==null?void 0:b.rect.left)||E.width!==(b==null?void 0:b.rect.width))&&C({offset:M,rect:E})}},[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=I.useCallback(function(){typeof l.current=="function"&&(l.current(),l.current=null),r&&a.current&&(l.current=ym(r,a.current,v,{elementResize:"ResizeObserver"in window}))},[r,v]);ir(function(){x()},[x]);var y=I.useCallback(function(E){a.current=E,x()},[x]);if(!n&&u!=="fixed"||!b)return null;var T=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(Ka.Provider,{value:m},n?Re.createPortal(T,n):T)},_m=function(t){var n=t.isDisabled,i=t.isRtl;return{label:"container",direction:i?"rtl":void 0,pointerEvents:n?"none":void 0,position:"relative"}},Qm=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)},$m=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")})},Km=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)},qm=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},eg=function(t){var n=t.children,i=t.innerProps;return V("div",B({},z(t,"indicatorsContainer",{indicators:!0}),i),n)},eu,tg=["size"],ng=["innerProps","isRtl","size"];function ig(){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 rg=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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNv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mc2V0PXtpc1J0bH0gLz5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXsxNjB9IG9mZnNldCAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezMyMH0gb2Zmc2V0PXshaXNSdGx9IC8+XG4gICAgPC9kaXY+XG4gICk7XG59O1xuIl19 */",toString:ig},tu=function(t){var n=t.size,i=Le(t,tg);return V("svg",B({height:n,width:n,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:rg},i))},rr=function(t){return V(tu,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"}))},nu=function(t){return V(tu,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"}))},iu=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}})},sg=iu,og=function(t){var n=t.children,i=t.innerProps;return V("div",B({},z(t,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),i),n||V(nu,null))},ag=iu,ug=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))},lg=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})},cg=function(t){var n=t.innerProps;return V("span",B({},n,z(t,"indicatorSeparator",{"indicator-separator":!0})))},dg=sm(eu||(eu=om([`
|
|
29
|
+
*/var Ia;function mp(){return Ia||(Ia=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(T){return typeof T=="string"||typeof T=="function"||T===i||T===l||T===s||T===r||T===d||T===f||typeof T=="object"&&T!==null&&(T.$$typeof===m||T.$$typeof===h||T.$$typeof===o||T.$$typeof===u||T.$$typeof===c||T.$$typeof===g||T.$$typeof===b||T.$$typeof===I||T.$$typeof===p)}function x(T){if(typeof T=="object"&&T!==null){var Wt=T.$$typeof;switch(Wt){case e:var Qe=T.type;switch(Qe){case a:case l:case i:case s:case r:case d:return Qe;default:var Bn=Qe&&Qe.$$typeof;switch(Bn){case u:case c:case m:case h:case o:return Bn;default:return Wt}}case n:return Wt}}}var y=a,S=l,P=u,A=o,M=e,N=c,k=i,Y=m,le=h,se=n,D=s,L=r,ne=d,_=!1;function Ae(T){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.")),ge(T)||x(T)===a}function ge(T){return x(T)===l}function ft(T){return x(T)===u}function J(T){return x(T)===o}function ie(T){return typeof T=="object"&&T!==null&&T.$$typeof===e}function be(T){return x(T)===c}function Se(T){return x(T)===i}function ce(T){return x(T)===m}function Pe(T){return x(T)===h}function ve(T){return x(T)===n}function ht(T){return x(T)===s}function ar(T){return x(T)===r}function Fn(T){return x(T)===d}Z.AsyncMode=y,Z.ConcurrentMode=S,Z.ContextConsumer=P,Z.ContextProvider=A,Z.Element=M,Z.ForwardRef=N,Z.Fragment=k,Z.Lazy=Y,Z.Memo=le,Z.Portal=se,Z.Profiler=D,Z.StrictMode=L,Z.Suspense=ne,Z.isAsyncMode=Ae,Z.isConcurrentMode=ge,Z.isContextConsumer=ft,Z.isContextProvider=J,Z.isElement=ie,Z.isForwardRef=be,Z.isFragment=Se,Z.isLazy=ce,Z.isMemo=Pe,Z.isPortal=ve,Z.isProfiler=ht,Z.isStrictMode=ar,Z.isSuspense=Fn,Z.isValidElementType=v,Z.typeOf=x}()),Z}process.env.NODE_ENV==="production"?ki.exports=pp():ki.exports=mp();var gp=ki.exports,Ca=gp,bp={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},vp={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},xa={};xa[Ca.ForwardRef]=bp,xa[Ca.Memo]=vp;var yp=!0;function Ip(t,e,n){var i="";return n.split(" ").forEach(function(r){t[r]!==void 0?e.push(t[r]+";"):i+=r+" "}),i}var Aa=function(e,n,i){var r=e.key+"-"+n.name;(i===!1||yp===!1)&&e.registered[r]===void 0&&(e.registered[r]=n.styles)},Cp=function(e,n,i){Aa(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 xp(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 Ap={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},Sp=!1,Pp=/[A-Z]|^ms/g,Ep=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Sa=function(e){return e.charCodeAt(1)===45},Pa=function(e){return e!=null&&typeof e!="boolean"},zi=sp(function(t){return Sa(t)?t:t.replace(Pp,"-$&").toLowerCase()}),Ea=function(e,n){switch(e){case"animation":case"animationName":if(typeof n=="string")return n.replace(Ep,function(i,r,s){return xe={name:r,styles:s,next:xe},r})}return Ap[e]!==1&&!Sa(e)&&typeof n=="number"&&n!==0?n+"px":n},Tp="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Dt(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 xe={name:r.name,styles:r.styles,next:xe},r.name;var s=n;if(s.styles!==void 0){var o=s.next;if(o!==void 0)for(;o!==void 0;)xe={name:o.name,styles:o.styles,next:xe},o=o.next;var u=s.styles+";";return u}return Vp(t,e,n)}case"function":{if(t!==void 0){var a=xe,l=n(t);return xe=a,Dt(t,e,l)}break}}var c=n;return c}function Vp(t,e,n){var i="";if(Array.isArray(n))for(var r=0;r<n.length;r++)i+=Dt(t,e,n[r])+";";else for(var s in n){var o=n[s];if(typeof o!="object"){var u=o;Pa(u)&&(i+=zi(s)+":"+Ea(s,u)+";")}else{if(s==="NO_COMPONENT_SELECTOR"&&Sp)throw new Error(Tp);if(Array.isArray(o)&&typeof o[0]=="string"&&e==null)for(var a=0;a<o.length;a++)Pa(o[a])&&(i+=zi(s)+":"+Ea(s,o[a])+";");else{var l=Dt(t,e,o);switch(s){case"animation":case"animationName":{i+=zi(s)+":"+l+";";break}default:i+=s+"{"+l+"}"}}}}return i}var Ta=/label:\s*([^\s;\n{]+)\s*(;|$)/g,xe;function Va(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="";xe=void 0;var s=t[0];if(s==null||s.raw===void 0)i=!1,r+=Dt(n,e,s);else{var o=s;r+=o[0]}for(var u=1;u<t.length;u++)if(r+=Dt(n,e,t[u]),i){var a=s;r+=a[u]}Ta.lastIndex=0;for(var l="",c;(c=Ta.exec(r))!==null;)l+="-"+c[1];var d=xp(r)+l;return{name:d,styles:r,next:xe}}var wp=function(e){return e()},Fp=G.useInsertionEffect?G.useInsertionEffect:!1,Bp=Fp||wp,Gp=!1,wa=G.createContext(typeof HTMLElement<"u"?hp({key:"css"}):null);wa.Provider;var Mp=function(e){return C.forwardRef(function(n,i){var r=C.useContext(wa);return e(n,r,i)})},Dp=G.createContext({}),ji={}.hasOwnProperty,Yi="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Np=function(e,n){var i={};for(var r in n)ji.call(n,r)&&(i[r]=n[r]);return i[Yi]=e,i},Wp=function(e){var n=e.cache,i=e.serialized,r=e.isStringTag;return Aa(n,i,r),Bp(function(){return Cp(n,i,r)}),null},Rp=Mp(function(t,e,n){var i=t.css;typeof i=="string"&&e.registered[i]!==void 0&&(i=e.registered[i]);var r=t[Yi],s=[i],o="";typeof t.className=="string"?o=Ip(e.registered,s,t.className):t.className!=null&&(o=t.className+" ");var u=Va(s,void 0,G.useContext(Dp));o+=e.key+"-"+u.name;var a={};for(var l in t)ji.call(t,l)&&l!=="css"&&l!==Yi&&!Gp&&(a[l]=t[l]);return a.className=o,n&&(a.ref=n),G.createElement(G.Fragment,null,G.createElement(Wp,{cache:e,serialized:u,isStringTag:typeof r=="string"}),G.createElement(r,a))}),Lp=Rp,V=function(e,n){var i=arguments;if(n==null||!ji.call(n,"css"))return G.createElement.apply(void 0,i);var r=i.length,s=new Array(r);s[0]=Lp,s[1]=Np(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 Va(e)}var Op=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 Xp(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}const Zp=Math.min,Hp=Math.max,vn=Math.round,yn=Math.floor,In=t=>({x:t,y:t});function kp(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 Fa(t){return Ga(t)?(t.nodeName||"").toLowerCase():"#document"}function Ne(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Ba(t){var e;return(e=(Ga(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Ga(t){return t instanceof Node||t instanceof Ne(t).Node}function zp(t){return t instanceof Element||t instanceof Ne(t).Element}function Ui(t){return t instanceof HTMLElement||t instanceof Ne(t).HTMLElement}function Ma(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Ne(t).ShadowRoot}function Da(t){const{overflow:e,overflowX:n,overflowY:i,display:r}=_i(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+n)&&!["inline","contents"].includes(r)}function jp(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Yp(t){return["html","body","#document"].includes(Fa(t))}function _i(t){return Ne(t).getComputedStyle(t)}function Jp(t){if(Fa(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Ma(t)&&t.host||Ba(t);return Ma(e)?e.host:e}function Na(t){const e=Jp(t);return Yp(e)?t.ownerDocument?t.ownerDocument.body:t.body:Ui(e)&&Da(e)?e:Na(e)}function Cn(t,e,n){var i;e===void 0&&(e=[]),n===void 0&&(n=!0);const r=Na(t),s=r===((i=t.ownerDocument)==null?void 0:i.body),o=Ne(r);return s?e.concat(o,o.visualViewport||[],Da(r)?r:[],o.frameElement&&n?Cn(o.frameElement):[]):e.concat(r,Cn(r,[],n))}function Up(t){const e=_i(t);let n=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=Ui(t),s=r?t.offsetWidth:n,o=r?t.offsetHeight:i,u=vn(n)!==s||vn(i)!==o;return u&&(n=s,i=o),{width:n,height:i,$:u}}function Qi(t){return zp(t)?t:t.contextElement}function Wa(t){const e=Qi(t);if(!Ui(e))return In(1);const n=e.getBoundingClientRect(),{width:i,height:r,$:s}=Up(e);let o=(s?vn(n.width):n.width)/i,u=(s?vn(n.height):n.height)/r;return(!o||!Number.isFinite(o))&&(o=1),(!u||!Number.isFinite(u))&&(u=1),{x:o,y:u}}const _p=In(0);function Qp(t){const e=Ne(t);return!jp()||!e.visualViewport?_p:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function $p(t,e,n){return!1}function Ra(t,e,n,i){e===void 0&&(e=!1);const r=t.getBoundingClientRect(),s=Qi(t);let o=In(1);e&&(o=Wa(t));const u=$p()?Qp(s):In(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=Ne(s),h=i;let m=f,p=m.frameElement;for(;p&&i&&h!==m;){const g=Wa(p),b=p.getBoundingClientRect(),I=_i(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=Ne(p),p=m.frameElement}}return kp({width:c,height:d,x:a,y:l})}function Kp(t,e){let n=null,i;const r=Ba(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=yn(c),m=yn(r.clientWidth-(l+d)),p=yn(r.clientHeight-(c+f)),g=yn(l),I={rootMargin:-h+"px "+-m+"px "+-p+"px "+-g+"px",threshold:Hp(0,Zp(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 qp(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=Qi(t),c=r||s?[...l?Cn(l):[],...Cn(e)]:[];c.forEach(b=>{r&&b.addEventListener("scroll",n,{passive:!0}),s&&b.addEventListener("resize",n)});const d=l&&u?Kp(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?Ra(t):null;a&&g();function g(){const b=Ra(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,em=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],xn=function(){};function tm(t,e){return e?e[0]==="-"?t+e:t+"__"+e:t}function nm(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(tm(t,o)));return s.filter(function(u){return u}).map(function(u){return String(u).trim()}).join(" ")}var La=function(e){return dm(e)?e.filter(Boolean):_e(e)==="object"&&e!==null?[e]:[]},Oa=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=De(e,em);return w({},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 An(t){return[document.documentElement,document.body,window].indexOf(t)>-1}function im(t){return An(t)?window.innerHeight:t.clientHeight}function Xa(t){return An(t)?window.pageYOffset:t.scrollTop}function Sn(t,e){if(An(t)){window.scrollTo(0,e);return}t.scrollTop=e}function rm(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 sm(t,e,n,i){return n*((t=t/i-1)*t*t+1)+e}function Pn(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:xn,r=Xa(t),s=e-r,o=10,u=0;function a(){u+=o;var l=sm(u,r,s,n);Sn(t,l),u<n?window.requestAnimationFrame(a):i(t)}a()}function Za(t,e){var n=t.getBoundingClientRect(),i=e.getBoundingClientRect(),r=e.offsetHeight/3;i.bottom+r>n.bottom?Sn(t,Math.min(e.offsetTop+e.clientHeight-t.offsetHeight+r,t.scrollHeight)):i.top-r<n.top&&Sn(t,Math.max(e.offsetTop-r,0))}function om(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 Ha(){try{return document.createEvent("TouchEvent"),!0}catch{return!1}}function am(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}var ka=!1,um={get passive(){return ka=!0}},En=typeof window<"u"?window:{};En.addEventListener&&En.removeEventListener&&(En.addEventListener("p",xn,um),En.removeEventListener("p",xn,!1));var lm=ka;function cm(t){return t!=null}function dm(t){return Array.isArray(t)}function Tn(t,e,n){return t?e:n}function zb(t){return t}function jb(t){return t}var fm=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=Me(o,1),a=u[0];return!i.includes(a)});return s.reduce(function(o,u){var a=Me(u,2),l=a[0],c=a[1];return o[l]=c,o},{})},hm=["children","innerProps"],pm=["children","innerProps"];function mm(t){var e=t.maxHeight,n=t.menuEl,i=t.minHeight,r=t.placement,s=t.shouldScroll,o=t.isFixedPosition,u=t.controlHeight,a=rm(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:im(a),v=Xa(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,N=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&&Pn(a,N,Y),{placement:"bottom",maxHeight:e};if(!o&&M>=i||o&&P>=i){s&&Pn(a,N,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&&Sn(a,N),{placement:"bottom",maxHeight:e};break;case"top":if(S>=m)return{placement:"top",maxHeight:e};if(A>=m&&!o)return s&&Pn(a,k,Y),{placement:"top",maxHeight:e};if(!o&&A>=i||o&&S>=i){var L=e;return(!o&&A>=i||o&&S>=i)&&(L=o?S-y:A-y),s&&Pn(a,k,Y),{placement:"top",maxHeight:L}}return{placement:"bottom",maxHeight:e};default:throw new Error('Invalid placement provided "'.concat(r,'".'))}return l}function gm(t){var e={bottom:"top",top:"bottom"};return t?e[t]:"bottom"}var za=function(e){return e==="auto"?"bottom":e},bm=function(e,n){var i,r=e.placement,s=e.theme,o=s.borderRadius,u=s.spacing,a=s.colors;return w((i={label:"menu"},wt(i,gm(r),"100%"),wt(i,"position","absolute"),wt(i,"width","100%"),wt(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})},ja=C.createContext(null),vm=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(ja)||{},c=l.setPortalPlacement,d=C.useRef(null),f=C.useState(r),h=Me(f,2),m=h[0],p=h[1],g=C.useState(null),b=Me(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=mm({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:w(w({},e),{},{placement:I||za(s),maxHeight:m})})},ym=function(e){var n=e.children,i=e.innerRef,r=e.innerProps;return V("div",B({},z(e,"menu",{menu:!0}),{ref:i},r),n)},Im=ym,Cm=function(e,n){var i=e.maxHeight,r=e.theme.spacing.baseUnit;return w({maxHeight:i,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},n?{}:{paddingBottom:r,paddingTop:r})},xm=function(e){var n=e.children,i=e.innerProps,r=e.innerRef,s=e.isMulti;return V("div",B({},z(e,"menuList",{"menu-list":!0,"menu-list--is-multi":s}),{ref:r},i),n)},Ya=function(e,n){var i=e.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")})},Am=Ya,Sm=Ya,Pm=function(e){var n=e.children,i=n===void 0?"No options":n,r=e.innerProps,s=De(e,hm);return V("div",B({},z(w(w({},s),{},{children:i,innerProps:r}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),r),i)},Em=function(e){var n=e.children,i=n===void 0?"Loading...":n,r=e.innerProps,s=De(e,pm);return V("div",B({},z(w(w({},s),{},{children:i,innerProps:r}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),r),i)},Tm=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}},Vm=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(za(o)),d=Me(c,2),f=d[0],h=d[1],m=C.useMemo(function(){return{setPortalPlacement:h}},[]),p=C.useState(null),g=Me(p,2),b=g[0],I=g[1],v=C.useCallback(function(){if(r){var P=om(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=qp(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=V("div",B({ref:y},z(w(w({},e),{},{offset:b.offset,position:u,rect:b.rect}),"menuPortal",{"menu-portal":!0}),s),i);return V(ja.Provider,{value:m},n?$e.createPortal(S,n):S)},wm=function(e){var n=e.isDisabled,i=e.isRtl;return{label:"container",direction:i?"rtl":void 0,pointerEvents:n?"none":void 0,position:"relative"}},Fm=function(e){var n=e.children,i=e.innerProps,r=e.isDisabled,s=e.isRtl;return V("div",B({},z(e,"container",{"--is-disabled":r,"--is-rtl":s}),i),n)},Bm=function(e,n){var i=e.theme.spacing,r=e.isMulti,s=e.hasValue,o=e.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")})},Gm=function(e){var n=e.children,i=e.innerProps,r=e.isMulti,s=e.hasValue;return V("div",B({},z(e,"valueContainer",{"value-container":!0,"value-container--is-multi":r,"value-container--has-value":s}),i),n)},Mm=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},Dm=function(e){var n=e.children,i=e.innerProps;return V("div",B({},z(e,"indicatorsContainer",{indicators:!0}),i),n)},Ja,Nm=["size"],Wm=["innerProps","isRtl","size"];function Rm(){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 Lm=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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lLFxuICBDU1NPYmplY3RXaXRoTGFiZWwsXG4gIEdyb3VwQmFzZSxcbn0gZnJvbSAnLi4vdHlwZXMnO1xuaW1wb3J0IHsgZ2V0U3R5bGVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztc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biAgLyoqIFNldCBzaXplIG9mIHRoZSBjb250YWluZXIuICovXG4gIHNpemU6IG51bWJlcjtcbn1cbmV4cG9ydCBjb25zdCBMb2FkaW5nSW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KHtcbiAgaW5uZXJQcm9wcyxcbiAgaXNSdGwsXG4gIHNpemUgPSA0LFxuICAuLi5yZXN0UHJvcHNcbn06IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPikgPT4ge1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKFxuICAgICAgICB7IC4uLnJlc3RQcm9wcywgaW5uZXJQcm9wcywgaXNSdGwsIHNpemUgfSxcbiAgICAgICAgJ2xvYWRpbmdJbmRpY2F0b3InLFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdsb2FkaW5nLWluZGljYXRvcic6IHRydWUsXG4gICAgICAgIH1cbiAgICAgICl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MH0gb2Zmc2V0PXtpc1J0bH0gLz5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXsxNjB9IG9mZnNldCAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezMyMH0gb2Zmc2V0PXshaXNSdGx9IC8+XG4gICAgPC9kaXY+XG4gICk7XG59O1xuIl19 */",toString:Rm},Ua=function(e){var n=e.size,i=De(e,Nm);return V("svg",B({height:n,width:n,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:Lm},i))},Ki=function(e){return V(Ua,B({size:20},e),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"}))},_a=function(e){return V(Ua,B({size:20},e),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"}))},Qa=function(e,n){var i=e.isFocused,r=e.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}})},Om=Qa,Xm=function(e){var n=e.children,i=e.innerProps;return V("div",B({},z(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),i),n||V(_a,null))},Zm=Qa,Hm=function(e){var n=e.children,i=e.innerProps;return V("div",B({},z(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),i),n||V(Ki,null))},km=function(e,n){var i=e.isDisabled,r=e.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})},zm=function(e){var n=e.innerProps;return V("span",B({},n,z(e,"indicatorSeparator",{"indicator-separator":!0})))},jm=Op(Ja||(Ja=Xp([`
|
|
30
30
|
0%, 80%, 100% { opacity: 0; }
|
|
31
31
|
40% { opacity: 1; }
|
|
32
|
-
`]))),fg=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(dg," 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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lLFxuICBDU1NPYmplY3RXaXRoTGFiZWwsXG4gIEdyb3VwQmFzZSxcbn0gZnJvbSAnLi4vdHlwZXMnO1xuaW1wb3J0IHsgZ2V0U3R5bGVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBEcm9wZG93biAmIENsZWFyIEljb25zXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuY29uc3QgU3ZnID0gKHtcbiAgc2l6ZSxcbiAgLi4ucHJvcHNcbn06IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpem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biAgaW5uZXJQcm9wcyxcbiAgaXNSdGwsXG4gIHNpemUgPSA0LFxuICAuLi5yZXN0UHJvcHNcbn06IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPikgPT4ge1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKFxuICAgICAgICB7IC4uLnJlc3RQcm9wcywgaW5uZXJQcm9wcywgaXNSdGwsIHNpemUgfSxcbiAgICAgICAgJ2xvYWRpbmdJbmRpY2F0b3InLFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdsb2FkaW5nLWluZGljYXRvcic6IHRydWUsXG4gICAgICAgIH1cbiAgICAgICl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MH0gb2Zmc2V0PXtpc1J0bH0gLz5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXsxNjB9IG9mZnNldCAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezMyMH0gb2Zmc2V0PXshaXNSdGx9IC8+XG4gICAgPC9kaXY+XG4gICk7XG59O1xuIl19 */")})},hg=function(t){var n=t.innerProps,i=t.isRtl,r=t.size,s=r===void 0?4:r,o=Le(t,ng);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}))},pg=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}})},mg=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)},gg=mg,bg=["data"],vg=function(t,n){var i=t.theme.spacing;return n?{}:{paddingBottom:i.baseUnit*2,paddingTop:i.baseUnit*2}},yg=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"})},Cg=function(t){var n=Ya(t);n.data;var i=Le(n,bg);return V("div",B({},z(t,"groupHeading",{"group-heading":!0}),i))},xg=yg,Ag=["innerRef","isDisabled","isHidden","inputClassName"],Sg=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})},ru={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"},ru)},Eg=function(t){return w({label:"input",color:"inherit",background:0,opacity:t?0:1,width:"100%"},ru)},Pg=function(t){var n=t.cx,i=t.value,r=Ya(t),s=r.innerRef,o=r.isDisabled,u=r.isHidden,a=r.inputClassName,l=Le(r,Ag);return V("div",B({},z(t,"input",{"input-container":!0}),{"data-value":i||""}),V("input",B({className:n({input:!0},a),ref:s,style:Eg(u),disabled:o},l)))},Vg=Pg,wg=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})},Fg=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})},Bg=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}})},su=function(t){var n=t.children,i=t.innerProps;return V("div",i,n)},Gg=su,Mg=su;function Dg(e){var t=e.children,n=e.innerProps;return V("div",B({role:"button"},n),t||V(rr,{size:14}))}var Ng=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}))},Lg=Ng,Wg=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}})},Rg=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)},Og=Rg,Xg=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})},Zg=function(t){var n=t.children,i=t.innerProps;return V("div",B({},z(t,"placeholder",{placeholder:!0}),i),n)},Hg=Zg,kg=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})},zg=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)},jg=zg,Yg={ClearIndicator:ug,Control:gg,DropdownIndicator:og,DownChevron:nu,CrossIcon:rr,Group:xg,GroupHeading:Cg,IndicatorsContainer:eg,IndicatorSeparator:cg,Input:Vg,LoadingIndicator:hg,Menu:Xm,MenuList:Hm,MenuPortal:Um,LoadingMessage:Ym,NoOptionsMessage:jm,MultiValue:Lg,MultiValueContainer:Gg,MultiValueLabel:Mg,MultiValueRemove:Dg,Option:Og,Placeholder:Hg,SelectContainer:Qm,SingleValue:jg,ValueContainer:Km},Jg=function(t){return w(w({},Yg),t.components)},ou=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function Ug(e,t){return!!(e===t||ou(e)&&ou(t))}function _g(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!Ug(e[n],t[n]))return!1;return!0}function Qg(e,t){t===void 0&&(t=_g);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 $g(){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 Kg=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:$g},qg=function(t){return V("span",B({css:Kg},t))},au=qg,e0={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:"",".")}},t0=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,C=a.options,v=a.screenReaderStatus,x=a.tabSelectsValue,y=a.isLoading,T=a["aria-label"],E=a["aria-live"],S=I.useMemo(function(){return w(w({},e0),d||{})},[d]),M=I.useMemo(function(){var D="";if(n&&S.onChange){var R=n.option,ie=n.options,_=n.removedValue,Te=n.removedValues,be=n.value,gt=function(ye){return Array.isArray(ye)?null:ye},J=_||R||gt(be),re=J?f(J):"",ve=ie||Te||void 0,Ee=ve?ve.map(f):[],de=w({isDisabled:J&&p(J,u),label:re,labels:Ee},n);D=S.onChange(de)}return D},[n,S,p,u,f]),N=I.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=I.useMemo(function(){var D="";if(b&&C.length&&!y&&S.onFilter){var R=v({count:s.length});D=S.onFilter({inputValue:h,resultsMessage:R})}return D},[s,h,b,S,C,v,y]),Y=(n==null?void 0:n.action)==="initial-input-focus",ce=I.useMemo(function(){var D="";if(S.guidance){var R=r?"value":b?"menu":"input";D=S.guidance({"aria-label":T,context:R,isDisabled:i&&p(i,u),isMulti:m,isSearchable:g,tabSelectsValue:x,isInitialFocus:Y})}return D},[T,i,r,m,p,g,b,S,u,x,Y]),oe=V(I.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(I.Fragment,null,V(au,{id:l},Y&&oe),V(au,{"aria-live":E,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},o&&!Y&&oe))},n0=t0,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źẑżžẓẕƶȥɀⱬꝣ"}],i0=new RegExp("["+or.map(function(e){return e.letters}).join("")+"]","g"),uu={},ar=0;ar<or.length;ar++)for(var ur=or[ar],lr=0;lr<ur.letters.length;lr++)uu[ur.letters[lr]]=ur.base;var lu=function(t){return t.replace(i0,function(n){return uu[n]})},r0=Qg(lu),cu=function(t){return t.replace(/^\s+|\s+$/g,"")},s0=function(t){return"".concat(t.label," ").concat(t.value)},o0=function(t){return function(n,i){if(n.data.__isNew__)return!0;var r=w({ignoreCase:!0,ignoreAccents:!0,stringify:s0,trim:!0,matchFrom:"any"},t),s=r.ignoreCase,o=r.ignoreAccents,u=r.stringify,a=r.trim,l=r.matchFrom,c=a?cu(i):i,d=a?cu(u(n)):u(n);return s&&(c=c.toLowerCase(),d=d.toLowerCase()),o&&(c=r0(c),d=lu(d)),l==="start"?d.substr(0,c.length)===c:d.indexOf(c)>-1}},a0=["innerRef"];function u0(e){var t=e.innerRef,n=Le(e,a0),i=Gm(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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVmIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVh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93c2VycyB3b24ndCBhbGxvdyBmb2N1c1xuICAgICAgICB3aWR0aDogMSxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIGRlc2t0b3BcbiAgICAgICAgY29sb3I6ICd0cmFuc3BhcmVudCcsXG5cbiAgICAgICAgLy8gcmVtb3ZlIGN1cnNvciBvbiBtb2JpbGUgd2hpbHN0IG1haW50YWluaW5nIFwic2Nyb2xsIGludG8gdmlld1wiIGJlaGF2aW91clxuICAgICAgICBsZWZ0OiAtMTAwLFxuICAgICAgICBvcGFjaXR5OiAwLFxuICAgICAgICBwb3NpdGlvbjogJ3JlbGF0aXZlJyxcbiAgICAgICAgdHJhbnNmb3JtOiAnc2NhbGUoLjAxKScsXG4gICAgICB9fVxuICAgIC8+XG4gICk7XG59XG4iXX0= */")}))}var l0=function(t){t.cancelable&&t.preventDefault(),t.stopPropagation()};function c0(e){var t=e.isEnabled,n=e.onBottomArrive,i=e.onBottomLeave,r=e.onTopArrive,s=e.onTopLeave,o=I.useRef(!1),u=I.useRef(!1),a=I.useRef(0),l=I.useRef(null),c=I.useCallback(function(g,b){if(l.current!==null){var C=l.current,v=C.scrollTop,x=C.scrollHeight,y=C.clientHeight,T=l.current,E=b>0,S=x-y-v,M=!1;S>b&&o.current&&(i&&i(g),o.current=!1),E&&u.current&&(s&&s(g),u.current=!1),E&&b>S?(n&&!o.current&&n(g),T.scrollTop=x,M=!0,o.current=!0):!E&&-b>v&&(r&&!u.current&&r(g),T.scrollTop=0,M=!0,u.current=!0),M&&l0(g)}},[n,i,r,s]),d=I.useCallback(function(g){c(g,g.deltaY)},[c]),f=I.useCallback(function(g){a.current=g.changedTouches[0].clientY},[]),h=I.useCallback(function(g){var b=a.current-g.changedTouches[0].clientY;c(g,b)},[c]),m=I.useCallback(function(g){if(g){var b=wm?{passive:!1}:!1;g.addEventListener("wheel",d,b),g.addEventListener("touchstart",f,b),g.addEventListener("touchmove",h,b)}},[h,f,d]),p=I.useCallback(function(g){g&&(g.removeEventListener("wheel",d,!1),g.removeEventListener("touchstart",f,!1),g.removeEventListener("touchmove",h,!1))},[h,f,d]);return I.useEffect(function(){if(t){var g=l.current;return m(g),function(){p(g)}}},[t,m,p]),function(g){l.current=g}}var du=["boxSizing","height","overflow","paddingRight","position"],fu={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function hu(e){e.preventDefault()}function pu(e){e.stopPropagation()}function mu(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;e===0?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function gu(){return"ontouchstart"in window||navigator.maxTouchPoints}var bu=!!(typeof window<"u"&&window.document&&window.document.createElement),Xt=0,pt={capture:!1,passive:!1};function d0(e){var t=e.isEnabled,n=e.accountForScrollbars,i=n===void 0?!0:n,r=I.useRef({}),s=I.useRef(null),o=I.useCallback(function(a){if(bu){var l=document.body,c=l&&l.style;if(i&&du.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(fu).forEach(function(m){var p=fu[m];c&&(c[m]=p)}),c&&(c.paddingRight="".concat(h,"px"))}l&&gu()&&(l.addEventListener("touchmove",hu,pt),a&&(a.addEventListener("touchstart",mu,pt),a.addEventListener("touchmove",pu,pt))),Xt+=1}},[i]),u=I.useCallback(function(a){if(bu){var l=document.body,c=l&&l.style;Xt=Math.max(Xt-1,0),i&&Xt<1&&du.forEach(function(d){var f=r.current[d];c&&(c[d]=f)}),l&&gu()&&(l.removeEventListener("touchmove",hu,pt),a&&(a.removeEventListener("touchstart",mu,pt),a.removeEventListener("touchmove",pu,pt)))}},[i]);return I.useEffect(function(){if(t){var a=s.current;return o(a),function(){u(a)}}},[t,o,u]),function(a){s.current=a}}function f0(){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 h0=function(t){var n=t.target;return n.ownerDocument.activeElement&&n.ownerDocument.activeElement.blur()},p0=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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2ssIE1vdXNlRXZlbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcuL3VzZVNjcm9sbENhcHR1cmUnO1xuaW1wb3J0IHVzZVNjcm9sbExvY2sgZnJvbSAnLi91c2VTY3JvbGxMb2NrJztcblxuaW50ZXJmYWNlIFByb3BzIHtcbiAgcmVhZG9ubHkgY2hpbGRyZW46IChyZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PikgPT4gUmVhY3RFbGVtZW50O1xuICByZWFkb25seSBsb2NrRW5hYmxlZDogYm9vbGVhbjtcbiAgcmVhZG9ubHkgY2FwdHVyZUVuYWJsZWQ6IGJvb2xlYW47XG4gIHJlYWRvbmx5IG9uQm90dG9tQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVhZG9ubHkgb25Cb3R0b21MZWF2ZT86IChldmVudDogV2hlZWxFdmVudCB8IFRvdWNoRXZlbnQpID0+IHZvaWQ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9KTtcblxuICBjb25zdCB0YXJnZXRSZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PiA9IChlbGVtZW50KSA9PiB7XG4gICAgc2V0U2Nyb2xsQ2FwdHVyZVRhcmdldChlbGVtZW50KTtcbiAgICBzZXRTY3JvbGxMb2NrVGFyZ2V0KGVsZW1lbnQpO1xuICB9O1xuXG4gIHJldHVybiAoXG4gICAgPEZyYWdtZW50PlxuICAgICAge2xvY2tFbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+XG4gICk7XG59XG4iXX0= */",toString:f0};function m0(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=c0({isEnabled:r,onBottomArrive:s,onBottomLeave:o,onTopArrive:u,onTopLeave:a}),c=d0({isEnabled:n}),d=function(h){l(h),c(h)};return V(I.Fragment,null,n&&V("div",{onClick:h0,css:p0}),t(d))}function g0(){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 b0=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,e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AgLz5cbik7XG5cbmV4cG9ydCBkZWZhdWx0IFJlcXVpcmVkSW5wdXQ7XG4iXX0= */",toString:g0},v0=function(t){var n=t.name,i=t.onFocus;return V("input",{required:!0,name:n,tabIndex:-1,"aria-hidden":"true",onFocus:i,css:b0,value:"",onChange:function(){}})},y0=v0;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 vu(){return cr(/^Mac/i)}function C0(){return cr(/^iPad/i)||vu()&&navigator.maxTouchPoints>1}function x0(){return I0()||C0()}function A0(){return vu()||x0()}var S0=function(t){return t.label},T0=function(t){return t.label},E0=function(t){return t.value},P0=function(t){return!!t.isDisabled},V0={clearIndicator:ag,container:_m,control:pg,dropdownIndicator:sg,group:vg,groupHeading:Ig,indicatorsContainer:qm,indicatorSeparator:lg,input:Sg,loadingIndicator:fg,loadingMessage:zm,menu:Wm,menuList:Zm,menuPortal:Jm,multiValue:wg,multiValueLabel:Fg,multiValueRemove:Bg,noOptionsMessage:km,option:Wg,placeholder:Xg,singleValue:kg,valueContainer:$m},w0={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%)"},F0=4,yu=4,B0=38,G0=yu*2,M0={baseUnit:yu,controlHeight:B0,menuGutter:G0},dr={borderRadius:F0,colors:w0,spacing:M0},D0={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:_a(),captureMenuScroll:!_a(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:o0(),formatGroupLabel:S0,getOptionLabel:T0,getOptionValue:E0,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:P0,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!Pm(),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=Eu(e,t,n),o=Su(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 Au(e,o)});return r.length>0?{type:"group",data:n,options:r,index:i}:void 0}var s=Iu(e,n,t,i);return Au(e,s)?s:void 0}).filter(Fm)}function Cu(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 xu(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 N0(e,t){return Cu(Gn(e,t))}function Au(e,t){var n=e.inputValue,i=n===void 0?"":n,r=t.data,s=t.isSelected,o=t.label,u=t.value;return(!Vu(e)||!s)&&Pu(e,{label:o,value:u,data:r},i)}function L0(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 W0(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},Su=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 Eu(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 Pu(e,t,n){return e.filterOption?e.filterOption(t,n):!0}var Vu=function(t){var n=t.hideSelectedOptions,i=t.isMulti;return n===void 0?i:n},R0=1,wu=function(e){Qh(n,e);var t=qh(n);function n(i){var r;if(Uh(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=A0(),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 xu(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 xm.apply(void 0,[r.props.classNamePrefix].concat(l))},r.getOptionLabel=function(a){return Su(r.props,a)},r.getOptionValue=function(a){return Mn(r.props,a)},r.getStyles=function(a,l){var c=r.props.unstyled,d=V0[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 Jg(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 Cu(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 Vu(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,C=l.tabSelectsValue,v=l.openMenuOnFocus,x=r.state,y=x.focusedOption,T=x.focusedValue,E=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(T)r.removeValue(T);else{if(!d)return;c?r.popValue():m&&r.clearValue()}break;case"Tab":if(r.isComposing||a.shiftKey||!g||!C||!y||v&&r.isOptionSelected(y,E))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||++R0),r.state.selectValue=ja(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 _h(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&&Ua(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&&(Ua(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 Eu(this.props,r,s)}},{key:"filterOption",value:function(r,s){return Pu(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,C=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({},C,{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(u0,B({id:v,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:En,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,C=h.placeholder,v=this.state,x=v.selectValue,y=v.focusedValue,T=v.isFocused;if(!this.hasValue()||!m)return b?null:G.createElement(d,B({},f,{key:"placeholder",isDisabled:p,isFocused:T,innerProps:{id:this.getElementId("placeholder")}}),C);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 E=x[0];return G.createElement(c,B({},f,{data:E,isDisabled:p}),this.formatOptionLabel(E,"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,C=g.inputValue,v=g.isLoading,x=g.loadingMessage,y=g.minMenuHeight,T=g.maxMenuHeight,E=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(!E)return null;var R=function(re,ve){var Ee=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:Ee,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,Ee=J.index,de="".concat(r.getElementId("group"),"-").concat(Ee),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(Ee,"-").concat(ye.index))}))}else if(J.type==="option")return R(J,"".concat(J.index))});else if(v){var _=x({inputValue:C});if(_===null)return null;ie=G.createElement(d,m,_)}else{var Te=ce({inputValue:C});if(Te===null)return null;ie=G.createElement(f,m,Te)}var be={minMenuHeight:y,maxMenuHeight:T,menuPlacement:S,menuPosition:M,menuShouldScrollIntoView:Y},gt=G.createElement(Rm,B({},m,be),function(J){var re=J.ref,ve=J.placerProps,Ee=ve.placement,de=ve.maxHeight;return G.createElement(a,B({},m,be,{innerRef:re,innerProps:{onMouseDown:r.onMenuMouseDown,onMouseMove:r.onMenuMouseMove},isLoading:v,placement:Ee}),G.createElement(m0,{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(y0,{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(n0,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,C=ja(m),v={};if(o&&(m!==o.value||h!==o.options||p!==o.menuIsOpen||g!==o.inputValue)){var x=p?N0(r,C):[],y=p?xu(Gn(r,C),"".concat(f,"-option")):[],T=u?L0(s,C):null,E=W0(s,x),S=fr(y,E);v={selectValue:C,focusedOption:E,focusedOptionId:S,focusableOptionsWithIds:y,focusedValue:T,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,C,C[0]||null),options:C,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}(I.Component);wu.defaultProps=D0;var O0=I.forwardRef(function(e,t){var n=Jh(e);return G.createElement(wu,B({ref:t},n))}),X0=O0;const mt=e=>{const{children:t,sx:n,...i}=e;return A.jsx("div",{className:ge.form,style:n,...i,children:t})},Z0=mt,H0={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"})},k0=e=>{const{children:t,sx:n,...i}=e;return A.jsx("div",{className:ge["form-group"],style:n,...i,children:t})},z0=e=>{const{children:t,sx:n,...i}=e,r=I.Children.toArray(t).filter(a=>a.type.displayName==="biznext-ui-input-label"),s=I.Children.toArray(t).filter(a=>a.type.displayName==="biznext-ui-input-control"),o=I.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})]})]})},Fu=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})},Bu=I.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=I.useRef(null);switch(I.useEffect(()=>{d.current&&d.current.focus()},[i]),I.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(X0,{styles:H0,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}),Gu=e=>{const{children:t}=e;return t};Fu.displayName="biznext-ui-input-label",Bu.displayName="biznext-ui-input-control",Gu.displayName="biznext-ui-input-error-message",mt.Group=k0,mt.InputGroup=z0,mt.Label=Fu,mt.Control=Bu,mt.ErrorMessage=Gu,ae.BiznextUIProvider=Bh,ae.Form=Z0,ae.Modal=Dh,ae.useConfirmDialog=Xh,ae.useToast=mr,Object.defineProperty(ae,Symbol.toStringTag,{value:"Module"})});
|
|
32
|
+
`]))),Ym=function(e,n){var i=e.isFocused,r=e.size,s=e.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})},qi=function(e){var n=e.delay,i=e.offset;return V("span",{css:Ji({animation:"".concat(jm," 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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lLFxuICBDU1NPYmplY3RXaXRoTGFiZWwsXG4gIEdyb3VwQmFzZSxcbn0gZnJvbSAnLi4vdHlwZXMnO1xuaW1wb3J0IHsgZ2V0U3R5bGVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBEcm9wZG93biAmIENsZWFyIEljb25zXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuY29uc3QgU3ZnID0gKHtcbiAgc2l6ZSxcbiAgLi4ucHJvcHNcbn06IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU6IG51bWJlciB9KSA9PiAoXG4gIDxzdmdcbiAgICBoZWlnaHQ9e3NpemV9XG4gICAgd2lkdGg9e3NpemV9XG4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bmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPikgPT4ge1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKFxuICAgICAgICB7IC4uLnJlc3RQcm9wcywgaW5uZXJQcm9wcywgaXNSdGwsIHNpemUgfSxcbiAgICAgICAgJ2xvYWRpbmdJbmRpY2F0b3InLFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdsb2FkaW5nLWluZGljYXRvcic6IHRydWUsXG4gICAgICAgIH1cbiAgICAgICl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MH0gb2Zmc2V0PXtpc1J0bH0gLz5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXsxNjB9IG9mZnNldCAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezMyMH0gb2Zmc2V0PXshaXNSdGx9IC8+XG4gICAgPC9kaXY+XG4gICk7XG59O1xuIl19 */")})},Jm=function(e){var n=e.innerProps,i=e.isRtl,r=e.size,s=r===void 0?4:r,o=De(e,Wm);return V("div",B({},z(w(w({},o),{},{innerProps:n,isRtl:i,size:s}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),n),V(qi,{delay:0,offset:i}),V(qi,{delay:160,offset:!0}),V(qi,{delay:320,offset:!i}))},Um=function(e,n){var i=e.isDisabled,r=e.isFocused,s=e.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}})},_m=function(e){var n=e.children,i=e.isDisabled,r=e.isFocused,s=e.innerRef,o=e.innerProps,u=e.menuIsOpen;return V("div",B({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)},Qm=_m,$m=["data"],Km=function(e,n){var i=e.theme.spacing;return n?{}:{paddingBottom:i.baseUnit*2,paddingTop:i.baseUnit*2}},qm=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 V("div",B({},z(e,"group",{group:!0}),a),V(o,B({},u,{selectProps:d,theme:c,getStyles:r,getClassNames:s,cx:i}),l),V("div",null,n))},eg=function(e,n){var i=e.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"})},tg=function(e){var n=Oa(e);n.data;var i=De(n,$m);return V("div",B({},z(e,"groupHeading",{"group-heading":!0}),i))},ng=qm,ig=["innerRef","isDisabled","isHidden","inputClassName"],rg=function(e,n){var i=e.isDisabled,r=e.value,s=e.theme,o=s.spacing,u=s.colors;return w(w({visibility:i?"hidden":"visible",transform:r?"translateZ(0)":""},sg),n?{}:{margin:o.baseUnit/2,paddingBottom:o.baseUnit/2,paddingTop:o.baseUnit/2,color:u.neutral80})},$a={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},sg={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"},$a)},og=function(e){return w({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},$a)},ag=function(e){var n=e.cx,i=e.value,r=Oa(e),s=r.innerRef,o=r.isDisabled,u=r.isHidden,a=r.inputClassName,l=De(r,ig);return V("div",B({},z(e,"input",{"input-container":!0}),{"data-value":i||""}),V("input",B({className:n({input:!0},a),ref:s,style:og(u),disabled:o},l)))},ug=ag,lg=function(e,n){var i=e.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})},cg=function(e,n){var i=e.theme,r=i.borderRadius,s=i.colors,o=e.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})},dg=function(e,n){var i=e.theme,r=i.spacing,s=i.borderRadius,o=i.colors,u=e.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}})},Ka=function(e){var n=e.children,i=e.innerProps;return V("div",i,n)},fg=Ka,hg=Ka;function pg(t){var e=t.children,n=t.innerProps;return V("div",B({role:"button"},n),e||V(Ki,{size:14}))}var mg=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 V(l,{data:r,innerProps:w(w({},z(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":o})),s),selectProps:a},V(c,{data:r,innerProps:w({},z(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:a},n),V(d,{data:r,innerProps:w(w({},z(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(n||"option")},u),selectProps:a}))},gg=mg,bg=function(e,n){var i=e.isDisabled,r=e.isFocused,s=e.isSelected,o=e.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}})},vg=function(e){var n=e.children,i=e.isDisabled,r=e.isFocused,s=e.isSelected,o=e.innerRef,u=e.innerProps;return V("div",B({},z(e,"option",{option:!0,"option--is-disabled":i,"option--is-focused":r,"option--is-selected":s}),{ref:o,"aria-disabled":i},u),n)},yg=vg,Ig=function(e,n){var i=e.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})},Cg=function(e){var n=e.children,i=e.innerProps;return V("div",B({},z(e,"placeholder",{placeholder:!0}),i),n)},xg=Cg,Ag=function(e,n){var i=e.isDisabled,r=e.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})},Sg=function(e){var n=e.children,i=e.isDisabled,r=e.innerProps;return V("div",B({},z(e,"singleValue",{"single-value":!0,"single-value--is-disabled":i}),r),n)},Pg=Sg,Eg={ClearIndicator:Hm,Control:Qm,DropdownIndicator:Xm,DownChevron:_a,CrossIcon:Ki,Group:ng,GroupHeading:tg,IndicatorsContainer:Dm,IndicatorSeparator:zm,Input:ug,LoadingIndicator:Jm,Menu:Im,MenuList:xm,MenuPortal:Vm,LoadingMessage:Em,NoOptionsMessage:Pm,MultiValue:gg,MultiValueContainer:fg,MultiValueLabel:hg,MultiValueRemove:pg,Option:yg,Placeholder:xg,SelectContainer:Fm,SingleValue:Pg,ValueContainer:Gm},Tg=function(e){return w(w({},Eg),e.components)},qa=Number.isNaN||function(e){return typeof e=="number"&&e!==e};function Vg(t,e){return!!(t===e||qa(t)&&qa(e))}function wg(t,e){if(t.length!==e.length)return!1;for(var n=0;n<t.length;n++)if(!Vg(t[n],e[n]))return!1;return!0}function Fg(t,e){e===void 0&&(e=wg);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 Bg(){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 Gg=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:Bg},Mg=function(e){return V("span",B({css:Gg},e))},eu=Mg,Dg={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:"",".")}},Ng=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 w(w({},Dg),d||{})},[d]),M=C.useMemo(function(){var D="";if(n&&A.onChange){var L=n.option,ne=n.options,_=n.removedValue,Ae=n.removedValues,ge=n.value,ft=function(ve){return Array.isArray(ve)?null:ve},J=_||L||ft(ge),ie=J?f(J):"",be=ne||Ae||void 0,Se=be?be.map(f):[],ce=w({isDisabled:J&&p(J,u),label:ie,labels:Se},n);D=A.onChange(ce)}return D},[n,A,p,u,f]),N=C.useMemo(function(){var D="",L=i||r,ne=!!(i&&u&&u.includes(i));if(L&&A.onFocus){var _={focused:L,label:f(L),isDisabled:p(L,u),isSelected:ne,options:s,context:L===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 L=v({count:s.length});D=A.onFilter({inputValue:h,resultsMessage:L})}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 L=r?"value":b?"menu":"input";D=A.guidance({"aria-label":S,context:L,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=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"},le));return V(C.Fragment,null,V(eu,{id:l},Y&&se),V(eu,{"aria-live":P,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},o&&!Y&&se))},Wg=Ng,er=[{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źẑżžẓẕƶȥɀⱬꝣ"}],Rg=new RegExp("["+er.map(function(t){return t.letters}).join("")+"]","g"),tu={},tr=0;tr<er.length;tr++)for(var nr=er[tr],ir=0;ir<nr.letters.length;ir++)tu[nr.letters[ir]]=nr.base;var nu=function(e){return e.replace(Rg,function(n){return tu[n]})},Lg=Fg(nu),iu=function(e){return e.replace(/^\s+|\s+$/g,"")},Og=function(e){return"".concat(e.label," ").concat(e.value)},Xg=function(e){return function(n,i){if(n.data.__isNew__)return!0;var r=w({ignoreCase:!0,ignoreAccents:!0,stringify:Og,trim:!0,matchFrom:"any"},e),s=r.ignoreCase,o=r.ignoreAccents,u=r.stringify,a=r.trim,l=r.matchFrom,c=a?iu(i):i,d=a?iu(u(n)):u(n);return s&&(c=c.toLowerCase(),d=d.toLowerCase()),o&&(c=Lg(c),d=nu(d)),l==="start"?d.substr(0,c.length)===c:d.indexOf(c)>-1}},Zg=["innerRef"];function Hg(t){var e=t.innerRef,n=De(t,Zg),i=fm(n,"onExited","in","enter","exit","appear");return V("input",B({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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVmIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgcmVtb3ZlUHJvcHMgfSBmcm9tICcuLi91dGlscyc7XG5cbmV4cG9ydCBkZWZ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vyc29yIG9uIGRlc2t0b3BcbiAgICAgICAgY29sb3I6ICd0cmFuc3BhcmVudCcsXG5cbiAgICAgICAgLy8gcmVtb3ZlIGN1cnNvciBvbiBtb2JpbGUgd2hpbHN0IG1haW50YWluaW5nIFwic2Nyb2xsIGludG8gdmlld1wiIGJlaGF2aW91clxuICAgICAgICBsZWZ0OiAtMTAwLFxuICAgICAgICBvcGFjaXR5OiAwLFxuICAgICAgICBwb3NpdGlvbjogJ3JlbGF0aXZlJyxcbiAgICAgICAgdHJhbnNmb3JtOiAnc2NhbGUoLjAxKScsXG4gICAgICB9fVxuICAgIC8+XG4gICk7XG59XG4iXX0= */")}))}var kg=function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()};function zg(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&&kg(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=lm?{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 ru=["boxSizing","height","overflow","paddingRight","position"],su={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function ou(t){t.preventDefault()}function au(t){t.stopPropagation()}function uu(){var t=this.scrollTop,e=this.scrollHeight,n=t+this.offsetHeight;t===0?this.scrollTop=1:n===e&&(this.scrollTop=t-1)}function lu(){return"ontouchstart"in window||navigator.maxTouchPoints}var cu=!!(typeof window<"u"&&window.document&&window.document.createElement),Nt=0,ct={capture:!1,passive:!1};function jg(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(cu){var l=document.body,c=l&&l.style;if(i&&ru.forEach(function(m){var p=c&&c[m];r.current[m]=p}),i&&Nt<1){var d=parseInt(r.current.paddingRight,10)||0,f=document.body?document.body.clientWidth:0,h=window.innerWidth-f+d||0;Object.keys(su).forEach(function(m){var p=su[m];c&&(c[m]=p)}),c&&(c.paddingRight="".concat(h,"px"))}l&&lu()&&(l.addEventListener("touchmove",ou,ct),a&&(a.addEventListener("touchstart",uu,ct),a.addEventListener("touchmove",au,ct))),Nt+=1}},[i]),u=C.useCallback(function(a){if(cu){var l=document.body,c=l&&l.style;Nt=Math.max(Nt-1,0),i&&Nt<1&&ru.forEach(function(d){var f=r.current[d];c&&(c[d]=f)}),l&&lu()&&(l.removeEventListener("touchmove",ou,ct),a&&(a.removeEventListener("touchstart",uu,ct),a.removeEventListener("touchmove",au,ct)))}},[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 Yg(){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 Jg=function(e){var n=e.target;return n.ownerDocument.activeElement&&n.ownerDocument.activeElement.blur()},Ug=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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2ssIE1vdXNlRXZlbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcuL3VzZVNjcm9sbENhcHR1cmUnO1xuaW1wb3J0IHVzZVNjcm9sbExvY2sgZnJvbSAnLi91c2VTY3JvbGxMb2NrJztcblxuaW50ZXJmYWNlIFByb3BzIHtcbiAgcmVhZG9ubHkgY2hpbGRyZW46IChyZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PikgPT4gUmVhY3RFbGVtZW50O1xuICByZWFkb25seSBsb2NrRW5hYmxlZDogYm9vbGVhbjtcbiAgcmVhZG9ubHkgY2FwdHVyZUVuYWJsZWQ6IGJvb2xlYW47XG4gIHJlYWRvbmx5IG9uQm90dG9tQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVhZG9ubHkgb25Cb3R0b21MZWF2ZT86IChldmVudDogV2hlZWxFdmVudCB8IFRvdWNoRXZlbnQpID0+IHZvaWQ7XG4gIHJlYWRvbmx5IG9uVG9wQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudC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A9PiB7XG4gICAgc2V0U2Nyb2xsQ2FwdHVyZVRhcmdldChlbGVtZW50KTtcbiAgICBzZXRTY3JvbGxMb2NrVGFyZ2V0KGVsZW1lbnQpO1xuICB9O1xuXG4gIHJldHVybiAoXG4gICAgPEZyYWdtZW50PlxuICAgICAge2xvY2tFbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+XG4gICk7XG59XG4iXX0= */",toString:Yg};function _g(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=zg({isEnabled:r,onBottomArrive:s,onBottomLeave:o,onTopArrive:u,onTopLeave:a}),c=jg({isEnabled:n}),d=function(h){l(h),c(h)};return V(C.Fragment,null,n&&V("div",{onClick:Jg,css:Ug}),e(d))}function Qg(){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 $g=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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlJlcXVpcmVkSW5wdXQudHN4Il0sIm5hbWVzIjpbXS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g=function(e){var n=e.name,i=e.onFocus;return V("input",{required:!0,name:n,tabIndex:-1,"aria-hidden":"true",onFocus:i,css:$g,value:"",onChange:function(){}})},qg=Kg;function rr(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 eb(){return rr(/^iPhone/i)}function du(){return rr(/^Mac/i)}function tb(){return rr(/^iPad/i)||du()&&navigator.maxTouchPoints>1}function nb(){return eb()||tb()}function ib(){return du()||nb()}var rb=function(e){return e.label},sb=function(e){return e.label},ob=function(e){return e.value},ab=function(e){return!!e.isDisabled},ub={clearIndicator:Zm,container:wm,control:Um,dropdownIndicator:Om,group:Km,groupHeading:eg,indicatorsContainer:Mm,indicatorSeparator:km,input:rg,loadingIndicator:Ym,loadingMessage:Sm,menu:bm,menuList:Cm,menuPortal:Tm,multiValue:lg,multiValueLabel:cg,multiValueRemove:dg,noOptionsMessage:Am,option:bg,placeholder:Ig,singleValue:Ag,valueContainer:Bm},lb={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%)"},cb=4,fu=4,db=38,fb=fu*2,hb={baseUnit:fu,controlHeight:db,menuGutter:fb},sr={borderRadius:cb,colors:lb,spacing:hb},pb={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Ha(),captureMenuScroll:!Ha(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:Xg(),formatGroupLabel:rb,getOptionLabel:sb,getOptionValue:ob,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:ab,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!am(),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 hu(t,e,n,i){var r=vu(t,e,n),s=yu(t,e,n),o=bu(t,e),u=wn(t,e);return{type:"option",data:e,isDisabled:r,isSelected:s,label:o,value:u,index:i}}function Vn(t,e){return t.options.map(function(n,i){if("options"in n){var r=n.options.map(function(o,u){return hu(t,o,e,u)}).filter(function(o){return gu(t,o)});return r.length>0?{type:"group",data:n,options:r,index:i}:void 0}var s=hu(t,n,e,i);return gu(t,s)?s:void 0}).filter(cm)}function pu(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 mu(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 mb(t,e){return pu(Vn(t,e))}function gu(t,e){var n=t.inputValue,i=n===void 0?"":n,r=e.data,s=e.isSelected,o=e.label,u=e.value;return(!Cu(t)||!s)&&Iu(t,{label:o,value:u,data:r},i)}function gb(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 bb(t,e){var n=t.focusedOption;return n&&e.indexOf(n)>-1?n:e[0]}var or=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},bu=function(e,n){return e.getOptionLabel(n)},wn=function(e,n){return e.getOptionValue(n)};function vu(t,e,n){return typeof t.isOptionDisabled=="function"?t.isOptionDisabled(e,n):!1}function yu(t,e,n){if(n.indexOf(e)>-1)return!0;if(typeof t.isOptionSelected=="function")return t.isOptionSelected(e,n);var i=wn(t,e);return n.some(function(r){return wn(t,r)===i})}function Iu(t,e,n){return t.filterOption?t.filterOption(e,n):!0}var Cu=function(e){var n=e.hideSelectedOptions,i=e.isMulti;return n===void 0?i:n},vb=1,xu=function(t){Fh(n,t);var e=Mh(n);function n(i){var r;if(Vh(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=ib(),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=Tn(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(Tn(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=Tn(a,d,d[0]||null);r.onChange(f,{action:"pop-value",removedValue:c})},r.getFocusedOptionId=function(a){return or(r.state.focusableOptionsWithIds,a)},r.getFocusableOptionsWithIds=function(){return mu(Vn(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 nm.apply(void 0,[r.props.classNamePrefix].concat(l))},r.getOptionLabel=function(a){return bu(r.props,a)},r.getOptionValue=function(a){return wn(r.props,a)},r.getStyles=function(a,l){var c=r.props.unstyled,d=ub[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 Tg(r.props)},r.buildCategorizedOptions=function(){return Vn(r.props,r.state.selectValue)},r.getCategorizedOptions=function(){return r.props.menuIsOpen?r.buildCategorizedOptions():[]},r.buildFocusableOptions=function(){return pu(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&&An(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 Cu(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||++vb),r.state.selectValue=La(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=or(s,o[u])}return r}return wh(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&&Za(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&&(Za(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(sr):w(w({},sr),this.props.theme):sr}},{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 vu(this.props,r,s)}},{key:"isOptionSelected",value:function(r,s){return yu(this.props,r,s)}},{key:"filterOption",value:function(r,s){return Iu(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(Hg,B({id:v,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:xn,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,B({},f,{key:"placeholder",isDisabled:p,isFocused:S,innerProps:{id:this.getElementId("placeholder")}}),I);if(g)return x.map(function(A,M){var N=A===y,k="".concat(r.getOptionLabel(A),"-").concat(r.getOptionValue(A));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(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,B({},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,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,S=g.maxMenuHeight,P=g.menuIsOpen,A=g.menuPlacement,M=g.menuPosition,N=g.menuPortalTarget,k=g.menuShouldBlockScroll,Y=g.menuShouldScrollIntoView,le=g.noOptionsMessage,se=g.onMenuScrollToTop,D=g.onMenuScrollToBottom;if(!P)return null;var L=function(ie,be){var Se=ie.type,ce=ie.data,Pe=ie.isDisabled,ve=ie.isSelected,ht=ie.label,ar=ie.value,Fn=p===ce,T=Pe?void 0:function(){return r.onOptionHover(ce)},Wt=Pe?void 0:function(){return r.selectOption(ce)},Qe="".concat(r.getElementId("option"),"-").concat(be),Bn={id:Qe,onClick:Wt,onMouseMove:T,onMouseOver:T,tabIndex:-1,role:"option","aria-selected":r.isAppleDevice?void 0:ve};return G.createElement(h,B({},m,{innerProps:Bn,data:ce,isDisabled:Pe,isSelected:ve,key:Qe,label:ht,type:Se,value:ar,isFocused:Fn,innerRef:Fn?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,be=J.options,Se=J.index,ce="".concat(r.getElementId("group"),"-").concat(Se),Pe="".concat(ce,"-heading");return G.createElement(o,B({},m,{key:ce,data:ie,options:be,Heading:u,headingProps:{id:Pe,data:J.data},label:r.formatGroupLabel(J.data)}),J.options.map(function(ve){return L(ve,"".concat(Se,"-").concat(ve.index))}))}else if(J.type==="option")return L(J,"".concat(J.index))});else if(v){var _=x({inputValue:I});if(_===null)return null;ne=G.createElement(d,m,_)}else{var Ae=le({inputValue:I});if(Ae===null)return null;ne=G.createElement(f,m,Ae)}var ge={minMenuHeight:y,maxMenuHeight:S,menuPlacement:A,menuPosition:M,menuShouldScrollIntoView:Y},ft=G.createElement(vm,B({},m,ge),function(J){var ie=J.ref,be=J.placerProps,Se=be.placement,ce=be.maxHeight;return G.createElement(a,B({},m,ge,{innerRef:ie,innerProps:{onMouseDown:r.onMenuMouseDown,onMouseMove:r.onMenuMouseMove},isLoading:v,placement:Se}),G.createElement(_g,{captureEnabled:b,onTopArrive:se,onBottomArrive:D,lockEnabled:k},function(Pe){return G.createElement(l,B({},m,{innerRef:function(ht){r.getMenuListRef(ht),Pe(ht)},innerProps:{role:"listbox","aria-multiselectable":m.isMulti,id:r.getElementId("listbox")},isLoading:v,maxHeight:ce,focusedOption:p}),ne)}))});return N||M==="fixed"?G.createElement(c,B({},m,{appendTo:N,controlElement:this.controlRef,menuPlacement:A,menuPosition:M}),ft):ft}},{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(qg,{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(Wg,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=La(m),v={};if(o&&(m!==o.value||h!==o.options||p!==o.menuIsOpen||g!==o.inputValue)){var x=p?mb(r,I):[],y=p?mu(Vn(r,I),"".concat(f,"-option")):[],S=u?gb(s,I):null,P=bb(s,x),A=or(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}:{},N=l,k=c&&d;return c&&!k&&(N={value:Tn(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);xu.defaultProps=pb;var yb=C.forwardRef(function(t,e){var n=Th(t);return G.createElement(xu,B({ref:e},n))}),Ib=yb;const dt=t=>{const{children:e,sx:n,...i}=t;return E.jsx("div",{className:me.form,style:n,...i,children:e})},Cb=dt,xb={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"})},Ab=t=>{const{children:e,sx:n,...i}=t;return E.jsx("div",{className:me["form-group"],style:n,...i,children:e})},Sb=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 E.jsxs("div",{className:Ot(me["form-input-group"],u&&me["validation-error"]),style:n,...i,children:[r,E.jsxs("div",{className:me["form-input-control-group"],children:[s,E.jsx("span",{className:me["form-input-group-error-text"],children:o})]})]})},Au=t=>{const{required:e=!1,children:n,sx:i,...r}=t;return E.jsx("label",{className:Ot(me["form-input-group-label"],e&&me.required),style:i,...r,children:n})},Su=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=E.jsx(E.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=E.jsx("input",{className:me["form-input-control"],placeholder:o,ref:i?d:e,style:s,...l});break;case"select":c=E.jsx(Ib,{styles:xb,className:me["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=E.jsx("textarea",{className:me["form-input-control"],placeholder:o,style:s,ref:i?d:e,...l});break;default:c=E.jsx(E.Fragment,{});break}return c}),Pu=t=>{const{children:e}=t;return e};Au.displayName="biznext-ui-input-label",Su.displayName="biznext-ui-input-control",Pu.displayName="biznext-ui-input-error-message",dt.Group=Ab,dt.InputGroup=Sb,dt.Label=Au,dt.Control=Su,dt.ErrorMessage=Pu,oe.BiznextUIProvider=lh,oe.Form=Cb,oe.Modal=fh,oe.useConfirmDialog=Ih,oe.useToast=yh,Object.defineProperty(oe,Symbol.toStringTag,{value:"Module"})});
|