@biznext-ui/react 0.2.1 → 0.2.2
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 +232 -230
- package/dist/index.umd.js +7 -7
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.umd.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
(function(Ee,w){typeof exports=="object"&&typeof module<"u"?w(exports,require("react/jsx-runtime"),require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","react","react-dom"],w):(Ee=typeof globalThis<"u"?globalThis:Ee||self,w(Ee["biznext-ui-react"]={},Ee["react/jsx-runtime"],Ee.React,Ee.ReactDOM))})(this,function(Ee,w,x,
|
|
1
|
+
(function(Ee,w){typeof exports=="object"&&typeof module<"u"?w(exports,require("react/jsx-runtime"),require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","react","react-dom"],w):(Ee=typeof globalThis<"u"?globalThis:Ee||self,w(Ee["biznext-ui-react"]={},Ee["react/jsx-runtime"],Ee.React,Ee.ReactDOM))})(this,function(Ee,w,x,Le){"use strict";function Xl(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const Z=Xl(x),Qi=x.createContext({}),Zl=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.payload,...e.toasts]};case"DELETE_TOAST":return{...e,toasts:e.toasts.filter(n=>n.id!==t.payload.id)};default:console.error(`Biznext-UI-Toast: Unhandled action type: ${t.type}`)}},Ki=()=>x.useContext(Qi),We={"toasts-container":"biznext-ui-Voj91bwiOQ0-5","top-left":"biznext-ui-r8K3Yfg1a0k-a","top-center":"biznext-ui-hLBI-yY3XZg-8","top-right":"biznext-ui-McMmb-sS6LE-3","bottom-left":"biznext-ui-lX4jcK0Szv4-9","bottom-center":"biznext-ui-Ee7khmzQluU-1","bottom-right":"biznext-ui-8KE-IEqqaMQ-f",toast:"biznext-ui-HNUcjKVTeyM-1",fadein:"biznext-ui-HDMPjvBSEyg-1","toast-icon":"biznext-ui--tFdGazkGSA-f","toast-content":"biznext-ui-ymhtH9nUp6I-c","toast-title":"biznext-ui-KpFZjCXKdcg-2","toast-close":"biznext-ui-BzxmwExZEIc-0","toast-close-btn":"biznext-ui-2vYXLFQRSLY-d","toast-close-btn-icon":"biznext-ui-fnjPMKE33W8-7",success:"biznext-ui-gWJh5oSUaH4-8",info:"biznext-ui-KprtriQR6do-2",warning:"biznext-ui-u0IYuYPu1og-b",error:"biznext-ui-DMi33WPhK2I-0"};function $i(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Hl(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),n}var qi={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 o="",s=0;s<arguments.length;s++){var u=arguments[s];u&&(o=i(o,r(u)))}return o}function r(o){if(typeof o=="string"||typeof o=="number")return o;if(typeof o!="object")return"";if(Array.isArray(o))return n.apply(null,o);if(o.toString!==Object.prototype.toString&&!o.toString.toString().includes("[native code]"))return o.toString();var s="";for(var u in o)t.call(o,u)&&o[u]&&(s=i(s,u));return s}function i(o,s){return s?o?o+" "+s:o+s:o}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(qi);var kl=qi.exports;const It=$i(kl);var eo={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},to=x.createContext&&x.createContext(eo),zl=["attr","size","title"];function jl(e,t){if(e==null)return{};var n=Yl(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Yl(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function un(){return un=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},un.apply(this,arguments)}function no(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function ln(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?no(Object(n),!0).forEach(function(r){Jl(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):no(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Jl(e,t,n){return t=Ul(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ul(e){var t=_l(e,"string");return typeof t=="symbol"?t:t+""}function _l(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function ro(e){return e&&e.map((t,n)=>x.createElement(t.tag,ln({key:n},t.attr),ro(t.child)))}function dt(e){return t=>x.createElement(Ql,un({attr:ln({},e.attr)},t),ro(e.child))}function Ql(e){var t=n=>{var{attr:r,size:i,title:o}=e,s=jl(e,zl),u=i||n.size||"1em",a;return n.className&&(a=n.className),e.className&&(a=(a?a+" ":"")+e.className),x.createElement("svg",un({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},n.attr,r,s,{className:a,style:ln(ln({color:e.color||n.color},n.style),e.style),height:u,width:u,xmlns:"http://www.w3.org/2000/svg"}),o&&x.createElement("title",null,o),e.children)};return to!==void 0?x.createElement(to.Consumer,null,n=>t(n)):t(eo)}function Kl(e){return dt({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 $l(e){return dt({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 ql(e){return dt({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 ec(e){return dt({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 tc(e){return dt({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 or=x.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),cn=x.createContext({}),dn=x.createContext(null),sr=typeof document<"u",ar=sr?x.useLayoutEffect:x.useEffect,io=x.createContext({strict:!1}),fn=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),oo="data-"+fn("framerAppearId"),nc={skipAnimations:!1,useManualTiming:!1};function rc(e){let t=new Set,n=new Set,r=!1,i=!1;const o=new WeakSet;let s={delta:0,timestamp:0,isProcessing:!1};function u(l){o.has(l)&&(a.schedule(l),e()),l(s)}const a={schedule:(l,c=!1,d=!1)=>{const p=d&&r?t:n;return c&&o.add(l),p.has(l)||p.add(l),l},cancel:l=>{n.delete(l),o.delete(l)},process:l=>{if(s=l,r){i=!0;return}r=!0,[t,n]=[n,t],n.clear(),t.forEach(u),r=!1,i&&(i=!1,a.process(l))}};return a}const hn=["read","resolveKeyframes","update","preRender","render","postRender"],ic=40;function so(e,t){let n=!1,r=!0;const i={delta:0,timestamp:0,isProcessing:!1},o=()=>n=!0,s=hn.reduce((C,y)=>(C[y]=rc(o),C),{}),{read:u,resolveKeyframes:a,update:l,preRender:c,render:d,postRender:f}=s,p=()=>{const C=performance.now();n=!1,i.delta=r?1e3/60:Math.max(Math.min(C-i.timestamp,ic),1),i.timestamp=C,i.isProcessing=!0,u.process(i),a.process(i),l.process(i),c.process(i),d.process(i),f.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(p))},b=()=>{n=!0,r=!0,i.isProcessing||e(p)};return{schedule:hn.reduce((C,y)=>{const m=s[y];return C[y]=(I,h=!1,S=!1)=>(n||b(),m.schedule(I,h,S)),C},{}),cancel:C=>{for(let y=0;y<hn.length;y++)s[hn[y]].cancel(C)},state:i,steps:s}}const{schedule:ur,cancel:qv}=so(queueMicrotask,!1);function xt(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}const ao=x.createContext({});let uo=!1;function oc(e,t,n,r,i){const{visualElement:o}=x.useContext(cn),s=x.useContext(io),u=x.useContext(dn),a=x.useContext(or).reducedMotion,l=x.useRef();r=r||s.renderer,!l.current&&r&&(l.current=r(e,{visualState:t,parent:o,props:n,presenceContext:u,blockInitialAnimation:u?u.initial===!1:!1,reducedMotionConfig:a}));const c=l.current,d=x.useContext(ao);c&&!c.projection&&i&&(c.type==="html"||c.type==="svg")&&ac(l.current,n,i,d),x.useInsertionEffect(()=>{c&&c.update(n,u)});const f=x.useRef(!!(n[oo]&&!window.HandoffComplete));return ar(()=>{c&&(c.updateFeatures(),ur.render(c.render),f.current&&c.animationState&&c.animationState.animateChanges())}),x.useEffect(()=>{c&&(!f.current&&c.animationState&&c.animationState.animateChanges(),f.current&&(f.current=!1,uo||(uo=!0,queueMicrotask(sc))))}),c}function sc(){window.HandoffComplete=!0}function ac(e,t,n,r){const{layoutId:i,layout:o,drag:s,dragConstraints:u,layoutScroll:a,layoutRoot:l}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:lo(e.parent)),e.projection.setOptions({layoutId:i,layout:o,alwaysMeasureLayout:!!s||u&&xt(u),visualElement:e,scheduleRender:()=>e.scheduleRender(),animationType:typeof o=="string"?o:"both",initialPromotionConfig:r,layoutScroll:a,layoutRoot:l})}function lo(e){if(e)return e.options.allowProjection!==!1?e.projection:lo(e.parent)}function uc(e,t,n){return x.useCallback(r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):xt(n)&&(n.current=r))},[t])}function Rt(e){return typeof e=="string"||Array.isArray(e)}function Lt(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const lr=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],cr=["initial",...lr];function pn(e){return Lt(e.animate)||cr.some(t=>Rt(e[t]))}function co(e){return!!(pn(e)||e.variants)}function lc(e,t){if(pn(e)){const{initial:n,animate:r}=e;return{initial:n===!1||Rt(n)?n:void 0,animate:Rt(r)?r:void 0}}return e.inherit!==!1?t:{}}function cc(e){const{initial:t,animate:n}=lc(e,x.useContext(cn));return x.useMemo(()=>({initial:t,animate:n}),[fo(t),fo(n)])}function fo(e){return Array.isArray(e)?e.join(" "):e}const ho={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"]},At={};for(const e in ho)At[e]={isEnabled:t=>ho[e].some(n=>!!t[n])};function dc(e){for(const t in e)At[t]={...At[t],...e[t]}}const dr=x.createContext({}),fc=Symbol.for("motionComponentSymbol"),he=e=>e;let St=he,Ye=he;process.env.NODE_ENV!=="production"&&(St=(e,t)=>{!e&&typeof console<"u"&&console.warn(t)},Ye=(e,t)=>{if(!e)throw new Error(t)});function hc({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:i}){e&&dc(e);function o(u,a){let l;const c={...x.useContext(or),...u,layoutId:pc(u)},{isStatic:d}=c,f=cc(u),p=r(u,d);if(!d&&sr){mc(c,e);const b=gc(c);l=b.MeasureLayout,f.visualElement=oc(i,p,c,t,b.ProjectionNode)}return w.jsxs(cn.Provider,{value:f,children:[l&&f.visualElement?w.jsx(l,{visualElement:f.visualElement,...c}):null,n(i,u,uc(p,f.visualElement,a),p,d,f.visualElement)]})}const s=x.forwardRef(o);return s[fc]=i,s}function pc({layoutId:e}){const t=x.useContext(dr).id;return t&&e!==void 0?t+"-"+e:e}function mc(e,t){const n=x.useContext(io).strict;if(process.env.NODE_ENV!=="production"&&t&&n){const r="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";e.ignoreStrict?St(!1,r):Ye(!1,r)}}function gc(e){const{drag:t,layout:n}=At;if(!t&&!n)return{};const r={...t,...n};return{MeasureLayout:t!=null&&t.isEnabled(e)||n!=null&&n.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}function bc(e){function t(r,i={}){return hc(e(r,i))}if(typeof Proxy>"u")return t;const n=new Map;return new Proxy(t,{get:(r,i)=>(n.has(i)||n.set(i,t(i)),n.get(i))})}const vc=["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 fr(e){return typeof e!="string"||e.includes("-")?!1:!!(vc.indexOf(e)>-1||/[A-Z]/u.test(e))}const mn={};function yc(e){Object.assign(mn,e)}const Wt=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],nt=new Set(Wt);function po(e,{layout:t,layoutId:n}){return nt.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!mn[e]||e==="opacity")}const ve=e=>!!(e&&e.getVelocity),Cc={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Ic=Wt.length;function xc(e,t,n){let r="";for(let i=0;i<Ic;i++){const o=Wt[i];if(e[o]!==void 0){const s=Cc[o]||o;r+=`${s}(${e[o]}) `}}return r=r.trim(),n?r=n(e,t?"":r):t&&(r="none"),r}const mo=e=>t=>typeof t=="string"&&t.startsWith(e),go=mo("--"),Ac=mo("var(--"),hr=e=>Ac(e)?Sc.test(e.split("/*")[0].trim()):!1,Sc=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,Tc=(e,t)=>t&&typeof e=="number"?t.transform(e):e,rt=(e,t,n)=>n>t?t:n<e?e:n,Tt={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Xt={...Tt,transform:e=>rt(0,1,e)},gn={...Tt,default:1},Zt=e=>Math.round(e*1e5)/1e5,pr=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,Ec=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,Pc=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;function Ht(e){return typeof e=="string"}function wc(e){return e==null}const kt=e=>({test:t=>Ht(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),it=kt("deg"),We=kt("%"),R=kt("px"),Vc=kt("vh"),Dc=kt("vw"),bo={...We,parse:e=>We.parse(e)/100,transform:e=>We.transform(e*100)},vo={...Tt,transform:Math.round},yo={borderWidth:R,borderTopWidth:R,borderRightWidth:R,borderBottomWidth:R,borderLeftWidth:R,borderRadius:R,radius:R,borderTopLeftRadius:R,borderTopRightRadius:R,borderBottomRightRadius:R,borderBottomLeftRadius:R,width:R,maxWidth:R,height:R,maxHeight:R,size:R,top:R,right:R,bottom:R,left:R,padding:R,paddingTop:R,paddingRight:R,paddingBottom:R,paddingLeft:R,margin:R,marginTop:R,marginRight:R,marginBottom:R,marginLeft:R,rotate:it,rotateX:it,rotateY:it,rotateZ:it,scale:gn,scaleX:gn,scaleY:gn,scaleZ:gn,skew:it,skewX:it,skewY:it,distance:R,translateX:R,translateY:R,translateZ:R,x:R,y:R,z:R,perspective:R,transformPerspective:R,opacity:Xt,originX:bo,originY:bo,originZ:R,zIndex:vo,backgroundPositionX:R,backgroundPositionY:R,fillOpacity:Xt,strokeOpacity:Xt,numOctaves:vo};function mr(e,t,n){const{style:r,vars:i,transform:o,transformOrigin:s}=e;let u=!1,a=!1,l=!0;for(const c in t){const d=t[c];if(go(c)){i[c]=d;continue}const f=yo[c],p=Tc(d,f);if(nt.has(c)){if(u=!0,o[c]=p,!l)continue;d!==(f.default||0)&&(l=!1)}else c.startsWith("origin")?(a=!0,s[c]=p):r[c]=p}if(t.transform||(u||n?r.transform=xc(e.transform,l,n):r.transform&&(r.transform="none")),a){const{originX:c="50%",originY:d="50%",originZ:f=0}=s;r.transformOrigin=`${c} ${d} ${f}`}}const gr=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Co(e,t,n){for(const r in t)!ve(t[r])&&!po(r,n)&&(e[r]=t[r])}function Fc({transformTemplate:e},t){return x.useMemo(()=>{const n=gr();return mr(n,t,e),Object.assign({},n.vars,n.style)},[t])}function Mc(e,t){const n=e.style||{},r={};return Co(r,n,e),Object.assign(r,Fc(e,t)),r}function Bc(e,t){const n={},r=Mc(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.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=r,n}const Gc=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 bn(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||Gc.has(e)}let Io=e=>!bn(e);function Oc(e){e&&(Io=t=>t.startsWith("on")?!bn(t):e(t))}try{Oc(require("@emotion/is-prop-valid").default)}catch{}function Nc(e,t,n){const r={};for(const i in e)i==="values"&&typeof e.values=="object"||(Io(i)||n===!0&&bn(i)||!t&&!bn(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}function xo(e,t,n){return typeof e=="string"?e:R.transform(t+n*e)}function Rc(e,t,n){const r=xo(t,e.x,e.width),i=xo(n,e.y,e.height);return`${r} ${i}`}const Lc={offset:"stroke-dashoffset",array:"stroke-dasharray"},Wc={offset:"strokeDashoffset",array:"strokeDasharray"};function Xc(e,t,n=1,r=0,i=!0){e.pathLength=1;const o=i?Lc:Wc;e[o.offset]=R.transform(-r);const s=R.transform(t),u=R.transform(n);e[o.array]=`${s} ${u}`}function br(e,{attrX:t,attrY:n,attrScale:r,originX:i,originY:o,pathLength:s,pathSpacing:u=1,pathOffset:a=0,...l},c,d){if(mr(e,l,d),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:f,style:p,dimensions:b}=e;f.transform&&(b&&(p.transform=f.transform),delete f.transform),b&&(i!==void 0||o!==void 0||p.transform)&&(p.transformOrigin=Rc(b,i!==void 0?i:.5,o!==void 0?o:.5)),t!==void 0&&(f.x=t),n!==void 0&&(f.y=n),r!==void 0&&(f.scale=r),s!==void 0&&Xc(f,s,u,a,!1)}const Ao=()=>({...gr(),attrs:{}}),vr=e=>typeof e=="string"&&e.toLowerCase()==="svg";function Zc(e,t,n,r){const i=x.useMemo(()=>{const o=Ao();return br(o,t,vr(r),e.transformTemplate),{...o.attrs,style:{...o.style}}},[t]);if(e.style){const o={};Co(o,e.style,e),i.style={...o,...i.style}}return i}function Hc(e=!1){return(n,r,i,{latestValues:o},s)=>{const a=(fr(n)?Zc:Bc)(r,o,s,n),l=Nc(r,typeof n=="string",e),c=n!==x.Fragment?{...l,...a,ref:i}:{},{children:d}=r,f=x.useMemo(()=>ve(d)?d.get():d,[d]);return x.createElement(n,{...c,children:f})}}function So(e,{style:t,vars:n},r,i){Object.assign(e.style,t,i&&i.getProjectionStyles(r));for(const o in n)e.style.setProperty(o,n[o])}const To=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 Eo(e,t,n,r){So(e,t,void 0,r);for(const i in t.attrs)e.setAttribute(To.has(i)?i:fn(i),t.attrs[i])}function yr(e,t,n){var r;const{style:i}=e,o={};for(const s in i)(ve(i[s])||t.style&&ve(t.style[s])||po(s,e)||((r=n==null?void 0:n.getValue(s))===null||r===void 0?void 0:r.liveStyle)!==void 0)&&(o[s]=i[s]);return n&&i&&typeof i.willChange=="string"&&(n.applyWillChange=!1),o}function Po(e,t,n){const r=yr(e,t,n);for(const i in e)if(ve(e[i])||ve(t[i])){const o=Wt.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;r[o]=e[i]}return r}function wo(e){const t=[{},{}];return e==null||e.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function Cr(e,t,n,r){if(typeof t=="function"){const[i,o]=wo(r);t=t(n!==void 0?n:e.custom,i,o)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[i,o]=wo(r);t=t(n!==void 0?n:e.custom,i,o)}return t}function Vo(e){const t=x.useRef(null);return t.current===null&&(t.current=e()),t.current}const Ir=e=>Array.isArray(e),kc=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),zc=e=>Ir(e)?e[e.length-1]||0:e;function vn(e){const t=ve(e)?e.get():e;return kc(t)?t.toValue():t}const Do=new Set(["opacity","clipPath","filter","transform"]);function Fo(e){if(nt.has(e))return"transform";if(Do.has(e))return fn(e)}function yn(e,t){e.indexOf(t)===-1&&e.push(t)}function Cn(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function jc({applyWillChange:e=!1,scrapeMotionValuesFromProps:t,createRenderState:n,onMount:r},i,o,s,u){const a={latestValues:Jc(i,o,s,u?!1:e,t),renderState:n()};return r&&(a.mount=l=>r(i,l,a)),a}const Mo=e=>(t,n)=>{const r=x.useContext(cn),i=x.useContext(dn),o=()=>jc(e,t,r,i,n);return n?o():Vo(o)};function Yc(e,t){const n=Fo(t);n&&yn(e,n)}function Bo(e,t,n){const r=Array.isArray(t)?t:[t];for(let i=0;i<r.length;i++){const o=Cr(e,r[i]);if(o){const{transitionEnd:s,transition:u,...a}=o;n(a,s)}}}function Jc(e,t,n,r,i){var o;const s={},u=[],a=r&&((o=e.style)===null||o===void 0?void 0:o.willChange)===void 0,l=i(e,{});for(const v in l)s[v]=vn(l[v]);let{initial:c,animate:d}=e;const f=pn(e),p=co(e);t&&p&&!f&&e.inherit!==!1&&(c===void 0&&(c=t.initial),d===void 0&&(d=t.animate));let b=n?n.initial===!1:!1;b=b||c===!1;const g=b?d:c;return g&&typeof g!="boolean"&&!Lt(g)&&Bo(e,g,(v,C)=>{for(const y in v){let m=v[y];if(Array.isArray(m)){const I=b?m.length-1:0;m=m[I]}m!==null&&(s[y]=m)}for(const y in C)s[y]=C[y]}),a&&(d&&c!==!1&&!Lt(d)&&Bo(e,d,v=>{for(const C in v)Yc(u,C)}),u.length&&(s.willChange=u.join(","))),s}const{schedule:K,cancel:Je,state:pe,steps:xr}=so(typeof requestAnimationFrame<"u"?requestAnimationFrame:he,!0),Uc={useVisualState:Mo({scrapeMotionValuesFromProps:Po,createRenderState:Ao,onMount:(e,t,{renderState:n,latestValues:r})=>{K.read(()=>{try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}),K.render(()=>{br(n,r,vr(t.tagName),e.transformTemplate),Eo(t,n)})}})},_c={useVisualState:Mo({applyWillChange:!0,scrapeMotionValuesFromProps:yr,createRenderState:gr})};function Qc(e,{forwardMotionProps:t=!1},n,r){return{...fr(e)?Uc:_c,preloadedFeatures:n,useRender:Hc(t),createVisualElement:r,Component:e}}function Ue(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const Go=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function In(e,t="page"){return{point:{x:e[`${t}X`],y:e[`${t}Y`]}}}const Kc=e=>t=>Go(t)&&e(t,In(t));function _e(e,t,n,r){return Ue(e,t,Kc(n),r)}const $c=(e,t)=>n=>t(e(n)),Qe=(...e)=>e.reduce($c);function Oo(e){let t=null;return()=>{const n=()=>{t=null};return t===null?(t=e,n):!1}}const No=Oo("dragHorizontal"),Ro=Oo("dragVertical");function Lo(e){let t=!1;if(e==="y")t=Ro();else if(e==="x")t=No();else{const n=No(),r=Ro();n&&r?t=()=>{n(),r()}:(n&&n(),r&&r())}return t}function Wo(){const e=Lo(!0);return e?(e(),!1):!0}class ot{constructor(t){this.isMounted=!1,this.node=t}update(){}}function Xo(e,t){const n=t?"pointerenter":"pointerleave",r=t?"onHoverStart":"onHoverEnd",i=(o,s)=>{if(o.pointerType==="touch"||Wo())return;const u=e.getProps();e.animationState&&u.whileHover&&e.animationState.setActive("whileHover",t);const a=u[r];a&&K.postRender(()=>a(o,s))};return _e(e.current,n,i,{passive:!e.getProps()[r]})}class qc extends ot{mount(){this.unmount=Qe(Xo(this.node,!0),Xo(this.node,!1))}unmount(){}}class ed extends ot{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=Qe(Ue(this.node.current,"focus",()=>this.onFocus()),Ue(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const Zo=(e,t)=>t?e===t?!0:Zo(e,t.parentElement):!1;function Ar(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,In(n))}class td extends ot{constructor(){super(...arguments),this.removeStartListeners=he,this.removeEndListeners=he,this.removeAccessibleListeners=he,this.startPointerPress=(t,n)=>{if(this.isPressing)return;this.removeEndListeners();const r=this.node.getProps(),o=_e(window,"pointerup",(u,a)=>{if(!this.checkPressEnd())return;const{onTap:l,onTapCancel:c,globalTapTarget:d}=this.node.getProps(),f=!d&&!Zo(this.node.current,u.target)?c:l;f&&K.update(()=>f(u,a))},{passive:!(r.onTap||r.onPointerUp)}),s=_e(window,"pointercancel",(u,a)=>this.cancelPress(u,a),{passive:!(r.onTapCancel||r.onPointerCancel)});this.removeEndListeners=Qe(o,s),this.startPress(t,n)},this.startAccessiblePress=()=>{const t=o=>{if(o.key!=="Enter"||this.isPressing)return;const s=u=>{u.key!=="Enter"||!this.checkPressEnd()||Ar("up",(a,l)=>{const{onTap:c}=this.node.getProps();c&&K.postRender(()=>c(a,l))})};this.removeEndListeners(),this.removeEndListeners=Ue(this.node.current,"keyup",s),Ar("down",(u,a)=>{this.startPress(u,a)})},n=Ue(this.node.current,"keydown",t),r=()=>{this.isPressing&&Ar("cancel",(o,s)=>this.cancelPress(o,s))},i=Ue(this.node.current,"blur",r);this.removeAccessibleListeners=Qe(n,i)}}startPress(t,n){this.isPressing=!0;const{onTapStart:r,whileTap:i}=this.node.getProps();i&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),r&&K.postRender(()=>r(t,n))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!Wo()}cancelPress(t,n){if(!this.checkPressEnd())return;const{onTapCancel:r}=this.node.getProps();r&&K.postRender(()=>r(t,n))}mount(){const t=this.node.getProps(),n=_e(t.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),r=Ue(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=Qe(n,r)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const Sr=new WeakMap,Tr=new WeakMap,nd=e=>{const t=Sr.get(e.target);t&&t(e)},rd=e=>{e.forEach(nd)};function id({root:e,...t}){const n=e||document;Tr.has(n)||Tr.set(n,{});const r=Tr.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(rd,{root:e,...t})),r[i]}function od(e,t,n){const r=id(t);return Sr.set(e,n),r.observe(e),()=>{Sr.delete(e),r.unobserve(e)}}const sd={some:0,all:1};class ad extends ot{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:i="some",once:o}=t,s={root:n?n.current:void 0,rootMargin:r,threshold:typeof i=="number"?i:sd[i]},u=a=>{const{isIntersecting:l}=a;if(this.isInView===l||(this.isInView=l,o&&!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 od(this.node.current,s,u)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(ud(t,n))&&this.startObserver()}unmount(){}}function ud({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const ld={inView:{Feature:ad},tap:{Feature:td},focus:{Feature:ed},hover:{Feature:qc}};function Ho(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}function xn(e,t,n){const r=e.getProps();return Cr(r,t,n!==void 0?n:r.custom,e)}const Ke=e=>e*1e3,$e=e=>e/1e3,cd={type:"spring",stiffness:500,damping:25,restSpeed:10},dd=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),fd={type:"keyframes",duration:.8},hd={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},pd=(e,{keyframes:t})=>t.length>2?fd:nt.has(e)?e.startsWith("scale")?dd(t[1]):cd:hd;function md({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:o,repeatType:s,repeatDelay:u,from:a,elapsed:l,...c}){return!!Object.keys(c).length}function Er(e,t){return e[t]||e.default||e}const gd=e=>e!==null;function An(e,{repeat:t,repeatType:n="loop"},r){const i=e.filter(gd),o=t&&n!=="loop"&&t%2===1?0:i.length-1;return!o||r===void 0?i[o]:r}let Sn;function bd(){Sn=void 0}const st={now:()=>(Sn===void 0&&st.set(pe.isProcessing||nc.useManualTiming?pe.timestamp:performance.now()),Sn),set:e=>{Sn=e,queueMicrotask(bd)}},ko=e=>/^0[^.\s]+$/u.test(e);function vd(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||ko(e):!0}const zo=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),yd=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Cd(e){const t=yd.exec(e);if(!t)return[,];const[,n,r,i]=t;return[`--${n??r}`,i]}const Id=4;function jo(e,t,n=1){Ye(n<=Id,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[r,i]=Cd(e);if(!r)return;const o=window.getComputedStyle(t).getPropertyValue(r);if(o){const s=o.trim();return zo(s)?parseFloat(s):s}return hr(i)?jo(i,t,n+1):i}const xd=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),Yo=e=>e===Tt||e===R,Jo=(e,t)=>parseFloat(e.split(", ")[t]),Uo=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const i=r.match(/^matrix3d\((.+)\)$/u);if(i)return Jo(i[1],t);{const o=r.match(/^matrix\((.+)\)$/u);return o?Jo(o[1],e):0}},Ad=new Set(["x","y","z"]),Sd=Wt.filter(e=>!Ad.has(e));function Td(e){const t=[];return Sd.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const Et={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:Uo(4,13),y:Uo(5,14)};Et.translateX=Et.x,Et.translateY=Et.y;const _o=e=>t=>t.test(e),Qo=[Tt,R,We,it,Dc,Vc,{test:e=>e==="auto",parse:e=>e}],Ko=e=>Qo.find(_o(e)),ft=new Set;let Pr=!1,wr=!1;function $o(){if(wr){const e=Array.from(ft).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const i=Td(r);i.length&&(n.set(r,i),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const i=n.get(r);i&&i.forEach(([o,s])=>{var u;(u=r.getValue(o))===null||u===void 0||u.set(s)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}wr=!1,Pr=!1,ft.forEach(e=>e.complete()),ft.clear()}function qo(){ft.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(wr=!0)})}function Ed(){qo(),$o()}class Vr{constructor(t,n,r,i,o,s=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=i,this.element=o,this.isAsync=s}scheduleResolve(){this.isScheduled=!0,this.isAsync?(ft.add(this),Pr||(Pr=!0,K.read(qo),K.resolveKeyframes($o))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:i}=this;for(let o=0;o<t.length;o++)if(t[o]===null)if(o===0){const s=i==null?void 0:i.get(),u=t[t.length-1];if(s!==void 0)t[0]=s;else if(r&&n){const a=r.readValue(n,u);a!=null&&(t[0]=a)}t[0]===void 0&&(t[0]=u),i&&s===void 0&&i.set(t[0])}else t[o]=t[o-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),ft.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,ft.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const Dr=(e,t)=>n=>!!(Ht(n)&&Pc.test(n)&&n.startsWith(e)||t&&!wc(n)&&Object.prototype.hasOwnProperty.call(n,t)),es=(e,t,n)=>r=>{if(!Ht(r))return r;const[i,o,s,u]=r.match(pr);return{[e]:parseFloat(i),[t]:parseFloat(o),[n]:parseFloat(s),alpha:u!==void 0?parseFloat(u):1}},Pd=e=>rt(0,255,e),Fr={...Tt,transform:e=>Math.round(Pd(e))},ht={test:Dr("rgb","red"),parse:es("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Fr.transform(e)+", "+Fr.transform(t)+", "+Fr.transform(n)+", "+Zt(Xt.transform(r))+")"};function wd(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}const Mr={test:Dr("#"),parse:wd,transform:ht.transform},Pt={test:Dr("hsl","hue"),parse:es("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+We.transform(Zt(t))+", "+We.transform(Zt(n))+", "+Zt(Xt.transform(r))+")"},ye={test:e=>ht.test(e)||Mr.test(e)||Pt.test(e),parse:e=>ht.test(e)?ht.parse(e):Pt.test(e)?Pt.parse(e):Mr.parse(e),transform:e=>Ht(e)?e:e.hasOwnProperty("red")?ht.transform(e):Pt.transform(e)};function Vd(e){var t,n;return isNaN(e)&&Ht(e)&&(((t=e.match(pr))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(Ec))===null||n===void 0?void 0:n.length)||0)>0}const ts="number",ns="color",Dd="var",Fd="var(",rs="${}",Md=/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 zt(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[];let o=0;const u=t.replace(Md,a=>(ye.test(a)?(r.color.push(o),i.push(ns),n.push(ye.parse(a))):a.startsWith(Fd)?(r.var.push(o),i.push(Dd),n.push(a)):(r.number.push(o),i.push(ts),n.push(parseFloat(a))),++o,rs)).split(rs);return{values:n,split:u,indexes:r,types:i}}function is(e){return zt(e).values}function os(e){const{split:t,types:n}=zt(e),r=t.length;return i=>{let o="";for(let s=0;s<r;s++)if(o+=t[s],i[s]!==void 0){const u=n[s];u===ts?o+=Zt(i[s]):u===ns?o+=ye.transform(i[s]):o+=i[s]}return o}}const Bd=e=>typeof e=="number"?0:e;function Gd(e){const t=is(e);return os(e)(t.map(Bd))}const at={test:Vd,parse:is,createTransformer:os,getAnimatableNone:Gd},Od=new Set(["brightness","contrast","saturate","opacity"]);function Nd(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(pr)||[];if(!r)return e;const i=n.replace(r,"");let o=Od.has(t)?1:0;return r!==n&&(o*=100),t+"("+o+i+")"}const Rd=/\b([a-z-]*)\(.*?\)/gu,Br={...at,getAnimatableNone:e=>{const t=e.match(Rd);return t?t.map(Nd).join(" "):e}},Ld={...yo,color:ye,backgroundColor:ye,outlineColor:ye,fill:ye,stroke:ye,borderColor:ye,borderTopColor:ye,borderRightColor:ye,borderBottomColor:ye,borderLeftColor:ye,filter:Br,WebkitFilter:Br},Gr=e=>Ld[e];function ss(e,t){let n=Gr(e);return n!==Br&&(n=at),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const Wd=new Set(["auto","none","0"]);function Xd(e,t,n){let r=0,i;for(;r<e.length&&!i;){const o=e[r];typeof o=="string"&&!Wd.has(o)&&zt(o).values.length&&(i=e[r]),r++}if(i&&n)for(const o of t)e[o]=ss(n,i)}class as extends Vr{constructor(t,n,r,i){super(t,n,r,i,i==null?void 0:i.owner,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:r}=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(),hr(l))){const c=jo(l,n.current);c!==void 0&&(t[a]=c),a===t.length-1&&(this.finalKeyframe=l)}}if(this.resolveNoneKeyframes(),!xd.has(r)||t.length!==2)return;const[i,o]=t,s=Ko(i),u=Ko(o);if(s!==u)if(Yo(s)&&Yo(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,r=[];for(let i=0;i<t.length;i++)vd(t[i])&&r.push(i);r.length&&Xd(t,r,n)}measureInitialState(){const{element:t,unresolvedKeyframes:n,name:r}=this;if(!t.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Et[r](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const i=n[n.length-1];i!==void 0&&t.getValue(r,i).jump(i,!1)}measureEndState(){var t;const{element:n,name:r,unresolvedKeyframes:i}=this;if(!n.current)return;const o=n.getValue(r);o&&o.jump(this.measuredOrigin,!1);const s=i.length-1,u=i[s];i[s]=Et[r](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 us(e){let t;return()=>(t===void 0&&(t=e()),t)}const ls=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(at.test(e)||e==="0")&&!e.startsWith("url("));function Zd(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 Hd(e,t,n,r){const i=e[0];if(i===null)return!1;if(t==="display"||t==="visibility")return!0;const o=e[e.length-1],s=ls(i,t),u=ls(o,t);return St(s===u,`You are trying to animate ${t} from "${i}" to "${o}". ${i} is not an animatable value - to enable this animation set ${i} to a value animatable to ${o} via the \`style\` property.`),!s||!u?!1:Zd(e)||n==="spring"&&r}class cs{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:i=0,repeatDelay:o=0,repeatType:s="loop",...u}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.options={autoplay:t,delay:n,type:r,repeat:i,repeatDelay:o,repeatType:s,...u},this.updateFinishedPromise()}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&Ed(),this._resolved}onKeyframesResolved(t,n){this.hasAttemptedResolve=!0;const{name:r,type:i,velocity:o,delay:s,onComplete:u,onUpdate:a,isGenerator:l}=this.options;if(!l&&!Hd(t,r,i,o))if(s)this.options.duration=0;else{a==null||a(An(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 ds(e,t){return t?e*(1e3/t):0}const kd=5;function fs(e,t,n){const r=Math.max(t-kd,0);return ds(n-e(r),t-r)}const Or=.001,zd=.01,hs=10,jd=.05,Yd=1;function Jd({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,o;St(e<=Ke(hs),"Spring duration must be 10 seconds or less");let s=1-t;s=rt(jd,Yd,s),e=rt(zd,hs,$e(e)),s<1?(i=l=>{const c=l*s,d=c*e,f=c-n,p=Nr(l,s),b=Math.exp(-d);return Or-f/p*b},o=l=>{const d=l*s*e,f=d*n+n,p=Math.pow(s,2)*Math.pow(l,2)*e,b=Math.exp(-d),g=Nr(Math.pow(l,2),s);return(-i(l)+Or>0?-1:1)*((f-p)*b)/g}):(i=l=>{const c=Math.exp(-l*e),d=(l-n)*e+1;return-Or+c*d},o=l=>{const c=Math.exp(-l*e),d=(n-l)*(e*e);return c*d});const u=5/e,a=_d(i,o,u);if(e=Ke(e),isNaN(a))return{stiffness:100,damping:10,duration:e};{const l=Math.pow(a,2)*r;return{stiffness:l,damping:s*2*Math.sqrt(r*l),duration:e}}}const Ud=12;function _d(e,t,n){let r=n;for(let i=1;i<Ud;i++)r=r-e(r)/t(r);return r}function Nr(e,t){return e*Math.sqrt(1-t*t)}const Qd=["duration","bounce"],Kd=["stiffness","damping","mass"];function ps(e,t){return t.some(n=>e[n]!==void 0)}function $d(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!ps(e,Kd)&&ps(e,Qd)){const n=Jd(e);t={...t,...n,mass:1},t.isResolvedFromDuration=!0}return t}function ms({keyframes:e,restDelta:t,restSpeed:n,...r}){const i=e[0],o=e[e.length-1],s={done:!1,value:i},{stiffness:u,damping:a,mass:l,duration:c,velocity:d,isResolvedFromDuration:f}=$d({...r,velocity:-$e(r.velocity||0)}),p=d||0,b=a/(2*Math.sqrt(u*l)),g=o-i,v=$e(Math.sqrt(u/l)),C=Math.abs(g)<5;n||(n=C?.01:2),t||(t=C?.005:.5);let y;if(b<1){const m=Nr(v,b);y=I=>{const h=Math.exp(-b*v*I);return o-h*((p+b*v*g)/m*Math.sin(m*I)+g*Math.cos(m*I))}}else if(b===1)y=m=>o-Math.exp(-v*m)*(g+(p+v*g)*m);else{const m=v*Math.sqrt(b*b-1);y=I=>{const h=Math.exp(-b*v*I),S=Math.min(m*I,300);return o-h*((p+b*v*g)*Math.sinh(S)+m*g*Math.cosh(S))/m}}return{calculatedDuration:f&&c||null,next:m=>{const I=y(m);if(f)s.done=m>=c;else{let h=p;m!==0&&(b<1?h=fs(y,m,I):h=0);const S=Math.abs(h)<=n,T=Math.abs(o-I)<=t;s.done=S&&T}return s.value=s.done?o:I,s}}}function gs({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:s,min:u,max:a,restDelta:l=.5,restSpeed:c}){const d=e[0],f={done:!1,value:d},p=P=>u!==void 0&&P<u||a!==void 0&&P>a,b=P=>u===void 0?a:a===void 0||Math.abs(u-P)<Math.abs(a-P)?u:a;let g=n*t;const v=d+g,C=s===void 0?v:s(v);C!==v&&(g=C-d);const y=P=>-g*Math.exp(-P/r),m=P=>C+y(P),I=P=>{const M=y(P),X=m(P);f.done=Math.abs(M)<=l,f.value=f.done?C:X};let h,S;const T=P=>{p(f.value)&&(h=P,S=ms({keyframes:[f.value,b(f.value)],velocity:fs(m,P,f.value),damping:i,stiffness:o,restDelta:l,restSpeed:c}))};return T(0),{calculatedDuration:null,next:P=>{let M=!1;return!S&&h===void 0&&(M=!0,I(P),T(P)),h!==void 0&&P>=h?S.next(P-h):(!M&&I(P),f)}}}const bs=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,qd=1e-7,ef=12;function tf(e,t,n,r,i){let o,s,u=0;do s=t+(n-t)/2,o=bs(s,r,i)-e,o>0?n=s:t=s;while(Math.abs(o)>qd&&++u<ef);return s}function jt(e,t,n,r){if(e===t&&n===r)return he;const i=o=>tf(o,0,1,e,n);return o=>o===0||o===1?o:bs(i(o),t,r)}const nf=jt(.42,0,1,1),rf=jt(0,0,.58,1),vs=jt(.42,0,.58,1),of=e=>Array.isArray(e)&&typeof e[0]!="number",ys=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Cs=e=>t=>1-e(1-t),Rr=e=>1-Math.sin(Math.acos(e)),Is=Cs(Rr),sf=ys(Rr),xs=jt(.33,1.53,.69,.99),Lr=Cs(xs),af=ys(Lr),As={linear:he,easeIn:nf,easeInOut:vs,easeOut:rf,circIn:Rr,circInOut:sf,circOut:Is,backIn:Lr,backInOut:af,backOut:xs,anticipate:e=>(e*=2)<1?.5*Lr(e):.5*(2-Math.pow(2,-10*(e-1)))},Ss=e=>{if(Array.isArray(e)){Ye(e.length===4,"Cubic bezier arrays must contain four numerical values.");const[t,n,r,i]=e;return jt(t,n,r,i)}else if(typeof e=="string")return Ye(As[e]!==void 0,`Invalid easing type '${e}'`),As[e];return e},Yt=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},se=(e,t,n)=>e+(t-e)*n;function Wr(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 uf({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,o=0,s=0;if(!t)i=o=s=n;else{const u=n<.5?n*(1+t):n+t-n*t,a=2*n-u;i=Wr(a,u,e+1/3),o=Wr(a,u,e),s=Wr(a,u,e-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(s*255),alpha:r}}function Tn(e,t){return n=>n>0?t:e}const Xr=(e,t,n)=>{const r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},lf=[Mr,ht,Pt],cf=e=>lf.find(t=>t.test(e));function Ts(e){const t=cf(e);if(St(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`),!t)return!1;let n=t.parse(e);return t===Pt&&(n=uf(n)),n}const Es=(e,t)=>{const n=Ts(e),r=Ts(t);if(!n||!r)return Tn(e,t);const i={...n};return o=>(i.red=Xr(n.red,r.red,o),i.green=Xr(n.green,r.green,o),i.blue=Xr(n.blue,r.blue,o),i.alpha=se(n.alpha,r.alpha,o),ht.transform(i))},Zr=new Set(["none","hidden"]);function df(e,t){return Zr.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function ff(e,t){return n=>se(e,t,n)}function Hr(e){return typeof e=="number"?ff:typeof e=="string"?hr(e)?Tn:ye.test(e)?Es:mf:Array.isArray(e)?Ps:typeof e=="object"?ye.test(e)?Es:hf:Tn}function Ps(e,t){const n=[...e],r=n.length,i=e.map((o,s)=>Hr(o)(o,t[s]));return o=>{for(let s=0;s<r;s++)n[s]=i[s](o);return n}}function hf(e,t){const n={...e,...t},r={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=Hr(e[i])(e[i],t[i]));return i=>{for(const o in r)n[o]=r[o](i);return n}}function pf(e,t){var n;const r=[],i={color:0,var:0,number:0};for(let o=0;o<t.values.length;o++){const s=t.types[o],u=e.indexes[s][i[s]],a=(n=e.values[u])!==null&&n!==void 0?n:0;r[o]=a,i[s]++}return r}const mf=(e,t)=>{const n=at.createTransformer(t),r=zt(e),i=zt(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?Zr.has(e)&&!i.values.length||Zr.has(t)&&!r.values.length?df(e,t):Qe(Ps(pf(r,i),i.values),n):(St(!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.`),Tn(e,t))};function ws(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?se(e,t,n):Hr(e)(e,t)}function gf(e,t,n){const r=[],i=n||ws,o=e.length-1;for(let s=0;s<o;s++){let u=i(e[s],e[s+1]);if(t){const a=Array.isArray(t)?t[s]||he:t;u=Qe(a,u)}r.push(u)}return r}function bf(e,t,{clamp:n=!0,ease:r,mixer:i}={}){const o=e.length;if(Ye(o===t.length,"Both input and output ranges must be the same length"),o===1)return()=>t[0];if(o===2&&e[0]===e[1])return()=>t[1];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());const s=gf(t,r,i),u=s.length,a=l=>{let c=0;if(u>1)for(;c<e.length-2&&!(l<e[c+1]);c++);const d=Yt(e[c],e[c+1],l);return s[c](d)};return n?l=>a(rt(e[0],e[o-1],l)):a}function vf(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=Yt(0,t,r);e.push(se(n,1,i))}}function yf(e){const t=[0];return vf(t,e.length-1),t}function Cf(e,t){return e.map(n=>n*t)}function If(e,t){return e.map(()=>t||vs).splice(0,e.length-1)}function En({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=of(r)?r.map(Ss):Ss(r),o={done:!1,value:t[0]},s=Cf(n&&n.length===t.length?n:yf(t),e),u=bf(s,t,{ease:Array.isArray(i)?i:If(t,i)});return{calculatedDuration:e,next:a=>(o.value=u(a),o.done=a>=e,o)}}const Vs=2e4;function xf(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<Vs;)t+=n,r=e.next(t);return t>=Vs?1/0:t}const Af=e=>{const t=({timestamp:n})=>e(n);return{start:()=>K.update(t,!0),stop:()=>Je(t),now:()=>pe.isProcessing?pe.timestamp:st.now()}},Sf={decay:gs,inertia:gs,tween:En,keyframes:En,spring:ms},Tf=e=>e/100;class kr extends cs{constructor({KeyframeResolver:t=Vr,...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:r,motionValue:i,keyframes:o}=this.options,s=(u,a)=>this.onKeyframesResolved(u,a);r&&i&&i.owner?this.resolver=i.owner.resolveKeyframes(o,s,r,i):this.resolver=new t(o,s,r,i),this.resolver.scheduleResolve()}initPlayback(t){const{type:n="keyframes",repeat:r=0,repeatDelay:i=0,repeatType:o,velocity:s=0}=this.options,u=Sf[n]||En;let a,l;u!==En&&typeof t[0]!="number"&&(process.env.NODE_ENV!=="production"&&Ye(t.length===2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${t}`),a=Qe(Tf,ws(t[0],t[1])),t=[0,100]);const c=u({...this.options,keyframes:t});o==="mirror"&&(l=u({...this.options,keyframes:[...t].reverse(),velocity:-s})),c.calculatedDuration===null&&(c.calculatedDuration=xf(c));const{calculatedDuration:d}=c,f=d+i,p=f*(r+1)-i;return{generator:c,mirroredGenerator:l,mapPercentToKeyframes:a,calculatedDuration:d,resolvedDuration:f,totalDuration:p}}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:r}=this;if(!r){const{keyframes:P}=this.options;return{done:!0,value:P[P.length-1]}}const{finalKeyframe:i,generator:o,mirroredGenerator:s,mapPercentToKeyframes:u,keyframes:a,calculatedDuration:l,totalDuration:c,resolvedDuration:d}=r;if(this.startTime===null)return o.next(0);const{delay:f,repeat:p,repeatType:b,repeatDelay:g,onUpdate:v}=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 C=this.currentTime-f*(this.speed>=0?1:-1),y=this.speed>=0?C<0:C>c;this.currentTime=Math.max(C,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=c);let m=this.currentTime,I=o;if(p){const P=Math.min(this.currentTime,c)/d;let M=Math.floor(P),X=P%1;!X&&P>=1&&(X=1),X===1&&M--,M=Math.min(M,p+1),!!(M%2)&&(b==="reverse"?(X=1-X,g&&(X-=g/d)):b==="mirror"&&(I=s)),m=rt(0,1,X)*d}const h=y?{done:!1,value:a[0]}:I.next(m);u&&(h.value=u(h.value));let{done:S}=h;!y&&l!==null&&(S=this.speed>=0?this.currentTime>=c:this.currentTime<=0);const T=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&S);return T&&i!==void 0&&(h.value=An(a,this.options,i)),v&&v(h.value),T&&this.finish(),h}get duration(){const{resolved:t}=this;return t?$e(t.calculatedDuration):0}get time(){return $e(this.currentTime)}set time(t){t=Ke(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=$e(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:t=Af,onPlay:n}=this.options;this.driver||(this.driver=t(i=>this.tick(i))),n&&n();const r=this.driver.now();this.holdTime!==null?this.startTime=r-this.holdTime:(!this.startTime||this.state==="finished")&&(this.startTime=r),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 Ds=e=>Array.isArray(e)&&typeof e[0]=="number";function Fs(e){return!!(!e||typeof e=="string"&&e in zr||Ds(e)||Array.isArray(e)&&e.every(Fs))}const Jt=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,zr={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Jt([0,.65,.55,1]),circOut:Jt([.55,0,1,.45]),backIn:Jt([.31,.01,.66,-.59]),backOut:Jt([.33,1.53,.69,.99])};function Ef(e){return Ms(e)||zr.easeOut}function Ms(e){if(e)return Ds(e)?Jt(e):Array.isArray(e)?e.map(Ef):zr[e]}function Pf(e,t,n,{delay:r=0,duration:i=300,repeat:o=0,repeatType:s="loop",ease:u,times:a}={}){const l={[t]:n};a&&(l.offset=a);const c=Ms(u);return Array.isArray(c)&&(l.easing=c),e.animate(l,{delay:r,duration:i,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:o+1,direction:s==="reverse"?"alternate":"normal"})}const wf=us(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),Pn=10,Vf=2e4;function Df(e){return e.type==="spring"||!Fs(e.ease)}function Ff(e,t){const n=new kr({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0});let r={done:!1,value:e[0]};const i=[];let o=0;for(;!r.done&&o<Vf;)r=n.sample(o),i.push(r.value),o+=Pn;return{times:void 0,keyframes:i,duration:o-Pn,ease:"linear"}}class Bs extends cs{constructor(t){super(t);const{name:n,motionValue:r,keyframes:i}=this.options;this.resolver=new as(i,(o,s)=>this.onKeyframesResolved(o,s),n,r),this.resolver.scheduleResolve()}initPlayback(t,n){var r;let{duration:i=300,times:o,ease:s,type:u,motionValue:a,name:l}=this.options;if(!(!((r=a.owner)===null||r===void 0)&&r.current))return!1;if(Df(this.options)){const{onComplete:d,onUpdate:f,motionValue:p,...b}=this.options,g=Ff(t,b);t=g.keyframes,t.length===1&&(t[1]=t[0]),i=g.duration,o=g.times,s=g.ease,u="keyframes"}const c=Pf(a.owner.current,l,t,{...this.options,duration:i,times:o,ease:s});return c.startTime=st.now(),this.pendingTimeline?(c.timeline=this.pendingTimeline,this.pendingTimeline=void 0):c.onfinish=()=>{const{onComplete:d}=this.options;a.set(An(t,this.options,n)),d&&d(),this.cancel(),this.resolveFinishedPromise()},{animation:c,duration:i,times:o,type:u,ease:s,keyframes:t}}get duration(){const{resolved:t}=this;if(!t)return 0;const{duration:n}=t;return $e(n)}get time(){const{resolved:t}=this;if(!t)return 0;const{animation:n}=t;return $e(n.currentTime||0)}set time(t){const{resolved:n}=this;if(!n)return;const{animation:r}=n;r.currentTime=Ke(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:r}=n;r.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 he;const{animation:r}=n;r.timeline=t,r.onfinish=null}return he}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:r,duration:i,type:o,ease:s,times:u}=t;if(n.playState==="idle"||n.playState==="finished")return;if(this.time){const{motionValue:l,onUpdate:c,onComplete:d,...f}=this.options,p=new kr({...f,keyframes:r,duration:i,type:o,ease:s,times:u,isGenerator:!0}),b=Ke(this.time);l.setWithVelocity(p.sample(b-Pn).value,p.sample(b).value,Pn)}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:r,repeatDelay:i,repeatType:o,damping:s,type:u}=t;return wf()&&r&&Do.has(r)&&n&&n.owner&&n.owner.current instanceof HTMLElement&&!n.owner.getProps().onUpdate&&!i&&o!=="mirror"&&s!==0&&u!=="inertia"}}function Mf(e,t){let n;const r=()=>{const{currentTime:i}=t,s=(i===null?0:i.value)/100;n!==s&&e(s),n=s};return K.update(r,!0),()=>Je(r)}const Bf=us(()=>window.ScrollTimeline!==void 0);class Gf{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 r=0;r<this.animations.length;r++)this.animations[r][t]=n}attachTimeline(t){const n=this.animations.map(r=>{if(Bf()&&r.attachTimeline)r.attachTimeline(t);else return r.pause(),Mf(i=>{r.time=r.duration*i},t)});return()=>{n.forEach((r,i)=>{r&&r(),this.animations[i].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 jr=(e,t,n,r={},i,o,s)=>u=>{const a=Er(r,e)||{},l=a.delay||r.delay||0;let{elapsed:c=0}=r;c=c-Ke(l);let d={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-c,onUpdate:p=>{t.set(p),a.onUpdate&&a.onUpdate(p)},onComplete:()=>{u(),a.onComplete&&a.onComplete(),s&&s()},onStop:s,name:e,motionValue:t,element:o?void 0:i};md(a)||(d={...d,...pd(e,d)}),d.duration&&(d.duration=Ke(d.duration)),d.repeatDelay&&(d.repeatDelay=Ke(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&&!o&&t.get()!==void 0){const p=An(d.keyframes,a);if(p!==void 0)return K.update(()=>{d.onUpdate(p),d.onComplete()}),new Gf([])}return!o&&Bs.supports(d)?new Bs(d):new kr(d)};class Yr{constructor(){this.subscriptions=[]}add(t){return yn(this.subscriptions,t),()=>Cn(this.subscriptions,t)}notify(t,n,r){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](t,n,r);else for(let o=0;o<i;o++){const s=this.subscriptions[o];s&&s(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Gs=new Set;function Jr(e,t,n){e||Gs.has(t)||(console.warn(t),Gs.add(t))}const Os=30,Of=e=>!isNaN(parseFloat(e));class Ns{constructor(t,n={}){this.version="11.3.8",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(r,i=!0)=>{const o=st.now();this.updatedAt!==o&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),i&&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=st.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=Of(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return process.env.NODE_ENV!=="production"&&Jr(!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 Yr);const r=this.events[t].add(n);return t==="change"?()=>{r(),K.read(()=>{this.events.change.getSize()||this.stop()})}:r}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,r){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}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=st.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>Os)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,Os);return ds(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 Ut(e,t){return new Ns(e,t)}function Nf(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Ut(n))}function Rf(e,t){const n=xn(e,t);let{transitionEnd:r={},transition:i={},...o}=n||{};o={...o,...r};for(const s in o){const u=zc(o[s]);Nf(e,s,u)}}function Rs(e){return e.getProps()[oo]}class Lf extends Ns{constructor(){super(...arguments),this.output=[],this.counts=new Map}add(t){const n=Fo(t);if(!n)return;const r=this.counts.get(n)||0;this.counts.set(n,r+1),r===0&&(this.output.push(n),this.update());let i=!1;return()=>{if(i)return;i=!0;const o=this.counts.get(n)-1;this.counts.set(n,o),o===0&&(Cn(this.output,n),this.update())}}update(){this.set(this.output.length?this.output.join(", "):"auto")}}function Wf(e){return!!(ve(e)&&e.add)}function Ur(e,t){var n;if(!e.applyWillChange)return;let r=e.getValue("willChange");if(!r&&!(!((n=e.props.style)===null||n===void 0)&&n.willChange)&&(r=new Lf("auto"),e.addValue("willChange",r)),Wf(r))return r.add(t)}function Xf({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function Ls(e,t,{delay:n=0,transitionOverride:r,type:i}={}){var o;let{transition:s=e.getDefaultTransition(),transitionEnd:u,...a}=t;r&&(s=r);const l=[],c=i&&e.animationState&&e.animationState.getState()[i];for(const d in a){const f=e.getValue(d,(o=e.latestValues[d])!==null&&o!==void 0?o:null),p=a[d];if(p===void 0||c&&Xf(c,d))continue;const b={delay:n,elapsed:0,...Er(s||{},d)};let g=!1;if(window.HandoffAppearAnimations){const C=Rs(e);if(C){const y=window.HandoffAppearAnimations(C,d,f,K);y!==null&&(b.elapsed=y,g=!0)}}f.start(jr(d,f,p,e.shouldReduceMotion&&nt.has(d)?{type:!1}:b,e,g,Ur(e,d)));const v=f.animation;v&&l.push(v)}return u&&Promise.all(l).then(()=>{K.update(()=>{u&&Rf(e,u)})}),l}function _r(e,t,n={}){var r;const i=xn(e,t,n.type==="exit"?(r=e.presenceContext)===null||r===void 0?void 0:r.custom:void 0);let{transition:o=e.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(o=n.transitionOverride);const s=i?()=>Promise.all(Ls(e,i,n)):()=>Promise.resolve(),u=e.variantChildren&&e.variantChildren.size?(l=0)=>{const{delayChildren:c=0,staggerChildren:d,staggerDirection:f}=o;return Zf(e,t,c+l,d,f,n)}:()=>Promise.resolve(),{when:a}=o;if(a){const[l,c]=a==="beforeChildren"?[s,u]:[u,s];return l().then(()=>c())}else return Promise.all([s(),u(n.delay)])}function Zf(e,t,n=0,r=0,i=1,o){const s=[],u=(e.variantChildren.size-1)*r,a=i===1?(l=0)=>l*r:(l=0)=>u-l*r;return Array.from(e.variantChildren).sort(Hf).forEach((l,c)=>{l.notify("AnimationStart",t),s.push(_r(l,t,{...o,delay:n+a(c)}).then(()=>l.notify("AnimationComplete",t)))}),Promise.all(s)}function Hf(e,t){return e.sortNodePosition(t)}function kf(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const i=t.map(o=>_r(e,o,n));r=Promise.all(i)}else if(typeof t=="string")r=_r(e,t,n);else{const i=typeof t=="function"?xn(e,t,n.custom):t;r=Promise.all(Ls(e,i,n))}return r.then(()=>{K.postRender(()=>{e.notify("AnimationComplete",t)})})}const zf=[...lr].reverse(),jf=lr.length;function Yf(e){return t=>Promise.all(t.map(({animation:n,options:r})=>kf(e,n,r)))}function Jf(e){let t=Yf(e),n=Ws(),r=!0;const i=a=>(l,c)=>{var d;const f=xn(e,c,a==="exit"?(d=e.presenceContext)===null||d===void 0?void 0:d.custom:void 0);if(f){const{transition:p,transitionEnd:b,...g}=f;l={...l,...g,...b}}return l};function o(a){t=a(e)}function s(a){const l=e.getProps(),c=e.getVariantContext(!0)||{},d=[],f=new Set;let p={},b=1/0;for(let v=0;v<jf;v++){const C=zf[v],y=n[C],m=l[C]!==void 0?l[C]:c[C],I=Rt(m),h=C===a?y.isActive:null;h===!1&&(b=v);let S=m===c[C]&&m!==l[C]&&I;if(S&&r&&e.manuallyAnimateOnMount&&(S=!1),y.protectedKeys={...p},!y.isActive&&h===null||!m&&!y.prevProp||Lt(m)||typeof m=="boolean")continue;let P=Uf(y.prevProp,m)||C===a&&y.isActive&&!S&&I||v>b&&I,M=!1;const X=Array.isArray(m)?m:[m];let U=X.reduce(i(C),{});h===!1&&(U={});const{prevResolvedValues:ne={}}=y,de={...ne,...U},oe=k=>{P=!0,f.has(k)&&(M=!0,f.delete(k)),y.needsAnimating[k]=!0;const z=e.getValue(k);z&&(z.liveStyle=!1)};for(const k in de){const z=U[k],re=ne[k];if(p.hasOwnProperty(k))continue;let ie=!1;Ir(z)&&Ir(re)?ie=!Ho(z,re):ie=z!==re,ie?z!=null?oe(k):f.add(k):z!==void 0&&f.has(k)?oe(k):y.protectedKeys[k]=!0}y.prevProp=m,y.prevResolvedValues=U,y.isActive&&(p={...p,...U}),r&&e.blockInitialAnimation&&(P=!1),P&&(!S||M)&&d.push(...X.map(k=>({animation:k,options:{type:C}})))}if(f.size){const v={};f.forEach(C=>{const y=e.getBaseTarget(C),m=e.getValue(C);m&&(m.liveStyle=!0),v[C]=y??null}),d.push({animation:v})}let g=!!d.length;return r&&(l.initial===!1||l.initial===l.animate)&&!e.manuallyAnimateOnMount&&(g=!1),r=!1,g?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 p;return(p=f.animationState)===null||p===void 0?void 0:p.setActive(a,l)}),n[a].isActive=l;const d=s(a);for(const f in n)n[f].protectedKeys={};return d}return{animateChanges:s,setActive:u,setAnimateFunction:o,getState:()=>n,reset:()=>{n=Ws(),r=!0}}}function Uf(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Ho(t,e):!1}function pt(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Ws(){return{animate:pt(!0),whileInView:pt(),whileHover:pt(),whileTap:pt(),whileDrag:pt(),whileFocus:pt(),exit:pt()}}class _f extends ot{constructor(t){super(t),t.animationState||(t.animationState=Jf(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();Lt(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 Qf=0;class Kf extends ot{constructor(){super(...arguments),this.id=Qf++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;const i=this.node.animationState.setActive("exit",!t);n&&!t&&i.then(()=>n(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const $f={animation:{Feature:_f},exit:{Feature:Kf}},Xs=(e,t)=>Math.abs(e-t);function qf(e,t){const n=Xs(e.x,t.x),r=Xs(e.y,t.y);return Math.sqrt(n**2+r**2)}class Zs{constructor(t,n,{transformPagePoint:r,contextWindow:i,dragSnapToOrigin:o=!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=Kr(this.lastMoveEventInfo,this.history),f=this.startEvent!==null,p=qf(d.offset,{x:0,y:0})>=3;if(!f&&!p)return;const{point:b}=d,{timestamp:g}=pe;this.history.push({...b,timestamp:g});const{onStart:v,onMove:C}=this.handlers;f||(v&&v(this.lastMoveEvent,d),this.startEvent=this.lastMoveEvent),C&&C(this.lastMoveEvent,d)},this.handlePointerMove=(d,f)=>{this.lastMoveEvent=d,this.lastMoveEventInfo=Qr(f,this.transformPagePoint),K.update(this.updatePoint,!0)},this.handlePointerUp=(d,f)=>{this.end();const{onEnd:p,onSessionEnd:b,resumeAnimation:g}=this.handlers;if(this.dragSnapToOrigin&&g&&g(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const v=Kr(d.type==="pointercancel"?this.lastMoveEventInfo:Qr(f,this.transformPagePoint),this.history);this.startEvent&&p&&p(d,v),b&&b(d,v)},!Go(t))return;this.dragSnapToOrigin=o,this.handlers=n,this.transformPagePoint=r,this.contextWindow=i||window;const s=In(t),u=Qr(s,this.transformPagePoint),{point:a}=u,{timestamp:l}=pe;this.history=[{...a,timestamp:l}];const{onSessionStart:c}=n;c&&c(t,Kr(u,this.history)),this.removeListeners=Qe(_e(this.contextWindow,"pointermove",this.handlePointerMove),_e(this.contextWindow,"pointerup",this.handlePointerUp),_e(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Je(this.updatePoint)}}function Qr(e,t){return t?{point:t(e.point)}:e}function Hs(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Kr({point:e},t){return{point:e,delta:Hs(e,ks(t)),offset:Hs(e,eh(t)),velocity:th(t,.1)}}function eh(e){return e[0]}function ks(e){return e[e.length-1]}function th(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=ks(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>Ke(t)));)n--;if(!r)return{x:0,y:0};const o=$e(i.timestamp-r.timestamp);if(o===0)return{x:0,y:0};const s={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}const zs=1e-4,nh=1-zs,rh=1+zs,js=.01,ih=0-js,oh=0+js;function Pe(e){return e.max-e.min}function sh(e,t,n){return Math.abs(e-t)<=n}function Ys(e,t,n,r=.5){e.origin=r,e.originPoint=se(t.min,t.max,e.origin),e.scale=Pe(n)/Pe(t),e.translate=se(n.min,n.max,e.origin)-e.originPoint,(e.scale>=nh&&e.scale<=rh||isNaN(e.scale))&&(e.scale=1),(e.translate>=ih&&e.translate<=oh||isNaN(e.translate))&&(e.translate=0)}function _t(e,t,n,r){Ys(e.x,t.x,n.x,r?r.originX:void 0),Ys(e.y,t.y,n.y,r?r.originY:void 0)}function Js(e,t,n){e.min=n.min+t.min,e.max=e.min+Pe(t)}function ah(e,t,n){Js(e.x,t.x,n.x),Js(e.y,t.y,n.y)}function Us(e,t,n){e.min=t.min-n.min,e.max=e.min+Pe(t)}function Qt(e,t,n){Us(e.x,t.x,n.x),Us(e.y,t.y,n.y)}function uh(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?se(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?se(n,e,r.max):Math.min(e,n)),e}function _s(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 lh(e,{top:t,left:n,bottom:r,right:i}){return{x:_s(e.x,n,i),y:_s(e.y,t,r)}}function Qs(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function ch(e,t){return{x:Qs(e.x,t.x),y:Qs(e.y,t.y)}}function dh(e,t){let n=.5;const r=Pe(e),i=Pe(t);return i>r?n=Yt(t.min,t.max-r,e.min):r>i&&(n=Yt(e.min,e.max-i,t.min)),rt(0,1,n)}function fh(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 $r=.35;function hh(e=$r){return e===!1?e=0:e===!0&&(e=$r),{x:Ks(e,"left","right"),y:Ks(e,"top","bottom")}}function Ks(e,t,n){return{min:$s(e,t),max:$s(e,n)}}function $s(e,t){return typeof e=="number"?e:e[t]||0}const qs=()=>({translate:0,scale:1,origin:0,originPoint:0}),wt=()=>({x:qs(),y:qs()}),ea=()=>({min:0,max:0}),le=()=>({x:ea(),y:ea()});function Fe(e){return[e("x"),e("y")]}function ta({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function ph({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function mh(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function qr(e){return e===void 0||e===1}function ei({scale:e,scaleX:t,scaleY:n}){return!qr(e)||!qr(t)||!qr(n)}function mt(e){return ei(e)||na(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function na(e){return ra(e.x)||ra(e.y)}function ra(e){return e&&e!=="0%"}function wn(e,t,n){const r=e-n,i=t*r;return n+i}function ia(e,t,n,r,i){return i!==void 0&&(e=wn(e,i,r)),wn(e,n,r)+t}function ti(e,t=0,n=1,r,i){e.min=ia(e.min,t,n,r,i),e.max=ia(e.max,t,n,r,i)}function oa(e,{x:t,y:n}){ti(e.x,t.translate,t.scale,t.originPoint),ti(e.y,n.translate,n.scale,n.originPoint)}const sa=.999999999999,aa=1.0000000000001;function gh(e,t,n,r=!1){const i=n.length;if(!i)return;t.x=t.y=1;let o,s;for(let u=0;u<i;u++){o=n[u],s=o.projectionDelta;const{visualElement:a}=o.options;a&&a.props.style&&a.props.style.display==="contents"||(r&&o.options.layoutScroll&&o.scroll&&o!==o.root&&Vt(e,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,oa(e,s)),r&&mt(o.latestValues)&&Vt(e,o.latestValues))}t.x<aa&&t.x>sa&&(t.x=1),t.y<aa&&t.y>sa&&(t.y=1)}function ut(e,t){e.min=e.min+t,e.max=e.max+t}function ua(e,t,n,r,i=.5){const o=se(e.min,e.max,i);ti(e,t,n,o,r)}function Vt(e,t){ua(e.x,t.x,t.scaleX,t.scale,t.originX),ua(e.y,t.y,t.scaleY,t.scale,t.originY)}function la(e,t){return ta(mh(e.getBoundingClientRect(),t))}function bh(e,t,n){const r=la(e,n),{scroll:i}=t;return i&&(ut(r.x,i.offset.x),ut(r.y,i.offset.y)),r}const ca=({current:e})=>e?e.ownerDocument.defaultView:null,vh=new WeakMap;class yh{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=le(),this.visualElement=t}start(t,{snapToCursor:n=!1}={}){const{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;const i=c=>{const{dragSnapToOrigin:d}=this.getProps();d?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(In(c,"page").point)},o=(c,d)=>{var f;const{drag:p,dragPropagation:b,onDragStart:g}=this.getProps();if(p&&!b&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=Lo(p),!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(C=>{let y=this.getAxisMotionValue(C).get()||0;if(We.test(y)){const{projection:m}=this.visualElement;if(m&&m.layout){const I=m.layout.layoutBox[C];I&&(y=Pe(I)*(parseFloat(y)/100))}}this.originPoint[C]=y}),g&&K.postRender(()=>g(c,d)),(f=this.removeWillChange)===null||f===void 0||f.call(this),this.removeWillChange=Ur(this.visualElement,"transform");const{animationState:v}=this.visualElement;v&&v.setActive("whileDrag",!0)},s=(c,d)=>{const{dragPropagation:f,dragDirectionLock:p,onDirectionLock:b,onDrag:g}=this.getProps();if(!f&&!this.openGlobalLock)return;const{offset:v}=d;if(p&&this.currentDirection===null){this.currentDirection=Ch(v),this.currentDirection!==null&&b&&b(this.currentDirection);return}this.updateAxis("x",d.point,v),this.updateAxis("y",d.point,v),this.visualElement.render(),g&&g(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 Zs(t,{onSessionStart:i,onStart:o,onMove:s,onSessionEnd:u,resumeAnimation:a},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:l,contextWindow:ca(this.visualElement)})}stop(t,n){var r;(r=this.removeWillChange)===null||r===void 0||r.call(this);const i=this.isDragging;if(this.cancel(),!i)return;const{velocity:o}=n;this.startAnimation(o);const{onDragEnd:s}=this.getProps();s&&K.postRender(()=>s(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:r}=this.getProps();!r&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,r){const{drag:i}=this.getProps();if(!r||!Vn(t,i,this.currentDirection))return;const o=this.getAxisMotionValue(t);let s=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(s=uh(s,this.constraints[t],this.elastic[t])),o.set(s)}resolveConstraints(){var t;const{dragConstraints:n,dragElastic:r}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)===null||t===void 0?void 0:t.layout,o=this.constraints;n&&xt(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&i?this.constraints=lh(i.layoutBox,n):this.constraints=!1,this.elastic=hh(r),o!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&Fe(s=>{this.constraints!==!1&&this.getAxisMotionValue(s)&&(this.constraints[s]=fh(i.layoutBox[s],this.constraints[s]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!xt(t))return!1;const r=t.current;Ye(r!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const o=bh(r,i.root,this.visualElement.getTransformPagePoint());let s=ch(i.layout.layoutBox,o);if(n){const u=n(ph(s));this.hasMutatedConstraints=!!u,u&&(s=ta(u))}return s}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:i,dragTransition:o,dragSnapToOrigin:s,onDragTransitionEnd:u}=this.getProps(),a=this.constraints||{},l=Fe(c=>{if(!Vn(c,n,this.currentDirection))return;let d=a&&a[c]||{};s&&(d={min:0,max:0});const f=i?200:1e6,p=i?40:1e7,b={type:"inertia",velocity:r?t[c]:0,bounceStiffness:f,bounceDamping:p,timeConstant:750,restDelta:1,restSpeed:10,...o,...d};return this.startAxisValueAnimation(c,b)});return Promise.all(l).then(u)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return r.start(jr(t,r,0,n,this.visualElement,!1,Ur(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()}`,r=this.visualElement.getProps(),i=r[n];return i||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){Fe(n=>{const{drag:r}=this.getProps();if(!Vn(n,r,this.currentDirection))return;const{projection:i}=this.visualElement,o=this.getAxisMotionValue(n);if(i&&i.layout){const{min:s,max:u}=i.layout.layoutBox[n];o.set(t[n]-se(s,u,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!xt(n)||!r||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};Fe(s=>{const u=this.getAxisMotionValue(s);if(u&&this.constraints!==!1){const a=u.get();i[s]=dh({min:a,max:a},this.constraints[s])}});const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),Fe(s=>{if(!Vn(s,t,null))return;const u=this.getAxisMotionValue(s),{min:a,max:l}=this.constraints[s];u.set(se(a,l,i[s]))})}addListeners(){if(!this.visualElement.current)return;vh.set(this.visualElement,this);const t=this.visualElement.current,n=_e(t,"pointerdown",a=>{const{drag:l,dragListener:c=!0}=this.getProps();l&&c&&this.start(a)}),r=()=>{const{dragConstraints:a}=this.getProps();xt(a)&&a.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,o=i.addEventListener("measure",r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),K.read(r);const s=Ue(window,"resize",()=>this.scalePositionWithinConstraints()),u=i.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()=>{s(),n(),o(),u&&u()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:o=!1,dragElastic:s=$r,dragMomentum:u=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:i,dragConstraints:o,dragElastic:s,dragMomentum:u}}}function Vn(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function Ch(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class Ih extends ot{constructor(t){super(t),this.removeGroupControls=he,this.removeListeners=he,this.controls=new yh(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||he}unmount(){this.removeGroupControls(),this.removeListeners()}}const da=e=>(t,n)=>{e&&K.postRender(()=>e(t,n))};class xh extends ot{constructor(){super(...arguments),this.removePointerDownListener=he}onPointerDown(t){this.session=new Zs(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:ca(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:i}=this.node.getProps();return{onSessionStart:da(t),onStart:da(n),onMove:r,onEnd:(o,s)=>{delete this.session,i&&K.postRender(()=>i(o,s))}}}mount(){this.removePointerDownListener=_e(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 Ah(){const e=x.useContext(dn);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:n,register:r}=e,i=x.useId();return x.useEffect(()=>r(i),[]),!t&&n?[!1,()=>n&&n(i)]:[!0]}const Dn={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function fa(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Kt={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(R.test(e))e=parseFloat(e);else return e;const n=fa(e,t.target.x),r=fa(e,t.target.y);return`${n}% ${r}%`}},Sh={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=at.parse(e);if(i.length>5)return r;const o=at.createTransformer(e),s=typeof i[0]!="number"?1:0,u=n.x.scale*t.x,a=n.y.scale*t.y;i[0+s]/=u,i[1+s]/=a;const l=se(u,a,.5);return typeof i[2+s]=="number"&&(i[2+s]/=l),typeof i[3+s]=="number"&&(i[3+s]/=l),o(i)}};class Th extends x.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:i}=this.props,{projection:o}=t;yc(Eh),o&&(n.group&&n.group.add(o),r&&r.register&&i&&r.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),Dn.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:i,isPresent:o}=this.props,s=r.projection;return s&&(s.isPresent=o,i||t.layoutDependency!==n||n===void 0?s.willUpdate():this.safeToRemove(),t.isPresent!==o&&(o?s.promote():s.relegate()||K.postRender(()=>{const u=s.getStack();(!u||!u.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),ur.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:i}=t;i&&(i.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(i),r&&r.deregister&&r.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function ha(e){const[t,n]=Ah(),r=x.useContext(dr);return w.jsx(Th,{...e,layoutGroup:r,switchLayoutGroup:x.useContext(ao),isPresent:t,safeToRemove:n})}const Eh={borderRadius:{...Kt,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Kt,borderTopRightRadius:Kt,borderBottomLeftRadius:Kt,borderBottomRightRadius:Kt,boxShadow:Sh},pa=["TopLeft","TopRight","BottomLeft","BottomRight"],Ph=pa.length,ma=e=>typeof e=="string"?parseFloat(e):e,ga=e=>typeof e=="number"||R.test(e);function wh(e,t,n,r,i,o){i?(e.opacity=se(0,n.opacity!==void 0?n.opacity:1,Vh(r)),e.opacityExit=se(t.opacity!==void 0?t.opacity:1,0,Dh(r))):o&&(e.opacity=se(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,r));for(let s=0;s<Ph;s++){const u=`border${pa[s]}Radius`;let a=ba(t,u),l=ba(n,u);if(a===void 0&&l===void 0)continue;a||(a=0),l||(l=0),a===0||l===0||ga(a)===ga(l)?(e[u]=Math.max(se(ma(a),ma(l),r),0),(We.test(l)||We.test(a))&&(e[u]+="%")):e[u]=l}(t.rotate||n.rotate)&&(e.rotate=se(t.rotate||0,n.rotate||0,r))}function ba(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const Vh=va(0,.5,Is),Dh=va(.5,.95,he);function va(e,t,n){return r=>r<e?0:r>t?1:n(Yt(e,t,r))}function ya(e,t){e.min=t.min,e.max=t.max}function Me(e,t){ya(e.x,t.x),ya(e.y,t.y)}function Ca(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function Ia(e,t,n,r,i){return e-=t,e=wn(e,1/n,r),i!==void 0&&(e=wn(e,1/i,r)),e}function Fh(e,t=0,n=1,r=.5,i,o=e,s=e){if(We.test(t)&&(t=parseFloat(t),t=se(s.min,s.max,t/100)-s.min),typeof t!="number")return;let u=se(o.min,o.max,r);e===o&&(u-=t),e.min=Ia(e.min,t,n,u,i),e.max=Ia(e.max,t,n,u,i)}function xa(e,t,[n,r,i],o,s){Fh(e,t[n],t[r],t[i],t.scale,o,s)}const Mh=["x","scaleX","originX"],Bh=["y","scaleY","originY"];function Aa(e,t,n,r){xa(e.x,t,Mh,n?n.x:void 0,r?r.x:void 0),xa(e.y,t,Bh,n?n.y:void 0,r?r.y:void 0)}function Sa(e){return e.translate===0&&e.scale===1}function Ta(e){return Sa(e.x)&&Sa(e.y)}function Gh(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 Ea(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 Pa(e){return Pe(e.x)/Pe(e.y)}function wa(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class Oh{constructor(){this.members=[]}add(t){yn(this.members,t),t.scheduleRender()}remove(t){if(Cn(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(i=>t===i);if(n===0)return!1;let r;for(let i=n;i>=0;i--){const o=this.members[i];if(o.isPresent!==!1){r=o;break}}return r?(this.promote(r),!0):!1}promote(t,n){const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,n&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:i}=t.options;i===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:r}=t;n.onExitComplete&&n.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function Nh(e,t,n){let r="";const i=e.x.translate/t.x,o=e.y.translate/t.y,s=(n==null?void 0:n.z)||0;if((i||o||s)&&(r=`translate3d(${i}px, ${o}px, ${s}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:l,rotate:c,rotateX:d,rotateY:f,skewX:p,skewY:b}=n;l&&(r=`perspective(${l}px) ${r}`),c&&(r+=`rotate(${c}deg) `),d&&(r+=`rotateX(${d}deg) `),f&&(r+=`rotateY(${f}deg) `),p&&(r+=`skewX(${p}deg) `),b&&(r+=`skewY(${b}deg) `)}const u=e.x.scale*t.x,a=e.y.scale*t.y;return(u!==1||a!==1)&&(r+=`scale(${u}, ${a})`),r||"none"}const Rh=(e,t)=>e.depth-t.depth;class Lh{constructor(){this.children=[],this.isDirty=!1}add(t){yn(this.children,t),this.isDirty=!0}remove(t){Cn(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(Rh),this.isDirty=!1,this.children.forEach(t)}}function Wh(e,t){const n=st.now(),r=({timestamp:i})=>{const o=i-n;o>=t&&(Je(r),e(o-t))};return K.read(r,!0),()=>Je(r)}function Xh(e){return e instanceof SVGElement&&e.tagName!=="svg"}function Zh(e,t,n){const r=ve(e)?e:Ut(e);return r.start(jr("",r,t,n)),r.animation}const gt={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},ni=["","X","Y","Z"],Hh={visibility:"hidden"},Va=1e3;let kh=0;function ri(e,t,n,r){const{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function Da(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return!1;const{visualElement:t}=e.options;return t?Rs(t)?!0:e.parent&&!e.parent.hasCheckedOptimisedAppear?Da(e.parent):!1:!1}function Fa({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(s={},u=t==null?void 0:t()){this.id=kh++,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&&(gt.totalNodes=gt.resolvedTargetDeltas=gt.recalculatedProjection=0),this.nodes.forEach(Yh),this.nodes.forEach(Kh),this.nodes.forEach($h),this.nodes.forEach(Jh),window.MotionDebug&&window.MotionDebug.record(gt)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=s,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 Lh)}addEventListener(s,u){return this.eventHandlers.has(s)||this.eventHandlers.set(s,new Yr),this.eventHandlers.get(s).add(u)}notifyListeners(s,...u){const a=this.eventHandlers.get(s);a&&a.notify(...u)}hasListeners(s){return this.eventHandlers.has(s)}mount(s,u=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=Xh(s),this.instance=s;const{layoutId:a,layout:l,visualElement:c}=this.options;if(c&&!c.current&&c.mount(s),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(s,()=>{this.root.updateBlockedByResize=!0,d&&d(),d=Wh(f,250),Dn.hasAnimatedSinceResize&&(Dn.hasAnimatedSinceResize=!1,this.nodes.forEach(Ba))})}a&&this.root.registerSharedNode(a,this),this.options.animate!==!1&&c&&(a||l)&&this.addEventListener("didUpdate",({delta:d,hasLayoutChanged:f,hasRelativeTargetChanged:p,layout:b})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const g=this.options.transition||c.getDefaultTransition()||rp,{onLayoutAnimationStart:v,onLayoutAnimationComplete:C}=c.getProps(),y=!this.targetLayout||!Ea(this.targetLayout,b)||p,m=!f&&p;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||m||f&&(y||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(d,m);const I={...Er(g,"layout"),onPlay:v,onComplete:C};(c.shouldReduceMotion||this.options.layoutRoot)&&(I.delay=0,I.type=!1),this.startAnimation(I)}else f||Ba(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=b})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const s=this.getStack();s&&s.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Je(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(qh),this.animationId++)}getTransformTemplate(){const{visualElement:s}=this.options;return s&&s.getProps().transformTemplate}willUpdate(s=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.HandoffCancelAllAnimations&&Da(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(),s&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(Ma);return}this.isUpdating||this.nodes.forEach(_h),this.isUpdating=!1,this.nodes.forEach(Qh),this.nodes.forEach(zh),this.nodes.forEach(jh),this.clearAllSnapshots();const u=st.now();pe.delta=rt(0,1e3/60,u-pe.timestamp),pe.timestamp=u,pe.isProcessing=!0,xr.update.process(pe),xr.preRender.process(pe),xr.render.process(pe),pe.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,ur.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Uh),this.sharedNodes.forEach(ep)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,K.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){K.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 s=this.layout;this.layout=this.measure(!1),this.layoutCorrected=le(),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,s?s.layoutBox:void 0)}updateScroll(s="measure"){let u=!!(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===s&&(u=!1),u&&(this.scroll={animationId:this.root.animationId,phase:s,isRoot:r(this.instance),offset:n(this.instance)})}resetTransform(){if(!i)return;const s=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,u=this.projectionDelta&&!Ta(this.projectionDelta),a=this.getTransformTemplate(),l=a?a(this.latestValues,""):void 0,c=l!==this.prevTransformTemplateValue;s&&(u||mt(this.latestValues)||c)&&(i(this.instance,l),this.shouldResetTransform=!1,this.scheduleRender())}measure(s=!0){const u=this.measurePageBox();let a=this.removeElementScroll(u);return s&&(a=this.removeTransform(a)),ip(a),{animationId:this.root.animationId,measuredBox:u,layoutBox:a,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:s}=this.options;if(!s)return le();const u=s.measureViewportBox(),{scroll:a}=this.root;return a&&(ut(u.x,a.offset.x),ut(u.y,a.offset.y)),u}removeElementScroll(s){const u=le();Me(u,s);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){Me(u,s);const{scroll:f}=this.root;f&&(ut(u.x,-f.offset.x),ut(u.y,-f.offset.y))}ut(u.x,c.offset.x),ut(u.y,c.offset.y)}}return u}applyTransform(s,u=!1){const a=le();Me(a,s);for(let l=0;l<this.path.length;l++){const c=this.path[l];!u&&c.options.layoutScroll&&c.scroll&&c!==c.root&&Vt(a,{x:-c.scroll.offset.x,y:-c.scroll.offset.y}),mt(c.latestValues)&&Vt(a,c.latestValues)}return mt(this.latestValues)&&Vt(a,this.latestValues),a}removeTransform(s){const u=le();Me(u,s);for(let a=0;a<this.path.length;a++){const l=this.path[a];if(!l.instance||!mt(l.latestValues))continue;ei(l.latestValues)&&l.updateSnapshot();const c=le(),d=l.measurePageBox();Me(c,d),Aa(u,l.latestValues,l.snapshot?l.snapshot.layoutBox:void 0,c)}return mt(this.latestValues)&&Aa(u,this.latestValues),u}setTargetDelta(s){this.targetDelta=s,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(s){this.options={...this.options,...s,crossfade:s.crossfade!==void 0?s.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!==pe.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(s=!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(!(s||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=pe.timestamp,!this.targetDelta&&!this.relativeTarget){const p=this.getClosestProjectingParent();p&&p.layout&&this.animationProgress!==1?(this.relativeParent=p,this.forceRelativeParentToResolveTarget(),this.relativeTarget=le(),this.relativeTargetOrigin=le(),Qt(this.relativeTargetOrigin,this.layout.layoutBox,p.layout.layoutBox),Me(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=le(),this.targetWithTransforms=le()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),ah(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Me(this.target,this.layout.layoutBox),oa(this.target,this.targetDelta)):Me(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const p=this.getClosestProjectingParent();p&&!!p.resumingFrom==!!this.resumingFrom&&!p.options.layoutScroll&&p.target&&this.animationProgress!==1?(this.relativeParent=p,this.forceRelativeParentToResolveTarget(),this.relativeTarget=le(),this.relativeTargetOrigin=le(),Qt(this.relativeTargetOrigin,this.target,p.target),Me(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}window.MotionDebug&>.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||ei(this.parent.latestValues)||na(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 s;const u=this.getLead(),a=!!this.resumingFrom||this!==u;let l=!0;if((this.isProjectionDirty||!((s=this.parent)===null||s===void 0)&&s.isProjectionDirty)&&(l=!1),a&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(l=!1),this.resolvedRelativeTargetAt===pe.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;Me(this.layoutCorrected,this.layout.layoutBox);const f=this.treeScale.x,p=this.treeScale.y;gh(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=le());const{target:b}=u;if(!b){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Ca(this.prevProjectionDelta.x,this.projectionDelta.x),Ca(this.prevProjectionDelta.y,this.projectionDelta.y)),_t(this.projectionDelta,this.layoutCorrected,b,this.latestValues),(this.treeScale.x!==f||this.treeScale.y!==p||!wa(this.projectionDelta.x,this.prevProjectionDelta.x)||!wa(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",b)),window.MotionDebug&>.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(s=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),s){const u=this.getStack();u&&u.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=wt(),this.projectionDelta=wt(),this.projectionDeltaWithTransform=wt()}setAnimationOrigin(s,u=!1){const a=this.snapshot,l=a?a.latestValues:{},c={...this.latestValues},d=wt();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!u;const f=le(),p=a?a.source:void 0,b=this.layout?this.layout.source:void 0,g=p!==b,v=this.getStack(),C=!v||v.members.length<=1,y=!!(g&&!C&&this.options.crossfade===!0&&!this.path.some(np));this.animationProgress=0;let m;this.mixTargetDelta=I=>{const h=I/1e3;Ga(d.x,s.x,h),Ga(d.y,s.y,h),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Qt(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox),tp(this.relativeTarget,this.relativeTargetOrigin,f,h),m&&Gh(this.relativeTarget,m)&&(this.isProjectionDirty=!1),m||(m=le()),Me(m,this.relativeTarget)),g&&(this.animationValues=c,wh(c,l,this.latestValues,h,y,C)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=h},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(s){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Je(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=K.update(()=>{Dn.hasAnimatedSinceResize=!0,this.currentAnimation=Zh(0,Va,{...s,onUpdate:u=>{this.mixTargetDelta(u),s.onUpdate&&s.onUpdate(u)},onComplete:()=>{s.onComplete&&s.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 s=this.getStack();s&&s.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Va),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const s=this.getLead();let{targetWithTransforms:u,target:a,layout:l,latestValues:c}=s;if(!(!u||!a||!l)){if(this!==s&&this.layout&&l&&Wa(this.options.animationType,this.layout.layoutBox,l.layoutBox)){a=this.target||le();const d=Pe(this.layout.layoutBox.x);a.x.min=s.target.x.min,a.x.max=a.x.min+d;const f=Pe(this.layout.layoutBox.y);a.y.min=s.target.y.min,a.y.max=a.y.min+f}Me(u,a),Vt(u,c),_t(this.projectionDeltaWithTransform,this.layoutCorrected,u,c)}}registerSharedNode(s,u){this.sharedNodes.has(s)||this.sharedNodes.set(s,new Oh),this.sharedNodes.get(s).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 s=this.getStack();return s?s.lead===this:!0}getLead(){var s;const{layoutId:u}=this.options;return u?((s=this.getStack())===null||s===void 0?void 0:s.lead)||this:this}getPrevLead(){var s;const{layoutId:u}=this.options;return u?(s=this.getStack())===null||s===void 0?void 0:s.prevLead:void 0}getStack(){const{layoutId:s}=this.options;if(s)return this.root.sharedNodes.get(s)}promote({needsReset:s,transition:u,preserveFollowOpacity:a}={}){const l=this.getStack();l&&l.promote(this,a),s&&(this.projectionDelta=void 0,this.needsReset=!0),u&&this.setOptions({transition:u})}relegate(){const s=this.getStack();return s?s.relegate(this):!1}resetSkewAndRotation(){const{visualElement:s}=this.options;if(!s)return;let u=!1;const{latestValues:a}=s;if((a.z||a.rotate||a.rotateX||a.rotateY||a.rotateZ||a.skewX||a.skewY)&&(u=!0),!u)return;const l={};a.z&&ri("z",s,l,this.animationValues);for(let c=0;c<ni.length;c++)ri(`rotate${ni[c]}`,s,l,this.animationValues),ri(`skew${ni[c]}`,s,l,this.animationValues);s.render();for(const c in l)s.setStaticValue(c,l[c]),this.animationValues&&(this.animationValues[c]=l[c]);s.scheduleRender()}getProjectionStyles(s){var u,a;if(!this.instance||this.isSVG)return;if(!this.isVisible)return Hh;const l={visibility:""},c=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,l.opacity="",l.pointerEvents=vn(s==null?void 0:s.pointerEvents)||"",l.transform=c?c(this.latestValues,""):"none",l;const d=this.getLead();if(!this.projectionDelta||!this.layout||!d.target){const g={};return this.options.layoutId&&(g.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,g.pointerEvents=vn(s==null?void 0:s.pointerEvents)||""),this.hasProjected&&!mt(this.latestValues)&&(g.transform=c?c({},""):"none",this.hasProjected=!1),g}const f=d.animationValues||d.latestValues;this.applyTransformsToTarget(),l.transform=Nh(this.projectionDeltaWithTransform,this.treeScale,f),c&&(l.transform=c(f,l.transform));const{x:p,y:b}=this.projectionDelta;l.transformOrigin=`${p.origin*100}% ${b.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 g in mn){if(f[g]===void 0)continue;const{correct:v,applyTo:C}=mn[g],y=l.transform==="none"?f[g]:v(f[g],d);if(C){const m=C.length;for(let I=0;I<m;I++)l[C[I]]=y}else l[g]=y}return this.options.layoutId&&(l.pointerEvents=d===this?vn(s==null?void 0:s.pointerEvents)||"":"none"),l}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(s=>{var u;return(u=s.currentAnimation)===null||u===void 0?void 0:u.stop()}),this.root.nodes.forEach(Ma),this.root.sharedNodes.clear()}}}function zh(e){e.updateLayout()}function jh(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:r,measuredBox:i}=e.layout,{animationType:o}=e.options,s=n.source!==e.layout.source;o==="size"?Fe(d=>{const f=s?n.measuredBox[d]:n.layoutBox[d],p=Pe(f);f.min=r[d].min,f.max=f.min+p}):Wa(o,n.layoutBox,r)&&Fe(d=>{const f=s?n.measuredBox[d]:n.layoutBox[d],p=Pe(r[d]);f.max=f.min+p,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[d].max=e.relativeTarget[d].min+p)});const u=wt();_t(u,r,n.layoutBox);const a=wt();s?_t(a,e.applyTransform(i,!0),n.measuredBox):_t(a,r,n.layoutBox);const l=!Ta(u);let c=!1;if(!e.resumeFrom){const d=e.getClosestProjectingParent();if(d&&!d.resumeFrom){const{snapshot:f,layout:p}=d;if(f&&p){const b=le();Qt(b,n.layoutBox,f.layoutBox);const g=le();Qt(g,r,p.layoutBox),Ea(b,g)||(c=!0),d.options.layoutRoot&&(e.relativeTarget=g,e.relativeTargetOrigin=b,e.relativeParent=d)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:n,delta:a,layoutDelta:u,hasLayoutChanged:l,hasRelativeTargetChanged:c})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function Yh(e){window.MotionDebug&>.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 Jh(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Uh(e){e.clearSnapshot()}function Ma(e){e.clearMeasurements()}function _h(e){e.isLayoutDirty=!1}function Qh(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Ba(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Kh(e){e.resolveTargetDelta()}function $h(e){e.calcProjection()}function qh(e){e.resetSkewAndRotation()}function ep(e){e.removeLeadSnapshot()}function Ga(e,t,n){e.translate=se(t.translate,0,n),e.scale=se(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Oa(e,t,n,r){e.min=se(t.min,n.min,r),e.max=se(t.max,n.max,r)}function tp(e,t,n,r){Oa(e.x,t.x,n.x,r),Oa(e.y,t.y,n.y,r)}function np(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const rp={duration:.45,ease:[.4,0,.1,1]},Na=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),Ra=Na("applewebkit/")&&!Na("chrome/")?Math.round:he;function La(e){e.min=Ra(e.min),e.max=Ra(e.max)}function ip(e){La(e.x),La(e.y)}function Wa(e,t,n){return e==="position"||e==="preserve-aspect"&&!sh(Pa(t),Pa(n),.2)}const op=Fa({attachResizeListener:(e,t)=>Ue(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),ii={current:void 0},Xa=Fa({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!ii.current){const e=new op({});e.mount(window),e.setOptions({layoutScroll:!0}),ii.current=e}return ii.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),sp={pan:{Feature:xh},drag:{Feature:Ih,ProjectionNode:Xa,MeasureLayout:ha}},oi={current:null},Za={current:!1};function ap(){if(Za.current=!0,!!sr)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>oi.current=e.matches;e.addListener(t),t()}else oi.current=!1}function up(e,t,n){for(const r in t){const i=t[r],o=n[r];if(ve(i))e.addValue(r,i),process.env.NODE_ENV==="development"&&Jr(i.version==="11.3.8",`Attempting to mix Framer Motion versions ${i.version} with 11.3.8 may not work as expected.`);else if(ve(o))e.addValue(r,Ut(i,{owner:e}));else if(o!==i)if(e.hasValue(r)){const s=e.getValue(r);s.liveStyle===!0?s.jump(i):s.hasAnimated||s.set(i)}else{const s=e.getStaticValue(r);e.addValue(r,Ut(s!==void 0?s:i,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const Ha=new WeakMap,lp=[...Qo,ye,at],cp=e=>lp.find(_o(e)),ka=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],dp=cr.length;class fp{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:i,blockInitialAnimation:o,visualState:s},u={}){this.applyWillChange=!1,this.resolveKeyframes=(f,p,b,g)=>new this.KeyframeResolver(f,p,b,g,this),this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Vr,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,K.render(this.render,!1,!0))};const{latestValues:a,renderState:l}=s;this.latestValues=a,this.baseTarget={...a},this.initialValues=n.initial?{...a}:{},this.renderState=l,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.options=u,this.blockInitialAnimation=!!o,this.isControllingVariants=pn(n),this.isVariantNode=co(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 p=d[f];a[f]!==void 0&&ve(p)&&p.set(a[f],!1)}}mount(t){this.current=t,Ha.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,r)=>this.bindToMotionValue(r,n)),Za.current||ap(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:oi.current,process.env.NODE_ENV!=="production"&&Jr(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(){Ha.delete(this.current),this.projection&&this.projection.unmount(),Je(this.notifyUpdate),Je(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 r=nt.has(t),i=n.on("change",s=>{this.latestValues[t]=s,this.props.onUpdate&&K.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),o=n.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{i(),o(),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 At){const n=At[t];if(!n)continue;const{isEnabled:r,Feature:i}=n;if(!this.features[t]&&i&&r(this.props)&&(this.features[t]=new i(this)),this.features[t]){const o=this.features[t];o.isMounted?o.update():(o.mount(),o.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):le()}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 r=0;r<ka.length;r++){const i=ka[r];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);const o="on"+i,s=t[o];s&&(this.propEventSubscriptions[i]=this.on(i,s))}this.prevMotionValues=up(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 r=this.parent?this.parent.getVariantContext()||{}:{};return this.props.initial!==void 0&&(r.initial=this.props.initial),r}const n={};for(let r=0;r<dp;r++){const i=cr[r],o=this.props[i];(Rt(o)||o===!1)&&(n[i]=o)}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 r=this.values.get(t);n!==r&&(r&&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 r=this.values.get(t);return r===void 0&&n!==void 0&&(r=Ut(n===null?void 0:n,{owner:this}),this.addValue(t,r)),r}readValue(t,n){var r;let i=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(r=this.getBaseTargetFromProps(this.props,t))!==null&&r!==void 0?r:this.readValueFromInstance(this.current,t,this.options);return i!=null&&(typeof i=="string"&&(zo(i)||ko(i))?i=parseFloat(i):!cp(i)&&at.test(n)&&(i=ss(t,n)),this.setBaseTarget(t,ve(i)?i.get():i)),ve(i)?i.get():i}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var n;const{initial:r}=this.props;let i;if(typeof r=="string"||typeof r=="object"){const s=Cr(this.props,r,(n=this.presenceContext)===null||n===void 0?void 0:n.custom);s&&(i=s[t])}if(r&&i!==void 0)return i;const o=this.getBaseTargetFromProps(this.props,t);return o!==void 0&&!ve(o)?o:this.initialValues[t]!==void 0&&i===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new Yr),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class za extends fp{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:r}){delete n[t],delete r[t]}}function hp(e){return window.getComputedStyle(e)}class pp extends za{constructor(){super(...arguments),this.type="html",this.applyWillChange=!0,this.renderInstance=So}readValueFromInstance(t,n){if(nt.has(n)){const r=Gr(n);return r&&r.default||0}else{const r=hp(t),i=(go(n)?r.getPropertyValue(n):r[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return la(t,n)}build(t,n,r){mr(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return yr(t,n,r)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;ve(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}class mp extends za{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=le}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(nt.has(n)){const r=Gr(n);return r&&r.default||0}return n=To.has(n)?n:fn(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return Po(t,n,r)}build(t,n,r){br(t,n,this.isSVGTag,r.transformTemplate)}renderInstance(t,n,r,i){Eo(t,n,r,i)}mount(t){this.isSVGTag=vr(t.tagName),super.mount(t)}}const gp=(e,t)=>fr(e)?new mp(t):new pp(t,{allowProjection:e!==x.Fragment}),bp={...$f,...ld,...sp,...{layout:{ProjectionNode:Xa,MeasureLayout:ha}}},$t=bc((e,t)=>Qc(e,t,bp,gp));function ja(){const e=x.useRef(!1);return ar(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function vp(){const e=ja(),[t,n]=x.useState(0),r=x.useCallback(()=>{e.current&&n(t+1)},[t]);return[x.useCallback(()=>K.postRender(r),[r]),t]}class yp extends Z.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent){const r=this.props.sizeRef.current;r.height=n.offsetHeight||0,r.width=n.offsetWidth||0,r.top=n.offsetTop,r.left=n.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function Cp({children:e,isPresent:t}){const n=x.useId(),r=x.useRef(null),i=x.useRef({width:0,height:0,top:0,left:0}),{nonce:o}=x.useContext(or);return x.useInsertionEffect(()=>{const{width:s,height:u,top:a,left:l}=i.current;if(t||!r.current||!s||!u)return;r.current.dataset.motionPopId=n;const c=document.createElement("style");return o&&(c.nonce=o),document.head.appendChild(c),c.sheet&&c.sheet.insertRule(`
|
|
5
|
+
*/(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var o="",s=0;s<arguments.length;s++){var u=arguments[s];u&&(o=i(o,r(u)))}return o}function r(o){if(typeof o=="string"||typeof o=="number")return o;if(typeof o!="object")return"";if(Array.isArray(o))return n.apply(null,o);if(o.toString!==Object.prototype.toString&&!o.toString.toString().includes("[native code]"))return o.toString();var s="";for(var u in o)t.call(o,u)&&o[u]&&(s=i(s,u));return s}function i(o,s){return s?o?o+" "+s:o+s:o}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(qi);var kl=qi.exports;const It=$i(kl);var eo={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},to=x.createContext&&x.createContext(eo),zl=["attr","size","title"];function jl(e,t){if(e==null)return{};var n=Yl(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Yl(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function un(){return un=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},un.apply(this,arguments)}function no(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function ln(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?no(Object(n),!0).forEach(function(r){Jl(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):no(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Jl(e,t,n){return t=Ul(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ul(e){var t=_l(e,"string");return typeof t=="symbol"?t:t+""}function _l(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function ro(e){return e&&e.map((t,n)=>x.createElement(t.tag,ln({key:n},t.attr),ro(t.child)))}function dt(e){return t=>x.createElement(Ql,un({attr:ln({},e.attr)},t),ro(e.child))}function Ql(e){var t=n=>{var{attr:r,size:i,title:o}=e,s=jl(e,zl),u=i||n.size||"1em",a;return n.className&&(a=n.className),e.className&&(a=(a?a+" ":"")+e.className),x.createElement("svg",un({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},n.attr,r,s,{className:a,style:ln(ln({color:e.color||n.color},n.style),e.style),height:u,width:u,xmlns:"http://www.w3.org/2000/svg"}),o&&x.createElement("title",null,o),e.children)};return to!==void 0?x.createElement(to.Consumer,null,n=>t(n)):t(eo)}function Kl(e){return dt({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 $l(e){return dt({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 ql(e){return dt({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 ec(e){return dt({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 tc(e){return dt({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 or=x.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),cn=x.createContext({}),dn=x.createContext(null),sr=typeof document<"u",ar=sr?x.useLayoutEffect:x.useEffect,io=x.createContext({strict:!1}),fn=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),oo="data-"+fn("framerAppearId"),nc={skipAnimations:!1,useManualTiming:!1};function rc(e){let t=new Set,n=new Set,r=!1,i=!1;const o=new WeakSet;let s={delta:0,timestamp:0,isProcessing:!1};function u(l){o.has(l)&&(a.schedule(l),e()),l(s)}const a={schedule:(l,c=!1,d=!1)=>{const p=d&&r?t:n;return c&&o.add(l),p.has(l)||p.add(l),l},cancel:l=>{n.delete(l),o.delete(l)},process:l=>{if(s=l,r){i=!0;return}r=!0,[t,n]=[n,t],n.clear(),t.forEach(u),r=!1,i&&(i=!1,a.process(l))}};return a}const hn=["read","resolveKeyframes","update","preRender","render","postRender"],ic=40;function so(e,t){let n=!1,r=!0;const i={delta:0,timestamp:0,isProcessing:!1},o=()=>n=!0,s=hn.reduce((C,y)=>(C[y]=rc(o),C),{}),{read:u,resolveKeyframes:a,update:l,preRender:c,render:d,postRender:f}=s,p=()=>{const C=performance.now();n=!1,i.delta=r?1e3/60:Math.max(Math.min(C-i.timestamp,ic),1),i.timestamp=C,i.isProcessing=!0,u.process(i),a.process(i),l.process(i),c.process(i),d.process(i),f.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(p))},b=()=>{n=!0,r=!0,i.isProcessing||e(p)};return{schedule:hn.reduce((C,y)=>{const m=s[y];return C[y]=(I,h=!1,S=!1)=>(n||b(),m.schedule(I,h,S)),C},{}),cancel:C=>{for(let y=0;y<hn.length;y++)s[hn[y]].cancel(C)},state:i,steps:s}}const{schedule:ur,cancel:qv}=so(queueMicrotask,!1);function xt(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}const ao=x.createContext({});let uo=!1;function oc(e,t,n,r,i){const{visualElement:o}=x.useContext(cn),s=x.useContext(io),u=x.useContext(dn),a=x.useContext(or).reducedMotion,l=x.useRef();r=r||s.renderer,!l.current&&r&&(l.current=r(e,{visualState:t,parent:o,props:n,presenceContext:u,blockInitialAnimation:u?u.initial===!1:!1,reducedMotionConfig:a}));const c=l.current,d=x.useContext(ao);c&&!c.projection&&i&&(c.type==="html"||c.type==="svg")&&ac(l.current,n,i,d),x.useInsertionEffect(()=>{c&&c.update(n,u)});const f=x.useRef(!!(n[oo]&&!window.HandoffComplete));return ar(()=>{c&&(c.updateFeatures(),ur.render(c.render),f.current&&c.animationState&&c.animationState.animateChanges())}),x.useEffect(()=>{c&&(!f.current&&c.animationState&&c.animationState.animateChanges(),f.current&&(f.current=!1,uo||(uo=!0,queueMicrotask(sc))))}),c}function sc(){window.HandoffComplete=!0}function ac(e,t,n,r){const{layoutId:i,layout:o,drag:s,dragConstraints:u,layoutScroll:a,layoutRoot:l}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:lo(e.parent)),e.projection.setOptions({layoutId:i,layout:o,alwaysMeasureLayout:!!s||u&&xt(u),visualElement:e,scheduleRender:()=>e.scheduleRender(),animationType:typeof o=="string"?o:"both",initialPromotionConfig:r,layoutScroll:a,layoutRoot:l})}function lo(e){if(e)return e.options.allowProjection!==!1?e.projection:lo(e.parent)}function uc(e,t,n){return x.useCallback(r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):xt(n)&&(n.current=r))},[t])}function Rt(e){return typeof e=="string"||Array.isArray(e)}function Lt(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const lr=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],cr=["initial",...lr];function pn(e){return Lt(e.animate)||cr.some(t=>Rt(e[t]))}function co(e){return!!(pn(e)||e.variants)}function lc(e,t){if(pn(e)){const{initial:n,animate:r}=e;return{initial:n===!1||Rt(n)?n:void 0,animate:Rt(r)?r:void 0}}return e.inherit!==!1?t:{}}function cc(e){const{initial:t,animate:n}=lc(e,x.useContext(cn));return x.useMemo(()=>({initial:t,animate:n}),[fo(t),fo(n)])}function fo(e){return Array.isArray(e)?e.join(" "):e}const ho={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"]},At={};for(const e in ho)At[e]={isEnabled:t=>ho[e].some(n=>!!t[n])};function dc(e){for(const t in e)At[t]={...At[t],...e[t]}}const dr=x.createContext({}),fc=Symbol.for("motionComponentSymbol"),he=e=>e;let St=he,Ye=he;process.env.NODE_ENV!=="production"&&(St=(e,t)=>{!e&&typeof console<"u"&&console.warn(t)},Ye=(e,t)=>{if(!e)throw new Error(t)});function hc({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:i}){e&&dc(e);function o(u,a){let l;const c={...x.useContext(or),...u,layoutId:pc(u)},{isStatic:d}=c,f=cc(u),p=r(u,d);if(!d&&sr){mc(c,e);const b=gc(c);l=b.MeasureLayout,f.visualElement=oc(i,p,c,t,b.ProjectionNode)}return w.jsxs(cn.Provider,{value:f,children:[l&&f.visualElement?w.jsx(l,{visualElement:f.visualElement,...c}):null,n(i,u,uc(p,f.visualElement,a),p,d,f.visualElement)]})}const s=x.forwardRef(o);return s[fc]=i,s}function pc({layoutId:e}){const t=x.useContext(dr).id;return t&&e!==void 0?t+"-"+e:e}function mc(e,t){const n=x.useContext(io).strict;if(process.env.NODE_ENV!=="production"&&t&&n){const r="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";e.ignoreStrict?St(!1,r):Ye(!1,r)}}function gc(e){const{drag:t,layout:n}=At;if(!t&&!n)return{};const r={...t,...n};return{MeasureLayout:t!=null&&t.isEnabled(e)||n!=null&&n.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}function bc(e){function t(r,i={}){return hc(e(r,i))}if(typeof Proxy>"u")return t;const n=new Map;return new Proxy(t,{get:(r,i)=>(n.has(i)||n.set(i,t(i)),n.get(i))})}const vc=["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 fr(e){return typeof e!="string"||e.includes("-")?!1:!!(vc.indexOf(e)>-1||/[A-Z]/u.test(e))}const mn={};function yc(e){Object.assign(mn,e)}const Wt=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],nt=new Set(Wt);function po(e,{layout:t,layoutId:n}){return nt.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!mn[e]||e==="opacity")}const ve=e=>!!(e&&e.getVelocity),Cc={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Ic=Wt.length;function xc(e,t,n){let r="";for(let i=0;i<Ic;i++){const o=Wt[i];if(e[o]!==void 0){const s=Cc[o]||o;r+=`${s}(${e[o]}) `}}return r=r.trim(),n?r=n(e,t?"":r):t&&(r="none"),r}const mo=e=>t=>typeof t=="string"&&t.startsWith(e),go=mo("--"),Ac=mo("var(--"),hr=e=>Ac(e)?Sc.test(e.split("/*")[0].trim()):!1,Sc=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,Tc=(e,t)=>t&&typeof e=="number"?t.transform(e):e,rt=(e,t,n)=>n>t?t:n<e?e:n,Tt={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Xt={...Tt,transform:e=>rt(0,1,e)},gn={...Tt,default:1},Zt=e=>Math.round(e*1e5)/1e5,pr=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,Ec=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,Pc=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;function Ht(e){return typeof e=="string"}function wc(e){return e==null}const kt=e=>({test:t=>Ht(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),it=kt("deg"),Xe=kt("%"),R=kt("px"),Vc=kt("vh"),Dc=kt("vw"),bo={...Xe,parse:e=>Xe.parse(e)/100,transform:e=>Xe.transform(e*100)},vo={...Tt,transform:Math.round},yo={borderWidth:R,borderTopWidth:R,borderRightWidth:R,borderBottomWidth:R,borderLeftWidth:R,borderRadius:R,radius:R,borderTopLeftRadius:R,borderTopRightRadius:R,borderBottomRightRadius:R,borderBottomLeftRadius:R,width:R,maxWidth:R,height:R,maxHeight:R,size:R,top:R,right:R,bottom:R,left:R,padding:R,paddingTop:R,paddingRight:R,paddingBottom:R,paddingLeft:R,margin:R,marginTop:R,marginRight:R,marginBottom:R,marginLeft:R,rotate:it,rotateX:it,rotateY:it,rotateZ:it,scale:gn,scaleX:gn,scaleY:gn,scaleZ:gn,skew:it,skewX:it,skewY:it,distance:R,translateX:R,translateY:R,translateZ:R,x:R,y:R,z:R,perspective:R,transformPerspective:R,opacity:Xt,originX:bo,originY:bo,originZ:R,zIndex:vo,backgroundPositionX:R,backgroundPositionY:R,fillOpacity:Xt,strokeOpacity:Xt,numOctaves:vo};function mr(e,t,n){const{style:r,vars:i,transform:o,transformOrigin:s}=e;let u=!1,a=!1,l=!0;for(const c in t){const d=t[c];if(go(c)){i[c]=d;continue}const f=yo[c],p=Tc(d,f);if(nt.has(c)){if(u=!0,o[c]=p,!l)continue;d!==(f.default||0)&&(l=!1)}else c.startsWith("origin")?(a=!0,s[c]=p):r[c]=p}if(t.transform||(u||n?r.transform=xc(e.transform,l,n):r.transform&&(r.transform="none")),a){const{originX:c="50%",originY:d="50%",originZ:f=0}=s;r.transformOrigin=`${c} ${d} ${f}`}}const gr=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Co(e,t,n){for(const r in t)!ve(t[r])&&!po(r,n)&&(e[r]=t[r])}function Fc({transformTemplate:e},t){return x.useMemo(()=>{const n=gr();return mr(n,t,e),Object.assign({},n.vars,n.style)},[t])}function Mc(e,t){const n=e.style||{},r={};return Co(r,n,e),Object.assign(r,Fc(e,t)),r}function Bc(e,t){const n={},r=Mc(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.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=r,n}const Gc=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 bn(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||Gc.has(e)}let Io=e=>!bn(e);function Oc(e){e&&(Io=t=>t.startsWith("on")?!bn(t):e(t))}try{Oc(require("@emotion/is-prop-valid").default)}catch{}function Nc(e,t,n){const r={};for(const i in e)i==="values"&&typeof e.values=="object"||(Io(i)||n===!0&&bn(i)||!t&&!bn(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}function xo(e,t,n){return typeof e=="string"?e:R.transform(t+n*e)}function Rc(e,t,n){const r=xo(t,e.x,e.width),i=xo(n,e.y,e.height);return`${r} ${i}`}const Lc={offset:"stroke-dashoffset",array:"stroke-dasharray"},Wc={offset:"strokeDashoffset",array:"strokeDasharray"};function Xc(e,t,n=1,r=0,i=!0){e.pathLength=1;const o=i?Lc:Wc;e[o.offset]=R.transform(-r);const s=R.transform(t),u=R.transform(n);e[o.array]=`${s} ${u}`}function br(e,{attrX:t,attrY:n,attrScale:r,originX:i,originY:o,pathLength:s,pathSpacing:u=1,pathOffset:a=0,...l},c,d){if(mr(e,l,d),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:f,style:p,dimensions:b}=e;f.transform&&(b&&(p.transform=f.transform),delete f.transform),b&&(i!==void 0||o!==void 0||p.transform)&&(p.transformOrigin=Rc(b,i!==void 0?i:.5,o!==void 0?o:.5)),t!==void 0&&(f.x=t),n!==void 0&&(f.y=n),r!==void 0&&(f.scale=r),s!==void 0&&Xc(f,s,u,a,!1)}const Ao=()=>({...gr(),attrs:{}}),vr=e=>typeof e=="string"&&e.toLowerCase()==="svg";function Zc(e,t,n,r){const i=x.useMemo(()=>{const o=Ao();return br(o,t,vr(r),e.transformTemplate),{...o.attrs,style:{...o.style}}},[t]);if(e.style){const o={};Co(o,e.style,e),i.style={...o,...i.style}}return i}function Hc(e=!1){return(n,r,i,{latestValues:o},s)=>{const a=(fr(n)?Zc:Bc)(r,o,s,n),l=Nc(r,typeof n=="string",e),c=n!==x.Fragment?{...l,...a,ref:i}:{},{children:d}=r,f=x.useMemo(()=>ve(d)?d.get():d,[d]);return x.createElement(n,{...c,children:f})}}function So(e,{style:t,vars:n},r,i){Object.assign(e.style,t,i&&i.getProjectionStyles(r));for(const o in n)e.style.setProperty(o,n[o])}const To=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 Eo(e,t,n,r){So(e,t,void 0,r);for(const i in t.attrs)e.setAttribute(To.has(i)?i:fn(i),t.attrs[i])}function yr(e,t,n){var r;const{style:i}=e,o={};for(const s in i)(ve(i[s])||t.style&&ve(t.style[s])||po(s,e)||((r=n==null?void 0:n.getValue(s))===null||r===void 0?void 0:r.liveStyle)!==void 0)&&(o[s]=i[s]);return n&&i&&typeof i.willChange=="string"&&(n.applyWillChange=!1),o}function Po(e,t,n){const r=yr(e,t,n);for(const i in e)if(ve(e[i])||ve(t[i])){const o=Wt.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;r[o]=e[i]}return r}function wo(e){const t=[{},{}];return e==null||e.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function Cr(e,t,n,r){if(typeof t=="function"){const[i,o]=wo(r);t=t(n!==void 0?n:e.custom,i,o)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[i,o]=wo(r);t=t(n!==void 0?n:e.custom,i,o)}return t}function Vo(e){const t=x.useRef(null);return t.current===null&&(t.current=e()),t.current}const Ir=e=>Array.isArray(e),kc=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),zc=e=>Ir(e)?e[e.length-1]||0:e;function vn(e){const t=ve(e)?e.get():e;return kc(t)?t.toValue():t}const Do=new Set(["opacity","clipPath","filter","transform"]);function Fo(e){if(nt.has(e))return"transform";if(Do.has(e))return fn(e)}function yn(e,t){e.indexOf(t)===-1&&e.push(t)}function Cn(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function jc({applyWillChange:e=!1,scrapeMotionValuesFromProps:t,createRenderState:n,onMount:r},i,o,s,u){const a={latestValues:Jc(i,o,s,u?!1:e,t),renderState:n()};return r&&(a.mount=l=>r(i,l,a)),a}const Mo=e=>(t,n)=>{const r=x.useContext(cn),i=x.useContext(dn),o=()=>jc(e,t,r,i,n);return n?o():Vo(o)};function Yc(e,t){const n=Fo(t);n&&yn(e,n)}function Bo(e,t,n){const r=Array.isArray(t)?t:[t];for(let i=0;i<r.length;i++){const o=Cr(e,r[i]);if(o){const{transitionEnd:s,transition:u,...a}=o;n(a,s)}}}function Jc(e,t,n,r,i){var o;const s={},u=[],a=r&&((o=e.style)===null||o===void 0?void 0:o.willChange)===void 0,l=i(e,{});for(const v in l)s[v]=vn(l[v]);let{initial:c,animate:d}=e;const f=pn(e),p=co(e);t&&p&&!f&&e.inherit!==!1&&(c===void 0&&(c=t.initial),d===void 0&&(d=t.animate));let b=n?n.initial===!1:!1;b=b||c===!1;const g=b?d:c;return g&&typeof g!="boolean"&&!Lt(g)&&Bo(e,g,(v,C)=>{for(const y in v){let m=v[y];if(Array.isArray(m)){const I=b?m.length-1:0;m=m[I]}m!==null&&(s[y]=m)}for(const y in C)s[y]=C[y]}),a&&(d&&c!==!1&&!Lt(d)&&Bo(e,d,v=>{for(const C in v)Yc(u,C)}),u.length&&(s.willChange=u.join(","))),s}const{schedule:K,cancel:Je,state:pe,steps:xr}=so(typeof requestAnimationFrame<"u"?requestAnimationFrame:he,!0),Uc={useVisualState:Mo({scrapeMotionValuesFromProps:Po,createRenderState:Ao,onMount:(e,t,{renderState:n,latestValues:r})=>{K.read(()=>{try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}),K.render(()=>{br(n,r,vr(t.tagName),e.transformTemplate),Eo(t,n)})}})},_c={useVisualState:Mo({applyWillChange:!0,scrapeMotionValuesFromProps:yr,createRenderState:gr})};function Qc(e,{forwardMotionProps:t=!1},n,r){return{...fr(e)?Uc:_c,preloadedFeatures:n,useRender:Hc(t),createVisualElement:r,Component:e}}function Ue(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const Go=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function In(e,t="page"){return{point:{x:e[`${t}X`],y:e[`${t}Y`]}}}const Kc=e=>t=>Go(t)&&e(t,In(t));function _e(e,t,n,r){return Ue(e,t,Kc(n),r)}const $c=(e,t)=>n=>t(e(n)),Qe=(...e)=>e.reduce($c);function Oo(e){let t=null;return()=>{const n=()=>{t=null};return t===null?(t=e,n):!1}}const No=Oo("dragHorizontal"),Ro=Oo("dragVertical");function Lo(e){let t=!1;if(e==="y")t=Ro();else if(e==="x")t=No();else{const n=No(),r=Ro();n&&r?t=()=>{n(),r()}:(n&&n(),r&&r())}return t}function Wo(){const e=Lo(!0);return e?(e(),!1):!0}class ot{constructor(t){this.isMounted=!1,this.node=t}update(){}}function Xo(e,t){const n=t?"pointerenter":"pointerleave",r=t?"onHoverStart":"onHoverEnd",i=(o,s)=>{if(o.pointerType==="touch"||Wo())return;const u=e.getProps();e.animationState&&u.whileHover&&e.animationState.setActive("whileHover",t);const a=u[r];a&&K.postRender(()=>a(o,s))};return _e(e.current,n,i,{passive:!e.getProps()[r]})}class qc extends ot{mount(){this.unmount=Qe(Xo(this.node,!0),Xo(this.node,!1))}unmount(){}}class ed extends ot{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=Qe(Ue(this.node.current,"focus",()=>this.onFocus()),Ue(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const Zo=(e,t)=>t?e===t?!0:Zo(e,t.parentElement):!1;function Ar(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,In(n))}class td extends ot{constructor(){super(...arguments),this.removeStartListeners=he,this.removeEndListeners=he,this.removeAccessibleListeners=he,this.startPointerPress=(t,n)=>{if(this.isPressing)return;this.removeEndListeners();const r=this.node.getProps(),o=_e(window,"pointerup",(u,a)=>{if(!this.checkPressEnd())return;const{onTap:l,onTapCancel:c,globalTapTarget:d}=this.node.getProps(),f=!d&&!Zo(this.node.current,u.target)?c:l;f&&K.update(()=>f(u,a))},{passive:!(r.onTap||r.onPointerUp)}),s=_e(window,"pointercancel",(u,a)=>this.cancelPress(u,a),{passive:!(r.onTapCancel||r.onPointerCancel)});this.removeEndListeners=Qe(o,s),this.startPress(t,n)},this.startAccessiblePress=()=>{const t=o=>{if(o.key!=="Enter"||this.isPressing)return;const s=u=>{u.key!=="Enter"||!this.checkPressEnd()||Ar("up",(a,l)=>{const{onTap:c}=this.node.getProps();c&&K.postRender(()=>c(a,l))})};this.removeEndListeners(),this.removeEndListeners=Ue(this.node.current,"keyup",s),Ar("down",(u,a)=>{this.startPress(u,a)})},n=Ue(this.node.current,"keydown",t),r=()=>{this.isPressing&&Ar("cancel",(o,s)=>this.cancelPress(o,s))},i=Ue(this.node.current,"blur",r);this.removeAccessibleListeners=Qe(n,i)}}startPress(t,n){this.isPressing=!0;const{onTapStart:r,whileTap:i}=this.node.getProps();i&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),r&&K.postRender(()=>r(t,n))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!Wo()}cancelPress(t,n){if(!this.checkPressEnd())return;const{onTapCancel:r}=this.node.getProps();r&&K.postRender(()=>r(t,n))}mount(){const t=this.node.getProps(),n=_e(t.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),r=Ue(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=Qe(n,r)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const Sr=new WeakMap,Tr=new WeakMap,nd=e=>{const t=Sr.get(e.target);t&&t(e)},rd=e=>{e.forEach(nd)};function id({root:e,...t}){const n=e||document;Tr.has(n)||Tr.set(n,{});const r=Tr.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(rd,{root:e,...t})),r[i]}function od(e,t,n){const r=id(t);return Sr.set(e,n),r.observe(e),()=>{Sr.delete(e),r.unobserve(e)}}const sd={some:0,all:1};class ad extends ot{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:i="some",once:o}=t,s={root:n?n.current:void 0,rootMargin:r,threshold:typeof i=="number"?i:sd[i]},u=a=>{const{isIntersecting:l}=a;if(this.isInView===l||(this.isInView=l,o&&!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 od(this.node.current,s,u)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(ud(t,n))&&this.startObserver()}unmount(){}}function ud({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const ld={inView:{Feature:ad},tap:{Feature:td},focus:{Feature:ed},hover:{Feature:qc}};function Ho(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}function xn(e,t,n){const r=e.getProps();return Cr(r,t,n!==void 0?n:r.custom,e)}const Ke=e=>e*1e3,$e=e=>e/1e3,cd={type:"spring",stiffness:500,damping:25,restSpeed:10},dd=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),fd={type:"keyframes",duration:.8},hd={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},pd=(e,{keyframes:t})=>t.length>2?fd:nt.has(e)?e.startsWith("scale")?dd(t[1]):cd:hd;function md({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:o,repeatType:s,repeatDelay:u,from:a,elapsed:l,...c}){return!!Object.keys(c).length}function Er(e,t){return e[t]||e.default||e}const gd=e=>e!==null;function An(e,{repeat:t,repeatType:n="loop"},r){const i=e.filter(gd),o=t&&n!=="loop"&&t%2===1?0:i.length-1;return!o||r===void 0?i[o]:r}let Sn;function bd(){Sn=void 0}const st={now:()=>(Sn===void 0&&st.set(pe.isProcessing||nc.useManualTiming?pe.timestamp:performance.now()),Sn),set:e=>{Sn=e,queueMicrotask(bd)}},ko=e=>/^0[^.\s]+$/u.test(e);function vd(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||ko(e):!0}const zo=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),yd=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Cd(e){const t=yd.exec(e);if(!t)return[,];const[,n,r,i]=t;return[`--${n??r}`,i]}const Id=4;function jo(e,t,n=1){Ye(n<=Id,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[r,i]=Cd(e);if(!r)return;const o=window.getComputedStyle(t).getPropertyValue(r);if(o){const s=o.trim();return zo(s)?parseFloat(s):s}return hr(i)?jo(i,t,n+1):i}const xd=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),Yo=e=>e===Tt||e===R,Jo=(e,t)=>parseFloat(e.split(", ")[t]),Uo=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const i=r.match(/^matrix3d\((.+)\)$/u);if(i)return Jo(i[1],t);{const o=r.match(/^matrix\((.+)\)$/u);return o?Jo(o[1],e):0}},Ad=new Set(["x","y","z"]),Sd=Wt.filter(e=>!Ad.has(e));function Td(e){const t=[];return Sd.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const Et={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:Uo(4,13),y:Uo(5,14)};Et.translateX=Et.x,Et.translateY=Et.y;const _o=e=>t=>t.test(e),Qo=[Tt,R,Xe,it,Dc,Vc,{test:e=>e==="auto",parse:e=>e}],Ko=e=>Qo.find(_o(e)),ft=new Set;let Pr=!1,wr=!1;function $o(){if(wr){const e=Array.from(ft).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const i=Td(r);i.length&&(n.set(r,i),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const i=n.get(r);i&&i.forEach(([o,s])=>{var u;(u=r.getValue(o))===null||u===void 0||u.set(s)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}wr=!1,Pr=!1,ft.forEach(e=>e.complete()),ft.clear()}function qo(){ft.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(wr=!0)})}function Ed(){qo(),$o()}class Vr{constructor(t,n,r,i,o,s=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=i,this.element=o,this.isAsync=s}scheduleResolve(){this.isScheduled=!0,this.isAsync?(ft.add(this),Pr||(Pr=!0,K.read(qo),K.resolveKeyframes($o))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:i}=this;for(let o=0;o<t.length;o++)if(t[o]===null)if(o===0){const s=i==null?void 0:i.get(),u=t[t.length-1];if(s!==void 0)t[0]=s;else if(r&&n){const a=r.readValue(n,u);a!=null&&(t[0]=a)}t[0]===void 0&&(t[0]=u),i&&s===void 0&&i.set(t[0])}else t[o]=t[o-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),ft.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,ft.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const Dr=(e,t)=>n=>!!(Ht(n)&&Pc.test(n)&&n.startsWith(e)||t&&!wc(n)&&Object.prototype.hasOwnProperty.call(n,t)),es=(e,t,n)=>r=>{if(!Ht(r))return r;const[i,o,s,u]=r.match(pr);return{[e]:parseFloat(i),[t]:parseFloat(o),[n]:parseFloat(s),alpha:u!==void 0?parseFloat(u):1}},Pd=e=>rt(0,255,e),Fr={...Tt,transform:e=>Math.round(Pd(e))},ht={test:Dr("rgb","red"),parse:es("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Fr.transform(e)+", "+Fr.transform(t)+", "+Fr.transform(n)+", "+Zt(Xt.transform(r))+")"};function wd(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}const Mr={test:Dr("#"),parse:wd,transform:ht.transform},Pt={test:Dr("hsl","hue"),parse:es("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Xe.transform(Zt(t))+", "+Xe.transform(Zt(n))+", "+Zt(Xt.transform(r))+")"},ye={test:e=>ht.test(e)||Mr.test(e)||Pt.test(e),parse:e=>ht.test(e)?ht.parse(e):Pt.test(e)?Pt.parse(e):Mr.parse(e),transform:e=>Ht(e)?e:e.hasOwnProperty("red")?ht.transform(e):Pt.transform(e)};function Vd(e){var t,n;return isNaN(e)&&Ht(e)&&(((t=e.match(pr))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(Ec))===null||n===void 0?void 0:n.length)||0)>0}const ts="number",ns="color",Dd="var",Fd="var(",rs="${}",Md=/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 zt(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[];let o=0;const u=t.replace(Md,a=>(ye.test(a)?(r.color.push(o),i.push(ns),n.push(ye.parse(a))):a.startsWith(Fd)?(r.var.push(o),i.push(Dd),n.push(a)):(r.number.push(o),i.push(ts),n.push(parseFloat(a))),++o,rs)).split(rs);return{values:n,split:u,indexes:r,types:i}}function is(e){return zt(e).values}function os(e){const{split:t,types:n}=zt(e),r=t.length;return i=>{let o="";for(let s=0;s<r;s++)if(o+=t[s],i[s]!==void 0){const u=n[s];u===ts?o+=Zt(i[s]):u===ns?o+=ye.transform(i[s]):o+=i[s]}return o}}const Bd=e=>typeof e=="number"?0:e;function Gd(e){const t=is(e);return os(e)(t.map(Bd))}const at={test:Vd,parse:is,createTransformer:os,getAnimatableNone:Gd},Od=new Set(["brightness","contrast","saturate","opacity"]);function Nd(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(pr)||[];if(!r)return e;const i=n.replace(r,"");let o=Od.has(t)?1:0;return r!==n&&(o*=100),t+"("+o+i+")"}const Rd=/\b([a-z-]*)\(.*?\)/gu,Br={...at,getAnimatableNone:e=>{const t=e.match(Rd);return t?t.map(Nd).join(" "):e}},Ld={...yo,color:ye,backgroundColor:ye,outlineColor:ye,fill:ye,stroke:ye,borderColor:ye,borderTopColor:ye,borderRightColor:ye,borderBottomColor:ye,borderLeftColor:ye,filter:Br,WebkitFilter:Br},Gr=e=>Ld[e];function ss(e,t){let n=Gr(e);return n!==Br&&(n=at),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const Wd=new Set(["auto","none","0"]);function Xd(e,t,n){let r=0,i;for(;r<e.length&&!i;){const o=e[r];typeof o=="string"&&!Wd.has(o)&&zt(o).values.length&&(i=e[r]),r++}if(i&&n)for(const o of t)e[o]=ss(n,i)}class as extends Vr{constructor(t,n,r,i){super(t,n,r,i,i==null?void 0:i.owner,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:r}=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(),hr(l))){const c=jo(l,n.current);c!==void 0&&(t[a]=c),a===t.length-1&&(this.finalKeyframe=l)}}if(this.resolveNoneKeyframes(),!xd.has(r)||t.length!==2)return;const[i,o]=t,s=Ko(i),u=Ko(o);if(s!==u)if(Yo(s)&&Yo(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,r=[];for(let i=0;i<t.length;i++)vd(t[i])&&r.push(i);r.length&&Xd(t,r,n)}measureInitialState(){const{element:t,unresolvedKeyframes:n,name:r}=this;if(!t.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Et[r](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const i=n[n.length-1];i!==void 0&&t.getValue(r,i).jump(i,!1)}measureEndState(){var t;const{element:n,name:r,unresolvedKeyframes:i}=this;if(!n.current)return;const o=n.getValue(r);o&&o.jump(this.measuredOrigin,!1);const s=i.length-1,u=i[s];i[s]=Et[r](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 us(e){let t;return()=>(t===void 0&&(t=e()),t)}const ls=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(at.test(e)||e==="0")&&!e.startsWith("url("));function Zd(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 Hd(e,t,n,r){const i=e[0];if(i===null)return!1;if(t==="display"||t==="visibility")return!0;const o=e[e.length-1],s=ls(i,t),u=ls(o,t);return St(s===u,`You are trying to animate ${t} from "${i}" to "${o}". ${i} is not an animatable value - to enable this animation set ${i} to a value animatable to ${o} via the \`style\` property.`),!s||!u?!1:Zd(e)||n==="spring"&&r}class cs{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:i=0,repeatDelay:o=0,repeatType:s="loop",...u}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.options={autoplay:t,delay:n,type:r,repeat:i,repeatDelay:o,repeatType:s,...u},this.updateFinishedPromise()}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&Ed(),this._resolved}onKeyframesResolved(t,n){this.hasAttemptedResolve=!0;const{name:r,type:i,velocity:o,delay:s,onComplete:u,onUpdate:a,isGenerator:l}=this.options;if(!l&&!Hd(t,r,i,o))if(s)this.options.duration=0;else{a==null||a(An(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 ds(e,t){return t?e*(1e3/t):0}const kd=5;function fs(e,t,n){const r=Math.max(t-kd,0);return ds(n-e(r),t-r)}const Or=.001,zd=.01,hs=10,jd=.05,Yd=1;function Jd({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,o;St(e<=Ke(hs),"Spring duration must be 10 seconds or less");let s=1-t;s=rt(jd,Yd,s),e=rt(zd,hs,$e(e)),s<1?(i=l=>{const c=l*s,d=c*e,f=c-n,p=Nr(l,s),b=Math.exp(-d);return Or-f/p*b},o=l=>{const d=l*s*e,f=d*n+n,p=Math.pow(s,2)*Math.pow(l,2)*e,b=Math.exp(-d),g=Nr(Math.pow(l,2),s);return(-i(l)+Or>0?-1:1)*((f-p)*b)/g}):(i=l=>{const c=Math.exp(-l*e),d=(l-n)*e+1;return-Or+c*d},o=l=>{const c=Math.exp(-l*e),d=(n-l)*(e*e);return c*d});const u=5/e,a=_d(i,o,u);if(e=Ke(e),isNaN(a))return{stiffness:100,damping:10,duration:e};{const l=Math.pow(a,2)*r;return{stiffness:l,damping:s*2*Math.sqrt(r*l),duration:e}}}const Ud=12;function _d(e,t,n){let r=n;for(let i=1;i<Ud;i++)r=r-e(r)/t(r);return r}function Nr(e,t){return e*Math.sqrt(1-t*t)}const Qd=["duration","bounce"],Kd=["stiffness","damping","mass"];function ps(e,t){return t.some(n=>e[n]!==void 0)}function $d(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!ps(e,Kd)&&ps(e,Qd)){const n=Jd(e);t={...t,...n,mass:1},t.isResolvedFromDuration=!0}return t}function ms({keyframes:e,restDelta:t,restSpeed:n,...r}){const i=e[0],o=e[e.length-1],s={done:!1,value:i},{stiffness:u,damping:a,mass:l,duration:c,velocity:d,isResolvedFromDuration:f}=$d({...r,velocity:-$e(r.velocity||0)}),p=d||0,b=a/(2*Math.sqrt(u*l)),g=o-i,v=$e(Math.sqrt(u/l)),C=Math.abs(g)<5;n||(n=C?.01:2),t||(t=C?.005:.5);let y;if(b<1){const m=Nr(v,b);y=I=>{const h=Math.exp(-b*v*I);return o-h*((p+b*v*g)/m*Math.sin(m*I)+g*Math.cos(m*I))}}else if(b===1)y=m=>o-Math.exp(-v*m)*(g+(p+v*g)*m);else{const m=v*Math.sqrt(b*b-1);y=I=>{const h=Math.exp(-b*v*I),S=Math.min(m*I,300);return o-h*((p+b*v*g)*Math.sinh(S)+m*g*Math.cosh(S))/m}}return{calculatedDuration:f&&c||null,next:m=>{const I=y(m);if(f)s.done=m>=c;else{let h=p;m!==0&&(b<1?h=fs(y,m,I):h=0);const S=Math.abs(h)<=n,T=Math.abs(o-I)<=t;s.done=S&&T}return s.value=s.done?o:I,s}}}function gs({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:s,min:u,max:a,restDelta:l=.5,restSpeed:c}){const d=e[0],f={done:!1,value:d},p=P=>u!==void 0&&P<u||a!==void 0&&P>a,b=P=>u===void 0?a:a===void 0||Math.abs(u-P)<Math.abs(a-P)?u:a;let g=n*t;const v=d+g,C=s===void 0?v:s(v);C!==v&&(g=C-d);const y=P=>-g*Math.exp(-P/r),m=P=>C+y(P),I=P=>{const M=y(P),X=m(P);f.done=Math.abs(M)<=l,f.value=f.done?C:X};let h,S;const T=P=>{p(f.value)&&(h=P,S=ms({keyframes:[f.value,b(f.value)],velocity:fs(m,P,f.value),damping:i,stiffness:o,restDelta:l,restSpeed:c}))};return T(0),{calculatedDuration:null,next:P=>{let M=!1;return!S&&h===void 0&&(M=!0,I(P),T(P)),h!==void 0&&P>=h?S.next(P-h):(!M&&I(P),f)}}}const bs=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,qd=1e-7,ef=12;function tf(e,t,n,r,i){let o,s,u=0;do s=t+(n-t)/2,o=bs(s,r,i)-e,o>0?n=s:t=s;while(Math.abs(o)>qd&&++u<ef);return s}function jt(e,t,n,r){if(e===t&&n===r)return he;const i=o=>tf(o,0,1,e,n);return o=>o===0||o===1?o:bs(i(o),t,r)}const nf=jt(.42,0,1,1),rf=jt(0,0,.58,1),vs=jt(.42,0,.58,1),of=e=>Array.isArray(e)&&typeof e[0]!="number",ys=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Cs=e=>t=>1-e(1-t),Rr=e=>1-Math.sin(Math.acos(e)),Is=Cs(Rr),sf=ys(Rr),xs=jt(.33,1.53,.69,.99),Lr=Cs(xs),af=ys(Lr),As={linear:he,easeIn:nf,easeInOut:vs,easeOut:rf,circIn:Rr,circInOut:sf,circOut:Is,backIn:Lr,backInOut:af,backOut:xs,anticipate:e=>(e*=2)<1?.5*Lr(e):.5*(2-Math.pow(2,-10*(e-1)))},Ss=e=>{if(Array.isArray(e)){Ye(e.length===4,"Cubic bezier arrays must contain four numerical values.");const[t,n,r,i]=e;return jt(t,n,r,i)}else if(typeof e=="string")return Ye(As[e]!==void 0,`Invalid easing type '${e}'`),As[e];return e},Yt=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},se=(e,t,n)=>e+(t-e)*n;function Wr(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 uf({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,o=0,s=0;if(!t)i=o=s=n;else{const u=n<.5?n*(1+t):n+t-n*t,a=2*n-u;i=Wr(a,u,e+1/3),o=Wr(a,u,e),s=Wr(a,u,e-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(s*255),alpha:r}}function Tn(e,t){return n=>n>0?t:e}const Xr=(e,t,n)=>{const r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},lf=[Mr,ht,Pt],cf=e=>lf.find(t=>t.test(e));function Ts(e){const t=cf(e);if(St(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`),!t)return!1;let n=t.parse(e);return t===Pt&&(n=uf(n)),n}const Es=(e,t)=>{const n=Ts(e),r=Ts(t);if(!n||!r)return Tn(e,t);const i={...n};return o=>(i.red=Xr(n.red,r.red,o),i.green=Xr(n.green,r.green,o),i.blue=Xr(n.blue,r.blue,o),i.alpha=se(n.alpha,r.alpha,o),ht.transform(i))},Zr=new Set(["none","hidden"]);function df(e,t){return Zr.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function ff(e,t){return n=>se(e,t,n)}function Hr(e){return typeof e=="number"?ff:typeof e=="string"?hr(e)?Tn:ye.test(e)?Es:mf:Array.isArray(e)?Ps:typeof e=="object"?ye.test(e)?Es:hf:Tn}function Ps(e,t){const n=[...e],r=n.length,i=e.map((o,s)=>Hr(o)(o,t[s]));return o=>{for(let s=0;s<r;s++)n[s]=i[s](o);return n}}function hf(e,t){const n={...e,...t},r={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=Hr(e[i])(e[i],t[i]));return i=>{for(const o in r)n[o]=r[o](i);return n}}function pf(e,t){var n;const r=[],i={color:0,var:0,number:0};for(let o=0;o<t.values.length;o++){const s=t.types[o],u=e.indexes[s][i[s]],a=(n=e.values[u])!==null&&n!==void 0?n:0;r[o]=a,i[s]++}return r}const mf=(e,t)=>{const n=at.createTransformer(t),r=zt(e),i=zt(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?Zr.has(e)&&!i.values.length||Zr.has(t)&&!r.values.length?df(e,t):Qe(Ps(pf(r,i),i.values),n):(St(!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.`),Tn(e,t))};function ws(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?se(e,t,n):Hr(e)(e,t)}function gf(e,t,n){const r=[],i=n||ws,o=e.length-1;for(let s=0;s<o;s++){let u=i(e[s],e[s+1]);if(t){const a=Array.isArray(t)?t[s]||he:t;u=Qe(a,u)}r.push(u)}return r}function bf(e,t,{clamp:n=!0,ease:r,mixer:i}={}){const o=e.length;if(Ye(o===t.length,"Both input and output ranges must be the same length"),o===1)return()=>t[0];if(o===2&&e[0]===e[1])return()=>t[1];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());const s=gf(t,r,i),u=s.length,a=l=>{let c=0;if(u>1)for(;c<e.length-2&&!(l<e[c+1]);c++);const d=Yt(e[c],e[c+1],l);return s[c](d)};return n?l=>a(rt(e[0],e[o-1],l)):a}function vf(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=Yt(0,t,r);e.push(se(n,1,i))}}function yf(e){const t=[0];return vf(t,e.length-1),t}function Cf(e,t){return e.map(n=>n*t)}function If(e,t){return e.map(()=>t||vs).splice(0,e.length-1)}function En({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=of(r)?r.map(Ss):Ss(r),o={done:!1,value:t[0]},s=Cf(n&&n.length===t.length?n:yf(t),e),u=bf(s,t,{ease:Array.isArray(i)?i:If(t,i)});return{calculatedDuration:e,next:a=>(o.value=u(a),o.done=a>=e,o)}}const Vs=2e4;function xf(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<Vs;)t+=n,r=e.next(t);return t>=Vs?1/0:t}const Af=e=>{const t=({timestamp:n})=>e(n);return{start:()=>K.update(t,!0),stop:()=>Je(t),now:()=>pe.isProcessing?pe.timestamp:st.now()}},Sf={decay:gs,inertia:gs,tween:En,keyframes:En,spring:ms},Tf=e=>e/100;class kr extends cs{constructor({KeyframeResolver:t=Vr,...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:r,motionValue:i,keyframes:o}=this.options,s=(u,a)=>this.onKeyframesResolved(u,a);r&&i&&i.owner?this.resolver=i.owner.resolveKeyframes(o,s,r,i):this.resolver=new t(o,s,r,i),this.resolver.scheduleResolve()}initPlayback(t){const{type:n="keyframes",repeat:r=0,repeatDelay:i=0,repeatType:o,velocity:s=0}=this.options,u=Sf[n]||En;let a,l;u!==En&&typeof t[0]!="number"&&(process.env.NODE_ENV!=="production"&&Ye(t.length===2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${t}`),a=Qe(Tf,ws(t[0],t[1])),t=[0,100]);const c=u({...this.options,keyframes:t});o==="mirror"&&(l=u({...this.options,keyframes:[...t].reverse(),velocity:-s})),c.calculatedDuration===null&&(c.calculatedDuration=xf(c));const{calculatedDuration:d}=c,f=d+i,p=f*(r+1)-i;return{generator:c,mirroredGenerator:l,mapPercentToKeyframes:a,calculatedDuration:d,resolvedDuration:f,totalDuration:p}}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:r}=this;if(!r){const{keyframes:P}=this.options;return{done:!0,value:P[P.length-1]}}const{finalKeyframe:i,generator:o,mirroredGenerator:s,mapPercentToKeyframes:u,keyframes:a,calculatedDuration:l,totalDuration:c,resolvedDuration:d}=r;if(this.startTime===null)return o.next(0);const{delay:f,repeat:p,repeatType:b,repeatDelay:g,onUpdate:v}=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 C=this.currentTime-f*(this.speed>=0?1:-1),y=this.speed>=0?C<0:C>c;this.currentTime=Math.max(C,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=c);let m=this.currentTime,I=o;if(p){const P=Math.min(this.currentTime,c)/d;let M=Math.floor(P),X=P%1;!X&&P>=1&&(X=1),X===1&&M--,M=Math.min(M,p+1),!!(M%2)&&(b==="reverse"?(X=1-X,g&&(X-=g/d)):b==="mirror"&&(I=s)),m=rt(0,1,X)*d}const h=y?{done:!1,value:a[0]}:I.next(m);u&&(h.value=u(h.value));let{done:S}=h;!y&&l!==null&&(S=this.speed>=0?this.currentTime>=c:this.currentTime<=0);const T=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&S);return T&&i!==void 0&&(h.value=An(a,this.options,i)),v&&v(h.value),T&&this.finish(),h}get duration(){const{resolved:t}=this;return t?$e(t.calculatedDuration):0}get time(){return $e(this.currentTime)}set time(t){t=Ke(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=$e(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:t=Af,onPlay:n}=this.options;this.driver||(this.driver=t(i=>this.tick(i))),n&&n();const r=this.driver.now();this.holdTime!==null?this.startTime=r-this.holdTime:(!this.startTime||this.state==="finished")&&(this.startTime=r),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 Ds=e=>Array.isArray(e)&&typeof e[0]=="number";function Fs(e){return!!(!e||typeof e=="string"&&e in zr||Ds(e)||Array.isArray(e)&&e.every(Fs))}const Jt=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,zr={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Jt([0,.65,.55,1]),circOut:Jt([.55,0,1,.45]),backIn:Jt([.31,.01,.66,-.59]),backOut:Jt([.33,1.53,.69,.99])};function Ef(e){return Ms(e)||zr.easeOut}function Ms(e){if(e)return Ds(e)?Jt(e):Array.isArray(e)?e.map(Ef):zr[e]}function Pf(e,t,n,{delay:r=0,duration:i=300,repeat:o=0,repeatType:s="loop",ease:u,times:a}={}){const l={[t]:n};a&&(l.offset=a);const c=Ms(u);return Array.isArray(c)&&(l.easing=c),e.animate(l,{delay:r,duration:i,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:o+1,direction:s==="reverse"?"alternate":"normal"})}const wf=us(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),Pn=10,Vf=2e4;function Df(e){return e.type==="spring"||!Fs(e.ease)}function Ff(e,t){const n=new kr({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0});let r={done:!1,value:e[0]};const i=[];let o=0;for(;!r.done&&o<Vf;)r=n.sample(o),i.push(r.value),o+=Pn;return{times:void 0,keyframes:i,duration:o-Pn,ease:"linear"}}class Bs extends cs{constructor(t){super(t);const{name:n,motionValue:r,keyframes:i}=this.options;this.resolver=new as(i,(o,s)=>this.onKeyframesResolved(o,s),n,r),this.resolver.scheduleResolve()}initPlayback(t,n){var r;let{duration:i=300,times:o,ease:s,type:u,motionValue:a,name:l}=this.options;if(!(!((r=a.owner)===null||r===void 0)&&r.current))return!1;if(Df(this.options)){const{onComplete:d,onUpdate:f,motionValue:p,...b}=this.options,g=Ff(t,b);t=g.keyframes,t.length===1&&(t[1]=t[0]),i=g.duration,o=g.times,s=g.ease,u="keyframes"}const c=Pf(a.owner.current,l,t,{...this.options,duration:i,times:o,ease:s});return c.startTime=st.now(),this.pendingTimeline?(c.timeline=this.pendingTimeline,this.pendingTimeline=void 0):c.onfinish=()=>{const{onComplete:d}=this.options;a.set(An(t,this.options,n)),d&&d(),this.cancel(),this.resolveFinishedPromise()},{animation:c,duration:i,times:o,type:u,ease:s,keyframes:t}}get duration(){const{resolved:t}=this;if(!t)return 0;const{duration:n}=t;return $e(n)}get time(){const{resolved:t}=this;if(!t)return 0;const{animation:n}=t;return $e(n.currentTime||0)}set time(t){const{resolved:n}=this;if(!n)return;const{animation:r}=n;r.currentTime=Ke(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:r}=n;r.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 he;const{animation:r}=n;r.timeline=t,r.onfinish=null}return he}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:r,duration:i,type:o,ease:s,times:u}=t;if(n.playState==="idle"||n.playState==="finished")return;if(this.time){const{motionValue:l,onUpdate:c,onComplete:d,...f}=this.options,p=new kr({...f,keyframes:r,duration:i,type:o,ease:s,times:u,isGenerator:!0}),b=Ke(this.time);l.setWithVelocity(p.sample(b-Pn).value,p.sample(b).value,Pn)}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:r,repeatDelay:i,repeatType:o,damping:s,type:u}=t;return wf()&&r&&Do.has(r)&&n&&n.owner&&n.owner.current instanceof HTMLElement&&!n.owner.getProps().onUpdate&&!i&&o!=="mirror"&&s!==0&&u!=="inertia"}}function Mf(e,t){let n;const r=()=>{const{currentTime:i}=t,s=(i===null?0:i.value)/100;n!==s&&e(s),n=s};return K.update(r,!0),()=>Je(r)}const Bf=us(()=>window.ScrollTimeline!==void 0);class Gf{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 r=0;r<this.animations.length;r++)this.animations[r][t]=n}attachTimeline(t){const n=this.animations.map(r=>{if(Bf()&&r.attachTimeline)r.attachTimeline(t);else return r.pause(),Mf(i=>{r.time=r.duration*i},t)});return()=>{n.forEach((r,i)=>{r&&r(),this.animations[i].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 jr=(e,t,n,r={},i,o,s)=>u=>{const a=Er(r,e)||{},l=a.delay||r.delay||0;let{elapsed:c=0}=r;c=c-Ke(l);let d={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-c,onUpdate:p=>{t.set(p),a.onUpdate&&a.onUpdate(p)},onComplete:()=>{u(),a.onComplete&&a.onComplete(),s&&s()},onStop:s,name:e,motionValue:t,element:o?void 0:i};md(a)||(d={...d,...pd(e,d)}),d.duration&&(d.duration=Ke(d.duration)),d.repeatDelay&&(d.repeatDelay=Ke(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&&!o&&t.get()!==void 0){const p=An(d.keyframes,a);if(p!==void 0)return K.update(()=>{d.onUpdate(p),d.onComplete()}),new Gf([])}return!o&&Bs.supports(d)?new Bs(d):new kr(d)};class Yr{constructor(){this.subscriptions=[]}add(t){return yn(this.subscriptions,t),()=>Cn(this.subscriptions,t)}notify(t,n,r){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](t,n,r);else for(let o=0;o<i;o++){const s=this.subscriptions[o];s&&s(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Gs=new Set;function Jr(e,t,n){e||Gs.has(t)||(console.warn(t),Gs.add(t))}const Os=30,Of=e=>!isNaN(parseFloat(e));class Ns{constructor(t,n={}){this.version="11.3.8",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(r,i=!0)=>{const o=st.now();this.updatedAt!==o&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),i&&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=st.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=Of(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return process.env.NODE_ENV!=="production"&&Jr(!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 Yr);const r=this.events[t].add(n);return t==="change"?()=>{r(),K.read(()=>{this.events.change.getSize()||this.stop()})}:r}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,r){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}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=st.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>Os)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,Os);return ds(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 Ut(e,t){return new Ns(e,t)}function Nf(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Ut(n))}function Rf(e,t){const n=xn(e,t);let{transitionEnd:r={},transition:i={},...o}=n||{};o={...o,...r};for(const s in o){const u=zc(o[s]);Nf(e,s,u)}}function Rs(e){return e.getProps()[oo]}class Lf extends Ns{constructor(){super(...arguments),this.output=[],this.counts=new Map}add(t){const n=Fo(t);if(!n)return;const r=this.counts.get(n)||0;this.counts.set(n,r+1),r===0&&(this.output.push(n),this.update());let i=!1;return()=>{if(i)return;i=!0;const o=this.counts.get(n)-1;this.counts.set(n,o),o===0&&(Cn(this.output,n),this.update())}}update(){this.set(this.output.length?this.output.join(", "):"auto")}}function Wf(e){return!!(ve(e)&&e.add)}function Ur(e,t){var n;if(!e.applyWillChange)return;let r=e.getValue("willChange");if(!r&&!(!((n=e.props.style)===null||n===void 0)&&n.willChange)&&(r=new Lf("auto"),e.addValue("willChange",r)),Wf(r))return r.add(t)}function Xf({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function Ls(e,t,{delay:n=0,transitionOverride:r,type:i}={}){var o;let{transition:s=e.getDefaultTransition(),transitionEnd:u,...a}=t;r&&(s=r);const l=[],c=i&&e.animationState&&e.animationState.getState()[i];for(const d in a){const f=e.getValue(d,(o=e.latestValues[d])!==null&&o!==void 0?o:null),p=a[d];if(p===void 0||c&&Xf(c,d))continue;const b={delay:n,elapsed:0,...Er(s||{},d)};let g=!1;if(window.HandoffAppearAnimations){const C=Rs(e);if(C){const y=window.HandoffAppearAnimations(C,d,f,K);y!==null&&(b.elapsed=y,g=!0)}}f.start(jr(d,f,p,e.shouldReduceMotion&&nt.has(d)?{type:!1}:b,e,g,Ur(e,d)));const v=f.animation;v&&l.push(v)}return u&&Promise.all(l).then(()=>{K.update(()=>{u&&Rf(e,u)})}),l}function _r(e,t,n={}){var r;const i=xn(e,t,n.type==="exit"?(r=e.presenceContext)===null||r===void 0?void 0:r.custom:void 0);let{transition:o=e.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(o=n.transitionOverride);const s=i?()=>Promise.all(Ls(e,i,n)):()=>Promise.resolve(),u=e.variantChildren&&e.variantChildren.size?(l=0)=>{const{delayChildren:c=0,staggerChildren:d,staggerDirection:f}=o;return Zf(e,t,c+l,d,f,n)}:()=>Promise.resolve(),{when:a}=o;if(a){const[l,c]=a==="beforeChildren"?[s,u]:[u,s];return l().then(()=>c())}else return Promise.all([s(),u(n.delay)])}function Zf(e,t,n=0,r=0,i=1,o){const s=[],u=(e.variantChildren.size-1)*r,a=i===1?(l=0)=>l*r:(l=0)=>u-l*r;return Array.from(e.variantChildren).sort(Hf).forEach((l,c)=>{l.notify("AnimationStart",t),s.push(_r(l,t,{...o,delay:n+a(c)}).then(()=>l.notify("AnimationComplete",t)))}),Promise.all(s)}function Hf(e,t){return e.sortNodePosition(t)}function kf(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const i=t.map(o=>_r(e,o,n));r=Promise.all(i)}else if(typeof t=="string")r=_r(e,t,n);else{const i=typeof t=="function"?xn(e,t,n.custom):t;r=Promise.all(Ls(e,i,n))}return r.then(()=>{K.postRender(()=>{e.notify("AnimationComplete",t)})})}const zf=[...lr].reverse(),jf=lr.length;function Yf(e){return t=>Promise.all(t.map(({animation:n,options:r})=>kf(e,n,r)))}function Jf(e){let t=Yf(e),n=Ws(),r=!0;const i=a=>(l,c)=>{var d;const f=xn(e,c,a==="exit"?(d=e.presenceContext)===null||d===void 0?void 0:d.custom:void 0);if(f){const{transition:p,transitionEnd:b,...g}=f;l={...l,...g,...b}}return l};function o(a){t=a(e)}function s(a){const l=e.getProps(),c=e.getVariantContext(!0)||{},d=[],f=new Set;let p={},b=1/0;for(let v=0;v<jf;v++){const C=zf[v],y=n[C],m=l[C]!==void 0?l[C]:c[C],I=Rt(m),h=C===a?y.isActive:null;h===!1&&(b=v);let S=m===c[C]&&m!==l[C]&&I;if(S&&r&&e.manuallyAnimateOnMount&&(S=!1),y.protectedKeys={...p},!y.isActive&&h===null||!m&&!y.prevProp||Lt(m)||typeof m=="boolean")continue;let P=Uf(y.prevProp,m)||C===a&&y.isActive&&!S&&I||v>b&&I,M=!1;const X=Array.isArray(m)?m:[m];let U=X.reduce(i(C),{});h===!1&&(U={});const{prevResolvedValues:ne={}}=y,de={...ne,...U},oe=k=>{P=!0,f.has(k)&&(M=!0,f.delete(k)),y.needsAnimating[k]=!0;const z=e.getValue(k);z&&(z.liveStyle=!1)};for(const k in de){const z=U[k],re=ne[k];if(p.hasOwnProperty(k))continue;let ie=!1;Ir(z)&&Ir(re)?ie=!Ho(z,re):ie=z!==re,ie?z!=null?oe(k):f.add(k):z!==void 0&&f.has(k)?oe(k):y.protectedKeys[k]=!0}y.prevProp=m,y.prevResolvedValues=U,y.isActive&&(p={...p,...U}),r&&e.blockInitialAnimation&&(P=!1),P&&(!S||M)&&d.push(...X.map(k=>({animation:k,options:{type:C}})))}if(f.size){const v={};f.forEach(C=>{const y=e.getBaseTarget(C),m=e.getValue(C);m&&(m.liveStyle=!0),v[C]=y??null}),d.push({animation:v})}let g=!!d.length;return r&&(l.initial===!1||l.initial===l.animate)&&!e.manuallyAnimateOnMount&&(g=!1),r=!1,g?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 p;return(p=f.animationState)===null||p===void 0?void 0:p.setActive(a,l)}),n[a].isActive=l;const d=s(a);for(const f in n)n[f].protectedKeys={};return d}return{animateChanges:s,setActive:u,setAnimateFunction:o,getState:()=>n,reset:()=>{n=Ws(),r=!0}}}function Uf(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Ho(t,e):!1}function pt(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Ws(){return{animate:pt(!0),whileInView:pt(),whileHover:pt(),whileTap:pt(),whileDrag:pt(),whileFocus:pt(),exit:pt()}}class _f extends ot{constructor(t){super(t),t.animationState||(t.animationState=Jf(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();Lt(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 Qf=0;class Kf extends ot{constructor(){super(...arguments),this.id=Qf++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;const i=this.node.animationState.setActive("exit",!t);n&&!t&&i.then(()=>n(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const $f={animation:{Feature:_f},exit:{Feature:Kf}},Xs=(e,t)=>Math.abs(e-t);function qf(e,t){const n=Xs(e.x,t.x),r=Xs(e.y,t.y);return Math.sqrt(n**2+r**2)}class Zs{constructor(t,n,{transformPagePoint:r,contextWindow:i,dragSnapToOrigin:o=!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=Kr(this.lastMoveEventInfo,this.history),f=this.startEvent!==null,p=qf(d.offset,{x:0,y:0})>=3;if(!f&&!p)return;const{point:b}=d,{timestamp:g}=pe;this.history.push({...b,timestamp:g});const{onStart:v,onMove:C}=this.handlers;f||(v&&v(this.lastMoveEvent,d),this.startEvent=this.lastMoveEvent),C&&C(this.lastMoveEvent,d)},this.handlePointerMove=(d,f)=>{this.lastMoveEvent=d,this.lastMoveEventInfo=Qr(f,this.transformPagePoint),K.update(this.updatePoint,!0)},this.handlePointerUp=(d,f)=>{this.end();const{onEnd:p,onSessionEnd:b,resumeAnimation:g}=this.handlers;if(this.dragSnapToOrigin&&g&&g(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const v=Kr(d.type==="pointercancel"?this.lastMoveEventInfo:Qr(f,this.transformPagePoint),this.history);this.startEvent&&p&&p(d,v),b&&b(d,v)},!Go(t))return;this.dragSnapToOrigin=o,this.handlers=n,this.transformPagePoint=r,this.contextWindow=i||window;const s=In(t),u=Qr(s,this.transformPagePoint),{point:a}=u,{timestamp:l}=pe;this.history=[{...a,timestamp:l}];const{onSessionStart:c}=n;c&&c(t,Kr(u,this.history)),this.removeListeners=Qe(_e(this.contextWindow,"pointermove",this.handlePointerMove),_e(this.contextWindow,"pointerup",this.handlePointerUp),_e(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Je(this.updatePoint)}}function Qr(e,t){return t?{point:t(e.point)}:e}function Hs(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Kr({point:e},t){return{point:e,delta:Hs(e,ks(t)),offset:Hs(e,eh(t)),velocity:th(t,.1)}}function eh(e){return e[0]}function ks(e){return e[e.length-1]}function th(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=ks(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>Ke(t)));)n--;if(!r)return{x:0,y:0};const o=$e(i.timestamp-r.timestamp);if(o===0)return{x:0,y:0};const s={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}const zs=1e-4,nh=1-zs,rh=1+zs,js=.01,ih=0-js,oh=0+js;function Pe(e){return e.max-e.min}function sh(e,t,n){return Math.abs(e-t)<=n}function Ys(e,t,n,r=.5){e.origin=r,e.originPoint=se(t.min,t.max,e.origin),e.scale=Pe(n)/Pe(t),e.translate=se(n.min,n.max,e.origin)-e.originPoint,(e.scale>=nh&&e.scale<=rh||isNaN(e.scale))&&(e.scale=1),(e.translate>=ih&&e.translate<=oh||isNaN(e.translate))&&(e.translate=0)}function _t(e,t,n,r){Ys(e.x,t.x,n.x,r?r.originX:void 0),Ys(e.y,t.y,n.y,r?r.originY:void 0)}function Js(e,t,n){e.min=n.min+t.min,e.max=e.min+Pe(t)}function ah(e,t,n){Js(e.x,t.x,n.x),Js(e.y,t.y,n.y)}function Us(e,t,n){e.min=t.min-n.min,e.max=e.min+Pe(t)}function Qt(e,t,n){Us(e.x,t.x,n.x),Us(e.y,t.y,n.y)}function uh(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?se(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?se(n,e,r.max):Math.min(e,n)),e}function _s(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 lh(e,{top:t,left:n,bottom:r,right:i}){return{x:_s(e.x,n,i),y:_s(e.y,t,r)}}function Qs(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function ch(e,t){return{x:Qs(e.x,t.x),y:Qs(e.y,t.y)}}function dh(e,t){let n=.5;const r=Pe(e),i=Pe(t);return i>r?n=Yt(t.min,t.max-r,e.min):r>i&&(n=Yt(e.min,e.max-i,t.min)),rt(0,1,n)}function fh(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 $r=.35;function hh(e=$r){return e===!1?e=0:e===!0&&(e=$r),{x:Ks(e,"left","right"),y:Ks(e,"top","bottom")}}function Ks(e,t,n){return{min:$s(e,t),max:$s(e,n)}}function $s(e,t){return typeof e=="number"?e:e[t]||0}const qs=()=>({translate:0,scale:1,origin:0,originPoint:0}),wt=()=>({x:qs(),y:qs()}),ea=()=>({min:0,max:0}),le=()=>({x:ea(),y:ea()});function Fe(e){return[e("x"),e("y")]}function ta({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function ph({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function mh(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function qr(e){return e===void 0||e===1}function ei({scale:e,scaleX:t,scaleY:n}){return!qr(e)||!qr(t)||!qr(n)}function mt(e){return ei(e)||na(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function na(e){return ra(e.x)||ra(e.y)}function ra(e){return e&&e!=="0%"}function wn(e,t,n){const r=e-n,i=t*r;return n+i}function ia(e,t,n,r,i){return i!==void 0&&(e=wn(e,i,r)),wn(e,n,r)+t}function ti(e,t=0,n=1,r,i){e.min=ia(e.min,t,n,r,i),e.max=ia(e.max,t,n,r,i)}function oa(e,{x:t,y:n}){ti(e.x,t.translate,t.scale,t.originPoint),ti(e.y,n.translate,n.scale,n.originPoint)}const sa=.999999999999,aa=1.0000000000001;function gh(e,t,n,r=!1){const i=n.length;if(!i)return;t.x=t.y=1;let o,s;for(let u=0;u<i;u++){o=n[u],s=o.projectionDelta;const{visualElement:a}=o.options;a&&a.props.style&&a.props.style.display==="contents"||(r&&o.options.layoutScroll&&o.scroll&&o!==o.root&&Vt(e,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,oa(e,s)),r&&mt(o.latestValues)&&Vt(e,o.latestValues))}t.x<aa&&t.x>sa&&(t.x=1),t.y<aa&&t.y>sa&&(t.y=1)}function ut(e,t){e.min=e.min+t,e.max=e.max+t}function ua(e,t,n,r,i=.5){const o=se(e.min,e.max,i);ti(e,t,n,o,r)}function Vt(e,t){ua(e.x,t.x,t.scaleX,t.scale,t.originX),ua(e.y,t.y,t.scaleY,t.scale,t.originY)}function la(e,t){return ta(mh(e.getBoundingClientRect(),t))}function bh(e,t,n){const r=la(e,n),{scroll:i}=t;return i&&(ut(r.x,i.offset.x),ut(r.y,i.offset.y)),r}const ca=({current:e})=>e?e.ownerDocument.defaultView:null,vh=new WeakMap;class yh{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=le(),this.visualElement=t}start(t,{snapToCursor:n=!1}={}){const{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;const i=c=>{const{dragSnapToOrigin:d}=this.getProps();d?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(In(c,"page").point)},o=(c,d)=>{var f;const{drag:p,dragPropagation:b,onDragStart:g}=this.getProps();if(p&&!b&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=Lo(p),!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(C=>{let y=this.getAxisMotionValue(C).get()||0;if(Xe.test(y)){const{projection:m}=this.visualElement;if(m&&m.layout){const I=m.layout.layoutBox[C];I&&(y=Pe(I)*(parseFloat(y)/100))}}this.originPoint[C]=y}),g&&K.postRender(()=>g(c,d)),(f=this.removeWillChange)===null||f===void 0||f.call(this),this.removeWillChange=Ur(this.visualElement,"transform");const{animationState:v}=this.visualElement;v&&v.setActive("whileDrag",!0)},s=(c,d)=>{const{dragPropagation:f,dragDirectionLock:p,onDirectionLock:b,onDrag:g}=this.getProps();if(!f&&!this.openGlobalLock)return;const{offset:v}=d;if(p&&this.currentDirection===null){this.currentDirection=Ch(v),this.currentDirection!==null&&b&&b(this.currentDirection);return}this.updateAxis("x",d.point,v),this.updateAxis("y",d.point,v),this.visualElement.render(),g&&g(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 Zs(t,{onSessionStart:i,onStart:o,onMove:s,onSessionEnd:u,resumeAnimation:a},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:l,contextWindow:ca(this.visualElement)})}stop(t,n){var r;(r=this.removeWillChange)===null||r===void 0||r.call(this);const i=this.isDragging;if(this.cancel(),!i)return;const{velocity:o}=n;this.startAnimation(o);const{onDragEnd:s}=this.getProps();s&&K.postRender(()=>s(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:r}=this.getProps();!r&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,r){const{drag:i}=this.getProps();if(!r||!Vn(t,i,this.currentDirection))return;const o=this.getAxisMotionValue(t);let s=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(s=uh(s,this.constraints[t],this.elastic[t])),o.set(s)}resolveConstraints(){var t;const{dragConstraints:n,dragElastic:r}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)===null||t===void 0?void 0:t.layout,o=this.constraints;n&&xt(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&i?this.constraints=lh(i.layoutBox,n):this.constraints=!1,this.elastic=hh(r),o!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&Fe(s=>{this.constraints!==!1&&this.getAxisMotionValue(s)&&(this.constraints[s]=fh(i.layoutBox[s],this.constraints[s]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!xt(t))return!1;const r=t.current;Ye(r!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const o=bh(r,i.root,this.visualElement.getTransformPagePoint());let s=ch(i.layout.layoutBox,o);if(n){const u=n(ph(s));this.hasMutatedConstraints=!!u,u&&(s=ta(u))}return s}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:i,dragTransition:o,dragSnapToOrigin:s,onDragTransitionEnd:u}=this.getProps(),a=this.constraints||{},l=Fe(c=>{if(!Vn(c,n,this.currentDirection))return;let d=a&&a[c]||{};s&&(d={min:0,max:0});const f=i?200:1e6,p=i?40:1e7,b={type:"inertia",velocity:r?t[c]:0,bounceStiffness:f,bounceDamping:p,timeConstant:750,restDelta:1,restSpeed:10,...o,...d};return this.startAxisValueAnimation(c,b)});return Promise.all(l).then(u)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return r.start(jr(t,r,0,n,this.visualElement,!1,Ur(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()}`,r=this.visualElement.getProps(),i=r[n];return i||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){Fe(n=>{const{drag:r}=this.getProps();if(!Vn(n,r,this.currentDirection))return;const{projection:i}=this.visualElement,o=this.getAxisMotionValue(n);if(i&&i.layout){const{min:s,max:u}=i.layout.layoutBox[n];o.set(t[n]-se(s,u,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!xt(n)||!r||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};Fe(s=>{const u=this.getAxisMotionValue(s);if(u&&this.constraints!==!1){const a=u.get();i[s]=dh({min:a,max:a},this.constraints[s])}});const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),Fe(s=>{if(!Vn(s,t,null))return;const u=this.getAxisMotionValue(s),{min:a,max:l}=this.constraints[s];u.set(se(a,l,i[s]))})}addListeners(){if(!this.visualElement.current)return;vh.set(this.visualElement,this);const t=this.visualElement.current,n=_e(t,"pointerdown",a=>{const{drag:l,dragListener:c=!0}=this.getProps();l&&c&&this.start(a)}),r=()=>{const{dragConstraints:a}=this.getProps();xt(a)&&a.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,o=i.addEventListener("measure",r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),K.read(r);const s=Ue(window,"resize",()=>this.scalePositionWithinConstraints()),u=i.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()=>{s(),n(),o(),u&&u()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:o=!1,dragElastic:s=$r,dragMomentum:u=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:i,dragConstraints:o,dragElastic:s,dragMomentum:u}}}function Vn(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function Ch(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class Ih extends ot{constructor(t){super(t),this.removeGroupControls=he,this.removeListeners=he,this.controls=new yh(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||he}unmount(){this.removeGroupControls(),this.removeListeners()}}const da=e=>(t,n)=>{e&&K.postRender(()=>e(t,n))};class xh extends ot{constructor(){super(...arguments),this.removePointerDownListener=he}onPointerDown(t){this.session=new Zs(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:ca(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:i}=this.node.getProps();return{onSessionStart:da(t),onStart:da(n),onMove:r,onEnd:(o,s)=>{delete this.session,i&&K.postRender(()=>i(o,s))}}}mount(){this.removePointerDownListener=_e(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 Ah(){const e=x.useContext(dn);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:n,register:r}=e,i=x.useId();return x.useEffect(()=>r(i),[]),!t&&n?[!1,()=>n&&n(i)]:[!0]}const Dn={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function fa(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Kt={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(R.test(e))e=parseFloat(e);else return e;const n=fa(e,t.target.x),r=fa(e,t.target.y);return`${n}% ${r}%`}},Sh={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=at.parse(e);if(i.length>5)return r;const o=at.createTransformer(e),s=typeof i[0]!="number"?1:0,u=n.x.scale*t.x,a=n.y.scale*t.y;i[0+s]/=u,i[1+s]/=a;const l=se(u,a,.5);return typeof i[2+s]=="number"&&(i[2+s]/=l),typeof i[3+s]=="number"&&(i[3+s]/=l),o(i)}};class Th extends x.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:i}=this.props,{projection:o}=t;yc(Eh),o&&(n.group&&n.group.add(o),r&&r.register&&i&&r.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),Dn.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:i,isPresent:o}=this.props,s=r.projection;return s&&(s.isPresent=o,i||t.layoutDependency!==n||n===void 0?s.willUpdate():this.safeToRemove(),t.isPresent!==o&&(o?s.promote():s.relegate()||K.postRender(()=>{const u=s.getStack();(!u||!u.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),ur.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:i}=t;i&&(i.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(i),r&&r.deregister&&r.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function ha(e){const[t,n]=Ah(),r=x.useContext(dr);return w.jsx(Th,{...e,layoutGroup:r,switchLayoutGroup:x.useContext(ao),isPresent:t,safeToRemove:n})}const Eh={borderRadius:{...Kt,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Kt,borderTopRightRadius:Kt,borderBottomLeftRadius:Kt,borderBottomRightRadius:Kt,boxShadow:Sh},pa=["TopLeft","TopRight","BottomLeft","BottomRight"],Ph=pa.length,ma=e=>typeof e=="string"?parseFloat(e):e,ga=e=>typeof e=="number"||R.test(e);function wh(e,t,n,r,i,o){i?(e.opacity=se(0,n.opacity!==void 0?n.opacity:1,Vh(r)),e.opacityExit=se(t.opacity!==void 0?t.opacity:1,0,Dh(r))):o&&(e.opacity=se(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,r));for(let s=0;s<Ph;s++){const u=`border${pa[s]}Radius`;let a=ba(t,u),l=ba(n,u);if(a===void 0&&l===void 0)continue;a||(a=0),l||(l=0),a===0||l===0||ga(a)===ga(l)?(e[u]=Math.max(se(ma(a),ma(l),r),0),(Xe.test(l)||Xe.test(a))&&(e[u]+="%")):e[u]=l}(t.rotate||n.rotate)&&(e.rotate=se(t.rotate||0,n.rotate||0,r))}function ba(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const Vh=va(0,.5,Is),Dh=va(.5,.95,he);function va(e,t,n){return r=>r<e?0:r>t?1:n(Yt(e,t,r))}function ya(e,t){e.min=t.min,e.max=t.max}function Me(e,t){ya(e.x,t.x),ya(e.y,t.y)}function Ca(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function Ia(e,t,n,r,i){return e-=t,e=wn(e,1/n,r),i!==void 0&&(e=wn(e,1/i,r)),e}function Fh(e,t=0,n=1,r=.5,i,o=e,s=e){if(Xe.test(t)&&(t=parseFloat(t),t=se(s.min,s.max,t/100)-s.min),typeof t!="number")return;let u=se(o.min,o.max,r);e===o&&(u-=t),e.min=Ia(e.min,t,n,u,i),e.max=Ia(e.max,t,n,u,i)}function xa(e,t,[n,r,i],o,s){Fh(e,t[n],t[r],t[i],t.scale,o,s)}const Mh=["x","scaleX","originX"],Bh=["y","scaleY","originY"];function Aa(e,t,n,r){xa(e.x,t,Mh,n?n.x:void 0,r?r.x:void 0),xa(e.y,t,Bh,n?n.y:void 0,r?r.y:void 0)}function Sa(e){return e.translate===0&&e.scale===1}function Ta(e){return Sa(e.x)&&Sa(e.y)}function Gh(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 Ea(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 Pa(e){return Pe(e.x)/Pe(e.y)}function wa(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class Oh{constructor(){this.members=[]}add(t){yn(this.members,t),t.scheduleRender()}remove(t){if(Cn(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(i=>t===i);if(n===0)return!1;let r;for(let i=n;i>=0;i--){const o=this.members[i];if(o.isPresent!==!1){r=o;break}}return r?(this.promote(r),!0):!1}promote(t,n){const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,n&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:i}=t.options;i===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:r}=t;n.onExitComplete&&n.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function Nh(e,t,n){let r="";const i=e.x.translate/t.x,o=e.y.translate/t.y,s=(n==null?void 0:n.z)||0;if((i||o||s)&&(r=`translate3d(${i}px, ${o}px, ${s}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:l,rotate:c,rotateX:d,rotateY:f,skewX:p,skewY:b}=n;l&&(r=`perspective(${l}px) ${r}`),c&&(r+=`rotate(${c}deg) `),d&&(r+=`rotateX(${d}deg) `),f&&(r+=`rotateY(${f}deg) `),p&&(r+=`skewX(${p}deg) `),b&&(r+=`skewY(${b}deg) `)}const u=e.x.scale*t.x,a=e.y.scale*t.y;return(u!==1||a!==1)&&(r+=`scale(${u}, ${a})`),r||"none"}const Rh=(e,t)=>e.depth-t.depth;class Lh{constructor(){this.children=[],this.isDirty=!1}add(t){yn(this.children,t),this.isDirty=!0}remove(t){Cn(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(Rh),this.isDirty=!1,this.children.forEach(t)}}function Wh(e,t){const n=st.now(),r=({timestamp:i})=>{const o=i-n;o>=t&&(Je(r),e(o-t))};return K.read(r,!0),()=>Je(r)}function Xh(e){return e instanceof SVGElement&&e.tagName!=="svg"}function Zh(e,t,n){const r=ve(e)?e:Ut(e);return r.start(jr("",r,t,n)),r.animation}const gt={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},ni=["","X","Y","Z"],Hh={visibility:"hidden"},Va=1e3;let kh=0;function ri(e,t,n,r){const{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function Da(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return!1;const{visualElement:t}=e.options;return t?Rs(t)?!0:e.parent&&!e.parent.hasCheckedOptimisedAppear?Da(e.parent):!1:!1}function Fa({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(s={},u=t==null?void 0:t()){this.id=kh++,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&&(gt.totalNodes=gt.resolvedTargetDeltas=gt.recalculatedProjection=0),this.nodes.forEach(Yh),this.nodes.forEach(Kh),this.nodes.forEach($h),this.nodes.forEach(Jh),window.MotionDebug&&window.MotionDebug.record(gt)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=s,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 Lh)}addEventListener(s,u){return this.eventHandlers.has(s)||this.eventHandlers.set(s,new Yr),this.eventHandlers.get(s).add(u)}notifyListeners(s,...u){const a=this.eventHandlers.get(s);a&&a.notify(...u)}hasListeners(s){return this.eventHandlers.has(s)}mount(s,u=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=Xh(s),this.instance=s;const{layoutId:a,layout:l,visualElement:c}=this.options;if(c&&!c.current&&c.mount(s),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(s,()=>{this.root.updateBlockedByResize=!0,d&&d(),d=Wh(f,250),Dn.hasAnimatedSinceResize&&(Dn.hasAnimatedSinceResize=!1,this.nodes.forEach(Ba))})}a&&this.root.registerSharedNode(a,this),this.options.animate!==!1&&c&&(a||l)&&this.addEventListener("didUpdate",({delta:d,hasLayoutChanged:f,hasRelativeTargetChanged:p,layout:b})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const g=this.options.transition||c.getDefaultTransition()||rp,{onLayoutAnimationStart:v,onLayoutAnimationComplete:C}=c.getProps(),y=!this.targetLayout||!Ea(this.targetLayout,b)||p,m=!f&&p;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||m||f&&(y||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(d,m);const I={...Er(g,"layout"),onPlay:v,onComplete:C};(c.shouldReduceMotion||this.options.layoutRoot)&&(I.delay=0,I.type=!1),this.startAnimation(I)}else f||Ba(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=b})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const s=this.getStack();s&&s.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Je(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(qh),this.animationId++)}getTransformTemplate(){const{visualElement:s}=this.options;return s&&s.getProps().transformTemplate}willUpdate(s=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.HandoffCancelAllAnimations&&Da(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(),s&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(Ma);return}this.isUpdating||this.nodes.forEach(_h),this.isUpdating=!1,this.nodes.forEach(Qh),this.nodes.forEach(zh),this.nodes.forEach(jh),this.clearAllSnapshots();const u=st.now();pe.delta=rt(0,1e3/60,u-pe.timestamp),pe.timestamp=u,pe.isProcessing=!0,xr.update.process(pe),xr.preRender.process(pe),xr.render.process(pe),pe.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,ur.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Uh),this.sharedNodes.forEach(ep)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,K.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){K.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 s=this.layout;this.layout=this.measure(!1),this.layoutCorrected=le(),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,s?s.layoutBox:void 0)}updateScroll(s="measure"){let u=!!(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===s&&(u=!1),u&&(this.scroll={animationId:this.root.animationId,phase:s,isRoot:r(this.instance),offset:n(this.instance)})}resetTransform(){if(!i)return;const s=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,u=this.projectionDelta&&!Ta(this.projectionDelta),a=this.getTransformTemplate(),l=a?a(this.latestValues,""):void 0,c=l!==this.prevTransformTemplateValue;s&&(u||mt(this.latestValues)||c)&&(i(this.instance,l),this.shouldResetTransform=!1,this.scheduleRender())}measure(s=!0){const u=this.measurePageBox();let a=this.removeElementScroll(u);return s&&(a=this.removeTransform(a)),ip(a),{animationId:this.root.animationId,measuredBox:u,layoutBox:a,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:s}=this.options;if(!s)return le();const u=s.measureViewportBox(),{scroll:a}=this.root;return a&&(ut(u.x,a.offset.x),ut(u.y,a.offset.y)),u}removeElementScroll(s){const u=le();Me(u,s);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){Me(u,s);const{scroll:f}=this.root;f&&(ut(u.x,-f.offset.x),ut(u.y,-f.offset.y))}ut(u.x,c.offset.x),ut(u.y,c.offset.y)}}return u}applyTransform(s,u=!1){const a=le();Me(a,s);for(let l=0;l<this.path.length;l++){const c=this.path[l];!u&&c.options.layoutScroll&&c.scroll&&c!==c.root&&Vt(a,{x:-c.scroll.offset.x,y:-c.scroll.offset.y}),mt(c.latestValues)&&Vt(a,c.latestValues)}return mt(this.latestValues)&&Vt(a,this.latestValues),a}removeTransform(s){const u=le();Me(u,s);for(let a=0;a<this.path.length;a++){const l=this.path[a];if(!l.instance||!mt(l.latestValues))continue;ei(l.latestValues)&&l.updateSnapshot();const c=le(),d=l.measurePageBox();Me(c,d),Aa(u,l.latestValues,l.snapshot?l.snapshot.layoutBox:void 0,c)}return mt(this.latestValues)&&Aa(u,this.latestValues),u}setTargetDelta(s){this.targetDelta=s,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(s){this.options={...this.options,...s,crossfade:s.crossfade!==void 0?s.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!==pe.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(s=!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(!(s||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=pe.timestamp,!this.targetDelta&&!this.relativeTarget){const p=this.getClosestProjectingParent();p&&p.layout&&this.animationProgress!==1?(this.relativeParent=p,this.forceRelativeParentToResolveTarget(),this.relativeTarget=le(),this.relativeTargetOrigin=le(),Qt(this.relativeTargetOrigin,this.layout.layoutBox,p.layout.layoutBox),Me(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=le(),this.targetWithTransforms=le()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),ah(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Me(this.target,this.layout.layoutBox),oa(this.target,this.targetDelta)):Me(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const p=this.getClosestProjectingParent();p&&!!p.resumingFrom==!!this.resumingFrom&&!p.options.layoutScroll&&p.target&&this.animationProgress!==1?(this.relativeParent=p,this.forceRelativeParentToResolveTarget(),this.relativeTarget=le(),this.relativeTargetOrigin=le(),Qt(this.relativeTargetOrigin,this.target,p.target),Me(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}window.MotionDebug&>.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||ei(this.parent.latestValues)||na(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 s;const u=this.getLead(),a=!!this.resumingFrom||this!==u;let l=!0;if((this.isProjectionDirty||!((s=this.parent)===null||s===void 0)&&s.isProjectionDirty)&&(l=!1),a&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(l=!1),this.resolvedRelativeTargetAt===pe.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;Me(this.layoutCorrected,this.layout.layoutBox);const f=this.treeScale.x,p=this.treeScale.y;gh(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=le());const{target:b}=u;if(!b){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Ca(this.prevProjectionDelta.x,this.projectionDelta.x),Ca(this.prevProjectionDelta.y,this.projectionDelta.y)),_t(this.projectionDelta,this.layoutCorrected,b,this.latestValues),(this.treeScale.x!==f||this.treeScale.y!==p||!wa(this.projectionDelta.x,this.prevProjectionDelta.x)||!wa(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",b)),window.MotionDebug&>.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(s=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),s){const u=this.getStack();u&&u.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=wt(),this.projectionDelta=wt(),this.projectionDeltaWithTransform=wt()}setAnimationOrigin(s,u=!1){const a=this.snapshot,l=a?a.latestValues:{},c={...this.latestValues},d=wt();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!u;const f=le(),p=a?a.source:void 0,b=this.layout?this.layout.source:void 0,g=p!==b,v=this.getStack(),C=!v||v.members.length<=1,y=!!(g&&!C&&this.options.crossfade===!0&&!this.path.some(np));this.animationProgress=0;let m;this.mixTargetDelta=I=>{const h=I/1e3;Ga(d.x,s.x,h),Ga(d.y,s.y,h),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Qt(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox),tp(this.relativeTarget,this.relativeTargetOrigin,f,h),m&&Gh(this.relativeTarget,m)&&(this.isProjectionDirty=!1),m||(m=le()),Me(m,this.relativeTarget)),g&&(this.animationValues=c,wh(c,l,this.latestValues,h,y,C)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=h},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(s){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Je(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=K.update(()=>{Dn.hasAnimatedSinceResize=!0,this.currentAnimation=Zh(0,Va,{...s,onUpdate:u=>{this.mixTargetDelta(u),s.onUpdate&&s.onUpdate(u)},onComplete:()=>{s.onComplete&&s.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 s=this.getStack();s&&s.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Va),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const s=this.getLead();let{targetWithTransforms:u,target:a,layout:l,latestValues:c}=s;if(!(!u||!a||!l)){if(this!==s&&this.layout&&l&&Wa(this.options.animationType,this.layout.layoutBox,l.layoutBox)){a=this.target||le();const d=Pe(this.layout.layoutBox.x);a.x.min=s.target.x.min,a.x.max=a.x.min+d;const f=Pe(this.layout.layoutBox.y);a.y.min=s.target.y.min,a.y.max=a.y.min+f}Me(u,a),Vt(u,c),_t(this.projectionDeltaWithTransform,this.layoutCorrected,u,c)}}registerSharedNode(s,u){this.sharedNodes.has(s)||this.sharedNodes.set(s,new Oh),this.sharedNodes.get(s).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 s=this.getStack();return s?s.lead===this:!0}getLead(){var s;const{layoutId:u}=this.options;return u?((s=this.getStack())===null||s===void 0?void 0:s.lead)||this:this}getPrevLead(){var s;const{layoutId:u}=this.options;return u?(s=this.getStack())===null||s===void 0?void 0:s.prevLead:void 0}getStack(){const{layoutId:s}=this.options;if(s)return this.root.sharedNodes.get(s)}promote({needsReset:s,transition:u,preserveFollowOpacity:a}={}){const l=this.getStack();l&&l.promote(this,a),s&&(this.projectionDelta=void 0,this.needsReset=!0),u&&this.setOptions({transition:u})}relegate(){const s=this.getStack();return s?s.relegate(this):!1}resetSkewAndRotation(){const{visualElement:s}=this.options;if(!s)return;let u=!1;const{latestValues:a}=s;if((a.z||a.rotate||a.rotateX||a.rotateY||a.rotateZ||a.skewX||a.skewY)&&(u=!0),!u)return;const l={};a.z&&ri("z",s,l,this.animationValues);for(let c=0;c<ni.length;c++)ri(`rotate${ni[c]}`,s,l,this.animationValues),ri(`skew${ni[c]}`,s,l,this.animationValues);s.render();for(const c in l)s.setStaticValue(c,l[c]),this.animationValues&&(this.animationValues[c]=l[c]);s.scheduleRender()}getProjectionStyles(s){var u,a;if(!this.instance||this.isSVG)return;if(!this.isVisible)return Hh;const l={visibility:""},c=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,l.opacity="",l.pointerEvents=vn(s==null?void 0:s.pointerEvents)||"",l.transform=c?c(this.latestValues,""):"none",l;const d=this.getLead();if(!this.projectionDelta||!this.layout||!d.target){const g={};return this.options.layoutId&&(g.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,g.pointerEvents=vn(s==null?void 0:s.pointerEvents)||""),this.hasProjected&&!mt(this.latestValues)&&(g.transform=c?c({},""):"none",this.hasProjected=!1),g}const f=d.animationValues||d.latestValues;this.applyTransformsToTarget(),l.transform=Nh(this.projectionDeltaWithTransform,this.treeScale,f),c&&(l.transform=c(f,l.transform));const{x:p,y:b}=this.projectionDelta;l.transformOrigin=`${p.origin*100}% ${b.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 g in mn){if(f[g]===void 0)continue;const{correct:v,applyTo:C}=mn[g],y=l.transform==="none"?f[g]:v(f[g],d);if(C){const m=C.length;for(let I=0;I<m;I++)l[C[I]]=y}else l[g]=y}return this.options.layoutId&&(l.pointerEvents=d===this?vn(s==null?void 0:s.pointerEvents)||"":"none"),l}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(s=>{var u;return(u=s.currentAnimation)===null||u===void 0?void 0:u.stop()}),this.root.nodes.forEach(Ma),this.root.sharedNodes.clear()}}}function zh(e){e.updateLayout()}function jh(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:r,measuredBox:i}=e.layout,{animationType:o}=e.options,s=n.source!==e.layout.source;o==="size"?Fe(d=>{const f=s?n.measuredBox[d]:n.layoutBox[d],p=Pe(f);f.min=r[d].min,f.max=f.min+p}):Wa(o,n.layoutBox,r)&&Fe(d=>{const f=s?n.measuredBox[d]:n.layoutBox[d],p=Pe(r[d]);f.max=f.min+p,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[d].max=e.relativeTarget[d].min+p)});const u=wt();_t(u,r,n.layoutBox);const a=wt();s?_t(a,e.applyTransform(i,!0),n.measuredBox):_t(a,r,n.layoutBox);const l=!Ta(u);let c=!1;if(!e.resumeFrom){const d=e.getClosestProjectingParent();if(d&&!d.resumeFrom){const{snapshot:f,layout:p}=d;if(f&&p){const b=le();Qt(b,n.layoutBox,f.layoutBox);const g=le();Qt(g,r,p.layoutBox),Ea(b,g)||(c=!0),d.options.layoutRoot&&(e.relativeTarget=g,e.relativeTargetOrigin=b,e.relativeParent=d)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:n,delta:a,layoutDelta:u,hasLayoutChanged:l,hasRelativeTargetChanged:c})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function Yh(e){window.MotionDebug&>.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 Jh(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Uh(e){e.clearSnapshot()}function Ma(e){e.clearMeasurements()}function _h(e){e.isLayoutDirty=!1}function Qh(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Ba(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Kh(e){e.resolveTargetDelta()}function $h(e){e.calcProjection()}function qh(e){e.resetSkewAndRotation()}function ep(e){e.removeLeadSnapshot()}function Ga(e,t,n){e.translate=se(t.translate,0,n),e.scale=se(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Oa(e,t,n,r){e.min=se(t.min,n.min,r),e.max=se(t.max,n.max,r)}function tp(e,t,n,r){Oa(e.x,t.x,n.x,r),Oa(e.y,t.y,n.y,r)}function np(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const rp={duration:.45,ease:[.4,0,.1,1]},Na=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),Ra=Na("applewebkit/")&&!Na("chrome/")?Math.round:he;function La(e){e.min=Ra(e.min),e.max=Ra(e.max)}function ip(e){La(e.x),La(e.y)}function Wa(e,t,n){return e==="position"||e==="preserve-aspect"&&!sh(Pa(t),Pa(n),.2)}const op=Fa({attachResizeListener:(e,t)=>Ue(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),ii={current:void 0},Xa=Fa({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!ii.current){const e=new op({});e.mount(window),e.setOptions({layoutScroll:!0}),ii.current=e}return ii.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),sp={pan:{Feature:xh},drag:{Feature:Ih,ProjectionNode:Xa,MeasureLayout:ha}},oi={current:null},Za={current:!1};function ap(){if(Za.current=!0,!!sr)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>oi.current=e.matches;e.addListener(t),t()}else oi.current=!1}function up(e,t,n){for(const r in t){const i=t[r],o=n[r];if(ve(i))e.addValue(r,i),process.env.NODE_ENV==="development"&&Jr(i.version==="11.3.8",`Attempting to mix Framer Motion versions ${i.version} with 11.3.8 may not work as expected.`);else if(ve(o))e.addValue(r,Ut(i,{owner:e}));else if(o!==i)if(e.hasValue(r)){const s=e.getValue(r);s.liveStyle===!0?s.jump(i):s.hasAnimated||s.set(i)}else{const s=e.getStaticValue(r);e.addValue(r,Ut(s!==void 0?s:i,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const Ha=new WeakMap,lp=[...Qo,ye,at],cp=e=>lp.find(_o(e)),ka=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],dp=cr.length;class fp{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:i,blockInitialAnimation:o,visualState:s},u={}){this.applyWillChange=!1,this.resolveKeyframes=(f,p,b,g)=>new this.KeyframeResolver(f,p,b,g,this),this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Vr,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,K.render(this.render,!1,!0))};const{latestValues:a,renderState:l}=s;this.latestValues=a,this.baseTarget={...a},this.initialValues=n.initial?{...a}:{},this.renderState=l,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.options=u,this.blockInitialAnimation=!!o,this.isControllingVariants=pn(n),this.isVariantNode=co(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 p=d[f];a[f]!==void 0&&ve(p)&&p.set(a[f],!1)}}mount(t){this.current=t,Ha.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,r)=>this.bindToMotionValue(r,n)),Za.current||ap(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:oi.current,process.env.NODE_ENV!=="production"&&Jr(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(){Ha.delete(this.current),this.projection&&this.projection.unmount(),Je(this.notifyUpdate),Je(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 r=nt.has(t),i=n.on("change",s=>{this.latestValues[t]=s,this.props.onUpdate&&K.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),o=n.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{i(),o(),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 At){const n=At[t];if(!n)continue;const{isEnabled:r,Feature:i}=n;if(!this.features[t]&&i&&r(this.props)&&(this.features[t]=new i(this)),this.features[t]){const o=this.features[t];o.isMounted?o.update():(o.mount(),o.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):le()}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 r=0;r<ka.length;r++){const i=ka[r];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);const o="on"+i,s=t[o];s&&(this.propEventSubscriptions[i]=this.on(i,s))}this.prevMotionValues=up(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 r=this.parent?this.parent.getVariantContext()||{}:{};return this.props.initial!==void 0&&(r.initial=this.props.initial),r}const n={};for(let r=0;r<dp;r++){const i=cr[r],o=this.props[i];(Rt(o)||o===!1)&&(n[i]=o)}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 r=this.values.get(t);n!==r&&(r&&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 r=this.values.get(t);return r===void 0&&n!==void 0&&(r=Ut(n===null?void 0:n,{owner:this}),this.addValue(t,r)),r}readValue(t,n){var r;let i=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(r=this.getBaseTargetFromProps(this.props,t))!==null&&r!==void 0?r:this.readValueFromInstance(this.current,t,this.options);return i!=null&&(typeof i=="string"&&(zo(i)||ko(i))?i=parseFloat(i):!cp(i)&&at.test(n)&&(i=ss(t,n)),this.setBaseTarget(t,ve(i)?i.get():i)),ve(i)?i.get():i}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var n;const{initial:r}=this.props;let i;if(typeof r=="string"||typeof r=="object"){const s=Cr(this.props,r,(n=this.presenceContext)===null||n===void 0?void 0:n.custom);s&&(i=s[t])}if(r&&i!==void 0)return i;const o=this.getBaseTargetFromProps(this.props,t);return o!==void 0&&!ve(o)?o:this.initialValues[t]!==void 0&&i===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new Yr),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class za extends fp{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:r}){delete n[t],delete r[t]}}function hp(e){return window.getComputedStyle(e)}class pp extends za{constructor(){super(...arguments),this.type="html",this.applyWillChange=!0,this.renderInstance=So}readValueFromInstance(t,n){if(nt.has(n)){const r=Gr(n);return r&&r.default||0}else{const r=hp(t),i=(go(n)?r.getPropertyValue(n):r[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return la(t,n)}build(t,n,r){mr(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return yr(t,n,r)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;ve(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}class mp extends za{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=le}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(nt.has(n)){const r=Gr(n);return r&&r.default||0}return n=To.has(n)?n:fn(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return Po(t,n,r)}build(t,n,r){br(t,n,this.isSVGTag,r.transformTemplate)}renderInstance(t,n,r,i){Eo(t,n,r,i)}mount(t){this.isSVGTag=vr(t.tagName),super.mount(t)}}const gp=(e,t)=>fr(e)?new mp(t):new pp(t,{allowProjection:e!==x.Fragment}),bp={...$f,...ld,...sp,...{layout:{ProjectionNode:Xa,MeasureLayout:ha}}},$t=bc((e,t)=>Qc(e,t,bp,gp));function ja(){const e=x.useRef(!1);return ar(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function vp(){const e=ja(),[t,n]=x.useState(0),r=x.useCallback(()=>{e.current&&n(t+1)},[t]);return[x.useCallback(()=>K.postRender(r),[r]),t]}class yp extends Z.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent){const r=this.props.sizeRef.current;r.height=n.offsetHeight||0,r.width=n.offsetWidth||0,r.top=n.offsetTop,r.left=n.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function Cp({children:e,isPresent:t}){const n=x.useId(),r=x.useRef(null),i=x.useRef({width:0,height:0,top:0,left:0}),{nonce:o}=x.useContext(or);return x.useInsertionEffect(()=>{const{width:s,height:u,top:a,left:l}=i.current;if(t||!r.current||!s||!u)return;r.current.dataset.motionPopId=n;const c=document.createElement("style");return o&&(c.nonce=o),document.head.appendChild(c),c.sheet&&c.sheet.insertRule(`
|
|
6
6
|
[data-motion-pop-id="${n}"] {
|
|
7
7
|
position: absolute !important;
|
|
8
8
|
width: ${s}px !important;
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
top: ${a}px !important;
|
|
11
11
|
left: ${l}px !important;
|
|
12
12
|
}
|
|
13
|
-
`),()=>{document.head.removeChild(c)}},[t]),w.jsx(yp,{isPresent:t,childRef:r,sizeRef:i,children:Z.cloneElement(e,{ref:r})})}const si=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:o,mode:s})=>{const u=Vo(Ip),a=x.useId(),l=x.useMemo(()=>({id:a,initial:t,isPresent:n,custom:i,onExitComplete:c=>{u.set(c,!0);for(const d of u.values())if(!d)return;r&&r()},register:c=>(u.set(c,!1),()=>u.delete(c))}),o?[Math.random()]:[n]);return x.useMemo(()=>{u.forEach((c,d)=>u.set(d,!1))},[n]),Z.useEffect(()=>{!n&&!u.size&&r&&r()},[n]),s==="popLayout"&&(e=w.jsx(Cp,{isPresent:n,children:e})),w.jsx(dn.Provider,{value:l,children:e})};function Ip(){return new Map}function xp(e){return x.useEffect(()=>()=>e(),[])}const bt=e=>e.key||"";function Ap(e,t){e.forEach(n=>{const r=bt(n);t.set(r,n)})}function Sp(e){const t=[];return x.Children.forEach(e,n=>{x.isValidElement(n)&&t.push(n)}),t}const ai=({children:e,custom:t,initial:n=!0,onExitComplete:r,exitBeforeEnter:i,presenceAffectsLayout:o=!0,mode:s="sync"})=>{Ye(!i,"Replace exitBeforeEnter with mode='wait'");const u=x.useContext(dr).forceRender||vp()[0],a=ja(),l=Sp(e);let c=l;const d=x.useRef(new Map).current,f=x.useRef(c),p=x.useRef(new Map).current,b=x.useRef(!0);if(ar(()=>{b.current=!1,Ap(l,p),f.current=c}),xp(()=>{b.current=!0,p.clear(),d.clear()}),b.current)return w.jsx(w.Fragment,{children:c.map(y=>w.jsx(si,{isPresent:!0,initial:n?void 0:!1,presenceAffectsLayout:o,mode:s,children:y},bt(y)))});c=[...c];const g=f.current.map(bt),v=l.map(bt),C=g.length;for(let y=0;y<C;y++){const m=g[y];v.indexOf(m)===-1&&!d.has(m)&&d.set(m,void 0)}return s==="wait"&&d.size&&(c=[]),d.forEach((y,m)=>{if(v.indexOf(m)!==-1)return;const I=p.get(m);if(!I)return;const h=g.indexOf(m);let S=y;if(!S){const T=()=>{d.delete(m);const P=Array.from(p.keys()).filter(M=>!v.includes(M));if(P.forEach(M=>p.delete(M)),f.current=l.filter(M=>{const X=bt(M);return X===m||P.includes(X)}),!d.size){if(a.current===!1)return;u(),r&&r()}};S=w.jsx(si,{isPresent:!1,onExitComplete:T,custom:t,presenceAffectsLayout:o,mode:s,children:I},bt(I)),d.set(m,S)}c.splice(h,0,S)}),c=c.map(y=>{const m=y.key;return d.has(m)?y:w.jsx(si,{isPresent:!0,presenceAffectsLayout:o,mode:s,children:y},bt(y))}),process.env.NODE_ENV!=="production"&&s==="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.`),w.jsx(w.Fragment,{children:d.size?c:c.map(y=>x.cloneElement(y))})},Tp=e=>{let t=w.jsx(w.Fragment,{});switch(e){case"success":t=w.jsx(Kl,{});break;case"info":t=w.jsx(ql,{});break;case"warning":t=w.jsx(ec,{});break;case"error":t=w.jsx($l,{});break}return{icon:t}},Ep=e=>{const{id:t,type:n,title:r}=e,{icon:i}=Tp(n),o=4e3,s=Ki(),u=x.useCallback(()=>{s.removeToast(t)},[t,s]);return x.useEffect(()=>{const a=setTimeout(()=>{setTimeout(()=>{u()},1e3)},o);return()=>{clearTimeout(a)}},[]),w.jsx($t.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:w.jsxs("div",{className:It(
|
|
13
|
+
`),()=>{document.head.removeChild(c)}},[t]),w.jsx(yp,{isPresent:t,childRef:r,sizeRef:i,children:Z.cloneElement(e,{ref:r})})}const si=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:o,mode:s})=>{const u=Vo(Ip),a=x.useId(),l=x.useMemo(()=>({id:a,initial:t,isPresent:n,custom:i,onExitComplete:c=>{u.set(c,!0);for(const d of u.values())if(!d)return;r&&r()},register:c=>(u.set(c,!1),()=>u.delete(c))}),o?[Math.random()]:[n]);return x.useMemo(()=>{u.forEach((c,d)=>u.set(d,!1))},[n]),Z.useEffect(()=>{!n&&!u.size&&r&&r()},[n]),s==="popLayout"&&(e=w.jsx(Cp,{isPresent:n,children:e})),w.jsx(dn.Provider,{value:l,children:e})};function Ip(){return new Map}function xp(e){return x.useEffect(()=>()=>e(),[])}const bt=e=>e.key||"";function Ap(e,t){e.forEach(n=>{const r=bt(n);t.set(r,n)})}function Sp(e){const t=[];return x.Children.forEach(e,n=>{x.isValidElement(n)&&t.push(n)}),t}const ai=({children:e,custom:t,initial:n=!0,onExitComplete:r,exitBeforeEnter:i,presenceAffectsLayout:o=!0,mode:s="sync"})=>{Ye(!i,"Replace exitBeforeEnter with mode='wait'");const u=x.useContext(dr).forceRender||vp()[0],a=ja(),l=Sp(e);let c=l;const d=x.useRef(new Map).current,f=x.useRef(c),p=x.useRef(new Map).current,b=x.useRef(!0);if(ar(()=>{b.current=!1,Ap(l,p),f.current=c}),xp(()=>{b.current=!0,p.clear(),d.clear()}),b.current)return w.jsx(w.Fragment,{children:c.map(y=>w.jsx(si,{isPresent:!0,initial:n?void 0:!1,presenceAffectsLayout:o,mode:s,children:y},bt(y)))});c=[...c];const g=f.current.map(bt),v=l.map(bt),C=g.length;for(let y=0;y<C;y++){const m=g[y];v.indexOf(m)===-1&&!d.has(m)&&d.set(m,void 0)}return s==="wait"&&d.size&&(c=[]),d.forEach((y,m)=>{if(v.indexOf(m)!==-1)return;const I=p.get(m);if(!I)return;const h=g.indexOf(m);let S=y;if(!S){const T=()=>{d.delete(m);const P=Array.from(p.keys()).filter(M=>!v.includes(M));if(P.forEach(M=>p.delete(M)),f.current=l.filter(M=>{const X=bt(M);return X===m||P.includes(X)}),!d.size){if(a.current===!1)return;u(),r&&r()}};S=w.jsx(si,{isPresent:!1,onExitComplete:T,custom:t,presenceAffectsLayout:o,mode:s,children:I},bt(I)),d.set(m,S)}c.splice(h,0,S)}),c=c.map(y=>{const m=y.key;return d.has(m)?y:w.jsx(si,{isPresent:!0,presenceAffectsLayout:o,mode:s,children:y},bt(y))}),process.env.NODE_ENV!=="production"&&s==="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.`),w.jsx(w.Fragment,{children:d.size?c:c.map(y=>x.cloneElement(y))})},Tp=e=>{let t=w.jsx(w.Fragment,{});switch(e){case"success":t=w.jsx(Kl,{});break;case"info":t=w.jsx(ql,{});break;case"warning":t=w.jsx(ec,{});break;case"error":t=w.jsx($l,{});break}return{icon:t}},Ep=e=>{const{id:t,type:n,title:r}=e,{icon:i}=Tp(n),o=4e3,s=Ki(),u=x.useCallback(()=>{s.removeToast(t)},[t,s]);return x.useEffect(()=>{const a=setTimeout(()=>{setTimeout(()=>{u()},1e3)},o);return()=>{clearTimeout(a)}},[]),w.jsx($t.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:w.jsxs("div",{className:It(We.toast,We[n]),children:[w.jsx("div",{className:We["toast-icon"],children:i}),w.jsx("div",{className:We["toast-content"],children:w.jsx("p",{className:We["toast-title"],children:r})}),w.jsx("div",{className:We["toast-close"],children:w.jsx("button",{type:"button",className:We["toast-close-btn"],onClick:u,children:w.jsx("span",{className:We["toast-close-btn-icon"],children:w.jsx(tc,{})})})})]})},t)};function Pp(e){const{children:t}=e,[n,r]=x.useState(!1);x.useEffect(()=>{r(!0)},[]);const i=document.getElementById("biznext-ui-toast-portal");return n&&i?Le.createPortal(t,i):Le.createPortal(t,document.body)}const wp=e=>{const{toasts:t,toastPosition:n="top-center"}=e;return w.jsx(Pp,{children:w.jsx("div",{className:It(We["toasts-container"],We[n]),children:w.jsx(ai,{children:t.map(r=>w.jsx(Ep,{id:r.id,type:r.type,title:r.title},r.id))})})})};for(var me=[],ui=0;ui<256;++ui)me.push((ui+256).toString(16).slice(1));function Vp(e,t=0){return(me[e[t+0]]+me[e[t+1]]+me[e[t+2]]+me[e[t+3]]+"-"+me[e[t+4]]+me[e[t+5]]+"-"+me[e[t+6]]+me[e[t+7]]+"-"+me[e[t+8]]+me[e[t+9]]+"-"+me[e[t+10]]+me[e[t+11]]+me[e[t+12]]+me[e[t+13]]+me[e[t+14]]+me[e[t+15]]).toLowerCase()}var Fn,Dp=new Uint8Array(16);function Fp(){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(Dp)}var Mp=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);const Ya={randomUUID:Mp};function Bp(e,t,n){if(Ya.randomUUID&&!t&&!e)return Ya.randomUUID();e=e||{};var r=e.random||(e.rng||Fp)();return r[6]=r[6]&15|64,r[8]=r[8]&63|128,Vp(r)}function Gp(){return Le.createPortal(w.jsxs("div",{id:"biznext-ui-portal",children:[w.jsx("div",{id:"biznext-ui-modal-portal"}),w.jsx("div",{id:"biznext-ui-toast-portal"}),w.jsx("div",{id:"biznext-ui-confirm-dialog-portal"})]}),document.body)}function Op(e){return dt({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 Ge={"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 Np(e){const{children:t}=e,[n,r]=x.useState(!1);x.useEffect(()=>{r(!0)},[]);const i=document.getElementById("biznext-ui-confirm-dialog-portal");return n&&i?Le.createPortal(t,i):Le.createPortal(t,document.body)}const Rp=e=>{const{isOpen:t,onClose:n,config:r}=e,{type:i,title:o,description:s,icon:u,onConfirm:a,buttonContent:l}=r,c=()=>{n()},d=()=>{a(),n()};return w.jsx(Np,{children:w.jsx("div",{className:Ge["confirm-dialog-wrapper"],children:w.jsx(ai,{children:t&&w.jsx($t.div,{className:Ge["confirm-dialog-overlay"],initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},children:w.jsx($t.div,{className:It(Ge["confirm-dialog"],Ge[i]),initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.95},children:w.jsxs("div",{className:Ge["confirm-dialog-content"],children:[w.jsxs("div",{className:Ge["confirm-dialog-body"],children:[w.jsx("div",{className:Ge["confirm-dialog-icon-container"],children:w.jsx("div",{className:Ge["confirm-dialog-icon"],children:u||w.jsx(Op,{})})}),w.jsxs("div",{children:[w.jsx("h2",{children:o}),w.jsx("p",{children:s})]})]}),w.jsxs("div",{className:Ge["confirm-dialog-footer"],children:[w.jsx("button",{type:"button",className:Ge["confirm-dialog-footer-close-btn"],onClick:c,children:l&&l.onCloseTitle?l.onCloseTitle:"Cancel"}),w.jsx("button",{type:"button",className:Ge["confirm-dialog-footer-confirm-btn"],onClick:d,children:l&&l.onConfirmTitle?l.onConfirmTitle:"Confirm"})]})]})})})})})})},Ja=x.createContext({}),Lp=({children:e,toastPosition:t})=>{const n={toasts:[]},[r,i]=x.useReducer(Zl,n),o=(m,I,h)=>{const S=Bp();i({type:"ADD_TOAST",payload:{id:S,title:I,type:m,config:h}})},d={success:(m,I)=>{o("success",m,I)},warning:(m,I)=>{o("warning",m,I)},info:(m,I)=>{o("info",m,I)},error:(m,I)=>{o("error",m,I)},removeToast:m=>{i({type:"DELETE_TOAST",payload:{id:m,title:"",type:""}})}},[f,p]=x.useState({}),[b,g]=x.useState(!1),v=m=>{p(m),g(!0)},C=()=>{g(!1)},y=v;return w.jsx(Qi.Provider,{value:d,children:w.jsxs(Ja.Provider,{value:y,children:[w.jsx(Gp,{}),w.jsx(wp,{toasts:r.toasts,toastPosition:t}),w.jsx(Rp,{isOpen:b,onClose:C,config:f}),e]})})},Oe={"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 Wp(e){return dt({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)}var Mn={exports:{}},Ua={},li={exports:{}},Bn={exports:{}},$={};/** @license React v16.13.1
|
|
14
14
|
* react-is.production.min.js
|
|
15
15
|
*
|
|
16
16
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
@@ -29,9 +29,9 @@ object-assign
|
|
|
29
29
|
(c) Sindre Sorhus
|
|
30
30
|
@license MIT
|
|
31
31
|
*/var ci,qa;function Hp(){if(qa)return ci;qa=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function r(o){if(o==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(o)}function i(){try{if(!Object.assign)return!1;var o=new String("abc");if(o[5]="de",Object.getOwnPropertyNames(o)[0]==="5")return!1;for(var s={},u=0;u<10;u++)s["_"+String.fromCharCode(u)]=u;var a=Object.getOwnPropertyNames(s).map(function(c){return s[c]});if(a.join("")!=="0123456789")return!1;var l={};return"abcdefghijklmnopqrst".split("").forEach(function(c){l[c]=c}),Object.keys(Object.assign({},l)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return ci=i()?Object.assign:function(o,s){for(var u,a=r(o),l,c=1;c<arguments.length;c++){u=Object(arguments[c]);for(var d in u)t.call(u,d)&&(a[d]=u[d]);if(e){l=e(u);for(var f=0;f<l.length;f++)n.call(u,l[f])&&(a[l[f]]=u[l[f]])}}return a},ci}var di,eu;function fi(){if(eu)return di;eu=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return di=e,di}var hi,tu;function nu(){return tu||(tu=1,hi=Function.call.bind(Object.prototype.hasOwnProperty)),hi}var pi,ru;function kp(){if(ru)return pi;ru=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=fi(),n={},r=nu();e=function(o){var s="Warning: "+o;typeof console<"u"&&console.error(s);try{throw new Error(s)}catch{}}}function i(o,s,u,a,l){if(process.env.NODE_ENV!=="production"){for(var c in o)if(r(o,c)){var d;try{if(typeof o[c]!="function"){var f=Error((a||"React class")+": "+u+" type `"+c+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof o[c]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw f.name="Invariant Violation",f}d=o[c](s,c,a,u,null,t)}catch(b){d=b}if(d&&!(d instanceof Error)&&e((a||"React class")+": type specification of "+u+" `"+c+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof d+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),d instanceof Error&&!(d.message in n)){n[d.message]=!0;var p=l?l():"";e("Failed "+u+" type: "+d.message+(p??""))}}}}return i.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(n={})},pi=i,pi}var mi,iu;function zp(){if(iu)return mi;iu=1;var e=$a(),t=Hp(),n=fi(),r=nu(),i=kp(),o=function(){};process.env.NODE_ENV!=="production"&&(o=function(u){var a="Warning: "+u;typeof console<"u"&&console.error(a);try{throw new Error(a)}catch{}});function s(){return null}return mi=function(u,a){var l=typeof Symbol=="function"&&Symbol.iterator,c="@@iterator";function d(E){var V=E&&(l&&E[l]||E[c]);if(typeof V=="function")return V}var f="<<anonymous>>",p={array:C("array"),bigint:C("bigint"),bool:C("boolean"),func:C("function"),number:C("number"),object:C("object"),string:C("string"),symbol:C("symbol"),any:y(),arrayOf:m,element:I(),elementType:h(),instanceOf:S,node:X(),objectOf:P,oneOf:T,oneOfType:M,shape:ne,exact:de};function b(E,V){return E===V?E!==0||1/E===1/V:E!==E&&V!==V}function g(E,V){this.message=E,this.data=V&&typeof V=="object"?V:{},this.stack=""}g.prototype=Error.prototype;function v(E){if(process.env.NODE_ENV!=="production")var V={},D=0;function G(j,N,W,H,Y,J,fe){if(H=H||f,J=J||W,fe!==n){if(a){var A=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw A.name="Invariant Violation",A}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var xe=H+":"+W;!V[xe]&&D<3&&(o("You are manually calling a React.PropTypes validation function for the `"+J+"` prop on `"+H+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),V[xe]=!0,D++)}}return N[W]==null?j?N[W]===null?new g("The "+Y+" `"+J+"` is marked as required "+("in `"+H+"`, but its value is `null`.")):new g("The "+Y+" `"+J+"` is marked as required in "+("`"+H+"`, but its value is `undefined`.")):null:E(N,W,H,Y,J)}var O=G.bind(null,!1);return O.isRequired=G.bind(null,!0),O}function C(E){function V(D,G,O,j,N,W){var H=D[G],Y=z(H);if(Y!==E){var J=re(H);return new g("Invalid "+j+" `"+N+"` of type "+("`"+J+"` supplied to `"+O+"`, expected ")+("`"+E+"`."),{expectedType:E})}return null}return v(V)}function y(){return v(s)}function m(E){function V(D,G,O,j,N){if(typeof E!="function")return new g("Property `"+N+"` of component `"+O+"` has invalid PropType notation inside arrayOf.");var W=D[G];if(!Array.isArray(W)){var H=z(W);return new g("Invalid "+j+" `"+N+"` of type "+("`"+H+"` supplied to `"+O+"`, expected an array."))}for(var Y=0;Y<W.length;Y++){var J=E(W,Y,O,j,N+"["+Y+"]",n);if(J instanceof Error)return J}return null}return v(V)}function I(){function E(V,D,G,O,j){var N=V[D];if(!u(N)){var W=z(N);return new g("Invalid "+O+" `"+j+"` of type "+("`"+W+"` supplied to `"+G+"`, expected a single ReactElement."))}return null}return v(E)}function h(){function E(V,D,G,O,j){var N=V[D];if(!e.isValidElementType(N)){var W=z(N);return new g("Invalid "+O+" `"+j+"` of type "+("`"+W+"` supplied to `"+G+"`, expected a single ReactElement type."))}return null}return v(E)}function S(E){function V(D,G,O,j,N){if(!(D[G]instanceof E)){var W=E.name||f,H=be(D[G]);return new g("Invalid "+j+" `"+N+"` of type "+("`"+H+"` supplied to `"+O+"`, expected ")+("instance of `"+W+"`."))}return null}return v(V)}function T(E){if(!Array.isArray(E))return process.env.NODE_ENV!=="production"&&(arguments.length>1?o("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):o("Invalid argument supplied to oneOf, expected an array.")),s;function V(D,G,O,j,N){for(var W=D[G],H=0;H<E.length;H++)if(b(W,E[H]))return null;var Y=JSON.stringify(E,function(fe,A){var xe=re(A);return xe==="symbol"?String(A):A});return new g("Invalid "+j+" `"+N+"` of value `"+String(W)+"` "+("supplied to `"+O+"`, expected one of "+Y+"."))}return v(V)}function P(E){function V(D,G,O,j,N){if(typeof E!="function")return new g("Property `"+N+"` of component `"+O+"` has invalid PropType notation inside objectOf.");var W=D[G],H=z(W);if(H!=="object")return new g("Invalid "+j+" `"+N+"` of type "+("`"+H+"` supplied to `"+O+"`, expected an object."));for(var Y in W)if(r(W,Y)){var J=E(W,Y,O,j,N+"."+Y,n);if(J instanceof Error)return J}return null}return v(V)}function M(E){if(!Array.isArray(E))return process.env.NODE_ENV!=="production"&&o("Invalid argument supplied to oneOfType, expected an instance of array."),s;for(var V=0;V<E.length;V++){var D=E[V];if(typeof D!="function")return o("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+ie(D)+" at index "+V+"."),s}function G(O,j,N,W,H){for(var Y=[],J=0;J<E.length;J++){var fe=E[J],A=fe(O,j,N,W,H,n);if(A==null)return null;A.data&&r(A.data,"expectedType")&&Y.push(A.data.expectedType)}var xe=Y.length>0?", expected one of type ["+Y.join(", ")+"]":"";return new g("Invalid "+W+" `"+H+"` supplied to "+("`"+N+"`"+xe+"."))}return v(G)}function X(){function E(V,D,G,O,j){return oe(V[D])?null:new g("Invalid "+O+" `"+j+"` supplied to "+("`"+G+"`, expected a ReactNode."))}return v(E)}function U(E,V,D,G,O){return new g((E||"React class")+": "+V+" type `"+D+"."+G+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+O+"`.")}function ne(E){function V(D,G,O,j,N){var W=D[G],H=z(W);if(H!=="object")return new g("Invalid "+j+" `"+N+"` of type `"+H+"` "+("supplied to `"+O+"`, expected `object`."));for(var Y in E){var J=E[Y];if(typeof J!="function")return U(O,j,N,Y,re(J));var fe=J(W,Y,O,j,N+"."+Y,n);if(fe)return fe}return null}return v(V)}function de(E){function V(D,G,O,j,N){var W=D[G],H=z(W);if(H!=="object")return new g("Invalid "+j+" `"+N+"` of type `"+H+"` "+("supplied to `"+O+"`, expected `object`."));var Y=t({},D[G],E);for(var J in Y){var fe=E[J];if(r(E,J)&&typeof fe!="function")return U(O,j,N,J,re(fe));if(!fe)return new g("Invalid "+j+" `"+N+"` key `"+J+"` supplied to `"+O+"`.\nBad object: "+JSON.stringify(D[G],null," ")+`
|
|
32
|
-
Valid keys: `+JSON.stringify(Object.keys(E),null," "));var A=fe(W,J,O,j,N+"."+J,n);if(A)return A}return null}return v(V)}function oe(E){switch(typeof E){case"number":case"string":case"undefined":return!0;case"boolean":return!E;case"object":if(Array.isArray(E))return E.every(oe);if(E===null||u(E))return!0;var V=d(E);if(V){var D=V.call(E),G;if(V!==E.entries){for(;!(G=D.next()).done;)if(!oe(G.value))return!1}else for(;!(G=D.next()).done;){var O=G.value;if(O&&!oe(O[1]))return!1}}else return!1;return!0;default:return!1}}function k(E,V){return E==="symbol"?!0:V?V["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&V instanceof Symbol:!1}function z(E){var V=typeof E;return Array.isArray(E)?"array":E instanceof RegExp?"object":k(V,E)?"symbol":V}function re(E){if(typeof E>"u"||E===null)return""+E;var V=z(E);if(V==="object"){if(E instanceof Date)return"date";if(E instanceof RegExp)return"regexp"}return V}function ie(E){var V=re(E);switch(V){case"array":case"object":return"an "+V;case"boolean":case"date":case"regexp":return"a "+V;default:return V}}function be(E){return!E.constructor||!E.constructor.name?f:E.constructor.name}return p.checkPropTypes=i,p.resetWarningCache=i.resetWarningCache,p.PropTypes=p,p},mi}var gi,ou;function jp(){if(ou)return gi;ou=1;var e=fi();function t(){}function n(){}return n.resetWarningCache=t,gi=function(){function r(s,u,a,l,c,d){if(d!==e){var f=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw f.name="Invariant Violation",f}}r.isRequired=r;function i(){return r}var o={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:i,element:r,elementType:r,instanceOf:i,node:r,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:n,resetWarningCache:t};return o.PropTypes=o,o},gi}if(process.env.NODE_ENV!=="production"){var Yp=$a(),Jp=!0;li.exports=zp()(Yp.isElement,Jp)}else li.exports=jp()();var su=li.exports;function au(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=au(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function uu(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=au(e))&&(r&&(r+=" "),r+=t);return r}const Up=Hl(Object.freeze(Object.defineProperty({__proto__:null,clsx:uu,default:uu},Symbol.toStringTag,{value:"Module"})));var ae={},
|
|
32
|
+
Valid keys: `+JSON.stringify(Object.keys(E),null," "));var A=fe(W,J,O,j,N+"."+J,n);if(A)return A}return null}return v(V)}function oe(E){switch(typeof E){case"number":case"string":case"undefined":return!0;case"boolean":return!E;case"object":if(Array.isArray(E))return E.every(oe);if(E===null||u(E))return!0;var V=d(E);if(V){var D=V.call(E),G;if(V!==E.entries){for(;!(G=D.next()).done;)if(!oe(G.value))return!1}else for(;!(G=D.next()).done;){var O=G.value;if(O&&!oe(O[1]))return!1}}else return!1;return!0;default:return!1}}function k(E,V){return E==="symbol"?!0:V?V["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&V instanceof Symbol:!1}function z(E){var V=typeof E;return Array.isArray(E)?"array":E instanceof RegExp?"object":k(V,E)?"symbol":V}function re(E){if(typeof E>"u"||E===null)return""+E;var V=z(E);if(V==="object"){if(E instanceof Date)return"date";if(E instanceof RegExp)return"regexp"}return V}function ie(E){var V=re(E);switch(V){case"array":case"object":return"an "+V;case"boolean":case"date":case"regexp":return"a "+V;default:return V}}function be(E){return!E.constructor||!E.constructor.name?f:E.constructor.name}return p.checkPropTypes=i,p.resetWarningCache=i.resetWarningCache,p.PropTypes=p,p},mi}var gi,ou;function jp(){if(ou)return gi;ou=1;var e=fi();function t(){}function n(){}return n.resetWarningCache=t,gi=function(){function r(s,u,a,l,c,d){if(d!==e){var f=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw f.name="Invariant Violation",f}}r.isRequired=r;function i(){return r}var o={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:i,element:r,elementType:r,instanceOf:i,node:r,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:n,resetWarningCache:t};return o.PropTypes=o,o},gi}if(process.env.NODE_ENV!=="production"){var Yp=$a(),Jp=!0;li.exports=zp()(Yp.isElement,Jp)}else li.exports=jp()();var su=li.exports;function au(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=au(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function uu(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=au(e))&&(r&&(r+=" "),r+=t);return r}const Up=Hl(Object.freeze(Object.defineProperty({__proto__:null,clsx:uu,default:uu},Symbol.toStringTag,{value:"Module"})));var ae={},Ze={};Object.defineProperty(Ze,"__esModule",{value:!0}),Ze.dontSetMe=qp,Ze.findInArray=_p,Ze.int=$p,Ze.isFunction=Qp,Ze.isNum=Kp;function _p(e,t){for(let n=0,r=e.length;n<r;n++)if(t.apply(t,[e[n],n,e]))return e[n]}function Qp(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Function]"}function Kp(e){return typeof e=="number"&&!isNaN(e)}function $p(e){return parseInt(e,10)}function qp(e,t,n){if(e[t])return new Error("Invalid prop ".concat(t," passed to ").concat(n," - do not set this, set it on the child."))}var vt={};Object.defineProperty(vt,"__esModule",{value:!0}),vt.browserPrefixToKey=cu,vt.browserPrefixToStyle=em,vt.default=void 0,vt.getPrefix=lu;const bi=["Moz","Webkit","O","ms"];function lu(){var e;let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"transform";if(typeof window>"u")return"";const n=(e=window.document)===null||e===void 0||(e=e.documentElement)===null||e===void 0?void 0:e.style;if(!n||t in n)return"";for(let r=0;r<bi.length;r++)if(cu(t,bi[r])in n)return bi[r];return""}function cu(e,t){return t?"".concat(t).concat(tm(e)):e}function em(e,t){return t?"-".concat(t.toLowerCase(),"-").concat(e):e}function tm(e){let t="",n=!0;for(let r=0;r<e.length;r++)n?(t+=e[r].toUpperCase(),n=!1):e[r]==="-"?n=!0:t+=e[r];return t}vt.default=lu(),Object.defineProperty(ae,"__esModule",{value:!0}),ae.addClassName=pu,ae.addEvent=im,ae.addUserSelectStyles=mm,ae.createCSSTransform=dm,ae.createSVGTransform=fm,ae.getTouch=hm,ae.getTouchIdentifier=pm,ae.getTranslation=vi,ae.innerHeight=um,ae.innerWidth=lm,ae.matchesSelector=hu,ae.matchesSelectorAndParentsTo=rm,ae.offsetXYFromParent=cm,ae.outerHeight=sm,ae.outerWidth=am,ae.removeClassName=mu,ae.removeEvent=om,ae.removeUserSelectStyles=gm;var we=Ze,du=nm(vt);function fu(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(fu=function(r){return r?n:t})(e)}function nm(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=fu(t);if(n&&n.has(e))return n.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(o!=="default"&&Object.prototype.hasOwnProperty.call(e,o)){var s=i?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}let Gn="";function hu(e,t){return Gn||(Gn=(0,we.findInArray)(["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"],function(n){return(0,we.isFunction)(e[n])})),(0,we.isFunction)(e[Gn])?e[Gn](t):!1}function rm(e,t,n){let r=e;do{if(hu(r,t))return!0;if(r===n)return!1;r=r.parentNode}while(r);return!1}function im(e,t,n,r){if(!e)return;const i={capture:!0,...r};e.addEventListener?e.addEventListener(t,n,i):e.attachEvent?e.attachEvent("on"+t,n):e["on"+t]=n}function om(e,t,n,r){if(!e)return;const i={capture:!0,...r};e.removeEventListener?e.removeEventListener(t,n,i):e.detachEvent?e.detachEvent("on"+t,n):e["on"+t]=null}function sm(e){let t=e.clientHeight;const n=e.ownerDocument.defaultView.getComputedStyle(e);return t+=(0,we.int)(n.borderTopWidth),t+=(0,we.int)(n.borderBottomWidth),t}function am(e){let t=e.clientWidth;const n=e.ownerDocument.defaultView.getComputedStyle(e);return t+=(0,we.int)(n.borderLeftWidth),t+=(0,we.int)(n.borderRightWidth),t}function um(e){let t=e.clientHeight;const n=e.ownerDocument.defaultView.getComputedStyle(e);return t-=(0,we.int)(n.paddingTop),t-=(0,we.int)(n.paddingBottom),t}function lm(e){let t=e.clientWidth;const n=e.ownerDocument.defaultView.getComputedStyle(e);return t-=(0,we.int)(n.paddingLeft),t-=(0,we.int)(n.paddingRight),t}function cm(e,t,n){const i=t===t.ownerDocument.body?{left:0,top:0}:t.getBoundingClientRect(),o=(e.clientX+t.scrollLeft-i.left)/n,s=(e.clientY+t.scrollTop-i.top)/n;return{x:o,y:s}}function dm(e,t){const n=vi(e,t,"px");return{[(0,du.browserPrefixToKey)("transform",du.default)]:n}}function fm(e,t){return vi(e,t,"")}function vi(e,t,n){let{x:r,y:i}=e,o="translate(".concat(r).concat(n,",").concat(i).concat(n,")");if(t){const s="".concat(typeof t.x=="string"?t.x:t.x+n),u="".concat(typeof t.y=="string"?t.y:t.y+n);o="translate(".concat(s,", ").concat(u,")")+o}return o}function hm(e,t){return e.targetTouches&&(0,we.findInArray)(e.targetTouches,n=>t===n.identifier)||e.changedTouches&&(0,we.findInArray)(e.changedTouches,n=>t===n.identifier)}function pm(e){if(e.targetTouches&&e.targetTouches[0])return e.targetTouches[0].identifier;if(e.changedTouches&&e.changedTouches[0])return e.changedTouches[0].identifier}function mm(e){if(!e)return;let t=e.getElementById("react-draggable-style-el");t||(t=e.createElement("style"),t.type="text/css",t.id="react-draggable-style-el",t.innerHTML=`.react-draggable-transparent-selection *::-moz-selection {all: inherit;}
|
|
33
33
|
`,t.innerHTML+=`.react-draggable-transparent-selection *::selection {all: inherit;}
|
|
34
|
-
`,e.getElementsByTagName("head")[0].appendChild(t)),e.body&&pu(e.body,"react-draggable-transparent-selection")}function gm(e){if(e)try{if(e.body&&mu(e.body,"react-draggable-transparent-selection"),e.selection)e.selection.empty();else{const t=(e.defaultView||window).getSelection();t&&t.type!=="Caret"&&t.removeAllRanges()}}catch{}}function pu(e,t){e.classList?e.classList.add(t):e.className.match(new RegExp("(?:^|\\s)".concat(t,"(?!\\S)")))||(e.className+=" ".concat(t))}function mu(e,t){e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp("(?:^|\\s)".concat(t,"(?!\\S)"),"g"),"")}var Ze={};Object.defineProperty(Ze,"__esModule",{value:!0}),Ze.canDragX=ym,Ze.canDragY=Cm,Ze.createCoreData=xm,Ze.createDraggableData=Am,Ze.getBoundPosition=bm,Ze.getControlPosition=Im,Ze.snapToGrid=vm;var Ve=Xe,Dt=ae;function bm(e,t,n){if(!e.props.bounds)return[t,n];let{bounds:r}=e.props;r=typeof r=="string"?r:Sm(r);const i=yi(e);if(typeof r=="string"){const{ownerDocument:o}=i,s=o.defaultView;let u;if(r==="parent"?u=i.parentNode:u=o.querySelector(r),!(u instanceof s.HTMLElement))throw new Error('Bounds selector "'+r+'" could not find an element.');const a=u,l=s.getComputedStyle(i),c=s.getComputedStyle(a);r={left:-i.offsetLeft+(0,Ve.int)(c.paddingLeft)+(0,Ve.int)(l.marginLeft),top:-i.offsetTop+(0,Ve.int)(c.paddingTop)+(0,Ve.int)(l.marginTop),right:(0,Dt.innerWidth)(a)-(0,Dt.outerWidth)(i)-i.offsetLeft+(0,Ve.int)(c.paddingRight)-(0,Ve.int)(l.marginRight),bottom:(0,Dt.innerHeight)(a)-(0,Dt.outerHeight)(i)-i.offsetTop+(0,Ve.int)(c.paddingBottom)-(0,Ve.int)(l.marginBottom)}}return(0,Ve.isNum)(r.right)&&(t=Math.min(t,r.right)),(0,Ve.isNum)(r.bottom)&&(n=Math.min(n,r.bottom)),(0,Ve.isNum)(r.left)&&(t=Math.max(t,r.left)),(0,Ve.isNum)(r.top)&&(n=Math.max(n,r.top)),[t,n]}function vm(e,t,n){const r=Math.round(t/e[0])*e[0],i=Math.round(n/e[1])*e[1];return[r,i]}function ym(e){return e.props.axis==="both"||e.props.axis==="x"}function Cm(e){return e.props.axis==="both"||e.props.axis==="y"}function Im(e,t,n){const r=typeof t=="number"?(0,Dt.getTouch)(e,t):null;if(typeof t=="number"&&!r)return null;const i=yi(n),o=n.props.offsetParent||i.offsetParent||i.ownerDocument.body;return(0,Dt.offsetXYFromParent)(r||e,o,n.props.scale)}function xm(e,t,n){const r=!(0,Ve.isNum)(e.lastX),i=yi(e);return r?{node:i,deltaX:0,deltaY:0,lastX:t,lastY:n,x:t,y:n}:{node:i,deltaX:t-e.lastX,deltaY:n-e.lastY,lastX:e.lastX,lastY:e.lastY,x:t,y:n}}function Am(e,t){const n=e.props.scale;return{node:t.node,x:e.state.x+t.deltaX/n,y:e.state.y+t.deltaY/n,deltaX:t.deltaX/n,deltaY:t.deltaY/n,lastX:e.state.x,lastY:e.state.y}}function Sm(e){return{left:e.left,top:e.top,right:e.right,bottom:e.bottom}}function yi(e){const t=e.findDOMNode();if(!t)throw new Error("<DraggableCore>: Unmounted during event!");return t}var On={},Nn={};Object.defineProperty(Nn,"__esModule",{value:!0}),Nn.default=Tm;function Tm(){}Object.defineProperty(On,"__esModule",{value:!0}),On.default=void 0;var Ci=Pm(x),Se=xi(su),Em=xi(Re),Ce=ae,lt=Ze,Ii=Xe,qt=xi(Nn);function xi(e){return e&&e.__esModule?e:{default:e}}function gu(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(gu=function(r){return r?n:t})(e)}function Pm(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=gu(t);if(n&&n.has(e))return n.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(o!=="default"&&Object.prototype.hasOwnProperty.call(e,o)){var s=i?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}function Ae(e,t,n){return t=wm(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wm(e){var t=Vm(e,"string");return typeof t=="symbol"?t:String(t)}function Vm(e,t){if(typeof e!="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}const Ne={touch:{start:"touchstart",move:"touchmove",stop:"touchend"},mouse:{start:"mousedown",move:"mousemove",stop:"mouseup"}};let ct=Ne.mouse,Rn=class extends Ci.Component{constructor(){super(...arguments),Ae(this,"dragging",!1),Ae(this,"lastX",NaN),Ae(this,"lastY",NaN),Ae(this,"touchIdentifier",null),Ae(this,"mounted",!1),Ae(this,"handleDragStart",t=>{if(this.props.onMouseDown(t),!this.props.allowAnyClick&&typeof t.button=="number"&&t.button!==0)return!1;const n=this.findDOMNode();if(!n||!n.ownerDocument||!n.ownerDocument.body)throw new Error("<DraggableCore> not mounted on DragStart!");const{ownerDocument:r}=n;if(this.props.disabled||!(t.target instanceof r.defaultView.Node)||this.props.handle&&!(0,Ce.matchesSelectorAndParentsTo)(t.target,this.props.handle,n)||this.props.cancel&&(0,Ce.matchesSelectorAndParentsTo)(t.target,this.props.cancel,n))return;t.type==="touchstart"&&t.preventDefault();const i=(0,Ce.getTouchIdentifier)(t);this.touchIdentifier=i;const o=(0,lt.getControlPosition)(t,i,this);if(o==null)return;const{x:s,y:u}=o,a=(0,lt.createCoreData)(this,s,u);(0,qt.default)("DraggableCore: handleDragStart: %j",a),(0,qt.default)("calling",this.props.onStart),!(this.props.onStart(t,a)===!1||this.mounted===!1)&&(this.props.enableUserSelectHack&&(0,Ce.addUserSelectStyles)(r),this.dragging=!0,this.lastX=s,this.lastY=u,(0,Ce.addEvent)(r,ct.move,this.handleDrag),(0,Ce.addEvent)(r,ct.stop,this.handleDragStop))}),Ae(this,"handleDrag",t=>{const n=(0,lt.getControlPosition)(t,this.touchIdentifier,this);if(n==null)return;let{x:r,y:i}=n;if(Array.isArray(this.props.grid)){let u=r-this.lastX,a=i-this.lastY;if([u,a]=(0,lt.snapToGrid)(this.props.grid,u,a),!u&&!a)return;r=this.lastX+u,i=this.lastY+a}const o=(0,lt.createCoreData)(this,r,i);if((0,qt.default)("DraggableCore: handleDrag: %j",o),this.props.onDrag(t,o)===!1||this.mounted===!1){try{this.handleDragStop(new MouseEvent("mouseup"))}catch{const a=document.createEvent("MouseEvents");a.initMouseEvent("mouseup",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),this.handleDragStop(a)}return}this.lastX=r,this.lastY=i}),Ae(this,"handleDragStop",t=>{if(!this.dragging)return;const n=(0,lt.getControlPosition)(t,this.touchIdentifier,this);if(n==null)return;let{x:r,y:i}=n;if(Array.isArray(this.props.grid)){let a=r-this.lastX||0,l=i-this.lastY||0;[a,l]=(0,lt.snapToGrid)(this.props.grid,a,l),r=this.lastX+a,i=this.lastY+l}const o=(0,lt.createCoreData)(this,r,i);if(this.props.onStop(t,o)===!1||this.mounted===!1)return!1;const u=this.findDOMNode();u&&this.props.enableUserSelectHack&&(0,Ce.removeUserSelectStyles)(u.ownerDocument),(0,qt.default)("DraggableCore: handleDragStop: %j",o),this.dragging=!1,this.lastX=NaN,this.lastY=NaN,u&&((0,qt.default)("DraggableCore: Removing handlers"),(0,Ce.removeEvent)(u.ownerDocument,ct.move,this.handleDrag),(0,Ce.removeEvent)(u.ownerDocument,ct.stop,this.handleDragStop))}),Ae(this,"onMouseDown",t=>(ct=Ne.mouse,this.handleDragStart(t))),Ae(this,"onMouseUp",t=>(ct=Ne.mouse,this.handleDragStop(t))),Ae(this,"onTouchStart",t=>(ct=Ne.touch,this.handleDragStart(t))),Ae(this,"onTouchEnd",t=>(ct=Ne.touch,this.handleDragStop(t)))}componentDidMount(){this.mounted=!0;const t=this.findDOMNode();t&&(0,Ce.addEvent)(t,Ne.touch.start,this.onTouchStart,{passive:!1})}componentWillUnmount(){this.mounted=!1;const t=this.findDOMNode();if(t){const{ownerDocument:n}=t;(0,Ce.removeEvent)(n,Ne.mouse.move,this.handleDrag),(0,Ce.removeEvent)(n,Ne.touch.move,this.handleDrag),(0,Ce.removeEvent)(n,Ne.mouse.stop,this.handleDragStop),(0,Ce.removeEvent)(n,Ne.touch.stop,this.handleDragStop),(0,Ce.removeEvent)(t,Ne.touch.start,this.onTouchStart,{passive:!1}),this.props.enableUserSelectHack&&(0,Ce.removeUserSelectStyles)(n)}}findDOMNode(){var t,n;return(t=this.props)!==null&&t!==void 0&&t.nodeRef?(n=this.props)===null||n===void 0||(n=n.nodeRef)===null||n===void 0?void 0:n.current:Em.default.findDOMNode(this)}render(){return Ci.cloneElement(Ci.Children.only(this.props.children),{onMouseDown:this.onMouseDown,onMouseUp:this.onMouseUp,onTouchEnd:this.onTouchEnd})}};On.default=Rn,Ae(Rn,"displayName","DraggableCore"),Ae(Rn,"propTypes",{allowAnyClick:Se.default.bool,children:Se.default.node.isRequired,disabled:Se.default.bool,enableUserSelectHack:Se.default.bool,offsetParent:function(e,t){if(e[t]&&e[t].nodeType!==1)throw new Error("Draggable's offsetParent must be a DOM Node.")},grid:Se.default.arrayOf(Se.default.number),handle:Se.default.string,cancel:Se.default.string,nodeRef:Se.default.object,onStart:Se.default.func,onDrag:Se.default.func,onStop:Se.default.func,onMouseDown:Se.default.func,scale:Se.default.number,className:Ii.dontSetMe,style:Ii.dontSetMe,transform:Ii.dontSetMe}),Ae(Rn,"defaultProps",{allowAnyClick:!1,disabled:!1,enableUserSelectHack:!0,onStart:function(){},onDrag:function(){},onStop:function(){},onMouseDown:function(){},scale:1}),function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"DraggableCore",{enumerable:!0,get:function(){return a.default}}),e.default=void 0;var t=f(x),n=c(su),r=c(Re),i=c(Up),o=ae,s=Ze,u=Xe,a=c(On),l=c(Nn);function c(y){return y&&y.__esModule?y:{default:y}}function d(y){if(typeof WeakMap!="function")return null;var m=new WeakMap,I=new WeakMap;return(d=function(h){return h?I:m})(y)}function f(y,m){if(y&&y.__esModule)return y;if(y===null||typeof y!="object"&&typeof y!="function")return{default:y};var I=d(m);if(I&&I.has(y))return I.get(y);var h={},S=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var T in y)if(T!=="default"&&Object.prototype.hasOwnProperty.call(y,T)){var P=S?Object.getOwnPropertyDescriptor(y,T):null;P&&(P.get||P.set)?Object.defineProperty(h,T,P):h[T]=y[T]}return h.default=y,I&&I.set(y,h),h}function p(){return p=Object.assign?Object.assign.bind():function(y){for(var m=1;m<arguments.length;m++){var I=arguments[m];for(var h in I)Object.prototype.hasOwnProperty.call(I,h)&&(y[h]=I[h])}return y},p.apply(this,arguments)}function b(y,m,I){return m=g(m),m in y?Object.defineProperty(y,m,{value:I,enumerable:!0,configurable:!0,writable:!0}):y[m]=I,y}function g(y){var m=v(y,"string");return typeof m=="symbol"?m:String(m)}function v(y,m){if(typeof y!="object"||y===null)return y;var I=y[Symbol.toPrimitive];if(I!==void 0){var h=I.call(y,m||"default");if(typeof h!="object")return h;throw new TypeError("@@toPrimitive must return a primitive value.")}return(m==="string"?String:Number)(y)}class C extends t.Component{static getDerivedStateFromProps(m,I){let{position:h}=m,{prevPropsPosition:S}=I;return h&&(!S||h.x!==S.x||h.y!==S.y)?((0,l.default)("Draggable: getDerivedStateFromProps %j",{position:h,prevPropsPosition:S}),{x:h.x,y:h.y,prevPropsPosition:{...h}}):null}constructor(m){super(m),b(this,"onDragStart",(I,h)=>{if((0,l.default)("Draggable: onDragStart: %j",h),this.props.onStart(I,(0,s.createDraggableData)(this,h))===!1)return!1;this.setState({dragging:!0,dragged:!0})}),b(this,"onDrag",(I,h)=>{if(!this.state.dragging)return!1;(0,l.default)("Draggable: onDrag: %j",h);const S=(0,s.createDraggableData)(this,h),T={x:S.x,y:S.y,slackX:0,slackY:0};if(this.props.bounds){const{x:M,y:X}=T;T.x+=this.state.slackX,T.y+=this.state.slackY;const[U,ne]=(0,s.getBoundPosition)(this,T.x,T.y);T.x=U,T.y=ne,T.slackX=this.state.slackX+(M-T.x),T.slackY=this.state.slackY+(X-T.y),S.x=T.x,S.y=T.y,S.deltaX=T.x-this.state.x,S.deltaY=T.y-this.state.y}if(this.props.onDrag(I,S)===!1)return!1;this.setState(T)}),b(this,"onDragStop",(I,h)=>{if(!this.state.dragging||this.props.onStop(I,(0,s.createDraggableData)(this,h))===!1)return!1;(0,l.default)("Draggable: onDragStop: %j",h);const T={dragging:!1,slackX:0,slackY:0};if(!!this.props.position){const{x:M,y:X}=this.props.position;T.x=M,T.y=X}this.setState(T)}),this.state={dragging:!1,dragged:!1,x:m.position?m.position.x:m.defaultPosition.x,y:m.position?m.position.y:m.defaultPosition.y,prevPropsPosition:{...m.position},slackX:0,slackY:0,isElementSVG:!1},m.position&&!(m.onDrag||m.onStop)&&console.warn("A `position` was applied to this <Draggable>, without drag handlers. This will make this component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the `position` of this element.")}componentDidMount(){typeof window.SVGElement<"u"&&this.findDOMNode()instanceof window.SVGElement&&this.setState({isElementSVG:!0})}componentWillUnmount(){this.setState({dragging:!1})}findDOMNode(){var m,I;return(m=(I=this.props)===null||I===void 0||(I=I.nodeRef)===null||I===void 0?void 0:I.current)!==null&&m!==void 0?m:r.default.findDOMNode(this)}render(){const{axis:m,bounds:I,children:h,defaultPosition:S,defaultClassName:T,defaultClassNameDragging:P,defaultClassNameDragged:M,position:X,positionOffset:U,scale:ne,...de}=this.props;let oe={},k=null;const re=!!!X||this.state.dragging,ie=X||S,be={x:(0,s.canDragX)(this)&&re?this.state.x:ie.x,y:(0,s.canDragY)(this)&&re?this.state.y:ie.y};this.state.isElementSVG?k=(0,o.createSVGTransform)(be,U):oe=(0,o.createCSSTransform)(be,U);const E=(0,i.default)(h.props.className||"",T,{[P]:this.state.dragging,[M]:this.state.dragged});return t.createElement(a.default,p({},de,{onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop}),t.cloneElement(t.Children.only(h),{className:E,style:{...h.props.style,...oe},transform:k}))}}e.default=C,b(C,"displayName","Draggable"),b(C,"propTypes",{...a.default.propTypes,axis:n.default.oneOf(["both","x","y","none"]),bounds:n.default.oneOfType([n.default.shape({left:n.default.number,right:n.default.number,top:n.default.number,bottom:n.default.number}),n.default.string,n.default.oneOf([!1])]),defaultClassName:n.default.string,defaultClassNameDragging:n.default.string,defaultClassNameDragged:n.default.string,defaultPosition:n.default.shape({x:n.default.number,y:n.default.number}),positionOffset:n.default.shape({x:n.default.oneOfType([n.default.number,n.default.string]),y:n.default.oneOfType([n.default.number,n.default.string])}),position:n.default.shape({x:n.default.number,y:n.default.number}),className:u.dontSetMe,style:u.dontSetMe,transform:u.dontSetMe}),b(C,"defaultProps",{...a.default.defaultProps,axis:"both",bounds:!1,defaultClassName:"react-draggable",defaultClassNameDragging:"react-draggable-dragging",defaultClassNameDragged:"react-draggable-dragged",defaultPosition:{x:0,y:0},scale:1})}(Ua);const{default:bu,DraggableCore:Dm}=Ua;Mn.exports=bu,Mn.exports.default=bu,Mn.exports.DraggableCore=Dm;var Fm=Mn.exports;const Mm=$i(Fm);function Bm(e){const{children:t}=e,[n,r]=x.useState(!1);x.useEffect(()=>{r(!0)},[]);const i=document.getElementById("biznext-ui-modal-portal");return n&&i?Re.createPortal(t,i):Re.createPortal(t,document.body)}const Ai=x.createContext({onClose:()=>console.warn("Biznext-UI-Modal: Close Function not Implemented!")}),Ft=e=>{const{type:t,index:n,height:r,width:i,draggable:o,sx:s,isOpen:u,onClose:a,children:l}=e,c=!o;return w.jsx(Ai.Provider,{value:{onClose:a},children:w.jsx(Bm,{children:w.jsx(ai,{children:u&&w.jsxs("div",{className:Oe["modal-wrapper"],children:[w.jsx($t.div,{className:Oe["modal-overlay"],style:{zIndex:9999+(n||0)},onClick:a,initial:{opacity:0},animate:{opacity:1},exit:{opacity:0}}),w.jsx(Mm,{handle:"#handle",disabled:c,children:w.jsx($t.div,{initial:{opacity:0,scale:.95},className:It(Oe.modal,Oe[t]),style:{height:r,width:i,zIndex:99999+(n||0),...s},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.95},children:l})})]})})})})},Gm=Ft,Om=({children:e})=>w.jsx("div",{className:Oe["modal-content"],children:e}),Nm=({children:e})=>{const{onClose:t}=x.useContext(Ai);return w.jsxs("header",{id:"handle",className:Oe["modal-header"],children:[e,w.jsx("button",{type:"button",className:Oe["module-header-close-btn"],onClick:t,children:w.jsx(Wp,{})})]})},Rm=({children:e})=>w.jsx("h2",{className:Oe["modal-title"],children:e}),Lm=({children:e})=>w.jsx("div",{className:Oe["modal-body"],children:e}),Wm=e=>{const{children:t,closeTitle:n}=e,{onClose:r}=x.useContext(Ai);return w.jsxs("footer",{className:Oe["modal-footer"],children:[t,w.jsx("button",{type:"button",className:Oe["modal-footer-close-btn"],onClick:r,children:n||"Cancel"})]})};Ft.Content=Om,Ft.Header=Nm,Ft.Title=Rm,Ft.Body=Lm,Ft.Footer=Wm;const Xm=()=>x.useContext(Ja),He={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-input-group-error-text":"biznext-ui-npOI3UC2M38-9"};function yt(e){"@babel/helpers - typeof";return yt=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},yt(e)}function Zm(e,t){if(yt(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(yt(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function vu(e){var t=Zm(e,"string");return yt(t)=="symbol"?t:t+""}function en(e,t,n){return(t=vu(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function B(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?yu(Object(n),!0).forEach(function(r){en(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yu(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Hm(e){if(Array.isArray(e))return e}function km(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,o,s,u=[],a=!0,l=!1;try{if(o=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;a=!1}else for(;!(a=(r=o.call(n)).done)&&(u.push(r.value),u.length!==t);a=!0);}catch(c){l=!0,i=c}finally{try{if(!a&&n.return!=null&&(s=n.return(),Object(s)!==s))return}finally{if(l)throw i}}return u}}function Si(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Cu(e,t){if(e){if(typeof e=="string")return Si(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)?Si(e,t):void 0}}function zm(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
34
|
+
`,e.getElementsByTagName("head")[0].appendChild(t)),e.body&&pu(e.body,"react-draggable-transparent-selection")}function gm(e){if(e)try{if(e.body&&mu(e.body,"react-draggable-transparent-selection"),e.selection)e.selection.empty();else{const t=(e.defaultView||window).getSelection();t&&t.type!=="Caret"&&t.removeAllRanges()}}catch{}}function pu(e,t){e.classList?e.classList.add(t):e.className.match(new RegExp("(?:^|\\s)".concat(t,"(?!\\S)")))||(e.className+=" ".concat(t))}function mu(e,t){e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp("(?:^|\\s)".concat(t,"(?!\\S)"),"g"),"")}var He={};Object.defineProperty(He,"__esModule",{value:!0}),He.canDragX=ym,He.canDragY=Cm,He.createCoreData=xm,He.createDraggableData=Am,He.getBoundPosition=bm,He.getControlPosition=Im,He.snapToGrid=vm;var Ve=Ze,Dt=ae;function bm(e,t,n){if(!e.props.bounds)return[t,n];let{bounds:r}=e.props;r=typeof r=="string"?r:Sm(r);const i=yi(e);if(typeof r=="string"){const{ownerDocument:o}=i,s=o.defaultView;let u;if(r==="parent"?u=i.parentNode:u=o.querySelector(r),!(u instanceof s.HTMLElement))throw new Error('Bounds selector "'+r+'" could not find an element.');const a=u,l=s.getComputedStyle(i),c=s.getComputedStyle(a);r={left:-i.offsetLeft+(0,Ve.int)(c.paddingLeft)+(0,Ve.int)(l.marginLeft),top:-i.offsetTop+(0,Ve.int)(c.paddingTop)+(0,Ve.int)(l.marginTop),right:(0,Dt.innerWidth)(a)-(0,Dt.outerWidth)(i)-i.offsetLeft+(0,Ve.int)(c.paddingRight)-(0,Ve.int)(l.marginRight),bottom:(0,Dt.innerHeight)(a)-(0,Dt.outerHeight)(i)-i.offsetTop+(0,Ve.int)(c.paddingBottom)-(0,Ve.int)(l.marginBottom)}}return(0,Ve.isNum)(r.right)&&(t=Math.min(t,r.right)),(0,Ve.isNum)(r.bottom)&&(n=Math.min(n,r.bottom)),(0,Ve.isNum)(r.left)&&(t=Math.max(t,r.left)),(0,Ve.isNum)(r.top)&&(n=Math.max(n,r.top)),[t,n]}function vm(e,t,n){const r=Math.round(t/e[0])*e[0],i=Math.round(n/e[1])*e[1];return[r,i]}function ym(e){return e.props.axis==="both"||e.props.axis==="x"}function Cm(e){return e.props.axis==="both"||e.props.axis==="y"}function Im(e,t,n){const r=typeof t=="number"?(0,Dt.getTouch)(e,t):null;if(typeof t=="number"&&!r)return null;const i=yi(n),o=n.props.offsetParent||i.offsetParent||i.ownerDocument.body;return(0,Dt.offsetXYFromParent)(r||e,o,n.props.scale)}function xm(e,t,n){const r=!(0,Ve.isNum)(e.lastX),i=yi(e);return r?{node:i,deltaX:0,deltaY:0,lastX:t,lastY:n,x:t,y:n}:{node:i,deltaX:t-e.lastX,deltaY:n-e.lastY,lastX:e.lastX,lastY:e.lastY,x:t,y:n}}function Am(e,t){const n=e.props.scale;return{node:t.node,x:e.state.x+t.deltaX/n,y:e.state.y+t.deltaY/n,deltaX:t.deltaX/n,deltaY:t.deltaY/n,lastX:e.state.x,lastY:e.state.y}}function Sm(e){return{left:e.left,top:e.top,right:e.right,bottom:e.bottom}}function yi(e){const t=e.findDOMNode();if(!t)throw new Error("<DraggableCore>: Unmounted during event!");return t}var On={},Nn={};Object.defineProperty(Nn,"__esModule",{value:!0}),Nn.default=Tm;function Tm(){}Object.defineProperty(On,"__esModule",{value:!0}),On.default=void 0;var Ci=Pm(x),Se=xi(su),Em=xi(Le),Ce=ae,lt=He,Ii=Ze,qt=xi(Nn);function xi(e){return e&&e.__esModule?e:{default:e}}function gu(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(gu=function(r){return r?n:t})(e)}function Pm(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=gu(t);if(n&&n.has(e))return n.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(o!=="default"&&Object.prototype.hasOwnProperty.call(e,o)){var s=i?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}function Ae(e,t,n){return t=wm(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wm(e){var t=Vm(e,"string");return typeof t=="symbol"?t:String(t)}function Vm(e,t){if(typeof e!="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}const Ne={touch:{start:"touchstart",move:"touchmove",stop:"touchend"},mouse:{start:"mousedown",move:"mousemove",stop:"mouseup"}};let ct=Ne.mouse,Rn=class extends Ci.Component{constructor(){super(...arguments),Ae(this,"dragging",!1),Ae(this,"lastX",NaN),Ae(this,"lastY",NaN),Ae(this,"touchIdentifier",null),Ae(this,"mounted",!1),Ae(this,"handleDragStart",t=>{if(this.props.onMouseDown(t),!this.props.allowAnyClick&&typeof t.button=="number"&&t.button!==0)return!1;const n=this.findDOMNode();if(!n||!n.ownerDocument||!n.ownerDocument.body)throw new Error("<DraggableCore> not mounted on DragStart!");const{ownerDocument:r}=n;if(this.props.disabled||!(t.target instanceof r.defaultView.Node)||this.props.handle&&!(0,Ce.matchesSelectorAndParentsTo)(t.target,this.props.handle,n)||this.props.cancel&&(0,Ce.matchesSelectorAndParentsTo)(t.target,this.props.cancel,n))return;t.type==="touchstart"&&t.preventDefault();const i=(0,Ce.getTouchIdentifier)(t);this.touchIdentifier=i;const o=(0,lt.getControlPosition)(t,i,this);if(o==null)return;const{x:s,y:u}=o,a=(0,lt.createCoreData)(this,s,u);(0,qt.default)("DraggableCore: handleDragStart: %j",a),(0,qt.default)("calling",this.props.onStart),!(this.props.onStart(t,a)===!1||this.mounted===!1)&&(this.props.enableUserSelectHack&&(0,Ce.addUserSelectStyles)(r),this.dragging=!0,this.lastX=s,this.lastY=u,(0,Ce.addEvent)(r,ct.move,this.handleDrag),(0,Ce.addEvent)(r,ct.stop,this.handleDragStop))}),Ae(this,"handleDrag",t=>{const n=(0,lt.getControlPosition)(t,this.touchIdentifier,this);if(n==null)return;let{x:r,y:i}=n;if(Array.isArray(this.props.grid)){let u=r-this.lastX,a=i-this.lastY;if([u,a]=(0,lt.snapToGrid)(this.props.grid,u,a),!u&&!a)return;r=this.lastX+u,i=this.lastY+a}const o=(0,lt.createCoreData)(this,r,i);if((0,qt.default)("DraggableCore: handleDrag: %j",o),this.props.onDrag(t,o)===!1||this.mounted===!1){try{this.handleDragStop(new MouseEvent("mouseup"))}catch{const a=document.createEvent("MouseEvents");a.initMouseEvent("mouseup",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),this.handleDragStop(a)}return}this.lastX=r,this.lastY=i}),Ae(this,"handleDragStop",t=>{if(!this.dragging)return;const n=(0,lt.getControlPosition)(t,this.touchIdentifier,this);if(n==null)return;let{x:r,y:i}=n;if(Array.isArray(this.props.grid)){let a=r-this.lastX||0,l=i-this.lastY||0;[a,l]=(0,lt.snapToGrid)(this.props.grid,a,l),r=this.lastX+a,i=this.lastY+l}const o=(0,lt.createCoreData)(this,r,i);if(this.props.onStop(t,o)===!1||this.mounted===!1)return!1;const u=this.findDOMNode();u&&this.props.enableUserSelectHack&&(0,Ce.removeUserSelectStyles)(u.ownerDocument),(0,qt.default)("DraggableCore: handleDragStop: %j",o),this.dragging=!1,this.lastX=NaN,this.lastY=NaN,u&&((0,qt.default)("DraggableCore: Removing handlers"),(0,Ce.removeEvent)(u.ownerDocument,ct.move,this.handleDrag),(0,Ce.removeEvent)(u.ownerDocument,ct.stop,this.handleDragStop))}),Ae(this,"onMouseDown",t=>(ct=Ne.mouse,this.handleDragStart(t))),Ae(this,"onMouseUp",t=>(ct=Ne.mouse,this.handleDragStop(t))),Ae(this,"onTouchStart",t=>(ct=Ne.touch,this.handleDragStart(t))),Ae(this,"onTouchEnd",t=>(ct=Ne.touch,this.handleDragStop(t)))}componentDidMount(){this.mounted=!0;const t=this.findDOMNode();t&&(0,Ce.addEvent)(t,Ne.touch.start,this.onTouchStart,{passive:!1})}componentWillUnmount(){this.mounted=!1;const t=this.findDOMNode();if(t){const{ownerDocument:n}=t;(0,Ce.removeEvent)(n,Ne.mouse.move,this.handleDrag),(0,Ce.removeEvent)(n,Ne.touch.move,this.handleDrag),(0,Ce.removeEvent)(n,Ne.mouse.stop,this.handleDragStop),(0,Ce.removeEvent)(n,Ne.touch.stop,this.handleDragStop),(0,Ce.removeEvent)(t,Ne.touch.start,this.onTouchStart,{passive:!1}),this.props.enableUserSelectHack&&(0,Ce.removeUserSelectStyles)(n)}}findDOMNode(){var t,n;return(t=this.props)!==null&&t!==void 0&&t.nodeRef?(n=this.props)===null||n===void 0||(n=n.nodeRef)===null||n===void 0?void 0:n.current:Em.default.findDOMNode(this)}render(){return Ci.cloneElement(Ci.Children.only(this.props.children),{onMouseDown:this.onMouseDown,onMouseUp:this.onMouseUp,onTouchEnd:this.onTouchEnd})}};On.default=Rn,Ae(Rn,"displayName","DraggableCore"),Ae(Rn,"propTypes",{allowAnyClick:Se.default.bool,children:Se.default.node.isRequired,disabled:Se.default.bool,enableUserSelectHack:Se.default.bool,offsetParent:function(e,t){if(e[t]&&e[t].nodeType!==1)throw new Error("Draggable's offsetParent must be a DOM Node.")},grid:Se.default.arrayOf(Se.default.number),handle:Se.default.string,cancel:Se.default.string,nodeRef:Se.default.object,onStart:Se.default.func,onDrag:Se.default.func,onStop:Se.default.func,onMouseDown:Se.default.func,scale:Se.default.number,className:Ii.dontSetMe,style:Ii.dontSetMe,transform:Ii.dontSetMe}),Ae(Rn,"defaultProps",{allowAnyClick:!1,disabled:!1,enableUserSelectHack:!0,onStart:function(){},onDrag:function(){},onStop:function(){},onMouseDown:function(){},scale:1}),function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"DraggableCore",{enumerable:!0,get:function(){return a.default}}),e.default=void 0;var t=f(x),n=c(su),r=c(Le),i=c(Up),o=ae,s=He,u=Ze,a=c(On),l=c(Nn);function c(y){return y&&y.__esModule?y:{default:y}}function d(y){if(typeof WeakMap!="function")return null;var m=new WeakMap,I=new WeakMap;return(d=function(h){return h?I:m})(y)}function f(y,m){if(y&&y.__esModule)return y;if(y===null||typeof y!="object"&&typeof y!="function")return{default:y};var I=d(m);if(I&&I.has(y))return I.get(y);var h={},S=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var T in y)if(T!=="default"&&Object.prototype.hasOwnProperty.call(y,T)){var P=S?Object.getOwnPropertyDescriptor(y,T):null;P&&(P.get||P.set)?Object.defineProperty(h,T,P):h[T]=y[T]}return h.default=y,I&&I.set(y,h),h}function p(){return p=Object.assign?Object.assign.bind():function(y){for(var m=1;m<arguments.length;m++){var I=arguments[m];for(var h in I)Object.prototype.hasOwnProperty.call(I,h)&&(y[h]=I[h])}return y},p.apply(this,arguments)}function b(y,m,I){return m=g(m),m in y?Object.defineProperty(y,m,{value:I,enumerable:!0,configurable:!0,writable:!0}):y[m]=I,y}function g(y){var m=v(y,"string");return typeof m=="symbol"?m:String(m)}function v(y,m){if(typeof y!="object"||y===null)return y;var I=y[Symbol.toPrimitive];if(I!==void 0){var h=I.call(y,m||"default");if(typeof h!="object")return h;throw new TypeError("@@toPrimitive must return a primitive value.")}return(m==="string"?String:Number)(y)}class C extends t.Component{static getDerivedStateFromProps(m,I){let{position:h}=m,{prevPropsPosition:S}=I;return h&&(!S||h.x!==S.x||h.y!==S.y)?((0,l.default)("Draggable: getDerivedStateFromProps %j",{position:h,prevPropsPosition:S}),{x:h.x,y:h.y,prevPropsPosition:{...h}}):null}constructor(m){super(m),b(this,"onDragStart",(I,h)=>{if((0,l.default)("Draggable: onDragStart: %j",h),this.props.onStart(I,(0,s.createDraggableData)(this,h))===!1)return!1;this.setState({dragging:!0,dragged:!0})}),b(this,"onDrag",(I,h)=>{if(!this.state.dragging)return!1;(0,l.default)("Draggable: onDrag: %j",h);const S=(0,s.createDraggableData)(this,h),T={x:S.x,y:S.y,slackX:0,slackY:0};if(this.props.bounds){const{x:M,y:X}=T;T.x+=this.state.slackX,T.y+=this.state.slackY;const[U,ne]=(0,s.getBoundPosition)(this,T.x,T.y);T.x=U,T.y=ne,T.slackX=this.state.slackX+(M-T.x),T.slackY=this.state.slackY+(X-T.y),S.x=T.x,S.y=T.y,S.deltaX=T.x-this.state.x,S.deltaY=T.y-this.state.y}if(this.props.onDrag(I,S)===!1)return!1;this.setState(T)}),b(this,"onDragStop",(I,h)=>{if(!this.state.dragging||this.props.onStop(I,(0,s.createDraggableData)(this,h))===!1)return!1;(0,l.default)("Draggable: onDragStop: %j",h);const T={dragging:!1,slackX:0,slackY:0};if(!!this.props.position){const{x:M,y:X}=this.props.position;T.x=M,T.y=X}this.setState(T)}),this.state={dragging:!1,dragged:!1,x:m.position?m.position.x:m.defaultPosition.x,y:m.position?m.position.y:m.defaultPosition.y,prevPropsPosition:{...m.position},slackX:0,slackY:0,isElementSVG:!1},m.position&&!(m.onDrag||m.onStop)&&console.warn("A `position` was applied to this <Draggable>, without drag handlers. This will make this component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the `position` of this element.")}componentDidMount(){typeof window.SVGElement<"u"&&this.findDOMNode()instanceof window.SVGElement&&this.setState({isElementSVG:!0})}componentWillUnmount(){this.setState({dragging:!1})}findDOMNode(){var m,I;return(m=(I=this.props)===null||I===void 0||(I=I.nodeRef)===null||I===void 0?void 0:I.current)!==null&&m!==void 0?m:r.default.findDOMNode(this)}render(){const{axis:m,bounds:I,children:h,defaultPosition:S,defaultClassName:T,defaultClassNameDragging:P,defaultClassNameDragged:M,position:X,positionOffset:U,scale:ne,...de}=this.props;let oe={},k=null;const re=!!!X||this.state.dragging,ie=X||S,be={x:(0,s.canDragX)(this)&&re?this.state.x:ie.x,y:(0,s.canDragY)(this)&&re?this.state.y:ie.y};this.state.isElementSVG?k=(0,o.createSVGTransform)(be,U):oe=(0,o.createCSSTransform)(be,U);const E=(0,i.default)(h.props.className||"",T,{[P]:this.state.dragging,[M]:this.state.dragged});return t.createElement(a.default,p({},de,{onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop}),t.cloneElement(t.Children.only(h),{className:E,style:{...h.props.style,...oe},transform:k}))}}e.default=C,b(C,"displayName","Draggable"),b(C,"propTypes",{...a.default.propTypes,axis:n.default.oneOf(["both","x","y","none"]),bounds:n.default.oneOfType([n.default.shape({left:n.default.number,right:n.default.number,top:n.default.number,bottom:n.default.number}),n.default.string,n.default.oneOf([!1])]),defaultClassName:n.default.string,defaultClassNameDragging:n.default.string,defaultClassNameDragged:n.default.string,defaultPosition:n.default.shape({x:n.default.number,y:n.default.number}),positionOffset:n.default.shape({x:n.default.oneOfType([n.default.number,n.default.string]),y:n.default.oneOfType([n.default.number,n.default.string])}),position:n.default.shape({x:n.default.number,y:n.default.number}),className:u.dontSetMe,style:u.dontSetMe,transform:u.dontSetMe}),b(C,"defaultProps",{...a.default.defaultProps,axis:"both",bounds:!1,defaultClassName:"react-draggable",defaultClassNameDragging:"react-draggable-dragging",defaultClassNameDragged:"react-draggable-dragged",defaultPosition:{x:0,y:0},scale:1})}(Ua);const{default:bu,DraggableCore:Dm}=Ua;Mn.exports=bu,Mn.exports.default=bu,Mn.exports.DraggableCore=Dm;var Fm=Mn.exports;const Mm=$i(Fm);function Bm(e){const{children:t}=e,[n,r]=x.useState(!1);x.useEffect(()=>{r(!0)},[]);const i=document.getElementById("biznext-ui-modal-portal");return n&&i?Le.createPortal(t,i):Le.createPortal(t,document.body)}const Ai=x.createContext({onClose:()=>console.warn("Biznext-UI-Modal: Close Function not Implemented!")}),Ft=e=>{const{type:t,index:n,height:r,width:i,draggable:o,sx:s,isOpen:u,onClose:a,children:l}=e,c=!o;return w.jsx(Ai.Provider,{value:{onClose:a},children:w.jsx(Bm,{children:w.jsx(ai,{children:u&&w.jsxs("div",{className:Oe["modal-wrapper"],children:[w.jsx($t.div,{className:Oe["modal-overlay"],style:{zIndex:9999+(n||0)},onClick:a,initial:{opacity:0},animate:{opacity:1},exit:{opacity:0}}),w.jsx(Mm,{handle:"#handle",disabled:c,children:w.jsx($t.div,{initial:{opacity:0,scale:.95},className:It(Oe.modal,Oe[t]),style:{height:r,width:i,zIndex:99999+(n||0),...s},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.95},children:l})})]})})})})},Gm=Ft,Om=({children:e})=>w.jsx("div",{className:Oe["modal-content"],children:e}),Nm=({children:e})=>{const{onClose:t}=x.useContext(Ai);return w.jsxs("header",{id:"handle",className:Oe["modal-header"],children:[e,w.jsx("button",{type:"button",className:Oe["module-header-close-btn"],onClick:t,children:w.jsx(Wp,{})})]})},Rm=({children:e})=>w.jsx("h2",{className:Oe["modal-title"],children:e}),Lm=({children:e})=>w.jsx("div",{className:Oe["modal-body"],children:e}),Wm=e=>{const{children:t,closeTitle:n}=e,{onClose:r}=x.useContext(Ai);return w.jsxs("footer",{className:Oe["modal-footer"],children:[t,w.jsx("button",{type:"button",className:Oe["modal-footer-close-btn"],onClick:r,children:n||"Cancel"})]})};Ft.Content=Om,Ft.Header=Nm,Ft.Title=Rm,Ft.Body=Lm,Ft.Footer=Wm;const Xm=()=>x.useContext(Ja),Re={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 yt(e){"@babel/helpers - typeof";return yt=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},yt(e)}function Zm(e,t){if(yt(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(yt(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function vu(e){var t=Zm(e,"string");return yt(t)=="symbol"?t:t+""}function en(e,t,n){return(t=vu(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function B(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?yu(Object(n),!0).forEach(function(r){en(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yu(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Hm(e){if(Array.isArray(e))return e}function km(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,o,s,u=[],a=!0,l=!1;try{if(o=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;a=!1}else for(;!(a=(r=o.call(n)).done)&&(u.push(r.value),u.length!==t);a=!0);}catch(c){l=!0,i=c}finally{try{if(!a&&n.return!=null&&(s=n.return(),Object(s)!==s))return}finally{if(l)throw i}}return u}}function Si(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Cu(e,t){if(e){if(typeof e=="string")return Si(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)?Si(e,t):void 0}}function zm(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
35
35
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function qe(e,t){return Hm(e)||km(e,t)||Cu(e,t)||zm()}function jm(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}function et(e,t){if(e==null)return{};var n,r,i=jm(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var Ym=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function Jm(e){var t=e.defaultInputValue,n=t===void 0?"":t,r=e.defaultMenuIsOpen,i=r===void 0?!1:r,o=e.defaultValue,s=o===void 0?null:o,u=e.inputValue,a=e.menuIsOpen,l=e.onChange,c=e.onInputChange,d=e.onMenuClose,f=e.onMenuOpen,p=e.value,b=et(e,Ym),g=x.useState(u!==void 0?u:n),v=qe(g,2),C=v[0],y=v[1],m=x.useState(a!==void 0?a:i),I=qe(m,2),h=I[0],S=I[1],T=x.useState(p!==void 0?p:s),P=qe(T,2),M=P[0],X=P[1],U=x.useCallback(function(ie,be){typeof l=="function"&&l(ie,be),X(ie)},[l]),ne=x.useCallback(function(ie,be){var E;typeof c=="function"&&(E=c(ie,be)),y(E!==void 0?E:ie)},[c]),de=x.useCallback(function(){typeof f=="function"&&f(),S(!0)},[f]),oe=x.useCallback(function(){typeof d=="function"&&d(),S(!1)},[d]),k=u!==void 0?u:C,z=a!==void 0?a:h,re=p!==void 0?p:M;return B(B({},b),{},{inputValue:k,menuIsOpen:z,onChange:U,onInputChange:ne,onMenuClose:oe,onMenuOpen:de,value:re})}function L(){return L=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},L.apply(null,arguments)}function Um(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Iu(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,vu(r.key),r)}}function _m(e,t,n){return t&&Iu(e.prototype,t),n&&Iu(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Ti(e,t){return Ti=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},Ti(e,t)}function Qm(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ti(e,t)}function Ln(e){return Ln=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Ln(e)}function xu(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(xu=function(){return!!e})()}function Km(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $m(e,t){if(t&&(yt(t)=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Km(e)}function qm(e){var t=xu();return function(){var n,r=Ln(e);if(t){var i=Ln(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return $m(this,n)}}function eg(e){if(Array.isArray(e))return Si(e)}function tg(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function ng(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
36
36
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ei(e){return eg(e)||tg(e)||Cu(e)||ng()}var rg=!1;function ig(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 og(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 sg=function(){function e(n){var r=this;this._insertTag=function(i){var o;r.tags.length===0?r.insertionPoint?o=r.insertionPoint.nextSibling:r.prepend?o=r.container.firstChild:o=r.before:o=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(i,o),r.tags.push(i)},this.isSpeedy=n.speedy===void 0?!rg: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(r){r.forEach(this._insertTag)},t.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(og(this));var i=this.tags[this.tags.length-1];if(this.isSpeedy){var o=ig(i);try{o.insertRule(r,o.cssRules.length)}catch{}}else i.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){var i;return(i=r.parentNode)==null?void 0:i.removeChild(r)}),this.tags=[],this.ctr=0},e}(),Ie="-ms-",Wn="-moz-",_="-webkit-",Au="comm",Pi="rule",wi="decl",ag="@import",Su="@keyframes",ug="@layer",lg=Math.abs,Xn=String.fromCharCode,cg=Object.assign;function dg(e,t){return ge(e,0)^45?(((t<<2^ge(e,0))<<2^ge(e,1))<<2^ge(e,2))<<2^ge(e,3):0}function Tu(e){return e.trim()}function fg(e,t){return(e=t.exec(e))?e[0]:e}function Q(e,t,n){return e.replace(t,n)}function Vi(e,t){return e.indexOf(t)}function ge(e,t){return e.charCodeAt(t)|0}function tn(e,t,n){return e.slice(t,n)}function ke(e){return e.length}function Di(e){return e.length}function Zn(e,t){return t.push(e),e}function hg(e,t){return e.map(t).join("")}var Hn=1,Mt=1,Eu=0,Te=0,ce=0,Bt="";function kn(e,t,n,r,i,o,s){return{value:e,root:t,parent:n,type:r,props:i,children:o,line:Hn,column:Mt,length:s,return:""}}function nn(e,t){return cg(kn("",null,null,"",null,null,0),e,{length:-e.length},t)}function pg(){return ce}function mg(){return ce=Te>0?ge(Bt,--Te):0,Mt--,ce===10&&(Mt=1,Hn--),ce}function De(){return ce=Te<Eu?ge(Bt,Te++):0,Mt++,ce===10&&(Mt=1,Hn++),ce}function ze(){return ge(Bt,Te)}function zn(){return Te}function rn(e,t){return tn(Bt,e,t)}function on(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 Pu(e){return Hn=Mt=1,Eu=ke(Bt=e),Te=0,[]}function wu(e){return Bt="",e}function jn(e){return Tu(rn(Te-1,Fi(e===91?e+2:e===40?e+1:e)))}function gg(e){for(;(ce=ze())&&ce<33;)De();return on(e)>2||on(ce)>3?"":" "}function bg(e,t){for(;--t&&De()&&!(ce<48||ce>102||ce>57&&ce<65||ce>70&&ce<97););return rn(e,zn()+(t<6&&ze()==32&&De()==32))}function Fi(e){for(;De();)switch(ce){case e:return Te;case 34:case 39:e!==34&&e!==39&&Fi(ce);break;case 40:e===41&&Fi(e);break;case 92:De();break}return Te}function vg(e,t){for(;De()&&e+ce!==57;)if(e+ce===84&&ze()===47)break;return"/*"+rn(t,Te-1)+"*"+Xn(e===47?e:De())}function yg(e){for(;!on(ze());)De();return rn(e,Te)}function Cg(e){return wu(Yn("",null,null,null,[""],e=Pu(e),0,[0],e))}function Yn(e,t,n,r,i,o,s,u,a){for(var l=0,c=0,d=s,f=0,p=0,b=0,g=1,v=1,C=1,y=0,m="",I=i,h=o,S=r,T=m;v;)switch(b=y,y=De()){case 40:if(b!=108&&ge(T,d-1)==58){Vi(T+=Q(jn(y),"&","&\f"),"&\f")!=-1&&(C=-1);break}case 34:case 39:case 91:T+=jn(y);break;case 9:case 10:case 13:case 32:T+=gg(b);break;case 92:T+=bg(zn()-1,7);continue;case 47:switch(ze()){case 42:case 47:Zn(Ig(vg(De(),zn()),t,n),a);break;default:T+="/"}break;case 123*g:u[l++]=ke(T)*C;case 125*g:case 59:case 0:switch(y){case 0:case 125:v=0;case 59+c:C==-1&&(T=Q(T,/\f/g,"")),p>0&&ke(T)-d&&Zn(p>32?Du(T+";",r,n,d-1):Du(Q(T," ","")+";",r,n,d-2),a);break;case 59:T+=";";default:if(Zn(S=Vu(T,t,n,l,c,i,u,m,I=[],h=[],d),o),y===123)if(c===0)Yn(T,t,S,S,I,o,d,u,h);else switch(f===99&&ge(T,3)===110?100:f){case 100:case 108:case 109:case 115:Yn(e,S,S,r&&Zn(Vu(e,S,S,0,0,i,u,m,i,I=[],d),h),i,h,d,u,r?I:h);break;default:Yn(T,S,S,S,[""],h,0,u,h)}}l=c=p=0,g=C=1,m=T="",d=s;break;case 58:d=1+ke(T),p=b;default:if(g<1){if(y==123)--g;else if(y==125&&g++==0&&mg()==125)continue}switch(T+=Xn(y),y*g){case 38:C=c>0?1:(T+="\f",-1);break;case 44:u[l++]=(ke(T)-1)*C,C=1;break;case 64:ze()===45&&(T+=jn(De())),f=ze(),c=d=ke(m=T+=yg(zn())),y++;break;case 45:b===45&&ke(T)==2&&(g=0)}}return o}function Vu(e,t,n,r,i,o,s,u,a,l,c){for(var d=i-1,f=i===0?o:[""],p=Di(f),b=0,g=0,v=0;b<r;++b)for(var C=0,y=tn(e,d+1,d=lg(g=s[b])),m=e;C<p;++C)(m=Tu(g>0?f[C]+" "+y:Q(y,/&\f/g,f[C])))&&(a[v++]=m);return kn(e,t,n,i===0?Pi:u,a,l,c)}function Ig(e,t,n){return kn(e,t,n,Au,Xn(pg()),tn(e,2,-2),0)}function Du(e,t,n,r){return kn(e,t,n,wi,tn(e,0,r),tn(e,r+1,-1),r)}function Gt(e,t){for(var n="",r=Di(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||"";return n}function xg(e,t,n,r){switch(e.type){case ug:if(e.children.length)break;case ag:case wi:return e.return=e.return||e.value;case Au:return"";case Su:return e.return=e.value+"{"+Gt(e.children,r)+"}";case Pi:e.value=e.props.join(",")}return ke(n=Gt(e.children,r))?e.return=e.value+"{"+n+"}":""}function Ag(e){var t=Di(e);return function(n,r,i,o){for(var s="",u=0;u<t;u++)s+=e[u](n,r,i,o)||"";return s}}function Sg(e){return function(t){t.root||(t=t.return)&&e(t)}}function Tg(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var Eg=function(t,n,r){for(var i=0,o=0;i=o,o=ze(),i===38&&o===12&&(n[r]=1),!on(o);)De();return rn(t,Te)},Pg=function(t,n){var r=-1,i=44;do switch(on(i)){case 0:i===38&&ze()===12&&(n[r]=1),t[r]+=Eg(Te-1,n,r);break;case 2:t[r]+=jn(i);break;case 4:if(i===44){t[++r]=ze()===58?"&\f":"",n[r]=t[r].length;break}default:t[r]+=Xn(i)}while(i=De());return t},wg=function(t,n){return wu(Pg(Pu(t),n))},Fu=new WeakMap,Vg=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var n=t.value,r=t.parent,i=t.column===r.column&&t.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(t.props.length===1&&n.charCodeAt(0)!==58&&!Fu.get(r))&&!i){Fu.set(t,!0);for(var o=[],s=wg(n,o),u=r.props,a=0,l=0;a<s.length;a++)for(var c=0;c<u.length;c++,l++)t.props[l]=o[a]?s[a].replace(/&\f/g,u[c]):u[c]+" "+s[a]}}},Dg=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}};function Mu(e,t){switch(dg(e,t)){case 5103:return _+"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 _+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return _+e+Wn+e+Ie+e+e;case 6828:case 4268:return _+e+Ie+e+e;case 6165:return _+e+Ie+"flex-"+e+e;case 5187:return _+e+Q(e,/(\w+).+(:[^]+)/,_+"box-$1$2"+Ie+"flex-$1$2")+e;case 5443:return _+e+Ie+"flex-item-"+Q(e,/flex-|-self/,"")+e;case 4675:return _+e+Ie+"flex-line-pack"+Q(e,/align-content|flex-|-self/,"")+e;case 5548:return _+e+Ie+Q(e,"shrink","negative")+e;case 5292:return _+e+Ie+Q(e,"basis","preferred-size")+e;case 6060:return _+"box-"+Q(e,"-grow","")+_+e+Ie+Q(e,"grow","positive")+e;case 4554:return _+Q(e,/([^-])(transform)/g,"$1"+_+"$2")+e;case 6187:return Q(Q(Q(e,/(zoom-|grab)/,_+"$1"),/(image-set)/,_+"$1"),e,"")+e;case 5495:case 3959:return Q(e,/(image-set\([^]*)/,_+"$1$`$1");case 4968:return Q(Q(e,/(.+:)(flex-)?(.*)/,_+"box-pack:$3"+Ie+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+_+e+e;case 4095:case 3583:case 4068:case 2532:return Q(e,/(.+)-inline(.+)/,_+"$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(ke(e)-1-t>6)switch(ge(e,t+1)){case 109:if(ge(e,t+4)!==45)break;case 102:return Q(e,/(.+:)(.+)-([^]+)/,"$1"+_+"$2-$3$1"+Wn+(ge(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Vi(e,"stretch")?Mu(Q(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(ge(e,t+1)!==115)break;case 6444:switch(ge(e,ke(e)-3-(~Vi(e,"!important")&&10))){case 107:return Q(e,":",":"+_)+e;case 101:return Q(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+_+(ge(e,14)===45?"inline-":"")+"box$3$1"+_+"$2$3$1"+Ie+"$2box$3")+e}break;case 5936:switch(ge(e,t+11)){case 114:return _+e+Ie+Q(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return _+e+Ie+Q(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return _+e+Ie+Q(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return _+e+Ie+e+e}return e}var Fg=function(t,n,r,i){if(t.length>-1&&!t.return)switch(t.type){case wi:t.return=Mu(t.value,t.length);break;case Su:return Gt([nn(t,{value:Q(t.value,"@","@"+_)})],i);case Pi:if(t.length)return hg(t.props,function(o){switch(fg(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Gt([nn(t,{props:[Q(o,/:(read-\w+)/,":"+Wn+"$1")]})],i);case"::placeholder":return Gt([nn(t,{props:[Q(o,/:(plac\w+)/,":"+_+"input-$1")]}),nn(t,{props:[Q(o,/:(plac\w+)/,":"+Wn+"$1")]}),nn(t,{props:[Q(o,/:(plac\w+)/,Ie+"input-$1")]})],i)}return""})}},Mg=[Fg],Bg=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(g){var v=g.getAttribute("data-emotion");v.indexOf(" ")!==-1&&(document.head.appendChild(g),g.setAttribute("data-s",""))})}var i=t.stylisPlugins||Mg,o={},s,u=[];s=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(g){for(var v=g.getAttribute("data-emotion").split(" "),C=1;C<v.length;C++)o[v[C]]=!0;u.push(g)});var a,l=[Vg,Dg];{var c,d=[xg,Sg(function(g){c.insert(g)})],f=Ag(l.concat(i,d)),p=function(v){return Gt(Cg(v),f)};a=function(v,C,y,m){c=y,p(v?v+"{"+C.styles+"}":C.styles),m&&(b.inserted[C.name]=!0)}}var b={key:n,sheet:new sg({key:n,container:s,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:o,registered:{},insert:a};return b.sheet.hydrate(u),b},Mi={exports:{}},ee={};/** @license React v16.13.1
|
|
37
37
|
* react-is.production.min.js
|
|
@@ -47,7 +47,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
47
47
|
*
|
|
48
48
|
* This source code is licensed under the MIT license found in the
|
|
49
49
|
* LICENSE file in the root directory of this source tree.
|
|
50
|
-
*/var Gu;function Og(){return Gu||(Gu=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,r=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,s=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,p=e?Symbol.for("react.memo"):60115,b=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,v=e?Symbol.for("react.fundamental"):60117,C=e?Symbol.for("react.responder"):60118,y=e?Symbol.for("react.scope"):60119;function m(A){return typeof A=="string"||typeof A=="function"||A===r||A===l||A===o||A===i||A===d||A===f||typeof A=="object"&&A!==null&&(A.$$typeof===b||A.$$typeof===p||A.$$typeof===s||A.$$typeof===u||A.$$typeof===c||A.$$typeof===v||A.$$typeof===C||A.$$typeof===y||A.$$typeof===g)}function I(A){if(typeof A=="object"&&A!==null){var xe=A.$$typeof;switch(xe){case t:var Be=A.type;switch(Be){case a:case l:case r:case o:case i:case d:return Be;default:var Ct=Be&&Be.$$typeof;switch(Ct){case u:case c:case b:case p:case s:return Ct;default:return xe}}case n:return xe}}}var h=a,S=l,T=u,P=s,M=t,X=c,U=r,ne=b,de=p,oe=n,k=o,z=i,re=d,ie=!1;function be(A){return ie||(ie=!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.")),E(A)||I(A)===a}function E(A){return I(A)===l}function V(A){return I(A)===u}function D(A){return I(A)===s}function G(A){return typeof A=="object"&&A!==null&&A.$$typeof===t}function O(A){return I(A)===c}function j(A){return I(A)===r}function N(A){return I(A)===b}function W(A){return I(A)===p}function H(A){return I(A)===n}function Y(A){return I(A)===o}function J(A){return I(A)===i}function fe(A){return I(A)===d}te.AsyncMode=h,te.ConcurrentMode=S,te.ContextConsumer=T,te.ContextProvider=P,te.Element=M,te.ForwardRef=X,te.Fragment=U,te.Lazy=ne,te.Memo=de,te.Portal=oe,te.Profiler=k,te.StrictMode=z,te.Suspense=re,te.isAsyncMode=be,te.isConcurrentMode=E,te.isContextConsumer=V,te.isContextProvider=D,te.isElement=G,te.isForwardRef=O,te.isFragment=j,te.isLazy=N,te.isMemo=W,te.isPortal=H,te.isProfiler=Y,te.isStrictMode=J,te.isSuspense=fe,te.isValidElementType=m,te.typeOf=I}()),te}process.env.NODE_ENV==="production"?Mi.exports=Gg():Mi.exports=Og();var Ng=Mi.exports,Ou=Ng,Rg={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Lg={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Nu={};Nu[Ou.ForwardRef]=Rg,Nu[Ou.Memo]=Lg;var Wg=!0;function Xg(e,t,n){var r="";return n.split(" ").forEach(function(i){e[i]!==void 0?t.push(e[i]+";"):r+=i+" "}),r}var Ru=function(t,n,r){var i=t.key+"-"+n.name;(r===!1||Wg===!1)&&t.registered[i]===void 0&&(t.registered[i]=n.styles)},Zg=function(t,n,r){Ru(t,n,r);var i=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var o=n;do t.insert(n===o?"."+i:"",o,t.sheet,!0),o=o.next;while(o!==void 0)}};function Hg(e){for(var t=0,n,r=0,i=e.length;i>=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&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(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&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 kg={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},zg=!1,jg=/[A-Z]|^ms/g,Yg=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Lu=function(t){return t.charCodeAt(1)===45},Wu=function(t){return t!=null&&typeof t!="boolean"},Bi=Tg(function(e){return Lu(e)?e:e.replace(jg,"-$&").toLowerCase()}),Xu=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(Yg,function(r,i,o){return je={name:i,styles:o,next:je},i})}return kg[t]!==1&&!Lu(t)&&typeof n=="number"&&n!==0?n+"px":n},Jg="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function sn(e,t,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var i=n;if(i.anim===1)return je={name:i.name,styles:i.styles,next:je},i.name;var o=n;if(o.styles!==void 0){var s=o.next;if(s!==void 0)for(;s!==void 0;)je={name:s.name,styles:s.styles,next:je},s=s.next;var u=o.styles+";";return u}return Ug(e,t,n)}case"function":{if(e!==void 0){var a=je,l=n(e);return je=a,sn(e,t,l)}break}}var c=n;return c}function Ug(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=sn(e,t,n[i])+";";else for(var o in n){var s=n[o];if(typeof s!="object"){var u=s;Wu(u)&&(r+=Bi(o)+":"+Xu(o,u)+";")}else{if(o==="NO_COMPONENT_SELECTOR"&&zg)throw new Error(Jg);if(Array.isArray(s)&&typeof s[0]=="string"&&t==null)for(var a=0;a<s.length;a++)Wu(s[a])&&(r+=Bi(o)+":"+Xu(o,s[a])+";");else{var l=sn(e,t,s);switch(o){case"animation":case"animationName":{r+=Bi(o)+":"+l+";";break}default:r+=o+"{"+l+"}"}}}}return r}var Zu=/label:\s*([^\s;\n{]+)\s*(;|$)/g,je;function Hu(e,t,n){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,i="";je=void 0;var o=e[0];if(o==null||o.raw===void 0)r=!1,i+=sn(n,t,o);else{var s=o;i+=s[0]}for(var u=1;u<e.length;u++)if(i+=sn(n,t,e[u]),r){var a=o;i+=a[u]}Zu.lastIndex=0;for(var l="",c;(c=Zu.exec(i))!==null;)l+="-"+c[1];var d=Hg(i)+l;return{name:d,styles:i,next:je}}var _g=function(t){return t()},Qg=Z.useInsertionEffect?Z.useInsertionEffect:!1,Kg=Qg||_g,$g=!1,ku=Z.createContext(typeof HTMLElement<"u"?Bg({key:"css"}):null);ku.Provider;var qg=function(t){return x.forwardRef(function(n,r){var i=x.useContext(ku);return t(n,i,r)})},eb=Z.createContext({}),Gi={}.hasOwnProperty,Oi="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",tb=function(t,n){var r={};for(var i in n)Gi.call(n,i)&&(r[i]=n[i]);return r[Oi]=t,r},nb=function(t){var n=t.cache,r=t.serialized,i=t.isStringTag;return Ru(n,r,i),Kg(function(){return Zg(n,r,i)}),null},rb=qg(function(e,t,n){var r=e.css;typeof r=="string"&&t.registered[r]!==void 0&&(r=t.registered[r]);var i=e[Oi],o=[r],s="";typeof e.className=="string"?s=Xg(t.registered,o,e.className):e.className!=null&&(s=e.className+" ");var u=Hu(o,void 0,Z.useContext(eb));s+=t.key+"-"+u.name;var a={};for(var l in e)Gi.call(e,l)&&l!=="css"&&l!==Oi&&!$g&&(a[l]=e[l]);return a.className=s,n&&(a.ref=n),Z.createElement(Z.Fragment,null,Z.createElement(nb,{cache:t,serialized:u,isStringTag:typeof i=="string"}),Z.createElement(i,a))}),ib=rb,F=function(t,n){var r=arguments;if(n==null||!Gi.call(n,"css"))return Z.createElement.apply(void 0,r);var i=r.length,o=new Array(i);o[0]=ib,o[1]=tb(t,n);for(var s=2;s<i;s++)o[s]=r[s];return Z.createElement.apply(null,o)};function Ni(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Hu(t)}var ob=function(){var t=Ni.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 sb(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}const ab=Math.min,ub=Math.max,Jn=Math.round,Un=Math.floor,_n=e=>({x:e,y:e});function lb(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function zu(e){return Yu(e)?(e.nodeName||"").toLowerCase():"#document"}function tt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ju(e){var t;return(t=(Yu(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Yu(e){return e instanceof Node||e instanceof tt(e).Node}function cb(e){return e instanceof Element||e instanceof tt(e).Element}function Ri(e){return e instanceof HTMLElement||e instanceof tt(e).HTMLElement}function Ju(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof tt(e).ShadowRoot}function Uu(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=Li(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(i)}function db(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function fb(e){return["html","body","#document"].includes(zu(e))}function Li(e){return tt(e).getComputedStyle(e)}function hb(e){if(zu(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Ju(e)&&e.host||ju(e);return Ju(t)?t.host:t}function _u(e){const t=hb(e);return fb(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ri(t)&&Uu(t)?t:_u(t)}function Qn(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const i=_u(e),o=i===((r=e.ownerDocument)==null?void 0:r.body),s=tt(i);return o?t.concat(s,s.visualViewport||[],Uu(i)?i:[],s.frameElement&&n?Qn(s.frameElement):[]):t.concat(i,Qn(i,[],n))}function pb(e){const t=Li(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=Ri(e),o=i?e.offsetWidth:n,s=i?e.offsetHeight:r,u=Jn(n)!==o||Jn(r)!==s;return u&&(n=o,r=s),{width:n,height:r,$:u}}function Wi(e){return cb(e)?e:e.contextElement}function Qu(e){const t=Wi(e);if(!Ri(t))return _n(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:o}=pb(t);let s=(o?Jn(n.width):n.width)/r,u=(o?Jn(n.height):n.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!u||!Number.isFinite(u))&&(u=1),{x:s,y:u}}const mb=_n(0);function gb(e){const t=tt(e);return!db()||!t.visualViewport?mb:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function bb(e,t,n){return!1}function Ku(e,t,n,r){t===void 0&&(t=!1);const i=e.getBoundingClientRect(),o=Wi(e);let s=_n(1);t&&(s=Qu(e));const u=bb()?gb(o):_n(0);let a=(i.left+u.x)/s.x,l=(i.top+u.y)/s.y,c=i.width/s.x,d=i.height/s.y;if(o){const f=tt(o),p=r;let b=f,g=b.frameElement;for(;g&&r&&p!==b;){const v=Qu(g),C=g.getBoundingClientRect(),y=Li(g),m=C.left+(g.clientLeft+parseFloat(y.paddingLeft))*v.x,I=C.top+(g.clientTop+parseFloat(y.paddingTop))*v.y;a*=v.x,l*=v.y,c*=v.x,d*=v.y,a+=m,l+=I,b=tt(g),g=b.frameElement}}return lb({width:c,height:d,x:a,y:l})}function vb(e,t){let n=null,r;const i=ju(e);function o(){var u;clearTimeout(r),(u=n)==null||u.disconnect(),n=null}function s(u,a){u===void 0&&(u=!1),a===void 0&&(a=1),o();const{left:l,top:c,width:d,height:f}=e.getBoundingClientRect();if(u||t(),!d||!f)return;const p=Un(c),b=Un(i.clientWidth-(l+d)),g=Un(i.clientHeight-(c+f)),v=Un(l),y={rootMargin:-p+"px "+-b+"px "+-g+"px "+-v+"px",threshold:ub(0,ab(1,a))||1};let m=!0;function I(h){const S=h[0].intersectionRatio;if(S!==a){if(!m)return s();S?s(!1,S):r=setTimeout(()=>{s(!1,1e-7)},1e3)}m=!1}try{n=new IntersectionObserver(I,{...y,root:i.ownerDocument})}catch{n=new IntersectionObserver(I,y)}n.observe(e)}return s(!0),o}function yb(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:u=typeof IntersectionObserver=="function",animationFrame:a=!1}=r,l=Wi(e),c=i||o?[...l?Qn(l):[],...Qn(t)]:[];c.forEach(C=>{i&&C.addEventListener("scroll",n,{passive:!0}),o&&C.addEventListener("resize",n)});const d=l&&u?vb(l,n):null;let f=-1,p=null;s&&(p=new ResizeObserver(C=>{let[y]=C;y&&y.target===l&&p&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var m;(m=p)==null||m.observe(t)})),n()}),l&&!a&&p.observe(l),p.observe(t));let b,g=a?Ku(e):null;a&&v();function v(){const C=Ku(e);g&&(C.x!==g.x||C.y!==g.y||C.width!==g.width||C.height!==g.height)&&n(),g=C,b=requestAnimationFrame(v)}return n(),()=>{var C;c.forEach(y=>{i&&y.removeEventListener("scroll",n),o&&y.removeEventListener("resize",n)}),d==null||d(),(C=p)==null||C.disconnect(),p=null,a&&cancelAnimationFrame(b)}}var Xi=x.useLayoutEffect,Cb=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],Kn=function(){};function Ib(e,t){return t?t[0]==="-"?e+t:e+"__"+t:e}function xb(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var o=[].concat(r);if(t&&e)for(var s in t)t.hasOwnProperty(s)&&t[s]&&o.push("".concat(Ib(e,s)));return o.filter(function(u){return u}).map(function(u){return String(u).trim()}).join(" ")}var $u=function(t){return Fb(t)?t.filter(Boolean):yt(t)==="object"&&t!==null?[t]:[]},qu=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=et(t,Cb);return B({},n)},ue=function(t,n,r){var i=t.cx,o=t.getStyles,s=t.getClassNames,u=t.className;return{css:o(n,t),className:i(r??{},s(n,t),u)}};function $n(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function Ab(e){return $n(e)?window.innerHeight:e.clientHeight}function el(e){return $n(e)?window.pageYOffset:e.scrollTop}function qn(e,t){if($n(e)){window.scrollTo(0,t);return}e.scrollTop=t}function Sb(e){var t=getComputedStyle(e),n=t.position==="absolute",r=/(auto|scroll)/;if(t.position==="fixed")return document.documentElement;for(var i=e;i=i.parentElement;)if(t=getComputedStyle(i),!(n&&t.position==="static")&&r.test(t.overflow+t.overflowY+t.overflowX))return i;return document.documentElement}function Tb(e,t,n,r){return n*((e=e/r-1)*e*e+1)+t}function er(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:Kn,i=el(e),o=t-i,s=10,u=0;function a(){u+=s;var l=Tb(u,i,o,n);qn(e,l),u<n?window.requestAnimationFrame(a):r(e)}a()}function tl(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),i=t.offsetHeight/3;r.bottom+i>n.bottom?qn(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+i,e.scrollHeight)):r.top-i<n.top&&qn(e,Math.max(t.offsetTop-i,0))}function Eb(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 nl(){try{return document.createEvent("TouchEvent"),!0}catch{return!1}}function Pb(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}var rl=!1,wb={get passive(){return rl=!0}},tr=typeof window<"u"?window:{};tr.addEventListener&&tr.removeEventListener&&(tr.addEventListener("p",Kn,wb),tr.removeEventListener("p",Kn,!1));var Vb=rl;function Db(e){return e!=null}function Fb(e){return Array.isArray(e)}function nr(e,t,n){return e?t:n}function by(e){return e}function vy(e){return e}var Mb=function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];var o=Object.entries(t).filter(function(s){var u=qe(s,1),a=u[0];return!r.includes(a)});return o.reduce(function(s,u){var a=qe(u,2),l=a[0],c=a[1];return s[l]=c,s},{})},Bb=["children","innerProps"],Gb=["children","innerProps"];function Ob(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,i=e.placement,o=e.shouldScroll,s=e.isFixedPosition,u=e.controlHeight,a=Sb(n),l={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return l;var c=a.getBoundingClientRect(),d=c.height,f=n.getBoundingClientRect(),p=f.bottom,b=f.height,g=f.top,v=n.offsetParent.getBoundingClientRect(),C=v.top,y=s?window.innerHeight:Ab(a),m=el(a),I=parseInt(getComputedStyle(n).marginBottom,10),h=parseInt(getComputedStyle(n).marginTop,10),S=C-h,T=y-g,P=S+m,M=d-m-g,X=p-y+m+I,U=m+g-h,ne=160;switch(i){case"auto":case"bottom":if(T>=b)return{placement:"bottom",maxHeight:t};if(M>=b&&!s)return o&&er(a,X,ne),{placement:"bottom",maxHeight:t};if(!s&&M>=r||s&&T>=r){o&&er(a,X,ne);var de=s?T-I:M-I;return{placement:"bottom",maxHeight:de}}if(i==="auto"||s){var oe=t,k=s?S:P;return k>=r&&(oe=Math.min(k-I-u,t)),{placement:"top",maxHeight:oe}}if(i==="bottom")return o&&qn(a,X),{placement:"bottom",maxHeight:t};break;case"top":if(S>=b)return{placement:"top",maxHeight:t};if(P>=b&&!s)return o&&er(a,U,ne),{placement:"top",maxHeight:t};if(!s&&P>=r||s&&S>=r){var z=t;return(!s&&P>=r||s&&S>=r)&&(z=s?S-h:P-h),o&&er(a,U,ne),{placement:"top",maxHeight:z}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(i,'".'))}return l}function Nb(e){var t={bottom:"top",top:"bottom"};return e?t[e]:"bottom"}var il=function(t){return t==="auto"?"bottom":t},Rb=function(t,n){var r,i=t.placement,o=t.theme,s=o.borderRadius,u=o.spacing,a=o.colors;return B((r={label:"menu"},en(r,Nb(i),"100%"),en(r,"position","absolute"),en(r,"width","100%"),en(r,"zIndex",1),r),n?{}:{backgroundColor:a.neutral0,borderRadius:s,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})},ol=x.createContext(null),Lb=function(t){var n=t.children,r=t.minMenuHeight,i=t.maxMenuHeight,o=t.menuPlacement,s=t.menuPosition,u=t.menuShouldScrollIntoView,a=t.theme,l=x.useContext(ol)||{},c=l.setPortalPlacement,d=x.useRef(null),f=x.useState(i),p=qe(f,2),b=p[0],g=p[1],v=x.useState(null),C=qe(v,2),y=C[0],m=C[1],I=a.spacing.controlHeight;return Xi(function(){var h=d.current;if(h){var S=s==="fixed",T=u&&!S,P=Ob({maxHeight:i,menuEl:h,minHeight:r,placement:o,shouldScroll:T,isFixedPosition:S,controlHeight:I});g(P.maxHeight),m(P.placement),c==null||c(P.placement)}},[i,o,s,u,r,c,I]),n({ref:d,placerProps:B(B({},t),{},{placement:y||il(o),maxHeight:b})})},Wb=function(t){var n=t.children,r=t.innerRef,i=t.innerProps;return F("div",L({},ue(t,"menu",{menu:!0}),{ref:r},i),n)},Xb=Wb,Zb=function(t,n){var r=t.maxHeight,i=t.theme.spacing.baseUnit;return B({maxHeight:r,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},n?{}:{paddingBottom:i,paddingTop:i})},Hb=function(t){var n=t.children,r=t.innerProps,i=t.innerRef,o=t.isMulti;return F("div",L({},ue(t,"menuList",{"menu-list":!0,"menu-list--is-multi":o}),{ref:i},r),n)},sl=function(t,n){var r=t.theme,i=r.spacing.baseUnit,o=r.colors;return B({textAlign:"center"},n?{}:{color:o.neutral40,padding:"".concat(i*2,"px ").concat(i*3,"px")})},kb=sl,zb=sl,jb=function(t){var n=t.children,r=n===void 0?"No options":n,i=t.innerProps,o=et(t,Bb);return F("div",L({},ue(B(B({},o),{},{children:r,innerProps:i}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),i),r)},Yb=function(t){var n=t.children,r=n===void 0?"Loading...":n,i=t.innerProps,o=et(t,Gb);return F("div",L({},ue(B(B({},o),{},{children:r,innerProps:i}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),i),r)},Jb=function(t){var n=t.rect,r=t.offset,i=t.position;return{left:n.left,position:i,top:r,width:n.width,zIndex:1}},Ub=function(t){var n=t.appendTo,r=t.children,i=t.controlElement,o=t.innerProps,s=t.menuPlacement,u=t.menuPosition,a=x.useRef(null),l=x.useRef(null),c=x.useState(il(s)),d=qe(c,2),f=d[0],p=d[1],b=x.useMemo(function(){return{setPortalPlacement:p}},[]),g=x.useState(null),v=qe(g,2),C=v[0],y=v[1],m=x.useCallback(function(){if(i){var T=Eb(i),P=u==="fixed"?0:window.pageYOffset,M=T[f]+P;(M!==(C==null?void 0:C.offset)||T.left!==(C==null?void 0:C.rect.left)||T.width!==(C==null?void 0:C.rect.width))&&y({offset:M,rect:T})}},[i,u,f,C==null?void 0:C.offset,C==null?void 0:C.rect.left,C==null?void 0:C.rect.width]);Xi(function(){m()},[m]);var I=x.useCallback(function(){typeof l.current=="function"&&(l.current(),l.current=null),i&&a.current&&(l.current=yb(i,a.current,m,{elementResize:"ResizeObserver"in window}))},[i,m]);Xi(function(){I()},[I]);var h=x.useCallback(function(T){a.current=T,I()},[I]);if(!n&&u!=="fixed"||!C)return null;var S=F("div",L({ref:h},ue(B(B({},t),{},{offset:C.offset,position:u,rect:C.rect}),"menuPortal",{"menu-portal":!0}),o),r);return F(ol.Provider,{value:b},n?Re.createPortal(S,n):S)},_b=function(t){var n=t.isDisabled,r=t.isRtl;return{label:"container",direction:r?"rtl":void 0,pointerEvents:n?"none":void 0,position:"relative"}},Qb=function(t){var n=t.children,r=t.innerProps,i=t.isDisabled,o=t.isRtl;return F("div",L({},ue(t,"container",{"--is-disabled":i,"--is-rtl":o}),r),n)},Kb=function(t,n){var r=t.theme.spacing,i=t.isMulti,o=t.hasValue,s=t.selectProps.controlShouldRenderValue;return B({alignItems:"center",display:i&&o&&s?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},n?{}:{padding:"".concat(r.baseUnit/2,"px ").concat(r.baseUnit*2,"px")})},$b=function(t){var n=t.children,r=t.innerProps,i=t.isMulti,o=t.hasValue;return F("div",L({},ue(t,"valueContainer",{"value-container":!0,"value-container--is-multi":i,"value-container--has-value":o}),r),n)},qb=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},e0=function(t){var n=t.children,r=t.innerProps;return F("div",L({},ue(t,"indicatorsContainer",{indicators:!0}),r),n)},al,t0=["size"],n0=["innerProps","isRtl","size"];function r0(){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 i0=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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lLFxuICBDU1NPYmplY3RXaXRoTGFiZWwsXG4gIEdyb3VwQ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N0YXRlIG9mIHRoZSBzZWxlY3QuICovXG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbiAgaXNEaXNhYmxlZDogYm9vbGVhbjtcbiAgLyoqIFNldCBzaXplIG9mIHRoZSBjb250YWluZXIuICovXG4gIHNpemU6IG51bWJlcjtcbn1cbmV4cG9ydCBjb25zdCBMb2FkaW5nSW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KHtcbiAgaW5uZXJQcm9wcyxcbiAgaXNSdGwsXG4gIHNpemUgPSA0LFxuICAuLi5yZXN0UHJvcHNcbn06IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPikgPT4ge1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKFxuICAgICAgICB7IC4uLnJlc3RQcm9wcywgaW5uZXJQcm9wcywgaXNSdGwsIHNpemUgfSxcbiAgICAgICAgJ2xvYWRpbmdJbmRpY2F0b3InLFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdsb2FkaW5nLWluZGljYXRvcic6IHRydWUsXG4gICAgICAgIH1cbiAgICAgICl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MH0gb2Zmc2V0PXtpc1J0bH0gLz5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXsxNjB9IG9mZnNldCAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezMyMH0gb2Zmc2V0PXshaXNSdGx9IC8+XG4gICAgPC9kaXY+XG4gICk7XG59O1xuIl19 */",toString:r0},ul=function(t){var n=t.size,r=et(t,t0);return F("svg",L({height:n,width:n,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:i0},r))},Zi=function(t){return F(ul,L({size:20},t),F("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"}))},ll=function(t){return F(ul,L({size:20},t),F("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"}))},cl=function(t,n){var r=t.isFocused,i=t.theme,o=i.spacing.baseUnit,s=i.colors;return B({label:"indicatorContainer",display:"flex",transition:"color 150ms"},n?{}:{color:r?s.neutral60:s.neutral20,padding:o*2,":hover":{color:r?s.neutral80:s.neutral40}})},o0=cl,s0=function(t){var n=t.children,r=t.innerProps;return F("div",L({},ue(t,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),r),n||F(ll,null))},a0=cl,u0=function(t){var n=t.children,r=t.innerProps;return F("div",L({},ue(t,"clearIndicator",{indicator:!0,"clear-indicator":!0}),r),n||F(Zi,null))},l0=function(t,n){var r=t.isDisabled,i=t.theme,o=i.spacing.baseUnit,s=i.colors;return B({label:"indicatorSeparator",alignSelf:"stretch",width:1},n?{}:{backgroundColor:r?s.neutral10:s.neutral20,marginBottom:o*2,marginTop:o*2})},c0=function(t){var n=t.innerProps;return F("span",L({},n,ue(t,"indicatorSeparator",{"indicator-separator":!0})))},d0=ob(al||(al=sb([`
|
|
50
|
+
*/var Gu;function Og(){return Gu||(Gu=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,r=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,s=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,p=e?Symbol.for("react.memo"):60115,b=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,v=e?Symbol.for("react.fundamental"):60117,C=e?Symbol.for("react.responder"):60118,y=e?Symbol.for("react.scope"):60119;function m(A){return typeof A=="string"||typeof A=="function"||A===r||A===l||A===o||A===i||A===d||A===f||typeof A=="object"&&A!==null&&(A.$$typeof===b||A.$$typeof===p||A.$$typeof===s||A.$$typeof===u||A.$$typeof===c||A.$$typeof===v||A.$$typeof===C||A.$$typeof===y||A.$$typeof===g)}function I(A){if(typeof A=="object"&&A!==null){var xe=A.$$typeof;switch(xe){case t:var Be=A.type;switch(Be){case a:case l:case r:case o:case i:case d:return Be;default:var Ct=Be&&Be.$$typeof;switch(Ct){case u:case c:case b:case p:case s:return Ct;default:return xe}}case n:return xe}}}var h=a,S=l,T=u,P=s,M=t,X=c,U=r,ne=b,de=p,oe=n,k=o,z=i,re=d,ie=!1;function be(A){return ie||(ie=!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.")),E(A)||I(A)===a}function E(A){return I(A)===l}function V(A){return I(A)===u}function D(A){return I(A)===s}function G(A){return typeof A=="object"&&A!==null&&A.$$typeof===t}function O(A){return I(A)===c}function j(A){return I(A)===r}function N(A){return I(A)===b}function W(A){return I(A)===p}function H(A){return I(A)===n}function Y(A){return I(A)===o}function J(A){return I(A)===i}function fe(A){return I(A)===d}te.AsyncMode=h,te.ConcurrentMode=S,te.ContextConsumer=T,te.ContextProvider=P,te.Element=M,te.ForwardRef=X,te.Fragment=U,te.Lazy=ne,te.Memo=de,te.Portal=oe,te.Profiler=k,te.StrictMode=z,te.Suspense=re,te.isAsyncMode=be,te.isConcurrentMode=E,te.isContextConsumer=V,te.isContextProvider=D,te.isElement=G,te.isForwardRef=O,te.isFragment=j,te.isLazy=N,te.isMemo=W,te.isPortal=H,te.isProfiler=Y,te.isStrictMode=J,te.isSuspense=fe,te.isValidElementType=m,te.typeOf=I}()),te}process.env.NODE_ENV==="production"?Mi.exports=Gg():Mi.exports=Og();var Ng=Mi.exports,Ou=Ng,Rg={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Lg={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Nu={};Nu[Ou.ForwardRef]=Rg,Nu[Ou.Memo]=Lg;var Wg=!0;function Xg(e,t,n){var r="";return n.split(" ").forEach(function(i){e[i]!==void 0?t.push(e[i]+";"):r+=i+" "}),r}var Ru=function(t,n,r){var i=t.key+"-"+n.name;(r===!1||Wg===!1)&&t.registered[i]===void 0&&(t.registered[i]=n.styles)},Zg=function(t,n,r){Ru(t,n,r);var i=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var o=n;do t.insert(n===o?"."+i:"",o,t.sheet,!0),o=o.next;while(o!==void 0)}};function Hg(e){for(var t=0,n,r=0,i=e.length;i>=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&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(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&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 kg={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},zg=!1,jg=/[A-Z]|^ms/g,Yg=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Lu=function(t){return t.charCodeAt(1)===45},Wu=function(t){return t!=null&&typeof t!="boolean"},Bi=Tg(function(e){return Lu(e)?e:e.replace(jg,"-$&").toLowerCase()}),Xu=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(Yg,function(r,i,o){return je={name:i,styles:o,next:je},i})}return kg[t]!==1&&!Lu(t)&&typeof n=="number"&&n!==0?n+"px":n},Jg="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function sn(e,t,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var i=n;if(i.anim===1)return je={name:i.name,styles:i.styles,next:je},i.name;var o=n;if(o.styles!==void 0){var s=o.next;if(s!==void 0)for(;s!==void 0;)je={name:s.name,styles:s.styles,next:je},s=s.next;var u=o.styles+";";return u}return Ug(e,t,n)}case"function":{if(e!==void 0){var a=je,l=n(e);return je=a,sn(e,t,l)}break}}var c=n;return c}function Ug(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=sn(e,t,n[i])+";";else for(var o in n){var s=n[o];if(typeof s!="object"){var u=s;Wu(u)&&(r+=Bi(o)+":"+Xu(o,u)+";")}else{if(o==="NO_COMPONENT_SELECTOR"&&zg)throw new Error(Jg);if(Array.isArray(s)&&typeof s[0]=="string"&&t==null)for(var a=0;a<s.length;a++)Wu(s[a])&&(r+=Bi(o)+":"+Xu(o,s[a])+";");else{var l=sn(e,t,s);switch(o){case"animation":case"animationName":{r+=Bi(o)+":"+l+";";break}default:r+=o+"{"+l+"}"}}}}return r}var Zu=/label:\s*([^\s;\n{]+)\s*(;|$)/g,je;function Hu(e,t,n){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,i="";je=void 0;var o=e[0];if(o==null||o.raw===void 0)r=!1,i+=sn(n,t,o);else{var s=o;i+=s[0]}for(var u=1;u<e.length;u++)if(i+=sn(n,t,e[u]),r){var a=o;i+=a[u]}Zu.lastIndex=0;for(var l="",c;(c=Zu.exec(i))!==null;)l+="-"+c[1];var d=Hg(i)+l;return{name:d,styles:i,next:je}}var _g=function(t){return t()},Qg=Z.useInsertionEffect?Z.useInsertionEffect:!1,Kg=Qg||_g,$g=!1,ku=Z.createContext(typeof HTMLElement<"u"?Bg({key:"css"}):null);ku.Provider;var qg=function(t){return x.forwardRef(function(n,r){var i=x.useContext(ku);return t(n,i,r)})},eb=Z.createContext({}),Gi={}.hasOwnProperty,Oi="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",tb=function(t,n){var r={};for(var i in n)Gi.call(n,i)&&(r[i]=n[i]);return r[Oi]=t,r},nb=function(t){var n=t.cache,r=t.serialized,i=t.isStringTag;return Ru(n,r,i),Kg(function(){return Zg(n,r,i)}),null},rb=qg(function(e,t,n){var r=e.css;typeof r=="string"&&t.registered[r]!==void 0&&(r=t.registered[r]);var i=e[Oi],o=[r],s="";typeof e.className=="string"?s=Xg(t.registered,o,e.className):e.className!=null&&(s=e.className+" ");var u=Hu(o,void 0,Z.useContext(eb));s+=t.key+"-"+u.name;var a={};for(var l in e)Gi.call(e,l)&&l!=="css"&&l!==Oi&&!$g&&(a[l]=e[l]);return a.className=s,n&&(a.ref=n),Z.createElement(Z.Fragment,null,Z.createElement(nb,{cache:t,serialized:u,isStringTag:typeof i=="string"}),Z.createElement(i,a))}),ib=rb,F=function(t,n){var r=arguments;if(n==null||!Gi.call(n,"css"))return Z.createElement.apply(void 0,r);var i=r.length,o=new Array(i);o[0]=ib,o[1]=tb(t,n);for(var s=2;s<i;s++)o[s]=r[s];return Z.createElement.apply(null,o)};function Ni(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Hu(t)}var ob=function(){var t=Ni.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 sb(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}const ab=Math.min,ub=Math.max,Jn=Math.round,Un=Math.floor,_n=e=>({x:e,y:e});function lb(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function zu(e){return Yu(e)?(e.nodeName||"").toLowerCase():"#document"}function tt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ju(e){var t;return(t=(Yu(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Yu(e){return e instanceof Node||e instanceof tt(e).Node}function cb(e){return e instanceof Element||e instanceof tt(e).Element}function Ri(e){return e instanceof HTMLElement||e instanceof tt(e).HTMLElement}function Ju(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof tt(e).ShadowRoot}function Uu(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=Li(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(i)}function db(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function fb(e){return["html","body","#document"].includes(zu(e))}function Li(e){return tt(e).getComputedStyle(e)}function hb(e){if(zu(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Ju(e)&&e.host||ju(e);return Ju(t)?t.host:t}function _u(e){const t=hb(e);return fb(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ri(t)&&Uu(t)?t:_u(t)}function Qn(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const i=_u(e),o=i===((r=e.ownerDocument)==null?void 0:r.body),s=tt(i);return o?t.concat(s,s.visualViewport||[],Uu(i)?i:[],s.frameElement&&n?Qn(s.frameElement):[]):t.concat(i,Qn(i,[],n))}function pb(e){const t=Li(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=Ri(e),o=i?e.offsetWidth:n,s=i?e.offsetHeight:r,u=Jn(n)!==o||Jn(r)!==s;return u&&(n=o,r=s),{width:n,height:r,$:u}}function Wi(e){return cb(e)?e:e.contextElement}function Qu(e){const t=Wi(e);if(!Ri(t))return _n(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:o}=pb(t);let s=(o?Jn(n.width):n.width)/r,u=(o?Jn(n.height):n.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!u||!Number.isFinite(u))&&(u=1),{x:s,y:u}}const mb=_n(0);function gb(e){const t=tt(e);return!db()||!t.visualViewport?mb:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function bb(e,t,n){return!1}function Ku(e,t,n,r){t===void 0&&(t=!1);const i=e.getBoundingClientRect(),o=Wi(e);let s=_n(1);t&&(s=Qu(e));const u=bb()?gb(o):_n(0);let a=(i.left+u.x)/s.x,l=(i.top+u.y)/s.y,c=i.width/s.x,d=i.height/s.y;if(o){const f=tt(o),p=r;let b=f,g=b.frameElement;for(;g&&r&&p!==b;){const v=Qu(g),C=g.getBoundingClientRect(),y=Li(g),m=C.left+(g.clientLeft+parseFloat(y.paddingLeft))*v.x,I=C.top+(g.clientTop+parseFloat(y.paddingTop))*v.y;a*=v.x,l*=v.y,c*=v.x,d*=v.y,a+=m,l+=I,b=tt(g),g=b.frameElement}}return lb({width:c,height:d,x:a,y:l})}function vb(e,t){let n=null,r;const i=ju(e);function o(){var u;clearTimeout(r),(u=n)==null||u.disconnect(),n=null}function s(u,a){u===void 0&&(u=!1),a===void 0&&(a=1),o();const{left:l,top:c,width:d,height:f}=e.getBoundingClientRect();if(u||t(),!d||!f)return;const p=Un(c),b=Un(i.clientWidth-(l+d)),g=Un(i.clientHeight-(c+f)),v=Un(l),y={rootMargin:-p+"px "+-b+"px "+-g+"px "+-v+"px",threshold:ub(0,ab(1,a))||1};let m=!0;function I(h){const S=h[0].intersectionRatio;if(S!==a){if(!m)return s();S?s(!1,S):r=setTimeout(()=>{s(!1,1e-7)},1e3)}m=!1}try{n=new IntersectionObserver(I,{...y,root:i.ownerDocument})}catch{n=new IntersectionObserver(I,y)}n.observe(e)}return s(!0),o}function yb(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:u=typeof IntersectionObserver=="function",animationFrame:a=!1}=r,l=Wi(e),c=i||o?[...l?Qn(l):[],...Qn(t)]:[];c.forEach(C=>{i&&C.addEventListener("scroll",n,{passive:!0}),o&&C.addEventListener("resize",n)});const d=l&&u?vb(l,n):null;let f=-1,p=null;s&&(p=new ResizeObserver(C=>{let[y]=C;y&&y.target===l&&p&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var m;(m=p)==null||m.observe(t)})),n()}),l&&!a&&p.observe(l),p.observe(t));let b,g=a?Ku(e):null;a&&v();function v(){const C=Ku(e);g&&(C.x!==g.x||C.y!==g.y||C.width!==g.width||C.height!==g.height)&&n(),g=C,b=requestAnimationFrame(v)}return n(),()=>{var C;c.forEach(y=>{i&&y.removeEventListener("scroll",n),o&&y.removeEventListener("resize",n)}),d==null||d(),(C=p)==null||C.disconnect(),p=null,a&&cancelAnimationFrame(b)}}var Xi=x.useLayoutEffect,Cb=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],Kn=function(){};function Ib(e,t){return t?t[0]==="-"?e+t:e+"__"+t:e}function xb(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var o=[].concat(r);if(t&&e)for(var s in t)t.hasOwnProperty(s)&&t[s]&&o.push("".concat(Ib(e,s)));return o.filter(function(u){return u}).map(function(u){return String(u).trim()}).join(" ")}var $u=function(t){return Fb(t)?t.filter(Boolean):yt(t)==="object"&&t!==null?[t]:[]},qu=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=et(t,Cb);return B({},n)},ue=function(t,n,r){var i=t.cx,o=t.getStyles,s=t.getClassNames,u=t.className;return{css:o(n,t),className:i(r??{},s(n,t),u)}};function $n(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function Ab(e){return $n(e)?window.innerHeight:e.clientHeight}function el(e){return $n(e)?window.pageYOffset:e.scrollTop}function qn(e,t){if($n(e)){window.scrollTo(0,t);return}e.scrollTop=t}function Sb(e){var t=getComputedStyle(e),n=t.position==="absolute",r=/(auto|scroll)/;if(t.position==="fixed")return document.documentElement;for(var i=e;i=i.parentElement;)if(t=getComputedStyle(i),!(n&&t.position==="static")&&r.test(t.overflow+t.overflowY+t.overflowX))return i;return document.documentElement}function Tb(e,t,n,r){return n*((e=e/r-1)*e*e+1)+t}function er(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:Kn,i=el(e),o=t-i,s=10,u=0;function a(){u+=s;var l=Tb(u,i,o,n);qn(e,l),u<n?window.requestAnimationFrame(a):r(e)}a()}function tl(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),i=t.offsetHeight/3;r.bottom+i>n.bottom?qn(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+i,e.scrollHeight)):r.top-i<n.top&&qn(e,Math.max(t.offsetTop-i,0))}function Eb(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 nl(){try{return document.createEvent("TouchEvent"),!0}catch{return!1}}function Pb(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}var rl=!1,wb={get passive(){return rl=!0}},tr=typeof window<"u"?window:{};tr.addEventListener&&tr.removeEventListener&&(tr.addEventListener("p",Kn,wb),tr.removeEventListener("p",Kn,!1));var Vb=rl;function Db(e){return e!=null}function Fb(e){return Array.isArray(e)}function nr(e,t,n){return e?t:n}function by(e){return e}function vy(e){return e}var Mb=function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];var o=Object.entries(t).filter(function(s){var u=qe(s,1),a=u[0];return!r.includes(a)});return o.reduce(function(s,u){var a=qe(u,2),l=a[0],c=a[1];return s[l]=c,s},{})},Bb=["children","innerProps"],Gb=["children","innerProps"];function Ob(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,i=e.placement,o=e.shouldScroll,s=e.isFixedPosition,u=e.controlHeight,a=Sb(n),l={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return l;var c=a.getBoundingClientRect(),d=c.height,f=n.getBoundingClientRect(),p=f.bottom,b=f.height,g=f.top,v=n.offsetParent.getBoundingClientRect(),C=v.top,y=s?window.innerHeight:Ab(a),m=el(a),I=parseInt(getComputedStyle(n).marginBottom,10),h=parseInt(getComputedStyle(n).marginTop,10),S=C-h,T=y-g,P=S+m,M=d-m-g,X=p-y+m+I,U=m+g-h,ne=160;switch(i){case"auto":case"bottom":if(T>=b)return{placement:"bottom",maxHeight:t};if(M>=b&&!s)return o&&er(a,X,ne),{placement:"bottom",maxHeight:t};if(!s&&M>=r||s&&T>=r){o&&er(a,X,ne);var de=s?T-I:M-I;return{placement:"bottom",maxHeight:de}}if(i==="auto"||s){var oe=t,k=s?S:P;return k>=r&&(oe=Math.min(k-I-u,t)),{placement:"top",maxHeight:oe}}if(i==="bottom")return o&&qn(a,X),{placement:"bottom",maxHeight:t};break;case"top":if(S>=b)return{placement:"top",maxHeight:t};if(P>=b&&!s)return o&&er(a,U,ne),{placement:"top",maxHeight:t};if(!s&&P>=r||s&&S>=r){var z=t;return(!s&&P>=r||s&&S>=r)&&(z=s?S-h:P-h),o&&er(a,U,ne),{placement:"top",maxHeight:z}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(i,'".'))}return l}function Nb(e){var t={bottom:"top",top:"bottom"};return e?t[e]:"bottom"}var il=function(t){return t==="auto"?"bottom":t},Rb=function(t,n){var r,i=t.placement,o=t.theme,s=o.borderRadius,u=o.spacing,a=o.colors;return B((r={label:"menu"},en(r,Nb(i),"100%"),en(r,"position","absolute"),en(r,"width","100%"),en(r,"zIndex",1),r),n?{}:{backgroundColor:a.neutral0,borderRadius:s,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})},ol=x.createContext(null),Lb=function(t){var n=t.children,r=t.minMenuHeight,i=t.maxMenuHeight,o=t.menuPlacement,s=t.menuPosition,u=t.menuShouldScrollIntoView,a=t.theme,l=x.useContext(ol)||{},c=l.setPortalPlacement,d=x.useRef(null),f=x.useState(i),p=qe(f,2),b=p[0],g=p[1],v=x.useState(null),C=qe(v,2),y=C[0],m=C[1],I=a.spacing.controlHeight;return Xi(function(){var h=d.current;if(h){var S=s==="fixed",T=u&&!S,P=Ob({maxHeight:i,menuEl:h,minHeight:r,placement:o,shouldScroll:T,isFixedPosition:S,controlHeight:I});g(P.maxHeight),m(P.placement),c==null||c(P.placement)}},[i,o,s,u,r,c,I]),n({ref:d,placerProps:B(B({},t),{},{placement:y||il(o),maxHeight:b})})},Wb=function(t){var n=t.children,r=t.innerRef,i=t.innerProps;return F("div",L({},ue(t,"menu",{menu:!0}),{ref:r},i),n)},Xb=Wb,Zb=function(t,n){var r=t.maxHeight,i=t.theme.spacing.baseUnit;return B({maxHeight:r,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},n?{}:{paddingBottom:i,paddingTop:i})},Hb=function(t){var n=t.children,r=t.innerProps,i=t.innerRef,o=t.isMulti;return F("div",L({},ue(t,"menuList",{"menu-list":!0,"menu-list--is-multi":o}),{ref:i},r),n)},sl=function(t,n){var r=t.theme,i=r.spacing.baseUnit,o=r.colors;return B({textAlign:"center"},n?{}:{color:o.neutral40,padding:"".concat(i*2,"px ").concat(i*3,"px")})},kb=sl,zb=sl,jb=function(t){var n=t.children,r=n===void 0?"No options":n,i=t.innerProps,o=et(t,Bb);return F("div",L({},ue(B(B({},o),{},{children:r,innerProps:i}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),i),r)},Yb=function(t){var n=t.children,r=n===void 0?"Loading...":n,i=t.innerProps,o=et(t,Gb);return F("div",L({},ue(B(B({},o),{},{children:r,innerProps:i}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),i),r)},Jb=function(t){var n=t.rect,r=t.offset,i=t.position;return{left:n.left,position:i,top:r,width:n.width,zIndex:1}},Ub=function(t){var n=t.appendTo,r=t.children,i=t.controlElement,o=t.innerProps,s=t.menuPlacement,u=t.menuPosition,a=x.useRef(null),l=x.useRef(null),c=x.useState(il(s)),d=qe(c,2),f=d[0],p=d[1],b=x.useMemo(function(){return{setPortalPlacement:p}},[]),g=x.useState(null),v=qe(g,2),C=v[0],y=v[1],m=x.useCallback(function(){if(i){var T=Eb(i),P=u==="fixed"?0:window.pageYOffset,M=T[f]+P;(M!==(C==null?void 0:C.offset)||T.left!==(C==null?void 0:C.rect.left)||T.width!==(C==null?void 0:C.rect.width))&&y({offset:M,rect:T})}},[i,u,f,C==null?void 0:C.offset,C==null?void 0:C.rect.left,C==null?void 0:C.rect.width]);Xi(function(){m()},[m]);var I=x.useCallback(function(){typeof l.current=="function"&&(l.current(),l.current=null),i&&a.current&&(l.current=yb(i,a.current,m,{elementResize:"ResizeObserver"in window}))},[i,m]);Xi(function(){I()},[I]);var h=x.useCallback(function(T){a.current=T,I()},[I]);if(!n&&u!=="fixed"||!C)return null;var S=F("div",L({ref:h},ue(B(B({},t),{},{offset:C.offset,position:u,rect:C.rect}),"menuPortal",{"menu-portal":!0}),o),r);return F(ol.Provider,{value:b},n?Le.createPortal(S,n):S)},_b=function(t){var n=t.isDisabled,r=t.isRtl;return{label:"container",direction:r?"rtl":void 0,pointerEvents:n?"none":void 0,position:"relative"}},Qb=function(t){var n=t.children,r=t.innerProps,i=t.isDisabled,o=t.isRtl;return F("div",L({},ue(t,"container",{"--is-disabled":i,"--is-rtl":o}),r),n)},Kb=function(t,n){var r=t.theme.spacing,i=t.isMulti,o=t.hasValue,s=t.selectProps.controlShouldRenderValue;return B({alignItems:"center",display:i&&o&&s?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},n?{}:{padding:"".concat(r.baseUnit/2,"px ").concat(r.baseUnit*2,"px")})},$b=function(t){var n=t.children,r=t.innerProps,i=t.isMulti,o=t.hasValue;return F("div",L({},ue(t,"valueContainer",{"value-container":!0,"value-container--is-multi":i,"value-container--has-value":o}),r),n)},qb=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},e0=function(t){var n=t.children,r=t.innerProps;return F("div",L({},ue(t,"indicatorsContainer",{indicators:!0}),r),n)},al,t0=["size"],n0=["innerProps","isRtl","size"];function r0(){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 i0=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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lLFxuICBDU1NPYmplY3RXaXRoTGFiZWwsXG4gIEdyb3VwQmFzZSxcbn0gZnJvbSAnLi4vdHlwZXMnO1xuaW1wb3J0IHsgZ2V0U3R5bGVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBEcm9wZG93biAmIENsZWFyIEljb25zXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuY29uc3QgU3ZnID0gKHtcbiAgc2l6ZSxcbiAgLi4ucHJvcHNcbn06IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU6IG51bWJlciB9KSA9PiAoXG4gIDxzdmdcbiAgICBoZWlnaHQ9e3NpemV9XG4gICAgd2lkdGg9e3N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IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPikgPT4ge1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKFxuICAgICAgICB7IC4uLnJlc3RQcm9wcywgaW5uZXJQcm9wcywgaXNSdGwsIHNpemUgfSxcbiAgICAgICAgJ2xvYWRpbmdJbmRpY2F0b3InLFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdsb2FkaW5nLWluZGljYXRvcic6IHRydWUsXG4gICAgICAgIH1cbiAgICAgICl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MH0gb2Zmc2V0PXtpc1J0bH0gLz5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXsxNjB9IG9mZnNldCAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezMyMH0gb2Zmc2V0PXshaXNSdGx9IC8+XG4gICAgPC9kaXY+XG4gICk7XG59O1xuIl19 */",toString:r0},ul=function(t){var n=t.size,r=et(t,t0);return F("svg",L({height:n,width:n,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:i0},r))},Zi=function(t){return F(ul,L({size:20},t),F("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"}))},ll=function(t){return F(ul,L({size:20},t),F("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"}))},cl=function(t,n){var r=t.isFocused,i=t.theme,o=i.spacing.baseUnit,s=i.colors;return B({label:"indicatorContainer",display:"flex",transition:"color 150ms"},n?{}:{color:r?s.neutral60:s.neutral20,padding:o*2,":hover":{color:r?s.neutral80:s.neutral40}})},o0=cl,s0=function(t){var n=t.children,r=t.innerProps;return F("div",L({},ue(t,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),r),n||F(ll,null))},a0=cl,u0=function(t){var n=t.children,r=t.innerProps;return F("div",L({},ue(t,"clearIndicator",{indicator:!0,"clear-indicator":!0}),r),n||F(Zi,null))},l0=function(t,n){var r=t.isDisabled,i=t.theme,o=i.spacing.baseUnit,s=i.colors;return B({label:"indicatorSeparator",alignSelf:"stretch",width:1},n?{}:{backgroundColor:r?s.neutral10:s.neutral20,marginBottom:o*2,marginTop:o*2})},c0=function(t){var n=t.innerProps;return F("span",L({},n,ue(t,"indicatorSeparator",{"indicator-separator":!0})))},d0=ob(al||(al=sb([`
|
|
51
51
|
0%, 80%, 100% { opacity: 0; }
|
|
52
52
|
40% { opacity: 1; }
|
|
53
|
-
`]))),f0=function(t,n){var r=t.isFocused,i=t.size,o=t.theme,s=o.colors,u=o.spacing.baseUnit;return B({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:i,lineHeight:1,marginRight:i,textAlign:"center",verticalAlign:"middle"},n?{}:{color:r?s.neutral60:s.neutral20,padding:u*2})},Hi=function(t){var n=t.delay,r=t.offset;return F("span",{css:Ni({animation:"".concat(d0," 1s ease-in-out ").concat(n,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:r?"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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lLFxuICBDU1NPYmplY3RXaXRoTGFiZWwsXG4gIEdyb3VwQmFzZSxcbn0gZnJvbSAnLi4vdHlwZXMnO1xuaW1wb3J0IHsgZ2V0U3R5bGVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBEcm9wZG93biAmIENsZWFyIEljb25zXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuY29uc3QgU3ZnID0gKHtcbiAgc2l6ZSxcbiAgLi4ucHJvcHNcbn06IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU6IG51bWJlciB9KSA9PiAoXG4gIDxzdmdcbiAgICBoZWlnaHQ9e3NpemV9XG4gICAgd2lkdGg9e3NpemV9XG4gICAgdmlld0JveD1cIjAgMCAyMCAyMFwiXG4gICAgYXJpYS1oaWRkZW49XCJ0cnVlXCJcbiAgICBmb2N1c2FibGU9XCJmYWxzZVwiXG4gICAgY3NzPXt7XG4gICAgICBkaXNwbGF5OiAnaW5saW5lLWJsb2NrJyxcbiAgICAgIGZpbGw6ICdjdXJyZW50Q29sb3InLFxuICAgICAgbGluZUhlaWdodDogMSxcbi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InLFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdsb2FkaW5nLWluZGljYXRvcic6IHRydWUsXG4gICAgICAgIH1cbiAgICAgICl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MH0gb2Zmc2V0PXtpc1J0bH0gLz5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXsxNjB9IG9mZnNldCAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezMyMH0gb2Zmc2V0PXshaXNSdGx9IC8+XG4gICAgPC9kaXY+XG4gICk7XG59O1xuIl19 */")})},h0=function(t){var n=t.innerProps,r=t.isRtl,i=t.size,o=i===void 0?4:i,s=et(t,n0);return F("div",L({},ue(B(B({},s),{},{innerProps:n,isRtl:r,size:o}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),n),F(Hi,{delay:0,offset:r}),F(Hi,{delay:160,offset:!0}),F(Hi,{delay:320,offset:!r}))},p0=function(t,n){var r=t.isDisabled,i=t.isFocused,o=t.theme,s=o.colors,u=o.borderRadius,a=o.spacing;return B({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:r?s.neutral5:s.neutral0,borderColor:r?s.neutral10:i?s.primary:s.neutral20,borderRadius:u,borderStyle:"solid",borderWidth:1,boxShadow:i?"0 0 0 1px ".concat(s.primary):void 0,"&:hover":{borderColor:i?s.primary:s.neutral30}})},m0=function(t){var n=t.children,r=t.isDisabled,i=t.isFocused,o=t.innerRef,s=t.innerProps,u=t.menuIsOpen;return F("div",L({ref:o},ue(t,"control",{control:!0,"control--is-disabled":r,"control--is-focused":i,"control--menu-is-open":u}),s,{"aria-disabled":r||void 0}),n)},g0=m0,b0=["data"],v0=function(t,n){var r=t.theme.spacing;return n?{}:{paddingBottom:r.baseUnit*2,paddingTop:r.baseUnit*2}},y0=function(t){var n=t.children,r=t.cx,i=t.getStyles,o=t.getClassNames,s=t.Heading,u=t.headingProps,a=t.innerProps,l=t.label,c=t.theme,d=t.selectProps;return F("div",L({},ue(t,"group",{group:!0}),a),F(s,L({},u,{selectProps:d,theme:c,getStyles:i,getClassNames:o,cx:r}),l),F("div",null,n))},C0=function(t,n){var r=t.theme,i=r.colors,o=r.spacing;return B({label:"group",cursor:"default",display:"block"},n?{}:{color:i.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:o.baseUnit*3,paddingRight:o.baseUnit*3,textTransform:"uppercase"})},I0=function(t){var n=qu(t);n.data;var r=et(n,b0);return F("div",L({},ue(t,"groupHeading",{"group-heading":!0}),r))},x0=y0,A0=["innerRef","isDisabled","isHidden","inputClassName"],S0=function(t,n){var r=t.isDisabled,i=t.value,o=t.theme,s=o.spacing,u=o.colors;return B(B({visibility:r?"hidden":"visible",transform:i?"translateZ(0)":""},T0),n?{}:{margin:s.baseUnit/2,paddingBottom:s.baseUnit/2,paddingTop:s.baseUnit/2,color:u.neutral80})},dl={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},T0={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":B({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},dl)},E0=function(t){return B({label:"input",color:"inherit",background:0,opacity:t?0:1,width:"100%"},dl)},P0=function(t){var n=t.cx,r=t.value,i=qu(t),o=i.innerRef,s=i.isDisabled,u=i.isHidden,a=i.inputClassName,l=et(i,A0);return F("div",L({},ue(t,"input",{"input-container":!0}),{"data-value":r||""}),F("input",L({className:n({input:!0},a),ref:o,style:E0(u),disabled:s},l)))},w0=P0,V0=function(t,n){var r=t.theme,i=r.spacing,o=r.borderRadius,s=r.colors;return B({label:"multiValue",display:"flex",minWidth:0},n?{}:{backgroundColor:s.neutral10,borderRadius:o/2,margin:i.baseUnit/2})},D0=function(t,n){var r=t.theme,i=r.borderRadius,o=r.colors,s=t.cropWithEllipsis;return B({overflow:"hidden",textOverflow:s||s===void 0?"ellipsis":void 0,whiteSpace:"nowrap"},n?{}:{borderRadius:i/2,color:o.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},F0=function(t,n){var r=t.theme,i=r.spacing,o=r.borderRadius,s=r.colors,u=t.isFocused;return B({alignItems:"center",display:"flex"},n?{}:{borderRadius:o/2,backgroundColor:u?s.dangerLight:void 0,paddingLeft:i.baseUnit,paddingRight:i.baseUnit,":hover":{backgroundColor:s.dangerLight,color:s.danger}})},fl=function(t){var n=t.children,r=t.innerProps;return F("div",r,n)},M0=fl,B0=fl;function G0(e){var t=e.children,n=e.innerProps;return F("div",L({role:"button"},n),t||F(Zi,{size:14}))}var O0=function(t){var n=t.children,r=t.components,i=t.data,o=t.innerProps,s=t.isDisabled,u=t.removeProps,a=t.selectProps,l=r.Container,c=r.Label,d=r.Remove;return F(l,{data:i,innerProps:B(B({},ue(t,"multiValue",{"multi-value":!0,"multi-value--is-disabled":s})),o),selectProps:a},F(c,{data:i,innerProps:B({},ue(t,"multiValueLabel",{"multi-value__label":!0})),selectProps:a},n),F(d,{data:i,innerProps:B(B({},ue(t,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(n||"option")},u),selectProps:a}))},N0=O0,R0=function(t,n){var r=t.isDisabled,i=t.isFocused,o=t.isSelected,s=t.theme,u=s.spacing,a=s.colors;return B({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},n?{}:{backgroundColor:o?a.primary:i?a.primary25:"transparent",color:r?a.neutral20:o?a.neutral0:"inherit",padding:"".concat(u.baseUnit*2,"px ").concat(u.baseUnit*3,"px"),":active":{backgroundColor:r?void 0:o?a.primary:a.primary50}})},L0=function(t){var n=t.children,r=t.isDisabled,i=t.isFocused,o=t.isSelected,s=t.innerRef,u=t.innerProps;return F("div",L({},ue(t,"option",{option:!0,"option--is-disabled":r,"option--is-focused":i,"option--is-selected":o}),{ref:s,"aria-disabled":r},u),n)},W0=L0,X0=function(t,n){var r=t.theme,i=r.spacing,o=r.colors;return B({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},n?{}:{color:o.neutral50,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},Z0=function(t){var n=t.children,r=t.innerProps;return F("div",L({},ue(t,"placeholder",{placeholder:!0}),r),n)},H0=Z0,k0=function(t,n){var r=t.isDisabled,i=t.theme,o=i.spacing,s=i.colors;return B({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},n?{}:{color:r?s.neutral40:s.neutral80,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},z0=function(t){var n=t.children,r=t.isDisabled,i=t.innerProps;return F("div",L({},ue(t,"singleValue",{"single-value":!0,"single-value--is-disabled":r}),i),n)},j0=z0,Y0={ClearIndicator:u0,Control:g0,DropdownIndicator:s0,DownChevron:ll,CrossIcon:Zi,Group:x0,GroupHeading:I0,IndicatorsContainer:e0,IndicatorSeparator:c0,Input:w0,LoadingIndicator:h0,Menu:Xb,MenuList:Hb,MenuPortal:Ub,LoadingMessage:Yb,NoOptionsMessage:jb,MultiValue:N0,MultiValueContainer:M0,MultiValueLabel:B0,MultiValueRemove:G0,Option:W0,Placeholder:H0,SelectContainer:Qb,SingleValue:j0,ValueContainer:$b},J0=function(t){return B(B({},Y0),t.components)},hl=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function U0(e,t){return!!(e===t||hl(e)&&hl(t))}function _0(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!U0(e[n],t[n]))return!1;return!0}function Q0(e,t){t===void 0&&(t=_0);var n=null;function r(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];if(n&&n.lastThis===this&&t(i,n.lastArgs))return n.lastResult;var s=e.apply(this,i);return n={lastResult:s,lastArgs:i,lastThis:this},s}return r.clear=function(){n=null},r}function K0(){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 $0=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:K0},q0=function(t){return F("span",L({css:$0},t))},pl=q0,ev={guidance:function(t){var n=t.isSearchable,r=t.isMulti,i=t.tabSelectsValue,o=t.context,s=t.isInitialFocus;switch(o){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(i?", press Tab to select the option and exit the menu":"",".");case"input":return s?"".concat(t["aria-label"]||"Select"," is focused ").concat(n?",type to refine list":"",", press Down to open the menu, ").concat(r?" 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,r=t.label,i=r===void 0?"":r,o=t.labels,s=t.isDisabled;switch(n){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(i,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(o.length>1?"s":""," ").concat(o.join(","),", selected.");case"select-option":return s?"option ".concat(i," is disabled. Select another option."):"option ".concat(i,", selected.");default:return""}},onFocus:function(t){var n=t.context,r=t.focused,i=t.options,o=t.label,s=o===void 0?"":o,u=t.selectValue,a=t.isDisabled,l=t.isSelected,c=t.isAppleDevice,d=function(g,v){return g&&g.length?"".concat(g.indexOf(v)+1," of ").concat(g.length):""};if(n==="value"&&u)return"value ".concat(s," focused, ").concat(d(u,r),".");if(n==="menu"&&c){var f=a?" disabled":"",p="".concat(l?" selected":"").concat(f);return"".concat(s).concat(p,", ").concat(d(i,r),".")}return""},onFilter:function(t){var n=t.inputValue,r=t.resultsMessage;return"".concat(r).concat(n?" for search term "+n:"",".")}},tv=function(t){var n=t.ariaSelection,r=t.focusedOption,i=t.focusedValue,o=t.focusableOptions,s=t.isFocused,u=t.selectValue,a=t.selectProps,l=t.id,c=t.isAppleDevice,d=a.ariaLiveMessages,f=a.getOptionLabel,p=a.inputValue,b=a.isMulti,g=a.isOptionDisabled,v=a.isSearchable,C=a.menuIsOpen,y=a.options,m=a.screenReaderStatus,I=a.tabSelectsValue,h=a.isLoading,S=a["aria-label"],T=a["aria-live"],P=x.useMemo(function(){return B(B({},ev),d||{})},[d]),M=x.useMemo(function(){var k="";if(n&&P.onChange){var z=n.option,re=n.options,ie=n.removedValue,be=n.removedValues,E=n.value,V=function(H){return Array.isArray(H)?null:H},D=ie||z||V(E),G=D?f(D):"",O=re||be||void 0,j=O?O.map(f):[],N=B({isDisabled:D&&g(D,u),label:G,labels:j},n);k=P.onChange(N)}return k},[n,P,g,u,f]),X=x.useMemo(function(){var k="",z=r||i,re=!!(r&&u&&u.includes(r));if(z&&P.onFocus){var ie={focused:z,label:f(z),isDisabled:g(z,u),isSelected:re,options:o,context:z===r?"menu":"value",selectValue:u,isAppleDevice:c};k=P.onFocus(ie)}return k},[r,i,f,g,P,o,u,c]),U=x.useMemo(function(){var k="";if(C&&y.length&&!h&&P.onFilter){var z=m({count:o.length});k=P.onFilter({inputValue:p,resultsMessage:z})}return k},[o,p,C,P,y,m,h]),ne=(n==null?void 0:n.action)==="initial-input-focus",de=x.useMemo(function(){var k="";if(P.guidance){var z=i?"value":C?"menu":"input";k=P.guidance({"aria-label":S,context:z,isDisabled:r&&g(r,u),isMulti:b,isSearchable:v,tabSelectsValue:I,isInitialFocus:ne})}return k},[S,r,i,b,g,v,C,P,u,I,ne]),oe=F(x.Fragment,null,F("span",{id:"aria-selection"},M),F("span",{id:"aria-focused"},X),F("span",{id:"aria-results"},U),F("span",{id:"aria-guidance"},de));return F(x.Fragment,null,F(pl,{id:l},ne&&oe),F(pl,{"aria-live":T,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},s&&!ne&&oe))},nv=tv,ki=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],rv=new RegExp("["+ki.map(function(e){return e.letters}).join("")+"]","g"),ml={},zi=0;zi<ki.length;zi++)for(var ji=ki[zi],Yi=0;Yi<ji.letters.length;Yi++)ml[ji.letters[Yi]]=ji.base;var gl=function(t){return t.replace(rv,function(n){return ml[n]})},iv=Q0(gl),bl=function(t){return t.replace(/^\s+|\s+$/g,"")},ov=function(t){return"".concat(t.label," ").concat(t.value)},sv=function(t){return function(n,r){if(n.data.__isNew__)return!0;var i=B({ignoreCase:!0,ignoreAccents:!0,stringify:ov,trim:!0,matchFrom:"any"},t),o=i.ignoreCase,s=i.ignoreAccents,u=i.stringify,a=i.trim,l=i.matchFrom,c=a?bl(r):r,d=a?bl(u(n)):u(n);return o&&(c=c.toLowerCase(),d=d.toLowerCase()),s&&(c=iv(c),d=gl(d)),l==="start"?d.substr(0,c.length)===c:d.indexOf(c)>-1}},av=["innerRef"];function uv(e){var t=e.innerRef,n=et(e,av),r=Mb(n,"onExited","in","enter","exit","appear");return F("input",L({ref:t},r,{css:Ni({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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVmIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgcmVtb3ZlUHJvcHMgfSBmcm9tICcuLi91dGlscyc7XG5cbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uIER1bW15SW5wdXQoe1xuICBpbm5lclJlZixcbiAgLi4ucHJvcHNcbn06IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snaW5wdXQnXSAmIHtcbiAgcmVhZG9ubHkgaW5uZXJSZWY6IFJlZjxIVE1MSW5wdXRFbGVtZW50Pjtcbn0pIHtcbiAgLy8gUmVtb3ZlIGFuaW1hdGlvbiBwcm9wcyBub3QgbWVhbnQgZm9yIEhUTUwgZWxlbWVudHNcbiAgY29uc3QgZmlsdGVyZWRQcm9wcyA9IHJlbW92ZVByb3BzKFxuICAgIHByb3BzLFxuICAgICdvbkV4aXRlZCcsXG4gICAgJ2luJyxcbiAgICAnZW50ZXInLFxuICAgICdleGl0JyxcbiAgICAnYXBwZWFyJ1xuICApO1xuXG4gIHJldHVybiAoXG4gICAgPGlucHV0XG4gICAgICByZWY9e2lubmVyUmVmfVxuICAgICAgey4uLmZpbHRlcmVkUHJvcHN9XG4gICAgICBjc3M9e3tcbiAgICAgICAgbGFiZWw6ICdkdW1teUlucHV0JyxcbiAgICAgICAgLy8gZ2V0IHJpZCBvZiBhbnkgZGVmYXVsdCBzdHlsZXNcbiAgICAgICAgYmFja2dyb3VuZDogMCxcbiAgICAgICAgYm9yZGVyOiAwLFxuICAgICAgICAvLyBpbXBvcnRhbnQhIHRoaXMgaGlkZXMgdGhlIGZsYXNoaW5nIGN1cnNvclxuICAgICAgICBjYXJldENvbG9yOiAndHJhbnNwYXJlbnQnLFxuICAgICAgICBmb250U2l6ZTogJ2luaGVyaXQnLFxuICAgICAgICBncmlkQXJlYTogJzEgLyAxIC8gMiAvIDMnLFxuICAgICAgICBvdXRsaW5lOiAwLFxuICAgICAgICBwYWRkaW5nOiAwLFxuICAgICAgICAvLyBpbXBvcnRhbnQhIHdpdGhvdXQgYHdpZHRoYCBicm93c2VycyB3b24ndCBhbGxvdyBmb2N1c1xuICAgICAgICB3aWR0aDogMSxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIGRlc2t0b3BcbiAgICAgICAgY29sb3I6ICd0cmFuc3BhcmVudCcsXG5cbiAgICAgICAgLy8gcmVtb3ZlIGN1cnNvciBvbiBtb2JpbGUgd2hpbHN0IG1haW50YWluaW5nIFwic2Nyb2xsIGludG8gdmlld1wiIGJlaGF2aW91clxuICAgICAgICBsZWZ0OiAtMTAwLFxuICAgICAgICBvcGFjaXR5OiAwLFxuICAgICAgICBwb3NpdGlvbjogJ3JlbGF0aXZlJyxcbiAgICAgICAgdHJhbnNmb3JtOiAnc2NhbGUoLjAxKScsXG4gICAgICB9fVxuICAgIC8+XG4gICk7XG59XG4iXX0= */")}))}var lv=function(t){t.cancelable&&t.preventDefault(),t.stopPropagation()};function cv(e){var t=e.isEnabled,n=e.onBottomArrive,r=e.onBottomLeave,i=e.onTopArrive,o=e.onTopLeave,s=x.useRef(!1),u=x.useRef(!1),a=x.useRef(0),l=x.useRef(null),c=x.useCallback(function(v,C){if(l.current!==null){var y=l.current,m=y.scrollTop,I=y.scrollHeight,h=y.clientHeight,S=l.current,T=C>0,P=I-h-m,M=!1;P>C&&s.current&&(r&&r(v),s.current=!1),T&&u.current&&(o&&o(v),u.current=!1),T&&C>P?(n&&!s.current&&n(v),S.scrollTop=I,M=!0,s.current=!0):!T&&-C>m&&(i&&!u.current&&i(v),S.scrollTop=0,M=!0,u.current=!0),M&&lv(v)}},[n,r,i,o]),d=x.useCallback(function(v){c(v,v.deltaY)},[c]),f=x.useCallback(function(v){a.current=v.changedTouches[0].clientY},[]),p=x.useCallback(function(v){var C=a.current-v.changedTouches[0].clientY;c(v,C)},[c]),b=x.useCallback(function(v){if(v){var C=Vb?{passive:!1}:!1;v.addEventListener("wheel",d,C),v.addEventListener("touchstart",f,C),v.addEventListener("touchmove",p,C)}},[p,f,d]),g=x.useCallback(function(v){v&&(v.removeEventListener("wheel",d,!1),v.removeEventListener("touchstart",f,!1),v.removeEventListener("touchmove",p,!1))},[p,f,d]);return x.useEffect(function(){if(t){var v=l.current;return b(v),function(){g(v)}}},[t,b,g]),function(v){l.current=v}}var vl=["boxSizing","height","overflow","paddingRight","position"],yl={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Cl(e){e.preventDefault()}function Il(e){e.stopPropagation()}function xl(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;e===0?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function Al(){return"ontouchstart"in window||navigator.maxTouchPoints}var Sl=!!(typeof window<"u"&&window.document&&window.document.createElement),an=0,Ot={capture:!1,passive:!1};function dv(e){var t=e.isEnabled,n=e.accountForScrollbars,r=n===void 0?!0:n,i=x.useRef({}),o=x.useRef(null),s=x.useCallback(function(a){if(Sl){var l=document.body,c=l&&l.style;if(r&&vl.forEach(function(b){var g=c&&c[b];i.current[b]=g}),r&&an<1){var d=parseInt(i.current.paddingRight,10)||0,f=document.body?document.body.clientWidth:0,p=window.innerWidth-f+d||0;Object.keys(yl).forEach(function(b){var g=yl[b];c&&(c[b]=g)}),c&&(c.paddingRight="".concat(p,"px"))}l&&Al()&&(l.addEventListener("touchmove",Cl,Ot),a&&(a.addEventListener("touchstart",xl,Ot),a.addEventListener("touchmove",Il,Ot))),an+=1}},[r]),u=x.useCallback(function(a){if(Sl){var l=document.body,c=l&&l.style;an=Math.max(an-1,0),r&&an<1&&vl.forEach(function(d){var f=i.current[d];c&&(c[d]=f)}),l&&Al()&&(l.removeEventListener("touchmove",Cl,Ot),a&&(a.removeEventListener("touchstart",xl,Ot),a.removeEventListener("touchmove",Il,Ot)))}},[r]);return x.useEffect(function(){if(t){var a=o.current;return s(a),function(){u(a)}}},[t,s,u]),function(a){o.current=a}}function fv(){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 hv=function(t){var n=t.target;return n.ownerDocument.activeElement&&n.ownerDocument.activeElement.blur()},pv=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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2Vy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AgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+XG4gICk7XG59XG4iXX0= */",toString:fv};function mv(e){var t=e.children,n=e.lockEnabled,r=e.captureEnabled,i=r===void 0?!0:r,o=e.onBottomArrive,s=e.onBottomLeave,u=e.onTopArrive,a=e.onTopLeave,l=cv({isEnabled:i,onBottomArrive:o,onBottomLeave:s,onTopArrive:u,onTopLeave:a}),c=dv({isEnabled:n}),d=function(p){l(p),c(p)};return F(x.Fragment,null,n&&F("div",{onClick:hv,css:pv}),t(d))}function gv(){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 bv=process.env.NODE_ENV==="production"?{name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"}:{name:"5kkxb2-requiredInput-RequiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%;label:RequiredInput;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlJlcXVpcmVkSW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWNJIiwiZmlsZSI6IlJlcXVpcmVkSW5wdXQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyBGb2N1c0V2ZW50SGFuZGxlciwgRnVuY3Rpb25Db21wb25lbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmNvbnN0IFJlcXVpcmVkSW5wdXQ6IEZ1bmN0aW9uQ29tcG9uZW50PHtcbiAgcmVhZG9ubHkgbmFtZT86IHN0cmluZztcbiAgcmVhZG9ubHkgb25Gb2N1czogRm9jdXNFdmVudEhhbmRsZXI8SFRNTElucHV0RWxlbWVudD47XG59PiA9ICh7IG5hbWUsIG9uRm9jdXMgfSkgPT4gKFxuICA8aW5wdXRcbiAgICByZXF1aXJlZFxuICAgIG5hbWU9e25hbWV9XG4gICAgdGFiSW5kZXg9ey0xfVxuICAgIGFyaWEtaGlkZGVuPVwidHJ1ZVwiXG4gICAgb25Gb2N1cz17b25Gb2N1c31cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAncmVxdWlyZWRJbnB1dCcsXG4gICAgICBvcGFjaXR5OiAwLFxuICAgICAgcG9pbnRlckV2ZW50czogJ25vbmUnLFxuICAgICAgcG9zaXRpb246ICdhYnNvbHV0ZScsXG4gICAgICBib3R0b206IDAsXG4gICAgICBsZWZ0OiAwLFxuICAgICAgcmlnaHQ6IDAsXG4gICAgICB3aWR0aDogJzEwMCUnLFxuICAgIH19XG4gICAgLy8gUHJldmVudCBgU3dpdGNoaW5nIGZyb20gdW5jb250cm9sbGVkIHRvIGNvbnRyb2xsZWRgIGVycm9yXG4gICAgdmFsdWU9XCJcIlxuICAgIG9uQ2hhbmdlPXsoKSA9PiB7fX1cbiAgLz5cbik7XG5cbmV4cG9ydCBkZWZhdWx0IFJlcXVpcmVkSW5wdXQ7XG4iXX0= */",toString:gv},vv=function(t){var n=t.name,r=t.onFocus;return F("input",{required:!0,name:n,tabIndex:-1,"aria-hidden":"true",onFocus:r,css:bv,value:"",onChange:function(){}})},yv=vv;function Ji(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 Cv(){return Ji(/^iPhone/i)}function Tl(){return Ji(/^Mac/i)}function Iv(){return Ji(/^iPad/i)||Tl()&&navigator.maxTouchPoints>1}function xv(){return Cv()||Iv()}function Av(){return Tl()||xv()}var Sv=function(t){return t.label},Tv=function(t){return t.label},Ev=function(t){return t.value},Pv=function(t){return!!t.isDisabled},wv={clearIndicator:a0,container:_b,control:p0,dropdownIndicator:o0,group:v0,groupHeading:C0,indicatorsContainer:qb,indicatorSeparator:l0,input:S0,loadingIndicator:f0,loadingMessage:zb,menu:Rb,menuList:Zb,menuPortal:Jb,multiValue:V0,multiValueLabel:D0,multiValueRemove:F0,noOptionsMessage:kb,option:R0,placeholder:X0,singleValue:k0,valueContainer:Kb},Vv={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%)"},Dv=4,El=4,Fv=38,Mv=El*2,Bv={baseUnit:El,controlHeight:Fv,menuGutter:Mv},Ui={borderRadius:Dv,colors:Vv,spacing:Bv},Gv={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:nl(),captureMenuScroll:!nl(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:sv(),formatGroupLabel:Sv,getOptionLabel:Tv,getOptionValue:Ev,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:Pv,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!Pb(),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 Pl(e,t,n,r){var i=Ml(e,t,n),o=Bl(e,t,n),s=Fl(e,t),u=ir(e,t);return{type:"option",data:t,isDisabled:i,isSelected:o,label:s,value:u,index:r}}function rr(e,t){return e.options.map(function(n,r){if("options"in n){var i=n.options.map(function(s,u){return Pl(e,s,t,u)}).filter(function(s){return Dl(e,s)});return i.length>0?{type:"group",data:n,options:i,index:r}:void 0}var o=Pl(e,n,t,r);return Dl(e,o)?o:void 0}).filter(Db)}function wl(e){return e.reduce(function(t,n){return n.type==="group"?t.push.apply(t,Ei(n.options.map(function(r){return r.data}))):t.push(n.data),t},[])}function Vl(e,t){return e.reduce(function(n,r){return r.type==="group"?n.push.apply(n,Ei(r.options.map(function(i){return{data:i.data,id:"".concat(t,"-").concat(r.index,"-").concat(i.index)}}))):n.push({data:r.data,id:"".concat(t,"-").concat(r.index)}),n},[])}function Ov(e,t){return wl(rr(e,t))}function Dl(e,t){var n=e.inputValue,r=n===void 0?"":n,i=t.data,o=t.isSelected,s=t.label,u=t.value;return(!Ol(e)||!o)&&Gl(e,{label:s,value:u,data:i},r)}function Nv(e,t){var n=e.focusedValue,r=e.selectValue,i=r.indexOf(n);if(i>-1){var o=t.indexOf(n);if(o>-1)return n;if(i<t.length)return t[i]}return null}function Rv(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}var _i=function(t,n){var r,i=(r=t.find(function(o){return o.data===n}))===null||r===void 0?void 0:r.id;return i||null},Fl=function(t,n){return t.getOptionLabel(n)},ir=function(t,n){return t.getOptionValue(n)};function Ml(e,t,n){return typeof e.isOptionDisabled=="function"?e.isOptionDisabled(t,n):!1}function Bl(e,t,n){if(n.indexOf(t)>-1)return!0;if(typeof e.isOptionSelected=="function")return e.isOptionSelected(t,n);var r=ir(e,t);return n.some(function(i){return ir(e,i)===r})}function Gl(e,t,n){return e.filterOption?e.filterOption(t,n):!0}var Ol=function(t){var n=t.hideSelectedOptions,r=t.isMulti;return n===void 0?r:n},Lv=1,Nl=function(e){Qm(n,e);var t=qm(n);function n(r){var i;if(Um(this,n),i=t.call(this,r),i.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:""},i.blockOptionHover=!1,i.isComposing=!1,i.commonProps=void 0,i.initialTouchX=0,i.initialTouchY=0,i.openAfterFocus=!1,i.scrollToFocusedOptionOnUpdate=!1,i.userIsDragging=void 0,i.isAppleDevice=Av(),i.controlRef=null,i.getControlRef=function(a){i.controlRef=a},i.focusedOptionRef=null,i.getFocusedOptionRef=function(a){i.focusedOptionRef=a},i.menuListRef=null,i.getMenuListRef=function(a){i.menuListRef=a},i.inputRef=null,i.getInputRef=function(a){i.inputRef=a},i.focus=i.focusInput,i.blur=i.blurInput,i.onChange=function(a,l){var c=i.props,d=c.onChange,f=c.name;l.name=f,i.ariaOnChange(a,l),d(a,l)},i.setValue=function(a,l,c){var d=i.props,f=d.closeMenuOnSelect,p=d.isMulti,b=d.inputValue;i.onInputChange("",{action:"set-value",prevInputValue:b}),f&&(i.setState({inputIsHiddenAfterUpdate:!p}),i.onMenuClose()),i.setState({clearFocusValueOnUpdate:!0}),i.onChange(a,{action:l,option:c})},i.selectOption=function(a){var l=i.props,c=l.blurInputOnSelect,d=l.isMulti,f=l.name,p=i.state.selectValue,b=d&&i.isOptionSelected(a,p),g=i.isOptionDisabled(a,p);if(b){var v=i.getOptionValue(a);i.setValue(p.filter(function(C){return i.getOptionValue(C)!==v}),"deselect-option",a)}else if(!g)d?i.setValue([].concat(Ei(p),[a]),"select-option",a):i.setValue(a,"select-option");else{i.ariaOnChange(a,{action:"select-option",option:a,name:f});return}c&&i.blurInput()},i.removeValue=function(a){var l=i.props.isMulti,c=i.state.selectValue,d=i.getOptionValue(a),f=c.filter(function(b){return i.getOptionValue(b)!==d}),p=nr(l,f,f[0]||null);i.onChange(p,{action:"remove-value",removedValue:a}),i.focusInput()},i.clearValue=function(){var a=i.state.selectValue;i.onChange(nr(i.props.isMulti,[],null),{action:"clear",removedValues:a})},i.popValue=function(){var a=i.props.isMulti,l=i.state.selectValue,c=l[l.length-1],d=l.slice(0,l.length-1),f=nr(a,d,d[0]||null);i.onChange(f,{action:"pop-value",removedValue:c})},i.getFocusedOptionId=function(a){return _i(i.state.focusableOptionsWithIds,a)},i.getFocusableOptionsWithIds=function(){return Vl(rr(i.props,i.state.selectValue),i.getElementId("option"))},i.getValue=function(){return i.state.selectValue},i.cx=function(){for(var a=arguments.length,l=new Array(a),c=0;c<a;c++)l[c]=arguments[c];return xb.apply(void 0,[i.props.classNamePrefix].concat(l))},i.getOptionLabel=function(a){return Fl(i.props,a)},i.getOptionValue=function(a){return ir(i.props,a)},i.getStyles=function(a,l){var c=i.props.unstyled,d=wv[a](l,c);d.boxSizing="border-box";var f=i.props.styles[a];return f?f(d,l):d},i.getClassNames=function(a,l){var c,d;return(c=(d=i.props.classNames)[a])===null||c===void 0?void 0:c.call(d,l)},i.getElementId=function(a){return"".concat(i.state.instancePrefix,"-").concat(a)},i.getComponents=function(){return J0(i.props)},i.buildCategorizedOptions=function(){return rr(i.props,i.state.selectValue)},i.getCategorizedOptions=function(){return i.props.menuIsOpen?i.buildCategorizedOptions():[]},i.buildFocusableOptions=function(){return wl(i.buildCategorizedOptions())},i.getFocusableOptions=function(){return i.props.menuIsOpen?i.buildFocusableOptions():[]},i.ariaOnChange=function(a,l){i.setState({ariaSelection:B({value:a},l)})},i.onMenuMouseDown=function(a){a.button===0&&(a.stopPropagation(),a.preventDefault(),i.focusInput())},i.onMenuMouseMove=function(a){i.blockOptionHover=!1},i.onControlMouseDown=function(a){if(!a.defaultPrevented){var l=i.props.openMenuOnClick;i.state.isFocused?i.props.menuIsOpen?a.target.tagName!=="INPUT"&&a.target.tagName!=="TEXTAREA"&&i.onMenuClose():l&&i.openMenu("first"):(l&&(i.openAfterFocus=!0),i.focusInput()),a.target.tagName!=="INPUT"&&a.target.tagName!=="TEXTAREA"&&a.preventDefault()}},i.onDropdownIndicatorMouseDown=function(a){if(!(a&&a.type==="mousedown"&&a.button!==0)&&!i.props.isDisabled){var l=i.props,c=l.isMulti,d=l.menuIsOpen;i.focusInput(),d?(i.setState({inputIsHiddenAfterUpdate:!c}),i.onMenuClose()):i.openMenu("first"),a.preventDefault()}},i.onClearIndicatorMouseDown=function(a){a&&a.type==="mousedown"&&a.button!==0||(i.clearValue(),a.preventDefault(),i.openAfterFocus=!1,a.type==="touchend"?i.focusInput():setTimeout(function(){return i.focusInput()}))},i.onScroll=function(a){typeof i.props.closeMenuOnScroll=="boolean"?a.target instanceof HTMLElement&&$n(a.target)&&i.props.onMenuClose():typeof i.props.closeMenuOnScroll=="function"&&i.props.closeMenuOnScroll(a)&&i.props.onMenuClose()},i.onCompositionStart=function(){i.isComposing=!0},i.onCompositionEnd=function(){i.isComposing=!1},i.onTouchStart=function(a){var l=a.touches,c=l&&l.item(0);c&&(i.initialTouchX=c.clientX,i.initialTouchY=c.clientY,i.userIsDragging=!1)},i.onTouchMove=function(a){var l=a.touches,c=l&&l.item(0);if(c){var d=Math.abs(c.clientX-i.initialTouchX),f=Math.abs(c.clientY-i.initialTouchY),p=5;i.userIsDragging=d>p||f>p}},i.onTouchEnd=function(a){i.userIsDragging||(i.controlRef&&!i.controlRef.contains(a.target)&&i.menuListRef&&!i.menuListRef.contains(a.target)&&i.blurInput(),i.initialTouchX=0,i.initialTouchY=0)},i.onControlTouchEnd=function(a){i.userIsDragging||i.onControlMouseDown(a)},i.onClearIndicatorTouchEnd=function(a){i.userIsDragging||i.onClearIndicatorMouseDown(a)},i.onDropdownIndicatorTouchEnd=function(a){i.userIsDragging||i.onDropdownIndicatorMouseDown(a)},i.handleInputChange=function(a){var l=i.props.inputValue,c=a.currentTarget.value;i.setState({inputIsHiddenAfterUpdate:!1}),i.onInputChange(c,{action:"input-change",prevInputValue:l}),i.props.menuIsOpen||i.onMenuOpen()},i.onInputFocus=function(a){i.props.onFocus&&i.props.onFocus(a),i.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(i.openAfterFocus||i.props.openMenuOnFocus)&&i.openMenu("first"),i.openAfterFocus=!1},i.onInputBlur=function(a){var l=i.props.inputValue;if(i.menuListRef&&i.menuListRef.contains(document.activeElement)){i.inputRef.focus();return}i.props.onBlur&&i.props.onBlur(a),i.onInputChange("",{action:"input-blur",prevInputValue:l}),i.onMenuClose(),i.setState({focusedValue:null,isFocused:!1})},i.onOptionHover=function(a){if(!(i.blockOptionHover||i.state.focusedOption===a)){var l=i.getFocusableOptions(),c=l.indexOf(a);i.setState({focusedOption:a,focusedOptionId:c>-1?i.getFocusedOptionId(a):null})}},i.shouldHideSelectedOptions=function(){return Ol(i.props)},i.onValueInputFocus=function(a){a.preventDefault(),a.stopPropagation(),i.focus()},i.onKeyDown=function(a){var l=i.props,c=l.isMulti,d=l.backspaceRemovesValue,f=l.escapeClearsValue,p=l.inputValue,b=l.isClearable,g=l.isDisabled,v=l.menuIsOpen,C=l.onKeyDown,y=l.tabSelectsValue,m=l.openMenuOnFocus,I=i.state,h=I.focusedOption,S=I.focusedValue,T=I.selectValue;if(!g&&!(typeof C=="function"&&(C(a),a.defaultPrevented))){switch(i.blockOptionHover=!0,a.key){case"ArrowLeft":if(!c||p)return;i.focusValue("previous");break;case"ArrowRight":if(!c||p)return;i.focusValue("next");break;case"Delete":case"Backspace":if(p)return;if(S)i.removeValue(S);else{if(!d)return;c?i.popValue():b&&i.clearValue()}break;case"Tab":if(i.isComposing||a.shiftKey||!v||!y||!h||m&&i.isOptionSelected(h,T))return;i.selectOption(h);break;case"Enter":if(a.keyCode===229)break;if(v){if(!h||i.isComposing)return;i.selectOption(h);break}return;case"Escape":v?(i.setState({inputIsHiddenAfterUpdate:!1}),i.onInputChange("",{action:"menu-close",prevInputValue:p}),i.onMenuClose()):b&&f&&i.clearValue();break;case" ":if(p)return;if(!v){i.openMenu("first");break}if(!h)return;i.selectOption(h);break;case"ArrowUp":v?i.focusOption("up"):i.openMenu("last");break;case"ArrowDown":v?i.focusOption("down"):i.openMenu("first");break;case"PageUp":if(!v)return;i.focusOption("pageup");break;case"PageDown":if(!v)return;i.focusOption("pagedown");break;case"Home":if(!v)return;i.focusOption("first");break;case"End":if(!v)return;i.focusOption("last");break;default:return}a.preventDefault()}},i.state.instancePrefix="react-select-"+(i.props.instanceId||++Lv),i.state.selectValue=$u(r.value),r.menuIsOpen&&i.state.selectValue.length){var o=i.getFocusableOptionsWithIds(),s=i.buildFocusableOptions(),u=s.indexOf(i.state.selectValue[0]);i.state.focusableOptionsWithIds=o,i.state.focusedOption=s[u],i.state.focusedOptionId=_i(o,s[u])}return i}return _m(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&&tl(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(i){var o=this.props,s=o.isDisabled,u=o.menuIsOpen,a=this.state.isFocused;(a&&!s&&i.isDisabled||a&&u&&!i.menuIsOpen)&&this.focusInput(),a&&s&&!i.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!a&&!s&&i.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(tl(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(i,o){this.props.onInputChange(i,o)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(i){var o=this,s=this.state,u=s.selectValue,a=s.isFocused,l=this.buildFocusableOptions(),c=i==="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 o.onMenuOpen()})}},{key:"focusValue",value:function(i){var o=this.state,s=o.selectValue,u=o.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var a=s.indexOf(u);u||(a=-1);var l=s.length-1,c=-1;if(s.length){switch(i){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:s[c]})}}}},{key:"focusOption",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"first",o=this.props.pageSize,s=this.state.focusedOption,u=this.getFocusableOptions();if(u.length){var a=0,l=u.indexOf(s);s||(l=-1),i==="up"?a=l>0?l-1:u.length-1:i==="down"?a=(l+1)%u.length:i==="pageup"?(a=l-o,a<0&&(a=0)):i==="pagedown"?(a=l+o,a>u.length-1&&(a=u.length-1)):i==="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(Ui):B(B({},Ui),this.props.theme):Ui}},{key:"getCommonProps",value:function(){var i=this.clearValue,o=this.cx,s=this.getStyles,u=this.getClassNames,a=this.getValue,l=this.selectOption,c=this.setValue,d=this.props,f=d.isMulti,p=d.isRtl,b=d.options,g=this.hasValue();return{clearValue:i,cx:o,getStyles:s,getClassNames:u,getValue:a,hasValue:g,isMulti:f,isRtl:p,options:b,selectOption:l,selectProps:d,setValue:c,theme:this.getTheme()}}},{key:"hasValue",value:function(){var i=this.state.selectValue;return i.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var i=this.props,o=i.isClearable,s=i.isMulti;return o===void 0?s:o}},{key:"isOptionDisabled",value:function(i,o){return Ml(this.props,i,o)}},{key:"isOptionSelected",value:function(i,o){return Bl(this.props,i,o)}},{key:"filterOption",value:function(i,o){return Gl(this.props,i,o)}},{key:"formatOptionLabel",value:function(i,o){if(typeof this.props.formatOptionLabel=="function"){var s=this.props.inputValue,u=this.state.selectValue;return this.props.formatOptionLabel(i,{context:o,inputValue:s,selectValue:u})}else return this.getOptionLabel(i)}},{key:"formatGroupLabel",value:function(i){return this.props.formatGroupLabel(i)}},{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 i=this.props,o=i.isDisabled,s=i.isSearchable,u=i.inputId,a=i.inputValue,l=i.tabIndex,c=i.form,d=i.menuIsOpen,f=i.required,p=this.getComponents(),b=p.Input,g=this.state,v=g.inputIsHidden,C=g.ariaSelection,y=this.commonProps,m=u||this.getElementId("input"),I=B(B(B({"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")}),!s&&{"aria-readonly":!0}),this.hasValue()?(C==null?void 0:C.action)==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return s?Z.createElement(b,L({},y,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:m,innerRef:this.getInputRef,isDisabled:o,isHidden:v,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:l,form:c,type:"text",value:a},I)):Z.createElement(uv,L({id:m,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Kn,onFocus:this.onInputFocus,disabled:o,tabIndex:l,inputMode:"none",form:c,value:""},I))}},{key:"renderPlaceholderOrValue",value:function(){var i=this,o=this.getComponents(),s=o.MultiValue,u=o.MultiValueContainer,a=o.MultiValueLabel,l=o.MultiValueRemove,c=o.SingleValue,d=o.Placeholder,f=this.commonProps,p=this.props,b=p.controlShouldRenderValue,g=p.isDisabled,v=p.isMulti,C=p.inputValue,y=p.placeholder,m=this.state,I=m.selectValue,h=m.focusedValue,S=m.isFocused;if(!this.hasValue()||!b)return C?null:Z.createElement(d,L({},f,{key:"placeholder",isDisabled:g,isFocused:S,innerProps:{id:this.getElementId("placeholder")}}),y);if(v)return I.map(function(P,M){var X=P===h,U="".concat(i.getOptionLabel(P),"-").concat(i.getOptionValue(P));return Z.createElement(s,L({},f,{components:{Container:u,Label:a,Remove:l},isFocused:X,isDisabled:g,key:U,index:M,removeProps:{onClick:function(){return i.removeValue(P)},onTouchEnd:function(){return i.removeValue(P)},onMouseDown:function(de){de.preventDefault()}},data:P}),i.formatOptionLabel(P,"value"))});if(C)return null;var T=I[0];return Z.createElement(c,L({},f,{data:T,isDisabled:g}),this.formatOptionLabel(T,"value"))}},{key:"renderClearIndicator",value:function(){var i=this.getComponents(),o=i.ClearIndicator,s=this.commonProps,u=this.props,a=u.isDisabled,l=u.isLoading,c=this.state.isFocused;if(!this.isClearable()||!o||a||!this.hasValue()||l)return null;var d={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return Z.createElement(o,L({},s,{innerProps:d,isFocused:c}))}},{key:"renderLoadingIndicator",value:function(){var i=this.getComponents(),o=i.LoadingIndicator,s=this.commonProps,u=this.props,a=u.isDisabled,l=u.isLoading,c=this.state.isFocused;if(!o||!l)return null;var d={"aria-hidden":"true"};return Z.createElement(o,L({},s,{innerProps:d,isDisabled:a,isFocused:c}))}},{key:"renderIndicatorSeparator",value:function(){var i=this.getComponents(),o=i.DropdownIndicator,s=i.IndicatorSeparator;if(!o||!s)return null;var u=this.commonProps,a=this.props.isDisabled,l=this.state.isFocused;return Z.createElement(s,L({},u,{isDisabled:a,isFocused:l}))}},{key:"renderDropdownIndicator",value:function(){var i=this.getComponents(),o=i.DropdownIndicator;if(!o)return null;var s=this.commonProps,u=this.props.isDisabled,a=this.state.isFocused,l={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return Z.createElement(o,L({},s,{innerProps:l,isDisabled:u,isFocused:a}))}},{key:"renderMenu",value:function(){var i=this,o=this.getComponents(),s=o.Group,u=o.GroupHeading,a=o.Menu,l=o.MenuList,c=o.MenuPortal,d=o.LoadingMessage,f=o.NoOptionsMessage,p=o.Option,b=this.commonProps,g=this.state.focusedOption,v=this.props,C=v.captureMenuScroll,y=v.inputValue,m=v.isLoading,I=v.loadingMessage,h=v.minMenuHeight,S=v.maxMenuHeight,T=v.menuIsOpen,P=v.menuPlacement,M=v.menuPosition,X=v.menuPortalTarget,U=v.menuShouldBlockScroll,ne=v.menuShouldScrollIntoView,de=v.noOptionsMessage,oe=v.onMenuScrollToTop,k=v.onMenuScrollToBottom;if(!T)return null;var z=function(G,O){var j=G.type,N=G.data,W=G.isDisabled,H=G.isSelected,Y=G.label,J=G.value,fe=g===N,A=W?void 0:function(){return i.onOptionHover(N)},xe=W?void 0:function(){return i.selectOption(N)},Be="".concat(i.getElementId("option"),"-").concat(O),Ct={id:Be,onClick:xe,onMouseMove:A,onMouseOver:A,tabIndex:-1,role:"option","aria-selected":i.isAppleDevice?void 0:H};return Z.createElement(p,L({},b,{innerProps:Ct,data:N,isDisabled:W,isSelected:H,key:Be,label:Y,type:j,value:J,isFocused:fe,innerRef:fe?i.getFocusedOptionRef:void 0}),i.formatOptionLabel(G.data,"menu"))},re;if(this.hasOptions())re=this.getCategorizedOptions().map(function(D){if(D.type==="group"){var G=D.data,O=D.options,j=D.index,N="".concat(i.getElementId("group"),"-").concat(j),W="".concat(N,"-heading");return Z.createElement(s,L({},b,{key:N,data:G,options:O,Heading:u,headingProps:{id:W,data:D.data},label:i.formatGroupLabel(D.data)}),D.options.map(function(H){return z(H,"".concat(j,"-").concat(H.index))}))}else if(D.type==="option")return z(D,"".concat(D.index))});else if(m){var ie=I({inputValue:y});if(ie===null)return null;re=Z.createElement(d,b,ie)}else{var be=de({inputValue:y});if(be===null)return null;re=Z.createElement(f,b,be)}var E={minMenuHeight:h,maxMenuHeight:S,menuPlacement:P,menuPosition:M,menuShouldScrollIntoView:ne},V=Z.createElement(Lb,L({},b,E),function(D){var G=D.ref,O=D.placerProps,j=O.placement,N=O.maxHeight;return Z.createElement(a,L({},b,E,{innerRef:G,innerProps:{onMouseDown:i.onMenuMouseDown,onMouseMove:i.onMenuMouseMove},isLoading:m,placement:j}),Z.createElement(mv,{captureEnabled:C,onTopArrive:oe,onBottomArrive:k,lockEnabled:U},function(W){return Z.createElement(l,L({},b,{innerRef:function(Y){i.getMenuListRef(Y),W(Y)},innerProps:{role:"listbox","aria-multiselectable":b.isMulti,id:i.getElementId("listbox")},isLoading:m,maxHeight:N,focusedOption:g}),re)}))});return X||M==="fixed"?Z.createElement(c,L({},b,{appendTo:X,controlElement:this.controlRef,menuPlacement:P,menuPosition:M}),V):V}},{key:"renderFormField",value:function(){var i=this,o=this.props,s=o.delimiter,u=o.isDisabled,a=o.isMulti,l=o.name,c=o.required,d=this.state.selectValue;if(c&&!this.hasValue()&&!u)return Z.createElement(yv,{name:l,onFocus:this.onValueInputFocus});if(!(!l||u))if(a)if(s){var f=d.map(function(g){return i.getOptionValue(g)}).join(s);return Z.createElement("input",{name:l,type:"hidden",value:f})}else{var p=d.length>0?d.map(function(g,v){return Z.createElement("input",{key:"i-".concat(v),name:l,type:"hidden",value:i.getOptionValue(g)})}):Z.createElement("input",{name:l,type:"hidden",value:""});return Z.createElement("div",null,p)}else{var b=d[0]?this.getOptionValue(d[0]):"";return Z.createElement("input",{name:l,type:"hidden",value:b})}}},{key:"renderLiveRegion",value:function(){var i=this.commonProps,o=this.state,s=o.ariaSelection,u=o.focusedOption,a=o.focusedValue,l=o.isFocused,c=o.selectValue,d=this.getFocusableOptions();return Z.createElement(nv,L({},i,{id:this.getElementId("live-region"),ariaSelection:s,focusedOption:u,focusedValue:a,isFocused:l,selectValue:c,focusableOptions:d,isAppleDevice:this.isAppleDevice}))}},{key:"render",value:function(){var i=this.getComponents(),o=i.Control,s=i.IndicatorsContainer,u=i.SelectContainer,a=i.ValueContainer,l=this.props,c=l.className,d=l.id,f=l.isDisabled,p=l.menuIsOpen,b=this.state.isFocused,g=this.commonProps=this.getCommonProps();return Z.createElement(u,L({},g,{className:c,innerProps:{id:d,onKeyDown:this.onKeyDown},isDisabled:f,isFocused:b}),this.renderLiveRegion(),Z.createElement(o,L({},g,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:f,isFocused:b,menuIsOpen:p}),Z.createElement(a,L({},g,{isDisabled:f}),this.renderPlaceholderOrValue(),this.renderInput()),Z.createElement(s,L({},g,{isDisabled:f}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(i,o){var s=o.prevProps,u=o.clearFocusValueOnUpdate,a=o.inputIsHiddenAfterUpdate,l=o.ariaSelection,c=o.isFocused,d=o.prevWasFocused,f=o.instancePrefix,p=i.options,b=i.value,g=i.menuIsOpen,v=i.inputValue,C=i.isMulti,y=$u(b),m={};if(s&&(b!==s.value||p!==s.options||g!==s.menuIsOpen||v!==s.inputValue)){var I=g?Ov(i,y):[],h=g?Vl(rr(i,y),"".concat(f,"-option")):[],S=u?Nv(o,y):null,T=Rv(o,I),P=_i(h,T);m={selectValue:y,focusedOption:T,focusedOptionId:P,focusableOptionsWithIds:h,focusedValue:S,clearFocusValueOnUpdate:!1}}var M=a!=null&&i!==s?{inputIsHidden:a,inputIsHiddenAfterUpdate:void 0}:{},X=l,U=c&&d;return c&&!U&&(X={value:nr(C,y,y[0]||null),options:y,action:"initial-input-focus"},U=!d),(l==null?void 0:l.action)==="initial-input-focus"&&(X=null),B(B(B({},m),M),{},{prevProps:i,ariaSelection:X,prevWasFocused:U})}}]),n}(x.Component);Nl.defaultProps=Gv;var Wv=x.forwardRef(function(e,t){var n=Jm(e);return Z.createElement(Nl,L({ref:t},n))}),Xv=Wv;const Nt=e=>{const{children:t,sx:n,...r}=e;return w.jsx("div",{className:He.form,style:n,...r,children:t})},Zv=Nt,Hv={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"})},kv=e=>{const{children:t,sx:n,...r}=e;return w.jsx("div",{className:He["form-group"],style:n,...r,children:t})},zv=e=>{const{children:t,sx:n,...r}=e,i=x.Children.toArray(t).filter(a=>a.type.displayName==="biznext-ui-input-label"),o=x.Children.toArray(t).filter(a=>a.type.displayName==="biznext-ui-input-control"),s=x.Children.toArray(t).filter(a=>a.type.displayName==="biznext-ui-input-error-message"),u=s[0]&&s[0].props.children&&s[0].props.children.length>0;return w.jsxs("div",{className:It(He["form-input-group"],u&&He["validation-error"]),style:n,...r,children:[i,w.jsxs("div",{className:He["form-input-control-group"],children:[o,w.jsx("span",{className:He["form-input-group-error-text"],children:s})]})]})},Rl=e=>{const{required:t=!1,children:n,sx:r,...i}=e;return w.jsx("label",{className:It(He["form-input-group-label"],t&&He.required),style:r,...i,children:n})},Ll=x.forwardRef((e,t)=>{const{controlType:n,focus:r,sx:i,placeholder:o="",isSearchable:s=!0,isClearable:u=!0,...a}=e;let l=w.jsx(w.Fragment,{});const c=x.useRef(null);switch(x.useEffect(()=>{c.current&&c.current.focus()},[r]),n){case"input":l=w.jsx("input",{className:He["form-input-control"],placeholder:o,ref:r?c:t,style:i,...a});break;case"select":l=w.jsx(Xv,{styles:Hv,classNamePrefix:"biznext-ui-",menuPortalTarget:document.body,menuPosition:"absolute",menuShouldScrollIntoView:!1,placeholder:o?`Select ${o}`:"Select...",isSearchable:s,isClearable:u,noOptionsMessage:()=>"No Results Found!",...a});break;case"textarea":l=w.jsx("textarea",{className:He["form-input-control"],placeholder:o,style:i,...a});break;default:l=w.jsx(w.Fragment,{});break}return l}),Wl=e=>{const{children:t}=e;return t};Rl.displayName="biznext-ui-input-label",Ll.displayName="biznext-ui-input-control",Wl.displayName="biznext-ui-input-error-message",Nt.Group=kv,Nt.InputGroup=zv,Nt.Label=Rl,Nt.Control=Ll,Nt.ErrorMessage=Wl,Ee.BiznextUIProvider=Lp,Ee.Form=Zv,Ee.Modal=Gm,Ee.useConfirmDialog=Xm,Ee.useToast=Ki,Object.defineProperty(Ee,Symbol.toStringTag,{value:"Module"})});
|
|
53
|
+
`]))),f0=function(t,n){var r=t.isFocused,i=t.size,o=t.theme,s=o.colors,u=o.spacing.baseUnit;return B({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:i,lineHeight:1,marginRight:i,textAlign:"center",verticalAlign:"middle"},n?{}:{color:r?s.neutral60:s.neutral20,padding:u*2})},Hi=function(t){var n=t.delay,r=t.offset;return F("span",{css:Ni({animation:"".concat(d0," 1s ease-in-out ").concat(n,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:r?"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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZ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A8TG9hZGluZ0RvdCBkZWxheT17MH0gb2Zmc2V0PXtpc1J0bH0gLz5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXsxNjB9IG9mZnNldCAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezMyMH0gb2Zmc2V0PXshaXNSdGx9IC8+XG4gICAgPC9kaXY+XG4gICk7XG59O1xuIl19 */")})},h0=function(t){var n=t.innerProps,r=t.isRtl,i=t.size,o=i===void 0?4:i,s=et(t,n0);return F("div",L({},ue(B(B({},s),{},{innerProps:n,isRtl:r,size:o}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),n),F(Hi,{delay:0,offset:r}),F(Hi,{delay:160,offset:!0}),F(Hi,{delay:320,offset:!r}))},p0=function(t,n){var r=t.isDisabled,i=t.isFocused,o=t.theme,s=o.colors,u=o.borderRadius,a=o.spacing;return B({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:r?s.neutral5:s.neutral0,borderColor:r?s.neutral10:i?s.primary:s.neutral20,borderRadius:u,borderStyle:"solid",borderWidth:1,boxShadow:i?"0 0 0 1px ".concat(s.primary):void 0,"&:hover":{borderColor:i?s.primary:s.neutral30}})},m0=function(t){var n=t.children,r=t.isDisabled,i=t.isFocused,o=t.innerRef,s=t.innerProps,u=t.menuIsOpen;return F("div",L({ref:o},ue(t,"control",{control:!0,"control--is-disabled":r,"control--is-focused":i,"control--menu-is-open":u}),s,{"aria-disabled":r||void 0}),n)},g0=m0,b0=["data"],v0=function(t,n){var r=t.theme.spacing;return n?{}:{paddingBottom:r.baseUnit*2,paddingTop:r.baseUnit*2}},y0=function(t){var n=t.children,r=t.cx,i=t.getStyles,o=t.getClassNames,s=t.Heading,u=t.headingProps,a=t.innerProps,l=t.label,c=t.theme,d=t.selectProps;return F("div",L({},ue(t,"group",{group:!0}),a),F(s,L({},u,{selectProps:d,theme:c,getStyles:i,getClassNames:o,cx:r}),l),F("div",null,n))},C0=function(t,n){var r=t.theme,i=r.colors,o=r.spacing;return B({label:"group",cursor:"default",display:"block"},n?{}:{color:i.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:o.baseUnit*3,paddingRight:o.baseUnit*3,textTransform:"uppercase"})},I0=function(t){var n=qu(t);n.data;var r=et(n,b0);return F("div",L({},ue(t,"groupHeading",{"group-heading":!0}),r))},x0=y0,A0=["innerRef","isDisabled","isHidden","inputClassName"],S0=function(t,n){var r=t.isDisabled,i=t.value,o=t.theme,s=o.spacing,u=o.colors;return B(B({visibility:r?"hidden":"visible",transform:i?"translateZ(0)":""},T0),n?{}:{margin:s.baseUnit/2,paddingBottom:s.baseUnit/2,paddingTop:s.baseUnit/2,color:u.neutral80})},dl={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},T0={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":B({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},dl)},E0=function(t){return B({label:"input",color:"inherit",background:0,opacity:t?0:1,width:"100%"},dl)},P0=function(t){var n=t.cx,r=t.value,i=qu(t),o=i.innerRef,s=i.isDisabled,u=i.isHidden,a=i.inputClassName,l=et(i,A0);return F("div",L({},ue(t,"input",{"input-container":!0}),{"data-value":r||""}),F("input",L({className:n({input:!0},a),ref:o,style:E0(u),disabled:s},l)))},w0=P0,V0=function(t,n){var r=t.theme,i=r.spacing,o=r.borderRadius,s=r.colors;return B({label:"multiValue",display:"flex",minWidth:0},n?{}:{backgroundColor:s.neutral10,borderRadius:o/2,margin:i.baseUnit/2})},D0=function(t,n){var r=t.theme,i=r.borderRadius,o=r.colors,s=t.cropWithEllipsis;return B({overflow:"hidden",textOverflow:s||s===void 0?"ellipsis":void 0,whiteSpace:"nowrap"},n?{}:{borderRadius:i/2,color:o.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},F0=function(t,n){var r=t.theme,i=r.spacing,o=r.borderRadius,s=r.colors,u=t.isFocused;return B({alignItems:"center",display:"flex"},n?{}:{borderRadius:o/2,backgroundColor:u?s.dangerLight:void 0,paddingLeft:i.baseUnit,paddingRight:i.baseUnit,":hover":{backgroundColor:s.dangerLight,color:s.danger}})},fl=function(t){var n=t.children,r=t.innerProps;return F("div",r,n)},M0=fl,B0=fl;function G0(e){var t=e.children,n=e.innerProps;return F("div",L({role:"button"},n),t||F(Zi,{size:14}))}var O0=function(t){var n=t.children,r=t.components,i=t.data,o=t.innerProps,s=t.isDisabled,u=t.removeProps,a=t.selectProps,l=r.Container,c=r.Label,d=r.Remove;return F(l,{data:i,innerProps:B(B({},ue(t,"multiValue",{"multi-value":!0,"multi-value--is-disabled":s})),o),selectProps:a},F(c,{data:i,innerProps:B({},ue(t,"multiValueLabel",{"multi-value__label":!0})),selectProps:a},n),F(d,{data:i,innerProps:B(B({},ue(t,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(n||"option")},u),selectProps:a}))},N0=O0,R0=function(t,n){var r=t.isDisabled,i=t.isFocused,o=t.isSelected,s=t.theme,u=s.spacing,a=s.colors;return B({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},n?{}:{backgroundColor:o?a.primary:i?a.primary25:"transparent",color:r?a.neutral20:o?a.neutral0:"inherit",padding:"".concat(u.baseUnit*2,"px ").concat(u.baseUnit*3,"px"),":active":{backgroundColor:r?void 0:o?a.primary:a.primary50}})},L0=function(t){var n=t.children,r=t.isDisabled,i=t.isFocused,o=t.isSelected,s=t.innerRef,u=t.innerProps;return F("div",L({},ue(t,"option",{option:!0,"option--is-disabled":r,"option--is-focused":i,"option--is-selected":o}),{ref:s,"aria-disabled":r},u),n)},W0=L0,X0=function(t,n){var r=t.theme,i=r.spacing,o=r.colors;return B({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},n?{}:{color:o.neutral50,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},Z0=function(t){var n=t.children,r=t.innerProps;return F("div",L({},ue(t,"placeholder",{placeholder:!0}),r),n)},H0=Z0,k0=function(t,n){var r=t.isDisabled,i=t.theme,o=i.spacing,s=i.colors;return B({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},n?{}:{color:r?s.neutral40:s.neutral80,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},z0=function(t){var n=t.children,r=t.isDisabled,i=t.innerProps;return F("div",L({},ue(t,"singleValue",{"single-value":!0,"single-value--is-disabled":r}),i),n)},j0=z0,Y0={ClearIndicator:u0,Control:g0,DropdownIndicator:s0,DownChevron:ll,CrossIcon:Zi,Group:x0,GroupHeading:I0,IndicatorsContainer:e0,IndicatorSeparator:c0,Input:w0,LoadingIndicator:h0,Menu:Xb,MenuList:Hb,MenuPortal:Ub,LoadingMessage:Yb,NoOptionsMessage:jb,MultiValue:N0,MultiValueContainer:M0,MultiValueLabel:B0,MultiValueRemove:G0,Option:W0,Placeholder:H0,SelectContainer:Qb,SingleValue:j0,ValueContainer:$b},J0=function(t){return B(B({},Y0),t.components)},hl=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function U0(e,t){return!!(e===t||hl(e)&&hl(t))}function _0(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!U0(e[n],t[n]))return!1;return!0}function Q0(e,t){t===void 0&&(t=_0);var n=null;function r(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];if(n&&n.lastThis===this&&t(i,n.lastArgs))return n.lastResult;var s=e.apply(this,i);return n={lastResult:s,lastArgs:i,lastThis:this},s}return r.clear=function(){n=null},r}function K0(){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 $0=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:K0},q0=function(t){return F("span",L({css:$0},t))},pl=q0,ev={guidance:function(t){var n=t.isSearchable,r=t.isMulti,i=t.tabSelectsValue,o=t.context,s=t.isInitialFocus;switch(o){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(i?", press Tab to select the option and exit the menu":"",".");case"input":return s?"".concat(t["aria-label"]||"Select"," is focused ").concat(n?",type to refine list":"",", press Down to open the menu, ").concat(r?" 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,r=t.label,i=r===void 0?"":r,o=t.labels,s=t.isDisabled;switch(n){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(i,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(o.length>1?"s":""," ").concat(o.join(","),", selected.");case"select-option":return s?"option ".concat(i," is disabled. Select another option."):"option ".concat(i,", selected.");default:return""}},onFocus:function(t){var n=t.context,r=t.focused,i=t.options,o=t.label,s=o===void 0?"":o,u=t.selectValue,a=t.isDisabled,l=t.isSelected,c=t.isAppleDevice,d=function(g,v){return g&&g.length?"".concat(g.indexOf(v)+1," of ").concat(g.length):""};if(n==="value"&&u)return"value ".concat(s," focused, ").concat(d(u,r),".");if(n==="menu"&&c){var f=a?" disabled":"",p="".concat(l?" selected":"").concat(f);return"".concat(s).concat(p,", ").concat(d(i,r),".")}return""},onFilter:function(t){var n=t.inputValue,r=t.resultsMessage;return"".concat(r).concat(n?" for search term "+n:"",".")}},tv=function(t){var n=t.ariaSelection,r=t.focusedOption,i=t.focusedValue,o=t.focusableOptions,s=t.isFocused,u=t.selectValue,a=t.selectProps,l=t.id,c=t.isAppleDevice,d=a.ariaLiveMessages,f=a.getOptionLabel,p=a.inputValue,b=a.isMulti,g=a.isOptionDisabled,v=a.isSearchable,C=a.menuIsOpen,y=a.options,m=a.screenReaderStatus,I=a.tabSelectsValue,h=a.isLoading,S=a["aria-label"],T=a["aria-live"],P=x.useMemo(function(){return B(B({},ev),d||{})},[d]),M=x.useMemo(function(){var k="";if(n&&P.onChange){var z=n.option,re=n.options,ie=n.removedValue,be=n.removedValues,E=n.value,V=function(H){return Array.isArray(H)?null:H},D=ie||z||V(E),G=D?f(D):"",O=re||be||void 0,j=O?O.map(f):[],N=B({isDisabled:D&&g(D,u),label:G,labels:j},n);k=P.onChange(N)}return k},[n,P,g,u,f]),X=x.useMemo(function(){var k="",z=r||i,re=!!(r&&u&&u.includes(r));if(z&&P.onFocus){var ie={focused:z,label:f(z),isDisabled:g(z,u),isSelected:re,options:o,context:z===r?"menu":"value",selectValue:u,isAppleDevice:c};k=P.onFocus(ie)}return k},[r,i,f,g,P,o,u,c]),U=x.useMemo(function(){var k="";if(C&&y.length&&!h&&P.onFilter){var z=m({count:o.length});k=P.onFilter({inputValue:p,resultsMessage:z})}return k},[o,p,C,P,y,m,h]),ne=(n==null?void 0:n.action)==="initial-input-focus",de=x.useMemo(function(){var k="";if(P.guidance){var z=i?"value":C?"menu":"input";k=P.guidance({"aria-label":S,context:z,isDisabled:r&&g(r,u),isMulti:b,isSearchable:v,tabSelectsValue:I,isInitialFocus:ne})}return k},[S,r,i,b,g,v,C,P,u,I,ne]),oe=F(x.Fragment,null,F("span",{id:"aria-selection"},M),F("span",{id:"aria-focused"},X),F("span",{id:"aria-results"},U),F("span",{id:"aria-guidance"},de));return F(x.Fragment,null,F(pl,{id:l},ne&&oe),F(pl,{"aria-live":T,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},s&&!ne&&oe))},nv=tv,ki=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],rv=new RegExp("["+ki.map(function(e){return e.letters}).join("")+"]","g"),ml={},zi=0;zi<ki.length;zi++)for(var ji=ki[zi],Yi=0;Yi<ji.letters.length;Yi++)ml[ji.letters[Yi]]=ji.base;var gl=function(t){return t.replace(rv,function(n){return ml[n]})},iv=Q0(gl),bl=function(t){return t.replace(/^\s+|\s+$/g,"")},ov=function(t){return"".concat(t.label," ").concat(t.value)},sv=function(t){return function(n,r){if(n.data.__isNew__)return!0;var i=B({ignoreCase:!0,ignoreAccents:!0,stringify:ov,trim:!0,matchFrom:"any"},t),o=i.ignoreCase,s=i.ignoreAccents,u=i.stringify,a=i.trim,l=i.matchFrom,c=a?bl(r):r,d=a?bl(u(n)):u(n);return o&&(c=c.toLowerCase(),d=d.toLowerCase()),s&&(c=iv(c),d=gl(d)),l==="start"?d.substr(0,c.length)===c:d.indexOf(c)>-1}},av=["innerRef"];function uv(e){var t=e.innerRef,n=et(e,av),r=Mb(n,"onExited","in","enter","exit","appear");return F("input",L({ref:t},r,{css:Ni({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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVmIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgcmVtb3ZlUHJvcHMgfSBmcm9tICcuLi91dGlscyc7XG5cbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uIER1bW15SW5wdXQoe1xuICBpbm5lclJlZixcbiAgLi4ucHJvcHNcbn06IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snaW5wdXQnXSAmIHtcbiAgcmVhZG9ubHkgaW5uZXJSZWY6IFJlZjxIVE1MSW5wdXRFbGVtZW50Pjtcbn0pIHtcbiAgLy8gUmVtb3ZlIGFuaW1hdGlvbiBwcm9wcyBub3QgbWVhbnQgZm9yIEhUTUwgZWxlbWVudHNcbiAgY29uc3QgZmlsdGVyZWRQcm9wcyA9IHJlbW92ZVByb3BzKFxuICAgIHByb3BzLFxuICAgICdvbkV4aXRlZCcsXG4gICAgJ2luJyxcbiAgICAnZW50ZXInLFxuICAgICdleGl0JyxcbiAgICAnYXBwZWFyJ1xuICApO1xuXG4gIHJldHVybiAoXG4gICAgPGlucHV0XG4gICAgICByZWY9e2lubmVyUmVmfVxuICAgICAgey4uLmZpbHRlcmVkUHJvcHN9XG4gICAgICBjc3M9e3tcbiAgICAgICAgbGFiZWw6ICdkdW1teUlucHV0JyxcbiAgICAgICAgLy8gZ2V0IHJpZCBvZiBhbnkgZGVmYXVsdCBzdHlsZXNcbiAgICAgICAgYmFja2dyb3VuZDogMCxcbiAgICAgICAgYm9yZGVyOiAwLFxuICAgICAgICAvLyBpbXBvcnRhbnQhIHRoaXMgaGlkZXMgdGhlIGZsYXNoaW5nIGN1cnNvclxuICAgICAgICBjYXJldENvbG9yOiAndHJhbnNwYXJlbnQnLFxuICAgICAgICBmb250U2l6ZTogJ2luaGVyaXQnLFxuICAgICAgICBncmlkQXJlYTogJzEgLyAxIC8gMiAvIDMnLFxuICAgICAgICBvdXRsaW5lOiAwLFxuICAgICAgICBwYWRkaW5nOiAwLFxuICAgICAgICAvLyBpbXBvcnRhbnQhIHdpdGhvdXQgYHdpZHRoYCBicm93c2VycyB3b24ndCBhbGxvdyBmb2N1c1xuICAgICAgICB3aWR0aDogMSxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIGRlc2t0b3BcbiAgICAgICAgY29sb3I6ICd0cmFuc3BhcmVudCcsXG5cbiAgICAgICAgLy8gcmVtb3ZlIGN1cnNvciBvbiBtb2JpbGUgd2hpbHN0IG1haW50YWluaW5nIFwic2Nyb2xsIGludG8gdmlld1wiIGJlaGF2aW91clxuICAgICAgICBsZWZ0OiAtMTAwLFxuICAgICAgICBvcGFjaXR5OiAwLFxuICAgICAgICBwb3NpdGlvbjogJ3JlbGF0aXZlJyxcbiAgICAgICAgdHJhbnNmb3JtOiAnc2NhbGUoLjAxKScsXG4gICAgICB9fVxuICAgIC8+XG4gICk7XG59XG4iXX0= */")}))}var lv=function(t){t.cancelable&&t.preventDefault(),t.stopPropagation()};function cv(e){var t=e.isEnabled,n=e.onBottomArrive,r=e.onBottomLeave,i=e.onTopArrive,o=e.onTopLeave,s=x.useRef(!1),u=x.useRef(!1),a=x.useRef(0),l=x.useRef(null),c=x.useCallback(function(v,C){if(l.current!==null){var y=l.current,m=y.scrollTop,I=y.scrollHeight,h=y.clientHeight,S=l.current,T=C>0,P=I-h-m,M=!1;P>C&&s.current&&(r&&r(v),s.current=!1),T&&u.current&&(o&&o(v),u.current=!1),T&&C>P?(n&&!s.current&&n(v),S.scrollTop=I,M=!0,s.current=!0):!T&&-C>m&&(i&&!u.current&&i(v),S.scrollTop=0,M=!0,u.current=!0),M&&lv(v)}},[n,r,i,o]),d=x.useCallback(function(v){c(v,v.deltaY)},[c]),f=x.useCallback(function(v){a.current=v.changedTouches[0].clientY},[]),p=x.useCallback(function(v){var C=a.current-v.changedTouches[0].clientY;c(v,C)},[c]),b=x.useCallback(function(v){if(v){var C=Vb?{passive:!1}:!1;v.addEventListener("wheel",d,C),v.addEventListener("touchstart",f,C),v.addEventListener("touchmove",p,C)}},[p,f,d]),g=x.useCallback(function(v){v&&(v.removeEventListener("wheel",d,!1),v.removeEventListener("touchstart",f,!1),v.removeEventListener("touchmove",p,!1))},[p,f,d]);return x.useEffect(function(){if(t){var v=l.current;return b(v),function(){g(v)}}},[t,b,g]),function(v){l.current=v}}var vl=["boxSizing","height","overflow","paddingRight","position"],yl={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Cl(e){e.preventDefault()}function Il(e){e.stopPropagation()}function xl(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;e===0?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function Al(){return"ontouchstart"in window||navigator.maxTouchPoints}var Sl=!!(typeof window<"u"&&window.document&&window.document.createElement),an=0,Ot={capture:!1,passive:!1};function dv(e){var t=e.isEnabled,n=e.accountForScrollbars,r=n===void 0?!0:n,i=x.useRef({}),o=x.useRef(null),s=x.useCallback(function(a){if(Sl){var l=document.body,c=l&&l.style;if(r&&vl.forEach(function(b){var g=c&&c[b];i.current[b]=g}),r&&an<1){var d=parseInt(i.current.paddingRight,10)||0,f=document.body?document.body.clientWidth:0,p=window.innerWidth-f+d||0;Object.keys(yl).forEach(function(b){var g=yl[b];c&&(c[b]=g)}),c&&(c.paddingRight="".concat(p,"px"))}l&&Al()&&(l.addEventListener("touchmove",Cl,Ot),a&&(a.addEventListener("touchstart",xl,Ot),a.addEventListener("touchmove",Il,Ot))),an+=1}},[r]),u=x.useCallback(function(a){if(Sl){var l=document.body,c=l&&l.style;an=Math.max(an-1,0),r&&an<1&&vl.forEach(function(d){var f=i.current[d];c&&(c[d]=f)}),l&&Al()&&(l.removeEventListener("touchmove",Cl,Ot),a&&(a.removeEventListener("touchstart",xl,Ot),a.removeEventListener("touchmove",Il,Ot)))}},[r]);return x.useEffect(function(){if(t){var a=o.current;return s(a),function(){u(a)}}},[t,s,u]),function(a){o.current=a}}function fv(){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 hv=function(t){var n=t.target;return n.ownerDocument.activeElement&&n.ownerDocument.activeElement.blur()},pv=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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY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AgIDwvRnJhZ21lbnQ+XG4gICk7XG59XG4iXX0= */",toString:fv};function mv(e){var t=e.children,n=e.lockEnabled,r=e.captureEnabled,i=r===void 0?!0:r,o=e.onBottomArrive,s=e.onBottomLeave,u=e.onTopArrive,a=e.onTopLeave,l=cv({isEnabled:i,onBottomArrive:o,onBottomLeave:s,onTopArrive:u,onTopLeave:a}),c=dv({isEnabled:n}),d=function(p){l(p),c(p)};return F(x.Fragment,null,n&&F("div",{onClick:hv,css:pv}),t(d))}function gv(){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 bv=process.env.NODE_ENV==="production"?{name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"}:{name:"5kkxb2-requiredInput-RequiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%;label:RequiredInput;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlJlcXVpcmVkSW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWNJIiwiZmlsZSI6IlJlcXVpcmVkSW5wdXQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyBGb2N1c0V2ZW50SGFuZGxlciwgRnVuY3Rpb25Db21wb25lbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmNvbnN0IFJlcXVpcmVkSW5wdXQ6IEZ1bmN0aW9uQ29tcG9uZW50PHtcbiAgcmVhZG9ubHkgbmFtZT86IHN0cmluZztcbiAgcmVhZG9ubHkgb25Gb2N1czogRm9jdXNFdmVudEhhbmRsZXI8SFRNTElucHV0RWxlbWVudD47XG59PiA9ICh7IG5hbWUsIG9uRm9jdXMgfSkgPT4gKFxuICA8aW5wdXRcbiAgICByZXF1aXJlZFxuICAgIG5hbWU9e25hbWV9XG4gICAgdGFiSW5kZXg9ey0xfVxuICAgIGFyaWEtaGlkZGVuPVwidHJ1ZVwiXG4gICAgb25Gb2N1cz17b25Gb2N1c31cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAncmVxdWlyZWRJbnB1dCcsXG4gICAgICBvcGFjaXR5OiAwLFxuICAgICAgcG9pbnRlckV2ZW50czogJ25vbmUnLFxuICAgICAgcG9zaXRpb246ICdhYnNvbHV0ZScsXG4gICAgICBib3R0b206IDAsXG4gICAgICBsZWZ0OiAwLFxuICAgICAgcmlnaHQ6IDAsXG4gICAgICB3aWR0aDogJzEwMCUnLFxuICAgIH19XG4gICAgLy8gUHJldmVudCBgU3dpdGNoaW5nIGZyb20gdW5jb250cm9sbGVkIHRvIGNvbnRyb2xsZWRgIGVycm9yXG4gICAgdmFsdWU9XCJcIlxuICAgIG9uQ2hhbmdlPXsoKSA9PiB7fX1cbiAgLz5cbik7XG5cbmV4cG9ydCBkZWZhdWx0IFJlcXVpcmVkSW5wdXQ7XG4iXX0= */",toString:gv},vv=function(t){var n=t.name,r=t.onFocus;return F("input",{required:!0,name:n,tabIndex:-1,"aria-hidden":"true",onFocus:r,css:bv,value:"",onChange:function(){}})},yv=vv;function Ji(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 Cv(){return Ji(/^iPhone/i)}function Tl(){return Ji(/^Mac/i)}function Iv(){return Ji(/^iPad/i)||Tl()&&navigator.maxTouchPoints>1}function xv(){return Cv()||Iv()}function Av(){return Tl()||xv()}var Sv=function(t){return t.label},Tv=function(t){return t.label},Ev=function(t){return t.value},Pv=function(t){return!!t.isDisabled},wv={clearIndicator:a0,container:_b,control:p0,dropdownIndicator:o0,group:v0,groupHeading:C0,indicatorsContainer:qb,indicatorSeparator:l0,input:S0,loadingIndicator:f0,loadingMessage:zb,menu:Rb,menuList:Zb,menuPortal:Jb,multiValue:V0,multiValueLabel:D0,multiValueRemove:F0,noOptionsMessage:kb,option:R0,placeholder:X0,singleValue:k0,valueContainer:Kb},Vv={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%)"},Dv=4,El=4,Fv=38,Mv=El*2,Bv={baseUnit:El,controlHeight:Fv,menuGutter:Mv},Ui={borderRadius:Dv,colors:Vv,spacing:Bv},Gv={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:nl(),captureMenuScroll:!nl(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:sv(),formatGroupLabel:Sv,getOptionLabel:Tv,getOptionValue:Ev,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:Pv,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!Pb(),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 Pl(e,t,n,r){var i=Ml(e,t,n),o=Bl(e,t,n),s=Fl(e,t),u=ir(e,t);return{type:"option",data:t,isDisabled:i,isSelected:o,label:s,value:u,index:r}}function rr(e,t){return e.options.map(function(n,r){if("options"in n){var i=n.options.map(function(s,u){return Pl(e,s,t,u)}).filter(function(s){return Dl(e,s)});return i.length>0?{type:"group",data:n,options:i,index:r}:void 0}var o=Pl(e,n,t,r);return Dl(e,o)?o:void 0}).filter(Db)}function wl(e){return e.reduce(function(t,n){return n.type==="group"?t.push.apply(t,Ei(n.options.map(function(r){return r.data}))):t.push(n.data),t},[])}function Vl(e,t){return e.reduce(function(n,r){return r.type==="group"?n.push.apply(n,Ei(r.options.map(function(i){return{data:i.data,id:"".concat(t,"-").concat(r.index,"-").concat(i.index)}}))):n.push({data:r.data,id:"".concat(t,"-").concat(r.index)}),n},[])}function Ov(e,t){return wl(rr(e,t))}function Dl(e,t){var n=e.inputValue,r=n===void 0?"":n,i=t.data,o=t.isSelected,s=t.label,u=t.value;return(!Ol(e)||!o)&&Gl(e,{label:s,value:u,data:i},r)}function Nv(e,t){var n=e.focusedValue,r=e.selectValue,i=r.indexOf(n);if(i>-1){var o=t.indexOf(n);if(o>-1)return n;if(i<t.length)return t[i]}return null}function Rv(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}var _i=function(t,n){var r,i=(r=t.find(function(o){return o.data===n}))===null||r===void 0?void 0:r.id;return i||null},Fl=function(t,n){return t.getOptionLabel(n)},ir=function(t,n){return t.getOptionValue(n)};function Ml(e,t,n){return typeof e.isOptionDisabled=="function"?e.isOptionDisabled(t,n):!1}function Bl(e,t,n){if(n.indexOf(t)>-1)return!0;if(typeof e.isOptionSelected=="function")return e.isOptionSelected(t,n);var r=ir(e,t);return n.some(function(i){return ir(e,i)===r})}function Gl(e,t,n){return e.filterOption?e.filterOption(t,n):!0}var Ol=function(t){var n=t.hideSelectedOptions,r=t.isMulti;return n===void 0?r:n},Lv=1,Nl=function(e){Qm(n,e);var t=qm(n);function n(r){var i;if(Um(this,n),i=t.call(this,r),i.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:""},i.blockOptionHover=!1,i.isComposing=!1,i.commonProps=void 0,i.initialTouchX=0,i.initialTouchY=0,i.openAfterFocus=!1,i.scrollToFocusedOptionOnUpdate=!1,i.userIsDragging=void 0,i.isAppleDevice=Av(),i.controlRef=null,i.getControlRef=function(a){i.controlRef=a},i.focusedOptionRef=null,i.getFocusedOptionRef=function(a){i.focusedOptionRef=a},i.menuListRef=null,i.getMenuListRef=function(a){i.menuListRef=a},i.inputRef=null,i.getInputRef=function(a){i.inputRef=a},i.focus=i.focusInput,i.blur=i.blurInput,i.onChange=function(a,l){var c=i.props,d=c.onChange,f=c.name;l.name=f,i.ariaOnChange(a,l),d(a,l)},i.setValue=function(a,l,c){var d=i.props,f=d.closeMenuOnSelect,p=d.isMulti,b=d.inputValue;i.onInputChange("",{action:"set-value",prevInputValue:b}),f&&(i.setState({inputIsHiddenAfterUpdate:!p}),i.onMenuClose()),i.setState({clearFocusValueOnUpdate:!0}),i.onChange(a,{action:l,option:c})},i.selectOption=function(a){var l=i.props,c=l.blurInputOnSelect,d=l.isMulti,f=l.name,p=i.state.selectValue,b=d&&i.isOptionSelected(a,p),g=i.isOptionDisabled(a,p);if(b){var v=i.getOptionValue(a);i.setValue(p.filter(function(C){return i.getOptionValue(C)!==v}),"deselect-option",a)}else if(!g)d?i.setValue([].concat(Ei(p),[a]),"select-option",a):i.setValue(a,"select-option");else{i.ariaOnChange(a,{action:"select-option",option:a,name:f});return}c&&i.blurInput()},i.removeValue=function(a){var l=i.props.isMulti,c=i.state.selectValue,d=i.getOptionValue(a),f=c.filter(function(b){return i.getOptionValue(b)!==d}),p=nr(l,f,f[0]||null);i.onChange(p,{action:"remove-value",removedValue:a}),i.focusInput()},i.clearValue=function(){var a=i.state.selectValue;i.onChange(nr(i.props.isMulti,[],null),{action:"clear",removedValues:a})},i.popValue=function(){var a=i.props.isMulti,l=i.state.selectValue,c=l[l.length-1],d=l.slice(0,l.length-1),f=nr(a,d,d[0]||null);i.onChange(f,{action:"pop-value",removedValue:c})},i.getFocusedOptionId=function(a){return _i(i.state.focusableOptionsWithIds,a)},i.getFocusableOptionsWithIds=function(){return Vl(rr(i.props,i.state.selectValue),i.getElementId("option"))},i.getValue=function(){return i.state.selectValue},i.cx=function(){for(var a=arguments.length,l=new Array(a),c=0;c<a;c++)l[c]=arguments[c];return xb.apply(void 0,[i.props.classNamePrefix].concat(l))},i.getOptionLabel=function(a){return Fl(i.props,a)},i.getOptionValue=function(a){return ir(i.props,a)},i.getStyles=function(a,l){var c=i.props.unstyled,d=wv[a](l,c);d.boxSizing="border-box";var f=i.props.styles[a];return f?f(d,l):d},i.getClassNames=function(a,l){var c,d;return(c=(d=i.props.classNames)[a])===null||c===void 0?void 0:c.call(d,l)},i.getElementId=function(a){return"".concat(i.state.instancePrefix,"-").concat(a)},i.getComponents=function(){return J0(i.props)},i.buildCategorizedOptions=function(){return rr(i.props,i.state.selectValue)},i.getCategorizedOptions=function(){return i.props.menuIsOpen?i.buildCategorizedOptions():[]},i.buildFocusableOptions=function(){return wl(i.buildCategorizedOptions())},i.getFocusableOptions=function(){return i.props.menuIsOpen?i.buildFocusableOptions():[]},i.ariaOnChange=function(a,l){i.setState({ariaSelection:B({value:a},l)})},i.onMenuMouseDown=function(a){a.button===0&&(a.stopPropagation(),a.preventDefault(),i.focusInput())},i.onMenuMouseMove=function(a){i.blockOptionHover=!1},i.onControlMouseDown=function(a){if(!a.defaultPrevented){var l=i.props.openMenuOnClick;i.state.isFocused?i.props.menuIsOpen?a.target.tagName!=="INPUT"&&a.target.tagName!=="TEXTAREA"&&i.onMenuClose():l&&i.openMenu("first"):(l&&(i.openAfterFocus=!0),i.focusInput()),a.target.tagName!=="INPUT"&&a.target.tagName!=="TEXTAREA"&&a.preventDefault()}},i.onDropdownIndicatorMouseDown=function(a){if(!(a&&a.type==="mousedown"&&a.button!==0)&&!i.props.isDisabled){var l=i.props,c=l.isMulti,d=l.menuIsOpen;i.focusInput(),d?(i.setState({inputIsHiddenAfterUpdate:!c}),i.onMenuClose()):i.openMenu("first"),a.preventDefault()}},i.onClearIndicatorMouseDown=function(a){a&&a.type==="mousedown"&&a.button!==0||(i.clearValue(),a.preventDefault(),i.openAfterFocus=!1,a.type==="touchend"?i.focusInput():setTimeout(function(){return i.focusInput()}))},i.onScroll=function(a){typeof i.props.closeMenuOnScroll=="boolean"?a.target instanceof HTMLElement&&$n(a.target)&&i.props.onMenuClose():typeof i.props.closeMenuOnScroll=="function"&&i.props.closeMenuOnScroll(a)&&i.props.onMenuClose()},i.onCompositionStart=function(){i.isComposing=!0},i.onCompositionEnd=function(){i.isComposing=!1},i.onTouchStart=function(a){var l=a.touches,c=l&&l.item(0);c&&(i.initialTouchX=c.clientX,i.initialTouchY=c.clientY,i.userIsDragging=!1)},i.onTouchMove=function(a){var l=a.touches,c=l&&l.item(0);if(c){var d=Math.abs(c.clientX-i.initialTouchX),f=Math.abs(c.clientY-i.initialTouchY),p=5;i.userIsDragging=d>p||f>p}},i.onTouchEnd=function(a){i.userIsDragging||(i.controlRef&&!i.controlRef.contains(a.target)&&i.menuListRef&&!i.menuListRef.contains(a.target)&&i.blurInput(),i.initialTouchX=0,i.initialTouchY=0)},i.onControlTouchEnd=function(a){i.userIsDragging||i.onControlMouseDown(a)},i.onClearIndicatorTouchEnd=function(a){i.userIsDragging||i.onClearIndicatorMouseDown(a)},i.onDropdownIndicatorTouchEnd=function(a){i.userIsDragging||i.onDropdownIndicatorMouseDown(a)},i.handleInputChange=function(a){var l=i.props.inputValue,c=a.currentTarget.value;i.setState({inputIsHiddenAfterUpdate:!1}),i.onInputChange(c,{action:"input-change",prevInputValue:l}),i.props.menuIsOpen||i.onMenuOpen()},i.onInputFocus=function(a){i.props.onFocus&&i.props.onFocus(a),i.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(i.openAfterFocus||i.props.openMenuOnFocus)&&i.openMenu("first"),i.openAfterFocus=!1},i.onInputBlur=function(a){var l=i.props.inputValue;if(i.menuListRef&&i.menuListRef.contains(document.activeElement)){i.inputRef.focus();return}i.props.onBlur&&i.props.onBlur(a),i.onInputChange("",{action:"input-blur",prevInputValue:l}),i.onMenuClose(),i.setState({focusedValue:null,isFocused:!1})},i.onOptionHover=function(a){if(!(i.blockOptionHover||i.state.focusedOption===a)){var l=i.getFocusableOptions(),c=l.indexOf(a);i.setState({focusedOption:a,focusedOptionId:c>-1?i.getFocusedOptionId(a):null})}},i.shouldHideSelectedOptions=function(){return Ol(i.props)},i.onValueInputFocus=function(a){a.preventDefault(),a.stopPropagation(),i.focus()},i.onKeyDown=function(a){var l=i.props,c=l.isMulti,d=l.backspaceRemovesValue,f=l.escapeClearsValue,p=l.inputValue,b=l.isClearable,g=l.isDisabled,v=l.menuIsOpen,C=l.onKeyDown,y=l.tabSelectsValue,m=l.openMenuOnFocus,I=i.state,h=I.focusedOption,S=I.focusedValue,T=I.selectValue;if(!g&&!(typeof C=="function"&&(C(a),a.defaultPrevented))){switch(i.blockOptionHover=!0,a.key){case"ArrowLeft":if(!c||p)return;i.focusValue("previous");break;case"ArrowRight":if(!c||p)return;i.focusValue("next");break;case"Delete":case"Backspace":if(p)return;if(S)i.removeValue(S);else{if(!d)return;c?i.popValue():b&&i.clearValue()}break;case"Tab":if(i.isComposing||a.shiftKey||!v||!y||!h||m&&i.isOptionSelected(h,T))return;i.selectOption(h);break;case"Enter":if(a.keyCode===229)break;if(v){if(!h||i.isComposing)return;i.selectOption(h);break}return;case"Escape":v?(i.setState({inputIsHiddenAfterUpdate:!1}),i.onInputChange("",{action:"menu-close",prevInputValue:p}),i.onMenuClose()):b&&f&&i.clearValue();break;case" ":if(p)return;if(!v){i.openMenu("first");break}if(!h)return;i.selectOption(h);break;case"ArrowUp":v?i.focusOption("up"):i.openMenu("last");break;case"ArrowDown":v?i.focusOption("down"):i.openMenu("first");break;case"PageUp":if(!v)return;i.focusOption("pageup");break;case"PageDown":if(!v)return;i.focusOption("pagedown");break;case"Home":if(!v)return;i.focusOption("first");break;case"End":if(!v)return;i.focusOption("last");break;default:return}a.preventDefault()}},i.state.instancePrefix="react-select-"+(i.props.instanceId||++Lv),i.state.selectValue=$u(r.value),r.menuIsOpen&&i.state.selectValue.length){var o=i.getFocusableOptionsWithIds(),s=i.buildFocusableOptions(),u=s.indexOf(i.state.selectValue[0]);i.state.focusableOptionsWithIds=o,i.state.focusedOption=s[u],i.state.focusedOptionId=_i(o,s[u])}return i}return _m(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&&tl(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(i){var o=this.props,s=o.isDisabled,u=o.menuIsOpen,a=this.state.isFocused;(a&&!s&&i.isDisabled||a&&u&&!i.menuIsOpen)&&this.focusInput(),a&&s&&!i.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!a&&!s&&i.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(tl(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(i,o){this.props.onInputChange(i,o)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(i){var o=this,s=this.state,u=s.selectValue,a=s.isFocused,l=this.buildFocusableOptions(),c=i==="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 o.onMenuOpen()})}},{key:"focusValue",value:function(i){var o=this.state,s=o.selectValue,u=o.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var a=s.indexOf(u);u||(a=-1);var l=s.length-1,c=-1;if(s.length){switch(i){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:s[c]})}}}},{key:"focusOption",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"first",o=this.props.pageSize,s=this.state.focusedOption,u=this.getFocusableOptions();if(u.length){var a=0,l=u.indexOf(s);s||(l=-1),i==="up"?a=l>0?l-1:u.length-1:i==="down"?a=(l+1)%u.length:i==="pageup"?(a=l-o,a<0&&(a=0)):i==="pagedown"?(a=l+o,a>u.length-1&&(a=u.length-1)):i==="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(Ui):B(B({},Ui),this.props.theme):Ui}},{key:"getCommonProps",value:function(){var i=this.clearValue,o=this.cx,s=this.getStyles,u=this.getClassNames,a=this.getValue,l=this.selectOption,c=this.setValue,d=this.props,f=d.isMulti,p=d.isRtl,b=d.options,g=this.hasValue();return{clearValue:i,cx:o,getStyles:s,getClassNames:u,getValue:a,hasValue:g,isMulti:f,isRtl:p,options:b,selectOption:l,selectProps:d,setValue:c,theme:this.getTheme()}}},{key:"hasValue",value:function(){var i=this.state.selectValue;return i.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var i=this.props,o=i.isClearable,s=i.isMulti;return o===void 0?s:o}},{key:"isOptionDisabled",value:function(i,o){return Ml(this.props,i,o)}},{key:"isOptionSelected",value:function(i,o){return Bl(this.props,i,o)}},{key:"filterOption",value:function(i,o){return Gl(this.props,i,o)}},{key:"formatOptionLabel",value:function(i,o){if(typeof this.props.formatOptionLabel=="function"){var s=this.props.inputValue,u=this.state.selectValue;return this.props.formatOptionLabel(i,{context:o,inputValue:s,selectValue:u})}else return this.getOptionLabel(i)}},{key:"formatGroupLabel",value:function(i){return this.props.formatGroupLabel(i)}},{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 i=this.props,o=i.isDisabled,s=i.isSearchable,u=i.inputId,a=i.inputValue,l=i.tabIndex,c=i.form,d=i.menuIsOpen,f=i.required,p=this.getComponents(),b=p.Input,g=this.state,v=g.inputIsHidden,C=g.ariaSelection,y=this.commonProps,m=u||this.getElementId("input"),I=B(B(B({"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")}),!s&&{"aria-readonly":!0}),this.hasValue()?(C==null?void 0:C.action)==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return s?Z.createElement(b,L({},y,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:m,innerRef:this.getInputRef,isDisabled:o,isHidden:v,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:l,form:c,type:"text",value:a},I)):Z.createElement(uv,L({id:m,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Kn,onFocus:this.onInputFocus,disabled:o,tabIndex:l,inputMode:"none",form:c,value:""},I))}},{key:"renderPlaceholderOrValue",value:function(){var i=this,o=this.getComponents(),s=o.MultiValue,u=o.MultiValueContainer,a=o.MultiValueLabel,l=o.MultiValueRemove,c=o.SingleValue,d=o.Placeholder,f=this.commonProps,p=this.props,b=p.controlShouldRenderValue,g=p.isDisabled,v=p.isMulti,C=p.inputValue,y=p.placeholder,m=this.state,I=m.selectValue,h=m.focusedValue,S=m.isFocused;if(!this.hasValue()||!b)return C?null:Z.createElement(d,L({},f,{key:"placeholder",isDisabled:g,isFocused:S,innerProps:{id:this.getElementId("placeholder")}}),y);if(v)return I.map(function(P,M){var X=P===h,U="".concat(i.getOptionLabel(P),"-").concat(i.getOptionValue(P));return Z.createElement(s,L({},f,{components:{Container:u,Label:a,Remove:l},isFocused:X,isDisabled:g,key:U,index:M,removeProps:{onClick:function(){return i.removeValue(P)},onTouchEnd:function(){return i.removeValue(P)},onMouseDown:function(de){de.preventDefault()}},data:P}),i.formatOptionLabel(P,"value"))});if(C)return null;var T=I[0];return Z.createElement(c,L({},f,{data:T,isDisabled:g}),this.formatOptionLabel(T,"value"))}},{key:"renderClearIndicator",value:function(){var i=this.getComponents(),o=i.ClearIndicator,s=this.commonProps,u=this.props,a=u.isDisabled,l=u.isLoading,c=this.state.isFocused;if(!this.isClearable()||!o||a||!this.hasValue()||l)return null;var d={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return Z.createElement(o,L({},s,{innerProps:d,isFocused:c}))}},{key:"renderLoadingIndicator",value:function(){var i=this.getComponents(),o=i.LoadingIndicator,s=this.commonProps,u=this.props,a=u.isDisabled,l=u.isLoading,c=this.state.isFocused;if(!o||!l)return null;var d={"aria-hidden":"true"};return Z.createElement(o,L({},s,{innerProps:d,isDisabled:a,isFocused:c}))}},{key:"renderIndicatorSeparator",value:function(){var i=this.getComponents(),o=i.DropdownIndicator,s=i.IndicatorSeparator;if(!o||!s)return null;var u=this.commonProps,a=this.props.isDisabled,l=this.state.isFocused;return Z.createElement(s,L({},u,{isDisabled:a,isFocused:l}))}},{key:"renderDropdownIndicator",value:function(){var i=this.getComponents(),o=i.DropdownIndicator;if(!o)return null;var s=this.commonProps,u=this.props.isDisabled,a=this.state.isFocused,l={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return Z.createElement(o,L({},s,{innerProps:l,isDisabled:u,isFocused:a}))}},{key:"renderMenu",value:function(){var i=this,o=this.getComponents(),s=o.Group,u=o.GroupHeading,a=o.Menu,l=o.MenuList,c=o.MenuPortal,d=o.LoadingMessage,f=o.NoOptionsMessage,p=o.Option,b=this.commonProps,g=this.state.focusedOption,v=this.props,C=v.captureMenuScroll,y=v.inputValue,m=v.isLoading,I=v.loadingMessage,h=v.minMenuHeight,S=v.maxMenuHeight,T=v.menuIsOpen,P=v.menuPlacement,M=v.menuPosition,X=v.menuPortalTarget,U=v.menuShouldBlockScroll,ne=v.menuShouldScrollIntoView,de=v.noOptionsMessage,oe=v.onMenuScrollToTop,k=v.onMenuScrollToBottom;if(!T)return null;var z=function(G,O){var j=G.type,N=G.data,W=G.isDisabled,H=G.isSelected,Y=G.label,J=G.value,fe=g===N,A=W?void 0:function(){return i.onOptionHover(N)},xe=W?void 0:function(){return i.selectOption(N)},Be="".concat(i.getElementId("option"),"-").concat(O),Ct={id:Be,onClick:xe,onMouseMove:A,onMouseOver:A,tabIndex:-1,role:"option","aria-selected":i.isAppleDevice?void 0:H};return Z.createElement(p,L({},b,{innerProps:Ct,data:N,isDisabled:W,isSelected:H,key:Be,label:Y,type:j,value:J,isFocused:fe,innerRef:fe?i.getFocusedOptionRef:void 0}),i.formatOptionLabel(G.data,"menu"))},re;if(this.hasOptions())re=this.getCategorizedOptions().map(function(D){if(D.type==="group"){var G=D.data,O=D.options,j=D.index,N="".concat(i.getElementId("group"),"-").concat(j),W="".concat(N,"-heading");return Z.createElement(s,L({},b,{key:N,data:G,options:O,Heading:u,headingProps:{id:W,data:D.data},label:i.formatGroupLabel(D.data)}),D.options.map(function(H){return z(H,"".concat(j,"-").concat(H.index))}))}else if(D.type==="option")return z(D,"".concat(D.index))});else if(m){var ie=I({inputValue:y});if(ie===null)return null;re=Z.createElement(d,b,ie)}else{var be=de({inputValue:y});if(be===null)return null;re=Z.createElement(f,b,be)}var E={minMenuHeight:h,maxMenuHeight:S,menuPlacement:P,menuPosition:M,menuShouldScrollIntoView:ne},V=Z.createElement(Lb,L({},b,E),function(D){var G=D.ref,O=D.placerProps,j=O.placement,N=O.maxHeight;return Z.createElement(a,L({},b,E,{innerRef:G,innerProps:{onMouseDown:i.onMenuMouseDown,onMouseMove:i.onMenuMouseMove},isLoading:m,placement:j}),Z.createElement(mv,{captureEnabled:C,onTopArrive:oe,onBottomArrive:k,lockEnabled:U},function(W){return Z.createElement(l,L({},b,{innerRef:function(Y){i.getMenuListRef(Y),W(Y)},innerProps:{role:"listbox","aria-multiselectable":b.isMulti,id:i.getElementId("listbox")},isLoading:m,maxHeight:N,focusedOption:g}),re)}))});return X||M==="fixed"?Z.createElement(c,L({},b,{appendTo:X,controlElement:this.controlRef,menuPlacement:P,menuPosition:M}),V):V}},{key:"renderFormField",value:function(){var i=this,o=this.props,s=o.delimiter,u=o.isDisabled,a=o.isMulti,l=o.name,c=o.required,d=this.state.selectValue;if(c&&!this.hasValue()&&!u)return Z.createElement(yv,{name:l,onFocus:this.onValueInputFocus});if(!(!l||u))if(a)if(s){var f=d.map(function(g){return i.getOptionValue(g)}).join(s);return Z.createElement("input",{name:l,type:"hidden",value:f})}else{var p=d.length>0?d.map(function(g,v){return Z.createElement("input",{key:"i-".concat(v),name:l,type:"hidden",value:i.getOptionValue(g)})}):Z.createElement("input",{name:l,type:"hidden",value:""});return Z.createElement("div",null,p)}else{var b=d[0]?this.getOptionValue(d[0]):"";return Z.createElement("input",{name:l,type:"hidden",value:b})}}},{key:"renderLiveRegion",value:function(){var i=this.commonProps,o=this.state,s=o.ariaSelection,u=o.focusedOption,a=o.focusedValue,l=o.isFocused,c=o.selectValue,d=this.getFocusableOptions();return Z.createElement(nv,L({},i,{id:this.getElementId("live-region"),ariaSelection:s,focusedOption:u,focusedValue:a,isFocused:l,selectValue:c,focusableOptions:d,isAppleDevice:this.isAppleDevice}))}},{key:"render",value:function(){var i=this.getComponents(),o=i.Control,s=i.IndicatorsContainer,u=i.SelectContainer,a=i.ValueContainer,l=this.props,c=l.className,d=l.id,f=l.isDisabled,p=l.menuIsOpen,b=this.state.isFocused,g=this.commonProps=this.getCommonProps();return Z.createElement(u,L({},g,{className:c,innerProps:{id:d,onKeyDown:this.onKeyDown},isDisabled:f,isFocused:b}),this.renderLiveRegion(),Z.createElement(o,L({},g,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:f,isFocused:b,menuIsOpen:p}),Z.createElement(a,L({},g,{isDisabled:f}),this.renderPlaceholderOrValue(),this.renderInput()),Z.createElement(s,L({},g,{isDisabled:f}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(i,o){var s=o.prevProps,u=o.clearFocusValueOnUpdate,a=o.inputIsHiddenAfterUpdate,l=o.ariaSelection,c=o.isFocused,d=o.prevWasFocused,f=o.instancePrefix,p=i.options,b=i.value,g=i.menuIsOpen,v=i.inputValue,C=i.isMulti,y=$u(b),m={};if(s&&(b!==s.value||p!==s.options||g!==s.menuIsOpen||v!==s.inputValue)){var I=g?Ov(i,y):[],h=g?Vl(rr(i,y),"".concat(f,"-option")):[],S=u?Nv(o,y):null,T=Rv(o,I),P=_i(h,T);m={selectValue:y,focusedOption:T,focusedOptionId:P,focusableOptionsWithIds:h,focusedValue:S,clearFocusValueOnUpdate:!1}}var M=a!=null&&i!==s?{inputIsHidden:a,inputIsHiddenAfterUpdate:void 0}:{},X=l,U=c&&d;return c&&!U&&(X={value:nr(C,y,y[0]||null),options:y,action:"initial-input-focus"},U=!d),(l==null?void 0:l.action)==="initial-input-focus"&&(X=null),B(B(B({},m),M),{},{prevProps:i,ariaSelection:X,prevWasFocused:U})}}]),n}(x.Component);Nl.defaultProps=Gv;var Wv=x.forwardRef(function(e,t){var n=Jm(e);return Z.createElement(Nl,L({ref:t},n))}),Xv=Wv;const Nt=e=>{const{children:t,sx:n,...r}=e;return w.jsx("div",{className:Re.form,style:n,...r,children:t})},Zv=Nt,Hv={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"})},kv=e=>{const{children:t,sx:n,...r}=e;return w.jsx("div",{className:Re["form-group"],style:n,...r,children:t})},zv=e=>{const{children:t,sx:n,...r}=e,i=x.Children.toArray(t).filter(a=>a.type.displayName==="biznext-ui-input-label"),o=x.Children.toArray(t).filter(a=>a.type.displayName==="biznext-ui-input-control"),s=x.Children.toArray(t).filter(a=>a.type.displayName==="biznext-ui-input-error-message"),u=s[0]&&s[0].props.children&&s[0].props.children.length>0;return w.jsxs("div",{className:It(Re["form-input-group"],u&&Re["validation-error"]),style:n,...r,children:[i,w.jsxs("div",{className:Re["form-input-control-group"],children:[o,w.jsx("span",{className:Re["form-input-group-error-text"],children:s})]})]})},Rl=e=>{const{required:t=!1,children:n,sx:r,...i}=e;return w.jsx("label",{className:It(Re["form-input-group-label"],t&&Re.required),style:r,...i,children:n})},Ll=x.forwardRef((e,t)=>{const{controlType:n,focus:r,sx:i,placeholder:o="",isSearchable:s=!0,isClearable:u=!0,...a}=e;let l=w.jsx(w.Fragment,{});const c=x.useRef(null);switch(x.useEffect(()=>{c.current&&c.current.focus()},[r]),n){case"input":l=w.jsx("input",{className:Re["form-input-control"],placeholder:o,ref:r?c:t,style:i,...a});break;case"select":l=w.jsx(Xv,{styles:Hv,className:Re["form-select-control"],classNamePrefix:"biznext-ui-",menuPortalTarget:document.body,menuPosition:"absolute",menuShouldScrollIntoView:!1,placeholder:o?`Select ${o}`:"Select...",isSearchable:s,isClearable:u,noOptionsMessage:()=>"No Results Found!",...a});break;case"textarea":l=w.jsx("textarea",{className:Re["form-input-control"],placeholder:o,style:i,...a});break;default:l=w.jsx(w.Fragment,{});break}return l}),Wl=e=>{const{children:t}=e;return t};Rl.displayName="biznext-ui-input-label",Ll.displayName="biznext-ui-input-control",Wl.displayName="biznext-ui-input-error-message",Nt.Group=kv,Nt.InputGroup=zv,Nt.Label=Rl,Nt.Control=Ll,Nt.ErrorMessage=Wl,Ee.BiznextUIProvider=Lp,Ee.Form=Zv,Ee.Modal=Gm,Ee.useConfirmDialog=Xm,Ee.useToast=Ki,Object.defineProperty(Ee,Symbol.toStringTag,{value:"Module"})});
|