globalfy-design-system 0.72.0 → 0.73.0
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/components/atoms/DropdownList/DropdownList.d.ts +1 -1
- package/dist/components/atoms/DropdownList/DropdownList.stories.d.ts +1 -1
- package/dist/components/atoms/DropdownList/DropdownList.types.d.ts +1 -0
- package/dist/components/atoms/Icon/assets/selection.json.d.ts +124 -71
- package/dist/components/atoms/RadioGroup/RadioGroup.d.ts +1 -1
- package/dist/components/atoms/RadioGroup/RadioGroup.stories.d.ts +1 -1
- package/dist/components/atoms/RadioGroup/RadioGroup.types.d.ts +2 -1
- package/dist/fonts/icomoon.eot +0 -0
- package/dist/fonts/icomoon.svg +6 -0
- package/dist/fonts/icomoon.ttf +0 -0
- package/dist/fonts/icomoon.woff +0 -0
- package/dist/globalfy-design-system.js +727 -622
- package/dist/globalfy-design-system.umd.cjs +14 -14
- package/dist/selection.json +124 -71
- package/dist/style.css +34 -5
- package/package.json +1 -1
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
*
|
|
15
15
|
* This source code is licensed under the MIT license found in the
|
|
16
16
|
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var dd;function zb(){return dd||(dd=1,process.env.NODE_ENV!=="production"&&function(){var e=f,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),s=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),h=Symbol.iterator,g="@@iterator";function b(C){if(C===null||typeof C!="object")return null;var L=h&&C[h]||C[g];return typeof L=="function"?L:null}var x=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function y(C){{for(var L=arguments.length,_=new Array(L>1?L-1:0),U=1;U<L;U++)_[U-1]=arguments[U];w("error",C,_)}}function w(C,L,_){{var U=x.ReactDebugCurrentFrame,oe=U.getStackAddendum();oe!==""&&(L+="%s",_=_.concat([oe]));var se=_.map(function(te){return String(te)});se.unshift("Warning: "+L),Function.prototype.apply.call(console[C],console,se)}}var S=!1,
|
|
17
|
+
*/var dd;function zb(){return dd||(dd=1,process.env.NODE_ENV!=="production"&&function(){var e=f,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),s=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),h=Symbol.iterator,g="@@iterator";function b(C){if(C===null||typeof C!="object")return null;var L=h&&C[h]||C[g];return typeof L=="function"?L:null}var x=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function y(C){{for(var L=arguments.length,_=new Array(L>1?L-1:0),U=1;U<L;U++)_[U-1]=arguments[U];w("error",C,_)}}function w(C,L,_){{var U=x.ReactDebugCurrentFrame,oe=U.getStackAddendum();oe!==""&&(L+="%s",_=_.concat([oe]));var se=_.map(function(te){return String(te)});se.unshift("Warning: "+L),Function.prototype.apply.call(console[C],console,se)}}var S=!1,P=!1,A=!1,T=!1,v=!1,D;D=Symbol.for("react.module.reference");function $(C){return!!(typeof C=="string"||typeof C=="function"||C===r||C===a||v||C===o||C===u||C===c||T||C===m||S||P||A||typeof C=="object"&&C!==null&&(C.$$typeof===p||C.$$typeof===d||C.$$typeof===i||C.$$typeof===s||C.$$typeof===l||C.$$typeof===D||C.getModuleId!==void 0))}function M(C,L,_){var U=C.displayName;if(U)return U;var oe=L.displayName||L.name||"";return oe!==""?_+"("+oe+")":_}function k(C){return C.displayName||"Context"}function I(C){if(C==null)return null;if(typeof C.tag=="number"&&y("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof C=="function")return C.displayName||C.name||null;if(typeof C=="string")return C;switch(C){case r:return"Fragment";case n:return"Portal";case a:return"Profiler";case o:return"StrictMode";case u:return"Suspense";case c:return"SuspenseList"}if(typeof C=="object")switch(C.$$typeof){case s:var L=C;return k(L)+".Consumer";case i:var _=C;return k(_._context)+".Provider";case l:return M(C,C.render,"ForwardRef");case d:var U=C.displayName||null;return U!==null?U:I(C.type)||"Memo";case p:{var oe=C,se=oe._payload,te=oe._init;try{return I(te(se))}catch{return null}}}return null}var E=Object.assign,O=0,j,N,W,K,H,X,B;function G(){}G.__reactDisabledLog=!0;function Y(){{if(O===0){j=console.log,N=console.info,W=console.warn,K=console.error,H=console.group,X=console.groupCollapsed,B=console.groupEnd;var C={configurable:!0,enumerable:!0,value:G,writable:!0};Object.defineProperties(console,{info:C,log:C,warn:C,error:C,group:C,groupCollapsed:C,groupEnd:C})}O++}}function R(){{if(O--,O===0){var C={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:E({},C,{value:j}),info:E({},C,{value:N}),warn:E({},C,{value:W}),error:E({},C,{value:K}),group:E({},C,{value:H}),groupCollapsed:E({},C,{value:X}),groupEnd:E({},C,{value:B})})}O<0&&y("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Z=x.ReactCurrentDispatcher,q;function ae(C,L,_){{if(q===void 0)try{throw Error()}catch(oe){var U=oe.stack.trim().match(/\n( *(at )?)/);q=U&&U[1]||""}return`
|
|
18
18
|
`+q+C}}var le=!1,pe;{var be=typeof WeakMap=="function"?WeakMap:Map;pe=new be}function Q(C,L){if(!C||le)return"";{var _=pe.get(C);if(_!==void 0)return _}var U;le=!0;var oe=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var se;se=Z.current,Z.current=null,Y();try{if(L){var te=function(){throw Error()};if(Object.defineProperty(te.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(te,[])}catch(Ke){U=Ke}Reflect.construct(C,[],te)}else{try{te.call()}catch(Ke){U=Ke}C.call(te.prototype)}}else{try{throw Error()}catch(Ke){U=Ke}C()}}catch(Ke){if(Ke&&U&&typeof Ke.stack=="string"){for(var ee=Ke.stack.split(`
|
|
19
19
|
`),De=U.stack.split(`
|
|
20
20
|
`),ve=ee.length-1,Ce=De.length-1;ve>=1&&Ce>=0&&ee[ve]!==De[Ce];)Ce--;for(;ve>=1&&Ce>=0;ve--,Ce--)if(ee[ve]!==De[Ce]){if(ve!==1||Ce!==1)do if(ve--,Ce--,Ce<0||ee[ve]!==De[Ce]){var _e=`
|
|
@@ -24,7 +24,7 @@ Check the render method of \``+C+"`."}return""}}function td(C){{if(C!==void 0){v
|
|
|
24
24
|
|
|
25
25
|
Check your code at `+L+":"+_+"."}return""}}var ga={};function nd(C){{var L=ha();if(!L){var _=typeof C=="string"?C:C.displayName||C.name;_&&(L=`
|
|
26
26
|
|
|
27
|
-
Check the top-level render call using <`+_+">.")}return L}}function ba(C,L){{if(!C._store||C._store.validated||C.key!=null)return;C._store.validated=!0;var _=nd(L);if(ga[_])return;ga[_]=!0;var U="";C&&C._owner&&C._owner!==Et.current&&(U=" It was passed a child from "+I(C._owner.type)+"."),Pt(C),y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',_,U),Pt(null)}}function va(C,L){{if(typeof C!="object")return;if(mt(C))for(var _=0;_<C.length;_++){var U=C[_];pr(U)&&ba(U,L)}else if(pr(C))C._store&&(C._store.validated=!0);else if(C){var oe=b(C);if(typeof oe=="function"&&oe!==C.entries)for(var se=oe.call(C),te;!(te=se.next()).done;)pr(te.value)&&ba(te.value,L)}}}function rd(C){{var L=C.type;if(L==null||typeof L=="string")return;var _;if(typeof L=="function")_=L.propTypes;else if(typeof L=="object"&&(L.$$typeof===l||L.$$typeof===d))_=L.propTypes;else return;if(_){var U=I(L);Kt(_,C.props,"prop",U,C)}else if(L.PropTypes!==void 0&&!fr){fr=!0;var oe=I(L);y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",oe||"Unknown")}typeof L.getDefaultProps=="function"&&!L.getDefaultProps.isReactClassApproved&&y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function od(C){{for(var L=Object.keys(C.props),_=0;_<L.length;_++){var U=L[_];if(U!=="children"&&U!=="key"){Pt(C),y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",U),Pt(null);break}}C.ref!==null&&(Pt(C),y("Invalid attribute `ref` supplied to `React.Fragment`."),Pt(null))}}function ya(C,L,_,U,oe,se){{var te=$(C);if(!te){var ee="";(C===void 0||typeof C=="object"&&C!==null&&Object.keys(C).length===0)&&(ee+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var De=td(oe);De?ee+=De:ee+=ha();var ve;C===null?ve="null":mt(C)?ve="array":C!==void 0&&C.$$typeof===t?(ve="<"+(I(C.type)||"Unknown")+" />",ee=" Did you accidentally export a JSX literal instead of a component?"):ve=typeof C,y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",ve,ee)}var Ce=xe(C,L,_,oe,se);if(Ce==null)return Ce;if(te){var _e=L.children;if(_e!==void 0)if(U)if(mt(_e)){for(var St=0;St<_e.length;St++)va(_e[St],C);Object.freeze&&Object.freeze(_e)}else y("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else va(_e,C)}return C===r?od(Ce):rd(Ce),Ce}}function ad(C,L,_){return ya(C,L,_,!0)}function id(C,L,_){return ya(C,L,_,!1)}var sd=id,ld=ad;to.Fragment=r,to.jsx=sd,to.jsxs=ld}()),to}process.env.NODE_ENV==="production"?ys.exports=Rb():ys.exports=zb();var F=ys.exports,fd=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,nt=e=>!e||typeof e!="object"||Object.keys(e).length===0,Hb=(e,t)=>JSON.stringify(e)===JSON.stringify(t);function pd(e,t){e.forEach(function(n){Array.isArray(n)?pd(n,t):t.push(n)})}function md(e){let t=[];return pd(e,t),t}var Xb=(...e)=>md(e).filter(Boolean),hd=(e,t)=>{let n={},r=Object.keys(e),o=Object.keys(t);for(let a of r)if(o.includes(a)){let i=e[a],s=t[a];typeof i=="object"&&typeof s=="object"?n[a]=hd(i,s):n[a]=s+" "+i}else n[a]=e[a];for(let a of o)r.includes(a)||(n[a]=t[a]);return n},gd=e=>!e||typeof e!="string"?e:e.replace(/\s+/g," ").trim();function Zb(){for(var e=0,t,n,r="";e<arguments.length;)(t=arguments[e++])&&(n=bd(t))&&(r&&(r+=" "),r+=n);return r}function bd(e){if(typeof e=="string")return e;for(var t,n="",r=0;r<e.length;r++)e[r]&&(t=bd(e[r]))&&(n&&(n+=" "),n+=t);return n}var xs="-";function Yb(e){var t=Kb(e),n=e.conflictingClassGroups,r=e.conflictingClassGroupModifiers,o=r===void 0?{}:r;function a(s){var l=s.split(xs);return l[0]===""&&l.length!==1&&l.shift(),vd(l,t)||Ub(s)}function i(s,l){var u=n[s]||[];return l&&o[s]?[].concat(u,o[s]):u}return{getClassGroupId:a,getConflictingClassGroupIds:i}}function vd(e,t){var i;if(e.length===0)return t.classGroupId;var n=e[0],r=t.nextPart.get(n),o=r?vd(e.slice(1),r):void 0;if(o)return o;if(t.validators.length!==0){var a=e.join(xs);return(i=t.validators.find(function(s){var l=s.validator;return l(a)}))==null?void 0:i.classGroupId}}var yd=/^\[(.+)\]$/;function Ub(e){if(yd.test(e)){var t=yd.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}}function Kb(e){var t=e.theme,n=e.prefix,r={nextPart:new Map,validators:[]},o=Qb(Object.entries(e.classGroups),n);return o.forEach(function(a){var i=a[0],s=a[1];Cs(s,r,i,t)}),r}function Cs(e,t,n,r){e.forEach(function(o){if(typeof o=="string"){var a=o===""?t:xd(t,o);a.classGroupId=n;return}if(typeof o=="function"){if(Jb(o)){Cs(o(r),t,n,r);return}t.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(function(i){var s=i[0],l=i[1];Cs(l,xd(t,s),n,r)})})}function xd(e,t){var n=e;return t.split(xs).forEach(function(r){n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n}function Jb(e){return e.isThemeGetter}function Qb(e,t){return t?e.map(function(n){var r=n[0],o=n[1],a=o.map(function(i){return typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(function(s){var l=s[0],u=s[1];return[t+l,u]})):i});return[r,a]}):e}function qb(e){if(e<1)return{get:function(){},set:function(){}};var t=0,n=new Map,r=new Map;function o(a,i){n.set(a,i),t++,t>e&&(t=0,r=n,n=new Map)}return{get:function(i){var s=n.get(i);if(s!==void 0)return s;if((s=r.get(i))!==void 0)return o(i,s),s},set:function(i,s){n.has(i)?n.set(i,s):o(i,s)}}}var Cd="!";function ev(e){var t=e.separator||":",n=t.length===1,r=t[0],o=t.length;return function(i){for(var s=[],l=0,u=0,c,d=0;d<i.length;d++){var p=i[d];if(l===0){if(p===r&&(n||i.slice(d,d+o)===t)){s.push(i.slice(u,d)),u=d+o;continue}if(p==="/"){c=d;continue}}p==="["?l++:p==="]"&&l--}var m=s.length===0?i:i.substring(u),h=m.startsWith(Cd),g=h?m.substring(1):m,b=c&&c>u?c-u:void 0;return{modifiers:s,hasImportantModifier:h,baseClassName:g,maybePostfixModifierPosition:b}}}function tv(e){if(e.length<=1)return e;var t=[],n=[];return e.forEach(function(r){var o=r[0]==="[";o?(t.push.apply(t,n.sort().concat([r])),n=[]):n.push(r)}),t.push.apply(t,n.sort()),t}function nv(e){return{cache:qb(e.cacheSize),splitModifiers:ev(e),...Yb(e)}}var rv=/\s+/;function ov(e,t){var n=t.splitModifiers,r=t.getClassGroupId,o=t.getConflictingClassGroupIds,a=new Set;return e.trim().split(rv).map(function(i){var s=n(i),l=s.modifiers,u=s.hasImportantModifier,c=s.baseClassName,d=s.maybePostfixModifierPosition,p=r(d?c.substring(0,d):c),m=!!d;if(!p){if(!d)return{isTailwindClass:!1,originalClassName:i};if(p=r(c),!p)return{isTailwindClass:!1,originalClassName:i};m=!1}var h=tv(l).join(":"),g=u?h+Cd:h;return{isTailwindClass:!0,modifierId:g,classGroupId:p,originalClassName:i,hasPostfixModifier:m}}).reverse().filter(function(i){if(!i.isTailwindClass)return!0;var s=i.modifierId,l=i.classGroupId,u=i.hasPostfixModifier,c=s+l;return a.has(c)?!1:(a.add(c),o(l,u).forEach(function(d){return a.add(s+d)}),!0)}).reverse().map(function(i){return i.originalClassName}).join(" ")}function ws(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,o,a,i=s;function s(u){var c=t[0],d=t.slice(1),p=d.reduce(function(m,h){return h(m)},c());return r=nv(p),o=r.cache.get,a=r.cache.set,i=l,l(u)}function l(u){var c=o(u);if(c)return c;var d=ov(u,r);return a(u,d),d}return function(){return i(Zb.apply(null,arguments))}}function Be(e){var t=function(r){return r[e]||[]};return t.isThemeGetter=!0,t}var wd=/^\[(?:([a-z-]+):)?(.+)\]$/i,av=/^\d+\/\d+$/,iv=new Set(["px","full","screen"]),sv=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,lv=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,uv=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;function Nt(e){return On(e)||iv.has(e)||av.test(e)||Is(e)}function Is(e){return Fn(e,"length",hv)}function cv(e){return Fn(e,"size",Id)}function dv(e){return Fn(e,"position",Id)}function fv(e){return Fn(e,"url",gv)}function Ca(e){return Fn(e,"number",On)}function On(e){return!Number.isNaN(Number(e))}function pv(e){return e.endsWith("%")&&On(e.slice(0,-1))}function no(e){return Ed(e)||Fn(e,"number",Ed)}function Ie(e){return wd.test(e)}function ro(){return!0}function bn(e){return sv.test(e)}function mv(e){return Fn(e,"",bv)}function Fn(e,t,n){var r=wd.exec(e);return r?r[1]?r[1]===t:n(r[2]):!1}function hv(e){return lv.test(e)}function Id(){return!1}function gv(e){return e.startsWith("url(")}function Ed(e){return Number.isInteger(Number(e))}function bv(e){return uv.test(e)}function Es(){var e=Be("colors"),t=Be("spacing"),n=Be("blur"),r=Be("brightness"),o=Be("borderColor"),a=Be("borderRadius"),i=Be("borderSpacing"),s=Be("borderWidth"),l=Be("contrast"),u=Be("grayscale"),c=Be("hueRotate"),d=Be("invert"),p=Be("gap"),m=Be("gradientColorStops"),h=Be("gradientColorStopPositions"),g=Be("inset"),b=Be("margin"),x=Be("opacity"),y=Be("padding"),w=Be("saturate"),S=Be("scale"),E=Be("sepia"),A=Be("skew"),T=Be("space"),v=Be("translate"),D=function(){return["auto","contain","none"]},$=function(){return["auto","hidden","clip","visible","scroll"]},M=function(){return["auto",Ie,t]},k=function(){return[Ie,t]},I=function(){return["",Nt]},P=function(){return["auto",On,Ie]},O=function(){return["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"]},j=function(){return["solid","dashed","dotted","double","none"]},N=function(){return["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"]},W=function(){return["start","end","center","between","around","evenly","stretch"]},K=function(){return["","0",Ie]},H=function(){return["auto","avoid","all","avoid-page","page","left","right","column"]},X=function(){return[On,Ca]},B=function(){return[On,Ie]};return{cacheSize:500,theme:{colors:[ro],spacing:[Nt],blur:["none","",bn,Ie],brightness:X(),borderColor:[e],borderRadius:["none","","full",bn,Ie],borderSpacing:k(),borderWidth:I(),contrast:X(),grayscale:K(),hueRotate:B(),invert:K(),gap:k(),gradientColorStops:[e],gradientColorStopPositions:[pv,Is],inset:M(),margin:M(),opacity:X(),padding:k(),saturate:X(),scale:X(),sepia:K(),skew:B(),space:k(),translate:k()},classGroups:{aspect:[{aspect:["auto","square","video",Ie]}],container:["container"],columns:[{columns:[bn]}],"break-after":[{"break-after":H()}],"break-before":[{"break-before":H()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none"]}],clear:[{clear:["left","right","both","none"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[].concat(O(),[Ie])}],overflow:[{overflow:$()}],"overflow-x":[{"overflow-x":$()}],"overflow-y":[{"overflow-y":$()}],overscroll:[{overscroll:D()}],"overscroll-x":[{"overscroll-x":D()}],"overscroll-y":[{"overscroll-y":D()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[g]}],"inset-x":[{"inset-x":[g]}],"inset-y":[{"inset-y":[g]}],start:[{start:[g]}],end:[{end:[g]}],top:[{top:[g]}],right:[{right:[g]}],bottom:[{bottom:[g]}],left:[{left:[g]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",no]}],basis:[{basis:M()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Ie]}],grow:[{grow:K()}],shrink:[{shrink:K()}],order:[{order:["first","last","none",no]}],"grid-cols":[{"grid-cols":[ro]}],"col-start-end":[{col:["auto",{span:["full",no]},Ie]}],"col-start":[{"col-start":P()}],"col-end":[{"col-end":P()}],"grid-rows":[{"grid-rows":[ro]}],"row-start-end":[{row:["auto",{span:[no]},Ie]}],"row-start":[{"row-start":P()}],"row-end":[{"row-end":P()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Ie]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Ie]}],gap:[{gap:[p]}],"gap-x":[{"gap-x":[p]}],"gap-y":[{"gap-y":[p]}],"justify-content":[{justify:["normal"].concat(W())}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal"].concat(W(),["baseline"])}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[].concat(W(),["baseline"])}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[y]}],px:[{px:[y]}],py:[{py:[y]}],ps:[{ps:[y]}],pe:[{pe:[y]}],pt:[{pt:[y]}],pr:[{pr:[y]}],pb:[{pb:[y]}],pl:[{pl:[y]}],m:[{m:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],me:[{me:[b]}],mt:[{mt:[b]}],mr:[{mr:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"space-x":[{"space-x":[T]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[T]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit",Ie,t]}],"min-w":[{"min-w":["min","max","fit",Ie,Nt]}],"max-w":[{"max-w":["0","none","full","min","max","fit","prose",{screen:[bn]},bn,Ie]}],h:[{h:[Ie,t,"auto","min","max","fit"]}],"min-h":[{"min-h":["min","max","fit",Ie,Nt]}],"max-h":[{"max-h":[Ie,t,"min","max","fit"]}],"font-size":[{text:["base",bn,Is]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Ca]}],"font-family":[{font:[ro]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",Ie]}],"line-clamp":[{"line-clamp":["none",On,Ca]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Ie,Nt]}],"list-image":[{"list-image":["none",Ie]}],"list-style-type":[{list:["none","disc","decimal",Ie]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[x]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[x]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[].concat(j(),["wavy"])}],"text-decoration-thickness":[{decoration:["auto","from-font",Nt]}],"underline-offset":[{"underline-offset":["auto",Ie,Nt]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],indent:[{indent:k()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Ie]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Ie]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[x]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[].concat(O(),[dv])}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",cv]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},fv]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[h]}],"gradient-via-pos":[{via:[h]}],"gradient-to-pos":[{to:[h]}],"gradient-from":[{from:[m]}],"gradient-via":[{via:[m]}],"gradient-to":[{to:[m]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[x]}],"border-style":[{border:[].concat(j(),["hidden"])}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[x]}],"divide-style":[{divide:j()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:[""].concat(j())}],"outline-offset":[{"outline-offset":[Ie,Nt]}],"outline-w":[{outline:[Nt]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:I()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[x]}],"ring-offset-w":[{"ring-offset":[Nt]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",bn,mv]}],"shadow-color":[{shadow:[ro]}],opacity:[{opacity:[x]}],"mix-blend":[{"mix-blend":N()}],"bg-blend":[{"bg-blend":N()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",bn,Ie]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[d]}],saturate:[{saturate:[w]}],sepia:[{sepia:[E]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[x]}],"backdrop-saturate":[{"backdrop-saturate":[w]}],"backdrop-sepia":[{"backdrop-sepia":[E]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",Ie]}],duration:[{duration:B()}],ease:[{ease:["linear","in","out","in-out",Ie]}],delay:[{delay:B()}],animate:[{animate:["none","spin","ping","pulse","bounce",Ie]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[S]}],"scale-x":[{"scale-x":[S]}],"scale-y":[{"scale-y":[S]}],rotate:[{rotate:[no,Ie]}],"translate-x":[{"translate-x":[v]}],"translate-y":[{"translate-y":[v]}],"skew-x":[{"skew-x":[A]}],"skew-y":[{"skew-y":[A]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Ie]}],accent:[{accent:["auto",e]}],appearance:["appearance-none"],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Ie]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":k()}],"scroll-mx":[{"scroll-mx":k()}],"scroll-my":[{"scroll-my":k()}],"scroll-ms":[{"scroll-ms":k()}],"scroll-me":[{"scroll-me":k()}],"scroll-mt":[{"scroll-mt":k()}],"scroll-mr":[{"scroll-mr":k()}],"scroll-mb":[{"scroll-mb":k()}],"scroll-ml":[{"scroll-ml":k()}],"scroll-p":[{"scroll-p":k()}],"scroll-px":[{"scroll-px":k()}],"scroll-py":[{"scroll-py":k()}],"scroll-ps":[{"scroll-ps":k()}],"scroll-pe":[{"scroll-pe":k()}],"scroll-pt":[{"scroll-pt":k()}],"scroll-pr":[{"scroll-pr":k()}],"scroll-pb":[{"scroll-pb":k()}],"scroll-pl":[{"scroll-pl":k()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","pinch-zoom","manipulation",{pan:["x","left","right","y","up","down"]}]}],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Ie]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Nt,Ca]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}function vv(e,t){for(var n in t)Pd(e,n,t[n]);return e}var yv=Object.prototype.hasOwnProperty,xv=new Set(["string","number","boolean"]);function Pd(e,t,n){if(!yv.call(e,t)||xv.has(typeof n)||n===null){e[t]=n;return}if(Array.isArray(n)&&Array.isArray(e[t])){e[t]=e[t].concat(n);return}if(typeof n=="object"&&typeof e[t]=="object"){if(e[t]===null){e[t]=n;return}for(var r in n)Pd(e[t],r,n[r])}}function Cv(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return typeof e=="function"?ws.apply(void 0,[Es,e].concat(n)):ws.apply(void 0,[function(){return vv(Es(),e)}].concat(n))}var Sd=ws(Es),wv={twMerge:!0,twMergeConfig:{},responsiveVariants:!1},Md=e=>e||void 0,wa=(...e)=>Md(md(e).filter(Boolean).join(" ")),Ps=null,Ia={},Ss=!1,oo=(...e)=>t=>t.twMerge?((!Ps||Ss)&&(Ss=!1,Ps=nt(Ia)?Sd:Cv(Ia)),Md(Ps(wa(e)))):wa(e),Ad=(e,t)=>{for(let n in t)e.hasOwnProperty(n)?e[n]=wa(e[n],t[n]):e[n]=t[n];return e},ye=(e,t)=>{let{extend:n=null,slots:r={},variants:o={},compoundVariants:a=[],compoundSlots:i=[],defaultVariants:s={}}=e,l={...wv,...t},u=n!=null&&n.base?wa(n.base,e==null?void 0:e.base):e==null?void 0:e.base,c=n!=null&&n.variants&&!nt(n.variants)?hd(o,n.variants):o,d=n!=null&&n.defaultVariants&&!nt(n.defaultVariants)?{...n.defaultVariants,...s}:s;!nt(l.twMergeConfig)&&!Hb(l.twMergeConfig,Ia)&&(Ss=!0,Ia=l.twMergeConfig);let p=nt(r)?{}:{base:e==null?void 0:e.base,...r},m=nt(n==null?void 0:n.slots)?p:Ad({...n==null?void 0:n.slots},nt(p)?{base:e==null?void 0:e.base}:p),h=b=>{if(nt(c)&&nt(r)&&nt(n==null?void 0:n.slots))return oo(u,b==null?void 0:b.class,b==null?void 0:b.className)(l);if(a&&!Array.isArray(a))throw new TypeError(`The "compoundVariants" prop must be an array. Received: ${typeof a}`);if(i&&!Array.isArray(i))throw new TypeError(`The "compoundSlots" prop must be an array. Received: ${typeof i}`);let x=(M,k,I=[],P)=>{let O=I;if(typeof k=="string")O=O.concat(gd(k).split(" ").map(j=>`${M}:${j}`));else if(Array.isArray(k))O=O.concat(k.reduce((j,N)=>j.concat(`${M}:${N}`),[]));else if(typeof k=="object"&&typeof P=="string"){for(let j in k)if(k.hasOwnProperty(j)&&j===P){let N=k[j];if(N&&typeof N=="string"){let W=gd(N);O[P]?O[P]=O[P].concat(W.split(" ").map(K=>`${M}:${K}`)):O[P]=W.split(" ").map(K=>`${M}:${K}`)}else Array.isArray(N)&&N.length>0&&(O[P]=N.reduce((W,K)=>W.concat(`${M}:${K}`),[]))}}return O},y=(M,k=c,I=null,P=null)=>{var O;let j=k[M];if(!j||nt(j))return null;let N=(O=P==null?void 0:P[M])!=null?O:b==null?void 0:b[M];if(N===null)return null;let W=fd(N),K=Array.isArray(l.responsiveVariants)&&l.responsiveVariants.length>0||l.responsiveVariants===!0,H=d==null?void 0:d[M],X=[];if(typeof W=="object"&&K)for(let[G,Y]of Object.entries(W)){let R=j[Y];if(G==="initial"){H=Y;continue}Array.isArray(l.responsiveVariants)&&!l.responsiveVariants.includes(G)||(X=x(G,R,X,I))}let B=j[W]||j[fd(H)];return typeof X=="object"&&typeof I=="string"&&X[I]?Ad(X,B):X.length>0?(X.push(B),X):B},w=()=>c?Object.keys(c).map(M=>y(M,c)):null,S=(M,k)=>{if(!c||typeof c!="object")return null;let I=new Array;for(let P in c){let O=y(P,c,M,k),j=M==="base"&&typeof O=="string"?O:O&&O[M];j&&(I[I.length]=j)}return I},E={};for(let M in b)b[M]!==void 0&&(E[M]=b[M]);let A=(M,k)=>{var I;let P=typeof(b==null?void 0:b[M])=="object"?{[M]:(I=b[M])==null?void 0:I.initial}:{};return{...d,...E,...P,...k}},T=(M=[],k)=>{let I=[];for(let{class:P,className:O,...j}of M){let N=!0;for(let[W,K]of Object.entries(j)){let H=A(W,k);if(Array.isArray(K)){if(!K.includes(H[W])){N=!1;break}}else if(H[W]!==K){N=!1;break}}N&&(P&&I.push(P),O&&I.push(O))}return I},v=M=>{let k=T(a,M),I=T(n==null?void 0:n.compoundVariants,M);return Xb(I,k)},D=M=>{let k=v(M);if(!Array.isArray(k))return k;let I={};for(let P of k)if(typeof P=="string"&&(I.base=oo(I.base,P)(l)),typeof P=="object")for(let[O,j]of Object.entries(P))I[O]=oo(I[O],j)(l);return I},$=M=>{if(i.length<1)return null;let k={};for(let{slots:I=[],class:P,className:O,...j}of i){if(!nt(j)){let N=!0;for(let W of Object.keys(j)){let K=A(W,M)[W];if(K===void 0||(Array.isArray(j[W])?!j[W].includes(K):j[W]!==K)){N=!1;break}}if(!N)continue}for(let N of I)k[N]=k[N]||[],k[N].push([P,O])}return k};if(!nt(r)||!nt(n==null?void 0:n.slots)){let M={};if(typeof m=="object"&&!nt(m))for(let k of Object.keys(m))M[k]=I=>{var P,O;return oo(m[k],S(k,I),((P=D(I))!=null?P:[])[k],((O=$(I))!=null?O:[])[k],I==null?void 0:I.class,I==null?void 0:I.className)(l)};return M}return oo(u,w(),v(),b==null?void 0:b.class,b==null?void 0:b.className)(l)},g=()=>{if(!(!c||typeof c!="object"))return Object.keys(c)};return h.variantKeys=g(),h.extend=n,h.base=u,h.slots=m,h.variants=c,h.defaultVariants=d,h.compoundSlots=i,h.compoundVariants=a,h};const Iv=258,Ev=70,Pv=223,Sv=266;function Mv({variant:e="default",className:t,short:n,width:r,height:o}){let a=n?Pv:Iv,i=n?Sv:Ev;const s=a/i;r&&(a=r,i=parseFloat((r/s).toFixed(2))),o&&(i=o,a=parseFloat((o*s).toFixed(2)));const l=ye({base:"",variants:{variant:{default:"fill-secondary-green-500",dark:"fill-primary-green-500",light:"fill-white"}}});return n?F.jsx("svg",{preserveAspectRatio:"none",width:a,height:i,viewBox:"0 0 223 266",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",className:l({variant:e,className:t}),children:F.jsx("path",{d:"M222.964 194.18V85.6459C222.964 85.2381 222.88 84.8344 222.718 84.458C222.556 84.0816 222.319 83.74 222.02 83.4529C221.721 83.1657 221.366 82.9388 220.975 82.7852C220.585 82.6316 220.167 82.5543 219.746 82.5577H182.608C182.191 82.5577 181.777 82.6378 181.392 82.7933C181.006 82.9488 180.656 83.1767 180.362 83.4638C180.068 83.7509 179.836 84.0916 179.678 84.4661C179.521 84.8406 179.442 85.2416 179.445 85.6459V171.586C177.727 171.586 176.719 171.586 176.364 171.586C164.721 170.029 159.213 167.178 152.914 161.028C146.616 154.878 144.516 146.089 144.025 135.637V104.914C144.03 104.501 143.948 104.091 143.784 103.71C143.62 103.329 143.377 102.984 143.071 102.697L121.966 82.9009L101.434 62.498C101.143 62.1997 100.792 61.9617 100.403 61.7984C100.014 61.6351 99.5947 61.5498 99.1707 61.5478H66.0684C66.7731 54.8644 69.6353 48.5659 74.2486 43.5468C77.1792 40.3682 80.7538 37.8071 84.7504 36.0226C88.7469 34.2381 93.08 33.2684 97.4802 33.1738C98.2977 33.14 99.0706 32.8033 99.639 32.2335C100.207 31.6636 100.528 30.9041 100.534 30.112V2.66184C100.546 2.04062 100.331 1.43533 99.9266 0.952523C99.5226 0.469716 98.9556 0.140347 98.3255 0.0223983H97.7529C97.5176 -0.00746611 97.2792 -0.00746611 97.0439 0.0223983C84.1284 0.266286 71.4425 3.37237 59.9605 9.10208C49.7635 14.1971 41.0132 21.6355 34.4766 30.7653C27.94 39.8951 23.8167 50.4375 22.4681 61.4686H3.163C2.32163 61.4756 1.51715 61.804 0.924744 62.3824C0.332339 62.9608 -3.07314e-05 63.7423 2.13119e-09 64.5568V100.612C2.13119e-09 101.014 0.0817794 101.412 0.240735 101.783C0.39969 102.155 0.632697 102.492 0.926408 102.777C1.22012 103.061 1.56884 103.286 1.95259 103.44C2.33634 103.594 2.74763 103.673 3.163 103.673H21.841V201.517C21.841 201.922 21.9237 202.322 22.0844 202.695C22.245 203.068 22.4804 203.407 22.777 203.692C23.0736 203.976 23.4255 204.201 23.8124 204.354C24.1993 204.506 24.6136 204.583 25.0313 204.579H62.1691C62.5868 204.583 63.0011 204.506 63.388 204.354C63.7749 204.201 64.1268 203.976 64.4234 203.692C64.72 203.407 64.9554 203.068 65.116 202.695C65.2767 202.322 65.3595 201.922 65.3594 201.517V103.673H100.534V132.707C100.534 132.707 100.534 132.918 100.534 133.05C100.31 146.04 103.822 158.834 110.677 170.002C117.395 180.787 127.07 189.558 138.626 195.341C150.258 201.217 163.137 204.406 176.255 204.658H179.5C178.479 211.37 175.291 217.597 170.393 222.448C163.549 229.416 158.013 233.006 147.379 233.006C146.958 233.002 146.54 233.08 146.15 233.233C145.76 233.387 145.405 233.614 145.106 233.901C144.806 234.188 144.569 234.53 144.407 234.906C144.245 235.283 144.162 235.686 144.162 236.094V262.937C144.158 263.345 144.239 263.749 144.4 264.126C144.561 264.502 144.799 264.843 145.099 265.129C145.399 265.415 145.756 265.639 146.148 265.789C146.539 265.938 146.958 266.01 147.379 265.999C160.384 265.772 173.152 262.589 184.653 256.708C196.283 250.973 206.042 242.23 212.848 231.449C219.691 220.275 223.202 207.485 222.991 194.496C222.991 194.496 222.964 194.312 222.964 194.18Z"})}):F.jsxs("svg",{preserveAspectRatio:"none",width:a,height:i,viewBox:"0 0 258 70",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",className:l({variant:e,className:t}),children:[F.jsx("path",{d:"M44.1576 5.54621e-10H53.8953C54.117 5.54621e-10 54.3296 0.0853594 54.4864 0.2373C54.6431 0.389241 54.7312 0.595316 54.7312 0.810193V52.8634C54.7312 52.9694 54.7095 53.0745 54.6674 53.1724C54.6253 53.2703 54.5637 53.3591 54.486 53.4338C54.4082 53.5085 54.316 53.5675 54.2147 53.6075C54.1133 53.6474 54.0048 53.6675 53.8953 53.6666H44.1576C43.9378 53.6666 43.727 53.582 43.5716 53.4314C43.4162 53.2807 43.3289 53.0764 43.3289 52.8634V0.810193C43.3279 0.704125 43.3487 0.598926 43.3899 0.500669C43.4311 0.402411 43.492 0.31304 43.5691 0.237715C43.6461 0.162389 43.7378 0.102601 43.8388 0.0618008C43.9398 0.0210004 44.0482 -3.94095e-06 44.1576 5.54621e-10Z"}),F.jsx("path",{d:"M68.7089 51.2755C65.8506 49.7718 63.4549 47.4816 61.7891 44.6605C60.1032 41.7448 59.2396 38.4048 59.2947 35.0137C59.2396 31.6226 60.1032 28.2825 61.7891 25.3668C63.45 22.5364 65.8465 20.2384 68.7089 18.7312C71.8146 17.1539 75.2322 16.3335 78.6964 16.3335C82.1606 16.3335 85.5782 17.1539 88.6838 18.7312C91.5312 20.2475 93.9147 22.5442 95.5701 25.3668C97.251 28.2844 98.1121 31.6236 98.0578 35.0137C98.1121 38.4038 97.251 41.743 95.5701 44.6605C93.9093 47.4735 91.5268 49.7622 88.6838 51.2755C85.577 52.8486 82.1599 53.6668 78.6964 53.6668C75.2329 53.6668 71.8157 52.8486 68.7089 51.2755ZM85.1703 42.3177C86.8555 40.4802 87.6982 38.0432 87.6982 35.0068C87.6982 31.9703 86.8555 29.5379 85.1703 27.7096C84.3456 26.806 83.3434 26.093 82.2302 25.6178C81.1169 25.1426 79.9181 24.9161 78.7131 24.9534C77.5026 24.9186 76.2984 25.146 75.179 25.6209C74.0596 26.0957 73.0499 26.8074 72.2157 27.7096C70.5215 29.5287 69.6744 31.9657 69.6744 35.0206C69.6744 38.0754 70.5215 40.5078 72.2157 42.3177C73.0507 43.2189 74.0605 43.9299 75.1797 44.4047C76.2989 44.8795 77.5027 45.1075 78.7131 45.074C79.9179 45.1103 81.1166 44.8834 82.2297 44.4083C83.3428 43.9332 84.3451 43.2206 85.1703 42.3177Z"}),F.jsx("path",{d:"M187.827 5.54621e-10H197.565C197.787 5.54621e-10 197.999 0.0853594 198.156 0.2373C198.313 0.389241 198.401 0.595316 198.401 0.810193V52.8634C198.401 52.9694 198.379 53.0745 198.337 53.1724C198.295 53.2703 198.233 53.3591 198.156 53.4338C198.078 53.5085 197.986 53.5675 197.884 53.6075C197.783 53.6474 197.674 53.6675 197.565 53.6666H187.827C187.718 53.6666 187.611 53.6459 187.51 53.6055C187.41 53.5651 187.318 53.506 187.241 53.4314C187.164 53.3568 187.103 53.2682 187.062 53.1708C187.02 53.0733 186.999 52.9688 186.999 52.8634V0.810193C186.998 0.704125 187.018 0.598926 187.06 0.500669C187.101 0.402411 187.162 0.31304 187.239 0.237715C187.316 0.162389 187.407 0.102601 187.508 0.0618008C187.61 0.0210004 187.718 -3.94095e-06 187.827 5.54621e-10V5.54621e-10Z"}),F.jsx("path",{d:"M138.924 25.2187C137.26 22.3784 134.865 20.0701 132.005 18.5505C129.42 17.1729 126.578 16.3842 123.671 16.2378C123.128 16.1962 122.591 16.1408 122.027 16.1408C121.464 16.1408 120.927 16.1962 120.377 16.2378C117.94 16.3776 115.546 16.9589 113.304 17.955V0.810156C113.306 0.599481 113.227 0.396499 113.085 0.244956C112.944 0.0934118 112.75 0.00544026 112.546 0L103.406 0C103.198 0 102.998 0.0853555 102.851 0.237289C102.704 0.389223 102.621 0.59529 102.621 0.810156V52.861C102.623 53.0746 102.706 53.2789 102.853 53.4294C103 53.5798 103.199 53.6642 103.406 53.6642H112.546C112.752 53.6642 112.95 53.5796 113.096 53.4289C113.242 53.2783 113.324 53.074 113.324 52.861V51.8569C116.078 53.0793 119.049 53.6948 122.047 53.6642C125.51 53.718 128.931 52.8854 132.005 51.2407C134.853 49.7142 137.238 47.4069 138.897 44.5725C140.579 41.6406 141.441 38.285 141.386 34.8783C141.443 31.4859 140.591 28.1433 138.924 25.2187ZM128.523 42.2389C127.695 43.1457 126.691 43.8613 125.576 44.3387C124.461 44.8161 123.261 45.0445 122.054 45.0087C120.843 45.0424 119.638 44.8132 118.518 44.3361C117.398 43.859 116.387 43.1445 115.552 42.2389C114.427 40.9975 113.659 39.4587 113.331 37.7935C112.883 35.8844 112.883 33.8929 113.331 31.9839C113.659 30.3207 114.428 28.7842 115.552 27.5453C116.387 26.6387 117.397 25.9235 118.517 25.4463C119.638 24.9691 120.843 24.7406 122.054 24.7756C123.261 24.7385 124.462 24.9662 125.577 25.4437C126.692 25.9211 127.696 26.6375 128.523 27.5453C130.205 29.3918 131.046 31.8408 131.046 34.8921C131.046 37.9435 130.205 40.3924 128.523 42.2389Z"}),F.jsx("path",{d:"M171.742 17.1428V18.1215C169.01 16.9171 166.064 16.3092 163.092 16.3365C159.615 16.2772 156.179 17.1011 153.087 18.7349C150.224 20.2425 147.828 22.541 146.166 25.3719C144.48 28.2882 143.617 31.6289 143.672 35.0207C143.617 38.4125 144.48 41.7532 146.166 44.6695C147.834 47.4861 150.23 49.7718 153.087 51.2721C156.179 52.9037 159.616 53.7252 163.092 53.6636C166.064 53.693 169.009 53.0875 171.742 51.8855V52.8641C171.742 53.0762 171.824 53.2795 171.97 53.4294C172.116 53.5794 172.313 53.6636 172.52 53.6636H181.66C181.866 53.6636 182.064 53.5794 182.21 53.4294C182.355 53.2795 182.437 53.0762 182.437 52.8641V17.1428C182.437 16.9302 182.356 16.7261 182.21 16.5751C182.064 16.4241 181.866 16.3383 181.66 16.3365H172.52C172.313 16.3383 172.115 16.4241 171.969 16.5751C171.824 16.7261 171.742 16.9302 171.742 17.1428ZM169.549 42.3125C168.724 43.2155 167.722 43.9282 166.608 44.4035C165.495 44.8787 164.296 45.1056 163.092 45.0693C161.881 45.1028 160.677 44.8747 159.558 44.3998C158.439 43.9249 157.429 43.2138 156.594 42.3125C154.891 40.4746 154.039 38.0371 154.039 35C154.039 31.963 154.891 29.5255 156.594 27.6876C157.428 26.7852 158.438 26.0734 159.557 25.5984C160.677 25.1235 161.881 24.896 163.092 24.9308C164.297 24.8936 165.495 25.1201 166.609 25.5954C167.722 26.0707 168.724 26.7839 169.549 27.6876C170.66 28.9209 171.418 30.4446 171.742 32.0916C172.189 34.0033 172.189 35.9967 171.742 37.9085C171.416 39.5549 170.658 41.0781 169.549 42.3125Z"}),F.jsx("path",{d:"M41.0484 51.1316V17.1532C41.0485 16.9392 40.9619 16.7339 40.8076 16.582C40.6533 16.43 40.4437 16.3437 40.2246 16.3419H30.5438C30.3247 16.3437 30.1151 16.43 29.9608 16.582C29.8065 16.7339 29.7199 16.9392 29.7199 17.1532V18.2003C26.8101 16.9534 23.6643 16.3179 20.4866 16.335C16.8207 16.2935 13.2007 17.1342 9.9465 18.7828C6.92093 20.297 4.38759 22.6047 2.6309 25.4467C0.855237 28.3743 -0.0544231 31.7252 0.00296367 35.1271C-0.0590547 38.5392 0.853371 41.9008 2.638 44.8352C4.39099 47.6742 6.92257 49.9777 9.9465 51.4853C13.2111 53.1311 16.8413 53.9648 20.515 53.9123C23.7856 53.8752 27.015 53.196 30.0111 51.9152C30.0135 54.3789 29.0796 56.7559 27.3903 58.5861C25.6076 60.4167 24.116 61.3043 21.3318 61.3043C21.1127 61.3062 20.9031 61.3925 20.7488 61.5444C20.5945 61.6964 20.5079 61.9017 20.5079 62.1157V69.1887C20.5089 69.2968 20.5317 69.4036 20.5751 69.503C20.6185 69.6023 20.6817 69.6923 20.7609 69.7678C20.8402 69.8432 20.9339 69.9026 21.0368 69.9424C21.1397 69.9823 21.2496 70.0019 21.3603 70C24.7569 69.9521 28.0956 69.1331 31.112 67.6077C34.128 66.0809 36.6507 63.7667 38.3992 60.923C40.1863 57.9893 41.1012 54.6276 41.0413 51.2148C41.0413 51.2148 41.0484 51.1663 41.0484 51.1316ZM29.7199 37.8107C29.4003 39.553 28.5772 41.1698 27.3477 42.4706C26.475 43.379 25.4145 44.0961 24.2366 44.5742C23.0587 45.0524 21.7902 45.2808 20.515 45.2443C19.2361 45.2782 17.9641 45.0487 16.782 44.5708C15.5999 44.0929 14.5341 43.3773 13.654 42.4706C11.8594 40.6214 10.9598 38.1736 10.9551 35.1271C10.9503 32.0806 11.85 29.6328 13.654 27.7836C14.5349 26.878 15.6009 26.1631 16.7828 25.6852C17.9647 25.2074 19.2362 24.9773 20.515 25.0099C21.79 24.9747 23.0581 25.2037 24.2358 25.6818C25.4136 26.1599 26.4741 26.8762 27.3477 27.7836C28.5734 29.0842 29.396 30.6977 29.7199 32.4366C30.1081 34.2079 30.1081 36.0394 29.7199 37.8107Z"}),F.jsx("path",{d:"M257.684 51.0999V22.5384C257.684 22.4311 257.662 22.3248 257.621 22.2258C257.579 22.1267 257.519 22.0368 257.442 21.9613C257.366 21.8857 257.275 21.826 257.175 21.7856C257.076 21.7451 256.969 21.7248 256.861 21.7257H247.366C247.26 21.7257 247.154 21.7468 247.055 21.7877C246.957 21.8286 246.867 21.8886 246.792 21.9642C246.717 22.0397 246.658 22.1294 246.617 22.2279C246.577 22.3265 246.557 22.432 246.558 22.5384V45.1542C246.119 45.1542 245.861 45.1542 245.77 45.1542C242.793 44.7444 241.385 43.9943 239.775 42.3759C238.165 40.7575 237.628 38.4445 237.502 35.6939V27.6089C237.504 27.5002 237.483 27.3924 237.441 27.2921C237.399 27.1918 237.337 27.101 237.258 27.0254L231.863 21.816L226.614 16.4468C226.539 16.3683 226.449 16.3057 226.35 16.2627C226.251 16.2198 226.143 16.1973 226.035 16.1968H217.572C217.752 14.438 218.484 12.7805 219.663 11.4597C220.413 10.6232 221.327 9.94923 222.348 9.47962C223.37 9.01002 224.478 8.75484 225.603 8.72994C225.812 8.72104 226.009 8.63245 226.155 8.48249C226.3 8.33253 226.382 8.13267 226.384 7.92422V0.700484C226.386 0.537006 226.331 0.377718 226.228 0.250664C226.125 0.123609 225.98 0.0369334 225.819 0.00589429H225.672C225.612 -0.00196476 225.551 -0.00196476 225.491 0.00589429C222.189 0.0700753 218.946 0.887465 216.011 2.39528C213.404 3.73607 211.166 5.69354 209.495 8.09612C207.824 10.4987 206.77 13.273 206.425 16.1759H201.49C201.275 16.1778 201.069 16.2642 200.918 16.4164C200.766 16.5686 200.681 16.7743 200.681 16.9886V26.4767C200.681 26.5825 200.702 26.6873 200.743 26.7851C200.783 26.8828 200.843 26.9716 200.918 27.0465C200.993 27.1213 201.082 27.1806 201.18 27.2211C201.278 27.2616 201.384 27.2824 201.49 27.2824H206.265V53.0309C206.265 53.1373 206.286 53.2426 206.327 53.3408C206.368 53.439 206.428 53.5282 206.504 53.6031C206.58 53.678 206.67 53.7372 206.769 53.7773C206.868 53.8174 206.974 53.8375 207.081 53.8366H216.575C216.682 53.8375 216.788 53.8174 216.887 53.7773C216.986 53.7372 217.076 53.678 217.152 53.6031C217.227 53.5282 217.288 53.439 217.329 53.3408C217.37 53.2426 217.391 53.1373 217.391 53.0309V27.2824H226.384V34.9229C226.384 34.9229 226.384 34.9785 226.384 35.0132C226.326 38.4315 227.224 41.7984 228.977 44.7375C230.694 47.5755 233.168 49.8836 236.122 51.4056C239.096 52.9517 242.389 53.791 245.742 53.8575H246.572C246.311 55.6236 245.496 57.2623 244.243 58.539C242.494 60.3727 241.079 61.3173 238.36 61.3173C238.252 61.3164 238.145 61.3368 238.046 61.3772C237.946 61.4176 237.855 61.4774 237.779 61.5529C237.702 61.6285 237.641 61.7184 237.6 61.8174C237.559 61.9165 237.537 62.0227 237.537 62.13V69.194C237.536 69.3013 237.557 69.4076 237.598 69.5067C237.639 69.6058 237.7 69.6956 237.777 69.7708C237.854 69.846 237.945 69.9051 238.045 69.9444C238.145 69.9837 238.252 70.0025 238.36 69.9997C241.685 69.94 244.949 69.1025 247.889 67.5548C250.862 66.0456 253.358 63.7446 255.097 60.9075C256.847 57.9672 257.745 54.6012 257.691 51.1833C257.691 51.1833 257.684 51.1347 257.684 51.0999Z"})]})}function Td(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=Td(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function Dd(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=Td(e))&&(r&&(r+=" "),r+=t);return r}const vn=(...e)=>Sd(Dd(e)),Nd=({children:e,className:t,font:n="satoshi",weight:r="regular",...o})=>{const a=ye({variants:{font:{satoshi:"font-satoshi",livvic:"font-livvic"},weight:{light:"font-light",regular:"font-normal",medium:"font-medium",semibold:"font-semibold",bold:"font-bold",black:"font-black"}}});return F.jsx("p",{...o,className:vn(t,a({font:n,weight:r})),children:e})},Av={bra:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzgiIGhlaWdodD0iMzciIHZpZXdCb3g9IjAgMCAzOCAzNyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iMTguNTA5OSIgY3k9IjE4LjUwMzMiIHI9IjE4LjUwMzMiIGZpbGw9IndoaXRlIi8+CjxwYXRoIGQ9Ik0xOC41MSAzNS4xODY1QzI3LjcyMzkgMzUuMTg2NSAzNS4xOTMzIDI3LjcxNzEgMzUuMTkzMyAxOC41MDMyQzM1LjE5MzMgOS4yODkyMSAyNy43MjM5IDEuODE5ODIgMTguNTEgMS44MTk4MkM5LjI5NjA0IDEuODE5ODIgMS44MjY2NiA5LjI4OTIxIDEuODI2NjYgMTguNTAzMkMxLjgyNjY2IDI3LjcxNzEgOS4yOTYwNCAzNS4xODY1IDE4LjUxIDM1LjE4NjVaIiBmaWxsPSIjMEI5RjU5Ii8+CjxwYXRoIGQ9Ik0xOC41MTAxIDguMzQ4MjhMMzIuMjkyIDE4LjUwMzNMMTguNTEwMSAyOC42NTg0TDQuNzI4MjQgMTguNTAzM0wxOC41MTAxIDguMzQ4MjhaIiBmaWxsPSIjRkZEQTQ0Ii8+CjxwYXRoIGQ9Ik0xOC41MDk5IDI0LjMwNjJDMjEuNzE0OCAyNC4zMDYyIDI0LjMxMjggMjEuNzA4MSAyNC4zMTI4IDE4LjUwMzNDMjQuMzEyOCAxNS4yOTg1IDIxLjcxNDggMTIuNzAwNCAxOC41MDk5IDEyLjcwMDRDMTUuMzA1MSAxMi43MDA0IDEyLjcwNyAxNS4yOTg1IDEyLjcwNyAxOC41MDMzQzEyLjcwNyAyMS43MDgxIDE1LjMwNTEgMjQuMzA2MiAxOC41MDk5IDI0LjMwNjJaIiBmaWxsPSIjRjBGMEYwIi8+CjxwYXRoIGQ9Ik0xNS42MDgzIDE4LjEzOTdDMTQuNTk5MiAxOC4xMzk3IDEzLjYyNTQgMTguMjkzMSAxMi43MDg3IDE4LjU3NzlDMTIuNzQ5MyAyMS43NDc4IDE1LjMzMDMgMjQuMzA1MyAxOC41MDk4IDI0LjMwNTNDMjAuNDc1OCAyNC4zMDUzIDIyLjIxMjIgMjMuMzI2NiAyMy4yNjE4IDIxLjgzMDlDMjEuNDY2IDE5LjU4MjggMTguNzAyNyAxOC4xMzk3IDE1LjYwODMgMTguMTM5N1oiIGZpbGw9IiMwMDUyQjQiLz4KPHBhdGggZD0iTTI0LjIwNTEgMTkuNjE0MkMyNC4yNzUgMTkuMjU0MiAyNC4zMTI3IDE4Ljg4MjggMjQuMzEyNyAxOC41MDI1QzI0LjMxMjcgMTUuMjk3NiAyMS43MTQ3IDEyLjY5OTYgMTguNTA5OSAxMi42OTk2QzE2LjExODUgMTIuNjk5NiAxNC4wNjU3IDE0LjE0NjQgMTMuMTc3MyAxNi4yMTIxQzEzLjk2MjYgMTYuMDQ5NCAxNC43NzU3IDE1Ljk2MzcgMTUuNjA4NSAxNS45NjM3QzE4Ljk3ODggMTUuOTYzNyAyMi4wMjc4IDE3LjM2NDcgMjQuMjA1MSAxOS42MTQyWiIgZmlsbD0iIzAwNTJCNCIvPgo8L3N2Zz4K",esp:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzgiIGhlaWdodD0iMzciIHZpZXdCb3g9IjAgMCAzOCAzNyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iMTguNTE2OCIgY3k9IjE4LjUwMzMiIHI9IjE4LjUwMzMiIGZpbGw9IndoaXRlIi8+CjxwYXRoIGQ9Ik0xLjgzMzUgMTguNTAyN0MxLjgzMzUgMjAuNTQzNCAyLjIwMDU5IDIyLjQ5ODIgMi44NzExOSAyNC4zMDU2TDE4LjUxNjggMjUuNzU2M0wzNC4xNjI1IDI0LjMwNTZDMzQuODMzMSAyMi40OTgyIDM1LjIwMDIgMjAuNTQzNCAzNS4yMDAyIDE4LjUwMjdDMzUuMjAwMiAxNi40NjIgMzQuODMzMSAxNC41MDcyIDM0LjE2MjUgMTIuNjk5OEwxOC41MTY4IDExLjI0OTFMMi44NzExOSAxMi42OTk4QzIuMjAwNTkgMTQuNTA3MiAxLjgzMzUgMTYuNDYyIDEuODMzNSAxOC41MDI3WiIgZmlsbD0iI0ZGREE0NCIvPgo8cGF0aCBkPSJNMzQuMTYyOCAxMi43MDAzQzMxLjgwNTUgNi4zNDczNSAyNS42OTA0IDEuODE5ODIgMTguNTE3MSAxLjgxOTgyQzExLjM0MzkgMS44MTk4MiA1LjIyODcgNi4zNDczNSAyLjg3MTQ2IDEyLjcwMDNIMzQuMTYyOFoiIGZpbGw9IiNEODAwMjciLz4KPHBhdGggZD0iTTIuODcxMTkgMjQuMzA1NkM1LjIyODQyIDMwLjY1ODYgMTEuMzQzOSAzNS4xODY1IDE4LjUxNzEgMzUuMTg2NUMyNS42OTA0IDM1LjE4NjUgMzEuODA1MiAzMC42NTg2IDM0LjE2MjUgMjQuMzA1NkgyLjg3MTE5WiIgZmlsbD0iI0Q4MDAyNyIvPgo8L3N2Zz4K",usa:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzciIGhlaWdodD0iMzciIHZpZXdCb3g9IjAgMCAzNyAzNyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iMTguNTAzMyIgY3k9IjE4LjUwMzMiIHI9IjE4LjUwMzMiIGZpbGw9IndoaXRlIi8+CjxwYXRoIGQ9Ik0xOC41MDM0IDM1LjE4NjVDMjcuNzE3NCAzNS4xODY1IDM1LjE4NjcgMjcuNzE3MSAzNS4xODY3IDE4LjUwMzJDMzUuMTg2NyA5LjI4OTIxIDI3LjcxNzQgMS44MTk4MiAxOC41MDM0IDEuODE5ODJDOS4yODk0NSAxLjgxOTgyIDEuODIwMDcgOS4yODkyMSAxLjgyMDA3IDE4LjUwMzJDMS44MjAwNyAyNy43MTcxIDkuMjg5NDUgMzUuMTg2NSAxOC41MDM0IDM1LjE4NjVaIiBmaWxsPSIjRjBGMEYwIi8+CjxwYXRoIGQ9Ik0xNy43Nzc5IDE4LjUwMzdIMzUuMTg2NkMzNS4xODY2IDE2Ljk5NzggMzQuOTg1OCAxNS41MzkxIDM0LjYxMTggMTQuMTUxNUgxNy43Nzc5VjE4LjUwMzdaIiBmaWxsPSIjRDgwMDI3Ii8+CjxwYXRoIGQ9Ik0xNy43Nzc5IDkuNzk5MzRIMzIuNzM3OUMzMS43MTY2IDguMTMyODMgMzAuNDEwOCA2LjY1OTgxIDI4Ljg4ODMgNS40NDcxNEgxNy43Nzc5VjkuNzk5MzRaIiBmaWxsPSIjRDgwMDI3Ii8+CjxwYXRoIGQ9Ik0xOC41MDM0IDM1LjE4NjVDMjIuNDI5OCAzNS4xODY1IDI2LjAzODQgMzMuODI5OCAyOC44ODgyIDMxLjU2MDFIOC4xMTc5OUMxMC45Njc4IDMzLjgyOTggMTQuNTc3IDM1LjE4NjUgMTguNTAzNCAzNS4xODY1WiIgZmlsbD0iI0Q4MDAyNyIvPgo8cGF0aCBkPSJNNC4yNjg1NyAyNy4yMDhIMzIuNzM3OUMzMy41NTc4IDI1Ljg3MDEgMzQuMTkzNiAyNC40MDc3IDM0LjYxMTggMjIuODU1OEgyLjM5NDYzQzIuODEyODIgMjQuNDA3NyAzLjQ0ODY3IDI1Ljg3MDEgNC4yNjg1NyAyNy4yMDhaIiBmaWxsPSIjRDgwMDI3Ii8+CjxwYXRoIGQ9Ik05LjU0ODEgNC40MjUxNkgxMS4wNjg0TDkuNjU0MjYgNS40NTI1NUwxMC4xOTQ0IDcuMTE0OTZMOC43ODAzNCA2LjA4NzU2TDcuMzY2MjMgNy4xMTQ5Nkw3LjgzMjg1IDUuNjc4ODJDNi41ODc3MiA2LjcxNTk5IDUuNDk2NCA3LjkzMTE0IDQuNTk3MDYgOS4yODUwOUg1LjA4NDJMNC4xODQwMiA5LjkzOTA3QzQuMDQzNzcgMTAuMTczIDMuOTA5MjYgMTAuNDEwNyAzLjc4MDM2IDEwLjY1MTlMNC4yMTAyMiAxMS45NzQ5TDMuNDA4MjQgMTEuMzkyMkMzLjIwODg5IDExLjgxNDYgMy4wMjY1NSAxMi4yNDY1IDIuODYyNjUgMTIuNjg3M0wzLjMzNjIzIDE0LjE0NUg1LjA4NDJMMy42NzAwMyAxNS4xNzI0TDQuMjEwMjIgMTYuODM0OEwyLjc5NjExIDE1LjgwNzRMMS45NDkwNCAxNi40MjI5QzEuODY0MjUgMTcuMTA0NCAxLjgyMDA3IDE3Ljc5ODYgMS44MjAwNyAxOC41MDMySDE4LjUwMzRDMTguNTAzNCA5LjI4OTI3IDE4LjUwMzQgOC4yMDMwMiAxOC41MDM0IDEuODE5ODJDMTUuMjA3NyAxLjgxOTgyIDEyLjEzNTQgMi43NzU4NiA5LjU0ODEgNC40MjUxNlpNMTAuMTk0NCAxNi44MzQ4TDguNzgwMzQgMTUuODA3NEw3LjM2NjIzIDE2LjgzNDhMNy45MDY0MiAxNS4xNzI0TDYuNDkyMjUgMTQuMTQ1SDguMjQwMjJMOC43ODAzNCAxMi40ODI2TDkuMzIwNDYgMTQuMTQ1SDExLjA2ODRMOS42NTQyNiAxNS4xNzI0TDEwLjE5NDQgMTYuODM0OFpNOS42NTQyNiAxMC4zMTI1TDEwLjE5NDQgMTEuOTc0OUw4Ljc4MDM0IDEwLjk0NzVMNy4zNjYyMyAxMS45NzQ5TDcuOTA2NDIgMTAuMzEyNUw2LjQ5MjI1IDkuMjg1MDlIOC4yNDAyMkw4Ljc4MDM0IDcuNjIyNjlMOS4zMjA0NiA5LjI4NTA5SDExLjA2ODRMOS42NTQyNiAxMC4zMTI1Wk0xNi4xNzg3IDE2LjgzNDhMMTQuNzY0NiAxNS44MDc0TDEzLjM1MDUgMTYuODM0OEwxMy44OTA3IDE1LjE3MjRMMTIuNDc2NSAxNC4xNDVIMTQuMjI0NUwxNC43NjQ2IDEyLjQ4MjZMMTUuMzA0NyAxNC4xNDVIMTcuMDUyN0wxNS42Mzg1IDE1LjE3MjRMMTYuMTc4NyAxNi44MzQ4Wk0xNS42Mzg1IDEwLjMxMjVMMTYuMTc4NyAxMS45NzQ5TDE0Ljc2NDYgMTAuOTQ3NUwxMy4zNTA1IDExLjk3NDlMMTMuODkwNyAxMC4zMTI1TDEyLjQ3NjUgOS4yODUwOUgxNC4yMjQ1TDE0Ljc2NDYgNy42MjI2OUwxNS4zMDQ3IDkuMjg1MDlIMTcuMDUyN0wxNS42Mzg1IDEwLjMxMjVaTTE1LjYzODUgNS40NTI1NUwxNi4xNzg3IDcuMTE0OTZMMTQuNzY0NiA2LjA4NzU2TDEzLjM1MDUgNy4xMTQ5NkwxMy44OTA3IDUuNDUyNTVMMTIuNDc2NSA0LjQyNTE2SDE0LjIyNDVMMTQuNzY0NiAyLjc2Mjc2TDE1LjMwNDcgNC40MjUxNkgxNy4wNTI3TDE1LjYzODUgNS40NTI1NVoiIGZpbGw9IiMwMDUyQjQiLz4KPC9zdmc+Cg=="},Tv=({shadow:e,country:t,className:n,...r})=>{const o=ye({base:"rounded-full",variants:{shadow:{true:"shadow-[4px_4px_6px_0px_rgba(0,0,0,0.17)]",false:""}}}),a=Av[t];return F.jsx("img",{...r,src:a,alt:`${t} flag`,className:vn(n,o({shadow:e}))})},cD="",rt=({name:e,className:t,...n})=>F.jsx("span",{...n,className:`icon-${e} ${t??""}`});({IcoMoonType:"selection",icons:[{icon:{paths:["M695.177 547.182c48.599-38.234 84.074-90.672 101.482-150.006 17.414-59.336 15.898-122.624-4.332-181.059-20.236-58.435-58.178-109.11-108.546-144.977-50.375-35.867-110.679-55.141-172.514-55.141-61.842 0-122.139 19.273-172.514 55.141s-88.316 86.542-108.547 144.977c-20.233 58.435-21.747 121.723-4.335 181.059 17.411 59.334 52.885 111.77 101.483 150.006-83.277 33.367-155.938 88.703-210.238 160.112-54.3 71.413-88.203 156.219-98.097 245.383-0.715 6.509-0.144 13.098 1.687 19.387 1.829 6.286 4.879 12.155 8.977 17.262 8.274 10.321 20.307 16.934 33.454 18.377 13.147 1.448 26.329-2.389 36.649-10.663s16.929-20.309 18.376-33.455c10.884-96.902 57.090-186.399 129.789-251.386s166.794-100.912 264.305-100.912c97.512 0 191.604 35.926 264.305 100.912 72.696 64.989 118.901 154.483 129.789 251.386 1.348 12.18 7.159 23.433 16.315 31.578 9.156 8.15 21.003 12.617 33.258 12.543h5.452c12.992-1.492 24.87-8.066 33.039-18.276 8.174-10.217 11.976-23.243 10.583-36.251-9.94-89.417-44.024-174.441-98.609-245.963-54.579-71.52-127.592-126.838-211.213-160.027zM511.266 511.984c-39.215 0-77.554-11.629-110.162-33.417s-58.021-52.754-73.030-88.989c-15.007-36.232-18.935-76.102-11.284-114.564s26.536-73.795 54.267-101.525c27.731-27.731 63.062-46.616 101.525-54.267s78.334-3.724 114.564 11.284c36.232 15.007 67.199 40.422 88.991 73.030 21.787 32.608 33.417 70.945 33.417 110.161 0 52.59-20.89 103.022-58.077 140.213-37.183 37.183-87.617 58.072-140.208 58.072z"],attrs:[],isMulticolor:!1,isMulticolor2:!1,grid:0,tags:["user"],colorPermutations:{}},attrs:[],properties:{order:37,id:23,name:"user",prevSize:32,code:59658},setIdx:0,setId:3,iconIdx:0},{icon:{paths:["M526.086 521.84c23.866-20.659 43.009-46.207 56.127-74.918 13.118-28.707 19.908-59.901 19.908-91.464 0-59.31-23.562-116.193-65.502-158.13-41.936-41.938-98.819-65.501-158.129-65.501s-116.193 23.561-158.13 65.501c-41.938 41.938-65.501 98.822-65.501 158.13 0 31.564 6.789 62.757 19.909 91.464 13.119 28.71 32.26 54.257 56.126 74.918-62.61 28.351-115.731 74.134-153.010 131.876-37.28 57.747-57.139 125.002-57.204 193.732 0 11.86 4.712 23.24 13.1 31.626s19.764 13.1 31.626 13.1c11.861 0 23.238-4.714 31.626-13.1s13.1-19.764 13.1-31.626c0-71.172 28.273-139.43 78.601-189.756 50.327-50.331 118.586-78.602 189.757-78.602s139.43 28.272 189.756 78.602c50.331 50.327 78.602 118.583 78.602 189.756 0 11.86 4.714 23.24 13.1 31.626s19.764 13.1 31.626 13.1c11.86 0 23.24-4.714 31.626-13.1s13.1-19.764 13.1-31.626c-0.068-68.732-19.926-135.985-57.205-193.732-37.281-57.742-90.397-103.524-153.009-131.876zM378.488 489.638c-26.539 0-52.48-7.866-74.545-22.613-22.067-14.742-39.265-35.702-49.42-60.217-10.155-24.518-12.812-51.497-7.635-77.526s17.957-49.936 36.722-68.701c18.765-18.765 42.674-31.544 68.701-36.722s53.008-2.52 77.528 7.635c24.515 10.155 45.473 27.353 60.215 49.42 14.747 22.067 22.613 48.008 22.613 74.545 0 35.586-14.138 69.715-39.301 94.877s-59.291 39.301-94.877 39.301zM814.122 503.948c28.626-32.235 47.32-72.050 53.841-114.663 6.522-42.611 0.587-86.199-17.085-125.518-17.676-39.318-46.337-72.689-82.533-96.099-36.201-23.407-78.391-35.855-121.498-35.845-11.86 0-23.24 4.712-31.626 13.1s-13.1 19.764-13.1 31.626c0 11.861 4.714 23.238 13.1 31.626s19.764 13.1 31.626 13.1c35.584 0 69.715 14.138 94.877 39.3s39.301 59.292 39.301 94.878c-0.064 23.492-6.294 46.555-18.065 66.886-11.776 20.327-28.679 37.212-49.024 48.957-6.632 3.825-12.171 9.291-16.085 15.864-3.919 6.58-6.078 14.053-6.279 21.705-0.188 7.594 1.561 15.109 5.085 21.839 3.52 6.726 8.694 12.451 15.041 16.624l17.443 11.628 5.815 3.131c53.914 25.571 99.394 66.016 131.092 116.57 31.693 50.554 48.282 109.115 47.813 168.783 0 11.86 4.714 23.24 13.1 31.626s19.764 13.1 31.626 13.1c11.86 0 23.24-4.714 31.626-13.1s13.1-19.764 13.1-31.626c0.366-68.637-16.826-136.222-49.936-196.343-33.115-60.122-81.053-110.779-139.256-147.154z"],attrs:[],isMulticolor:!1,isMulticolor2:!1,grid:0,tags:["users"],colorPermutations:{}},attrs:[],properties:{order:38,id:22,name:"users",prevSize:32,code:59666},setIdx:0,setId:3,iconIdx:1},{icon:{paths:["M857.957 264.888h-49.422v-49.422c0-39.324-15.622-77.034-43.427-104.84s-65.52-43.426-104.839-43.426h-494.223c-39.324 0-77.034 15.621-104.84 43.426s-43.426 65.518-43.426 104.84v593.066c0 39.321 15.621 77.034 43.426 104.839s65.518 43.427 104.84 43.427h691.912c39.321 0 77.034-15.622 104.839-43.427s43.427-65.52 43.427-104.839v-395.378c0-39.324-15.622-77.034-43.427-104.84s-65.52-43.426-104.839-43.426zM166.044 166.043h494.223c13.106 0 25.68 5.206 34.946 14.476s14.476 21.839 14.476 34.946v49.422h-543.644c-13.107 0-25.678-5.206-34.946-14.476s-14.476-21.839-14.476-34.946c0-13.107 5.206-25.678 14.476-34.946s21.839-14.476 34.946-14.476zM907.378 660.266h-49.422c-13.106 0-25.68-5.208-34.946-14.476s-14.476-21.839-14.476-34.946c0-13.106 5.208-25.68 14.476-34.946s21.839-14.476 34.946-14.476h49.422v98.844zM907.378 462.578h-49.422c-39.321 0-77.034 15.622-104.839 43.427s-43.427 65.52-43.427 104.839c0 39.321 15.622 77.034 43.427 104.839s65.52 43.427 104.839 43.427h49.422v49.422c0 13.106-5.208 25.68-14.476 34.946s-21.839 14.476-34.946 14.476h-691.912c-13.107 0-25.678-5.208-34.946-14.476s-14.476-21.839-14.476-34.946v-453.202c15.878 5.586 32.591 8.426 49.422 8.402h691.912c13.106 0 25.68 5.206 34.946 14.476s14.476 21.839 14.476 34.946v49.422z"],attrs:[],isMulticolor:!1,isMulticolor2:!1,grid:0,tags:["wallet"],colorPermutations:{}},attrs:[],properties:{order:39,id:21,name:"wallet",prevSize:32,code:59667},setIdx:0,setId:3,iconIdx:2},{icon:{paths:["M979.553 176.238c-6.483-6.535-14.195-11.724-22.693-15.262-8.5-3.542-17.616-5.365-26.818-5.365s-18.319 1.823-26.818 5.365c-8.5 3.542-16.213 8.727-22.693 15.262l-519.504 520.201-218.263-218.958c-6.732-6.501-14.678-11.612-23.382-15.044s-18.004-5.113-27.36-4.952c-9.357 0.159-18.592 2.163-27.172 5.897s-16.347 9.112-22.848 15.844c-6.501 6.73-11.612 14.677-15.043 23.382s-5.114 18.004-4.952 27.36c0.161 9.357 2.163 18.592 5.897 27.172s9.112 16.345 15.843 22.848l267.77 267.773c6.482 6.532 14.193 11.722 22.694 15.263 8.496 3.537 17.613 5.365 26.817 5.365s18.319-1.827 26.816-5.365c8.496-3.542 16.209-8.731 22.695-15.263l569.013-569.015c7.078-6.528 12.724-14.456 16.591-23.277s5.858-18.347 5.858-27.977c0-9.63-1.992-19.156-5.858-27.977s-9.511-16.746-16.591-23.277z"],attrs:[],isMulticolor:!1,isMulticolor2:!1,grid:0,tags:["check"],colorPermutations:{}},attrs:[],properties:{order:40,id:20,name:"check",prevSize:32,code:59668},setIdx:0,setId:3,iconIdx:3},{icon:{paths:["M441.48 33.984c-101.267 0-181.649 77.289-195.622 175.411-0.576-0.148-1.357-0.3-2.151-0.42l-0.154-0.021h-197.93c-15.529 0-28.116 12.587-28.116 28.116v0c0 15.529 12.587 28.116 28.116 28.116v0h197.93c0.934-0.329 1.661-0.627 2.37-0.951l-0.175 0.073c13.778 98.344 94.31 175.852 195.731 175.852 111.011 0 201.335-91.419 201.335-203.090s-90.322-203.090-201.335-203.090zM441.48 90.222c80.312 0 145.098 65.272 145.098 146.854s-64.786 146.854-145.098 146.854c-80.312 0-144.989-65.272-144.989-146.854s64.676-146.854 144.989-146.854zM738.484 208.958c-15.529 0-28.116 12.587-28.116 28.116v0c0 15.529 12.587 28.116 28.116 28.116v0h296.892c15.529 0 28.116-12.587 28.116-28.116v0c0-15.529-12.587-28.116-28.116-28.116v0zM639.522 583.838c-111.010 0-201.335 91.42-201.335 203.090s90.323 203.090 201.335 203.090c101.43 0 182.067-77.505 195.841-175.852 0.506 0.249 1.192 0.546 1.892 0.813l0.193 0.065h197.93c15.529 0 28.116-12.587 28.116-28.116v0c0-15.529-12.587-28.116-28.116-28.116v0h-197.93c-0.895 0.332-1.583 0.628-2.254 0.952l0.169-0.074c-13.773-98.346-94.413-175.852-195.841-175.852zM639.522 640.076c80.317 0 145.098 65.272 145.098 146.854s-64.783 146.854-145.098 146.854c-80.31 0-145.098-65.273-145.098-146.854s64.788-146.854 145.098-146.854zM45.622 758.808c-15.529 0-28.116 12.587-28.116 28.116v0c0 15.529 12.587 28.116 28.116 28.116v0h296.892c15.529 0 28.116-12.587 28.116-28.116v0c0-15.529-12.587-28.116-28.116-28.116v0z"],width:1081,attrs:[],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{},tags:["filters"],grid:0},attrs:[],properties:{order:36,id:0,name:"filters",prevSize:32,code:59665},setIdx:0,setId:3,iconIdx:4},{icon:{paths:["M221.91 16c-48.472 0-91.817 15.678-120.059 48.704s-39.686 78.531-39.686 132.284v742.129h-11.959c-18.891 0-34.206 15.315-34.206 34.206v0c0 18.891 15.315 34.206 34.206 34.206v0h787.294c0.153 0.078 0.527 0.235 0.904 0.387l0.23 0.082c0.608-0.232 0.983-0.39 1.354-0.554l-0.218 0.087h134.021c18.891 0 34.206-15.315 34.206-34.206v0c0-18.891-15.315-34.206-34.206-34.206v0h-100.951v-155.067c54.54-16.957 93.201-70.819 93.201-133.487v-110.371c0-75.121-54.176-141.17-126.606-141.17s-126.539 66.049-126.539 141.17v110.371c0 62.051 37.857 115.532 91.531 133.085v155.467h-161.681v-742.129c0-53.703-11.226-99.158-39.351-132.217s-71.454-48.771-119.925-48.771zM221.91 84.415h261.562c35.068 0 54.273 8.805 67.812 24.719s23.049 43.854 23.049 87.856v742.129h-185.533v-148.119c0-18.891-15.315-34.206-34.206-34.206v0c-18.891 0-34.206 15.315-34.206 34.206v0 148.119h-189.809v-742.129c0-43.953 9.613-71.84 23.25-87.789s33.010-24.786 68.080-24.786zM251.707 270.748c-18.891 0-34.206 15.315-34.206 34.206v0c0 18.891 15.315 34.206 34.206 34.206v0h207.848c18.891 0 34.206-15.315 34.206-34.206v0c0-18.891-15.315-34.206-34.206-34.206v0zM251.707 453.007c-18.891 0-34.206 15.315-34.206 34.206v0c0 18.891 15.315 34.206 34.206 34.206v0h207.848c18.891 0 34.206-15.315 34.206-34.206v0c0-18.891-15.315-34.206-34.206-34.206v0zM839.438 467.438c30.006 0 58.191 29.277 58.191 72.757v110.371c0 43.236-27.909 72.162-57.724 72.49-0.193-0.054-0.622-0.148-1.053-0.231l-0.217-0.034c-0.010 0-0.023 0-0.033 0s-0.025 0-0.035 0h0.002c-29.634-0.633-57.257-29.219-57.257-72.222v-110.371c0-43.481 28.118-72.757 58.125-72.757z"],attrs:[],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[],"125525525513463581":[]},tags:["building"],grid:0},attrs:[],properties:{order:32,id:1,name:"building",prevSize:32,code:59661},setIdx:0,setId:3,iconIdx:5},{icon:{paths:["M474.119 16c-80.744 0-133.002 18.798-160.546 57.657s-25.188 83.466-25.188 124.335v2.74h-13.162c-106.295 0-176.908 24.402-217.869 71.889s-45.635 110.102-38.75 170.768l35.477 368.794c0.042 0.341 0.067 0.5 0.092 0.658l-0.025-0.191c5.325 48.463 18.348 100.416 60.797 138.23s108.001 57.124 207.647 57.124h378.814c99.646 0 165.199-19.309 207.647-57.124s55.471-89.767 60.797-138.23c0 0.034 0.025-0.125 0.046-0.284l0.022-0.183 32.737-340.466 0.069-0.134c0-0.039 0-0.087 0-0.134s0-0.093 0-0.141v0.007l2.673-27.928c6.881-60.667 2.208-123.284-38.753-170.769s-111.574-71.889-217.869-71.889h-13.162v-2.74c0-40.869 2.356-85.474-25.188-124.335s-79.802-57.657-160.546-57.657zM474.119 84.415h75.763c70.807 0 94.347 14.202 104.691 28.796s12.626 43.914 12.626 84.783v2.74h-310.402v-2.74c0-40.869 2.283-70.189 12.626-84.783s33.884-28.796 104.691-28.796zM275.224 269.144h473.552c95.931 0 143.050 21.538 166.023 48.17s28.485 66.309 22.582 118.322c-0.009 0.036-0.032 0.243-0.055 0.451l-0.014 0.152-0.802 8.418c-90.418 61.486-191.449 98.993-295.569 117.186v-3.675c0-11.545 0.127-20.64-1.003-30.533-1.127-9.891-4.112-23.496-15.232-34.34s-24.375-13.492-34.271-14.565-19.227-0.936-31.067-0.936h-94.737c-11.84 0-21.171-0.137-31.067 0.935s-23.153 3.721-34.273 14.564c-11.122 10.844-14.105 24.449-15.232 34.34s-1.003 18.988-1.003 30.533v4.743c-103.328-16.824-204.524-52.276-294.967-112.376l-1.402-14.297c-0.034-0.355-0.058-0.562-0.084-0.768l0.017 0.166c-5.903-52.012-0.393-91.688 22.582-118.322s70.092-48.17 166.023-48.17zM928.696 525.763l-26.858 279.869v-0.467c-4.62 42.048-13.6 72.616-38.283 94.603s-71.408 39.819-162.149 39.819h-378.814c-90.739 0-137.466-17.83-162.149-39.819s-33.662-52.555-38.283-94.603v0.467l-26.456-275.126c90.546 52.332 187.8 87.604 288.487 102.42 0.946 18.776 3.822 38.317 17.639 57.322 20.648 28.406 58.343 40.688 110.17 40.688 52.096 0 89.971-12.499 110.505-41.088 13.846-19.276 16.588-38.976 17.438-57.858 100.973-16.032 198.085-52.864 288.755-106.229zM464.631 546.206h94.737c6.436 0 8.729 0.167 12.894 0.267 0.090 3.921 0.267 5.767 0.267 11.691v47.101c0 25.061-2.348 40.084-5.611 44.629s-12.767 12.626-54.918 12.626c-41.943 0-51.583-8.064-54.851-12.56s-5.678-19.275-5.678-44.229v-47.569c0-5.924 0.178-7.771 0.267-11.691 4.165-0.098 6.458-0.267 12.894-0.267z"],attrs:[],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[],"125525525513463581":[]},tags:["briefcase"],grid:0},attrs:[],properties:{order:33,id:2,name:"briefcase",prevSize:32,code:59662},setIdx:0,setId:3,iconIdx:6},{icon:{paths:["M482.712 22.394l-377.328 166.783c-31.614 13.974-46.767 41.583-46.767 74.318v153.774c0 42.336 32.474 80.455 76.119 80.455h7.738v255.977h-7.738c-43.641 0-76.119 38.118-76.119 80.455v104.807h-7.738c-18.865 0-34.157 15.292-34.157 34.157v0c0 18.865 15.292 34.157 34.157 34.157v0h922.239c18.865 0 34.157-15.292 34.157-34.157v0c0-18.865-15.292-34.157-34.157-34.157v0h-7.738v-104.807c0-42.335-32.478-80.455-76.119-80.455h-7.738v-255.977h7.738c43.644 0 76.119-38.121 76.119-80.455v-153.774c0-32.732-15.149-60.347-46.767-74.318l-377.328-166.783c-21.473-9.489-37.103-9.489-58.574 0zM510.266 84.905c-4.7 2.077 8.17 2.077 3.469 0l377.262 166.783c-2.269-1.003 6.071 10.263 6.071 11.809v153.774c0 8.614-5.338 12.142-7.805 12.142h-754.523c-2.467 0-7.805-3.53-7.805-12.142v-153.774c0-1.543 8.34-12.811 6.071-11.809zM512 174.698c-55.125 0-97.067 48.525-97.067 103.605s41.943 103.672 97.067 103.672c55.125 0 97.067-48.593 97.067-103.672s-41.943-103.605-97.067-103.605zM512 243.013c14.33 0 28.753 13.623 28.753 35.292s-14.423 35.359-28.753 35.359c-14.33 0-28.753-13.69-28.753-35.359s14.423-35.292 28.753-35.292zM210.791 497.723h99.403v255.977h-99.403zM378.507 497.723h99.336v255.977h-99.336zM546.157 497.723h99.336v255.977h-99.336zM713.807 497.723h99.403v255.977h-99.403zM134.738 822.016h754.523c2.47 0 7.805 3.522 7.805 12.142v104.807h-770.134v-104.807c0-8.617 5.335-12.142 7.805-12.142z"],attrs:[],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[],"125525525513463581":[]},tags:["bank"],grid:0},attrs:[],properties:{order:34,id:3,name:"bank",prevSize:32,code:59663},setIdx:0,setId:3,iconIdx:7},{icon:{paths:["M511.864 16.070c-272.629 0-495.93 223.302-495.93 495.93 0 272.626 223.302 495.93 495.93 495.93 272.631 0 496.066-223.304 496.066-495.93 0-272.629-223.435-495.93-496.066-495.93zM511.864 85.276c234.882 0 426.859 191.845 426.859 426.724s-191.977 426.724-426.859 426.724c-234.88 0-426.724-191.846-426.724-426.724s191.843-426.724 426.724-426.724z","M327.36 460.095c-28.667 0-51.905 23.238-51.905 51.905v0c0 28.667 23.238 51.905 51.905 51.905v0h369.142c28.667 0 51.905-23.238 51.905-51.905v0c0-28.667-23.238-51.905-51.905-51.905v0z","M512 275.593c-28.667 0-51.905 23.238-51.905 51.905v0 369.007c0 28.667 23.238 51.905 51.905 51.905v0c28.667 0 51.905-23.238 51.905-51.905v0-369.007c0-28.667-23.238-51.905-51.905-51.905v0z"],attrs:[],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[],"125525525513463581":[]},tags:["add-circle"],grid:0},attrs:[],properties:{order:35,id:4,name:"add-circle",prevSize:32,code:59664},setIdx:0,setId:3,iconIdx:8},{icon:{paths:["M512 810.667c8.439 0 16.687-2.5 23.706-7.189 7.014-4.689 12.484-11.354 15.714-19.149s4.075-16.375 2.428-24.653c-1.647-8.277-5.709-15.881-11.678-21.845-5.965-5.969-13.568-10.031-21.845-11.678s-16.858-0.802-24.653 2.428c-7.795 3.23-14.46 8.7-19.149 15.714-4.689 7.019-7.189 15.266-7.189 23.706 0 11.315 4.497 22.17 12.497 30.17s18.854 12.497 30.17 12.497zM725.333 810.667c8.439 0 16.687-2.5 23.706-7.189 7.014-4.689 12.484-11.354 15.714-19.149s4.075-16.375 2.428-24.653c-1.647-8.277-5.709-15.881-11.678-21.845-5.965-5.969-13.568-10.031-21.845-11.678s-16.858-0.802-24.653 2.428c-7.795 3.23-14.46 8.7-19.149 15.714-4.689 7.019-7.189 15.266-7.189 23.706 0 11.315 4.497 22.17 12.497 30.17s18.854 12.497 30.17 12.497zM725.333 640c8.439 0 16.687-2.5 23.706-7.189 7.014-4.689 12.484-11.354 15.714-19.149s4.075-16.375 2.428-24.653c-1.647-8.277-5.709-15.881-11.678-21.845-5.965-5.969-13.568-10.031-21.845-11.678s-16.858-0.802-24.653 2.428c-7.795 3.23-14.46 8.7-19.149 15.714-4.689 7.019-7.189 15.266-7.189 23.706 0 11.315 4.497 22.17 12.497 30.17s18.854 12.497 30.17 12.497zM512 640c8.439 0 16.687-2.5 23.706-7.189 7.014-4.689 12.484-11.354 15.714-19.149s4.075-16.375 2.428-24.653c-1.647-8.277-5.709-15.881-11.678-21.845-5.965-5.969-13.568-10.031-21.845-11.678s-16.858-0.802-24.653 2.428c-7.795 3.23-14.46 8.7-19.149 15.714-4.689 7.019-7.189 15.266-7.189 23.706 0 11.315 4.497 22.17 12.497 30.17s18.854 12.497 30.17 12.497zM810.667 128h-42.667v-42.667c0-11.316-4.497-22.168-12.497-30.17s-18.854-12.497-30.17-12.497c-11.315 0-22.17 4.495-30.17 12.497s-12.497 18.854-12.497 30.17v42.667h-341.333v-42.667c0-11.316-4.495-22.168-12.497-30.17s-18.854-12.497-30.17-12.497c-11.316 0-22.168 4.495-30.17 12.497s-12.497 18.854-12.497 30.17v42.667h-42.667c-33.948 0-66.505 13.486-90.51 37.49s-37.49 56.562-37.49 90.51v597.333c0 33.946 13.486 66.505 37.49 90.509s56.562 37.491 90.51 37.491h597.333c33.946 0 66.505-13.487 90.509-37.491s37.491-56.563 37.491-90.509v-597.333c0-33.948-13.487-66.505-37.491-90.51s-56.563-37.49-90.509-37.49zM853.333 853.333c0 11.315-4.497 22.17-12.497 30.17s-18.854 12.497-30.17 12.497h-597.333c-11.316 0-22.168-4.497-30.17-12.497s-12.497-18.854-12.497-30.17v-384h682.667v384zM853.333 384h-682.667v-128c0-11.316 4.495-22.168 12.497-30.17s18.854-12.497 30.17-12.497h42.667v42.667c0 11.316 4.495 22.168 12.497 30.17s18.854 12.497 30.17 12.497c11.316 0 22.168-4.495 30.17-12.497s12.497-18.854 12.497-30.17v-42.667h341.333v42.667c0 11.316 4.497 22.168 12.497 30.17s18.854 12.497 30.17 12.497c11.315 0 22.17-4.495 30.17-12.497s12.497-18.854 12.497-30.17v-42.667h42.667c11.315 0 22.17 4.495 30.17 12.497s12.497 18.854 12.497 30.17v128zM298.667 640c8.439 0 16.688-2.5 23.704-7.189s12.485-11.354 15.715-19.149c3.229-7.795 4.074-16.375 2.428-24.653s-5.71-15.881-11.677-21.845c-5.967-5.969-13.57-10.031-21.846-11.678s-16.855-0.802-24.652 2.428c-7.796 3.23-14.46 8.7-19.148 15.714-4.688 7.019-7.191 15.266-7.191 23.706 0 11.315 4.495 22.17 12.497 30.17s18.854 12.497 30.17 12.497zM298.667 810.667c8.439 0 16.688-2.5 23.704-7.189s12.485-11.354 15.715-19.149c3.229-7.795 4.074-16.375 2.428-24.653s-5.71-15.881-11.677-21.845c-5.967-5.969-13.57-10.031-21.846-11.678s-16.855-0.802-24.652 2.428c-7.796 3.23-14.46 8.7-19.148 15.714-4.688 7.019-7.191 15.266-7.191 23.706 0 11.315 4.495 22.17 12.497 30.17s18.854 12.497 30.17 12.497z"],attrs:[{}],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[],"125525525513463581":[{}]},tags:["calendar"],grid:0},attrs:[{}],properties:{order:22,id:5,name:"calendar",prevSize:32,code:59660},setIdx:0,setId:3,iconIdx:9},{icon:{paths:["M92.308 1008.001l-76.307-76.31 419.692-419.691-419.692-419.692 76.307-76.307 419.692 419.692 419.691-419.692 76.31 76.307-419.692 419.692 419.692 419.691-76.31 76.31-419.691-419.692-419.692 419.692z"],attrs:[],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[],"125525525513463581":[]},tags:["close"],grid:0},attrs:[],properties:{order:20,id:6,name:"close",prevSize:32,code:59659},setIdx:0,setId:3,iconIdx:10},{icon:{paths:["M479.562 16.805l-25.249 2.704c-85.122 9.016-168.126 42.381-241.661 97.025-27.458 20.423-75.563 68.53-96.213 96.124-112.624 150.903-131.877 345.585-50.901 514.566 24.618 51.308 53.156 91.118 96.528 134.446 43.329 43.372 83.138 71.911 134.446 96.528 168.936 80.974 363.753 61.632 514.745-51.083 27.458-20.47 75.698-68.711 96.169-96.169 134.086-179.667 134.086-418.804 0-598.47-20.47-27.413-68.666-75.61-96.033-95.944-71.911-53.472-147.656-84.537-235.214-96.44-19.071-2.616-83.365-4.78-96.62-3.292zM571.537 110.494c115.556 17.447 216.593 82.507 281.336 181.201 13.662 20.875 33.498 61.272 42.020 85.663 15.6 44.769 21.866 83.183 21.866 134.357 0 67.314-11.587 118.17-40.442 177.639-31.786 65.555-79.757 120.244-142.157 161.949-35.573 23.806-92.472 47.612-136.114 57.034-25.62 5.722-55.043 8.998-85.231 8.998-96.674 0-185.496-33.609-255.424-89.779l0.796 0.619c-68.215-54.644-119.387-134.806-139.902-219.072-8.387-34.401-11-57.348-11-97.385 0-67.314 11.587-118.17 40.442-177.639 48.209-97.574 131.699-171.591 233.4-206.28l2.851-0.844c31.786-10.504 57.348-15.69 98.288-19.928 14.519-1.488 70.83 0.676 89.27 3.471zM494.621 288.856c-9.882 2.687-17.931 9.133-22.672 17.667l-0.094 0.187c-4.012 7.484-4.012 7.935-4.508 110.821-0.36 66.771 0.136 105.727 1.352 110.19 4.735 17.674 17.764 27.322 38.638 28.674 21.866 1.397 36.204-4.915 44.365-19.523l4.508-8.025v-214.608l-4.012-7.528c-2.526-4.494-5.734-8.293-9.532-11.395l-0.071-0.056c-11.903-8.52-32.507-11.227-47.972-6.403zM494.621 649.453c-17.764 5.816-25.925 17.223-27.277 38.097-1.397 21.687 4.959 36.025 19.523 44.184 6.988 3.923 10.235 4.508 25.158 4.508 14.067 0 18.395-0.721 24.346-3.876 14.698-7.935 20.739-19.611 20.739-40.306 0-28.99-12.939-42.922-41.344-44.365-8.567-0.452-16.455 0.224-21.146 1.759z"],attrs:[{}],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[{}],"125525525513463581":[{}]},tags:["alert-circle"],grid:0},attrs:[{}],properties:{order:3,id:8,name:"alert-circle",prevSize:32,code:59648},setIdx:0,setId:3,iconIdx:11},{icon:{paths:["M86.74 248.039c-13.743 7.271-32.022 25.885-39.226 39.959-3.593 6.962-5.699 15.194-5.699 23.918 0 8.777 2.132 17.053 5.906 24.343l-0.14-0.295c8.339 16.68 423.485 431.822 440.161 440.161 7.050 3.626 15.386 5.753 24.216 5.753s17.166-2.127 24.519-5.894l-0.303 0.141c16.68-8.339 431.822-423.485 440.161-440.161 11.741-23.549 5.737-47.899-17.345-70.981-22.684-22.684-48.099-28.753-71.58-17.012-7.472 3.734-71.38 65.711-193.329 187.392l-182.121 181.854-182.121-181.854c-121.949-121.682-185.858-183.656-193.329-187.392-7.274-3.457-15.806-5.475-24.812-5.475-9.058 0-17.641 2.042-25.313 5.692l0.355-0.152z"],attrs:[{}],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[{}],"125525525513463581":[{}]},tags:["chevron-down"],grid:0},attrs:[{}],properties:{order:4,id:9,name:"chevron-down",prevSize:32,code:59649},setIdx:0,setId:3,iconIdx:12},{icon:{paths:["M696.431 22.299c-16.683 8.519-455.166 447.703-463.259 463.964-3.67 7.465-5.925 16.214-6.192 25.461l-0.002 0.092c0 7.814 2.463 18.021 6.195 25.553 8.798 17.599 446.859 455.657 464.458 464.458 24.848 12.388 50.544 6.053 74.898-18.302 24.426-24.426 30.692-50.050 18.302-74.898-4.434-8.729-63.566-69.902-198.087-204.633l-191.892-192.174 191.892-192.174c134.521-134.733 193.654-195.904 198.087-204.633 12.388-24.848 6.124-50.472-18.302-74.898-23.934-23.934-51.6-30.411-76.097-17.811z"],attrs:[{}],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[{}],"125525525513463581":[{}]},tags:["chevron-left"],grid:0},attrs:[{}],properties:{order:5,id:10,name:"chevron-left",prevSize:32,code:59650},setIdx:0,setId:3,iconIdx:13},{icon:{paths:["M274.397 21.85c-14.506 7.676-33.802 27.323-41.407 42.182-3.793 7.347-6.016 16.037-6.016 25.248 0 9.265 2.25 18.003 6.233 25.699l-0.148-0.312c4.436 8.732 63.589 69.927 198.164 204.713l191.967 192.248-191.967 192.248c-134.573 134.785-193.727 195.98-198.164 204.713-12.393 24.858-6.126 50.492 18.309 74.927 24.366 24.366 50.068 30.704 74.927 18.309 17.606-8.802 455.833-447.031 464.636-464.636 3.671-7.468 5.928-16.22 6.194-25.472l0.002-0.092c-0.268-9.341-2.525-18.096-6.36-25.936l0.164 0.373c-8.522-17.112-446.96-455.833-464.002-464.284-7.679-3.647-16.687-5.779-26.192-5.779-9.563 0-18.623 2.157-26.72 6.009l0.376-0.161z"],attrs:[{}],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[{}],"125525525513463581":[{}]},tags:["chevron-right"],grid:0},attrs:[{}],properties:{order:6,id:11,name:"chevron-right",prevSize:32,code:59651},setIdx:0,setId:3,iconIdx:14},{icon:{paths:["M122.87 145.282c-45.789 7.741-83.47 41.162-97.682 86.706l-3.85 12.287v535.715l3.85 12.287c12.591 40.186 43.612 71.207 82.901 83.554l0.897 0.243 12.287 3.85h781.455l12.287-3.85c40.186-12.591 71.207-43.612 83.554-82.901l0.243-0.897 3.85-12.287v-535.715l-3.85-12.287c-12.527-39.881-43.174-70.717-82.042-83.262l-0.897-0.25-13.147-4.136-385.813-0.246c-212.197-0.122-389.54 0.41-394.045 1.187zM893.308 227.933c6.274 1.981 11.613 5.404 15.833 9.892l0.019 0.020c12.122 12.122 12.41 14.212 12.41 87.812v63.606h-819.135v-63.606c0-73.641 0.287-75.688 12.451-87.812 4.087-4.335 9.153-7.7 14.847-9.746l0.265-0.083c6.554-2.006 60.903-2.375 381.308-2.458 329.949-0.122 374.59 0.163 382.004 2.375zM921.568 616.736c0 157.93 0.205 154.324-9.051 166.448-2.499 3.277-7.945 7.986-12.082 10.403l-7.536 4.424h-761.796l-7.536-4.424c-4.601-2.832-8.531-6.217-11.861-10.129l-0.058-0.069c-9.543-12.532-9.216-6.511-9.216-165.793v-146.42h819.135v145.56z"],attrs:[{}],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[{}],"125525525513463581":[{}]},tags:["credit-card"],grid:0},attrs:[{}],properties:{order:7,id:12,name:"credit-card",prevSize:32,code:59652},setIdx:0,setId:3,iconIdx:15},{icon:{paths:["M124.444 1024c-25.6 0-48-9.603-67.2-28.803s-28.8-41.597-28.8-67.197v-228.801h96v228.801h832v-228.801h96v228.801c0 25.6-9.603 47.997-28.803 67.197s-41.597 28.803-67.197 28.803h-832zM540.444 779.201l-308.8-308.801 68.8-68.8 192 192.002v-593.601h96.003v593.601l192-192.002 68.796 68.8-308.799 308.801z"],width:1081,attrs:[{}],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[{}],"125525525513463581":[{}]},tags:["download"],grid:0},attrs:[{}],properties:{order:8,id:13,name:"download",prevSize:32,code:59653},setIdx:0,setId:3,iconIdx:16},{icon:{paths:["M794.006 17.661l-151.696 1.040-9.863 5.054c-16.85 8.673-23.837 23.986-22.3 48.666 1.437 22.747 11.943 37.069 31.023 42.371 4.362 1.239 44.353 2.031 101.345 2.031h94.11l-234.158 234.406c-167.702 167.801-235.446 236.884-238.618 243.178-8.721 17.494-4.311 35.583 12.884 52.728 17.147 17.197 35.236 21.607 52.728 12.884 6.293-3.172 75.377-70.917 243.178-238.618l234.406-234.158v94.11c0 56.992 0.793 96.984 2.031 101.345 5.301 19.080 19.624 29.586 42.371 31.023 24.034 1.536 39.794-5.402 48.764-21.459l4.956-8.822 1.337-156.601c0.743-86.13 1.389-159.525 1.487-163.094 0.199-9.367-10.010-30.676-17.197-35.781-11.101-7.88-24.034-12.29-34.839-11.796-5.65 0.247-78.549 0.942-161.954 1.487zM138.857 168.514c-55.307 9.267-100.999 49.804-118.194 104.912l-4.659 14.867v598.654l4.659 14.867c15.235 48.626 52.77 86.159 100.311 101.101l1.085 0.293 14.867 4.659h598.654l14.867-4.659c48.626-15.235 86.159-52.77 101.101-100.311l0.293-1.085 4.659-14.867v-342.936l-4.51-8.424c-8.177-15.363-27.751-23.787-50.3-21.756-21.557 1.983-36.326 13.034-41.281 30.924-1.288 4.558-2.031 65.068-2.031 163.985 0 170.081 0.149 167.504-10.951 182.074-3.023 3.964-9.614 9.664-14.62 12.587l-9.119 5.353h-574.865l-9.119-5.353c-5.567-3.428-10.323-7.523-14.351-12.254l-0.070-0.086c-11.796-15.463-11.15 1.585-11.15-302.349 0-314.194-1.090-292.092 15.016-308.198 15.61-15.61 8.177-15.016 186.040-15.016 98.917 0 159.377-0.743 163.935-2.031 11.026-3.042 20.021-10.196 25.414-19.667l0.108-0.206c4.311-7.73 4.956-11.2 4.906-27.653-0.050-21.459-4.014-31.964-14.916-39.696-13.925-9.911-13.034-9.863-185.048-9.614-88.411 0.098-165.274 0.991-170.726 1.884z"],attrs:[{}],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[{}],"125525525513463581":[{}]},tags:["external-link"],grid:0},attrs:[{}],properties:{order:9,id:14,name:"external-link",prevSize:32,code:59654},setIdx:0,setId:3,iconIdx:17},{icon:{paths:["M37.011 21.092c-7.44 4.919-15.211 13.392-19.096 20.832-2.893 5.497-2.397 26.205 0.744 32.446 1.488 2.893 43.936 46.623 94.363 97.173l91.676 91.883-22.072 19.881c-55.882 50.302-111.391 120.526-152.394 192.652-19.923 35.091-19.551 40.216 6.572 83.906 22.981 38.439 50.839 77.582 81.963 114.987 17.277 20.832 68.571 72.374 88.204 88.659 77.664 64.52 156.486 101.967 243.863 115.938 29.181 4.671 84.691 4.919 114.905 0.537 64.774-9.256 123.081-30.451 174.918-61.366l-2.146 1.186 14.053-8.391 95.891 95.643c52.74 52.575 98.289 96.801 101.182 98.289 3.431 1.695 9.589 2.645 17.484 2.645 10.871 0 13.061-0.579 19.881-5.084 7.44-4.919 15.211-13.392 19.096-20.832 1.033-1.984 1.901-9.135 1.901-15.872 0-10.788-0.579-13.061-4.877-19.509-6.696-10.003-922.132-924.736-928.745-928.042-3.431-1.695-9.631-2.645-17.484-2.645-10.871 0-13.061 0.579-19.881 5.084zM483.073 140.957c-38.77 3.885-70.679 9.879-81.384 15.335-17.443 8.928-22.651 27.611-14.467 51.748 3.431 9.961 12.565 20.501 19.964 22.94 7.233 2.397 20.584 2.356 31.413-0.083 21.828-4.99 46.894-7.847 72.629-7.847 24.765 0 48.908 2.647 72.168 7.674l-2.239-0.405c112.673 22.94 225.345 110.358 314.128 243.697 27.404 41.126 25.833 34.802 13.681 54.89-18.486 29.629-36.424 54.854-55.698 78.967l1.263-1.635c-15.665 19.427-20.419 28.396-20.419 38.728 0 9.961 3.844 17.897 13.020 26.825 15.789 15.335 32.074 19.179 47.078 10.995 16.285-8.845 62.164-70.431 96.553-129.578 23.188-39.844 23.064-44.267-2.356-87.212-37.302-62.647-79.77-116.755-128.241-164.821l-0.056-0.055c-52.906-52.864-96.015-84.608-154.667-113.789-47.987-23.891-92.875-37.778-142.185-43.978-14.921-1.901-69.067-3.472-80.186-2.397zM363.497 436.278c-7.027 12.235-16.161 40.547-18.6 57.411-2.273 15.748-1.281 38.026 2.439 55.51 13.81 64.070 63.4 113.659 126.385 127.273l1.085 0.197c36.992 7.853 73.986 2.976 109.035-14.467l13.144-6.531 95.767 95.767-18.145 9.093c-55.551 27.859-106.762 40.010-167.562 39.762-34.884-0.124-55.51-2.852-85.146-11.325-108.953-31.041-213.029-116.558-296.355-243.491-23.767-36.207-22.609-30.421-10.209-50.798 36.103-58.15 77.662-108.281 125.123-152.115l0.487-0.445 22.196-20.295 105.481 105.481-5.125 8.969zM482.99 541.677c28.148 28.189 50.839 51.5 50.426 51.872-2.371 0.956-5.22 1.825-8.155 2.456l-0.358 0.065c-32.694 8.019-71.795-10.664-88.618-42.324-7.068-13.309-10.871-31.165-9.424-44.226s2.645-19.013 3.927-19.013c0.579 0 24.097 23.023 52.203 51.17z"],attrs:[{}],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[{}],"125525525513463581":[{}]},tags:["eye-off"],grid:0},attrs:[{}],properties:{order:10,id:15,name:"eye-off",prevSize:32,code:59655},setIdx:0,setId:3,iconIdx:18},{icon:{paths:["M476.812 145.058c-91.938 8.183-178.844 45.99-262.682 114.237-22.013 17.88-73.24 69.23-93.411 93.576-27.898 33.332-54.401 70.307-78.054 109.206l-2.265 4.009c-25.408 43.004-25.408 48.075 0 91.079 26.595 43.828 53.754 81.602 83.511 117.127l-1.187-1.456c17.103 20.621 67.881 71.644 87.316 87.765 95.252 79.132 196.848 119.231 301.963 119.231 101.186 0 199.262-37.274 291.528-110.8 24.55-19.599 77.168-71.317 97.789-96.194 28.531-34.062 55.678-71.838 79.947-111.56l2.335-4.112c25.408-43.004 25.408-48.075 0-91.079-36.927-62.014-78.968-115.578-126.948-163.159l-0.056-0.055c-52.373-52.333-95.049-83.755-153.109-112.642-47.258-23.526-92.471-37.52-140.752-43.534-19.762-2.456-66.611-3.355-85.924-1.636zM542.401 226.93c113.297 11.048 221.112 79.46 315.996 200.613 12.97 16.572 49.221 69.557 54.46 79.622 2.865 5.524 3.109 4.991-18.289 37.602-76.268 116.162-173.648 200.285-270.457 233.633-36.375 12.521-63.503 17.677-100.654 19.107-41.858 1.595-75.777-3.436-118.575-17.634-99.877-33.061-197.545-116.447-275.448-235.106-21.4-32.57-21.154-32.118-18.289-37.561 5.319-10.106 35.598-54.828 49.058-72.503 112.439-147.544 247.339-220.865 382.198-207.772zM485.731 350.456c-46.153 7.2-90.63 37.358-114.115 77.413-14.495 23.907-23.073 52.8-23.073 83.696 0 68.318 41.943 126.839 101.484 151.218l1.089 0.394c18.045 7.475 38.999 11.817 60.968 11.817 68.256 0 126.725-41.91 151.074-101.401l0.393-1.088c7.497-18.004 11.851-38.921 11.851-60.853 0-21.895-4.34-42.775-12.205-61.827l0.393 1.079c-21.587-53.034-68.85-91.572-125.925-100.454l-0.915-0.116c-7.561-1.328-16.266-2.088-25.149-2.088-9.141 0-18.093 0.805-26.792 2.346l0.92-0.135zM533.4 432.78c30.737 8.794 53.801 34.225 59.016 65.681l0.066 0.48c4.092 26.718-3.846 50.859-23.077 70.131-16.407 16.489-35.024 24.386-57.404 24.386-21.072 0-39.361-7.284-55.114-21.891-54.418-50.572-18.985-141.571 55.114-141.571 5.851 0 15.467 1.268 21.4 2.782z"],attrs:[{}],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[{}],"125525525513463581":[{}]},tags:["eye"],grid:0},attrs:[{}],properties:{order:11,id:16,name:"eye",prevSize:32,code:59656},setIdx:0,setId:3,iconIdx:19},{icon:{paths:["M481.28 43.648l-23.893 2.56c-80.555 8.533-159.104 40.107-228.693 91.819-25.984 19.328-71.509 64.853-91.051 90.965-106.581 142.805-124.8 327.040-48.171 486.955 23.296 48.555 50.304 86.229 91.349 127.232 41.003 41.045 78.677 68.053 127.232 91.349 159.872 76.629 344.235 58.325 487.125-48.341 25.984-19.371 71.637-65.024 91.008-91.008 126.891-170.027 126.891-396.331 0-566.357-19.371-25.941-64.981-71.552-90.88-90.795-68.053-50.603-139.733-80-222.592-91.264-18.048-2.475-78.891-4.523-91.435-3.115zM568.32 132.309c109.355 16.512 204.971 78.080 266.24 171.477 12.928 19.755 31.701 57.984 39.765 81.067 14.763 42.368 20.693 78.72 20.693 127.147 0 63.701-10.965 111.829-38.272 168.107-30.080 62.037-75.477 113.792-134.528 153.259-33.664 22.528-87.509 45.056-128.811 53.973-24.244 5.414-52.089 8.515-80.658 8.515-91.486 0-175.543-31.805-241.717-84.962l0.754 0.586c-64.555-51.712-112.981-127.573-132.395-207.317-7.936-32.555-10.411-54.272-10.411-92.16 0-63.701 10.965-111.829 38.272-168.107 45.622-92.339 124.633-162.383 220.876-195.211l2.698-0.799c30.080-9.941 54.272-14.848 93.013-18.859 13.739-1.408 67.029 0.64 84.48 3.285zM482.133 257.792c-22.357 3.456-48.768 14.165-70.827 28.715-38.101 25.131-71.424 80-66.261 109.184 2.56 14.72 15.104 25.173 36.309 30.421 9.771 2.389 12.843 2.517 19.499 0.768 11.392-3.029 20.821-12.971 27.563-28.928 6.741-16.085 12.8-25.003 23.509-34.645 26.325-23.68 61.141-28.501 94.208-13.013 14.848 6.955 31.744 24.021 38.997 39.381 6.059 12.843 9.643 32.128 8.021 43.093-4.096 27.221-38.699 56.917-92.288 79.232-31.019 12.885-39.424 24.107-34.944 46.805 5.675 28.8 22.997 43.221 46.421 38.613 24.832-4.907 68.651-26.965 97.451-49.109 49.365-37.973 71.595-80.213 68.949-130.987-2.261-43.136-18.731-79.957-49.749-111.189-21.063-21.482-47.858-37.271-77.909-44.894l-1.152-0.248c-15.317-3.968-51.925-5.675-67.797-3.2zM495.531 685.013c-16.811 5.504-24.533 16.299-25.813 36.053-1.323 20.523 4.693 34.091 18.475 41.813 6.613 3.712 9.685 4.267 23.808 4.267 13.312 0 17.408-0.683 23.040-3.669 13.909-7.509 19.627-18.56 19.627-38.144 0-27.435-12.245-40.619-39.125-41.984-8.107-0.427-15.573 0.213-20.011 1.664z"],attrs:[{}],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[{}],"125525525513463581":[{}]},tags:["help-circle"],grid:0},attrs:[{}],properties:{order:12,id:17,name:"help-circle",prevSize:32,code:59657},setIdx:0,setId:3,iconIdx:20}],height:1024,metadata:{name:"icomoon"},preferences:{showGlyphs:!0,showQuickUse:!0,showQuickUse2:!0,showSVGs:!0,fontPref:{prefix:"icon-",metadata:{fontFamily:"icomoon"},metrics:{emSize:1024,baseline:6.25,whitespace:50},embed:!1},imagePref:{prefix:"icon-",png:!0,useClassSelector:!0,color:0,bgColor:16777215,classSelector:".icon",name:"icomoon"},historySize:50,showCodes:!0,gridSize:16,showGrid:!1}}).icons.map(e=>e.properties.name).reduce((e,t)=>(e[t]=t,e),{});const Ea={prefix:String(Math.round(Math.random()*1e10)),current:0},$d=f.createContext(Ea),Dv=f.createContext(!1);let Nv=!!(typeof window<"u"&&window.document&&window.document.createElement),Ms=new WeakMap;function $v(e=!1){let t=f.useContext($d),n=f.useRef(null);if(n.current===null&&!e){var r,o;let a=(o=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||o===void 0||(r=o.ReactCurrentOwner)===null||r===void 0?void 0:r.current;if(a){let i=Ms.get(a);i==null?Ms.set(a,{id:t.current,state:a.memoizedState}):a.memoizedState!==i.state&&(t.current=i.id,Ms.delete(a))}n.current=++t.current}return n.current}function kv(e){let t=f.useContext($d);t===Ea&&!Nv&&console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");let n=$v(!!e),r=t===Ea&&process.env.NODE_ENV==="test"?"react-aria":`react-aria${t.prefix}`;return e||`${r}-${n}`}function Ov(e){let t=f.useId(),[n]=f.useState(kd()),r=n||process.env.NODE_ENV==="test"?"react-aria":`react-aria${Ea.prefix}`;return e||`${r}-${t}`}const Fv=typeof f.useId=="function"?Ov:kv;function Lv(){return!1}function Vv(){return!0}function jv(e){return()=>{}}function kd(){return typeof f.useSyncExternalStore=="function"?f.useSyncExternalStore(jv,Lv,Vv):f.useContext(Dv)}function Bv(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Wv(e,t,n){Bv(e,t),t.set(e,n)}function hr(e,t,n){let[r,o]=f.useState(e||t),a=f.useRef(e!==void 0),i=e!==void 0;f.useEffect(()=>{let u=a.current;u!==i&&console.warn(`WARN: A component changed from ${u?"controlled":"uncontrolled"} to ${i?"controlled":"uncontrolled"}.`),a.current=i},[i]);let s=i?e:r,l=f.useCallback((u,...c)=>{let d=(p,...m)=>{n&&(Object.is(s,p)||n(p,...m)),i||(s=p)};typeof u=="function"?(console.warn("We can not support a function callback. See Github Issues for details https://github.com/adobe/react-spectrum/issues/2320"),o((m,...h)=>{let g=u(i?s:m,...h);return d(g,...c),i?m:g})):(i||o(u),d(u,...c))},[i,s,n]);return[s,l]}const Jt=typeof document<"u"?f.useLayoutEffect:()=>{};function Je(e){const t=f.useRef(null);return Jt(()=>{t.current=e},[e]),f.useCallback((...n)=>{const r=t.current;return r(...n)},[])}function _v(e){let[t,n]=f.useState(e),r=f.useRef(null),o=Je(()=>{let i=r.current.next();if(i.done){r.current=null;return}t===i.value?o():n(i.value)});Jt(()=>{r.current&&o()});let a=Je(i=>{r.current=i(t),o()});return[t,a]}let Gv=!!(typeof window<"u"&&window.document&&window.document.createElement),Pa=new Map;function gr(e){let[t,n]=f.useState(e),r=f.useRef(null),o=Fv(t),a=f.useCallback(i=>{r.current=i},[]);return Gv&&Pa.set(o,a),Jt(()=>{let i=o;return()=>{Pa.delete(i)}},[o]),f.useEffect(()=>{let i=r.current;i&&(r.current=null,n(i))}),o}function Rv(e,t){if(e===t)return e;let n=Pa.get(e);if(n)return n(t),t;let r=Pa.get(t);return r?(r(e),e):t}function Od(e=[]){let t=gr(),[n,r]=_v(t),o=f.useCallback(()=>{r(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,r]);return Jt(o,[t,o,...e]),n}function Ln(...e){return(...t)=>{for(let n of e)typeof n=="function"&&n(...t)}}const Wt=e=>{var t;return(t=e==null?void 0:e.ownerDocument)!==null&&t!==void 0?t:document},ao=e=>e&&"window"in e&&e.window===e?e:Wt(e).defaultView||window;function he(...e){let t={...e[0]};for(let n=1;n<e.length;n++){let r=e[n];for(let o in r){let a=t[o],i=r[o];typeof a=="function"&&typeof i=="function"&&o[0]==="o"&&o[1]==="n"&&o.charCodeAt(2)>=65&&o.charCodeAt(2)<=90?t[o]=Ln(a,i):(o==="className"||o==="UNSAFE_className")&&typeof a=="string"&&typeof i=="string"?t[o]=Dd(a,i):o==="id"&&a&&i?t.id=Rv(a,i):t[o]=i!==void 0?i:a}}return t}const zv=new Set(["id"]),Hv=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),Xv=new Set(["href","target","rel","download","ping","referrerPolicy"]),Zv=/^(data-.*)$/;function br(e,t={}){let{labelable:n,isLink:r,propNames:o}=t,a={};for(const i in e)Object.prototype.hasOwnProperty.call(e,i)&&(zv.has(i)||n&&Hv.has(i)||r&&Xv.has(i)||o!=null&&o.has(i)||Zv.test(i))&&(a[i]=e[i]);return a}function ht(e){if(Yv())e.focus({preventScroll:!0});else{let t=Uv(e);e.focus(),Kv(t)}}let Sa=null;function Yv(){if(Sa==null){Sa=!1;try{var e=document.createElement("div");e.focus({get preventScroll(){return Sa=!0,!0}})}catch{}}return Sa}function Uv(e){for(var t=e.parentNode,n=[],r=document.scrollingElement||document.documentElement;t instanceof HTMLElement&&t!==r;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&n.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return r instanceof HTMLElement&&n.push({element:r,scrollTop:r.scrollTop,scrollLeft:r.scrollLeft}),n}function Kv(e){for(let{element:t,scrollTop:n,scrollLeft:r}of e)t.scrollTop=n,t.scrollLeft=r}function Ma(e){var t;return typeof window>"u"||window.navigator==null?!1:((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.brands.some(n=>e.test(n.brand)))||e.test(window.navigator.userAgent)}function As(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 yn(){return As(/^Mac/i)}function Jv(){return As(/^iPhone/i)}function Fd(){return As(/^iPad/i)||yn()&&navigator.maxTouchPoints>1}function io(){return Jv()||Fd()}function Qv(){return yn()||io()}function qv(){return Ma(/AppleWebKit/i)&&!e2()}function e2(){return Ma(/Chrome/i)}function Ld(){return Ma(/Android/i)}function t2(){return Ma(/Firefox/i)}const n2=f.createContext({isNative:!0,open:o2});function Vd(){return f.useContext(n2)}function Qt(e,t,n=!0){var r,o;let{metaKey:a,ctrlKey:i,altKey:s,shiftKey:l}=t;t2()&&(!((o=window.event)===null||o===void 0||(r=o.type)===null||r===void 0)&&r.startsWith("key"))&&e.target==="_blank"&&(yn()?a=!0:i=!0);let u=qv()&&yn()&&!Fd()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:a,ctrlKey:i,altKey:s,shiftKey:l}):new MouseEvent("click",{metaKey:a,ctrlKey:i,altKey:s,shiftKey:l,bubbles:!0,cancelable:!0});Qt.isOpening=n,ht(e),e.dispatchEvent(u),Qt.isOpening=!1}Qt.isOpening=!1;function r2(e,t){if(e instanceof HTMLAnchorElement)t(e);else if(e.hasAttribute("data-href")){let n=document.createElement("a");n.href=e.getAttribute("data-href"),e.hasAttribute("data-target")&&(n.target=e.getAttribute("data-target")),e.hasAttribute("data-rel")&&(n.rel=e.getAttribute("data-rel")),e.hasAttribute("data-download")&&(n.download=e.getAttribute("data-download")),e.hasAttribute("data-ping")&&(n.ping=e.getAttribute("data-ping")),e.hasAttribute("data-referrer-policy")&&(n.referrerPolicy=e.getAttribute("data-referrer-policy")),e.appendChild(n),t(n),e.removeChild(n)}}function o2(e,t){r2(e,n=>Qt(n,t))}let vr=new Map,Ts=new Set;function jd(){if(typeof window>"u")return;let e=n=>{let r=vr.get(n.target);r||(r=new Set,vr.set(n.target,r),n.target.addEventListener("transitioncancel",t)),r.add(n.propertyName)},t=n=>{let r=vr.get(n.target);if(r&&(r.delete(n.propertyName),r.size===0&&(n.target.removeEventListener("transitioncancel",t),vr.delete(n.target)),vr.size===0)){for(let o of Ts)o();Ts.clear()}};document.body.addEventListener("transitionrun",e),document.body.addEventListener("transitionend",t)}typeof document<"u"&&(document.readyState!=="loading"?jd():document.addEventListener("DOMContentLoaded",jd));function Ds(e){requestAnimationFrame(()=>{vr.size===0?e():Ts.add(e)})}function Ns(){let e=f.useRef(new Map),t=f.useCallback((o,a,i,s)=>{let l=s!=null&&s.once?(...u)=>{e.current.delete(i),i(...u)}:i;e.current.set(i,{type:a,eventTarget:o,fn:l,options:s}),o.addEventListener(a,i,s)},[]),n=f.useCallback((o,a,i,s)=>{var l;let u=((l=e.current.get(i))===null||l===void 0?void 0:l.fn)||i;o.removeEventListener(a,u,s),e.current.delete(i)},[]),r=f.useCallback(()=>{e.current.forEach((o,a)=>{n(o.eventTarget,o.type,a,o.options)})},[n]);return f.useEffect(()=>r,[r]),{addGlobalListener:t,removeGlobalListener:n,removeAllGlobalListeners:r}}function $s(e,t){let{id:n,"aria-label":r,"aria-labelledby":o}=e;return n=gr(n),o&&r?o=[...new Set([n,...o.trim().split(/\s+/)])].join(" "):o&&(o=o.trim().split(/\s+/).join(" ")),!r&&!o&&t&&(r=t),{id:n,"aria-label":r,"aria-labelledby":o}}function ks(e,t){Jt(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref.current=null}})}function Bd(e,t){for(Wd(e,t)&&(e=e.parentElement);e&&!Wd(e,t);)e=e.parentElement;return e||document.scrollingElement||document.documentElement}function Wd(e,t){let n=window.getComputedStyle(e),r=/(auto|scroll)/.test(n.overflow+n.overflowX+n.overflowY);return r&&t&&(r=e.scrollHeight!==e.clientHeight||e.scrollWidth!==e.clientWidth),r}let a2=0;const Os=new Map;function i2(e){let[t,n]=f.useState(void 0);return Jt(()=>{if(!e)return;let r=Os.get(e);if(r)n(r.element.id);else{let o=`react-aria-description-${a2++}`;n(o);let a=document.createElement("div");a.id=o,a.style.display="none",a.textContent=e,document.body.appendChild(a),r={refCount:0,element:a},Os.set(e,r)}return r.refCount++,()=>{--r.refCount===0&&(r.element.remove(),Os.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}function s2(e,t,n,r){let o=Je(n),a=n==null;f.useEffect(()=>{if(a)return;let i=e.current;return i.addEventListener(t,o,r),()=>{i.removeEventListener(t,o,r)}},[e,t,r,a,o])}function _d(e,t){let n=Gd(e,t,"left"),r=Gd(e,t,"top"),o=t.offsetWidth,a=t.offsetHeight,i=e.scrollLeft,s=e.scrollTop,{borderTopWidth:l,borderLeftWidth:u}=getComputedStyle(e),c=e.scrollLeft+parseInt(u,10),d=e.scrollTop+parseInt(l,10),p=c+e.clientWidth,m=d+e.clientHeight;n<=i?i=n-parseInt(u,10):n+o>p&&(i+=n+o-p),r<=d?s=r-parseInt(l,10):r+a>m&&(s+=r+a-m),e.scrollLeft=i,e.scrollTop=s}function Gd(e,t,n){const r=n==="left"?"offsetLeft":"offsetTop";let o=0;for(;t.offsetParent&&(o+=t[r],t.offsetParent!==e);){if(t.offsetParent.contains(e)){o-=e[r];break}t=t.offsetParent}return o}function Rd(e,t){if(document.contains(e)){let i=document.scrollingElement||document.documentElement;if(window.getComputedStyle(i).overflow==="hidden"){let l=Bd(e);for(;e&&l&&e!==i&&l!==i;)_d(l,e),e=l,l=Bd(e)}else{var n;let{left:l,top:u}=e.getBoundingClientRect();e==null||(n=e.scrollIntoView)===null||n===void 0||n.call(e,{block:"nearest"});let{left:c,top:d}=e.getBoundingClientRect();if(Math.abs(l-c)>1||Math.abs(u-d)>1){var r,o,a;t==null||(o=t.containingElement)===null||o===void 0||(r=o.scrollIntoView)===null||r===void 0||r.call(o,{block:"center",inline:"center"}),(a=e.scrollIntoView)===null||a===void 0||a.call(e,{block:"nearest"})}}}}function so(e){return e.mozInputSource===0&&e.isTrusted?!0:Ld()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function zd(e){return!Ld()&&e.width===0&&e.height===0||e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"}function Fs(e,t,n){let r=f.useRef(t),o=Je(()=>{n&&n(r.current)});f.useEffect(()=>{var a;let i=e==null||(a=e.current)===null||a===void 0?void 0:a.form;return i==null||i.addEventListener("reset",o),()=>{i==null||i.removeEventListener("reset",o)}},[e,o])}const l2=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),u2=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function c2(e){if(Intl.Locale){let n=new Intl.Locale(e).maximize(),r=typeof n.getTextInfo=="function"?n.getTextInfo():n.textInfo;if(r)return r.direction==="rtl";if(n.script)return l2.has(n.script)}let t=e.split("-")[0];return u2.has(t)}const d2=Symbol.for("react-aria.i18n.locale");function Hd(){let e=typeof window<"u"&&window[d2]||typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:c2(e)?"rtl":"ltr"}}let Ls=Hd(),lo=new Set;function Xd(){Ls=Hd();for(let e of lo)e(Ls)}function f2(){let e=kd(),[t,n]=f.useState(Ls);return f.useEffect(()=>(lo.size===0&&window.addEventListener("languagechange",Xd),lo.add(n),()=>{lo.delete(n),lo.size===0&&window.removeEventListener("languagechange",Xd)}),[]),e?{locale:"en-US",direction:"ltr"}:t}const p2=f.createContext(null);function Vs(){let e=f2();return f.useContext(p2)||e}var _t=function(){return _t=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},_t.apply(this,arguments)};function Zd(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function m2(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,a;r<o;r++)(a||!(r in t))&&(a||(a=Array.prototype.slice.call(t,0,r)),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))}typeof SuppressedError=="function"&&SuppressedError;function h2(e,t){return t.get?t.get.call(e):t.value}function Yd(e,t,n){if(!t.has(e))throw new TypeError("attempted to "+n+" private field on non-instance");return t.get(e)}function g2(e,t){var n=Yd(e,t,"get");return h2(e,n)}function b2(e,t,n){if(t.set)t.set.call(e,n);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=n}}function Ud(e,t,n){var r=Yd(e,t,"set");return b2(e,r,n),n}let yr="default",js="",Aa=new WeakMap;function Kd(e){if(io()){if(yr==="default"){const t=Wt(e);js=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}yr="disabled"}else(e instanceof HTMLElement||e instanceof SVGElement)&&(Aa.set(e,e.style.userSelect),e.style.userSelect="none")}function Ta(e){if(io()){if(yr!=="disabled")return;yr="restoring",setTimeout(()=>{Ds(()=>{if(yr==="restoring"){const t=Wt(e);t.documentElement.style.webkitUserSelect==="none"&&(t.documentElement.style.webkitUserSelect=js||""),js="",yr="default"}})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&Aa.has(e)){let t=Aa.get(e);e.style.userSelect==="none"&&(e.style.userSelect=t),e.getAttribute("style")===""&&e.removeAttribute("style"),Aa.delete(e)}}const Jd=f.createContext({register:()=>{}});Jd.displayName="PressResponderContext";function v2(e){let t=f.useContext(Jd);if(t){let{register:n,...r}=t;e=he(r,e),n()}return ks(t,e.ref),e}var Da=new WeakMap;class Na{continuePropagation(){Ud(this,Da,!1)}get shouldStopPropagation(){return g2(this,Da)}constructor(t,n,r){Wv(this,Da,{writable:!0,value:void 0}),Ud(this,Da,!0),this.type=t,this.pointerType=n,this.target=r.currentTarget,this.shiftKey=r.shiftKey,this.metaKey=r.metaKey,this.ctrlKey=r.ctrlKey,this.altKey=r.altKey}}const Qd=Symbol("linkClicked");function Vn(e){let{onPress:t,onPressChange:n,onPressStart:r,onPressEnd:o,onPressUp:a,isDisabled:i,isPressed:s,preventFocusOnPress:l,shouldCancelOnPointerExit:u,allowTextSelectionOnPress:c,ref:d,...p}=v2(e),[m,h]=f.useState(!1),g=f.useRef({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:b,removeAllGlobalListeners:x}=Ns(),y=Je((v,D)=>{let $=g.current;if(i||$.didFirePressStart)return!1;let M=!0;if($.isTriggeringEvent=!0,r){let k=new Na("pressstart",D,v);r(k),M=k.shouldStopPropagation}return n&&n(!0),$.isTriggeringEvent=!1,$.didFirePressStart=!0,h(!0),M}),w=Je((v,D,$=!0)=>{let M=g.current;if(!M.didFirePressStart)return!1;M.ignoreClickAfterPress=!0,M.didFirePressStart=!1,M.isTriggeringEvent=!0;let k=!0;if(o){let I=new Na("pressend",D,v);o(I),k=I.shouldStopPropagation}if(n&&n(!1),h(!1),t&&$&&!i){let I=new Na("press",D,v);t(I),k&&(k=I.shouldStopPropagation)}return M.isTriggeringEvent=!1,k}),S=Je((v,D)=>{let $=g.current;if(i)return!1;if(a){$.isTriggeringEvent=!0;let M=new Na("pressup",D,v);return a(M),$.isTriggeringEvent=!1,M.shouldStopPropagation}return!0}),E=Je(v=>{let D=g.current;D.isPressed&&D.target&&(D.isOverTarget&&D.pointerType!=null&&w(qt(D.target,v),D.pointerType,!1),D.isPressed=!1,D.isOverTarget=!1,D.activePointerId=null,D.pointerType=null,x(),c||Ta(D.target))}),A=Je(v=>{u&&E(v)}),T=f.useMemo(()=>{let v=g.current,D={onKeyDown(M){if(Ws(M.nativeEvent,M.currentTarget)&&M.currentTarget.contains(M.target)){var k;ef(M.target,M.key)&&M.preventDefault();let I=!0;!v.isPressed&&!M.repeat&&(v.target=M.currentTarget,v.isPressed=!0,I=y(M,"keyboard"),b(Wt(M.currentTarget),"keyup",$,!1)),I&&M.stopPropagation(),M.metaKey&&yn()&&((k=v.metaKeyEvents)===null||k===void 0||k.set(M.key,M.nativeEvent))}else M.key==="Meta"&&(v.metaKeyEvents=new Map)},onKeyUp(M){Ws(M.nativeEvent,M.currentTarget)&&!M.repeat&&M.currentTarget.contains(M.target)&&v.target&&S(qt(v.target,M),"keyboard")},onClick(M){if(!(M&&!M.currentTarget.contains(M.target))&&M&&M.button===0&&!v.isTriggeringEvent&&!Qt.isOpening){let k=!0;if(i&&M.preventDefault(),!v.ignoreClickAfterPress&&!v.ignoreEmulatedMouseEvents&&!v.isPressed&&(v.pointerType==="virtual"||so(M.nativeEvent))){!i&&!l&&ht(M.currentTarget);let I=y(M,"virtual"),P=S(M,"virtual"),O=w(M,"virtual");k=I&&P&&O}v.ignoreEmulatedMouseEvents=!1,v.ignoreClickAfterPress=!1,k&&M.stopPropagation()}}},$=M=>{var k;if(v.isPressed&&v.target&&Ws(M,v.target)){var I;ef(M.target,M.key)&&M.preventDefault();let O=M.target,j=w(qt(v.target,M),"keyboard",v.target.contains(O));x(),j&&M.stopPropagation(),M.key!=="Enter"&&Bs(v.target)&&v.target.contains(O)&&!M[Qd]&&(M[Qd]=!0,Qt(v.target,M,!1)),v.isPressed=!1,(I=v.metaKeyEvents)===null||I===void 0||I.delete(M.key)}else if(M.key==="Meta"&&(!((k=v.metaKeyEvents)===null||k===void 0)&&k.size)){var P;let O=v.metaKeyEvents;v.metaKeyEvents=void 0;for(let j of O.values())(P=v.target)===null||P===void 0||P.dispatchEvent(new KeyboardEvent("keyup",j))}};if(typeof PointerEvent<"u"){D.onPointerDown=P=>{if(P.button!==0||!P.currentTarget.contains(P.target))return;if(zd(P.nativeEvent)){v.pointerType="virtual";return}_s(P.currentTarget)&&P.preventDefault(),v.pointerType=P.pointerType;let O=!0;v.isPressed||(v.isPressed=!0,v.isOverTarget=!0,v.activePointerId=P.pointerId,v.target=P.currentTarget,!i&&!l&&ht(P.currentTarget),c||Kd(v.target),O=y(P,v.pointerType),b(Wt(P.currentTarget),"pointermove",M,!1),b(Wt(P.currentTarget),"pointerup",k,!1),b(Wt(P.currentTarget),"pointercancel",I,!1)),O&&P.stopPropagation()},D.onMouseDown=P=>{P.currentTarget.contains(P.target)&&P.button===0&&(_s(P.currentTarget)&&P.preventDefault(),P.stopPropagation())},D.onPointerUp=P=>{!P.currentTarget.contains(P.target)||v.pointerType==="virtual"||P.button===0&&xr(P,P.currentTarget)&&S(P,v.pointerType||P.pointerType)};let M=P=>{P.pointerId===v.activePointerId&&(v.target&&xr(P,v.target)?!v.isOverTarget&&v.pointerType!=null&&(v.isOverTarget=!0,y(qt(v.target,P),v.pointerType)):v.target&&v.isOverTarget&&v.pointerType!=null&&(v.isOverTarget=!1,w(qt(v.target,P),v.pointerType,!1),A(P)))},k=P=>{P.pointerId===v.activePointerId&&v.isPressed&&P.button===0&&v.target&&(xr(P,v.target)&&v.pointerType!=null?w(qt(v.target,P),v.pointerType):v.isOverTarget&&v.pointerType!=null&&w(qt(v.target,P),v.pointerType,!1),v.isPressed=!1,v.isOverTarget=!1,v.activePointerId=null,v.pointerType=null,x(),c||Ta(v.target))},I=P=>{E(P)};D.onDragStart=P=>{P.currentTarget.contains(P.target)&&E(P)}}else{D.onMouseDown=I=>{if(I.button!==0||!I.currentTarget.contains(I.target))return;if(_s(I.currentTarget)&&I.preventDefault(),v.ignoreEmulatedMouseEvents){I.stopPropagation();return}v.isPressed=!0,v.isOverTarget=!0,v.target=I.currentTarget,v.pointerType=so(I.nativeEvent)?"virtual":"mouse",!i&&!l&&ht(I.currentTarget),y(I,v.pointerType)&&I.stopPropagation(),b(Wt(I.currentTarget),"mouseup",M,!1)},D.onMouseEnter=I=>{if(!I.currentTarget.contains(I.target))return;let P=!0;v.isPressed&&!v.ignoreEmulatedMouseEvents&&v.pointerType!=null&&(v.isOverTarget=!0,P=y(I,v.pointerType)),P&&I.stopPropagation()},D.onMouseLeave=I=>{if(!I.currentTarget.contains(I.target))return;let P=!0;v.isPressed&&!v.ignoreEmulatedMouseEvents&&v.pointerType!=null&&(v.isOverTarget=!1,P=w(I,v.pointerType,!1),A(I)),P&&I.stopPropagation()},D.onMouseUp=I=>{I.currentTarget.contains(I.target)&&!v.ignoreEmulatedMouseEvents&&I.button===0&&S(I,v.pointerType||"mouse")};let M=I=>{if(I.button===0){if(v.isPressed=!1,x(),v.ignoreEmulatedMouseEvents){v.ignoreEmulatedMouseEvents=!1;return}v.target&&xr(I,v.target)&&v.pointerType!=null?w(qt(v.target,I),v.pointerType):v.target&&v.isOverTarget&&v.pointerType!=null&&w(qt(v.target,I),v.pointerType,!1),v.isOverTarget=!1}};D.onTouchStart=I=>{if(!I.currentTarget.contains(I.target))return;let P=y2(I.nativeEvent);if(!P)return;v.activePointerId=P.identifier,v.ignoreEmulatedMouseEvents=!0,v.isOverTarget=!0,v.isPressed=!0,v.target=I.currentTarget,v.pointerType="touch",!i&&!l&&ht(I.currentTarget),c||Kd(v.target),y(I,v.pointerType)&&I.stopPropagation(),b(ao(I.currentTarget),"scroll",k,!0)},D.onTouchMove=I=>{if(!I.currentTarget.contains(I.target))return;if(!v.isPressed){I.stopPropagation();return}let P=qd(I.nativeEvent,v.activePointerId),O=!0;P&&xr(P,I.currentTarget)?!v.isOverTarget&&v.pointerType!=null&&(v.isOverTarget=!0,O=y(I,v.pointerType)):v.isOverTarget&&v.pointerType!=null&&(v.isOverTarget=!1,O=w(I,v.pointerType,!1),A(I)),O&&I.stopPropagation()},D.onTouchEnd=I=>{if(!I.currentTarget.contains(I.target))return;if(!v.isPressed){I.stopPropagation();return}let P=qd(I.nativeEvent,v.activePointerId),O=!0;P&&xr(P,I.currentTarget)&&v.pointerType!=null?(S(I,v.pointerType),O=w(I,v.pointerType)):v.isOverTarget&&v.pointerType!=null&&(O=w(I,v.pointerType,!1)),O&&I.stopPropagation(),v.isPressed=!1,v.activePointerId=null,v.isOverTarget=!1,v.ignoreEmulatedMouseEvents=!0,v.target&&!c&&Ta(v.target),x()},D.onTouchCancel=I=>{I.currentTarget.contains(I.target)&&(I.stopPropagation(),v.isPressed&&E(I))};let k=I=>{v.isPressed&&I.target.contains(v.target)&&E({currentTarget:v.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};D.onDragStart=I=>{I.currentTarget.contains(I.target)&&E(I)}}return D},[b,i,l,x,c,E,A,w,y,S]);return f.useEffect(()=>()=>{var v;c||Ta((v=g.current.target)!==null&&v!==void 0?v:void 0)},[c]),{isPressed:s||m,pressProps:he(p,T)}}function Bs(e){return e.tagName==="A"&&e.hasAttribute("href")}function Ws(e,t){const{key:n,code:r}=e,o=t,a=o.getAttribute("role");return(n==="Enter"||n===" "||n==="Spacebar"||r==="Space")&&!(o instanceof ao(o).HTMLInputElement&&!tf(o,n)||o instanceof ao(o).HTMLTextAreaElement||o.isContentEditable)&&!((a==="link"||!a&&Bs(o))&&n!=="Enter")}function y2(e){const{targetTouches:t}=e;return t.length>0?t[0]:null}function qd(e,t){const n=e.changedTouches;for(let r=0;r<n.length;r++){const o=n[r];if(o.identifier===t)return o}return null}function qt(e,t){return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey}}function x2(e){let t=0,n=0;return e.width!==void 0?t=e.width/2:e.radiusX!==void 0&&(t=e.radiusX),e.height!==void 0?n=e.height/2:e.radiusY!==void 0&&(n=e.radiusY),{top:e.clientY-n,right:e.clientX+t,bottom:e.clientY+n,left:e.clientX-t}}function C2(e,t){return!(e.left>t.right||t.left>e.right||e.top>t.bottom||t.top>e.bottom)}function xr(e,t){let n=t.getBoundingClientRect(),r=x2(e);return C2(n,r)}function _s(e){return!(e instanceof HTMLElement)||!e.hasAttribute("draggable")}function ef(e,t){return e instanceof HTMLInputElement?!tf(e,t):e instanceof HTMLButtonElement?e.type!=="submit"&&e.type!=="reset":!Bs(e)}const w2=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function tf(e,t){return e.type==="checkbox"||e.type==="radio"?t===" ":w2.has(e.type)}class I2{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(t,n){this.nativeEvent=n,this.target=n.target,this.currentTarget=n.currentTarget,this.relatedTarget=n.relatedTarget,this.bubbles=n.bubbles,this.cancelable=n.cancelable,this.defaultPrevented=n.defaultPrevented,this.eventPhase=n.eventPhase,this.isTrusted=n.isTrusted,this.timeStamp=n.timeStamp,this.type=t}}function nf(e){let t=f.useRef({isFocused:!1,observer:null});Jt(()=>{const r=t.current;return()=>{r.observer&&(r.observer.disconnect(),r.observer=null)}},[]);let n=Je(r=>{e==null||e(r)});return f.useCallback(r=>{if(r.target instanceof HTMLButtonElement||r.target instanceof HTMLInputElement||r.target instanceof HTMLTextAreaElement||r.target instanceof HTMLSelectElement){t.current.isFocused=!0;let o=r.target,a=i=>{t.current.isFocused=!1,o.disabled&&n(new I2("blur",i)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};o.addEventListener("focusout",a,{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&o.disabled){var i;(i=t.current.observer)===null||i===void 0||i.disconnect();let s=o===document.activeElement?null:document.activeElement;o.dispatchEvent(new FocusEvent("blur",{relatedTarget:s})),o.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:s}))}}),t.current.observer.observe(o,{attributes:!0,attributeFilter:["disabled"]})}},[n])}function rf(e){let{isDisabled:t,onFocus:n,onBlur:r,onFocusChange:o}=e;const a=f.useCallback(l=>{if(l.target===l.currentTarget)return r&&r(l),o&&o(!1),!0},[r,o]),i=nf(a),s=f.useCallback(l=>{l.target===l.currentTarget&&document.activeElement===l.target&&(n&&n(l),o&&o(!0),i(l))},[o,n,i]);return{focusProps:{onFocus:!t&&(n||o||r)?s:void 0,onBlur:!t&&(r||o)?a:void 0}}}let jn=null,Gs=new Set,of=!1,Bn=!1,Rs=!1;const E2={Tab:!0,Escape:!0};function $a(e,t){for(let n of Gs)n(e,t)}function P2(e){return!(e.metaKey||!yn()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function af(e){Bn=!0,P2(e)&&(jn="keyboard",$a("keyboard",e))}function Cr(e){jn="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(Bn=!0,$a("pointer",e))}function S2(e){so(e)&&(Bn=!0,jn="virtual")}function M2(e){e.target===window||e.target===document||(!Bn&&!Rs&&(jn="virtual",$a("virtual",e)),Bn=!1,Rs=!1)}function A2(){Bn=!1,Rs=!0}function zs(){if(typeof window>"u"||of)return;let e=HTMLElement.prototype.focus;HTMLElement.prototype.focus=function(){Bn=!0,e.apply(this,arguments)},document.addEventListener("keydown",af,!0),document.addEventListener("keyup",af,!0),document.addEventListener("click",S2,!0),window.addEventListener("focus",M2,!0),window.addEventListener("blur",A2,!1),typeof PointerEvent<"u"?(document.addEventListener("pointerdown",Cr,!0),document.addEventListener("pointermove",Cr,!0),document.addEventListener("pointerup",Cr,!0)):(document.addEventListener("mousedown",Cr,!0),document.addEventListener("mousemove",Cr,!0),document.addEventListener("mouseup",Cr,!0)),of=!0}typeof document<"u"&&(document.readyState!=="loading"?zs():document.addEventListener("DOMContentLoaded",zs));function sf(){return jn!=="pointer"}function Hs(){return jn}function T2(e){jn=e,$a(e,null)}const D2=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function N2(e,t,n){var r;return e=e||(n==null?void 0:n.target)instanceof HTMLInputElement&&!D2.has(n==null||(r=n.target)===null||r===void 0?void 0:r.type)||(n==null?void 0:n.target)instanceof HTMLTextAreaElement||(n==null?void 0:n.target)instanceof HTMLElement&&(n==null?void 0:n.target.isContentEditable),!(e&&t==="keyboard"&&n instanceof KeyboardEvent&&!E2[n.key])}function $2(e,t,n){zs(),f.useEffect(()=>{let r=(o,a)=>{N2(!!(n!=null&&n.isTextInput),o,a)&&e(sf())};return Gs.add(r),()=>{Gs.delete(r)}},t)}function ka(e){let{isDisabled:t,onBlurWithin:n,onFocusWithin:r,onFocusWithinChange:o}=e,a=f.useRef({isFocusWithin:!1}),i=f.useCallback(u=>{a.current.isFocusWithin&&!u.currentTarget.contains(u.relatedTarget)&&(a.current.isFocusWithin=!1,n&&n(u),o&&o(!1))},[n,o,a]),s=nf(i),l=f.useCallback(u=>{!a.current.isFocusWithin&&document.activeElement===u.target&&(r&&r(u),o&&o(!0),a.current.isFocusWithin=!0,s(u))},[r,o,s]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:l,onBlur:i}}}let Oa=!1,Xs=0;function Zs(){Oa=!0,setTimeout(()=>{Oa=!1},50)}function lf(e){e.pointerType==="touch"&&Zs()}function k2(){if(!(typeof document>"u"))return typeof PointerEvent<"u"?document.addEventListener("pointerup",lf):document.addEventListener("touchend",Zs),Xs++,()=>{Xs--,!(Xs>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",lf):document.removeEventListener("touchend",Zs))}}function Wn(e){let{onHoverStart:t,onHoverChange:n,onHoverEnd:r,isDisabled:o}=e,[a,i]=f.useState(!1),s=f.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;f.useEffect(k2,[]);let{hoverProps:l,triggerHoverEnd:u}=f.useMemo(()=>{let c=(m,h)=>{if(s.pointerType=h,o||h==="touch"||s.isHovered||!m.currentTarget.contains(m.target))return;s.isHovered=!0;let g=m.currentTarget;s.target=g,t&&t({type:"hoverstart",target:g,pointerType:h}),n&&n(!0),i(!0)},d=(m,h)=>{if(s.pointerType="",s.target=null,h==="touch"||!s.isHovered)return;s.isHovered=!1;let g=m.currentTarget;r&&r({type:"hoverend",target:g,pointerType:h}),n&&n(!1),i(!1)},p={};return typeof PointerEvent<"u"?(p.onPointerEnter=m=>{Oa&&m.pointerType==="mouse"||c(m,m.pointerType)},p.onPointerLeave=m=>{!o&&m.currentTarget.contains(m.target)&&d(m,m.pointerType)}):(p.onTouchStart=()=>{s.ignoreEmulatedMouseEvents=!0},p.onMouseEnter=m=>{!s.ignoreEmulatedMouseEvents&&!Oa&&c(m,"mouse"),s.ignoreEmulatedMouseEvents=!1},p.onMouseLeave=m=>{!o&&m.currentTarget.contains(m.target)&&d(m,"mouse")}),{hoverProps:p,triggerHoverEnd:d}},[t,n,r,o,s]);return f.useEffect(()=>{o&&u({currentTarget:s.target},s.pointerType)},[o]),{hoverProps:l,isHovered:a}}function uf(e){if(!e)return;let t=!0;return n=>{let r={...n,preventDefault(){n.preventDefault()},isDefaultPrevented(){return n.isDefaultPrevented()},stopPropagation(){console.error("stopPropagation is now the default behavior for events in React Spectrum. You can use continuePropagation() to revert this behavior.")},continuePropagation(){t=!1}};e(r),t&&n.stopPropagation()}}function O2(e){return{keyboardProps:e.isDisabled?{}:{onKeyDown:uf(e.onKeyDown),onKeyUp:uf(e.onKeyUp)}}}const F2=500;function L2(e){let{isDisabled:t,onLongPressStart:n,onLongPressEnd:r,onLongPress:o,threshold:a=F2,accessibilityDescription:i}=e;const s=f.useRef();let{addGlobalListener:l,removeGlobalListener:u}=Ns(),{pressProps:c}=Vn({isDisabled:t,onPressStart(p){if(p.continuePropagation(),(p.pointerType==="mouse"||p.pointerType==="touch")&&(n&&n({...p,type:"longpressstart"}),s.current=setTimeout(()=>{p.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),o&&o({...p,type:"longpress"}),s.current=void 0},a),p.pointerType==="touch")){let m=h=>{h.preventDefault()};l(p.target,"contextmenu",m,{once:!0}),l(window,"pointerup",()=>{setTimeout(()=>{u(p.target,"contextmenu",m)},30)},{once:!0})}},onPressEnd(p){s.current&&clearTimeout(s.current),r&&(p.pointerType==="mouse"||p.pointerType==="touch")&&r({...p,type:"longpressend"})}}),d=i2(o&&!t?i:void 0);return{longPressProps:he(c,d)}}function Fa(e){const t=Wt(e);if(Hs()==="virtual"){let n=t.activeElement;Ds(()=>{t.activeElement===n&&e.isConnected&&ht(e)})}else ht(e)}function V2(e){const t=ao(e);if(!(e instanceof t.HTMLElement)&&!(e instanceof t.SVGElement))return!1;let{display:n,visibility:r}=e.style,o=n!=="none"&&r!=="hidden"&&r!=="collapse";if(o){const{getComputedStyle:a}=e.ownerDocument.defaultView;let{display:i,visibility:s}=a(e);o=i!=="none"&&s!=="hidden"&&s!=="collapse"}return o}function j2(e,t){return!e.hasAttribute("hidden")&&(e.nodeName==="DETAILS"&&t&&t.nodeName!=="SUMMARY"?e.hasAttribute("open"):!0)}function cf(e,t){return e.nodeName!=="#comment"&&V2(e)&&j2(e,t)&&(!e.parentElement||cf(e.parentElement,e))}const Ys=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[contenteditable]"],B2=Ys.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";Ys.push('[tabindex]:not([tabindex="-1"]):not([disabled])');const W2=Ys.join(':not([hidden]):not([tabindex="-1"]),');function df(e,t){return!e||!t?!1:t.some(n=>n.contains(e))}function Us(e,t,n){let r=t!=null&&t.tabbable?W2:B2,o=Wt(e).createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode(a){var i;return!(t==null||(i=t.from)===null||i===void 0)&&i.contains(a)?NodeFilter.FILTER_REJECT:a.matches(r)&&cf(a)&&(!n||df(a,n))&&(!(t!=null&&t.accept)||t.accept(a))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return t!=null&&t.from&&(o.currentNode=t.from),o}class Ks{get size(){return this.fastMap.size}getTreeNode(t){return this.fastMap.get(t)}addTreeNode(t,n,r){let o=this.fastMap.get(n??null);if(!o)return;let a=new ff({scopeRef:t});o.addChild(a),a.parent=o,this.fastMap.set(t,a),r&&(a.nodeToRestore=r)}addNode(t){this.fastMap.set(t.scopeRef,t)}removeTreeNode(t){if(t===null)return;let n=this.fastMap.get(t);if(!n)return;let r=n.parent;for(let a of this.traverse())a!==n&&n.nodeToRestore&&a.nodeToRestore&&n.scopeRef&&n.scopeRef.current&&df(a.nodeToRestore,n.scopeRef.current)&&(a.nodeToRestore=n.nodeToRestore);let o=n.children;r&&(r.removeChild(n),o.size>0&&o.forEach(a=>r&&r.addChild(a))),this.fastMap.delete(n.scopeRef)}*traverse(t=this.root){if(t.scopeRef!=null&&(yield t),t.children.size>0)for(let n of t.children)yield*this.traverse(n)}clone(){var t;let n=new Ks;var r;for(let o of this.traverse())n.addTreeNode(o.scopeRef,(r=(t=o.parent)===null||t===void 0?void 0:t.scopeRef)!==null&&r!==void 0?r:null,o.nodeToRestore);return n}constructor(){this.fastMap=new Map,this.root=new ff({scopeRef:null}),this.fastMap.set(null,this.root)}}class ff{addChild(t){this.children.add(t),t.parent=this}removeChild(t){this.children.delete(t),t.parent=void 0}constructor(t){this.children=new Set,this.contain=!1,this.scopeRef=t.scopeRef}}new Ks;function Gt(e={}){let{autoFocus:t=!1,isTextInput:n,within:r}=e,o=f.useRef({isFocused:!1,isFocusVisible:t||sf()}),[a,i]=f.useState(!1),[s,l]=f.useState(()=>o.current.isFocused&&o.current.isFocusVisible),u=f.useCallback(()=>l(o.current.isFocused&&o.current.isFocusVisible),[]),c=f.useCallback(m=>{o.current.isFocused=m,i(m),u()},[u]);$2(m=>{o.current.isFocusVisible=m,u()},[],{isTextInput:n});let{focusProps:d}=rf({isDisabled:r,onFocusChange:c}),{focusWithinProps:p}=ka({isDisabled:!r,onFocusWithinChange:c});return{isFocused:a,isFocusVisible:s,focusProps:r?p:d}}let _2=f.createContext(null);function G2(e){let t=f.useContext(_2)||{};ks(t,e);let{ref:n,...r}=t;return r}function La(e,t){let{focusProps:n}=rf(e),{keyboardProps:r}=O2(e),o=he(n,r),a=G2(t),i=e.isDisabled?{}:a,s=f.useRef(e.autoFocus);return f.useEffect(()=>{s.current&&t.current&&Fa(t.current),s.current=!1},[t]),{focusableProps:he({...o,tabIndex:e.excludeFromTabOrder&&!e.isDisabled?-1:void 0},i)}}function R2(e,t){let n=t==null?void 0:t.isDisabled,[r,o]=f.useState(!1);return Jt(()=>{if(e!=null&&e.current&&!n){let a=()=>{if(e.current){let s=Us(e.current,{tabbable:!0});o(!!s.nextNode())}};a();let i=new MutationObserver(a);return i.observe(e.current,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["tabIndex","disabled"]}),()=>{i.disconnect()}}}),n?!1:r}const pf={border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"};function z2(e={}){let{style:t,isFocusable:n}=e,[r,o]=f.useState(!1),{focusWithinProps:a}=ka({isDisabled:!n,onFocusWithinChange:s=>o(s)}),i=f.useMemo(()=>r?t:t?{...pf,...t}:pf,[r]);return{visuallyHiddenProps:{...a,style:i}}}function Js(e){let{children:t,elementType:n="div",isFocusable:r,style:o,...a}=e,{visuallyHiddenProps:i}=z2(e);return f.createElement(n,he(a,i),t)}function $t(e){return f.forwardRef(e)}var uo=(e,t,n=!0)=>{if(!t)return[e,{}];const r=t.reduce((o,a)=>a in e?{...o,[a]:e[a]}:o,{});return n?[Object.keys(e).filter(a=>!t.includes(a)).reduce((a,i)=>({...a,[i]:e[i]}),{}),r]:[e,r]},H2=["0","xs","sm","md","lg","xl","2xl","3xl","4xl","5xl","6xl","7xl","8xl","9xl","1","2","3","3.5","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","20","24","28","32","36","40","44","48","52","56","60","64","72","80","96"],Qs=H2.map(e=>`unit-${e}`),Va=["small","medium","large"],gt=(e,t)=>{var n,r,o;return ye(e,{...t,twMerge:(n=t==null?void 0:t.twMerge)!=null?n:!0,twMergeConfig:{...t==null?void 0:t.twMergeConfig,theme:{...(r=t==null?void 0:t.twMergeConfig)==null?void 0:r.theme,opacity:["disabled"],spacing:["divider","unit",...Qs],borderWidth:Va,borderRadius:Va},classGroups:{...(o=t==null?void 0:t.twMergeConfig)==null?void 0:o.classGroups,shadow:[{shadow:Va}],"font-size":[{text:["tiny",...Va]}],"bg-image":["bg-stripe-gradient"],"min-w":[{"min-w":["unit",...Qs]}],"min-h":[{"min-h":["unit",...Qs]}]}}})},co=["outline-none","data-[focus-visible=true]:z-10","data-[focus-visible=true]:outline-2","data-[focus-visible=true]:outline-focus","data-[focus-visible=true]:outline-offset-2"],ja=["outline-none","group-data-[focus-visible=true]:z-10","group-data-[focus-visible=true]:ring-2","group-data-[focus-visible=true]:ring-focus","group-data-[focus-visible=true]:ring-offset-2","group-data-[focus-visible=true]:ring-offset-background"],X2=["outline-none","ring-2","ring-focus","ring-offset-2","ring-offset-background"],qs=["absolute","top-1/2","left-1/2","-translate-x-1/2","-translate-y-1/2"],wr={default:["[&+.border-medium.border-default]:ms-[calc(theme(borderWidth.medium)*-1)]"],primary:["[&+.border-medium.border-primary]:ms-[calc(theme(borderWidth.medium)*-1)]"],secondary:["[&+.border-medium.border-secondary]:ms-[calc(theme(borderWidth.medium)*-1)]"],success:["[&+.border-medium.border-success]:ms-[calc(theme(borderWidth.medium)*-1)]"],warning:["[&+.border-medium.border-warning]:ms-[calc(theme(borderWidth.medium)*-1)]"],danger:["[&+.border-medium.border-danger]:ms-[calc(theme(borderWidth.medium)*-1)]"]},Z2={default:"bg-default text-default-foreground",primary:"bg-primary text-primary-foreground",secondary:"bg-secondary text-secondary-foreground",success:"bg-success text-success-foreground",warning:"bg-warning text-warning-foreground",danger:"bg-danger text-danger-foreground",foreground:"bg-foreground text-background"},Y2={default:"shadow-lg shadow-default/50 bg-default text-default-foreground",primary:"shadow-lg shadow-primary/40 bg-primary text-primary-foreground",secondary:"shadow-lg shadow-secondary/40 bg-secondary text-secondary-foreground",success:"shadow-lg shadow-success/40 bg-success text-success-foreground",warning:"shadow-lg shadow-warning/40 bg-warning text-warning-foreground",danger:"shadow-lg shadow-danger/40 bg-danger text-danger-foreground",foreground:"shadow-lg shadow-foreground/40 bg-foreground text-background"},U2={default:"bg-transparent border-default text-foreground",primary:"bg-transparent border-primary text-primary",secondary:"bg-transparent border-secondary text-secondary",success:"bg-transparent border-success text-success",warning:"bg-transparent border-warning text-warning",danger:"bg-transparent border-danger text-danger",foreground:"bg-transparent border-foreground text-foreground"},K2={default:"bg-default/40 text-default-foreground",primary:"bg-primary/20 text-primary",secondary:"bg-secondary/20 text-secondary",success:"bg-success/20 text-success-600 dark:text-success",warning:"bg-warning/20 text-warning-600 dark:text-warning",danger:"bg-danger/20 text-danger dark:text-danger-500",foreground:"bg-foreground/10 text-foreground"},J2={default:"border-default bg-default-100 text-default-foreground",primary:"border-default bg-default-100 text-primary",secondary:"border-default bg-default-100 text-secondary",success:"border-default bg-default-100 text-success",warning:"border-default bg-default-100 text-warning",danger:"border-default bg-default-100 text-danger",foreground:"border-default bg-default-100 text-foreground"},Q2={default:"bg-transparent text-default-foreground",primary:"bg-transparent text-primary",secondary:"bg-transparent text-secondary",success:"bg-transparent text-success",warning:"bg-transparent text-warning",danger:"bg-transparent text-danger",foreground:"bg-transparent text-foreground"},q2={default:"border-default text-default-foreground hover:!bg-default",primary:"border-primary text-primary hover:!text-primary-foreground hover:!bg-primary",secondary:"border-secondary text-secondary hover:text-secondary-foreground hover:!bg-secondary",success:"border-success text-success hover:!text-success-foreground hover:!bg-success",warning:"border-warning text-warning hover:!text-warning-foreground hover:!bg-warning",danger:"border-danger text-danger hover:!text-danger-foreground hover:!bg-danger",foreground:"border-foreground text-foreground hover:!bg-foreground"},J={solid:Z2,shadow:Y2,bordered:U2,flat:K2,faded:J2,light:Q2,ghost:q2},mf=gt({slots:{base:"relative inline-flex flex-col gap-2 items-center justify-center",wrapper:"relative flex",circle1:["absolute","w-full","h-full","rounded-full","animate-spinner-ease-spin","border-2","border-solid","border-t-transparent","border-l-transparent","border-r-transparent"],circle2:["absolute","w-full","h-full","rounded-full","opacity-75","animate-spinner-linear-spin","border-2","border-dotted","border-t-transparent","border-l-transparent","border-r-transparent"],label:"text-foreground dark:text-foreground-dark font-regular"},variants:{size:{sm:{wrapper:"w-5 h-5",circle1:"border-2",circle2:"border-2",label:"text-small"},md:{wrapper:"w-8 h-8",circle1:"border-3",circle2:"border-3",label:"text-medium"},lg:{wrapper:"w-10 h-10",circle1:"border-3",circle2:"border-3",label:"text-large"}},color:{current:{circle1:"border-b-current",circle2:"border-b-current"},white:{circle1:"border-b-white",circle2:"border-b-white"},default:{circle1:"border-b-default",circle2:"border-b-default"},primary:{circle1:"border-b-primary",circle2:"border-b-primary"},secondary:{circle1:"border-b-secondary",circle2:"border-b-secondary"},success:{circle1:"border-b-success",circle2:"border-b-success"},warning:{circle1:"border-b-warning",circle2:"border-b-warning"},danger:{circle1:"border-b-danger",circle2:"border-b-danger"}},labelColor:{foreground:{label:"text-foreground"},primary:{label:"text-primary"},secondary:{label:"text-secondary"},success:{label:"text-success"},warning:{label:"text-warning"},danger:{label:"text-danger"}}},defaultVariants:{size:"md",color:"primary",labelColor:"foreground"}}),hf=gt({slots:{base:"inline-flex",tabList:["flex","p-1","h-fit","gap-2","items-center","flex-nowrap","overflow-x-scroll","scrollbar-hide","bg-default-100"],tab:["z-0","w-full","px-3","py-1","flex","group","relative","justify-center","items-center","outline-none","cursor-pointer","transition-opacity","tap-highlight-transparent","data-[disabled=true]:cursor-not-allowed","data-[disabled=true]:opacity-30","data-[hover-unselected=true]:opacity-disabled",...co],tabContent:["relative","z-10","text-inherit","whitespace-nowrap","transition-colors","text-default-500","group-data-[selected=true]:text-foreground"],cursor:["absolute","z-0","bg-white"],panel:["py-3","px-1","outline-none",...co]},variants:{variant:{solid:{cursor:"inset-0"},light:{tabList:"bg-transparent dark:bg-transparent",cursor:"inset-0"},underlined:{tabList:"bg-transparent dark:bg-transparent",cursor:"h-[2px] w-[80%] bottom-0 shadow-[0_1px_0px_0_rgba(0,0,0,0.05)]"},bordered:{tabList:"bg-transparent dark:bg-transparent border-medium border-default-200 shadow-sm",cursor:"inset-0"}},color:{default:{},primary:{},secondary:{},success:{},warning:{},danger:{}},size:{sm:{tabList:"rounded-medium",tab:"h-7 text-tiny rounded-small",cursor:"rounded-small"},md:{tabList:"rounded-medium",tab:"h-8 text-small rounded-small",cursor:"rounded-small"},lg:{tabList:"rounded-large",tab:"h-9 text-medium rounded-medium",cursor:"rounded-medium"}},radius:{none:{tabList:"rounded-none",tab:"rounded-none",cursor:"rounded-none"},sm:{tabList:"rounded-medium",tab:"rounded-small",cursor:"rounded-small"},md:{tabList:"rounded-medium",tab:"rounded-small",cursor:"rounded-small"},lg:{tabList:"rounded-large",tab:"rounded-medium",cursor:"rounded-medium"},full:{tabList:"rounded-full",tab:"rounded-full",cursor:"rounded-full"}},fullWidth:{true:{base:"w-full",tabList:"w-full"}},isDisabled:{true:{tabList:"opacity-disabled pointer-events-none"}},disableAnimation:{true:{tab:"transition-none",tabContent:"transition-none"}}},defaultVariants:{color:"default",variant:"solid",size:"md",fullWidth:!1,isDisabled:!1,disableAnimation:!1},compoundVariants:[{variant:["solid","bordered","light"],color:"default",class:{cursor:["bg-background","dark:bg-default","shadow-small"],tabContent:"group-data-[selected=true]:text-default-foreground"}},{variant:["solid","bordered","light"],color:"primary",class:{cursor:J.solid.primary,tabContent:"group-data-[selected=true]:text-primary-foreground"}},{variant:["solid","bordered","light"],color:"secondary",class:{cursor:J.solid.secondary,tabContent:"group-data-[selected=true]:text-secondary-foreground"}},{variant:["solid","bordered","light"],color:"success",class:{cursor:J.solid.success,tabContent:"group-data-[selected=true]:text-success-foreground"}},{variant:["solid","bordered","light"],color:"warning",class:{cursor:J.solid.warning,tabContent:"group-data-[selected=true]:text-warning-foreground"}},{variant:["solid","bordered","light"],color:"danger",class:{cursor:J.solid.danger,tabContent:"group-data-[selected=true]:text-danger-foreground"}},{variant:"underlined",color:"default",class:{cursor:"bg-foreground",tabContent:"group-data-[selected=true]:text-foreground"}},{variant:"underlined",color:"primary",class:{cursor:"bg-primary",tabContent:"group-data-[selected=true]:text-primary"}},{variant:"underlined",color:"secondary",class:{cursor:"bg-secondary",tabContent:"group-data-[selected=true]:text-secondary"}},{variant:"underlined",color:"success",class:{cursor:"bg-success",tabContent:"group-data-[selected=true]:text-success"}},{variant:"underlined",color:"warning",class:{cursor:"bg-warning",tabContent:"group-data-[selected=true]:text-warning"}},{variant:"underlined",color:"danger",class:{cursor:"bg-danger",tabContent:"group-data-[selected=true]:text-danger"}},{disableAnimation:!0,variant:"underlined",class:{tab:["after:content-['']","after:absolute","after:bottom-0","after:h-[2px]","after:w-[80%]","after:opacity-0","after:shadow-[0_1px_0px_0_rgba(0,0,0,0.05)]","data-[selected=true]:after:opacity-100"]}},{disableAnimation:!0,color:"default",variant:["solid","bordered","light"],class:{tab:"data-[selected=true]:bg-default data-[selected=true]:text-default-foreground"}},{disableAnimation:!0,color:"primary",variant:["solid","bordered","light"],class:{tab:"data-[selected=true]:bg-primary data-[selected=true]:text-primary-foreground"}},{disableAnimation:!0,color:"secondary",variant:["solid","bordered","light"],class:{tab:"data-[selected=true]:bg-secondary data-[selected=true]:text-secondary-foreground"}},{disableAnimation:!0,color:"success",variant:["solid","bordered","light"],class:{tab:"data-[selected=true]:bg-success data-[selected=true]:text-success-foreground"}},{disableAnimation:!0,color:"warning",variant:["solid","bordered","light"],class:{tab:"data-[selected=true]:bg-warning data-[selected=true]:text-warning-foreground"}},{disableAnimation:!0,color:"danger",variant:["solid","bordered","light"],class:{tab:"data-[selected=true]:bg-danger data-[selected=true]:text-danger-foreground"}},{disableAnimation:!0,color:"default",variant:"underlined",class:{tab:"data-[selected=true]:after:bg-foreground"}},{disableAnimation:!0,color:"primary",variant:"underlined",class:{tab:"data-[selected=true]:after:bg-primary"}},{disableAnimation:!0,color:"secondary",variant:"underlined",class:{tab:"data-[selected=true]:after:bg-secondary"}},{disableAnimation:!0,color:"success",variant:"underlined",class:{tab:"data-[selected=true]:after:bg-success"}},{disableAnimation:!0,color:"warning",variant:"underlined",class:{tab:"data-[selected=true]:after:bg-warning"}},{disableAnimation:!0,color:"danger",variant:"underlined",class:{tab:"data-[selected=true]:after:bg-danger"}}],compoundSlots:[{variant:"underlined",slots:["tab","tabList","cursor"],class:["rounded-none"]}]}),gf=gt({slots:{base:"group relative max-w-fit inline-flex items-center justify-start cursor-pointer touch-none tap-highlight-transparent",wrapper:["px-1","relative","inline-flex","items-center","justify-start","flex-shrink-0","overflow-hidden","bg-default-200","rounded-full",...ja],thumb:["z-10","flex","items-center","justify-center","bg-white","shadow-small","rounded-full","origin-right"],startContent:"z-0 absolute left-1.5 text-current",endContent:"z-0 absolute right-1.5 text-default-600",thumbIcon:"text-black",label:"relative text-foreground select-none"},variants:{color:{default:{wrapper:["group-data-[selected=true]:bg-default-400","group-data-[selected=true]:text-default-foreground"]},primary:{wrapper:["group-data-[selected=true]:bg-primary","group-data-[selected=true]:text-primary-foreground"]},secondary:{wrapper:["group-data-[selected=true]:bg-secondary","group-data-[selected=true]:text-secondary-foreground"]},success:{wrapper:["group-data-[selected=true]:bg-success","group-data-[selected=true]:text-success-foreground"]},warning:{wrapper:["group-data-[selected=true]:bg-warning","group-data-[selected=true]:text-warning-foreground"]},danger:{wrapper:["group-data-[selected=true]:bg-danger","data-[selected=true]:text-danger-foreground"]}},size:{sm:{wrapper:"w-10 h-6 mr-2",thumb:["w-4 h-4 text-tiny","group-data-[selected=true]:ml-4"],endContent:"text-tiny",startContent:"text-tiny",label:"text-small"},md:{wrapper:"w-12 h-7 mr-2",thumb:["w-5 h-5 text-small","group-data-[selected=true]:ml-5"],endContent:"text-small",startContent:"text-small",label:"text-medium"},lg:{wrapper:"w-14 h-8 mr-2",thumb:["w-6 h-6 text-medium","group-data-[selected=true]:ml-6"],endContent:"text-medium",startContent:"text-medium",label:"text-large"}},isDisabled:{true:{base:"opacity-disabled pointer-events-none"}},disableAnimation:{true:{wrapper:"transition-none",thumb:"transition-none"},false:{wrapper:"transition-background",thumb:"transition-all",startContent:["opacity-0","scale-50","transition-transform-opacity","group-data-[selected=true]:scale-100","group-data-[selected=true]:opacity-100"],endContent:["opacity-100","transition-transform-opacity","group-data-[selected=true]:translate-x-3","group-data-[selected=true]:opacity-0"]}}},defaultVariants:{color:"primary",size:"md",isDisabled:!1,disableAnimation:!1},compoundVariants:[{disableAnimation:!1,size:"sm",class:{thumb:["group-data-[pressed=true]:w-5","group-data-[selected]:group-data-[pressed]:ml-3"]}},{disableAnimation:!1,size:"md",class:{thumb:["group-data-[pressed=true]:w-6","group-data-[selected]:group-data-[pressed]:ml-4"]}},{disableAnimation:!1,size:"lg",class:{thumb:["group-data-[pressed=true]:w-7","group-data-[selected]:group-data-[pressed]:ml-5"]}}]}),ey=gt({slots:{base:"group relative max-w-fit inline-flex items-center justify-start cursor-pointer tap-highlight-transparent p-2 -m-2",wrapper:["relative","inline-flex","items-center","justify-center","flex-shrink-0","overflow-hidden","border-solid","border-medium","box-border","border-default","rounded-full","group-data-[hover-unselected=true]:bg-default-100",...ja],labelWrapper:"flex flex-col ml-1",control:["z-10","w-2","h-2","opacity-0","scale-0","origin-center","rounded-full","group-data-[selected=true]:opacity-100","group-data-[selected=true]:scale-100"],label:"relative text-foreground select-none",description:"relative text-foreground-400"},variants:{color:{default:{control:"bg-default-500 text-default-foreground",wrapper:"group-data-[selected=true]:border-default-500"},primary:{control:"bg-primary text-primary-foreground",wrapper:"group-data-[selected=true]:border-primary"},secondary:{control:"bg-secondary text-secondary-foreground",wrapper:"group-data-[selected=true]:border-secondary"},success:{control:"bg-success text-success-foreground",wrapper:"group-data-[selected=true]:border-success"},warning:{control:"bg-warning text-warning-foreground",wrapper:"group-data-[selected=true]:border-warning"},danger:{control:"bg-danger text-danger-foreground",wrapper:"group-data-[selected=true]:border-danger"}},size:{sm:{wrapper:"w-4 h-4",control:"w-1.5 h-1.5",labelWrapper:"ml-1",label:"text-small",description:"text-tiny"},md:{wrapper:"w-5 h-5",control:"w-2 h-2",labelWrapper:"ml-2",label:"text-medium",description:"text-small"},lg:{wrapper:"w-6 h-6",control:"w-2.5 h-2.5",labelWrapper:"ml-2",label:"text-large",description:"text-medium"}},isDisabled:{true:{base:"opacity-disabled pointer-events-none"}},isInvalid:{true:{control:"bg-danger text-danger-foreground",wrapper:"border-danger group-data-[selected=true]:border-danger",label:"text-danger",description:"text-danger-300"}},disableAnimation:{true:{},false:{wrapper:["group-data-[pressed=true]:scale-95","transition-transform-colors","motion-reduce:transition-none"],control:"transition-transform-opacity motion-reduce:transition-none",label:"transition-colors motion-reduce:transition-none",description:"transition-colors motion-reduce:transition-none"}}},defaultVariants:{color:"primary",size:"md",isDisabled:!1,isInvalid:!1,disableAnimation:!1}}),ty=gt({slots:{base:"relative flex flex-col gap-2",label:"relative text-foreground-500",wrapper:"flex flex-col flex-wrap gap-2 data-[orientation=horizontal]:flex-row",description:"text-tiny text-foreground-400",errorMessage:"text-tiny text-danger"},variants:{isRequired:{true:{label:"after:content-['*'] after:text-danger after:ml-0.5"}},isInvalid:{true:{description:"text-danger"}},disableAnimation:{true:{},false:{description:"transition-colors !duration-150 motion-reduce:transition-none"}}},defaultVariants:{isInvalid:!1,isRequired:!1,disableAnimation:!1}}),bf=gt({slots:{base:"group flex flex-col",label:["absolute","z-10","pointer-events-none","origin-top-left","subpixel-antialiased","block","text-small","text-foreground-500"],mainWrapper:"h-full",inputWrapper:"relative w-full inline-flex tap-highlight-transparent flex-row items-center shadow-sm px-3 gap-3",innerWrapper:"inline-flex w-full items-center h-full box-border",input:["w-full font-normal bg-transparent !outline-none placeholder:text-foreground-500 focus-visible:outline-none","data-[has-start-content=true]:ps-1.5","data-[has-end-content=true]:pe-1.5"],clearButton:["p-2","-m-2","z-10","hidden","absolute","right-3","appearance-none","outline-none","select-none","opacity-0","hover:!opacity-100","cursor-pointer","active:!opacity-70","rounded-full",...co],helperWrapper:"hidden group-data-[has-helper=true]:flex p-1 relative flex-col gap-1.5",description:"text-tiny text-foreground-400",errorMessage:"text-tiny text-danger"},variants:{variant:{flat:{inputWrapper:["bg-default-100","data-[hover=true]:bg-default-200","group-data-[focus=true]:bg-default-100"]},faded:{inputWrapper:["bg-default-100","border-medium","border-default-200","data-[hover=true]:border-default-400"],value:"group-data-[has-value=true]:text-default-foreground"},bordered:{inputWrapper:["border-medium","border-default-200","data-[hover=true]:border-default-400","group-data-[focus=true]:border-default-foreground"]},underlined:{inputWrapper:["!px-1","!pb-0","!gap-0","relative","box-border","border-b-medium","shadow-[0_1px_0px_0_rgba(0,0,0,0.05)]","border-default-200","!rounded-none","hover:border-default-300","after:content-['']","after:w-0","after:origin-center","after:bg-default-foreground","after:absolute","after:left-1/2","after:-translate-x-1/2","after:-bottom-[2px]","after:h-[2px]","group-data-[focus=true]:after:w-full"],innerWrapper:"pb-1",label:"group-data-[filled-within=true]:text-foreground"}},color:{default:{},primary:{},secondary:{},success:{},warning:{},danger:{}},size:{sm:{label:"text-tiny",inputWrapper:"h-unit-8 min-h-unit-8 px-2 rounded-small",input:"text-small",clearButton:"text-medium"},md:{inputWrapper:"h-unit-10 min-h-unit-10 rounded-medium",input:"text-small",clearButton:"text-large"},lg:{inputWrapper:"h-unit-12 min-h-unit-12 rounded-large",input:"text-medium",clearButton:"text-large"}},radius:{none:{inputWrapper:"rounded-none"},sm:{inputWrapper:"rounded-small"},md:{inputWrapper:"rounded-medium"},lg:{inputWrapper:"rounded-large"},full:{inputWrapper:"rounded-full"}},labelPlacement:{outside:{mainWrapper:"flex flex-col"},"outside-left":{base:"flex-row items-center flex-nowrap data-[has-helper=true]:items-start",inputWrapper:"flex-1",mainWrapper:"flex flex-col",label:"relative text-foreground pr-2"},inside:{label:"text-tiny cursor-text",inputWrapper:"flex-col items-start justify-center gap-0",innerWrapper:"group-data-[has-label=true]:items-end"}},fullWidth:{true:{base:"w-full"}},isClearable:{true:{input:"peer pr-6",clearButton:"peer-data-[filled=true]:opacity-70 peer-data-[filled=true]:block"}},isDisabled:{true:{base:"opacity-disabled pointer-events-none",inputWrapper:"pointer-events-none",label:"pointer-events-none"}},isInvalid:{true:{label:"!text-danger",input:"!placeholder:text-danger !text-danger"}},isRequired:{true:{label:"after:content-['*'] after:text-danger after:ml-0.5"}},isMultiline:{true:{label:"relative",inputWrapper:"!h-auto",innerWrapper:"items-start group-data-[has-label=true]:items-start",input:"resize-none data-[hide-scroll=true]:scrollbar-hide"}},disableAnimation:{true:{input:"transition-none",inputWrapper:"transition-none",label:"transition-none"},false:{inputWrapper:"transition-background motion-reduce:transition-none !duration-150",label:["will-change-auto","!duration-200","!ease-out","motion-reduce:transition-none","transition-[transform,color,left,opacity]"],clearButton:["transition-opacity","motion-reduce:transition-none"]}}},defaultVariants:{variant:"flat",color:"default",size:"md",fullWidth:!0,labelPlacement:"inside",isDisabled:!1,isMultiline:!1,disableAnimation:!1},compoundVariants:[{variant:"flat",color:"default",class:{input:"group-data-[has-value=true]:text-default-foreground"}},{variant:"flat",color:"primary",class:{inputWrapper:["bg-primary-50","data-[hover=true]:bg-primary-100","text-primary","group-data-[focus=true]:bg-primary-50","placeholder:text-primary"],input:"placeholder:text-primary",label:"text-primary"}},{variant:"flat",color:"secondary",class:{inputWrapper:["bg-secondary-50","text-secondary","data-[hover=true]:bg-secondary-100","group-data-[focus=true]:bg-secondary-50","placeholder:text-secondary"],input:"placeholder:text-secondary",label:"text-secondary"}},{variant:"flat",color:"success",class:{inputWrapper:["bg-success-50","text-success-600","dark:text-success","placeholder:text-success-600","dark:placeholder:text-success","data-[hover=true]:bg-success-100","group-data-[focus=true]:bg-success-50"],input:"placeholder:text-success-600 dark:placeholder:text-success",label:"text-success-600 dark:text-success"}},{variant:"flat",color:"warning",class:{inputWrapper:["bg-warning-50","text-warning-600","dark:text-warning","placeholder:text-warning-600","dark:placeholder:text-warning","data-[hover=true]:bg-warning-100","group-data-[focus=true]:bg-warning-50"],input:"placeholder:text-warning-600 dark:placeholder:text-warning",label:"text-warning-600 dark:text-warning"}},{variant:"flat",color:"danger",class:{inputWrapper:["bg-danger-50","text-danger","dark:text-danger-500","placeholder:text-danger","dark:placeholder:text-danger-500","data-[hover=true]:bg-danger-100","group-data-[focus=true]:bg-danger-50"],input:"placeholder:text-danger dark:placeholder:text-danger-500",label:"text-danger dark:text-danger-500"}},{variant:"faded",color:"primary",class:{label:"text-primary",inputWrapper:"data-[hover=true]:border-primary focus-within:border-primary"}},{variant:"faded",color:"secondary",class:{label:"text-secondary",inputWrapper:"data-[hover=true]:border-secondary focus-within:border-secondary"}},{variant:"faded",color:"success",class:{label:"text-success",inputWrapper:"data-[hover=true]:border-success focus-within:border-success"}},{variant:"faded",color:"warning",class:{label:"text-warning",inputWrapper:"data-[hover=true]:border-warning focus-within:border-warning"}},{variant:"faded",color:"danger",class:{label:"text-danger",inputWrapper:"data-[hover=true]:border-danger focus-within:border-danger"}},{variant:"underlined",color:"default",class:{input:"group-data-[has-value=true]:text-foreground"}},{variant:"underlined",color:"primary",class:{inputWrapper:"after:bg-primary",label:"text-primary"}},{variant:"underlined",color:"secondary",class:{inputWrapper:"after:bg-secondary",label:"text-secondary"}},{variant:"underlined",color:"success",class:{inputWrapper:"after:bg-success",label:"text-success"}},{variant:"underlined",color:"warning",class:{inputWrapper:"after:bg-warning",label:"text-warning"}},{variant:"underlined",color:"danger",class:{inputWrapper:"after:bg-danger",label:"text-danger"}},{variant:"bordered",color:"primary",class:{inputWrapper:"group-data-[focus=true]:border-primary",label:"text-primary"}},{variant:"bordered",color:"secondary",class:{inputWrapper:"group-data-[focus=true]:border-secondary",label:"text-secondary"}},{variant:"bordered",color:"success",class:{inputWrapper:"group-data-[focus=true]:border-success",label:"text-success"}},{variant:"bordered",color:"warning",class:{inputWrapper:"group-data-[focus=true]:border-warning",label:"text-warning"}},{variant:"bordered",color:"danger",class:{inputWrapper:"group-data-[focus=true]:border-danger",label:"text-danger"}},{labelPlacement:"inside",color:"default",class:{label:"group-data-[filled-within=true]:text-default-600"}},{labelPlacement:"outside",color:"default",class:{label:"group-data-[filled-within=true]:text-foreground"}},{radius:"full",size:["sm"],class:{inputWrapper:"px-3"}},{radius:"full",size:"md",class:{inputWrapper:"px-4"}},{radius:"full",size:"lg",class:{inputWrapper:"px-5"}},{disableAnimation:!1,variant:["faded","bordered"],class:{inputWrapper:"transition-colors motion-reduce:transition-none"}},{disableAnimation:!1,variant:"underlined",class:{inputWrapper:"after:transition-width motion-reduce:after:transition-none"}},{variant:["flat","faded"],class:{inputWrapper:[...ja]}},{isInvalid:!0,variant:"flat",class:{inputWrapper:["bg-danger-50","data-[hover=true]:bg-danger-100","group-data-[focus=true]:bg-danger-50"]}},{isInvalid:!0,variant:"bordered",class:{inputWrapper:"!border-danger group-data-[focus=true]:border-danger"}},{isInvalid:!0,variant:"underlined",class:{inputWrapper:"after:bg-danger"}},{labelPlacement:"inside",size:"sm",class:{inputWrapper:"h-12 py-1.5 px-3"}},{labelPlacement:"inside",size:"md",class:{inputWrapper:"h-14 py-2"}},{labelPlacement:"inside",size:"lg",class:{label:"text-small",inputWrapper:"h-16 py-2.5 gap-0"}},{labelPlacement:"inside",size:"sm",variant:["bordered","faded"],class:{inputWrapper:"py-1"}},{labelPlacement:["inside","outside"],class:{label:["group-data-[filled-within=true]:pointer-events-auto"]}},{labelPlacement:["outside","outside-left"],class:{input:"h-full"}},{labelPlacement:"outside",isMultiline:!1,class:{base:"group relative justify-end",label:["pb-0","z-20","top-1/2","-translate-y-1/2","group-data-[filled-within=true]:left-0"]}},{labelPlacement:["inside"],class:{label:["group-data-[filled-within=true]:scale-85"]}},{labelPlacement:["inside"],variant:"flat",class:{innerWrapper:"pb-0.5"}},{variant:"underlined",size:"sm",class:{innerWrapper:"pb-1"}},{variant:"underlined",size:["md","lg"],class:{innerWrapper:"pb-1.5"}},{labelPlacement:"inside",size:["sm","md"],class:{label:"text-small"}},{labelPlacement:"inside",isMultiline:!1,size:"sm",class:{label:["group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.tiny)/2_-_8px)]"]}},{labelPlacement:"inside",isMultiline:!1,size:"md",class:{label:["group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_6px)]"]}},{labelPlacement:"inside",isMultiline:!1,size:"lg",class:{label:["text-medium","group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_8px)]"]}},{labelPlacement:"inside",variant:["faded","bordered"],isMultiline:!1,size:"sm",class:{label:["group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.tiny)/2_-_8px_-_theme(borderWidth.medium))]"]}},{labelPlacement:"inside",variant:["faded","bordered"],isMultiline:!1,size:"md",class:{label:["group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_6px_-_theme(borderWidth.medium))]"]}},{labelPlacement:"inside",variant:["faded","bordered"],isMultiline:!1,size:"lg",class:{label:["text-medium","group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_8px_-_theme(borderWidth.medium))]"]}},{labelPlacement:"inside",variant:"underlined",isMultiline:!1,size:"sm",class:{label:["group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.tiny)/2_-_5px)]"]}},{labelPlacement:"inside",variant:"underlined",isMultiline:!1,size:"md",class:{label:["group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_3.5px)]"]}},{labelPlacement:"inside",variant:"underlined",size:"lg",isMultiline:!1,class:{label:["text-medium","group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_4px)]"]}},{labelPlacement:"outside",size:"sm",isMultiline:!1,class:{label:["left-2","text-tiny","group-data-[filled-within=true]:-translate-y-[calc(100%_+_theme(fontSize.tiny)/2_+_16px)]"],base:"data-[has-label=true]:mt-[calc(theme(fontSize.small)_+_8px)]"}},{labelPlacement:"outside",size:"md",isMultiline:!1,class:{label:["left-3","text-small","group-data-[filled-within=true]:-translate-y-[calc(100%_+_theme(fontSize.small)/2_+_20px)]"],base:"data-[has-label=true]:mt-[calc(theme(fontSize.small)_+_10px)]"}},{labelPlacement:"outside",size:"lg",isMultiline:!1,class:{label:["left-3","text-medium","group-data-[filled-within=true]:-translate-y-[calc(100%_+_theme(fontSize.small)/2_+_24px)]"],base:"data-[has-label=true]:mt-[calc(theme(fontSize.small)_+_12px)]"}},{labelPlacement:"outside-left",size:"sm",class:{label:"group-data-[has-helper=true]:pt-2"}},{labelPlacement:"outside-left",size:"md",class:{label:"group-data-[has-helper=true]:pt-3"}},{labelPlacement:"outside-left",size:"lg",class:{label:"group-data-[has-helper=true]:pt-4"}},{labelPlacement:["outside","outside-left"],isMultiline:!0,class:{inputWrapper:"py-2"}},{labelPlacement:"outside",isMultiline:!0,class:{label:"pb-1.5"}},{labelPlacement:"inside",isMultiline:!0,class:{label:"pb-0.5",input:"pt-0"}},{isMultiline:!0,disableAnimation:!1,class:{input:"transition-height !duration-100 motion-reduce:transition-none"}},{labelPlacement:["inside","outside"],class:{label:["pe-2","max-w-full","text-ellipsis","overflow-hidden"]}},{isMultiline:!0,radius:"full",class:{inputWrapper:"data-[has-multiple-rows=true]:rounded-large"}}]}),ny=gt({slots:{base:"group relative max-w-fit inline-flex items-center justify-start cursor-pointer tap-highlight-transparent p-2 -m-2",wrapper:["relative","inline-flex","items-center","justify-center","flex-shrink-0","overflow-hidden","before:content-['']","before:absolute","before:inset-0","before:border-solid","before:border-2","before:box-border","before:border-default","after:content-['']","after:absolute","after:inset-0","after:scale-50","after:opacity-0","after:origin-center","group-data-[selected=true]:after:scale-100","group-data-[selected=true]:after:opacity-100","group-data-[hover=true]:before:bg-default-100",...ja],icon:"z-10 w-4 h-3 opacity-0 group-data-[selected=true]:opacity-100",label:"relative text-foreground select-none"},variants:{color:{default:{wrapper:"after:bg-default after:text-default-foreground text-default-foreground"},primary:{wrapper:"after:bg-primary after:text-primary-foreground text-primary-foreground"},secondary:{wrapper:"after:bg-secondary after:text-secondary-foreground text-secondary-foreground"},success:{wrapper:"after:bg-success after:text-success-foreground text-success-foreground"},warning:{wrapper:"after:bg-warning after:text-warning-foreground text-warning-foreground"},danger:{wrapper:"after:bg-danger after:text-danger-foreground text-danger-foreground"}},size:{sm:{wrapper:["w-4 h-4 mr-2","rounded-[calc(theme(borderRadius.medium)*0.5)]","before:rounded-[calc(theme(borderRadius.medium)*0.5)]","after:rounded-[calc(theme(borderRadius.medium)*0.5)]"],label:"text-small",icon:"w-3 h-2"},md:{wrapper:["w-5 h-5 mr-2","rounded-[calc(theme(borderRadius.medium)*0.6)]","before:rounded-[calc(theme(borderRadius.medium)*0.6)]","after:rounded-[calc(theme(borderRadius.medium)*0.6)]"],label:"text-medium",icon:"w-4 h-3"},lg:{wrapper:["w-6 h-6 mr-2","rounded-[calc(theme(borderRadius.medium)*0.7)]","before:rounded-[calc(theme(borderRadius.medium)*0.7)]","after:rounded-[calc(theme(borderRadius.medium)*0.7)]"],label:"text-large",icon:"w-5 h-4"}},radius:{none:{wrapper:"rounded-none before:rounded-none after:rounded-none"},sm:{wrapper:["rounded-[calc(theme(borderRadius.medium)*0.5)]","before:rounded-[calc(theme(borderRadius.medium)*0.5)]","after:rounded-[calc(theme(borderRadius.medium)*0.5)]"]},md:{wrapper:["rounded-[calc(theme(borderRadius.medium)*0.6)]","before:rounded-[calc(theme(borderRadius.medium)*0.6)]","after:rounded-[calc(theme(borderRadius.medium)*0.6)]"]},lg:{wrapper:["rounded-[calc(theme(borderRadius.medium)*0.7)]","before:rounded-[calc(theme(borderRadius.medium)*0.7)]","after:rounded-[calc(theme(borderRadius.medium)*0.7)]"]},full:{wrapper:"rounded-full before:rounded-full after:rounded-full"}},lineThrough:{true:{label:["inline-flex","items-center","justify-center","before:content-['']","before:absolute","before:bg-foreground","before:w-0","before:h-0.5","group-data-[selected=true]:opacity-60","group-data-[selected=true]:before:w-full"]}},isDisabled:{true:{base:"opacity-disabled pointer-events-none"}},isInvalid:{true:{wrapper:"before:border-danger",label:"text-danger"}},disableAnimation:{true:{wrapper:"transition-none",icon:"transition-none",label:"transition-none"},false:{wrapper:["before:transition-colors","group-data-[pressed=true]:scale-95","transition-transform","after:transition-transform-opacity","after:!ease-linear","after:!duration-200","motion-reduce:transition-none"],icon:"transition-opacity motion-reduce:transition-none",label:"transition-colors-opacity before:transition-width motion-reduce:transition-none"}}},defaultVariants:{color:"primary",size:"md",isDisabled:!1,lineThrough:!1,disableAnimation:!1}});gt({slots:{base:"relative flex flex-col gap-2",label:"relative text-medium text-foreground-500",wrapper:"flex flex-col flex-wrap gap-2 data-[orientation=horizontal]:flex-row",description:"text-small text-foreground-400",errorMessage:"text-small text-danger"},variants:{isRequired:{true:{label:"after:content-['*'] after:text-danger after:ml-0.5"}},isInvalid:{true:{description:"text-danger"}},disableAnimation:{true:{},false:{description:"transition-colors !duration-150 motion-reduce:transition-none"}}},defaultVariants:{isInvalid:!1,isRequired:!1,disableAnimation:!1}});var vf=gt({slots:{base:["relative","max-w-fit","inline-flex","items-center","justify-between","box-border","whitespace-nowrap"],content:"flex-1 text-inherit font-normal",dot:["w-2","h-2","ml-1","rounded-full"],avatar:"flex-shrink-0",closeButton:["z-10","appearance-none","outline-none","select-none","transition-opacity","opacity-70","hover:opacity-100","cursor-pointer","active:opacity-disabled","tap-highlight-transparent"]},variants:{variant:{solid:{},bordered:{base:"border-medium bg-transparent"},light:{base:"bg-transparent"},flat:{},faded:{base:"border-medium"},shadow:{},dot:{base:"border-medium border-default text-foreground bg-transparent"}},color:{default:{dot:"bg-default-400"},primary:{dot:"bg-primary"},secondary:{dot:"bg-secondary"},success:{dot:"bg-success"},warning:{dot:"bg-warning"},danger:{dot:"bg-danger"}},size:{sm:{base:"px-1 h-6 text-tiny",content:"px-1",closeButton:"text-medium",avatar:"w-4 h-4"},md:{base:"px-1 h-7 text-small",content:"px-2",closeButton:"text-large",avatar:"w-5 h-5"},lg:{base:"px-2 h-8 text-medium",content:"px-2",closeButton:"text-xl",avatar:"w-6 h-6"}},radius:{none:{base:"rounded-none"},sm:{base:"rounded-small"},md:{base:"rounded-medium"},lg:{base:"rounded-large"},full:{base:"rounded-full"}},isOneChar:{true:{},false:{}},isCloseable:{true:{},false:{}},hasStartContent:{true:{}},hasEndContent:{true:{}},isDisabled:{true:{base:"opacity-disabled pointer-events-none"}},isCloseButtonFocusVisible:{true:{closeButton:[...X2,"ring-1","rounded-full"]}}},defaultVariants:{variant:"solid",color:"default",size:"md",radius:"full",isDisabled:!1},compoundVariants:[{variant:"solid",color:"default",class:{base:J.solid.default}},{variant:"solid",color:"primary",class:{base:J.solid.primary}},{variant:"solid",color:"secondary",class:{base:J.solid.secondary}},{variant:"solid",color:"success",class:{base:J.solid.success}},{variant:"solid",color:"warning",class:{base:J.solid.warning}},{variant:"solid",color:"danger",class:{base:J.solid.danger}},{variant:"shadow",color:"default",class:{base:J.shadow.default}},{variant:"shadow",color:"primary",class:{base:J.shadow.primary}},{variant:"shadow",color:"secondary",class:{base:J.shadow.secondary}},{variant:"shadow",color:"success",class:{base:J.shadow.success}},{variant:"shadow",color:"warning",class:{base:J.shadow.warning}},{variant:"shadow",color:"danger",class:{base:J.shadow.danger}},{variant:"bordered",color:"default",class:{base:J.bordered.default}},{variant:"bordered",color:"primary",class:{base:J.bordered.primary}},{variant:"bordered",color:"secondary",class:{base:J.bordered.secondary}},{variant:"bordered",color:"success",class:{base:J.bordered.success}},{variant:"bordered",color:"warning",class:{base:J.bordered.warning}},{variant:"bordered",color:"danger",class:{base:J.bordered.danger}},{variant:"flat",color:"default",class:{base:J.flat.default}},{variant:"flat",color:"primary",class:{base:J.flat.primary}},{variant:"flat",color:"secondary",class:{base:J.flat.secondary}},{variant:"flat",color:"success",class:{base:J.flat.success}},{variant:"flat",color:"warning",class:{base:J.flat.warning}},{variant:"flat",color:"danger",class:{base:J.flat.danger}},{variant:"faded",color:"default",class:{base:J.faded.default}},{variant:"faded",color:"primary",class:{base:J.faded.primary}},{variant:"faded",color:"secondary",class:{base:J.faded.secondary}},{variant:"faded",color:"success",class:{base:J.faded.success}},{variant:"faded",color:"warning",class:{base:J.faded.warning}},{variant:"faded",color:"danger",class:{base:J.faded.danger}},{variant:"light",color:"default",class:{base:J.light.default}},{variant:"light",color:"primary",class:{base:J.light.primary}},{variant:"light",color:"secondary",class:{base:J.light.secondary}},{variant:"light",color:"success",class:{base:J.light.success}},{variant:"light",color:"warning",class:{base:J.light.warning}},{variant:"light",color:"danger",class:{base:J.light.danger}},{isOneChar:!0,size:"sm",class:{base:"w-5 h-5 min-w-unit-5 min-h-5"}},{isOneChar:!0,size:"md",class:{base:"w-6 h-6 min-w-unit-6 min-h-6"}},{isOneChar:!0,size:"lg",class:{base:"w-7 h-7 min-w-unit-7 min-h-7"}},{isOneChar:!0,isCloseable:!1,class:{base:"px-0 justify-center",content:"px-0 flex-none"}},{isOneChar:!0,isCloseable:!0,class:{base:"w-auto"}},{hasStartContent:!0,size:"sm",class:{content:"pl-0.5"}},{hasStartContent:!0,size:["md","lg"],class:{content:"pl-1"}},{hasEndContent:!0,size:"sm",class:{content:"pr-0.5"}},{hasEndContent:!0,size:["md","lg"],class:{content:"pr-1"}}]}),ry=gt({slots:{base:["flex","relative","justify-center","items-center","box-border","overflow-hidden","align-middle","text-white","z-0",...co],img:["flex","object-cover","w-full","h-full","transition-opacity","!duration-500","opacity-0","data-[loaded=true]:opacity-100"],fallback:[...qs,"flex","items-center","justify-center"],name:[...qs,"font-normal","text-center","text-inherit"],icon:[...qs,"flex","items-center","justify-center","text-inherit","w-full","h-full"]},variants:{size:{sm:{base:"w-8 h-8 text-tiny"},md:{base:"w-10 h-10 text-tiny"},lg:{base:"w-14 h-14 text-small"}},color:{default:{base:J.solid.default},primary:{base:J.solid.primary},secondary:{base:J.solid.secondary},success:{base:J.solid.success},warning:{base:J.solid.warning},danger:{base:J.solid.danger}},radius:{none:{base:"rounded-none"},sm:{base:"rounded-small"},md:{base:"rounded-medium"},lg:{base:"rounded-large"},full:{base:"rounded-full"}},isBordered:{true:{base:"ring-2 ring-offset-2 ring-offset-background dark:ring-offset-background-dark"}},isDisabled:{true:{base:"opacity-disabled"}},isInGroup:{true:{base:["-ms-2 data-[hover=true]:-translate-x-3 transition-transform","data-[focus-visible=true]:-translate-x-3"]}},isInGridGroup:{true:{base:"m-0 data-[hover=true]:translate-x-0"}}},defaultVariants:{size:"md",color:"default",radius:"full"},compoundVariants:[{color:"default",isBordered:!0,class:{base:"ring-default"}},{color:"primary",isBordered:!0,class:{base:"ring-primary"}},{color:"secondary",isBordered:!0,class:{base:"ring-secondary"}},{color:"success",isBordered:!0,class:{base:"ring-success"}},{color:"warning",isBordered:!0,class:{base:"ring-warning"}},{color:"danger",isBordered:!0,class:{base:"ring-danger"}}]});gt({base:"flex items-center justify-center h-auto w-max-content",variants:{isGrid:{true:"inline-grid grid-cols-4 gap-3"}}});var oy=gt({base:["z-0","group","relative","inline-flex","items-center","justify-center","box-border","appearance-none","outline-none","select-none","whitespace-nowrap","min-w-max","font-normal","subpixel-antialiased","overflow-hidden","tap-highlight-transparent",...co],variants:{variant:{solid:"",bordered:"border-medium bg-transparent",light:"bg-transparent",flat:"",faded:"border-medium",shadow:"",ghost:"border-medium bg-transparent"},size:{sm:"px-unit-3 min-w-unit-16 h-unit-8 text-tiny gap-unit-2 rounded-small",md:"px-unit-4 min-w-unit-20 h-unit-10 text-small gap-unit-2 rounded-medium",lg:"px-unit-6 min-w-unit-24 h-unit-12 text-medium gap-unit-3 rounded-large"},color:{default:"",primary:"",secondary:"",success:"",warning:"",danger:""},radius:{none:"rounded-none",sm:"rounded-small",md:"rounded-medium",lg:"rounded-large",full:"rounded-full"},fullWidth:{true:"w-full"},isDisabled:{true:"opacity-disabled pointer-events-none"},isInGroup:{true:"[&:not(:first-child):not(:last-child)]:rounded-none"},isIconOnly:{true:"px-unit-0 !gap-unit-0",false:"[&>svg]:max-w-[theme(spacing.unit-8)]"},disableAnimation:{true:"!transition-none",false:"data-[pressed=true]:scale-[0.97] transition-transform-colors-opacity motion-reduce:transition-none"}},defaultVariants:{size:"md",variant:"solid",color:"default",fullWidth:!1,isDisabled:!1,isInGroup:!1,disableAnimation:!1},compoundVariants:[{variant:"solid",color:"default",class:J.solid.default},{variant:"solid",color:"primary",class:J.solid.primary},{variant:"solid",color:"secondary",class:J.solid.secondary},{variant:"solid",color:"success",class:J.solid.success},{variant:"solid",color:"warning",class:J.solid.warning},{variant:"solid",color:"danger",class:J.solid.danger},{variant:"shadow",color:"default",class:J.shadow.default},{variant:"shadow",color:"primary",class:J.shadow.primary},{variant:"shadow",color:"secondary",class:J.shadow.secondary},{variant:"shadow",color:"success",class:J.shadow.success},{variant:"shadow",color:"warning",class:J.shadow.warning},{variant:"shadow",color:"danger",class:J.shadow.danger},{variant:"bordered",color:"default",class:J.bordered.default},{variant:"bordered",color:"primary",class:J.bordered.primary},{variant:"bordered",color:"secondary",class:J.bordered.secondary},{variant:"bordered",color:"success",class:J.bordered.success},{variant:"bordered",color:"warning",class:J.bordered.warning},{variant:"bordered",color:"danger",class:J.bordered.danger},{variant:"flat",color:"default",class:J.flat.default},{variant:"flat",color:"primary",class:J.flat.primary},{variant:"flat",color:"secondary",class:J.flat.secondary},{variant:"flat",color:"success",class:J.flat.success},{variant:"flat",color:"warning",class:J.flat.warning},{variant:"flat",color:"danger",class:J.flat.danger},{variant:"faded",color:"default",class:J.faded.default},{variant:"faded",color:"primary",class:J.faded.primary},{variant:"faded",color:"secondary",class:J.faded.secondary},{variant:"faded",color:"success",class:J.faded.success},{variant:"faded",color:"warning",class:J.faded.warning},{variant:"faded",color:"danger",class:J.faded.danger},{variant:"light",color:"default",class:[J.light.default,"data-[hover=true]:bg-default/40"]},{variant:"light",color:"primary",class:[J.light.primary,"data-[hover=true]:bg-primary/20"]},{variant:"light",color:"secondary",class:[J.light.secondary,"data-[hover=true]:bg-secondary/20"]},{variant:"light",color:"success",class:[J.light.success,"data-[hover=true]:bg-success/20"]},{variant:"light",color:"warning",class:[J.light.warning,"data-[hover=true]:bg-warning/20"]},{variant:"light",color:"danger",class:[J.light.danger,"data-[hover=true]:bg-danger/20"]},{variant:"ghost",color:"default",class:J.ghost.default},{variant:"ghost",color:"primary",class:J.ghost.primary},{variant:"ghost",color:"secondary",class:J.ghost.secondary},{variant:"ghost",color:"success",class:J.ghost.success},{variant:"ghost",color:"warning",class:J.ghost.warning},{variant:"ghost",color:"danger",class:J.ghost.danger},{isInGroup:!0,class:"rounded-none first:rounded-s-medium last:rounded-e-medium"},{isInGroup:!0,size:"sm",class:"rounded-none first:rounded-s-small last:rounded-e-small"},{isInGroup:!0,size:"md",class:"rounded-none first:rounded-s-medium last:rounded-e-medium"},{isInGroup:!0,size:"lg",class:"rounded-none first:rounded-s-large last:rounded-e-large"},{isInGroup:!0,isRounded:!0,class:"rounded-none first:rounded-s-full last:rounded-e-full"},{isInGroup:!0,radius:"none",class:"rounded-none first:rounded-s-none last:rounded-e-none"},{isInGroup:!0,radius:"sm",class:"rounded-none first:rounded-s-small last:rounded-e-small"},{isInGroup:!0,radius:"md",class:"rounded-none first:rounded-s-medium last:rounded-e-medium"},{isInGroup:!0,radius:"lg",class:"rounded-none first:rounded-s-large last:rounded-e-large"},{isInGroup:!0,radius:"full",class:"rounded-none first:rounded-s-full last:rounded-e-full"},{isInGroup:!0,variant:["ghost","bordered"],color:"default",className:wr.default},{isInGroup:!0,variant:["ghost","bordered"],color:"primary",className:wr.primary},{isInGroup:!0,variant:["ghost","bordered"],color:"secondary",className:wr.secondary},{isInGroup:!0,variant:["ghost","bordered"],color:"success",className:wr.success},{isInGroup:!0,variant:["ghost","bordered"],color:"warning",className:wr.warning},{isInGroup:!0,variant:["ghost","bordered"],color:"danger",className:wr.danger},{isIconOnly:!0,size:"sm",class:"min-w-unit-8 w-unit-8 h-unit-8"},{isIconOnly:!0,size:"md",class:"min-w-unit-10 w-unit-10 h-unit-10"},{isIconOnly:!0,size:"lg",class:"min-w-unit-12 w-unit-12 h-unit-12"},{variant:["solid","faded","flat","bordered","shadow"],class:"data-[hover=true]:opacity-hover"}]});gt({base:"inline-flex items-center justify-center h-auto",variants:{fullWidth:{true:"w-full"}},defaultVariants:{fullWidth:!1}});var ay=e=>(e==null?void 0:e.length)<=4?e:e==null?void 0:e.slice(0,3),el=(...e)=>{let t=" ";for(const n of e)if(typeof n=="string"&&n.length>0){t=n;break}return t};function yf(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=yf(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function we(...e){for(var t=0,n,r,o="";t<e.length;)(n=e[t++])&&(r=yf(n))&&(o&&(o+=" "),o+=r);return o}var xf={};function Ba(e,t,...n){var r;const a=`[Next UI]${t?` [${t}]`:" "}: ${e}`;if(!(typeof console>"u")&&!xf[a]&&(xf[a]=!0,((r=process==null?void 0:process.env)==null?void 0:r.NODE_ENV)!=="production"))return console.warn(a,n)}function iy(e){return`${e}-${Math.floor(Math.random()*1e6)}`}var Cf=process.env.NODE_ENV!=="production";process.env.NODE_ENV;var re=e=>e?"true":void 0;function Wa(e={}){const{strict:t=!0,errorMessage:n="useContext: `context` is undefined. Seems you forgot to wrap component within the Provider",name:r}=e,o=V.createContext(void 0);o.displayName=r;function a(){var i;const s=V.useContext(o);if(!s&&t){const l=new Error(n);throw l.name="ContextError",(i=Error.captureStackTrace)==null||i.call(Error,l,a),l}return s}return[o.Provider,a,o]}function sy(e){return{UNSAFE_getDOMNode(){return e.current}}}function ly(e,t=e){return{...sy(e),focus(){t.current&&t.current.focus()}}}function bt(e){const t=f.useRef(null);return f.useImperativeHandle(e,()=>t.current),t}function wf(e,t){const n=f.useRef(null);return f.useImperativeHandle(e,()=>ly(n,t)),n}var uy=new Set(["id","type","style","title","role","tabIndex","htmlFor","width","height","abbr","accept","acceptCharset","accessKey","action","allowFullScreen","allowTransparency","alt","async","autoComplete","autoFocus","autoPlay","cellPadding","cellSpacing","challenge","charset","checked","cite","class","className","cols","colSpan","command","content","contentEditable","contextMenu","controls","coords","crossOrigin","data","dateTime","default","defer","dir","disabled","download","draggable","dropzone","encType","for","form","formAction","formEncType","formMethod","formNoValidate","formTarget","frameBorder","headers","hidden","high","href","hrefLang","httpEquiv","icon","inputMode","isMap","itemId","itemProp","itemRef","itemScope","itemType","kind","label","lang","list","loop","manifest","max","maxLength","media","mediaGroup","method","min","minLength","multiple","muted","name","noValidate","open","optimum","pattern","ping","placeholder","poster","preload","radioGroup","referrerPolicy","readOnly","rel","required","rows","rowSpan","sandbox","scope","scoped","scrolling","seamless","selected","shape","size","sizes","slot","sortable","span","spellCheck","src","srcDoc","srcSet","start","step","target","translate","typeMustMatch","useMap","value","wmode","wrap"]),cy=new Set(["onCopy","onCut","onPaste","onLoad","onError","onWheel","onScroll","onCompositionEnd","onCompositionStart","onCompositionUpdate","onKeyDown","onKeyPress","onKeyUp","onFocus","onBlur","onChange","onInput","onSubmit","onClick","onContextMenu","onDoubleClick","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onPointerDown","onPointerEnter","onPointerLeave","onPointerUp","onSelect","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onAnimationStart","onAnimationEnd","onAnimationIteration","onTransitionEnd"]),dy=/^(data-.*)$/,fy=/^(aria-.*)$/,tl=/^(on[A-Z].*)$/;function fo(e,t={}){let{labelable:n=!0,enabled:r=!0,propNames:o,omitPropNames:a,omitEventNames:i}=t,s={};if(!r)return e;for(const l in e)a!=null&&a.has(l)||i!=null&&i.has(l)&&tl.test(l)||tl.test(l)&&!cy.has(l)||(Object.prototype.hasOwnProperty.call(e,l)&&(uy.has(l)||n&&fy.test(l)||o!=null&&o.has(l)||dy.test(l))||tl.test(l))&&(s[l]=e[l]);return s}function nl(e){return Qv()?e.altKey:e.ctrlKey}function Ir(e){return yn()?e.metaKey:e.ctrlKey}const py=1e3;function my(e){let{keyboardDelegate:t,selectionManager:n,onTypeSelect:r}=e,o=f.useRef({search:"",timeout:null}).current,a=i=>{let s=hy(i.key);if(!s||i.ctrlKey||i.metaKey||!i.currentTarget.contains(i.target))return;s===" "&&o.search.trim().length>0&&(i.preventDefault(),"continuePropagation"in i||i.stopPropagation()),o.search+=s;let l=t.getKeyForSearch(o.search,n.focusedKey);l==null&&(l=t.getKeyForSearch(o.search)),l!=null&&(n.setFocusedKey(l),r&&r(l)),clearTimeout(o.timeout),o.timeout=setTimeout(()=>{o.search=""},py)};return{typeSelectProps:{onKeyDownCapture:t.getKeyForSearch?a:null}}}function hy(e){return e.length===1||!/^[A-Z]/i.test(e)?e:""}function gy(e){let{selectionManager:t,keyboardDelegate:n,ref:r,autoFocus:o=!1,shouldFocusWrap:a=!1,disallowEmptySelection:i=!1,disallowSelectAll:s=!1,selectOnFocus:l=t.selectionBehavior==="replace",disallowTypeAhead:u=!1,shouldUseVirtualFocus:c,allowsTabNavigation:d=!1,isVirtualized:p,scrollRef:m=r,linkBehavior:h="action"}=e,{direction:g}=Vs(),b=Vd(),x=$=>{if($.altKey&&$.key==="Tab"&&$.preventDefault(),!r.current.contains($.target))return;const M=(H,X)=>{if(H!=null){if(t.isLink(H)&&h==="selection"&&l&&!nl($)){mr.flushSync(()=>{t.setFocusedKey(H,X)});let B=m.current.querySelector(`[data-key="${CSS.escape(H.toString())}"]`);b.open(B,$);return}if(t.setFocusedKey(H,X),t.isLink(H)&&h==="override")return;$.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(H):l&&!nl($)&&t.replaceSelection(H)}};switch($.key){case"ArrowDown":if(n.getKeyBelow){var k,I;$.preventDefault();let H=t.focusedKey!=null?n.getKeyBelow(t.focusedKey):(k=n.getFirstKey)===null||k===void 0?void 0:k.call(n);H==null&&a&&(H=(I=n.getFirstKey)===null||I===void 0?void 0:I.call(n,t.focusedKey)),M(H)}break;case"ArrowUp":if(n.getKeyAbove){var P,O;$.preventDefault();let H=t.focusedKey!=null?n.getKeyAbove(t.focusedKey):(P=n.getLastKey)===null||P===void 0?void 0:P.call(n);H==null&&a&&(H=(O=n.getLastKey)===null||O===void 0?void 0:O.call(n,t.focusedKey)),M(H)}break;case"ArrowLeft":if(n.getKeyLeftOf){var j,N;$.preventDefault();let H=n.getKeyLeftOf(t.focusedKey);H==null&&a&&(H=g==="rtl"?(j=n.getFirstKey)===null||j===void 0?void 0:j.call(n,t.focusedKey):(N=n.getLastKey)===null||N===void 0?void 0:N.call(n,t.focusedKey)),M(H,g==="rtl"?"first":"last")}break;case"ArrowRight":if(n.getKeyRightOf){var W,K;$.preventDefault();let H=n.getKeyRightOf(t.focusedKey);H==null&&a&&(H=g==="rtl"?(W=n.getLastKey)===null||W===void 0?void 0:W.call(n,t.focusedKey):(K=n.getFirstKey)===null||K===void 0?void 0:K.call(n,t.focusedKey)),M(H,g==="rtl"?"last":"first")}break;case"Home":if(n.getFirstKey){$.preventDefault();let H=n.getFirstKey(t.focusedKey,Ir($));t.setFocusedKey(H),Ir($)&&$.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(H):l&&t.replaceSelection(H)}break;case"End":if(n.getLastKey){$.preventDefault();let H=n.getLastKey(t.focusedKey,Ir($));t.setFocusedKey(H),Ir($)&&$.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(H):l&&t.replaceSelection(H)}break;case"PageDown":if(n.getKeyPageBelow){$.preventDefault();let H=n.getKeyPageBelow(t.focusedKey);M(H)}break;case"PageUp":if(n.getKeyPageAbove){$.preventDefault();let H=n.getKeyPageAbove(t.focusedKey);M(H)}break;case"a":Ir($)&&t.selectionMode==="multiple"&&s!==!0&&($.preventDefault(),t.selectAll());break;case"Escape":$.preventDefault(),i||t.clearSelection();break;case"Tab":if(!d){if($.shiftKey)r.current.focus();else{let H=Us(r.current,{tabbable:!0}),X,B;do B=H.lastChild(),B&&(X=B);while(B);X&&!X.contains(document.activeElement)&&ht(X)}break}}},y=f.useRef({top:0,left:0});s2(m,"scroll",p?null:()=>{y.current={top:m.current.scrollTop,left:m.current.scrollLeft}});let w=$=>{if(t.isFocused){$.currentTarget.contains($.target)||t.setFocused(!1);return}if($.currentTarget.contains($.target)){if(t.setFocused(!0),t.focusedKey==null){let I=O=>{O!=null&&(t.setFocusedKey(O),l&&t.replaceSelection(O))},P=$.relatedTarget;var M,k;P&&$.currentTarget.compareDocumentPosition(P)&Node.DOCUMENT_POSITION_FOLLOWING?I((M=t.lastSelectedKey)!==null&&M!==void 0?M:n.getLastKey()):I((k=t.firstSelectedKey)!==null&&k!==void 0?k:n.getFirstKey())}else p||(m.current.scrollTop=y.current.top,m.current.scrollLeft=y.current.left);if(!p&&t.focusedKey!=null){let I=m.current.querySelector(`[data-key="${CSS.escape(t.focusedKey.toString())}"]`);I&&(I.contains(document.activeElement)||ht(I),Hs()==="keyboard"&&Rd(I,{containingElement:r.current}))}}},S=$=>{$.currentTarget.contains($.relatedTarget)||t.setFocused(!1)};const E=f.useRef(o);f.useEffect(()=>{if(E.current){let $=null;o==="first"&&($=n.getFirstKey()),o==="last"&&($=n.getLastKey());let M=t.selectedKeys;if(M.size){for(let k of M)if(t.canSelectItem(k)){$=k;break}}t.setFocused(!0),t.setFocusedKey($),$==null&&!c&&Fa(r.current)}},[]);let A=f.useRef(t.focusedKey);f.useEffect(()=>{let $=Hs();if(t.isFocused&&t.focusedKey!=null&&(m!=null&&m.current)){let M=m.current.querySelector(`[data-key="${CSS.escape(t.focusedKey.toString())}"]`);M&&($==="keyboard"||E.current)&&(p||_d(m.current,M),Rd(M,{containingElement:r.current}))}t.isFocused&&t.focusedKey==null&&A.current!=null&&Fa(r.current),A.current=t.focusedKey,E.current=!1},[p,m,t.focusedKey,t.isFocused,r]);let T={onKeyDown:x,onFocus:w,onBlur:S,onMouseDown($){m.current===$.target&&$.preventDefault()}},{typeSelectProps:v}=my({keyboardDelegate:n,selectionManager:t});u||(T=he(v,T));let D;return c||(D=t.focusedKey==null?0:-1),{collectionProps:{...T,tabIndex:D}}}function by(e){let{selectionManager:t,key:n,ref:r,shouldSelectOnPressUp:o,shouldUseVirtualFocus:a,focus:i,isDisabled:s,onAction:l,allowsDifferentPressOrigin:u,linkBehavior:c="action"}=e,d=Vd(),p=N=>{if(N.pointerType==="keyboard"&&nl(N))t.toggleSelection(n);else{if(t.selectionMode==="none")return;if(t.isLink(n)){if(c==="selection"){d.open(r.current,N),t.setSelectedKeys(t.selectedKeys);return}else if(c==="override"||c==="none")return}t.selectionMode==="single"?t.isSelected(n)&&!t.disallowEmptySelection?t.toggleSelection(n):t.replaceSelection(n):N&&N.shiftKey?t.extendSelection(n):t.selectionBehavior==="toggle"||N&&(Ir(N)||N.pointerType==="touch"||N.pointerType==="virtual")?t.toggleSelection(n):t.replaceSelection(n)}};f.useEffect(()=>{n===t.focusedKey&&t.isFocused&&!a&&(i?i():document.activeElement!==r.current&&Fa(r.current))},[r,n,t.focusedKey,t.childFocusStrategy,t.isFocused,a]),s=s||t.isDisabled(n);let m={};!a&&!s?m={tabIndex:n===t.focusedKey?0:-1,onFocus(N){N.target===r.current&&t.setFocusedKey(n)}}:s&&(m.onMouseDown=N=>{N.preventDefault()});let h=t.isLink(n)&&c==="override",g=t.isLink(n)&&c!=="selection"&&c!=="none",b=!s&&t.canSelectItem(n)&&!h,x=(l||g)&&!s,y=x&&(t.selectionBehavior==="replace"?!b:!b||t.isEmpty),w=x&&b&&t.selectionBehavior==="replace",S=y||w,E=f.useRef(null),A=S&&b,T=f.useRef(!1),v=f.useRef(!1),D=N=>{l&&l(),g&&d.open(r.current,N)},$={};o?($.onPressStart=N=>{E.current=N.pointerType,T.current=A,N.pointerType==="keyboard"&&(!S||Ef())&&p(N)},u?($.onPressUp=y?null:N=>{N.pointerType!=="keyboard"&&b&&p(N)},$.onPress=y?D:null):$.onPress=N=>{if(y||w&&N.pointerType!=="mouse"){if(N.pointerType==="keyboard"&&!If())return;D(N)}else N.pointerType!=="keyboard"&&b&&p(N)}):($.onPressStart=N=>{E.current=N.pointerType,T.current=A,v.current=y,b&&(N.pointerType==="mouse"&&!y||N.pointerType==="keyboard"&&(!x||Ef()))&&p(N)},$.onPress=N=>{(N.pointerType==="touch"||N.pointerType==="pen"||N.pointerType==="virtual"||N.pointerType==="keyboard"&&S&&If()||N.pointerType==="mouse"&&v.current)&&(S?D(N):b&&p(N))}),m["data-key"]=n,$.preventFocusOnPress=a;let{pressProps:M,isPressed:k}=Vn($),I=w?N=>{E.current==="mouse"&&(N.stopPropagation(),N.preventDefault(),D(N))}:void 0,{longPressProps:P}=L2({isDisabled:!A,onLongPress(N){N.pointerType==="touch"&&(p(N),t.setSelectionBehavior("toggle"))}}),O=N=>{E.current==="touch"&&T.current&&N.preventDefault()},j=t.isLink(n)?N=>{Qt.isOpening||N.preventDefault()}:void 0;return{itemProps:he(m,b||y?M:{},A?P:{},{onDoubleClick:I,onDragStartCapture:O,onClick:j}),isPressed:k,isSelected:t.isSelected(n),isFocused:t.isFocused&&t.focusedKey===n,isDisabled:s,allowsSelection:b,hasAction:S}}function If(){let e=window.event;return(e==null?void 0:e.key)==="Enter"}function Ef(){let e=window.event;return(e==null?void 0:e.key)===" "||(e==null?void 0:e.code)==="Space"}var Pf=f.createContext(null);Pf.displayName="PressResponderContext";var vy=Object.defineProperty,yy=(e,t,n)=>t in e?vy(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,_n=(e,t,n)=>(yy(e,typeof t!="symbol"?t+"":t,n),n),Sf=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},xy=(e,t,n)=>(Sf(e,t,"read from private field"),n?n.call(e):t.get(e)),Cy=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},wy=(e,t,n,r)=>(Sf(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),_a,Ga=class{constructor(e,t,n){_n(this,"type"),_n(this,"pointerType"),_n(this,"target"),_n(this,"shiftKey"),_n(this,"ctrlKey"),_n(this,"metaKey"),_n(this,"altKey"),Cy(this,_a,!0),this.type=e,this.pointerType=t,this.target=n.currentTarget,this.shiftKey=n.shiftKey,this.metaKey=n.metaKey,this.ctrlKey=n.ctrlKey,this.altKey=n.altKey}continuePropagation(){wy(this,_a,!1)}get shouldStopPropagation(){return xy(this,_a)}};_a=new WeakMap;var Gn=e=>{var t;return(t=e==null?void 0:e.ownerDocument)!=null?t:document},rl=e=>{var t,n;return(n=(t=e==null?void 0:e.ownerDocument)==null?void 0:t.defaultView)!=null?n:window},Er="default",ol="",Ra=new WeakMap;function Mf(e){if(io()){if(Er==="default"){const t=Gn(e);ol=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}Er="disabled"}else(e instanceof HTMLElement||e instanceof SVGElement)&&(Ra.set(e,e.style.userSelect),e.style.userSelect="none")}function za(e){if(io()){if(Er!=="disabled")return;Er="restoring",setTimeout(()=>{Ds(()=>{if(Er==="restoring"){const t=Gn(e);t.documentElement.style.webkitUserSelect==="none"&&(t.documentElement.style.webkitUserSelect=ol||""),ol="",Er="default"}})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&Ra.has(e)){let t=Ra.get(e);e.style.userSelect==="none"&&t&&(e.style.userSelect=t),e.getAttribute("style")===""&&e.removeAttribute("style"),Ra.delete(e)}}function Iy(e){let t=f.useContext(Pf);if(t){let{register:n,...r}=t;e=he(r,e),n()}return ks(t,e.ref),e}var Af=Symbol("linkClicked");function po(e){let{onPress:t,onPressChange:n,onPressStart:r,onPressEnd:o,onPressUp:a,isDisabled:i,isPressed:s,preventFocusOnPress:l,shouldCancelOnPointerExit:u,allowTextSelectionOnPress:c,ref:d,...p}=Iy(e),[m,h]=f.useState(!1),g=f.useRef({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:b,removeAllGlobalListeners:x}=Ns(),y=Je((v,D)=>{let $=g.current;if(i||$.didFirePressStart)return;let M=!0;if($.isTriggeringEvent=!0,r){let k=new Ga("pressstart",D,v);r(k),M=k.shouldStopPropagation}return n&&n(!0),$.isTriggeringEvent=!1,$.didFirePressStart=!0,h(!0),M}),w=Je((v,D,$=!0)=>{let M=g.current;if(!M.didFirePressStart)return;M.ignoreClickAfterPress=!0,M.didFirePressStart=!1,M.isTriggeringEvent=!0;let k=!0;if(o){let I=new Ga("pressend",D,v);o(I),k=I.shouldStopPropagation}if(n&&n(!1),h(!1),t&&$&&!i){let I=new Ga("press",D,v);t(I),k&&(k=I.shouldStopPropagation)}return M.isTriggeringEvent=!1,k}),S=Je((v,D)=>{let $=g.current;if(!i){if(a){$.isTriggeringEvent=!0;let M=new Ga("pressup",D,v);return a(M),$.isTriggeringEvent=!1,M.shouldStopPropagation}return!0}}),E=Je(v=>{let D=g.current;D.isPressed&&(D.isOverTarget&&D.target&&w(en(D.target,v),D.pointerType,!1),D.isPressed=!1,D.isOverTarget=!1,D.activePointerId=null,D.pointerType=null,x(),!c&&D.target&&za(D.target))}),A=Je(v=>{u&&E(v)}),T=f.useMemo(()=>{let v=g.current,D={onKeyDown(M){var k;if(il(M.nativeEvent,M.currentTarget)&&M.currentTarget.contains(M.target)){Df(M.target,M.key)&&M.preventDefault();let I=!0;!v.isPressed&&!M.repeat&&(v.target=M.currentTarget,v.isPressed=!0,I=y(M,"keyboard"),b(Gn(M.currentTarget),"keyup",$,!1)),I&&M.stopPropagation(),M.metaKey&&yn()&&((k=v.metaKeyEvents)==null||k.set(M.key,M.nativeEvent))}else M.key==="Meta"&&(v.metaKeyEvents=new Map)},onKeyUp(M){v.target&&il(M.nativeEvent,M.currentTarget)&&!M.repeat&&M.currentTarget.contains(M.target)&&S(en(v.target,M),"keyboard")},onClick(M){if(!(M&&!M.currentTarget.contains(M.target))&&M&&M.button===0&&!v.isTriggeringEvent&&!Qt.isOpening){let k=!0;if(i&&M.preventDefault(),!v.ignoreClickAfterPress&&!v.ignoreEmulatedMouseEvents&&!v.isPressed&&(v.pointerType==="virtual"||so(M.nativeEvent))){!i&&!l&&ht(M.currentTarget);let I=y(M,"virtual"),P=S(M,"virtual"),O=w(M,"virtual");k=I&&P&&O}v.ignoreEmulatedMouseEvents=!1,v.ignoreClickAfterPress=!1,k&&M.stopPropagation()}}},$=M=>{var k,I;if(v.isPressed&&v.target&&il(M,v.target)){Df(M.target,M.key)&&M.preventDefault();let P=M.target,O=w(en(v.target,M),"keyboard",v.target.contains(P));x(),O&&M.stopPropagation(),M.key!=="Enter"&&al(v.target)&&v.target.contains(P)&&!M[Af]&&(M[Af]=!0,Qt(v.target,M,!1)),v.isPressed=!1,(k=v.metaKeyEvents)==null||k.delete(M.key)}else if(M.key==="Meta"&&((I=v.metaKeyEvents)!=null&&I.size)){let P=v.metaKeyEvents;v.metaKeyEvents=null;for(let O of P.values())v.target&&v.target.dispatchEvent(new KeyboardEvent("keyup",O))}};if(typeof PointerEvent<"u"){D.onPointerDown=P=>{if(P.button!==0||!P.currentTarget.contains(P.target))return;if(zd(P.nativeEvent)){v.pointerType="virtual";return}sl(P.currentTarget)&&P.preventDefault(),v.pointerType=P.pointerType;let O=!0;v.isPressed||(v.isPressed=!0,v.isOverTarget=!0,v.activePointerId=P.pointerId,v.target=P.currentTarget,!i&&!l&&ht(P.currentTarget),c||Mf(v.target),O=y(P,v.pointerType),b(Gn(P.currentTarget),"pointermove",M,!1),b(Gn(P.currentTarget),"pointerup",k,!1),b(Gn(P.currentTarget),"pointercancel",I,!1)),O&&P.stopPropagation()},D.onMouseDown=P=>{P.currentTarget.contains(P.target)&&P.button===0&&(sl(P.currentTarget)&&P.preventDefault(),P.stopPropagation())},D.onPointerUp=P=>{!P.currentTarget.contains(P.target)||v.pointerType==="virtual"||P.button===0&&Pr(P,P.currentTarget)&&S(P,v.pointerType||P.pointerType)};let M=P=>{P.pointerId!==v.activePointerId||!v.target||(Pr(P,v.target)?v.isOverTarget||(v.isOverTarget=!0,y(en(v.target,P),v.pointerType)):v.isOverTarget&&(v.isOverTarget=!1,w(en(v.target,P),v.pointerType,!1),A(P)))},k=P=>{P.pointerId===v.activePointerId&&v.isPressed&&P.button===0&&v.target&&((Pr(P,v.target)||v.isOverTarget)&&w(en(v.target,P),v.pointerType),v.isPressed=!1,v.isOverTarget=!1,v.activePointerId=null,v.pointerType=null,x(),c||za(v.target))},I=P=>{E(P)};D.onDragStart=P=>{P.currentTarget.contains(P.target)&&E(P)}}else{D.onMouseDown=I=>{if(I.button!==0||!I.currentTarget.contains(I.target))return;if(sl(I.currentTarget)&&I.preventDefault(),v.ignoreEmulatedMouseEvents){I.stopPropagation();return}v.isPressed=!0,v.isOverTarget=!0,v.target=I.currentTarget,v.pointerType=so(I.nativeEvent)?"virtual":"mouse",!i&&!l&&ht(I.currentTarget),y(I,v.pointerType)&&I.stopPropagation(),b(Gn(I.currentTarget),"mouseup",M,!1)},D.onMouseEnter=I=>{if(!I.currentTarget.contains(I.target))return;let P=!0;v.isPressed&&!v.ignoreEmulatedMouseEvents&&(v.isOverTarget=!0,P=y(I,v.pointerType)),P&&I.stopPropagation()},D.onMouseLeave=I=>{if(!I.currentTarget.contains(I.target))return;let P=!0;v.isPressed&&!v.ignoreEmulatedMouseEvents&&(v.isOverTarget=!1,P=w(I,v.pointerType,!1),A(I)),P&&I.stopPropagation()},D.onMouseUp=I=>{I.currentTarget.contains(I.target)&&!v.ignoreEmulatedMouseEvents&&I.button===0&&S(I,v.pointerType||"mouse")};let M=I=>{if(I.button===0){if(v.isPressed=!1,x(),v.ignoreEmulatedMouseEvents){v.ignoreEmulatedMouseEvents=!1;return}v.target&&(Pr(I,v.target)?w(en(v.target,I),v.pointerType):v.isOverTarget&&w(en(v.target,I),v.pointerType,!1),v.isOverTarget=!1)}};D.onTouchStart=I=>{if(!I.currentTarget.contains(I.target))return;let P=Ey(I.nativeEvent);if(!P)return;v.activePointerId=P.identifier,v.ignoreEmulatedMouseEvents=!0,v.isOverTarget=!0,v.isPressed=!0,v.target=I.currentTarget,v.pointerType="touch",!i&&!l&&ht(I.currentTarget),c||Mf(v.target),y(I,v.pointerType)&&I.stopPropagation(),b(rl(I.currentTarget),"scroll",k,!0)},D.onTouchMove=I=>{if(!I.currentTarget.contains(I.target))return;if(!v.isPressed){I.stopPropagation();return}let P=Tf(I.nativeEvent,v.activePointerId),O=!0;P&&Pr(P,I.currentTarget)?v.isOverTarget||(v.isOverTarget=!0,O=y(I,v.pointerType)):v.isOverTarget&&(v.isOverTarget=!1,O=w(I,v.pointerType,!1),A(I)),O&&I.stopPropagation()},D.onTouchEnd=I=>{if(!I.currentTarget.contains(I.target))return;if(!v.isPressed){I.stopPropagation();return}let P=Tf(I.nativeEvent,v.activePointerId),O=!0;P&&Pr(P,I.currentTarget)?(S(I,v.pointerType),O=w(I,v.pointerType)):v.isOverTarget&&(O=w(I,v.pointerType,!1)),O&&I.stopPropagation(),v.isPressed=!1,v.activePointerId=null,v.isOverTarget=!1,v.ignoreEmulatedMouseEvents=!0,!c&&v.target&&za(v.target),x()},D.onTouchCancel=I=>{I.currentTarget.contains(I.target)&&(I.stopPropagation(),v.isPressed&&E(I))};let k=I=>{v.isPressed&&I.target.contains(v.target)&&E({currentTarget:v.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};D.onDragStart=I=>{I.currentTarget.contains(I.target)&&E(I)}}return D},[b,i,l,x,c,E,A,w,y,S]);return f.useEffect(()=>()=>{!c&&g.current.target&&za(g.current.target)},[c]),{isPressed:s||m,pressProps:he(p,T)}}function al(e){return e.tagName==="A"&&e.hasAttribute("href")}function il(e,t){const{key:n,code:r}=e,o=t,a=o.getAttribute("role");return(n==="Enter"||n===" "||n==="Spacebar"||r==="Space")&&!(o instanceof rl(o).HTMLInputElement&&!Nf(o,n)||o instanceof rl(o).HTMLTextAreaElement||o.isContentEditable)&&!((a==="link"||!a&&al(o))&&n!=="Enter")}function Ey(e){const{targetTouches:t}=e;return t.length>0?t[0]:null}function Tf(e,t){const n=e.changedTouches;for(let r=0;r<n.length;r++){const o=n[r];if(o.identifier===t)return o}return null}function en(e,t){return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey}}function Py(e){let t=e.width?e.width/2:e.radiusX||0,n=e.height?e.height/2:e.radiusY||0;return{top:e.clientY-n,right:e.clientX+t,bottom:e.clientY+n,left:e.clientX-t}}function Sy(e,t){return!(e.left>t.right||t.left>e.right||e.top>t.bottom||t.top>e.bottom)}function Pr(e,t){let n=t.getBoundingClientRect(),r=Py(e);return Sy(n,r)}function sl(e){return!(e instanceof HTMLElement)||!e.hasAttribute("draggable")}function Df(e,t){return e instanceof HTMLInputElement?!Nf(e,t):e instanceof HTMLButtonElement?e.type!=="submit"&&e.type!=="reset":!al(e)}var My=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Nf(e,t){return e.type==="checkbox"||e.type==="radio"?t===" ":My.has(e.type)}var Ay=e=>F.jsx("svg",{"aria-hidden":"true",focusable:"false",height:"1em",role:"presentation",viewBox:"0 0 24 24",width:"1em",...e,children:F.jsx("path",{d:"M12 2a10 10 0 1010 10A10.016 10.016 0 0012 2zm3.36 12.3a.754.754 0 010 1.06.748.748 0 01-1.06 0l-2.3-2.3-2.3 2.3a.748.748 0 01-1.06 0 .754.754 0 010-1.06l2.3-2.3-2.3-2.3A.75.75 0 019.7 8.64l2.3 2.3 2.3-2.3a.75.75 0 011.06 1.06l-2.3 2.3z",fill:"currentColor"})});const $f=f.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),Ha=f.createContext({}),Xa=f.createContext(null),Za=typeof document<"u",ll=Za?f.useLayoutEffect:f.useEffect,kf=f.createContext({strict:!1}),ul=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),Of="data-"+ul("framerAppearId");function Ty(e,t,n,r){const{visualElement:o}=f.useContext(Ha),a=f.useContext(kf),i=f.useContext(Xa),s=f.useContext($f).reducedMotion,l=f.useRef();r=r||a.renderer,!l.current&&r&&(l.current=r(e,{visualState:t,parent:o,props:n,presenceContext:i,blockInitialAnimation:i?i.initial===!1:!1,reducedMotionConfig:s}));const u=l.current;f.useInsertionEffect(()=>{u&&u.update(n,i)});const c=f.useRef(!!(n[Of]&&!window.HandoffComplete));return ll(()=>{u&&(u.render(),c.current&&u.animationState&&u.animationState.animateChanges())}),f.useEffect(()=>{u&&(u.updateFeatures(),!c.current&&u.animationState&&u.animationState.animateChanges(),c.current&&(c.current=!1,window.HandoffComplete=!0))}),u}function Sr(e){return typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function Dy(e,t,n){return f.useCallback(r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):Sr(n)&&(n.current=r))},[t])}function mo(e){return typeof e=="string"||Array.isArray(e)}function Ya(e){return typeof e=="object"&&typeof e.start=="function"}const cl=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],dl=["initial",...cl];function Ua(e){return Ya(e.animate)||dl.some(t=>mo(e[t]))}function Ff(e){return!!(Ua(e)||e.variants)}function Ny(e,t){if(Ua(e)){const{initial:n,animate:r}=e;return{initial:n===!1||mo(n)?n:void 0,animate:mo(r)?r:void 0}}return e.inherit!==!1?t:{}}function $y(e){const{initial:t,animate:n}=Ny(e,f.useContext(Ha));return f.useMemo(()=>({initial:t,animate:n}),[Lf(t),Lf(n)])}function Lf(e){return Array.isArray(e)?e.join(" "):e}const Vf={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"]},ho={};for(const e in Vf)ho[e]={isEnabled:t=>Vf[e].some(n=>!!t[n])};function ky(e){for(const t in e)ho[t]={...ho[t],...e[t]}}const go=f.createContext({}),jf=f.createContext({}),Oy=Symbol.for("motionComponentSymbol");function Fy({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:o}){e&&ky(e);function a(s,l){let u;const c={...f.useContext($f),...s,layoutId:Ly(s)},{isStatic:d}=c,p=$y(s),m=r(s,d);if(!d&&Za){p.visualElement=Ty(o,m,c,t);const h=f.useContext(jf),g=f.useContext(kf).strict;p.visualElement&&(u=p.visualElement.loadFeatures(c,g,e,h))}return V.createElement(Ha.Provider,{value:p},u&&p.visualElement?V.createElement(u,{visualElement:p.visualElement,...c}):null,n(o,s,Dy(m,p.visualElement,l),m,d,p.visualElement))}const i=f.forwardRef(a);return i[Oy]=o,i}function Ly({layoutId:e}){const t=f.useContext(go).id;return t&&e!==void 0?t+"-"+e:e}function Vy(e){function t(r,o={}){return Fy(e(r,o))}if(typeof Proxy>"u")return t;const n=new Map;return new Proxy(t,{get:(r,o)=>(n.has(o)||n.set(o,t(o)),n.get(o))})}const jy=["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 fl(e){return typeof e!="string"||e.includes("-")?!1:!!(jy.indexOf(e)>-1||/[A-Z]/.test(e))}const Ka={};function By(e){Object.assign(Ka,e)}const bo=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Rn=new Set(bo);function Bf(e,{layout:t,layoutId:n}){return Rn.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!Ka[e]||e==="opacity")}const ut=e=>!!(e&&e.getVelocity),Wy={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},_y=bo.length;function Gy(e,{enableHardwareAcceleration:t=!0,allowTransformNone:n=!0},r,o){let a="";for(let i=0;i<_y;i++){const s=bo[i];if(e[s]!==void 0){const l=Wy[s]||s;a+=`${l}(${e[s]}) `}}return t&&!e.z&&(a+="translateZ(0)"),a=a.trim(),o?a=o(e,r?"":a):n&&r&&(a="none"),a}const Wf=e=>t=>typeof t=="string"&&t.startsWith(e),_f=Wf("--"),pl=Wf("var(--"),Ry=/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,zy=(e,t)=>t&&typeof e=="number"?t.transform(e):e,xn=(e,t,n)=>Math.min(Math.max(n,e),t),zn={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},vo={...zn,transform:e=>xn(0,1,e)},Ja={...zn,default:1},yo=e=>Math.round(e*1e5)/1e5,Qa=/(-)?([\d]*\.?[\d])+/g,Gf=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,Hy=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function xo(e){return typeof e=="string"}const Co=e=>({test:t=>xo(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Cn=Co("deg"),Rt=Co("%"),fe=Co("px"),Xy=Co("vh"),Zy=Co("vw"),Rf={...Rt,parse:e=>Rt.parse(e)/100,transform:e=>Rt.transform(e*100)},zf={...zn,transform:Math.round},Hf={borderWidth:fe,borderTopWidth:fe,borderRightWidth:fe,borderBottomWidth:fe,borderLeftWidth:fe,borderRadius:fe,radius:fe,borderTopLeftRadius:fe,borderTopRightRadius:fe,borderBottomRightRadius:fe,borderBottomLeftRadius:fe,width:fe,maxWidth:fe,height:fe,maxHeight:fe,size:fe,top:fe,right:fe,bottom:fe,left:fe,padding:fe,paddingTop:fe,paddingRight:fe,paddingBottom:fe,paddingLeft:fe,margin:fe,marginTop:fe,marginRight:fe,marginBottom:fe,marginLeft:fe,rotate:Cn,rotateX:Cn,rotateY:Cn,rotateZ:Cn,scale:Ja,scaleX:Ja,scaleY:Ja,scaleZ:Ja,skew:Cn,skewX:Cn,skewY:Cn,distance:fe,translateX:fe,translateY:fe,translateZ:fe,x:fe,y:fe,z:fe,perspective:fe,transformPerspective:fe,opacity:vo,originX:Rf,originY:Rf,originZ:fe,zIndex:zf,fillOpacity:vo,strokeOpacity:vo,numOctaves:zf};function ml(e,t,n,r){const{style:o,vars:a,transform:i,transformOrigin:s}=e;let l=!1,u=!1,c=!0;for(const d in t){const p=t[d];if(_f(d)){a[d]=p;continue}const m=Hf[d],h=zy(p,m);if(Rn.has(d)){if(l=!0,i[d]=h,!c)continue;p!==(m.default||0)&&(c=!1)}else d.startsWith("origin")?(u=!0,s[d]=h):o[d]=h}if(t.transform||(l||r?o.transform=Gy(e.transform,n,c,r):o.transform&&(o.transform="none")),u){const{originX:d="50%",originY:p="50%",originZ:m=0}=s;o.transformOrigin=`${d} ${p} ${m}`}}const hl=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Xf(e,t,n){for(const r in t)!ut(t[r])&&!Bf(r,n)&&(e[r]=t[r])}function Yy({transformTemplate:e},t,n){return f.useMemo(()=>{const r=hl();return ml(r,t,{enableHardwareAcceleration:!n},e),Object.assign({},r.vars,r.style)},[t])}function Uy(e,t,n){const r=e.style||{},o={};return Xf(o,r,e),Object.assign(o,Yy(e,t,n)),e.transformValues?e.transformValues(o):o}function Ky(e,t,n){const r={},o=Uy(e,t,n);return e.drag&&e.dragListener!==!1&&(r.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=o,r}const Jy=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","ignoreStrict","viewport"]);function qa(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||Jy.has(e)}let Zf=e=>!qa(e);function Qy(e){e&&(Zf=t=>t.startsWith("on")?!qa(t):e(t))}try{Qy(require("@emotion/is-prop-valid").default)}catch{}function qy(e,t,n){const r={};for(const o in e)o==="values"&&typeof e.values=="object"||(Zf(o)||n===!0&&qa(o)||!t&&!qa(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}function Yf(e,t,n){return typeof e=="string"?e:fe.transform(t+n*e)}function e5(e,t,n){const r=Yf(t,e.x,e.width),o=Yf(n,e.y,e.height);return`${r} ${o}`}const t5={offset:"stroke-dashoffset",array:"stroke-dasharray"},n5={offset:"strokeDashoffset",array:"strokeDasharray"};function r5(e,t,n=1,r=0,o=!0){e.pathLength=1;const a=o?t5:n5;e[a.offset]=fe.transform(-r);const i=fe.transform(t),s=fe.transform(n);e[a.array]=`${i} ${s}`}function gl(e,{attrX:t,attrY:n,attrScale:r,originX:o,originY:a,pathLength:i,pathSpacing:s=1,pathOffset:l=0,...u},c,d,p){if(ml(e,u,c,p),d){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:m,style:h,dimensions:g}=e;m.transform&&(g&&(h.transform=m.transform),delete m.transform),g&&(o!==void 0||a!==void 0||h.transform)&&(h.transformOrigin=e5(g,o!==void 0?o:.5,a!==void 0?a:.5)),t!==void 0&&(m.x=t),n!==void 0&&(m.y=n),r!==void 0&&(m.scale=r),i!==void 0&&r5(m,i,s,l,!1)}const Uf=()=>({...hl(),attrs:{}}),bl=e=>typeof e=="string"&&e.toLowerCase()==="svg";function o5(e,t,n,r){const o=f.useMemo(()=>{const a=Uf();return gl(a,t,{enableHardwareAcceleration:!1},bl(r),e.transformTemplate),{...a.attrs,style:{...a.style}}},[t]);if(e.style){const a={};Xf(a,e.style,e),o.style={...a,...o.style}}return o}function a5(e=!1){return(n,r,o,{latestValues:a},i)=>{const l=(fl(n)?o5:Ky)(r,a,i,n),c={...qy(r,typeof n=="string",e),...l,ref:o},{children:d}=r,p=f.useMemo(()=>ut(d)?d.get():d,[d]);return f.createElement(n,{...c,children:p})}}function Kf(e,{style:t,vars:n},r,o){Object.assign(e.style,t,o&&o.getProjectionStyles(r));for(const a in n)e.style.setProperty(a,n[a])}const Jf=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 Qf(e,t,n,r){Kf(e,t,void 0,r);for(const o in t.attrs)e.setAttribute(Jf.has(o)?o:ul(o),t.attrs[o])}function vl(e,t){const{style:n}=e,r={};for(const o in n)(ut(n[o])||t.style&&ut(t.style[o])||Bf(o,e))&&(r[o]=n[o]);return r}function qf(e,t){const n=vl(e,t);for(const r in e)if(ut(e[r])||ut(t[r])){const o=bo.indexOf(r)!==-1?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r;n[o]=e[r]}return n}function yl(e,t,n,r={},o={}){return typeof t=="function"&&(t=t(n!==void 0?n:e.custom,r,o)),typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"&&(t=t(n!==void 0?n:e.custom,r,o)),t}function ep(e){const t=f.useRef(null);return t.current===null&&(t.current=e()),t.current}const ei=e=>Array.isArray(e),i5=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),s5=e=>ei(e)?e[e.length-1]||0:e;function ti(e){const t=ut(e)?e.get():e;return i5(t)?t.toValue():t}function l5({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,o,a){const i={latestValues:u5(r,o,a,e),renderState:t()};return n&&(i.mount=s=>n(r,s,i)),i}const tp=e=>(t,n)=>{const r=f.useContext(Ha),o=f.useContext(Xa),a=()=>l5(e,t,r,o);return n?a():ep(a)};function u5(e,t,n,r){const o={},a=r(e,{});for(const p in a)o[p]=ti(a[p]);let{initial:i,animate:s}=e;const l=Ua(e),u=Ff(e);t&&u&&!l&&e.inherit!==!1&&(i===void 0&&(i=t.initial),s===void 0&&(s=t.animate));let c=n?n.initial===!1:!1;c=c||i===!1;const d=c?s:i;return d&&typeof d!="boolean"&&!Ya(d)&&(Array.isArray(d)?d:[d]).forEach(m=>{const h=yl(e,m);if(!h)return;const{transitionEnd:g,transition:b,...x}=h;for(const y in x){let w=x[y];if(Array.isArray(w)){const S=c?w.length-1:0;w=w[S]}w!==null&&(o[y]=w)}for(const y in g)o[y]=g[y]}),o}const ze=e=>e;class np{constructor(){this.order=[],this.scheduled=new Set}add(t){if(!this.scheduled.has(t))return this.scheduled.add(t),this.order.push(t),!0}remove(t){const n=this.order.indexOf(t);n!==-1&&(this.order.splice(n,1),this.scheduled.delete(t))}clear(){this.order.length=0,this.scheduled.clear()}}function c5(e){let t=new np,n=new np,r=0,o=!1,a=!1;const i=new WeakSet,s={schedule:(l,u=!1,c=!1)=>{const d=c&&o,p=d?t:n;return u&&i.add(l),p.add(l)&&d&&o&&(r=t.order.length),l},cancel:l=>{n.remove(l),i.delete(l)},process:l=>{if(o){a=!0;return}if(o=!0,[t,n]=[n,t],n.clear(),r=t.order.length,r)for(let u=0;u<r;u++){const c=t.order[u];c(l),i.has(c)&&(s.schedule(c),e())}o=!1,a&&(a=!1,s.process(l))}};return s}const ni=["prepare","read","update","preRender","render","postRender"],d5=40;function f5(e,t){let n=!1,r=!0;const o={delta:0,timestamp:0,isProcessing:!1},a=ni.reduce((d,p)=>(d[p]=c5(()=>n=!0),d),{}),i=d=>a[d].process(o),s=()=>{const d=performance.now();n=!1,o.delta=r?1e3/60:Math.max(Math.min(d-o.timestamp,d5),1),o.timestamp=d,o.isProcessing=!0,ni.forEach(i),o.isProcessing=!1,n&&t&&(r=!1,e(s))},l=()=>{n=!0,r=!0,o.isProcessing||e(s)};return{schedule:ni.reduce((d,p)=>{const m=a[p];return d[p]=(h,g=!1,b=!1)=>(n||l(),m.schedule(h,g,b)),d},{}),cancel:d=>ni.forEach(p=>a[p].cancel(d)),state:o,steps:a}}const{schedule:Oe,cancel:tn,state:qe,steps:xl}=f5(typeof requestAnimationFrame<"u"?requestAnimationFrame:ze,!0),p5={useVisualState:tp({scrapeMotionValuesFromProps:qf,createRenderState:Uf,onMount:(e,t,{renderState:n,latestValues:r})=>{Oe.read(()=>{try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}),Oe.render(()=>{gl(n,r,{enableHardwareAcceleration:!1},bl(t.tagName),e.transformTemplate),Qf(t,n)})}})},m5={useVisualState:tp({scrapeMotionValuesFromProps:vl,createRenderState:hl})};function h5(e,{forwardMotionProps:t=!1},n,r){return{...fl(e)?p5:m5,preloadedFeatures:n,useRender:a5(t),createVisualElement:r,Component:e}}function nn(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const rp=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function ri(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}const g5=e=>t=>rp(t)&&e(t,ri(t));function rn(e,t,n,r){return nn(e,t,g5(n),r)}const b5=(e,t)=>n=>t(e(n)),wn=(...e)=>e.reduce(b5);function op(e){let t=null;return()=>{const n=()=>{t=null};return t===null?(t=e,n):!1}}const ap=op("dragHorizontal"),ip=op("dragVertical");function sp(e){let t=!1;if(e==="y")t=ip();else if(e==="x")t=ap();else{const n=ap(),r=ip();n&&r?t=()=>{n(),r()}:(n&&n(),r&&r())}return t}function lp(){const e=sp(!0);return e?(e(),!1):!0}class In{constructor(t){this.isMounted=!1,this.node=t}update(){}}function up(e,t){const n="pointer"+(t?"enter":"leave"),r="onHover"+(t?"Start":"End"),o=(a,i)=>{if(a.type==="touch"||lp())return;const s=e.getProps();e.animationState&&s.whileHover&&e.animationState.setActive("whileHover",t),s[r]&&Oe.update(()=>s[r](a,i))};return rn(e.current,n,o,{passive:!e.getProps()[r]})}class v5 extends In{mount(){this.unmount=wn(up(this.node,!0),up(this.node,!1))}unmount(){}}class y5 extends In{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=wn(nn(this.node.current,"focus",()=>this.onFocus()),nn(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const cp=(e,t)=>t?e===t?!0:cp(e,t.parentElement):!1;function Cl(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,ri(n))}class x5 extends In{constructor(){super(...arguments),this.removeStartListeners=ze,this.removeEndListeners=ze,this.removeAccessibleListeners=ze,this.startPointerPress=(t,n)=>{if(this.removeEndListeners(),this.isPressing)return;const r=this.node.getProps(),a=rn(window,"pointerup",(s,l)=>{if(!this.checkPressEnd())return;const{onTap:u,onTapCancel:c}=this.node.getProps();Oe.update(()=>{cp(this.node.current,s.target)?u&&u(s,l):c&&c(s,l)})},{passive:!(r.onTap||r.onPointerUp)}),i=rn(window,"pointercancel",(s,l)=>this.cancelPress(s,l),{passive:!(r.onTapCancel||r.onPointerCancel)});this.removeEndListeners=wn(a,i),this.startPress(t,n)},this.startAccessiblePress=()=>{const t=a=>{if(a.key!=="Enter"||this.isPressing)return;const i=s=>{s.key!=="Enter"||!this.checkPressEnd()||Cl("up",(l,u)=>{const{onTap:c}=this.node.getProps();c&&Oe.update(()=>c(l,u))})};this.removeEndListeners(),this.removeEndListeners=nn(this.node.current,"keyup",i),Cl("down",(s,l)=>{this.startPress(s,l)})},n=nn(this.node.current,"keydown",t),r=()=>{this.isPressing&&Cl("cancel",(a,i)=>this.cancelPress(a,i))},o=nn(this.node.current,"blur",r);this.removeAccessibleListeners=wn(n,o)}}startPress(t,n){this.isPressing=!0;const{onTapStart:r,whileTap:o}=this.node.getProps();o&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),r&&Oe.update(()=>r(t,n))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!lp()}cancelPress(t,n){if(!this.checkPressEnd())return;const{onTapCancel:r}=this.node.getProps();r&&Oe.update(()=>r(t,n))}mount(){const t=this.node.getProps(),n=rn(this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),r=nn(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=wn(n,r)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const wl=new WeakMap,Il=new WeakMap,C5=e=>{const t=wl.get(e.target);t&&t(e)},w5=e=>{e.forEach(C5)};function I5({root:e,...t}){const n=e||document;Il.has(n)||Il.set(n,{});const r=Il.get(n),o=JSON.stringify(t);return r[o]||(r[o]=new IntersectionObserver(w5,{root:e,...t})),r[o]}function E5(e,t,n){const r=I5(t);return wl.set(e,n),r.observe(e),()=>{wl.delete(e),r.unobserve(e)}}const P5={some:0,all:1};class S5 extends In{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:o="some",once:a}=t,i={root:n?n.current:void 0,rootMargin:r,threshold:typeof o=="number"?o:P5[o]},s=l=>{const{isIntersecting:u}=l;if(this.isInView===u||(this.isInView=u,a&&!u&&this.hasEnteredView))return;u&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",u);const{onViewportEnter:c,onViewportLeave:d}=this.node.getProps(),p=u?c:d;p&&p(l)};return E5(this.node.current,i,s)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(M5(t,n))&&this.startObserver()}unmount(){}}function M5({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const A5={inView:{Feature:S5},tap:{Feature:x5},focus:{Feature:y5},hover:{Feature:v5}};function dp(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}function T5(e){const t={};return e.values.forEach((n,r)=>t[r]=n.get()),t}function D5(e){const t={};return e.values.forEach((n,r)=>t[r]=n.getVelocity()),t}function oi(e,t,n){const r=e.getProps();return yl(r,t,n!==void 0?n:r.custom,T5(e),D5(e))}let wo=ze,kt=ze;process.env.NODE_ENV!=="production"&&(wo=(e,t)=>{!e&&typeof console<"u"&&console.warn(t)},kt=(e,t)=>{if(!e)throw new Error(t)});const En=e=>e*1e3,on=e=>e/1e3,N5={current:!1},fp=e=>Array.isArray(e)&&typeof e[0]=="number";function pp(e){return!!(!e||typeof e=="string"&&mp[e]||fp(e)||Array.isArray(e)&&e.every(pp))}const Io=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,mp={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Io([0,.65,.55,1]),circOut:Io([.55,0,1,.45]),backIn:Io([.31,.01,.66,-.59]),backOut:Io([.33,1.53,.69,.99])};function hp(e){if(e)return fp(e)?Io(e):Array.isArray(e)?e.map(hp):mp[e]}function $5(e,t,n,{delay:r=0,duration:o,repeat:a=0,repeatType:i="loop",ease:s,times:l}={}){const u={[t]:n};l&&(u.offset=l);const c=hp(s);return Array.isArray(c)&&(u.easing=c),e.animate(u,{delay:r,duration:o,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:a+1,direction:i==="reverse"?"alternate":"normal"})}function k5(e,{repeat:t,repeatType:n="loop"}){const r=t&&n!=="loop"&&t%2===1?0:e.length-1;return e[r]}const gp=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,O5=1e-7,F5=12;function L5(e,t,n,r,o){let a,i,s=0;do i=t+(n-t)/2,a=gp(i,r,o)-e,a>0?n=i:t=i;while(Math.abs(a)>O5&&++s<F5);return i}function Eo(e,t,n,r){if(e===t&&n===r)return ze;const o=a=>L5(a,0,1,e,n);return a=>a===0||a===1?a:gp(o(a),t,r)}const V5=Eo(.42,0,1,1),j5=Eo(0,0,.58,1),bp=Eo(.42,0,.58,1),B5=e=>Array.isArray(e)&&typeof e[0]!="number",vp=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,yp=e=>t=>1-e(1-t),El=e=>1-Math.sin(Math.acos(e)),xp=yp(El),W5=vp(El),Cp=Eo(.33,1.53,.69,.99),Pl=yp(Cp),_5=vp(Pl),wp={linear:ze,easeIn:V5,easeInOut:bp,easeOut:j5,circIn:El,circInOut:W5,circOut:xp,backIn:Pl,backInOut:_5,backOut:Cp,anticipate:e=>(e*=2)<1?.5*Pl(e):.5*(2-Math.pow(2,-10*(e-1)))},Ip=e=>{if(Array.isArray(e)){kt(e.length===4,"Cubic bezier arrays must contain four numerical values.");const[t,n,r,o]=e;return Eo(t,n,r,o)}else if(typeof e=="string")return kt(wp[e]!==void 0,`Invalid easing type '${e}'`),wp[e];return e},Sl=(e,t)=>n=>!!(xo(n)&&Hy.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),Ep=(e,t,n)=>r=>{if(!xo(r))return r;const[o,a,i,s]=r.match(Qa);return{[e]:parseFloat(o),[t]:parseFloat(a),[n]:parseFloat(i),alpha:s!==void 0?parseFloat(s):1}},G5=e=>xn(0,255,e),Ml={...zn,transform:e=>Math.round(G5(e))},Hn={test:Sl("rgb","red"),parse:Ep("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Ml.transform(e)+", "+Ml.transform(t)+", "+Ml.transform(n)+", "+yo(vo.transform(r))+")"};function R5(e){let t="",n="",r="",o="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),o=e.substring(4,5),t+=t,n+=n,r+=r,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}}const Al={test:Sl("#"),parse:R5,transform:Hn.transform},Mr={test:Sl("hsl","hue"),parse:Ep("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Rt.transform(yo(t))+", "+Rt.transform(yo(n))+", "+yo(vo.transform(r))+")"},ot={test:e=>Hn.test(e)||Al.test(e)||Mr.test(e),parse:e=>Hn.test(e)?Hn.parse(e):Mr.test(e)?Mr.parse(e):Al.parse(e),transform:e=>xo(e)?e:e.hasOwnProperty("red")?Hn.transform(e):Mr.transform(e)},Re=(e,t,n)=>-n*e+n*t+e;function Tl(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 z5({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let o=0,a=0,i=0;if(!t)o=a=i=n;else{const s=n<.5?n*(1+t):n+t-n*t,l=2*n-s;o=Tl(l,s,e+1/3),a=Tl(l,s,e),i=Tl(l,s,e-1/3)}return{red:Math.round(o*255),green:Math.round(a*255),blue:Math.round(i*255),alpha:r}}const Dl=(e,t,n)=>{const r=e*e;return Math.sqrt(Math.max(0,n*(t*t-r)+r))},H5=[Al,Hn,Mr],X5=e=>H5.find(t=>t.test(e));function Pp(e){const t=X5(e);kt(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`);let n=t.parse(e);return t===Mr&&(n=z5(n)),n}const Sp=(e,t)=>{const n=Pp(e),r=Pp(t),o={...n};return a=>(o.red=Dl(n.red,r.red,a),o.green=Dl(n.green,r.green,a),o.blue=Dl(n.blue,r.blue,a),o.alpha=Re(n.alpha,r.alpha,a),Hn.transform(o))};function Z5(e){var t,n;return isNaN(e)&&xo(e)&&(((t=e.match(Qa))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(Gf))===null||n===void 0?void 0:n.length)||0)>0}const Mp={regex:Ry,countKey:"Vars",token:"${v}",parse:ze},Ap={regex:Gf,countKey:"Colors",token:"${c}",parse:ot.parse},Tp={regex:Qa,countKey:"Numbers",token:"${n}",parse:zn.parse};function Nl(e,{regex:t,countKey:n,token:r,parse:o}){const a=e.tokenised.match(t);a&&(e["num"+n]=a.length,e.tokenised=e.tokenised.replace(t,r),e.values.push(...a.map(o)))}function ai(e){const t=e.toString(),n={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&Nl(n,Mp),Nl(n,Ap),Nl(n,Tp),n}function Dp(e){return ai(e).values}function Np(e){const{values:t,numColors:n,numVars:r,tokenised:o}=ai(e),a=t.length;return i=>{let s=o;for(let l=0;l<a;l++)l<r?s=s.replace(Mp.token,i[l]):l<r+n?s=s.replace(Ap.token,ot.transform(i[l])):s=s.replace(Tp.token,yo(i[l]));return s}}const Y5=e=>typeof e=="number"?0:e;function U5(e){const t=Dp(e);return Np(e)(t.map(Y5))}const Pn={test:Z5,parse:Dp,createTransformer:Np,getAnimatableNone:U5},$p=(e,t)=>n=>`${n>0?t:e}`;function kp(e,t){return typeof e=="number"?n=>Re(e,t,n):ot.test(e)?Sp(e,t):e.startsWith("var(")?$p(e,t):Fp(e,t)}const Op=(e,t)=>{const n=[...e],r=n.length,o=e.map((a,i)=>kp(a,t[i]));return a=>{for(let i=0;i<r;i++)n[i]=o[i](a);return n}},K5=(e,t)=>{const n={...e,...t},r={};for(const o in n)e[o]!==void 0&&t[o]!==void 0&&(r[o]=kp(e[o],t[o]));return o=>{for(const a in r)n[a]=r[a](o);return n}},Fp=(e,t)=>{const n=Pn.createTransformer(t),r=ai(e),o=ai(t);return r.numVars===o.numVars&&r.numColors===o.numColors&&r.numNumbers>=o.numNumbers?wn(Op(r.values,o.values),n):(wo(!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.`),$p(e,t))},Po=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},Lp=(e,t)=>n=>Re(e,t,n);function J5(e){return typeof e=="number"?Lp:typeof e=="string"?ot.test(e)?Sp:Fp:Array.isArray(e)?Op:typeof e=="object"?K5:Lp}function Q5(e,t,n){const r=[],o=n||J5(e[0]),a=e.length-1;for(let i=0;i<a;i++){let s=o(e[i],e[i+1]);if(t){const l=Array.isArray(t)?t[i]||ze:t;s=wn(l,s)}r.push(s)}return r}function Vp(e,t,{clamp:n=!0,ease:r,mixer:o}={}){const a=e.length;if(kt(a===t.length,"Both input and output ranges must be the same length"),a===1)return()=>t[0];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());const i=Q5(t,r,o),s=i.length,l=u=>{let c=0;if(s>1)for(;c<e.length-2&&!(u<e[c+1]);c++);const d=Po(e[c],e[c+1],u);return i[c](d)};return n?u=>l(xn(e[0],e[a-1],u)):l}function q5(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const o=Po(0,t,r);e.push(Re(n,1,o))}}function e4(e){const t=[0];return q5(t,e.length-1),t}function t4(e,t){return e.map(n=>n*t)}function n4(e,t){return e.map(()=>t||bp).splice(0,e.length-1)}function ii({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const o=B5(r)?r.map(Ip):Ip(r),a={done:!1,value:t[0]},i=t4(n&&n.length===t.length?n:e4(t),e),s=Vp(i,t,{ease:Array.isArray(o)?o:n4(t,o)});return{calculatedDuration:e,next:l=>(a.value=s(l),a.done=l>=e,a)}}function jp(e,t){return t?e*(1e3/t):0}const r4=5;function Bp(e,t,n){const r=Math.max(t-r4,0);return jp(n-e(r),t-r)}const $l=.001,o4=.01,Wp=10,a4=.05,i4=1;function s4({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let o,a;wo(e<=En(Wp),"Spring duration must be 10 seconds or less");let i=1-t;i=xn(a4,i4,i),e=xn(o4,Wp,on(e)),i<1?(o=u=>{const c=u*i,d=c*e,p=c-n,m=kl(u,i),h=Math.exp(-d);return $l-p/m*h},a=u=>{const d=u*i*e,p=d*n+n,m=Math.pow(i,2)*Math.pow(u,2)*e,h=Math.exp(-d),g=kl(Math.pow(u,2),i);return(-o(u)+$l>0?-1:1)*((p-m)*h)/g}):(o=u=>{const c=Math.exp(-u*e),d=(u-n)*e+1;return-$l+c*d},a=u=>{const c=Math.exp(-u*e),d=(n-u)*(e*e);return c*d});const s=5/e,l=u4(o,a,s);if(e=En(e),isNaN(l))return{stiffness:100,damping:10,duration:e};{const u=Math.pow(l,2)*r;return{stiffness:u,damping:i*2*Math.sqrt(r*u),duration:e}}}const l4=12;function u4(e,t,n){let r=n;for(let o=1;o<l4;o++)r=r-e(r)/t(r);return r}function kl(e,t){return e*Math.sqrt(1-t*t)}const c4=["duration","bounce"],d4=["stiffness","damping","mass"];function _p(e,t){return t.some(n=>e[n]!==void 0)}function f4(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!_p(e,d4)&&_p(e,c4)){const n=s4(e);t={...t,...n,velocity:0,mass:1},t.isResolvedFromDuration=!0}return t}function Gp({keyframes:e,restDelta:t,restSpeed:n,...r}){const o=e[0],a=e[e.length-1],i={done:!1,value:o},{stiffness:s,damping:l,mass:u,velocity:c,duration:d,isResolvedFromDuration:p}=f4(r),m=c?-on(c):0,h=l/(2*Math.sqrt(s*u)),g=a-o,b=on(Math.sqrt(s/u)),x=Math.abs(g)<5;n||(n=x?.01:2),t||(t=x?.005:.5);let y;if(h<1){const w=kl(b,h);y=S=>{const E=Math.exp(-h*b*S);return a-E*((m+h*b*g)/w*Math.sin(w*S)+g*Math.cos(w*S))}}else if(h===1)y=w=>a-Math.exp(-b*w)*(g+(m+b*g)*w);else{const w=b*Math.sqrt(h*h-1);y=S=>{const E=Math.exp(-h*b*S),A=Math.min(w*S,300);return a-E*((m+h*b*g)*Math.sinh(A)+w*g*Math.cosh(A))/w}}return{calculatedDuration:p&&d||null,next:w=>{const S=y(w);if(p)i.done=w>=d;else{let E=m;w!==0&&(h<1?E=Bp(y,w,S):E=0);const A=Math.abs(E)<=n,T=Math.abs(a-S)<=t;i.done=A&&T}return i.value=i.done?a:S,i}}}function Rp({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:o=10,bounceStiffness:a=500,modifyTarget:i,min:s,max:l,restDelta:u=.5,restSpeed:c}){const d=e[0],p={done:!1,value:d},m=v=>s!==void 0&&v<s||l!==void 0&&v>l,h=v=>s===void 0?l:l===void 0||Math.abs(s-v)<Math.abs(l-v)?s:l;let g=n*t;const b=d+g,x=i===void 0?b:i(b);x!==b&&(g=x-d);const y=v=>-g*Math.exp(-v/r),w=v=>x+y(v),S=v=>{const D=y(v),$=w(v);p.done=Math.abs(D)<=u,p.value=p.done?x:$};let E,A;const T=v=>{m(p.value)&&(E=v,A=Gp({keyframes:[p.value,h(p.value)],velocity:Bp(w,v,p.value),damping:o,stiffness:a,restDelta:u,restSpeed:c}))};return T(0),{calculatedDuration:null,next:v=>{let D=!1;return!A&&E===void 0&&(D=!0,S(v),T(v)),E!==void 0&&v>E?A.next(v-E):(!D&&S(v),p)}}}const p4=e=>{const t=({timestamp:n})=>e(n);return{start:()=>Oe.update(t,!0),stop:()=>tn(t),now:()=>qe.isProcessing?qe.timestamp:performance.now()}},zp=2e4;function Hp(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<zp;)t+=n,r=e.next(t);return t>=zp?1/0:t}const m4={decay:Rp,inertia:Rp,tween:ii,keyframes:ii,spring:Gp};function si({autoplay:e=!0,delay:t=0,driver:n=p4,keyframes:r,type:o="keyframes",repeat:a=0,repeatDelay:i=0,repeatType:s="loop",onPlay:l,onStop:u,onComplete:c,onUpdate:d,...p}){let m=1,h=!1,g,b;const x=()=>{b=new Promise(X=>{g=X})};x();let y;const w=m4[o]||ii;let S;w!==ii&&typeof r[0]!="number"&&(S=Vp([0,100],r,{clamp:!1}),r=[0,100]);const E=w({...p,keyframes:r});let A;s==="mirror"&&(A=w({...p,keyframes:[...r].reverse(),velocity:-(p.velocity||0)}));let T="idle",v=null,D=null,$=null;E.calculatedDuration===null&&a&&(E.calculatedDuration=Hp(E));const{calculatedDuration:M}=E;let k=1/0,I=1/0;M!==null&&(k=M+i,I=k*(a+1)-i);let P=0;const O=X=>{if(D===null)return;m>0&&(D=Math.min(D,X)),m<0&&(D=Math.min(X-I/m,D)),v!==null?P=v:P=Math.round(X-D)*m;const B=P-t*(m>=0?1:-1),G=m>=0?B<0:B>I;P=Math.max(B,0),T==="finished"&&v===null&&(P=I);let Y=P,R=E;if(a){const le=P/k;let pe=Math.floor(le),be=le%1;!be&&le>=1&&(be=1),be===1&&pe--,pe=Math.min(pe,a+1);const Q=!!(pe%2);Q&&(s==="reverse"?(be=1-be,i&&(be-=i/k)):s==="mirror"&&(R=A));let Pe=xn(0,1,be);P>I&&(Pe=s==="reverse"&&Q?1:0),Y=Pe*k}const Z=G?{done:!1,value:r[0]}:R.next(Y);S&&(Z.value=S(Z.value));let{done:q}=Z;!G&&M!==null&&(q=m>=0?P>=I:P<=0);const ae=v===null&&(T==="finished"||T==="running"&&q);return d&&d(Z.value),ae&&W(),Z},j=()=>{y&&y.stop(),y=void 0},N=()=>{T="idle",j(),g(),x(),D=$=null},W=()=>{T="finished",c&&c(),j(),g()},K=()=>{if(h)return;y||(y=n(O));const X=y.now();l&&l(),v!==null?D=X-v:(!D||T==="finished")&&(D=X),T==="finished"&&x(),$=D,v=null,T="running",y.start()};e&&K();const H={then(X,B){return b.then(X,B)},get time(){return on(P)},set time(X){X=En(X),P=X,v!==null||!y||m===0?v=X:D=y.now()-X/m},get duration(){const X=E.calculatedDuration===null?Hp(E):E.calculatedDuration;return on(X)},get speed(){return m},set speed(X){X===m||!y||(m=X,H.time=on(P))},get state(){return T},play:K,pause:()=>{T="paused",v=P},stop:()=>{h=!0,T!=="idle"&&(T="idle",u&&u(),N())},cancel:()=>{$!==null&&O($),N()},complete:()=>{T="finished"},sample:X=>(D=0,O(X))};return H}function h4(e){let t;return()=>(t===void 0&&(t=e()),t)}const g4=h4(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),b4=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),li=10,v4=2e4,y4=(e,t)=>t.type==="spring"||e==="backgroundColor"||!pp(t.ease);function x4(e,t,{onUpdate:n,onComplete:r,...o}){if(!(g4()&&b4.has(t)&&!o.repeatDelay&&o.repeatType!=="mirror"&&o.damping!==0&&o.type!=="inertia"))return!1;let i=!1,s,l;const u=()=>{l=new Promise(y=>{s=y})};u();let{keyframes:c,duration:d=300,ease:p,times:m}=o;if(y4(t,o)){const y=si({...o,repeat:0,delay:0});let w={done:!1,value:c[0]};const S=[];let E=0;for(;!w.done&&E<v4;)w=y.sample(E),S.push(w.value),E+=li;m=void 0,c=S,d=E-li,p="linear"}const h=$5(e.owner.current,t,c,{...o,duration:d,ease:p,times:m}),g=()=>h.cancel(),b=()=>{Oe.update(g),s(),u()};return h.onfinish=()=>{e.set(k5(c,o)),r&&r(),b()},{then(y,w){return l.then(y,w)},attachTimeline(y){return h.timeline=y,h.onfinish=null,ze},get time(){return on(h.currentTime||0)},set time(y){h.currentTime=En(y)},get speed(){return h.playbackRate},set speed(y){h.playbackRate=y},get duration(){return on(d)},play:()=>{i||(h.play(),tn(g))},pause:()=>h.pause(),stop:()=>{if(i=!0,h.playState==="idle")return;const{currentTime:y}=h;if(y){const w=si({...o,autoplay:!1});e.setWithVelocity(w.sample(y-li).value,w.sample(y).value,li)}b()},complete:()=>h.finish(),cancel:b}}function C4({keyframes:e,delay:t,onUpdate:n,onComplete:r}){const o=()=>(n&&n(e[e.length-1]),r&&r(),{time:0,speed:1,duration:0,play:ze,pause:ze,stop:ze,then:a=>(a(),Promise.resolve()),cancel:ze,complete:ze});return t?si({keyframes:[0,1],duration:0,delay:t,onComplete:o}):o()}const w4={type:"spring",stiffness:500,damping:25,restSpeed:10},I4=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),E4={type:"keyframes",duration:.8},P4={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},S4=(e,{keyframes:t})=>t.length>2?E4:Rn.has(e)?e.startsWith("scale")?I4(t[1]):w4:P4,Ol=(e,t)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(Pn.test(t)||t==="0")&&!t.startsWith("url(")),M4=new Set(["brightness","contrast","saturate","opacity"]);function A4(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(Qa)||[];if(!r)return e;const o=n.replace(r,"");let a=M4.has(t)?1:0;return r!==n&&(a*=100),t+"("+a+o+")"}const T4=/([a-z-]*)\(.*?\)/g,Fl={...Pn,getAnimatableNone:e=>{const t=e.match(T4);return t?t.map(A4).join(" "):e}},D4={...Hf,color:ot,backgroundColor:ot,outlineColor:ot,fill:ot,stroke:ot,borderColor:ot,borderTopColor:ot,borderRightColor:ot,borderBottomColor:ot,borderLeftColor:ot,filter:Fl,WebkitFilter:Fl},Ll=e=>D4[e];function Xp(e,t){let n=Ll(e);return n!==Fl&&(n=Pn),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const Zp=e=>/^0[^.\s]+$/.test(e);function N4(e){if(typeof e=="number")return e===0;if(e!==null)return e==="none"||e==="0"||Zp(e)}function $4(e,t,n,r){const o=Ol(t,n);let a;Array.isArray(n)?a=[...n]:a=[null,n];const i=r.from!==void 0?r.from:e.get();let s;const l=[];for(let u=0;u<a.length;u++)a[u]===null&&(a[u]=u===0?i:a[u-1]),N4(a[u])&&l.push(u),typeof a[u]=="string"&&a[u]!=="none"&&a[u]!=="0"&&(s=a[u]);if(o&&l.length&&s)for(let u=0;u<l.length;u++){const c=l[u];a[c]=Xp(t,s)}return a}function k4({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:o,repeat:a,repeatType:i,repeatDelay:s,from:l,elapsed:u,...c}){return!!Object.keys(c).length}function Vl(e,t){return e[t]||e.default||e}const jl=(e,t,n,r={})=>o=>{const a=Vl(r,e)||{},i=a.delay||r.delay||0;let{elapsed:s=0}=r;s=s-En(i);const l=$4(t,e,n,a),u=l[0],c=l[l.length-1],d=Ol(e,u),p=Ol(e,c);wo(d===p,`You are trying to animate ${e} from "${u}" to "${c}". ${u} is not an animatable value - to enable this animation set ${u} to a value animatable to ${c} via the \`style\` property.`);let m={keyframes:l,velocity:t.getVelocity(),ease:"easeOut",...a,delay:-s,onUpdate:h=>{t.set(h),a.onUpdate&&a.onUpdate(h)},onComplete:()=>{o(),a.onComplete&&a.onComplete()}};if(k4(a)||(m={...m,...S4(e,m)}),m.duration&&(m.duration=En(m.duration)),m.repeatDelay&&(m.repeatDelay=En(m.repeatDelay)),!d||!p||N5.current||a.type===!1)return C4(m);if(!r.isHandoff&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const h=x4(t,e,m);if(h)return h}return si(m)};function ui(e){return!!(ut(e)&&e.add)}const Yp=e=>/^\-?\d*\.?\d+$/.test(e);function Bl(e,t){e.indexOf(t)===-1&&e.push(t)}function Wl(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class _l{constructor(){this.subscriptions=[]}add(t){return Bl(this.subscriptions,t),()=>Wl(this.subscriptions,t)}notify(t,n,r){const o=this.subscriptions.length;if(o)if(o===1)this.subscriptions[0](t,n,r);else for(let a=0;a<o;a++){const i=this.subscriptions[a];i&&i(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Up=new Set;function Gl(e,t,n){e||Up.has(t)||(console.warn(t),n&&console.warn(n),Up.add(t))}const O4=e=>!isNaN(parseFloat(e));class F4{constructor(t,n={}){this.version="10.16.16",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(r,o=!0)=>{this.prev=this.current,this.current=r;const{delta:a,timestamp:i}=qe;this.lastUpdated!==i&&(this.timeDelta=a,this.lastUpdated=i,Oe.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),o&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>Oe.postRender(this.velocityCheck),this.velocityCheck=({timestamp:r})=>{r!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=O4(this.current),this.owner=n.owner}onChange(t){return process.env.NODE_ENV!=="production"&&Gl(!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 _l);const r=this.events[t].add(n);return t==="change"?()=>{r(),Oe.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t,n=!0){!n||!this.passiveEffect?this.updateAndNotify(t,n):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,n,r){this.set(n),this.prev=t,this.timeDelta=r}jump(t){this.updateAndNotify(t),this.prev=t,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?jp(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}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 Ar(e,t){return new F4(e,t)}const Kp=e=>t=>t.test(e),Jp=[zn,fe,Rt,Cn,Zy,Xy,{test:e=>e==="auto",parse:e=>e}],So=e=>Jp.find(Kp(e)),L4=[...Jp,ot,Pn],V4=e=>L4.find(Kp(e));function j4(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Ar(n))}function B4(e,t){const n=oi(e,t);let{transitionEnd:r={},transition:o={},...a}=n?e.makeTargetAnimatable(n,!1):{};a={...a,...r};for(const i in a){const s=s5(a[i]);j4(e,i,s)}}function W4(e,t,n){var r,o;const a=Object.keys(t).filter(s=>!e.hasValue(s)),i=a.length;if(i)for(let s=0;s<i;s++){const l=a[s],u=t[l];let c=null;Array.isArray(u)&&(c=u[0]),c===null&&(c=(o=(r=n[l])!==null&&r!==void 0?r:e.readValue(l))!==null&&o!==void 0?o:t[l]),c!=null&&(typeof c=="string"&&(Yp(c)||Zp(c))?c=parseFloat(c):!V4(c)&&Pn.test(u)&&(c=Xp(l,u)),e.addValue(l,Ar(c,{owner:e})),n[l]===void 0&&(n[l]=c),c!==null&&e.setBaseTarget(l,c))}}function _4(e,t){return t?(t[e]||t.default||t).from:void 0}function G4(e,t,n){const r={};for(const o in e){const a=_4(o,t);if(a!==void 0)r[o]=a;else{const i=n.getValue(o);i&&(r[o]=i.get())}}return r}function R4({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function z4(e,t){const n=e.get();if(Array.isArray(t)){for(let r=0;r<t.length;r++)if(t[r]!==n)return!0}else return n!==t}function Qp(e,t,{delay:n=0,transitionOverride:r,type:o}={}){let{transition:a=e.getDefaultTransition(),transitionEnd:i,...s}=e.makeTargetAnimatable(t);const l=e.getValue("willChange");r&&(a=r);const u=[],c=o&&e.animationState&&e.animationState.getState()[o];for(const d in s){const p=e.getValue(d),m=s[d];if(!p||m===void 0||c&&R4(c,d))continue;const h={delay:n,elapsed:0,...Vl(a||{},d)};if(window.HandoffAppearAnimations){const x=e.getProps()[Of];if(x){const y=window.HandoffAppearAnimations(x,d,p,Oe);y!==null&&(h.elapsed=y,h.isHandoff=!0)}}let g=!h.isHandoff&&!z4(p,m);if(h.type==="spring"&&(p.getVelocity()||h.velocity)&&(g=!1),p.animation&&(g=!1),g)continue;p.start(jl(d,p,m,e.shouldReduceMotion&&Rn.has(d)?{type:!1}:h));const b=p.animation;ui(l)&&(l.add(d),b.then(()=>l.remove(d))),u.push(b)}return i&&Promise.all(u).then(()=>{i&&B4(e,i)}),u}function Rl(e,t,n={}){const r=oi(e,t,n.custom);let{transition:o=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(o=n.transitionOverride);const a=r?()=>Promise.all(Qp(e,r,n)):()=>Promise.resolve(),i=e.variantChildren&&e.variantChildren.size?(l=0)=>{const{delayChildren:u=0,staggerChildren:c,staggerDirection:d}=o;return H4(e,t,u+l,c,d,n)}:()=>Promise.resolve(),{when:s}=o;if(s){const[l,u]=s==="beforeChildren"?[a,i]:[i,a];return l().then(()=>u())}else return Promise.all([a(),i(n.delay)])}function H4(e,t,n=0,r=0,o=1,a){const i=[],s=(e.variantChildren.size-1)*r,l=o===1?(u=0)=>u*r:(u=0)=>s-u*r;return Array.from(e.variantChildren).sort(X4).forEach((u,c)=>{u.notify("AnimationStart",t),i.push(Rl(u,t,{...a,delay:n+l(c)}).then(()=>u.notify("AnimationComplete",t)))}),Promise.all(i)}function X4(e,t){return e.sortNodePosition(t)}function Z4(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const o=t.map(a=>Rl(e,a,n));r=Promise.all(o)}else if(typeof t=="string")r=Rl(e,t,n);else{const o=typeof t=="function"?oi(e,t,n.custom):t;r=Promise.all(Qp(e,o,n))}return r.then(()=>e.notify("AnimationComplete",t))}const Y4=[...cl].reverse(),U4=cl.length;function K4(e){return t=>Promise.all(t.map(({animation:n,options:r})=>Z4(e,n,r)))}function J4(e){let t=K4(e);const n=q4();let r=!0;const o=(l,u)=>{const c=oi(e,u);if(c){const{transition:d,transitionEnd:p,...m}=c;l={...l,...m,...p}}return l};function a(l){t=l(e)}function i(l,u){const c=e.getProps(),d=e.getVariantContext(!0)||{},p=[],m=new Set;let h={},g=1/0;for(let x=0;x<U4;x++){const y=Y4[x],w=n[y],S=c[y]!==void 0?c[y]:d[y],E=mo(S),A=y===u?w.isActive:null;A===!1&&(g=x);let T=S===d[y]&&S!==c[y]&&E;if(T&&r&&e.manuallyAnimateOnMount&&(T=!1),w.protectedKeys={...h},!w.isActive&&A===null||!S&&!w.prevProp||Ya(S)||typeof S=="boolean")continue;const v=Q4(w.prevProp,S);let D=v||y===u&&w.isActive&&!T&&E||x>g&&E;const $=Array.isArray(S)?S:[S];let M=$.reduce(o,{});A===!1&&(M={});const{prevResolvedValues:k={}}=w,I={...k,...M},P=O=>{D=!0,m.delete(O),w.needsAnimating[O]=!0};for(const O in I){const j=M[O],N=k[O];h.hasOwnProperty(O)||(j!==N?ei(j)&&ei(N)?!dp(j,N)||v?P(O):w.protectedKeys[O]=!0:j!==void 0?P(O):m.add(O):j!==void 0&&m.has(O)?P(O):w.protectedKeys[O]=!0)}w.prevProp=S,w.prevResolvedValues=M,w.isActive&&(h={...h,...M}),r&&e.blockInitialAnimation&&(D=!1),D&&!T&&p.push(...$.map(O=>({animation:O,options:{type:y,...l}})))}if(m.size){const x={};m.forEach(y=>{const w=e.getBaseTarget(y);w!==void 0&&(x[y]=w)}),p.push({animation:x})}let b=!!p.length;return r&&(c.initial===!1||c.initial===c.animate)&&!e.manuallyAnimateOnMount&&(b=!1),r=!1,b?t(p):Promise.resolve()}function s(l,u,c){var d;if(n[l].isActive===u)return Promise.resolve();(d=e.variantChildren)===null||d===void 0||d.forEach(m=>{var h;return(h=m.animationState)===null||h===void 0?void 0:h.setActive(l,u)}),n[l].isActive=u;const p=i(c,l);for(const m in n)n[m].protectedKeys={};return p}return{animateChanges:i,setActive:s,setAnimateFunction:a,getState:()=>n}}function Q4(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!dp(t,e):!1}function Xn(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function q4(){return{animate:Xn(!0),whileInView:Xn(),whileHover:Xn(),whileTap:Xn(),whileDrag:Xn(),whileFocus:Xn(),exit:Xn()}}class e3 extends In{constructor(t){super(t),t.animationState||(t.animationState=J4(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();this.unmount(),Ya(t)&&(this.unmount=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){}}let t3=0;class n3 extends In{constructor(){super(...arguments),this.id=t3++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n,custom:r}=this.node.presenceContext,{isPresent:o}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===o)return;const a=this.node.animationState.setActive("exit",!t,{custom:r??this.node.getProps().custom});n&&!t&&a.then(()=>n(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const r3={animation:{Feature:e3},exit:{Feature:n3}},qp=(e,t)=>Math.abs(e-t);function o3(e,t){const n=qp(e.x,t.x),r=qp(e.y,t.y);return Math.sqrt(n**2+r**2)}class e0{constructor(t,n,{transformPagePoint:r,contextWindow:o}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const c=Hl(this.lastMoveEventInfo,this.history),d=this.startEvent!==null,p=o3(c.offset,{x:0,y:0})>=3;if(!d&&!p)return;const{point:m}=c,{timestamp:h}=qe;this.history.push({...m,timestamp:h});const{onStart:g,onMove:b}=this.handlers;d||(g&&g(this.lastMoveEvent,c),this.startEvent=this.lastMoveEvent),b&&b(this.lastMoveEvent,c)},this.handlePointerMove=(c,d)=>{this.lastMoveEvent=c,this.lastMoveEventInfo=zl(d,this.transformPagePoint),Oe.update(this.updatePoint,!0)},this.handlePointerUp=(c,d)=>{if(this.end(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const{onEnd:p,onSessionEnd:m}=this.handlers,h=Hl(c.type==="pointercancel"?this.lastMoveEventInfo:zl(d,this.transformPagePoint),this.history);this.startEvent&&p&&p(c,h),m&&m(c,h)},!rp(t))return;this.handlers=n,this.transformPagePoint=r,this.contextWindow=o||window;const a=ri(t),i=zl(a,this.transformPagePoint),{point:s}=i,{timestamp:l}=qe;this.history=[{...s,timestamp:l}];const{onSessionStart:u}=n;u&&u(t,Hl(i,this.history)),this.removeListeners=wn(rn(this.contextWindow,"pointermove",this.handlePointerMove),rn(this.contextWindow,"pointerup",this.handlePointerUp),rn(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),tn(this.updatePoint)}}function zl(e,t){return t?{point:t(e.point)}:e}function t0(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Hl({point:e},t){return{point:e,delta:t0(e,n0(t)),offset:t0(e,a3(t)),velocity:i3(t,.1)}}function a3(e){return e[0]}function n0(e){return e[e.length-1]}function i3(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const o=n0(e);for(;n>=0&&(r=e[n],!(o.timestamp-r.timestamp>En(t)));)n--;if(!r)return{x:0,y:0};const a=on(o.timestamp-r.timestamp);if(a===0)return{x:0,y:0};const i={x:(o.x-r.x)/a,y:(o.y-r.y)/a};return i.x===1/0&&(i.x=0),i.y===1/0&&(i.y=0),i}function vt(e){return e.max-e.min}function Xl(e,t=0,n=.01){return Math.abs(e-t)<=n}function r0(e,t,n,r=.5){e.origin=r,e.originPoint=Re(t.min,t.max,e.origin),e.scale=vt(n)/vt(t),(Xl(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=Re(n.min,n.max,e.origin)-e.originPoint,(Xl(e.translate)||isNaN(e.translate))&&(e.translate=0)}function Mo(e,t,n,r){r0(e.x,t.x,n.x,r?r.originX:void 0),r0(e.y,t.y,n.y,r?r.originY:void 0)}function o0(e,t,n){e.min=n.min+t.min,e.max=e.min+vt(t)}function s3(e,t,n){o0(e.x,t.x,n.x),o0(e.y,t.y,n.y)}function a0(e,t,n){e.min=t.min-n.min,e.max=e.min+vt(t)}function Ao(e,t,n){a0(e.x,t.x,n.x),a0(e.y,t.y,n.y)}function l3(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?Re(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?Re(n,e,r.max):Math.min(e,n)),e}function i0(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 u3(e,{top:t,left:n,bottom:r,right:o}){return{x:i0(e.x,n,o),y:i0(e.y,t,r)}}function s0(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function c3(e,t){return{x:s0(e.x,t.x),y:s0(e.y,t.y)}}function d3(e,t){let n=.5;const r=vt(e),o=vt(t);return o>r?n=Po(t.min,t.max-r,e.min):r>o&&(n=Po(e.min,e.max-o,t.min)),xn(0,1,n)}function f3(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 Zl=.35;function p3(e=Zl){return e===!1?e=0:e===!0&&(e=Zl),{x:l0(e,"left","right"),y:l0(e,"top","bottom")}}function l0(e,t,n){return{min:u0(e,t),max:u0(e,n)}}function u0(e,t){return typeof e=="number"?e:e[t]||0}const c0=()=>({translate:0,scale:1,origin:0,originPoint:0}),Tr=()=>({x:c0(),y:c0()}),d0=()=>({min:0,max:0}),Ye=()=>({x:d0(),y:d0()});function zt(e){return[e("x"),e("y")]}function f0({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function m3({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function h3(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function Yl(e){return e===void 0||e===1}function Ul({scale:e,scaleX:t,scaleY:n}){return!Yl(e)||!Yl(t)||!Yl(n)}function Zn(e){return Ul(e)||p0(e)||e.z||e.rotate||e.rotateX||e.rotateY}function p0(e){return m0(e.x)||m0(e.y)}function m0(e){return e&&e!=="0%"}function ci(e,t,n){const r=e-n,o=t*r;return n+o}function h0(e,t,n,r,o){return o!==void 0&&(e=ci(e,o,r)),ci(e,n,r)+t}function Kl(e,t=0,n=1,r,o){e.min=h0(e.min,t,n,r,o),e.max=h0(e.max,t,n,r,o)}function g0(e,{x:t,y:n}){Kl(e.x,t.translate,t.scale,t.originPoint),Kl(e.y,n.translate,n.scale,n.originPoint)}function g3(e,t,n,r=!1){const o=n.length;if(!o)return;t.x=t.y=1;let a,i;for(let s=0;s<o;s++){a=n[s],i=a.projectionDelta;const l=a.instance;l&&l.style&&l.style.display==="contents"||(r&&a.options.layoutScroll&&a.scroll&&a!==a.root&&Dr(e,{x:-a.scroll.offset.x,y:-a.scroll.offset.y}),i&&(t.x*=i.x.scale,t.y*=i.y.scale,g0(e,i)),r&&Zn(a.latestValues)&&Dr(e,a.latestValues))}t.x=b0(t.x),t.y=b0(t.y)}function b0(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function Sn(e,t){e.min=e.min+t,e.max=e.max+t}function v0(e,t,[n,r,o]){const a=t[o]!==void 0?t[o]:.5,i=Re(e.min,e.max,a);Kl(e,t[n],t[r],i,t.scale)}const b3=["x","scaleX","originX"],v3=["y","scaleY","originY"];function Dr(e,t){v0(e.x,t,b3),v0(e.y,t,v3)}function y0(e,t){return f0(h3(e.getBoundingClientRect(),t))}function y3(e,t,n){const r=y0(e,n),{scroll:o}=t;return o&&(Sn(r.x,o.offset.x),Sn(r.y,o.offset.y)),r}const x0=({current:e})=>e?e.ownerDocument.defaultView:null,x3=new WeakMap;class C3{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Ye(),this.visualElement=t}start(t,{snapToCursor:n=!1}={}){const{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;const o=l=>{this.stopAnimation(),n&&this.snapToCursor(ri(l,"page").point)},a=(l,u)=>{const{drag:c,dragPropagation:d,onDragStart:p}=this.getProps();if(c&&!d&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=sp(c),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),zt(h=>{let g=this.getAxisMotionValue(h).get()||0;if(Rt.test(g)){const{projection:b}=this.visualElement;if(b&&b.layout){const x=b.layout.layoutBox[h];x&&(g=vt(x)*(parseFloat(g)/100))}}this.originPoint[h]=g}),p&&Oe.update(()=>p(l,u),!1,!0);const{animationState:m}=this.visualElement;m&&m.setActive("whileDrag",!0)},i=(l,u)=>{const{dragPropagation:c,dragDirectionLock:d,onDirectionLock:p,onDrag:m}=this.getProps();if(!c&&!this.openGlobalLock)return;const{offset:h}=u;if(d&&this.currentDirection===null){this.currentDirection=w3(h),this.currentDirection!==null&&p&&p(this.currentDirection);return}this.updateAxis("x",u.point,h),this.updateAxis("y",u.point,h),this.visualElement.render(),m&&m(l,u)},s=(l,u)=>this.stop(l,u);this.panSession=new e0(t,{onSessionStart:o,onStart:a,onMove:i,onSessionEnd:s},{transformPagePoint:this.visualElement.getTransformPagePoint(),contextWindow:x0(this.visualElement)})}stop(t,n){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:o}=n;this.startAnimation(o);const{onDragEnd:a}=this.getProps();a&&Oe.update(()=>a(t,n))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,r){const{drag:o}=this.getProps();if(!r||!di(t,o,this.currentDirection))return;const a=this.getAxisMotionValue(t);let i=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(i=l3(i,this.constraints[t],this.elastic[t])),a.set(i)}resolveConstraints(){var t;const{dragConstraints:n,dragElastic:r}=this.getProps(),o=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)===null||t===void 0?void 0:t.layout,a=this.constraints;n&&Sr(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&o?this.constraints=u3(o.layoutBox,n):this.constraints=!1,this.elastic=p3(r),a!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&zt(i=>{this.getAxisMotionValue(i)&&(this.constraints[i]=f3(o.layoutBox[i],this.constraints[i]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Sr(t))return!1;const r=t.current;kt(r!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:o}=this.visualElement;if(!o||!o.layout)return!1;const a=y3(r,o.root,this.visualElement.getTransformPagePoint());let i=c3(o.layout.layoutBox,a);if(n){const s=n(m3(i));this.hasMutatedConstraints=!!s,s&&(i=f0(s))}return i}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:o,dragTransition:a,dragSnapToOrigin:i,onDragTransitionEnd:s}=this.getProps(),l=this.constraints||{},u=zt(c=>{if(!di(c,n,this.currentDirection))return;let d=l&&l[c]||{};i&&(d={min:0,max:0});const p=o?200:1e6,m=o?40:1e7,h={type:"inertia",velocity:r?t[c]:0,bounceStiffness:p,bounceDamping:m,timeConstant:750,restDelta:1,restSpeed:10,...a,...d};return this.startAxisValueAnimation(c,h)});return Promise.all(u).then(s)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return r.start(jl(t,r,0,n))}stopAnimation(){zt(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){const n="_drag"+t.toUpperCase(),r=this.visualElement.getProps(),o=r[n];return o||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){zt(n=>{const{drag:r}=this.getProps();if(!di(n,r,this.currentDirection))return;const{projection:o}=this.visualElement,a=this.getAxisMotionValue(n);if(o&&o.layout){const{min:i,max:s}=o.layout.layoutBox[n];a.set(t[n]-Re(i,s,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!Sr(n)||!r||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};zt(i=>{const s=this.getAxisMotionValue(i);if(s){const l=s.get();o[i]=d3({min:l,max:l},this.constraints[i])}});const{transformTemplate:a}=this.visualElement.getProps();this.visualElement.current.style.transform=a?a({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),zt(i=>{if(!di(i,t,null))return;const s=this.getAxisMotionValue(i),{min:l,max:u}=this.constraints[i];s.set(Re(l,u,o[i]))})}addListeners(){if(!this.visualElement.current)return;x3.set(this.visualElement,this);const t=this.visualElement.current,n=rn(t,"pointerdown",l=>{const{drag:u,dragListener:c=!0}=this.getProps();u&&c&&this.start(l)}),r=()=>{const{dragConstraints:l}=this.getProps();Sr(l)&&(this.constraints=this.resolveRefConstraints())},{projection:o}=this.visualElement,a=o.addEventListener("measure",r);o&&!o.layout&&(o.root&&o.root.updateScroll(),o.updateLayout()),r();const i=nn(window,"resize",()=>this.scalePositionWithinConstraints()),s=o.addEventListener("didUpdate",({delta:l,hasLayoutChanged:u})=>{this.isDragging&&u&&(zt(c=>{const d=this.getAxisMotionValue(c);d&&(this.originPoint[c]+=l[c].translate,d.set(d.get()+l[c].translate))}),this.visualElement.render())});return()=>{i(),n(),a(),s&&s()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:o=!1,dragConstraints:a=!1,dragElastic:i=Zl,dragMomentum:s=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:o,dragConstraints:a,dragElastic:i,dragMomentum:s}}}function di(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function w3(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class I3 extends In{constructor(t){super(t),this.removeGroupControls=ze,this.removeListeners=ze,this.controls=new C3(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||ze}unmount(){this.removeGroupControls(),this.removeListeners()}}const C0=e=>(t,n)=>{e&&Oe.update(()=>e(t,n))};class E3 extends In{constructor(){super(...arguments),this.removePointerDownListener=ze}onPointerDown(t){this.session=new e0(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:x0(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:o}=this.node.getProps();return{onSessionStart:C0(t),onStart:C0(n),onMove:r,onEnd:(a,i)=>{delete this.session,o&&Oe.update(()=>o(a,i))}}}mount(){this.removePointerDownListener=rn(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}function P3(){const e=f.useContext(Xa);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:n,register:r}=e,o=f.useId();return f.useEffect(()=>r(o),[]),!t&&n?[!1,()=>n&&n(o)]:[!0]}const fi={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function w0(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const To={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(fe.test(e))e=parseFloat(e);else return e;const n=w0(e,t.target.x),r=w0(e,t.target.y);return`${n}% ${r}%`}},S3={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,o=Pn.parse(e);if(o.length>5)return r;const a=Pn.createTransformer(e),i=typeof o[0]!="number"?1:0,s=n.x.scale*t.x,l=n.y.scale*t.y;o[0+i]/=s,o[1+i]/=l;const u=Re(s,l,.5);return typeof o[2+i]=="number"&&(o[2+i]/=u),typeof o[3+i]=="number"&&(o[3+i]/=u),a(o)}};class M3 extends f.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:o}=this.props,{projection:a}=t;By(A3),a&&(n.group&&n.group.add(a),r&&r.register&&o&&r.register(a),a.root.didUpdate(),a.addEventListener("animationComplete",()=>{this.safeToRemove()}),a.setOptions({...a.options,onExitComplete:()=>this.safeToRemove()})),fi.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:o,isPresent:a}=this.props,i=r.projection;return i&&(i.isPresent=a,o||t.layoutDependency!==n||n===void 0?i.willUpdate():this.safeToRemove(),t.isPresent!==a&&(a?i.promote():i.relegate()||Oe.postRender(()=>{const s=i.getStack();(!s||!s.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),queueMicrotask(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:o}=t;o&&(o.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(o),r&&r.deregister&&r.deregister(o))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function I0(e){const[t,n]=P3(),r=f.useContext(go);return f.createElement(M3,{...e,layoutGroup:r,switchLayoutGroup:f.useContext(jf),isPresent:t,safeToRemove:n})}const A3={borderRadius:{...To,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:To,borderTopRightRadius:To,borderBottomLeftRadius:To,borderBottomRightRadius:To,boxShadow:S3},E0=["TopLeft","TopRight","BottomLeft","BottomRight"],T3=E0.length,P0=e=>typeof e=="string"?parseFloat(e):e,S0=e=>typeof e=="number"||fe.test(e);function D3(e,t,n,r,o,a){o?(e.opacity=Re(0,n.opacity!==void 0?n.opacity:1,N3(r)),e.opacityExit=Re(t.opacity!==void 0?t.opacity:1,0,$3(r))):a&&(e.opacity=Re(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,r));for(let i=0;i<T3;i++){const s=`border${E0[i]}Radius`;let l=M0(t,s),u=M0(n,s);if(l===void 0&&u===void 0)continue;l||(l=0),u||(u=0),l===0||u===0||S0(l)===S0(u)?(e[s]=Math.max(Re(P0(l),P0(u),r),0),(Rt.test(u)||Rt.test(l))&&(e[s]+="%")):e[s]=u}(t.rotate||n.rotate)&&(e.rotate=Re(t.rotate||0,n.rotate||0,r))}function M0(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const N3=A0(0,.5,xp),$3=A0(.5,.95,ze);function A0(e,t,n){return r=>r<e?0:r>t?1:n(Po(e,t,r))}function T0(e,t){e.min=t.min,e.max=t.max}function Mt(e,t){T0(e.x,t.x),T0(e.y,t.y)}function D0(e,t,n,r,o){return e-=t,e=ci(e,1/n,r),o!==void 0&&(e=ci(e,1/o,r)),e}function k3(e,t=0,n=1,r=.5,o,a=e,i=e){if(Rt.test(t)&&(t=parseFloat(t),t=Re(i.min,i.max,t/100)-i.min),typeof t!="number")return;let s=Re(a.min,a.max,r);e===a&&(s-=t),e.min=D0(e.min,t,n,s,o),e.max=D0(e.max,t,n,s,o)}function N0(e,t,[n,r,o],a,i){k3(e,t[n],t[r],t[o],t.scale,a,i)}const O3=["x","scaleX","originX"],F3=["y","scaleY","originY"];function $0(e,t,n,r){N0(e.x,t,O3,n?n.x:void 0,r?r.x:void 0),N0(e.y,t,F3,n?n.y:void 0,r?r.y:void 0)}function k0(e){return e.translate===0&&e.scale===1}function O0(e){return k0(e.x)&&k0(e.y)}function L3(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function F0(e,t){return Math.round(e.x.min)===Math.round(t.x.min)&&Math.round(e.x.max)===Math.round(t.x.max)&&Math.round(e.y.min)===Math.round(t.y.min)&&Math.round(e.y.max)===Math.round(t.y.max)}function L0(e){return vt(e.x)/vt(e.y)}class V3{constructor(){this.members=[]}add(t){Bl(this.members,t),t.scheduleRender()}remove(t){if(Wl(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(o=>t===o);if(n===0)return!1;let r;for(let o=n;o>=0;o--){const a=this.members[o];if(a.isPresent!==!1){r=a;break}}return r?(this.promote(r),!0):!1}promote(t,n){const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,n&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:o}=t.options;o===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:r}=t;n.onExitComplete&&n.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function V0(e,t,n){let r="";const o=e.x.translate/t.x,a=e.y.translate/t.y;if((o||a)&&(r=`translate3d(${o}px, ${a}px, 0) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{rotate:l,rotateX:u,rotateY:c}=n;l&&(r+=`rotate(${l}deg) `),u&&(r+=`rotateX(${u}deg) `),c&&(r+=`rotateY(${c}deg) `)}const i=e.x.scale*t.x,s=e.y.scale*t.y;return(i!==1||s!==1)&&(r+=`scale(${i}, ${s})`),r||"none"}const j3=(e,t)=>e.depth-t.depth;class B3{constructor(){this.children=[],this.isDirty=!1}add(t){Bl(this.children,t),this.isDirty=!0}remove(t){Wl(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(j3),this.isDirty=!1,this.children.forEach(t)}}function W3(e,t){const n=performance.now(),r=({timestamp:o})=>{const a=o-n;a>=t&&(tn(r),e(a-t))};return Oe.read(r,!0),()=>tn(r)}function _3(e){window.MotionDebug&&window.MotionDebug.record(e)}function G3(e){return e instanceof SVGElement&&e.tagName!=="svg"}function R3(e,t,n){const r=ut(e)?e:Ar(e);return r.start(jl("",r,t,n)),r.animation}const j0=["","X","Y","Z"],z3={visibility:"hidden"},B0=1e3;let H3=0;const Yn={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function W0({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:o}){return class{constructor(i={},s=t==null?void 0:t()){this.id=H3++,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.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,Yn.totalNodes=Yn.resolvedTargetDeltas=Yn.recalculatedProjection=0,this.nodes.forEach(Y3),this.nodes.forEach(q3),this.nodes.forEach(e6),this.nodes.forEach(U3),_3(Yn)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=i,this.root=s?s.root||s:this,this.path=s?[...s.path,s]:[],this.parent=s,this.depth=s?s.depth+1:0;for(let l=0;l<this.path.length;l++)this.path[l].shouldResetTransform=!0;this.root===this&&(this.nodes=new B3)}addEventListener(i,s){return this.eventHandlers.has(i)||this.eventHandlers.set(i,new _l),this.eventHandlers.get(i).add(s)}notifyListeners(i,...s){const l=this.eventHandlers.get(i);l&&l.notify(...s)}hasListeners(i){return this.eventHandlers.has(i)}mount(i,s=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=G3(i),this.instance=i;const{layoutId:l,layout:u,visualElement:c}=this.options;if(c&&!c.current&&c.mount(i),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),s&&(u||l)&&(this.isLayoutDirty=!0),e){let d;const p=()=>this.root.updateBlockedByResize=!1;e(i,()=>{this.root.updateBlockedByResize=!0,d&&d(),d=W3(p,250),fi.hasAnimatedSinceResize&&(fi.hasAnimatedSinceResize=!1,this.nodes.forEach(G0))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&c&&(l||u)&&this.addEventListener("didUpdate",({delta:d,hasLayoutChanged:p,hasRelativeTargetChanged:m,layout:h})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const g=this.options.transition||c.getDefaultTransition()||a6,{onLayoutAnimationStart:b,onLayoutAnimationComplete:x}=c.getProps(),y=!this.targetLayout||!F0(this.targetLayout,h)||m,w=!p&&m;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||w||p&&(y||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(d,w);const S={...Vl(g,"layout"),onPlay:b,onComplete:x};(c.shouldReduceMotion||this.options.layoutRoot)&&(S.delay=0,S.type=!1),this.startAnimation(S)}else p||G0(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=h})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const i=this.getStack();i&&i.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,tn(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(t6),this.animationId++)}getTransformTemplate(){const{visualElement:i}=this.options;return i&&i.getProps().transformTemplate}willUpdate(i=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(!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:s,layout:l}=this.options;if(s===void 0&&!l)return;const u=this.getTransformTemplate();this.prevTransformTemplateValue=u?u(this.latestValues,""):void 0,this.updateSnapshot(),i&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(_0);return}this.isUpdating||this.nodes.forEach(J3),this.isUpdating=!1,this.nodes.forEach(Q3),this.nodes.forEach(X3),this.nodes.forEach(Z3),this.clearAllSnapshots();const s=performance.now();qe.delta=xn(0,1e3/60,s-qe.timestamp),qe.timestamp=s,qe.isProcessing=!0,xl.update.process(qe),xl.preRender.process(qe),xl.render.process(qe),qe.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(K3),this.sharedNodes.forEach(n6)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Oe.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Oe.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 l=0;l<this.path.length;l++)this.path[l].updateScroll();const i=this.layout;this.layout=this.measure(!1),this.layoutCorrected=Ye(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:s}=this.options;s&&s.notify("LayoutMeasure",this.layout.layoutBox,i?i.layoutBox:void 0)}updateScroll(i="measure"){let s=!!(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===i&&(s=!1),s&&(this.scroll={animationId:this.root.animationId,phase:i,isRoot:r(this.instance),offset:n(this.instance)})}resetTransform(){if(!o)return;const i=this.isLayoutDirty||this.shouldResetTransform,s=this.projectionDelta&&!O0(this.projectionDelta),l=this.getTransformTemplate(),u=l?l(this.latestValues,""):void 0,c=u!==this.prevTransformTemplateValue;i&&(s||Zn(this.latestValues)||c)&&(o(this.instance,u),this.shouldResetTransform=!1,this.scheduleRender())}measure(i=!0){const s=this.measurePageBox();let l=this.removeElementScroll(s);return i&&(l=this.removeTransform(l)),i6(l),{animationId:this.root.animationId,measuredBox:s,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:i}=this.options;if(!i)return Ye();const s=i.measureViewportBox(),{scroll:l}=this.root;return l&&(Sn(s.x,l.offset.x),Sn(s.y,l.offset.y)),s}removeElementScroll(i){const s=Ye();Mt(s,i);for(let l=0;l<this.path.length;l++){const u=this.path[l],{scroll:c,options:d}=u;if(u!==this.root&&c&&d.layoutScroll){if(c.isRoot){Mt(s,i);const{scroll:p}=this.root;p&&(Sn(s.x,-p.offset.x),Sn(s.y,-p.offset.y))}Sn(s.x,c.offset.x),Sn(s.y,c.offset.y)}}return s}applyTransform(i,s=!1){const l=Ye();Mt(l,i);for(let u=0;u<this.path.length;u++){const c=this.path[u];!s&&c.options.layoutScroll&&c.scroll&&c!==c.root&&Dr(l,{x:-c.scroll.offset.x,y:-c.scroll.offset.y}),Zn(c.latestValues)&&Dr(l,c.latestValues)}return Zn(this.latestValues)&&Dr(l,this.latestValues),l}removeTransform(i){const s=Ye();Mt(s,i);for(let l=0;l<this.path.length;l++){const u=this.path[l];if(!u.instance||!Zn(u.latestValues))continue;Ul(u.latestValues)&&u.updateSnapshot();const c=Ye(),d=u.measurePageBox();Mt(c,d),$0(s,u.latestValues,u.snapshot?u.snapshot.layoutBox:void 0,c)}return Zn(this.latestValues)&&$0(s,this.latestValues),s}setTargetDelta(i){this.targetDelta=i,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(i){this.options={...this.options,...i,crossfade:i.crossfade!==void 0?i.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!==qe.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(i=!1){var s;const l=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=l.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=l.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=l.isSharedProjectionDirty);const u=!!this.resumingFrom||this!==l;if(!(i||u&&this.isSharedProjectionDirty||this.isProjectionDirty||!((s=this.parent)===null||s===void 0)&&s.isProjectionDirty||this.attemptToResolveRelativeTarget))return;const{layout:d,layoutId:p}=this.options;if(!(!this.layout||!(d||p))){if(this.resolvedRelativeTargetAt=qe.timestamp,!this.targetDelta&&!this.relativeTarget){const m=this.getClosestProjectingParent();m&&m.layout&&this.animationProgress!==1?(this.relativeParent=m,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Ye(),this.relativeTargetOrigin=Ye(),Ao(this.relativeTargetOrigin,this.layout.layoutBox,m.layout.layoutBox),Mt(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=Ye(),this.targetWithTransforms=Ye()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),s3(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Mt(this.target,this.layout.layoutBox),g0(this.target,this.targetDelta)):Mt(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const m=this.getClosestProjectingParent();m&&!!m.resumingFrom==!!this.resumingFrom&&!m.options.layoutScroll&&m.target&&this.animationProgress!==1?(this.relativeParent=m,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Ye(),this.relativeTargetOrigin=Ye(),Ao(this.relativeTargetOrigin,this.target,m.target),Mt(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}Yn.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||Ul(this.parent.latestValues)||p0(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 i;const s=this.getLead(),l=!!this.resumingFrom||this!==s;let u=!0;if((this.isProjectionDirty||!((i=this.parent)===null||i===void 0)&&i.isProjectionDirty)&&(u=!1),l&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(u=!1),this.resolvedRelativeTargetAt===qe.timestamp&&(u=!1),u)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;Mt(this.layoutCorrected,this.layout.layoutBox);const p=this.treeScale.x,m=this.treeScale.y;g3(this.layoutCorrected,this.treeScale,this.path,l),s.layout&&!s.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(s.target=s.layout.layoutBox);const{target:h}=s;if(!h){this.projectionTransform&&(this.projectionDelta=Tr(),this.projectionTransform="none",this.scheduleRender());return}this.projectionDelta||(this.projectionDelta=Tr(),this.projectionDeltaWithTransform=Tr());const g=this.projectionTransform;Mo(this.projectionDelta,this.layoutCorrected,h,this.latestValues),this.projectionTransform=V0(this.projectionDelta,this.treeScale),(this.projectionTransform!==g||this.treeScale.x!==p||this.treeScale.y!==m)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",h)),Yn.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(i=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),i){const s=this.getStack();s&&s.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(i,s=!1){const l=this.snapshot,u=l?l.latestValues:{},c={...this.latestValues},d=Tr();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!s;const p=Ye(),m=l?l.source:void 0,h=this.layout?this.layout.source:void 0,g=m!==h,b=this.getStack(),x=!b||b.members.length<=1,y=!!(g&&!x&&this.options.crossfade===!0&&!this.path.some(o6));this.animationProgress=0;let w;this.mixTargetDelta=S=>{const E=S/1e3;R0(d.x,i.x,E),R0(d.y,i.y,E),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Ao(p,this.layout.layoutBox,this.relativeParent.layout.layoutBox),r6(this.relativeTarget,this.relativeTargetOrigin,p,E),w&&L3(this.relativeTarget,w)&&(this.isProjectionDirty=!1),w||(w=Ye()),Mt(w,this.relativeTarget)),g&&(this.animationValues=c,D3(c,u,this.latestValues,E,y,x)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=E},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(i){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(tn(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Oe.update(()=>{fi.hasAnimatedSinceResize=!0,this.currentAnimation=R3(0,B0,{...i,onUpdate:s=>{this.mixTargetDelta(s),i.onUpdate&&i.onUpdate(s)},onComplete:()=>{i.onComplete&&i.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 i=this.getStack();i&&i.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(B0),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const i=this.getLead();let{targetWithTransforms:s,target:l,layout:u,latestValues:c}=i;if(!(!s||!l||!u)){if(this!==i&&this.layout&&u&&Y0(this.options.animationType,this.layout.layoutBox,u.layoutBox)){l=this.target||Ye();const d=vt(this.layout.layoutBox.x);l.x.min=i.target.x.min,l.x.max=l.x.min+d;const p=vt(this.layout.layoutBox.y);l.y.min=i.target.y.min,l.y.max=l.y.min+p}Mt(s,l),Dr(s,c),Mo(this.projectionDeltaWithTransform,this.layoutCorrected,s,c)}}registerSharedNode(i,s){this.sharedNodes.has(i)||this.sharedNodes.set(i,new V3),this.sharedNodes.get(i).add(s);const u=s.options.initialPromotionConfig;s.promote({transition:u?u.transition:void 0,preserveFollowOpacity:u&&u.shouldPreserveFollowOpacity?u.shouldPreserveFollowOpacity(s):void 0})}isLead(){const i=this.getStack();return i?i.lead===this:!0}getLead(){var i;const{layoutId:s}=this.options;return s?((i=this.getStack())===null||i===void 0?void 0:i.lead)||this:this}getPrevLead(){var i;const{layoutId:s}=this.options;return s?(i=this.getStack())===null||i===void 0?void 0:i.prevLead:void 0}getStack(){const{layoutId:i}=this.options;if(i)return this.root.sharedNodes.get(i)}promote({needsReset:i,transition:s,preserveFollowOpacity:l}={}){const u=this.getStack();u&&u.promote(this,l),i&&(this.projectionDelta=void 0,this.needsReset=!0),s&&this.setOptions({transition:s})}relegate(){const i=this.getStack();return i?i.relegate(this):!1}resetRotation(){const{visualElement:i}=this.options;if(!i)return;let s=!1;const{latestValues:l}=i;if((l.rotate||l.rotateX||l.rotateY||l.rotateZ)&&(s=!0),!s)return;const u={};for(let c=0;c<j0.length;c++){const d="rotate"+j0[c];l[d]&&(u[d]=l[d],i.setStaticValue(d,0))}i.render();for(const c in u)i.setStaticValue(c,u[c]);i.scheduleRender()}getProjectionStyles(i){var s,l;if(!this.instance||this.isSVG)return;if(!this.isVisible)return z3;const u={visibility:""},c=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,u.opacity="",u.pointerEvents=ti(i==null?void 0:i.pointerEvents)||"",u.transform=c?c(this.latestValues,""):"none",u;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=ti(i==null?void 0:i.pointerEvents)||""),this.hasProjected&&!Zn(this.latestValues)&&(g.transform=c?c({},""):"none",this.hasProjected=!1),g}const p=d.animationValues||d.latestValues;this.applyTransformsToTarget(),u.transform=V0(this.projectionDeltaWithTransform,this.treeScale,p),c&&(u.transform=c(p,u.transform));const{x:m,y:h}=this.projectionDelta;u.transformOrigin=`${m.origin*100}% ${h.origin*100}% 0`,d.animationValues?u.opacity=d===this?(l=(s=p.opacity)!==null&&s!==void 0?s:this.latestValues.opacity)!==null&&l!==void 0?l:1:this.preserveOpacity?this.latestValues.opacity:p.opacityExit:u.opacity=d===this?p.opacity!==void 0?p.opacity:"":p.opacityExit!==void 0?p.opacityExit:0;for(const g in Ka){if(p[g]===void 0)continue;const{correct:b,applyTo:x}=Ka[g],y=u.transform==="none"?p[g]:b(p[g],d);if(x){const w=x.length;for(let S=0;S<w;S++)u[x[S]]=y}else u[g]=y}return this.options.layoutId&&(u.pointerEvents=d===this?ti(i==null?void 0:i.pointerEvents)||"":"none"),u}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(i=>{var s;return(s=i.currentAnimation)===null||s===void 0?void 0:s.stop()}),this.root.nodes.forEach(_0),this.root.sharedNodes.clear()}}}function X3(e){e.updateLayout()}function Z3(e){var t;const n=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:o}=e.layout,{animationType:a}=e.options,i=n.source!==e.layout.source;a==="size"?zt(d=>{const p=i?n.measuredBox[d]:n.layoutBox[d],m=vt(p);p.min=r[d].min,p.max=p.min+m}):Y0(a,n.layoutBox,r)&&zt(d=>{const p=i?n.measuredBox[d]:n.layoutBox[d],m=vt(r[d]);p.max=p.min+m,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[d].max=e.relativeTarget[d].min+m)});const s=Tr();Mo(s,r,n.layoutBox);const l=Tr();i?Mo(l,e.applyTransform(o,!0),n.measuredBox):Mo(l,r,n.layoutBox);const u=!O0(s);let c=!1;if(!e.resumeFrom){const d=e.getClosestProjectingParent();if(d&&!d.resumeFrom){const{snapshot:p,layout:m}=d;if(p&&m){const h=Ye();Ao(h,n.layoutBox,p.layoutBox);const g=Ye();Ao(g,r,m.layoutBox),F0(h,g)||(c=!0),d.options.layoutRoot&&(e.relativeTarget=g,e.relativeTargetOrigin=h,e.relativeParent=d)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:n,delta:l,layoutDelta:s,hasLayoutChanged:u,hasRelativeTargetChanged:c})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function Y3(e){Yn.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 U3(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function K3(e){e.clearSnapshot()}function _0(e){e.clearMeasurements()}function J3(e){e.isLayoutDirty=!1}function Q3(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function G0(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function q3(e){e.resolveTargetDelta()}function e6(e){e.calcProjection()}function t6(e){e.resetRotation()}function n6(e){e.removeLeadSnapshot()}function R0(e,t,n){e.translate=Re(t.translate,0,n),e.scale=Re(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function z0(e,t,n,r){e.min=Re(t.min,n.min,r),e.max=Re(t.max,n.max,r)}function r6(e,t,n,r){z0(e.x,t.x,n.x,r),z0(e.y,t.y,n.y,r)}function o6(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const a6={duration:.45,ease:[.4,0,.1,1]},H0=e=>typeof navigator<"u"&&navigator.userAgent.toLowerCase().includes(e),X0=H0("applewebkit/")&&!H0("chrome/")?Math.round:ze;function Z0(e){e.min=X0(e.min),e.max=X0(e.max)}function i6(e){Z0(e.x),Z0(e.y)}function Y0(e,t,n){return e==="position"||e==="preserve-aspect"&&!Xl(L0(t),L0(n),.2)}const s6=W0({attachResizeListener:(e,t)=>nn(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Jl={current:void 0},U0=W0({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Jl.current){const e=new s6({});e.mount(window),e.setOptions({layoutScroll:!0}),Jl.current=e}return Jl.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),l6={pan:{Feature:E3},drag:{Feature:I3,ProjectionNode:U0,MeasureLayout:I0}},u6=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function c6(e){const t=u6.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]}const d6=4;function Ql(e,t,n=1){kt(n<=d6,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[r,o]=c6(e);if(!r)return;const a=window.getComputedStyle(t).getPropertyValue(r);if(a){const i=a.trim();return Yp(i)?parseFloat(i):i}else return pl(o)?Ql(o,t,n+1):o}function f6(e,{...t},n){const r=e.current;if(!(r instanceof Element))return{target:t,transitionEnd:n};n&&(n={...n}),e.values.forEach(o=>{const a=o.get();if(!pl(a))return;const i=Ql(a,r);i&&o.set(i)});for(const o in t){const a=t[o];if(!pl(a))continue;const i=Ql(a,r);i&&(t[o]=i,n||(n={}),n[o]===void 0&&(n[o]=a))}return{target:t,transitionEnd:n}}const p6=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),K0=e=>p6.has(e),m6=e=>Object.keys(e).some(K0),pi=e=>e===zn||e===fe,J0=(e,t)=>parseFloat(e.split(", ")[t]),Q0=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const o=r.match(/^matrix3d\((.+)\)$/);if(o)return J0(o[1],t);{const a=r.match(/^matrix\((.+)\)$/);return a?J0(a[1],e):0}},h6=new Set(["x","y","z"]),g6=bo.filter(e=>!h6.has(e));function b6(e){const t=[];return g6.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t.length&&e.render(),t}const Nr={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:Q0(4,13),y:Q0(5,14)};Nr.translateX=Nr.x,Nr.translateY=Nr.y;const v6=(e,t,n)=>{const r=t.measureViewportBox(),o=t.current,a=getComputedStyle(o),{display:i}=a,s={};i==="none"&&t.setStaticValue("display",e.display||"block"),n.forEach(u=>{s[u]=Nr[u](r,a)}),t.render();const l=t.measureViewportBox();return n.forEach(u=>{const c=t.getValue(u);c&&c.jump(s[u]),e[u]=Nr[u](l,a)}),e},y6=(e,t,n={},r={})=>{t={...t},r={...r};const o=Object.keys(t).filter(K0);let a=[],i=!1;const s=[];if(o.forEach(l=>{const u=e.getValue(l);if(!e.hasValue(l))return;let c=n[l],d=So(c);const p=t[l];let m;if(ei(p)){const h=p.length,g=p[0]===null?1:0;c=p[g],d=So(c);for(let b=g;b<h&&p[b]!==null;b++)m?kt(So(p[b])===m,"All keyframes must be of the same type"):(m=So(p[b]),kt(m===d||pi(d)&&pi(m),"Keyframes must be of the same dimension as the current value"))}else m=So(p);if(d!==m)if(pi(d)&&pi(m)){const h=u.get();typeof h=="string"&&u.set(parseFloat(h)),typeof p=="string"?t[l]=parseFloat(p):Array.isArray(p)&&m===fe&&(t[l]=p.map(parseFloat))}else d!=null&&d.transform&&(m!=null&&m.transform)&&(c===0||p===0)?c===0?u.set(m.transform(c)):t[l]=d.transform(p):(i||(a=b6(e),i=!0),s.push(l),r[l]=r[l]!==void 0?r[l]:t[l],u.jump(p))}),s.length){const l=s.indexOf("height")>=0?window.pageYOffset:null,u=v6(t,e,s);return a.length&&a.forEach(([c,d])=>{e.getValue(c).set(d)}),e.render(),Za&&l!==null&&window.scrollTo({top:l}),{target:u,transitionEnd:r}}else return{target:t,transitionEnd:r}};function x6(e,t,n,r){return m6(t)?y6(e,t,n,r):{target:t,transitionEnd:r}}const C6=(e,t,n,r)=>{const o=f6(e,t,r);return t=o.target,r=o.transitionEnd,x6(e,t,n,r)},ql={current:null},q0={current:!1};function w6(){if(q0.current=!0,!!Za)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>ql.current=e.matches;e.addListener(t),t()}else ql.current=!1}function I6(e,t,n){const{willChange:r}=t;for(const o in t){const a=t[o],i=n[o];if(ut(a))e.addValue(o,a),ui(r)&&r.add(o),process.env.NODE_ENV==="development"&&Gl(a.version==="10.16.16",`Attempting to mix Framer Motion versions ${a.version} with 10.16.16 may not work as expected.`);else if(ut(i))e.addValue(o,Ar(a,{owner:e})),ui(r)&&r.remove(o);else if(i!==a)if(e.hasValue(o)){const s=e.getValue(o);!s.hasAnimated&&s.set(a)}else{const s=e.getStaticValue(o);e.addValue(o,Ar(s!==void 0?s:a,{owner:e}))}}for(const o in n)t[o]===void 0&&e.removeValue(o);return t}const e1=new WeakMap,t1=Object.keys(ho),E6=t1.length,n1=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],P6=dl.length;class S6{constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:o,visualState:a},i={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>Oe.render(this.render,!1,!0);const{latestValues:s,renderState:l}=a;this.latestValues=s,this.baseTarget={...s},this.initialValues=n.initial?{...s}:{},this.renderState=l,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=o,this.options=i,this.isControllingVariants=Ua(n),this.isVariantNode=Ff(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:u,...c}=this.scrapeMotionValuesFromProps(n,{});for(const d in c){const p=c[d];s[d]!==void 0&&ut(p)&&(p.set(s[d],!1),ui(u)&&u.add(d))}}scrapeMotionValuesFromProps(t,n){return{}}mount(t){this.current=t,e1.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,r)=>this.bindToMotionValue(r,n)),q0.current||w6(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:ql.current,process.env.NODE_ENV!=="production"&&Gl(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(){e1.delete(this.current),this.projection&&this.projection.unmount(),tn(this.notifyUpdate),tn(this.render),this.valueSubscriptions.forEach(t=>t()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features)this.features[t].unmount();this.current=null}bindToMotionValue(t,n){const r=Rn.has(t),o=n.on("change",i=>{this.latestValues[t]=i,this.props.onUpdate&&Oe.update(this.notifyUpdate,!1,!0),r&&this.projection&&(this.projection.isTransformDirty=!0)}),a=n.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{o(),a()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}loadFeatures({children:t,...n},r,o,a){let i,s;if(process.env.NODE_ENV!=="production"&&o&&r){const l="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";n.ignoreStrict?wo(!1,l):kt(!1,l)}for(let l=0;l<E6;l++){const u=t1[l],{isEnabled:c,Feature:d,ProjectionNode:p,MeasureLayout:m}=ho[u];p&&(i=p),c(n)&&(!this.features[u]&&d&&(this.features[u]=new d(this)),m&&(s=m))}if(!this.projection&&i){this.projection=new i(this.latestValues,this.parent&&this.parent.projection);const{layoutId:l,layout:u,drag:c,dragConstraints:d,layoutScroll:p,layoutRoot:m}=n;this.projection.setOptions({layoutId:l,layout:u,alwaysMeasureLayout:!!c||d&&Sr(d),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:typeof u=="string"?u:"both",initialPromotionConfig:a,layoutScroll:p,layoutRoot:m})}return s}updateFeatures(){for(const t in this.features){const n=this.features[t];n.isMounted?n.update():(n.mount(),n.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Ye()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}makeTargetAnimatable(t,n=!0){return this.makeTargetAnimatableFromInstance(t,this.props,n)}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;r<n1.length;r++){const o=n1[r];this.propEventSubscriptions[o]&&(this.propEventSubscriptions[o](),delete this.propEventSubscriptions[o]);const a=t["on"+o];a&&(this.propEventSubscriptions[o]=this.on(o,a))}this.prevMotionValues=I6(this,this.scrapeMotionValuesFromProps(t,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(t=!1){if(t)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){const r=this.parent?this.parent.getVariantContext()||{}:{};return this.props.initial!==void 0&&(r.initial=this.props.initial),r}const n={};for(let r=0;r<P6;r++){const o=dl[r],a=this.props[o];(mo(a)||a===!1)&&(n[o]=a)}return n}addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){n!==this.values.get(t)&&(this.removeValue(t),this.bindToMotionValue(t,n)),this.values.set(t,n),this.latestValues[t]=n.get()}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=Ar(n,{owner:this}),this.addValue(t,r)),r}readValue(t){var n;return this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(n=this.getBaseTargetFromProps(this.props,t))!==null&&n!==void 0?n:this.readValueFromInstance(this.current,t,this.options)}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var n;const{initial:r}=this.props,o=typeof r=="string"||typeof r=="object"?(n=yl(this.props,r))===null||n===void 0?void 0:n[t]:void 0;if(r&&o!==void 0)return o;const a=this.getBaseTargetFromProps(this.props,t);return a!==void 0&&!ut(a)?a:this.initialValues[t]!==void 0&&o===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new _l),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class r1 extends S6{sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}makeTargetAnimatableFromInstance({transition:t,transitionEnd:n,...r},{transformValues:o},a){let i=G4(r,t||{},this);if(o&&(n&&(n=o(n)),r&&(r=o(r)),i&&(i=o(i))),a){W4(this,r,i);const s=C6(this,r,i,n);n=s.transitionEnd,r=s.target}return{transition:t,transitionEnd:n,...r}}}function M6(e){return window.getComputedStyle(e)}class A6 extends r1{readValueFromInstance(t,n){if(Rn.has(n)){const r=Ll(n);return r&&r.default||0}else{const r=M6(t),o=(_f(n)?r.getPropertyValue(n):r[n])||0;return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(t,{transformPagePoint:n}){return y0(t,n)}build(t,n,r,o){ml(t,n,r,o.transformTemplate)}scrapeMotionValuesFromProps(t,n){return vl(t,n)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;ut(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}renderInstance(t,n,r,o){Kf(t,n,r,o)}}class T6 extends r1{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(Rn.has(n)){const r=Ll(n);return r&&r.default||0}return n=Jf.has(n)?n:ul(n),t.getAttribute(n)}measureInstanceViewportBox(){return Ye()}scrapeMotionValuesFromProps(t,n){return qf(t,n)}build(t,n,r,o){gl(t,n,r,this.isSVGTag,o.transformTemplate)}renderInstance(t,n,r,o){Qf(t,n,r,o)}mount(t){this.isSVGTag=bl(t.tagName),super.mount(t)}}const D6=(e,t)=>fl(e)?new T6(t,{enableHardwareAcceleration:!1}):new A6(t,{enableHardwareAcceleration:!0}),N6={...r3,...A5,...l6,...{layout:{ProjectionNode:U0,MeasureLayout:I0}}},o1=Vy((e,t)=>h5(e,t,N6,D6));function a1(){const e=f.useRef(!1);return ll(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function i1(){const e=a1(),[t,n]=f.useState(0),r=f.useCallback(()=>{e.current&&n(t+1)},[t]);return[f.useCallback(()=>Oe.postRender(r),[r]),t]}class $6 extends V.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent){const r=this.props.sizeRef.current;r.height=n.offsetHeight||0,r.width=n.offsetWidth||0,r.top=n.offsetTop,r.left=n.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function k6({children:e,isPresent:t}){const n=f.useId(),r=f.useRef(null),o=f.useRef({width:0,height:0,top:0,left:0});return f.useInsertionEffect(()=>{const{width:a,height:i,top:s,left:l}=o.current;if(t||!r.current||!a||!i)return;r.current.dataset.motionPopId=n;const u=document.createElement("style");return document.head.appendChild(u),u.sheet&&u.sheet.insertRule(`
|
|
27
|
+
Check the top-level render call using <`+_+">.")}return L}}function ba(C,L){{if(!C._store||C._store.validated||C.key!=null)return;C._store.validated=!0;var _=nd(L);if(ga[_])return;ga[_]=!0;var U="";C&&C._owner&&C._owner!==Et.current&&(U=" It was passed a child from "+I(C._owner.type)+"."),Pt(C),y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',_,U),Pt(null)}}function va(C,L){{if(typeof C!="object")return;if(mt(C))for(var _=0;_<C.length;_++){var U=C[_];pr(U)&&ba(U,L)}else if(pr(C))C._store&&(C._store.validated=!0);else if(C){var oe=b(C);if(typeof oe=="function"&&oe!==C.entries)for(var se=oe.call(C),te;!(te=se.next()).done;)pr(te.value)&&ba(te.value,L)}}}function rd(C){{var L=C.type;if(L==null||typeof L=="string")return;var _;if(typeof L=="function")_=L.propTypes;else if(typeof L=="object"&&(L.$$typeof===l||L.$$typeof===d))_=L.propTypes;else return;if(_){var U=I(L);Kt(_,C.props,"prop",U,C)}else if(L.PropTypes!==void 0&&!fr){fr=!0;var oe=I(L);y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",oe||"Unknown")}typeof L.getDefaultProps=="function"&&!L.getDefaultProps.isReactClassApproved&&y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function od(C){{for(var L=Object.keys(C.props),_=0;_<L.length;_++){var U=L[_];if(U!=="children"&&U!=="key"){Pt(C),y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",U),Pt(null);break}}C.ref!==null&&(Pt(C),y("Invalid attribute `ref` supplied to `React.Fragment`."),Pt(null))}}function ya(C,L,_,U,oe,se){{var te=$(C);if(!te){var ee="";(C===void 0||typeof C=="object"&&C!==null&&Object.keys(C).length===0)&&(ee+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var De=td(oe);De?ee+=De:ee+=ha();var ve;C===null?ve="null":mt(C)?ve="array":C!==void 0&&C.$$typeof===t?(ve="<"+(I(C.type)||"Unknown")+" />",ee=" Did you accidentally export a JSX literal instead of a component?"):ve=typeof C,y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",ve,ee)}var Ce=xe(C,L,_,oe,se);if(Ce==null)return Ce;if(te){var _e=L.children;if(_e!==void 0)if(U)if(mt(_e)){for(var St=0;St<_e.length;St++)va(_e[St],C);Object.freeze&&Object.freeze(_e)}else y("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else va(_e,C)}return C===r?od(Ce):rd(Ce),Ce}}function ad(C,L,_){return ya(C,L,_,!0)}function id(C,L,_){return ya(C,L,_,!1)}var sd=id,ld=ad;to.Fragment=r,to.jsx=sd,to.jsxs=ld}()),to}process.env.NODE_ENV==="production"?ys.exports=Rb():ys.exports=zb();var F=ys.exports,fd=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,nt=e=>!e||typeof e!="object"||Object.keys(e).length===0,Hb=(e,t)=>JSON.stringify(e)===JSON.stringify(t);function pd(e,t){e.forEach(function(n){Array.isArray(n)?pd(n,t):t.push(n)})}function md(e){let t=[];return pd(e,t),t}var Xb=(...e)=>md(e).filter(Boolean),hd=(e,t)=>{let n={},r=Object.keys(e),o=Object.keys(t);for(let a of r)if(o.includes(a)){let i=e[a],s=t[a];typeof i=="object"&&typeof s=="object"?n[a]=hd(i,s):n[a]=s+" "+i}else n[a]=e[a];for(let a of o)r.includes(a)||(n[a]=t[a]);return n},gd=e=>!e||typeof e!="string"?e:e.replace(/\s+/g," ").trim();function Zb(){for(var e=0,t,n,r="";e<arguments.length;)(t=arguments[e++])&&(n=bd(t))&&(r&&(r+=" "),r+=n);return r}function bd(e){if(typeof e=="string")return e;for(var t,n="",r=0;r<e.length;r++)e[r]&&(t=bd(e[r]))&&(n&&(n+=" "),n+=t);return n}var xs="-";function Yb(e){var t=Kb(e),n=e.conflictingClassGroups,r=e.conflictingClassGroupModifiers,o=r===void 0?{}:r;function a(s){var l=s.split(xs);return l[0]===""&&l.length!==1&&l.shift(),vd(l,t)||Ub(s)}function i(s,l){var u=n[s]||[];return l&&o[s]?[].concat(u,o[s]):u}return{getClassGroupId:a,getConflictingClassGroupIds:i}}function vd(e,t){var i;if(e.length===0)return t.classGroupId;var n=e[0],r=t.nextPart.get(n),o=r?vd(e.slice(1),r):void 0;if(o)return o;if(t.validators.length!==0){var a=e.join(xs);return(i=t.validators.find(function(s){var l=s.validator;return l(a)}))==null?void 0:i.classGroupId}}var yd=/^\[(.+)\]$/;function Ub(e){if(yd.test(e)){var t=yd.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}}function Kb(e){var t=e.theme,n=e.prefix,r={nextPart:new Map,validators:[]},o=Qb(Object.entries(e.classGroups),n);return o.forEach(function(a){var i=a[0],s=a[1];Cs(s,r,i,t)}),r}function Cs(e,t,n,r){e.forEach(function(o){if(typeof o=="string"){var a=o===""?t:xd(t,o);a.classGroupId=n;return}if(typeof o=="function"){if(Jb(o)){Cs(o(r),t,n,r);return}t.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(function(i){var s=i[0],l=i[1];Cs(l,xd(t,s),n,r)})})}function xd(e,t){var n=e;return t.split(xs).forEach(function(r){n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n}function Jb(e){return e.isThemeGetter}function Qb(e,t){return t?e.map(function(n){var r=n[0],o=n[1],a=o.map(function(i){return typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(function(s){var l=s[0],u=s[1];return[t+l,u]})):i});return[r,a]}):e}function qb(e){if(e<1)return{get:function(){},set:function(){}};var t=0,n=new Map,r=new Map;function o(a,i){n.set(a,i),t++,t>e&&(t=0,r=n,n=new Map)}return{get:function(i){var s=n.get(i);if(s!==void 0)return s;if((s=r.get(i))!==void 0)return o(i,s),s},set:function(i,s){n.has(i)?n.set(i,s):o(i,s)}}}var Cd="!";function ev(e){var t=e.separator||":",n=t.length===1,r=t[0],o=t.length;return function(i){for(var s=[],l=0,u=0,c,d=0;d<i.length;d++){var p=i[d];if(l===0){if(p===r&&(n||i.slice(d,d+o)===t)){s.push(i.slice(u,d)),u=d+o;continue}if(p==="/"){c=d;continue}}p==="["?l++:p==="]"&&l--}var m=s.length===0?i:i.substring(u),h=m.startsWith(Cd),g=h?m.substring(1):m,b=c&&c>u?c-u:void 0;return{modifiers:s,hasImportantModifier:h,baseClassName:g,maybePostfixModifierPosition:b}}}function tv(e){if(e.length<=1)return e;var t=[],n=[];return e.forEach(function(r){var o=r[0]==="[";o?(t.push.apply(t,n.sort().concat([r])),n=[]):n.push(r)}),t.push.apply(t,n.sort()),t}function nv(e){return{cache:qb(e.cacheSize),splitModifiers:ev(e),...Yb(e)}}var rv=/\s+/;function ov(e,t){var n=t.splitModifiers,r=t.getClassGroupId,o=t.getConflictingClassGroupIds,a=new Set;return e.trim().split(rv).map(function(i){var s=n(i),l=s.modifiers,u=s.hasImportantModifier,c=s.baseClassName,d=s.maybePostfixModifierPosition,p=r(d?c.substring(0,d):c),m=!!d;if(!p){if(!d)return{isTailwindClass:!1,originalClassName:i};if(p=r(c),!p)return{isTailwindClass:!1,originalClassName:i};m=!1}var h=tv(l).join(":"),g=u?h+Cd:h;return{isTailwindClass:!0,modifierId:g,classGroupId:p,originalClassName:i,hasPostfixModifier:m}}).reverse().filter(function(i){if(!i.isTailwindClass)return!0;var s=i.modifierId,l=i.classGroupId,u=i.hasPostfixModifier,c=s+l;return a.has(c)?!1:(a.add(c),o(l,u).forEach(function(d){return a.add(s+d)}),!0)}).reverse().map(function(i){return i.originalClassName}).join(" ")}function ws(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,o,a,i=s;function s(u){var c=t[0],d=t.slice(1),p=d.reduce(function(m,h){return h(m)},c());return r=nv(p),o=r.cache.get,a=r.cache.set,i=l,l(u)}function l(u){var c=o(u);if(c)return c;var d=ov(u,r);return a(u,d),d}return function(){return i(Zb.apply(null,arguments))}}function Be(e){var t=function(r){return r[e]||[]};return t.isThemeGetter=!0,t}var wd=/^\[(?:([a-z-]+):)?(.+)\]$/i,av=/^\d+\/\d+$/,iv=new Set(["px","full","screen"]),sv=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,lv=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,uv=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;function Nt(e){return On(e)||iv.has(e)||av.test(e)||Is(e)}function Is(e){return Fn(e,"length",hv)}function cv(e){return Fn(e,"size",Id)}function dv(e){return Fn(e,"position",Id)}function fv(e){return Fn(e,"url",gv)}function Ca(e){return Fn(e,"number",On)}function On(e){return!Number.isNaN(Number(e))}function pv(e){return e.endsWith("%")&&On(e.slice(0,-1))}function no(e){return Ed(e)||Fn(e,"number",Ed)}function Ie(e){return wd.test(e)}function ro(){return!0}function bn(e){return sv.test(e)}function mv(e){return Fn(e,"",bv)}function Fn(e,t,n){var r=wd.exec(e);return r?r[1]?r[1]===t:n(r[2]):!1}function hv(e){return lv.test(e)}function Id(){return!1}function gv(e){return e.startsWith("url(")}function Ed(e){return Number.isInteger(Number(e))}function bv(e){return uv.test(e)}function Es(){var e=Be("colors"),t=Be("spacing"),n=Be("blur"),r=Be("brightness"),o=Be("borderColor"),a=Be("borderRadius"),i=Be("borderSpacing"),s=Be("borderWidth"),l=Be("contrast"),u=Be("grayscale"),c=Be("hueRotate"),d=Be("invert"),p=Be("gap"),m=Be("gradientColorStops"),h=Be("gradientColorStopPositions"),g=Be("inset"),b=Be("margin"),x=Be("opacity"),y=Be("padding"),w=Be("saturate"),S=Be("scale"),P=Be("sepia"),A=Be("skew"),T=Be("space"),v=Be("translate"),D=function(){return["auto","contain","none"]},$=function(){return["auto","hidden","clip","visible","scroll"]},M=function(){return["auto",Ie,t]},k=function(){return[Ie,t]},I=function(){return["",Nt]},E=function(){return["auto",On,Ie]},O=function(){return["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"]},j=function(){return["solid","dashed","dotted","double","none"]},N=function(){return["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"]},W=function(){return["start","end","center","between","around","evenly","stretch"]},K=function(){return["","0",Ie]},H=function(){return["auto","avoid","all","avoid-page","page","left","right","column"]},X=function(){return[On,Ca]},B=function(){return[On,Ie]};return{cacheSize:500,theme:{colors:[ro],spacing:[Nt],blur:["none","",bn,Ie],brightness:X(),borderColor:[e],borderRadius:["none","","full",bn,Ie],borderSpacing:k(),borderWidth:I(),contrast:X(),grayscale:K(),hueRotate:B(),invert:K(),gap:k(),gradientColorStops:[e],gradientColorStopPositions:[pv,Is],inset:M(),margin:M(),opacity:X(),padding:k(),saturate:X(),scale:X(),sepia:K(),skew:B(),space:k(),translate:k()},classGroups:{aspect:[{aspect:["auto","square","video",Ie]}],container:["container"],columns:[{columns:[bn]}],"break-after":[{"break-after":H()}],"break-before":[{"break-before":H()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none"]}],clear:[{clear:["left","right","both","none"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[].concat(O(),[Ie])}],overflow:[{overflow:$()}],"overflow-x":[{"overflow-x":$()}],"overflow-y":[{"overflow-y":$()}],overscroll:[{overscroll:D()}],"overscroll-x":[{"overscroll-x":D()}],"overscroll-y":[{"overscroll-y":D()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[g]}],"inset-x":[{"inset-x":[g]}],"inset-y":[{"inset-y":[g]}],start:[{start:[g]}],end:[{end:[g]}],top:[{top:[g]}],right:[{right:[g]}],bottom:[{bottom:[g]}],left:[{left:[g]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",no]}],basis:[{basis:M()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Ie]}],grow:[{grow:K()}],shrink:[{shrink:K()}],order:[{order:["first","last","none",no]}],"grid-cols":[{"grid-cols":[ro]}],"col-start-end":[{col:["auto",{span:["full",no]},Ie]}],"col-start":[{"col-start":E()}],"col-end":[{"col-end":E()}],"grid-rows":[{"grid-rows":[ro]}],"row-start-end":[{row:["auto",{span:[no]},Ie]}],"row-start":[{"row-start":E()}],"row-end":[{"row-end":E()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Ie]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Ie]}],gap:[{gap:[p]}],"gap-x":[{"gap-x":[p]}],"gap-y":[{"gap-y":[p]}],"justify-content":[{justify:["normal"].concat(W())}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal"].concat(W(),["baseline"])}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[].concat(W(),["baseline"])}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[y]}],px:[{px:[y]}],py:[{py:[y]}],ps:[{ps:[y]}],pe:[{pe:[y]}],pt:[{pt:[y]}],pr:[{pr:[y]}],pb:[{pb:[y]}],pl:[{pl:[y]}],m:[{m:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],me:[{me:[b]}],mt:[{mt:[b]}],mr:[{mr:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"space-x":[{"space-x":[T]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[T]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit",Ie,t]}],"min-w":[{"min-w":["min","max","fit",Ie,Nt]}],"max-w":[{"max-w":["0","none","full","min","max","fit","prose",{screen:[bn]},bn,Ie]}],h:[{h:[Ie,t,"auto","min","max","fit"]}],"min-h":[{"min-h":["min","max","fit",Ie,Nt]}],"max-h":[{"max-h":[Ie,t,"min","max","fit"]}],"font-size":[{text:["base",bn,Is]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Ca]}],"font-family":[{font:[ro]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",Ie]}],"line-clamp":[{"line-clamp":["none",On,Ca]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Ie,Nt]}],"list-image":[{"list-image":["none",Ie]}],"list-style-type":[{list:["none","disc","decimal",Ie]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[x]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[x]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[].concat(j(),["wavy"])}],"text-decoration-thickness":[{decoration:["auto","from-font",Nt]}],"underline-offset":[{"underline-offset":["auto",Ie,Nt]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],indent:[{indent:k()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Ie]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Ie]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[x]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[].concat(O(),[dv])}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",cv]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},fv]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[h]}],"gradient-via-pos":[{via:[h]}],"gradient-to-pos":[{to:[h]}],"gradient-from":[{from:[m]}],"gradient-via":[{via:[m]}],"gradient-to":[{to:[m]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[x]}],"border-style":[{border:[].concat(j(),["hidden"])}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[x]}],"divide-style":[{divide:j()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:[""].concat(j())}],"outline-offset":[{"outline-offset":[Ie,Nt]}],"outline-w":[{outline:[Nt]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:I()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[x]}],"ring-offset-w":[{"ring-offset":[Nt]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",bn,mv]}],"shadow-color":[{shadow:[ro]}],opacity:[{opacity:[x]}],"mix-blend":[{"mix-blend":N()}],"bg-blend":[{"bg-blend":N()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",bn,Ie]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[d]}],saturate:[{saturate:[w]}],sepia:[{sepia:[P]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[x]}],"backdrop-saturate":[{"backdrop-saturate":[w]}],"backdrop-sepia":[{"backdrop-sepia":[P]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",Ie]}],duration:[{duration:B()}],ease:[{ease:["linear","in","out","in-out",Ie]}],delay:[{delay:B()}],animate:[{animate:["none","spin","ping","pulse","bounce",Ie]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[S]}],"scale-x":[{"scale-x":[S]}],"scale-y":[{"scale-y":[S]}],rotate:[{rotate:[no,Ie]}],"translate-x":[{"translate-x":[v]}],"translate-y":[{"translate-y":[v]}],"skew-x":[{"skew-x":[A]}],"skew-y":[{"skew-y":[A]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Ie]}],accent:[{accent:["auto",e]}],appearance:["appearance-none"],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Ie]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":k()}],"scroll-mx":[{"scroll-mx":k()}],"scroll-my":[{"scroll-my":k()}],"scroll-ms":[{"scroll-ms":k()}],"scroll-me":[{"scroll-me":k()}],"scroll-mt":[{"scroll-mt":k()}],"scroll-mr":[{"scroll-mr":k()}],"scroll-mb":[{"scroll-mb":k()}],"scroll-ml":[{"scroll-ml":k()}],"scroll-p":[{"scroll-p":k()}],"scroll-px":[{"scroll-px":k()}],"scroll-py":[{"scroll-py":k()}],"scroll-ps":[{"scroll-ps":k()}],"scroll-pe":[{"scroll-pe":k()}],"scroll-pt":[{"scroll-pt":k()}],"scroll-pr":[{"scroll-pr":k()}],"scroll-pb":[{"scroll-pb":k()}],"scroll-pl":[{"scroll-pl":k()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","pinch-zoom","manipulation",{pan:["x","left","right","y","up","down"]}]}],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Ie]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Nt,Ca]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}function vv(e,t){for(var n in t)Pd(e,n,t[n]);return e}var yv=Object.prototype.hasOwnProperty,xv=new Set(["string","number","boolean"]);function Pd(e,t,n){if(!yv.call(e,t)||xv.has(typeof n)||n===null){e[t]=n;return}if(Array.isArray(n)&&Array.isArray(e[t])){e[t]=e[t].concat(n);return}if(typeof n=="object"&&typeof e[t]=="object"){if(e[t]===null){e[t]=n;return}for(var r in n)Pd(e[t],r,n[r])}}function Cv(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return typeof e=="function"?ws.apply(void 0,[Es,e].concat(n)):ws.apply(void 0,[function(){return vv(Es(),e)}].concat(n))}var Sd=ws(Es),wv={twMerge:!0,twMergeConfig:{},responsiveVariants:!1},Md=e=>e||void 0,wa=(...e)=>Md(md(e).filter(Boolean).join(" ")),Ps=null,Ia={},Ss=!1,oo=(...e)=>t=>t.twMerge?((!Ps||Ss)&&(Ss=!1,Ps=nt(Ia)?Sd:Cv(Ia)),Md(Ps(wa(e)))):wa(e),Ad=(e,t)=>{for(let n in t)e.hasOwnProperty(n)?e[n]=wa(e[n],t[n]):e[n]=t[n];return e},ye=(e,t)=>{let{extend:n=null,slots:r={},variants:o={},compoundVariants:a=[],compoundSlots:i=[],defaultVariants:s={}}=e,l={...wv,...t},u=n!=null&&n.base?wa(n.base,e==null?void 0:e.base):e==null?void 0:e.base,c=n!=null&&n.variants&&!nt(n.variants)?hd(o,n.variants):o,d=n!=null&&n.defaultVariants&&!nt(n.defaultVariants)?{...n.defaultVariants,...s}:s;!nt(l.twMergeConfig)&&!Hb(l.twMergeConfig,Ia)&&(Ss=!0,Ia=l.twMergeConfig);let p=nt(r)?{}:{base:e==null?void 0:e.base,...r},m=nt(n==null?void 0:n.slots)?p:Ad({...n==null?void 0:n.slots},nt(p)?{base:e==null?void 0:e.base}:p),h=b=>{if(nt(c)&&nt(r)&&nt(n==null?void 0:n.slots))return oo(u,b==null?void 0:b.class,b==null?void 0:b.className)(l);if(a&&!Array.isArray(a))throw new TypeError(`The "compoundVariants" prop must be an array. Received: ${typeof a}`);if(i&&!Array.isArray(i))throw new TypeError(`The "compoundSlots" prop must be an array. Received: ${typeof i}`);let x=(M,k,I=[],E)=>{let O=I;if(typeof k=="string")O=O.concat(gd(k).split(" ").map(j=>`${M}:${j}`));else if(Array.isArray(k))O=O.concat(k.reduce((j,N)=>j.concat(`${M}:${N}`),[]));else if(typeof k=="object"&&typeof E=="string"){for(let j in k)if(k.hasOwnProperty(j)&&j===E){let N=k[j];if(N&&typeof N=="string"){let W=gd(N);O[E]?O[E]=O[E].concat(W.split(" ").map(K=>`${M}:${K}`)):O[E]=W.split(" ").map(K=>`${M}:${K}`)}else Array.isArray(N)&&N.length>0&&(O[E]=N.reduce((W,K)=>W.concat(`${M}:${K}`),[]))}}return O},y=(M,k=c,I=null,E=null)=>{var O;let j=k[M];if(!j||nt(j))return null;let N=(O=E==null?void 0:E[M])!=null?O:b==null?void 0:b[M];if(N===null)return null;let W=fd(N),K=Array.isArray(l.responsiveVariants)&&l.responsiveVariants.length>0||l.responsiveVariants===!0,H=d==null?void 0:d[M],X=[];if(typeof W=="object"&&K)for(let[G,Y]of Object.entries(W)){let R=j[Y];if(G==="initial"){H=Y;continue}Array.isArray(l.responsiveVariants)&&!l.responsiveVariants.includes(G)||(X=x(G,R,X,I))}let B=j[W]||j[fd(H)];return typeof X=="object"&&typeof I=="string"&&X[I]?Ad(X,B):X.length>0?(X.push(B),X):B},w=()=>c?Object.keys(c).map(M=>y(M,c)):null,S=(M,k)=>{if(!c||typeof c!="object")return null;let I=new Array;for(let E in c){let O=y(E,c,M,k),j=M==="base"&&typeof O=="string"?O:O&&O[M];j&&(I[I.length]=j)}return I},P={};for(let M in b)b[M]!==void 0&&(P[M]=b[M]);let A=(M,k)=>{var I;let E=typeof(b==null?void 0:b[M])=="object"?{[M]:(I=b[M])==null?void 0:I.initial}:{};return{...d,...P,...E,...k}},T=(M=[],k)=>{let I=[];for(let{class:E,className:O,...j}of M){let N=!0;for(let[W,K]of Object.entries(j)){let H=A(W,k);if(Array.isArray(K)){if(!K.includes(H[W])){N=!1;break}}else if(H[W]!==K){N=!1;break}}N&&(E&&I.push(E),O&&I.push(O))}return I},v=M=>{let k=T(a,M),I=T(n==null?void 0:n.compoundVariants,M);return Xb(I,k)},D=M=>{let k=v(M);if(!Array.isArray(k))return k;let I={};for(let E of k)if(typeof E=="string"&&(I.base=oo(I.base,E)(l)),typeof E=="object")for(let[O,j]of Object.entries(E))I[O]=oo(I[O],j)(l);return I},$=M=>{if(i.length<1)return null;let k={};for(let{slots:I=[],class:E,className:O,...j}of i){if(!nt(j)){let N=!0;for(let W of Object.keys(j)){let K=A(W,M)[W];if(K===void 0||(Array.isArray(j[W])?!j[W].includes(K):j[W]!==K)){N=!1;break}}if(!N)continue}for(let N of I)k[N]=k[N]||[],k[N].push([E,O])}return k};if(!nt(r)||!nt(n==null?void 0:n.slots)){let M={};if(typeof m=="object"&&!nt(m))for(let k of Object.keys(m))M[k]=I=>{var E,O;return oo(m[k],S(k,I),((E=D(I))!=null?E:[])[k],((O=$(I))!=null?O:[])[k],I==null?void 0:I.class,I==null?void 0:I.className)(l)};return M}return oo(u,w(),v(),b==null?void 0:b.class,b==null?void 0:b.className)(l)},g=()=>{if(!(!c||typeof c!="object"))return Object.keys(c)};return h.variantKeys=g(),h.extend=n,h.base=u,h.slots=m,h.variants=c,h.defaultVariants=d,h.compoundSlots=i,h.compoundVariants=a,h};const Iv=258,Ev=70,Pv=223,Sv=266;function Mv({variant:e="default",className:t,short:n,width:r,height:o}){let a=n?Pv:Iv,i=n?Sv:Ev;const s=a/i;r&&(a=r,i=parseFloat((r/s).toFixed(2))),o&&(i=o,a=parseFloat((o*s).toFixed(2)));const l=ye({base:"",variants:{variant:{default:"fill-secondary-green-500",dark:"fill-primary-green-500",light:"fill-white"}}});return n?F.jsx("svg",{preserveAspectRatio:"none",width:a,height:i,viewBox:"0 0 223 266",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",className:l({variant:e,className:t}),children:F.jsx("path",{d:"M222.964 194.18V85.6459C222.964 85.2381 222.88 84.8344 222.718 84.458C222.556 84.0816 222.319 83.74 222.02 83.4529C221.721 83.1657 221.366 82.9388 220.975 82.7852C220.585 82.6316 220.167 82.5543 219.746 82.5577H182.608C182.191 82.5577 181.777 82.6378 181.392 82.7933C181.006 82.9488 180.656 83.1767 180.362 83.4638C180.068 83.7509 179.836 84.0916 179.678 84.4661C179.521 84.8406 179.442 85.2416 179.445 85.6459V171.586C177.727 171.586 176.719 171.586 176.364 171.586C164.721 170.029 159.213 167.178 152.914 161.028C146.616 154.878 144.516 146.089 144.025 135.637V104.914C144.03 104.501 143.948 104.091 143.784 103.71C143.62 103.329 143.377 102.984 143.071 102.697L121.966 82.9009L101.434 62.498C101.143 62.1997 100.792 61.9617 100.403 61.7984C100.014 61.6351 99.5947 61.5498 99.1707 61.5478H66.0684C66.7731 54.8644 69.6353 48.5659 74.2486 43.5468C77.1792 40.3682 80.7538 37.8071 84.7504 36.0226C88.7469 34.2381 93.08 33.2684 97.4802 33.1738C98.2977 33.14 99.0706 32.8033 99.639 32.2335C100.207 31.6636 100.528 30.9041 100.534 30.112V2.66184C100.546 2.04062 100.331 1.43533 99.9266 0.952523C99.5226 0.469716 98.9556 0.140347 98.3255 0.0223983H97.7529C97.5176 -0.00746611 97.2792 -0.00746611 97.0439 0.0223983C84.1284 0.266286 71.4425 3.37237 59.9605 9.10208C49.7635 14.1971 41.0132 21.6355 34.4766 30.7653C27.94 39.8951 23.8167 50.4375 22.4681 61.4686H3.163C2.32163 61.4756 1.51715 61.804 0.924744 62.3824C0.332339 62.9608 -3.07314e-05 63.7423 2.13119e-09 64.5568V100.612C2.13119e-09 101.014 0.0817794 101.412 0.240735 101.783C0.39969 102.155 0.632697 102.492 0.926408 102.777C1.22012 103.061 1.56884 103.286 1.95259 103.44C2.33634 103.594 2.74763 103.673 3.163 103.673H21.841V201.517C21.841 201.922 21.9237 202.322 22.0844 202.695C22.245 203.068 22.4804 203.407 22.777 203.692C23.0736 203.976 23.4255 204.201 23.8124 204.354C24.1993 204.506 24.6136 204.583 25.0313 204.579H62.1691C62.5868 204.583 63.0011 204.506 63.388 204.354C63.7749 204.201 64.1268 203.976 64.4234 203.692C64.72 203.407 64.9554 203.068 65.116 202.695C65.2767 202.322 65.3595 201.922 65.3594 201.517V103.673H100.534V132.707C100.534 132.707 100.534 132.918 100.534 133.05C100.31 146.04 103.822 158.834 110.677 170.002C117.395 180.787 127.07 189.558 138.626 195.341C150.258 201.217 163.137 204.406 176.255 204.658H179.5C178.479 211.37 175.291 217.597 170.393 222.448C163.549 229.416 158.013 233.006 147.379 233.006C146.958 233.002 146.54 233.08 146.15 233.233C145.76 233.387 145.405 233.614 145.106 233.901C144.806 234.188 144.569 234.53 144.407 234.906C144.245 235.283 144.162 235.686 144.162 236.094V262.937C144.158 263.345 144.239 263.749 144.4 264.126C144.561 264.502 144.799 264.843 145.099 265.129C145.399 265.415 145.756 265.639 146.148 265.789C146.539 265.938 146.958 266.01 147.379 265.999C160.384 265.772 173.152 262.589 184.653 256.708C196.283 250.973 206.042 242.23 212.848 231.449C219.691 220.275 223.202 207.485 222.991 194.496C222.991 194.496 222.964 194.312 222.964 194.18Z"})}):F.jsxs("svg",{preserveAspectRatio:"none",width:a,height:i,viewBox:"0 0 258 70",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",className:l({variant:e,className:t}),children:[F.jsx("path",{d:"M44.1576 5.54621e-10H53.8953C54.117 5.54621e-10 54.3296 0.0853594 54.4864 0.2373C54.6431 0.389241 54.7312 0.595316 54.7312 0.810193V52.8634C54.7312 52.9694 54.7095 53.0745 54.6674 53.1724C54.6253 53.2703 54.5637 53.3591 54.486 53.4338C54.4082 53.5085 54.316 53.5675 54.2147 53.6075C54.1133 53.6474 54.0048 53.6675 53.8953 53.6666H44.1576C43.9378 53.6666 43.727 53.582 43.5716 53.4314C43.4162 53.2807 43.3289 53.0764 43.3289 52.8634V0.810193C43.3279 0.704125 43.3487 0.598926 43.3899 0.500669C43.4311 0.402411 43.492 0.31304 43.5691 0.237715C43.6461 0.162389 43.7378 0.102601 43.8388 0.0618008C43.9398 0.0210004 44.0482 -3.94095e-06 44.1576 5.54621e-10Z"}),F.jsx("path",{d:"M68.7089 51.2755C65.8506 49.7718 63.4549 47.4816 61.7891 44.6605C60.1032 41.7448 59.2396 38.4048 59.2947 35.0137C59.2396 31.6226 60.1032 28.2825 61.7891 25.3668C63.45 22.5364 65.8465 20.2384 68.7089 18.7312C71.8146 17.1539 75.2322 16.3335 78.6964 16.3335C82.1606 16.3335 85.5782 17.1539 88.6838 18.7312C91.5312 20.2475 93.9147 22.5442 95.5701 25.3668C97.251 28.2844 98.1121 31.6236 98.0578 35.0137C98.1121 38.4038 97.251 41.743 95.5701 44.6605C93.9093 47.4735 91.5268 49.7622 88.6838 51.2755C85.577 52.8486 82.1599 53.6668 78.6964 53.6668C75.2329 53.6668 71.8157 52.8486 68.7089 51.2755ZM85.1703 42.3177C86.8555 40.4802 87.6982 38.0432 87.6982 35.0068C87.6982 31.9703 86.8555 29.5379 85.1703 27.7096C84.3456 26.806 83.3434 26.093 82.2302 25.6178C81.1169 25.1426 79.9181 24.9161 78.7131 24.9534C77.5026 24.9186 76.2984 25.146 75.179 25.6209C74.0596 26.0957 73.0499 26.8074 72.2157 27.7096C70.5215 29.5287 69.6744 31.9657 69.6744 35.0206C69.6744 38.0754 70.5215 40.5078 72.2157 42.3177C73.0507 43.2189 74.0605 43.9299 75.1797 44.4047C76.2989 44.8795 77.5027 45.1075 78.7131 45.074C79.9179 45.1103 81.1166 44.8834 82.2297 44.4083C83.3428 43.9332 84.3451 43.2206 85.1703 42.3177Z"}),F.jsx("path",{d:"M187.827 5.54621e-10H197.565C197.787 5.54621e-10 197.999 0.0853594 198.156 0.2373C198.313 0.389241 198.401 0.595316 198.401 0.810193V52.8634C198.401 52.9694 198.379 53.0745 198.337 53.1724C198.295 53.2703 198.233 53.3591 198.156 53.4338C198.078 53.5085 197.986 53.5675 197.884 53.6075C197.783 53.6474 197.674 53.6675 197.565 53.6666H187.827C187.718 53.6666 187.611 53.6459 187.51 53.6055C187.41 53.5651 187.318 53.506 187.241 53.4314C187.164 53.3568 187.103 53.2682 187.062 53.1708C187.02 53.0733 186.999 52.9688 186.999 52.8634V0.810193C186.998 0.704125 187.018 0.598926 187.06 0.500669C187.101 0.402411 187.162 0.31304 187.239 0.237715C187.316 0.162389 187.407 0.102601 187.508 0.0618008C187.61 0.0210004 187.718 -3.94095e-06 187.827 5.54621e-10V5.54621e-10Z"}),F.jsx("path",{d:"M138.924 25.2187C137.26 22.3784 134.865 20.0701 132.005 18.5505C129.42 17.1729 126.578 16.3842 123.671 16.2378C123.128 16.1962 122.591 16.1408 122.027 16.1408C121.464 16.1408 120.927 16.1962 120.377 16.2378C117.94 16.3776 115.546 16.9589 113.304 17.955V0.810156C113.306 0.599481 113.227 0.396499 113.085 0.244956C112.944 0.0934118 112.75 0.00544026 112.546 0L103.406 0C103.198 0 102.998 0.0853555 102.851 0.237289C102.704 0.389223 102.621 0.59529 102.621 0.810156V52.861C102.623 53.0746 102.706 53.2789 102.853 53.4294C103 53.5798 103.199 53.6642 103.406 53.6642H112.546C112.752 53.6642 112.95 53.5796 113.096 53.4289C113.242 53.2783 113.324 53.074 113.324 52.861V51.8569C116.078 53.0793 119.049 53.6948 122.047 53.6642C125.51 53.718 128.931 52.8854 132.005 51.2407C134.853 49.7142 137.238 47.4069 138.897 44.5725C140.579 41.6406 141.441 38.285 141.386 34.8783C141.443 31.4859 140.591 28.1433 138.924 25.2187ZM128.523 42.2389C127.695 43.1457 126.691 43.8613 125.576 44.3387C124.461 44.8161 123.261 45.0445 122.054 45.0087C120.843 45.0424 119.638 44.8132 118.518 44.3361C117.398 43.859 116.387 43.1445 115.552 42.2389C114.427 40.9975 113.659 39.4587 113.331 37.7935C112.883 35.8844 112.883 33.8929 113.331 31.9839C113.659 30.3207 114.428 28.7842 115.552 27.5453C116.387 26.6387 117.397 25.9235 118.517 25.4463C119.638 24.9691 120.843 24.7406 122.054 24.7756C123.261 24.7385 124.462 24.9662 125.577 25.4437C126.692 25.9211 127.696 26.6375 128.523 27.5453C130.205 29.3918 131.046 31.8408 131.046 34.8921C131.046 37.9435 130.205 40.3924 128.523 42.2389Z"}),F.jsx("path",{d:"M171.742 17.1428V18.1215C169.01 16.9171 166.064 16.3092 163.092 16.3365C159.615 16.2772 156.179 17.1011 153.087 18.7349C150.224 20.2425 147.828 22.541 146.166 25.3719C144.48 28.2882 143.617 31.6289 143.672 35.0207C143.617 38.4125 144.48 41.7532 146.166 44.6695C147.834 47.4861 150.23 49.7718 153.087 51.2721C156.179 52.9037 159.616 53.7252 163.092 53.6636C166.064 53.693 169.009 53.0875 171.742 51.8855V52.8641C171.742 53.0762 171.824 53.2795 171.97 53.4294C172.116 53.5794 172.313 53.6636 172.52 53.6636H181.66C181.866 53.6636 182.064 53.5794 182.21 53.4294C182.355 53.2795 182.437 53.0762 182.437 52.8641V17.1428C182.437 16.9302 182.356 16.7261 182.21 16.5751C182.064 16.4241 181.866 16.3383 181.66 16.3365H172.52C172.313 16.3383 172.115 16.4241 171.969 16.5751C171.824 16.7261 171.742 16.9302 171.742 17.1428ZM169.549 42.3125C168.724 43.2155 167.722 43.9282 166.608 44.4035C165.495 44.8787 164.296 45.1056 163.092 45.0693C161.881 45.1028 160.677 44.8747 159.558 44.3998C158.439 43.9249 157.429 43.2138 156.594 42.3125C154.891 40.4746 154.039 38.0371 154.039 35C154.039 31.963 154.891 29.5255 156.594 27.6876C157.428 26.7852 158.438 26.0734 159.557 25.5984C160.677 25.1235 161.881 24.896 163.092 24.9308C164.297 24.8936 165.495 25.1201 166.609 25.5954C167.722 26.0707 168.724 26.7839 169.549 27.6876C170.66 28.9209 171.418 30.4446 171.742 32.0916C172.189 34.0033 172.189 35.9967 171.742 37.9085C171.416 39.5549 170.658 41.0781 169.549 42.3125Z"}),F.jsx("path",{d:"M41.0484 51.1316V17.1532C41.0485 16.9392 40.9619 16.7339 40.8076 16.582C40.6533 16.43 40.4437 16.3437 40.2246 16.3419H30.5438C30.3247 16.3437 30.1151 16.43 29.9608 16.582C29.8065 16.7339 29.7199 16.9392 29.7199 17.1532V18.2003C26.8101 16.9534 23.6643 16.3179 20.4866 16.335C16.8207 16.2935 13.2007 17.1342 9.9465 18.7828C6.92093 20.297 4.38759 22.6047 2.6309 25.4467C0.855237 28.3743 -0.0544231 31.7252 0.00296367 35.1271C-0.0590547 38.5392 0.853371 41.9008 2.638 44.8352C4.39099 47.6742 6.92257 49.9777 9.9465 51.4853C13.2111 53.1311 16.8413 53.9648 20.515 53.9123C23.7856 53.8752 27.015 53.196 30.0111 51.9152C30.0135 54.3789 29.0796 56.7559 27.3903 58.5861C25.6076 60.4167 24.116 61.3043 21.3318 61.3043C21.1127 61.3062 20.9031 61.3925 20.7488 61.5444C20.5945 61.6964 20.5079 61.9017 20.5079 62.1157V69.1887C20.5089 69.2968 20.5317 69.4036 20.5751 69.503C20.6185 69.6023 20.6817 69.6923 20.7609 69.7678C20.8402 69.8432 20.9339 69.9026 21.0368 69.9424C21.1397 69.9823 21.2496 70.0019 21.3603 70C24.7569 69.9521 28.0956 69.1331 31.112 67.6077C34.128 66.0809 36.6507 63.7667 38.3992 60.923C40.1863 57.9893 41.1012 54.6276 41.0413 51.2148C41.0413 51.2148 41.0484 51.1663 41.0484 51.1316ZM29.7199 37.8107C29.4003 39.553 28.5772 41.1698 27.3477 42.4706C26.475 43.379 25.4145 44.0961 24.2366 44.5742C23.0587 45.0524 21.7902 45.2808 20.515 45.2443C19.2361 45.2782 17.9641 45.0487 16.782 44.5708C15.5999 44.0929 14.5341 43.3773 13.654 42.4706C11.8594 40.6214 10.9598 38.1736 10.9551 35.1271C10.9503 32.0806 11.85 29.6328 13.654 27.7836C14.5349 26.878 15.6009 26.1631 16.7828 25.6852C17.9647 25.2074 19.2362 24.9773 20.515 25.0099C21.79 24.9747 23.0581 25.2037 24.2358 25.6818C25.4136 26.1599 26.4741 26.8762 27.3477 27.7836C28.5734 29.0842 29.396 30.6977 29.7199 32.4366C30.1081 34.2079 30.1081 36.0394 29.7199 37.8107Z"}),F.jsx("path",{d:"M257.684 51.0999V22.5384C257.684 22.4311 257.662 22.3248 257.621 22.2258C257.579 22.1267 257.519 22.0368 257.442 21.9613C257.366 21.8857 257.275 21.826 257.175 21.7856C257.076 21.7451 256.969 21.7248 256.861 21.7257H247.366C247.26 21.7257 247.154 21.7468 247.055 21.7877C246.957 21.8286 246.867 21.8886 246.792 21.9642C246.717 22.0397 246.658 22.1294 246.617 22.2279C246.577 22.3265 246.557 22.432 246.558 22.5384V45.1542C246.119 45.1542 245.861 45.1542 245.77 45.1542C242.793 44.7444 241.385 43.9943 239.775 42.3759C238.165 40.7575 237.628 38.4445 237.502 35.6939V27.6089C237.504 27.5002 237.483 27.3924 237.441 27.2921C237.399 27.1918 237.337 27.101 237.258 27.0254L231.863 21.816L226.614 16.4468C226.539 16.3683 226.449 16.3057 226.35 16.2627C226.251 16.2198 226.143 16.1973 226.035 16.1968H217.572C217.752 14.438 218.484 12.7805 219.663 11.4597C220.413 10.6232 221.327 9.94923 222.348 9.47962C223.37 9.01002 224.478 8.75484 225.603 8.72994C225.812 8.72104 226.009 8.63245 226.155 8.48249C226.3 8.33253 226.382 8.13267 226.384 7.92422V0.700484C226.386 0.537006 226.331 0.377718 226.228 0.250664C226.125 0.123609 225.98 0.0369334 225.819 0.00589429H225.672C225.612 -0.00196476 225.551 -0.00196476 225.491 0.00589429C222.189 0.0700753 218.946 0.887465 216.011 2.39528C213.404 3.73607 211.166 5.69354 209.495 8.09612C207.824 10.4987 206.77 13.273 206.425 16.1759H201.49C201.275 16.1778 201.069 16.2642 200.918 16.4164C200.766 16.5686 200.681 16.7743 200.681 16.9886V26.4767C200.681 26.5825 200.702 26.6873 200.743 26.7851C200.783 26.8828 200.843 26.9716 200.918 27.0465C200.993 27.1213 201.082 27.1806 201.18 27.2211C201.278 27.2616 201.384 27.2824 201.49 27.2824H206.265V53.0309C206.265 53.1373 206.286 53.2426 206.327 53.3408C206.368 53.439 206.428 53.5282 206.504 53.6031C206.58 53.678 206.67 53.7372 206.769 53.7773C206.868 53.8174 206.974 53.8375 207.081 53.8366H216.575C216.682 53.8375 216.788 53.8174 216.887 53.7773C216.986 53.7372 217.076 53.678 217.152 53.6031C217.227 53.5282 217.288 53.439 217.329 53.3408C217.37 53.2426 217.391 53.1373 217.391 53.0309V27.2824H226.384V34.9229C226.384 34.9229 226.384 34.9785 226.384 35.0132C226.326 38.4315 227.224 41.7984 228.977 44.7375C230.694 47.5755 233.168 49.8836 236.122 51.4056C239.096 52.9517 242.389 53.791 245.742 53.8575H246.572C246.311 55.6236 245.496 57.2623 244.243 58.539C242.494 60.3727 241.079 61.3173 238.36 61.3173C238.252 61.3164 238.145 61.3368 238.046 61.3772C237.946 61.4176 237.855 61.4774 237.779 61.5529C237.702 61.6285 237.641 61.7184 237.6 61.8174C237.559 61.9165 237.537 62.0227 237.537 62.13V69.194C237.536 69.3013 237.557 69.4076 237.598 69.5067C237.639 69.6058 237.7 69.6956 237.777 69.7708C237.854 69.846 237.945 69.9051 238.045 69.9444C238.145 69.9837 238.252 70.0025 238.36 69.9997C241.685 69.94 244.949 69.1025 247.889 67.5548C250.862 66.0456 253.358 63.7446 255.097 60.9075C256.847 57.9672 257.745 54.6012 257.691 51.1833C257.691 51.1833 257.684 51.1347 257.684 51.0999Z"})]})}function Td(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=Td(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function Dd(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=Td(e))&&(r&&(r+=" "),r+=t);return r}const vn=(...e)=>Sd(Dd(e)),Nd=({children:e,className:t,font:n="satoshi",weight:r="regular",...o})=>{const a=ye({variants:{font:{satoshi:"font-satoshi",livvic:"font-livvic"},weight:{light:"font-light",regular:"font-normal",medium:"font-medium",semibold:"font-semibold",bold:"font-bold",black:"font-black"}}});return F.jsx("p",{...o,className:vn(t,a({font:n,weight:r})),children:e})},Av={bra:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzgiIGhlaWdodD0iMzciIHZpZXdCb3g9IjAgMCAzOCAzNyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iMTguNTA5OSIgY3k9IjE4LjUwMzMiIHI9IjE4LjUwMzMiIGZpbGw9IndoaXRlIi8+CjxwYXRoIGQ9Ik0xOC41MSAzNS4xODY1QzI3LjcyMzkgMzUuMTg2NSAzNS4xOTMzIDI3LjcxNzEgMzUuMTkzMyAxOC41MDMyQzM1LjE5MzMgOS4yODkyMSAyNy43MjM5IDEuODE5ODIgMTguNTEgMS44MTk4MkM5LjI5NjA0IDEuODE5ODIgMS44MjY2NiA5LjI4OTIxIDEuODI2NjYgMTguNTAzMkMxLjgyNjY2IDI3LjcxNzEgOS4yOTYwNCAzNS4xODY1IDE4LjUxIDM1LjE4NjVaIiBmaWxsPSIjMEI5RjU5Ii8+CjxwYXRoIGQ9Ik0xOC41MTAxIDguMzQ4MjhMMzIuMjkyIDE4LjUwMzNMMTguNTEwMSAyOC42NTg0TDQuNzI4MjQgMTguNTAzM0wxOC41MTAxIDguMzQ4MjhaIiBmaWxsPSIjRkZEQTQ0Ii8+CjxwYXRoIGQ9Ik0xOC41MDk5IDI0LjMwNjJDMjEuNzE0OCAyNC4zMDYyIDI0LjMxMjggMjEuNzA4MSAyNC4zMTI4IDE4LjUwMzNDMjQuMzEyOCAxNS4yOTg1IDIxLjcxNDggMTIuNzAwNCAxOC41MDk5IDEyLjcwMDRDMTUuMzA1MSAxMi43MDA0IDEyLjcwNyAxNS4yOTg1IDEyLjcwNyAxOC41MDMzQzEyLjcwNyAyMS43MDgxIDE1LjMwNTEgMjQuMzA2MiAxOC41MDk5IDI0LjMwNjJaIiBmaWxsPSIjRjBGMEYwIi8+CjxwYXRoIGQ9Ik0xNS42MDgzIDE4LjEzOTdDMTQuNTk5MiAxOC4xMzk3IDEzLjYyNTQgMTguMjkzMSAxMi43MDg3IDE4LjU3NzlDMTIuNzQ5MyAyMS43NDc4IDE1LjMzMDMgMjQuMzA1MyAxOC41MDk4IDI0LjMwNTNDMjAuNDc1OCAyNC4zMDUzIDIyLjIxMjIgMjMuMzI2NiAyMy4yNjE4IDIxLjgzMDlDMjEuNDY2IDE5LjU4MjggMTguNzAyNyAxOC4xMzk3IDE1LjYwODMgMTguMTM5N1oiIGZpbGw9IiMwMDUyQjQiLz4KPHBhdGggZD0iTTI0LjIwNTEgMTkuNjE0MkMyNC4yNzUgMTkuMjU0MiAyNC4zMTI3IDE4Ljg4MjggMjQuMzEyNyAxOC41MDI1QzI0LjMxMjcgMTUuMjk3NiAyMS43MTQ3IDEyLjY5OTYgMTguNTA5OSAxMi42OTk2QzE2LjExODUgMTIuNjk5NiAxNC4wNjU3IDE0LjE0NjQgMTMuMTc3MyAxNi4yMTIxQzEzLjk2MjYgMTYuMDQ5NCAxNC43NzU3IDE1Ljk2MzcgMTUuNjA4NSAxNS45NjM3QzE4Ljk3ODggMTUuOTYzNyAyMi4wMjc4IDE3LjM2NDcgMjQuMjA1MSAxOS42MTQyWiIgZmlsbD0iIzAwNTJCNCIvPgo8L3N2Zz4K",esp:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzgiIGhlaWdodD0iMzciIHZpZXdCb3g9IjAgMCAzOCAzNyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iMTguNTE2OCIgY3k9IjE4LjUwMzMiIHI9IjE4LjUwMzMiIGZpbGw9IndoaXRlIi8+CjxwYXRoIGQ9Ik0xLjgzMzUgMTguNTAyN0MxLjgzMzUgMjAuNTQzNCAyLjIwMDU5IDIyLjQ5ODIgMi44NzExOSAyNC4zMDU2TDE4LjUxNjggMjUuNzU2M0wzNC4xNjI1IDI0LjMwNTZDMzQuODMzMSAyMi40OTgyIDM1LjIwMDIgMjAuNTQzNCAzNS4yMDAyIDE4LjUwMjdDMzUuMjAwMiAxNi40NjIgMzQuODMzMSAxNC41MDcyIDM0LjE2MjUgMTIuNjk5OEwxOC41MTY4IDExLjI0OTFMMi44NzExOSAxMi42OTk4QzIuMjAwNTkgMTQuNTA3MiAxLjgzMzUgMTYuNDYyIDEuODMzNSAxOC41MDI3WiIgZmlsbD0iI0ZGREE0NCIvPgo8cGF0aCBkPSJNMzQuMTYyOCAxMi43MDAzQzMxLjgwNTUgNi4zNDczNSAyNS42OTA0IDEuODE5ODIgMTguNTE3MSAxLjgxOTgyQzExLjM0MzkgMS44MTk4MiA1LjIyODcgNi4zNDczNSAyLjg3MTQ2IDEyLjcwMDNIMzQuMTYyOFoiIGZpbGw9IiNEODAwMjciLz4KPHBhdGggZD0iTTIuODcxMTkgMjQuMzA1NkM1LjIyODQyIDMwLjY1ODYgMTEuMzQzOSAzNS4xODY1IDE4LjUxNzEgMzUuMTg2NUMyNS42OTA0IDM1LjE4NjUgMzEuODA1MiAzMC42NTg2IDM0LjE2MjUgMjQuMzA1NkgyLjg3MTE5WiIgZmlsbD0iI0Q4MDAyNyIvPgo8L3N2Zz4K",usa:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzciIGhlaWdodD0iMzciIHZpZXdCb3g9IjAgMCAzNyAzNyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iMTguNTAzMyIgY3k9IjE4LjUwMzMiIHI9IjE4LjUwMzMiIGZpbGw9IndoaXRlIi8+CjxwYXRoIGQ9Ik0xOC41MDM0IDM1LjE4NjVDMjcuNzE3NCAzNS4xODY1IDM1LjE4NjcgMjcuNzE3MSAzNS4xODY3IDE4LjUwMzJDMzUuMTg2NyA5LjI4OTIxIDI3LjcxNzQgMS44MTk4MiAxOC41MDM0IDEuODE5ODJDOS4yODk0NSAxLjgxOTgyIDEuODIwMDcgOS4yODkyMSAxLjgyMDA3IDE4LjUwMzJDMS44MjAwNyAyNy43MTcxIDkuMjg5NDUgMzUuMTg2NSAxOC41MDM0IDM1LjE4NjVaIiBmaWxsPSIjRjBGMEYwIi8+CjxwYXRoIGQ9Ik0xNy43Nzc5IDE4LjUwMzdIMzUuMTg2NkMzNS4xODY2IDE2Ljk5NzggMzQuOTg1OCAxNS41MzkxIDM0LjYxMTggMTQuMTUxNUgxNy43Nzc5VjE4LjUwMzdaIiBmaWxsPSIjRDgwMDI3Ii8+CjxwYXRoIGQ9Ik0xNy43Nzc5IDkuNzk5MzRIMzIuNzM3OUMzMS43MTY2IDguMTMyODMgMzAuNDEwOCA2LjY1OTgxIDI4Ljg4ODMgNS40NDcxNEgxNy43Nzc5VjkuNzk5MzRaIiBmaWxsPSIjRDgwMDI3Ii8+CjxwYXRoIGQ9Ik0xOC41MDM0IDM1LjE4NjVDMjIuNDI5OCAzNS4xODY1IDI2LjAzODQgMzMuODI5OCAyOC44ODgyIDMxLjU2MDFIOC4xMTc5OUMxMC45Njc4IDMzLjgyOTggMTQuNTc3IDM1LjE4NjUgMTguNTAzNCAzNS4xODY1WiIgZmlsbD0iI0Q4MDAyNyIvPgo8cGF0aCBkPSJNNC4yNjg1NyAyNy4yMDhIMzIuNzM3OUMzMy41NTc4IDI1Ljg3MDEgMzQuMTkzNiAyNC40MDc3IDM0LjYxMTggMjIuODU1OEgyLjM5NDYzQzIuODEyODIgMjQuNDA3NyAzLjQ0ODY3IDI1Ljg3MDEgNC4yNjg1NyAyNy4yMDhaIiBmaWxsPSIjRDgwMDI3Ii8+CjxwYXRoIGQ9Ik05LjU0ODEgNC40MjUxNkgxMS4wNjg0TDkuNjU0MjYgNS40NTI1NUwxMC4xOTQ0IDcuMTE0OTZMOC43ODAzNCA2LjA4NzU2TDcuMzY2MjMgNy4xMTQ5Nkw3LjgzMjg1IDUuNjc4ODJDNi41ODc3MiA2LjcxNTk5IDUuNDk2NCA3LjkzMTE0IDQuNTk3MDYgOS4yODUwOUg1LjA4NDJMNC4xODQwMiA5LjkzOTA3QzQuMDQzNzcgMTAuMTczIDMuOTA5MjYgMTAuNDEwNyAzLjc4MDM2IDEwLjY1MTlMNC4yMTAyMiAxMS45NzQ5TDMuNDA4MjQgMTEuMzkyMkMzLjIwODg5IDExLjgxNDYgMy4wMjY1NSAxMi4yNDY1IDIuODYyNjUgMTIuNjg3M0wzLjMzNjIzIDE0LjE0NUg1LjA4NDJMMy42NzAwMyAxNS4xNzI0TDQuMjEwMjIgMTYuODM0OEwyLjc5NjExIDE1LjgwNzRMMS45NDkwNCAxNi40MjI5QzEuODY0MjUgMTcuMTA0NCAxLjgyMDA3IDE3Ljc5ODYgMS44MjAwNyAxOC41MDMySDE4LjUwMzRDMTguNTAzNCA5LjI4OTI3IDE4LjUwMzQgOC4yMDMwMiAxOC41MDM0IDEuODE5ODJDMTUuMjA3NyAxLjgxOTgyIDEyLjEzNTQgMi43NzU4NiA5LjU0ODEgNC40MjUxNlpNMTAuMTk0NCAxNi44MzQ4TDguNzgwMzQgMTUuODA3NEw3LjM2NjIzIDE2LjgzNDhMNy45MDY0MiAxNS4xNzI0TDYuNDkyMjUgMTQuMTQ1SDguMjQwMjJMOC43ODAzNCAxMi40ODI2TDkuMzIwNDYgMTQuMTQ1SDExLjA2ODRMOS42NTQyNiAxNS4xNzI0TDEwLjE5NDQgMTYuODM0OFpNOS42NTQyNiAxMC4zMTI1TDEwLjE5NDQgMTEuOTc0OUw4Ljc4MDM0IDEwLjk0NzVMNy4zNjYyMyAxMS45NzQ5TDcuOTA2NDIgMTAuMzEyNUw2LjQ5MjI1IDkuMjg1MDlIOC4yNDAyMkw4Ljc4MDM0IDcuNjIyNjlMOS4zMjA0NiA5LjI4NTA5SDExLjA2ODRMOS42NTQyNiAxMC4zMTI1Wk0xNi4xNzg3IDE2LjgzNDhMMTQuNzY0NiAxNS44MDc0TDEzLjM1MDUgMTYuODM0OEwxMy44OTA3IDE1LjE3MjRMMTIuNDc2NSAxNC4xNDVIMTQuMjI0NUwxNC43NjQ2IDEyLjQ4MjZMMTUuMzA0NyAxNC4xNDVIMTcuMDUyN0wxNS42Mzg1IDE1LjE3MjRMMTYuMTc4NyAxNi44MzQ4Wk0xNS42Mzg1IDEwLjMxMjVMMTYuMTc4NyAxMS45NzQ5TDE0Ljc2NDYgMTAuOTQ3NUwxMy4zNTA1IDExLjk3NDlMMTMuODkwNyAxMC4zMTI1TDEyLjQ3NjUgOS4yODUwOUgxNC4yMjQ1TDE0Ljc2NDYgNy42MjI2OUwxNS4zMDQ3IDkuMjg1MDlIMTcuMDUyN0wxNS42Mzg1IDEwLjMxMjVaTTE1LjYzODUgNS40NTI1NUwxNi4xNzg3IDcuMTE0OTZMMTQuNzY0NiA2LjA4NzU2TDEzLjM1MDUgNy4xMTQ5NkwxMy44OTA3IDUuNDUyNTVMMTIuNDc2NSA0LjQyNTE2SDE0LjIyNDVMMTQuNzY0NiAyLjc2Mjc2TDE1LjMwNDcgNC40MjUxNkgxNy4wNTI3TDE1LjYzODUgNS40NTI1NVoiIGZpbGw9IiMwMDUyQjQiLz4KPC9zdmc+Cg=="},Tv=({shadow:e,country:t,className:n,...r})=>{const o=ye({base:"rounded-full",variants:{shadow:{true:"shadow-[4px_4px_6px_0px_rgba(0,0,0,0.17)]",false:""}}}),a=Av[t];return F.jsx("img",{...r,src:a,alt:`${t} flag`,className:vn(n,o({shadow:e}))})},cD="",rt=({name:e,className:t,...n})=>F.jsx("span",{...n,className:`icon-${e} ${t??""}`});({IcoMoonType:"selection",icons:[{icon:{paths:["M908.5 55.167l-469.333 469.333c-7.719 7.721-12.494 18.386-12.494 30.167s4.774 22.446 12.494 30.167l-0-0c7.721 7.719 18.386 12.494 30.167 12.494s22.446-4.774 30.167-12.494l469.333-469.333c7.719-7.721 12.494-18.386 12.494-30.167s-4.774-22.446-12.494-30.167l0 0c-7.721-7.719-18.386-12.494-30.167-12.494s-22.446 4.774-30.167 12.494l0-0z","M924.583 45.083l-853.333 298.667c-16.774 6.003-28.56 21.76-28.56 40.27 0 17.28 10.272 32.161 25.043 38.871l0.268 0.109 369 164 164 369c6.818 15.039 21.699 25.31 38.98 25.31 18.51 0 34.267-11.786 40.177-28.262l0.093-0.298 298.667-853.333c1.505-4.182 2.375-9.008 2.375-14.038 0-23.567-19.104-42.671-42.671-42.671-5.029 0-9.855 0.87-14.336 2.468l0.298-0.093zM869.167 154.833l-233.833 668.167-127-285.667c-4.38-9.691-11.975-17.287-21.399-21.558l-0.268-0.109-285.667-127z","M1024 768c0 141.385-114.615 256-256 256s-256-114.615-256-256c0-141.385 114.615-256 256-256s256 114.615 256 256z","M611.5 775.167c-11.782 0.001-21.332 9.552-21.333 21.333l-0 0v85.333c0 11.782 9.551 21.333 21.333 21.333v0c11.782 0 21.333-9.551 21.333-21.333v0-64h64c11.782 0 21.333-9.551 21.333-21.333v0c0-11.782-9.551-21.333-21.333-21.333v0z","M924.5 632.833c-11.782 0-21.333 9.551-21.333 21.333v0 64h-64c-11.782 0-21.333 9.551-21.333 21.333v0c0 11.782 9.551 21.333 21.333 21.333v0h85.333c11.782-0.001 21.332-9.552 21.333-21.333l0-0v-85.333c0-11.782-9.551-21.333-21.333-21.333v0z","M734.917 622.417c-24.601 5.569-47.394 17.24-66.25 34-18.85 16.754-33.087 38.047-41.5 61.833-0.762 2.103-1.202 4.53-1.202 7.060 0 9.226 5.856 17.083 14.054 20.059l0.148 0.047c2.103 0.762 4.53 1.202 7.060 1.202 9.226 0 17.083-5.856 20.059-14.054l0.047-0.148c6.008-16.986 16.284-32.114 29.75-44.083 13.469-11.972 29.671-20.354 47.25-24.333 17.571-3.975 35.941-3.423 53.25 1.583 17.307 5.006 33.008 14.337 45.75 27.083 0.134 0.116 0.297 0.253 0.461 0.388l0.039 0.031 66 62c3.81 3.594 8.96 5.802 14.625 5.802 6.121 0 11.641-2.578 15.531-6.708l0.010-0.011c3.57-3.804 5.763-8.938 5.763-14.584 0-6.143-2.596-11.679-6.752-15.572l-0.012-0.011-65.917-62 0.418 0.5c-17.832-17.837-39.85-30.908-64.083-37.917-24.231-7.009-49.9-7.732-74.5-2.167zM610.917 775.167c-5.885 0.166-11.15 2.69-14.908 6.657l-0.009 0.010c-3.594 3.81-5.802 8.96-5.802 14.625 0 6.121 2.578 11.641 6.708 15.531l0.011 0.010 65.5 61.583c0.043 0.043 0.124 0.039 0.166 0.085 17.806 17.771 39.827 30.758 64 37.75 24.233 7.008 49.812 7.737 74.417 2.167 24.605-5.565 47.396-17.241 66.25-34 18.858-16.757 33.167-37.974 41.583-61.75 0.778-2.124 1.228-4.577 1.228-7.135 0-9.235-5.868-17.1-14.080-20.068l-0.149-0.047c-2.124-0.778-4.577-1.228-7.135-1.228-9.235 0-17.1 5.868-20.068 14.080l-0.047 0.149c-6.014 16.988-16.201 32.117-29.667 44.083-13.47 11.973-29.758 20.358-47.333 24.333-17.575 3.979-35.851 3.424-53.167-1.583-17.307-5.006-33.097-14.256-45.833-27-0.165-0.203-0.302-0.366-0.441-0.527l0.023 0.027-66-62c-3.804-3.568-8.936-5.76-14.581-5.76-0.235 0-0.47 0.004-0.703 0.011l0.034-0.001z"],attrs:[{fill:"rgb(0, 0, 0)"},{fill:"rgb(0, 0, 0)"},{fill:"rgb(217, 217, 217)"},{fill:"rgb(0, 0, 0)"},{fill:"rgb(0, 0, 0)"},{fill:"rgb(0, 0, 0)"}],isMulticolor:!0,isMulticolor2:!1,grid:0,tags:["resend"],colorPermutations:{"12172172171":[{f:0},{f:0},{f:1},{f:0},{f:0},{f:0}]}},attrs:[{fill:"rgb(0, 0, 0)"},{fill:"rgb(0, 0, 0)"},{fill:"rgb(217, 217, 217)"},{fill:"rgb(0, 0, 0)"},{fill:"rgb(0, 0, 0)"},{fill:"rgb(0, 0, 0)"}],properties:{order:41,id:21,name:"resend",prevSize:32,code:59669,codes:[59669,59670,59671,59672,59673,59674]},setIdx:0,setId:4,iconIdx:0},{icon:{paths:["M695.177 547.182c48.599-38.234 84.074-90.672 101.482-150.006 17.414-59.336 15.898-122.624-4.332-181.059-20.236-58.435-58.178-109.11-108.546-144.977-50.375-35.867-110.679-55.141-172.514-55.141-61.842 0-122.139 19.273-172.514 55.141s-88.316 86.542-108.547 144.977c-20.233 58.435-21.747 121.723-4.335 181.059 17.411 59.334 52.885 111.77 101.483 150.006-83.277 33.367-155.938 88.703-210.238 160.112-54.3 71.413-88.203 156.219-98.097 245.383-0.715 6.509-0.144 13.098 1.687 19.387 1.829 6.286 4.879 12.155 8.977 17.262 8.274 10.321 20.307 16.934 33.454 18.377 13.147 1.448 26.329-2.389 36.649-10.663s16.929-20.309 18.376-33.455c10.884-96.902 57.090-186.399 129.789-251.386s166.794-100.912 264.305-100.912c97.512 0 191.604 35.926 264.305 100.912 72.696 64.989 118.901 154.483 129.789 251.386 1.348 12.18 7.159 23.433 16.315 31.578 9.156 8.15 21.003 12.617 33.258 12.543h5.452c12.992-1.492 24.87-8.066 33.039-18.276 8.174-10.217 11.976-23.243 10.583-36.251-9.94-89.417-44.024-174.441-98.609-245.963-54.579-71.52-127.592-126.838-211.213-160.027zM511.266 511.984c-39.215 0-77.554-11.629-110.162-33.417s-58.021-52.754-73.030-88.989c-15.007-36.232-18.935-76.102-11.284-114.564s26.536-73.795 54.267-101.525c27.731-27.731 63.062-46.616 101.525-54.267s78.334-3.724 114.564 11.284c36.232 15.007 67.199 40.422 88.991 73.030 21.787 32.608 33.417 70.945 33.417 110.161 0 52.59-20.89 103.022-58.077 140.213-37.183 37.183-87.617 58.072-140.208 58.072z"],attrs:[],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{},tags:["user"],grid:0},attrs:[],properties:{order:37,id:0,name:"user",prevSize:32,code:59658},setIdx:0,setId:4,iconIdx:1},{icon:{paths:["M526.086 521.84c23.866-20.659 43.009-46.207 56.127-74.918 13.118-28.707 19.908-59.901 19.908-91.464 0-59.31-23.562-116.193-65.502-158.13-41.936-41.938-98.819-65.501-158.129-65.501s-116.193 23.561-158.13 65.501c-41.938 41.938-65.501 98.822-65.501 158.13 0 31.564 6.789 62.757 19.909 91.464 13.119 28.71 32.26 54.257 56.126 74.918-62.61 28.351-115.731 74.134-153.010 131.876-37.28 57.747-57.139 125.002-57.204 193.732 0 11.86 4.712 23.24 13.1 31.626s19.764 13.1 31.626 13.1c11.861 0 23.238-4.714 31.626-13.1s13.1-19.764 13.1-31.626c0-71.172 28.273-139.43 78.601-189.756 50.327-50.331 118.586-78.602 189.757-78.602s139.43 28.272 189.756 78.602c50.331 50.327 78.602 118.583 78.602 189.756 0 11.86 4.714 23.24 13.1 31.626s19.764 13.1 31.626 13.1c11.86 0 23.24-4.714 31.626-13.1s13.1-19.764 13.1-31.626c-0.068-68.732-19.926-135.985-57.205-193.732-37.281-57.742-90.397-103.524-153.009-131.876zM378.488 489.638c-26.539 0-52.48-7.866-74.545-22.613-22.067-14.742-39.265-35.702-49.42-60.217-10.155-24.518-12.812-51.497-7.635-77.526s17.957-49.936 36.722-68.701c18.765-18.765 42.674-31.544 68.701-36.722s53.008-2.52 77.528 7.635c24.515 10.155 45.473 27.353 60.215 49.42 14.747 22.067 22.613 48.008 22.613 74.545 0 35.586-14.138 69.715-39.301 94.877s-59.291 39.301-94.877 39.301zM814.122 503.948c28.626-32.235 47.32-72.050 53.841-114.663 6.522-42.611 0.587-86.199-17.085-125.518-17.676-39.318-46.337-72.689-82.533-96.099-36.201-23.407-78.391-35.855-121.498-35.845-11.86 0-23.24 4.712-31.626 13.1s-13.1 19.764-13.1 31.626c0 11.861 4.714 23.238 13.1 31.626s19.764 13.1 31.626 13.1c35.584 0 69.715 14.138 94.877 39.3s39.301 59.292 39.301 94.878c-0.064 23.492-6.294 46.555-18.065 66.886-11.776 20.327-28.679 37.212-49.024 48.957-6.632 3.825-12.171 9.291-16.085 15.864-3.919 6.58-6.078 14.053-6.279 21.705-0.188 7.594 1.561 15.109 5.085 21.839 3.52 6.726 8.694 12.451 15.041 16.624l17.443 11.628 5.815 3.131c53.914 25.571 99.394 66.016 131.092 116.57 31.693 50.554 48.282 109.115 47.813 168.783 0 11.86 4.714 23.24 13.1 31.626s19.764 13.1 31.626 13.1c11.86 0 23.24-4.714 31.626-13.1s13.1-19.764 13.1-31.626c0.366-68.637-16.826-136.222-49.936-196.343-33.115-60.122-81.053-110.779-139.256-147.154z"],attrs:[],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{},tags:["users"],grid:0},attrs:[],properties:{order:38,id:1,name:"users",prevSize:32,code:59666},setIdx:0,setId:4,iconIdx:2},{icon:{paths:["M857.957 264.888h-49.422v-49.422c0-39.324-15.622-77.034-43.427-104.84s-65.52-43.426-104.839-43.426h-494.223c-39.324 0-77.034 15.621-104.84 43.426s-43.426 65.518-43.426 104.84v593.066c0 39.321 15.621 77.034 43.426 104.839s65.518 43.427 104.84 43.427h691.912c39.321 0 77.034-15.622 104.839-43.427s43.427-65.52 43.427-104.839v-395.378c0-39.324-15.622-77.034-43.427-104.84s-65.52-43.426-104.839-43.426zM166.044 166.043h494.223c13.106 0 25.68 5.206 34.946 14.476s14.476 21.839 14.476 34.946v49.422h-543.644c-13.107 0-25.678-5.206-34.946-14.476s-14.476-21.839-14.476-34.946c0-13.107 5.206-25.678 14.476-34.946s21.839-14.476 34.946-14.476zM907.378 660.266h-49.422c-13.106 0-25.68-5.208-34.946-14.476s-14.476-21.839-14.476-34.946c0-13.106 5.208-25.68 14.476-34.946s21.839-14.476 34.946-14.476h49.422v98.844zM907.378 462.578h-49.422c-39.321 0-77.034 15.622-104.839 43.427s-43.427 65.52-43.427 104.839c0 39.321 15.622 77.034 43.427 104.839s65.52 43.427 104.839 43.427h49.422v49.422c0 13.106-5.208 25.68-14.476 34.946s-21.839 14.476-34.946 14.476h-691.912c-13.107 0-25.678-5.208-34.946-14.476s-14.476-21.839-14.476-34.946v-453.202c15.878 5.586 32.591 8.426 49.422 8.402h691.912c13.106 0 25.68 5.206 34.946 14.476s14.476 21.839 14.476 34.946v49.422z"],attrs:[],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{},tags:["wallet"],grid:0},attrs:[],properties:{order:39,id:2,name:"wallet",prevSize:32,code:59667},setIdx:0,setId:4,iconIdx:3},{icon:{paths:["M979.553 176.238c-6.483-6.535-14.195-11.724-22.693-15.262-8.5-3.542-17.616-5.365-26.818-5.365s-18.319 1.823-26.818 5.365c-8.5 3.542-16.213 8.727-22.693 15.262l-519.504 520.201-218.263-218.958c-6.732-6.501-14.678-11.612-23.382-15.044s-18.004-5.113-27.36-4.952c-9.357 0.159-18.592 2.163-27.172 5.897s-16.347 9.112-22.848 15.844c-6.501 6.73-11.612 14.677-15.043 23.382s-5.114 18.004-4.952 27.36c0.161 9.357 2.163 18.592 5.897 27.172s9.112 16.345 15.843 22.848l267.77 267.773c6.482 6.532 14.193 11.722 22.694 15.263 8.496 3.537 17.613 5.365 26.817 5.365s18.319-1.827 26.816-5.365c8.496-3.542 16.209-8.731 22.695-15.263l569.013-569.015c7.078-6.528 12.724-14.456 16.591-23.277s5.858-18.347 5.858-27.977c0-9.63-1.992-19.156-5.858-27.977s-9.511-16.746-16.591-23.277z"],attrs:[],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{},tags:["check"],grid:0},attrs:[],properties:{order:40,id:3,name:"check",prevSize:32,code:59668},setIdx:0,setId:4,iconIdx:4},{icon:{paths:["M441.48 33.984c-101.267 0-181.649 77.289-195.622 175.411-0.576-0.148-1.357-0.3-2.151-0.42l-0.154-0.021h-197.93c-15.529 0-28.116 12.587-28.116 28.116v0c0 15.529 12.587 28.116 28.116 28.116v0h197.93c0.934-0.329 1.661-0.627 2.37-0.951l-0.175 0.073c13.778 98.344 94.31 175.852 195.731 175.852 111.011 0 201.335-91.419 201.335-203.090s-90.322-203.090-201.335-203.090zM441.48 90.222c80.312 0 145.098 65.272 145.098 146.854s-64.786 146.854-145.098 146.854c-80.312 0-144.989-65.272-144.989-146.854s64.676-146.854 144.989-146.854zM738.484 208.958c-15.529 0-28.116 12.587-28.116 28.116v0c0 15.529 12.587 28.116 28.116 28.116v0h296.892c15.529 0 28.116-12.587 28.116-28.116v0c0-15.529-12.587-28.116-28.116-28.116v0zM639.522 583.838c-111.010 0-201.335 91.42-201.335 203.090s90.323 203.090 201.335 203.090c101.43 0 182.067-77.505 195.841-175.852 0.506 0.249 1.192 0.546 1.892 0.813l0.193 0.065h197.93c15.529 0 28.116-12.587 28.116-28.116v0c0-15.529-12.587-28.116-28.116-28.116v0h-197.93c-0.895 0.332-1.583 0.628-2.254 0.952l0.169-0.074c-13.773-98.346-94.413-175.852-195.841-175.852zM639.522 640.076c80.317 0 145.098 65.272 145.098 146.854s-64.783 146.854-145.098 146.854c-80.31 0-145.098-65.273-145.098-146.854s64.788-146.854 145.098-146.854zM45.622 758.808c-15.529 0-28.116 12.587-28.116 28.116v0c0 15.529 12.587 28.116 28.116 28.116v0h296.892c15.529 0 28.116-12.587 28.116-28.116v0c0-15.529-12.587-28.116-28.116-28.116v0z"],width:1081,attrs:[],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{},tags:["filters"],grid:0},attrs:[],properties:{order:36,id:4,name:"filters",prevSize:32,code:59665},setIdx:0,setId:4,iconIdx:5},{icon:{paths:["M221.91 16c-48.472 0-91.817 15.678-120.059 48.704s-39.686 78.531-39.686 132.284v742.129h-11.959c-18.891 0-34.206 15.315-34.206 34.206v0c0 18.891 15.315 34.206 34.206 34.206v0h787.294c0.153 0.078 0.527 0.235 0.904 0.387l0.23 0.082c0.608-0.232 0.983-0.39 1.354-0.554l-0.218 0.087h134.021c18.891 0 34.206-15.315 34.206-34.206v0c0-18.891-15.315-34.206-34.206-34.206v0h-100.951v-155.067c54.54-16.957 93.201-70.819 93.201-133.487v-110.371c0-75.121-54.176-141.17-126.606-141.17s-126.539 66.049-126.539 141.17v110.371c0 62.051 37.857 115.532 91.531 133.085v155.467h-161.681v-742.129c0-53.703-11.226-99.158-39.351-132.217s-71.454-48.771-119.925-48.771zM221.91 84.415h261.562c35.068 0 54.273 8.805 67.812 24.719s23.049 43.854 23.049 87.856v742.129h-185.533v-148.119c0-18.891-15.315-34.206-34.206-34.206v0c-18.891 0-34.206 15.315-34.206 34.206v0 148.119h-189.809v-742.129c0-43.953 9.613-71.84 23.25-87.789s33.010-24.786 68.080-24.786zM251.707 270.748c-18.891 0-34.206 15.315-34.206 34.206v0c0 18.891 15.315 34.206 34.206 34.206v0h207.848c18.891 0 34.206-15.315 34.206-34.206v0c0-18.891-15.315-34.206-34.206-34.206v0zM251.707 453.007c-18.891 0-34.206 15.315-34.206 34.206v0c0 18.891 15.315 34.206 34.206 34.206v0h207.848c18.891 0 34.206-15.315 34.206-34.206v0c0-18.891-15.315-34.206-34.206-34.206v0zM839.438 467.438c30.006 0 58.191 29.277 58.191 72.757v110.371c0 43.236-27.909 72.162-57.724 72.49-0.193-0.054-0.622-0.148-1.053-0.231l-0.217-0.034c-0.010 0-0.023 0-0.033 0s-0.025 0-0.035 0h0.002c-29.634-0.633-57.257-29.219-57.257-72.222v-110.371c0-43.481 28.118-72.757 58.125-72.757z"],attrs:[],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[],"125525525513463581":[]},tags:["building"],grid:0},attrs:[],properties:{order:32,id:5,name:"building",prevSize:32,code:59661},setIdx:0,setId:4,iconIdx:6},{icon:{paths:["M474.119 16c-80.744 0-133.002 18.798-160.546 57.657s-25.188 83.466-25.188 124.335v2.74h-13.162c-106.295 0-176.908 24.402-217.869 71.889s-45.635 110.102-38.75 170.768l35.477 368.794c0.042 0.341 0.067 0.5 0.092 0.658l-0.025-0.191c5.325 48.463 18.348 100.416 60.797 138.23s108.001 57.124 207.647 57.124h378.814c99.646 0 165.199-19.309 207.647-57.124s55.471-89.767 60.797-138.23c0 0.034 0.025-0.125 0.046-0.284l0.022-0.183 32.737-340.466 0.069-0.134c0-0.039 0-0.087 0-0.134s0-0.093 0-0.141v0.007l2.673-27.928c6.881-60.667 2.208-123.284-38.753-170.769s-111.574-71.889-217.869-71.889h-13.162v-2.74c0-40.869 2.356-85.474-25.188-124.335s-79.802-57.657-160.546-57.657zM474.119 84.415h75.763c70.807 0 94.347 14.202 104.691 28.796s12.626 43.914 12.626 84.783v2.74h-310.402v-2.74c0-40.869 2.283-70.189 12.626-84.783s33.884-28.796 104.691-28.796zM275.224 269.144h473.552c95.931 0 143.050 21.538 166.023 48.17s28.485 66.309 22.582 118.322c-0.009 0.036-0.032 0.243-0.055 0.451l-0.014 0.152-0.802 8.418c-90.418 61.486-191.449 98.993-295.569 117.186v-3.675c0-11.545 0.127-20.64-1.003-30.533-1.127-9.891-4.112-23.496-15.232-34.34s-24.375-13.492-34.271-14.565-19.227-0.936-31.067-0.936h-94.737c-11.84 0-21.171-0.137-31.067 0.935s-23.153 3.721-34.273 14.564c-11.122 10.844-14.105 24.449-15.232 34.34s-1.003 18.988-1.003 30.533v4.743c-103.328-16.824-204.524-52.276-294.967-112.376l-1.402-14.297c-0.034-0.355-0.058-0.562-0.084-0.768l0.017 0.166c-5.903-52.012-0.393-91.688 22.582-118.322s70.092-48.17 166.023-48.17zM928.696 525.763l-26.858 279.869v-0.467c-4.62 42.048-13.6 72.616-38.283 94.603s-71.408 39.819-162.149 39.819h-378.814c-90.739 0-137.466-17.83-162.149-39.819s-33.662-52.555-38.283-94.603v0.467l-26.456-275.126c90.546 52.332 187.8 87.604 288.487 102.42 0.946 18.776 3.822 38.317 17.639 57.322 20.648 28.406 58.343 40.688 110.17 40.688 52.096 0 89.971-12.499 110.505-41.088 13.846-19.276 16.588-38.976 17.438-57.858 100.973-16.032 198.085-52.864 288.755-106.229zM464.631 546.206h94.737c6.436 0 8.729 0.167 12.894 0.267 0.090 3.921 0.267 5.767 0.267 11.691v47.101c0 25.061-2.348 40.084-5.611 44.629s-12.767 12.626-54.918 12.626c-41.943 0-51.583-8.064-54.851-12.56s-5.678-19.275-5.678-44.229v-47.569c0-5.924 0.178-7.771 0.267-11.691 4.165-0.098 6.458-0.267 12.894-0.267z"],attrs:[],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[],"125525525513463581":[]},tags:["briefcase"],grid:0},attrs:[],properties:{order:33,id:6,name:"briefcase",prevSize:32,code:59662},setIdx:0,setId:4,iconIdx:7},{icon:{paths:["M482.712 22.394l-377.328 166.783c-31.614 13.974-46.767 41.583-46.767 74.318v153.774c0 42.336 32.474 80.455 76.119 80.455h7.738v255.977h-7.738c-43.641 0-76.119 38.118-76.119 80.455v104.807h-7.738c-18.865 0-34.157 15.292-34.157 34.157v0c0 18.865 15.292 34.157 34.157 34.157v0h922.239c18.865 0 34.157-15.292 34.157-34.157v0c0-18.865-15.292-34.157-34.157-34.157v0h-7.738v-104.807c0-42.335-32.478-80.455-76.119-80.455h-7.738v-255.977h7.738c43.644 0 76.119-38.121 76.119-80.455v-153.774c0-32.732-15.149-60.347-46.767-74.318l-377.328-166.783c-21.473-9.489-37.103-9.489-58.574 0zM510.266 84.905c-4.7 2.077 8.17 2.077 3.469 0l377.262 166.783c-2.269-1.003 6.071 10.263 6.071 11.809v153.774c0 8.614-5.338 12.142-7.805 12.142h-754.523c-2.467 0-7.805-3.53-7.805-12.142v-153.774c0-1.543 8.34-12.811 6.071-11.809zM512 174.698c-55.125 0-97.067 48.525-97.067 103.605s41.943 103.672 97.067 103.672c55.125 0 97.067-48.593 97.067-103.672s-41.943-103.605-97.067-103.605zM512 243.013c14.33 0 28.753 13.623 28.753 35.292s-14.423 35.359-28.753 35.359c-14.33 0-28.753-13.69-28.753-35.359s14.423-35.292 28.753-35.292zM210.791 497.723h99.403v255.977h-99.403zM378.507 497.723h99.336v255.977h-99.336zM546.157 497.723h99.336v255.977h-99.336zM713.807 497.723h99.403v255.977h-99.403zM134.738 822.016h754.523c2.47 0 7.805 3.522 7.805 12.142v104.807h-770.134v-104.807c0-8.617 5.335-12.142 7.805-12.142z"],attrs:[],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[],"125525525513463581":[]},tags:["bank"],grid:0},attrs:[],properties:{order:34,id:7,name:"bank",prevSize:32,code:59663},setIdx:0,setId:4,iconIdx:8},{icon:{paths:["M511.864 16.070c-272.629 0-495.93 223.302-495.93 495.93 0 272.626 223.302 495.93 495.93 495.93 272.631 0 496.066-223.304 496.066-495.93 0-272.629-223.435-495.93-496.066-495.93zM511.864 85.276c234.882 0 426.859 191.845 426.859 426.724s-191.977 426.724-426.859 426.724c-234.88 0-426.724-191.846-426.724-426.724s191.843-426.724 426.724-426.724z","M327.36 460.095c-28.667 0-51.905 23.238-51.905 51.905v0c0 28.667 23.238 51.905 51.905 51.905v0h369.142c28.667 0 51.905-23.238 51.905-51.905v0c0-28.667-23.238-51.905-51.905-51.905v0z","M512 275.593c-28.667 0-51.905 23.238-51.905 51.905v0 369.007c0 28.667 23.238 51.905 51.905 51.905v0c28.667 0 51.905-23.238 51.905-51.905v0-369.007c0-28.667-23.238-51.905-51.905-51.905v0z"],attrs:[],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[],"125525525513463581":[]},tags:["add-circle"],grid:0},attrs:[],properties:{order:35,id:8,name:"add-circle",prevSize:32,code:59664},setIdx:0,setId:4,iconIdx:9},{icon:{paths:["M512 810.667c8.439 0 16.687-2.5 23.706-7.189 7.014-4.689 12.484-11.354 15.714-19.149s4.075-16.375 2.428-24.653c-1.647-8.277-5.709-15.881-11.678-21.845-5.965-5.969-13.568-10.031-21.845-11.678s-16.858-0.802-24.653 2.428c-7.795 3.23-14.46 8.7-19.149 15.714-4.689 7.019-7.189 15.266-7.189 23.706 0 11.315 4.497 22.17 12.497 30.17s18.854 12.497 30.17 12.497zM725.333 810.667c8.439 0 16.687-2.5 23.706-7.189 7.014-4.689 12.484-11.354 15.714-19.149s4.075-16.375 2.428-24.653c-1.647-8.277-5.709-15.881-11.678-21.845-5.965-5.969-13.568-10.031-21.845-11.678s-16.858-0.802-24.653 2.428c-7.795 3.23-14.46 8.7-19.149 15.714-4.689 7.019-7.189 15.266-7.189 23.706 0 11.315 4.497 22.17 12.497 30.17s18.854 12.497 30.17 12.497zM725.333 640c8.439 0 16.687-2.5 23.706-7.189 7.014-4.689 12.484-11.354 15.714-19.149s4.075-16.375 2.428-24.653c-1.647-8.277-5.709-15.881-11.678-21.845-5.965-5.969-13.568-10.031-21.845-11.678s-16.858-0.802-24.653 2.428c-7.795 3.23-14.46 8.7-19.149 15.714-4.689 7.019-7.189 15.266-7.189 23.706 0 11.315 4.497 22.17 12.497 30.17s18.854 12.497 30.17 12.497zM512 640c8.439 0 16.687-2.5 23.706-7.189 7.014-4.689 12.484-11.354 15.714-19.149s4.075-16.375 2.428-24.653c-1.647-8.277-5.709-15.881-11.678-21.845-5.965-5.969-13.568-10.031-21.845-11.678s-16.858-0.802-24.653 2.428c-7.795 3.23-14.46 8.7-19.149 15.714-4.689 7.019-7.189 15.266-7.189 23.706 0 11.315 4.497 22.17 12.497 30.17s18.854 12.497 30.17 12.497zM810.667 128h-42.667v-42.667c0-11.316-4.497-22.168-12.497-30.17s-18.854-12.497-30.17-12.497c-11.315 0-22.17 4.495-30.17 12.497s-12.497 18.854-12.497 30.17v42.667h-341.333v-42.667c0-11.316-4.495-22.168-12.497-30.17s-18.854-12.497-30.17-12.497c-11.316 0-22.168 4.495-30.17 12.497s-12.497 18.854-12.497 30.17v42.667h-42.667c-33.948 0-66.505 13.486-90.51 37.49s-37.49 56.562-37.49 90.51v597.333c0 33.946 13.486 66.505 37.49 90.509s56.562 37.491 90.51 37.491h597.333c33.946 0 66.505-13.487 90.509-37.491s37.491-56.563 37.491-90.509v-597.333c0-33.948-13.487-66.505-37.491-90.51s-56.563-37.49-90.509-37.49zM853.333 853.333c0 11.315-4.497 22.17-12.497 30.17s-18.854 12.497-30.17 12.497h-597.333c-11.316 0-22.168-4.497-30.17-12.497s-12.497-18.854-12.497-30.17v-384h682.667v384zM853.333 384h-682.667v-128c0-11.316 4.495-22.168 12.497-30.17s18.854-12.497 30.17-12.497h42.667v42.667c0 11.316 4.495 22.168 12.497 30.17s18.854 12.497 30.17 12.497c11.316 0 22.168-4.495 30.17-12.497s12.497-18.854 12.497-30.17v-42.667h341.333v42.667c0 11.316 4.497 22.168 12.497 30.17s18.854 12.497 30.17 12.497c11.315 0 22.17-4.495 30.17-12.497s12.497-18.854 12.497-30.17v-42.667h42.667c11.315 0 22.17 4.495 30.17 12.497s12.497 18.854 12.497 30.17v128zM298.667 640c8.439 0 16.688-2.5 23.704-7.189s12.485-11.354 15.715-19.149c3.229-7.795 4.074-16.375 2.428-24.653s-5.71-15.881-11.677-21.845c-5.967-5.969-13.57-10.031-21.846-11.678s-16.855-0.802-24.652 2.428c-7.796 3.23-14.46 8.7-19.148 15.714-4.688 7.019-7.191 15.266-7.191 23.706 0 11.315 4.495 22.17 12.497 30.17s18.854 12.497 30.17 12.497zM298.667 810.667c8.439 0 16.688-2.5 23.704-7.189s12.485-11.354 15.715-19.149c3.229-7.795 4.074-16.375 2.428-24.653s-5.71-15.881-11.677-21.845c-5.967-5.969-13.57-10.031-21.846-11.678s-16.855-0.802-24.652 2.428c-7.796 3.23-14.46 8.7-19.148 15.714-4.688 7.019-7.191 15.266-7.191 23.706 0 11.315 4.495 22.17 12.497 30.17s18.854 12.497 30.17 12.497z"],attrs:[{}],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[],"125525525513463581":[{}]},tags:["calendar"],grid:0},attrs:[{}],properties:{order:22,id:9,name:"calendar",prevSize:32,code:59660},setIdx:0,setId:4,iconIdx:10},{icon:{paths:["M92.308 1008.001l-76.307-76.31 419.692-419.691-419.692-419.692 76.307-76.307 419.692 419.692 419.691-419.692 76.31 76.307-419.692 419.692 419.692 419.691-76.31 76.31-419.691-419.692-419.692 419.692z"],attrs:[],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[],"125525525513463581":[]},tags:["close"],grid:0},attrs:[],properties:{order:20,id:10,name:"close",prevSize:32,code:59659},setIdx:0,setId:4,iconIdx:11},{icon:{paths:["M479.562 16.805l-25.249 2.704c-85.122 9.016-168.126 42.381-241.661 97.025-27.458 20.423-75.563 68.53-96.213 96.124-112.624 150.903-131.877 345.585-50.901 514.566 24.618 51.308 53.156 91.118 96.528 134.446 43.329 43.372 83.138 71.911 134.446 96.528 168.936 80.974 363.753 61.632 514.745-51.083 27.458-20.47 75.698-68.711 96.169-96.169 134.086-179.667 134.086-418.804 0-598.47-20.47-27.413-68.666-75.61-96.033-95.944-71.911-53.472-147.656-84.537-235.214-96.44-19.071-2.616-83.365-4.78-96.62-3.292zM571.537 110.494c115.556 17.447 216.593 82.507 281.336 181.201 13.662 20.875 33.498 61.272 42.020 85.663 15.6 44.769 21.866 83.183 21.866 134.357 0 67.314-11.587 118.17-40.442 177.639-31.786 65.555-79.757 120.244-142.157 161.949-35.573 23.806-92.472 47.612-136.114 57.034-25.62 5.722-55.043 8.998-85.231 8.998-96.674 0-185.496-33.609-255.424-89.779l0.796 0.619c-68.215-54.644-119.387-134.806-139.902-219.072-8.387-34.401-11-57.348-11-97.385 0-67.314 11.587-118.17 40.442-177.639 48.209-97.574 131.699-171.591 233.4-206.28l2.851-0.844c31.786-10.504 57.348-15.69 98.288-19.928 14.519-1.488 70.83 0.676 89.27 3.471zM494.621 288.856c-9.882 2.687-17.931 9.133-22.672 17.667l-0.094 0.187c-4.012 7.484-4.012 7.935-4.508 110.821-0.36 66.771 0.136 105.727 1.352 110.19 4.735 17.674 17.764 27.322 38.638 28.674 21.866 1.397 36.204-4.915 44.365-19.523l4.508-8.025v-214.608l-4.012-7.528c-2.526-4.494-5.734-8.293-9.532-11.395l-0.071-0.056c-11.903-8.52-32.507-11.227-47.972-6.403zM494.621 649.453c-17.764 5.816-25.925 17.223-27.277 38.097-1.397 21.687 4.959 36.025 19.523 44.184 6.988 3.923 10.235 4.508 25.158 4.508 14.067 0 18.395-0.721 24.346-3.876 14.698-7.935 20.739-19.611 20.739-40.306 0-28.99-12.939-42.922-41.344-44.365-8.567-0.452-16.455 0.224-21.146 1.759z"],attrs:[{}],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[{}],"125525525513463581":[{}]},tags:["alert-circle"],grid:0},attrs:[{}],properties:{order:3,id:11,name:"alert-circle",prevSize:32,code:59648},setIdx:0,setId:4,iconIdx:12},{icon:{paths:["M86.74 248.039c-13.743 7.271-32.022 25.885-39.226 39.959-3.593 6.962-5.699 15.194-5.699 23.918 0 8.777 2.132 17.053 5.906 24.343l-0.14-0.295c8.339 16.68 423.485 431.822 440.161 440.161 7.050 3.626 15.386 5.753 24.216 5.753s17.166-2.127 24.519-5.894l-0.303 0.141c16.68-8.339 431.822-423.485 440.161-440.161 11.741-23.549 5.737-47.899-17.345-70.981-22.684-22.684-48.099-28.753-71.58-17.012-7.472 3.734-71.38 65.711-193.329 187.392l-182.121 181.854-182.121-181.854c-121.949-121.682-185.858-183.656-193.329-187.392-7.274-3.457-15.806-5.475-24.812-5.475-9.058 0-17.641 2.042-25.313 5.692l0.355-0.152z"],attrs:[{}],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[{}],"125525525513463581":[{}]},tags:["chevron-down"],grid:0},attrs:[{}],properties:{order:4,id:12,name:"chevron-down",prevSize:32,code:59649},setIdx:0,setId:4,iconIdx:13},{icon:{paths:["M696.431 22.299c-16.683 8.519-455.166 447.703-463.259 463.964-3.67 7.465-5.925 16.214-6.192 25.461l-0.002 0.092c0 7.814 2.463 18.021 6.195 25.553 8.798 17.599 446.859 455.657 464.458 464.458 24.848 12.388 50.544 6.053 74.898-18.302 24.426-24.426 30.692-50.050 18.302-74.898-4.434-8.729-63.566-69.902-198.087-204.633l-191.892-192.174 191.892-192.174c134.521-134.733 193.654-195.904 198.087-204.633 12.388-24.848 6.124-50.472-18.302-74.898-23.934-23.934-51.6-30.411-76.097-17.811z"],attrs:[{}],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[{}],"125525525513463581":[{}]},tags:["chevron-left"],grid:0},attrs:[{}],properties:{order:5,id:13,name:"chevron-left",prevSize:32,code:59650},setIdx:0,setId:4,iconIdx:14},{icon:{paths:["M274.397 21.85c-14.506 7.676-33.802 27.323-41.407 42.182-3.793 7.347-6.016 16.037-6.016 25.248 0 9.265 2.25 18.003 6.233 25.699l-0.148-0.312c4.436 8.732 63.589 69.927 198.164 204.713l191.967 192.248-191.967 192.248c-134.573 134.785-193.727 195.98-198.164 204.713-12.393 24.858-6.126 50.492 18.309 74.927 24.366 24.366 50.068 30.704 74.927 18.309 17.606-8.802 455.833-447.031 464.636-464.636 3.671-7.468 5.928-16.22 6.194-25.472l0.002-0.092c-0.268-9.341-2.525-18.096-6.36-25.936l0.164 0.373c-8.522-17.112-446.96-455.833-464.002-464.284-7.679-3.647-16.687-5.779-26.192-5.779-9.563 0-18.623 2.157-26.72 6.009l0.376-0.161z"],attrs:[{}],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[{}],"125525525513463581":[{}]},tags:["chevron-right"],grid:0},attrs:[{}],properties:{order:6,id:14,name:"chevron-right",prevSize:32,code:59651},setIdx:0,setId:4,iconIdx:15},{icon:{paths:["M122.87 145.282c-45.789 7.741-83.47 41.162-97.682 86.706l-3.85 12.287v535.715l3.85 12.287c12.591 40.186 43.612 71.207 82.901 83.554l0.897 0.243 12.287 3.85h781.455l12.287-3.85c40.186-12.591 71.207-43.612 83.554-82.901l0.243-0.897 3.85-12.287v-535.715l-3.85-12.287c-12.527-39.881-43.174-70.717-82.042-83.262l-0.897-0.25-13.147-4.136-385.813-0.246c-212.197-0.122-389.54 0.41-394.045 1.187zM893.308 227.933c6.274 1.981 11.613 5.404 15.833 9.892l0.019 0.020c12.122 12.122 12.41 14.212 12.41 87.812v63.606h-819.135v-63.606c0-73.641 0.287-75.688 12.451-87.812 4.087-4.335 9.153-7.7 14.847-9.746l0.265-0.083c6.554-2.006 60.903-2.375 381.308-2.458 329.949-0.122 374.59 0.163 382.004 2.375zM921.568 616.736c0 157.93 0.205 154.324-9.051 166.448-2.499 3.277-7.945 7.986-12.082 10.403l-7.536 4.424h-761.796l-7.536-4.424c-4.601-2.832-8.531-6.217-11.861-10.129l-0.058-0.069c-9.543-12.532-9.216-6.511-9.216-165.793v-146.42h819.135v145.56z"],attrs:[{}],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[{}],"125525525513463581":[{}]},tags:["credit-card"],grid:0},attrs:[{}],properties:{order:7,id:15,name:"credit-card",prevSize:32,code:59652},setIdx:0,setId:4,iconIdx:16},{icon:{paths:["M124.444 1024c-25.6 0-48-9.603-67.2-28.803s-28.8-41.597-28.8-67.197v-228.801h96v228.801h832v-228.801h96v228.801c0 25.6-9.603 47.997-28.803 67.197s-41.597 28.803-67.197 28.803h-832zM540.444 779.201l-308.8-308.801 68.8-68.8 192 192.002v-593.601h96.003v593.601l192-192.002 68.796 68.8-308.799 308.801z"],width:1081,attrs:[{}],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[{}],"125525525513463581":[{}]},tags:["download"],grid:0},attrs:[{}],properties:{order:8,id:16,name:"download",prevSize:32,code:59653},setIdx:0,setId:4,iconIdx:17},{icon:{paths:["M794.006 17.661l-151.696 1.040-9.863 5.054c-16.85 8.673-23.837 23.986-22.3 48.666 1.437 22.747 11.943 37.069 31.023 42.371 4.362 1.239 44.353 2.031 101.345 2.031h94.11l-234.158 234.406c-167.702 167.801-235.446 236.884-238.618 243.178-8.721 17.494-4.311 35.583 12.884 52.728 17.147 17.197 35.236 21.607 52.728 12.884 6.293-3.172 75.377-70.917 243.178-238.618l234.406-234.158v94.11c0 56.992 0.793 96.984 2.031 101.345 5.301 19.080 19.624 29.586 42.371 31.023 24.034 1.536 39.794-5.402 48.764-21.459l4.956-8.822 1.337-156.601c0.743-86.13 1.389-159.525 1.487-163.094 0.199-9.367-10.010-30.676-17.197-35.781-11.101-7.88-24.034-12.29-34.839-11.796-5.65 0.247-78.549 0.942-161.954 1.487zM138.857 168.514c-55.307 9.267-100.999 49.804-118.194 104.912l-4.659 14.867v598.654l4.659 14.867c15.235 48.626 52.77 86.159 100.311 101.101l1.085 0.293 14.867 4.659h598.654l14.867-4.659c48.626-15.235 86.159-52.77 101.101-100.311l0.293-1.085 4.659-14.867v-342.936l-4.51-8.424c-8.177-15.363-27.751-23.787-50.3-21.756-21.557 1.983-36.326 13.034-41.281 30.924-1.288 4.558-2.031 65.068-2.031 163.985 0 170.081 0.149 167.504-10.951 182.074-3.023 3.964-9.614 9.664-14.62 12.587l-9.119 5.353h-574.865l-9.119-5.353c-5.567-3.428-10.323-7.523-14.351-12.254l-0.070-0.086c-11.796-15.463-11.15 1.585-11.15-302.349 0-314.194-1.090-292.092 15.016-308.198 15.61-15.61 8.177-15.016 186.040-15.016 98.917 0 159.377-0.743 163.935-2.031 11.026-3.042 20.021-10.196 25.414-19.667l0.108-0.206c4.311-7.73 4.956-11.2 4.906-27.653-0.050-21.459-4.014-31.964-14.916-39.696-13.925-9.911-13.034-9.863-185.048-9.614-88.411 0.098-165.274 0.991-170.726 1.884z"],attrs:[{}],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[{}],"125525525513463581":[{}]},tags:["external-link"],grid:0},attrs:[{}],properties:{order:9,id:17,name:"external-link",prevSize:32,code:59654},setIdx:0,setId:4,iconIdx:18},{icon:{paths:["M37.011 21.092c-7.44 4.919-15.211 13.392-19.096 20.832-2.893 5.497-2.397 26.205 0.744 32.446 1.488 2.893 43.936 46.623 94.363 97.173l91.676 91.883-22.072 19.881c-55.882 50.302-111.391 120.526-152.394 192.652-19.923 35.091-19.551 40.216 6.572 83.906 22.981 38.439 50.839 77.582 81.963 114.987 17.277 20.832 68.571 72.374 88.204 88.659 77.664 64.52 156.486 101.967 243.863 115.938 29.181 4.671 84.691 4.919 114.905 0.537 64.774-9.256 123.081-30.451 174.918-61.366l-2.146 1.186 14.053-8.391 95.891 95.643c52.74 52.575 98.289 96.801 101.182 98.289 3.431 1.695 9.589 2.645 17.484 2.645 10.871 0 13.061-0.579 19.881-5.084 7.44-4.919 15.211-13.392 19.096-20.832 1.033-1.984 1.901-9.135 1.901-15.872 0-10.788-0.579-13.061-4.877-19.509-6.696-10.003-922.132-924.736-928.745-928.042-3.431-1.695-9.631-2.645-17.484-2.645-10.871 0-13.061 0.579-19.881 5.084zM483.073 140.957c-38.77 3.885-70.679 9.879-81.384 15.335-17.443 8.928-22.651 27.611-14.467 51.748 3.431 9.961 12.565 20.501 19.964 22.94 7.233 2.397 20.584 2.356 31.413-0.083 21.828-4.99 46.894-7.847 72.629-7.847 24.765 0 48.908 2.647 72.168 7.674l-2.239-0.405c112.673 22.94 225.345 110.358 314.128 243.697 27.404 41.126 25.833 34.802 13.681 54.89-18.486 29.629-36.424 54.854-55.698 78.967l1.263-1.635c-15.665 19.427-20.419 28.396-20.419 38.728 0 9.961 3.844 17.897 13.020 26.825 15.789 15.335 32.074 19.179 47.078 10.995 16.285-8.845 62.164-70.431 96.553-129.578 23.188-39.844 23.064-44.267-2.356-87.212-37.302-62.647-79.77-116.755-128.241-164.821l-0.056-0.055c-52.906-52.864-96.015-84.608-154.667-113.789-47.987-23.891-92.875-37.778-142.185-43.978-14.921-1.901-69.067-3.472-80.186-2.397zM363.497 436.278c-7.027 12.235-16.161 40.547-18.6 57.411-2.273 15.748-1.281 38.026 2.439 55.51 13.81 64.070 63.4 113.659 126.385 127.273l1.085 0.197c36.992 7.853 73.986 2.976 109.035-14.467l13.144-6.531 95.767 95.767-18.145 9.093c-55.551 27.859-106.762 40.010-167.562 39.762-34.884-0.124-55.51-2.852-85.146-11.325-108.953-31.041-213.029-116.558-296.355-243.491-23.767-36.207-22.609-30.421-10.209-50.798 36.103-58.15 77.662-108.281 125.123-152.115l0.487-0.445 22.196-20.295 105.481 105.481-5.125 8.969zM482.99 541.677c28.148 28.189 50.839 51.5 50.426 51.872-2.371 0.956-5.22 1.825-8.155 2.456l-0.358 0.065c-32.694 8.019-71.795-10.664-88.618-42.324-7.068-13.309-10.871-31.165-9.424-44.226s2.645-19.013 3.927-19.013c0.579 0 24.097 23.023 52.203 51.17z"],attrs:[{}],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[{}],"125525525513463581":[{}]},tags:["eye-off"],grid:0},attrs:[{}],properties:{order:10,id:18,name:"eye-off",prevSize:32,code:59655},setIdx:0,setId:4,iconIdx:19},{icon:{paths:["M476.812 145.058c-91.938 8.183-178.844 45.99-262.682 114.237-22.013 17.88-73.24 69.23-93.411 93.576-27.898 33.332-54.401 70.307-78.054 109.206l-2.265 4.009c-25.408 43.004-25.408 48.075 0 91.079 26.595 43.828 53.754 81.602 83.511 117.127l-1.187-1.456c17.103 20.621 67.881 71.644 87.316 87.765 95.252 79.132 196.848 119.231 301.963 119.231 101.186 0 199.262-37.274 291.528-110.8 24.55-19.599 77.168-71.317 97.789-96.194 28.531-34.062 55.678-71.838 79.947-111.56l2.335-4.112c25.408-43.004 25.408-48.075 0-91.079-36.927-62.014-78.968-115.578-126.948-163.159l-0.056-0.055c-52.373-52.333-95.049-83.755-153.109-112.642-47.258-23.526-92.471-37.52-140.752-43.534-19.762-2.456-66.611-3.355-85.924-1.636zM542.401 226.93c113.297 11.048 221.112 79.46 315.996 200.613 12.97 16.572 49.221 69.557 54.46 79.622 2.865 5.524 3.109 4.991-18.289 37.602-76.268 116.162-173.648 200.285-270.457 233.633-36.375 12.521-63.503 17.677-100.654 19.107-41.858 1.595-75.777-3.436-118.575-17.634-99.877-33.061-197.545-116.447-275.448-235.106-21.4-32.57-21.154-32.118-18.289-37.561 5.319-10.106 35.598-54.828 49.058-72.503 112.439-147.544 247.339-220.865 382.198-207.772zM485.731 350.456c-46.153 7.2-90.63 37.358-114.115 77.413-14.495 23.907-23.073 52.8-23.073 83.696 0 68.318 41.943 126.839 101.484 151.218l1.089 0.394c18.045 7.475 38.999 11.817 60.968 11.817 68.256 0 126.725-41.91 151.074-101.401l0.393-1.088c7.497-18.004 11.851-38.921 11.851-60.853 0-21.895-4.34-42.775-12.205-61.827l0.393 1.079c-21.587-53.034-68.85-91.572-125.925-100.454l-0.915-0.116c-7.561-1.328-16.266-2.088-25.149-2.088-9.141 0-18.093 0.805-26.792 2.346l0.92-0.135zM533.4 432.78c30.737 8.794 53.801 34.225 59.016 65.681l0.066 0.48c4.092 26.718-3.846 50.859-23.077 70.131-16.407 16.489-35.024 24.386-57.404 24.386-21.072 0-39.361-7.284-55.114-21.891-54.418-50.572-18.985-141.571 55.114-141.571 5.851 0 15.467 1.268 21.4 2.782z"],attrs:[{}],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[{}],"125525525513463581":[{}]},tags:["eye"],grid:0},attrs:[{}],properties:{order:11,id:19,name:"eye",prevSize:32,code:59656},setIdx:0,setId:4,iconIdx:20},{icon:{paths:["M481.28 43.648l-23.893 2.56c-80.555 8.533-159.104 40.107-228.693 91.819-25.984 19.328-71.509 64.853-91.051 90.965-106.581 142.805-124.8 327.040-48.171 486.955 23.296 48.555 50.304 86.229 91.349 127.232 41.003 41.045 78.677 68.053 127.232 91.349 159.872 76.629 344.235 58.325 487.125-48.341 25.984-19.371 71.637-65.024 91.008-91.008 126.891-170.027 126.891-396.331 0-566.357-19.371-25.941-64.981-71.552-90.88-90.795-68.053-50.603-139.733-80-222.592-91.264-18.048-2.475-78.891-4.523-91.435-3.115zM568.32 132.309c109.355 16.512 204.971 78.080 266.24 171.477 12.928 19.755 31.701 57.984 39.765 81.067 14.763 42.368 20.693 78.72 20.693 127.147 0 63.701-10.965 111.829-38.272 168.107-30.080 62.037-75.477 113.792-134.528 153.259-33.664 22.528-87.509 45.056-128.811 53.973-24.244 5.414-52.089 8.515-80.658 8.515-91.486 0-175.543-31.805-241.717-84.962l0.754 0.586c-64.555-51.712-112.981-127.573-132.395-207.317-7.936-32.555-10.411-54.272-10.411-92.16 0-63.701 10.965-111.829 38.272-168.107 45.622-92.339 124.633-162.383 220.876-195.211l2.698-0.799c30.080-9.941 54.272-14.848 93.013-18.859 13.739-1.408 67.029 0.64 84.48 3.285zM482.133 257.792c-22.357 3.456-48.768 14.165-70.827 28.715-38.101 25.131-71.424 80-66.261 109.184 2.56 14.72 15.104 25.173 36.309 30.421 9.771 2.389 12.843 2.517 19.499 0.768 11.392-3.029 20.821-12.971 27.563-28.928 6.741-16.085 12.8-25.003 23.509-34.645 26.325-23.68 61.141-28.501 94.208-13.013 14.848 6.955 31.744 24.021 38.997 39.381 6.059 12.843 9.643 32.128 8.021 43.093-4.096 27.221-38.699 56.917-92.288 79.232-31.019 12.885-39.424 24.107-34.944 46.805 5.675 28.8 22.997 43.221 46.421 38.613 24.832-4.907 68.651-26.965 97.451-49.109 49.365-37.973 71.595-80.213 68.949-130.987-2.261-43.136-18.731-79.957-49.749-111.189-21.063-21.482-47.858-37.271-77.909-44.894l-1.152-0.248c-15.317-3.968-51.925-5.675-67.797-3.2zM495.531 685.013c-16.811 5.504-24.533 16.299-25.813 36.053-1.323 20.523 4.693 34.091 18.475 41.813 6.613 3.712 9.685 4.267 23.808 4.267 13.312 0 17.408-0.683 23.040-3.669 13.909-7.509 19.627-18.56 19.627-38.144 0-27.435-12.245-40.619-39.125-41.984-8.107-0.427-15.573 0.213-20.011 1.664z"],attrs:[{}],isMulticolor:!1,isMulticolor2:!1,colorPermutations:{"13513613712552552551":[{}],"125525525513463581":[{}]},tags:["help-circle"],grid:0},attrs:[{}],properties:{order:12,id:20,name:"help-circle",prevSize:32,code:59657},setIdx:0,setId:4,iconIdx:21}],height:1024,metadata:{name:"icomoon"},preferences:{showGlyphs:!0,showQuickUse:!0,showQuickUse2:!0,showSVGs:!0,fontPref:{prefix:"icon-",metadata:{fontFamily:"icomoon"},metrics:{emSize:1024,baseline:6.25,whitespace:50},embed:!1},imagePref:{prefix:"icon-",png:!0,useClassSelector:!0,color:0,bgColor:16777215,classSelector:".icon",name:"icomoon"},historySize:50,showCodes:!0,gridSize:16,showGrid:!1}}).icons.map(e=>e.properties.name).reduce((e,t)=>(e[t]=t,e),{});const Ea={prefix:String(Math.round(Math.random()*1e10)),current:0},$d=f.createContext(Ea),Dv=f.createContext(!1);let Nv=!!(typeof window<"u"&&window.document&&window.document.createElement),Ms=new WeakMap;function $v(e=!1){let t=f.useContext($d),n=f.useRef(null);if(n.current===null&&!e){var r,o;let a=(o=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||o===void 0||(r=o.ReactCurrentOwner)===null||r===void 0?void 0:r.current;if(a){let i=Ms.get(a);i==null?Ms.set(a,{id:t.current,state:a.memoizedState}):a.memoizedState!==i.state&&(t.current=i.id,Ms.delete(a))}n.current=++t.current}return n.current}function kv(e){let t=f.useContext($d);t===Ea&&!Nv&&console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");let n=$v(!!e),r=t===Ea&&process.env.NODE_ENV==="test"?"react-aria":`react-aria${t.prefix}`;return e||`${r}-${n}`}function Ov(e){let t=f.useId(),[n]=f.useState(kd()),r=n||process.env.NODE_ENV==="test"?"react-aria":`react-aria${Ea.prefix}`;return e||`${r}-${t}`}const Fv=typeof f.useId=="function"?Ov:kv;function Lv(){return!1}function Vv(){return!0}function jv(e){return()=>{}}function kd(){return typeof f.useSyncExternalStore=="function"?f.useSyncExternalStore(jv,Lv,Vv):f.useContext(Dv)}function Bv(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Wv(e,t,n){Bv(e,t),t.set(e,n)}function hr(e,t,n){let[r,o]=f.useState(e||t),a=f.useRef(e!==void 0),i=e!==void 0;f.useEffect(()=>{let u=a.current;u!==i&&console.warn(`WARN: A component changed from ${u?"controlled":"uncontrolled"} to ${i?"controlled":"uncontrolled"}.`),a.current=i},[i]);let s=i?e:r,l=f.useCallback((u,...c)=>{let d=(p,...m)=>{n&&(Object.is(s,p)||n(p,...m)),i||(s=p)};typeof u=="function"?(console.warn("We can not support a function callback. See Github Issues for details https://github.com/adobe/react-spectrum/issues/2320"),o((m,...h)=>{let g=u(i?s:m,...h);return d(g,...c),i?m:g})):(i||o(u),d(u,...c))},[i,s,n]);return[s,l]}const Jt=typeof document<"u"?f.useLayoutEffect:()=>{};function Je(e){const t=f.useRef(null);return Jt(()=>{t.current=e},[e]),f.useCallback((...n)=>{const r=t.current;return r(...n)},[])}function _v(e){let[t,n]=f.useState(e),r=f.useRef(null),o=Je(()=>{let i=r.current.next();if(i.done){r.current=null;return}t===i.value?o():n(i.value)});Jt(()=>{r.current&&o()});let a=Je(i=>{r.current=i(t),o()});return[t,a]}let Gv=!!(typeof window<"u"&&window.document&&window.document.createElement),Pa=new Map;function gr(e){let[t,n]=f.useState(e),r=f.useRef(null),o=Fv(t),a=f.useCallback(i=>{r.current=i},[]);return Gv&&Pa.set(o,a),Jt(()=>{let i=o;return()=>{Pa.delete(i)}},[o]),f.useEffect(()=>{let i=r.current;i&&(r.current=null,n(i))}),o}function Rv(e,t){if(e===t)return e;let n=Pa.get(e);if(n)return n(t),t;let r=Pa.get(t);return r?(r(e),e):t}function Od(e=[]){let t=gr(),[n,r]=_v(t),o=f.useCallback(()=>{r(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,r]);return Jt(o,[t,o,...e]),n}function Ln(...e){return(...t)=>{for(let n of e)typeof n=="function"&&n(...t)}}const Wt=e=>{var t;return(t=e==null?void 0:e.ownerDocument)!==null&&t!==void 0?t:document},ao=e=>e&&"window"in e&&e.window===e?e:Wt(e).defaultView||window;function he(...e){let t={...e[0]};for(let n=1;n<e.length;n++){let r=e[n];for(let o in r){let a=t[o],i=r[o];typeof a=="function"&&typeof i=="function"&&o[0]==="o"&&o[1]==="n"&&o.charCodeAt(2)>=65&&o.charCodeAt(2)<=90?t[o]=Ln(a,i):(o==="className"||o==="UNSAFE_className")&&typeof a=="string"&&typeof i=="string"?t[o]=Dd(a,i):o==="id"&&a&&i?t.id=Rv(a,i):t[o]=i!==void 0?i:a}}return t}const zv=new Set(["id"]),Hv=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),Xv=new Set(["href","target","rel","download","ping","referrerPolicy"]),Zv=/^(data-.*)$/;function br(e,t={}){let{labelable:n,isLink:r,propNames:o}=t,a={};for(const i in e)Object.prototype.hasOwnProperty.call(e,i)&&(zv.has(i)||n&&Hv.has(i)||r&&Xv.has(i)||o!=null&&o.has(i)||Zv.test(i))&&(a[i]=e[i]);return a}function ht(e){if(Yv())e.focus({preventScroll:!0});else{let t=Uv(e);e.focus(),Kv(t)}}let Sa=null;function Yv(){if(Sa==null){Sa=!1;try{var e=document.createElement("div");e.focus({get preventScroll(){return Sa=!0,!0}})}catch{}}return Sa}function Uv(e){for(var t=e.parentNode,n=[],r=document.scrollingElement||document.documentElement;t instanceof HTMLElement&&t!==r;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&n.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return r instanceof HTMLElement&&n.push({element:r,scrollTop:r.scrollTop,scrollLeft:r.scrollLeft}),n}function Kv(e){for(let{element:t,scrollTop:n,scrollLeft:r}of e)t.scrollTop=n,t.scrollLeft=r}function Ma(e){var t;return typeof window>"u"||window.navigator==null?!1:((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.brands.some(n=>e.test(n.brand)))||e.test(window.navigator.userAgent)}function As(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 yn(){return As(/^Mac/i)}function Jv(){return As(/^iPhone/i)}function Fd(){return As(/^iPad/i)||yn()&&navigator.maxTouchPoints>1}function io(){return Jv()||Fd()}function Qv(){return yn()||io()}function qv(){return Ma(/AppleWebKit/i)&&!e2()}function e2(){return Ma(/Chrome/i)}function Ld(){return Ma(/Android/i)}function t2(){return Ma(/Firefox/i)}const n2=f.createContext({isNative:!0,open:o2});function Vd(){return f.useContext(n2)}function Qt(e,t,n=!0){var r,o;let{metaKey:a,ctrlKey:i,altKey:s,shiftKey:l}=t;t2()&&(!((o=window.event)===null||o===void 0||(r=o.type)===null||r===void 0)&&r.startsWith("key"))&&e.target==="_blank"&&(yn()?a=!0:i=!0);let u=qv()&&yn()&&!Fd()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:a,ctrlKey:i,altKey:s,shiftKey:l}):new MouseEvent("click",{metaKey:a,ctrlKey:i,altKey:s,shiftKey:l,bubbles:!0,cancelable:!0});Qt.isOpening=n,ht(e),e.dispatchEvent(u),Qt.isOpening=!1}Qt.isOpening=!1;function r2(e,t){if(e instanceof HTMLAnchorElement)t(e);else if(e.hasAttribute("data-href")){let n=document.createElement("a");n.href=e.getAttribute("data-href"),e.hasAttribute("data-target")&&(n.target=e.getAttribute("data-target")),e.hasAttribute("data-rel")&&(n.rel=e.getAttribute("data-rel")),e.hasAttribute("data-download")&&(n.download=e.getAttribute("data-download")),e.hasAttribute("data-ping")&&(n.ping=e.getAttribute("data-ping")),e.hasAttribute("data-referrer-policy")&&(n.referrerPolicy=e.getAttribute("data-referrer-policy")),e.appendChild(n),t(n),e.removeChild(n)}}function o2(e,t){r2(e,n=>Qt(n,t))}let vr=new Map,Ts=new Set;function jd(){if(typeof window>"u")return;let e=n=>{let r=vr.get(n.target);r||(r=new Set,vr.set(n.target,r),n.target.addEventListener("transitioncancel",t)),r.add(n.propertyName)},t=n=>{let r=vr.get(n.target);if(r&&(r.delete(n.propertyName),r.size===0&&(n.target.removeEventListener("transitioncancel",t),vr.delete(n.target)),vr.size===0)){for(let o of Ts)o();Ts.clear()}};document.body.addEventListener("transitionrun",e),document.body.addEventListener("transitionend",t)}typeof document<"u"&&(document.readyState!=="loading"?jd():document.addEventListener("DOMContentLoaded",jd));function Ds(e){requestAnimationFrame(()=>{vr.size===0?e():Ts.add(e)})}function Ns(){let e=f.useRef(new Map),t=f.useCallback((o,a,i,s)=>{let l=s!=null&&s.once?(...u)=>{e.current.delete(i),i(...u)}:i;e.current.set(i,{type:a,eventTarget:o,fn:l,options:s}),o.addEventListener(a,i,s)},[]),n=f.useCallback((o,a,i,s)=>{var l;let u=((l=e.current.get(i))===null||l===void 0?void 0:l.fn)||i;o.removeEventListener(a,u,s),e.current.delete(i)},[]),r=f.useCallback(()=>{e.current.forEach((o,a)=>{n(o.eventTarget,o.type,a,o.options)})},[n]);return f.useEffect(()=>r,[r]),{addGlobalListener:t,removeGlobalListener:n,removeAllGlobalListeners:r}}function $s(e,t){let{id:n,"aria-label":r,"aria-labelledby":o}=e;return n=gr(n),o&&r?o=[...new Set([n,...o.trim().split(/\s+/)])].join(" "):o&&(o=o.trim().split(/\s+/).join(" ")),!r&&!o&&t&&(r=t),{id:n,"aria-label":r,"aria-labelledby":o}}function ks(e,t){Jt(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref.current=null}})}function Bd(e,t){for(Wd(e,t)&&(e=e.parentElement);e&&!Wd(e,t);)e=e.parentElement;return e||document.scrollingElement||document.documentElement}function Wd(e,t){let n=window.getComputedStyle(e),r=/(auto|scroll)/.test(n.overflow+n.overflowX+n.overflowY);return r&&t&&(r=e.scrollHeight!==e.clientHeight||e.scrollWidth!==e.clientWidth),r}let a2=0;const Os=new Map;function i2(e){let[t,n]=f.useState(void 0);return Jt(()=>{if(!e)return;let r=Os.get(e);if(r)n(r.element.id);else{let o=`react-aria-description-${a2++}`;n(o);let a=document.createElement("div");a.id=o,a.style.display="none",a.textContent=e,document.body.appendChild(a),r={refCount:0,element:a},Os.set(e,r)}return r.refCount++,()=>{--r.refCount===0&&(r.element.remove(),Os.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}function s2(e,t,n,r){let o=Je(n),a=n==null;f.useEffect(()=>{if(a)return;let i=e.current;return i.addEventListener(t,o,r),()=>{i.removeEventListener(t,o,r)}},[e,t,r,a,o])}function _d(e,t){let n=Gd(e,t,"left"),r=Gd(e,t,"top"),o=t.offsetWidth,a=t.offsetHeight,i=e.scrollLeft,s=e.scrollTop,{borderTopWidth:l,borderLeftWidth:u}=getComputedStyle(e),c=e.scrollLeft+parseInt(u,10),d=e.scrollTop+parseInt(l,10),p=c+e.clientWidth,m=d+e.clientHeight;n<=i?i=n-parseInt(u,10):n+o>p&&(i+=n+o-p),r<=d?s=r-parseInt(l,10):r+a>m&&(s+=r+a-m),e.scrollLeft=i,e.scrollTop=s}function Gd(e,t,n){const r=n==="left"?"offsetLeft":"offsetTop";let o=0;for(;t.offsetParent&&(o+=t[r],t.offsetParent!==e);){if(t.offsetParent.contains(e)){o-=e[r];break}t=t.offsetParent}return o}function Rd(e,t){if(document.contains(e)){let i=document.scrollingElement||document.documentElement;if(window.getComputedStyle(i).overflow==="hidden"){let l=Bd(e);for(;e&&l&&e!==i&&l!==i;)_d(l,e),e=l,l=Bd(e)}else{var n;let{left:l,top:u}=e.getBoundingClientRect();e==null||(n=e.scrollIntoView)===null||n===void 0||n.call(e,{block:"nearest"});let{left:c,top:d}=e.getBoundingClientRect();if(Math.abs(l-c)>1||Math.abs(u-d)>1){var r,o,a;t==null||(o=t.containingElement)===null||o===void 0||(r=o.scrollIntoView)===null||r===void 0||r.call(o,{block:"center",inline:"center"}),(a=e.scrollIntoView)===null||a===void 0||a.call(e,{block:"nearest"})}}}}function so(e){return e.mozInputSource===0&&e.isTrusted?!0:Ld()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function zd(e){return!Ld()&&e.width===0&&e.height===0||e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"}function Fs(e,t,n){let r=f.useRef(t),o=Je(()=>{n&&n(r.current)});f.useEffect(()=>{var a;let i=e==null||(a=e.current)===null||a===void 0?void 0:a.form;return i==null||i.addEventListener("reset",o),()=>{i==null||i.removeEventListener("reset",o)}},[e,o])}const l2=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),u2=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function c2(e){if(Intl.Locale){let n=new Intl.Locale(e).maximize(),r=typeof n.getTextInfo=="function"?n.getTextInfo():n.textInfo;if(r)return r.direction==="rtl";if(n.script)return l2.has(n.script)}let t=e.split("-")[0];return u2.has(t)}const d2=Symbol.for("react-aria.i18n.locale");function Hd(){let e=typeof window<"u"&&window[d2]||typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:c2(e)?"rtl":"ltr"}}let Ls=Hd(),lo=new Set;function Xd(){Ls=Hd();for(let e of lo)e(Ls)}function f2(){let e=kd(),[t,n]=f.useState(Ls);return f.useEffect(()=>(lo.size===0&&window.addEventListener("languagechange",Xd),lo.add(n),()=>{lo.delete(n),lo.size===0&&window.removeEventListener("languagechange",Xd)}),[]),e?{locale:"en-US",direction:"ltr"}:t}const p2=f.createContext(null);function Vs(){let e=f2();return f.useContext(p2)||e}var _t=function(){return _t=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},_t.apply(this,arguments)};function Zd(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function m2(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,a;r<o;r++)(a||!(r in t))&&(a||(a=Array.prototype.slice.call(t,0,r)),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))}typeof SuppressedError=="function"&&SuppressedError;function h2(e,t){return t.get?t.get.call(e):t.value}function Yd(e,t,n){if(!t.has(e))throw new TypeError("attempted to "+n+" private field on non-instance");return t.get(e)}function g2(e,t){var n=Yd(e,t,"get");return h2(e,n)}function b2(e,t,n){if(t.set)t.set.call(e,n);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=n}}function Ud(e,t,n){var r=Yd(e,t,"set");return b2(e,r,n),n}let yr="default",js="",Aa=new WeakMap;function Kd(e){if(io()){if(yr==="default"){const t=Wt(e);js=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}yr="disabled"}else(e instanceof HTMLElement||e instanceof SVGElement)&&(Aa.set(e,e.style.userSelect),e.style.userSelect="none")}function Ta(e){if(io()){if(yr!=="disabled")return;yr="restoring",setTimeout(()=>{Ds(()=>{if(yr==="restoring"){const t=Wt(e);t.documentElement.style.webkitUserSelect==="none"&&(t.documentElement.style.webkitUserSelect=js||""),js="",yr="default"}})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&Aa.has(e)){let t=Aa.get(e);e.style.userSelect==="none"&&(e.style.userSelect=t),e.getAttribute("style")===""&&e.removeAttribute("style"),Aa.delete(e)}}const Jd=f.createContext({register:()=>{}});Jd.displayName="PressResponderContext";function v2(e){let t=f.useContext(Jd);if(t){let{register:n,...r}=t;e=he(r,e),n()}return ks(t,e.ref),e}var Da=new WeakMap;class Na{continuePropagation(){Ud(this,Da,!1)}get shouldStopPropagation(){return g2(this,Da)}constructor(t,n,r){Wv(this,Da,{writable:!0,value:void 0}),Ud(this,Da,!0),this.type=t,this.pointerType=n,this.target=r.currentTarget,this.shiftKey=r.shiftKey,this.metaKey=r.metaKey,this.ctrlKey=r.ctrlKey,this.altKey=r.altKey}}const Qd=Symbol("linkClicked");function Vn(e){let{onPress:t,onPressChange:n,onPressStart:r,onPressEnd:o,onPressUp:a,isDisabled:i,isPressed:s,preventFocusOnPress:l,shouldCancelOnPointerExit:u,allowTextSelectionOnPress:c,ref:d,...p}=v2(e),[m,h]=f.useState(!1),g=f.useRef({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:b,removeAllGlobalListeners:x}=Ns(),y=Je((v,D)=>{let $=g.current;if(i||$.didFirePressStart)return!1;let M=!0;if($.isTriggeringEvent=!0,r){let k=new Na("pressstart",D,v);r(k),M=k.shouldStopPropagation}return n&&n(!0),$.isTriggeringEvent=!1,$.didFirePressStart=!0,h(!0),M}),w=Je((v,D,$=!0)=>{let M=g.current;if(!M.didFirePressStart)return!1;M.ignoreClickAfterPress=!0,M.didFirePressStart=!1,M.isTriggeringEvent=!0;let k=!0;if(o){let I=new Na("pressend",D,v);o(I),k=I.shouldStopPropagation}if(n&&n(!1),h(!1),t&&$&&!i){let I=new Na("press",D,v);t(I),k&&(k=I.shouldStopPropagation)}return M.isTriggeringEvent=!1,k}),S=Je((v,D)=>{let $=g.current;if(i)return!1;if(a){$.isTriggeringEvent=!0;let M=new Na("pressup",D,v);return a(M),$.isTriggeringEvent=!1,M.shouldStopPropagation}return!0}),P=Je(v=>{let D=g.current;D.isPressed&&D.target&&(D.isOverTarget&&D.pointerType!=null&&w(qt(D.target,v),D.pointerType,!1),D.isPressed=!1,D.isOverTarget=!1,D.activePointerId=null,D.pointerType=null,x(),c||Ta(D.target))}),A=Je(v=>{u&&P(v)}),T=f.useMemo(()=>{let v=g.current,D={onKeyDown(M){if(Ws(M.nativeEvent,M.currentTarget)&&M.currentTarget.contains(M.target)){var k;ef(M.target,M.key)&&M.preventDefault();let I=!0;!v.isPressed&&!M.repeat&&(v.target=M.currentTarget,v.isPressed=!0,I=y(M,"keyboard"),b(Wt(M.currentTarget),"keyup",$,!1)),I&&M.stopPropagation(),M.metaKey&&yn()&&((k=v.metaKeyEvents)===null||k===void 0||k.set(M.key,M.nativeEvent))}else M.key==="Meta"&&(v.metaKeyEvents=new Map)},onKeyUp(M){Ws(M.nativeEvent,M.currentTarget)&&!M.repeat&&M.currentTarget.contains(M.target)&&v.target&&S(qt(v.target,M),"keyboard")},onClick(M){if(!(M&&!M.currentTarget.contains(M.target))&&M&&M.button===0&&!v.isTriggeringEvent&&!Qt.isOpening){let k=!0;if(i&&M.preventDefault(),!v.ignoreClickAfterPress&&!v.ignoreEmulatedMouseEvents&&!v.isPressed&&(v.pointerType==="virtual"||so(M.nativeEvent))){!i&&!l&&ht(M.currentTarget);let I=y(M,"virtual"),E=S(M,"virtual"),O=w(M,"virtual");k=I&&E&&O}v.ignoreEmulatedMouseEvents=!1,v.ignoreClickAfterPress=!1,k&&M.stopPropagation()}}},$=M=>{var k;if(v.isPressed&&v.target&&Ws(M,v.target)){var I;ef(M.target,M.key)&&M.preventDefault();let O=M.target,j=w(qt(v.target,M),"keyboard",v.target.contains(O));x(),j&&M.stopPropagation(),M.key!=="Enter"&&Bs(v.target)&&v.target.contains(O)&&!M[Qd]&&(M[Qd]=!0,Qt(v.target,M,!1)),v.isPressed=!1,(I=v.metaKeyEvents)===null||I===void 0||I.delete(M.key)}else if(M.key==="Meta"&&(!((k=v.metaKeyEvents)===null||k===void 0)&&k.size)){var E;let O=v.metaKeyEvents;v.metaKeyEvents=void 0;for(let j of O.values())(E=v.target)===null||E===void 0||E.dispatchEvent(new KeyboardEvent("keyup",j))}};if(typeof PointerEvent<"u"){D.onPointerDown=E=>{if(E.button!==0||!E.currentTarget.contains(E.target))return;if(zd(E.nativeEvent)){v.pointerType="virtual";return}_s(E.currentTarget)&&E.preventDefault(),v.pointerType=E.pointerType;let O=!0;v.isPressed||(v.isPressed=!0,v.isOverTarget=!0,v.activePointerId=E.pointerId,v.target=E.currentTarget,!i&&!l&&ht(E.currentTarget),c||Kd(v.target),O=y(E,v.pointerType),b(Wt(E.currentTarget),"pointermove",M,!1),b(Wt(E.currentTarget),"pointerup",k,!1),b(Wt(E.currentTarget),"pointercancel",I,!1)),O&&E.stopPropagation()},D.onMouseDown=E=>{E.currentTarget.contains(E.target)&&E.button===0&&(_s(E.currentTarget)&&E.preventDefault(),E.stopPropagation())},D.onPointerUp=E=>{!E.currentTarget.contains(E.target)||v.pointerType==="virtual"||E.button===0&&xr(E,E.currentTarget)&&S(E,v.pointerType||E.pointerType)};let M=E=>{E.pointerId===v.activePointerId&&(v.target&&xr(E,v.target)?!v.isOverTarget&&v.pointerType!=null&&(v.isOverTarget=!0,y(qt(v.target,E),v.pointerType)):v.target&&v.isOverTarget&&v.pointerType!=null&&(v.isOverTarget=!1,w(qt(v.target,E),v.pointerType,!1),A(E)))},k=E=>{E.pointerId===v.activePointerId&&v.isPressed&&E.button===0&&v.target&&(xr(E,v.target)&&v.pointerType!=null?w(qt(v.target,E),v.pointerType):v.isOverTarget&&v.pointerType!=null&&w(qt(v.target,E),v.pointerType,!1),v.isPressed=!1,v.isOverTarget=!1,v.activePointerId=null,v.pointerType=null,x(),c||Ta(v.target))},I=E=>{P(E)};D.onDragStart=E=>{E.currentTarget.contains(E.target)&&P(E)}}else{D.onMouseDown=I=>{if(I.button!==0||!I.currentTarget.contains(I.target))return;if(_s(I.currentTarget)&&I.preventDefault(),v.ignoreEmulatedMouseEvents){I.stopPropagation();return}v.isPressed=!0,v.isOverTarget=!0,v.target=I.currentTarget,v.pointerType=so(I.nativeEvent)?"virtual":"mouse",!i&&!l&&ht(I.currentTarget),y(I,v.pointerType)&&I.stopPropagation(),b(Wt(I.currentTarget),"mouseup",M,!1)},D.onMouseEnter=I=>{if(!I.currentTarget.contains(I.target))return;let E=!0;v.isPressed&&!v.ignoreEmulatedMouseEvents&&v.pointerType!=null&&(v.isOverTarget=!0,E=y(I,v.pointerType)),E&&I.stopPropagation()},D.onMouseLeave=I=>{if(!I.currentTarget.contains(I.target))return;let E=!0;v.isPressed&&!v.ignoreEmulatedMouseEvents&&v.pointerType!=null&&(v.isOverTarget=!1,E=w(I,v.pointerType,!1),A(I)),E&&I.stopPropagation()},D.onMouseUp=I=>{I.currentTarget.contains(I.target)&&!v.ignoreEmulatedMouseEvents&&I.button===0&&S(I,v.pointerType||"mouse")};let M=I=>{if(I.button===0){if(v.isPressed=!1,x(),v.ignoreEmulatedMouseEvents){v.ignoreEmulatedMouseEvents=!1;return}v.target&&xr(I,v.target)&&v.pointerType!=null?w(qt(v.target,I),v.pointerType):v.target&&v.isOverTarget&&v.pointerType!=null&&w(qt(v.target,I),v.pointerType,!1),v.isOverTarget=!1}};D.onTouchStart=I=>{if(!I.currentTarget.contains(I.target))return;let E=y2(I.nativeEvent);if(!E)return;v.activePointerId=E.identifier,v.ignoreEmulatedMouseEvents=!0,v.isOverTarget=!0,v.isPressed=!0,v.target=I.currentTarget,v.pointerType="touch",!i&&!l&&ht(I.currentTarget),c||Kd(v.target),y(I,v.pointerType)&&I.stopPropagation(),b(ao(I.currentTarget),"scroll",k,!0)},D.onTouchMove=I=>{if(!I.currentTarget.contains(I.target))return;if(!v.isPressed){I.stopPropagation();return}let E=qd(I.nativeEvent,v.activePointerId),O=!0;E&&xr(E,I.currentTarget)?!v.isOverTarget&&v.pointerType!=null&&(v.isOverTarget=!0,O=y(I,v.pointerType)):v.isOverTarget&&v.pointerType!=null&&(v.isOverTarget=!1,O=w(I,v.pointerType,!1),A(I)),O&&I.stopPropagation()},D.onTouchEnd=I=>{if(!I.currentTarget.contains(I.target))return;if(!v.isPressed){I.stopPropagation();return}let E=qd(I.nativeEvent,v.activePointerId),O=!0;E&&xr(E,I.currentTarget)&&v.pointerType!=null?(S(I,v.pointerType),O=w(I,v.pointerType)):v.isOverTarget&&v.pointerType!=null&&(O=w(I,v.pointerType,!1)),O&&I.stopPropagation(),v.isPressed=!1,v.activePointerId=null,v.isOverTarget=!1,v.ignoreEmulatedMouseEvents=!0,v.target&&!c&&Ta(v.target),x()},D.onTouchCancel=I=>{I.currentTarget.contains(I.target)&&(I.stopPropagation(),v.isPressed&&P(I))};let k=I=>{v.isPressed&&I.target.contains(v.target)&&P({currentTarget:v.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};D.onDragStart=I=>{I.currentTarget.contains(I.target)&&P(I)}}return D},[b,i,l,x,c,P,A,w,y,S]);return f.useEffect(()=>()=>{var v;c||Ta((v=g.current.target)!==null&&v!==void 0?v:void 0)},[c]),{isPressed:s||m,pressProps:he(p,T)}}function Bs(e){return e.tagName==="A"&&e.hasAttribute("href")}function Ws(e,t){const{key:n,code:r}=e,o=t,a=o.getAttribute("role");return(n==="Enter"||n===" "||n==="Spacebar"||r==="Space")&&!(o instanceof ao(o).HTMLInputElement&&!tf(o,n)||o instanceof ao(o).HTMLTextAreaElement||o.isContentEditable)&&!((a==="link"||!a&&Bs(o))&&n!=="Enter")}function y2(e){const{targetTouches:t}=e;return t.length>0?t[0]:null}function qd(e,t){const n=e.changedTouches;for(let r=0;r<n.length;r++){const o=n[r];if(o.identifier===t)return o}return null}function qt(e,t){return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey}}function x2(e){let t=0,n=0;return e.width!==void 0?t=e.width/2:e.radiusX!==void 0&&(t=e.radiusX),e.height!==void 0?n=e.height/2:e.radiusY!==void 0&&(n=e.radiusY),{top:e.clientY-n,right:e.clientX+t,bottom:e.clientY+n,left:e.clientX-t}}function C2(e,t){return!(e.left>t.right||t.left>e.right||e.top>t.bottom||t.top>e.bottom)}function xr(e,t){let n=t.getBoundingClientRect(),r=x2(e);return C2(n,r)}function _s(e){return!(e instanceof HTMLElement)||!e.hasAttribute("draggable")}function ef(e,t){return e instanceof HTMLInputElement?!tf(e,t):e instanceof HTMLButtonElement?e.type!=="submit"&&e.type!=="reset":!Bs(e)}const w2=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function tf(e,t){return e.type==="checkbox"||e.type==="radio"?t===" ":w2.has(e.type)}class I2{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(t,n){this.nativeEvent=n,this.target=n.target,this.currentTarget=n.currentTarget,this.relatedTarget=n.relatedTarget,this.bubbles=n.bubbles,this.cancelable=n.cancelable,this.defaultPrevented=n.defaultPrevented,this.eventPhase=n.eventPhase,this.isTrusted=n.isTrusted,this.timeStamp=n.timeStamp,this.type=t}}function nf(e){let t=f.useRef({isFocused:!1,observer:null});Jt(()=>{const r=t.current;return()=>{r.observer&&(r.observer.disconnect(),r.observer=null)}},[]);let n=Je(r=>{e==null||e(r)});return f.useCallback(r=>{if(r.target instanceof HTMLButtonElement||r.target instanceof HTMLInputElement||r.target instanceof HTMLTextAreaElement||r.target instanceof HTMLSelectElement){t.current.isFocused=!0;let o=r.target,a=i=>{t.current.isFocused=!1,o.disabled&&n(new I2("blur",i)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};o.addEventListener("focusout",a,{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&o.disabled){var i;(i=t.current.observer)===null||i===void 0||i.disconnect();let s=o===document.activeElement?null:document.activeElement;o.dispatchEvent(new FocusEvent("blur",{relatedTarget:s})),o.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:s}))}}),t.current.observer.observe(o,{attributes:!0,attributeFilter:["disabled"]})}},[n])}function rf(e){let{isDisabled:t,onFocus:n,onBlur:r,onFocusChange:o}=e;const a=f.useCallback(l=>{if(l.target===l.currentTarget)return r&&r(l),o&&o(!1),!0},[r,o]),i=nf(a),s=f.useCallback(l=>{l.target===l.currentTarget&&document.activeElement===l.target&&(n&&n(l),o&&o(!0),i(l))},[o,n,i]);return{focusProps:{onFocus:!t&&(n||o||r)?s:void 0,onBlur:!t&&(r||o)?a:void 0}}}let jn=null,Gs=new Set,of=!1,Bn=!1,Rs=!1;const E2={Tab:!0,Escape:!0};function $a(e,t){for(let n of Gs)n(e,t)}function P2(e){return!(e.metaKey||!yn()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function af(e){Bn=!0,P2(e)&&(jn="keyboard",$a("keyboard",e))}function Cr(e){jn="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(Bn=!0,$a("pointer",e))}function S2(e){so(e)&&(Bn=!0,jn="virtual")}function M2(e){e.target===window||e.target===document||(!Bn&&!Rs&&(jn="virtual",$a("virtual",e)),Bn=!1,Rs=!1)}function A2(){Bn=!1,Rs=!0}function zs(){if(typeof window>"u"||of)return;let e=HTMLElement.prototype.focus;HTMLElement.prototype.focus=function(){Bn=!0,e.apply(this,arguments)},document.addEventListener("keydown",af,!0),document.addEventListener("keyup",af,!0),document.addEventListener("click",S2,!0),window.addEventListener("focus",M2,!0),window.addEventListener("blur",A2,!1),typeof PointerEvent<"u"?(document.addEventListener("pointerdown",Cr,!0),document.addEventListener("pointermove",Cr,!0),document.addEventListener("pointerup",Cr,!0)):(document.addEventListener("mousedown",Cr,!0),document.addEventListener("mousemove",Cr,!0),document.addEventListener("mouseup",Cr,!0)),of=!0}typeof document<"u"&&(document.readyState!=="loading"?zs():document.addEventListener("DOMContentLoaded",zs));function sf(){return jn!=="pointer"}function Hs(){return jn}function T2(e){jn=e,$a(e,null)}const D2=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function N2(e,t,n){var r;return e=e||(n==null?void 0:n.target)instanceof HTMLInputElement&&!D2.has(n==null||(r=n.target)===null||r===void 0?void 0:r.type)||(n==null?void 0:n.target)instanceof HTMLTextAreaElement||(n==null?void 0:n.target)instanceof HTMLElement&&(n==null?void 0:n.target.isContentEditable),!(e&&t==="keyboard"&&n instanceof KeyboardEvent&&!E2[n.key])}function $2(e,t,n){zs(),f.useEffect(()=>{let r=(o,a)=>{N2(!!(n!=null&&n.isTextInput),o,a)&&e(sf())};return Gs.add(r),()=>{Gs.delete(r)}},t)}function ka(e){let{isDisabled:t,onBlurWithin:n,onFocusWithin:r,onFocusWithinChange:o}=e,a=f.useRef({isFocusWithin:!1}),i=f.useCallback(u=>{a.current.isFocusWithin&&!u.currentTarget.contains(u.relatedTarget)&&(a.current.isFocusWithin=!1,n&&n(u),o&&o(!1))},[n,o,a]),s=nf(i),l=f.useCallback(u=>{!a.current.isFocusWithin&&document.activeElement===u.target&&(r&&r(u),o&&o(!0),a.current.isFocusWithin=!0,s(u))},[r,o,s]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:l,onBlur:i}}}let Oa=!1,Xs=0;function Zs(){Oa=!0,setTimeout(()=>{Oa=!1},50)}function lf(e){e.pointerType==="touch"&&Zs()}function k2(){if(!(typeof document>"u"))return typeof PointerEvent<"u"?document.addEventListener("pointerup",lf):document.addEventListener("touchend",Zs),Xs++,()=>{Xs--,!(Xs>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",lf):document.removeEventListener("touchend",Zs))}}function Wn(e){let{onHoverStart:t,onHoverChange:n,onHoverEnd:r,isDisabled:o}=e,[a,i]=f.useState(!1),s=f.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;f.useEffect(k2,[]);let{hoverProps:l,triggerHoverEnd:u}=f.useMemo(()=>{let c=(m,h)=>{if(s.pointerType=h,o||h==="touch"||s.isHovered||!m.currentTarget.contains(m.target))return;s.isHovered=!0;let g=m.currentTarget;s.target=g,t&&t({type:"hoverstart",target:g,pointerType:h}),n&&n(!0),i(!0)},d=(m,h)=>{if(s.pointerType="",s.target=null,h==="touch"||!s.isHovered)return;s.isHovered=!1;let g=m.currentTarget;r&&r({type:"hoverend",target:g,pointerType:h}),n&&n(!1),i(!1)},p={};return typeof PointerEvent<"u"?(p.onPointerEnter=m=>{Oa&&m.pointerType==="mouse"||c(m,m.pointerType)},p.onPointerLeave=m=>{!o&&m.currentTarget.contains(m.target)&&d(m,m.pointerType)}):(p.onTouchStart=()=>{s.ignoreEmulatedMouseEvents=!0},p.onMouseEnter=m=>{!s.ignoreEmulatedMouseEvents&&!Oa&&c(m,"mouse"),s.ignoreEmulatedMouseEvents=!1},p.onMouseLeave=m=>{!o&&m.currentTarget.contains(m.target)&&d(m,"mouse")}),{hoverProps:p,triggerHoverEnd:d}},[t,n,r,o,s]);return f.useEffect(()=>{o&&u({currentTarget:s.target},s.pointerType)},[o]),{hoverProps:l,isHovered:a}}function uf(e){if(!e)return;let t=!0;return n=>{let r={...n,preventDefault(){n.preventDefault()},isDefaultPrevented(){return n.isDefaultPrevented()},stopPropagation(){console.error("stopPropagation is now the default behavior for events in React Spectrum. You can use continuePropagation() to revert this behavior.")},continuePropagation(){t=!1}};e(r),t&&n.stopPropagation()}}function O2(e){return{keyboardProps:e.isDisabled?{}:{onKeyDown:uf(e.onKeyDown),onKeyUp:uf(e.onKeyUp)}}}const F2=500;function L2(e){let{isDisabled:t,onLongPressStart:n,onLongPressEnd:r,onLongPress:o,threshold:a=F2,accessibilityDescription:i}=e;const s=f.useRef();let{addGlobalListener:l,removeGlobalListener:u}=Ns(),{pressProps:c}=Vn({isDisabled:t,onPressStart(p){if(p.continuePropagation(),(p.pointerType==="mouse"||p.pointerType==="touch")&&(n&&n({...p,type:"longpressstart"}),s.current=setTimeout(()=>{p.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),o&&o({...p,type:"longpress"}),s.current=void 0},a),p.pointerType==="touch")){let m=h=>{h.preventDefault()};l(p.target,"contextmenu",m,{once:!0}),l(window,"pointerup",()=>{setTimeout(()=>{u(p.target,"contextmenu",m)},30)},{once:!0})}},onPressEnd(p){s.current&&clearTimeout(s.current),r&&(p.pointerType==="mouse"||p.pointerType==="touch")&&r({...p,type:"longpressend"})}}),d=i2(o&&!t?i:void 0);return{longPressProps:he(c,d)}}function Fa(e){const t=Wt(e);if(Hs()==="virtual"){let n=t.activeElement;Ds(()=>{t.activeElement===n&&e.isConnected&&ht(e)})}else ht(e)}function V2(e){const t=ao(e);if(!(e instanceof t.HTMLElement)&&!(e instanceof t.SVGElement))return!1;let{display:n,visibility:r}=e.style,o=n!=="none"&&r!=="hidden"&&r!=="collapse";if(o){const{getComputedStyle:a}=e.ownerDocument.defaultView;let{display:i,visibility:s}=a(e);o=i!=="none"&&s!=="hidden"&&s!=="collapse"}return o}function j2(e,t){return!e.hasAttribute("hidden")&&(e.nodeName==="DETAILS"&&t&&t.nodeName!=="SUMMARY"?e.hasAttribute("open"):!0)}function cf(e,t){return e.nodeName!=="#comment"&&V2(e)&&j2(e,t)&&(!e.parentElement||cf(e.parentElement,e))}const Ys=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[contenteditable]"],B2=Ys.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";Ys.push('[tabindex]:not([tabindex="-1"]):not([disabled])');const W2=Ys.join(':not([hidden]):not([tabindex="-1"]),');function df(e,t){return!e||!t?!1:t.some(n=>n.contains(e))}function Us(e,t,n){let r=t!=null&&t.tabbable?W2:B2,o=Wt(e).createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode(a){var i;return!(t==null||(i=t.from)===null||i===void 0)&&i.contains(a)?NodeFilter.FILTER_REJECT:a.matches(r)&&cf(a)&&(!n||df(a,n))&&(!(t!=null&&t.accept)||t.accept(a))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return t!=null&&t.from&&(o.currentNode=t.from),o}class Ks{get size(){return this.fastMap.size}getTreeNode(t){return this.fastMap.get(t)}addTreeNode(t,n,r){let o=this.fastMap.get(n??null);if(!o)return;let a=new ff({scopeRef:t});o.addChild(a),a.parent=o,this.fastMap.set(t,a),r&&(a.nodeToRestore=r)}addNode(t){this.fastMap.set(t.scopeRef,t)}removeTreeNode(t){if(t===null)return;let n=this.fastMap.get(t);if(!n)return;let r=n.parent;for(let a of this.traverse())a!==n&&n.nodeToRestore&&a.nodeToRestore&&n.scopeRef&&n.scopeRef.current&&df(a.nodeToRestore,n.scopeRef.current)&&(a.nodeToRestore=n.nodeToRestore);let o=n.children;r&&(r.removeChild(n),o.size>0&&o.forEach(a=>r&&r.addChild(a))),this.fastMap.delete(n.scopeRef)}*traverse(t=this.root){if(t.scopeRef!=null&&(yield t),t.children.size>0)for(let n of t.children)yield*this.traverse(n)}clone(){var t;let n=new Ks;var r;for(let o of this.traverse())n.addTreeNode(o.scopeRef,(r=(t=o.parent)===null||t===void 0?void 0:t.scopeRef)!==null&&r!==void 0?r:null,o.nodeToRestore);return n}constructor(){this.fastMap=new Map,this.root=new ff({scopeRef:null}),this.fastMap.set(null,this.root)}}class ff{addChild(t){this.children.add(t),t.parent=this}removeChild(t){this.children.delete(t),t.parent=void 0}constructor(t){this.children=new Set,this.contain=!1,this.scopeRef=t.scopeRef}}new Ks;function Gt(e={}){let{autoFocus:t=!1,isTextInput:n,within:r}=e,o=f.useRef({isFocused:!1,isFocusVisible:t||sf()}),[a,i]=f.useState(!1),[s,l]=f.useState(()=>o.current.isFocused&&o.current.isFocusVisible),u=f.useCallback(()=>l(o.current.isFocused&&o.current.isFocusVisible),[]),c=f.useCallback(m=>{o.current.isFocused=m,i(m),u()},[u]);$2(m=>{o.current.isFocusVisible=m,u()},[],{isTextInput:n});let{focusProps:d}=rf({isDisabled:r,onFocusChange:c}),{focusWithinProps:p}=ka({isDisabled:!r,onFocusWithinChange:c});return{isFocused:a,isFocusVisible:s,focusProps:r?p:d}}let _2=f.createContext(null);function G2(e){let t=f.useContext(_2)||{};ks(t,e);let{ref:n,...r}=t;return r}function La(e,t){let{focusProps:n}=rf(e),{keyboardProps:r}=O2(e),o=he(n,r),a=G2(t),i=e.isDisabled?{}:a,s=f.useRef(e.autoFocus);return f.useEffect(()=>{s.current&&t.current&&Fa(t.current),s.current=!1},[t]),{focusableProps:he({...o,tabIndex:e.excludeFromTabOrder&&!e.isDisabled?-1:void 0},i)}}function R2(e,t){let n=t==null?void 0:t.isDisabled,[r,o]=f.useState(!1);return Jt(()=>{if(e!=null&&e.current&&!n){let a=()=>{if(e.current){let s=Us(e.current,{tabbable:!0});o(!!s.nextNode())}};a();let i=new MutationObserver(a);return i.observe(e.current,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["tabIndex","disabled"]}),()=>{i.disconnect()}}}),n?!1:r}const pf={border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"};function z2(e={}){let{style:t,isFocusable:n}=e,[r,o]=f.useState(!1),{focusWithinProps:a}=ka({isDisabled:!n,onFocusWithinChange:s=>o(s)}),i=f.useMemo(()=>r?t:t?{...pf,...t}:pf,[r]);return{visuallyHiddenProps:{...a,style:i}}}function Js(e){let{children:t,elementType:n="div",isFocusable:r,style:o,...a}=e,{visuallyHiddenProps:i}=z2(e);return f.createElement(n,he(a,i),t)}function $t(e){return f.forwardRef(e)}var uo=(e,t,n=!0)=>{if(!t)return[e,{}];const r=t.reduce((o,a)=>a in e?{...o,[a]:e[a]}:o,{});return n?[Object.keys(e).filter(a=>!t.includes(a)).reduce((a,i)=>({...a,[i]:e[i]}),{}),r]:[e,r]},H2=["0","xs","sm","md","lg","xl","2xl","3xl","4xl","5xl","6xl","7xl","8xl","9xl","1","2","3","3.5","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","20","24","28","32","36","40","44","48","52","56","60","64","72","80","96"],Qs=H2.map(e=>`unit-${e}`),Va=["small","medium","large"],gt=(e,t)=>{var n,r,o;return ye(e,{...t,twMerge:(n=t==null?void 0:t.twMerge)!=null?n:!0,twMergeConfig:{...t==null?void 0:t.twMergeConfig,theme:{...(r=t==null?void 0:t.twMergeConfig)==null?void 0:r.theme,opacity:["disabled"],spacing:["divider","unit",...Qs],borderWidth:Va,borderRadius:Va},classGroups:{...(o=t==null?void 0:t.twMergeConfig)==null?void 0:o.classGroups,shadow:[{shadow:Va}],"font-size":[{text:["tiny",...Va]}],"bg-image":["bg-stripe-gradient"],"min-w":[{"min-w":["unit",...Qs]}],"min-h":[{"min-h":["unit",...Qs]}]}}})},co=["outline-none","data-[focus-visible=true]:z-10","data-[focus-visible=true]:outline-2","data-[focus-visible=true]:outline-focus","data-[focus-visible=true]:outline-offset-2"],ja=["outline-none","group-data-[focus-visible=true]:z-10","group-data-[focus-visible=true]:ring-2","group-data-[focus-visible=true]:ring-focus","group-data-[focus-visible=true]:ring-offset-2","group-data-[focus-visible=true]:ring-offset-background"],X2=["outline-none","ring-2","ring-focus","ring-offset-2","ring-offset-background"],qs=["absolute","top-1/2","left-1/2","-translate-x-1/2","-translate-y-1/2"],wr={default:["[&+.border-medium.border-default]:ms-[calc(theme(borderWidth.medium)*-1)]"],primary:["[&+.border-medium.border-primary]:ms-[calc(theme(borderWidth.medium)*-1)]"],secondary:["[&+.border-medium.border-secondary]:ms-[calc(theme(borderWidth.medium)*-1)]"],success:["[&+.border-medium.border-success]:ms-[calc(theme(borderWidth.medium)*-1)]"],warning:["[&+.border-medium.border-warning]:ms-[calc(theme(borderWidth.medium)*-1)]"],danger:["[&+.border-medium.border-danger]:ms-[calc(theme(borderWidth.medium)*-1)]"]},Z2={default:"bg-default text-default-foreground",primary:"bg-primary text-primary-foreground",secondary:"bg-secondary text-secondary-foreground",success:"bg-success text-success-foreground",warning:"bg-warning text-warning-foreground",danger:"bg-danger text-danger-foreground",foreground:"bg-foreground text-background"},Y2={default:"shadow-lg shadow-default/50 bg-default text-default-foreground",primary:"shadow-lg shadow-primary/40 bg-primary text-primary-foreground",secondary:"shadow-lg shadow-secondary/40 bg-secondary text-secondary-foreground",success:"shadow-lg shadow-success/40 bg-success text-success-foreground",warning:"shadow-lg shadow-warning/40 bg-warning text-warning-foreground",danger:"shadow-lg shadow-danger/40 bg-danger text-danger-foreground",foreground:"shadow-lg shadow-foreground/40 bg-foreground text-background"},U2={default:"bg-transparent border-default text-foreground",primary:"bg-transparent border-primary text-primary",secondary:"bg-transparent border-secondary text-secondary",success:"bg-transparent border-success text-success",warning:"bg-transparent border-warning text-warning",danger:"bg-transparent border-danger text-danger",foreground:"bg-transparent border-foreground text-foreground"},K2={default:"bg-default/40 text-default-foreground",primary:"bg-primary/20 text-primary",secondary:"bg-secondary/20 text-secondary",success:"bg-success/20 text-success-600 dark:text-success",warning:"bg-warning/20 text-warning-600 dark:text-warning",danger:"bg-danger/20 text-danger dark:text-danger-500",foreground:"bg-foreground/10 text-foreground"},J2={default:"border-default bg-default-100 text-default-foreground",primary:"border-default bg-default-100 text-primary",secondary:"border-default bg-default-100 text-secondary",success:"border-default bg-default-100 text-success",warning:"border-default bg-default-100 text-warning",danger:"border-default bg-default-100 text-danger",foreground:"border-default bg-default-100 text-foreground"},Q2={default:"bg-transparent text-default-foreground",primary:"bg-transparent text-primary",secondary:"bg-transparent text-secondary",success:"bg-transparent text-success",warning:"bg-transparent text-warning",danger:"bg-transparent text-danger",foreground:"bg-transparent text-foreground"},q2={default:"border-default text-default-foreground hover:!bg-default",primary:"border-primary text-primary hover:!text-primary-foreground hover:!bg-primary",secondary:"border-secondary text-secondary hover:text-secondary-foreground hover:!bg-secondary",success:"border-success text-success hover:!text-success-foreground hover:!bg-success",warning:"border-warning text-warning hover:!text-warning-foreground hover:!bg-warning",danger:"border-danger text-danger hover:!text-danger-foreground hover:!bg-danger",foreground:"border-foreground text-foreground hover:!bg-foreground"},J={solid:Z2,shadow:Y2,bordered:U2,flat:K2,faded:J2,light:Q2,ghost:q2},mf=gt({slots:{base:"relative inline-flex flex-col gap-2 items-center justify-center",wrapper:"relative flex",circle1:["absolute","w-full","h-full","rounded-full","animate-spinner-ease-spin","border-2","border-solid","border-t-transparent","border-l-transparent","border-r-transparent"],circle2:["absolute","w-full","h-full","rounded-full","opacity-75","animate-spinner-linear-spin","border-2","border-dotted","border-t-transparent","border-l-transparent","border-r-transparent"],label:"text-foreground dark:text-foreground-dark font-regular"},variants:{size:{sm:{wrapper:"w-5 h-5",circle1:"border-2",circle2:"border-2",label:"text-small"},md:{wrapper:"w-8 h-8",circle1:"border-3",circle2:"border-3",label:"text-medium"},lg:{wrapper:"w-10 h-10",circle1:"border-3",circle2:"border-3",label:"text-large"}},color:{current:{circle1:"border-b-current",circle2:"border-b-current"},white:{circle1:"border-b-white",circle2:"border-b-white"},default:{circle1:"border-b-default",circle2:"border-b-default"},primary:{circle1:"border-b-primary",circle2:"border-b-primary"},secondary:{circle1:"border-b-secondary",circle2:"border-b-secondary"},success:{circle1:"border-b-success",circle2:"border-b-success"},warning:{circle1:"border-b-warning",circle2:"border-b-warning"},danger:{circle1:"border-b-danger",circle2:"border-b-danger"}},labelColor:{foreground:{label:"text-foreground"},primary:{label:"text-primary"},secondary:{label:"text-secondary"},success:{label:"text-success"},warning:{label:"text-warning"},danger:{label:"text-danger"}}},defaultVariants:{size:"md",color:"primary",labelColor:"foreground"}}),hf=gt({slots:{base:"inline-flex",tabList:["flex","p-1","h-fit","gap-2","items-center","flex-nowrap","overflow-x-scroll","scrollbar-hide","bg-default-100"],tab:["z-0","w-full","px-3","py-1","flex","group","relative","justify-center","items-center","outline-none","cursor-pointer","transition-opacity","tap-highlight-transparent","data-[disabled=true]:cursor-not-allowed","data-[disabled=true]:opacity-30","data-[hover-unselected=true]:opacity-disabled",...co],tabContent:["relative","z-10","text-inherit","whitespace-nowrap","transition-colors","text-default-500","group-data-[selected=true]:text-foreground"],cursor:["absolute","z-0","bg-white"],panel:["py-3","px-1","outline-none",...co]},variants:{variant:{solid:{cursor:"inset-0"},light:{tabList:"bg-transparent dark:bg-transparent",cursor:"inset-0"},underlined:{tabList:"bg-transparent dark:bg-transparent",cursor:"h-[2px] w-[80%] bottom-0 shadow-[0_1px_0px_0_rgba(0,0,0,0.05)]"},bordered:{tabList:"bg-transparent dark:bg-transparent border-medium border-default-200 shadow-sm",cursor:"inset-0"}},color:{default:{},primary:{},secondary:{},success:{},warning:{},danger:{}},size:{sm:{tabList:"rounded-medium",tab:"h-7 text-tiny rounded-small",cursor:"rounded-small"},md:{tabList:"rounded-medium",tab:"h-8 text-small rounded-small",cursor:"rounded-small"},lg:{tabList:"rounded-large",tab:"h-9 text-medium rounded-medium",cursor:"rounded-medium"}},radius:{none:{tabList:"rounded-none",tab:"rounded-none",cursor:"rounded-none"},sm:{tabList:"rounded-medium",tab:"rounded-small",cursor:"rounded-small"},md:{tabList:"rounded-medium",tab:"rounded-small",cursor:"rounded-small"},lg:{tabList:"rounded-large",tab:"rounded-medium",cursor:"rounded-medium"},full:{tabList:"rounded-full",tab:"rounded-full",cursor:"rounded-full"}},fullWidth:{true:{base:"w-full",tabList:"w-full"}},isDisabled:{true:{tabList:"opacity-disabled pointer-events-none"}},disableAnimation:{true:{tab:"transition-none",tabContent:"transition-none"}}},defaultVariants:{color:"default",variant:"solid",size:"md",fullWidth:!1,isDisabled:!1,disableAnimation:!1},compoundVariants:[{variant:["solid","bordered","light"],color:"default",class:{cursor:["bg-background","dark:bg-default","shadow-small"],tabContent:"group-data-[selected=true]:text-default-foreground"}},{variant:["solid","bordered","light"],color:"primary",class:{cursor:J.solid.primary,tabContent:"group-data-[selected=true]:text-primary-foreground"}},{variant:["solid","bordered","light"],color:"secondary",class:{cursor:J.solid.secondary,tabContent:"group-data-[selected=true]:text-secondary-foreground"}},{variant:["solid","bordered","light"],color:"success",class:{cursor:J.solid.success,tabContent:"group-data-[selected=true]:text-success-foreground"}},{variant:["solid","bordered","light"],color:"warning",class:{cursor:J.solid.warning,tabContent:"group-data-[selected=true]:text-warning-foreground"}},{variant:["solid","bordered","light"],color:"danger",class:{cursor:J.solid.danger,tabContent:"group-data-[selected=true]:text-danger-foreground"}},{variant:"underlined",color:"default",class:{cursor:"bg-foreground",tabContent:"group-data-[selected=true]:text-foreground"}},{variant:"underlined",color:"primary",class:{cursor:"bg-primary",tabContent:"group-data-[selected=true]:text-primary"}},{variant:"underlined",color:"secondary",class:{cursor:"bg-secondary",tabContent:"group-data-[selected=true]:text-secondary"}},{variant:"underlined",color:"success",class:{cursor:"bg-success",tabContent:"group-data-[selected=true]:text-success"}},{variant:"underlined",color:"warning",class:{cursor:"bg-warning",tabContent:"group-data-[selected=true]:text-warning"}},{variant:"underlined",color:"danger",class:{cursor:"bg-danger",tabContent:"group-data-[selected=true]:text-danger"}},{disableAnimation:!0,variant:"underlined",class:{tab:["after:content-['']","after:absolute","after:bottom-0","after:h-[2px]","after:w-[80%]","after:opacity-0","after:shadow-[0_1px_0px_0_rgba(0,0,0,0.05)]","data-[selected=true]:after:opacity-100"]}},{disableAnimation:!0,color:"default",variant:["solid","bordered","light"],class:{tab:"data-[selected=true]:bg-default data-[selected=true]:text-default-foreground"}},{disableAnimation:!0,color:"primary",variant:["solid","bordered","light"],class:{tab:"data-[selected=true]:bg-primary data-[selected=true]:text-primary-foreground"}},{disableAnimation:!0,color:"secondary",variant:["solid","bordered","light"],class:{tab:"data-[selected=true]:bg-secondary data-[selected=true]:text-secondary-foreground"}},{disableAnimation:!0,color:"success",variant:["solid","bordered","light"],class:{tab:"data-[selected=true]:bg-success data-[selected=true]:text-success-foreground"}},{disableAnimation:!0,color:"warning",variant:["solid","bordered","light"],class:{tab:"data-[selected=true]:bg-warning data-[selected=true]:text-warning-foreground"}},{disableAnimation:!0,color:"danger",variant:["solid","bordered","light"],class:{tab:"data-[selected=true]:bg-danger data-[selected=true]:text-danger-foreground"}},{disableAnimation:!0,color:"default",variant:"underlined",class:{tab:"data-[selected=true]:after:bg-foreground"}},{disableAnimation:!0,color:"primary",variant:"underlined",class:{tab:"data-[selected=true]:after:bg-primary"}},{disableAnimation:!0,color:"secondary",variant:"underlined",class:{tab:"data-[selected=true]:after:bg-secondary"}},{disableAnimation:!0,color:"success",variant:"underlined",class:{tab:"data-[selected=true]:after:bg-success"}},{disableAnimation:!0,color:"warning",variant:"underlined",class:{tab:"data-[selected=true]:after:bg-warning"}},{disableAnimation:!0,color:"danger",variant:"underlined",class:{tab:"data-[selected=true]:after:bg-danger"}}],compoundSlots:[{variant:"underlined",slots:["tab","tabList","cursor"],class:["rounded-none"]}]}),gf=gt({slots:{base:"group relative max-w-fit inline-flex items-center justify-start cursor-pointer touch-none tap-highlight-transparent",wrapper:["px-1","relative","inline-flex","items-center","justify-start","flex-shrink-0","overflow-hidden","bg-default-200","rounded-full",...ja],thumb:["z-10","flex","items-center","justify-center","bg-white","shadow-small","rounded-full","origin-right"],startContent:"z-0 absolute left-1.5 text-current",endContent:"z-0 absolute right-1.5 text-default-600",thumbIcon:"text-black",label:"relative text-foreground select-none"},variants:{color:{default:{wrapper:["group-data-[selected=true]:bg-default-400","group-data-[selected=true]:text-default-foreground"]},primary:{wrapper:["group-data-[selected=true]:bg-primary","group-data-[selected=true]:text-primary-foreground"]},secondary:{wrapper:["group-data-[selected=true]:bg-secondary","group-data-[selected=true]:text-secondary-foreground"]},success:{wrapper:["group-data-[selected=true]:bg-success","group-data-[selected=true]:text-success-foreground"]},warning:{wrapper:["group-data-[selected=true]:bg-warning","group-data-[selected=true]:text-warning-foreground"]},danger:{wrapper:["group-data-[selected=true]:bg-danger","data-[selected=true]:text-danger-foreground"]}},size:{sm:{wrapper:"w-10 h-6 mr-2",thumb:["w-4 h-4 text-tiny","group-data-[selected=true]:ml-4"],endContent:"text-tiny",startContent:"text-tiny",label:"text-small"},md:{wrapper:"w-12 h-7 mr-2",thumb:["w-5 h-5 text-small","group-data-[selected=true]:ml-5"],endContent:"text-small",startContent:"text-small",label:"text-medium"},lg:{wrapper:"w-14 h-8 mr-2",thumb:["w-6 h-6 text-medium","group-data-[selected=true]:ml-6"],endContent:"text-medium",startContent:"text-medium",label:"text-large"}},isDisabled:{true:{base:"opacity-disabled pointer-events-none"}},disableAnimation:{true:{wrapper:"transition-none",thumb:"transition-none"},false:{wrapper:"transition-background",thumb:"transition-all",startContent:["opacity-0","scale-50","transition-transform-opacity","group-data-[selected=true]:scale-100","group-data-[selected=true]:opacity-100"],endContent:["opacity-100","transition-transform-opacity","group-data-[selected=true]:translate-x-3","group-data-[selected=true]:opacity-0"]}}},defaultVariants:{color:"primary",size:"md",isDisabled:!1,disableAnimation:!1},compoundVariants:[{disableAnimation:!1,size:"sm",class:{thumb:["group-data-[pressed=true]:w-5","group-data-[selected]:group-data-[pressed]:ml-3"]}},{disableAnimation:!1,size:"md",class:{thumb:["group-data-[pressed=true]:w-6","group-data-[selected]:group-data-[pressed]:ml-4"]}},{disableAnimation:!1,size:"lg",class:{thumb:["group-data-[pressed=true]:w-7","group-data-[selected]:group-data-[pressed]:ml-5"]}}]}),ey=gt({slots:{base:"group relative max-w-fit inline-flex items-center justify-start cursor-pointer tap-highlight-transparent p-2 -m-2",wrapper:["relative","inline-flex","items-center","justify-center","flex-shrink-0","overflow-hidden","border-solid","border-medium","box-border","border-default","rounded-full","group-data-[hover-unselected=true]:bg-default-100",...ja],labelWrapper:"flex flex-col ml-1",control:["z-10","w-2","h-2","opacity-0","scale-0","origin-center","rounded-full","group-data-[selected=true]:opacity-100","group-data-[selected=true]:scale-100"],label:"relative text-foreground select-none",description:"relative text-foreground-400"},variants:{color:{default:{control:"bg-default-500 text-default-foreground",wrapper:"group-data-[selected=true]:border-default-500"},primary:{control:"bg-primary text-primary-foreground",wrapper:"group-data-[selected=true]:border-primary"},secondary:{control:"bg-secondary text-secondary-foreground",wrapper:"group-data-[selected=true]:border-secondary"},success:{control:"bg-success text-success-foreground",wrapper:"group-data-[selected=true]:border-success"},warning:{control:"bg-warning text-warning-foreground",wrapper:"group-data-[selected=true]:border-warning"},danger:{control:"bg-danger text-danger-foreground",wrapper:"group-data-[selected=true]:border-danger"}},size:{sm:{wrapper:"w-4 h-4",control:"w-1.5 h-1.5",labelWrapper:"ml-1",label:"text-small",description:"text-tiny"},md:{wrapper:"w-5 h-5",control:"w-2 h-2",labelWrapper:"ml-2",label:"text-medium",description:"text-small"},lg:{wrapper:"w-6 h-6",control:"w-2.5 h-2.5",labelWrapper:"ml-2",label:"text-large",description:"text-medium"}},isDisabled:{true:{base:"opacity-disabled pointer-events-none"}},isInvalid:{true:{control:"bg-danger text-danger-foreground",wrapper:"border-danger group-data-[selected=true]:border-danger",label:"text-danger",description:"text-danger-300"}},disableAnimation:{true:{},false:{wrapper:["group-data-[pressed=true]:scale-95","transition-transform-colors","motion-reduce:transition-none"],control:"transition-transform-opacity motion-reduce:transition-none",label:"transition-colors motion-reduce:transition-none",description:"transition-colors motion-reduce:transition-none"}}},defaultVariants:{color:"primary",size:"md",isDisabled:!1,isInvalid:!1,disableAnimation:!1}}),ty=gt({slots:{base:"relative flex flex-col gap-2",label:"relative text-foreground-500",wrapper:"flex flex-col flex-wrap gap-2 data-[orientation=horizontal]:flex-row",description:"text-tiny text-foreground-400",errorMessage:"text-tiny text-danger"},variants:{isRequired:{true:{label:"after:content-['*'] after:text-danger after:ml-0.5"}},isInvalid:{true:{description:"text-danger"}},disableAnimation:{true:{},false:{description:"transition-colors !duration-150 motion-reduce:transition-none"}}},defaultVariants:{isInvalid:!1,isRequired:!1,disableAnimation:!1}}),bf=gt({slots:{base:"group flex flex-col",label:["absolute","z-10","pointer-events-none","origin-top-left","subpixel-antialiased","block","text-small","text-foreground-500"],mainWrapper:"h-full",inputWrapper:"relative w-full inline-flex tap-highlight-transparent flex-row items-center shadow-sm px-3 gap-3",innerWrapper:"inline-flex w-full items-center h-full box-border",input:["w-full font-normal bg-transparent !outline-none placeholder:text-foreground-500 focus-visible:outline-none","data-[has-start-content=true]:ps-1.5","data-[has-end-content=true]:pe-1.5"],clearButton:["p-2","-m-2","z-10","hidden","absolute","right-3","appearance-none","outline-none","select-none","opacity-0","hover:!opacity-100","cursor-pointer","active:!opacity-70","rounded-full",...co],helperWrapper:"hidden group-data-[has-helper=true]:flex p-1 relative flex-col gap-1.5",description:"text-tiny text-foreground-400",errorMessage:"text-tiny text-danger"},variants:{variant:{flat:{inputWrapper:["bg-default-100","data-[hover=true]:bg-default-200","group-data-[focus=true]:bg-default-100"]},faded:{inputWrapper:["bg-default-100","border-medium","border-default-200","data-[hover=true]:border-default-400"],value:"group-data-[has-value=true]:text-default-foreground"},bordered:{inputWrapper:["border-medium","border-default-200","data-[hover=true]:border-default-400","group-data-[focus=true]:border-default-foreground"]},underlined:{inputWrapper:["!px-1","!pb-0","!gap-0","relative","box-border","border-b-medium","shadow-[0_1px_0px_0_rgba(0,0,0,0.05)]","border-default-200","!rounded-none","hover:border-default-300","after:content-['']","after:w-0","after:origin-center","after:bg-default-foreground","after:absolute","after:left-1/2","after:-translate-x-1/2","after:-bottom-[2px]","after:h-[2px]","group-data-[focus=true]:after:w-full"],innerWrapper:"pb-1",label:"group-data-[filled-within=true]:text-foreground"}},color:{default:{},primary:{},secondary:{},success:{},warning:{},danger:{}},size:{sm:{label:"text-tiny",inputWrapper:"h-unit-8 min-h-unit-8 px-2 rounded-small",input:"text-small",clearButton:"text-medium"},md:{inputWrapper:"h-unit-10 min-h-unit-10 rounded-medium",input:"text-small",clearButton:"text-large"},lg:{inputWrapper:"h-unit-12 min-h-unit-12 rounded-large",input:"text-medium",clearButton:"text-large"}},radius:{none:{inputWrapper:"rounded-none"},sm:{inputWrapper:"rounded-small"},md:{inputWrapper:"rounded-medium"},lg:{inputWrapper:"rounded-large"},full:{inputWrapper:"rounded-full"}},labelPlacement:{outside:{mainWrapper:"flex flex-col"},"outside-left":{base:"flex-row items-center flex-nowrap data-[has-helper=true]:items-start",inputWrapper:"flex-1",mainWrapper:"flex flex-col",label:"relative text-foreground pr-2"},inside:{label:"text-tiny cursor-text",inputWrapper:"flex-col items-start justify-center gap-0",innerWrapper:"group-data-[has-label=true]:items-end"}},fullWidth:{true:{base:"w-full"}},isClearable:{true:{input:"peer pr-6",clearButton:"peer-data-[filled=true]:opacity-70 peer-data-[filled=true]:block"}},isDisabled:{true:{base:"opacity-disabled pointer-events-none",inputWrapper:"pointer-events-none",label:"pointer-events-none"}},isInvalid:{true:{label:"!text-danger",input:"!placeholder:text-danger !text-danger"}},isRequired:{true:{label:"after:content-['*'] after:text-danger after:ml-0.5"}},isMultiline:{true:{label:"relative",inputWrapper:"!h-auto",innerWrapper:"items-start group-data-[has-label=true]:items-start",input:"resize-none data-[hide-scroll=true]:scrollbar-hide"}},disableAnimation:{true:{input:"transition-none",inputWrapper:"transition-none",label:"transition-none"},false:{inputWrapper:"transition-background motion-reduce:transition-none !duration-150",label:["will-change-auto","!duration-200","!ease-out","motion-reduce:transition-none","transition-[transform,color,left,opacity]"],clearButton:["transition-opacity","motion-reduce:transition-none"]}}},defaultVariants:{variant:"flat",color:"default",size:"md",fullWidth:!0,labelPlacement:"inside",isDisabled:!1,isMultiline:!1,disableAnimation:!1},compoundVariants:[{variant:"flat",color:"default",class:{input:"group-data-[has-value=true]:text-default-foreground"}},{variant:"flat",color:"primary",class:{inputWrapper:["bg-primary-50","data-[hover=true]:bg-primary-100","text-primary","group-data-[focus=true]:bg-primary-50","placeholder:text-primary"],input:"placeholder:text-primary",label:"text-primary"}},{variant:"flat",color:"secondary",class:{inputWrapper:["bg-secondary-50","text-secondary","data-[hover=true]:bg-secondary-100","group-data-[focus=true]:bg-secondary-50","placeholder:text-secondary"],input:"placeholder:text-secondary",label:"text-secondary"}},{variant:"flat",color:"success",class:{inputWrapper:["bg-success-50","text-success-600","dark:text-success","placeholder:text-success-600","dark:placeholder:text-success","data-[hover=true]:bg-success-100","group-data-[focus=true]:bg-success-50"],input:"placeholder:text-success-600 dark:placeholder:text-success",label:"text-success-600 dark:text-success"}},{variant:"flat",color:"warning",class:{inputWrapper:["bg-warning-50","text-warning-600","dark:text-warning","placeholder:text-warning-600","dark:placeholder:text-warning","data-[hover=true]:bg-warning-100","group-data-[focus=true]:bg-warning-50"],input:"placeholder:text-warning-600 dark:placeholder:text-warning",label:"text-warning-600 dark:text-warning"}},{variant:"flat",color:"danger",class:{inputWrapper:["bg-danger-50","text-danger","dark:text-danger-500","placeholder:text-danger","dark:placeholder:text-danger-500","data-[hover=true]:bg-danger-100","group-data-[focus=true]:bg-danger-50"],input:"placeholder:text-danger dark:placeholder:text-danger-500",label:"text-danger dark:text-danger-500"}},{variant:"faded",color:"primary",class:{label:"text-primary",inputWrapper:"data-[hover=true]:border-primary focus-within:border-primary"}},{variant:"faded",color:"secondary",class:{label:"text-secondary",inputWrapper:"data-[hover=true]:border-secondary focus-within:border-secondary"}},{variant:"faded",color:"success",class:{label:"text-success",inputWrapper:"data-[hover=true]:border-success focus-within:border-success"}},{variant:"faded",color:"warning",class:{label:"text-warning",inputWrapper:"data-[hover=true]:border-warning focus-within:border-warning"}},{variant:"faded",color:"danger",class:{label:"text-danger",inputWrapper:"data-[hover=true]:border-danger focus-within:border-danger"}},{variant:"underlined",color:"default",class:{input:"group-data-[has-value=true]:text-foreground"}},{variant:"underlined",color:"primary",class:{inputWrapper:"after:bg-primary",label:"text-primary"}},{variant:"underlined",color:"secondary",class:{inputWrapper:"after:bg-secondary",label:"text-secondary"}},{variant:"underlined",color:"success",class:{inputWrapper:"after:bg-success",label:"text-success"}},{variant:"underlined",color:"warning",class:{inputWrapper:"after:bg-warning",label:"text-warning"}},{variant:"underlined",color:"danger",class:{inputWrapper:"after:bg-danger",label:"text-danger"}},{variant:"bordered",color:"primary",class:{inputWrapper:"group-data-[focus=true]:border-primary",label:"text-primary"}},{variant:"bordered",color:"secondary",class:{inputWrapper:"group-data-[focus=true]:border-secondary",label:"text-secondary"}},{variant:"bordered",color:"success",class:{inputWrapper:"group-data-[focus=true]:border-success",label:"text-success"}},{variant:"bordered",color:"warning",class:{inputWrapper:"group-data-[focus=true]:border-warning",label:"text-warning"}},{variant:"bordered",color:"danger",class:{inputWrapper:"group-data-[focus=true]:border-danger",label:"text-danger"}},{labelPlacement:"inside",color:"default",class:{label:"group-data-[filled-within=true]:text-default-600"}},{labelPlacement:"outside",color:"default",class:{label:"group-data-[filled-within=true]:text-foreground"}},{radius:"full",size:["sm"],class:{inputWrapper:"px-3"}},{radius:"full",size:"md",class:{inputWrapper:"px-4"}},{radius:"full",size:"lg",class:{inputWrapper:"px-5"}},{disableAnimation:!1,variant:["faded","bordered"],class:{inputWrapper:"transition-colors motion-reduce:transition-none"}},{disableAnimation:!1,variant:"underlined",class:{inputWrapper:"after:transition-width motion-reduce:after:transition-none"}},{variant:["flat","faded"],class:{inputWrapper:[...ja]}},{isInvalid:!0,variant:"flat",class:{inputWrapper:["bg-danger-50","data-[hover=true]:bg-danger-100","group-data-[focus=true]:bg-danger-50"]}},{isInvalid:!0,variant:"bordered",class:{inputWrapper:"!border-danger group-data-[focus=true]:border-danger"}},{isInvalid:!0,variant:"underlined",class:{inputWrapper:"after:bg-danger"}},{labelPlacement:"inside",size:"sm",class:{inputWrapper:"h-12 py-1.5 px-3"}},{labelPlacement:"inside",size:"md",class:{inputWrapper:"h-14 py-2"}},{labelPlacement:"inside",size:"lg",class:{label:"text-small",inputWrapper:"h-16 py-2.5 gap-0"}},{labelPlacement:"inside",size:"sm",variant:["bordered","faded"],class:{inputWrapper:"py-1"}},{labelPlacement:["inside","outside"],class:{label:["group-data-[filled-within=true]:pointer-events-auto"]}},{labelPlacement:["outside","outside-left"],class:{input:"h-full"}},{labelPlacement:"outside",isMultiline:!1,class:{base:"group relative justify-end",label:["pb-0","z-20","top-1/2","-translate-y-1/2","group-data-[filled-within=true]:left-0"]}},{labelPlacement:["inside"],class:{label:["group-data-[filled-within=true]:scale-85"]}},{labelPlacement:["inside"],variant:"flat",class:{innerWrapper:"pb-0.5"}},{variant:"underlined",size:"sm",class:{innerWrapper:"pb-1"}},{variant:"underlined",size:["md","lg"],class:{innerWrapper:"pb-1.5"}},{labelPlacement:"inside",size:["sm","md"],class:{label:"text-small"}},{labelPlacement:"inside",isMultiline:!1,size:"sm",class:{label:["group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.tiny)/2_-_8px)]"]}},{labelPlacement:"inside",isMultiline:!1,size:"md",class:{label:["group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_6px)]"]}},{labelPlacement:"inside",isMultiline:!1,size:"lg",class:{label:["text-medium","group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_8px)]"]}},{labelPlacement:"inside",variant:["faded","bordered"],isMultiline:!1,size:"sm",class:{label:["group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.tiny)/2_-_8px_-_theme(borderWidth.medium))]"]}},{labelPlacement:"inside",variant:["faded","bordered"],isMultiline:!1,size:"md",class:{label:["group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_6px_-_theme(borderWidth.medium))]"]}},{labelPlacement:"inside",variant:["faded","bordered"],isMultiline:!1,size:"lg",class:{label:["text-medium","group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_8px_-_theme(borderWidth.medium))]"]}},{labelPlacement:"inside",variant:"underlined",isMultiline:!1,size:"sm",class:{label:["group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.tiny)/2_-_5px)]"]}},{labelPlacement:"inside",variant:"underlined",isMultiline:!1,size:"md",class:{label:["group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_3.5px)]"]}},{labelPlacement:"inside",variant:"underlined",size:"lg",isMultiline:!1,class:{label:["text-medium","group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_4px)]"]}},{labelPlacement:"outside",size:"sm",isMultiline:!1,class:{label:["left-2","text-tiny","group-data-[filled-within=true]:-translate-y-[calc(100%_+_theme(fontSize.tiny)/2_+_16px)]"],base:"data-[has-label=true]:mt-[calc(theme(fontSize.small)_+_8px)]"}},{labelPlacement:"outside",size:"md",isMultiline:!1,class:{label:["left-3","text-small","group-data-[filled-within=true]:-translate-y-[calc(100%_+_theme(fontSize.small)/2_+_20px)]"],base:"data-[has-label=true]:mt-[calc(theme(fontSize.small)_+_10px)]"}},{labelPlacement:"outside",size:"lg",isMultiline:!1,class:{label:["left-3","text-medium","group-data-[filled-within=true]:-translate-y-[calc(100%_+_theme(fontSize.small)/2_+_24px)]"],base:"data-[has-label=true]:mt-[calc(theme(fontSize.small)_+_12px)]"}},{labelPlacement:"outside-left",size:"sm",class:{label:"group-data-[has-helper=true]:pt-2"}},{labelPlacement:"outside-left",size:"md",class:{label:"group-data-[has-helper=true]:pt-3"}},{labelPlacement:"outside-left",size:"lg",class:{label:"group-data-[has-helper=true]:pt-4"}},{labelPlacement:["outside","outside-left"],isMultiline:!0,class:{inputWrapper:"py-2"}},{labelPlacement:"outside",isMultiline:!0,class:{label:"pb-1.5"}},{labelPlacement:"inside",isMultiline:!0,class:{label:"pb-0.5",input:"pt-0"}},{isMultiline:!0,disableAnimation:!1,class:{input:"transition-height !duration-100 motion-reduce:transition-none"}},{labelPlacement:["inside","outside"],class:{label:["pe-2","max-w-full","text-ellipsis","overflow-hidden"]}},{isMultiline:!0,radius:"full",class:{inputWrapper:"data-[has-multiple-rows=true]:rounded-large"}}]}),ny=gt({slots:{base:"group relative max-w-fit inline-flex items-center justify-start cursor-pointer tap-highlight-transparent p-2 -m-2",wrapper:["relative","inline-flex","items-center","justify-center","flex-shrink-0","overflow-hidden","before:content-['']","before:absolute","before:inset-0","before:border-solid","before:border-2","before:box-border","before:border-default","after:content-['']","after:absolute","after:inset-0","after:scale-50","after:opacity-0","after:origin-center","group-data-[selected=true]:after:scale-100","group-data-[selected=true]:after:opacity-100","group-data-[hover=true]:before:bg-default-100",...ja],icon:"z-10 w-4 h-3 opacity-0 group-data-[selected=true]:opacity-100",label:"relative text-foreground select-none"},variants:{color:{default:{wrapper:"after:bg-default after:text-default-foreground text-default-foreground"},primary:{wrapper:"after:bg-primary after:text-primary-foreground text-primary-foreground"},secondary:{wrapper:"after:bg-secondary after:text-secondary-foreground text-secondary-foreground"},success:{wrapper:"after:bg-success after:text-success-foreground text-success-foreground"},warning:{wrapper:"after:bg-warning after:text-warning-foreground text-warning-foreground"},danger:{wrapper:"after:bg-danger after:text-danger-foreground text-danger-foreground"}},size:{sm:{wrapper:["w-4 h-4 mr-2","rounded-[calc(theme(borderRadius.medium)*0.5)]","before:rounded-[calc(theme(borderRadius.medium)*0.5)]","after:rounded-[calc(theme(borderRadius.medium)*0.5)]"],label:"text-small",icon:"w-3 h-2"},md:{wrapper:["w-5 h-5 mr-2","rounded-[calc(theme(borderRadius.medium)*0.6)]","before:rounded-[calc(theme(borderRadius.medium)*0.6)]","after:rounded-[calc(theme(borderRadius.medium)*0.6)]"],label:"text-medium",icon:"w-4 h-3"},lg:{wrapper:["w-6 h-6 mr-2","rounded-[calc(theme(borderRadius.medium)*0.7)]","before:rounded-[calc(theme(borderRadius.medium)*0.7)]","after:rounded-[calc(theme(borderRadius.medium)*0.7)]"],label:"text-large",icon:"w-5 h-4"}},radius:{none:{wrapper:"rounded-none before:rounded-none after:rounded-none"},sm:{wrapper:["rounded-[calc(theme(borderRadius.medium)*0.5)]","before:rounded-[calc(theme(borderRadius.medium)*0.5)]","after:rounded-[calc(theme(borderRadius.medium)*0.5)]"]},md:{wrapper:["rounded-[calc(theme(borderRadius.medium)*0.6)]","before:rounded-[calc(theme(borderRadius.medium)*0.6)]","after:rounded-[calc(theme(borderRadius.medium)*0.6)]"]},lg:{wrapper:["rounded-[calc(theme(borderRadius.medium)*0.7)]","before:rounded-[calc(theme(borderRadius.medium)*0.7)]","after:rounded-[calc(theme(borderRadius.medium)*0.7)]"]},full:{wrapper:"rounded-full before:rounded-full after:rounded-full"}},lineThrough:{true:{label:["inline-flex","items-center","justify-center","before:content-['']","before:absolute","before:bg-foreground","before:w-0","before:h-0.5","group-data-[selected=true]:opacity-60","group-data-[selected=true]:before:w-full"]}},isDisabled:{true:{base:"opacity-disabled pointer-events-none"}},isInvalid:{true:{wrapper:"before:border-danger",label:"text-danger"}},disableAnimation:{true:{wrapper:"transition-none",icon:"transition-none",label:"transition-none"},false:{wrapper:["before:transition-colors","group-data-[pressed=true]:scale-95","transition-transform","after:transition-transform-opacity","after:!ease-linear","after:!duration-200","motion-reduce:transition-none"],icon:"transition-opacity motion-reduce:transition-none",label:"transition-colors-opacity before:transition-width motion-reduce:transition-none"}}},defaultVariants:{color:"primary",size:"md",isDisabled:!1,lineThrough:!1,disableAnimation:!1}});gt({slots:{base:"relative flex flex-col gap-2",label:"relative text-medium text-foreground-500",wrapper:"flex flex-col flex-wrap gap-2 data-[orientation=horizontal]:flex-row",description:"text-small text-foreground-400",errorMessage:"text-small text-danger"},variants:{isRequired:{true:{label:"after:content-['*'] after:text-danger after:ml-0.5"}},isInvalid:{true:{description:"text-danger"}},disableAnimation:{true:{},false:{description:"transition-colors !duration-150 motion-reduce:transition-none"}}},defaultVariants:{isInvalid:!1,isRequired:!1,disableAnimation:!1}});var vf=gt({slots:{base:["relative","max-w-fit","inline-flex","items-center","justify-between","box-border","whitespace-nowrap"],content:"flex-1 text-inherit font-normal",dot:["w-2","h-2","ml-1","rounded-full"],avatar:"flex-shrink-0",closeButton:["z-10","appearance-none","outline-none","select-none","transition-opacity","opacity-70","hover:opacity-100","cursor-pointer","active:opacity-disabled","tap-highlight-transparent"]},variants:{variant:{solid:{},bordered:{base:"border-medium bg-transparent"},light:{base:"bg-transparent"},flat:{},faded:{base:"border-medium"},shadow:{},dot:{base:"border-medium border-default text-foreground bg-transparent"}},color:{default:{dot:"bg-default-400"},primary:{dot:"bg-primary"},secondary:{dot:"bg-secondary"},success:{dot:"bg-success"},warning:{dot:"bg-warning"},danger:{dot:"bg-danger"}},size:{sm:{base:"px-1 h-6 text-tiny",content:"px-1",closeButton:"text-medium",avatar:"w-4 h-4"},md:{base:"px-1 h-7 text-small",content:"px-2",closeButton:"text-large",avatar:"w-5 h-5"},lg:{base:"px-2 h-8 text-medium",content:"px-2",closeButton:"text-xl",avatar:"w-6 h-6"}},radius:{none:{base:"rounded-none"},sm:{base:"rounded-small"},md:{base:"rounded-medium"},lg:{base:"rounded-large"},full:{base:"rounded-full"}},isOneChar:{true:{},false:{}},isCloseable:{true:{},false:{}},hasStartContent:{true:{}},hasEndContent:{true:{}},isDisabled:{true:{base:"opacity-disabled pointer-events-none"}},isCloseButtonFocusVisible:{true:{closeButton:[...X2,"ring-1","rounded-full"]}}},defaultVariants:{variant:"solid",color:"default",size:"md",radius:"full",isDisabled:!1},compoundVariants:[{variant:"solid",color:"default",class:{base:J.solid.default}},{variant:"solid",color:"primary",class:{base:J.solid.primary}},{variant:"solid",color:"secondary",class:{base:J.solid.secondary}},{variant:"solid",color:"success",class:{base:J.solid.success}},{variant:"solid",color:"warning",class:{base:J.solid.warning}},{variant:"solid",color:"danger",class:{base:J.solid.danger}},{variant:"shadow",color:"default",class:{base:J.shadow.default}},{variant:"shadow",color:"primary",class:{base:J.shadow.primary}},{variant:"shadow",color:"secondary",class:{base:J.shadow.secondary}},{variant:"shadow",color:"success",class:{base:J.shadow.success}},{variant:"shadow",color:"warning",class:{base:J.shadow.warning}},{variant:"shadow",color:"danger",class:{base:J.shadow.danger}},{variant:"bordered",color:"default",class:{base:J.bordered.default}},{variant:"bordered",color:"primary",class:{base:J.bordered.primary}},{variant:"bordered",color:"secondary",class:{base:J.bordered.secondary}},{variant:"bordered",color:"success",class:{base:J.bordered.success}},{variant:"bordered",color:"warning",class:{base:J.bordered.warning}},{variant:"bordered",color:"danger",class:{base:J.bordered.danger}},{variant:"flat",color:"default",class:{base:J.flat.default}},{variant:"flat",color:"primary",class:{base:J.flat.primary}},{variant:"flat",color:"secondary",class:{base:J.flat.secondary}},{variant:"flat",color:"success",class:{base:J.flat.success}},{variant:"flat",color:"warning",class:{base:J.flat.warning}},{variant:"flat",color:"danger",class:{base:J.flat.danger}},{variant:"faded",color:"default",class:{base:J.faded.default}},{variant:"faded",color:"primary",class:{base:J.faded.primary}},{variant:"faded",color:"secondary",class:{base:J.faded.secondary}},{variant:"faded",color:"success",class:{base:J.faded.success}},{variant:"faded",color:"warning",class:{base:J.faded.warning}},{variant:"faded",color:"danger",class:{base:J.faded.danger}},{variant:"light",color:"default",class:{base:J.light.default}},{variant:"light",color:"primary",class:{base:J.light.primary}},{variant:"light",color:"secondary",class:{base:J.light.secondary}},{variant:"light",color:"success",class:{base:J.light.success}},{variant:"light",color:"warning",class:{base:J.light.warning}},{variant:"light",color:"danger",class:{base:J.light.danger}},{isOneChar:!0,size:"sm",class:{base:"w-5 h-5 min-w-unit-5 min-h-5"}},{isOneChar:!0,size:"md",class:{base:"w-6 h-6 min-w-unit-6 min-h-6"}},{isOneChar:!0,size:"lg",class:{base:"w-7 h-7 min-w-unit-7 min-h-7"}},{isOneChar:!0,isCloseable:!1,class:{base:"px-0 justify-center",content:"px-0 flex-none"}},{isOneChar:!0,isCloseable:!0,class:{base:"w-auto"}},{hasStartContent:!0,size:"sm",class:{content:"pl-0.5"}},{hasStartContent:!0,size:["md","lg"],class:{content:"pl-1"}},{hasEndContent:!0,size:"sm",class:{content:"pr-0.5"}},{hasEndContent:!0,size:["md","lg"],class:{content:"pr-1"}}]}),ry=gt({slots:{base:["flex","relative","justify-center","items-center","box-border","overflow-hidden","align-middle","text-white","z-0",...co],img:["flex","object-cover","w-full","h-full","transition-opacity","!duration-500","opacity-0","data-[loaded=true]:opacity-100"],fallback:[...qs,"flex","items-center","justify-center"],name:[...qs,"font-normal","text-center","text-inherit"],icon:[...qs,"flex","items-center","justify-center","text-inherit","w-full","h-full"]},variants:{size:{sm:{base:"w-8 h-8 text-tiny"},md:{base:"w-10 h-10 text-tiny"},lg:{base:"w-14 h-14 text-small"}},color:{default:{base:J.solid.default},primary:{base:J.solid.primary},secondary:{base:J.solid.secondary},success:{base:J.solid.success},warning:{base:J.solid.warning},danger:{base:J.solid.danger}},radius:{none:{base:"rounded-none"},sm:{base:"rounded-small"},md:{base:"rounded-medium"},lg:{base:"rounded-large"},full:{base:"rounded-full"}},isBordered:{true:{base:"ring-2 ring-offset-2 ring-offset-background dark:ring-offset-background-dark"}},isDisabled:{true:{base:"opacity-disabled"}},isInGroup:{true:{base:["-ms-2 data-[hover=true]:-translate-x-3 transition-transform","data-[focus-visible=true]:-translate-x-3"]}},isInGridGroup:{true:{base:"m-0 data-[hover=true]:translate-x-0"}}},defaultVariants:{size:"md",color:"default",radius:"full"},compoundVariants:[{color:"default",isBordered:!0,class:{base:"ring-default"}},{color:"primary",isBordered:!0,class:{base:"ring-primary"}},{color:"secondary",isBordered:!0,class:{base:"ring-secondary"}},{color:"success",isBordered:!0,class:{base:"ring-success"}},{color:"warning",isBordered:!0,class:{base:"ring-warning"}},{color:"danger",isBordered:!0,class:{base:"ring-danger"}}]});gt({base:"flex items-center justify-center h-auto w-max-content",variants:{isGrid:{true:"inline-grid grid-cols-4 gap-3"}}});var oy=gt({base:["z-0","group","relative","inline-flex","items-center","justify-center","box-border","appearance-none","outline-none","select-none","whitespace-nowrap","min-w-max","font-normal","subpixel-antialiased","overflow-hidden","tap-highlight-transparent",...co],variants:{variant:{solid:"",bordered:"border-medium bg-transparent",light:"bg-transparent",flat:"",faded:"border-medium",shadow:"",ghost:"border-medium bg-transparent"},size:{sm:"px-unit-3 min-w-unit-16 h-unit-8 text-tiny gap-unit-2 rounded-small",md:"px-unit-4 min-w-unit-20 h-unit-10 text-small gap-unit-2 rounded-medium",lg:"px-unit-6 min-w-unit-24 h-unit-12 text-medium gap-unit-3 rounded-large"},color:{default:"",primary:"",secondary:"",success:"",warning:"",danger:""},radius:{none:"rounded-none",sm:"rounded-small",md:"rounded-medium",lg:"rounded-large",full:"rounded-full"},fullWidth:{true:"w-full"},isDisabled:{true:"opacity-disabled pointer-events-none"},isInGroup:{true:"[&:not(:first-child):not(:last-child)]:rounded-none"},isIconOnly:{true:"px-unit-0 !gap-unit-0",false:"[&>svg]:max-w-[theme(spacing.unit-8)]"},disableAnimation:{true:"!transition-none",false:"data-[pressed=true]:scale-[0.97] transition-transform-colors-opacity motion-reduce:transition-none"}},defaultVariants:{size:"md",variant:"solid",color:"default",fullWidth:!1,isDisabled:!1,isInGroup:!1,disableAnimation:!1},compoundVariants:[{variant:"solid",color:"default",class:J.solid.default},{variant:"solid",color:"primary",class:J.solid.primary},{variant:"solid",color:"secondary",class:J.solid.secondary},{variant:"solid",color:"success",class:J.solid.success},{variant:"solid",color:"warning",class:J.solid.warning},{variant:"solid",color:"danger",class:J.solid.danger},{variant:"shadow",color:"default",class:J.shadow.default},{variant:"shadow",color:"primary",class:J.shadow.primary},{variant:"shadow",color:"secondary",class:J.shadow.secondary},{variant:"shadow",color:"success",class:J.shadow.success},{variant:"shadow",color:"warning",class:J.shadow.warning},{variant:"shadow",color:"danger",class:J.shadow.danger},{variant:"bordered",color:"default",class:J.bordered.default},{variant:"bordered",color:"primary",class:J.bordered.primary},{variant:"bordered",color:"secondary",class:J.bordered.secondary},{variant:"bordered",color:"success",class:J.bordered.success},{variant:"bordered",color:"warning",class:J.bordered.warning},{variant:"bordered",color:"danger",class:J.bordered.danger},{variant:"flat",color:"default",class:J.flat.default},{variant:"flat",color:"primary",class:J.flat.primary},{variant:"flat",color:"secondary",class:J.flat.secondary},{variant:"flat",color:"success",class:J.flat.success},{variant:"flat",color:"warning",class:J.flat.warning},{variant:"flat",color:"danger",class:J.flat.danger},{variant:"faded",color:"default",class:J.faded.default},{variant:"faded",color:"primary",class:J.faded.primary},{variant:"faded",color:"secondary",class:J.faded.secondary},{variant:"faded",color:"success",class:J.faded.success},{variant:"faded",color:"warning",class:J.faded.warning},{variant:"faded",color:"danger",class:J.faded.danger},{variant:"light",color:"default",class:[J.light.default,"data-[hover=true]:bg-default/40"]},{variant:"light",color:"primary",class:[J.light.primary,"data-[hover=true]:bg-primary/20"]},{variant:"light",color:"secondary",class:[J.light.secondary,"data-[hover=true]:bg-secondary/20"]},{variant:"light",color:"success",class:[J.light.success,"data-[hover=true]:bg-success/20"]},{variant:"light",color:"warning",class:[J.light.warning,"data-[hover=true]:bg-warning/20"]},{variant:"light",color:"danger",class:[J.light.danger,"data-[hover=true]:bg-danger/20"]},{variant:"ghost",color:"default",class:J.ghost.default},{variant:"ghost",color:"primary",class:J.ghost.primary},{variant:"ghost",color:"secondary",class:J.ghost.secondary},{variant:"ghost",color:"success",class:J.ghost.success},{variant:"ghost",color:"warning",class:J.ghost.warning},{variant:"ghost",color:"danger",class:J.ghost.danger},{isInGroup:!0,class:"rounded-none first:rounded-s-medium last:rounded-e-medium"},{isInGroup:!0,size:"sm",class:"rounded-none first:rounded-s-small last:rounded-e-small"},{isInGroup:!0,size:"md",class:"rounded-none first:rounded-s-medium last:rounded-e-medium"},{isInGroup:!0,size:"lg",class:"rounded-none first:rounded-s-large last:rounded-e-large"},{isInGroup:!0,isRounded:!0,class:"rounded-none first:rounded-s-full last:rounded-e-full"},{isInGroup:!0,radius:"none",class:"rounded-none first:rounded-s-none last:rounded-e-none"},{isInGroup:!0,radius:"sm",class:"rounded-none first:rounded-s-small last:rounded-e-small"},{isInGroup:!0,radius:"md",class:"rounded-none first:rounded-s-medium last:rounded-e-medium"},{isInGroup:!0,radius:"lg",class:"rounded-none first:rounded-s-large last:rounded-e-large"},{isInGroup:!0,radius:"full",class:"rounded-none first:rounded-s-full last:rounded-e-full"},{isInGroup:!0,variant:["ghost","bordered"],color:"default",className:wr.default},{isInGroup:!0,variant:["ghost","bordered"],color:"primary",className:wr.primary},{isInGroup:!0,variant:["ghost","bordered"],color:"secondary",className:wr.secondary},{isInGroup:!0,variant:["ghost","bordered"],color:"success",className:wr.success},{isInGroup:!0,variant:["ghost","bordered"],color:"warning",className:wr.warning},{isInGroup:!0,variant:["ghost","bordered"],color:"danger",className:wr.danger},{isIconOnly:!0,size:"sm",class:"min-w-unit-8 w-unit-8 h-unit-8"},{isIconOnly:!0,size:"md",class:"min-w-unit-10 w-unit-10 h-unit-10"},{isIconOnly:!0,size:"lg",class:"min-w-unit-12 w-unit-12 h-unit-12"},{variant:["solid","faded","flat","bordered","shadow"],class:"data-[hover=true]:opacity-hover"}]});gt({base:"inline-flex items-center justify-center h-auto",variants:{fullWidth:{true:"w-full"}},defaultVariants:{fullWidth:!1}});var ay=e=>(e==null?void 0:e.length)<=4?e:e==null?void 0:e.slice(0,3),el=(...e)=>{let t=" ";for(const n of e)if(typeof n=="string"&&n.length>0){t=n;break}return t};function yf(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=yf(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function we(...e){for(var t=0,n,r,o="";t<e.length;)(n=e[t++])&&(r=yf(n))&&(o&&(o+=" "),o+=r);return o}var xf={};function Ba(e,t,...n){var r;const a=`[Next UI]${t?` [${t}]`:" "}: ${e}`;if(!(typeof console>"u")&&!xf[a]&&(xf[a]=!0,((r=process==null?void 0:process.env)==null?void 0:r.NODE_ENV)!=="production"))return console.warn(a,n)}function iy(e){return`${e}-${Math.floor(Math.random()*1e6)}`}var Cf=process.env.NODE_ENV!=="production";process.env.NODE_ENV;var re=e=>e?"true":void 0;function Wa(e={}){const{strict:t=!0,errorMessage:n="useContext: `context` is undefined. Seems you forgot to wrap component within the Provider",name:r}=e,o=V.createContext(void 0);o.displayName=r;function a(){var i;const s=V.useContext(o);if(!s&&t){const l=new Error(n);throw l.name="ContextError",(i=Error.captureStackTrace)==null||i.call(Error,l,a),l}return s}return[o.Provider,a,o]}function sy(e){return{UNSAFE_getDOMNode(){return e.current}}}function ly(e,t=e){return{...sy(e),focus(){t.current&&t.current.focus()}}}function bt(e){const t=f.useRef(null);return f.useImperativeHandle(e,()=>t.current),t}function wf(e,t){const n=f.useRef(null);return f.useImperativeHandle(e,()=>ly(n,t)),n}var uy=new Set(["id","type","style","title","role","tabIndex","htmlFor","width","height","abbr","accept","acceptCharset","accessKey","action","allowFullScreen","allowTransparency","alt","async","autoComplete","autoFocus","autoPlay","cellPadding","cellSpacing","challenge","charset","checked","cite","class","className","cols","colSpan","command","content","contentEditable","contextMenu","controls","coords","crossOrigin","data","dateTime","default","defer","dir","disabled","download","draggable","dropzone","encType","for","form","formAction","formEncType","formMethod","formNoValidate","formTarget","frameBorder","headers","hidden","high","href","hrefLang","httpEquiv","icon","inputMode","isMap","itemId","itemProp","itemRef","itemScope","itemType","kind","label","lang","list","loop","manifest","max","maxLength","media","mediaGroup","method","min","minLength","multiple","muted","name","noValidate","open","optimum","pattern","ping","placeholder","poster","preload","radioGroup","referrerPolicy","readOnly","rel","required","rows","rowSpan","sandbox","scope","scoped","scrolling","seamless","selected","shape","size","sizes","slot","sortable","span","spellCheck","src","srcDoc","srcSet","start","step","target","translate","typeMustMatch","useMap","value","wmode","wrap"]),cy=new Set(["onCopy","onCut","onPaste","onLoad","onError","onWheel","onScroll","onCompositionEnd","onCompositionStart","onCompositionUpdate","onKeyDown","onKeyPress","onKeyUp","onFocus","onBlur","onChange","onInput","onSubmit","onClick","onContextMenu","onDoubleClick","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onPointerDown","onPointerEnter","onPointerLeave","onPointerUp","onSelect","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onAnimationStart","onAnimationEnd","onAnimationIteration","onTransitionEnd"]),dy=/^(data-.*)$/,fy=/^(aria-.*)$/,tl=/^(on[A-Z].*)$/;function fo(e,t={}){let{labelable:n=!0,enabled:r=!0,propNames:o,omitPropNames:a,omitEventNames:i}=t,s={};if(!r)return e;for(const l in e)a!=null&&a.has(l)||i!=null&&i.has(l)&&tl.test(l)||tl.test(l)&&!cy.has(l)||(Object.prototype.hasOwnProperty.call(e,l)&&(uy.has(l)||n&&fy.test(l)||o!=null&&o.has(l)||dy.test(l))||tl.test(l))&&(s[l]=e[l]);return s}function nl(e){return Qv()?e.altKey:e.ctrlKey}function Ir(e){return yn()?e.metaKey:e.ctrlKey}const py=1e3;function my(e){let{keyboardDelegate:t,selectionManager:n,onTypeSelect:r}=e,o=f.useRef({search:"",timeout:null}).current,a=i=>{let s=hy(i.key);if(!s||i.ctrlKey||i.metaKey||!i.currentTarget.contains(i.target))return;s===" "&&o.search.trim().length>0&&(i.preventDefault(),"continuePropagation"in i||i.stopPropagation()),o.search+=s;let l=t.getKeyForSearch(o.search,n.focusedKey);l==null&&(l=t.getKeyForSearch(o.search)),l!=null&&(n.setFocusedKey(l),r&&r(l)),clearTimeout(o.timeout),o.timeout=setTimeout(()=>{o.search=""},py)};return{typeSelectProps:{onKeyDownCapture:t.getKeyForSearch?a:null}}}function hy(e){return e.length===1||!/^[A-Z]/i.test(e)?e:""}function gy(e){let{selectionManager:t,keyboardDelegate:n,ref:r,autoFocus:o=!1,shouldFocusWrap:a=!1,disallowEmptySelection:i=!1,disallowSelectAll:s=!1,selectOnFocus:l=t.selectionBehavior==="replace",disallowTypeAhead:u=!1,shouldUseVirtualFocus:c,allowsTabNavigation:d=!1,isVirtualized:p,scrollRef:m=r,linkBehavior:h="action"}=e,{direction:g}=Vs(),b=Vd(),x=$=>{if($.altKey&&$.key==="Tab"&&$.preventDefault(),!r.current.contains($.target))return;const M=(H,X)=>{if(H!=null){if(t.isLink(H)&&h==="selection"&&l&&!nl($)){mr.flushSync(()=>{t.setFocusedKey(H,X)});let B=m.current.querySelector(`[data-key="${CSS.escape(H.toString())}"]`);b.open(B,$);return}if(t.setFocusedKey(H,X),t.isLink(H)&&h==="override")return;$.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(H):l&&!nl($)&&t.replaceSelection(H)}};switch($.key){case"ArrowDown":if(n.getKeyBelow){var k,I;$.preventDefault();let H=t.focusedKey!=null?n.getKeyBelow(t.focusedKey):(k=n.getFirstKey)===null||k===void 0?void 0:k.call(n);H==null&&a&&(H=(I=n.getFirstKey)===null||I===void 0?void 0:I.call(n,t.focusedKey)),M(H)}break;case"ArrowUp":if(n.getKeyAbove){var E,O;$.preventDefault();let H=t.focusedKey!=null?n.getKeyAbove(t.focusedKey):(E=n.getLastKey)===null||E===void 0?void 0:E.call(n);H==null&&a&&(H=(O=n.getLastKey)===null||O===void 0?void 0:O.call(n,t.focusedKey)),M(H)}break;case"ArrowLeft":if(n.getKeyLeftOf){var j,N;$.preventDefault();let H=n.getKeyLeftOf(t.focusedKey);H==null&&a&&(H=g==="rtl"?(j=n.getFirstKey)===null||j===void 0?void 0:j.call(n,t.focusedKey):(N=n.getLastKey)===null||N===void 0?void 0:N.call(n,t.focusedKey)),M(H,g==="rtl"?"first":"last")}break;case"ArrowRight":if(n.getKeyRightOf){var W,K;$.preventDefault();let H=n.getKeyRightOf(t.focusedKey);H==null&&a&&(H=g==="rtl"?(W=n.getLastKey)===null||W===void 0?void 0:W.call(n,t.focusedKey):(K=n.getFirstKey)===null||K===void 0?void 0:K.call(n,t.focusedKey)),M(H,g==="rtl"?"last":"first")}break;case"Home":if(n.getFirstKey){$.preventDefault();let H=n.getFirstKey(t.focusedKey,Ir($));t.setFocusedKey(H),Ir($)&&$.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(H):l&&t.replaceSelection(H)}break;case"End":if(n.getLastKey){$.preventDefault();let H=n.getLastKey(t.focusedKey,Ir($));t.setFocusedKey(H),Ir($)&&$.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(H):l&&t.replaceSelection(H)}break;case"PageDown":if(n.getKeyPageBelow){$.preventDefault();let H=n.getKeyPageBelow(t.focusedKey);M(H)}break;case"PageUp":if(n.getKeyPageAbove){$.preventDefault();let H=n.getKeyPageAbove(t.focusedKey);M(H)}break;case"a":Ir($)&&t.selectionMode==="multiple"&&s!==!0&&($.preventDefault(),t.selectAll());break;case"Escape":$.preventDefault(),i||t.clearSelection();break;case"Tab":if(!d){if($.shiftKey)r.current.focus();else{let H=Us(r.current,{tabbable:!0}),X,B;do B=H.lastChild(),B&&(X=B);while(B);X&&!X.contains(document.activeElement)&&ht(X)}break}}},y=f.useRef({top:0,left:0});s2(m,"scroll",p?null:()=>{y.current={top:m.current.scrollTop,left:m.current.scrollLeft}});let w=$=>{if(t.isFocused){$.currentTarget.contains($.target)||t.setFocused(!1);return}if($.currentTarget.contains($.target)){if(t.setFocused(!0),t.focusedKey==null){let I=O=>{O!=null&&(t.setFocusedKey(O),l&&t.replaceSelection(O))},E=$.relatedTarget;var M,k;E&&$.currentTarget.compareDocumentPosition(E)&Node.DOCUMENT_POSITION_FOLLOWING?I((M=t.lastSelectedKey)!==null&&M!==void 0?M:n.getLastKey()):I((k=t.firstSelectedKey)!==null&&k!==void 0?k:n.getFirstKey())}else p||(m.current.scrollTop=y.current.top,m.current.scrollLeft=y.current.left);if(!p&&t.focusedKey!=null){let I=m.current.querySelector(`[data-key="${CSS.escape(t.focusedKey.toString())}"]`);I&&(I.contains(document.activeElement)||ht(I),Hs()==="keyboard"&&Rd(I,{containingElement:r.current}))}}},S=$=>{$.currentTarget.contains($.relatedTarget)||t.setFocused(!1)};const P=f.useRef(o);f.useEffect(()=>{if(P.current){let $=null;o==="first"&&($=n.getFirstKey()),o==="last"&&($=n.getLastKey());let M=t.selectedKeys;if(M.size){for(let k of M)if(t.canSelectItem(k)){$=k;break}}t.setFocused(!0),t.setFocusedKey($),$==null&&!c&&Fa(r.current)}},[]);let A=f.useRef(t.focusedKey);f.useEffect(()=>{let $=Hs();if(t.isFocused&&t.focusedKey!=null&&(m!=null&&m.current)){let M=m.current.querySelector(`[data-key="${CSS.escape(t.focusedKey.toString())}"]`);M&&($==="keyboard"||P.current)&&(p||_d(m.current,M),Rd(M,{containingElement:r.current}))}t.isFocused&&t.focusedKey==null&&A.current!=null&&Fa(r.current),A.current=t.focusedKey,P.current=!1},[p,m,t.focusedKey,t.isFocused,r]);let T={onKeyDown:x,onFocus:w,onBlur:S,onMouseDown($){m.current===$.target&&$.preventDefault()}},{typeSelectProps:v}=my({keyboardDelegate:n,selectionManager:t});u||(T=he(v,T));let D;return c||(D=t.focusedKey==null?0:-1),{collectionProps:{...T,tabIndex:D}}}function by(e){let{selectionManager:t,key:n,ref:r,shouldSelectOnPressUp:o,shouldUseVirtualFocus:a,focus:i,isDisabled:s,onAction:l,allowsDifferentPressOrigin:u,linkBehavior:c="action"}=e,d=Vd(),p=N=>{if(N.pointerType==="keyboard"&&nl(N))t.toggleSelection(n);else{if(t.selectionMode==="none")return;if(t.isLink(n)){if(c==="selection"){d.open(r.current,N),t.setSelectedKeys(t.selectedKeys);return}else if(c==="override"||c==="none")return}t.selectionMode==="single"?t.isSelected(n)&&!t.disallowEmptySelection?t.toggleSelection(n):t.replaceSelection(n):N&&N.shiftKey?t.extendSelection(n):t.selectionBehavior==="toggle"||N&&(Ir(N)||N.pointerType==="touch"||N.pointerType==="virtual")?t.toggleSelection(n):t.replaceSelection(n)}};f.useEffect(()=>{n===t.focusedKey&&t.isFocused&&!a&&(i?i():document.activeElement!==r.current&&Fa(r.current))},[r,n,t.focusedKey,t.childFocusStrategy,t.isFocused,a]),s=s||t.isDisabled(n);let m={};!a&&!s?m={tabIndex:n===t.focusedKey?0:-1,onFocus(N){N.target===r.current&&t.setFocusedKey(n)}}:s&&(m.onMouseDown=N=>{N.preventDefault()});let h=t.isLink(n)&&c==="override",g=t.isLink(n)&&c!=="selection"&&c!=="none",b=!s&&t.canSelectItem(n)&&!h,x=(l||g)&&!s,y=x&&(t.selectionBehavior==="replace"?!b:!b||t.isEmpty),w=x&&b&&t.selectionBehavior==="replace",S=y||w,P=f.useRef(null),A=S&&b,T=f.useRef(!1),v=f.useRef(!1),D=N=>{l&&l(),g&&d.open(r.current,N)},$={};o?($.onPressStart=N=>{P.current=N.pointerType,T.current=A,N.pointerType==="keyboard"&&(!S||Ef())&&p(N)},u?($.onPressUp=y?null:N=>{N.pointerType!=="keyboard"&&b&&p(N)},$.onPress=y?D:null):$.onPress=N=>{if(y||w&&N.pointerType!=="mouse"){if(N.pointerType==="keyboard"&&!If())return;D(N)}else N.pointerType!=="keyboard"&&b&&p(N)}):($.onPressStart=N=>{P.current=N.pointerType,T.current=A,v.current=y,b&&(N.pointerType==="mouse"&&!y||N.pointerType==="keyboard"&&(!x||Ef()))&&p(N)},$.onPress=N=>{(N.pointerType==="touch"||N.pointerType==="pen"||N.pointerType==="virtual"||N.pointerType==="keyboard"&&S&&If()||N.pointerType==="mouse"&&v.current)&&(S?D(N):b&&p(N))}),m["data-key"]=n,$.preventFocusOnPress=a;let{pressProps:M,isPressed:k}=Vn($),I=w?N=>{P.current==="mouse"&&(N.stopPropagation(),N.preventDefault(),D(N))}:void 0,{longPressProps:E}=L2({isDisabled:!A,onLongPress(N){N.pointerType==="touch"&&(p(N),t.setSelectionBehavior("toggle"))}}),O=N=>{P.current==="touch"&&T.current&&N.preventDefault()},j=t.isLink(n)?N=>{Qt.isOpening||N.preventDefault()}:void 0;return{itemProps:he(m,b||y?M:{},A?E:{},{onDoubleClick:I,onDragStartCapture:O,onClick:j}),isPressed:k,isSelected:t.isSelected(n),isFocused:t.isFocused&&t.focusedKey===n,isDisabled:s,allowsSelection:b,hasAction:S}}function If(){let e=window.event;return(e==null?void 0:e.key)==="Enter"}function Ef(){let e=window.event;return(e==null?void 0:e.key)===" "||(e==null?void 0:e.code)==="Space"}var Pf=f.createContext(null);Pf.displayName="PressResponderContext";var vy=Object.defineProperty,yy=(e,t,n)=>t in e?vy(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,_n=(e,t,n)=>(yy(e,typeof t!="symbol"?t+"":t,n),n),Sf=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},xy=(e,t,n)=>(Sf(e,t,"read from private field"),n?n.call(e):t.get(e)),Cy=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},wy=(e,t,n,r)=>(Sf(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),_a,Ga=class{constructor(e,t,n){_n(this,"type"),_n(this,"pointerType"),_n(this,"target"),_n(this,"shiftKey"),_n(this,"ctrlKey"),_n(this,"metaKey"),_n(this,"altKey"),Cy(this,_a,!0),this.type=e,this.pointerType=t,this.target=n.currentTarget,this.shiftKey=n.shiftKey,this.metaKey=n.metaKey,this.ctrlKey=n.ctrlKey,this.altKey=n.altKey}continuePropagation(){wy(this,_a,!1)}get shouldStopPropagation(){return xy(this,_a)}};_a=new WeakMap;var Gn=e=>{var t;return(t=e==null?void 0:e.ownerDocument)!=null?t:document},rl=e=>{var t,n;return(n=(t=e==null?void 0:e.ownerDocument)==null?void 0:t.defaultView)!=null?n:window},Er="default",ol="",Ra=new WeakMap;function Mf(e){if(io()){if(Er==="default"){const t=Gn(e);ol=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}Er="disabled"}else(e instanceof HTMLElement||e instanceof SVGElement)&&(Ra.set(e,e.style.userSelect),e.style.userSelect="none")}function za(e){if(io()){if(Er!=="disabled")return;Er="restoring",setTimeout(()=>{Ds(()=>{if(Er==="restoring"){const t=Gn(e);t.documentElement.style.webkitUserSelect==="none"&&(t.documentElement.style.webkitUserSelect=ol||""),ol="",Er="default"}})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&Ra.has(e)){let t=Ra.get(e);e.style.userSelect==="none"&&t&&(e.style.userSelect=t),e.getAttribute("style")===""&&e.removeAttribute("style"),Ra.delete(e)}}function Iy(e){let t=f.useContext(Pf);if(t){let{register:n,...r}=t;e=he(r,e),n()}return ks(t,e.ref),e}var Af=Symbol("linkClicked");function po(e){let{onPress:t,onPressChange:n,onPressStart:r,onPressEnd:o,onPressUp:a,isDisabled:i,isPressed:s,preventFocusOnPress:l,shouldCancelOnPointerExit:u,allowTextSelectionOnPress:c,ref:d,...p}=Iy(e),[m,h]=f.useState(!1),g=f.useRef({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:b,removeAllGlobalListeners:x}=Ns(),y=Je((v,D)=>{let $=g.current;if(i||$.didFirePressStart)return;let M=!0;if($.isTriggeringEvent=!0,r){let k=new Ga("pressstart",D,v);r(k),M=k.shouldStopPropagation}return n&&n(!0),$.isTriggeringEvent=!1,$.didFirePressStart=!0,h(!0),M}),w=Je((v,D,$=!0)=>{let M=g.current;if(!M.didFirePressStart)return;M.ignoreClickAfterPress=!0,M.didFirePressStart=!1,M.isTriggeringEvent=!0;let k=!0;if(o){let I=new Ga("pressend",D,v);o(I),k=I.shouldStopPropagation}if(n&&n(!1),h(!1),t&&$&&!i){let I=new Ga("press",D,v);t(I),k&&(k=I.shouldStopPropagation)}return M.isTriggeringEvent=!1,k}),S=Je((v,D)=>{let $=g.current;if(!i){if(a){$.isTriggeringEvent=!0;let M=new Ga("pressup",D,v);return a(M),$.isTriggeringEvent=!1,M.shouldStopPropagation}return!0}}),P=Je(v=>{let D=g.current;D.isPressed&&(D.isOverTarget&&D.target&&w(en(D.target,v),D.pointerType,!1),D.isPressed=!1,D.isOverTarget=!1,D.activePointerId=null,D.pointerType=null,x(),!c&&D.target&&za(D.target))}),A=Je(v=>{u&&P(v)}),T=f.useMemo(()=>{let v=g.current,D={onKeyDown(M){var k;if(il(M.nativeEvent,M.currentTarget)&&M.currentTarget.contains(M.target)){Df(M.target,M.key)&&M.preventDefault();let I=!0;!v.isPressed&&!M.repeat&&(v.target=M.currentTarget,v.isPressed=!0,I=y(M,"keyboard"),b(Gn(M.currentTarget),"keyup",$,!1)),I&&M.stopPropagation(),M.metaKey&&yn()&&((k=v.metaKeyEvents)==null||k.set(M.key,M.nativeEvent))}else M.key==="Meta"&&(v.metaKeyEvents=new Map)},onKeyUp(M){v.target&&il(M.nativeEvent,M.currentTarget)&&!M.repeat&&M.currentTarget.contains(M.target)&&S(en(v.target,M),"keyboard")},onClick(M){if(!(M&&!M.currentTarget.contains(M.target))&&M&&M.button===0&&!v.isTriggeringEvent&&!Qt.isOpening){let k=!0;if(i&&M.preventDefault(),!v.ignoreClickAfterPress&&!v.ignoreEmulatedMouseEvents&&!v.isPressed&&(v.pointerType==="virtual"||so(M.nativeEvent))){!i&&!l&&ht(M.currentTarget);let I=y(M,"virtual"),E=S(M,"virtual"),O=w(M,"virtual");k=I&&E&&O}v.ignoreEmulatedMouseEvents=!1,v.ignoreClickAfterPress=!1,k&&M.stopPropagation()}}},$=M=>{var k,I;if(v.isPressed&&v.target&&il(M,v.target)){Df(M.target,M.key)&&M.preventDefault();let E=M.target,O=w(en(v.target,M),"keyboard",v.target.contains(E));x(),O&&M.stopPropagation(),M.key!=="Enter"&&al(v.target)&&v.target.contains(E)&&!M[Af]&&(M[Af]=!0,Qt(v.target,M,!1)),v.isPressed=!1,(k=v.metaKeyEvents)==null||k.delete(M.key)}else if(M.key==="Meta"&&((I=v.metaKeyEvents)!=null&&I.size)){let E=v.metaKeyEvents;v.metaKeyEvents=null;for(let O of E.values())v.target&&v.target.dispatchEvent(new KeyboardEvent("keyup",O))}};if(typeof PointerEvent<"u"){D.onPointerDown=E=>{if(E.button!==0||!E.currentTarget.contains(E.target))return;if(zd(E.nativeEvent)){v.pointerType="virtual";return}sl(E.currentTarget)&&E.preventDefault(),v.pointerType=E.pointerType;let O=!0;v.isPressed||(v.isPressed=!0,v.isOverTarget=!0,v.activePointerId=E.pointerId,v.target=E.currentTarget,!i&&!l&&ht(E.currentTarget),c||Mf(v.target),O=y(E,v.pointerType),b(Gn(E.currentTarget),"pointermove",M,!1),b(Gn(E.currentTarget),"pointerup",k,!1),b(Gn(E.currentTarget),"pointercancel",I,!1)),O&&E.stopPropagation()},D.onMouseDown=E=>{E.currentTarget.contains(E.target)&&E.button===0&&(sl(E.currentTarget)&&E.preventDefault(),E.stopPropagation())},D.onPointerUp=E=>{!E.currentTarget.contains(E.target)||v.pointerType==="virtual"||E.button===0&&Pr(E,E.currentTarget)&&S(E,v.pointerType||E.pointerType)};let M=E=>{E.pointerId!==v.activePointerId||!v.target||(Pr(E,v.target)?v.isOverTarget||(v.isOverTarget=!0,y(en(v.target,E),v.pointerType)):v.isOverTarget&&(v.isOverTarget=!1,w(en(v.target,E),v.pointerType,!1),A(E)))},k=E=>{E.pointerId===v.activePointerId&&v.isPressed&&E.button===0&&v.target&&((Pr(E,v.target)||v.isOverTarget)&&w(en(v.target,E),v.pointerType),v.isPressed=!1,v.isOverTarget=!1,v.activePointerId=null,v.pointerType=null,x(),c||za(v.target))},I=E=>{P(E)};D.onDragStart=E=>{E.currentTarget.contains(E.target)&&P(E)}}else{D.onMouseDown=I=>{if(I.button!==0||!I.currentTarget.contains(I.target))return;if(sl(I.currentTarget)&&I.preventDefault(),v.ignoreEmulatedMouseEvents){I.stopPropagation();return}v.isPressed=!0,v.isOverTarget=!0,v.target=I.currentTarget,v.pointerType=so(I.nativeEvent)?"virtual":"mouse",!i&&!l&&ht(I.currentTarget),y(I,v.pointerType)&&I.stopPropagation(),b(Gn(I.currentTarget),"mouseup",M,!1)},D.onMouseEnter=I=>{if(!I.currentTarget.contains(I.target))return;let E=!0;v.isPressed&&!v.ignoreEmulatedMouseEvents&&(v.isOverTarget=!0,E=y(I,v.pointerType)),E&&I.stopPropagation()},D.onMouseLeave=I=>{if(!I.currentTarget.contains(I.target))return;let E=!0;v.isPressed&&!v.ignoreEmulatedMouseEvents&&(v.isOverTarget=!1,E=w(I,v.pointerType,!1),A(I)),E&&I.stopPropagation()},D.onMouseUp=I=>{I.currentTarget.contains(I.target)&&!v.ignoreEmulatedMouseEvents&&I.button===0&&S(I,v.pointerType||"mouse")};let M=I=>{if(I.button===0){if(v.isPressed=!1,x(),v.ignoreEmulatedMouseEvents){v.ignoreEmulatedMouseEvents=!1;return}v.target&&(Pr(I,v.target)?w(en(v.target,I),v.pointerType):v.isOverTarget&&w(en(v.target,I),v.pointerType,!1),v.isOverTarget=!1)}};D.onTouchStart=I=>{if(!I.currentTarget.contains(I.target))return;let E=Ey(I.nativeEvent);if(!E)return;v.activePointerId=E.identifier,v.ignoreEmulatedMouseEvents=!0,v.isOverTarget=!0,v.isPressed=!0,v.target=I.currentTarget,v.pointerType="touch",!i&&!l&&ht(I.currentTarget),c||Mf(v.target),y(I,v.pointerType)&&I.stopPropagation(),b(rl(I.currentTarget),"scroll",k,!0)},D.onTouchMove=I=>{if(!I.currentTarget.contains(I.target))return;if(!v.isPressed){I.stopPropagation();return}let E=Tf(I.nativeEvent,v.activePointerId),O=!0;E&&Pr(E,I.currentTarget)?v.isOverTarget||(v.isOverTarget=!0,O=y(I,v.pointerType)):v.isOverTarget&&(v.isOverTarget=!1,O=w(I,v.pointerType,!1),A(I)),O&&I.stopPropagation()},D.onTouchEnd=I=>{if(!I.currentTarget.contains(I.target))return;if(!v.isPressed){I.stopPropagation();return}let E=Tf(I.nativeEvent,v.activePointerId),O=!0;E&&Pr(E,I.currentTarget)?(S(I,v.pointerType),O=w(I,v.pointerType)):v.isOverTarget&&(O=w(I,v.pointerType,!1)),O&&I.stopPropagation(),v.isPressed=!1,v.activePointerId=null,v.isOverTarget=!1,v.ignoreEmulatedMouseEvents=!0,!c&&v.target&&za(v.target),x()},D.onTouchCancel=I=>{I.currentTarget.contains(I.target)&&(I.stopPropagation(),v.isPressed&&P(I))};let k=I=>{v.isPressed&&I.target.contains(v.target)&&P({currentTarget:v.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};D.onDragStart=I=>{I.currentTarget.contains(I.target)&&P(I)}}return D},[b,i,l,x,c,P,A,w,y,S]);return f.useEffect(()=>()=>{!c&&g.current.target&&za(g.current.target)},[c]),{isPressed:s||m,pressProps:he(p,T)}}function al(e){return e.tagName==="A"&&e.hasAttribute("href")}function il(e,t){const{key:n,code:r}=e,o=t,a=o.getAttribute("role");return(n==="Enter"||n===" "||n==="Spacebar"||r==="Space")&&!(o instanceof rl(o).HTMLInputElement&&!Nf(o,n)||o instanceof rl(o).HTMLTextAreaElement||o.isContentEditable)&&!((a==="link"||!a&&al(o))&&n!=="Enter")}function Ey(e){const{targetTouches:t}=e;return t.length>0?t[0]:null}function Tf(e,t){const n=e.changedTouches;for(let r=0;r<n.length;r++){const o=n[r];if(o.identifier===t)return o}return null}function en(e,t){return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey}}function Py(e){let t=e.width?e.width/2:e.radiusX||0,n=e.height?e.height/2:e.radiusY||0;return{top:e.clientY-n,right:e.clientX+t,bottom:e.clientY+n,left:e.clientX-t}}function Sy(e,t){return!(e.left>t.right||t.left>e.right||e.top>t.bottom||t.top>e.bottom)}function Pr(e,t){let n=t.getBoundingClientRect(),r=Py(e);return Sy(n,r)}function sl(e){return!(e instanceof HTMLElement)||!e.hasAttribute("draggable")}function Df(e,t){return e instanceof HTMLInputElement?!Nf(e,t):e instanceof HTMLButtonElement?e.type!=="submit"&&e.type!=="reset":!al(e)}var My=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Nf(e,t){return e.type==="checkbox"||e.type==="radio"?t===" ":My.has(e.type)}var Ay=e=>F.jsx("svg",{"aria-hidden":"true",focusable:"false",height:"1em",role:"presentation",viewBox:"0 0 24 24",width:"1em",...e,children:F.jsx("path",{d:"M12 2a10 10 0 1010 10A10.016 10.016 0 0012 2zm3.36 12.3a.754.754 0 010 1.06.748.748 0 01-1.06 0l-2.3-2.3-2.3 2.3a.748.748 0 01-1.06 0 .754.754 0 010-1.06l2.3-2.3-2.3-2.3A.75.75 0 019.7 8.64l2.3 2.3 2.3-2.3a.75.75 0 011.06 1.06l-2.3 2.3z",fill:"currentColor"})});const $f=f.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),Ha=f.createContext({}),Xa=f.createContext(null),Za=typeof document<"u",ll=Za?f.useLayoutEffect:f.useEffect,kf=f.createContext({strict:!1}),ul=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),Of="data-"+ul("framerAppearId");function Ty(e,t,n,r){const{visualElement:o}=f.useContext(Ha),a=f.useContext(kf),i=f.useContext(Xa),s=f.useContext($f).reducedMotion,l=f.useRef();r=r||a.renderer,!l.current&&r&&(l.current=r(e,{visualState:t,parent:o,props:n,presenceContext:i,blockInitialAnimation:i?i.initial===!1:!1,reducedMotionConfig:s}));const u=l.current;f.useInsertionEffect(()=>{u&&u.update(n,i)});const c=f.useRef(!!(n[Of]&&!window.HandoffComplete));return ll(()=>{u&&(u.render(),c.current&&u.animationState&&u.animationState.animateChanges())}),f.useEffect(()=>{u&&(u.updateFeatures(),!c.current&&u.animationState&&u.animationState.animateChanges(),c.current&&(c.current=!1,window.HandoffComplete=!0))}),u}function Sr(e){return typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function Dy(e,t,n){return f.useCallback(r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):Sr(n)&&(n.current=r))},[t])}function mo(e){return typeof e=="string"||Array.isArray(e)}function Ya(e){return typeof e=="object"&&typeof e.start=="function"}const cl=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],dl=["initial",...cl];function Ua(e){return Ya(e.animate)||dl.some(t=>mo(e[t]))}function Ff(e){return!!(Ua(e)||e.variants)}function Ny(e,t){if(Ua(e)){const{initial:n,animate:r}=e;return{initial:n===!1||mo(n)?n:void 0,animate:mo(r)?r:void 0}}return e.inherit!==!1?t:{}}function $y(e){const{initial:t,animate:n}=Ny(e,f.useContext(Ha));return f.useMemo(()=>({initial:t,animate:n}),[Lf(t),Lf(n)])}function Lf(e){return Array.isArray(e)?e.join(" "):e}const Vf={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"]},ho={};for(const e in Vf)ho[e]={isEnabled:t=>Vf[e].some(n=>!!t[n])};function ky(e){for(const t in e)ho[t]={...ho[t],...e[t]}}const go=f.createContext({}),jf=f.createContext({}),Oy=Symbol.for("motionComponentSymbol");function Fy({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:o}){e&&ky(e);function a(s,l){let u;const c={...f.useContext($f),...s,layoutId:Ly(s)},{isStatic:d}=c,p=$y(s),m=r(s,d);if(!d&&Za){p.visualElement=Ty(o,m,c,t);const h=f.useContext(jf),g=f.useContext(kf).strict;p.visualElement&&(u=p.visualElement.loadFeatures(c,g,e,h))}return V.createElement(Ha.Provider,{value:p},u&&p.visualElement?V.createElement(u,{visualElement:p.visualElement,...c}):null,n(o,s,Dy(m,p.visualElement,l),m,d,p.visualElement))}const i=f.forwardRef(a);return i[Oy]=o,i}function Ly({layoutId:e}){const t=f.useContext(go).id;return t&&e!==void 0?t+"-"+e:e}function Vy(e){function t(r,o={}){return Fy(e(r,o))}if(typeof Proxy>"u")return t;const n=new Map;return new Proxy(t,{get:(r,o)=>(n.has(o)||n.set(o,t(o)),n.get(o))})}const jy=["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 fl(e){return typeof e!="string"||e.includes("-")?!1:!!(jy.indexOf(e)>-1||/[A-Z]/.test(e))}const Ka={};function By(e){Object.assign(Ka,e)}const bo=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Rn=new Set(bo);function Bf(e,{layout:t,layoutId:n}){return Rn.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!Ka[e]||e==="opacity")}const ut=e=>!!(e&&e.getVelocity),Wy={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},_y=bo.length;function Gy(e,{enableHardwareAcceleration:t=!0,allowTransformNone:n=!0},r,o){let a="";for(let i=0;i<_y;i++){const s=bo[i];if(e[s]!==void 0){const l=Wy[s]||s;a+=`${l}(${e[s]}) `}}return t&&!e.z&&(a+="translateZ(0)"),a=a.trim(),o?a=o(e,r?"":a):n&&r&&(a="none"),a}const Wf=e=>t=>typeof t=="string"&&t.startsWith(e),_f=Wf("--"),pl=Wf("var(--"),Ry=/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,zy=(e,t)=>t&&typeof e=="number"?t.transform(e):e,xn=(e,t,n)=>Math.min(Math.max(n,e),t),zn={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},vo={...zn,transform:e=>xn(0,1,e)},Ja={...zn,default:1},yo=e=>Math.round(e*1e5)/1e5,Qa=/(-)?([\d]*\.?[\d])+/g,Gf=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,Hy=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function xo(e){return typeof e=="string"}const Co=e=>({test:t=>xo(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Cn=Co("deg"),Rt=Co("%"),fe=Co("px"),Xy=Co("vh"),Zy=Co("vw"),Rf={...Rt,parse:e=>Rt.parse(e)/100,transform:e=>Rt.transform(e*100)},zf={...zn,transform:Math.round},Hf={borderWidth:fe,borderTopWidth:fe,borderRightWidth:fe,borderBottomWidth:fe,borderLeftWidth:fe,borderRadius:fe,radius:fe,borderTopLeftRadius:fe,borderTopRightRadius:fe,borderBottomRightRadius:fe,borderBottomLeftRadius:fe,width:fe,maxWidth:fe,height:fe,maxHeight:fe,size:fe,top:fe,right:fe,bottom:fe,left:fe,padding:fe,paddingTop:fe,paddingRight:fe,paddingBottom:fe,paddingLeft:fe,margin:fe,marginTop:fe,marginRight:fe,marginBottom:fe,marginLeft:fe,rotate:Cn,rotateX:Cn,rotateY:Cn,rotateZ:Cn,scale:Ja,scaleX:Ja,scaleY:Ja,scaleZ:Ja,skew:Cn,skewX:Cn,skewY:Cn,distance:fe,translateX:fe,translateY:fe,translateZ:fe,x:fe,y:fe,z:fe,perspective:fe,transformPerspective:fe,opacity:vo,originX:Rf,originY:Rf,originZ:fe,zIndex:zf,fillOpacity:vo,strokeOpacity:vo,numOctaves:zf};function ml(e,t,n,r){const{style:o,vars:a,transform:i,transformOrigin:s}=e;let l=!1,u=!1,c=!0;for(const d in t){const p=t[d];if(_f(d)){a[d]=p;continue}const m=Hf[d],h=zy(p,m);if(Rn.has(d)){if(l=!0,i[d]=h,!c)continue;p!==(m.default||0)&&(c=!1)}else d.startsWith("origin")?(u=!0,s[d]=h):o[d]=h}if(t.transform||(l||r?o.transform=Gy(e.transform,n,c,r):o.transform&&(o.transform="none")),u){const{originX:d="50%",originY:p="50%",originZ:m=0}=s;o.transformOrigin=`${d} ${p} ${m}`}}const hl=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Xf(e,t,n){for(const r in t)!ut(t[r])&&!Bf(r,n)&&(e[r]=t[r])}function Yy({transformTemplate:e},t,n){return f.useMemo(()=>{const r=hl();return ml(r,t,{enableHardwareAcceleration:!n},e),Object.assign({},r.vars,r.style)},[t])}function Uy(e,t,n){const r=e.style||{},o={};return Xf(o,r,e),Object.assign(o,Yy(e,t,n)),e.transformValues?e.transformValues(o):o}function Ky(e,t,n){const r={},o=Uy(e,t,n);return e.drag&&e.dragListener!==!1&&(r.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=o,r}const Jy=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","ignoreStrict","viewport"]);function qa(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||Jy.has(e)}let Zf=e=>!qa(e);function Qy(e){e&&(Zf=t=>t.startsWith("on")?!qa(t):e(t))}try{Qy(require("@emotion/is-prop-valid").default)}catch{}function qy(e,t,n){const r={};for(const o in e)o==="values"&&typeof e.values=="object"||(Zf(o)||n===!0&&qa(o)||!t&&!qa(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}function Yf(e,t,n){return typeof e=="string"?e:fe.transform(t+n*e)}function e5(e,t,n){const r=Yf(t,e.x,e.width),o=Yf(n,e.y,e.height);return`${r} ${o}`}const t5={offset:"stroke-dashoffset",array:"stroke-dasharray"},n5={offset:"strokeDashoffset",array:"strokeDasharray"};function r5(e,t,n=1,r=0,o=!0){e.pathLength=1;const a=o?t5:n5;e[a.offset]=fe.transform(-r);const i=fe.transform(t),s=fe.transform(n);e[a.array]=`${i} ${s}`}function gl(e,{attrX:t,attrY:n,attrScale:r,originX:o,originY:a,pathLength:i,pathSpacing:s=1,pathOffset:l=0,...u},c,d,p){if(ml(e,u,c,p),d){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:m,style:h,dimensions:g}=e;m.transform&&(g&&(h.transform=m.transform),delete m.transform),g&&(o!==void 0||a!==void 0||h.transform)&&(h.transformOrigin=e5(g,o!==void 0?o:.5,a!==void 0?a:.5)),t!==void 0&&(m.x=t),n!==void 0&&(m.y=n),r!==void 0&&(m.scale=r),i!==void 0&&r5(m,i,s,l,!1)}const Uf=()=>({...hl(),attrs:{}}),bl=e=>typeof e=="string"&&e.toLowerCase()==="svg";function o5(e,t,n,r){const o=f.useMemo(()=>{const a=Uf();return gl(a,t,{enableHardwareAcceleration:!1},bl(r),e.transformTemplate),{...a.attrs,style:{...a.style}}},[t]);if(e.style){const a={};Xf(a,e.style,e),o.style={...a,...o.style}}return o}function a5(e=!1){return(n,r,o,{latestValues:a},i)=>{const l=(fl(n)?o5:Ky)(r,a,i,n),c={...qy(r,typeof n=="string",e),...l,ref:o},{children:d}=r,p=f.useMemo(()=>ut(d)?d.get():d,[d]);return f.createElement(n,{...c,children:p})}}function Kf(e,{style:t,vars:n},r,o){Object.assign(e.style,t,o&&o.getProjectionStyles(r));for(const a in n)e.style.setProperty(a,n[a])}const Jf=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 Qf(e,t,n,r){Kf(e,t,void 0,r);for(const o in t.attrs)e.setAttribute(Jf.has(o)?o:ul(o),t.attrs[o])}function vl(e,t){const{style:n}=e,r={};for(const o in n)(ut(n[o])||t.style&&ut(t.style[o])||Bf(o,e))&&(r[o]=n[o]);return r}function qf(e,t){const n=vl(e,t);for(const r in e)if(ut(e[r])||ut(t[r])){const o=bo.indexOf(r)!==-1?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r;n[o]=e[r]}return n}function yl(e,t,n,r={},o={}){return typeof t=="function"&&(t=t(n!==void 0?n:e.custom,r,o)),typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"&&(t=t(n!==void 0?n:e.custom,r,o)),t}function ep(e){const t=f.useRef(null);return t.current===null&&(t.current=e()),t.current}const ei=e=>Array.isArray(e),i5=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),s5=e=>ei(e)?e[e.length-1]||0:e;function ti(e){const t=ut(e)?e.get():e;return i5(t)?t.toValue():t}function l5({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,o,a){const i={latestValues:u5(r,o,a,e),renderState:t()};return n&&(i.mount=s=>n(r,s,i)),i}const tp=e=>(t,n)=>{const r=f.useContext(Ha),o=f.useContext(Xa),a=()=>l5(e,t,r,o);return n?a():ep(a)};function u5(e,t,n,r){const o={},a=r(e,{});for(const p in a)o[p]=ti(a[p]);let{initial:i,animate:s}=e;const l=Ua(e),u=Ff(e);t&&u&&!l&&e.inherit!==!1&&(i===void 0&&(i=t.initial),s===void 0&&(s=t.animate));let c=n?n.initial===!1:!1;c=c||i===!1;const d=c?s:i;return d&&typeof d!="boolean"&&!Ya(d)&&(Array.isArray(d)?d:[d]).forEach(m=>{const h=yl(e,m);if(!h)return;const{transitionEnd:g,transition:b,...x}=h;for(const y in x){let w=x[y];if(Array.isArray(w)){const S=c?w.length-1:0;w=w[S]}w!==null&&(o[y]=w)}for(const y in g)o[y]=g[y]}),o}const ze=e=>e;class np{constructor(){this.order=[],this.scheduled=new Set}add(t){if(!this.scheduled.has(t))return this.scheduled.add(t),this.order.push(t),!0}remove(t){const n=this.order.indexOf(t);n!==-1&&(this.order.splice(n,1),this.scheduled.delete(t))}clear(){this.order.length=0,this.scheduled.clear()}}function c5(e){let t=new np,n=new np,r=0,o=!1,a=!1;const i=new WeakSet,s={schedule:(l,u=!1,c=!1)=>{const d=c&&o,p=d?t:n;return u&&i.add(l),p.add(l)&&d&&o&&(r=t.order.length),l},cancel:l=>{n.remove(l),i.delete(l)},process:l=>{if(o){a=!0;return}if(o=!0,[t,n]=[n,t],n.clear(),r=t.order.length,r)for(let u=0;u<r;u++){const c=t.order[u];c(l),i.has(c)&&(s.schedule(c),e())}o=!1,a&&(a=!1,s.process(l))}};return s}const ni=["prepare","read","update","preRender","render","postRender"],d5=40;function f5(e,t){let n=!1,r=!0;const o={delta:0,timestamp:0,isProcessing:!1},a=ni.reduce((d,p)=>(d[p]=c5(()=>n=!0),d),{}),i=d=>a[d].process(o),s=()=>{const d=performance.now();n=!1,o.delta=r?1e3/60:Math.max(Math.min(d-o.timestamp,d5),1),o.timestamp=d,o.isProcessing=!0,ni.forEach(i),o.isProcessing=!1,n&&t&&(r=!1,e(s))},l=()=>{n=!0,r=!0,o.isProcessing||e(s)};return{schedule:ni.reduce((d,p)=>{const m=a[p];return d[p]=(h,g=!1,b=!1)=>(n||l(),m.schedule(h,g,b)),d},{}),cancel:d=>ni.forEach(p=>a[p].cancel(d)),state:o,steps:a}}const{schedule:Oe,cancel:tn,state:qe,steps:xl}=f5(typeof requestAnimationFrame<"u"?requestAnimationFrame:ze,!0),p5={useVisualState:tp({scrapeMotionValuesFromProps:qf,createRenderState:Uf,onMount:(e,t,{renderState:n,latestValues:r})=>{Oe.read(()=>{try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}),Oe.render(()=>{gl(n,r,{enableHardwareAcceleration:!1},bl(t.tagName),e.transformTemplate),Qf(t,n)})}})},m5={useVisualState:tp({scrapeMotionValuesFromProps:vl,createRenderState:hl})};function h5(e,{forwardMotionProps:t=!1},n,r){return{...fl(e)?p5:m5,preloadedFeatures:n,useRender:a5(t),createVisualElement:r,Component:e}}function nn(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const rp=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function ri(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}const g5=e=>t=>rp(t)&&e(t,ri(t));function rn(e,t,n,r){return nn(e,t,g5(n),r)}const b5=(e,t)=>n=>t(e(n)),wn=(...e)=>e.reduce(b5);function op(e){let t=null;return()=>{const n=()=>{t=null};return t===null?(t=e,n):!1}}const ap=op("dragHorizontal"),ip=op("dragVertical");function sp(e){let t=!1;if(e==="y")t=ip();else if(e==="x")t=ap();else{const n=ap(),r=ip();n&&r?t=()=>{n(),r()}:(n&&n(),r&&r())}return t}function lp(){const e=sp(!0);return e?(e(),!1):!0}class In{constructor(t){this.isMounted=!1,this.node=t}update(){}}function up(e,t){const n="pointer"+(t?"enter":"leave"),r="onHover"+(t?"Start":"End"),o=(a,i)=>{if(a.type==="touch"||lp())return;const s=e.getProps();e.animationState&&s.whileHover&&e.animationState.setActive("whileHover",t),s[r]&&Oe.update(()=>s[r](a,i))};return rn(e.current,n,o,{passive:!e.getProps()[r]})}class v5 extends In{mount(){this.unmount=wn(up(this.node,!0),up(this.node,!1))}unmount(){}}class y5 extends In{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=wn(nn(this.node.current,"focus",()=>this.onFocus()),nn(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const cp=(e,t)=>t?e===t?!0:cp(e,t.parentElement):!1;function Cl(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,ri(n))}class x5 extends In{constructor(){super(...arguments),this.removeStartListeners=ze,this.removeEndListeners=ze,this.removeAccessibleListeners=ze,this.startPointerPress=(t,n)=>{if(this.removeEndListeners(),this.isPressing)return;const r=this.node.getProps(),a=rn(window,"pointerup",(s,l)=>{if(!this.checkPressEnd())return;const{onTap:u,onTapCancel:c}=this.node.getProps();Oe.update(()=>{cp(this.node.current,s.target)?u&&u(s,l):c&&c(s,l)})},{passive:!(r.onTap||r.onPointerUp)}),i=rn(window,"pointercancel",(s,l)=>this.cancelPress(s,l),{passive:!(r.onTapCancel||r.onPointerCancel)});this.removeEndListeners=wn(a,i),this.startPress(t,n)},this.startAccessiblePress=()=>{const t=a=>{if(a.key!=="Enter"||this.isPressing)return;const i=s=>{s.key!=="Enter"||!this.checkPressEnd()||Cl("up",(l,u)=>{const{onTap:c}=this.node.getProps();c&&Oe.update(()=>c(l,u))})};this.removeEndListeners(),this.removeEndListeners=nn(this.node.current,"keyup",i),Cl("down",(s,l)=>{this.startPress(s,l)})},n=nn(this.node.current,"keydown",t),r=()=>{this.isPressing&&Cl("cancel",(a,i)=>this.cancelPress(a,i))},o=nn(this.node.current,"blur",r);this.removeAccessibleListeners=wn(n,o)}}startPress(t,n){this.isPressing=!0;const{onTapStart:r,whileTap:o}=this.node.getProps();o&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),r&&Oe.update(()=>r(t,n))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!lp()}cancelPress(t,n){if(!this.checkPressEnd())return;const{onTapCancel:r}=this.node.getProps();r&&Oe.update(()=>r(t,n))}mount(){const t=this.node.getProps(),n=rn(this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),r=nn(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=wn(n,r)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const wl=new WeakMap,Il=new WeakMap,C5=e=>{const t=wl.get(e.target);t&&t(e)},w5=e=>{e.forEach(C5)};function I5({root:e,...t}){const n=e||document;Il.has(n)||Il.set(n,{});const r=Il.get(n),o=JSON.stringify(t);return r[o]||(r[o]=new IntersectionObserver(w5,{root:e,...t})),r[o]}function E5(e,t,n){const r=I5(t);return wl.set(e,n),r.observe(e),()=>{wl.delete(e),r.unobserve(e)}}const P5={some:0,all:1};class S5 extends In{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:o="some",once:a}=t,i={root:n?n.current:void 0,rootMargin:r,threshold:typeof o=="number"?o:P5[o]},s=l=>{const{isIntersecting:u}=l;if(this.isInView===u||(this.isInView=u,a&&!u&&this.hasEnteredView))return;u&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",u);const{onViewportEnter:c,onViewportLeave:d}=this.node.getProps(),p=u?c:d;p&&p(l)};return E5(this.node.current,i,s)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(M5(t,n))&&this.startObserver()}unmount(){}}function M5({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const A5={inView:{Feature:S5},tap:{Feature:x5},focus:{Feature:y5},hover:{Feature:v5}};function dp(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}function T5(e){const t={};return e.values.forEach((n,r)=>t[r]=n.get()),t}function D5(e){const t={};return e.values.forEach((n,r)=>t[r]=n.getVelocity()),t}function oi(e,t,n){const r=e.getProps();return yl(r,t,n!==void 0?n:r.custom,T5(e),D5(e))}let wo=ze,kt=ze;process.env.NODE_ENV!=="production"&&(wo=(e,t)=>{!e&&typeof console<"u"&&console.warn(t)},kt=(e,t)=>{if(!e)throw new Error(t)});const En=e=>e*1e3,on=e=>e/1e3,N5={current:!1},fp=e=>Array.isArray(e)&&typeof e[0]=="number";function pp(e){return!!(!e||typeof e=="string"&&mp[e]||fp(e)||Array.isArray(e)&&e.every(pp))}const Io=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,mp={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Io([0,.65,.55,1]),circOut:Io([.55,0,1,.45]),backIn:Io([.31,.01,.66,-.59]),backOut:Io([.33,1.53,.69,.99])};function hp(e){if(e)return fp(e)?Io(e):Array.isArray(e)?e.map(hp):mp[e]}function $5(e,t,n,{delay:r=0,duration:o,repeat:a=0,repeatType:i="loop",ease:s,times:l}={}){const u={[t]:n};l&&(u.offset=l);const c=hp(s);return Array.isArray(c)&&(u.easing=c),e.animate(u,{delay:r,duration:o,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:a+1,direction:i==="reverse"?"alternate":"normal"})}function k5(e,{repeat:t,repeatType:n="loop"}){const r=t&&n!=="loop"&&t%2===1?0:e.length-1;return e[r]}const gp=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,O5=1e-7,F5=12;function L5(e,t,n,r,o){let a,i,s=0;do i=t+(n-t)/2,a=gp(i,r,o)-e,a>0?n=i:t=i;while(Math.abs(a)>O5&&++s<F5);return i}function Eo(e,t,n,r){if(e===t&&n===r)return ze;const o=a=>L5(a,0,1,e,n);return a=>a===0||a===1?a:gp(o(a),t,r)}const V5=Eo(.42,0,1,1),j5=Eo(0,0,.58,1),bp=Eo(.42,0,.58,1),B5=e=>Array.isArray(e)&&typeof e[0]!="number",vp=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,yp=e=>t=>1-e(1-t),El=e=>1-Math.sin(Math.acos(e)),xp=yp(El),W5=vp(El),Cp=Eo(.33,1.53,.69,.99),Pl=yp(Cp),_5=vp(Pl),wp={linear:ze,easeIn:V5,easeInOut:bp,easeOut:j5,circIn:El,circInOut:W5,circOut:xp,backIn:Pl,backInOut:_5,backOut:Cp,anticipate:e=>(e*=2)<1?.5*Pl(e):.5*(2-Math.pow(2,-10*(e-1)))},Ip=e=>{if(Array.isArray(e)){kt(e.length===4,"Cubic bezier arrays must contain four numerical values.");const[t,n,r,o]=e;return Eo(t,n,r,o)}else if(typeof e=="string")return kt(wp[e]!==void 0,`Invalid easing type '${e}'`),wp[e];return e},Sl=(e,t)=>n=>!!(xo(n)&&Hy.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),Ep=(e,t,n)=>r=>{if(!xo(r))return r;const[o,a,i,s]=r.match(Qa);return{[e]:parseFloat(o),[t]:parseFloat(a),[n]:parseFloat(i),alpha:s!==void 0?parseFloat(s):1}},G5=e=>xn(0,255,e),Ml={...zn,transform:e=>Math.round(G5(e))},Hn={test:Sl("rgb","red"),parse:Ep("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Ml.transform(e)+", "+Ml.transform(t)+", "+Ml.transform(n)+", "+yo(vo.transform(r))+")"};function R5(e){let t="",n="",r="",o="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),o=e.substring(4,5),t+=t,n+=n,r+=r,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}}const Al={test:Sl("#"),parse:R5,transform:Hn.transform},Mr={test:Sl("hsl","hue"),parse:Ep("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Rt.transform(yo(t))+", "+Rt.transform(yo(n))+", "+yo(vo.transform(r))+")"},ot={test:e=>Hn.test(e)||Al.test(e)||Mr.test(e),parse:e=>Hn.test(e)?Hn.parse(e):Mr.test(e)?Mr.parse(e):Al.parse(e),transform:e=>xo(e)?e:e.hasOwnProperty("red")?Hn.transform(e):Mr.transform(e)},Re=(e,t,n)=>-n*e+n*t+e;function Tl(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 z5({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let o=0,a=0,i=0;if(!t)o=a=i=n;else{const s=n<.5?n*(1+t):n+t-n*t,l=2*n-s;o=Tl(l,s,e+1/3),a=Tl(l,s,e),i=Tl(l,s,e-1/3)}return{red:Math.round(o*255),green:Math.round(a*255),blue:Math.round(i*255),alpha:r}}const Dl=(e,t,n)=>{const r=e*e;return Math.sqrt(Math.max(0,n*(t*t-r)+r))},H5=[Al,Hn,Mr],X5=e=>H5.find(t=>t.test(e));function Pp(e){const t=X5(e);kt(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`);let n=t.parse(e);return t===Mr&&(n=z5(n)),n}const Sp=(e,t)=>{const n=Pp(e),r=Pp(t),o={...n};return a=>(o.red=Dl(n.red,r.red,a),o.green=Dl(n.green,r.green,a),o.blue=Dl(n.blue,r.blue,a),o.alpha=Re(n.alpha,r.alpha,a),Hn.transform(o))};function Z5(e){var t,n;return isNaN(e)&&xo(e)&&(((t=e.match(Qa))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(Gf))===null||n===void 0?void 0:n.length)||0)>0}const Mp={regex:Ry,countKey:"Vars",token:"${v}",parse:ze},Ap={regex:Gf,countKey:"Colors",token:"${c}",parse:ot.parse},Tp={regex:Qa,countKey:"Numbers",token:"${n}",parse:zn.parse};function Nl(e,{regex:t,countKey:n,token:r,parse:o}){const a=e.tokenised.match(t);a&&(e["num"+n]=a.length,e.tokenised=e.tokenised.replace(t,r),e.values.push(...a.map(o)))}function ai(e){const t=e.toString(),n={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&Nl(n,Mp),Nl(n,Ap),Nl(n,Tp),n}function Dp(e){return ai(e).values}function Np(e){const{values:t,numColors:n,numVars:r,tokenised:o}=ai(e),a=t.length;return i=>{let s=o;for(let l=0;l<a;l++)l<r?s=s.replace(Mp.token,i[l]):l<r+n?s=s.replace(Ap.token,ot.transform(i[l])):s=s.replace(Tp.token,yo(i[l]));return s}}const Y5=e=>typeof e=="number"?0:e;function U5(e){const t=Dp(e);return Np(e)(t.map(Y5))}const Pn={test:Z5,parse:Dp,createTransformer:Np,getAnimatableNone:U5},$p=(e,t)=>n=>`${n>0?t:e}`;function kp(e,t){return typeof e=="number"?n=>Re(e,t,n):ot.test(e)?Sp(e,t):e.startsWith("var(")?$p(e,t):Fp(e,t)}const Op=(e,t)=>{const n=[...e],r=n.length,o=e.map((a,i)=>kp(a,t[i]));return a=>{for(let i=0;i<r;i++)n[i]=o[i](a);return n}},K5=(e,t)=>{const n={...e,...t},r={};for(const o in n)e[o]!==void 0&&t[o]!==void 0&&(r[o]=kp(e[o],t[o]));return o=>{for(const a in r)n[a]=r[a](o);return n}},Fp=(e,t)=>{const n=Pn.createTransformer(t),r=ai(e),o=ai(t);return r.numVars===o.numVars&&r.numColors===o.numColors&&r.numNumbers>=o.numNumbers?wn(Op(r.values,o.values),n):(wo(!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.`),$p(e,t))},Po=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},Lp=(e,t)=>n=>Re(e,t,n);function J5(e){return typeof e=="number"?Lp:typeof e=="string"?ot.test(e)?Sp:Fp:Array.isArray(e)?Op:typeof e=="object"?K5:Lp}function Q5(e,t,n){const r=[],o=n||J5(e[0]),a=e.length-1;for(let i=0;i<a;i++){let s=o(e[i],e[i+1]);if(t){const l=Array.isArray(t)?t[i]||ze:t;s=wn(l,s)}r.push(s)}return r}function Vp(e,t,{clamp:n=!0,ease:r,mixer:o}={}){const a=e.length;if(kt(a===t.length,"Both input and output ranges must be the same length"),a===1)return()=>t[0];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());const i=Q5(t,r,o),s=i.length,l=u=>{let c=0;if(s>1)for(;c<e.length-2&&!(u<e[c+1]);c++);const d=Po(e[c],e[c+1],u);return i[c](d)};return n?u=>l(xn(e[0],e[a-1],u)):l}function q5(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const o=Po(0,t,r);e.push(Re(n,1,o))}}function e4(e){const t=[0];return q5(t,e.length-1),t}function t4(e,t){return e.map(n=>n*t)}function n4(e,t){return e.map(()=>t||bp).splice(0,e.length-1)}function ii({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const o=B5(r)?r.map(Ip):Ip(r),a={done:!1,value:t[0]},i=t4(n&&n.length===t.length?n:e4(t),e),s=Vp(i,t,{ease:Array.isArray(o)?o:n4(t,o)});return{calculatedDuration:e,next:l=>(a.value=s(l),a.done=l>=e,a)}}function jp(e,t){return t?e*(1e3/t):0}const r4=5;function Bp(e,t,n){const r=Math.max(t-r4,0);return jp(n-e(r),t-r)}const $l=.001,o4=.01,Wp=10,a4=.05,i4=1;function s4({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let o,a;wo(e<=En(Wp),"Spring duration must be 10 seconds or less");let i=1-t;i=xn(a4,i4,i),e=xn(o4,Wp,on(e)),i<1?(o=u=>{const c=u*i,d=c*e,p=c-n,m=kl(u,i),h=Math.exp(-d);return $l-p/m*h},a=u=>{const d=u*i*e,p=d*n+n,m=Math.pow(i,2)*Math.pow(u,2)*e,h=Math.exp(-d),g=kl(Math.pow(u,2),i);return(-o(u)+$l>0?-1:1)*((p-m)*h)/g}):(o=u=>{const c=Math.exp(-u*e),d=(u-n)*e+1;return-$l+c*d},a=u=>{const c=Math.exp(-u*e),d=(n-u)*(e*e);return c*d});const s=5/e,l=u4(o,a,s);if(e=En(e),isNaN(l))return{stiffness:100,damping:10,duration:e};{const u=Math.pow(l,2)*r;return{stiffness:u,damping:i*2*Math.sqrt(r*u),duration:e}}}const l4=12;function u4(e,t,n){let r=n;for(let o=1;o<l4;o++)r=r-e(r)/t(r);return r}function kl(e,t){return e*Math.sqrt(1-t*t)}const c4=["duration","bounce"],d4=["stiffness","damping","mass"];function _p(e,t){return t.some(n=>e[n]!==void 0)}function f4(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!_p(e,d4)&&_p(e,c4)){const n=s4(e);t={...t,...n,velocity:0,mass:1},t.isResolvedFromDuration=!0}return t}function Gp({keyframes:e,restDelta:t,restSpeed:n,...r}){const o=e[0],a=e[e.length-1],i={done:!1,value:o},{stiffness:s,damping:l,mass:u,velocity:c,duration:d,isResolvedFromDuration:p}=f4(r),m=c?-on(c):0,h=l/(2*Math.sqrt(s*u)),g=a-o,b=on(Math.sqrt(s/u)),x=Math.abs(g)<5;n||(n=x?.01:2),t||(t=x?.005:.5);let y;if(h<1){const w=kl(b,h);y=S=>{const P=Math.exp(-h*b*S);return a-P*((m+h*b*g)/w*Math.sin(w*S)+g*Math.cos(w*S))}}else if(h===1)y=w=>a-Math.exp(-b*w)*(g+(m+b*g)*w);else{const w=b*Math.sqrt(h*h-1);y=S=>{const P=Math.exp(-h*b*S),A=Math.min(w*S,300);return a-P*((m+h*b*g)*Math.sinh(A)+w*g*Math.cosh(A))/w}}return{calculatedDuration:p&&d||null,next:w=>{const S=y(w);if(p)i.done=w>=d;else{let P=m;w!==0&&(h<1?P=Bp(y,w,S):P=0);const A=Math.abs(P)<=n,T=Math.abs(a-S)<=t;i.done=A&&T}return i.value=i.done?a:S,i}}}function Rp({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:o=10,bounceStiffness:a=500,modifyTarget:i,min:s,max:l,restDelta:u=.5,restSpeed:c}){const d=e[0],p={done:!1,value:d},m=v=>s!==void 0&&v<s||l!==void 0&&v>l,h=v=>s===void 0?l:l===void 0||Math.abs(s-v)<Math.abs(l-v)?s:l;let g=n*t;const b=d+g,x=i===void 0?b:i(b);x!==b&&(g=x-d);const y=v=>-g*Math.exp(-v/r),w=v=>x+y(v),S=v=>{const D=y(v),$=w(v);p.done=Math.abs(D)<=u,p.value=p.done?x:$};let P,A;const T=v=>{m(p.value)&&(P=v,A=Gp({keyframes:[p.value,h(p.value)],velocity:Bp(w,v,p.value),damping:o,stiffness:a,restDelta:u,restSpeed:c}))};return T(0),{calculatedDuration:null,next:v=>{let D=!1;return!A&&P===void 0&&(D=!0,S(v),T(v)),P!==void 0&&v>P?A.next(v-P):(!D&&S(v),p)}}}const p4=e=>{const t=({timestamp:n})=>e(n);return{start:()=>Oe.update(t,!0),stop:()=>tn(t),now:()=>qe.isProcessing?qe.timestamp:performance.now()}},zp=2e4;function Hp(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<zp;)t+=n,r=e.next(t);return t>=zp?1/0:t}const m4={decay:Rp,inertia:Rp,tween:ii,keyframes:ii,spring:Gp};function si({autoplay:e=!0,delay:t=0,driver:n=p4,keyframes:r,type:o="keyframes",repeat:a=0,repeatDelay:i=0,repeatType:s="loop",onPlay:l,onStop:u,onComplete:c,onUpdate:d,...p}){let m=1,h=!1,g,b;const x=()=>{b=new Promise(X=>{g=X})};x();let y;const w=m4[o]||ii;let S;w!==ii&&typeof r[0]!="number"&&(S=Vp([0,100],r,{clamp:!1}),r=[0,100]);const P=w({...p,keyframes:r});let A;s==="mirror"&&(A=w({...p,keyframes:[...r].reverse(),velocity:-(p.velocity||0)}));let T="idle",v=null,D=null,$=null;P.calculatedDuration===null&&a&&(P.calculatedDuration=Hp(P));const{calculatedDuration:M}=P;let k=1/0,I=1/0;M!==null&&(k=M+i,I=k*(a+1)-i);let E=0;const O=X=>{if(D===null)return;m>0&&(D=Math.min(D,X)),m<0&&(D=Math.min(X-I/m,D)),v!==null?E=v:E=Math.round(X-D)*m;const B=E-t*(m>=0?1:-1),G=m>=0?B<0:B>I;E=Math.max(B,0),T==="finished"&&v===null&&(E=I);let Y=E,R=P;if(a){const le=E/k;let pe=Math.floor(le),be=le%1;!be&&le>=1&&(be=1),be===1&&pe--,pe=Math.min(pe,a+1);const Q=!!(pe%2);Q&&(s==="reverse"?(be=1-be,i&&(be-=i/k)):s==="mirror"&&(R=A));let Pe=xn(0,1,be);E>I&&(Pe=s==="reverse"&&Q?1:0),Y=Pe*k}const Z=G?{done:!1,value:r[0]}:R.next(Y);S&&(Z.value=S(Z.value));let{done:q}=Z;!G&&M!==null&&(q=m>=0?E>=I:E<=0);const ae=v===null&&(T==="finished"||T==="running"&&q);return d&&d(Z.value),ae&&W(),Z},j=()=>{y&&y.stop(),y=void 0},N=()=>{T="idle",j(),g(),x(),D=$=null},W=()=>{T="finished",c&&c(),j(),g()},K=()=>{if(h)return;y||(y=n(O));const X=y.now();l&&l(),v!==null?D=X-v:(!D||T==="finished")&&(D=X),T==="finished"&&x(),$=D,v=null,T="running",y.start()};e&&K();const H={then(X,B){return b.then(X,B)},get time(){return on(E)},set time(X){X=En(X),E=X,v!==null||!y||m===0?v=X:D=y.now()-X/m},get duration(){const X=P.calculatedDuration===null?Hp(P):P.calculatedDuration;return on(X)},get speed(){return m},set speed(X){X===m||!y||(m=X,H.time=on(E))},get state(){return T},play:K,pause:()=>{T="paused",v=E},stop:()=>{h=!0,T!=="idle"&&(T="idle",u&&u(),N())},cancel:()=>{$!==null&&O($),N()},complete:()=>{T="finished"},sample:X=>(D=0,O(X))};return H}function h4(e){let t;return()=>(t===void 0&&(t=e()),t)}const g4=h4(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),b4=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),li=10,v4=2e4,y4=(e,t)=>t.type==="spring"||e==="backgroundColor"||!pp(t.ease);function x4(e,t,{onUpdate:n,onComplete:r,...o}){if(!(g4()&&b4.has(t)&&!o.repeatDelay&&o.repeatType!=="mirror"&&o.damping!==0&&o.type!=="inertia"))return!1;let i=!1,s,l;const u=()=>{l=new Promise(y=>{s=y})};u();let{keyframes:c,duration:d=300,ease:p,times:m}=o;if(y4(t,o)){const y=si({...o,repeat:0,delay:0});let w={done:!1,value:c[0]};const S=[];let P=0;for(;!w.done&&P<v4;)w=y.sample(P),S.push(w.value),P+=li;m=void 0,c=S,d=P-li,p="linear"}const h=$5(e.owner.current,t,c,{...o,duration:d,ease:p,times:m}),g=()=>h.cancel(),b=()=>{Oe.update(g),s(),u()};return h.onfinish=()=>{e.set(k5(c,o)),r&&r(),b()},{then(y,w){return l.then(y,w)},attachTimeline(y){return h.timeline=y,h.onfinish=null,ze},get time(){return on(h.currentTime||0)},set time(y){h.currentTime=En(y)},get speed(){return h.playbackRate},set speed(y){h.playbackRate=y},get duration(){return on(d)},play:()=>{i||(h.play(),tn(g))},pause:()=>h.pause(),stop:()=>{if(i=!0,h.playState==="idle")return;const{currentTime:y}=h;if(y){const w=si({...o,autoplay:!1});e.setWithVelocity(w.sample(y-li).value,w.sample(y).value,li)}b()},complete:()=>h.finish(),cancel:b}}function C4({keyframes:e,delay:t,onUpdate:n,onComplete:r}){const o=()=>(n&&n(e[e.length-1]),r&&r(),{time:0,speed:1,duration:0,play:ze,pause:ze,stop:ze,then:a=>(a(),Promise.resolve()),cancel:ze,complete:ze});return t?si({keyframes:[0,1],duration:0,delay:t,onComplete:o}):o()}const w4={type:"spring",stiffness:500,damping:25,restSpeed:10},I4=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),E4={type:"keyframes",duration:.8},P4={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},S4=(e,{keyframes:t})=>t.length>2?E4:Rn.has(e)?e.startsWith("scale")?I4(t[1]):w4:P4,Ol=(e,t)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(Pn.test(t)||t==="0")&&!t.startsWith("url(")),M4=new Set(["brightness","contrast","saturate","opacity"]);function A4(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(Qa)||[];if(!r)return e;const o=n.replace(r,"");let a=M4.has(t)?1:0;return r!==n&&(a*=100),t+"("+a+o+")"}const T4=/([a-z-]*)\(.*?\)/g,Fl={...Pn,getAnimatableNone:e=>{const t=e.match(T4);return t?t.map(A4).join(" "):e}},D4={...Hf,color:ot,backgroundColor:ot,outlineColor:ot,fill:ot,stroke:ot,borderColor:ot,borderTopColor:ot,borderRightColor:ot,borderBottomColor:ot,borderLeftColor:ot,filter:Fl,WebkitFilter:Fl},Ll=e=>D4[e];function Xp(e,t){let n=Ll(e);return n!==Fl&&(n=Pn),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const Zp=e=>/^0[^.\s]+$/.test(e);function N4(e){if(typeof e=="number")return e===0;if(e!==null)return e==="none"||e==="0"||Zp(e)}function $4(e,t,n,r){const o=Ol(t,n);let a;Array.isArray(n)?a=[...n]:a=[null,n];const i=r.from!==void 0?r.from:e.get();let s;const l=[];for(let u=0;u<a.length;u++)a[u]===null&&(a[u]=u===0?i:a[u-1]),N4(a[u])&&l.push(u),typeof a[u]=="string"&&a[u]!=="none"&&a[u]!=="0"&&(s=a[u]);if(o&&l.length&&s)for(let u=0;u<l.length;u++){const c=l[u];a[c]=Xp(t,s)}return a}function k4({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:o,repeat:a,repeatType:i,repeatDelay:s,from:l,elapsed:u,...c}){return!!Object.keys(c).length}function Vl(e,t){return e[t]||e.default||e}const jl=(e,t,n,r={})=>o=>{const a=Vl(r,e)||{},i=a.delay||r.delay||0;let{elapsed:s=0}=r;s=s-En(i);const l=$4(t,e,n,a),u=l[0],c=l[l.length-1],d=Ol(e,u),p=Ol(e,c);wo(d===p,`You are trying to animate ${e} from "${u}" to "${c}". ${u} is not an animatable value - to enable this animation set ${u} to a value animatable to ${c} via the \`style\` property.`);let m={keyframes:l,velocity:t.getVelocity(),ease:"easeOut",...a,delay:-s,onUpdate:h=>{t.set(h),a.onUpdate&&a.onUpdate(h)},onComplete:()=>{o(),a.onComplete&&a.onComplete()}};if(k4(a)||(m={...m,...S4(e,m)}),m.duration&&(m.duration=En(m.duration)),m.repeatDelay&&(m.repeatDelay=En(m.repeatDelay)),!d||!p||N5.current||a.type===!1)return C4(m);if(!r.isHandoff&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const h=x4(t,e,m);if(h)return h}return si(m)};function ui(e){return!!(ut(e)&&e.add)}const Yp=e=>/^\-?\d*\.?\d+$/.test(e);function Bl(e,t){e.indexOf(t)===-1&&e.push(t)}function Wl(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class _l{constructor(){this.subscriptions=[]}add(t){return Bl(this.subscriptions,t),()=>Wl(this.subscriptions,t)}notify(t,n,r){const o=this.subscriptions.length;if(o)if(o===1)this.subscriptions[0](t,n,r);else for(let a=0;a<o;a++){const i=this.subscriptions[a];i&&i(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Up=new Set;function Gl(e,t,n){e||Up.has(t)||(console.warn(t),n&&console.warn(n),Up.add(t))}const O4=e=>!isNaN(parseFloat(e));class F4{constructor(t,n={}){this.version="10.16.16",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(r,o=!0)=>{this.prev=this.current,this.current=r;const{delta:a,timestamp:i}=qe;this.lastUpdated!==i&&(this.timeDelta=a,this.lastUpdated=i,Oe.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),o&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>Oe.postRender(this.velocityCheck),this.velocityCheck=({timestamp:r})=>{r!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=O4(this.current),this.owner=n.owner}onChange(t){return process.env.NODE_ENV!=="production"&&Gl(!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 _l);const r=this.events[t].add(n);return t==="change"?()=>{r(),Oe.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t,n=!0){!n||!this.passiveEffect?this.updateAndNotify(t,n):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,n,r){this.set(n),this.prev=t,this.timeDelta=r}jump(t){this.updateAndNotify(t),this.prev=t,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?jp(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}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 Ar(e,t){return new F4(e,t)}const Kp=e=>t=>t.test(e),Jp=[zn,fe,Rt,Cn,Zy,Xy,{test:e=>e==="auto",parse:e=>e}],So=e=>Jp.find(Kp(e)),L4=[...Jp,ot,Pn],V4=e=>L4.find(Kp(e));function j4(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Ar(n))}function B4(e,t){const n=oi(e,t);let{transitionEnd:r={},transition:o={},...a}=n?e.makeTargetAnimatable(n,!1):{};a={...a,...r};for(const i in a){const s=s5(a[i]);j4(e,i,s)}}function W4(e,t,n){var r,o;const a=Object.keys(t).filter(s=>!e.hasValue(s)),i=a.length;if(i)for(let s=0;s<i;s++){const l=a[s],u=t[l];let c=null;Array.isArray(u)&&(c=u[0]),c===null&&(c=(o=(r=n[l])!==null&&r!==void 0?r:e.readValue(l))!==null&&o!==void 0?o:t[l]),c!=null&&(typeof c=="string"&&(Yp(c)||Zp(c))?c=parseFloat(c):!V4(c)&&Pn.test(u)&&(c=Xp(l,u)),e.addValue(l,Ar(c,{owner:e})),n[l]===void 0&&(n[l]=c),c!==null&&e.setBaseTarget(l,c))}}function _4(e,t){return t?(t[e]||t.default||t).from:void 0}function G4(e,t,n){const r={};for(const o in e){const a=_4(o,t);if(a!==void 0)r[o]=a;else{const i=n.getValue(o);i&&(r[o]=i.get())}}return r}function R4({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function z4(e,t){const n=e.get();if(Array.isArray(t)){for(let r=0;r<t.length;r++)if(t[r]!==n)return!0}else return n!==t}function Qp(e,t,{delay:n=0,transitionOverride:r,type:o}={}){let{transition:a=e.getDefaultTransition(),transitionEnd:i,...s}=e.makeTargetAnimatable(t);const l=e.getValue("willChange");r&&(a=r);const u=[],c=o&&e.animationState&&e.animationState.getState()[o];for(const d in s){const p=e.getValue(d),m=s[d];if(!p||m===void 0||c&&R4(c,d))continue;const h={delay:n,elapsed:0,...Vl(a||{},d)};if(window.HandoffAppearAnimations){const x=e.getProps()[Of];if(x){const y=window.HandoffAppearAnimations(x,d,p,Oe);y!==null&&(h.elapsed=y,h.isHandoff=!0)}}let g=!h.isHandoff&&!z4(p,m);if(h.type==="spring"&&(p.getVelocity()||h.velocity)&&(g=!1),p.animation&&(g=!1),g)continue;p.start(jl(d,p,m,e.shouldReduceMotion&&Rn.has(d)?{type:!1}:h));const b=p.animation;ui(l)&&(l.add(d),b.then(()=>l.remove(d))),u.push(b)}return i&&Promise.all(u).then(()=>{i&&B4(e,i)}),u}function Rl(e,t,n={}){const r=oi(e,t,n.custom);let{transition:o=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(o=n.transitionOverride);const a=r?()=>Promise.all(Qp(e,r,n)):()=>Promise.resolve(),i=e.variantChildren&&e.variantChildren.size?(l=0)=>{const{delayChildren:u=0,staggerChildren:c,staggerDirection:d}=o;return H4(e,t,u+l,c,d,n)}:()=>Promise.resolve(),{when:s}=o;if(s){const[l,u]=s==="beforeChildren"?[a,i]:[i,a];return l().then(()=>u())}else return Promise.all([a(),i(n.delay)])}function H4(e,t,n=0,r=0,o=1,a){const i=[],s=(e.variantChildren.size-1)*r,l=o===1?(u=0)=>u*r:(u=0)=>s-u*r;return Array.from(e.variantChildren).sort(X4).forEach((u,c)=>{u.notify("AnimationStart",t),i.push(Rl(u,t,{...a,delay:n+l(c)}).then(()=>u.notify("AnimationComplete",t)))}),Promise.all(i)}function X4(e,t){return e.sortNodePosition(t)}function Z4(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const o=t.map(a=>Rl(e,a,n));r=Promise.all(o)}else if(typeof t=="string")r=Rl(e,t,n);else{const o=typeof t=="function"?oi(e,t,n.custom):t;r=Promise.all(Qp(e,o,n))}return r.then(()=>e.notify("AnimationComplete",t))}const Y4=[...cl].reverse(),U4=cl.length;function K4(e){return t=>Promise.all(t.map(({animation:n,options:r})=>Z4(e,n,r)))}function J4(e){let t=K4(e);const n=q4();let r=!0;const o=(l,u)=>{const c=oi(e,u);if(c){const{transition:d,transitionEnd:p,...m}=c;l={...l,...m,...p}}return l};function a(l){t=l(e)}function i(l,u){const c=e.getProps(),d=e.getVariantContext(!0)||{},p=[],m=new Set;let h={},g=1/0;for(let x=0;x<U4;x++){const y=Y4[x],w=n[y],S=c[y]!==void 0?c[y]:d[y],P=mo(S),A=y===u?w.isActive:null;A===!1&&(g=x);let T=S===d[y]&&S!==c[y]&&P;if(T&&r&&e.manuallyAnimateOnMount&&(T=!1),w.protectedKeys={...h},!w.isActive&&A===null||!S&&!w.prevProp||Ya(S)||typeof S=="boolean")continue;const v=Q4(w.prevProp,S);let D=v||y===u&&w.isActive&&!T&&P||x>g&&P;const $=Array.isArray(S)?S:[S];let M=$.reduce(o,{});A===!1&&(M={});const{prevResolvedValues:k={}}=w,I={...k,...M},E=O=>{D=!0,m.delete(O),w.needsAnimating[O]=!0};for(const O in I){const j=M[O],N=k[O];h.hasOwnProperty(O)||(j!==N?ei(j)&&ei(N)?!dp(j,N)||v?E(O):w.protectedKeys[O]=!0:j!==void 0?E(O):m.add(O):j!==void 0&&m.has(O)?E(O):w.protectedKeys[O]=!0)}w.prevProp=S,w.prevResolvedValues=M,w.isActive&&(h={...h,...M}),r&&e.blockInitialAnimation&&(D=!1),D&&!T&&p.push(...$.map(O=>({animation:O,options:{type:y,...l}})))}if(m.size){const x={};m.forEach(y=>{const w=e.getBaseTarget(y);w!==void 0&&(x[y]=w)}),p.push({animation:x})}let b=!!p.length;return r&&(c.initial===!1||c.initial===c.animate)&&!e.manuallyAnimateOnMount&&(b=!1),r=!1,b?t(p):Promise.resolve()}function s(l,u,c){var d;if(n[l].isActive===u)return Promise.resolve();(d=e.variantChildren)===null||d===void 0||d.forEach(m=>{var h;return(h=m.animationState)===null||h===void 0?void 0:h.setActive(l,u)}),n[l].isActive=u;const p=i(c,l);for(const m in n)n[m].protectedKeys={};return p}return{animateChanges:i,setActive:s,setAnimateFunction:a,getState:()=>n}}function Q4(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!dp(t,e):!1}function Xn(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function q4(){return{animate:Xn(!0),whileInView:Xn(),whileHover:Xn(),whileTap:Xn(),whileDrag:Xn(),whileFocus:Xn(),exit:Xn()}}class e3 extends In{constructor(t){super(t),t.animationState||(t.animationState=J4(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();this.unmount(),Ya(t)&&(this.unmount=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){}}let t3=0;class n3 extends In{constructor(){super(...arguments),this.id=t3++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n,custom:r}=this.node.presenceContext,{isPresent:o}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===o)return;const a=this.node.animationState.setActive("exit",!t,{custom:r??this.node.getProps().custom});n&&!t&&a.then(()=>n(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const r3={animation:{Feature:e3},exit:{Feature:n3}},qp=(e,t)=>Math.abs(e-t);function o3(e,t){const n=qp(e.x,t.x),r=qp(e.y,t.y);return Math.sqrt(n**2+r**2)}class e0{constructor(t,n,{transformPagePoint:r,contextWindow:o}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const c=Hl(this.lastMoveEventInfo,this.history),d=this.startEvent!==null,p=o3(c.offset,{x:0,y:0})>=3;if(!d&&!p)return;const{point:m}=c,{timestamp:h}=qe;this.history.push({...m,timestamp:h});const{onStart:g,onMove:b}=this.handlers;d||(g&&g(this.lastMoveEvent,c),this.startEvent=this.lastMoveEvent),b&&b(this.lastMoveEvent,c)},this.handlePointerMove=(c,d)=>{this.lastMoveEvent=c,this.lastMoveEventInfo=zl(d,this.transformPagePoint),Oe.update(this.updatePoint,!0)},this.handlePointerUp=(c,d)=>{if(this.end(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const{onEnd:p,onSessionEnd:m}=this.handlers,h=Hl(c.type==="pointercancel"?this.lastMoveEventInfo:zl(d,this.transformPagePoint),this.history);this.startEvent&&p&&p(c,h),m&&m(c,h)},!rp(t))return;this.handlers=n,this.transformPagePoint=r,this.contextWindow=o||window;const a=ri(t),i=zl(a,this.transformPagePoint),{point:s}=i,{timestamp:l}=qe;this.history=[{...s,timestamp:l}];const{onSessionStart:u}=n;u&&u(t,Hl(i,this.history)),this.removeListeners=wn(rn(this.contextWindow,"pointermove",this.handlePointerMove),rn(this.contextWindow,"pointerup",this.handlePointerUp),rn(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),tn(this.updatePoint)}}function zl(e,t){return t?{point:t(e.point)}:e}function t0(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Hl({point:e},t){return{point:e,delta:t0(e,n0(t)),offset:t0(e,a3(t)),velocity:i3(t,.1)}}function a3(e){return e[0]}function n0(e){return e[e.length-1]}function i3(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const o=n0(e);for(;n>=0&&(r=e[n],!(o.timestamp-r.timestamp>En(t)));)n--;if(!r)return{x:0,y:0};const a=on(o.timestamp-r.timestamp);if(a===0)return{x:0,y:0};const i={x:(o.x-r.x)/a,y:(o.y-r.y)/a};return i.x===1/0&&(i.x=0),i.y===1/0&&(i.y=0),i}function vt(e){return e.max-e.min}function Xl(e,t=0,n=.01){return Math.abs(e-t)<=n}function r0(e,t,n,r=.5){e.origin=r,e.originPoint=Re(t.min,t.max,e.origin),e.scale=vt(n)/vt(t),(Xl(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=Re(n.min,n.max,e.origin)-e.originPoint,(Xl(e.translate)||isNaN(e.translate))&&(e.translate=0)}function Mo(e,t,n,r){r0(e.x,t.x,n.x,r?r.originX:void 0),r0(e.y,t.y,n.y,r?r.originY:void 0)}function o0(e,t,n){e.min=n.min+t.min,e.max=e.min+vt(t)}function s3(e,t,n){o0(e.x,t.x,n.x),o0(e.y,t.y,n.y)}function a0(e,t,n){e.min=t.min-n.min,e.max=e.min+vt(t)}function Ao(e,t,n){a0(e.x,t.x,n.x),a0(e.y,t.y,n.y)}function l3(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?Re(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?Re(n,e,r.max):Math.min(e,n)),e}function i0(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 u3(e,{top:t,left:n,bottom:r,right:o}){return{x:i0(e.x,n,o),y:i0(e.y,t,r)}}function s0(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function c3(e,t){return{x:s0(e.x,t.x),y:s0(e.y,t.y)}}function d3(e,t){let n=.5;const r=vt(e),o=vt(t);return o>r?n=Po(t.min,t.max-r,e.min):r>o&&(n=Po(e.min,e.max-o,t.min)),xn(0,1,n)}function f3(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 Zl=.35;function p3(e=Zl){return e===!1?e=0:e===!0&&(e=Zl),{x:l0(e,"left","right"),y:l0(e,"top","bottom")}}function l0(e,t,n){return{min:u0(e,t),max:u0(e,n)}}function u0(e,t){return typeof e=="number"?e:e[t]||0}const c0=()=>({translate:0,scale:1,origin:0,originPoint:0}),Tr=()=>({x:c0(),y:c0()}),d0=()=>({min:0,max:0}),Ye=()=>({x:d0(),y:d0()});function zt(e){return[e("x"),e("y")]}function f0({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function m3({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function h3(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function Yl(e){return e===void 0||e===1}function Ul({scale:e,scaleX:t,scaleY:n}){return!Yl(e)||!Yl(t)||!Yl(n)}function Zn(e){return Ul(e)||p0(e)||e.z||e.rotate||e.rotateX||e.rotateY}function p0(e){return m0(e.x)||m0(e.y)}function m0(e){return e&&e!=="0%"}function ci(e,t,n){const r=e-n,o=t*r;return n+o}function h0(e,t,n,r,o){return o!==void 0&&(e=ci(e,o,r)),ci(e,n,r)+t}function Kl(e,t=0,n=1,r,o){e.min=h0(e.min,t,n,r,o),e.max=h0(e.max,t,n,r,o)}function g0(e,{x:t,y:n}){Kl(e.x,t.translate,t.scale,t.originPoint),Kl(e.y,n.translate,n.scale,n.originPoint)}function g3(e,t,n,r=!1){const o=n.length;if(!o)return;t.x=t.y=1;let a,i;for(let s=0;s<o;s++){a=n[s],i=a.projectionDelta;const l=a.instance;l&&l.style&&l.style.display==="contents"||(r&&a.options.layoutScroll&&a.scroll&&a!==a.root&&Dr(e,{x:-a.scroll.offset.x,y:-a.scroll.offset.y}),i&&(t.x*=i.x.scale,t.y*=i.y.scale,g0(e,i)),r&&Zn(a.latestValues)&&Dr(e,a.latestValues))}t.x=b0(t.x),t.y=b0(t.y)}function b0(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function Sn(e,t){e.min=e.min+t,e.max=e.max+t}function v0(e,t,[n,r,o]){const a=t[o]!==void 0?t[o]:.5,i=Re(e.min,e.max,a);Kl(e,t[n],t[r],i,t.scale)}const b3=["x","scaleX","originX"],v3=["y","scaleY","originY"];function Dr(e,t){v0(e.x,t,b3),v0(e.y,t,v3)}function y0(e,t){return f0(h3(e.getBoundingClientRect(),t))}function y3(e,t,n){const r=y0(e,n),{scroll:o}=t;return o&&(Sn(r.x,o.offset.x),Sn(r.y,o.offset.y)),r}const x0=({current:e})=>e?e.ownerDocument.defaultView:null,x3=new WeakMap;class C3{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Ye(),this.visualElement=t}start(t,{snapToCursor:n=!1}={}){const{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;const o=l=>{this.stopAnimation(),n&&this.snapToCursor(ri(l,"page").point)},a=(l,u)=>{const{drag:c,dragPropagation:d,onDragStart:p}=this.getProps();if(c&&!d&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=sp(c),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),zt(h=>{let g=this.getAxisMotionValue(h).get()||0;if(Rt.test(g)){const{projection:b}=this.visualElement;if(b&&b.layout){const x=b.layout.layoutBox[h];x&&(g=vt(x)*(parseFloat(g)/100))}}this.originPoint[h]=g}),p&&Oe.update(()=>p(l,u),!1,!0);const{animationState:m}=this.visualElement;m&&m.setActive("whileDrag",!0)},i=(l,u)=>{const{dragPropagation:c,dragDirectionLock:d,onDirectionLock:p,onDrag:m}=this.getProps();if(!c&&!this.openGlobalLock)return;const{offset:h}=u;if(d&&this.currentDirection===null){this.currentDirection=w3(h),this.currentDirection!==null&&p&&p(this.currentDirection);return}this.updateAxis("x",u.point,h),this.updateAxis("y",u.point,h),this.visualElement.render(),m&&m(l,u)},s=(l,u)=>this.stop(l,u);this.panSession=new e0(t,{onSessionStart:o,onStart:a,onMove:i,onSessionEnd:s},{transformPagePoint:this.visualElement.getTransformPagePoint(),contextWindow:x0(this.visualElement)})}stop(t,n){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:o}=n;this.startAnimation(o);const{onDragEnd:a}=this.getProps();a&&Oe.update(()=>a(t,n))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,r){const{drag:o}=this.getProps();if(!r||!di(t,o,this.currentDirection))return;const a=this.getAxisMotionValue(t);let i=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(i=l3(i,this.constraints[t],this.elastic[t])),a.set(i)}resolveConstraints(){var t;const{dragConstraints:n,dragElastic:r}=this.getProps(),o=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)===null||t===void 0?void 0:t.layout,a=this.constraints;n&&Sr(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&o?this.constraints=u3(o.layoutBox,n):this.constraints=!1,this.elastic=p3(r),a!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&zt(i=>{this.getAxisMotionValue(i)&&(this.constraints[i]=f3(o.layoutBox[i],this.constraints[i]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Sr(t))return!1;const r=t.current;kt(r!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:o}=this.visualElement;if(!o||!o.layout)return!1;const a=y3(r,o.root,this.visualElement.getTransformPagePoint());let i=c3(o.layout.layoutBox,a);if(n){const s=n(m3(i));this.hasMutatedConstraints=!!s,s&&(i=f0(s))}return i}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:o,dragTransition:a,dragSnapToOrigin:i,onDragTransitionEnd:s}=this.getProps(),l=this.constraints||{},u=zt(c=>{if(!di(c,n,this.currentDirection))return;let d=l&&l[c]||{};i&&(d={min:0,max:0});const p=o?200:1e6,m=o?40:1e7,h={type:"inertia",velocity:r?t[c]:0,bounceStiffness:p,bounceDamping:m,timeConstant:750,restDelta:1,restSpeed:10,...a,...d};return this.startAxisValueAnimation(c,h)});return Promise.all(u).then(s)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return r.start(jl(t,r,0,n))}stopAnimation(){zt(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){const n="_drag"+t.toUpperCase(),r=this.visualElement.getProps(),o=r[n];return o||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){zt(n=>{const{drag:r}=this.getProps();if(!di(n,r,this.currentDirection))return;const{projection:o}=this.visualElement,a=this.getAxisMotionValue(n);if(o&&o.layout){const{min:i,max:s}=o.layout.layoutBox[n];a.set(t[n]-Re(i,s,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!Sr(n)||!r||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};zt(i=>{const s=this.getAxisMotionValue(i);if(s){const l=s.get();o[i]=d3({min:l,max:l},this.constraints[i])}});const{transformTemplate:a}=this.visualElement.getProps();this.visualElement.current.style.transform=a?a({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),zt(i=>{if(!di(i,t,null))return;const s=this.getAxisMotionValue(i),{min:l,max:u}=this.constraints[i];s.set(Re(l,u,o[i]))})}addListeners(){if(!this.visualElement.current)return;x3.set(this.visualElement,this);const t=this.visualElement.current,n=rn(t,"pointerdown",l=>{const{drag:u,dragListener:c=!0}=this.getProps();u&&c&&this.start(l)}),r=()=>{const{dragConstraints:l}=this.getProps();Sr(l)&&(this.constraints=this.resolveRefConstraints())},{projection:o}=this.visualElement,a=o.addEventListener("measure",r);o&&!o.layout&&(o.root&&o.root.updateScroll(),o.updateLayout()),r();const i=nn(window,"resize",()=>this.scalePositionWithinConstraints()),s=o.addEventListener("didUpdate",({delta:l,hasLayoutChanged:u})=>{this.isDragging&&u&&(zt(c=>{const d=this.getAxisMotionValue(c);d&&(this.originPoint[c]+=l[c].translate,d.set(d.get()+l[c].translate))}),this.visualElement.render())});return()=>{i(),n(),a(),s&&s()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:o=!1,dragConstraints:a=!1,dragElastic:i=Zl,dragMomentum:s=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:o,dragConstraints:a,dragElastic:i,dragMomentum:s}}}function di(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function w3(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class I3 extends In{constructor(t){super(t),this.removeGroupControls=ze,this.removeListeners=ze,this.controls=new C3(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||ze}unmount(){this.removeGroupControls(),this.removeListeners()}}const C0=e=>(t,n)=>{e&&Oe.update(()=>e(t,n))};class E3 extends In{constructor(){super(...arguments),this.removePointerDownListener=ze}onPointerDown(t){this.session=new e0(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:x0(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:o}=this.node.getProps();return{onSessionStart:C0(t),onStart:C0(n),onMove:r,onEnd:(a,i)=>{delete this.session,o&&Oe.update(()=>o(a,i))}}}mount(){this.removePointerDownListener=rn(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}function P3(){const e=f.useContext(Xa);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:n,register:r}=e,o=f.useId();return f.useEffect(()=>r(o),[]),!t&&n?[!1,()=>n&&n(o)]:[!0]}const fi={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function w0(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const To={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(fe.test(e))e=parseFloat(e);else return e;const n=w0(e,t.target.x),r=w0(e,t.target.y);return`${n}% ${r}%`}},S3={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,o=Pn.parse(e);if(o.length>5)return r;const a=Pn.createTransformer(e),i=typeof o[0]!="number"?1:0,s=n.x.scale*t.x,l=n.y.scale*t.y;o[0+i]/=s,o[1+i]/=l;const u=Re(s,l,.5);return typeof o[2+i]=="number"&&(o[2+i]/=u),typeof o[3+i]=="number"&&(o[3+i]/=u),a(o)}};class M3 extends f.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:o}=this.props,{projection:a}=t;By(A3),a&&(n.group&&n.group.add(a),r&&r.register&&o&&r.register(a),a.root.didUpdate(),a.addEventListener("animationComplete",()=>{this.safeToRemove()}),a.setOptions({...a.options,onExitComplete:()=>this.safeToRemove()})),fi.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:o,isPresent:a}=this.props,i=r.projection;return i&&(i.isPresent=a,o||t.layoutDependency!==n||n===void 0?i.willUpdate():this.safeToRemove(),t.isPresent!==a&&(a?i.promote():i.relegate()||Oe.postRender(()=>{const s=i.getStack();(!s||!s.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),queueMicrotask(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:o}=t;o&&(o.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(o),r&&r.deregister&&r.deregister(o))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function I0(e){const[t,n]=P3(),r=f.useContext(go);return f.createElement(M3,{...e,layoutGroup:r,switchLayoutGroup:f.useContext(jf),isPresent:t,safeToRemove:n})}const A3={borderRadius:{...To,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:To,borderTopRightRadius:To,borderBottomLeftRadius:To,borderBottomRightRadius:To,boxShadow:S3},E0=["TopLeft","TopRight","BottomLeft","BottomRight"],T3=E0.length,P0=e=>typeof e=="string"?parseFloat(e):e,S0=e=>typeof e=="number"||fe.test(e);function D3(e,t,n,r,o,a){o?(e.opacity=Re(0,n.opacity!==void 0?n.opacity:1,N3(r)),e.opacityExit=Re(t.opacity!==void 0?t.opacity:1,0,$3(r))):a&&(e.opacity=Re(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,r));for(let i=0;i<T3;i++){const s=`border${E0[i]}Radius`;let l=M0(t,s),u=M0(n,s);if(l===void 0&&u===void 0)continue;l||(l=0),u||(u=0),l===0||u===0||S0(l)===S0(u)?(e[s]=Math.max(Re(P0(l),P0(u),r),0),(Rt.test(u)||Rt.test(l))&&(e[s]+="%")):e[s]=u}(t.rotate||n.rotate)&&(e.rotate=Re(t.rotate||0,n.rotate||0,r))}function M0(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const N3=A0(0,.5,xp),$3=A0(.5,.95,ze);function A0(e,t,n){return r=>r<e?0:r>t?1:n(Po(e,t,r))}function T0(e,t){e.min=t.min,e.max=t.max}function Mt(e,t){T0(e.x,t.x),T0(e.y,t.y)}function D0(e,t,n,r,o){return e-=t,e=ci(e,1/n,r),o!==void 0&&(e=ci(e,1/o,r)),e}function k3(e,t=0,n=1,r=.5,o,a=e,i=e){if(Rt.test(t)&&(t=parseFloat(t),t=Re(i.min,i.max,t/100)-i.min),typeof t!="number")return;let s=Re(a.min,a.max,r);e===a&&(s-=t),e.min=D0(e.min,t,n,s,o),e.max=D0(e.max,t,n,s,o)}function N0(e,t,[n,r,o],a,i){k3(e,t[n],t[r],t[o],t.scale,a,i)}const O3=["x","scaleX","originX"],F3=["y","scaleY","originY"];function $0(e,t,n,r){N0(e.x,t,O3,n?n.x:void 0,r?r.x:void 0),N0(e.y,t,F3,n?n.y:void 0,r?r.y:void 0)}function k0(e){return e.translate===0&&e.scale===1}function O0(e){return k0(e.x)&&k0(e.y)}function L3(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function F0(e,t){return Math.round(e.x.min)===Math.round(t.x.min)&&Math.round(e.x.max)===Math.round(t.x.max)&&Math.round(e.y.min)===Math.round(t.y.min)&&Math.round(e.y.max)===Math.round(t.y.max)}function L0(e){return vt(e.x)/vt(e.y)}class V3{constructor(){this.members=[]}add(t){Bl(this.members,t),t.scheduleRender()}remove(t){if(Wl(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(o=>t===o);if(n===0)return!1;let r;for(let o=n;o>=0;o--){const a=this.members[o];if(a.isPresent!==!1){r=a;break}}return r?(this.promote(r),!0):!1}promote(t,n){const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,n&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:o}=t.options;o===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:r}=t;n.onExitComplete&&n.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function V0(e,t,n){let r="";const o=e.x.translate/t.x,a=e.y.translate/t.y;if((o||a)&&(r=`translate3d(${o}px, ${a}px, 0) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{rotate:l,rotateX:u,rotateY:c}=n;l&&(r+=`rotate(${l}deg) `),u&&(r+=`rotateX(${u}deg) `),c&&(r+=`rotateY(${c}deg) `)}const i=e.x.scale*t.x,s=e.y.scale*t.y;return(i!==1||s!==1)&&(r+=`scale(${i}, ${s})`),r||"none"}const j3=(e,t)=>e.depth-t.depth;class B3{constructor(){this.children=[],this.isDirty=!1}add(t){Bl(this.children,t),this.isDirty=!0}remove(t){Wl(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(j3),this.isDirty=!1,this.children.forEach(t)}}function W3(e,t){const n=performance.now(),r=({timestamp:o})=>{const a=o-n;a>=t&&(tn(r),e(a-t))};return Oe.read(r,!0),()=>tn(r)}function _3(e){window.MotionDebug&&window.MotionDebug.record(e)}function G3(e){return e instanceof SVGElement&&e.tagName!=="svg"}function R3(e,t,n){const r=ut(e)?e:Ar(e);return r.start(jl("",r,t,n)),r.animation}const j0=["","X","Y","Z"],z3={visibility:"hidden"},B0=1e3;let H3=0;const Yn={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function W0({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:o}){return class{constructor(i={},s=t==null?void 0:t()){this.id=H3++,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.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,Yn.totalNodes=Yn.resolvedTargetDeltas=Yn.recalculatedProjection=0,this.nodes.forEach(Y3),this.nodes.forEach(q3),this.nodes.forEach(e6),this.nodes.forEach(U3),_3(Yn)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=i,this.root=s?s.root||s:this,this.path=s?[...s.path,s]:[],this.parent=s,this.depth=s?s.depth+1:0;for(let l=0;l<this.path.length;l++)this.path[l].shouldResetTransform=!0;this.root===this&&(this.nodes=new B3)}addEventListener(i,s){return this.eventHandlers.has(i)||this.eventHandlers.set(i,new _l),this.eventHandlers.get(i).add(s)}notifyListeners(i,...s){const l=this.eventHandlers.get(i);l&&l.notify(...s)}hasListeners(i){return this.eventHandlers.has(i)}mount(i,s=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=G3(i),this.instance=i;const{layoutId:l,layout:u,visualElement:c}=this.options;if(c&&!c.current&&c.mount(i),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),s&&(u||l)&&(this.isLayoutDirty=!0),e){let d;const p=()=>this.root.updateBlockedByResize=!1;e(i,()=>{this.root.updateBlockedByResize=!0,d&&d(),d=W3(p,250),fi.hasAnimatedSinceResize&&(fi.hasAnimatedSinceResize=!1,this.nodes.forEach(G0))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&c&&(l||u)&&this.addEventListener("didUpdate",({delta:d,hasLayoutChanged:p,hasRelativeTargetChanged:m,layout:h})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const g=this.options.transition||c.getDefaultTransition()||a6,{onLayoutAnimationStart:b,onLayoutAnimationComplete:x}=c.getProps(),y=!this.targetLayout||!F0(this.targetLayout,h)||m,w=!p&&m;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||w||p&&(y||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(d,w);const S={...Vl(g,"layout"),onPlay:b,onComplete:x};(c.shouldReduceMotion||this.options.layoutRoot)&&(S.delay=0,S.type=!1),this.startAnimation(S)}else p||G0(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=h})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const i=this.getStack();i&&i.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,tn(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(t6),this.animationId++)}getTransformTemplate(){const{visualElement:i}=this.options;return i&&i.getProps().transformTemplate}willUpdate(i=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(!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:s,layout:l}=this.options;if(s===void 0&&!l)return;const u=this.getTransformTemplate();this.prevTransformTemplateValue=u?u(this.latestValues,""):void 0,this.updateSnapshot(),i&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(_0);return}this.isUpdating||this.nodes.forEach(J3),this.isUpdating=!1,this.nodes.forEach(Q3),this.nodes.forEach(X3),this.nodes.forEach(Z3),this.clearAllSnapshots();const s=performance.now();qe.delta=xn(0,1e3/60,s-qe.timestamp),qe.timestamp=s,qe.isProcessing=!0,xl.update.process(qe),xl.preRender.process(qe),xl.render.process(qe),qe.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(K3),this.sharedNodes.forEach(n6)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Oe.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Oe.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 l=0;l<this.path.length;l++)this.path[l].updateScroll();const i=this.layout;this.layout=this.measure(!1),this.layoutCorrected=Ye(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:s}=this.options;s&&s.notify("LayoutMeasure",this.layout.layoutBox,i?i.layoutBox:void 0)}updateScroll(i="measure"){let s=!!(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===i&&(s=!1),s&&(this.scroll={animationId:this.root.animationId,phase:i,isRoot:r(this.instance),offset:n(this.instance)})}resetTransform(){if(!o)return;const i=this.isLayoutDirty||this.shouldResetTransform,s=this.projectionDelta&&!O0(this.projectionDelta),l=this.getTransformTemplate(),u=l?l(this.latestValues,""):void 0,c=u!==this.prevTransformTemplateValue;i&&(s||Zn(this.latestValues)||c)&&(o(this.instance,u),this.shouldResetTransform=!1,this.scheduleRender())}measure(i=!0){const s=this.measurePageBox();let l=this.removeElementScroll(s);return i&&(l=this.removeTransform(l)),i6(l),{animationId:this.root.animationId,measuredBox:s,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:i}=this.options;if(!i)return Ye();const s=i.measureViewportBox(),{scroll:l}=this.root;return l&&(Sn(s.x,l.offset.x),Sn(s.y,l.offset.y)),s}removeElementScroll(i){const s=Ye();Mt(s,i);for(let l=0;l<this.path.length;l++){const u=this.path[l],{scroll:c,options:d}=u;if(u!==this.root&&c&&d.layoutScroll){if(c.isRoot){Mt(s,i);const{scroll:p}=this.root;p&&(Sn(s.x,-p.offset.x),Sn(s.y,-p.offset.y))}Sn(s.x,c.offset.x),Sn(s.y,c.offset.y)}}return s}applyTransform(i,s=!1){const l=Ye();Mt(l,i);for(let u=0;u<this.path.length;u++){const c=this.path[u];!s&&c.options.layoutScroll&&c.scroll&&c!==c.root&&Dr(l,{x:-c.scroll.offset.x,y:-c.scroll.offset.y}),Zn(c.latestValues)&&Dr(l,c.latestValues)}return Zn(this.latestValues)&&Dr(l,this.latestValues),l}removeTransform(i){const s=Ye();Mt(s,i);for(let l=0;l<this.path.length;l++){const u=this.path[l];if(!u.instance||!Zn(u.latestValues))continue;Ul(u.latestValues)&&u.updateSnapshot();const c=Ye(),d=u.measurePageBox();Mt(c,d),$0(s,u.latestValues,u.snapshot?u.snapshot.layoutBox:void 0,c)}return Zn(this.latestValues)&&$0(s,this.latestValues),s}setTargetDelta(i){this.targetDelta=i,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(i){this.options={...this.options,...i,crossfade:i.crossfade!==void 0?i.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!==qe.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(i=!1){var s;const l=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=l.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=l.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=l.isSharedProjectionDirty);const u=!!this.resumingFrom||this!==l;if(!(i||u&&this.isSharedProjectionDirty||this.isProjectionDirty||!((s=this.parent)===null||s===void 0)&&s.isProjectionDirty||this.attemptToResolveRelativeTarget))return;const{layout:d,layoutId:p}=this.options;if(!(!this.layout||!(d||p))){if(this.resolvedRelativeTargetAt=qe.timestamp,!this.targetDelta&&!this.relativeTarget){const m=this.getClosestProjectingParent();m&&m.layout&&this.animationProgress!==1?(this.relativeParent=m,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Ye(),this.relativeTargetOrigin=Ye(),Ao(this.relativeTargetOrigin,this.layout.layoutBox,m.layout.layoutBox),Mt(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=Ye(),this.targetWithTransforms=Ye()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),s3(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Mt(this.target,this.layout.layoutBox),g0(this.target,this.targetDelta)):Mt(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const m=this.getClosestProjectingParent();m&&!!m.resumingFrom==!!this.resumingFrom&&!m.options.layoutScroll&&m.target&&this.animationProgress!==1?(this.relativeParent=m,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Ye(),this.relativeTargetOrigin=Ye(),Ao(this.relativeTargetOrigin,this.target,m.target),Mt(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}Yn.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||Ul(this.parent.latestValues)||p0(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 i;const s=this.getLead(),l=!!this.resumingFrom||this!==s;let u=!0;if((this.isProjectionDirty||!((i=this.parent)===null||i===void 0)&&i.isProjectionDirty)&&(u=!1),l&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(u=!1),this.resolvedRelativeTargetAt===qe.timestamp&&(u=!1),u)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;Mt(this.layoutCorrected,this.layout.layoutBox);const p=this.treeScale.x,m=this.treeScale.y;g3(this.layoutCorrected,this.treeScale,this.path,l),s.layout&&!s.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(s.target=s.layout.layoutBox);const{target:h}=s;if(!h){this.projectionTransform&&(this.projectionDelta=Tr(),this.projectionTransform="none",this.scheduleRender());return}this.projectionDelta||(this.projectionDelta=Tr(),this.projectionDeltaWithTransform=Tr());const g=this.projectionTransform;Mo(this.projectionDelta,this.layoutCorrected,h,this.latestValues),this.projectionTransform=V0(this.projectionDelta,this.treeScale),(this.projectionTransform!==g||this.treeScale.x!==p||this.treeScale.y!==m)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",h)),Yn.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(i=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),i){const s=this.getStack();s&&s.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(i,s=!1){const l=this.snapshot,u=l?l.latestValues:{},c={...this.latestValues},d=Tr();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!s;const p=Ye(),m=l?l.source:void 0,h=this.layout?this.layout.source:void 0,g=m!==h,b=this.getStack(),x=!b||b.members.length<=1,y=!!(g&&!x&&this.options.crossfade===!0&&!this.path.some(o6));this.animationProgress=0;let w;this.mixTargetDelta=S=>{const P=S/1e3;R0(d.x,i.x,P),R0(d.y,i.y,P),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Ao(p,this.layout.layoutBox,this.relativeParent.layout.layoutBox),r6(this.relativeTarget,this.relativeTargetOrigin,p,P),w&&L3(this.relativeTarget,w)&&(this.isProjectionDirty=!1),w||(w=Ye()),Mt(w,this.relativeTarget)),g&&(this.animationValues=c,D3(c,u,this.latestValues,P,y,x)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=P},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(i){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(tn(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Oe.update(()=>{fi.hasAnimatedSinceResize=!0,this.currentAnimation=R3(0,B0,{...i,onUpdate:s=>{this.mixTargetDelta(s),i.onUpdate&&i.onUpdate(s)},onComplete:()=>{i.onComplete&&i.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 i=this.getStack();i&&i.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(B0),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const i=this.getLead();let{targetWithTransforms:s,target:l,layout:u,latestValues:c}=i;if(!(!s||!l||!u)){if(this!==i&&this.layout&&u&&Y0(this.options.animationType,this.layout.layoutBox,u.layoutBox)){l=this.target||Ye();const d=vt(this.layout.layoutBox.x);l.x.min=i.target.x.min,l.x.max=l.x.min+d;const p=vt(this.layout.layoutBox.y);l.y.min=i.target.y.min,l.y.max=l.y.min+p}Mt(s,l),Dr(s,c),Mo(this.projectionDeltaWithTransform,this.layoutCorrected,s,c)}}registerSharedNode(i,s){this.sharedNodes.has(i)||this.sharedNodes.set(i,new V3),this.sharedNodes.get(i).add(s);const u=s.options.initialPromotionConfig;s.promote({transition:u?u.transition:void 0,preserveFollowOpacity:u&&u.shouldPreserveFollowOpacity?u.shouldPreserveFollowOpacity(s):void 0})}isLead(){const i=this.getStack();return i?i.lead===this:!0}getLead(){var i;const{layoutId:s}=this.options;return s?((i=this.getStack())===null||i===void 0?void 0:i.lead)||this:this}getPrevLead(){var i;const{layoutId:s}=this.options;return s?(i=this.getStack())===null||i===void 0?void 0:i.prevLead:void 0}getStack(){const{layoutId:i}=this.options;if(i)return this.root.sharedNodes.get(i)}promote({needsReset:i,transition:s,preserveFollowOpacity:l}={}){const u=this.getStack();u&&u.promote(this,l),i&&(this.projectionDelta=void 0,this.needsReset=!0),s&&this.setOptions({transition:s})}relegate(){const i=this.getStack();return i?i.relegate(this):!1}resetRotation(){const{visualElement:i}=this.options;if(!i)return;let s=!1;const{latestValues:l}=i;if((l.rotate||l.rotateX||l.rotateY||l.rotateZ)&&(s=!0),!s)return;const u={};for(let c=0;c<j0.length;c++){const d="rotate"+j0[c];l[d]&&(u[d]=l[d],i.setStaticValue(d,0))}i.render();for(const c in u)i.setStaticValue(c,u[c]);i.scheduleRender()}getProjectionStyles(i){var s,l;if(!this.instance||this.isSVG)return;if(!this.isVisible)return z3;const u={visibility:""},c=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,u.opacity="",u.pointerEvents=ti(i==null?void 0:i.pointerEvents)||"",u.transform=c?c(this.latestValues,""):"none",u;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=ti(i==null?void 0:i.pointerEvents)||""),this.hasProjected&&!Zn(this.latestValues)&&(g.transform=c?c({},""):"none",this.hasProjected=!1),g}const p=d.animationValues||d.latestValues;this.applyTransformsToTarget(),u.transform=V0(this.projectionDeltaWithTransform,this.treeScale,p),c&&(u.transform=c(p,u.transform));const{x:m,y:h}=this.projectionDelta;u.transformOrigin=`${m.origin*100}% ${h.origin*100}% 0`,d.animationValues?u.opacity=d===this?(l=(s=p.opacity)!==null&&s!==void 0?s:this.latestValues.opacity)!==null&&l!==void 0?l:1:this.preserveOpacity?this.latestValues.opacity:p.opacityExit:u.opacity=d===this?p.opacity!==void 0?p.opacity:"":p.opacityExit!==void 0?p.opacityExit:0;for(const g in Ka){if(p[g]===void 0)continue;const{correct:b,applyTo:x}=Ka[g],y=u.transform==="none"?p[g]:b(p[g],d);if(x){const w=x.length;for(let S=0;S<w;S++)u[x[S]]=y}else u[g]=y}return this.options.layoutId&&(u.pointerEvents=d===this?ti(i==null?void 0:i.pointerEvents)||"":"none"),u}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(i=>{var s;return(s=i.currentAnimation)===null||s===void 0?void 0:s.stop()}),this.root.nodes.forEach(_0),this.root.sharedNodes.clear()}}}function X3(e){e.updateLayout()}function Z3(e){var t;const n=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:o}=e.layout,{animationType:a}=e.options,i=n.source!==e.layout.source;a==="size"?zt(d=>{const p=i?n.measuredBox[d]:n.layoutBox[d],m=vt(p);p.min=r[d].min,p.max=p.min+m}):Y0(a,n.layoutBox,r)&&zt(d=>{const p=i?n.measuredBox[d]:n.layoutBox[d],m=vt(r[d]);p.max=p.min+m,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[d].max=e.relativeTarget[d].min+m)});const s=Tr();Mo(s,r,n.layoutBox);const l=Tr();i?Mo(l,e.applyTransform(o,!0),n.measuredBox):Mo(l,r,n.layoutBox);const u=!O0(s);let c=!1;if(!e.resumeFrom){const d=e.getClosestProjectingParent();if(d&&!d.resumeFrom){const{snapshot:p,layout:m}=d;if(p&&m){const h=Ye();Ao(h,n.layoutBox,p.layoutBox);const g=Ye();Ao(g,r,m.layoutBox),F0(h,g)||(c=!0),d.options.layoutRoot&&(e.relativeTarget=g,e.relativeTargetOrigin=h,e.relativeParent=d)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:n,delta:l,layoutDelta:s,hasLayoutChanged:u,hasRelativeTargetChanged:c})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function Y3(e){Yn.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 U3(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function K3(e){e.clearSnapshot()}function _0(e){e.clearMeasurements()}function J3(e){e.isLayoutDirty=!1}function Q3(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function G0(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function q3(e){e.resolveTargetDelta()}function e6(e){e.calcProjection()}function t6(e){e.resetRotation()}function n6(e){e.removeLeadSnapshot()}function R0(e,t,n){e.translate=Re(t.translate,0,n),e.scale=Re(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function z0(e,t,n,r){e.min=Re(t.min,n.min,r),e.max=Re(t.max,n.max,r)}function r6(e,t,n,r){z0(e.x,t.x,n.x,r),z0(e.y,t.y,n.y,r)}function o6(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const a6={duration:.45,ease:[.4,0,.1,1]},H0=e=>typeof navigator<"u"&&navigator.userAgent.toLowerCase().includes(e),X0=H0("applewebkit/")&&!H0("chrome/")?Math.round:ze;function Z0(e){e.min=X0(e.min),e.max=X0(e.max)}function i6(e){Z0(e.x),Z0(e.y)}function Y0(e,t,n){return e==="position"||e==="preserve-aspect"&&!Xl(L0(t),L0(n),.2)}const s6=W0({attachResizeListener:(e,t)=>nn(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Jl={current:void 0},U0=W0({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Jl.current){const e=new s6({});e.mount(window),e.setOptions({layoutScroll:!0}),Jl.current=e}return Jl.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),l6={pan:{Feature:E3},drag:{Feature:I3,ProjectionNode:U0,MeasureLayout:I0}},u6=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function c6(e){const t=u6.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]}const d6=4;function Ql(e,t,n=1){kt(n<=d6,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[r,o]=c6(e);if(!r)return;const a=window.getComputedStyle(t).getPropertyValue(r);if(a){const i=a.trim();return Yp(i)?parseFloat(i):i}else return pl(o)?Ql(o,t,n+1):o}function f6(e,{...t},n){const r=e.current;if(!(r instanceof Element))return{target:t,transitionEnd:n};n&&(n={...n}),e.values.forEach(o=>{const a=o.get();if(!pl(a))return;const i=Ql(a,r);i&&o.set(i)});for(const o in t){const a=t[o];if(!pl(a))continue;const i=Ql(a,r);i&&(t[o]=i,n||(n={}),n[o]===void 0&&(n[o]=a))}return{target:t,transitionEnd:n}}const p6=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),K0=e=>p6.has(e),m6=e=>Object.keys(e).some(K0),pi=e=>e===zn||e===fe,J0=(e,t)=>parseFloat(e.split(", ")[t]),Q0=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const o=r.match(/^matrix3d\((.+)\)$/);if(o)return J0(o[1],t);{const a=r.match(/^matrix\((.+)\)$/);return a?J0(a[1],e):0}},h6=new Set(["x","y","z"]),g6=bo.filter(e=>!h6.has(e));function b6(e){const t=[];return g6.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t.length&&e.render(),t}const Nr={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:Q0(4,13),y:Q0(5,14)};Nr.translateX=Nr.x,Nr.translateY=Nr.y;const v6=(e,t,n)=>{const r=t.measureViewportBox(),o=t.current,a=getComputedStyle(o),{display:i}=a,s={};i==="none"&&t.setStaticValue("display",e.display||"block"),n.forEach(u=>{s[u]=Nr[u](r,a)}),t.render();const l=t.measureViewportBox();return n.forEach(u=>{const c=t.getValue(u);c&&c.jump(s[u]),e[u]=Nr[u](l,a)}),e},y6=(e,t,n={},r={})=>{t={...t},r={...r};const o=Object.keys(t).filter(K0);let a=[],i=!1;const s=[];if(o.forEach(l=>{const u=e.getValue(l);if(!e.hasValue(l))return;let c=n[l],d=So(c);const p=t[l];let m;if(ei(p)){const h=p.length,g=p[0]===null?1:0;c=p[g],d=So(c);for(let b=g;b<h&&p[b]!==null;b++)m?kt(So(p[b])===m,"All keyframes must be of the same type"):(m=So(p[b]),kt(m===d||pi(d)&&pi(m),"Keyframes must be of the same dimension as the current value"))}else m=So(p);if(d!==m)if(pi(d)&&pi(m)){const h=u.get();typeof h=="string"&&u.set(parseFloat(h)),typeof p=="string"?t[l]=parseFloat(p):Array.isArray(p)&&m===fe&&(t[l]=p.map(parseFloat))}else d!=null&&d.transform&&(m!=null&&m.transform)&&(c===0||p===0)?c===0?u.set(m.transform(c)):t[l]=d.transform(p):(i||(a=b6(e),i=!0),s.push(l),r[l]=r[l]!==void 0?r[l]:t[l],u.jump(p))}),s.length){const l=s.indexOf("height")>=0?window.pageYOffset:null,u=v6(t,e,s);return a.length&&a.forEach(([c,d])=>{e.getValue(c).set(d)}),e.render(),Za&&l!==null&&window.scrollTo({top:l}),{target:u,transitionEnd:r}}else return{target:t,transitionEnd:r}};function x6(e,t,n,r){return m6(t)?y6(e,t,n,r):{target:t,transitionEnd:r}}const C6=(e,t,n,r)=>{const o=f6(e,t,r);return t=o.target,r=o.transitionEnd,x6(e,t,n,r)},ql={current:null},q0={current:!1};function w6(){if(q0.current=!0,!!Za)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>ql.current=e.matches;e.addListener(t),t()}else ql.current=!1}function I6(e,t,n){const{willChange:r}=t;for(const o in t){const a=t[o],i=n[o];if(ut(a))e.addValue(o,a),ui(r)&&r.add(o),process.env.NODE_ENV==="development"&&Gl(a.version==="10.16.16",`Attempting to mix Framer Motion versions ${a.version} with 10.16.16 may not work as expected.`);else if(ut(i))e.addValue(o,Ar(a,{owner:e})),ui(r)&&r.remove(o);else if(i!==a)if(e.hasValue(o)){const s=e.getValue(o);!s.hasAnimated&&s.set(a)}else{const s=e.getStaticValue(o);e.addValue(o,Ar(s!==void 0?s:a,{owner:e}))}}for(const o in n)t[o]===void 0&&e.removeValue(o);return t}const e1=new WeakMap,t1=Object.keys(ho),E6=t1.length,n1=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],P6=dl.length;class S6{constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:o,visualState:a},i={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>Oe.render(this.render,!1,!0);const{latestValues:s,renderState:l}=a;this.latestValues=s,this.baseTarget={...s},this.initialValues=n.initial?{...s}:{},this.renderState=l,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=o,this.options=i,this.isControllingVariants=Ua(n),this.isVariantNode=Ff(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:u,...c}=this.scrapeMotionValuesFromProps(n,{});for(const d in c){const p=c[d];s[d]!==void 0&&ut(p)&&(p.set(s[d],!1),ui(u)&&u.add(d))}}scrapeMotionValuesFromProps(t,n){return{}}mount(t){this.current=t,e1.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,r)=>this.bindToMotionValue(r,n)),q0.current||w6(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:ql.current,process.env.NODE_ENV!=="production"&&Gl(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(){e1.delete(this.current),this.projection&&this.projection.unmount(),tn(this.notifyUpdate),tn(this.render),this.valueSubscriptions.forEach(t=>t()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features)this.features[t].unmount();this.current=null}bindToMotionValue(t,n){const r=Rn.has(t),o=n.on("change",i=>{this.latestValues[t]=i,this.props.onUpdate&&Oe.update(this.notifyUpdate,!1,!0),r&&this.projection&&(this.projection.isTransformDirty=!0)}),a=n.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{o(),a()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}loadFeatures({children:t,...n},r,o,a){let i,s;if(process.env.NODE_ENV!=="production"&&o&&r){const l="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";n.ignoreStrict?wo(!1,l):kt(!1,l)}for(let l=0;l<E6;l++){const u=t1[l],{isEnabled:c,Feature:d,ProjectionNode:p,MeasureLayout:m}=ho[u];p&&(i=p),c(n)&&(!this.features[u]&&d&&(this.features[u]=new d(this)),m&&(s=m))}if(!this.projection&&i){this.projection=new i(this.latestValues,this.parent&&this.parent.projection);const{layoutId:l,layout:u,drag:c,dragConstraints:d,layoutScroll:p,layoutRoot:m}=n;this.projection.setOptions({layoutId:l,layout:u,alwaysMeasureLayout:!!c||d&&Sr(d),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:typeof u=="string"?u:"both",initialPromotionConfig:a,layoutScroll:p,layoutRoot:m})}return s}updateFeatures(){for(const t in this.features){const n=this.features[t];n.isMounted?n.update():(n.mount(),n.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Ye()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}makeTargetAnimatable(t,n=!0){return this.makeTargetAnimatableFromInstance(t,this.props,n)}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;r<n1.length;r++){const o=n1[r];this.propEventSubscriptions[o]&&(this.propEventSubscriptions[o](),delete this.propEventSubscriptions[o]);const a=t["on"+o];a&&(this.propEventSubscriptions[o]=this.on(o,a))}this.prevMotionValues=I6(this,this.scrapeMotionValuesFromProps(t,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(t=!1){if(t)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){const r=this.parent?this.parent.getVariantContext()||{}:{};return this.props.initial!==void 0&&(r.initial=this.props.initial),r}const n={};for(let r=0;r<P6;r++){const o=dl[r],a=this.props[o];(mo(a)||a===!1)&&(n[o]=a)}return n}addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){n!==this.values.get(t)&&(this.removeValue(t),this.bindToMotionValue(t,n)),this.values.set(t,n),this.latestValues[t]=n.get()}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=Ar(n,{owner:this}),this.addValue(t,r)),r}readValue(t){var n;return this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(n=this.getBaseTargetFromProps(this.props,t))!==null&&n!==void 0?n:this.readValueFromInstance(this.current,t,this.options)}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var n;const{initial:r}=this.props,o=typeof r=="string"||typeof r=="object"?(n=yl(this.props,r))===null||n===void 0?void 0:n[t]:void 0;if(r&&o!==void 0)return o;const a=this.getBaseTargetFromProps(this.props,t);return a!==void 0&&!ut(a)?a:this.initialValues[t]!==void 0&&o===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new _l),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class r1 extends S6{sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}makeTargetAnimatableFromInstance({transition:t,transitionEnd:n,...r},{transformValues:o},a){let i=G4(r,t||{},this);if(o&&(n&&(n=o(n)),r&&(r=o(r)),i&&(i=o(i))),a){W4(this,r,i);const s=C6(this,r,i,n);n=s.transitionEnd,r=s.target}return{transition:t,transitionEnd:n,...r}}}function M6(e){return window.getComputedStyle(e)}class A6 extends r1{readValueFromInstance(t,n){if(Rn.has(n)){const r=Ll(n);return r&&r.default||0}else{const r=M6(t),o=(_f(n)?r.getPropertyValue(n):r[n])||0;return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(t,{transformPagePoint:n}){return y0(t,n)}build(t,n,r,o){ml(t,n,r,o.transformTemplate)}scrapeMotionValuesFromProps(t,n){return vl(t,n)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;ut(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}renderInstance(t,n,r,o){Kf(t,n,r,o)}}class T6 extends r1{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(Rn.has(n)){const r=Ll(n);return r&&r.default||0}return n=Jf.has(n)?n:ul(n),t.getAttribute(n)}measureInstanceViewportBox(){return Ye()}scrapeMotionValuesFromProps(t,n){return qf(t,n)}build(t,n,r,o){gl(t,n,r,this.isSVGTag,o.transformTemplate)}renderInstance(t,n,r,o){Qf(t,n,r,o)}mount(t){this.isSVGTag=bl(t.tagName),super.mount(t)}}const D6=(e,t)=>fl(e)?new T6(t,{enableHardwareAcceleration:!1}):new A6(t,{enableHardwareAcceleration:!0}),N6={...r3,...A5,...l6,...{layout:{ProjectionNode:U0,MeasureLayout:I0}}},o1=Vy((e,t)=>h5(e,t,N6,D6));function a1(){const e=f.useRef(!1);return ll(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function i1(){const e=a1(),[t,n]=f.useState(0),r=f.useCallback(()=>{e.current&&n(t+1)},[t]);return[f.useCallback(()=>Oe.postRender(r),[r]),t]}class $6 extends V.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent){const r=this.props.sizeRef.current;r.height=n.offsetHeight||0,r.width=n.offsetWidth||0,r.top=n.offsetTop,r.left=n.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function k6({children:e,isPresent:t}){const n=f.useId(),r=f.useRef(null),o=f.useRef({width:0,height:0,top:0,left:0});return f.useInsertionEffect(()=>{const{width:a,height:i,top:s,left:l}=o.current;if(t||!r.current||!a||!i)return;r.current.dataset.motionPopId=n;const u=document.createElement("style");return document.head.appendChild(u),u.sheet&&u.sheet.insertRule(`
|
|
28
28
|
[data-motion-pop-id="${n}"] {
|
|
29
29
|
position: absolute !important;
|
|
30
30
|
width: ${a}px !important;
|
|
@@ -32,7 +32,7 @@ Check the top-level render call using <`+_+">.")}return L}}function ba(C,L){{if(
|
|
|
32
32
|
top: ${s}px !important;
|
|
33
33
|
left: ${l}px !important;
|
|
34
34
|
}
|
|
35
|
-
`),()=>{document.head.removeChild(u)}},[t]),V.createElement($6,{isPresent:t,childRef:r,sizeRef:o},V.cloneElement(e,{ref:r}))}const eu=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:o,presenceAffectsLayout:a,mode:i})=>{const s=ep(O6),l=f.useId(),u=f.useMemo(()=>({id:l,initial:t,isPresent:n,custom:o,onExitComplete:c=>{s.set(c,!0);for(const d of s.values())if(!d)return;r&&r()},register:c=>(s.set(c,!1),()=>s.delete(c))}),a?void 0:[n]);return f.useMemo(()=>{s.forEach((c,d)=>s.set(d,!1))},[n]),V.useEffect(()=>{!n&&!s.size&&r&&r()},[n]),i==="popLayout"&&(e=V.createElement(k6,{isPresent:n},e)),V.createElement(Xa.Provider,{value:u},e)};function O6(){return new Map}function F6(e){return f.useEffect(()=>()=>e(),[])}const Un=e=>e.key||"";function L6(e,t){e.forEach(n=>{const r=Un(n);t.set(r,n)})}function V6(e){const t=[];return f.Children.forEach(e,n=>{f.isValidElement(n)&&t.push(n)}),t}const j6=({children:e,custom:t,initial:n=!0,onExitComplete:r,exitBeforeEnter:o,presenceAffectsLayout:a=!0,mode:i="sync"})=>{kt(!o,"Replace exitBeforeEnter with mode='wait'");const s=f.useContext(go).forceRender||i1()[0],l=a1(),u=V6(e);let c=u;const d=f.useRef(new Map).current,p=f.useRef(c),m=f.useRef(new Map).current,h=f.useRef(!0);if(ll(()=>{h.current=!1,L6(u,m),p.current=c}),F6(()=>{h.current=!0,m.clear(),d.clear()}),h.current)return V.createElement(V.Fragment,null,c.map(y=>V.createElement(eu,{key:Un(y),isPresent:!0,initial:n?void 0:!1,presenceAffectsLayout:a,mode:i},y)));c=[...c];const g=p.current.map(Un),b=u.map(Un),x=g.length;for(let y=0;y<x;y++){const w=g[y];b.indexOf(w)===-1&&!d.has(w)&&d.set(w,void 0)}return i==="wait"&&d.size&&(c=[]),d.forEach((y,w)=>{if(b.indexOf(w)!==-1)return;const S=m.get(w);if(!S)return;const E=g.indexOf(w);let A=y;if(!A){const T=()=>{d.delete(w);const v=Array.from(m.keys()).filter(D=>!b.includes(D));if(v.forEach(D=>m.delete(D)),p.current=u.filter(D=>{const $=Un(D);return $===w||v.includes($)}),!d.size){if(l.current===!1)return;s(),r&&r()}};A=V.createElement(eu,{key:Un(S),isPresent:!1,onExitComplete:T,custom:t,presenceAffectsLayout:a,mode:i},S),d.set(w,A)}c.splice(E,0,A)}),c=c.map(y=>{const w=y.key;return d.has(w)?y:V.createElement(eu,{key:Un(y),isPresent:!0,presenceAffectsLayout:a,mode:i},y)}),process.env.NODE_ENV!=="production"&&i==="wait"&&c.length>1&&console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`),V.createElement(V.Fragment,null,d.size?c:c.map(y=>f.cloneElement(y)))},B6=f.createContext(null),W6=e=>!e.isLayoutDirty&&e.willUpdate(!1);function s1(){const e=new Set,t=new WeakMap,n=()=>e.forEach(W6);return{add:r=>{e.add(r),t.set(r,r.addEventListener("willUpdate",n))},remove:r=>{e.delete(r);const o=t.get(r);o&&(o(),t.delete(r)),n()},dirty:n}}const l1=e=>e===!0,_6=e=>l1(e===!0)||e==="id",G6=({children:e,id:t,inherit:n=!0})=>{const r=f.useContext(go),o=f.useContext(B6),[a,i]=i1(),s=f.useRef(null),l=r.id||o;s.current===null&&(_6(n)&&l&&(t=t?l+"-"+t:l),s.current={id:t,group:l1(n)&&r.group||s1()});const u=f.useMemo(()=>({...s.current,forceRender:a}),[i]);return V.createElement(go.Provider,{value:u},e)};function u1(e){return null}u1.getCollectionNode=function*(t,n){let{childItems:r,title:o,children:a}=t,i=t.title||t.children,s=t.textValue||(typeof i=="string"?i:"")||t["aria-label"]||"";!s&&!(n!=null&&n.suppressTextValueWarning)&&console.warn("<Item> with non-plain text contents is unsupported by type to select for accessibility. Please add a `textValue` prop."),yield{type:"item",props:t,rendered:i,textValue:s,"aria-label":t["aria-label"],hasChildNodes:R6(t),*childNodes(){if(r)for(let l of r)yield{type:"item",value:l};else if(o){let l=[];f.Children.forEach(a,u=>{l.push({type:"item",element:u})}),yield*l}}}};function R6(e){return e.hasChildItems!=null?e.hasChildItems:!!(e.childItems||e.title&&f.Children.count(e.children)>0)}let z6=u1;class H6{build(t,n){return this.context=n,c1(()=>this.iterateCollection(t))}*iterateCollection(t){let{children:n,items:r}=t;if(typeof n=="function"){if(!r)throw new Error("props.children was a function but props.items is missing");for(let o of t.items)yield*this.getFullNode({value:o},{renderer:n})}else{let o=[];f.Children.forEach(n,i=>{o.push(i)});let a=0;for(let i of o){let s=this.getFullNode({element:i,index:a},{});for(let l of s)a++,yield l}}}getKey(t,n,r,o){if(t.key!=null)return t.key;if(n.type==="cell"&&n.key!=null)return`${o}${n.key}`;let a=n.value;if(a!=null){var i;let s=(i=a.key)!==null&&i!==void 0?i:a.id;if(s==null)throw new Error("No key found for item");return s}return o?`${o}.${n.index}`:`$.${n.index}`}getChildState(t,n){return{renderer:n.renderer||t.renderer}}*getFullNode(t,n,r,o){let a=t.element;if(!a&&t.value&&n&&n.renderer){let l=this.cache.get(t.value);if(l&&(!l.shouldInvalidate||!l.shouldInvalidate(this.context))){l.index=t.index,l.parentKey=o?o.key:null,yield l;return}a=n.renderer(t.value)}if(f.isValidElement(a)){let l=a.type;if(typeof l!="function"&&typeof l.getCollectionNode!="function"){let p=typeof a.type=="function"?a.type.name:a.type;throw new Error(`Unknown element <${p}> in collection.`)}let u=l.getCollectionNode(a.props,this.context),c=t.index,d=u.next();for(;!d.done&&d.value;){let p=d.value;t.index=c;let m=p.key;m||(m=p.element?null:this.getKey(a,t,n,r));let g=[...this.getFullNode({...p,key:m,index:c,wrapper:X6(t.wrapper,p.wrapper)},this.getChildState(n,p),r?`${r}${a.key}`:a.key,o)];for(let b of g){if(b.value=p.value||t.value,b.value&&this.cache.set(b.value,b),t.type&&b.type!==t.type)throw new Error(`Unsupported type <${tu(b.type)}> in <${tu(o.type)}>. Only <${tu(t.type)}> is supported.`);c++,yield b}d=u.next(g)}return}if(t.key==null)return;let i=this,s={type:t.type,props:t.props,key:t.key,parentKey:o?o.key:null,value:t.value,level:o?o.level+1:0,index:t.index,rendered:t.rendered,textValue:t.textValue,"aria-label":t["aria-label"],wrapper:t.wrapper,shouldInvalidate:t.shouldInvalidate,hasChildNodes:t.hasChildNodes,childNodes:c1(function*(){if(!t.hasChildNodes)return;let l=0;for(let u of t.childNodes()){u.key!=null&&(u.key=`${s.key}${u.key}`),u.index=l;let c=i.getFullNode(u,i.getChildState(n,u),s.key,s);for(let d of c)l++,yield d}})};yield s}constructor(){this.cache=new WeakMap}}function c1(e){let t=[],n=null;return{*[Symbol.iterator](){for(let r of t)yield r;n||(n=e());for(let r of n)t.push(r),yield r}}}function X6(e,t){if(e&&t)return n=>e(t(n));if(e)return e;if(t)return t}function tu(e){return e[0].toUpperCase()+e.slice(1)}function Z6(e,t,n){let r=f.useMemo(()=>new H6,[]),{children:o,items:a,collection:i}=e;return f.useMemo(()=>{if(i)return i;let l=r.build({children:o,items:a},n);return t(l)},[r,o,a,i,n,t])}function Y6(e,t){return typeof t.getChildren=="function"?t.getChildren(e.key):e.childNodes}function U6(e){return K6(e,0)}function K6(e,t){if(t<0)return;let n=0;for(let r of e){if(n===t)return r;n++}}function nu(e,t,n){if(t.parentKey===n.parentKey)return t.index-n.index;let r=[...d1(e,t),t],o=[...d1(e,n),n],a=r.slice(0,o.length).findIndex((i,s)=>i!==o[s]);return a!==-1?(t=r[a],n=o[a],t.index-n.index):r.findIndex(i=>i===n)>=0?1:(o.findIndex(i=>i===t)>=0,-1)}function d1(e,t){let n=[];for(;(t==null?void 0:t.parentKey)!=null;)t=e.getItem(t.parentKey),n.unshift(t);return n}class Ot extends Set{constructor(t,n,r){super(t),t instanceof Ot?(this.anchorKey=n||t.anchorKey,this.currentKey=r||t.currentKey):(this.anchorKey=n,this.currentKey=r)}}function J6(e,t){if(e.size!==t.size)return!1;for(let n of e)if(!t.has(n))return!1;return!0}function Q6(e){let{selectionMode:t="none",disallowEmptySelection:n,allowDuplicateSelectionEvents:r,selectionBehavior:o="toggle",disabledBehavior:a="all"}=e,i=f.useRef(!1),[,s]=f.useState(!1),l=f.useRef(null),u=f.useRef(null),[,c]=f.useState(null),d=f.useMemo(()=>f1(e.selectedKeys),[e.selectedKeys]),p=f.useMemo(()=>f1(e.defaultSelectedKeys,new Ot),[e.defaultSelectedKeys]),[m,h]=hr(d,p,e.onSelectionChange),g=f.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),[b,x]=f.useState(o);o==="replace"&&b==="toggle"&&typeof m=="object"&&m.size===0&&x("replace");let y=f.useRef(o);return f.useEffect(()=>{o!==y.current&&(x(o),y.current=o)},[o]),{selectionMode:t,disallowEmptySelection:n,selectionBehavior:b,setSelectionBehavior:x,get isFocused(){return i.current},setFocused(w){i.current=w,s(w)},get focusedKey(){return l.current},get childFocusStrategy(){return u.current},setFocusedKey(w,S="first"){l.current=w,u.current=S,c(w)},selectedKeys:m,setSelectedKeys(w){(r||!J6(w,m))&&h(w)},disabledKeys:g,disabledBehavior:a}}function f1(e,t){return e?e==="all"?"all":new Ot(e):t}class q6{get selectionMode(){return this.state.selectionMode}get disallowEmptySelection(){return this.state.disallowEmptySelection}get selectionBehavior(){return this.state.selectionBehavior}setSelectionBehavior(t){this.state.setSelectionBehavior(t)}get isFocused(){return this.state.isFocused}setFocused(t){this.state.setFocused(t)}get focusedKey(){return this.state.focusedKey}get childFocusStrategy(){return this.state.childFocusStrategy}setFocusedKey(t,n){(t==null||this.collection.getItem(t))&&this.state.setFocusedKey(t,n)}get selectedKeys(){return this.state.selectedKeys==="all"?new Set(this.getSelectAllKeys()):this.state.selectedKeys}get rawSelection(){return this.state.selectedKeys}isSelected(t){return this.state.selectionMode==="none"?!1:(t=this.getKey(t),this.state.selectedKeys==="all"?this.canSelectItem(t):this.state.selectedKeys.has(t))}get isEmpty(){return this.state.selectedKeys!=="all"&&this.state.selectedKeys.size===0}get isSelectAll(){if(this.isEmpty)return!1;if(this.state.selectedKeys==="all")return!0;if(this._isSelectAll!=null)return this._isSelectAll;let t=this.getSelectAllKeys(),n=this.state.selectedKeys;return this._isSelectAll=t.every(r=>n.has(r)),this._isSelectAll}get firstSelectedKey(){let t=null;for(let n of this.state.selectedKeys){let r=this.collection.getItem(n);(!t||r&&nu(this.collection,r,t)<0)&&(t=r)}return t==null?void 0:t.key}get lastSelectedKey(){let t=null;for(let n of this.state.selectedKeys){let r=this.collection.getItem(n);(!t||r&&nu(this.collection,r,t)>0)&&(t=r)}return t==null?void 0:t.key}get disabledKeys(){return this.state.disabledKeys}get disabledBehavior(){return this.state.disabledBehavior}extendSelection(t){if(this.selectionMode==="none")return;if(this.selectionMode==="single"){this.replaceSelection(t);return}t=this.getKey(t);let n;if(this.state.selectedKeys==="all")n=new Ot([t],t,t);else{let r=this.state.selectedKeys,o=r.anchorKey||t;n=new Ot(r,o,t);for(let a of this.getKeyRange(o,r.currentKey||t))n.delete(a);for(let a of this.getKeyRange(t,o))this.canSelectItem(a)&&n.add(a)}this.state.setSelectedKeys(n)}getKeyRange(t,n){let r=this.collection.getItem(t),o=this.collection.getItem(n);return r&&o?nu(this.collection,r,o)<=0?this.getKeyRangeInternal(t,n):this.getKeyRangeInternal(n,t):[]}getKeyRangeInternal(t,n){let r=[],o=t;for(;o;){let a=this.collection.getItem(o);if((a&&a.type==="item"||a.type==="cell"&&this.allowsCellSelection)&&r.push(o),o===n)return r;o=this.collection.getKeyAfter(o)}return[]}getKey(t){let n=this.collection.getItem(t);if(!n||n.type==="cell"&&this.allowsCellSelection)return t;for(;n.type!=="item"&&n.parentKey!=null;)n=this.collection.getItem(n.parentKey);return!n||n.type!=="item"?null:n.key}toggleSelection(t){if(this.selectionMode==="none")return;if(this.selectionMode==="single"&&!this.isSelected(t)){this.replaceSelection(t);return}if(t=this.getKey(t),t==null)return;let n=new Ot(this.state.selectedKeys==="all"?this.getSelectAllKeys():this.state.selectedKeys);n.has(t)?n.delete(t):this.canSelectItem(t)&&(n.add(t),n.anchorKey=t,n.currentKey=t),!(this.disallowEmptySelection&&n.size===0)&&this.state.setSelectedKeys(n)}replaceSelection(t){if(this.selectionMode==="none"||(t=this.getKey(t),t==null))return;let n=this.canSelectItem(t)?new Ot([t],t,t):new Ot;this.state.setSelectedKeys(n)}setSelectedKeys(t){if(this.selectionMode==="none")return;let n=new Ot;for(let r of t)if(r=this.getKey(r),r!=null&&(n.add(r),this.selectionMode==="single"))break;this.state.setSelectedKeys(n)}getSelectAllKeys(){let t=[],n=r=>{for(;r;){if(this.canSelectItem(r)){let o=this.collection.getItem(r);o.type==="item"&&t.push(r),o.hasChildNodes&&(this.allowsCellSelection||o.type!=="item")&&n(U6(Y6(o,this.collection)).key)}r=this.collection.getKeyAfter(r)}};return n(this.collection.getFirstKey()),t}selectAll(){!this.isSelectAll&&this.selectionMode==="multiple"&&this.state.setSelectedKeys("all")}clearSelection(){!this.disallowEmptySelection&&(this.state.selectedKeys==="all"||this.state.selectedKeys.size>0)&&this.state.setSelectedKeys(new Ot)}toggleSelectAll(){this.isSelectAll?this.clearSelection():this.selectAll()}select(t,n){this.selectionMode!=="none"&&(this.selectionMode==="single"?this.isSelected(t)&&!this.disallowEmptySelection?this.toggleSelection(t):this.replaceSelection(t):this.selectionBehavior==="toggle"||n&&(n.pointerType==="touch"||n.pointerType==="virtual")?this.toggleSelection(t):this.replaceSelection(t))}isSelectionEqual(t){if(t===this.state.selectedKeys)return!0;let n=this.selectedKeys;if(t.size!==n.size)return!1;for(let r of t)if(!n.has(r))return!1;for(let r of n)if(!t.has(r))return!1;return!0}canSelectItem(t){if(this.state.selectionMode==="none"||this.state.disabledKeys.has(t))return!1;let n=this.collection.getItem(t);return!(!n||n.type==="cell"&&!this.allowsCellSelection)}isDisabled(t){return this.state.disabledKeys.has(t)&&this.state.disabledBehavior==="all"}isLink(t){var n,r;return!!(!((r=this.collection.getItem(t))===null||r===void 0||(n=r.props)===null||n===void 0)&&n.href)}constructor(t,n,r){this.collection=t,this.state=n;var o;this.allowsCellSelection=(o=r==null?void 0:r.allowsCellSelection)!==null&&o!==void 0?o:!1,this._isSelectAll=null}}var e9=()=>F.jsxs("svg",{"aria-hidden":"true",fill:"none",height:"80%",role:"presentation",viewBox:"0 0 24 24",width:"80%",children:[F.jsx("path",{d:"M12 2C9.38 2 7.25 4.13 7.25 6.75C7.25 9.32 9.26 11.4 11.88 11.49C11.96 11.48 12.04 11.48 12.1 11.49C12.12 11.49 12.13 11.49 12.15 11.49C12.16 11.49 12.16 11.49 12.17 11.49C14.73 11.4 16.74 9.32 16.75 6.75C16.75 4.13 14.62 2 12 2Z",fill:"currentColor"}),F.jsx("path",{d:"M17.0809 14.1489C14.2909 12.2889 9.74094 12.2889 6.93094 14.1489C5.66094 14.9989 4.96094 16.1489 4.96094 17.3789C4.96094 18.6089 5.66094 19.7489 6.92094 20.5889C8.32094 21.5289 10.1609 21.9989 12.0009 21.9989C13.8409 21.9989 15.6809 21.5289 17.0809 20.5889C18.3409 19.7389 19.0409 18.5989 19.0409 17.3589C19.0309 16.1289 18.3409 14.9889 17.0809 14.1489Z",fill:"currentColor"})]}),[wD,t9]=Wa({name:"AvatarGroupContext",strict:!1}),n9=globalThis!=null&&globalThis.document?f.useLayoutEffect:f.useEffect;function r9(e={}){const{loading:t,src:n,srcSet:r,onLoad:o,onError:a,crossOrigin:i,sizes:s,ignoreFallback:l}=e,[u,c]=f.useState("pending");f.useEffect(()=>{c(n?"loading":"pending")},[n]);const d=f.useRef(),p=f.useCallback(()=>{if(!n)return;m();const h=new Image;h.src=n,i&&(h.crossOrigin=i),r&&(h.srcset=r),s&&(h.sizes=s),t&&(h.loading=t),h.onload=g=>{m(),c("loaded"),o==null||o(g)},h.onerror=g=>{m(),c("failed"),a==null||a(g)},d.current=h},[n,i,r,s,o,a,t]),m=()=>{d.current&&(d.current.onload=null,d.current.onerror=null,d.current=null)};return n9(()=>{if(!l)return u==="loading"&&p(),()=>{m()}},[u,p,l]),l?"loaded":u}function o9(e={}){var t,n,r,o,a;const i=t9(),s=!!i,{as:l,ref:u,src:c,name:d,icon:p,classNames:m,fallback:h,alt:g=d||"avatar",imgRef:b,color:x=(t=i==null?void 0:i.color)!=null?t:"default",radius:y=(n=i==null?void 0:i.radius)!=null?n:"full",size:w=(r=i==null?void 0:i.size)!=null?r:"md",isBordered:S=(o=i==null?void 0:i.isBordered)!=null?o:!1,isDisabled:E=(a=i==null?void 0:i.isDisabled)!=null?a:!1,isFocusable:A=!1,getInitials:T=ay,ignoreFallback:v=!1,showFallback:D=!1,ImgComponent:$="img",imgProps:M,className:k,onError:I,...P}=e,O=l||"span",j=bt(u),N=bt(b),{isFocusVisible:W,isFocused:K,focusProps:H}=Gt(),{isHovered:X,hoverProps:B}=Wn({isDisabled:E}),Y=r9({src:c,onError:I,ignoreFallback:v})==="loaded",R=(!c||!Y)&&D,Z=f.useMemo(()=>{var be;return ry({color:x,radius:y,size:w,isBordered:S,isDisabled:E,isInGroup:s,isInGridGroup:(be=i==null?void 0:i.isGrid)!=null?be:!1})},[x,y,w,S,E,s,i==null?void 0:i.isGrid]),q=we(m==null?void 0:m.base,k),ae=f.useMemo(()=>A||l==="button",[A,l]),le=f.useCallback((be={})=>({ref:j,tabIndex:ae?0:-1,"data-hover":re(X),"data-focus":re(K),"data-focus-visible":re(W),className:Z.base({class:we(q,be==null?void 0:be.className)}),...he(P,B,ae?H:{})}),[ae,Z,q,H,P]),pe=f.useCallback((be={})=>({ref:N,src:c,"data-loaded":re(Y),className:Z.img({class:m==null?void 0:m.img}),...he(M,be)}),[Z,Y,M,c,N]);return{Component:O,ImgComponent:$,src:c,alt:g,icon:p,name:d,imgRef:N,slots:Z,classNames:m,fallback:h,isImgLoaded:Y,showFallback:R,ignoreFallback:v,getInitials:T,getAvatarProps:le,getImageProps:pe}}var p1=$t((e,t)=>{const{Component:n,ImgComponent:r,src:o,icon:a=F.jsx(e9,{}),alt:i,classNames:s,slots:l,name:u,showFallback:c,fallback:d,getInitials:p,getAvatarProps:m,getImageProps:h}=o9({...e,ref:t}),g=f.useMemo(()=>!c&&o?null:d?F.jsx("div",{"aria-label":i,className:l.fallback({class:s==null?void 0:s.fallback}),role:"img",children:d}):u?F.jsx("span",{"aria-label":i,className:l.name({class:s==null?void 0:s.name}),role:"img",children:p(u)}):F.jsx("span",{"aria-label":i,className:l.icon({class:s==null?void 0:s.icon}),role:"img",children:a}),[c,o,d,u,s]);return F.jsxs(n,{...m(),children:[o&&F.jsx(r,{...h(),alt:i}),g]})});p1.displayName="NextUI.Avatar";var a9=p1,[ID,i9]=Wa({name:"ButtonGroupContext",strict:!1});function s9(e,t){let{elementType:n="button",isDisabled:r,onPress:o,onPressStart:a,onPressEnd:i,onPressChange:s,preventFocusOnPress:l,allowFocusWhenDisabled:u,onClick:c,href:d,target:p,rel:m,type:h="button",allowTextSelectionOnPress:g}=e,b;n==="button"?b={type:h,disabled:r}:b={role:"button",tabIndex:r?void 0:0,href:n==="a"&&r?void 0:d,target:n==="a"?p:void 0,type:n==="input"?h:void 0,disabled:n==="input"?r:void 0,"aria-disabled":!r||n==="input"?void 0:r,rel:n==="a"?m:void 0};let{pressProps:x,isPressed:y}=po({onPressStart:a,onPressEnd:i,onPressChange:s,onPress:o,isDisabled:r,preventFocusOnPress:l,allowTextSelectionOnPress:g,ref:t}),{focusableProps:w}=La(e,t);u&&(w.tabIndex=r?-1:w.tabIndex);let S=he(w,x,br(e,{labelable:!0}));return{isPressed:y,buttonProps:he(b,S,{"aria-haspopup":e["aria-haspopup"],"aria-expanded":e["aria-expanded"],"aria-controls":e["aria-controls"],"aria-pressed":e["aria-pressed"],onClick:E=>{c==null||c(E)}})}}var l9=(e,t,n)=>Math.min(Math.max(e,t),n),m1=e=>{const{ripples:t=[],motionProps:n,color:r="currentColor",style:o,onClear:a}=e;return F.jsx(F.Fragment,{children:t.map(i=>{const s=l9(.01*i.size,.2,i.size>100?.75:.5);return F.jsx(j6,{mode:"popLayout",children:F.jsx(o1.span,{animate:{transform:"scale(2)",opacity:0},className:"nextui-ripple",exit:{opacity:0},initial:{transform:"scale(0)",opacity:.35},style:{position:"absolute",backgroundColor:r,borderRadius:"100%",transformOrigin:"center",pointerEvents:"none",zIndex:10,top:i.y,left:i.x,width:`${i.size}px`,height:`${i.size}px`,...o},transition:{duration:s},onAnimationComplete:()=>{a(i.key)},...n})},i.key)})})};m1.displayName="NextUI.Ripple";var u9=m1;function c9(e={}){const[t,n]=f.useState([]),r=f.useCallback(a=>{const i=a.currentTarget,s=Math.max(i.clientWidth,i.clientHeight),l=i.getBoundingClientRect();n(u=>[...u,{key:iy(u.length.toString()),size:s,x:a.clientX-l.x-s/2,y:a.clientY-l.y-s/2}])},[]),o=f.useCallback(a=>{n(i=>i.filter(s=>s.key!==a))},[]);return{ripples:t,onClick:r,onClear:o,...e}}function d9(e){var t,n,r,o,a,i,s,l;const u=i9(),c=!!u,{ref:d,as:p,children:m,startContent:h,endContent:g,autoFocus:b,className:x,spinner:y,fullWidth:w=(t=u==null?void 0:u.fullWidth)!=null?t:!1,size:S=(n=u==null?void 0:u.size)!=null?n:"md",color:E=(r=u==null?void 0:u.color)!=null?r:"default",variant:A=(o=u==null?void 0:u.variant)!=null?o:"solid",disableAnimation:T=(a=u==null?void 0:u.disableAnimation)!=null?a:!1,radius:v=u==null?void 0:u.radius,disableRipple:D=(i=u==null?void 0:u.disableRipple)!=null?i:!1,isDisabled:$=(s=u==null?void 0:u.isDisabled)!=null?s:!1,isIconOnly:M=(l=u==null?void 0:u.isIconOnly)!=null?l:!1,isLoading:k=!1,spinnerPlacement:I="start",onPress:P,onClick:O,...j}=e,N=p||"button",W=typeof N=="string",K=bt(d),{isFocusVisible:H,isFocused:X,focusProps:B}=Gt({autoFocus:b}),G=$||k,Y=f.useMemo(()=>oy({size:S,color:E,variant:A,radius:v,fullWidth:w,isDisabled:G,isInGroup:c,disableAnimation:T,isIconOnly:M,className:x}),[S,E,A,v,w,G,c,M,T,x]),{onClick:R,onClear:Z,ripples:q}=c9(),ae=f.useCallback(je=>{D||G||T||K.current&&R(je)},[D,G,T,K,R]),{buttonProps:le,isPressed:pe}=s9({elementType:p,isDisabled:G,onPress:P,onClick:Ln(O,ae),...j},K),{isHovered:be,hoverProps:Q}=Wn({isDisabled:G}),Pe=f.useCallback((je={})=>({"data-disabled":re(G),"data-focus":re(X),"data-pressed":re(pe),"data-focus-visible":re(H),"data-hover":re(be),"data-loading":re(k),...he(le,B,Q,fo(j,{enabled:W}),fo(je))}),[k,G,X,pe,W,H,be,le,B,Q,j]),ie=je=>f.isValidElement(je)?f.cloneElement(je,{"aria-hidden":!0,focusable:!1,tabIndex:-1}):null,ne=ie(h),Ge=ie(g),Xe=f.useMemo(()=>({sm:"sm",md:"sm",lg:"md"})[S],[S]),Ze=f.useCallback(()=>({ripples:q,onClear:Z}),[q,Z]);return{Component:N,children:m,domRef:K,spinner:y,styles:Y,startContent:ne,endContent:Ge,isLoading:k,spinnerPlacement:I,spinnerSize:Xe,disableRipple:D,getButtonProps:Pe,getRippleProps:Ze,isIconOnly:M}}function f9(e){const[t,n]=uo(e,mf.variantKeys),{children:r,className:o,classNames:a,label:i,...s}=t,l=f.useMemo(()=>mf({...n}),[...Object.values(n)]),u=we(a==null?void 0:a.base,o),c=i||r,d=f.useMemo(()=>c&&typeof c=="string"?c:s["aria-label"]?"":"Loading",[r,c,s["aria-label"]]),p=f.useCallback(()=>({"aria-label":d,className:l.base({class:u}),...s}),[d,l,u,s]);return{label:c,slots:l,classNames:a,getSpinnerProps:p}}var h1=$t((e,t)=>{const{slots:n,classNames:r,label:o,getSpinnerProps:a}=f9({...e});return F.jsxs("div",{ref:t,...a(),children:[F.jsxs("div",{className:n.wrapper({class:r==null?void 0:r.wrapper}),children:[F.jsx("i",{className:n.circle1({class:r==null?void 0:r.circle1})}),F.jsx("i",{className:n.circle2({class:r==null?void 0:r.circle2})})]}),o&&F.jsx("span",{className:n.label(),children:o})]})});h1.displayName="NextUI.Spinner";var p9=h1,g1=$t((e,t)=>{const{Component:n,domRef:r,children:o,styles:a,spinnerSize:i,spinner:s=F.jsx(p9,{color:"current",size:i}),spinnerPlacement:l,startContent:u,endContent:c,isLoading:d,disableRipple:p,getButtonProps:m,getRippleProps:h,isIconOnly:g}=d9({...e,ref:t});return F.jsxs(n,{ref:r,className:a,...m(),children:[u,d&&l==="start"&&s,d&&g?null:o,d&&l==="end"&&s,c,!p&&F.jsx(u9,{...h()})]})});g1.displayName="NextUI.Button";var m9=g1;function h9(e){const[t,n]=uo(e,vf.variantKeys),{ref:r,as:o,children:a,avatar:i,startContent:s,endContent:l,onClose:u,classNames:c,className:d,...p}=t,m=o||"div",h=bt(r),g=we(c==null?void 0:c.base,d),b=!!u,x=e.variant==="dot",{focusProps:y,isFocusVisible:w}=Gt(),S=f.useMemo(()=>typeof a=="string"&&(a==null?void 0:a.length)===1,[a]),E=f.useMemo(()=>!!i||!!s,[i,s]),A=f.useMemo(()=>!!l||b,[l,b]),T=f.useMemo(()=>vf({...n,hasStartContent:E,hasEndContent:A,isOneChar:S,isCloseable:b,isCloseButtonFocusVisible:w}),[...Object.values(n),w,E,A,S,b]),{pressProps:v}=po({isDisabled:!!(e!=null&&e.isDisabled),onPress:u}),D=()=>({ref:h,className:T.base({class:g}),...p}),$=()=>({role:"button",tabIndex:0,className:T.closeButton({class:c==null?void 0:c.closeButton}),...he(v,y)}),M=I=>f.isValidElement(I)?f.cloneElement(I,{className:T.avatar({class:c==null?void 0:c.avatar})}):null,k=I=>f.isValidElement(I)?f.cloneElement(I,{className:we("max-h-[80%]",I.props.className)}):null;return{Component:m,children:a,slots:T,classNames:c,isDot:x,isCloseable:b,startContent:M(i)||k(s),endContent:k(l),getCloseButtonProps:$,getChipProps:D}}var b1=$t((e,t)=>{const{Component:n,children:r,slots:o,classNames:a,isDot:i,isCloseable:s,startContent:l,endContent:u,getCloseButtonProps:c,getChipProps:d}=h9({...e,ref:t}),p=f.useMemo(()=>i&&!l?F.jsx("span",{className:o.dot({class:a==null?void 0:a.dot})}):l,[o,l,i]),m=f.useMemo(()=>s?F.jsx("span",{...c(),children:u||F.jsx(Ay,{})}):u,[u,s,c]);return F.jsxs(n,{...d(),children:[p,F.jsx("span",{className:o.content({class:a==null?void 0:a.content}),children:r}),m]})});b1.displayName="NextUI.Chip";var v1=b1;function ru(e,t,n){let{validationBehavior:r,focus:o}=e;Jt(()=>{if(r==="native"&&(n!=null&&n.current)){let l=t.realtimeValidation.isInvalid?t.realtimeValidation.validationErrors.join(" ")||"Invalid value.":"";n.current.setCustomValidity(l),n.current.hasAttribute("title")||(n.current.title=""),t.realtimeValidation.isInvalid||t.updateValidation(b9(n.current))}});let a=Je(()=>{t.resetValidation()}),i=Je(l=>{var u;t.displayValidation.isInvalid||t.commitValidation();let c=n==null||(u=n.current)===null||u===void 0?void 0:u.form;if(!l.defaultPrevented&&n&&c&&v9(c)===n.current){var d;o?o():(d=n.current)===null||d===void 0||d.focus(),T2("keyboard")}l.preventDefault()}),s=Je(()=>{t.commitValidation()});f.useEffect(()=>{let l=n==null?void 0:n.current;if(!l)return;let u=l.form;return l.addEventListener("invalid",i),l.addEventListener("change",s),u==null||u.addEventListener("reset",a),()=>{l.removeEventListener("invalid",i),l.removeEventListener("change",s),u==null||u.removeEventListener("reset",a)}},[n,i,s,a,r])}function g9(e){let t=e.validity;return{badInput:t.badInput,customError:t.customError,patternMismatch:t.patternMismatch,rangeOverflow:t.rangeOverflow,rangeUnderflow:t.rangeUnderflow,stepMismatch:t.stepMismatch,tooLong:t.tooLong,tooShort:t.tooShort,typeMismatch:t.typeMismatch,valueMissing:t.valueMissing,valid:t.valid}}function b9(e){return{isInvalid:!e.validity.valid,validationDetails:g9(e),validationErrors:e.validationMessage?[e.validationMessage]:[]}}function v9(e){for(let t=0;t<e.elements.length;t++){let n=e.elements[t];if(!n.validity.valid)return n}return null}const y1={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},x1={...y1,customError:!0,valid:!1},$r={isInvalid:!1,validationDetails:y1,validationErrors:[]},y9=f.createContext({}),ou="__formValidationState"+Date.now();function mi(e){if(e[ou]){let{realtimeValidation:t,displayValidation:n,updateValidation:r,resetValidation:o,commitValidation:a}=e[ou];return{realtimeValidation:t,displayValidation:n,updateValidation:r,resetValidation:o,commitValidation:a}}return x9(e)}function x9(e){let{isInvalid:t,validationState:n,name:r,value:o,builtinValidation:a,validate:i,validationBehavior:s="aria"}=e;n&&(t||(t=n==="invalid"));let l=t?{isInvalid:!0,validationErrors:[],validationDetails:x1}:null,u=f.useMemo(()=>C1(C9(i,o)),[i,o]);a!=null&&a.validationDetails.valid&&(a=null);let c=f.useContext(y9),d=f.useMemo(()=>r?Array.isArray(r)?r.flatMap($=>au(c[$])):au(c[r]):[],[c,r]),[p,m]=f.useState(c),[h,g]=f.useState(!1);c!==p&&(m(c),g(!1));let b=f.useMemo(()=>C1(h?[]:d),[h,d]),x=f.useRef($r),[y,w]=f.useState($r),S=f.useRef($r),E=()=>{if(!A)return;T(!1);let $=u||a||x.current;iu($,S.current)||(S.current=$,w($))},[A,T]=f.useState(!1);return f.useEffect(E),{realtimeValidation:l||b||u||a||$r,displayValidation:s==="native"?l||b||y:l||b||u||a||y,updateValidation($){s==="aria"&&!iu(y,$)?w($):x.current=$},resetValidation(){let $=$r;iu($,S.current)||(S.current=$,w($)),s==="native"&&T(!1),g(!0)},commitValidation(){s==="native"&&T(!0),g(!0)}}}function au(e){return e?Array.isArray(e)?e:[e]:[]}function C9(e,t){if(typeof e=="function"){let n=e(t);if(n&&typeof n!="boolean")return au(n)}return[]}function C1(e){return e.length?{isInvalid:!0,validationErrors:e,validationDetails:x1}:null}function iu(e,t){return e===t?!0:e&&t&&e.isInvalid===t.isInvalid&&e.validationErrors.length===t.validationErrors.length&&e.validationErrors.every((n,r)=>n===t.validationErrors[r])&&Object.entries(e.validationDetails).every(([n,r])=>t.validationDetails[n]===r)}function w1(e,t,n){let{isDisabled:r=!1,isReadOnly:o=!1,value:a,name:i,children:s,"aria-label":l,"aria-labelledby":u,validationState:c="valid",isInvalid:d}=e,p=A=>{A.stopPropagation(),t.setSelected(A.target.checked)},m=s!=null,h=l!=null||u!=null;!m&&!h&&console.warn("If you do not provide children, you must specify an aria-label for accessibility");let{pressProps:g,isPressed:b}=Vn({isDisabled:r}),{pressProps:x,isPressed:y}=Vn({isDisabled:r||o,onPress(){t.toggle()}}),{focusableProps:w}=La(e,n),S=he(g,w),E=br(e,{labelable:!0});return Fs(n,t.isSelected,t.setSelected),{labelProps:he(x,{onClick:A=>A.preventDefault()}),inputProps:he(E,{"aria-invalid":d||c==="invalid"||void 0,"aria-errormessage":e["aria-errormessage"],"aria-controls":e["aria-controls"],"aria-readonly":o||void 0,onChange:p,disabled:r,...a==null?{}:{value:a},name:i,type:"checkbox",...S}),isSelected:t.isSelected,isPressed:b||y,isDisabled:r,isReadOnly:o,isInvalid:d||c==="invalid"}}function w9(e){let{id:t,label:n,"aria-labelledby":r,"aria-label":o,labelElementType:a="label"}=e;t=gr(t);let i=gr(),s={};n?(r=r?`${i} ${r}`:i,s={id:i,htmlFor:a==="label"?t:void 0}):!r&&!o&&console.warn("If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility");let l=$s({id:t,"aria-label":o,"aria-labelledby":r});return{labelProps:s,fieldProps:l}}function I1(e){let{description:t,errorMessage:n,isInvalid:r,validationState:o}=e,{labelProps:a,fieldProps:i}=w9(e),s=Od([!!t,!!n,r,o]),l=Od([!!t,!!n,r,o]);return i=he(i,{"aria-describedby":[s,l,e["aria-describedby"]].filter(Boolean).join(" ")||void 0}),{labelProps:a,fieldProps:i,descriptionProps:{id:s},errorMessageProps:{id:l}}}function su(e={}){let{isReadOnly:t}=e,[n,r]=hr(e.isSelected,e.defaultSelected||!1,e.onChange);function o(i){t||r(i)}function a(){t||r(!n)}return{isSelected:n,setSelected:o,toggle:a}}function E1(e,t,n){let r=mi({...e,value:t.isSelected}),{isInvalid:o,validationErrors:a,validationDetails:i}=r.displayValidation,{labelProps:s,inputProps:l,isSelected:u,isPressed:c,isDisabled:d,isReadOnly:p}=w1({...e,isInvalid:o},t,n);ru(e,r,n);let{isIndeterminate:m,isRequired:h,validationBehavior:g="aria"}=e;return f.useEffect(()=>{n.current&&(n.current.indeterminate=!!m)}),{labelProps:s,inputProps:{...l,checked:u,"aria-required":h&&g==="aria"||void 0,required:h&&g==="native"},isSelected:u,isPressed:c,isDisabled:d,isReadOnly:p,isInvalid:o,validationErrors:a,validationDetails:i}}const I9=new WeakMap;function E9(e,t,n){const r=su({isReadOnly:e.isReadOnly||t.isReadOnly,isSelected:t.isSelected(e.value),onChange(b){b?t.addValue(e.value):t.removeValue(e.value),e.onChange&&e.onChange(b)}});let{name:o,descriptionId:a,errorMessageId:i,validationBehavior:s}=I9.get(t);var l;s=(l=e.validationBehavior)!==null&&l!==void 0?l:s;let{realtimeValidation:u}=mi({...e,value:r.isSelected,name:void 0,validationBehavior:"aria"}),c=f.useRef($r),d=()=>{t.setInvalid(e.value,u.isInvalid?u:c.current)};f.useEffect(d);let p=t.realtimeValidation.isInvalid?t.realtimeValidation:u,m=s==="native"?t.displayValidation:p;var h;let g=E1({...e,isReadOnly:e.isReadOnly||t.isReadOnly,isDisabled:e.isDisabled||t.isDisabled,name:e.name||o,isRequired:(h=e.isRequired)!==null&&h!==void 0?h:t.isRequired,validationBehavior:s,[ou]:{realtimeValidation:p,displayValidation:m,resetValidation:t.resetValidation,commitValidation:t.commitValidation,updateValidation(b){c.current=b,d()}}},r,n);return{...g,inputProps:{...g.inputProps,"aria-describedby":[e["aria-describedby"],t.isInvalid?i:null,a].filter(Boolean).join(" ")||void 0}}}var[ED,P9]=Wa({name:"CheckboxGroupContext",strict:!1});function S9(e){const{isSelected:t,disableAnimation:n,...r}=e;return F.jsx("svg",{"aria-hidden":"true",role:"presentation",viewBox:"0 0 17 18",...r,children:F.jsx("polyline",{fill:"none",points:"1 9 7 14 15 4",stroke:"currentColor",strokeDasharray:22,strokeDashoffset:t?44:66,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,style:!n&&t?{transition:"stroke-dashoffset 250ms linear 0.2s"}:{}})})}function M9(e){const{isSelected:t,disableAnimation:n,...r}=e;return F.jsx("svg",{stroke:"currentColor",strokeWidth:3,viewBox:"0 0 24 24",...r,children:F.jsx("line",{x1:"21",x2:"3",y1:"12",y2:"12"})})}function A9(e){const{isIndeterminate:t,...n}=e,r=t?M9:S9;return F.jsx(r,{...n})}function T9(e={}){var t,n,r,o,a,i;const s=P9(),l=!!s,{as:u,ref:c,value:d="",children:p,icon:m,name:h,isRequired:g=!1,isReadOnly:b=!1,autoFocus:x=!1,isSelected:y,validationState:w,size:S=(t=s==null?void 0:s.size)!=null?t:"md",color:E=(n=s==null?void 0:s.color)!=null?n:"primary",radius:A=s==null?void 0:s.radius,lineThrough:T=(r=s==null?void 0:s.lineThrough)!=null?r:!1,isDisabled:v=(o=s==null?void 0:s.isDisabled)!=null?o:!1,disableAnimation:D=(a=s==null?void 0:s.disableAnimation)!=null?a:!1,isInvalid:$=w?w==="invalid":(i=s==null?void 0:s.isInvalid)!=null?i:!1,isIndeterminate:M=!1,defaultSelected:k,classNames:I,onChange:P,className:O,onValueChange:j,...N}=e;s&&Cf&&(y&&Ba("The Checkbox.Group is being used, `isSelected` will be ignored. Use the `value` of the Checkbox.Group instead.","Checkbox"),k&&Ba("The Checkbox.Group is being used, `defaultSelected` will be ignored. Use the `defaultValue` of the Checkbox.Group instead.","Checkbox"));const W=u||"label",K=f.useRef(null),H=wf(c,K),X=f.useId(),B=f.useMemo(()=>({name:h,value:d,children:p,autoFocus:x,defaultSelected:k,isIndeterminate:M,isRequired:g,isInvalid:$,isSelected:y,isDisabled:v,isReadOnly:b,"aria-label":el(N["aria-label"],p),"aria-labelledby":N["aria-labelledby"]||X,onChange:j}),[d,h,X,p,x,$,M,v,b,y,k,N["aria-label"],N["aria-labelledby"],j]),{inputProps:G,isSelected:Y,isDisabled:R,isReadOnly:Z,isPressed:q}=l?E9({...B,isInvalid:$},s.groupState,K):E1(B,su(B),K),ae=R||Z,[le,pe]=f.useState(!1),{pressProps:be}=po({isDisabled:ae,onPressStart(lt){lt.pointerType!=="keyboard"&&pe(!0)},onPressEnd(lt){lt.pointerType!=="keyboard"&&pe(!1)}}),Q=ae?!1:le||q;g&&(G.required=!0);const{hoverProps:Pe,isHovered:ie}=Wn({isDisabled:G.disabled}),{focusProps:ne,isFocused:Ge,isFocusVisible:Xe}=Gt({autoFocus:G.autoFocus}),Ze=f.useMemo(()=>ny({color:E,size:S,radius:A,isInvalid:$,lineThrough:T,isDisabled:R,disableAnimation:D}),[E,S,A,$,T,R,D]),je=we(I==null?void 0:I.base,O),Kt=f.useCallback(()=>({ref:H,className:Ze.base({class:je}),"data-disabled":re(R),"data-selected":re(Y||M),"data-invalid":re($),"data-hover":re(ie),"data-focus":re(Ge),"data-pressed":re(Q),"data-readonly":re(G.readOnly),"data-focus-visible":re(Xe),"data-indeterminate":re(M),...he(Pe,be,N)}),[Ze,je,R,Y,M,$,ie,Ge,Q,G.readOnly,Xe,Pe,be,N]),Dt=f.useCallback((lt={})=>({...lt,"aria-hidden":!0,className:we(Ze.wrapper({class:we(I==null?void 0:I.wrapper,lt==null?void 0:lt.className)}))}),[Ze,I==null?void 0:I.wrapper]),mt=f.useCallback(()=>({ref:K,...he(G,ne),onChange:Ln(G.onChange,P)}),[G,ne,P]),lr=f.useCallback(()=>({id:X,className:Ze.label({class:I==null?void 0:I.label})}),[Ze,I==null?void 0:I.label,R,Y,$]),st=f.useCallback(()=>({isSelected:Y,isIndeterminate:!!M,disableAnimation:!!D,className:Ze.icon({class:I==null?void 0:I.icon})}),[Ze,I==null?void 0:I.icon,Y,M,D]);return{Component:W,icon:m,children:p,isSelected:Y,isDisabled:R,isInvalid:$,isFocused:Ge,isHovered:ie,isFocusVisible:Xe,getBaseProps:Kt,getWrapperProps:Dt,getInputProps:mt,getLabelProps:lr,getIconProps:st}}var P1=$t((e,t)=>{const{Component:n,children:r,icon:o=F.jsx(A9,{}),getBaseProps:a,getWrapperProps:i,getInputProps:s,getIconProps:l,getLabelProps:u}=T9({...e,ref:t}),c=typeof o=="function"?o(l()):f.cloneElement(o,l());return F.jsxs(n,{...a(),children:[F.jsx(Js,{children:F.jsx("input",{...s()})}),F.jsx("span",{...i(),children:c}),r&&F.jsx("span",{...u(),children:r})]})});P1.displayName="NextUI.Checkbox";var D9=P1;const S1=e=>typeof e=="object"&&e!=null&&e.nodeType===1,M1=(e,t)=>(!t||e!=="hidden")&&e!=="visible"&&e!=="clip",lu=(e,t)=>{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){const n=getComputedStyle(e,null);return M1(n.overflowY,t)||M1(n.overflowX,t)||(r=>{const o=(a=>{if(!a.ownerDocument||!a.ownerDocument.defaultView)return null;try{return a.ownerDocument.defaultView.frameElement}catch{return null}})(r);return!!o&&(o.clientHeight<r.scrollHeight||o.clientWidth<r.scrollWidth)})(e)}return!1},hi=(e,t,n,r,o,a,i,s)=>a<e&&i>t||a>e&&i<t?0:a<=e&&s<=n||i>=t&&s>=n?a-e-r:i>t&&s<n||a<e&&s>n?i-t+o:0,N9=e=>{const t=e.parentElement;return t??(e.getRootNode().host||null)},A1=(e,t)=>{var n,r,o,a;if(typeof document>"u")return[];const{scrollMode:i,block:s,inline:l,boundary:u,skipOverflowHiddenElements:c}=t,d=typeof u=="function"?u:j=>j!==u;if(!S1(e))throw new TypeError("Invalid target");const p=document.scrollingElement||document.documentElement,m=[];let h=e;for(;S1(h)&&d(h);){if(h=N9(h),h===p){m.push(h);break}h!=null&&h===document.body&&lu(h)&&!lu(document.documentElement)||h!=null&&lu(h,c)&&m.push(h)}const g=(r=(n=window.visualViewport)==null?void 0:n.width)!=null?r:innerWidth,b=(a=(o=window.visualViewport)==null?void 0:o.height)!=null?a:innerHeight,{scrollX:x,scrollY:y}=window,{height:w,width:S,top:E,right:A,bottom:T,left:v}=e.getBoundingClientRect(),{top:D,right:$,bottom:M,left:k}=(j=>{const N=window.getComputedStyle(j);return{top:parseFloat(N.scrollMarginTop)||0,right:parseFloat(N.scrollMarginRight)||0,bottom:parseFloat(N.scrollMarginBottom)||0,left:parseFloat(N.scrollMarginLeft)||0}})(e);let I=s==="start"||s==="nearest"?E-D:s==="end"?T+M:E+w/2-D+M,P=l==="center"?v+S/2-k+$:l==="end"?A+$:v-k;const O=[];for(let j=0;j<m.length;j++){const N=m[j],{height:W,width:K,top:H,right:X,bottom:B,left:G}=N.getBoundingClientRect();if(i==="if-needed"&&E>=0&&v>=0&&T<=b&&A<=g&&E>=H&&T<=B&&v>=G&&A<=X)return O;const Y=getComputedStyle(N),R=parseInt(Y.borderLeftWidth,10),Z=parseInt(Y.borderTopWidth,10),q=parseInt(Y.borderRightWidth,10),ae=parseInt(Y.borderBottomWidth,10);let le=0,pe=0;const be="offsetWidth"in N?N.offsetWidth-N.clientWidth-R-q:0,Q="offsetHeight"in N?N.offsetHeight-N.clientHeight-Z-ae:0,Pe="offsetWidth"in N?N.offsetWidth===0?0:K/N.offsetWidth:0,ie="offsetHeight"in N?N.offsetHeight===0?0:W/N.offsetHeight:0;if(p===N)le=s==="start"?I:s==="end"?I-b:s==="nearest"?hi(y,y+b,b,Z,ae,y+I,y+I+w,w):I-b/2,pe=l==="start"?P:l==="center"?P-g/2:l==="end"?P-g:hi(x,x+g,g,R,q,x+P,x+P+S,S),le=Math.max(0,le+y),pe=Math.max(0,pe+x);else{le=s==="start"?I-H-Z:s==="end"?I-B+ae+Q:s==="nearest"?hi(H,B,W,Z,ae+Q,I,I+w,w):I-(H+W/2)+Q/2,pe=l==="start"?P-G-R:l==="center"?P-(G+K/2)+be/2:l==="end"?P-X+q+be:hi(G,X,K,R,q+be,P,P+S,S);const{scrollLeft:ne,scrollTop:Ge}=N;le=ie===0?0:Math.max(0,Math.min(Ge+le/ie,N.scrollHeight-W/ie+Q)),pe=Pe===0?0:Math.max(0,Math.min(ne+pe/Pe,N.scrollWidth-K/Pe+be)),I+=Ge-le,P+=ne-pe}O.push({el:N,top:le,left:pe})}return O},$9=e=>e===!1?{block:"end",inline:"nearest"}:(t=>t===Object(t)&&Object.keys(t).length!==0)(e)?e:{block:"start",inline:"nearest"};function k9(e,t){if(!e.isConnected||!(r=>{let o=r;for(;o&&o.parentNode;){if(o.parentNode===document)return!0;o=o.parentNode instanceof ShadowRoot?o.parentNode.host:o.parentNode}return!1})(e))return;if((r=>typeof r=="object"&&typeof r.behavior=="function")(t))return t.behavior(A1(e,t));const n=typeof t=="boolean"||t==null?void 0:t.behavior;for(const{el:r,top:o,left:a}of A1(e,$9(t)))r.scroll({top:o,left:a,behavior:n})}let O9=Math.round(Math.random()*1e10),F9=0;function L9(e){let t=f.useMemo(()=>e.name||`radio-group-${O9}-${++F9}`,[e.name]);var n;let[r,o]=hr(e.value,(n=e.defaultValue)!==null&&n!==void 0?n:null,e.onChange),[a,i]=f.useState(null),s=mi({...e,value:r}),l=c=>{!e.isReadOnly&&!e.isDisabled&&(o(c),s.commitValidation())},u=s.displayValidation.isInvalid;return{...s,name:t,selectedValue:r,setSelectedValue:l,lastFocusedValue:a,setLastFocusedValue:i,isDisabled:e.isDisabled||!1,isReadOnly:e.isReadOnly||!1,isRequired:e.isRequired||!1,validationState:e.validationState||(u?"invalid":null),isInvalid:u}}const T1=new WeakMap;function V9(e,t,n){let{value:r,children:o,"aria-label":a,"aria-labelledby":i}=e;const s=e.isDisabled||t.isDisabled;let l=o!=null,u=a!=null||i!=null;!l&&!u&&console.warn("If you do not provide children, you must specify an aria-label for accessibility");let c=t.selectedValue===r,d=v=>{v.stopPropagation(),t.setSelectedValue(r)},{pressProps:p,isPressed:m}=Vn({isDisabled:s}),{pressProps:h,isPressed:g}=Vn({isDisabled:s,onPress(){t.setSelectedValue(r)}}),{focusableProps:b}=La(he(e,{onFocus:()=>t.setLastFocusedValue(r)}),n),x=he(p,b),y=br(e,{labelable:!0}),w=-1;t.selectedValue!=null?t.selectedValue===r&&(w=0):(t.lastFocusedValue===r||t.lastFocusedValue==null)&&(w=0),s&&(w=void 0);let{name:S,descriptionId:E,errorMessageId:A,validationBehavior:T}=T1.get(t);return Fs(n,t.selectedValue,t.setSelectedValue),ru({validationBehavior:T},t,n),{labelProps:he(h,{onClick:v=>v.preventDefault()}),inputProps:he(y,{...x,type:"radio",name:S,tabIndex:w,disabled:s,required:t.isRequired&&T==="native",checked:c,value:r,onChange:d,"aria-describedby":[e["aria-describedby"],t.isInvalid?A:null,E].filter(Boolean).join(" ")||void 0}),isDisabled:s,isSelected:c,isPressed:m||g}}function j9(e,t){let{name:n,isReadOnly:r,isRequired:o,isDisabled:a,orientation:i="vertical",validationBehavior:s="aria"}=e,{direction:l}=Vs(),{isInvalid:u,validationErrors:c,validationDetails:d}=t.displayValidation,{labelProps:p,fieldProps:m,descriptionProps:h,errorMessageProps:g}=I1({...e,labelElementType:"span",isInvalid:t.isInvalid,errorMessage:e.errorMessage||c}),b=br(e,{labelable:!0}),{focusWithinProps:x}=ka({onBlurWithin(S){var E;(E=e.onBlur)===null||E===void 0||E.call(e,S),t.selectedValue||t.setLastFocusedValue(null)},onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange}),y=S=>{let E;switch(S.key){case"ArrowRight":l==="rtl"&&i!=="vertical"?E="prev":E="next";break;case"ArrowLeft":l==="rtl"&&i!=="vertical"?E="next":E="prev";break;case"ArrowDown":E="next";break;case"ArrowUp":E="prev";break;default:return}S.preventDefault();let A=Us(S.currentTarget,{from:S.target}),T;E==="next"?(T=A.nextNode(),T||(A.currentNode=S.currentTarget,T=A.firstChild())):(T=A.previousNode(),T||(A.currentNode=S.currentTarget,T=A.lastChild())),T&&(T.focus(),t.setSelectedValue(T.value))},w=gr(n);return T1.set(t,{name:w,descriptionId:h.id,errorMessageId:g.id,validationBehavior:s}),{radioGroupProps:he(b,{role:"radiogroup",onKeyDown:y,"aria-invalid":t.isInvalid||void 0,"aria-errormessage":e["aria-errormessage"],"aria-readonly":r||void 0,"aria-required":o||void 0,"aria-disabled":a||void 0,"aria-orientation":i,...m,...x}),labelProps:p,descriptionProps:h,errorMessageProps:g,isInvalid:u,validationErrors:c,validationDetails:d}}function B9(e){const{as:t,ref:n,classNames:r,children:o,label:a,value:i,name:s,size:l="md",color:u="primary",isDisabled:c=!1,disableAnimation:d=!1,orientation:p="vertical",isRequired:m=!1,validationState:h,isInvalid:g=h==="invalid",isReadOnly:b,errorMessage:x,description:y,className:w,onChange:S,onValueChange:E,...A}=e,T=t||"div",v=bt(n),D=f.useMemo(()=>({...A,value:i,name:s,"aria-label":el(A["aria-label"],a),isRequired:m,isReadOnly:b,isInvalid:g,orientation:p,onChange:E}),[A,i,s,a,m,b,g,p,E]),$=L9(D),{labelProps:M,radioGroupProps:k,errorMessageProps:I,descriptionProps:P}=j9(D,$),O=f.useMemo(()=>({size:l,color:u,groupState:$,isRequired:m,isInvalid:g,isDisabled:c,disableAnimation:d,onChange:S}),[l,u,m,c,g,S,d,$.name,$==null?void 0:$.isDisabled,$==null?void 0:$.isReadOnly,$==null?void 0:$.isRequired,$==null?void 0:$.selectedValue,$==null?void 0:$.lastFocusedValue]),j=f.useMemo(()=>ty({isRequired:m,isInvalid:g,disableAnimation:d}),[g,m,d]),N=we(r==null?void 0:r.base,w),W=f.useCallback(()=>({ref:v,className:j.base({class:N}),...he(k,A)}),[v,j,N,k,A]),K=f.useCallback(()=>({className:j.label({class:r==null?void 0:r.label}),...M}),[j,r==null?void 0:r.label,M,r==null?void 0:r.label]),H=f.useCallback(()=>({className:j.wrapper({class:r==null?void 0:r.wrapper}),role:"presentation","data-orientation":p}),[j,r==null?void 0:r.wrapper,p,j.wrapper]),X=f.useCallback((G={})=>({...G,...P,className:j.description({class:we(r==null?void 0:r.description,G==null?void 0:G.className)})}),[j,r==null?void 0:r.description,P,j.description]),B=f.useCallback((G={})=>({...G,...I,className:j.errorMessage({class:we(r==null?void 0:r.errorMessage,G==null?void 0:G.className)})}),[j,r==null?void 0:r.errorMessage,I]);return{Component:T,children:o,label:a,context:O,errorMessage:x,description:y,getGroupProps:W,getLabelProps:K,getWrapperProps:H,getDescriptionProps:X,getErrorMessageProps:B}}var[W9,_9]=Wa({name:"RadioGroupContext",strict:!1}),D1=$t((e,t)=>{const{Component:n,children:r,label:o,context:a,description:i,errorMessage:s,getGroupProps:l,getLabelProps:u,getWrapperProps:c,getDescriptionProps:d,getErrorMessageProps:p}=B9({...e,ref:t});return F.jsxs(n,{...l(),children:[o&&F.jsx("span",{...u(),children:o}),F.jsx("div",{...c(),children:F.jsx(W9,{value:a,children:r})}),s?F.jsx("div",{...p(),children:s}):i?F.jsx("div",{...d(),children:i}):null]})});D1.displayName="NextUI.RadioGroup";var G9=D1;function R9(e){var t,n,r,o;const a=_9(),{as:i,ref:s,classNames:l,id:u,value:c,children:d,description:p,size:m=(t=a==null?void 0:a.size)!=null?t:"md",color:h=(n=a==null?void 0:a.color)!=null?n:"primary",isDisabled:g=(r=a==null?void 0:a.isDisabled)!=null?r:!1,disableAnimation:b=(o=a==null?void 0:a.disableAnimation)!=null?o:!1,onChange:x=a==null?void 0:a.onChange,autoFocus:y=!1,className:w,...S}=e;a&&Cf&&("checked"in S&&Ba('Remove props "checked" if in the Radio.Group.',"Radio"),c===void 0&&Ba('Props "value" must be defined if in the Radio.Group.',"Radio"));const E=i||"label",A=bt(s),T=f.useRef(null),v=f.useId(),D=f.useMemo(()=>{var ie;return(ie=a.isRequired)!=null?ie:!1},[a.isRequired]),$=a.isInvalid,M=f.useMemo(()=>{const ie=S["aria-label"]||typeof d=="string"?d:void 0,ne=S["aria-describedby"]||typeof p=="string"?p:void 0;return{id:u,isRequired:D,isDisabled:g,"aria-label":ie,"aria-labelledby":S["aria-labelledby"]||v,"aria-describedby":ne}},[v,u,g,D]),{inputProps:k,isDisabled:I,isSelected:P,isPressed:O}=V9({value:c,children:d,...a,...M},a.groupState,T),{focusProps:j,isFocused:N,isFocusVisible:W}=Gt({autoFocus:y}),K=I||k.readOnly,[H,X]=f.useState(!1),{pressProps:B}=po({isDisabled:K,onPressStart(ie){ie.pointerType!=="keyboard"&&X(!0)},onPressEnd(ie){ie.pointerType!=="keyboard"&&X(!1)}}),{hoverProps:G,isHovered:Y}=Wn({isDisabled:K}),R=K?!1:H||O,Z=f.useMemo(()=>ey({color:h,size:m,isInvalid:$,isDisabled:I,disableAnimation:b}),[h,m,I,$,b]),q=we(l==null?void 0:l.base,w),ae=f.useCallback((ie={})=>({...ie,ref:A,className:Z.base({class:q}),"data-disabled":re(I),"data-focus":re(N),"data-focus-visible":re(W),"data-selected":re(P),"data-invalid":re($),"data-hover":re(Y),"data-pressed":re(R),"data-hover-unselected":re(Y&&!P),"data-readonly":re(k.readOnly),"aria-required":re(D),...he(G,B,S)}),[Z,q,A,I,N,W,P,$,Y,R,k.readOnly,D,S]),le=f.useCallback((ie={})=>({...ie,"aria-hidden":!0,className:we(Z.wrapper({class:we(l==null?void 0:l.wrapper,ie.className)}))}),[Z,l==null?void 0:l.wrapper]),pe=f.useCallback((ie={})=>({...ie,ref:T,required:D,...he(k,j),onChange:Ln(k.onChange,x)}),[k,j,D,x]),be=f.useCallback((ie={})=>({...ie,id:v,className:Z.label({class:l==null?void 0:l.label})}),[Z,l==null?void 0:l.label,I,P,$]),Q=f.useCallback((ie={})=>({...ie,className:Z.labelWrapper({class:l==null?void 0:l.labelWrapper})}),[Z,l==null?void 0:l.labelWrapper]),Pe=f.useCallback((ie={})=>({...ie,className:Z.control({class:l==null?void 0:l.control})}),[Z,l==null?void 0:l.control]);return{Component:E,children:d,slots:Z,classNames:l,description:p,isSelected:P,isDisabled:I,isInvalid:$,isFocusVisible:W,getBaseProps:ae,getWrapperProps:le,getInputProps:pe,getLabelProps:be,getLabelWrapperProps:Q,getControlProps:Pe}}var N1=$t((e,t)=>{const{Component:n,children:r,slots:o,classNames:a,description:i,getBaseProps:s,getWrapperProps:l,getInputProps:u,getLabelProps:c,getLabelWrapperProps:d,getControlProps:p}=R9({...e,ref:t});return F.jsxs(n,{...s(),children:[F.jsx(Js,{children:F.jsx("input",{...u()})}),F.jsx("span",{...l(),children:F.jsx("span",{...p()})}),F.jsxs("div",{...d(),children:[r&&F.jsx("span",{...c(),children:r}),i&&F.jsx("span",{className:o.description({class:a==null?void 0:a.description}),children:i})]})]})});N1.displayName="NextUI.Radio";var z9=N1;function H9(e,t,n){let{labelProps:r,inputProps:o,isSelected:a,isPressed:i,isDisabled:s,isReadOnly:l}=w1(e,t,n);return{labelProps:r,inputProps:{...o,role:"switch",checked:a},isSelected:a,isPressed:i,isDisabled:s,isReadOnly:l}}function X9(e={}){const[t,n]=uo(e,gf.variantKeys),{ref:r,as:o,name:a,value:i="",isReadOnly:s=!1,autoFocus:l=!1,startContent:u,endContent:c,defaultSelected:d,isSelected:p,children:m,thumbIcon:h,className:g,classNames:b,onChange:x,onValueChange:y,...w}=t,S=o||"label",E=f.useRef(null),A=wf(r,E),T=f.useId(),v=f.useMemo(()=>{const ne=w["aria-label"]||typeof m=="string"?m:void 0;return{name:a,value:i,children:m,autoFocus:l,defaultSelected:d,isSelected:p,isDisabled:!!e.isDisabled,isReadOnly:s,"aria-label":ne,"aria-labelledby":w["aria-labelledby"]||T,onChange:y}},[i,a,T,m,l,s,p,d,e.isDisabled,w["aria-label"],w["aria-labelledby"],y]),D=su(v),{inputProps:$,isPressed:M,isReadOnly:k}=H9(v,D,E),{focusProps:I,isFocused:P,isFocusVisible:O}=Gt({autoFocus:$.autoFocus}),{hoverProps:j,isHovered:N}=Wn({isDisabled:$.disabled}),W=v.isDisabled||k,[K,H]=f.useState(!1),{pressProps:X}=po({isDisabled:W,onPressStart(ne){ne.pointerType!=="keyboard"&&H(!0)},onPressEnd(ne){ne.pointerType!=="keyboard"&&H(!1)}}),B=W?!1:K||M,G=$.checked,Y=$.disabled,R=f.useMemo(()=>gf({...n}),[...Object.values(n)]),Z=we(b==null?void 0:b.base,g),q=ne=>({...he(j,X,w,ne),ref:A,className:R.base({class:we(Z,ne==null?void 0:ne.className)}),"data-disabled":re(Y),"data-selected":re(G),"data-readonly":re(k),"data-focus":re(P),"data-focus-visible":re(O),"data-hover":re(N),"data-pressed":re(B)}),ae=f.useCallback((ne={})=>({...ne,"aria-hidden":!0,className:we(R.wrapper({class:we(b==null?void 0:b.wrapper,ne==null?void 0:ne.className)}))}),[R,b==null?void 0:b.wrapper]),le=(ne={})=>({...he($,I,ne),ref:E,id:$.id,onChange:Ln(x,$.onChange)}),pe=f.useCallback((ne={})=>({...ne,className:R.thumb({class:we(b==null?void 0:b.thumb,ne==null?void 0:ne.className)})}),[R,b==null?void 0:b.thumb]),be=f.useCallback((ne={})=>({...ne,id:T,className:R.label({class:we(b==null?void 0:b.label,ne==null?void 0:ne.className)})}),[R,b==null?void 0:b.label,Y,G]),Q=f.useCallback((ne={includeStateProps:!1})=>he({width:"1em",height:"1em",className:R.thumbIcon({class:we(b==null?void 0:b.thumbIcon)})},ne.includeStateProps?{isSelected:G}:{}),[R,b==null?void 0:b.thumbIcon,G]),Pe=f.useCallback((ne={})=>({width:"1em",height:"1em",...ne,className:R.startContent({class:we(b==null?void 0:b.startContent,ne==null?void 0:ne.className)})}),[R,b==null?void 0:b.startContent,G]),ie=f.useCallback((ne={})=>({width:"1em",height:"1em",...ne,className:R.endContent({class:we(b==null?void 0:b.endContent,ne==null?void 0:ne.className)})}),[R,b==null?void 0:b.endContent,G]);return{Component:S,slots:R,classNames:b,domRef:A,children:m,thumbIcon:h,startContent:u,endContent:c,isHovered:N,isSelected:G,isPressed:B,isFocused:P,isFocusVisible:O,isDisabled:Y,getBaseProps:q,getWrapperProps:ae,getInputProps:le,getLabelProps:be,getThumbProps:pe,getThumbIconProps:Q,getStartContentProps:Pe,getEndContentProps:ie}}var $1=$t((e,t)=>{const{Component:n,children:r,startContent:o,endContent:a,thumbIcon:i,getBaseProps:s,getInputProps:l,getWrapperProps:u,getThumbProps:c,getThumbIconProps:d,getLabelProps:p,getStartContentProps:m,getEndContentProps:h}=X9({...e,ref:t}),g=typeof i=="function"?i(d({includeStateProps:!0})):i&&f.cloneElement(i,d()),b=o&&f.cloneElement(o,m()),x=a&&f.cloneElement(a,h());return F.jsxs(n,{...s(),children:[F.jsx(Js,{children:F.jsx("input",{...l()})}),F.jsxs("span",{...u(),children:[o&&b,F.jsx("span",{...c(),children:i&&g}),a&&x]}),r&&F.jsx("span",{...p(),children:r})]})});$1.displayName="NextUI.Switch";var Z9=$1;function Y9(e={}){const{rerender:t=!1,delay:n=0}=e,r=f.useRef(!1),[o,a]=f.useState(!1);return f.useEffect(()=>{r.current=!0;let i=null;return t&&(n>0?i=setTimeout(()=>{a(!0)},n):a(!0)),()=>{r.current=!1,t&&a(!1),i&&clearTimeout(i)}},[t]),[f.useCallback(()=>r.current,[]),o]}function U9(e,t){let{inputElementType:n="input",isDisabled:r=!1,isRequired:o=!1,isReadOnly:a=!1,type:i="text",validationBehavior:s="aria"}=e,[l,u]=hr(e.value,e.defaultValue||"",e.onChange),{focusableProps:c}=La(e,t),d=mi({...e,value:l}),{isInvalid:p,validationErrors:m,validationDetails:h}=d.displayValidation,{labelProps:g,fieldProps:b,descriptionProps:x,errorMessageProps:y}=I1({...e,isInvalid:p,errorMessage:e.errorMessage||m}),w=br(e,{labelable:!0});const S={type:i,pattern:e.pattern};return Fs(t,l,u),ru(e,d,t),f.useEffect(()=>{if(t.current instanceof ao(t.current).HTMLTextAreaElement){let E=t.current;Object.defineProperty(E,"defaultValue",{get:()=>E.value,set:()=>{},configurable:!0})}},[t]),{labelProps:g,inputProps:he(w,n==="input"&&S,{disabled:r,readOnly:a,required:o&&s==="native","aria-required":o&&s==="aria"||void 0,"aria-invalid":p||void 0,"aria-errormessage":e["aria-errormessage"],"aria-activedescendant":e["aria-activedescendant"],"aria-autocomplete":e["aria-autocomplete"],"aria-haspopup":e["aria-haspopup"],value:l,onChange:E=>u(E.target.value),autoComplete:e.autoComplete,autoCapitalize:e.autoCapitalize,maxLength:e.maxLength,minLength:e.minLength,name:e.name,placeholder:e.placeholder,inputMode:e.inputMode,onCopy:e.onCopy,onCut:e.onCut,onPaste:e.onPaste,onCompositionEnd:e.onCompositionEnd,onCompositionStart:e.onCompositionStart,onCompositionUpdate:e.onCompositionUpdate,onSelect:e.onSelect,onBeforeInput:e.onBeforeInput,onInput:e.onInput,...c,...b}),descriptionProps:x,errorMessageProps:y,isInvalid:p,validationErrors:m,validationDetails:h}}function K9(e){const[t,n]=uo(e,bf.variantKeys),{ref:r,as:o,label:a,baseRef:i,wrapperRef:s,description:l,errorMessage:u,className:c,classNames:d,autoFocus:p,startContent:m,endContent:h,onClear:g,onChange:b,validationState:x,innerWrapperRef:y,onValueChange:w=()=>{},...S}=t,E=f.useCallback(xe=>{w(xe??"")},[w]),[A,T]=hr(t.value,t.defaultValue,E),[v,D]=f.useState(!1),$=o||"div",M=!!A,k=M||v,I=we(d==null?void 0:d.base,c,M?"is-filled":""),P=e.isMultiline,O=bt(r),j=bt(i),N=bt(s),W=bt(y),K=f.useCallback(()=>{T(""),O.current&&(O.current.value="",O.current.focus()),g==null||g()},[O,T,g]),{labelProps:H,inputProps:X,descriptionProps:B,errorMessageProps:G}=U9({...e,"aria-label":el(e==null?void 0:e["aria-label"],e==null?void 0:e.label,e==null?void 0:e.placeholder),inputElementType:P?"textarea":"input",onChange:T},O),{isFocusVisible:Y,isFocused:R,focusProps:Z}=Gt({autoFocus:p,isTextInput:!0}),{isHovered:q,hoverProps:ae}=Wn({isDisabled:!!(e!=null&&e.isDisabled)}),{focusProps:le,isFocusVisible:pe}=Gt(),{focusWithinProps:be}=ka({onFocusWithinChange:D}),{pressProps:Q}=Vn({isDisabled:!!(e!=null&&e.isDisabled),onPress:K}),Pe=x==="invalid"||e.isInvalid,ie=f.useMemo(()=>{var xe;return(!e.labelPlacement||e.labelPlacement==="inside")&&!a?"outside":(xe=e.labelPlacement)!=null?xe:"inside"},[e.labelPlacement,a]),ne=!!g||e.isClearable,Ge=!!a||!!l||!!u,Xe=!!t.placeholder,Ze=!!a,je=!!l||!!u,Kt=ie==="outside"||ie==="outside-left",Dt=ie==="inside",mt=O.current?(!O.current.value||O.current.value===""||!A||A==="")&&Xe:!1,lr=ie==="outside-left",st=!!m,lt=Kt?ie==="outside-left"||Xe||ie==="outside"&&st:!1,ur=ie==="outside"&&!Xe&&!st,Me=f.useMemo(()=>bf({...n,isInvalid:Pe,isClearable:ne}),[...Object.values(n),Pe,ne,st]),sa=f.useCallback((xe={})=>({ref:j,className:Me.base({class:I}),"data-slot":"base","data-filled":re(M||Xe||st||mt),"data-filled-within":re(k||Xe||st||mt),"data-focus-within":re(v),"data-focus-visible":re(Y),"data-readonly":re(e.isReadOnly),"data-focus":re(R),"data-hover":re(q),"data-required":re(e.isRequired),"data-invalid":re(Pe),"data-disabled":re(e.isDisabled),"data-has-elements":re(Ge),"data-has-helper":re(je),"data-has-label":re(Ze),"data-has-value":re(!mt),...be,...xe}),[Me,I,M,R,q,Pe,je,Ze,Ge,mt,st,v,Y,k,Xe,be,e.isReadOnly,e.isRequired,e.isDisabled]),cr=f.useCallback((xe={})=>({"data-slot":"label",className:Me.label({class:d==null?void 0:d.label}),...H,...xe}),[Me,H,d==null?void 0:d.label]),dr=f.useCallback((xe={})=>({ref:O,"data-slot":"input","data-filled":re(M),"data-filled-within":re(k),"data-has-start-content":re(st),"data-has-end-content":re(!!h),className:Me.input({class:we(d==null?void 0:d.input,A?"is-filled":"")}),...he(Z,X,fo(S,{enabled:!0,labelable:!0,omitEventNames:new Set(Object.keys(X))}),xe),required:e.isRequired,"aria-readonly":re(e.isReadOnly),"aria-required":re(e.isRequired),onChange:Ln(X.onChange,b)}),[Me,A,Z,X,S,M,k,st,h,d==null?void 0:d.input,e.isReadOnly,e.isRequired,b]),gn=f.useCallback((xe={})=>({ref:N,"data-slot":"input-wrapper","data-hover":re(q),"data-focus-visible":re(Y),"data-focus":re(R),className:Me.inputWrapper({class:we(d==null?void 0:d.inputWrapper,A?"is-filled":"")}),...he(xe,ae),onClick:Et=>{O.current&&Et.currentTarget===Et.target&&O.current.focus()},style:{cursor:"text",...xe.style}}),[Me,q,Y,R,A,d==null?void 0:d.inputWrapper]),la=f.useCallback((xe={})=>({...xe,ref:W,"data-slot":"inner-wrapper",onClick:Et=>{O.current&&Et.currentTarget===Et.target&&O.current.focus()},className:Me.innerWrapper({class:we(d==null?void 0:d.innerWrapper,xe==null?void 0:xe.className)})}),[Me,d==null?void 0:d.innerWrapper]),ua=f.useCallback((xe={})=>({...xe,"data-slot":"main-wrapper",className:Me.mainWrapper({class:we(d==null?void 0:d.mainWrapper,xe==null?void 0:xe.className)})}),[Me,d==null?void 0:d.mainWrapper]),ca=f.useCallback((xe={})=>({...xe,"data-slot":"helper-wrapper",className:Me.helperWrapper({class:we(d==null?void 0:d.helperWrapper,xe==null?void 0:xe.className)})}),[Me,d==null?void 0:d.helperWrapper]),da=f.useCallback((xe={})=>({...xe,...B,"data-slot":"description",className:Me.description({class:we(d==null?void 0:d.description,xe==null?void 0:xe.className)})}),[Me,d==null?void 0:d.description]),fa=f.useCallback((xe={})=>({...xe,...G,"data-slot":"error-message",className:Me.errorMessage({class:we(d==null?void 0:d.errorMessage,xe==null?void 0:xe.className)})}),[Me,G,d==null?void 0:d.errorMessage]),pa=f.useCallback((xe={})=>({...xe,role:"button",tabIndex:0,"data-slot":"clear-button","data-focus-visible":re(pe),className:Me.clearButton({class:we(d==null?void 0:d.clearButton,xe==null?void 0:xe.className)}),...he(Q,le)}),[Me,pe,Q,le,d==null?void 0:d.clearButton]);return{Component:$,classNames:d,domRef:O,label:a,description:l,startContent:m,endContent:h,labelPlacement:ie,isClearable:ne,isInvalid:Pe,hasHelper:je,hasStartContent:st,isLabelOutside:lt,isOutsideLeft:lr,isLabelOutsideAsPlaceholder:ur,shouldLabelBeOutside:Kt,shouldLabelBeInside:Dt,hasPlaceholder:Xe,errorMessage:u,getBaseProps:sa,getLabelProps:cr,getInputProps:dr,getMainWrapperProps:ua,getInputWrapperProps:gn,getInnerWrapperProps:la,getHelperWrapperProps:ca,getDescriptionProps:da,getErrorMessageProps:fa,getClearButtonProps:pa}}var uu=f.useLayoutEffect,gi="right-scroll-bar-position",bi="width-before-scroll-bar",J9="with-scroll-bars-hidden",Q9="--removed-body-scroll-bar-size";function q9(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function e7(e,t){var n=f.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}function t7(e,t){return e7(t||null,function(n){return e.forEach(function(r){return q9(r,n)})})}function n7(e){return e}function r7(e,t){t===void 0&&(t=n7);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(a){var i=t(a,r);return n.push(i),function(){n=n.filter(function(s){return s!==i})}},assignSyncMedium:function(a){for(r=!0;n.length;){var i=n;n=[],i.forEach(a)}n={push:function(s){return a(s)},filter:function(){return n}}},assignMedium:function(a){r=!0;var i=[];if(n.length){var s=n;n=[],s.forEach(a),i=n}var l=function(){var c=i;i=[],c.forEach(a)},u=function(){return Promise.resolve().then(l)};u(),n={push:function(c){i.push(c),u()},filter:function(c){return i=i.filter(c),n}}}};return o}function o7(e){e===void 0&&(e={});var t=r7(null);return t.options=_t({async:!0,ssr:!1},e),t}var k1=function(e){var t=e.sideCar,n=Zd(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return V.createElement(r,_t({},n))};k1.isSideCarExport=!0;function a7(e,t){return e.useMedium(t),k1}var O1,i7=function(){if(O1)return O1;if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function s7(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=i7();return t&&e.setAttribute("nonce",t),e}function l7(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function u7(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var c7=function(){var e=0,t=null;return{add:function(n){e==0&&(t=s7())&&(l7(t,n),u7(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},d7=function(){var e=c7();return function(t,n){V.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},F1=function(){var e=d7(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},f7={left:0,top:0,right:0,gap:0},cu=function(e){return parseInt(e||"",10)||0},p7=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[cu(n),cu(r),cu(o)]},m7=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return f7;var t=p7(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},h7=F1(),g7=function(e,t,n,r){var o=e.left,a=e.top,i=e.right,s=e.gap;return n===void 0&&(n="margin"),`
|
|
35
|
+
`),()=>{document.head.removeChild(u)}},[t]),V.createElement($6,{isPresent:t,childRef:r,sizeRef:o},V.cloneElement(e,{ref:r}))}const eu=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:o,presenceAffectsLayout:a,mode:i})=>{const s=ep(O6),l=f.useId(),u=f.useMemo(()=>({id:l,initial:t,isPresent:n,custom:o,onExitComplete:c=>{s.set(c,!0);for(const d of s.values())if(!d)return;r&&r()},register:c=>(s.set(c,!1),()=>s.delete(c))}),a?void 0:[n]);return f.useMemo(()=>{s.forEach((c,d)=>s.set(d,!1))},[n]),V.useEffect(()=>{!n&&!s.size&&r&&r()},[n]),i==="popLayout"&&(e=V.createElement(k6,{isPresent:n},e)),V.createElement(Xa.Provider,{value:u},e)};function O6(){return new Map}function F6(e){return f.useEffect(()=>()=>e(),[])}const Un=e=>e.key||"";function L6(e,t){e.forEach(n=>{const r=Un(n);t.set(r,n)})}function V6(e){const t=[];return f.Children.forEach(e,n=>{f.isValidElement(n)&&t.push(n)}),t}const j6=({children:e,custom:t,initial:n=!0,onExitComplete:r,exitBeforeEnter:o,presenceAffectsLayout:a=!0,mode:i="sync"})=>{kt(!o,"Replace exitBeforeEnter with mode='wait'");const s=f.useContext(go).forceRender||i1()[0],l=a1(),u=V6(e);let c=u;const d=f.useRef(new Map).current,p=f.useRef(c),m=f.useRef(new Map).current,h=f.useRef(!0);if(ll(()=>{h.current=!1,L6(u,m),p.current=c}),F6(()=>{h.current=!0,m.clear(),d.clear()}),h.current)return V.createElement(V.Fragment,null,c.map(y=>V.createElement(eu,{key:Un(y),isPresent:!0,initial:n?void 0:!1,presenceAffectsLayout:a,mode:i},y)));c=[...c];const g=p.current.map(Un),b=u.map(Un),x=g.length;for(let y=0;y<x;y++){const w=g[y];b.indexOf(w)===-1&&!d.has(w)&&d.set(w,void 0)}return i==="wait"&&d.size&&(c=[]),d.forEach((y,w)=>{if(b.indexOf(w)!==-1)return;const S=m.get(w);if(!S)return;const P=g.indexOf(w);let A=y;if(!A){const T=()=>{d.delete(w);const v=Array.from(m.keys()).filter(D=>!b.includes(D));if(v.forEach(D=>m.delete(D)),p.current=u.filter(D=>{const $=Un(D);return $===w||v.includes($)}),!d.size){if(l.current===!1)return;s(),r&&r()}};A=V.createElement(eu,{key:Un(S),isPresent:!1,onExitComplete:T,custom:t,presenceAffectsLayout:a,mode:i},S),d.set(w,A)}c.splice(P,0,A)}),c=c.map(y=>{const w=y.key;return d.has(w)?y:V.createElement(eu,{key:Un(y),isPresent:!0,presenceAffectsLayout:a,mode:i},y)}),process.env.NODE_ENV!=="production"&&i==="wait"&&c.length>1&&console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`),V.createElement(V.Fragment,null,d.size?c:c.map(y=>f.cloneElement(y)))},B6=f.createContext(null),W6=e=>!e.isLayoutDirty&&e.willUpdate(!1);function s1(){const e=new Set,t=new WeakMap,n=()=>e.forEach(W6);return{add:r=>{e.add(r),t.set(r,r.addEventListener("willUpdate",n))},remove:r=>{e.delete(r);const o=t.get(r);o&&(o(),t.delete(r)),n()},dirty:n}}const l1=e=>e===!0,_6=e=>l1(e===!0)||e==="id",G6=({children:e,id:t,inherit:n=!0})=>{const r=f.useContext(go),o=f.useContext(B6),[a,i]=i1(),s=f.useRef(null),l=r.id||o;s.current===null&&(_6(n)&&l&&(t=t?l+"-"+t:l),s.current={id:t,group:l1(n)&&r.group||s1()});const u=f.useMemo(()=>({...s.current,forceRender:a}),[i]);return V.createElement(go.Provider,{value:u},e)};function u1(e){return null}u1.getCollectionNode=function*(t,n){let{childItems:r,title:o,children:a}=t,i=t.title||t.children,s=t.textValue||(typeof i=="string"?i:"")||t["aria-label"]||"";!s&&!(n!=null&&n.suppressTextValueWarning)&&console.warn("<Item> with non-plain text contents is unsupported by type to select for accessibility. Please add a `textValue` prop."),yield{type:"item",props:t,rendered:i,textValue:s,"aria-label":t["aria-label"],hasChildNodes:R6(t),*childNodes(){if(r)for(let l of r)yield{type:"item",value:l};else if(o){let l=[];f.Children.forEach(a,u=>{l.push({type:"item",element:u})}),yield*l}}}};function R6(e){return e.hasChildItems!=null?e.hasChildItems:!!(e.childItems||e.title&&f.Children.count(e.children)>0)}let z6=u1;class H6{build(t,n){return this.context=n,c1(()=>this.iterateCollection(t))}*iterateCollection(t){let{children:n,items:r}=t;if(typeof n=="function"){if(!r)throw new Error("props.children was a function but props.items is missing");for(let o of t.items)yield*this.getFullNode({value:o},{renderer:n})}else{let o=[];f.Children.forEach(n,i=>{o.push(i)});let a=0;for(let i of o){let s=this.getFullNode({element:i,index:a},{});for(let l of s)a++,yield l}}}getKey(t,n,r,o){if(t.key!=null)return t.key;if(n.type==="cell"&&n.key!=null)return`${o}${n.key}`;let a=n.value;if(a!=null){var i;let s=(i=a.key)!==null&&i!==void 0?i:a.id;if(s==null)throw new Error("No key found for item");return s}return o?`${o}.${n.index}`:`$.${n.index}`}getChildState(t,n){return{renderer:n.renderer||t.renderer}}*getFullNode(t,n,r,o){let a=t.element;if(!a&&t.value&&n&&n.renderer){let l=this.cache.get(t.value);if(l&&(!l.shouldInvalidate||!l.shouldInvalidate(this.context))){l.index=t.index,l.parentKey=o?o.key:null,yield l;return}a=n.renderer(t.value)}if(f.isValidElement(a)){let l=a.type;if(typeof l!="function"&&typeof l.getCollectionNode!="function"){let p=typeof a.type=="function"?a.type.name:a.type;throw new Error(`Unknown element <${p}> in collection.`)}let u=l.getCollectionNode(a.props,this.context),c=t.index,d=u.next();for(;!d.done&&d.value;){let p=d.value;t.index=c;let m=p.key;m||(m=p.element?null:this.getKey(a,t,n,r));let g=[...this.getFullNode({...p,key:m,index:c,wrapper:X6(t.wrapper,p.wrapper)},this.getChildState(n,p),r?`${r}${a.key}`:a.key,o)];for(let b of g){if(b.value=p.value||t.value,b.value&&this.cache.set(b.value,b),t.type&&b.type!==t.type)throw new Error(`Unsupported type <${tu(b.type)}> in <${tu(o.type)}>. Only <${tu(t.type)}> is supported.`);c++,yield b}d=u.next(g)}return}if(t.key==null)return;let i=this,s={type:t.type,props:t.props,key:t.key,parentKey:o?o.key:null,value:t.value,level:o?o.level+1:0,index:t.index,rendered:t.rendered,textValue:t.textValue,"aria-label":t["aria-label"],wrapper:t.wrapper,shouldInvalidate:t.shouldInvalidate,hasChildNodes:t.hasChildNodes,childNodes:c1(function*(){if(!t.hasChildNodes)return;let l=0;for(let u of t.childNodes()){u.key!=null&&(u.key=`${s.key}${u.key}`),u.index=l;let c=i.getFullNode(u,i.getChildState(n,u),s.key,s);for(let d of c)l++,yield d}})};yield s}constructor(){this.cache=new WeakMap}}function c1(e){let t=[],n=null;return{*[Symbol.iterator](){for(let r of t)yield r;n||(n=e());for(let r of n)t.push(r),yield r}}}function X6(e,t){if(e&&t)return n=>e(t(n));if(e)return e;if(t)return t}function tu(e){return e[0].toUpperCase()+e.slice(1)}function Z6(e,t,n){let r=f.useMemo(()=>new H6,[]),{children:o,items:a,collection:i}=e;return f.useMemo(()=>{if(i)return i;let l=r.build({children:o,items:a},n);return t(l)},[r,o,a,i,n,t])}function Y6(e,t){return typeof t.getChildren=="function"?t.getChildren(e.key):e.childNodes}function U6(e){return K6(e,0)}function K6(e,t){if(t<0)return;let n=0;for(let r of e){if(n===t)return r;n++}}function nu(e,t,n){if(t.parentKey===n.parentKey)return t.index-n.index;let r=[...d1(e,t),t],o=[...d1(e,n),n],a=r.slice(0,o.length).findIndex((i,s)=>i!==o[s]);return a!==-1?(t=r[a],n=o[a],t.index-n.index):r.findIndex(i=>i===n)>=0?1:(o.findIndex(i=>i===t)>=0,-1)}function d1(e,t){let n=[];for(;(t==null?void 0:t.parentKey)!=null;)t=e.getItem(t.parentKey),n.unshift(t);return n}class Ot extends Set{constructor(t,n,r){super(t),t instanceof Ot?(this.anchorKey=n||t.anchorKey,this.currentKey=r||t.currentKey):(this.anchorKey=n,this.currentKey=r)}}function J6(e,t){if(e.size!==t.size)return!1;for(let n of e)if(!t.has(n))return!1;return!0}function Q6(e){let{selectionMode:t="none",disallowEmptySelection:n,allowDuplicateSelectionEvents:r,selectionBehavior:o="toggle",disabledBehavior:a="all"}=e,i=f.useRef(!1),[,s]=f.useState(!1),l=f.useRef(null),u=f.useRef(null),[,c]=f.useState(null),d=f.useMemo(()=>f1(e.selectedKeys),[e.selectedKeys]),p=f.useMemo(()=>f1(e.defaultSelectedKeys,new Ot),[e.defaultSelectedKeys]),[m,h]=hr(d,p,e.onSelectionChange),g=f.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),[b,x]=f.useState(o);o==="replace"&&b==="toggle"&&typeof m=="object"&&m.size===0&&x("replace");let y=f.useRef(o);return f.useEffect(()=>{o!==y.current&&(x(o),y.current=o)},[o]),{selectionMode:t,disallowEmptySelection:n,selectionBehavior:b,setSelectionBehavior:x,get isFocused(){return i.current},setFocused(w){i.current=w,s(w)},get focusedKey(){return l.current},get childFocusStrategy(){return u.current},setFocusedKey(w,S="first"){l.current=w,u.current=S,c(w)},selectedKeys:m,setSelectedKeys(w){(r||!J6(w,m))&&h(w)},disabledKeys:g,disabledBehavior:a}}function f1(e,t){return e?e==="all"?"all":new Ot(e):t}class q6{get selectionMode(){return this.state.selectionMode}get disallowEmptySelection(){return this.state.disallowEmptySelection}get selectionBehavior(){return this.state.selectionBehavior}setSelectionBehavior(t){this.state.setSelectionBehavior(t)}get isFocused(){return this.state.isFocused}setFocused(t){this.state.setFocused(t)}get focusedKey(){return this.state.focusedKey}get childFocusStrategy(){return this.state.childFocusStrategy}setFocusedKey(t,n){(t==null||this.collection.getItem(t))&&this.state.setFocusedKey(t,n)}get selectedKeys(){return this.state.selectedKeys==="all"?new Set(this.getSelectAllKeys()):this.state.selectedKeys}get rawSelection(){return this.state.selectedKeys}isSelected(t){return this.state.selectionMode==="none"?!1:(t=this.getKey(t),this.state.selectedKeys==="all"?this.canSelectItem(t):this.state.selectedKeys.has(t))}get isEmpty(){return this.state.selectedKeys!=="all"&&this.state.selectedKeys.size===0}get isSelectAll(){if(this.isEmpty)return!1;if(this.state.selectedKeys==="all")return!0;if(this._isSelectAll!=null)return this._isSelectAll;let t=this.getSelectAllKeys(),n=this.state.selectedKeys;return this._isSelectAll=t.every(r=>n.has(r)),this._isSelectAll}get firstSelectedKey(){let t=null;for(let n of this.state.selectedKeys){let r=this.collection.getItem(n);(!t||r&&nu(this.collection,r,t)<0)&&(t=r)}return t==null?void 0:t.key}get lastSelectedKey(){let t=null;for(let n of this.state.selectedKeys){let r=this.collection.getItem(n);(!t||r&&nu(this.collection,r,t)>0)&&(t=r)}return t==null?void 0:t.key}get disabledKeys(){return this.state.disabledKeys}get disabledBehavior(){return this.state.disabledBehavior}extendSelection(t){if(this.selectionMode==="none")return;if(this.selectionMode==="single"){this.replaceSelection(t);return}t=this.getKey(t);let n;if(this.state.selectedKeys==="all")n=new Ot([t],t,t);else{let r=this.state.selectedKeys,o=r.anchorKey||t;n=new Ot(r,o,t);for(let a of this.getKeyRange(o,r.currentKey||t))n.delete(a);for(let a of this.getKeyRange(t,o))this.canSelectItem(a)&&n.add(a)}this.state.setSelectedKeys(n)}getKeyRange(t,n){let r=this.collection.getItem(t),o=this.collection.getItem(n);return r&&o?nu(this.collection,r,o)<=0?this.getKeyRangeInternal(t,n):this.getKeyRangeInternal(n,t):[]}getKeyRangeInternal(t,n){let r=[],o=t;for(;o;){let a=this.collection.getItem(o);if((a&&a.type==="item"||a.type==="cell"&&this.allowsCellSelection)&&r.push(o),o===n)return r;o=this.collection.getKeyAfter(o)}return[]}getKey(t){let n=this.collection.getItem(t);if(!n||n.type==="cell"&&this.allowsCellSelection)return t;for(;n.type!=="item"&&n.parentKey!=null;)n=this.collection.getItem(n.parentKey);return!n||n.type!=="item"?null:n.key}toggleSelection(t){if(this.selectionMode==="none")return;if(this.selectionMode==="single"&&!this.isSelected(t)){this.replaceSelection(t);return}if(t=this.getKey(t),t==null)return;let n=new Ot(this.state.selectedKeys==="all"?this.getSelectAllKeys():this.state.selectedKeys);n.has(t)?n.delete(t):this.canSelectItem(t)&&(n.add(t),n.anchorKey=t,n.currentKey=t),!(this.disallowEmptySelection&&n.size===0)&&this.state.setSelectedKeys(n)}replaceSelection(t){if(this.selectionMode==="none"||(t=this.getKey(t),t==null))return;let n=this.canSelectItem(t)?new Ot([t],t,t):new Ot;this.state.setSelectedKeys(n)}setSelectedKeys(t){if(this.selectionMode==="none")return;let n=new Ot;for(let r of t)if(r=this.getKey(r),r!=null&&(n.add(r),this.selectionMode==="single"))break;this.state.setSelectedKeys(n)}getSelectAllKeys(){let t=[],n=r=>{for(;r;){if(this.canSelectItem(r)){let o=this.collection.getItem(r);o.type==="item"&&t.push(r),o.hasChildNodes&&(this.allowsCellSelection||o.type!=="item")&&n(U6(Y6(o,this.collection)).key)}r=this.collection.getKeyAfter(r)}};return n(this.collection.getFirstKey()),t}selectAll(){!this.isSelectAll&&this.selectionMode==="multiple"&&this.state.setSelectedKeys("all")}clearSelection(){!this.disallowEmptySelection&&(this.state.selectedKeys==="all"||this.state.selectedKeys.size>0)&&this.state.setSelectedKeys(new Ot)}toggleSelectAll(){this.isSelectAll?this.clearSelection():this.selectAll()}select(t,n){this.selectionMode!=="none"&&(this.selectionMode==="single"?this.isSelected(t)&&!this.disallowEmptySelection?this.toggleSelection(t):this.replaceSelection(t):this.selectionBehavior==="toggle"||n&&(n.pointerType==="touch"||n.pointerType==="virtual")?this.toggleSelection(t):this.replaceSelection(t))}isSelectionEqual(t){if(t===this.state.selectedKeys)return!0;let n=this.selectedKeys;if(t.size!==n.size)return!1;for(let r of t)if(!n.has(r))return!1;for(let r of n)if(!t.has(r))return!1;return!0}canSelectItem(t){if(this.state.selectionMode==="none"||this.state.disabledKeys.has(t))return!1;let n=this.collection.getItem(t);return!(!n||n.type==="cell"&&!this.allowsCellSelection)}isDisabled(t){return this.state.disabledKeys.has(t)&&this.state.disabledBehavior==="all"}isLink(t){var n,r;return!!(!((r=this.collection.getItem(t))===null||r===void 0||(n=r.props)===null||n===void 0)&&n.href)}constructor(t,n,r){this.collection=t,this.state=n;var o;this.allowsCellSelection=(o=r==null?void 0:r.allowsCellSelection)!==null&&o!==void 0?o:!1,this._isSelectAll=null}}var e9=()=>F.jsxs("svg",{"aria-hidden":"true",fill:"none",height:"80%",role:"presentation",viewBox:"0 0 24 24",width:"80%",children:[F.jsx("path",{d:"M12 2C9.38 2 7.25 4.13 7.25 6.75C7.25 9.32 9.26 11.4 11.88 11.49C11.96 11.48 12.04 11.48 12.1 11.49C12.12 11.49 12.13 11.49 12.15 11.49C12.16 11.49 12.16 11.49 12.17 11.49C14.73 11.4 16.74 9.32 16.75 6.75C16.75 4.13 14.62 2 12 2Z",fill:"currentColor"}),F.jsx("path",{d:"M17.0809 14.1489C14.2909 12.2889 9.74094 12.2889 6.93094 14.1489C5.66094 14.9989 4.96094 16.1489 4.96094 17.3789C4.96094 18.6089 5.66094 19.7489 6.92094 20.5889C8.32094 21.5289 10.1609 21.9989 12.0009 21.9989C13.8409 21.9989 15.6809 21.5289 17.0809 20.5889C18.3409 19.7389 19.0409 18.5989 19.0409 17.3589C19.0309 16.1289 18.3409 14.9889 17.0809 14.1489Z",fill:"currentColor"})]}),[wD,t9]=Wa({name:"AvatarGroupContext",strict:!1}),n9=globalThis!=null&&globalThis.document?f.useLayoutEffect:f.useEffect;function r9(e={}){const{loading:t,src:n,srcSet:r,onLoad:o,onError:a,crossOrigin:i,sizes:s,ignoreFallback:l}=e,[u,c]=f.useState("pending");f.useEffect(()=>{c(n?"loading":"pending")},[n]);const d=f.useRef(),p=f.useCallback(()=>{if(!n)return;m();const h=new Image;h.src=n,i&&(h.crossOrigin=i),r&&(h.srcset=r),s&&(h.sizes=s),t&&(h.loading=t),h.onload=g=>{m(),c("loaded"),o==null||o(g)},h.onerror=g=>{m(),c("failed"),a==null||a(g)},d.current=h},[n,i,r,s,o,a,t]),m=()=>{d.current&&(d.current.onload=null,d.current.onerror=null,d.current=null)};return n9(()=>{if(!l)return u==="loading"&&p(),()=>{m()}},[u,p,l]),l?"loaded":u}function o9(e={}){var t,n,r,o,a;const i=t9(),s=!!i,{as:l,ref:u,src:c,name:d,icon:p,classNames:m,fallback:h,alt:g=d||"avatar",imgRef:b,color:x=(t=i==null?void 0:i.color)!=null?t:"default",radius:y=(n=i==null?void 0:i.radius)!=null?n:"full",size:w=(r=i==null?void 0:i.size)!=null?r:"md",isBordered:S=(o=i==null?void 0:i.isBordered)!=null?o:!1,isDisabled:P=(a=i==null?void 0:i.isDisabled)!=null?a:!1,isFocusable:A=!1,getInitials:T=ay,ignoreFallback:v=!1,showFallback:D=!1,ImgComponent:$="img",imgProps:M,className:k,onError:I,...E}=e,O=l||"span",j=bt(u),N=bt(b),{isFocusVisible:W,isFocused:K,focusProps:H}=Gt(),{isHovered:X,hoverProps:B}=Wn({isDisabled:P}),Y=r9({src:c,onError:I,ignoreFallback:v})==="loaded",R=(!c||!Y)&&D,Z=f.useMemo(()=>{var be;return ry({color:x,radius:y,size:w,isBordered:S,isDisabled:P,isInGroup:s,isInGridGroup:(be=i==null?void 0:i.isGrid)!=null?be:!1})},[x,y,w,S,P,s,i==null?void 0:i.isGrid]),q=we(m==null?void 0:m.base,k),ae=f.useMemo(()=>A||l==="button",[A,l]),le=f.useCallback((be={})=>({ref:j,tabIndex:ae?0:-1,"data-hover":re(X),"data-focus":re(K),"data-focus-visible":re(W),className:Z.base({class:we(q,be==null?void 0:be.className)}),...he(E,B,ae?H:{})}),[ae,Z,q,H,E]),pe=f.useCallback((be={})=>({ref:N,src:c,"data-loaded":re(Y),className:Z.img({class:m==null?void 0:m.img}),...he(M,be)}),[Z,Y,M,c,N]);return{Component:O,ImgComponent:$,src:c,alt:g,icon:p,name:d,imgRef:N,slots:Z,classNames:m,fallback:h,isImgLoaded:Y,showFallback:R,ignoreFallback:v,getInitials:T,getAvatarProps:le,getImageProps:pe}}var p1=$t((e,t)=>{const{Component:n,ImgComponent:r,src:o,icon:a=F.jsx(e9,{}),alt:i,classNames:s,slots:l,name:u,showFallback:c,fallback:d,getInitials:p,getAvatarProps:m,getImageProps:h}=o9({...e,ref:t}),g=f.useMemo(()=>!c&&o?null:d?F.jsx("div",{"aria-label":i,className:l.fallback({class:s==null?void 0:s.fallback}),role:"img",children:d}):u?F.jsx("span",{"aria-label":i,className:l.name({class:s==null?void 0:s.name}),role:"img",children:p(u)}):F.jsx("span",{"aria-label":i,className:l.icon({class:s==null?void 0:s.icon}),role:"img",children:a}),[c,o,d,u,s]);return F.jsxs(n,{...m(),children:[o&&F.jsx(r,{...h(),alt:i}),g]})});p1.displayName="NextUI.Avatar";var a9=p1,[ID,i9]=Wa({name:"ButtonGroupContext",strict:!1});function s9(e,t){let{elementType:n="button",isDisabled:r,onPress:o,onPressStart:a,onPressEnd:i,onPressChange:s,preventFocusOnPress:l,allowFocusWhenDisabled:u,onClick:c,href:d,target:p,rel:m,type:h="button",allowTextSelectionOnPress:g}=e,b;n==="button"?b={type:h,disabled:r}:b={role:"button",tabIndex:r?void 0:0,href:n==="a"&&r?void 0:d,target:n==="a"?p:void 0,type:n==="input"?h:void 0,disabled:n==="input"?r:void 0,"aria-disabled":!r||n==="input"?void 0:r,rel:n==="a"?m:void 0};let{pressProps:x,isPressed:y}=po({onPressStart:a,onPressEnd:i,onPressChange:s,onPress:o,isDisabled:r,preventFocusOnPress:l,allowTextSelectionOnPress:g,ref:t}),{focusableProps:w}=La(e,t);u&&(w.tabIndex=r?-1:w.tabIndex);let S=he(w,x,br(e,{labelable:!0}));return{isPressed:y,buttonProps:he(b,S,{"aria-haspopup":e["aria-haspopup"],"aria-expanded":e["aria-expanded"],"aria-controls":e["aria-controls"],"aria-pressed":e["aria-pressed"],onClick:P=>{c==null||c(P)}})}}var l9=(e,t,n)=>Math.min(Math.max(e,t),n),m1=e=>{const{ripples:t=[],motionProps:n,color:r="currentColor",style:o,onClear:a}=e;return F.jsx(F.Fragment,{children:t.map(i=>{const s=l9(.01*i.size,.2,i.size>100?.75:.5);return F.jsx(j6,{mode:"popLayout",children:F.jsx(o1.span,{animate:{transform:"scale(2)",opacity:0},className:"nextui-ripple",exit:{opacity:0},initial:{transform:"scale(0)",opacity:.35},style:{position:"absolute",backgroundColor:r,borderRadius:"100%",transformOrigin:"center",pointerEvents:"none",zIndex:10,top:i.y,left:i.x,width:`${i.size}px`,height:`${i.size}px`,...o},transition:{duration:s},onAnimationComplete:()=>{a(i.key)},...n})},i.key)})})};m1.displayName="NextUI.Ripple";var u9=m1;function c9(e={}){const[t,n]=f.useState([]),r=f.useCallback(a=>{const i=a.currentTarget,s=Math.max(i.clientWidth,i.clientHeight),l=i.getBoundingClientRect();n(u=>[...u,{key:iy(u.length.toString()),size:s,x:a.clientX-l.x-s/2,y:a.clientY-l.y-s/2}])},[]),o=f.useCallback(a=>{n(i=>i.filter(s=>s.key!==a))},[]);return{ripples:t,onClick:r,onClear:o,...e}}function d9(e){var t,n,r,o,a,i,s,l;const u=i9(),c=!!u,{ref:d,as:p,children:m,startContent:h,endContent:g,autoFocus:b,className:x,spinner:y,fullWidth:w=(t=u==null?void 0:u.fullWidth)!=null?t:!1,size:S=(n=u==null?void 0:u.size)!=null?n:"md",color:P=(r=u==null?void 0:u.color)!=null?r:"default",variant:A=(o=u==null?void 0:u.variant)!=null?o:"solid",disableAnimation:T=(a=u==null?void 0:u.disableAnimation)!=null?a:!1,radius:v=u==null?void 0:u.radius,disableRipple:D=(i=u==null?void 0:u.disableRipple)!=null?i:!1,isDisabled:$=(s=u==null?void 0:u.isDisabled)!=null?s:!1,isIconOnly:M=(l=u==null?void 0:u.isIconOnly)!=null?l:!1,isLoading:k=!1,spinnerPlacement:I="start",onPress:E,onClick:O,...j}=e,N=p||"button",W=typeof N=="string",K=bt(d),{isFocusVisible:H,isFocused:X,focusProps:B}=Gt({autoFocus:b}),G=$||k,Y=f.useMemo(()=>oy({size:S,color:P,variant:A,radius:v,fullWidth:w,isDisabled:G,isInGroup:c,disableAnimation:T,isIconOnly:M,className:x}),[S,P,A,v,w,G,c,M,T,x]),{onClick:R,onClear:Z,ripples:q}=c9(),ae=f.useCallback(je=>{D||G||T||K.current&&R(je)},[D,G,T,K,R]),{buttonProps:le,isPressed:pe}=s9({elementType:p,isDisabled:G,onPress:E,onClick:Ln(O,ae),...j},K),{isHovered:be,hoverProps:Q}=Wn({isDisabled:G}),Pe=f.useCallback((je={})=>({"data-disabled":re(G),"data-focus":re(X),"data-pressed":re(pe),"data-focus-visible":re(H),"data-hover":re(be),"data-loading":re(k),...he(le,B,Q,fo(j,{enabled:W}),fo(je))}),[k,G,X,pe,W,H,be,le,B,Q,j]),ie=je=>f.isValidElement(je)?f.cloneElement(je,{"aria-hidden":!0,focusable:!1,tabIndex:-1}):null,ne=ie(h),Ge=ie(g),Xe=f.useMemo(()=>({sm:"sm",md:"sm",lg:"md"})[S],[S]),Ze=f.useCallback(()=>({ripples:q,onClear:Z}),[q,Z]);return{Component:N,children:m,domRef:K,spinner:y,styles:Y,startContent:ne,endContent:Ge,isLoading:k,spinnerPlacement:I,spinnerSize:Xe,disableRipple:D,getButtonProps:Pe,getRippleProps:Ze,isIconOnly:M}}function f9(e){const[t,n]=uo(e,mf.variantKeys),{children:r,className:o,classNames:a,label:i,...s}=t,l=f.useMemo(()=>mf({...n}),[...Object.values(n)]),u=we(a==null?void 0:a.base,o),c=i||r,d=f.useMemo(()=>c&&typeof c=="string"?c:s["aria-label"]?"":"Loading",[r,c,s["aria-label"]]),p=f.useCallback(()=>({"aria-label":d,className:l.base({class:u}),...s}),[d,l,u,s]);return{label:c,slots:l,classNames:a,getSpinnerProps:p}}var h1=$t((e,t)=>{const{slots:n,classNames:r,label:o,getSpinnerProps:a}=f9({...e});return F.jsxs("div",{ref:t,...a(),children:[F.jsxs("div",{className:n.wrapper({class:r==null?void 0:r.wrapper}),children:[F.jsx("i",{className:n.circle1({class:r==null?void 0:r.circle1})}),F.jsx("i",{className:n.circle2({class:r==null?void 0:r.circle2})})]}),o&&F.jsx("span",{className:n.label(),children:o})]})});h1.displayName="NextUI.Spinner";var p9=h1,g1=$t((e,t)=>{const{Component:n,domRef:r,children:o,styles:a,spinnerSize:i,spinner:s=F.jsx(p9,{color:"current",size:i}),spinnerPlacement:l,startContent:u,endContent:c,isLoading:d,disableRipple:p,getButtonProps:m,getRippleProps:h,isIconOnly:g}=d9({...e,ref:t});return F.jsxs(n,{ref:r,className:a,...m(),children:[u,d&&l==="start"&&s,d&&g?null:o,d&&l==="end"&&s,c,!p&&F.jsx(u9,{...h()})]})});g1.displayName="NextUI.Button";var m9=g1;function h9(e){const[t,n]=uo(e,vf.variantKeys),{ref:r,as:o,children:a,avatar:i,startContent:s,endContent:l,onClose:u,classNames:c,className:d,...p}=t,m=o||"div",h=bt(r),g=we(c==null?void 0:c.base,d),b=!!u,x=e.variant==="dot",{focusProps:y,isFocusVisible:w}=Gt(),S=f.useMemo(()=>typeof a=="string"&&(a==null?void 0:a.length)===1,[a]),P=f.useMemo(()=>!!i||!!s,[i,s]),A=f.useMemo(()=>!!l||b,[l,b]),T=f.useMemo(()=>vf({...n,hasStartContent:P,hasEndContent:A,isOneChar:S,isCloseable:b,isCloseButtonFocusVisible:w}),[...Object.values(n),w,P,A,S,b]),{pressProps:v}=po({isDisabled:!!(e!=null&&e.isDisabled),onPress:u}),D=()=>({ref:h,className:T.base({class:g}),...p}),$=()=>({role:"button",tabIndex:0,className:T.closeButton({class:c==null?void 0:c.closeButton}),...he(v,y)}),M=I=>f.isValidElement(I)?f.cloneElement(I,{className:T.avatar({class:c==null?void 0:c.avatar})}):null,k=I=>f.isValidElement(I)?f.cloneElement(I,{className:we("max-h-[80%]",I.props.className)}):null;return{Component:m,children:a,slots:T,classNames:c,isDot:x,isCloseable:b,startContent:M(i)||k(s),endContent:k(l),getCloseButtonProps:$,getChipProps:D}}var b1=$t((e,t)=>{const{Component:n,children:r,slots:o,classNames:a,isDot:i,isCloseable:s,startContent:l,endContent:u,getCloseButtonProps:c,getChipProps:d}=h9({...e,ref:t}),p=f.useMemo(()=>i&&!l?F.jsx("span",{className:o.dot({class:a==null?void 0:a.dot})}):l,[o,l,i]),m=f.useMemo(()=>s?F.jsx("span",{...c(),children:u||F.jsx(Ay,{})}):u,[u,s,c]);return F.jsxs(n,{...d(),children:[p,F.jsx("span",{className:o.content({class:a==null?void 0:a.content}),children:r}),m]})});b1.displayName="NextUI.Chip";var v1=b1;function ru(e,t,n){let{validationBehavior:r,focus:o}=e;Jt(()=>{if(r==="native"&&(n!=null&&n.current)){let l=t.realtimeValidation.isInvalid?t.realtimeValidation.validationErrors.join(" ")||"Invalid value.":"";n.current.setCustomValidity(l),n.current.hasAttribute("title")||(n.current.title=""),t.realtimeValidation.isInvalid||t.updateValidation(b9(n.current))}});let a=Je(()=>{t.resetValidation()}),i=Je(l=>{var u;t.displayValidation.isInvalid||t.commitValidation();let c=n==null||(u=n.current)===null||u===void 0?void 0:u.form;if(!l.defaultPrevented&&n&&c&&v9(c)===n.current){var d;o?o():(d=n.current)===null||d===void 0||d.focus(),T2("keyboard")}l.preventDefault()}),s=Je(()=>{t.commitValidation()});f.useEffect(()=>{let l=n==null?void 0:n.current;if(!l)return;let u=l.form;return l.addEventListener("invalid",i),l.addEventListener("change",s),u==null||u.addEventListener("reset",a),()=>{l.removeEventListener("invalid",i),l.removeEventListener("change",s),u==null||u.removeEventListener("reset",a)}},[n,i,s,a,r])}function g9(e){let t=e.validity;return{badInput:t.badInput,customError:t.customError,patternMismatch:t.patternMismatch,rangeOverflow:t.rangeOverflow,rangeUnderflow:t.rangeUnderflow,stepMismatch:t.stepMismatch,tooLong:t.tooLong,tooShort:t.tooShort,typeMismatch:t.typeMismatch,valueMissing:t.valueMissing,valid:t.valid}}function b9(e){return{isInvalid:!e.validity.valid,validationDetails:g9(e),validationErrors:e.validationMessage?[e.validationMessage]:[]}}function v9(e){for(let t=0;t<e.elements.length;t++){let n=e.elements[t];if(!n.validity.valid)return n}return null}const y1={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},x1={...y1,customError:!0,valid:!1},$r={isInvalid:!1,validationDetails:y1,validationErrors:[]},y9=f.createContext({}),ou="__formValidationState"+Date.now();function mi(e){if(e[ou]){let{realtimeValidation:t,displayValidation:n,updateValidation:r,resetValidation:o,commitValidation:a}=e[ou];return{realtimeValidation:t,displayValidation:n,updateValidation:r,resetValidation:o,commitValidation:a}}return x9(e)}function x9(e){let{isInvalid:t,validationState:n,name:r,value:o,builtinValidation:a,validate:i,validationBehavior:s="aria"}=e;n&&(t||(t=n==="invalid"));let l=t?{isInvalid:!0,validationErrors:[],validationDetails:x1}:null,u=f.useMemo(()=>C1(C9(i,o)),[i,o]);a!=null&&a.validationDetails.valid&&(a=null);let c=f.useContext(y9),d=f.useMemo(()=>r?Array.isArray(r)?r.flatMap($=>au(c[$])):au(c[r]):[],[c,r]),[p,m]=f.useState(c),[h,g]=f.useState(!1);c!==p&&(m(c),g(!1));let b=f.useMemo(()=>C1(h?[]:d),[h,d]),x=f.useRef($r),[y,w]=f.useState($r),S=f.useRef($r),P=()=>{if(!A)return;T(!1);let $=u||a||x.current;iu($,S.current)||(S.current=$,w($))},[A,T]=f.useState(!1);return f.useEffect(P),{realtimeValidation:l||b||u||a||$r,displayValidation:s==="native"?l||b||y:l||b||u||a||y,updateValidation($){s==="aria"&&!iu(y,$)?w($):x.current=$},resetValidation(){let $=$r;iu($,S.current)||(S.current=$,w($)),s==="native"&&T(!1),g(!0)},commitValidation(){s==="native"&&T(!0),g(!0)}}}function au(e){return e?Array.isArray(e)?e:[e]:[]}function C9(e,t){if(typeof e=="function"){let n=e(t);if(n&&typeof n!="boolean")return au(n)}return[]}function C1(e){return e.length?{isInvalid:!0,validationErrors:e,validationDetails:x1}:null}function iu(e,t){return e===t?!0:e&&t&&e.isInvalid===t.isInvalid&&e.validationErrors.length===t.validationErrors.length&&e.validationErrors.every((n,r)=>n===t.validationErrors[r])&&Object.entries(e.validationDetails).every(([n,r])=>t.validationDetails[n]===r)}function w1(e,t,n){let{isDisabled:r=!1,isReadOnly:o=!1,value:a,name:i,children:s,"aria-label":l,"aria-labelledby":u,validationState:c="valid",isInvalid:d}=e,p=A=>{A.stopPropagation(),t.setSelected(A.target.checked)},m=s!=null,h=l!=null||u!=null;!m&&!h&&console.warn("If you do not provide children, you must specify an aria-label for accessibility");let{pressProps:g,isPressed:b}=Vn({isDisabled:r}),{pressProps:x,isPressed:y}=Vn({isDisabled:r||o,onPress(){t.toggle()}}),{focusableProps:w}=La(e,n),S=he(g,w),P=br(e,{labelable:!0});return Fs(n,t.isSelected,t.setSelected),{labelProps:he(x,{onClick:A=>A.preventDefault()}),inputProps:he(P,{"aria-invalid":d||c==="invalid"||void 0,"aria-errormessage":e["aria-errormessage"],"aria-controls":e["aria-controls"],"aria-readonly":o||void 0,onChange:p,disabled:r,...a==null?{}:{value:a},name:i,type:"checkbox",...S}),isSelected:t.isSelected,isPressed:b||y,isDisabled:r,isReadOnly:o,isInvalid:d||c==="invalid"}}function w9(e){let{id:t,label:n,"aria-labelledby":r,"aria-label":o,labelElementType:a="label"}=e;t=gr(t);let i=gr(),s={};n?(r=r?`${i} ${r}`:i,s={id:i,htmlFor:a==="label"?t:void 0}):!r&&!o&&console.warn("If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility");let l=$s({id:t,"aria-label":o,"aria-labelledby":r});return{labelProps:s,fieldProps:l}}function I1(e){let{description:t,errorMessage:n,isInvalid:r,validationState:o}=e,{labelProps:a,fieldProps:i}=w9(e),s=Od([!!t,!!n,r,o]),l=Od([!!t,!!n,r,o]);return i=he(i,{"aria-describedby":[s,l,e["aria-describedby"]].filter(Boolean).join(" ")||void 0}),{labelProps:a,fieldProps:i,descriptionProps:{id:s},errorMessageProps:{id:l}}}function su(e={}){let{isReadOnly:t}=e,[n,r]=hr(e.isSelected,e.defaultSelected||!1,e.onChange);function o(i){t||r(i)}function a(){t||r(!n)}return{isSelected:n,setSelected:o,toggle:a}}function E1(e,t,n){let r=mi({...e,value:t.isSelected}),{isInvalid:o,validationErrors:a,validationDetails:i}=r.displayValidation,{labelProps:s,inputProps:l,isSelected:u,isPressed:c,isDisabled:d,isReadOnly:p}=w1({...e,isInvalid:o},t,n);ru(e,r,n);let{isIndeterminate:m,isRequired:h,validationBehavior:g="aria"}=e;return f.useEffect(()=>{n.current&&(n.current.indeterminate=!!m)}),{labelProps:s,inputProps:{...l,checked:u,"aria-required":h&&g==="aria"||void 0,required:h&&g==="native"},isSelected:u,isPressed:c,isDisabled:d,isReadOnly:p,isInvalid:o,validationErrors:a,validationDetails:i}}const I9=new WeakMap;function E9(e,t,n){const r=su({isReadOnly:e.isReadOnly||t.isReadOnly,isSelected:t.isSelected(e.value),onChange(b){b?t.addValue(e.value):t.removeValue(e.value),e.onChange&&e.onChange(b)}});let{name:o,descriptionId:a,errorMessageId:i,validationBehavior:s}=I9.get(t);var l;s=(l=e.validationBehavior)!==null&&l!==void 0?l:s;let{realtimeValidation:u}=mi({...e,value:r.isSelected,name:void 0,validationBehavior:"aria"}),c=f.useRef($r),d=()=>{t.setInvalid(e.value,u.isInvalid?u:c.current)};f.useEffect(d);let p=t.realtimeValidation.isInvalid?t.realtimeValidation:u,m=s==="native"?t.displayValidation:p;var h;let g=E1({...e,isReadOnly:e.isReadOnly||t.isReadOnly,isDisabled:e.isDisabled||t.isDisabled,name:e.name||o,isRequired:(h=e.isRequired)!==null&&h!==void 0?h:t.isRequired,validationBehavior:s,[ou]:{realtimeValidation:p,displayValidation:m,resetValidation:t.resetValidation,commitValidation:t.commitValidation,updateValidation(b){c.current=b,d()}}},r,n);return{...g,inputProps:{...g.inputProps,"aria-describedby":[e["aria-describedby"],t.isInvalid?i:null,a].filter(Boolean).join(" ")||void 0}}}var[ED,P9]=Wa({name:"CheckboxGroupContext",strict:!1});function S9(e){const{isSelected:t,disableAnimation:n,...r}=e;return F.jsx("svg",{"aria-hidden":"true",role:"presentation",viewBox:"0 0 17 18",...r,children:F.jsx("polyline",{fill:"none",points:"1 9 7 14 15 4",stroke:"currentColor",strokeDasharray:22,strokeDashoffset:t?44:66,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,style:!n&&t?{transition:"stroke-dashoffset 250ms linear 0.2s"}:{}})})}function M9(e){const{isSelected:t,disableAnimation:n,...r}=e;return F.jsx("svg",{stroke:"currentColor",strokeWidth:3,viewBox:"0 0 24 24",...r,children:F.jsx("line",{x1:"21",x2:"3",y1:"12",y2:"12"})})}function A9(e){const{isIndeterminate:t,...n}=e,r=t?M9:S9;return F.jsx(r,{...n})}function T9(e={}){var t,n,r,o,a,i;const s=P9(),l=!!s,{as:u,ref:c,value:d="",children:p,icon:m,name:h,isRequired:g=!1,isReadOnly:b=!1,autoFocus:x=!1,isSelected:y,validationState:w,size:S=(t=s==null?void 0:s.size)!=null?t:"md",color:P=(n=s==null?void 0:s.color)!=null?n:"primary",radius:A=s==null?void 0:s.radius,lineThrough:T=(r=s==null?void 0:s.lineThrough)!=null?r:!1,isDisabled:v=(o=s==null?void 0:s.isDisabled)!=null?o:!1,disableAnimation:D=(a=s==null?void 0:s.disableAnimation)!=null?a:!1,isInvalid:$=w?w==="invalid":(i=s==null?void 0:s.isInvalid)!=null?i:!1,isIndeterminate:M=!1,defaultSelected:k,classNames:I,onChange:E,className:O,onValueChange:j,...N}=e;s&&Cf&&(y&&Ba("The Checkbox.Group is being used, `isSelected` will be ignored. Use the `value` of the Checkbox.Group instead.","Checkbox"),k&&Ba("The Checkbox.Group is being used, `defaultSelected` will be ignored. Use the `defaultValue` of the Checkbox.Group instead.","Checkbox"));const W=u||"label",K=f.useRef(null),H=wf(c,K),X=f.useId(),B=f.useMemo(()=>({name:h,value:d,children:p,autoFocus:x,defaultSelected:k,isIndeterminate:M,isRequired:g,isInvalid:$,isSelected:y,isDisabled:v,isReadOnly:b,"aria-label":el(N["aria-label"],p),"aria-labelledby":N["aria-labelledby"]||X,onChange:j}),[d,h,X,p,x,$,M,v,b,y,k,N["aria-label"],N["aria-labelledby"],j]),{inputProps:G,isSelected:Y,isDisabled:R,isReadOnly:Z,isPressed:q}=l?E9({...B,isInvalid:$},s.groupState,K):E1(B,su(B),K),ae=R||Z,[le,pe]=f.useState(!1),{pressProps:be}=po({isDisabled:ae,onPressStart(lt){lt.pointerType!=="keyboard"&&pe(!0)},onPressEnd(lt){lt.pointerType!=="keyboard"&&pe(!1)}}),Q=ae?!1:le||q;g&&(G.required=!0);const{hoverProps:Pe,isHovered:ie}=Wn({isDisabled:G.disabled}),{focusProps:ne,isFocused:Ge,isFocusVisible:Xe}=Gt({autoFocus:G.autoFocus}),Ze=f.useMemo(()=>ny({color:P,size:S,radius:A,isInvalid:$,lineThrough:T,isDisabled:R,disableAnimation:D}),[P,S,A,$,T,R,D]),je=we(I==null?void 0:I.base,O),Kt=f.useCallback(()=>({ref:H,className:Ze.base({class:je}),"data-disabled":re(R),"data-selected":re(Y||M),"data-invalid":re($),"data-hover":re(ie),"data-focus":re(Ge),"data-pressed":re(Q),"data-readonly":re(G.readOnly),"data-focus-visible":re(Xe),"data-indeterminate":re(M),...he(Pe,be,N)}),[Ze,je,R,Y,M,$,ie,Ge,Q,G.readOnly,Xe,Pe,be,N]),Dt=f.useCallback((lt={})=>({...lt,"aria-hidden":!0,className:we(Ze.wrapper({class:we(I==null?void 0:I.wrapper,lt==null?void 0:lt.className)}))}),[Ze,I==null?void 0:I.wrapper]),mt=f.useCallback(()=>({ref:K,...he(G,ne),onChange:Ln(G.onChange,E)}),[G,ne,E]),lr=f.useCallback(()=>({id:X,className:Ze.label({class:I==null?void 0:I.label})}),[Ze,I==null?void 0:I.label,R,Y,$]),st=f.useCallback(()=>({isSelected:Y,isIndeterminate:!!M,disableAnimation:!!D,className:Ze.icon({class:I==null?void 0:I.icon})}),[Ze,I==null?void 0:I.icon,Y,M,D]);return{Component:W,icon:m,children:p,isSelected:Y,isDisabled:R,isInvalid:$,isFocused:Ge,isHovered:ie,isFocusVisible:Xe,getBaseProps:Kt,getWrapperProps:Dt,getInputProps:mt,getLabelProps:lr,getIconProps:st}}var P1=$t((e,t)=>{const{Component:n,children:r,icon:o=F.jsx(A9,{}),getBaseProps:a,getWrapperProps:i,getInputProps:s,getIconProps:l,getLabelProps:u}=T9({...e,ref:t}),c=typeof o=="function"?o(l()):f.cloneElement(o,l());return F.jsxs(n,{...a(),children:[F.jsx(Js,{children:F.jsx("input",{...s()})}),F.jsx("span",{...i(),children:c}),r&&F.jsx("span",{...u(),children:r})]})});P1.displayName="NextUI.Checkbox";var D9=P1;const S1=e=>typeof e=="object"&&e!=null&&e.nodeType===1,M1=(e,t)=>(!t||e!=="hidden")&&e!=="visible"&&e!=="clip",lu=(e,t)=>{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){const n=getComputedStyle(e,null);return M1(n.overflowY,t)||M1(n.overflowX,t)||(r=>{const o=(a=>{if(!a.ownerDocument||!a.ownerDocument.defaultView)return null;try{return a.ownerDocument.defaultView.frameElement}catch{return null}})(r);return!!o&&(o.clientHeight<r.scrollHeight||o.clientWidth<r.scrollWidth)})(e)}return!1},hi=(e,t,n,r,o,a,i,s)=>a<e&&i>t||a>e&&i<t?0:a<=e&&s<=n||i>=t&&s>=n?a-e-r:i>t&&s<n||a<e&&s>n?i-t+o:0,N9=e=>{const t=e.parentElement;return t??(e.getRootNode().host||null)},A1=(e,t)=>{var n,r,o,a;if(typeof document>"u")return[];const{scrollMode:i,block:s,inline:l,boundary:u,skipOverflowHiddenElements:c}=t,d=typeof u=="function"?u:j=>j!==u;if(!S1(e))throw new TypeError("Invalid target");const p=document.scrollingElement||document.documentElement,m=[];let h=e;for(;S1(h)&&d(h);){if(h=N9(h),h===p){m.push(h);break}h!=null&&h===document.body&&lu(h)&&!lu(document.documentElement)||h!=null&&lu(h,c)&&m.push(h)}const g=(r=(n=window.visualViewport)==null?void 0:n.width)!=null?r:innerWidth,b=(a=(o=window.visualViewport)==null?void 0:o.height)!=null?a:innerHeight,{scrollX:x,scrollY:y}=window,{height:w,width:S,top:P,right:A,bottom:T,left:v}=e.getBoundingClientRect(),{top:D,right:$,bottom:M,left:k}=(j=>{const N=window.getComputedStyle(j);return{top:parseFloat(N.scrollMarginTop)||0,right:parseFloat(N.scrollMarginRight)||0,bottom:parseFloat(N.scrollMarginBottom)||0,left:parseFloat(N.scrollMarginLeft)||0}})(e);let I=s==="start"||s==="nearest"?P-D:s==="end"?T+M:P+w/2-D+M,E=l==="center"?v+S/2-k+$:l==="end"?A+$:v-k;const O=[];for(let j=0;j<m.length;j++){const N=m[j],{height:W,width:K,top:H,right:X,bottom:B,left:G}=N.getBoundingClientRect();if(i==="if-needed"&&P>=0&&v>=0&&T<=b&&A<=g&&P>=H&&T<=B&&v>=G&&A<=X)return O;const Y=getComputedStyle(N),R=parseInt(Y.borderLeftWidth,10),Z=parseInt(Y.borderTopWidth,10),q=parseInt(Y.borderRightWidth,10),ae=parseInt(Y.borderBottomWidth,10);let le=0,pe=0;const be="offsetWidth"in N?N.offsetWidth-N.clientWidth-R-q:0,Q="offsetHeight"in N?N.offsetHeight-N.clientHeight-Z-ae:0,Pe="offsetWidth"in N?N.offsetWidth===0?0:K/N.offsetWidth:0,ie="offsetHeight"in N?N.offsetHeight===0?0:W/N.offsetHeight:0;if(p===N)le=s==="start"?I:s==="end"?I-b:s==="nearest"?hi(y,y+b,b,Z,ae,y+I,y+I+w,w):I-b/2,pe=l==="start"?E:l==="center"?E-g/2:l==="end"?E-g:hi(x,x+g,g,R,q,x+E,x+E+S,S),le=Math.max(0,le+y),pe=Math.max(0,pe+x);else{le=s==="start"?I-H-Z:s==="end"?I-B+ae+Q:s==="nearest"?hi(H,B,W,Z,ae+Q,I,I+w,w):I-(H+W/2)+Q/2,pe=l==="start"?E-G-R:l==="center"?E-(G+K/2)+be/2:l==="end"?E-X+q+be:hi(G,X,K,R,q+be,E,E+S,S);const{scrollLeft:ne,scrollTop:Ge}=N;le=ie===0?0:Math.max(0,Math.min(Ge+le/ie,N.scrollHeight-W/ie+Q)),pe=Pe===0?0:Math.max(0,Math.min(ne+pe/Pe,N.scrollWidth-K/Pe+be)),I+=Ge-le,E+=ne-pe}O.push({el:N,top:le,left:pe})}return O},$9=e=>e===!1?{block:"end",inline:"nearest"}:(t=>t===Object(t)&&Object.keys(t).length!==0)(e)?e:{block:"start",inline:"nearest"};function k9(e,t){if(!e.isConnected||!(r=>{let o=r;for(;o&&o.parentNode;){if(o.parentNode===document)return!0;o=o.parentNode instanceof ShadowRoot?o.parentNode.host:o.parentNode}return!1})(e))return;if((r=>typeof r=="object"&&typeof r.behavior=="function")(t))return t.behavior(A1(e,t));const n=typeof t=="boolean"||t==null?void 0:t.behavior;for(const{el:r,top:o,left:a}of A1(e,$9(t)))r.scroll({top:o,left:a,behavior:n})}let O9=Math.round(Math.random()*1e10),F9=0;function L9(e){let t=f.useMemo(()=>e.name||`radio-group-${O9}-${++F9}`,[e.name]);var n;let[r,o]=hr(e.value,(n=e.defaultValue)!==null&&n!==void 0?n:null,e.onChange),[a,i]=f.useState(null),s=mi({...e,value:r}),l=c=>{!e.isReadOnly&&!e.isDisabled&&(o(c),s.commitValidation())},u=s.displayValidation.isInvalid;return{...s,name:t,selectedValue:r,setSelectedValue:l,lastFocusedValue:a,setLastFocusedValue:i,isDisabled:e.isDisabled||!1,isReadOnly:e.isReadOnly||!1,isRequired:e.isRequired||!1,validationState:e.validationState||(u?"invalid":null),isInvalid:u}}const T1=new WeakMap;function V9(e,t,n){let{value:r,children:o,"aria-label":a,"aria-labelledby":i}=e;const s=e.isDisabled||t.isDisabled;let l=o!=null,u=a!=null||i!=null;!l&&!u&&console.warn("If you do not provide children, you must specify an aria-label for accessibility");let c=t.selectedValue===r,d=v=>{v.stopPropagation(),t.setSelectedValue(r)},{pressProps:p,isPressed:m}=Vn({isDisabled:s}),{pressProps:h,isPressed:g}=Vn({isDisabled:s,onPress(){t.setSelectedValue(r)}}),{focusableProps:b}=La(he(e,{onFocus:()=>t.setLastFocusedValue(r)}),n),x=he(p,b),y=br(e,{labelable:!0}),w=-1;t.selectedValue!=null?t.selectedValue===r&&(w=0):(t.lastFocusedValue===r||t.lastFocusedValue==null)&&(w=0),s&&(w=void 0);let{name:S,descriptionId:P,errorMessageId:A,validationBehavior:T}=T1.get(t);return Fs(n,t.selectedValue,t.setSelectedValue),ru({validationBehavior:T},t,n),{labelProps:he(h,{onClick:v=>v.preventDefault()}),inputProps:he(y,{...x,type:"radio",name:S,tabIndex:w,disabled:s,required:t.isRequired&&T==="native",checked:c,value:r,onChange:d,"aria-describedby":[e["aria-describedby"],t.isInvalid?A:null,P].filter(Boolean).join(" ")||void 0}),isDisabled:s,isSelected:c,isPressed:m||g}}function j9(e,t){let{name:n,isReadOnly:r,isRequired:o,isDisabled:a,orientation:i="vertical",validationBehavior:s="aria"}=e,{direction:l}=Vs(),{isInvalid:u,validationErrors:c,validationDetails:d}=t.displayValidation,{labelProps:p,fieldProps:m,descriptionProps:h,errorMessageProps:g}=I1({...e,labelElementType:"span",isInvalid:t.isInvalid,errorMessage:e.errorMessage||c}),b=br(e,{labelable:!0}),{focusWithinProps:x}=ka({onBlurWithin(S){var P;(P=e.onBlur)===null||P===void 0||P.call(e,S),t.selectedValue||t.setLastFocusedValue(null)},onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange}),y=S=>{let P;switch(S.key){case"ArrowRight":l==="rtl"&&i!=="vertical"?P="prev":P="next";break;case"ArrowLeft":l==="rtl"&&i!=="vertical"?P="next":P="prev";break;case"ArrowDown":P="next";break;case"ArrowUp":P="prev";break;default:return}S.preventDefault();let A=Us(S.currentTarget,{from:S.target}),T;P==="next"?(T=A.nextNode(),T||(A.currentNode=S.currentTarget,T=A.firstChild())):(T=A.previousNode(),T||(A.currentNode=S.currentTarget,T=A.lastChild())),T&&(T.focus(),t.setSelectedValue(T.value))},w=gr(n);return T1.set(t,{name:w,descriptionId:h.id,errorMessageId:g.id,validationBehavior:s}),{radioGroupProps:he(b,{role:"radiogroup",onKeyDown:y,"aria-invalid":t.isInvalid||void 0,"aria-errormessage":e["aria-errormessage"],"aria-readonly":r||void 0,"aria-required":o||void 0,"aria-disabled":a||void 0,"aria-orientation":i,...m,...x}),labelProps:p,descriptionProps:h,errorMessageProps:g,isInvalid:u,validationErrors:c,validationDetails:d}}function B9(e){const{as:t,ref:n,classNames:r,children:o,label:a,value:i,name:s,size:l="md",color:u="primary",isDisabled:c=!1,disableAnimation:d=!1,orientation:p="vertical",isRequired:m=!1,validationState:h,isInvalid:g=h==="invalid",isReadOnly:b,errorMessage:x,description:y,className:w,onChange:S,onValueChange:P,...A}=e,T=t||"div",v=bt(n),D=f.useMemo(()=>({...A,value:i,name:s,"aria-label":el(A["aria-label"],a),isRequired:m,isReadOnly:b,isInvalid:g,orientation:p,onChange:P}),[A,i,s,a,m,b,g,p,P]),$=L9(D),{labelProps:M,radioGroupProps:k,errorMessageProps:I,descriptionProps:E}=j9(D,$),O=f.useMemo(()=>({size:l,color:u,groupState:$,isRequired:m,isInvalid:g,isDisabled:c,disableAnimation:d,onChange:S}),[l,u,m,c,g,S,d,$.name,$==null?void 0:$.isDisabled,$==null?void 0:$.isReadOnly,$==null?void 0:$.isRequired,$==null?void 0:$.selectedValue,$==null?void 0:$.lastFocusedValue]),j=f.useMemo(()=>ty({isRequired:m,isInvalid:g,disableAnimation:d}),[g,m,d]),N=we(r==null?void 0:r.base,w),W=f.useCallback(()=>({ref:v,className:j.base({class:N}),...he(k,A)}),[v,j,N,k,A]),K=f.useCallback(()=>({className:j.label({class:r==null?void 0:r.label}),...M}),[j,r==null?void 0:r.label,M,r==null?void 0:r.label]),H=f.useCallback(()=>({className:j.wrapper({class:r==null?void 0:r.wrapper}),role:"presentation","data-orientation":p}),[j,r==null?void 0:r.wrapper,p,j.wrapper]),X=f.useCallback((G={})=>({...G,...E,className:j.description({class:we(r==null?void 0:r.description,G==null?void 0:G.className)})}),[j,r==null?void 0:r.description,E,j.description]),B=f.useCallback((G={})=>({...G,...I,className:j.errorMessage({class:we(r==null?void 0:r.errorMessage,G==null?void 0:G.className)})}),[j,r==null?void 0:r.errorMessage,I]);return{Component:T,children:o,label:a,context:O,errorMessage:x,description:y,getGroupProps:W,getLabelProps:K,getWrapperProps:H,getDescriptionProps:X,getErrorMessageProps:B}}var[W9,_9]=Wa({name:"RadioGroupContext",strict:!1}),D1=$t((e,t)=>{const{Component:n,children:r,label:o,context:a,description:i,errorMessage:s,getGroupProps:l,getLabelProps:u,getWrapperProps:c,getDescriptionProps:d,getErrorMessageProps:p}=B9({...e,ref:t});return F.jsxs(n,{...l(),children:[o&&F.jsx("span",{...u(),children:o}),F.jsx("div",{...c(),children:F.jsx(W9,{value:a,children:r})}),s?F.jsx("div",{...p(),children:s}):i?F.jsx("div",{...d(),children:i}):null]})});D1.displayName="NextUI.RadioGroup";var G9=D1;function R9(e){var t,n,r,o;const a=_9(),{as:i,ref:s,classNames:l,id:u,value:c,children:d,description:p,size:m=(t=a==null?void 0:a.size)!=null?t:"md",color:h=(n=a==null?void 0:a.color)!=null?n:"primary",isDisabled:g=(r=a==null?void 0:a.isDisabled)!=null?r:!1,disableAnimation:b=(o=a==null?void 0:a.disableAnimation)!=null?o:!1,onChange:x=a==null?void 0:a.onChange,autoFocus:y=!1,className:w,...S}=e;a&&Cf&&("checked"in S&&Ba('Remove props "checked" if in the Radio.Group.',"Radio"),c===void 0&&Ba('Props "value" must be defined if in the Radio.Group.',"Radio"));const P=i||"label",A=bt(s),T=f.useRef(null),v=f.useId(),D=f.useMemo(()=>{var ie;return(ie=a.isRequired)!=null?ie:!1},[a.isRequired]),$=a.isInvalid,M=f.useMemo(()=>{const ie=S["aria-label"]||typeof d=="string"?d:void 0,ne=S["aria-describedby"]||typeof p=="string"?p:void 0;return{id:u,isRequired:D,isDisabled:g,"aria-label":ie,"aria-labelledby":S["aria-labelledby"]||v,"aria-describedby":ne}},[v,u,g,D]),{inputProps:k,isDisabled:I,isSelected:E,isPressed:O}=V9({value:c,children:d,...a,...M},a.groupState,T),{focusProps:j,isFocused:N,isFocusVisible:W}=Gt({autoFocus:y}),K=I||k.readOnly,[H,X]=f.useState(!1),{pressProps:B}=po({isDisabled:K,onPressStart(ie){ie.pointerType!=="keyboard"&&X(!0)},onPressEnd(ie){ie.pointerType!=="keyboard"&&X(!1)}}),{hoverProps:G,isHovered:Y}=Wn({isDisabled:K}),R=K?!1:H||O,Z=f.useMemo(()=>ey({color:h,size:m,isInvalid:$,isDisabled:I,disableAnimation:b}),[h,m,I,$,b]),q=we(l==null?void 0:l.base,w),ae=f.useCallback((ie={})=>({...ie,ref:A,className:Z.base({class:q}),"data-disabled":re(I),"data-focus":re(N),"data-focus-visible":re(W),"data-selected":re(E),"data-invalid":re($),"data-hover":re(Y),"data-pressed":re(R),"data-hover-unselected":re(Y&&!E),"data-readonly":re(k.readOnly),"aria-required":re(D),...he(G,B,S)}),[Z,q,A,I,N,W,E,$,Y,R,k.readOnly,D,S]),le=f.useCallback((ie={})=>({...ie,"aria-hidden":!0,className:we(Z.wrapper({class:we(l==null?void 0:l.wrapper,ie.className)}))}),[Z,l==null?void 0:l.wrapper]),pe=f.useCallback((ie={})=>({...ie,ref:T,required:D,...he(k,j),onChange:Ln(k.onChange,x)}),[k,j,D,x]),be=f.useCallback((ie={})=>({...ie,id:v,className:Z.label({class:l==null?void 0:l.label})}),[Z,l==null?void 0:l.label,I,E,$]),Q=f.useCallback((ie={})=>({...ie,className:Z.labelWrapper({class:l==null?void 0:l.labelWrapper})}),[Z,l==null?void 0:l.labelWrapper]),Pe=f.useCallback((ie={})=>({...ie,className:Z.control({class:l==null?void 0:l.control})}),[Z,l==null?void 0:l.control]);return{Component:P,children:d,slots:Z,classNames:l,description:p,isSelected:E,isDisabled:I,isInvalid:$,isFocusVisible:W,getBaseProps:ae,getWrapperProps:le,getInputProps:pe,getLabelProps:be,getLabelWrapperProps:Q,getControlProps:Pe}}var N1=$t((e,t)=>{const{Component:n,children:r,slots:o,classNames:a,description:i,getBaseProps:s,getWrapperProps:l,getInputProps:u,getLabelProps:c,getLabelWrapperProps:d,getControlProps:p}=R9({...e,ref:t});return F.jsxs(n,{...s(),children:[F.jsx(Js,{children:F.jsx("input",{...u()})}),F.jsx("span",{...l(),children:F.jsx("span",{...p()})}),F.jsxs("div",{...d(),children:[r&&F.jsx("span",{...c(),children:r}),i&&F.jsx("span",{className:o.description({class:a==null?void 0:a.description}),children:i})]})]})});N1.displayName="NextUI.Radio";var z9=N1;function H9(e,t,n){let{labelProps:r,inputProps:o,isSelected:a,isPressed:i,isDisabled:s,isReadOnly:l}=w1(e,t,n);return{labelProps:r,inputProps:{...o,role:"switch",checked:a},isSelected:a,isPressed:i,isDisabled:s,isReadOnly:l}}function X9(e={}){const[t,n]=uo(e,gf.variantKeys),{ref:r,as:o,name:a,value:i="",isReadOnly:s=!1,autoFocus:l=!1,startContent:u,endContent:c,defaultSelected:d,isSelected:p,children:m,thumbIcon:h,className:g,classNames:b,onChange:x,onValueChange:y,...w}=t,S=o||"label",P=f.useRef(null),A=wf(r,P),T=f.useId(),v=f.useMemo(()=>{const ne=w["aria-label"]||typeof m=="string"?m:void 0;return{name:a,value:i,children:m,autoFocus:l,defaultSelected:d,isSelected:p,isDisabled:!!e.isDisabled,isReadOnly:s,"aria-label":ne,"aria-labelledby":w["aria-labelledby"]||T,onChange:y}},[i,a,T,m,l,s,p,d,e.isDisabled,w["aria-label"],w["aria-labelledby"],y]),D=su(v),{inputProps:$,isPressed:M,isReadOnly:k}=H9(v,D,P),{focusProps:I,isFocused:E,isFocusVisible:O}=Gt({autoFocus:$.autoFocus}),{hoverProps:j,isHovered:N}=Wn({isDisabled:$.disabled}),W=v.isDisabled||k,[K,H]=f.useState(!1),{pressProps:X}=po({isDisabled:W,onPressStart(ne){ne.pointerType!=="keyboard"&&H(!0)},onPressEnd(ne){ne.pointerType!=="keyboard"&&H(!1)}}),B=W?!1:K||M,G=$.checked,Y=$.disabled,R=f.useMemo(()=>gf({...n}),[...Object.values(n)]),Z=we(b==null?void 0:b.base,g),q=ne=>({...he(j,X,w,ne),ref:A,className:R.base({class:we(Z,ne==null?void 0:ne.className)}),"data-disabled":re(Y),"data-selected":re(G),"data-readonly":re(k),"data-focus":re(E),"data-focus-visible":re(O),"data-hover":re(N),"data-pressed":re(B)}),ae=f.useCallback((ne={})=>({...ne,"aria-hidden":!0,className:we(R.wrapper({class:we(b==null?void 0:b.wrapper,ne==null?void 0:ne.className)}))}),[R,b==null?void 0:b.wrapper]),le=(ne={})=>({...he($,I,ne),ref:P,id:$.id,onChange:Ln(x,$.onChange)}),pe=f.useCallback((ne={})=>({...ne,className:R.thumb({class:we(b==null?void 0:b.thumb,ne==null?void 0:ne.className)})}),[R,b==null?void 0:b.thumb]),be=f.useCallback((ne={})=>({...ne,id:T,className:R.label({class:we(b==null?void 0:b.label,ne==null?void 0:ne.className)})}),[R,b==null?void 0:b.label,Y,G]),Q=f.useCallback((ne={includeStateProps:!1})=>he({width:"1em",height:"1em",className:R.thumbIcon({class:we(b==null?void 0:b.thumbIcon)})},ne.includeStateProps?{isSelected:G}:{}),[R,b==null?void 0:b.thumbIcon,G]),Pe=f.useCallback((ne={})=>({width:"1em",height:"1em",...ne,className:R.startContent({class:we(b==null?void 0:b.startContent,ne==null?void 0:ne.className)})}),[R,b==null?void 0:b.startContent,G]),ie=f.useCallback((ne={})=>({width:"1em",height:"1em",...ne,className:R.endContent({class:we(b==null?void 0:b.endContent,ne==null?void 0:ne.className)})}),[R,b==null?void 0:b.endContent,G]);return{Component:S,slots:R,classNames:b,domRef:A,children:m,thumbIcon:h,startContent:u,endContent:c,isHovered:N,isSelected:G,isPressed:B,isFocused:E,isFocusVisible:O,isDisabled:Y,getBaseProps:q,getWrapperProps:ae,getInputProps:le,getLabelProps:be,getThumbProps:pe,getThumbIconProps:Q,getStartContentProps:Pe,getEndContentProps:ie}}var $1=$t((e,t)=>{const{Component:n,children:r,startContent:o,endContent:a,thumbIcon:i,getBaseProps:s,getInputProps:l,getWrapperProps:u,getThumbProps:c,getThumbIconProps:d,getLabelProps:p,getStartContentProps:m,getEndContentProps:h}=X9({...e,ref:t}),g=typeof i=="function"?i(d({includeStateProps:!0})):i&&f.cloneElement(i,d()),b=o&&f.cloneElement(o,m()),x=a&&f.cloneElement(a,h());return F.jsxs(n,{...s(),children:[F.jsx(Js,{children:F.jsx("input",{...l()})}),F.jsxs("span",{...u(),children:[o&&b,F.jsx("span",{...c(),children:i&&g}),a&&x]}),r&&F.jsx("span",{...p(),children:r})]})});$1.displayName="NextUI.Switch";var Z9=$1;function Y9(e={}){const{rerender:t=!1,delay:n=0}=e,r=f.useRef(!1),[o,a]=f.useState(!1);return f.useEffect(()=>{r.current=!0;let i=null;return t&&(n>0?i=setTimeout(()=>{a(!0)},n):a(!0)),()=>{r.current=!1,t&&a(!1),i&&clearTimeout(i)}},[t]),[f.useCallback(()=>r.current,[]),o]}function U9(e,t){let{inputElementType:n="input",isDisabled:r=!1,isRequired:o=!1,isReadOnly:a=!1,type:i="text",validationBehavior:s="aria"}=e,[l,u]=hr(e.value,e.defaultValue||"",e.onChange),{focusableProps:c}=La(e,t),d=mi({...e,value:l}),{isInvalid:p,validationErrors:m,validationDetails:h}=d.displayValidation,{labelProps:g,fieldProps:b,descriptionProps:x,errorMessageProps:y}=I1({...e,isInvalid:p,errorMessage:e.errorMessage||m}),w=br(e,{labelable:!0});const S={type:i,pattern:e.pattern};return Fs(t,l,u),ru(e,d,t),f.useEffect(()=>{if(t.current instanceof ao(t.current).HTMLTextAreaElement){let P=t.current;Object.defineProperty(P,"defaultValue",{get:()=>P.value,set:()=>{},configurable:!0})}},[t]),{labelProps:g,inputProps:he(w,n==="input"&&S,{disabled:r,readOnly:a,required:o&&s==="native","aria-required":o&&s==="aria"||void 0,"aria-invalid":p||void 0,"aria-errormessage":e["aria-errormessage"],"aria-activedescendant":e["aria-activedescendant"],"aria-autocomplete":e["aria-autocomplete"],"aria-haspopup":e["aria-haspopup"],value:l,onChange:P=>u(P.target.value),autoComplete:e.autoComplete,autoCapitalize:e.autoCapitalize,maxLength:e.maxLength,minLength:e.minLength,name:e.name,placeholder:e.placeholder,inputMode:e.inputMode,onCopy:e.onCopy,onCut:e.onCut,onPaste:e.onPaste,onCompositionEnd:e.onCompositionEnd,onCompositionStart:e.onCompositionStart,onCompositionUpdate:e.onCompositionUpdate,onSelect:e.onSelect,onBeforeInput:e.onBeforeInput,onInput:e.onInput,...c,...b}),descriptionProps:x,errorMessageProps:y,isInvalid:p,validationErrors:m,validationDetails:h}}function K9(e){const[t,n]=uo(e,bf.variantKeys),{ref:r,as:o,label:a,baseRef:i,wrapperRef:s,description:l,errorMessage:u,className:c,classNames:d,autoFocus:p,startContent:m,endContent:h,onClear:g,onChange:b,validationState:x,innerWrapperRef:y,onValueChange:w=()=>{},...S}=t,P=f.useCallback(xe=>{w(xe??"")},[w]),[A,T]=hr(t.value,t.defaultValue,P),[v,D]=f.useState(!1),$=o||"div",M=!!A,k=M||v,I=we(d==null?void 0:d.base,c,M?"is-filled":""),E=e.isMultiline,O=bt(r),j=bt(i),N=bt(s),W=bt(y),K=f.useCallback(()=>{T(""),O.current&&(O.current.value="",O.current.focus()),g==null||g()},[O,T,g]),{labelProps:H,inputProps:X,descriptionProps:B,errorMessageProps:G}=U9({...e,"aria-label":el(e==null?void 0:e["aria-label"],e==null?void 0:e.label,e==null?void 0:e.placeholder),inputElementType:E?"textarea":"input",onChange:T},O),{isFocusVisible:Y,isFocused:R,focusProps:Z}=Gt({autoFocus:p,isTextInput:!0}),{isHovered:q,hoverProps:ae}=Wn({isDisabled:!!(e!=null&&e.isDisabled)}),{focusProps:le,isFocusVisible:pe}=Gt(),{focusWithinProps:be}=ka({onFocusWithinChange:D}),{pressProps:Q}=Vn({isDisabled:!!(e!=null&&e.isDisabled),onPress:K}),Pe=x==="invalid"||e.isInvalid,ie=f.useMemo(()=>{var xe;return(!e.labelPlacement||e.labelPlacement==="inside")&&!a?"outside":(xe=e.labelPlacement)!=null?xe:"inside"},[e.labelPlacement,a]),ne=!!g||e.isClearable,Ge=!!a||!!l||!!u,Xe=!!t.placeholder,Ze=!!a,je=!!l||!!u,Kt=ie==="outside"||ie==="outside-left",Dt=ie==="inside",mt=O.current?(!O.current.value||O.current.value===""||!A||A==="")&&Xe:!1,lr=ie==="outside-left",st=!!m,lt=Kt?ie==="outside-left"||Xe||ie==="outside"&&st:!1,ur=ie==="outside"&&!Xe&&!st,Me=f.useMemo(()=>bf({...n,isInvalid:Pe,isClearable:ne}),[...Object.values(n),Pe,ne,st]),sa=f.useCallback((xe={})=>({ref:j,className:Me.base({class:I}),"data-slot":"base","data-filled":re(M||Xe||st||mt),"data-filled-within":re(k||Xe||st||mt),"data-focus-within":re(v),"data-focus-visible":re(Y),"data-readonly":re(e.isReadOnly),"data-focus":re(R),"data-hover":re(q),"data-required":re(e.isRequired),"data-invalid":re(Pe),"data-disabled":re(e.isDisabled),"data-has-elements":re(Ge),"data-has-helper":re(je),"data-has-label":re(Ze),"data-has-value":re(!mt),...be,...xe}),[Me,I,M,R,q,Pe,je,Ze,Ge,mt,st,v,Y,k,Xe,be,e.isReadOnly,e.isRequired,e.isDisabled]),cr=f.useCallback((xe={})=>({"data-slot":"label",className:Me.label({class:d==null?void 0:d.label}),...H,...xe}),[Me,H,d==null?void 0:d.label]),dr=f.useCallback((xe={})=>({ref:O,"data-slot":"input","data-filled":re(M),"data-filled-within":re(k),"data-has-start-content":re(st),"data-has-end-content":re(!!h),className:Me.input({class:we(d==null?void 0:d.input,A?"is-filled":"")}),...he(Z,X,fo(S,{enabled:!0,labelable:!0,omitEventNames:new Set(Object.keys(X))}),xe),required:e.isRequired,"aria-readonly":re(e.isReadOnly),"aria-required":re(e.isRequired),onChange:Ln(X.onChange,b)}),[Me,A,Z,X,S,M,k,st,h,d==null?void 0:d.input,e.isReadOnly,e.isRequired,b]),gn=f.useCallback((xe={})=>({ref:N,"data-slot":"input-wrapper","data-hover":re(q),"data-focus-visible":re(Y),"data-focus":re(R),className:Me.inputWrapper({class:we(d==null?void 0:d.inputWrapper,A?"is-filled":"")}),...he(xe,ae),onClick:Et=>{O.current&&Et.currentTarget===Et.target&&O.current.focus()},style:{cursor:"text",...xe.style}}),[Me,q,Y,R,A,d==null?void 0:d.inputWrapper]),la=f.useCallback((xe={})=>({...xe,ref:W,"data-slot":"inner-wrapper",onClick:Et=>{O.current&&Et.currentTarget===Et.target&&O.current.focus()},className:Me.innerWrapper({class:we(d==null?void 0:d.innerWrapper,xe==null?void 0:xe.className)})}),[Me,d==null?void 0:d.innerWrapper]),ua=f.useCallback((xe={})=>({...xe,"data-slot":"main-wrapper",className:Me.mainWrapper({class:we(d==null?void 0:d.mainWrapper,xe==null?void 0:xe.className)})}),[Me,d==null?void 0:d.mainWrapper]),ca=f.useCallback((xe={})=>({...xe,"data-slot":"helper-wrapper",className:Me.helperWrapper({class:we(d==null?void 0:d.helperWrapper,xe==null?void 0:xe.className)})}),[Me,d==null?void 0:d.helperWrapper]),da=f.useCallback((xe={})=>({...xe,...B,"data-slot":"description",className:Me.description({class:we(d==null?void 0:d.description,xe==null?void 0:xe.className)})}),[Me,d==null?void 0:d.description]),fa=f.useCallback((xe={})=>({...xe,...G,"data-slot":"error-message",className:Me.errorMessage({class:we(d==null?void 0:d.errorMessage,xe==null?void 0:xe.className)})}),[Me,G,d==null?void 0:d.errorMessage]),pa=f.useCallback((xe={})=>({...xe,role:"button",tabIndex:0,"data-slot":"clear-button","data-focus-visible":re(pe),className:Me.clearButton({class:we(d==null?void 0:d.clearButton,xe==null?void 0:xe.className)}),...he(Q,le)}),[Me,pe,Q,le,d==null?void 0:d.clearButton]);return{Component:$,classNames:d,domRef:O,label:a,description:l,startContent:m,endContent:h,labelPlacement:ie,isClearable:ne,isInvalid:Pe,hasHelper:je,hasStartContent:st,isLabelOutside:lt,isOutsideLeft:lr,isLabelOutsideAsPlaceholder:ur,shouldLabelBeOutside:Kt,shouldLabelBeInside:Dt,hasPlaceholder:Xe,errorMessage:u,getBaseProps:sa,getLabelProps:cr,getInputProps:dr,getMainWrapperProps:ua,getInputWrapperProps:gn,getInnerWrapperProps:la,getHelperWrapperProps:ca,getDescriptionProps:da,getErrorMessageProps:fa,getClearButtonProps:pa}}var uu=f.useLayoutEffect,gi="right-scroll-bar-position",bi="width-before-scroll-bar",J9="with-scroll-bars-hidden",Q9="--removed-body-scroll-bar-size";function q9(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function e7(e,t){var n=f.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}function t7(e,t){return e7(t||null,function(n){return e.forEach(function(r){return q9(r,n)})})}function n7(e){return e}function r7(e,t){t===void 0&&(t=n7);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(a){var i=t(a,r);return n.push(i),function(){n=n.filter(function(s){return s!==i})}},assignSyncMedium:function(a){for(r=!0;n.length;){var i=n;n=[],i.forEach(a)}n={push:function(s){return a(s)},filter:function(){return n}}},assignMedium:function(a){r=!0;var i=[];if(n.length){var s=n;n=[],s.forEach(a),i=n}var l=function(){var c=i;i=[],c.forEach(a)},u=function(){return Promise.resolve().then(l)};u(),n={push:function(c){i.push(c),u()},filter:function(c){return i=i.filter(c),n}}}};return o}function o7(e){e===void 0&&(e={});var t=r7(null);return t.options=_t({async:!0,ssr:!1},e),t}var k1=function(e){var t=e.sideCar,n=Zd(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return V.createElement(r,_t({},n))};k1.isSideCarExport=!0;function a7(e,t){return e.useMedium(t),k1}var O1,i7=function(){if(O1)return O1;if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function s7(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=i7();return t&&e.setAttribute("nonce",t),e}function l7(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function u7(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var c7=function(){var e=0,t=null;return{add:function(n){e==0&&(t=s7())&&(l7(t,n),u7(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},d7=function(){var e=c7();return function(t,n){V.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},F1=function(){var e=d7(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},f7={left:0,top:0,right:0,gap:0},cu=function(e){return parseInt(e||"",10)||0},p7=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[cu(n),cu(r),cu(o)]},m7=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return f7;var t=p7(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},h7=F1(),g7=function(e,t,n,r){var o=e.left,a=e.top,i=e.right,s=e.gap;return n===void 0&&(n="margin"),`
|
|
36
36
|
.`.concat(J9,` {
|
|
37
37
|
overflow: hidden `).concat(r,`;
|
|
38
38
|
padding-right: `).concat(s,"px ").concat(r,`;
|
|
@@ -69,10 +69,10 @@ Check the top-level render call using <`+_+">.")}return L}}function ba(C,L){{if(
|
|
|
69
69
|
body {
|
|
70
70
|
`).concat(Q9,": ").concat(s,`px;
|
|
71
71
|
}
|
|
72
|
-
`)},b7=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r,a=V.useMemo(function(){return m7(o)},[o]);return V.createElement(h7,{styles:g7(a,!t,o,n?"":"!important")})};const L1=new WeakMap;function yi(e,t,n){return typeof t=="string"&&(t=t.replace(/\s+/g,"")),`${L1.get(e)}-${n}-${t}`}function v7(e,t,n){var r;let{key:o,isDisabled:a,shouldSelectOnPressUp:i}=e,{selectionManager:s,selectedKey:l}=t,u=o===l,c=a||t.isDisabled||t.disabledKeys.has(o),{itemProps:d,isPressed:p}=by({selectionManager:s,key:o,ref:n,isDisabled:c,shouldSelectOnPressUp:i,linkBehavior:"selection"}),m=yi(t,o,"tab"),h=yi(t,o,"tabpanel"),{tabIndex:g}=d,b=t.collection.getItem(o),x=br(b==null?void 0:b.props,{isLink:!!(!(b==null||(r=b.props)===null||r===void 0)&&r.href),labelable:!0});return delete x.id,{tabProps:he(x,d,{id:m,"aria-selected":u,"aria-disabled":c||void 0,"aria-controls":u?h:void 0,tabIndex:c?void 0:g,role:"tab"}),isSelected:u,isDisabled:c,isPressed:p}}function y7(e,t,n){let r=R2(n)?void 0:0;var o;const a=yi(t,(o=e.id)!==null&&o!==void 0?o:t==null?void 0:t.selectedKey,"tabpanel"),i=$s({...e,id:a,"aria-labelledby":yi(t,t==null?void 0:t.selectedKey,"tab")});return{tabPanelProps:he(i,{tabIndex:r,role:"tabpanel","aria-describedby":e["aria-describedby"],"aria-details":e["aria-details"]})}}class x7{getKeyLeftOf(t){return this.flipDirection?this.getNextKey(t):this.getPreviousKey(t)}getKeyRightOf(t){return this.flipDirection?this.getPreviousKey(t):this.getNextKey(t)}getKeyAbove(t){return this.getPreviousKey(t)}getKeyBelow(t){return this.getNextKey(t)}getFirstKey(){let t=this.collection.getFirstKey();return t!=null&&this.disabledKeys.has(t)&&(t=this.getNextKey(t)),t}getLastKey(){let t=this.collection.getLastKey();return t!=null&&this.disabledKeys.has(t)&&(t=this.getPreviousKey(t)),t}getNextKey(t){do t=this.collection.getKeyAfter(t),t==null&&(t=this.collection.getFirstKey());while(this.disabledKeys.has(t));return t}getPreviousKey(t){do t=this.collection.getKeyBefore(t),t==null&&(t=this.collection.getLastKey());while(this.disabledKeys.has(t));return t}constructor(t,n,r,o=new Set){this.collection=t,this.flipDirection=n==="rtl"&&r==="horizontal",this.disabledKeys=o}}function C7(e,t,n){let{orientation:r="horizontal",keyboardActivation:o="automatic"}=e,{collection:a,selectionManager:i,disabledKeys:s}=t,{direction:l}=Vs(),u=f.useMemo(()=>new x7(a,l,r,s),[a,s,r,l]),{collectionProps:c}=gy({ref:n,selectionManager:i,keyboardDelegate:u,selectOnFocus:o==="automatic",disallowEmptySelection:!0,scrollRef:n,linkBehavior:"selection"}),d=gr();L1.set(t,d);let p=$s({...e,id:d});return{tabListProps:{...he(c,p),role:"tablist","aria-orientation":r,tabIndex:void 0}}}var V1=$t((e,t)=>{var n,r,o;const{as:a,state:i,className:s,slots:l,classNames:u,...c}=e,d=a||"div",p=bt(t),{tabPanelProps:m}=y7(e,i,p),{focusProps:h,isFocused:g,isFocusVisible:b}=Gt(),x=i.selectedItem,y=(n=x==null?void 0:x.props)==null?void 0:n.children,w=we(u==null?void 0:u.panel,s,(r=x==null?void 0:x.props)==null?void 0:r.className);return y?F.jsx(d,{ref:p,"data-focus":g,"data-focus-visible":b,...he(m,h,c),className:(o=l.panel)==null?void 0:o.call(l,{class:w}),"data-slot":"panel",children:y}):null});V1.displayName="NextUI.TabPanel";var w7=V1,j1=$t((e,t)=>{var n;const{className:r,as:o,item:a,state:i,classNames:s,isDisabled:l,listRef:u,slots:c,motionProps:d,disableAnimation:p,disableCursorAnimation:m,shouldSelectOnPressUp:h,onClick:g,...b}=e,{key:x}=a,y=bt(t),w=o||(e.href?"a":"button"),S=typeof w=="string",{tabProps:E,isSelected:A,isDisabled:T,isPressed:v}=v7({key:x,isDisabled:l,shouldSelectOnPressUp:h},i,y),D=l||T,{focusProps:$,isFocused:M,isFocusVisible:k}=Gt(),{hoverProps:I,isHovered:P}=Wn({isDisabled:D}),O=we(s==null?void 0:s.tab,r),[,j]=Y9({rerender:!0}),N=()=>{Ln(g,E.onClick),!(!(y!=null&&y.current)||!(u!=null&&u.current))&&k9(y.current,{scrollMode:"if-needed",behavior:"smooth",block:"end",inline:"end",boundary:u==null?void 0:u.current})};return F.jsxs(w,{ref:y,"data-disabled":re(T),"data-focus":re(M),"data-focus-visible":re(k),"data-hover":re(P),"data-hover-unselected":re((P||v)&&!A),"data-pressed":re(v),"data-selected":re(A),"data-slot":"tab",...he(E,D?{}:{...$,...I},fo(b,{enabled:S,omitPropNames:new Set(["title"])})),className:(n=c.tab)==null?void 0:n.call(c,{class:O}),title:b==null?void 0:b.titleValue,type:w==="button"?"button":void 0,onClick:N,children:[A&&!p&&!m&&j?F.jsx(o1.span,{className:c.cursor({class:s==null?void 0:s.cursor}),"data-slot":"cursor",layoutDependency:!1,layoutId:"cursor",transition:{type:"spring",bounce:.15,duration:.5},...d}):null,F.jsx("div",{className:c.tabContent({class:s==null?void 0:s.tabContent}),"data-slot":"tabContent",children:a.rendered})]})});j1.displayName="NextUI.Tab";var I7=j1;class B1{*[Symbol.iterator](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(t){let n=this.keyMap.get(t);return n?n.prevKey:null}getKeyAfter(t){let n=this.keyMap.get(t);return n?n.nextKey:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(t){return this.keyMap.get(t)}at(t){const n=[...this.getKeys()];return this.getItem(n[t])}getChildren(t){let n=this.keyMap.get(t);return(n==null?void 0:n.childNodes)||[]}constructor(t){this.keyMap=new Map,this.iterable=t;let n=a=>{if(this.keyMap.set(a.key,a),a.childNodes&&a.type==="section")for(let i of a.childNodes)n(i)};for(let a of t)n(a);let r,o=0;for(let[a,i]of this.keyMap)r?(r.nextKey=a,i.prevKey=r.key):(this.firstKey=a,i.prevKey=void 0),i.type==="item"&&(i.index=o++),r=i,r.nextKey=void 0;this.lastKey=r==null?void 0:r.key}}function E7(e){let{filter:t}=e,n=Q6(e),r=f.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),o=f.useCallback(u=>t?new B1(t(u)):new B1(u),[t]),a=f.useMemo(()=>({suppressTextValueWarning:e.suppressTextValueWarning}),[e.suppressTextValueWarning]),i=Z6(e,o,a),s=f.useMemo(()=>new q6(i,n),[i,n]);const l=f.useRef(null);return f.useEffect(()=>{if(n.focusedKey!=null&&!i.getItem(n.focusedKey)){const u=l.current.getItem(n.focusedKey),c=[...l.current.getKeys()].map(g=>{const b=l.current.getItem(g);return b.type==="item"?b:null}).filter(g=>g!==null),d=[...i.getKeys()].map(g=>{const b=i.getItem(g);return b.type==="item"?b:null}).filter(g=>g!==null),p=c.length-d.length;let m=Math.min(p>1?Math.max(u.index-p+1,0):u.index,d.length-1),h;for(;m>=0;){if(!s.isDisabled(d[m].key)){h=d[m];break}m<d.length-1?m++:(m>u.index&&(m=u.index),m--)}n.setFocusedKey(h?h.key:null)}l.current=i},[i,s,n,n.focusedKey]),{collection:i,disabledKeys:r,selectionManager:s}}function P7(e){var t;let[n,r]=hr(e.selectedKey,(t=e.defaultSelectedKey)!==null&&t!==void 0?t:null,e.onSelectionChange),o=f.useMemo(()=>n!=null?[n]:[],[n]),{collection:a,disabledKeys:i,selectionManager:s}=E7({...e,selectionMode:"single",disallowEmptySelection:!0,allowDuplicateSelectionEvents:!0,selectedKeys:o,onSelectionChange:u=>{var c;let d=(c=u.values().next().value)!==null&&c!==void 0?c:null;d===n&&e.onSelectionChange&&e.onSelectionChange(d),r(d)}}),l=n!=null?a.getItem(n):null;return{collection:a,disabledKeys:i,selectionManager:s,selectedKey:n,setSelectedKey:r,selectedItem:l}}function S7(e){var t;let n=P7({...e,suppressTextValueWarning:!0,defaultSelectedKey:(t=e.defaultSelectedKey)!==null&&t!==void 0?t:W1(e.collection,e.disabledKeys?new Set(e.disabledKeys):new Set)}),{selectionManager:r,collection:o,selectedKey:a}=n,i=f.useRef(a);return f.useEffect(()=>{let s=a;(r.isEmpty||!o.getItem(s))&&(s=W1(o,n.disabledKeys),s!=null&&r.setSelectedKeys([s])),(s!=null&&r.focusedKey==null||!r.isFocused&&s!==i.current)&&r.setFocusedKey(s),i.current=s}),{...n,isDisabled:e.isDisabled||!1}}function W1(e,t){let n=null;if(e){for(n=e.getFirstKey();t.has(n)&&n!==e.getLastKey();)n=e.getKeyAfter(n);t.has(n)&&n===e.getLastKey()&&(n=e.getFirstKey())}return n}function M7(e){const[t,n]=uo(e,hf.variantKeys),{ref:r,as:o,className:a,classNames:i,children:s,disableCursorAnimation:l,shouldSelectOnPressUp:u=!0,motionProps:c,...d}=t,p=o||"div",m=typeof p=="string",h=bt(r),g=S7({children:s,...d}),{tabListProps:b}=C7(d,g,h),x=f.useMemo(()=>hf({...n,className:a}),[...Object.values(n),a]),y=we(i==null?void 0:i.base,a),w=f.useMemo(()=>({state:g,slots:x,classNames:i,motionProps:c,listRef:h,shouldSelectOnPressUp:u,disableCursorAnimation:l,isDisabled:e==null?void 0:e.isDisabled,disableAnimation:e==null?void 0:e.disableAnimation}),[g,x,h,c,l,u,e==null?void 0:e.disableAnimation,e==null?void 0:e.isDisabled,i]),S=f.useCallback(A=>({"data-slot":"base",className:x.base({class:we(y,A==null?void 0:A.className)}),...he(fo(d,{enabled:m}),A)}),[y,d,x]),E=f.useCallback(A=>({ref:h,"data-slot":"tabList",className:x.tabList({class:we(i==null?void 0:i.tabList,A==null?void 0:A.className)}),...he(b,A)}),[h,b,i,x]);return{Component:p,domRef:h,state:g,values:w,getBaseProps:S,getTabListProps:E}}function _1(e,t){var n;const{Component:r,values:o,state:a,getBaseProps:i,getTabListProps:s}=M7({...e,ref:t}),l=f.useId(),u=!e.disableAnimation&&!e.disableCursorAnimation,c={state:a,listRef:o.listRef,slots:o.slots,classNames:o.classNames,isDisabled:o.isDisabled,motionProps:o.motionProps,disableAnimation:o.disableAnimation,shouldSelectOnPressUp:o.shouldSelectOnPressUp,disableCursorAnimation:o.disableCursorAnimation},d=[...a.collection].map(p=>F.jsx(I7,{item:p,...c,...p.props},p.key));return F.jsxs(F.Fragment,{children:[F.jsx("div",{...i(),children:F.jsx(r,{...s(),children:u?F.jsx(G6,{id:l,children:d}):d})}),F.jsx(w7,{classNames:o.classNames,slots:o.slots,state:o.state},(n=a.selectedItem)==null?void 0:n.key)]})}var A7=$t(_1);_1.displayName="NextUI.Tabs";var T7=z6,D7=T7;const N7=({icons:e,className:t})=>{const n=ye({base:"bg-primary-grey-700",variants:{withIcon:{false:"h-6 w-11 px-[2px] group-data-[selected=true]:bg-secondary-green-500",true:"h-[52px] w-[88px] bg-secondary-green-500 group-data-[selected=true]:bg-primary-green-500"}}}),r=ye({variants:{withIcon:{false:"h-5 w-5 group-data-[selected=true]:ml-5",true:"h-11 w-11 group-data-[selected=true]:ml-9"}}});return F.jsx(Z9,{classNames:{wrapper:n({withIcon:!!e,className:t}),thumb:r({withIcon:!!e})},thumbIcon:({isSelected:o,className:a})=>e&&(o?F.jsx(rt,{name:e.selectedIcon,className:vn(a,"text-lg")}):F.jsx(rt,{name:e.unselectedIcon,className:vn(a,"text-lg")}))})},$7=e=>F.jsx(D9,{classNames:{wrapper:"w-4 h-4 rounded-sm before:rounded-sm before:border before:border-primary-grey-700 after:rounded-sm after:bg-secondary-green-500",icon:"w-[11px] h-2.5 [&>*]:stroke-[4px]"},...e}),G1=({size:e="md",className:t,border:n=!1,image:r,label:o,...a})=>{const i=ye({base:"bg-white font-satoshi font-bold capitalize text-white",variants:{size:{lg:"h-28 w-28 text-[48px]",md:"h-[72px] w-[72px] text-[32px]",sm:"h-12 w-12 text-[24px]",xs:"h-6 w-6 text-[12px]"},border:{true:"border-primary-grey-600"},isText:{true:"bg-complementary-violet-500 "}},compoundVariants:[{border:!0,size:"lg",class:"border-[4px]"},{border:!0,size:"md",class:"border-[3px]"},{border:!0,size:"sm",class:"border-2"},{border:!0,size:"xs",class:"border"}]}),s=ye({base:"text-primary-grey-600",variants:{size:{xs:"text-[12px]",sm:"text-[24px]",md:"text-[32px]",lg:"text-[48px]"}}});return F.jsx(a9,{fallback:!o&&F.jsx(rt,{name:"user",className:s({size:e})}),showFallback:!!o,src:r,name:o,className:i({size:e,border:n,isText:!!(o&&!r),className:t}),...a})},k7=({options:e,labelPosition:t="right",orientation:n="vertical"})=>F.jsx(G9,{orientation:n,children:e.map(r=>F.jsxs("div",{className:"flex items-center gap-2",children:[t==="left"&&F.jsx("label",{"data-testid":"label-position-left",children:r.label}),F.jsx(z9,{value:r.value,id:r.id,classNames:{wrapper:"border border-primary-grey-700 group-data-[selected=true]:border-secondary-green-500 group-data-[selected=true]:bg-secondary-green-500",control:"bg-white"}}),t==="right"&&r.label&&F.jsx("label",{"data-testid":"label-position-right",children:r.label})]},r.value))}),du=({children:e,size:t,variant:n="primary",disabled:r,full:o=!1,iconLeft:a,iconRight:i,className:s,isLoadingComplete:l,isLoading:u,...c})=>{const[d,p]=f.useState("w-0"),m=f.useRef(null);f.useEffect(()=>{if(u){let b=2;p("w-1/4"),m.current=setInterval(()=>{p(`w-${b}/4`),b<3?b++:m.current&&clearInterval(m.current)},1e3)}else m.current&&clearInterval(m.current),p("w-0")},[u]);const h=ye({base:`absolute left-0 top-0 h-full rounded-full bg-transparent duration-1000 ease-in-out ${d}`,variants:{isLoadingComplete:{true:"w-full duration-500",false:""},loadingVariant:{primaryDark:"bg-white",primaryLight:"bg-primary-green-500 ",primary:"bg-primary-green-500 ",negative:"bg-complementary-red-700",secondaryNegative:"bg-complementary-red-50",secondary:"bg-secondary-green-50",tertiary:"",tertiaryDark:"",tertiaryLight:"",direction:"",directionCircle:"",icon:""}}}),g=ye({base:"relative !overflow-hidden rounded-full border-transparent px-10 py-4 font-bold text-white !ring-0 !ring-transparent hover:text-white focus:outline focus:outline-2 focus:-outline-offset-4 focus-visible:outline focus-visible:outline-2 focus-visible:-outline-offset-4 focus-visible:outline-white",variants:{size:{small:"h-9",medium:"h-12",large:"h-14"},variant:{primaryDark:"bg-white text-primary-green-500 hover:bg-secondary-green-500 focus:bg-secondary-green-500 focus:text-white focus:outline-primary-green-500",primaryLight:"bg-primary-green-500 hover:bg-white hover:text-secondary-green-500 focus:bg-white focus:text-secondary-green-500 focus:outline-secondary-green-500",primary:"bg-primary-green-500 hover:bg-secondary-green-500 focus:bg-secondary-green-500 focus:outline-white",negative:"bg-complementary-red-700 hover:border-transparent hover:bg-complementary-red-500 focus:bg-complementary-red-500 focus:outline-white",secondaryNegative:"border border-complementary-red-700 !bg-white font-medium text-complementary-red-700 hover:border-2 hover:border-complementary-red-500 hover:text-complementary-red-500 focus:border-[3px] focus:border-complementary-red-500 focus:text-complementary-red-500",secondary:"border border-primary-green-500 !bg-transparent font-medium text-primary-green-500 hover:border-2 hover:border-secondary-green-500 hover:text-secondary-green-500 focus:border-[3px] focus:border-secondary-green-500 focus:text-secondary-green-500",tertiary:"!bg-transparent px-4 font-medium text-primary-green-500 hover:text-secondary-green-500 focus:font-bold focus:text-secondary-green-500 focus:outline-none",tertiaryDark:"!bg-transparent px-4 font-medium text-secondary-green-500 focus:font-bold focus:text-secondary-green-500 focus:outline-none",tertiaryLight:"!bg-transparent px-4 font-medium text-primary-green-500 focus:font-bold focus:text-primary-green-500 focus:outline-none",direction:"h-10 bg-primary-green-500 p-2.5 font-medium hover:bg-secondary-green-500 focus:border-none focus:bg-secondary-green-500 focus:outline-none",directionCircle:"font:medium !min-w-unit-10 bg-primary-green-500 !px-0 hover:bg-secondary-green-500 focus:border-none focus:bg-secondary-green-500 focus:outline-none",icon:"!min-w-unit-10 bg-transparent !px-0 text-primary-green-500 hover:text-secondary-green-500"},full:{true:"w-full",false:""},disabled:{true:"",false:""},isLoading:{true:"",false:""},hasIcon:{true:"!px-6"}},compoundVariants:[{disabled:!0,isLoading:!1,class:"pointer-events-none border-transparent bg-primary-grey-500 font-medium text-primary-grey-700"},{variant:"primaryDark",isLoading:!0,class:"!bg-secondary-green-500 !text-primary-green-500 focus:bg-secondary-green-500 focus:outline-secondary-green-500"},{variant:"primaryLight",isLoading:!0,class:"!bg-white text-secondary-green-500 focus:outline-white"},{variant:"primary",isLoading:!0,class:"!bg-secondary-green-500 focus:outline-secondary-green-500"},{variant:"negative",isLoading:!0,class:"!bg-complementary-red-500 focus:outline-complementary-red-500"},{variant:"secondaryNegative",isLoading:!0,class:"!border !border-complementary-red-700 !bg-white text-complementary-red-700 focus:outline-none"},{variant:"secondary",isLoading:!0,class:"!border !border-secondary-green-500 !bg-white text-secondary-green-500 focus:outline-none"},{variant:"tertiary",isLoading:!0,class:"!font-medium"},{variant:"tertiaryDark",isLoading:!0,class:"!font-medium"},{variant:"tertiaryLight",isLoading:!0,class:"!font-medium"},{variant:"secondaryNegative",disabled:!0,class:"border border-primary-grey-700 bg-transparent"},{variant:"secondary",disabled:!0,class:"border border-primary-grey-700 bg-transparent"},{variant:"tertiary",disabled:!0,class:"bg-transparent underline"},{variant:"icon",disabled:!0,class:"bg-transparent"},{variant:"directionCircle",hasIcon:!0,class:"!min-w-unit-10 !px-0"}]});return f.useEffect(()=>()=>{m.current&&clearInterval(m.current)},[m]),F.jsx(m9,{disabled:u||r,className:vn(s,g({size:t,variant:n,disabled:r,full:o,isLoading:u,hasIcon:!!(a||i)})),...c,children:F.jsxs("div",{children:[F.jsx("div",{className:vn(h({isLoadingComplete:l,loadingVariant:n}))}),F.jsxs("div",{className:"relative flex items-center gap-3 text-center",children:[a&&(typeof a=="string"?F.jsx(rt,{"data-testid":"button-component-icon-left",name:a}):a),e&&F.jsx("span",{className:n.includes("tertiary")?"underline":"",children:e}),i&&(typeof i=="string"?F.jsx(rt,{"data-testid":"button-component-icon-right",name:i}):i)]})]})})},O7=({children:e,className:t,avatar:n,size:r="sm",disabled:o=!1,iconLeft:a,iconRight:i})=>{const s=ye({base:"flex h-6 cursor-pointer items-center justify-center gap-2 border border-primary-green-500 bg-white px-2 pt-[1px] font-satoshi text-[10px] font-medium leading-[15px] text-primary-green-500 hover:border-secondary-green-500 hover:text-secondary-green-500 active:border-[2px] active:px-[7px]",variants:{size:{sm:"",lg:"h-[54px] gap-3 px-4 text-base active:px-[15px]"},hasAvatar:{true:"!border-0 bg-primary-grey-600 pl-6"},disabled:{true:"cursor-default !border-1 !border-primary-grey-500 bg-primary-grey-500 !text-primary-grey-800"}},compoundVariants:[{size:"sm",hasAvatar:!0,class:"pl-6 active:pl-[24px] active:pr-[8px]"},{size:"lg",hasAvatar:!0,class:"pl-14 active:pl-[56px] active:pr-[16px]"},{size:"sm",disabled:!0,class:"active:px-[8px]"},{size:"lg",disabled:!0,class:"active:px-[16px]"}]}),l=ye({base:"absolute left-0 top-0",variants:{size:{sm:"",lg:"h-[54px] w-[54px]"}}}),u=ye({base:"text-xs",variants:{size:{sm:"",lg:"text-lg"}}});return F.jsxs(v1,{size:r,className:vn(s({hasAvatar:!!n,size:r,disabled:o,className:t})),startContent:a&&(typeof a=="string"?F.jsx(rt,{className:u({size:r}),name:a}):a),endContent:i&&(typeof i=="string"?F.jsx(rt,{className:u({size:r}),name:i}):i),children:[n&&F.jsx(G1,{className:l({size:r}),border:!1,size:"xs",image:n}),e]})},F7=({tabs:e,tabClass:t,size:n="md",onSelectionChange:r,...o})=>{const a=ye({base:"bg-primary-grey-500 p-[1px]",variants:{size:{sm:"h-8",md:"h-9",lg:"h-12"}}}),i=ye({base:"h-full font-medium text-primary-grey-800 data-[selected=true]:!font-bold data-[selected=true]:!text-primary-green-500 data-[hover='true']:opacity-100",variants:{size:{sm:"px-[40px]",md:"px-[80px]",lg:"px-[75px]"},tabClass:{}}}),s=ye({base:"!text-white shadow-none"}),l=ye({base:"!font-inherit flex items-center gap-2 font-satoshi !text-inherit",variants:{size:{sm:"text-[14px]",md:"text-[14px]",lg:"text-[20px]"}}});return F.jsx(A7,{onClick:u=>{const c=u.target,d=c.parentElement.getAttribute("data-selected");let p=c.getAttribute("data-key");p||(p=c.parentElement.getAttribute("data-key")),!d&&p&&r(p)},classNames:{tabList:a({size:n}),tab:i({size:n,className:t}),cursor:s(),tabContent:l({size:n})},radius:"full",size:n,...o,children:e.map(({key:u,title:c,component:d,icon:p})=>F.jsx(D7,{title:F.jsxs(F.Fragment,{children:[p&&(typeof p=="string"?F.jsx(rt,{className:"text-[16px]",name:p}):p)," ",c]}),children:d},u))})},R1=({message:e,actions:t,inlineActions:n=!0})=>{const r=ye({base:"flex gap-3 rounded-lg bg-primary-black-400 p-4",variants:{inlineActions:{true:"flex flex-row",false:"flex flex-col items-end justify-end"},toastType:{alert:"rounded-2xl bg-primary-grey-600",snackbar:"bg-primary-black-400",banner:"rounded-2xl bg-complementary-red-500"}}});return F.jsxs("div",{className:r({inlineActions:n}),children:[F.jsx("div",{className:"flex flex-1 items-center gap-4",children:F.jsx("p",{className:"font-satoshi text-sm",children:e})}),F.jsx("div",{children:t&&F.jsx("div",{className:"flex",children:t.map(({label:o,onClick:a})=>F.jsx(du,{onClick:a,variant:"tertiaryDark",children:o},o))})})]})};function z1(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=z1(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Mn(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=z1(e))&&(r&&(r+=" "),r+=t);return r}const Do=e=>typeof e=="number"&&!isNaN(e),Kn=e=>typeof e=="string",yt=e=>typeof e=="function",xi=e=>Kn(e)||yt(e)?e:null,fu=e=>f.isValidElement(e)||Kn(e)||yt(e)||Do(e);function L7(e,t,n){n===void 0&&(n=300);const{scrollHeight:r,style:o}=e;requestAnimationFrame(()=>{o.minHeight="initial",o.height=r+"px",o.transition=`all ${n}ms`,requestAnimationFrame(()=>{o.height="0",o.padding="0",o.margin="0",setTimeout(t,n)})})}function No(e){let{enter:t,exit:n,appendPosition:r=!1,collapse:o=!0,collapseDuration:a=300}=e;return function(i){let{children:s,position:l,preventExitTransition:u,done:c,nodeRef:d,isIn:p,playToast:m}=i;const h=r?`${t}--${l}`:t,g=r?`${n}--${l}`:n,b=f.useRef(0);return f.useLayoutEffect(()=>{const x=d.current,y=h.split(" "),w=S=>{S.target===d.current&&(m(),x.removeEventListener("animationend",w),x.removeEventListener("animationcancel",w),b.current===0&&S.type!=="animationcancel"&&x.classList.remove(...y))};x.classList.add(...y),x.addEventListener("animationend",w),x.addEventListener("animationcancel",w)},[]),f.useEffect(()=>{const x=d.current,y=()=>{x.removeEventListener("animationend",y),o?L7(x,c,a):c()};p||(u?y():(b.current=1,x.className+=` ${g}`,x.addEventListener("animationend",y)))},[p]),f.createElement(f.Fragment,null,s)}}function H1(e,t){return e!=null?{content:e.content,containerId:e.props.containerId,id:e.props.toastId,theme:e.props.theme,type:e.props.type,data:e.props.data||{},isLoading:e.props.isLoading,icon:e.props.icon,status:t}:{}}const at=new Map;let $o=[];const pu=new Set,V7=e=>pu.forEach(t=>t(e)),X1=()=>at.size>0;function Z1(e,t){var n;if(t)return!((n=at.get(t))==null||!n.isToastActive(e));let r=!1;return at.forEach(o=>{o.isToastActive(e)&&(r=!0)}),r}function Y1(e,t){fu(e)&&(X1()||$o.push({content:e,options:t}),at.forEach(n=>{n.buildToast(e,t)}))}function U1(e,t){at.forEach(n=>{t!=null&&t!=null&&t.containerId?(t==null?void 0:t.containerId)===n.id&&n.toggle(e,t==null?void 0:t.id):n.toggle(e,t==null?void 0:t.id)})}function j7(e){const{subscribe:t,getSnapshot:n,setProps:r}=f.useRef(function(a){const i=a.containerId||1;return{subscribe(s){const l=function(c,d,p){let m=1,h=0,g=[],b=[],x=[],y=d;const w=new Map,S=new Set,E=()=>{x=Array.from(w.values()),S.forEach(v=>v())},A=v=>{b=v==null?[]:b.filter(D=>D!==v),E()},T=v=>{const{toastId:D,onOpen:$,updateId:M,children:k}=v.props,I=M==null;v.staleId&&w.delete(v.staleId),w.set(D,v),b=[...b,v.props.toastId].filter(P=>P!==v.staleId),E(),p(H1(v,I?"added":"updated")),I&&yt($)&&$(f.isValidElement(k)&&k.props)};return{id:c,props:y,observe:v=>(S.add(v),()=>S.delete(v)),toggle:(v,D)=>{w.forEach($=>{D!=null&&D!==$.props.toastId||yt($.toggle)&&$.toggle(v)})},removeToast:A,toasts:w,clearQueue:()=>{h-=g.length,g=[]},buildToast:(v,D)=>{if((B=>{let{containerId:G,toastId:Y,updateId:R}=B;const Z=G?G!==c:c!==1,q=w.has(Y)&&R==null;return Z||q})(D))return;const{toastId:$,updateId:M,data:k,staleId:I,delay:P}=D,O=()=>{A($)},j=M==null;j&&h++;const N={...y,style:y.toastStyle,key:m++,...Object.fromEntries(Object.entries(D).filter(B=>{let[G,Y]=B;return Y!=null})),toastId:$,updateId:M,data:k,closeToast:O,isIn:!1,className:xi(D.className||y.toastClassName),bodyClassName:xi(D.bodyClassName||y.bodyClassName),progressClassName:xi(D.progressClassName||y.progressClassName),autoClose:!D.isLoading&&(W=D.autoClose,K=y.autoClose,W===!1||Do(W)&&W>0?W:K),deleteToast(){const B=w.get($),{onClose:G,children:Y}=B.props;yt(G)&&G(f.isValidElement(Y)&&Y.props),p(H1(B,"removed")),w.delete($),h--,h<0&&(h=0),g.length>0?T(g.shift()):E()}};var W,K;N.closeButton=y.closeButton,D.closeButton===!1||fu(D.closeButton)?N.closeButton=D.closeButton:D.closeButton===!0&&(N.closeButton=!fu(y.closeButton)||y.closeButton);let H=v;f.isValidElement(v)&&!Kn(v.type)?H=f.cloneElement(v,{closeToast:O,toastProps:N,data:k}):yt(v)&&(H=v({closeToast:O,toastProps:N,data:k}));const X={content:H,props:N,staleId:I};y.limit&&y.limit>0&&h>y.limit&&j?g.push(X):Do(P)?setTimeout(()=>{T(X)},P):T(X)},setProps(v){y=v},setToggle:(v,D)=>{w.get(v).toggle=D},isToastActive:v=>b.some(D=>D===v),getSnapshot:()=>y.newestOnTop?x.reverse():x}}(i,a,V7);at.set(i,l);const u=l.observe(s);return $o.forEach(c=>Y1(c.content,c.options)),$o=[],()=>{u(),at.delete(i)}},setProps(s){var l;(l=at.get(i))==null||l.setProps(s)},getSnapshot(){var s;return(s=at.get(i))==null?void 0:s.getSnapshot()}}}(e)).current;r(e);const o=f.useSyncExternalStore(t,n,n);return{getToastToRender:function(a){if(!o)return[];const i=new Map;return o.forEach(s=>{const{position:l}=s.props;i.has(l)||i.set(l,[]),i.get(l).push(s)}),Array.from(i,s=>a(s[0],s[1]))},isToastActive:Z1,count:o==null?void 0:o.length}}function B7(e){const[t,n]=f.useState(!1),[r,o]=f.useState(!1),a=f.useRef(null),i=f.useRef({start:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,didMove:!1}).current,{autoClose:s,pauseOnHover:l,closeToast:u,onClick:c,closeOnClick:d}=e;var p,m;function h(){n(!0)}function g(){n(!1)}function b(w){const S=a.current;i.canDrag&&S&&(i.didMove=!0,t&&g(),i.delta=e.draggableDirection==="x"?w.clientX-i.start:w.clientY-i.start,i.start!==w.clientX&&(i.canCloseOnClick=!1),S.style.transform=`translate3d(${e.draggableDirection==="x"?`${i.delta}px, var(--y)`:`0, calc(${i.delta}px + var(--y))`},0)`,S.style.opacity=""+(1-Math.abs(i.delta/i.removalDistance)))}function x(){document.removeEventListener("pointermove",b),document.removeEventListener("pointerup",x);const w=a.current;if(i.canDrag&&i.didMove&&w){if(i.canDrag=!1,Math.abs(i.delta)>i.removalDistance)return o(!0),e.closeToast(),void e.collapseAll();w.style.transition="transform 0.2s, opacity 0.2s",w.style.removeProperty("transform"),w.style.removeProperty("opacity")}}(m=at.get((p={id:e.toastId,containerId:e.containerId,fn:n}).containerId||1))==null||m.setToggle(p.id,p.fn),f.useEffect(()=>{if(e.pauseOnFocusLoss)return document.hasFocus()||g(),window.addEventListener("focus",h),window.addEventListener("blur",g),()=>{window.removeEventListener("focus",h),window.removeEventListener("blur",g)}},[e.pauseOnFocusLoss]);const y={onPointerDown:function(w){if(e.draggable===!0||e.draggable===w.pointerType){i.didMove=!1,document.addEventListener("pointermove",b),document.addEventListener("pointerup",x);const S=a.current;i.canCloseOnClick=!0,i.canDrag=!0,S.style.transition="none",e.draggableDirection==="x"?(i.start=w.clientX,i.removalDistance=S.offsetWidth*(e.draggablePercent/100)):(i.start=w.clientY,i.removalDistance=S.offsetHeight*(e.draggablePercent===80?1.5*e.draggablePercent:e.draggablePercent)/100)}},onPointerUp:function(w){const{top:S,bottom:E,left:A,right:T}=a.current.getBoundingClientRect();w.nativeEvent.type!=="touchend"&&e.pauseOnHover&&w.clientX>=A&&w.clientX<=T&&w.clientY>=S&&w.clientY<=E?g():h()}};return s&&l&&(y.onMouseEnter=g,e.stacked||(y.onMouseLeave=h)),d&&(y.onClick=w=>{c&&c(w),i.canCloseOnClick&&u()}),{playToast:h,pauseToast:g,isRunning:t,preventExitTransition:r,toastRef:a,eventHandlers:y}}function W7(e){let{delay:t,isRunning:n,closeToast:r,type:o="default",hide:a,className:i,style:s,controlledProgress:l,progress:u,rtl:c,isIn:d,theme:p}=e;const m=a||l&&u===0,h={...s,animationDuration:`${t}ms`,animationPlayState:n?"running":"paused"};l&&(h.transform=`scaleX(${u})`);const g=Mn("Toastify__progress-bar",l?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated",`Toastify__progress-bar-theme--${p}`,`Toastify__progress-bar--${o}`,{"Toastify__progress-bar--rtl":c}),b=yt(i)?i({rtl:c,type:o,defaultClassName:g}):Mn(g,i),x={[l&&u>=1?"onTransitionEnd":"onAnimationEnd"]:l&&u<1?null:()=>{d&&r()}};return f.createElement("div",{className:"Toastify__progress-bar--wrp","data-hidden":m},f.createElement("div",{className:`Toastify__progress-bar--bg Toastify__progress-bar-theme--${p} Toastify__progress-bar--${o}`}),f.createElement("div",{role:"progressbar","aria-hidden":m?"true":"false","aria-label":"notification timer",className:b,style:h,...x}))}let _7=1;const K1=()=>""+_7++;function G7(e){return e&&(Kn(e.toastId)||Do(e.toastId))?e.toastId:K1()}function ko(e,t){return Y1(e,t),t.toastId}function Ci(e,t){return{...t,type:t&&t.type||e,toastId:G7(t)}}function wi(e){return(t,n)=>ko(t,Ci(e,n))}function Fe(e,t){return ko(e,Ci("default",t))}Fe.loading=(e,t)=>ko(e,Ci("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...t})),Fe.promise=function(e,t,n){let r,{pending:o,error:a,success:i}=t;o&&(r=Kn(o)?Fe.loading(o,n):Fe.loading(o.render,{...n,...o}));const s={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},l=(c,d,p)=>{if(d==null)return void Fe.dismiss(r);const m={type:c,...s,...n,data:p},h=Kn(d)?{render:d}:d;return r?Fe.update(r,{...m,...h}):Fe(h.render,{...m,...h}),p},u=yt(e)?e():e;return u.then(c=>l("success",i,c)).catch(c=>l("error",a,c)),u},Fe.success=wi("success"),Fe.info=wi("info"),Fe.error=wi("error"),Fe.warning=wi("warning"),Fe.warn=Fe.warning,Fe.dark=(e,t)=>ko(e,Ci("default",{theme:"dark",...t})),Fe.dismiss=function(e){(function(t){var n;if(X1()){if(t==null||Kn(n=t)||Do(n))at.forEach(r=>{r.removeToast(t)});else if(t&&("containerId"in t||"id"in t)){const r=at.get(t.containerId);r?r.removeToast(t.id):at.forEach(o=>{o.removeToast(t.id)})}}else $o=$o.filter(r=>t!=null&&r.options.toastId!==t)})(e)},Fe.clearWaitingQueue=function(e){e===void 0&&(e={}),at.forEach(t=>{!t.props.limit||e.containerId&&t.id!==e.containerId||t.clearQueue()})},Fe.isActive=Z1,Fe.update=function(e,t){t===void 0&&(t={});const n=((r,o)=>{var a;let{containerId:i}=o;return(a=at.get(i||1))==null?void 0:a.toasts.get(r)})(e,t);if(n){const{props:r,content:o}=n,a={delay:100,...r,...t,toastId:t.toastId||e,updateId:K1()};a.toastId!==e&&(a.staleId=e);const i=a.render||o;delete a.render,ko(i,a)}},Fe.done=e=>{Fe.update(e,{progress:1})},Fe.onChange=function(e){return pu.add(e),()=>{pu.delete(e)}},Fe.play=e=>U1(!0,e),Fe.pause=e=>U1(!1,e);const R7=typeof window<"u"?f.useLayoutEffect:f.useEffect,Ii=e=>{let{theme:t,type:n,isLoading:r,...o}=e;return f.createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:t==="colored"?"currentColor":`var(--toastify-icon-color-${n})`,...o})},mu={info:function(e){return f.createElement(Ii,{...e},f.createElement("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))},warning:function(e){return f.createElement(Ii,{...e},f.createElement("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))},success:function(e){return f.createElement(Ii,{...e},f.createElement("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))},error:function(e){return f.createElement(Ii,{...e},f.createElement("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))},spinner:function(){return f.createElement("div",{className:"Toastify__spinner"})}},z7=e=>{const{isRunning:t,preventExitTransition:n,toastRef:r,eventHandlers:o,playToast:a}=B7(e),{closeButton:i,children:s,autoClose:l,onClick:u,type:c,hideProgressBar:d,closeToast:p,transition:m,position:h,className:g,style:b,bodyClassName:x,bodyStyle:y,progressClassName:w,progressStyle:S,updateId:E,role:A,progress:T,rtl:v,toastId:D,deleteToast:$,isIn:M,isLoading:k,closeOnClick:I,theme:P}=e,O=Mn("Toastify__toast",`Toastify__toast-theme--${P}`,`Toastify__toast--${c}`,{"Toastify__toast--rtl":v},{"Toastify__toast--close-on-click":I}),j=yt(g)?g({rtl:v,position:h,type:c,defaultClassName:O}):Mn(O,g),N=function(X){let{theme:B,type:G,isLoading:Y,icon:R}=X,Z=null;const q={theme:B,type:G};return R===!1||(yt(R)?Z=R({...q,isLoading:Y}):f.isValidElement(R)?Z=f.cloneElement(R,q):Y?Z=mu.spinner():(ae=>ae in mu)(G)&&(Z=mu[G](q))),Z}(e),W=!!T||!l,K={closeToast:p,type:c,theme:P};let H=null;return i===!1||(H=yt(i)?i(K):f.isValidElement(i)?f.cloneElement(i,K):function(X){let{closeToast:B,theme:G,ariaLabel:Y="close"}=X;return f.createElement("button",{className:`Toastify__close-button Toastify__close-button--${G}`,type:"button",onClick:R=>{R.stopPropagation(),B(R)},"aria-label":Y},f.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},f.createElement("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}(K)),f.createElement(m,{isIn:M,done:$,position:h,preventExitTransition:n,nodeRef:r,playToast:a},f.createElement("div",{id:D,onClick:u,"data-in":M,className:j,...o,style:b,ref:r},f.createElement("div",{...M&&{role:A},className:yt(x)?x({type:c}):Mn("Toastify__toast-body",x),style:y},N!=null&&f.createElement("div",{className:Mn("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter":!k})},N),f.createElement("div",null,s)),H,f.createElement(W7,{...E&&!W?{key:`pb-${E}`}:{},rtl:v,theme:P,delay:l,isRunning:t,isIn:M,closeToast:p,hide:d,type:c,style:S,className:w,controlledProgress:W,progress:T||0})))},Ei=function(e,t){return t===void 0&&(t=!1),{enter:`Toastify--animate Toastify__${e}-enter`,exit:`Toastify--animate Toastify__${e}-exit`,appendPosition:t}},H7=No(Ei("bounce",!0));No(Ei("slide",!0)),No(Ei("zoom")),No(Ei("flip"));const X7={position:"top-right",transition:H7,autoClose:5e3,closeButton:!0,pauseOnHover:!0,pauseOnFocusLoss:!0,draggable:"touch",draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light"};function Z7(e){let t={...X7,...e};const n=e.stacked,[r,o]=f.useState(!0),a=f.useRef(null),{getToastToRender:i,isToastActive:s,count:l}=j7(t),{className:u,style:c,rtl:d,containerId:p}=t;function m(g){const b=Mn("Toastify__toast-container",`Toastify__toast-container--${g}`,{"Toastify__toast-container--rtl":d});return yt(u)?u({position:g,rtl:d,defaultClassName:b}):Mn(b,xi(u))}function h(){n&&(o(!0),Fe.play())}return R7(()=>{if(n){var g;const b=a.current.querySelectorAll('[data-in="true"]'),x=12,y=(g=t.position)==null?void 0:g.includes("top");let w=0,S=0;Array.from(b).reverse().forEach((E,A)=>{const T=E;T.classList.add("Toastify__toast--stacked"),A>0&&(T.dataset.collapsed=`${r}`),T.dataset.pos||(T.dataset.pos=y?"top":"bot");const v=w*(r?.2:1)+(r?0:x*A);T.style.setProperty("--y",`${y?v:-1*v}px`),T.style.setProperty("--g",`${x}`),T.style.setProperty("--s",""+(1-(r?S:0))),w+=T.offsetHeight,S+=.025})}},[r,l,n]),f.createElement("div",{ref:a,className:"Toastify",id:p,onMouseEnter:()=>{n&&(o(!1),Fe.pause())},onMouseLeave:h},i((g,b)=>{const x=b.length?{...c}:{...c,pointerEvents:"none"};return f.createElement("div",{className:m(g),style:x,key:`container-${g}`},b.map(y=>{let{content:w,props:S}=y;return f.createElement(z7,{...S,stacked:n,collapseAll:h,isIn:s(S.toastId,S.containerId),style:S.style,key:`toast-${S.key}`},w)}))}))}const PD="",Y7=()=>({snackbar:(t,n)=>{Fe(F.jsx(R1,{message:t,actions:n==null?void 0:n.actions,inlineActions:n==null?void 0:n.inlineActions}))}});function ge(){return ge=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ge.apply(this,arguments)}function Le(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e==null||e(o),n===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function U7(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function J1(...e){return t=>e.forEach(n=>U7(n,t))}function ct(...e){return f.useCallback(J1(...e),e)}function Jn(e,t=[]){let n=[];function r(a,i){const s=f.createContext(i),l=n.length;n=[...n,i];function u(d){const{scope:p,children:m,...h}=d,g=(p==null?void 0:p[e][l])||s,b=f.useMemo(()=>h,Object.values(h));return f.createElement(g.Provider,{value:b},m)}function c(d,p){const m=(p==null?void 0:p[e][l])||s,h=f.useContext(m);if(h)return h;if(i!==void 0)return i;throw new Error(`\`${d}\` must be used within \`${a}\``)}return u.displayName=a+"Provider",[u,c]}const o=()=>{const a=n.map(i=>f.createContext(i));return function(s){const l=(s==null?void 0:s[e])||a;return f.useMemo(()=>({[`__scope${e}`]:{...s,[e]:l}}),[s,l])}};return o.scopeName=e,[r,K7(o,...t)]}function K7(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(a){const i=r.reduce((s,{useScope:l,scopeName:u})=>{const d=l(a)[`__scope${u}`];return{...s,...d}},{});return f.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}const kr=f.forwardRef((e,t)=>{const{children:n,...r}=e,o=f.Children.toArray(n),a=o.find(J7);if(a){const i=a.props.children,s=o.map(l=>l===a?f.Children.count(i)>1?f.Children.only(null):f.isValidElement(i)?i.props.children:null:l);return f.createElement(hu,ge({},r,{ref:t}),f.isValidElement(i)?f.cloneElement(i,void 0,s):null)}return f.createElement(hu,ge({},r,{ref:t}),n)});kr.displayName="Slot";const hu=f.forwardRef((e,t)=>{const{children:n,...r}=e;return f.isValidElement(n)?f.cloneElement(n,{...Q7(r,n.props),ref:t?J1(t,n.ref):n.ref}):f.Children.count(n)>1?f.Children.only(null):null});hu.displayName="SlotClone";const Q1=({children:e})=>f.createElement(f.Fragment,null,e);function J7(e){return f.isValidElement(e)&&e.type===Q1}function Q7(e,t){const n={...t};for(const r in t){const o=e[r],a=t[r];/^on[A-Z]/.test(r)?o&&a?n[r]=(...s)=>{a(...s),o(...s)}:o&&(n[r]=o):r==="style"?n[r]={...o,...a}:r==="className"&&(n[r]=[o,a].filter(Boolean).join(" "))}return{...e,...n}}const We=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const n=f.forwardRef((r,o)=>{const{asChild:a,...i}=r,s=a?kr:t;return f.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),f.createElement(s,ge({},i,{ref:o}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function q7(e,t){e&&mr.flushSync(()=>e.dispatchEvent(t))}function an(e){const t=f.useRef(e);return f.useEffect(()=>{t.current=e}),f.useMemo(()=>(...n)=>{var r;return(r=t.current)===null||r===void 0?void 0:r.call(t,...n)},[])}function ex(e,t=globalThis==null?void 0:globalThis.document){const n=an(e);f.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r),()=>t.removeEventListener("keydown",r)},[n,t])}const gu="dismissableLayer.update",tx="dismissableLayer.pointerDownOutside",nx="dismissableLayer.focusOutside";let q1;const rx=f.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),bu=f.forwardRef((e,t)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:a,onFocusOutside:i,onInteractOutside:s,onDismiss:l,...u}=e,c=f.useContext(rx),[d,p]=f.useState(null),m=(n=d==null?void 0:d.ownerDocument)!==null&&n!==void 0?n:globalThis==null?void 0:globalThis.document,[,h]=f.useState({}),g=ct(t,v=>p(v)),b=Array.from(c.layers),[x]=[...c.layersWithOutsidePointerEventsDisabled].slice(-1),y=b.indexOf(x),w=d?b.indexOf(d):-1,S=c.layersWithOutsidePointerEventsDisabled.size>0,E=w>=y,A=ox(v=>{const D=v.target,$=[...c.branches].some(M=>M.contains(D));!E||$||(a==null||a(v),s==null||s(v),v.defaultPrevented||l==null||l())},m),T=ax(v=>{const D=v.target;[...c.branches].some(M=>M.contains(D))||(i==null||i(v),s==null||s(v),v.defaultPrevented||l==null||l())},m);return ex(v=>{w===c.layers.size-1&&(o==null||o(v),!v.defaultPrevented&&l&&(v.preventDefault(),l()))},m),f.useEffect(()=>{if(d)return r&&(c.layersWithOutsidePointerEventsDisabled.size===0&&(q1=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),c.layersWithOutsidePointerEventsDisabled.add(d)),c.layers.add(d),em(),()=>{r&&c.layersWithOutsidePointerEventsDisabled.size===1&&(m.body.style.pointerEvents=q1)}},[d,m,r,c]),f.useEffect(()=>()=>{d&&(c.layers.delete(d),c.layersWithOutsidePointerEventsDisabled.delete(d),em())},[d,c]),f.useEffect(()=>{const v=()=>h({});return document.addEventListener(gu,v),()=>document.removeEventListener(gu,v)},[]),f.createElement(We.div,ge({},u,{ref:g,style:{pointerEvents:S?E?"auto":"none":void 0,...e.style},onFocusCapture:Le(e.onFocusCapture,T.onFocusCapture),onBlurCapture:Le(e.onBlurCapture,T.onBlurCapture),onPointerDownCapture:Le(e.onPointerDownCapture,A.onPointerDownCapture)}))});function ox(e,t=globalThis==null?void 0:globalThis.document){const n=an(e),r=f.useRef(!1),o=f.useRef(()=>{});return f.useEffect(()=>{const a=s=>{if(s.target&&!r.current){let u=function(){tm(tx,n,l,{discrete:!0})};const l={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=u,t.addEventListener("click",o.current,{once:!0})):u()}else t.removeEventListener("click",o.current);r.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",a),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function ax(e,t=globalThis==null?void 0:globalThis.document){const n=an(e),r=f.useRef(!1);return f.useEffect(()=>{const o=a=>{a.target&&!r.current&&tm(nx,n,{originalEvent:a},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function em(){const e=new CustomEvent(gu);document.dispatchEvent(e)}function tm(e,t,n,{discrete:r}){const o=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?q7(o,a):o.dispatchEvent(a)}const Or=globalThis!=null&&globalThis.document?f.useLayoutEffect:()=>{},ix=V["useId".toString()]||(()=>{});let sx=0;function Qn(e){const[t,n]=V.useState(ix());return Or(()=>{e||n(r=>r??String(sx++))},[e]),e||(t?`radix-${t}`:"")}const lx=["top","right","bottom","left"],An=Math.min,xt=Math.max,Pi=Math.round,Si=Math.floor,Tn=e=>({x:e,y:e}),ux={left:"right",right:"left",bottom:"top",top:"bottom"},cx={start:"end",end:"start"};function vu(e,t,n){return xt(e,An(t,n))}function sn(e,t){return typeof e=="function"?e(t):e}function ln(e){return e.split("-")[0]}function Fr(e){return e.split("-")[1]}function yu(e){return e==="x"?"y":"x"}function xu(e){return e==="y"?"height":"width"}function Lr(e){return["top","bottom"].includes(ln(e))?"y":"x"}function Cu(e){return yu(Lr(e))}function dx(e,t,n){n===void 0&&(n=!1);const r=Fr(e),o=Cu(e),a=xu(o);let i=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(i=Mi(i)),[i,Mi(i)]}function fx(e){const t=Mi(e);return[wu(e),t,wu(t)]}function wu(e){return e.replace(/start|end/g,t=>cx[t])}function px(e,t,n){const r=["left","right"],o=["right","left"],a=["top","bottom"],i=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?a:i;default:return[]}}function mx(e,t,n,r){const o=Fr(e);let a=px(ln(e),n==="start",r);return o&&(a=a.map(i=>i+"-"+o),t&&(a=a.concat(a.map(wu)))),a}function Mi(e){return e.replace(/left|right|bottom|top/g,t=>ux[t])}function hx(e){return{top:0,right:0,bottom:0,left:0,...e}}function nm(e){return typeof e!="number"?hx(e):{top:e,right:e,bottom:e,left:e}}function Ai(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function rm(e,t,n){let{reference:r,floating:o}=e;const a=Lr(t),i=Cu(t),s=xu(i),l=ln(t),u=a==="y",c=r.x+r.width/2-o.width/2,d=r.y+r.height/2-o.height/2,p=r[s]/2-o[s]/2;let m;switch(l){case"top":m={x:c,y:r.y-o.height};break;case"bottom":m={x:c,y:r.y+r.height};break;case"right":m={x:r.x+r.width,y:d};break;case"left":m={x:r.x-o.width,y:d};break;default:m={x:r.x,y:r.y}}switch(Fr(t)){case"start":m[i]-=p*(n&&u?-1:1);break;case"end":m[i]+=p*(n&&u?-1:1);break}return m}const gx=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:a=[],platform:i}=n,s=a.filter(Boolean),l=await(i.isRTL==null?void 0:i.isRTL(t));let u=await i.getElementRects({reference:e,floating:t,strategy:o}),{x:c,y:d}=rm(u,r,l),p=r,m={},h=0;for(let g=0;g<s.length;g++){const{name:b,fn:x}=s[g],{x:y,y:w,data:S,reset:E}=await x({x:c,y:d,initialPlacement:r,placement:p,strategy:o,middlewareData:m,rects:u,platform:i,elements:{reference:e,floating:t}});if(c=y??c,d=w??d,m={...m,[b]:{...m[b],...S}},E&&h<=50){h++,typeof E=="object"&&(E.placement&&(p=E.placement),E.rects&&(u=E.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:o}):E.rects),{x:c,y:d}=rm(u,p,l)),g=-1;continue}}return{x:c,y:d,placement:p,strategy:o,middlewareData:m}};async function Oo(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:a,rects:i,elements:s,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:p=!1,padding:m=0}=sn(t,e),h=nm(m),b=s[p?d==="floating"?"reference":"floating":d],x=Ai(await a.getClippingRect({element:(n=await(a.isElement==null?void 0:a.isElement(b)))==null||n?b:b.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(s.floating)),boundary:u,rootBoundary:c,strategy:l})),y=d==="floating"?{...i.floating,x:r,y:o}:i.reference,w=await(a.getOffsetParent==null?void 0:a.getOffsetParent(s.floating)),S=await(a.isElement==null?void 0:a.isElement(w))?await(a.getScale==null?void 0:a.getScale(w))||{x:1,y:1}:{x:1,y:1},E=Ai(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:y,offsetParent:w,strategy:l}):y);return{top:(x.top-E.top+h.top)/S.y,bottom:(E.bottom-x.bottom+h.bottom)/S.y,left:(x.left-E.left+h.left)/S.x,right:(E.right-x.right+h.right)/S.x}}const om=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:a,platform:i,elements:s,middlewareData:l}=t,{element:u,padding:c=0}=sn(e,t)||{};if(u==null)return{};const d=nm(c),p={x:n,y:r},m=Cu(o),h=xu(m),g=await i.getDimensions(u),b=m==="y",x=b?"top":"left",y=b?"bottom":"right",w=b?"clientHeight":"clientWidth",S=a.reference[h]+a.reference[m]-p[m]-a.floating[h],E=p[m]-a.reference[m],A=await(i.getOffsetParent==null?void 0:i.getOffsetParent(u));let T=A?A[w]:0;(!T||!await(i.isElement==null?void 0:i.isElement(A)))&&(T=s.floating[w]||a.floating[h]);const v=S/2-E/2,D=T/2-g[h]/2-1,$=An(d[x],D),M=An(d[y],D),k=$,I=T-g[h]-M,P=T/2-g[h]/2+v,O=vu(k,P,I),j=!l.arrow&&Fr(o)!=null&&P!=O&&a.reference[h]/2-(P<k?$:M)-g[h]/2<0,N=j?P<k?P-k:P-I:0;return{[m]:p[m]+N,data:{[m]:O,centerOffset:P-O-N,...j&&{alignmentOffset:N}},reset:j}}}),bx=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:a,rects:i,initialPlacement:s,platform:l,elements:u}=t,{mainAxis:c=!0,crossAxis:d=!0,fallbackPlacements:p,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:g=!0,...b}=sn(e,t);if((n=a.arrow)!=null&&n.alignmentOffset)return{};const x=ln(o),y=ln(s)===s,w=await(l.isRTL==null?void 0:l.isRTL(u.floating)),S=p||(y||!g?[Mi(s)]:fx(s));!p&&h!=="none"&&S.push(...mx(s,g,h,w));const E=[s,...S],A=await Oo(t,b),T=[];let v=((r=a.flip)==null?void 0:r.overflows)||[];if(c&&T.push(A[x]),d){const k=dx(o,i,w);T.push(A[k[0]],A[k[1]])}if(v=[...v,{placement:o,overflows:T}],!T.every(k=>k<=0)){var D,$;const k=(((D=a.flip)==null?void 0:D.index)||0)+1,I=E[k];if(I)return{data:{index:k,overflows:v},reset:{placement:I}};let P=($=v.filter(O=>O.overflows[0]<=0).sort((O,j)=>O.overflows[1]-j.overflows[1])[0])==null?void 0:$.placement;if(!P)switch(m){case"bestFit":{var M;const O=(M=v.map(j=>[j.placement,j.overflows.filter(N=>N>0).reduce((N,W)=>N+W,0)]).sort((j,N)=>j[1]-N[1])[0])==null?void 0:M[0];O&&(P=O);break}case"initialPlacement":P=s;break}if(o!==P)return{reset:{placement:P}}}return{}}}};function am(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function im(e){return lx.some(t=>e[t]>=0)}const vx=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=sn(e,t);switch(r){case"referenceHidden":{const a=await Oo(t,{...o,elementContext:"reference"}),i=am(a,n.reference);return{data:{referenceHiddenOffsets:i,referenceHidden:im(i)}}}case"escaped":{const a=await Oo(t,{...o,altBoundary:!0}),i=am(a,n.floating);return{data:{escapedOffsets:i,escaped:im(i)}}}default:return{}}}}};async function yx(e,t){const{placement:n,platform:r,elements:o}=e,a=await(r.isRTL==null?void 0:r.isRTL(o.floating)),i=ln(n),s=Fr(n),l=Lr(n)==="y",u=["left","top"].includes(i)?-1:1,c=a&&l?-1:1,d=sn(t,e);let{mainAxis:p,crossAxis:m,alignmentAxis:h}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d};return s&&typeof h=="number"&&(m=s==="end"?h*-1:h),l?{x:m*c,y:p*u}:{x:p*u,y:m*c}}const xx=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:r}=t,o=await yx(t,e);return{x:n+o.x,y:r+o.y,data:o}}}},Cx=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:a=!0,crossAxis:i=!1,limiter:s={fn:b=>{let{x,y}=b;return{x,y}}},...l}=sn(e,t),u={x:n,y:r},c=await Oo(t,l),d=Lr(ln(o)),p=yu(d);let m=u[p],h=u[d];if(a){const b=p==="y"?"top":"left",x=p==="y"?"bottom":"right",y=m+c[b],w=m-c[x];m=vu(y,m,w)}if(i){const b=d==="y"?"top":"left",x=d==="y"?"bottom":"right",y=h+c[b],w=h-c[x];h=vu(y,h,w)}const g=s.fn({...t,[p]:m,[d]:h});return{...g,data:{x:g.x-n,y:g.y-r}}}}},wx=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:a,middlewareData:i}=t,{offset:s=0,mainAxis:l=!0,crossAxis:u=!0}=sn(e,t),c={x:n,y:r},d=Lr(o),p=yu(d);let m=c[p],h=c[d];const g=sn(s,t),b=typeof g=="number"?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(l){const w=p==="y"?"height":"width",S=a.reference[p]-a.floating[w]+b.mainAxis,E=a.reference[p]+a.reference[w]-b.mainAxis;m<S?m=S:m>E&&(m=E)}if(u){var x,y;const w=p==="y"?"width":"height",S=["top","left"].includes(ln(o)),E=a.reference[d]-a.floating[w]+(S&&((x=i.offset)==null?void 0:x[d])||0)+(S?0:b.crossAxis),A=a.reference[d]+a.reference[w]+(S?0:((y=i.offset)==null?void 0:y[d])||0)-(S?b.crossAxis:0);h<E?h=E:h>A&&(h=A)}return{[p]:m,[d]:h}}}},Ix=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:o,elements:a}=t,{apply:i=()=>{},...s}=sn(e,t),l=await Oo(t,s),u=ln(n),c=Fr(n),d=Lr(n)==="y",{width:p,height:m}=r.floating;let h,g;u==="top"||u==="bottom"?(h=u,g=c===(await(o.isRTL==null?void 0:o.isRTL(a.floating))?"start":"end")?"left":"right"):(g=u,h=c==="end"?"top":"bottom");const b=m-l[h],x=p-l[g],y=!t.middlewareData.shift;let w=b,S=x;if(d){const A=p-l.left-l.right;S=c||y?An(x,A):A}else{const A=m-l.top-l.bottom;w=c||y?An(b,A):A}if(y&&!c){const A=xt(l.left,0),T=xt(l.right,0),v=xt(l.top,0),D=xt(l.bottom,0);d?S=p-2*(A!==0||T!==0?A+T:xt(l.left,l.right)):w=m-2*(v!==0||D!==0?v+D:xt(l.top,l.bottom))}await i({...t,availableWidth:S,availableHeight:w});const E=await o.getDimensions(a.floating);return p!==E.width||m!==E.height?{reset:{rects:!0}}:{}}}};function Dn(e){return sm(e)?(e.nodeName||"").toLowerCase():"#document"}function Ct(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function un(e){var t;return(t=(sm(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function sm(e){return e instanceof Node||e instanceof Ct(e).Node}function cn(e){return e instanceof Element||e instanceof Ct(e).Element}function Ht(e){return e instanceof HTMLElement||e instanceof Ct(e).HTMLElement}function lm(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Ct(e).ShadowRoot}function Fo(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=At(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function Ex(e){return["table","td","th"].includes(Dn(e))}function Iu(e){const t=Eu(),n=At(e);return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function Px(e){let t=Vr(e);for(;Ht(t)&&!Ti(t);){if(Iu(t))return t;t=Vr(t)}return null}function Eu(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Ti(e){return["html","body","#document"].includes(Dn(e))}function At(e){return Ct(e).getComputedStyle(e)}function Di(e){return cn(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Vr(e){if(Dn(e)==="html")return e;const t=e.assignedSlot||e.parentNode||lm(e)&&e.host||un(e);return lm(t)?t.host:t}function um(e){const t=Vr(e);return Ti(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ht(t)&&Fo(t)?t:um(t)}function Lo(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=um(e),a=o===((r=e.ownerDocument)==null?void 0:r.body),i=Ct(o);return a?t.concat(i,i.visualViewport||[],Fo(o)?o:[],i.frameElement&&n?Lo(i.frameElement):[]):t.concat(o,Lo(o,[],n))}function cm(e){const t=At(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Ht(e),a=o?e.offsetWidth:n,i=o?e.offsetHeight:r,s=Pi(n)!==a||Pi(r)!==i;return s&&(n=a,r=i),{width:n,height:r,$:s}}function Pu(e){return cn(e)?e:e.contextElement}function jr(e){const t=Pu(e);if(!Ht(t))return Tn(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:a}=cm(t);let i=(a?Pi(n.width):n.width)/r,s=(a?Pi(n.height):n.height)/o;return(!i||!Number.isFinite(i))&&(i=1),(!s||!Number.isFinite(s))&&(s=1),{x:i,y:s}}const Sx=Tn(0);function dm(e){const t=Ct(e);return!Eu()||!t.visualViewport?Sx:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Mx(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Ct(e)?!1:t}function qn(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),a=Pu(e);let i=Tn(1);t&&(r?cn(r)&&(i=jr(r)):i=jr(e));const s=Mx(a,n,r)?dm(a):Tn(0);let l=(o.left+s.x)/i.x,u=(o.top+s.y)/i.y,c=o.width/i.x,d=o.height/i.y;if(a){const p=Ct(a),m=r&&cn(r)?Ct(r):r;let h=p.frameElement;for(;h&&r&&m!==p;){const g=jr(h),b=h.getBoundingClientRect(),x=At(h),y=b.left+(h.clientLeft+parseFloat(x.paddingLeft))*g.x,w=b.top+(h.clientTop+parseFloat(x.paddingTop))*g.y;l*=g.x,u*=g.y,c*=g.x,d*=g.y,l+=y,u+=w,h=Ct(h).frameElement}}return Ai({width:c,height:d,x:l,y:u})}function Ax(e){let{rect:t,offsetParent:n,strategy:r}=e;const o=Ht(n),a=un(n);if(n===a)return t;let i={scrollLeft:0,scrollTop:0},s=Tn(1);const l=Tn(0);if((o||!o&&r!=="fixed")&&((Dn(n)!=="body"||Fo(a))&&(i=Di(n)),Ht(n))){const u=qn(n);s=jr(n),l.x=u.x+n.clientLeft,l.y=u.y+n.clientTop}return{width:t.width*s.x,height:t.height*s.y,x:t.x*s.x-i.scrollLeft*s.x+l.x,y:t.y*s.y-i.scrollTop*s.y+l.y}}function Tx(e){return Array.from(e.getClientRects())}function fm(e){return qn(un(e)).left+Di(e).scrollLeft}function Dx(e){const t=un(e),n=Di(e),r=e.ownerDocument.body,o=xt(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=xt(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let i=-n.scrollLeft+fm(e);const s=-n.scrollTop;return At(r).direction==="rtl"&&(i+=xt(t.clientWidth,r.clientWidth)-o),{width:o,height:a,x:i,y:s}}function Nx(e,t){const n=Ct(e),r=un(e),o=n.visualViewport;let a=r.clientWidth,i=r.clientHeight,s=0,l=0;if(o){a=o.width,i=o.height;const u=Eu();(!u||u&&t==="fixed")&&(s=o.offsetLeft,l=o.offsetTop)}return{width:a,height:i,x:s,y:l}}function $x(e,t){const n=qn(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,a=Ht(e)?jr(e):Tn(1),i=e.clientWidth*a.x,s=e.clientHeight*a.y,l=o*a.x,u=r*a.y;return{width:i,height:s,x:l,y:u}}function pm(e,t,n){let r;if(t==="viewport")r=Nx(e,n);else if(t==="document")r=Dx(un(e));else if(cn(t))r=$x(t,n);else{const o=dm(e);r={...t,x:t.x-o.x,y:t.y-o.y}}return Ai(r)}function mm(e,t){const n=Vr(e);return n===t||!cn(n)||Ti(n)?!1:At(n).position==="fixed"||mm(n,t)}function kx(e,t){const n=t.get(e);if(n)return n;let r=Lo(e,[],!1).filter(s=>cn(s)&&Dn(s)!=="body"),o=null;const a=At(e).position==="fixed";let i=a?Vr(e):e;for(;cn(i)&&!Ti(i);){const s=At(i),l=Iu(i);!l&&s.position==="fixed"&&(o=null),(a?!l&&!o:!l&&s.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||Fo(i)&&!l&&mm(e,i))?r=r.filter(c=>c!==i):o=s,i=Vr(i)}return t.set(e,r),r}function Ox(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[...n==="clippingAncestors"?kx(t,this._c):[].concat(n),r],s=i[0],l=i.reduce((u,c)=>{const d=pm(t,c,o);return u.top=xt(d.top,u.top),u.right=An(d.right,u.right),u.bottom=An(d.bottom,u.bottom),u.left=xt(d.left,u.left),u},pm(t,s,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function Fx(e){return cm(e)}function Lx(e,t,n){const r=Ht(t),o=un(t),a=n==="fixed",i=qn(e,!0,a,t);let s={scrollLeft:0,scrollTop:0};const l=Tn(0);if(r||!r&&!a)if((Dn(t)!=="body"||Fo(o))&&(s=Di(t)),r){const u=qn(t,!0,a,t);l.x=u.x+t.clientLeft,l.y=u.y+t.clientTop}else o&&(l.x=fm(o));return{x:i.left+s.scrollLeft-l.x,y:i.top+s.scrollTop-l.y,width:i.width,height:i.height}}function hm(e,t){return!Ht(e)||At(e).position==="fixed"?null:t?t(e):e.offsetParent}function gm(e,t){const n=Ct(e);if(!Ht(e))return n;let r=hm(e,t);for(;r&&Ex(r)&&At(r).position==="static";)r=hm(r,t);return r&&(Dn(r)==="html"||Dn(r)==="body"&&At(r).position==="static"&&!Iu(r))?n:r||Px(e)||n}const Vx=async function(e){let{reference:t,floating:n,strategy:r}=e;const o=this.getOffsetParent||gm,a=this.getDimensions;return{reference:Lx(t,await o(n),r),floating:{x:0,y:0,...await a(n)}}};function jx(e){return At(e).direction==="rtl"}const Bx={convertOffsetParentRelativeRectToViewportRelativeRect:Ax,getDocumentElement:un,getClippingRect:Ox,getOffsetParent:gm,getElementRects:Vx,getClientRects:Tx,getDimensions:Fx,getScale:jr,isElement:cn,isRTL:jx};function Wx(e,t){let n=null,r;const o=un(e);function a(){clearTimeout(r),n&&n.disconnect(),n=null}function i(s,l){s===void 0&&(s=!1),l===void 0&&(l=1),a();const{left:u,top:c,width:d,height:p}=e.getBoundingClientRect();if(s||t(),!d||!p)return;const m=Si(c),h=Si(o.clientWidth-(u+d)),g=Si(o.clientHeight-(c+p)),b=Si(u),y={rootMargin:-m+"px "+-h+"px "+-g+"px "+-b+"px",threshold:xt(0,An(1,l))||1};let w=!0;function S(E){const A=E[0].intersectionRatio;if(A!==l){if(!w)return i();A?i(!1,A):r=setTimeout(()=>{i(!1,1e-7)},100)}w=!1}try{n=new IntersectionObserver(S,{...y,root:o.ownerDocument})}catch{n=new IntersectionObserver(S,y)}n.observe(e)}return i(!0),a}function _x(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,u=Pu(e),c=o||a?[...u?Lo(u):[],...Lo(t)]:[];c.forEach(x=>{o&&x.addEventListener("scroll",n,{passive:!0}),a&&x.addEventListener("resize",n)});const d=u&&s?Wx(u,n):null;let p=-1,m=null;i&&(m=new ResizeObserver(x=>{let[y]=x;y&&y.target===u&&m&&(m.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{m&&m.observe(t)})),n()}),u&&!l&&m.observe(u),m.observe(t));let h,g=l?qn(e):null;l&&b();function b(){const x=qn(e);g&&(x.x!==g.x||x.y!==g.y||x.width!==g.width||x.height!==g.height)&&n(),g=x,h=requestAnimationFrame(b)}return n(),()=>{c.forEach(x=>{o&&x.removeEventListener("scroll",n),a&&x.removeEventListener("resize",n)}),d&&d(),m&&m.disconnect(),m=null,l&&cancelAnimationFrame(h)}}const Gx=(e,t,n)=>{const r=new Map,o={platform:Bx,...n},a={...o.platform,_c:r};return gx(e,t,{...o,platform:a})},Rx=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?om({element:r.current,padding:o}).fn(n):{}:r?om({element:r,padding:o}).fn(n):{}}}};var Ni=typeof document<"u"?f.useLayoutEffect:f.useEffect;function $i(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!$i(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const a=o[r];if(!(a==="_owner"&&e.$$typeof)&&!$i(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function bm(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function vm(e,t){const n=bm(e);return Math.round(t*n)/n}function ym(e){const t=V.useRef(e);return Ni(()=>{t.current=e}),t}function zx(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:a,floating:i}={},transform:s=!0,whileElementsMounted:l,open:u}=e,[c,d]=V.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,m]=V.useState(r);$i(p,r)||m(r);const[h,g]=V.useState(null),[b,x]=V.useState(null),y=V.useCallback(j=>{j!=A.current&&(A.current=j,g(j))},[g]),w=V.useCallback(j=>{j!==T.current&&(T.current=j,x(j))},[x]),S=a||h,E=i||b,A=V.useRef(null),T=V.useRef(null),v=V.useRef(c),D=ym(l),$=ym(o),M=V.useCallback(()=>{if(!A.current||!T.current)return;const j={placement:t,strategy:n,middleware:p};$.current&&(j.platform=$.current),Gx(A.current,T.current,j).then(N=>{const W={...N,isPositioned:!0};k.current&&!$i(v.current,W)&&(v.current=W,Gb.flushSync(()=>{d(W)}))})},[p,t,n,$]);Ni(()=>{u===!1&&v.current.isPositioned&&(v.current.isPositioned=!1,d(j=>({...j,isPositioned:!1})))},[u]);const k=V.useRef(!1);Ni(()=>(k.current=!0,()=>{k.current=!1}),[]),Ni(()=>{if(S&&(A.current=S),E&&(T.current=E),S&&E){if(D.current)return D.current(S,E,M);M()}},[S,E,M,D]);const I=V.useMemo(()=>({reference:A,floating:T,setReference:y,setFloating:w}),[y,w]),P=V.useMemo(()=>({reference:S,floating:E}),[S,E]),O=V.useMemo(()=>{const j={position:n,left:0,top:0};if(!P.floating)return j;const N=vm(P.floating,c.x),W=vm(P.floating,c.y);return s?{...j,transform:"translate("+N+"px, "+W+"px)",...bm(P.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:N,top:W}},[n,s,P.floating,c.x,c.y]);return V.useMemo(()=>({...c,update:M,refs:I,elements:P,floatingStyles:O}),[c,M,I,P,O])}const Hx=f.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...a}=e;return f.createElement(We.svg,ge({},a,{ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?n:f.createElement("polygon",{points:"0,0 30,0 15,10"}))});function Xx(e){const[t,n]=f.useState(void 0);return Or(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const a=o[0];let i,s;if("borderBoxSize"in a){const l=a.borderBoxSize,u=Array.isArray(l)?l[0]:l;i=u.inlineSize,s=u.blockSize}else i=e.offsetWidth,s=e.offsetHeight;n({width:i,height:s})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}const xm="Popper",[Cm,ki]=Jn(xm),[Zx,wm]=Cm(xm),Yx=e=>{const{__scopePopper:t,children:n}=e,[r,o]=f.useState(null);return f.createElement(Zx,{scope:t,anchor:r,onAnchorChange:o},n)},Ux="PopperAnchor",Kx=f.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,a=wm(Ux,n),i=f.useRef(null),s=ct(t,i);return f.useEffect(()=>{a.onAnchorChange((r==null?void 0:r.current)||i.current)}),r?null:f.createElement(We.div,ge({},o,{ref:s}))}),Im="PopperContent",[Jx,Qx]=Cm(Im),qx=f.forwardRef((e,t)=>{var n,r,o,a,i,s,l,u;const{__scopePopper:c,side:d="bottom",sideOffset:p=0,align:m="center",alignOffset:h=0,arrowPadding:g=0,avoidCollisions:b=!0,collisionBoundary:x=[],collisionPadding:y=0,sticky:w="partial",hideWhenDetached:S=!1,updatePositionStrategy:E="optimized",onPlaced:A,...T}=e,v=wm(Im,c),[D,$]=f.useState(null),M=ct(t,ne=>$(ne)),[k,I]=f.useState(null),P=Xx(k),O=(n=P==null?void 0:P.width)!==null&&n!==void 0?n:0,j=(r=P==null?void 0:P.height)!==null&&r!==void 0?r:0,N=d+(m!=="center"?"-"+m:""),W=typeof y=="number"?y:{top:0,right:0,bottom:0,left:0,...y},K=Array.isArray(x)?x:[x],H=K.length>0,X={padding:W,boundary:K.filter(rC),altBoundary:H},{refs:B,floatingStyles:G,placement:Y,isPositioned:R,middlewareData:Z}=zx({strategy:"fixed",placement:N,whileElementsMounted:(...ne)=>_x(...ne,{animationFrame:E==="always"}),elements:{reference:v.anchor},middleware:[xx({mainAxis:p+j,alignmentAxis:h}),b&&Cx({mainAxis:!0,crossAxis:!1,limiter:w==="partial"?wx():void 0,...X}),b&&bx({...X}),Ix({...X,apply:({elements:ne,rects:Ge,availableWidth:Xe,availableHeight:Ze})=>{const{width:je,height:Kt}=Ge.reference,Dt=ne.floating.style;Dt.setProperty("--radix-popper-available-width",`${Xe}px`),Dt.setProperty("--radix-popper-available-height",`${Ze}px`),Dt.setProperty("--radix-popper-anchor-width",`${je}px`),Dt.setProperty("--radix-popper-anchor-height",`${Kt}px`)}}),k&&Rx({element:k,padding:g}),oC({arrowWidth:O,arrowHeight:j}),S&&vx({strategy:"referenceHidden",...X})]}),[q,ae]=Em(Y),le=an(A);Or(()=>{R&&(le==null||le())},[R,le]);const pe=(o=Z.arrow)===null||o===void 0?void 0:o.x,be=(a=Z.arrow)===null||a===void 0?void 0:a.y,Q=((i=Z.arrow)===null||i===void 0?void 0:i.centerOffset)!==0,[Pe,ie]=f.useState();return Or(()=>{D&&ie(window.getComputedStyle(D).zIndex)},[D]),f.createElement("div",{ref:B.setFloating,"data-radix-popper-content-wrapper":"",style:{...G,transform:R?G.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Pe,"--radix-popper-transform-origin":[(s=Z.transformOrigin)===null||s===void 0?void 0:s.x,(l=Z.transformOrigin)===null||l===void 0?void 0:l.y].join(" ")},dir:e.dir},f.createElement(Jx,{scope:c,placedSide:q,onArrowChange:I,arrowX:pe,arrowY:be,shouldHideArrow:Q},f.createElement(We.div,ge({"data-side":q,"data-align":ae},T,{ref:M,style:{...T.style,animation:R?void 0:"none",opacity:(u=Z.hide)!==null&&u!==void 0&&u.referenceHidden?0:void 0}}))))}),eC="PopperArrow",tC={top:"bottom",right:"left",bottom:"top",left:"right"},nC=f.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,a=Qx(eC,r),i=tC[a.placedSide];return f.createElement("span",{ref:a.onArrowChange,style:{position:"absolute",left:a.arrowX,top:a.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[a.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[a.placedSide],visibility:a.shouldHideArrow?"hidden":void 0}},f.createElement(Hx,ge({},o,{ref:n,style:{...o.style,display:"block"}})))});function rC(e){return e!==null}const oC=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,a,i;const{placement:s,rects:l,middlewareData:u}=t,d=((n=u.arrow)===null||n===void 0?void 0:n.centerOffset)!==0,p=d?0:e.arrowWidth,m=d?0:e.arrowHeight,[h,g]=Em(s),b={start:"0%",center:"50%",end:"100%"}[g],x=((r=(o=u.arrow)===null||o===void 0?void 0:o.x)!==null&&r!==void 0?r:0)+p/2,y=((a=(i=u.arrow)===null||i===void 0?void 0:i.y)!==null&&a!==void 0?a:0)+m/2;let w="",S="";return h==="bottom"?(w=d?b:`${x}px`,S=`${-m}px`):h==="top"?(w=d?b:`${x}px`,S=`${l.floating.height+m}px`):h==="right"?(w=`${-m}px`,S=d?b:`${y}px`):h==="left"&&(w=`${l.floating.width+m}px`,S=d?b:`${y}px`),{data:{x:w,y:S}}}});function Em(e){const[t,n="center"]=e.split("-");return[t,n]}const Pm=Yx,Sm=Kx,Mm=qx,aC=nC,Su=f.forwardRef((e,t)=>{var n;const{container:r=globalThis==null||(n=globalThis.document)===null||n===void 0?void 0:n.body,...o}=e;return r?mr.createPortal(f.createElement(We.div,ge({},o,{ref:t})),r):null});function iC(e,t){return f.useReducer((n,r)=>{const o=t[n][r];return o??n},e)}const dn=e=>{const{present:t,children:n}=e,r=sC(t),o=typeof n=="function"?n({present:r.isPresent}):f.Children.only(n),a=ct(r.ref,o.ref);return typeof n=="function"||r.isPresent?f.cloneElement(o,{ref:a}):null};dn.displayName="Presence";function sC(e){const[t,n]=f.useState(),r=f.useRef({}),o=f.useRef(e),a=f.useRef("none"),i=e?"mounted":"unmounted",[s,l]=iC(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return f.useEffect(()=>{const u=Oi(r.current);a.current=s==="mounted"?u:"none"},[s]),Or(()=>{const u=r.current,c=o.current;if(c!==e){const p=a.current,m=Oi(u);e?l("MOUNT"):m==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(c&&p!==m?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),Or(()=>{if(t){const u=d=>{const m=Oi(r.current).includes(d.animationName);d.target===t&&m&&mr.flushSync(()=>l("ANIMATION_END"))},c=d=>{d.target===t&&(a.current=Oi(r.current))};return t.addEventListener("animationstart",c),t.addEventListener("animationcancel",u),t.addEventListener("animationend",u),()=>{t.removeEventListener("animationstart",c),t.removeEventListener("animationcancel",u),t.removeEventListener("animationend",u)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:f.useCallback(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function Oi(e){return(e==null?void 0:e.animationName)||"none"}function Vo({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=lC({defaultProp:t,onChange:n}),a=e!==void 0,i=a?e:r,s=an(n),l=f.useCallback(u=>{if(a){const d=typeof u=="function"?u(e):u;d!==e&&s(d)}else o(u)},[a,e,o,s]);return[i,l]}function lC({defaultProp:e,onChange:t}){const n=f.useState(e),[r]=n,o=f.useRef(r),a=an(t);return f.useEffect(()=>{o.current!==r&&(a(r),o.current=r)},[r,o,a]),n}const uC=f.forwardRef((e,t)=>f.createElement(We.span,ge({},e,{ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}))),[Fi,TD]=Jn("Tooltip",[ki]),Li=ki(),cC="TooltipProvider",dC=700,Mu="tooltip.open",[fC,Au]=Fi(cC),pC=e=>{const{__scopeTooltip:t,delayDuration:n=dC,skipDelayDuration:r=300,disableHoverableContent:o=!1,children:a}=e,[i,s]=f.useState(!0),l=f.useRef(!1),u=f.useRef(0);return f.useEffect(()=>{const c=u.current;return()=>window.clearTimeout(c)},[]),f.createElement(fC,{scope:t,isOpenDelayed:i,delayDuration:n,onOpen:f.useCallback(()=>{window.clearTimeout(u.current),s(!1)},[]),onClose:f.useCallback(()=>{window.clearTimeout(u.current),u.current=window.setTimeout(()=>s(!0),r)},[r]),isPointerInTransitRef:l,onPointerInTransitChange:f.useCallback(c=>{l.current=c},[]),disableHoverableContent:o},a)},Tu="Tooltip",[mC,jo]=Fi(Tu),hC=e=>{const{__scopeTooltip:t,children:n,open:r,defaultOpen:o=!1,onOpenChange:a,disableHoverableContent:i,delayDuration:s}=e,l=Au(Tu,e.__scopeTooltip),u=Li(t),[c,d]=f.useState(null),p=Qn(),m=f.useRef(0),h=i??l.disableHoverableContent,g=s??l.delayDuration,b=f.useRef(!1),[x=!1,y]=Vo({prop:r,defaultProp:o,onChange:T=>{T?(l.onOpen(),document.dispatchEvent(new CustomEvent(Mu))):l.onClose(),a==null||a(T)}}),w=f.useMemo(()=>x?b.current?"delayed-open":"instant-open":"closed",[x]),S=f.useCallback(()=>{window.clearTimeout(m.current),b.current=!1,y(!0)},[y]),E=f.useCallback(()=>{window.clearTimeout(m.current),y(!1)},[y]),A=f.useCallback(()=>{window.clearTimeout(m.current),m.current=window.setTimeout(()=>{b.current=!0,y(!0)},g)},[g,y]);return f.useEffect(()=>()=>window.clearTimeout(m.current),[]),f.createElement(Pm,u,f.createElement(mC,{scope:t,contentId:p,open:x,stateAttribute:w,trigger:c,onTriggerChange:d,onTriggerEnter:f.useCallback(()=>{l.isOpenDelayed?A():S()},[l.isOpenDelayed,A,S]),onTriggerLeave:f.useCallback(()=>{h?E():window.clearTimeout(m.current)},[E,h]),onOpen:S,onClose:E,disableHoverableContent:h},n))},Am="TooltipTrigger",gC=f.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=jo(Am,n),a=Au(Am,n),i=Li(n),s=f.useRef(null),l=ct(t,s,o.onTriggerChange),u=f.useRef(!1),c=f.useRef(!1),d=f.useCallback(()=>u.current=!1,[]);return f.useEffect(()=>()=>document.removeEventListener("pointerup",d),[d]),f.createElement(Sm,ge({asChild:!0},i),f.createElement(We.button,ge({"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute},r,{ref:l,onPointerMove:Le(e.onPointerMove,p=>{p.pointerType!=="touch"&&!c.current&&!a.isPointerInTransitRef.current&&(o.onTriggerEnter(),c.current=!0)}),onPointerLeave:Le(e.onPointerLeave,()=>{o.onTriggerLeave(),c.current=!1}),onPointerDown:Le(e.onPointerDown,()=>{u.current=!0,document.addEventListener("pointerup",d,{once:!0})}),onFocus:Le(e.onFocus,()=>{u.current||o.onOpen()}),onBlur:Le(e.onBlur,o.onClose),onClick:Le(e.onClick,o.onClose)})))}),Tm="TooltipPortal",[bC,vC]=Fi(Tm,{forceMount:void 0}),yC=e=>{const{__scopeTooltip:t,forceMount:n,children:r,container:o}=e,a=jo(Tm,t);return f.createElement(bC,{scope:t,forceMount:n},f.createElement(dn,{present:n||a.open},f.createElement(Su,{asChild:!0,container:o},r)))},Bo="TooltipContent",xC=f.forwardRef((e,t)=>{const n=vC(Bo,e.__scopeTooltip),{forceMount:r=n.forceMount,side:o="top",...a}=e,i=jo(Bo,e.__scopeTooltip);return f.createElement(dn,{present:r||i.open},i.disableHoverableContent?f.createElement(Dm,ge({side:o},a,{ref:t})):f.createElement(CC,ge({side:o},a,{ref:t})))}),CC=f.forwardRef((e,t)=>{const n=jo(Bo,e.__scopeTooltip),r=Au(Bo,e.__scopeTooltip),o=f.useRef(null),a=ct(t,o),[i,s]=f.useState(null),{trigger:l,onClose:u}=n,c=o.current,{onPointerInTransitChange:d}=r,p=f.useCallback(()=>{s(null),d(!1)},[d]),m=f.useCallback((h,g)=>{const b=h.currentTarget,x={x:h.clientX,y:h.clientY},y=SC(x,b.getBoundingClientRect()),w=MC(x,y),S=AC(g.getBoundingClientRect()),E=DC([...w,...S]);s(E),d(!0)},[d]);return f.useEffect(()=>()=>p(),[p]),f.useEffect(()=>{if(l&&c){const h=b=>m(b,c),g=b=>m(b,l);return l.addEventListener("pointerleave",h),c.addEventListener("pointerleave",g),()=>{l.removeEventListener("pointerleave",h),c.removeEventListener("pointerleave",g)}}},[l,c,m,p]),f.useEffect(()=>{if(i){const h=g=>{const b=g.target,x={x:g.clientX,y:g.clientY},y=(l==null?void 0:l.contains(b))||(c==null?void 0:c.contains(b)),w=!TC(x,i);y?p():w&&(p(),u())};return document.addEventListener("pointermove",h),()=>document.removeEventListener("pointermove",h)}},[l,c,i,u,p]),f.createElement(Dm,ge({},e,{ref:a}))}),[wC,IC]=Fi(Tu,{isInside:!1}),Dm=f.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":o,onEscapeKeyDown:a,onPointerDownOutside:i,...s}=e,l=jo(Bo,n),u=Li(n),{onClose:c}=l;return f.useEffect(()=>(document.addEventListener(Mu,c),()=>document.removeEventListener(Mu,c)),[c]),f.useEffect(()=>{if(l.trigger){const d=p=>{const m=p.target;m!=null&&m.contains(l.trigger)&&c()};return window.addEventListener("scroll",d,{capture:!0}),()=>window.removeEventListener("scroll",d,{capture:!0})}},[l.trigger,c]),f.createElement(bu,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:a,onPointerDownOutside:i,onFocusOutside:d=>d.preventDefault(),onDismiss:c},f.createElement(Mm,ge({"data-state":l.stateAttribute},u,s,{ref:t,style:{...s.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"}}),f.createElement(Q1,null,r),f.createElement(wC,{scope:n,isInside:!0},f.createElement(uC,{id:l.contentId,role:"tooltip"},o||r))))}),EC="TooltipArrow",PC=f.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=Li(n);return IC(EC,n).isInside?null:f.createElement(aC,ge({},o,r,{ref:t}))});function SC(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),a=Math.abs(t.left-e.x);switch(Math.min(n,r,o,a)){case a:return"left";case o:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function MC(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function AC(e){const{top:t,right:n,bottom:r,left:o}=e;return[{x:o,y:t},{x:n,y:t},{x:n,y:r},{x:o,y:r}]}function TC(e,t){const{x:n,y:r}=e;let o=!1;for(let a=0,i=t.length-1;a<t.length;i=a++){const s=t[a].x,l=t[a].y,u=t[i].x,c=t[i].y;l>r!=c>r&&n<(u-s)*(r-l)/(c-l)+s&&(o=!o)}return o}function DC(e){const t=e.slice();return t.sort((n,r)=>n.x<r.x?-1:n.x>r.x?1:n.y<r.y?-1:n.y>r.y?1:0),NC(t)}function NC(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const o=e[r];for(;t.length>=2;){const a=t[t.length-1],i=t[t.length-2];if((a.x-i.x)*(o.y-i.y)>=(a.y-i.y)*(o.x-i.x))t.pop();else break}t.push(o)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const o=e[r];for(;n.length>=2;){const a=n[n.length-1],i=n[n.length-2];if((a.x-i.x)*(o.y-i.y)>=(a.y-i.y)*(o.x-i.x))n.pop();else break}n.push(o)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}const $C=pC,kC=hC,OC=gC,FC=yC,LC=xC,VC=PC,jC=({children:e,showArrow:t=!1,startOpen:n=!1,content:r,hasCloseButton:o=!1,action:a,size:i="sm"})=>{const[s,l]=f.useState(n),u=ye({base:"rounded-lg bg-primary-black-400 px-4 pb-[13px] pt-[12px] font-satoshi text-sm font-medium text-white",variants:{size:{sm:"max-w-[215px]",lg:"max-w-[342px]"}}}),c=()=>{l(!1)},d=()=>{a&&a.onClick(),c()};return F.jsx($C,{children:F.jsxs(kC,{delayDuration:0,defaultOpen:s,open:s,onOpenChange:p=>l(p),children:[F.jsx(OC,{asChild:!0,children:e}),F.jsx(FC,{children:F.jsxs(LC,{className:u({size:i}),sideOffset:5,children:[F.jsxs("div",{children:[F.jsxs("div",{className:"flex gap-4",children:[r,o&&F.jsx(rt,{onClick:c,name:"close",className:"mt-1 cursor-pointer text-xs text-white"})]}),a&&F.jsx(du,{className:"-mb-1 mt-1 !h-6 !px-0",variant:"tertiaryDark",onClick:d,children:a.label})]}),t&&F.jsx(VC,{className:"TooltipArrow"})]})})]})})};function BC(e){const t=e+"CollectionProvider",[n,r]=Jn(t),[o,a]=n(t,{collectionRef:{current:null},itemMap:new Map}),i=m=>{const{scope:h,children:g}=m,b=f.useRef(null),x=f.useRef(new Map).current;return f.createElement(o,{scope:h,itemMap:x,collectionRef:b},g)},s=e+"CollectionSlot",l=f.forwardRef((m,h)=>{const{scope:g,children:b}=m,x=a(s,g),y=ct(h,x.collectionRef);return f.createElement(kr,{ref:y},b)}),u=e+"CollectionItemSlot",c="data-radix-collection-item",d=f.forwardRef((m,h)=>{const{scope:g,children:b,...x}=m,y=f.useRef(null),w=ct(h,y),S=a(u,g);return f.useEffect(()=>(S.itemMap.set(y,{ref:y,...x}),()=>void S.itemMap.delete(y))),f.createElement(kr,{[c]:"",ref:w},b)});function p(m){const h=a(e+"CollectionConsumer",m);return f.useCallback(()=>{const b=h.collectionRef.current;if(!b)return[];const x=Array.from(b.querySelectorAll(`[${c}]`));return Array.from(h.itemMap.values()).sort((S,E)=>x.indexOf(S.ref.current)-x.indexOf(E.ref.current))},[h.collectionRef,h.itemMap])}return[{Provider:i,Slot:l,ItemSlot:d},p,r]}const WC=f.createContext(void 0);function Nm(e){const t=f.useContext(WC);return e||t||"ltr"}const Du="rovingFocusGroup.onEntryFocus",_C={bubbles:!1,cancelable:!0},Nu="RovingFocusGroup",[$u,$m,GC]=BC(Nu),[RC,km]=Jn(Nu,[GC]),[zC,HC]=RC(Nu),XC=f.forwardRef((e,t)=>f.createElement($u.Provider,{scope:e.__scopeRovingFocusGroup},f.createElement($u.Slot,{scope:e.__scopeRovingFocusGroup},f.createElement(ZC,ge({},e,{ref:t}))))),ZC=f.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:o=!1,dir:a,currentTabStopId:i,defaultCurrentTabStopId:s,onCurrentTabStopIdChange:l,onEntryFocus:u,...c}=e,d=f.useRef(null),p=ct(t,d),m=Nm(a),[h=null,g]=Vo({prop:i,defaultProp:s,onChange:l}),[b,x]=f.useState(!1),y=an(u),w=$m(n),S=f.useRef(!1),[E,A]=f.useState(0);return f.useEffect(()=>{const T=d.current;if(T)return T.addEventListener(Du,y),()=>T.removeEventListener(Du,y)},[y]),f.createElement(zC,{scope:n,orientation:r,dir:m,loop:o,currentTabStopId:h,onItemFocus:f.useCallback(T=>g(T),[g]),onItemShiftTab:f.useCallback(()=>x(!0),[]),onFocusableItemAdd:f.useCallback(()=>A(T=>T+1),[]),onFocusableItemRemove:f.useCallback(()=>A(T=>T-1),[])},f.createElement(We.div,ge({tabIndex:b||E===0?-1:0,"data-orientation":r},c,{ref:p,style:{outline:"none",...e.style},onMouseDown:Le(e.onMouseDown,()=>{S.current=!0}),onFocus:Le(e.onFocus,T=>{const v=!S.current;if(T.target===T.currentTarget&&v&&!b){const D=new CustomEvent(Du,_C);if(T.currentTarget.dispatchEvent(D),!D.defaultPrevented){const $=w().filter(O=>O.focusable),M=$.find(O=>O.active),k=$.find(O=>O.id===h),P=[M,k,...$].filter(Boolean).map(O=>O.ref.current);Om(P)}}S.current=!1}),onBlur:Le(e.onBlur,()=>x(!1))})))}),YC="RovingFocusGroupItem",UC=f.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:o=!1,tabStopId:a,...i}=e,s=Qn(),l=a||s,u=HC(YC,n),c=u.currentTabStopId===l,d=$m(n),{onFocusableItemAdd:p,onFocusableItemRemove:m}=u;return f.useEffect(()=>{if(r)return p(),()=>m()},[r,p,m]),f.createElement($u.ItemSlot,{scope:n,id:l,focusable:r,active:o},f.createElement(We.span,ge({tabIndex:c?0:-1,"data-orientation":u.orientation},i,{ref:t,onMouseDown:Le(e.onMouseDown,h=>{r?u.onItemFocus(l):h.preventDefault()}),onFocus:Le(e.onFocus,()=>u.onItemFocus(l)),onKeyDown:Le(e.onKeyDown,h=>{if(h.key==="Tab"&&h.shiftKey){u.onItemShiftTab();return}if(h.target!==h.currentTarget)return;const g=QC(h,u.orientation,u.dir);if(g!==void 0){h.preventDefault();let x=d().filter(y=>y.focusable).map(y=>y.ref.current);if(g==="last")x.reverse();else if(g==="prev"||g==="next"){g==="prev"&&x.reverse();const y=x.indexOf(h.currentTarget);x=u.loop?qC(x,y+1):x.slice(y+1)}setTimeout(()=>Om(x))}})})))}),KC={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function JC(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function QC(e,t,n){const r=JC(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return KC[r]}function Om(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function qC(e,t){return e.map((n,r)=>e[(t+r)%e.length])}const e8=XC,t8=UC,Fm="Tabs",[n8,DD]=Jn(Fm,[km]),Lm=km(),[r8,ku]=n8(Fm),o8=f.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,onValueChange:o,defaultValue:a,orientation:i="horizontal",dir:s,activationMode:l="automatic",...u}=e,c=Nm(s),[d,p]=Vo({prop:r,onChange:o,defaultProp:a});return f.createElement(r8,{scope:n,baseId:Qn(),value:d,onValueChange:p,orientation:i,dir:c,activationMode:l},f.createElement(We.div,ge({dir:c,"data-orientation":i},u,{ref:t})))}),a8="TabsList",i8=f.forwardRef((e,t)=>{const{__scopeTabs:n,loop:r=!0,...o}=e,a=ku(a8,n),i=Lm(n);return f.createElement(e8,ge({asChild:!0},i,{orientation:a.orientation,dir:a.dir,loop:r}),f.createElement(We.div,ge({role:"tablist","aria-orientation":a.orientation},o,{ref:t})))}),s8="TabsTrigger",l8=f.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,disabled:o=!1,...a}=e,i=ku(s8,n),s=Lm(n),l=Vm(i.baseId,r),u=jm(i.baseId,r),c=r===i.value;return f.createElement(t8,ge({asChild:!0},s,{focusable:!o,active:c}),f.createElement(We.button,ge({type:"button",role:"tab","aria-selected":c,"aria-controls":u,"data-state":c?"active":"inactive","data-disabled":o?"":void 0,disabled:o,id:l},a,{ref:t,onMouseDown:Le(e.onMouseDown,d=>{!o&&d.button===0&&d.ctrlKey===!1?i.onValueChange(r):d.preventDefault()}),onKeyDown:Le(e.onKeyDown,d=>{[" ","Enter"].includes(d.key)&&i.onValueChange(r)}),onFocus:Le(e.onFocus,()=>{const d=i.activationMode!=="manual";!c&&!o&&d&&i.onValueChange(r)})})))}),u8="TabsContent",c8=f.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,forceMount:o,children:a,...i}=e,s=ku(u8,n),l=Vm(s.baseId,r),u=jm(s.baseId,r),c=r===s.value,d=f.useRef(c);return f.useEffect(()=>{const p=requestAnimationFrame(()=>d.current=!1);return()=>cancelAnimationFrame(p)},[]),f.createElement(dn,{present:o||c},({present:p})=>f.createElement(We.div,ge({"data-state":c?"active":"inactive","data-orientation":s.orientation,role:"tabpanel","aria-labelledby":l,hidden:!p,id:u,tabIndex:0},i,{ref:t,style:{...e.style,animationDuration:d.current?"0s":void 0}}),p&&a))});function Vm(e,t){return`${e}-trigger-${t}`}function jm(e,t){return`${e}-content-${t}`}const d8=o8,f8=i8,p8=l8,m8=c8,h8=({tabs:e,defaultValue:t,variant:n="button",className:r,...o})=>{const a=ye({base:"",variants:{variant:{underline:"",button:""}}}),i=ye({base:"flex flex-row",variants:{variant:{underline:"",button:""}}}),s=ye({base:"flex h-[82px] w-[197px] items-center justify-center gap-2 text-lg font-medium text-primary-grey-700 hover:text-primary-grey-800 data-[state=active]:font-bold data-[state=active]:text-secondary-green-500",variants:{variant:{underline:"border-b border-primary-grey-600 border-t-transparent hover:border-b-4 hover:border-t-3 hover:border-b-primary-grey-700 hover:font-bold data-[state=active]:border-b-4 data-[state=active]:border-t-3 data-[state=active]:border-b-secondary-green-500 data-[state=active]:text-secondary-green-500",button:"relative z-0 -mr-[1px] rounded-none border border-primary-grey-600 first:rounded-l-xl last:rounded-r-xl hover:z-10 hover:border-2 hover:border-primary-grey-800 data-[state=active]:z-20 data-[state=active]:border-2 data-[state=active]:border-secondary-green-500"}}});return F.jsxs(d8,{defaultValue:t??e[0].key,className:a({variant:n,className:r}),...o,children:[F.jsx(f8,{className:i({variant:n}),children:e.map(({icon:l,key:u,title:c})=>F.jsxs(p8,{value:u,className:s({variant:n}),children:[l&&(typeof l=="string"?F.jsx(rt,{className:"-mt-[1px]",name:l}):l),c]},u))}),e.map(({content:l,key:u})=>F.jsx(m8,{value:u,className:"w-full",children:l},u))]})},Ou=f.forwardRef(({disabled:e,isDatePicker:t,isInvalid:n,isValid:r,className:o,icon:a,message:i,iconAction:s,...l},u)=>{const c=ye({base:"[&_input]:data-[filled-within=true]:!bg-transparent [&_label]:data-[filled-within=true]:!left-[15px] [&_label]:data-[filled-within=true]:!top-[20px] [&_label]:data-[filled-within=true]:!ml-[1px] [&_label]:data-[filled-within=true]:!text-xs [&_label]:data-[filled-within=true]:!text-primary-grey-800",variants:{isInvalid:{true:"[&_label]:data-[filled-within=true]:!text-complementary-red-500"},isValid:{true:"[&_label]:data-[filled-within=true]:!text-secondary-green-500"},disabled:{true:"[&_label]:data-[filled-within=true]:!text-primary-grey-700"}}}),d=ye({base:"left-[16px] top-6 font-satoshi text-xs text-primary-grey-800",variants:{isInvalid:{true:"text-complementary-red-500"},isValid:{true:"text-secondary-green-500"},disabled:{true:"text-primary-grey-700"}}}),p=ye({base:"text-left font-satoshi text-base",variants:{disabled:{true:"!text-primary-grey-700"},isDatePicker:{true:"!cursor-pointer"}}}),m=ye({base:"h-12 rounded-lg border border-primary-grey-700 !bg-white px-[15px] text-black !ring-0 !ring-offset-0",variants:{isInvalid:{true:"border-complementary-red-500"},isValid:{true:"border-secondary-green-500"},disabled:{true:"!border-primary-grey-500 !bg-primary-grey-500"},isDatePicker:{true:"!cursor-pointer"}}}),h=ye({base:"mt-[5px] pl-3 font-satoshi",variants:{isInvalid:{true:"text-complementary-red-500"},isValid:{true:"text-secondary-green-500"}}}),g=ye({base:"text-primary-grey-800",variants:{iconAction:{true:"cursor-pointer"}}}),{Component:b,label:x,domRef:y,startContent:w,shouldLabelBeOutside:S,shouldLabelBeInside:E,getBaseProps:A,getLabelProps:T,getInputProps:v,getInnerWrapperProps:D,getInputWrapperProps:$,getDescriptionProps:M}=K9({...l,disabled:e,labelPlacement:"outside",ref:u,classNames:{input:p({disabled:e,isDatePicker:t}),inputWrapper:m({isInvalid:n,isValid:r,disabled:e,isDatePicker:t}),base:c({isInvalid:n,isValid:r,disabled:e,className:o}),label:d({isInvalid:n,isValid:r,disabled:e}),description:h({isInvalid:n,isValid:r})}}),k=F.jsx("label",{...T(),children:x}),I=f.useMemo(()=>w||a?F.jsxs("div",{...D(),children:[w,F.jsx("input",{...v()}),a&&(typeof a=="string"?F.jsx(rt,{onClick:s,name:a,className:g({iconAction:!!s})}):a)]}):F.jsx("input",{...v()}),[w,s,g,a,v,D]);return F.jsxs(b,{...A(),children:[S?k:null,F.jsxs("div",{...$(),role:"button",onClick:()=>{var P;(P=y.current)==null||P.focus()},children:[E?k:null,I]}),i&&F.jsx("div",{...M(),children:i})]})}),g8=f.forwardRef((e,t)=>{const[n,r]=f.useState(!1),o=()=>{r(a=>!a)};return F.jsx(Ou,{ref:t,icon:n?"eye":"eye-off",type:n?"text":"password",iconAction:o,...e})});let Fu=0;function Bm(){f.useEffect(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=n[0])!==null&&e!==void 0?e:Wm()),document.body.insertAdjacentElement("beforeend",(t=n[1])!==null&&t!==void 0?t:Wm()),Fu++,()=>{Fu===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),Fu--}},[])}function Wm(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}const Lu="focusScope.autoFocusOnMount",Vu="focusScope.autoFocusOnUnmount",_m={bubbles:!1,cancelable:!0},Gm=f.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:a,...i}=e,[s,l]=f.useState(null),u=an(o),c=an(a),d=f.useRef(null),p=ct(t,g=>l(g)),m=f.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;f.useEffect(()=>{if(r){let g=function(w){if(m.paused||!s)return;const S=w.target;s.contains(S)?d.current=S:Nn(d.current,{select:!0})},b=function(w){if(m.paused||!s)return;const S=w.relatedTarget;S!==null&&(s.contains(S)||Nn(d.current,{select:!0}))},x=function(w){if(document.activeElement===document.body)for(const E of w)E.removedNodes.length>0&&Nn(s)};document.addEventListener("focusin",g),document.addEventListener("focusout",b);const y=new MutationObserver(x);return s&&y.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",g),document.removeEventListener("focusout",b),y.disconnect()}}},[r,s,m.paused]),f.useEffect(()=>{if(s){Hm.add(m);const g=document.activeElement;if(!s.contains(g)){const x=new CustomEvent(Lu,_m);s.addEventListener(Lu,u),s.dispatchEvent(x),x.defaultPrevented||(b8(w8(Rm(s)),{select:!0}),document.activeElement===g&&Nn(s))}return()=>{s.removeEventListener(Lu,u),setTimeout(()=>{const x=new CustomEvent(Vu,_m);s.addEventListener(Vu,c),s.dispatchEvent(x),x.defaultPrevented||Nn(g??document.body,{select:!0}),s.removeEventListener(Vu,c),Hm.remove(m)},0)}}},[s,u,c,m]);const h=f.useCallback(g=>{if(!n&&!r||m.paused)return;const b=g.key==="Tab"&&!g.altKey&&!g.ctrlKey&&!g.metaKey,x=document.activeElement;if(b&&x){const y=g.currentTarget,[w,S]=v8(y);w&&S?!g.shiftKey&&x===S?(g.preventDefault(),n&&Nn(w,{select:!0})):g.shiftKey&&x===w&&(g.preventDefault(),n&&Nn(S,{select:!0})):x===y&&g.preventDefault()}},[n,r,m.paused]);return f.createElement(We.div,ge({tabIndex:-1},i,{ref:p,onKeyDown:h}))});function b8(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Nn(r,{select:t}),document.activeElement!==n)return}function v8(e){const t=Rm(e),n=zm(t,e),r=zm(t.reverse(),e);return[n,r]}function Rm(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function zm(e,t){for(const n of e)if(!y8(n,{upTo:t}))return n}function y8(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function x8(e){return e instanceof HTMLInputElement&&"select"in e}function Nn(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&x8(e)&&t&&e.select()}}const Hm=C8();function C8(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=Xm(e,t),e.unshift(t)},remove(t){var n;e=Xm(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function Xm(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function w8(e){return e.filter(t=>t.tagName!=="A")}var I8=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Br=new WeakMap,Vi=new WeakMap,ji={},ju=0,Zm=function(e){return e&&(e.host||Zm(e.parentNode))},E8=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=Zm(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},P8=function(e,t,n,r){var o=E8(t,Array.isArray(e)?e:[e]);ji[n]||(ji[n]=new WeakMap);var a=ji[n],i=[],s=new Set,l=new Set(o),u=function(d){!d||s.has(d)||(s.add(d),u(d.parentNode))};o.forEach(u);var c=function(d){!d||l.has(d)||Array.prototype.forEach.call(d.children,function(p){if(s.has(p))c(p);else{var m=p.getAttribute(r),h=m!==null&&m!=="false",g=(Br.get(p)||0)+1,b=(a.get(p)||0)+1;Br.set(p,g),a.set(p,b),i.push(p),g===1&&h&&Vi.set(p,!0),b===1&&p.setAttribute(n,"true"),h||p.setAttribute(r,"true")}})};return c(t),s.clear(),ju++,function(){i.forEach(function(d){var p=Br.get(d)-1,m=a.get(d)-1;Br.set(d,p),a.set(d,m),p||(Vi.has(d)||d.removeAttribute(r),Vi.delete(d)),m||d.removeAttribute(n)}),ju--,ju||(Br=new WeakMap,Br=new WeakMap,Vi=new WeakMap,ji={})}},Ym=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||I8(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),P8(r,o,n,"aria-hidden")):function(){return null}},Um=o7(),Bu=function(){},Bi=V.forwardRef(function(e,t){var n=V.useRef(null),r=V.useState({onScrollCapture:Bu,onWheelCapture:Bu,onTouchMoveCapture:Bu}),o=r[0],a=r[1],i=e.forwardProps,s=e.children,l=e.className,u=e.removeScrollBar,c=e.enabled,d=e.shards,p=e.sideCar,m=e.noIsolation,h=e.inert,g=e.allowPinchZoom,b=e.as,x=b===void 0?"div":b,y=Zd(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),w=p,S=t7([n,t]),E=_t(_t({},y),o);return V.createElement(V.Fragment,null,c&&V.createElement(w,{sideCar:Um,removeScrollBar:u,shards:d,noIsolation:m,inert:h,setCallbacks:a,allowPinchZoom:!!g,lockRef:n}),i?V.cloneElement(V.Children.only(s),_t(_t({},E),{ref:S})):V.createElement(x,_t({},E,{className:l,ref:S}),s))});Bi.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},Bi.classNames={fullWidth:bi,zeroRight:gi};var Wu=!1;if(typeof window<"u")try{var Wi=Object.defineProperty({},"passive",{get:function(){return Wu=!0,!0}});window.addEventListener("test",Wi,Wi),window.removeEventListener("test",Wi,Wi)}catch{Wu=!1}var Wr=Wu?{passive:!1}:!1,S8=function(e){return e.tagName==="TEXTAREA"},Km=function(e,t){var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!S8(e)&&n[t]==="visible")},M8=function(e){return Km(e,"overflowY")},A8=function(e){return Km(e,"overflowX")},Jm=function(e,t){var n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var r=Qm(e,n);if(r){var o=qm(e,n),a=o[1],i=o[2];if(a>i)return!0}n=n.parentNode}while(n&&n!==document.body);return!1},T8=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},D8=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},Qm=function(e,t){return e==="v"?M8(t):A8(t)},qm=function(e,t){return e==="v"?T8(t):D8(t)},N8=function(e,t){return e==="h"&&t==="rtl"?-1:1},$8=function(e,t,n,r,o){var a=N8(e,window.getComputedStyle(t).direction),i=a*r,s=n.target,l=t.contains(s),u=!1,c=i>0,d=0,p=0;do{var m=qm(e,s),h=m[0],g=m[1],b=m[2],x=g-b-a*h;(h||x)&&Qm(e,s)&&(d+=x,p+=h),s=s.parentNode}while(!l&&s!==document.body||l&&(t.contains(s)||t===s));return(c&&(o&&d===0||!o&&i>d)||!c&&(o&&p===0||!o&&-i>p))&&(u=!0),u},_i=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},eh=function(e){return[e.deltaX,e.deltaY]},th=function(e){return e&&"current"in e?e.current:e},k8=function(e,t){return e[0]===t[0]&&e[1]===t[1]},O8=function(e){return`
|
|
72
|
+
`)},b7=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r,a=V.useMemo(function(){return m7(o)},[o]);return V.createElement(h7,{styles:g7(a,!t,o,n?"":"!important")})};const L1=new WeakMap;function yi(e,t,n){return typeof t=="string"&&(t=t.replace(/\s+/g,"")),`${L1.get(e)}-${n}-${t}`}function v7(e,t,n){var r;let{key:o,isDisabled:a,shouldSelectOnPressUp:i}=e,{selectionManager:s,selectedKey:l}=t,u=o===l,c=a||t.isDisabled||t.disabledKeys.has(o),{itemProps:d,isPressed:p}=by({selectionManager:s,key:o,ref:n,isDisabled:c,shouldSelectOnPressUp:i,linkBehavior:"selection"}),m=yi(t,o,"tab"),h=yi(t,o,"tabpanel"),{tabIndex:g}=d,b=t.collection.getItem(o),x=br(b==null?void 0:b.props,{isLink:!!(!(b==null||(r=b.props)===null||r===void 0)&&r.href),labelable:!0});return delete x.id,{tabProps:he(x,d,{id:m,"aria-selected":u,"aria-disabled":c||void 0,"aria-controls":u?h:void 0,tabIndex:c?void 0:g,role:"tab"}),isSelected:u,isDisabled:c,isPressed:p}}function y7(e,t,n){let r=R2(n)?void 0:0;var o;const a=yi(t,(o=e.id)!==null&&o!==void 0?o:t==null?void 0:t.selectedKey,"tabpanel"),i=$s({...e,id:a,"aria-labelledby":yi(t,t==null?void 0:t.selectedKey,"tab")});return{tabPanelProps:he(i,{tabIndex:r,role:"tabpanel","aria-describedby":e["aria-describedby"],"aria-details":e["aria-details"]})}}class x7{getKeyLeftOf(t){return this.flipDirection?this.getNextKey(t):this.getPreviousKey(t)}getKeyRightOf(t){return this.flipDirection?this.getPreviousKey(t):this.getNextKey(t)}getKeyAbove(t){return this.getPreviousKey(t)}getKeyBelow(t){return this.getNextKey(t)}getFirstKey(){let t=this.collection.getFirstKey();return t!=null&&this.disabledKeys.has(t)&&(t=this.getNextKey(t)),t}getLastKey(){let t=this.collection.getLastKey();return t!=null&&this.disabledKeys.has(t)&&(t=this.getPreviousKey(t)),t}getNextKey(t){do t=this.collection.getKeyAfter(t),t==null&&(t=this.collection.getFirstKey());while(this.disabledKeys.has(t));return t}getPreviousKey(t){do t=this.collection.getKeyBefore(t),t==null&&(t=this.collection.getLastKey());while(this.disabledKeys.has(t));return t}constructor(t,n,r,o=new Set){this.collection=t,this.flipDirection=n==="rtl"&&r==="horizontal",this.disabledKeys=o}}function C7(e,t,n){let{orientation:r="horizontal",keyboardActivation:o="automatic"}=e,{collection:a,selectionManager:i,disabledKeys:s}=t,{direction:l}=Vs(),u=f.useMemo(()=>new x7(a,l,r,s),[a,s,r,l]),{collectionProps:c}=gy({ref:n,selectionManager:i,keyboardDelegate:u,selectOnFocus:o==="automatic",disallowEmptySelection:!0,scrollRef:n,linkBehavior:"selection"}),d=gr();L1.set(t,d);let p=$s({...e,id:d});return{tabListProps:{...he(c,p),role:"tablist","aria-orientation":r,tabIndex:void 0}}}var V1=$t((e,t)=>{var n,r,o;const{as:a,state:i,className:s,slots:l,classNames:u,...c}=e,d=a||"div",p=bt(t),{tabPanelProps:m}=y7(e,i,p),{focusProps:h,isFocused:g,isFocusVisible:b}=Gt(),x=i.selectedItem,y=(n=x==null?void 0:x.props)==null?void 0:n.children,w=we(u==null?void 0:u.panel,s,(r=x==null?void 0:x.props)==null?void 0:r.className);return y?F.jsx(d,{ref:p,"data-focus":g,"data-focus-visible":b,...he(m,h,c),className:(o=l.panel)==null?void 0:o.call(l,{class:w}),"data-slot":"panel",children:y}):null});V1.displayName="NextUI.TabPanel";var w7=V1,j1=$t((e,t)=>{var n;const{className:r,as:o,item:a,state:i,classNames:s,isDisabled:l,listRef:u,slots:c,motionProps:d,disableAnimation:p,disableCursorAnimation:m,shouldSelectOnPressUp:h,onClick:g,...b}=e,{key:x}=a,y=bt(t),w=o||(e.href?"a":"button"),S=typeof w=="string",{tabProps:P,isSelected:A,isDisabled:T,isPressed:v}=v7({key:x,isDisabled:l,shouldSelectOnPressUp:h},i,y),D=l||T,{focusProps:$,isFocused:M,isFocusVisible:k}=Gt(),{hoverProps:I,isHovered:E}=Wn({isDisabled:D}),O=we(s==null?void 0:s.tab,r),[,j]=Y9({rerender:!0}),N=()=>{Ln(g,P.onClick),!(!(y!=null&&y.current)||!(u!=null&&u.current))&&k9(y.current,{scrollMode:"if-needed",behavior:"smooth",block:"end",inline:"end",boundary:u==null?void 0:u.current})};return F.jsxs(w,{ref:y,"data-disabled":re(T),"data-focus":re(M),"data-focus-visible":re(k),"data-hover":re(E),"data-hover-unselected":re((E||v)&&!A),"data-pressed":re(v),"data-selected":re(A),"data-slot":"tab",...he(P,D?{}:{...$,...I},fo(b,{enabled:S,omitPropNames:new Set(["title"])})),className:(n=c.tab)==null?void 0:n.call(c,{class:O}),title:b==null?void 0:b.titleValue,type:w==="button"?"button":void 0,onClick:N,children:[A&&!p&&!m&&j?F.jsx(o1.span,{className:c.cursor({class:s==null?void 0:s.cursor}),"data-slot":"cursor",layoutDependency:!1,layoutId:"cursor",transition:{type:"spring",bounce:.15,duration:.5},...d}):null,F.jsx("div",{className:c.tabContent({class:s==null?void 0:s.tabContent}),"data-slot":"tabContent",children:a.rendered})]})});j1.displayName="NextUI.Tab";var I7=j1;class B1{*[Symbol.iterator](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(t){let n=this.keyMap.get(t);return n?n.prevKey:null}getKeyAfter(t){let n=this.keyMap.get(t);return n?n.nextKey:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(t){return this.keyMap.get(t)}at(t){const n=[...this.getKeys()];return this.getItem(n[t])}getChildren(t){let n=this.keyMap.get(t);return(n==null?void 0:n.childNodes)||[]}constructor(t){this.keyMap=new Map,this.iterable=t;let n=a=>{if(this.keyMap.set(a.key,a),a.childNodes&&a.type==="section")for(let i of a.childNodes)n(i)};for(let a of t)n(a);let r,o=0;for(let[a,i]of this.keyMap)r?(r.nextKey=a,i.prevKey=r.key):(this.firstKey=a,i.prevKey=void 0),i.type==="item"&&(i.index=o++),r=i,r.nextKey=void 0;this.lastKey=r==null?void 0:r.key}}function E7(e){let{filter:t}=e,n=Q6(e),r=f.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),o=f.useCallback(u=>t?new B1(t(u)):new B1(u),[t]),a=f.useMemo(()=>({suppressTextValueWarning:e.suppressTextValueWarning}),[e.suppressTextValueWarning]),i=Z6(e,o,a),s=f.useMemo(()=>new q6(i,n),[i,n]);const l=f.useRef(null);return f.useEffect(()=>{if(n.focusedKey!=null&&!i.getItem(n.focusedKey)){const u=l.current.getItem(n.focusedKey),c=[...l.current.getKeys()].map(g=>{const b=l.current.getItem(g);return b.type==="item"?b:null}).filter(g=>g!==null),d=[...i.getKeys()].map(g=>{const b=i.getItem(g);return b.type==="item"?b:null}).filter(g=>g!==null),p=c.length-d.length;let m=Math.min(p>1?Math.max(u.index-p+1,0):u.index,d.length-1),h;for(;m>=0;){if(!s.isDisabled(d[m].key)){h=d[m];break}m<d.length-1?m++:(m>u.index&&(m=u.index),m--)}n.setFocusedKey(h?h.key:null)}l.current=i},[i,s,n,n.focusedKey]),{collection:i,disabledKeys:r,selectionManager:s}}function P7(e){var t;let[n,r]=hr(e.selectedKey,(t=e.defaultSelectedKey)!==null&&t!==void 0?t:null,e.onSelectionChange),o=f.useMemo(()=>n!=null?[n]:[],[n]),{collection:a,disabledKeys:i,selectionManager:s}=E7({...e,selectionMode:"single",disallowEmptySelection:!0,allowDuplicateSelectionEvents:!0,selectedKeys:o,onSelectionChange:u=>{var c;let d=(c=u.values().next().value)!==null&&c!==void 0?c:null;d===n&&e.onSelectionChange&&e.onSelectionChange(d),r(d)}}),l=n!=null?a.getItem(n):null;return{collection:a,disabledKeys:i,selectionManager:s,selectedKey:n,setSelectedKey:r,selectedItem:l}}function S7(e){var t;let n=P7({...e,suppressTextValueWarning:!0,defaultSelectedKey:(t=e.defaultSelectedKey)!==null&&t!==void 0?t:W1(e.collection,e.disabledKeys?new Set(e.disabledKeys):new Set)}),{selectionManager:r,collection:o,selectedKey:a}=n,i=f.useRef(a);return f.useEffect(()=>{let s=a;(r.isEmpty||!o.getItem(s))&&(s=W1(o,n.disabledKeys),s!=null&&r.setSelectedKeys([s])),(s!=null&&r.focusedKey==null||!r.isFocused&&s!==i.current)&&r.setFocusedKey(s),i.current=s}),{...n,isDisabled:e.isDisabled||!1}}function W1(e,t){let n=null;if(e){for(n=e.getFirstKey();t.has(n)&&n!==e.getLastKey();)n=e.getKeyAfter(n);t.has(n)&&n===e.getLastKey()&&(n=e.getFirstKey())}return n}function M7(e){const[t,n]=uo(e,hf.variantKeys),{ref:r,as:o,className:a,classNames:i,children:s,disableCursorAnimation:l,shouldSelectOnPressUp:u=!0,motionProps:c,...d}=t,p=o||"div",m=typeof p=="string",h=bt(r),g=S7({children:s,...d}),{tabListProps:b}=C7(d,g,h),x=f.useMemo(()=>hf({...n,className:a}),[...Object.values(n),a]),y=we(i==null?void 0:i.base,a),w=f.useMemo(()=>({state:g,slots:x,classNames:i,motionProps:c,listRef:h,shouldSelectOnPressUp:u,disableCursorAnimation:l,isDisabled:e==null?void 0:e.isDisabled,disableAnimation:e==null?void 0:e.disableAnimation}),[g,x,h,c,l,u,e==null?void 0:e.disableAnimation,e==null?void 0:e.isDisabled,i]),S=f.useCallback(A=>({"data-slot":"base",className:x.base({class:we(y,A==null?void 0:A.className)}),...he(fo(d,{enabled:m}),A)}),[y,d,x]),P=f.useCallback(A=>({ref:h,"data-slot":"tabList",className:x.tabList({class:we(i==null?void 0:i.tabList,A==null?void 0:A.className)}),...he(b,A)}),[h,b,i,x]);return{Component:p,domRef:h,state:g,values:w,getBaseProps:S,getTabListProps:P}}function _1(e,t){var n;const{Component:r,values:o,state:a,getBaseProps:i,getTabListProps:s}=M7({...e,ref:t}),l=f.useId(),u=!e.disableAnimation&&!e.disableCursorAnimation,c={state:a,listRef:o.listRef,slots:o.slots,classNames:o.classNames,isDisabled:o.isDisabled,motionProps:o.motionProps,disableAnimation:o.disableAnimation,shouldSelectOnPressUp:o.shouldSelectOnPressUp,disableCursorAnimation:o.disableCursorAnimation},d=[...a.collection].map(p=>F.jsx(I7,{item:p,...c,...p.props},p.key));return F.jsxs(F.Fragment,{children:[F.jsx("div",{...i(),children:F.jsx(r,{...s(),children:u?F.jsx(G6,{id:l,children:d}):d})}),F.jsx(w7,{classNames:o.classNames,slots:o.slots,state:o.state},(n=a.selectedItem)==null?void 0:n.key)]})}var A7=$t(_1);_1.displayName="NextUI.Tabs";var T7=z6,D7=T7;const N7=({icons:e,className:t})=>{const n=ye({base:"bg-primary-grey-700",variants:{withIcon:{false:"h-6 w-11 px-[2px] group-data-[selected=true]:bg-secondary-green-500",true:"h-[52px] w-[88px] bg-secondary-green-500 group-data-[selected=true]:bg-primary-green-500"}}}),r=ye({variants:{withIcon:{false:"h-5 w-5 group-data-[selected=true]:ml-5",true:"h-11 w-11 group-data-[selected=true]:ml-9"}}});return F.jsx(Z9,{classNames:{wrapper:n({withIcon:!!e,className:t}),thumb:r({withIcon:!!e})},thumbIcon:({isSelected:o,className:a})=>e&&(o?F.jsx(rt,{name:e.selectedIcon,className:vn(a,"text-lg")}):F.jsx(rt,{name:e.unselectedIcon,className:vn(a,"text-lg")}))})},$7=e=>F.jsx(D9,{classNames:{wrapper:"w-4 h-4 rounded-sm before:rounded-sm before:border before:border-primary-grey-700 after:rounded-sm after:bg-secondary-green-500",icon:"w-[11px] h-2.5 [&>*]:stroke-[4px]"},...e}),G1=({size:e="md",className:t,border:n=!1,image:r,label:o,...a})=>{const i=ye({base:"bg-white font-satoshi font-bold capitalize text-white",variants:{size:{lg:"h-28 w-28 text-[48px]",md:"h-[72px] w-[72px] text-[32px]",sm:"h-12 w-12 text-[24px]",xs:"h-6 w-6 text-[12px]"},border:{true:"border-primary-grey-600"},isText:{true:"bg-complementary-violet-500 "}},compoundVariants:[{border:!0,size:"lg",class:"border-[4px]"},{border:!0,size:"md",class:"border-[3px]"},{border:!0,size:"sm",class:"border-2"},{border:!0,size:"xs",class:"border"}]}),s=ye({base:"text-primary-grey-600",variants:{size:{xs:"text-[12px]",sm:"text-[24px]",md:"text-[32px]",lg:"text-[48px]"}}});return F.jsx(a9,{fallback:!o&&F.jsx(rt,{name:"user",className:s({size:e})}),showFallback:!!o,src:r,name:o,className:i({size:e,border:n,isText:!!(o&&!r),className:t}),...a})},k7=({options:e,labelPosition:t="right",orientation:n="vertical",onChange:r})=>F.jsx(G9,{orientation:n,children:e.map(o=>F.jsxs("div",{className:"flex items-center gap-2",children:[t==="left"&&F.jsx("label",{"data-testid":"label-position-left",children:o.label}),F.jsx(z9,{onChange:r,value:o.value,id:o.id,classNames:{wrapper:"border border-primary-grey-700 group-data-[selected=true]:border-secondary-green-500 group-data-[selected=true]:bg-secondary-green-500",control:"bg-white"}}),t==="right"&&o.label&&F.jsx("label",{"data-testid":"label-position-right",children:o.label})]},o.value))}),du=({children:e,size:t,variant:n="primary",disabled:r,full:o=!1,iconLeft:a,iconRight:i,className:s,isLoadingComplete:l,isLoading:u,...c})=>{const[d,p]=f.useState("w-0"),m=f.useRef(null);f.useEffect(()=>{if(u){let b=2;p("w-1/4"),m.current=setInterval(()=>{p(`w-${b}/4`),b<3?b++:m.current&&clearInterval(m.current)},1e3)}else m.current&&clearInterval(m.current),p("w-0")},[u]);const h=ye({base:`absolute left-0 top-0 h-full rounded-full bg-transparent duration-1000 ease-in-out ${d}`,variants:{isLoadingComplete:{true:"w-full duration-500",false:""},loadingVariant:{primaryDark:"bg-white",primaryLight:"bg-primary-green-500 ",primary:"bg-primary-green-500 ",negative:"bg-complementary-red-700",secondaryNegative:"bg-complementary-red-50",secondary:"bg-secondary-green-50",tertiary:"",tertiaryDark:"",tertiaryLight:"",direction:"",directionCircle:"",icon:""}}}),g=ye({base:"relative !overflow-hidden rounded-full border-transparent px-10 py-4 font-bold text-white !ring-0 !ring-transparent hover:text-white focus:outline focus:outline-2 focus:-outline-offset-4 focus-visible:outline focus-visible:outline-2 focus-visible:-outline-offset-4 focus-visible:outline-white",variants:{size:{small:"h-9",medium:"h-12",large:"h-14"},variant:{primaryDark:"bg-white text-primary-green-500 hover:bg-secondary-green-500 focus:bg-secondary-green-500 focus:text-white focus:outline-primary-green-500",primaryLight:"bg-primary-green-500 hover:bg-white hover:text-secondary-green-500 focus:bg-white focus:text-secondary-green-500 focus:outline-secondary-green-500",primary:"bg-primary-green-500 hover:bg-secondary-green-500 focus:bg-secondary-green-500 focus:outline-white",negative:"bg-complementary-red-700 hover:border-transparent hover:bg-complementary-red-500 focus:bg-complementary-red-500 focus:outline-white",secondaryNegative:"border border-complementary-red-700 !bg-white font-medium text-complementary-red-700 hover:border-2 hover:border-complementary-red-500 hover:text-complementary-red-500 focus:border-[3px] focus:border-complementary-red-500 focus:text-complementary-red-500",secondary:"border border-primary-green-500 !bg-transparent font-medium text-primary-green-500 hover:border-2 hover:border-secondary-green-500 hover:text-secondary-green-500 focus:border-[3px] focus:border-secondary-green-500 focus:text-secondary-green-500",tertiary:"!bg-transparent px-4 font-medium text-primary-green-500 hover:text-secondary-green-500 focus:font-bold focus:text-secondary-green-500 focus:outline-none",tertiaryDark:"!bg-transparent px-4 font-medium text-secondary-green-500 focus:font-bold focus:text-secondary-green-500 focus:outline-none",tertiaryLight:"!bg-transparent px-4 font-medium text-primary-green-500 focus:font-bold focus:text-primary-green-500 focus:outline-none",direction:"h-10 bg-primary-green-500 p-2.5 font-medium hover:bg-secondary-green-500 focus:border-none focus:bg-secondary-green-500 focus:outline-none",directionCircle:"font:medium !min-w-unit-10 bg-primary-green-500 !px-0 hover:bg-secondary-green-500 focus:border-none focus:bg-secondary-green-500 focus:outline-none",icon:"!min-w-unit-10 bg-transparent !px-0 text-primary-green-500 hover:text-secondary-green-500"},full:{true:"w-full",false:""},disabled:{true:"",false:""},isLoading:{true:"",false:""},hasIcon:{true:"!px-6"}},compoundVariants:[{disabled:!0,isLoading:!1,class:"pointer-events-none border-transparent bg-primary-grey-500 font-medium text-primary-grey-700"},{variant:"primaryDark",isLoading:!0,class:"!bg-secondary-green-500 !text-primary-green-500 focus:bg-secondary-green-500 focus:outline-secondary-green-500"},{variant:"primaryLight",isLoading:!0,class:"!bg-white text-secondary-green-500 focus:outline-white"},{variant:"primary",isLoading:!0,class:"!bg-secondary-green-500 focus:outline-secondary-green-500"},{variant:"negative",isLoading:!0,class:"!bg-complementary-red-500 focus:outline-complementary-red-500"},{variant:"secondaryNegative",isLoading:!0,class:"!border !border-complementary-red-700 !bg-white text-complementary-red-700 focus:outline-none"},{variant:"secondary",isLoading:!0,class:"!border !border-secondary-green-500 !bg-white text-secondary-green-500 focus:outline-none"},{variant:"tertiary",isLoading:!0,class:"!font-medium"},{variant:"tertiaryDark",isLoading:!0,class:"!font-medium"},{variant:"tertiaryLight",isLoading:!0,class:"!font-medium"},{variant:"secondaryNegative",disabled:!0,class:"border border-primary-grey-700 bg-transparent"},{variant:"secondary",disabled:!0,class:"border border-primary-grey-700 bg-transparent"},{variant:"tertiary",disabled:!0,class:"bg-transparent underline"},{variant:"icon",disabled:!0,class:"bg-transparent"},{variant:"directionCircle",hasIcon:!0,class:"!min-w-unit-10 !px-0"}]});return f.useEffect(()=>()=>{m.current&&clearInterval(m.current)},[m]),F.jsx(m9,{disabled:u||r,className:vn(s,g({size:t,variant:n,disabled:r,full:o,isLoading:u,hasIcon:!!(a||i)})),...c,children:F.jsxs("div",{children:[F.jsx("div",{className:vn(h({isLoadingComplete:l,loadingVariant:n}))}),F.jsxs("div",{className:"relative flex items-center gap-3 text-center",children:[a&&(typeof a=="string"?F.jsx(rt,{"data-testid":"button-component-icon-left",name:a}):a),e&&F.jsx("span",{className:n.includes("tertiary")?"underline":"",children:e}),i&&(typeof i=="string"?F.jsx(rt,{"data-testid":"button-component-icon-right",name:i}):i)]})]})})},O7=({children:e,className:t,avatar:n,size:r="sm",disabled:o=!1,iconLeft:a,iconRight:i})=>{const s=ye({base:"flex h-6 cursor-pointer items-center justify-center gap-2 border border-primary-green-500 bg-white px-2 pt-[1px] font-satoshi text-[10px] font-medium leading-[15px] text-primary-green-500 hover:border-secondary-green-500 hover:text-secondary-green-500 active:border-[2px] active:px-[7px]",variants:{size:{sm:"",lg:"h-[54px] gap-3 px-4 text-base active:px-[15px]"},hasAvatar:{true:"!border-0 bg-primary-grey-600 pl-6"},disabled:{true:"cursor-default !border-1 !border-primary-grey-500 bg-primary-grey-500 !text-primary-grey-800"}},compoundVariants:[{size:"sm",hasAvatar:!0,class:"pl-6 active:pl-[24px] active:pr-[8px]"},{size:"lg",hasAvatar:!0,class:"pl-14 active:pl-[56px] active:pr-[16px]"},{size:"sm",disabled:!0,class:"active:px-[8px]"},{size:"lg",disabled:!0,class:"active:px-[16px]"}]}),l=ye({base:"absolute left-0 top-0",variants:{size:{sm:"",lg:"h-[54px] w-[54px]"}}}),u=ye({base:"text-xs",variants:{size:{sm:"",lg:"text-lg"}}});return F.jsxs(v1,{size:r,className:vn(s({hasAvatar:!!n,size:r,disabled:o,className:t})),startContent:a&&(typeof a=="string"?F.jsx(rt,{className:u({size:r}),name:a}):a),endContent:i&&(typeof i=="string"?F.jsx(rt,{className:u({size:r}),name:i}):i),children:[n&&F.jsx(G1,{className:l({size:r}),border:!1,size:"xs",image:n}),e]})},F7=({tabs:e,tabClass:t,size:n="md",onSelectionChange:r,...o})=>{const a=ye({base:"bg-primary-grey-500 p-[1px]",variants:{size:{sm:"h-8",md:"h-9",lg:"h-12"}}}),i=ye({base:"h-full font-medium text-primary-grey-800 data-[selected=true]:!font-bold data-[selected=true]:!text-primary-green-500 data-[hover='true']:opacity-100",variants:{size:{sm:"px-[40px]",md:"px-[80px]",lg:"px-[75px]"},tabClass:{}}}),s=ye({base:"!text-white shadow-none"}),l=ye({base:"!font-inherit flex items-center gap-2 font-satoshi !text-inherit",variants:{size:{sm:"text-[14px]",md:"text-[14px]",lg:"text-[20px]"}}});return F.jsx(A7,{onClick:u=>{const c=u.target,d=c.parentElement.getAttribute("data-selected");let p=c.getAttribute("data-key");p||(p=c.parentElement.getAttribute("data-key")),!d&&p&&r(p)},classNames:{tabList:a({size:n}),tab:i({size:n,className:t}),cursor:s(),tabContent:l({size:n})},radius:"full",size:n,...o,children:e.map(({key:u,title:c,component:d,icon:p})=>F.jsx(D7,{title:F.jsxs(F.Fragment,{children:[p&&(typeof p=="string"?F.jsx(rt,{className:"text-[16px]",name:p}):p)," ",c]}),children:d},u))})},R1=({message:e,actions:t,inlineActions:n=!0})=>{const r=ye({base:"flex gap-3 rounded-lg bg-primary-black-400 p-4",variants:{inlineActions:{true:"flex flex-row",false:"flex flex-col items-end justify-end"},toastType:{alert:"rounded-2xl bg-primary-grey-600",snackbar:"bg-primary-black-400",banner:"rounded-2xl bg-complementary-red-500"}}});return F.jsxs("div",{className:r({inlineActions:n}),children:[F.jsx("div",{className:"flex flex-1 items-center gap-4",children:F.jsx("p",{className:"font-satoshi text-sm",children:e})}),F.jsx("div",{children:t&&F.jsx("div",{className:"flex",children:t.map(({label:o,onClick:a})=>F.jsx(du,{onClick:a,variant:"tertiaryDark",children:o},o))})})]})};function z1(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=z1(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Mn(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=z1(e))&&(r&&(r+=" "),r+=t);return r}const Do=e=>typeof e=="number"&&!isNaN(e),Kn=e=>typeof e=="string",yt=e=>typeof e=="function",xi=e=>Kn(e)||yt(e)?e:null,fu=e=>f.isValidElement(e)||Kn(e)||yt(e)||Do(e);function L7(e,t,n){n===void 0&&(n=300);const{scrollHeight:r,style:o}=e;requestAnimationFrame(()=>{o.minHeight="initial",o.height=r+"px",o.transition=`all ${n}ms`,requestAnimationFrame(()=>{o.height="0",o.padding="0",o.margin="0",setTimeout(t,n)})})}function No(e){let{enter:t,exit:n,appendPosition:r=!1,collapse:o=!0,collapseDuration:a=300}=e;return function(i){let{children:s,position:l,preventExitTransition:u,done:c,nodeRef:d,isIn:p,playToast:m}=i;const h=r?`${t}--${l}`:t,g=r?`${n}--${l}`:n,b=f.useRef(0);return f.useLayoutEffect(()=>{const x=d.current,y=h.split(" "),w=S=>{S.target===d.current&&(m(),x.removeEventListener("animationend",w),x.removeEventListener("animationcancel",w),b.current===0&&S.type!=="animationcancel"&&x.classList.remove(...y))};x.classList.add(...y),x.addEventListener("animationend",w),x.addEventListener("animationcancel",w)},[]),f.useEffect(()=>{const x=d.current,y=()=>{x.removeEventListener("animationend",y),o?L7(x,c,a):c()};p||(u?y():(b.current=1,x.className+=` ${g}`,x.addEventListener("animationend",y)))},[p]),f.createElement(f.Fragment,null,s)}}function H1(e,t){return e!=null?{content:e.content,containerId:e.props.containerId,id:e.props.toastId,theme:e.props.theme,type:e.props.type,data:e.props.data||{},isLoading:e.props.isLoading,icon:e.props.icon,status:t}:{}}const at=new Map;let $o=[];const pu=new Set,V7=e=>pu.forEach(t=>t(e)),X1=()=>at.size>0;function Z1(e,t){var n;if(t)return!((n=at.get(t))==null||!n.isToastActive(e));let r=!1;return at.forEach(o=>{o.isToastActive(e)&&(r=!0)}),r}function Y1(e,t){fu(e)&&(X1()||$o.push({content:e,options:t}),at.forEach(n=>{n.buildToast(e,t)}))}function U1(e,t){at.forEach(n=>{t!=null&&t!=null&&t.containerId?(t==null?void 0:t.containerId)===n.id&&n.toggle(e,t==null?void 0:t.id):n.toggle(e,t==null?void 0:t.id)})}function j7(e){const{subscribe:t,getSnapshot:n,setProps:r}=f.useRef(function(a){const i=a.containerId||1;return{subscribe(s){const l=function(c,d,p){let m=1,h=0,g=[],b=[],x=[],y=d;const w=new Map,S=new Set,P=()=>{x=Array.from(w.values()),S.forEach(v=>v())},A=v=>{b=v==null?[]:b.filter(D=>D!==v),P()},T=v=>{const{toastId:D,onOpen:$,updateId:M,children:k}=v.props,I=M==null;v.staleId&&w.delete(v.staleId),w.set(D,v),b=[...b,v.props.toastId].filter(E=>E!==v.staleId),P(),p(H1(v,I?"added":"updated")),I&&yt($)&&$(f.isValidElement(k)&&k.props)};return{id:c,props:y,observe:v=>(S.add(v),()=>S.delete(v)),toggle:(v,D)=>{w.forEach($=>{D!=null&&D!==$.props.toastId||yt($.toggle)&&$.toggle(v)})},removeToast:A,toasts:w,clearQueue:()=>{h-=g.length,g=[]},buildToast:(v,D)=>{if((B=>{let{containerId:G,toastId:Y,updateId:R}=B;const Z=G?G!==c:c!==1,q=w.has(Y)&&R==null;return Z||q})(D))return;const{toastId:$,updateId:M,data:k,staleId:I,delay:E}=D,O=()=>{A($)},j=M==null;j&&h++;const N={...y,style:y.toastStyle,key:m++,...Object.fromEntries(Object.entries(D).filter(B=>{let[G,Y]=B;return Y!=null})),toastId:$,updateId:M,data:k,closeToast:O,isIn:!1,className:xi(D.className||y.toastClassName),bodyClassName:xi(D.bodyClassName||y.bodyClassName),progressClassName:xi(D.progressClassName||y.progressClassName),autoClose:!D.isLoading&&(W=D.autoClose,K=y.autoClose,W===!1||Do(W)&&W>0?W:K),deleteToast(){const B=w.get($),{onClose:G,children:Y}=B.props;yt(G)&&G(f.isValidElement(Y)&&Y.props),p(H1(B,"removed")),w.delete($),h--,h<0&&(h=0),g.length>0?T(g.shift()):P()}};var W,K;N.closeButton=y.closeButton,D.closeButton===!1||fu(D.closeButton)?N.closeButton=D.closeButton:D.closeButton===!0&&(N.closeButton=!fu(y.closeButton)||y.closeButton);let H=v;f.isValidElement(v)&&!Kn(v.type)?H=f.cloneElement(v,{closeToast:O,toastProps:N,data:k}):yt(v)&&(H=v({closeToast:O,toastProps:N,data:k}));const X={content:H,props:N,staleId:I};y.limit&&y.limit>0&&h>y.limit&&j?g.push(X):Do(E)?setTimeout(()=>{T(X)},E):T(X)},setProps(v){y=v},setToggle:(v,D)=>{w.get(v).toggle=D},isToastActive:v=>b.some(D=>D===v),getSnapshot:()=>y.newestOnTop?x.reverse():x}}(i,a,V7);at.set(i,l);const u=l.observe(s);return $o.forEach(c=>Y1(c.content,c.options)),$o=[],()=>{u(),at.delete(i)}},setProps(s){var l;(l=at.get(i))==null||l.setProps(s)},getSnapshot(){var s;return(s=at.get(i))==null?void 0:s.getSnapshot()}}}(e)).current;r(e);const o=f.useSyncExternalStore(t,n,n);return{getToastToRender:function(a){if(!o)return[];const i=new Map;return o.forEach(s=>{const{position:l}=s.props;i.has(l)||i.set(l,[]),i.get(l).push(s)}),Array.from(i,s=>a(s[0],s[1]))},isToastActive:Z1,count:o==null?void 0:o.length}}function B7(e){const[t,n]=f.useState(!1),[r,o]=f.useState(!1),a=f.useRef(null),i=f.useRef({start:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,didMove:!1}).current,{autoClose:s,pauseOnHover:l,closeToast:u,onClick:c,closeOnClick:d}=e;var p,m;function h(){n(!0)}function g(){n(!1)}function b(w){const S=a.current;i.canDrag&&S&&(i.didMove=!0,t&&g(),i.delta=e.draggableDirection==="x"?w.clientX-i.start:w.clientY-i.start,i.start!==w.clientX&&(i.canCloseOnClick=!1),S.style.transform=`translate3d(${e.draggableDirection==="x"?`${i.delta}px, var(--y)`:`0, calc(${i.delta}px + var(--y))`},0)`,S.style.opacity=""+(1-Math.abs(i.delta/i.removalDistance)))}function x(){document.removeEventListener("pointermove",b),document.removeEventListener("pointerup",x);const w=a.current;if(i.canDrag&&i.didMove&&w){if(i.canDrag=!1,Math.abs(i.delta)>i.removalDistance)return o(!0),e.closeToast(),void e.collapseAll();w.style.transition="transform 0.2s, opacity 0.2s",w.style.removeProperty("transform"),w.style.removeProperty("opacity")}}(m=at.get((p={id:e.toastId,containerId:e.containerId,fn:n}).containerId||1))==null||m.setToggle(p.id,p.fn),f.useEffect(()=>{if(e.pauseOnFocusLoss)return document.hasFocus()||g(),window.addEventListener("focus",h),window.addEventListener("blur",g),()=>{window.removeEventListener("focus",h),window.removeEventListener("blur",g)}},[e.pauseOnFocusLoss]);const y={onPointerDown:function(w){if(e.draggable===!0||e.draggable===w.pointerType){i.didMove=!1,document.addEventListener("pointermove",b),document.addEventListener("pointerup",x);const S=a.current;i.canCloseOnClick=!0,i.canDrag=!0,S.style.transition="none",e.draggableDirection==="x"?(i.start=w.clientX,i.removalDistance=S.offsetWidth*(e.draggablePercent/100)):(i.start=w.clientY,i.removalDistance=S.offsetHeight*(e.draggablePercent===80?1.5*e.draggablePercent:e.draggablePercent)/100)}},onPointerUp:function(w){const{top:S,bottom:P,left:A,right:T}=a.current.getBoundingClientRect();w.nativeEvent.type!=="touchend"&&e.pauseOnHover&&w.clientX>=A&&w.clientX<=T&&w.clientY>=S&&w.clientY<=P?g():h()}};return s&&l&&(y.onMouseEnter=g,e.stacked||(y.onMouseLeave=h)),d&&(y.onClick=w=>{c&&c(w),i.canCloseOnClick&&u()}),{playToast:h,pauseToast:g,isRunning:t,preventExitTransition:r,toastRef:a,eventHandlers:y}}function W7(e){let{delay:t,isRunning:n,closeToast:r,type:o="default",hide:a,className:i,style:s,controlledProgress:l,progress:u,rtl:c,isIn:d,theme:p}=e;const m=a||l&&u===0,h={...s,animationDuration:`${t}ms`,animationPlayState:n?"running":"paused"};l&&(h.transform=`scaleX(${u})`);const g=Mn("Toastify__progress-bar",l?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated",`Toastify__progress-bar-theme--${p}`,`Toastify__progress-bar--${o}`,{"Toastify__progress-bar--rtl":c}),b=yt(i)?i({rtl:c,type:o,defaultClassName:g}):Mn(g,i),x={[l&&u>=1?"onTransitionEnd":"onAnimationEnd"]:l&&u<1?null:()=>{d&&r()}};return f.createElement("div",{className:"Toastify__progress-bar--wrp","data-hidden":m},f.createElement("div",{className:`Toastify__progress-bar--bg Toastify__progress-bar-theme--${p} Toastify__progress-bar--${o}`}),f.createElement("div",{role:"progressbar","aria-hidden":m?"true":"false","aria-label":"notification timer",className:b,style:h,...x}))}let _7=1;const K1=()=>""+_7++;function G7(e){return e&&(Kn(e.toastId)||Do(e.toastId))?e.toastId:K1()}function ko(e,t){return Y1(e,t),t.toastId}function Ci(e,t){return{...t,type:t&&t.type||e,toastId:G7(t)}}function wi(e){return(t,n)=>ko(t,Ci(e,n))}function Fe(e,t){return ko(e,Ci("default",t))}Fe.loading=(e,t)=>ko(e,Ci("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...t})),Fe.promise=function(e,t,n){let r,{pending:o,error:a,success:i}=t;o&&(r=Kn(o)?Fe.loading(o,n):Fe.loading(o.render,{...n,...o}));const s={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},l=(c,d,p)=>{if(d==null)return void Fe.dismiss(r);const m={type:c,...s,...n,data:p},h=Kn(d)?{render:d}:d;return r?Fe.update(r,{...m,...h}):Fe(h.render,{...m,...h}),p},u=yt(e)?e():e;return u.then(c=>l("success",i,c)).catch(c=>l("error",a,c)),u},Fe.success=wi("success"),Fe.info=wi("info"),Fe.error=wi("error"),Fe.warning=wi("warning"),Fe.warn=Fe.warning,Fe.dark=(e,t)=>ko(e,Ci("default",{theme:"dark",...t})),Fe.dismiss=function(e){(function(t){var n;if(X1()){if(t==null||Kn(n=t)||Do(n))at.forEach(r=>{r.removeToast(t)});else if(t&&("containerId"in t||"id"in t)){const r=at.get(t.containerId);r?r.removeToast(t.id):at.forEach(o=>{o.removeToast(t.id)})}}else $o=$o.filter(r=>t!=null&&r.options.toastId!==t)})(e)},Fe.clearWaitingQueue=function(e){e===void 0&&(e={}),at.forEach(t=>{!t.props.limit||e.containerId&&t.id!==e.containerId||t.clearQueue()})},Fe.isActive=Z1,Fe.update=function(e,t){t===void 0&&(t={});const n=((r,o)=>{var a;let{containerId:i}=o;return(a=at.get(i||1))==null?void 0:a.toasts.get(r)})(e,t);if(n){const{props:r,content:o}=n,a={delay:100,...r,...t,toastId:t.toastId||e,updateId:K1()};a.toastId!==e&&(a.staleId=e);const i=a.render||o;delete a.render,ko(i,a)}},Fe.done=e=>{Fe.update(e,{progress:1})},Fe.onChange=function(e){return pu.add(e),()=>{pu.delete(e)}},Fe.play=e=>U1(!0,e),Fe.pause=e=>U1(!1,e);const R7=typeof window<"u"?f.useLayoutEffect:f.useEffect,Ii=e=>{let{theme:t,type:n,isLoading:r,...o}=e;return f.createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:t==="colored"?"currentColor":`var(--toastify-icon-color-${n})`,...o})},mu={info:function(e){return f.createElement(Ii,{...e},f.createElement("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))},warning:function(e){return f.createElement(Ii,{...e},f.createElement("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))},success:function(e){return f.createElement(Ii,{...e},f.createElement("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))},error:function(e){return f.createElement(Ii,{...e},f.createElement("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))},spinner:function(){return f.createElement("div",{className:"Toastify__spinner"})}},z7=e=>{const{isRunning:t,preventExitTransition:n,toastRef:r,eventHandlers:o,playToast:a}=B7(e),{closeButton:i,children:s,autoClose:l,onClick:u,type:c,hideProgressBar:d,closeToast:p,transition:m,position:h,className:g,style:b,bodyClassName:x,bodyStyle:y,progressClassName:w,progressStyle:S,updateId:P,role:A,progress:T,rtl:v,toastId:D,deleteToast:$,isIn:M,isLoading:k,closeOnClick:I,theme:E}=e,O=Mn("Toastify__toast",`Toastify__toast-theme--${E}`,`Toastify__toast--${c}`,{"Toastify__toast--rtl":v},{"Toastify__toast--close-on-click":I}),j=yt(g)?g({rtl:v,position:h,type:c,defaultClassName:O}):Mn(O,g),N=function(X){let{theme:B,type:G,isLoading:Y,icon:R}=X,Z=null;const q={theme:B,type:G};return R===!1||(yt(R)?Z=R({...q,isLoading:Y}):f.isValidElement(R)?Z=f.cloneElement(R,q):Y?Z=mu.spinner():(ae=>ae in mu)(G)&&(Z=mu[G](q))),Z}(e),W=!!T||!l,K={closeToast:p,type:c,theme:E};let H=null;return i===!1||(H=yt(i)?i(K):f.isValidElement(i)?f.cloneElement(i,K):function(X){let{closeToast:B,theme:G,ariaLabel:Y="close"}=X;return f.createElement("button",{className:`Toastify__close-button Toastify__close-button--${G}`,type:"button",onClick:R=>{R.stopPropagation(),B(R)},"aria-label":Y},f.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},f.createElement("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}(K)),f.createElement(m,{isIn:M,done:$,position:h,preventExitTransition:n,nodeRef:r,playToast:a},f.createElement("div",{id:D,onClick:u,"data-in":M,className:j,...o,style:b,ref:r},f.createElement("div",{...M&&{role:A},className:yt(x)?x({type:c}):Mn("Toastify__toast-body",x),style:y},N!=null&&f.createElement("div",{className:Mn("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter":!k})},N),f.createElement("div",null,s)),H,f.createElement(W7,{...P&&!W?{key:`pb-${P}`}:{},rtl:v,theme:E,delay:l,isRunning:t,isIn:M,closeToast:p,hide:d,type:c,style:S,className:w,controlledProgress:W,progress:T||0})))},Ei=function(e,t){return t===void 0&&(t=!1),{enter:`Toastify--animate Toastify__${e}-enter`,exit:`Toastify--animate Toastify__${e}-exit`,appendPosition:t}},H7=No(Ei("bounce",!0));No(Ei("slide",!0)),No(Ei("zoom")),No(Ei("flip"));const X7={position:"top-right",transition:H7,autoClose:5e3,closeButton:!0,pauseOnHover:!0,pauseOnFocusLoss:!0,draggable:"touch",draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light"};function Z7(e){let t={...X7,...e};const n=e.stacked,[r,o]=f.useState(!0),a=f.useRef(null),{getToastToRender:i,isToastActive:s,count:l}=j7(t),{className:u,style:c,rtl:d,containerId:p}=t;function m(g){const b=Mn("Toastify__toast-container",`Toastify__toast-container--${g}`,{"Toastify__toast-container--rtl":d});return yt(u)?u({position:g,rtl:d,defaultClassName:b}):Mn(b,xi(u))}function h(){n&&(o(!0),Fe.play())}return R7(()=>{if(n){var g;const b=a.current.querySelectorAll('[data-in="true"]'),x=12,y=(g=t.position)==null?void 0:g.includes("top");let w=0,S=0;Array.from(b).reverse().forEach((P,A)=>{const T=P;T.classList.add("Toastify__toast--stacked"),A>0&&(T.dataset.collapsed=`${r}`),T.dataset.pos||(T.dataset.pos=y?"top":"bot");const v=w*(r?.2:1)+(r?0:x*A);T.style.setProperty("--y",`${y?v:-1*v}px`),T.style.setProperty("--g",`${x}`),T.style.setProperty("--s",""+(1-(r?S:0))),w+=T.offsetHeight,S+=.025})}},[r,l,n]),f.createElement("div",{ref:a,className:"Toastify",id:p,onMouseEnter:()=>{n&&(o(!1),Fe.pause())},onMouseLeave:h},i((g,b)=>{const x=b.length?{...c}:{...c,pointerEvents:"none"};return f.createElement("div",{className:m(g),style:x,key:`container-${g}`},b.map(y=>{let{content:w,props:S}=y;return f.createElement(z7,{...S,stacked:n,collapseAll:h,isIn:s(S.toastId,S.containerId),style:S.style,key:`toast-${S.key}`},w)}))}))}const PD="",Y7=()=>({snackbar:(t,n)=>{Fe(F.jsx(R1,{message:t,actions:n==null?void 0:n.actions,inlineActions:n==null?void 0:n.inlineActions}))}});function ge(){return ge=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ge.apply(this,arguments)}function Le(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e==null||e(o),n===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function U7(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function J1(...e){return t=>e.forEach(n=>U7(n,t))}function ct(...e){return f.useCallback(J1(...e),e)}function Jn(e,t=[]){let n=[];function r(a,i){const s=f.createContext(i),l=n.length;n=[...n,i];function u(d){const{scope:p,children:m,...h}=d,g=(p==null?void 0:p[e][l])||s,b=f.useMemo(()=>h,Object.values(h));return f.createElement(g.Provider,{value:b},m)}function c(d,p){const m=(p==null?void 0:p[e][l])||s,h=f.useContext(m);if(h)return h;if(i!==void 0)return i;throw new Error(`\`${d}\` must be used within \`${a}\``)}return u.displayName=a+"Provider",[u,c]}const o=()=>{const a=n.map(i=>f.createContext(i));return function(s){const l=(s==null?void 0:s[e])||a;return f.useMemo(()=>({[`__scope${e}`]:{...s,[e]:l}}),[s,l])}};return o.scopeName=e,[r,K7(o,...t)]}function K7(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(a){const i=r.reduce((s,{useScope:l,scopeName:u})=>{const d=l(a)[`__scope${u}`];return{...s,...d}},{});return f.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}const kr=f.forwardRef((e,t)=>{const{children:n,...r}=e,o=f.Children.toArray(n),a=o.find(J7);if(a){const i=a.props.children,s=o.map(l=>l===a?f.Children.count(i)>1?f.Children.only(null):f.isValidElement(i)?i.props.children:null:l);return f.createElement(hu,ge({},r,{ref:t}),f.isValidElement(i)?f.cloneElement(i,void 0,s):null)}return f.createElement(hu,ge({},r,{ref:t}),n)});kr.displayName="Slot";const hu=f.forwardRef((e,t)=>{const{children:n,...r}=e;return f.isValidElement(n)?f.cloneElement(n,{...Q7(r,n.props),ref:t?J1(t,n.ref):n.ref}):f.Children.count(n)>1?f.Children.only(null):null});hu.displayName="SlotClone";const Q1=({children:e})=>f.createElement(f.Fragment,null,e);function J7(e){return f.isValidElement(e)&&e.type===Q1}function Q7(e,t){const n={...t};for(const r in t){const o=e[r],a=t[r];/^on[A-Z]/.test(r)?o&&a?n[r]=(...s)=>{a(...s),o(...s)}:o&&(n[r]=o):r==="style"?n[r]={...o,...a}:r==="className"&&(n[r]=[o,a].filter(Boolean).join(" "))}return{...e,...n}}const We=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const n=f.forwardRef((r,o)=>{const{asChild:a,...i}=r,s=a?kr:t;return f.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),f.createElement(s,ge({},i,{ref:o}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function q7(e,t){e&&mr.flushSync(()=>e.dispatchEvent(t))}function an(e){const t=f.useRef(e);return f.useEffect(()=>{t.current=e}),f.useMemo(()=>(...n)=>{var r;return(r=t.current)===null||r===void 0?void 0:r.call(t,...n)},[])}function ex(e,t=globalThis==null?void 0:globalThis.document){const n=an(e);f.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r),()=>t.removeEventListener("keydown",r)},[n,t])}const gu="dismissableLayer.update",tx="dismissableLayer.pointerDownOutside",nx="dismissableLayer.focusOutside";let q1;const rx=f.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),bu=f.forwardRef((e,t)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:a,onFocusOutside:i,onInteractOutside:s,onDismiss:l,...u}=e,c=f.useContext(rx),[d,p]=f.useState(null),m=(n=d==null?void 0:d.ownerDocument)!==null&&n!==void 0?n:globalThis==null?void 0:globalThis.document,[,h]=f.useState({}),g=ct(t,v=>p(v)),b=Array.from(c.layers),[x]=[...c.layersWithOutsidePointerEventsDisabled].slice(-1),y=b.indexOf(x),w=d?b.indexOf(d):-1,S=c.layersWithOutsidePointerEventsDisabled.size>0,P=w>=y,A=ox(v=>{const D=v.target,$=[...c.branches].some(M=>M.contains(D));!P||$||(a==null||a(v),s==null||s(v),v.defaultPrevented||l==null||l())},m),T=ax(v=>{const D=v.target;[...c.branches].some(M=>M.contains(D))||(i==null||i(v),s==null||s(v),v.defaultPrevented||l==null||l())},m);return ex(v=>{w===c.layers.size-1&&(o==null||o(v),!v.defaultPrevented&&l&&(v.preventDefault(),l()))},m),f.useEffect(()=>{if(d)return r&&(c.layersWithOutsidePointerEventsDisabled.size===0&&(q1=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),c.layersWithOutsidePointerEventsDisabled.add(d)),c.layers.add(d),em(),()=>{r&&c.layersWithOutsidePointerEventsDisabled.size===1&&(m.body.style.pointerEvents=q1)}},[d,m,r,c]),f.useEffect(()=>()=>{d&&(c.layers.delete(d),c.layersWithOutsidePointerEventsDisabled.delete(d),em())},[d,c]),f.useEffect(()=>{const v=()=>h({});return document.addEventListener(gu,v),()=>document.removeEventListener(gu,v)},[]),f.createElement(We.div,ge({},u,{ref:g,style:{pointerEvents:S?P?"auto":"none":void 0,...e.style},onFocusCapture:Le(e.onFocusCapture,T.onFocusCapture),onBlurCapture:Le(e.onBlurCapture,T.onBlurCapture),onPointerDownCapture:Le(e.onPointerDownCapture,A.onPointerDownCapture)}))});function ox(e,t=globalThis==null?void 0:globalThis.document){const n=an(e),r=f.useRef(!1),o=f.useRef(()=>{});return f.useEffect(()=>{const a=s=>{if(s.target&&!r.current){let u=function(){tm(tx,n,l,{discrete:!0})};const l={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=u,t.addEventListener("click",o.current,{once:!0})):u()}else t.removeEventListener("click",o.current);r.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",a),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function ax(e,t=globalThis==null?void 0:globalThis.document){const n=an(e),r=f.useRef(!1);return f.useEffect(()=>{const o=a=>{a.target&&!r.current&&tm(nx,n,{originalEvent:a},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function em(){const e=new CustomEvent(gu);document.dispatchEvent(e)}function tm(e,t,n,{discrete:r}){const o=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?q7(o,a):o.dispatchEvent(a)}const Or=globalThis!=null&&globalThis.document?f.useLayoutEffect:()=>{},ix=V["useId".toString()]||(()=>{});let sx=0;function Qn(e){const[t,n]=V.useState(ix());return Or(()=>{e||n(r=>r??String(sx++))},[e]),e||(t?`radix-${t}`:"")}const lx=["top","right","bottom","left"],An=Math.min,xt=Math.max,Pi=Math.round,Si=Math.floor,Tn=e=>({x:e,y:e}),ux={left:"right",right:"left",bottom:"top",top:"bottom"},cx={start:"end",end:"start"};function vu(e,t,n){return xt(e,An(t,n))}function sn(e,t){return typeof e=="function"?e(t):e}function ln(e){return e.split("-")[0]}function Fr(e){return e.split("-")[1]}function yu(e){return e==="x"?"y":"x"}function xu(e){return e==="y"?"height":"width"}function Lr(e){return["top","bottom"].includes(ln(e))?"y":"x"}function Cu(e){return yu(Lr(e))}function dx(e,t,n){n===void 0&&(n=!1);const r=Fr(e),o=Cu(e),a=xu(o);let i=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(i=Mi(i)),[i,Mi(i)]}function fx(e){const t=Mi(e);return[wu(e),t,wu(t)]}function wu(e){return e.replace(/start|end/g,t=>cx[t])}function px(e,t,n){const r=["left","right"],o=["right","left"],a=["top","bottom"],i=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?a:i;default:return[]}}function mx(e,t,n,r){const o=Fr(e);let a=px(ln(e),n==="start",r);return o&&(a=a.map(i=>i+"-"+o),t&&(a=a.concat(a.map(wu)))),a}function Mi(e){return e.replace(/left|right|bottom|top/g,t=>ux[t])}function hx(e){return{top:0,right:0,bottom:0,left:0,...e}}function nm(e){return typeof e!="number"?hx(e):{top:e,right:e,bottom:e,left:e}}function Ai(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function rm(e,t,n){let{reference:r,floating:o}=e;const a=Lr(t),i=Cu(t),s=xu(i),l=ln(t),u=a==="y",c=r.x+r.width/2-o.width/2,d=r.y+r.height/2-o.height/2,p=r[s]/2-o[s]/2;let m;switch(l){case"top":m={x:c,y:r.y-o.height};break;case"bottom":m={x:c,y:r.y+r.height};break;case"right":m={x:r.x+r.width,y:d};break;case"left":m={x:r.x-o.width,y:d};break;default:m={x:r.x,y:r.y}}switch(Fr(t)){case"start":m[i]-=p*(n&&u?-1:1);break;case"end":m[i]+=p*(n&&u?-1:1);break}return m}const gx=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:a=[],platform:i}=n,s=a.filter(Boolean),l=await(i.isRTL==null?void 0:i.isRTL(t));let u=await i.getElementRects({reference:e,floating:t,strategy:o}),{x:c,y:d}=rm(u,r,l),p=r,m={},h=0;for(let g=0;g<s.length;g++){const{name:b,fn:x}=s[g],{x:y,y:w,data:S,reset:P}=await x({x:c,y:d,initialPlacement:r,placement:p,strategy:o,middlewareData:m,rects:u,platform:i,elements:{reference:e,floating:t}});if(c=y??c,d=w??d,m={...m,[b]:{...m[b],...S}},P&&h<=50){h++,typeof P=="object"&&(P.placement&&(p=P.placement),P.rects&&(u=P.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:o}):P.rects),{x:c,y:d}=rm(u,p,l)),g=-1;continue}}return{x:c,y:d,placement:p,strategy:o,middlewareData:m}};async function Oo(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:a,rects:i,elements:s,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:p=!1,padding:m=0}=sn(t,e),h=nm(m),b=s[p?d==="floating"?"reference":"floating":d],x=Ai(await a.getClippingRect({element:(n=await(a.isElement==null?void 0:a.isElement(b)))==null||n?b:b.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(s.floating)),boundary:u,rootBoundary:c,strategy:l})),y=d==="floating"?{...i.floating,x:r,y:o}:i.reference,w=await(a.getOffsetParent==null?void 0:a.getOffsetParent(s.floating)),S=await(a.isElement==null?void 0:a.isElement(w))?await(a.getScale==null?void 0:a.getScale(w))||{x:1,y:1}:{x:1,y:1},P=Ai(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:y,offsetParent:w,strategy:l}):y);return{top:(x.top-P.top+h.top)/S.y,bottom:(P.bottom-x.bottom+h.bottom)/S.y,left:(x.left-P.left+h.left)/S.x,right:(P.right-x.right+h.right)/S.x}}const om=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:a,platform:i,elements:s,middlewareData:l}=t,{element:u,padding:c=0}=sn(e,t)||{};if(u==null)return{};const d=nm(c),p={x:n,y:r},m=Cu(o),h=xu(m),g=await i.getDimensions(u),b=m==="y",x=b?"top":"left",y=b?"bottom":"right",w=b?"clientHeight":"clientWidth",S=a.reference[h]+a.reference[m]-p[m]-a.floating[h],P=p[m]-a.reference[m],A=await(i.getOffsetParent==null?void 0:i.getOffsetParent(u));let T=A?A[w]:0;(!T||!await(i.isElement==null?void 0:i.isElement(A)))&&(T=s.floating[w]||a.floating[h]);const v=S/2-P/2,D=T/2-g[h]/2-1,$=An(d[x],D),M=An(d[y],D),k=$,I=T-g[h]-M,E=T/2-g[h]/2+v,O=vu(k,E,I),j=!l.arrow&&Fr(o)!=null&&E!=O&&a.reference[h]/2-(E<k?$:M)-g[h]/2<0,N=j?E<k?E-k:E-I:0;return{[m]:p[m]+N,data:{[m]:O,centerOffset:E-O-N,...j&&{alignmentOffset:N}},reset:j}}}),bx=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:a,rects:i,initialPlacement:s,platform:l,elements:u}=t,{mainAxis:c=!0,crossAxis:d=!0,fallbackPlacements:p,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:g=!0,...b}=sn(e,t);if((n=a.arrow)!=null&&n.alignmentOffset)return{};const x=ln(o),y=ln(s)===s,w=await(l.isRTL==null?void 0:l.isRTL(u.floating)),S=p||(y||!g?[Mi(s)]:fx(s));!p&&h!=="none"&&S.push(...mx(s,g,h,w));const P=[s,...S],A=await Oo(t,b),T=[];let v=((r=a.flip)==null?void 0:r.overflows)||[];if(c&&T.push(A[x]),d){const k=dx(o,i,w);T.push(A[k[0]],A[k[1]])}if(v=[...v,{placement:o,overflows:T}],!T.every(k=>k<=0)){var D,$;const k=(((D=a.flip)==null?void 0:D.index)||0)+1,I=P[k];if(I)return{data:{index:k,overflows:v},reset:{placement:I}};let E=($=v.filter(O=>O.overflows[0]<=0).sort((O,j)=>O.overflows[1]-j.overflows[1])[0])==null?void 0:$.placement;if(!E)switch(m){case"bestFit":{var M;const O=(M=v.map(j=>[j.placement,j.overflows.filter(N=>N>0).reduce((N,W)=>N+W,0)]).sort((j,N)=>j[1]-N[1])[0])==null?void 0:M[0];O&&(E=O);break}case"initialPlacement":E=s;break}if(o!==E)return{reset:{placement:E}}}return{}}}};function am(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function im(e){return lx.some(t=>e[t]>=0)}const vx=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=sn(e,t);switch(r){case"referenceHidden":{const a=await Oo(t,{...o,elementContext:"reference"}),i=am(a,n.reference);return{data:{referenceHiddenOffsets:i,referenceHidden:im(i)}}}case"escaped":{const a=await Oo(t,{...o,altBoundary:!0}),i=am(a,n.floating);return{data:{escapedOffsets:i,escaped:im(i)}}}default:return{}}}}};async function yx(e,t){const{placement:n,platform:r,elements:o}=e,a=await(r.isRTL==null?void 0:r.isRTL(o.floating)),i=ln(n),s=Fr(n),l=Lr(n)==="y",u=["left","top"].includes(i)?-1:1,c=a&&l?-1:1,d=sn(t,e);let{mainAxis:p,crossAxis:m,alignmentAxis:h}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d};return s&&typeof h=="number"&&(m=s==="end"?h*-1:h),l?{x:m*c,y:p*u}:{x:p*u,y:m*c}}const xx=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:r}=t,o=await yx(t,e);return{x:n+o.x,y:r+o.y,data:o}}}},Cx=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:a=!0,crossAxis:i=!1,limiter:s={fn:b=>{let{x,y}=b;return{x,y}}},...l}=sn(e,t),u={x:n,y:r},c=await Oo(t,l),d=Lr(ln(o)),p=yu(d);let m=u[p],h=u[d];if(a){const b=p==="y"?"top":"left",x=p==="y"?"bottom":"right",y=m+c[b],w=m-c[x];m=vu(y,m,w)}if(i){const b=d==="y"?"top":"left",x=d==="y"?"bottom":"right",y=h+c[b],w=h-c[x];h=vu(y,h,w)}const g=s.fn({...t,[p]:m,[d]:h});return{...g,data:{x:g.x-n,y:g.y-r}}}}},wx=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:a,middlewareData:i}=t,{offset:s=0,mainAxis:l=!0,crossAxis:u=!0}=sn(e,t),c={x:n,y:r},d=Lr(o),p=yu(d);let m=c[p],h=c[d];const g=sn(s,t),b=typeof g=="number"?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(l){const w=p==="y"?"height":"width",S=a.reference[p]-a.floating[w]+b.mainAxis,P=a.reference[p]+a.reference[w]-b.mainAxis;m<S?m=S:m>P&&(m=P)}if(u){var x,y;const w=p==="y"?"width":"height",S=["top","left"].includes(ln(o)),P=a.reference[d]-a.floating[w]+(S&&((x=i.offset)==null?void 0:x[d])||0)+(S?0:b.crossAxis),A=a.reference[d]+a.reference[w]+(S?0:((y=i.offset)==null?void 0:y[d])||0)-(S?b.crossAxis:0);h<P?h=P:h>A&&(h=A)}return{[p]:m,[d]:h}}}},Ix=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:o,elements:a}=t,{apply:i=()=>{},...s}=sn(e,t),l=await Oo(t,s),u=ln(n),c=Fr(n),d=Lr(n)==="y",{width:p,height:m}=r.floating;let h,g;u==="top"||u==="bottom"?(h=u,g=c===(await(o.isRTL==null?void 0:o.isRTL(a.floating))?"start":"end")?"left":"right"):(g=u,h=c==="end"?"top":"bottom");const b=m-l[h],x=p-l[g],y=!t.middlewareData.shift;let w=b,S=x;if(d){const A=p-l.left-l.right;S=c||y?An(x,A):A}else{const A=m-l.top-l.bottom;w=c||y?An(b,A):A}if(y&&!c){const A=xt(l.left,0),T=xt(l.right,0),v=xt(l.top,0),D=xt(l.bottom,0);d?S=p-2*(A!==0||T!==0?A+T:xt(l.left,l.right)):w=m-2*(v!==0||D!==0?v+D:xt(l.top,l.bottom))}await i({...t,availableWidth:S,availableHeight:w});const P=await o.getDimensions(a.floating);return p!==P.width||m!==P.height?{reset:{rects:!0}}:{}}}};function Dn(e){return sm(e)?(e.nodeName||"").toLowerCase():"#document"}function Ct(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function un(e){var t;return(t=(sm(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function sm(e){return e instanceof Node||e instanceof Ct(e).Node}function cn(e){return e instanceof Element||e instanceof Ct(e).Element}function Ht(e){return e instanceof HTMLElement||e instanceof Ct(e).HTMLElement}function lm(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Ct(e).ShadowRoot}function Fo(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=At(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function Ex(e){return["table","td","th"].includes(Dn(e))}function Iu(e){const t=Eu(),n=At(e);return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function Px(e){let t=Vr(e);for(;Ht(t)&&!Ti(t);){if(Iu(t))return t;t=Vr(t)}return null}function Eu(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Ti(e){return["html","body","#document"].includes(Dn(e))}function At(e){return Ct(e).getComputedStyle(e)}function Di(e){return cn(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Vr(e){if(Dn(e)==="html")return e;const t=e.assignedSlot||e.parentNode||lm(e)&&e.host||un(e);return lm(t)?t.host:t}function um(e){const t=Vr(e);return Ti(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ht(t)&&Fo(t)?t:um(t)}function Lo(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=um(e),a=o===((r=e.ownerDocument)==null?void 0:r.body),i=Ct(o);return a?t.concat(i,i.visualViewport||[],Fo(o)?o:[],i.frameElement&&n?Lo(i.frameElement):[]):t.concat(o,Lo(o,[],n))}function cm(e){const t=At(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Ht(e),a=o?e.offsetWidth:n,i=o?e.offsetHeight:r,s=Pi(n)!==a||Pi(r)!==i;return s&&(n=a,r=i),{width:n,height:r,$:s}}function Pu(e){return cn(e)?e:e.contextElement}function jr(e){const t=Pu(e);if(!Ht(t))return Tn(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:a}=cm(t);let i=(a?Pi(n.width):n.width)/r,s=(a?Pi(n.height):n.height)/o;return(!i||!Number.isFinite(i))&&(i=1),(!s||!Number.isFinite(s))&&(s=1),{x:i,y:s}}const Sx=Tn(0);function dm(e){const t=Ct(e);return!Eu()||!t.visualViewport?Sx:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Mx(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Ct(e)?!1:t}function qn(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),a=Pu(e);let i=Tn(1);t&&(r?cn(r)&&(i=jr(r)):i=jr(e));const s=Mx(a,n,r)?dm(a):Tn(0);let l=(o.left+s.x)/i.x,u=(o.top+s.y)/i.y,c=o.width/i.x,d=o.height/i.y;if(a){const p=Ct(a),m=r&&cn(r)?Ct(r):r;let h=p.frameElement;for(;h&&r&&m!==p;){const g=jr(h),b=h.getBoundingClientRect(),x=At(h),y=b.left+(h.clientLeft+parseFloat(x.paddingLeft))*g.x,w=b.top+(h.clientTop+parseFloat(x.paddingTop))*g.y;l*=g.x,u*=g.y,c*=g.x,d*=g.y,l+=y,u+=w,h=Ct(h).frameElement}}return Ai({width:c,height:d,x:l,y:u})}function Ax(e){let{rect:t,offsetParent:n,strategy:r}=e;const o=Ht(n),a=un(n);if(n===a)return t;let i={scrollLeft:0,scrollTop:0},s=Tn(1);const l=Tn(0);if((o||!o&&r!=="fixed")&&((Dn(n)!=="body"||Fo(a))&&(i=Di(n)),Ht(n))){const u=qn(n);s=jr(n),l.x=u.x+n.clientLeft,l.y=u.y+n.clientTop}return{width:t.width*s.x,height:t.height*s.y,x:t.x*s.x-i.scrollLeft*s.x+l.x,y:t.y*s.y-i.scrollTop*s.y+l.y}}function Tx(e){return Array.from(e.getClientRects())}function fm(e){return qn(un(e)).left+Di(e).scrollLeft}function Dx(e){const t=un(e),n=Di(e),r=e.ownerDocument.body,o=xt(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=xt(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let i=-n.scrollLeft+fm(e);const s=-n.scrollTop;return At(r).direction==="rtl"&&(i+=xt(t.clientWidth,r.clientWidth)-o),{width:o,height:a,x:i,y:s}}function Nx(e,t){const n=Ct(e),r=un(e),o=n.visualViewport;let a=r.clientWidth,i=r.clientHeight,s=0,l=0;if(o){a=o.width,i=o.height;const u=Eu();(!u||u&&t==="fixed")&&(s=o.offsetLeft,l=o.offsetTop)}return{width:a,height:i,x:s,y:l}}function $x(e,t){const n=qn(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,a=Ht(e)?jr(e):Tn(1),i=e.clientWidth*a.x,s=e.clientHeight*a.y,l=o*a.x,u=r*a.y;return{width:i,height:s,x:l,y:u}}function pm(e,t,n){let r;if(t==="viewport")r=Nx(e,n);else if(t==="document")r=Dx(un(e));else if(cn(t))r=$x(t,n);else{const o=dm(e);r={...t,x:t.x-o.x,y:t.y-o.y}}return Ai(r)}function mm(e,t){const n=Vr(e);return n===t||!cn(n)||Ti(n)?!1:At(n).position==="fixed"||mm(n,t)}function kx(e,t){const n=t.get(e);if(n)return n;let r=Lo(e,[],!1).filter(s=>cn(s)&&Dn(s)!=="body"),o=null;const a=At(e).position==="fixed";let i=a?Vr(e):e;for(;cn(i)&&!Ti(i);){const s=At(i),l=Iu(i);!l&&s.position==="fixed"&&(o=null),(a?!l&&!o:!l&&s.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||Fo(i)&&!l&&mm(e,i))?r=r.filter(c=>c!==i):o=s,i=Vr(i)}return t.set(e,r),r}function Ox(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[...n==="clippingAncestors"?kx(t,this._c):[].concat(n),r],s=i[0],l=i.reduce((u,c)=>{const d=pm(t,c,o);return u.top=xt(d.top,u.top),u.right=An(d.right,u.right),u.bottom=An(d.bottom,u.bottom),u.left=xt(d.left,u.left),u},pm(t,s,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function Fx(e){return cm(e)}function Lx(e,t,n){const r=Ht(t),o=un(t),a=n==="fixed",i=qn(e,!0,a,t);let s={scrollLeft:0,scrollTop:0};const l=Tn(0);if(r||!r&&!a)if((Dn(t)!=="body"||Fo(o))&&(s=Di(t)),r){const u=qn(t,!0,a,t);l.x=u.x+t.clientLeft,l.y=u.y+t.clientTop}else o&&(l.x=fm(o));return{x:i.left+s.scrollLeft-l.x,y:i.top+s.scrollTop-l.y,width:i.width,height:i.height}}function hm(e,t){return!Ht(e)||At(e).position==="fixed"?null:t?t(e):e.offsetParent}function gm(e,t){const n=Ct(e);if(!Ht(e))return n;let r=hm(e,t);for(;r&&Ex(r)&&At(r).position==="static";)r=hm(r,t);return r&&(Dn(r)==="html"||Dn(r)==="body"&&At(r).position==="static"&&!Iu(r))?n:r||Px(e)||n}const Vx=async function(e){let{reference:t,floating:n,strategy:r}=e;const o=this.getOffsetParent||gm,a=this.getDimensions;return{reference:Lx(t,await o(n),r),floating:{x:0,y:0,...await a(n)}}};function jx(e){return At(e).direction==="rtl"}const Bx={convertOffsetParentRelativeRectToViewportRelativeRect:Ax,getDocumentElement:un,getClippingRect:Ox,getOffsetParent:gm,getElementRects:Vx,getClientRects:Tx,getDimensions:Fx,getScale:jr,isElement:cn,isRTL:jx};function Wx(e,t){let n=null,r;const o=un(e);function a(){clearTimeout(r),n&&n.disconnect(),n=null}function i(s,l){s===void 0&&(s=!1),l===void 0&&(l=1),a();const{left:u,top:c,width:d,height:p}=e.getBoundingClientRect();if(s||t(),!d||!p)return;const m=Si(c),h=Si(o.clientWidth-(u+d)),g=Si(o.clientHeight-(c+p)),b=Si(u),y={rootMargin:-m+"px "+-h+"px "+-g+"px "+-b+"px",threshold:xt(0,An(1,l))||1};let w=!0;function S(P){const A=P[0].intersectionRatio;if(A!==l){if(!w)return i();A?i(!1,A):r=setTimeout(()=>{i(!1,1e-7)},100)}w=!1}try{n=new IntersectionObserver(S,{...y,root:o.ownerDocument})}catch{n=new IntersectionObserver(S,y)}n.observe(e)}return i(!0),a}function _x(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,u=Pu(e),c=o||a?[...u?Lo(u):[],...Lo(t)]:[];c.forEach(x=>{o&&x.addEventListener("scroll",n,{passive:!0}),a&&x.addEventListener("resize",n)});const d=u&&s?Wx(u,n):null;let p=-1,m=null;i&&(m=new ResizeObserver(x=>{let[y]=x;y&&y.target===u&&m&&(m.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{m&&m.observe(t)})),n()}),u&&!l&&m.observe(u),m.observe(t));let h,g=l?qn(e):null;l&&b();function b(){const x=qn(e);g&&(x.x!==g.x||x.y!==g.y||x.width!==g.width||x.height!==g.height)&&n(),g=x,h=requestAnimationFrame(b)}return n(),()=>{c.forEach(x=>{o&&x.removeEventListener("scroll",n),a&&x.removeEventListener("resize",n)}),d&&d(),m&&m.disconnect(),m=null,l&&cancelAnimationFrame(h)}}const Gx=(e,t,n)=>{const r=new Map,o={platform:Bx,...n},a={...o.platform,_c:r};return gx(e,t,{...o,platform:a})},Rx=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?om({element:r.current,padding:o}).fn(n):{}:r?om({element:r,padding:o}).fn(n):{}}}};var Ni=typeof document<"u"?f.useLayoutEffect:f.useEffect;function $i(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!$i(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const a=o[r];if(!(a==="_owner"&&e.$$typeof)&&!$i(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function bm(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function vm(e,t){const n=bm(e);return Math.round(t*n)/n}function ym(e){const t=V.useRef(e);return Ni(()=>{t.current=e}),t}function zx(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:a,floating:i}={},transform:s=!0,whileElementsMounted:l,open:u}=e,[c,d]=V.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,m]=V.useState(r);$i(p,r)||m(r);const[h,g]=V.useState(null),[b,x]=V.useState(null),y=V.useCallback(j=>{j!=A.current&&(A.current=j,g(j))},[g]),w=V.useCallback(j=>{j!==T.current&&(T.current=j,x(j))},[x]),S=a||h,P=i||b,A=V.useRef(null),T=V.useRef(null),v=V.useRef(c),D=ym(l),$=ym(o),M=V.useCallback(()=>{if(!A.current||!T.current)return;const j={placement:t,strategy:n,middleware:p};$.current&&(j.platform=$.current),Gx(A.current,T.current,j).then(N=>{const W={...N,isPositioned:!0};k.current&&!$i(v.current,W)&&(v.current=W,Gb.flushSync(()=>{d(W)}))})},[p,t,n,$]);Ni(()=>{u===!1&&v.current.isPositioned&&(v.current.isPositioned=!1,d(j=>({...j,isPositioned:!1})))},[u]);const k=V.useRef(!1);Ni(()=>(k.current=!0,()=>{k.current=!1}),[]),Ni(()=>{if(S&&(A.current=S),P&&(T.current=P),S&&P){if(D.current)return D.current(S,P,M);M()}},[S,P,M,D]);const I=V.useMemo(()=>({reference:A,floating:T,setReference:y,setFloating:w}),[y,w]),E=V.useMemo(()=>({reference:S,floating:P}),[S,P]),O=V.useMemo(()=>{const j={position:n,left:0,top:0};if(!E.floating)return j;const N=vm(E.floating,c.x),W=vm(E.floating,c.y);return s?{...j,transform:"translate("+N+"px, "+W+"px)",...bm(E.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:N,top:W}},[n,s,E.floating,c.x,c.y]);return V.useMemo(()=>({...c,update:M,refs:I,elements:E,floatingStyles:O}),[c,M,I,E,O])}const Hx=f.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...a}=e;return f.createElement(We.svg,ge({},a,{ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?n:f.createElement("polygon",{points:"0,0 30,0 15,10"}))});function Xx(e){const[t,n]=f.useState(void 0);return Or(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const a=o[0];let i,s;if("borderBoxSize"in a){const l=a.borderBoxSize,u=Array.isArray(l)?l[0]:l;i=u.inlineSize,s=u.blockSize}else i=e.offsetWidth,s=e.offsetHeight;n({width:i,height:s})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}const xm="Popper",[Cm,ki]=Jn(xm),[Zx,wm]=Cm(xm),Yx=e=>{const{__scopePopper:t,children:n}=e,[r,o]=f.useState(null);return f.createElement(Zx,{scope:t,anchor:r,onAnchorChange:o},n)},Ux="PopperAnchor",Kx=f.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,a=wm(Ux,n),i=f.useRef(null),s=ct(t,i);return f.useEffect(()=>{a.onAnchorChange((r==null?void 0:r.current)||i.current)}),r?null:f.createElement(We.div,ge({},o,{ref:s}))}),Im="PopperContent",[Jx,Qx]=Cm(Im),qx=f.forwardRef((e,t)=>{var n,r,o,a,i,s,l,u;const{__scopePopper:c,side:d="bottom",sideOffset:p=0,align:m="center",alignOffset:h=0,arrowPadding:g=0,avoidCollisions:b=!0,collisionBoundary:x=[],collisionPadding:y=0,sticky:w="partial",hideWhenDetached:S=!1,updatePositionStrategy:P="optimized",onPlaced:A,...T}=e,v=wm(Im,c),[D,$]=f.useState(null),M=ct(t,ne=>$(ne)),[k,I]=f.useState(null),E=Xx(k),O=(n=E==null?void 0:E.width)!==null&&n!==void 0?n:0,j=(r=E==null?void 0:E.height)!==null&&r!==void 0?r:0,N=d+(m!=="center"?"-"+m:""),W=typeof y=="number"?y:{top:0,right:0,bottom:0,left:0,...y},K=Array.isArray(x)?x:[x],H=K.length>0,X={padding:W,boundary:K.filter(r8),altBoundary:H},{refs:B,floatingStyles:G,placement:Y,isPositioned:R,middlewareData:Z}=zx({strategy:"fixed",placement:N,whileElementsMounted:(...ne)=>_x(...ne,{animationFrame:P==="always"}),elements:{reference:v.anchor},middleware:[xx({mainAxis:p+j,alignmentAxis:h}),b&&Cx({mainAxis:!0,crossAxis:!1,limiter:w==="partial"?wx():void 0,...X}),b&&bx({...X}),Ix({...X,apply:({elements:ne,rects:Ge,availableWidth:Xe,availableHeight:Ze})=>{const{width:je,height:Kt}=Ge.reference,Dt=ne.floating.style;Dt.setProperty("--radix-popper-available-width",`${Xe}px`),Dt.setProperty("--radix-popper-available-height",`${Ze}px`),Dt.setProperty("--radix-popper-anchor-width",`${je}px`),Dt.setProperty("--radix-popper-anchor-height",`${Kt}px`)}}),k&&Rx({element:k,padding:g}),o8({arrowWidth:O,arrowHeight:j}),S&&vx({strategy:"referenceHidden",...X})]}),[q,ae]=Em(Y),le=an(A);Or(()=>{R&&(le==null||le())},[R,le]);const pe=(o=Z.arrow)===null||o===void 0?void 0:o.x,be=(a=Z.arrow)===null||a===void 0?void 0:a.y,Q=((i=Z.arrow)===null||i===void 0?void 0:i.centerOffset)!==0,[Pe,ie]=f.useState();return Or(()=>{D&&ie(window.getComputedStyle(D).zIndex)},[D]),f.createElement("div",{ref:B.setFloating,"data-radix-popper-content-wrapper":"",style:{...G,transform:R?G.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Pe,"--radix-popper-transform-origin":[(s=Z.transformOrigin)===null||s===void 0?void 0:s.x,(l=Z.transformOrigin)===null||l===void 0?void 0:l.y].join(" ")},dir:e.dir},f.createElement(Jx,{scope:c,placedSide:q,onArrowChange:I,arrowX:pe,arrowY:be,shouldHideArrow:Q},f.createElement(We.div,ge({"data-side":q,"data-align":ae},T,{ref:M,style:{...T.style,animation:R?void 0:"none",opacity:(u=Z.hide)!==null&&u!==void 0&&u.referenceHidden?0:void 0}}))))}),e8="PopperArrow",t8={top:"bottom",right:"left",bottom:"top",left:"right"},n8=f.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,a=Qx(e8,r),i=t8[a.placedSide];return f.createElement("span",{ref:a.onArrowChange,style:{position:"absolute",left:a.arrowX,top:a.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[a.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[a.placedSide],visibility:a.shouldHideArrow?"hidden":void 0}},f.createElement(Hx,ge({},o,{ref:n,style:{...o.style,display:"block"}})))});function r8(e){return e!==null}const o8=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,a,i;const{placement:s,rects:l,middlewareData:u}=t,d=((n=u.arrow)===null||n===void 0?void 0:n.centerOffset)!==0,p=d?0:e.arrowWidth,m=d?0:e.arrowHeight,[h,g]=Em(s),b={start:"0%",center:"50%",end:"100%"}[g],x=((r=(o=u.arrow)===null||o===void 0?void 0:o.x)!==null&&r!==void 0?r:0)+p/2,y=((a=(i=u.arrow)===null||i===void 0?void 0:i.y)!==null&&a!==void 0?a:0)+m/2;let w="",S="";return h==="bottom"?(w=d?b:`${x}px`,S=`${-m}px`):h==="top"?(w=d?b:`${x}px`,S=`${l.floating.height+m}px`):h==="right"?(w=`${-m}px`,S=d?b:`${y}px`):h==="left"&&(w=`${l.floating.width+m}px`,S=d?b:`${y}px`),{data:{x:w,y:S}}}});function Em(e){const[t,n="center"]=e.split("-");return[t,n]}const Pm=Yx,Sm=Kx,Mm=qx,a8=n8,Su=f.forwardRef((e,t)=>{var n;const{container:r=globalThis==null||(n=globalThis.document)===null||n===void 0?void 0:n.body,...o}=e;return r?mr.createPortal(f.createElement(We.div,ge({},o,{ref:t})),r):null});function i8(e,t){return f.useReducer((n,r)=>{const o=t[n][r];return o??n},e)}const dn=e=>{const{present:t,children:n}=e,r=s8(t),o=typeof n=="function"?n({present:r.isPresent}):f.Children.only(n),a=ct(r.ref,o.ref);return typeof n=="function"||r.isPresent?f.cloneElement(o,{ref:a}):null};dn.displayName="Presence";function s8(e){const[t,n]=f.useState(),r=f.useRef({}),o=f.useRef(e),a=f.useRef("none"),i=e?"mounted":"unmounted",[s,l]=i8(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return f.useEffect(()=>{const u=Oi(r.current);a.current=s==="mounted"?u:"none"},[s]),Or(()=>{const u=r.current,c=o.current;if(c!==e){const p=a.current,m=Oi(u);e?l("MOUNT"):m==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(c&&p!==m?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),Or(()=>{if(t){const u=d=>{const m=Oi(r.current).includes(d.animationName);d.target===t&&m&&mr.flushSync(()=>l("ANIMATION_END"))},c=d=>{d.target===t&&(a.current=Oi(r.current))};return t.addEventListener("animationstart",c),t.addEventListener("animationcancel",u),t.addEventListener("animationend",u),()=>{t.removeEventListener("animationstart",c),t.removeEventListener("animationcancel",u),t.removeEventListener("animationend",u)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:f.useCallback(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function Oi(e){return(e==null?void 0:e.animationName)||"none"}function Vo({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=l8({defaultProp:t,onChange:n}),a=e!==void 0,i=a?e:r,s=an(n),l=f.useCallback(u=>{if(a){const d=typeof u=="function"?u(e):u;d!==e&&s(d)}else o(u)},[a,e,o,s]);return[i,l]}function l8({defaultProp:e,onChange:t}){const n=f.useState(e),[r]=n,o=f.useRef(r),a=an(t);return f.useEffect(()=>{o.current!==r&&(a(r),o.current=r)},[r,o,a]),n}const u8=f.forwardRef((e,t)=>f.createElement(We.span,ge({},e,{ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}))),[Fi,TD]=Jn("Tooltip",[ki]),Li=ki(),c8="TooltipProvider",d8=700,Mu="tooltip.open",[f8,Au]=Fi(c8),p8=e=>{const{__scopeTooltip:t,delayDuration:n=d8,skipDelayDuration:r=300,disableHoverableContent:o=!1,children:a}=e,[i,s]=f.useState(!0),l=f.useRef(!1),u=f.useRef(0);return f.useEffect(()=>{const c=u.current;return()=>window.clearTimeout(c)},[]),f.createElement(f8,{scope:t,isOpenDelayed:i,delayDuration:n,onOpen:f.useCallback(()=>{window.clearTimeout(u.current),s(!1)},[]),onClose:f.useCallback(()=>{window.clearTimeout(u.current),u.current=window.setTimeout(()=>s(!0),r)},[r]),isPointerInTransitRef:l,onPointerInTransitChange:f.useCallback(c=>{l.current=c},[]),disableHoverableContent:o},a)},Tu="Tooltip",[m8,jo]=Fi(Tu),h8=e=>{const{__scopeTooltip:t,children:n,open:r,defaultOpen:o=!1,onOpenChange:a,disableHoverableContent:i,delayDuration:s}=e,l=Au(Tu,e.__scopeTooltip),u=Li(t),[c,d]=f.useState(null),p=Qn(),m=f.useRef(0),h=i??l.disableHoverableContent,g=s??l.delayDuration,b=f.useRef(!1),[x=!1,y]=Vo({prop:r,defaultProp:o,onChange:T=>{T?(l.onOpen(),document.dispatchEvent(new CustomEvent(Mu))):l.onClose(),a==null||a(T)}}),w=f.useMemo(()=>x?b.current?"delayed-open":"instant-open":"closed",[x]),S=f.useCallback(()=>{window.clearTimeout(m.current),b.current=!1,y(!0)},[y]),P=f.useCallback(()=>{window.clearTimeout(m.current),y(!1)},[y]),A=f.useCallback(()=>{window.clearTimeout(m.current),m.current=window.setTimeout(()=>{b.current=!0,y(!0)},g)},[g,y]);return f.useEffect(()=>()=>window.clearTimeout(m.current),[]),f.createElement(Pm,u,f.createElement(m8,{scope:t,contentId:p,open:x,stateAttribute:w,trigger:c,onTriggerChange:d,onTriggerEnter:f.useCallback(()=>{l.isOpenDelayed?A():S()},[l.isOpenDelayed,A,S]),onTriggerLeave:f.useCallback(()=>{h?P():window.clearTimeout(m.current)},[P,h]),onOpen:S,onClose:P,disableHoverableContent:h},n))},Am="TooltipTrigger",g8=f.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=jo(Am,n),a=Au(Am,n),i=Li(n),s=f.useRef(null),l=ct(t,s,o.onTriggerChange),u=f.useRef(!1),c=f.useRef(!1),d=f.useCallback(()=>u.current=!1,[]);return f.useEffect(()=>()=>document.removeEventListener("pointerup",d),[d]),f.createElement(Sm,ge({asChild:!0},i),f.createElement(We.button,ge({"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute},r,{ref:l,onPointerMove:Le(e.onPointerMove,p=>{p.pointerType!=="touch"&&!c.current&&!a.isPointerInTransitRef.current&&(o.onTriggerEnter(),c.current=!0)}),onPointerLeave:Le(e.onPointerLeave,()=>{o.onTriggerLeave(),c.current=!1}),onPointerDown:Le(e.onPointerDown,()=>{u.current=!0,document.addEventListener("pointerup",d,{once:!0})}),onFocus:Le(e.onFocus,()=>{u.current||o.onOpen()}),onBlur:Le(e.onBlur,o.onClose),onClick:Le(e.onClick,o.onClose)})))}),Tm="TooltipPortal",[b8,v8]=Fi(Tm,{forceMount:void 0}),y8=e=>{const{__scopeTooltip:t,forceMount:n,children:r,container:o}=e,a=jo(Tm,t);return f.createElement(b8,{scope:t,forceMount:n},f.createElement(dn,{present:n||a.open},f.createElement(Su,{asChild:!0,container:o},r)))},Bo="TooltipContent",x8=f.forwardRef((e,t)=>{const n=v8(Bo,e.__scopeTooltip),{forceMount:r=n.forceMount,side:o="top",...a}=e,i=jo(Bo,e.__scopeTooltip);return f.createElement(dn,{present:r||i.open},i.disableHoverableContent?f.createElement(Dm,ge({side:o},a,{ref:t})):f.createElement(C8,ge({side:o},a,{ref:t})))}),C8=f.forwardRef((e,t)=>{const n=jo(Bo,e.__scopeTooltip),r=Au(Bo,e.__scopeTooltip),o=f.useRef(null),a=ct(t,o),[i,s]=f.useState(null),{trigger:l,onClose:u}=n,c=o.current,{onPointerInTransitChange:d}=r,p=f.useCallback(()=>{s(null),d(!1)},[d]),m=f.useCallback((h,g)=>{const b=h.currentTarget,x={x:h.clientX,y:h.clientY},y=S8(x,b.getBoundingClientRect()),w=M8(x,y),S=A8(g.getBoundingClientRect()),P=D8([...w,...S]);s(P),d(!0)},[d]);return f.useEffect(()=>()=>p(),[p]),f.useEffect(()=>{if(l&&c){const h=b=>m(b,c),g=b=>m(b,l);return l.addEventListener("pointerleave",h),c.addEventListener("pointerleave",g),()=>{l.removeEventListener("pointerleave",h),c.removeEventListener("pointerleave",g)}}},[l,c,m,p]),f.useEffect(()=>{if(i){const h=g=>{const b=g.target,x={x:g.clientX,y:g.clientY},y=(l==null?void 0:l.contains(b))||(c==null?void 0:c.contains(b)),w=!T8(x,i);y?p():w&&(p(),u())};return document.addEventListener("pointermove",h),()=>document.removeEventListener("pointermove",h)}},[l,c,i,u,p]),f.createElement(Dm,ge({},e,{ref:a}))}),[w8,I8]=Fi(Tu,{isInside:!1}),Dm=f.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":o,onEscapeKeyDown:a,onPointerDownOutside:i,...s}=e,l=jo(Bo,n),u=Li(n),{onClose:c}=l;return f.useEffect(()=>(document.addEventListener(Mu,c),()=>document.removeEventListener(Mu,c)),[c]),f.useEffect(()=>{if(l.trigger){const d=p=>{const m=p.target;m!=null&&m.contains(l.trigger)&&c()};return window.addEventListener("scroll",d,{capture:!0}),()=>window.removeEventListener("scroll",d,{capture:!0})}},[l.trigger,c]),f.createElement(bu,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:a,onPointerDownOutside:i,onFocusOutside:d=>d.preventDefault(),onDismiss:c},f.createElement(Mm,ge({"data-state":l.stateAttribute},u,s,{ref:t,style:{...s.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"}}),f.createElement(Q1,null,r),f.createElement(w8,{scope:n,isInside:!0},f.createElement(u8,{id:l.contentId,role:"tooltip"},o||r))))}),E8="TooltipArrow",P8=f.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=Li(n);return I8(E8,n).isInside?null:f.createElement(a8,ge({},o,r,{ref:t}))});function S8(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),a=Math.abs(t.left-e.x);switch(Math.min(n,r,o,a)){case a:return"left";case o:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function M8(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function A8(e){const{top:t,right:n,bottom:r,left:o}=e;return[{x:o,y:t},{x:n,y:t},{x:n,y:r},{x:o,y:r}]}function T8(e,t){const{x:n,y:r}=e;let o=!1;for(let a=0,i=t.length-1;a<t.length;i=a++){const s=t[a].x,l=t[a].y,u=t[i].x,c=t[i].y;l>r!=c>r&&n<(u-s)*(r-l)/(c-l)+s&&(o=!o)}return o}function D8(e){const t=e.slice();return t.sort((n,r)=>n.x<r.x?-1:n.x>r.x?1:n.y<r.y?-1:n.y>r.y?1:0),N8(t)}function N8(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const o=e[r];for(;t.length>=2;){const a=t[t.length-1],i=t[t.length-2];if((a.x-i.x)*(o.y-i.y)>=(a.y-i.y)*(o.x-i.x))t.pop();else break}t.push(o)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const o=e[r];for(;n.length>=2;){const a=n[n.length-1],i=n[n.length-2];if((a.x-i.x)*(o.y-i.y)>=(a.y-i.y)*(o.x-i.x))n.pop();else break}n.push(o)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}const $8=p8,k8=h8,O8=g8,F8=y8,L8=x8,V8=P8,j8=({children:e,showArrow:t=!1,startOpen:n=!1,content:r,hasCloseButton:o=!1,action:a,size:i="sm"})=>{const[s,l]=f.useState(n),u=ye({base:"rounded-lg bg-primary-black-400 px-4 pb-[13px] pt-[12px] font-satoshi text-sm font-medium text-white",variants:{size:{sm:"max-w-[215px]",lg:"max-w-[342px]"}}}),c=()=>{l(!1)},d=()=>{a&&a.onClick(),c()};return F.jsx($8,{children:F.jsxs(k8,{delayDuration:0,defaultOpen:s,open:s,onOpenChange:p=>l(p),children:[F.jsx(O8,{asChild:!0,children:e}),F.jsx(F8,{children:F.jsxs(L8,{className:u({size:i}),sideOffset:5,children:[F.jsxs("div",{children:[F.jsxs("div",{className:"flex gap-4",children:[r,o&&F.jsx(rt,{onClick:c,name:"close",className:"mt-1 cursor-pointer text-xs text-white"})]}),a&&F.jsx(du,{className:"-mb-1 mt-1 !h-6 !px-0",variant:"tertiaryDark",onClick:d,children:a.label})]}),t&&F.jsx(V8,{className:"TooltipArrow"})]})})]})})};function B8(e){const t=e+"CollectionProvider",[n,r]=Jn(t),[o,a]=n(t,{collectionRef:{current:null},itemMap:new Map}),i=m=>{const{scope:h,children:g}=m,b=f.useRef(null),x=f.useRef(new Map).current;return f.createElement(o,{scope:h,itemMap:x,collectionRef:b},g)},s=e+"CollectionSlot",l=f.forwardRef((m,h)=>{const{scope:g,children:b}=m,x=a(s,g),y=ct(h,x.collectionRef);return f.createElement(kr,{ref:y},b)}),u=e+"CollectionItemSlot",c="data-radix-collection-item",d=f.forwardRef((m,h)=>{const{scope:g,children:b,...x}=m,y=f.useRef(null),w=ct(h,y),S=a(u,g);return f.useEffect(()=>(S.itemMap.set(y,{ref:y,...x}),()=>void S.itemMap.delete(y))),f.createElement(kr,{[c]:"",ref:w},b)});function p(m){const h=a(e+"CollectionConsumer",m);return f.useCallback(()=>{const b=h.collectionRef.current;if(!b)return[];const x=Array.from(b.querySelectorAll(`[${c}]`));return Array.from(h.itemMap.values()).sort((S,P)=>x.indexOf(S.ref.current)-x.indexOf(P.ref.current))},[h.collectionRef,h.itemMap])}return[{Provider:i,Slot:l,ItemSlot:d},p,r]}const W8=f.createContext(void 0);function Nm(e){const t=f.useContext(W8);return e||t||"ltr"}const Du="rovingFocusGroup.onEntryFocus",_8={bubbles:!1,cancelable:!0},Nu="RovingFocusGroup",[$u,$m,G8]=B8(Nu),[R8,km]=Jn(Nu,[G8]),[z8,H8]=R8(Nu),X8=f.forwardRef((e,t)=>f.createElement($u.Provider,{scope:e.__scopeRovingFocusGroup},f.createElement($u.Slot,{scope:e.__scopeRovingFocusGroup},f.createElement(Z8,ge({},e,{ref:t}))))),Z8=f.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:o=!1,dir:a,currentTabStopId:i,defaultCurrentTabStopId:s,onCurrentTabStopIdChange:l,onEntryFocus:u,...c}=e,d=f.useRef(null),p=ct(t,d),m=Nm(a),[h=null,g]=Vo({prop:i,defaultProp:s,onChange:l}),[b,x]=f.useState(!1),y=an(u),w=$m(n),S=f.useRef(!1),[P,A]=f.useState(0);return f.useEffect(()=>{const T=d.current;if(T)return T.addEventListener(Du,y),()=>T.removeEventListener(Du,y)},[y]),f.createElement(z8,{scope:n,orientation:r,dir:m,loop:o,currentTabStopId:h,onItemFocus:f.useCallback(T=>g(T),[g]),onItemShiftTab:f.useCallback(()=>x(!0),[]),onFocusableItemAdd:f.useCallback(()=>A(T=>T+1),[]),onFocusableItemRemove:f.useCallback(()=>A(T=>T-1),[])},f.createElement(We.div,ge({tabIndex:b||P===0?-1:0,"data-orientation":r},c,{ref:p,style:{outline:"none",...e.style},onMouseDown:Le(e.onMouseDown,()=>{S.current=!0}),onFocus:Le(e.onFocus,T=>{const v=!S.current;if(T.target===T.currentTarget&&v&&!b){const D=new CustomEvent(Du,_8);if(T.currentTarget.dispatchEvent(D),!D.defaultPrevented){const $=w().filter(O=>O.focusable),M=$.find(O=>O.active),k=$.find(O=>O.id===h),E=[M,k,...$].filter(Boolean).map(O=>O.ref.current);Om(E)}}S.current=!1}),onBlur:Le(e.onBlur,()=>x(!1))})))}),Y8="RovingFocusGroupItem",U8=f.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:o=!1,tabStopId:a,...i}=e,s=Qn(),l=a||s,u=H8(Y8,n),c=u.currentTabStopId===l,d=$m(n),{onFocusableItemAdd:p,onFocusableItemRemove:m}=u;return f.useEffect(()=>{if(r)return p(),()=>m()},[r,p,m]),f.createElement($u.ItemSlot,{scope:n,id:l,focusable:r,active:o},f.createElement(We.span,ge({tabIndex:c?0:-1,"data-orientation":u.orientation},i,{ref:t,onMouseDown:Le(e.onMouseDown,h=>{r?u.onItemFocus(l):h.preventDefault()}),onFocus:Le(e.onFocus,()=>u.onItemFocus(l)),onKeyDown:Le(e.onKeyDown,h=>{if(h.key==="Tab"&&h.shiftKey){u.onItemShiftTab();return}if(h.target!==h.currentTarget)return;const g=Q8(h,u.orientation,u.dir);if(g!==void 0){h.preventDefault();let x=d().filter(y=>y.focusable).map(y=>y.ref.current);if(g==="last")x.reverse();else if(g==="prev"||g==="next"){g==="prev"&&x.reverse();const y=x.indexOf(h.currentTarget);x=u.loop?q8(x,y+1):x.slice(y+1)}setTimeout(()=>Om(x))}})})))}),K8={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function J8(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function Q8(e,t,n){const r=J8(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return K8[r]}function Om(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function q8(e,t){return e.map((n,r)=>e[(t+r)%e.length])}const eC=X8,tC=U8,Fm="Tabs",[nC,DD]=Jn(Fm,[km]),Lm=km(),[rC,ku]=nC(Fm),oC=f.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,onValueChange:o,defaultValue:a,orientation:i="horizontal",dir:s,activationMode:l="automatic",...u}=e,c=Nm(s),[d,p]=Vo({prop:r,onChange:o,defaultProp:a});return f.createElement(rC,{scope:n,baseId:Qn(),value:d,onValueChange:p,orientation:i,dir:c,activationMode:l},f.createElement(We.div,ge({dir:c,"data-orientation":i},u,{ref:t})))}),aC="TabsList",iC=f.forwardRef((e,t)=>{const{__scopeTabs:n,loop:r=!0,...o}=e,a=ku(aC,n),i=Lm(n);return f.createElement(eC,ge({asChild:!0},i,{orientation:a.orientation,dir:a.dir,loop:r}),f.createElement(We.div,ge({role:"tablist","aria-orientation":a.orientation},o,{ref:t})))}),sC="TabsTrigger",lC=f.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,disabled:o=!1,...a}=e,i=ku(sC,n),s=Lm(n),l=Vm(i.baseId,r),u=jm(i.baseId,r),c=r===i.value;return f.createElement(tC,ge({asChild:!0},s,{focusable:!o,active:c}),f.createElement(We.button,ge({type:"button",role:"tab","aria-selected":c,"aria-controls":u,"data-state":c?"active":"inactive","data-disabled":o?"":void 0,disabled:o,id:l},a,{ref:t,onMouseDown:Le(e.onMouseDown,d=>{!o&&d.button===0&&d.ctrlKey===!1?i.onValueChange(r):d.preventDefault()}),onKeyDown:Le(e.onKeyDown,d=>{[" ","Enter"].includes(d.key)&&i.onValueChange(r)}),onFocus:Le(e.onFocus,()=>{const d=i.activationMode!=="manual";!c&&!o&&d&&i.onValueChange(r)})})))}),uC="TabsContent",cC=f.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,forceMount:o,children:a,...i}=e,s=ku(uC,n),l=Vm(s.baseId,r),u=jm(s.baseId,r),c=r===s.value,d=f.useRef(c);return f.useEffect(()=>{const p=requestAnimationFrame(()=>d.current=!1);return()=>cancelAnimationFrame(p)},[]),f.createElement(dn,{present:o||c},({present:p})=>f.createElement(We.div,ge({"data-state":c?"active":"inactive","data-orientation":s.orientation,role:"tabpanel","aria-labelledby":l,hidden:!p,id:u,tabIndex:0},i,{ref:t,style:{...e.style,animationDuration:d.current?"0s":void 0}}),p&&a))});function Vm(e,t){return`${e}-trigger-${t}`}function jm(e,t){return`${e}-content-${t}`}const dC=oC,fC=iC,pC=lC,mC=cC,hC=({tabs:e,defaultValue:t,variant:n="button",className:r,...o})=>{const a=ye({base:"",variants:{variant:{underline:"",button:""}}}),i=ye({base:"flex flex-row",variants:{variant:{underline:"",button:""}}}),s=ye({base:"flex h-[82px] w-[197px] items-center justify-center gap-2 text-lg font-medium text-primary-grey-700 hover:text-primary-grey-800 data-[state=active]:font-bold data-[state=active]:text-secondary-green-500",variants:{variant:{underline:"border-b border-primary-grey-600 border-t-transparent hover:border-b-4 hover:border-t-3 hover:border-b-primary-grey-700 hover:font-bold data-[state=active]:border-b-4 data-[state=active]:border-t-3 data-[state=active]:border-b-secondary-green-500 data-[state=active]:text-secondary-green-500",button:"relative z-0 -mr-[1px] rounded-none border border-primary-grey-600 first:rounded-l-xl last:rounded-r-xl hover:z-10 hover:border-2 hover:border-primary-grey-800 data-[state=active]:z-20 data-[state=active]:border-2 data-[state=active]:border-secondary-green-500"}}});return F.jsxs(dC,{defaultValue:t??e[0].key,className:a({variant:n,className:r}),...o,children:[F.jsx(fC,{className:i({variant:n}),children:e.map(({icon:l,key:u,title:c})=>F.jsxs(pC,{value:u,className:s({variant:n}),children:[l&&(typeof l=="string"?F.jsx(rt,{className:"-mt-[1px]",name:l}):l),c]},u))}),e.map(({content:l,key:u})=>F.jsx(mC,{value:u,className:"w-full",children:l},u))]})},Ou=f.forwardRef(({disabled:e,isDatePicker:t,isInvalid:n,isValid:r,className:o,icon:a,message:i,iconAction:s,...l},u)=>{const c=ye({base:"[&_input]:data-[filled-within=true]:!bg-transparent [&_label]:data-[filled-within=true]:!left-[15px] [&_label]:data-[filled-within=true]:!top-[20px] [&_label]:data-[filled-within=true]:!ml-[1px] [&_label]:data-[filled-within=true]:!text-xs [&_label]:data-[filled-within=true]:!text-primary-grey-800",variants:{isInvalid:{true:"[&_label]:data-[filled-within=true]:!text-complementary-red-500"},isValid:{true:"[&_label]:data-[filled-within=true]:!text-secondary-green-500"},disabled:{true:"[&_label]:data-[filled-within=true]:!text-primary-grey-700"}}}),d=ye({base:"left-[16px] top-6 font-satoshi text-xs text-primary-grey-800",variants:{isInvalid:{true:"text-complementary-red-500"},isValid:{true:"text-secondary-green-500"},disabled:{true:"text-primary-grey-700"}}}),p=ye({base:"text-left font-satoshi text-base",variants:{disabled:{true:"!text-primary-grey-700"},isDatePicker:{true:"!cursor-pointer"}}}),m=ye({base:"h-12 rounded-lg border border-primary-grey-700 !bg-white px-[15px] text-black !ring-0 !ring-offset-0",variants:{isInvalid:{true:"border-complementary-red-500"},isValid:{true:"border-secondary-green-500"},disabled:{true:"!border-primary-grey-500 !bg-primary-grey-500"},isDatePicker:{true:"!cursor-pointer"}}}),h=ye({base:"mt-[5px] pl-3 font-satoshi",variants:{isInvalid:{true:"text-complementary-red-500"},isValid:{true:"text-secondary-green-500"}}}),g=ye({base:"text-primary-grey-800",variants:{iconAction:{true:"cursor-pointer"}}}),{Component:b,label:x,domRef:y,startContent:w,shouldLabelBeOutside:S,shouldLabelBeInside:P,getBaseProps:A,getLabelProps:T,getInputProps:v,getInnerWrapperProps:D,getInputWrapperProps:$,getDescriptionProps:M}=K9({...l,disabled:e,labelPlacement:"outside",ref:u,classNames:{input:p({disabled:e,isDatePicker:t}),inputWrapper:m({isInvalid:n,isValid:r,disabled:e,isDatePicker:t}),base:c({isInvalid:n,isValid:r,disabled:e,className:o}),label:d({isInvalid:n,isValid:r,disabled:e}),description:h({isInvalid:n,isValid:r})}}),k=F.jsx("label",{...T(),children:x}),I=f.useMemo(()=>w||a?F.jsxs("div",{...D(),children:[w,F.jsx("input",{...v()}),a&&(typeof a=="string"?F.jsx(rt,{onClick:s,name:a,className:g({iconAction:!!s})}):a)]}):F.jsx("input",{...v()}),[w,s,g,a,v,D]);return F.jsxs(b,{...A(),children:[S?k:null,F.jsxs("div",{...$(),role:"button",onClick:()=>{var E;(E=y.current)==null||E.focus()},children:[P?k:null,I]}),i&&F.jsx("div",{...M(),children:i})]})}),gC=f.forwardRef((e,t)=>{const[n,r]=f.useState(!1),o=()=>{r(a=>!a)};return F.jsx(Ou,{ref:t,icon:n?"eye":"eye-off",type:n?"text":"password",iconAction:o,...e})});let Fu=0;function Bm(){f.useEffect(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=n[0])!==null&&e!==void 0?e:Wm()),document.body.insertAdjacentElement("beforeend",(t=n[1])!==null&&t!==void 0?t:Wm()),Fu++,()=>{Fu===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),Fu--}},[])}function Wm(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}const Lu="focusScope.autoFocusOnMount",Vu="focusScope.autoFocusOnUnmount",_m={bubbles:!1,cancelable:!0},Gm=f.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:a,...i}=e,[s,l]=f.useState(null),u=an(o),c=an(a),d=f.useRef(null),p=ct(t,g=>l(g)),m=f.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;f.useEffect(()=>{if(r){let g=function(w){if(m.paused||!s)return;const S=w.target;s.contains(S)?d.current=S:Nn(d.current,{select:!0})},b=function(w){if(m.paused||!s)return;const S=w.relatedTarget;S!==null&&(s.contains(S)||Nn(d.current,{select:!0}))},x=function(w){if(document.activeElement===document.body)for(const P of w)P.removedNodes.length>0&&Nn(s)};document.addEventListener("focusin",g),document.addEventListener("focusout",b);const y=new MutationObserver(x);return s&&y.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",g),document.removeEventListener("focusout",b),y.disconnect()}}},[r,s,m.paused]),f.useEffect(()=>{if(s){Hm.add(m);const g=document.activeElement;if(!s.contains(g)){const x=new CustomEvent(Lu,_m);s.addEventListener(Lu,u),s.dispatchEvent(x),x.defaultPrevented||(bC(wC(Rm(s)),{select:!0}),document.activeElement===g&&Nn(s))}return()=>{s.removeEventListener(Lu,u),setTimeout(()=>{const x=new CustomEvent(Vu,_m);s.addEventListener(Vu,c),s.dispatchEvent(x),x.defaultPrevented||Nn(g??document.body,{select:!0}),s.removeEventListener(Vu,c),Hm.remove(m)},0)}}},[s,u,c,m]);const h=f.useCallback(g=>{if(!n&&!r||m.paused)return;const b=g.key==="Tab"&&!g.altKey&&!g.ctrlKey&&!g.metaKey,x=document.activeElement;if(b&&x){const y=g.currentTarget,[w,S]=vC(y);w&&S?!g.shiftKey&&x===S?(g.preventDefault(),n&&Nn(w,{select:!0})):g.shiftKey&&x===w&&(g.preventDefault(),n&&Nn(S,{select:!0})):x===y&&g.preventDefault()}},[n,r,m.paused]);return f.createElement(We.div,ge({tabIndex:-1},i,{ref:p,onKeyDown:h}))});function bC(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Nn(r,{select:t}),document.activeElement!==n)return}function vC(e){const t=Rm(e),n=zm(t,e),r=zm(t.reverse(),e);return[n,r]}function Rm(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function zm(e,t){for(const n of e)if(!yC(n,{upTo:t}))return n}function yC(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function xC(e){return e instanceof HTMLInputElement&&"select"in e}function Nn(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&xC(e)&&t&&e.select()}}const Hm=CC();function CC(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=Xm(e,t),e.unshift(t)},remove(t){var n;e=Xm(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function Xm(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function wC(e){return e.filter(t=>t.tagName!=="A")}var IC=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Br=new WeakMap,Vi=new WeakMap,ji={},ju=0,Zm=function(e){return e&&(e.host||Zm(e.parentNode))},EC=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=Zm(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},PC=function(e,t,n,r){var o=EC(t,Array.isArray(e)?e:[e]);ji[n]||(ji[n]=new WeakMap);var a=ji[n],i=[],s=new Set,l=new Set(o),u=function(d){!d||s.has(d)||(s.add(d),u(d.parentNode))};o.forEach(u);var c=function(d){!d||l.has(d)||Array.prototype.forEach.call(d.children,function(p){if(s.has(p))c(p);else{var m=p.getAttribute(r),h=m!==null&&m!=="false",g=(Br.get(p)||0)+1,b=(a.get(p)||0)+1;Br.set(p,g),a.set(p,b),i.push(p),g===1&&h&&Vi.set(p,!0),b===1&&p.setAttribute(n,"true"),h||p.setAttribute(r,"true")}})};return c(t),s.clear(),ju++,function(){i.forEach(function(d){var p=Br.get(d)-1,m=a.get(d)-1;Br.set(d,p),a.set(d,m),p||(Vi.has(d)||d.removeAttribute(r),Vi.delete(d)),m||d.removeAttribute(n)}),ju--,ju||(Br=new WeakMap,Br=new WeakMap,Vi=new WeakMap,ji={})}},Ym=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||IC(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),PC(r,o,n,"aria-hidden")):function(){return null}},Um=o7(),Bu=function(){},Bi=V.forwardRef(function(e,t){var n=V.useRef(null),r=V.useState({onScrollCapture:Bu,onWheelCapture:Bu,onTouchMoveCapture:Bu}),o=r[0],a=r[1],i=e.forwardProps,s=e.children,l=e.className,u=e.removeScrollBar,c=e.enabled,d=e.shards,p=e.sideCar,m=e.noIsolation,h=e.inert,g=e.allowPinchZoom,b=e.as,x=b===void 0?"div":b,y=Zd(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),w=p,S=t7([n,t]),P=_t(_t({},y),o);return V.createElement(V.Fragment,null,c&&V.createElement(w,{sideCar:Um,removeScrollBar:u,shards:d,noIsolation:m,inert:h,setCallbacks:a,allowPinchZoom:!!g,lockRef:n}),i?V.cloneElement(V.Children.only(s),_t(_t({},P),{ref:S})):V.createElement(x,_t({},P,{className:l,ref:S}),s))});Bi.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},Bi.classNames={fullWidth:bi,zeroRight:gi};var Wu=!1;if(typeof window<"u")try{var Wi=Object.defineProperty({},"passive",{get:function(){return Wu=!0,!0}});window.addEventListener("test",Wi,Wi),window.removeEventListener("test",Wi,Wi)}catch{Wu=!1}var Wr=Wu?{passive:!1}:!1,SC=function(e){return e.tagName==="TEXTAREA"},Km=function(e,t){var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!SC(e)&&n[t]==="visible")},MC=function(e){return Km(e,"overflowY")},AC=function(e){return Km(e,"overflowX")},Jm=function(e,t){var n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var r=Qm(e,n);if(r){var o=qm(e,n),a=o[1],i=o[2];if(a>i)return!0}n=n.parentNode}while(n&&n!==document.body);return!1},TC=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},DC=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},Qm=function(e,t){return e==="v"?MC(t):AC(t)},qm=function(e,t){return e==="v"?TC(t):DC(t)},NC=function(e,t){return e==="h"&&t==="rtl"?-1:1},$C=function(e,t,n,r,o){var a=NC(e,window.getComputedStyle(t).direction),i=a*r,s=n.target,l=t.contains(s),u=!1,c=i>0,d=0,p=0;do{var m=qm(e,s),h=m[0],g=m[1],b=m[2],x=g-b-a*h;(h||x)&&Qm(e,s)&&(d+=x,p+=h),s=s.parentNode}while(!l&&s!==document.body||l&&(t.contains(s)||t===s));return(c&&(o&&d===0||!o&&i>d)||!c&&(o&&p===0||!o&&-i>p))&&(u=!0),u},_i=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},eh=function(e){return[e.deltaX,e.deltaY]},th=function(e){return e&&"current"in e?e.current:e},kC=function(e,t){return e[0]===t[0]&&e[1]===t[1]},OC=function(e){return`
|
|
73
73
|
.block-interactivity-`.concat(e,` {pointer-events: none;}
|
|
74
74
|
.allow-interactivity-`).concat(e,` {pointer-events: all;}
|
|
75
|
-
`)},F8=0,_r=[];function L8(e){var t=V.useRef([]),n=V.useRef([0,0]),r=V.useRef(),o=V.useState(F8++)[0],a=V.useState(function(){return F1()})[0],i=V.useRef(e);V.useEffect(function(){i.current=e},[e]),V.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var g=m2([e.lockRef.current],(e.shards||[]).map(th),!0).filter(Boolean);return g.forEach(function(b){return b.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),g.forEach(function(b){return b.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var s=V.useCallback(function(g,b){if("touches"in g&&g.touches.length===2)return!i.current.allowPinchZoom;var x=_i(g),y=n.current,w="deltaX"in g?g.deltaX:y[0]-x[0],S="deltaY"in g?g.deltaY:y[1]-x[1],E,A=g.target,T=Math.abs(w)>Math.abs(S)?"h":"v";if("touches"in g&&T==="h"&&A.type==="range")return!1;var v=Jm(T,A);if(!v)return!0;if(v?E=T:(E=T==="v"?"h":"v",v=Jm(T,A)),!v)return!1;if(!r.current&&"changedTouches"in g&&(w||S)&&(r.current=E),!E)return!0;var D=r.current||E;return $8(D,b,g,D==="h"?w:S,!0)},[]),l=V.useCallback(function(g){var b=g;if(!(!_r.length||_r[_r.length-1]!==a)){var x="deltaY"in b?eh(b):_i(b),y=t.current.filter(function(E){return E.name===b.type&&E.target===b.target&&k8(E.delta,x)})[0];if(y&&y.should){b.cancelable&&b.preventDefault();return}if(!y){var w=(i.current.shards||[]).map(th).filter(Boolean).filter(function(E){return E.contains(b.target)}),S=w.length>0?s(b,w[0]):!i.current.noIsolation;S&&b.cancelable&&b.preventDefault()}}},[]),u=V.useCallback(function(g,b,x,y){var w={name:g,delta:b,target:x,should:y};t.current.push(w),setTimeout(function(){t.current=t.current.filter(function(S){return S!==w})},1)},[]),c=V.useCallback(function(g){n.current=_i(g),r.current=void 0},[]),d=V.useCallback(function(g){u(g.type,eh(g),g.target,s(g,e.lockRef.current))},[]),p=V.useCallback(function(g){u(g.type,_i(g),g.target,s(g,e.lockRef.current))},[]);V.useEffect(function(){return _r.push(a),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:p}),document.addEventListener("wheel",l,Wr),document.addEventListener("touchmove",l,Wr),document.addEventListener("touchstart",c,Wr),function(){_r=_r.filter(function(g){return g!==a}),document.removeEventListener("wheel",l,Wr),document.removeEventListener("touchmove",l,Wr),document.removeEventListener("touchstart",c,Wr)}},[]);var m=e.removeScrollBar,h=e.inert;return V.createElement(V.Fragment,null,h?V.createElement(a,{styles:O8(o)}):null,m?V.createElement(b7,{gapMode:"margin"}):null)}const V8=a7(Um,L8);var nh=V.forwardRef(function(e,t){return V.createElement(Bi,_t({},e,{ref:t,sideCar:V8}))});nh.classNames=Bi.classNames;const rh=nh,oh="Popover",[ah,ND]=Jn(oh,[ki]),_u=ki(),[j8,er]=ah(oh),B8=e=>{const{__scopePopover:t,children:n,open:r,defaultOpen:o,onOpenChange:a,modal:i=!1}=e,s=_u(t),l=f.useRef(null),[u,c]=f.useState(!1),[d=!1,p]=Vo({prop:r,defaultProp:o,onChange:a});return f.createElement(Pm,s,f.createElement(j8,{scope:t,contentId:Qn(),triggerRef:l,open:d,onOpenChange:p,onOpenToggle:f.useCallback(()=>p(m=>!m),[p]),hasCustomAnchor:u,onCustomAnchorAdd:f.useCallback(()=>c(!0),[]),onCustomAnchorRemove:f.useCallback(()=>c(!1),[]),modal:i},n))},W8="PopoverTrigger",_8=f.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=er(W8,n),a=_u(n),i=ct(t,o.triggerRef),s=f.createElement(We.button,ge({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":lh(o.open)},r,{ref:i,onClick:Le(e.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?s:f.createElement(Sm,ge({asChild:!0},a),s)}),ih="PopoverPortal",[G8,R8]=ah(ih,{forceMount:void 0}),z8=e=>{const{__scopePopover:t,forceMount:n,children:r,container:o}=e,a=er(ih,t);return f.createElement(G8,{scope:t,forceMount:n},f.createElement(dn,{present:n||a.open},f.createElement(Su,{asChild:!0,container:o},r)))},Wo="PopoverContent",H8=f.forwardRef((e,t)=>{const n=R8(Wo,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,a=er(Wo,e.__scopePopover);return f.createElement(dn,{present:r||a.open},a.modal?f.createElement(X8,ge({},o,{ref:t})):f.createElement(Z8,ge({},o,{ref:t})))}),X8=f.forwardRef((e,t)=>{const n=er(Wo,e.__scopePopover),r=f.useRef(null),o=ct(t,r),a=f.useRef(!1);return f.useEffect(()=>{const i=r.current;if(i)return Ym(i)},[]),f.createElement(rh,{as:kr,allowPinchZoom:!0},f.createElement(sh,ge({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Le(e.onCloseAutoFocus,i=>{var s;i.preventDefault(),a.current||(s=n.triggerRef.current)===null||s===void 0||s.focus()}),onPointerDownOutside:Le(e.onPointerDownOutside,i=>{const s=i.detail.originalEvent,l=s.button===0&&s.ctrlKey===!0,u=s.button===2||l;a.current=u},{checkForDefaultPrevented:!1}),onFocusOutside:Le(e.onFocusOutside,i=>i.preventDefault(),{checkForDefaultPrevented:!1})})))}),Z8=f.forwardRef((e,t)=>{const n=er(Wo,e.__scopePopover),r=f.useRef(!1),o=f.useRef(!1);return f.createElement(sh,ge({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:a=>{var i;if((i=e.onCloseAutoFocus)===null||i===void 0||i.call(e,a),!a.defaultPrevented){var s;r.current||(s=n.triggerRef.current)===null||s===void 0||s.focus(),a.preventDefault()}r.current=!1,o.current=!1},onInteractOutside:a=>{var i,s;(i=e.onInteractOutside)===null||i===void 0||i.call(e,a),a.defaultPrevented||(r.current=!0,a.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const l=a.target;((s=n.triggerRef.current)===null||s===void 0?void 0:s.contains(l))&&a.preventDefault(),a.detail.originalEvent.type==="focusin"&&o.current&&a.preventDefault()}}))}),sh=f.forwardRef((e,t)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:a,disableOutsidePointerEvents:i,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onInteractOutside:c,...d}=e,p=er(Wo,n),m=_u(n);return Bm(),f.createElement(Gm,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:a},f.createElement(bu,{asChild:!0,disableOutsidePointerEvents:i,onInteractOutside:c,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onDismiss:()=>p.onOpenChange(!1)},f.createElement(Mm,ge({"data-state":lh(p.open),role:"dialog",id:p.contentId},m,d,{ref:t,style:{...d.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}}))))}),Y8="PopoverClose",U8=f.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=er(Y8,n);return f.createElement(We.button,ge({type:"button"},r,{ref:t,onClick:Le(e.onClick,()=>o.onOpenChange(!1))}))});function lh(e){return e?"open":"closed"}const uh=B8,ch=_8,dh=z8,fh=H8,K8=U8,ph=({children:e,content:t,className:n,isOpen:r,side:o="bottom",align:a="center",hasCloseButton:i=!1,hasShadow:s=!1,sideOffset:l=5,onInteractOutside:u,onOpenAutoFocus:c,...d})=>{const p=ye({base:"flex flex-row justify-end rounded-2xl bg-white ",variants:{hasShadow:{true:"shadow-[0px_4px_30px_0px_rgba(0,0,0,0.15)]"}}});return F.jsxs(uh,{open:r,...d,children:[F.jsx(ch,{asChild:!0,children:e}),F.jsx(dh,{children:F.jsx(fh,{className:vn(n,p({hasShadow:s})),onInteractOutside:u,onOpenAutoFocus:c,side:o,align:a,sideOffset:l,children:F.jsxs("div",{className:"relative flex w-full",children:[t,i&&F.jsx("div",{className:"absolute right-0 top-0 p-6",children:F.jsx(K8,{children:F.jsx(rt,{name:"close",className:"cursor-pointer text-xs text-black"})})})]})})})]})};function Se(e){const t=Object.prototype.toString.call(e);return e instanceof Date||typeof e=="object"&&t==="[object Date]"?new e.constructor(+e):typeof e=="number"||t==="[object Number]"||typeof e=="string"||t==="[object String]"?new Date(e):new Date(NaN)}function wt(e,t){return e instanceof Date?new e.constructor(t):new Date(t)}function it(e,t){const n=Se(e);return isNaN(t)?wt(e,NaN):(t&&n.setDate(n.getDate()+t),n)}function Ft(e,t){const n=Se(e);if(isNaN(t))return wt(e,NaN);if(!t)return n;const r=n.getDate(),o=wt(e,n.getTime());o.setMonth(n.getMonth()+t+1,0);const a=o.getDate();return r>=a?o:(n.setFullYear(o.getFullYear(),o.getMonth(),r),n)}const Gu=6048e5,J8=864e5;let Q8={};function _o(){return Q8}function Xt(e,t){var s,l,u,c;const n=_o(),r=(t==null?void 0:t.weekStartsOn)??((l=(s=t==null?void 0:t.locale)==null?void 0:s.options)==null?void 0:l.weekStartsOn)??n.weekStartsOn??((c=(u=n.locale)==null?void 0:u.options)==null?void 0:c.weekStartsOn)??0,o=Se(e),a=o.getDay(),i=(a<r?7:0)+a-r;return o.setDate(o.getDate()-i),o.setHours(0,0,0,0),o}function tr(e){return Xt(e,{weekStartsOn:1})}function mh(e){const t=Se(e),n=t.getFullYear(),r=wt(e,0);r.setFullYear(n+1,0,4),r.setHours(0,0,0,0);const o=tr(r),a=wt(e,0);a.setFullYear(n,0,4),a.setHours(0,0,0,0);const i=tr(a);return t.getTime()>=o.getTime()?n+1:t.getTime()>=i.getTime()?n:n-1}function Gr(e){const t=Se(e);return t.setHours(0,0,0,0),t}function Gi(e){const t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}function Zt(e,t){const n=Gr(e),r=Gr(t),o=+n-Gi(n),a=+r-Gi(r);return Math.trunc((o-a)/J8)}function q8(e){const t=mh(e),n=wt(e,0);return n.setFullYear(t,0,4),n.setHours(0,0,0,0),tr(n)}function Ru(e,t){const n=t*7;return it(e,n)}function ew(e,t){return Ft(e,t*12)}function tw(e){let t;return e.forEach(function(n){const r=Se(n);(t===void 0||t<r||isNaN(Number(r)))&&(t=r)}),t||new Date(NaN)}function nw(e){let t;return e.forEach(n=>{const r=Se(n);(!t||t>r||isNaN(+r))&&(t=r)}),t||new Date(NaN)}function dt(e,t){const n=Gr(e),r=Gr(t);return+n==+r}function zu(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function rw(e){if(!zu(e)&&typeof e!="number")return!1;const t=Se(e);return!isNaN(Number(t))}function Go(e,t){const n=Se(e),r=Se(t),o=n.getFullYear()-r.getFullYear(),a=n.getMonth()-r.getMonth();return o*12+a}function ow(e,t,n){const r=Xt(e,n),o=Xt(t,n),a=+r-Gi(r),i=+o-Gi(o);return Math.trunc((a-i)/Gu)}function Hu(e){const t=Se(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}function ft(e){const t=Se(e);return t.setDate(1),t.setHours(0,0,0,0),t}function hh(e){const t=Se(e),n=wt(e,0);return n.setFullYear(t.getFullYear(),0,1),n.setHours(0,0,0,0),n}function Xu(e,t){var s,l,u,c;const n=_o(),r=(t==null?void 0:t.weekStartsOn)??((l=(s=t==null?void 0:t.locale)==null?void 0:s.options)==null?void 0:l.weekStartsOn)??n.weekStartsOn??((c=(u=n.locale)==null?void 0:u.options)==null?void 0:c.weekStartsOn)??0,o=Se(e),a=o.getDay(),i=(a<r?-7:0)+6-(a-r);return o.setDate(o.getDate()+i),o.setHours(23,59,59,999),o}function gh(e){return Xu(e,{weekStartsOn:1})}const aw={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},iw=(e,t,n)=>{let r;const o=aw[e];return typeof o=="string"?r=o:t===1?r=o.one:r=o.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};function Zu(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const sw={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},lw={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},uw={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},cw={date:Zu({formats:sw,defaultWidth:"full"}),time:Zu({formats:lw,defaultWidth:"full"}),dateTime:Zu({formats:uw,defaultWidth:"full"})},dw={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},fw=(e,t,n,r)=>dw[e];function Ro(e){return(t,n)=>{const r=n!=null&&n.context?String(n.context):"standalone";let o;if(r==="formatting"&&e.formattingValues){const i=e.defaultFormattingWidth||e.defaultWidth,s=n!=null&&n.width?String(n.width):i;o=e.formattingValues[s]||e.formattingValues[i]}else{const i=e.defaultWidth,s=n!=null&&n.width?String(n.width):e.defaultWidth;o=e.values[s]||e.values[i]}const a=e.argumentCallback?e.argumentCallback(t):t;return o[a]}}const pw={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},mw={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},hw={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},gw={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},bw={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},vw={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},yw={ordinalNumber:(e,t)=>{const n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:Ro({values:pw,defaultWidth:"wide"}),quarter:Ro({values:mw,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Ro({values:hw,defaultWidth:"wide"}),day:Ro({values:gw,defaultWidth:"wide"}),dayPeriod:Ro({values:bw,defaultWidth:"wide",formattingValues:vw,defaultFormattingWidth:"wide"})};function zo(e){return(t,n={})=>{const r=n.width,o=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],a=t.match(o);if(!a)return null;const i=a[0],s=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(s)?Cw(s,d=>d.test(i)):xw(s,d=>d.test(i));let u;u=e.valueCallback?e.valueCallback(l):l,u=n.valueCallback?n.valueCallback(u):u;const c=t.slice(i.length);return{value:u,rest:c}}}function xw(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function Cw(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}function ww(e){return(t,n={})=>{const r=t.match(e.matchPattern);if(!r)return null;const o=r[0],a=t.match(e.parsePattern);if(!a)return null;let i=e.valueCallback?e.valueCallback(a[0]):a[0];i=n.valueCallback?n.valueCallback(i):i;const s=t.slice(o.length);return{value:i,rest:s}}}const Iw=/^(\d+)(th|st|nd|rd)?/i,Ew=/\d+/i,Pw={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Sw={any:[/^b/i,/^(a|c)/i]},Mw={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Aw={any:[/1/i,/2/i,/3/i,/4/i]},Tw={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Dw={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Nw={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},$w={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},kw={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Ow={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},Fw={ordinalNumber:ww({matchPattern:Iw,parsePattern:Ew,valueCallback:e=>parseInt(e,10)}),era:zo({matchPatterns:Pw,defaultMatchWidth:"wide",parsePatterns:Sw,defaultParseWidth:"any"}),quarter:zo({matchPatterns:Mw,defaultMatchWidth:"wide",parsePatterns:Aw,defaultParseWidth:"any",valueCallback:e=>e+1}),month:zo({matchPatterns:Tw,defaultMatchWidth:"wide",parsePatterns:Dw,defaultParseWidth:"any"}),day:zo({matchPatterns:Nw,defaultMatchWidth:"wide",parsePatterns:$w,defaultParseWidth:"any"}),dayPeriod:zo({matchPatterns:kw,defaultMatchWidth:"any",parsePatterns:Ow,defaultParseWidth:"any"})},bh={code:"en-US",formatDistance:iw,formatLong:cw,formatRelative:fw,localize:yw,match:Fw,options:{weekStartsOn:0,firstWeekContainsDate:1}};function Lw(e){const t=Se(e);return Zt(t,hh(t))+1}function vh(e){const t=Se(e),n=+tr(t)-+q8(t);return Math.trunc(n/Gu)+1}function yh(e,t){var c,d,p,m;const n=Se(e),r=n.getFullYear(),o=_o(),a=(t==null?void 0:t.firstWeekContainsDate)??((d=(c=t==null?void 0:t.locale)==null?void 0:c.options)==null?void 0:d.firstWeekContainsDate)??o.firstWeekContainsDate??((m=(p=o.locale)==null?void 0:p.options)==null?void 0:m.firstWeekContainsDate)??1,i=wt(e,0);i.setFullYear(r+1,0,a),i.setHours(0,0,0,0);const s=Xt(i,t),l=wt(e,0);l.setFullYear(r,0,a),l.setHours(0,0,0,0);const u=Xt(l,t);return n.getTime()>=s.getTime()?r+1:n.getTime()>=u.getTime()?r:r-1}function Vw(e,t){var s,l,u,c;const n=_o(),r=(t==null?void 0:t.firstWeekContainsDate)??((l=(s=t==null?void 0:t.locale)==null?void 0:s.options)==null?void 0:l.firstWeekContainsDate)??n.firstWeekContainsDate??((c=(u=n.locale)==null?void 0:u.options)==null?void 0:c.firstWeekContainsDate)??1,o=yh(e,t),a=wt(e,0);return a.setFullYear(o,0,r),a.setHours(0,0,0,0),Xt(a,t)}function xh(e,t){const n=Se(e),r=+Xt(n,t)-+Vw(n,t);return Math.trunc(r/Gu)+1}function ke(e,t){const n=e<0?"-":"",r=Math.abs(e).toString().padStart(t,"0");return n+r}const $n={y(e,t){const n=e.getFullYear(),r=n>0?n:1-n;return ke(t==="yy"?r%100:r,t.length)},M(e,t){const n=e.getMonth();return t==="M"?String(n+1):ke(n+1,2)},d(e,t){return ke(e.getDate(),t.length)},a(e,t){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(e,t){return ke(e.getHours()%12||12,t.length)},H(e,t){return ke(e.getHours(),t.length)},m(e,t){return ke(e.getMinutes(),t.length)},s(e,t){return ke(e.getSeconds(),t.length)},S(e,t){const n=t.length,r=e.getMilliseconds(),o=Math.trunc(r*Math.pow(10,n-3));return ke(o,t.length)}},Rr={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Ch={G:function(e,t,n){const r=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});case"GGGG":default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if(t==="yo"){const r=e.getFullYear(),o=r>0?r:1-r;return n.ordinalNumber(o,{unit:"year"})}return $n.y(e,t)},Y:function(e,t,n,r){const o=yh(e,r),a=o>0?o:1-o;if(t==="YY"){const i=a%100;return ke(i,2)}return t==="Yo"?n.ordinalNumber(a,{unit:"year"}):ke(a,t.length)},R:function(e,t){const n=mh(e);return ke(n,t.length)},u:function(e,t){const n=e.getFullYear();return ke(n,t.length)},Q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return ke(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return ke(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){const r=e.getMonth();switch(t){case"M":case"MM":return $n.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){const r=e.getMonth();switch(t){case"L":return String(r+1);case"LL":return ke(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){const o=xh(e,r);return t==="wo"?n.ordinalNumber(o,{unit:"week"}):ke(o,t.length)},I:function(e,t,n){const r=vh(e);return t==="Io"?n.ordinalNumber(r,{unit:"week"}):ke(r,t.length)},d:function(e,t,n){return t==="do"?n.ordinalNumber(e.getDate(),{unit:"date"}):$n.d(e,t)},D:function(e,t,n){const r=Lw(e);return t==="Do"?n.ordinalNumber(r,{unit:"dayOfYear"}):ke(r,t.length)},E:function(e,t,n){const r=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});case"EEEE":default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){const o=e.getDay(),a=(o-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(a);case"ee":return ke(a,2);case"eo":return n.ordinalNumber(a,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});case"eeee":default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){const o=e.getDay(),a=(o-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(a);case"cc":return ke(a,t.length);case"co":return n.ordinalNumber(a,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});case"cccc":default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(e,t,n){const r=e.getDay(),o=r===0?7:r;switch(t){case"i":return String(o);case"ii":return ke(o,t.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});case"iiii":default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){const o=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(e,t,n){const r=e.getHours();let o;switch(r===12?o=Rr.noon:r===0?o=Rr.midnight:o=r/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(e,t,n){const r=e.getHours();let o;switch(r>=17?o=Rr.evening:r>=12?o=Rr.afternoon:r>=4?o=Rr.morning:o=Rr.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(e,t,n){if(t==="ho"){let r=e.getHours()%12;return r===0&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return $n.h(e,t)},H:function(e,t,n){return t==="Ho"?n.ordinalNumber(e.getHours(),{unit:"hour"}):$n.H(e,t)},K:function(e,t,n){const r=e.getHours()%12;return t==="Ko"?n.ordinalNumber(r,{unit:"hour"}):ke(r,t.length)},k:function(e,t,n){let r=e.getHours();return r===0&&(r=24),t==="ko"?n.ordinalNumber(r,{unit:"hour"}):ke(r,t.length)},m:function(e,t,n){return t==="mo"?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):$n.m(e,t)},s:function(e,t,n){return t==="so"?n.ordinalNumber(e.getSeconds(),{unit:"second"}):$n.s(e,t)},S:function(e,t){return $n.S(e,t)},X:function(e,t,n){const r=e.getTimezoneOffset();if(r===0)return"Z";switch(t){case"X":return Ih(r);case"XXXX":case"XX":return nr(r);case"XXXXX":case"XXX":default:return nr(r,":")}},x:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"x":return Ih(r);case"xxxx":case"xx":return nr(r);case"xxxxx":case"xxx":default:return nr(r,":")}},O:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+wh(r,":");case"OOOO":default:return"GMT"+nr(r,":")}},z:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+wh(r,":");case"zzzz":default:return"GMT"+nr(r,":")}},t:function(e,t,n){const r=Math.trunc(e.getTime()/1e3);return ke(r,t.length)},T:function(e,t,n){const r=e.getTime();return ke(r,t.length)}};function wh(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),o=Math.trunc(r/60),a=r%60;return a===0?n+String(o):n+String(o)+t+ke(a,2)}function Ih(e,t){return e%60===0?(e>0?"-":"+")+ke(Math.abs(e)/60,2):nr(e,t)}function nr(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),o=ke(Math.trunc(r/60),2),a=ke(r%60,2);return n+o+t+a}const Eh=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},Ph=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},jw={p:Ph,P:(e,t)=>{const n=e.match(/(P+)(p+)?/)||[],r=n[1],o=n[2];if(!o)return Eh(e,t);let a;switch(r){case"P":a=t.dateTime({width:"short"});break;case"PP":a=t.dateTime({width:"medium"});break;case"PPP":a=t.dateTime({width:"long"});break;case"PPPP":default:a=t.dateTime({width:"full"});break}return a.replace("{{date}}",Eh(r,t)).replace("{{time}}",Ph(o,t))}},Bw=/^D+$/,Ww=/^Y+$/,_w=["D","DD","YY","YYYY"];function Gw(e){return Bw.test(e)}function Rw(e){return Ww.test(e)}function zw(e,t,n){const r=Hw(e,t,n);if(console.warn(r),_w.includes(e))throw new RangeError(r)}function Hw(e,t,n){const r=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const Xw=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Zw=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Yw=/^'([^]*?)'?$/,Uw=/''/g,Kw=/[a-zA-Z]/;function fn(e,t,n){var c,d,p,m,h,g,b,x;const r=_o(),o=(n==null?void 0:n.locale)??r.locale??bh,a=(n==null?void 0:n.firstWeekContainsDate)??((d=(c=n==null?void 0:n.locale)==null?void 0:c.options)==null?void 0:d.firstWeekContainsDate)??r.firstWeekContainsDate??((m=(p=r.locale)==null?void 0:p.options)==null?void 0:m.firstWeekContainsDate)??1,i=(n==null?void 0:n.weekStartsOn)??((g=(h=n==null?void 0:n.locale)==null?void 0:h.options)==null?void 0:g.weekStartsOn)??r.weekStartsOn??((x=(b=r.locale)==null?void 0:b.options)==null?void 0:x.weekStartsOn)??0,s=Se(e);if(!rw(s))throw new RangeError("Invalid time value");let l=t.match(Zw).map(y=>{const w=y[0];if(w==="p"||w==="P"){const S=jw[w];return S(y,o.formatLong)}return y}).join("").match(Xw).map(y=>{if(y==="''")return{isToken:!1,value:"'"};const w=y[0];if(w==="'")return{isToken:!1,value:Jw(y)};if(Ch[w])return{isToken:!0,value:y};if(w.match(Kw))throw new RangeError("Format string contains an unescaped latin alphabet character `"+w+"`");return{isToken:!1,value:y}});o.localize.preprocessor&&(l=o.localize.preprocessor(s,l));const u={firstWeekContainsDate:a,weekStartsOn:i,locale:o};return l.map(y=>{if(!y.isToken)return y.value;const w=y.value;(!(n!=null&&n.useAdditionalWeekYearTokens)&&Rw(w)||!(n!=null&&n.useAdditionalDayOfYearTokens)&&Gw(w))&&zw(w,t,String(e));const S=Ch[w[0]];return S(s,w,o.localize,u)}).join("")}function Jw(e){const t=e.match(Yw);return t?t[1].replace(Uw,"'"):e}function Qw(e){const t=Se(e),n=t.getFullYear(),r=t.getMonth(),o=wt(e,0);return o.setFullYear(n,r+1,0),o.setHours(0,0,0,0),o.getDate()}function qw(e){return Math.trunc(+Se(e)/1e3)}function eI(e){const t=Se(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(0,0,0,0),t}function tI(e,t){return ow(eI(e),ft(e),t)+1}function Yu(e,t){const n=Se(e),r=Se(t);return n.getTime()>r.getTime()}function Sh(e,t){const n=Se(e),r=Se(t);return+n<+r}function Uu(e,t){const n=Se(e),r=Se(t);return n.getFullYear()===r.getFullYear()&&n.getMonth()===r.getMonth()}function nI(e,t){const n=Se(e),r=Se(t);return n.getFullYear()===r.getFullYear()}function Ku(e,t){return it(e,-t)}function Ju(e,t){const n=Se(e),r=n.getFullYear(),o=n.getDate(),a=wt(e,0);a.setFullYear(r,t,15),a.setHours(0,0,0,0);const i=Qw(a);return n.setMonth(t,Math.min(o,i)),n}function Mh(e,t){const n=Se(e);return isNaN(+n)?wt(e,NaN):(n.setFullYear(t),n)}var me=function(){return me=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},me.apply(this,arguments)};function rI(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function Ah(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,a;r<o;r++)(a||!(r in t))&&(a||(a=Array.prototype.slice.call(t,0,r)),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))}typeof SuppressedError=="function"&&SuppressedError;var Qu={exports:{}},Ho={};/**
|
|
75
|
+
`)},FC=0,_r=[];function LC(e){var t=V.useRef([]),n=V.useRef([0,0]),r=V.useRef(),o=V.useState(FC++)[0],a=V.useState(function(){return F1()})[0],i=V.useRef(e);V.useEffect(function(){i.current=e},[e]),V.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var g=m2([e.lockRef.current],(e.shards||[]).map(th),!0).filter(Boolean);return g.forEach(function(b){return b.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),g.forEach(function(b){return b.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var s=V.useCallback(function(g,b){if("touches"in g&&g.touches.length===2)return!i.current.allowPinchZoom;var x=_i(g),y=n.current,w="deltaX"in g?g.deltaX:y[0]-x[0],S="deltaY"in g?g.deltaY:y[1]-x[1],P,A=g.target,T=Math.abs(w)>Math.abs(S)?"h":"v";if("touches"in g&&T==="h"&&A.type==="range")return!1;var v=Jm(T,A);if(!v)return!0;if(v?P=T:(P=T==="v"?"h":"v",v=Jm(T,A)),!v)return!1;if(!r.current&&"changedTouches"in g&&(w||S)&&(r.current=P),!P)return!0;var D=r.current||P;return $C(D,b,g,D==="h"?w:S,!0)},[]),l=V.useCallback(function(g){var b=g;if(!(!_r.length||_r[_r.length-1]!==a)){var x="deltaY"in b?eh(b):_i(b),y=t.current.filter(function(P){return P.name===b.type&&P.target===b.target&&kC(P.delta,x)})[0];if(y&&y.should){b.cancelable&&b.preventDefault();return}if(!y){var w=(i.current.shards||[]).map(th).filter(Boolean).filter(function(P){return P.contains(b.target)}),S=w.length>0?s(b,w[0]):!i.current.noIsolation;S&&b.cancelable&&b.preventDefault()}}},[]),u=V.useCallback(function(g,b,x,y){var w={name:g,delta:b,target:x,should:y};t.current.push(w),setTimeout(function(){t.current=t.current.filter(function(S){return S!==w})},1)},[]),c=V.useCallback(function(g){n.current=_i(g),r.current=void 0},[]),d=V.useCallback(function(g){u(g.type,eh(g),g.target,s(g,e.lockRef.current))},[]),p=V.useCallback(function(g){u(g.type,_i(g),g.target,s(g,e.lockRef.current))},[]);V.useEffect(function(){return _r.push(a),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:p}),document.addEventListener("wheel",l,Wr),document.addEventListener("touchmove",l,Wr),document.addEventListener("touchstart",c,Wr),function(){_r=_r.filter(function(g){return g!==a}),document.removeEventListener("wheel",l,Wr),document.removeEventListener("touchmove",l,Wr),document.removeEventListener("touchstart",c,Wr)}},[]);var m=e.removeScrollBar,h=e.inert;return V.createElement(V.Fragment,null,h?V.createElement(a,{styles:OC(o)}):null,m?V.createElement(b7,{gapMode:"margin"}):null)}const VC=a7(Um,LC);var nh=V.forwardRef(function(e,t){return V.createElement(Bi,_t({},e,{ref:t,sideCar:VC}))});nh.classNames=Bi.classNames;const rh=nh,oh="Popover",[ah,ND]=Jn(oh,[ki]),_u=ki(),[jC,er]=ah(oh),BC=e=>{const{__scopePopover:t,children:n,open:r,defaultOpen:o,onOpenChange:a,modal:i=!1}=e,s=_u(t),l=f.useRef(null),[u,c]=f.useState(!1),[d=!1,p]=Vo({prop:r,defaultProp:o,onChange:a});return f.createElement(Pm,s,f.createElement(jC,{scope:t,contentId:Qn(),triggerRef:l,open:d,onOpenChange:p,onOpenToggle:f.useCallback(()=>p(m=>!m),[p]),hasCustomAnchor:u,onCustomAnchorAdd:f.useCallback(()=>c(!0),[]),onCustomAnchorRemove:f.useCallback(()=>c(!1),[]),modal:i},n))},WC="PopoverTrigger",_C=f.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=er(WC,n),a=_u(n),i=ct(t,o.triggerRef),s=f.createElement(We.button,ge({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":lh(o.open)},r,{ref:i,onClick:Le(e.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?s:f.createElement(Sm,ge({asChild:!0},a),s)}),ih="PopoverPortal",[GC,RC]=ah(ih,{forceMount:void 0}),zC=e=>{const{__scopePopover:t,forceMount:n,children:r,container:o}=e,a=er(ih,t);return f.createElement(GC,{scope:t,forceMount:n},f.createElement(dn,{present:n||a.open},f.createElement(Su,{asChild:!0,container:o},r)))},Wo="PopoverContent",HC=f.forwardRef((e,t)=>{const n=RC(Wo,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,a=er(Wo,e.__scopePopover);return f.createElement(dn,{present:r||a.open},a.modal?f.createElement(XC,ge({},o,{ref:t})):f.createElement(ZC,ge({},o,{ref:t})))}),XC=f.forwardRef((e,t)=>{const n=er(Wo,e.__scopePopover),r=f.useRef(null),o=ct(t,r),a=f.useRef(!1);return f.useEffect(()=>{const i=r.current;if(i)return Ym(i)},[]),f.createElement(rh,{as:kr,allowPinchZoom:!0},f.createElement(sh,ge({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Le(e.onCloseAutoFocus,i=>{var s;i.preventDefault(),a.current||(s=n.triggerRef.current)===null||s===void 0||s.focus()}),onPointerDownOutside:Le(e.onPointerDownOutside,i=>{const s=i.detail.originalEvent,l=s.button===0&&s.ctrlKey===!0,u=s.button===2||l;a.current=u},{checkForDefaultPrevented:!1}),onFocusOutside:Le(e.onFocusOutside,i=>i.preventDefault(),{checkForDefaultPrevented:!1})})))}),ZC=f.forwardRef((e,t)=>{const n=er(Wo,e.__scopePopover),r=f.useRef(!1),o=f.useRef(!1);return f.createElement(sh,ge({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:a=>{var i;if((i=e.onCloseAutoFocus)===null||i===void 0||i.call(e,a),!a.defaultPrevented){var s;r.current||(s=n.triggerRef.current)===null||s===void 0||s.focus(),a.preventDefault()}r.current=!1,o.current=!1},onInteractOutside:a=>{var i,s;(i=e.onInteractOutside)===null||i===void 0||i.call(e,a),a.defaultPrevented||(r.current=!0,a.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const l=a.target;((s=n.triggerRef.current)===null||s===void 0?void 0:s.contains(l))&&a.preventDefault(),a.detail.originalEvent.type==="focusin"&&o.current&&a.preventDefault()}}))}),sh=f.forwardRef((e,t)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:a,disableOutsidePointerEvents:i,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onInteractOutside:c,...d}=e,p=er(Wo,n),m=_u(n);return Bm(),f.createElement(Gm,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:a},f.createElement(bu,{asChild:!0,disableOutsidePointerEvents:i,onInteractOutside:c,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onDismiss:()=>p.onOpenChange(!1)},f.createElement(Mm,ge({"data-state":lh(p.open),role:"dialog",id:p.contentId},m,d,{ref:t,style:{...d.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}}))))}),YC="PopoverClose",UC=f.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=er(YC,n);return f.createElement(We.button,ge({type:"button"},r,{ref:t,onClick:Le(e.onClick,()=>o.onOpenChange(!1))}))});function lh(e){return e?"open":"closed"}const uh=BC,ch=_C,dh=zC,fh=HC,KC=UC,ph=({children:e,content:t,className:n,isOpen:r,side:o="bottom",align:a="center",hasCloseButton:i=!1,hasShadow:s=!1,sideOffset:l=5,onInteractOutside:u,onOpenAutoFocus:c,...d})=>{const p=ye({base:"flex flex-row justify-end rounded-2xl bg-white ",variants:{hasShadow:{true:"shadow-[0px_4px_30px_0px_rgba(0,0,0,0.15)]"}}});return F.jsxs(uh,{open:r,...d,children:[F.jsx(ch,{asChild:!0,children:e}),F.jsx(dh,{children:F.jsx(fh,{className:vn(n,p({hasShadow:s})),onInteractOutside:u,onOpenAutoFocus:c,side:o,align:a,sideOffset:l,children:F.jsxs("div",{className:"relative flex w-full",children:[t,i&&F.jsx("div",{className:"absolute right-0 top-0 p-6",children:F.jsx(KC,{children:F.jsx(rt,{name:"close",className:"cursor-pointer text-xs text-black"})})})]})})})]})};function Se(e){const t=Object.prototype.toString.call(e);return e instanceof Date||typeof e=="object"&&t==="[object Date]"?new e.constructor(+e):typeof e=="number"||t==="[object Number]"||typeof e=="string"||t==="[object String]"?new Date(e):new Date(NaN)}function wt(e,t){return e instanceof Date?new e.constructor(t):new Date(t)}function it(e,t){const n=Se(e);return isNaN(t)?wt(e,NaN):(t&&n.setDate(n.getDate()+t),n)}function Ft(e,t){const n=Se(e);if(isNaN(t))return wt(e,NaN);if(!t)return n;const r=n.getDate(),o=wt(e,n.getTime());o.setMonth(n.getMonth()+t+1,0);const a=o.getDate();return r>=a?o:(n.setFullYear(o.getFullYear(),o.getMonth(),r),n)}const Gu=6048e5,JC=864e5;let QC={};function _o(){return QC}function Xt(e,t){var s,l,u,c;const n=_o(),r=(t==null?void 0:t.weekStartsOn)??((l=(s=t==null?void 0:t.locale)==null?void 0:s.options)==null?void 0:l.weekStartsOn)??n.weekStartsOn??((c=(u=n.locale)==null?void 0:u.options)==null?void 0:c.weekStartsOn)??0,o=Se(e),a=o.getDay(),i=(a<r?7:0)+a-r;return o.setDate(o.getDate()-i),o.setHours(0,0,0,0),o}function tr(e){return Xt(e,{weekStartsOn:1})}function mh(e){const t=Se(e),n=t.getFullYear(),r=wt(e,0);r.setFullYear(n+1,0,4),r.setHours(0,0,0,0);const o=tr(r),a=wt(e,0);a.setFullYear(n,0,4),a.setHours(0,0,0,0);const i=tr(a);return t.getTime()>=o.getTime()?n+1:t.getTime()>=i.getTime()?n:n-1}function Gr(e){const t=Se(e);return t.setHours(0,0,0,0),t}function Gi(e){const t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}function Zt(e,t){const n=Gr(e),r=Gr(t),o=+n-Gi(n),a=+r-Gi(r);return Math.trunc((o-a)/JC)}function qC(e){const t=mh(e),n=wt(e,0);return n.setFullYear(t,0,4),n.setHours(0,0,0,0),tr(n)}function Ru(e,t){const n=t*7;return it(e,n)}function ew(e,t){return Ft(e,t*12)}function tw(e){let t;return e.forEach(function(n){const r=Se(n);(t===void 0||t<r||isNaN(Number(r)))&&(t=r)}),t||new Date(NaN)}function nw(e){let t;return e.forEach(n=>{const r=Se(n);(!t||t>r||isNaN(+r))&&(t=r)}),t||new Date(NaN)}function dt(e,t){const n=Gr(e),r=Gr(t);return+n==+r}function zu(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function rw(e){if(!zu(e)&&typeof e!="number")return!1;const t=Se(e);return!isNaN(Number(t))}function Go(e,t){const n=Se(e),r=Se(t),o=n.getFullYear()-r.getFullYear(),a=n.getMonth()-r.getMonth();return o*12+a}function ow(e,t,n){const r=Xt(e,n),o=Xt(t,n),a=+r-Gi(r),i=+o-Gi(o);return Math.trunc((a-i)/Gu)}function Hu(e){const t=Se(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}function ft(e){const t=Se(e);return t.setDate(1),t.setHours(0,0,0,0),t}function hh(e){const t=Se(e),n=wt(e,0);return n.setFullYear(t.getFullYear(),0,1),n.setHours(0,0,0,0),n}function Xu(e,t){var s,l,u,c;const n=_o(),r=(t==null?void 0:t.weekStartsOn)??((l=(s=t==null?void 0:t.locale)==null?void 0:s.options)==null?void 0:l.weekStartsOn)??n.weekStartsOn??((c=(u=n.locale)==null?void 0:u.options)==null?void 0:c.weekStartsOn)??0,o=Se(e),a=o.getDay(),i=(a<r?-7:0)+6-(a-r);return o.setDate(o.getDate()+i),o.setHours(23,59,59,999),o}function gh(e){return Xu(e,{weekStartsOn:1})}const aw={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},iw=(e,t,n)=>{let r;const o=aw[e];return typeof o=="string"?r=o:t===1?r=o.one:r=o.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};function Zu(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const sw={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},lw={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},uw={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},cw={date:Zu({formats:sw,defaultWidth:"full"}),time:Zu({formats:lw,defaultWidth:"full"}),dateTime:Zu({formats:uw,defaultWidth:"full"})},dw={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},fw=(e,t,n,r)=>dw[e];function Ro(e){return(t,n)=>{const r=n!=null&&n.context?String(n.context):"standalone";let o;if(r==="formatting"&&e.formattingValues){const i=e.defaultFormattingWidth||e.defaultWidth,s=n!=null&&n.width?String(n.width):i;o=e.formattingValues[s]||e.formattingValues[i]}else{const i=e.defaultWidth,s=n!=null&&n.width?String(n.width):e.defaultWidth;o=e.values[s]||e.values[i]}const a=e.argumentCallback?e.argumentCallback(t):t;return o[a]}}const pw={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},mw={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},hw={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},gw={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},bw={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},vw={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},yw={ordinalNumber:(e,t)=>{const n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:Ro({values:pw,defaultWidth:"wide"}),quarter:Ro({values:mw,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Ro({values:hw,defaultWidth:"wide"}),day:Ro({values:gw,defaultWidth:"wide"}),dayPeriod:Ro({values:bw,defaultWidth:"wide",formattingValues:vw,defaultFormattingWidth:"wide"})};function zo(e){return(t,n={})=>{const r=n.width,o=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],a=t.match(o);if(!a)return null;const i=a[0],s=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(s)?Cw(s,d=>d.test(i)):xw(s,d=>d.test(i));let u;u=e.valueCallback?e.valueCallback(l):l,u=n.valueCallback?n.valueCallback(u):u;const c=t.slice(i.length);return{value:u,rest:c}}}function xw(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function Cw(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}function ww(e){return(t,n={})=>{const r=t.match(e.matchPattern);if(!r)return null;const o=r[0],a=t.match(e.parsePattern);if(!a)return null;let i=e.valueCallback?e.valueCallback(a[0]):a[0];i=n.valueCallback?n.valueCallback(i):i;const s=t.slice(o.length);return{value:i,rest:s}}}const Iw=/^(\d+)(th|st|nd|rd)?/i,Ew=/\d+/i,Pw={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Sw={any:[/^b/i,/^(a|c)/i]},Mw={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Aw={any:[/1/i,/2/i,/3/i,/4/i]},Tw={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Dw={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Nw={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},$w={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},kw={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Ow={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},Fw={ordinalNumber:ww({matchPattern:Iw,parsePattern:Ew,valueCallback:e=>parseInt(e,10)}),era:zo({matchPatterns:Pw,defaultMatchWidth:"wide",parsePatterns:Sw,defaultParseWidth:"any"}),quarter:zo({matchPatterns:Mw,defaultMatchWidth:"wide",parsePatterns:Aw,defaultParseWidth:"any",valueCallback:e=>e+1}),month:zo({matchPatterns:Tw,defaultMatchWidth:"wide",parsePatterns:Dw,defaultParseWidth:"any"}),day:zo({matchPatterns:Nw,defaultMatchWidth:"wide",parsePatterns:$w,defaultParseWidth:"any"}),dayPeriod:zo({matchPatterns:kw,defaultMatchWidth:"any",parsePatterns:Ow,defaultParseWidth:"any"})},bh={code:"en-US",formatDistance:iw,formatLong:cw,formatRelative:fw,localize:yw,match:Fw,options:{weekStartsOn:0,firstWeekContainsDate:1}};function Lw(e){const t=Se(e);return Zt(t,hh(t))+1}function vh(e){const t=Se(e),n=+tr(t)-+qC(t);return Math.trunc(n/Gu)+1}function yh(e,t){var c,d,p,m;const n=Se(e),r=n.getFullYear(),o=_o(),a=(t==null?void 0:t.firstWeekContainsDate)??((d=(c=t==null?void 0:t.locale)==null?void 0:c.options)==null?void 0:d.firstWeekContainsDate)??o.firstWeekContainsDate??((m=(p=o.locale)==null?void 0:p.options)==null?void 0:m.firstWeekContainsDate)??1,i=wt(e,0);i.setFullYear(r+1,0,a),i.setHours(0,0,0,0);const s=Xt(i,t),l=wt(e,0);l.setFullYear(r,0,a),l.setHours(0,0,0,0);const u=Xt(l,t);return n.getTime()>=s.getTime()?r+1:n.getTime()>=u.getTime()?r:r-1}function Vw(e,t){var s,l,u,c;const n=_o(),r=(t==null?void 0:t.firstWeekContainsDate)??((l=(s=t==null?void 0:t.locale)==null?void 0:s.options)==null?void 0:l.firstWeekContainsDate)??n.firstWeekContainsDate??((c=(u=n.locale)==null?void 0:u.options)==null?void 0:c.firstWeekContainsDate)??1,o=yh(e,t),a=wt(e,0);return a.setFullYear(o,0,r),a.setHours(0,0,0,0),Xt(a,t)}function xh(e,t){const n=Se(e),r=+Xt(n,t)-+Vw(n,t);return Math.trunc(r/Gu)+1}function ke(e,t){const n=e<0?"-":"",r=Math.abs(e).toString().padStart(t,"0");return n+r}const $n={y(e,t){const n=e.getFullYear(),r=n>0?n:1-n;return ke(t==="yy"?r%100:r,t.length)},M(e,t){const n=e.getMonth();return t==="M"?String(n+1):ke(n+1,2)},d(e,t){return ke(e.getDate(),t.length)},a(e,t){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(e,t){return ke(e.getHours()%12||12,t.length)},H(e,t){return ke(e.getHours(),t.length)},m(e,t){return ke(e.getMinutes(),t.length)},s(e,t){return ke(e.getSeconds(),t.length)},S(e,t){const n=t.length,r=e.getMilliseconds(),o=Math.trunc(r*Math.pow(10,n-3));return ke(o,t.length)}},Rr={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Ch={G:function(e,t,n){const r=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});case"GGGG":default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if(t==="yo"){const r=e.getFullYear(),o=r>0?r:1-r;return n.ordinalNumber(o,{unit:"year"})}return $n.y(e,t)},Y:function(e,t,n,r){const o=yh(e,r),a=o>0?o:1-o;if(t==="YY"){const i=a%100;return ke(i,2)}return t==="Yo"?n.ordinalNumber(a,{unit:"year"}):ke(a,t.length)},R:function(e,t){const n=mh(e);return ke(n,t.length)},u:function(e,t){const n=e.getFullYear();return ke(n,t.length)},Q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return ke(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return ke(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){const r=e.getMonth();switch(t){case"M":case"MM":return $n.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){const r=e.getMonth();switch(t){case"L":return String(r+1);case"LL":return ke(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){const o=xh(e,r);return t==="wo"?n.ordinalNumber(o,{unit:"week"}):ke(o,t.length)},I:function(e,t,n){const r=vh(e);return t==="Io"?n.ordinalNumber(r,{unit:"week"}):ke(r,t.length)},d:function(e,t,n){return t==="do"?n.ordinalNumber(e.getDate(),{unit:"date"}):$n.d(e,t)},D:function(e,t,n){const r=Lw(e);return t==="Do"?n.ordinalNumber(r,{unit:"dayOfYear"}):ke(r,t.length)},E:function(e,t,n){const r=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});case"EEEE":default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){const o=e.getDay(),a=(o-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(a);case"ee":return ke(a,2);case"eo":return n.ordinalNumber(a,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});case"eeee":default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){const o=e.getDay(),a=(o-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(a);case"cc":return ke(a,t.length);case"co":return n.ordinalNumber(a,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});case"cccc":default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(e,t,n){const r=e.getDay(),o=r===0?7:r;switch(t){case"i":return String(o);case"ii":return ke(o,t.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});case"iiii":default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){const o=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(e,t,n){const r=e.getHours();let o;switch(r===12?o=Rr.noon:r===0?o=Rr.midnight:o=r/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(e,t,n){const r=e.getHours();let o;switch(r>=17?o=Rr.evening:r>=12?o=Rr.afternoon:r>=4?o=Rr.morning:o=Rr.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(e,t,n){if(t==="ho"){let r=e.getHours()%12;return r===0&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return $n.h(e,t)},H:function(e,t,n){return t==="Ho"?n.ordinalNumber(e.getHours(),{unit:"hour"}):$n.H(e,t)},K:function(e,t,n){const r=e.getHours()%12;return t==="Ko"?n.ordinalNumber(r,{unit:"hour"}):ke(r,t.length)},k:function(e,t,n){let r=e.getHours();return r===0&&(r=24),t==="ko"?n.ordinalNumber(r,{unit:"hour"}):ke(r,t.length)},m:function(e,t,n){return t==="mo"?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):$n.m(e,t)},s:function(e,t,n){return t==="so"?n.ordinalNumber(e.getSeconds(),{unit:"second"}):$n.s(e,t)},S:function(e,t){return $n.S(e,t)},X:function(e,t,n){const r=e.getTimezoneOffset();if(r===0)return"Z";switch(t){case"X":return Ih(r);case"XXXX":case"XX":return nr(r);case"XXXXX":case"XXX":default:return nr(r,":")}},x:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"x":return Ih(r);case"xxxx":case"xx":return nr(r);case"xxxxx":case"xxx":default:return nr(r,":")}},O:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+wh(r,":");case"OOOO":default:return"GMT"+nr(r,":")}},z:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+wh(r,":");case"zzzz":default:return"GMT"+nr(r,":")}},t:function(e,t,n){const r=Math.trunc(e.getTime()/1e3);return ke(r,t.length)},T:function(e,t,n){const r=e.getTime();return ke(r,t.length)}};function wh(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),o=Math.trunc(r/60),a=r%60;return a===0?n+String(o):n+String(o)+t+ke(a,2)}function Ih(e,t){return e%60===0?(e>0?"-":"+")+ke(Math.abs(e)/60,2):nr(e,t)}function nr(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),o=ke(Math.trunc(r/60),2),a=ke(r%60,2);return n+o+t+a}const Eh=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},Ph=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},jw={p:Ph,P:(e,t)=>{const n=e.match(/(P+)(p+)?/)||[],r=n[1],o=n[2];if(!o)return Eh(e,t);let a;switch(r){case"P":a=t.dateTime({width:"short"});break;case"PP":a=t.dateTime({width:"medium"});break;case"PPP":a=t.dateTime({width:"long"});break;case"PPPP":default:a=t.dateTime({width:"full"});break}return a.replace("{{date}}",Eh(r,t)).replace("{{time}}",Ph(o,t))}},Bw=/^D+$/,Ww=/^Y+$/,_w=["D","DD","YY","YYYY"];function Gw(e){return Bw.test(e)}function Rw(e){return Ww.test(e)}function zw(e,t,n){const r=Hw(e,t,n);if(console.warn(r),_w.includes(e))throw new RangeError(r)}function Hw(e,t,n){const r=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const Xw=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Zw=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Yw=/^'([^]*?)'?$/,Uw=/''/g,Kw=/[a-zA-Z]/;function fn(e,t,n){var c,d,p,m,h,g,b,x;const r=_o(),o=(n==null?void 0:n.locale)??r.locale??bh,a=(n==null?void 0:n.firstWeekContainsDate)??((d=(c=n==null?void 0:n.locale)==null?void 0:c.options)==null?void 0:d.firstWeekContainsDate)??r.firstWeekContainsDate??((m=(p=r.locale)==null?void 0:p.options)==null?void 0:m.firstWeekContainsDate)??1,i=(n==null?void 0:n.weekStartsOn)??((g=(h=n==null?void 0:n.locale)==null?void 0:h.options)==null?void 0:g.weekStartsOn)??r.weekStartsOn??((x=(b=r.locale)==null?void 0:b.options)==null?void 0:x.weekStartsOn)??0,s=Se(e);if(!rw(s))throw new RangeError("Invalid time value");let l=t.match(Zw).map(y=>{const w=y[0];if(w==="p"||w==="P"){const S=jw[w];return S(y,o.formatLong)}return y}).join("").match(Xw).map(y=>{if(y==="''")return{isToken:!1,value:"'"};const w=y[0];if(w==="'")return{isToken:!1,value:Jw(y)};if(Ch[w])return{isToken:!0,value:y};if(w.match(Kw))throw new RangeError("Format string contains an unescaped latin alphabet character `"+w+"`");return{isToken:!1,value:y}});o.localize.preprocessor&&(l=o.localize.preprocessor(s,l));const u={firstWeekContainsDate:a,weekStartsOn:i,locale:o};return l.map(y=>{if(!y.isToken)return y.value;const w=y.value;(!(n!=null&&n.useAdditionalWeekYearTokens)&&Rw(w)||!(n!=null&&n.useAdditionalDayOfYearTokens)&&Gw(w))&&zw(w,t,String(e));const S=Ch[w[0]];return S(s,w,o.localize,u)}).join("")}function Jw(e){const t=e.match(Yw);return t?t[1].replace(Uw,"'"):e}function Qw(e){const t=Se(e),n=t.getFullYear(),r=t.getMonth(),o=wt(e,0);return o.setFullYear(n,r+1,0),o.setHours(0,0,0,0),o.getDate()}function qw(e){return Math.trunc(+Se(e)/1e3)}function eI(e){const t=Se(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(0,0,0,0),t}function tI(e,t){return ow(eI(e),ft(e),t)+1}function Yu(e,t){const n=Se(e),r=Se(t);return n.getTime()>r.getTime()}function Sh(e,t){const n=Se(e),r=Se(t);return+n<+r}function Uu(e,t){const n=Se(e),r=Se(t);return n.getFullYear()===r.getFullYear()&&n.getMonth()===r.getMonth()}function nI(e,t){const n=Se(e),r=Se(t);return n.getFullYear()===r.getFullYear()}function Ku(e,t){return it(e,-t)}function Ju(e,t){const n=Se(e),r=n.getFullYear(),o=n.getDate(),a=wt(e,0);a.setFullYear(r,t,15),a.setHours(0,0,0,0);const i=Qw(a);return n.setMonth(t,Math.min(o,i)),n}function Mh(e,t){const n=Se(e);return isNaN(+n)?wt(e,NaN):(n.setFullYear(t),n)}var me=function(){return me=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},me.apply(this,arguments)};function rI(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function Ah(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,a;r<o;r++)(a||!(r in t))&&(a||(a=Array.prototype.slice.call(t,0,r)),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))}typeof SuppressedError=="function"&&SuppressedError;var Qu={exports:{}},Ho={};/**
|
|
76
76
|
* @license React
|
|
77
77
|
* react-jsx-runtime.development.js
|
|
78
78
|
*
|
|
@@ -80,7 +80,7 @@ Check the top-level render call using <`+_+">.")}return L}}function ba(C,L){{if(
|
|
|
80
80
|
*
|
|
81
81
|
* This source code is licensed under the MIT license found in the
|
|
82
82
|
* LICENSE file in the root directory of this source tree.
|
|
83
|
-
*/var Th;function oI(){return Th||(Th=1,process.env.NODE_ENV!=="production"&&function(){var e=f,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),s=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),h=Symbol.iterator,g="@@iterator";function b(C){if(C===null||typeof C!="object")return null;var L=h&&C[h]||C[g];return typeof L=="function"?L:null}var x=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function y(C){{for(var L=arguments.length,_=new Array(L>1?L-1:0),U=1;U<L;U++)_[U-1]=arguments[U];w("error",C,_)}}function w(C,L,_){{var U=x.ReactDebugCurrentFrame,oe=U.getStackAddendum();oe!==""&&(L+="%s",_=_.concat([oe]));var se=_.map(function(te){return String(te)});se.unshift("Warning: "+L),Function.prototype.apply.call(console[C],console,se)}}var S=!1,
|
|
83
|
+
*/var Th;function oI(){return Th||(Th=1,process.env.NODE_ENV!=="production"&&function(){var e=f,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),s=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),h=Symbol.iterator,g="@@iterator";function b(C){if(C===null||typeof C!="object")return null;var L=h&&C[h]||C[g];return typeof L=="function"?L:null}var x=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function y(C){{for(var L=arguments.length,_=new Array(L>1?L-1:0),U=1;U<L;U++)_[U-1]=arguments[U];w("error",C,_)}}function w(C,L,_){{var U=x.ReactDebugCurrentFrame,oe=U.getStackAddendum();oe!==""&&(L+="%s",_=_.concat([oe]));var se=_.map(function(te){return String(te)});se.unshift("Warning: "+L),Function.prototype.apply.call(console[C],console,se)}}var S=!1,P=!1,A=!1,T=!1,v=!1,D;D=Symbol.for("react.module.reference");function $(C){return!!(typeof C=="string"||typeof C=="function"||C===r||C===a||v||C===o||C===u||C===c||T||C===m||S||P||A||typeof C=="object"&&C!==null&&(C.$$typeof===p||C.$$typeof===d||C.$$typeof===i||C.$$typeof===s||C.$$typeof===l||C.$$typeof===D||C.getModuleId!==void 0))}function M(C,L,_){var U=C.displayName;if(U)return U;var oe=L.displayName||L.name||"";return oe!==""?_+"("+oe+")":_}function k(C){return C.displayName||"Context"}function I(C){if(C==null)return null;if(typeof C.tag=="number"&&y("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof C=="function")return C.displayName||C.name||null;if(typeof C=="string")return C;switch(C){case r:return"Fragment";case n:return"Portal";case a:return"Profiler";case o:return"StrictMode";case u:return"Suspense";case c:return"SuspenseList"}if(typeof C=="object")switch(C.$$typeof){case s:var L=C;return k(L)+".Consumer";case i:var _=C;return k(_._context)+".Provider";case l:return M(C,C.render,"ForwardRef");case d:var U=C.displayName||null;return U!==null?U:I(C.type)||"Memo";case p:{var oe=C,se=oe._payload,te=oe._init;try{return I(te(se))}catch{return null}}}return null}var E=Object.assign,O=0,j,N,W,K,H,X,B;function G(){}G.__reactDisabledLog=!0;function Y(){{if(O===0){j=console.log,N=console.info,W=console.warn,K=console.error,H=console.group,X=console.groupCollapsed,B=console.groupEnd;var C={configurable:!0,enumerable:!0,value:G,writable:!0};Object.defineProperties(console,{info:C,log:C,warn:C,error:C,group:C,groupCollapsed:C,groupEnd:C})}O++}}function R(){{if(O--,O===0){var C={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:E({},C,{value:j}),info:E({},C,{value:N}),warn:E({},C,{value:W}),error:E({},C,{value:K}),group:E({},C,{value:H}),groupCollapsed:E({},C,{value:X}),groupEnd:E({},C,{value:B})})}O<0&&y("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Z=x.ReactCurrentDispatcher,q;function ae(C,L,_){{if(q===void 0)try{throw Error()}catch(oe){var U=oe.stack.trim().match(/\n( *(at )?)/);q=U&&U[1]||""}return`
|
|
84
84
|
`+q+C}}var le=!1,pe;{var be=typeof WeakMap=="function"?WeakMap:Map;pe=new be}function Q(C,L){if(!C||le)return"";{var _=pe.get(C);if(_!==void 0)return _}var U;le=!0;var oe=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var se;se=Z.current,Z.current=null,Y();try{if(L){var te=function(){throw Error()};if(Object.defineProperty(te.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(te,[])}catch(Ke){U=Ke}Reflect.construct(C,[],te)}else{try{te.call()}catch(Ke){U=Ke}C.call(te.prototype)}}else{try{throw Error()}catch(Ke){U=Ke}C()}}catch(Ke){if(Ke&&U&&typeof Ke.stack=="string"){for(var ee=Ke.stack.split(`
|
|
85
85
|
`),De=U.stack.split(`
|
|
86
86
|
`),ve=ee.length-1,Ce=De.length-1;ve>=1&&Ce>=0&&ee[ve]!==De[Ce];)Ce--;for(;ve>=1&&Ce>=0;ve--,Ce--)if(ee[ve]!==De[Ce]){if(ve!==1||Ce!==1)do if(ve--,Ce--,Ce<0||ee[ve]!==De[Ce]){var _e=`
|
|
@@ -98,25 +98,25 @@ Check the top-level render call using <`+_+">.")}return L}}function ba(C,L){{if(
|
|
|
98
98
|
*
|
|
99
99
|
* This source code is licensed under the MIT license found in the
|
|
100
100
|
* LICENSE file in the root directory of this source tree.
|
|
101
|
-
*/var Dh;function aI(){if(Dh)return Xo;Dh=1;var e=f,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function i(s,l,u){var c,d={},p=null,m=null;u!==void 0&&(p=""+u),l.key!==void 0&&(p=""+l.key),l.ref!==void 0&&(m=l.ref);for(c in l)r.call(l,c)&&!a.hasOwnProperty(c)&&(d[c]=l[c]);if(s&&s.defaultProps)for(c in l=s.defaultProps,l)d[c]===void 0&&(d[c]=l[c]);return{$$typeof:t,type:s,key:p,ref:m,props:d,_owner:o.current}}return Xo.Fragment=n,Xo.jsx=i,Xo.jsxs=i,Xo}process.env.NODE_ENV==="production"?Qu.exports=aI():Qu.exports=oI();var z=Qu.exports;function Zo(e){return e.mode==="multiple"}function Yo(e){return e.mode==="range"}function Ri(e){return e.mode==="single"}var iI={root:"rdp",multiple_months:"rdp-multiple_months",with_weeknumber:"rdp-with_weeknumber",vhidden:"rdp-vhidden",button_reset:"rdp-button_reset",button:"rdp-button",caption:"rdp-caption",caption_start:"rdp-caption_start",caption_end:"rdp-caption_end",caption_between:"rdp-caption_between",caption_label:"rdp-caption_label",caption_dropdowns:"rdp-caption_dropdowns",dropdown:"rdp-dropdown",dropdown_month:"rdp-dropdown_month",dropdown_year:"rdp-dropdown_year",dropdown_icon:"rdp-dropdown_icon",months:"rdp-months",month:"rdp-month",table:"rdp-table",tbody:"rdp-tbody",tfoot:"rdp-tfoot",head:"rdp-head",head_row:"rdp-head_row",head_cell:"rdp-head_cell",nav:"rdp-nav",nav_button:"rdp-nav_button",nav_button_previous:"rdp-nav_button_previous",nav_button_next:"rdp-nav_button_next",nav_icon:"rdp-nav_icon",row:"rdp-row",weeknumber:"rdp-weeknumber",cell:"rdp-cell",day:"rdp-day",day_today:"rdp-day_today",day_outside:"rdp-day_outside",day_selected:"rdp-day_selected",day_disabled:"rdp-day_disabled",day_hidden:"rdp-day_hidden",day_range_start:"rdp-day_range_start",day_range_end:"rdp-day_range_end",day_range_middle:"rdp-day_range_middle"};function sI(e,t){return fn(e,"LLLL y",t)}function lI(e,t){return fn(e,"d",t)}function uI(e,t){return fn(e,"LLLL",t)}function cI(e){return"".concat(e)}function dI(e,t){return fn(e,"cccccc",t)}function fI(e,t){return fn(e,"yyyy",t)}var pI=Object.freeze({__proto__:null,formatCaption:sI,formatDay:lI,formatMonthCaption:uI,formatWeekNumber:cI,formatWeekdayName:dI,formatYearCaption:fI}),mI=function(e,t,n){return fn(e,"do MMMM (EEEE)",n)},hI=function(){return"Month: "},gI=function(){return"Go to next month"},bI=function(){return"Go to previous month"},vI=function(e,t){return fn(e,"cccc",t)},yI=function(e){return"Week n. ".concat(e)},xI=function(){return"Year: "},CI=Object.freeze({__proto__:null,labelDay:mI,labelMonthDropdown:hI,labelNext:gI,labelPrevious:bI,labelWeekNumber:yI,labelWeekday:vI,labelYearDropdown:xI});function wI(){var e="buttons",t=iI,n=bh,r={},o={},a=1,i={},s=new Date;return{captionLayout:e,classNames:t,formatters:pI,labels:CI,locale:n,modifiersClassNames:r,modifiers:o,numberOfMonths:a,styles:i,today:s,mode:"default"}}function II(e){var t=e.fromYear,n=e.toYear,r=e.fromMonth,o=e.toMonth,a=e.fromDate,i=e.toDate;return r?a=ft(r):t&&(a=new Date(t,0,1)),o?i=Hu(o):n&&(i=new Date(n,11,31)),{fromDate:a?Gr(a):void 0,toDate:i?Gr(i):void 0}}var Nh=f.createContext(void 0);function EI(e){var t,n=e.initialProps,r=wI(),o=II(n),a=o.fromDate,i=o.toDate,s=(t=n.captionLayout)!==null&&t!==void 0?t:r.captionLayout;s!=="buttons"&&(!a||!i)&&(s="buttons");var l;(Ri(n)||Zo(n)||Yo(n))&&(l=n.onSelect);var u=me(me(me({},r),n),{captionLayout:s,classNames:me(me({},r.classNames),n.classNames),components:me({},n.components),formatters:me(me({},r.formatters),n.formatters),fromDate:a,labels:me(me({},r.labels),n.labels),mode:n.mode||r.mode,modifiers:me(me({},r.modifiers),n.modifiers),modifiersClassNames:me(me({},r.modifiersClassNames),n.modifiersClassNames),onSelect:l,styles:me(me({},r.styles),n.styles),toDate:i});return z.jsx(Nh.Provider,{value:u,children:e.children})}function Ve(){var e=f.useContext(Nh);if(!e)throw new Error("useDayPicker must be used within a DayPickerProvider.");return e}function $h(e){var t=Ve(),n=t.locale,r=t.classNames,o=t.styles,a=t.formatters.formatCaption;return z.jsx("div",{className:r.caption_label,style:o.caption_label,"aria-live":"polite",role:"presentation",id:e.id,children:a(e.displayMonth,{locale:n})})}function PI(e){return z.jsx("svg",me({width:"8px",height:"8px",viewBox:"0 0 120 120","data-testid":"iconDropdown"},e,{children:z.jsx("path",{d:"M4.22182541,48.2218254 C8.44222828,44.0014225 15.2388494,43.9273804 19.5496459,47.9996989 L19.7781746,48.2218254 L60,88.443 L100.221825,48.2218254 C104.442228,44.0014225 111.238849,43.9273804 115.549646,47.9996989 L115.778175,48.2218254 C119.998577,52.4422283 120.07262,59.2388494 116.000301,63.5496459 L115.778175,63.7781746 L67.7781746,111.778175 C63.5577717,115.998577 56.7611506,116.07262 52.4503541,112.000301 L52.2218254,111.778175 L4.22182541,63.7781746 C-0.0739418023,59.4824074 -0.0739418023,52.5175926 4.22182541,48.2218254 Z",fill:"currentColor",fillRule:"nonzero"})}))}function kh(e){var t,n,r=e.onChange,o=e.value,a=e.children,i=e.caption,s=e.className,l=e.style,u=Ve(),c=(n=(t=u.components)===null||t===void 0?void 0:t.IconDropdown)!==null&&n!==void 0?n:PI;return z.jsxs("div",{className:s,style:l,children:[z.jsx("span",{className:u.classNames.vhidden,children:e["aria-label"]}),z.jsx("select",{name:e.name,"aria-label":e["aria-label"],className:u.classNames.dropdown,style:u.styles.dropdown,value:o,onChange:r,children:a}),z.jsxs("div",{className:u.classNames.caption_label,style:u.styles.caption_label,"aria-hidden":"true",children:[i,z.jsx(c,{className:u.classNames.dropdown_icon,style:u.styles.dropdown_icon})]})]})}function SI(e){var t,n=Ve(),r=n.fromDate,o=n.toDate,a=n.styles,i=n.locale,s=n.formatters.formatMonthCaption,l=n.classNames,u=n.components,c=n.labels.labelMonthDropdown;if(!r)return z.jsx(z.Fragment,{});if(!o)return z.jsx(z.Fragment,{});var d=[];if(nI(r,o))for(var p=ft(r),m=r.getMonth();m<=o.getMonth();m++)d.push(Ju(p,m));else for(var p=ft(new Date),m=0;m<=11;m++)d.push(Ju(p,m));var h=function(b){var x=Number(b.target.value),y=Ju(ft(e.displayMonth),x);e.onChange(y)},g=(t=u==null?void 0:u.Dropdown)!==null&&t!==void 0?t:kh;return z.jsx(g,{name:"months","aria-label":c(),className:l.dropdown_month,style:a.dropdown_month,onChange:h,value:e.displayMonth.getMonth(),caption:s(e.displayMonth,{locale:i}),children:d.map(function(b){return z.jsx("option",{value:b.getMonth(),children:s(b,{locale:i})},b.getMonth())})})}function MI(e){var t,n=e.displayMonth,r=Ve(),o=r.fromDate,a=r.toDate,i=r.locale,s=r.styles,l=r.classNames,u=r.components,c=r.formatters.formatYearCaption,d=r.labels.labelYearDropdown,p=[];if(!o)return z.jsx(z.Fragment,{});if(!a)return z.jsx(z.Fragment,{});for(var m=o.getFullYear(),h=a.getFullYear(),g=m;g<=h;g++)p.push(Mh(hh(new Date),g));var b=function(y){var w=Mh(ft(n),Number(y.target.value));e.onChange(w)},x=(t=u==null?void 0:u.Dropdown)!==null&&t!==void 0?t:kh;return z.jsx(x,{name:"years","aria-label":d(),className:l.dropdown_year,style:s.dropdown_year,onChange:b,value:n.getFullYear(),caption:c(n,{locale:i}),children:p.map(function(y){return z.jsx("option",{value:y.getFullYear(),children:c(y,{locale:i})},y.getFullYear())})})}function AI(e,t){var n=f.useState(e),r=n[0],o=n[1],a=t===void 0?r:t;return[a,o]}function TI(e){var t=e.month,n=e.defaultMonth,r=e.today,o=t||n||r||new Date,a=e.toDate,i=e.fromDate,s=e.numberOfMonths,l=s===void 0?1:s;if(a&&Go(a,o)<0){var u=-1*(l-1);o=Ft(a,u)}return i&&Go(o,i)<0&&(o=i),ft(o)}function DI(){var e=Ve(),t=TI(e),n=AI(t,e.month),r=n[0],o=n[1],a=function(i){var s;if(!e.disableNavigation){var l=ft(i);o(l),(s=e.onMonthChange)===null||s===void 0||s.call(e,l)}};return[r,a]}function NI(e,t){for(var n=t.reverseMonths,r=t.numberOfMonths,o=ft(e),a=ft(Ft(o,r)),i=Go(a,o),s=[],l=0;l<i;l++){var u=Ft(o,l);s.push(u)}return n&&(s=s.reverse()),s}function $I(e,t){if(!t.disableNavigation){var n=t.toDate,r=t.pagedNavigation,o=t.numberOfMonths,a=o===void 0?1:o,i=r?a:1,s=ft(e);if(!n)return Ft(s,i);var l=Go(n,e);if(!(l<a))return Ft(s,i)}}function kI(e,t){if(!t.disableNavigation){var n=t.fromDate,r=t.pagedNavigation,o=t.numberOfMonths,a=o===void 0?1:o,i=r?a:1,s=ft(e);if(!n)return Ft(s,-i);var l=Go(s,n);if(!(l<=0))return Ft(s,-i)}}var Oh=f.createContext(void 0);function OI(e){var t=Ve(),n=DI(),r=n[0],o=n[1],a=NI(r,t),i=$I(r,t),s=kI(r,t),l=function(d){return a.some(function(p){return Uu(d,p)})},u=function(d,p){l(d)||(p&&Sh(d,p)?o(Ft(d,1+t.numberOfMonths*-1)):o(d))},c={currentMonth:r,displayMonths:a,goToMonth:o,goToDate:u,previousMonth:s,nextMonth:i,isDateDisplayed:l};return z.jsx(Oh.Provider,{value:c,children:e.children})}function zr(){var e=f.useContext(Oh);if(!e)throw new Error("useNavigation must be used within a NavigationProvider");return e}function Fh(e){var t,n=Ve(),r=n.classNames,o=n.styles,a=n.components,i=zr().goToMonth,s=function(c){i(Ft(c,e.displayIndex?-e.displayIndex:0))},l=(t=a==null?void 0:a.CaptionLabel)!==null&&t!==void 0?t:$h,u=z.jsx(l,{id:e.id,displayMonth:e.displayMonth});return z.jsxs("div",{className:r.caption_dropdowns,style:o.caption_dropdowns,children:[z.jsx("div",{className:r.vhidden,children:u}),z.jsx(SI,{onChange:s,displayMonth:e.displayMonth}),z.jsx(MI,{onChange:s,displayMonth:e.displayMonth})]})}function FI(e){return z.jsx("svg",me({width:"16px",height:"16px",viewBox:"0 0 120 120"},e,{children:z.jsx("path",{d:"M69.490332,3.34314575 C72.6145263,0.218951416 77.6798462,0.218951416 80.8040405,3.34314575 C83.8617626,6.40086786 83.9268205,11.3179931 80.9992143,14.4548388 L80.8040405,14.6568542 L35.461,60 L80.8040405,105.343146 C83.8617626,108.400868 83.9268205,113.317993 80.9992143,116.454839 L80.8040405,116.656854 C77.7463184,119.714576 72.8291931,119.779634 69.6923475,116.852028 L69.490332,116.656854 L18.490332,65.6568542 C15.4326099,62.5991321 15.367552,57.6820069 18.2951583,54.5451612 L18.490332,54.3431458 L69.490332,3.34314575 Z",fill:"currentColor",fillRule:"nonzero"})}))}function LI(e){return z.jsx("svg",me({width:"16px",height:"16px",viewBox:"0 0 120 120"},e,{children:z.jsx("path",{d:"M49.8040405,3.34314575 C46.6798462,0.218951416 41.6145263,0.218951416 38.490332,3.34314575 C35.4326099,6.40086786 35.367552,11.3179931 38.2951583,14.4548388 L38.490332,14.6568542 L83.8333725,60 L38.490332,105.343146 C35.4326099,108.400868 35.367552,113.317993 38.2951583,116.454839 L38.490332,116.656854 C41.5480541,119.714576 46.4651794,119.779634 49.602025,116.852028 L49.8040405,116.656854 L100.804041,65.6568542 C103.861763,62.5991321 103.926821,57.6820069 100.999214,54.5451612 L100.804041,54.3431458 L49.8040405,3.34314575 Z",fill:"currentColor"})}))}var zi=f.forwardRef(function(e,t){var n=Ve(),r=n.classNames,o=n.styles,a=[r.button_reset,r.button];e.className&&a.push(e.className);var i=a.join(" "),s=me(me({},o.button_reset),o.button);return e.style&&Object.assign(s,e.style),z.jsx("button",me({},e,{ref:t,type:"button",className:i,style:s}))});function VI(e){var t,n,r=Ve(),o=r.dir,a=r.locale,i=r.classNames,s=r.styles,l=r.labels,u=l.labelPrevious,c=l.labelNext,d=r.components;if(!e.nextMonth&&!e.previousMonth)return z.jsx(z.Fragment,{});var p=u(e.previousMonth,{locale:a}),m=[i.nav_button,i.nav_button_previous].join(" "),h=c(e.nextMonth,{locale:a}),g=[i.nav_button,i.nav_button_next].join(" "),b=(t=d==null?void 0:d.IconRight)!==null&&t!==void 0?t:LI,x=(n=d==null?void 0:d.IconLeft)!==null&&n!==void 0?n:FI;return z.jsxs("div",{className:i.nav,style:s.nav,children:[!e.hidePrevious&&z.jsx(zi,{name:"previous-month","aria-label":p,className:m,style:s.nav_button_previous,disabled:!e.previousMonth,onClick:e.onPreviousClick,children:o==="rtl"?z.jsx(b,{className:i.nav_icon,style:s.nav_icon}):z.jsx(x,{className:i.nav_icon,style:s.nav_icon})}),!e.hideNext&&z.jsx(zi,{name:"next-month","aria-label":h,className:g,style:s.nav_button_next,disabled:!e.nextMonth,onClick:e.onNextClick,children:o==="rtl"?z.jsx(x,{className:i.nav_icon,style:s.nav_icon}):z.jsx(b,{className:i.nav_icon,style:s.nav_icon})})]})}function Lh(e){var t=Ve().numberOfMonths,n=zr(),r=n.previousMonth,o=n.nextMonth,a=n.goToMonth,i=n.displayMonths,s=i.findIndex(function(h){return Uu(e.displayMonth,h)}),l=s===0,u=s===i.length-1,c=t>1&&(l||!u),d=t>1&&(u||!l),p=function(){r&&a(r)},m=function(){o&&a(o)};return z.jsx(VI,{displayMonth:e.displayMonth,hideNext:c,hidePrevious:d,nextMonth:o,previousMonth:r,onPreviousClick:p,onNextClick:m})}function jI(e){var t,n=Ve(),r=n.classNames,o=n.disableNavigation,a=n.styles,i=n.captionLayout,s=n.components,l=(t=s==null?void 0:s.CaptionLabel)!==null&&t!==void 0?t:$h,u;return o?u=z.jsx(l,{id:e.id,displayMonth:e.displayMonth}):i==="dropdown"?u=z.jsx(Fh,{displayMonth:e.displayMonth,id:e.id}):i==="dropdown-buttons"?u=z.jsxs(z.Fragment,{children:[z.jsx(Fh,{displayMonth:e.displayMonth,displayIndex:e.displayIndex,id:e.id}),z.jsx(Lh,{displayMonth:e.displayMonth,displayIndex:e.displayIndex,id:e.id})]}):u=z.jsxs(z.Fragment,{children:[z.jsx(l,{id:e.id,displayMonth:e.displayMonth,displayIndex:e.displayIndex}),z.jsx(Lh,{displayMonth:e.displayMonth,id:e.id})]}),z.jsx("div",{className:r.caption,style:a.caption,children:u})}function BI(e){var t=Ve(),n=t.footer,r=t.styles,o=t.classNames.tfoot;return n?z.jsx("tfoot",{className:o,style:r.tfoot,children:z.jsx("tr",{children:z.jsx("td",{colSpan:8,children:n})})}):z.jsx(z.Fragment,{})}function WI(e,t,n){for(var r=n?tr(new Date):Xt(new Date,{locale:e,weekStartsOn:t}),o=[],a=0;a<7;a++){var i=it(r,a);o.push(i)}return o}function _I(){var e=Ve(),t=e.classNames,n=e.styles,r=e.showWeekNumber,o=e.locale,a=e.weekStartsOn,i=e.ISOWeek,s=e.formatters.formatWeekdayName,l=e.labels.labelWeekday,u=WI(o,a,i);return z.jsxs("tr",{style:n.head_row,className:t.head_row,children:[r&&z.jsx("td",{style:n.head_cell,className:t.head_cell}),u.map(function(c,d){return z.jsx("th",{scope:"col",className:t.head_cell,style:n.head_cell,"aria-label":l(c,{locale:o}),children:s(c,{locale:o})},d)})]})}function GI(){var e,t=Ve(),n=t.classNames,r=t.styles,o=t.components,a=(e=o==null?void 0:o.HeadRow)!==null&&e!==void 0?e:_I;return z.jsx("thead",{style:r.head,className:n.head,children:z.jsx(a,{})})}function RI(e){var t=Ve(),n=t.locale,r=t.formatters.formatDay;return z.jsx(z.Fragment,{children:r(e.date,{locale:n})})}var qu=f.createContext(void 0);function zI(e){if(!Zo(e.initialProps)){var t={selected:void 0,modifiers:{disabled:[]}};return z.jsx(qu.Provider,{value:t,children:e.children})}return z.jsx(HI,{initialProps:e.initialProps,children:e.children})}function HI(e){var t=e.initialProps,n=e.children,r=t.selected,o=t.min,a=t.max,i=function(u,c,d){var p,m;(p=t.onDayClick)===null||p===void 0||p.call(t,u,c,d);var h=!!(c.selected&&o&&(r==null?void 0:r.length)===o);if(!h){var g=!!(!c.selected&&a&&(r==null?void 0:r.length)===a);if(!g){var b=r?Ah([],r,!0):[];if(c.selected){var x=b.findIndex(function(y){return dt(u,y)});b.splice(x,1)}else b.push(u);(m=t.onSelect)===null||m===void 0||m.call(t,b,u,c,d)}}},s={disabled:[]};r&&s.disabled.push(function(u){var c=a&&r.length>a-1,d=r.some(function(p){return dt(p,u)});return!!(c&&!d)});var l={selected:r,onDayClick:i,modifiers:s};return z.jsx(qu.Provider,{value:l,children:n})}function ec(){var e=f.useContext(qu);if(!e)throw new Error("useSelectMultiple must be used within a SelectMultipleProvider");return e}function XI(e,t){var n=t||{},r=n.from,o=n.to;return r&&o?dt(o,e)&&dt(r,e)?void 0:dt(o,e)?{from:o,to:void 0}:dt(r,e)?void 0:Yu(r,e)?{from:e,to:o}:{from:r,to:e}:o?Yu(e,o)?{from:o,to:e}:{from:e,to:o}:r?Sh(e,r)?{from:e,to:r}:{from:r,to:e}:{from:e,to:void 0}}var tc=f.createContext(void 0);function ZI(e){if(!Yo(e.initialProps)){var t={selected:void 0,modifiers:{range_start:[],range_end:[],range_middle:[],disabled:[]}};return z.jsx(tc.Provider,{value:t,children:e.children})}return z.jsx(YI,{initialProps:e.initialProps,children:e.children})}function YI(e){var t=e.initialProps,n=e.children,r=t.selected,o=r||{},a=o.from,i=o.to,s=t.min,l=t.max,u=function(m,h,g){var b,x;(b=t.onDayClick)===null||b===void 0||b.call(t,m,h,g);var y=XI(m,r);(x=t.onSelect)===null||x===void 0||x.call(t,y,m,h,g)},c={range_start:[],range_end:[],range_middle:[],disabled:[]};if(a?(c.range_start=[a],i?(c.range_end=[i],dt(a,i)||(c.range_middle=[{after:a,before:i}])):c.range_end=[a]):i&&(c.range_start=[i],c.range_end=[i]),s&&(a&&!i&&c.disabled.push({after:Ku(a,s-1),before:it(a,s-1)}),a&&i&&c.disabled.push({after:a,before:it(a,s-1)}),!a&&i&&c.disabled.push({after:Ku(i,s-1),before:it(i,s-1)})),l){if(a&&!i&&(c.disabled.push({before:it(a,-l+1)}),c.disabled.push({after:it(a,l-1)})),a&&i){var d=Zt(i,a)+1,p=l-d;c.disabled.push({before:Ku(a,p)}),c.disabled.push({after:it(i,p)})}!a&&i&&(c.disabled.push({before:it(i,-l+1)}),c.disabled.push({after:it(i,l-1)}))}return z.jsx(tc.Provider,{value:{selected:r,onDayClick:u,modifiers:c},children:n})}function nc(){var e=f.useContext(tc);if(!e)throw new Error("useSelectRange must be used within a SelectRangeProvider");return e}function Hi(e){return Array.isArray(e)?Ah([],e,!0):e!==void 0?[e]:[]}function UI(e){var t={};return Object.entries(e).forEach(function(n){var r=n[0],o=n[1];t[r]=Hi(o)}),t}var Lt;(function(e){e.Outside="outside",e.Disabled="disabled",e.Selected="selected",e.Hidden="hidden",e.Today="today",e.RangeStart="range_start",e.RangeEnd="range_end",e.RangeMiddle="range_middle"})(Lt||(Lt={}));var KI=Lt.Selected,pn=Lt.Disabled,JI=Lt.Hidden,QI=Lt.Today,rc=Lt.RangeEnd,oc=Lt.RangeMiddle,ac=Lt.RangeStart,qI=Lt.Outside;function eE(e,t,n){var r,o=(r={},r[KI]=Hi(e.selected),r[pn]=Hi(e.disabled),r[JI]=Hi(e.hidden),r[QI]=[e.today],r[rc]=[],r[oc]=[],r[ac]=[],r[qI]=[],r);return e.fromDate&&o[pn].push({before:e.fromDate}),e.toDate&&o[pn].push({after:e.toDate}),Zo(e)?o[pn]=o[pn].concat(t.modifiers[pn]):Yo(e)&&(o[pn]=o[pn].concat(n.modifiers[pn]),o[ac]=n.modifiers[ac],o[oc]=n.modifiers[oc],o[rc]=n.modifiers[rc]),o}var Vh=f.createContext(void 0);function tE(e){var t=Ve(),n=ec(),r=nc(),o=eE(t,n,r),a=UI(t.modifiers),i=me(me({},o),a);return z.jsx(Vh.Provider,{value:i,children:e.children})}function jh(){var e=f.useContext(Vh);if(!e)throw new Error("useModifiers must be used within a ModifiersProvider");return e}function nE(e){return!!(e&&typeof e=="object"&&"before"in e&&"after"in e)}function rE(e){return!!(e&&typeof e=="object"&&"from"in e)}function oE(e){return!!(e&&typeof e=="object"&&"after"in e)}function aE(e){return!!(e&&typeof e=="object"&&"before"in e)}function iE(e){return!!(e&&typeof e=="object"&&"dayOfWeek"in e)}function sE(e,t){var n,r=t.from,o=t.to;if(r&&o){var a=Zt(o,r)<0;a&&(n=[o,r],r=n[0],o=n[1]);var i=Zt(e,r)>=0&&Zt(o,e)>=0;return i}return o?dt(o,e):r?dt(r,e):!1}function lE(e){return zu(e)}function uE(e){return Array.isArray(e)&&e.every(zu)}function cE(e,t){return t.some(function(n){if(typeof n=="boolean")return n;if(lE(n))return dt(e,n);if(uE(n))return n.includes(e);if(rE(n))return sE(e,n);if(iE(n))return n.dayOfWeek.includes(e.getDay());if(nE(n)){var r=Zt(n.before,e),o=Zt(n.after,e),a=r>0,i=o<0,s=Yu(n.before,n.after);return s?i&&a:a||i}return oE(n)?Zt(e,n.after)>0:aE(n)?Zt(n.before,e)>0:typeof n=="function"?n(e):!1})}function ic(e,t,n){var r=Object.keys(t).reduce(function(a,i){var s=t[i];return cE(e,s)&&a.push(i),a},[]),o={};return r.forEach(function(a){return o[a]=!0}),n&&!Uu(e,n)&&(o.outside=!0),o}function dE(e,t){for(var n=ft(e[0]),r=Hu(e[e.length-1]),o,a,i=n;i<=r;){var s=ic(i,t),l=!s.disabled&&!s.hidden;if(!l){i=it(i,1);continue}if(s.selected)return i;s.today&&!a&&(a=i),o||(o=i),i=it(i,1)}return a||o}var fE=365;function Bh(e,t){var n=t.moveBy,r=t.direction,o=t.context,a=t.modifiers,i=t.retry,s=i===void 0?{count:0,lastFocused:e}:i,l=o.weekStartsOn,u=o.fromDate,c=o.toDate,d=o.locale,p={day:it,week:Ru,month:Ft,year:ew,startOfWeek:function(b){return o.ISOWeek?tr(b):Xt(b,{locale:d,weekStartsOn:l})},endOfWeek:function(b){return o.ISOWeek?gh(b):Xu(b,{locale:d,weekStartsOn:l})}},m=p[n](e,r==="after"?1:-1);r==="before"&&u?m=tw([u,m]):r==="after"&&c&&(m=nw([c,m]));var h=!0;if(a){var g=ic(m,a);h=!g.disabled&&!g.hidden}return h?m:s.count>fE?s.lastFocused:Bh(m,{moveBy:n,direction:r,context:o,modifiers:a,retry:me(me({},s),{count:s.count+1})})}var Wh=f.createContext(void 0);function pE(e){var t=zr(),n=jh(),r=f.useState(),o=r[0],a=r[1],i=f.useState(),s=i[0],l=i[1],u=dE(t.displayMonths,n),c=o??(s&&t.isDateDisplayed(s))?s:u,d=function(){l(o),a(void 0)},p=function(b){a(b)},m=Ve(),h=function(b,x){if(o){var y=Bh(o,{moveBy:b,direction:x,context:m,modifiers:n});dt(o,y)||(t.goToDate(y,o),p(y))}},g={focusedDay:o,focusTarget:c,blur:d,focus:p,focusDayAfter:function(){return h("day","after")},focusDayBefore:function(){return h("day","before")},focusWeekAfter:function(){return h("week","after")},focusWeekBefore:function(){return h("week","before")},focusMonthBefore:function(){return h("month","before")},focusMonthAfter:function(){return h("month","after")},focusYearBefore:function(){return h("year","before")},focusYearAfter:function(){return h("year","after")},focusStartOfWeek:function(){return h("startOfWeek","before")},focusEndOfWeek:function(){return h("endOfWeek","after")}};return z.jsx(Wh.Provider,{value:g,children:e.children})}function sc(){var e=f.useContext(Wh);if(!e)throw new Error("useFocusContext must be used within a FocusProvider");return e}function mE(e,t){var n=jh(),r=ic(e,n,t);return r}var lc=f.createContext(void 0);function hE(e){if(!Ri(e.initialProps)){var t={selected:void 0};return z.jsx(lc.Provider,{value:t,children:e.children})}return z.jsx(gE,{initialProps:e.initialProps,children:e.children})}function gE(e){var t=e.initialProps,n=e.children,r=function(a,i,s){var l,u,c;if((l=t.onDayClick)===null||l===void 0||l.call(t,a,i,s),i.selected&&!t.required){(u=t.onSelect)===null||u===void 0||u.call(t,void 0,a,i,s);return}(c=t.onSelect)===null||c===void 0||c.call(t,a,a,i,s)},o={selected:t.selected,onDayClick:r};return z.jsx(lc.Provider,{value:o,children:n})}function _h(){var e=f.useContext(lc);if(!e)throw new Error("useSelectSingle must be used within a SelectSingleProvider");return e}function bE(e,t){var n=Ve(),r=_h(),o=ec(),a=nc(),i=sc(),s=i.focusDayAfter,l=i.focusDayBefore,u=i.focusWeekAfter,c=i.focusWeekBefore,d=i.blur,p=i.focus,m=i.focusMonthBefore,h=i.focusMonthAfter,g=i.focusYearBefore,b=i.focusYearAfter,x=i.focusStartOfWeek,y=i.focusEndOfWeek,w=function(N){var W,K,H,X;Ri(n)?(W=r.onDayClick)===null||W===void 0||W.call(r,e,t,N):Zo(n)?(K=o.onDayClick)===null||K===void 0||K.call(o,e,t,N):Yo(n)?(H=a.onDayClick)===null||H===void 0||H.call(a,e,t,N):(X=n.onDayClick)===null||X===void 0||X.call(n,e,t,N)},S=function(N){var W;p(e),(W=n.onDayFocus)===null||W===void 0||W.call(n,e,t,N)},E=function(N){var W;d(),(W=n.onDayBlur)===null||W===void 0||W.call(n,e,t,N)},A=function(N){var W;(W=n.onDayMouseEnter)===null||W===void 0||W.call(n,e,t,N)},T=function(N){var W;(W=n.onDayMouseLeave)===null||W===void 0||W.call(n,e,t,N)},v=function(N){var W;(W=n.onDayPointerEnter)===null||W===void 0||W.call(n,e,t,N)},D=function(N){var W;(W=n.onDayPointerLeave)===null||W===void 0||W.call(n,e,t,N)},$=function(N){var W;(W=n.onDayTouchCancel)===null||W===void 0||W.call(n,e,t,N)},M=function(N){var W;(W=n.onDayTouchEnd)===null||W===void 0||W.call(n,e,t,N)},k=function(N){var W;(W=n.onDayTouchMove)===null||W===void 0||W.call(n,e,t,N)},I=function(N){var W;(W=n.onDayTouchStart)===null||W===void 0||W.call(n,e,t,N)},P=function(N){var W;(W=n.onDayKeyUp)===null||W===void 0||W.call(n,e,t,N)},O=function(N){var W;switch(N.key){case"ArrowLeft":N.preventDefault(),N.stopPropagation(),n.dir==="rtl"?s():l();break;case"ArrowRight":N.preventDefault(),N.stopPropagation(),n.dir==="rtl"?l():s();break;case"ArrowDown":N.preventDefault(),N.stopPropagation(),u();break;case"ArrowUp":N.preventDefault(),N.stopPropagation(),c();break;case"PageUp":N.preventDefault(),N.stopPropagation(),N.shiftKey?g():m();break;case"PageDown":N.preventDefault(),N.stopPropagation(),N.shiftKey?b():h();break;case"Home":N.preventDefault(),N.stopPropagation(),x();break;case"End":N.preventDefault(),N.stopPropagation(),y();break}(W=n.onDayKeyDown)===null||W===void 0||W.call(n,e,t,N)},j={onClick:w,onFocus:S,onBlur:E,onKeyDown:O,onKeyUp:P,onMouseEnter:A,onMouseLeave:T,onPointerEnter:v,onPointerLeave:D,onTouchCancel:$,onTouchEnd:M,onTouchMove:k,onTouchStart:I};return j}function vE(){var e=Ve(),t=_h(),n=ec(),r=nc(),o=Ri(e)?t.selected:Zo(e)?n.selected:Yo(e)?r.selected:void 0;return o}function yE(e){return Object.values(Lt).includes(e)}function xE(e,t){var n=[e.classNames.day];return Object.keys(t).forEach(function(r){var o=e.modifiersClassNames[r];if(o)n.push(o);else if(yE(r)){var a=e.classNames["day_".concat(r)];a&&n.push(a)}}),n}function CE(e,t){var n=me({},e.styles.day);return Object.keys(t).forEach(function(r){var o;n=me(me({},n),(o=e.modifiersStyles)===null||o===void 0?void 0:o[r])}),n}function wE(e,t,n){var r,o,a,i=Ve(),s=sc(),l=mE(e,t),u=bE(e,l),c=vE(),d=!!(i.onDayClick||i.mode!=="default");f.useEffect(function(){var A;l.outside||s.focusedDay&&d&&dt(s.focusedDay,e)&&((A=n.current)===null||A===void 0||A.focus())},[s.focusedDay,e,n,d,l.outside]);var p=xE(i,l).join(" "),m=CE(i,l),h=!!(l.outside&&!i.showOutsideDays||l.hidden),g=(a=(o=i.components)===null||o===void 0?void 0:o.DayContent)!==null&&a!==void 0?a:RI,b=z.jsx(g,{date:e,displayMonth:t,activeModifiers:l}),x={style:m,className:p,children:b,role:"gridcell"},y=s.focusTarget&&dt(s.focusTarget,e)&&!l.outside,w=s.focusedDay&&dt(s.focusedDay,e),S=me(me(me({},x),(r={disabled:l.disabled,role:"gridcell"},r["aria-selected"]=l.selected,r.tabIndex=w||y?0:-1,r)),u),E={isButton:d,isHidden:h,activeModifiers:l,selectedDays:c,buttonProps:S,divProps:x};return E}function IE(e){var t=f.useRef(null),n=wE(e.date,e.displayMonth,t);return n.isHidden?z.jsx("div",{role:"gridcell"}):n.isButton?z.jsx(zi,me({name:"day",ref:t},n.buttonProps)):z.jsx("div",me({},n.divProps))}function EE(e){var t=e.number,n=e.dates,r=Ve(),o=r.onWeekNumberClick,a=r.styles,i=r.classNames,s=r.locale,l=r.labels.labelWeekNumber,u=r.formatters.formatWeekNumber,c=u(Number(t),{locale:s});if(!o)return z.jsx("span",{className:i.weeknumber,style:a.weeknumber,children:c});var d=l(Number(t),{locale:s}),p=function(m){o(t,n,m)};return z.jsx(zi,{name:"week-number","aria-label":d,className:i.weeknumber,style:a.weeknumber,onClick:p,children:c})}function PE(e){var t,n,r=Ve(),o=r.styles,a=r.classNames,i=r.showWeekNumber,s=r.components,l=(t=s==null?void 0:s.Day)!==null&&t!==void 0?t:IE,u=(n=s==null?void 0:s.WeekNumber)!==null&&n!==void 0?n:EE,c;return i&&(c=z.jsx("td",{className:a.cell,style:o.cell,children:z.jsx(u,{number:e.weekNumber,dates:e.dates})})),z.jsxs("tr",{className:a.row,style:o.row,children:[c,e.dates.map(function(d){return z.jsx("td",{className:a.cell,style:o.cell,role:"presentation",children:z.jsx(l,{displayMonth:e.displayMonth,date:d})},qw(d))})]})}function Gh(e,t,n){for(var r=n!=null&&n.ISOWeek?gh(t):Xu(t,n),o=n!=null&&n.ISOWeek?tr(e):Xt(e,n),a=Zt(r,o),i=[],s=0;s<=a;s++)i.push(it(o,s));var l=i.reduce(function(u,c){var d=n!=null&&n.ISOWeek?vh(c):xh(c,n),p=u.find(function(m){return m.weekNumber===d});return p?(p.dates.push(c),u):(u.push({weekNumber:d,dates:[c]}),u)},[]);return l}function SE(e,t){var n=Gh(ft(e),Hu(e),t);if(t!=null&&t.useFixedWeeks){var r=tI(e,t);if(r<6){var o=n[n.length-1],a=o.dates[o.dates.length-1],i=Ru(a,6-r),s=Gh(Ru(a,1),i,t);n.push.apply(n,s)}}return n}function ME(e){var t,n,r,o=Ve(),a=o.locale,i=o.classNames,s=o.styles,l=o.hideHead,u=o.fixedWeeks,c=o.components,d=o.weekStartsOn,p=o.firstWeekContainsDate,m=o.ISOWeek,h=SE(e.displayMonth,{useFixedWeeks:!!u,ISOWeek:m,locale:a,weekStartsOn:d,firstWeekContainsDate:p}),g=(t=c==null?void 0:c.Head)!==null&&t!==void 0?t:GI,b=(n=c==null?void 0:c.Row)!==null&&n!==void 0?n:PE,x=(r=c==null?void 0:c.Footer)!==null&&r!==void 0?r:BI;return z.jsxs("table",{id:e.id,className:i.table,style:s.table,role:"grid","aria-labelledby":e["aria-labelledby"],children:[!l&&z.jsx(g,{}),z.jsx("tbody",{className:i.tbody,style:s.tbody,children:h.map(function(y){return z.jsx(b,{displayMonth:e.displayMonth,dates:y.dates,weekNumber:y.weekNumber},y.weekNumber)})}),z.jsx(x,{displayMonth:e.displayMonth})]})}function AE(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}var TE=AE()?f.useLayoutEffect:f.useEffect,uc=!1,DE=0;function Rh(){return"react-day-picker-".concat(++DE)}function NE(e){var t,n=e??(uc?Rh():null),r=f.useState(n),o=r[0],a=r[1];return TE(function(){o===null&&a(Rh())},[]),f.useEffect(function(){uc===!1&&(uc=!0)},[]),(t=e??o)!==null&&t!==void 0?t:void 0}function $E(e){var t,n,r=Ve(),o=r.dir,a=r.classNames,i=r.styles,s=r.components,l=zr().displayMonths,u=NE(r.id?"".concat(r.id,"-").concat(e.displayIndex):void 0),c=r.id?"".concat(r.id,"-grid-").concat(e.displayIndex):void 0,d=[a.month],p=i.month,m=e.displayIndex===0,h=e.displayIndex===l.length-1,g=!m&&!h;o==="rtl"&&(t=[m,h],h=t[0],m=t[1]),m&&(d.push(a.caption_start),p=me(me({},p),i.caption_start)),h&&(d.push(a.caption_end),p=me(me({},p),i.caption_end)),g&&(d.push(a.caption_between),p=me(me({},p),i.caption_between));var b=(n=s==null?void 0:s.Caption)!==null&&n!==void 0?n:jI;return z.jsxs("div",{className:d.join(" "),style:p,children:[z.jsx(b,{id:u,displayMonth:e.displayMonth,displayIndex:e.displayIndex}),z.jsx(ME,{id:c,"aria-labelledby":u,displayMonth:e.displayMonth})]},e.displayIndex)}function kE(e){var t=Ve(),n=t.classNames,r=t.styles;return z.jsx("div",{className:n.months,style:r.months,children:e.children})}function OE(e){var t,n,r=e.initialProps,o=Ve(),a=sc(),i=zr(),s=f.useState(!1),l=s[0],u=s[1];f.useEffect(function(){o.initialFocus&&a.focusTarget&&(l||(a.focus(a.focusTarget),u(!0)))},[o.initialFocus,l,a.focus,a.focusTarget,a]);var c=[o.classNames.root,o.className];o.numberOfMonths>1&&c.push(o.classNames.multiple_months),o.showWeekNumber&&c.push(o.classNames.with_weeknumber);var d=me(me({},o.styles.root),o.style),p=Object.keys(r).filter(function(h){return h.startsWith("data-")}).reduce(function(h,g){var b;return me(me({},h),(b={},b[g]=r[g],b))},{}),m=(n=(t=r.components)===null||t===void 0?void 0:t.Months)!==null&&n!==void 0?n:kE;return z.jsx("div",me({className:c.join(" "),style:d,dir:o.dir,id:o.id,nonce:r.nonce,title:r.title,lang:r.lang},p,{children:z.jsx(m,{children:i.displayMonths.map(function(h,g){return z.jsx($E,{displayIndex:g,displayMonth:h},g)})})}))}function FE(e){var t=e.children,n=rI(e,["children"]);return z.jsx(EI,{initialProps:n,children:z.jsx(OI,{children:z.jsx(hE,{initialProps:n,children:z.jsx(zI,{initialProps:n,children:z.jsx(ZI,{initialProps:n,children:z.jsx(tE,{children:z.jsx(pE,{children:t})})})})})})})}function LE(e){return z.jsx(FE,me({},e,{children:z.jsx(OE,{initialProps:e})}))}const OD="",FD="",VE=e=>{const{goToMonth:t,nextMonth:n,previousMonth:r}=zr();return F.jsxs("div",{className:"flex px-[10px] py-2",children:[F.jsx("button",{disabled:!r,onClick:()=>r&&t(r),children:F.jsx(rt,{name:"chevron-left",className:"text-xs text-primary-grey-800"})}),F.jsx(Nd,{className:"flex flex-1 justify-center font-satoshi text-2xl font-medium text-primary-black-500",children:fn(e.displayMonth,"MMM yyy")}),F.jsx("button",{disabled:!n,onClick:()=>n&&t(n),children:F.jsx(rt,{name:"chevron-right",className:"text-xs text-primary-grey-800"})})]})},zh=({...e})=>F.jsx(LE,{disabled:t=>t>new Date||t<new Date("1900-01-01"),components:{Caption:VE},showOutsideDays:!0,...e}),cc=({children:e,className:t,variant:n="light",color:r="red"})=>{const o=ye({base:"flex h-4 items-center justify-center gap-2.5 rounded bg-transparent p-0",variants:{variant:{light:"",dark:"",ghost:""},color:{red:"text-complementary-red-500",orange:"text-complementary-orange-500",lightGreen:"text-secondary-green-500",violet:"text-complementary-violet-500",blue:"text-complementary-blue-500",darkGreen:"text-primary-green-500",yellow:"text-complementary-yellow-500",gray:"text-primary-grey-800"}},compoundVariants:[{variant:"dark",color:"red",class:"bg-complementary-red-500 text-complementary-red-50"},{variant:"dark",color:"orange",class:"bg-complementary-orange-500 text-complementary-orange-50"},{variant:"dark",color:"lightGreen",class:"bg-secondary-green-500 text-white"},{variant:"dark",color:"violet",class:"bg-complementary-violet-500 text-complementary-violet-50"},{variant:"dark",color:"blue",class:"bg-complementary-blue-500 text-complementary-blue-50"},{variant:"dark",color:"darkGreen",class:"bg-primary-green-500 text-primary-green-50"},{variant:"dark",color:"yellow",class:"bg-complementary-yellow-500 text-complementary-yellow-50"},{variant:"light",color:"red",class:"bg-complementary-red-50 text-complementary-red-500"},{variant:"light",color:"orange",class:"bg-complementary-orange-50 text-complementary-orange-500"},{variant:"light",color:"lightGreen",class:"bg-secondary-green-50 text-secondary-green-500"},{variant:"light",color:"violet",class:"bg-complementary-violet-50 text-complementary-violet-500"},{variant:"light",color:"blue",class:"bg-complementary-blue-50 text-complementary-blue-500"},{variant:"light",color:"darkGreen",class:"bg-primary-green-50 text-primary-green-500"},{variant:"light",color:"yellow",class:"bg-complementary-yellow-50 text-complementary-yellow-500"},{variant:"light",color:"gray",class:"bg-primary-grey-500 text-primary-grey-800"}]}),a=ye({base:"p-1 font-satoshi text-[10px] font-bold"});return F.jsx(v1,{classNames:{base:o({className:t,variant:n,color:r}),content:a({})},children:e})},LD="",VD="",jE=()=>{const e=No({enter:"animate__animated animate__fadeInUp animate__faster",exit:"animate__animated animate__fadeOutDown animate__faster",collapse:!1});return F.jsx(Z7,{limit:1,closeOnClick:!0,draggable:!1,autoClose:5e3,closeButton:!1,hideProgressBar:!0,className:"!m-0 !w-full !max-w-[840px] !p-0",toastClassName:()=>"",bodyClassName:()=>"w-full [&>div]:w-full !p-0",transition:e,newestOnTop:!0,position:"bottom-center"})};var Hh=1,BE=.9,WE=.8,_E=.17,dc=.1,fc=.999,GE=.9999,RE=.99,zE=/[\\\/_+.#"@\[\(\{&]/,HE=/[\\\/_+.#"@\[\(\{&]/g,XE=/[\s-]/,Xh=/[\s-]/g;function pc(e,t,n,r,o,a,i){if(a===t.length)return o===e.length?Hh:RE;var s=`${o},${a}`;if(i[s]!==void 0)return i[s];for(var l=r.charAt(a),u=n.indexOf(l,o),c=0,d,p,m,h;u>=0;)d=pc(e,t,n,r,u+1,a+1,i),d>c&&(u===o?d*=Hh:zE.test(e.charAt(u-1))?(d*=WE,m=e.slice(o,u-1).match(HE),m&&o>0&&(d*=Math.pow(fc,m.length))):XE.test(e.charAt(u-1))?(d*=BE,h=e.slice(o,u-1).match(Xh),h&&o>0&&(d*=Math.pow(fc,h.length))):(d*=_E,o>0&&(d*=Math.pow(fc,u-o))),e.charAt(u)!==t.charAt(a)&&(d*=GE)),(d<dc&&n.charAt(u-1)===r.charAt(a+1)||r.charAt(a+1)===r.charAt(a)&&n.charAt(u-1)!==r.charAt(a))&&(p=pc(e,t,n,r,u+1,a+2,i),p*dc>d&&(d=p*dc)),d>c&&(c=d),u=n.indexOf(l,u+1);return i[s]=c,c}function Zh(e){return e.toLowerCase().replace(Xh," ")}function ZE(e,t,n){return e=n&&n.length>0?`${e+" "+n.join(" ")}`:e,pc(e,t,Zh(e),Zh(t),0,0,{})}const Yh="Dialog",[Uh,jD]=Jn(Yh),[YE,rr]=Uh(Yh),UE=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:o,onOpenChange:a,modal:i=!0}=e,s=f.useRef(null),l=f.useRef(null),[u=!1,c]=Vo({prop:r,defaultProp:o,onChange:a});return f.createElement(YE,{scope:t,triggerRef:s,contentRef:l,contentId:Qn(),titleId:Qn(),descriptionId:Qn(),open:u,onOpenChange:c,onOpenToggle:f.useCallback(()=>c(d=>!d),[c]),modal:i},n)},Kh="DialogPortal",[KE,Jh]=Uh(Kh,{forceMount:void 0}),JE=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:o}=e,a=rr(Kh,t);return f.createElement(KE,{scope:t,forceMount:n},f.Children.map(r,i=>f.createElement(dn,{present:n||a.open},f.createElement(Su,{asChild:!0,container:o},i))))},mc="DialogOverlay",QE=f.forwardRef((e,t)=>{const n=Jh(mc,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,a=rr(mc,e.__scopeDialog);return a.modal?f.createElement(dn,{present:r||a.open},f.createElement(qE,ge({},o,{ref:t}))):null}),qE=f.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=rr(mc,n);return f.createElement(rh,{as:kr,allowPinchZoom:!0,shards:[o.contentRef]},f.createElement(We.div,ge({"data-state":qh(o.open)},r,{ref:t,style:{pointerEvents:"auto",...r.style}})))}),Uo="DialogContent",eP=f.forwardRef((e,t)=>{const n=Jh(Uo,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,a=rr(Uo,e.__scopeDialog);return f.createElement(dn,{present:r||a.open},a.modal?f.createElement(tP,ge({},o,{ref:t})):f.createElement(nP,ge({},o,{ref:t})))}),tP=f.forwardRef((e,t)=>{const n=rr(Uo,e.__scopeDialog),r=f.useRef(null),o=ct(t,n.contentRef,r);return f.useEffect(()=>{const a=r.current;if(a)return Ym(a)},[]),f.createElement(Qh,ge({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Le(e.onCloseAutoFocus,a=>{var i;a.preventDefault(),(i=n.triggerRef.current)===null||i===void 0||i.focus()}),onPointerDownOutside:Le(e.onPointerDownOutside,a=>{const i=a.detail.originalEvent,s=i.button===0&&i.ctrlKey===!0;(i.button===2||s)&&a.preventDefault()}),onFocusOutside:Le(e.onFocusOutside,a=>a.preventDefault())}))}),nP=f.forwardRef((e,t)=>{const n=rr(Uo,e.__scopeDialog),r=f.useRef(!1),o=f.useRef(!1);return f.createElement(Qh,ge({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:a=>{var i;if((i=e.onCloseAutoFocus)===null||i===void 0||i.call(e,a),!a.defaultPrevented){var s;r.current||(s=n.triggerRef.current)===null||s===void 0||s.focus(),a.preventDefault()}r.current=!1,o.current=!1},onInteractOutside:a=>{var i,s;(i=e.onInteractOutside)===null||i===void 0||i.call(e,a),a.defaultPrevented||(r.current=!0,a.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const l=a.target;((s=n.triggerRef.current)===null||s===void 0?void 0:s.contains(l))&&a.preventDefault(),a.detail.originalEvent.type==="focusin"&&o.current&&a.preventDefault()}}))}),Qh=f.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:a,...i}=e,s=rr(Uo,n),l=f.useRef(null),u=ct(t,l);return Bm(),f.createElement(f.Fragment,null,f.createElement(Gm,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:a},f.createElement(bu,ge({role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":qh(s.open)},i,{ref:u,onDismiss:()=>s.onOpenChange(!1)}))),!1)});function qh(e){return e?"open":"closed"}const rP=UE,oP=JE,aP=QE,iP=eP;var Ko='[cmdk-group=""]',hc='[cmdk-group-items=""]',sP='[cmdk-group-heading=""]',gc='[cmdk-item=""]',eg=`${gc}:not([aria-disabled="true"])`,bc="cmdk-item-select",or="data-value",lP=(e,t,n)=>ZE(e,t,n),tg=V.createContext(void 0),Jo=()=>V.useContext(tg),ng=V.createContext(void 0),vc=()=>V.useContext(ng),rg=V.createContext(void 0),og=V.forwardRef((e,t)=>{let n=Xr(()=>{var B,G;return{search:"",value:(G=(B=e.value)!=null?B:e.defaultValue)!=null?G:"",filtered:{count:0,items:new Map,groups:new Set}}}),r=Xr(()=>new Set),o=Xr(()=>new Map),a=Xr(()=>new Map),i=Xr(()=>new Set),s=ag(e),{label:l,children:u,value:c,onValueChange:d,filter:p,shouldFilter:m,loop:h,disablePointerSelection:g=!1,vimBindings:b=!0,...x}=e,y=V.useId(),w=V.useId(),S=V.useId(),E=V.useRef(null),A=yP();ar(()=>{if(c!==void 0){let B=c.trim();n.current.value=B,T.emit()}},[c]),ar(()=>{A(6,I)},[]);let T=V.useMemo(()=>({subscribe:B=>(i.current.add(B),()=>i.current.delete(B)),snapshot:()=>n.current,setState:(B,G,Y)=>{var R,Z,q;if(!Object.is(n.current[B],G)){if(n.current[B]=G,B==="search")k(),$(),A(1,M);else if(B==="value"&&(Y||A(5,I),((R=s.current)==null?void 0:R.value)!==void 0)){let ae=G??"";(q=(Z=s.current).onValueChange)==null||q.call(Z,ae);return}T.emit()}},emit:()=>{i.current.forEach(B=>B())}}),[]),v=V.useMemo(()=>({value:(B,G,Y)=>{var R;G!==((R=a.current.get(B))==null?void 0:R.value)&&(a.current.set(B,{value:G,keywords:Y}),n.current.filtered.items.set(B,D(G,Y)),A(2,()=>{$(),T.emit()}))},item:(B,G)=>(r.current.add(B),G&&(o.current.has(G)?o.current.get(G).add(B):o.current.set(G,new Set([B]))),A(3,()=>{k(),$(),n.current.value||M(),T.emit()}),()=>{a.current.delete(B),r.current.delete(B),n.current.filtered.items.delete(B);let Y=P();A(4,()=>{k(),(Y==null?void 0:Y.getAttribute("id"))===B&&M(),T.emit()})}),group:B=>(o.current.has(B)||o.current.set(B,new Set),()=>{a.current.delete(B),o.current.delete(B)}),filter:()=>s.current.shouldFilter,label:l||e["aria-label"],disablePointerSelection:g,listId:y,inputId:S,labelId:w,listInnerRef:E}),[]);function D(B,G){var Y,R;let Z=(R=(Y=s.current)==null?void 0:Y.filter)!=null?R:lP;return B?Z(B,n.current.search,G):0}function $(){if(!n.current.search||s.current.shouldFilter===!1)return;let B=n.current.filtered.items,G=[];n.current.filtered.groups.forEach(R=>{let Z=o.current.get(R),q=0;Z.forEach(ae=>{let le=B.get(ae);q=Math.max(le,q)}),G.push([R,q])});let Y=E.current;O().sort((R,Z)=>{var q,ae;let le=R.getAttribute("id"),pe=Z.getAttribute("id");return((q=B.get(pe))!=null?q:0)-((ae=B.get(le))!=null?ae:0)}).forEach(R=>{let Z=R.closest(hc);Z?Z.appendChild(R.parentElement===Z?R:R.closest(`${hc} > *`)):Y.appendChild(R.parentElement===Y?R:R.closest(`${hc} > *`))}),G.sort((R,Z)=>Z[1]-R[1]).forEach(R=>{let Z=E.current.querySelector(`${Ko}[${or}="${encodeURIComponent(R[0])}"]`);Z==null||Z.parentElement.appendChild(Z)})}function M(){let B=O().find(Y=>Y.getAttribute("aria-disabled")!=="true"),G=B==null?void 0:B.getAttribute(or);T.setState("value",G||void 0)}function k(){var B,G,Y,R;if(!n.current.search||s.current.shouldFilter===!1){n.current.filtered.count=r.current.size;return}n.current.filtered.groups=new Set;let Z=0;for(let q of r.current){let ae=(G=(B=a.current.get(q))==null?void 0:B.value)!=null?G:"",le=(R=(Y=a.current.get(q))==null?void 0:Y.keywords)!=null?R:[],pe=D(ae,le);n.current.filtered.items.set(q,pe),pe>0&&Z++}for(let[q,ae]of o.current)for(let le of ae)if(n.current.filtered.items.get(le)>0){n.current.filtered.groups.add(q);break}n.current.filtered.count=Z}function I(){var B,G,Y;let R=P();R&&(((B=R.parentElement)==null?void 0:B.firstChild)===R&&((Y=(G=R.closest(Ko))==null?void 0:G.querySelector(sP))==null||Y.scrollIntoView({block:"nearest"})),R.scrollIntoView({block:"nearest"}))}function P(){var B;return(B=E.current)==null?void 0:B.querySelector(`${gc}[aria-selected="true"]`)}function O(){var B;return Array.from((B=E.current)==null?void 0:B.querySelectorAll(eg))}function j(B){let G=O()[B];G&&T.setState("value",G.getAttribute(or))}function N(B){var G;let Y=P(),R=O(),Z=R.findIndex(ae=>ae===Y),q=R[Z+B];(G=s.current)!=null&&G.loop&&(q=Z+B<0?R[R.length-1]:Z+B===R.length?R[0]:R[Z+B]),q&&T.setState("value",q.getAttribute(or))}function W(B){let G=P(),Y=G==null?void 0:G.closest(Ko),R;for(;Y&&!R;)Y=B>0?bP(Y,Ko):vP(Y,Ko),R=Y==null?void 0:Y.querySelector(eg);R?T.setState("value",R.getAttribute(or)):N(B)}let K=()=>j(O().length-1),H=B=>{B.preventDefault(),B.metaKey?K():B.altKey?W(1):N(1)},X=B=>{B.preventDefault(),B.metaKey?j(0):B.altKey?W(-1):N(-1)};return V.createElement(We.div,{ref:t,tabIndex:-1,...x,"cmdk-root":"",onKeyDown:B=>{var G;if((G=x.onKeyDown)==null||G.call(x,B),!B.defaultPrevented)switch(B.key){case"n":case"j":{b&&B.ctrlKey&&H(B);break}case"ArrowDown":{H(B);break}case"p":case"k":{b&&B.ctrlKey&&X(B);break}case"ArrowUp":{X(B);break}case"Home":{B.preventDefault(),j(0);break}case"End":{B.preventDefault(),K();break}case"Enter":if(!B.nativeEvent.isComposing&&B.keyCode!==229){B.preventDefault();let Y=P();if(Y){let R=new Event(bc);Y.dispatchEvent(R)}}}}},V.createElement("label",{"cmdk-label":"",htmlFor:v.inputId,id:v.labelId,style:CP},l),Xi(e,B=>V.createElement(ng.Provider,{value:T},V.createElement(tg.Provider,{value:v},B))))}),uP=V.forwardRef((e,t)=>{var n,r;let o=V.useId(),a=V.useRef(null),i=V.useContext(rg),s=Jo(),l=ag(e),u=(r=(n=l.current)==null?void 0:n.forceMount)!=null?r:i==null?void 0:i.forceMount;ar(()=>{if(!u)return s.item(o,i==null?void 0:i.id)},[u]);let c=ig(o,a,[e.value,e.children,a],e.keywords),d=vc(),p=ir(A=>A.value&&A.value===c.current),m=ir(A=>u||s.filter()===!1?!0:A.search?A.filtered.items.get(o)>0:!0);V.useEffect(()=>{let A=a.current;if(!(!A||e.disabled))return A.addEventListener(bc,h),()=>A.removeEventListener(bc,h)},[m,e.onSelect,e.disabled]);function h(){var A,T;g(),(T=(A=l.current).onSelect)==null||T.call(A,c.current)}function g(){d.setState("value",c.current,!0)}if(!m)return null;let{disabled:b,value:x,onSelect:y,forceMount:w,keywords:S,...E}=e;return V.createElement(We.div,{ref:Qo([a,t]),...E,id:o,"cmdk-item":"",role:"option","aria-disabled":!!b,"aria-selected":!!p,"data-disabled":!!b,"data-selected":!!p,onPointerMove:b||s.disablePointerSelection?void 0:g,onClick:b?void 0:h},e.children)}),cP=V.forwardRef((e,t)=>{let{heading:n,children:r,forceMount:o,...a}=e,i=V.useId(),s=V.useRef(null),l=V.useRef(null),u=V.useId(),c=Jo(),d=ir(m=>o||c.filter()===!1?!0:m.search?m.filtered.groups.has(i):!0);ar(()=>c.group(i),[]),ig(i,s,[e.value,e.heading,l]);let p=V.useMemo(()=>({id:i,forceMount:o}),[o]);return V.createElement(We.div,{ref:Qo([s,t]),...a,"cmdk-group":"",role:"presentation",hidden:d?void 0:!0},n&&V.createElement("div",{ref:l,"cmdk-group-heading":"","aria-hidden":!0,id:u},n),Xi(e,m=>V.createElement("div",{"cmdk-group-items":"",role:"group","aria-labelledby":n?u:void 0},V.createElement(rg.Provider,{value:p},m))))}),dP=V.forwardRef((e,t)=>{let{alwaysRender:n,...r}=e,o=V.useRef(null),a=ir(i=>!i.search);return!n&&!a?null:V.createElement(We.div,{ref:Qo([o,t]),...r,"cmdk-separator":"",role:"separator"})}),fP=V.forwardRef((e,t)=>{let{onValueChange:n,...r}=e,o=e.value!=null,a=vc(),i=ir(c=>c.search),s=ir(c=>c.value),l=Jo(),u=V.useMemo(()=>{var c;let d=(c=l.listInnerRef.current)==null?void 0:c.querySelector(`${gc}[${or}="${encodeURIComponent(s)}"]`);return d==null?void 0:d.getAttribute("id")},[]);return V.useEffect(()=>{e.value!=null&&a.setState("search",e.value)},[e.value]),V.createElement(We.input,{ref:t,...r,"cmdk-input":"",autoComplete:"off",autoCorrect:"off",spellCheck:!1,"aria-autocomplete":"list",role:"combobox","aria-expanded":!0,"aria-controls":l.listId,"aria-labelledby":l.labelId,"aria-activedescendant":u,id:l.inputId,type:"text",value:o?e.value:i,onChange:c=>{o||a.setState("search",c.target.value),n==null||n(c.target.value)}})}),pP=V.forwardRef((e,t)=>{let{children:n,label:r="Suggestions",...o}=e,a=V.useRef(null),i=V.useRef(null),s=Jo();return V.useEffect(()=>{if(i.current&&a.current){let l=i.current,u=a.current,c,d=new ResizeObserver(()=>{c=requestAnimationFrame(()=>{let p=l.offsetHeight;u.style.setProperty("--cmdk-list-height",p.toFixed(1)+"px")})});return d.observe(l),()=>{cancelAnimationFrame(c),d.unobserve(l)}}},[]),V.createElement(We.div,{ref:Qo([a,t]),...o,"cmdk-list":"",role:"listbox","aria-label":r,id:s.listId},Xi(e,l=>V.createElement("div",{ref:Qo([i,s.listInnerRef]),"cmdk-list-sizer":""},l)))}),mP=V.forwardRef((e,t)=>{let{open:n,onOpenChange:r,overlayClassName:o,contentClassName:a,container:i,...s}=e;return V.createElement(rP,{open:n,onOpenChange:r},V.createElement(oP,{container:i},V.createElement(aP,{"cmdk-overlay":"",className:o}),V.createElement(iP,{"aria-label":e.label,"cmdk-dialog":"",className:a},V.createElement(og,{ref:t,...s}))))}),hP=V.forwardRef((e,t)=>ir(n=>n.filtered.count===0)?V.createElement(We.div,{ref:t,...e,"cmdk-empty":"",role:"presentation"}):null),gP=V.forwardRef((e,t)=>{let{progress:n,children:r,label:o="Loading...",...a}=e;return V.createElement(We.div,{ref:t,...a,"cmdk-loading":"",role:"progressbar","aria-valuenow":n,"aria-valuemin":0,"aria-valuemax":100,"aria-label":o},Xi(e,i=>V.createElement("div",{"aria-hidden":!0},i)))}),Hr=Object.assign(og,{List:pP,Item:uP,Input:fP,Group:cP,Separator:dP,Dialog:mP,Empty:hP,Loading:gP});function bP(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return n;n=n.nextElementSibling}}function vP(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return n;n=n.previousElementSibling}}function ag(e){let t=V.useRef(e);return ar(()=>{t.current=e}),t}var ar=typeof window>"u"?V.useEffect:V.useLayoutEffect;function Xr(e){let t=V.useRef();return t.current===void 0&&(t.current=e()),t}function Qo(e){return t=>{e.forEach(n=>{typeof n=="function"?n(t):n!=null&&(n.current=t)})}}function ir(e){let t=vc(),n=()=>e(t.snapshot());return V.useSyncExternalStore(t.subscribe,n,n)}function ig(e,t,n,r=[]){let o=V.useRef(),a=Jo();return ar(()=>{var i;let s=(()=>{var u;for(let c of n){if(typeof c=="string")return c.trim();if(typeof c=="object"&&"current"in c)return c.current?(u=c.current.textContent)==null?void 0:u.trim():o.current}})(),l=r.map(u=>u.trim());a.value(e,s,l),(i=t.current)==null||i.setAttribute(or,s),o.current=s}),o}var yP=()=>{let[e,t]=V.useState(),n=Xr(()=>new Map);return ar(()=>{n.current.forEach(r=>r()),n.current=new Map},[e]),(r,o)=>{n.current.set(r,o),t({})}};function xP(e){let t=e.type;return typeof t=="function"?t(e.props):"render"in t?t.render(e.props):e}function Xi({asChild:e,children:t},n){return e&&V.isValidElement(t)?V.cloneElement(xP(t),{ref:t.ref},n(t.props.children)):n(t)}var CP={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"},wP={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const IP=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),yc=(e,t)=>{const n=f.forwardRef(({color:r="currentColor",size:o=24,strokeWidth:a=2,absoluteStrokeWidth:i,children:s,...l},u)=>f.createElement("svg",{ref:u,...wP,width:o,height:o,stroke:r,strokeWidth:i?Number(a)*24/Number(o):a,className:`lucide lucide-${IP(e)}`,...l},[...t.map(([c,d])=>f.createElement(c,d)),...(Array.isArray(s)?s:[s])||[]]));return n.displayName=`${e}`,n},sg=yc("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]),EP=yc("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]),PP=yc("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);var kn=[["Afghanistan","af","93"],["Albania","al","355"],["Algeria","dz","213"],["Andorra","ad","376"],["Angola","ao","244"],["Antigua and Barbuda","ag","1268"],["Argentina","ar","54","(..) ........",0],["Armenia","am","374",".. ......"],["Aruba","aw","297"],["Australia","au","61",{default:". .... ....","/^4/":"... ... ...","/^5(?!50)/":"... ... ...","/^1(3|8)00/":".... ... ...","/^13/":".. .. ..","/^180/":"... ...."},0,[]],["Austria","at","43"],["Azerbaijan","az","994","(..) ... .. .."],["Bahamas","bs","1242"],["Bahrain","bh","973"],["Bangladesh","bd","880"],["Barbados","bb","1246"],["Belarus","by","375","(..) ... .. .."],["Belgium","be","32","... .. .. .."],["Belize","bz","501"],["Benin","bj","229"],["Bhutan","bt","975"],["Bolivia","bo","591"],["Bosnia and Herzegovina","ba","387"],["Botswana","bw","267"],["Brazil","br","55","(..) ........."],["British Indian Ocean Territory","io","246"],["Brunei","bn","673"],["Bulgaria","bg","359"],["Burkina Faso","bf","226"],["Burundi","bi","257"],["Cambodia","kh","855"],["Cameroon","cm","237"],["Canada","ca","1","(...) ...-....",1,["204","226","236","249","250","289","306","343","365","387","403","416","418","431","437","438","450","506","514","519","548","579","581","587","604","613","639","647","672","705","709","742","778","780","782","807","819","825","867","873","902","905"]],["Cape Verde","cv","238"],["Caribbean Netherlands","bq","599","",1],["Central African Republic","cf","236"],["Chad","td","235"],["Chile","cl","56"],["China","cn","86","... .... ...."],["Colombia","co","57","... ... ...."],["Comoros","km","269"],["Congo","cd","243"],["Congo","cg","242"],["Costa Rica","cr","506","....-...."],["Côte d'Ivoire","ci","225",".. .. .. .. .."],["Croatia","hr","385"],["Cuba","cu","53"],["Curaçao","cw","599","",0],["Cyprus","cy","357",".. ......"],["Czech Republic","cz","420","... ... ..."],["Denmark","dk","45",".. .. .. .."],["Djibouti","dj","253"],["Dominica","dm","1767"],["Dominican Republic","do","1","",2],["Ecuador","ec","593"],["Egypt","eg","20"],["El Salvador","sv","503","....-...."],["Equatorial Guinea","gq","240"],["Eritrea","er","291"],["Estonia","ee","372",".... ......"],["Ethiopia","et","251"],["Fiji","fj","679"],["Finland","fi","358",".. ... .. .."],["France","fr","33",". .. .. .. .."],["French Guiana","gf","594"],["French Polynesia","pf","689"],["Gabon","ga","241"],["Gambia","gm","220"],["Georgia","ge","995"],["Germany","de","49",".... ........"],["Ghana","gh","233"],["Greece","gr","30"],["Grenada","gd","1473"],["Guadeloupe","gp","590","",0],["Guam","gu","1671"],["Guatemala","gt","502","....-...."],["Guinea","gn","224"],["Guinea-Bissau","gw","245"],["Guyana","gy","592"],["Haiti","ht","509","....-...."],["Honduras","hn","504"],["Hong Kong","hk","852",".... ...."],["Hungary","hu","36"],["Iceland","is","354","... ...."],["India","in","91",".....-....."],["Indonesia","id","62"],["Iran","ir","98","... ... ...."],["Iraq","iq","964"],["Ireland","ie","353",".. ......."],["Israel","il","972","... ... ...."],["Italy","it","39","... .......",0],["Jamaica","jm","1876"],["Japan","jp","81",".. .... ...."],["Jordan","jo","962"],["Kazakhstan","kz","7","... ...-..-..",0],["Kenya","ke","254"],["Kiribati","ki","686"],["Kosovo","xk","383"],["Kuwait","kw","965"],["Kyrgyzstan","kg","996","... ... ..."],["Laos","la","856"],["Latvia","lv","371",".. ... ..."],["Lebanon","lb","961"],["Lesotho","ls","266"],["Liberia","lr","231"],["Libya","ly","218"],["Liechtenstein","li","423"],["Lithuania","lt","370"],["Luxembourg","lu","352"],["Macau","mo","853"],["Macedonia","mk","389"],["Madagascar","mg","261"],["Malawi","mw","265"],["Malaysia","my","60","..-....-...."],["Maldives","mv","960"],["Mali","ml","223"],["Malta","mt","356"],["Marshall Islands","mh","692"],["Martinique","mq","596"],["Mauritania","mr","222"],["Mauritius","mu","230"],["Mexico","mx","52","... ... ....",0],["Micronesia","fm","691"],["Moldova","md","373","(..) ..-..-.."],["Monaco","mc","377"],["Mongolia","mn","976"],["Montenegro","me","382"],["Morocco","ma","212"],["Mozambique","mz","258"],["Myanmar","mm","95"],["Namibia","na","264"],["Nauru","nr","674"],["Nepal","np","977"],["Netherlands","nl","31",".. ........"],["New Caledonia","nc","687"],["New Zealand","nz","64","...-...-...."],["Nicaragua","ni","505"],["Niger","ne","227"],["Nigeria","ng","234"],["North Korea","kp","850"],["Norway","no","47","... .. ..."],["Oman","om","968"],["Pakistan","pk","92","...-......."],["Palau","pw","680"],["Palestine","ps","970"],["Panama","pa","507"],["Papua New Guinea","pg","675"],["Paraguay","py","595"],["Peru","pe","51"],["Philippines","ph","63",".... ......."],["Poland","pl","48","...-...-..."],["Portugal","pt","351"],["Puerto Rico","pr","1","",3,["787","939"]],["Qatar","qa","974"],["Réunion","re","262"],["Romania","ro","40"],["Russia","ru","7","(...) ...-..-..",1],["Rwanda","rw","250"],["Saint Kitts and Nevis","kn","1869"],["Saint Lucia","lc","1758"],["Saint Vincent and the Grenadines","vc","1784"],["Samoa","ws","685"],["San Marino","sm","378"],["São Tomé and Príncipe","st","239"],["Saudi Arabia","sa","966"],["Senegal","sn","221"],["Serbia","rs","381"],["Seychelles","sc","248"],["Sierra Leone","sl","232"],["Singapore","sg","65","....-...."],["Slovakia","sk","421"],["Slovenia","si","386"],["Solomon Islands","sb","677"],["Somalia","so","252"],["South Africa","za","27"],["South Korea","kr","82","... .... ...."],["South Sudan","ss","211"],["Spain","es","34","... ... ..."],["Sri Lanka","lk","94"],["Sudan","sd","249"],["Suriname","sr","597"],["Swaziland","sz","268"],["Sweden","se","46","... ... ..."],["Switzerland","ch","41",".. ... .. .."],["Syria","sy","963"],["Taiwan","tw","886"],["Tajikistan","tj","992"],["Tanzania","tz","255"],["Thailand","th","66"],["Timor-Leste","tl","670"],["Togo","tg","228"],["Tonga","to","676"],["Trinidad and Tobago","tt","1868"],["Tunisia","tn","216"],["Turkey","tr","90","... ... .. .."],["Turkmenistan","tm","993"],["Tuvalu","tv","688"],["Uganda","ug","256"],["Ukraine","ua","380","(..) ... .. .."],["United Arab Emirates","ae","971"],["United Kingdom","gb","44",".... ......"],["United States","us","1","(...) ...-....",0],["Uruguay","uy","598"],["Uzbekistan","uz","998",".. ... .. .."],["Vanuatu","vu","678"],["Vatican City","va","39",".. .... ....",1],["Venezuela","ve","58"],["Vietnam","vn","84"],["Yemen","ye","967"],["Zambia","zm","260"],["Zimbabwe","zw","263"]],SP="react-international-phone-",lg=(...e)=>e.filter(t=>!!t).join(" ").trim(),MP=(...e)=>lg(...e).split(" ").map(t=>`${SP}${t}`).join(" "),et=({addPrefix:e,rawClassNames:t})=>lg(MP(...e),...t),AP=({value:e,mask:t,maskSymbol:n,offset:r=0,trimNonMaskCharsLeftover:o=!1})=>{if(e.length<r)return e;let a=e.slice(0,r),i=e.slice(r),s=a,l=0;for(let u of t.split("")){if(l>=i.length){if(!o&&u!==n){s+=u;continue}break}u===n?(s+=i[l],l+=1):s+=u}return s},Zr=e=>e?/^\d+$/.test(e):!1,Zi=e=>e.replace(/\D/g,""),TP=(e,t)=>{let n=e.style.display;n!=="block"&&(e.style.display="block");let r=e.getBoundingClientRect(),o=t.getBoundingClientRect(),a=o.top-r.top,i=r.bottom-o.bottom;a>=0&&i>=0||(Math.abs(a)<Math.abs(i)?e.scrollTop+=a:e.scrollTop-=i),e.style.display=n},DP=(e,t)=>{let n=t.disableDialCodeAndPrefix?!1:t.forceDialCode,r=t.disableDialCodeAndPrefix?!1:t.insertDialCodeOnEmpty,o=e,a=u=>t.trimNonDigitsEnd?u.trim():u;if(!o)return r&&!o.length||n?a(`${t.prefix}${t.dialCode}${t.charAfterDialCode}`):a(o);if(o=Zi(o),o===t.dialCode&&!t.disableDialCodeAndPrefix)return a(`${t.prefix}${t.dialCode}${t.charAfterDialCode}`);if(t.dialCode.startsWith(o)&&!t.disableDialCodeAndPrefix)return a(n?`${t.prefix}${t.dialCode}${t.charAfterDialCode}`:`${t.prefix}${o}`);if(!o.startsWith(t.dialCode)&&!t.disableDialCodeAndPrefix){if(n)return a(`${t.prefix}${t.dialCode}${t.charAfterDialCode}`);if(o.length<t.dialCode.length)return a(`${t.prefix}${o}`)}let i=()=>{let u=t.dialCode.length,c=o.slice(0,u),d=o.slice(u);return{phoneLeftSide:c,phoneRightSide:d}},{phoneLeftSide:s,phoneRightSide:l}=i();return s=`${t.prefix}${s}${t.charAfterDialCode}`,l=AP({value:l,mask:t.mask,maskSymbol:t.maskChar,trimNonMaskCharsLeftover:t.trimNonDigitsEnd||t.disableDialCodeAndPrefix&&l.length===0}),t.disableDialCodeAndPrefix&&(s=""),a(`${s}${l}`)},NP=({phoneBeforeInput:e,phoneAfterInput:t,phoneAfterFormatted:n,cursorPositionAfterInput:r,leftOffset:o=0,deletion:a})=>{if(r<o)return o;if(!e)return n.length;let i=null;for(let c=r-1;c>=0;c-=1)if(Zr(t[c])){i=c;break}if(i===null){for(let c=0;c<t.length;c+=1)if(Zr(n[c]))return c;return t.length}let s=0;for(let c=0;c<i;c+=1)Zr(t[c])&&(s+=1);let l=0,u=0;for(let c=0;c<n.length&&(l+=1,Zr(n[c])&&(u+=1),!(u>=s+1));c+=1);if(a!=="backward")for(;!Zr(n[l])&&l<n.length;)l+=1;return l},Yi=({phone:e,prefix:t})=>e?`${t}${Zi(e)}`:"";function xc({value:e,country:t,insertDialCodeOnEmpty:n,trimNonDigitsEnd:r,countries:o,prefix:a,charAfterDialCode:i,forceDialCode:s,disableDialCodeAndPrefix:l,defaultMask:u,countryGuessingEnabled:c,disableFormatting:d}){let p=e;l&&(p=p.startsWith(`${a}`)?p:`${a}${t.dialCode}${p}`);let m=c?WP({phone:p,countries:o,currentCountryIso2:t==null?void 0:t.iso2}):void 0,h=(m==null?void 0:m.country)??t,g=DP(p,{prefix:a,mask:jP({phone:p,country:h,defaultMask:u,disableFormatting:d}),maskChar:ug,dialCode:h.dialCode,trimNonDigitsEnd:r,charAfterDialCode:i,forceDialCode:s,insertDialCodeOnEmpty:n,disableDialCodeAndPrefix:l}),b=c&&!(m!=null&&m.fullDialCodeMatch)?t:h;return{phone:Yi({phone:l?`${b.dialCode}${g}`:g,prefix:a}),inputValue:g,country:b}}var $P=e=>{if((e==null?void 0:e.toLocaleLowerCase().includes("delete"))??!1)return e!=null&&e.toLocaleLowerCase().includes("forward")?"forward":"backward"},kP=(e,{country:t,insertDialCodeOnEmpty:n,phoneBeforeInput:r,prefix:o,charAfterDialCode:a,forceDialCode:i,disableDialCodeAndPrefix:s,countryGuessingEnabled:l,defaultMask:u,disableFormatting:c,countries:d})=>{let p=e.nativeEvent,m=p.inputType,h=$P(m),g=!!(m!=null&&m.startsWith("insertFrom")),b=m==="insertText",x=(p==null?void 0:p.data)||void 0,y=e.target.value,w=e.target.selectionStart??0;if(m!=null&&m.includes("history"))return{inputValue:r,phone:Yi({phone:r,prefix:o}),cursorPosition:r.length,country:t};if(b&&!Zr(x)&&y!==o)return{inputValue:r,phone:Yi({phone:s?`${t.dialCode}${r}`:r,prefix:o}),cursorPosition:w-((x==null?void 0:x.length)??0),country:t};if(i&&!y.startsWith(`${o}${t.dialCode}`)&&!g){let v=y?r:`${o}${t.dialCode}${a}`;return{inputValue:v,phone:Yi({phone:v,prefix:o}),cursorPosition:o.length+t.dialCode.length+a.length,country:t}}let{phone:S,inputValue:E,country:A}=xc({value:y,country:t,trimNonDigitsEnd:h==="backward",insertDialCodeOnEmpty:n,countryGuessingEnabled:l,countries:d,prefix:o,charAfterDialCode:a,forceDialCode:i,disableDialCodeAndPrefix:s,disableFormatting:c,defaultMask:u}),T=NP({cursorPositionAfterInput:w,phoneBeforeInput:r,phoneAfterInput:y,phoneAfterFormatted:E,leftOffset:i?o.length+t.dialCode.length+a.length:0,deletion:h});return{phone:S,inputValue:E,cursorPosition:T,country:A}},OP=(e,t)=>{let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let o of n)if(e[o]!==t[o])return!1;return!0},FP=()=>{let e=f.useRef(),t=f.useRef(Date.now());return{check:()=>{let n=Date.now(),r=e.current?n-t.current:void 0;return e.current=t.current,t.current=n,r}}},LP={size:20,overrideLastItemDebounceMS:-1};function VP(e,t){let{size:n,overrideLastItemDebounceMS:r,onChange:o}={...LP,...t},[a,i]=f.useState(e),[s,l]=f.useState([a]),[u,c]=f.useState(0),d=FP();return[a,(p,m)=>{if(typeof p=="object"&&typeof a=="object"&&OP(p,a)||p===a)return;let h=r>0,g=d.check(),b=h&&g!==void 0?g>r:!0;if((m==null?void 0:m.overrideLastItem)!==void 0?m.overrideLastItem:!b)l(x=>[...x.slice(0,u),p]);else{let x=s.length>=n;l(y=>[...y.slice(x?1:0,u+1),p]),x||c(y=>y+1)}i(p),o==null||o(p)},()=>{if(u<=0)return{success:!1};let p=s[u-1];return i(p),c(m=>m-1),o==null||o(p),{success:!0,value:p}},()=>{if(u+1>=s.length)return{success:!1};let p=s[u+1];return i(p),c(m=>m+1),o==null||o(p),{success:!0,value:p}}]}var ug=".",Tt={defaultCountry:"us",value:"",prefix:"+",defaultMask:"............",charAfterDialCode:" ",historySaveDebounceMS:200,disableCountryGuess:!1,disableDialCodePrefill:!1,forceDialCode:!1,disableDialCodeAndPrefix:!1,disableFormatting:!1,countries:kn,preferredCountries:[]},cg=({defaultCountry:e=Tt.defaultCountry,value:t=Tt.value,countries:n=Tt.countries,prefix:r=Tt.prefix,defaultMask:o=Tt.defaultMask,charAfterDialCode:a=Tt.charAfterDialCode,historySaveDebounceMS:i=Tt.historySaveDebounceMS,disableCountryGuess:s=Tt.disableCountryGuess,disableDialCodePrefill:l=Tt.disableDialCodePrefill,forceDialCode:u=Tt.forceDialCode,disableDialCodeAndPrefix:c=Tt.disableDialCodeAndPrefix,disableFormatting:d=Tt.disableFormatting,onChange:p,inputRef:m})=>{let h={countries:n,prefix:r,charAfterDialCode:a,forceDialCode:c?!1:u,disableDialCodeAndPrefix:c,defaultMask:o,countryGuessingEnabled:!s,disableFormatting:d},g=f.useRef(null),b=m||g,x=P=>{Promise.resolve().then(()=>{var O;typeof window>"u"||b.current!==(document==null?void 0:document.activeElement)||((O=b.current)==null||O.setSelectionRange(P,P))})},[{phone:y,inputValue:w,country:S},E,A,T]=VP(()=>{let P=Yr({value:e,field:"iso2",countries:n});P||console.error(`[react-international-phone]: can not find a country with "${e}" iso2 code`);let O=P||Yr({value:"us",field:"iso2",countries:n}),{phone:j,inputValue:N,country:W}=xc({value:t,country:O,insertDialCodeOnEmpty:!l,...h});return x(N.length),{phone:j,inputValue:N,country:W.iso2}},{overrideLastItemDebounceMS:i,onChange:({inputValue:P,phone:O,country:j})=>{if(!p)return;let N=v(j);p({phone:O,inputValue:P,country:N})}}),v=f.useCallback(P=>Yr({value:P,field:"iso2",countries:n}),[n]),D=f.useMemo(()=>v(S),[S,v]);f.useEffect(()=>{let P=b.current;if(!P)return;let O=j=>{if(!j.key)return;let N=j.ctrlKey,W=j.shiftKey,K=j.key.toLowerCase()==="z";!N||!K||(W?T():A())};return P.addEventListener("keydown",O),()=>{P.removeEventListener("keydown",O)}},[b,A,T]);let $=P=>{P.preventDefault();let{phone:O,inputValue:j,country:N,cursorPosition:W}=kP(P,{country:D,phoneBeforeInput:w,insertDialCodeOnEmpty:!1,...h});return E({inputValue:j,phone:O,country:N.iso2}),x(W),t},M=(P,O={focusOnInput:!1})=>{let j=Yr({value:P,field:"iso2",countries:n});if(!j){console.error(`[react-international-phone]: can not find a country with "${P}" iso2 code`);return}let N=c?"":`${r}${j.dialCode}${a}`;E({inputValue:N,phone:`${r}${j.dialCode}`,country:j.iso2}),O.focusOnInput&&Promise.resolve().then(()=>{var W;(W=b.current)==null||W.focus()})},[k,I]=f.useState(!1);return f.useEffect(()=>{if(!k){I(!0),t!==y&&(p==null||p({inputValue:w,phone:y,country:D}));return}if(t===y)return;let{phone:P,inputValue:O,country:j}=xc({value:t,country:D,insertDialCodeOnEmpty:!l,...h});E({phone:P,inputValue:O,country:j.iso2})},[t]),{phone:y,inputValue:w,country:D,setCountry:M,handlePhoneValueChange:$,inputRef:b}},jP=({phone:e,country:t,defaultMask:n="............",disableFormatting:r=!1})=>{let o=t.format,a=s=>r?s.replace(new RegExp(`[^${ug}]`,"g"),""):s;if(!o)return a(n);if(typeof o=="string")return a(o);if(!o.default)return console.error(`[react-international-phone]: default mask for ${t.iso2} is not provided`),a(n);let i=Object.keys(o).find(s=>{if(s==="default")return!1;if(!(s.charAt(0)==="/"&&s.charAt(s.length-1)==="/"))return console.error(`[react-international-phone]: format regex "${s}" for ${t.iso2} is not valid`),!1;let l=new RegExp(s.substring(1,s.length-1)),u=e.replace(t.dialCode,"");return l.test(Zi(u))});return a(i?o[i]:o.default)},Vt=e=>{let[t,n,r,o,a,i]=e;return{name:t,iso2:n,dialCode:r,format:o,priority:a,areaCodes:i}},BP=e=>`Field "${e}" is not supported`,Yr=({field:e,value:t,countries:n=kn})=>{if(["priority"].includes(e))throw new Error(BP(e));let r=n.find(o=>{let a=Vt(o);return t===a[e]});if(r)return Vt(r)},WP=({phone:e,countries:t=kn,currentCountryIso2:n})=>{var s;let r={country:void 0,fullDialCodeMatch:!1};if(!e)return r;let o=Zi(e);if(!o)return r;let a=r,i=({country:l,fullDialCodeMatch:u})=>{var p,m;let c=l.dialCode===((p=a.country)==null?void 0:p.dialCode),d=(l.priority??0)<(((m=a.country)==null?void 0:m.priority)??0);(!c||d)&&(a={country:l,fullDialCodeMatch:u})};for(let l of t){let u=Vt(l),{dialCode:c,areaCodes:d}=u;if(o.startsWith(c)){let p=a.country?Number(c)>=Number(a.country.dialCode):!0;if(d){let m=o.substring(c.length);for(let h of d)if(m.startsWith(h))return{country:u,fullDialCodeMatch:!0}}(p||c===o||!a.fullDialCodeMatch)&&i({country:u,fullDialCodeMatch:!0})}a.fullDialCodeMatch||o.length<c.length&&c.startsWith(o)&&(!a.country||Number(c)<=Number(a.country.dialCode))&&i({country:u,fullDialCodeMatch:!1})}if(n){let l=Yr({value:n,field:"iso2",countries:t});if(!l)return a;let u=l?(c=>{if(!(c!=null&&c.areaCodes))return!1;let d=o.substring(c.dialCode.length);return c.areaCodes.some(p=>p.startsWith(d))})(l):!1;a&&((s=a.country)==null?void 0:s.dialCode)===l.dialCode&&a.country!==l&&a.fullDialCodeMatch&&(!l.areaCodes||u)&&(a={country:l,fullDialCodeMatch:!0})}return a},_P=(e,t)=>{let n=parseInt(e,16);return Number(n+t).toString(16)},GP="abcdefghijklmnopqrstuvwxyz",RP="1f1e6",dg=GP.split("").reduce((e,t,n)=>({...e,[t]:_P(RP,n)}),{}),zP=e=>[dg[e[0]],dg[e[1]]].join("-"),Ui=({iso2:e,size:t,src:n,protocol:r="https",disableLazyLoading:o,className:a,style:i,...s})=>{if(!e)return f.createElement("img",{className:et({addPrefix:["flag-emoji"],rawClassNames:[a]}),width:t,height:t,...s});let l=()=>{if(n)return n;let u=zP(e);return`${r}://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/svg/${u}.svg`};return f.createElement("img",{className:et({addPrefix:["flag-emoji"],rawClassNames:[a]}),src:l(),width:t,height:t,draggable:!1,"data-country":e,loading:o?void 0:"lazy",style:{width:t,height:t,...i},alt:"",...s})},HP=1e3,XP=({show:e,dialCodePrefix:t="+",selectedCountry:n,countries:r=kn,preferredCountries:o=[],flags:a,onSelect:i,onClose:s,...l})=>{let u=f.useRef(null),c=f.useRef(),d=f.useMemo(()=>{if(!o||!o.length)return r;let A=[],T=[...r];for(let v of o){let D=T.findIndex($=>Vt($).iso2===v);if(D!==-1){let $=T.splice(D,1)[0];A.push($)}}return A.concat(T)},[r,o]),p=f.useRef({updatedAt:void 0,value:""}),m=A=>{let T=p.current.updatedAt&&new Date().getTime()-p.current.updatedAt.getTime()>HP;p.current={value:T?A:`${p.current.value}${A}`,updatedAt:new Date};let v=d.findIndex(D=>Vt(D).name.toLowerCase().startsWith(p.current.value));v!==-1&&b(v)},h=f.useCallback(A=>d.findIndex(T=>Vt(T).iso2===A),[d]),[g,b]=f.useState(h(n)),x=()=>{c.current!==n&&b(h(n))},y=f.useCallback(A=>{b(h(A.iso2)),i==null||i(A)},[i,h]),w=A=>{let T=d.length-1,v=D=>A==="prev"?D-1:A==="next"?D+1:A==="last"?T:0;b(D=>{let $=v(D);return $<0?0:$>T?T:$})},S=A=>{if(A.stopPropagation(),A.key==="Enter"){A.preventDefault();let T=Vt(d[g]);y(T);return}if(A.key==="Escape"){s==null||s();return}if(A.key==="ArrowUp"){A.preventDefault(),w("prev");return}if(A.key==="ArrowDown"){A.preventDefault(),w("next");return}if(A.key==="PageUp"){A.preventDefault(),w("first");return}if(A.key==="PageDown"){A.preventDefault(),w("last");return}A.key===" "&&A.preventDefault(),A.key.length===1&&!A.altKey&&!A.ctrlKey&&!A.metaKey&&m(A.key.toLocaleLowerCase())},E=f.useCallback(()=>{if(!u.current||g===void 0)return;let A=Vt(d[g]).iso2;if(A===c.current)return;let T=u.current.querySelector(`[data-country="${A}"]`);T&&(TP(u.current,T),c.current=A)},[g,d]);return f.useEffect(()=>{E()},[g,E]),f.useEffect(()=>{u.current&&(e?u.current.focus():x())},[e]),f.useEffect(()=>{x()},[n]),f.createElement("ul",{ref:u,role:"listbox",className:et({addPrefix:["country-selector-dropdown"],rawClassNames:[l.className]}),style:{display:e?"block":"none",...l.style},onKeyDown:S,onBlur:s,tabIndex:-1,"aria-activedescendant":`react-international-phone__${Vt(d[g]).iso2}-option`},d.map((A,T)=>{let v=Vt(A),D=v.iso2===n,$=T===g,M=o.includes(v.iso2),k=T===o.length-1,I=a==null?void 0:a.find(P=>P.iso2===v.iso2);return f.createElement(f.Fragment,{key:v.iso2},f.createElement("li",{"data-country":v.iso2,role:"option","aria-selected":D,"aria-label":`${v.name} ${t}${v.dialCode}`,id:`react-international-phone__${v.iso2}-option`,className:et({addPrefix:["country-selector-dropdown__list-item",M&&"country-selector-dropdown__list-item--preferred",D&&"country-selector-dropdown__list-item--selected",$&&"country-selector-dropdown__list-item--focused"],rawClassNames:[l.listItemClassName]}),onClick:()=>y(v),style:l.listItemStyle,title:v.name},f.createElement(Ui,{iso2:v.iso2,src:I==null?void 0:I.src,className:et({addPrefix:["country-selector-dropdown__list-item-flag-emoji"],rawClassNames:[l.listItemFlagClassName]}),style:l.listItemFlagStyle}),f.createElement("span",{className:et({addPrefix:["country-selector-dropdown__list-item-country-name"],rawClassNames:[l.listItemCountryNameClassName]}),style:l.listItemCountryNameStyle},v.name),f.createElement("span",{className:et({addPrefix:["country-selector-dropdown__list-item-dial-code"],rawClassNames:[l.listItemDialCodeClassName]}),style:l.listItemDialCodeStyle},t,v.dialCode)),k?f.createElement("hr",{className:et({addPrefix:["country-selector-dropdown__preferred-list-divider"],rawClassNames:[l.preferredListDividerClassName]}),style:l.preferredListDividerStyle}):null)}))},ZP=({selectedCountry:e,onSelect:t,disabled:n,hideDropdown:r,countries:o=kn,preferredCountries:a=[],flags:i,renderButtonWrapper:s,...l})=>{let[u,c]=f.useState(!1),d=f.useMemo(()=>{if(e)return Yr({value:e,field:"iso2",countries:o})},[o,e]),p=f.useRef(null),m=g=>{g.key&&["ArrowUp","ArrowDown"].includes(g.key)&&(g.preventDefault(),c(!0))},h=()=>{var x;let g={title:d==null?void 0:d.name,onClick:()=>c(y=>!y),onMouseDown:y=>y.preventDefault(),onKeyDown:m,disabled:r||n,role:"combobox","aria-label":"Country selector","aria-haspopup":"listbox","aria-expanded":u},b=f.createElement("div",{className:et({addPrefix:["country-selector-button__button-content"],rawClassNames:[l.buttonContentWrapperClassName]}),style:l.buttonContentWrapperStyle},f.createElement(Ui,{iso2:e,src:(x=i==null?void 0:i.find(y=>y.iso2===e))==null?void 0:x.src,className:et({addPrefix:["country-selector-button__flag-emoji",n&&"country-selector-button__flag-emoji--disabled"],rawClassNames:[l.flagClassName]}),style:{visibility:e?"visible":"hidden",...l.flagStyle}}),!r&&f.createElement("div",{className:et({addPrefix:["country-selector-button__dropdown-arrow",n&&"country-selector-button__dropdown-arrow--disabled",u&&"country-selector-button__dropdown-arrow--active"],rawClassNames:[l.dropdownArrowClassName]}),style:l.dropdownArrowStyle}));return s?s({children:b,rootProps:g}):f.createElement("button",{...g,type:"button",className:et({addPrefix:["country-selector-button",u&&"country-selector-button--active",n&&"country-selector-button--disabled",r&&"country-selector-button--hide-dropdown"],rawClassNames:[l.buttonClassName]}),"data-country":e,style:l.buttonStyle},b)};return f.createElement("div",{className:et({addPrefix:["country-selector"],rawClassNames:[l.className]}),style:l.style,ref:p},h(),f.createElement(XP,{show:u,countries:o,preferredCountries:a,flags:i,onSelect:g=>{c(!1),t==null||t(g)},selectedCountry:e,onClose:()=>{c(!1)},...l.dropdownStyleProps}))},YP=({dialCode:e,prefix:t,disabled:n,style:r,className:o})=>f.createElement("div",{className:et({addPrefix:["dial-code-preview",n&&"dial-code-preview--disabled"],rawClassNames:[o]}),style:r},`${t}${e}`);f.forwardRef(({value:e,onChange:t,countries:n=kn,preferredCountries:r=[],hideDropdown:o,showDisabledDialCodeAndPrefix:a,disableFocusAfterCountrySelect:i,flags:s,style:l,className:u,inputStyle:c,inputClassName:d,countrySelectorStyleProps:p,dialCodePreviewStyleProps:m,inputProps:h,placeholder:g,disabled:b,name:x,onFocus:y,onBlur:w,required:S,autoFocus:E,...A},T)=>{let{phone:v,inputValue:D,inputRef:$,country:M,setCountry:k,handlePhoneValueChange:I}=cg({value:e,countries:n,...A,onChange:O=>{t==null||t(O.phone,{country:O.country,inputValue:O.inputValue})}}),P=A.disableDialCodeAndPrefix&&a&&(M==null?void 0:M.dialCode);return f.useImperativeHandle(T,()=>$.current?Object.assign($.current,{setCountry:k,state:{phone:v,inputValue:D,country:M}}):null,[$,k,v,D,M]),f.createElement("div",{ref:T,className:et({addPrefix:["input-container"],rawClassNames:[u]}),style:l},f.createElement(ZP,{onSelect:O=>k(O.iso2,{focusOnInput:!i}),flags:s,selectedCountry:M.iso2,countries:n,preferredCountries:r,disabled:b,hideDropdown:o,...p}),P&&f.createElement(YP,{dialCode:M.dialCode,prefix:A.prefix??"+",disabled:b,...m}),f.createElement("input",{onChange:I,value:D,type:"tel",ref:$,className:et({addPrefix:["input",b&&"input--disabled"],rawClassNames:[d]}),placeholder:g,disabled:b,style:c,name:x,onFocus:y,onBlur:w,autoFocus:E,required:S,...h}))});const UP=({value:e,onChange:t,disabled:n,placeholder:r,error:o,erroMessage:a,isValid:i,searchMessage:s,noResultsFoundMessage:l,...u})=>{const[c,d]=f.useState(!1),p=ye({base:"group flex h-12 w-full items-center rounded-lg border border-primary-grey-700 bg-white px-4 py-3",variants:{disabled:{true:"border-none bg-primary-grey-500"},isError:{true:"border-complementary-red-500"},completed:{true:"border-secondary-green-500"}}}),m=ye({base:"ml-4 bg-transparent font-satoshi text-sm font-normal leading-normal focus-within:outline-none group-focus-within:text-black",variants:{disabled:{true:"text-primary-grey-700"}}}),h=ye({base:"flex items-center gap-[6px] border-r border-primary-grey-800 pr-4",variants:{disabled:{true:"border-primary-grey-700"}}}),g=ye({base:"h-6 w-6 stroke-1 text-primary-grey-800 group-focus-within:text-black",variants:{disabled:{true:"text-primary-grey-700"}}}),b=ye({base:"font-satoshi text-sm font-normal leading-normal text-primary-grey-800 group-focus-within:text-black",variants:{disabled:{true:"text-primary-grey-700"}}}),{inputValue:x,handlePhoneValueChange:y,inputRef:w,country:S,setCountry:E}=cg({defaultCountry:"us",value:e,charAfterDialCode:"+",disableDialCodePrefill:!1,disableDialCodeAndPrefix:!0,countries:kn,onChange:T=>{t==null||t(T.phone)}}),A=T=>{d(!c),E(T)};return F.jsxs("div",{className:"h-[74px]",children:[F.jsxs("div",{className:p({disabled:n,isError:o,completed:i}),children:[F.jsxs(uh,{open:c,onOpenChange:d,children:[F.jsx(ch,{asChild:!0,children:F.jsxs("button",{disabled:n,className:h({disabled:n}),children:[F.jsx("div",{className:"flex h-6 w-6 items-center justify-center overflow-hidden rounded-full border-1.5 border-white",children:F.jsx(Ui,{className:"scale-[1.4]",iso2:S.iso2})}),F.jsxs("span",{className:b({disabled:n}),children:["+ ",S.dialCode]}),c?F.jsx(EP,{className:g({disabled:n})}):F.jsx(sg,{className:g({disabled:n})})]})}),F.jsx(dh,{children:F.jsx(fh,{className:"max-h-96 overflow-y-auto rounded-lg border border-primary-grey-600 bg-white",side:"bottom",sideOffset:5,children:F.jsxs(Hr,{children:[F.jsxs("div",{className:"flex items-center justify-center gap-2 border-b-1 px-2 py-2",children:[F.jsx(PP,{className:"h-4 w-4 shrink-0 text-primary-grey-800"}),F.jsx(Hr.Input,{className:"w-full font-satoshi text-sm focus-visible:outline-none",placeholder:s})]}),F.jsxs(Hr.List,{className:"mt-2",children:[F.jsx(Hr.Empty,{className:"font-satoshi text-sm",children:l}),F.jsx(Hr.Group,{children:kn.map(T=>{const v=Vt(T);return F.jsxs(Hr.Item,{onSelect:()=>A(v.iso2),className:"flex cursor-pointer items-center justify-between px-2 py-2 font-satoshi text-sm text-primary-grey-800 hover:bg-primary-grey-500",children:[F.jsxs("div",{className:"flex gap-1",children:[F.jsx("div",{className:"flex h-6 w-6 items-center justify-center overflow-hidden rounded-full border-1.5 border-white",children:F.jsx(Ui,{className:"scale-[1.4]",iso2:v.iso2})}),F.jsx("span",{children:v.name})]}),F.jsxs("span",{children:["+ ",v.dialCode]})]},v.iso2)})})]})]})})})]}),F.jsx("input",{disabled:n,className:m({disabled:n}),placeholder:r,type:"tel",value:x,onChange:y,ref:w,...u})]}),o&&a&&F.jsx("span",{className:"mt-2 pl-6 font-satoshi text-xs font-normal leading-normal text-complementary-red-500",children:a})]})};function sr(e){"@babel/helpers - typeof";return sr=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},sr(e)}function KP(e,t){if(sr(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(sr(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function fg(e){var t=KP(e,"string");return sr(t)=="symbol"?t:t+""}function qo(e,t,n){return t=fg(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function ce(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?pg(Object(n),!0).forEach(function(r){qo(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pg(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function JP(e){if(Array.isArray(e))return e}function QP(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,o,a,i,s=[],l=!0,u=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(c){u=!0,o=c}finally{try{if(!l&&n.return!=null&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw o}}return s}}function Cc(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function mg(e,t){if(e){if(typeof e=="string")return Cc(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Cc(e,t)}}function qP(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
102
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function mn(e,t){return JP(e)||QP(e,t)||mg(e,t)||qP()}function eS(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,a;for(a=0;a<r.length;a++)o=r[a],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function hn(e,t){if(e==null)return{};var n=eS(e,t),r,o;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var tS=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function nS(e){var t=e.defaultInputValue,n=t===void 0?"":t,r=e.defaultMenuIsOpen,o=r===void 0?!1:r,a=e.defaultValue,i=a===void 0?null:a,s=e.inputValue,l=e.menuIsOpen,u=e.onChange,c=e.onInputChange,d=e.onMenuClose,p=e.onMenuOpen,m=e.value,h=hn(e,tS),g=f.useState(s!==void 0?s:n),b=mn(g,2),x=b[0],y=b[1],w=f.useState(l!==void 0?l:o),S=mn(w,2),
|
|
101
|
+
*/var Dh;function aI(){if(Dh)return Xo;Dh=1;var e=f,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function i(s,l,u){var c,d={},p=null,m=null;u!==void 0&&(p=""+u),l.key!==void 0&&(p=""+l.key),l.ref!==void 0&&(m=l.ref);for(c in l)r.call(l,c)&&!a.hasOwnProperty(c)&&(d[c]=l[c]);if(s&&s.defaultProps)for(c in l=s.defaultProps,l)d[c]===void 0&&(d[c]=l[c]);return{$$typeof:t,type:s,key:p,ref:m,props:d,_owner:o.current}}return Xo.Fragment=n,Xo.jsx=i,Xo.jsxs=i,Xo}process.env.NODE_ENV==="production"?Qu.exports=aI():Qu.exports=oI();var z=Qu.exports;function Zo(e){return e.mode==="multiple"}function Yo(e){return e.mode==="range"}function Ri(e){return e.mode==="single"}var iI={root:"rdp",multiple_months:"rdp-multiple_months",with_weeknumber:"rdp-with_weeknumber",vhidden:"rdp-vhidden",button_reset:"rdp-button_reset",button:"rdp-button",caption:"rdp-caption",caption_start:"rdp-caption_start",caption_end:"rdp-caption_end",caption_between:"rdp-caption_between",caption_label:"rdp-caption_label",caption_dropdowns:"rdp-caption_dropdowns",dropdown:"rdp-dropdown",dropdown_month:"rdp-dropdown_month",dropdown_year:"rdp-dropdown_year",dropdown_icon:"rdp-dropdown_icon",months:"rdp-months",month:"rdp-month",table:"rdp-table",tbody:"rdp-tbody",tfoot:"rdp-tfoot",head:"rdp-head",head_row:"rdp-head_row",head_cell:"rdp-head_cell",nav:"rdp-nav",nav_button:"rdp-nav_button",nav_button_previous:"rdp-nav_button_previous",nav_button_next:"rdp-nav_button_next",nav_icon:"rdp-nav_icon",row:"rdp-row",weeknumber:"rdp-weeknumber",cell:"rdp-cell",day:"rdp-day",day_today:"rdp-day_today",day_outside:"rdp-day_outside",day_selected:"rdp-day_selected",day_disabled:"rdp-day_disabled",day_hidden:"rdp-day_hidden",day_range_start:"rdp-day_range_start",day_range_end:"rdp-day_range_end",day_range_middle:"rdp-day_range_middle"};function sI(e,t){return fn(e,"LLLL y",t)}function lI(e,t){return fn(e,"d",t)}function uI(e,t){return fn(e,"LLLL",t)}function cI(e){return"".concat(e)}function dI(e,t){return fn(e,"cccccc",t)}function fI(e,t){return fn(e,"yyyy",t)}var pI=Object.freeze({__proto__:null,formatCaption:sI,formatDay:lI,formatMonthCaption:uI,formatWeekNumber:cI,formatWeekdayName:dI,formatYearCaption:fI}),mI=function(e,t,n){return fn(e,"do MMMM (EEEE)",n)},hI=function(){return"Month: "},gI=function(){return"Go to next month"},bI=function(){return"Go to previous month"},vI=function(e,t){return fn(e,"cccc",t)},yI=function(e){return"Week n. ".concat(e)},xI=function(){return"Year: "},CI=Object.freeze({__proto__:null,labelDay:mI,labelMonthDropdown:hI,labelNext:gI,labelPrevious:bI,labelWeekNumber:yI,labelWeekday:vI,labelYearDropdown:xI});function wI(){var e="buttons",t=iI,n=bh,r={},o={},a=1,i={},s=new Date;return{captionLayout:e,classNames:t,formatters:pI,labels:CI,locale:n,modifiersClassNames:r,modifiers:o,numberOfMonths:a,styles:i,today:s,mode:"default"}}function II(e){var t=e.fromYear,n=e.toYear,r=e.fromMonth,o=e.toMonth,a=e.fromDate,i=e.toDate;return r?a=ft(r):t&&(a=new Date(t,0,1)),o?i=Hu(o):n&&(i=new Date(n,11,31)),{fromDate:a?Gr(a):void 0,toDate:i?Gr(i):void 0}}var Nh=f.createContext(void 0);function EI(e){var t,n=e.initialProps,r=wI(),o=II(n),a=o.fromDate,i=o.toDate,s=(t=n.captionLayout)!==null&&t!==void 0?t:r.captionLayout;s!=="buttons"&&(!a||!i)&&(s="buttons");var l;(Ri(n)||Zo(n)||Yo(n))&&(l=n.onSelect);var u=me(me(me({},r),n),{captionLayout:s,classNames:me(me({},r.classNames),n.classNames),components:me({},n.components),formatters:me(me({},r.formatters),n.formatters),fromDate:a,labels:me(me({},r.labels),n.labels),mode:n.mode||r.mode,modifiers:me(me({},r.modifiers),n.modifiers),modifiersClassNames:me(me({},r.modifiersClassNames),n.modifiersClassNames),onSelect:l,styles:me(me({},r.styles),n.styles),toDate:i});return z.jsx(Nh.Provider,{value:u,children:e.children})}function Ve(){var e=f.useContext(Nh);if(!e)throw new Error("useDayPicker must be used within a DayPickerProvider.");return e}function $h(e){var t=Ve(),n=t.locale,r=t.classNames,o=t.styles,a=t.formatters.formatCaption;return z.jsx("div",{className:r.caption_label,style:o.caption_label,"aria-live":"polite",role:"presentation",id:e.id,children:a(e.displayMonth,{locale:n})})}function PI(e){return z.jsx("svg",me({width:"8px",height:"8px",viewBox:"0 0 120 120","data-testid":"iconDropdown"},e,{children:z.jsx("path",{d:"M4.22182541,48.2218254 C8.44222828,44.0014225 15.2388494,43.9273804 19.5496459,47.9996989 L19.7781746,48.2218254 L60,88.443 L100.221825,48.2218254 C104.442228,44.0014225 111.238849,43.9273804 115.549646,47.9996989 L115.778175,48.2218254 C119.998577,52.4422283 120.07262,59.2388494 116.000301,63.5496459 L115.778175,63.7781746 L67.7781746,111.778175 C63.5577717,115.998577 56.7611506,116.07262 52.4503541,112.000301 L52.2218254,111.778175 L4.22182541,63.7781746 C-0.0739418023,59.4824074 -0.0739418023,52.5175926 4.22182541,48.2218254 Z",fill:"currentColor",fillRule:"nonzero"})}))}function kh(e){var t,n,r=e.onChange,o=e.value,a=e.children,i=e.caption,s=e.className,l=e.style,u=Ve(),c=(n=(t=u.components)===null||t===void 0?void 0:t.IconDropdown)!==null&&n!==void 0?n:PI;return z.jsxs("div",{className:s,style:l,children:[z.jsx("span",{className:u.classNames.vhidden,children:e["aria-label"]}),z.jsx("select",{name:e.name,"aria-label":e["aria-label"],className:u.classNames.dropdown,style:u.styles.dropdown,value:o,onChange:r,children:a}),z.jsxs("div",{className:u.classNames.caption_label,style:u.styles.caption_label,"aria-hidden":"true",children:[i,z.jsx(c,{className:u.classNames.dropdown_icon,style:u.styles.dropdown_icon})]})]})}function SI(e){var t,n=Ve(),r=n.fromDate,o=n.toDate,a=n.styles,i=n.locale,s=n.formatters.formatMonthCaption,l=n.classNames,u=n.components,c=n.labels.labelMonthDropdown;if(!r)return z.jsx(z.Fragment,{});if(!o)return z.jsx(z.Fragment,{});var d=[];if(nI(r,o))for(var p=ft(r),m=r.getMonth();m<=o.getMonth();m++)d.push(Ju(p,m));else for(var p=ft(new Date),m=0;m<=11;m++)d.push(Ju(p,m));var h=function(b){var x=Number(b.target.value),y=Ju(ft(e.displayMonth),x);e.onChange(y)},g=(t=u==null?void 0:u.Dropdown)!==null&&t!==void 0?t:kh;return z.jsx(g,{name:"months","aria-label":c(),className:l.dropdown_month,style:a.dropdown_month,onChange:h,value:e.displayMonth.getMonth(),caption:s(e.displayMonth,{locale:i}),children:d.map(function(b){return z.jsx("option",{value:b.getMonth(),children:s(b,{locale:i})},b.getMonth())})})}function MI(e){var t,n=e.displayMonth,r=Ve(),o=r.fromDate,a=r.toDate,i=r.locale,s=r.styles,l=r.classNames,u=r.components,c=r.formatters.formatYearCaption,d=r.labels.labelYearDropdown,p=[];if(!o)return z.jsx(z.Fragment,{});if(!a)return z.jsx(z.Fragment,{});for(var m=o.getFullYear(),h=a.getFullYear(),g=m;g<=h;g++)p.push(Mh(hh(new Date),g));var b=function(y){var w=Mh(ft(n),Number(y.target.value));e.onChange(w)},x=(t=u==null?void 0:u.Dropdown)!==null&&t!==void 0?t:kh;return z.jsx(x,{name:"years","aria-label":d(),className:l.dropdown_year,style:s.dropdown_year,onChange:b,value:n.getFullYear(),caption:c(n,{locale:i}),children:p.map(function(y){return z.jsx("option",{value:y.getFullYear(),children:c(y,{locale:i})},y.getFullYear())})})}function AI(e,t){var n=f.useState(e),r=n[0],o=n[1],a=t===void 0?r:t;return[a,o]}function TI(e){var t=e.month,n=e.defaultMonth,r=e.today,o=t||n||r||new Date,a=e.toDate,i=e.fromDate,s=e.numberOfMonths,l=s===void 0?1:s;if(a&&Go(a,o)<0){var u=-1*(l-1);o=Ft(a,u)}return i&&Go(o,i)<0&&(o=i),ft(o)}function DI(){var e=Ve(),t=TI(e),n=AI(t,e.month),r=n[0],o=n[1],a=function(i){var s;if(!e.disableNavigation){var l=ft(i);o(l),(s=e.onMonthChange)===null||s===void 0||s.call(e,l)}};return[r,a]}function NI(e,t){for(var n=t.reverseMonths,r=t.numberOfMonths,o=ft(e),a=ft(Ft(o,r)),i=Go(a,o),s=[],l=0;l<i;l++){var u=Ft(o,l);s.push(u)}return n&&(s=s.reverse()),s}function $I(e,t){if(!t.disableNavigation){var n=t.toDate,r=t.pagedNavigation,o=t.numberOfMonths,a=o===void 0?1:o,i=r?a:1,s=ft(e);if(!n)return Ft(s,i);var l=Go(n,e);if(!(l<a))return Ft(s,i)}}function kI(e,t){if(!t.disableNavigation){var n=t.fromDate,r=t.pagedNavigation,o=t.numberOfMonths,a=o===void 0?1:o,i=r?a:1,s=ft(e);if(!n)return Ft(s,-i);var l=Go(s,n);if(!(l<=0))return Ft(s,-i)}}var Oh=f.createContext(void 0);function OI(e){var t=Ve(),n=DI(),r=n[0],o=n[1],a=NI(r,t),i=$I(r,t),s=kI(r,t),l=function(d){return a.some(function(p){return Uu(d,p)})},u=function(d,p){l(d)||(p&&Sh(d,p)?o(Ft(d,1+t.numberOfMonths*-1)):o(d))},c={currentMonth:r,displayMonths:a,goToMonth:o,goToDate:u,previousMonth:s,nextMonth:i,isDateDisplayed:l};return z.jsx(Oh.Provider,{value:c,children:e.children})}function zr(){var e=f.useContext(Oh);if(!e)throw new Error("useNavigation must be used within a NavigationProvider");return e}function Fh(e){var t,n=Ve(),r=n.classNames,o=n.styles,a=n.components,i=zr().goToMonth,s=function(c){i(Ft(c,e.displayIndex?-e.displayIndex:0))},l=(t=a==null?void 0:a.CaptionLabel)!==null&&t!==void 0?t:$h,u=z.jsx(l,{id:e.id,displayMonth:e.displayMonth});return z.jsxs("div",{className:r.caption_dropdowns,style:o.caption_dropdowns,children:[z.jsx("div",{className:r.vhidden,children:u}),z.jsx(SI,{onChange:s,displayMonth:e.displayMonth}),z.jsx(MI,{onChange:s,displayMonth:e.displayMonth})]})}function FI(e){return z.jsx("svg",me({width:"16px",height:"16px",viewBox:"0 0 120 120"},e,{children:z.jsx("path",{d:"M69.490332,3.34314575 C72.6145263,0.218951416 77.6798462,0.218951416 80.8040405,3.34314575 C83.8617626,6.40086786 83.9268205,11.3179931 80.9992143,14.4548388 L80.8040405,14.6568542 L35.461,60 L80.8040405,105.343146 C83.8617626,108.400868 83.9268205,113.317993 80.9992143,116.454839 L80.8040405,116.656854 C77.7463184,119.714576 72.8291931,119.779634 69.6923475,116.852028 L69.490332,116.656854 L18.490332,65.6568542 C15.4326099,62.5991321 15.367552,57.6820069 18.2951583,54.5451612 L18.490332,54.3431458 L69.490332,3.34314575 Z",fill:"currentColor",fillRule:"nonzero"})}))}function LI(e){return z.jsx("svg",me({width:"16px",height:"16px",viewBox:"0 0 120 120"},e,{children:z.jsx("path",{d:"M49.8040405,3.34314575 C46.6798462,0.218951416 41.6145263,0.218951416 38.490332,3.34314575 C35.4326099,6.40086786 35.367552,11.3179931 38.2951583,14.4548388 L38.490332,14.6568542 L83.8333725,60 L38.490332,105.343146 C35.4326099,108.400868 35.367552,113.317993 38.2951583,116.454839 L38.490332,116.656854 C41.5480541,119.714576 46.4651794,119.779634 49.602025,116.852028 L49.8040405,116.656854 L100.804041,65.6568542 C103.861763,62.5991321 103.926821,57.6820069 100.999214,54.5451612 L100.804041,54.3431458 L49.8040405,3.34314575 Z",fill:"currentColor"})}))}var zi=f.forwardRef(function(e,t){var n=Ve(),r=n.classNames,o=n.styles,a=[r.button_reset,r.button];e.className&&a.push(e.className);var i=a.join(" "),s=me(me({},o.button_reset),o.button);return e.style&&Object.assign(s,e.style),z.jsx("button",me({},e,{ref:t,type:"button",className:i,style:s}))});function VI(e){var t,n,r=Ve(),o=r.dir,a=r.locale,i=r.classNames,s=r.styles,l=r.labels,u=l.labelPrevious,c=l.labelNext,d=r.components;if(!e.nextMonth&&!e.previousMonth)return z.jsx(z.Fragment,{});var p=u(e.previousMonth,{locale:a}),m=[i.nav_button,i.nav_button_previous].join(" "),h=c(e.nextMonth,{locale:a}),g=[i.nav_button,i.nav_button_next].join(" "),b=(t=d==null?void 0:d.IconRight)!==null&&t!==void 0?t:LI,x=(n=d==null?void 0:d.IconLeft)!==null&&n!==void 0?n:FI;return z.jsxs("div",{className:i.nav,style:s.nav,children:[!e.hidePrevious&&z.jsx(zi,{name:"previous-month","aria-label":p,className:m,style:s.nav_button_previous,disabled:!e.previousMonth,onClick:e.onPreviousClick,children:o==="rtl"?z.jsx(b,{className:i.nav_icon,style:s.nav_icon}):z.jsx(x,{className:i.nav_icon,style:s.nav_icon})}),!e.hideNext&&z.jsx(zi,{name:"next-month","aria-label":h,className:g,style:s.nav_button_next,disabled:!e.nextMonth,onClick:e.onNextClick,children:o==="rtl"?z.jsx(x,{className:i.nav_icon,style:s.nav_icon}):z.jsx(b,{className:i.nav_icon,style:s.nav_icon})})]})}function Lh(e){var t=Ve().numberOfMonths,n=zr(),r=n.previousMonth,o=n.nextMonth,a=n.goToMonth,i=n.displayMonths,s=i.findIndex(function(h){return Uu(e.displayMonth,h)}),l=s===0,u=s===i.length-1,c=t>1&&(l||!u),d=t>1&&(u||!l),p=function(){r&&a(r)},m=function(){o&&a(o)};return z.jsx(VI,{displayMonth:e.displayMonth,hideNext:c,hidePrevious:d,nextMonth:o,previousMonth:r,onPreviousClick:p,onNextClick:m})}function jI(e){var t,n=Ve(),r=n.classNames,o=n.disableNavigation,a=n.styles,i=n.captionLayout,s=n.components,l=(t=s==null?void 0:s.CaptionLabel)!==null&&t!==void 0?t:$h,u;return o?u=z.jsx(l,{id:e.id,displayMonth:e.displayMonth}):i==="dropdown"?u=z.jsx(Fh,{displayMonth:e.displayMonth,id:e.id}):i==="dropdown-buttons"?u=z.jsxs(z.Fragment,{children:[z.jsx(Fh,{displayMonth:e.displayMonth,displayIndex:e.displayIndex,id:e.id}),z.jsx(Lh,{displayMonth:e.displayMonth,displayIndex:e.displayIndex,id:e.id})]}):u=z.jsxs(z.Fragment,{children:[z.jsx(l,{id:e.id,displayMonth:e.displayMonth,displayIndex:e.displayIndex}),z.jsx(Lh,{displayMonth:e.displayMonth,id:e.id})]}),z.jsx("div",{className:r.caption,style:a.caption,children:u})}function BI(e){var t=Ve(),n=t.footer,r=t.styles,o=t.classNames.tfoot;return n?z.jsx("tfoot",{className:o,style:r.tfoot,children:z.jsx("tr",{children:z.jsx("td",{colSpan:8,children:n})})}):z.jsx(z.Fragment,{})}function WI(e,t,n){for(var r=n?tr(new Date):Xt(new Date,{locale:e,weekStartsOn:t}),o=[],a=0;a<7;a++){var i=it(r,a);o.push(i)}return o}function _I(){var e=Ve(),t=e.classNames,n=e.styles,r=e.showWeekNumber,o=e.locale,a=e.weekStartsOn,i=e.ISOWeek,s=e.formatters.formatWeekdayName,l=e.labels.labelWeekday,u=WI(o,a,i);return z.jsxs("tr",{style:n.head_row,className:t.head_row,children:[r&&z.jsx("td",{style:n.head_cell,className:t.head_cell}),u.map(function(c,d){return z.jsx("th",{scope:"col",className:t.head_cell,style:n.head_cell,"aria-label":l(c,{locale:o}),children:s(c,{locale:o})},d)})]})}function GI(){var e,t=Ve(),n=t.classNames,r=t.styles,o=t.components,a=(e=o==null?void 0:o.HeadRow)!==null&&e!==void 0?e:_I;return z.jsx("thead",{style:r.head,className:n.head,children:z.jsx(a,{})})}function RI(e){var t=Ve(),n=t.locale,r=t.formatters.formatDay;return z.jsx(z.Fragment,{children:r(e.date,{locale:n})})}var qu=f.createContext(void 0);function zI(e){if(!Zo(e.initialProps)){var t={selected:void 0,modifiers:{disabled:[]}};return z.jsx(qu.Provider,{value:t,children:e.children})}return z.jsx(HI,{initialProps:e.initialProps,children:e.children})}function HI(e){var t=e.initialProps,n=e.children,r=t.selected,o=t.min,a=t.max,i=function(u,c,d){var p,m;(p=t.onDayClick)===null||p===void 0||p.call(t,u,c,d);var h=!!(c.selected&&o&&(r==null?void 0:r.length)===o);if(!h){var g=!!(!c.selected&&a&&(r==null?void 0:r.length)===a);if(!g){var b=r?Ah([],r,!0):[];if(c.selected){var x=b.findIndex(function(y){return dt(u,y)});b.splice(x,1)}else b.push(u);(m=t.onSelect)===null||m===void 0||m.call(t,b,u,c,d)}}},s={disabled:[]};r&&s.disabled.push(function(u){var c=a&&r.length>a-1,d=r.some(function(p){return dt(p,u)});return!!(c&&!d)});var l={selected:r,onDayClick:i,modifiers:s};return z.jsx(qu.Provider,{value:l,children:n})}function ec(){var e=f.useContext(qu);if(!e)throw new Error("useSelectMultiple must be used within a SelectMultipleProvider");return e}function XI(e,t){var n=t||{},r=n.from,o=n.to;return r&&o?dt(o,e)&&dt(r,e)?void 0:dt(o,e)?{from:o,to:void 0}:dt(r,e)?void 0:Yu(r,e)?{from:e,to:o}:{from:r,to:e}:o?Yu(e,o)?{from:o,to:e}:{from:e,to:o}:r?Sh(e,r)?{from:e,to:r}:{from:r,to:e}:{from:e,to:void 0}}var tc=f.createContext(void 0);function ZI(e){if(!Yo(e.initialProps)){var t={selected:void 0,modifiers:{range_start:[],range_end:[],range_middle:[],disabled:[]}};return z.jsx(tc.Provider,{value:t,children:e.children})}return z.jsx(YI,{initialProps:e.initialProps,children:e.children})}function YI(e){var t=e.initialProps,n=e.children,r=t.selected,o=r||{},a=o.from,i=o.to,s=t.min,l=t.max,u=function(m,h,g){var b,x;(b=t.onDayClick)===null||b===void 0||b.call(t,m,h,g);var y=XI(m,r);(x=t.onSelect)===null||x===void 0||x.call(t,y,m,h,g)},c={range_start:[],range_end:[],range_middle:[],disabled:[]};if(a?(c.range_start=[a],i?(c.range_end=[i],dt(a,i)||(c.range_middle=[{after:a,before:i}])):c.range_end=[a]):i&&(c.range_start=[i],c.range_end=[i]),s&&(a&&!i&&c.disabled.push({after:Ku(a,s-1),before:it(a,s-1)}),a&&i&&c.disabled.push({after:a,before:it(a,s-1)}),!a&&i&&c.disabled.push({after:Ku(i,s-1),before:it(i,s-1)})),l){if(a&&!i&&(c.disabled.push({before:it(a,-l+1)}),c.disabled.push({after:it(a,l-1)})),a&&i){var d=Zt(i,a)+1,p=l-d;c.disabled.push({before:Ku(a,p)}),c.disabled.push({after:it(i,p)})}!a&&i&&(c.disabled.push({before:it(i,-l+1)}),c.disabled.push({after:it(i,l-1)}))}return z.jsx(tc.Provider,{value:{selected:r,onDayClick:u,modifiers:c},children:n})}function nc(){var e=f.useContext(tc);if(!e)throw new Error("useSelectRange must be used within a SelectRangeProvider");return e}function Hi(e){return Array.isArray(e)?Ah([],e,!0):e!==void 0?[e]:[]}function UI(e){var t={};return Object.entries(e).forEach(function(n){var r=n[0],o=n[1];t[r]=Hi(o)}),t}var Lt;(function(e){e.Outside="outside",e.Disabled="disabled",e.Selected="selected",e.Hidden="hidden",e.Today="today",e.RangeStart="range_start",e.RangeEnd="range_end",e.RangeMiddle="range_middle"})(Lt||(Lt={}));var KI=Lt.Selected,pn=Lt.Disabled,JI=Lt.Hidden,QI=Lt.Today,rc=Lt.RangeEnd,oc=Lt.RangeMiddle,ac=Lt.RangeStart,qI=Lt.Outside;function eE(e,t,n){var r,o=(r={},r[KI]=Hi(e.selected),r[pn]=Hi(e.disabled),r[JI]=Hi(e.hidden),r[QI]=[e.today],r[rc]=[],r[oc]=[],r[ac]=[],r[qI]=[],r);return e.fromDate&&o[pn].push({before:e.fromDate}),e.toDate&&o[pn].push({after:e.toDate}),Zo(e)?o[pn]=o[pn].concat(t.modifiers[pn]):Yo(e)&&(o[pn]=o[pn].concat(n.modifiers[pn]),o[ac]=n.modifiers[ac],o[oc]=n.modifiers[oc],o[rc]=n.modifiers[rc]),o}var Vh=f.createContext(void 0);function tE(e){var t=Ve(),n=ec(),r=nc(),o=eE(t,n,r),a=UI(t.modifiers),i=me(me({},o),a);return z.jsx(Vh.Provider,{value:i,children:e.children})}function jh(){var e=f.useContext(Vh);if(!e)throw new Error("useModifiers must be used within a ModifiersProvider");return e}function nE(e){return!!(e&&typeof e=="object"&&"before"in e&&"after"in e)}function rE(e){return!!(e&&typeof e=="object"&&"from"in e)}function oE(e){return!!(e&&typeof e=="object"&&"after"in e)}function aE(e){return!!(e&&typeof e=="object"&&"before"in e)}function iE(e){return!!(e&&typeof e=="object"&&"dayOfWeek"in e)}function sE(e,t){var n,r=t.from,o=t.to;if(r&&o){var a=Zt(o,r)<0;a&&(n=[o,r],r=n[0],o=n[1]);var i=Zt(e,r)>=0&&Zt(o,e)>=0;return i}return o?dt(o,e):r?dt(r,e):!1}function lE(e){return zu(e)}function uE(e){return Array.isArray(e)&&e.every(zu)}function cE(e,t){return t.some(function(n){if(typeof n=="boolean")return n;if(lE(n))return dt(e,n);if(uE(n))return n.includes(e);if(rE(n))return sE(e,n);if(iE(n))return n.dayOfWeek.includes(e.getDay());if(nE(n)){var r=Zt(n.before,e),o=Zt(n.after,e),a=r>0,i=o<0,s=Yu(n.before,n.after);return s?i&&a:a||i}return oE(n)?Zt(e,n.after)>0:aE(n)?Zt(n.before,e)>0:typeof n=="function"?n(e):!1})}function ic(e,t,n){var r=Object.keys(t).reduce(function(a,i){var s=t[i];return cE(e,s)&&a.push(i),a},[]),o={};return r.forEach(function(a){return o[a]=!0}),n&&!Uu(e,n)&&(o.outside=!0),o}function dE(e,t){for(var n=ft(e[0]),r=Hu(e[e.length-1]),o,a,i=n;i<=r;){var s=ic(i,t),l=!s.disabled&&!s.hidden;if(!l){i=it(i,1);continue}if(s.selected)return i;s.today&&!a&&(a=i),o||(o=i),i=it(i,1)}return a||o}var fE=365;function Bh(e,t){var n=t.moveBy,r=t.direction,o=t.context,a=t.modifiers,i=t.retry,s=i===void 0?{count:0,lastFocused:e}:i,l=o.weekStartsOn,u=o.fromDate,c=o.toDate,d=o.locale,p={day:it,week:Ru,month:Ft,year:ew,startOfWeek:function(b){return o.ISOWeek?tr(b):Xt(b,{locale:d,weekStartsOn:l})},endOfWeek:function(b){return o.ISOWeek?gh(b):Xu(b,{locale:d,weekStartsOn:l})}},m=p[n](e,r==="after"?1:-1);r==="before"&&u?m=tw([u,m]):r==="after"&&c&&(m=nw([c,m]));var h=!0;if(a){var g=ic(m,a);h=!g.disabled&&!g.hidden}return h?m:s.count>fE?s.lastFocused:Bh(m,{moveBy:n,direction:r,context:o,modifiers:a,retry:me(me({},s),{count:s.count+1})})}var Wh=f.createContext(void 0);function pE(e){var t=zr(),n=jh(),r=f.useState(),o=r[0],a=r[1],i=f.useState(),s=i[0],l=i[1],u=dE(t.displayMonths,n),c=o??(s&&t.isDateDisplayed(s))?s:u,d=function(){l(o),a(void 0)},p=function(b){a(b)},m=Ve(),h=function(b,x){if(o){var y=Bh(o,{moveBy:b,direction:x,context:m,modifiers:n});dt(o,y)||(t.goToDate(y,o),p(y))}},g={focusedDay:o,focusTarget:c,blur:d,focus:p,focusDayAfter:function(){return h("day","after")},focusDayBefore:function(){return h("day","before")},focusWeekAfter:function(){return h("week","after")},focusWeekBefore:function(){return h("week","before")},focusMonthBefore:function(){return h("month","before")},focusMonthAfter:function(){return h("month","after")},focusYearBefore:function(){return h("year","before")},focusYearAfter:function(){return h("year","after")},focusStartOfWeek:function(){return h("startOfWeek","before")},focusEndOfWeek:function(){return h("endOfWeek","after")}};return z.jsx(Wh.Provider,{value:g,children:e.children})}function sc(){var e=f.useContext(Wh);if(!e)throw new Error("useFocusContext must be used within a FocusProvider");return e}function mE(e,t){var n=jh(),r=ic(e,n,t);return r}var lc=f.createContext(void 0);function hE(e){if(!Ri(e.initialProps)){var t={selected:void 0};return z.jsx(lc.Provider,{value:t,children:e.children})}return z.jsx(gE,{initialProps:e.initialProps,children:e.children})}function gE(e){var t=e.initialProps,n=e.children,r=function(a,i,s){var l,u,c;if((l=t.onDayClick)===null||l===void 0||l.call(t,a,i,s),i.selected&&!t.required){(u=t.onSelect)===null||u===void 0||u.call(t,void 0,a,i,s);return}(c=t.onSelect)===null||c===void 0||c.call(t,a,a,i,s)},o={selected:t.selected,onDayClick:r};return z.jsx(lc.Provider,{value:o,children:n})}function _h(){var e=f.useContext(lc);if(!e)throw new Error("useSelectSingle must be used within a SelectSingleProvider");return e}function bE(e,t){var n=Ve(),r=_h(),o=ec(),a=nc(),i=sc(),s=i.focusDayAfter,l=i.focusDayBefore,u=i.focusWeekAfter,c=i.focusWeekBefore,d=i.blur,p=i.focus,m=i.focusMonthBefore,h=i.focusMonthAfter,g=i.focusYearBefore,b=i.focusYearAfter,x=i.focusStartOfWeek,y=i.focusEndOfWeek,w=function(N){var W,K,H,X;Ri(n)?(W=r.onDayClick)===null||W===void 0||W.call(r,e,t,N):Zo(n)?(K=o.onDayClick)===null||K===void 0||K.call(o,e,t,N):Yo(n)?(H=a.onDayClick)===null||H===void 0||H.call(a,e,t,N):(X=n.onDayClick)===null||X===void 0||X.call(n,e,t,N)},S=function(N){var W;p(e),(W=n.onDayFocus)===null||W===void 0||W.call(n,e,t,N)},P=function(N){var W;d(),(W=n.onDayBlur)===null||W===void 0||W.call(n,e,t,N)},A=function(N){var W;(W=n.onDayMouseEnter)===null||W===void 0||W.call(n,e,t,N)},T=function(N){var W;(W=n.onDayMouseLeave)===null||W===void 0||W.call(n,e,t,N)},v=function(N){var W;(W=n.onDayPointerEnter)===null||W===void 0||W.call(n,e,t,N)},D=function(N){var W;(W=n.onDayPointerLeave)===null||W===void 0||W.call(n,e,t,N)},$=function(N){var W;(W=n.onDayTouchCancel)===null||W===void 0||W.call(n,e,t,N)},M=function(N){var W;(W=n.onDayTouchEnd)===null||W===void 0||W.call(n,e,t,N)},k=function(N){var W;(W=n.onDayTouchMove)===null||W===void 0||W.call(n,e,t,N)},I=function(N){var W;(W=n.onDayTouchStart)===null||W===void 0||W.call(n,e,t,N)},E=function(N){var W;(W=n.onDayKeyUp)===null||W===void 0||W.call(n,e,t,N)},O=function(N){var W;switch(N.key){case"ArrowLeft":N.preventDefault(),N.stopPropagation(),n.dir==="rtl"?s():l();break;case"ArrowRight":N.preventDefault(),N.stopPropagation(),n.dir==="rtl"?l():s();break;case"ArrowDown":N.preventDefault(),N.stopPropagation(),u();break;case"ArrowUp":N.preventDefault(),N.stopPropagation(),c();break;case"PageUp":N.preventDefault(),N.stopPropagation(),N.shiftKey?g():m();break;case"PageDown":N.preventDefault(),N.stopPropagation(),N.shiftKey?b():h();break;case"Home":N.preventDefault(),N.stopPropagation(),x();break;case"End":N.preventDefault(),N.stopPropagation(),y();break}(W=n.onDayKeyDown)===null||W===void 0||W.call(n,e,t,N)},j={onClick:w,onFocus:S,onBlur:P,onKeyDown:O,onKeyUp:E,onMouseEnter:A,onMouseLeave:T,onPointerEnter:v,onPointerLeave:D,onTouchCancel:$,onTouchEnd:M,onTouchMove:k,onTouchStart:I};return j}function vE(){var e=Ve(),t=_h(),n=ec(),r=nc(),o=Ri(e)?t.selected:Zo(e)?n.selected:Yo(e)?r.selected:void 0;return o}function yE(e){return Object.values(Lt).includes(e)}function xE(e,t){var n=[e.classNames.day];return Object.keys(t).forEach(function(r){var o=e.modifiersClassNames[r];if(o)n.push(o);else if(yE(r)){var a=e.classNames["day_".concat(r)];a&&n.push(a)}}),n}function CE(e,t){var n=me({},e.styles.day);return Object.keys(t).forEach(function(r){var o;n=me(me({},n),(o=e.modifiersStyles)===null||o===void 0?void 0:o[r])}),n}function wE(e,t,n){var r,o,a,i=Ve(),s=sc(),l=mE(e,t),u=bE(e,l),c=vE(),d=!!(i.onDayClick||i.mode!=="default");f.useEffect(function(){var A;l.outside||s.focusedDay&&d&&dt(s.focusedDay,e)&&((A=n.current)===null||A===void 0||A.focus())},[s.focusedDay,e,n,d,l.outside]);var p=xE(i,l).join(" "),m=CE(i,l),h=!!(l.outside&&!i.showOutsideDays||l.hidden),g=(a=(o=i.components)===null||o===void 0?void 0:o.DayContent)!==null&&a!==void 0?a:RI,b=z.jsx(g,{date:e,displayMonth:t,activeModifiers:l}),x={style:m,className:p,children:b,role:"gridcell"},y=s.focusTarget&&dt(s.focusTarget,e)&&!l.outside,w=s.focusedDay&&dt(s.focusedDay,e),S=me(me(me({},x),(r={disabled:l.disabled,role:"gridcell"},r["aria-selected"]=l.selected,r.tabIndex=w||y?0:-1,r)),u),P={isButton:d,isHidden:h,activeModifiers:l,selectedDays:c,buttonProps:S,divProps:x};return P}function IE(e){var t=f.useRef(null),n=wE(e.date,e.displayMonth,t);return n.isHidden?z.jsx("div",{role:"gridcell"}):n.isButton?z.jsx(zi,me({name:"day",ref:t},n.buttonProps)):z.jsx("div",me({},n.divProps))}function EE(e){var t=e.number,n=e.dates,r=Ve(),o=r.onWeekNumberClick,a=r.styles,i=r.classNames,s=r.locale,l=r.labels.labelWeekNumber,u=r.formatters.formatWeekNumber,c=u(Number(t),{locale:s});if(!o)return z.jsx("span",{className:i.weeknumber,style:a.weeknumber,children:c});var d=l(Number(t),{locale:s}),p=function(m){o(t,n,m)};return z.jsx(zi,{name:"week-number","aria-label":d,className:i.weeknumber,style:a.weeknumber,onClick:p,children:c})}function PE(e){var t,n,r=Ve(),o=r.styles,a=r.classNames,i=r.showWeekNumber,s=r.components,l=(t=s==null?void 0:s.Day)!==null&&t!==void 0?t:IE,u=(n=s==null?void 0:s.WeekNumber)!==null&&n!==void 0?n:EE,c;return i&&(c=z.jsx("td",{className:a.cell,style:o.cell,children:z.jsx(u,{number:e.weekNumber,dates:e.dates})})),z.jsxs("tr",{className:a.row,style:o.row,children:[c,e.dates.map(function(d){return z.jsx("td",{className:a.cell,style:o.cell,role:"presentation",children:z.jsx(l,{displayMonth:e.displayMonth,date:d})},qw(d))})]})}function Gh(e,t,n){for(var r=n!=null&&n.ISOWeek?gh(t):Xu(t,n),o=n!=null&&n.ISOWeek?tr(e):Xt(e,n),a=Zt(r,o),i=[],s=0;s<=a;s++)i.push(it(o,s));var l=i.reduce(function(u,c){var d=n!=null&&n.ISOWeek?vh(c):xh(c,n),p=u.find(function(m){return m.weekNumber===d});return p?(p.dates.push(c),u):(u.push({weekNumber:d,dates:[c]}),u)},[]);return l}function SE(e,t){var n=Gh(ft(e),Hu(e),t);if(t!=null&&t.useFixedWeeks){var r=tI(e,t);if(r<6){var o=n[n.length-1],a=o.dates[o.dates.length-1],i=Ru(a,6-r),s=Gh(Ru(a,1),i,t);n.push.apply(n,s)}}return n}function ME(e){var t,n,r,o=Ve(),a=o.locale,i=o.classNames,s=o.styles,l=o.hideHead,u=o.fixedWeeks,c=o.components,d=o.weekStartsOn,p=o.firstWeekContainsDate,m=o.ISOWeek,h=SE(e.displayMonth,{useFixedWeeks:!!u,ISOWeek:m,locale:a,weekStartsOn:d,firstWeekContainsDate:p}),g=(t=c==null?void 0:c.Head)!==null&&t!==void 0?t:GI,b=(n=c==null?void 0:c.Row)!==null&&n!==void 0?n:PE,x=(r=c==null?void 0:c.Footer)!==null&&r!==void 0?r:BI;return z.jsxs("table",{id:e.id,className:i.table,style:s.table,role:"grid","aria-labelledby":e["aria-labelledby"],children:[!l&&z.jsx(g,{}),z.jsx("tbody",{className:i.tbody,style:s.tbody,children:h.map(function(y){return z.jsx(b,{displayMonth:e.displayMonth,dates:y.dates,weekNumber:y.weekNumber},y.weekNumber)})}),z.jsx(x,{displayMonth:e.displayMonth})]})}function AE(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}var TE=AE()?f.useLayoutEffect:f.useEffect,uc=!1,DE=0;function Rh(){return"react-day-picker-".concat(++DE)}function NE(e){var t,n=e??(uc?Rh():null),r=f.useState(n),o=r[0],a=r[1];return TE(function(){o===null&&a(Rh())},[]),f.useEffect(function(){uc===!1&&(uc=!0)},[]),(t=e??o)!==null&&t!==void 0?t:void 0}function $E(e){var t,n,r=Ve(),o=r.dir,a=r.classNames,i=r.styles,s=r.components,l=zr().displayMonths,u=NE(r.id?"".concat(r.id,"-").concat(e.displayIndex):void 0),c=r.id?"".concat(r.id,"-grid-").concat(e.displayIndex):void 0,d=[a.month],p=i.month,m=e.displayIndex===0,h=e.displayIndex===l.length-1,g=!m&&!h;o==="rtl"&&(t=[m,h],h=t[0],m=t[1]),m&&(d.push(a.caption_start),p=me(me({},p),i.caption_start)),h&&(d.push(a.caption_end),p=me(me({},p),i.caption_end)),g&&(d.push(a.caption_between),p=me(me({},p),i.caption_between));var b=(n=s==null?void 0:s.Caption)!==null&&n!==void 0?n:jI;return z.jsxs("div",{className:d.join(" "),style:p,children:[z.jsx(b,{id:u,displayMonth:e.displayMonth,displayIndex:e.displayIndex}),z.jsx(ME,{id:c,"aria-labelledby":u,displayMonth:e.displayMonth})]},e.displayIndex)}function kE(e){var t=Ve(),n=t.classNames,r=t.styles;return z.jsx("div",{className:n.months,style:r.months,children:e.children})}function OE(e){var t,n,r=e.initialProps,o=Ve(),a=sc(),i=zr(),s=f.useState(!1),l=s[0],u=s[1];f.useEffect(function(){o.initialFocus&&a.focusTarget&&(l||(a.focus(a.focusTarget),u(!0)))},[o.initialFocus,l,a.focus,a.focusTarget,a]);var c=[o.classNames.root,o.className];o.numberOfMonths>1&&c.push(o.classNames.multiple_months),o.showWeekNumber&&c.push(o.classNames.with_weeknumber);var d=me(me({},o.styles.root),o.style),p=Object.keys(r).filter(function(h){return h.startsWith("data-")}).reduce(function(h,g){var b;return me(me({},h),(b={},b[g]=r[g],b))},{}),m=(n=(t=r.components)===null||t===void 0?void 0:t.Months)!==null&&n!==void 0?n:kE;return z.jsx("div",me({className:c.join(" "),style:d,dir:o.dir,id:o.id,nonce:r.nonce,title:r.title,lang:r.lang},p,{children:z.jsx(m,{children:i.displayMonths.map(function(h,g){return z.jsx($E,{displayIndex:g,displayMonth:h},g)})})}))}function FE(e){var t=e.children,n=rI(e,["children"]);return z.jsx(EI,{initialProps:n,children:z.jsx(OI,{children:z.jsx(hE,{initialProps:n,children:z.jsx(zI,{initialProps:n,children:z.jsx(ZI,{initialProps:n,children:z.jsx(tE,{children:z.jsx(pE,{children:t})})})})})})})}function LE(e){return z.jsx(FE,me({},e,{children:z.jsx(OE,{initialProps:e})}))}const OD="",FD="",VE=e=>{const{goToMonth:t,nextMonth:n,previousMonth:r}=zr();return F.jsxs("div",{className:"flex px-[10px] py-2",children:[F.jsx("button",{disabled:!r,onClick:()=>r&&t(r),children:F.jsx(rt,{name:"chevron-left",className:"text-xs text-primary-grey-800"})}),F.jsx(Nd,{className:"flex flex-1 justify-center font-satoshi text-2xl font-medium text-primary-black-500",children:fn(e.displayMonth,"MMM yyy")}),F.jsx("button",{disabled:!n,onClick:()=>n&&t(n),children:F.jsx(rt,{name:"chevron-right",className:"text-xs text-primary-grey-800"})})]})},zh=({...e})=>F.jsx(LE,{disabled:t=>t>new Date||t<new Date("1900-01-01"),components:{Caption:VE},showOutsideDays:!0,...e}),cc=({children:e,className:t,variant:n="light",color:r="red"})=>{const o=ye({base:"flex h-4 items-center justify-center gap-2.5 rounded bg-transparent p-0",variants:{variant:{light:"",dark:"",ghost:""},color:{red:"text-complementary-red-500",orange:"text-complementary-orange-500",lightGreen:"text-secondary-green-500",violet:"text-complementary-violet-500",blue:"text-complementary-blue-500",darkGreen:"text-primary-green-500",yellow:"text-complementary-yellow-500",gray:"text-primary-grey-800"}},compoundVariants:[{variant:"dark",color:"red",class:"bg-complementary-red-500 text-complementary-red-50"},{variant:"dark",color:"orange",class:"bg-complementary-orange-500 text-complementary-orange-50"},{variant:"dark",color:"lightGreen",class:"bg-secondary-green-500 text-white"},{variant:"dark",color:"violet",class:"bg-complementary-violet-500 text-complementary-violet-50"},{variant:"dark",color:"blue",class:"bg-complementary-blue-500 text-complementary-blue-50"},{variant:"dark",color:"darkGreen",class:"bg-primary-green-500 text-primary-green-50"},{variant:"dark",color:"yellow",class:"bg-complementary-yellow-500 text-complementary-yellow-50"},{variant:"light",color:"red",class:"bg-complementary-red-50 text-complementary-red-500"},{variant:"light",color:"orange",class:"bg-complementary-orange-50 text-complementary-orange-500"},{variant:"light",color:"lightGreen",class:"bg-secondary-green-50 text-secondary-green-500"},{variant:"light",color:"violet",class:"bg-complementary-violet-50 text-complementary-violet-500"},{variant:"light",color:"blue",class:"bg-complementary-blue-50 text-complementary-blue-500"},{variant:"light",color:"darkGreen",class:"bg-primary-green-50 text-primary-green-500"},{variant:"light",color:"yellow",class:"bg-complementary-yellow-50 text-complementary-yellow-500"},{variant:"light",color:"gray",class:"bg-primary-grey-500 text-primary-grey-800"}]}),a=ye({base:"p-1 font-satoshi text-[10px] font-bold"});return F.jsx(v1,{classNames:{base:o({className:t,variant:n,color:r}),content:a({})},children:e})},LD="",VD="",jE=()=>{const e=No({enter:"animate__animated animate__fadeInUp animate__faster",exit:"animate__animated animate__fadeOutDown animate__faster",collapse:!1});return F.jsx(Z7,{limit:1,closeOnClick:!0,draggable:!1,autoClose:5e3,closeButton:!1,hideProgressBar:!0,className:"!m-0 !w-full !max-w-[840px] !p-0",toastClassName:()=>"",bodyClassName:()=>"w-full [&>div]:w-full !p-0",transition:e,newestOnTop:!0,position:"bottom-center"})};var Hh=1,BE=.9,WE=.8,_E=.17,dc=.1,fc=.999,GE=.9999,RE=.99,zE=/[\\\/_+.#"@\[\(\{&]/,HE=/[\\\/_+.#"@\[\(\{&]/g,XE=/[\s-]/,Xh=/[\s-]/g;function pc(e,t,n,r,o,a,i){if(a===t.length)return o===e.length?Hh:RE;var s=`${o},${a}`;if(i[s]!==void 0)return i[s];for(var l=r.charAt(a),u=n.indexOf(l,o),c=0,d,p,m,h;u>=0;)d=pc(e,t,n,r,u+1,a+1,i),d>c&&(u===o?d*=Hh:zE.test(e.charAt(u-1))?(d*=WE,m=e.slice(o,u-1).match(HE),m&&o>0&&(d*=Math.pow(fc,m.length))):XE.test(e.charAt(u-1))?(d*=BE,h=e.slice(o,u-1).match(Xh),h&&o>0&&(d*=Math.pow(fc,h.length))):(d*=_E,o>0&&(d*=Math.pow(fc,u-o))),e.charAt(u)!==t.charAt(a)&&(d*=GE)),(d<dc&&n.charAt(u-1)===r.charAt(a+1)||r.charAt(a+1)===r.charAt(a)&&n.charAt(u-1)!==r.charAt(a))&&(p=pc(e,t,n,r,u+1,a+2,i),p*dc>d&&(d=p*dc)),d>c&&(c=d),u=n.indexOf(l,u+1);return i[s]=c,c}function Zh(e){return e.toLowerCase().replace(Xh," ")}function ZE(e,t,n){return e=n&&n.length>0?`${e+" "+n.join(" ")}`:e,pc(e,t,Zh(e),Zh(t),0,0,{})}const Yh="Dialog",[Uh,jD]=Jn(Yh),[YE,rr]=Uh(Yh),UE=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:o,onOpenChange:a,modal:i=!0}=e,s=f.useRef(null),l=f.useRef(null),[u=!1,c]=Vo({prop:r,defaultProp:o,onChange:a});return f.createElement(YE,{scope:t,triggerRef:s,contentRef:l,contentId:Qn(),titleId:Qn(),descriptionId:Qn(),open:u,onOpenChange:c,onOpenToggle:f.useCallback(()=>c(d=>!d),[c]),modal:i},n)},Kh="DialogPortal",[KE,Jh]=Uh(Kh,{forceMount:void 0}),JE=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:o}=e,a=rr(Kh,t);return f.createElement(KE,{scope:t,forceMount:n},f.Children.map(r,i=>f.createElement(dn,{present:n||a.open},f.createElement(Su,{asChild:!0,container:o},i))))},mc="DialogOverlay",QE=f.forwardRef((e,t)=>{const n=Jh(mc,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,a=rr(mc,e.__scopeDialog);return a.modal?f.createElement(dn,{present:r||a.open},f.createElement(qE,ge({},o,{ref:t}))):null}),qE=f.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=rr(mc,n);return f.createElement(rh,{as:kr,allowPinchZoom:!0,shards:[o.contentRef]},f.createElement(We.div,ge({"data-state":qh(o.open)},r,{ref:t,style:{pointerEvents:"auto",...r.style}})))}),Uo="DialogContent",eP=f.forwardRef((e,t)=>{const n=Jh(Uo,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,a=rr(Uo,e.__scopeDialog);return f.createElement(dn,{present:r||a.open},a.modal?f.createElement(tP,ge({},o,{ref:t})):f.createElement(nP,ge({},o,{ref:t})))}),tP=f.forwardRef((e,t)=>{const n=rr(Uo,e.__scopeDialog),r=f.useRef(null),o=ct(t,n.contentRef,r);return f.useEffect(()=>{const a=r.current;if(a)return Ym(a)},[]),f.createElement(Qh,ge({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Le(e.onCloseAutoFocus,a=>{var i;a.preventDefault(),(i=n.triggerRef.current)===null||i===void 0||i.focus()}),onPointerDownOutside:Le(e.onPointerDownOutside,a=>{const i=a.detail.originalEvent,s=i.button===0&&i.ctrlKey===!0;(i.button===2||s)&&a.preventDefault()}),onFocusOutside:Le(e.onFocusOutside,a=>a.preventDefault())}))}),nP=f.forwardRef((e,t)=>{const n=rr(Uo,e.__scopeDialog),r=f.useRef(!1),o=f.useRef(!1);return f.createElement(Qh,ge({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:a=>{var i;if((i=e.onCloseAutoFocus)===null||i===void 0||i.call(e,a),!a.defaultPrevented){var s;r.current||(s=n.triggerRef.current)===null||s===void 0||s.focus(),a.preventDefault()}r.current=!1,o.current=!1},onInteractOutside:a=>{var i,s;(i=e.onInteractOutside)===null||i===void 0||i.call(e,a),a.defaultPrevented||(r.current=!0,a.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const l=a.target;((s=n.triggerRef.current)===null||s===void 0?void 0:s.contains(l))&&a.preventDefault(),a.detail.originalEvent.type==="focusin"&&o.current&&a.preventDefault()}}))}),Qh=f.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:a,...i}=e,s=rr(Uo,n),l=f.useRef(null),u=ct(t,l);return Bm(),f.createElement(f.Fragment,null,f.createElement(Gm,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:a},f.createElement(bu,ge({role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":qh(s.open)},i,{ref:u,onDismiss:()=>s.onOpenChange(!1)}))),!1)});function qh(e){return e?"open":"closed"}const rP=UE,oP=JE,aP=QE,iP=eP;var Ko='[cmdk-group=""]',hc='[cmdk-group-items=""]',sP='[cmdk-group-heading=""]',gc='[cmdk-item=""]',eg=`${gc}:not([aria-disabled="true"])`,bc="cmdk-item-select",or="data-value",lP=(e,t,n)=>ZE(e,t,n),tg=V.createContext(void 0),Jo=()=>V.useContext(tg),ng=V.createContext(void 0),vc=()=>V.useContext(ng),rg=V.createContext(void 0),og=V.forwardRef((e,t)=>{let n=Xr(()=>{var B,G;return{search:"",value:(G=(B=e.value)!=null?B:e.defaultValue)!=null?G:"",filtered:{count:0,items:new Map,groups:new Set}}}),r=Xr(()=>new Set),o=Xr(()=>new Map),a=Xr(()=>new Map),i=Xr(()=>new Set),s=ag(e),{label:l,children:u,value:c,onValueChange:d,filter:p,shouldFilter:m,loop:h,disablePointerSelection:g=!1,vimBindings:b=!0,...x}=e,y=V.useId(),w=V.useId(),S=V.useId(),P=V.useRef(null),A=yP();ar(()=>{if(c!==void 0){let B=c.trim();n.current.value=B,T.emit()}},[c]),ar(()=>{A(6,I)},[]);let T=V.useMemo(()=>({subscribe:B=>(i.current.add(B),()=>i.current.delete(B)),snapshot:()=>n.current,setState:(B,G,Y)=>{var R,Z,q;if(!Object.is(n.current[B],G)){if(n.current[B]=G,B==="search")k(),$(),A(1,M);else if(B==="value"&&(Y||A(5,I),((R=s.current)==null?void 0:R.value)!==void 0)){let ae=G??"";(q=(Z=s.current).onValueChange)==null||q.call(Z,ae);return}T.emit()}},emit:()=>{i.current.forEach(B=>B())}}),[]),v=V.useMemo(()=>({value:(B,G,Y)=>{var R;G!==((R=a.current.get(B))==null?void 0:R.value)&&(a.current.set(B,{value:G,keywords:Y}),n.current.filtered.items.set(B,D(G,Y)),A(2,()=>{$(),T.emit()}))},item:(B,G)=>(r.current.add(B),G&&(o.current.has(G)?o.current.get(G).add(B):o.current.set(G,new Set([B]))),A(3,()=>{k(),$(),n.current.value||M(),T.emit()}),()=>{a.current.delete(B),r.current.delete(B),n.current.filtered.items.delete(B);let Y=E();A(4,()=>{k(),(Y==null?void 0:Y.getAttribute("id"))===B&&M(),T.emit()})}),group:B=>(o.current.has(B)||o.current.set(B,new Set),()=>{a.current.delete(B),o.current.delete(B)}),filter:()=>s.current.shouldFilter,label:l||e["aria-label"],disablePointerSelection:g,listId:y,inputId:S,labelId:w,listInnerRef:P}),[]);function D(B,G){var Y,R;let Z=(R=(Y=s.current)==null?void 0:Y.filter)!=null?R:lP;return B?Z(B,n.current.search,G):0}function $(){if(!n.current.search||s.current.shouldFilter===!1)return;let B=n.current.filtered.items,G=[];n.current.filtered.groups.forEach(R=>{let Z=o.current.get(R),q=0;Z.forEach(ae=>{let le=B.get(ae);q=Math.max(le,q)}),G.push([R,q])});let Y=P.current;O().sort((R,Z)=>{var q,ae;let le=R.getAttribute("id"),pe=Z.getAttribute("id");return((q=B.get(pe))!=null?q:0)-((ae=B.get(le))!=null?ae:0)}).forEach(R=>{let Z=R.closest(hc);Z?Z.appendChild(R.parentElement===Z?R:R.closest(`${hc} > *`)):Y.appendChild(R.parentElement===Y?R:R.closest(`${hc} > *`))}),G.sort((R,Z)=>Z[1]-R[1]).forEach(R=>{let Z=P.current.querySelector(`${Ko}[${or}="${encodeURIComponent(R[0])}"]`);Z==null||Z.parentElement.appendChild(Z)})}function M(){let B=O().find(Y=>Y.getAttribute("aria-disabled")!=="true"),G=B==null?void 0:B.getAttribute(or);T.setState("value",G||void 0)}function k(){var B,G,Y,R;if(!n.current.search||s.current.shouldFilter===!1){n.current.filtered.count=r.current.size;return}n.current.filtered.groups=new Set;let Z=0;for(let q of r.current){let ae=(G=(B=a.current.get(q))==null?void 0:B.value)!=null?G:"",le=(R=(Y=a.current.get(q))==null?void 0:Y.keywords)!=null?R:[],pe=D(ae,le);n.current.filtered.items.set(q,pe),pe>0&&Z++}for(let[q,ae]of o.current)for(let le of ae)if(n.current.filtered.items.get(le)>0){n.current.filtered.groups.add(q);break}n.current.filtered.count=Z}function I(){var B,G,Y;let R=E();R&&(((B=R.parentElement)==null?void 0:B.firstChild)===R&&((Y=(G=R.closest(Ko))==null?void 0:G.querySelector(sP))==null||Y.scrollIntoView({block:"nearest"})),R.scrollIntoView({block:"nearest"}))}function E(){var B;return(B=P.current)==null?void 0:B.querySelector(`${gc}[aria-selected="true"]`)}function O(){var B;return Array.from((B=P.current)==null?void 0:B.querySelectorAll(eg))}function j(B){let G=O()[B];G&&T.setState("value",G.getAttribute(or))}function N(B){var G;let Y=E(),R=O(),Z=R.findIndex(ae=>ae===Y),q=R[Z+B];(G=s.current)!=null&&G.loop&&(q=Z+B<0?R[R.length-1]:Z+B===R.length?R[0]:R[Z+B]),q&&T.setState("value",q.getAttribute(or))}function W(B){let G=E(),Y=G==null?void 0:G.closest(Ko),R;for(;Y&&!R;)Y=B>0?bP(Y,Ko):vP(Y,Ko),R=Y==null?void 0:Y.querySelector(eg);R?T.setState("value",R.getAttribute(or)):N(B)}let K=()=>j(O().length-1),H=B=>{B.preventDefault(),B.metaKey?K():B.altKey?W(1):N(1)},X=B=>{B.preventDefault(),B.metaKey?j(0):B.altKey?W(-1):N(-1)};return V.createElement(We.div,{ref:t,tabIndex:-1,...x,"cmdk-root":"",onKeyDown:B=>{var G;if((G=x.onKeyDown)==null||G.call(x,B),!B.defaultPrevented)switch(B.key){case"n":case"j":{b&&B.ctrlKey&&H(B);break}case"ArrowDown":{H(B);break}case"p":case"k":{b&&B.ctrlKey&&X(B);break}case"ArrowUp":{X(B);break}case"Home":{B.preventDefault(),j(0);break}case"End":{B.preventDefault(),K();break}case"Enter":if(!B.nativeEvent.isComposing&&B.keyCode!==229){B.preventDefault();let Y=E();if(Y){let R=new Event(bc);Y.dispatchEvent(R)}}}}},V.createElement("label",{"cmdk-label":"",htmlFor:v.inputId,id:v.labelId,style:CP},l),Xi(e,B=>V.createElement(ng.Provider,{value:T},V.createElement(tg.Provider,{value:v},B))))}),uP=V.forwardRef((e,t)=>{var n,r;let o=V.useId(),a=V.useRef(null),i=V.useContext(rg),s=Jo(),l=ag(e),u=(r=(n=l.current)==null?void 0:n.forceMount)!=null?r:i==null?void 0:i.forceMount;ar(()=>{if(!u)return s.item(o,i==null?void 0:i.id)},[u]);let c=ig(o,a,[e.value,e.children,a],e.keywords),d=vc(),p=ir(A=>A.value&&A.value===c.current),m=ir(A=>u||s.filter()===!1?!0:A.search?A.filtered.items.get(o)>0:!0);V.useEffect(()=>{let A=a.current;if(!(!A||e.disabled))return A.addEventListener(bc,h),()=>A.removeEventListener(bc,h)},[m,e.onSelect,e.disabled]);function h(){var A,T;g(),(T=(A=l.current).onSelect)==null||T.call(A,c.current)}function g(){d.setState("value",c.current,!0)}if(!m)return null;let{disabled:b,value:x,onSelect:y,forceMount:w,keywords:S,...P}=e;return V.createElement(We.div,{ref:Qo([a,t]),...P,id:o,"cmdk-item":"",role:"option","aria-disabled":!!b,"aria-selected":!!p,"data-disabled":!!b,"data-selected":!!p,onPointerMove:b||s.disablePointerSelection?void 0:g,onClick:b?void 0:h},e.children)}),cP=V.forwardRef((e,t)=>{let{heading:n,children:r,forceMount:o,...a}=e,i=V.useId(),s=V.useRef(null),l=V.useRef(null),u=V.useId(),c=Jo(),d=ir(m=>o||c.filter()===!1?!0:m.search?m.filtered.groups.has(i):!0);ar(()=>c.group(i),[]),ig(i,s,[e.value,e.heading,l]);let p=V.useMemo(()=>({id:i,forceMount:o}),[o]);return V.createElement(We.div,{ref:Qo([s,t]),...a,"cmdk-group":"",role:"presentation",hidden:d?void 0:!0},n&&V.createElement("div",{ref:l,"cmdk-group-heading":"","aria-hidden":!0,id:u},n),Xi(e,m=>V.createElement("div",{"cmdk-group-items":"",role:"group","aria-labelledby":n?u:void 0},V.createElement(rg.Provider,{value:p},m))))}),dP=V.forwardRef((e,t)=>{let{alwaysRender:n,...r}=e,o=V.useRef(null),a=ir(i=>!i.search);return!n&&!a?null:V.createElement(We.div,{ref:Qo([o,t]),...r,"cmdk-separator":"",role:"separator"})}),fP=V.forwardRef((e,t)=>{let{onValueChange:n,...r}=e,o=e.value!=null,a=vc(),i=ir(c=>c.search),s=ir(c=>c.value),l=Jo(),u=V.useMemo(()=>{var c;let d=(c=l.listInnerRef.current)==null?void 0:c.querySelector(`${gc}[${or}="${encodeURIComponent(s)}"]`);return d==null?void 0:d.getAttribute("id")},[]);return V.useEffect(()=>{e.value!=null&&a.setState("search",e.value)},[e.value]),V.createElement(We.input,{ref:t,...r,"cmdk-input":"",autoComplete:"off",autoCorrect:"off",spellCheck:!1,"aria-autocomplete":"list",role:"combobox","aria-expanded":!0,"aria-controls":l.listId,"aria-labelledby":l.labelId,"aria-activedescendant":u,id:l.inputId,type:"text",value:o?e.value:i,onChange:c=>{o||a.setState("search",c.target.value),n==null||n(c.target.value)}})}),pP=V.forwardRef((e,t)=>{let{children:n,label:r="Suggestions",...o}=e,a=V.useRef(null),i=V.useRef(null),s=Jo();return V.useEffect(()=>{if(i.current&&a.current){let l=i.current,u=a.current,c,d=new ResizeObserver(()=>{c=requestAnimationFrame(()=>{let p=l.offsetHeight;u.style.setProperty("--cmdk-list-height",p.toFixed(1)+"px")})});return d.observe(l),()=>{cancelAnimationFrame(c),d.unobserve(l)}}},[]),V.createElement(We.div,{ref:Qo([a,t]),...o,"cmdk-list":"",role:"listbox","aria-label":r,id:s.listId},Xi(e,l=>V.createElement("div",{ref:Qo([i,s.listInnerRef]),"cmdk-list-sizer":""},l)))}),mP=V.forwardRef((e,t)=>{let{open:n,onOpenChange:r,overlayClassName:o,contentClassName:a,container:i,...s}=e;return V.createElement(rP,{open:n,onOpenChange:r},V.createElement(oP,{container:i},V.createElement(aP,{"cmdk-overlay":"",className:o}),V.createElement(iP,{"aria-label":e.label,"cmdk-dialog":"",className:a},V.createElement(og,{ref:t,...s}))))}),hP=V.forwardRef((e,t)=>ir(n=>n.filtered.count===0)?V.createElement(We.div,{ref:t,...e,"cmdk-empty":"",role:"presentation"}):null),gP=V.forwardRef((e,t)=>{let{progress:n,children:r,label:o="Loading...",...a}=e;return V.createElement(We.div,{ref:t,...a,"cmdk-loading":"",role:"progressbar","aria-valuenow":n,"aria-valuemin":0,"aria-valuemax":100,"aria-label":o},Xi(e,i=>V.createElement("div",{"aria-hidden":!0},i)))}),Hr=Object.assign(og,{List:pP,Item:uP,Input:fP,Group:cP,Separator:dP,Dialog:mP,Empty:hP,Loading:gP});function bP(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return n;n=n.nextElementSibling}}function vP(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return n;n=n.previousElementSibling}}function ag(e){let t=V.useRef(e);return ar(()=>{t.current=e}),t}var ar=typeof window>"u"?V.useEffect:V.useLayoutEffect;function Xr(e){let t=V.useRef();return t.current===void 0&&(t.current=e()),t}function Qo(e){return t=>{e.forEach(n=>{typeof n=="function"?n(t):n!=null&&(n.current=t)})}}function ir(e){let t=vc(),n=()=>e(t.snapshot());return V.useSyncExternalStore(t.subscribe,n,n)}function ig(e,t,n,r=[]){let o=V.useRef(),a=Jo();return ar(()=>{var i;let s=(()=>{var u;for(let c of n){if(typeof c=="string")return c.trim();if(typeof c=="object"&&"current"in c)return c.current?(u=c.current.textContent)==null?void 0:u.trim():o.current}})(),l=r.map(u=>u.trim());a.value(e,s,l),(i=t.current)==null||i.setAttribute(or,s),o.current=s}),o}var yP=()=>{let[e,t]=V.useState(),n=Xr(()=>new Map);return ar(()=>{n.current.forEach(r=>r()),n.current=new Map},[e]),(r,o)=>{n.current.set(r,o),t({})}};function xP(e){let t=e.type;return typeof t=="function"?t(e.props):"render"in t?t.render(e.props):e}function Xi({asChild:e,children:t},n){return e&&V.isValidElement(t)?V.cloneElement(xP(t),{ref:t.ref},n(t.props.children)):n(t)}var CP={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"},wP={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const IP=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),yc=(e,t)=>{const n=f.forwardRef(({color:r="currentColor",size:o=24,strokeWidth:a=2,absoluteStrokeWidth:i,children:s,...l},u)=>f.createElement("svg",{ref:u,...wP,width:o,height:o,stroke:r,strokeWidth:i?Number(a)*24/Number(o):a,className:`lucide lucide-${IP(e)}`,...l},[...t.map(([c,d])=>f.createElement(c,d)),...(Array.isArray(s)?s:[s])||[]]));return n.displayName=`${e}`,n},sg=yc("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]),EP=yc("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]),PP=yc("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);var kn=[["Afghanistan","af","93"],["Albania","al","355"],["Algeria","dz","213"],["Andorra","ad","376"],["Angola","ao","244"],["Antigua and Barbuda","ag","1268"],["Argentina","ar","54","(..) ........",0],["Armenia","am","374",".. ......"],["Aruba","aw","297"],["Australia","au","61",{default:". .... ....","/^4/":"... ... ...","/^5(?!50)/":"... ... ...","/^1(3|8)00/":".... ... ...","/^13/":".. .. ..","/^180/":"... ...."},0,[]],["Austria","at","43"],["Azerbaijan","az","994","(..) ... .. .."],["Bahamas","bs","1242"],["Bahrain","bh","973"],["Bangladesh","bd","880"],["Barbados","bb","1246"],["Belarus","by","375","(..) ... .. .."],["Belgium","be","32","... .. .. .."],["Belize","bz","501"],["Benin","bj","229"],["Bhutan","bt","975"],["Bolivia","bo","591"],["Bosnia and Herzegovina","ba","387"],["Botswana","bw","267"],["Brazil","br","55","(..) ........."],["British Indian Ocean Territory","io","246"],["Brunei","bn","673"],["Bulgaria","bg","359"],["Burkina Faso","bf","226"],["Burundi","bi","257"],["Cambodia","kh","855"],["Cameroon","cm","237"],["Canada","ca","1","(...) ...-....",1,["204","226","236","249","250","289","306","343","365","387","403","416","418","431","437","438","450","506","514","519","548","579","581","587","604","613","639","647","672","705","709","742","778","780","782","807","819","825","867","873","902","905"]],["Cape Verde","cv","238"],["Caribbean Netherlands","bq","599","",1],["Central African Republic","cf","236"],["Chad","td","235"],["Chile","cl","56"],["China","cn","86","... .... ...."],["Colombia","co","57","... ... ...."],["Comoros","km","269"],["Congo","cd","243"],["Congo","cg","242"],["Costa Rica","cr","506","....-...."],["Côte d'Ivoire","ci","225",".. .. .. .. .."],["Croatia","hr","385"],["Cuba","cu","53"],["Curaçao","cw","599","",0],["Cyprus","cy","357",".. ......"],["Czech Republic","cz","420","... ... ..."],["Denmark","dk","45",".. .. .. .."],["Djibouti","dj","253"],["Dominica","dm","1767"],["Dominican Republic","do","1","",2],["Ecuador","ec","593"],["Egypt","eg","20"],["El Salvador","sv","503","....-...."],["Equatorial Guinea","gq","240"],["Eritrea","er","291"],["Estonia","ee","372",".... ......"],["Ethiopia","et","251"],["Fiji","fj","679"],["Finland","fi","358",".. ... .. .."],["France","fr","33",". .. .. .. .."],["French Guiana","gf","594"],["French Polynesia","pf","689"],["Gabon","ga","241"],["Gambia","gm","220"],["Georgia","ge","995"],["Germany","de","49",".... ........"],["Ghana","gh","233"],["Greece","gr","30"],["Grenada","gd","1473"],["Guadeloupe","gp","590","",0],["Guam","gu","1671"],["Guatemala","gt","502","....-...."],["Guinea","gn","224"],["Guinea-Bissau","gw","245"],["Guyana","gy","592"],["Haiti","ht","509","....-...."],["Honduras","hn","504"],["Hong Kong","hk","852",".... ...."],["Hungary","hu","36"],["Iceland","is","354","... ...."],["India","in","91",".....-....."],["Indonesia","id","62"],["Iran","ir","98","... ... ...."],["Iraq","iq","964"],["Ireland","ie","353",".. ......."],["Israel","il","972","... ... ...."],["Italy","it","39","... .......",0],["Jamaica","jm","1876"],["Japan","jp","81",".. .... ...."],["Jordan","jo","962"],["Kazakhstan","kz","7","... ...-..-..",0],["Kenya","ke","254"],["Kiribati","ki","686"],["Kosovo","xk","383"],["Kuwait","kw","965"],["Kyrgyzstan","kg","996","... ... ..."],["Laos","la","856"],["Latvia","lv","371",".. ... ..."],["Lebanon","lb","961"],["Lesotho","ls","266"],["Liberia","lr","231"],["Libya","ly","218"],["Liechtenstein","li","423"],["Lithuania","lt","370"],["Luxembourg","lu","352"],["Macau","mo","853"],["Macedonia","mk","389"],["Madagascar","mg","261"],["Malawi","mw","265"],["Malaysia","my","60","..-....-...."],["Maldives","mv","960"],["Mali","ml","223"],["Malta","mt","356"],["Marshall Islands","mh","692"],["Martinique","mq","596"],["Mauritania","mr","222"],["Mauritius","mu","230"],["Mexico","mx","52","... ... ....",0],["Micronesia","fm","691"],["Moldova","md","373","(..) ..-..-.."],["Monaco","mc","377"],["Mongolia","mn","976"],["Montenegro","me","382"],["Morocco","ma","212"],["Mozambique","mz","258"],["Myanmar","mm","95"],["Namibia","na","264"],["Nauru","nr","674"],["Nepal","np","977"],["Netherlands","nl","31",".. ........"],["New Caledonia","nc","687"],["New Zealand","nz","64","...-...-...."],["Nicaragua","ni","505"],["Niger","ne","227"],["Nigeria","ng","234"],["North Korea","kp","850"],["Norway","no","47","... .. ..."],["Oman","om","968"],["Pakistan","pk","92","...-......."],["Palau","pw","680"],["Palestine","ps","970"],["Panama","pa","507"],["Papua New Guinea","pg","675"],["Paraguay","py","595"],["Peru","pe","51"],["Philippines","ph","63",".... ......."],["Poland","pl","48","...-...-..."],["Portugal","pt","351"],["Puerto Rico","pr","1","",3,["787","939"]],["Qatar","qa","974"],["Réunion","re","262"],["Romania","ro","40"],["Russia","ru","7","(...) ...-..-..",1],["Rwanda","rw","250"],["Saint Kitts and Nevis","kn","1869"],["Saint Lucia","lc","1758"],["Saint Vincent and the Grenadines","vc","1784"],["Samoa","ws","685"],["San Marino","sm","378"],["São Tomé and Príncipe","st","239"],["Saudi Arabia","sa","966"],["Senegal","sn","221"],["Serbia","rs","381"],["Seychelles","sc","248"],["Sierra Leone","sl","232"],["Singapore","sg","65","....-...."],["Slovakia","sk","421"],["Slovenia","si","386"],["Solomon Islands","sb","677"],["Somalia","so","252"],["South Africa","za","27"],["South Korea","kr","82","... .... ...."],["South Sudan","ss","211"],["Spain","es","34","... ... ..."],["Sri Lanka","lk","94"],["Sudan","sd","249"],["Suriname","sr","597"],["Swaziland","sz","268"],["Sweden","se","46","... ... ..."],["Switzerland","ch","41",".. ... .. .."],["Syria","sy","963"],["Taiwan","tw","886"],["Tajikistan","tj","992"],["Tanzania","tz","255"],["Thailand","th","66"],["Timor-Leste","tl","670"],["Togo","tg","228"],["Tonga","to","676"],["Trinidad and Tobago","tt","1868"],["Tunisia","tn","216"],["Turkey","tr","90","... ... .. .."],["Turkmenistan","tm","993"],["Tuvalu","tv","688"],["Uganda","ug","256"],["Ukraine","ua","380","(..) ... .. .."],["United Arab Emirates","ae","971"],["United Kingdom","gb","44",".... ......"],["United States","us","1","(...) ...-....",0],["Uruguay","uy","598"],["Uzbekistan","uz","998",".. ... .. .."],["Vanuatu","vu","678"],["Vatican City","va","39",".. .... ....",1],["Venezuela","ve","58"],["Vietnam","vn","84"],["Yemen","ye","967"],["Zambia","zm","260"],["Zimbabwe","zw","263"]],SP="react-international-phone-",lg=(...e)=>e.filter(t=>!!t).join(" ").trim(),MP=(...e)=>lg(...e).split(" ").map(t=>`${SP}${t}`).join(" "),et=({addPrefix:e,rawClassNames:t})=>lg(MP(...e),...t),AP=({value:e,mask:t,maskSymbol:n,offset:r=0,trimNonMaskCharsLeftover:o=!1})=>{if(e.length<r)return e;let a=e.slice(0,r),i=e.slice(r),s=a,l=0;for(let u of t.split("")){if(l>=i.length){if(!o&&u!==n){s+=u;continue}break}u===n?(s+=i[l],l+=1):s+=u}return s},Zr=e=>e?/^\d+$/.test(e):!1,Zi=e=>e.replace(/\D/g,""),TP=(e,t)=>{let n=e.style.display;n!=="block"&&(e.style.display="block");let r=e.getBoundingClientRect(),o=t.getBoundingClientRect(),a=o.top-r.top,i=r.bottom-o.bottom;a>=0&&i>=0||(Math.abs(a)<Math.abs(i)?e.scrollTop+=a:e.scrollTop-=i),e.style.display=n},DP=(e,t)=>{let n=t.disableDialCodeAndPrefix?!1:t.forceDialCode,r=t.disableDialCodeAndPrefix?!1:t.insertDialCodeOnEmpty,o=e,a=u=>t.trimNonDigitsEnd?u.trim():u;if(!o)return r&&!o.length||n?a(`${t.prefix}${t.dialCode}${t.charAfterDialCode}`):a(o);if(o=Zi(o),o===t.dialCode&&!t.disableDialCodeAndPrefix)return a(`${t.prefix}${t.dialCode}${t.charAfterDialCode}`);if(t.dialCode.startsWith(o)&&!t.disableDialCodeAndPrefix)return a(n?`${t.prefix}${t.dialCode}${t.charAfterDialCode}`:`${t.prefix}${o}`);if(!o.startsWith(t.dialCode)&&!t.disableDialCodeAndPrefix){if(n)return a(`${t.prefix}${t.dialCode}${t.charAfterDialCode}`);if(o.length<t.dialCode.length)return a(`${t.prefix}${o}`)}let i=()=>{let u=t.dialCode.length,c=o.slice(0,u),d=o.slice(u);return{phoneLeftSide:c,phoneRightSide:d}},{phoneLeftSide:s,phoneRightSide:l}=i();return s=`${t.prefix}${s}${t.charAfterDialCode}`,l=AP({value:l,mask:t.mask,maskSymbol:t.maskChar,trimNonMaskCharsLeftover:t.trimNonDigitsEnd||t.disableDialCodeAndPrefix&&l.length===0}),t.disableDialCodeAndPrefix&&(s=""),a(`${s}${l}`)},NP=({phoneBeforeInput:e,phoneAfterInput:t,phoneAfterFormatted:n,cursorPositionAfterInput:r,leftOffset:o=0,deletion:a})=>{if(r<o)return o;if(!e)return n.length;let i=null;for(let c=r-1;c>=0;c-=1)if(Zr(t[c])){i=c;break}if(i===null){for(let c=0;c<t.length;c+=1)if(Zr(n[c]))return c;return t.length}let s=0;for(let c=0;c<i;c+=1)Zr(t[c])&&(s+=1);let l=0,u=0;for(let c=0;c<n.length&&(l+=1,Zr(n[c])&&(u+=1),!(u>=s+1));c+=1);if(a!=="backward")for(;!Zr(n[l])&&l<n.length;)l+=1;return l},Yi=({phone:e,prefix:t})=>e?`${t}${Zi(e)}`:"";function xc({value:e,country:t,insertDialCodeOnEmpty:n,trimNonDigitsEnd:r,countries:o,prefix:a,charAfterDialCode:i,forceDialCode:s,disableDialCodeAndPrefix:l,defaultMask:u,countryGuessingEnabled:c,disableFormatting:d}){let p=e;l&&(p=p.startsWith(`${a}`)?p:`${a}${t.dialCode}${p}`);let m=c?WP({phone:p,countries:o,currentCountryIso2:t==null?void 0:t.iso2}):void 0,h=(m==null?void 0:m.country)??t,g=DP(p,{prefix:a,mask:jP({phone:p,country:h,defaultMask:u,disableFormatting:d}),maskChar:ug,dialCode:h.dialCode,trimNonDigitsEnd:r,charAfterDialCode:i,forceDialCode:s,insertDialCodeOnEmpty:n,disableDialCodeAndPrefix:l}),b=c&&!(m!=null&&m.fullDialCodeMatch)?t:h;return{phone:Yi({phone:l?`${b.dialCode}${g}`:g,prefix:a}),inputValue:g,country:b}}var $P=e=>{if((e==null?void 0:e.toLocaleLowerCase().includes("delete"))??!1)return e!=null&&e.toLocaleLowerCase().includes("forward")?"forward":"backward"},kP=(e,{country:t,insertDialCodeOnEmpty:n,phoneBeforeInput:r,prefix:o,charAfterDialCode:a,forceDialCode:i,disableDialCodeAndPrefix:s,countryGuessingEnabled:l,defaultMask:u,disableFormatting:c,countries:d})=>{let p=e.nativeEvent,m=p.inputType,h=$P(m),g=!!(m!=null&&m.startsWith("insertFrom")),b=m==="insertText",x=(p==null?void 0:p.data)||void 0,y=e.target.value,w=e.target.selectionStart??0;if(m!=null&&m.includes("history"))return{inputValue:r,phone:Yi({phone:r,prefix:o}),cursorPosition:r.length,country:t};if(b&&!Zr(x)&&y!==o)return{inputValue:r,phone:Yi({phone:s?`${t.dialCode}${r}`:r,prefix:o}),cursorPosition:w-((x==null?void 0:x.length)??0),country:t};if(i&&!y.startsWith(`${o}${t.dialCode}`)&&!g){let v=y?r:`${o}${t.dialCode}${a}`;return{inputValue:v,phone:Yi({phone:v,prefix:o}),cursorPosition:o.length+t.dialCode.length+a.length,country:t}}let{phone:S,inputValue:P,country:A}=xc({value:y,country:t,trimNonDigitsEnd:h==="backward",insertDialCodeOnEmpty:n,countryGuessingEnabled:l,countries:d,prefix:o,charAfterDialCode:a,forceDialCode:i,disableDialCodeAndPrefix:s,disableFormatting:c,defaultMask:u}),T=NP({cursorPositionAfterInput:w,phoneBeforeInput:r,phoneAfterInput:y,phoneAfterFormatted:P,leftOffset:i?o.length+t.dialCode.length+a.length:0,deletion:h});return{phone:S,inputValue:P,cursorPosition:T,country:A}},OP=(e,t)=>{let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let o of n)if(e[o]!==t[o])return!1;return!0},FP=()=>{let e=f.useRef(),t=f.useRef(Date.now());return{check:()=>{let n=Date.now(),r=e.current?n-t.current:void 0;return e.current=t.current,t.current=n,r}}},LP={size:20,overrideLastItemDebounceMS:-1};function VP(e,t){let{size:n,overrideLastItemDebounceMS:r,onChange:o}={...LP,...t},[a,i]=f.useState(e),[s,l]=f.useState([a]),[u,c]=f.useState(0),d=FP();return[a,(p,m)=>{if(typeof p=="object"&&typeof a=="object"&&OP(p,a)||p===a)return;let h=r>0,g=d.check(),b=h&&g!==void 0?g>r:!0;if((m==null?void 0:m.overrideLastItem)!==void 0?m.overrideLastItem:!b)l(x=>[...x.slice(0,u),p]);else{let x=s.length>=n;l(y=>[...y.slice(x?1:0,u+1),p]),x||c(y=>y+1)}i(p),o==null||o(p)},()=>{if(u<=0)return{success:!1};let p=s[u-1];return i(p),c(m=>m-1),o==null||o(p),{success:!0,value:p}},()=>{if(u+1>=s.length)return{success:!1};let p=s[u+1];return i(p),c(m=>m+1),o==null||o(p),{success:!0,value:p}}]}var ug=".",Tt={defaultCountry:"us",value:"",prefix:"+",defaultMask:"............",charAfterDialCode:" ",historySaveDebounceMS:200,disableCountryGuess:!1,disableDialCodePrefill:!1,forceDialCode:!1,disableDialCodeAndPrefix:!1,disableFormatting:!1,countries:kn,preferredCountries:[]},cg=({defaultCountry:e=Tt.defaultCountry,value:t=Tt.value,countries:n=Tt.countries,prefix:r=Tt.prefix,defaultMask:o=Tt.defaultMask,charAfterDialCode:a=Tt.charAfterDialCode,historySaveDebounceMS:i=Tt.historySaveDebounceMS,disableCountryGuess:s=Tt.disableCountryGuess,disableDialCodePrefill:l=Tt.disableDialCodePrefill,forceDialCode:u=Tt.forceDialCode,disableDialCodeAndPrefix:c=Tt.disableDialCodeAndPrefix,disableFormatting:d=Tt.disableFormatting,onChange:p,inputRef:m})=>{let h={countries:n,prefix:r,charAfterDialCode:a,forceDialCode:c?!1:u,disableDialCodeAndPrefix:c,defaultMask:o,countryGuessingEnabled:!s,disableFormatting:d},g=f.useRef(null),b=m||g,x=E=>{Promise.resolve().then(()=>{var O;typeof window>"u"||b.current!==(document==null?void 0:document.activeElement)||((O=b.current)==null||O.setSelectionRange(E,E))})},[{phone:y,inputValue:w,country:S},P,A,T]=VP(()=>{let E=Yr({value:e,field:"iso2",countries:n});E||console.error(`[react-international-phone]: can not find a country with "${e}" iso2 code`);let O=E||Yr({value:"us",field:"iso2",countries:n}),{phone:j,inputValue:N,country:W}=xc({value:t,country:O,insertDialCodeOnEmpty:!l,...h});return x(N.length),{phone:j,inputValue:N,country:W.iso2}},{overrideLastItemDebounceMS:i,onChange:({inputValue:E,phone:O,country:j})=>{if(!p)return;let N=v(j);p({phone:O,inputValue:E,country:N})}}),v=f.useCallback(E=>Yr({value:E,field:"iso2",countries:n}),[n]),D=f.useMemo(()=>v(S),[S,v]);f.useEffect(()=>{let E=b.current;if(!E)return;let O=j=>{if(!j.key)return;let N=j.ctrlKey,W=j.shiftKey,K=j.key.toLowerCase()==="z";!N||!K||(W?T():A())};return E.addEventListener("keydown",O),()=>{E.removeEventListener("keydown",O)}},[b,A,T]);let $=E=>{E.preventDefault();let{phone:O,inputValue:j,country:N,cursorPosition:W}=kP(E,{country:D,phoneBeforeInput:w,insertDialCodeOnEmpty:!1,...h});return P({inputValue:j,phone:O,country:N.iso2}),x(W),t},M=(E,O={focusOnInput:!1})=>{let j=Yr({value:E,field:"iso2",countries:n});if(!j){console.error(`[react-international-phone]: can not find a country with "${E}" iso2 code`);return}let N=c?"":`${r}${j.dialCode}${a}`;P({inputValue:N,phone:`${r}${j.dialCode}`,country:j.iso2}),O.focusOnInput&&Promise.resolve().then(()=>{var W;(W=b.current)==null||W.focus()})},[k,I]=f.useState(!1);return f.useEffect(()=>{if(!k){I(!0),t!==y&&(p==null||p({inputValue:w,phone:y,country:D}));return}if(t===y)return;let{phone:E,inputValue:O,country:j}=xc({value:t,country:D,insertDialCodeOnEmpty:!l,...h});P({phone:E,inputValue:O,country:j.iso2})},[t]),{phone:y,inputValue:w,country:D,setCountry:M,handlePhoneValueChange:$,inputRef:b}},jP=({phone:e,country:t,defaultMask:n="............",disableFormatting:r=!1})=>{let o=t.format,a=s=>r?s.replace(new RegExp(`[^${ug}]`,"g"),""):s;if(!o)return a(n);if(typeof o=="string")return a(o);if(!o.default)return console.error(`[react-international-phone]: default mask for ${t.iso2} is not provided`),a(n);let i=Object.keys(o).find(s=>{if(s==="default")return!1;if(!(s.charAt(0)==="/"&&s.charAt(s.length-1)==="/"))return console.error(`[react-international-phone]: format regex "${s}" for ${t.iso2} is not valid`),!1;let l=new RegExp(s.substring(1,s.length-1)),u=e.replace(t.dialCode,"");return l.test(Zi(u))});return a(i?o[i]:o.default)},Vt=e=>{let[t,n,r,o,a,i]=e;return{name:t,iso2:n,dialCode:r,format:o,priority:a,areaCodes:i}},BP=e=>`Field "${e}" is not supported`,Yr=({field:e,value:t,countries:n=kn})=>{if(["priority"].includes(e))throw new Error(BP(e));let r=n.find(o=>{let a=Vt(o);return t===a[e]});if(r)return Vt(r)},WP=({phone:e,countries:t=kn,currentCountryIso2:n})=>{var s;let r={country:void 0,fullDialCodeMatch:!1};if(!e)return r;let o=Zi(e);if(!o)return r;let a=r,i=({country:l,fullDialCodeMatch:u})=>{var p,m;let c=l.dialCode===((p=a.country)==null?void 0:p.dialCode),d=(l.priority??0)<(((m=a.country)==null?void 0:m.priority)??0);(!c||d)&&(a={country:l,fullDialCodeMatch:u})};for(let l of t){let u=Vt(l),{dialCode:c,areaCodes:d}=u;if(o.startsWith(c)){let p=a.country?Number(c)>=Number(a.country.dialCode):!0;if(d){let m=o.substring(c.length);for(let h of d)if(m.startsWith(h))return{country:u,fullDialCodeMatch:!0}}(p||c===o||!a.fullDialCodeMatch)&&i({country:u,fullDialCodeMatch:!0})}a.fullDialCodeMatch||o.length<c.length&&c.startsWith(o)&&(!a.country||Number(c)<=Number(a.country.dialCode))&&i({country:u,fullDialCodeMatch:!1})}if(n){let l=Yr({value:n,field:"iso2",countries:t});if(!l)return a;let u=l?(c=>{if(!(c!=null&&c.areaCodes))return!1;let d=o.substring(c.dialCode.length);return c.areaCodes.some(p=>p.startsWith(d))})(l):!1;a&&((s=a.country)==null?void 0:s.dialCode)===l.dialCode&&a.country!==l&&a.fullDialCodeMatch&&(!l.areaCodes||u)&&(a={country:l,fullDialCodeMatch:!0})}return a},_P=(e,t)=>{let n=parseInt(e,16);return Number(n+t).toString(16)},GP="abcdefghijklmnopqrstuvwxyz",RP="1f1e6",dg=GP.split("").reduce((e,t,n)=>({...e,[t]:_P(RP,n)}),{}),zP=e=>[dg[e[0]],dg[e[1]]].join("-"),Ui=({iso2:e,size:t,src:n,protocol:r="https",disableLazyLoading:o,className:a,style:i,...s})=>{if(!e)return f.createElement("img",{className:et({addPrefix:["flag-emoji"],rawClassNames:[a]}),width:t,height:t,...s});let l=()=>{if(n)return n;let u=zP(e);return`${r}://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/svg/${u}.svg`};return f.createElement("img",{className:et({addPrefix:["flag-emoji"],rawClassNames:[a]}),src:l(),width:t,height:t,draggable:!1,"data-country":e,loading:o?void 0:"lazy",style:{width:t,height:t,...i},alt:"",...s})},HP=1e3,XP=({show:e,dialCodePrefix:t="+",selectedCountry:n,countries:r=kn,preferredCountries:o=[],flags:a,onSelect:i,onClose:s,...l})=>{let u=f.useRef(null),c=f.useRef(),d=f.useMemo(()=>{if(!o||!o.length)return r;let A=[],T=[...r];for(let v of o){let D=T.findIndex($=>Vt($).iso2===v);if(D!==-1){let $=T.splice(D,1)[0];A.push($)}}return A.concat(T)},[r,o]),p=f.useRef({updatedAt:void 0,value:""}),m=A=>{let T=p.current.updatedAt&&new Date().getTime()-p.current.updatedAt.getTime()>HP;p.current={value:T?A:`${p.current.value}${A}`,updatedAt:new Date};let v=d.findIndex(D=>Vt(D).name.toLowerCase().startsWith(p.current.value));v!==-1&&b(v)},h=f.useCallback(A=>d.findIndex(T=>Vt(T).iso2===A),[d]),[g,b]=f.useState(h(n)),x=()=>{c.current!==n&&b(h(n))},y=f.useCallback(A=>{b(h(A.iso2)),i==null||i(A)},[i,h]),w=A=>{let T=d.length-1,v=D=>A==="prev"?D-1:A==="next"?D+1:A==="last"?T:0;b(D=>{let $=v(D);return $<0?0:$>T?T:$})},S=A=>{if(A.stopPropagation(),A.key==="Enter"){A.preventDefault();let T=Vt(d[g]);y(T);return}if(A.key==="Escape"){s==null||s();return}if(A.key==="ArrowUp"){A.preventDefault(),w("prev");return}if(A.key==="ArrowDown"){A.preventDefault(),w("next");return}if(A.key==="PageUp"){A.preventDefault(),w("first");return}if(A.key==="PageDown"){A.preventDefault(),w("last");return}A.key===" "&&A.preventDefault(),A.key.length===1&&!A.altKey&&!A.ctrlKey&&!A.metaKey&&m(A.key.toLocaleLowerCase())},P=f.useCallback(()=>{if(!u.current||g===void 0)return;let A=Vt(d[g]).iso2;if(A===c.current)return;let T=u.current.querySelector(`[data-country="${A}"]`);T&&(TP(u.current,T),c.current=A)},[g,d]);return f.useEffect(()=>{P()},[g,P]),f.useEffect(()=>{u.current&&(e?u.current.focus():x())},[e]),f.useEffect(()=>{x()},[n]),f.createElement("ul",{ref:u,role:"listbox",className:et({addPrefix:["country-selector-dropdown"],rawClassNames:[l.className]}),style:{display:e?"block":"none",...l.style},onKeyDown:S,onBlur:s,tabIndex:-1,"aria-activedescendant":`react-international-phone__${Vt(d[g]).iso2}-option`},d.map((A,T)=>{let v=Vt(A),D=v.iso2===n,$=T===g,M=o.includes(v.iso2),k=T===o.length-1,I=a==null?void 0:a.find(E=>E.iso2===v.iso2);return f.createElement(f.Fragment,{key:v.iso2},f.createElement("li",{"data-country":v.iso2,role:"option","aria-selected":D,"aria-label":`${v.name} ${t}${v.dialCode}`,id:`react-international-phone__${v.iso2}-option`,className:et({addPrefix:["country-selector-dropdown__list-item",M&&"country-selector-dropdown__list-item--preferred",D&&"country-selector-dropdown__list-item--selected",$&&"country-selector-dropdown__list-item--focused"],rawClassNames:[l.listItemClassName]}),onClick:()=>y(v),style:l.listItemStyle,title:v.name},f.createElement(Ui,{iso2:v.iso2,src:I==null?void 0:I.src,className:et({addPrefix:["country-selector-dropdown__list-item-flag-emoji"],rawClassNames:[l.listItemFlagClassName]}),style:l.listItemFlagStyle}),f.createElement("span",{className:et({addPrefix:["country-selector-dropdown__list-item-country-name"],rawClassNames:[l.listItemCountryNameClassName]}),style:l.listItemCountryNameStyle},v.name),f.createElement("span",{className:et({addPrefix:["country-selector-dropdown__list-item-dial-code"],rawClassNames:[l.listItemDialCodeClassName]}),style:l.listItemDialCodeStyle},t,v.dialCode)),k?f.createElement("hr",{className:et({addPrefix:["country-selector-dropdown__preferred-list-divider"],rawClassNames:[l.preferredListDividerClassName]}),style:l.preferredListDividerStyle}):null)}))},ZP=({selectedCountry:e,onSelect:t,disabled:n,hideDropdown:r,countries:o=kn,preferredCountries:a=[],flags:i,renderButtonWrapper:s,...l})=>{let[u,c]=f.useState(!1),d=f.useMemo(()=>{if(e)return Yr({value:e,field:"iso2",countries:o})},[o,e]),p=f.useRef(null),m=g=>{g.key&&["ArrowUp","ArrowDown"].includes(g.key)&&(g.preventDefault(),c(!0))},h=()=>{var x;let g={title:d==null?void 0:d.name,onClick:()=>c(y=>!y),onMouseDown:y=>y.preventDefault(),onKeyDown:m,disabled:r||n,role:"combobox","aria-label":"Country selector","aria-haspopup":"listbox","aria-expanded":u},b=f.createElement("div",{className:et({addPrefix:["country-selector-button__button-content"],rawClassNames:[l.buttonContentWrapperClassName]}),style:l.buttonContentWrapperStyle},f.createElement(Ui,{iso2:e,src:(x=i==null?void 0:i.find(y=>y.iso2===e))==null?void 0:x.src,className:et({addPrefix:["country-selector-button__flag-emoji",n&&"country-selector-button__flag-emoji--disabled"],rawClassNames:[l.flagClassName]}),style:{visibility:e?"visible":"hidden",...l.flagStyle}}),!r&&f.createElement("div",{className:et({addPrefix:["country-selector-button__dropdown-arrow",n&&"country-selector-button__dropdown-arrow--disabled",u&&"country-selector-button__dropdown-arrow--active"],rawClassNames:[l.dropdownArrowClassName]}),style:l.dropdownArrowStyle}));return s?s({children:b,rootProps:g}):f.createElement("button",{...g,type:"button",className:et({addPrefix:["country-selector-button",u&&"country-selector-button--active",n&&"country-selector-button--disabled",r&&"country-selector-button--hide-dropdown"],rawClassNames:[l.buttonClassName]}),"data-country":e,style:l.buttonStyle},b)};return f.createElement("div",{className:et({addPrefix:["country-selector"],rawClassNames:[l.className]}),style:l.style,ref:p},h(),f.createElement(XP,{show:u,countries:o,preferredCountries:a,flags:i,onSelect:g=>{c(!1),t==null||t(g)},selectedCountry:e,onClose:()=>{c(!1)},...l.dropdownStyleProps}))},YP=({dialCode:e,prefix:t,disabled:n,style:r,className:o})=>f.createElement("div",{className:et({addPrefix:["dial-code-preview",n&&"dial-code-preview--disabled"],rawClassNames:[o]}),style:r},`${t}${e}`);f.forwardRef(({value:e,onChange:t,countries:n=kn,preferredCountries:r=[],hideDropdown:o,showDisabledDialCodeAndPrefix:a,disableFocusAfterCountrySelect:i,flags:s,style:l,className:u,inputStyle:c,inputClassName:d,countrySelectorStyleProps:p,dialCodePreviewStyleProps:m,inputProps:h,placeholder:g,disabled:b,name:x,onFocus:y,onBlur:w,required:S,autoFocus:P,...A},T)=>{let{phone:v,inputValue:D,inputRef:$,country:M,setCountry:k,handlePhoneValueChange:I}=cg({value:e,countries:n,...A,onChange:O=>{t==null||t(O.phone,{country:O.country,inputValue:O.inputValue})}}),E=A.disableDialCodeAndPrefix&&a&&(M==null?void 0:M.dialCode);return f.useImperativeHandle(T,()=>$.current?Object.assign($.current,{setCountry:k,state:{phone:v,inputValue:D,country:M}}):null,[$,k,v,D,M]),f.createElement("div",{ref:T,className:et({addPrefix:["input-container"],rawClassNames:[u]}),style:l},f.createElement(ZP,{onSelect:O=>k(O.iso2,{focusOnInput:!i}),flags:s,selectedCountry:M.iso2,countries:n,preferredCountries:r,disabled:b,hideDropdown:o,...p}),E&&f.createElement(YP,{dialCode:M.dialCode,prefix:A.prefix??"+",disabled:b,...m}),f.createElement("input",{onChange:I,value:D,type:"tel",ref:$,className:et({addPrefix:["input",b&&"input--disabled"],rawClassNames:[d]}),placeholder:g,disabled:b,style:c,name:x,onFocus:y,onBlur:w,autoFocus:P,required:S,...h}))});const UP=({value:e,onChange:t,disabled:n,placeholder:r,error:o,erroMessage:a,isValid:i,searchMessage:s,noResultsFoundMessage:l,...u})=>{const[c,d]=f.useState(!1),p=ye({base:"group flex h-12 w-full items-center rounded-lg border border-primary-grey-700 bg-white px-4 py-3",variants:{disabled:{true:"border-none bg-primary-grey-500"},isError:{true:"border-complementary-red-500"},completed:{true:"border-secondary-green-500"}}}),m=ye({base:"ml-4 bg-transparent font-satoshi text-sm font-normal leading-normal focus-within:outline-none group-focus-within:text-black",variants:{disabled:{true:"text-primary-grey-700"}}}),h=ye({base:"flex items-center gap-[6px] border-r border-primary-grey-800 pr-4",variants:{disabled:{true:"border-primary-grey-700"}}}),g=ye({base:"h-6 w-6 stroke-1 text-primary-grey-800 group-focus-within:text-black",variants:{disabled:{true:"text-primary-grey-700"}}}),b=ye({base:"font-satoshi text-sm font-normal leading-normal text-primary-grey-800 group-focus-within:text-black",variants:{disabled:{true:"text-primary-grey-700"}}}),{inputValue:x,handlePhoneValueChange:y,inputRef:w,country:S,setCountry:P}=cg({defaultCountry:"us",value:e,charAfterDialCode:"+",disableDialCodePrefill:!1,disableDialCodeAndPrefix:!0,countries:kn,onChange:T=>{t==null||t(T.phone)}}),A=T=>{d(!c),P(T)};return F.jsxs("div",{className:"h-[74px]",children:[F.jsxs("div",{className:p({disabled:n,isError:o,completed:i}),children:[F.jsxs(uh,{open:c,onOpenChange:d,children:[F.jsx(ch,{asChild:!0,children:F.jsxs("button",{disabled:n,className:h({disabled:n}),children:[F.jsx("div",{className:"flex h-6 w-6 items-center justify-center overflow-hidden rounded-full border-1.5 border-white",children:F.jsx(Ui,{className:"scale-[1.4]",iso2:S.iso2})}),F.jsxs("span",{className:b({disabled:n}),children:["+ ",S.dialCode]}),c?F.jsx(EP,{className:g({disabled:n})}):F.jsx(sg,{className:g({disabled:n})})]})}),F.jsx(dh,{children:F.jsx(fh,{className:"max-h-96 overflow-y-auto rounded-lg border border-primary-grey-600 bg-white",side:"bottom",sideOffset:5,children:F.jsxs(Hr,{children:[F.jsxs("div",{className:"flex items-center justify-center gap-2 border-b-1 px-2 py-2",children:[F.jsx(PP,{className:"h-4 w-4 shrink-0 text-primary-grey-800"}),F.jsx(Hr.Input,{className:"w-full font-satoshi text-sm focus-visible:outline-none",placeholder:s})]}),F.jsxs(Hr.List,{className:"mt-2",children:[F.jsx(Hr.Empty,{className:"font-satoshi text-sm",children:l}),F.jsx(Hr.Group,{children:kn.map(T=>{const v=Vt(T);return F.jsxs(Hr.Item,{onSelect:()=>A(v.iso2),className:"flex cursor-pointer items-center justify-between px-2 py-2 font-satoshi text-sm text-primary-grey-800 hover:bg-primary-grey-500",children:[F.jsxs("div",{className:"flex gap-1",children:[F.jsx("div",{className:"flex h-6 w-6 items-center justify-center overflow-hidden rounded-full border-1.5 border-white",children:F.jsx(Ui,{className:"scale-[1.4]",iso2:v.iso2})}),F.jsx("span",{children:v.name})]}),F.jsxs("span",{children:["+ ",v.dialCode]})]},v.iso2)})})]})]})})})]}),F.jsx("input",{disabled:n,className:m({disabled:n}),placeholder:r,type:"tel",value:x,onChange:y,ref:w,...u})]}),o&&a&&F.jsx("span",{className:"mt-2 pl-6 font-satoshi text-xs font-normal leading-normal text-complementary-red-500",children:a})]})};function sr(e){"@babel/helpers - typeof";return sr=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},sr(e)}function KP(e,t){if(sr(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(sr(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function fg(e){var t=KP(e,"string");return sr(t)=="symbol"?t:t+""}function qo(e,t,n){return t=fg(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function ce(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?pg(Object(n),!0).forEach(function(r){qo(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pg(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function JP(e){if(Array.isArray(e))return e}function QP(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,o,a,i,s=[],l=!0,u=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(c){u=!0,o=c}finally{try{if(!l&&n.return!=null&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw o}}return s}}function Cc(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function mg(e,t){if(e){if(typeof e=="string")return Cc(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Cc(e,t)}}function qP(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
102
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function mn(e,t){return JP(e)||QP(e,t)||mg(e,t)||qP()}function eS(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,a;for(a=0;a<r.length;a++)o=r[a],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function hn(e,t){if(e==null)return{};var n=eS(e,t),r,o;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var tS=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function nS(e){var t=e.defaultInputValue,n=t===void 0?"":t,r=e.defaultMenuIsOpen,o=r===void 0?!1:r,a=e.defaultValue,i=a===void 0?null:a,s=e.inputValue,l=e.menuIsOpen,u=e.onChange,c=e.onInputChange,d=e.onMenuClose,p=e.onMenuOpen,m=e.value,h=hn(e,tS),g=f.useState(s!==void 0?s:n),b=mn(g,2),x=b[0],y=b[1],w=f.useState(l!==void 0?l:o),S=mn(w,2),P=S[0],A=S[1],T=f.useState(m!==void 0?m:i),v=mn(T,2),D=v[0],$=v[1],M=f.useCallback(function(W,K){typeof u=="function"&&u(W,K),$(W)},[u]),k=f.useCallback(function(W,K){var H;typeof c=="function"&&(H=c(W,K)),y(H!==void 0?H:W)},[c]),I=f.useCallback(function(){typeof p=="function"&&p(),A(!0)},[p]),E=f.useCallback(function(){typeof d=="function"&&d(),A(!1)},[d]),O=s!==void 0?s:x,j=l!==void 0?l:P,N=m!==void 0?m:D;return ce(ce({},h),{},{inputValue:O,menuIsOpen:j,onChange:M,onInputChange:k,onMenuClose:E,onMenuOpen:I,value:N})}function de(){return de=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},de.apply(this,arguments)}function rS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hg(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,fg(r.key),r)}}function oS(e,t,n){return t&&hg(e.prototype,t),n&&hg(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function wc(e,t){return wc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,o){return r.__proto__=o,r},wc(e,t)}function aS(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&&wc(e,t)}function Ki(e){return Ki=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Ki(e)}function gg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(gg=function(){return!!e})()}function iS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sS(e,t){if(t&&(sr(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return iS(e)}function lS(e){var t=gg();return function(){var r=Ki(e),o;if(t){var a=Ki(this).constructor;o=Reflect.construct(r,arguments,a)}else o=r.apply(this,arguments);return sS(this,o)}}function uS(e){if(Array.isArray(e))return Cc(e)}function cS(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function dS(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
103
103
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ic(e){return uS(e)||cS(e)||mg(e)||dS()}function fS(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 pS(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 mS=function(){function e(n){var r=this;this._insertTag=function(o){var a;r.tags.length===0?r.insertionPoint?a=r.insertionPoint.nextSibling:r.prepend?a=r.container.firstChild:a=r.before:a=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(o,a),r.tags.push(o)},this.isSpeedy=n.speedy===void 0?process.env.NODE_ENV==="production":n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(r){r.forEach(this._insertTag)},t.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(pS(this));var o=this.tags[this.tags.length-1];if(process.env.NODE_ENV!=="production"){var a=r.charCodeAt(0)===64&&r.charCodeAt(1)===105;a&&this._alreadyInsertedOrderInsensitiveRule&&console.error(`You're attempting to insert the following rule:
|
|
104
|
-
`+r+"\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."),this._alreadyInsertedOrderInsensitiveRule=this._alreadyInsertedOrderInsensitiveRule||!a}if(this.isSpeedy){var i=fS(o);try{i.insertRule(r,i.cssRules.length)}catch(s){process.env.NODE_ENV!=="production"&&!/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(r)&&console.error('There was a problem inserting the following rule: "'+r+'"',s)}}else o.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){return r.parentNode&&r.parentNode.removeChild(r)}),this.tags=[],this.ctr=0,process.env.NODE_ENV!=="production"&&(this._alreadyInsertedOrderInsensitiveRule=!1)},e}(),tt="-ms-",Ji="-moz-",Ae="-webkit-",Ec="comm",Pc="rule",Sc="decl",hS="@import",bg="@keyframes",gS="@layer",bS=Math.abs,Qi=String.fromCharCode,vS=Object.assign;function yS(e,t){return Qe(e,0)^45?(((t<<2^Qe(e,0))<<2^Qe(e,1))<<2^Qe(e,2))<<2^Qe(e,3):0}function vg(e){return e.trim()}function xS(e,t){return(e=t.exec(e))?e[0]:e}function Te(e,t,n){return e.replace(t,n)}function Mc(e,t){return e.indexOf(t)}function Qe(e,t){return e.charCodeAt(t)|0}function ea(e,t,n){return e.slice(t,n)}function Yt(e){return e.length}function Ac(e){return e.length}function qi(e,t){return t.push(e),e}function CS(e,t){return e.map(t).join("")}var es=1,Ur=1,yg=0,pt=0,Ue=0,Kr="";function ts(e,t,n,r,o,a,i){return{value:e,root:t,parent:n,type:r,props:o,children:a,line:es,column:Ur,length:i,return:""}}function ta(e,t){return vS(ts("",null,null,"",null,null,0),e,{length:-e.length},t)}function wS(){return Ue}function IS(){return Ue=pt>0?Qe(Kr,--pt):0,Ur--,Ue===10&&(Ur=1,es--),Ue}function It(){return Ue=pt<yg?Qe(Kr,pt++):0,Ur++,Ue===10&&(Ur=1,es++),Ue}function Ut(){return Qe(Kr,pt)}function ns(){return pt}function na(e,t){return ea(Kr,e,t)}function ra(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 xg(e){return es=Ur=1,yg=Yt(Kr=e),pt=0,[]}function Cg(e){return Kr="",e}function rs(e){return vg(na(pt-1,Tc(e===91?e+2:e===40?e+1:e)))}function ES(e){for(;(Ue=Ut())&&Ue<33;)It();return ra(e)>2||ra(Ue)>3?"":" "}function PS(e,t){for(;--t&&It()&&!(Ue<48||Ue>102||Ue>57&&Ue<65||Ue>70&&Ue<97););return na(e,ns()+(t<6&&Ut()==32&&It()==32))}function Tc(e){for(;It();)switch(Ue){case e:return pt;case 34:case 39:e!==34&&e!==39&&Tc(Ue);break;case 40:e===41&&Tc(e);break;case 92:It();break}return pt}function SS(e,t){for(;It()&&e+Ue!==47+10;)if(e+Ue===42+42&&Ut()===47)break;return"/*"+na(t,pt-1)+"*"+Qi(e===47?e:It())}function MS(e){for(;!ra(Ut());)It();return na(e,pt)}function AS(e){return Cg(os("",null,null,null,[""],e=xg(e),0,[0],e))}function os(e,t,n,r,o,a,i,s,l){for(var u=0,c=0,d=i,p=0,m=0,h=0,g=1,b=1,x=1,y=0,w="",S=o,E=a,A=r,T=w;b;)switch(h=y,y=It()){case 40:if(h!=108&&Qe(T,d-1)==58){Mc(T+=Te(rs(y),"&","&\f"),"&\f")!=-1&&(x=-1);break}case 34:case 39:case 91:T+=rs(y);break;case 9:case 10:case 13:case 32:T+=ES(h);break;case 92:T+=PS(ns()-1,7);continue;case 47:switch(Ut()){case 42:case 47:qi(TS(SS(It(),ns()),t,n),l);break;default:T+="/"}break;case 123*g:s[u++]=Yt(T)*x;case 125*g:case 59:case 0:switch(y){case 0:case 125:b=0;case 59+c:x==-1&&(T=Te(T,/\f/g,"")),m>0&&Yt(T)-d&&qi(m>32?Ig(T+";",r,n,d-1):Ig(Te(T," ","")+";",r,n,d-2),l);break;case 59:T+=";";default:if(qi(A=wg(T,t,n,u,c,o,s,w,S=[],E=[],d),a),y===123)if(c===0)os(T,t,A,A,S,a,d,s,E);else switch(p===99&&Qe(T,3)===110?100:p){case 100:case 108:case 109:case 115:os(e,A,A,r&&qi(wg(e,A,A,0,0,o,s,w,o,S=[],d),E),o,E,d,s,r?S:E);break;default:os(T,A,A,A,[""],E,0,s,E)}}u=c=m=0,g=x=1,w=T="",d=i;break;case 58:d=1+Yt(T),m=h;default:if(g<1){if(y==123)--g;else if(y==125&&g++==0&&IS()==125)continue}switch(T+=Qi(y),y*g){case 38:x=c>0?1:(T+="\f",-1);break;case 44:s[u++]=(Yt(T)-1)*x,x=1;break;case 64:Ut()===45&&(T+=rs(It())),p=Ut(),c=d=Yt(w=T+=MS(ns())),y++;break;case 45:h===45&&Yt(T)==2&&(g=0)}}return a}function wg(e,t,n,r,o,a,i,s,l,u,c){for(var d=o-1,p=o===0?a:[""],m=Ac(p),h=0,g=0,b=0;h<r;++h)for(var x=0,y=ea(e,d+1,d=bS(g=i[h])),w=e;x<m;++x)(w=vg(g>0?p[x]+" "+y:Te(y,/&\f/g,p[x])))&&(l[b++]=w);return ts(e,t,n,o===0?Pc:s,l,u,c)}function TS(e,t,n){return ts(e,t,n,Ec,Qi(wS()),ea(e,2,-2),0)}function Ig(e,t,n,r){return ts(e,t,n,Sc,ea(e,0,r),ea(e,r+1,-1),r)}function Jr(e,t){for(var n="",r=Ac(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function DS(e,t,n,r){switch(e.type){case gS:if(e.children.length)break;case hS:case Sc:return e.return=e.return||e.value;case Ec:return"";case bg:return e.return=e.value+"{"+Jr(e.children,r)+"}";case Pc:e.value=e.props.join(",")}return Yt(n=Jr(e.children,r))?e.return=e.value+"{"+n+"}":""}function NS(e){var t=Ac(e);return function(n,r,o,a){for(var i="",s=0;s<t;s++)i+=e[s](n,r,o,a)||"";return i}}function $S(e){return function(t){t.root||(t=t.return)&&e(t)}}function kS(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var OS=function(t,n,r){for(var o=0,a=0;o=a,a=Ut(),o===38&&a===12&&(n[r]=1),!ra(a);)It();return na(t,pt)},FS=function(t,n){var r=-1,o=44;do switch(ra(o)){case 0:o===38&&Ut()===12&&(n[r]=1),t[r]+=OS(pt-1,n,r);break;case 2:t[r]+=rs(o);break;case 4:if(o===44){t[++r]=Ut()===58?"&\f":"",n[r]=t[r].length;break}default:t[r]+=Qi(o)}while(o=It());return t},LS=function(t,n){return Cg(FS(xg(t),n))},Eg=new WeakMap,VS=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var n=t.value,r=t.parent,o=t.column===r.column&&t.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(t.props.length===1&&n.charCodeAt(0)!==58&&!Eg.get(r))&&!o){Eg.set(t,!0);for(var a=[],i=LS(n,a),s=r.props,l=0,u=0;l<i.length;l++)for(var c=0;c<s.length;c++,u++)t.props[u]=a[l]?i[l].replace(/&\f/g,s[c]):s[c]+" "+i[l]}}},jS=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}},BS="emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason",WS=function(t){return t.type==="comm"&&t.children.indexOf(BS)>-1},_S=function(t){return function(n,r,o){if(!(n.type!=="rule"||t.compat)){var a=n.value.match(/(:first|:nth|:nth-last)-child/g);if(a){for(var i=!!n.parent,s=i?n.parent.children:o,l=s.length-1;l>=0;l--){var u=s[l];if(u.line<n.line)break;if(u.column<n.column){if(WS(u))return;break}}a.forEach(function(c){console.error('The pseudo class "'+c+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+c.split("-child")[0]+'-of-type".')})}}}},Pg=function(t){return t.type.charCodeAt(1)===105&&t.type.charCodeAt(0)===64},GS=function(t,n){for(var r=t-1;r>=0;r--)if(!Pg(n[r]))return!0;return!1},Sg=function(t){t.type="",t.value="",t.return="",t.children="",t.props=""},RS=function(t,n,r){Pg(t)&&(t.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),Sg(t)):GS(n,r)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),Sg(t)))};function Mg(e,t){switch(yS(e,t)){case 5103:return Ae+"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 Ae+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Ae+e+Ji+e+tt+e+e;case 6828:case 4268:return Ae+e+tt+e+e;case 6165:return Ae+e+tt+"flex-"+e+e;case 5187:return Ae+e+Te(e,/(\w+).+(:[^]+)/,Ae+"box-$1$2"+tt+"flex-$1$2")+e;case 5443:return Ae+e+tt+"flex-item-"+Te(e,/flex-|-self/,"")+e;case 4675:return Ae+e+tt+"flex-line-pack"+Te(e,/align-content|flex-|-self/,"")+e;case 5548:return Ae+e+tt+Te(e,"shrink","negative")+e;case 5292:return Ae+e+tt+Te(e,"basis","preferred-size")+e;case 6060:return Ae+"box-"+Te(e,"-grow","")+Ae+e+tt+Te(e,"grow","positive")+e;case 4554:return Ae+Te(e,/([^-])(transform)/g,"$1"+Ae+"$2")+e;case 6187:return Te(Te(Te(e,/(zoom-|grab)/,Ae+"$1"),/(image-set)/,Ae+"$1"),e,"")+e;case 5495:case 3959:return Te(e,/(image-set\([^]*)/,Ae+"$1$`$1");case 4968:return Te(Te(e,/(.+:)(flex-)?(.*)/,Ae+"box-pack:$3"+tt+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Ae+e+e;case 4095:case 3583:case 4068:case 2532:return Te(e,/(.+)-inline(.+)/,Ae+"$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(Yt(e)-1-t>6)switch(Qe(e,t+1)){case 109:if(Qe(e,t+4)!==45)break;case 102:return Te(e,/(.+:)(.+)-([^]+)/,"$1"+Ae+"$2-$3$1"+Ji+(Qe(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Mc(e,"stretch")?Mg(Te(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Qe(e,t+1)!==115)break;case 6444:switch(Qe(e,Yt(e)-3-(~Mc(e,"!important")&&10))){case 107:return Te(e,":",":"+Ae)+e;case 101:return Te(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ae+(Qe(e,14)===45?"inline-":"")+"box$3$1"+Ae+"$2$3$1"+tt+"$2box$3")+e}break;case 5936:switch(Qe(e,t+11)){case 114:return Ae+e+tt+Te(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Ae+e+tt+Te(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Ae+e+tt+Te(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Ae+e+tt+e+e}return e}var zS=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case Sc:t.return=Mg(t.value,t.length);break;case bg:return Jr([ta(t,{value:Te(t.value,"@","@"+Ae)})],o);case Pc:if(t.length)return CS(t.props,function(a){switch(xS(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Jr([ta(t,{props:[Te(a,/:(read-\w+)/,":"+Ji+"$1")]})],o);case"::placeholder":return Jr([ta(t,{props:[Te(a,/:(plac\w+)/,":"+Ae+"input-$1")]}),ta(t,{props:[Te(a,/:(plac\w+)/,":"+Ji+"$1")]}),ta(t,{props:[Te(a,/:(plac\w+)/,tt+"input-$1")]})],o)}return""})}},HS=[zS],XS=function(t){var n=t.key;if(process.env.NODE_ENV!=="production"&&!n)throw new Error(`You have to configure \`key\` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.
|
|
105
|
-
If multiple caches share the same key they might "fight" for each other's style elements.`);if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(g){var b=g.getAttribute("data-emotion");b.indexOf(" ")!==-1&&(document.head.appendChild(g),g.setAttribute("data-s",""))})}var o=t.stylisPlugins||HS;if(process.env.NODE_ENV!=="production"&&/[^a-z-]/.test(n))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+n+'" was passed');var a={},i,s=[];i=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(g){for(var b=g.getAttribute("data-emotion").split(" "),x=1;x<b.length;x++)a[b[x]]=!0;s.push(g)});var l,u=[VS,jS];process.env.NODE_ENV!=="production"&&u.push(_S({get compat(){return h.compat}}),RS);{var c,d=[DS,process.env.NODE_ENV!=="production"?function(g){g.root||(g.return?c.insert(g.return):g.value&&g.type!==Ec&&c.insert(g.value+"{}"))}:$S(function(g){c.insert(g)})],p=NS(u.concat(o,d)),m=function(b){return Jr(AS(b),p)};l=function(b,x,y,w){c=y,process.env.NODE_ENV!=="production"&&x.map!==void 0&&(c={insert:function(
|
|
104
|
+
`+r+"\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."),this._alreadyInsertedOrderInsensitiveRule=this._alreadyInsertedOrderInsensitiveRule||!a}if(this.isSpeedy){var i=fS(o);try{i.insertRule(r,i.cssRules.length)}catch(s){process.env.NODE_ENV!=="production"&&!/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(r)&&console.error('There was a problem inserting the following rule: "'+r+'"',s)}}else o.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){return r.parentNode&&r.parentNode.removeChild(r)}),this.tags=[],this.ctr=0,process.env.NODE_ENV!=="production"&&(this._alreadyInsertedOrderInsensitiveRule=!1)},e}(),tt="-ms-",Ji="-moz-",Ae="-webkit-",Ec="comm",Pc="rule",Sc="decl",hS="@import",bg="@keyframes",gS="@layer",bS=Math.abs,Qi=String.fromCharCode,vS=Object.assign;function yS(e,t){return Qe(e,0)^45?(((t<<2^Qe(e,0))<<2^Qe(e,1))<<2^Qe(e,2))<<2^Qe(e,3):0}function vg(e){return e.trim()}function xS(e,t){return(e=t.exec(e))?e[0]:e}function Te(e,t,n){return e.replace(t,n)}function Mc(e,t){return e.indexOf(t)}function Qe(e,t){return e.charCodeAt(t)|0}function ea(e,t,n){return e.slice(t,n)}function Yt(e){return e.length}function Ac(e){return e.length}function qi(e,t){return t.push(e),e}function CS(e,t){return e.map(t).join("")}var es=1,Ur=1,yg=0,pt=0,Ue=0,Kr="";function ts(e,t,n,r,o,a,i){return{value:e,root:t,parent:n,type:r,props:o,children:a,line:es,column:Ur,length:i,return:""}}function ta(e,t){return vS(ts("",null,null,"",null,null,0),e,{length:-e.length},t)}function wS(){return Ue}function IS(){return Ue=pt>0?Qe(Kr,--pt):0,Ur--,Ue===10&&(Ur=1,es--),Ue}function It(){return Ue=pt<yg?Qe(Kr,pt++):0,Ur++,Ue===10&&(Ur=1,es++),Ue}function Ut(){return Qe(Kr,pt)}function ns(){return pt}function na(e,t){return ea(Kr,e,t)}function ra(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 xg(e){return es=Ur=1,yg=Yt(Kr=e),pt=0,[]}function Cg(e){return Kr="",e}function rs(e){return vg(na(pt-1,Tc(e===91?e+2:e===40?e+1:e)))}function ES(e){for(;(Ue=Ut())&&Ue<33;)It();return ra(e)>2||ra(Ue)>3?"":" "}function PS(e,t){for(;--t&&It()&&!(Ue<48||Ue>102||Ue>57&&Ue<65||Ue>70&&Ue<97););return na(e,ns()+(t<6&&Ut()==32&&It()==32))}function Tc(e){for(;It();)switch(Ue){case e:return pt;case 34:case 39:e!==34&&e!==39&&Tc(Ue);break;case 40:e===41&&Tc(e);break;case 92:It();break}return pt}function SS(e,t){for(;It()&&e+Ue!==47+10;)if(e+Ue===42+42&&Ut()===47)break;return"/*"+na(t,pt-1)+"*"+Qi(e===47?e:It())}function MS(e){for(;!ra(Ut());)It();return na(e,pt)}function AS(e){return Cg(os("",null,null,null,[""],e=xg(e),0,[0],e))}function os(e,t,n,r,o,a,i,s,l){for(var u=0,c=0,d=i,p=0,m=0,h=0,g=1,b=1,x=1,y=0,w="",S=o,P=a,A=r,T=w;b;)switch(h=y,y=It()){case 40:if(h!=108&&Qe(T,d-1)==58){Mc(T+=Te(rs(y),"&","&\f"),"&\f")!=-1&&(x=-1);break}case 34:case 39:case 91:T+=rs(y);break;case 9:case 10:case 13:case 32:T+=ES(h);break;case 92:T+=PS(ns()-1,7);continue;case 47:switch(Ut()){case 42:case 47:qi(TS(SS(It(),ns()),t,n),l);break;default:T+="/"}break;case 123*g:s[u++]=Yt(T)*x;case 125*g:case 59:case 0:switch(y){case 0:case 125:b=0;case 59+c:x==-1&&(T=Te(T,/\f/g,"")),m>0&&Yt(T)-d&&qi(m>32?Ig(T+";",r,n,d-1):Ig(Te(T," ","")+";",r,n,d-2),l);break;case 59:T+=";";default:if(qi(A=wg(T,t,n,u,c,o,s,w,S=[],P=[],d),a),y===123)if(c===0)os(T,t,A,A,S,a,d,s,P);else switch(p===99&&Qe(T,3)===110?100:p){case 100:case 108:case 109:case 115:os(e,A,A,r&&qi(wg(e,A,A,0,0,o,s,w,o,S=[],d),P),o,P,d,s,r?S:P);break;default:os(T,A,A,A,[""],P,0,s,P)}}u=c=m=0,g=x=1,w=T="",d=i;break;case 58:d=1+Yt(T),m=h;default:if(g<1){if(y==123)--g;else if(y==125&&g++==0&&IS()==125)continue}switch(T+=Qi(y),y*g){case 38:x=c>0?1:(T+="\f",-1);break;case 44:s[u++]=(Yt(T)-1)*x,x=1;break;case 64:Ut()===45&&(T+=rs(It())),p=Ut(),c=d=Yt(w=T+=MS(ns())),y++;break;case 45:h===45&&Yt(T)==2&&(g=0)}}return a}function wg(e,t,n,r,o,a,i,s,l,u,c){for(var d=o-1,p=o===0?a:[""],m=Ac(p),h=0,g=0,b=0;h<r;++h)for(var x=0,y=ea(e,d+1,d=bS(g=i[h])),w=e;x<m;++x)(w=vg(g>0?p[x]+" "+y:Te(y,/&\f/g,p[x])))&&(l[b++]=w);return ts(e,t,n,o===0?Pc:s,l,u,c)}function TS(e,t,n){return ts(e,t,n,Ec,Qi(wS()),ea(e,2,-2),0)}function Ig(e,t,n,r){return ts(e,t,n,Sc,ea(e,0,r),ea(e,r+1,-1),r)}function Jr(e,t){for(var n="",r=Ac(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function DS(e,t,n,r){switch(e.type){case gS:if(e.children.length)break;case hS:case Sc:return e.return=e.return||e.value;case Ec:return"";case bg:return e.return=e.value+"{"+Jr(e.children,r)+"}";case Pc:e.value=e.props.join(",")}return Yt(n=Jr(e.children,r))?e.return=e.value+"{"+n+"}":""}function NS(e){var t=Ac(e);return function(n,r,o,a){for(var i="",s=0;s<t;s++)i+=e[s](n,r,o,a)||"";return i}}function $S(e){return function(t){t.root||(t=t.return)&&e(t)}}function kS(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var OS=function(t,n,r){for(var o=0,a=0;o=a,a=Ut(),o===38&&a===12&&(n[r]=1),!ra(a);)It();return na(t,pt)},FS=function(t,n){var r=-1,o=44;do switch(ra(o)){case 0:o===38&&Ut()===12&&(n[r]=1),t[r]+=OS(pt-1,n,r);break;case 2:t[r]+=rs(o);break;case 4:if(o===44){t[++r]=Ut()===58?"&\f":"",n[r]=t[r].length;break}default:t[r]+=Qi(o)}while(o=It());return t},LS=function(t,n){return Cg(FS(xg(t),n))},Eg=new WeakMap,VS=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var n=t.value,r=t.parent,o=t.column===r.column&&t.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(t.props.length===1&&n.charCodeAt(0)!==58&&!Eg.get(r))&&!o){Eg.set(t,!0);for(var a=[],i=LS(n,a),s=r.props,l=0,u=0;l<i.length;l++)for(var c=0;c<s.length;c++,u++)t.props[u]=a[l]?i[l].replace(/&\f/g,s[c]):s[c]+" "+i[l]}}},jS=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}},BS="emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason",WS=function(t){return t.type==="comm"&&t.children.indexOf(BS)>-1},_S=function(t){return function(n,r,o){if(!(n.type!=="rule"||t.compat)){var a=n.value.match(/(:first|:nth|:nth-last)-child/g);if(a){for(var i=!!n.parent,s=i?n.parent.children:o,l=s.length-1;l>=0;l--){var u=s[l];if(u.line<n.line)break;if(u.column<n.column){if(WS(u))return;break}}a.forEach(function(c){console.error('The pseudo class "'+c+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+c.split("-child")[0]+'-of-type".')})}}}},Pg=function(t){return t.type.charCodeAt(1)===105&&t.type.charCodeAt(0)===64},GS=function(t,n){for(var r=t-1;r>=0;r--)if(!Pg(n[r]))return!0;return!1},Sg=function(t){t.type="",t.value="",t.return="",t.children="",t.props=""},RS=function(t,n,r){Pg(t)&&(t.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),Sg(t)):GS(n,r)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),Sg(t)))};function Mg(e,t){switch(yS(e,t)){case 5103:return Ae+"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 Ae+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Ae+e+Ji+e+tt+e+e;case 6828:case 4268:return Ae+e+tt+e+e;case 6165:return Ae+e+tt+"flex-"+e+e;case 5187:return Ae+e+Te(e,/(\w+).+(:[^]+)/,Ae+"box-$1$2"+tt+"flex-$1$2")+e;case 5443:return Ae+e+tt+"flex-item-"+Te(e,/flex-|-self/,"")+e;case 4675:return Ae+e+tt+"flex-line-pack"+Te(e,/align-content|flex-|-self/,"")+e;case 5548:return Ae+e+tt+Te(e,"shrink","negative")+e;case 5292:return Ae+e+tt+Te(e,"basis","preferred-size")+e;case 6060:return Ae+"box-"+Te(e,"-grow","")+Ae+e+tt+Te(e,"grow","positive")+e;case 4554:return Ae+Te(e,/([^-])(transform)/g,"$1"+Ae+"$2")+e;case 6187:return Te(Te(Te(e,/(zoom-|grab)/,Ae+"$1"),/(image-set)/,Ae+"$1"),e,"")+e;case 5495:case 3959:return Te(e,/(image-set\([^]*)/,Ae+"$1$`$1");case 4968:return Te(Te(e,/(.+:)(flex-)?(.*)/,Ae+"box-pack:$3"+tt+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Ae+e+e;case 4095:case 3583:case 4068:case 2532:return Te(e,/(.+)-inline(.+)/,Ae+"$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(Yt(e)-1-t>6)switch(Qe(e,t+1)){case 109:if(Qe(e,t+4)!==45)break;case 102:return Te(e,/(.+:)(.+)-([^]+)/,"$1"+Ae+"$2-$3$1"+Ji+(Qe(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Mc(e,"stretch")?Mg(Te(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Qe(e,t+1)!==115)break;case 6444:switch(Qe(e,Yt(e)-3-(~Mc(e,"!important")&&10))){case 107:return Te(e,":",":"+Ae)+e;case 101:return Te(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ae+(Qe(e,14)===45?"inline-":"")+"box$3$1"+Ae+"$2$3$1"+tt+"$2box$3")+e}break;case 5936:switch(Qe(e,t+11)){case 114:return Ae+e+tt+Te(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Ae+e+tt+Te(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Ae+e+tt+Te(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Ae+e+tt+e+e}return e}var zS=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case Sc:t.return=Mg(t.value,t.length);break;case bg:return Jr([ta(t,{value:Te(t.value,"@","@"+Ae)})],o);case Pc:if(t.length)return CS(t.props,function(a){switch(xS(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Jr([ta(t,{props:[Te(a,/:(read-\w+)/,":"+Ji+"$1")]})],o);case"::placeholder":return Jr([ta(t,{props:[Te(a,/:(plac\w+)/,":"+Ae+"input-$1")]}),ta(t,{props:[Te(a,/:(plac\w+)/,":"+Ji+"$1")]}),ta(t,{props:[Te(a,/:(plac\w+)/,tt+"input-$1")]})],o)}return""})}},HS=[zS],XS=function(t){var n=t.key;if(process.env.NODE_ENV!=="production"&&!n)throw new Error(`You have to configure \`key\` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.
|
|
105
|
+
If multiple caches share the same key they might "fight" for each other's style elements.`);if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(g){var b=g.getAttribute("data-emotion");b.indexOf(" ")!==-1&&(document.head.appendChild(g),g.setAttribute("data-s",""))})}var o=t.stylisPlugins||HS;if(process.env.NODE_ENV!=="production"&&/[^a-z-]/.test(n))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+n+'" was passed');var a={},i,s=[];i=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(g){for(var b=g.getAttribute("data-emotion").split(" "),x=1;x<b.length;x++)a[b[x]]=!0;s.push(g)});var l,u=[VS,jS];process.env.NODE_ENV!=="production"&&u.push(_S({get compat(){return h.compat}}),RS);{var c,d=[DS,process.env.NODE_ENV!=="production"?function(g){g.root||(g.return?c.insert(g.return):g.value&&g.type!==Ec&&c.insert(g.value+"{}"))}:$S(function(g){c.insert(g)})],p=NS(u.concat(o,d)),m=function(b){return Jr(AS(b),p)};l=function(b,x,y,w){c=y,process.env.NODE_ENV!=="production"&&x.map!==void 0&&(c={insert:function(P){y.insert(P+x.map)}}),m(b?b+"{"+x.styles+"}":x.styles),w&&(h.inserted[x.name]=!0)}}var h={key:n,sheet:new mS({key:n,container:i,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:a,registered:{},insert:l};return h.sheet.hydrate(s),h},Dc={exports:{}},Ne={};/** @license React v16.13.1
|
|
106
106
|
* react-is.production.min.js
|
|
107
107
|
*
|
|
108
108
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
109
109
|
*
|
|
110
110
|
* This source code is licensed under the MIT license found in the
|
|
111
111
|
* LICENSE file in the root directory of this source tree.
|
|
112
|
-
*/var Ag;function ZS(){if(Ag)return Ne;Ag=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,c=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,b=e?Symbol.for("react.fundamental"):60117,x=e?Symbol.for("react.responder"):60118,y=e?Symbol.for("react.scope"):60119;function w(
|
|
112
|
+
*/var Ag;function ZS(){if(Ag)return Ne;Ag=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,c=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,b=e?Symbol.for("react.fundamental"):60117,x=e?Symbol.for("react.responder"):60118,y=e?Symbol.for("react.scope"):60119;function w(P){if(typeof P=="object"&&P!==null){var A=P.$$typeof;switch(A){case t:switch(P=P.type,P){case l:case u:case r:case a:case o:case d:return P;default:switch(P=P&&P.$$typeof,P){case s:case c:case h:case m:case i:return P;default:return A}}case n:return A}}}function S(P){return w(P)===u}return Ne.AsyncMode=l,Ne.ConcurrentMode=u,Ne.ContextConsumer=s,Ne.ContextProvider=i,Ne.Element=t,Ne.ForwardRef=c,Ne.Fragment=r,Ne.Lazy=h,Ne.Memo=m,Ne.Portal=n,Ne.Profiler=a,Ne.StrictMode=o,Ne.Suspense=d,Ne.isAsyncMode=function(P){return S(P)||w(P)===l},Ne.isConcurrentMode=S,Ne.isContextConsumer=function(P){return w(P)===s},Ne.isContextProvider=function(P){return w(P)===i},Ne.isElement=function(P){return typeof P=="object"&&P!==null&&P.$$typeof===t},Ne.isForwardRef=function(P){return w(P)===c},Ne.isFragment=function(P){return w(P)===r},Ne.isLazy=function(P){return w(P)===h},Ne.isMemo=function(P){return w(P)===m},Ne.isPortal=function(P){return w(P)===n},Ne.isProfiler=function(P){return w(P)===a},Ne.isStrictMode=function(P){return w(P)===o},Ne.isSuspense=function(P){return w(P)===d},Ne.isValidElementType=function(P){return typeof P=="string"||typeof P=="function"||P===r||P===u||P===a||P===o||P===d||P===p||typeof P=="object"&&P!==null&&(P.$$typeof===h||P.$$typeof===m||P.$$typeof===i||P.$$typeof===s||P.$$typeof===c||P.$$typeof===b||P.$$typeof===x||P.$$typeof===y||P.$$typeof===g)},Ne.typeOf=w,Ne}var $e={};/** @license React v16.13.1
|
|
113
113
|
* react-is.development.js
|
|
114
114
|
*
|
|
115
115
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
116
116
|
*
|
|
117
117
|
* This source code is licensed under the MIT license found in the
|
|
118
118
|
* LICENSE file in the root directory of this source tree.
|
|
119
|
-
*/var Tg;function YS(){return Tg||(Tg=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,c=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,b=e?Symbol.for("react.fundamental"):60117,x=e?Symbol.for("react.responder"):60118,y=e?Symbol.for("react.scope"):60119;function w(Q){return typeof Q=="string"||typeof Q=="function"||Q===r||Q===u||Q===a||Q===o||Q===d||Q===p||typeof Q=="object"&&Q!==null&&(Q.$$typeof===h||Q.$$typeof===m||Q.$$typeof===i||Q.$$typeof===s||Q.$$typeof===c||Q.$$typeof===b||Q.$$typeof===x||Q.$$typeof===y||Q.$$typeof===g)}function S(Q){if(typeof Q=="object"&&Q!==null){var Pe=Q.$$typeof;switch(Pe){case t:var ie=Q.type;switch(ie){case l:case u:case r:case a:case o:case d:return ie;default:var ne=ie&&ie.$$typeof;switch(ne){case s:case c:case h:case m:case i:return ne;default:return Pe}}case n:return Pe}}}var
|
|
119
|
+
*/var Tg;function YS(){return Tg||(Tg=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,c=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,b=e?Symbol.for("react.fundamental"):60117,x=e?Symbol.for("react.responder"):60118,y=e?Symbol.for("react.scope"):60119;function w(Q){return typeof Q=="string"||typeof Q=="function"||Q===r||Q===u||Q===a||Q===o||Q===d||Q===p||typeof Q=="object"&&Q!==null&&(Q.$$typeof===h||Q.$$typeof===m||Q.$$typeof===i||Q.$$typeof===s||Q.$$typeof===c||Q.$$typeof===b||Q.$$typeof===x||Q.$$typeof===y||Q.$$typeof===g)}function S(Q){if(typeof Q=="object"&&Q!==null){var Pe=Q.$$typeof;switch(Pe){case t:var ie=Q.type;switch(ie){case l:case u:case r:case a:case o:case d:return ie;default:var ne=ie&&ie.$$typeof;switch(ne){case s:case c:case h:case m:case i:return ne;default:return Pe}}case n:return Pe}}}var P=l,A=u,T=s,v=i,D=t,$=c,M=r,k=h,I=m,E=n,O=a,j=o,N=d,W=!1;function K(Q){return W||(W=!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.")),H(Q)||S(Q)===l}function H(Q){return S(Q)===u}function X(Q){return S(Q)===s}function B(Q){return S(Q)===i}function G(Q){return typeof Q=="object"&&Q!==null&&Q.$$typeof===t}function Y(Q){return S(Q)===c}function R(Q){return S(Q)===r}function Z(Q){return S(Q)===h}function q(Q){return S(Q)===m}function ae(Q){return S(Q)===n}function le(Q){return S(Q)===a}function pe(Q){return S(Q)===o}function be(Q){return S(Q)===d}$e.AsyncMode=P,$e.ConcurrentMode=A,$e.ContextConsumer=T,$e.ContextProvider=v,$e.Element=D,$e.ForwardRef=$,$e.Fragment=M,$e.Lazy=k,$e.Memo=I,$e.Portal=E,$e.Profiler=O,$e.StrictMode=j,$e.Suspense=N,$e.isAsyncMode=K,$e.isConcurrentMode=H,$e.isContextConsumer=X,$e.isContextProvider=B,$e.isElement=G,$e.isForwardRef=Y,$e.isFragment=R,$e.isLazy=Z,$e.isMemo=q,$e.isPortal=ae,$e.isProfiler=le,$e.isStrictMode=pe,$e.isSuspense=be,$e.isValidElementType=w,$e.typeOf=S}()),$e}process.env.NODE_ENV==="production"?Dc.exports=ZS():Dc.exports=YS();var US=Dc.exports,Dg=US,KS={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},JS={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Ng={};Ng[Dg.ForwardRef]=KS,Ng[Dg.Memo]=JS;var QS=!0;function $g(e,t,n){var r="";return n.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):r+=o+" "}),r}var Nc=function(t,n,r){var o=t.key+"-"+n.name;(r===!1||QS===!1)&&t.registered[o]===void 0&&(t.registered[o]=n.styles)},$c=function(t,n,r){Nc(t,n,r);var o=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var a=n;do t.insert(n===a?"."+o:"",a,t.sheet,!0),a=a.next;while(a!==void 0)}};function qS(e){for(var t=0,n,r=0,o=e.length;o>=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var eM={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},kg=`You have illegal escape sequence in your template literal, most likely inside content's property value.
|
|
120
120
|
Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';".
|
|
121
121
|
You can read more about this here:
|
|
122
122
|
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,tM="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",nM=/[A-Z]|^ms/g,Og=/_EMO_([^_]+?)_([^]*?)_EMO_/g,kc=function(t){return t.charCodeAt(1)===45},Fg=function(t){return t!=null&&typeof t!="boolean"},Oc=kS(function(e){return kc(e)?e:e.replace(nM,"-$&").toLowerCase()}),as=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(Og,function(r,o,a){return jt={name:o,styles:a,next:jt},o})}return eM[t]!==1&&!kc(t)&&typeof n=="number"&&n!==0?n+"px":n};if(process.env.NODE_ENV!=="production"){var rM=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,oM=["normal","none","initial","inherit","unset"],aM=as,iM=/^-ms-/,sM=/-(.)/g,Lg={};as=function(t,n){if(t==="content"&&(typeof n!="string"||oM.indexOf(n)===-1&&!rM.test(n)&&(n.charAt(0)!==n.charAt(n.length-1)||n.charAt(0)!=='"'&&n.charAt(0)!=="'")))throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+n+"\"'`");var r=aM(t,n);return r!==""&&!kc(t)&&t.indexOf("-")!==-1&&Lg[t]===void 0&&(Lg[t]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+t.replace(iM,"ms-").replace(sM,function(o,a){return a.toUpperCase()})+"?")),r}}var Vg="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function oa(e,t,n){if(n==null)return"";if(n.__emotion_styles!==void 0){if(process.env.NODE_ENV!=="production"&&n.toString()==="NO_COMPONENT_SELECTOR")throw new Error(Vg);return n}switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return jt={name:n.name,styles:n.styles,next:jt},n.name;if(n.styles!==void 0){var r=n.next;if(r!==void 0)for(;r!==void 0;)jt={name:r.name,styles:r.styles,next:jt},r=r.next;var o=n.styles+";";return process.env.NODE_ENV!=="production"&&n.map!==void 0&&(o+=n.map),o}return lM(e,t,n)}case"function":{if(e!==void 0){var a=jt,i=n(e);return jt=a,oa(e,t,i)}else process.env.NODE_ENV!=="production"&&console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");break}case"string":if(process.env.NODE_ENV!=="production"){var s=[],l=n.replace(Og,function(c,d,p){var m="animation"+s.length;return s.push("const "+m+" = keyframes`"+p.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+m+"}"});s.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(s,["`"+l+"`"]).join(`
|
|
@@ -125,7 +125,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
125
125
|
You should wrap it with \`css\` like this:
|
|
126
126
|
|
|
127
127
|
`+("css`"+l+"`"))}break}if(t==null)return n;var u=t[n];return u!==void 0?u:n}function lM(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=oa(e,t,n[o])+";";else for(var a in n){var i=n[a];if(typeof i!="object")t!=null&&t[i]!==void 0?r+=a+"{"+t[i]+"}":Fg(i)&&(r+=Oc(a)+":"+as(a,i)+";");else{if(a==="NO_COMPONENT_SELECTOR"&&process.env.NODE_ENV!=="production")throw new Error(Vg);if(Array.isArray(i)&&typeof i[0]=="string"&&(t==null||t[i[0]]===void 0))for(var s=0;s<i.length;s++)Fg(i[s])&&(r+=Oc(a)+":"+as(a,i[s])+";");else{var l=oa(e,t,i);switch(a){case"animation":case"animationName":{r+=Oc(a)+":"+l+";";break}default:process.env.NODE_ENV!=="production"&&a==="undefined"&&console.error(tM),r+=a+"{"+l+"}"}}}}return r}var jg=/label:\s*([^\s;\n{]+)\s*(;|$)/g,Bg;process.env.NODE_ENV!=="production"&&(Bg=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g);var jt,aa=function(t,n,r){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var o=!0,a="";jt=void 0;var i=t[0];i==null||i.raw===void 0?(o=!1,a+=oa(r,n,i)):(process.env.NODE_ENV!=="production"&&i[0]===void 0&&console.error(kg),a+=i[0]);for(var s=1;s<t.length;s++)a+=oa(r,n,t[s]),o&&(process.env.NODE_ENV!=="production"&&i[s]===void 0&&console.error(kg),a+=i[s]);var l;process.env.NODE_ENV!=="production"&&(a=a.replace(Bg,function(p){return l=p,""})),jg.lastIndex=0;for(var u="",c;(c=jg.exec(a))!==null;)u+="-"+c[1];var d=qS(a)+u;return process.env.NODE_ENV!=="production"?{name:d,styles:a,map:l,next:jt,toString:function(){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)."}}:{name:d,styles:a,next:jt}},uM=function(t){return t()},Wg=V["useInsertionEffect"]?V["useInsertionEffect"]:!1,_g=Wg||uM,Gg=Wg||V.useLayoutEffect,Fc={}.hasOwnProperty,Lc=V.createContext(typeof HTMLElement<"u"?XS({key:"css"}):null);process.env.NODE_ENV!=="production"&&(Lc.displayName="EmotionCacheContext"),Lc.Provider;var Vc=function(t){return f.forwardRef(function(n,r){var o=f.useContext(Lc);return t(n,o,r)})},is=V.createContext({});process.env.NODE_ENV!=="production"&&(is.displayName="EmotionThemeContext");var Rg=function(t){var n=t.split(".");return n[n.length-1]},cM=function(t){var n=/^\s+at\s+([A-Za-z0-9$.]+)\s/.exec(t);if(n||(n=/^([A-Za-z0-9$.]+)@/.exec(t),n))return Rg(n[1])},dM=new Set(["renderWithHooks","processChild","finishClassComponent","renderToString"]),fM=function(t){return t.replace(/\$/g,"-")},pM=function(t){if(t)for(var n=t.split(`
|
|
128
|
-
`),r=0;r<n.length;r++){var o=cM(n[r]);if(o){if(dM.has(o))break;if(/^[A-Z]/.test(o))return fM(o)}}},jc="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Bc="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",mM=function(t,n){if(process.env.NODE_ENV!=="production"&&typeof n.css=="string"&&n.css.indexOf(":")!==-1)throw new Error("Strings are not allowed as css prop values, please wrap it in a css template literal from '@emotion/react' like this: css`"+n.css+"`");var r={};for(var o in n)Fc.call(n,o)&&(r[o]=n[o]);if(r[jc]=t,process.env.NODE_ENV!=="production"&&n.css&&(typeof n.css!="object"||typeof n.css.name!="string"||n.css.name.indexOf("-")===-1)){var a=pM(new Error().stack);a&&(r[Bc]=a)}return r},hM=function(t){var n=t.cache,r=t.serialized,o=t.isStringTag;return Nc(n,r,o),_g(function(){return $c(n,r,o)}),null},zg=Vc(function(e,t,n){var r=e.css;typeof r=="string"&&t.registered[r]!==void 0&&(r=t.registered[r]);var o=e[jc],a=[r],i="";typeof e.className=="string"?i=$g(t.registered,a,e.className):e.className!=null&&(i=e.className+" ");var s=aa(a,void 0,V.useContext(is));if(process.env.NODE_ENV!=="production"&&s.name.indexOf("-")===-1){var l=e[Bc];l&&(s=aa([s,"label:"+l+";"]))}i+=t.key+"-"+s.name;var u={};for(var c in e)Fc.call(e,c)&&c!=="css"&&c!==jc&&(process.env.NODE_ENV==="production"||c!==Bc)&&(u[c]=e[c]);return u.ref=n,u.className=i,V.createElement(V.Fragment,null,V.createElement(hM,{cache:t,serialized:s,isStringTag:typeof o=="string"}),V.createElement(o,u))});process.env.NODE_ENV!=="production"&&(zg.displayName="EmotionCssPropInternal");var gM=zg,bM={name:"@emotion/react",version:"11.11.4",main:"dist/emotion-react.cjs.js",module:"dist/emotion-react.esm.js",browser:{"./dist/emotion-react.esm.js":"./dist/emotion-react.browser.esm.js"},exports:{".":{module:{worker:"./dist/emotion-react.worker.esm.js",browser:"./dist/emotion-react.browser.esm.js",default:"./dist/emotion-react.esm.js"},import:"./dist/emotion-react.cjs.mjs",default:"./dist/emotion-react.cjs.js"},"./jsx-runtime":{module:{worker:"./jsx-runtime/dist/emotion-react-jsx-runtime.worker.esm.js",browser:"./jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.esm.js"},import:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.mjs",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js"},"./_isolated-hnrs":{module:{worker:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.worker.esm.js",browser:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.esm.js"},import:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.mjs",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.js"},"./jsx-dev-runtime":{module:{worker:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.worker.esm.js",browser:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.js",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.esm.js"},import:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.mjs",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.js"},"./package.json":"./package.json","./types/css-prop":"./types/css-prop.d.ts","./macro":{types:{import:"./macro.d.mts",default:"./macro.d.ts"},default:"./macro.js"}},types:"types/index.d.ts",files:["src","dist","jsx-runtime","jsx-dev-runtime","_isolated-hnrs","types/*.d.ts","macro.*"],sideEffects:!1,author:"Emotion Contributors",license:"MIT",scripts:{"test:typescript":"dtslint types"},dependencies:{"@babel/runtime":"^7.18.3","@emotion/babel-plugin":"^11.11.0","@emotion/cache":"^11.11.0","@emotion/serialize":"^1.1.3","@emotion/use-insertion-effect-with-fallbacks":"^1.0.1","@emotion/utils":"^1.2.1","@emotion/weak-memoize":"^0.3.1","hoist-non-react-statics":"^3.3.1"},peerDependencies:{react:">=16.8.0"},peerDependenciesMeta:{"@types/react":{optional:!0}},devDependencies:{"@definitelytyped/dtslint":"0.0.112","@emotion/css":"11.11.2","@emotion/css-prettifier":"1.1.3","@emotion/server":"11.11.0","@emotion/styled":"11.11.0","html-tag-names":"^1.1.2",react:"16.14.0","svg-tag-names":"^1.1.1",typescript:"^4.5.5"},repository:"https://github.com/emotion-js/emotion/tree/main/packages/react",publishConfig:{access:"public"},"umd:main":"dist/emotion-react.umd.min.js",preconstruct:{entrypoints:["./index.js","./jsx-runtime.js","./jsx-dev-runtime.js","./_isolated-hnrs.js"],umdName:"emotionReact",exports:{envConditions:["browser","worker"],extra:{"./types/css-prop":"./types/css-prop.d.ts","./macro":{types:{import:"./macro.d.mts",default:"./macro.d.ts"},default:"./macro.js"}}}}},ue=function(t,n){var r=arguments;if(n==null||!Fc.call(n,"css"))return V.createElement.apply(void 0,r);var o=r.length,a=new Array(o);a[0]=gM,a[1]=mM(t,n);for(var i=2;i<o;i++)a[i]=r[i];return V.createElement.apply(null,a)},Hg=!1,vM=Vc(function(e,t){process.env.NODE_ENV!=="production"&&!Hg&&(e.className||e.css)&&(console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"),Hg=!0);var n=e.styles,r=aa([n],void 0,V.useContext(is)),o=V.useRef();return Gg(function(){var a=t.key+"-global",i=new t.sheet.constructor({key:a,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),s=!1,l=document.querySelector('style[data-emotion="'+a+" "+r.name+'"]');return t.sheet.tags.length&&(i.before=t.sheet.tags[0]),l!==null&&(s=!0,l.setAttribute("data-emotion",a),i.hydrate([l])),o.current=[i,s],function(){i.flush()}},[t]),Gg(function(){var a=o.current,i=a[0],s=a[1];if(s){a[1]=!1;return}if(r.next!==void 0&&$c(t,r.next,!0),i.tags.length){var l=i.tags[i.tags.length-1].nextElementSibling;i.before=l,i.flush()}t.insert("",r,i,!1)},[t,r.name]),null});process.env.NODE_ENV!=="production"&&(vM.displayName="EmotionGlobal");function Wc(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return aa(t)}var yM=function(){var t=Wc.apply(void 0,arguments),n="animation-"+t.name;return{name:n,styles:"@keyframes "+n+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},xM=function e(t){for(var n=t.length,r=0,o="";r<n;r++){var a=t[r];if(a!=null){var i=void 0;switch(typeof a){case"boolean":break;case"object":{if(Array.isArray(a))i=e(a);else{process.env.NODE_ENV!=="production"&&a.styles!==void 0&&a.name!==void 0&&console.error("You have passed styles created with `css` from `@emotion/react` package to the `cx`.\n`cx` is meant to compose class names (strings) so you should convert those styles to a class name by passing them to the `css` received from <ClassNames/> component."),i="";for(var s in a)a[s]&&s&&(i&&(i+=" "),i+=s)}break}default:i=a}i&&(o&&(o+=" "),o+=i)}}return o};function CM(e,t,n){var r=[],o=$g(e,r,n);return r.length<2?n:o+t(r)}var wM=function(t){var n=t.cache,r=t.serializedArr;return _g(function(){for(var o=0;o<r.length;o++)$c(n,r[o],!1)}),null},IM=Vc(function(e,t){var n=!1,r=[],o=function(){if(n&&process.env.NODE_ENV!=="production")throw new Error("css can only be used during render");for(var u=arguments.length,c=new Array(u),d=0;d<u;d++)c[d]=arguments[d];var p=aa(c,t.registered);return r.push(p),Nc(t,p,!1),t.key+"-"+p.name},a=function(){if(n&&process.env.NODE_ENV!=="production")throw new Error("cx can only be used during render");for(var u=arguments.length,c=new Array(u),d=0;d<u;d++)c[d]=arguments[d];return CM(t.registered,o,xM(c))},i={css:o,cx:a,theme:V.useContext(is)},s=e.children(i);return n=!0,V.createElement(V.Fragment,null,V.createElement(wM,{cache:t,serializedArr:r}),s)});if(process.env.NODE_ENV!=="production"&&(IM.displayName="EmotionClassNames"),process.env.NODE_ENV!=="production"){var Xg=!0,EM=typeof jest<"u"||typeof vi<"u";if(Xg&&!EM){var Zg=typeof globalThis<"u"?globalThis:Xg?window:global,Yg="__EMOTION_REACT_"+bM.version.split(".")[0]+"__";Zg[Yg]&&console.warn("You are loading @emotion/react when it is already loaded. Running multiple instances may cause problems. This can happen if multiple versions are used, or if multiple builds of the same version are used."),Zg[Yg]=!0}}function PM(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function SM(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}const MM=Math.min,AM=Math.max,ss=Math.round,ls=Math.floor,us=e=>({x:e,y:e});function Ug(e){return Jg(e)?(e.nodeName||"").toLowerCase():"#document"}function Bt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Kg(e){var t;return(t=(Jg(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Jg(e){return e instanceof Node||e instanceof Bt(e).Node}function _c(e){return e instanceof Element||e instanceof Bt(e).Element}function Gc(e){return e instanceof HTMLElement||e instanceof Bt(e).HTMLElement}function Qg(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Bt(e).ShadowRoot}function qg(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Rc(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function TM(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function DM(e){return["html","body","#document"].includes(Ug(e))}function Rc(e){return Bt(e).getComputedStyle(e)}function NM(e){if(Ug(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Qg(e)&&e.host||Kg(e);return Qg(t)?t.host:t}function eb(e){const t=NM(e);return DM(t)?e.ownerDocument?e.ownerDocument.body:e.body:Gc(t)&&qg(t)?t:eb(t)}function cs(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=eb(e),a=o===((r=e.ownerDocument)==null?void 0:r.body),i=Bt(o);return a?t.concat(i,i.visualViewport||[],qg(o)?o:[],i.frameElement&&n?cs(i.frameElement):[]):t.concat(o,cs(o,[],n))}function $M(e){const t=Rc(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Gc(e),a=o?e.offsetWidth:n,i=o?e.offsetHeight:r,s=ss(n)!==a||ss(r)!==i;return s&&(n=a,r=i),{width:n,height:r,$:s}}function zc(e){return _c(e)?e:e.contextElement}function Hc(e){const t=zc(e);if(!Gc(t))return us(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:a}=$M(t);let i=(a?ss(n.width):n.width)/r,s=(a?ss(n.height):n.height)/o;return(!i||!Number.isFinite(i))&&(i=1),(!s||!Number.isFinite(s))&&(s=1),{x:i,y:s}}const kM=us(0);function OM(e){const t=Bt(e);return!TM()||!t.visualViewport?kM:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function FM(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Bt(e)?!1:t}function tb(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),a=zc(e);let i=us(1);t&&(r?_c(r)&&(i=Hc(r)):i=Hc(e));const s=FM(a,n,r)?OM(a):us(0);let l=(o.left+s.x)/i.x,u=(o.top+s.y)/i.y,c=o.width/i.x,d=o.height/i.y;if(a){const p=Bt(a),m=r&&_c(r)?Bt(r):r;let h=p,g=h.frameElement;for(;g&&r&&m!==h;){const b=Hc(g),x=g.getBoundingClientRect(),y=Rc(g),w=x.left+(g.clientLeft+parseFloat(y.paddingLeft))*b.x,S=x.top+(g.clientTop+parseFloat(y.paddingTop))*b.y;l*=b.x,u*=b.y,c*=b.x,d*=b.y,l+=w,u+=S,h=Bt(g),g=h.frameElement}}return SM({width:c,height:d,x:l,y:u})}function LM(e,t){let n=null,r;const o=Kg(e);function a(){var s;clearTimeout(r),(s=n)==null||s.disconnect(),n=null}function i(s,l){s===void 0&&(s=!1),l===void 0&&(l=1),a();const{left:u,top:c,width:d,height:p}=e.getBoundingClientRect();if(s||t(),!d||!p)return;const m=ls(c),h=ls(o.clientWidth-(u+d)),g=ls(o.clientHeight-(c+p)),b=ls(u),y={rootMargin:-m+"px "+-h+"px "+-g+"px "+-b+"px",threshold:AM(0,MM(1,l))||1};let w=!0;function S(E){const A=E[0].intersectionRatio;if(A!==l){if(!w)return i();A?i(!1,A):r=setTimeout(()=>{i(!1,1e-7)},100)}w=!1}try{n=new IntersectionObserver(S,{...y,root:o.ownerDocument})}catch{n=new IntersectionObserver(S,y)}n.observe(e)}return i(!0),a}function VM(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,u=zc(e),c=o||a?[...u?cs(u):[],...cs(t)]:[];c.forEach(x=>{o&&x.addEventListener("scroll",n,{passive:!0}),a&&x.addEventListener("resize",n)});const d=u&&s?LM(u,n):null;let p=-1,m=null;i&&(m=new ResizeObserver(x=>{let[y]=x;y&&y.target===u&&m&&(m.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var w;(w=m)==null||w.observe(t)})),n()}),u&&!l&&m.observe(u),m.observe(t));let h,g=l?tb(e):null;l&&b();function b(){const x=tb(e);g&&(x.x!==g.x||x.y!==g.y||x.width!==g.width||x.height!==g.height)&&n(),g=x,h=requestAnimationFrame(b)}return n(),()=>{var x;c.forEach(y=>{o&&y.removeEventListener("scroll",n),a&&y.removeEventListener("resize",n)}),d==null||d(),(x=m)==null||x.disconnect(),m=null,l&&cancelAnimationFrame(h)}}var jM=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],ds=function(){};function BM(e,t){return t?t[0]==="-"?e+t:e+"__"+t:e}function WM(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var a=[].concat(r);if(t&&e)for(var i in t)t.hasOwnProperty(i)&&t[i]&&a.push("".concat(BM(e,i)));return a.filter(function(s){return s}).map(function(s){return String(s).trim()}).join(" ")}var nb=function(t){return UM(t)?t.filter(Boolean):sr(t)==="object"&&t!==null?[t]:[]},rb=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=hn(t,jM);return ce({},n)},He=function(t,n,r){var o=t.cx,a=t.getStyles,i=t.getClassNames,s=t.className;return{css:a(n,t),className:o(r??{},i(n,t),s)}};function fs(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function _M(e){return fs(e)?window.innerHeight:e.clientHeight}function ob(e){return fs(e)?window.pageYOffset:e.scrollTop}function ps(e,t){if(fs(e)){window.scrollTo(0,t);return}e.scrollTop=t}function GM(e){var t=getComputedStyle(e),n=t.position==="absolute",r=/(auto|scroll)/;if(t.position==="fixed")return document.documentElement;for(var o=e;o=o.parentElement;)if(t=getComputedStyle(o),!(n&&t.position==="static")&&r.test(t.overflow+t.overflowY+t.overflowX))return o;return document.documentElement}function RM(e,t,n,r){return n*((e=e/r-1)*e*e+1)+t}function ms(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:ds,o=ob(e),a=t-o,i=10,s=0;function l(){s+=i;var u=RM(s,o,a,n);ps(e,u),s<n?window.requestAnimationFrame(l):r(e)}l()}function ab(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),o=t.offsetHeight/3;r.bottom+o>n.bottom?ps(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+o,e.scrollHeight)):r.top-o<n.top&&ps(e,Math.max(t.offsetTop-o,0))}function zM(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 ib(){try{return document.createEvent("TouchEvent"),!0}catch{return!1}}function HM(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}var sb=!1,XM={get passive(){return sb=!0}},hs=typeof window<"u"?window:{};hs.addEventListener&&hs.removeEventListener&&(hs.addEventListener("p",ds,XM),hs.removeEventListener("p",ds,!1));var ZM=sb;function YM(e){return e!=null}function UM(e){return Array.isArray(e)}function gs(e,t,n){return e?t:n}function BD(e){return e}function WD(e){return e}var KM=function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];var a=Object.entries(t).filter(function(i){var s=mn(i,1),l=s[0];return!r.includes(l)});return a.reduce(function(i,s){var l=mn(s,2),u=l[0],c=l[1];return i[u]=c,i},{})},JM=["children","innerProps"],QM=["children","innerProps"];function qM(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,o=e.placement,a=e.shouldScroll,i=e.isFixedPosition,s=e.controlHeight,l=GM(n),u={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return u;var c=l.getBoundingClientRect(),d=c.height,p=n.getBoundingClientRect(),m=p.bottom,h=p.height,g=p.top,b=n.offsetParent.getBoundingClientRect(),x=b.top,y=i?window.innerHeight:_M(l),w=ob(l),S=parseInt(getComputedStyle(n).marginBottom,10),E=parseInt(getComputedStyle(n).marginTop,10),A=x-E,T=y-g,v=A+w,D=d-w-g,$=m-y+w+S,M=w+g-E,k=160;switch(o){case"auto":case"bottom":if(T>=h)return{placement:"bottom",maxHeight:t};if(D>=h&&!i)return a&&ms(l,$,k),{placement:"bottom",maxHeight:t};if(!i&&D>=r||i&&T>=r){a&&ms(l,$,k);var I=i?T-S:D-S;return{placement:"bottom",maxHeight:I}}if(o==="auto"||i){var P=t,O=i?A:v;return O>=r&&(P=Math.min(O-S-s,t)),{placement:"top",maxHeight:P}}if(o==="bottom")return a&&ps(l,$),{placement:"bottom",maxHeight:t};break;case"top":if(A>=h)return{placement:"top",maxHeight:t};if(v>=h&&!i)return a&&ms(l,M,k),{placement:"top",maxHeight:t};if(!i&&v>=r||i&&A>=r){var j=t;return(!i&&v>=r||i&&A>=r)&&(j=i?A-E:v-E),a&&ms(l,M,k),{placement:"top",maxHeight:j}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(o,'".'))}return u}function eA(e){var t={bottom:"top",top:"bottom"};return e?t[e]:"bottom"}var lb=function(t){return t==="auto"?"bottom":t},tA=function(t,n){var r,o=t.placement,a=t.theme,i=a.borderRadius,s=a.spacing,l=a.colors;return ce((r={label:"menu"},qo(r,eA(o),"100%"),qo(r,"position","absolute"),qo(r,"width","100%"),qo(r,"zIndex",1),r),n?{}:{backgroundColor:l.neutral0,borderRadius:i,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:s.menuGutter,marginTop:s.menuGutter})},ub=f.createContext(null),nA=function(t){var n=t.children,r=t.minMenuHeight,o=t.maxMenuHeight,a=t.menuPlacement,i=t.menuPosition,s=t.menuShouldScrollIntoView,l=t.theme,u=f.useContext(ub)||{},c=u.setPortalPlacement,d=f.useRef(null),p=f.useState(o),m=mn(p,2),h=m[0],g=m[1],b=f.useState(null),x=mn(b,2),y=x[0],w=x[1],S=l.spacing.controlHeight;return uu(function(){var E=d.current;if(E){var A=i==="fixed",T=s&&!A,v=qM({maxHeight:o,menuEl:E,minHeight:r,placement:a,shouldScroll:T,isFixedPosition:A,controlHeight:S});g(v.maxHeight),w(v.placement),c==null||c(v.placement)}},[o,a,i,s,r,c,S]),n({ref:d,placerProps:ce(ce({},t),{},{placement:y||lb(a),maxHeight:h})})},rA=function(t){var n=t.children,r=t.innerRef,o=t.innerProps;return ue("div",de({},He(t,"menu",{menu:!0}),{ref:r},o),n)},oA=rA,aA=function(t,n){var r=t.maxHeight,o=t.theme.spacing.baseUnit;return ce({maxHeight:r,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},n?{}:{paddingBottom:o,paddingTop:o})},iA=function(t){var n=t.children,r=t.innerProps,o=t.innerRef,a=t.isMulti;return ue("div",de({},He(t,"menuList",{"menu-list":!0,"menu-list--is-multi":a}),{ref:o},r),n)},cb=function(t,n){var r=t.theme,o=r.spacing.baseUnit,a=r.colors;return ce({textAlign:"center"},n?{}:{color:a.neutral40,padding:"".concat(o*2,"px ").concat(o*3,"px")})},sA=cb,lA=cb,uA=function(t){var n=t.children,r=n===void 0?"No options":n,o=t.innerProps,a=hn(t,JM);return ue("div",de({},He(ce(ce({},a),{},{children:r,innerProps:o}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),o),r)},cA=function(t){var n=t.children,r=n===void 0?"Loading...":n,o=t.innerProps,a=hn(t,QM);return ue("div",de({},He(ce(ce({},a),{},{children:r,innerProps:o}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),o),r)},dA=function(t){var n=t.rect,r=t.offset,o=t.position;return{left:n.left,position:o,top:r,width:n.width,zIndex:1}},fA=function(t){var n=t.appendTo,r=t.children,o=t.controlElement,a=t.innerProps,i=t.menuPlacement,s=t.menuPosition,l=f.useRef(null),u=f.useRef(null),c=f.useState(lb(i)),d=mn(c,2),p=d[0],m=d[1],h=f.useMemo(function(){return{setPortalPlacement:m}},[]),g=f.useState(null),b=mn(g,2),x=b[0],y=b[1],w=f.useCallback(function(){if(o){var T=zM(o),v=s==="fixed"?0:window.pageYOffset,D=T[p]+v;(D!==(x==null?void 0:x.offset)||T.left!==(x==null?void 0:x.rect.left)||T.width!==(x==null?void 0:x.rect.width))&&y({offset:D,rect:T})}},[o,s,p,x==null?void 0:x.offset,x==null?void 0:x.rect.left,x==null?void 0:x.rect.width]);uu(function(){w()},[w]);var S=f.useCallback(function(){typeof u.current=="function"&&(u.current(),u.current=null),o&&l.current&&(u.current=VM(o,l.current,w,{elementResize:"ResizeObserver"in window}))},[o,w]);uu(function(){S()},[S]);var E=f.useCallback(function(T){l.current=T,S()},[S]);if(!n&&s!=="fixed"||!x)return null;var A=ue("div",de({ref:E},He(ce(ce({},t),{},{offset:x.offset,position:s,rect:x.rect}),"menuPortal",{"menu-portal":!0}),a),r);return ue(ub.Provider,{value:h},n?mr.createPortal(A,n):A)},pA=function(t){var n=t.isDisabled,r=t.isRtl;return{label:"container",direction:r?"rtl":void 0,pointerEvents:n?"none":void 0,position:"relative"}},mA=function(t){var n=t.children,r=t.innerProps,o=t.isDisabled,a=t.isRtl;return ue("div",de({},He(t,"container",{"--is-disabled":o,"--is-rtl":a}),r),n)},hA=function(t,n){var r=t.theme.spacing,o=t.isMulti,a=t.hasValue,i=t.selectProps.controlShouldRenderValue;return ce({alignItems:"center",display:o&&a&&i?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},n?{}:{padding:"".concat(r.baseUnit/2,"px ").concat(r.baseUnit*2,"px")})},gA=function(t){var n=t.children,r=t.innerProps,o=t.isMulti,a=t.hasValue;return ue("div",de({},He(t,"valueContainer",{"value-container":!0,"value-container--is-multi":o,"value-container--has-value":a}),r),n)},bA=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},vA=function(t){var n=t.children,r=t.innerProps;return ue("div",de({},He(t,"indicatorsContainer",{indicators:!0}),r),n)},db,yA=["size"],xA=["innerProps","isRtl","size"];function CA(){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 wA=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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lLFxuICBDU1NPYmplY3RXaXRoTGFiZWwsXG4gIEdyb3VwQmFzZSxcbn0gZnJvbSAnLi4vdHlwZXMnO1xuaW1wb3J0IHsgZ2V0U3R5bGVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBEcm9wZG93biAmIENsZWFyIEljb25zXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuY29uc3QgU3ZnID0gKHtcbiAgc2l6ZSxcbiAgLi4ucHJvcHNcbn06IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU6IG51bWJlciB9KSA9PiAoXG4gIDxzdmdcbiAgICBoZWlnaHQ9e3NpemV9XG4gICAgd2lkdGg9e3NpemV9XG4gICAgdmlld0JveD1cIjAgMCAyMCAyMFwiXG4gICAgYXJpYS1oaWRkZW49XCJ0cnVlXCJcbiAgICBmb2N1c2FibGU9XCJmYWxzZVwiXG4gICAgY3NzPXt7XG4gICAgICBkaXNwbGF5OiAnaW5saW5lLWJsb2NrJyxcbiAgICAgIGZpbGw6ICdjdXJyZW50Q29sb3InLFxuICAgICAgbGluZUhlaWdodDogMSxcbiAgICAgIHN0cm9rZTogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBzdHJva2VXaWR0aDogMCxcbiAgICB9fVxuICAgIHsuLi5wcm9wc31cbiAgLz5cbik7XG5cbmV4cG9ydCB0eXBlIENyb3NzSWNvblByb3BzID0gSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZT86IG51bWJlciB9O1xuZXhwb3J0IGNvbnN0IENyb3NzSWNvbiA9IChwcm9wczogQ3Jvc3NJY29uUHJvcHMpID0+IChcbiAgPFN2ZyBzaXplPXsyMH0gey4uLnByb3BzfT5cbiAgICA8cGF0aCBkPVwiTTE0LjM0OCAxNC44NDljLTAuNDY5IDAuNDY5LTEuMjI5IDAuNDY5LTEuNjk3IDBsLTIuNjUxLTMuMDMwLTIuNjUxIDMuMDI5Yy0wLjQ2OSAwLjQ2OS0xLjIyOSAwLjQ2OS0xLjY5NyAwLTAuNDY5LTAuNDY5LTAuNDY5LTEuMjI5IDAtMS42OTdsMi43NTgtMy4xNS0yLjc1OS0zLjE1MmMtMC40NjktMC40NjktMC40NjktMS4yMjggMC0xLjY5N3MxLjIyOC0wLjQ2OSAxLjY5NyAwbDIuNjUyIDMuMDMxIDIuNjUxLTMuMDMxYzAuNDY5LTAuNDY5IDEuMjI4LTAuNDY5IDEuNjk3IDBzMC40NjkgMS4yMjkgMCAxLjY5N2wtMi43NTggMy4xNTIgMi43NTggMy4xNWMwLjQ2OSAwLjQ2OSAwLjQ2OSAxLjIyOSAwIDEuNjk4elwiIC8+XG4gIDwvU3ZnPlxuKTtcbmV4cG9ydCB0eXBlIERvd25DaGV2cm9uUHJvcHMgPSBKU1guSW50cmluc2ljRWxlbWVudHNbJ3N2ZyddICYgeyBzaXplPzogbnVtYmVyIH07XG5leHBvcnQgY29uc3QgRG93bkNoZXZyb24gPSAocHJvcHM6IERvd25DaGV2cm9uUHJvcHMpID0+IChcbiAgPFN2ZyBzaXplPXsyMH0gey4uLnByb3BzfT5cbiAgICA8cGF0aCBkPVwiTTQuNTE2IDcuNTQ4YzAuNDM2LTAuNDQ2IDEuMDQzLTAuNDgxIDEuNTc2IDBsMy45MDggMy43NDcgMy45MDgtMy43NDdjMC41MzMtMC40ODEgMS4xNDEtMC40NDYgMS41NzQgMCAwLjQzNiAwLjQ0NSAwLjQwOCAxLjE5NyAwIDEuNjE1LTAuNDA2IDAuNDE4LTQuNjk1IDQuNTAyLTQuNjk1IDQuNTAyLTAuMjE3IDAuMjIzLTAuNTAyIDAuMzM1LTAuNzg3IDAuMzM1cy0wLjU3LTAuMTEyLTAuNzg5LTAuMzM1YzAgMC00LjI4Ny00LjA4NC00LjY5NS00LjUwMnMtMC40MzYtMS4xNyAwLTEuNjE1elwiIC8+XG4gIDwvU3ZnPlxuKTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBEcm9wZG93biAmIENsZWFyIEJ1dHRvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5leHBvcnQgaW50ZXJmYWNlIERyb3Bkb3duSW5kaWNhdG9yUHJvcHM8XG4gIE9wdGlvbiA9IHVua25vd24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuID0gYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPiA9IEdyb3VwQmFzZTxPcHRpb24+XG4+IGV4dGVuZHMgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWU8T3B0aW9uLCBJc011bHRpLCBHcm91cD4ge1xuICAvKiogVGhlIGNoaWxkcmVuIHRvIGJlIHJlbmRlcmVkIGluc2lkZSB0aGUgaW5kaWNhdG9yLiAqL1xuICBjaGlsZHJlbj86IFJlYWN0Tm9kZTtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpc0Rpc2FibGVkOiBib29sZWFuO1xufVxuXG5jb25zdCBiYXNlQ1NTID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICB7XG4gICAgaXNGb2N1c2VkLFxuICAgIHRoZW1lOiB7XG4gICAgICBzcGFjaW5nOiB7IGJhc2VVbml0IH0sXG4gICAgICBjb2xvcnMsXG4gICAgfSxcbiAgfTpcbiAgICB8IERyb3Bkb3duSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbiAgICB8IENsZWFySW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdpbmRpY2F0b3JDb250YWluZXInLFxuICBkaXNwbGF5OiAnZmxleCcsXG4gIHRyYW5zaXRpb246ICdjb2xvciAxNTBtcycsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsNjAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBwYWRkaW5nOiBiYXNlVW5pdCAqIDIsXG4gICAgICAgICc6aG92ZXInOiB7XG4gICAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsODAgOiBjb2xvcnMubmV1dHJhbDQwLFxuICAgICAgICB9LFxuICAgICAgfSksXG59KTtcblxuZXhwb3J0IGNvbnN0IGRyb3Bkb3duSW5kaWNhdG9yQ1NTID0gYmFzZUNTUztcbmV4cG9ydCBjb25zdCBEcm9wZG93bkluZGljYXRvciA9IDxcbiAgT3B0aW9uLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPlxuPihcbiAgcHJvcHM6IERyb3Bkb3duSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGNoaWxkcmVuLCBpbm5lclByb3BzIH0gPSBwcm9wcztcbiAgcmV0dXJuIChcbiAgICA8ZGl2XG4gICAgICB7Li4uZ2V0U3R5bGVQcm9wcyhwcm9wcywgJ2Ryb3Bkb3duSW5kaWNhdG9yJywge1xuICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICdkcm9wZG93bi1pbmRpY2F0b3InOiB0cnVlLFxuICAgICAgfSl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICB7Y2hpbGRyZW4gfHwgPERvd25DaGV2cm9uIC8+fVxuICAgIDwvZGl2PlxuICApO1xufTtcblxuZXhwb3J0IGludGVyZmFjZSBDbGVhckluZGljYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgLyoqIFRoZSBjaGlsZHJlbiB0byBiZSByZW5kZXJlZCBpbnNpZGUgdGhlIGluZGljYXRvci4gKi9cbiAgY2hpbGRyZW4/OiBSZWFjdE5vZGU7XG4gIC8qKiBQcm9wcyB0aGF0IHdpbGwgYmUgcGFzc2VkIG9uIHRvIHRoZSBjaGlsZHJlbi4gKi9cbiAgaW5uZXJQcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydkaXYnXTtcbiAgLyoqIFRoZSBmb2N1c2VkIHN0YXRlIG9mIHRoZSBzZWxlY3QuICovXG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbn1cblxuZXhwb3J0IGNvbnN0IGNsZWFySW5kaWNhdG9yQ1NTID0gYmFzZUNTUztcbmV4cG9ydCBjb25zdCBDbGVhckluZGljYXRvciA9IDxcbiAgT3B0aW9uLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPlxuPihcbiAgcHJvcHM6IENsZWFySW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGNoaWxkcmVuLCBpbm5lclByb3BzIH0gPSBwcm9wcztcbiAgcmV0dXJuIChcbiAgICA8ZGl2XG4gICAgICB7Li4uZ2V0U3R5bGVQcm9wcyhwcm9wcywgJ2NsZWFySW5kaWNhdG9yJywge1xuICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICdjbGVhci1pbmRpY2F0b3InOiB0cnVlLFxuICAgICAgfSl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICB7Y2hpbGRyZW4gfHwgPENyb3NzSWNvbiAvPn1cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG5cbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuLy8gU2VwYXJhdG9yXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuZXhwb3J0IGludGVyZmFjZSBJbmRpY2F0b3JTZXBhcmF0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIGlzRGlzYWJsZWQ6IGJvb2xlYW47XG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbiAgaW5uZXJQcm9wcz86IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3BhbiddO1xufVxuXG5leHBvcnQgY29uc3QgaW5kaWNhdG9yU2VwYXJhdG9yQ1NTID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICB7XG4gICAgaXNEaXNhYmxlZCxcbiAgICB0aGVtZToge1xuICAgICAgc3BhY2luZzogeyBiYXNlVW5pdCB9LFxuICAgICAgY29sb3JzLFxuICAgIH0sXG4gIH06IEluZGljYXRvclNlcGFyYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+LFxuICB1bnN0eWxlZDogYm9vbGVhblxuKTogQ1NTT2JqZWN0V2l0aExhYmVsID0+ICh7XG4gIGxhYmVsOiAnaW5kaWNhdG9yU2VwYXJhdG9yJyxcbiAgYWxpZ25TZWxmOiAnc3RyZXRjaCcsXG4gIHdpZHRoOiAxLFxuICAuLi4odW5zdHlsZWRcbiAgICA/IHt9XG4gICAgOiB7XG4gICAgICAgIGJhY2tncm91bmRDb2xvcjogaXNEaXNhYmxlZCA/IGNvbG9ycy5uZXV0cmFsMTAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBtYXJnaW5Cb3R0b206IGJhc2VVbml0ICogMixcbiAgICAgICAgbWFyZ2luVG9wOiBiYXNlVW5pdCAqIDIsXG4gICAgICB9KSxcbn0pO1xuXG5leHBvcnQgY29uc3QgSW5kaWNhdG9yU2VwYXJhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogSW5kaWNhdG9yU2VwYXJhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxzcGFuXG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnaW5kaWNhdG9yU2VwYXJhdG9yJywge1xuICAgICAgICAnaW5kaWNhdG9yLXNlcGFyYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAvPlxuICApO1xufTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBMb2FkaW5nXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuY29uc3QgbG9hZGluZ0RvdEFuaW1hdGlvbnMgPSBrZXlmcmFtZXNgXG4gIDAlLCA4MCUsIDEwMCUgeyBvcGFjaXR5OiAwOyB9XG4gIDQwJSB7IG9wYWNpdHk6IDE7IH1cbmA7XG5cbmV4cG9ydCBjb25zdCBsb2FkaW5nSW5kaWNhdG9yQ1NTID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICB7XG4gICAgaXNGb2N1c2VkLFxuICAgIHNpemUsXG4gICAgdGhlbWU6IHtcbiAgICAgIGNvbG9ycyxcbiAgICAgIHNwYWNpbmc6IHsgYmFzZVVuaXQgfSxcbiAgICB9LFxuICB9OiBMb2FkaW5nSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdsb2FkaW5nSW5kaWNhdG9yJyxcbiAgZGlzcGxheTogJ2ZsZXgnLFxuICB0cmFuc2l0aW9uOiAnY29sb3IgMTUwbXMnLFxuICBhbGlnblNlbGY6ICdjZW50ZXInLFxuICBmb250U2l6ZTogc2l6ZSxcbiAgbGluZUhlaWdodDogMSxcbiAgbWFyZ2luUmlnaHQ6IHNpemUsXG4gIHRleHRBbGlnbjogJ2NlbnRlcicsXG4gIHZlcnRpY2FsQWxpZ246ICdtaWRkbGUnLFxuICAuLi4odW5zdHlsZWRcbiAgICA/IHt9XG4gICAgOiB7XG4gICAgICAgIGNvbG9yOiBpc0ZvY3VzZWQgPyBjb2xvcnMubmV1dHJhbDYwIDogY29sb3JzLm5ldXRyYWwyMCxcbiAgICAgICAgcGFkZGluZzogYmFzZVVuaXQgKiAyLFxuICAgICAgfSksXG59KTtcblxuaW50ZXJmYWNlIExvYWRpbmdEb3RQcm9wcyB7XG4gIGRlbGF5OiBudW1iZXI7XG4gIG9mZnNldDogYm9vbGVhbjtcbn1cbmNvbnN0IExvYWRpbmdEb3QgPSAoeyBkZWxheSwgb2Zmc2V0IH06IExvYWRpbmdEb3RQcm9wcykgPT4gKFxuICA8c3BhblxuICAgIGNzcz17e1xuICAgICAgYW5pbWF0aW9uOiBgJHtsb2FkaW5nRG90QW5pbWF0aW9uc30gMXMgZWFzZS1pbi1vdXQgJHtkZWxheX1tcyBpbmZpbml0ZTtgLFxuICAgICAgYmFja2dyb3VuZENvbG9yOiAnY3VycmVudENvbG9yJyxcbiAgICAgIGJvcmRlclJhZGl1czogJzFlbScsXG4gICAgICBkaXNwbGF5OiAnaW5saW5lLWJsb2NrJyxcbiAgICAgIG1hcmdpbkxlZnQ6IG9mZnNldCA/ICcxZW0nIDogdW5kZWZpbmVkLFxuICAgICAgaGVpZ2h0OiAnMWVtJyxcbiAgICAgIHZlcnRpY2FsQWxpZ246ICd0b3AnLFxuICAgICAgd2lkdGg6ICcxZW0nLFxuICAgIH19XG4gIC8+XG4pO1xuXG5leHBvcnQgaW50ZXJmYWNlIExvYWRpbmdJbmRpY2F0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIC8qKiBQcm9wcyB0aGF0IHdpbGwgYmUgcGFzc2VkIG9uIHRvIHRoZSBjaGlsZHJlbi4gKi9cbiAgaW5uZXJQcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydkaXYnXTtcbiAgLyoqIFRoZSBmb2N1c2VkIHN0YXRlIG9mIHRoZSBzZWxlY3QuICovXG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbiAgaXNEaXNhYmxlZDogYm9vbGVhbjtcbiAgLyoqIFNldCBzaXplIG9mIHRoZSBjb250YWluZXIuICovXG4gIHNpemU6IG51bWJlcjtcbn1cbmV4cG9ydCBjb25zdCBMb2FkaW5nSW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KHtcbiAgaW5uZXJQcm9wcyxcbiAgaXNSdGwsXG4gIHNpemUgPSA0LFxuICAuLi5yZXN0UHJvcHNcbn06IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPikgPT4ge1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKFxuICAgICAgICB7IC4uLnJlc3RQcm9wcywgaW5uZXJQcm9wcywgaXNSdGwsIHNpemUgfSxcbiAgICAgICAgJ2xvYWRpbmdJbmRpY2F0b3InLFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdsb2FkaW5nLWluZGljYXRvcic6IHRydWUsXG4gICAgICAgIH1cbiAgICAgICl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MH0gb2Zmc2V0PXtpc1J0bH0gLz5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXsxNjB9IG9mZnNldCAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezMyMH0gb2Zmc2V0PXshaXNSdGx9IC8+XG4gICAgPC9kaXY+XG4gICk7XG59O1xuIl19 */",toString:CA},fb=function(t){var n=t.size,r=hn(t,yA);return ue("svg",de({height:n,width:n,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:wA},r))},Xc=function(t){return ue(fb,de({size:20},t),ue("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"}))},pb=function(t){return ue(fb,de({size:20},t),ue("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"}))},mb=function(t,n){var r=t.isFocused,o=t.theme,a=o.spacing.baseUnit,i=o.colors;return ce({label:"indicatorContainer",display:"flex",transition:"color 150ms"},n?{}:{color:r?i.neutral60:i.neutral20,padding:a*2,":hover":{color:r?i.neutral80:i.neutral40}})},IA=mb,EA=function(t){var n=t.children,r=t.innerProps;return ue("div",de({},He(t,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),r),n||ue(pb,null))},PA=mb,SA=function(t){var n=t.children,r=t.innerProps;return ue("div",de({},He(t,"clearIndicator",{indicator:!0,"clear-indicator":!0}),r),n||ue(Xc,null))},MA=function(t,n){var r=t.isDisabled,o=t.theme,a=o.spacing.baseUnit,i=o.colors;return ce({label:"indicatorSeparator",alignSelf:"stretch",width:1},n?{}:{backgroundColor:r?i.neutral10:i.neutral20,marginBottom:a*2,marginTop:a*2})},AA=function(t){var n=t.innerProps;return ue("span",de({},n,He(t,"indicatorSeparator",{"indicator-separator":!0})))},TA=yM(db||(db=PM([`
|
|
128
|
+
`),r=0;r<n.length;r++){var o=cM(n[r]);if(o){if(dM.has(o))break;if(/^[A-Z]/.test(o))return fM(o)}}},jc="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Bc="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",mM=function(t,n){if(process.env.NODE_ENV!=="production"&&typeof n.css=="string"&&n.css.indexOf(":")!==-1)throw new Error("Strings are not allowed as css prop values, please wrap it in a css template literal from '@emotion/react' like this: css`"+n.css+"`");var r={};for(var o in n)Fc.call(n,o)&&(r[o]=n[o]);if(r[jc]=t,process.env.NODE_ENV!=="production"&&n.css&&(typeof n.css!="object"||typeof n.css.name!="string"||n.css.name.indexOf("-")===-1)){var a=pM(new Error().stack);a&&(r[Bc]=a)}return r},hM=function(t){var n=t.cache,r=t.serialized,o=t.isStringTag;return Nc(n,r,o),_g(function(){return $c(n,r,o)}),null},zg=Vc(function(e,t,n){var r=e.css;typeof r=="string"&&t.registered[r]!==void 0&&(r=t.registered[r]);var o=e[jc],a=[r],i="";typeof e.className=="string"?i=$g(t.registered,a,e.className):e.className!=null&&(i=e.className+" ");var s=aa(a,void 0,V.useContext(is));if(process.env.NODE_ENV!=="production"&&s.name.indexOf("-")===-1){var l=e[Bc];l&&(s=aa([s,"label:"+l+";"]))}i+=t.key+"-"+s.name;var u={};for(var c in e)Fc.call(e,c)&&c!=="css"&&c!==jc&&(process.env.NODE_ENV==="production"||c!==Bc)&&(u[c]=e[c]);return u.ref=n,u.className=i,V.createElement(V.Fragment,null,V.createElement(hM,{cache:t,serialized:s,isStringTag:typeof o=="string"}),V.createElement(o,u))});process.env.NODE_ENV!=="production"&&(zg.displayName="EmotionCssPropInternal");var gM=zg,bM={name:"@emotion/react",version:"11.11.4",main:"dist/emotion-react.cjs.js",module:"dist/emotion-react.esm.js",browser:{"./dist/emotion-react.esm.js":"./dist/emotion-react.browser.esm.js"},exports:{".":{module:{worker:"./dist/emotion-react.worker.esm.js",browser:"./dist/emotion-react.browser.esm.js",default:"./dist/emotion-react.esm.js"},import:"./dist/emotion-react.cjs.mjs",default:"./dist/emotion-react.cjs.js"},"./jsx-runtime":{module:{worker:"./jsx-runtime/dist/emotion-react-jsx-runtime.worker.esm.js",browser:"./jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.esm.js"},import:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.mjs",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js"},"./_isolated-hnrs":{module:{worker:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.worker.esm.js",browser:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.esm.js"},import:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.mjs",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.js"},"./jsx-dev-runtime":{module:{worker:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.worker.esm.js",browser:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.js",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.esm.js"},import:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.mjs",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.js"},"./package.json":"./package.json","./types/css-prop":"./types/css-prop.d.ts","./macro":{types:{import:"./macro.d.mts",default:"./macro.d.ts"},default:"./macro.js"}},types:"types/index.d.ts",files:["src","dist","jsx-runtime","jsx-dev-runtime","_isolated-hnrs","types/*.d.ts","macro.*"],sideEffects:!1,author:"Emotion Contributors",license:"MIT",scripts:{"test:typescript":"dtslint types"},dependencies:{"@babel/runtime":"^7.18.3","@emotion/babel-plugin":"^11.11.0","@emotion/cache":"^11.11.0","@emotion/serialize":"^1.1.3","@emotion/use-insertion-effect-with-fallbacks":"^1.0.1","@emotion/utils":"^1.2.1","@emotion/weak-memoize":"^0.3.1","hoist-non-react-statics":"^3.3.1"},peerDependencies:{react:">=16.8.0"},peerDependenciesMeta:{"@types/react":{optional:!0}},devDependencies:{"@definitelytyped/dtslint":"0.0.112","@emotion/css":"11.11.2","@emotion/css-prettifier":"1.1.3","@emotion/server":"11.11.0","@emotion/styled":"11.11.0","html-tag-names":"^1.1.2",react:"16.14.0","svg-tag-names":"^1.1.1",typescript:"^4.5.5"},repository:"https://github.com/emotion-js/emotion/tree/main/packages/react",publishConfig:{access:"public"},"umd:main":"dist/emotion-react.umd.min.js",preconstruct:{entrypoints:["./index.js","./jsx-runtime.js","./jsx-dev-runtime.js","./_isolated-hnrs.js"],umdName:"emotionReact",exports:{envConditions:["browser","worker"],extra:{"./types/css-prop":"./types/css-prop.d.ts","./macro":{types:{import:"./macro.d.mts",default:"./macro.d.ts"},default:"./macro.js"}}}}},ue=function(t,n){var r=arguments;if(n==null||!Fc.call(n,"css"))return V.createElement.apply(void 0,r);var o=r.length,a=new Array(o);a[0]=gM,a[1]=mM(t,n);for(var i=2;i<o;i++)a[i]=r[i];return V.createElement.apply(null,a)},Hg=!1,vM=Vc(function(e,t){process.env.NODE_ENV!=="production"&&!Hg&&(e.className||e.css)&&(console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"),Hg=!0);var n=e.styles,r=aa([n],void 0,V.useContext(is)),o=V.useRef();return Gg(function(){var a=t.key+"-global",i=new t.sheet.constructor({key:a,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),s=!1,l=document.querySelector('style[data-emotion="'+a+" "+r.name+'"]');return t.sheet.tags.length&&(i.before=t.sheet.tags[0]),l!==null&&(s=!0,l.setAttribute("data-emotion",a),i.hydrate([l])),o.current=[i,s],function(){i.flush()}},[t]),Gg(function(){var a=o.current,i=a[0],s=a[1];if(s){a[1]=!1;return}if(r.next!==void 0&&$c(t,r.next,!0),i.tags.length){var l=i.tags[i.tags.length-1].nextElementSibling;i.before=l,i.flush()}t.insert("",r,i,!1)},[t,r.name]),null});process.env.NODE_ENV!=="production"&&(vM.displayName="EmotionGlobal");function Wc(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return aa(t)}var yM=function(){var t=Wc.apply(void 0,arguments),n="animation-"+t.name;return{name:n,styles:"@keyframes "+n+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},xM=function e(t){for(var n=t.length,r=0,o="";r<n;r++){var a=t[r];if(a!=null){var i=void 0;switch(typeof a){case"boolean":break;case"object":{if(Array.isArray(a))i=e(a);else{process.env.NODE_ENV!=="production"&&a.styles!==void 0&&a.name!==void 0&&console.error("You have passed styles created with `css` from `@emotion/react` package to the `cx`.\n`cx` is meant to compose class names (strings) so you should convert those styles to a class name by passing them to the `css` received from <ClassNames/> component."),i="";for(var s in a)a[s]&&s&&(i&&(i+=" "),i+=s)}break}default:i=a}i&&(o&&(o+=" "),o+=i)}}return o};function CM(e,t,n){var r=[],o=$g(e,r,n);return r.length<2?n:o+t(r)}var wM=function(t){var n=t.cache,r=t.serializedArr;return _g(function(){for(var o=0;o<r.length;o++)$c(n,r[o],!1)}),null},IM=Vc(function(e,t){var n=!1,r=[],o=function(){if(n&&process.env.NODE_ENV!=="production")throw new Error("css can only be used during render");for(var u=arguments.length,c=new Array(u),d=0;d<u;d++)c[d]=arguments[d];var p=aa(c,t.registered);return r.push(p),Nc(t,p,!1),t.key+"-"+p.name},a=function(){if(n&&process.env.NODE_ENV!=="production")throw new Error("cx can only be used during render");for(var u=arguments.length,c=new Array(u),d=0;d<u;d++)c[d]=arguments[d];return CM(t.registered,o,xM(c))},i={css:o,cx:a,theme:V.useContext(is)},s=e.children(i);return n=!0,V.createElement(V.Fragment,null,V.createElement(wM,{cache:t,serializedArr:r}),s)});if(process.env.NODE_ENV!=="production"&&(IM.displayName="EmotionClassNames"),process.env.NODE_ENV!=="production"){var Xg=!0,EM=typeof jest<"u"||typeof vi<"u";if(Xg&&!EM){var Zg=typeof globalThis<"u"?globalThis:Xg?window:global,Yg="__EMOTION_REACT_"+bM.version.split(".")[0]+"__";Zg[Yg]&&console.warn("You are loading @emotion/react when it is already loaded. Running multiple instances may cause problems. This can happen if multiple versions are used, or if multiple builds of the same version are used."),Zg[Yg]=!0}}function PM(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function SM(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}const MM=Math.min,AM=Math.max,ss=Math.round,ls=Math.floor,us=e=>({x:e,y:e});function Ug(e){return Jg(e)?(e.nodeName||"").toLowerCase():"#document"}function Bt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Kg(e){var t;return(t=(Jg(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Jg(e){return e instanceof Node||e instanceof Bt(e).Node}function _c(e){return e instanceof Element||e instanceof Bt(e).Element}function Gc(e){return e instanceof HTMLElement||e instanceof Bt(e).HTMLElement}function Qg(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Bt(e).ShadowRoot}function qg(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Rc(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function TM(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function DM(e){return["html","body","#document"].includes(Ug(e))}function Rc(e){return Bt(e).getComputedStyle(e)}function NM(e){if(Ug(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Qg(e)&&e.host||Kg(e);return Qg(t)?t.host:t}function eb(e){const t=NM(e);return DM(t)?e.ownerDocument?e.ownerDocument.body:e.body:Gc(t)&&qg(t)?t:eb(t)}function cs(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=eb(e),a=o===((r=e.ownerDocument)==null?void 0:r.body),i=Bt(o);return a?t.concat(i,i.visualViewport||[],qg(o)?o:[],i.frameElement&&n?cs(i.frameElement):[]):t.concat(o,cs(o,[],n))}function $M(e){const t=Rc(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Gc(e),a=o?e.offsetWidth:n,i=o?e.offsetHeight:r,s=ss(n)!==a||ss(r)!==i;return s&&(n=a,r=i),{width:n,height:r,$:s}}function zc(e){return _c(e)?e:e.contextElement}function Hc(e){const t=zc(e);if(!Gc(t))return us(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:a}=$M(t);let i=(a?ss(n.width):n.width)/r,s=(a?ss(n.height):n.height)/o;return(!i||!Number.isFinite(i))&&(i=1),(!s||!Number.isFinite(s))&&(s=1),{x:i,y:s}}const kM=us(0);function OM(e){const t=Bt(e);return!TM()||!t.visualViewport?kM:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function FM(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Bt(e)?!1:t}function tb(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),a=zc(e);let i=us(1);t&&(r?_c(r)&&(i=Hc(r)):i=Hc(e));const s=FM(a,n,r)?OM(a):us(0);let l=(o.left+s.x)/i.x,u=(o.top+s.y)/i.y,c=o.width/i.x,d=o.height/i.y;if(a){const p=Bt(a),m=r&&_c(r)?Bt(r):r;let h=p,g=h.frameElement;for(;g&&r&&m!==h;){const b=Hc(g),x=g.getBoundingClientRect(),y=Rc(g),w=x.left+(g.clientLeft+parseFloat(y.paddingLeft))*b.x,S=x.top+(g.clientTop+parseFloat(y.paddingTop))*b.y;l*=b.x,u*=b.y,c*=b.x,d*=b.y,l+=w,u+=S,h=Bt(g),g=h.frameElement}}return SM({width:c,height:d,x:l,y:u})}function LM(e,t){let n=null,r;const o=Kg(e);function a(){var s;clearTimeout(r),(s=n)==null||s.disconnect(),n=null}function i(s,l){s===void 0&&(s=!1),l===void 0&&(l=1),a();const{left:u,top:c,width:d,height:p}=e.getBoundingClientRect();if(s||t(),!d||!p)return;const m=ls(c),h=ls(o.clientWidth-(u+d)),g=ls(o.clientHeight-(c+p)),b=ls(u),y={rootMargin:-m+"px "+-h+"px "+-g+"px "+-b+"px",threshold:AM(0,MM(1,l))||1};let w=!0;function S(P){const A=P[0].intersectionRatio;if(A!==l){if(!w)return i();A?i(!1,A):r=setTimeout(()=>{i(!1,1e-7)},100)}w=!1}try{n=new IntersectionObserver(S,{...y,root:o.ownerDocument})}catch{n=new IntersectionObserver(S,y)}n.observe(e)}return i(!0),a}function VM(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,u=zc(e),c=o||a?[...u?cs(u):[],...cs(t)]:[];c.forEach(x=>{o&&x.addEventListener("scroll",n,{passive:!0}),a&&x.addEventListener("resize",n)});const d=u&&s?LM(u,n):null;let p=-1,m=null;i&&(m=new ResizeObserver(x=>{let[y]=x;y&&y.target===u&&m&&(m.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var w;(w=m)==null||w.observe(t)})),n()}),u&&!l&&m.observe(u),m.observe(t));let h,g=l?tb(e):null;l&&b();function b(){const x=tb(e);g&&(x.x!==g.x||x.y!==g.y||x.width!==g.width||x.height!==g.height)&&n(),g=x,h=requestAnimationFrame(b)}return n(),()=>{var x;c.forEach(y=>{o&&y.removeEventListener("scroll",n),a&&y.removeEventListener("resize",n)}),d==null||d(),(x=m)==null||x.disconnect(),m=null,l&&cancelAnimationFrame(h)}}var jM=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],ds=function(){};function BM(e,t){return t?t[0]==="-"?e+t:e+"__"+t:e}function WM(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var a=[].concat(r);if(t&&e)for(var i in t)t.hasOwnProperty(i)&&t[i]&&a.push("".concat(BM(e,i)));return a.filter(function(s){return s}).map(function(s){return String(s).trim()}).join(" ")}var nb=function(t){return UM(t)?t.filter(Boolean):sr(t)==="object"&&t!==null?[t]:[]},rb=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=hn(t,jM);return ce({},n)},He=function(t,n,r){var o=t.cx,a=t.getStyles,i=t.getClassNames,s=t.className;return{css:a(n,t),className:o(r??{},i(n,t),s)}};function fs(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function _M(e){return fs(e)?window.innerHeight:e.clientHeight}function ob(e){return fs(e)?window.pageYOffset:e.scrollTop}function ps(e,t){if(fs(e)){window.scrollTo(0,t);return}e.scrollTop=t}function GM(e){var t=getComputedStyle(e),n=t.position==="absolute",r=/(auto|scroll)/;if(t.position==="fixed")return document.documentElement;for(var o=e;o=o.parentElement;)if(t=getComputedStyle(o),!(n&&t.position==="static")&&r.test(t.overflow+t.overflowY+t.overflowX))return o;return document.documentElement}function RM(e,t,n,r){return n*((e=e/r-1)*e*e+1)+t}function ms(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:ds,o=ob(e),a=t-o,i=10,s=0;function l(){s+=i;var u=RM(s,o,a,n);ps(e,u),s<n?window.requestAnimationFrame(l):r(e)}l()}function ab(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),o=t.offsetHeight/3;r.bottom+o>n.bottom?ps(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+o,e.scrollHeight)):r.top-o<n.top&&ps(e,Math.max(t.offsetTop-o,0))}function zM(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 ib(){try{return document.createEvent("TouchEvent"),!0}catch{return!1}}function HM(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}var sb=!1,XM={get passive(){return sb=!0}},hs=typeof window<"u"?window:{};hs.addEventListener&&hs.removeEventListener&&(hs.addEventListener("p",ds,XM),hs.removeEventListener("p",ds,!1));var ZM=sb;function YM(e){return e!=null}function UM(e){return Array.isArray(e)}function gs(e,t,n){return e?t:n}function BD(e){return e}function WD(e){return e}var KM=function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];var a=Object.entries(t).filter(function(i){var s=mn(i,1),l=s[0];return!r.includes(l)});return a.reduce(function(i,s){var l=mn(s,2),u=l[0],c=l[1];return i[u]=c,i},{})},JM=["children","innerProps"],QM=["children","innerProps"];function qM(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,o=e.placement,a=e.shouldScroll,i=e.isFixedPosition,s=e.controlHeight,l=GM(n),u={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return u;var c=l.getBoundingClientRect(),d=c.height,p=n.getBoundingClientRect(),m=p.bottom,h=p.height,g=p.top,b=n.offsetParent.getBoundingClientRect(),x=b.top,y=i?window.innerHeight:_M(l),w=ob(l),S=parseInt(getComputedStyle(n).marginBottom,10),P=parseInt(getComputedStyle(n).marginTop,10),A=x-P,T=y-g,v=A+w,D=d-w-g,$=m-y+w+S,M=w+g-P,k=160;switch(o){case"auto":case"bottom":if(T>=h)return{placement:"bottom",maxHeight:t};if(D>=h&&!i)return a&&ms(l,$,k),{placement:"bottom",maxHeight:t};if(!i&&D>=r||i&&T>=r){a&&ms(l,$,k);var I=i?T-S:D-S;return{placement:"bottom",maxHeight:I}}if(o==="auto"||i){var E=t,O=i?A:v;return O>=r&&(E=Math.min(O-S-s,t)),{placement:"top",maxHeight:E}}if(o==="bottom")return a&&ps(l,$),{placement:"bottom",maxHeight:t};break;case"top":if(A>=h)return{placement:"top",maxHeight:t};if(v>=h&&!i)return a&&ms(l,M,k),{placement:"top",maxHeight:t};if(!i&&v>=r||i&&A>=r){var j=t;return(!i&&v>=r||i&&A>=r)&&(j=i?A-P:v-P),a&&ms(l,M,k),{placement:"top",maxHeight:j}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(o,'".'))}return u}function eA(e){var t={bottom:"top",top:"bottom"};return e?t[e]:"bottom"}var lb=function(t){return t==="auto"?"bottom":t},tA=function(t,n){var r,o=t.placement,a=t.theme,i=a.borderRadius,s=a.spacing,l=a.colors;return ce((r={label:"menu"},qo(r,eA(o),"100%"),qo(r,"position","absolute"),qo(r,"width","100%"),qo(r,"zIndex",1),r),n?{}:{backgroundColor:l.neutral0,borderRadius:i,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:s.menuGutter,marginTop:s.menuGutter})},ub=f.createContext(null),nA=function(t){var n=t.children,r=t.minMenuHeight,o=t.maxMenuHeight,a=t.menuPlacement,i=t.menuPosition,s=t.menuShouldScrollIntoView,l=t.theme,u=f.useContext(ub)||{},c=u.setPortalPlacement,d=f.useRef(null),p=f.useState(o),m=mn(p,2),h=m[0],g=m[1],b=f.useState(null),x=mn(b,2),y=x[0],w=x[1],S=l.spacing.controlHeight;return uu(function(){var P=d.current;if(P){var A=i==="fixed",T=s&&!A,v=qM({maxHeight:o,menuEl:P,minHeight:r,placement:a,shouldScroll:T,isFixedPosition:A,controlHeight:S});g(v.maxHeight),w(v.placement),c==null||c(v.placement)}},[o,a,i,s,r,c,S]),n({ref:d,placerProps:ce(ce({},t),{},{placement:y||lb(a),maxHeight:h})})},rA=function(t){var n=t.children,r=t.innerRef,o=t.innerProps;return ue("div",de({},He(t,"menu",{menu:!0}),{ref:r},o),n)},oA=rA,aA=function(t,n){var r=t.maxHeight,o=t.theme.spacing.baseUnit;return ce({maxHeight:r,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},n?{}:{paddingBottom:o,paddingTop:o})},iA=function(t){var n=t.children,r=t.innerProps,o=t.innerRef,a=t.isMulti;return ue("div",de({},He(t,"menuList",{"menu-list":!0,"menu-list--is-multi":a}),{ref:o},r),n)},cb=function(t,n){var r=t.theme,o=r.spacing.baseUnit,a=r.colors;return ce({textAlign:"center"},n?{}:{color:a.neutral40,padding:"".concat(o*2,"px ").concat(o*3,"px")})},sA=cb,lA=cb,uA=function(t){var n=t.children,r=n===void 0?"No options":n,o=t.innerProps,a=hn(t,JM);return ue("div",de({},He(ce(ce({},a),{},{children:r,innerProps:o}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),o),r)},cA=function(t){var n=t.children,r=n===void 0?"Loading...":n,o=t.innerProps,a=hn(t,QM);return ue("div",de({},He(ce(ce({},a),{},{children:r,innerProps:o}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),o),r)},dA=function(t){var n=t.rect,r=t.offset,o=t.position;return{left:n.left,position:o,top:r,width:n.width,zIndex:1}},fA=function(t){var n=t.appendTo,r=t.children,o=t.controlElement,a=t.innerProps,i=t.menuPlacement,s=t.menuPosition,l=f.useRef(null),u=f.useRef(null),c=f.useState(lb(i)),d=mn(c,2),p=d[0],m=d[1],h=f.useMemo(function(){return{setPortalPlacement:m}},[]),g=f.useState(null),b=mn(g,2),x=b[0],y=b[1],w=f.useCallback(function(){if(o){var T=zM(o),v=s==="fixed"?0:window.pageYOffset,D=T[p]+v;(D!==(x==null?void 0:x.offset)||T.left!==(x==null?void 0:x.rect.left)||T.width!==(x==null?void 0:x.rect.width))&&y({offset:D,rect:T})}},[o,s,p,x==null?void 0:x.offset,x==null?void 0:x.rect.left,x==null?void 0:x.rect.width]);uu(function(){w()},[w]);var S=f.useCallback(function(){typeof u.current=="function"&&(u.current(),u.current=null),o&&l.current&&(u.current=VM(o,l.current,w,{elementResize:"ResizeObserver"in window}))},[o,w]);uu(function(){S()},[S]);var P=f.useCallback(function(T){l.current=T,S()},[S]);if(!n&&s!=="fixed"||!x)return null;var A=ue("div",de({ref:P},He(ce(ce({},t),{},{offset:x.offset,position:s,rect:x.rect}),"menuPortal",{"menu-portal":!0}),a),r);return ue(ub.Provider,{value:h},n?mr.createPortal(A,n):A)},pA=function(t){var n=t.isDisabled,r=t.isRtl;return{label:"container",direction:r?"rtl":void 0,pointerEvents:n?"none":void 0,position:"relative"}},mA=function(t){var n=t.children,r=t.innerProps,o=t.isDisabled,a=t.isRtl;return ue("div",de({},He(t,"container",{"--is-disabled":o,"--is-rtl":a}),r),n)},hA=function(t,n){var r=t.theme.spacing,o=t.isMulti,a=t.hasValue,i=t.selectProps.controlShouldRenderValue;return ce({alignItems:"center",display:o&&a&&i?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},n?{}:{padding:"".concat(r.baseUnit/2,"px ").concat(r.baseUnit*2,"px")})},gA=function(t){var n=t.children,r=t.innerProps,o=t.isMulti,a=t.hasValue;return ue("div",de({},He(t,"valueContainer",{"value-container":!0,"value-container--is-multi":o,"value-container--has-value":a}),r),n)},bA=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},vA=function(t){var n=t.children,r=t.innerProps;return ue("div",de({},He(t,"indicatorsContainer",{indicators:!0}),r),n)},db,yA=["size"],xA=["innerProps","isRtl","size"];function CA(){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 wA=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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lLFxuICBDU1NPYmplY3RXaXRoTGFiZWwsXG4gIEdyb3VwQmFzZSxcbn0gZnJvbSAnLi4vdHlwZXMnO1xuaW1wb3J0IHsgZ2V0U3R5bGVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBEcm9wZG93biAmIENsZWFyIEljb25zXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuY29uc3QgU3ZnID0gKHtcbiAgc2l6ZSxcbiAgLi4ucHJvcHNcbn06IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU6IG51bWJlciB9KSA9PiAoXG4gIDxzdmdcbiAgICBoZWlnaHQ9e3NpemV9XG4gICAgd2lkdGg9e3NpemV9XG4gICAgdmlld0JveD1cIjAgMCAyMCAyMFwiXG4gICAgYXJpYS1oaWRkZW49XCJ0cnVlXCJcbiAgICBmb2N1c2FibGU9XCJmYWxzZVwiXG4gICAgY3NzPXt7XG4gICAgICBkaXNwbGF5OiAnaW5saW5lLWJsb2NrJyxcbiAgICAgIGZpbGw6ICdjdXJyZW50Q29sb3InLFxuICAgICAgbGluZUhlaWdodDogMSxcbiAgICAgIHN0cm9rZTogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBzdHJva2VXaWR0aDogMCxcbiAgICB9fVxuICAgIHsuLi5wcm9wc31cbiAgLz5cbik7XG5cbmV4cG9ydCB0eXBlIENyb3NzSWNvblByb3BzID0gSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZT86IG51bWJlciB9O1xuZXhwb3J0IGNvbnN0IENyb3NzSWNvbiA9IChwcm9wczogQ3Jvc3NJY29uUHJvcHMpID0+IChcbiAgPFN2ZyBzaXplPXsyMH0gey4uLnByb3BzfT5cbiAgICA8cGF0aCBkPVwiTTE0LjM0OCAxNC44NDljLTAuNDY5IDAuNDY5LTEuMjI5IDAuNDY5LTEuNjk3IDBsLTIuNjUxLTMuMDMwLTIuNjUxIDMuMDI5Yy0wLjQ2OSAwLjQ2OS0xLjIyOSAwLjQ2OS0xLjY5NyAwLTAuNDY5LTAuNDY5LTAuNDY5LTEuMjI5IDAtMS42OTdsMi43NTgtMy4xNS0yLjc1OS0zLjE1MmMtMC40NjktMC40NjktMC40NjktMS4yMjggMC0xLjY5N3MxLjIyOC0wLjQ2OSAxLjY5NyAwbDIuNjUyIDMuMDMxIDIuNjUxLTMuMDMxYzAuNDY5LTAuNDY5IDEuMjI4LTAuNDY5IDEuNjk3IDBzMC40NjkgMS4yMjkgMCAxLjY5N2wtMi43NTggMy4xNTIgMi43NTggMy4xNWMwLjQ2OSAwLjQ2OSAwLjQ2OSAxLjIyOSAwIDEuNjk4elwiIC8+XG4gIDwvU3ZnPlxuKTtcbmV4cG9ydCB0eXBlIERvd25DaGV2cm9uUHJvcHMgPSBKU1guSW50cmluc2ljRWxlbWVudHNbJ3N2ZyddICYgeyBzaXplPzogbnVtYmVyIH07XG5leHBvcnQgY29uc3QgRG93bkNoZXZyb24gPSAocHJvcHM6IERvd25DaGV2cm9uUHJvcHMpID0+IChcbiAgPFN2ZyBzaXplPXsyMH0gey4uLnByb3BzfT5cbiAgICA8cGF0aCBkPVwiTTQuNTE2IDcuNTQ4YzAuNDM2LTAuNDQ2IDEuMDQzLTAuNDgxIDEuNTc2IDBsMy45MDggMy43NDcgMy45MDgtMy43NDdjMC41MzMtMC40ODEgMS4xNDEtMC40NDYgMS41NzQgMCAwLjQzNiAwLjQ0NSAwLjQwOCAxLjE5NyAwIDEuNjE1LTAuNDA2IDAuNDE4LTQuNjk1IDQuNTAyLTQuNjk1IDQuNTAyLTAuMjE3IDAuMjIzLTAuNTAyIDAuMzM1LTAuNzg3IDAuMzM1cy0wLjU3LTAuMTEyLTAuNzg5LTAuMzM1YzAgMC00LjI4Ny00LjA4NC00LjY5NS00LjUwMnMtMC40MzYtMS4xNyAwLTEuNjE1elwiIC8+XG4gIDwvU3ZnPlxuKTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBEcm9wZG93biAmIENsZWFyIEJ1dHRvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5leHBvcnQgaW50ZXJmYWNlIERyb3Bkb3duSW5kaWNhdG9yUHJvcHM8XG4gIE9wdGlvbiA9IHVua25vd24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuID0gYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPiA9IEdyb3VwQmFzZTxPcHRpb24+XG4+IGV4dGVuZHMgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWU8T3B0aW9uLCBJc011bHRpLCBHcm91cD4ge1xuICAvKiogVGhlIGNoaWxkcmVuIHRvIGJlIHJlbmRlcmVkIGluc2lkZSB0aGUgaW5kaWNhdG9yLiAqL1xuICBjaGlsZHJlbj86IFJlYWN0Tm9kZTtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpc0Rpc2FibGVkOiBib29sZWFuO1xufVxuXG5jb25zdCBiYXNlQ1NTID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICB7XG4gICAgaXNGb2N1c2VkLFxuICAgIHRoZW1lOiB7XG4gICAgICBzcGFjaW5nOiB7IGJhc2VVbml0IH0sXG4gICAgICBjb2xvcnMsXG4gICAgfSxcbiAgfTpcbiAgICB8IERyb3Bkb3duSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbiAgICB8IENsZWFySW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdpbmRpY2F0b3JDb250YWluZXInLFxuICBkaXNwbGF5OiAnZmxleCcsXG4gIHRyYW5zaXRpb246ICdjb2xvciAxNTBtcycsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsNjAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBwYWRkaW5nOiBiYXNlVW5pdCAqIDIsXG4gICAgICAgICc6aG92ZXInOiB7XG4gICAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsODAgOiBjb2xvcnMubmV1dHJhbDQwLFxuICAgICAgICB9LFxuICAgICAgfSksXG59KTtcblxuZXhwb3J0IGNvbnN0IGRyb3Bkb3duSW5kaWNhdG9yQ1NTID0gYmFzZUNTUztcbmV4cG9ydCBjb25zdCBEcm9wZG93bkluZGljYXRvciA9IDxcbiAgT3B0aW9uLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPlxuPihcbiAgcHJvcHM6IERyb3Bkb3duSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGNoaWxkcmVuLCBpbm5lclByb3BzIH0gPSBwcm9wcztcbiAgcmV0dXJuIChcbiAgICA8ZGl2XG4gICAgICB7Li4uZ2V0U3R5bGVQcm9wcyhwcm9wcywgJ2Ryb3Bkb3duSW5kaWNhdG9yJywge1xuICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICdkcm9wZG93bi1pbmRpY2F0b3InOiB0cnVlLFxuICAgICAgfSl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICB7Y2hpbGRyZW4gfHwgPERvd25DaGV2cm9uIC8+fVxuICAgIDwvZGl2PlxuICApO1xufTtcblxuZXhwb3J0IGludGVyZmFjZSBDbGVhckluZGljYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgLyoqIFRoZSBjaGlsZHJlbiB0byBiZSByZW5kZXJlZCBpbnNpZGUgdGhlIGluZGljYXRvci4gKi9cbiAgY2hpbGRyZW4/OiBSZWFjdE5vZGU7XG4gIC8qKiBQcm9wcyB0aGF0IHdpbGwgYmUgcGFzc2VkIG9uIHRvIHRoZSBjaGlsZHJlbi4gKi9cbiAgaW5uZXJQcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydkaXYnXTtcbiAgLyoqIFRoZSBmb2N1c2VkIHN0YXRlIG9mIHRoZSBzZWxlY3QuICovXG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbn1cblxuZXhwb3J0IGNvbnN0IGNsZWFySW5kaWNhdG9yQ1NTID0gYmFzZUNTUztcbmV4cG9ydCBjb25zdCBDbGVhckluZGljYXRvciA9IDxcbiAgT3B0aW9uLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPlxuPihcbiAgcHJvcHM6IENsZWFySW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGNoaWxkcmVuLCBpbm5lclByb3BzIH0gPSBwcm9wcztcbiAgcmV0dXJuIChcbiAgICA8ZGl2XG4gICAgICB7Li4uZ2V0U3R5bGVQcm9wcyhwcm9wcywgJ2NsZWFySW5kaWNhdG9yJywge1xuICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICdjbGVhci1pbmRpY2F0b3InOiB0cnVlLFxuICAgICAgfSl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICB7Y2hpbGRyZW4gfHwgPENyb3NzSWNvbiAvPn1cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG5cbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuLy8gU2VwYXJhdG9yXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuZXhwb3J0IGludGVyZmFjZSBJbmRpY2F0b3JTZXBhcmF0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIGlzRGlzYWJsZWQ6IGJvb2xlYW47XG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbiAgaW5uZXJQcm9wcz86IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3BhbiddO1xufVxuXG5leHBvcnQgY29uc3QgaW5kaWNhdG9yU2VwYXJhdG9yQ1NTID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICB7XG4gICAgaXNEaXNhYmxlZCxcbiAgICB0aGVtZToge1xuICAgICAgc3BhY2luZzogeyBiYXNlVW5pdCB9LFxuICAgICAgY29sb3JzLFxuICAgIH0sXG4gIH06IEluZGljYXRvclNlcGFyYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+LFxuICB1bnN0eWxlZDogYm9vbGVhblxuKTogQ1NTT2JqZWN0V2l0aExhYmVsID0+ICh7XG4gIGxhYmVsOiAnaW5kaWNhdG9yU2VwYXJhdG9yJyxcbiAgYWxpZ25TZWxmOiAnc3RyZXRjaCcsXG4gIHdpZHRoOiAxLFxuICAuLi4odW5zdHlsZWRcbiAgICA/IHt9XG4gICAgOiB7XG4gICAgICAgIGJhY2tncm91bmRDb2xvcjogaXNEaXNhYmxlZCA/IGNvbG9ycy5uZXV0cmFsMTAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBtYXJnaW5Cb3R0b206IGJhc2VVbml0ICogMixcbiAgICAgICAgbWFyZ2luVG9wOiBiYXNlVW5pdCAqIDIsXG4gICAgICB9KSxcbn0pO1xuXG5leHBvcnQgY29uc3QgSW5kaWNhdG9yU2VwYXJhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogSW5kaWNhdG9yU2VwYXJhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxzcGFuXG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnaW5kaWNhdG9yU2VwYXJhdG9yJywge1xuICAgICAgICAnaW5kaWNhdG9yLXNlcGFyYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAvPlxuICApO1xufTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBMb2FkaW5nXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuY29uc3QgbG9hZGluZ0RvdEFuaW1hdGlvbnMgPSBrZXlmcmFtZXNgXG4gIDAlLCA4MCUsIDEwMCUgeyBvcGFjaXR5OiAwOyB9XG4gIDQwJSB7IG9wYWNpdHk6IDE7IH1cbmA7XG5cbmV4cG9ydCBjb25zdCBsb2FkaW5nSW5kaWNhdG9yQ1NTID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICB7XG4gICAgaXNGb2N1c2VkLFxuICAgIHNpemUsXG4gICAgdGhlbWU6IHtcbiAgICAgIGNvbG9ycyxcbiAgICAgIHNwYWNpbmc6IHsgYmFzZVVuaXQgfSxcbiAgICB9LFxuICB9OiBMb2FkaW5nSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdsb2FkaW5nSW5kaWNhdG9yJyxcbiAgZGlzcGxheTogJ2ZsZXgnLFxuICB0cmFuc2l0aW9uOiAnY29sb3IgMTUwbXMnLFxuICBhbGlnblNlbGY6ICdjZW50ZXInLFxuICBmb250U2l6ZTogc2l6ZSxcbiAgbGluZUhlaWdodDogMSxcbiAgbWFyZ2luUmlnaHQ6IHNpemUsXG4gIHRleHRBbGlnbjogJ2NlbnRlcicsXG4gIHZlcnRpY2FsQWxpZ246ICdtaWRkbGUnLFxuICAuLi4odW5zdHlsZWRcbiAgICA/IHt9XG4gICAgOiB7XG4gICAgICAgIGNvbG9yOiBpc0ZvY3VzZWQgPyBjb2xvcnMubmV1dHJhbDYwIDogY29sb3JzLm5ldXRyYWwyMCxcbiAgICAgICAgcGFkZGluZzogYmFzZVVuaXQgKiAyLFxuICAgICAgfSksXG59KTtcblxuaW50ZXJmYWNlIExvYWRpbmdEb3RQcm9wcyB7XG4gIGRlbGF5OiBudW1iZXI7XG4gIG9mZnNldDogYm9vbGVhbjtcbn1cbmNvbnN0IExvYWRpbmdEb3QgPSAoeyBkZWxheSwgb2Zmc2V0IH06IExvYWRpbmdEb3RQcm9wcykgPT4gKFxuICA8c3BhblxuICAgIGNzcz17e1xuICAgICAgYW5pbWF0aW9uOiBgJHtsb2FkaW5nRG90QW5pbWF0aW9uc30gMXMgZWFzZS1pbi1vdXQgJHtkZWxheX1tcyBpbmZpbml0ZTtgLFxuICAgICAgYmFja2dyb3VuZENvbG9yOiAnY3VycmVudENvbG9yJyxcbiAgICAgIGJvcmRlclJhZGl1czogJzFlbScsXG4gICAgICBkaXNwbGF5OiAnaW5saW5lLWJsb2NrJyxcbiAgICAgIG1hcmdpbkxlZnQ6IG9mZnNldCA/ICcxZW0nIDogdW5kZWZpbmVkLFxuICAgICAgaGVpZ2h0OiAnMWVtJyxcbiAgICAgIHZlcnRpY2FsQWxpZ246ICd0b3AnLFxuICAgICAgd2lkdGg6ICcxZW0nLFxuICAgIH19XG4gIC8+XG4pO1xuXG5leHBvcnQgaW50ZXJmYWNlIExvYWRpbmdJbmRpY2F0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIC8qKiBQcm9wcyB0aGF0IHdpbGwgYmUgcGFzc2VkIG9uIHRvIHRoZSBjaGlsZHJlbi4gKi9cbiAgaW5uZXJQcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydkaXYnXTtcbiAgLyoqIFRoZSBmb2N1c2VkIHN0YXRlIG9mIHRoZSBzZWxlY3QuICovXG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbiAgaXNEaXNhYmxlZDogYm9vbGVhbjtcbiAgLyoqIFNldCBzaXplIG9mIHRoZSBjb250YWluZXIuICovXG4gIHNpemU6IG51bWJlcjtcbn1cbmV4cG9ydCBjb25zdCBMb2FkaW5nSW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KHtcbiAgaW5uZXJQcm9wcyxcbiAgaXNSdGwsXG4gIHNpemUgPSA0LFxuICAuLi5yZXN0UHJvcHNcbn06IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPikgPT4ge1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKFxuICAgICAgICB7IC4uLnJlc3RQcm9wcywgaW5uZXJQcm9wcywgaXNSdGwsIHNpemUgfSxcbiAgICAgICAgJ2xvYWRpbmdJbmRpY2F0b3InLFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdsb2FkaW5nLWluZGljYXRvcic6IHRydWUsXG4gICAgICAgIH1cbiAgICAgICl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MH0gb2Zmc2V0PXtpc1J0bH0gLz5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXsxNjB9IG9mZnNldCAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezMyMH0gb2Zmc2V0PXshaXNSdGx9IC8+XG4gICAgPC9kaXY+XG4gICk7XG59O1xuIl19 */",toString:CA},fb=function(t){var n=t.size,r=hn(t,yA);return ue("svg",de({height:n,width:n,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:wA},r))},Xc=function(t){return ue(fb,de({size:20},t),ue("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"}))},pb=function(t){return ue(fb,de({size:20},t),ue("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"}))},mb=function(t,n){var r=t.isFocused,o=t.theme,a=o.spacing.baseUnit,i=o.colors;return ce({label:"indicatorContainer",display:"flex",transition:"color 150ms"},n?{}:{color:r?i.neutral60:i.neutral20,padding:a*2,":hover":{color:r?i.neutral80:i.neutral40}})},IA=mb,EA=function(t){var n=t.children,r=t.innerProps;return ue("div",de({},He(t,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),r),n||ue(pb,null))},PA=mb,SA=function(t){var n=t.children,r=t.innerProps;return ue("div",de({},He(t,"clearIndicator",{indicator:!0,"clear-indicator":!0}),r),n||ue(Xc,null))},MA=function(t,n){var r=t.isDisabled,o=t.theme,a=o.spacing.baseUnit,i=o.colors;return ce({label:"indicatorSeparator",alignSelf:"stretch",width:1},n?{}:{backgroundColor:r?i.neutral10:i.neutral20,marginBottom:a*2,marginTop:a*2})},AA=function(t){var n=t.innerProps;return ue("span",de({},n,He(t,"indicatorSeparator",{"indicator-separator":!0})))},TA=yM(db||(db=PM([`
|
|
129
129
|
0%, 80%, 100% { opacity: 0; }
|
|
130
130
|
40% { opacity: 1; }
|
|
131
|
-
`]))),DA=function(t,n){var r=t.isFocused,o=t.size,a=t.theme,i=a.colors,s=a.spacing.baseUnit;return ce({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:o,lineHeight:1,marginRight:o,textAlign:"center",verticalAlign:"middle"},n?{}:{color:r?i.neutral60:i.neutral20,padding:s*2})},Zc=function(t){var n=t.delay,r=t.offset;return ue("span",{css:Wc({animation:"".concat(TA," 1s ease-in-out ").concat(n,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:r?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},process.env.NODE_ENV==="production"?"":";label:LoadingDot;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lLFxuICBDU1NPYmplY3RXaXRoTGFiZWwsXG4gIEdyb3VwQmFzZSxcbn0gZnJvbSAnLi4vdHlwZXMnO1xuaW1wb3J0IHsgZ2V0U3R5bGVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBEcm9wZG93biAmIENsZWFyIEljb25zXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuY29uc3QgU3ZnID0gKHtcbiAgc2l6ZSxcbiAgLi4ucHJvcHNcbn06IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU6IG51bWJlciB9KSA9PiAoXG4gIDxzdmdcbiAgICBoZWlnaHQ9e3NpemV9XG4gICAgd2lkdGg9e3NpemV9XG4gICAgdmlld0JveD1cIjAgMCAyMCAyMFwiXG4gICAgYXJpYS1oaWRkZW49XCJ0cnVlXCJcbiAgICBmb2N1c2FibGU9XCJmYWxzZVwiXG4gICAgY3NzPXt7XG4gICAgICBkaXNwbGF5OiAnaW5saW5lLWJsb2NrJyxcbiAgICAgIGZpbGw6ICdjdXJyZW50Q29sb3InLFxuICAgICAgbGluZUhlaWdodDogMSxcbiAgICAgIHN0cm9rZTogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBzdHJva2VXaWR0aDogMCxcbiAgICB9fVxuICAgIHsuLi5wcm9wc31cbiAgLz5cbik7XG5cbmV4cG9ydCB0eXBlIENyb3NzSWNvblByb3BzID0gSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZT86IG51bWJlciB9O1xuZXhwb3J0IGNvbnN0IENyb3NzSWNvbiA9IChwcm9wczogQ3Jvc3NJY29uUHJvcHMpID0+IChcbiAgPFN2ZyBzaXplPXsyMH0gey4uLnByb3BzfT5cbiAgICA8cGF0aCBkPVwiTTE0LjM0OCAxNC44NDljLTAuNDY5IDAuNDY5LTEuMjI5IDAuNDY5LTEuNjk3IDBsLTIuNjUxLTMuMDMwLTIuNjUxIDMuMDI5Yy0wLjQ2OSAwLjQ2OS0xLjIyOSAwLjQ2OS0xLjY5NyAwLTAuNDY5LTAuNDY5LTAuNDY5LTEuMjI5IDAtMS42OTdsMi43NTgtMy4xNS0yLjc1OS0zLjE1MmMtMC40NjktMC40NjktMC40NjktMS4yMjggMC0xLjY5N3MxLjIyOC0wLjQ2OSAxLjY5NyAwbDIuNjUyIDMuMDMxIDIuNjUxLTMuMDMxYzAuNDY5LTAuNDY5IDEuMjI4LTAuNDY5IDEuNjk3IDBzMC40NjkgMS4yMjkgMCAxLjY5N2wtMi43NTggMy4xNTIgMi43NTggMy4xNWMwLjQ2OSAwLjQ2OSAwLjQ2OSAxLjIyOSAwIDEuNjk4elwiIC8+XG4gIDwvU3ZnPlxuKTtcbmV4cG9ydCB0eXBlIERvd25DaGV2cm9uUHJvcHMgPSBKU1guSW50cmluc2ljRWxlbWVudHNbJ3N2ZyddICYgeyBzaXplPzogbnVtYmVyIH07XG5leHBvcnQgY29uc3QgRG93bkNoZXZyb24gPSAocHJvcHM6IERvd25DaGV2cm9uUHJvcHMpID0+IChcbiAgPFN2ZyBzaXplPXsyMH0gey4uLnByb3BzfT5cbiAgICA8cGF0aCBkPVwiTTQuNTE2IDcuNTQ4YzAuNDM2LTAuNDQ2IDEuMDQzLTAuNDgxIDEuNTc2IDBsMy45MDggMy43NDcgMy45MDgtMy43NDdjMC41MzMtMC40ODEgMS4xNDEtMC40NDYgMS41NzQgMCAwLjQzNiAwLjQ0NSAwLjQwOCAxLjE5NyAwIDEuNjE1LTAuNDA2IDAuNDE4LTQuNjk1IDQuNTAyLTQuNjk1IDQuNTAyLTAuMjE3IDAuMjIzLTAuNTAyIDAuMzM1LTAuNzg3IDAuMzM1cy0wLjU3LTAuMTEyLTAuNzg5LTAuMzM1YzAgMC00LjI4Ny00LjA4NC00LjY5NS00LjUwMnMtMC40MzYtMS4xNyAwLTEuNjE1elwiIC8+XG4gIDwvU3ZnPlxuKTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBEcm9wZG93biAmIENsZWFyIEJ1dHRvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5leHBvcnQgaW50ZXJmYWNlIERyb3Bkb3duSW5kaWNhdG9yUHJvcHM8XG4gIE9wdGlvbiA9IHVua25vd24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuID0gYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPiA9IEdyb3VwQmFzZTxPcHRpb24+XG4+IGV4dGVuZHMgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWU8T3B0aW9uLCBJc011bHRpLCBHcm91cD4ge1xuICAvKiogVGhlIGNoaWxkcmVuIHRvIGJlIHJlbmRlcmVkIGluc2lkZSB0aGUgaW5kaWNhdG9yLiAqL1xuICBjaGlsZHJlbj86IFJlYWN0Tm9kZTtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpc0Rpc2FibGVkOiBib29sZWFuO1xufVxuXG5jb25zdCBiYXNlQ1NTID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICB7XG4gICAgaXNGb2N1c2VkLFxuICAgIHRoZW1lOiB7XG4gICAgICBzcGFjaW5nOiB7IGJhc2VVbml0IH0sXG4gICAgICBjb2xvcnMsXG4gICAgfSxcbiAgfTpcbiAgICB8IERyb3Bkb3duSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbiAgICB8IENsZWFySW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdpbmRpY2F0b3JDb250YWluZXInLFxuICBkaXNwbGF5OiAnZmxleCcsXG4gIHRyYW5zaXRpb246ICdjb2xvciAxNTBtcycsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsNjAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBwYWRkaW5nOiBiYXNlVW5pdCAqIDIsXG4gICAgICAgICc6aG92ZXInOiB7XG4gICAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsODAgOiBjb2xvcnMubmV1dHJhbDQwLFxuICAgICAgICB9LFxuICAgICAgfSksXG59KTtcblxuZXhwb3J0IGNvbnN0IGRyb3Bkb3duSW5kaWNhdG9yQ1NTID0gYmFzZUNTUztcbmV4cG9ydCBjb25zdCBEcm9wZG93bkluZGljYXRvciA9IDxcbiAgT3B0aW9uLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPlxuPihcbiAgcHJvcHM6IERyb3Bkb3duSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGNoaWxkcmVuLCBpbm5lclByb3BzIH0gPSBwcm9wcztcbiAgcmV0dXJuIChcbiAgICA8ZGl2XG4gICAgICB7Li4uZ2V0U3R5bGVQcm9wcyhwcm9wcywgJ2Ryb3Bkb3duSW5kaWNhdG9yJywge1xuICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICdkcm9wZG93bi1pbmRpY2F0b3InOiB0cnVlLFxuICAgICAgfSl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICB7Y2hpbGRyZW4gfHwgPERvd25DaGV2cm9uIC8+fVxuICAgIDwvZGl2PlxuICApO1xufTtcblxuZXhwb3J0IGludGVyZmFjZSBDbGVhckluZGljYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgLyoqIFRoZSBjaGlsZHJlbiB0byBiZSByZW5kZXJlZCBpbnNpZGUgdGhlIGluZGljYXRvci4gKi9cbiAgY2hpbGRyZW4/OiBSZWFjdE5vZGU7XG4gIC8qKiBQcm9wcyB0aGF0IHdpbGwgYmUgcGFzc2VkIG9uIHRvIHRoZSBjaGlsZHJlbi4gKi9cbiAgaW5uZXJQcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydkaXYnXTtcbiAgLyoqIFRoZSBmb2N1c2VkIHN0YXRlIG9mIHRoZSBzZWxlY3QuICovXG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbn1cblxuZXhwb3J0IGNvbnN0IGNsZWFySW5kaWNhdG9yQ1NTID0gYmFzZUNTUztcbmV4cG9ydCBjb25zdCBDbGVhckluZGljYXRvciA9IDxcbiAgT3B0aW9uLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPlxuPihcbiAgcHJvcHM6IENsZWFySW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGNoaWxkcmVuLCBpbm5lclByb3BzIH0gPSBwcm9wcztcbiAgcmV0dXJuIChcbiAgICA8ZGl2XG4gICAgICB7Li4uZ2V0U3R5bGVQcm9wcyhwcm9wcywgJ2NsZWFySW5kaWNhdG9yJywge1xuICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICdjbGVhci1pbmRpY2F0b3InOiB0cnVlLFxuICAgICAgfSl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICB7Y2hpbGRyZW4gfHwgPENyb3NzSWNvbiAvPn1cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG5cbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuLy8gU2VwYXJhdG9yXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuZXhwb3J0IGludGVyZmFjZSBJbmRpY2F0b3JTZXBhcmF0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIGlzRGlzYWJsZWQ6IGJvb2xlYW47XG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbiAgaW5uZXJQcm9wcz86IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3BhbiddO1xufVxuXG5leHBvcnQgY29uc3QgaW5kaWNhdG9yU2VwYXJhdG9yQ1NTID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICB7XG4gICAgaXNEaXNhYmxlZCxcbiAgICB0aGVtZToge1xuICAgICAgc3BhY2luZzogeyBiYXNlVW5pdCB9LFxuICAgICAgY29sb3JzLFxuICAgIH0sXG4gIH06IEluZGljYXRvclNlcGFyYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+LFxuICB1bnN0eWxlZDogYm9vbGVhblxuKTogQ1NTT2JqZWN0V2l0aExhYmVsID0+ICh7XG4gIGxhYmVsOiAnaW5kaWNhdG9yU2VwYXJhdG9yJyxcbiAgYWxpZ25TZWxmOiAnc3RyZXRjaCcsXG4gIHdpZHRoOiAxLFxuICAuLi4odW5zdHlsZWRcbiAgICA/IHt9XG4gICAgOiB7XG4gICAgICAgIGJhY2tncm91bmRDb2xvcjogaXNEaXNhYmxlZCA/IGNvbG9ycy5uZXV0cmFsMTAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBtYXJnaW5Cb3R0b206IGJhc2VVbml0ICogMixcbiAgICAgICAgbWFyZ2luVG9wOiBiYXNlVW5pdCAqIDIsXG4gICAgICB9KSxcbn0pO1xuXG5leHBvcnQgY29uc3QgSW5kaWNhdG9yU2VwYXJhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogSW5kaWNhdG9yU2VwYXJhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxzcGFuXG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnaW5kaWNhdG9yU2VwYXJhdG9yJywge1xuICAgICAgICAnaW5kaWNhdG9yLXNlcGFyYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAvPlxuICApO1xufTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBMb2FkaW5nXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuY29uc3QgbG9hZGluZ0RvdEFuaW1hdGlvbnMgPSBrZXlmcmFtZXNgXG4gIDAlLCA4MCUsIDEwMCUgeyBvcGFjaXR5OiAwOyB9XG4gIDQwJSB7IG9wYWNpdHk6IDE7IH1cbmA7XG5cbmV4cG9ydCBjb25zdCBsb2FkaW5nSW5kaWNhdG9yQ1NTID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICB7XG4gICAgaXNGb2N1c2VkLFxuICAgIHNpemUsXG4gICAgdGhlbWU6IHtcbiAgICAgIGNvbG9ycyxcbiAgICAgIHNwYWNpbmc6IHsgYmFzZVVuaXQgfSxcbiAgICB9LFxuICB9OiBMb2FkaW5nSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdsb2FkaW5nSW5kaWNhdG9yJyxcbiAgZGlzcGxheTogJ2ZsZXgnLFxuICB0cmFuc2l0aW9uOiAnY29sb3IgMTUwbXMnLFxuICBhbGlnblNlbGY6ICdjZW50ZXInLFxuICBmb250U2l6ZTogc2l6ZSxcbiAgbGluZUhlaWdodDogMSxcbiAgbWFyZ2luUmlnaHQ6IHNpemUsXG4gIHRleHRBbGlnbjogJ2NlbnRlcicsXG4gIHZlcnRpY2FsQWxpZ246ICdtaWRkbGUnLFxuICAuLi4odW5zdHlsZWRcbiAgICA/IHt9XG4gICAgOiB7XG4gICAgICAgIGNvbG9yOiBpc0ZvY3VzZWQgPyBjb2xvcnMubmV1dHJhbDYwIDogY29sb3JzLm5ldXRyYWwyMCxcbiAgICAgICAgcGFkZGluZzogYmFzZVVuaXQgKiAyLFxuICAgICAgfSksXG59KTtcblxuaW50ZXJmYWNlIExvYWRpbmdEb3RQcm9wcyB7XG4gIGRlbGF5OiBudW1iZXI7XG4gIG9mZnNldDogYm9vbGVhbjtcbn1cbmNvbnN0IExvYWRpbmdEb3QgPSAoeyBkZWxheSwgb2Zmc2V0IH06IExvYWRpbmdEb3RQcm9wcykgPT4gKFxuICA8c3BhblxuICAgIGNzcz17e1xuICAgICAgYW5pbWF0aW9uOiBgJHtsb2FkaW5nRG90QW5pbWF0aW9uc30gMXMgZWFzZS1pbi1vdXQgJHtkZWxheX1tcyBpbmZpbml0ZTtgLFxuICAgICAgYmFja2dyb3VuZENvbG9yOiAnY3VycmVudENvbG9yJyxcbiAgICAgIGJvcmRlclJhZGl1czogJzFlbScsXG4gICAgICBkaXNwbGF5OiAnaW5saW5lLWJsb2NrJyxcbiAgICAgIG1hcmdpbkxlZnQ6IG9mZnNldCA/ICcxZW0nIDogdW5kZWZpbmVkLFxuICAgICAgaGVpZ2h0OiAnMWVtJyxcbiAgICAgIHZlcnRpY2FsQWxpZ246ICd0b3AnLFxuICAgICAgd2lkdGg6ICcxZW0nLFxuICAgIH19XG4gIC8+XG4pO1xuXG5leHBvcnQgaW50ZXJmYWNlIExvYWRpbmdJbmRpY2F0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIC8qKiBQcm9wcyB0aGF0IHdpbGwgYmUgcGFzc2VkIG9uIHRvIHRoZSBjaGlsZHJlbi4gKi9cbiAgaW5uZXJQcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydkaXYnXTtcbiAgLyoqIFRoZSBmb2N1c2VkIHN0YXRlIG9mIHRoZSBzZWxlY3QuICovXG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbiAgaXNEaXNhYmxlZDogYm9vbGVhbjtcbiAgLyoqIFNldCBzaXplIG9mIHRoZSBjb250YWluZXIuICovXG4gIHNpemU6IG51bWJlcjtcbn1cbmV4cG9ydCBjb25zdCBMb2FkaW5nSW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KHtcbiAgaW5uZXJQcm9wcyxcbiAgaXNSdGwsXG4gIHNpemUgPSA0LFxuICAuLi5yZXN0UHJvcHNcbn06IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPikgPT4ge1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKFxuICAgICAgICB7IC4uLnJlc3RQcm9wcywgaW5uZXJQcm9wcywgaXNSdGwsIHNpemUgfSxcbiAgICAgICAgJ2xvYWRpbmdJbmRpY2F0b3InLFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdsb2FkaW5nLWluZGljYXRvcic6IHRydWUsXG4gICAgICAgIH1cbiAgICAgICl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MH0gb2Zmc2V0PXtpc1J0bH0gLz5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXsxNjB9IG9mZnNldCAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezMyMH0gb2Zmc2V0PXshaXNSdGx9IC8+XG4gICAgPC9kaXY+XG4gICk7XG59O1xuIl19 */")})},NA=function(t){var n=t.innerProps,r=t.isRtl,o=t.size,a=o===void 0?4:o,i=hn(t,xA);return ue("div",de({},He(ce(ce({},i),{},{innerProps:n,isRtl:r,size:a}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),n),ue(Zc,{delay:0,offset:r}),ue(Zc,{delay:160,offset:!0}),ue(Zc,{delay:320,offset:!r}))},$A=function(t,n){var r=t.isDisabled,o=t.isFocused,a=t.theme,i=a.colors,s=a.borderRadius,l=a.spacing;return ce({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:l.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},n?{}:{backgroundColor:r?i.neutral5:i.neutral0,borderColor:r?i.neutral10:o?i.primary:i.neutral20,borderRadius:s,borderStyle:"solid",borderWidth:1,boxShadow:o?"0 0 0 1px ".concat(i.primary):void 0,"&:hover":{borderColor:o?i.primary:i.neutral30}})},kA=function(t){var n=t.children,r=t.isDisabled,o=t.isFocused,a=t.innerRef,i=t.innerProps,s=t.menuIsOpen;return ue("div",de({ref:a},He(t,"control",{control:!0,"control--is-disabled":r,"control--is-focused":o,"control--menu-is-open":s}),i,{"aria-disabled":r||void 0}),n)},OA=kA,FA=["data"],LA=function(t,n){var r=t.theme.spacing;return n?{}:{paddingBottom:r.baseUnit*2,paddingTop:r.baseUnit*2}},VA=function(t){var n=t.children,r=t.cx,o=t.getStyles,a=t.getClassNames,i=t.Heading,s=t.headingProps,l=t.innerProps,u=t.label,c=t.theme,d=t.selectProps;return ue("div",de({},He(t,"group",{group:!0}),l),ue(i,de({},s,{selectProps:d,theme:c,getStyles:o,getClassNames:a,cx:r}),u),ue("div",null,n))},jA=function(t,n){var r=t.theme,o=r.colors,a=r.spacing;return ce({label:"group",cursor:"default",display:"block"},n?{}:{color:o.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:a.baseUnit*3,paddingRight:a.baseUnit*3,textTransform:"uppercase"})},BA=function(t){var n=rb(t);n.data;var r=hn(n,FA);return ue("div",de({},He(t,"groupHeading",{"group-heading":!0}),r))},WA=VA,_A=["innerRef","isDisabled","isHidden","inputClassName"],GA=function(t,n){var r=t.isDisabled,o=t.value,a=t.theme,i=a.spacing,s=a.colors;return ce(ce({visibility:r?"hidden":"visible",transform:o?"translateZ(0)":""},RA),n?{}:{margin:i.baseUnit/2,paddingBottom:i.baseUnit/2,paddingTop:i.baseUnit/2,color:s.neutral80})},hb={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},RA={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":ce({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},hb)},zA=function(t){return ce({label:"input",color:"inherit",background:0,opacity:t?0:1,width:"100%"},hb)},HA=function(t){var n=t.cx,r=t.value,o=rb(t),a=o.innerRef,i=o.isDisabled,s=o.isHidden,l=o.inputClassName,u=hn(o,_A);return ue("div",de({},He(t,"input",{"input-container":!0}),{"data-value":r||""}),ue("input",de({className:n({input:!0},l),ref:a,style:zA(s),disabled:i},u)))},XA=HA,ZA=function(t,n){var r=t.theme,o=r.spacing,a=r.borderRadius,i=r.colors;return ce({label:"multiValue",display:"flex",minWidth:0},n?{}:{backgroundColor:i.neutral10,borderRadius:a/2,margin:o.baseUnit/2})},YA=function(t,n){var r=t.theme,o=r.borderRadius,a=r.colors,i=t.cropWithEllipsis;return ce({overflow:"hidden",textOverflow:i||i===void 0?"ellipsis":void 0,whiteSpace:"nowrap"},n?{}:{borderRadius:o/2,color:a.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},UA=function(t,n){var r=t.theme,o=r.spacing,a=r.borderRadius,i=r.colors,s=t.isFocused;return ce({alignItems:"center",display:"flex"},n?{}:{borderRadius:a/2,backgroundColor:s?i.dangerLight:void 0,paddingLeft:o.baseUnit,paddingRight:o.baseUnit,":hover":{backgroundColor:i.dangerLight,color:i.danger}})},gb=function(t){var n=t.children,r=t.innerProps;return ue("div",r,n)},KA=gb,JA=gb;function QA(e){var t=e.children,n=e.innerProps;return ue("div",de({role:"button"},n),t||ue(Xc,{size:14}))}var qA=function(t){var n=t.children,r=t.components,o=t.data,a=t.innerProps,i=t.isDisabled,s=t.removeProps,l=t.selectProps,u=r.Container,c=r.Label,d=r.Remove;return ue(u,{data:o,innerProps:ce(ce({},He(t,"multiValue",{"multi-value":!0,"multi-value--is-disabled":i})),a),selectProps:l},ue(c,{data:o,innerProps:ce({},He(t,"multiValueLabel",{"multi-value__label":!0})),selectProps:l},n),ue(d,{data:o,innerProps:ce(ce({},He(t,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(n||"option")},s),selectProps:l}))},eT=qA,tT=function(t,n){var r=t.isDisabled,o=t.isFocused,a=t.isSelected,i=t.theme,s=i.spacing,l=i.colors;return ce({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},n?{}:{backgroundColor:a?l.primary:o?l.primary25:"transparent",color:r?l.neutral20:a?l.neutral0:"inherit",padding:"".concat(s.baseUnit*2,"px ").concat(s.baseUnit*3,"px"),":active":{backgroundColor:r?void 0:a?l.primary:l.primary50}})},nT=function(t){var n=t.children,r=t.isDisabled,o=t.isFocused,a=t.isSelected,i=t.innerRef,s=t.innerProps;return ue("div",de({},He(t,"option",{option:!0,"option--is-disabled":r,"option--is-focused":o,"option--is-selected":a}),{ref:i,"aria-disabled":r},s),n)},rT=nT,oT=function(t,n){var r=t.theme,o=r.spacing,a=r.colors;return ce({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},n?{}:{color:a.neutral50,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},aT=function(t){var n=t.children,r=t.innerProps;return ue("div",de({},He(t,"placeholder",{placeholder:!0}),r),n)},iT=aT,sT=function(t,n){var r=t.isDisabled,o=t.theme,a=o.spacing,i=o.colors;return ce({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},n?{}:{color:r?i.neutral40:i.neutral80,marginLeft:a.baseUnit/2,marginRight:a.baseUnit/2})},lT=function(t){var n=t.children,r=t.isDisabled,o=t.innerProps;return ue("div",de({},He(t,"singleValue",{"single-value":!0,"single-value--is-disabled":r}),o),n)},uT=lT,Qr={ClearIndicator:SA,Control:OA,DropdownIndicator:EA,DownChevron:pb,CrossIcon:Xc,Group:WA,GroupHeading:BA,IndicatorsContainer:vA,IndicatorSeparator:AA,Input:XA,LoadingIndicator:NA,Menu:oA,MenuList:iA,MenuPortal:fA,LoadingMessage:cA,NoOptionsMessage:uA,MultiValue:eT,MultiValueContainer:KA,MultiValueLabel:JA,MultiValueRemove:QA,Option:rT,Placeholder:iT,SelectContainer:mA,SingleValue:uT,ValueContainer:gA},cT=function(t){return ce(ce({},Qr),t.components)},bb=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function dT(e,t){return!!(e===t||bb(e)&&bb(t))}function fT(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!dT(e[n],t[n]))return!1;return!0}function pT(e,t){t===void 0&&(t=fT);var n=null;function r(){for(var o=[],a=0;a<arguments.length;a++)o[a]=arguments[a];if(n&&n.lastThis===this&&t(o,n.lastArgs))return n.lastResult;var i=e.apply(this,o);return n={lastResult:i,lastArgs:o,lastThis:this},i}return r.clear=function(){n=null},r}function mT(){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 hT=process.env.NODE_ENV==="production"?{name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"}:{name:"1f43avz-a11yText-A11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;label:A11yText;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFNSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */",toString:mT},gT=function(t){return ue("span",de({css:hT},t))},vb=gT,bT={guidance:function(t){var n=t.isSearchable,r=t.isMulti,o=t.tabSelectsValue,a=t.context,i=t.isInitialFocus;switch(a){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(o?", press Tab to select the option and exit the menu":"",".");case"input":return i?"".concat(t["aria-label"]||"Select"," is focused ").concat(n?",type to refine list":"",", press Down to open the menu, ").concat(r?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(t){var n=t.action,r=t.label,o=r===void 0?"":r,a=t.labels,i=t.isDisabled;switch(n){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(o,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(a.length>1?"s":""," ").concat(a.join(","),", selected.");case"select-option":return i?"option ".concat(o," is disabled. Select another option."):"option ".concat(o,", selected.");default:return""}},onFocus:function(t){var n=t.context,r=t.focused,o=t.options,a=t.label,i=a===void 0?"":a,s=t.selectValue,l=t.isDisabled,u=t.isSelected,c=t.isAppleDevice,d=function(g,b){return g&&g.length?"".concat(g.indexOf(b)+1," of ").concat(g.length):""};if(n==="value"&&s)return"value ".concat(i," focused, ").concat(d(s,r),".");if(n==="menu"&&c){var p=l?" disabled":"",m="".concat(u?" selected":"").concat(p);return"".concat(i).concat(m,", ").concat(d(o,r),".")}return""},onFilter:function(t){var n=t.inputValue,r=t.resultsMessage;return"".concat(r).concat(n?" for search term "+n:"",".")}},vT=function(t){var n=t.ariaSelection,r=t.focusedOption,o=t.focusedValue,a=t.focusableOptions,i=t.isFocused,s=t.selectValue,l=t.selectProps,u=t.id,c=t.isAppleDevice,d=l.ariaLiveMessages,p=l.getOptionLabel,m=l.inputValue,h=l.isMulti,g=l.isOptionDisabled,b=l.isSearchable,x=l.menuIsOpen,y=l.options,w=l.screenReaderStatus,S=l.tabSelectsValue,E=l.isLoading,A=l["aria-label"],T=l["aria-live"],v=f.useMemo(function(){return ce(ce({},bT),d||{})},[d]),D=f.useMemo(function(){var O="";if(n&&v.onChange){var j=n.option,N=n.options,W=n.removedValue,K=n.removedValues,H=n.value,X=function(ae){return Array.isArray(ae)?null:ae},B=W||j||X(H),G=B?p(B):"",Y=N||K||void 0,R=Y?Y.map(p):[],Z=ce({isDisabled:B&&g(B,s),label:G,labels:R},n);O=v.onChange(Z)}return O},[n,v,g,s,p]),$=f.useMemo(function(){var O="",j=r||o,N=!!(r&&s&&s.includes(r));if(j&&v.onFocus){var W={focused:j,label:p(j),isDisabled:g(j,s),isSelected:N,options:a,context:j===r?"menu":"value",selectValue:s,isAppleDevice:c};O=v.onFocus(W)}return O},[r,o,p,g,v,a,s,c]),M=f.useMemo(function(){var O="";if(x&&y.length&&!E&&v.onFilter){var j=w({count:a.length});O=v.onFilter({inputValue:m,resultsMessage:j})}return O},[a,m,x,v,y,w,E]),k=(n==null?void 0:n.action)==="initial-input-focus",I=f.useMemo(function(){var O="";if(v.guidance){var j=o?"value":x?"menu":"input";O=v.guidance({"aria-label":A,context:j,isDisabled:r&&g(r,s),isMulti:h,isSearchable:b,tabSelectsValue:S,isInitialFocus:k})}return O},[A,r,o,h,g,b,x,v,s,S,k]),P=ue(f.Fragment,null,ue("span",{id:"aria-selection"},D),ue("span",{id:"aria-focused"},$),ue("span",{id:"aria-results"},M),ue("span",{id:"aria-guidance"},I));return ue(f.Fragment,null,ue(vb,{id:u},k&&P),ue(vb,{"aria-live":T,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},i&&!k&&P))},yT=vT,Yc=[{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źẑżžẓẕƶȥɀⱬꝣ"}],xT=new RegExp("["+Yc.map(function(e){return e.letters}).join("")+"]","g"),yb={},Uc=0;Uc<Yc.length;Uc++)for(var Kc=Yc[Uc],Jc=0;Jc<Kc.letters.length;Jc++)yb[Kc.letters[Jc]]=Kc.base;var xb=function(t){return t.replace(xT,function(n){return yb[n]})},CT=pT(xb),Cb=function(t){return t.replace(/^\s+|\s+$/g,"")},wT=function(t){return"".concat(t.label," ").concat(t.value)},IT=function(t){return function(n,r){if(n.data.__isNew__)return!0;var o=ce({ignoreCase:!0,ignoreAccents:!0,stringify:wT,trim:!0,matchFrom:"any"},t),a=o.ignoreCase,i=o.ignoreAccents,s=o.stringify,l=o.trim,u=o.matchFrom,c=l?Cb(r):r,d=l?Cb(s(n)):s(n);return a&&(c=c.toLowerCase(),d=d.toLowerCase()),i&&(c=CT(c),d=xb(d)),u==="start"?d.substr(0,c.length)===c:d.indexOf(c)>-1}},ET=["innerRef"];function PT(e){var t=e.innerRef,n=hn(e,ET),r=KM(n,"onExited","in","enter","exit","appear");return ue("input",de({ref:t},r,{css:Wc({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},process.env.NODE_ENV==="production"?"":";label:DummyInput;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVmIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgcmVtb3ZlUHJvcHMgfSBmcm9tICcuLi91dGlscyc7XG5cbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uIER1bW15SW5wdXQoe1xuICBpbm5lclJlZixcbiAgLi4ucHJvcHNcbn06IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snaW5wdXQnXSAmIHtcbiAgcmVhZG9ubHkgaW5uZXJSZWY6IFJlZjxIVE1MSW5wdXRFbGVtZW50Pjtcbn0pIHtcbiAgLy8gUmVtb3ZlIGFuaW1hdGlvbiBwcm9wcyBub3QgbWVhbnQgZm9yIEhUTUwgZWxlbWVudHNcbiAgY29uc3QgZmlsdGVyZWRQcm9wcyA9IHJlbW92ZVByb3BzKFxuICAgIHByb3BzLFxuICAgICdvbkV4aXRlZCcsXG4gICAgJ2luJyxcbiAgICAnZW50ZXInLFxuICAgICdleGl0JyxcbiAgICAnYXBwZWFyJ1xuICApO1xuXG4gIHJldHVybiAoXG4gICAgPGlucHV0XG4gICAgICByZWY9e2lubmVyUmVmfVxuICAgICAgey4uLmZpbHRlcmVkUHJvcHN9XG4gICAgICBjc3M9e3tcbiAgICAgICAgbGFiZWw6ICdkdW1teUlucHV0JyxcbiAgICAgICAgLy8gZ2V0IHJpZCBvZiBhbnkgZGVmYXVsdCBzdHlsZXNcbiAgICAgICAgYmFja2dyb3VuZDogMCxcbiAgICAgICAgYm9yZGVyOiAwLFxuICAgICAgICAvLyBpbXBvcnRhbnQhIHRoaXMgaGlkZXMgdGhlIGZsYXNoaW5nIGN1cnNvclxuICAgICAgICBjYXJldENvbG9yOiAndHJhbnNwYXJlbnQnLFxuICAgICAgICBmb250U2l6ZTogJ2luaGVyaXQnLFxuICAgICAgICBncmlkQXJlYTogJzEgLyAxIC8gMiAvIDMnLFxuICAgICAgICBvdXRsaW5lOiAwLFxuICAgICAgICBwYWRkaW5nOiAwLFxuICAgICAgICAvLyBpbXBvcnRhbnQhIHdpdGhvdXQgYHdpZHRoYCBicm93c2VycyB3b24ndCBhbGxvdyBmb2N1c1xuICAgICAgICB3aWR0aDogMSxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIGRlc2t0b3BcbiAgICAgICAgY29sb3I6ICd0cmFuc3BhcmVudCcsXG5cbiAgICAgICAgLy8gcmVtb3ZlIGN1cnNvciBvbiBtb2JpbGUgd2hpbHN0IG1haW50YWluaW5nIFwic2Nyb2xsIGludG8gdmlld1wiIGJlaGF2aW91clxuICAgICAgICBsZWZ0OiAtMTAwLFxuICAgICAgICBvcGFjaXR5OiAwLFxuICAgICAgICBwb3NpdGlvbjogJ3JlbGF0aXZlJyxcbiAgICAgICAgdHJhbnNmb3JtOiAnc2NhbGUoLjAxKScsXG4gICAgICB9fVxuICAgIC8+XG4gICk7XG59XG4iXX0= */")}))}var ST=function(t){t.cancelable&&t.preventDefault(),t.stopPropagation()};function MT(e){var t=e.isEnabled,n=e.onBottomArrive,r=e.onBottomLeave,o=e.onTopArrive,a=e.onTopLeave,i=f.useRef(!1),s=f.useRef(!1),l=f.useRef(0),u=f.useRef(null),c=f.useCallback(function(b,x){if(u.current!==null){var y=u.current,w=y.scrollTop,S=y.scrollHeight,E=y.clientHeight,A=u.current,T=x>0,v=S-E-w,D=!1;v>x&&i.current&&(r&&r(b),i.current=!1),T&&s.current&&(a&&a(b),s.current=!1),T&&x>v?(n&&!i.current&&n(b),A.scrollTop=S,D=!0,i.current=!0):!T&&-x>w&&(o&&!s.current&&o(b),A.scrollTop=0,D=!0,s.current=!0),D&&ST(b)}},[n,r,o,a]),d=f.useCallback(function(b){c(b,b.deltaY)},[c]),p=f.useCallback(function(b){l.current=b.changedTouches[0].clientY},[]),m=f.useCallback(function(b){var x=l.current-b.changedTouches[0].clientY;c(b,x)},[c]),h=f.useCallback(function(b){if(b){var x=ZM?{passive:!1}:!1;b.addEventListener("wheel",d,x),b.addEventListener("touchstart",p,x),b.addEventListener("touchmove",m,x)}},[m,p,d]),g=f.useCallback(function(b){b&&(b.removeEventListener("wheel",d,!1),b.removeEventListener("touchstart",p,!1),b.removeEventListener("touchmove",m,!1))},[m,p,d]);return f.useEffect(function(){if(t){var b=u.current;return h(b),function(){g(b)}}},[t,h,g]),function(b){u.current=b}}var wb=["boxSizing","height","overflow","paddingRight","position"],Ib={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Eb(e){e.preventDefault()}function Pb(e){e.stopPropagation()}function Sb(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;e===0?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function Mb(){return"ontouchstart"in window||navigator.maxTouchPoints}var Ab=!!(typeof window<"u"&&window.document&&window.document.createElement),ia=0,qr={capture:!1,passive:!1};function AT(e){var t=e.isEnabled,n=e.accountForScrollbars,r=n===void 0?!0:n,o=f.useRef({}),a=f.useRef(null),i=f.useCallback(function(l){if(Ab){var u=document.body,c=u&&u.style;if(r&&wb.forEach(function(h){var g=c&&c[h];o.current[h]=g}),r&&ia<1){var d=parseInt(o.current.paddingRight,10)||0,p=document.body?document.body.clientWidth:0,m=window.innerWidth-p+d||0;Object.keys(Ib).forEach(function(h){var g=Ib[h];c&&(c[h]=g)}),c&&(c.paddingRight="".concat(m,"px"))}u&&Mb()&&(u.addEventListener("touchmove",Eb,qr),l&&(l.addEventListener("touchstart",Sb,qr),l.addEventListener("touchmove",Pb,qr))),ia+=1}},[r]),s=f.useCallback(function(l){if(Ab){var u=document.body,c=u&&u.style;ia=Math.max(ia-1,0),r&&ia<1&&wb.forEach(function(d){var p=o.current[d];c&&(c[d]=p)}),u&&Mb()&&(u.removeEventListener("touchmove",Eb,qr),l&&(l.removeEventListener("touchstart",Sb,qr),l.removeEventListener("touchmove",Pb,qr)))}},[r]);return f.useEffect(function(){if(t){var l=a.current;return i(l),function(){s(l)}}},[t,i,s]),function(l){a.current=l}}function TT(){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 DT=function(t){var n=t.target;return n.ownerDocument.activeElement&&n.ownerDocument.activeElement.blur()},NT=process.env.NODE_ENV==="production"?{name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"}:{name:"bp8cua-ScrollManager",styles:"position:fixed;left:0;bottom:0;right:0;top:0;label:ScrollManager;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2ssIE1vdXNlRXZlbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcuL3VzZVNjcm9sbENhcHR1cmUnO1xuaW1wb3J0IHVzZVNjcm9sbExvY2sgZnJvbSAnLi91c2VTY3JvbGxMb2NrJztcblxuaW50ZXJmYWNlIFByb3BzIHtcbiAgcmVhZG9ubHkgY2hpbGRyZW46IChyZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PikgPT4gUmVhY3RFbGVtZW50O1xuICByZWFkb25seSBsb2NrRW5hYmxlZDogYm9vbGVhbjtcbiAgcmVhZG9ubHkgY2FwdHVyZUVuYWJsZWQ6IGJvb2xlYW47XG4gIHJlYWRvbmx5IG9uQm90dG9tQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVhZG9ubHkgb25Cb3R0b21MZWF2ZT86IChldmVudDogV2hlZWxFdmVudCB8IFRvdWNoRXZlbnQpID0+IHZvaWQ7XG4gIHJlYWRvbmx5IG9uVG9wQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVhZG9ubHkgb25Ub3BMZWF2ZT86IChldmVudDogV2hlZWxFdmVudCB8IFRvdWNoRXZlbnQpID0+IHZvaWQ7XG59XG5cbmNvbnN0IGJsdXJTZWxlY3RJbnB1dCA9IChldmVudDogTW91c2VFdmVudDxIVE1MRGl2RWxlbWVudD4pID0+IHtcbiAgY29uc3QgZWxlbWVudCA9IGV2ZW50LnRhcmdldCBhcyBIVE1MRGl2RWxlbWVudDtcbiAgcmV0dXJuIChcbiAgICBlbGVtZW50Lm93bmVyRG9jdW1lbnQuYWN0aXZlRWxlbWVudCAmJlxuICAgIChlbGVtZW50Lm93bmVyRG9jdW1lbnQuYWN0aXZlRWxlbWVudCBhcyBIVE1MRWxlbWVudCkuYmx1cigpXG4gICk7XG59O1xuXG5leHBvcnQgZGVmYXVsdCBmdW5jdGlvbiBTY3JvbGxNYW5hZ2VyKHtcbiAgY2hpbGRyZW4sXG4gIGxvY2tFbmFibGVkLFxuICBjYXB0dXJlRW5hYmxlZCA9IHRydWUsXG4gIG9uQm90dG9tQXJyaXZlLFxuICBvbkJvdHRvbUxlYXZlLFxuICBvblRvcEFycml2ZSxcbiAgb25Ub3BMZWF2ZSxcbn06IFByb3BzKSB7XG4gIGNvbnN0IHNldFNjcm9sbENhcHR1cmVUYXJnZXQgPSB1c2VTY3JvbGxDYXB0dXJlKHtcbiAgICBpc0VuYWJsZWQ6IGNhcHR1cmVFbmFibGVkLFxuICAgIG9uQm90dG9tQXJyaXZlLFxuICAgIG9uQm90dG9tTGVhdmUsXG4gICAgb25Ub3BBcnJpdmUsXG4gICAgb25Ub3BMZWF2ZSxcbiAgfSk7XG4gIGNvbnN0IHNldFNjcm9sbExvY2tUYXJnZXQgPSB1c2VTY3JvbGxMb2NrKHsgaXNFbmFibGVkOiBsb2NrRW5hYmxlZCB9KTtcblxuICBjb25zdCB0YXJnZXRSZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PiA9IChlbGVtZW50KSA9PiB7XG4gICAgc2V0U2Nyb2xsQ2FwdHVyZVRhcmdldChlbGVtZW50KTtcbiAgICBzZXRTY3JvbGxMb2NrVGFyZ2V0KGVsZW1lbnQpO1xuICB9O1xuXG4gIHJldHVybiAoXG4gICAgPEZyYWdtZW50PlxuICAgICAge2xvY2tFbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+XG4gICk7XG59XG4iXX0= */",toString:TT};function $T(e){var t=e.children,n=e.lockEnabled,r=e.captureEnabled,o=r===void 0?!0:r,a=e.onBottomArrive,i=e.onBottomLeave,s=e.onTopArrive,l=e.onTopLeave,u=MT({isEnabled:o,onBottomArrive:a,onBottomLeave:i,onTopArrive:s,onTopLeave:l}),c=AT({isEnabled:n}),d=function(m){u(m),c(m)};return ue(f.Fragment,null,n&&ue("div",{onClick:DT,css:NT}),t(d))}function kT(){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 OT=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:kT},FT=function(t){var n=t.name,r=t.onFocus;return ue("input",{required:!0,name:n,tabIndex:-1,"aria-hidden":"true",onFocus:r,css:OT,value:"",onChange:function(){}})},LT=FT;function Qc(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 VT(){return Qc(/^iPhone/i)}function Tb(){return Qc(/^Mac/i)}function jT(){return Qc(/^iPad/i)||Tb()&&navigator.maxTouchPoints>1}function BT(){return VT()||jT()}function WT(){return Tb()||BT()}var _T=function(t){return t.label},GT=function(t){return t.label},RT=function(t){return t.value},zT=function(t){return!!t.isDisabled},HT={clearIndicator:PA,container:pA,control:$A,dropdownIndicator:IA,group:LA,groupHeading:jA,indicatorsContainer:bA,indicatorSeparator:MA,input:GA,loadingIndicator:DA,loadingMessage:lA,menu:tA,menuList:aA,menuPortal:dA,multiValue:ZA,multiValueLabel:YA,multiValueRemove:UA,noOptionsMessage:sA,option:tT,placeholder:oT,singleValue:sT,valueContainer:hA},XT={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%)"},ZT=4,Db=4,YT=38,UT=Db*2,KT={baseUnit:Db,controlHeight:YT,menuGutter:UT},qc={borderRadius:ZT,colors:XT,spacing:KT},JT={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:ib(),captureMenuScroll:!ib(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:IT(),formatGroupLabel:_T,getOptionLabel:GT,getOptionValue:RT,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:zT,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!HM(),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 Nb(e,t,n,r){var o=Lb(e,t,n),a=Vb(e,t,n),i=Fb(e,t),s=vs(e,t);return{type:"option",data:t,isDisabled:o,isSelected:a,label:i,value:s,index:r}}function bs(e,t){return e.options.map(function(n,r){if("options"in n){var o=n.options.map(function(i,s){return Nb(e,i,t,s)}).filter(function(i){return Ob(e,i)});return o.length>0?{type:"group",data:n,options:o,index:r}:void 0}var a=Nb(e,n,t,r);return Ob(e,a)?a:void 0}).filter(YM)}function $b(e){return e.reduce(function(t,n){return n.type==="group"?t.push.apply(t,Ic(n.options.map(function(r){return r.data}))):t.push(n.data),t},[])}function kb(e,t){return e.reduce(function(n,r){return r.type==="group"?n.push.apply(n,Ic(r.options.map(function(o){return{data:o.data,id:"".concat(t,"-").concat(r.index,"-").concat(o.index)}}))):n.push({data:r.data,id:"".concat(t,"-").concat(r.index)}),n},[])}function QT(e,t){return $b(bs(e,t))}function Ob(e,t){var n=e.inputValue,r=n===void 0?"":n,o=t.data,a=t.isSelected,i=t.label,s=t.value;return(!Bb(e)||!a)&&jb(e,{label:i,value:s,data:o},r)}function qT(e,t){var n=e.focusedValue,r=e.selectValue,o=r.indexOf(n);if(o>-1){var a=t.indexOf(n);if(a>-1)return n;if(o<t.length)return t[o]}return null}function eD(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}var ed=function(t,n){var r,o=(r=t.find(function(a){return a.data===n}))===null||r===void 0?void 0:r.id;return o||null},Fb=function(t,n){return t.getOptionLabel(n)},vs=function(t,n){return t.getOptionValue(n)};function Lb(e,t,n){return typeof e.isOptionDisabled=="function"?e.isOptionDisabled(t,n):!1}function Vb(e,t,n){if(n.indexOf(t)>-1)return!0;if(typeof e.isOptionSelected=="function")return e.isOptionSelected(t,n);var r=vs(e,t);return n.some(function(o){return vs(e,o)===r})}function jb(e,t,n){return e.filterOption?e.filterOption(t,n):!0}var Bb=function(t){var n=t.hideSelectedOptions,r=t.isMulti;return n===void 0?r:n},tD=1,Wb=function(e){aS(n,e);var t=lS(n);function n(r){var o;if(rS(this,n),o=t.call(this,r),o.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:""},o.blockOptionHover=!1,o.isComposing=!1,o.commonProps=void 0,o.initialTouchX=0,o.initialTouchY=0,o.openAfterFocus=!1,o.scrollToFocusedOptionOnUpdate=!1,o.userIsDragging=void 0,o.isAppleDevice=WT(),o.controlRef=null,o.getControlRef=function(l){o.controlRef=l},o.focusedOptionRef=null,o.getFocusedOptionRef=function(l){o.focusedOptionRef=l},o.menuListRef=null,o.getMenuListRef=function(l){o.menuListRef=l},o.inputRef=null,o.getInputRef=function(l){o.inputRef=l},o.focus=o.focusInput,o.blur=o.blurInput,o.onChange=function(l,u){var c=o.props,d=c.onChange,p=c.name;u.name=p,o.ariaOnChange(l,u),d(l,u)},o.setValue=function(l,u,c){var d=o.props,p=d.closeMenuOnSelect,m=d.isMulti,h=d.inputValue;o.onInputChange("",{action:"set-value",prevInputValue:h}),p&&(o.setState({inputIsHiddenAfterUpdate:!m}),o.onMenuClose()),o.setState({clearFocusValueOnUpdate:!0}),o.onChange(l,{action:u,option:c})},o.selectOption=function(l){var u=o.props,c=u.blurInputOnSelect,d=u.isMulti,p=u.name,m=o.state.selectValue,h=d&&o.isOptionSelected(l,m),g=o.isOptionDisabled(l,m);if(h){var b=o.getOptionValue(l);o.setValue(m.filter(function(x){return o.getOptionValue(x)!==b}),"deselect-option",l)}else if(!g)d?o.setValue([].concat(Ic(m),[l]),"select-option",l):o.setValue(l,"select-option");else{o.ariaOnChange(l,{action:"select-option",option:l,name:p});return}c&&o.blurInput()},o.removeValue=function(l){var u=o.props.isMulti,c=o.state.selectValue,d=o.getOptionValue(l),p=c.filter(function(h){return o.getOptionValue(h)!==d}),m=gs(u,p,p[0]||null);o.onChange(m,{action:"remove-value",removedValue:l}),o.focusInput()},o.clearValue=function(){var l=o.state.selectValue;o.onChange(gs(o.props.isMulti,[],null),{action:"clear",removedValues:l})},o.popValue=function(){var l=o.props.isMulti,u=o.state.selectValue,c=u[u.length-1],d=u.slice(0,u.length-1),p=gs(l,d,d[0]||null);o.onChange(p,{action:"pop-value",removedValue:c})},o.getFocusedOptionId=function(l){return ed(o.state.focusableOptionsWithIds,l)},o.getFocusableOptionsWithIds=function(){return kb(bs(o.props,o.state.selectValue),o.getElementId("option"))},o.getValue=function(){return o.state.selectValue},o.cx=function(){for(var l=arguments.length,u=new Array(l),c=0;c<l;c++)u[c]=arguments[c];return WM.apply(void 0,[o.props.classNamePrefix].concat(u))},o.getOptionLabel=function(l){return Fb(o.props,l)},o.getOptionValue=function(l){return vs(o.props,l)},o.getStyles=function(l,u){var c=o.props.unstyled,d=HT[l](u,c);d.boxSizing="border-box";var p=o.props.styles[l];return p?p(d,u):d},o.getClassNames=function(l,u){var c,d;return(c=(d=o.props.classNames)[l])===null||c===void 0?void 0:c.call(d,u)},o.getElementId=function(l){return"".concat(o.state.instancePrefix,"-").concat(l)},o.getComponents=function(){return cT(o.props)},o.buildCategorizedOptions=function(){return bs(o.props,o.state.selectValue)},o.getCategorizedOptions=function(){return o.props.menuIsOpen?o.buildCategorizedOptions():[]},o.buildFocusableOptions=function(){return $b(o.buildCategorizedOptions())},o.getFocusableOptions=function(){return o.props.menuIsOpen?o.buildFocusableOptions():[]},o.ariaOnChange=function(l,u){o.setState({ariaSelection:ce({value:l},u)})},o.onMenuMouseDown=function(l){l.button===0&&(l.stopPropagation(),l.preventDefault(),o.focusInput())},o.onMenuMouseMove=function(l){o.blockOptionHover=!1},o.onControlMouseDown=function(l){if(!l.defaultPrevented){var u=o.props.openMenuOnClick;o.state.isFocused?o.props.menuIsOpen?l.target.tagName!=="INPUT"&&l.target.tagName!=="TEXTAREA"&&o.onMenuClose():u&&o.openMenu("first"):(u&&(o.openAfterFocus=!0),o.focusInput()),l.target.tagName!=="INPUT"&&l.target.tagName!=="TEXTAREA"&&l.preventDefault()}},o.onDropdownIndicatorMouseDown=function(l){if(!(l&&l.type==="mousedown"&&l.button!==0)&&!o.props.isDisabled){var u=o.props,c=u.isMulti,d=u.menuIsOpen;o.focusInput(),d?(o.setState({inputIsHiddenAfterUpdate:!c}),o.onMenuClose()):o.openMenu("first"),l.preventDefault()}},o.onClearIndicatorMouseDown=function(l){l&&l.type==="mousedown"&&l.button!==0||(o.clearValue(),l.preventDefault(),o.openAfterFocus=!1,l.type==="touchend"?o.focusInput():setTimeout(function(){return o.focusInput()}))},o.onScroll=function(l){typeof o.props.closeMenuOnScroll=="boolean"?l.target instanceof HTMLElement&&fs(l.target)&&o.props.onMenuClose():typeof o.props.closeMenuOnScroll=="function"&&o.props.closeMenuOnScroll(l)&&o.props.onMenuClose()},o.onCompositionStart=function(){o.isComposing=!0},o.onCompositionEnd=function(){o.isComposing=!1},o.onTouchStart=function(l){var u=l.touches,c=u&&u.item(0);c&&(o.initialTouchX=c.clientX,o.initialTouchY=c.clientY,o.userIsDragging=!1)},o.onTouchMove=function(l){var u=l.touches,c=u&&u.item(0);if(c){var d=Math.abs(c.clientX-o.initialTouchX),p=Math.abs(c.clientY-o.initialTouchY),m=5;o.userIsDragging=d>m||p>m}},o.onTouchEnd=function(l){o.userIsDragging||(o.controlRef&&!o.controlRef.contains(l.target)&&o.menuListRef&&!o.menuListRef.contains(l.target)&&o.blurInput(),o.initialTouchX=0,o.initialTouchY=0)},o.onControlTouchEnd=function(l){o.userIsDragging||o.onControlMouseDown(l)},o.onClearIndicatorTouchEnd=function(l){o.userIsDragging||o.onClearIndicatorMouseDown(l)},o.onDropdownIndicatorTouchEnd=function(l){o.userIsDragging||o.onDropdownIndicatorMouseDown(l)},o.handleInputChange=function(l){var u=o.props.inputValue,c=l.currentTarget.value;o.setState({inputIsHiddenAfterUpdate:!1}),o.onInputChange(c,{action:"input-change",prevInputValue:u}),o.props.menuIsOpen||o.onMenuOpen()},o.onInputFocus=function(l){o.props.onFocus&&o.props.onFocus(l),o.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(o.openAfterFocus||o.props.openMenuOnFocus)&&o.openMenu("first"),o.openAfterFocus=!1},o.onInputBlur=function(l){var u=o.props.inputValue;if(o.menuListRef&&o.menuListRef.contains(document.activeElement)){o.inputRef.focus();return}o.props.onBlur&&o.props.onBlur(l),o.onInputChange("",{action:"input-blur",prevInputValue:u}),o.onMenuClose(),o.setState({focusedValue:null,isFocused:!1})},o.onOptionHover=function(l){if(!(o.blockOptionHover||o.state.focusedOption===l)){var u=o.getFocusableOptions(),c=u.indexOf(l);o.setState({focusedOption:l,focusedOptionId:c>-1?o.getFocusedOptionId(l):null})}},o.shouldHideSelectedOptions=function(){return Bb(o.props)},o.onValueInputFocus=function(l){l.preventDefault(),l.stopPropagation(),o.focus()},o.onKeyDown=function(l){var u=o.props,c=u.isMulti,d=u.backspaceRemovesValue,p=u.escapeClearsValue,m=u.inputValue,h=u.isClearable,g=u.isDisabled,b=u.menuIsOpen,x=u.onKeyDown,y=u.tabSelectsValue,w=u.openMenuOnFocus,S=o.state,E=S.focusedOption,A=S.focusedValue,T=S.selectValue;if(!g&&!(typeof x=="function"&&(x(l),l.defaultPrevented))){switch(o.blockOptionHover=!0,l.key){case"ArrowLeft":if(!c||m)return;o.focusValue("previous");break;case"ArrowRight":if(!c||m)return;o.focusValue("next");break;case"Delete":case"Backspace":if(m)return;if(A)o.removeValue(A);else{if(!d)return;c?o.popValue():h&&o.clearValue()}break;case"Tab":if(o.isComposing||l.shiftKey||!b||!y||!E||w&&o.isOptionSelected(E,T))return;o.selectOption(E);break;case"Enter":if(l.keyCode===229)break;if(b){if(!E||o.isComposing)return;o.selectOption(E);break}return;case"Escape":b?(o.setState({inputIsHiddenAfterUpdate:!1}),o.onInputChange("",{action:"menu-close",prevInputValue:m}),o.onMenuClose()):h&&p&&o.clearValue();break;case" ":if(m)return;if(!b){o.openMenu("first");break}if(!E)return;o.selectOption(E);break;case"ArrowUp":b?o.focusOption("up"):o.openMenu("last");break;case"ArrowDown":b?o.focusOption("down"):o.openMenu("first");break;case"PageUp":if(!b)return;o.focusOption("pageup");break;case"PageDown":if(!b)return;o.focusOption("pagedown");break;case"Home":if(!b)return;o.focusOption("first");break;case"End":if(!b)return;o.focusOption("last");break;default:return}l.preventDefault()}},o.state.instancePrefix="react-select-"+(o.props.instanceId||++tD),o.state.selectValue=nb(r.value),r.menuIsOpen&&o.state.selectValue.length){var a=o.getFocusableOptionsWithIds(),i=o.buildFocusableOptions(),s=i.indexOf(o.state.selectValue[0]);o.state.focusableOptionsWithIds=a,o.state.focusedOption=i[s],o.state.focusedOptionId=ed(a,i[s])}return o}return oS(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&&ab(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(o){var a=this.props,i=a.isDisabled,s=a.menuIsOpen,l=this.state.isFocused;(l&&!i&&o.isDisabled||l&&s&&!o.menuIsOpen)&&this.focusInput(),l&&i&&!o.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!l&&!i&&o.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(ab(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(o,a){this.props.onInputChange(o,a)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(o){var a=this,i=this.state,s=i.selectValue,l=i.isFocused,u=this.buildFocusableOptions(),c=o==="first"?0:u.length-1;if(!this.props.isMulti){var d=u.indexOf(s[0]);d>-1&&(c=d)}this.scrollToFocusedOptionOnUpdate=!(l&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:u[c],focusedOptionId:this.getFocusedOptionId(u[c])},function(){return a.onMenuOpen()})}},{key:"focusValue",value:function(o){var a=this.state,i=a.selectValue,s=a.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var l=i.indexOf(s);s||(l=-1);var u=i.length-1,c=-1;if(i.length){switch(o){case"previous":l===0?c=0:l===-1?c=u:c=l-1;break;case"next":l>-1&&l<u&&(c=l+1);break}this.setState({inputIsHidden:c!==-1,focusedValue:i[c]})}}}},{key:"focusOption",value:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"first",a=this.props.pageSize,i=this.state.focusedOption,s=this.getFocusableOptions();if(s.length){var l=0,u=s.indexOf(i);i||(u=-1),o==="up"?l=u>0?u-1:s.length-1:o==="down"?l=(u+1)%s.length:o==="pageup"?(l=u-a,l<0&&(l=0)):o==="pagedown"?(l=u+a,l>s.length-1&&(l=s.length-1)):o==="last"&&(l=s.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:s[l],focusedValue:null,focusedOptionId:this.getFocusedOptionId(s[l])})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(qc):ce(ce({},qc),this.props.theme):qc}},{key:"getCommonProps",value:function(){var o=this.clearValue,a=this.cx,i=this.getStyles,s=this.getClassNames,l=this.getValue,u=this.selectOption,c=this.setValue,d=this.props,p=d.isMulti,m=d.isRtl,h=d.options,g=this.hasValue();return{clearValue:o,cx:a,getStyles:i,getClassNames:s,getValue:l,hasValue:g,isMulti:p,isRtl:m,options:h,selectOption:u,selectProps:d,setValue:c,theme:this.getTheme()}}},{key:"hasValue",value:function(){var o=this.state.selectValue;return o.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var o=this.props,a=o.isClearable,i=o.isMulti;return a===void 0?i:a}},{key:"isOptionDisabled",value:function(o,a){return Lb(this.props,o,a)}},{key:"isOptionSelected",value:function(o,a){return Vb(this.props,o,a)}},{key:"filterOption",value:function(o,a){return jb(this.props,o,a)}},{key:"formatOptionLabel",value:function(o,a){if(typeof this.props.formatOptionLabel=="function"){var i=this.props.inputValue,s=this.state.selectValue;return this.props.formatOptionLabel(o,{context:a,inputValue:i,selectValue:s})}else return this.getOptionLabel(o)}},{key:"formatGroupLabel",value:function(o){return this.props.formatGroupLabel(o)}},{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 o=this.props,a=o.isDisabled,i=o.isSearchable,s=o.inputId,l=o.inputValue,u=o.tabIndex,c=o.form,d=o.menuIsOpen,p=o.required,m=this.getComponents(),h=m.Input,g=this.state,b=g.inputIsHidden,x=g.ariaSelection,y=this.commonProps,w=s||this.getElementId("input"),S=ce(ce(ce({"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":p,role:"combobox","aria-activedescendant":this.isAppleDevice?void 0:this.state.focusedOptionId||""},d&&{"aria-controls":this.getElementId("listbox")}),!i&&{"aria-readonly":!0}),this.hasValue()?(x==null?void 0:x.action)==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return i?V.createElement(h,de({},y,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:w,innerRef:this.getInputRef,isDisabled:a,isHidden:b,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:u,form:c,type:"text",value:l},S)):V.createElement(PT,de({id:w,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:ds,onFocus:this.onInputFocus,disabled:a,tabIndex:u,inputMode:"none",form:c,value:""},S))}},{key:"renderPlaceholderOrValue",value:function(){var o=this,a=this.getComponents(),i=a.MultiValue,s=a.MultiValueContainer,l=a.MultiValueLabel,u=a.MultiValueRemove,c=a.SingleValue,d=a.Placeholder,p=this.commonProps,m=this.props,h=m.controlShouldRenderValue,g=m.isDisabled,b=m.isMulti,x=m.inputValue,y=m.placeholder,w=this.state,S=w.selectValue,E=w.focusedValue,A=w.isFocused;if(!this.hasValue()||!h)return x?null:V.createElement(d,de({},p,{key:"placeholder",isDisabled:g,isFocused:A,innerProps:{id:this.getElementId("placeholder")}}),y);if(b)return S.map(function(v,D){var $=v===E,M="".concat(o.getOptionLabel(v),"-").concat(o.getOptionValue(v));return V.createElement(i,de({},p,{components:{Container:s,Label:l,Remove:u},isFocused:$,isDisabled:g,key:M,index:D,removeProps:{onClick:function(){return o.removeValue(v)},onTouchEnd:function(){return o.removeValue(v)},onMouseDown:function(I){I.preventDefault()}},data:v}),o.formatOptionLabel(v,"value"))});if(x)return null;var T=S[0];return V.createElement(c,de({},p,{data:T,isDisabled:g}),this.formatOptionLabel(T,"value"))}},{key:"renderClearIndicator",value:function(){var o=this.getComponents(),a=o.ClearIndicator,i=this.commonProps,s=this.props,l=s.isDisabled,u=s.isLoading,c=this.state.isFocused;if(!this.isClearable()||!a||l||!this.hasValue()||u)return null;var d={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return V.createElement(a,de({},i,{innerProps:d,isFocused:c}))}},{key:"renderLoadingIndicator",value:function(){var o=this.getComponents(),a=o.LoadingIndicator,i=this.commonProps,s=this.props,l=s.isDisabled,u=s.isLoading,c=this.state.isFocused;if(!a||!u)return null;var d={"aria-hidden":"true"};return V.createElement(a,de({},i,{innerProps:d,isDisabled:l,isFocused:c}))}},{key:"renderIndicatorSeparator",value:function(){var o=this.getComponents(),a=o.DropdownIndicator,i=o.IndicatorSeparator;if(!a||!i)return null;var s=this.commonProps,l=this.props.isDisabled,u=this.state.isFocused;return V.createElement(i,de({},s,{isDisabled:l,isFocused:u}))}},{key:"renderDropdownIndicator",value:function(){var o=this.getComponents(),a=o.DropdownIndicator;if(!a)return null;var i=this.commonProps,s=this.props.isDisabled,l=this.state.isFocused,u={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return V.createElement(a,de({},i,{innerProps:u,isDisabled:s,isFocused:l}))}},{key:"renderMenu",value:function(){var o=this,a=this.getComponents(),i=a.Group,s=a.GroupHeading,l=a.Menu,u=a.MenuList,c=a.MenuPortal,d=a.LoadingMessage,p=a.NoOptionsMessage,m=a.Option,h=this.commonProps,g=this.state.focusedOption,b=this.props,x=b.captureMenuScroll,y=b.inputValue,w=b.isLoading,S=b.loadingMessage,E=b.minMenuHeight,A=b.maxMenuHeight,T=b.menuIsOpen,v=b.menuPlacement,D=b.menuPosition,$=b.menuPortalTarget,M=b.menuShouldBlockScroll,k=b.menuShouldScrollIntoView,I=b.noOptionsMessage,P=b.onMenuScrollToTop,O=b.onMenuScrollToBottom;if(!T)return null;var j=function(G,Y){var R=G.type,Z=G.data,q=G.isDisabled,ae=G.isSelected,le=G.label,pe=G.value,be=g===Z,Q=q?void 0:function(){return o.onOptionHover(Z)},Pe=q?void 0:function(){return o.selectOption(Z)},ie="".concat(o.getElementId("option"),"-").concat(Y),ne={id:ie,onClick:Pe,onMouseMove:Q,onMouseOver:Q,tabIndex:-1,role:"option","aria-selected":o.isAppleDevice?void 0:ae};return V.createElement(m,de({},h,{innerProps:ne,data:Z,isDisabled:q,isSelected:ae,key:ie,label:le,type:R,value:pe,isFocused:be,innerRef:be?o.getFocusedOptionRef:void 0}),o.formatOptionLabel(G.data,"menu"))},N;if(this.hasOptions())N=this.getCategorizedOptions().map(function(B){if(B.type==="group"){var G=B.data,Y=B.options,R=B.index,Z="".concat(o.getElementId("group"),"-").concat(R),q="".concat(Z,"-heading");return V.createElement(i,de({},h,{key:Z,data:G,options:Y,Heading:s,headingProps:{id:q,data:B.data},label:o.formatGroupLabel(B.data)}),B.options.map(function(ae){return j(ae,"".concat(R,"-").concat(ae.index))}))}else if(B.type==="option")return j(B,"".concat(B.index))});else if(w){var W=S({inputValue:y});if(W===null)return null;N=V.createElement(d,h,W)}else{var K=I({inputValue:y});if(K===null)return null;N=V.createElement(p,h,K)}var H={minMenuHeight:E,maxMenuHeight:A,menuPlacement:v,menuPosition:D,menuShouldScrollIntoView:k},X=V.createElement(nA,de({},h,H),function(B){var G=B.ref,Y=B.placerProps,R=Y.placement,Z=Y.maxHeight;return V.createElement(l,de({},h,H,{innerRef:G,innerProps:{onMouseDown:o.onMenuMouseDown,onMouseMove:o.onMenuMouseMove},isLoading:w,placement:R}),V.createElement($T,{captureEnabled:x,onTopArrive:P,onBottomArrive:O,lockEnabled:M},function(q){return V.createElement(u,de({},h,{innerRef:function(le){o.getMenuListRef(le),q(le)},innerProps:{role:"listbox","aria-multiselectable":h.isMulti,id:o.getElementId("listbox")},isLoading:w,maxHeight:Z,focusedOption:g}),N)}))});return $||D==="fixed"?V.createElement(c,de({},h,{appendTo:$,controlElement:this.controlRef,menuPlacement:v,menuPosition:D}),X):X}},{key:"renderFormField",value:function(){var o=this,a=this.props,i=a.delimiter,s=a.isDisabled,l=a.isMulti,u=a.name,c=a.required,d=this.state.selectValue;if(c&&!this.hasValue()&&!s)return V.createElement(LT,{name:u,onFocus:this.onValueInputFocus});if(!(!u||s))if(l)if(i){var p=d.map(function(g){return o.getOptionValue(g)}).join(i);return V.createElement("input",{name:u,type:"hidden",value:p})}else{var m=d.length>0?d.map(function(g,b){return V.createElement("input",{key:"i-".concat(b),name:u,type:"hidden",value:o.getOptionValue(g)})}):V.createElement("input",{name:u,type:"hidden",value:""});return V.createElement("div",null,m)}else{var h=d[0]?this.getOptionValue(d[0]):"";return V.createElement("input",{name:u,type:"hidden",value:h})}}},{key:"renderLiveRegion",value:function(){var o=this.commonProps,a=this.state,i=a.ariaSelection,s=a.focusedOption,l=a.focusedValue,u=a.isFocused,c=a.selectValue,d=this.getFocusableOptions();return V.createElement(yT,de({},o,{id:this.getElementId("live-region"),ariaSelection:i,focusedOption:s,focusedValue:l,isFocused:u,selectValue:c,focusableOptions:d,isAppleDevice:this.isAppleDevice}))}},{key:"render",value:function(){var o=this.getComponents(),a=o.Control,i=o.IndicatorsContainer,s=o.SelectContainer,l=o.ValueContainer,u=this.props,c=u.className,d=u.id,p=u.isDisabled,m=u.menuIsOpen,h=this.state.isFocused,g=this.commonProps=this.getCommonProps();return V.createElement(s,de({},g,{className:c,innerProps:{id:d,onKeyDown:this.onKeyDown},isDisabled:p,isFocused:h}),this.renderLiveRegion(),V.createElement(a,de({},g,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:p,isFocused:h,menuIsOpen:m}),V.createElement(l,de({},g,{isDisabled:p}),this.renderPlaceholderOrValue(),this.renderInput()),V.createElement(i,de({},g,{isDisabled:p}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(o,a){var i=a.prevProps,s=a.clearFocusValueOnUpdate,l=a.inputIsHiddenAfterUpdate,u=a.ariaSelection,c=a.isFocused,d=a.prevWasFocused,p=a.instancePrefix,m=o.options,h=o.value,g=o.menuIsOpen,b=o.inputValue,x=o.isMulti,y=nb(h),w={};if(i&&(h!==i.value||m!==i.options||g!==i.menuIsOpen||b!==i.inputValue)){var S=g?QT(o,y):[],E=g?kb(bs(o,y),"".concat(p,"-option")):[],A=s?qT(a,y):null,T=eD(a,S),v=ed(E,T);w={selectValue:y,focusedOption:T,focusedOptionId:v,focusableOptionsWithIds:E,focusedValue:A,clearFocusValueOnUpdate:!1}}var D=l!=null&&o!==i?{inputIsHidden:l,inputIsHiddenAfterUpdate:void 0}:{},$=u,M=c&&d;return c&&!M&&($={value:gs(x,y,y[0]||null),options:y,action:"initial-input-focus"},M=!d),(u==null?void 0:u.action)==="initial-input-focus"&&($=null),ce(ce(ce({},w),D),{},{prevProps:o,ariaSelection:$,prevWasFocused:M})}}]),n}(f.Component);Wb.defaultProps=JT;var nD=f.forwardRef(function(e,t){var n=nS(e);return V.createElement(Wb,de({ref:t},n))}),rD=nD;const oD=e=>{const t=({children:r,...o})=>{const a=o.getValue()[0],{hasValue:i}=o;return i?F.jsx(Qr.ValueContainer,{...o,children:F.jsxs("div",{className:"flex cursor-pointer items-center gap-3",children:[a.prefix,r,a.isDefault&&F.jsx(cc,{color:"gray",children:"Default"})]})}):F.jsx(Qr.ValueContainer,{...o,className:"cursor-pointer",children:r})},n=({innerRef:r,innerProps:o,children:a,data:i})=>{const s=i;return F.jsx("div",{ref:r,...o,children:F.jsxs("div",{className:"flex cursor-pointer items-center gap-3 bg-white px-4 py-2 font-satoshi text-sm leading-normal text-primary-grey-800 hover:bg-primary-grey-500 hover:font-medium",children:[s.prefix,a,s.isDefault&&F.jsx(cc,{color:"gray",children:"Default"})]})})};return F.jsx(_b,{isSearchable:!1,customValueContainer:t,customOption:n,...e})},_b=({label:e,value:t,defaultValue:n,placeholder:r,isInvalid:o,className:a,disabled:i,onChange:s,noOptionsMessage:l,errorMessage:u,options:c,isSearchable:d,customOption:p,isValid:m,customPlaceholder:h,customControl:g,customDropdownIndicator:b,customValueContainer:x})=>{const y=ye({base:"block h-12 w-full rounded-lg border border-primary-grey-700 bg-white px-4",variants:{disabled:{true:"border-primary-grey-500 bg-primary-grey-500"},isFocused:{true:"text-black"},isInvalid:{true:"border-complementary-red-500"},isCompleted:{true:"border-secondary-green-500"}}}),w=ye({base:"font-satoshi text-sm leading-normal text-primary-grey-800",variants:{disabled:{true:"text-primary-grey-700"}}}),S=ye({base:"text-primary-grey-800",variants:{disabled:{true:"text-primary-grey-700"}}}),E=ye({base:"mt-[5px] rounded-lg border border-primary-grey-600 bg-white py-2"}),A=ye({base:"cursor-pointer bg-white px-4 py-2 font-satoshi text-sm leading-normal text-primary-grey-800 hover:bg-primary-grey-500 hover:font-medium"}),T=ye({base:"pointer-events-none invisible absolute left-4 top-[29%] bg-transparent font-inter text-sm leading-normal text-primary-grey-800 transition-all duration-200",variants:{hasValue:{true:"visible -top-6 text-xs transition-all duration-200"},isInvalid:{true:"text-complementary-red-500"},isCompleted:{true:"text-secondary-green-500"}}});let k={DropdownIndicator:b||(I=>F.jsx(Qr.DropdownIndicator,{...I,children:F.jsx(sg,{className:S({disabled:I.isDisabled})})})),Control:g||(I=>F.jsxs("div",{className:"relative",children:[F.jsx(Qr.Control,{...I}),F.jsx("label",{className:T({hasValue:I.hasValue,isInvalid:o,isCompleted:m}),children:e})]})),Option:p||(({innerRef:I,innerProps:P,children:O})=>F.jsx("div",{ref:I,...P,children:F.jsx("div",{className:A(),children:O})})),Placeholder:({children:I,...P})=>F.jsx(Qr.Placeholder,{...P,children:h||I})};return x&&(k={...k,ValueContainer:x}),F.jsxs("div",{className:"h-[74px] w-full",children:[F.jsx(rD,{value:t,isSearchable:d,options:c,unstyled:!0,isDisabled:i,defaultValue:n,placeholder:r,onChange:s,classNames:{control:({isDisabled:I,isFocused:P})=>y({disabled:I,isFocused:P,isInvalid:o,isCompleted:m}),placeholder:({isDisabled:I})=>w({disabled:I}),menuList:()=>E(),option:()=>A(),input:()=>a||""},components:k,noOptionsMessage:()=>l}),o&&u&&F.jsx("span",{className:"mt-2 pl-4 font-satoshi text-xs font-normal leading-normal text-complementary-red-500",children:u})]})},aD=({label:e,initialDate:t,onSelect:n,dateFormat:r})=>{const[o,a]=f.useState(!1),[i,s]=f.useState(t),l=()=>{a(!0)},u=d=>{n&&n(d),s(d),c()},c=()=>{a(!1)};return F.jsx(ph,{isOpen:o,align:"end",onInteractOutside:c,content:F.jsx(zh,{selected:i,onSelect:u,mode:"single"}),children:F.jsx("div",{children:F.jsx(Ou,{value:i?fn(i,r??"dd/MM/yyyy"):"",onClick:l,isDatePicker:!0,label:e,icon:"calendar"})})})},iD={white:"#ffffff",black:"#000000",primary:{green:{50:"#e9eceb",100:"#bac3c2",200:"#99a7a4",300:"#6b7e7b",400:"#4e6561",500:"#223f3a",600:"#1f3935",700:"#182d29",800:"#132320",900:"#0e1a18"},black:{50:"#e6e6e6",100:"#b0b0b0",200:"#8a8a8a",300:"#545454",400:"#333333",500:"#000000",600:"#000000",700:"#000000",800:"#000000",900:"#000000"},grey:{50:"##fefefe",100:"#fcfdfd",200:"#fafbfc",300:"#f8fafb",400:"#f7f9fa",500:"#f5f7f9",600:"#dfe1e3",700:"#aeafb1",800:"#878889",900:"#676869"}},secondary:{green:{50:"#e6f7ee",100:"#b2e7c9",200:"#8cdbaf",300:"#58ca8a",400:"#38c074",500:"#06b051",600:"#05a04a",700:"#047d3a",800:"#03612d",900:"#034a22"}},tertiary:{green:{50:"#ebfaf2",100:"#c2f0d8",200:"#a4e8c5",300:"#7adeaa",400:"#61d799",500:"#39cd80",600:"#34bb74",700:"#28925b",800:"#1f7146",900:"#185636"}},complementary:{violet:{50:"#f0ecf5",100:"#d1c3df",200:"#bba7d0",300:"#9d7ebb",400:"#8965ad",500:"#6c3f99",600:"#62398b",700:"#4d2d6d",800:"#3b2354",900:"#2d1a40"},blue:{50:"#e6f7f7",100:"#b1e6e6",200:"#8cdada",300:"#57c9c9",400:"#36bfbe",500:"#04afae",600:"#049f9e",700:"#037c7c",800:"#026060",900:"#024a49"},red:{50:"#faebea",100:"#f0c1be",200:"#e9a39f",300:"#df7973",400:"#d95f58",500:"#cf372e",600:"#bc322a",700:"#932721",800:"#721e19",900:"#571713"},orange:{50:"#fef3e9",100:"#fbdabb",200:"#f9c99a",300:"#f6b06c",400:"#f5a150",500:"#f28924",600:"#dc7d21",700:"#ac611a",800:"#854b14",900:"#663a0f"},yellow:{50:"#fdfaec",100:"#f9f0c4",200:"#f7e9a8",300:"#f3e080",400:"#f1d968",500:"#edd042",600:"#d8bd3c",700:"#a8942f",800:"#827224",900:"#64571c"}}};Ee.Avatar=G1,Ee.Button=du,Ee.Checkbox=$7,Ee.Chip=O7,Ee.DatePicker=zh,Ee.DatePickerInput=aD,Ee.DropdownList=_b,Ee.DropdownPaymentMethod=oD,Ee.Flag=Tv,Ee.Icon=rt,Ee.Input=Ou,Ee.InputPassword=g8,Ee.Logo=Mv,Ee.PhoneNumberInput=UP,Ee.Popover=ph,Ee.RadioGroup=k7,Ee.SegmentedControl=F7,Ee.Snackbar=R1,Ee.Switch=N7,Ee.Tabs=h8,Ee.Tag=cc,Ee.ToastContainer=jE,Ee.Tooltip=jC,Ee.Typography=Nd,Ee.colors=iD,Ee.useSnackbar=Y7,Object.defineProperty(Ee,Symbol.toStringTag,{value:"Module"})});
|
|
131
|
+
`]))),DA=function(t,n){var r=t.isFocused,o=t.size,a=t.theme,i=a.colors,s=a.spacing.baseUnit;return ce({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:o,lineHeight:1,marginRight:o,textAlign:"center",verticalAlign:"middle"},n?{}:{color:r?i.neutral60:i.neutral20,padding:s*2})},Zc=function(t){var n=t.delay,r=t.offset;return ue("span",{css:Wc({animation:"".concat(TA," 1s ease-in-out ").concat(n,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:r?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},process.env.NODE_ENV==="production"?"":";label:LoadingDot;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lLFxuICBDU1NPYmplY3RXaXRoTGFiZWwsXG4gIEdyb3VwQmFzZSxcbn0gZnJvbSAnLi4vdHlwZXMnO1xuaW1wb3J0IHsgZ2V0U3R5bGVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBEcm9wZG93biAmIENsZWFyIEljb25zXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuY29uc3QgU3ZnID0gKHtcbiAgc2l6ZSxcbiAgLi4ucHJvcHNcbn06IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU6IG51bWJlciB9KSA9PiAoXG4gIDxzdmdcbiAgICBoZWlnaHQ9e3NpemV9XG4gICAgd2lkdGg9e3NpemV9XG4gICAgdmlld0JveD1cIjAgMCAyMCAyMFwiXG4gICAgYXJpYS1oaWRkZW49XCJ0cnVlXCJcbiAgICBmb2N1c2FibGU9XCJmYWxzZVwiXG4gICAgY3NzPXt7XG4gICAgICBkaXNwbGF5OiAnaW5saW5lLWJsb2NrJyxcbiAgICAgIGZpbGw6ICdjdXJyZW50Q29sb3InLFxuICAgICAgbGluZUhlaWdodDogMSxcbiAgICAgIHN0cm9rZTogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBzdHJva2VXaWR0aDogMCxcbiAgICB9fVxuICAgIHsuLi5wcm9wc31cbiAgLz5cbik7XG5cbmV4cG9ydCB0eXBlIENyb3NzSWNvblByb3BzID0gSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZT86IG51bWJlciB9O1xuZXhwb3J0IGNvbnN0IENyb3NzSWNvbiA9IChwcm9wczogQ3Jvc3NJY29uUHJvcHMpID0+IChcbiAgPFN2ZyBzaXplPXsyMH0gey4uLnByb3BzfT5cbiAgICA8cGF0aCBkPVwiTTE0LjM0OCAxNC44NDljLTAuNDY5IDAuNDY5LTEuMjI5IDAuNDY5LTEuNjk3IDBsLTIuNjUxLTMuMDMwLTIuNjUxIDMuMDI5Yy0wLjQ2OSAwLjQ2OS0xLjIyOSAwLjQ2OS0xLjY5NyAwLTAuNDY5LTAuNDY5LTAuNDY5LTEuMjI5IDAtMS42OTdsMi43NTgtMy4xNS0yLjc1OS0zLjE1MmMtMC40NjktMC40NjktMC40NjktMS4yMjggMC0xLjY5N3MxLjIyOC0wLjQ2OSAxLjY5NyAwbDIuNjUyIDMuMDMxIDIuNjUxLTMuMDMxYzAuNDY5LTAuNDY5IDEuMjI4LTAuNDY5IDEuNjk3IDBzMC40NjkgMS4yMjkgMCAxLjY5N2wtMi43NTggMy4xNTIgMi43NTggMy4xNWMwLjQ2OSAwLjQ2OSAwLjQ2OSAxLjIyOSAwIDEuNjk4elwiIC8+XG4gIDwvU3ZnPlxuKTtcbmV4cG9ydCB0eXBlIERvd25DaGV2cm9uUHJvcHMgPSBKU1guSW50cmluc2ljRWxlbWVudHNbJ3N2ZyddICYgeyBzaXplPzogbnVtYmVyIH07XG5leHBvcnQgY29uc3QgRG93bkNoZXZyb24gPSAocHJvcHM6IERvd25DaGV2cm9uUHJvcHMpID0+IChcbiAgPFN2ZyBzaXplPXsyMH0gey4uLnByb3BzfT5cbiAgICA8cGF0aCBkPVwiTTQuNTE2IDcuNTQ4YzAuNDM2LTAuNDQ2IDEuMDQzLTAuNDgxIDEuNTc2IDBsMy45MDggMy43NDcgMy45MDgtMy43NDdjMC41MzMtMC40ODEgMS4xNDEtMC40NDYgMS41NzQgMCAwLjQzNiAwLjQ0NSAwLjQwOCAxLjE5NyAwIDEuNjE1LTAuNDA2IDAuNDE4LTQuNjk1IDQuNTAyLTQuNjk1IDQuNTAyLTAuMjE3IDAuMjIzLTAuNTAyIDAuMzM1LTAuNzg3IDAuMzM1cy0wLjU3LTAuMTEyLTAuNzg5LTAuMzM1YzAgMC00LjI4Ny00LjA4NC00LjY5NS00LjUwMnMtMC40MzYtMS4xNyAwLTEuNjE1elwiIC8+XG4gIDwvU3ZnPlxuKTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBEcm9wZG93biAmIENsZWFyIEJ1dHRvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5leHBvcnQgaW50ZXJmYWNlIERyb3Bkb3duSW5kaWNhdG9yUHJvcHM8XG4gIE9wdGlvbiA9IHVua25vd24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuID0gYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPiA9IEdyb3VwQmFzZTxPcHRpb24+XG4+IGV4dGVuZHMgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWU8T3B0aW9uLCBJc011bHRpLCBHcm91cD4ge1xuICAvKiogVGhlIGNoaWxkcmVuIHRvIGJlIHJlbmRlcmVkIGluc2lkZSB0aGUgaW5kaWNhdG9yLiAqL1xuICBjaGlsZHJlbj86IFJlYWN0Tm9kZTtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpc0Rpc2FibGVkOiBib29sZWFuO1xufVxuXG5jb25zdCBiYXNlQ1NTID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICB7XG4gICAgaXNGb2N1c2VkLFxuICAgIHRoZW1lOiB7XG4gICAgICBzcGFjaW5nOiB7IGJhc2VVbml0IH0sXG4gICAgICBjb2xvcnMsXG4gICAgfSxcbiAgfTpcbiAgICB8IERyb3Bkb3duSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbiAgICB8IENsZWFySW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdpbmRpY2F0b3JDb250YWluZXInLFxuICBkaXNwbGF5OiAnZmxleCcsXG4gIHRyYW5zaXRpb246ICdjb2xvciAxNTBtcycsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsNjAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBwYWRkaW5nOiBiYXNlVW5pdCAqIDIsXG4gICAgICAgICc6aG92ZXInOiB7XG4gICAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsODAgOiBjb2xvcnMubmV1dHJhbDQwLFxuICAgICAgICB9LFxuICAgICAgfSksXG59KTtcblxuZXhwb3J0IGNvbnN0IGRyb3Bkb3duSW5kaWNhdG9yQ1NTID0gYmFzZUNTUztcbmV4cG9ydCBjb25zdCBEcm9wZG93bkluZGljYXRvciA9IDxcbiAgT3B0aW9uLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPlxuPihcbiAgcHJvcHM6IERyb3Bkb3duSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGNoaWxkcmVuLCBpbm5lclByb3BzIH0gPSBwcm9wcztcbiAgcmV0dXJuIChcbiAgICA8ZGl2XG4gICAgICB7Li4uZ2V0U3R5bGVQcm9wcyhwcm9wcywgJ2Ryb3Bkb3duSW5kaWNhdG9yJywge1xuICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICdkcm9wZG93bi1pbmRpY2F0b3InOiB0cnVlLFxuICAgICAgfSl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICB7Y2hpbGRyZW4gfHwgPERvd25DaGV2cm9uIC8+fVxuICAgIDwvZGl2PlxuICApO1xufTtcblxuZXhwb3J0IGludGVyZmFjZSBDbGVhckluZGljYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgLyoqIFRoZSBjaGlsZHJlbiB0byBiZSByZW5kZXJlZCBpbnNpZGUgdGhlIGluZGljYXRvci4gKi9cbiAgY2hpbGRyZW4/OiBSZWFjdE5vZGU7XG4gIC8qKiBQcm9wcyB0aGF0IHdpbGwgYmUgcGFzc2VkIG9uIHRvIHRoZSBjaGlsZHJlbi4gKi9cbiAgaW5uZXJQcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydkaXYnXTtcbiAgLyoqIFRoZSBmb2N1c2VkIHN0YXRlIG9mIHRoZSBzZWxlY3QuICovXG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbn1cblxuZXhwb3J0IGNvbnN0IGNsZWFySW5kaWNhdG9yQ1NTID0gYmFzZUNTUztcbmV4cG9ydCBjb25zdCBDbGVhckluZGljYXRvciA9IDxcbiAgT3B0aW9uLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPlxuPihcbiAgcHJvcHM6IENsZWFySW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGNoaWxkcmVuLCBpbm5lclByb3BzIH0gPSBwcm9wcztcbiAgcmV0dXJuIChcbiAgICA8ZGl2XG4gICAgICB7Li4uZ2V0U3R5bGVQcm9wcyhwcm9wcywgJ2NsZWFySW5kaWNhdG9yJywge1xuICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICdjbGVhci1pbmRpY2F0b3InOiB0cnVlLFxuICAgICAgfSl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICB7Y2hpbGRyZW4gfHwgPENyb3NzSWNvbiAvPn1cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG5cbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuLy8gU2VwYXJhdG9yXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuZXhwb3J0IGludGVyZmFjZSBJbmRpY2F0b3JTZXBhcmF0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIGlzRGlzYWJsZWQ6IGJvb2xlYW47XG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbiAgaW5uZXJQcm9wcz86IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3BhbiddO1xufVxuXG5leHBvcnQgY29uc3QgaW5kaWNhdG9yU2VwYXJhdG9yQ1NTID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICB7XG4gICAgaXNEaXNhYmxlZCxcbiAgICB0aGVtZToge1xuICAgICAgc3BhY2luZzogeyBiYXNlVW5pdCB9LFxuICAgICAgY29sb3JzLFxuICAgIH0sXG4gIH06IEluZGljYXRvclNlcGFyYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+LFxuICB1bnN0eWxlZDogYm9vbGVhblxuKTogQ1NTT2JqZWN0V2l0aExhYmVsID0+ICh7XG4gIGxhYmVsOiAnaW5kaWNhdG9yU2VwYXJhdG9yJyxcbiAgYWxpZ25TZWxmOiAnc3RyZXRjaCcsXG4gIHdpZHRoOiAxLFxuICAuLi4odW5zdHlsZWRcbiAgICA/IHt9XG4gICAgOiB7XG4gICAgICAgIGJhY2tncm91bmRDb2xvcjogaXNEaXNhYmxlZCA/IGNvbG9ycy5uZXV0cmFsMTAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBtYXJnaW5Cb3R0b206IGJhc2VVbml0ICogMixcbiAgICAgICAgbWFyZ2luVG9wOiBiYXNlVW5pdCAqIDIsXG4gICAgICB9KSxcbn0pO1xuXG5leHBvcnQgY29uc3QgSW5kaWNhdG9yU2VwYXJhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogSW5kaWNhdG9yU2VwYXJhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxzcGFuXG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnaW5kaWNhdG9yU2VwYXJhdG9yJywge1xuICAgICAgICAnaW5kaWNhdG9yLXNlcGFyYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAvPlxuICApO1xufTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBMb2FkaW5nXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuY29uc3QgbG9hZGluZ0RvdEFuaW1hdGlvbnMgPSBrZXlmcmFtZXNgXG4gIDAlLCA4MCUsIDEwMCUgeyBvcGFjaXR5OiAwOyB9XG4gIDQwJSB7IG9wYWNpdHk6IDE7IH1cbmA7XG5cbmV4cG9ydCBjb25zdCBsb2FkaW5nSW5kaWNhdG9yQ1NTID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICB7XG4gICAgaXNGb2N1c2VkLFxuICAgIHNpemUsXG4gICAgdGhlbWU6IHtcbiAgICAgIGNvbG9ycyxcbiAgICAgIHNwYWNpbmc6IHsgYmFzZVVuaXQgfSxcbiAgICB9LFxuICB9OiBMb2FkaW5nSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdsb2FkaW5nSW5kaWNhdG9yJyxcbiAgZGlzcGxheTogJ2ZsZXgnLFxuICB0cmFuc2l0aW9uOiAnY29sb3IgMTUwbXMnLFxuICBhbGlnblNlbGY6ICdjZW50ZXInLFxuICBmb250U2l6ZTogc2l6ZSxcbiAgbGluZUhlaWdodDogMSxcbiAgbWFyZ2luUmlnaHQ6IHNpemUsXG4gIHRleHRBbGlnbjogJ2NlbnRlcicsXG4gIHZlcnRpY2FsQWxpZ246ICdtaWRkbGUnLFxuICAuLi4odW5zdHlsZWRcbiAgICA/IHt9XG4gICAgOiB7XG4gICAgICAgIGNvbG9yOiBpc0ZvY3VzZWQgPyBjb2xvcnMubmV1dHJhbDYwIDogY29sb3JzLm5ldXRyYWwyMCxcbiAgICAgICAgcGFkZGluZzogYmFzZVVuaXQgKiAyLFxuICAgICAgfSksXG59KTtcblxuaW50ZXJmYWNlIExvYWRpbmdEb3RQcm9wcyB7XG4gIGRlbGF5OiBudW1iZXI7XG4gIG9mZnNldDogYm9vbGVhbjtcbn1cbmNvbnN0IExvYWRpbmdEb3QgPSAoeyBkZWxheSwgb2Zmc2V0IH06IExvYWRpbmdEb3RQcm9wcykgPT4gKFxuICA8c3BhblxuICAgIGNzcz17e1xuICAgICAgYW5pbWF0aW9uOiBgJHtsb2FkaW5nRG90QW5pbWF0aW9uc30gMXMgZWFzZS1pbi1vdXQgJHtkZWxheX1tcyBpbmZpbml0ZTtgLFxuICAgICAgYmFja2dyb3VuZENvbG9yOiAnY3VycmVudENvbG9yJyxcbiAgICAgIGJvcmRlclJhZGl1czogJzFlbScsXG4gICAgICBkaXNwbGF5OiAnaW5saW5lLWJsb2NrJyxcbiAgICAgIG1hcmdpbkxlZnQ6IG9mZnNldCA/ICcxZW0nIDogdW5kZWZpbmVkLFxuICAgICAgaGVpZ2h0OiAnMWVtJyxcbiAgICAgIHZlcnRpY2FsQWxpZ246ICd0b3AnLFxuICAgICAgd2lkdGg6ICcxZW0nLFxuICAgIH19XG4gIC8+XG4pO1xuXG5leHBvcnQgaW50ZXJmYWNlIExvYWRpbmdJbmRpY2F0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIC8qKiBQcm9wcyB0aGF0IHdpbGwgYmUgcGFzc2VkIG9uIHRvIHRoZSBjaGlsZHJlbi4gKi9cbiAgaW5uZXJQcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydkaXYnXTtcbiAgLyoqIFRoZSBmb2N1c2VkIHN0YXRlIG9mIHRoZSBzZWxlY3QuICovXG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbiAgaXNEaXNhYmxlZDogYm9vbGVhbjtcbiAgLyoqIFNldCBzaXplIG9mIHRoZSBjb250YWluZXIuICovXG4gIHNpemU6IG51bWJlcjtcbn1cbmV4cG9ydCBjb25zdCBMb2FkaW5nSW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KHtcbiAgaW5uZXJQcm9wcyxcbiAgaXNSdGwsXG4gIHNpemUgPSA0LFxuICAuLi5yZXN0UHJvcHNcbn06IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPikgPT4ge1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKFxuICAgICAgICB7IC4uLnJlc3RQcm9wcywgaW5uZXJQcm9wcywgaXNSdGwsIHNpemUgfSxcbiAgICAgICAgJ2xvYWRpbmdJbmRpY2F0b3InLFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdsb2FkaW5nLWluZGljYXRvcic6IHRydWUsXG4gICAgICAgIH1cbiAgICAgICl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MH0gb2Zmc2V0PXtpc1J0bH0gLz5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXsxNjB9IG9mZnNldCAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezMyMH0gb2Zmc2V0PXshaXNSdGx9IC8+XG4gICAgPC9kaXY+XG4gICk7XG59O1xuIl19 */")})},NA=function(t){var n=t.innerProps,r=t.isRtl,o=t.size,a=o===void 0?4:o,i=hn(t,xA);return ue("div",de({},He(ce(ce({},i),{},{innerProps:n,isRtl:r,size:a}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),n),ue(Zc,{delay:0,offset:r}),ue(Zc,{delay:160,offset:!0}),ue(Zc,{delay:320,offset:!r}))},$A=function(t,n){var r=t.isDisabled,o=t.isFocused,a=t.theme,i=a.colors,s=a.borderRadius,l=a.spacing;return ce({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:l.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},n?{}:{backgroundColor:r?i.neutral5:i.neutral0,borderColor:r?i.neutral10:o?i.primary:i.neutral20,borderRadius:s,borderStyle:"solid",borderWidth:1,boxShadow:o?"0 0 0 1px ".concat(i.primary):void 0,"&:hover":{borderColor:o?i.primary:i.neutral30}})},kA=function(t){var n=t.children,r=t.isDisabled,o=t.isFocused,a=t.innerRef,i=t.innerProps,s=t.menuIsOpen;return ue("div",de({ref:a},He(t,"control",{control:!0,"control--is-disabled":r,"control--is-focused":o,"control--menu-is-open":s}),i,{"aria-disabled":r||void 0}),n)},OA=kA,FA=["data"],LA=function(t,n){var r=t.theme.spacing;return n?{}:{paddingBottom:r.baseUnit*2,paddingTop:r.baseUnit*2}},VA=function(t){var n=t.children,r=t.cx,o=t.getStyles,a=t.getClassNames,i=t.Heading,s=t.headingProps,l=t.innerProps,u=t.label,c=t.theme,d=t.selectProps;return ue("div",de({},He(t,"group",{group:!0}),l),ue(i,de({},s,{selectProps:d,theme:c,getStyles:o,getClassNames:a,cx:r}),u),ue("div",null,n))},jA=function(t,n){var r=t.theme,o=r.colors,a=r.spacing;return ce({label:"group",cursor:"default",display:"block"},n?{}:{color:o.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:a.baseUnit*3,paddingRight:a.baseUnit*3,textTransform:"uppercase"})},BA=function(t){var n=rb(t);n.data;var r=hn(n,FA);return ue("div",de({},He(t,"groupHeading",{"group-heading":!0}),r))},WA=VA,_A=["innerRef","isDisabled","isHidden","inputClassName"],GA=function(t,n){var r=t.isDisabled,o=t.value,a=t.theme,i=a.spacing,s=a.colors;return ce(ce({visibility:r?"hidden":"visible",transform:o?"translateZ(0)":""},RA),n?{}:{margin:i.baseUnit/2,paddingBottom:i.baseUnit/2,paddingTop:i.baseUnit/2,color:s.neutral80})},hb={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},RA={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":ce({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},hb)},zA=function(t){return ce({label:"input",color:"inherit",background:0,opacity:t?0:1,width:"100%"},hb)},HA=function(t){var n=t.cx,r=t.value,o=rb(t),a=o.innerRef,i=o.isDisabled,s=o.isHidden,l=o.inputClassName,u=hn(o,_A);return ue("div",de({},He(t,"input",{"input-container":!0}),{"data-value":r||""}),ue("input",de({className:n({input:!0},l),ref:a,style:zA(s),disabled:i},u)))},XA=HA,ZA=function(t,n){var r=t.theme,o=r.spacing,a=r.borderRadius,i=r.colors;return ce({label:"multiValue",display:"flex",minWidth:0},n?{}:{backgroundColor:i.neutral10,borderRadius:a/2,margin:o.baseUnit/2})},YA=function(t,n){var r=t.theme,o=r.borderRadius,a=r.colors,i=t.cropWithEllipsis;return ce({overflow:"hidden",textOverflow:i||i===void 0?"ellipsis":void 0,whiteSpace:"nowrap"},n?{}:{borderRadius:o/2,color:a.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},UA=function(t,n){var r=t.theme,o=r.spacing,a=r.borderRadius,i=r.colors,s=t.isFocused;return ce({alignItems:"center",display:"flex"},n?{}:{borderRadius:a/2,backgroundColor:s?i.dangerLight:void 0,paddingLeft:o.baseUnit,paddingRight:o.baseUnit,":hover":{backgroundColor:i.dangerLight,color:i.danger}})},gb=function(t){var n=t.children,r=t.innerProps;return ue("div",r,n)},KA=gb,JA=gb;function QA(e){var t=e.children,n=e.innerProps;return ue("div",de({role:"button"},n),t||ue(Xc,{size:14}))}var qA=function(t){var n=t.children,r=t.components,o=t.data,a=t.innerProps,i=t.isDisabled,s=t.removeProps,l=t.selectProps,u=r.Container,c=r.Label,d=r.Remove;return ue(u,{data:o,innerProps:ce(ce({},He(t,"multiValue",{"multi-value":!0,"multi-value--is-disabled":i})),a),selectProps:l},ue(c,{data:o,innerProps:ce({},He(t,"multiValueLabel",{"multi-value__label":!0})),selectProps:l},n),ue(d,{data:o,innerProps:ce(ce({},He(t,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(n||"option")},s),selectProps:l}))},eT=qA,tT=function(t,n){var r=t.isDisabled,o=t.isFocused,a=t.isSelected,i=t.theme,s=i.spacing,l=i.colors;return ce({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},n?{}:{backgroundColor:a?l.primary:o?l.primary25:"transparent",color:r?l.neutral20:a?l.neutral0:"inherit",padding:"".concat(s.baseUnit*2,"px ").concat(s.baseUnit*3,"px"),":active":{backgroundColor:r?void 0:a?l.primary:l.primary50}})},nT=function(t){var n=t.children,r=t.isDisabled,o=t.isFocused,a=t.isSelected,i=t.innerRef,s=t.innerProps;return ue("div",de({},He(t,"option",{option:!0,"option--is-disabled":r,"option--is-focused":o,"option--is-selected":a}),{ref:i,"aria-disabled":r},s),n)},rT=nT,oT=function(t,n){var r=t.theme,o=r.spacing,a=r.colors;return ce({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},n?{}:{color:a.neutral50,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},aT=function(t){var n=t.children,r=t.innerProps;return ue("div",de({},He(t,"placeholder",{placeholder:!0}),r),n)},iT=aT,sT=function(t,n){var r=t.isDisabled,o=t.theme,a=o.spacing,i=o.colors;return ce({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},n?{}:{color:r?i.neutral40:i.neutral80,marginLeft:a.baseUnit/2,marginRight:a.baseUnit/2})},lT=function(t){var n=t.children,r=t.isDisabled,o=t.innerProps;return ue("div",de({},He(t,"singleValue",{"single-value":!0,"single-value--is-disabled":r}),o),n)},uT=lT,Qr={ClearIndicator:SA,Control:OA,DropdownIndicator:EA,DownChevron:pb,CrossIcon:Xc,Group:WA,GroupHeading:BA,IndicatorsContainer:vA,IndicatorSeparator:AA,Input:XA,LoadingIndicator:NA,Menu:oA,MenuList:iA,MenuPortal:fA,LoadingMessage:cA,NoOptionsMessage:uA,MultiValue:eT,MultiValueContainer:KA,MultiValueLabel:JA,MultiValueRemove:QA,Option:rT,Placeholder:iT,SelectContainer:mA,SingleValue:uT,ValueContainer:gA},cT=function(t){return ce(ce({},Qr),t.components)},bb=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function dT(e,t){return!!(e===t||bb(e)&&bb(t))}function fT(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!dT(e[n],t[n]))return!1;return!0}function pT(e,t){t===void 0&&(t=fT);var n=null;function r(){for(var o=[],a=0;a<arguments.length;a++)o[a]=arguments[a];if(n&&n.lastThis===this&&t(o,n.lastArgs))return n.lastResult;var i=e.apply(this,o);return n={lastResult:i,lastArgs:o,lastThis:this},i}return r.clear=function(){n=null},r}function mT(){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 hT=process.env.NODE_ENV==="production"?{name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"}:{name:"1f43avz-a11yText-A11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;label:A11yText;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFNSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */",toString:mT},gT=function(t){return ue("span",de({css:hT},t))},vb=gT,bT={guidance:function(t){var n=t.isSearchable,r=t.isMulti,o=t.tabSelectsValue,a=t.context,i=t.isInitialFocus;switch(a){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(o?", press Tab to select the option and exit the menu":"",".");case"input":return i?"".concat(t["aria-label"]||"Select"," is focused ").concat(n?",type to refine list":"",", press Down to open the menu, ").concat(r?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(t){var n=t.action,r=t.label,o=r===void 0?"":r,a=t.labels,i=t.isDisabled;switch(n){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(o,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(a.length>1?"s":""," ").concat(a.join(","),", selected.");case"select-option":return i?"option ".concat(o," is disabled. Select another option."):"option ".concat(o,", selected.");default:return""}},onFocus:function(t){var n=t.context,r=t.focused,o=t.options,a=t.label,i=a===void 0?"":a,s=t.selectValue,l=t.isDisabled,u=t.isSelected,c=t.isAppleDevice,d=function(g,b){return g&&g.length?"".concat(g.indexOf(b)+1," of ").concat(g.length):""};if(n==="value"&&s)return"value ".concat(i," focused, ").concat(d(s,r),".");if(n==="menu"&&c){var p=l?" disabled":"",m="".concat(u?" selected":"").concat(p);return"".concat(i).concat(m,", ").concat(d(o,r),".")}return""},onFilter:function(t){var n=t.inputValue,r=t.resultsMessage;return"".concat(r).concat(n?" for search term "+n:"",".")}},vT=function(t){var n=t.ariaSelection,r=t.focusedOption,o=t.focusedValue,a=t.focusableOptions,i=t.isFocused,s=t.selectValue,l=t.selectProps,u=t.id,c=t.isAppleDevice,d=l.ariaLiveMessages,p=l.getOptionLabel,m=l.inputValue,h=l.isMulti,g=l.isOptionDisabled,b=l.isSearchable,x=l.menuIsOpen,y=l.options,w=l.screenReaderStatus,S=l.tabSelectsValue,P=l.isLoading,A=l["aria-label"],T=l["aria-live"],v=f.useMemo(function(){return ce(ce({},bT),d||{})},[d]),D=f.useMemo(function(){var O="";if(n&&v.onChange){var j=n.option,N=n.options,W=n.removedValue,K=n.removedValues,H=n.value,X=function(ae){return Array.isArray(ae)?null:ae},B=W||j||X(H),G=B?p(B):"",Y=N||K||void 0,R=Y?Y.map(p):[],Z=ce({isDisabled:B&&g(B,s),label:G,labels:R},n);O=v.onChange(Z)}return O},[n,v,g,s,p]),$=f.useMemo(function(){var O="",j=r||o,N=!!(r&&s&&s.includes(r));if(j&&v.onFocus){var W={focused:j,label:p(j),isDisabled:g(j,s),isSelected:N,options:a,context:j===r?"menu":"value",selectValue:s,isAppleDevice:c};O=v.onFocus(W)}return O},[r,o,p,g,v,a,s,c]),M=f.useMemo(function(){var O="";if(x&&y.length&&!P&&v.onFilter){var j=w({count:a.length});O=v.onFilter({inputValue:m,resultsMessage:j})}return O},[a,m,x,v,y,w,P]),k=(n==null?void 0:n.action)==="initial-input-focus",I=f.useMemo(function(){var O="";if(v.guidance){var j=o?"value":x?"menu":"input";O=v.guidance({"aria-label":A,context:j,isDisabled:r&&g(r,s),isMulti:h,isSearchable:b,tabSelectsValue:S,isInitialFocus:k})}return O},[A,r,o,h,g,b,x,v,s,S,k]),E=ue(f.Fragment,null,ue("span",{id:"aria-selection"},D),ue("span",{id:"aria-focused"},$),ue("span",{id:"aria-results"},M),ue("span",{id:"aria-guidance"},I));return ue(f.Fragment,null,ue(vb,{id:u},k&&E),ue(vb,{"aria-live":T,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},i&&!k&&E))},yT=vT,Yc=[{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źẑżžẓẕƶȥɀⱬꝣ"}],xT=new RegExp("["+Yc.map(function(e){return e.letters}).join("")+"]","g"),yb={},Uc=0;Uc<Yc.length;Uc++)for(var Kc=Yc[Uc],Jc=0;Jc<Kc.letters.length;Jc++)yb[Kc.letters[Jc]]=Kc.base;var xb=function(t){return t.replace(xT,function(n){return yb[n]})},CT=pT(xb),Cb=function(t){return t.replace(/^\s+|\s+$/g,"")},wT=function(t){return"".concat(t.label," ").concat(t.value)},IT=function(t){return function(n,r){if(n.data.__isNew__)return!0;var o=ce({ignoreCase:!0,ignoreAccents:!0,stringify:wT,trim:!0,matchFrom:"any"},t),a=o.ignoreCase,i=o.ignoreAccents,s=o.stringify,l=o.trim,u=o.matchFrom,c=l?Cb(r):r,d=l?Cb(s(n)):s(n);return a&&(c=c.toLowerCase(),d=d.toLowerCase()),i&&(c=CT(c),d=xb(d)),u==="start"?d.substr(0,c.length)===c:d.indexOf(c)>-1}},ET=["innerRef"];function PT(e){var t=e.innerRef,n=hn(e,ET),r=KM(n,"onExited","in","enter","exit","appear");return ue("input",de({ref:t},r,{css:Wc({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},process.env.NODE_ENV==="production"?"":";label:DummyInput;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVmIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgcmVtb3ZlUHJvcHMgfSBmcm9tICcuLi91dGlscyc7XG5cbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uIER1bW15SW5wdXQoe1xuICBpbm5lclJlZixcbiAgLi4ucHJvcHNcbn06IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snaW5wdXQnXSAmIHtcbiAgcmVhZG9ubHkgaW5uZXJSZWY6IFJlZjxIVE1MSW5wdXRFbGVtZW50Pjtcbn0pIHtcbiAgLy8gUmVtb3ZlIGFuaW1hdGlvbiBwcm9wcyBub3QgbWVhbnQgZm9yIEhUTUwgZWxlbWVudHNcbiAgY29uc3QgZmlsdGVyZWRQcm9wcyA9IHJlbW92ZVByb3BzKFxuICAgIHByb3BzLFxuICAgICdvbkV4aXRlZCcsXG4gICAgJ2luJyxcbiAgICAnZW50ZXInLFxuICAgICdleGl0JyxcbiAgICAnYXBwZWFyJ1xuICApO1xuXG4gIHJldHVybiAoXG4gICAgPGlucHV0XG4gICAgICByZWY9e2lubmVyUmVmfVxuICAgICAgey4uLmZpbHRlcmVkUHJvcHN9XG4gICAgICBjc3M9e3tcbiAgICAgICAgbGFiZWw6ICdkdW1teUlucHV0JyxcbiAgICAgICAgLy8gZ2V0IHJpZCBvZiBhbnkgZGVmYXVsdCBzdHlsZXNcbiAgICAgICAgYmFja2dyb3VuZDogMCxcbiAgICAgICAgYm9yZGVyOiAwLFxuICAgICAgICAvLyBpbXBvcnRhbnQhIHRoaXMgaGlkZXMgdGhlIGZsYXNoaW5nIGN1cnNvclxuICAgICAgICBjYXJldENvbG9yOiAndHJhbnNwYXJlbnQnLFxuICAgICAgICBmb250U2l6ZTogJ2luaGVyaXQnLFxuICAgICAgICBncmlkQXJlYTogJzEgLyAxIC8gMiAvIDMnLFxuICAgICAgICBvdXRsaW5lOiAwLFxuICAgICAgICBwYWRkaW5nOiAwLFxuICAgICAgICAvLyBpbXBvcnRhbnQhIHdpdGhvdXQgYHdpZHRoYCBicm93c2VycyB3b24ndCBhbGxvdyBmb2N1c1xuICAgICAgICB3aWR0aDogMSxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIGRlc2t0b3BcbiAgICAgICAgY29sb3I6ICd0cmFuc3BhcmVudCcsXG5cbiAgICAgICAgLy8gcmVtb3ZlIGN1cnNvciBvbiBtb2JpbGUgd2hpbHN0IG1haW50YWluaW5nIFwic2Nyb2xsIGludG8gdmlld1wiIGJlaGF2aW91clxuICAgICAgICBsZWZ0OiAtMTAwLFxuICAgICAgICBvcGFjaXR5OiAwLFxuICAgICAgICBwb3NpdGlvbjogJ3JlbGF0aXZlJyxcbiAgICAgICAgdHJhbnNmb3JtOiAnc2NhbGUoLjAxKScsXG4gICAgICB9fVxuICAgIC8+XG4gICk7XG59XG4iXX0= */")}))}var ST=function(t){t.cancelable&&t.preventDefault(),t.stopPropagation()};function MT(e){var t=e.isEnabled,n=e.onBottomArrive,r=e.onBottomLeave,o=e.onTopArrive,a=e.onTopLeave,i=f.useRef(!1),s=f.useRef(!1),l=f.useRef(0),u=f.useRef(null),c=f.useCallback(function(b,x){if(u.current!==null){var y=u.current,w=y.scrollTop,S=y.scrollHeight,P=y.clientHeight,A=u.current,T=x>0,v=S-P-w,D=!1;v>x&&i.current&&(r&&r(b),i.current=!1),T&&s.current&&(a&&a(b),s.current=!1),T&&x>v?(n&&!i.current&&n(b),A.scrollTop=S,D=!0,i.current=!0):!T&&-x>w&&(o&&!s.current&&o(b),A.scrollTop=0,D=!0,s.current=!0),D&&ST(b)}},[n,r,o,a]),d=f.useCallback(function(b){c(b,b.deltaY)},[c]),p=f.useCallback(function(b){l.current=b.changedTouches[0].clientY},[]),m=f.useCallback(function(b){var x=l.current-b.changedTouches[0].clientY;c(b,x)},[c]),h=f.useCallback(function(b){if(b){var x=ZM?{passive:!1}:!1;b.addEventListener("wheel",d,x),b.addEventListener("touchstart",p,x),b.addEventListener("touchmove",m,x)}},[m,p,d]),g=f.useCallback(function(b){b&&(b.removeEventListener("wheel",d,!1),b.removeEventListener("touchstart",p,!1),b.removeEventListener("touchmove",m,!1))},[m,p,d]);return f.useEffect(function(){if(t){var b=u.current;return h(b),function(){g(b)}}},[t,h,g]),function(b){u.current=b}}var wb=["boxSizing","height","overflow","paddingRight","position"],Ib={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Eb(e){e.preventDefault()}function Pb(e){e.stopPropagation()}function Sb(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;e===0?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function Mb(){return"ontouchstart"in window||navigator.maxTouchPoints}var Ab=!!(typeof window<"u"&&window.document&&window.document.createElement),ia=0,qr={capture:!1,passive:!1};function AT(e){var t=e.isEnabled,n=e.accountForScrollbars,r=n===void 0?!0:n,o=f.useRef({}),a=f.useRef(null),i=f.useCallback(function(l){if(Ab){var u=document.body,c=u&&u.style;if(r&&wb.forEach(function(h){var g=c&&c[h];o.current[h]=g}),r&&ia<1){var d=parseInt(o.current.paddingRight,10)||0,p=document.body?document.body.clientWidth:0,m=window.innerWidth-p+d||0;Object.keys(Ib).forEach(function(h){var g=Ib[h];c&&(c[h]=g)}),c&&(c.paddingRight="".concat(m,"px"))}u&&Mb()&&(u.addEventListener("touchmove",Eb,qr),l&&(l.addEventListener("touchstart",Sb,qr),l.addEventListener("touchmove",Pb,qr))),ia+=1}},[r]),s=f.useCallback(function(l){if(Ab){var u=document.body,c=u&&u.style;ia=Math.max(ia-1,0),r&&ia<1&&wb.forEach(function(d){var p=o.current[d];c&&(c[d]=p)}),u&&Mb()&&(u.removeEventListener("touchmove",Eb,qr),l&&(l.removeEventListener("touchstart",Sb,qr),l.removeEventListener("touchmove",Pb,qr)))}},[r]);return f.useEffect(function(){if(t){var l=a.current;return i(l),function(){s(l)}}},[t,i,s]),function(l){a.current=l}}function TT(){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 DT=function(t){var n=t.target;return n.ownerDocument.activeElement&&n.ownerDocument.activeElement.blur()},NT=process.env.NODE_ENV==="production"?{name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"}:{name:"bp8cua-ScrollManager",styles:"position:fixed;left:0;bottom:0;right:0;top:0;label:ScrollManager;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2ssIE1vdXNlRXZlbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcuL3VzZVNjcm9sbENhcHR1cmUnO1xuaW1wb3J0IHVzZVNjcm9sbExvY2sgZnJvbSAnLi91c2VTY3JvbGxMb2NrJztcblxuaW50ZXJmYWNlIFByb3BzIHtcbiAgcmVhZG9ubHkgY2hpbGRyZW46IChyZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PikgPT4gUmVhY3RFbGVtZW50O1xuICByZWFkb25seSBsb2NrRW5hYmxlZDogYm9vbGVhbjtcbiAgcmVhZG9ubHkgY2FwdHVyZUVuYWJsZWQ6IGJvb2xlYW47XG4gIHJlYWRvbmx5IG9uQm90dG9tQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVhZG9ubHkgb25Cb3R0b21MZWF2ZT86IChldmVudDogV2hlZWxFdmVudCB8IFRvdWNoRXZlbnQpID0+IHZvaWQ7XG4gIHJlYWRvbmx5IG9uVG9wQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVhZG9ubHkgb25Ub3BMZWF2ZT86IChldmVudDogV2hlZWxFdmVudCB8IFRvdWNoRXZlbnQpID0+IHZvaWQ7XG59XG5cbmNvbnN0IGJsdXJTZWxlY3RJbnB1dCA9IChldmVudDogTW91c2VFdmVudDxIVE1MRGl2RWxlbWVudD4pID0+IHtcbiAgY29uc3QgZWxlbWVudCA9IGV2ZW50LnRhcmdldCBhcyBIVE1MRGl2RWxlbWVudDtcbiAgcmV0dXJuIChcbiAgICBlbGVtZW50Lm93bmVyRG9jdW1lbnQuYWN0aXZlRWxlbWVudCAmJlxuICAgIChlbGVtZW50Lm93bmVyRG9jdW1lbnQuYWN0aXZlRWxlbWVudCBhcyBIVE1MRWxlbWVudCkuYmx1cigpXG4gICk7XG59O1xuXG5leHBvcnQgZGVmYXVsdCBmdW5jdGlvbiBTY3JvbGxNYW5hZ2VyKHtcbiAgY2hpbGRyZW4sXG4gIGxvY2tFbmFibGVkLFxuICBjYXB0dXJlRW5hYmxlZCA9IHRydWUsXG4gIG9uQm90dG9tQXJyaXZlLFxuICBvbkJvdHRvbUxlYXZlLFxuICBvblRvcEFycml2ZSxcbiAgb25Ub3BMZWF2ZSxcbn06IFByb3BzKSB7XG4gIGNvbnN0IHNldFNjcm9sbENhcHR1cmVUYXJnZXQgPSB1c2VTY3JvbGxDYXB0dXJlKHtcbiAgICBpc0VuYWJsZWQ6IGNhcHR1cmVFbmFibGVkLFxuICAgIG9uQm90dG9tQXJyaXZlLFxuICAgIG9uQm90dG9tTGVhdmUsXG4gICAgb25Ub3BBcnJpdmUsXG4gICAgb25Ub3BMZWF2ZSxcbiAgfSk7XG4gIGNvbnN0IHNldFNjcm9sbExvY2tUYXJnZXQgPSB1c2VTY3JvbGxMb2NrKHsgaXNFbmFibGVkOiBsb2NrRW5hYmxlZCB9KTtcblxuICBjb25zdCB0YXJnZXRSZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PiA9IChlbGVtZW50KSA9PiB7XG4gICAgc2V0U2Nyb2xsQ2FwdHVyZVRhcmdldChlbGVtZW50KTtcbiAgICBzZXRTY3JvbGxMb2NrVGFyZ2V0KGVsZW1lbnQpO1xuICB9O1xuXG4gIHJldHVybiAoXG4gICAgPEZyYWdtZW50PlxuICAgICAge2xvY2tFbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+XG4gICk7XG59XG4iXX0= */",toString:TT};function $T(e){var t=e.children,n=e.lockEnabled,r=e.captureEnabled,o=r===void 0?!0:r,a=e.onBottomArrive,i=e.onBottomLeave,s=e.onTopArrive,l=e.onTopLeave,u=MT({isEnabled:o,onBottomArrive:a,onBottomLeave:i,onTopArrive:s,onTopLeave:l}),c=AT({isEnabled:n}),d=function(m){u(m),c(m)};return ue(f.Fragment,null,n&&ue("div",{onClick:DT,css:NT}),t(d))}function kT(){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 OT=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:kT},FT=function(t){var n=t.name,r=t.onFocus;return ue("input",{required:!0,name:n,tabIndex:-1,"aria-hidden":"true",onFocus:r,css:OT,value:"",onChange:function(){}})},LT=FT;function Qc(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 VT(){return Qc(/^iPhone/i)}function Tb(){return Qc(/^Mac/i)}function jT(){return Qc(/^iPad/i)||Tb()&&navigator.maxTouchPoints>1}function BT(){return VT()||jT()}function WT(){return Tb()||BT()}var _T=function(t){return t.label},GT=function(t){return t.label},RT=function(t){return t.value},zT=function(t){return!!t.isDisabled},HT={clearIndicator:PA,container:pA,control:$A,dropdownIndicator:IA,group:LA,groupHeading:jA,indicatorsContainer:bA,indicatorSeparator:MA,input:GA,loadingIndicator:DA,loadingMessage:lA,menu:tA,menuList:aA,menuPortal:dA,multiValue:ZA,multiValueLabel:YA,multiValueRemove:UA,noOptionsMessage:sA,option:tT,placeholder:oT,singleValue:sT,valueContainer:hA},XT={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%)"},ZT=4,Db=4,YT=38,UT=Db*2,KT={baseUnit:Db,controlHeight:YT,menuGutter:UT},qc={borderRadius:ZT,colors:XT,spacing:KT},JT={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:ib(),captureMenuScroll:!ib(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:IT(),formatGroupLabel:_T,getOptionLabel:GT,getOptionValue:RT,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:zT,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!HM(),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 Nb(e,t,n,r){var o=Lb(e,t,n),a=Vb(e,t,n),i=Fb(e,t),s=vs(e,t);return{type:"option",data:t,isDisabled:o,isSelected:a,label:i,value:s,index:r}}function bs(e,t){return e.options.map(function(n,r){if("options"in n){var o=n.options.map(function(i,s){return Nb(e,i,t,s)}).filter(function(i){return Ob(e,i)});return o.length>0?{type:"group",data:n,options:o,index:r}:void 0}var a=Nb(e,n,t,r);return Ob(e,a)?a:void 0}).filter(YM)}function $b(e){return e.reduce(function(t,n){return n.type==="group"?t.push.apply(t,Ic(n.options.map(function(r){return r.data}))):t.push(n.data),t},[])}function kb(e,t){return e.reduce(function(n,r){return r.type==="group"?n.push.apply(n,Ic(r.options.map(function(o){return{data:o.data,id:"".concat(t,"-").concat(r.index,"-").concat(o.index)}}))):n.push({data:r.data,id:"".concat(t,"-").concat(r.index)}),n},[])}function QT(e,t){return $b(bs(e,t))}function Ob(e,t){var n=e.inputValue,r=n===void 0?"":n,o=t.data,a=t.isSelected,i=t.label,s=t.value;return(!Bb(e)||!a)&&jb(e,{label:i,value:s,data:o},r)}function qT(e,t){var n=e.focusedValue,r=e.selectValue,o=r.indexOf(n);if(o>-1){var a=t.indexOf(n);if(a>-1)return n;if(o<t.length)return t[o]}return null}function eD(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}var ed=function(t,n){var r,o=(r=t.find(function(a){return a.data===n}))===null||r===void 0?void 0:r.id;return o||null},Fb=function(t,n){return t.getOptionLabel(n)},vs=function(t,n){return t.getOptionValue(n)};function Lb(e,t,n){return typeof e.isOptionDisabled=="function"?e.isOptionDisabled(t,n):!1}function Vb(e,t,n){if(n.indexOf(t)>-1)return!0;if(typeof e.isOptionSelected=="function")return e.isOptionSelected(t,n);var r=vs(e,t);return n.some(function(o){return vs(e,o)===r})}function jb(e,t,n){return e.filterOption?e.filterOption(t,n):!0}var Bb=function(t){var n=t.hideSelectedOptions,r=t.isMulti;return n===void 0?r:n},tD=1,Wb=function(e){aS(n,e);var t=lS(n);function n(r){var o;if(rS(this,n),o=t.call(this,r),o.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:""},o.blockOptionHover=!1,o.isComposing=!1,o.commonProps=void 0,o.initialTouchX=0,o.initialTouchY=0,o.openAfterFocus=!1,o.scrollToFocusedOptionOnUpdate=!1,o.userIsDragging=void 0,o.isAppleDevice=WT(),o.controlRef=null,o.getControlRef=function(l){o.controlRef=l},o.focusedOptionRef=null,o.getFocusedOptionRef=function(l){o.focusedOptionRef=l},o.menuListRef=null,o.getMenuListRef=function(l){o.menuListRef=l},o.inputRef=null,o.getInputRef=function(l){o.inputRef=l},o.focus=o.focusInput,o.blur=o.blurInput,o.onChange=function(l,u){var c=o.props,d=c.onChange,p=c.name;u.name=p,o.ariaOnChange(l,u),d(l,u)},o.setValue=function(l,u,c){var d=o.props,p=d.closeMenuOnSelect,m=d.isMulti,h=d.inputValue;o.onInputChange("",{action:"set-value",prevInputValue:h}),p&&(o.setState({inputIsHiddenAfterUpdate:!m}),o.onMenuClose()),o.setState({clearFocusValueOnUpdate:!0}),o.onChange(l,{action:u,option:c})},o.selectOption=function(l){var u=o.props,c=u.blurInputOnSelect,d=u.isMulti,p=u.name,m=o.state.selectValue,h=d&&o.isOptionSelected(l,m),g=o.isOptionDisabled(l,m);if(h){var b=o.getOptionValue(l);o.setValue(m.filter(function(x){return o.getOptionValue(x)!==b}),"deselect-option",l)}else if(!g)d?o.setValue([].concat(Ic(m),[l]),"select-option",l):o.setValue(l,"select-option");else{o.ariaOnChange(l,{action:"select-option",option:l,name:p});return}c&&o.blurInput()},o.removeValue=function(l){var u=o.props.isMulti,c=o.state.selectValue,d=o.getOptionValue(l),p=c.filter(function(h){return o.getOptionValue(h)!==d}),m=gs(u,p,p[0]||null);o.onChange(m,{action:"remove-value",removedValue:l}),o.focusInput()},o.clearValue=function(){var l=o.state.selectValue;o.onChange(gs(o.props.isMulti,[],null),{action:"clear",removedValues:l})},o.popValue=function(){var l=o.props.isMulti,u=o.state.selectValue,c=u[u.length-1],d=u.slice(0,u.length-1),p=gs(l,d,d[0]||null);o.onChange(p,{action:"pop-value",removedValue:c})},o.getFocusedOptionId=function(l){return ed(o.state.focusableOptionsWithIds,l)},o.getFocusableOptionsWithIds=function(){return kb(bs(o.props,o.state.selectValue),o.getElementId("option"))},o.getValue=function(){return o.state.selectValue},o.cx=function(){for(var l=arguments.length,u=new Array(l),c=0;c<l;c++)u[c]=arguments[c];return WM.apply(void 0,[o.props.classNamePrefix].concat(u))},o.getOptionLabel=function(l){return Fb(o.props,l)},o.getOptionValue=function(l){return vs(o.props,l)},o.getStyles=function(l,u){var c=o.props.unstyled,d=HT[l](u,c);d.boxSizing="border-box";var p=o.props.styles[l];return p?p(d,u):d},o.getClassNames=function(l,u){var c,d;return(c=(d=o.props.classNames)[l])===null||c===void 0?void 0:c.call(d,u)},o.getElementId=function(l){return"".concat(o.state.instancePrefix,"-").concat(l)},o.getComponents=function(){return cT(o.props)},o.buildCategorizedOptions=function(){return bs(o.props,o.state.selectValue)},o.getCategorizedOptions=function(){return o.props.menuIsOpen?o.buildCategorizedOptions():[]},o.buildFocusableOptions=function(){return $b(o.buildCategorizedOptions())},o.getFocusableOptions=function(){return o.props.menuIsOpen?o.buildFocusableOptions():[]},o.ariaOnChange=function(l,u){o.setState({ariaSelection:ce({value:l},u)})},o.onMenuMouseDown=function(l){l.button===0&&(l.stopPropagation(),l.preventDefault(),o.focusInput())},o.onMenuMouseMove=function(l){o.blockOptionHover=!1},o.onControlMouseDown=function(l){if(!l.defaultPrevented){var u=o.props.openMenuOnClick;o.state.isFocused?o.props.menuIsOpen?l.target.tagName!=="INPUT"&&l.target.tagName!=="TEXTAREA"&&o.onMenuClose():u&&o.openMenu("first"):(u&&(o.openAfterFocus=!0),o.focusInput()),l.target.tagName!=="INPUT"&&l.target.tagName!=="TEXTAREA"&&l.preventDefault()}},o.onDropdownIndicatorMouseDown=function(l){if(!(l&&l.type==="mousedown"&&l.button!==0)&&!o.props.isDisabled){var u=o.props,c=u.isMulti,d=u.menuIsOpen;o.focusInput(),d?(o.setState({inputIsHiddenAfterUpdate:!c}),o.onMenuClose()):o.openMenu("first"),l.preventDefault()}},o.onClearIndicatorMouseDown=function(l){l&&l.type==="mousedown"&&l.button!==0||(o.clearValue(),l.preventDefault(),o.openAfterFocus=!1,l.type==="touchend"?o.focusInput():setTimeout(function(){return o.focusInput()}))},o.onScroll=function(l){typeof o.props.closeMenuOnScroll=="boolean"?l.target instanceof HTMLElement&&fs(l.target)&&o.props.onMenuClose():typeof o.props.closeMenuOnScroll=="function"&&o.props.closeMenuOnScroll(l)&&o.props.onMenuClose()},o.onCompositionStart=function(){o.isComposing=!0},o.onCompositionEnd=function(){o.isComposing=!1},o.onTouchStart=function(l){var u=l.touches,c=u&&u.item(0);c&&(o.initialTouchX=c.clientX,o.initialTouchY=c.clientY,o.userIsDragging=!1)},o.onTouchMove=function(l){var u=l.touches,c=u&&u.item(0);if(c){var d=Math.abs(c.clientX-o.initialTouchX),p=Math.abs(c.clientY-o.initialTouchY),m=5;o.userIsDragging=d>m||p>m}},o.onTouchEnd=function(l){o.userIsDragging||(o.controlRef&&!o.controlRef.contains(l.target)&&o.menuListRef&&!o.menuListRef.contains(l.target)&&o.blurInput(),o.initialTouchX=0,o.initialTouchY=0)},o.onControlTouchEnd=function(l){o.userIsDragging||o.onControlMouseDown(l)},o.onClearIndicatorTouchEnd=function(l){o.userIsDragging||o.onClearIndicatorMouseDown(l)},o.onDropdownIndicatorTouchEnd=function(l){o.userIsDragging||o.onDropdownIndicatorMouseDown(l)},o.handleInputChange=function(l){var u=o.props.inputValue,c=l.currentTarget.value;o.setState({inputIsHiddenAfterUpdate:!1}),o.onInputChange(c,{action:"input-change",prevInputValue:u}),o.props.menuIsOpen||o.onMenuOpen()},o.onInputFocus=function(l){o.props.onFocus&&o.props.onFocus(l),o.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(o.openAfterFocus||o.props.openMenuOnFocus)&&o.openMenu("first"),o.openAfterFocus=!1},o.onInputBlur=function(l){var u=o.props.inputValue;if(o.menuListRef&&o.menuListRef.contains(document.activeElement)){o.inputRef.focus();return}o.props.onBlur&&o.props.onBlur(l),o.onInputChange("",{action:"input-blur",prevInputValue:u}),o.onMenuClose(),o.setState({focusedValue:null,isFocused:!1})},o.onOptionHover=function(l){if(!(o.blockOptionHover||o.state.focusedOption===l)){var u=o.getFocusableOptions(),c=u.indexOf(l);o.setState({focusedOption:l,focusedOptionId:c>-1?o.getFocusedOptionId(l):null})}},o.shouldHideSelectedOptions=function(){return Bb(o.props)},o.onValueInputFocus=function(l){l.preventDefault(),l.stopPropagation(),o.focus()},o.onKeyDown=function(l){var u=o.props,c=u.isMulti,d=u.backspaceRemovesValue,p=u.escapeClearsValue,m=u.inputValue,h=u.isClearable,g=u.isDisabled,b=u.menuIsOpen,x=u.onKeyDown,y=u.tabSelectsValue,w=u.openMenuOnFocus,S=o.state,P=S.focusedOption,A=S.focusedValue,T=S.selectValue;if(!g&&!(typeof x=="function"&&(x(l),l.defaultPrevented))){switch(o.blockOptionHover=!0,l.key){case"ArrowLeft":if(!c||m)return;o.focusValue("previous");break;case"ArrowRight":if(!c||m)return;o.focusValue("next");break;case"Delete":case"Backspace":if(m)return;if(A)o.removeValue(A);else{if(!d)return;c?o.popValue():h&&o.clearValue()}break;case"Tab":if(o.isComposing||l.shiftKey||!b||!y||!P||w&&o.isOptionSelected(P,T))return;o.selectOption(P);break;case"Enter":if(l.keyCode===229)break;if(b){if(!P||o.isComposing)return;o.selectOption(P);break}return;case"Escape":b?(o.setState({inputIsHiddenAfterUpdate:!1}),o.onInputChange("",{action:"menu-close",prevInputValue:m}),o.onMenuClose()):h&&p&&o.clearValue();break;case" ":if(m)return;if(!b){o.openMenu("first");break}if(!P)return;o.selectOption(P);break;case"ArrowUp":b?o.focusOption("up"):o.openMenu("last");break;case"ArrowDown":b?o.focusOption("down"):o.openMenu("first");break;case"PageUp":if(!b)return;o.focusOption("pageup");break;case"PageDown":if(!b)return;o.focusOption("pagedown");break;case"Home":if(!b)return;o.focusOption("first");break;case"End":if(!b)return;o.focusOption("last");break;default:return}l.preventDefault()}},o.state.instancePrefix="react-select-"+(o.props.instanceId||++tD),o.state.selectValue=nb(r.value),r.menuIsOpen&&o.state.selectValue.length){var a=o.getFocusableOptionsWithIds(),i=o.buildFocusableOptions(),s=i.indexOf(o.state.selectValue[0]);o.state.focusableOptionsWithIds=a,o.state.focusedOption=i[s],o.state.focusedOptionId=ed(a,i[s])}return o}return oS(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&&ab(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(o){var a=this.props,i=a.isDisabled,s=a.menuIsOpen,l=this.state.isFocused;(l&&!i&&o.isDisabled||l&&s&&!o.menuIsOpen)&&this.focusInput(),l&&i&&!o.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!l&&!i&&o.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(ab(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(o,a){this.props.onInputChange(o,a)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(o){var a=this,i=this.state,s=i.selectValue,l=i.isFocused,u=this.buildFocusableOptions(),c=o==="first"?0:u.length-1;if(!this.props.isMulti){var d=u.indexOf(s[0]);d>-1&&(c=d)}this.scrollToFocusedOptionOnUpdate=!(l&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:u[c],focusedOptionId:this.getFocusedOptionId(u[c])},function(){return a.onMenuOpen()})}},{key:"focusValue",value:function(o){var a=this.state,i=a.selectValue,s=a.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var l=i.indexOf(s);s||(l=-1);var u=i.length-1,c=-1;if(i.length){switch(o){case"previous":l===0?c=0:l===-1?c=u:c=l-1;break;case"next":l>-1&&l<u&&(c=l+1);break}this.setState({inputIsHidden:c!==-1,focusedValue:i[c]})}}}},{key:"focusOption",value:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"first",a=this.props.pageSize,i=this.state.focusedOption,s=this.getFocusableOptions();if(s.length){var l=0,u=s.indexOf(i);i||(u=-1),o==="up"?l=u>0?u-1:s.length-1:o==="down"?l=(u+1)%s.length:o==="pageup"?(l=u-a,l<0&&(l=0)):o==="pagedown"?(l=u+a,l>s.length-1&&(l=s.length-1)):o==="last"&&(l=s.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:s[l],focusedValue:null,focusedOptionId:this.getFocusedOptionId(s[l])})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(qc):ce(ce({},qc),this.props.theme):qc}},{key:"getCommonProps",value:function(){var o=this.clearValue,a=this.cx,i=this.getStyles,s=this.getClassNames,l=this.getValue,u=this.selectOption,c=this.setValue,d=this.props,p=d.isMulti,m=d.isRtl,h=d.options,g=this.hasValue();return{clearValue:o,cx:a,getStyles:i,getClassNames:s,getValue:l,hasValue:g,isMulti:p,isRtl:m,options:h,selectOption:u,selectProps:d,setValue:c,theme:this.getTheme()}}},{key:"hasValue",value:function(){var o=this.state.selectValue;return o.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var o=this.props,a=o.isClearable,i=o.isMulti;return a===void 0?i:a}},{key:"isOptionDisabled",value:function(o,a){return Lb(this.props,o,a)}},{key:"isOptionSelected",value:function(o,a){return Vb(this.props,o,a)}},{key:"filterOption",value:function(o,a){return jb(this.props,o,a)}},{key:"formatOptionLabel",value:function(o,a){if(typeof this.props.formatOptionLabel=="function"){var i=this.props.inputValue,s=this.state.selectValue;return this.props.formatOptionLabel(o,{context:a,inputValue:i,selectValue:s})}else return this.getOptionLabel(o)}},{key:"formatGroupLabel",value:function(o){return this.props.formatGroupLabel(o)}},{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 o=this.props,a=o.isDisabled,i=o.isSearchable,s=o.inputId,l=o.inputValue,u=o.tabIndex,c=o.form,d=o.menuIsOpen,p=o.required,m=this.getComponents(),h=m.Input,g=this.state,b=g.inputIsHidden,x=g.ariaSelection,y=this.commonProps,w=s||this.getElementId("input"),S=ce(ce(ce({"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":p,role:"combobox","aria-activedescendant":this.isAppleDevice?void 0:this.state.focusedOptionId||""},d&&{"aria-controls":this.getElementId("listbox")}),!i&&{"aria-readonly":!0}),this.hasValue()?(x==null?void 0:x.action)==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return i?V.createElement(h,de({},y,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:w,innerRef:this.getInputRef,isDisabled:a,isHidden:b,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:u,form:c,type:"text",value:l},S)):V.createElement(PT,de({id:w,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:ds,onFocus:this.onInputFocus,disabled:a,tabIndex:u,inputMode:"none",form:c,value:""},S))}},{key:"renderPlaceholderOrValue",value:function(){var o=this,a=this.getComponents(),i=a.MultiValue,s=a.MultiValueContainer,l=a.MultiValueLabel,u=a.MultiValueRemove,c=a.SingleValue,d=a.Placeholder,p=this.commonProps,m=this.props,h=m.controlShouldRenderValue,g=m.isDisabled,b=m.isMulti,x=m.inputValue,y=m.placeholder,w=this.state,S=w.selectValue,P=w.focusedValue,A=w.isFocused;if(!this.hasValue()||!h)return x?null:V.createElement(d,de({},p,{key:"placeholder",isDisabled:g,isFocused:A,innerProps:{id:this.getElementId("placeholder")}}),y);if(b)return S.map(function(v,D){var $=v===P,M="".concat(o.getOptionLabel(v),"-").concat(o.getOptionValue(v));return V.createElement(i,de({},p,{components:{Container:s,Label:l,Remove:u},isFocused:$,isDisabled:g,key:M,index:D,removeProps:{onClick:function(){return o.removeValue(v)},onTouchEnd:function(){return o.removeValue(v)},onMouseDown:function(I){I.preventDefault()}},data:v}),o.formatOptionLabel(v,"value"))});if(x)return null;var T=S[0];return V.createElement(c,de({},p,{data:T,isDisabled:g}),this.formatOptionLabel(T,"value"))}},{key:"renderClearIndicator",value:function(){var o=this.getComponents(),a=o.ClearIndicator,i=this.commonProps,s=this.props,l=s.isDisabled,u=s.isLoading,c=this.state.isFocused;if(!this.isClearable()||!a||l||!this.hasValue()||u)return null;var d={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return V.createElement(a,de({},i,{innerProps:d,isFocused:c}))}},{key:"renderLoadingIndicator",value:function(){var o=this.getComponents(),a=o.LoadingIndicator,i=this.commonProps,s=this.props,l=s.isDisabled,u=s.isLoading,c=this.state.isFocused;if(!a||!u)return null;var d={"aria-hidden":"true"};return V.createElement(a,de({},i,{innerProps:d,isDisabled:l,isFocused:c}))}},{key:"renderIndicatorSeparator",value:function(){var o=this.getComponents(),a=o.DropdownIndicator,i=o.IndicatorSeparator;if(!a||!i)return null;var s=this.commonProps,l=this.props.isDisabled,u=this.state.isFocused;return V.createElement(i,de({},s,{isDisabled:l,isFocused:u}))}},{key:"renderDropdownIndicator",value:function(){var o=this.getComponents(),a=o.DropdownIndicator;if(!a)return null;var i=this.commonProps,s=this.props.isDisabled,l=this.state.isFocused,u={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return V.createElement(a,de({},i,{innerProps:u,isDisabled:s,isFocused:l}))}},{key:"renderMenu",value:function(){var o=this,a=this.getComponents(),i=a.Group,s=a.GroupHeading,l=a.Menu,u=a.MenuList,c=a.MenuPortal,d=a.LoadingMessage,p=a.NoOptionsMessage,m=a.Option,h=this.commonProps,g=this.state.focusedOption,b=this.props,x=b.captureMenuScroll,y=b.inputValue,w=b.isLoading,S=b.loadingMessage,P=b.minMenuHeight,A=b.maxMenuHeight,T=b.menuIsOpen,v=b.menuPlacement,D=b.menuPosition,$=b.menuPortalTarget,M=b.menuShouldBlockScroll,k=b.menuShouldScrollIntoView,I=b.noOptionsMessage,E=b.onMenuScrollToTop,O=b.onMenuScrollToBottom;if(!T)return null;var j=function(G,Y){var R=G.type,Z=G.data,q=G.isDisabled,ae=G.isSelected,le=G.label,pe=G.value,be=g===Z,Q=q?void 0:function(){return o.onOptionHover(Z)},Pe=q?void 0:function(){return o.selectOption(Z)},ie="".concat(o.getElementId("option"),"-").concat(Y),ne={id:ie,onClick:Pe,onMouseMove:Q,onMouseOver:Q,tabIndex:-1,role:"option","aria-selected":o.isAppleDevice?void 0:ae};return V.createElement(m,de({},h,{innerProps:ne,data:Z,isDisabled:q,isSelected:ae,key:ie,label:le,type:R,value:pe,isFocused:be,innerRef:be?o.getFocusedOptionRef:void 0}),o.formatOptionLabel(G.data,"menu"))},N;if(this.hasOptions())N=this.getCategorizedOptions().map(function(B){if(B.type==="group"){var G=B.data,Y=B.options,R=B.index,Z="".concat(o.getElementId("group"),"-").concat(R),q="".concat(Z,"-heading");return V.createElement(i,de({},h,{key:Z,data:G,options:Y,Heading:s,headingProps:{id:q,data:B.data},label:o.formatGroupLabel(B.data)}),B.options.map(function(ae){return j(ae,"".concat(R,"-").concat(ae.index))}))}else if(B.type==="option")return j(B,"".concat(B.index))});else if(w){var W=S({inputValue:y});if(W===null)return null;N=V.createElement(d,h,W)}else{var K=I({inputValue:y});if(K===null)return null;N=V.createElement(p,h,K)}var H={minMenuHeight:P,maxMenuHeight:A,menuPlacement:v,menuPosition:D,menuShouldScrollIntoView:k},X=V.createElement(nA,de({},h,H),function(B){var G=B.ref,Y=B.placerProps,R=Y.placement,Z=Y.maxHeight;return V.createElement(l,de({},h,H,{innerRef:G,innerProps:{onMouseDown:o.onMenuMouseDown,onMouseMove:o.onMenuMouseMove},isLoading:w,placement:R}),V.createElement($T,{captureEnabled:x,onTopArrive:E,onBottomArrive:O,lockEnabled:M},function(q){return V.createElement(u,de({},h,{innerRef:function(le){o.getMenuListRef(le),q(le)},innerProps:{role:"listbox","aria-multiselectable":h.isMulti,id:o.getElementId("listbox")},isLoading:w,maxHeight:Z,focusedOption:g}),N)}))});return $||D==="fixed"?V.createElement(c,de({},h,{appendTo:$,controlElement:this.controlRef,menuPlacement:v,menuPosition:D}),X):X}},{key:"renderFormField",value:function(){var o=this,a=this.props,i=a.delimiter,s=a.isDisabled,l=a.isMulti,u=a.name,c=a.required,d=this.state.selectValue;if(c&&!this.hasValue()&&!s)return V.createElement(LT,{name:u,onFocus:this.onValueInputFocus});if(!(!u||s))if(l)if(i){var p=d.map(function(g){return o.getOptionValue(g)}).join(i);return V.createElement("input",{name:u,type:"hidden",value:p})}else{var m=d.length>0?d.map(function(g,b){return V.createElement("input",{key:"i-".concat(b),name:u,type:"hidden",value:o.getOptionValue(g)})}):V.createElement("input",{name:u,type:"hidden",value:""});return V.createElement("div",null,m)}else{var h=d[0]?this.getOptionValue(d[0]):"";return V.createElement("input",{name:u,type:"hidden",value:h})}}},{key:"renderLiveRegion",value:function(){var o=this.commonProps,a=this.state,i=a.ariaSelection,s=a.focusedOption,l=a.focusedValue,u=a.isFocused,c=a.selectValue,d=this.getFocusableOptions();return V.createElement(yT,de({},o,{id:this.getElementId("live-region"),ariaSelection:i,focusedOption:s,focusedValue:l,isFocused:u,selectValue:c,focusableOptions:d,isAppleDevice:this.isAppleDevice}))}},{key:"render",value:function(){var o=this.getComponents(),a=o.Control,i=o.IndicatorsContainer,s=o.SelectContainer,l=o.ValueContainer,u=this.props,c=u.className,d=u.id,p=u.isDisabled,m=u.menuIsOpen,h=this.state.isFocused,g=this.commonProps=this.getCommonProps();return V.createElement(s,de({},g,{className:c,innerProps:{id:d,onKeyDown:this.onKeyDown},isDisabled:p,isFocused:h}),this.renderLiveRegion(),V.createElement(a,de({},g,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:p,isFocused:h,menuIsOpen:m}),V.createElement(l,de({},g,{isDisabled:p}),this.renderPlaceholderOrValue(),this.renderInput()),V.createElement(i,de({},g,{isDisabled:p}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(o,a){var i=a.prevProps,s=a.clearFocusValueOnUpdate,l=a.inputIsHiddenAfterUpdate,u=a.ariaSelection,c=a.isFocused,d=a.prevWasFocused,p=a.instancePrefix,m=o.options,h=o.value,g=o.menuIsOpen,b=o.inputValue,x=o.isMulti,y=nb(h),w={};if(i&&(h!==i.value||m!==i.options||g!==i.menuIsOpen||b!==i.inputValue)){var S=g?QT(o,y):[],P=g?kb(bs(o,y),"".concat(p,"-option")):[],A=s?qT(a,y):null,T=eD(a,S),v=ed(P,T);w={selectValue:y,focusedOption:T,focusedOptionId:v,focusableOptionsWithIds:P,focusedValue:A,clearFocusValueOnUpdate:!1}}var D=l!=null&&o!==i?{inputIsHidden:l,inputIsHiddenAfterUpdate:void 0}:{},$=u,M=c&&d;return c&&!M&&($={value:gs(x,y,y[0]||null),options:y,action:"initial-input-focus"},M=!d),(u==null?void 0:u.action)==="initial-input-focus"&&($=null),ce(ce(ce({},w),D),{},{prevProps:o,ariaSelection:$,prevWasFocused:M})}}]),n}(f.Component);Wb.defaultProps=JT;var nD=f.forwardRef(function(e,t){var n=nS(e);return V.createElement(Wb,de({ref:t},n))}),rD=nD;const oD=e=>{const t=({children:r,...o})=>{const a=o.getValue()[0],{hasValue:i}=o;return i?F.jsx(Qr.ValueContainer,{...o,children:F.jsxs("div",{className:"flex cursor-pointer items-center gap-3",children:[a.prefix,r,a.isDefault&&F.jsx(cc,{variant:"light",color:"darkGreen",children:"DEFAULT"})]})}):F.jsx(Qr.ValueContainer,{...o,className:"cursor-pointer",children:r})},n=({innerRef:r,innerProps:o,children:a,data:i})=>{const s=i;return F.jsx("div",{ref:r,...o,children:F.jsxs("div",{className:"flex cursor-pointer items-center gap-3 bg-transparent px-4 py-2 font-satoshi text-sm leading-normal text-primary-grey-800 hover:bg-primary-grey-500 hover:font-medium",children:[s.prefix,a,s.isDefault&&F.jsx(cc,{variant:"light",color:"darkGreen",children:"DEFAULT"})]})})};return F.jsx(_b,{isSearchable:!1,customValueContainer:t,customOption:n,...e})},_b=({label:e,value:t,defaultValue:n,placeholder:r,isInvalid:o,isTransparent:a,className:i,disabled:s,onChange:l,noOptionsMessage:u,errorMessage:c,options:d,isSearchable:p,customOption:m,isValid:h,customPlaceholder:g,customControl:b,customDropdownIndicator:x,customValueContainer:y})=>{const w=ye({base:"block h-12 w-full rounded-lg border border-primary-grey-700 bg-white px-4",variants:{disabled:{true:"border-primary-grey-500 bg-primary-grey-500"},isFocused:{true:"text-black"},isInvalid:{true:"border-complementary-red-500"},isCompleted:{true:"border-secondary-green-500"},isTransparent:{true:"!bg-transparent"}}}),S=ye({base:"font-satoshi text-sm leading-normal text-primary-grey-800",variants:{disabled:{true:"text-primary-grey-700"}}}),P=ye({base:"text-primary-grey-800",variants:{disabled:{true:"text-primary-grey-700"}}}),A=ye({base:"mt-[5px] rounded-lg border border-primary-grey-600 bg-white py-2"}),T=ye({base:"cursor-pointer bg-white px-4 py-2 font-satoshi text-sm leading-normal text-primary-grey-800 hover:bg-primary-grey-500 hover:font-medium"}),v=ye({base:"pointer-events-none invisible absolute left-4 top-[29%] bg-transparent font-inter text-sm leading-normal text-primary-grey-800 transition-all duration-200",variants:{hasValue:{true:"visible -top-6 text-xs transition-all duration-200"},isInvalid:{true:"text-complementary-red-500"},isCompleted:{true:"text-secondary-green-500"}}});let I={DropdownIndicator:x||(E=>F.jsx(Qr.DropdownIndicator,{...E,children:F.jsx(sg,{className:P({disabled:E.isDisabled})})})),Control:b||(E=>F.jsxs("div",{className:"relative",children:[F.jsx(Qr.Control,{...E}),F.jsx("label",{className:v({hasValue:E.hasValue,isInvalid:o,isCompleted:h}),children:e})]})),Option:m||(({innerRef:E,innerProps:O,children:j})=>F.jsx("div",{ref:E,...O,children:F.jsx("div",{className:T(),children:j})})),Placeholder:({children:E,...O})=>F.jsx(Qr.Placeholder,{...O,children:g||E})};return y&&(I={...I,ValueContainer:y}),F.jsxs("div",{className:"h-[74px] w-full",children:[F.jsx(rD,{value:t,isSearchable:p,options:d,unstyled:!0,isDisabled:s,defaultValue:n,placeholder:r,onChange:l,classNames:{control:({isDisabled:E,isFocused:O})=>w({disabled:E,isFocused:O,isInvalid:o,isTransparent:a,isCompleted:h}),placeholder:({isDisabled:E})=>S({disabled:E}),menuList:()=>A(),option:()=>T(),input:()=>i||""},components:I,noOptionsMessage:()=>u}),o&&c&&F.jsx("span",{className:"mt-2 pl-4 font-satoshi text-xs font-normal leading-normal text-complementary-red-500",children:c})]})},aD=({label:e,initialDate:t,onSelect:n,dateFormat:r})=>{const[o,a]=f.useState(!1),[i,s]=f.useState(t),l=()=>{a(!0)},u=d=>{n&&n(d),s(d),c()},c=()=>{a(!1)};return F.jsx(ph,{isOpen:o,align:"end",onInteractOutside:c,content:F.jsx(zh,{selected:i,onSelect:u,mode:"single"}),children:F.jsx("div",{children:F.jsx(Ou,{value:i?fn(i,r??"dd/MM/yyyy"):"",onClick:l,isDatePicker:!0,label:e,icon:"calendar"})})})},iD={white:"#ffffff",black:"#000000",primary:{green:{50:"#e9eceb",100:"#bac3c2",200:"#99a7a4",300:"#6b7e7b",400:"#4e6561",500:"#223f3a",600:"#1f3935",700:"#182d29",800:"#132320",900:"#0e1a18"},black:{50:"#e6e6e6",100:"#b0b0b0",200:"#8a8a8a",300:"#545454",400:"#333333",500:"#000000",600:"#000000",700:"#000000",800:"#000000",900:"#000000"},grey:{50:"##fefefe",100:"#fcfdfd",200:"#fafbfc",300:"#f8fafb",400:"#f7f9fa",500:"#f5f7f9",600:"#dfe1e3",700:"#aeafb1",800:"#878889",900:"#676869"}},secondary:{green:{50:"#e6f7ee",100:"#b2e7c9",200:"#8cdbaf",300:"#58ca8a",400:"#38c074",500:"#06b051",600:"#05a04a",700:"#047d3a",800:"#03612d",900:"#034a22"}},tertiary:{green:{50:"#ebfaf2",100:"#c2f0d8",200:"#a4e8c5",300:"#7adeaa",400:"#61d799",500:"#39cd80",600:"#34bb74",700:"#28925b",800:"#1f7146",900:"#185636"}},complementary:{violet:{50:"#f0ecf5",100:"#d1c3df",200:"#bba7d0",300:"#9d7ebb",400:"#8965ad",500:"#6c3f99",600:"#62398b",700:"#4d2d6d",800:"#3b2354",900:"#2d1a40"},blue:{50:"#e6f7f7",100:"#b1e6e6",200:"#8cdada",300:"#57c9c9",400:"#36bfbe",500:"#04afae",600:"#049f9e",700:"#037c7c",800:"#026060",900:"#024a49"},red:{50:"#faebea",100:"#f0c1be",200:"#e9a39f",300:"#df7973",400:"#d95f58",500:"#cf372e",600:"#bc322a",700:"#932721",800:"#721e19",900:"#571713"},orange:{50:"#fef3e9",100:"#fbdabb",200:"#f9c99a",300:"#f6b06c",400:"#f5a150",500:"#f28924",600:"#dc7d21",700:"#ac611a",800:"#854b14",900:"#663a0f"},yellow:{50:"#fdfaec",100:"#f9f0c4",200:"#f7e9a8",300:"#f3e080",400:"#f1d968",500:"#edd042",600:"#d8bd3c",700:"#a8942f",800:"#827224",900:"#64571c"}}};Ee.Avatar=G1,Ee.Button=du,Ee.Checkbox=$7,Ee.Chip=O7,Ee.DatePicker=zh,Ee.DatePickerInput=aD,Ee.DropdownList=_b,Ee.DropdownPaymentMethod=oD,Ee.Flag=Tv,Ee.Icon=rt,Ee.Input=Ou,Ee.InputPassword=gC,Ee.Logo=Mv,Ee.PhoneNumberInput=UP,Ee.Popover=ph,Ee.RadioGroup=k7,Ee.SegmentedControl=F7,Ee.Snackbar=R1,Ee.Switch=N7,Ee.Tabs=hC,Ee.Tag=cc,Ee.ToastContainer=jE,Ee.Tooltip=j8,Ee.Typography=Nd,Ee.colors=iD,Ee.useSnackbar=Y7,Object.defineProperty(Ee,Symbol.toStringTag,{value:"Module"})});
|