@biznext-ui/react 0.6.5 → 0.6.6
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/biznext-style.css +1 -1
- package/dist/index.es.d.ts +19 -2
- package/dist/index.es.js +3071 -2919
- package/dist/index.umd.js +8 -8
- package/package.json +1 -1
package/dist/index.umd.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(ge,x){typeof exports=="object"&&typeof module<"u"?x(exports,require("react/jsx-runtime"),require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","react","react-dom"],x):(ge=typeof globalThis<"u"?globalThis:ge||self,x(ge["biznext-ui-react"]={},ge["react/jsx-runtime"],ge.React,ge.ReactDOM))})(this,(function(ge,x,y,We){"use strict";function tl(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const i=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,i.get?i:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const M=tl(y),Gr=y.createContext({}),nl=(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:return console.error("Biznext-UI-Toast: Unhandled action type"),e}},kn=()=>y.useContext(Gr),D={"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-list":"biznext-ui-4-ykJu3ktdI-e","toast-list-viewport":"biznext-ui-dnfGA9SCTQo-7","toast-status":"biznext-ui-bvyhEKUyzs0-6","status-summary":"biznext-ui-Lij6tzXzjHc-2","status-title":"biznext-ui-7-BFk6QjUtM-e","status-chevron":"biznext-ui-R5VUyugQlVc-4","status-stat":"biznext-ui-rIQ5pY84y80-a","status-dot":"biznext-ui-zrCBnR1vOOI-c","status-error":"biznext-ui-vF8-uN09R8M-b","status-warning":"biznext-ui-iwysSJEvjo4-8","status-success":"biznext-ui-1VVbc17tlX0-d","status-info":"biznext-ui-tX-SojkiR-A-b","status-action":"biznext-ui-68JVkAtrUTE-e","toast-action-btn":"biznext-ui-MQh2XzXGub4-3","status-actions":"biznext-ui-qlU3JIb08Bk-a","status-action-active":"biznext-ui-w-GvCFTe4c0-c","status-action-close":"biznext-ui-SIU-1MBhQJo-4","toast-wrapper":"biznext-ui-g5CASl7JMIU-8",success:"biznext-ui-gWJh5oSUaH4-8",info:"biznext-ui-KprtriQR6do-2",warning:"biznext-ui-u0IYuYPu1og-b",error:"biznext-ui-DMi33WPhK2I-0","toast-wrapper-multiple":"biznext-ui-PFawqzqyJDY-3",toast:"biznext-ui-HNUcjKVTeyM-1","toast-with-timer":"biznext-ui-AO59gy9LSp8-0","toast-icon":"biznext-ui--tFdGazkGSA-f","toast-content":"biznext-ui-ymhtH9nUp6I-c","toast-header":"biznext-ui-Ezh39blbBpU-1","toast-meta":"biznext-ui-4B-r9c2kSyk-e","toast-type":"biznext-ui-jjfO-6V7sTk-8","toast-count":"biznext-ui-PGnSqC3fwN4-3","toast-count-hidden":"biznext-ui-nPNSSWhWyC8-9","toast-title":"biznext-ui-KpFZjCXKdcg-2","toast-timer":"biznext-ui-A21e7Wqtubw-0","toast-timer-icon":"biznext-ui-bu6XuuZmdc4-6","toast-timer-text":"biznext-ui--HikQCHnjkg-f","toast-timer-progress":"biznext-ui-A-ApuMp1MT8-0","toast-timer-paused":"biznext-ui-AiphfikSwTA-0","toast-actions":"biznext-ui-N2QAVlXUlrk-3","toast-action-close":"biznext-ui-a96iMR8gsRw-6","toast-action-btn-active":"biznext-ui-Fz2Sb36hXZc-1","sr-only":"biznext-ui-49vilWsWaWY-e"};function il(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var zn={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
|
-
*/var wr;function el(){return wr||(wr=1,(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var s="",o=0;o<arguments.length;o++){var u=arguments[o];u&&(s=r(s,i(u)))}return s}function i(s){if(typeof s=="string"||typeof s=="number")return s;if(typeof s!="object")return"";if(Array.isArray(s))return n.apply(null,s);if(s.toString!==Object.prototype.toString&&!s.toString.toString().includes("[native code]"))return s.toString();var o="";for(var u in s)t.call(s,u)&&s[u]&&(o=r(o,u));return o}function r(s,o){return o?s?s+" "+o:s+o:s}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(kn)),kn.exports}var tl=el();const Me=qu(tl);var Gr={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},Br=y.createContext&&y.createContext(Gr),nl=["attr","size","title"];function il(e,t){if(e==null)return{};var n=rl(e,t),i,r;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(r=0;r<s.length;r++)i=s[r],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function rl(e,t){if(e==null)return{};var n={};for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){if(t.indexOf(i)>=0)continue;n[i]=e[i]}return n}function Ht(){return Ht=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Ht.apply(this,arguments)}function Fr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,i)}return n}function Yt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Fr(Object(n),!0).forEach(function(i){sl(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fr(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function sl(e,t,n){return t=ol(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ol(e){var t=al(e,"string");return typeof t=="symbol"?t:t+""}function al(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t);if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Mr(e){return e&&e.map((t,n)=>y.createElement(t.tag,Yt({key:n},t.attr),Mr(t.child)))}function ne(e){return t=>y.createElement(ul,Ht({attr:Yt({},e.attr)},t),Mr(e.child))}function ul(e){var t=n=>{var{attr:i,size:r,title:s}=e,o=il(e,nl),u=r||n.size||"1em",a;return n.className&&(a=n.className),e.className&&(a=(a?a+" ":"")+e.className),y.createElement("svg",Ht({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},n.attr,i,o,{className:a,style:Yt(Yt({color:e.color||n.color},n.style),e.style),height:u,width:u,xmlns:"http://www.w3.org/2000/svg"}),s&&y.createElement("title",null,s),e.children)};return Br!==void 0?y.createElement(Br.Consumer,null,n=>t(n)):t(Gr)}function ll(e){return ne({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 cl(e){return ne({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 dl(e){return ne({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.3l58.3 0c34.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-24l0-13.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.1l-58.3 0c-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 fl(e){return ne({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 hl(e){return ne({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)}function pl(e){return ne({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"},child:[]},{tag:"line",attr:{x1:"12",y1:"9",x2:"12",y2:"13"},child:[]},{tag:"line",attr:{x1:"12",y1:"17",x2:"12.01",y2:"17"},child:[]}]})(e)}function ml(e){return ne({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M22 11.08V12a10 10 0 1 1-5.93-9.14"},child:[]},{tag:"polyline",attr:{points:"22 4 12 14.01 9 11.01"},child:[]}]})(e)}function gl(e){return ne({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"20 6 9 17 4 12"},child:[]}]})(e)}function bl(e){return ne({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"6 9 12 15 18 9"},child:[]}]})(e)}function vl(e){return ne({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"18 15 12 9 6 15"},child:[]}]})(e)}function yl(e){return ne({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"rect",attr:{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"},child:[]},{tag:"path",attr:{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"},child:[]}]})(e)}function Il(e){return ne({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"12",cy:"12",r:"10"},child:[]},{tag:"path",attr:{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"},child:[]},{tag:"line",attr:{x1:"12",y1:"17",x2:"12.01",y2:"17"},child:[]}]})(e)}function Cl(e){return ne({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"12",cy:"12",r:"10"},child:[]},{tag:"line",attr:{x1:"12",y1:"16",x2:"12",y2:"12"},child:[]},{tag:"line",attr:{x1:"12",y1:"8",x2:"12.01",y2:"8"},child:[]}]})(e)}function xl(e){return ne({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"3 6 5 6 21 6"},child:[]},{tag:"path",attr:{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"},child:[]},{tag:"line",attr:{x1:"10",y1:"11",x2:"10",y2:"17"},child:[]},{tag:"line",attr:{x1:"14",y1:"11",x2:"14",y2:"17"},child:[]}]})(e)}function Al(e){return ne({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"18",y1:"6",x2:"6",y2:"18"},child:[]},{tag:"line",attr:{x1:"6",y1:"6",x2:"18",y2:"18"},child:[]}]})(e)}const Zn=y.createContext({});function jt(e){const t=y.useRef(null);return t.current===null&&(t.current=e()),t.current}const Jt=y.createContext(null),zn=y.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});class Sl extends M.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent){const i=this.props.sizeRef.current;i.height=n.offsetHeight||0,i.width=n.offsetWidth||0,i.top=n.offsetTop,i.left=n.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function El({children:e,isPresent:t}){const n=y.useId(),i=y.useRef(null),r=y.useRef({width:0,height:0,top:0,left:0}),{nonce:s}=y.useContext(zn);return y.useInsertionEffect(()=>{const{width:o,height:u,top:a,left:l}=r.current;if(t||!i.current||!o||!u)return;i.current.dataset.motionPopId=n;const c=document.createElement("style");return s&&(c.nonce=s),document.head.appendChild(c),c.sheet&&c.sheet.insertRule(`
|
|
5
|
+
*/var Br;function rl(){return Br||(Br=1,(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var s="",o=0;o<arguments.length;o++){var u=arguments[o];u&&(s=r(s,i(u)))}return s}function i(s){if(typeof s=="string"||typeof s=="number")return s;if(typeof s!="object")return"";if(Array.isArray(s))return n.apply(null,s);if(s.toString!==Object.prototype.toString&&!s.toString.toString().includes("[native code]"))return s.toString();var o="";for(var u in s)t.call(s,u)&&s[u]&&(o=r(o,u));return o}function r(s,o){return o?s?s+" "+o:s+o:s}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(zn)),zn.exports}var sl=rl();const le=il(sl);var Fr={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},Mr=y.createContext&&y.createContext(Fr),ol=["attr","size","title"];function al(e,t){if(e==null)return{};var n=ul(e,t),i,r;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(r=0;r<s.length;r++)i=s[r],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function ul(e,t){if(e==null)return{};var n={};for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){if(t.indexOf(i)>=0)continue;n[i]=e[i]}return n}function Ht(){return Ht=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Ht.apply(this,arguments)}function Dr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,i)}return n}function jt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Dr(Object(n),!0).forEach(function(i){ll(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Dr(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function ll(e,t,n){return t=cl(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function cl(e){var t=dl(e,"string");return typeof t=="symbol"?t:t+""}function dl(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t);if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Nr(e){return e&&e.map((t,n)=>y.createElement(t.tag,jt({key:n},t.attr),Nr(t.child)))}function re(e){return t=>y.createElement(fl,Ht({attr:jt({},e.attr)},t),Nr(e.child))}function fl(e){var t=n=>{var{attr:i,size:r,title:s}=e,o=al(e,ol),u=r||n.size||"1em",a;return n.className&&(a=n.className),e.className&&(a=(a?a+" ":"")+e.className),y.createElement("svg",Ht({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},n.attr,i,o,{className:a,style:jt(jt({color:e.color||n.color},n.style),e.style),height:u,width:u,xmlns:"http://www.w3.org/2000/svg"}),s&&y.createElement("title",null,s),e.children)};return Mr!==void 0?y.createElement(Mr.Consumer,null,n=>t(n)):t(Fr)}function hl(e){return re({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 pl(e){return re({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 ml(e){return re({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.3l58.3 0c34.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-24l0-13.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.1l-58.3 0c-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 gl(e){return re({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 bl(e){return re({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"},child:[]},{tag:"line",attr:{x1:"12",y1:"9",x2:"12",y2:"13"},child:[]},{tag:"line",attr:{x1:"12",y1:"17",x2:"12.01",y2:"17"},child:[]}]})(e)}function vl(e){return re({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M22 11.08V12a10 10 0 1 1-5.93-9.14"},child:[]},{tag:"polyline",attr:{points:"22 4 12 14.01 9 11.01"},child:[]}]})(e)}function Zn(e){return re({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"20 6 9 17 4 12"},child:[]}]})(e)}function yl(e){return re({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"6 9 12 15 18 9"},child:[]}]})(e)}function Il(e){return re({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"18 15 12 9 6 15"},child:[]}]})(e)}function Cl(e){return re({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"12",cy:"12",r:"10"},child:[]},{tag:"polyline",attr:{points:"12 6 12 12 16 14"},child:[]}]})(e)}function xl(e){return re({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"rect",attr:{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"},child:[]},{tag:"path",attr:{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"},child:[]}]})(e)}function Al(e){return re({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"12",cy:"12",r:"10"},child:[]},{tag:"path",attr:{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"},child:[]},{tag:"line",attr:{x1:"12",y1:"17",x2:"12.01",y2:"17"},child:[]}]})(e)}function Sl(e){return re({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"12",cy:"12",r:"10"},child:[]},{tag:"line",attr:{x1:"12",y1:"16",x2:"12",y2:"12"},child:[]},{tag:"line",attr:{x1:"12",y1:"8",x2:"12.01",y2:"8"},child:[]}]})(e)}function El(e){return re({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polygon",attr:{points:"12 2 2 7 12 12 22 7 12 2"},child:[]},{tag:"polyline",attr:{points:"2 17 12 22 22 17"},child:[]},{tag:"polyline",attr:{points:"2 12 12 17 22 12"},child:[]}]})(e)}function Tl(e){return re({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"3 6 5 6 21 6"},child:[]},{tag:"path",attr:{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"},child:[]},{tag:"line",attr:{x1:"10",y1:"11",x2:"10",y2:"17"},child:[]},{tag:"line",attr:{x1:"14",y1:"11",x2:"14",y2:"17"},child:[]}]})(e)}function Hn(e){return re({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"18",y1:"6",x2:"6",y2:"18"},child:[]},{tag:"line",attr:{x1:"6",y1:"6",x2:"18",y2:"18"},child:[]}]})(e)}function Or(e){return re({attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M9.828.722a.5.5 0 0 1 .354.146l4.95 4.95a.5.5 0 0 1 0 .707c-.48.48-1.072.588-1.503.588-.177 0-.335-.018-.46-.039l-3.134 3.134a6 6 0 0 1 .16 1.013c.046.702-.032 1.687-.72 2.375a.5.5 0 0 1-.707 0l-2.829-2.828-3.182 3.182c-.195.195-1.219.902-1.414.707s.512-1.22.707-1.414l3.182-3.182-2.828-2.829a.5.5 0 0 1 0-.707c.688-.688 1.673-.767 2.375-.72a6 6 0 0 1 1.013.16l3.134-3.133a3 3 0 0 1-.04-.461c0-.43.108-1.022.589-1.503a.5.5 0 0 1 .353-.146"},child:[]}]})(e)}function Lr(e){return re({attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M9.828.722a.5.5 0 0 1 .354.146l4.95 4.95a.5.5 0 0 1 0 .707c-.48.48-1.072.588-1.503.588-.177 0-.335-.018-.46-.039l-3.134 3.134a6 6 0 0 1 .16 1.013c.046.702-.032 1.687-.72 2.375a.5.5 0 0 1-.707 0l-2.829-2.828-3.182 3.182c-.195.195-1.219.902-1.414.707s.512-1.22.707-1.414l3.182-3.182-2.828-2.829a.5.5 0 0 1 0-.707c.688-.688 1.673-.767 2.375-.72a6 6 0 0 1 1.013.16l3.134-3.133a3 3 0 0 1-.04-.461c0-.43.108-1.022.589-1.503a.5.5 0 0 1 .353-.146m.122 2.112v-.002zm0-.002v.002a.5.5 0 0 1-.122.51L6.293 6.878a.5.5 0 0 1-.511.12H5.78l-.014-.004a5 5 0 0 0-.288-.076 5 5 0 0 0-.765-.116c-.422-.028-.836.008-1.175.15l5.51 5.509c.141-.34.177-.753.149-1.175a5 5 0 0 0-.192-1.054l-.004-.013v-.001a.5.5 0 0 1 .12-.512l3.536-3.535a.5.5 0 0 1 .532-.115l.096.022c.087.017.208.034.344.034q.172.002.343-.04L9.927 2.028q-.042.172-.04.343a1.8 1.8 0 0 0 .062.46z"},child:[]}]})(e)}const jn=y.createContext({});function Yt(e){const t=y.useRef(null);return t.current===null&&(t.current=e()),t.current}const Jt=y.createContext(null),Yn=y.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});class Pl extends M.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent){const i=this.props.sizeRef.current;i.height=n.offsetHeight||0,i.width=n.offsetWidth||0,i.top=n.offsetTop,i.left=n.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function Vl({children:e,isPresent:t}){const n=y.useId(),i=y.useRef(null),r=y.useRef({width:0,height:0,top:0,left:0}),{nonce:s}=y.useContext(Yn);return y.useInsertionEffect(()=>{const{width:o,height:u,top:a,left:l}=r.current;if(t||!i.current||!o||!u)return;i.current.dataset.motionPopId=n;const c=document.createElement("style");return s&&(c.nonce=s),document.head.appendChild(c),c.sheet&&c.sheet.insertRule(`
|
|
6
6
|
[data-motion-pop-id="${n}"] {
|
|
7
7
|
position: absolute !important;
|
|
8
8
|
width: ${o}px !important;
|
|
@@ -10,23 +10,23 @@
|
|
|
10
10
|
top: ${a}px !important;
|
|
11
11
|
left: ${l}px !important;
|
|
12
12
|
}
|
|
13
|
-
`),()=>{document.head.removeChild(c)}},[t]),A.jsx(Sl,{isPresent:t,childRef:i,sizeRef:r,children:M.cloneElement(e,{ref:i})})}const Pl=({children:e,initial:t,isPresent:n,onExitComplete:i,custom:r,presenceAffectsLayout:s,mode:o})=>{const u=jt(Tl),a=y.useId(),l=y.useCallback(d=>{u.set(d,!0);for(const f of u.values())if(!f)return;i&&i()},[u,i]),c=y.useMemo(()=>({id:a,initial:t,isPresent:n,custom:r,onExitComplete:l,register:d=>(u.set(d,!1),()=>u.delete(d))}),s?[Math.random(),l]:[n,l]);return y.useMemo(()=>{u.forEach((d,f)=>u.set(f,!1))},[n]),M.useEffect(()=>{!n&&!u.size&&i&&i()},[n]),o==="popLayout"&&(e=A.jsx(El,{isPresent:n,children:e})),A.jsx(Jt.Provider,{value:c,children:e})};function Tl(){return new Map}function Dr(e=!0){const t=y.useContext(Jt);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:i,register:r}=t,s=y.useId();y.useEffect(()=>{e&&r(s)},[e]);const o=y.useCallback(()=>e&&i&&i(s),[s,i,e]);return!n&&i?[!1,o]:[!0]}const Ut=e=>e.key||"";function Rr(e){const t=[];return y.Children.forEach(e,n=>{y.isValidElement(n)&&t.push(n)}),t}const Hn=typeof window<"u",Nr=Hn?y.useLayoutEffect:y.useEffect,Yn=({children:e,custom:t,initial:n=!0,onExitComplete:i,presenceAffectsLayout:r=!0,mode:s="sync",propagate:o=!1})=>{const[u,a]=Dr(o),l=y.useMemo(()=>Rr(e),[e]),c=o&&!u?[]:l.map(Ut),d=y.useRef(!0),f=y.useRef(l),h=jt(()=>new Map),[g,m]=y.useState(l),[p,b]=y.useState(l);Nr(()=>{d.current=!1,f.current=l;for(let x=0;x<p.length;x++){const v=Ut(p[x]);c.includes(v)?h.delete(v):h.get(v)!==!0&&h.set(v,!1)}},[p,c.length,c.join("-")]);const C=[];if(l!==g){let x=[...l];for(let v=0;v<p.length;v++){const S=p[v],E=Ut(S);c.includes(E)||(x.splice(v,0,S),C.push(S))}s==="wait"&&C.length&&(x=C),b(Rr(x)),m(l);return}process.env.NODE_ENV!=="production"&&s==="wait"&&p.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.`);const{forceRender:I}=y.useContext(Zn);return A.jsx(A.Fragment,{children:p.map(x=>{const v=Ut(x),S=o&&!u?!1:l===p||c.includes(v),E=()=>{if(h.has(v))h.set(v,!0);else return;let P=!0;h.forEach(F=>{F||(P=!1)}),P&&(I==null||I(),b(f.current),o&&(a==null||a()),i&&i())};return A.jsx(Pl,{isPresent:S,initial:!d.current||n?void 0:!1,custom:S?void 0:t,presenceAffectsLayout:r,mode:s,onExitComplete:S?void 0:E,children:x},v)})})},ue=e=>e;let qe=ue,We=ue;process.env.NODE_ENV!=="production"&&(qe=(e,t)=>{!e&&typeof console<"u"&&console.warn(t)},We=(e,t)=>{if(!e)throw new Error(t)});function jn(e){let t;return()=>(t===void 0&&(t=e()),t)}const et=(e,t,n)=>{const i=t-e;return i===0?1:(n-e)/i},Ee=e=>e*1e3,De=e=>e/1e3,Vl={useManualTiming:!1};function wl(e){let t=new Set,n=new Set,i=!1,r=!1;const s=new WeakSet;let o={delta:0,timestamp:0,isProcessing:!1};function u(l){s.has(l)&&(a.schedule(l),e()),l(o)}const a={schedule:(l,c=!1,d=!1)=>{const h=d&&i?t:n;return c&&s.add(l),h.has(l)||h.add(l),l},cancel:l=>{n.delete(l),s.delete(l)},process:l=>{if(o=l,i){r=!0;return}i=!0,[t,n]=[n,t],t.forEach(u),t.clear(),i=!1,r&&(r=!1,a.process(l))}};return a}const _t=["read","resolveKeyframes","update","preRender","render","postRender"],Gl=40;function Or(e,t){let n=!1,i=!0;const r={delta:0,timestamp:0,isProcessing:!1},s=()=>n=!0,o=_t.reduce((b,C)=>(b[C]=wl(s),b),{}),{read:u,resolveKeyframes:a,update:l,preRender:c,render:d,postRender:f}=o,h=()=>{const b=performance.now();n=!1,r.delta=i?1e3/60:Math.max(Math.min(b-r.timestamp,Gl),1),r.timestamp=b,r.isProcessing=!0,u.process(r),a.process(r),l.process(r),c.process(r),d.process(r),f.process(r),r.isProcessing=!1,n&&t&&(i=!1,e(h))},g=()=>{n=!0,i=!0,r.isProcessing||e(h)};return{schedule:_t.reduce((b,C)=>{const I=o[C];return b[C]=(x,v=!1,S=!1)=>(n||g(),I.schedule(x,v,S)),b},{}),cancel:b=>{for(let C=0;C<_t.length;C++)o[_t[C]].cancel(b)},state:r,steps:o}}const{schedule:W,cancel:ke,state:q,steps:Jn}=Or(typeof requestAnimationFrame<"u"?requestAnimationFrame:ue,!0),Lr=y.createContext({strict:!1}),Xr={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},tt={};for(const e in Xr)tt[e]={isEnabled:t=>Xr[e].some(n=>!!t[n])};function Bl(e){for(const t in e)tt[t]={...tt[t],...e[t]}}const Fl=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function $t(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||Fl.has(e)}let Wr=e=>!$t(e);function Ml(e){e&&(Wr=t=>t.startsWith("on")?!$t(t):e(t))}try{Ml(require("@emotion/is-prop-valid").default)}catch{}function Dl(e,t,n){const i={};for(const r in e)r==="values"&&typeof e.values=="object"||(Wr(r)||n===!0&&$t(r)||!t&&!$t(r)||e.draggable&&r.startsWith("onDrag"))&&(i[r]=e[r]);return i}const kr=new Set;function Qt(e,t,n){e||kr.has(t)||(console.warn(t),kr.add(t))}function Rl(e){if(typeof Proxy>"u")return e;const t=new Map,n=(...i)=>(process.env.NODE_ENV!=="production"&&Qt(!1,"motion() is deprecated. Use motion.create() instead."),e(...i));return new Proxy(n,{get:(i,r)=>r==="create"?e:(t.has(r)||t.set(r,e(r)),t.get(r))})}const Kt=y.createContext({});function vt(e){return typeof e=="string"||Array.isArray(e)}function qt(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const Un=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],_n=["initial",...Un];function en(e){return qt(e.animate)||_n.some(t=>vt(e[t]))}function Zr(e){return!!(en(e)||e.variants)}function Nl(e,t){if(en(e)){const{initial:n,animate:i}=e;return{initial:n===!1||vt(n)?n:void 0,animate:vt(i)?i:void 0}}return e.inherit!==!1?t:{}}function Ol(e){const{initial:t,animate:n}=Nl(e,y.useContext(Kt));return y.useMemo(()=>({initial:t,animate:n}),[zr(t),zr(n)])}function zr(e){return Array.isArray(e)?e.join(" "):e}const Ll=Symbol.for("motionComponentSymbol");function nt(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function Xl(e,t,n){return y.useCallback(i=>{i&&e.onMount&&e.onMount(i),t&&(i?t.mount(i):t.unmount()),n&&(typeof n=="function"?n(i):nt(n)&&(n.current=i))},[t])}const $n=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),Hr="data-"+$n("framerAppearId"),{schedule:Qn}=Or(queueMicrotask,!1),Yr=y.createContext({});function Wl(e,t,n,i,r){var s,o;const{visualElement:u}=y.useContext(Kt),a=y.useContext(Lr),l=y.useContext(Jt),c=y.useContext(zn).reducedMotion,d=y.useRef(null);i=i||a.renderer,!d.current&&i&&(d.current=i(e,{visualState:t,parent:u,props:n,presenceContext:l,blockInitialAnimation:l?l.initial===!1:!1,reducedMotionConfig:c}));const f=d.current,h=y.useContext(Yr);f&&!f.projection&&r&&(f.type==="html"||f.type==="svg")&&kl(d.current,n,r,h);const g=y.useRef(!1);y.useInsertionEffect(()=>{f&&g.current&&f.update(n,l)});const m=n[Hr],p=y.useRef(!!m&&!(!((s=window.MotionHandoffIsComplete)===null||s===void 0)&&s.call(window,m))&&((o=window.MotionHasOptimisedAnimation)===null||o===void 0?void 0:o.call(window,m)));return Nr(()=>{f&&(g.current=!0,window.MotionIsMounted=!0,f.updateFeatures(),Qn.render(f.render),p.current&&f.animationState&&f.animationState.animateChanges())}),y.useEffect(()=>{f&&(!p.current&&f.animationState&&f.animationState.animateChanges(),p.current&&(queueMicrotask(()=>{var b;(b=window.MotionHandoffMarkAsComplete)===null||b===void 0||b.call(window,m)}),p.current=!1))}),f}function kl(e,t,n,i){const{layoutId:r,layout:s,drag:o,dragConstraints:u,layoutScroll:a,layoutRoot:l}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:jr(e.parent)),e.projection.setOptions({layoutId:r,layout:s,alwaysMeasureLayout:!!o||u&&nt(u),visualElement:e,animationType:typeof s=="string"?s:"both",initialPromotionConfig:i,layoutScroll:a,layoutRoot:l})}function jr(e){if(e)return e.options.allowProjection!==!1?e.projection:jr(e.parent)}function Zl({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:i,Component:r}){var s,o;e&&Bl(e);function u(l,c){let d;const f={...y.useContext(zn),...l,layoutId:zl(l)},{isStatic:h}=f,g=Ol(l),m=i(l,h);if(!h&&Hn){Hl(f,e);const p=Yl(f);d=p.MeasureLayout,g.visualElement=Wl(r,m,f,t,p.ProjectionNode)}return A.jsxs(Kt.Provider,{value:g,children:[d&&g.visualElement?A.jsx(d,{visualElement:g.visualElement,...f}):null,n(r,l,Xl(m,g.visualElement,c),m,h,g.visualElement)]})}u.displayName=`motion.${typeof r=="string"?r:`create(${(o=(s=r.displayName)!==null&&s!==void 0?s:r.name)!==null&&o!==void 0?o:""})`}`;const a=y.forwardRef(u);return a[Ll]=r,a}function zl({layoutId:e}){const t=y.useContext(Zn).id;return t&&e!==void 0?t+"-"+e:e}function Hl(e,t){const n=y.useContext(Lr).strict;if(process.env.NODE_ENV!=="production"&&t&&n){const i="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";e.ignoreStrict?qe(!1,i):We(!1,i)}}function Yl(e){const{drag:t,layout:n}=tt;if(!t&&!n)return{};const i={...t,...n};return{MeasureLayout:t!=null&&t.isEnabled(e)||n!=null&&n.isEnabled(e)?i.MeasureLayout:void 0,ProjectionNode:i.ProjectionNode}}const jl=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function Kn(e){return typeof e!="string"||e.includes("-")?!1:!!(jl.indexOf(e)>-1||/[A-Z]/u.test(e))}function Jr(e){const t=[{},{}];return e==null||e.values.forEach((n,i)=>{t[0][i]=n.get(),t[1][i]=n.getVelocity()}),t}function qn(e,t,n,i){if(typeof t=="function"){const[r,s]=Jr(i);t=t(n!==void 0?n:e.custom,r,s)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[r,s]=Jr(i);t=t(n!==void 0?n:e.custom,r,s)}return t}const ei=e=>Array.isArray(e),Jl=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),Ul=e=>ei(e)?e[e.length-1]||0:e,ie=e=>!!(e&&e.getVelocity);function tn(e){const t=ie(e)?e.get():e;return Jl(t)?t.toValue():t}function _l({scrapeMotionValuesFromProps:e,createRenderState:t,onUpdate:n},i,r,s){const o={latestValues:$l(i,r,s,e),renderState:t()};return n&&(o.onMount=u=>n({props:i,current:u,...o}),o.onUpdate=u=>n(u)),o}const Ur=e=>(t,n)=>{const i=y.useContext(Kt),r=y.useContext(Jt),s=()=>_l(e,t,i,r);return n?s():jt(s)};function $l(e,t,n,i){const r={},s=i(e,{});for(const f in s)r[f]=tn(s[f]);let{initial:o,animate:u}=e;const a=en(e),l=Zr(e);t&&l&&!a&&e.inherit!==!1&&(o===void 0&&(o=t.initial),u===void 0&&(u=t.animate));let c=n?n.initial===!1:!1;c=c||o===!1;const d=c?u:o;if(d&&typeof d!="boolean"&&!qt(d)){const f=Array.isArray(d)?d:[d];for(let h=0;h<f.length;h++){const g=qn(e,f[h]);if(g){const{transitionEnd:m,transition:p,...b}=g;for(const C in b){let I=b[C];if(Array.isArray(I)){const x=c?I.length-1:0;I=I[x]}I!==null&&(r[C]=I)}for(const C in m)r[C]=m[C]}}}return r}const it=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Ye=new Set(it),_r=e=>t=>typeof t=="string"&&t.startsWith(e),$r=_r("--"),Ql=_r("var(--"),ti=e=>Ql(e)?Kl.test(e.split("/*")[0].trim()):!1,Kl=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,Qr=(e,t)=>t&&typeof e=="number"?t.transform(e):e,Re=(e,t,n)=>n>t?t:n<e?e:n,rt={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},yt={...rt,transform:e=>Re(0,1,e)},nn={...rt,default:1},It=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Ze=It("deg"),Pe=It("%"),G=It("px"),ql=It("vh"),ec=It("vw"),Kr={...Pe,parse:e=>Pe.parse(e)/100,transform:e=>Pe.transform(e*100)},tc={borderWidth:G,borderTopWidth:G,borderRightWidth:G,borderBottomWidth:G,borderLeftWidth:G,borderRadius:G,radius:G,borderTopLeftRadius:G,borderTopRightRadius:G,borderBottomRightRadius:G,borderBottomLeftRadius:G,width:G,maxWidth:G,height:G,maxHeight:G,top:G,right:G,bottom:G,left:G,padding:G,paddingTop:G,paddingRight:G,paddingBottom:G,paddingLeft:G,margin:G,marginTop:G,marginRight:G,marginBottom:G,marginLeft:G,backgroundPositionX:G,backgroundPositionY:G},nc={rotate:Ze,rotateX:Ze,rotateY:Ze,rotateZ:Ze,scale:nn,scaleX:nn,scaleY:nn,scaleZ:nn,skew:Ze,skewX:Ze,skewY:Ze,distance:G,translateX:G,translateY:G,translateZ:G,x:G,y:G,z:G,perspective:G,transformPerspective:G,opacity:yt,originX:Kr,originY:Kr,originZ:G},qr={...rt,transform:Math.round},ni={...tc,...nc,zIndex:qr,size:G,fillOpacity:yt,strokeOpacity:yt,numOctaves:qr},ic={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},rc=it.length;function sc(e,t,n){let i="",r=!0;for(let s=0;s<rc;s++){const o=it[s],u=e[o];if(u===void 0)continue;let a=!0;if(typeof u=="number"?a=u===(o.startsWith("scale")?1:0):a=parseFloat(u)===0,!a||n){const l=Qr(u,ni[o]);if(!a){r=!1;const c=ic[o]||o;i+=`${c}(${l}) `}n&&(t[o]=l)}}return i=i.trim(),n?i=n(t,r?"":i):r&&(i="none"),i}function ii(e,t,n){const{style:i,vars:r,transformOrigin:s}=e;let o=!1,u=!1;for(const a in t){const l=t[a];if(Ye.has(a)){o=!0;continue}else if($r(a)){r[a]=l;continue}else{const c=Qr(l,ni[a]);a.startsWith("origin")?(u=!0,s[a]=c):i[a]=c}}if(t.transform||(o||n?i.transform=sc(t,e.transform,n):i.transform&&(i.transform="none")),u){const{originX:a="50%",originY:l="50%",originZ:c=0}=s;i.transformOrigin=`${a} ${l} ${c}`}}const oc={offset:"stroke-dashoffset",array:"stroke-dasharray"},ac={offset:"strokeDashoffset",array:"strokeDasharray"};function uc(e,t,n=1,i=0,r=!0){e.pathLength=1;const s=r?oc:ac;e[s.offset]=G.transform(-i);const o=G.transform(t),u=G.transform(n);e[s.array]=`${o} ${u}`}function es(e,t,n){return typeof e=="string"?e:G.transform(t+n*e)}function lc(e,t,n){const i=es(t,e.x,e.width),r=es(n,e.y,e.height);return`${i} ${r}`}function ri(e,{attrX:t,attrY:n,attrScale:i,originX:r,originY:s,pathLength:o,pathSpacing:u=1,pathOffset:a=0,...l},c,d){if(ii(e,l,d),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:f,style:h,dimensions:g}=e;f.transform&&(g&&(h.transform=f.transform),delete f.transform),g&&(r!==void 0||s!==void 0||h.transform)&&(h.transformOrigin=lc(g,r!==void 0?r:.5,s!==void 0?s:.5)),t!==void 0&&(f.x=t),n!==void 0&&(f.y=n),i!==void 0&&(f.scale=i),o!==void 0&&uc(f,o,u,a,!1)}const si=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),ts=()=>({...si(),attrs:{}}),oi=e=>typeof e=="string"&&e.toLowerCase()==="svg";function ns(e,{style:t,vars:n},i,r){Object.assign(e.style,t,r&&r.getProjectionStyles(i));for(const s in n)e.style.setProperty(s,n[s])}const is=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 rs(e,t,n,i){ns(e,t,void 0,i);for(const r in t.attrs)e.setAttribute(is.has(r)?r:$n(r),t.attrs[r])}const rn={};function cc(e){Object.assign(rn,e)}function ss(e,{layout:t,layoutId:n}){return Ye.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!rn[e]||e==="opacity")}function ai(e,t,n){var i;const{style:r}=e,s={};for(const o in r)(ie(r[o])||t.style&&ie(t.style[o])||ss(o,e)||((i=n==null?void 0:n.getValue(o))===null||i===void 0?void 0:i.liveStyle)!==void 0)&&(s[o]=r[o]);return s}function os(e,t,n){const i=ai(e,t,n);for(const r in e)if(ie(e[r])||ie(t[r])){const s=it.indexOf(r)!==-1?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r;i[s]=e[r]}return i}function dc(e,t){try{t.dimensions=typeof e.getBBox=="function"?e.getBBox():e.getBoundingClientRect()}catch{t.dimensions={x:0,y:0,width:0,height:0}}}const as=["x","y","width","height","cx","cy","r"],fc={useVisualState:Ur({scrapeMotionValuesFromProps:os,createRenderState:ts,onUpdate:({props:e,prevProps:t,current:n,renderState:i,latestValues:r})=>{if(!n)return;let s=!!e.drag;if(!s){for(const u in r)if(Ye.has(u)){s=!0;break}}if(!s)return;let o=!t;if(t)for(let u=0;u<as.length;u++){const a=as[u];e[a]!==t[a]&&(o=!0)}o&&W.read(()=>{dc(n,i),W.render(()=>{ri(i,r,oi(n.tagName),e.transformTemplate),rs(n,i)})})}})},hc={useVisualState:Ur({scrapeMotionValuesFromProps:ai,createRenderState:si})};function us(e,t,n){for(const i in t)!ie(t[i])&&!ss(i,n)&&(e[i]=t[i])}function pc({transformTemplate:e},t){return y.useMemo(()=>{const n=si();return ii(n,t,e),Object.assign({},n.vars,n.style)},[t])}function mc(e,t){const n=e.style||{},i={};return us(i,n,e),Object.assign(i,pc(e,t)),i}function gc(e,t){const n={},i=mc(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=i,n}function bc(e,t,n,i){const r=y.useMemo(()=>{const s=ts();return ri(s,t,oi(i),e.transformTemplate),{...s.attrs,style:{...s.style}}},[t]);if(e.style){const s={};us(s,e.style,e),r.style={...s,...r.style}}return r}function vc(e=!1){return(n,i,r,{latestValues:s},o)=>{const a=(Kn(n)?bc:gc)(i,s,o,n),l=Dl(i,typeof n=="string",e),c=n!==y.Fragment?{...l,...a,ref:r}:{},{children:d}=i,f=y.useMemo(()=>ie(d)?d.get():d,[d]);return y.createElement(n,{...c,children:f})}}function yc(e,t){return function(i,{forwardMotionProps:r}={forwardMotionProps:!1}){const o={...Kn(i)?fc:hc,preloadedFeatures:e,useRender:vc(r),createVisualElement:t,Component:i};return Zl(o)}}function ls(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let i=0;i<n;i++)if(t[i]!==e[i])return!1;return!0}function sn(e,t,n){const i=e.getProps();return qn(i,t,n!==void 0?n:i.custom,e)}const Ic=jn(()=>window.ScrollTimeline!==void 0);class Cc{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map(t=>"finished"in t?t.finished:t))}getAll(t){return this.animations[0][t]}setAll(t,n){for(let i=0;i<this.animations.length;i++)this.animations[i][t]=n}attachTimeline(t,n){const i=this.animations.map(r=>{if(Ic()&&r.attachTimeline)return r.attachTimeline(t);if(typeof n=="function")return n(r)});return()=>{i.forEach((r,s)=>{r&&r(),this.animations[s].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 startTime(){return this.getAll("startTime")}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]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class xc extends Cc{then(t,n){return Promise.all(this.animations).then(t).catch(n)}}function ui(e,t){return e?e[t]||e.default||e:void 0}const li=2e4;function cs(e){let t=0;const n=50;let i=e.next(t);for(;!i.done&&t<li;)t+=n,i=e.next(t);return t>=li?1/0:t}function ci(e){return typeof e=="function"}function ds(e,t){e.timeline=t,e.onfinish=null}const di=e=>Array.isArray(e)&&typeof e[0]=="number",Ac={linearEasing:void 0};function Sc(e,t){const n=jn(e);return()=>{var i;return(i=Ac[t])!==null&&i!==void 0?i:n()}}const on=Sc(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),fs=(e,t,n=10)=>{let i="";const r=Math.max(Math.round(t/n),2);for(let s=0;s<r;s++)i+=e(et(0,r-1,s))+", ";return`linear(${i.substring(0,i.length-2)})`};function hs(e){return!!(typeof e=="function"&&on()||!e||typeof e=="string"&&(e in fi||on())||di(e)||Array.isArray(e)&&e.every(hs))}const Ct=([e,t,n,i])=>`cubic-bezier(${e}, ${t}, ${n}, ${i})`,fi={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Ct([0,.65,.55,1]),circOut:Ct([.55,0,1,.45]),backIn:Ct([.31,.01,.66,-.59]),backOut:Ct([.33,1.53,.69,.99])};function ps(e,t){if(e)return typeof e=="function"&&on()?fs(e,t):di(e)?Ct(e):Array.isArray(e)?e.map(n=>ps(n,t)||fi.easeOut):fi[e]}const Ie={x:!1,y:!1};function ms(){return Ie.x||Ie.y}function Ec(e,t,n){var i;if(e instanceof Element)return[e];if(typeof e=="string"){let r=document;const s=(i=void 0)!==null&&i!==void 0?i:r.querySelectorAll(e);return s?Array.from(s):[]}return Array.from(e)}function gs(e,t){const n=Ec(e),i=new AbortController,r={passive:!0,...t,signal:i.signal};return[n,r,()=>i.abort()]}function bs(e){return t=>{t.pointerType==="touch"||ms()||e(t)}}function Pc(e,t,n={}){const[i,r,s]=gs(e,n),o=bs(u=>{const{target:a}=u,l=t(u);if(typeof l!="function"||!a)return;const c=bs(d=>{l(d),a.removeEventListener("pointerleave",c)});a.addEventListener("pointerleave",c,r)});return i.forEach(u=>{u.addEventListener("pointerenter",o,r)}),s}const vs=(e,t)=>t?e===t?!0:vs(e,t.parentElement):!1,hi=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,Tc=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function Vc(e){return Tc.has(e.tagName)||e.tabIndex!==-1}const xt=new WeakSet;function ys(e){return t=>{t.key==="Enter"&&e(t)}}function pi(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const wc=(e,t)=>{const n=e.currentTarget;if(!n)return;const i=ys(()=>{if(xt.has(n))return;pi(n,"down");const r=ys(()=>{pi(n,"up")}),s=()=>pi(n,"cancel");n.addEventListener("keyup",r,t),n.addEventListener("blur",s,t)});n.addEventListener("keydown",i,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",i),t)};function Is(e){return hi(e)&&!ms()}function Gc(e,t,n={}){const[i,r,s]=gs(e,n),o=u=>{const a=u.currentTarget;if(!Is(u)||xt.has(a))return;xt.add(a);const l=t(u),c=(h,g)=>{window.removeEventListener("pointerup",d),window.removeEventListener("pointercancel",f),!(!Is(h)||!xt.has(a))&&(xt.delete(a),typeof l=="function"&&l(h,{success:g}))},d=h=>{c(h,n.useGlobalTarget||vs(a,h.target))},f=h=>{c(h,!1)};window.addEventListener("pointerup",d,r),window.addEventListener("pointercancel",f,r)};return i.forEach(u=>{!Vc(u)&&u.getAttribute("tabindex")===null&&(u.tabIndex=0),(n.useGlobalTarget?window:u).addEventListener("pointerdown",o,r),u.addEventListener("focus",l=>wc(l,r),r)}),s}function Bc(e){return e==="x"||e==="y"?Ie[e]?null:(Ie[e]=!0,()=>{Ie[e]=!1}):Ie.x||Ie.y?null:(Ie.x=Ie.y=!0,()=>{Ie.x=Ie.y=!1})}const Cs=new Set(["width","height","top","left","right","bottom",...it]);let an;function Fc(){an=void 0}const Te={now:()=>(an===void 0&&Te.set(q.isProcessing||Vl.useManualTiming?q.timestamp:performance.now()),an),set:e=>{an=e,queueMicrotask(Fc)}};function mi(e,t){e.indexOf(t)===-1&&e.push(t)}function gi(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class bi{constructor(){this.subscriptions=[]}add(t){return mi(this.subscriptions,t),()=>gi(this.subscriptions,t)}notify(t,n,i){const r=this.subscriptions.length;if(r)if(r===1)this.subscriptions[0](t,n,i);else for(let s=0;s<r;s++){const o=this.subscriptions[s];o&&o(t,n,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function xs(e,t){return t?e*(1e3/t):0}const As=30,Mc=e=>!isNaN(parseFloat(e));class Dc{constructor(t,n={}){this.version="11.18.2",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(i,r=!0)=>{const s=Te.now();this.updatedAt!==s&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(i),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),r&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=Te.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=Mc(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return process.env.NODE_ENV!=="production"&&Qt(!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 bi);const i=this.events[t].add(n);return t==="change"?()=>{i(),W.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t,n=!0){!n||!this.passiveEffect?this.updateAndNotify(t,n):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,n,i){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=Te.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>As)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,As);return xs(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 At(e,t){return new Dc(e,t)}function Rc(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,At(n))}function Nc(e,t){const n=sn(e,t);let{transitionEnd:i={},transition:r={},...s}=n||{};s={...s,...i};for(const o in s){const u=Ul(s[o]);Rc(e,o,u)}}function Oc(e){return!!(ie(e)&&e.add)}function vi(e,t){const n=e.getValue("willChange");if(Oc(n))return n.add(t)}function Ss(e){return e.props[Hr]}const Es=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,Lc=1e-7,Xc=12;function Wc(e,t,n,i,r){let s,o,u=0;do o=t+(n-t)/2,s=Es(o,i,r)-e,s>0?n=o:t=o;while(Math.abs(s)>Lc&&++u<Xc);return o}function St(e,t,n,i){if(e===t&&n===i)return ue;const r=s=>Wc(s,0,1,e,n);return s=>s===0||s===1?s:Es(r(s),t,i)}const Ps=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Ts=e=>t=>1-e(1-t),Vs=St(.33,1.53,.69,.99),yi=Ts(Vs),ws=Ps(yi),Gs=e=>(e*=2)<1?.5*yi(e):.5*(2-Math.pow(2,-10*(e-1))),Ii=e=>1-Math.sin(Math.acos(e)),Bs=Ts(Ii),Fs=Ps(Ii),Ms=e=>/^0[^.\s]+$/u.test(e);function kc(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Ms(e):!0}const Et=e=>Math.round(e*1e5)/1e5,Ci=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Zc(e){return e==null}const zc=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,xi=(e,t)=>n=>!!(typeof n=="string"&&zc.test(n)&&n.startsWith(e)||t&&!Zc(n)&&Object.prototype.hasOwnProperty.call(n,t)),Ds=(e,t,n)=>i=>{if(typeof i!="string")return i;const[r,s,o,u]=i.match(Ci);return{[e]:parseFloat(r),[t]:parseFloat(s),[n]:parseFloat(o),alpha:u!==void 0?parseFloat(u):1}},Hc=e=>Re(0,255,e),Ai={...rt,transform:e=>Math.round(Hc(e))},je={test:xi("rgb","red"),parse:Ds("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:i=1})=>"rgba("+Ai.transform(e)+", "+Ai.transform(t)+", "+Ai.transform(n)+", "+Et(yt.transform(i))+")"};function Yc(e){let t="",n="",i="",r="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),i=e.substring(5,7),r=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),i=e.substring(3,4),r=e.substring(4,5),t+=t,n+=n,i+=i,r+=r),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(i,16),alpha:r?parseInt(r,16)/255:1}}const Si={test:xi("#"),parse:Yc,transform:je.transform},st={test:xi("hsl","hue"),parse:Ds("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:i=1})=>"hsla("+Math.round(e)+", "+Pe.transform(Et(t))+", "+Pe.transform(Et(n))+", "+Et(yt.transform(i))+")"},re={test:e=>je.test(e)||Si.test(e)||st.test(e),parse:e=>je.test(e)?je.parse(e):st.test(e)?st.parse(e):Si.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?je.transform(e):st.transform(e)},jc=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function Jc(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(Ci))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(jc))===null||n===void 0?void 0:n.length)||0)>0}const Rs="number",Ns="color",Uc="var",_c="var(",Os="${}",$c=/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 Pt(e){const t=e.toString(),n=[],i={color:[],number:[],var:[]},r=[];let s=0;const u=t.replace($c,a=>(re.test(a)?(i.color.push(s),r.push(Ns),n.push(re.parse(a))):a.startsWith(_c)?(i.var.push(s),r.push(Uc),n.push(a)):(i.number.push(s),r.push(Rs),n.push(parseFloat(a))),++s,Os)).split(Os);return{values:n,split:u,indexes:i,types:r}}function Ls(e){return Pt(e).values}function Xs(e){const{split:t,types:n}=Pt(e),i=t.length;return r=>{let s="";for(let o=0;o<i;o++)if(s+=t[o],r[o]!==void 0){const u=n[o];u===Rs?s+=Et(r[o]):u===Ns?s+=re.transform(r[o]):s+=r[o]}return s}}const Qc=e=>typeof e=="number"?0:e;function Kc(e){const t=Ls(e);return Xs(e)(t.map(Qc))}const ze={test:Jc,parse:Ls,createTransformer:Xs,getAnimatableNone:Kc},qc=new Set(["brightness","contrast","saturate","opacity"]);function ed(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[i]=n.match(Ci)||[];if(!i)return e;const r=n.replace(i,"");let s=qc.has(t)?1:0;return i!==n&&(s*=100),t+"("+s+r+")"}const td=/\b([a-z-]*)\(.*?\)/gu,Ei={...ze,getAnimatableNone:e=>{const t=e.match(td);return t?t.map(ed).join(" "):e}},nd={...ni,color:re,backgroundColor:re,outlineColor:re,fill:re,stroke:re,borderColor:re,borderTopColor:re,borderRightColor:re,borderBottomColor:re,borderLeftColor:re,filter:Ei,WebkitFilter:Ei},Pi=e=>nd[e];function Ws(e,t){let n=Pi(e);return n!==Ei&&(n=ze),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const id=new Set(["auto","none","0"]);function rd(e,t,n){let i=0,r;for(;i<e.length&&!r;){const s=e[i];typeof s=="string"&&!id.has(s)&&Pt(s).values.length&&(r=e[i]),i++}if(r&&n)for(const s of t)e[s]=Ws(n,r)}const ks=e=>e===rt||e===G,Zs=(e,t)=>parseFloat(e.split(", ")[t]),zs=(e,t)=>(n,{transform:i})=>{if(i==="none"||!i)return 0;const r=i.match(/^matrix3d\((.+)\)$/u);if(r)return Zs(r[1],t);{const s=i.match(/^matrix\((.+)\)$/u);return s?Zs(s[1],e):0}},sd=new Set(["x","y","z"]),od=it.filter(e=>!sd.has(e));function ad(e){const t=[];return od.forEach(n=>{const i=e.getValue(n);i!==void 0&&(t.push([n,i.get()]),i.set(n.startsWith("scale")?1:0))}),t}const ot={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:zs(4,13),y:zs(5,14)};ot.translateX=ot.x,ot.translateY=ot.y;const Je=new Set;let Ti=!1,Vi=!1;function Hs(){if(Vi){const e=Array.from(Je).filter(i=>i.needsMeasurement),t=new Set(e.map(i=>i.element)),n=new Map;t.forEach(i=>{const r=ad(i);r.length&&(n.set(i,r),i.render())}),e.forEach(i=>i.measureInitialState()),t.forEach(i=>{i.render();const r=n.get(i);r&&r.forEach(([s,o])=>{var u;(u=i.getValue(s))===null||u===void 0||u.set(o)})}),e.forEach(i=>i.measureEndState()),e.forEach(i=>{i.suspendedScrollY!==void 0&&window.scrollTo(0,i.suspendedScrollY)})}Vi=!1,Ti=!1,Je.forEach(e=>e.complete()),Je.clear()}function Ys(){Je.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Vi=!0)})}function ud(){Ys(),Hs()}class wi{constructor(t,n,i,r,s,o=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=i,this.motionValue=r,this.element=s,this.isAsync=o}scheduleResolve(){this.isScheduled=!0,this.isAsync?(Je.add(this),Ti||(Ti=!0,W.read(Ys),W.resolveKeyframes(Hs))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:i,motionValue:r}=this;for(let s=0;s<t.length;s++)if(t[s]===null)if(s===0){const o=r==null?void 0:r.get(),u=t[t.length-1];if(o!==void 0)t[0]=o;else if(i&&n){const a=i.readValue(n,u);a!=null&&(t[0]=a)}t[0]===void 0&&(t[0]=u),r&&o===void 0&&r.set(t[0])}else t[s]=t[s-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),Je.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,Je.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const js=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),ld=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function cd(e){const t=ld.exec(e);if(!t)return[,];const[,n,i,r]=t;return[`--${n??i}`,r]}const dd=4;function Js(e,t,n=1){We(n<=dd,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[i,r]=cd(e);if(!i)return;const s=window.getComputedStyle(t).getPropertyValue(i);if(s){const o=s.trim();return js(o)?parseFloat(o):o}return ti(r)?Js(r,t,n+1):r}const Us=e=>t=>t.test(e),_s=[rt,G,Pe,Ze,ec,ql,{test:e=>e==="auto",parse:e=>e}],$s=e=>_s.find(Us(e));class Qs extends wi{constructor(t,n,i,r,s){super(t,n,i,r,s,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:i}=this;if(!n||!n.current)return;super.readKeyframes();for(let a=0;a<t.length;a++){let l=t[a];if(typeof l=="string"&&(l=l.trim(),ti(l))){const c=Js(l,n.current);c!==void 0&&(t[a]=c),a===t.length-1&&(this.finalKeyframe=l)}}if(this.resolveNoneKeyframes(),!Cs.has(i)||t.length!==2)return;const[r,s]=t,o=$s(r),u=$s(s);if(o!==u)if(ks(o)&&ks(u))for(let a=0;a<t.length;a++){const l=t[a];typeof l=="string"&&(t[a]=parseFloat(l))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,i=[];for(let r=0;r<t.length;r++)kc(t[r])&&i.push(r);i.length&&rd(t,i,n)}measureInitialState(){const{element:t,unresolvedKeyframes:n,name:i}=this;if(!t||!t.current)return;i==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=ot[i](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const r=n[n.length-1];r!==void 0&&t.getValue(i,r).jump(r,!1)}measureEndState(){var t;const{element:n,name:i,unresolvedKeyframes:r}=this;if(!n||!n.current)return;const s=n.getValue(i);s&&s.jump(this.measuredOrigin,!1);const o=r.length-1,u=r[o];r[o]=ot[i](n.measureViewportBox(),window.getComputedStyle(n.current)),u!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=u),!((t=this.removedTransforms)===null||t===void 0)&&t.length&&this.removedTransforms.forEach(([a,l])=>{n.getValue(a).set(l)}),this.resolveNoneKeyframes()}}const Ks=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(ze.test(e)||e==="0")&&!e.startsWith("url("));function fd(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,i){const r=e[0];if(r===null)return!1;if(t==="display"||t==="visibility")return!0;const s=e[e.length-1],o=Ks(r,t),u=Ks(s,t);return qe(o===u,`You are trying to animate ${t} from "${r}" to "${s}". ${r} is not an animatable value - to enable this animation set ${r} to a value animatable to ${s} via the \`style\` property.`),!o||!u?!1:fd(e)||(n==="spring"||ci(n))&&i}const pd=e=>e!==null;function un(e,{repeat:t,repeatType:n="loop"},i){const r=e.filter(pd),s=t&&n!=="loop"&&t%2===1?0:r.length-1;return!s||i===void 0?r[s]:i}const md=40;class qs{constructor({autoplay:t=!0,delay:n=0,type:i="keyframes",repeat:r=0,repeatDelay:s=0,repeatType:o="loop",...u}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=Te.now(),this.options={autoplay:t,delay:n,type:i,repeat:r,repeatDelay:s,repeatType:o,...u},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt?this.resolvedAt-this.createdAt>md?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&ud(),this._resolved}onKeyframesResolved(t,n){this.resolvedAt=Te.now(),this.hasAttemptedResolve=!0;const{name:i,type:r,velocity:s,delay:o,onComplete:u,onUpdate:a,isGenerator:l}=this.options;if(!l&&!hd(t,i,r,s))if(o)this.options.duration=0;else{a&&a(un(t,this.options,n)),u&&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)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(t=>{this.resolveFinishedPromise=t})}}const z=(e,t,n)=>e+(t-e)*n;function Gi(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function gd({hue:e,saturation:t,lightness:n,alpha:i}){e/=360,t/=100,n/=100;let r=0,s=0,o=0;if(!t)r=s=o=n;else{const u=n<.5?n*(1+t):n+t-n*t,a=2*n-u;r=Gi(a,u,e+1/3),s=Gi(a,u,e),o=Gi(a,u,e-1/3)}return{red:Math.round(r*255),green:Math.round(s*255),blue:Math.round(o*255),alpha:i}}function ln(e,t){return n=>n>0?t:e}const Bi=(e,t,n)=>{const i=e*e,r=n*(t*t-i)+i;return r<0?0:Math.sqrt(r)},bd=[Si,je,st],vd=e=>bd.find(t=>t.test(e));function eo(e){const t=vd(e);if(qe(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`),!t)return!1;let n=t.parse(e);return t===st&&(n=gd(n)),n}const to=(e,t)=>{const n=eo(e),i=eo(t);if(!n||!i)return ln(e,t);const r={...n};return s=>(r.red=Bi(n.red,i.red,s),r.green=Bi(n.green,i.green,s),r.blue=Bi(n.blue,i.blue,s),r.alpha=z(n.alpha,i.alpha,s),je.transform(r))},yd=(e,t)=>n=>t(e(n)),Tt=(...e)=>e.reduce(yd),Fi=new Set(["none","hidden"]);function Id(e,t){return Fi.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function Cd(e,t){return n=>z(e,t,n)}function Mi(e){return typeof e=="number"?Cd:typeof e=="string"?ti(e)?ln:re.test(e)?to:Sd:Array.isArray(e)?no:typeof e=="object"?re.test(e)?to:xd:ln}function no(e,t){const n=[...e],i=n.length,r=e.map((s,o)=>Mi(s)(s,t[o]));return s=>{for(let o=0;o<i;o++)n[o]=r[o](s);return n}}function xd(e,t){const n={...e,...t},i={};for(const r in n)e[r]!==void 0&&t[r]!==void 0&&(i[r]=Mi(e[r])(e[r],t[r]));return r=>{for(const s in i)n[s]=i[s](r);return n}}function Ad(e,t){var n;const i=[],r={color:0,var:0,number:0};for(let s=0;s<t.values.length;s++){const o=t.types[s],u=e.indexes[o][r[o]],a=(n=e.values[u])!==null&&n!==void 0?n:0;i[s]=a,r[o]++}return i}const Sd=(e,t)=>{const n=ze.createTransformer(t),i=Pt(e),r=Pt(t);return i.indexes.var.length===r.indexes.var.length&&i.indexes.color.length===r.indexes.color.length&&i.indexes.number.length>=r.indexes.number.length?Fi.has(e)&&!r.values.length||Fi.has(t)&&!i.values.length?Id(e,t):Tt(no(Ad(i,r),r.values),n):(qe(!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.`),ln(e,t))};function io(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?z(e,t,n):Mi(e)(e,t)}const Ed=5;function ro(e,t,n){const i=Math.max(t-Ed,0);return xs(n-e(i),t-i)}const H={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},Di=.001;function Pd({duration:e=H.duration,bounce:t=H.bounce,velocity:n=H.velocity,mass:i=H.mass}){let r,s;qe(e<=Ee(H.maxDuration),"Spring duration must be 10 seconds or less");let o=1-t;o=Re(H.minDamping,H.maxDamping,o),e=Re(H.minDuration,H.maxDuration,De(e)),o<1?(r=l=>{const c=l*o,d=c*e,f=c-n,h=Ri(l,o),g=Math.exp(-d);return Di-f/h*g},s=l=>{const d=l*o*e,f=d*n+n,h=Math.pow(o,2)*Math.pow(l,2)*e,g=Math.exp(-d),m=Ri(Math.pow(l,2),o);return(-r(l)+Di>0?-1:1)*((f-h)*g)/m}):(r=l=>{const c=Math.exp(-l*e),d=(l-n)*e+1;return-Di+c*d},s=l=>{const c=Math.exp(-l*e),d=(n-l)*(e*e);return c*d});const u=5/e,a=Vd(r,s,u);if(e=Ee(e),isNaN(a))return{stiffness:H.stiffness,damping:H.damping,duration:e};{const l=Math.pow(a,2)*i;return{stiffness:l,damping:o*2*Math.sqrt(i*l),duration:e}}}const Td=12;function Vd(e,t,n){let i=n;for(let r=1;r<Td;r++)i=i-e(i)/t(i);return i}function Ri(e,t){return e*Math.sqrt(1-t*t)}const wd=["duration","bounce"],Gd=["stiffness","damping","mass"];function so(e,t){return t.some(n=>e[n]!==void 0)}function Bd(e){let t={velocity:H.velocity,stiffness:H.stiffness,damping:H.damping,mass:H.mass,isResolvedFromDuration:!1,...e};if(!so(e,Gd)&&so(e,wd))if(e.visualDuration){const n=e.visualDuration,i=2*Math.PI/(n*1.2),r=i*i,s=2*Re(.05,1,1-(e.bounce||0))*Math.sqrt(r);t={...t,mass:H.mass,stiffness:r,damping:s}}else{const n=Pd(e);t={...t,...n,mass:H.mass},t.isResolvedFromDuration=!0}return t}function oo(e=H.visualDuration,t=H.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:i,restDelta:r}=n;const s=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],u={done:!1,value:s},{stiffness:a,damping:l,mass:c,duration:d,velocity:f,isResolvedFromDuration:h}=Bd({...n,velocity:-De(n.velocity||0)}),g=f||0,m=l/(2*Math.sqrt(a*c)),p=o-s,b=De(Math.sqrt(a/c)),C=Math.abs(p)<5;i||(i=C?H.restSpeed.granular:H.restSpeed.default),r||(r=C?H.restDelta.granular:H.restDelta.default);let I;if(m<1){const v=Ri(b,m);I=S=>{const E=Math.exp(-m*b*S);return o-E*((g+m*b*p)/v*Math.sin(v*S)+p*Math.cos(v*S))}}else if(m===1)I=v=>o-Math.exp(-b*v)*(p+(g+b*p)*v);else{const v=b*Math.sqrt(m*m-1);I=S=>{const E=Math.exp(-m*b*S),P=Math.min(v*S,300);return o-E*((g+m*b*p)*Math.sinh(P)+v*p*Math.cosh(P))/v}}const x={calculatedDuration:h&&d||null,next:v=>{const S=I(v);if(h)u.done=v>=d;else{let E=0;m<1&&(E=v===0?Ee(g):ro(I,v,S));const P=Math.abs(E)<=i,F=Math.abs(o-S)<=r;u.done=P&&F}return u.value=u.done?o:S,u},toString:()=>{const v=Math.min(cs(x),li),S=fs(E=>x.next(v*E).value,v,30);return v+"ms "+S}};return x}function ao({keyframes:e,velocity:t=0,power:n=.8,timeConstant:i=325,bounceDamping:r=10,bounceStiffness:s=500,modifyTarget:o,min:u,max:a,restDelta:l=.5,restSpeed:c}){const d=e[0],f={done:!1,value:d},h=P=>u!==void 0&&P<u||a!==void 0&&P>a,g=P=>u===void 0?a:a===void 0||Math.abs(u-P)<Math.abs(a-P)?u:a;let m=n*t;const p=d+m,b=o===void 0?p:o(p);b!==p&&(m=b-d);const C=P=>-m*Math.exp(-P/i),I=P=>b+C(P),x=P=>{const F=C(P),D=I(P);f.done=Math.abs(F)<=l,f.value=f.done?b:D};let v,S;const E=P=>{h(f.value)&&(v=P,S=oo({keyframes:[f.value,g(f.value)],velocity:ro(I,P,f.value),damping:r,stiffness:s,restDelta:l,restSpeed:c}))};return E(0),{calculatedDuration:null,next:P=>{let F=!1;return!S&&v===void 0&&(F=!0,x(P),E(P)),v!==void 0&&P>=v?S.next(P-v):(!F&&x(P),f)}}}const Fd=St(.42,0,1,1),Md=St(0,0,.58,1),uo=St(.42,0,.58,1),Dd=e=>Array.isArray(e)&&typeof e[0]!="number",lo={linear:ue,easeIn:Fd,easeInOut:uo,easeOut:Md,circIn:Ii,circInOut:Fs,circOut:Bs,backIn:yi,backInOut:ws,backOut:Vs,anticipate:Gs},co=e=>{if(di(e)){We(e.length===4,"Cubic bezier arrays must contain four numerical values.");const[t,n,i,r]=e;return St(t,n,i,r)}else if(typeof e=="string")return We(lo[e]!==void 0,`Invalid easing type '${e}'`),lo[e];return e};function Rd(e,t,n){const i=[],r=n||io,s=e.length-1;for(let o=0;o<s;o++){let u=r(e[o],e[o+1]);if(t){const a=Array.isArray(t)?t[o]||ue:t;u=Tt(a,u)}i.push(u)}return i}function Nd(e,t,{clamp:n=!0,ease:i,mixer:r}={}){const s=e.length;if(We(s===t.length,"Both input and output ranges must be the same length"),s===1)return()=>t[0];if(s===2&&t[0]===t[1])return()=>t[1];const o=e[0]===e[1];e[0]>e[s-1]&&(e=[...e].reverse(),t=[...t].reverse());const u=Rd(t,i,r),a=u.length,l=c=>{if(o&&c<e[0])return t[0];let d=0;if(a>1)for(;d<e.length-2&&!(c<e[d+1]);d++);const f=et(e[d],e[d+1],c);return u[d](f)};return n?c=>l(Re(e[0],e[s-1],c)):l}function Od(e,t){const n=e[e.length-1];for(let i=1;i<=t;i++){const r=et(0,t,i);e.push(z(n,1,r))}}function Ld(e){const t=[0];return Od(t,e.length-1),t}function Xd(e,t){return e.map(n=>n*t)}function Wd(e,t){return e.map(()=>t||uo).splice(0,e.length-1)}function cn({duration:e=300,keyframes:t,times:n,ease:i="easeInOut"}){const r=Dd(i)?i.map(co):co(i),s={done:!1,value:t[0]},o=Xd(n&&n.length===t.length?n:Ld(t),e),u=Nd(o,t,{ease:Array.isArray(r)?r:Wd(t,r)});return{calculatedDuration:e,next:a=>(s.value=u(a),s.done=a>=e,s)}}const kd=e=>{const t=({timestamp:n})=>e(n);return{start:()=>W.update(t,!0),stop:()=>ke(t),now:()=>q.isProcessing?q.timestamp:Te.now()}},Zd={decay:ao,inertia:ao,tween:cn,keyframes:cn,spring:oo},zd=e=>e/100;class Ni extends qs{constructor(t){super(t),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();const{onStop:a}=this.options;a&&a()};const{name:n,motionValue:i,element:r,keyframes:s}=this.options,o=(r==null?void 0:r.KeyframeResolver)||wi,u=(a,l)=>this.onKeyframesResolved(a,l);this.resolver=new o(s,u,n,i,r),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(t){const{type:n="keyframes",repeat:i=0,repeatDelay:r=0,repeatType:s,velocity:o=0}=this.options,u=ci(n)?n:Zd[n]||cn;let a,l;u!==cn&&typeof t[0]!="number"&&(process.env.NODE_ENV!=="production"&&We(t.length===2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${t}`),a=Tt(zd,io(t[0],t[1])),t=[0,100]);const c=u({...this.options,keyframes:t});s==="mirror"&&(l=u({...this.options,keyframes:[...t].reverse(),velocity:-o})),c.calculatedDuration===null&&(c.calculatedDuration=cs(c));const{calculatedDuration:d}=c,f=d+r,h=f*(i+1)-r;return{generator:c,mirroredGenerator:l,mapPercentToKeyframes:a,calculatedDuration:d,resolvedDuration:f,totalDuration:h}}onPostResolved(){const{autoplay:t=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!t?this.pause():this.state=this.pendingPlayState}tick(t,n=!1){const{resolved:i}=this;if(!i){const{keyframes:P}=this.options;return{done:!0,value:P[P.length-1]}}const{finalKeyframe:r,generator:s,mirroredGenerator:o,mapPercentToKeyframes:u,keyframes:a,calculatedDuration:l,totalDuration:c,resolvedDuration:d}=i;if(this.startTime===null)return s.next(0);const{delay:f,repeat:h,repeatType:g,repeatDelay:m,onUpdate:p}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-c/this.speed,this.startTime)),n?this.currentTime=t:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;const b=this.currentTime-f*(this.speed>=0?1:-1),C=this.speed>=0?b<0:b>c;this.currentTime=Math.max(b,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=c);let I=this.currentTime,x=s;if(h){const P=Math.min(this.currentTime,c)/d;let F=Math.floor(P),D=P%1;!D&&P>=1&&(D=1),D===1&&F--,F=Math.min(F,h+1),!!(F%2)&&(g==="reverse"?(D=1-D,m&&(D-=m/d)):g==="mirror"&&(x=o)),I=Re(0,1,D)*d}const v=C?{done:!1,value:a[0]}:x.next(I);u&&(v.value=u(v.value));let{done:S}=v;!C&&l!==null&&(S=this.speed>=0?this.currentTime>=c:this.currentTime<=0);const E=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&S);return E&&r!==void 0&&(v.value=un(a,this.options,r)),p&&p(v.value),E&&this.finish(),v}get duration(){const{resolved:t}=this;return t?De(t.calculatedDuration):0}get time(){return De(this.currentTime)}set time(t){t=Ee(t),this.currentTime=t,this.holdTime!==null||this.speed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=De(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:t=kd,onPlay:n,startTime:i}=this.options;this.driver||(this.driver=t(s=>this.tick(s))),n&&n();const r=this.driver.now();this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=r):this.startTime=i??this.calcStartTime(),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 Hd=new Set(["opacity","clipPath","filter","transform"]);function Yd(e,t,n,{delay:i=0,duration:r=300,repeat:s=0,repeatType:o="loop",ease:u="easeInOut",times:a}={}){const l={[t]:n};a&&(l.offset=a);const c=ps(u,r);return Array.isArray(c)&&(l.easing=c),e.animate(l,{delay:i,duration:r,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:s+1,direction:o==="reverse"?"alternate":"normal"})}const jd=jn(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),dn=10,Jd=2e4;function Ud(e){return ci(e.type)||e.type==="spring"||!hs(e.ease)}function _d(e,t){const n=new Ni({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0});let i={done:!1,value:e[0]};const r=[];let s=0;for(;!i.done&&s<Jd;)i=n.sample(s),r.push(i.value),s+=dn;return{times:void 0,keyframes:r,duration:s-dn,ease:"linear"}}const fo={anticipate:Gs,backInOut:ws,circInOut:Fs};function $d(e){return e in fo}class ho extends qs{constructor(t){super(t);const{name:n,motionValue:i,element:r,keyframes:s}=this.options;this.resolver=new Qs(s,(o,u)=>this.onKeyframesResolved(o,u),n,i,r),this.resolver.scheduleResolve()}initPlayback(t,n){let{duration:i=300,times:r,ease:s,type:o,motionValue:u,name:a,startTime:l}=this.options;if(!u.owner||!u.owner.current)return!1;if(typeof s=="string"&&on()&&$d(s)&&(s=fo[s]),Ud(this.options)){const{onComplete:d,onUpdate:f,motionValue:h,element:g,...m}=this.options,p=_d(t,m);t=p.keyframes,t.length===1&&(t[1]=t[0]),i=p.duration,r=p.times,s=p.ease,o="keyframes"}const c=Yd(u.owner.current,a,t,{...this.options,duration:i,times:r,ease:s});return c.startTime=l??this.calcStartTime(),this.pendingTimeline?(ds(c,this.pendingTimeline),this.pendingTimeline=void 0):c.onfinish=()=>{const{onComplete:d}=this.options;u.set(un(t,this.options,n)),d&&d(),this.cancel(),this.resolveFinishedPromise()},{animation:c,duration:i,times:r,type:o,ease:s,keyframes:t}}get duration(){const{resolved:t}=this;if(!t)return 0;const{duration:n}=t;return De(n)}get time(){const{resolved:t}=this;if(!t)return 0;const{animation:n}=t;return De(n.currentTime||0)}set time(t){const{resolved:n}=this;if(!n)return;const{animation:i}=n;i.currentTime=Ee(t)}get speed(){const{resolved:t}=this;if(!t)return 1;const{animation:n}=t;return n.playbackRate}set speed(t){const{resolved:n}=this;if(!n)return;const{animation:i}=n;i.playbackRate=t}get state(){const{resolved:t}=this;if(!t)return"idle";const{animation:n}=t;return n.playState}get startTime(){const{resolved:t}=this;if(!t)return null;const{animation:n}=t;return n.startTime}attachTimeline(t){if(!this._resolved)this.pendingTimeline=t;else{const{resolved:n}=this;if(!n)return ue;const{animation:i}=n;ds(i,t)}return ue}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;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:t}=this;if(!t)return;const{animation:n,keyframes:i,duration:r,type:s,ease:o,times:u}=t;if(n.playState==="idle"||n.playState==="finished")return;if(this.time){const{motionValue:l,onUpdate:c,onComplete:d,element:f,...h}=this.options,g=new Ni({...h,keyframes:i,duration:r,type:s,ease:o,times:u,isGenerator:!0}),m=Ee(this.time);l.setWithVelocity(g.sample(m-dn).value,g.sample(m).value,dn)}const{onStop:a}=this.options;a&&a(),this.cancel()}complete(){const{resolved:t}=this;t&&t.animation.finish()}cancel(){const{resolved:t}=this;t&&t.animation.cancel()}static supports(t){const{motionValue:n,name:i,repeatDelay:r,repeatType:s,damping:o,type:u}=t;if(!n||!n.owner||!(n.owner.current instanceof HTMLElement))return!1;const{onUpdate:a,transformTemplate:l}=n.owner.getProps();return jd()&&i&&Hd.has(i)&&!a&&!l&&!r&&s!=="mirror"&&o!==0&&u!=="inertia"}}const Qd={type:"spring",stiffness:500,damping:25,restSpeed:10},Kd=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),qd={type:"keyframes",duration:.8},ef={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},tf=(e,{keyframes:t})=>t.length>2?qd:Ye.has(e)?e.startsWith("scale")?Kd(t[1]):Qd:ef;function nf({when:e,delay:t,delayChildren:n,staggerChildren:i,staggerDirection:r,repeat:s,repeatType:o,repeatDelay:u,from:a,elapsed:l,...c}){return!!Object.keys(c).length}const Oi=(e,t,n,i={},r,s)=>o=>{const u=ui(i,e)||{},a=u.delay||i.delay||0;let{elapsed:l=0}=i;l=l-Ee(a);let c={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...u,delay:-l,onUpdate:f=>{t.set(f),u.onUpdate&&u.onUpdate(f)},onComplete:()=>{o(),u.onComplete&&u.onComplete()},name:e,motionValue:t,element:s?void 0:r};nf(u)||(c={...c,...tf(e,c)}),c.duration&&(c.duration=Ee(c.duration)),c.repeatDelay&&(c.repeatDelay=Ee(c.repeatDelay)),c.from!==void 0&&(c.keyframes[0]=c.from);let d=!1;if((c.type===!1||c.duration===0&&!c.repeatDelay)&&(c.duration=0,c.delay===0&&(d=!0)),d&&!s&&t.get()!==void 0){const f=un(c.keyframes,u);if(f!==void 0)return W.update(()=>{c.onUpdate(f),c.onComplete()}),new xc([])}return!s&&ho.supports(c)?new ho(c):new Ni(c)};function rf({protectedKeys:e,needsAnimating:t},n){const i=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,i}function po(e,t,{delay:n=0,transitionOverride:i,type:r}={}){var s;let{transition:o=e.getDefaultTransition(),transitionEnd:u,...a}=t;i&&(o=i);const l=[],c=r&&e.animationState&&e.animationState.getState()[r];for(const d in a){const f=e.getValue(d,(s=e.latestValues[d])!==null&&s!==void 0?s:null),h=a[d];if(h===void 0||c&&rf(c,d))continue;const g={delay:n,...ui(o||{},d)};let m=!1;if(window.MotionHandoffAnimation){const b=Ss(e);if(b){const C=window.MotionHandoffAnimation(b,d,W);C!==null&&(g.startTime=C,m=!0)}}vi(e,d),f.start(Oi(d,f,h,e.shouldReduceMotion&&Cs.has(d)?{type:!1}:g,e,m));const p=f.animation;p&&l.push(p)}return u&&Promise.all(l).then(()=>{W.update(()=>{u&&Nc(e,u)})}),l}function Li(e,t,n={}){var i;const r=sn(e,t,n.type==="exit"?(i=e.presenceContext)===null||i===void 0?void 0:i.custom:void 0);let{transition:s=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(s=n.transitionOverride);const o=r?()=>Promise.all(po(e,r,n)):()=>Promise.resolve(),u=e.variantChildren&&e.variantChildren.size?(l=0)=>{const{delayChildren:c=0,staggerChildren:d,staggerDirection:f}=s;return sf(e,t,c+l,d,f,n)}:()=>Promise.resolve(),{when:a}=s;if(a){const[l,c]=a==="beforeChildren"?[o,u]:[u,o];return l().then(()=>c())}else return Promise.all([o(),u(n.delay)])}function sf(e,t,n=0,i=0,r=1,s){const o=[],u=(e.variantChildren.size-1)*i,a=r===1?(l=0)=>l*i:(l=0)=>u-l*i;return Array.from(e.variantChildren).sort(of).forEach((l,c)=>{l.notify("AnimationStart",t),o.push(Li(l,t,{...s,delay:n+a(c)}).then(()=>l.notify("AnimationComplete",t)))}),Promise.all(o)}function of(e,t){return e.sortNodePosition(t)}function af(e,t,n={}){e.notify("AnimationStart",t);let i;if(Array.isArray(t)){const r=t.map(s=>Li(e,s,n));i=Promise.all(r)}else if(typeof t=="string")i=Li(e,t,n);else{const r=typeof t=="function"?sn(e,t,n.custom):t;i=Promise.all(po(e,r,n))}return i.then(()=>{e.notify("AnimationComplete",t)})}const uf=_n.length;function mo(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?mo(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<uf;n++){const i=_n[n],r=e.props[i];(vt(r)||r===!1)&&(t[i]=r)}return t}const lf=[...Un].reverse(),cf=Un.length;function df(e){return t=>Promise.all(t.map(({animation:n,options:i})=>af(e,n,i)))}function ff(e){let t=df(e),n=go(),i=!0;const r=a=>(l,c)=>{var d;const f=sn(e,c,a==="exit"?(d=e.presenceContext)===null||d===void 0?void 0:d.custom:void 0);if(f){const{transition:h,transitionEnd:g,...m}=f;l={...l,...m,...g}}return l};function s(a){t=a(e)}function o(a){const{props:l}=e,c=mo(e.parent)||{},d=[],f=new Set;let h={},g=1/0;for(let p=0;p<cf;p++){const b=lf[p],C=n[b],I=l[b]!==void 0?l[b]:c[b],x=vt(I),v=b===a?C.isActive:null;v===!1&&(g=p);let S=I===c[b]&&I!==l[b]&&x;if(S&&i&&e.manuallyAnimateOnMount&&(S=!1),C.protectedKeys={...h},!C.isActive&&v===null||!I&&!C.prevProp||qt(I)||typeof I=="boolean")continue;const E=hf(C.prevProp,I);let P=E||b===a&&C.isActive&&!S&&x||p>g&&x,F=!1;const D=Array.isArray(I)?I:[I];let Y=D.reduce(r(b),{});v===!1&&(Y={});const{prevResolvedValues:_={}}=C,me={..._,...Y},ce=X=>{P=!0,f.has(X)&&(F=!0,f.delete(X)),C.needsAnimating[X]=!0;const k=e.getValue(X);k&&(k.liveStyle=!1)};for(const X in me){const k=Y[X],de=_[X];if(h.hasOwnProperty(X))continue;let oe=!1;ei(k)&&ei(de)?oe=!ls(k,de):oe=k!==de,oe?k!=null?ce(X):f.add(X):k!==void 0&&f.has(X)?ce(X):C.protectedKeys[X]=!0}C.prevProp=I,C.prevResolvedValues=Y,C.isActive&&(h={...h,...Y}),i&&e.blockInitialAnimation&&(P=!1),P&&(!(S&&E)||F)&&d.push(...D.map(X=>({animation:X,options:{type:b}})))}if(f.size){const p={};f.forEach(b=>{const C=e.getBaseTarget(b),I=e.getValue(b);I&&(I.liveStyle=!0),p[b]=C??null}),d.push({animation:p})}let m=!!d.length;return i&&(l.initial===!1||l.initial===l.animate)&&!e.manuallyAnimateOnMount&&(m=!1),i=!1,m?t(d):Promise.resolve()}function u(a,l){var c;if(n[a].isActive===l)return Promise.resolve();(c=e.variantChildren)===null||c===void 0||c.forEach(f=>{var h;return(h=f.animationState)===null||h===void 0?void 0:h.setActive(a,l)}),n[a].isActive=l;const d=o(a);for(const f in n)n[f].protectedKeys={};return d}return{animateChanges:o,setActive:u,setAnimateFunction:s,getState:()=>n,reset:()=>{n=go(),i=!0}}}function hf(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!ls(t,e):!1}function Ue(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function go(){return{animate:Ue(!0),whileInView:Ue(),whileHover:Ue(),whileTap:Ue(),whileDrag:Ue(),whileFocus:Ue(),exit:Ue()}}class He{constructor(t){this.isMounted=!1,this.node=t}update(){}}class pf extends He{constructor(t){super(t),t.animationState||(t.animationState=ff(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();qt(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 mf=0;class gf extends He{constructor(){super(...arguments),this.id=mf++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;const r=this.node.animationState.setActive("exit",!t);n&&!t&&r.then(()=>n(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const bf={animation:{Feature:pf},exit:{Feature:gf}};function Vt(e,t,n,i={passive:!0}){return e.addEventListener(t,n,i),()=>e.removeEventListener(t,n)}function wt(e){return{point:{x:e.pageX,y:e.pageY}}}const vf=e=>t=>hi(t)&&e(t,wt(t));function Gt(e,t,n,i){return Vt(e,t,vf(n),i)}const bo=(e,t)=>Math.abs(e-t);function yf(e,t){const n=bo(e.x,t.x),i=bo(e.y,t.y);return Math.sqrt(n**2+i**2)}class vo{constructor(t,n,{transformPagePoint:i,contextWindow:r,dragSnapToOrigin:s=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const d=Wi(this.lastMoveEventInfo,this.history),f=this.startEvent!==null,h=yf(d.offset,{x:0,y:0})>=3;if(!f&&!h)return;const{point:g}=d,{timestamp:m}=q;this.history.push({...g,timestamp:m});const{onStart:p,onMove:b}=this.handlers;f||(p&&p(this.lastMoveEvent,d),this.startEvent=this.lastMoveEvent),b&&b(this.lastMoveEvent,d)},this.handlePointerMove=(d,f)=>{this.lastMoveEvent=d,this.lastMoveEventInfo=Xi(f,this.transformPagePoint),W.update(this.updatePoint,!0)},this.handlePointerUp=(d,f)=>{this.end();const{onEnd:h,onSessionEnd:g,resumeAnimation:m}=this.handlers;if(this.dragSnapToOrigin&&m&&m(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const p=Wi(d.type==="pointercancel"?this.lastMoveEventInfo:Xi(f,this.transformPagePoint),this.history);this.startEvent&&h&&h(d,p),g&&g(d,p)},!hi(t))return;this.dragSnapToOrigin=s,this.handlers=n,this.transformPagePoint=i,this.contextWindow=r||window;const o=wt(t),u=Xi(o,this.transformPagePoint),{point:a}=u,{timestamp:l}=q;this.history=[{...a,timestamp:l}];const{onSessionStart:c}=n;c&&c(t,Wi(u,this.history)),this.removeListeners=Tt(Gt(this.contextWindow,"pointermove",this.handlePointerMove),Gt(this.contextWindow,"pointerup",this.handlePointerUp),Gt(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),ke(this.updatePoint)}}function Xi(e,t){return t?{point:t(e.point)}:e}function yo(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Wi({point:e},t){return{point:e,delta:yo(e,Io(t)),offset:yo(e,If(t)),velocity:Cf(t,.1)}}function If(e){return e[0]}function Io(e){return e[e.length-1]}function Cf(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,i=null;const r=Io(e);for(;n>=0&&(i=e[n],!(r.timestamp-i.timestamp>Ee(t)));)n--;if(!i)return{x:0,y:0};const s=De(r.timestamp-i.timestamp);if(s===0)return{x:0,y:0};const o={x:(r.x-i.x)/s,y:(r.y-i.y)/s};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}const Co=1e-4,xf=1-Co,Af=1+Co,xo=.01,Sf=0-xo,Ef=0+xo;function he(e){return e.max-e.min}function Pf(e,t,n){return Math.abs(e-t)<=n}function Ao(e,t,n,i=.5){e.origin=i,e.originPoint=z(t.min,t.max,e.origin),e.scale=he(n)/he(t),e.translate=z(n.min,n.max,e.origin)-e.originPoint,(e.scale>=xf&&e.scale<=Af||isNaN(e.scale))&&(e.scale=1),(e.translate>=Sf&&e.translate<=Ef||isNaN(e.translate))&&(e.translate=0)}function Bt(e,t,n,i){Ao(e.x,t.x,n.x,i?i.originX:void 0),Ao(e.y,t.y,n.y,i?i.originY:void 0)}function So(e,t,n){e.min=n.min+t.min,e.max=e.min+he(t)}function Tf(e,t,n){So(e.x,t.x,n.x),So(e.y,t.y,n.y)}function Eo(e,t,n){e.min=t.min-n.min,e.max=e.min+he(t)}function Ft(e,t,n){Eo(e.x,t.x,n.x),Eo(e.y,t.y,n.y)}function Vf(e,{min:t,max:n},i){return t!==void 0&&e<t?e=i?z(t,e,i.min):Math.max(e,t):n!==void 0&&e>n&&(e=i?z(n,e,i.max):Math.min(e,n)),e}function Po(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 wf(e,{top:t,left:n,bottom:i,right:r}){return{x:Po(e.x,n,r),y:Po(e.y,t,i)}}function To(e,t){let n=t.min-e.min,i=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,i]=[i,n]),{min:n,max:i}}function Gf(e,t){return{x:To(e.x,t.x),y:To(e.y,t.y)}}function Bf(e,t){let n=.5;const i=he(e),r=he(t);return r>i?n=et(t.min,t.max-i,e.min):i>r&&(n=et(e.min,e.max-r,t.min)),Re(0,1,n)}function Ff(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 ki=.35;function Mf(e=ki){return e===!1?e=0:e===!0&&(e=ki),{x:Vo(e,"left","right"),y:Vo(e,"top","bottom")}}function Vo(e,t,n){return{min:wo(e,t),max:wo(e,n)}}function wo(e,t){return typeof e=="number"?e:e[t]||0}const Go=()=>({translate:0,scale:1,origin:0,originPoint:0}),at=()=>({x:Go(),y:Go()}),Bo=()=>({min:0,max:0}),U=()=>({x:Bo(),y:Bo()});function be(e){return[e("x"),e("y")]}function Fo({top:e,left:t,right:n,bottom:i}){return{x:{min:t,max:n},y:{min:e,max:i}}}function Df({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function Rf(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),i=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:i.y,right:i.x}}function Zi(e){return e===void 0||e===1}function zi({scale:e,scaleX:t,scaleY:n}){return!Zi(e)||!Zi(t)||!Zi(n)}function _e(e){return zi(e)||Mo(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Mo(e){return Do(e.x)||Do(e.y)}function Do(e){return e&&e!=="0%"}function fn(e,t,n){const i=e-n,r=t*i;return n+r}function Ro(e,t,n,i,r){return r!==void 0&&(e=fn(e,r,i)),fn(e,n,i)+t}function Hi(e,t=0,n=1,i,r){e.min=Ro(e.min,t,n,i,r),e.max=Ro(e.max,t,n,i,r)}function No(e,{x:t,y:n}){Hi(e.x,t.translate,t.scale,t.originPoint),Hi(e.y,n.translate,n.scale,n.originPoint)}const Oo=.999999999999,Lo=1.0000000000001;function Nf(e,t,n,i=!1){const r=n.length;if(!r)return;t.x=t.y=1;let s,o;for(let u=0;u<r;u++){s=n[u],o=s.projectionDelta;const{visualElement:a}=s.options;a&&a.props.style&&a.props.style.display==="contents"||(i&&s.options.layoutScroll&&s.scroll&&s!==s.root&<(e,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),o&&(t.x*=o.x.scale,t.y*=o.y.scale,No(e,o)),i&&_e(s.latestValues)&<(e,s.latestValues))}t.x<Lo&&t.x>Oo&&(t.x=1),t.y<Lo&&t.y>Oo&&(t.y=1)}function ut(e,t){e.min=e.min+t,e.max=e.max+t}function Xo(e,t,n,i,r=.5){const s=z(e.min,e.max,r);Hi(e,t,n,s,i)}function lt(e,t){Xo(e.x,t.x,t.scaleX,t.scale,t.originX),Xo(e.y,t.y,t.scaleY,t.scale,t.originY)}function Wo(e,t){return Fo(Rf(e.getBoundingClientRect(),t))}function Of(e,t,n){const i=Wo(e,n),{scroll:r}=t;return r&&(ut(i.x,r.offset.x),ut(i.y,r.offset.y)),i}const ko=({current:e})=>e?e.ownerDocument.defaultView:null,Lf=new WeakMap;class Xf{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=U(),this.visualElement=t}start(t,{snapToCursor:n=!1}={}){const{presenceContext:i}=this.visualElement;if(i&&i.isPresent===!1)return;const r=c=>{const{dragSnapToOrigin:d}=this.getProps();d?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(wt(c).point)},s=(c,d)=>{const{drag:f,dragPropagation:h,onDragStart:g}=this.getProps();if(f&&!h&&(this.openDragLock&&this.openDragLock(),this.openDragLock=Bc(f),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),be(p=>{let b=this.getAxisMotionValue(p).get()||0;if(Pe.test(b)){const{projection:C}=this.visualElement;if(C&&C.layout){const I=C.layout.layoutBox[p];I&&(b=he(I)*(parseFloat(b)/100))}}this.originPoint[p]=b}),g&&W.postRender(()=>g(c,d)),vi(this.visualElement,"transform");const{animationState:m}=this.visualElement;m&&m.setActive("whileDrag",!0)},o=(c,d)=>{const{dragPropagation:f,dragDirectionLock:h,onDirectionLock:g,onDrag:m}=this.getProps();if(!f&&!this.openDragLock)return;const{offset:p}=d;if(h&&this.currentDirection===null){this.currentDirection=Wf(p),this.currentDirection!==null&&g&&g(this.currentDirection);return}this.updateAxis("x",d.point,p),this.updateAxis("y",d.point,p),this.visualElement.render(),m&&m(c,d)},u=(c,d)=>this.stop(c,d),a=()=>be(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 vo(t,{onSessionStart:r,onStart:s,onMove:o,onSessionEnd:u,resumeAnimation:a},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:l,contextWindow:ko(this.visualElement)})}stop(t,n){const i=this.isDragging;if(this.cancel(),!i)return;const{velocity:r}=n;this.startAnimation(r);const{onDragEnd:s}=this.getProps();s&&W.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:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,i){const{drag:r}=this.getProps();if(!i||!hn(t,r,this.currentDirection))return;const s=this.getAxisMotionValue(t);let o=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(o=Vf(o,this.constraints[t],this.elastic[t])),s.set(o)}resolveConstraints(){var t;const{dragConstraints:n,dragElastic:i}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)===null||t===void 0?void 0:t.layout,s=this.constraints;n&&nt(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&r?this.constraints=wf(r.layoutBox,n):this.constraints=!1,this.elastic=Mf(i),s!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&be(o=>{this.constraints!==!1&&this.getAxisMotionValue(o)&&(this.constraints[o]=Ff(r.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!nt(t))return!1;const i=t.current;We(i!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:r}=this.visualElement;if(!r||!r.layout)return!1;const s=Of(i,r.root,this.visualElement.getTransformPagePoint());let o=Gf(r.layout.layoutBox,s);if(n){const u=n(Df(o));this.hasMutatedConstraints=!!u,u&&(o=Fo(u))}return o}startAnimation(t){const{drag:n,dragMomentum:i,dragElastic:r,dragTransition:s,dragSnapToOrigin:o,onDragTransitionEnd:u}=this.getProps(),a=this.constraints||{},l=be(c=>{if(!hn(c,n,this.currentDirection))return;let d=a&&a[c]||{};o&&(d={min:0,max:0});const f=r?200:1e6,h=r?40:1e7,g={type:"inertia",velocity:i?t[c]:0,bounceStiffness:f,bounceDamping:h,timeConstant:750,restDelta:1,restSpeed:10,...s,...d};return this.startAxisValueAnimation(c,g)});return Promise.all(l).then(u)}startAxisValueAnimation(t,n){const i=this.getAxisMotionValue(t);return vi(this.visualElement,t),i.start(Oi(t,i,0,n,this.visualElement,!1))}stopAnimation(){be(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){be(t=>{var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.pause()})}getAnimationState(t){var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.state}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,i=this.visualElement.getProps(),r=i[n];return r||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){be(n=>{const{drag:i}=this.getProps();if(!hn(n,i,this.currentDirection))return;const{projection:r}=this.visualElement,s=this.getAxisMotionValue(n);if(r&&r.layout){const{min:o,max:u}=r.layout.layoutBox[n];s.set(t[n]-z(o,u,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:i}=this.visualElement;if(!nt(n)||!i||!this.constraints)return;this.stopAnimation();const r={x:0,y:0};be(o=>{const u=this.getAxisMotionValue(o);if(u&&this.constraints!==!1){const a=u.get();r[o]=Bf({min:a,max:a},this.constraints[o])}});const{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),be(o=>{if(!hn(o,t,null))return;const u=this.getAxisMotionValue(o),{min:a,max:l}=this.constraints[o];u.set(z(a,l,r[o]))})}addListeners(){if(!this.visualElement.current)return;Lf.set(this.visualElement,this);const t=this.visualElement.current,n=Gt(t,"pointerdown",a=>{const{drag:l,dragListener:c=!0}=this.getProps();l&&c&&this.start(a)}),i=()=>{const{dragConstraints:a}=this.getProps();nt(a)&&a.current&&(this.constraints=this.resolveRefConstraints())},{projection:r}=this.visualElement,s=r.addEventListener("measure",i);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),W.read(i);const o=Vt(window,"resize",()=>this.scalePositionWithinConstraints()),u=r.addEventListener("didUpdate",(({delta:a,hasLayoutChanged:l})=>{this.isDragging&&l&&(be(c=>{const d=this.getAxisMotionValue(c);d&&(this.originPoint[c]+=a[c].translate,d.set(d.get()+a[c].translate))}),this.visualElement.render())}));return()=>{o(),n(),s(),u&&u()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:i=!1,dragPropagation:r=!1,dragConstraints:s=!1,dragElastic:o=ki,dragMomentum:u=!0}=t;return{...t,drag:n,dragDirectionLock:i,dragPropagation:r,dragConstraints:s,dragElastic:o,dragMomentum:u}}}function hn(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function Wf(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class kf extends He{constructor(t){super(t),this.removeGroupControls=ue,this.removeListeners=ue,this.controls=new Xf(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||ue}unmount(){this.removeGroupControls(),this.removeListeners()}}const Zo=e=>(t,n)=>{e&&W.postRender(()=>e(t,n))};class Zf extends He{constructor(){super(...arguments),this.removePointerDownListener=ue}onPointerDown(t){this.session=new vo(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:ko(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:i,onPanEnd:r}=this.node.getProps();return{onSessionStart:Zo(t),onStart:Zo(n),onMove:i,onEnd:(s,o)=>{delete this.session,r&&W.postRender(()=>r(s,o))}}}mount(){this.removePointerDownListener=Gt(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const pn={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function zo(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Mt={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(G.test(e))e=parseFloat(e);else return e;const n=zo(e,t.target.x),i=zo(e,t.target.y);return`${n}% ${i}%`}},zf={correct:(e,{treeScale:t,projectionDelta:n})=>{const i=e,r=ze.parse(e);if(r.length>5)return i;const s=ze.createTransformer(e),o=typeof r[0]!="number"?1:0,u=n.x.scale*t.x,a=n.y.scale*t.y;r[0+o]/=u,r[1+o]/=a;const l=z(u,a,.5);return typeof r[2+o]=="number"&&(r[2+o]/=l),typeof r[3+o]=="number"&&(r[3+o]/=l),s(r)}};class Hf extends y.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:i,layoutId:r}=this.props,{projection:s}=t;cc(Yf),s&&(n.group&&n.group.add(s),i&&i.register&&r&&i.register(s),s.root.didUpdate(),s.addEventListener("animationComplete",()=>{this.safeToRemove()}),s.setOptions({...s.options,onExitComplete:()=>this.safeToRemove()})),pn.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:i,drag:r,isPresent:s}=this.props,o=i.projection;return o&&(o.isPresent=s,r||t.layoutDependency!==n||n===void 0?o.willUpdate():this.safeToRemove(),t.isPresent!==s&&(s?o.promote():o.relegate()||W.postRender(()=>{const u=o.getStack();(!u||!u.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),Qn.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:i}=this.props,{projection:r}=t;r&&(r.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(r),i&&i.deregister&&i.deregister(r))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function Ho(e){const[t,n]=Dr(),i=y.useContext(Zn);return A.jsx(Hf,{...e,layoutGroup:i,switchLayoutGroup:y.useContext(Yr),isPresent:t,safeToRemove:n})}const Yf={borderRadius:{...Mt,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Mt,borderTopRightRadius:Mt,borderBottomLeftRadius:Mt,borderBottomRightRadius:Mt,boxShadow:zf};function jf(e,t,n){const i=ie(e)?e:At(e);return i.start(Oi("",i,t,n)),i.animation}function Jf(e){return e instanceof SVGElement&&e.tagName!=="svg"}const Uf=(e,t)=>e.depth-t.depth;class _f{constructor(){this.children=[],this.isDirty=!1}add(t){mi(this.children,t),this.isDirty=!0}remove(t){gi(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(Uf),this.isDirty=!1,this.children.forEach(t)}}function $f(e,t){const n=Te.now(),i=({timestamp:r})=>{const s=r-n;s>=t&&(ke(i),e(s-t))};return W.read(i,!0),()=>ke(i)}const Yo=["TopLeft","TopRight","BottomLeft","BottomRight"],Qf=Yo.length,jo=e=>typeof e=="string"?parseFloat(e):e,Jo=e=>typeof e=="number"||G.test(e);function Kf(e,t,n,i,r,s){r?(e.opacity=z(0,n.opacity!==void 0?n.opacity:1,qf(i)),e.opacityExit=z(t.opacity!==void 0?t.opacity:1,0,eh(i))):s&&(e.opacity=z(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,i));for(let o=0;o<Qf;o++){const u=`border${Yo[o]}Radius`;let a=Uo(t,u),l=Uo(n,u);if(a===void 0&&l===void 0)continue;a||(a=0),l||(l=0),a===0||l===0||Jo(a)===Jo(l)?(e[u]=Math.max(z(jo(a),jo(l),i),0),(Pe.test(l)||Pe.test(a))&&(e[u]+="%")):e[u]=l}(t.rotate||n.rotate)&&(e.rotate=z(t.rotate||0,n.rotate||0,i))}function Uo(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const qf=_o(0,.5,Bs),eh=_o(.5,.95,ue);function _o(e,t,n){return i=>i<e?0:i>t?1:n(et(e,t,i))}function $o(e,t){e.min=t.min,e.max=t.max}function ve(e,t){$o(e.x,t.x),$o(e.y,t.y)}function Qo(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function Ko(e,t,n,i,r){return e-=t,e=fn(e,1/n,i),r!==void 0&&(e=fn(e,1/r,i)),e}function th(e,t=0,n=1,i=.5,r,s=e,o=e){if(Pe.test(t)&&(t=parseFloat(t),t=z(o.min,o.max,t/100)-o.min),typeof t!="number")return;let u=z(s.min,s.max,i);e===s&&(u-=t),e.min=Ko(e.min,t,n,u,r),e.max=Ko(e.max,t,n,u,r)}function qo(e,t,[n,i,r],s,o){th(e,t[n],t[i],t[r],t.scale,s,o)}const nh=["x","scaleX","originX"],ih=["y","scaleY","originY"];function ea(e,t,n,i){qo(e.x,t,nh,n?n.x:void 0,i?i.x:void 0),qo(e.y,t,ih,n?n.y:void 0,i?i.y:void 0)}function ta(e){return e.translate===0&&e.scale===1}function na(e){return ta(e.x)&&ta(e.y)}function ia(e,t){return e.min===t.min&&e.max===t.max}function rh(e,t){return ia(e.x,t.x)&&ia(e.y,t.y)}function ra(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function sa(e,t){return ra(e.x,t.x)&&ra(e.y,t.y)}function oa(e){return he(e.x)/he(e.y)}function aa(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class sh{constructor(){this.members=[]}add(t){mi(this.members,t),t.scheduleRender()}remove(t){if(gi(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(r=>t===r);if(n===0)return!1;let i;for(let r=n;r>=0;r--){const s=this.members[r];if(s.isPresent!==!1){i=s;break}}return i?(this.promote(i),!0):!1}promote(t,n){const i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,n&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:r}=t.options;r===!1&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:i}=t;n.onExitComplete&&n.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function oh(e,t,n){let i="";const r=e.x.translate/t.x,s=e.y.translate/t.y,o=(n==null?void 0:n.z)||0;if((r||s||o)&&(i=`translate3d(${r}px, ${s}px, ${o}px) `),(t.x!==1||t.y!==1)&&(i+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:l,rotate:c,rotateX:d,rotateY:f,skewX:h,skewY:g}=n;l&&(i=`perspective(${l}px) ${i}`),c&&(i+=`rotate(${c}deg) `),d&&(i+=`rotateX(${d}deg) `),f&&(i+=`rotateY(${f}deg) `),h&&(i+=`skewX(${h}deg) `),g&&(i+=`skewY(${g}deg) `)}const u=e.x.scale*t.x,a=e.y.scale*t.y;return(u!==1||a!==1)&&(i+=`scale(${u}, ${a})`),i||"none"}const $e={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},Dt=typeof window<"u"&&window.MotionDebug!==void 0,Yi=["","X","Y","Z"],ah={visibility:"hidden"},ua=1e3;let uh=0;function ji(e,t,n,i){const{latestValues:r}=t;r[e]&&(n[e]=r[e],t.setStaticValue(e,0),i&&(i[e]=0))}function la(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=Ss(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:r,layoutId:s}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",W,!(r||s))}const{parent:i}=e;i&&!i.hasCheckedOptimisedAppear&&la(i)}function ca({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:i,resetTransform:r}){return class{constructor(o={},u=t==null?void 0:t()){this.id=uh++,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,Dt&&($e.totalNodes=$e.resolvedTargetDeltas=$e.recalculatedProjection=0),this.nodes.forEach(dh),this.nodes.forEach(gh),this.nodes.forEach(bh),this.nodes.forEach(fh),Dt&&window.MotionDebug.record($e)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=o,this.root=u?u.root||u:this,this.path=u?[...u.path,u]:[],this.parent=u,this.depth=u?u.depth+1:0;for(let a=0;a<this.path.length;a++)this.path[a].shouldResetTransform=!0;this.root===this&&(this.nodes=new _f)}addEventListener(o,u){return this.eventHandlers.has(o)||this.eventHandlers.set(o,new bi),this.eventHandlers.get(o).add(u)}notifyListeners(o,...u){const a=this.eventHandlers.get(o);a&&a.notify(...u)}hasListeners(o){return this.eventHandlers.has(o)}mount(o,u=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=Jf(o),this.instance=o;const{layoutId:a,layout:l,visualElement:c}=this.options;if(c&&!c.current&&c.mount(o),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),u&&(l||a)&&(this.isLayoutDirty=!0),e){let d;const f=()=>this.root.updateBlockedByResize=!1;e(o,()=>{this.root.updateBlockedByResize=!0,d&&d(),d=$f(f,250),pn.hasAnimatedSinceResize&&(pn.hasAnimatedSinceResize=!1,this.nodes.forEach(fa))})}a&&this.root.registerSharedNode(a,this),this.options.animate!==!1&&c&&(a||l)&&this.addEventListener("didUpdate",({delta:d,hasLayoutChanged:f,hasRelativeTargetChanged:h,layout:g})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const m=this.options.transition||c.getDefaultTransition()||xh,{onLayoutAnimationStart:p,onLayoutAnimationComplete:b}=c.getProps(),C=!this.targetLayout||!sa(this.targetLayout,g)||h,I=!f&&h;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||I||f&&(C||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(d,I);const x={...ui(m,"layout"),onPlay:p,onComplete:b};(c.shouldReduceMotion||this.options.layoutRoot)&&(x.delay=0,x.type=!1),this.startAnimation(x)}else f||fa(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=g})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const o=this.getStack();o&&o.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,ke(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(vh),this.animationId++)}getTransformTemplate(){const{visualElement:o}=this.options;return o&&o.getProps().transformTemplate}willUpdate(o=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&la(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let c=0;c<this.path.length;c++){const d=this.path[c];d.shouldResetTransform=!0,d.updateScroll("snapshot"),d.options.layoutRoot&&d.willUpdate(!1)}const{layoutId:u,layout:a}=this.options;if(u===void 0&&!a)return;const l=this.getTransformTemplate();this.prevTransformTemplateValue=l?l(this.latestValues,""):void 0,this.updateSnapshot(),o&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(da);return}this.isUpdating||this.nodes.forEach(ph),this.isUpdating=!1,this.nodes.forEach(mh),this.nodes.forEach(lh),this.nodes.forEach(ch),this.clearAllSnapshots();const u=Te.now();q.delta=Re(0,1e3/60,u-q.timestamp),q.timestamp=u,q.isProcessing=!0,Jn.update.process(q),Jn.preRender.process(q),Jn.render.process(q),q.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Qn.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(hh),this.sharedNodes.forEach(yh)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,W.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){W.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let a=0;a<this.path.length;a++)this.path[a].updateScroll();const o=this.layout;this.layout=this.measure(!1),this.layoutCorrected=U(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:u}=this.options;u&&u.notify("LayoutMeasure",this.layout.layoutBox,o?o.layoutBox:void 0)}updateScroll(o="measure"){let u=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===o&&(u=!1),u){const a=i(this.instance);this.scroll={animationId:this.root.animationId,phase:o,isRoot:a,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:a}}}resetTransform(){if(!r)return;const o=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,u=this.projectionDelta&&!na(this.projectionDelta),a=this.getTransformTemplate(),l=a?a(this.latestValues,""):void 0,c=l!==this.prevTransformTemplateValue;o&&(u||_e(this.latestValues)||c)&&(r(this.instance,l),this.shouldResetTransform=!1,this.scheduleRender())}measure(o=!0){const u=this.measurePageBox();let a=this.removeElementScroll(u);return o&&(a=this.removeTransform(a)),Ah(a),{animationId:this.root.animationId,measuredBox:u,layoutBox:a,latestValues:{},source:this.id}}measurePageBox(){var o;const{visualElement:u}=this.options;if(!u)return U();const a=u.measureViewportBox();if(!(((o=this.scroll)===null||o===void 0?void 0:o.wasRoot)||this.path.some(Sh))){const{scroll:c}=this.root;c&&(ut(a.x,c.offset.x),ut(a.y,c.offset.y))}return a}removeElementScroll(o){var u;const a=U();if(ve(a,o),!((u=this.scroll)===null||u===void 0)&&u.wasRoot)return a;for(let l=0;l<this.path.length;l++){const c=this.path[l],{scroll:d,options:f}=c;c!==this.root&&d&&f.layoutScroll&&(d.wasRoot&&ve(a,o),ut(a.x,d.offset.x),ut(a.y,d.offset.y))}return a}applyTransform(o,u=!1){const a=U();ve(a,o);for(let l=0;l<this.path.length;l++){const c=this.path[l];!u&&c.options.layoutScroll&&c.scroll&&c!==c.root&<(a,{x:-c.scroll.offset.x,y:-c.scroll.offset.y}),_e(c.latestValues)&<(a,c.latestValues)}return _e(this.latestValues)&<(a,this.latestValues),a}removeTransform(o){const u=U();ve(u,o);for(let a=0;a<this.path.length;a++){const l=this.path[a];if(!l.instance||!_e(l.latestValues))continue;zi(l.latestValues)&&l.updateSnapshot();const c=U(),d=l.measurePageBox();ve(c,d),ea(u,l.latestValues,l.snapshot?l.snapshot.layoutBox:void 0,c)}return _e(this.latestValues)&&ea(u,this.latestValues),u}setTargetDelta(o){this.targetDelta=o,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(o){this.options={...this.options,...o,crossfade:o.crossfade!==void 0?o.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==q.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(o=!1){var u;const a=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=a.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=a.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=a.isSharedProjectionDirty);const l=!!this.resumingFrom||this!==a;if(!(o||l&&this.isSharedProjectionDirty||this.isProjectionDirty||!((u=this.parent)===null||u===void 0)&&u.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:d,layoutId:f}=this.options;if(!(!this.layout||!(d||f))){if(this.resolvedRelativeTargetAt=q.timestamp,!this.targetDelta&&!this.relativeTarget){const h=this.getClosestProjectingParent();h&&h.layout&&this.animationProgress!==1?(this.relativeParent=h,this.forceRelativeParentToResolveTarget(),this.relativeTarget=U(),this.relativeTargetOrigin=U(),Ft(this.relativeTargetOrigin,this.layout.layoutBox,h.layout.layoutBox),ve(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=U(),this.targetWithTransforms=U()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),Tf(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):ve(this.target,this.layout.layoutBox),No(this.target,this.targetDelta)):ve(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const h=this.getClosestProjectingParent();h&&!!h.resumingFrom==!!this.resumingFrom&&!h.options.layoutScroll&&h.target&&this.animationProgress!==1?(this.relativeParent=h,this.forceRelativeParentToResolveTarget(),this.relativeTarget=U(),this.relativeTargetOrigin=U(),Ft(this.relativeTargetOrigin,this.target,h.target),ve(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}Dt&&$e.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||zi(this.parent.latestValues)||Mo(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var o;const u=this.getLead(),a=!!this.resumingFrom||this!==u;let l=!0;if((this.isProjectionDirty||!((o=this.parent)===null||o===void 0)&&o.isProjectionDirty)&&(l=!1),a&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(l=!1),this.resolvedRelativeTargetAt===q.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;ve(this.layoutCorrected,this.layout.layoutBox);const f=this.treeScale.x,h=this.treeScale.y;Nf(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=U());const{target:g}=u;if(!g){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Qo(this.prevProjectionDelta.x,this.projectionDelta.x),Qo(this.prevProjectionDelta.y,this.projectionDelta.y)),Bt(this.projectionDelta,this.layoutCorrected,g,this.latestValues),(this.treeScale.x!==f||this.treeScale.y!==h||!aa(this.projectionDelta.x,this.prevProjectionDelta.x)||!aa(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",g)),Dt&&$e.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(o=!0){var u;if((u=this.options.visualElement)===null||u===void 0||u.scheduleRender(),o){const a=this.getStack();a&&a.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=at(),this.projectionDelta=at(),this.projectionDeltaWithTransform=at()}setAnimationOrigin(o,u=!1){const a=this.snapshot,l=a?a.latestValues:{},c={...this.latestValues},d=at();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!u;const f=U(),h=a?a.source:void 0,g=this.layout?this.layout.source:void 0,m=h!==g,p=this.getStack(),b=!p||p.members.length<=1,C=!!(m&&!b&&this.options.crossfade===!0&&!this.path.some(Ch));this.animationProgress=0;let I;this.mixTargetDelta=x=>{const v=x/1e3;ha(d.x,o.x,v),ha(d.y,o.y,v),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Ft(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Ih(this.relativeTarget,this.relativeTargetOrigin,f,v),I&&rh(this.relativeTarget,I)&&(this.isProjectionDirty=!1),I||(I=U()),ve(I,this.relativeTarget)),m&&(this.animationValues=c,Kf(c,l,this.latestValues,v,C,b)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=v},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(o){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(ke(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=W.update(()=>{pn.hasAnimatedSinceResize=!0,this.currentAnimation=jf(0,ua,{...o,onUpdate:u=>{this.mixTargetDelta(u),o.onUpdate&&o.onUpdate(u)},onComplete:()=>{o.onComplete&&o.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const o=this.getStack();o&&o.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(ua),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const o=this.getLead();let{targetWithTransforms:u,target:a,layout:l,latestValues:c}=o;if(!(!u||!a||!l)){if(this!==o&&this.layout&&l&&va(this.options.animationType,this.layout.layoutBox,l.layoutBox)){a=this.target||U();const d=he(this.layout.layoutBox.x);a.x.min=o.target.x.min,a.x.max=a.x.min+d;const f=he(this.layout.layoutBox.y);a.y.min=o.target.y.min,a.y.max=a.y.min+f}ve(u,a),lt(u,c),Bt(this.projectionDeltaWithTransform,this.layoutCorrected,u,c)}}registerSharedNode(o,u){this.sharedNodes.has(o)||this.sharedNodes.set(o,new sh),this.sharedNodes.get(o).add(u);const l=u.options.initialPromotionConfig;u.promote({transition:l?l.transition:void 0,preserveFollowOpacity:l&&l.shouldPreserveFollowOpacity?l.shouldPreserveFollowOpacity(u):void 0})}isLead(){const o=this.getStack();return o?o.lead===this:!0}getLead(){var o;const{layoutId:u}=this.options;return u?((o=this.getStack())===null||o===void 0?void 0:o.lead)||this:this}getPrevLead(){var o;const{layoutId:u}=this.options;return u?(o=this.getStack())===null||o===void 0?void 0:o.prevLead:void 0}getStack(){const{layoutId:o}=this.options;if(o)return this.root.sharedNodes.get(o)}promote({needsReset:o,transition:u,preserveFollowOpacity:a}={}){const l=this.getStack();l&&l.promote(this,a),o&&(this.projectionDelta=void 0,this.needsReset=!0),u&&this.setOptions({transition:u})}relegate(){const o=this.getStack();return o?o.relegate(this):!1}resetSkewAndRotation(){const{visualElement:o}=this.options;if(!o)return;let u=!1;const{latestValues:a}=o;if((a.z||a.rotate||a.rotateX||a.rotateY||a.rotateZ||a.skewX||a.skewY)&&(u=!0),!u)return;const l={};a.z&&ji("z",o,l,this.animationValues);for(let c=0;c<Yi.length;c++)ji(`rotate${Yi[c]}`,o,l,this.animationValues),ji(`skew${Yi[c]}`,o,l,this.animationValues);o.render();for(const c in l)o.setStaticValue(c,l[c]),this.animationValues&&(this.animationValues[c]=l[c]);o.scheduleRender()}getProjectionStyles(o){var u,a;if(!this.instance||this.isSVG)return;if(!this.isVisible)return ah;const l={visibility:""},c=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,l.opacity="",l.pointerEvents=tn(o==null?void 0:o.pointerEvents)||"",l.transform=c?c(this.latestValues,""):"none",l;const d=this.getLead();if(!this.projectionDelta||!this.layout||!d.target){const m={};return this.options.layoutId&&(m.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,m.pointerEvents=tn(o==null?void 0:o.pointerEvents)||""),this.hasProjected&&!_e(this.latestValues)&&(m.transform=c?c({},""):"none",this.hasProjected=!1),m}const f=d.animationValues||d.latestValues;this.applyTransformsToTarget(),l.transform=oh(this.projectionDeltaWithTransform,this.treeScale,f),c&&(l.transform=c(f,l.transform));const{x:h,y:g}=this.projectionDelta;l.transformOrigin=`${h.origin*100}% ${g.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 m in rn){if(f[m]===void 0)continue;const{correct:p,applyTo:b}=rn[m],C=l.transform==="none"?f[m]:p(f[m],d);if(b){const I=b.length;for(let x=0;x<I;x++)l[b[x]]=C}else l[m]=C}return this.options.layoutId&&(l.pointerEvents=d===this?tn(o==null?void 0:o.pointerEvents)||"":"none"),l}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(o=>{var u;return(u=o.currentAnimation)===null||u===void 0?void 0:u.stop()}),this.root.nodes.forEach(da),this.root.sharedNodes.clear()}}}function lh(e){e.updateLayout()}function ch(e){var t;const n=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:i,measuredBox:r}=e.layout,{animationType:s}=e.options,o=n.source!==e.layout.source;s==="size"?be(d=>{const f=o?n.measuredBox[d]:n.layoutBox[d],h=he(f);f.min=i[d].min,f.max=f.min+h}):va(s,n.layoutBox,i)&&be(d=>{const f=o?n.measuredBox[d]:n.layoutBox[d],h=he(i[d]);f.max=f.min+h,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[d].max=e.relativeTarget[d].min+h)});const u=at();Bt(u,i,n.layoutBox);const a=at();o?Bt(a,e.applyTransform(r,!0),n.measuredBox):Bt(a,i,n.layoutBox);const l=!na(u);let c=!1;if(!e.resumeFrom){const d=e.getClosestProjectingParent();if(d&&!d.resumeFrom){const{snapshot:f,layout:h}=d;if(f&&h){const g=U();Ft(g,n.layoutBox,f.layoutBox);const m=U();Ft(m,i,h.layoutBox),sa(g,m)||(c=!0),d.options.layoutRoot&&(e.relativeTarget=m,e.relativeTargetOrigin=g,e.relativeParent=d)}}}e.notifyListeners("didUpdate",{layout:i,snapshot:n,delta:a,layoutDelta:u,hasLayoutChanged:l,hasRelativeTargetChanged:c})}else if(e.isLead()){const{onExitComplete:i}=e.options;i&&i()}e.options.transition=void 0}function dh(e){Dt&&$e.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function fh(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function hh(e){e.clearSnapshot()}function da(e){e.clearMeasurements()}function ph(e){e.isLayoutDirty=!1}function mh(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function fa(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function gh(e){e.resolveTargetDelta()}function bh(e){e.calcProjection()}function vh(e){e.resetSkewAndRotation()}function yh(e){e.removeLeadSnapshot()}function ha(e,t,n){e.translate=z(t.translate,0,n),e.scale=z(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function pa(e,t,n,i){e.min=z(t.min,n.min,i),e.max=z(t.max,n.max,i)}function Ih(e,t,n,i){pa(e.x,t.x,n.x,i),pa(e.y,t.y,n.y,i)}function Ch(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const xh={duration:.45,ease:[.4,0,.1,1]},ma=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),ga=ma("applewebkit/")&&!ma("chrome/")?Math.round:ue;function ba(e){e.min=ga(e.min),e.max=ga(e.max)}function Ah(e){ba(e.x),ba(e.y)}function va(e,t,n){return e==="position"||e==="preserve-aspect"&&!Pf(oa(t),oa(n),.2)}function Sh(e){var t;return e!==e.root&&((t=e.scroll)===null||t===void 0?void 0:t.wasRoot)}const Eh=ca({attachResizeListener:(e,t)=>Vt(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Ji={current:void 0},ya=ca({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Ji.current){const e=new Eh({});e.mount(window),e.setOptions({layoutScroll:!0}),Ji.current=e}return Ji.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),Ph={pan:{Feature:Zf},drag:{Feature:kf,ProjectionNode:ya,MeasureLayout:Ho}};function Ia(e,t,n){const{props:i}=e;e.animationState&&i.whileHover&&e.animationState.setActive("whileHover",n==="Start");const r="onHover"+n,s=i[r];s&&W.postRender(()=>s(t,wt(t)))}class Th extends He{mount(){const{current:t}=this.node;t&&(this.unmount=Pc(t,n=>(Ia(this.node,n,"Start"),i=>Ia(this.node,i,"End"))))}unmount(){}}class Vh extends He{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Tt(Vt(this.node.current,"focus",()=>this.onFocus()),Vt(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function Ca(e,t,n){const{props:i}=e;e.animationState&&i.whileTap&&e.animationState.setActive("whileTap",n==="Start");const r="onTap"+(n==="End"?"":n),s=i[r];s&&W.postRender(()=>s(t,wt(t)))}class wh extends He{mount(){const{current:t}=this.node;t&&(this.unmount=Gc(t,n=>(Ca(this.node,n,"Start"),(i,{success:r})=>Ca(this.node,i,r?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const Ui=new WeakMap,_i=new WeakMap,Gh=e=>{const t=Ui.get(e.target);t&&t(e)},Bh=e=>{e.forEach(Gh)};function Fh({root:e,...t}){const n=e||document;_i.has(n)||_i.set(n,{});const i=_i.get(n),r=JSON.stringify(t);return i[r]||(i[r]=new IntersectionObserver(Bh,{root:e,...t})),i[r]}function Mh(e,t,n){const i=Fh(t);return Ui.set(e,n),i.observe(e),()=>{Ui.delete(e),i.unobserve(e)}}const Dh={some:0,all:1};class Rh extends He{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:i,amount:r="some",once:s}=t,o={root:n?n.current:void 0,rootMargin:i,threshold:typeof r=="number"?r:Dh[r]},u=a=>{const{isIntersecting:l}=a;if(this.isInView===l||(this.isInView=l,s&&!l&&this.hasEnteredView))return;l&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",l);const{onViewportEnter:c,onViewportLeave:d}=this.node.getProps(),f=l?c:d;f&&f(a)};return Mh(this.node.current,o,u)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(Nh(t,n))&&this.startObserver()}unmount(){}}function Nh({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const Oh={inView:{Feature:Rh},tap:{Feature:wh},focus:{Feature:Vh},hover:{Feature:Th}},Lh={layout:{ProjectionNode:ya,MeasureLayout:Ho}},$i={current:null},xa={current:!1};function Xh(){if(xa.current=!0,!!Hn)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>$i.current=e.matches;e.addListener(t),t()}else $i.current=!1}const Wh=[..._s,re,ze],kh=e=>Wh.find(Us(e)),Aa=new WeakMap;function Zh(e,t,n){for(const i in t){const r=t[i],s=n[i];if(ie(r))e.addValue(i,r),process.env.NODE_ENV==="development"&&Qt(r.version==="11.18.2",`Attempting to mix Motion versions ${r.version} with 11.18.2 may not work as expected.`);else if(ie(s))e.addValue(i,At(r,{owner:e}));else if(s!==r)if(e.hasValue(i)){const o=e.getValue(i);o.liveStyle===!0?o.jump(r):o.hasAnimated||o.set(r)}else{const o=e.getStaticValue(i);e.addValue(i,At(o!==void 0?o:r,{owner:e}))}}for(const i in n)t[i]===void 0&&e.removeValue(i);return t}const Sa=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class zh{scrapeMotionValuesFromProps(t,n,i){return{}}constructor({parent:t,props:n,presenceContext:i,reducedMotionConfig:r,blockInitialAnimation:s,visualState:o},u={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=wi,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const h=Te.now();this.renderScheduledAt<h&&(this.renderScheduledAt=h,W.render(this.render,!1,!0))};const{latestValues:a,renderState:l,onUpdate:c}=o;this.onUpdate=c,this.latestValues=a,this.baseTarget={...a},this.initialValues=n.initial?{...a}:{},this.renderState=l,this.parent=t,this.props=n,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=r,this.options=u,this.blockInitialAnimation=!!s,this.isControllingVariants=en(n),this.isVariantNode=Zr(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:d,...f}=this.scrapeMotionValuesFromProps(n,{},this);for(const h in f){const g=f[h];a[h]!==void 0&&ie(g)&&g.set(a[h],!1)}}mount(t){this.current=t,Aa.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,i)=>this.bindToMotionValue(i,n)),xa.current||Xh(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:$i.current,process.env.NODE_ENV!=="production"&&Qt(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(){Aa.delete(this.current),this.projection&&this.projection.unmount(),ke(this.notifyUpdate),ke(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),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){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const i=Ye.has(t),r=n.on("change",u=>{this.latestValues[t]=u,this.props.onUpdate&&W.preRender(this.notifyUpdate),i&&this.projection&&(this.projection.isTransformDirty=!0)}),s=n.on("renderRequest",this.scheduleRender);let o;window.MotionCheckAppearSync&&(o=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{r(),s(),o&&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 tt){const n=tt[t];if(!n)continue;const{isEnabled:i,Feature:r}=n;if(!this.features[t]&&r&&i(this.props)&&(this.features[t]=new r(this)),this.features[t]){const s=this.features[t];s.isMounted?s.update():(s.mount(),s.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):U()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let i=0;i<Sa.length;i++){const r=Sa[i];this.propEventSubscriptions[r]&&(this.propEventSubscriptions[r](),delete this.propEventSubscriptions[r]);const s="on"+r,o=t[s];o&&(this.propEventSubscriptions[r]=this.on(r,o))}this.prevMotionValues=Zh(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}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}addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){const i=this.values.get(t);n!==i&&(i&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return i===void 0&&n!==void 0&&(i=At(n===null?void 0:n,{owner:this}),this.addValue(t,i)),i}readValue(t,n){var i;let r=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(i=this.getBaseTargetFromProps(this.props,t))!==null&&i!==void 0?i:this.readValueFromInstance(this.current,t,this.options);return r!=null&&(typeof r=="string"&&(js(r)||Ms(r))?r=parseFloat(r):!kh(r)&&ze.test(n)&&(r=Ws(t,n)),this.setBaseTarget(t,ie(r)?r.get():r)),ie(r)?r.get():r}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var n;const{initial:i}=this.props;let r;if(typeof i=="string"||typeof i=="object"){const o=qn(this.props,i,(n=this.presenceContext)===null||n===void 0?void 0:n.custom);o&&(r=o[t])}if(i&&r!==void 0)return r;const s=this.getBaseTargetFromProps(this.props,t);return s!==void 0&&!ie(s)?s:this.initialValues[t]!==void 0&&r===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new bi),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class Ea extends zh{constructor(){super(...arguments),this.KeyframeResolver=Qs}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:i}){delete n[t],delete i[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;ie(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function Hh(e){return window.getComputedStyle(e)}class Yh extends Ea{constructor(){super(...arguments),this.type="html",this.renderInstance=ns}readValueFromInstance(t,n){if(Ye.has(n)){const i=Pi(n);return i&&i.default||0}else{const i=Hh(t),r=($r(n)?i.getPropertyValue(n):i[n])||0;return typeof r=="string"?r.trim():r}}measureInstanceViewportBox(t,{transformPagePoint:n}){return Wo(t,n)}build(t,n,i){ii(t,n,i.transformTemplate)}scrapeMotionValuesFromProps(t,n,i){return ai(t,n,i)}}class jh extends Ea{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=U}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(Ye.has(n)){const i=Pi(n);return i&&i.default||0}return n=is.has(n)?n:$n(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,i){return os(t,n,i)}build(t,n,i){ri(t,n,this.isSVGTag,i.transformTemplate)}renderInstance(t,n,i,r){rs(t,n,i,r)}mount(t){this.isSVGTag=oi(t.tagName),super.mount(t)}}const Jh=(e,t)=>Kn(e)?new jh(t):new Yh(t,{allowProjection:e!==y.Fragment}),Uh=yc({...bf,...Oh,...Ph,...Lh},Jh),Rt=Rl(Uh);class _h{constructor(){this.componentControls=new Set}subscribe(t){return this.componentControls.add(t),()=>this.componentControls.delete(t)}start(t,n){this.componentControls.forEach(i=>{i.start(t.nativeEvent||t,n)})}}const $h=()=>new _h;function Qh(){return jt($h)}const Kh=e=>{let t=A.jsx(A.Fragment,{});switch(e){case"success":t=A.jsx(ll,{});break;case"info":t=A.jsx(dl,{});break;case"warning":t=A.jsx(fl,{});break;case"error":t=A.jsx(cl,{});break}return{icon:t}},qh=e=>{const{id:t,ids:n=[t],type:i,title:r,count:s=1,config:o={}}=e,{icon:u}=Kh(i),a=o.duration??5e3,l=o.dismissible??!0,c=o.copyable??!0,d=Vr(),[f,h]=y.useState(!1),g=y.useRef(null),m=y.useRef(a),p=y.useRef(0),b=y.useRef(null),C=n.join("|"),I=y.useCallback(()=>{C.split("|").forEach(d.removeToast)},[C,d.removeToast]),x=y.useCallback(()=>{g.current&&(clearTimeout(g.current),g.current=null)},[]),v=y.useCallback(()=>{a<=0||m.current<=0||g.current||(p.current=Date.now(),g.current=setTimeout(I,m.current))},[I,a]);y.useEffect(()=>(m.current=a,v(),()=>{x(),b.current&&clearTimeout(b.current)}),[x,v,a]);const S=()=>{g.current&&(m.current=Math.max(0,m.current-(Date.now()-p.current)),x())},E=async()=>{var P;try{if((P=navigator.clipboard)!=null&&P.writeText)await navigator.clipboard.writeText(r);else{const F=document.createElement("textarea");F.value=r,F.style.position="fixed",F.style.opacity="0",document.body.appendChild(F),F.select();const D=document.execCommand("copy");if(F.remove(),!D)throw new Error("Copy failed")}h(!0),b.current&&clearTimeout(b.current),b.current=setTimeout(()=>h(!1),1800)}catch{h(!1)}};return A.jsx(Rt.div,{className:Z["toast-wrapper"],initial:{opacity:0,y:-12,scale:.98},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,x:24,scale:.98},transition:{duration:.2,ease:"easeOut"},onMouseEnter:S,onMouseLeave:v,onFocusCapture:S,onBlurCapture:P=>{P.currentTarget.contains(P.relatedTarget)||v()},children:A.jsxs("div",{className:Me(Z.toast,Z[i]),role:i==="error"?"alert":"status",children:[A.jsx("div",{className:Z["toast-icon"],children:u}),A.jsxs("div",{className:Z["toast-content"],children:[A.jsxs("div",{className:Z["toast-meta"],children:[A.jsx("span",{className:Z["toast-type"],children:i}),A.jsx("span",{className:Me(Z["toast-count"],s<=1&&Z["toast-count-hidden"]),"aria-label":s>1?`${s} occurrences`:void 0,"aria-hidden":s<=1,title:s>1?`${s} occurrences`:void 0,children:A.jsxs("span",{"aria-hidden":"true",children:["×",s>99?"99+":s]})})]}),A.jsx("p",{className:Z["toast-title"],children:r})]}),A.jsxs("div",{className:Z["toast-actions"],children:[c&&A.jsx("button",{type:"button",className:Z["toast-action-btn"],onClick:E,"aria-label":f?"Message copied":"Copy message",title:f?"Copied":"Copy message",children:f?A.jsx(gl,{}):A.jsx(yl,{})}),l&&A.jsx("button",{type:"button",className:Z["toast-action-btn"],onClick:I,"aria-label":"Dismiss notification",title:"Dismiss",children:A.jsx(hl,{})})]})]})})};function ep(e){const{children:t}=e,[n,i]=y.useState(!1);y.useEffect(()=>{i(!0)},[]);const r=document.getElementById("biznext-ui-toast-portal");return n&&r?Xe.createPortal(t,r):Xe.createPortal(t,document.body)}const tp=({toasts:e,toastPosition:t="top-center"})=>{const[n,i]=y.useState(!0),r=new Map;e.forEach(u=>{const a=`${u.type}|${u.title}`;r.has(a)?(r.get(a).count+=1,r.get(a).ids.push(u.id)):r.set(a,{...u,ids:[u.id],count:1})});const s=Array.from(r.values()),o=y.useMemo(()=>e.reduce((u,a)=>({...u,[a.type]:u[a.type]+1}),{error:0,warning:0,success:0,info:0}),[e]);return e.length===0?null:A.jsx(ep,{children:A.jsxs("div",{className:Me(Z["toasts-container"],Z[t]),"aria-label":"Notifications",children:[A.jsxs("div",{className:Z["toast-status"],"aria-label":`${e.length} notifications`,children:[A.jsx("span",{className:Z["status-title"],children:"Notifications"}),["error","warning","success","info"].map(u=>A.jsxs("span",{className:Me(Z["status-stat"],Z[`status-${u}`]),title:`${o[u]} ${u}`,children:[A.jsx("span",{className:Z["status-dot"],"aria-hidden":"true"}),A.jsx("span",{children:o[u]}),A.jsx("span",{className:Z["sr-only"],children:u})]},u)),A.jsx("button",{type:"button",className:Z["status-toggle"],onClick:()=>i(u=>!u),"aria-expanded":n,"aria-label":n?"Collapse notifications":"Expand notifications",children:n?A.jsx(vl,{}):A.jsx(bl,{})})]}),A.jsx("div",{className:Me(Z["toast-list"],!n&&Z["toast-list-collapsed"]),"aria-hidden":!n,children:A.jsx(Yn,{initial:!1,children:s.map(u=>A.jsx(qh,{...u},`${u.type}|${u.title}`))})})]})})};for(var ee=[],Qi=0;Qi<256;++Qi)ee.push((Qi+256).toString(16).slice(1));function np(e,t=0){return(ee[e[t+0]]+ee[e[t+1]]+ee[e[t+2]]+ee[e[t+3]]+"-"+ee[e[t+4]]+ee[e[t+5]]+"-"+ee[e[t+6]]+ee[e[t+7]]+"-"+ee[e[t+8]]+ee[e[t+9]]+"-"+ee[e[t+10]]+ee[e[t+11]]+ee[e[t+12]]+ee[e[t+13]]+ee[e[t+14]]+ee[e[t+15]]).toLowerCase()}var mn,ip=new Uint8Array(16);function rp(){if(!mn&&(mn=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!mn))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return mn(ip)}var sp=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);const Pa={randomUUID:sp};function op(e,t,n){if(Pa.randomUUID&&!e)return Pa.randomUUID();e=e||{};var i=e.random||(e.rng||rp)();return i[6]=i[6]&15|64,i[8]=i[8]&63|128,np(i)}function ap(){return Xe.createPortal(A.jsxs("div",{id:"biznext-ui-portal",children:[A.jsx("div",{id:"biznext-ui-modal-portal"}),A.jsx("div",{id:"biznext-ui-toast-portal"}),A.jsx("div",{id:"biznext-ui-confirm-dialog-portal"})]}),document.body)}const ye={"confirm-dialog-overlay":"biznext-ui-ylpaWxEFaTU-c","confirm-dialog":"biznext-ui-4yyscqDACxw-e",info:"biznext-ui-wec4qWkj9NU-c",warning:"biznext-ui-mcehjNn9Nl0-9",danger:"biznext-ui-pYq-UQoFMHM-a",success:"biznext-ui-bgVORylkzc0-6","confirm-dialog-accent":"biznext-ui-7ReHYWZ2x80-e","confirm-dialog-close-icon":"biznext-ui-p-dS1gE1lUQ-a","confirm-dialog-body":"biznext-ui-K3-i0eWEQi8-2","confirm-dialog-icon":"biznext-ui-PSIKxZhvjyo-3","confirm-dialog-copy":"biznext-ui-5d4mFe8-8hI-e","confirm-dialog-eyebrow":"biznext-ui-sqQMi13S3QI-b","confirm-dialog-footer":"biznext-ui-ffcW632vEe0-7","confirm-dialog-cancel-btn":"biznext-ui-WN418UGh91k-5","confirm-dialog-confirm-btn":"biznext-ui-DYDcHcMDZtM-0"};function up(e){const{children:t}=e,[n,i]=y.useState(!1);y.useEffect(()=>{i(!0)},[]);const r=document.getElementById("biznext-ui-confirm-dialog-portal");return n&&r?Xe.createPortal(t,r):Xe.createPortal(t,document.body)}const lp={default:{icon:A.jsx(Il,{}),label:"Confirmation"},info:{icon:A.jsx(Cl,{}),label:"Please confirm"},warning:{icon:A.jsx(pl,{}),label:"Attention required"},danger:{icon:A.jsx(xl,{}),label:"Destructive action"},success:{icon:A.jsx(ml,{}),label:"Ready to continue"}},cp=({isOpen:e,onClose:t,config:n})=>{const{type:i="default",title:r,description:s,icon:o,onConfirm:u,buttonContent:a,closeOnOverlayClick:l=!1}=n,c=y.useRef(null),d=y.useRef(null),f=y.useId(),h=y.useId(),g=lp[i];y.useEffect(()=>{if(!e)return;const p=document.activeElement,b=requestAnimationFrame(()=>{var x;return(x=d.current)==null?void 0:x.focus()}),C=document.body.style.overflow;document.body.style.overflow="hidden";const I=x=>{if(x.key==="Escape"){x.preventDefault(),t();return}if(x.key!=="Tab"||!c.current)return;const v=Array.from(c.current.querySelectorAll('button:not([disabled]), [href], [tabindex]:not([tabindex="-1"])')),S=v[0],E=v[v.length-1];x.shiftKey&&document.activeElement===S?(x.preventDefault(),E==null||E.focus()):!x.shiftKey&&document.activeElement===E&&(x.preventDefault(),S==null||S.focus())};return document.addEventListener("keydown",I),()=>{cancelAnimationFrame(b),document.removeEventListener("keydown",I),document.body.style.overflow=C,p==null||p.focus()}},[e,t]);const m=()=>{u(),t()};return A.jsx(up,{children:A.jsx(Yn,{children:e&&A.jsx(Rt.div,{className:ye["confirm-dialog-overlay"],initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.18},onMouseDown:p=>{l&&p.target===p.currentTarget&&t()},children:A.jsxs(Rt.div,{ref:c,className:Me(ye["confirm-dialog"],ye[i]),role:i==="danger"||i==="warning"?"alertdialog":"dialog","aria-modal":"true","aria-labelledby":f,"aria-describedby":h,initial:{opacity:0,y:12,scale:.98},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:8,scale:.98},transition:{duration:.2,ease:"easeOut"},children:[A.jsx("div",{className:ye["confirm-dialog-accent"],"aria-hidden":"true"}),A.jsx("button",{type:"button",className:ye["confirm-dialog-close-icon"],onClick:t,"aria-label":"Close dialog",children:A.jsx(Al,{})}),A.jsxs("div",{className:ye["confirm-dialog-body"],children:[A.jsx("div",{className:ye["confirm-dialog-icon"],"aria-hidden":"true",children:o??g.icon}),A.jsxs("div",{className:ye["confirm-dialog-copy"],children:[A.jsx("span",{className:ye["confirm-dialog-eyebrow"],children:g.label}),A.jsx("h2",{id:f,children:r}),A.jsx("p",{id:h,children:s})]})]}),A.jsxs("div",{className:ye["confirm-dialog-footer"],children:[A.jsx("button",{ref:d,type:"button",className:ye["confirm-dialog-cancel-btn"],onClick:t,children:(a==null?void 0:a.onCloseTitle)??"Cancel"}),A.jsx("button",{type:"button",className:ye["confirm-dialog-confirm-btn"],onClick:m,children:(a==null?void 0:a.onConfirmTitle)??"Confirm"})]})]})})})})},Ta=y.createContext({}),dp=({children:e,toastPosition:t})=>{const n={toasts:[]},[i,r]=y.useReducer(Ku,n),s=y.useCallback((I,x,v)=>{const S=op();r({type:"ADD_TOAST",payload:{id:S,title:x,type:I,config:v}})},[]),o=y.useCallback(I=>{r({type:"DELETE_TOAST",payload:{id:I}})},[]),u=y.useCallback((I,x)=>{s("success",I,x)},[s]),a=y.useCallback((I,x)=>{s("warning",I,x)},[s]),l=y.useCallback((I,x)=>{s("info",I,x)},[s]),c=y.useCallback((I,x)=>{s("error",I,x)},[s]),d=y.useMemo(()=>({success:u,warning:a,info:l,error:c,removeToast:o}),[c,l,o,u,a]),[f,h]=y.useState({}),[g,m]=y.useState(!1),p=y.useCallback(I=>{h(I),m(!0)},[]),b=y.useCallback(()=>{m(!1)},[]),C=p;return A.jsx(Tr.Provider,{value:d,children:A.jsxs(Ta.Provider,{value:C,children:[A.jsx(ap,{}),A.jsx(tp,{toasts:i.toasts,toastPosition:t}),A.jsx(cp,{isOpen:g,onClose:b,config:f}),e]})})},Ce={modal:"biznext-ui-Mao59ye15po-3","modal-wrapper":"biznext-ui-n2Vjx4mdikE-9","modal-overlay":"biznext-ui-6sKjk6L11EQ-e",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 fp(e){return ne({attr:{viewBox:"0 0 352 512"},child:[{tag:"path",attr:{d:"M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"},child:[]}]})(e)}function hp(e){const{children:t}=e,[n,i]=y.useState(!1);y.useEffect(()=>{i(!0)},[]);const r=document.getElementById("biznext-ui-modal-portal");return n&&r?Xe.createPortal(t,r):Xe.createPortal(t,document.body)}const Ki=y.createContext({onClose:()=>console.warn("Biznext-UI-Modal: Close Function Missing!"),dragControls:void 0,draggable:!1}),ct=e=>{const{type:t,index:n,height:i,width:r,draggable:s,sx:o,isOpen:u,onClose:a,children:l}=e,c=9999+(n||0),d=Qh(),f=y.useRef(null),[h,g]=y.useState(!1),[m,p]=y.useState({left:0,right:0,top:0,bottom:0});y.useEffect(()=>{g(!0)},[]);const b=()=>{if(!f.current)return;const C=f.current.getBoundingClientRect(),I=-C.left,x=window.innerWidth-C.right,v=-C.top,S=window.innerHeight-C.bottom,E=8;p({left:I+E,right:x-E,top:v+E,bottom:S-E})};return y.useEffect(()=>{u&&requestAnimationFrame(()=>{b()});const C=()=>{b()};return window.addEventListener("resize",C),()=>window.removeEventListener("resize",C)},[u,i,r]),A.jsx(Ki.Provider,{value:{onClose:a,dragControls:d,draggable:s},children:h?A.jsx(hp,{children:A.jsx(Yn,{children:u&&A.jsxs("div",{className:Ce["modal-wrapper"],children:[A.jsx(Rt.div,{className:Ce["modal-overlay"],style:{zIndex:c},initial:{opacity:0},animate:{opacity:1},exit:{opacity:0}}),A.jsx(Rt.div,{ref:f,className:Me(Ce.modal,Ce[t]),style:{height:i,width:r,zIndex:c,...o},initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.95},drag:s,dragControls:d,dragListener:!1,dragMomentum:!1,dragElastic:0,dragConstraints:m,children:l})]})})}):null})},pp=({children:e})=>A.jsx("div",{className:Ce["modal-content"],children:e}),mp=({children:e})=>{const{onClose:t,dragControls:n,draggable:i}=y.useContext(Ki);return A.jsxs("header",{id:"handle",className:Ce["modal-header"],onPointerDown:r=>{i&&n.start(r)},style:{cursor:i?"move":"default"},children:[e,A.jsx("button",{type:"button",className:Ce["module-header-close-btn"],onClick:t,children:A.jsx(fp,{})})]})},gp=({children:e})=>A.jsx("h2",{className:Ce["modal-title"],children:e}),bp=({children:e})=>A.jsx("div",{className:Ce["modal-body"],children:e}),vp=e=>{const{children:t,closeTitle:n}=e,{onClose:i}=y.useContext(Ki);return A.jsxs("footer",{className:Ce["modal-footer"],children:[t,A.jsx("button",{type:"button",className:Ce["modal-footer-close-btn"],onClick:i,children:n||"Cancel"})]})};ct.Content=pp,ct.Header=mp,ct.Title=gp,ct.Body=bp,ct.Footer=vp;const yp=()=>y.useContext(Ta),xe={form:"biznext-ui-WgISRe1bJDU-5","form-group":"biznext-ui-PDYbgOuoFL0-3","form-input-group":"biznext-ui-7dIDGqcfwy4-e","form-input-group-label":"biznext-ui-3qrluRcbSyQ-d",required:"biznext-ui-S1AWtF9fE-s-4","form-input-control-group":"biznext-ui-GQweSyKURD4-1","form-input-control":"biznext-ui-Pxa8kMsnvaQ-3","validation-error":"biznext-ui-B7sgFlayyBI-0","form-select-control":"biznext-ui-TyZSBF2HLh0-4","form-input-group-error-text":"biznext-ui-npOI3UC2M38-9"};function Qe(e){"@babel/helpers - typeof";return Qe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Qe(e)}function Ip(e,t){if(Qe(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t);if(Qe(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Va(e){var t=Ip(e,"string");return Qe(t)=="symbol"?t:t+""}function Nt(e,t,n){return(t=Va(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,i)}return n}function w(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?wa(Object(n),!0).forEach(function(i){Nt(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wa(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function Cp(e){if(Array.isArray(e))return e}function xp(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var i,r,s,o,u=[],a=!0,l=!1;try{if(s=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;a=!1}else for(;!(a=(i=s.call(n)).done)&&(u.push(i.value),u.length!==t);a=!0);}catch(c){l=!0,r=c}finally{try{if(!a&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw r}}return u}}function qi(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}function Ga(e,t){if(e){if(typeof e=="string")return qi(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)?qi(e,t):void 0}}function Ap(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
14
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function
|
|
15
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function tr(e){return Mp(e)||Dp(e)||Ga(e)||Rp()}function Np(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function Op(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var Lp=(function(){function e(n){var i=this;this._insertTag=function(r){var s;i.tags.length===0?i.insertionPoint?s=i.insertionPoint.nextSibling:i.prepend?s=i.container.firstChild:s=i.before:s=i.tags[i.tags.length-1].nextSibling,i.container.insertBefore(r,s),i.tags.push(r)},this.isSpeedy=n.speedy===void 0?!0:n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(i){i.forEach(this._insertTag)},t.insert=function(i){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(Op(this));var r=this.tags[this.tags.length-1];if(this.isSpeedy){var s=Np(r);try{s.insertRule(i,s.cssRules.length)}catch{}}else r.appendChild(document.createTextNode(i));this.ctr++},t.flush=function(){this.tags.forEach(function(i){var r;return(r=i.parentNode)==null?void 0:r.removeChild(i)}),this.tags=[],this.ctr=0},e})(),se="-ms-",bn="-moz-",R="-webkit-",Ma="comm",nr="rule",ir="decl",Xp="@import",Da="@keyframes",Wp="@layer",kp=Math.abs,vn=String.fromCharCode,Zp=Object.assign;function zp(e,t){return te(e,0)^45?(((t<<2^te(e,0))<<2^te(e,1))<<2^te(e,2))<<2^te(e,3):0}function Ra(e){return e.trim()}function Hp(e,t){return(e=t.exec(e))?e[0]:e}function N(e,t,n){return e.replace(t,n)}function rr(e,t){return e.indexOf(t)}function te(e,t){return e.charCodeAt(t)|0}function Ot(e,t,n){return e.slice(t,n)}function Ve(e){return e.length}function sr(e){return e.length}function yn(e,t){return t.push(e),e}function Yp(e,t){return e.map(t).join("")}var In=1,dt=1,Na=0,le=0,K=0,ft="";function Cn(e,t,n,i,r,s,o){return{value:e,root:t,parent:n,type:i,props:r,children:s,line:In,column:dt,length:o,return:""}}function Lt(e,t){return Zp(Cn("",null,null,"",null,null,0),e,{length:-e.length},t)}function jp(){return K}function Jp(){return K=le>0?te(ft,--le):0,dt--,K===10&&(dt=1,In--),K}function pe(){return K=le<Na?te(ft,le++):0,dt++,K===10&&(dt=1,In++),K}function we(){return te(ft,le)}function xn(){return le}function Xt(e,t){return Ot(ft,e,t)}function Wt(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 Oa(e){return In=dt=1,Na=Ve(ft=e),le=0,[]}function La(e){return ft="",e}function An(e){return Ra(Xt(le-1,or(e===91?e+2:e===40?e+1:e)))}function Up(e){for(;(K=we())&&K<33;)pe();return Wt(e)>2||Wt(K)>3?"":" "}function _p(e,t){for(;--t&&pe()&&!(K<48||K>102||K>57&&K<65||K>70&&K<97););return Xt(e,xn()+(t<6&&we()==32&&pe()==32))}function or(e){for(;pe();)switch(K){case e:return le;case 34:case 39:e!==34&&e!==39&&or(K);break;case 40:e===41&&or(e);break;case 92:pe();break}return le}function $p(e,t){for(;pe()&&e+K!==57;)if(e+K===84&&we()===47)break;return"/*"+Xt(t,le-1)+"*"+vn(e===47?e:pe())}function Qp(e){for(;!Wt(we());)pe();return Xt(e,le)}function Kp(e){return La(Sn("",null,null,null,[""],e=Oa(e),0,[0],e))}function Sn(e,t,n,i,r,s,o,u,a){for(var l=0,c=0,d=o,f=0,h=0,g=0,m=1,p=1,b=1,C=0,I="",x=r,v=s,S=i,E=I;p;)switch(g=C,C=pe()){case 40:if(g!=108&&te(E,d-1)==58){rr(E+=N(An(C),"&","&\f"),"&\f")!=-1&&(b=-1);break}case 34:case 39:case 91:E+=An(C);break;case 9:case 10:case 13:case 32:E+=Up(g);break;case 92:E+=_p(xn()-1,7);continue;case 47:switch(we()){case 42:case 47:yn(qp($p(pe(),xn()),t,n),a);break;default:E+="/"}break;case 123*m:u[l++]=Ve(E)*b;case 125*m:case 59:case 0:switch(C){case 0:case 125:p=0;case 59+c:b==-1&&(E=N(E,/\f/g,"")),h>0&&Ve(E)-d&&yn(h>32?Wa(E+";",i,n,d-1):Wa(N(E," ","")+";",i,n,d-2),a);break;case 59:E+=";";default:if(yn(S=Xa(E,t,n,l,c,r,u,I,x=[],v=[],d),s),C===123)if(c===0)Sn(E,t,S,S,x,s,d,u,v);else switch(f===99&&te(E,3)===110?100:f){case 100:case 108:case 109:case 115:Sn(e,S,S,i&&yn(Xa(e,S,S,0,0,r,u,I,r,x=[],d),v),r,v,d,u,i?x:v);break;default:Sn(E,S,S,S,[""],v,0,u,v)}}l=c=h=0,m=b=1,I=E="",d=o;break;case 58:d=1+Ve(E),h=g;default:if(m<1){if(C==123)--m;else if(C==125&&m++==0&&Jp()==125)continue}switch(E+=vn(C),C*m){case 38:b=c>0?1:(E+="\f",-1);break;case 44:u[l++]=(Ve(E)-1)*b,b=1;break;case 64:we()===45&&(E+=An(pe())),f=we(),c=d=Ve(I=E+=Qp(xn())),C++;break;case 45:g===45&&Ve(E)==2&&(m=0)}}return s}function Xa(e,t,n,i,r,s,o,u,a,l,c){for(var d=r-1,f=r===0?s:[""],h=sr(f),g=0,m=0,p=0;g<i;++g)for(var b=0,C=Ot(e,d+1,d=kp(m=o[g])),I=e;b<h;++b)(I=Ra(m>0?f[b]+" "+C:N(C,/&\f/g,f[b])))&&(a[p++]=I);return Cn(e,t,n,r===0?nr:u,a,l,c)}function qp(e,t,n){return Cn(e,t,n,Ma,vn(jp()),Ot(e,2,-2),0)}function Wa(e,t,n,i){return Cn(e,t,n,ir,Ot(e,0,i),Ot(e,i+1,-1),i)}function ht(e,t){for(var n="",i=sr(e),r=0;r<i;r++)n+=t(e[r],r,e,t)||"";return n}function em(e,t,n,i){switch(e.type){case Wp:if(e.children.length)break;case Xp:case ir:return e.return=e.return||e.value;case Ma:return"";case Da:return e.return=e.value+"{"+ht(e.children,i)+"}";case nr:e.value=e.props.join(",")}return Ve(n=ht(e.children,i))?e.return=e.value+"{"+n+"}":""}function tm(e){var t=sr(e);return function(n,i,r,s){for(var o="",u=0;u<t;u++)o+=e[u](n,i,r,s)||"";return o}}function nm(e){return function(t){t.root||(t=t.return)&&e(t)}}function im(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var rm=function(t,n,i){for(var r=0,s=0;r=s,s=we(),r===38&&s===12&&(n[i]=1),!Wt(s);)pe();return Xt(t,le)},sm=function(t,n){var i=-1,r=44;do switch(Wt(r)){case 0:r===38&&we()===12&&(n[i]=1),t[i]+=rm(le-1,n,i);break;case 2:t[i]+=An(r);break;case 4:if(r===44){t[++i]=we()===58?"&\f":"",n[i]=t[i].length;break}default:t[i]+=vn(r)}while(r=pe());return t},om=function(t,n){return La(sm(Oa(t),n))},ka=new WeakMap,am=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var n=t.value,i=t.parent,r=t.column===i.column&&t.line===i.line;i.type!=="rule";)if(i=i.parent,!i)return;if(!(t.props.length===1&&n.charCodeAt(0)!==58&&!ka.get(i))&&!r){ka.set(t,!0);for(var s=[],o=om(n,s),u=i.props,a=0,l=0;a<o.length;a++)for(var c=0;c<u.length;c++,l++)t.props[l]=s[a]?o[a].replace(/&\f/g,u[c]):u[c]+" "+o[a]}}},um=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}};function Za(e,t){switch(zp(e,t)){case 5103:return R+"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 R+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return R+e+bn+e+se+e+e;case 6828:case 4268:return R+e+se+e+e;case 6165:return R+e+se+"flex-"+e+e;case 5187:return R+e+N(e,/(\w+).+(:[^]+)/,R+"box-$1$2"+se+"flex-$1$2")+e;case 5443:return R+e+se+"flex-item-"+N(e,/flex-|-self/,"")+e;case 4675:return R+e+se+"flex-line-pack"+N(e,/align-content|flex-|-self/,"")+e;case 5548:return R+e+se+N(e,"shrink","negative")+e;case 5292:return R+e+se+N(e,"basis","preferred-size")+e;case 6060:return R+"box-"+N(e,"-grow","")+R+e+se+N(e,"grow","positive")+e;case 4554:return R+N(e,/([^-])(transform)/g,"$1"+R+"$2")+e;case 6187:return N(N(N(e,/(zoom-|grab)/,R+"$1"),/(image-set)/,R+"$1"),e,"")+e;case 5495:case 3959:return N(e,/(image-set\([^]*)/,R+"$1$`$1");case 4968:return N(N(e,/(.+:)(flex-)?(.*)/,R+"box-pack:$3"+se+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+R+e+e;case 4095:case 3583:case 4068:case 2532:return N(e,/(.+)-inline(.+)/,R+"$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(Ve(e)-1-t>6)switch(te(e,t+1)){case 109:if(te(e,t+4)!==45)break;case 102:return N(e,/(.+:)(.+)-([^]+)/,"$1"+R+"$2-$3$1"+bn+(te(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~rr(e,"stretch")?Za(N(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(te(e,t+1)!==115)break;case 6444:switch(te(e,Ve(e)-3-(~rr(e,"!important")&&10))){case 107:return N(e,":",":"+R)+e;case 101:return N(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+R+(te(e,14)===45?"inline-":"")+"box$3$1"+R+"$2$3$1"+se+"$2box$3")+e}break;case 5936:switch(te(e,t+11)){case 114:return R+e+se+N(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return R+e+se+N(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return R+e+se+N(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return R+e+se+e+e}return e}var lm=function(t,n,i,r){if(t.length>-1&&!t.return)switch(t.type){case ir:t.return=Za(t.value,t.length);break;case Da:return ht([Lt(t,{value:N(t.value,"@","@"+R)})],r);case nr:if(t.length)return Yp(t.props,function(s){switch(Hp(s,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return ht([Lt(t,{props:[N(s,/:(read-\w+)/,":"+bn+"$1")]})],r);case"::placeholder":return ht([Lt(t,{props:[N(s,/:(plac\w+)/,":"+R+"input-$1")]}),Lt(t,{props:[N(s,/:(plac\w+)/,":"+bn+"$1")]}),Lt(t,{props:[N(s,/:(plac\w+)/,se+"input-$1")]})],r)}return""})}},cm=[lm],dm=function(t){var n=t.key;if(n==="css"){var i=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(i,function(m){var p=m.getAttribute("data-emotion");p.indexOf(" ")!==-1&&(document.head.appendChild(m),m.setAttribute("data-s",""))})}var r=t.stylisPlugins||cm,s={},o,u=[];o=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(m){for(var p=m.getAttribute("data-emotion").split(" "),b=1;b<p.length;b++)s[p[b]]=!0;u.push(m)});var a,l=[am,um];{var c,d=[em,nm(function(m){c.insert(m)})],f=tm(l.concat(r,d)),h=function(p){return ht(Kp(p),f)};a=function(p,b,C,I){c=C,h(p?p+"{"+b.styles+"}":b.styles),I&&(g.inserted[b.name]=!0)}}var g={key:n,sheet:new Lp({key:n,container:o,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:s,registered:{},insert:a};return g.sheet.hydrate(u),g},En={exports:{}},O={};/** @license React v16.13.1
|
|
13
|
+
`),()=>{document.head.removeChild(c)}},[t]),x.jsx(Pl,{isPresent:t,childRef:i,sizeRef:r,children:M.cloneElement(e,{ref:i})})}const wl=({children:e,initial:t,isPresent:n,onExitComplete:i,custom:r,presenceAffectsLayout:s,mode:o})=>{const u=Yt(Gl),a=y.useId(),l=y.useCallback(d=>{u.set(d,!0);for(const f of u.values())if(!f)return;i&&i()},[u,i]),c=y.useMemo(()=>({id:a,initial:t,isPresent:n,custom:r,onExitComplete:l,register:d=>(u.set(d,!1),()=>u.delete(d))}),s?[Math.random(),l]:[n,l]);return y.useMemo(()=>{u.forEach((d,f)=>u.set(f,!1))},[n]),M.useEffect(()=>{!n&&!u.size&&i&&i()},[n]),o==="popLayout"&&(e=x.jsx(Vl,{isPresent:n,children:e})),x.jsx(Jt.Provider,{value:c,children:e})};function Gl(){return new Map}function Rr(e=!0){const t=y.useContext(Jt);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:i,register:r}=t,s=y.useId();y.useEffect(()=>{e&&r(s)},[e]);const o=y.useCallback(()=>e&&i&&i(s),[s,i,e]);return!n&&i?[!1,o]:[!0]}const Ut=e=>e.key||"";function Xr(e){const t=[];return y.Children.forEach(e,n=>{y.isValidElement(n)&&t.push(n)}),t}const Jn=typeof window<"u",Wr=Jn?y.useLayoutEffect:y.useEffect,Un=({children:e,custom:t,initial:n=!0,onExitComplete:i,presenceAffectsLayout:r=!0,mode:s="sync",propagate:o=!1})=>{const[u,a]=Rr(o),l=y.useMemo(()=>Xr(e),[e]),c=o&&!u?[]:l.map(Ut),d=y.useRef(!0),f=y.useRef(l),h=Yt(()=>new Map),[m,g]=y.useState(l),[p,v]=y.useState(l);Wr(()=>{d.current=!1,f.current=l;for(let A=0;A<p.length;A++){const b=Ut(p[A]);c.includes(b)?h.delete(b):h.get(b)!==!0&&h.set(b,!1)}},[p,c.length,c.join("-")]);const C=[];if(l!==m){let A=[...l];for(let b=0;b<p.length;b++){const S=p[b],E=Ut(S);c.includes(E)||(A.splice(b,0,S),C.push(S))}s==="wait"&&C.length&&(A=C),v(Xr(A)),g(l);return}process.env.NODE_ENV!=="production"&&s==="wait"&&p.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.`);const{forceRender:I}=y.useContext(jn);return x.jsx(x.Fragment,{children:p.map(A=>{const b=Ut(A),S=o&&!u?!1:l===p||c.includes(b),E=()=>{if(h.has(b))h.set(b,!0);else return;let T=!0;h.forEach(G=>{G||(T=!1)}),T&&(I==null||I(),v(f.current),o&&(a==null||a()),i&&i())};return x.jsx(wl,{isPresent:S,initial:!d.current||n?void 0:!1,custom:S?void 0:t,presenceAffectsLayout:r,mode:s,onExitComplete:S?void 0:E,children:A},b)})})},pe=e=>e;let et=pe,ke=pe;process.env.NODE_ENV!=="production"&&(et=(e,t)=>{!e&&typeof console<"u"&&console.warn(t)},ke=(e,t)=>{if(!e)throw new Error(t)});function _n(e){let t;return()=>(t===void 0&&(t=e()),t)}const tt=(e,t,n)=>{const i=t-e;return i===0?1:(n-e)/i},Pe=e=>e*1e3,Ne=e=>e/1e3,Bl={useManualTiming:!1};function Fl(e){let t=new Set,n=new Set,i=!1,r=!1;const s=new WeakSet;let o={delta:0,timestamp:0,isProcessing:!1};function u(l){s.has(l)&&(a.schedule(l),e()),l(o)}const a={schedule:(l,c=!1,d=!1)=>{const h=d&&i?t:n;return c&&s.add(l),h.has(l)||h.add(l),l},cancel:l=>{n.delete(l),s.delete(l)},process:l=>{if(o=l,i){r=!0;return}i=!0,[t,n]=[n,t],t.forEach(u),t.clear(),i=!1,r&&(r=!1,a.process(l))}};return a}const _t=["read","resolveKeyframes","update","preRender","render","postRender"],Ml=40;function kr(e,t){let n=!1,i=!0;const r={delta:0,timestamp:0,isProcessing:!1},s=()=>n=!0,o=_t.reduce((v,C)=>(v[C]=Fl(s),v),{}),{read:u,resolveKeyframes:a,update:l,preRender:c,render:d,postRender:f}=o,h=()=>{const v=performance.now();n=!1,r.delta=i?1e3/60:Math.max(Math.min(v-r.timestamp,Ml),1),r.timestamp=v,r.isProcessing=!0,u.process(r),a.process(r),l.process(r),c.process(r),d.process(r),f.process(r),r.isProcessing=!1,n&&t&&(i=!1,e(h))},m=()=>{n=!0,i=!0,r.isProcessing||e(h)};return{schedule:_t.reduce((v,C)=>{const I=o[C];return v[C]=(A,b=!1,S=!1)=>(n||m(),I.schedule(A,b,S)),v},{}),cancel:v=>{for(let C=0;C<_t.length;C++)o[_t[C]].cancel(v)},state:r,steps:o}}const{schedule:J,cancel:ze,state:se,steps:$n}=kr(typeof requestAnimationFrame<"u"?requestAnimationFrame:pe,!0),zr=y.createContext({strict:!1}),Zr={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"]},nt={};for(const e in Zr)nt[e]={isEnabled:t=>Zr[e].some(n=>!!t[n])};function Dl(e){for(const t in e)nt[t]={...nt[t],...e[t]}}const Nl=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function $t(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||Nl.has(e)}let Hr=e=>!$t(e);function Ol(e){e&&(Hr=t=>t.startsWith("on")?!$t(t):e(t))}try{Ol(require("@emotion/is-prop-valid").default)}catch{}function Ll(e,t,n){const i={};for(const r in e)r==="values"&&typeof e.values=="object"||(Hr(r)||n===!0&&$t(r)||!t&&!$t(r)||e.draggable&&r.startsWith("onDrag"))&&(i[r]=e[r]);return i}const jr=new Set;function Qt(e,t,n){e||jr.has(t)||(console.warn(t),jr.add(t))}function Rl(e){if(typeof Proxy>"u")return e;const t=new Map,n=(...i)=>(process.env.NODE_ENV!=="production"&&Qt(!1,"motion() is deprecated. Use motion.create() instead."),e(...i));return new Proxy(n,{get:(i,r)=>r==="create"?e:(t.has(r)||t.set(r,e(r)),t.get(r))})}const Kt=y.createContext({});function yt(e){return typeof e=="string"||Array.isArray(e)}function qt(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const Qn=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Kn=["initial",...Qn];function en(e){return qt(e.animate)||Kn.some(t=>yt(e[t]))}function Yr(e){return!!(en(e)||e.variants)}function Xl(e,t){if(en(e)){const{initial:n,animate:i}=e;return{initial:n===!1||yt(n)?n:void 0,animate:yt(i)?i:void 0}}return e.inherit!==!1?t:{}}function Wl(e){const{initial:t,animate:n}=Xl(e,y.useContext(Kt));return y.useMemo(()=>({initial:t,animate:n}),[Jr(t),Jr(n)])}function Jr(e){return Array.isArray(e)?e.join(" "):e}const kl=Symbol.for("motionComponentSymbol");function it(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function zl(e,t,n){return y.useCallback(i=>{i&&e.onMount&&e.onMount(i),t&&(i?t.mount(i):t.unmount()),n&&(typeof n=="function"?n(i):it(n)&&(n.current=i))},[t])}const qn=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),Ur="data-"+qn("framerAppearId"),{schedule:ei}=kr(queueMicrotask,!1),_r=y.createContext({});function Zl(e,t,n,i,r){var s,o;const{visualElement:u}=y.useContext(Kt),a=y.useContext(zr),l=y.useContext(Jt),c=y.useContext(Yn).reducedMotion,d=y.useRef(null);i=i||a.renderer,!d.current&&i&&(d.current=i(e,{visualState:t,parent:u,props:n,presenceContext:l,blockInitialAnimation:l?l.initial===!1:!1,reducedMotionConfig:c}));const f=d.current,h=y.useContext(_r);f&&!f.projection&&r&&(f.type==="html"||f.type==="svg")&&Hl(d.current,n,r,h);const m=y.useRef(!1);y.useInsertionEffect(()=>{f&&m.current&&f.update(n,l)});const g=n[Ur],p=y.useRef(!!g&&!(!((s=window.MotionHandoffIsComplete)===null||s===void 0)&&s.call(window,g))&&((o=window.MotionHasOptimisedAnimation)===null||o===void 0?void 0:o.call(window,g)));return Wr(()=>{f&&(m.current=!0,window.MotionIsMounted=!0,f.updateFeatures(),ei.render(f.render),p.current&&f.animationState&&f.animationState.animateChanges())}),y.useEffect(()=>{f&&(!p.current&&f.animationState&&f.animationState.animateChanges(),p.current&&(queueMicrotask(()=>{var v;(v=window.MotionHandoffMarkAsComplete)===null||v===void 0||v.call(window,g)}),p.current=!1))}),f}function Hl(e,t,n,i){const{layoutId:r,layout:s,drag:o,dragConstraints:u,layoutScroll:a,layoutRoot:l}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:$r(e.parent)),e.projection.setOptions({layoutId:r,layout:s,alwaysMeasureLayout:!!o||u&&it(u),visualElement:e,animationType:typeof s=="string"?s:"both",initialPromotionConfig:i,layoutScroll:a,layoutRoot:l})}function $r(e){if(e)return e.options.allowProjection!==!1?e.projection:$r(e.parent)}function jl({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:i,Component:r}){var s,o;e&&Dl(e);function u(l,c){let d;const f={...y.useContext(Yn),...l,layoutId:Yl(l)},{isStatic:h}=f,m=Wl(l),g=i(l,h);if(!h&&Jn){Jl(f,e);const p=Ul(f);d=p.MeasureLayout,m.visualElement=Zl(r,g,f,t,p.ProjectionNode)}return x.jsxs(Kt.Provider,{value:m,children:[d&&m.visualElement?x.jsx(d,{visualElement:m.visualElement,...f}):null,n(r,l,zl(g,m.visualElement,c),g,h,m.visualElement)]})}u.displayName=`motion.${typeof r=="string"?r:`create(${(o=(s=r.displayName)!==null&&s!==void 0?s:r.name)!==null&&o!==void 0?o:""})`}`;const a=y.forwardRef(u);return a[kl]=r,a}function Yl({layoutId:e}){const t=y.useContext(jn).id;return t&&e!==void 0?t+"-"+e:e}function Jl(e,t){const n=y.useContext(zr).strict;if(process.env.NODE_ENV!=="production"&&t&&n){const i="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";e.ignoreStrict?et(!1,i):ke(!1,i)}}function Ul(e){const{drag:t,layout:n}=nt;if(!t&&!n)return{};const i={...t,...n};return{MeasureLayout:t!=null&&t.isEnabled(e)||n!=null&&n.isEnabled(e)?i.MeasureLayout:void 0,ProjectionNode:i.ProjectionNode}}const _l=["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 ti(e){return typeof e!="string"||e.includes("-")?!1:!!(_l.indexOf(e)>-1||/[A-Z]/u.test(e))}function Qr(e){const t=[{},{}];return e==null||e.values.forEach((n,i)=>{t[0][i]=n.get(),t[1][i]=n.getVelocity()}),t}function ni(e,t,n,i){if(typeof t=="function"){const[r,s]=Qr(i);t=t(n!==void 0?n:e.custom,r,s)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[r,s]=Qr(i);t=t(n!==void 0?n:e.custom,r,s)}return t}const ii=e=>Array.isArray(e),$l=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),Ql=e=>ii(e)?e[e.length-1]||0:e,ce=e=>!!(e&&e.getVelocity);function tn(e){const t=ce(e)?e.get():e;return $l(t)?t.toValue():t}function Kl({scrapeMotionValuesFromProps:e,createRenderState:t,onUpdate:n},i,r,s){const o={latestValues:ql(i,r,s,e),renderState:t()};return n&&(o.onMount=u=>n({props:i,current:u,...o}),o.onUpdate=u=>n(u)),o}const Kr=e=>(t,n)=>{const i=y.useContext(Kt),r=y.useContext(Jt),s=()=>Kl(e,t,i,r);return n?s():Yt(s)};function ql(e,t,n,i){const r={},s=i(e,{});for(const f in s)r[f]=tn(s[f]);let{initial:o,animate:u}=e;const a=en(e),l=Yr(e);t&&l&&!a&&e.inherit!==!1&&(o===void 0&&(o=t.initial),u===void 0&&(u=t.animate));let c=n?n.initial===!1:!1;c=c||o===!1;const d=c?u:o;if(d&&typeof d!="boolean"&&!qt(d)){const f=Array.isArray(d)?d:[d];for(let h=0;h<f.length;h++){const m=ni(e,f[h]);if(m){const{transitionEnd:g,transition:p,...v}=m;for(const C in v){let I=v[C];if(Array.isArray(I)){const A=c?I.length-1:0;I=I[A]}I!==null&&(r[C]=I)}for(const C in g)r[C]=g[C]}}}return r}const rt=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Ye=new Set(rt),qr=e=>t=>typeof t=="string"&&t.startsWith(e),es=qr("--"),ec=qr("var(--"),ri=e=>ec(e)?tc.test(e.split("/*")[0].trim()):!1,tc=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,ts=(e,t)=>t&&typeof e=="number"?t.transform(e):e,Oe=(e,t,n)=>n>t?t:n<e?e:n,st={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},It={...st,transform:e=>Oe(0,1,e)},nn={...st,default:1},Ct=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Ze=Ct("deg"),Ve=Ct("%"),B=Ct("px"),nc=Ct("vh"),ic=Ct("vw"),ns={...Ve,parse:e=>Ve.parse(e)/100,transform:e=>Ve.transform(e*100)},rc={borderWidth:B,borderTopWidth:B,borderRightWidth:B,borderBottomWidth:B,borderLeftWidth:B,borderRadius:B,radius:B,borderTopLeftRadius:B,borderTopRightRadius:B,borderBottomRightRadius:B,borderBottomLeftRadius:B,width:B,maxWidth:B,height:B,maxHeight:B,top:B,right:B,bottom:B,left:B,padding:B,paddingTop:B,paddingRight:B,paddingBottom:B,paddingLeft:B,margin:B,marginTop:B,marginRight:B,marginBottom:B,marginLeft:B,backgroundPositionX:B,backgroundPositionY:B},sc={rotate:Ze,rotateX:Ze,rotateY:Ze,rotateZ:Ze,scale:nn,scaleX:nn,scaleY:nn,scaleZ:nn,skew:Ze,skewX:Ze,skewY:Ze,distance:B,translateX:B,translateY:B,translateZ:B,x:B,y:B,z:B,perspective:B,transformPerspective:B,opacity:It,originX:ns,originY:ns,originZ:B},is={...st,transform:Math.round},si={...rc,...sc,zIndex:is,size:B,fillOpacity:It,strokeOpacity:It,numOctaves:is},oc={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},ac=rt.length;function uc(e,t,n){let i="",r=!0;for(let s=0;s<ac;s++){const o=rt[s],u=e[o];if(u===void 0)continue;let a=!0;if(typeof u=="number"?a=u===(o.startsWith("scale")?1:0):a=parseFloat(u)===0,!a||n){const l=ts(u,si[o]);if(!a){r=!1;const c=oc[o]||o;i+=`${c}(${l}) `}n&&(t[o]=l)}}return i=i.trim(),n?i=n(t,r?"":i):r&&(i="none"),i}function oi(e,t,n){const{style:i,vars:r,transformOrigin:s}=e;let o=!1,u=!1;for(const a in t){const l=t[a];if(Ye.has(a)){o=!0;continue}else if(es(a)){r[a]=l;continue}else{const c=ts(l,si[a]);a.startsWith("origin")?(u=!0,s[a]=c):i[a]=c}}if(t.transform||(o||n?i.transform=uc(t,e.transform,n):i.transform&&(i.transform="none")),u){const{originX:a="50%",originY:l="50%",originZ:c=0}=s;i.transformOrigin=`${a} ${l} ${c}`}}const lc={offset:"stroke-dashoffset",array:"stroke-dasharray"},cc={offset:"strokeDashoffset",array:"strokeDasharray"};function dc(e,t,n=1,i=0,r=!0){e.pathLength=1;const s=r?lc:cc;e[s.offset]=B.transform(-i);const o=B.transform(t),u=B.transform(n);e[s.array]=`${o} ${u}`}function rs(e,t,n){return typeof e=="string"?e:B.transform(t+n*e)}function fc(e,t,n){const i=rs(t,e.x,e.width),r=rs(n,e.y,e.height);return`${i} ${r}`}function ai(e,{attrX:t,attrY:n,attrScale:i,originX:r,originY:s,pathLength:o,pathSpacing:u=1,pathOffset:a=0,...l},c,d){if(oi(e,l,d),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:f,style:h,dimensions:m}=e;f.transform&&(m&&(h.transform=f.transform),delete f.transform),m&&(r!==void 0||s!==void 0||h.transform)&&(h.transformOrigin=fc(m,r!==void 0?r:.5,s!==void 0?s:.5)),t!==void 0&&(f.x=t),n!==void 0&&(f.y=n),i!==void 0&&(f.scale=i),o!==void 0&&dc(f,o,u,a,!1)}const ui=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),ss=()=>({...ui(),attrs:{}}),li=e=>typeof e=="string"&&e.toLowerCase()==="svg";function os(e,{style:t,vars:n},i,r){Object.assign(e.style,t,r&&r.getProjectionStyles(i));for(const s in n)e.style.setProperty(s,n[s])}const as=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 us(e,t,n,i){os(e,t,void 0,i);for(const r in t.attrs)e.setAttribute(as.has(r)?r:qn(r),t.attrs[r])}const rn={};function hc(e){Object.assign(rn,e)}function ls(e,{layout:t,layoutId:n}){return Ye.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!rn[e]||e==="opacity")}function ci(e,t,n){var i;const{style:r}=e,s={};for(const o in r)(ce(r[o])||t.style&&ce(t.style[o])||ls(o,e)||((i=n==null?void 0:n.getValue(o))===null||i===void 0?void 0:i.liveStyle)!==void 0)&&(s[o]=r[o]);return s}function cs(e,t,n){const i=ci(e,t,n);for(const r in e)if(ce(e[r])||ce(t[r])){const s=rt.indexOf(r)!==-1?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r;i[s]=e[r]}return i}function pc(e,t){try{t.dimensions=typeof e.getBBox=="function"?e.getBBox():e.getBoundingClientRect()}catch{t.dimensions={x:0,y:0,width:0,height:0}}}const ds=["x","y","width","height","cx","cy","r"],mc={useVisualState:Kr({scrapeMotionValuesFromProps:cs,createRenderState:ss,onUpdate:({props:e,prevProps:t,current:n,renderState:i,latestValues:r})=>{if(!n)return;let s=!!e.drag;if(!s){for(const u in r)if(Ye.has(u)){s=!0;break}}if(!s)return;let o=!t;if(t)for(let u=0;u<ds.length;u++){const a=ds[u];e[a]!==t[a]&&(o=!0)}o&&J.read(()=>{pc(n,i),J.render(()=>{ai(i,r,li(n.tagName),e.transformTemplate),us(n,i)})})}})},gc={useVisualState:Kr({scrapeMotionValuesFromProps:ci,createRenderState:ui})};function fs(e,t,n){for(const i in t)!ce(t[i])&&!ls(i,n)&&(e[i]=t[i])}function bc({transformTemplate:e},t){return y.useMemo(()=>{const n=ui();return oi(n,t,e),Object.assign({},n.vars,n.style)},[t])}function vc(e,t){const n=e.style||{},i={};return fs(i,n,e),Object.assign(i,bc(e,t)),i}function yc(e,t){const n={},i=vc(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=i,n}function Ic(e,t,n,i){const r=y.useMemo(()=>{const s=ss();return ai(s,t,li(i),e.transformTemplate),{...s.attrs,style:{...s.style}}},[t]);if(e.style){const s={};fs(s,e.style,e),r.style={...s,...r.style}}return r}function Cc(e=!1){return(n,i,r,{latestValues:s},o)=>{const a=(ti(n)?Ic:yc)(i,s,o,n),l=Ll(i,typeof n=="string",e),c=n!==y.Fragment?{...l,...a,ref:r}:{},{children:d}=i,f=y.useMemo(()=>ce(d)?d.get():d,[d]);return y.createElement(n,{...c,children:f})}}function xc(e,t){return function(i,{forwardMotionProps:r}={forwardMotionProps:!1}){const o={...ti(i)?mc:gc,preloadedFeatures:e,useRender:Cc(r),createVisualElement:t,Component:i};return jl(o)}}function hs(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let i=0;i<n;i++)if(t[i]!==e[i])return!1;return!0}function sn(e,t,n){const i=e.getProps();return ni(i,t,n!==void 0?n:i.custom,e)}const Ac=_n(()=>window.ScrollTimeline!==void 0);class Sc{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map(t=>"finished"in t?t.finished:t))}getAll(t){return this.animations[0][t]}setAll(t,n){for(let i=0;i<this.animations.length;i++)this.animations[i][t]=n}attachTimeline(t,n){const i=this.animations.map(r=>{if(Ac()&&r.attachTimeline)return r.attachTimeline(t);if(typeof n=="function")return n(r)});return()=>{i.forEach((r,s)=>{r&&r(),this.animations[s].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 startTime(){return this.getAll("startTime")}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]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class Ec extends Sc{then(t,n){return Promise.all(this.animations).then(t).catch(n)}}function di(e,t){return e?e[t]||e.default||e:void 0}const fi=2e4;function ps(e){let t=0;const n=50;let i=e.next(t);for(;!i.done&&t<fi;)t+=n,i=e.next(t);return t>=fi?1/0:t}function hi(e){return typeof e=="function"}function ms(e,t){e.timeline=t,e.onfinish=null}const pi=e=>Array.isArray(e)&&typeof e[0]=="number",Tc={linearEasing:void 0};function Pc(e,t){const n=_n(e);return()=>{var i;return(i=Tc[t])!==null&&i!==void 0?i:n()}}const on=Pc(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),gs=(e,t,n=10)=>{let i="";const r=Math.max(Math.round(t/n),2);for(let s=0;s<r;s++)i+=e(tt(0,r-1,s))+", ";return`linear(${i.substring(0,i.length-2)})`};function bs(e){return!!(typeof e=="function"&&on()||!e||typeof e=="string"&&(e in mi||on())||pi(e)||Array.isArray(e)&&e.every(bs))}const xt=([e,t,n,i])=>`cubic-bezier(${e}, ${t}, ${n}, ${i})`,mi={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:xt([0,.65,.55,1]),circOut:xt([.55,0,1,.45]),backIn:xt([.31,.01,.66,-.59]),backOut:xt([.33,1.53,.69,.99])};function vs(e,t){if(e)return typeof e=="function"&&on()?gs(e,t):pi(e)?xt(e):Array.isArray(e)?e.map(n=>vs(n,t)||mi.easeOut):mi[e]}const xe={x:!1,y:!1};function ys(){return xe.x||xe.y}function Vc(e,t,n){var i;if(e instanceof Element)return[e];if(typeof e=="string"){let r=document;const s=(i=void 0)!==null&&i!==void 0?i:r.querySelectorAll(e);return s?Array.from(s):[]}return Array.from(e)}function Is(e,t){const n=Vc(e),i=new AbortController,r={passive:!0,...t,signal:i.signal};return[n,r,()=>i.abort()]}function Cs(e){return t=>{t.pointerType==="touch"||ys()||e(t)}}function wc(e,t,n={}){const[i,r,s]=Is(e,n),o=Cs(u=>{const{target:a}=u,l=t(u);if(typeof l!="function"||!a)return;const c=Cs(d=>{l(d),a.removeEventListener("pointerleave",c)});a.addEventListener("pointerleave",c,r)});return i.forEach(u=>{u.addEventListener("pointerenter",o,r)}),s}const xs=(e,t)=>t?e===t?!0:xs(e,t.parentElement):!1,gi=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,Gc=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function Bc(e){return Gc.has(e.tagName)||e.tabIndex!==-1}const At=new WeakSet;function As(e){return t=>{t.key==="Enter"&&e(t)}}function bi(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const Fc=(e,t)=>{const n=e.currentTarget;if(!n)return;const i=As(()=>{if(At.has(n))return;bi(n,"down");const r=As(()=>{bi(n,"up")}),s=()=>bi(n,"cancel");n.addEventListener("keyup",r,t),n.addEventListener("blur",s,t)});n.addEventListener("keydown",i,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",i),t)};function Ss(e){return gi(e)&&!ys()}function Mc(e,t,n={}){const[i,r,s]=Is(e,n),o=u=>{const a=u.currentTarget;if(!Ss(u)||At.has(a))return;At.add(a);const l=t(u),c=(h,m)=>{window.removeEventListener("pointerup",d),window.removeEventListener("pointercancel",f),!(!Ss(h)||!At.has(a))&&(At.delete(a),typeof l=="function"&&l(h,{success:m}))},d=h=>{c(h,n.useGlobalTarget||xs(a,h.target))},f=h=>{c(h,!1)};window.addEventListener("pointerup",d,r),window.addEventListener("pointercancel",f,r)};return i.forEach(u=>{!Bc(u)&&u.getAttribute("tabindex")===null&&(u.tabIndex=0),(n.useGlobalTarget?window:u).addEventListener("pointerdown",o,r),u.addEventListener("focus",l=>Fc(l,r),r)}),s}function Dc(e){return e==="x"||e==="y"?xe[e]?null:(xe[e]=!0,()=>{xe[e]=!1}):xe.x||xe.y?null:(xe.x=xe.y=!0,()=>{xe.x=xe.y=!1})}const Es=new Set(["width","height","top","left","right","bottom",...rt]);let an;function Nc(){an=void 0}const we={now:()=>(an===void 0&&we.set(se.isProcessing||Bl.useManualTiming?se.timestamp:performance.now()),an),set:e=>{an=e,queueMicrotask(Nc)}};function vi(e,t){e.indexOf(t)===-1&&e.push(t)}function yi(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class Ii{constructor(){this.subscriptions=[]}add(t){return vi(this.subscriptions,t),()=>yi(this.subscriptions,t)}notify(t,n,i){const r=this.subscriptions.length;if(r)if(r===1)this.subscriptions[0](t,n,i);else for(let s=0;s<r;s++){const o=this.subscriptions[s];o&&o(t,n,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function Ts(e,t){return t?e*(1e3/t):0}const Ps=30,Oc=e=>!isNaN(parseFloat(e));class Lc{constructor(t,n={}){this.version="11.18.2",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(i,r=!0)=>{const s=we.now();this.updatedAt!==s&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(i),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),r&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=we.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=Oc(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return process.env.NODE_ENV!=="production"&&Qt(!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 Ii);const i=this.events[t].add(n);return t==="change"?()=>{i(),J.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t,n=!0){!n||!this.passiveEffect?this.updateAndNotify(t,n):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,n,i){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=we.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>Ps)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,Ps);return Ts(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 St(e,t){return new Lc(e,t)}function Rc(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,St(n))}function Xc(e,t){const n=sn(e,t);let{transitionEnd:i={},transition:r={},...s}=n||{};s={...s,...i};for(const o in s){const u=Ql(s[o]);Rc(e,o,u)}}function Wc(e){return!!(ce(e)&&e.add)}function Ci(e,t){const n=e.getValue("willChange");if(Wc(n))return n.add(t)}function Vs(e){return e.props[Ur]}const ws=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,kc=1e-7,zc=12;function Zc(e,t,n,i,r){let s,o,u=0;do o=t+(n-t)/2,s=ws(o,i,r)-e,s>0?n=o:t=o;while(Math.abs(s)>kc&&++u<zc);return o}function Et(e,t,n,i){if(e===t&&n===i)return pe;const r=s=>Zc(s,0,1,e,n);return s=>s===0||s===1?s:ws(r(s),t,i)}const Gs=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Bs=e=>t=>1-e(1-t),Fs=Et(.33,1.53,.69,.99),xi=Bs(Fs),Ms=Gs(xi),Ds=e=>(e*=2)<1?.5*xi(e):.5*(2-Math.pow(2,-10*(e-1))),Ai=e=>1-Math.sin(Math.acos(e)),Ns=Bs(Ai),Os=Gs(Ai),Ls=e=>/^0[^.\s]+$/u.test(e);function Hc(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Ls(e):!0}const Tt=e=>Math.round(e*1e5)/1e5,Si=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function jc(e){return e==null}const Yc=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Ei=(e,t)=>n=>!!(typeof n=="string"&&Yc.test(n)&&n.startsWith(e)||t&&!jc(n)&&Object.prototype.hasOwnProperty.call(n,t)),Rs=(e,t,n)=>i=>{if(typeof i!="string")return i;const[r,s,o,u]=i.match(Si);return{[e]:parseFloat(r),[t]:parseFloat(s),[n]:parseFloat(o),alpha:u!==void 0?parseFloat(u):1}},Jc=e=>Oe(0,255,e),Ti={...st,transform:e=>Math.round(Jc(e))},Je={test:Ei("rgb","red"),parse:Rs("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:i=1})=>"rgba("+Ti.transform(e)+", "+Ti.transform(t)+", "+Ti.transform(n)+", "+Tt(It.transform(i))+")"};function Uc(e){let t="",n="",i="",r="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),i=e.substring(5,7),r=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),i=e.substring(3,4),r=e.substring(4,5),t+=t,n+=n,i+=i,r+=r),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(i,16),alpha:r?parseInt(r,16)/255:1}}const Pi={test:Ei("#"),parse:Uc,transform:Je.transform},ot={test:Ei("hsl","hue"),parse:Rs("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:i=1})=>"hsla("+Math.round(e)+", "+Ve.transform(Tt(t))+", "+Ve.transform(Tt(n))+", "+Tt(It.transform(i))+")"},de={test:e=>Je.test(e)||Pi.test(e)||ot.test(e),parse:e=>Je.test(e)?Je.parse(e):ot.test(e)?ot.parse(e):Pi.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?Je.transform(e):ot.transform(e)},_c=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function $c(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(Si))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(_c))===null||n===void 0?void 0:n.length)||0)>0}const Xs="number",Ws="color",Qc="var",Kc="var(",ks="${}",qc=/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 Pt(e){const t=e.toString(),n=[],i={color:[],number:[],var:[]},r=[];let s=0;const u=t.replace(qc,a=>(de.test(a)?(i.color.push(s),r.push(Ws),n.push(de.parse(a))):a.startsWith(Kc)?(i.var.push(s),r.push(Qc),n.push(a)):(i.number.push(s),r.push(Xs),n.push(parseFloat(a))),++s,ks)).split(ks);return{values:n,split:u,indexes:i,types:r}}function zs(e){return Pt(e).values}function Zs(e){const{split:t,types:n}=Pt(e),i=t.length;return r=>{let s="";for(let o=0;o<i;o++)if(s+=t[o],r[o]!==void 0){const u=n[o];u===Xs?s+=Tt(r[o]):u===Ws?s+=de.transform(r[o]):s+=r[o]}return s}}const ed=e=>typeof e=="number"?0:e;function td(e){const t=zs(e);return Zs(e)(t.map(ed))}const He={test:$c,parse:zs,createTransformer:Zs,getAnimatableNone:td},nd=new Set(["brightness","contrast","saturate","opacity"]);function id(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[i]=n.match(Si)||[];if(!i)return e;const r=n.replace(i,"");let s=nd.has(t)?1:0;return i!==n&&(s*=100),t+"("+s+r+")"}const rd=/\b([a-z-]*)\(.*?\)/gu,Vi={...He,getAnimatableNone:e=>{const t=e.match(rd);return t?t.map(id).join(" "):e}},sd={...si,color:de,backgroundColor:de,outlineColor:de,fill:de,stroke:de,borderColor:de,borderTopColor:de,borderRightColor:de,borderBottomColor:de,borderLeftColor:de,filter:Vi,WebkitFilter:Vi},wi=e=>sd[e];function Hs(e,t){let n=wi(e);return n!==Vi&&(n=He),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const od=new Set(["auto","none","0"]);function ad(e,t,n){let i=0,r;for(;i<e.length&&!r;){const s=e[i];typeof s=="string"&&!od.has(s)&&Pt(s).values.length&&(r=e[i]),i++}if(r&&n)for(const s of t)e[s]=Hs(n,r)}const js=e=>e===st||e===B,Ys=(e,t)=>parseFloat(e.split(", ")[t]),Js=(e,t)=>(n,{transform:i})=>{if(i==="none"||!i)return 0;const r=i.match(/^matrix3d\((.+)\)$/u);if(r)return Ys(r[1],t);{const s=i.match(/^matrix\((.+)\)$/u);return s?Ys(s[1],e):0}},ud=new Set(["x","y","z"]),ld=rt.filter(e=>!ud.has(e));function cd(e){const t=[];return ld.forEach(n=>{const i=e.getValue(n);i!==void 0&&(t.push([n,i.get()]),i.set(n.startsWith("scale")?1:0))}),t}const at={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:Js(4,13),y:Js(5,14)};at.translateX=at.x,at.translateY=at.y;const Ue=new Set;let Gi=!1,Bi=!1;function Us(){if(Bi){const e=Array.from(Ue).filter(i=>i.needsMeasurement),t=new Set(e.map(i=>i.element)),n=new Map;t.forEach(i=>{const r=cd(i);r.length&&(n.set(i,r),i.render())}),e.forEach(i=>i.measureInitialState()),t.forEach(i=>{i.render();const r=n.get(i);r&&r.forEach(([s,o])=>{var u;(u=i.getValue(s))===null||u===void 0||u.set(o)})}),e.forEach(i=>i.measureEndState()),e.forEach(i=>{i.suspendedScrollY!==void 0&&window.scrollTo(0,i.suspendedScrollY)})}Bi=!1,Gi=!1,Ue.forEach(e=>e.complete()),Ue.clear()}function _s(){Ue.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Bi=!0)})}function dd(){_s(),Us()}class Fi{constructor(t,n,i,r,s,o=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=i,this.motionValue=r,this.element=s,this.isAsync=o}scheduleResolve(){this.isScheduled=!0,this.isAsync?(Ue.add(this),Gi||(Gi=!0,J.read(_s),J.resolveKeyframes(Us))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:i,motionValue:r}=this;for(let s=0;s<t.length;s++)if(t[s]===null)if(s===0){const o=r==null?void 0:r.get(),u=t[t.length-1];if(o!==void 0)t[0]=o;else if(i&&n){const a=i.readValue(n,u);a!=null&&(t[0]=a)}t[0]===void 0&&(t[0]=u),r&&o===void 0&&r.set(t[0])}else t[s]=t[s-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),Ue.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,Ue.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const $s=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),fd=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function hd(e){const t=fd.exec(e);if(!t)return[,];const[,n,i,r]=t;return[`--${n??i}`,r]}const pd=4;function Qs(e,t,n=1){ke(n<=pd,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[i,r]=hd(e);if(!i)return;const s=window.getComputedStyle(t).getPropertyValue(i);if(s){const o=s.trim();return $s(o)?parseFloat(o):o}return ri(r)?Qs(r,t,n+1):r}const Ks=e=>t=>t.test(e),qs=[st,B,Ve,Ze,ic,nc,{test:e=>e==="auto",parse:e=>e}],eo=e=>qs.find(Ks(e));class to extends Fi{constructor(t,n,i,r,s){super(t,n,i,r,s,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:i}=this;if(!n||!n.current)return;super.readKeyframes();for(let a=0;a<t.length;a++){let l=t[a];if(typeof l=="string"&&(l=l.trim(),ri(l))){const c=Qs(l,n.current);c!==void 0&&(t[a]=c),a===t.length-1&&(this.finalKeyframe=l)}}if(this.resolveNoneKeyframes(),!Es.has(i)||t.length!==2)return;const[r,s]=t,o=eo(r),u=eo(s);if(o!==u)if(js(o)&&js(u))for(let a=0;a<t.length;a++){const l=t[a];typeof l=="string"&&(t[a]=parseFloat(l))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,i=[];for(let r=0;r<t.length;r++)Hc(t[r])&&i.push(r);i.length&&ad(t,i,n)}measureInitialState(){const{element:t,unresolvedKeyframes:n,name:i}=this;if(!t||!t.current)return;i==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=at[i](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const r=n[n.length-1];r!==void 0&&t.getValue(i,r).jump(r,!1)}measureEndState(){var t;const{element:n,name:i,unresolvedKeyframes:r}=this;if(!n||!n.current)return;const s=n.getValue(i);s&&s.jump(this.measuredOrigin,!1);const o=r.length-1,u=r[o];r[o]=at[i](n.measureViewportBox(),window.getComputedStyle(n.current)),u!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=u),!((t=this.removedTransforms)===null||t===void 0)&&t.length&&this.removedTransforms.forEach(([a,l])=>{n.getValue(a).set(l)}),this.resolveNoneKeyframes()}}const no=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(He.test(e)||e==="0")&&!e.startsWith("url("));function md(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 gd(e,t,n,i){const r=e[0];if(r===null)return!1;if(t==="display"||t==="visibility")return!0;const s=e[e.length-1],o=no(r,t),u=no(s,t);return et(o===u,`You are trying to animate ${t} from "${r}" to "${s}". ${r} is not an animatable value - to enable this animation set ${r} to a value animatable to ${s} via the \`style\` property.`),!o||!u?!1:md(e)||(n==="spring"||hi(n))&&i}const bd=e=>e!==null;function un(e,{repeat:t,repeatType:n="loop"},i){const r=e.filter(bd),s=t&&n!=="loop"&&t%2===1?0:r.length-1;return!s||i===void 0?r[s]:i}const vd=40;class io{constructor({autoplay:t=!0,delay:n=0,type:i="keyframes",repeat:r=0,repeatDelay:s=0,repeatType:o="loop",...u}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=we.now(),this.options={autoplay:t,delay:n,type:i,repeat:r,repeatDelay:s,repeatType:o,...u},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt?this.resolvedAt-this.createdAt>vd?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&dd(),this._resolved}onKeyframesResolved(t,n){this.resolvedAt=we.now(),this.hasAttemptedResolve=!0;const{name:i,type:r,velocity:s,delay:o,onComplete:u,onUpdate:a,isGenerator:l}=this.options;if(!l&&!gd(t,i,r,s))if(o)this.options.duration=0;else{a&&a(un(t,this.options,n)),u&&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)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(t=>{this.resolveFinishedPromise=t})}}const $=(e,t,n)=>e+(t-e)*n;function Mi(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 yd({hue:e,saturation:t,lightness:n,alpha:i}){e/=360,t/=100,n/=100;let r=0,s=0,o=0;if(!t)r=s=o=n;else{const u=n<.5?n*(1+t):n+t-n*t,a=2*n-u;r=Mi(a,u,e+1/3),s=Mi(a,u,e),o=Mi(a,u,e-1/3)}return{red:Math.round(r*255),green:Math.round(s*255),blue:Math.round(o*255),alpha:i}}function ln(e,t){return n=>n>0?t:e}const Di=(e,t,n)=>{const i=e*e,r=n*(t*t-i)+i;return r<0?0:Math.sqrt(r)},Id=[Pi,Je,ot],Cd=e=>Id.find(t=>t.test(e));function ro(e){const t=Cd(e);if(et(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`),!t)return!1;let n=t.parse(e);return t===ot&&(n=yd(n)),n}const so=(e,t)=>{const n=ro(e),i=ro(t);if(!n||!i)return ln(e,t);const r={...n};return s=>(r.red=Di(n.red,i.red,s),r.green=Di(n.green,i.green,s),r.blue=Di(n.blue,i.blue,s),r.alpha=$(n.alpha,i.alpha,s),Je.transform(r))},xd=(e,t)=>n=>t(e(n)),Vt=(...e)=>e.reduce(xd),Ni=new Set(["none","hidden"]);function Ad(e,t){return Ni.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function Sd(e,t){return n=>$(e,t,n)}function Oi(e){return typeof e=="number"?Sd:typeof e=="string"?ri(e)?ln:de.test(e)?so:Pd:Array.isArray(e)?oo:typeof e=="object"?de.test(e)?so:Ed:ln}function oo(e,t){const n=[...e],i=n.length,r=e.map((s,o)=>Oi(s)(s,t[o]));return s=>{for(let o=0;o<i;o++)n[o]=r[o](s);return n}}function Ed(e,t){const n={...e,...t},i={};for(const r in n)e[r]!==void 0&&t[r]!==void 0&&(i[r]=Oi(e[r])(e[r],t[r]));return r=>{for(const s in i)n[s]=i[s](r);return n}}function Td(e,t){var n;const i=[],r={color:0,var:0,number:0};for(let s=0;s<t.values.length;s++){const o=t.types[s],u=e.indexes[o][r[o]],a=(n=e.values[u])!==null&&n!==void 0?n:0;i[s]=a,r[o]++}return i}const Pd=(e,t)=>{const n=He.createTransformer(t),i=Pt(e),r=Pt(t);return i.indexes.var.length===r.indexes.var.length&&i.indexes.color.length===r.indexes.color.length&&i.indexes.number.length>=r.indexes.number.length?Ni.has(e)&&!r.values.length||Ni.has(t)&&!i.values.length?Ad(e,t):Vt(oo(Td(i,r),r.values),n):(et(!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.`),ln(e,t))};function ao(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?$(e,t,n):Oi(e)(e,t)}const Vd=5;function uo(e,t,n){const i=Math.max(t-Vd,0);return Ts(n-e(i),t-i)}const Q={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},Li=.001;function wd({duration:e=Q.duration,bounce:t=Q.bounce,velocity:n=Q.velocity,mass:i=Q.mass}){let r,s;et(e<=Pe(Q.maxDuration),"Spring duration must be 10 seconds or less");let o=1-t;o=Oe(Q.minDamping,Q.maxDamping,o),e=Oe(Q.minDuration,Q.maxDuration,Ne(e)),o<1?(r=l=>{const c=l*o,d=c*e,f=c-n,h=Ri(l,o),m=Math.exp(-d);return Li-f/h*m},s=l=>{const d=l*o*e,f=d*n+n,h=Math.pow(o,2)*Math.pow(l,2)*e,m=Math.exp(-d),g=Ri(Math.pow(l,2),o);return(-r(l)+Li>0?-1:1)*((f-h)*m)/g}):(r=l=>{const c=Math.exp(-l*e),d=(l-n)*e+1;return-Li+c*d},s=l=>{const c=Math.exp(-l*e),d=(n-l)*(e*e);return c*d});const u=5/e,a=Bd(r,s,u);if(e=Pe(e),isNaN(a))return{stiffness:Q.stiffness,damping:Q.damping,duration:e};{const l=Math.pow(a,2)*i;return{stiffness:l,damping:o*2*Math.sqrt(i*l),duration:e}}}const Gd=12;function Bd(e,t,n){let i=n;for(let r=1;r<Gd;r++)i=i-e(i)/t(i);return i}function Ri(e,t){return e*Math.sqrt(1-t*t)}const Fd=["duration","bounce"],Md=["stiffness","damping","mass"];function lo(e,t){return t.some(n=>e[n]!==void 0)}function Dd(e){let t={velocity:Q.velocity,stiffness:Q.stiffness,damping:Q.damping,mass:Q.mass,isResolvedFromDuration:!1,...e};if(!lo(e,Md)&&lo(e,Fd))if(e.visualDuration){const n=e.visualDuration,i=2*Math.PI/(n*1.2),r=i*i,s=2*Oe(.05,1,1-(e.bounce||0))*Math.sqrt(r);t={...t,mass:Q.mass,stiffness:r,damping:s}}else{const n=wd(e);t={...t,...n,mass:Q.mass},t.isResolvedFromDuration=!0}return t}function co(e=Q.visualDuration,t=Q.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:i,restDelta:r}=n;const s=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],u={done:!1,value:s},{stiffness:a,damping:l,mass:c,duration:d,velocity:f,isResolvedFromDuration:h}=Dd({...n,velocity:-Ne(n.velocity||0)}),m=f||0,g=l/(2*Math.sqrt(a*c)),p=o-s,v=Ne(Math.sqrt(a/c)),C=Math.abs(p)<5;i||(i=C?Q.restSpeed.granular:Q.restSpeed.default),r||(r=C?Q.restDelta.granular:Q.restDelta.default);let I;if(g<1){const b=Ri(v,g);I=S=>{const E=Math.exp(-g*v*S);return o-E*((m+g*v*p)/b*Math.sin(b*S)+p*Math.cos(b*S))}}else if(g===1)I=b=>o-Math.exp(-v*b)*(p+(m+v*p)*b);else{const b=v*Math.sqrt(g*g-1);I=S=>{const E=Math.exp(-g*v*S),T=Math.min(b*S,300);return o-E*((m+g*v*p)*Math.sinh(T)+b*p*Math.cosh(T))/b}}const A={calculatedDuration:h&&d||null,next:b=>{const S=I(b);if(h)u.done=b>=d;else{let E=0;g<1&&(E=b===0?Pe(m):uo(I,b,S));const T=Math.abs(E)<=i,G=Math.abs(o-S)<=r;u.done=T&&G}return u.value=u.done?o:S,u},toString:()=>{const b=Math.min(ps(A),fi),S=gs(E=>A.next(b*E).value,b,30);return b+"ms "+S}};return A}function fo({keyframes:e,velocity:t=0,power:n=.8,timeConstant:i=325,bounceDamping:r=10,bounceStiffness:s=500,modifyTarget:o,min:u,max:a,restDelta:l=.5,restSpeed:c}){const d=e[0],f={done:!1,value:d},h=T=>u!==void 0&&T<u||a!==void 0&&T>a,m=T=>u===void 0?a:a===void 0||Math.abs(u-T)<Math.abs(a-T)?u:a;let g=n*t;const p=d+g,v=o===void 0?p:o(p);v!==p&&(g=v-d);const C=T=>-g*Math.exp(-T/i),I=T=>v+C(T),A=T=>{const G=C(T),L=I(T);f.done=Math.abs(G)<=l,f.value=f.done?v:L};let b,S;const E=T=>{h(f.value)&&(b=T,S=co({keyframes:[f.value,m(f.value)],velocity:uo(I,T,f.value),damping:r,stiffness:s,restDelta:l,restSpeed:c}))};return E(0),{calculatedDuration:null,next:T=>{let G=!1;return!S&&b===void 0&&(G=!0,A(T),E(T)),b!==void 0&&T>=b?S.next(T-b):(!G&&A(T),f)}}}const Nd=Et(.42,0,1,1),Od=Et(0,0,.58,1),ho=Et(.42,0,.58,1),Ld=e=>Array.isArray(e)&&typeof e[0]!="number",po={linear:pe,easeIn:Nd,easeInOut:ho,easeOut:Od,circIn:Ai,circInOut:Os,circOut:Ns,backIn:xi,backInOut:Ms,backOut:Fs,anticipate:Ds},mo=e=>{if(pi(e)){ke(e.length===4,"Cubic bezier arrays must contain four numerical values.");const[t,n,i,r]=e;return Et(t,n,i,r)}else if(typeof e=="string")return ke(po[e]!==void 0,`Invalid easing type '${e}'`),po[e];return e};function Rd(e,t,n){const i=[],r=n||ao,s=e.length-1;for(let o=0;o<s;o++){let u=r(e[o],e[o+1]);if(t){const a=Array.isArray(t)?t[o]||pe:t;u=Vt(a,u)}i.push(u)}return i}function Xd(e,t,{clamp:n=!0,ease:i,mixer:r}={}){const s=e.length;if(ke(s===t.length,"Both input and output ranges must be the same length"),s===1)return()=>t[0];if(s===2&&t[0]===t[1])return()=>t[1];const o=e[0]===e[1];e[0]>e[s-1]&&(e=[...e].reverse(),t=[...t].reverse());const u=Rd(t,i,r),a=u.length,l=c=>{if(o&&c<e[0])return t[0];let d=0;if(a>1)for(;d<e.length-2&&!(c<e[d+1]);d++);const f=tt(e[d],e[d+1],c);return u[d](f)};return n?c=>l(Oe(e[0],e[s-1],c)):l}function Wd(e,t){const n=e[e.length-1];for(let i=1;i<=t;i++){const r=tt(0,t,i);e.push($(n,1,r))}}function kd(e){const t=[0];return Wd(t,e.length-1),t}function zd(e,t){return e.map(n=>n*t)}function Zd(e,t){return e.map(()=>t||ho).splice(0,e.length-1)}function cn({duration:e=300,keyframes:t,times:n,ease:i="easeInOut"}){const r=Ld(i)?i.map(mo):mo(i),s={done:!1,value:t[0]},o=zd(n&&n.length===t.length?n:kd(t),e),u=Xd(o,t,{ease:Array.isArray(r)?r:Zd(t,r)});return{calculatedDuration:e,next:a=>(s.value=u(a),s.done=a>=e,s)}}const Hd=e=>{const t=({timestamp:n})=>e(n);return{start:()=>J.update(t,!0),stop:()=>ze(t),now:()=>se.isProcessing?se.timestamp:we.now()}},jd={decay:fo,inertia:fo,tween:cn,keyframes:cn,spring:co},Yd=e=>e/100;class Xi extends io{constructor(t){super(t),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();const{onStop:a}=this.options;a&&a()};const{name:n,motionValue:i,element:r,keyframes:s}=this.options,o=(r==null?void 0:r.KeyframeResolver)||Fi,u=(a,l)=>this.onKeyframesResolved(a,l);this.resolver=new o(s,u,n,i,r),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(t){const{type:n="keyframes",repeat:i=0,repeatDelay:r=0,repeatType:s,velocity:o=0}=this.options,u=hi(n)?n:jd[n]||cn;let a,l;u!==cn&&typeof t[0]!="number"&&(process.env.NODE_ENV!=="production"&&ke(t.length===2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${t}`),a=Vt(Yd,ao(t[0],t[1])),t=[0,100]);const c=u({...this.options,keyframes:t});s==="mirror"&&(l=u({...this.options,keyframes:[...t].reverse(),velocity:-o})),c.calculatedDuration===null&&(c.calculatedDuration=ps(c));const{calculatedDuration:d}=c,f=d+r,h=f*(i+1)-r;return{generator:c,mirroredGenerator:l,mapPercentToKeyframes:a,calculatedDuration:d,resolvedDuration:f,totalDuration:h}}onPostResolved(){const{autoplay:t=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!t?this.pause():this.state=this.pendingPlayState}tick(t,n=!1){const{resolved:i}=this;if(!i){const{keyframes:T}=this.options;return{done:!0,value:T[T.length-1]}}const{finalKeyframe:r,generator:s,mirroredGenerator:o,mapPercentToKeyframes:u,keyframes:a,calculatedDuration:l,totalDuration:c,resolvedDuration:d}=i;if(this.startTime===null)return s.next(0);const{delay:f,repeat:h,repeatType:m,repeatDelay:g,onUpdate:p}=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 v=this.currentTime-f*(this.speed>=0?1:-1),C=this.speed>=0?v<0:v>c;this.currentTime=Math.max(v,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=c);let I=this.currentTime,A=s;if(h){const T=Math.min(this.currentTime,c)/d;let G=Math.floor(T),L=T%1;!L&&T>=1&&(L=1),L===1&&G--,G=Math.min(G,h+1),!!(G%2)&&(m==="reverse"?(L=1-L,g&&(L-=g/d)):m==="mirror"&&(A=o)),I=Oe(0,1,L)*d}const b=C?{done:!1,value:a[0]}:A.next(I);u&&(b.value=u(b.value));let{done:S}=b;!C&&l!==null&&(S=this.speed>=0?this.currentTime>=c:this.currentTime<=0);const E=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&S);return E&&r!==void 0&&(b.value=un(a,this.options,r)),p&&p(b.value),E&&this.finish(),b}get duration(){const{resolved:t}=this;return t?Ne(t.calculatedDuration):0}get time(){return Ne(this.currentTime)}set time(t){t=Pe(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=Ne(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:t=Hd,onPlay:n,startTime:i}=this.options;this.driver||(this.driver=t(s=>this.tick(s))),n&&n();const r=this.driver.now();this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=r):this.startTime=i??this.calcStartTime(),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 Jd=new Set(["opacity","clipPath","filter","transform"]);function Ud(e,t,n,{delay:i=0,duration:r=300,repeat:s=0,repeatType:o="loop",ease:u="easeInOut",times:a}={}){const l={[t]:n};a&&(l.offset=a);const c=vs(u,r);return Array.isArray(c)&&(l.easing=c),e.animate(l,{delay:i,duration:r,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:s+1,direction:o==="reverse"?"alternate":"normal"})}const _d=_n(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),dn=10,$d=2e4;function Qd(e){return hi(e.type)||e.type==="spring"||!bs(e.ease)}function Kd(e,t){const n=new Xi({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0});let i={done:!1,value:e[0]};const r=[];let s=0;for(;!i.done&&s<$d;)i=n.sample(s),r.push(i.value),s+=dn;return{times:void 0,keyframes:r,duration:s-dn,ease:"linear"}}const go={anticipate:Ds,backInOut:Ms,circInOut:Os};function qd(e){return e in go}class bo extends io{constructor(t){super(t);const{name:n,motionValue:i,element:r,keyframes:s}=this.options;this.resolver=new to(s,(o,u)=>this.onKeyframesResolved(o,u),n,i,r),this.resolver.scheduleResolve()}initPlayback(t,n){let{duration:i=300,times:r,ease:s,type:o,motionValue:u,name:a,startTime:l}=this.options;if(!u.owner||!u.owner.current)return!1;if(typeof s=="string"&&on()&&qd(s)&&(s=go[s]),Qd(this.options)){const{onComplete:d,onUpdate:f,motionValue:h,element:m,...g}=this.options,p=Kd(t,g);t=p.keyframes,t.length===1&&(t[1]=t[0]),i=p.duration,r=p.times,s=p.ease,o="keyframes"}const c=Ud(u.owner.current,a,t,{...this.options,duration:i,times:r,ease:s});return c.startTime=l??this.calcStartTime(),this.pendingTimeline?(ms(c,this.pendingTimeline),this.pendingTimeline=void 0):c.onfinish=()=>{const{onComplete:d}=this.options;u.set(un(t,this.options,n)),d&&d(),this.cancel(),this.resolveFinishedPromise()},{animation:c,duration:i,times:r,type:o,ease:s,keyframes:t}}get duration(){const{resolved:t}=this;if(!t)return 0;const{duration:n}=t;return Ne(n)}get time(){const{resolved:t}=this;if(!t)return 0;const{animation:n}=t;return Ne(n.currentTime||0)}set time(t){const{resolved:n}=this;if(!n)return;const{animation:i}=n;i.currentTime=Pe(t)}get speed(){const{resolved:t}=this;if(!t)return 1;const{animation:n}=t;return n.playbackRate}set speed(t){const{resolved:n}=this;if(!n)return;const{animation:i}=n;i.playbackRate=t}get state(){const{resolved:t}=this;if(!t)return"idle";const{animation:n}=t;return n.playState}get startTime(){const{resolved:t}=this;if(!t)return null;const{animation:n}=t;return n.startTime}attachTimeline(t){if(!this._resolved)this.pendingTimeline=t;else{const{resolved:n}=this;if(!n)return pe;const{animation:i}=n;ms(i,t)}return pe}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;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:t}=this;if(!t)return;const{animation:n,keyframes:i,duration:r,type:s,ease:o,times:u}=t;if(n.playState==="idle"||n.playState==="finished")return;if(this.time){const{motionValue:l,onUpdate:c,onComplete:d,element:f,...h}=this.options,m=new Xi({...h,keyframes:i,duration:r,type:s,ease:o,times:u,isGenerator:!0}),g=Pe(this.time);l.setWithVelocity(m.sample(g-dn).value,m.sample(g).value,dn)}const{onStop:a}=this.options;a&&a(),this.cancel()}complete(){const{resolved:t}=this;t&&t.animation.finish()}cancel(){const{resolved:t}=this;t&&t.animation.cancel()}static supports(t){const{motionValue:n,name:i,repeatDelay:r,repeatType:s,damping:o,type:u}=t;if(!n||!n.owner||!(n.owner.current instanceof HTMLElement))return!1;const{onUpdate:a,transformTemplate:l}=n.owner.getProps();return _d()&&i&&Jd.has(i)&&!a&&!l&&!r&&s!=="mirror"&&o!==0&&u!=="inertia"}}const ef={type:"spring",stiffness:500,damping:25,restSpeed:10},tf=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),nf={type:"keyframes",duration:.8},rf={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},sf=(e,{keyframes:t})=>t.length>2?nf:Ye.has(e)?e.startsWith("scale")?tf(t[1]):ef:rf;function of({when:e,delay:t,delayChildren:n,staggerChildren:i,staggerDirection:r,repeat:s,repeatType:o,repeatDelay:u,from:a,elapsed:l,...c}){return!!Object.keys(c).length}const Wi=(e,t,n,i={},r,s)=>o=>{const u=di(i,e)||{},a=u.delay||i.delay||0;let{elapsed:l=0}=i;l=l-Pe(a);let c={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...u,delay:-l,onUpdate:f=>{t.set(f),u.onUpdate&&u.onUpdate(f)},onComplete:()=>{o(),u.onComplete&&u.onComplete()},name:e,motionValue:t,element:s?void 0:r};of(u)||(c={...c,...sf(e,c)}),c.duration&&(c.duration=Pe(c.duration)),c.repeatDelay&&(c.repeatDelay=Pe(c.repeatDelay)),c.from!==void 0&&(c.keyframes[0]=c.from);let d=!1;if((c.type===!1||c.duration===0&&!c.repeatDelay)&&(c.duration=0,c.delay===0&&(d=!0)),d&&!s&&t.get()!==void 0){const f=un(c.keyframes,u);if(f!==void 0)return J.update(()=>{c.onUpdate(f),c.onComplete()}),new Ec([])}return!s&&bo.supports(c)?new bo(c):new Xi(c)};function af({protectedKeys:e,needsAnimating:t},n){const i=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,i}function vo(e,t,{delay:n=0,transitionOverride:i,type:r}={}){var s;let{transition:o=e.getDefaultTransition(),transitionEnd:u,...a}=t;i&&(o=i);const l=[],c=r&&e.animationState&&e.animationState.getState()[r];for(const d in a){const f=e.getValue(d,(s=e.latestValues[d])!==null&&s!==void 0?s:null),h=a[d];if(h===void 0||c&&af(c,d))continue;const m={delay:n,...di(o||{},d)};let g=!1;if(window.MotionHandoffAnimation){const v=Vs(e);if(v){const C=window.MotionHandoffAnimation(v,d,J);C!==null&&(m.startTime=C,g=!0)}}Ci(e,d),f.start(Wi(d,f,h,e.shouldReduceMotion&&Es.has(d)?{type:!1}:m,e,g));const p=f.animation;p&&l.push(p)}return u&&Promise.all(l).then(()=>{J.update(()=>{u&&Xc(e,u)})}),l}function ki(e,t,n={}){var i;const r=sn(e,t,n.type==="exit"?(i=e.presenceContext)===null||i===void 0?void 0:i.custom:void 0);let{transition:s=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(s=n.transitionOverride);const o=r?()=>Promise.all(vo(e,r,n)):()=>Promise.resolve(),u=e.variantChildren&&e.variantChildren.size?(l=0)=>{const{delayChildren:c=0,staggerChildren:d,staggerDirection:f}=s;return uf(e,t,c+l,d,f,n)}:()=>Promise.resolve(),{when:a}=s;if(a){const[l,c]=a==="beforeChildren"?[o,u]:[u,o];return l().then(()=>c())}else return Promise.all([o(),u(n.delay)])}function uf(e,t,n=0,i=0,r=1,s){const o=[],u=(e.variantChildren.size-1)*i,a=r===1?(l=0)=>l*i:(l=0)=>u-l*i;return Array.from(e.variantChildren).sort(lf).forEach((l,c)=>{l.notify("AnimationStart",t),o.push(ki(l,t,{...s,delay:n+a(c)}).then(()=>l.notify("AnimationComplete",t)))}),Promise.all(o)}function lf(e,t){return e.sortNodePosition(t)}function cf(e,t,n={}){e.notify("AnimationStart",t);let i;if(Array.isArray(t)){const r=t.map(s=>ki(e,s,n));i=Promise.all(r)}else if(typeof t=="string")i=ki(e,t,n);else{const r=typeof t=="function"?sn(e,t,n.custom):t;i=Promise.all(vo(e,r,n))}return i.then(()=>{e.notify("AnimationComplete",t)})}const df=Kn.length;function yo(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?yo(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<df;n++){const i=Kn[n],r=e.props[i];(yt(r)||r===!1)&&(t[i]=r)}return t}const ff=[...Qn].reverse(),hf=Qn.length;function pf(e){return t=>Promise.all(t.map(({animation:n,options:i})=>cf(e,n,i)))}function mf(e){let t=pf(e),n=Io(),i=!0;const r=a=>(l,c)=>{var d;const f=sn(e,c,a==="exit"?(d=e.presenceContext)===null||d===void 0?void 0:d.custom:void 0);if(f){const{transition:h,transitionEnd:m,...g}=f;l={...l,...g,...m}}return l};function s(a){t=a(e)}function o(a){const{props:l}=e,c=yo(e.parent)||{},d=[],f=new Set;let h={},m=1/0;for(let p=0;p<hf;p++){const v=ff[p],C=n[v],I=l[v]!==void 0?l[v]:c[v],A=yt(I),b=v===a?C.isActive:null;b===!1&&(m=p);let S=I===c[v]&&I!==l[v]&&A;if(S&&i&&e.manuallyAnimateOnMount&&(S=!1),C.protectedKeys={...h},!C.isActive&&b===null||!I&&!C.prevProp||qt(I)||typeof I=="boolean")continue;const E=gf(C.prevProp,I);let T=E||v===a&&C.isActive&&!S&&A||p>m&&A,G=!1;const L=Array.isArray(I)?I:[I];let H=L.reduce(r(v),{});b===!1&&(H={});const{prevResolvedValues:O={}}=C,K={...O,...H},j=X=>{T=!0,f.has(X)&&(G=!0,f.delete(X)),C.needsAnimating[X]=!0;const N=e.getValue(X);N&&(N.liveStyle=!1)};for(const X in K){const N=H[X],q=O[X];if(h.hasOwnProperty(X))continue;let R=!1;ii(N)&&ii(q)?R=!hs(N,q):R=N!==q,R?N!=null?j(X):f.add(X):N!==void 0&&f.has(X)?j(X):C.protectedKeys[X]=!0}C.prevProp=I,C.prevResolvedValues=H,C.isActive&&(h={...h,...H}),i&&e.blockInitialAnimation&&(T=!1),T&&(!(S&&E)||G)&&d.push(...L.map(X=>({animation:X,options:{type:v}})))}if(f.size){const p={};f.forEach(v=>{const C=e.getBaseTarget(v),I=e.getValue(v);I&&(I.liveStyle=!0),p[v]=C??null}),d.push({animation:p})}let g=!!d.length;return i&&(l.initial===!1||l.initial===l.animate)&&!e.manuallyAnimateOnMount&&(g=!1),i=!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 h;return(h=f.animationState)===null||h===void 0?void 0:h.setActive(a,l)}),n[a].isActive=l;const d=o(a);for(const f in n)n[f].protectedKeys={};return d}return{animateChanges:o,setActive:u,setAnimateFunction:s,getState:()=>n,reset:()=>{n=Io(),i=!0}}}function gf(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!hs(t,e):!1}function _e(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Io(){return{animate:_e(!0),whileInView:_e(),whileHover:_e(),whileTap:_e(),whileDrag:_e(),whileFocus:_e(),exit:_e()}}class je{constructor(t){this.isMounted=!1,this.node=t}update(){}}class bf extends je{constructor(t){super(t),t.animationState||(t.animationState=mf(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();qt(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 vf=0;class yf extends je{constructor(){super(...arguments),this.id=vf++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;const r=this.node.animationState.setActive("exit",!t);n&&!t&&r.then(()=>n(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const If={animation:{Feature:bf},exit:{Feature:yf}};function wt(e,t,n,i={passive:!0}){return e.addEventListener(t,n,i),()=>e.removeEventListener(t,n)}function Gt(e){return{point:{x:e.pageX,y:e.pageY}}}const Cf=e=>t=>gi(t)&&e(t,Gt(t));function Bt(e,t,n,i){return wt(e,t,Cf(n),i)}const Co=(e,t)=>Math.abs(e-t);function xf(e,t){const n=Co(e.x,t.x),i=Co(e.y,t.y);return Math.sqrt(n**2+i**2)}class xo{constructor(t,n,{transformPagePoint:i,contextWindow:r,dragSnapToOrigin:s=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const d=Zi(this.lastMoveEventInfo,this.history),f=this.startEvent!==null,h=xf(d.offset,{x:0,y:0})>=3;if(!f&&!h)return;const{point:m}=d,{timestamp:g}=se;this.history.push({...m,timestamp:g});const{onStart:p,onMove:v}=this.handlers;f||(p&&p(this.lastMoveEvent,d),this.startEvent=this.lastMoveEvent),v&&v(this.lastMoveEvent,d)},this.handlePointerMove=(d,f)=>{this.lastMoveEvent=d,this.lastMoveEventInfo=zi(f,this.transformPagePoint),J.update(this.updatePoint,!0)},this.handlePointerUp=(d,f)=>{this.end();const{onEnd:h,onSessionEnd:m,resumeAnimation:g}=this.handlers;if(this.dragSnapToOrigin&&g&&g(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const p=Zi(d.type==="pointercancel"?this.lastMoveEventInfo:zi(f,this.transformPagePoint),this.history);this.startEvent&&h&&h(d,p),m&&m(d,p)},!gi(t))return;this.dragSnapToOrigin=s,this.handlers=n,this.transformPagePoint=i,this.contextWindow=r||window;const o=Gt(t),u=zi(o,this.transformPagePoint),{point:a}=u,{timestamp:l}=se;this.history=[{...a,timestamp:l}];const{onSessionStart:c}=n;c&&c(t,Zi(u,this.history)),this.removeListeners=Vt(Bt(this.contextWindow,"pointermove",this.handlePointerMove),Bt(this.contextWindow,"pointerup",this.handlePointerUp),Bt(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),ze(this.updatePoint)}}function zi(e,t){return t?{point:t(e.point)}:e}function Ao(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Zi({point:e},t){return{point:e,delta:Ao(e,So(t)),offset:Ao(e,Af(t)),velocity:Sf(t,.1)}}function Af(e){return e[0]}function So(e){return e[e.length-1]}function Sf(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,i=null;const r=So(e);for(;n>=0&&(i=e[n],!(r.timestamp-i.timestamp>Pe(t)));)n--;if(!i)return{x:0,y:0};const s=Ne(r.timestamp-i.timestamp);if(s===0)return{x:0,y:0};const o={x:(r.x-i.x)/s,y:(r.y-i.y)/s};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}const Eo=1e-4,Ef=1-Eo,Tf=1+Eo,To=.01,Pf=0-To,Vf=0+To;function be(e){return e.max-e.min}function wf(e,t,n){return Math.abs(e-t)<=n}function Po(e,t,n,i=.5){e.origin=i,e.originPoint=$(t.min,t.max,e.origin),e.scale=be(n)/be(t),e.translate=$(n.min,n.max,e.origin)-e.originPoint,(e.scale>=Ef&&e.scale<=Tf||isNaN(e.scale))&&(e.scale=1),(e.translate>=Pf&&e.translate<=Vf||isNaN(e.translate))&&(e.translate=0)}function Ft(e,t,n,i){Po(e.x,t.x,n.x,i?i.originX:void 0),Po(e.y,t.y,n.y,i?i.originY:void 0)}function Vo(e,t,n){e.min=n.min+t.min,e.max=e.min+be(t)}function Gf(e,t,n){Vo(e.x,t.x,n.x),Vo(e.y,t.y,n.y)}function wo(e,t,n){e.min=t.min-n.min,e.max=e.min+be(t)}function Mt(e,t,n){wo(e.x,t.x,n.x),wo(e.y,t.y,n.y)}function Bf(e,{min:t,max:n},i){return t!==void 0&&e<t?e=i?$(t,e,i.min):Math.max(e,t):n!==void 0&&e>n&&(e=i?$(n,e,i.max):Math.min(e,n)),e}function Go(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 Ff(e,{top:t,left:n,bottom:i,right:r}){return{x:Go(e.x,n,r),y:Go(e.y,t,i)}}function Bo(e,t){let n=t.min-e.min,i=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,i]=[i,n]),{min:n,max:i}}function Mf(e,t){return{x:Bo(e.x,t.x),y:Bo(e.y,t.y)}}function Df(e,t){let n=.5;const i=be(e),r=be(t);return r>i?n=tt(t.min,t.max-i,e.min):i>r&&(n=tt(e.min,e.max-r,t.min)),Oe(0,1,n)}function Nf(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 Hi=.35;function Of(e=Hi){return e===!1?e=0:e===!0&&(e=Hi),{x:Fo(e,"left","right"),y:Fo(e,"top","bottom")}}function Fo(e,t,n){return{min:Mo(e,t),max:Mo(e,n)}}function Mo(e,t){return typeof e=="number"?e:e[t]||0}const Do=()=>({translate:0,scale:1,origin:0,originPoint:0}),ut=()=>({x:Do(),y:Do()}),No=()=>({min:0,max:0}),te=()=>({x:No(),y:No()});function Ie(e){return[e("x"),e("y")]}function Oo({top:e,left:t,right:n,bottom:i}){return{x:{min:t,max:n},y:{min:e,max:i}}}function Lf({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function Rf(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),i=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:i.y,right:i.x}}function ji(e){return e===void 0||e===1}function Yi({scale:e,scaleX:t,scaleY:n}){return!ji(e)||!ji(t)||!ji(n)}function $e(e){return Yi(e)||Lo(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Lo(e){return Ro(e.x)||Ro(e.y)}function Ro(e){return e&&e!=="0%"}function fn(e,t,n){const i=e-n,r=t*i;return n+r}function Xo(e,t,n,i,r){return r!==void 0&&(e=fn(e,r,i)),fn(e,n,i)+t}function Ji(e,t=0,n=1,i,r){e.min=Xo(e.min,t,n,i,r),e.max=Xo(e.max,t,n,i,r)}function Wo(e,{x:t,y:n}){Ji(e.x,t.translate,t.scale,t.originPoint),Ji(e.y,n.translate,n.scale,n.originPoint)}const ko=.999999999999,zo=1.0000000000001;function Xf(e,t,n,i=!1){const r=n.length;if(!r)return;t.x=t.y=1;let s,o;for(let u=0;u<r;u++){s=n[u],o=s.projectionDelta;const{visualElement:a}=s.options;a&&a.props.style&&a.props.style.display==="contents"||(i&&s.options.layoutScroll&&s.scroll&&s!==s.root&&ct(e,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),o&&(t.x*=o.x.scale,t.y*=o.y.scale,Wo(e,o)),i&&$e(s.latestValues)&&ct(e,s.latestValues))}t.x<zo&&t.x>ko&&(t.x=1),t.y<zo&&t.y>ko&&(t.y=1)}function lt(e,t){e.min=e.min+t,e.max=e.max+t}function Zo(e,t,n,i,r=.5){const s=$(e.min,e.max,r);Ji(e,t,n,s,i)}function ct(e,t){Zo(e.x,t.x,t.scaleX,t.scale,t.originX),Zo(e.y,t.y,t.scaleY,t.scale,t.originY)}function Ho(e,t){return Oo(Rf(e.getBoundingClientRect(),t))}function Wf(e,t,n){const i=Ho(e,n),{scroll:r}=t;return r&&(lt(i.x,r.offset.x),lt(i.y,r.offset.y)),i}const jo=({current:e})=>e?e.ownerDocument.defaultView:null,kf=new WeakMap;class zf{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=te(),this.visualElement=t}start(t,{snapToCursor:n=!1}={}){const{presenceContext:i}=this.visualElement;if(i&&i.isPresent===!1)return;const r=c=>{const{dragSnapToOrigin:d}=this.getProps();d?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(Gt(c).point)},s=(c,d)=>{const{drag:f,dragPropagation:h,onDragStart:m}=this.getProps();if(f&&!h&&(this.openDragLock&&this.openDragLock(),this.openDragLock=Dc(f),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Ie(p=>{let v=this.getAxisMotionValue(p).get()||0;if(Ve.test(v)){const{projection:C}=this.visualElement;if(C&&C.layout){const I=C.layout.layoutBox[p];I&&(v=be(I)*(parseFloat(v)/100))}}this.originPoint[p]=v}),m&&J.postRender(()=>m(c,d)),Ci(this.visualElement,"transform");const{animationState:g}=this.visualElement;g&&g.setActive("whileDrag",!0)},o=(c,d)=>{const{dragPropagation:f,dragDirectionLock:h,onDirectionLock:m,onDrag:g}=this.getProps();if(!f&&!this.openDragLock)return;const{offset:p}=d;if(h&&this.currentDirection===null){this.currentDirection=Zf(p),this.currentDirection!==null&&m&&m(this.currentDirection);return}this.updateAxis("x",d.point,p),this.updateAxis("y",d.point,p),this.visualElement.render(),g&&g(c,d)},u=(c,d)=>this.stop(c,d),a=()=>Ie(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 xo(t,{onSessionStart:r,onStart:s,onMove:o,onSessionEnd:u,resumeAnimation:a},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:l,contextWindow:jo(this.visualElement)})}stop(t,n){const i=this.isDragging;if(this.cancel(),!i)return;const{velocity:r}=n;this.startAnimation(r);const{onDragEnd:s}=this.getProps();s&&J.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:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,i){const{drag:r}=this.getProps();if(!i||!hn(t,r,this.currentDirection))return;const s=this.getAxisMotionValue(t);let o=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(o=Bf(o,this.constraints[t],this.elastic[t])),s.set(o)}resolveConstraints(){var t;const{dragConstraints:n,dragElastic:i}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)===null||t===void 0?void 0:t.layout,s=this.constraints;n&&it(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&r?this.constraints=Ff(r.layoutBox,n):this.constraints=!1,this.elastic=Of(i),s!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&Ie(o=>{this.constraints!==!1&&this.getAxisMotionValue(o)&&(this.constraints[o]=Nf(r.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!it(t))return!1;const i=t.current;ke(i!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:r}=this.visualElement;if(!r||!r.layout)return!1;const s=Wf(i,r.root,this.visualElement.getTransformPagePoint());let o=Mf(r.layout.layoutBox,s);if(n){const u=n(Lf(o));this.hasMutatedConstraints=!!u,u&&(o=Oo(u))}return o}startAnimation(t){const{drag:n,dragMomentum:i,dragElastic:r,dragTransition:s,dragSnapToOrigin:o,onDragTransitionEnd:u}=this.getProps(),a=this.constraints||{},l=Ie(c=>{if(!hn(c,n,this.currentDirection))return;let d=a&&a[c]||{};o&&(d={min:0,max:0});const f=r?200:1e6,h=r?40:1e7,m={type:"inertia",velocity:i?t[c]:0,bounceStiffness:f,bounceDamping:h,timeConstant:750,restDelta:1,restSpeed:10,...s,...d};return this.startAxisValueAnimation(c,m)});return Promise.all(l).then(u)}startAxisValueAnimation(t,n){const i=this.getAxisMotionValue(t);return Ci(this.visualElement,t),i.start(Wi(t,i,0,n,this.visualElement,!1))}stopAnimation(){Ie(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){Ie(t=>{var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.pause()})}getAnimationState(t){var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.state}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,i=this.visualElement.getProps(),r=i[n];return r||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){Ie(n=>{const{drag:i}=this.getProps();if(!hn(n,i,this.currentDirection))return;const{projection:r}=this.visualElement,s=this.getAxisMotionValue(n);if(r&&r.layout){const{min:o,max:u}=r.layout.layoutBox[n];s.set(t[n]-$(o,u,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:i}=this.visualElement;if(!it(n)||!i||!this.constraints)return;this.stopAnimation();const r={x:0,y:0};Ie(o=>{const u=this.getAxisMotionValue(o);if(u&&this.constraints!==!1){const a=u.get();r[o]=Df({min:a,max:a},this.constraints[o])}});const{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),Ie(o=>{if(!hn(o,t,null))return;const u=this.getAxisMotionValue(o),{min:a,max:l}=this.constraints[o];u.set($(a,l,r[o]))})}addListeners(){if(!this.visualElement.current)return;kf.set(this.visualElement,this);const t=this.visualElement.current,n=Bt(t,"pointerdown",a=>{const{drag:l,dragListener:c=!0}=this.getProps();l&&c&&this.start(a)}),i=()=>{const{dragConstraints:a}=this.getProps();it(a)&&a.current&&(this.constraints=this.resolveRefConstraints())},{projection:r}=this.visualElement,s=r.addEventListener("measure",i);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),J.read(i);const o=wt(window,"resize",()=>this.scalePositionWithinConstraints()),u=r.addEventListener("didUpdate",(({delta:a,hasLayoutChanged:l})=>{this.isDragging&&l&&(Ie(c=>{const d=this.getAxisMotionValue(c);d&&(this.originPoint[c]+=a[c].translate,d.set(d.get()+a[c].translate))}),this.visualElement.render())}));return()=>{o(),n(),s(),u&&u()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:i=!1,dragPropagation:r=!1,dragConstraints:s=!1,dragElastic:o=Hi,dragMomentum:u=!0}=t;return{...t,drag:n,dragDirectionLock:i,dragPropagation:r,dragConstraints:s,dragElastic:o,dragMomentum:u}}}function hn(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function Zf(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class Hf extends je{constructor(t){super(t),this.removeGroupControls=pe,this.removeListeners=pe,this.controls=new zf(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||pe}unmount(){this.removeGroupControls(),this.removeListeners()}}const Yo=e=>(t,n)=>{e&&J.postRender(()=>e(t,n))};class jf extends je{constructor(){super(...arguments),this.removePointerDownListener=pe}onPointerDown(t){this.session=new xo(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:jo(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:i,onPanEnd:r}=this.node.getProps();return{onSessionStart:Yo(t),onStart:Yo(n),onMove:i,onEnd:(s,o)=>{delete this.session,r&&J.postRender(()=>r(s,o))}}}mount(){this.removePointerDownListener=Bt(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const pn={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Jo(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Dt={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(B.test(e))e=parseFloat(e);else return e;const n=Jo(e,t.target.x),i=Jo(e,t.target.y);return`${n}% ${i}%`}},Yf={correct:(e,{treeScale:t,projectionDelta:n})=>{const i=e,r=He.parse(e);if(r.length>5)return i;const s=He.createTransformer(e),o=typeof r[0]!="number"?1:0,u=n.x.scale*t.x,a=n.y.scale*t.y;r[0+o]/=u,r[1+o]/=a;const l=$(u,a,.5);return typeof r[2+o]=="number"&&(r[2+o]/=l),typeof r[3+o]=="number"&&(r[3+o]/=l),s(r)}};class Jf extends y.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:i,layoutId:r}=this.props,{projection:s}=t;hc(Uf),s&&(n.group&&n.group.add(s),i&&i.register&&r&&i.register(s),s.root.didUpdate(),s.addEventListener("animationComplete",()=>{this.safeToRemove()}),s.setOptions({...s.options,onExitComplete:()=>this.safeToRemove()})),pn.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:i,drag:r,isPresent:s}=this.props,o=i.projection;return o&&(o.isPresent=s,r||t.layoutDependency!==n||n===void 0?o.willUpdate():this.safeToRemove(),t.isPresent!==s&&(s?o.promote():o.relegate()||J.postRender(()=>{const u=o.getStack();(!u||!u.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),ei.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:i}=this.props,{projection:r}=t;r&&(r.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(r),i&&i.deregister&&i.deregister(r))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function Uo(e){const[t,n]=Rr(),i=y.useContext(jn);return x.jsx(Jf,{...e,layoutGroup:i,switchLayoutGroup:y.useContext(_r),isPresent:t,safeToRemove:n})}const Uf={borderRadius:{...Dt,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Dt,borderTopRightRadius:Dt,borderBottomLeftRadius:Dt,borderBottomRightRadius:Dt,boxShadow:Yf};function _f(e,t,n){const i=ce(e)?e:St(e);return i.start(Wi("",i,t,n)),i.animation}function $f(e){return e instanceof SVGElement&&e.tagName!=="svg"}const Qf=(e,t)=>e.depth-t.depth;class Kf{constructor(){this.children=[],this.isDirty=!1}add(t){vi(this.children,t),this.isDirty=!0}remove(t){yi(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(Qf),this.isDirty=!1,this.children.forEach(t)}}function qf(e,t){const n=we.now(),i=({timestamp:r})=>{const s=r-n;s>=t&&(ze(i),e(s-t))};return J.read(i,!0),()=>ze(i)}const _o=["TopLeft","TopRight","BottomLeft","BottomRight"],eh=_o.length,$o=e=>typeof e=="string"?parseFloat(e):e,Qo=e=>typeof e=="number"||B.test(e);function th(e,t,n,i,r,s){r?(e.opacity=$(0,n.opacity!==void 0?n.opacity:1,nh(i)),e.opacityExit=$(t.opacity!==void 0?t.opacity:1,0,ih(i))):s&&(e.opacity=$(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,i));for(let o=0;o<eh;o++){const u=`border${_o[o]}Radius`;let a=Ko(t,u),l=Ko(n,u);if(a===void 0&&l===void 0)continue;a||(a=0),l||(l=0),a===0||l===0||Qo(a)===Qo(l)?(e[u]=Math.max($($o(a),$o(l),i),0),(Ve.test(l)||Ve.test(a))&&(e[u]+="%")):e[u]=l}(t.rotate||n.rotate)&&(e.rotate=$(t.rotate||0,n.rotate||0,i))}function Ko(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const nh=qo(0,.5,Ns),ih=qo(.5,.95,pe);function qo(e,t,n){return i=>i<e?0:i>t?1:n(tt(e,t,i))}function ea(e,t){e.min=t.min,e.max=t.max}function Ce(e,t){ea(e.x,t.x),ea(e.y,t.y)}function ta(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function na(e,t,n,i,r){return e-=t,e=fn(e,1/n,i),r!==void 0&&(e=fn(e,1/r,i)),e}function rh(e,t=0,n=1,i=.5,r,s=e,o=e){if(Ve.test(t)&&(t=parseFloat(t),t=$(o.min,o.max,t/100)-o.min),typeof t!="number")return;let u=$(s.min,s.max,i);e===s&&(u-=t),e.min=na(e.min,t,n,u,r),e.max=na(e.max,t,n,u,r)}function ia(e,t,[n,i,r],s,o){rh(e,t[n],t[i],t[r],t.scale,s,o)}const sh=["x","scaleX","originX"],oh=["y","scaleY","originY"];function ra(e,t,n,i){ia(e.x,t,sh,n?n.x:void 0,i?i.x:void 0),ia(e.y,t,oh,n?n.y:void 0,i?i.y:void 0)}function sa(e){return e.translate===0&&e.scale===1}function oa(e){return sa(e.x)&&sa(e.y)}function aa(e,t){return e.min===t.min&&e.max===t.max}function ah(e,t){return aa(e.x,t.x)&&aa(e.y,t.y)}function ua(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function la(e,t){return ua(e.x,t.x)&&ua(e.y,t.y)}function ca(e){return be(e.x)/be(e.y)}function da(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class uh{constructor(){this.members=[]}add(t){vi(this.members,t),t.scheduleRender()}remove(t){if(yi(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(r=>t===r);if(n===0)return!1;let i;for(let r=n;r>=0;r--){const s=this.members[r];if(s.isPresent!==!1){i=s;break}}return i?(this.promote(i),!0):!1}promote(t,n){const i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,n&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:r}=t.options;r===!1&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:i}=t;n.onExitComplete&&n.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function lh(e,t,n){let i="";const r=e.x.translate/t.x,s=e.y.translate/t.y,o=(n==null?void 0:n.z)||0;if((r||s||o)&&(i=`translate3d(${r}px, ${s}px, ${o}px) `),(t.x!==1||t.y!==1)&&(i+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:l,rotate:c,rotateX:d,rotateY:f,skewX:h,skewY:m}=n;l&&(i=`perspective(${l}px) ${i}`),c&&(i+=`rotate(${c}deg) `),d&&(i+=`rotateX(${d}deg) `),f&&(i+=`rotateY(${f}deg) `),h&&(i+=`skewX(${h}deg) `),m&&(i+=`skewY(${m}deg) `)}const u=e.x.scale*t.x,a=e.y.scale*t.y;return(u!==1||a!==1)&&(i+=`scale(${u}, ${a})`),i||"none"}const Qe={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},Nt=typeof window<"u"&&window.MotionDebug!==void 0,Ui=["","X","Y","Z"],ch={visibility:"hidden"},fa=1e3;let dh=0;function _i(e,t,n,i){const{latestValues:r}=t;r[e]&&(n[e]=r[e],t.setStaticValue(e,0),i&&(i[e]=0))}function ha(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=Vs(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:r,layoutId:s}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",J,!(r||s))}const{parent:i}=e;i&&!i.hasCheckedOptimisedAppear&&ha(i)}function pa({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:i,resetTransform:r}){return class{constructor(o={},u=t==null?void 0:t()){this.id=dh++,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,Nt&&(Qe.totalNodes=Qe.resolvedTargetDeltas=Qe.recalculatedProjection=0),this.nodes.forEach(ph),this.nodes.forEach(yh),this.nodes.forEach(Ih),this.nodes.forEach(mh),Nt&&window.MotionDebug.record(Qe)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=o,this.root=u?u.root||u:this,this.path=u?[...u.path,u]:[],this.parent=u,this.depth=u?u.depth+1:0;for(let a=0;a<this.path.length;a++)this.path[a].shouldResetTransform=!0;this.root===this&&(this.nodes=new Kf)}addEventListener(o,u){return this.eventHandlers.has(o)||this.eventHandlers.set(o,new Ii),this.eventHandlers.get(o).add(u)}notifyListeners(o,...u){const a=this.eventHandlers.get(o);a&&a.notify(...u)}hasListeners(o){return this.eventHandlers.has(o)}mount(o,u=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=$f(o),this.instance=o;const{layoutId:a,layout:l,visualElement:c}=this.options;if(c&&!c.current&&c.mount(o),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),u&&(l||a)&&(this.isLayoutDirty=!0),e){let d;const f=()=>this.root.updateBlockedByResize=!1;e(o,()=>{this.root.updateBlockedByResize=!0,d&&d(),d=qf(f,250),pn.hasAnimatedSinceResize&&(pn.hasAnimatedSinceResize=!1,this.nodes.forEach(ga))})}a&&this.root.registerSharedNode(a,this),this.options.animate!==!1&&c&&(a||l)&&this.addEventListener("didUpdate",({delta:d,hasLayoutChanged:f,hasRelativeTargetChanged:h,layout:m})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const g=this.options.transition||c.getDefaultTransition()||Eh,{onLayoutAnimationStart:p,onLayoutAnimationComplete:v}=c.getProps(),C=!this.targetLayout||!la(this.targetLayout,m)||h,I=!f&&h;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||I||f&&(C||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(d,I);const A={...di(g,"layout"),onPlay:p,onComplete:v};(c.shouldReduceMotion||this.options.layoutRoot)&&(A.delay=0,A.type=!1),this.startAnimation(A)}else f||ga(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=m})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const o=this.getStack();o&&o.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,ze(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(Ch),this.animationId++)}getTransformTemplate(){const{visualElement:o}=this.options;return o&&o.getProps().transformTemplate}willUpdate(o=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&ha(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let c=0;c<this.path.length;c++){const d=this.path[c];d.shouldResetTransform=!0,d.updateScroll("snapshot"),d.options.layoutRoot&&d.willUpdate(!1)}const{layoutId:u,layout:a}=this.options;if(u===void 0&&!a)return;const l=this.getTransformTemplate();this.prevTransformTemplateValue=l?l(this.latestValues,""):void 0,this.updateSnapshot(),o&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(ma);return}this.isUpdating||this.nodes.forEach(bh),this.isUpdating=!1,this.nodes.forEach(vh),this.nodes.forEach(fh),this.nodes.forEach(hh),this.clearAllSnapshots();const u=we.now();se.delta=Oe(0,1e3/60,u-se.timestamp),se.timestamp=u,se.isProcessing=!0,$n.update.process(se),$n.preRender.process(se),$n.render.process(se),se.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,ei.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(gh),this.sharedNodes.forEach(xh)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,J.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){J.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let a=0;a<this.path.length;a++)this.path[a].updateScroll();const o=this.layout;this.layout=this.measure(!1),this.layoutCorrected=te(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:u}=this.options;u&&u.notify("LayoutMeasure",this.layout.layoutBox,o?o.layoutBox:void 0)}updateScroll(o="measure"){let u=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===o&&(u=!1),u){const a=i(this.instance);this.scroll={animationId:this.root.animationId,phase:o,isRoot:a,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:a}}}resetTransform(){if(!r)return;const o=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,u=this.projectionDelta&&!oa(this.projectionDelta),a=this.getTransformTemplate(),l=a?a(this.latestValues,""):void 0,c=l!==this.prevTransformTemplateValue;o&&(u||$e(this.latestValues)||c)&&(r(this.instance,l),this.shouldResetTransform=!1,this.scheduleRender())}measure(o=!0){const u=this.measurePageBox();let a=this.removeElementScroll(u);return o&&(a=this.removeTransform(a)),Th(a),{animationId:this.root.animationId,measuredBox:u,layoutBox:a,latestValues:{},source:this.id}}measurePageBox(){var o;const{visualElement:u}=this.options;if(!u)return te();const a=u.measureViewportBox();if(!(((o=this.scroll)===null||o===void 0?void 0:o.wasRoot)||this.path.some(Ph))){const{scroll:c}=this.root;c&&(lt(a.x,c.offset.x),lt(a.y,c.offset.y))}return a}removeElementScroll(o){var u;const a=te();if(Ce(a,o),!((u=this.scroll)===null||u===void 0)&&u.wasRoot)return a;for(let l=0;l<this.path.length;l++){const c=this.path[l],{scroll:d,options:f}=c;c!==this.root&&d&&f.layoutScroll&&(d.wasRoot&&Ce(a,o),lt(a.x,d.offset.x),lt(a.y,d.offset.y))}return a}applyTransform(o,u=!1){const a=te();Ce(a,o);for(let l=0;l<this.path.length;l++){const c=this.path[l];!u&&c.options.layoutScroll&&c.scroll&&c!==c.root&&ct(a,{x:-c.scroll.offset.x,y:-c.scroll.offset.y}),$e(c.latestValues)&&ct(a,c.latestValues)}return $e(this.latestValues)&&ct(a,this.latestValues),a}removeTransform(o){const u=te();Ce(u,o);for(let a=0;a<this.path.length;a++){const l=this.path[a];if(!l.instance||!$e(l.latestValues))continue;Yi(l.latestValues)&&l.updateSnapshot();const c=te(),d=l.measurePageBox();Ce(c,d),ra(u,l.latestValues,l.snapshot?l.snapshot.layoutBox:void 0,c)}return $e(this.latestValues)&&ra(u,this.latestValues),u}setTargetDelta(o){this.targetDelta=o,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(o){this.options={...this.options,...o,crossfade:o.crossfade!==void 0?o.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==se.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(o=!1){var u;const a=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=a.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=a.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=a.isSharedProjectionDirty);const l=!!this.resumingFrom||this!==a;if(!(o||l&&this.isSharedProjectionDirty||this.isProjectionDirty||!((u=this.parent)===null||u===void 0)&&u.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:d,layoutId:f}=this.options;if(!(!this.layout||!(d||f))){if(this.resolvedRelativeTargetAt=se.timestamp,!this.targetDelta&&!this.relativeTarget){const h=this.getClosestProjectingParent();h&&h.layout&&this.animationProgress!==1?(this.relativeParent=h,this.forceRelativeParentToResolveTarget(),this.relativeTarget=te(),this.relativeTargetOrigin=te(),Mt(this.relativeTargetOrigin,this.layout.layoutBox,h.layout.layoutBox),Ce(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=te(),this.targetWithTransforms=te()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),Gf(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Ce(this.target,this.layout.layoutBox),Wo(this.target,this.targetDelta)):Ce(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const h=this.getClosestProjectingParent();h&&!!h.resumingFrom==!!this.resumingFrom&&!h.options.layoutScroll&&h.target&&this.animationProgress!==1?(this.relativeParent=h,this.forceRelativeParentToResolveTarget(),this.relativeTarget=te(),this.relativeTargetOrigin=te(),Mt(this.relativeTargetOrigin,this.target,h.target),Ce(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}Nt&&Qe.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||Yi(this.parent.latestValues)||Lo(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var o;const u=this.getLead(),a=!!this.resumingFrom||this!==u;let l=!0;if((this.isProjectionDirty||!((o=this.parent)===null||o===void 0)&&o.isProjectionDirty)&&(l=!1),a&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(l=!1),this.resolvedRelativeTargetAt===se.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;Ce(this.layoutCorrected,this.layout.layoutBox);const f=this.treeScale.x,h=this.treeScale.y;Xf(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=te());const{target:m}=u;if(!m){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(ta(this.prevProjectionDelta.x,this.projectionDelta.x),ta(this.prevProjectionDelta.y,this.projectionDelta.y)),Ft(this.projectionDelta,this.layoutCorrected,m,this.latestValues),(this.treeScale.x!==f||this.treeScale.y!==h||!da(this.projectionDelta.x,this.prevProjectionDelta.x)||!da(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",m)),Nt&&Qe.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(o=!0){var u;if((u=this.options.visualElement)===null||u===void 0||u.scheduleRender(),o){const a=this.getStack();a&&a.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=ut(),this.projectionDelta=ut(),this.projectionDeltaWithTransform=ut()}setAnimationOrigin(o,u=!1){const a=this.snapshot,l=a?a.latestValues:{},c={...this.latestValues},d=ut();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!u;const f=te(),h=a?a.source:void 0,m=this.layout?this.layout.source:void 0,g=h!==m,p=this.getStack(),v=!p||p.members.length<=1,C=!!(g&&!v&&this.options.crossfade===!0&&!this.path.some(Sh));this.animationProgress=0;let I;this.mixTargetDelta=A=>{const b=A/1e3;ba(d.x,o.x,b),ba(d.y,o.y,b),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Mt(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Ah(this.relativeTarget,this.relativeTargetOrigin,f,b),I&&ah(this.relativeTarget,I)&&(this.isProjectionDirty=!1),I||(I=te()),Ce(I,this.relativeTarget)),g&&(this.animationValues=c,th(c,l,this.latestValues,b,C,v)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=b},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(o){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(ze(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=J.update(()=>{pn.hasAnimatedSinceResize=!0,this.currentAnimation=_f(0,fa,{...o,onUpdate:u=>{this.mixTargetDelta(u),o.onUpdate&&o.onUpdate(u)},onComplete:()=>{o.onComplete&&o.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const o=this.getStack();o&&o.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(fa),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const o=this.getLead();let{targetWithTransforms:u,target:a,layout:l,latestValues:c}=o;if(!(!u||!a||!l)){if(this!==o&&this.layout&&l&&xa(this.options.animationType,this.layout.layoutBox,l.layoutBox)){a=this.target||te();const d=be(this.layout.layoutBox.x);a.x.min=o.target.x.min,a.x.max=a.x.min+d;const f=be(this.layout.layoutBox.y);a.y.min=o.target.y.min,a.y.max=a.y.min+f}Ce(u,a),ct(u,c),Ft(this.projectionDeltaWithTransform,this.layoutCorrected,u,c)}}registerSharedNode(o,u){this.sharedNodes.has(o)||this.sharedNodes.set(o,new uh),this.sharedNodes.get(o).add(u);const l=u.options.initialPromotionConfig;u.promote({transition:l?l.transition:void 0,preserveFollowOpacity:l&&l.shouldPreserveFollowOpacity?l.shouldPreserveFollowOpacity(u):void 0})}isLead(){const o=this.getStack();return o?o.lead===this:!0}getLead(){var o;const{layoutId:u}=this.options;return u?((o=this.getStack())===null||o===void 0?void 0:o.lead)||this:this}getPrevLead(){var o;const{layoutId:u}=this.options;return u?(o=this.getStack())===null||o===void 0?void 0:o.prevLead:void 0}getStack(){const{layoutId:o}=this.options;if(o)return this.root.sharedNodes.get(o)}promote({needsReset:o,transition:u,preserveFollowOpacity:a}={}){const l=this.getStack();l&&l.promote(this,a),o&&(this.projectionDelta=void 0,this.needsReset=!0),u&&this.setOptions({transition:u})}relegate(){const o=this.getStack();return o?o.relegate(this):!1}resetSkewAndRotation(){const{visualElement:o}=this.options;if(!o)return;let u=!1;const{latestValues:a}=o;if((a.z||a.rotate||a.rotateX||a.rotateY||a.rotateZ||a.skewX||a.skewY)&&(u=!0),!u)return;const l={};a.z&&_i("z",o,l,this.animationValues);for(let c=0;c<Ui.length;c++)_i(`rotate${Ui[c]}`,o,l,this.animationValues),_i(`skew${Ui[c]}`,o,l,this.animationValues);o.render();for(const c in l)o.setStaticValue(c,l[c]),this.animationValues&&(this.animationValues[c]=l[c]);o.scheduleRender()}getProjectionStyles(o){var u,a;if(!this.instance||this.isSVG)return;if(!this.isVisible)return ch;const l={visibility:""},c=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,l.opacity="",l.pointerEvents=tn(o==null?void 0:o.pointerEvents)||"",l.transform=c?c(this.latestValues,""):"none",l;const d=this.getLead();if(!this.projectionDelta||!this.layout||!d.target){const g={};return this.options.layoutId&&(g.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,g.pointerEvents=tn(o==null?void 0:o.pointerEvents)||""),this.hasProjected&&!$e(this.latestValues)&&(g.transform=c?c({},""):"none",this.hasProjected=!1),g}const f=d.animationValues||d.latestValues;this.applyTransformsToTarget(),l.transform=lh(this.projectionDeltaWithTransform,this.treeScale,f),c&&(l.transform=c(f,l.transform));const{x:h,y:m}=this.projectionDelta;l.transformOrigin=`${h.origin*100}% ${m.origin*100}% 0`,d.animationValues?l.opacity=d===this?(a=(u=f.opacity)!==null&&u!==void 0?u:this.latestValues.opacity)!==null&&a!==void 0?a:1:this.preserveOpacity?this.latestValues.opacity:f.opacityExit:l.opacity=d===this?f.opacity!==void 0?f.opacity:"":f.opacityExit!==void 0?f.opacityExit:0;for(const g in rn){if(f[g]===void 0)continue;const{correct:p,applyTo:v}=rn[g],C=l.transform==="none"?f[g]:p(f[g],d);if(v){const I=v.length;for(let A=0;A<I;A++)l[v[A]]=C}else l[g]=C}return this.options.layoutId&&(l.pointerEvents=d===this?tn(o==null?void 0:o.pointerEvents)||"":"none"),l}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(o=>{var u;return(u=o.currentAnimation)===null||u===void 0?void 0:u.stop()}),this.root.nodes.forEach(ma),this.root.sharedNodes.clear()}}}function fh(e){e.updateLayout()}function hh(e){var t;const n=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:i,measuredBox:r}=e.layout,{animationType:s}=e.options,o=n.source!==e.layout.source;s==="size"?Ie(d=>{const f=o?n.measuredBox[d]:n.layoutBox[d],h=be(f);f.min=i[d].min,f.max=f.min+h}):xa(s,n.layoutBox,i)&&Ie(d=>{const f=o?n.measuredBox[d]:n.layoutBox[d],h=be(i[d]);f.max=f.min+h,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[d].max=e.relativeTarget[d].min+h)});const u=ut();Ft(u,i,n.layoutBox);const a=ut();o?Ft(a,e.applyTransform(r,!0),n.measuredBox):Ft(a,i,n.layoutBox);const l=!oa(u);let c=!1;if(!e.resumeFrom){const d=e.getClosestProjectingParent();if(d&&!d.resumeFrom){const{snapshot:f,layout:h}=d;if(f&&h){const m=te();Mt(m,n.layoutBox,f.layoutBox);const g=te();Mt(g,i,h.layoutBox),la(m,g)||(c=!0),d.options.layoutRoot&&(e.relativeTarget=g,e.relativeTargetOrigin=m,e.relativeParent=d)}}}e.notifyListeners("didUpdate",{layout:i,snapshot:n,delta:a,layoutDelta:u,hasLayoutChanged:l,hasRelativeTargetChanged:c})}else if(e.isLead()){const{onExitComplete:i}=e.options;i&&i()}e.options.transition=void 0}function ph(e){Nt&&Qe.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 mh(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function gh(e){e.clearSnapshot()}function ma(e){e.clearMeasurements()}function bh(e){e.isLayoutDirty=!1}function vh(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function ga(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function yh(e){e.resolveTargetDelta()}function Ih(e){e.calcProjection()}function Ch(e){e.resetSkewAndRotation()}function xh(e){e.removeLeadSnapshot()}function ba(e,t,n){e.translate=$(t.translate,0,n),e.scale=$(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function va(e,t,n,i){e.min=$(t.min,n.min,i),e.max=$(t.max,n.max,i)}function Ah(e,t,n,i){va(e.x,t.x,n.x,i),va(e.y,t.y,n.y,i)}function Sh(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const Eh={duration:.45,ease:[.4,0,.1,1]},ya=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),Ia=ya("applewebkit/")&&!ya("chrome/")?Math.round:pe;function Ca(e){e.min=Ia(e.min),e.max=Ia(e.max)}function Th(e){Ca(e.x),Ca(e.y)}function xa(e,t,n){return e==="position"||e==="preserve-aspect"&&!wf(ca(t),ca(n),.2)}function Ph(e){var t;return e!==e.root&&((t=e.scroll)===null||t===void 0?void 0:t.wasRoot)}const Vh=pa({attachResizeListener:(e,t)=>wt(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),$i={current:void 0},Aa=pa({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!$i.current){const e=new Vh({});e.mount(window),e.setOptions({layoutScroll:!0}),$i.current=e}return $i.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),wh={pan:{Feature:jf},drag:{Feature:Hf,ProjectionNode:Aa,MeasureLayout:Uo}};function Sa(e,t,n){const{props:i}=e;e.animationState&&i.whileHover&&e.animationState.setActive("whileHover",n==="Start");const r="onHover"+n,s=i[r];s&&J.postRender(()=>s(t,Gt(t)))}class Gh extends je{mount(){const{current:t}=this.node;t&&(this.unmount=wc(t,n=>(Sa(this.node,n,"Start"),i=>Sa(this.node,i,"End"))))}unmount(){}}class Bh extends je{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=Vt(wt(this.node.current,"focus",()=>this.onFocus()),wt(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function Ea(e,t,n){const{props:i}=e;e.animationState&&i.whileTap&&e.animationState.setActive("whileTap",n==="Start");const r="onTap"+(n==="End"?"":n),s=i[r];s&&J.postRender(()=>s(t,Gt(t)))}class Fh extends je{mount(){const{current:t}=this.node;t&&(this.unmount=Mc(t,n=>(Ea(this.node,n,"Start"),(i,{success:r})=>Ea(this.node,i,r?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const Qi=new WeakMap,Ki=new WeakMap,Mh=e=>{const t=Qi.get(e.target);t&&t(e)},Dh=e=>{e.forEach(Mh)};function Nh({root:e,...t}){const n=e||document;Ki.has(n)||Ki.set(n,{});const i=Ki.get(n),r=JSON.stringify(t);return i[r]||(i[r]=new IntersectionObserver(Dh,{root:e,...t})),i[r]}function Oh(e,t,n){const i=Nh(t);return Qi.set(e,n),i.observe(e),()=>{Qi.delete(e),i.unobserve(e)}}const Lh={some:0,all:1};class Rh extends je{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:i,amount:r="some",once:s}=t,o={root:n?n.current:void 0,rootMargin:i,threshold:typeof r=="number"?r:Lh[r]},u=a=>{const{isIntersecting:l}=a;if(this.isInView===l||(this.isInView=l,s&&!l&&this.hasEnteredView))return;l&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",l);const{onViewportEnter:c,onViewportLeave:d}=this.node.getProps(),f=l?c:d;f&&f(a)};return Oh(this.node.current,o,u)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(Xh(t,n))&&this.startObserver()}unmount(){}}function Xh({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const Wh={inView:{Feature:Rh},tap:{Feature:Fh},focus:{Feature:Bh},hover:{Feature:Gh}},kh={layout:{ProjectionNode:Aa,MeasureLayout:Uo}},qi={current:null},Ta={current:!1};function zh(){if(Ta.current=!0,!!Jn)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>qi.current=e.matches;e.addListener(t),t()}else qi.current=!1}const Zh=[...qs,de,He],Hh=e=>Zh.find(Ks(e)),Pa=new WeakMap;function jh(e,t,n){for(const i in t){const r=t[i],s=n[i];if(ce(r))e.addValue(i,r),process.env.NODE_ENV==="development"&&Qt(r.version==="11.18.2",`Attempting to mix Motion versions ${r.version} with 11.18.2 may not work as expected.`);else if(ce(s))e.addValue(i,St(r,{owner:e}));else if(s!==r)if(e.hasValue(i)){const o=e.getValue(i);o.liveStyle===!0?o.jump(r):o.hasAnimated||o.set(r)}else{const o=e.getStaticValue(i);e.addValue(i,St(o!==void 0?o:r,{owner:e}))}}for(const i in n)t[i]===void 0&&e.removeValue(i);return t}const Va=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class Yh{scrapeMotionValuesFromProps(t,n,i){return{}}constructor({parent:t,props:n,presenceContext:i,reducedMotionConfig:r,blockInitialAnimation:s,visualState:o},u={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Fi,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const h=we.now();this.renderScheduledAt<h&&(this.renderScheduledAt=h,J.render(this.render,!1,!0))};const{latestValues:a,renderState:l,onUpdate:c}=o;this.onUpdate=c,this.latestValues=a,this.baseTarget={...a},this.initialValues=n.initial?{...a}:{},this.renderState=l,this.parent=t,this.props=n,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=r,this.options=u,this.blockInitialAnimation=!!s,this.isControllingVariants=en(n),this.isVariantNode=Yr(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:d,...f}=this.scrapeMotionValuesFromProps(n,{},this);for(const h in f){const m=f[h];a[h]!==void 0&&ce(m)&&m.set(a[h],!1)}}mount(t){this.current=t,Pa.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,i)=>this.bindToMotionValue(i,n)),Ta.current||zh(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:qi.current,process.env.NODE_ENV!=="production"&&Qt(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(){Pa.delete(this.current),this.projection&&this.projection.unmount(),ze(this.notifyUpdate),ze(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),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){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const i=Ye.has(t),r=n.on("change",u=>{this.latestValues[t]=u,this.props.onUpdate&&J.preRender(this.notifyUpdate),i&&this.projection&&(this.projection.isTransformDirty=!0)}),s=n.on("renderRequest",this.scheduleRender);let o;window.MotionCheckAppearSync&&(o=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{r(),s(),o&&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 nt){const n=nt[t];if(!n)continue;const{isEnabled:i,Feature:r}=n;if(!this.features[t]&&r&&i(this.props)&&(this.features[t]=new r(this)),this.features[t]){const s=this.features[t];s.isMounted?s.update():(s.mount(),s.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):te()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let i=0;i<Va.length;i++){const r=Va[i];this.propEventSubscriptions[r]&&(this.propEventSubscriptions[r](),delete this.propEventSubscriptions[r]);const s="on"+r,o=t[s];o&&(this.propEventSubscriptions[r]=this.on(r,o))}this.prevMotionValues=jh(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}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}addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){const i=this.values.get(t);n!==i&&(i&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return i===void 0&&n!==void 0&&(i=St(n===null?void 0:n,{owner:this}),this.addValue(t,i)),i}readValue(t,n){var i;let r=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(i=this.getBaseTargetFromProps(this.props,t))!==null&&i!==void 0?i:this.readValueFromInstance(this.current,t,this.options);return r!=null&&(typeof r=="string"&&($s(r)||Ls(r))?r=parseFloat(r):!Hh(r)&&He.test(n)&&(r=Hs(t,n)),this.setBaseTarget(t,ce(r)?r.get():r)),ce(r)?r.get():r}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var n;const{initial:i}=this.props;let r;if(typeof i=="string"||typeof i=="object"){const o=ni(this.props,i,(n=this.presenceContext)===null||n===void 0?void 0:n.custom);o&&(r=o[t])}if(i&&r!==void 0)return r;const s=this.getBaseTargetFromProps(this.props,t);return s!==void 0&&!ce(s)?s:this.initialValues[t]!==void 0&&r===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new Ii),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class wa extends Yh{constructor(){super(...arguments),this.KeyframeResolver=to}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:i}){delete n[t],delete i[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;ce(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function Jh(e){return window.getComputedStyle(e)}class Uh extends wa{constructor(){super(...arguments),this.type="html",this.renderInstance=os}readValueFromInstance(t,n){if(Ye.has(n)){const i=wi(n);return i&&i.default||0}else{const i=Jh(t),r=(es(n)?i.getPropertyValue(n):i[n])||0;return typeof r=="string"?r.trim():r}}measureInstanceViewportBox(t,{transformPagePoint:n}){return Ho(t,n)}build(t,n,i){oi(t,n,i.transformTemplate)}scrapeMotionValuesFromProps(t,n,i){return ci(t,n,i)}}class _h extends wa{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=te}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(Ye.has(n)){const i=wi(n);return i&&i.default||0}return n=as.has(n)?n:qn(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,i){return cs(t,n,i)}build(t,n,i){ai(t,n,this.isSVGTag,i.transformTemplate)}renderInstance(t,n,i,r){us(t,n,i,r)}mount(t){this.isSVGTag=li(t.tagName),super.mount(t)}}const $h=(e,t)=>ti(e)?new _h(t):new Uh(t,{allowProjection:e!==y.Fragment}),Qh=xc({...If,...Wh,...wh,...kh},$h),dt=Rl(Qh);class Kh{constructor(){this.componentControls=new Set}subscribe(t){return this.componentControls.add(t),()=>this.componentControls.delete(t)}start(t,n){this.componentControls.forEach(i=>{i.start(t.nativeEvent||t,n)})}}const qh=()=>new Kh;function ep(){return Yt(qh)}const tp=e=>{let t=x.jsx(x.Fragment,{});switch(e){case"success":t=x.jsx(hl,{});break;case"info":t=x.jsx(ml,{});break;case"warning":t=x.jsx(gl,{});break;case"error":t=x.jsx(pl,{});break}return{icon:t}},np=e=>{const{id:t,ids:n=[t],type:i,title:r,count:s=1,config:o={},forcePinned:u}=e,{icon:a}=tp(i),l=o.duration??6e3,c=l>0?l:6e3,d=o.dismissible??!0,f=o.copyable??!0,h=kn(),[m,g]=y.useState(!1),[p,v]=y.useState(l<=0||u===!0),[C,I]=y.useState(c),A=y.useRef(null),b=y.useRef(c),S=y.useRef(0),E=y.useRef(l<=0||u===!0),T=y.useRef(u),G=y.useRef(null),L=n.join("|"),H=y.useCallback(()=>{L.split("|").forEach(h.removeToast)},[L,h.removeToast]),O=y.useCallback(()=>{A.current&&(clearTimeout(A.current),A.current=null)},[]),K=y.useCallback(()=>{E.current||b.current<=0||A.current||(S.current=Date.now(),A.current=setTimeout(H,b.current))},[H,l]);y.useEffect(()=>(b.current=c,I(c),K(),()=>{O(),G.current&&clearTimeout(G.current)}),[O,K,c]),y.useEffect(()=>{u===void 0||T.current===u||(T.current=u,E.current=u,v(u),u?(A.current&&(b.current=Math.max(0,b.current-(Date.now()-S.current)),I(b.current)),O()):(b.current=c,I(c),K()))},[O,u,K,c]),y.useEffect(()=>{if(l<=0||p)return;const R=()=>{const _=A.current?Date.now()-S.current:0;I(Math.max(0,b.current-_))};R();const ie=window.setInterval(R,250);return()=>window.clearInterval(ie)},[p,l]);const j=()=>{A.current&&(b.current=Math.max(0,b.current-(Date.now()-S.current)),I(b.current),O())},U=()=>{K()},Y=()=>{const R=!E.current;R&&A.current&&(b.current=Math.max(0,b.current-(Date.now()-S.current)),I(b.current),O()),E.current=R,v(R),R||(b.current<=0&&(b.current=c),I(b.current),K())},X=async()=>{var R;try{if((R=navigator.clipboard)!=null&&R.writeText)await navigator.clipboard.writeText(r);else{const ie=document.createElement("textarea");ie.value=r,ie.style.position="fixed",ie.style.opacity="0",document.body.appendChild(ie),ie.select();const _=document.execCommand("copy");if(ie.remove(),!_)throw new Error("Copy failed")}g(!0),G.current&&clearTimeout(G.current),G.current=setTimeout(()=>g(!1),1800)}catch{g(!1)}},N=Math.max(1,Math.ceil(C/1e3)),q=Math.max(0,Math.min(100,C/c*100));return x.jsx(dt.div,{className:le(D["toast-wrapper"],D[i],s>1&&D["toast-wrapper-multiple"]),initial:{opacity:0,y:-12,scale:.98},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,x:24,scale:.98},transition:{duration:.2,ease:"easeOut"},onFocusCapture:j,onBlurCapture:R=>{R.currentTarget.contains(R.relatedTarget)||U()},children:x.jsxs("div",{className:le(D.toast,D[i],l>0&&D["toast-with-timer"]),role:i==="error"?"alert":"status",children:[x.jsx("div",{className:D["toast-icon"],children:a}),x.jsxs("div",{className:D["toast-content"],children:[x.jsxs("div",{className:D["toast-header"],children:[x.jsxs("div",{className:D["toast-meta"],children:[x.jsx("span",{className:D["toast-type"],children:i}),x.jsxs("span",{className:le(D["toast-count"],s<=1&&D["toast-count-hidden"]),"aria-label":s>1?`${s} occurrences`:void 0,"aria-hidden":s<=1,title:s>1?`${s} occurrences`:void 0,children:[x.jsx(El,{"aria-hidden":"true"}),x.jsx("strong",{"aria-hidden":"true",children:s>99?"99+":s})]})]}),x.jsxs("div",{className:D["toast-actions"],children:[x.jsx("button",{type:"button",className:le(D["toast-action-btn"],p&&D["toast-action-btn-active"]),onClick:Y,"aria-label":p?"Resume auto-dismiss":"Keep notification open","aria-pressed":p,title:p?"Unpin notification":"Pin notification",children:p?x.jsx(Or,{}):x.jsx(Lr,{})}),f&&x.jsx("button",{type:"button",className:D["toast-action-btn"],onClick:X,"aria-label":m?"Message copied":"Copy message",title:m?"Copied":"Copy message",children:m?x.jsx(Zn,{}):x.jsx(xl,{})}),d&&x.jsx("button",{type:"button",className:le(D["toast-action-btn"],D["toast-action-close"]),onClick:H,"aria-label":"Dismiss notification",title:"Dismiss",children:x.jsx(Hn,{})})]})]}),x.jsx("p",{className:D["toast-title"],children:r})]}),l>0&&x.jsxs("button",{type:"button",className:le(D["toast-timer"],p&&D["toast-timer-paused"]),onClick:Y,"aria-label":p?"Auto-dismiss stopped. Click to resume.":`This message will close in ${N} seconds. Click to stop.`,style:{"--toast-progress":`${q}%`},children:[x.jsx(Cl,{className:D["toast-timer-icon"],"aria-hidden":"true"}),x.jsx("span",{className:D["toast-timer-text"],children:p?x.jsxs(x.Fragment,{children:["Auto-dismiss is stopped. ",x.jsx("strong",{children:"Click to resume."})]}):x.jsxs(x.Fragment,{children:["This message will close in ",N," ",N===1?"second":"seconds",". ",x.jsx("strong",{children:"Click to stop."})]})}),x.jsx("span",{className:D["toast-timer-progress"],"aria-hidden":"true"})]})]})})};function ip(e){const{children:t}=e,[n,i]=y.useState(!1);y.useEffect(()=>{i(!0)},[]);const r=document.getElementById("biznext-ui-toast-portal");return n&&r?We.createPortal(t,r):We.createPortal(t,document.body)}const rp=({toasts:e,toastPosition:t="top-center"})=>{const n=kn(),i=y.useId(),[r,s]=y.useState(!1),[o,u]=y.useState(!1),a=y.useRef(new Set),l=new Map;e.forEach(h=>{const m=`${h.type}|${h.title}`;l.has(m)?(l.get(m).count+=1,l.get(m).ids.push(h.id)):l.set(m,{...h,ids:[h.id],count:1})});const c=Array.from(l.values()),d=y.useMemo(()=>e.reduce((h,m)=>({...h,[m.type]:h[m.type]+1}),{error:0,warning:0,success:0,info:0}),[e]);if(y.useEffect(()=>{const h=new Set(e.map(({id:g})=>g));e.some(({id:g})=>!a.current.has(g))&&u(!1),e.length===0&&(s(!1),u(!1)),a.current=h},[e]),e.length===0)return null;const f=()=>{s(!1),e.forEach(({id:h})=>n.removeToast(h))};return x.jsx(ip,{children:x.jsxs("div",{className:le(D["toasts-container"],D[t]),"aria-label":"Notifications",children:[x.jsxs("div",{className:D["toast-status"],"aria-label":`${e.length} notifications`,children:[x.jsxs("button",{type:"button",className:D["status-summary"],onClick:()=>u(h=>!h),"aria-expanded":!o,"aria-controls":i,title:o?"Show notifications":"Collapse notifications",children:[x.jsx("span",{className:D["status-title"],children:"Notifications"}),["error","warning","success","info"].map(h=>x.jsxs("span",{className:le(D["status-stat"],D[`status-${h}`]),title:`${d[h]} ${h}`,children:[x.jsx("span",{className:D["status-dot"],"aria-hidden":"true"}),x.jsx("span",{children:d[h]}),x.jsx("span",{className:D["sr-only"],children:h})]},h)),x.jsx("span",{className:D["status-chevron"],"aria-hidden":"true",children:o?x.jsx(yl,{}):x.jsx(Il,{})})]}),x.jsxs("div",{className:D["status-actions"],children:[x.jsxs("button",{type:"button",className:le(D["status-action"],r&&D["status-action-active"]),onClick:()=>s(h=>!h),"aria-pressed":r,"aria-label":r?"Resume auto-dismiss for all notifications":"Keep all notifications open",title:r?"Resume auto-dismiss for all":"Keep all notifications open",children:[r?x.jsx(Or,{}):x.jsx(Lr,{}),x.jsx("span",{children:r?"Resume all":"Persist all"})]}),x.jsxs("button",{type:"button",className:le(D["status-action"],D["status-action-close"]),onClick:f,"aria-label":"Close all notifications",title:"Close all notifications",children:[x.jsx(Hn,{}),x.jsx("span",{children:"Close all"})]})]})]}),x.jsx(dt.div,{id:i,className:D["toast-list-viewport"],initial:!1,animate:o?{height:0,opacity:0}:{height:"auto",opacity:1},transition:{duration:.18,ease:"easeOut"},"aria-hidden":o,inert:o,children:x.jsx("div",{className:D["toast-list"],children:x.jsx(Un,{initial:!1,children:c.map(h=>x.jsx(np,{...h,forcePinned:r},`${h.type}|${h.title}`))})})})]})})};for(var oe=[],er=0;er<256;++er)oe.push((er+256).toString(16).slice(1));function sp(e,t=0){return(oe[e[t+0]]+oe[e[t+1]]+oe[e[t+2]]+oe[e[t+3]]+"-"+oe[e[t+4]]+oe[e[t+5]]+"-"+oe[e[t+6]]+oe[e[t+7]]+"-"+oe[e[t+8]]+oe[e[t+9]]+"-"+oe[e[t+10]]+oe[e[t+11]]+oe[e[t+12]]+oe[e[t+13]]+oe[e[t+14]]+oe[e[t+15]]).toLowerCase()}var mn,op=new Uint8Array(16);function ap(){if(!mn&&(mn=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!mn))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return mn(op)}var up=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);const Ga={randomUUID:up};function lp(e,t,n){if(Ga.randomUUID&&!e)return Ga.randomUUID();e=e||{};var i=e.random||(e.rng||ap)();return i[6]=i[6]&15|64,i[8]=i[8]&63|128,sp(i)}function cp(){return We.createPortal(x.jsxs("div",{id:"biznext-ui-portal",children:[x.jsx("div",{id:"biznext-ui-modal-portal"}),x.jsx("div",{id:"biznext-ui-toast-portal"}),x.jsx("div",{id:"biznext-ui-confirm-dialog-portal"})]}),document.body)}const ae={"confirm-dialog-overlay":"biznext-ui-ylpaWxEFaTU-c","confirm-dialog":"biznext-ui-4yyscqDACxw-e","with-verification":"biznext-ui-rpPFYWZGetw-a",info:"biznext-ui-wec4qWkj9NU-c",warning:"biznext-ui-mcehjNn9Nl0-9",danger:"biznext-ui-pYq-UQoFMHM-a",success:"biznext-ui-bgVORylkzc0-6","confirm-dialog-close-icon":"biznext-ui-p-dS1gE1lUQ-a","confirm-dialog-body":"biznext-ui-K3-i0eWEQi8-2","confirm-dialog-icon-ring":"biznext-ui-S-5we6ib51I-4","confirm-dialog-icon":"biznext-ui-PSIKxZhvjyo-3","confirm-dialog-copy":"biznext-ui-5d4mFe8-8hI-e","confirm-dialog-verification":"biznext-ui-NN-kzVEZk1g-3","verification-input-shell":"biznext-ui-6NfA36ViKm8-e","verification-input-matched":"biznext-ui-Gt1D6p6DYEI-1","verification-help":"biznext-ui-JOQb0io1ajI-2","verification-help-matched":"biznext-ui-Wm-UdZU22kM-5","confirm-dialog-footer":"biznext-ui-ffcW632vEe0-7","confirm-dialog-cancel-btn":"biznext-ui-WN418UGh91k-5","confirm-dialog-confirm-btn":"biznext-ui-DYDcHcMDZtM-0"};function dp(e){const{children:t}=e,[n,i]=y.useState(!1);y.useEffect(()=>{i(!0)},[]);const r=document.getElementById("biznext-ui-confirm-dialog-portal");return n&&r?We.createPortal(t,r):We.createPortal(t,document.body)}const fp={default:x.jsx(Al,{}),info:x.jsx(Sl,{}),warning:x.jsx(bl,{}),danger:x.jsx(Tl,{}),success:x.jsx(vl,{})},hp=({isOpen:e,onClose:t,config:n})=>{const{type:i="default",title:r,description:s,icon:o,onConfirm:u,buttonContent:a,closeOnOverlayClick:l=!1,verification:c}=n,d=y.useRef(null),f=y.useRef(null),h=y.useRef(null),[m,g]=y.useState(""),p=y.useId(),v=y.useId(),C=y.useId(),I=y.useId(),A=fp[i],b=!!(c!=null&&c.expectedText),S=(c==null?void 0:c.expectedText)??"",E=(c==null?void 0:c.autoUppercase)??!1,T=E?S.toLocaleUpperCase():S,G=(c==null?void 0:c.caseSensitive)??!0,L=G?m:m.toLocaleLowerCase(),H=G?T:T.toLocaleLowerCase(),O=!b||L===H;y.useEffect(()=>{if(!e)return;const j=document.activeElement,U=requestAnimationFrame(()=>{var N,q;b?(N=h.current)==null||N.focus():(q=f.current)==null||q.focus()}),Y=document.body.style.overflow;document.body.style.overflow="hidden";const X=N=>{if(N.key==="Escape"){N.preventDefault(),t();return}if(N.key!=="Tab"||!d.current)return;const q=Array.from(d.current.querySelectorAll('button:not([disabled]), input:not([disabled]), [href], [tabindex]:not([tabindex="-1"])')),R=q[0],ie=q[q.length-1];N.shiftKey&&document.activeElement===R?(N.preventDefault(),ie==null||ie.focus()):!N.shiftKey&&document.activeElement===ie&&(N.preventDefault(),R==null||R.focus())};return document.addEventListener("keydown",X),()=>{cancelAnimationFrame(U),document.removeEventListener("keydown",X),document.body.style.overflow=Y,j==null||j.focus()}},[e,t,b]),y.useEffect(()=>{e&&g("")},[S,e]);const K=()=>{O&&(u(),t())};return x.jsx(dp,{children:x.jsx(Un,{children:e&&x.jsx(dt.div,{className:ae["confirm-dialog-overlay"],initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.18},onMouseDown:j=>{l&&j.target===j.currentTarget&&t()},children:x.jsxs(dt.div,{ref:d,className:le(ae["confirm-dialog"],ae[i],b&&ae["with-verification"]),role:i==="danger"||i==="warning"?"alertdialog":"dialog","aria-modal":"true","aria-labelledby":p,"aria-describedby":v,initial:{opacity:0,y:12,scale:.98},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:8,scale:.98},transition:{duration:.2,ease:"easeOut"},children:[x.jsx("button",{type:"button",className:ae["confirm-dialog-close-icon"],onClick:t,"aria-label":"Close dialog",children:x.jsx(Hn,{})}),x.jsxs("div",{className:ae["confirm-dialog-body"],children:[x.jsx("div",{className:ae["confirm-dialog-icon-ring"],"aria-hidden":"true",children:x.jsx("div",{className:ae["confirm-dialog-icon"],children:o??A})}),x.jsxs("div",{className:ae["confirm-dialog-copy"],children:[x.jsx("h2",{id:p,children:r}),x.jsx("p",{id:v,children:s})]}),b&&x.jsxs("div",{className:ae["confirm-dialog-verification"],children:[x.jsx("label",{htmlFor:C,children:(c==null?void 0:c.label)??"Confirmation text"}),x.jsxs("div",{className:le(ae["verification-input-shell"],O&&ae["verification-input-matched"]),children:[x.jsx("input",{ref:h,id:C,value:m,onChange:j=>g(E?j.target.value.toLocaleUpperCase():j.target.value),onKeyDown:j=>{j.key==="Enter"&&O&&K()},placeholder:(c==null?void 0:c.placeholder)??T,"aria-describedby":I,autoComplete:"off",autoCapitalize:E?"characters":"none",spellCheck:!1}),O&&x.jsx(Zn,{"aria-hidden":"true"})]}),x.jsx("span",{id:I,className:le(ae["verification-help"],O&&ae["verification-help-matched"]),"aria-live":"polite",children:O?x.jsxs(x.Fragment,{children:[x.jsx(Zn,{"aria-hidden":"true"})," Text matches. Confirmation unlocked."]}):(c==null?void 0:c.helperText)??`Enter ${G?"the exact phrase":"the phrase"} “${T}”.`})]})]}),x.jsxs("div",{className:ae["confirm-dialog-footer"],children:[x.jsx("button",{ref:f,type:"button",className:ae["confirm-dialog-cancel-btn"],onClick:t,children:(a==null?void 0:a.onCloseTitle)??"Cancel"}),x.jsx("button",{type:"button",className:ae["confirm-dialog-confirm-btn"],onClick:K,disabled:!O,"aria-disabled":!O,children:(a==null?void 0:a.onConfirmTitle)??"Confirm"})]})]})})})})},Ba=y.createContext({}),pp=({children:e,toastPosition:t})=>{const n={toasts:[]},[i,r]=y.useReducer(nl,n),s=y.useCallback((I,A,b)=>{const S=lp();r({type:"ADD_TOAST",payload:{id:S,title:A,type:I,config:b}})},[]),o=y.useCallback(I=>{r({type:"DELETE_TOAST",payload:{id:I}})},[]),u=y.useCallback((I,A)=>{s("success",I,A)},[s]),a=y.useCallback((I,A)=>{s("warning",I,A)},[s]),l=y.useCallback((I,A)=>{s("info",I,A)},[s]),c=y.useCallback((I,A)=>{s("error",I,A)},[s]),d=y.useMemo(()=>({success:u,warning:a,info:l,error:c,removeToast:o}),[c,l,o,u,a]),[f,h]=y.useState({}),[m,g]=y.useState(!1),p=y.useCallback(I=>{h(I),g(!0)},[]),v=y.useCallback(()=>{g(!1)},[]),C=p;return x.jsx(Gr.Provider,{value:d,children:x.jsxs(Ba.Provider,{value:C,children:[x.jsx(cp,{}),x.jsx(rp,{toasts:i.toasts,toastPosition:t}),x.jsx(hp,{isOpen:m,onClose:v,config:f}),e]})})},Ae={modal:"biznext-ui-Mao59ye15po-3","modal-wrapper":"biznext-ui-n2Vjx4mdikE-9","modal-overlay":"biznext-ui-6sKjk6L11EQ-e",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 mp(e){return re({attr:{viewBox:"0 0 352 512"},child:[{tag:"path",attr:{d:"M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"},child:[]}]})(e)}function gp(e){const{children:t}=e,[n,i]=y.useState(!1);y.useEffect(()=>{i(!0)},[]);const r=document.getElementById("biznext-ui-modal-portal");return n&&r?We.createPortal(t,r):We.createPortal(t,document.body)}const tr=y.createContext({onClose:()=>console.warn("Biznext-UI-Modal: Close Function Missing!"),dragControls:void 0,draggable:!1}),ft=e=>{const{type:t,index:n,height:i,width:r,draggable:s,sx:o,isOpen:u,onClose:a,children:l}=e,c=9999+(n||0),d=ep(),f=y.useRef(null),[h,m]=y.useState(!1),[g,p]=y.useState({left:0,right:0,top:0,bottom:0});y.useEffect(()=>{m(!0)},[]);const v=()=>{if(!f.current)return;const C=f.current.getBoundingClientRect(),I=-C.left,A=window.innerWidth-C.right,b=-C.top,S=window.innerHeight-C.bottom,E=8;p({left:I+E,right:A-E,top:b+E,bottom:S-E})};return y.useEffect(()=>{u&&requestAnimationFrame(()=>{v()});const C=()=>{v()};return window.addEventListener("resize",C),()=>window.removeEventListener("resize",C)},[u,i,r]),x.jsx(tr.Provider,{value:{onClose:a,dragControls:d,draggable:s},children:h?x.jsx(gp,{children:x.jsx(Un,{children:u&&x.jsxs("div",{className:Ae["modal-wrapper"],children:[x.jsx(dt.div,{className:Ae["modal-overlay"],style:{zIndex:c},initial:{opacity:0},animate:{opacity:1},exit:{opacity:0}}),x.jsx(dt.div,{ref:f,className:le(Ae.modal,Ae[t]),style:{height:i,width:r,zIndex:c,...o},initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.95},drag:s,dragControls:d,dragListener:!1,dragMomentum:!1,dragElastic:0,dragConstraints:g,children:l})]})})}):null})},bp=({children:e})=>x.jsx("div",{className:Ae["modal-content"],children:e}),vp=({children:e})=>{const{onClose:t,dragControls:n,draggable:i}=y.useContext(tr);return x.jsxs("header",{id:"handle",className:Ae["modal-header"],onPointerDown:r=>{i&&n.start(r)},style:{cursor:i?"move":"default"},children:[e,x.jsx("button",{type:"button",className:Ae["module-header-close-btn"],onClick:t,children:x.jsx(mp,{})})]})},yp=({children:e})=>x.jsx("h2",{className:Ae["modal-title"],children:e}),Ip=({children:e})=>x.jsx("div",{className:Ae["modal-body"],children:e}),Cp=e=>{const{children:t,closeTitle:n}=e,{onClose:i}=y.useContext(tr);return x.jsxs("footer",{className:Ae["modal-footer"],children:[t,x.jsx("button",{type:"button",className:Ae["modal-footer-close-btn"],onClick:i,children:n||"Cancel"})]})};ft.Content=bp,ft.Header=vp,ft.Title=yp,ft.Body=Ip,ft.Footer=Cp;const xp=()=>y.useContext(Ba),Se={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 Ke(e){"@babel/helpers - typeof";return Ke=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},Ke(e)}function Ap(e,t){if(Ke(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t);if(Ke(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Fa(e){var t=Ap(e,"string");return Ke(t)=="symbol"?t:t+""}function Ot(e,t,n){return(t=Fa(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ma(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,i)}return n}function w(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Ma(Object(n),!0).forEach(function(i){Ot(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ma(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function Sp(e){if(Array.isArray(e))return e}function Ep(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var i,r,s,o,u=[],a=!0,l=!1;try{if(s=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;a=!1}else for(;!(a=(i=s.call(n)).done)&&(u.push(i.value),u.length!==t);a=!0);}catch(c){l=!0,r=c}finally{try{if(!a&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw r}}return u}}function nr(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}function Da(e,t){if(e){if(typeof e=="string")return nr(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)?nr(e,t):void 0}}function Tp(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
14
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Le(e,t){return Sp(e)||Ep(e,t)||Da(e,t)||Tp()}function Pp(e,t){if(e==null)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(t.indexOf(i)!==-1)continue;n[i]=e[i]}return n}function Re(e,t){if(e==null)return{};var n,i,r=Pp(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(i=0;i<s.length;i++)n=s[i],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var Vp=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function wp(e){var t=e.defaultInputValue,n=t===void 0?"":t,i=e.defaultMenuIsOpen,r=i===void 0?!1:i,s=e.defaultValue,o=s===void 0?null:s,u=e.inputValue,a=e.menuIsOpen,l=e.onChange,c=e.onInputChange,d=e.onMenuClose,f=e.onMenuOpen,h=e.value,m=Re(e,Vp),g=y.useState(u!==void 0?u:n),p=Le(g,2),v=p[0],C=p[1],I=y.useState(a!==void 0?a:r),A=Le(I,2),b=A[0],S=A[1],E=y.useState(h!==void 0?h:o),T=Le(E,2),G=T[0],L=T[1],H=y.useCallback(function(N,q){typeof l=="function"&&l(N,q),L(N)},[l]),O=y.useCallback(function(N,q){var R;typeof c=="function"&&(R=c(N,q)),C(R!==void 0?R:N)},[c]),K=y.useCallback(function(){typeof f=="function"&&f(),S(!0)},[f]),j=y.useCallback(function(){typeof d=="function"&&d(),S(!1)},[d]),U=u!==void 0?u:v,Y=a!==void 0?a:b,X=h!==void 0?h:G;return w(w({},m),{},{inputValue:U,menuIsOpen:Y,onChange:H,onInputChange:O,onMenuClose:j,onMenuOpen:K,value:X})}function F(){return F=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},F.apply(null,arguments)}function Gp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Na(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,Fa(i.key),i)}}function Bp(e,t,n){return t&&Na(e.prototype,t),n&&Na(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function ir(e,t){return ir=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},ir(e,t)}function Fp(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&&ir(e,t)}function gn(e){return gn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},gn(e)}function Oa(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Oa=function(){return!!e})()}function Mp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dp(e,t){if(t&&(Ke(t)=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Mp(e)}function Np(e){var t=Oa();return function(){var n,i=gn(e);if(t){var r=gn(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return Dp(this,n)}}function Op(e){if(Array.isArray(e))return nr(e)}function Lp(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Rp(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
15
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function rr(e){return Op(e)||Lp(e)||Da(e)||Rp()}function Xp(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 Wp(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 kp=(function(){function e(n){var i=this;this._insertTag=function(r){var s;i.tags.length===0?i.insertionPoint?s=i.insertionPoint.nextSibling:i.prepend?s=i.container.firstChild:s=i.before:s=i.tags[i.tags.length-1].nextSibling,i.container.insertBefore(r,s),i.tags.push(r)},this.isSpeedy=n.speedy===void 0?!0:n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(i){i.forEach(this._insertTag)},t.insert=function(i){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(Wp(this));var r=this.tags[this.tags.length-1];if(this.isSpeedy){var s=Xp(r);try{s.insertRule(i,s.cssRules.length)}catch{}}else r.appendChild(document.createTextNode(i));this.ctr++},t.flush=function(){this.tags.forEach(function(i){var r;return(r=i.parentNode)==null?void 0:r.removeChild(i)}),this.tags=[],this.ctr=0},e})(),fe="-ms-",bn="-moz-",W="-webkit-",La="comm",sr="rule",or="decl",zp="@import",Ra="@keyframes",Zp="@layer",Hp=Math.abs,vn=String.fromCharCode,jp=Object.assign;function Yp(e,t){return ue(e,0)^45?(((t<<2^ue(e,0))<<2^ue(e,1))<<2^ue(e,2))<<2^ue(e,3):0}function Xa(e){return e.trim()}function Jp(e,t){return(e=t.exec(e))?e[0]:e}function k(e,t,n){return e.replace(t,n)}function ar(e,t){return e.indexOf(t)}function ue(e,t){return e.charCodeAt(t)|0}function Lt(e,t,n){return e.slice(t,n)}function Ge(e){return e.length}function ur(e){return e.length}function yn(e,t){return t.push(e),e}function Up(e,t){return e.map(t).join("")}var In=1,ht=1,Wa=0,me=0,ne=0,pt="";function Cn(e,t,n,i,r,s,o){return{value:e,root:t,parent:n,type:i,props:r,children:s,line:In,column:ht,length:o,return:""}}function Rt(e,t){return jp(Cn("",null,null,"",null,null,0),e,{length:-e.length},t)}function _p(){return ne}function $p(){return ne=me>0?ue(pt,--me):0,ht--,ne===10&&(ht=1,In--),ne}function ve(){return ne=me<Wa?ue(pt,me++):0,ht++,ne===10&&(ht=1,In++),ne}function Be(){return ue(pt,me)}function xn(){return me}function Xt(e,t){return Lt(pt,e,t)}function Wt(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 ka(e){return In=ht=1,Wa=Ge(pt=e),me=0,[]}function za(e){return pt="",e}function An(e){return Xa(Xt(me-1,lr(e===91?e+2:e===40?e+1:e)))}function Qp(e){for(;(ne=Be())&&ne<33;)ve();return Wt(e)>2||Wt(ne)>3?"":" "}function Kp(e,t){for(;--t&&ve()&&!(ne<48||ne>102||ne>57&&ne<65||ne>70&&ne<97););return Xt(e,xn()+(t<6&&Be()==32&&ve()==32))}function lr(e){for(;ve();)switch(ne){case e:return me;case 34:case 39:e!==34&&e!==39&&lr(ne);break;case 40:e===41&&lr(e);break;case 92:ve();break}return me}function qp(e,t){for(;ve()&&e+ne!==57;)if(e+ne===84&&Be()===47)break;return"/*"+Xt(t,me-1)+"*"+vn(e===47?e:ve())}function em(e){for(;!Wt(Be());)ve();return Xt(e,me)}function tm(e){return za(Sn("",null,null,null,[""],e=ka(e),0,[0],e))}function Sn(e,t,n,i,r,s,o,u,a){for(var l=0,c=0,d=o,f=0,h=0,m=0,g=1,p=1,v=1,C=0,I="",A=r,b=s,S=i,E=I;p;)switch(m=C,C=ve()){case 40:if(m!=108&&ue(E,d-1)==58){ar(E+=k(An(C),"&","&\f"),"&\f")!=-1&&(v=-1);break}case 34:case 39:case 91:E+=An(C);break;case 9:case 10:case 13:case 32:E+=Qp(m);break;case 92:E+=Kp(xn()-1,7);continue;case 47:switch(Be()){case 42:case 47:yn(nm(qp(ve(),xn()),t,n),a);break;default:E+="/"}break;case 123*g:u[l++]=Ge(E)*v;case 125*g:case 59:case 0:switch(C){case 0:case 125:p=0;case 59+c:v==-1&&(E=k(E,/\f/g,"")),h>0&&Ge(E)-d&&yn(h>32?Ha(E+";",i,n,d-1):Ha(k(E," ","")+";",i,n,d-2),a);break;case 59:E+=";";default:if(yn(S=Za(E,t,n,l,c,r,u,I,A=[],b=[],d),s),C===123)if(c===0)Sn(E,t,S,S,A,s,d,u,b);else switch(f===99&&ue(E,3)===110?100:f){case 100:case 108:case 109:case 115:Sn(e,S,S,i&&yn(Za(e,S,S,0,0,r,u,I,r,A=[],d),b),r,b,d,u,i?A:b);break;default:Sn(E,S,S,S,[""],b,0,u,b)}}l=c=h=0,g=v=1,I=E="",d=o;break;case 58:d=1+Ge(E),h=m;default:if(g<1){if(C==123)--g;else if(C==125&&g++==0&&$p()==125)continue}switch(E+=vn(C),C*g){case 38:v=c>0?1:(E+="\f",-1);break;case 44:u[l++]=(Ge(E)-1)*v,v=1;break;case 64:Be()===45&&(E+=An(ve())),f=Be(),c=d=Ge(I=E+=em(xn())),C++;break;case 45:m===45&&Ge(E)==2&&(g=0)}}return s}function Za(e,t,n,i,r,s,o,u,a,l,c){for(var d=r-1,f=r===0?s:[""],h=ur(f),m=0,g=0,p=0;m<i;++m)for(var v=0,C=Lt(e,d+1,d=Hp(g=o[m])),I=e;v<h;++v)(I=Xa(g>0?f[v]+" "+C:k(C,/&\f/g,f[v])))&&(a[p++]=I);return Cn(e,t,n,r===0?sr:u,a,l,c)}function nm(e,t,n){return Cn(e,t,n,La,vn(_p()),Lt(e,2,-2),0)}function Ha(e,t,n,i){return Cn(e,t,n,or,Lt(e,0,i),Lt(e,i+1,-1),i)}function mt(e,t){for(var n="",i=ur(e),r=0;r<i;r++)n+=t(e[r],r,e,t)||"";return n}function im(e,t,n,i){switch(e.type){case Zp:if(e.children.length)break;case zp:case or:return e.return=e.return||e.value;case La:return"";case Ra:return e.return=e.value+"{"+mt(e.children,i)+"}";case sr:e.value=e.props.join(",")}return Ge(n=mt(e.children,i))?e.return=e.value+"{"+n+"}":""}function rm(e){var t=ur(e);return function(n,i,r,s){for(var o="",u=0;u<t;u++)o+=e[u](n,i,r,s)||"";return o}}function sm(e){return function(t){t.root||(t=t.return)&&e(t)}}function om(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var am=function(t,n,i){for(var r=0,s=0;r=s,s=Be(),r===38&&s===12&&(n[i]=1),!Wt(s);)ve();return Xt(t,me)},um=function(t,n){var i=-1,r=44;do switch(Wt(r)){case 0:r===38&&Be()===12&&(n[i]=1),t[i]+=am(me-1,n,i);break;case 2:t[i]+=An(r);break;case 4:if(r===44){t[++i]=Be()===58?"&\f":"",n[i]=t[i].length;break}default:t[i]+=vn(r)}while(r=ve());return t},lm=function(t,n){return za(um(ka(t),n))},ja=new WeakMap,cm=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var n=t.value,i=t.parent,r=t.column===i.column&&t.line===i.line;i.type!=="rule";)if(i=i.parent,!i)return;if(!(t.props.length===1&&n.charCodeAt(0)!==58&&!ja.get(i))&&!r){ja.set(t,!0);for(var s=[],o=lm(n,s),u=i.props,a=0,l=0;a<o.length;a++)for(var c=0;c<u.length;c++,l++)t.props[l]=s[a]?o[a].replace(/&\f/g,u[c]):u[c]+" "+o[a]}}},dm=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}};function Ya(e,t){switch(Yp(e,t)){case 5103:return W+"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 W+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return W+e+bn+e+fe+e+e;case 6828:case 4268:return W+e+fe+e+e;case 6165:return W+e+fe+"flex-"+e+e;case 5187:return W+e+k(e,/(\w+).+(:[^]+)/,W+"box-$1$2"+fe+"flex-$1$2")+e;case 5443:return W+e+fe+"flex-item-"+k(e,/flex-|-self/,"")+e;case 4675:return W+e+fe+"flex-line-pack"+k(e,/align-content|flex-|-self/,"")+e;case 5548:return W+e+fe+k(e,"shrink","negative")+e;case 5292:return W+e+fe+k(e,"basis","preferred-size")+e;case 6060:return W+"box-"+k(e,"-grow","")+W+e+fe+k(e,"grow","positive")+e;case 4554:return W+k(e,/([^-])(transform)/g,"$1"+W+"$2")+e;case 6187:return k(k(k(e,/(zoom-|grab)/,W+"$1"),/(image-set)/,W+"$1"),e,"")+e;case 5495:case 3959:return k(e,/(image-set\([^]*)/,W+"$1$`$1");case 4968:return k(k(e,/(.+:)(flex-)?(.*)/,W+"box-pack:$3"+fe+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+W+e+e;case 4095:case 3583:case 4068:case 2532:return k(e,/(.+)-inline(.+)/,W+"$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(Ge(e)-1-t>6)switch(ue(e,t+1)){case 109:if(ue(e,t+4)!==45)break;case 102:return k(e,/(.+:)(.+)-([^]+)/,"$1"+W+"$2-$3$1"+bn+(ue(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~ar(e,"stretch")?Ya(k(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(ue(e,t+1)!==115)break;case 6444:switch(ue(e,Ge(e)-3-(~ar(e,"!important")&&10))){case 107:return k(e,":",":"+W)+e;case 101:return k(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+W+(ue(e,14)===45?"inline-":"")+"box$3$1"+W+"$2$3$1"+fe+"$2box$3")+e}break;case 5936:switch(ue(e,t+11)){case 114:return W+e+fe+k(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return W+e+fe+k(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return W+e+fe+k(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return W+e+fe+e+e}return e}var fm=function(t,n,i,r){if(t.length>-1&&!t.return)switch(t.type){case or:t.return=Ya(t.value,t.length);break;case Ra:return mt([Rt(t,{value:k(t.value,"@","@"+W)})],r);case sr:if(t.length)return Up(t.props,function(s){switch(Jp(s,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return mt([Rt(t,{props:[k(s,/:(read-\w+)/,":"+bn+"$1")]})],r);case"::placeholder":return mt([Rt(t,{props:[k(s,/:(plac\w+)/,":"+W+"input-$1")]}),Rt(t,{props:[k(s,/:(plac\w+)/,":"+bn+"$1")]}),Rt(t,{props:[k(s,/:(plac\w+)/,fe+"input-$1")]})],r)}return""})}},hm=[fm],pm=function(t){var n=t.key;if(n==="css"){var i=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(i,function(g){var p=g.getAttribute("data-emotion");p.indexOf(" ")!==-1&&(document.head.appendChild(g),g.setAttribute("data-s",""))})}var r=t.stylisPlugins||hm,s={},o,u=[];o=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(g){for(var p=g.getAttribute("data-emotion").split(" "),v=1;v<p.length;v++)s[p[v]]=!0;u.push(g)});var a,l=[cm,dm];{var c,d=[im,sm(function(g){c.insert(g)})],f=rm(l.concat(r,d)),h=function(p){return mt(tm(p),f)};a=function(p,v,C,I){c=C,h(p?p+"{"+v.styles+"}":v.styles),I&&(m.inserted[v.name]=!0)}}var m={key:n,sheet:new kp({key:n,container:o,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:s,registered:{},insert:a};return m.sheet.hydrate(u),m},En={exports:{}},z={};/** @license React v16.13.1
|
|
16
16
|
* react-is.production.min.js
|
|
17
17
|
*
|
|
18
18
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
19
19
|
*
|
|
20
20
|
* This source code is licensed under the MIT license found in the
|
|
21
21
|
* LICENSE file in the root directory of this source tree.
|
|
22
|
-
*/var
|
|
22
|
+
*/var Ja;function mm(){if(Ja)return z;Ja=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,i=e?Symbol.for("react.fragment"):60107,r=e?Symbol.for("react.strict_mode"):60108,s=e?Symbol.for("react.profiler"):60114,o=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,a=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,c=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,f=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,p=e?Symbol.for("react.fundamental"):60117,v=e?Symbol.for("react.responder"):60118,C=e?Symbol.for("react.scope"):60119;function I(b){if(typeof b=="object"&&b!==null){var S=b.$$typeof;switch(S){case t:switch(b=b.type,b){case a:case l:case i:case s:case r:case d:return b;default:switch(b=b&&b.$$typeof,b){case u:case c:case m:case h:case o:return b;default:return S}}case n:return S}}}function A(b){return I(b)===l}return z.AsyncMode=a,z.ConcurrentMode=l,z.ContextConsumer=u,z.ContextProvider=o,z.Element=t,z.ForwardRef=c,z.Fragment=i,z.Lazy=m,z.Memo=h,z.Portal=n,z.Profiler=s,z.StrictMode=r,z.Suspense=d,z.isAsyncMode=function(b){return A(b)||I(b)===a},z.isConcurrentMode=A,z.isContextConsumer=function(b){return I(b)===u},z.isContextProvider=function(b){return I(b)===o},z.isElement=function(b){return typeof b=="object"&&b!==null&&b.$$typeof===t},z.isForwardRef=function(b){return I(b)===c},z.isFragment=function(b){return I(b)===i},z.isLazy=function(b){return I(b)===m},z.isMemo=function(b){return I(b)===h},z.isPortal=function(b){return I(b)===n},z.isProfiler=function(b){return I(b)===s},z.isStrictMode=function(b){return I(b)===r},z.isSuspense=function(b){return I(b)===d},z.isValidElementType=function(b){return typeof b=="string"||typeof b=="function"||b===i||b===l||b===s||b===r||b===d||b===f||typeof b=="object"&&b!==null&&(b.$$typeof===m||b.$$typeof===h||b.$$typeof===o||b.$$typeof===u||b.$$typeof===c||b.$$typeof===p||b.$$typeof===v||b.$$typeof===C||b.$$typeof===g)},z.typeOf=I,z}var Z={};/** @license React v16.13.1
|
|
23
23
|
* react-is.development.js
|
|
24
24
|
*
|
|
25
25
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
26
26
|
*
|
|
27
27
|
* This source code is licensed under the MIT license found in the
|
|
28
28
|
* LICENSE file in the root directory of this source tree.
|
|
29
|
-
*/var Ha;function hm(){return Ha||(Ha=1,process.env.NODE_ENV!=="production"&&(function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,i=e?Symbol.for("react.fragment"):60107,r=e?Symbol.for("react.strict_mode"):60108,s=e?Symbol.for("react.profiler"):60114,o=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,a=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,c=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,f=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,p=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,C=e?Symbol.for("react.scope"):60119;function I(T){return typeof T=="string"||typeof T=="function"||T===i||T===l||T===s||T===r||T===d||T===f||typeof T=="object"&&T!==null&&(T.$$typeof===g||T.$$typeof===h||T.$$typeof===o||T.$$typeof===u||T.$$typeof===c||T.$$typeof===p||T.$$typeof===b||T.$$typeof===C||T.$$typeof===m)}function x(T){if(typeof T=="object"&&T!==null){var zt=T.$$typeof;switch(zt){case t:var Ke=T.type;switch(Ke){case a:case l:case i:case s:case r:case d:return Ke;default:var Wn=Ke&&Ke.$$typeof;switch(Wn){case u:case c:case g:case h:case o:return Wn;default:return zt}}case n:return zt}}}var v=a,S=l,E=u,P=o,F=t,D=c,Y=i,_=g,me=h,ce=n,$=s,J=r,X=d,k=!1;function de(T){return k||(k=!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.")),oe(T)||x(T)===a}function oe(T){return x(T)===l}function gt(T){return x(T)===u}function Q(T){return x(T)===o}function ae(T){return typeof T=="object"&&T!==null&&T.$$typeof===t}function Ae(T){return x(T)===c}function Be(T){return x(T)===i}function ge(T){return x(T)===g}function Fe(T){return x(T)===h}function Se(T){return x(T)===n}function bt(T){return x(T)===s}function Pr(T){return x(T)===r}function Xn(T){return x(T)===d}L.AsyncMode=v,L.ConcurrentMode=S,L.ContextConsumer=E,L.ContextProvider=P,L.Element=F,L.ForwardRef=D,L.Fragment=Y,L.Lazy=_,L.Memo=me,L.Portal=ce,L.Profiler=$,L.StrictMode=J,L.Suspense=X,L.isAsyncMode=de,L.isConcurrentMode=oe,L.isContextConsumer=gt,L.isContextProvider=Q,L.isElement=ae,L.isForwardRef=Ae,L.isFragment=Be,L.isLazy=ge,L.isMemo=Fe,L.isPortal=Se,L.isProfiler=bt,L.isStrictMode=Pr,L.isSuspense=Xn,L.isValidElementType=I,L.typeOf=x})()),L}var Ya;function pm(){return Ya||(Ya=1,process.env.NODE_ENV==="production"?En.exports=fm():En.exports=hm()),En.exports}var ar,ja;function mm(){if(ja)return ar;ja=1;var e=pm(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},r={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};s[e.ForwardRef]=i,s[e.Memo]=r;function o(g){return e.isMemo(g)?r:s[g.$$typeof]||t}var u=Object.defineProperty,a=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,c=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,f=Object.prototype;function h(g,m,p){if(typeof m!="string"){if(f){var b=d(m);b&&b!==f&&h(g,b,p)}var C=a(m);l&&(C=C.concat(l(m)));for(var I=o(g),x=o(m),v=0;v<C.length;++v){var S=C[v];if(!n[S]&&!(p&&p[S])&&!(x&&x[S])&&!(I&&I[S])){var E=c(m,S);try{u(g,S,E)}catch{}}}}return g}return ar=h,ar}mm();var gm=!0;function bm(e,t,n){var i="";return n.split(" ").forEach(function(r){e[r]!==void 0?t.push(e[r]+";"):r&&(i+=r+" ")}),i}var Ja=function(t,n,i){var r=t.key+"-"+n.name;(i===!1||gm===!1)&&t.registered[r]===void 0&&(t.registered[r]=n.styles)},vm=function(t,n,i){Ja(t,n,i);var r=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var s=n;do t.insert(n===s?"."+r:"",s,t.sheet,!0),s=s.next;while(s!==void 0)}};function ym(e){for(var t=0,n,i=0,r=e.length;r>=4;++i,r-=4)n=e.charCodeAt(i)&255|(e.charCodeAt(++i)&255)<<8|(e.charCodeAt(++i)&255)<<16|(e.charCodeAt(++i)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(r){case 3:t^=(e.charCodeAt(i+2)&255)<<16;case 2:t^=(e.charCodeAt(i+1)&255)<<8;case 1:t^=e.charCodeAt(i)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Im={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,scale: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},Cm=/[A-Z]|^ms/g,xm=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Ua=function(t){return t.charCodeAt(1)===45},_a=function(t){return t!=null&&typeof t!="boolean"},ur=im(function(e){return Ua(e)?e:e.replace(Cm,"-$&").toLowerCase()}),$a=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(xm,function(i,r,s){return Ge={name:r,styles:s,next:Ge},r})}return Im[t]!==1&&!Ua(t)&&typeof n=="number"&&n!==0?n+"px":n};function kt(e,t,n){if(n==null)return"";var i=n;if(i.__emotion_styles!==void 0)return i;switch(typeof n){case"boolean":return"";case"object":{var r=n;if(r.anim===1)return Ge={name:r.name,styles:r.styles,next:Ge},r.name;var s=n;if(s.styles!==void 0){var o=s.next;if(o!==void 0)for(;o!==void 0;)Ge={name:o.name,styles:o.styles,next:Ge},o=o.next;var u=s.styles+";";return u}return Am(e,t,n)}case"function":{if(e!==void 0){var a=Ge,l=n(e);return Ge=a,kt(e,t,l)}break}}var c=n;return c}function Am(e,t,n){var i="";if(Array.isArray(n))for(var r=0;r<n.length;r++)i+=kt(e,t,n[r])+";";else for(var s in n){var o=n[s];if(typeof o!="object"){var u=o;_a(u)&&(i+=ur(s)+":"+$a(s,u)+";")}else if(Array.isArray(o)&&typeof o[0]=="string"&&t==null)for(var a=0;a<o.length;a++)_a(o[a])&&(i+=ur(s)+":"+$a(s,o[a])+";");else{var l=kt(e,t,o);switch(s){case"animation":case"animationName":{i+=ur(s)+":"+l+";";break}default:i+=s+"{"+l+"}"}}}return i}var Qa=/label:\s*([^\s;{]+)\s*(;|$)/g,Ge;function Ka(e,t,n){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var i=!0,r="";Ge=void 0;var s=e[0];if(s==null||s.raw===void 0)i=!1,r+=kt(n,t,s);else{var o=s;r+=o[0]}for(var u=1;u<e.length;u++)if(r+=kt(n,t,e[u]),i){var a=s;r+=a[u]}Qa.lastIndex=0;for(var l="",c;(c=Qa.exec(r))!==null;)l+="-"+c[1];var d=ym(r)+l;return{name:d,styles:r,next:Ge}}var Sm=function(t){return t()},Em=M.useInsertionEffect?M.useInsertionEffect:!1,Pm=Em||Sm,qa=M.createContext(typeof HTMLElement<"u"?dm({key:"css"}):null);qa.Provider;var Tm=function(t){return y.forwardRef(function(n,i){var r=y.useContext(qa);return t(n,r,i)})},Vm=M.createContext({}),lr={}.hasOwnProperty,cr="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",wm=function(t,n){var i={};for(var r in n)lr.call(n,r)&&(i[r]=n[r]);return i[cr]=t,i},Gm=function(t){var n=t.cache,i=t.serialized,r=t.isStringTag;return Ja(n,i,r),Pm(function(){return vm(n,i,r)}),null},Bm=Tm(function(e,t,n){var i=e.css;typeof i=="string"&&t.registered[i]!==void 0&&(i=t.registered[i]);var r=e[cr],s=[i],o="";typeof e.className=="string"?o=bm(t.registered,s,e.className):e.className!=null&&(o=e.className+" ");var u=Ka(s,void 0,M.useContext(Vm));o+=t.key+"-"+u.name;var a={};for(var l in e)lr.call(e,l)&&l!=="css"&&l!==cr&&(a[l]=e[l]);return a.className=o,n&&(a.ref=n),M.createElement(M.Fragment,null,M.createElement(Gm,{cache:t,serialized:u,isStringTag:typeof r=="string"}),M.createElement(r,a))}),Fm=Bm,V=function(t,n){var i=arguments;if(n==null||!lr.call(n,"css"))return M.createElement.apply(void 0,i);var r=i.length,s=new Array(r);s[0]=Fm,s[1]=wm(t,n);for(var o=2;o<r;o++)s[o]=i[o];return M.createElement.apply(null,s)};(function(e){var t;t||(t=e.JSX||(e.JSX={}))})(V||(V={}));function dr(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Ka(t)}function Mm(){var e=dr.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}function Dm(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}const Rm=Math.min,Nm=Math.max,Pn=Math.round,Tn=Math.floor,Vn=e=>({x:e,y:e});function Om(e){const{x:t,y:n,width:i,height:r}=e;return{width:i,height:r,top:n,left:t,right:t+i,bottom:n+r,x:t,y:n}}function wn(){return typeof window<"u"}function eu(e){return nu(e)?(e.nodeName||"").toLowerCase():"#document"}function Le(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function tu(e){var t;return(t=(nu(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function nu(e){return wn()?e instanceof Node||e instanceof Le(e).Node:!1}function Lm(e){return wn()?e instanceof Element||e instanceof Le(e).Element:!1}function fr(e){return wn()?e instanceof HTMLElement||e instanceof Le(e).HTMLElement:!1}function iu(e){return!wn()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Le(e).ShadowRoot}const Xm=new Set(["inline","contents"]);function ru(e){const{overflow:t,overflowX:n,overflowY:i,display:r}=hr(e);return/auto|scroll|overlay|hidden|clip/.test(t+i+n)&&!Xm.has(r)}function Wm(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const km=new Set(["html","body","#document"]);function Zm(e){return km.has(eu(e))}function hr(e){return Le(e).getComputedStyle(e)}function zm(e){if(eu(e)==="html")return e;const t=e.assignedSlot||e.parentNode||iu(e)&&e.host||tu(e);return iu(t)?t.host:t}function su(e){const t=zm(e);return Zm(t)?e.ownerDocument?e.ownerDocument.body:e.body:fr(t)&&ru(t)?t:su(t)}function Gn(e,t,n){var i;t===void 0&&(t=[]),n===void 0&&(n=!0);const r=su(e),s=r===((i=e.ownerDocument)==null?void 0:i.body),o=Le(r);if(s){const u=pr(o);return t.concat(o,o.visualViewport||[],ru(r)?r:[],u&&n?Gn(u):[])}return t.concat(r,Gn(r,[],n))}function pr(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Hm(e){const t=hr(e);let n=parseFloat(t.width)||0,i=parseFloat(t.height)||0;const r=fr(e),s=r?e.offsetWidth:n,o=r?e.offsetHeight:i,u=Pn(n)!==s||Pn(i)!==o;return u&&(n=s,i=o),{width:n,height:i,$:u}}function mr(e){return Lm(e)?e:e.contextElement}function ou(e){const t=mr(e);if(!fr(t))return Vn(1);const n=t.getBoundingClientRect(),{width:i,height:r,$:s}=Hm(t);let o=(s?Pn(n.width):n.width)/i,u=(s?Pn(n.height):n.height)/r;return(!o||!Number.isFinite(o))&&(o=1),(!u||!Number.isFinite(u))&&(u=1),{x:o,y:u}}const Ym=Vn(0);function jm(e){const t=Le(e);return!Wm()||!t.visualViewport?Ym:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Jm(e,t,n){return!1}function au(e,t,n,i){t===void 0&&(t=!1);const r=e.getBoundingClientRect(),s=mr(e);let o=Vn(1);t&&(o=ou(e));const u=Jm()?jm(s):Vn(0);let a=(r.left+u.x)/o.x,l=(r.top+u.y)/o.y,c=r.width/o.x,d=r.height/o.y;if(s){const f=Le(s),h=i;let g=f,m=pr(g);for(;m&&i&&h!==g;){const p=ou(m),b=m.getBoundingClientRect(),C=hr(m),I=b.left+(m.clientLeft+parseFloat(C.paddingLeft))*p.x,x=b.top+(m.clientTop+parseFloat(C.paddingTop))*p.y;a*=p.x,l*=p.y,c*=p.x,d*=p.y,a+=I,l+=x,g=Le(m),m=pr(g)}}return Om({width:c,height:d,x:a,y:l})}function uu(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Um(e,t){let n=null,i;const r=tu(e);function s(){var u;clearTimeout(i),(u=n)==null||u.disconnect(),n=null}function o(u,a){u===void 0&&(u=!1),a===void 0&&(a=1),s();const l=e.getBoundingClientRect(),{left:c,top:d,width:f,height:h}=l;if(u||t(),!f||!h)return;const g=Tn(d),m=Tn(r.clientWidth-(c+f)),p=Tn(r.clientHeight-(d+h)),b=Tn(c),I={rootMargin:-g+"px "+-m+"px "+-p+"px "+-b+"px",threshold:Nm(0,Rm(1,a))||1};let x=!0;function v(S){const E=S[0].intersectionRatio;if(E!==a){if(!x)return o();E?o(!1,E):i=setTimeout(()=>{o(!1,1e-7)},1e3)}E===1&&!uu(l,e.getBoundingClientRect())&&o(),x=!1}try{n=new IntersectionObserver(v,{...I,root:r.ownerDocument})}catch{n=new IntersectionObserver(v,I)}n.observe(e)}return o(!0),s}function _m(e,t,n,i){i===void 0&&(i={});const{ancestorScroll:r=!0,ancestorResize:s=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:u=typeof IntersectionObserver=="function",animationFrame:a=!1}=i,l=mr(e),c=r||s?[...l?Gn(l):[],...Gn(t)]:[];c.forEach(b=>{r&&b.addEventListener("scroll",n,{passive:!0}),s&&b.addEventListener("resize",n)});const d=l&&u?Um(l,n):null;let f=-1,h=null;o&&(h=new ResizeObserver(b=>{let[C]=b;C&&C.target===l&&h&&(h.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var I;(I=h)==null||I.observe(t)})),n()}),l&&!a&&h.observe(l),h.observe(t));let g,m=a?au(e):null;a&&p();function p(){const b=au(e);m&&!uu(m,b)&&n(),m=b,g=requestAnimationFrame(p)}return n(),()=>{var b;c.forEach(C=>{r&&C.removeEventListener("scroll",n),s&&C.removeEventListener("resize",n)}),d==null||d(),(b=h)==null||b.disconnect(),h=null,a&&cancelAnimationFrame(g)}}var gr=y.useLayoutEffect,$m=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],Bn=function(){};function Qm(e,t){return t?t[0]==="-"?e+t:e+"__"+t:e}function Km(e,t){for(var n=arguments.length,i=new Array(n>2?n-2:0),r=2;r<n;r++)i[r-2]=arguments[r];var s=[].concat(i);if(t&&e)for(var o in t)t.hasOwnProperty(o)&&t[o]&&s.push("".concat(Qm(e,o)));return s.filter(function(u){return u}).map(function(u){return String(u).trim()}).join(" ")}var lu=function(t){return ag(t)?t.filter(Boolean):Qe(t)==="object"&&t!==null?[t]:[]},cu=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=Oe(t,$m);return w({},n)},j=function(t,n,i){var r=t.cx,s=t.getStyles,o=t.getClassNames,u=t.className;return{css:s(n,t),className:r(i??{},o(n,t),u)}};function Fn(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function qm(e){return Fn(e)?window.innerHeight:e.clientHeight}function du(e){return Fn(e)?window.pageYOffset:e.scrollTop}function Mn(e,t){if(Fn(e)){window.scrollTo(0,t);return}e.scrollTop=t}function eg(e){var t=getComputedStyle(e),n=t.position==="absolute",i=/(auto|scroll)/;if(t.position==="fixed")return document.documentElement;for(var r=e;r=r.parentElement;)if(t=getComputedStyle(r),!(n&&t.position==="static")&&i.test(t.overflow+t.overflowY+t.overflowX))return r;return document.documentElement}function tg(e,t,n,i){return n*((e=e/i-1)*e*e+1)+t}function Dn(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:Bn,r=du(e),s=t-r,o=10,u=0;function a(){u+=o;var l=tg(u,r,s,n);Mn(e,l),u<n?window.requestAnimationFrame(a):i(e)}a()}function fu(e,t){var n=e.getBoundingClientRect(),i=t.getBoundingClientRect(),r=t.offsetHeight/3;i.bottom+r>n.bottom?Mn(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+r,e.scrollHeight)):i.top-r<n.top&&Mn(e,Math.max(t.offsetTop-r,0))}function ng(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 hu(){try{return document.createEvent("TouchEvent"),!0}catch{return!1}}function ig(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}var pu=!1,rg={get passive(){return pu=!0}},Rn=typeof window<"u"?window:{};Rn.addEventListener&&Rn.removeEventListener&&(Rn.addEventListener("p",Bn,rg),Rn.removeEventListener("p",Bn,!1));var sg=pu;function og(e){return e!=null}function ag(e){return Array.isArray(e)}function Nn(e,t,n){return e?t:n}function L0(e){return e}function X0(e){return e}var ug=function(t){for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];var s=Object.entries(t).filter(function(o){var u=Ne(o,1),a=u[0];return!i.includes(a)});return s.reduce(function(o,u){var a=Ne(u,2),l=a[0],c=a[1];return o[l]=c,o},{})},lg=["children","innerProps"],cg=["children","innerProps"];function dg(e){var t=e.maxHeight,n=e.menuEl,i=e.minHeight,r=e.placement,s=e.shouldScroll,o=e.isFixedPosition,u=e.controlHeight,a=eg(n),l={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return l;var c=a.getBoundingClientRect(),d=c.height,f=n.getBoundingClientRect(),h=f.bottom,g=f.height,m=f.top,p=n.offsetParent.getBoundingClientRect(),b=p.top,C=o?window.innerHeight:qm(a),I=du(a),x=parseInt(getComputedStyle(n).marginBottom,10),v=parseInt(getComputedStyle(n).marginTop,10),S=b-v,E=C-m,P=S+I,F=d-I-m,D=h-C+I+x,Y=I+m-v,_=160;switch(r){case"auto":case"bottom":if(E>=g)return{placement:"bottom",maxHeight:t};if(F>=g&&!o)return s&&Dn(a,D,_),{placement:"bottom",maxHeight:t};if(!o&&F>=i||o&&E>=i){s&&Dn(a,D,_);var me=o?E-x:F-x;return{placement:"bottom",maxHeight:me}}if(r==="auto"||o){var ce=t,$=o?S:P;return $>=i&&(ce=Math.min($-x-u,t)),{placement:"top",maxHeight:ce}}if(r==="bottom")return s&&Mn(a,D),{placement:"bottom",maxHeight:t};break;case"top":if(S>=g)return{placement:"top",maxHeight:t};if(P>=g&&!o)return s&&Dn(a,Y,_),{placement:"top",maxHeight:t};if(!o&&P>=i||o&&S>=i){var J=t;return(!o&&P>=i||o&&S>=i)&&(J=o?S-v:P-v),s&&Dn(a,Y,_),{placement:"top",maxHeight:J}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(r,'".'))}return l}function fg(e){var t={bottom:"top",top:"bottom"};return e?t[e]:"bottom"}var mu=function(t){return t==="auto"?"bottom":t},hg=function(t,n){var i,r=t.placement,s=t.theme,o=s.borderRadius,u=s.spacing,a=s.colors;return w((i={label:"menu"},Nt(i,fg(r),"100%"),Nt(i,"position","absolute"),Nt(i,"width","100%"),Nt(i,"zIndex",1),i),n?{}:{backgroundColor:a.neutral0,borderRadius:o,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:u.menuGutter,marginTop:u.menuGutter})},gu=y.createContext(null),pg=function(t){var n=t.children,i=t.minMenuHeight,r=t.maxMenuHeight,s=t.menuPlacement,o=t.menuPosition,u=t.menuShouldScrollIntoView,a=t.theme,l=y.useContext(gu)||{},c=l.setPortalPlacement,d=y.useRef(null),f=y.useState(r),h=Ne(f,2),g=h[0],m=h[1],p=y.useState(null),b=Ne(p,2),C=b[0],I=b[1],x=a.spacing.controlHeight;return gr(function(){var v=d.current;if(v){var S=o==="fixed",E=u&&!S,P=dg({maxHeight:r,menuEl:v,minHeight:i,placement:s,shouldScroll:E,isFixedPosition:S,controlHeight:x});m(P.maxHeight),I(P.placement),c==null||c(P.placement)}},[r,s,o,u,i,c,x]),n({ref:d,placerProps:w(w({},t),{},{placement:C||mu(s),maxHeight:g})})},mg=function(t){var n=t.children,i=t.innerRef,r=t.innerProps;return V("div",B({},j(t,"menu",{menu:!0}),{ref:i},r),n)},gg=mg,bg=function(t,n){var i=t.maxHeight,r=t.theme.spacing.baseUnit;return w({maxHeight:i,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},n?{}:{paddingBottom:r,paddingTop:r})},vg=function(t){var n=t.children,i=t.innerProps,r=t.innerRef,s=t.isMulti;return V("div",B({},j(t,"menuList",{"menu-list":!0,"menu-list--is-multi":s}),{ref:r},i),n)},bu=function(t,n){var i=t.theme,r=i.spacing.baseUnit,s=i.colors;return w({textAlign:"center"},n?{}:{color:s.neutral40,padding:"".concat(r*2,"px ").concat(r*3,"px")})},yg=bu,Ig=bu,Cg=function(t){var n=t.children,i=n===void 0?"No options":n,r=t.innerProps,s=Oe(t,lg);return V("div",B({},j(w(w({},s),{},{children:i,innerProps:r}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),r),i)},xg=function(t){var n=t.children,i=n===void 0?"Loading...":n,r=t.innerProps,s=Oe(t,cg);return V("div",B({},j(w(w({},s),{},{children:i,innerProps:r}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),r),i)},Ag=function(t){var n=t.rect,i=t.offset,r=t.position;return{left:n.left,position:r,top:i,width:n.width,zIndex:1}},Sg=function(t){var n=t.appendTo,i=t.children,r=t.controlElement,s=t.innerProps,o=t.menuPlacement,u=t.menuPosition,a=y.useRef(null),l=y.useRef(null),c=y.useState(mu(o)),d=Ne(c,2),f=d[0],h=d[1],g=y.useMemo(function(){return{setPortalPlacement:h}},[]),m=y.useState(null),p=Ne(m,2),b=p[0],C=p[1],I=y.useCallback(function(){if(r){var E=ng(r),P=u==="fixed"?0:window.pageYOffset,F=E[f]+P;(F!==(b==null?void 0:b.offset)||E.left!==(b==null?void 0:b.rect.left)||E.width!==(b==null?void 0:b.rect.width))&&C({offset:F,rect:E})}},[r,u,f,b==null?void 0:b.offset,b==null?void 0:b.rect.left,b==null?void 0:b.rect.width]);gr(function(){I()},[I]);var x=y.useCallback(function(){typeof l.current=="function"&&(l.current(),l.current=null),r&&a.current&&(l.current=_m(r,a.current,I,{elementResize:"ResizeObserver"in window}))},[r,I]);gr(function(){x()},[x]);var v=y.useCallback(function(E){a.current=E,x()},[x]);if(!n&&u!=="fixed"||!b)return null;var S=V("div",B({ref:v},j(w(w({},t),{},{offset:b.offset,position:u,rect:b.rect}),"menuPortal",{"menu-portal":!0}),s),i);return V(gu.Provider,{value:g},n?Xe.createPortal(S,n):S)},Eg=function(t){var n=t.isDisabled,i=t.isRtl;return{label:"container",direction:i?"rtl":void 0,pointerEvents:n?"none":void 0,position:"relative"}},Pg=function(t){var n=t.children,i=t.innerProps,r=t.isDisabled,s=t.isRtl;return V("div",B({},j(t,"container",{"--is-disabled":r,"--is-rtl":s}),i),n)},Tg=function(t,n){var i=t.theme.spacing,r=t.isMulti,s=t.hasValue,o=t.selectProps.controlShouldRenderValue;return w({alignItems:"center",display:r&&s&&o?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},n?{}:{padding:"".concat(i.baseUnit/2,"px ").concat(i.baseUnit*2,"px")})},Vg=function(t){var n=t.children,i=t.innerProps,r=t.isMulti,s=t.hasValue;return V("div",B({},j(t,"valueContainer",{"value-container":!0,"value-container--is-multi":r,"value-container--has-value":s}),i),n)},wg=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},Gg=function(t){var n=t.children,i=t.innerProps;return V("div",B({},j(t,"indicatorsContainer",{indicators:!0}),i),n)},vu,Bg=["size"],Fg=["innerProps","isRtl","size"];function Mg(){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 Dg=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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2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NvbnRhaW5lci4gKi9cbiAgc2l6ZTogbnVtYmVyO1xufVxuZXhwb3J0IGNvbnN0IExvYWRpbmdJbmRpY2F0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */",toString:Mg},yu=function(t){var n=t.size,i=Oe(t,Bg);return V("svg",B({height:n,width:n,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:Dg},i))},br=function(t){return V(yu,B({size:20},t),V("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},Iu=function(t){return V(yu,B({size:20},t),V("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},Cu=function(t,n){var i=t.isFocused,r=t.theme,s=r.spacing.baseUnit,o=r.colors;return w({label:"indicatorContainer",display:"flex",transition:"color 150ms"},n?{}:{color:i?o.neutral60:o.neutral20,padding:s*2,":hover":{color:i?o.neutral80:o.neutral40}})},Rg=Cu,Ng=function(t){var n=t.children,i=t.innerProps;return V("div",B({},j(t,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),i),n||V(Iu,null))},Og=Cu,Lg=function(t){var n=t.children,i=t.innerProps;return V("div",B({},j(t,"clearIndicator",{indicator:!0,"clear-indicator":!0}),i),n||V(br,null))},Xg=function(t,n){var i=t.isDisabled,r=t.theme,s=r.spacing.baseUnit,o=r.colors;return w({label:"indicatorSeparator",alignSelf:"stretch",width:1},n?{}:{backgroundColor:i?o.neutral10:o.neutral20,marginBottom:s*2,marginTop:s*2})},Wg=function(t){var n=t.innerProps;return V("span",B({},n,j(t,"indicatorSeparator",{"indicator-separator":!0})))},kg=Mm(vu||(vu=Dm([`
|
|
29
|
+
*/var Ua;function gm(){return Ua||(Ua=1,process.env.NODE_ENV!=="production"&&(function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,i=e?Symbol.for("react.fragment"):60107,r=e?Symbol.for("react.strict_mode"):60108,s=e?Symbol.for("react.profiler"):60114,o=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,a=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,c=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,f=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,p=e?Symbol.for("react.fundamental"):60117,v=e?Symbol.for("react.responder"):60118,C=e?Symbol.for("react.scope"):60119;function I(P){return typeof P=="string"||typeof P=="function"||P===i||P===l||P===s||P===r||P===d||P===f||typeof P=="object"&&P!==null&&(P.$$typeof===m||P.$$typeof===h||P.$$typeof===o||P.$$typeof===u||P.$$typeof===c||P.$$typeof===p||P.$$typeof===v||P.$$typeof===C||P.$$typeof===g)}function A(P){if(typeof P=="object"&&P!==null){var Zt=P.$$typeof;switch(Zt){case t:var qe=P.type;switch(qe){case a:case l:case i:case s:case r:case d:return qe;default:var Wn=qe&&qe.$$typeof;switch(Wn){case u:case c:case m:case h:case o:return Wn;default:return Zt}}case n:return Zt}}}var b=a,S=l,E=u,T=o,G=t,L=c,H=i,O=m,K=h,j=n,U=s,Y=r,X=d,N=!1;function q(P){return N||(N=!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.")),R(P)||A(P)===a}function R(P){return A(P)===l}function ie(P){return A(P)===u}function _(P){return A(P)===o}function he(P){return typeof P=="object"&&P!==null&&P.$$typeof===t}function Ee(P){return A(P)===c}function Me(P){return A(P)===i}function ye(P){return A(P)===m}function De(P){return A(P)===h}function Te(P){return A(P)===n}function vt(P){return A(P)===s}function wr(P){return A(P)===r}function Xn(P){return A(P)===d}Z.AsyncMode=b,Z.ConcurrentMode=S,Z.ContextConsumer=E,Z.ContextProvider=T,Z.Element=G,Z.ForwardRef=L,Z.Fragment=H,Z.Lazy=O,Z.Memo=K,Z.Portal=j,Z.Profiler=U,Z.StrictMode=Y,Z.Suspense=X,Z.isAsyncMode=q,Z.isConcurrentMode=R,Z.isContextConsumer=ie,Z.isContextProvider=_,Z.isElement=he,Z.isForwardRef=Ee,Z.isFragment=Me,Z.isLazy=ye,Z.isMemo=De,Z.isPortal=Te,Z.isProfiler=vt,Z.isStrictMode=wr,Z.isSuspense=Xn,Z.isValidElementType=I,Z.typeOf=A})()),Z}var _a;function bm(){return _a||(_a=1,process.env.NODE_ENV==="production"?En.exports=mm():En.exports=gm()),En.exports}var cr,$a;function vm(){if($a)return cr;$a=1;var e=bm(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},r={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};s[e.ForwardRef]=i,s[e.Memo]=r;function o(m){return e.isMemo(m)?r:s[m.$$typeof]||t}var u=Object.defineProperty,a=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,c=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,f=Object.prototype;function h(m,g,p){if(typeof g!="string"){if(f){var v=d(g);v&&v!==f&&h(m,v,p)}var C=a(g);l&&(C=C.concat(l(g)));for(var I=o(m),A=o(g),b=0;b<C.length;++b){var S=C[b];if(!n[S]&&!(p&&p[S])&&!(A&&A[S])&&!(I&&I[S])){var E=c(g,S);try{u(m,S,E)}catch{}}}}return m}return cr=h,cr}vm();var ym=!0;function Im(e,t,n){var i="";return n.split(" ").forEach(function(r){e[r]!==void 0?t.push(e[r]+";"):r&&(i+=r+" ")}),i}var Qa=function(t,n,i){var r=t.key+"-"+n.name;(i===!1||ym===!1)&&t.registered[r]===void 0&&(t.registered[r]=n.styles)},Cm=function(t,n,i){Qa(t,n,i);var r=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var s=n;do t.insert(n===s?"."+r:"",s,t.sheet,!0),s=s.next;while(s!==void 0)}};function xm(e){for(var t=0,n,i=0,r=e.length;r>=4;++i,r-=4)n=e.charCodeAt(i)&255|(e.charCodeAt(++i)&255)<<8|(e.charCodeAt(++i)&255)<<16|(e.charCodeAt(++i)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(r){case 3:t^=(e.charCodeAt(i+2)&255)<<16;case 2:t^=(e.charCodeAt(i+1)&255)<<8;case 1:t^=e.charCodeAt(i)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Am={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,scale: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},Sm=/[A-Z]|^ms/g,Em=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Ka=function(t){return t.charCodeAt(1)===45},qa=function(t){return t!=null&&typeof t!="boolean"},dr=om(function(e){return Ka(e)?e:e.replace(Sm,"-$&").toLowerCase()}),eu=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(Em,function(i,r,s){return Fe={name:r,styles:s,next:Fe},r})}return Am[t]!==1&&!Ka(t)&&typeof n=="number"&&n!==0?n+"px":n};function kt(e,t,n){if(n==null)return"";var i=n;if(i.__emotion_styles!==void 0)return i;switch(typeof n){case"boolean":return"";case"object":{var r=n;if(r.anim===1)return Fe={name:r.name,styles:r.styles,next:Fe},r.name;var s=n;if(s.styles!==void 0){var o=s.next;if(o!==void 0)for(;o!==void 0;)Fe={name:o.name,styles:o.styles,next:Fe},o=o.next;var u=s.styles+";";return u}return Tm(e,t,n)}case"function":{if(e!==void 0){var a=Fe,l=n(e);return Fe=a,kt(e,t,l)}break}}var c=n;return c}function Tm(e,t,n){var i="";if(Array.isArray(n))for(var r=0;r<n.length;r++)i+=kt(e,t,n[r])+";";else for(var s in n){var o=n[s];if(typeof o!="object"){var u=o;qa(u)&&(i+=dr(s)+":"+eu(s,u)+";")}else if(Array.isArray(o)&&typeof o[0]=="string"&&t==null)for(var a=0;a<o.length;a++)qa(o[a])&&(i+=dr(s)+":"+eu(s,o[a])+";");else{var l=kt(e,t,o);switch(s){case"animation":case"animationName":{i+=dr(s)+":"+l+";";break}default:i+=s+"{"+l+"}"}}}return i}var tu=/label:\s*([^\s;{]+)\s*(;|$)/g,Fe;function nu(e,t,n){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var i=!0,r="";Fe=void 0;var s=e[0];if(s==null||s.raw===void 0)i=!1,r+=kt(n,t,s);else{var o=s;r+=o[0]}for(var u=1;u<e.length;u++)if(r+=kt(n,t,e[u]),i){var a=s;r+=a[u]}tu.lastIndex=0;for(var l="",c;(c=tu.exec(r))!==null;)l+="-"+c[1];var d=xm(r)+l;return{name:d,styles:r,next:Fe}}var Pm=function(t){return t()},Vm=M.useInsertionEffect?M.useInsertionEffect:!1,wm=Vm||Pm,iu=M.createContext(typeof HTMLElement<"u"?pm({key:"css"}):null);iu.Provider;var Gm=function(t){return y.forwardRef(function(n,i){var r=y.useContext(iu);return t(n,r,i)})},Bm=M.createContext({}),fr={}.hasOwnProperty,hr="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Fm=function(t,n){var i={};for(var r in n)fr.call(n,r)&&(i[r]=n[r]);return i[hr]=t,i},Mm=function(t){var n=t.cache,i=t.serialized,r=t.isStringTag;return Qa(n,i,r),wm(function(){return Cm(n,i,r)}),null},Dm=Gm(function(e,t,n){var i=e.css;typeof i=="string"&&t.registered[i]!==void 0&&(i=t.registered[i]);var r=e[hr],s=[i],o="";typeof e.className=="string"?o=Im(t.registered,s,e.className):e.className!=null&&(o=e.className+" ");var u=nu(s,void 0,M.useContext(Bm));o+=t.key+"-"+u.name;var a={};for(var l in e)fr.call(e,l)&&l!=="css"&&l!==hr&&(a[l]=e[l]);return a.className=o,n&&(a.ref=n),M.createElement(M.Fragment,null,M.createElement(Mm,{cache:t,serialized:u,isStringTag:typeof r=="string"}),M.createElement(r,a))}),Nm=Dm,V=function(t,n){var i=arguments;if(n==null||!fr.call(n,"css"))return M.createElement.apply(void 0,i);var r=i.length,s=new Array(r);s[0]=Nm,s[1]=Fm(t,n);for(var o=2;o<r;o++)s[o]=i[o];return M.createElement.apply(null,s)};(function(e){var t;t||(t=e.JSX||(e.JSX={}))})(V||(V={}));function pr(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return nu(t)}function Om(){var e=pr.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}function Lm(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}const Rm=Math.min,Xm=Math.max,Tn=Math.round,Pn=Math.floor,Vn=e=>({x:e,y:e});function Wm(e){const{x:t,y:n,width:i,height:r}=e;return{width:i,height:r,top:n,left:t,right:t+i,bottom:n+r,x:t,y:n}}function wn(){return typeof window<"u"}function ru(e){return ou(e)?(e.nodeName||"").toLowerCase():"#document"}function Xe(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function su(e){var t;return(t=(ou(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function ou(e){return wn()?e instanceof Node||e instanceof Xe(e).Node:!1}function km(e){return wn()?e instanceof Element||e instanceof Xe(e).Element:!1}function mr(e){return wn()?e instanceof HTMLElement||e instanceof Xe(e).HTMLElement:!1}function au(e){return!wn()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Xe(e).ShadowRoot}const zm=new Set(["inline","contents"]);function uu(e){const{overflow:t,overflowX:n,overflowY:i,display:r}=gr(e);return/auto|scroll|overlay|hidden|clip/.test(t+i+n)&&!zm.has(r)}function Zm(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const Hm=new Set(["html","body","#document"]);function jm(e){return Hm.has(ru(e))}function gr(e){return Xe(e).getComputedStyle(e)}function Ym(e){if(ru(e)==="html")return e;const t=e.assignedSlot||e.parentNode||au(e)&&e.host||su(e);return au(t)?t.host:t}function lu(e){const t=Ym(e);return jm(t)?e.ownerDocument?e.ownerDocument.body:e.body:mr(t)&&uu(t)?t:lu(t)}function Gn(e,t,n){var i;t===void 0&&(t=[]),n===void 0&&(n=!0);const r=lu(e),s=r===((i=e.ownerDocument)==null?void 0:i.body),o=Xe(r);if(s){const u=br(o);return t.concat(o,o.visualViewport||[],uu(r)?r:[],u&&n?Gn(u):[])}return t.concat(r,Gn(r,[],n))}function br(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Jm(e){const t=gr(e);let n=parseFloat(t.width)||0,i=parseFloat(t.height)||0;const r=mr(e),s=r?e.offsetWidth:n,o=r?e.offsetHeight:i,u=Tn(n)!==s||Tn(i)!==o;return u&&(n=s,i=o),{width:n,height:i,$:u}}function vr(e){return km(e)?e:e.contextElement}function cu(e){const t=vr(e);if(!mr(t))return Vn(1);const n=t.getBoundingClientRect(),{width:i,height:r,$:s}=Jm(t);let o=(s?Tn(n.width):n.width)/i,u=(s?Tn(n.height):n.height)/r;return(!o||!Number.isFinite(o))&&(o=1),(!u||!Number.isFinite(u))&&(u=1),{x:o,y:u}}const Um=Vn(0);function _m(e){const t=Xe(e);return!Zm()||!t.visualViewport?Um:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function $m(e,t,n){return!1}function du(e,t,n,i){t===void 0&&(t=!1);const r=e.getBoundingClientRect(),s=vr(e);let o=Vn(1);t&&(o=cu(e));const u=$m()?_m(s):Vn(0);let a=(r.left+u.x)/o.x,l=(r.top+u.y)/o.y,c=r.width/o.x,d=r.height/o.y;if(s){const f=Xe(s),h=i;let m=f,g=br(m);for(;g&&i&&h!==m;){const p=cu(g),v=g.getBoundingClientRect(),C=gr(g),I=v.left+(g.clientLeft+parseFloat(C.paddingLeft))*p.x,A=v.top+(g.clientTop+parseFloat(C.paddingTop))*p.y;a*=p.x,l*=p.y,c*=p.x,d*=p.y,a+=I,l+=A,m=Xe(g),g=br(m)}}return Wm({width:c,height:d,x:a,y:l})}function fu(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Qm(e,t){let n=null,i;const r=su(e);function s(){var u;clearTimeout(i),(u=n)==null||u.disconnect(),n=null}function o(u,a){u===void 0&&(u=!1),a===void 0&&(a=1),s();const l=e.getBoundingClientRect(),{left:c,top:d,width:f,height:h}=l;if(u||t(),!f||!h)return;const m=Pn(d),g=Pn(r.clientWidth-(c+f)),p=Pn(r.clientHeight-(d+h)),v=Pn(c),I={rootMargin:-m+"px "+-g+"px "+-p+"px "+-v+"px",threshold:Xm(0,Rm(1,a))||1};let A=!0;function b(S){const E=S[0].intersectionRatio;if(E!==a){if(!A)return o();E?o(!1,E):i=setTimeout(()=>{o(!1,1e-7)},1e3)}E===1&&!fu(l,e.getBoundingClientRect())&&o(),A=!1}try{n=new IntersectionObserver(b,{...I,root:r.ownerDocument})}catch{n=new IntersectionObserver(b,I)}n.observe(e)}return o(!0),s}function Km(e,t,n,i){i===void 0&&(i={});const{ancestorScroll:r=!0,ancestorResize:s=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:u=typeof IntersectionObserver=="function",animationFrame:a=!1}=i,l=vr(e),c=r||s?[...l?Gn(l):[],...Gn(t)]:[];c.forEach(v=>{r&&v.addEventListener("scroll",n,{passive:!0}),s&&v.addEventListener("resize",n)});const d=l&&u?Qm(l,n):null;let f=-1,h=null;o&&(h=new ResizeObserver(v=>{let[C]=v;C&&C.target===l&&h&&(h.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var I;(I=h)==null||I.observe(t)})),n()}),l&&!a&&h.observe(l),h.observe(t));let m,g=a?du(e):null;a&&p();function p(){const v=du(e);g&&!fu(g,v)&&n(),g=v,m=requestAnimationFrame(p)}return n(),()=>{var v;c.forEach(C=>{r&&C.removeEventListener("scroll",n),s&&C.removeEventListener("resize",n)}),d==null||d(),(v=h)==null||v.disconnect(),h=null,a&&cancelAnimationFrame(m)}}var yr=y.useLayoutEffect,qm=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],Bn=function(){};function eg(e,t){return t?t[0]==="-"?e+t:e+"__"+t:e}function tg(e,t){for(var n=arguments.length,i=new Array(n>2?n-2:0),r=2;r<n;r++)i[r-2]=arguments[r];var s=[].concat(i);if(t&&e)for(var o in t)t.hasOwnProperty(o)&&t[o]&&s.push("".concat(eg(e,o)));return s.filter(function(u){return u}).map(function(u){return String(u).trim()}).join(" ")}var hu=function(t){return cg(t)?t.filter(Boolean):Ke(t)==="object"&&t!==null?[t]:[]},pu=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=Re(t,qm);return w({},n)},ee=function(t,n,i){var r=t.cx,s=t.getStyles,o=t.getClassNames,u=t.className;return{css:s(n,t),className:r(i??{},o(n,t),u)}};function Fn(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function ng(e){return Fn(e)?window.innerHeight:e.clientHeight}function mu(e){return Fn(e)?window.pageYOffset:e.scrollTop}function Mn(e,t){if(Fn(e)){window.scrollTo(0,t);return}e.scrollTop=t}function ig(e){var t=getComputedStyle(e),n=t.position==="absolute",i=/(auto|scroll)/;if(t.position==="fixed")return document.documentElement;for(var r=e;r=r.parentElement;)if(t=getComputedStyle(r),!(n&&t.position==="static")&&i.test(t.overflow+t.overflowY+t.overflowX))return r;return document.documentElement}function rg(e,t,n,i){return n*((e=e/i-1)*e*e+1)+t}function Dn(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:Bn,r=mu(e),s=t-r,o=10,u=0;function a(){u+=o;var l=rg(u,r,s,n);Mn(e,l),u<n?window.requestAnimationFrame(a):i(e)}a()}function gu(e,t){var n=e.getBoundingClientRect(),i=t.getBoundingClientRect(),r=t.offsetHeight/3;i.bottom+r>n.bottom?Mn(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+r,e.scrollHeight)):i.top-r<n.top&&Mn(e,Math.max(t.offsetTop-r,0))}function sg(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 bu(){try{return document.createEvent("TouchEvent"),!0}catch{return!1}}function og(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}var vu=!1,ag={get passive(){return vu=!0}},Nn=typeof window<"u"?window:{};Nn.addEventListener&&Nn.removeEventListener&&(Nn.addEventListener("p",Bn,ag),Nn.removeEventListener("p",Bn,!1));var ug=vu;function lg(e){return e!=null}function cg(e){return Array.isArray(e)}function On(e,t,n){return e?t:n}function k0(e){return e}function z0(e){return e}var dg=function(t){for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];var s=Object.entries(t).filter(function(o){var u=Le(o,1),a=u[0];return!i.includes(a)});return s.reduce(function(o,u){var a=Le(u,2),l=a[0],c=a[1];return o[l]=c,o},{})},fg=["children","innerProps"],hg=["children","innerProps"];function pg(e){var t=e.maxHeight,n=e.menuEl,i=e.minHeight,r=e.placement,s=e.shouldScroll,o=e.isFixedPosition,u=e.controlHeight,a=ig(n),l={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return l;var c=a.getBoundingClientRect(),d=c.height,f=n.getBoundingClientRect(),h=f.bottom,m=f.height,g=f.top,p=n.offsetParent.getBoundingClientRect(),v=p.top,C=o?window.innerHeight:ng(a),I=mu(a),A=parseInt(getComputedStyle(n).marginBottom,10),b=parseInt(getComputedStyle(n).marginTop,10),S=v-b,E=C-g,T=S+I,G=d-I-g,L=h-C+I+A,H=I+g-b,O=160;switch(r){case"auto":case"bottom":if(E>=m)return{placement:"bottom",maxHeight:t};if(G>=m&&!o)return s&&Dn(a,L,O),{placement:"bottom",maxHeight:t};if(!o&&G>=i||o&&E>=i){s&&Dn(a,L,O);var K=o?E-A:G-A;return{placement:"bottom",maxHeight:K}}if(r==="auto"||o){var j=t,U=o?S:T;return U>=i&&(j=Math.min(U-A-u,t)),{placement:"top",maxHeight:j}}if(r==="bottom")return s&&Mn(a,L),{placement:"bottom",maxHeight:t};break;case"top":if(S>=m)return{placement:"top",maxHeight:t};if(T>=m&&!o)return s&&Dn(a,H,O),{placement:"top",maxHeight:t};if(!o&&T>=i||o&&S>=i){var Y=t;return(!o&&T>=i||o&&S>=i)&&(Y=o?S-b:T-b),s&&Dn(a,H,O),{placement:"top",maxHeight:Y}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(r,'".'))}return l}function mg(e){var t={bottom:"top",top:"bottom"};return e?t[e]:"bottom"}var yu=function(t){return t==="auto"?"bottom":t},gg=function(t,n){var i,r=t.placement,s=t.theme,o=s.borderRadius,u=s.spacing,a=s.colors;return w((i={label:"menu"},Ot(i,mg(r),"100%"),Ot(i,"position","absolute"),Ot(i,"width","100%"),Ot(i,"zIndex",1),i),n?{}:{backgroundColor:a.neutral0,borderRadius:o,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:u.menuGutter,marginTop:u.menuGutter})},Iu=y.createContext(null),bg=function(t){var n=t.children,i=t.minMenuHeight,r=t.maxMenuHeight,s=t.menuPlacement,o=t.menuPosition,u=t.menuShouldScrollIntoView,a=t.theme,l=y.useContext(Iu)||{},c=l.setPortalPlacement,d=y.useRef(null),f=y.useState(r),h=Le(f,2),m=h[0],g=h[1],p=y.useState(null),v=Le(p,2),C=v[0],I=v[1],A=a.spacing.controlHeight;return yr(function(){var b=d.current;if(b){var S=o==="fixed",E=u&&!S,T=pg({maxHeight:r,menuEl:b,minHeight:i,placement:s,shouldScroll:E,isFixedPosition:S,controlHeight:A});g(T.maxHeight),I(T.placement),c==null||c(T.placement)}},[r,s,o,u,i,c,A]),n({ref:d,placerProps:w(w({},t),{},{placement:C||yu(s),maxHeight:m})})},vg=function(t){var n=t.children,i=t.innerRef,r=t.innerProps;return V("div",F({},ee(t,"menu",{menu:!0}),{ref:i},r),n)},yg=vg,Ig=function(t,n){var i=t.maxHeight,r=t.theme.spacing.baseUnit;return w({maxHeight:i,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},n?{}:{paddingBottom:r,paddingTop:r})},Cg=function(t){var n=t.children,i=t.innerProps,r=t.innerRef,s=t.isMulti;return V("div",F({},ee(t,"menuList",{"menu-list":!0,"menu-list--is-multi":s}),{ref:r},i),n)},Cu=function(t,n){var i=t.theme,r=i.spacing.baseUnit,s=i.colors;return w({textAlign:"center"},n?{}:{color:s.neutral40,padding:"".concat(r*2,"px ").concat(r*3,"px")})},xg=Cu,Ag=Cu,Sg=function(t){var n=t.children,i=n===void 0?"No options":n,r=t.innerProps,s=Re(t,fg);return V("div",F({},ee(w(w({},s),{},{children:i,innerProps:r}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),r),i)},Eg=function(t){var n=t.children,i=n===void 0?"Loading...":n,r=t.innerProps,s=Re(t,hg);return V("div",F({},ee(w(w({},s),{},{children:i,innerProps:r}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),r),i)},Tg=function(t){var n=t.rect,i=t.offset,r=t.position;return{left:n.left,position:r,top:i,width:n.width,zIndex:1}},Pg=function(t){var n=t.appendTo,i=t.children,r=t.controlElement,s=t.innerProps,o=t.menuPlacement,u=t.menuPosition,a=y.useRef(null),l=y.useRef(null),c=y.useState(yu(o)),d=Le(c,2),f=d[0],h=d[1],m=y.useMemo(function(){return{setPortalPlacement:h}},[]),g=y.useState(null),p=Le(g,2),v=p[0],C=p[1],I=y.useCallback(function(){if(r){var E=sg(r),T=u==="fixed"?0:window.pageYOffset,G=E[f]+T;(G!==(v==null?void 0:v.offset)||E.left!==(v==null?void 0:v.rect.left)||E.width!==(v==null?void 0:v.rect.width))&&C({offset:G,rect:E})}},[r,u,f,v==null?void 0:v.offset,v==null?void 0:v.rect.left,v==null?void 0:v.rect.width]);yr(function(){I()},[I]);var A=y.useCallback(function(){typeof l.current=="function"&&(l.current(),l.current=null),r&&a.current&&(l.current=Km(r,a.current,I,{elementResize:"ResizeObserver"in window}))},[r,I]);yr(function(){A()},[A]);var b=y.useCallback(function(E){a.current=E,A()},[A]);if(!n&&u!=="fixed"||!v)return null;var S=V("div",F({ref:b},ee(w(w({},t),{},{offset:v.offset,position:u,rect:v.rect}),"menuPortal",{"menu-portal":!0}),s),i);return V(Iu.Provider,{value:m},n?We.createPortal(S,n):S)},Vg=function(t){var n=t.isDisabled,i=t.isRtl;return{label:"container",direction:i?"rtl":void 0,pointerEvents:n?"none":void 0,position:"relative"}},wg=function(t){var n=t.children,i=t.innerProps,r=t.isDisabled,s=t.isRtl;return V("div",F({},ee(t,"container",{"--is-disabled":r,"--is-rtl":s}),i),n)},Gg=function(t,n){var i=t.theme.spacing,r=t.isMulti,s=t.hasValue,o=t.selectProps.controlShouldRenderValue;return w({alignItems:"center",display:r&&s&&o?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},n?{}:{padding:"".concat(i.baseUnit/2,"px ").concat(i.baseUnit*2,"px")})},Bg=function(t){var n=t.children,i=t.innerProps,r=t.isMulti,s=t.hasValue;return V("div",F({},ee(t,"valueContainer",{"value-container":!0,"value-container--is-multi":r,"value-container--has-value":s}),i),n)},Fg=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},Mg=function(t){var n=t.children,i=t.innerProps;return V("div",F({},ee(t,"indicatorsContainer",{indicators:!0}),i),n)},xu,Dg=["size"],Ng=["innerProps","isRtl","size"];function Og(){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 Lg=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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQ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E2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */",toString:Og},Au=function(t){var n=t.size,i=Re(t,Dg);return V("svg",F({height:n,width:n,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:Lg},i))},Ir=function(t){return V(Au,F({size:20},t),V("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},Su=function(t){return V(Au,F({size:20},t),V("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},Eu=function(t,n){var i=t.isFocused,r=t.theme,s=r.spacing.baseUnit,o=r.colors;return w({label:"indicatorContainer",display:"flex",transition:"color 150ms"},n?{}:{color:i?o.neutral60:o.neutral20,padding:s*2,":hover":{color:i?o.neutral80:o.neutral40}})},Rg=Eu,Xg=function(t){var n=t.children,i=t.innerProps;return V("div",F({},ee(t,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),i),n||V(Su,null))},Wg=Eu,kg=function(t){var n=t.children,i=t.innerProps;return V("div",F({},ee(t,"clearIndicator",{indicator:!0,"clear-indicator":!0}),i),n||V(Ir,null))},zg=function(t,n){var i=t.isDisabled,r=t.theme,s=r.spacing.baseUnit,o=r.colors;return w({label:"indicatorSeparator",alignSelf:"stretch",width:1},n?{}:{backgroundColor:i?o.neutral10:o.neutral20,marginBottom:s*2,marginTop:s*2})},Zg=function(t){var n=t.innerProps;return V("span",F({},n,ee(t,"indicatorSeparator",{"indicator-separator":!0})))},Hg=Om(xu||(xu=Lm([`
|
|
30
30
|
0%, 80%, 100% { opacity: 0; }
|
|
31
31
|
40% { opacity: 1; }
|
|
32
|
-
`]))),Zg=function(t,n){var i=t.isFocused,r=t.size,s=t.theme,o=s.colors,u=s.spacing.baseUnit;return w({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:r,lineHeight:1,marginRight:r,textAlign:"center",verticalAlign:"middle"},n?{}:{color:i?o.neutral60:o.neutral20,padding:u*2})},vr=function(t){var n=t.delay,i=t.offset;return V("span",{css:dr({animation:"".concat(kg," 1s ease-in-out ").concat(n,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:i?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},process.env.NODE_ENV==="production"?"":";label:LoadingDot;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxuf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size,s=r===void 0?4:r,o=Oe(t,Fg);return V("div",B({},j(w(w({},o),{},{innerProps:n,isRtl:i,size:s}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),n),V(vr,{delay:0,offset:i}),V(vr,{delay:160,offset:!0}),V(vr,{delay:320,offset:!i}))},Hg=function(t,n){var i=t.isDisabled,r=t.isFocused,s=t.theme,o=s.colors,u=s.borderRadius,a=s.spacing;return w({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:a.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},n?{}:{backgroundColor:i?o.neutral5:o.neutral0,borderColor:i?o.neutral10:r?o.primary:o.neutral20,borderRadius:u,borderStyle:"solid",borderWidth:1,boxShadow:r?"0 0 0 1px ".concat(o.primary):void 0,"&:hover":{borderColor:r?o.primary:o.neutral30}})},Yg=function(t){var n=t.children,i=t.isDisabled,r=t.isFocused,s=t.innerRef,o=t.innerProps,u=t.menuIsOpen;return V("div",B({ref:s},j(t,"control",{control:!0,"control--is-disabled":i,"control--is-focused":r,"control--menu-is-open":u}),o,{"aria-disabled":i||void 0}),n)},jg=Yg,Jg=["data"],Ug=function(t,n){var i=t.theme.spacing;return n?{}:{paddingBottom:i.baseUnit*2,paddingTop:i.baseUnit*2}},_g=function(t){var n=t.children,i=t.cx,r=t.getStyles,s=t.getClassNames,o=t.Heading,u=t.headingProps,a=t.innerProps,l=t.label,c=t.theme,d=t.selectProps;return V("div",B({},j(t,"group",{group:!0}),a),V(o,B({},u,{selectProps:d,theme:c,getStyles:r,getClassNames:s,cx:i}),l),V("div",null,n))},$g=function(t,n){var i=t.theme,r=i.colors,s=i.spacing;return w({label:"group",cursor:"default",display:"block"},n?{}:{color:r.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:s.baseUnit*3,paddingRight:s.baseUnit*3,textTransform:"uppercase"})},Qg=function(t){var n=cu(t);n.data;var i=Oe(n,Jg);return V("div",B({},j(t,"groupHeading",{"group-heading":!0}),i))},Kg=_g,qg=["innerRef","isDisabled","isHidden","inputClassName"],eb=function(t,n){var i=t.isDisabled,r=t.value,s=t.theme,o=s.spacing,u=s.colors;return w(w({visibility:i?"hidden":"visible",transform:r?"translateZ(0)":""},tb),n?{}:{margin:o.baseUnit/2,paddingBottom:o.baseUnit/2,paddingTop:o.baseUnit/2,color:u.neutral80})},xu={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},tb={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":w({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},xu)},nb=function(t){return w({label:"input",color:"inherit",background:0,opacity:t?0:1,width:"100%"},xu)},ib=function(t){var n=t.cx,i=t.value,r=cu(t),s=r.innerRef,o=r.isDisabled,u=r.isHidden,a=r.inputClassName,l=Oe(r,qg);return V("div",B({},j(t,"input",{"input-container":!0}),{"data-value":i||""}),V("input",B({className:n({input:!0},a),ref:s,style:nb(u),disabled:o},l)))},rb=ib,sb=function(t,n){var i=t.theme,r=i.spacing,s=i.borderRadius,o=i.colors;return w({label:"multiValue",display:"flex",minWidth:0},n?{}:{backgroundColor:o.neutral10,borderRadius:s/2,margin:r.baseUnit/2})},ob=function(t,n){var i=t.theme,r=i.borderRadius,s=i.colors,o=t.cropWithEllipsis;return w({overflow:"hidden",textOverflow:o||o===void 0?"ellipsis":void 0,whiteSpace:"nowrap"},n?{}:{borderRadius:r/2,color:s.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},ab=function(t,n){var i=t.theme,r=i.spacing,s=i.borderRadius,o=i.colors,u=t.isFocused;return w({alignItems:"center",display:"flex"},n?{}:{borderRadius:s/2,backgroundColor:u?o.dangerLight:void 0,paddingLeft:r.baseUnit,paddingRight:r.baseUnit,":hover":{backgroundColor:o.dangerLight,color:o.danger}})},Au=function(t){var n=t.children,i=t.innerProps;return V("div",i,n)},ub=Au,lb=Au;function cb(e){var t=e.children,n=e.innerProps;return V("div",B({role:"button"},n),t||V(br,{size:14}))}var db=function(t){var n=t.children,i=t.components,r=t.data,s=t.innerProps,o=t.isDisabled,u=t.removeProps,a=t.selectProps,l=i.Container,c=i.Label,d=i.Remove;return V(l,{data:r,innerProps:w(w({},j(t,"multiValue",{"multi-value":!0,"multi-value--is-disabled":o})),s),selectProps:a},V(c,{data:r,innerProps:w({},j(t,"multiValueLabel",{"multi-value__label":!0})),selectProps:a},n),V(d,{data:r,innerProps:w(w({},j(t,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(n||"option")},u),selectProps:a}))},fb=db,hb=function(t,n){var i=t.isDisabled,r=t.isFocused,s=t.isSelected,o=t.theme,u=o.spacing,a=o.colors;return w({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},n?{}:{backgroundColor:s?a.primary:r?a.primary25:"transparent",color:i?a.neutral20:s?a.neutral0:"inherit",padding:"".concat(u.baseUnit*2,"px ").concat(u.baseUnit*3,"px"),":active":{backgroundColor:i?void 0:s?a.primary:a.primary50}})},pb=function(t){var n=t.children,i=t.isDisabled,r=t.isFocused,s=t.isSelected,o=t.innerRef,u=t.innerProps;return V("div",B({},j(t,"option",{option:!0,"option--is-disabled":i,"option--is-focused":r,"option--is-selected":s}),{ref:o,"aria-disabled":i},u),n)},mb=pb,gb=function(t,n){var i=t.theme,r=i.spacing,s=i.colors;return w({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},n?{}:{color:s.neutral50,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2})},bb=function(t){var n=t.children,i=t.innerProps;return V("div",B({},j(t,"placeholder",{placeholder:!0}),i),n)},vb=bb,yb=function(t,n){var i=t.isDisabled,r=t.theme,s=r.spacing,o=r.colors;return w({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},n?{}:{color:i?o.neutral40:o.neutral80,marginLeft:s.baseUnit/2,marginRight:s.baseUnit/2})},Ib=function(t){var n=t.children,i=t.isDisabled,r=t.innerProps;return V("div",B({},j(t,"singleValue",{"single-value":!0,"single-value--is-disabled":i}),r),n)},Cb=Ib,xb={ClearIndicator:Lg,Control:jg,DropdownIndicator:Ng,DownChevron:Iu,CrossIcon:br,Group:Kg,GroupHeading:Qg,IndicatorsContainer:Gg,IndicatorSeparator:Wg,Input:rb,LoadingIndicator:zg,Menu:gg,MenuList:vg,MenuPortal:Sg,LoadingMessage:xg,NoOptionsMessage:Cg,MultiValue:fb,MultiValueContainer:ub,MultiValueLabel:lb,MultiValueRemove:cb,Option:mb,Placeholder:vb,SelectContainer:Pg,SingleValue:Cb,ValueContainer:Vg},Ab=function(t){return w(w({},xb),t.components)},Su=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function Sb(e,t){return!!(e===t||Su(e)&&Su(t))}function Eb(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!Sb(e[n],t[n]))return!1;return!0}function Pb(e,t){t===void 0&&(t=Eb);var n=null;function i(){for(var r=[],s=0;s<arguments.length;s++)r[s]=arguments[s];if(n&&n.lastThis===this&&t(r,n.lastArgs))return n.lastResult;var o=e.apply(this,r);return n={lastResult:o,lastArgs:r,lastThis:this},o}return i.clear=function(){n=null},i}function Tb(){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 Vb=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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFPSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IEpTWCB9IGZyb20gJ3JlYWN0JztcbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */",toString:Tb},wb=function(t){return V("span",B({css:Vb},t))},Eu=wb,Gb={guidance:function(t){var n=t.isSearchable,i=t.isMulti,r=t.tabSelectsValue,s=t.context,o=t.isInitialFocus;switch(s){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(r?", press Tab to select the option and exit the menu":"",".");case"input":return o?"".concat(t["aria-label"]||"Select"," is focused ").concat(n?",type to refine list":"",", press Down to open the menu, ").concat(i?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(t){var n=t.action,i=t.label,r=i===void 0?"":i,s=t.labels,o=t.isDisabled;switch(n){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(r,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(s.length>1?"s":""," ").concat(s.join(","),", selected.");case"select-option":return o?"option ".concat(r," is disabled. Select another option."):"option ".concat(r,", selected.");default:return""}},onFocus:function(t){var n=t.context,i=t.focused,r=t.options,s=t.label,o=s===void 0?"":s,u=t.selectValue,a=t.isDisabled,l=t.isSelected,c=t.isAppleDevice,d=function(m,p){return m&&m.length?"".concat(m.indexOf(p)+1," of ").concat(m.length):""};if(n==="value"&&u)return"value ".concat(o," focused, ").concat(d(u,i),".");if(n==="menu"&&c){var f=a?" disabled":"",h="".concat(l?" selected":"").concat(f);return"".concat(o).concat(h,", ").concat(d(r,i),".")}return""},onFilter:function(t){var n=t.inputValue,i=t.resultsMessage;return"".concat(i).concat(n?" for search term "+n:"",".")}},Bb=function(t){var n=t.ariaSelection,i=t.focusedOption,r=t.focusedValue,s=t.focusableOptions,o=t.isFocused,u=t.selectValue,a=t.selectProps,l=t.id,c=t.isAppleDevice,d=a.ariaLiveMessages,f=a.getOptionLabel,h=a.inputValue,g=a.isMulti,m=a.isOptionDisabled,p=a.isSearchable,b=a.menuIsOpen,C=a.options,I=a.screenReaderStatus,x=a.tabSelectsValue,v=a.isLoading,S=a["aria-label"],E=a["aria-live"],P=y.useMemo(function(){return w(w({},Gb),d||{})},[d]),F=y.useMemo(function(){var $="";if(n&&P.onChange){var J=n.option,X=n.options,k=n.removedValue,de=n.removedValues,oe=n.value,gt=function(Se){return Array.isArray(Se)?null:Se},Q=k||J||gt(oe),ae=Q?f(Q):"",Ae=X||de||void 0,Be=Ae?Ae.map(f):[],ge=w({isDisabled:Q&&m(Q,u),label:ae,labels:Be},n);$=P.onChange(ge)}return $},[n,P,m,u,f]),D=y.useMemo(function(){var $="",J=i||r,X=!!(i&&u&&u.includes(i));if(J&&P.onFocus){var k={focused:J,label:f(J),isDisabled:m(J,u),isSelected:X,options:s,context:J===i?"menu":"value",selectValue:u,isAppleDevice:c};$=P.onFocus(k)}return $},[i,r,f,m,P,s,u,c]),Y=y.useMemo(function(){var $="";if(b&&C.length&&!v&&P.onFilter){var J=I({count:s.length});$=P.onFilter({inputValue:h,resultsMessage:J})}return $},[s,h,b,P,C,I,v]),_=(n==null?void 0:n.action)==="initial-input-focus",me=y.useMemo(function(){var $="";if(P.guidance){var J=r?"value":b?"menu":"input";$=P.guidance({"aria-label":S,context:J,isDisabled:i&&m(i,u),isMulti:g,isSearchable:p,tabSelectsValue:x,isInitialFocus:_})}return $},[S,i,r,g,m,p,b,P,u,x,_]),ce=V(y.Fragment,null,V("span",{id:"aria-selection"},F),V("span",{id:"aria-focused"},D),V("span",{id:"aria-results"},Y),V("span",{id:"aria-guidance"},me));return V(y.Fragment,null,V(Eu,{id:l},_&&ce),V(Eu,{"aria-live":E,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},o&&!_&&ce))},Fb=Bb,yr=[{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źẑżžẓẕƶȥɀⱬꝣ"}],Mb=new RegExp("["+yr.map(function(e){return e.letters}).join("")+"]","g"),Pu={},Ir=0;Ir<yr.length;Ir++)for(var Cr=yr[Ir],xr=0;xr<Cr.letters.length;xr++)Pu[Cr.letters[xr]]=Cr.base;var Tu=function(t){return t.replace(Mb,function(n){return Pu[n]})},Db=Pb(Tu),Vu=function(t){return t.replace(/^\s+|\s+$/g,"")},Rb=function(t){return"".concat(t.label," ").concat(t.value)},Nb=function(t){return function(n,i){if(n.data.__isNew__)return!0;var r=w({ignoreCase:!0,ignoreAccents:!0,stringify:Rb,trim:!0,matchFrom:"any"},t),s=r.ignoreCase,o=r.ignoreAccents,u=r.stringify,a=r.trim,l=r.matchFrom,c=a?Vu(i):i,d=a?Vu(u(n)):u(n);return s&&(c=c.toLowerCase(),d=d.toLowerCase()),o&&(c=Db(c),d=Tu(d)),l==="start"?d.substr(0,c.length)===c:d.indexOf(c)>-1}},Ob=["innerRef"];function Lb(e){var t=e.innerRef,n=Oe(e,Ob),i=ug(n,"onExited","in","enter","exit","appear");return V("input",B({ref:t},i,{css:dr({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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWYgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQgeyByZW1vdmVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gRHVtbXlJbnB1dCh7XG4gIGlubmVyUmVmLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydpbnB1dCddICYge1xuICByZWFkb25seSBpbm5lclJlZjogUmVmPEhUTUxJbnB1dEVsZW1lbnQ+O1xufSkge1xuICAvLyBSZW1vdmUgYW5pbWF0aW9uIHByb3BzIG5vdCBtZWFudCBmb3IgSFRNTCBlbGVtZW50c1xuICBjb25zdCBmaWx0ZXJlZFByb3BzID0gcmVtb3ZlUHJvcHMoXG4gICAgcHJvcHMsXG4gICAgJ29uRXhpdGVkJyxcbiAgICAnaW4nLFxuICAgICdlbnRlcicsXG4gICAgJ2V4aXQnLFxuICAgICdhcHBlYXInXG4gICk7XG5cbiAgcmV0dXJuIChcbiAgICA8aW5wdXRcbiAgICAgIHJlZj17aW5uZXJSZWZ9XG4gICAgICB7Li4uZmlsdGVyZWRQcm9wc31cbiAgICAgIGNzcz17e1xuICAgICAgICBsYWJlbDogJ2R1bW15SW5wdXQnLFxuICAgICAgICAvLyBnZXQgcmlkIG9mIGFueSBkZWZhdWx0IHN0eWxlc1xuICAgICAgICBiYWNrZ3JvdW5kOiAwLFxuICAgICAgICBib3JkZXI6IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgdGhpcyBoaWRlcyB0aGUgZmxhc2hpbmcgY3Vyc29yXG4gICAgICAgIGNhcmV0Q29sb3I6ICd0cmFuc3BhcmVudCcsXG4gICAgICAgIGZvbnRTaXplOiAnaW5oZXJpdCcsXG4gICAgICAgIGdyaWRBcmVhOiAnMSAvIDEgLyAyIC8gMycsXG4gICAgICAgIG91dGxpbmU6IDAsXG4gICAgICAgIHBhZGRpbmc6IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgd2l0aG91dCBgd2lkdGhgIGJyb3dzZXJzIHdvbid0IGFsbG93IGZvY3VzXG4gICAgICAgIHdpZHRoOiAxLFxuXG4gICAgICAgIC8vIHJlbW92ZSBjdXJzb3Igb24gZGVza3RvcFxuICAgICAgICBjb2xvcjogJ3RyYW5zcGFyZW50JyxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIG1vYmlsZSB3aGlsc3QgbWFpbnRhaW5pbmcgXCJzY3JvbGwgaW50byB2aWV3XCIgYmVoYXZpb3VyXG4gICAgICAgIGxlZnQ6IC0xMDAsXG4gICAgICAgIG9wYWNpdHk6IDAsXG4gICAgICAgIHBvc2l0aW9uOiAncmVsYXRpdmUnLFxuICAgICAgICB0cmFuc2Zvcm06ICdzY2FsZSguMDEpJyxcbiAgICAgIH19XG4gICAgLz5cbiAgKTtcbn1cbiJdfQ== */")}))}var Xb=function(t){t.cancelable&&t.preventDefault(),t.stopPropagation()};function Wb(e){var t=e.isEnabled,n=e.onBottomArrive,i=e.onBottomLeave,r=e.onTopArrive,s=e.onTopLeave,o=y.useRef(!1),u=y.useRef(!1),a=y.useRef(0),l=y.useRef(null),c=y.useCallback(function(p,b){if(l.current!==null){var C=l.current,I=C.scrollTop,x=C.scrollHeight,v=C.clientHeight,S=l.current,E=b>0,P=x-v-I,F=!1;P>b&&o.current&&(i&&i(p),o.current=!1),E&&u.current&&(s&&s(p),u.current=!1),E&&b>P?(n&&!o.current&&n(p),S.scrollTop=x,F=!0,o.current=!0):!E&&-b>I&&(r&&!u.current&&r(p),S.scrollTop=0,F=!0,u.current=!0),F&&Xb(p)}},[n,i,r,s]),d=y.useCallback(function(p){c(p,p.deltaY)},[c]),f=y.useCallback(function(p){a.current=p.changedTouches[0].clientY},[]),h=y.useCallback(function(p){var b=a.current-p.changedTouches[0].clientY;c(p,b)},[c]),g=y.useCallback(function(p){if(p){var b=sg?{passive:!1}:!1;p.addEventListener("wheel",d,b),p.addEventListener("touchstart",f,b),p.addEventListener("touchmove",h,b)}},[h,f,d]),m=y.useCallback(function(p){p&&(p.removeEventListener("wheel",d,!1),p.removeEventListener("touchstart",f,!1),p.removeEventListener("touchmove",h,!1))},[h,f,d]);return y.useEffect(function(){if(t){var p=l.current;return g(p),function(){m(p)}}},[t,g,m]),function(p){l.current=p}}var wu=["boxSizing","height","overflow","paddingRight","position"],Gu={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Bu(e){e.cancelable&&e.preventDefault()}function Fu(e){e.stopPropagation()}function Mu(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;e===0?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function Du(){return"ontouchstart"in window||navigator.maxTouchPoints}var Ru=!!(typeof window<"u"&&window.document&&window.document.createElement),Zt=0,pt={capture:!1,passive:!1};function kb(e){var t=e.isEnabled,n=e.accountForScrollbars,i=n===void 0?!0:n,r=y.useRef({}),s=y.useRef(null),o=y.useCallback(function(a){if(Ru){var l=document.body,c=l&&l.style;if(i&&wu.forEach(function(g){var m=c&&c[g];r.current[g]=m}),i&&Zt<1){var d=parseInt(r.current.paddingRight,10)||0,f=document.body?document.body.clientWidth:0,h=window.innerWidth-f+d||0;Object.keys(Gu).forEach(function(g){var m=Gu[g];c&&(c[g]=m)}),c&&(c.paddingRight="".concat(h,"px"))}l&&Du()&&(l.addEventListener("touchmove",Bu,pt),a&&(a.addEventListener("touchstart",Mu,pt),a.addEventListener("touchmove",Fu,pt))),Zt+=1}},[i]),u=y.useCallback(function(a){if(Ru){var l=document.body,c=l&&l.style;Zt=Math.max(Zt-1,0),i&&Zt<1&&wu.forEach(function(d){var f=r.current[d];c&&(c[d]=f)}),l&&Du()&&(l.removeEventListener("touchmove",Bu,pt),a&&(a.removeEventListener("touchstart",Mu,pt),a.removeEventListener("touchmove",Fu,pt)))}},[i]);return y.useEffect(function(){if(t){var a=s.current;return o(a),function(){u(a)}}},[t,o,u]),function(a){s.current=a}}function Zb(){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 zb=function(t){var n=t.target;return n.ownerDocument.activeElement&&n.ownerDocument.activeElement.blur()},Hb=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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2ssIE1vdXNlRXZlbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcuL3VzZVNjcm9sbEN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e.onBottomArrive,o=e.onBottomLeave,u=e.onTopArrive,a=e.onTopLeave,l=Wb({isEnabled:r,onBottomArrive:s,onBottomLeave:o,onTopArrive:u,onTopLeave:a}),c=kb({isEnabled:n}),d=function(h){l(h),c(h)};return V(y.Fragment,null,n&&V("div",{onClick:zb,css:Hb}),t(d))}function jb(){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 Jb=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:jb},Ub=function(t){var n=t.name,i=t.onFocus;return V("input",{required:!0,name:n,tabIndex:-1,"aria-hidden":"true",onFocus:i,css:Jb,value:"",onChange:function(){}})},_b=Ub;function Ar(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 $b(){return Ar(/^iPhone/i)}function Nu(){return Ar(/^Mac/i)}function Qb(){return Ar(/^iPad/i)||Nu()&&navigator.maxTouchPoints>1}function Kb(){return $b()||Qb()}function qb(){return Nu()||Kb()}var e0=function(t){return t.label},t0=function(t){return t.label},n0=function(t){return t.value},i0=function(t){return!!t.isDisabled},r0={clearIndicator:Og,container:Eg,control:Hg,dropdownIndicator:Rg,group:Ug,groupHeading:$g,indicatorsContainer:wg,indicatorSeparator:Xg,input:eb,loadingIndicator:Zg,loadingMessage:Ig,menu:hg,menuList:bg,menuPortal:Ag,multiValue:sb,multiValueLabel:ob,multiValueRemove:ab,noOptionsMessage:yg,option:hb,placeholder:gb,singleValue:yb,valueContainer:Tg},s0={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%)"},o0=4,Ou=4,a0=38,u0=Ou*2,l0={baseUnit:Ou,controlHeight:a0,menuGutter:u0},Sr={borderRadius:o0,colors:s0,spacing:l0},c0={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:hu(),captureMenuScroll:!hu(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:Nb(),formatGroupLabel:e0,getOptionLabel:t0,getOptionValue:n0,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:i0,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!ig(),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 Lu(e,t,n,i){var r=zu(e,t,n),s=Hu(e,t,n),o=Zu(e,t),u=Ln(e,t);return{type:"option",data:t,isDisabled:r,isSelected:s,label:o,value:u,index:i}}function On(e,t){return e.options.map(function(n,i){if("options"in n){var r=n.options.map(function(o,u){return Lu(e,o,t,u)}).filter(function(o){return ku(e,o)});return r.length>0?{type:"group",data:n,options:r,index:i}:void 0}var s=Lu(e,n,t,i);return ku(e,s)?s:void 0}).filter(og)}function Xu(e){return e.reduce(function(t,n){return n.type==="group"?t.push.apply(t,tr(n.options.map(function(i){return i.data}))):t.push(n.data),t},[])}function Wu(e,t){return e.reduce(function(n,i){return i.type==="group"?n.push.apply(n,tr(i.options.map(function(r){return{data:r.data,id:"".concat(t,"-").concat(i.index,"-").concat(r.index)}}))):n.push({data:i.data,id:"".concat(t,"-").concat(i.index)}),n},[])}function d0(e,t){return Xu(On(e,t))}function ku(e,t){var n=e.inputValue,i=n===void 0?"":n,r=t.data,s=t.isSelected,o=t.label,u=t.value;return(!ju(e)||!s)&&Yu(e,{label:o,value:u,data:r},i)}function f0(e,t){var n=e.focusedValue,i=e.selectValue,r=i.indexOf(n);if(r>-1){var s=t.indexOf(n);if(s>-1)return n;if(r<t.length)return t[r]}return null}function h0(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}var Er=function(t,n){var i,r=(i=t.find(function(s){return s.data===n}))===null||i===void 0?void 0:i.id;return r||null},Zu=function(t,n){return t.getOptionLabel(n)},Ln=function(t,n){return t.getOptionValue(n)};function zu(e,t,n){return typeof e.isOptionDisabled=="function"?e.isOptionDisabled(t,n):!1}function Hu(e,t,n){if(n.indexOf(t)>-1)return!0;if(typeof e.isOptionSelected=="function")return e.isOptionSelected(t,n);var i=Ln(e,t);return n.some(function(r){return Ln(e,r)===i})}function Yu(e,t,n){return e.filterOption?e.filterOption(t,n):!0}var ju=function(t){var n=t.hideSelectedOptions,i=t.isMulti;return n===void 0?i:n},p0=1,Ju=(function(e){wp(n,e);var t=Fp(n);function n(i){var r;if(Tp(this,n),r=t.call(this,i),r.state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:"",isAppleDevice:!1},r.blockOptionHover=!1,r.isComposing=!1,r.commonProps=void 0,r.initialTouchX=0,r.initialTouchY=0,r.openAfterFocus=!1,r.scrollToFocusedOptionOnUpdate=!1,r.userIsDragging=void 0,r.controlRef=null,r.getControlRef=function(a){r.controlRef=a},r.focusedOptionRef=null,r.getFocusedOptionRef=function(a){r.focusedOptionRef=a},r.menuListRef=null,r.getMenuListRef=function(a){r.menuListRef=a},r.inputRef=null,r.getInputRef=function(a){r.inputRef=a},r.focus=r.focusInput,r.blur=r.blurInput,r.onChange=function(a,l){var c=r.props,d=c.onChange,f=c.name;l.name=f,r.ariaOnChange(a,l),d(a,l)},r.setValue=function(a,l,c){var d=r.props,f=d.closeMenuOnSelect,h=d.isMulti,g=d.inputValue;r.onInputChange("",{action:"set-value",prevInputValue:g}),f&&(r.setState({inputIsHiddenAfterUpdate:!h}),r.onMenuClose()),r.setState({clearFocusValueOnUpdate:!0}),r.onChange(a,{action:l,option:c})},r.selectOption=function(a){var l=r.props,c=l.blurInputOnSelect,d=l.isMulti,f=l.name,h=r.state.selectValue,g=d&&r.isOptionSelected(a,h),m=r.isOptionDisabled(a,h);if(g){var p=r.getOptionValue(a);r.setValue(h.filter(function(b){return r.getOptionValue(b)!==p}),"deselect-option",a)}else if(!m)d?r.setValue([].concat(tr(h),[a]),"select-option",a):r.setValue(a,"select-option");else{r.ariaOnChange(a,{action:"select-option",option:a,name:f});return}c&&r.blurInput()},r.removeValue=function(a){var l=r.props.isMulti,c=r.state.selectValue,d=r.getOptionValue(a),f=c.filter(function(g){return r.getOptionValue(g)!==d}),h=Nn(l,f,f[0]||null);r.onChange(h,{action:"remove-value",removedValue:a}),r.focusInput()},r.clearValue=function(){var a=r.state.selectValue;r.onChange(Nn(r.props.isMulti,[],null),{action:"clear",removedValues:a})},r.popValue=function(){var a=r.props.isMulti,l=r.state.selectValue,c=l[l.length-1],d=l.slice(0,l.length-1),f=Nn(a,d,d[0]||null);c&&r.onChange(f,{action:"pop-value",removedValue:c})},r.getFocusedOptionId=function(a){return Er(r.state.focusableOptionsWithIds,a)},r.getFocusableOptionsWithIds=function(){return Wu(On(r.props,r.state.selectValue),r.getElementId("option"))},r.getValue=function(){return r.state.selectValue},r.cx=function(){for(var a=arguments.length,l=new Array(a),c=0;c<a;c++)l[c]=arguments[c];return Km.apply(void 0,[r.props.classNamePrefix].concat(l))},r.getOptionLabel=function(a){return Zu(r.props,a)},r.getOptionValue=function(a){return Ln(r.props,a)},r.getStyles=function(a,l){var c=r.props.unstyled,d=r0[a](l,c);d.boxSizing="border-box";var f=r.props.styles[a];return f?f(d,l):d},r.getClassNames=function(a,l){var c,d;return(c=(d=r.props.classNames)[a])===null||c===void 0?void 0:c.call(d,l)},r.getElementId=function(a){return"".concat(r.state.instancePrefix,"-").concat(a)},r.getComponents=function(){return Ab(r.props)},r.buildCategorizedOptions=function(){return On(r.props,r.state.selectValue)},r.getCategorizedOptions=function(){return r.props.menuIsOpen?r.buildCategorizedOptions():[]},r.buildFocusableOptions=function(){return Xu(r.buildCategorizedOptions())},r.getFocusableOptions=function(){return r.props.menuIsOpen?r.buildFocusableOptions():[]},r.ariaOnChange=function(a,l){r.setState({ariaSelection:w({value:a},l)})},r.onMenuMouseDown=function(a){a.button===0&&(a.stopPropagation(),a.preventDefault(),r.focusInput())},r.onMenuMouseMove=function(a){r.blockOptionHover=!1},r.onControlMouseDown=function(a){if(!a.defaultPrevented){var l=r.props.openMenuOnClick;r.state.isFocused?r.props.menuIsOpen?a.target.tagName!=="INPUT"&&a.target.tagName!=="TEXTAREA"&&r.onMenuClose():l&&r.openMenu("first"):(l&&(r.openAfterFocus=!0),r.focusInput()),a.target.tagName!=="INPUT"&&a.target.tagName!=="TEXTAREA"&&a.preventDefault()}},r.onDropdownIndicatorMouseDown=function(a){if(!(a&&a.type==="mousedown"&&a.button!==0)&&!r.props.isDisabled){var l=r.props,c=l.isMulti,d=l.menuIsOpen;r.focusInput(),d?(r.setState({inputIsHiddenAfterUpdate:!c}),r.onMenuClose()):r.openMenu("first"),a.preventDefault()}},r.onClearIndicatorMouseDown=function(a){a&&a.type==="mousedown"&&a.button!==0||(r.clearValue(),a.preventDefault(),r.openAfterFocus=!1,a.type==="touchend"?r.focusInput():setTimeout(function(){return r.focusInput()}))},r.onScroll=function(a){typeof r.props.closeMenuOnScroll=="boolean"?a.target instanceof HTMLElement&&Fn(a.target)&&r.props.onMenuClose():typeof r.props.closeMenuOnScroll=="function"&&r.props.closeMenuOnScroll(a)&&r.props.onMenuClose()},r.onCompositionStart=function(){r.isComposing=!0},r.onCompositionEnd=function(){r.isComposing=!1},r.onTouchStart=function(a){var l=a.touches,c=l&&l.item(0);c&&(r.initialTouchX=c.clientX,r.initialTouchY=c.clientY,r.userIsDragging=!1)},r.onTouchMove=function(a){var l=a.touches,c=l&&l.item(0);if(c){var d=Math.abs(c.clientX-r.initialTouchX),f=Math.abs(c.clientY-r.initialTouchY),h=5;r.userIsDragging=d>h||f>h}},r.onTouchEnd=function(a){r.userIsDragging||(r.controlRef&&!r.controlRef.contains(a.target)&&r.menuListRef&&!r.menuListRef.contains(a.target)&&r.blurInput(),r.initialTouchX=0,r.initialTouchY=0)},r.onControlTouchEnd=function(a){r.userIsDragging||r.onControlMouseDown(a)},r.onClearIndicatorTouchEnd=function(a){r.userIsDragging||r.onClearIndicatorMouseDown(a)},r.onDropdownIndicatorTouchEnd=function(a){r.userIsDragging||r.onDropdownIndicatorMouseDown(a)},r.handleInputChange=function(a){var l=r.props.inputValue,c=a.currentTarget.value;r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange(c,{action:"input-change",prevInputValue:l}),r.props.menuIsOpen||r.onMenuOpen()},r.onInputFocus=function(a){r.props.onFocus&&r.props.onFocus(a),r.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(r.openAfterFocus||r.props.openMenuOnFocus)&&r.openMenu("first"),r.openAfterFocus=!1},r.onInputBlur=function(a){var l=r.props.inputValue;if(r.menuListRef&&r.menuListRef.contains(document.activeElement)){r.inputRef.focus();return}r.props.onBlur&&r.props.onBlur(a),r.onInputChange("",{action:"input-blur",prevInputValue:l}),r.onMenuClose(),r.setState({focusedValue:null,isFocused:!1})},r.onOptionHover=function(a){if(!(r.blockOptionHover||r.state.focusedOption===a)){var l=r.getFocusableOptions(),c=l.indexOf(a);r.setState({focusedOption:a,focusedOptionId:c>-1?r.getFocusedOptionId(a):null})}},r.shouldHideSelectedOptions=function(){return ju(r.props)},r.onValueInputFocus=function(a){a.preventDefault(),a.stopPropagation(),r.focus()},r.onKeyDown=function(a){var l=r.props,c=l.isMulti,d=l.backspaceRemovesValue,f=l.escapeClearsValue,h=l.inputValue,g=l.isClearable,m=l.isDisabled,p=l.menuIsOpen,b=l.onKeyDown,C=l.tabSelectsValue,I=l.openMenuOnFocus,x=r.state,v=x.focusedOption,S=x.focusedValue,E=x.selectValue;if(!m&&!(typeof b=="function"&&(b(a),a.defaultPrevented))){switch(r.blockOptionHover=!0,a.key){case"ArrowLeft":if(!c||h)return;r.focusValue("previous");break;case"ArrowRight":if(!c||h)return;r.focusValue("next");break;case"Delete":case"Backspace":if(h)return;if(S)r.removeValue(S);else{if(!d)return;c?r.popValue():g&&r.clearValue()}break;case"Tab":if(r.isComposing||a.shiftKey||!p||!C||!v||I&&r.isOptionSelected(v,E))return;r.selectOption(v);break;case"Enter":if(a.keyCode===229)break;if(p){if(!v||r.isComposing)return;r.selectOption(v);break}return;case"Escape":p?(r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange("",{action:"menu-close",prevInputValue:h}),r.onMenuClose()):g&&f&&r.clearValue();break;case" ":if(h)return;if(!p){r.openMenu("first");break}if(!v)return;r.selectOption(v);break;case"ArrowUp":p?r.focusOption("up"):r.openMenu("last");break;case"ArrowDown":p?r.focusOption("down"):r.openMenu("first");break;case"PageUp":if(!p)return;r.focusOption("pageup");break;case"PageDown":if(!p)return;r.focusOption("pagedown");break;case"Home":if(!p)return;r.focusOption("first");break;case"End":if(!p)return;r.focusOption("last");break;default:return}a.preventDefault()}},r.state.instancePrefix="react-select-"+(r.props.instanceId||++p0),r.state.selectValue=lu(i.value),i.menuIsOpen&&r.state.selectValue.length){var s=r.getFocusableOptionsWithIds(),o=r.buildFocusableOptions(),u=o.indexOf(r.state.selectValue[0]);r.state.focusableOptionsWithIds=s,r.state.focusedOption=o[u],r.state.focusedOptionId=Er(s,o[u])}return r}return Vp(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&&fu(this.menuListRef,this.focusedOptionRef),qb()&&this.setState({isAppleDevice:!0})}},{key:"componentDidUpdate",value:function(r){var s=this.props,o=s.isDisabled,u=s.menuIsOpen,a=this.state.isFocused;(a&&!o&&r.isDisabled||a&&u&&!r.menuIsOpen)&&this.focusInput(),a&&o&&!r.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!a&&!o&&r.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(fu(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(r,s){this.props.onInputChange(r,s)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(r){var s=this,o=this.state,u=o.selectValue,a=o.isFocused,l=this.buildFocusableOptions(),c=r==="first"?0:l.length-1;if(!this.props.isMulti){var d=l.indexOf(u[0]);d>-1&&(c=d)}this.scrollToFocusedOptionOnUpdate=!(a&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:l[c],focusedOptionId:this.getFocusedOptionId(l[c])},function(){return s.onMenuOpen()})}},{key:"focusValue",value:function(r){var s=this.state,o=s.selectValue,u=s.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var a=o.indexOf(u);u||(a=-1);var l=o.length-1,c=-1;if(o.length){switch(r){case"previous":a===0?c=0:a===-1?c=l:c=a-1;break;case"next":a>-1&&a<l&&(c=a+1);break}this.setState({inputIsHidden:c!==-1,focusedValue:o[c]})}}}},{key:"focusOption",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"first",s=this.props.pageSize,o=this.state.focusedOption,u=this.getFocusableOptions();if(u.length){var a=0,l=u.indexOf(o);o||(l=-1),r==="up"?a=l>0?l-1:u.length-1:r==="down"?a=(l+1)%u.length:r==="pageup"?(a=l-s,a<0&&(a=0)):r==="pagedown"?(a=l+s,a>u.length-1&&(a=u.length-1)):r==="last"&&(a=u.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:u[a],focusedValue:null,focusedOptionId:this.getFocusedOptionId(u[a])})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(Sr):w(w({},Sr),this.props.theme):Sr}},{key:"getCommonProps",value:function(){var r=this.clearValue,s=this.cx,o=this.getStyles,u=this.getClassNames,a=this.getValue,l=this.selectOption,c=this.setValue,d=this.props,f=d.isMulti,h=d.isRtl,g=d.options,m=this.hasValue();return{clearValue:r,cx:s,getStyles:o,getClassNames:u,getValue:a,hasValue:m,isMulti:f,isRtl:h,options:g,selectOption:l,selectProps:d,setValue:c,theme:this.getTheme()}}},{key:"hasValue",value:function(){var r=this.state.selectValue;return r.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var r=this.props,s=r.isClearable,o=r.isMulti;return s===void 0?o:s}},{key:"isOptionDisabled",value:function(r,s){return zu(this.props,r,s)}},{key:"isOptionSelected",value:function(r,s){return Hu(this.props,r,s)}},{key:"filterOption",value:function(r,s){return Yu(this.props,r,s)}},{key:"formatOptionLabel",value:function(r,s){if(typeof this.props.formatOptionLabel=="function"){var o=this.props.inputValue,u=this.state.selectValue;return this.props.formatOptionLabel(r,{context:s,inputValue:o,selectValue:u})}else return this.getOptionLabel(r)}},{key:"formatGroupLabel",value:function(r){return this.props.formatGroupLabel(r)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var r=this.props,s=r.isDisabled,o=r.isSearchable,u=r.inputId,a=r.inputValue,l=r.tabIndex,c=r.form,d=r.menuIsOpen,f=r.required,h=this.getComponents(),g=h.Input,m=this.state,p=m.inputIsHidden,b=m.ariaSelection,C=this.commonProps,I=u||this.getElementId("input"),x=w(w(w({"aria-autocomplete":"list","aria-expanded":d,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":f,role:"combobox","aria-activedescendant":this.state.isAppleDevice?void 0:this.state.focusedOptionId||""},d&&{"aria-controls":this.getElementId("listbox")}),!o&&{"aria-readonly":!0}),this.hasValue()?(b==null?void 0:b.action)==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return o?M.createElement(g,B({},C,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:I,innerRef:this.getInputRef,isDisabled:s,isHidden:p,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:l,form:c,type:"text",value:a},x)):M.createElement(Lb,B({id:I,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Bn,onFocus:this.onInputFocus,disabled:s,tabIndex:l,inputMode:"none",form:c,value:""},x))}},{key:"renderPlaceholderOrValue",value:function(){var r=this,s=this.getComponents(),o=s.MultiValue,u=s.MultiValueContainer,a=s.MultiValueLabel,l=s.MultiValueRemove,c=s.SingleValue,d=s.Placeholder,f=this.commonProps,h=this.props,g=h.controlShouldRenderValue,m=h.isDisabled,p=h.isMulti,b=h.inputValue,C=h.placeholder,I=this.state,x=I.selectValue,v=I.focusedValue,S=I.isFocused;if(!this.hasValue()||!g)return b?null:M.createElement(d,B({},f,{key:"placeholder",isDisabled:m,isFocused:S,innerProps:{id:this.getElementId("placeholder")}}),C);if(p)return x.map(function(P,F){var D=P===v,Y="".concat(r.getOptionLabel(P),"-").concat(r.getOptionValue(P));return M.createElement(o,B({},f,{components:{Container:u,Label:a,Remove:l},isFocused:D,isDisabled:m,key:Y,index:F,removeProps:{onClick:function(){return r.removeValue(P)},onTouchEnd:function(){return r.removeValue(P)},onMouseDown:function(me){me.preventDefault()}},data:P}),r.formatOptionLabel(P,"value"))});if(b)return null;var E=x[0];return M.createElement(c,B({},f,{data:E,isDisabled:m}),this.formatOptionLabel(E,"value"))}},{key:"renderClearIndicator",value:function(){var r=this.getComponents(),s=r.ClearIndicator,o=this.commonProps,u=this.props,a=u.isDisabled,l=u.isLoading,c=this.state.isFocused;if(!this.isClearable()||!s||a||!this.hasValue()||l)return null;var d={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return M.createElement(s,B({},o,{innerProps:d,isFocused:c}))}},{key:"renderLoadingIndicator",value:function(){var r=this.getComponents(),s=r.LoadingIndicator,o=this.commonProps,u=this.props,a=u.isDisabled,l=u.isLoading,c=this.state.isFocused;if(!s||!l)return null;var d={"aria-hidden":"true"};return M.createElement(s,B({},o,{innerProps:d,isDisabled:a,isFocused:c}))}},{key:"renderIndicatorSeparator",value:function(){var r=this.getComponents(),s=r.DropdownIndicator,o=r.IndicatorSeparator;if(!s||!o)return null;var u=this.commonProps,a=this.props.isDisabled,l=this.state.isFocused;return M.createElement(o,B({},u,{isDisabled:a,isFocused:l}))}},{key:"renderDropdownIndicator",value:function(){var r=this.getComponents(),s=r.DropdownIndicator;if(!s)return null;var o=this.commonProps,u=this.props.isDisabled,a=this.state.isFocused,l={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return M.createElement(s,B({},o,{innerProps:l,isDisabled:u,isFocused:a}))}},{key:"renderMenu",value:function(){var r=this,s=this.getComponents(),o=s.Group,u=s.GroupHeading,a=s.Menu,l=s.MenuList,c=s.MenuPortal,d=s.LoadingMessage,f=s.NoOptionsMessage,h=s.Option,g=this.commonProps,m=this.state.focusedOption,p=this.props,b=p.captureMenuScroll,C=p.inputValue,I=p.isLoading,x=p.loadingMessage,v=p.minMenuHeight,S=p.maxMenuHeight,E=p.menuIsOpen,P=p.menuPlacement,F=p.menuPosition,D=p.menuPortalTarget,Y=p.menuShouldBlockScroll,_=p.menuShouldScrollIntoView,me=p.noOptionsMessage,ce=p.onMenuScrollToTop,$=p.onMenuScrollToBottom;if(!E)return null;var J=function(ae,Ae){var Be=ae.type,ge=ae.data,Fe=ae.isDisabled,Se=ae.isSelected,bt=ae.label,Pr=ae.value,Xn=m===ge,T=Fe?void 0:function(){return r.onOptionHover(ge)},zt=Fe?void 0:function(){return r.selectOption(ge)},Ke="".concat(r.getElementId("option"),"-").concat(Ae),Wn={id:Ke,onClick:zt,onMouseMove:T,onMouseOver:T,tabIndex:-1,role:"option","aria-selected":r.state.isAppleDevice?void 0:Se};return M.createElement(h,B({},g,{innerProps:Wn,data:ge,isDisabled:Fe,isSelected:Se,key:Ke,label:bt,type:Be,value:Pr,isFocused:Xn,innerRef:Xn?r.getFocusedOptionRef:void 0}),r.formatOptionLabel(ae.data,"menu"))},X;if(this.hasOptions())X=this.getCategorizedOptions().map(function(Q){if(Q.type==="group"){var ae=Q.data,Ae=Q.options,Be=Q.index,ge="".concat(r.getElementId("group"),"-").concat(Be),Fe="".concat(ge,"-heading");return M.createElement(o,B({},g,{key:ge,data:ae,options:Ae,Heading:u,headingProps:{id:Fe,data:Q.data},label:r.formatGroupLabel(Q.data)}),Q.options.map(function(Se){return J(Se,"".concat(Be,"-").concat(Se.index))}))}else if(Q.type==="option")return J(Q,"".concat(Q.index))});else if(I){var k=x({inputValue:C});if(k===null)return null;X=M.createElement(d,g,k)}else{var de=me({inputValue:C});if(de===null)return null;X=M.createElement(f,g,de)}var oe={minMenuHeight:v,maxMenuHeight:S,menuPlacement:P,menuPosition:F,menuShouldScrollIntoView:_},gt=M.createElement(pg,B({},g,oe),function(Q){var ae=Q.ref,Ae=Q.placerProps,Be=Ae.placement,ge=Ae.maxHeight;return M.createElement(a,B({},g,oe,{innerRef:ae,innerProps:{onMouseDown:r.onMenuMouseDown,onMouseMove:r.onMenuMouseMove},isLoading:I,placement:Be}),M.createElement(Yb,{captureEnabled:b,onTopArrive:ce,onBottomArrive:$,lockEnabled:Y},function(Fe){return M.createElement(l,B({},g,{innerRef:function(bt){r.getMenuListRef(bt),Fe(bt)},innerProps:{role:"listbox","aria-multiselectable":g.isMulti,id:r.getElementId("listbox")},isLoading:I,maxHeight:ge,focusedOption:m}),X)}))});return D||F==="fixed"?M.createElement(c,B({},g,{appendTo:D,controlElement:this.controlRef,menuPlacement:P,menuPosition:F}),gt):gt}},{key:"renderFormField",value:function(){var r=this,s=this.props,o=s.delimiter,u=s.isDisabled,a=s.isMulti,l=s.name,c=s.required,d=this.state.selectValue;if(c&&!this.hasValue()&&!u)return M.createElement(_b,{name:l,onFocus:this.onValueInputFocus});if(!(!l||u))if(a)if(o){var f=d.map(function(m){return r.getOptionValue(m)}).join(o);return M.createElement("input",{name:l,type:"hidden",value:f})}else{var h=d.length>0?d.map(function(m,p){return M.createElement("input",{key:"i-".concat(p),name:l,type:"hidden",value:r.getOptionValue(m)})}):M.createElement("input",{name:l,type:"hidden",value:""});return M.createElement("div",null,h)}else{var g=d[0]?this.getOptionValue(d[0]):"";return M.createElement("input",{name:l,type:"hidden",value:g})}}},{key:"renderLiveRegion",value:function(){var r=this.commonProps,s=this.state,o=s.ariaSelection,u=s.focusedOption,a=s.focusedValue,l=s.isFocused,c=s.selectValue,d=this.getFocusableOptions();return M.createElement(Fb,B({},r,{id:this.getElementId("live-region"),ariaSelection:o,focusedOption:u,focusedValue:a,isFocused:l,selectValue:c,focusableOptions:d,isAppleDevice:this.state.isAppleDevice}))}},{key:"render",value:function(){var r=this.getComponents(),s=r.Control,o=r.IndicatorsContainer,u=r.SelectContainer,a=r.ValueContainer,l=this.props,c=l.className,d=l.id,f=l.isDisabled,h=l.menuIsOpen,g=this.state.isFocused,m=this.commonProps=this.getCommonProps();return M.createElement(u,B({},m,{className:c,innerProps:{id:d,onKeyDown:this.onKeyDown},isDisabled:f,isFocused:g}),this.renderLiveRegion(),M.createElement(s,B({},m,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:f,isFocused:g,menuIsOpen:h}),M.createElement(a,B({},m,{isDisabled:f}),this.renderPlaceholderOrValue(),this.renderInput()),M.createElement(o,B({},m,{isDisabled:f}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(r,s){var o=s.prevProps,u=s.clearFocusValueOnUpdate,a=s.inputIsHiddenAfterUpdate,l=s.ariaSelection,c=s.isFocused,d=s.prevWasFocused,f=s.instancePrefix,h=r.options,g=r.value,m=r.menuIsOpen,p=r.inputValue,b=r.isMulti,C=lu(g),I={};if(o&&(g!==o.value||h!==o.options||m!==o.menuIsOpen||p!==o.inputValue)){var x=m?d0(r,C):[],v=m?Wu(On(r,C),"".concat(f,"-option")):[],S=u?f0(s,C):null,E=h0(s,x),P=Er(v,E);I={selectValue:C,focusedOption:E,focusedOptionId:P,focusableOptionsWithIds:v,focusedValue:S,clearFocusValueOnUpdate:!1}}var F=a!=null&&r!==o?{inputIsHidden:a,inputIsHiddenAfterUpdate:void 0}:{},D=l,Y=c&&d;return c&&!Y&&(D={value:Nn(b,C,C[0]||null),options:C,action:"initial-input-focus"},Y=!d),(l==null?void 0:l.action)==="initial-input-focus"&&(D=null),w(w(w({},I),F),{},{prevProps:r,ariaSelection:D,prevWasFocused:Y})}}]),n})(y.Component);Ju.defaultProps=c0;var m0=y.forwardRef(function(e,t){var n=Pp(e);return M.createElement(Ju,B({ref:t},n))}),g0=m0;const mt=e=>{const{children:t,sx:n,...i}=e;return A.jsx("div",{className:xe.form,style:n,...i,children:t})},b0={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"})},v0=e=>{const{children:t,sx:n,...i}=e;return A.jsx("div",{className:xe["form-group"],style:n,...i,children:t})},y0=e=>{const{children:t,sx:n,...i}=e,r=y.Children.toArray(t).filter(a=>a.type.displayName==="biznext-ui-input-label"),s=y.Children.toArray(t).filter(a=>a.type.displayName==="biznext-ui-input-control"),o=y.Children.toArray(t).filter(a=>a.type.displayName==="biznext-ui-input-error-message"),u=o[0]&&o[0].props.children&&o[0].props.children.length>0;return A.jsxs("div",{className:Me(xe["form-input-group"],u&&xe["validation-error"]),style:n,...i,children:[r,A.jsxs("div",{className:xe["form-input-control-group"],children:[s,A.jsx("span",{className:xe["form-input-group-error-text"],children:o})]})]})},Uu=e=>{const{required:t=!1,children:n,sx:i,...r}=e;return A.jsx("label",{className:Me(xe["form-input-group-label"],t&&xe.required),style:i,...r,children:n})},_u=y.forwardRef((e,t)=>{const{controlType:n,focus:i,focusElement:r,sx:s,placeholder:o="",isSearchable:u=!0,isClearable:a=!0,...l}=e;let c=A.jsx(A.Fragment,{});const d=y.useRef(null);switch(y.useEffect(()=>{d.current&&d.current.focus()},[i]),y.useEffect(()=>{d.current&&d.current.focus()},[r]),n){case"input":c=A.jsx("input",{className:xe["form-input-control"],placeholder:o,ref:i?d:t,style:s,...l});break;case"select":c=A.jsx(g0,{styles:b0,className:xe["form-select-control"],classNamePrefix:"biznext-ui-",menuPortalTarget:document.body,menuPosition:"absolute",menuShouldScrollIntoView:!1,ref:i?d:t,placeholder:o?`Select ${o}`:"Select...",isSearchable:u,isClearable:a,noOptionsMessage:()=>"No Results Found!",...l});break;case"textarea":c=A.jsx("textarea",{className:xe["form-input-control"],placeholder:o,style:s,ref:i?d:t,...l});break;default:c=A.jsx(A.Fragment,{});break}return c}),$u=e=>{const{children:t}=e;return t};Uu.displayName="biznext-ui-input-label",_u.displayName="biznext-ui-input-control",$u.displayName="biznext-ui-input-error-message",mt.Group=v0,mt.InputGroup=y0,mt.Label=Uu,mt.Control=_u,mt.ErrorMessage=$u,fe.BiznextUIProvider=dp,fe.Form=mt,fe.Modal=ct,fe.useConfirmDialog=yp,fe.useToast=Vr,Object.defineProperty(fe,Symbol.toStringTag,{value:"Module"})}));
|
|
32
|
+
`]))),jg=function(t,n){var i=t.isFocused,r=t.size,s=t.theme,o=s.colors,u=s.spacing.baseUnit;return w({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:r,lineHeight:1,marginRight:r,textAlign:"center",verticalAlign:"middle"},n?{}:{color:i?o.neutral60:o.neutral20,padding:u*2})},Cr=function(t){var n=t.delay,i=t.offset;return V("span",{css:pr({animation:"".concat(Hg," 1s ease-in-out ").concat(n,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:i?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},process.env.NODE_ENV==="production"?"":";label:LoadingDot;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5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VsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */")})},Yg=function(t){var n=t.innerProps,i=t.isRtl,r=t.size,s=r===void 0?4:r,o=Re(t,Ng);return V("div",F({},ee(w(w({},o),{},{innerProps:n,isRtl:i,size:s}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),n),V(Cr,{delay:0,offset:i}),V(Cr,{delay:160,offset:!0}),V(Cr,{delay:320,offset:!i}))},Jg=function(t,n){var i=t.isDisabled,r=t.isFocused,s=t.theme,o=s.colors,u=s.borderRadius,a=s.spacing;return w({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:a.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},n?{}:{backgroundColor:i?o.neutral5:o.neutral0,borderColor:i?o.neutral10:r?o.primary:o.neutral20,borderRadius:u,borderStyle:"solid",borderWidth:1,boxShadow:r?"0 0 0 1px ".concat(o.primary):void 0,"&:hover":{borderColor:r?o.primary:o.neutral30}})},Ug=function(t){var n=t.children,i=t.isDisabled,r=t.isFocused,s=t.innerRef,o=t.innerProps,u=t.menuIsOpen;return V("div",F({ref:s},ee(t,"control",{control:!0,"control--is-disabled":i,"control--is-focused":r,"control--menu-is-open":u}),o,{"aria-disabled":i||void 0}),n)},_g=Ug,$g=["data"],Qg=function(t,n){var i=t.theme.spacing;return n?{}:{paddingBottom:i.baseUnit*2,paddingTop:i.baseUnit*2}},Kg=function(t){var n=t.children,i=t.cx,r=t.getStyles,s=t.getClassNames,o=t.Heading,u=t.headingProps,a=t.innerProps,l=t.label,c=t.theme,d=t.selectProps;return V("div",F({},ee(t,"group",{group:!0}),a),V(o,F({},u,{selectProps:d,theme:c,getStyles:r,getClassNames:s,cx:i}),l),V("div",null,n))},qg=function(t,n){var i=t.theme,r=i.colors,s=i.spacing;return w({label:"group",cursor:"default",display:"block"},n?{}:{color:r.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:s.baseUnit*3,paddingRight:s.baseUnit*3,textTransform:"uppercase"})},eb=function(t){var n=pu(t);n.data;var i=Re(n,$g);return V("div",F({},ee(t,"groupHeading",{"group-heading":!0}),i))},tb=Kg,nb=["innerRef","isDisabled","isHidden","inputClassName"],ib=function(t,n){var i=t.isDisabled,r=t.value,s=t.theme,o=s.spacing,u=s.colors;return w(w({visibility:i?"hidden":"visible",transform:r?"translateZ(0)":""},rb),n?{}:{margin:o.baseUnit/2,paddingBottom:o.baseUnit/2,paddingTop:o.baseUnit/2,color:u.neutral80})},Tu={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},rb={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":w({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},Tu)},sb=function(t){return w({label:"input",color:"inherit",background:0,opacity:t?0:1,width:"100%"},Tu)},ob=function(t){var n=t.cx,i=t.value,r=pu(t),s=r.innerRef,o=r.isDisabled,u=r.isHidden,a=r.inputClassName,l=Re(r,nb);return V("div",F({},ee(t,"input",{"input-container":!0}),{"data-value":i||""}),V("input",F({className:n({input:!0},a),ref:s,style:sb(u),disabled:o},l)))},ab=ob,ub=function(t,n){var i=t.theme,r=i.spacing,s=i.borderRadius,o=i.colors;return w({label:"multiValue",display:"flex",minWidth:0},n?{}:{backgroundColor:o.neutral10,borderRadius:s/2,margin:r.baseUnit/2})},lb=function(t,n){var i=t.theme,r=i.borderRadius,s=i.colors,o=t.cropWithEllipsis;return w({overflow:"hidden",textOverflow:o||o===void 0?"ellipsis":void 0,whiteSpace:"nowrap"},n?{}:{borderRadius:r/2,color:s.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},cb=function(t,n){var i=t.theme,r=i.spacing,s=i.borderRadius,o=i.colors,u=t.isFocused;return w({alignItems:"center",display:"flex"},n?{}:{borderRadius:s/2,backgroundColor:u?o.dangerLight:void 0,paddingLeft:r.baseUnit,paddingRight:r.baseUnit,":hover":{backgroundColor:o.dangerLight,color:o.danger}})},Pu=function(t){var n=t.children,i=t.innerProps;return V("div",i,n)},db=Pu,fb=Pu;function hb(e){var t=e.children,n=e.innerProps;return V("div",F({role:"button"},n),t||V(Ir,{size:14}))}var pb=function(t){var n=t.children,i=t.components,r=t.data,s=t.innerProps,o=t.isDisabled,u=t.removeProps,a=t.selectProps,l=i.Container,c=i.Label,d=i.Remove;return V(l,{data:r,innerProps:w(w({},ee(t,"multiValue",{"multi-value":!0,"multi-value--is-disabled":o})),s),selectProps:a},V(c,{data:r,innerProps:w({},ee(t,"multiValueLabel",{"multi-value__label":!0})),selectProps:a},n),V(d,{data:r,innerProps:w(w({},ee(t,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(n||"option")},u),selectProps:a}))},mb=pb,gb=function(t,n){var i=t.isDisabled,r=t.isFocused,s=t.isSelected,o=t.theme,u=o.spacing,a=o.colors;return w({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},n?{}:{backgroundColor:s?a.primary:r?a.primary25:"transparent",color:i?a.neutral20:s?a.neutral0:"inherit",padding:"".concat(u.baseUnit*2,"px ").concat(u.baseUnit*3,"px"),":active":{backgroundColor:i?void 0:s?a.primary:a.primary50}})},bb=function(t){var n=t.children,i=t.isDisabled,r=t.isFocused,s=t.isSelected,o=t.innerRef,u=t.innerProps;return V("div",F({},ee(t,"option",{option:!0,"option--is-disabled":i,"option--is-focused":r,"option--is-selected":s}),{ref:o,"aria-disabled":i},u),n)},vb=bb,yb=function(t,n){var i=t.theme,r=i.spacing,s=i.colors;return w({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},n?{}:{color:s.neutral50,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2})},Ib=function(t){var n=t.children,i=t.innerProps;return V("div",F({},ee(t,"placeholder",{placeholder:!0}),i),n)},Cb=Ib,xb=function(t,n){var i=t.isDisabled,r=t.theme,s=r.spacing,o=r.colors;return w({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},n?{}:{color:i?o.neutral40:o.neutral80,marginLeft:s.baseUnit/2,marginRight:s.baseUnit/2})},Ab=function(t){var n=t.children,i=t.isDisabled,r=t.innerProps;return V("div",F({},ee(t,"singleValue",{"single-value":!0,"single-value--is-disabled":i}),r),n)},Sb=Ab,Eb={ClearIndicator:kg,Control:_g,DropdownIndicator:Xg,DownChevron:Su,CrossIcon:Ir,Group:tb,GroupHeading:eb,IndicatorsContainer:Mg,IndicatorSeparator:Zg,Input:ab,LoadingIndicator:Yg,Menu:yg,MenuList:Cg,MenuPortal:Pg,LoadingMessage:Eg,NoOptionsMessage:Sg,MultiValue:mb,MultiValueContainer:db,MultiValueLabel:fb,MultiValueRemove:hb,Option:vb,Placeholder:Cb,SelectContainer:wg,SingleValue:Sb,ValueContainer:Bg},Tb=function(t){return w(w({},Eb),t.components)},Vu=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function Pb(e,t){return!!(e===t||Vu(e)&&Vu(t))}function Vb(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!Pb(e[n],t[n]))return!1;return!0}function wb(e,t){t===void 0&&(t=Vb);var n=null;function i(){for(var r=[],s=0;s<arguments.length;s++)r[s]=arguments[s];if(n&&n.lastThis===this&&t(r,n.lastArgs))return n.lastResult;var o=e.apply(this,r);return n={lastResult:o,lastArgs:r,lastThis:this},o}return i.clear=function(){n=null},i}function Gb(){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 Bb=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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFPSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IEpTWCB9IGZyb20gJ3JlYWN0JztcbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */",toString:Gb},Fb=function(t){return V("span",F({css:Bb},t))},wu=Fb,Mb={guidance:function(t){var n=t.isSearchable,i=t.isMulti,r=t.tabSelectsValue,s=t.context,o=t.isInitialFocus;switch(s){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(r?", press Tab to select the option and exit the menu":"",".");case"input":return o?"".concat(t["aria-label"]||"Select"," is focused ").concat(n?",type to refine list":"",", press Down to open the menu, ").concat(i?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(t){var n=t.action,i=t.label,r=i===void 0?"":i,s=t.labels,o=t.isDisabled;switch(n){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(r,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(s.length>1?"s":""," ").concat(s.join(","),", selected.");case"select-option":return o?"option ".concat(r," is disabled. Select another option."):"option ".concat(r,", selected.");default:return""}},onFocus:function(t){var n=t.context,i=t.focused,r=t.options,s=t.label,o=s===void 0?"":s,u=t.selectValue,a=t.isDisabled,l=t.isSelected,c=t.isAppleDevice,d=function(g,p){return g&&g.length?"".concat(g.indexOf(p)+1," of ").concat(g.length):""};if(n==="value"&&u)return"value ".concat(o," focused, ").concat(d(u,i),".");if(n==="menu"&&c){var f=a?" disabled":"",h="".concat(l?" selected":"").concat(f);return"".concat(o).concat(h,", ").concat(d(r,i),".")}return""},onFilter:function(t){var n=t.inputValue,i=t.resultsMessage;return"".concat(i).concat(n?" for search term "+n:"",".")}},Db=function(t){var n=t.ariaSelection,i=t.focusedOption,r=t.focusedValue,s=t.focusableOptions,o=t.isFocused,u=t.selectValue,a=t.selectProps,l=t.id,c=t.isAppleDevice,d=a.ariaLiveMessages,f=a.getOptionLabel,h=a.inputValue,m=a.isMulti,g=a.isOptionDisabled,p=a.isSearchable,v=a.menuIsOpen,C=a.options,I=a.screenReaderStatus,A=a.tabSelectsValue,b=a.isLoading,S=a["aria-label"],E=a["aria-live"],T=y.useMemo(function(){return w(w({},Mb),d||{})},[d]),G=y.useMemo(function(){var U="";if(n&&T.onChange){var Y=n.option,X=n.options,N=n.removedValue,q=n.removedValues,R=n.value,ie=function(Te){return Array.isArray(Te)?null:Te},_=N||Y||ie(R),he=_?f(_):"",Ee=X||q||void 0,Me=Ee?Ee.map(f):[],ye=w({isDisabled:_&&g(_,u),label:he,labels:Me},n);U=T.onChange(ye)}return U},[n,T,g,u,f]),L=y.useMemo(function(){var U="",Y=i||r,X=!!(i&&u&&u.includes(i));if(Y&&T.onFocus){var N={focused:Y,label:f(Y),isDisabled:g(Y,u),isSelected:X,options:s,context:Y===i?"menu":"value",selectValue:u,isAppleDevice:c};U=T.onFocus(N)}return U},[i,r,f,g,T,s,u,c]),H=y.useMemo(function(){var U="";if(v&&C.length&&!b&&T.onFilter){var Y=I({count:s.length});U=T.onFilter({inputValue:h,resultsMessage:Y})}return U},[s,h,v,T,C,I,b]),O=(n==null?void 0:n.action)==="initial-input-focus",K=y.useMemo(function(){var U="";if(T.guidance){var Y=r?"value":v?"menu":"input";U=T.guidance({"aria-label":S,context:Y,isDisabled:i&&g(i,u),isMulti:m,isSearchable:p,tabSelectsValue:A,isInitialFocus:O})}return U},[S,i,r,m,g,p,v,T,u,A,O]),j=V(y.Fragment,null,V("span",{id:"aria-selection"},G),V("span",{id:"aria-focused"},L),V("span",{id:"aria-results"},H),V("span",{id:"aria-guidance"},K));return V(y.Fragment,null,V(wu,{id:l},O&&j),V(wu,{"aria-live":E,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},o&&!O&&j))},Nb=Db,xr=[{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źẑżžẓẕƶȥɀⱬꝣ"}],Ob=new RegExp("["+xr.map(function(e){return e.letters}).join("")+"]","g"),Gu={},Ar=0;Ar<xr.length;Ar++)for(var Sr=xr[Ar],Er=0;Er<Sr.letters.length;Er++)Gu[Sr.letters[Er]]=Sr.base;var Bu=function(t){return t.replace(Ob,function(n){return Gu[n]})},Lb=wb(Bu),Fu=function(t){return t.replace(/^\s+|\s+$/g,"")},Rb=function(t){return"".concat(t.label," ").concat(t.value)},Xb=function(t){return function(n,i){if(n.data.__isNew__)return!0;var r=w({ignoreCase:!0,ignoreAccents:!0,stringify:Rb,trim:!0,matchFrom:"any"},t),s=r.ignoreCase,o=r.ignoreAccents,u=r.stringify,a=r.trim,l=r.matchFrom,c=a?Fu(i):i,d=a?Fu(u(n)):u(n);return s&&(c=c.toLowerCase(),d=d.toLowerCase()),o&&(c=Lb(c),d=Bu(d)),l==="start"?d.substr(0,c.length)===c:d.indexOf(c)>-1}},Wb=["innerRef"];function kb(e){var t=e.innerRef,n=Re(e,Wb),i=dg(n,"onExited","in","enter","exit","appear");return V("input",F({ref:t},i,{css:pr({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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWYgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQgeyByZW1vdmVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gRHVtbXlJbnB1dCh7XG4gIGlubmVyUmVmLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydpbnB1dCddICYge1xuICByZWFkb25seSBpbm5lclJlZjogUmVmPEhUTUxJbnB1dEVsZW1lbnQ+O1xufSkge1xuICAvLyBSZW1vdmUgYW5pbWF0aW9uIHByb3BzIG5vdCBtZWFudCBmb3IgSFRNTCBlbGVtZW50c1xuICBjb25zdCBmaWx0ZXJlZFByb3BzID0gcmVtb3ZlUHJvcHMoXG4gICAgcHJvcHMsXG4gICAgJ29uRXhpdGVkJyxcbiAgICAnaW4nLFxuICAgICdlbnRl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(t){t.cancelable&&t.preventDefault(),t.stopPropagation()};function Zb(e){var t=e.isEnabled,n=e.onBottomArrive,i=e.onBottomLeave,r=e.onTopArrive,s=e.onTopLeave,o=y.useRef(!1),u=y.useRef(!1),a=y.useRef(0),l=y.useRef(null),c=y.useCallback(function(p,v){if(l.current!==null){var C=l.current,I=C.scrollTop,A=C.scrollHeight,b=C.clientHeight,S=l.current,E=v>0,T=A-b-I,G=!1;T>v&&o.current&&(i&&i(p),o.current=!1),E&&u.current&&(s&&s(p),u.current=!1),E&&v>T?(n&&!o.current&&n(p),S.scrollTop=A,G=!0,o.current=!0):!E&&-v>I&&(r&&!u.current&&r(p),S.scrollTop=0,G=!0,u.current=!0),G&&zb(p)}},[n,i,r,s]),d=y.useCallback(function(p){c(p,p.deltaY)},[c]),f=y.useCallback(function(p){a.current=p.changedTouches[0].clientY},[]),h=y.useCallback(function(p){var v=a.current-p.changedTouches[0].clientY;c(p,v)},[c]),m=y.useCallback(function(p){if(p){var v=ug?{passive:!1}:!1;p.addEventListener("wheel",d,v),p.addEventListener("touchstart",f,v),p.addEventListener("touchmove",h,v)}},[h,f,d]),g=y.useCallback(function(p){p&&(p.removeEventListener("wheel",d,!1),p.removeEventListener("touchstart",f,!1),p.removeEventListener("touchmove",h,!1))},[h,f,d]);return y.useEffect(function(){if(t){var p=l.current;return m(p),function(){g(p)}}},[t,m,g]),function(p){l.current=p}}var Mu=["boxSizing","height","overflow","paddingRight","position"],Du={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Nu(e){e.cancelable&&e.preventDefault()}function Ou(e){e.stopPropagation()}function Lu(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;e===0?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function Ru(){return"ontouchstart"in window||navigator.maxTouchPoints}var Xu=!!(typeof window<"u"&&window.document&&window.document.createElement),zt=0,gt={capture:!1,passive:!1};function Hb(e){var t=e.isEnabled,n=e.accountForScrollbars,i=n===void 0?!0:n,r=y.useRef({}),s=y.useRef(null),o=y.useCallback(function(a){if(Xu){var l=document.body,c=l&&l.style;if(i&&Mu.forEach(function(m){var g=c&&c[m];r.current[m]=g}),i&&zt<1){var d=parseInt(r.current.paddingRight,10)||0,f=document.body?document.body.clientWidth:0,h=window.innerWidth-f+d||0;Object.keys(Du).forEach(function(m){var g=Du[m];c&&(c[m]=g)}),c&&(c.paddingRight="".concat(h,"px"))}l&&Ru()&&(l.addEventListener("touchmove",Nu,gt),a&&(a.addEventListener("touchstart",Lu,gt),a.addEventListener("touchmove",Ou,gt))),zt+=1}},[i]),u=y.useCallback(function(a){if(Xu){var l=document.body,c=l&&l.style;zt=Math.max(zt-1,0),i&&zt<1&&Mu.forEach(function(d){var f=r.current[d];c&&(c[d]=f)}),l&&Ru()&&(l.removeEventListener("touchmove",Nu,gt),a&&(a.removeEventListener("touchstart",Lu,gt),a.removeEventListener("touchmove",Ou,gt)))}},[i]);return y.useEffect(function(){if(t){var a=s.current;return o(a),function(){u(a)}}},[t,o,u]),function(a){s.current=a}}function jb(){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 Yb=function(t){var n=t.target;return n.ownerDocument.activeElement&&n.ownerDocument.activeElement.blur()},Jb=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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQ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DAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+XG4gICk7XG59XG4iXX0= */",toString:jb};function Ub(e){var t=e.children,n=e.lockEnabled,i=e.captureEnabled,r=i===void 0?!0:i,s=e.onBottomArrive,o=e.onBottomLeave,u=e.onTopArrive,a=e.onTopLeave,l=Zb({isEnabled:r,onBottomArrive:s,onBottomLeave:o,onTopArrive:u,onTopLeave:a}),c=Hb({isEnabled:n}),d=function(h){l(h),c(h)};return V(y.Fragment,null,n&&V("div",{onClick:Yb,css:Jb}),t(d))}function _b(){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 $b=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:_b},Qb=function(t){var n=t.name,i=t.onFocus;return V("input",{required:!0,name:n,tabIndex:-1,"aria-hidden":"true",onFocus:i,css:$b,value:"",onChange:function(){}})},Kb=Qb;function Tr(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 qb(){return Tr(/^iPhone/i)}function Wu(){return Tr(/^Mac/i)}function e0(){return Tr(/^iPad/i)||Wu()&&navigator.maxTouchPoints>1}function t0(){return qb()||e0()}function n0(){return Wu()||t0()}var i0=function(t){return t.label},r0=function(t){return t.label},s0=function(t){return t.value},o0=function(t){return!!t.isDisabled},a0={clearIndicator:Wg,container:Vg,control:Jg,dropdownIndicator:Rg,group:Qg,groupHeading:qg,indicatorsContainer:Fg,indicatorSeparator:zg,input:ib,loadingIndicator:jg,loadingMessage:Ag,menu:gg,menuList:Ig,menuPortal:Tg,multiValue:ub,multiValueLabel:lb,multiValueRemove:cb,noOptionsMessage:xg,option:gb,placeholder:yb,singleValue:xb,valueContainer:Gg},u0={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%)"},l0=4,ku=4,c0=38,d0=ku*2,f0={baseUnit:ku,controlHeight:c0,menuGutter:d0},Pr={borderRadius:l0,colors:u0,spacing:f0},h0={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:bu(),captureMenuScroll:!bu(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:Xb(),formatGroupLabel:i0,getOptionLabel:r0,getOptionValue:s0,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:o0,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!og(),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 zu(e,t,n,i){var r=Ju(e,t,n),s=Uu(e,t,n),o=Yu(e,t),u=Rn(e,t);return{type:"option",data:t,isDisabled:r,isSelected:s,label:o,value:u,index:i}}function Ln(e,t){return e.options.map(function(n,i){if("options"in n){var r=n.options.map(function(o,u){return zu(e,o,t,u)}).filter(function(o){return ju(e,o)});return r.length>0?{type:"group",data:n,options:r,index:i}:void 0}var s=zu(e,n,t,i);return ju(e,s)?s:void 0}).filter(lg)}function Zu(e){return e.reduce(function(t,n){return n.type==="group"?t.push.apply(t,rr(n.options.map(function(i){return i.data}))):t.push(n.data),t},[])}function Hu(e,t){return e.reduce(function(n,i){return i.type==="group"?n.push.apply(n,rr(i.options.map(function(r){return{data:r.data,id:"".concat(t,"-").concat(i.index,"-").concat(r.index)}}))):n.push({data:i.data,id:"".concat(t,"-").concat(i.index)}),n},[])}function p0(e,t){return Zu(Ln(e,t))}function ju(e,t){var n=e.inputValue,i=n===void 0?"":n,r=t.data,s=t.isSelected,o=t.label,u=t.value;return(!$u(e)||!s)&&_u(e,{label:o,value:u,data:r},i)}function m0(e,t){var n=e.focusedValue,i=e.selectValue,r=i.indexOf(n);if(r>-1){var s=t.indexOf(n);if(s>-1)return n;if(r<t.length)return t[r]}return null}function g0(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}var Vr=function(t,n){var i,r=(i=t.find(function(s){return s.data===n}))===null||i===void 0?void 0:i.id;return r||null},Yu=function(t,n){return t.getOptionLabel(n)},Rn=function(t,n){return t.getOptionValue(n)};function Ju(e,t,n){return typeof e.isOptionDisabled=="function"?e.isOptionDisabled(t,n):!1}function Uu(e,t,n){if(n.indexOf(t)>-1)return!0;if(typeof e.isOptionSelected=="function")return e.isOptionSelected(t,n);var i=Rn(e,t);return n.some(function(r){return Rn(e,r)===i})}function _u(e,t,n){return e.filterOption?e.filterOption(t,n):!0}var $u=function(t){var n=t.hideSelectedOptions,i=t.isMulti;return n===void 0?i:n},b0=1,Qu=(function(e){Fp(n,e);var t=Np(n);function n(i){var r;if(Gp(this,n),r=t.call(this,i),r.state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:"",isAppleDevice:!1},r.blockOptionHover=!1,r.isComposing=!1,r.commonProps=void 0,r.initialTouchX=0,r.initialTouchY=0,r.openAfterFocus=!1,r.scrollToFocusedOptionOnUpdate=!1,r.userIsDragging=void 0,r.controlRef=null,r.getControlRef=function(a){r.controlRef=a},r.focusedOptionRef=null,r.getFocusedOptionRef=function(a){r.focusedOptionRef=a},r.menuListRef=null,r.getMenuListRef=function(a){r.menuListRef=a},r.inputRef=null,r.getInputRef=function(a){r.inputRef=a},r.focus=r.focusInput,r.blur=r.blurInput,r.onChange=function(a,l){var c=r.props,d=c.onChange,f=c.name;l.name=f,r.ariaOnChange(a,l),d(a,l)},r.setValue=function(a,l,c){var d=r.props,f=d.closeMenuOnSelect,h=d.isMulti,m=d.inputValue;r.onInputChange("",{action:"set-value",prevInputValue:m}),f&&(r.setState({inputIsHiddenAfterUpdate:!h}),r.onMenuClose()),r.setState({clearFocusValueOnUpdate:!0}),r.onChange(a,{action:l,option:c})},r.selectOption=function(a){var l=r.props,c=l.blurInputOnSelect,d=l.isMulti,f=l.name,h=r.state.selectValue,m=d&&r.isOptionSelected(a,h),g=r.isOptionDisabled(a,h);if(m){var p=r.getOptionValue(a);r.setValue(h.filter(function(v){return r.getOptionValue(v)!==p}),"deselect-option",a)}else if(!g)d?r.setValue([].concat(rr(h),[a]),"select-option",a):r.setValue(a,"select-option");else{r.ariaOnChange(a,{action:"select-option",option:a,name:f});return}c&&r.blurInput()},r.removeValue=function(a){var l=r.props.isMulti,c=r.state.selectValue,d=r.getOptionValue(a),f=c.filter(function(m){return r.getOptionValue(m)!==d}),h=On(l,f,f[0]||null);r.onChange(h,{action:"remove-value",removedValue:a}),r.focusInput()},r.clearValue=function(){var a=r.state.selectValue;r.onChange(On(r.props.isMulti,[],null),{action:"clear",removedValues:a})},r.popValue=function(){var a=r.props.isMulti,l=r.state.selectValue,c=l[l.length-1],d=l.slice(0,l.length-1),f=On(a,d,d[0]||null);c&&r.onChange(f,{action:"pop-value",removedValue:c})},r.getFocusedOptionId=function(a){return Vr(r.state.focusableOptionsWithIds,a)},r.getFocusableOptionsWithIds=function(){return Hu(Ln(r.props,r.state.selectValue),r.getElementId("option"))},r.getValue=function(){return r.state.selectValue},r.cx=function(){for(var a=arguments.length,l=new Array(a),c=0;c<a;c++)l[c]=arguments[c];return tg.apply(void 0,[r.props.classNamePrefix].concat(l))},r.getOptionLabel=function(a){return Yu(r.props,a)},r.getOptionValue=function(a){return Rn(r.props,a)},r.getStyles=function(a,l){var c=r.props.unstyled,d=a0[a](l,c);d.boxSizing="border-box";var f=r.props.styles[a];return f?f(d,l):d},r.getClassNames=function(a,l){var c,d;return(c=(d=r.props.classNames)[a])===null||c===void 0?void 0:c.call(d,l)},r.getElementId=function(a){return"".concat(r.state.instancePrefix,"-").concat(a)},r.getComponents=function(){return Tb(r.props)},r.buildCategorizedOptions=function(){return Ln(r.props,r.state.selectValue)},r.getCategorizedOptions=function(){return r.props.menuIsOpen?r.buildCategorizedOptions():[]},r.buildFocusableOptions=function(){return Zu(r.buildCategorizedOptions())},r.getFocusableOptions=function(){return r.props.menuIsOpen?r.buildFocusableOptions():[]},r.ariaOnChange=function(a,l){r.setState({ariaSelection:w({value:a},l)})},r.onMenuMouseDown=function(a){a.button===0&&(a.stopPropagation(),a.preventDefault(),r.focusInput())},r.onMenuMouseMove=function(a){r.blockOptionHover=!1},r.onControlMouseDown=function(a){if(!a.defaultPrevented){var l=r.props.openMenuOnClick;r.state.isFocused?r.props.menuIsOpen?a.target.tagName!=="INPUT"&&a.target.tagName!=="TEXTAREA"&&r.onMenuClose():l&&r.openMenu("first"):(l&&(r.openAfterFocus=!0),r.focusInput()),a.target.tagName!=="INPUT"&&a.target.tagName!=="TEXTAREA"&&a.preventDefault()}},r.onDropdownIndicatorMouseDown=function(a){if(!(a&&a.type==="mousedown"&&a.button!==0)&&!r.props.isDisabled){var l=r.props,c=l.isMulti,d=l.menuIsOpen;r.focusInput(),d?(r.setState({inputIsHiddenAfterUpdate:!c}),r.onMenuClose()):r.openMenu("first"),a.preventDefault()}},r.onClearIndicatorMouseDown=function(a){a&&a.type==="mousedown"&&a.button!==0||(r.clearValue(),a.preventDefault(),r.openAfterFocus=!1,a.type==="touchend"?r.focusInput():setTimeout(function(){return r.focusInput()}))},r.onScroll=function(a){typeof r.props.closeMenuOnScroll=="boolean"?a.target instanceof HTMLElement&&Fn(a.target)&&r.props.onMenuClose():typeof r.props.closeMenuOnScroll=="function"&&r.props.closeMenuOnScroll(a)&&r.props.onMenuClose()},r.onCompositionStart=function(){r.isComposing=!0},r.onCompositionEnd=function(){r.isComposing=!1},r.onTouchStart=function(a){var l=a.touches,c=l&&l.item(0);c&&(r.initialTouchX=c.clientX,r.initialTouchY=c.clientY,r.userIsDragging=!1)},r.onTouchMove=function(a){var l=a.touches,c=l&&l.item(0);if(c){var d=Math.abs(c.clientX-r.initialTouchX),f=Math.abs(c.clientY-r.initialTouchY),h=5;r.userIsDragging=d>h||f>h}},r.onTouchEnd=function(a){r.userIsDragging||(r.controlRef&&!r.controlRef.contains(a.target)&&r.menuListRef&&!r.menuListRef.contains(a.target)&&r.blurInput(),r.initialTouchX=0,r.initialTouchY=0)},r.onControlTouchEnd=function(a){r.userIsDragging||r.onControlMouseDown(a)},r.onClearIndicatorTouchEnd=function(a){r.userIsDragging||r.onClearIndicatorMouseDown(a)},r.onDropdownIndicatorTouchEnd=function(a){r.userIsDragging||r.onDropdownIndicatorMouseDown(a)},r.handleInputChange=function(a){var l=r.props.inputValue,c=a.currentTarget.value;r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange(c,{action:"input-change",prevInputValue:l}),r.props.menuIsOpen||r.onMenuOpen()},r.onInputFocus=function(a){r.props.onFocus&&r.props.onFocus(a),r.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(r.openAfterFocus||r.props.openMenuOnFocus)&&r.openMenu("first"),r.openAfterFocus=!1},r.onInputBlur=function(a){var l=r.props.inputValue;if(r.menuListRef&&r.menuListRef.contains(document.activeElement)){r.inputRef.focus();return}r.props.onBlur&&r.props.onBlur(a),r.onInputChange("",{action:"input-blur",prevInputValue:l}),r.onMenuClose(),r.setState({focusedValue:null,isFocused:!1})},r.onOptionHover=function(a){if(!(r.blockOptionHover||r.state.focusedOption===a)){var l=r.getFocusableOptions(),c=l.indexOf(a);r.setState({focusedOption:a,focusedOptionId:c>-1?r.getFocusedOptionId(a):null})}},r.shouldHideSelectedOptions=function(){return $u(r.props)},r.onValueInputFocus=function(a){a.preventDefault(),a.stopPropagation(),r.focus()},r.onKeyDown=function(a){var l=r.props,c=l.isMulti,d=l.backspaceRemovesValue,f=l.escapeClearsValue,h=l.inputValue,m=l.isClearable,g=l.isDisabled,p=l.menuIsOpen,v=l.onKeyDown,C=l.tabSelectsValue,I=l.openMenuOnFocus,A=r.state,b=A.focusedOption,S=A.focusedValue,E=A.selectValue;if(!g&&!(typeof v=="function"&&(v(a),a.defaultPrevented))){switch(r.blockOptionHover=!0,a.key){case"ArrowLeft":if(!c||h)return;r.focusValue("previous");break;case"ArrowRight":if(!c||h)return;r.focusValue("next");break;case"Delete":case"Backspace":if(h)return;if(S)r.removeValue(S);else{if(!d)return;c?r.popValue():m&&r.clearValue()}break;case"Tab":if(r.isComposing||a.shiftKey||!p||!C||!b||I&&r.isOptionSelected(b,E))return;r.selectOption(b);break;case"Enter":if(a.keyCode===229)break;if(p){if(!b||r.isComposing)return;r.selectOption(b);break}return;case"Escape":p?(r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange("",{action:"menu-close",prevInputValue:h}),r.onMenuClose()):m&&f&&r.clearValue();break;case" ":if(h)return;if(!p){r.openMenu("first");break}if(!b)return;r.selectOption(b);break;case"ArrowUp":p?r.focusOption("up"):r.openMenu("last");break;case"ArrowDown":p?r.focusOption("down"):r.openMenu("first");break;case"PageUp":if(!p)return;r.focusOption("pageup");break;case"PageDown":if(!p)return;r.focusOption("pagedown");break;case"Home":if(!p)return;r.focusOption("first");break;case"End":if(!p)return;r.focusOption("last");break;default:return}a.preventDefault()}},r.state.instancePrefix="react-select-"+(r.props.instanceId||++b0),r.state.selectValue=hu(i.value),i.menuIsOpen&&r.state.selectValue.length){var s=r.getFocusableOptionsWithIds(),o=r.buildFocusableOptions(),u=o.indexOf(r.state.selectValue[0]);r.state.focusableOptionsWithIds=s,r.state.focusedOption=o[u],r.state.focusedOptionId=Vr(s,o[u])}return r}return Bp(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&&gu(this.menuListRef,this.focusedOptionRef),n0()&&this.setState({isAppleDevice:!0})}},{key:"componentDidUpdate",value:function(r){var s=this.props,o=s.isDisabled,u=s.menuIsOpen,a=this.state.isFocused;(a&&!o&&r.isDisabled||a&&u&&!r.menuIsOpen)&&this.focusInput(),a&&o&&!r.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!a&&!o&&r.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(gu(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(r,s){this.props.onInputChange(r,s)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(r){var s=this,o=this.state,u=o.selectValue,a=o.isFocused,l=this.buildFocusableOptions(),c=r==="first"?0:l.length-1;if(!this.props.isMulti){var d=l.indexOf(u[0]);d>-1&&(c=d)}this.scrollToFocusedOptionOnUpdate=!(a&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:l[c],focusedOptionId:this.getFocusedOptionId(l[c])},function(){return s.onMenuOpen()})}},{key:"focusValue",value:function(r){var s=this.state,o=s.selectValue,u=s.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var a=o.indexOf(u);u||(a=-1);var l=o.length-1,c=-1;if(o.length){switch(r){case"previous":a===0?c=0:a===-1?c=l:c=a-1;break;case"next":a>-1&&a<l&&(c=a+1);break}this.setState({inputIsHidden:c!==-1,focusedValue:o[c]})}}}},{key:"focusOption",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"first",s=this.props.pageSize,o=this.state.focusedOption,u=this.getFocusableOptions();if(u.length){var a=0,l=u.indexOf(o);o||(l=-1),r==="up"?a=l>0?l-1:u.length-1:r==="down"?a=(l+1)%u.length:r==="pageup"?(a=l-s,a<0&&(a=0)):r==="pagedown"?(a=l+s,a>u.length-1&&(a=u.length-1)):r==="last"&&(a=u.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:u[a],focusedValue:null,focusedOptionId:this.getFocusedOptionId(u[a])})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(Pr):w(w({},Pr),this.props.theme):Pr}},{key:"getCommonProps",value:function(){var r=this.clearValue,s=this.cx,o=this.getStyles,u=this.getClassNames,a=this.getValue,l=this.selectOption,c=this.setValue,d=this.props,f=d.isMulti,h=d.isRtl,m=d.options,g=this.hasValue();return{clearValue:r,cx:s,getStyles:o,getClassNames:u,getValue:a,hasValue:g,isMulti:f,isRtl:h,options:m,selectOption:l,selectProps:d,setValue:c,theme:this.getTheme()}}},{key:"hasValue",value:function(){var r=this.state.selectValue;return r.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var r=this.props,s=r.isClearable,o=r.isMulti;return s===void 0?o:s}},{key:"isOptionDisabled",value:function(r,s){return Ju(this.props,r,s)}},{key:"isOptionSelected",value:function(r,s){return Uu(this.props,r,s)}},{key:"filterOption",value:function(r,s){return _u(this.props,r,s)}},{key:"formatOptionLabel",value:function(r,s){if(typeof this.props.formatOptionLabel=="function"){var o=this.props.inputValue,u=this.state.selectValue;return this.props.formatOptionLabel(r,{context:s,inputValue:o,selectValue:u})}else return this.getOptionLabel(r)}},{key:"formatGroupLabel",value:function(r){return this.props.formatGroupLabel(r)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var r=this.props,s=r.isDisabled,o=r.isSearchable,u=r.inputId,a=r.inputValue,l=r.tabIndex,c=r.form,d=r.menuIsOpen,f=r.required,h=this.getComponents(),m=h.Input,g=this.state,p=g.inputIsHidden,v=g.ariaSelection,C=this.commonProps,I=u||this.getElementId("input"),A=w(w(w({"aria-autocomplete":"list","aria-expanded":d,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":f,role:"combobox","aria-activedescendant":this.state.isAppleDevice?void 0:this.state.focusedOptionId||""},d&&{"aria-controls":this.getElementId("listbox")}),!o&&{"aria-readonly":!0}),this.hasValue()?(v==null?void 0:v.action)==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return o?M.createElement(m,F({},C,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:I,innerRef:this.getInputRef,isDisabled:s,isHidden:p,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:l,form:c,type:"text",value:a},A)):M.createElement(kb,F({id:I,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Bn,onFocus:this.onInputFocus,disabled:s,tabIndex:l,inputMode:"none",form:c,value:""},A))}},{key:"renderPlaceholderOrValue",value:function(){var r=this,s=this.getComponents(),o=s.MultiValue,u=s.MultiValueContainer,a=s.MultiValueLabel,l=s.MultiValueRemove,c=s.SingleValue,d=s.Placeholder,f=this.commonProps,h=this.props,m=h.controlShouldRenderValue,g=h.isDisabled,p=h.isMulti,v=h.inputValue,C=h.placeholder,I=this.state,A=I.selectValue,b=I.focusedValue,S=I.isFocused;if(!this.hasValue()||!m)return v?null:M.createElement(d,F({},f,{key:"placeholder",isDisabled:g,isFocused:S,innerProps:{id:this.getElementId("placeholder")}}),C);if(p)return A.map(function(T,G){var L=T===b,H="".concat(r.getOptionLabel(T),"-").concat(r.getOptionValue(T));return M.createElement(o,F({},f,{components:{Container:u,Label:a,Remove:l},isFocused:L,isDisabled:g,key:H,index:G,removeProps:{onClick:function(){return r.removeValue(T)},onTouchEnd:function(){return r.removeValue(T)},onMouseDown:function(K){K.preventDefault()}},data:T}),r.formatOptionLabel(T,"value"))});if(v)return null;var E=A[0];return M.createElement(c,F({},f,{data:E,isDisabled:g}),this.formatOptionLabel(E,"value"))}},{key:"renderClearIndicator",value:function(){var r=this.getComponents(),s=r.ClearIndicator,o=this.commonProps,u=this.props,a=u.isDisabled,l=u.isLoading,c=this.state.isFocused;if(!this.isClearable()||!s||a||!this.hasValue()||l)return null;var d={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return M.createElement(s,F({},o,{innerProps:d,isFocused:c}))}},{key:"renderLoadingIndicator",value:function(){var r=this.getComponents(),s=r.LoadingIndicator,o=this.commonProps,u=this.props,a=u.isDisabled,l=u.isLoading,c=this.state.isFocused;if(!s||!l)return null;var d={"aria-hidden":"true"};return M.createElement(s,F({},o,{innerProps:d,isDisabled:a,isFocused:c}))}},{key:"renderIndicatorSeparator",value:function(){var r=this.getComponents(),s=r.DropdownIndicator,o=r.IndicatorSeparator;if(!s||!o)return null;var u=this.commonProps,a=this.props.isDisabled,l=this.state.isFocused;return M.createElement(o,F({},u,{isDisabled:a,isFocused:l}))}},{key:"renderDropdownIndicator",value:function(){var r=this.getComponents(),s=r.DropdownIndicator;if(!s)return null;var o=this.commonProps,u=this.props.isDisabled,a=this.state.isFocused,l={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return M.createElement(s,F({},o,{innerProps:l,isDisabled:u,isFocused:a}))}},{key:"renderMenu",value:function(){var r=this,s=this.getComponents(),o=s.Group,u=s.GroupHeading,a=s.Menu,l=s.MenuList,c=s.MenuPortal,d=s.LoadingMessage,f=s.NoOptionsMessage,h=s.Option,m=this.commonProps,g=this.state.focusedOption,p=this.props,v=p.captureMenuScroll,C=p.inputValue,I=p.isLoading,A=p.loadingMessage,b=p.minMenuHeight,S=p.maxMenuHeight,E=p.menuIsOpen,T=p.menuPlacement,G=p.menuPosition,L=p.menuPortalTarget,H=p.menuShouldBlockScroll,O=p.menuShouldScrollIntoView,K=p.noOptionsMessage,j=p.onMenuScrollToTop,U=p.onMenuScrollToBottom;if(!E)return null;var Y=function(he,Ee){var Me=he.type,ye=he.data,De=he.isDisabled,Te=he.isSelected,vt=he.label,wr=he.value,Xn=g===ye,P=De?void 0:function(){return r.onOptionHover(ye)},Zt=De?void 0:function(){return r.selectOption(ye)},qe="".concat(r.getElementId("option"),"-").concat(Ee),Wn={id:qe,onClick:Zt,onMouseMove:P,onMouseOver:P,tabIndex:-1,role:"option","aria-selected":r.state.isAppleDevice?void 0:Te};return M.createElement(h,F({},m,{innerProps:Wn,data:ye,isDisabled:De,isSelected:Te,key:qe,label:vt,type:Me,value:wr,isFocused:Xn,innerRef:Xn?r.getFocusedOptionRef:void 0}),r.formatOptionLabel(he.data,"menu"))},X;if(this.hasOptions())X=this.getCategorizedOptions().map(function(_){if(_.type==="group"){var he=_.data,Ee=_.options,Me=_.index,ye="".concat(r.getElementId("group"),"-").concat(Me),De="".concat(ye,"-heading");return M.createElement(o,F({},m,{key:ye,data:he,options:Ee,Heading:u,headingProps:{id:De,data:_.data},label:r.formatGroupLabel(_.data)}),_.options.map(function(Te){return Y(Te,"".concat(Me,"-").concat(Te.index))}))}else if(_.type==="option")return Y(_,"".concat(_.index))});else if(I){var N=A({inputValue:C});if(N===null)return null;X=M.createElement(d,m,N)}else{var q=K({inputValue:C});if(q===null)return null;X=M.createElement(f,m,q)}var R={minMenuHeight:b,maxMenuHeight:S,menuPlacement:T,menuPosition:G,menuShouldScrollIntoView:O},ie=M.createElement(bg,F({},m,R),function(_){var he=_.ref,Ee=_.placerProps,Me=Ee.placement,ye=Ee.maxHeight;return M.createElement(a,F({},m,R,{innerRef:he,innerProps:{onMouseDown:r.onMenuMouseDown,onMouseMove:r.onMenuMouseMove},isLoading:I,placement:Me}),M.createElement(Ub,{captureEnabled:v,onTopArrive:j,onBottomArrive:U,lockEnabled:H},function(De){return M.createElement(l,F({},m,{innerRef:function(vt){r.getMenuListRef(vt),De(vt)},innerProps:{role:"listbox","aria-multiselectable":m.isMulti,id:r.getElementId("listbox")},isLoading:I,maxHeight:ye,focusedOption:g}),X)}))});return L||G==="fixed"?M.createElement(c,F({},m,{appendTo:L,controlElement:this.controlRef,menuPlacement:T,menuPosition:G}),ie):ie}},{key:"renderFormField",value:function(){var r=this,s=this.props,o=s.delimiter,u=s.isDisabled,a=s.isMulti,l=s.name,c=s.required,d=this.state.selectValue;if(c&&!this.hasValue()&&!u)return M.createElement(Kb,{name:l,onFocus:this.onValueInputFocus});if(!(!l||u))if(a)if(o){var f=d.map(function(g){return r.getOptionValue(g)}).join(o);return M.createElement("input",{name:l,type:"hidden",value:f})}else{var h=d.length>0?d.map(function(g,p){return M.createElement("input",{key:"i-".concat(p),name:l,type:"hidden",value:r.getOptionValue(g)})}):M.createElement("input",{name:l,type:"hidden",value:""});return M.createElement("div",null,h)}else{var m=d[0]?this.getOptionValue(d[0]):"";return M.createElement("input",{name:l,type:"hidden",value:m})}}},{key:"renderLiveRegion",value:function(){var r=this.commonProps,s=this.state,o=s.ariaSelection,u=s.focusedOption,a=s.focusedValue,l=s.isFocused,c=s.selectValue,d=this.getFocusableOptions();return M.createElement(Nb,F({},r,{id:this.getElementId("live-region"),ariaSelection:o,focusedOption:u,focusedValue:a,isFocused:l,selectValue:c,focusableOptions:d,isAppleDevice:this.state.isAppleDevice}))}},{key:"render",value:function(){var r=this.getComponents(),s=r.Control,o=r.IndicatorsContainer,u=r.SelectContainer,a=r.ValueContainer,l=this.props,c=l.className,d=l.id,f=l.isDisabled,h=l.menuIsOpen,m=this.state.isFocused,g=this.commonProps=this.getCommonProps();return M.createElement(u,F({},g,{className:c,innerProps:{id:d,onKeyDown:this.onKeyDown},isDisabled:f,isFocused:m}),this.renderLiveRegion(),M.createElement(s,F({},g,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:f,isFocused:m,menuIsOpen:h}),M.createElement(a,F({},g,{isDisabled:f}),this.renderPlaceholderOrValue(),this.renderInput()),M.createElement(o,F({},g,{isDisabled:f}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(r,s){var o=s.prevProps,u=s.clearFocusValueOnUpdate,a=s.inputIsHiddenAfterUpdate,l=s.ariaSelection,c=s.isFocused,d=s.prevWasFocused,f=s.instancePrefix,h=r.options,m=r.value,g=r.menuIsOpen,p=r.inputValue,v=r.isMulti,C=hu(m),I={};if(o&&(m!==o.value||h!==o.options||g!==o.menuIsOpen||p!==o.inputValue)){var A=g?p0(r,C):[],b=g?Hu(Ln(r,C),"".concat(f,"-option")):[],S=u?m0(s,C):null,E=g0(s,A),T=Vr(b,E);I={selectValue:C,focusedOption:E,focusedOptionId:T,focusableOptionsWithIds:b,focusedValue:S,clearFocusValueOnUpdate:!1}}var G=a!=null&&r!==o?{inputIsHidden:a,inputIsHiddenAfterUpdate:void 0}:{},L=l,H=c&&d;return c&&!H&&(L={value:On(v,C,C[0]||null),options:C,action:"initial-input-focus"},H=!d),(l==null?void 0:l.action)==="initial-input-focus"&&(L=null),w(w(w({},I),G),{},{prevProps:r,ariaSelection:L,prevWasFocused:H})}}]),n})(y.Component);Qu.defaultProps=h0;var v0=y.forwardRef(function(e,t){var n=wp(e);return M.createElement(Qu,F({ref:t},n))}),y0=v0;const bt=e=>{const{children:t,sx:n,...i}=e;return x.jsx("div",{className:Se.form,style:n,...i,children:t})},I0={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"})},C0=e=>{const{children:t,sx:n,...i}=e;return x.jsx("div",{className:Se["form-group"],style:n,...i,children:t})},x0=e=>{const{children:t,sx:n,...i}=e,r=y.Children.toArray(t).filter(a=>a.type.displayName==="biznext-ui-input-label"),s=y.Children.toArray(t).filter(a=>a.type.displayName==="biznext-ui-input-control"),o=y.Children.toArray(t).filter(a=>a.type.displayName==="biznext-ui-input-error-message"),u=o[0]&&o[0].props.children&&o[0].props.children.length>0;return x.jsxs("div",{className:le(Se["form-input-group"],u&&Se["validation-error"]),style:n,...i,children:[r,x.jsxs("div",{className:Se["form-input-control-group"],children:[s,x.jsx("span",{className:Se["form-input-group-error-text"],children:o})]})]})},Ku=e=>{const{required:t=!1,children:n,sx:i,...r}=e;return x.jsx("label",{className:le(Se["form-input-group-label"],t&&Se.required),style:i,...r,children:n})},qu=y.forwardRef((e,t)=>{const{controlType:n,focus:i,focusElement:r,sx:s,placeholder:o="",isSearchable:u=!0,isClearable:a=!0,...l}=e;let c=x.jsx(x.Fragment,{});const d=y.useRef(null);switch(y.useEffect(()=>{d.current&&d.current.focus()},[i]),y.useEffect(()=>{d.current&&d.current.focus()},[r]),n){case"input":c=x.jsx("input",{className:Se["form-input-control"],placeholder:o,ref:i?d:t,style:s,...l});break;case"select":c=x.jsx(y0,{styles:I0,className:Se["form-select-control"],classNamePrefix:"biznext-ui-",menuPortalTarget:document.body,menuPosition:"absolute",menuShouldScrollIntoView:!1,ref:i?d:t,placeholder:o?`Select ${o}`:"Select...",isSearchable:u,isClearable:a,noOptionsMessage:()=>"No Results Found!",...l});break;case"textarea":c=x.jsx("textarea",{className:Se["form-input-control"],placeholder:o,style:s,ref:i?d:t,...l});break;default:c=x.jsx(x.Fragment,{});break}return c}),el=e=>{const{children:t}=e;return t};Ku.displayName="biznext-ui-input-label",qu.displayName="biznext-ui-input-control",el.displayName="biznext-ui-input-error-message",bt.Group=C0,bt.InputGroup=x0,bt.Label=Ku,bt.Control=qu,bt.ErrorMessage=el,ge.BiznextUIProvider=pp,ge.Form=bt,ge.Modal=ft,ge.useConfirmDialog=xp,ge.useToast=kn,Object.defineProperty(ge,Symbol.toStringTag,{value:"Module"})}));
|