@sikka/hawa 0.2.20-beta → 0.2.22-beta

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.umd.js CHANGED
@@ -54,7 +54,7 @@ You should wrap it with \`css\` like this:
54
54
  `),n=0;n<r.length;n++){var a=m3(r[n]);if(a){if(v3.has(a))break;if(/^[A-Z]/.test(a))return b3(a)}}},bh="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",xh="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",y3=function(t,r){if(process.env.NODE_ENV!=="production"&&typeof r.css=="string"&&r.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`"+r.css+"`");var n={};for(var a in r)gh.call(r,a)&&(n[a]=r[a]);if(n[bh]=t,process.env.NODE_ENV!=="production"&&r.css&&(typeof r.css!="object"||typeof r.css.name!="string"||r.css.name.indexOf("-")===-1)){var o=x3(new Error().stack);o&&(n[xh]=o)}return n},C3=function(t){var r=t.cache,n=t.serialized,a=t.isStringTag;return dh(r,n,a),Z0(function(){return fh(r,n,a)}),null},Y0=vh(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var a=e[bh],o=[n],i="";typeof e.className=="string"?i=R0(t.registered,o,e.className):e.className!=null&&(i=e.className+" ");var l=Rl(o,void 0,je.useContext(kc));if(process.env.NODE_ENV!=="production"&&l.name.indexOf("-")===-1){var u=e[xh];u&&(l=Rl([l,"label:"+u+";"]))}i+=t.key+"-"+l.name;var c={};for(var m in e)gh.call(e,m)&&m!=="css"&&m!==bh&&(process.env.NODE_ENV==="production"||m!==xh)&&(c[m]=e[m]);return c.ref=r,c.className=i,je.createElement(je.Fragment,null,je.createElement(C3,{cache:t,serialized:l,isStringTag:typeof a=="string"}),je.createElement(a,c))});process.env.NODE_ENV!=="production"&&(Y0.displayName="EmotionCssPropInternal");var w3=Y0,E3={name:"@emotion/react",version:"11.11.1",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.2","@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.0","@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"}}}}},pt=function(t,r){var n=arguments;if(r==null||!gh.call(r,"css"))return je.createElement.apply(void 0,n);var a=n.length,o=new Array(a);o[0]=w3,o[1]=y3(t,r);for(var i=2;i<a;i++)o[i]=n[i];return je.createElement.apply(null,o)},J0=!1,D3=vh(function(e,t){process.env.NODE_ENV!=="production"&&!J0&&(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?"),J0=!0);var r=e.styles,n=Rl([r],void 0,je.useContext(kc)),a=je.useRef();return U0(function(){var o=t.key+"-global",i=new t.sheet.constructor({key:o,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),l=!1,u=document.querySelector('style[data-emotion="'+o+" "+n.name+'"]');return t.sheet.tags.length&&(i.before=t.sheet.tags[0]),u!==null&&(l=!0,u.setAttribute("data-emotion",o),i.hydrate([u])),a.current=[i,l],function(){i.flush()}},[t]),U0(function(){var o=a.current,i=o[0],l=o[1];if(l){o[1]=!1;return}if(n.next!==void 0&&fh(t,n.next,!0),i.tags.length){var u=i.tags[i.tags.length-1].nextElementSibling;i.before=u,i.flush()}t.insert("",n,i,!1)},[t,n.name]),null});process.env.NODE_ENV!=="production"&&(D3.displayName="EmotionGlobal");function yh(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Rl(t)}var S3=function(){var t=yh.apply(void 0,arguments),r="animation-"+t.name;return{name:r,styles:"@keyframes "+r+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},A3=function e(t){for(var r=t.length,n=0,a="";n<r;n++){var o=t[n];if(o!=null){var i=void 0;switch(typeof o){case"boolean":break;case"object":{if(Array.isArray(o))i=e(o);else{process.env.NODE_ENV!=="production"&&o.styles!==void 0&&o.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 l in o)o[l]&&l&&(i&&(i+=" "),i+=l)}break}default:i=o}i&&(a&&(a+=" "),a+=i)}}return a};function F3(e,t,r){var n=[],a=R0(e,n,r);return n.length<2?r:a+t(n)}var j3=function(t){var r=t.cache,n=t.serializedArr;return Z0(function(){for(var a=0;a<n.length;a++)fh(r,n[a],!1)}),null},I3=vh(function(e,t){var r=!1,n=[],a=function(){if(r&&process.env.NODE_ENV!=="production")throw new Error("css can only be used during render");for(var c=arguments.length,m=new Array(c),p=0;p<c;p++)m[p]=arguments[p];var x=Rl(m,t.registered);return n.push(x),dh(t,x,!1),t.key+"-"+x.name},o=function(){if(r&&process.env.NODE_ENV!=="production")throw new Error("cx can only be used during render");for(var c=arguments.length,m=new Array(c),p=0;p<c;p++)m[p]=arguments[p];return F3(t.registered,a,A3(m))},i={css:a,cx:o,theme:je.useContext(kc)},l=e.children(i);return r=!0,je.createElement(je.Fragment,null,je.createElement(j3,{cache:t,serializedArr:n}),l)});if(process.env.NODE_ENV!=="production"&&(I3.displayName="EmotionClassNames"),process.env.NODE_ENV!=="production"){var Q0=!0,T3=typeof jest<"u"||typeof vi<"u";if(Q0&&!T3){var K0=typeof globalThis<"u"?globalThis:Q0?window:global,q0="__EMOTION_REACT_"+E3.version.split(".")[0]+"__";K0[q0]&&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."),K0[q0]=!0}}function k3(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}const B3=["top","right","bottom","left"],mo=Math.min,wn=Math.max,Bc=Math.round,Pc=Math.floor,vo=e=>({x:e,y:e}),P3={left:"right",right:"left",bottom:"top",top:"bottom"},O3={start:"end",end:"start"};function Ch(e,t,r){return wn(e,mo(t,r))}function La(e,t){return typeof e=="function"?e(t):e}function _a(e){return e.split("-")[0]}function as(e){return e.split("-")[1]}function wh(e){return e==="x"?"y":"x"}function Eh(e){return e==="y"?"height":"width"}function os(e){return["top","bottom"].includes(_a(e))?"y":"x"}function Dh(e){return wh(os(e))}function N3(e,t,r){r===void 0&&(r=!1);const n=as(e),a=Dh(e),o=Eh(a);let i=a==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(i=Oc(i)),[i,Oc(i)]}function M3(e){const t=Oc(e);return[Sh(e),t,Sh(t)]}function Sh(e){return e.replace(/start|end/g,t=>O3[t])}function R3(e,t,r){const n=["left","right"],a=["right","left"],o=["top","bottom"],i=["bottom","top"];switch(e){case"top":case"bottom":return r?t?a:n:t?n:a;case"left":case"right":return t?o:i;default:return[]}}function $3(e,t,r,n){const a=as(e);let o=R3(_a(e),r==="start",n);return a&&(o=o.map(i=>i+"-"+a),t&&(o=o.concat(o.map(Sh)))),o}function Oc(e){return e.replace(/left|right|bottom|top/g,t=>P3[t])}function L3(e){return{top:0,right:0,bottom:0,left:0,...e}}function ev(e){return typeof e!="number"?L3(e):{top:e,right:e,bottom:e,left:e}}function Nc(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function tv(e,t,r){let{reference:n,floating:a}=e;const o=os(t),i=Dh(t),l=Eh(i),u=_a(t),c=o==="y",m=n.x+n.width/2-a.width/2,p=n.y+n.height/2-a.height/2,x=n[l]/2-a[l]/2;let C;switch(u){case"top":C={x:m,y:n.y-a.height};break;case"bottom":C={x:m,y:n.y+n.height};break;case"right":C={x:n.x+n.width,y:p};break;case"left":C={x:n.x-a.width,y:p};break;default:C={x:n.x,y:n.y}}switch(as(t)){case"start":C[i]-=x*(r&&c?-1:1);break;case"end":C[i]+=x*(r&&c?-1:1);break}return C}const _3=async(e,t,r)=>{const{placement:n="bottom",strategy:a="absolute",middleware:o=[],platform:i}=r,l=o.filter(Boolean),u=await(i.isRTL==null?void 0:i.isRTL(t));let c=await i.getElementRects({reference:e,floating:t,strategy:a}),{x:m,y:p}=tv(c,n,u),x=n,C={},E=0;for(let v=0;v<l.length;v++){const{name:A,fn:S}=l[v],{x:j,y:O,data:L,reset:M}=await S({x:m,y:p,initialPlacement:n,placement:x,strategy:a,middlewareData:C,rects:c,platform:i,elements:{reference:e,floating:t}});if(m=j??m,p=O??p,C={...C,[A]:{...C[A],...L}},M&&E<=50){E++,typeof M=="object"&&(M.placement&&(x=M.placement),M.rects&&(c=M.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:a}):M.rects),{x:m,y:p}=tv(c,x,u)),v=-1;continue}}return{x:m,y:p,placement:x,strategy:a,middlewareData:C}};async function $l(e,t){var r;t===void 0&&(t={});const{x:n,y:a,platform:o,rects:i,elements:l,strategy:u}=e,{boundary:c="clippingAncestors",rootBoundary:m="viewport",elementContext:p="floating",altBoundary:x=!1,padding:C=0}=La(t,e),E=ev(C),A=l[x?p==="floating"?"reference":"floating":p],S=Nc(await o.getClippingRect({element:(r=await(o.isElement==null?void 0:o.isElement(A)))==null||r?A:A.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(l.floating)),boundary:c,rootBoundary:m,strategy:u})),j=p==="floating"?{...i.floating,x:n,y:a}:i.reference,O=await(o.getOffsetParent==null?void 0:o.getOffsetParent(l.floating)),L=await(o.isElement==null?void 0:o.isElement(O))?await(o.getScale==null?void 0:o.getScale(O))||{x:1,y:1}:{x:1,y:1},M=Nc(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({rect:j,offsetParent:O,strategy:u}):j);return{top:(S.top-M.top+E.top)/L.y,bottom:(M.bottom-S.bottom+E.bottom)/L.y,left:(S.left-M.left+E.left)/L.x,right:(M.right-S.right+E.right)/L.x}}const rv=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:n,placement:a,rects:o,platform:i,elements:l,middlewareData:u}=t,{element:c,padding:m=0}=La(e,t)||{};if(c==null)return{};const p=ev(m),x={x:r,y:n},C=Dh(a),E=Eh(C),v=await i.getDimensions(c),A=C==="y",S=A?"top":"left",j=A?"bottom":"right",O=A?"clientHeight":"clientWidth",L=o.reference[E]+o.reference[C]-x[C]-o.floating[E],M=x[C]-o.reference[C],z=await(i.getOffsetParent==null?void 0:i.getOffsetParent(c));let H=z?z[O]:0;(!H||!await(i.isElement==null?void 0:i.isElement(z)))&&(H=l.floating[O]||o.floating[E]);const oe=L/2-M/2,J=H/2-v[E]/2-1,ge=mo(p[S],J),xe=mo(p[j],J),Q=ge,ce=H-v[E]-xe,N=H/2-v[E]/2+oe,W=Ch(Q,N,ce),ee=!u.arrow&&as(a)!=null&&N!=W&&o.reference[E]/2-(N<Q?ge:xe)-v[E]/2<0,de=ee?N<Q?N-Q:N-ce:0;return{[C]:x[C]+de,data:{[C]:W,centerOffset:N-W-de,...ee&&{alignmentOffset:de}},reset:ee}}}),W3=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r,n;const{placement:a,middlewareData:o,rects:i,initialPlacement:l,platform:u,elements:c}=t,{mainAxis:m=!0,crossAxis:p=!0,fallbackPlacements:x,fallbackStrategy:C="bestFit",fallbackAxisSideDirection:E="none",flipAlignment:v=!0,...A}=La(e,t);if((r=o.arrow)!=null&&r.alignmentOffset)return{};const S=_a(a),j=_a(l)===l,O=await(u.isRTL==null?void 0:u.isRTL(c.floating)),L=x||(j||!v?[Oc(l)]:M3(l));!x&&E!=="none"&&L.push(...$3(l,v,E,O));const M=[l,...L],z=await $l(t,A),H=[];let oe=((n=o.flip)==null?void 0:n.overflows)||[];if(m&&H.push(z[S]),p){const Q=N3(a,i,O);H.push(z[Q[0]],z[Q[1]])}if(oe=[...oe,{placement:a,overflows:H}],!H.every(Q=>Q<=0)){var J,ge;const Q=(((J=o.flip)==null?void 0:J.index)||0)+1,ce=M[Q];if(ce)return{data:{index:Q,overflows:oe},reset:{placement:ce}};let N=(ge=oe.filter(W=>W.overflows[0]<=0).sort((W,ee)=>W.overflows[1]-ee.overflows[1])[0])==null?void 0:ge.placement;if(!N)switch(C){case"bestFit":{var xe;const W=(xe=oe.map(ee=>[ee.placement,ee.overflows.filter(de=>de>0).reduce((de,ne)=>de+ne,0)]).sort((ee,de)=>ee[1]-de[1])[0])==null?void 0:xe[0];W&&(N=W);break}case"initialPlacement":N=l;break}if(a!==N)return{reset:{placement:N}}}return{}}}};function nv(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function av(e){return B3.some(t=>e[t]>=0)}const V3=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r}=t,{strategy:n="referenceHidden",...a}=La(e,t);switch(n){case"referenceHidden":{const o=await $l(t,{...a,elementContext:"reference"}),i=nv(o,r.reference);return{data:{referenceHiddenOffsets:i,referenceHidden:av(i)}}}case"escaped":{const o=await $l(t,{...a,altBoundary:!0}),i=nv(o,r.floating);return{data:{escapedOffsets:i,escaped:av(i)}}}default:return{}}}}};async function H3(e,t){const{placement:r,platform:n,elements:a}=e,o=await(n.isRTL==null?void 0:n.isRTL(a.floating)),i=_a(r),l=as(r),u=os(r)==="y",c=["left","top"].includes(i)?-1:1,m=o&&u?-1:1,p=La(t,e);let{mainAxis:x,crossAxis:C,alignmentAxis:E}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...p};return l&&typeof E=="number"&&(C=l==="end"?E*-1:E),u?{x:C*m,y:x*c}:{x:x*c,y:C*m}}const z3=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:r,y:n}=t,a=await H3(t,e);return{x:r+a.x,y:n+a.y,data:a}}}},G3=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:a}=t,{mainAxis:o=!0,crossAxis:i=!1,limiter:l={fn:A=>{let{x:S,y:j}=A;return{x:S,y:j}}},...u}=La(e,t),c={x:r,y:n},m=await $l(t,u),p=os(_a(a)),x=wh(p);let C=c[x],E=c[p];if(o){const A=x==="y"?"top":"left",S=x==="y"?"bottom":"right",j=C+m[A],O=C-m[S];C=Ch(j,C,O)}if(i){const A=p==="y"?"top":"left",S=p==="y"?"bottom":"right",j=E+m[A],O=E-m[S];E=Ch(j,E,O)}const v=l.fn({...t,[x]:C,[p]:E});return{...v,data:{x:v.x-r,y:v.y-n}}}}},Z3=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:r,y:n,placement:a,rects:o,middlewareData:i}=t,{offset:l=0,mainAxis:u=!0,crossAxis:c=!0}=La(e,t),m={x:r,y:n},p=os(a),x=wh(p);let C=m[x],E=m[p];const v=La(l,t),A=typeof v=="number"?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(u){const O=x==="y"?"height":"width",L=o.reference[x]-o.floating[O]+A.mainAxis,M=o.reference[x]+o.reference[O]-A.mainAxis;C<L?C=L:C>M&&(C=M)}if(c){var S,j;const O=x==="y"?"width":"height",L=["top","left"].includes(_a(a)),M=o.reference[p]-o.floating[O]+(L&&((S=i.offset)==null?void 0:S[p])||0)+(L?0:A.crossAxis),z=o.reference[p]+o.reference[O]+(L?0:((j=i.offset)==null?void 0:j[p])||0)-(L?A.crossAxis:0);E<M?E=M:E>z&&(E=z)}return{[x]:C,[p]:E}}}},U3=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:r,rects:n,platform:a,elements:o}=t,{apply:i=()=>{},...l}=La(e,t),u=await $l(t,l),c=_a(r),m=as(r),p=os(r)==="y",{width:x,height:C}=n.floating;let E,v;c==="top"||c==="bottom"?(E=c,v=m===(await(a.isRTL==null?void 0:a.isRTL(o.floating))?"start":"end")?"left":"right"):(v=c,E=m==="end"?"top":"bottom");const A=C-u[E],S=x-u[v],j=!t.middlewareData.shift;let O=A,L=S;if(p){const z=x-u.left-u.right;L=m||j?mo(S,z):z}else{const z=C-u.top-u.bottom;O=m||j?mo(A,z):z}if(j&&!m){const z=wn(u.left,0),H=wn(u.right,0),oe=wn(u.top,0),J=wn(u.bottom,0);p?L=x-2*(z!==0||H!==0?z+H:wn(u.left,u.right)):O=C-2*(oe!==0||J!==0?oe+J:wn(u.top,u.bottom))}await i({...t,availableWidth:L,availableHeight:O});const M=await a.getDimensions(o.floating);return x!==M.width||C!==M.height?{reset:{rects:!0}}:{}}}};function bo(e){return ov(e)?(e.nodeName||"").toLowerCase():"#document"}function En(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Wa(e){var t;return(t=(ov(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function ov(e){return e instanceof Node||e instanceof En(e).Node}function Va(e){return e instanceof Element||e instanceof En(e).Element}function xa(e){return e instanceof HTMLElement||e instanceof En(e).HTMLElement}function iv(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof En(e).ShadowRoot}function Ll(e){const{overflow:t,overflowX:r,overflowY:n,display:a}=Mn(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(a)}function X3(e){return["table","td","th"].includes(bo(e))}function Ah(e){const t=Fh(),r=Mn(e);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function Y3(e){let t=is(e);for(;xa(t)&&!Mc(t);){if(Ah(t))return t;t=is(t)}return null}function Fh(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Mc(e){return["html","body","#document"].includes(bo(e))}function Mn(e){return En(e).getComputedStyle(e)}function Rc(e){return Va(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function is(e){if(bo(e)==="html")return e;const t=e.assignedSlot||e.parentNode||iv(e)&&e.host||Wa(e);return iv(t)?t.host:t}function sv(e){const t=is(e);return Mc(t)?e.ownerDocument?e.ownerDocument.body:e.body:xa(t)&&Ll(t)?t:sv(t)}function _l(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);const a=sv(e),o=a===((n=e.ownerDocument)==null?void 0:n.body),i=En(a);return o?t.concat(i,i.visualViewport||[],Ll(a)?a:[],i.frameElement&&r?_l(i.frameElement):[]):t.concat(a,_l(a,[],r))}function lv(e){const t=Mn(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const a=xa(e),o=a?e.offsetWidth:r,i=a?e.offsetHeight:n,l=Bc(r)!==o||Bc(n)!==i;return l&&(r=o,n=i),{width:r,height:n,$:l}}function jh(e){return Va(e)?e:e.contextElement}function ss(e){const t=jh(e);if(!xa(t))return vo(1);const r=t.getBoundingClientRect(),{width:n,height:a,$:o}=lv(t);let i=(o?Bc(r.width):r.width)/n,l=(o?Bc(r.height):r.height)/a;return(!i||!Number.isFinite(i))&&(i=1),(!l||!Number.isFinite(l))&&(l=1),{x:i,y:l}}const J3=vo(0);function uv(e){const t=En(e);return!Fh()||!t.visualViewport?J3:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Q3(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==En(e)?!1:t}function ai(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);const a=e.getBoundingClientRect(),o=jh(e);let i=vo(1);t&&(n?Va(n)&&(i=ss(n)):i=ss(e));const l=Q3(o,r,n)?uv(o):vo(0);let u=(a.left+l.x)/i.x,c=(a.top+l.y)/i.y,m=a.width/i.x,p=a.height/i.y;if(o){const x=En(o),C=n&&Va(n)?En(n):n;let E=x.frameElement;for(;E&&n&&C!==x;){const v=ss(E),A=E.getBoundingClientRect(),S=Mn(E),j=A.left+(E.clientLeft+parseFloat(S.paddingLeft))*v.x,O=A.top+(E.clientTop+parseFloat(S.paddingTop))*v.y;u*=v.x,c*=v.y,m*=v.x,p*=v.y,u+=j,c+=O,E=En(E).frameElement}}return Nc({width:m,height:p,x:u,y:c})}function K3(e){let{rect:t,offsetParent:r,strategy:n}=e;const a=xa(r),o=Wa(r);if(r===o)return t;let i={scrollLeft:0,scrollTop:0},l=vo(1);const u=vo(0);if((a||!a&&n!=="fixed")&&((bo(r)!=="body"||Ll(o))&&(i=Rc(r)),xa(r))){const c=ai(r);l=ss(r),u.x=c.x+r.clientLeft,u.y=c.y+r.clientTop}return{width:t.width*l.x,height:t.height*l.y,x:t.x*l.x-i.scrollLeft*l.x+u.x,y:t.y*l.y-i.scrollTop*l.y+u.y}}function q3(e){return Array.from(e.getClientRects())}function cv(e){return ai(Wa(e)).left+Rc(e).scrollLeft}function e4(e){const t=Wa(e),r=Rc(e),n=e.ownerDocument.body,a=wn(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),o=wn(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let i=-r.scrollLeft+cv(e);const l=-r.scrollTop;return Mn(n).direction==="rtl"&&(i+=wn(t.clientWidth,n.clientWidth)-a),{width:a,height:o,x:i,y:l}}function t4(e,t){const r=En(e),n=Wa(e),a=r.visualViewport;let o=n.clientWidth,i=n.clientHeight,l=0,u=0;if(a){o=a.width,i=a.height;const c=Fh();(!c||c&&t==="fixed")&&(l=a.offsetLeft,u=a.offsetTop)}return{width:o,height:i,x:l,y:u}}function r4(e,t){const r=ai(e,!0,t==="fixed"),n=r.top+e.clientTop,a=r.left+e.clientLeft,o=xa(e)?ss(e):vo(1),i=e.clientWidth*o.x,l=e.clientHeight*o.y,u=a*o.x,c=n*o.y;return{width:i,height:l,x:u,y:c}}function dv(e,t,r){let n;if(t==="viewport")n=t4(e,r);else if(t==="document")n=e4(Wa(e));else if(Va(t))n=r4(t,r);else{const a=uv(e);n={...t,x:t.x-a.x,y:t.y-a.y}}return Nc(n)}function fv(e,t){const r=is(e);return r===t||!Va(r)||Mc(r)?!1:Mn(r).position==="fixed"||fv(r,t)}function n4(e,t){const r=t.get(e);if(r)return r;let n=_l(e,[],!1).filter(l=>Va(l)&&bo(l)!=="body"),a=null;const o=Mn(e).position==="fixed";let i=o?is(e):e;for(;Va(i)&&!Mc(i);){const l=Mn(i),u=Ah(i);!u&&l.position==="fixed"&&(a=null),(o?!u&&!a:!u&&l.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||Ll(i)&&!u&&fv(e,i))?n=n.filter(m=>m!==i):a=l,i=is(i)}return t.set(e,n),n}function a4(e){let{element:t,boundary:r,rootBoundary:n,strategy:a}=e;const i=[...r==="clippingAncestors"?n4(t,this._c):[].concat(r),n],l=i[0],u=i.reduce((c,m)=>{const p=dv(t,m,a);return c.top=wn(p.top,c.top),c.right=mo(p.right,c.right),c.bottom=mo(p.bottom,c.bottom),c.left=wn(p.left,c.left),c},dv(t,l,a));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function o4(e){return lv(e)}function i4(e,t,r){const n=xa(t),a=Wa(t),o=r==="fixed",i=ai(e,!0,o,t);let l={scrollLeft:0,scrollTop:0};const u=vo(0);if(n||!n&&!o)if((bo(t)!=="body"||Ll(a))&&(l=Rc(t)),n){const c=ai(t,!0,o,t);u.x=c.x+t.clientLeft,u.y=c.y+t.clientTop}else a&&(u.x=cv(a));return{x:i.left+l.scrollLeft-u.x,y:i.top+l.scrollTop-u.y,width:i.width,height:i.height}}function hv(e,t){return!xa(e)||Mn(e).position==="fixed"?null:t?t(e):e.offsetParent}function pv(e,t){const r=En(e);if(!xa(e))return r;let n=hv(e,t);for(;n&&X3(n)&&Mn(n).position==="static";)n=hv(n,t);return n&&(bo(n)==="html"||bo(n)==="body"&&Mn(n).position==="static"&&!Ah(n))?r:n||Y3(e)||r}const s4=async function(e){let{reference:t,floating:r,strategy:n}=e;const a=this.getOffsetParent||pv,o=this.getDimensions;return{reference:i4(t,await a(r),n),floating:{x:0,y:0,...await o(r)}}};function l4(e){return Mn(e).direction==="rtl"}const u4={convertOffsetParentRelativeRectToViewportRelativeRect:K3,getDocumentElement:Wa,getClippingRect:a4,getOffsetParent:pv,getElementRects:s4,getClientRects:q3,getDimensions:o4,getScale:ss,isElement:Va,isRTL:l4};function c4(e,t){let r=null,n;const a=Wa(e);function o(){clearTimeout(n),r&&r.disconnect(),r=null}function i(l,u){l===void 0&&(l=!1),u===void 0&&(u=1),o();const{left:c,top:m,width:p,height:x}=e.getBoundingClientRect();if(l||t(),!p||!x)return;const C=Pc(m),E=Pc(a.clientWidth-(c+p)),v=Pc(a.clientHeight-(m+x)),A=Pc(c),j={rootMargin:-C+"px "+-E+"px "+-v+"px "+-A+"px",threshold:wn(0,mo(1,u))||1};let O=!0;function L(M){const z=M[0].intersectionRatio;if(z!==u){if(!O)return i();z?i(!1,z):n=setTimeout(()=>{i(!1,1e-7)},100)}O=!1}try{r=new IntersectionObserver(L,{...j,root:a.ownerDocument})}catch{r=new IntersectionObserver(L,j)}r.observe(e)}return i(!0),o}function gv(e,t,r,n){n===void 0&&(n={});const{ancestorScroll:a=!0,ancestorResize:o=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:u=!1}=n,c=jh(e),m=a||o?[...c?_l(c):[],..._l(t)]:[];m.forEach(S=>{a&&S.addEventListener("scroll",r,{passive:!0}),o&&S.addEventListener("resize",r)});const p=c&&l?c4(c,r):null;let x=-1,C=null;i&&(C=new ResizeObserver(S=>{let[j]=S;j&&j.target===c&&C&&(C.unobserve(t),cancelAnimationFrame(x),x=requestAnimationFrame(()=>{C&&C.observe(t)})),r()}),c&&!u&&C.observe(c),C.observe(t));let E,v=u?ai(e):null;u&&A();function A(){const S=ai(e);v&&(S.x!==v.x||S.y!==v.y||S.width!==v.width||S.height!==v.height)&&r(),v=S,E=requestAnimationFrame(A)}return r(),()=>{m.forEach(S=>{a&&S.removeEventListener("scroll",r),o&&S.removeEventListener("resize",r)}),p&&p(),C&&C.disconnect(),C=null,u&&cancelAnimationFrame(E)}}const d4=(e,t,r)=>{const n=new Map,a={platform:u4,...r},o={...a.platform,_c:n};return _3(e,t,{...a,platform:o})};var Ih=h.useLayoutEffect,f4=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],$c=function(){};function h4(e,t){return t?t[0]==="-"?e+t:e+"__"+t:e}function p4(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),a=2;a<r;a++)n[a-2]=arguments[a];var o=[].concat(n);if(t&&e)for(var i in t)t.hasOwnProperty(i)&&t[i]&&o.push("".concat(h4(e,i)));return o.filter(function(l){return l}).map(function(l){return String(l).trim()}).join(" ")}var Lc=function(t){return E4(t)?t.filter(Boolean):ni(t)==="object"&&t!==null?[t]:[]},mv=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 r=ma(t,f4);return dt({},r)},hr=function(t,r,n){var a=t.cx,o=t.getStyles,i=t.getClassNames,l=t.className;return{css:o(r,t),className:a(n??{},i(r,t),l)}};function _c(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function g4(e){return _c(e)?window.innerHeight:e.clientHeight}function vv(e){return _c(e)?window.pageYOffset:e.scrollTop}function Wc(e,t){if(_c(e)){window.scrollTo(0,t);return}e.scrollTop=t}function m4(e){var t=getComputedStyle(e),r=t.position==="absolute",n=/(auto|scroll)/;if(t.position==="fixed")return document.documentElement;for(var a=e;a=a.parentElement;)if(t=getComputedStyle(a),!(r&&t.position==="static")&&n.test(t.overflow+t.overflowY+t.overflowX))return a;return document.documentElement}function v4(e,t,r,n){return r*((e=e/n-1)*e*e+1)+t}function Vc(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:$c,a=vv(e),o=t-a,i=10,l=0;function u(){l+=i;var c=v4(l,a,o,r);Wc(e,c),l<r?window.requestAnimationFrame(u):n(e)}u()}function bv(e,t){var r=e.getBoundingClientRect(),n=t.getBoundingClientRect(),a=t.offsetHeight/3;n.bottom+a>r.bottom?Wc(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+a,e.scrollHeight)):n.top-a<r.top&&Wc(e,Math.max(t.offsetTop-a,0))}function b4(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 xv(){try{return document.createEvent("TouchEvent"),!0}catch{return!1}}function x4(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}var yv=!1,y4={get passive(){return yv=!0}},Hc=typeof window<"u"?window:{};Hc.addEventListener&&Hc.removeEventListener&&(Hc.addEventListener("p",$c,y4),Hc.removeEventListener("p",$c,!1));var C4=yv;function w4(e){return e!=null}function E4(e){return Array.isArray(e)}function Wl(e,t,r){return e?t:r}function xN(e){return e}function yN(e){return e}var D4=function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];var o=Object.entries(t).filter(function(i){var l=$a(i,1),u=l[0];return!n.includes(u)});return o.reduce(function(i,l){var u=$a(l,2),c=u[0],m=u[1];return i[c]=m,i},{})},S4=["children","innerProps"],A4=["children","innerProps"];function F4(e){var t=e.maxHeight,r=e.menuEl,n=e.minHeight,a=e.placement,o=e.shouldScroll,i=e.isFixedPosition,l=e.controlHeight,u=m4(r),c={placement:"bottom",maxHeight:t};if(!r||!r.offsetParent)return c;var m=u.getBoundingClientRect(),p=m.height,x=r.getBoundingClientRect(),C=x.bottom,E=x.height,v=x.top,A=r.offsetParent.getBoundingClientRect(),S=A.top,j=i?window.innerHeight:g4(u),O=vv(u),L=parseInt(getComputedStyle(r).marginBottom,10),M=parseInt(getComputedStyle(r).marginTop,10),z=S-M,H=j-v,oe=z+O,J=p-O-v,ge=C-j+O+L,xe=O+v-M,Q=160;switch(a){case"auto":case"bottom":if(H>=E)return{placement:"bottom",maxHeight:t};if(J>=E&&!i)return o&&Vc(u,ge,Q),{placement:"bottom",maxHeight:t};if(!i&&J>=n||i&&H>=n){o&&Vc(u,ge,Q);var ce=i?H-L:J-L;return{placement:"bottom",maxHeight:ce}}if(a==="auto"||i){var N=t,W=i?z:oe;return W>=n&&(N=Math.min(W-L-l,t)),{placement:"top",maxHeight:N}}if(a==="bottom")return o&&Wc(u,ge),{placement:"bottom",maxHeight:t};break;case"top":if(z>=E)return{placement:"top",maxHeight:t};if(oe>=E&&!i)return o&&Vc(u,xe,Q),{placement:"top",maxHeight:t};if(!i&&oe>=n||i&&z>=n){var ee=t;return(!i&&oe>=n||i&&z>=n)&&(ee=i?z-M:oe-M),o&&Vc(u,xe,Q),{placement:"top",maxHeight:ee}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(a,'".'))}return c}function j4(e){var t={bottom:"top",top:"bottom"};return e?t[e]:"bottom"}var Cv=function(t){return t==="auto"?"bottom":t},I4=function(t,r){var n,a=t.placement,o=t.theme,i=o.borderRadius,l=o.spacing,u=o.colors;return dt((n={label:"menu"},Tl(n,j4(a),"100%"),Tl(n,"position","absolute"),Tl(n,"width","100%"),Tl(n,"zIndex",1),n),r?{}:{backgroundColor:u.neutral0,borderRadius:i,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:l.menuGutter,marginTop:l.menuGutter})},wv=h.createContext(null),T4=function(t){var r=t.children,n=t.minMenuHeight,a=t.maxMenuHeight,o=t.menuPlacement,i=t.menuPosition,l=t.menuShouldScrollIntoView,u=t.theme,c=h.useContext(wv)||{},m=c.setPortalPlacement,p=h.useRef(null),x=h.useState(a),C=$a(x,2),E=C[0],v=C[1],A=h.useState(null),S=$a(A,2),j=S[0],O=S[1],L=u.spacing.controlHeight;return Ih(function(){var M=p.current;if(M){var z=i==="fixed",H=l&&!z,oe=F4({maxHeight:a,menuEl:M,minHeight:n,placement:o,shouldScroll:H,isFixedPosition:z,controlHeight:L});v(oe.maxHeight),O(oe.placement),m==null||m(oe.placement)}},[a,o,i,l,n,m,L]),r({ref:p,placerProps:dt(dt({},t),{},{placement:j||Cv(o),maxHeight:E})})},k4=function(t){var r=t.children,n=t.innerRef,a=t.innerProps;return pt("div",we({},hr(t,"menu",{menu:!0}),{ref:n},a),r)},B4=k4,P4=function(t,r){var n=t.maxHeight,a=t.theme.spacing.baseUnit;return dt({maxHeight:n,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},r?{}:{paddingBottom:a,paddingTop:a})},O4=function(t){var r=t.children,n=t.innerProps,a=t.innerRef,o=t.isMulti;return pt("div",we({},hr(t,"menuList",{"menu-list":!0,"menu-list--is-multi":o}),{ref:a},n),r)},Ev=function(t,r){var n=t.theme,a=n.spacing.baseUnit,o=n.colors;return dt({textAlign:"center"},r?{}:{color:o.neutral40,padding:"".concat(a*2,"px ").concat(a*3,"px")})},N4=Ev,M4=Ev,R4=function(t){var r=t.children,n=r===void 0?"No options":r,a=t.innerProps,o=ma(t,S4);return pt("div",we({},hr(dt(dt({},o),{},{children:n,innerProps:a}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),a),n)},$4=function(t){var r=t.children,n=r===void 0?"Loading...":r,a=t.innerProps,o=ma(t,A4);return pt("div",we({},hr(dt(dt({},o),{},{children:n,innerProps:a}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),a),n)},L4=function(t){var r=t.rect,n=t.offset,a=t.position;return{left:r.left,position:a,top:n,width:r.width,zIndex:1}},_4=function(t){var r=t.appendTo,n=t.children,a=t.controlElement,o=t.innerProps,i=t.menuPlacement,l=t.menuPosition,u=h.useRef(null),c=h.useRef(null),m=h.useState(Cv(i)),p=$a(m,2),x=p[0],C=p[1],E=h.useMemo(function(){return{setPortalPlacement:C}},[]),v=h.useState(null),A=$a(v,2),S=A[0],j=A[1],O=h.useCallback(function(){if(a){var H=b4(a),oe=l==="fixed"?0:window.pageYOffset,J=H[x]+oe;(J!==(S==null?void 0:S.offset)||H.left!==(S==null?void 0:S.rect.left)||H.width!==(S==null?void 0:S.rect.width))&&j({offset:J,rect:H})}},[a,l,x,S==null?void 0:S.offset,S==null?void 0:S.rect.left,S==null?void 0:S.rect.width]);Ih(function(){O()},[O]);var L=h.useCallback(function(){typeof c.current=="function"&&(c.current(),c.current=null),a&&u.current&&(c.current=gv(a,u.current,O,{elementResize:"ResizeObserver"in window}))},[a,O]);Ih(function(){L()},[L]);var M=h.useCallback(function(H){u.current=H,L()},[L]);if(!r&&l!=="fixed"||!S)return null;var z=pt("div",we({ref:M},hr(dt(dt({},t),{},{offset:S.offset,position:l,rect:S.rect}),"menuPortal",{"menu-portal":!0}),o),n);return pt(wv.Provider,{value:E},r?Qo.createPortal(z,r):z)},W4=function(t){var r=t.isDisabled,n=t.isRtl;return{label:"container",direction:n?"rtl":void 0,pointerEvents:r?"none":void 0,position:"relative"}},V4=function(t){var r=t.children,n=t.innerProps,a=t.isDisabled,o=t.isRtl;return pt("div",we({},hr(t,"container",{"--is-disabled":a,"--is-rtl":o}),n),r)},H4=function(t,r){var n=t.theme.spacing,a=t.isMulti,o=t.hasValue,i=t.selectProps.controlShouldRenderValue;return dt({alignItems:"center",display:a&&o&&i?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},r?{}:{padding:"".concat(n.baseUnit/2,"px ").concat(n.baseUnit*2,"px")})},z4=function(t){var r=t.children,n=t.innerProps,a=t.isMulti,o=t.hasValue;return pt("div",we({},hr(t,"valueContainer",{"value-container":!0,"value-container--is-multi":a,"value-container--has-value":o}),n),r)},G4=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},Z4=function(t){var r=t.children,n=t.innerProps;return pt("div",we({},hr(t,"indicatorsContainer",{indicators:!0}),n),r)},Dv,U4=["size"],X4=["innerProps","isRtl","size"];function Y4(){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 J4=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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIEN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toString:Y4},Sv=function(t){var r=t.size,n=ma(t,U4);return pt("svg",we({height:r,width:r,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:J4},n))},Th=function(t){return pt(Sv,we({size:20},t),pt("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"}))},Av=function(t){return pt(Sv,we({size:20},t),pt("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"}))},Fv=function(t,r){var n=t.isFocused,a=t.theme,o=a.spacing.baseUnit,i=a.colors;return dt({label:"indicatorContainer",display:"flex",transition:"color 150ms"},r?{}:{color:n?i.neutral60:i.neutral20,padding:o*2,":hover":{color:n?i.neutral80:i.neutral40}})},Q4=Fv,K4=function(t){var r=t.children,n=t.innerProps;return pt("div",we({},hr(t,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),r||pt(Av,null))},q4=Fv,e5=function(t){var r=t.children,n=t.innerProps;return pt("div",we({},hr(t,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),r||pt(Th,null))},t5=function(t,r){var n=t.isDisabled,a=t.theme,o=a.spacing.baseUnit,i=a.colors;return dt({label:"indicatorSeparator",alignSelf:"stretch",width:1},r?{}:{backgroundColor:n?i.neutral10:i.neutral20,marginBottom:o*2,marginTop:o*2})},r5=function(t){var r=t.innerProps;return pt("span",we({},r,hr(t,"indicatorSeparator",{"indicator-separator":!0})))},n5=S3(Dv||(Dv=k3([`
55
55
  0%, 80%, 100% { opacity: 0; }
56
56
  40% { opacity: 1; }
57
- `]))),a5=function(t,r){var n=t.isFocused,a=t.size,o=t.theme,i=o.colors,l=o.spacing.baseUnit;return dt({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:a,lineHeight:1,marginRight:a,textAlign:"center",verticalAlign:"middle"},r?{}:{color:n?i.neutral60:i.neutral20,padding:l*2})},kh=function(t){var r=t.delay,n=t.offset;return pt("span",{css:yh({animation:"".concat(n5," 1s ease-in-out ").concat(r,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lLFxuICBDU1NPYmplY3RXaXRoTGFiZWwsXG4gIEdyb3VwQmFzZSxcbn0gZnJvbSAnLi4vdHlwZXMnO1xuaW1wb3J0IHsgZ2V0U3R5bGVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBEcm9wZG93bi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G51bWJlcjtcbn1cbmV4cG9ydCBjb25zdCBMb2FkaW5nSW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KHtcbiAgaW5uZXJQcm9wcyxcbiAgaXNSdGwsXG4gIHNpemUgPSA0LFxuICAuLi5yZXN0UHJvcHNcbn06IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPikgPT4ge1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKFxuICAgICAgICB7IC4uLnJlc3RQcm9wcywgaW5uZXJQcm9wcywgaXNSdGwsIHNpemUgfSxcbiAgICAgICAgJ2xvYWRpbmdJbmRpY2F0b3InLFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdsb2FkaW5nLWluZGljYXRvcic6IHRydWUsXG4gICAgICAgIH1cbiAgICAgICl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MH0gb2Zmc2V0PXtpc1J0bH0gLz5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXsxNjB9IG9mZnNldCAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezMyMH0gb2Zmc2V0PXshaXNSdGx9IC8+XG4gICAgPC9kaXY+XG4gICk7XG59O1xuIl19 */")})},o5=function(t){var r=t.innerProps,n=t.isRtl,a=t.size,o=a===void 0?4:a,i=ma(t,X4);return pt("div",we({},hr(dt(dt({},i),{},{innerProps:r,isRtl:n,size:o}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),r),pt(kh,{delay:0,offset:n}),pt(kh,{delay:160,offset:!0}),pt(kh,{delay:320,offset:!n}))},i5=function(t,r){var n=t.isDisabled,a=t.isFocused,o=t.theme,i=o.colors,l=o.borderRadius,u=o.spacing;return dt({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:u.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},r?{}:{backgroundColor:n?i.neutral5:i.neutral0,borderColor:n?i.neutral10:a?i.primary:i.neutral20,borderRadius:l,borderStyle:"solid",borderWidth:1,boxShadow:a?"0 0 0 1px ".concat(i.primary):void 0,"&:hover":{borderColor:a?i.primary:i.neutral30}})},s5=function(t){var r=t.children,n=t.isDisabled,a=t.isFocused,o=t.innerRef,i=t.innerProps,l=t.menuIsOpen;return pt("div",we({ref:o},hr(t,"control",{control:!0,"control--is-disabled":n,"control--is-focused":a,"control--menu-is-open":l}),i),r)},l5=s5,u5=["data"],c5=function(t,r){var n=t.theme.spacing;return r?{}:{paddingBottom:n.baseUnit*2,paddingTop:n.baseUnit*2}},d5=function(t){var r=t.children,n=t.cx,a=t.getStyles,o=t.getClassNames,i=t.Heading,l=t.headingProps,u=t.innerProps,c=t.label,m=t.theme,p=t.selectProps;return pt("div",we({},hr(t,"group",{group:!0}),u),pt(i,we({},l,{selectProps:p,theme:m,getStyles:a,getClassNames:o,cx:n}),c),pt("div",null,r))},f5=function(t,r){var n=t.theme,a=n.colors,o=n.spacing;return dt({label:"group",cursor:"default",display:"block"},r?{}:{color:a.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:o.baseUnit*3,paddingRight:o.baseUnit*3,textTransform:"uppercase"})},h5=function(t){var r=mv(t);r.data;var n=ma(r,u5);return pt("div",we({},hr(t,"groupHeading",{"group-heading":!0}),n))},p5=d5,g5=["innerRef","isDisabled","isHidden","inputClassName"],m5=function(t,r){var n=t.isDisabled,a=t.value,o=t.theme,i=o.spacing,l=o.colors;return dt(dt({visibility:n?"hidden":"visible",transform:a?"translateZ(0)":""},v5),r?{}:{margin:i.baseUnit/2,paddingBottom:i.baseUnit/2,paddingTop:i.baseUnit/2,color:l.neutral80})},jv={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},v5={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":dt({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},jv)},b5=function(t){return dt({label:"input",color:"inherit",background:0,opacity:t?0:1,width:"100%"},jv)},x5=function(t){var r=t.cx,n=t.value,a=mv(t),o=a.innerRef,i=a.isDisabled,l=a.isHidden,u=a.inputClassName,c=ma(a,g5);return pt("div",we({},hr(t,"input",{"input-container":!0}),{"data-value":n||""}),pt("input",we({className:r({input:!0},u),ref:o,style:b5(l),disabled:i},c)))},y5=x5,C5=function(t,r){var n=t.theme,a=n.spacing,o=n.borderRadius,i=n.colors;return dt({label:"multiValue",display:"flex",minWidth:0},r?{}:{backgroundColor:i.neutral10,borderRadius:o/2,margin:a.baseUnit/2})},w5=function(t,r){var n=t.theme,a=n.borderRadius,o=n.colors,i=t.cropWithEllipsis;return dt({overflow:"hidden",textOverflow:i||i===void 0?"ellipsis":void 0,whiteSpace:"nowrap"},r?{}:{borderRadius:a/2,color:o.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},E5=function(t,r){var n=t.theme,a=n.spacing,o=n.borderRadius,i=n.colors,l=t.isFocused;return dt({alignItems:"center",display:"flex"},r?{}:{borderRadius:o/2,backgroundColor:l?i.dangerLight:void 0,paddingLeft:a.baseUnit,paddingRight:a.baseUnit,":hover":{backgroundColor:i.dangerLight,color:i.danger}})},Iv=function(t){var r=t.children,n=t.innerProps;return pt("div",n,r)},D5=Iv,S5=Iv;function A5(e){var t=e.children,r=e.innerProps;return pt("div",we({role:"button"},r),t||pt(Th,{size:14}))}var F5=function(t){var r=t.children,n=t.components,a=t.data,o=t.innerProps,i=t.isDisabled,l=t.removeProps,u=t.selectProps,c=n.Container,m=n.Label,p=n.Remove;return pt(c,{data:a,innerProps:dt(dt({},hr(t,"multiValue",{"multi-value":!0,"multi-value--is-disabled":i})),o),selectProps:u},pt(m,{data:a,innerProps:dt({},hr(t,"multiValueLabel",{"multi-value__label":!0})),selectProps:u},r),pt(p,{data:a,innerProps:dt(dt({},hr(t,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(r||"option")},l),selectProps:u}))},j5=F5,I5=function(t,r){var n=t.isDisabled,a=t.isFocused,o=t.isSelected,i=t.theme,l=i.spacing,u=i.colors;return dt({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},r?{}:{backgroundColor:o?u.primary:a?u.primary25:"transparent",color:n?u.neutral20:o?u.neutral0:"inherit",padding:"".concat(l.baseUnit*2,"px ").concat(l.baseUnit*3,"px"),":active":{backgroundColor:n?void 0:o?u.primary:u.primary50}})},T5=function(t){var r=t.children,n=t.isDisabled,a=t.isFocused,o=t.isSelected,i=t.innerRef,l=t.innerProps;return pt("div",we({},hr(t,"option",{option:!0,"option--is-disabled":n,"option--is-focused":a,"option--is-selected":o}),{ref:i,"aria-disabled":n},l),r)},k5=T5,B5=function(t,r){var n=t.theme,a=n.spacing,o=n.colors;return dt({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},r?{}:{color:o.neutral50,marginLeft:a.baseUnit/2,marginRight:a.baseUnit/2})},P5=function(t){var r=t.children,n=t.innerProps;return pt("div",we({},hr(t,"placeholder",{placeholder:!0}),n),r)},O5=P5,N5=function(t,r){var n=t.isDisabled,a=t.theme,o=a.spacing,i=a.colors;return dt({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},r?{}:{color:n?i.neutral40:i.neutral80,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},M5=function(t){var r=t.children,n=t.isDisabled,a=t.innerProps;return pt("div",we({},hr(t,"singleValue",{"single-value":!0,"single-value--is-disabled":n}),a),r)},R5=M5,$5={ClearIndicator:e5,Control:l5,DropdownIndicator:K4,DownChevron:Av,CrossIcon:Th,Group:p5,GroupHeading:h5,IndicatorsContainer:Z4,IndicatorSeparator:r5,Input:y5,LoadingIndicator:o5,Menu:B4,MenuList:O4,MenuPortal:_4,LoadingMessage:$4,NoOptionsMessage:R4,MultiValue:j5,MultiValueContainer:D5,MultiValueLabel:S5,MultiValueRemove:A5,Option:k5,Placeholder:O5,SelectContainer:V4,SingleValue:R5,ValueContainer:z4},L5=function(t){return dt(dt({},$5),t.components)},Tv=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function _5(e,t){return!!(e===t||Tv(e)&&Tv(t))}function W5(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(!_5(e[r],t[r]))return!1;return!0}function V5(e,t){t===void 0&&(t=W5);var r=null;function n(){for(var a=[],o=0;o<arguments.length;o++)a[o]=arguments[o];if(r&&r.lastThis===this&&t(a,r.lastArgs))return r.lastResult;var i=e.apply(this,a);return r={lastResult:i,lastArgs:a,lastThis:this},i}return n.clear=function(){r=null},n}function H5(){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 z5=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:H5},G5=function(t){return pt("span",we({css:z5},t))},kv=G5,Z5={guidance:function(t){var r=t.isSearchable,n=t.isMulti,a=t.isDisabled,o=t.tabSelectsValue,i=t.context;switch(i){case"menu":return"Use Up and Down to choose options".concat(a?"":", 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"".concat(t["aria-label"]||"Select"," is focused ").concat(r?",type to refine list":"",", press Down to open the menu, ").concat(n?" 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 r=t.action,n=t.label,a=n===void 0?"":n,o=t.labels,i=t.isDisabled;switch(r){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(a,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(o.length>1?"s":""," ").concat(o.join(","),", selected.");case"select-option":return i?"option ".concat(a," is disabled. Select another option."):"option ".concat(a,", selected.");default:return""}},onFocus:function(t){var r=t.context,n=t.focused,a=t.options,o=t.label,i=o===void 0?"":o,l=t.selectValue,u=t.isDisabled,c=t.isSelected,m=function(E,v){return E&&E.length?"".concat(E.indexOf(v)+1," of ").concat(E.length):""};if(r==="value"&&l)return"value ".concat(i," focused, ").concat(m(l,n),".");if(r==="menu"){var p=u?" disabled":"",x="".concat(c?"selected":"focused").concat(p);return"option ".concat(i," ").concat(x,", ").concat(m(a,n),".")}return""},onFilter:function(t){var r=t.inputValue,n=t.resultsMessage;return"".concat(n).concat(r?" for search term "+r:"",".")}},U5=function(t){var r=t.ariaSelection,n=t.focusedOption,a=t.focusedValue,o=t.focusableOptions,i=t.isFocused,l=t.selectValue,u=t.selectProps,c=t.id,m=u.ariaLiveMessages,p=u.getOptionLabel,x=u.inputValue,C=u.isMulti,E=u.isOptionDisabled,v=u.isSearchable,A=u.menuIsOpen,S=u.options,j=u.screenReaderStatus,O=u.tabSelectsValue,L=u["aria-label"],M=u["aria-live"],z=h.useMemo(function(){return dt(dt({},Z5),m||{})},[m]),H=h.useMemo(function(){var N="";if(r&&z.onChange){var W=r.option,ee=r.options,de=r.removedValue,ne=r.removedValues,te=r.value,K=function(me){return Array.isArray(me)?null:me},se=de||W||K(te),fe=se?p(se):"",Se=ee||ne||void 0,G=Se?Se.map(p):[],he=dt({isDisabled:se&&E(se,l),label:fe,labels:G},r);N=z.onChange(he)}return N},[r,z,E,l,p]),oe=h.useMemo(function(){var N="",W=n||a,ee=!!(n&&l&&l.includes(n));if(W&&z.onFocus){var de={focused:W,label:p(W),isDisabled:E(W,l),isSelected:ee,options:o,context:W===n?"menu":"value",selectValue:l};N=z.onFocus(de)}return N},[n,a,p,E,z,o,l]),J=h.useMemo(function(){var N="";if(A&&S.length&&z.onFilter){var W=j({count:o.length});N=z.onFilter({inputValue:x,resultsMessage:W})}return N},[o,x,A,z,S,j]),ge=h.useMemo(function(){var N="";if(z.guidance){var W=a?"value":A?"menu":"input";N=z.guidance({"aria-label":L,context:W,isDisabled:n&&E(n,l),isMulti:C,isSearchable:v,tabSelectsValue:O})}return N},[L,n,a,C,E,v,A,z,l,O]),xe="".concat(oe," ").concat(J," ").concat(ge),Q=pt(h.Fragment,null,pt("span",{id:"aria-selection"},H),pt("span",{id:"aria-context"},xe)),ce=(r==null?void 0:r.action)==="initial-input-focus";return pt(h.Fragment,null,pt(kv,{id:c},ce&&Q),pt(kv,{"aria-live":M,"aria-atomic":"false","aria-relevant":"additions text"},i&&!ce&&Q))},X5=U5,Bh=[{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źẑżžẓẕƶȥɀⱬꝣ"}],Y5=new RegExp("["+Bh.map(function(e){return e.letters}).join("")+"]","g"),Bv={},Ph=0;Ph<Bh.length;Ph++)for(var Oh=Bh[Ph],Nh=0;Nh<Oh.letters.length;Nh++)Bv[Oh.letters[Nh]]=Oh.base;var Pv=function(t){return t.replace(Y5,function(r){return Bv[r]})},J5=V5(Pv),Ov=function(t){return t.replace(/^\s+|\s+$/g,"")},Q5=function(t){return"".concat(t.label," ").concat(t.value)},K5=function(t){return function(r,n){if(r.data.__isNew__)return!0;var a=dt({ignoreCase:!0,ignoreAccents:!0,stringify:Q5,trim:!0,matchFrom:"any"},t),o=a.ignoreCase,i=a.ignoreAccents,l=a.stringify,u=a.trim,c=a.matchFrom,m=u?Ov(n):n,p=u?Ov(l(r)):l(r);return o&&(m=m.toLowerCase(),p=p.toLowerCase()),i&&(m=J5(m),p=Pv(p)),c==="start"?p.substr(0,m.length)===m:p.indexOf(m)>-1}},q5=["innerRef"];function e9(e){var t=e.innerRef,r=ma(e,q5),n=D4(r,"onExited","in","enter","exit","appear");return pt("input",we({ref:t},n,{css:yh({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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsIn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JzEgLyAxIC8gMiAvIDMnLFxuICAgICAgICBvdXRsaW5lOiAwLFxuICAgICAgICBwYWRkaW5nOiAwLFxuICAgICAgICAvLyBpbXBvcnRhbnQhIHdpdGhvdXQgYHdpZHRoYCBicm93c2VycyB3b24ndCBhbGxvdyBmb2N1c1xuICAgICAgICB3aWR0aDogMSxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIGRlc2t0b3BcbiAgICAgICAgY29sb3I6ICd0cmFuc3BhcmVudCcsXG5cbiAgICAgICAgLy8gcmVtb3ZlIGN1cnNvciBvbiBtb2JpbGUgd2hpbHN0IG1haW50YWluaW5nIFwic2Nyb2xsIGludG8gdmlld1wiIGJlaGF2aW91clxuICAgICAgICBsZWZ0OiAtMTAwLFxuICAgICAgICBvcGFjaXR5OiAwLFxuICAgICAgICBwb3NpdGlvbjogJ3JlbGF0aXZlJyxcbiAgICAgICAgdHJhbnNmb3JtOiAnc2NhbGUoLjAxKScsXG4gICAgICB9fVxuICAgIC8+XG4gICk7XG59XG4iXX0= */")}))}var t9=function(t){t.preventDefault(),t.stopPropagation()};function r9(e){var t=e.isEnabled,r=e.onBottomArrive,n=e.onBottomLeave,a=e.onTopArrive,o=e.onTopLeave,i=h.useRef(!1),l=h.useRef(!1),u=h.useRef(0),c=h.useRef(null),m=h.useCallback(function(A,S){if(c.current!==null){var j=c.current,O=j.scrollTop,L=j.scrollHeight,M=j.clientHeight,z=c.current,H=S>0,oe=L-M-O,J=!1;oe>S&&i.current&&(n&&n(A),i.current=!1),H&&l.current&&(o&&o(A),l.current=!1),H&&S>oe?(r&&!i.current&&r(A),z.scrollTop=L,J=!0,i.current=!0):!H&&-S>O&&(a&&!l.current&&a(A),z.scrollTop=0,J=!0,l.current=!0),J&&t9(A)}},[r,n,a,o]),p=h.useCallback(function(A){m(A,A.deltaY)},[m]),x=h.useCallback(function(A){u.current=A.changedTouches[0].clientY},[]),C=h.useCallback(function(A){var S=u.current-A.changedTouches[0].clientY;m(A,S)},[m]),E=h.useCallback(function(A){if(A){var S=C4?{passive:!1}:!1;A.addEventListener("wheel",p,S),A.addEventListener("touchstart",x,S),A.addEventListener("touchmove",C,S)}},[C,x,p]),v=h.useCallback(function(A){A&&(A.removeEventListener("wheel",p,!1),A.removeEventListener("touchstart",x,!1),A.removeEventListener("touchmove",C,!1))},[C,x,p]);return h.useEffect(function(){if(t){var A=c.current;return E(A),function(){v(A)}}},[t,E,v]),function(A){c.current=A}}var Nv=["boxSizing","height","overflow","paddingRight","position"],Mv={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Rv(e){e.preventDefault()}function $v(e){e.stopPropagation()}function Lv(){var e=this.scrollTop,t=this.scrollHeight,r=e+this.offsetHeight;e===0?this.scrollTop=1:r===t&&(this.scrollTop=e-1)}function _v(){return"ontouchstart"in window||navigator.maxTouchPoints}var Wv=!!(typeof window<"u"&&window.document&&window.document.createElement),Vl=0,ls={capture:!1,passive:!1};function n9(e){var t=e.isEnabled,r=e.accountForScrollbars,n=r===void 0?!0:r,a=h.useRef({}),o=h.useRef(null),i=h.useCallback(function(u){if(Wv){var c=document.body,m=c&&c.style;if(n&&Nv.forEach(function(E){var v=m&&m[E];a.current[E]=v}),n&&Vl<1){var p=parseInt(a.current.paddingRight,10)||0,x=document.body?document.body.clientWidth:0,C=window.innerWidth-x+p||0;Object.keys(Mv).forEach(function(E){var v=Mv[E];m&&(m[E]=v)}),m&&(m.paddingRight="".concat(C,"px"))}c&&_v()&&(c.addEventListener("touchmove",Rv,ls),u&&(u.addEventListener("touchstart",Lv,ls),u.addEventListener("touchmove",$v,ls))),Vl+=1}},[n]),l=h.useCallback(function(u){if(Wv){var c=document.body,m=c&&c.style;Vl=Math.max(Vl-1,0),n&&Vl<1&&Nv.forEach(function(p){var x=a.current[p];m&&(m[p]=x)}),c&&_v()&&(c.removeEventListener("touchmove",Rv,ls),u&&(u.removeEventListener("touchstart",Lv,ls),u.removeEventListener("touchmove",$v,ls)))}},[n]);return h.useEffect(function(){if(t){var u=o.current;return i(u),function(){l(u)}}},[t,i,l]),function(u){o.current=u}}function a9(){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 o9=function(t){var r=t.target;return r.ownerDocument.activeElement&&r.ownerDocument.activeElement.blur()},i9=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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2ssIE1vdXNlRXZlbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcuL3VzZVNjcm9sbENhcHR1cmUnO1xuaW1wb3J0IHVzZVNjcm9sbExvY2sgZnJvbSAnLi91c2VTY3JvbGxMb2NrJztcblxuaW50ZXJmYWNlIFByb3BzIHtcbiAgcmVhZG9ubHkgY2hpbGRyZW46IChyZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PikgPT4gUmVhY3RFbGVtZW50O1xuICByZWFkb25seSBsb2NrRW5hYmxlZDogYm9vbGVhbjtcbiAgcmVhZG9ubHkgY2FwdHVyZUVuYWJsZWQ6IGJvb2xlYW47XG4gIHJlYWRvbmx5IG9uQm90dG9tQXJyaXZlPzogKGV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ub3BBcnJpdmUsXG4gICAgb25Ub3BMZWF2ZSxcbiAgfSk7XG4gIGNvbnN0IHNldFNjcm9sbExvY2tUYXJnZXQgPSB1c2VTY3JvbGxMb2NrKHsgaXNFbmFibGVkOiBsb2NrRW5hYmxlZCB9KTtcblxuICBjb25zdCB0YXJnZXRSZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PiA9IChlbGVtZW50KSA9PiB7XG4gICAgc2V0U2Nyb2xsQ2FwdHVyZVRhcmdldChlbGVtZW50KTtcbiAgICBzZXRTY3JvbGxMb2NrVGFyZ2V0KGVsZW1lbnQpO1xuICB9O1xuXG4gIHJldHVybiAoXG4gICAgPEZyYWdtZW50PlxuICAgICAge2xvY2tFbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+XG4gICk7XG59XG4iXX0= */",toString:a9};function s9(e){var t=e.children,r=e.lockEnabled,n=e.captureEnabled,a=n===void 0?!0:n,o=e.onBottomArrive,i=e.onBottomLeave,l=e.onTopArrive,u=e.onTopLeave,c=r9({isEnabled:a,onBottomArrive:o,onBottomLeave:i,onTopArrive:l,onTopLeave:u}),m=n9({isEnabled:r}),p=function(C){c(C),m(C)};return pt(h.Fragment,null,r&&pt("div",{onClick:o9,css:i9}),t(p))}function l9(){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 u9=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:l9},c9=function(t){var r=t.name,n=t.onFocus;return pt("input",{required:!0,name:r,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:u9,value:"",onChange:function(){}})},d9=c9,f9=function(t){return t.label},Vv=function(t){return t.label},Hv=function(t){return t.value},h9=function(t){return!!t.isDisabled},p9={clearIndicator:q4,container:W4,control:i5,dropdownIndicator:Q4,group:c5,groupHeading:f5,indicatorsContainer:G4,indicatorSeparator:t5,input:m5,loadingIndicator:a5,loadingMessage:M4,menu:I4,menuList:P4,menuPortal:L4,multiValue:C5,multiValueLabel:w5,multiValueRemove:E5,noOptionsMessage:N4,option:I5,placeholder:B5,singleValue:N5,valueContainer:H4},g9={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%)"},m9=4,zv=4,v9=38,b9=zv*2,x9={baseUnit:zv,controlHeight:v9,menuGutter:b9},Mh={borderRadius:m9,colors:g9,spacing:x9},y9={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:xv(),captureMenuScroll:!xv(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:K5(),formatGroupLabel:f9,getOptionLabel:Vv,getOptionValue:Hv,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:h9,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!x4(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(t){var r=t.count;return"".concat(r," result").concat(r!==1?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function Gv(e,t,r,n){var a=Jv(e,t,r),o=Qv(e,t,r),i=Yv(e,t),l=zc(e,t);return{type:"option",data:t,isDisabled:a,isSelected:o,label:i,value:l,index:n}}function Zv(e,t){return e.options.map(function(r,n){if("options"in r){var a=r.options.map(function(i,l){return Gv(e,i,t,l)}).filter(function(i){return Xv(e,i)});return a.length>0?{type:"group",data:r,options:a,index:n}:void 0}var o=Gv(e,r,t,n);return Xv(e,o)?o:void 0}).filter(w4)}function Uv(e){return e.reduce(function(t,r){return r.type==="group"?t.push.apply(t,kl(r.options.map(function(n){return n.data}))):t.push(r.data),t},[])}function C9(e,t){return Uv(Zv(e,t))}function Xv(e,t){var r=e.inputValue,n=r===void 0?"":r,a=t.data,o=t.isSelected,i=t.label,l=t.value;return(!qv(e)||!o)&&Kv(e,{label:i,value:l,data:a},n)}function w9(e,t){var r=e.focusedValue,n=e.selectValue,a=n.indexOf(r);if(a>-1){var o=t.indexOf(r);if(o>-1)return r;if(a<t.length)return t[a]}return null}function E9(e,t){var r=e.focusedOption;return r&&t.indexOf(r)>-1?r:t[0]}var Yv=function(t,r){return t.getOptionLabel(r)},zc=function(t,r){return t.getOptionValue(r)};function Jv(e,t,r){return typeof e.isOptionDisabled=="function"?e.isOptionDisabled(t,r):!1}function Qv(e,t,r){if(r.indexOf(t)>-1)return!0;if(typeof e.isOptionSelected=="function")return e.isOptionSelected(t,r);var n=zc(e,t);return r.some(function(a){return zc(e,a)===n})}function Kv(e,t,r){return e.filterOption?e.filterOption(t,r):!0}var qv=function(t){var r=t.hideSelectedOptions,n=t.isMulti;return r===void 0?n:r},D9=1,Rh=function(e){dE(r,e);var t=gE(r);function r(n){var a;if(uE(this,r),a=t.call(this,n),a.state={ariaSelection:null,focusedOption:null,focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0},a.blockOptionHover=!1,a.isComposing=!1,a.commonProps=void 0,a.initialTouchX=0,a.initialTouchY=0,a.instancePrefix="",a.openAfterFocus=!1,a.scrollToFocusedOptionOnUpdate=!1,a.userIsDragging=void 0,a.controlRef=null,a.getControlRef=function(l){a.controlRef=l},a.focusedOptionRef=null,a.getFocusedOptionRef=function(l){a.focusedOptionRef=l},a.menuListRef=null,a.getMenuListRef=function(l){a.menuListRef=l},a.inputRef=null,a.getInputRef=function(l){a.inputRef=l},a.focus=a.focusInput,a.blur=a.blurInput,a.onChange=function(l,u){var c=a.props,m=c.onChange,p=c.name;u.name=p,a.ariaOnChange(l,u),m(l,u)},a.setValue=function(l,u,c){var m=a.props,p=m.closeMenuOnSelect,x=m.isMulti,C=m.inputValue;a.onInputChange("",{action:"set-value",prevInputValue:C}),p&&(a.setState({inputIsHiddenAfterUpdate:!x}),a.onMenuClose()),a.setState({clearFocusValueOnUpdate:!0}),a.onChange(l,{action:u,option:c})},a.selectOption=function(l){var u=a.props,c=u.blurInputOnSelect,m=u.isMulti,p=u.name,x=a.state.selectValue,C=m&&a.isOptionSelected(l,x),E=a.isOptionDisabled(l,x);if(C){var v=a.getOptionValue(l);a.setValue(x.filter(function(A){return a.getOptionValue(A)!==v}),"deselect-option",l)}else if(!E)m?a.setValue([].concat(kl(x),[l]),"select-option",l):a.setValue(l,"select-option");else{a.ariaOnChange(l,{action:"select-option",option:l,name:p});return}c&&a.blurInput()},a.removeValue=function(l){var u=a.props.isMulti,c=a.state.selectValue,m=a.getOptionValue(l),p=c.filter(function(C){return a.getOptionValue(C)!==m}),x=Wl(u,p,p[0]||null);a.onChange(x,{action:"remove-value",removedValue:l}),a.focusInput()},a.clearValue=function(){var l=a.state.selectValue;a.onChange(Wl(a.props.isMulti,[],null),{action:"clear",removedValues:l})},a.popValue=function(){var l=a.props.isMulti,u=a.state.selectValue,c=u[u.length-1],m=u.slice(0,u.length-1),p=Wl(l,m,m[0]||null);a.onChange(p,{action:"pop-value",removedValue:c})},a.getValue=function(){return a.state.selectValue},a.cx=function(){for(var l=arguments.length,u=new Array(l),c=0;c<l;c++)u[c]=arguments[c];return p4.apply(void 0,[a.props.classNamePrefix].concat(u))},a.getOptionLabel=function(l){return Yv(a.props,l)},a.getOptionValue=function(l){return zc(a.props,l)},a.getStyles=function(l,u){var c=a.props.unstyled,m=p9[l](u,c);m.boxSizing="border-box";var p=a.props.styles[l];return p?p(m,u):m},a.getClassNames=function(l,u){var c,m;return(c=(m=a.props.classNames)[l])===null||c===void 0?void 0:c.call(m,u)},a.getElementId=function(l){return"".concat(a.instancePrefix,"-").concat(l)},a.getComponents=function(){return L5(a.props)},a.buildCategorizedOptions=function(){return Zv(a.props,a.state.selectValue)},a.getCategorizedOptions=function(){return a.props.menuIsOpen?a.buildCategorizedOptions():[]},a.buildFocusableOptions=function(){return Uv(a.buildCategorizedOptions())},a.getFocusableOptions=function(){return a.props.menuIsOpen?a.buildFocusableOptions():[]},a.ariaOnChange=function(l,u){a.setState({ariaSelection:dt({value:l},u)})},a.onMenuMouseDown=function(l){l.button===0&&(l.stopPropagation(),l.preventDefault(),a.focusInput())},a.onMenuMouseMove=function(l){a.blockOptionHover=!1},a.onControlMouseDown=function(l){if(!l.defaultPrevented){var u=a.props.openMenuOnClick;a.state.isFocused?a.props.menuIsOpen?l.target.tagName!=="INPUT"&&l.target.tagName!=="TEXTAREA"&&a.onMenuClose():u&&a.openMenu("first"):(u&&(a.openAfterFocus=!0),a.focusInput()),l.target.tagName!=="INPUT"&&l.target.tagName!=="TEXTAREA"&&l.preventDefault()}},a.onDropdownIndicatorMouseDown=function(l){if(!(l&&l.type==="mousedown"&&l.button!==0)&&!a.props.isDisabled){var u=a.props,c=u.isMulti,m=u.menuIsOpen;a.focusInput(),m?(a.setState({inputIsHiddenAfterUpdate:!c}),a.onMenuClose()):a.openMenu("first"),l.preventDefault()}},a.onClearIndicatorMouseDown=function(l){l&&l.type==="mousedown"&&l.button!==0||(a.clearValue(),l.preventDefault(),a.openAfterFocus=!1,l.type==="touchend"?a.focusInput():setTimeout(function(){return a.focusInput()}))},a.onScroll=function(l){typeof a.props.closeMenuOnScroll=="boolean"?l.target instanceof HTMLElement&&_c(l.target)&&a.props.onMenuClose():typeof a.props.closeMenuOnScroll=="function"&&a.props.closeMenuOnScroll(l)&&a.props.onMenuClose()},a.onCompositionStart=function(){a.isComposing=!0},a.onCompositionEnd=function(){a.isComposing=!1},a.onTouchStart=function(l){var u=l.touches,c=u&&u.item(0);c&&(a.initialTouchX=c.clientX,a.initialTouchY=c.clientY,a.userIsDragging=!1)},a.onTouchMove=function(l){var u=l.touches,c=u&&u.item(0);if(c){var m=Math.abs(c.clientX-a.initialTouchX),p=Math.abs(c.clientY-a.initialTouchY),x=5;a.userIsDragging=m>x||p>x}},a.onTouchEnd=function(l){a.userIsDragging||(a.controlRef&&!a.controlRef.contains(l.target)&&a.menuListRef&&!a.menuListRef.contains(l.target)&&a.blurInput(),a.initialTouchX=0,a.initialTouchY=0)},a.onControlTouchEnd=function(l){a.userIsDragging||a.onControlMouseDown(l)},a.onClearIndicatorTouchEnd=function(l){a.userIsDragging||a.onClearIndicatorMouseDown(l)},a.onDropdownIndicatorTouchEnd=function(l){a.userIsDragging||a.onDropdownIndicatorMouseDown(l)},a.handleInputChange=function(l){var u=a.props.inputValue,c=l.currentTarget.value;a.setState({inputIsHiddenAfterUpdate:!1}),a.onInputChange(c,{action:"input-change",prevInputValue:u}),a.props.menuIsOpen||a.onMenuOpen()},a.onInputFocus=function(l){a.props.onFocus&&a.props.onFocus(l),a.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(a.openAfterFocus||a.props.openMenuOnFocus)&&a.openMenu("first"),a.openAfterFocus=!1},a.onInputBlur=function(l){var u=a.props.inputValue;if(a.menuListRef&&a.menuListRef.contains(document.activeElement)){a.inputRef.focus();return}a.props.onBlur&&a.props.onBlur(l),a.onInputChange("",{action:"input-blur",prevInputValue:u}),a.onMenuClose(),a.setState({focusedValue:null,isFocused:!1})},a.onOptionHover=function(l){a.blockOptionHover||a.state.focusedOption===l||a.setState({focusedOption:l})},a.shouldHideSelectedOptions=function(){return qv(a.props)},a.onValueInputFocus=function(l){l.preventDefault(),l.stopPropagation(),a.focus()},a.onKeyDown=function(l){var u=a.props,c=u.isMulti,m=u.backspaceRemovesValue,p=u.escapeClearsValue,x=u.inputValue,C=u.isClearable,E=u.isDisabled,v=u.menuIsOpen,A=u.onKeyDown,S=u.tabSelectsValue,j=u.openMenuOnFocus,O=a.state,L=O.focusedOption,M=O.focusedValue,z=O.selectValue;if(!E&&!(typeof A=="function"&&(A(l),l.defaultPrevented))){switch(a.blockOptionHover=!0,l.key){case"ArrowLeft":if(!c||x)return;a.focusValue("previous");break;case"ArrowRight":if(!c||x)return;a.focusValue("next");break;case"Delete":case"Backspace":if(x)return;if(M)a.removeValue(M);else{if(!m)return;c?a.popValue():C&&a.clearValue()}break;case"Tab":if(a.isComposing||l.shiftKey||!v||!S||!L||j&&a.isOptionSelected(L,z))return;a.selectOption(L);break;case"Enter":if(l.keyCode===229)break;if(v){if(!L||a.isComposing)return;a.selectOption(L);break}return;case"Escape":v?(a.setState({inputIsHiddenAfterUpdate:!1}),a.onInputChange("",{action:"menu-close",prevInputValue:x}),a.onMenuClose()):C&&p&&a.clearValue();break;case" ":if(x)return;if(!v){a.openMenu("first");break}if(!L)return;a.selectOption(L);break;case"ArrowUp":v?a.focusOption("up"):a.openMenu("last");break;case"ArrowDown":v?a.focusOption("down"):a.openMenu("first");break;case"PageUp":if(!v)return;a.focusOption("pageup");break;case"PageDown":if(!v)return;a.focusOption("pagedown");break;case"Home":if(!v)return;a.focusOption("first");break;case"End":if(!v)return;a.focusOption("last");break;default:return}l.preventDefault()}},a.instancePrefix="react-select-"+(a.props.instanceId||++D9),a.state.selectValue=Lc(n.value),n.menuIsOpen&&a.state.selectValue.length){var o=a.buildFocusableOptions(),i=o.indexOf(a.state.selectValue[0]);a.state.focusedOption=o[i]}return a}return cE(r,[{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&&bv(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(a){var o=this.props,i=o.isDisabled,l=o.menuIsOpen,u=this.state.isFocused;(u&&!i&&a.isDisabled||u&&l&&!a.menuIsOpen)&&this.focusInput(),u&&i&&!a.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!u&&!i&&a.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(bv(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(a,o){this.props.onInputChange(a,o)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(a){var o=this,i=this.state,l=i.selectValue,u=i.isFocused,c=this.buildFocusableOptions(),m=a==="first"?0:c.length-1;if(!this.props.isMulti){var p=c.indexOf(l[0]);p>-1&&(m=p)}this.scrollToFocusedOptionOnUpdate=!(u&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:c[m]},function(){return o.onMenuOpen()})}},{key:"focusValue",value:function(a){var o=this.state,i=o.selectValue,l=o.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var u=i.indexOf(l);l||(u=-1);var c=i.length-1,m=-1;if(i.length){switch(a){case"previous":u===0?m=0:u===-1?m=c:m=u-1;break;case"next":u>-1&&u<c&&(m=u+1);break}this.setState({inputIsHidden:m!==-1,focusedValue:i[m]})}}}},{key:"focusOption",value:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"first",o=this.props.pageSize,i=this.state.focusedOption,l=this.getFocusableOptions();if(l.length){var u=0,c=l.indexOf(i);i||(c=-1),a==="up"?u=c>0?c-1:l.length-1:a==="down"?u=(c+1)%l.length:a==="pageup"?(u=c-o,u<0&&(u=0)):a==="pagedown"?(u=c+o,u>l.length-1&&(u=l.length-1)):a==="last"&&(u=l.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:l[u],focusedValue:null})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(Mh):dt(dt({},Mh),this.props.theme):Mh}},{key:"getCommonProps",value:function(){var a=this.clearValue,o=this.cx,i=this.getStyles,l=this.getClassNames,u=this.getValue,c=this.selectOption,m=this.setValue,p=this.props,x=p.isMulti,C=p.isRtl,E=p.options,v=this.hasValue();return{clearValue:a,cx:o,getStyles:i,getClassNames:l,getValue:u,hasValue:v,isMulti:x,isRtl:C,options:E,selectOption:c,selectProps:p,setValue:m,theme:this.getTheme()}}},{key:"hasValue",value:function(){var a=this.state.selectValue;return a.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var a=this.props,o=a.isClearable,i=a.isMulti;return o===void 0?i:o}},{key:"isOptionDisabled",value:function(a,o){return Jv(this.props,a,o)}},{key:"isOptionSelected",value:function(a,o){return Qv(this.props,a,o)}},{key:"filterOption",value:function(a,o){return Kv(this.props,a,o)}},{key:"formatOptionLabel",value:function(a,o){if(typeof this.props.formatOptionLabel=="function"){var i=this.props.inputValue,l=this.state.selectValue;return this.props.formatOptionLabel(a,{context:o,inputValue:i,selectValue:l})}else return this.getOptionLabel(a)}},{key:"formatGroupLabel",value:function(a){return this.props.formatGroupLabel(a)}},{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 a=this.props,o=a.isDisabled,i=a.isSearchable,l=a.inputId,u=a.inputValue,c=a.tabIndex,m=a.form,p=a.menuIsOpen,x=a.required,C=this.getComponents(),E=C.Input,v=this.state,A=v.inputIsHidden,S=v.ariaSelection,j=this.commonProps,O=l||this.getElementId("input"),L=dt(dt(dt({"aria-autocomplete":"list","aria-expanded":p,"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":x,role:"combobox"},p&&{"aria-controls":this.getElementId("listbox"),"aria-owns":this.getElementId("listbox")}),!i&&{"aria-readonly":!0}),this.hasValue()?(S==null?void 0:S.action)==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return i?je.createElement(E,we({},j,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:O,innerRef:this.getInputRef,isDisabled:o,isHidden:A,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:c,form:m,type:"text",value:u},L)):je.createElement(e9,we({id:O,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:$c,onFocus:this.onInputFocus,disabled:o,tabIndex:c,inputMode:"none",form:m,value:""},L))}},{key:"renderPlaceholderOrValue",value:function(){var a=this,o=this.getComponents(),i=o.MultiValue,l=o.MultiValueContainer,u=o.MultiValueLabel,c=o.MultiValueRemove,m=o.SingleValue,p=o.Placeholder,x=this.commonProps,C=this.props,E=C.controlShouldRenderValue,v=C.isDisabled,A=C.isMulti,S=C.inputValue,j=C.placeholder,O=this.state,L=O.selectValue,M=O.focusedValue,z=O.isFocused;if(!this.hasValue()||!E)return S?null:je.createElement(p,we({},x,{key:"placeholder",isDisabled:v,isFocused:z,innerProps:{id:this.getElementId("placeholder")}}),j);if(A)return L.map(function(oe,J){var ge=oe===M,xe="".concat(a.getOptionLabel(oe),"-").concat(a.getOptionValue(oe));return je.createElement(i,we({},x,{components:{Container:l,Label:u,Remove:c},isFocused:ge,isDisabled:v,key:xe,index:J,removeProps:{onClick:function(){return a.removeValue(oe)},onTouchEnd:function(){return a.removeValue(oe)},onMouseDown:function(ce){ce.preventDefault()}},data:oe}),a.formatOptionLabel(oe,"value"))});if(S)return null;var H=L[0];return je.createElement(m,we({},x,{data:H,isDisabled:v}),this.formatOptionLabel(H,"value"))}},{key:"renderClearIndicator",value:function(){var a=this.getComponents(),o=a.ClearIndicator,i=this.commonProps,l=this.props,u=l.isDisabled,c=l.isLoading,m=this.state.isFocused;if(!this.isClearable()||!o||u||!this.hasValue()||c)return null;var p={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return je.createElement(o,we({},i,{innerProps:p,isFocused:m}))}},{key:"renderLoadingIndicator",value:function(){var a=this.getComponents(),o=a.LoadingIndicator,i=this.commonProps,l=this.props,u=l.isDisabled,c=l.isLoading,m=this.state.isFocused;if(!o||!c)return null;var p={"aria-hidden":"true"};return je.createElement(o,we({},i,{innerProps:p,isDisabled:u,isFocused:m}))}},{key:"renderIndicatorSeparator",value:function(){var a=this.getComponents(),o=a.DropdownIndicator,i=a.IndicatorSeparator;if(!o||!i)return null;var l=this.commonProps,u=this.props.isDisabled,c=this.state.isFocused;return je.createElement(i,we({},l,{isDisabled:u,isFocused:c}))}},{key:"renderDropdownIndicator",value:function(){var a=this.getComponents(),o=a.DropdownIndicator;if(!o)return null;var i=this.commonProps,l=this.props.isDisabled,u=this.state.isFocused,c={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return je.createElement(o,we({},i,{innerProps:c,isDisabled:l,isFocused:u}))}},{key:"renderMenu",value:function(){var a=this,o=this.getComponents(),i=o.Group,l=o.GroupHeading,u=o.Menu,c=o.MenuList,m=o.MenuPortal,p=o.LoadingMessage,x=o.NoOptionsMessage,C=o.Option,E=this.commonProps,v=this.state.focusedOption,A=this.props,S=A.captureMenuScroll,j=A.inputValue,O=A.isLoading,L=A.loadingMessage,M=A.minMenuHeight,z=A.maxMenuHeight,H=A.menuIsOpen,oe=A.menuPlacement,J=A.menuPosition,ge=A.menuPortalTarget,xe=A.menuShouldBlockScroll,Q=A.menuShouldScrollIntoView,ce=A.noOptionsMessage,N=A.onMenuScrollToTop,W=A.onMenuScrollToBottom;if(!H)return null;var ee=function(Se,G){var he=Se.type,ae=Se.data,me=Se.isDisabled,Me=Se.isSelected,Pe=Se.label,We=Se.value,Ke=v===ae,Ne=me?void 0:function(){return a.onOptionHover(ae)},Qe=me?void 0:function(){return a.selectOption(ae)},nt="".concat(a.getElementId("option"),"-").concat(G),vt={id:nt,onClick:Qe,onMouseMove:Ne,onMouseOver:Ne,tabIndex:-1};return je.createElement(C,we({},E,{innerProps:vt,data:ae,isDisabled:me,isSelected:Me,key:nt,label:Pe,type:he,value:We,isFocused:Ke,innerRef:Ke?a.getFocusedOptionRef:void 0}),a.formatOptionLabel(Se.data,"menu"))},de;if(this.hasOptions())de=this.getCategorizedOptions().map(function(fe){if(fe.type==="group"){var Se=fe.data,G=fe.options,he=fe.index,ae="".concat(a.getElementId("group"),"-").concat(he),me="".concat(ae,"-heading");return je.createElement(i,we({},E,{key:ae,data:Se,options:G,Heading:l,headingProps:{id:me,data:fe.data},label:a.formatGroupLabel(fe.data)}),fe.options.map(function(Me){return ee(Me,"".concat(he,"-").concat(Me.index))}))}else if(fe.type==="option")return ee(fe,"".concat(fe.index))});else if(O){var ne=L({inputValue:j});if(ne===null)return null;de=je.createElement(p,E,ne)}else{var te=ce({inputValue:j});if(te===null)return null;de=je.createElement(x,E,te)}var K={minMenuHeight:M,maxMenuHeight:z,menuPlacement:oe,menuPosition:J,menuShouldScrollIntoView:Q},se=je.createElement(T4,we({},E,K),function(fe){var Se=fe.ref,G=fe.placerProps,he=G.placement,ae=G.maxHeight;return je.createElement(u,we({},E,K,{innerRef:Se,innerProps:{onMouseDown:a.onMenuMouseDown,onMouseMove:a.onMenuMouseMove,id:a.getElementId("listbox")},isLoading:O,placement:he}),je.createElement(s9,{captureEnabled:S,onTopArrive:N,onBottomArrive:W,lockEnabled:xe},function(me){return je.createElement(c,we({},E,{innerRef:function(Pe){a.getMenuListRef(Pe),me(Pe)},isLoading:O,maxHeight:ae,focusedOption:v}),de)}))});return ge||J==="fixed"?je.createElement(m,we({},E,{appendTo:ge,controlElement:this.controlRef,menuPlacement:oe,menuPosition:J}),se):se}},{key:"renderFormField",value:function(){var a=this,o=this.props,i=o.delimiter,l=o.isDisabled,u=o.isMulti,c=o.name,m=o.required,p=this.state.selectValue;if(m&&!this.hasValue()&&!l)return je.createElement(d9,{name:c,onFocus:this.onValueInputFocus});if(!(!c||l))if(u)if(i){var x=p.map(function(v){return a.getOptionValue(v)}).join(i);return je.createElement("input",{name:c,type:"hidden",value:x})}else{var C=p.length>0?p.map(function(v,A){return je.createElement("input",{key:"i-".concat(A),name:c,type:"hidden",value:a.getOptionValue(v)})}):je.createElement("input",{name:c,type:"hidden",value:""});return je.createElement("div",null,C)}else{var E=p[0]?this.getOptionValue(p[0]):"";return je.createElement("input",{name:c,type:"hidden",value:E})}}},{key:"renderLiveRegion",value:function(){var a=this.commonProps,o=this.state,i=o.ariaSelection,l=o.focusedOption,u=o.focusedValue,c=o.isFocused,m=o.selectValue,p=this.getFocusableOptions();return je.createElement(X5,we({},a,{id:this.getElementId("live-region"),ariaSelection:i,focusedOption:l,focusedValue:u,isFocused:c,selectValue:m,focusableOptions:p}))}},{key:"render",value:function(){var a=this.getComponents(),o=a.Control,i=a.IndicatorsContainer,l=a.SelectContainer,u=a.ValueContainer,c=this.props,m=c.className,p=c.id,x=c.isDisabled,C=c.menuIsOpen,E=this.state.isFocused,v=this.commonProps=this.getCommonProps();return je.createElement(l,we({},v,{className:m,innerProps:{id:p,onKeyDown:this.onKeyDown},isDisabled:x,isFocused:E}),this.renderLiveRegion(),je.createElement(o,we({},v,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:x,isFocused:E,menuIsOpen:C}),je.createElement(u,we({},v,{isDisabled:x}),this.renderPlaceholderOrValue(),this.renderInput()),je.createElement(i,we({},v,{isDisabled:x}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(a,o){var i=o.prevProps,l=o.clearFocusValueOnUpdate,u=o.inputIsHiddenAfterUpdate,c=o.ariaSelection,m=o.isFocused,p=o.prevWasFocused,x=a.options,C=a.value,E=a.menuIsOpen,v=a.inputValue,A=a.isMulti,S=Lc(C),j={};if(i&&(C!==i.value||x!==i.options||E!==i.menuIsOpen||v!==i.inputValue)){var O=E?C9(a,S):[],L=l?w9(o,S):null,M=E9(o,O);j={selectValue:S,focusedOption:M,focusedValue:L,clearFocusValueOnUpdate:!1}}var z=u!=null&&a!==i?{inputIsHidden:u,inputIsHiddenAfterUpdate:void 0}:{},H=c,oe=m&&p;return m&&!oe&&(H={value:Wl(A,S,S[0]||null),options:S,action:"initial-input-focus"},oe=!p),(c==null?void 0:c.action)==="initial-input-focus"&&(H=null),dt(dt(dt({},j),z),{},{prevProps:a,ariaSelection:H,prevWasFocused:oe})}}]),r}(h.Component);Rh.defaultProps=y9;var S9=h.forwardRef(function(e,t){var r=y0(e);return je.createElement(Rh,we({ref:t},r))}),e1=S9,A9=["allowCreateWhileLoading","createOptionPosition","formatCreateLabel","isValidNewOption","getNewOptionData","onCreateOption","options","onChange"],t1=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",r=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,a=String(t).toLowerCase(),o=String(n.getOptionValue(r)).toLowerCase(),i=String(n.getOptionLabel(r)).toLowerCase();return o===a||i===a},$h={formatCreateLabel:function(t){return'Create "'.concat(t,'"')},isValidNewOption:function(t,r,n,a){return!(!t||r.some(function(o){return t1(t,o,a)})||n.some(function(o){return t1(t,o,a)}))},getNewOptionData:function(t,r){return{label:r,value:t,__isNew__:!0}}};function F9(e){var t=e.allowCreateWhileLoading,r=t===void 0?!1:t,n=e.createOptionPosition,a=n===void 0?"last":n,o=e.formatCreateLabel,i=o===void 0?$h.formatCreateLabel:o,l=e.isValidNewOption,u=l===void 0?$h.isValidNewOption:l,c=e.getNewOptionData,m=c===void 0?$h.getNewOptionData:c,p=e.onCreateOption,x=e.options,C=x===void 0?[]:x,E=e.onChange,v=ma(e,A9),A=v.getOptionValue,S=A===void 0?Hv:A,j=v.getOptionLabel,O=j===void 0?Vv:j,L=v.inputValue,M=v.isLoading,z=v.isMulti,H=v.value,oe=v.name,J=h.useMemo(function(){return u(L,Lc(H),C,{getOptionValue:S,getOptionLabel:O})?m(L,i(L)):void 0},[i,m,O,S,L,u,C,H]),ge=h.useMemo(function(){return(r||!M)&&J?a==="first"?[J].concat(kl(C)):[].concat(kl(C),[J]):C},[r,a,M,J,C]),xe=h.useCallback(function(Q,ce){if(ce.action!=="select-option")return E(Q,ce);var N=Array.isArray(Q)?Q:[Q];if(N[N.length-1]===J){if(p)p(L);else{var W=m(L,L),ee={action:"create-option",name:oe,option:W};E(Wl(z,[].concat(kl(Lc(H)),[W]),W),ee)}return}E(Q,ce)},[m,L,z,oe,J,p,E,H]);return dt(dt({},v),{},{options:ge,onChange:xe})}var j9=h.forwardRef(function(e,t){var r=y0(e),n=F9(r);return je.createElement(Rh,we({ref:t},n))}),I9=j9;const T9=({cx:e,children:t,getStyles:r,innerProps:n,innerRef:a,size:o="normal",...i})=>{let l={small:"h-7 text-xs",normal:"h-[2.36rem] text-sm",large:""};return s.jsx("div",{ref:a,className:$e(l[o],"flex w-full rounded border bg-background text-gray-900 focus:border-blue-500 focus:ring-blue-500 dark:focus:ring-blue-500"),...n,children:t})},k9=({cx:e,children:t,getStyles:r,innerProps:n,innerRef:a,...o})=>s.jsx("div",{className:"absolute z-10 mt-2 flex w-full flex-col justify-start rounded border bg-background p-1.5",ref:a,...n,children:t}),B9=({cx:e,children:t,getStyles:r,innerProps:n,innerRef:a,size:o="normal",...i})=>s.jsx("div",{ref:a,className:"flex cursor-pointer select-none flex-row items-center justify-between rounded-inner p-1 px-2 hover:bg-primary hover:text-primary-foreground",...n,children:t}),Hl=e=>s.jsxs("div",{className:" flex w-full flex-col gap-2",children:[e.label&&s.jsx(ti,{children:e.label}),e.isLoading?s.jsx(ri,{className:"h-[38px] w-full"}):e.isCreatable?s.jsx(I9,{styles:{input:t=>({...t,"input:focus":{boxShadow:"none"}}),control:t=>({...t,borderRadius:"0.75rem"}),menu:t=>({...t,borderRadius:"0.75rem",padding:0,display:"flex",justifyContent:"center"}),menuList:t=>({...t,display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100%"}),option:t=>({...t,borderRadius:"0.75rem",margin:3,width:"98%"})},options:e.options,isClearable:e.isClearable,isMulti:e.isMulti,isSearchable:e.isSearchable,onCreateOption:()=>console.log("im changing"),onChange:(t,r)=>e.onChange(t,r),onInputChange:(t,r)=>e.onInputChange(t,r)}):s.jsx(e1,{classNames:{container:()=>Ve("rounded",e.disabled?"cursor-not-allowed":"cursor-pointer"),placeholder:()=>"px-2 text-muted-foreground",input:()=>"text-white px-2",valueContainer:()=>"text-white dark:text-muted-foreground",singleValue:()=>"text-black dark:text-white px-2",indicatorsContainer:()=>" px-2 cursor-pointer text-muted-foreground"},unstyled:!0,isDisabled:e.disabled,options:e.options,defaultValue:e.defaultValue,isClearable:e.isClearable,isMulti:e.isMulti,isSearchable:e.isSearchable,onChange:(t,r)=>e.onChange(t,r),components:{Control:T9,Option:B9,Menu:k9},getOptionLabel:e.getOptionLabel}),e.helperText&&s.jsx("p",{className:"mt-2 text-sm text-red-600 dark:text-red-500",children:e.helperText})]});function at(e,t,{checkForDefaultPrevented:r=!0}={}){return function(a){if(e==null||e(a),r===!1||!a.defaultPrevented)return t==null?void 0:t(a)}}function Dn(e,t=[]){let r=[];function n(o,i){const l=h.createContext(i),u=r.length;r=[...r,i];function c(p){const{scope:x,children:C,...E}=p,v=(x==null?void 0:x[e][u])||l,A=h.useMemo(()=>E,Object.values(E));return h.createElement(v.Provider,{value:A},C)}function m(p,x){const C=(x==null?void 0:x[e][u])||l,E=h.useContext(C);if(E)return E;if(i!==void 0)return i;throw new Error(`\`${p}\` must be used within \`${o}\``)}return c.displayName=o+"Provider",[c,m]}const a=()=>{const o=r.map(i=>h.createContext(i));return function(l){const u=(l==null?void 0:l[e])||o;return h.useMemo(()=>({[`__scope${e}`]:{...l,[e]:u}}),[l,u])}};return a.scopeName=e,[n,P9(a,...t)]}function P9(...e){const t=e[0];if(e.length===1)return t;const r=()=>{const n=e.map(a=>({useScope:a(),scopeName:a.scopeName}));return function(o){const i=n.reduce((l,{useScope:u,scopeName:c})=>{const p=u(o)[`__scope${c}`];return{...l,...p}},{});return h.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return r.scopeName=t.scopeName,r}function Ur(e){const t=h.useRef(e);return h.useEffect(()=>{t.current=e}),h.useMemo(()=>(...r)=>{var n;return(n=t.current)===null||n===void 0?void 0:n.call(t,...r)},[])}function Rn({prop:e,defaultProp:t,onChange:r=()=>{}}){const[n,a]=O9({defaultProp:t,onChange:r}),o=e!==void 0,i=o?e:n,l=Ur(r),u=h.useCallback(c=>{if(o){const p=typeof c=="function"?c(e):c;p!==e&&l(p)}else a(c)},[o,e,a,l]);return[i,u]}function O9({defaultProp:e,onChange:t}){const r=h.useState(e),[n]=r,a=h.useRef(n),o=Ur(t);return h.useEffect(()=>{a.current!==n&&(o(n),a.current=n)},[n,a,o]),r}function N9(e){const t=h.useRef({value:e,previous:e});return h.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}const xo=globalThis!=null&&globalThis.document?h.useLayoutEffect:()=>{};function r1(e){const[t,r]=h.useState(void 0);return xo(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});const n=new ResizeObserver(a=>{if(!Array.isArray(a)||!a.length)return;const o=a[0];let i,l;if("borderBoxSize"in o){const u=o.borderBoxSize,c=Array.isArray(u)?u[0]:u;i=c.inlineSize,l=c.blockSize}else i=e.offsetWidth,l=e.offsetHeight;r({width:i,height:l})});return n.observe(e,{box:"border-box"}),()=>n.unobserve(e)}else r(void 0)},[e]),t}const n1="Switch",[M9,CN]=Dn(n1),[R9,$9]=M9(n1),L9=h.forwardRef((e,t)=>{const{__scopeSwitch:r,name:n,checked:a,defaultChecked:o,required:i,disabled:l,value:u="on",onCheckedChange:c,...m}=e,[p,x]=h.useState(null),C=Kt(t,j=>x(j)),E=h.useRef(!1),v=p?!!p.closest("form"):!0,[A=!1,S]=Rn({prop:a,defaultProp:o,onChange:c});return h.createElement(R9,{scope:r,checked:A,disabled:l},h.createElement(St.button,we({type:"button",role:"switch","aria-checked":A,"aria-required":i,"data-state":a1(A),"data-disabled":l?"":void 0,disabled:l,value:u},m,{ref:C,onClick:at(e.onClick,j=>{S(O=>!O),v&&(E.current=j.isPropagationStopped(),E.current||j.stopPropagation())})})),v&&h.createElement(V9,{control:p,bubbles:!E.current,name:n,value:u,checked:A,required:i,disabled:l,style:{transform:"translateX(-100%)"}}))}),_9="SwitchThumb",W9=h.forwardRef((e,t)=>{const{__scopeSwitch:r,...n}=e,a=$9(_9,r);return h.createElement(St.span,we({"data-state":a1(a.checked),"data-disabled":a.disabled?"":void 0},n,{ref:t}))}),V9=e=>{const{control:t,checked:r,bubbles:n=!0,...a}=e,o=h.useRef(null),i=N9(r),l=r1(t);return h.useEffect(()=>{const u=o.current,c=window.HTMLInputElement.prototype,p=Object.getOwnPropertyDescriptor(c,"checked").set;if(i!==r&&p){const x=new Event("click",{bubbles:n});p.call(u,r),u.dispatchEvent(x)}},[i,r,n]),h.createElement("input",we({type:"checkbox","aria-hidden":!0,defaultChecked:r},a,{tabIndex:-1,ref:o,style:{...e.style,...l,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function a1(e){return e?"checked":"unchecked"}const o1=L9,H9=W9;let z9={default:"h-[25px] w-[42px]",sm:"h-[20px] w-[37px]"},G9={default:"h-[21px] w-[21px]",sm:"h-[16px] w-[16px]"};const Lh=je.forwardRef(({className:e,size:t="default",label:r,...n},a)=>{const[o,i]=je.useState(null),l=je.useRef(null);return je.useEffect(()=>{if(l.current&&l.current.parentNode){const u=window.getComputedStyle(l.current.parentNode).direction;i(u)}}),s.jsxs("div",{className:"flex flex-row items-center",ref:l,children:[s.jsx(o1,{className:Ve("relative cursor-pointer rounded-full bg-primary/20 outline-none data-[state=checked]:bg-primary",e,z9[t]),...n,ref:a,children:s.jsx(H9,{className:Ve(G9[t],"block rounded-full bg-white transition-transform duration-100 will-change-transform data-[state=checked]:bg-primary-foreground dark:bg-background",o==="rtl"?"-translate-x-0.5 data-[state=checked]:-translate-x-[19px]":"translate-x-0.5 data-[state=checked]:translate-x-[19px]")})}),r&&s.jsx("span",{className:"mx-2 text-sm font-medium text-gray-900 dark:text-gray-300",children:r})]})});Lh.displayName=o1.displayName;const Z9=({settingsLabel:e,settingsType:t,settingsDescription:r,colorProps:n,rangeProps:a,radioProps:o,switchProps:i,selectProps:l})=>s.jsxs("div",{className:"flex max-h-fit flex-row items-center justify-between rounded align-middle",children:[s.jsxs("div",{children:[s.jsx("div",{className:"text-sm",children:e}),r&&s.jsx("div",{className:"text-xs",children:r})," "]}),t==="text"&&s.jsx(Rt,{margin:"none",width:"small"}),t==="boolean"&&s.jsx(Lh,{...i}),t==="range"&&s.jsx(m0,{...a}),t==="color"&&s.jsx(g0,{...n}),t==="radio"&&s.jsx(yn,{...o}),t==="select"&&s.jsx(Hl,{...l})]}),U9=e=>s.jsx("div",{children:e.children}),us=({design:e="spinner",size:t="sm",color:r,...n})=>{let a={button:"h-4 w-4",xs:"h-1 w-1",sm:"h-6 w-6",normal:"h-8 w-8",lg:"h-14 w-14",xl:"h-24 w-24"},o={pulse:"animate-in fade-in duration-1000",bounce:"animate-bounce"};switch(e.split("-")[0]){case"dots":return s.jsxs("div",{className:"flex flex-row gap-2",children:[s.jsx("div",{className:$e("animate-bounce rounded-full delay-100 repeat-infinite",t==="button"?"h-2 w-2":a[t],o[e.split("-")[1]],r||"bg-primary")}),s.jsx("div",{className:$e("animate-bounce rounded-full delay-200 repeat-infinite",t==="button"?"h-2 w-2":a[t],o[e.split("-")[1]],r||"bg-primary")}),s.jsx("div",{className:$e("animate-bounce rounded-full delay-300 repeat-infinite",t==="button"?"h-2 w-2":a[t],o[e.split("-")[1]],r||"bg-primary")})]});default:return s.jsx("div",{className:"flex flex-row gap-x-3",children:s.jsx("div",{"aria-label":"Loading...",role:"status",children:s.jsxs("svg",{className:$e(a[t],"animate-spin"),viewBox:"3 3 18 18",children:[s.jsx("path",{className:"fill-primary/20",d:"M12 5C8.13401 5 5 8.13401 5 12C5 15.866 8.13401 19 12 19C15.866 19 19 15.866 19 12C19 8.13401 15.866 5 12 5ZM3 12C3 7.02944 7.02944 3 12 3C16.9706 3 21 7.02944 21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12Z"}),s.jsx("path",{className:r||"fill-primary",d:"M16.9497 7.05015C14.2161 4.31648 9.78392 4.31648 7.05025 7.05015C6.65973 7.44067 6.02656 7.44067 5.63604 7.05015C5.24551 6.65962 5.24551 6.02646 5.63604 5.63593C9.15076 2.12121 14.8492 2.12121 18.364 5.63593C18.7545 6.02646 18.7545 6.65962 18.364 7.05015C17.9734 7.44067 17.3403 7.44067 16.9497 7.05015Z"})]})})})}},i1=Qf("inline-flex items-center justify-center select-none rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",light:"bg-primary/20 text-primary hover:bg-primary/40",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline",neoBrutalism:"cursor-pointer transition-all uppercase font-mono dark:bg-black font-bold py-2 px-4 rounded border-2 border-primary shadow-color-primary transition-[transform_50ms, box-shadow_50ms] active:translate-x-0.5 active:translate-y-0.5 active:shadow-color-primary-active"},size:{default:"h-10 px-4 py-2",heightless:"px-4 py-4",xs:"h-fit py-1 text-[10px] px-2 ",sm:"h-9 text-[11px] rounded-md px-3",lg:"h-11 rounded-md px-8",xl:"h-14 rounded-md px-10",icon:"h-10 w-10",smallIcon:"h-7 w-7"}},defaultVariants:{variant:"default",size:"default"}}),qe=je.forwardRef(({className:e,variant:t,size:r,asChild:n=!1,isLoading:a,children:o,...i},l)=>{const u="button",c=t==="outline"||t==="ghost"||t==="neoBrutalism"?"bg-primary":"bg-primary-foreground";return s.jsx(u,{className:Ve(i1({variant:t,size:r,className:e})),ref:l,...i,children:a?s.jsx(us,{design:"dots-pulse",color:c,size:r==="sm"?"xs":"normal"}):o})});qe.displayName="Button";const qn=({variant:e="normal",direction:t="ltr",severity:r="info",duration:n,icon:a,className:o,...i})=>{const l=h.useRef(null),[u,c]=h.useState(!1);h.useEffect(()=>{if(n){const x=setTimeout(()=>{c(!0)},n),C=setTimeout(()=>{c(!0),l.current.removeChild(l.current.children[0])},n+1e3);return()=>{clearTimeout(x),clearTimeout(C)}}},[n]);let m={none:"hover:bg-gray-300",info:"hover:bg-blue-300",warning:"hover:bg-yellow-300",error:"hover:bg-red-300",success:"hover:bg-green-300"},p={normal:{none:"text-gray-700 bg-gray-100 dark:bg-gray-200 dark:text-gray-800",info:"text-blue-700 bg-blue-100 dark:bg-blue-200 dark:text-blue-800",warning:"text-yellow-700 bg-yellow-100 dark:bg-yellow-200 dark:text-yellow-800",error:"text-red-700 bg-red-100 dark:bg-red-200 dark:text-red-800",success:"text-green-700 bg-green-100 dark:bg-green-200 dark:text-green-800"},"top-accent":{none:"border-t-4 border-gray-300 text-gray-700 bg-gray-100 dark:bg-gray-200 dark:text-gray-800",info:"border-t-4 border-blue-300 text-blue-700 bg-blue-100 dark:bg-blue-200 dark:text-blue-800",warning:"border-t-4 border-yellow-300 text-yellow-700 bg-yellow-100 dark:bg-yellow-200 dark:text-yellow-800",error:"border-t-4 border-red-300 text-red-700 bg-red-100 dark:bg-red-200 dark:text-red-800",success:"border-t-4 border-green-300 text-green-700 bg-green-100 dark:bg-green-200 dark:text-green-800"},"left-accent":{none:"border-l-4 border-gray-300 text-gray-700 bg-gray-100 dark:bg-gray-200 dark:text-gray-800",info:"border-l-4 border-blue-300 text-blue-700 bg-blue-100 dark:bg-blue-200 dark:text-blue-800",warning:"border-l-4 border-yellow-300 text-yellow-700 bg-yellow-100 dark:bg-yellow-200 dark:text-yellow-800",error:"border-l-4 border-red-300 text-red-700 bg-red-100 dark:bg-red-200 dark:text-red-800",success:"border-l-4 border-green-300 text-green-700 bg-green-100 dark:bg-green-200 dark:text-green-800"},"right-accent":{none:"border-r-4 border-gray-300 text-gray-700 bg-gray-100 dark:bg-gray-200 dark:text-gray-800",info:"border-r-4 border-blue-300 text-blue-700 bg-blue-100 dark:bg-blue-200 dark:text-blue-800",warning:"border-r-4 border-yellow-300 text-yellow-700 bg-yellow-100 dark:bg-yellow-200 dark:text-yellow-800",error:"border-r-4 border-red-300 text-red-700 bg-red-100 dark:bg-red-200 dark:text-red-800",success:"border-r-4 border-green-300 text-green-700 bg-green-100 dark:bg-green-200 dark:text-green-800"},"bottom-accent":{none:"border-b-4 border-gray-300 text-gray-700 bg-gray-100 dark:bg-gray-200 dark:text-gray-800",info:"border-b-4 border-blue-300 text-blue-700 bg-blue-100 dark:bg-blue-200 dark:text-blue-800",warning:"border-b-4 border-yellow-300 text-yellow-700 bg-yellow-100 dark:bg-yellow-200 dark:text-yellow-800",error:"border-b-4 border-red-300 text-red-700 bg-red-100 dark:bg-red-200 dark:text-red-800",success:"border-b-4 border-green-300 text-green-700 bg-green-100 dark:bg-green-200 dark:text-green-800"}};return s.jsx("div",{ref:l,children:s.jsxs("div",{className:$e("relative mb-4 flex flex-col rounded p-4 text-sm transition-all",p[e][r],u?"opacity-0":"opacity-100",o),role:"alert",dir:t,children:[s.jsxs("div",{className:"flex flex-row",children:[a&&s.jsx("div",{className:t==="rtl"?"pl-2 pt-1":"pr-2 pt-1",children:a}),s.jsxs("div",{className:"flex flex-col",children:[s.jsx("span",{className:$e("font-medium",t==="rtl"?"ml-8":"mr-8"),children:i.title}),s.jsx("span",{children:i.text}),i.actions&&s.jsx("div",{className:"mt-2 flex flex-row gap-2",children:i.actions.map((x,C)=>s.jsx(qe,{variant:x.variant,onClick:x.onClick(),children:x.label},C))})]})]}),!i.persistant&&s.jsxs("button",{type:"button",className:$e("absolute top-2 inline-flex h-9 w-9 items-center justify-center rounded-inner p-1.5 text-gray-400 transition-all hover:text-gray-900",m[r],t==="rtl"?"left-2":"right-2"),"data-dismiss-target":"#alert-default","aria-label":"Close",onClick:()=>{c(!0),setTimeout(()=>{l.current.removeChild(l.current.children[0])},200)},children:[s.jsx("span",{className:"sr-only",children:"Close"}),s.jsx("svg",{"aria-label":"Close Icon","aria-hidden":"true",className:"h-5 w-5",fill:"currentColor",viewBox:"0 0 20 20",children:s.jsx("path",{fillRule:"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",clipRule:"evenodd"})})]})]})})},X9=(e,t)=>{const r=[],n=Math.ceil((e==null?void 0:e.length)/t);for(let a=1;a<=n;a++)r.push(a);return r},Y9=(e,t,r)=>e==null?void 0:e.slice((t-1)*r,t*r),J9=(e,t,r)=>t!==null?e==null?void 0:e.sort((n,a)=>{const o=n[t].value,i=a[t].value;return typeof o=="string"&&typeof i=="string"?r==="asc"?o.localeCompare(i):i.localeCompare(o):r==="asc"?o-i:i-o}):e,Q9=(e,t,r,n,a)=>{const[o,i]=h.useState([]),[l,u]=h.useState([]);return h.useEffect(()=>{if(e){const c=X9(e,r);i([...c]);const m=J9(e,n,a),p=Y9(m,t,r);u([...p])}},[e,i,t,r,n,a]),{slice:l,range:o}};function Gc(e){const t=e+"CollectionProvider",[r,n]=Dn(t),[a,o]=r(t,{collectionRef:{current:null},itemMap:new Map}),i=C=>{const{scope:E,children:v}=C,A=h.useRef(null),S=h.useRef(new Map).current;return h.createElement(a,{scope:E,itemMap:S,collectionRef:A},v)},l=e+"CollectionSlot",u=h.forwardRef((C,E)=>{const{scope:v,children:A}=C,S=o(l,v),j=Kt(E,S.collectionRef);return h.createElement(Ko,{ref:j},A)}),c=e+"CollectionItemSlot",m="data-radix-collection-item",p=h.forwardRef((C,E)=>{const{scope:v,children:A,...S}=C,j=h.useRef(null),O=Kt(E,j),L=o(c,v);return h.useEffect(()=>(L.itemMap.set(j,{ref:j,...S}),()=>void L.itemMap.delete(j))),h.createElement(Ko,{[m]:"",ref:O},A)});function x(C){const E=o(e+"CollectionConsumer",C);return h.useCallback(()=>{const A=E.collectionRef.current;if(!A)return[];const S=Array.from(A.querySelectorAll(`[${m}]`));return Array.from(E.itemMap.values()).sort((L,M)=>S.indexOf(L.ref.current)-S.indexOf(M.ref.current))},[E.collectionRef,E.itemMap])}return[{Provider:i,Slot:u,ItemSlot:p},x,n]}const K9=h.createContext(void 0);function Zc(e){const t=h.useContext(K9);return e||t||"ltr"}function q9(e,t=globalThis==null?void 0:globalThis.document){const r=Ur(e);h.useEffect(()=>{const n=a=>{a.key==="Escape"&&r(a)};return t.addEventListener("keydown",n),()=>t.removeEventListener("keydown",n)},[r,t])}const _h="dismissableLayer.update",eD="dismissableLayer.pointerDownOutside",tD="dismissableLayer.focusOutside";let s1;const l1=h.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),zl=h.forwardRef((e,t)=>{var r;const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:a,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:l,onDismiss:u,...c}=e,m=h.useContext(l1),[p,x]=h.useState(null),C=(r=p==null?void 0:p.ownerDocument)!==null&&r!==void 0?r:globalThis==null?void 0:globalThis.document,[,E]=h.useState({}),v=Kt(t,oe=>x(oe)),A=Array.from(m.layers),[S]=[...m.layersWithOutsidePointerEventsDisabled].slice(-1),j=A.indexOf(S),O=p?A.indexOf(p):-1,L=m.layersWithOutsidePointerEventsDisabled.size>0,M=O>=j,z=nD(oe=>{const J=oe.target,ge=[...m.branches].some(xe=>xe.contains(J));!M||ge||(o==null||o(oe),l==null||l(oe),oe.defaultPrevented||u==null||u())},C),H=aD(oe=>{const J=oe.target;[...m.branches].some(xe=>xe.contains(J))||(i==null||i(oe),l==null||l(oe),oe.defaultPrevented||u==null||u())},C);return q9(oe=>{O===m.layers.size-1&&(a==null||a(oe),!oe.defaultPrevented&&u&&(oe.preventDefault(),u()))},C),h.useEffect(()=>{if(p)return n&&(m.layersWithOutsidePointerEventsDisabled.size===0&&(s1=C.body.style.pointerEvents,C.body.style.pointerEvents="none"),m.layersWithOutsidePointerEventsDisabled.add(p)),m.layers.add(p),u1(),()=>{n&&m.layersWithOutsidePointerEventsDisabled.size===1&&(C.body.style.pointerEvents=s1)}},[p,C,n,m]),h.useEffect(()=>()=>{p&&(m.layers.delete(p),m.layersWithOutsidePointerEventsDisabled.delete(p),u1())},[p,m]),h.useEffect(()=>{const oe=()=>E({});return document.addEventListener(_h,oe),()=>document.removeEventListener(_h,oe)},[]),h.createElement(St.div,we({},c,{ref:v,style:{pointerEvents:L?M?"auto":"none":void 0,...e.style},onFocusCapture:at(e.onFocusCapture,H.onFocusCapture),onBlurCapture:at(e.onBlurCapture,H.onBlurCapture),onPointerDownCapture:at(e.onPointerDownCapture,z.onPointerDownCapture)}))}),rD=h.forwardRef((e,t)=>{const r=h.useContext(l1),n=h.useRef(null),a=Kt(t,n);return h.useEffect(()=>{const o=n.current;if(o)return r.branches.add(o),()=>{r.branches.delete(o)}},[r.branches]),h.createElement(St.div,we({},e,{ref:a}))});function nD(e,t=globalThis==null?void 0:globalThis.document){const r=Ur(e),n=h.useRef(!1),a=h.useRef(()=>{});return h.useEffect(()=>{const o=l=>{if(l.target&&!n.current){let c=function(){c1(eD,r,u,{discrete:!0})};const u={originalEvent:l};l.pointerType==="touch"?(t.removeEventListener("click",a.current),a.current=c,t.addEventListener("click",a.current,{once:!0})):c()}n.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",o)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",o),t.removeEventListener("click",a.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}function aD(e,t=globalThis==null?void 0:globalThis.document){const r=Ur(e),n=h.useRef(!1);return h.useEffect(()=>{const a=o=>{o.target&&!n.current&&c1(tD,r,{originalEvent:o},{discrete:!1})};return t.addEventListener("focusin",a),()=>t.removeEventListener("focusin",a)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function u1(){const e=new CustomEvent(_h);document.dispatchEvent(e)}function c1(e,t,r,{discrete:n}){const a=r.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&a.addEventListener(e,t,{once:!0}),n?Jf(a,o):a.dispatchEvent(o)}const oD=zl,iD=rD;let Wh=0;function Vh(){h.useEffect(()=>{var e,t;const r=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=r[0])!==null&&e!==void 0?e:d1()),document.body.insertAdjacentElement("beforeend",(t=r[1])!==null&&t!==void 0?t:d1()),Wh++,()=>{Wh===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(n=>n.remove()),Wh--}},[])}function d1(){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 Hh="focusScope.autoFocusOnMount",zh="focusScope.autoFocusOnUnmount",f1={bubbles:!1,cancelable:!0},Gh=h.forwardRef((e,t)=>{const{loop:r=!1,trapped:n=!1,onMountAutoFocus:a,onUnmountAutoFocus:o,...i}=e,[l,u]=h.useState(null),c=Ur(a),m=Ur(o),p=h.useRef(null),x=Kt(t,v=>u(v)),C=h.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;h.useEffect(()=>{if(n){let v=function(O){if(C.paused||!l)return;const L=O.target;l.contains(L)?p.current=L:yo(p.current,{select:!0})},A=function(O){if(C.paused||!l)return;const L=O.relatedTarget;L!==null&&(l.contains(L)||yo(p.current,{select:!0}))},S=function(O){const L=document.activeElement;for(const M of O)M.removedNodes.length>0&&(l!=null&&l.contains(L)||yo(l))};document.addEventListener("focusin",v),document.addEventListener("focusout",A);const j=new MutationObserver(S);return l&&j.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",v),document.removeEventListener("focusout",A),j.disconnect()}}},[n,l,C.paused]),h.useEffect(()=>{if(l){g1.add(C);const v=document.activeElement;if(!l.contains(v)){const S=new CustomEvent(Hh,f1);l.addEventListener(Hh,c),l.dispatchEvent(S),S.defaultPrevented||(sD(fD(h1(l)),{select:!0}),document.activeElement===v&&yo(l))}return()=>{l.removeEventListener(Hh,c),setTimeout(()=>{const S=new CustomEvent(zh,f1);l.addEventListener(zh,m),l.dispatchEvent(S),S.defaultPrevented||yo(v??document.body,{select:!0}),l.removeEventListener(zh,m),g1.remove(C)},0)}}},[l,c,m,C]);const E=h.useCallback(v=>{if(!r&&!n||C.paused)return;const A=v.key==="Tab"&&!v.altKey&&!v.ctrlKey&&!v.metaKey,S=document.activeElement;if(A&&S){const j=v.currentTarget,[O,L]=lD(j);O&&L?!v.shiftKey&&S===L?(v.preventDefault(),r&&yo(O,{select:!0})):v.shiftKey&&S===O&&(v.preventDefault(),r&&yo(L,{select:!0})):S===j&&v.preventDefault()}},[r,n,C.paused]);return h.createElement(St.div,we({tabIndex:-1},i,{ref:x,onKeyDown:E}))});function sD(e,{select:t=!1}={}){const r=document.activeElement;for(const n of e)if(yo(n,{select:t}),document.activeElement!==r)return}function lD(e){const t=h1(e),r=p1(t,e),n=p1(t.reverse(),e);return[r,n]}function h1(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{const a=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||a?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function p1(e,t){for(const r of e)if(!uD(r,{upTo:t}))return r}function uD(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 cD(e){return e instanceof HTMLInputElement&&"select"in e}function yo(e,{select:t=!1}={}){if(e&&e.focus){const r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&cD(e)&&t&&e.select()}}const g1=dD();function dD(){let e=[];return{add(t){const r=e[0];t!==r&&(r==null||r.pause()),e=m1(e,t),e.unshift(t)},remove(t){var r;e=m1(e,t),(r=e[0])===null||r===void 0||r.resume()}}}function m1(e,t){const r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}function fD(e){return e.filter(t=>t.tagName!=="A")}const hD=je["useId".toString()]||(()=>{});let pD=0;function Sn(e){const[t,r]=je.useState(hD());return xo(()=>{e||r(n=>n??String(pD++))},[e]),e||(t?`radix-${t}`:"")}const gD=e=>{function t(r){return{}.hasOwnProperty.call(r,"current")}return{name:"arrow",options:e,fn(r){const{element:n,padding:a}=typeof e=="function"?e(r):e;return n&&t(n)?n.current!=null?rv({element:n.current,padding:a}).fn(r):{}:n?rv({element:n,padding:a}).fn(r):{}}}};var Uc=typeof document<"u"?h.useLayoutEffect:h.useEffect;function Xc(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 r,n,a;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(r=e.length,r!=t.length)return!1;for(n=r;n--!==0;)if(!Xc(e[n],t[n]))return!1;return!0}if(a=Object.keys(e),r=a.length,r!==Object.keys(t).length)return!1;for(n=r;n--!==0;)if(!{}.hasOwnProperty.call(t,a[n]))return!1;for(n=r;n--!==0;){const o=a[n];if(!(o==="_owner"&&e.$$typeof)&&!Xc(e[o],t[o]))return!1}return!0}return e!==e&&t!==t}function v1(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function b1(e,t){const r=v1(e);return Math.round(t*r)/r}function x1(e){const t=je.useRef(e);return Uc(()=>{t.current=e}),t}function mD(e){e===void 0&&(e={});const{placement:t="bottom",strategy:r="absolute",middleware:n=[],platform:a,elements:{reference:o,floating:i}={},transform:l=!0,whileElementsMounted:u,open:c}=e,[m,p]=je.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[x,C]=je.useState(n);Xc(x,n)||C(n);const[E,v]=je.useState(null),[A,S]=je.useState(null),j=je.useCallback(ee=>{ee!=z.current&&(z.current=ee,v(ee))},[v]),O=je.useCallback(ee=>{ee!==H.current&&(H.current=ee,S(ee))},[S]),L=o||E,M=i||A,z=je.useRef(null),H=je.useRef(null),oe=je.useRef(m),J=x1(u),ge=x1(a),xe=je.useCallback(()=>{if(!z.current||!H.current)return;const ee={placement:t,strategy:r,middleware:x};ge.current&&(ee.platform=ge.current),d4(z.current,H.current,ee).then(de=>{const ne={...de,isPositioned:!0};Q.current&&!Xc(oe.current,ne)&&(oe.current=ne,xw.flushSync(()=>{p(ne)}))})},[x,t,r,ge]);Uc(()=>{c===!1&&oe.current.isPositioned&&(oe.current.isPositioned=!1,p(ee=>({...ee,isPositioned:!1})))},[c]);const Q=je.useRef(!1);Uc(()=>(Q.current=!0,()=>{Q.current=!1}),[]),Uc(()=>{if(L&&(z.current=L),M&&(H.current=M),L&&M){if(J.current)return J.current(L,M,xe);xe()}},[L,M,xe,J]);const ce=je.useMemo(()=>({reference:z,floating:H,setReference:j,setFloating:O}),[j,O]),N=je.useMemo(()=>({reference:L,floating:M}),[L,M]),W=je.useMemo(()=>{const ee={position:r,left:0,top:0};if(!N.floating)return ee;const de=b1(N.floating,m.x),ne=b1(N.floating,m.y);return l?{...ee,transform:"translate("+de+"px, "+ne+"px)",...v1(N.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:de,top:ne}},[r,l,N.floating,m.x,m.y]);return je.useMemo(()=>({...m,update:xe,refs:ce,elements:N,floatingStyles:W}),[m,xe,ce,N,W])}const vD=h.forwardRef((e,t)=>{const{children:r,width:n=10,height:a=5,...o}=e;return h.createElement(St.svg,we({},o,{ref:t,width:n,height:a,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?r:h.createElement("polygon",{points:"0,0 30,0 15,10"}))}),y1="Popper",[C1,cs]=Dn(y1),[bD,w1]=C1(y1),xD=e=>{const{__scopePopper:t,children:r}=e,[n,a]=h.useState(null);return h.createElement(bD,{scope:t,anchor:n,onAnchorChange:a},r)},yD="PopperAnchor",CD=h.forwardRef((e,t)=>{const{__scopePopper:r,virtualRef:n,...a}=e,o=w1(yD,r),i=h.useRef(null),l=Kt(t,i);return h.useEffect(()=>{o.onAnchorChange((n==null?void 0:n.current)||i.current)}),n?null:h.createElement(St.div,we({},a,{ref:l}))}),E1="PopperContent",[wD,ED]=C1(E1),DD=h.forwardRef((e,t)=>{var r,n,a,o,i,l,u,c;const{__scopePopper:m,side:p="bottom",sideOffset:x=0,align:C="center",alignOffset:E=0,arrowPadding:v=0,collisionBoundary:A=[],collisionPadding:S=0,sticky:j="partial",hideWhenDetached:O=!1,avoidCollisions:L=!0,onPlaced:M,...z}=e,H=w1(E1,m),[oe,J]=h.useState(null),ge=Kt(t,nt=>J(nt)),[xe,Q]=h.useState(null),ce=r1(xe),N=(r=ce==null?void 0:ce.width)!==null&&r!==void 0?r:0,W=(n=ce==null?void 0:ce.height)!==null&&n!==void 0?n:0,ee=p+(C!=="center"?"-"+C:""),de=typeof S=="number"?S:{top:0,right:0,bottom:0,left:0,...S},ne=Array.isArray(A)?A:[A],te=ne.length>0,K={padding:de,boundary:ne.filter(jD),altBoundary:te},{refs:se,floatingStyles:fe,placement:Se,isPositioned:G,middlewareData:he}=mD({strategy:"fixed",placement:ee,whileElementsMounted:gv,elements:{reference:H.anchor},middleware:[z3({mainAxis:x+W,alignmentAxis:E}),L&&G3({mainAxis:!0,crossAxis:!1,limiter:j==="partial"?Z3():void 0,...K}),L&&W3({...K}),U3({...K,apply:({elements:nt,rects:vt,availableWidth:At,availableHeight:re})=>{const{width:be,height:Ie}=vt.reference,Ze=nt.floating.style;Ze.setProperty("--radix-popper-available-width",`${At}px`),Ze.setProperty("--radix-popper-available-height",`${re}px`),Ze.setProperty("--radix-popper-anchor-width",`${be}px`),Ze.setProperty("--radix-popper-anchor-height",`${Ie}px`)}}),xe&&gD({element:xe,padding:v}),ID({arrowWidth:N,arrowHeight:W}),O&&V3({strategy:"referenceHidden"})]}),[ae,me]=D1(Se),Me=Ur(M);xo(()=>{G&&(Me==null||Me())},[G,Me]);const Pe=(a=he.arrow)===null||a===void 0?void 0:a.x,We=(o=he.arrow)===null||o===void 0?void 0:o.y,Ke=((i=he.arrow)===null||i===void 0?void 0:i.centerOffset)!==0,[Ne,Qe]=h.useState();return xo(()=>{oe&&Qe(window.getComputedStyle(oe).zIndex)},[oe]),h.createElement("div",{ref:se.setFloating,"data-radix-popper-content-wrapper":"",style:{...fe,transform:G?fe.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Ne,"--radix-popper-transform-origin":[(l=he.transformOrigin)===null||l===void 0?void 0:l.x,(u=he.transformOrigin)===null||u===void 0?void 0:u.y].join(" ")},dir:e.dir},h.createElement(wD,{scope:m,placedSide:ae,onArrowChange:Q,arrowX:Pe,arrowY:We,shouldHideArrow:Ke},h.createElement(St.div,we({"data-side":ae,"data-align":me},z,{ref:ge,style:{...z.style,animation:G?void 0:"none",opacity:(c=he.hide)!==null&&c!==void 0&&c.referenceHidden?0:void 0}}))))}),SD="PopperArrow",AD={top:"bottom",right:"left",bottom:"top",left:"right"},FD=h.forwardRef(function(t,r){const{__scopePopper:n,...a}=t,o=ED(SD,n),i=AD[o.placedSide];return h.createElement("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0}},h.createElement(vD,we({},a,{ref:r,style:{...a.style,display:"block"}})))});function jD(e){return e!==null}const ID=e=>({name:"transformOrigin",options:e,fn(t){var r,n,a,o,i;const{placement:l,rects:u,middlewareData:c}=t,p=((r=c.arrow)===null||r===void 0?void 0:r.centerOffset)!==0,x=p?0:e.arrowWidth,C=p?0:e.arrowHeight,[E,v]=D1(l),A={start:"0%",center:"50%",end:"100%"}[v],S=((n=(a=c.arrow)===null||a===void 0?void 0:a.x)!==null&&n!==void 0?n:0)+x/2,j=((o=(i=c.arrow)===null||i===void 0?void 0:i.y)!==null&&o!==void 0?o:0)+C/2;let O="",L="";return E==="bottom"?(O=p?A:`${S}px`,L=`${-C}px`):E==="top"?(O=p?A:`${S}px`,L=`${u.floating.height+C}px`):E==="right"?(O=`${-C}px`,L=p?A:`${j}px`):E==="left"&&(O=`${u.floating.width+C}px`,L=p?A:`${j}px`),{data:{x:O,y:L}}}});function D1(e){const[t,r="center"]=e.split("-");return[t,r]}const Yc=xD,Zh=CD,Uh=DD,TD=FD,Jc=h.forwardRef((e,t)=>{var r;const{container:n=globalThis==null||(r=globalThis.document)===null||r===void 0?void 0:r.body,...a}=e;return n?Qo.createPortal(h.createElement(St.div,we({},a,{ref:t})),n):null});function kD(e,t){return h.useReducer((r,n)=>{const a=t[r][n];return a??r},e)}const sn=e=>{const{present:t,children:r}=e,n=BD(t),a=typeof r=="function"?r({present:n.isPresent}):h.Children.only(r),o=Kt(n.ref,a.ref);return typeof r=="function"||n.isPresent?h.cloneElement(a,{ref:o}):null};sn.displayName="Presence";function BD(e){const[t,r]=h.useState(),n=h.useRef({}),a=h.useRef(e),o=h.useRef("none"),i=e?"mounted":"unmounted",[l,u]=kD(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return h.useEffect(()=>{const c=Qc(n.current);o.current=l==="mounted"?c:"none"},[l]),xo(()=>{const c=n.current,m=a.current;if(m!==e){const x=o.current,C=Qc(c);e?u("MOUNT"):C==="none"||(c==null?void 0:c.display)==="none"?u("UNMOUNT"):u(m&&x!==C?"ANIMATION_OUT":"UNMOUNT"),a.current=e}},[e,u]),xo(()=>{if(t){const c=p=>{const C=Qc(n.current).includes(p.animationName);p.target===t&&C&&Qo.flushSync(()=>u("ANIMATION_END"))},m=p=>{p.target===t&&(o.current=Qc(n.current))};return t.addEventListener("animationstart",m),t.addEventListener("animationcancel",c),t.addEventListener("animationend",c),()=>{t.removeEventListener("animationstart",m),t.removeEventListener("animationcancel",c),t.removeEventListener("animationend",c)}}else u("ANIMATION_END")},[t,u]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:h.useCallback(c=>{c&&(n.current=getComputedStyle(c)),r(c)},[])}}function Qc(e){return(e==null?void 0:e.animationName)||"none"}const Xh="rovingFocusGroup.onEntryFocus",PD={bubbles:!1,cancelable:!0},Yh="RovingFocusGroup",[Jh,S1,OD]=Gc(Yh),[ND,Kc]=Dn(Yh,[OD]),[MD,RD]=ND(Yh),$D=h.forwardRef((e,t)=>h.createElement(Jh.Provider,{scope:e.__scopeRovingFocusGroup},h.createElement(Jh.Slot,{scope:e.__scopeRovingFocusGroup},h.createElement(LD,we({},e,{ref:t}))))),LD=h.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:r,orientation:n,loop:a=!1,dir:o,currentTabStopId:i,defaultCurrentTabStopId:l,onCurrentTabStopIdChange:u,onEntryFocus:c,...m}=e,p=h.useRef(null),x=Kt(t,p),C=Zc(o),[E=null,v]=Rn({prop:i,defaultProp:l,onChange:u}),[A,S]=h.useState(!1),j=Ur(c),O=S1(r),L=h.useRef(!1),[M,z]=h.useState(0);return h.useEffect(()=>{const H=p.current;if(H)return H.addEventListener(Xh,j),()=>H.removeEventListener(Xh,j)},[j]),h.createElement(MD,{scope:r,orientation:n,dir:C,loop:a,currentTabStopId:E,onItemFocus:h.useCallback(H=>v(H),[v]),onItemShiftTab:h.useCallback(()=>S(!0),[]),onFocusableItemAdd:h.useCallback(()=>z(H=>H+1),[]),onFocusableItemRemove:h.useCallback(()=>z(H=>H-1),[])},h.createElement(St.div,we({tabIndex:A||M===0?-1:0,"data-orientation":n},m,{ref:x,style:{outline:"none",...e.style},onMouseDown:at(e.onMouseDown,()=>{L.current=!0}),onFocus:at(e.onFocus,H=>{const oe=!L.current;if(H.target===H.currentTarget&&oe&&!A){const J=new CustomEvent(Xh,PD);if(H.currentTarget.dispatchEvent(J),!J.defaultPrevented){const ge=O().filter(W=>W.focusable),xe=ge.find(W=>W.active),Q=ge.find(W=>W.id===E),N=[xe,Q,...ge].filter(Boolean).map(W=>W.ref.current);A1(N)}}L.current=!1}),onBlur:at(e.onBlur,()=>S(!1))})))}),_D="RovingFocusGroupItem",WD=h.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:r,focusable:n=!0,active:a=!1,tabStopId:o,...i}=e,l=Sn(),u=o||l,c=RD(_D,r),m=c.currentTabStopId===u,p=S1(r),{onFocusableItemAdd:x,onFocusableItemRemove:C}=c;return h.useEffect(()=>{if(n)return x(),()=>C()},[n,x,C]),h.createElement(Jh.ItemSlot,{scope:r,id:u,focusable:n,active:a},h.createElement(St.span,we({tabIndex:m?0:-1,"data-orientation":c.orientation},i,{ref:t,onMouseDown:at(e.onMouseDown,E=>{n?c.onItemFocus(u):E.preventDefault()}),onFocus:at(e.onFocus,()=>c.onItemFocus(u)),onKeyDown:at(e.onKeyDown,E=>{if(E.key==="Tab"&&E.shiftKey){c.onItemShiftTab();return}if(E.target!==E.currentTarget)return;const v=zD(E,c.orientation,c.dir);if(v!==void 0){E.preventDefault();let S=p().filter(j=>j.focusable).map(j=>j.ref.current);if(v==="last")S.reverse();else if(v==="prev"||v==="next"){v==="prev"&&S.reverse();const j=S.indexOf(E.currentTarget);S=c.loop?GD(S,j+1):S.slice(j+1)}setTimeout(()=>A1(S))}})})))}),VD={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function HD(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function zD(e,t,r){const n=HD(e.key,r);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(n))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(n)))return VD[n]}function A1(e){const t=document.activeElement;for(const r of e)if(r===t||(r.focus(),document.activeElement!==t))return}function GD(e,t){return e.map((r,n)=>e[(t+n)%e.length])}const F1=$D,j1=WD;var ZD=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},ds=new WeakMap,qc=new WeakMap,ed={},Qh=0,I1=function(e){return e&&(e.host||I1(e.parentNode))},UD=function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=I1(r);return n&&e.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)}).filter(function(r){return!!r})},XD=function(e,t,r,n){var a=UD(t,Array.isArray(e)?e:[e]);ed[r]||(ed[r]=new WeakMap);var o=ed[r],i=[],l=new Set,u=new Set(a),c=function(p){!p||l.has(p)||(l.add(p),c(p.parentNode))};a.forEach(c);var m=function(p){!p||u.has(p)||Array.prototype.forEach.call(p.children,function(x){if(l.has(x))m(x);else{var C=x.getAttribute(n),E=C!==null&&C!=="false",v=(ds.get(x)||0)+1,A=(o.get(x)||0)+1;ds.set(x,v),o.set(x,A),i.push(x),v===1&&E&&qc.set(x,!0),A===1&&x.setAttribute(r,"true"),E||x.setAttribute(n,"true")}})};return m(t),l.clear(),Qh++,function(){i.forEach(function(p){var x=ds.get(p)-1,C=o.get(p)-1;ds.set(p,x),o.set(p,C),x||(qc.has(p)||p.removeAttribute(n),qc.delete(p)),C||p.removeAttribute(r)}),Qh--,Qh||(ds=new WeakMap,ds=new WeakMap,qc=new WeakMap,ed={})}},Kh=function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),a=t||ZD(e);return a?(n.push.apply(n,Array.from(a.querySelectorAll("[aria-live]"))),XD(n,a,r,"aria-hidden")):function(){return null}},ya=function(){return ya=Object.assign||function(t){for(var r,n=1,a=arguments.length;n<a;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},ya.apply(this,arguments)};function T1(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,n=Object.getOwnPropertySymbols(e);a<n.length;a++)t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r}function fs(e,t,r,n){function a(o){return o instanceof r?o:new r(function(i){i(o)})}return new(r||(r=Promise))(function(o,i){function l(m){try{c(n.next(m))}catch(p){i(p)}}function u(m){try{c(n.throw(m))}catch(p){i(p)}}function c(m){m.done?o(m.value):a(m.value).then(l,u)}c((n=n.apply(e,t||[])).next())})}function hs(e,t){var r={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,a,o,i;return i={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function l(c){return function(m){return u([c,m])}}function u(c){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,c[0]&&(r=0)),r;)try{if(n=1,a&&(o=c[0]&2?a.return:c[0]?a.throw||((o=a.return)&&o.call(a),0):a.next)&&!(o=o.call(a,c[1])).done)return o;switch(a=0,o&&(c=[c[0]&2,o.value]),c[0]){case 0:case 1:o=c;break;case 4:return r.label++,{value:c[1],done:!1};case 5:r.label++,a=c[1],c=[0];continue;case 7:c=r.ops.pop(),r.trys.pop();continue;default:if(o=r.trys,!(o=o.length>0&&o[o.length-1])&&(c[0]===6||c[0]===2)){r=0;continue}if(c[0]===3&&(!o||c[1]>o[0]&&c[1]<o[3])){r.label=c[1];break}if(c[0]===6&&r.label<o[1]){r.label=o[1],o=c;break}if(o&&r.label<o[2]){r.label=o[2],r.ops.push(c);break}o[2]&&r.ops.pop(),r.trys.pop();continue}c=t.call(e,r)}catch(m){c=[6,m],a=0}finally{n=o=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}function YD(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),a,o=[],i;try{for(;(t===void 0||t-- >0)&&!(a=n.next()).done;)o.push(a.value)}catch(l){i={error:l}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(i)throw i.error}}return o}function JD(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(YD(arguments[t]));return e}function QD(e,t,r){if(r||arguments.length===2)for(var n=0,a=t.length,o;n<a;n++)(o||!(n in t))&&(o||(o=Array.prototype.slice.call(t,0,n)),o[n]=t[n]);return e.concat(o||Array.prototype.slice.call(t))}typeof SuppressedError=="function"&&SuppressedError;var td="right-scroll-bar-position",rd="width-before-scroll-bar",KD="with-scroll-bars-hidden",qD="--removed-body-scroll-bar-size";function eS(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function tS(e,t){var r=h.useState(function(){return{value:e,callback:t,facade:{get current(){return r.value},set current(n){var a=r.value;a!==n&&(r.value=n,r.callback(n,a))}}}})[0];return r.callback=t,r.facade}function rS(e,t){return tS(t||null,function(r){return e.forEach(function(n){return eS(n,r)})})}function nS(e){return e}function aS(e,t){t===void 0&&(t=nS);var r=[],n=!1,a={read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(o){var i=t(o,n);return r.push(i),function(){r=r.filter(function(l){return l!==i})}},assignSyncMedium:function(o){for(n=!0;r.length;){var i=r;r=[],i.forEach(o)}r={push:function(l){return o(l)},filter:function(){return r}}},assignMedium:function(o){n=!0;var i=[];if(r.length){var l=r;r=[],l.forEach(o),i=r}var u=function(){var m=i;i=[],m.forEach(o)},c=function(){return Promise.resolve().then(u)};c(),r={push:function(m){i.push(m),c()},filter:function(m){return i=i.filter(m),r}}}};return a}function oS(e){e===void 0&&(e={});var t=aS(null);return t.options=ya({async:!0,ssr:!1},e),t}var k1=function(e){var t=e.sideCar,r=T1(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw new Error("Sidecar medium not found");return je.createElement(n,ya({},r))};k1.isSideCarExport=!0;function iS(e,t){return e.useMedium(t),k1}var B1=oS(),qh=function(){},nd=je.forwardRef(function(e,t){var r=je.useRef(null),n=je.useState({onScrollCapture:qh,onWheelCapture:qh,onTouchMoveCapture:qh}),a=n[0],o=n[1],i=e.forwardProps,l=e.children,u=e.className,c=e.removeScrollBar,m=e.enabled,p=e.shards,x=e.sideCar,C=e.noIsolation,E=e.inert,v=e.allowPinchZoom,A=e.as,S=A===void 0?"div":A,j=T1(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),O=x,L=rS([r,t]),M=ya(ya({},j),a);return je.createElement(je.Fragment,null,m&&je.createElement(O,{sideCar:B1,removeScrollBar:c,shards:p,noIsolation:C,inert:E,setCallbacks:o,allowPinchZoom:!!v,lockRef:r}),i?je.cloneElement(je.Children.only(l),ya(ya({},M),{ref:L})):je.createElement(S,ya({},M,{className:u,ref:L}),l))});nd.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},nd.classNames={fullWidth:rd,zeroRight:td};var P1,sS=function(){if(P1)return P1;if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function lS(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=sS();return t&&e.setAttribute("nonce",t),e}function uS(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function cS(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var dS=function(){var e=0,t=null;return{add:function(r){e==0&&(t=lS())&&(uS(t,r),cS(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},fS=function(){var e=dS();return function(t,r){je.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},O1=function(){var e=fS(),t=function(r){var n=r.styles,a=r.dynamic;return e(n,a),null};return t},hS={left:0,top:0,right:0,gap:0},ep=function(e){return parseInt(e||"",10)||0},pS=function(e){var t=window.getComputedStyle(document.body),r=t[e==="padding"?"paddingLeft":"marginLeft"],n=t[e==="padding"?"paddingTop":"marginTop"],a=t[e==="padding"?"paddingRight":"marginRight"];return[ep(r),ep(n),ep(a)]},gS=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return hS;var t=pS(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},mS=O1(),vS=function(e,t,r,n){var a=e.left,o=e.top,i=e.right,l=e.gap;return r===void 0&&(r="margin"),`
57
+ `]))),a5=function(t,r){var n=t.isFocused,a=t.size,o=t.theme,i=o.colors,l=o.spacing.baseUnit;return dt({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:a,lineHeight:1,marginRight:a,textAlign:"center",verticalAlign:"middle"},r?{}:{color:n?i.neutral60:i.neutral20,padding:l*2})},kh=function(t){var r=t.delay,n=t.offset;return pt("span",{css:yh({animation:"".concat(n5," 1s ease-in-out ").concat(r,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"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,eyJ2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nLWluZGljYXRvcic6IHRydWUsXG4gICAgICAgIH1cbiAgICAgICl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MH0gb2Zmc2V0PXtpc1J0bH0gLz5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXsxNjB9IG9mZnNldCAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezMyMH0gb2Zmc2V0PXshaXNSdGx9IC8+XG4gICAgPC9kaXY+XG4gICk7XG59O1xuIl19 */")})},o5=function(t){var r=t.innerProps,n=t.isRtl,a=t.size,o=a===void 0?4:a,i=ma(t,X4);return pt("div",we({},hr(dt(dt({},i),{},{innerProps:r,isRtl:n,size:o}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),r),pt(kh,{delay:0,offset:n}),pt(kh,{delay:160,offset:!0}),pt(kh,{delay:320,offset:!n}))},i5=function(t,r){var n=t.isDisabled,a=t.isFocused,o=t.theme,i=o.colors,l=o.borderRadius,u=o.spacing;return dt({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:u.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},r?{}:{backgroundColor:n?i.neutral5:i.neutral0,borderColor:n?i.neutral10:a?i.primary:i.neutral20,borderRadius:l,borderStyle:"solid",borderWidth:1,boxShadow:a?"0 0 0 1px ".concat(i.primary):void 0,"&:hover":{borderColor:a?i.primary:i.neutral30}})},s5=function(t){var r=t.children,n=t.isDisabled,a=t.isFocused,o=t.innerRef,i=t.innerProps,l=t.menuIsOpen;return pt("div",we({ref:o},hr(t,"control",{control:!0,"control--is-disabled":n,"control--is-focused":a,"control--menu-is-open":l}),i),r)},l5=s5,u5=["data"],c5=function(t,r){var n=t.theme.spacing;return r?{}:{paddingBottom:n.baseUnit*2,paddingTop:n.baseUnit*2}},d5=function(t){var r=t.children,n=t.cx,a=t.getStyles,o=t.getClassNames,i=t.Heading,l=t.headingProps,u=t.innerProps,c=t.label,m=t.theme,p=t.selectProps;return pt("div",we({},hr(t,"group",{group:!0}),u),pt(i,we({},l,{selectProps:p,theme:m,getStyles:a,getClassNames:o,cx:n}),c),pt("div",null,r))},f5=function(t,r){var n=t.theme,a=n.colors,o=n.spacing;return dt({label:"group",cursor:"default",display:"block"},r?{}:{color:a.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:o.baseUnit*3,paddingRight:o.baseUnit*3,textTransform:"uppercase"})},h5=function(t){var r=mv(t);r.data;var n=ma(r,u5);return pt("div",we({},hr(t,"groupHeading",{"group-heading":!0}),n))},p5=d5,g5=["innerRef","isDisabled","isHidden","inputClassName"],m5=function(t,r){var n=t.isDisabled,a=t.value,o=t.theme,i=o.spacing,l=o.colors;return dt(dt({visibility:n?"hidden":"visible",transform:a?"translateZ(0)":""},v5),r?{}:{margin:i.baseUnit/2,paddingBottom:i.baseUnit/2,paddingTop:i.baseUnit/2,color:l.neutral80})},jv={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},v5={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":dt({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},jv)},b5=function(t){return dt({label:"input",color:"inherit",background:0,opacity:t?0:1,width:"100%"},jv)},x5=function(t){var r=t.cx,n=t.value,a=mv(t),o=a.innerRef,i=a.isDisabled,l=a.isHidden,u=a.inputClassName,c=ma(a,g5);return pt("div",we({},hr(t,"input",{"input-container":!0}),{"data-value":n||""}),pt("input",we({className:r({input:!0},u),ref:o,style:b5(l),disabled:i},c)))},y5=x5,C5=function(t,r){var n=t.theme,a=n.spacing,o=n.borderRadius,i=n.colors;return dt({label:"multiValue",display:"flex",minWidth:0},r?{}:{backgroundColor:i.neutral10,borderRadius:o/2,margin:a.baseUnit/2})},w5=function(t,r){var n=t.theme,a=n.borderRadius,o=n.colors,i=t.cropWithEllipsis;return dt({overflow:"hidden",textOverflow:i||i===void 0?"ellipsis":void 0,whiteSpace:"nowrap"},r?{}:{borderRadius:a/2,color:o.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},E5=function(t,r){var n=t.theme,a=n.spacing,o=n.borderRadius,i=n.colors,l=t.isFocused;return dt({alignItems:"center",display:"flex"},r?{}:{borderRadius:o/2,backgroundColor:l?i.dangerLight:void 0,paddingLeft:a.baseUnit,paddingRight:a.baseUnit,":hover":{backgroundColor:i.dangerLight,color:i.danger}})},Iv=function(t){var r=t.children,n=t.innerProps;return pt("div",n,r)},D5=Iv,S5=Iv;function A5(e){var t=e.children,r=e.innerProps;return pt("div",we({role:"button"},r),t||pt(Th,{size:14}))}var F5=function(t){var r=t.children,n=t.components,a=t.data,o=t.innerProps,i=t.isDisabled,l=t.removeProps,u=t.selectProps,c=n.Container,m=n.Label,p=n.Remove;return pt(c,{data:a,innerProps:dt(dt({},hr(t,"multiValue",{"multi-value":!0,"multi-value--is-disabled":i})),o),selectProps:u},pt(m,{data:a,innerProps:dt({},hr(t,"multiValueLabel",{"multi-value__label":!0})),selectProps:u},r),pt(p,{data:a,innerProps:dt(dt({},hr(t,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(r||"option")},l),selectProps:u}))},j5=F5,I5=function(t,r){var n=t.isDisabled,a=t.isFocused,o=t.isSelected,i=t.theme,l=i.spacing,u=i.colors;return dt({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},r?{}:{backgroundColor:o?u.primary:a?u.primary25:"transparent",color:n?u.neutral20:o?u.neutral0:"inherit",padding:"".concat(l.baseUnit*2,"px ").concat(l.baseUnit*3,"px"),":active":{backgroundColor:n?void 0:o?u.primary:u.primary50}})},T5=function(t){var r=t.children,n=t.isDisabled,a=t.isFocused,o=t.isSelected,i=t.innerRef,l=t.innerProps;return pt("div",we({},hr(t,"option",{option:!0,"option--is-disabled":n,"option--is-focused":a,"option--is-selected":o}),{ref:i,"aria-disabled":n},l),r)},k5=T5,B5=function(t,r){var n=t.theme,a=n.spacing,o=n.colors;return dt({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},r?{}:{color:o.neutral50,marginLeft:a.baseUnit/2,marginRight:a.baseUnit/2})},P5=function(t){var r=t.children,n=t.innerProps;return pt("div",we({},hr(t,"placeholder",{placeholder:!0}),n),r)},O5=P5,N5=function(t,r){var n=t.isDisabled,a=t.theme,o=a.spacing,i=a.colors;return dt({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},r?{}:{color:n?i.neutral40:i.neutral80,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},M5=function(t){var r=t.children,n=t.isDisabled,a=t.innerProps;return pt("div",we({},hr(t,"singleValue",{"single-value":!0,"single-value--is-disabled":n}),a),r)},R5=M5,$5={ClearIndicator:e5,Control:l5,DropdownIndicator:K4,DownChevron:Av,CrossIcon:Th,Group:p5,GroupHeading:h5,IndicatorsContainer:Z4,IndicatorSeparator:r5,Input:y5,LoadingIndicator:o5,Menu:B4,MenuList:O4,MenuPortal:_4,LoadingMessage:$4,NoOptionsMessage:R4,MultiValue:j5,MultiValueContainer:D5,MultiValueLabel:S5,MultiValueRemove:A5,Option:k5,Placeholder:O5,SelectContainer:V4,SingleValue:R5,ValueContainer:z4},L5=function(t){return dt(dt({},$5),t.components)},Tv=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function _5(e,t){return!!(e===t||Tv(e)&&Tv(t))}function W5(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(!_5(e[r],t[r]))return!1;return!0}function V5(e,t){t===void 0&&(t=W5);var r=null;function n(){for(var a=[],o=0;o<arguments.length;o++)a[o]=arguments[o];if(r&&r.lastThis===this&&t(a,r.lastArgs))return r.lastResult;var i=e.apply(this,a);return r={lastResult:i,lastArgs:a,lastThis:this},i}return n.clear=function(){r=null},n}function H5(){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 z5=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:H5},G5=function(t){return pt("span",we({css:z5},t))},kv=G5,Z5={guidance:function(t){var r=t.isSearchable,n=t.isMulti,a=t.isDisabled,o=t.tabSelectsValue,i=t.context;switch(i){case"menu":return"Use Up and Down to choose options".concat(a?"":", 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"".concat(t["aria-label"]||"Select"," is focused ").concat(r?",type to refine list":"",", press Down to open the menu, ").concat(n?" 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 r=t.action,n=t.label,a=n===void 0?"":n,o=t.labels,i=t.isDisabled;switch(r){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(a,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(o.length>1?"s":""," ").concat(o.join(","),", selected.");case"select-option":return i?"option ".concat(a," is disabled. Select another option."):"option ".concat(a,", selected.");default:return""}},onFocus:function(t){var r=t.context,n=t.focused,a=t.options,o=t.label,i=o===void 0?"":o,l=t.selectValue,u=t.isDisabled,c=t.isSelected,m=function(E,v){return E&&E.length?"".concat(E.indexOf(v)+1," of ").concat(E.length):""};if(r==="value"&&l)return"value ".concat(i," focused, ").concat(m(l,n),".");if(r==="menu"){var p=u?" disabled":"",x="".concat(c?"selected":"focused").concat(p);return"option ".concat(i," ").concat(x,", ").concat(m(a,n),".")}return""},onFilter:function(t){var r=t.inputValue,n=t.resultsMessage;return"".concat(n).concat(r?" for search term "+r:"",".")}},U5=function(t){var r=t.ariaSelection,n=t.focusedOption,a=t.focusedValue,o=t.focusableOptions,i=t.isFocused,l=t.selectValue,u=t.selectProps,c=t.id,m=u.ariaLiveMessages,p=u.getOptionLabel,x=u.inputValue,C=u.isMulti,E=u.isOptionDisabled,v=u.isSearchable,A=u.menuIsOpen,S=u.options,j=u.screenReaderStatus,O=u.tabSelectsValue,L=u["aria-label"],M=u["aria-live"],z=h.useMemo(function(){return dt(dt({},Z5),m||{})},[m]),H=h.useMemo(function(){var N="";if(r&&z.onChange){var W=r.option,ee=r.options,de=r.removedValue,ne=r.removedValues,te=r.value,K=function(me){return Array.isArray(me)?null:me},se=de||W||K(te),fe=se?p(se):"",Se=ee||ne||void 0,G=Se?Se.map(p):[],he=dt({isDisabled:se&&E(se,l),label:fe,labels:G},r);N=z.onChange(he)}return N},[r,z,E,l,p]),oe=h.useMemo(function(){var N="",W=n||a,ee=!!(n&&l&&l.includes(n));if(W&&z.onFocus){var de={focused:W,label:p(W),isDisabled:E(W,l),isSelected:ee,options:o,context:W===n?"menu":"value",selectValue:l};N=z.onFocus(de)}return N},[n,a,p,E,z,o,l]),J=h.useMemo(function(){var N="";if(A&&S.length&&z.onFilter){var W=j({count:o.length});N=z.onFilter({inputValue:x,resultsMessage:W})}return N},[o,x,A,z,S,j]),ge=h.useMemo(function(){var N="";if(z.guidance){var W=a?"value":A?"menu":"input";N=z.guidance({"aria-label":L,context:W,isDisabled:n&&E(n,l),isMulti:C,isSearchable:v,tabSelectsValue:O})}return N},[L,n,a,C,E,v,A,z,l,O]),xe="".concat(oe," ").concat(J," ").concat(ge),Q=pt(h.Fragment,null,pt("span",{id:"aria-selection"},H),pt("span",{id:"aria-context"},xe)),ce=(r==null?void 0:r.action)==="initial-input-focus";return pt(h.Fragment,null,pt(kv,{id:c},ce&&Q),pt(kv,{"aria-live":M,"aria-atomic":"false","aria-relevant":"additions text"},i&&!ce&&Q))},X5=U5,Bh=[{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źẑżžẓẕƶȥɀⱬꝣ"}],Y5=new RegExp("["+Bh.map(function(e){return e.letters}).join("")+"]","g"),Bv={},Ph=0;Ph<Bh.length;Ph++)for(var Oh=Bh[Ph],Nh=0;Nh<Oh.letters.length;Nh++)Bv[Oh.letters[Nh]]=Oh.base;var Pv=function(t){return t.replace(Y5,function(r){return Bv[r]})},J5=V5(Pv),Ov=function(t){return t.replace(/^\s+|\s+$/g,"")},Q5=function(t){return"".concat(t.label," ").concat(t.value)},K5=function(t){return function(r,n){if(r.data.__isNew__)return!0;var a=dt({ignoreCase:!0,ignoreAccents:!0,stringify:Q5,trim:!0,matchFrom:"any"},t),o=a.ignoreCase,i=a.ignoreAccents,l=a.stringify,u=a.trim,c=a.matchFrom,m=u?Ov(n):n,p=u?Ov(l(r)):l(r);return o&&(m=m.toLowerCase(),p=p.toLowerCase()),i&&(m=J5(m),p=Pv(p)),c==="start"?p.substr(0,m.length)===m:p.indexOf(m)>-1}},q5=["innerRef"];function e9(e){var t=e.innerRef,r=ma(e,q5),n=D4(r,"onExited","in","enter","exit","appear");return pt("input",we({ref:t},n,{css:yh({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 t9=function(t){t.preventDefault(),t.stopPropagation()};function r9(e){var t=e.isEnabled,r=e.onBottomArrive,n=e.onBottomLeave,a=e.onTopArrive,o=e.onTopLeave,i=h.useRef(!1),l=h.useRef(!1),u=h.useRef(0),c=h.useRef(null),m=h.useCallback(function(A,S){if(c.current!==null){var j=c.current,O=j.scrollTop,L=j.scrollHeight,M=j.clientHeight,z=c.current,H=S>0,oe=L-M-O,J=!1;oe>S&&i.current&&(n&&n(A),i.current=!1),H&&l.current&&(o&&o(A),l.current=!1),H&&S>oe?(r&&!i.current&&r(A),z.scrollTop=L,J=!0,i.current=!0):!H&&-S>O&&(a&&!l.current&&a(A),z.scrollTop=0,J=!0,l.current=!0),J&&t9(A)}},[r,n,a,o]),p=h.useCallback(function(A){m(A,A.deltaY)},[m]),x=h.useCallback(function(A){u.current=A.changedTouches[0].clientY},[]),C=h.useCallback(function(A){var S=u.current-A.changedTouches[0].clientY;m(A,S)},[m]),E=h.useCallback(function(A){if(A){var S=C4?{passive:!1}:!1;A.addEventListener("wheel",p,S),A.addEventListener("touchstart",x,S),A.addEventListener("touchmove",C,S)}},[C,x,p]),v=h.useCallback(function(A){A&&(A.removeEventListener("wheel",p,!1),A.removeEventListener("touchstart",x,!1),A.removeEventListener("touchmove",C,!1))},[C,x,p]);return h.useEffect(function(){if(t){var A=c.current;return E(A),function(){v(A)}}},[t,E,v]),function(A){c.current=A}}var Nv=["boxSizing","height","overflow","paddingRight","position"],Mv={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Rv(e){e.preventDefault()}function $v(e){e.stopPropagation()}function Lv(){var e=this.scrollTop,t=this.scrollHeight,r=e+this.offsetHeight;e===0?this.scrollTop=1:r===t&&(this.scrollTop=e-1)}function _v(){return"ontouchstart"in window||navigator.maxTouchPoints}var Wv=!!(typeof window<"u"&&window.document&&window.document.createElement),Vl=0,ls={capture:!1,passive:!1};function n9(e){var t=e.isEnabled,r=e.accountForScrollbars,n=r===void 0?!0:r,a=h.useRef({}),o=h.useRef(null),i=h.useCallback(function(u){if(Wv){var c=document.body,m=c&&c.style;if(n&&Nv.forEach(function(E){var v=m&&m[E];a.current[E]=v}),n&&Vl<1){var p=parseInt(a.current.paddingRight,10)||0,x=document.body?document.body.clientWidth:0,C=window.innerWidth-x+p||0;Object.keys(Mv).forEach(function(E){var v=Mv[E];m&&(m[E]=v)}),m&&(m.paddingRight="".concat(C,"px"))}c&&_v()&&(c.addEventListener("touchmove",Rv,ls),u&&(u.addEventListener("touchstart",Lv,ls),u.addEventListener("touchmove",$v,ls))),Vl+=1}},[n]),l=h.useCallback(function(u){if(Wv){var c=document.body,m=c&&c.style;Vl=Math.max(Vl-1,0),n&&Vl<1&&Nv.forEach(function(p){var x=a.current[p];m&&(m[p]=x)}),c&&_v()&&(c.removeEventListener("touchmove",Rv,ls),u&&(u.removeEventListener("touchstart",Lv,ls),u.removeEventListener("touchmove",$v,ls)))}},[n]);return h.useEffect(function(){if(t){var u=o.current;return i(u),function(){l(u)}}},[t,i,l]),function(u){o.current=u}}function a9(){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 o9=function(t){var r=t.target;return r.ownerDocument.activeElement&&r.ownerDocument.activeElement.blur()},i9=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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4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CwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+XG4gICk7XG59XG4iXX0= */",toString:a9};function s9(e){var t=e.children,r=e.lockEnabled,n=e.captureEnabled,a=n===void 0?!0:n,o=e.onBottomArrive,i=e.onBottomLeave,l=e.onTopArrive,u=e.onTopLeave,c=r9({isEnabled:a,onBottomArrive:o,onBottomLeave:i,onTopArrive:l,onTopLeave:u}),m=n9({isEnabled:r}),p=function(C){c(C),m(C)};return pt(h.Fragment,null,r&&pt("div",{onClick:o9,css:i9}),t(p))}function l9(){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 u9=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:l9},c9=function(t){var r=t.name,n=t.onFocus;return pt("input",{required:!0,name:r,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:u9,value:"",onChange:function(){}})},d9=c9,f9=function(t){return t.label},Vv=function(t){return t.label},Hv=function(t){return t.value},h9=function(t){return!!t.isDisabled},p9={clearIndicator:q4,container:W4,control:i5,dropdownIndicator:Q4,group:c5,groupHeading:f5,indicatorsContainer:G4,indicatorSeparator:t5,input:m5,loadingIndicator:a5,loadingMessage:M4,menu:I4,menuList:P4,menuPortal:L4,multiValue:C5,multiValueLabel:w5,multiValueRemove:E5,noOptionsMessage:N4,option:I5,placeholder:B5,singleValue:N5,valueContainer:H4},g9={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%)"},m9=4,zv=4,v9=38,b9=zv*2,x9={baseUnit:zv,controlHeight:v9,menuGutter:b9},Mh={borderRadius:m9,colors:g9,spacing:x9},y9={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:xv(),captureMenuScroll:!xv(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:K5(),formatGroupLabel:f9,getOptionLabel:Vv,getOptionValue:Hv,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:h9,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!x4(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(t){var r=t.count;return"".concat(r," result").concat(r!==1?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function Gv(e,t,r,n){var a=Jv(e,t,r),o=Qv(e,t,r),i=Yv(e,t),l=zc(e,t);return{type:"option",data:t,isDisabled:a,isSelected:o,label:i,value:l,index:n}}function Zv(e,t){return e.options.map(function(r,n){if("options"in r){var a=r.options.map(function(i,l){return Gv(e,i,t,l)}).filter(function(i){return Xv(e,i)});return a.length>0?{type:"group",data:r,options:a,index:n}:void 0}var o=Gv(e,r,t,n);return Xv(e,o)?o:void 0}).filter(w4)}function Uv(e){return e.reduce(function(t,r){return r.type==="group"?t.push.apply(t,kl(r.options.map(function(n){return n.data}))):t.push(r.data),t},[])}function C9(e,t){return Uv(Zv(e,t))}function Xv(e,t){var r=e.inputValue,n=r===void 0?"":r,a=t.data,o=t.isSelected,i=t.label,l=t.value;return(!qv(e)||!o)&&Kv(e,{label:i,value:l,data:a},n)}function w9(e,t){var r=e.focusedValue,n=e.selectValue,a=n.indexOf(r);if(a>-1){var o=t.indexOf(r);if(o>-1)return r;if(a<t.length)return t[a]}return null}function E9(e,t){var r=e.focusedOption;return r&&t.indexOf(r)>-1?r:t[0]}var Yv=function(t,r){return t.getOptionLabel(r)},zc=function(t,r){return t.getOptionValue(r)};function Jv(e,t,r){return typeof e.isOptionDisabled=="function"?e.isOptionDisabled(t,r):!1}function Qv(e,t,r){if(r.indexOf(t)>-1)return!0;if(typeof e.isOptionSelected=="function")return e.isOptionSelected(t,r);var n=zc(e,t);return r.some(function(a){return zc(e,a)===n})}function Kv(e,t,r){return e.filterOption?e.filterOption(t,r):!0}var qv=function(t){var r=t.hideSelectedOptions,n=t.isMulti;return r===void 0?n:r},D9=1,Rh=function(e){dE(r,e);var t=gE(r);function r(n){var a;if(uE(this,r),a=t.call(this,n),a.state={ariaSelection:null,focusedOption:null,focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0},a.blockOptionHover=!1,a.isComposing=!1,a.commonProps=void 0,a.initialTouchX=0,a.initialTouchY=0,a.instancePrefix="",a.openAfterFocus=!1,a.scrollToFocusedOptionOnUpdate=!1,a.userIsDragging=void 0,a.controlRef=null,a.getControlRef=function(l){a.controlRef=l},a.focusedOptionRef=null,a.getFocusedOptionRef=function(l){a.focusedOptionRef=l},a.menuListRef=null,a.getMenuListRef=function(l){a.menuListRef=l},a.inputRef=null,a.getInputRef=function(l){a.inputRef=l},a.focus=a.focusInput,a.blur=a.blurInput,a.onChange=function(l,u){var c=a.props,m=c.onChange,p=c.name;u.name=p,a.ariaOnChange(l,u),m(l,u)},a.setValue=function(l,u,c){var m=a.props,p=m.closeMenuOnSelect,x=m.isMulti,C=m.inputValue;a.onInputChange("",{action:"set-value",prevInputValue:C}),p&&(a.setState({inputIsHiddenAfterUpdate:!x}),a.onMenuClose()),a.setState({clearFocusValueOnUpdate:!0}),a.onChange(l,{action:u,option:c})},a.selectOption=function(l){var u=a.props,c=u.blurInputOnSelect,m=u.isMulti,p=u.name,x=a.state.selectValue,C=m&&a.isOptionSelected(l,x),E=a.isOptionDisabled(l,x);if(C){var v=a.getOptionValue(l);a.setValue(x.filter(function(A){return a.getOptionValue(A)!==v}),"deselect-option",l)}else if(!E)m?a.setValue([].concat(kl(x),[l]),"select-option",l):a.setValue(l,"select-option");else{a.ariaOnChange(l,{action:"select-option",option:l,name:p});return}c&&a.blurInput()},a.removeValue=function(l){var u=a.props.isMulti,c=a.state.selectValue,m=a.getOptionValue(l),p=c.filter(function(C){return a.getOptionValue(C)!==m}),x=Wl(u,p,p[0]||null);a.onChange(x,{action:"remove-value",removedValue:l}),a.focusInput()},a.clearValue=function(){var l=a.state.selectValue;a.onChange(Wl(a.props.isMulti,[],null),{action:"clear",removedValues:l})},a.popValue=function(){var l=a.props.isMulti,u=a.state.selectValue,c=u[u.length-1],m=u.slice(0,u.length-1),p=Wl(l,m,m[0]||null);a.onChange(p,{action:"pop-value",removedValue:c})},a.getValue=function(){return a.state.selectValue},a.cx=function(){for(var l=arguments.length,u=new Array(l),c=0;c<l;c++)u[c]=arguments[c];return p4.apply(void 0,[a.props.classNamePrefix].concat(u))},a.getOptionLabel=function(l){return Yv(a.props,l)},a.getOptionValue=function(l){return zc(a.props,l)},a.getStyles=function(l,u){var c=a.props.unstyled,m=p9[l](u,c);m.boxSizing="border-box";var p=a.props.styles[l];return p?p(m,u):m},a.getClassNames=function(l,u){var c,m;return(c=(m=a.props.classNames)[l])===null||c===void 0?void 0:c.call(m,u)},a.getElementId=function(l){return"".concat(a.instancePrefix,"-").concat(l)},a.getComponents=function(){return L5(a.props)},a.buildCategorizedOptions=function(){return Zv(a.props,a.state.selectValue)},a.getCategorizedOptions=function(){return a.props.menuIsOpen?a.buildCategorizedOptions():[]},a.buildFocusableOptions=function(){return Uv(a.buildCategorizedOptions())},a.getFocusableOptions=function(){return a.props.menuIsOpen?a.buildFocusableOptions():[]},a.ariaOnChange=function(l,u){a.setState({ariaSelection:dt({value:l},u)})},a.onMenuMouseDown=function(l){l.button===0&&(l.stopPropagation(),l.preventDefault(),a.focusInput())},a.onMenuMouseMove=function(l){a.blockOptionHover=!1},a.onControlMouseDown=function(l){if(!l.defaultPrevented){var u=a.props.openMenuOnClick;a.state.isFocused?a.props.menuIsOpen?l.target.tagName!=="INPUT"&&l.target.tagName!=="TEXTAREA"&&a.onMenuClose():u&&a.openMenu("first"):(u&&(a.openAfterFocus=!0),a.focusInput()),l.target.tagName!=="INPUT"&&l.target.tagName!=="TEXTAREA"&&l.preventDefault()}},a.onDropdownIndicatorMouseDown=function(l){if(!(l&&l.type==="mousedown"&&l.button!==0)&&!a.props.isDisabled){var u=a.props,c=u.isMulti,m=u.menuIsOpen;a.focusInput(),m?(a.setState({inputIsHiddenAfterUpdate:!c}),a.onMenuClose()):a.openMenu("first"),l.preventDefault()}},a.onClearIndicatorMouseDown=function(l){l&&l.type==="mousedown"&&l.button!==0||(a.clearValue(),l.preventDefault(),a.openAfterFocus=!1,l.type==="touchend"?a.focusInput():setTimeout(function(){return a.focusInput()}))},a.onScroll=function(l){typeof a.props.closeMenuOnScroll=="boolean"?l.target instanceof HTMLElement&&_c(l.target)&&a.props.onMenuClose():typeof a.props.closeMenuOnScroll=="function"&&a.props.closeMenuOnScroll(l)&&a.props.onMenuClose()},a.onCompositionStart=function(){a.isComposing=!0},a.onCompositionEnd=function(){a.isComposing=!1},a.onTouchStart=function(l){var u=l.touches,c=u&&u.item(0);c&&(a.initialTouchX=c.clientX,a.initialTouchY=c.clientY,a.userIsDragging=!1)},a.onTouchMove=function(l){var u=l.touches,c=u&&u.item(0);if(c){var m=Math.abs(c.clientX-a.initialTouchX),p=Math.abs(c.clientY-a.initialTouchY),x=5;a.userIsDragging=m>x||p>x}},a.onTouchEnd=function(l){a.userIsDragging||(a.controlRef&&!a.controlRef.contains(l.target)&&a.menuListRef&&!a.menuListRef.contains(l.target)&&a.blurInput(),a.initialTouchX=0,a.initialTouchY=0)},a.onControlTouchEnd=function(l){a.userIsDragging||a.onControlMouseDown(l)},a.onClearIndicatorTouchEnd=function(l){a.userIsDragging||a.onClearIndicatorMouseDown(l)},a.onDropdownIndicatorTouchEnd=function(l){a.userIsDragging||a.onDropdownIndicatorMouseDown(l)},a.handleInputChange=function(l){var u=a.props.inputValue,c=l.currentTarget.value;a.setState({inputIsHiddenAfterUpdate:!1}),a.onInputChange(c,{action:"input-change",prevInputValue:u}),a.props.menuIsOpen||a.onMenuOpen()},a.onInputFocus=function(l){a.props.onFocus&&a.props.onFocus(l),a.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(a.openAfterFocus||a.props.openMenuOnFocus)&&a.openMenu("first"),a.openAfterFocus=!1},a.onInputBlur=function(l){var u=a.props.inputValue;if(a.menuListRef&&a.menuListRef.contains(document.activeElement)){a.inputRef.focus();return}a.props.onBlur&&a.props.onBlur(l),a.onInputChange("",{action:"input-blur",prevInputValue:u}),a.onMenuClose(),a.setState({focusedValue:null,isFocused:!1})},a.onOptionHover=function(l){a.blockOptionHover||a.state.focusedOption===l||a.setState({focusedOption:l})},a.shouldHideSelectedOptions=function(){return qv(a.props)},a.onValueInputFocus=function(l){l.preventDefault(),l.stopPropagation(),a.focus()},a.onKeyDown=function(l){var u=a.props,c=u.isMulti,m=u.backspaceRemovesValue,p=u.escapeClearsValue,x=u.inputValue,C=u.isClearable,E=u.isDisabled,v=u.menuIsOpen,A=u.onKeyDown,S=u.tabSelectsValue,j=u.openMenuOnFocus,O=a.state,L=O.focusedOption,M=O.focusedValue,z=O.selectValue;if(!E&&!(typeof A=="function"&&(A(l),l.defaultPrevented))){switch(a.blockOptionHover=!0,l.key){case"ArrowLeft":if(!c||x)return;a.focusValue("previous");break;case"ArrowRight":if(!c||x)return;a.focusValue("next");break;case"Delete":case"Backspace":if(x)return;if(M)a.removeValue(M);else{if(!m)return;c?a.popValue():C&&a.clearValue()}break;case"Tab":if(a.isComposing||l.shiftKey||!v||!S||!L||j&&a.isOptionSelected(L,z))return;a.selectOption(L);break;case"Enter":if(l.keyCode===229)break;if(v){if(!L||a.isComposing)return;a.selectOption(L);break}return;case"Escape":v?(a.setState({inputIsHiddenAfterUpdate:!1}),a.onInputChange("",{action:"menu-close",prevInputValue:x}),a.onMenuClose()):C&&p&&a.clearValue();break;case" ":if(x)return;if(!v){a.openMenu("first");break}if(!L)return;a.selectOption(L);break;case"ArrowUp":v?a.focusOption("up"):a.openMenu("last");break;case"ArrowDown":v?a.focusOption("down"):a.openMenu("first");break;case"PageUp":if(!v)return;a.focusOption("pageup");break;case"PageDown":if(!v)return;a.focusOption("pagedown");break;case"Home":if(!v)return;a.focusOption("first");break;case"End":if(!v)return;a.focusOption("last");break;default:return}l.preventDefault()}},a.instancePrefix="react-select-"+(a.props.instanceId||++D9),a.state.selectValue=Lc(n.value),n.menuIsOpen&&a.state.selectValue.length){var o=a.buildFocusableOptions(),i=o.indexOf(a.state.selectValue[0]);a.state.focusedOption=o[i]}return a}return cE(r,[{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&&bv(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(a){var o=this.props,i=o.isDisabled,l=o.menuIsOpen,u=this.state.isFocused;(u&&!i&&a.isDisabled||u&&l&&!a.menuIsOpen)&&this.focusInput(),u&&i&&!a.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!u&&!i&&a.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(bv(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(a,o){this.props.onInputChange(a,o)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(a){var o=this,i=this.state,l=i.selectValue,u=i.isFocused,c=this.buildFocusableOptions(),m=a==="first"?0:c.length-1;if(!this.props.isMulti){var p=c.indexOf(l[0]);p>-1&&(m=p)}this.scrollToFocusedOptionOnUpdate=!(u&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:c[m]},function(){return o.onMenuOpen()})}},{key:"focusValue",value:function(a){var o=this.state,i=o.selectValue,l=o.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var u=i.indexOf(l);l||(u=-1);var c=i.length-1,m=-1;if(i.length){switch(a){case"previous":u===0?m=0:u===-1?m=c:m=u-1;break;case"next":u>-1&&u<c&&(m=u+1);break}this.setState({inputIsHidden:m!==-1,focusedValue:i[m]})}}}},{key:"focusOption",value:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"first",o=this.props.pageSize,i=this.state.focusedOption,l=this.getFocusableOptions();if(l.length){var u=0,c=l.indexOf(i);i||(c=-1),a==="up"?u=c>0?c-1:l.length-1:a==="down"?u=(c+1)%l.length:a==="pageup"?(u=c-o,u<0&&(u=0)):a==="pagedown"?(u=c+o,u>l.length-1&&(u=l.length-1)):a==="last"&&(u=l.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:l[u],focusedValue:null})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(Mh):dt(dt({},Mh),this.props.theme):Mh}},{key:"getCommonProps",value:function(){var a=this.clearValue,o=this.cx,i=this.getStyles,l=this.getClassNames,u=this.getValue,c=this.selectOption,m=this.setValue,p=this.props,x=p.isMulti,C=p.isRtl,E=p.options,v=this.hasValue();return{clearValue:a,cx:o,getStyles:i,getClassNames:l,getValue:u,hasValue:v,isMulti:x,isRtl:C,options:E,selectOption:c,selectProps:p,setValue:m,theme:this.getTheme()}}},{key:"hasValue",value:function(){var a=this.state.selectValue;return a.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var a=this.props,o=a.isClearable,i=a.isMulti;return o===void 0?i:o}},{key:"isOptionDisabled",value:function(a,o){return Jv(this.props,a,o)}},{key:"isOptionSelected",value:function(a,o){return Qv(this.props,a,o)}},{key:"filterOption",value:function(a,o){return Kv(this.props,a,o)}},{key:"formatOptionLabel",value:function(a,o){if(typeof this.props.formatOptionLabel=="function"){var i=this.props.inputValue,l=this.state.selectValue;return this.props.formatOptionLabel(a,{context:o,inputValue:i,selectValue:l})}else return this.getOptionLabel(a)}},{key:"formatGroupLabel",value:function(a){return this.props.formatGroupLabel(a)}},{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 a=this.props,o=a.isDisabled,i=a.isSearchable,l=a.inputId,u=a.inputValue,c=a.tabIndex,m=a.form,p=a.menuIsOpen,x=a.required,C=this.getComponents(),E=C.Input,v=this.state,A=v.inputIsHidden,S=v.ariaSelection,j=this.commonProps,O=l||this.getElementId("input"),L=dt(dt(dt({"aria-autocomplete":"list","aria-expanded":p,"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":x,role:"combobox"},p&&{"aria-controls":this.getElementId("listbox"),"aria-owns":this.getElementId("listbox")}),!i&&{"aria-readonly":!0}),this.hasValue()?(S==null?void 0:S.action)==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return i?je.createElement(E,we({},j,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:O,innerRef:this.getInputRef,isDisabled:o,isHidden:A,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:c,form:m,type:"text",value:u},L)):je.createElement(e9,we({id:O,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:$c,onFocus:this.onInputFocus,disabled:o,tabIndex:c,inputMode:"none",form:m,value:""},L))}},{key:"renderPlaceholderOrValue",value:function(){var a=this,o=this.getComponents(),i=o.MultiValue,l=o.MultiValueContainer,u=o.MultiValueLabel,c=o.MultiValueRemove,m=o.SingleValue,p=o.Placeholder,x=this.commonProps,C=this.props,E=C.controlShouldRenderValue,v=C.isDisabled,A=C.isMulti,S=C.inputValue,j=C.placeholder,O=this.state,L=O.selectValue,M=O.focusedValue,z=O.isFocused;if(!this.hasValue()||!E)return S?null:je.createElement(p,we({},x,{key:"placeholder",isDisabled:v,isFocused:z,innerProps:{id:this.getElementId("placeholder")}}),j);if(A)return L.map(function(oe,J){var ge=oe===M,xe="".concat(a.getOptionLabel(oe),"-").concat(a.getOptionValue(oe));return je.createElement(i,we({},x,{components:{Container:l,Label:u,Remove:c},isFocused:ge,isDisabled:v,key:xe,index:J,removeProps:{onClick:function(){return a.removeValue(oe)},onTouchEnd:function(){return a.removeValue(oe)},onMouseDown:function(ce){ce.preventDefault()}},data:oe}),a.formatOptionLabel(oe,"value"))});if(S)return null;var H=L[0];return je.createElement(m,we({},x,{data:H,isDisabled:v}),this.formatOptionLabel(H,"value"))}},{key:"renderClearIndicator",value:function(){var a=this.getComponents(),o=a.ClearIndicator,i=this.commonProps,l=this.props,u=l.isDisabled,c=l.isLoading,m=this.state.isFocused;if(!this.isClearable()||!o||u||!this.hasValue()||c)return null;var p={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return je.createElement(o,we({},i,{innerProps:p,isFocused:m}))}},{key:"renderLoadingIndicator",value:function(){var a=this.getComponents(),o=a.LoadingIndicator,i=this.commonProps,l=this.props,u=l.isDisabled,c=l.isLoading,m=this.state.isFocused;if(!o||!c)return null;var p={"aria-hidden":"true"};return je.createElement(o,we({},i,{innerProps:p,isDisabled:u,isFocused:m}))}},{key:"renderIndicatorSeparator",value:function(){var a=this.getComponents(),o=a.DropdownIndicator,i=a.IndicatorSeparator;if(!o||!i)return null;var l=this.commonProps,u=this.props.isDisabled,c=this.state.isFocused;return je.createElement(i,we({},l,{isDisabled:u,isFocused:c}))}},{key:"renderDropdownIndicator",value:function(){var a=this.getComponents(),o=a.DropdownIndicator;if(!o)return null;var i=this.commonProps,l=this.props.isDisabled,u=this.state.isFocused,c={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return je.createElement(o,we({},i,{innerProps:c,isDisabled:l,isFocused:u}))}},{key:"renderMenu",value:function(){var a=this,o=this.getComponents(),i=o.Group,l=o.GroupHeading,u=o.Menu,c=o.MenuList,m=o.MenuPortal,p=o.LoadingMessage,x=o.NoOptionsMessage,C=o.Option,E=this.commonProps,v=this.state.focusedOption,A=this.props,S=A.captureMenuScroll,j=A.inputValue,O=A.isLoading,L=A.loadingMessage,M=A.minMenuHeight,z=A.maxMenuHeight,H=A.menuIsOpen,oe=A.menuPlacement,J=A.menuPosition,ge=A.menuPortalTarget,xe=A.menuShouldBlockScroll,Q=A.menuShouldScrollIntoView,ce=A.noOptionsMessage,N=A.onMenuScrollToTop,W=A.onMenuScrollToBottom;if(!H)return null;var ee=function(Se,G){var he=Se.type,ae=Se.data,me=Se.isDisabled,Me=Se.isSelected,Pe=Se.label,We=Se.value,Ke=v===ae,Ne=me?void 0:function(){return a.onOptionHover(ae)},Qe=me?void 0:function(){return a.selectOption(ae)},nt="".concat(a.getElementId("option"),"-").concat(G),vt={id:nt,onClick:Qe,onMouseMove:Ne,onMouseOver:Ne,tabIndex:-1};return je.createElement(C,we({},E,{innerProps:vt,data:ae,isDisabled:me,isSelected:Me,key:nt,label:Pe,type:he,value:We,isFocused:Ke,innerRef:Ke?a.getFocusedOptionRef:void 0}),a.formatOptionLabel(Se.data,"menu"))},de;if(this.hasOptions())de=this.getCategorizedOptions().map(function(fe){if(fe.type==="group"){var Se=fe.data,G=fe.options,he=fe.index,ae="".concat(a.getElementId("group"),"-").concat(he),me="".concat(ae,"-heading");return je.createElement(i,we({},E,{key:ae,data:Se,options:G,Heading:l,headingProps:{id:me,data:fe.data},label:a.formatGroupLabel(fe.data)}),fe.options.map(function(Me){return ee(Me,"".concat(he,"-").concat(Me.index))}))}else if(fe.type==="option")return ee(fe,"".concat(fe.index))});else if(O){var ne=L({inputValue:j});if(ne===null)return null;de=je.createElement(p,E,ne)}else{var te=ce({inputValue:j});if(te===null)return null;de=je.createElement(x,E,te)}var K={minMenuHeight:M,maxMenuHeight:z,menuPlacement:oe,menuPosition:J,menuShouldScrollIntoView:Q},se=je.createElement(T4,we({},E,K),function(fe){var Se=fe.ref,G=fe.placerProps,he=G.placement,ae=G.maxHeight;return je.createElement(u,we({},E,K,{innerRef:Se,innerProps:{onMouseDown:a.onMenuMouseDown,onMouseMove:a.onMenuMouseMove,id:a.getElementId("listbox")},isLoading:O,placement:he}),je.createElement(s9,{captureEnabled:S,onTopArrive:N,onBottomArrive:W,lockEnabled:xe},function(me){return je.createElement(c,we({},E,{innerRef:function(Pe){a.getMenuListRef(Pe),me(Pe)},isLoading:O,maxHeight:ae,focusedOption:v}),de)}))});return ge||J==="fixed"?je.createElement(m,we({},E,{appendTo:ge,controlElement:this.controlRef,menuPlacement:oe,menuPosition:J}),se):se}},{key:"renderFormField",value:function(){var a=this,o=this.props,i=o.delimiter,l=o.isDisabled,u=o.isMulti,c=o.name,m=o.required,p=this.state.selectValue;if(m&&!this.hasValue()&&!l)return je.createElement(d9,{name:c,onFocus:this.onValueInputFocus});if(!(!c||l))if(u)if(i){var x=p.map(function(v){return a.getOptionValue(v)}).join(i);return je.createElement("input",{name:c,type:"hidden",value:x})}else{var C=p.length>0?p.map(function(v,A){return je.createElement("input",{key:"i-".concat(A),name:c,type:"hidden",value:a.getOptionValue(v)})}):je.createElement("input",{name:c,type:"hidden",value:""});return je.createElement("div",null,C)}else{var E=p[0]?this.getOptionValue(p[0]):"";return je.createElement("input",{name:c,type:"hidden",value:E})}}},{key:"renderLiveRegion",value:function(){var a=this.commonProps,o=this.state,i=o.ariaSelection,l=o.focusedOption,u=o.focusedValue,c=o.isFocused,m=o.selectValue,p=this.getFocusableOptions();return je.createElement(X5,we({},a,{id:this.getElementId("live-region"),ariaSelection:i,focusedOption:l,focusedValue:u,isFocused:c,selectValue:m,focusableOptions:p}))}},{key:"render",value:function(){var a=this.getComponents(),o=a.Control,i=a.IndicatorsContainer,l=a.SelectContainer,u=a.ValueContainer,c=this.props,m=c.className,p=c.id,x=c.isDisabled,C=c.menuIsOpen,E=this.state.isFocused,v=this.commonProps=this.getCommonProps();return je.createElement(l,we({},v,{className:m,innerProps:{id:p,onKeyDown:this.onKeyDown},isDisabled:x,isFocused:E}),this.renderLiveRegion(),je.createElement(o,we({},v,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:x,isFocused:E,menuIsOpen:C}),je.createElement(u,we({},v,{isDisabled:x}),this.renderPlaceholderOrValue(),this.renderInput()),je.createElement(i,we({},v,{isDisabled:x}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(a,o){var i=o.prevProps,l=o.clearFocusValueOnUpdate,u=o.inputIsHiddenAfterUpdate,c=o.ariaSelection,m=o.isFocused,p=o.prevWasFocused,x=a.options,C=a.value,E=a.menuIsOpen,v=a.inputValue,A=a.isMulti,S=Lc(C),j={};if(i&&(C!==i.value||x!==i.options||E!==i.menuIsOpen||v!==i.inputValue)){var O=E?C9(a,S):[],L=l?w9(o,S):null,M=E9(o,O);j={selectValue:S,focusedOption:M,focusedValue:L,clearFocusValueOnUpdate:!1}}var z=u!=null&&a!==i?{inputIsHidden:u,inputIsHiddenAfterUpdate:void 0}:{},H=c,oe=m&&p;return m&&!oe&&(H={value:Wl(A,S,S[0]||null),options:S,action:"initial-input-focus"},oe=!p),(c==null?void 0:c.action)==="initial-input-focus"&&(H=null),dt(dt(dt({},j),z),{},{prevProps:a,ariaSelection:H,prevWasFocused:oe})}}]),r}(h.Component);Rh.defaultProps=y9;var S9=h.forwardRef(function(e,t){var r=y0(e);return je.createElement(Rh,we({ref:t},r))}),e1=S9,A9=["allowCreateWhileLoading","createOptionPosition","formatCreateLabel","isValidNewOption","getNewOptionData","onCreateOption","options","onChange"],t1=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",r=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,a=String(t).toLowerCase(),o=String(n.getOptionValue(r)).toLowerCase(),i=String(n.getOptionLabel(r)).toLowerCase();return o===a||i===a},$h={formatCreateLabel:function(t){return'Create "'.concat(t,'"')},isValidNewOption:function(t,r,n,a){return!(!t||r.some(function(o){return t1(t,o,a)})||n.some(function(o){return t1(t,o,a)}))},getNewOptionData:function(t,r){return{label:r,value:t,__isNew__:!0}}};function F9(e){var t=e.allowCreateWhileLoading,r=t===void 0?!1:t,n=e.createOptionPosition,a=n===void 0?"last":n,o=e.formatCreateLabel,i=o===void 0?$h.formatCreateLabel:o,l=e.isValidNewOption,u=l===void 0?$h.isValidNewOption:l,c=e.getNewOptionData,m=c===void 0?$h.getNewOptionData:c,p=e.onCreateOption,x=e.options,C=x===void 0?[]:x,E=e.onChange,v=ma(e,A9),A=v.getOptionValue,S=A===void 0?Hv:A,j=v.getOptionLabel,O=j===void 0?Vv:j,L=v.inputValue,M=v.isLoading,z=v.isMulti,H=v.value,oe=v.name,J=h.useMemo(function(){return u(L,Lc(H),C,{getOptionValue:S,getOptionLabel:O})?m(L,i(L)):void 0},[i,m,O,S,L,u,C,H]),ge=h.useMemo(function(){return(r||!M)&&J?a==="first"?[J].concat(kl(C)):[].concat(kl(C),[J]):C},[r,a,M,J,C]),xe=h.useCallback(function(Q,ce){if(ce.action!=="select-option")return E(Q,ce);var N=Array.isArray(Q)?Q:[Q];if(N[N.length-1]===J){if(p)p(L);else{var W=m(L,L),ee={action:"create-option",name:oe,option:W};E(Wl(z,[].concat(kl(Lc(H)),[W]),W),ee)}return}E(Q,ce)},[m,L,z,oe,J,p,E,H]);return dt(dt({},v),{},{options:ge,onChange:xe})}var j9=h.forwardRef(function(e,t){var r=y0(e),n=F9(r);return je.createElement(Rh,we({ref:t},n))}),I9=j9;const T9=({cx:e,children:t,getStyles:r,innerProps:n,innerRef:a,size:o="normal",...i})=>{let l={small:"h-7 text-xs",normal:"h-[2.36rem] text-sm",large:""};return s.jsx("div",{ref:a,className:$e(l[o],"flex w-full rounded border bg-background text-gray-900 focus:border-blue-500 focus:ring-blue-500 dark:focus:ring-blue-500"),...n,children:t})},k9=({cx:e,children:t,getStyles:r,innerProps:n,innerRef:a,...o})=>s.jsx("div",{className:"absolute z-10 mt-2 flex w-full flex-col justify-start rounded border bg-background p-1.5",ref:a,...n,children:t}),B9=({cx:e,children:t,getStyles:r,innerProps:n,innerRef:a,size:o="normal",...i})=>s.jsx("div",{ref:a,className:"flex cursor-pointer select-none flex-row items-center justify-between rounded-inner p-1 px-2 hover:bg-primary hover:text-primary-foreground",...n,children:t}),Hl=e=>s.jsxs("div",{className:" flex w-full flex-col gap-2",children:[e.label&&s.jsx(ti,{children:e.label}),e.isLoading?s.jsx(ri,{className:"h-[38px] w-full"}):e.isCreatable?s.jsx(I9,{styles:{input:t=>({...t,"input:focus":{boxShadow:"none"}}),control:t=>({...t,borderRadius:"0.75rem"}),menu:t=>({...t,borderRadius:"0.75rem",padding:0,display:"flex",justifyContent:"center"}),menuList:t=>({...t,display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100%"}),option:t=>({...t,borderRadius:"0.75rem",margin:3,width:"98%"})},options:e.options,isClearable:e.isClearable,isMulti:e.isMulti,isSearchable:e.isSearchable,onCreateOption:()=>console.log("im changing"),onChange:(t,r)=>e.onChange(t,r),onInputChange:(t,r)=>e.onInputChange(t,r)}):s.jsx(e1,{classNames:{container:()=>Ve("rounded",e.disabled?"cursor-not-allowed":"cursor-pointer"),placeholder:()=>"px-2 text-muted-foreground",input:()=>"text-white px-2",valueContainer:()=>"text-white dark:text-muted-foreground",singleValue:()=>"text-black dark:text-white px-2",indicatorsContainer:()=>" px-2 cursor-pointer text-muted-foreground"},unstyled:!0,isDisabled:e.disabled,options:e.options,defaultValue:e.defaultValue,isClearable:e.isClearable,isMulti:e.isMulti,isSearchable:e.isSearchable,onChange:(t,r)=>e.onChange(t,r),components:{Control:T9,Option:B9,Menu:k9},getOptionLabel:e.getOptionLabel}),e.helperText&&s.jsx("p",{className:"mt-2 text-sm text-red-600 dark:text-red-500",children:e.helperText})]});function at(e,t,{checkForDefaultPrevented:r=!0}={}){return function(a){if(e==null||e(a),r===!1||!a.defaultPrevented)return t==null?void 0:t(a)}}function Dn(e,t=[]){let r=[];function n(o,i){const l=h.createContext(i),u=r.length;r=[...r,i];function c(p){const{scope:x,children:C,...E}=p,v=(x==null?void 0:x[e][u])||l,A=h.useMemo(()=>E,Object.values(E));return h.createElement(v.Provider,{value:A},C)}function m(p,x){const C=(x==null?void 0:x[e][u])||l,E=h.useContext(C);if(E)return E;if(i!==void 0)return i;throw new Error(`\`${p}\` must be used within \`${o}\``)}return c.displayName=o+"Provider",[c,m]}const a=()=>{const o=r.map(i=>h.createContext(i));return function(l){const u=(l==null?void 0:l[e])||o;return h.useMemo(()=>({[`__scope${e}`]:{...l,[e]:u}}),[l,u])}};return a.scopeName=e,[n,P9(a,...t)]}function P9(...e){const t=e[0];if(e.length===1)return t;const r=()=>{const n=e.map(a=>({useScope:a(),scopeName:a.scopeName}));return function(o){const i=n.reduce((l,{useScope:u,scopeName:c})=>{const p=u(o)[`__scope${c}`];return{...l,...p}},{});return h.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return r.scopeName=t.scopeName,r}function Ur(e){const t=h.useRef(e);return h.useEffect(()=>{t.current=e}),h.useMemo(()=>(...r)=>{var n;return(n=t.current)===null||n===void 0?void 0:n.call(t,...r)},[])}function Rn({prop:e,defaultProp:t,onChange:r=()=>{}}){const[n,a]=O9({defaultProp:t,onChange:r}),o=e!==void 0,i=o?e:n,l=Ur(r),u=h.useCallback(c=>{if(o){const p=typeof c=="function"?c(e):c;p!==e&&l(p)}else a(c)},[o,e,a,l]);return[i,u]}function O9({defaultProp:e,onChange:t}){const r=h.useState(e),[n]=r,a=h.useRef(n),o=Ur(t);return h.useEffect(()=>{a.current!==n&&(o(n),a.current=n)},[n,a,o]),r}function N9(e){const t=h.useRef({value:e,previous:e});return h.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}const xo=globalThis!=null&&globalThis.document?h.useLayoutEffect:()=>{};function r1(e){const[t,r]=h.useState(void 0);return xo(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});const n=new ResizeObserver(a=>{if(!Array.isArray(a)||!a.length)return;const o=a[0];let i,l;if("borderBoxSize"in o){const u=o.borderBoxSize,c=Array.isArray(u)?u[0]:u;i=c.inlineSize,l=c.blockSize}else i=e.offsetWidth,l=e.offsetHeight;r({width:i,height:l})});return n.observe(e,{box:"border-box"}),()=>n.unobserve(e)}else r(void 0)},[e]),t}const n1="Switch",[M9,CN]=Dn(n1),[R9,$9]=M9(n1),L9=h.forwardRef((e,t)=>{const{__scopeSwitch:r,name:n,checked:a,defaultChecked:o,required:i,disabled:l,value:u="on",onCheckedChange:c,...m}=e,[p,x]=h.useState(null),C=Kt(t,j=>x(j)),E=h.useRef(!1),v=p?!!p.closest("form"):!0,[A=!1,S]=Rn({prop:a,defaultProp:o,onChange:c});return h.createElement(R9,{scope:r,checked:A,disabled:l},h.createElement(St.button,we({type:"button",role:"switch","aria-checked":A,"aria-required":i,"data-state":a1(A),"data-disabled":l?"":void 0,disabled:l,value:u},m,{ref:C,onClick:at(e.onClick,j=>{S(O=>!O),v&&(E.current=j.isPropagationStopped(),E.current||j.stopPropagation())})})),v&&h.createElement(V9,{control:p,bubbles:!E.current,name:n,value:u,checked:A,required:i,disabled:l,style:{transform:"translateX(-100%)"}}))}),_9="SwitchThumb",W9=h.forwardRef((e,t)=>{const{__scopeSwitch:r,...n}=e,a=$9(_9,r);return h.createElement(St.span,we({"data-state":a1(a.checked),"data-disabled":a.disabled?"":void 0},n,{ref:t}))}),V9=e=>{const{control:t,checked:r,bubbles:n=!0,...a}=e,o=h.useRef(null),i=N9(r),l=r1(t);return h.useEffect(()=>{const u=o.current,c=window.HTMLInputElement.prototype,p=Object.getOwnPropertyDescriptor(c,"checked").set;if(i!==r&&p){const x=new Event("click",{bubbles:n});p.call(u,r),u.dispatchEvent(x)}},[i,r,n]),h.createElement("input",we({type:"checkbox","aria-hidden":!0,defaultChecked:r},a,{tabIndex:-1,ref:o,style:{...e.style,...l,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function a1(e){return e?"checked":"unchecked"}const o1=L9,H9=W9;let z9={default:"h-[25px] w-[42px]",sm:"h-[20px] w-[37px]"},G9={default:"h-[21px] w-[21px]",sm:"h-[16px] w-[16px]"};const Lh=je.forwardRef(({className:e,size:t="default",label:r,...n},a)=>{const[o,i]=je.useState(null),l=je.useRef(null);return je.useEffect(()=>{if(l.current&&l.current.parentNode){const u=window.getComputedStyle(l.current.parentNode).direction;i(u)}}),s.jsxs("div",{className:"flex flex-row items-center",ref:l,children:[s.jsx(o1,{className:Ve("relative cursor-pointer rounded-full bg-primary/20 outline-none data-[state=checked]:bg-primary",e,z9[t]),...n,ref:a,children:s.jsx(H9,{className:Ve(G9[t],"block rounded-full bg-white transition-transform duration-100 will-change-transform data-[state=checked]:bg-primary-foreground dark:bg-background",o==="rtl"?"-translate-x-0.5 data-[state=checked]:-translate-x-[19px]":"translate-x-0.5 data-[state=checked]:translate-x-[19px]")})}),r&&s.jsx("span",{className:"mx-2 text-sm font-medium text-gray-900 dark:text-gray-300",children:r})]})});Lh.displayName=o1.displayName;const Z9=({settingsLabel:e,settingsType:t,settingsDescription:r,colorProps:n,rangeProps:a,radioProps:o,switchProps:i,selectProps:l})=>s.jsxs("div",{className:"flex max-h-fit flex-row items-center justify-between rounded align-middle",children:[s.jsxs("div",{children:[s.jsx("div",{className:"text-sm",children:e}),r&&s.jsx("div",{className:"text-xs",children:r})," "]}),t==="text"&&s.jsx(Rt,{margin:"none",width:"small"}),t==="boolean"&&s.jsx(Lh,{...i}),t==="range"&&s.jsx(m0,{...a}),t==="color"&&s.jsx(g0,{...n}),t==="radio"&&s.jsx(yn,{...o}),t==="select"&&s.jsx(Hl,{...l})]}),U9=e=>s.jsx("div",{children:e.children}),us=({design:e="spinner",size:t="sm",color:r,...n})=>{let a={button:"h-4 w-4",xs:"h-1 w-1",sm:"h-6 w-6",normal:"h-8 w-8",lg:"h-14 w-14",xl:"h-24 w-24"},o={pulse:"animate-in fade-in duration-1000",bounce:"animate-bounce"};switch(e.split("-")[0]){case"dots":return s.jsxs("div",{className:"flex flex-row gap-2",children:[s.jsx("div",{className:$e("animate-bounce rounded-full delay-100 repeat-infinite",t==="button"?"h-2 w-2":a[t],o[e.split("-")[1]],r||"bg-primary")}),s.jsx("div",{className:$e("animate-bounce rounded-full delay-200 repeat-infinite",t==="button"?"h-2 w-2":a[t],o[e.split("-")[1]],r||"bg-primary")}),s.jsx("div",{className:$e("animate-bounce rounded-full delay-300 repeat-infinite",t==="button"?"h-2 w-2":a[t],o[e.split("-")[1]],r||"bg-primary")})]});default:return s.jsx("div",{className:"flex flex-row gap-x-3",children:s.jsx("div",{"aria-label":"Loading...",role:"status",children:s.jsxs("svg",{className:$e(a[t],"animate-spin"),viewBox:"3 3 18 18",children:[s.jsx("path",{className:"fill-primary/20",d:"M12 5C8.13401 5 5 8.13401 5 12C5 15.866 8.13401 19 12 19C15.866 19 19 15.866 19 12C19 8.13401 15.866 5 12 5ZM3 12C3 7.02944 7.02944 3 12 3C16.9706 3 21 7.02944 21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12Z"}),s.jsx("path",{className:r||"fill-primary",d:"M16.9497 7.05015C14.2161 4.31648 9.78392 4.31648 7.05025 7.05015C6.65973 7.44067 6.02656 7.44067 5.63604 7.05015C5.24551 6.65962 5.24551 6.02646 5.63604 5.63593C9.15076 2.12121 14.8492 2.12121 18.364 5.63593C18.7545 6.02646 18.7545 6.65962 18.364 7.05015C17.9734 7.44067 17.3403 7.44067 16.9497 7.05015Z"})]})})})}},i1=Qf("inline-flex items-center justify-center select-none rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",light:"bg-primary/20 text-primary hover:bg-primary/40",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline",neoBrutalism:"cursor-pointer transition-all uppercase font-mono dark:bg-black font-bold py-2 px-4 rounded border-2 border-primary shadow-color-primary transition-[transform_50ms, box-shadow_50ms] active:translate-x-0.5 active:translate-y-0.5 active:shadow-color-primary-active"},size:{default:"h-10 px-4 py-2",heightless:"px-4 py-4",xs:"h-fit py-1 text-[10px] px-2 ",sm:"h-9 text-[11px] rounded-md px-3",lg:"h-11 rounded-md px-8",xl:"h-14 rounded-md px-10",icon:"h-10 w-10",smallIcon:"h-7 w-7"}},defaultVariants:{variant:"default",size:"default"}}),qe=je.forwardRef(({className:e,variant:t,size:r,asChild:n=!1,isLoading:a,children:o,...i},l)=>{const u="button",c=t==="outline"||t==="ghost"||t==="neoBrutalism"?"bg-primary":"bg-primary-foreground";return s.jsx(u,{className:Ve(i1({variant:t,size:r,className:e})),ref:l,...i,children:a?s.jsx(us,{design:"dots-pulse",color:c,size:r==="sm"?"xs":"button"}):o})});qe.displayName="Button";const qn=({variant:e="normal",direction:t="ltr",severity:r="info",duration:n,icon:a,className:o,...i})=>{const l=h.useRef(null),[u,c]=h.useState(!1);h.useEffect(()=>{if(n){const x=setTimeout(()=>{c(!0)},n),C=setTimeout(()=>{c(!0),l.current.removeChild(l.current.children[0])},n+1e3);return()=>{clearTimeout(x),clearTimeout(C)}}},[n]);let m={none:"hover:bg-gray-300",info:"hover:bg-blue-300",warning:"hover:bg-yellow-300",error:"hover:bg-red-300",success:"hover:bg-green-300"},p={normal:{none:"text-gray-700 bg-gray-100 dark:bg-gray-200 dark:text-gray-800",info:"text-blue-700 bg-blue-100 dark:bg-blue-200 dark:text-blue-800",warning:"text-yellow-700 bg-yellow-100 dark:bg-yellow-200 dark:text-yellow-800",error:"text-red-700 bg-red-100 dark:bg-red-200 dark:text-red-800",success:"text-green-700 bg-green-100 dark:bg-green-200 dark:text-green-800"},"top-accent":{none:"border-t-4 border-gray-300 text-gray-700 bg-gray-100 dark:bg-gray-200 dark:text-gray-800",info:"border-t-4 border-blue-300 text-blue-700 bg-blue-100 dark:bg-blue-200 dark:text-blue-800",warning:"border-t-4 border-yellow-300 text-yellow-700 bg-yellow-100 dark:bg-yellow-200 dark:text-yellow-800",error:"border-t-4 border-red-300 text-red-700 bg-red-100 dark:bg-red-200 dark:text-red-800",success:"border-t-4 border-green-300 text-green-700 bg-green-100 dark:bg-green-200 dark:text-green-800"},"left-accent":{none:"border-l-4 border-gray-300 text-gray-700 bg-gray-100 dark:bg-gray-200 dark:text-gray-800",info:"border-l-4 border-blue-300 text-blue-700 bg-blue-100 dark:bg-blue-200 dark:text-blue-800",warning:"border-l-4 border-yellow-300 text-yellow-700 bg-yellow-100 dark:bg-yellow-200 dark:text-yellow-800",error:"border-l-4 border-red-300 text-red-700 bg-red-100 dark:bg-red-200 dark:text-red-800",success:"border-l-4 border-green-300 text-green-700 bg-green-100 dark:bg-green-200 dark:text-green-800"},"right-accent":{none:"border-r-4 border-gray-300 text-gray-700 bg-gray-100 dark:bg-gray-200 dark:text-gray-800",info:"border-r-4 border-blue-300 text-blue-700 bg-blue-100 dark:bg-blue-200 dark:text-blue-800",warning:"border-r-4 border-yellow-300 text-yellow-700 bg-yellow-100 dark:bg-yellow-200 dark:text-yellow-800",error:"border-r-4 border-red-300 text-red-700 bg-red-100 dark:bg-red-200 dark:text-red-800",success:"border-r-4 border-green-300 text-green-700 bg-green-100 dark:bg-green-200 dark:text-green-800"},"bottom-accent":{none:"border-b-4 border-gray-300 text-gray-700 bg-gray-100 dark:bg-gray-200 dark:text-gray-800",info:"border-b-4 border-blue-300 text-blue-700 bg-blue-100 dark:bg-blue-200 dark:text-blue-800",warning:"border-b-4 border-yellow-300 text-yellow-700 bg-yellow-100 dark:bg-yellow-200 dark:text-yellow-800",error:"border-b-4 border-red-300 text-red-700 bg-red-100 dark:bg-red-200 dark:text-red-800",success:"border-b-4 border-green-300 text-green-700 bg-green-100 dark:bg-green-200 dark:text-green-800"}};return s.jsx("div",{ref:l,children:s.jsxs("div",{className:$e("relative mb-4 flex flex-col rounded p-4 text-sm transition-all",p[e][r],u?"opacity-0":"opacity-100",o),role:"alert",dir:t,children:[s.jsxs("div",{className:"flex flex-row",children:[a&&s.jsx("div",{className:t==="rtl"?"pl-2 pt-1":"pr-2 pt-1",children:a}),s.jsxs("div",{className:"flex flex-col",children:[s.jsx("span",{className:$e("font-medium",t==="rtl"?"ml-8":"mr-8"),children:i.title}),s.jsx("span",{children:i.text}),i.actions&&s.jsx("div",{className:"mt-2 flex flex-row gap-2",children:i.actions.map((x,C)=>s.jsx(qe,{variant:x.variant,onClick:x.onClick(),children:x.label},C))})]})]}),!i.persistant&&s.jsxs("button",{type:"button",className:$e("absolute top-2 inline-flex h-9 w-9 items-center justify-center rounded-inner p-1.5 text-gray-400 transition-all hover:text-gray-900",m[r],t==="rtl"?"left-2":"right-2"),"data-dismiss-target":"#alert-default","aria-label":"Close",onClick:()=>{c(!0),setTimeout(()=>{l.current.removeChild(l.current.children[0])},200)},children:[s.jsx("span",{className:"sr-only",children:"Close"}),s.jsx("svg",{"aria-label":"Close Icon","aria-hidden":"true",className:"h-5 w-5",fill:"currentColor",viewBox:"0 0 20 20",children:s.jsx("path",{fillRule:"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",clipRule:"evenodd"})})]})]})})},X9=(e,t)=>{const r=[],n=Math.ceil((e==null?void 0:e.length)/t);for(let a=1;a<=n;a++)r.push(a);return r},Y9=(e,t,r)=>e==null?void 0:e.slice((t-1)*r,t*r),J9=(e,t,r)=>t!==null?e==null?void 0:e.sort((n,a)=>{const o=n[t].value,i=a[t].value;return typeof o=="string"&&typeof i=="string"?r==="asc"?o.localeCompare(i):i.localeCompare(o):r==="asc"?o-i:i-o}):e,Q9=(e,t,r,n,a)=>{const[o,i]=h.useState([]),[l,u]=h.useState([]);return h.useEffect(()=>{if(e){const c=X9(e,r);i([...c]);const m=J9(e,n,a),p=Y9(m,t,r);u([...p])}},[e,i,t,r,n,a]),{slice:l,range:o}};function Gc(e){const t=e+"CollectionProvider",[r,n]=Dn(t),[a,o]=r(t,{collectionRef:{current:null},itemMap:new Map}),i=C=>{const{scope:E,children:v}=C,A=h.useRef(null),S=h.useRef(new Map).current;return h.createElement(a,{scope:E,itemMap:S,collectionRef:A},v)},l=e+"CollectionSlot",u=h.forwardRef((C,E)=>{const{scope:v,children:A}=C,S=o(l,v),j=Kt(E,S.collectionRef);return h.createElement(Ko,{ref:j},A)}),c=e+"CollectionItemSlot",m="data-radix-collection-item",p=h.forwardRef((C,E)=>{const{scope:v,children:A,...S}=C,j=h.useRef(null),O=Kt(E,j),L=o(c,v);return h.useEffect(()=>(L.itemMap.set(j,{ref:j,...S}),()=>void L.itemMap.delete(j))),h.createElement(Ko,{[m]:"",ref:O},A)});function x(C){const E=o(e+"CollectionConsumer",C);return h.useCallback(()=>{const A=E.collectionRef.current;if(!A)return[];const S=Array.from(A.querySelectorAll(`[${m}]`));return Array.from(E.itemMap.values()).sort((L,M)=>S.indexOf(L.ref.current)-S.indexOf(M.ref.current))},[E.collectionRef,E.itemMap])}return[{Provider:i,Slot:u,ItemSlot:p},x,n]}const K9=h.createContext(void 0);function Zc(e){const t=h.useContext(K9);return e||t||"ltr"}function q9(e,t=globalThis==null?void 0:globalThis.document){const r=Ur(e);h.useEffect(()=>{const n=a=>{a.key==="Escape"&&r(a)};return t.addEventListener("keydown",n),()=>t.removeEventListener("keydown",n)},[r,t])}const _h="dismissableLayer.update",eD="dismissableLayer.pointerDownOutside",tD="dismissableLayer.focusOutside";let s1;const l1=h.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),zl=h.forwardRef((e,t)=>{var r;const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:a,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:l,onDismiss:u,...c}=e,m=h.useContext(l1),[p,x]=h.useState(null),C=(r=p==null?void 0:p.ownerDocument)!==null&&r!==void 0?r:globalThis==null?void 0:globalThis.document,[,E]=h.useState({}),v=Kt(t,oe=>x(oe)),A=Array.from(m.layers),[S]=[...m.layersWithOutsidePointerEventsDisabled].slice(-1),j=A.indexOf(S),O=p?A.indexOf(p):-1,L=m.layersWithOutsidePointerEventsDisabled.size>0,M=O>=j,z=nD(oe=>{const J=oe.target,ge=[...m.branches].some(xe=>xe.contains(J));!M||ge||(o==null||o(oe),l==null||l(oe),oe.defaultPrevented||u==null||u())},C),H=aD(oe=>{const J=oe.target;[...m.branches].some(xe=>xe.contains(J))||(i==null||i(oe),l==null||l(oe),oe.defaultPrevented||u==null||u())},C);return q9(oe=>{O===m.layers.size-1&&(a==null||a(oe),!oe.defaultPrevented&&u&&(oe.preventDefault(),u()))},C),h.useEffect(()=>{if(p)return n&&(m.layersWithOutsidePointerEventsDisabled.size===0&&(s1=C.body.style.pointerEvents,C.body.style.pointerEvents="none"),m.layersWithOutsidePointerEventsDisabled.add(p)),m.layers.add(p),u1(),()=>{n&&m.layersWithOutsidePointerEventsDisabled.size===1&&(C.body.style.pointerEvents=s1)}},[p,C,n,m]),h.useEffect(()=>()=>{p&&(m.layers.delete(p),m.layersWithOutsidePointerEventsDisabled.delete(p),u1())},[p,m]),h.useEffect(()=>{const oe=()=>E({});return document.addEventListener(_h,oe),()=>document.removeEventListener(_h,oe)},[]),h.createElement(St.div,we({},c,{ref:v,style:{pointerEvents:L?M?"auto":"none":void 0,...e.style},onFocusCapture:at(e.onFocusCapture,H.onFocusCapture),onBlurCapture:at(e.onBlurCapture,H.onBlurCapture),onPointerDownCapture:at(e.onPointerDownCapture,z.onPointerDownCapture)}))}),rD=h.forwardRef((e,t)=>{const r=h.useContext(l1),n=h.useRef(null),a=Kt(t,n);return h.useEffect(()=>{const o=n.current;if(o)return r.branches.add(o),()=>{r.branches.delete(o)}},[r.branches]),h.createElement(St.div,we({},e,{ref:a}))});function nD(e,t=globalThis==null?void 0:globalThis.document){const r=Ur(e),n=h.useRef(!1),a=h.useRef(()=>{});return h.useEffect(()=>{const o=l=>{if(l.target&&!n.current){let c=function(){c1(eD,r,u,{discrete:!0})};const u={originalEvent:l};l.pointerType==="touch"?(t.removeEventListener("click",a.current),a.current=c,t.addEventListener("click",a.current,{once:!0})):c()}n.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",o)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",o),t.removeEventListener("click",a.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}function aD(e,t=globalThis==null?void 0:globalThis.document){const r=Ur(e),n=h.useRef(!1);return h.useEffect(()=>{const a=o=>{o.target&&!n.current&&c1(tD,r,{originalEvent:o},{discrete:!1})};return t.addEventListener("focusin",a),()=>t.removeEventListener("focusin",a)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function u1(){const e=new CustomEvent(_h);document.dispatchEvent(e)}function c1(e,t,r,{discrete:n}){const a=r.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&a.addEventListener(e,t,{once:!0}),n?Jf(a,o):a.dispatchEvent(o)}const oD=zl,iD=rD;let Wh=0;function Vh(){h.useEffect(()=>{var e,t;const r=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=r[0])!==null&&e!==void 0?e:d1()),document.body.insertAdjacentElement("beforeend",(t=r[1])!==null&&t!==void 0?t:d1()),Wh++,()=>{Wh===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(n=>n.remove()),Wh--}},[])}function d1(){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 Hh="focusScope.autoFocusOnMount",zh="focusScope.autoFocusOnUnmount",f1={bubbles:!1,cancelable:!0},Gh=h.forwardRef((e,t)=>{const{loop:r=!1,trapped:n=!1,onMountAutoFocus:a,onUnmountAutoFocus:o,...i}=e,[l,u]=h.useState(null),c=Ur(a),m=Ur(o),p=h.useRef(null),x=Kt(t,v=>u(v)),C=h.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;h.useEffect(()=>{if(n){let v=function(O){if(C.paused||!l)return;const L=O.target;l.contains(L)?p.current=L:yo(p.current,{select:!0})},A=function(O){if(C.paused||!l)return;const L=O.relatedTarget;L!==null&&(l.contains(L)||yo(p.current,{select:!0}))},S=function(O){const L=document.activeElement;for(const M of O)M.removedNodes.length>0&&(l!=null&&l.contains(L)||yo(l))};document.addEventListener("focusin",v),document.addEventListener("focusout",A);const j=new MutationObserver(S);return l&&j.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",v),document.removeEventListener("focusout",A),j.disconnect()}}},[n,l,C.paused]),h.useEffect(()=>{if(l){g1.add(C);const v=document.activeElement;if(!l.contains(v)){const S=new CustomEvent(Hh,f1);l.addEventListener(Hh,c),l.dispatchEvent(S),S.defaultPrevented||(sD(fD(h1(l)),{select:!0}),document.activeElement===v&&yo(l))}return()=>{l.removeEventListener(Hh,c),setTimeout(()=>{const S=new CustomEvent(zh,f1);l.addEventListener(zh,m),l.dispatchEvent(S),S.defaultPrevented||yo(v??document.body,{select:!0}),l.removeEventListener(zh,m),g1.remove(C)},0)}}},[l,c,m,C]);const E=h.useCallback(v=>{if(!r&&!n||C.paused)return;const A=v.key==="Tab"&&!v.altKey&&!v.ctrlKey&&!v.metaKey,S=document.activeElement;if(A&&S){const j=v.currentTarget,[O,L]=lD(j);O&&L?!v.shiftKey&&S===L?(v.preventDefault(),r&&yo(O,{select:!0})):v.shiftKey&&S===O&&(v.preventDefault(),r&&yo(L,{select:!0})):S===j&&v.preventDefault()}},[r,n,C.paused]);return h.createElement(St.div,we({tabIndex:-1},i,{ref:x,onKeyDown:E}))});function sD(e,{select:t=!1}={}){const r=document.activeElement;for(const n of e)if(yo(n,{select:t}),document.activeElement!==r)return}function lD(e){const t=h1(e),r=p1(t,e),n=p1(t.reverse(),e);return[r,n]}function h1(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{const a=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||a?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function p1(e,t){for(const r of e)if(!uD(r,{upTo:t}))return r}function uD(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 cD(e){return e instanceof HTMLInputElement&&"select"in e}function yo(e,{select:t=!1}={}){if(e&&e.focus){const r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&cD(e)&&t&&e.select()}}const g1=dD();function dD(){let e=[];return{add(t){const r=e[0];t!==r&&(r==null||r.pause()),e=m1(e,t),e.unshift(t)},remove(t){var r;e=m1(e,t),(r=e[0])===null||r===void 0||r.resume()}}}function m1(e,t){const r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}function fD(e){return e.filter(t=>t.tagName!=="A")}const hD=je["useId".toString()]||(()=>{});let pD=0;function Sn(e){const[t,r]=je.useState(hD());return xo(()=>{e||r(n=>n??String(pD++))},[e]),e||(t?`radix-${t}`:"")}const gD=e=>{function t(r){return{}.hasOwnProperty.call(r,"current")}return{name:"arrow",options:e,fn(r){const{element:n,padding:a}=typeof e=="function"?e(r):e;return n&&t(n)?n.current!=null?rv({element:n.current,padding:a}).fn(r):{}:n?rv({element:n,padding:a}).fn(r):{}}}};var Uc=typeof document<"u"?h.useLayoutEffect:h.useEffect;function Xc(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 r,n,a;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(r=e.length,r!=t.length)return!1;for(n=r;n--!==0;)if(!Xc(e[n],t[n]))return!1;return!0}if(a=Object.keys(e),r=a.length,r!==Object.keys(t).length)return!1;for(n=r;n--!==0;)if(!{}.hasOwnProperty.call(t,a[n]))return!1;for(n=r;n--!==0;){const o=a[n];if(!(o==="_owner"&&e.$$typeof)&&!Xc(e[o],t[o]))return!1}return!0}return e!==e&&t!==t}function v1(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function b1(e,t){const r=v1(e);return Math.round(t*r)/r}function x1(e){const t=je.useRef(e);return Uc(()=>{t.current=e}),t}function mD(e){e===void 0&&(e={});const{placement:t="bottom",strategy:r="absolute",middleware:n=[],platform:a,elements:{reference:o,floating:i}={},transform:l=!0,whileElementsMounted:u,open:c}=e,[m,p]=je.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[x,C]=je.useState(n);Xc(x,n)||C(n);const[E,v]=je.useState(null),[A,S]=je.useState(null),j=je.useCallback(ee=>{ee!=z.current&&(z.current=ee,v(ee))},[v]),O=je.useCallback(ee=>{ee!==H.current&&(H.current=ee,S(ee))},[S]),L=o||E,M=i||A,z=je.useRef(null),H=je.useRef(null),oe=je.useRef(m),J=x1(u),ge=x1(a),xe=je.useCallback(()=>{if(!z.current||!H.current)return;const ee={placement:t,strategy:r,middleware:x};ge.current&&(ee.platform=ge.current),d4(z.current,H.current,ee).then(de=>{const ne={...de,isPositioned:!0};Q.current&&!Xc(oe.current,ne)&&(oe.current=ne,xw.flushSync(()=>{p(ne)}))})},[x,t,r,ge]);Uc(()=>{c===!1&&oe.current.isPositioned&&(oe.current.isPositioned=!1,p(ee=>({...ee,isPositioned:!1})))},[c]);const Q=je.useRef(!1);Uc(()=>(Q.current=!0,()=>{Q.current=!1}),[]),Uc(()=>{if(L&&(z.current=L),M&&(H.current=M),L&&M){if(J.current)return J.current(L,M,xe);xe()}},[L,M,xe,J]);const ce=je.useMemo(()=>({reference:z,floating:H,setReference:j,setFloating:O}),[j,O]),N=je.useMemo(()=>({reference:L,floating:M}),[L,M]),W=je.useMemo(()=>{const ee={position:r,left:0,top:0};if(!N.floating)return ee;const de=b1(N.floating,m.x),ne=b1(N.floating,m.y);return l?{...ee,transform:"translate("+de+"px, "+ne+"px)",...v1(N.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:de,top:ne}},[r,l,N.floating,m.x,m.y]);return je.useMemo(()=>({...m,update:xe,refs:ce,elements:N,floatingStyles:W}),[m,xe,ce,N,W])}const vD=h.forwardRef((e,t)=>{const{children:r,width:n=10,height:a=5,...o}=e;return h.createElement(St.svg,we({},o,{ref:t,width:n,height:a,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?r:h.createElement("polygon",{points:"0,0 30,0 15,10"}))}),y1="Popper",[C1,cs]=Dn(y1),[bD,w1]=C1(y1),xD=e=>{const{__scopePopper:t,children:r}=e,[n,a]=h.useState(null);return h.createElement(bD,{scope:t,anchor:n,onAnchorChange:a},r)},yD="PopperAnchor",CD=h.forwardRef((e,t)=>{const{__scopePopper:r,virtualRef:n,...a}=e,o=w1(yD,r),i=h.useRef(null),l=Kt(t,i);return h.useEffect(()=>{o.onAnchorChange((n==null?void 0:n.current)||i.current)}),n?null:h.createElement(St.div,we({},a,{ref:l}))}),E1="PopperContent",[wD,ED]=C1(E1),DD=h.forwardRef((e,t)=>{var r,n,a,o,i,l,u,c;const{__scopePopper:m,side:p="bottom",sideOffset:x=0,align:C="center",alignOffset:E=0,arrowPadding:v=0,collisionBoundary:A=[],collisionPadding:S=0,sticky:j="partial",hideWhenDetached:O=!1,avoidCollisions:L=!0,onPlaced:M,...z}=e,H=w1(E1,m),[oe,J]=h.useState(null),ge=Kt(t,nt=>J(nt)),[xe,Q]=h.useState(null),ce=r1(xe),N=(r=ce==null?void 0:ce.width)!==null&&r!==void 0?r:0,W=(n=ce==null?void 0:ce.height)!==null&&n!==void 0?n:0,ee=p+(C!=="center"?"-"+C:""),de=typeof S=="number"?S:{top:0,right:0,bottom:0,left:0,...S},ne=Array.isArray(A)?A:[A],te=ne.length>0,K={padding:de,boundary:ne.filter(jD),altBoundary:te},{refs:se,floatingStyles:fe,placement:Se,isPositioned:G,middlewareData:he}=mD({strategy:"fixed",placement:ee,whileElementsMounted:gv,elements:{reference:H.anchor},middleware:[z3({mainAxis:x+W,alignmentAxis:E}),L&&G3({mainAxis:!0,crossAxis:!1,limiter:j==="partial"?Z3():void 0,...K}),L&&W3({...K}),U3({...K,apply:({elements:nt,rects:vt,availableWidth:At,availableHeight:re})=>{const{width:be,height:Ie}=vt.reference,Ze=nt.floating.style;Ze.setProperty("--radix-popper-available-width",`${At}px`),Ze.setProperty("--radix-popper-available-height",`${re}px`),Ze.setProperty("--radix-popper-anchor-width",`${be}px`),Ze.setProperty("--radix-popper-anchor-height",`${Ie}px`)}}),xe&&gD({element:xe,padding:v}),ID({arrowWidth:N,arrowHeight:W}),O&&V3({strategy:"referenceHidden"})]}),[ae,me]=D1(Se),Me=Ur(M);xo(()=>{G&&(Me==null||Me())},[G,Me]);const Pe=(a=he.arrow)===null||a===void 0?void 0:a.x,We=(o=he.arrow)===null||o===void 0?void 0:o.y,Ke=((i=he.arrow)===null||i===void 0?void 0:i.centerOffset)!==0,[Ne,Qe]=h.useState();return xo(()=>{oe&&Qe(window.getComputedStyle(oe).zIndex)},[oe]),h.createElement("div",{ref:se.setFloating,"data-radix-popper-content-wrapper":"",style:{...fe,transform:G?fe.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Ne,"--radix-popper-transform-origin":[(l=he.transformOrigin)===null||l===void 0?void 0:l.x,(u=he.transformOrigin)===null||u===void 0?void 0:u.y].join(" ")},dir:e.dir},h.createElement(wD,{scope:m,placedSide:ae,onArrowChange:Q,arrowX:Pe,arrowY:We,shouldHideArrow:Ke},h.createElement(St.div,we({"data-side":ae,"data-align":me},z,{ref:ge,style:{...z.style,animation:G?void 0:"none",opacity:(c=he.hide)!==null&&c!==void 0&&c.referenceHidden?0:void 0}}))))}),SD="PopperArrow",AD={top:"bottom",right:"left",bottom:"top",left:"right"},FD=h.forwardRef(function(t,r){const{__scopePopper:n,...a}=t,o=ED(SD,n),i=AD[o.placedSide];return h.createElement("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0}},h.createElement(vD,we({},a,{ref:r,style:{...a.style,display:"block"}})))});function jD(e){return e!==null}const ID=e=>({name:"transformOrigin",options:e,fn(t){var r,n,a,o,i;const{placement:l,rects:u,middlewareData:c}=t,p=((r=c.arrow)===null||r===void 0?void 0:r.centerOffset)!==0,x=p?0:e.arrowWidth,C=p?0:e.arrowHeight,[E,v]=D1(l),A={start:"0%",center:"50%",end:"100%"}[v],S=((n=(a=c.arrow)===null||a===void 0?void 0:a.x)!==null&&n!==void 0?n:0)+x/2,j=((o=(i=c.arrow)===null||i===void 0?void 0:i.y)!==null&&o!==void 0?o:0)+C/2;let O="",L="";return E==="bottom"?(O=p?A:`${S}px`,L=`${-C}px`):E==="top"?(O=p?A:`${S}px`,L=`${u.floating.height+C}px`):E==="right"?(O=`${-C}px`,L=p?A:`${j}px`):E==="left"&&(O=`${u.floating.width+C}px`,L=p?A:`${j}px`),{data:{x:O,y:L}}}});function D1(e){const[t,r="center"]=e.split("-");return[t,r]}const Yc=xD,Zh=CD,Uh=DD,TD=FD,Jc=h.forwardRef((e,t)=>{var r;const{container:n=globalThis==null||(r=globalThis.document)===null||r===void 0?void 0:r.body,...a}=e;return n?Qo.createPortal(h.createElement(St.div,we({},a,{ref:t})),n):null});function kD(e,t){return h.useReducer((r,n)=>{const a=t[r][n];return a??r},e)}const sn=e=>{const{present:t,children:r}=e,n=BD(t),a=typeof r=="function"?r({present:n.isPresent}):h.Children.only(r),o=Kt(n.ref,a.ref);return typeof r=="function"||n.isPresent?h.cloneElement(a,{ref:o}):null};sn.displayName="Presence";function BD(e){const[t,r]=h.useState(),n=h.useRef({}),a=h.useRef(e),o=h.useRef("none"),i=e?"mounted":"unmounted",[l,u]=kD(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return h.useEffect(()=>{const c=Qc(n.current);o.current=l==="mounted"?c:"none"},[l]),xo(()=>{const c=n.current,m=a.current;if(m!==e){const x=o.current,C=Qc(c);e?u("MOUNT"):C==="none"||(c==null?void 0:c.display)==="none"?u("UNMOUNT"):u(m&&x!==C?"ANIMATION_OUT":"UNMOUNT"),a.current=e}},[e,u]),xo(()=>{if(t){const c=p=>{const C=Qc(n.current).includes(p.animationName);p.target===t&&C&&Qo.flushSync(()=>u("ANIMATION_END"))},m=p=>{p.target===t&&(o.current=Qc(n.current))};return t.addEventListener("animationstart",m),t.addEventListener("animationcancel",c),t.addEventListener("animationend",c),()=>{t.removeEventListener("animationstart",m),t.removeEventListener("animationcancel",c),t.removeEventListener("animationend",c)}}else u("ANIMATION_END")},[t,u]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:h.useCallback(c=>{c&&(n.current=getComputedStyle(c)),r(c)},[])}}function Qc(e){return(e==null?void 0:e.animationName)||"none"}const Xh="rovingFocusGroup.onEntryFocus",PD={bubbles:!1,cancelable:!0},Yh="RovingFocusGroup",[Jh,S1,OD]=Gc(Yh),[ND,Kc]=Dn(Yh,[OD]),[MD,RD]=ND(Yh),$D=h.forwardRef((e,t)=>h.createElement(Jh.Provider,{scope:e.__scopeRovingFocusGroup},h.createElement(Jh.Slot,{scope:e.__scopeRovingFocusGroup},h.createElement(LD,we({},e,{ref:t}))))),LD=h.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:r,orientation:n,loop:a=!1,dir:o,currentTabStopId:i,defaultCurrentTabStopId:l,onCurrentTabStopIdChange:u,onEntryFocus:c,...m}=e,p=h.useRef(null),x=Kt(t,p),C=Zc(o),[E=null,v]=Rn({prop:i,defaultProp:l,onChange:u}),[A,S]=h.useState(!1),j=Ur(c),O=S1(r),L=h.useRef(!1),[M,z]=h.useState(0);return h.useEffect(()=>{const H=p.current;if(H)return H.addEventListener(Xh,j),()=>H.removeEventListener(Xh,j)},[j]),h.createElement(MD,{scope:r,orientation:n,dir:C,loop:a,currentTabStopId:E,onItemFocus:h.useCallback(H=>v(H),[v]),onItemShiftTab:h.useCallback(()=>S(!0),[]),onFocusableItemAdd:h.useCallback(()=>z(H=>H+1),[]),onFocusableItemRemove:h.useCallback(()=>z(H=>H-1),[])},h.createElement(St.div,we({tabIndex:A||M===0?-1:0,"data-orientation":n},m,{ref:x,style:{outline:"none",...e.style},onMouseDown:at(e.onMouseDown,()=>{L.current=!0}),onFocus:at(e.onFocus,H=>{const oe=!L.current;if(H.target===H.currentTarget&&oe&&!A){const J=new CustomEvent(Xh,PD);if(H.currentTarget.dispatchEvent(J),!J.defaultPrevented){const ge=O().filter(W=>W.focusable),xe=ge.find(W=>W.active),Q=ge.find(W=>W.id===E),N=[xe,Q,...ge].filter(Boolean).map(W=>W.ref.current);A1(N)}}L.current=!1}),onBlur:at(e.onBlur,()=>S(!1))})))}),_D="RovingFocusGroupItem",WD=h.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:r,focusable:n=!0,active:a=!1,tabStopId:o,...i}=e,l=Sn(),u=o||l,c=RD(_D,r),m=c.currentTabStopId===u,p=S1(r),{onFocusableItemAdd:x,onFocusableItemRemove:C}=c;return h.useEffect(()=>{if(n)return x(),()=>C()},[n,x,C]),h.createElement(Jh.ItemSlot,{scope:r,id:u,focusable:n,active:a},h.createElement(St.span,we({tabIndex:m?0:-1,"data-orientation":c.orientation},i,{ref:t,onMouseDown:at(e.onMouseDown,E=>{n?c.onItemFocus(u):E.preventDefault()}),onFocus:at(e.onFocus,()=>c.onItemFocus(u)),onKeyDown:at(e.onKeyDown,E=>{if(E.key==="Tab"&&E.shiftKey){c.onItemShiftTab();return}if(E.target!==E.currentTarget)return;const v=zD(E,c.orientation,c.dir);if(v!==void 0){E.preventDefault();let S=p().filter(j=>j.focusable).map(j=>j.ref.current);if(v==="last")S.reverse();else if(v==="prev"||v==="next"){v==="prev"&&S.reverse();const j=S.indexOf(E.currentTarget);S=c.loop?GD(S,j+1):S.slice(j+1)}setTimeout(()=>A1(S))}})})))}),VD={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function HD(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function zD(e,t,r){const n=HD(e.key,r);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(n))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(n)))return VD[n]}function A1(e){const t=document.activeElement;for(const r of e)if(r===t||(r.focus(),document.activeElement!==t))return}function GD(e,t){return e.map((r,n)=>e[(t+n)%e.length])}const F1=$D,j1=WD;var ZD=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},ds=new WeakMap,qc=new WeakMap,ed={},Qh=0,I1=function(e){return e&&(e.host||I1(e.parentNode))},UD=function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=I1(r);return n&&e.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)}).filter(function(r){return!!r})},XD=function(e,t,r,n){var a=UD(t,Array.isArray(e)?e:[e]);ed[r]||(ed[r]=new WeakMap);var o=ed[r],i=[],l=new Set,u=new Set(a),c=function(p){!p||l.has(p)||(l.add(p),c(p.parentNode))};a.forEach(c);var m=function(p){!p||u.has(p)||Array.prototype.forEach.call(p.children,function(x){if(l.has(x))m(x);else{var C=x.getAttribute(n),E=C!==null&&C!=="false",v=(ds.get(x)||0)+1,A=(o.get(x)||0)+1;ds.set(x,v),o.set(x,A),i.push(x),v===1&&E&&qc.set(x,!0),A===1&&x.setAttribute(r,"true"),E||x.setAttribute(n,"true")}})};return m(t),l.clear(),Qh++,function(){i.forEach(function(p){var x=ds.get(p)-1,C=o.get(p)-1;ds.set(p,x),o.set(p,C),x||(qc.has(p)||p.removeAttribute(n),qc.delete(p)),C||p.removeAttribute(r)}),Qh--,Qh||(ds=new WeakMap,ds=new WeakMap,qc=new WeakMap,ed={})}},Kh=function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),a=t||ZD(e);return a?(n.push.apply(n,Array.from(a.querySelectorAll("[aria-live]"))),XD(n,a,r,"aria-hidden")):function(){return null}},ya=function(){return ya=Object.assign||function(t){for(var r,n=1,a=arguments.length;n<a;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},ya.apply(this,arguments)};function T1(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,n=Object.getOwnPropertySymbols(e);a<n.length;a++)t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r}function fs(e,t,r,n){function a(o){return o instanceof r?o:new r(function(i){i(o)})}return new(r||(r=Promise))(function(o,i){function l(m){try{c(n.next(m))}catch(p){i(p)}}function u(m){try{c(n.throw(m))}catch(p){i(p)}}function c(m){m.done?o(m.value):a(m.value).then(l,u)}c((n=n.apply(e,t||[])).next())})}function hs(e,t){var r={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,a,o,i;return i={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function l(c){return function(m){return u([c,m])}}function u(c){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,c[0]&&(r=0)),r;)try{if(n=1,a&&(o=c[0]&2?a.return:c[0]?a.throw||((o=a.return)&&o.call(a),0):a.next)&&!(o=o.call(a,c[1])).done)return o;switch(a=0,o&&(c=[c[0]&2,o.value]),c[0]){case 0:case 1:o=c;break;case 4:return r.label++,{value:c[1],done:!1};case 5:r.label++,a=c[1],c=[0];continue;case 7:c=r.ops.pop(),r.trys.pop();continue;default:if(o=r.trys,!(o=o.length>0&&o[o.length-1])&&(c[0]===6||c[0]===2)){r=0;continue}if(c[0]===3&&(!o||c[1]>o[0]&&c[1]<o[3])){r.label=c[1];break}if(c[0]===6&&r.label<o[1]){r.label=o[1],o=c;break}if(o&&r.label<o[2]){r.label=o[2],r.ops.push(c);break}o[2]&&r.ops.pop(),r.trys.pop();continue}c=t.call(e,r)}catch(m){c=[6,m],a=0}finally{n=o=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}function YD(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),a,o=[],i;try{for(;(t===void 0||t-- >0)&&!(a=n.next()).done;)o.push(a.value)}catch(l){i={error:l}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(i)throw i.error}}return o}function JD(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(YD(arguments[t]));return e}function QD(e,t,r){if(r||arguments.length===2)for(var n=0,a=t.length,o;n<a;n++)(o||!(n in t))&&(o||(o=Array.prototype.slice.call(t,0,n)),o[n]=t[n]);return e.concat(o||Array.prototype.slice.call(t))}typeof SuppressedError=="function"&&SuppressedError;var td="right-scroll-bar-position",rd="width-before-scroll-bar",KD="with-scroll-bars-hidden",qD="--removed-body-scroll-bar-size";function eS(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function tS(e,t){var r=h.useState(function(){return{value:e,callback:t,facade:{get current(){return r.value},set current(n){var a=r.value;a!==n&&(r.value=n,r.callback(n,a))}}}})[0];return r.callback=t,r.facade}function rS(e,t){return tS(t||null,function(r){return e.forEach(function(n){return eS(n,r)})})}function nS(e){return e}function aS(e,t){t===void 0&&(t=nS);var r=[],n=!1,a={read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(o){var i=t(o,n);return r.push(i),function(){r=r.filter(function(l){return l!==i})}},assignSyncMedium:function(o){for(n=!0;r.length;){var i=r;r=[],i.forEach(o)}r={push:function(l){return o(l)},filter:function(){return r}}},assignMedium:function(o){n=!0;var i=[];if(r.length){var l=r;r=[],l.forEach(o),i=r}var u=function(){var m=i;i=[],m.forEach(o)},c=function(){return Promise.resolve().then(u)};c(),r={push:function(m){i.push(m),c()},filter:function(m){return i=i.filter(m),r}}}};return a}function oS(e){e===void 0&&(e={});var t=aS(null);return t.options=ya({async:!0,ssr:!1},e),t}var k1=function(e){var t=e.sideCar,r=T1(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw new Error("Sidecar medium not found");return je.createElement(n,ya({},r))};k1.isSideCarExport=!0;function iS(e,t){return e.useMedium(t),k1}var B1=oS(),qh=function(){},nd=je.forwardRef(function(e,t){var r=je.useRef(null),n=je.useState({onScrollCapture:qh,onWheelCapture:qh,onTouchMoveCapture:qh}),a=n[0],o=n[1],i=e.forwardProps,l=e.children,u=e.className,c=e.removeScrollBar,m=e.enabled,p=e.shards,x=e.sideCar,C=e.noIsolation,E=e.inert,v=e.allowPinchZoom,A=e.as,S=A===void 0?"div":A,j=T1(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),O=x,L=rS([r,t]),M=ya(ya({},j),a);return je.createElement(je.Fragment,null,m&&je.createElement(O,{sideCar:B1,removeScrollBar:c,shards:p,noIsolation:C,inert:E,setCallbacks:o,allowPinchZoom:!!v,lockRef:r}),i?je.cloneElement(je.Children.only(l),ya(ya({},M),{ref:L})):je.createElement(S,ya({},M,{className:u,ref:L}),l))});nd.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},nd.classNames={fullWidth:rd,zeroRight:td};var P1,sS=function(){if(P1)return P1;if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function lS(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=sS();return t&&e.setAttribute("nonce",t),e}function uS(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function cS(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var dS=function(){var e=0,t=null;return{add:function(r){e==0&&(t=lS())&&(uS(t,r),cS(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},fS=function(){var e=dS();return function(t,r){je.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},O1=function(){var e=fS(),t=function(r){var n=r.styles,a=r.dynamic;return e(n,a),null};return t},hS={left:0,top:0,right:0,gap:0},ep=function(e){return parseInt(e||"",10)||0},pS=function(e){var t=window.getComputedStyle(document.body),r=t[e==="padding"?"paddingLeft":"marginLeft"],n=t[e==="padding"?"paddingTop":"marginTop"],a=t[e==="padding"?"paddingRight":"marginRight"];return[ep(r),ep(n),ep(a)]},gS=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return hS;var t=pS(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},mS=O1(),vS=function(e,t,r,n){var a=e.left,o=e.top,i=e.right,l=e.gap;return r===void 0&&(r="margin"),`
58
58
  .`.concat(KD,` {
59
59
  overflow: hidden `).concat(n,`;
60
60
  padding-right: `).concat(l,"px ").concat(n,`;