@seeqdev/qomponents 0.0.239 → 0.0.240-beta.ff0068cf71.20260715

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.
Files changed (42) hide show
  1. package/dist/index.esm.js +41 -41
  2. package/dist/index.esm.js.map +1 -1
  3. package/dist/index.js +70 -70
  4. package/dist/index.js.map +1 -1
  5. package/dist/src/Accordion/Accordion.d.ts +2 -2
  6. package/dist/src/Alert/Alert.d.ts +2 -2
  7. package/dist/src/Badge/Badge.d.ts +2 -2
  8. package/dist/src/Button/Button.d.ts +2 -2
  9. package/dist/src/ButtonGroup/ButtonGroup.d.ts +2 -2
  10. package/dist/src/ButtonWithDropdown/ButtonWithDropdown.d.ts +3 -3
  11. package/dist/src/ButtonWithPopover/ButtonWithPopover.d.ts +2 -2
  12. package/dist/src/Carousel/Carousel.d.ts +2 -2
  13. package/dist/src/Checkbox/Checkbox.d.ts +2 -2
  14. package/dist/src/Collapse/Collapse.d.ts +2 -2
  15. package/dist/src/ColorPickerControl/ColorPickerControl.d.ts +2 -2
  16. package/dist/src/EditorPanel/EditorPanel.d.ts +2 -2
  17. package/dist/src/ExternalLink/ExternalLink.d.ts +2 -2
  18. package/dist/src/Icon/Icon.d.ts +2 -2
  19. package/dist/src/LoadingIndicator/LoadingIndicator.d.ts +2 -2
  20. package/dist/src/Modal/Modal.d.ts +2 -2
  21. package/dist/src/Paginator/Paginator.constants.d.ts +35 -0
  22. package/dist/src/Paginator/Paginator.d.ts +162 -0
  23. package/dist/src/Paginator/Paginator.types.d.ts +30 -0
  24. package/dist/src/Paginator/Paginator.utilities.d.ts +31 -0
  25. package/dist/src/Paginator/index.d.ts +2 -0
  26. package/dist/src/ProgressBar/ProgressBar.d.ts +2 -2
  27. package/dist/src/SeeqActionDropdown/SeeqActionDropdown.d.ts +2 -2
  28. package/dist/src/SeeqActionDropdown/variants.d.ts +4 -4
  29. package/dist/src/SegmentedControl/SegmentedControl.d.ts +2 -2
  30. package/dist/src/Select/Select.d.ts +2 -2
  31. package/dist/src/Slider/Slider.d.ts +2 -2
  32. package/dist/src/SvgIcon/SvgIcon.d.ts +2 -2
  33. package/dist/src/Tabs/Tabs.d.ts +2 -2
  34. package/dist/src/TextArea/TextArea.d.ts +2 -2
  35. package/dist/src/TextField/TextField.d.ts +3 -3
  36. package/dist/src/ToolbarButton/ToolbarButton.d.ts +2 -2
  37. package/dist/src/Tooltip/Tooltip.d.ts +2 -2
  38. package/dist/src/TriggerWithDropdown/TriggerWithDropdown.d.ts +2 -2
  39. package/dist/src/index.build.d.ts +2 -1
  40. package/dist/src/index.d.ts +2 -1
  41. package/dist/styles.css +165 -0
  42. package/package.json +1 -1
package/dist/index.esm.js CHANGED
@@ -174,44 +174,16 @@ For more information, see https://radix-ui.com/primitives/docs/components/${n.do
174
174
  tw:my-6
175
175
  tw:grid
176
176
  tw:translate-x-[-50%] tw:gap-4 tw:rounded-lg tw:border tw:bg-sq-white tw:shadow-lg
177
- tw:dark:bg-sq-dark-background`,e),...r,children:[b(yx,{className:`tw:hidden`}),n]})]})}));Bx.displayName=Nx.displayName;const Vx=e=>b(`div`,{className:`tw:w-full tw:justify-between`,children:b(`div`,{...e})});Vx.displayName=`DialogHeader`;const Hx=e=>b(`div`,{...e});Hx.displayName=`DialogFooter`;const Ux=c((e,t)=>b(Px,{ref:t,...e}));Ux.displayName=Px.displayName;const Wx=c((e,t)=>b(Fx,{asChild:!0,children:b(`div`,{ref:t,...e})}));Wx.displayName=Fx.displayName;const Gx=({titleIcon:e,title:t=`Modal title example`,titleSuffixLabel:n,subtitle:r,children:i,open:a=!1,onClose:o,customButton:s=!1,customButtonLabel:c=`Back`,onClickCustomButton:l,submitButtonLabel:u=`Submit`,cancelButtonLabel:d=`Cancel`,disableSubmitButton:p=!1,stopPropagationSubmitButton:m=!1,onSubmit:h,isTitleEditable:g=!1,onTitleChanged:_,inputExtraClassNames:S,hideCloseIcon:C=!1,size:w=`xl`,titleIconPosition:T=`left`,hideFooterButtons:E=!1,hideSubmitButton:D=!1,hideCancelButton:O=!1,testId:k=`modal`,modalFooter:A,dialogClassName:j,titlePlaceholder:M,titleRequired:N,titleError:P,submitButtonTooltip:ee,cancelButtonTooltip:F,disableCustomButton:I,customHeader:L,middleFooterSection:R=b(y,{}),customButtonVariant:te=`outline`,submitButtonVariant:z=`theme`,keepFocusInsideModal:ne=!0,onPointerDownOutside:B,onInteractOutside:re,ariaDescribedBy:ie})=>{let[ae,oe]=v(!1);f(()=>{if(a){let e=setTimeout(()=>{document.body.style.pointerEvents=``},0);return()=>clearTimeout(e)}else document.body.style.pointerEvents=`auto`},[a]);let se=async e=>{if(h)try{oe(!0),await h(e)}finally{oe(!1)}},ce=()=>{let i=b(y,{});return e&&(i=typeof e==`string`?b(jt,{icon:e,testId:`modalTitleIcon`,extraClassNames:`tw:flex tw:text-xl tw:mt-1 tw:!leading-normal`}):b(`div`,{className:`tw:mt-2`,children:e})),x(y,{children:[e&&T===`left`?b(`div`,{className:`tw:mr-2 tw:flex`,children:i}):b(y,{}),b(Ux,{asChild:!0,children:g?x(`div`,{className:`tw:flex tw:w-full tw:items-center`,children:[b(Jb,{extraClassNames:S,value:t,type:`text`,testId:`modalTitle`,onChange:_,placeholder:M,required:N,showError:!!P}),P&&b(`p`,{className:`tw:mb-0 tw:min-w-fit tw:pl-2 tw:text-sq-danger`,children:P})]}):L??x(`div`,{"data-testid":`modalTitle`,className:`modal-title`,children:[x(`div`,{className:`tw:flex tw:items-center`,children:[b(`h3`,{children:t}),n&&b(`span`,{className:`tw:pl-0.5 tw:text-xl`,children:n})]}),r&&b(`div`,{className:`tw:mt-1 tw:text-left tw:text-sm tw:italic`,"data-testid":`modal-subtitle`,children:r})]})}),e&&T===`right`?b(`div`,{className:`tw:ml-4 tw:flex`,children:i}):b(y,{})]})};return a?b(Lx,{open:!0,onOpenChange:o,modal:ne,children:x(Bx,{onPointerDownOutside:e=>B?B(e):e.preventDefault(),onInteractOutside:e=>re?re(e):e.preventDefault(),"data-testid":k,"aria-describedby":ie,className:St(`modalContent`,`tw:w-full tw:gap-0! tw:border-0 tw:shadow-none tw:dark:border tw:dark:border-gray-500 tw:dark:text-sq-dark-text`,{"tw:max-w-xs":w===`xs`,"tw:max-w-sm":w===`sm`,"tw:max-w-md":w===`md`,"tw:max-w-lg":w===`lg`,"tw:max-w-xl":w===`xl`,"tw:max-w-2xl":w===`2xl`,"tw:max-w-3xl":w===`3xl`,"tw:max-w-4xl":w===`4xl`,"tw:max-w-5xl":w===`5xl`,"tw:max-w-6xl":w===`6xl`},j),children:[x(Vx,{className:St(`modal-header`,`tw:flex tw:w-full tw:justify-between tw:border-0 tw:border-b tw:border-sq-disabled-gray tw:px-6 tw:py-4 tw:dark:border-sq-dark-disabled-gray`),children:[b(`div`,{className:`tw:flex tw:w-full`,children:ce()}),!C&&b(zx,{autoFocus:!1,className:St(`close`,`tw:ml-4 tw:cursor-pointer tw:bg-transparent tw:text-base tw:opacity-70 tw:hover:opacity-100`),"data-testid":`closeButton`,children:b(`span`,{className:`tw:cursor-pointer`,children:`×`})})]}),b(Wx,{className:St(`modal-body`,`tw:overflow-y-auto tw:px-6 tw:py-4`),children:i}),!E&&b(Hx,{className:St(`modal-footer`,`tw:px-6 tw:py-4`),children:A??x(`div`,{className:`tw:flex tw:w-full tw:justify-between`,"data-testid":`modalFooter`,children:[b(`div`,{className:`tw:flex tw:justify-start`,children:s&&b(Kt,{label:c,onClick:l,disabled:I,extraClassNames:`tw:justify-start tw:min-w-25`,testId:`customButton`,variant:te})}),x(`div`,{className:`tw:flex tw:justify-end`,children:[b(`div`,{className:`tw:flex tw:items-center`,children:R}),!O&&b(zx,{asChild:!0,children:b(Kt,{label:d,extraClassNames:`tw:mr-5 tw:min-w-25`,tooltip:F,variant:`outline`,stopPropagation:!1,testId:`cancelButton`})}),!D&&b(Kt,{label:u,onClick:se,disabled:p||ae,variant:z,stopPropagation:m,tooltip:ee,icon:ae?`fc-loading-notch tw:animate-spin`:void 0,iconPosition:`left`,testId:`submitButton`,extraClassNames:`tw:min-w-25`})]})]})})]})}):b(y,{})};var Kx=Gx;function qx(t,n=[]){let r=[];function i(n,i){let a=e.createContext(i);a.displayName=n+`Context`;let o=r.length;r=[...r,i];let s=n=>{let{scope:r,children:i,...s}=n,c=r?.[t]?.[o]||a,l=e.useMemo(()=>s,Object.values(s));return b(c.Provider,{value:l,children:i})};s.displayName=n+`Provider`;function c(r,s){let c=s?.[t]?.[o]||a,l=e.useContext(c);if(l)return l;if(i!==void 0)return i;throw Error(`\`${r}\` must be used within \`${n}\``)}return[s,c]}let a=()=>{let n=r.map(t=>e.createContext(t));return function(r){let i=r?.[t]||n;return e.useMemo(()=>({[`__scope${t}`]:{...r,[t]:i}}),[r,i])}};return a.scopeName=t,[i,Jx(a,...n)]}function Jx(...t){let n=t[0];if(t.length===1)return n;let r=()=>{let r=t.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(t){let i=r.reduce((e,{useScope:n,scopeName:r})=>{let i=n(t),a=i[`__scope${r}`];return{...e,...a}},{});return e.useMemo(()=>({[`__scope${n.scopeName}`]:i}),[i])}};return r.scopeName=n.scopeName,r}var Yx=Symbol.for(`react.lazy`),Xx=e.use;function Zx(e){return typeof e==`object`&&!!e&&`then`in e}function Qx(e){return typeof e==`object`&&!!e&&`$$typeof`in e&&e.$$typeof===Yx&&`_payload`in e&&Zx(e._payload)}function $x(t){let n=eS(t),r=e.forwardRef((t,r)=>{let{children:i,...a}=t;Qx(i)&&typeof Xx==`function`&&(i=Xx(i._payload));let o=e.Children.toArray(i),s=o.find(nS);if(s){let t=s.props.children,i=o.map(n=>n===s?e.Children.count(t)>1?e.Children.only(null):e.isValidElement(t)?t.props.children:null:n);return b(n,{...a,ref:r,children:e.isValidElement(t)?e.cloneElement(t,void 0,i):null})}return b(n,{...a,ref:r,children:i})});return r.displayName=`${t}.Slot`,r}function eS(t){let n=e.forwardRef((t,n)=>{let{children:r,...i}=t;if(Qx(r)&&typeof Xx==`function`&&(r=Xx(r._payload)),e.isValidElement(r)){let t=iS(r),a=rS(i,r.props);return r.type!==e.Fragment&&(a.ref=n?ne(n,t):t),e.cloneElement(r,a)}return e.Children.count(r)>1?e.Children.only(null):null});return n.displayName=`${t}.SlotClone`,n}var tS=Symbol(`radix.slottable`);function nS(t){return e.isValidElement(t)&&typeof t.type==`function`&&`__radixId`in t.type&&t.type.__radixId===tS}function rS(e,t){let n={...t};for(let r in t){let i=e[r],a=t[r],o=/^on[A-Z]/.test(r);o?i&&a?n[r]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(n[r]=i):r===`style`?n[r]={...i,...a}:r===`className`&&(n[r]=[i,a].filter(Boolean).join(` `))}return{...e,...n}}function iS(e){let t=Object.getOwnPropertyDescriptor(e.props,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var aS=[`a`,`button`,`div`,`form`,`h2`,`h3`,`img`,`input`,`label`,`li`,`nav`,`ol`,`p`,`select`,`span`,`svg`,`ul`],oS=aS.reduce((t,n)=>{let r=$x(`Primitive.${n}`),i=e.forwardRef((e,t)=>{let{asChild:i,...a}=e,o=i?r:n;return typeof window<`u`&&(window[Symbol.for(`radix-ui`)]=!0),b(o,{...a,ref:t})});return i.displayName=`Primitive.${n}`,{...t,[n]:i}},{}),sS=`Progress`,cS=100,[lS,uS]=qx(sS),[dS,fS]=lS(sS),pS=e.forwardRef((e,t)=>{let{__scopeProgress:n,value:r=null,max:i,getValueLabel:a=gS,...o}=e;(i||i===0)&&!yS(i)&&console.error(xS(`${i}`,`Progress`));let s=yS(i)?i:cS;r!==null&&!bS(r,s)&&console.error(SS(`${r}`,`Progress`));let c=bS(r,s)?r:null,l=vS(c)?a(c,s):void 0;return b(dS,{scope:n,value:c,max:s,children:b(oS.div,{"aria-valuemax":s,"aria-valuemin":0,"aria-valuenow":vS(c)?c:void 0,"aria-valuetext":l,role:`progressbar`,"data-state":_S(c,s),"data-value":c??void 0,"data-max":s,...o,ref:t})})});pS.displayName=sS;var mS=`ProgressIndicator`,hS=e.forwardRef((e,t)=>{let{__scopeProgress:n,...r}=e,i=fS(mS,n);return b(oS.div,{"data-state":_S(i.value,i.max),"data-value":i.value??void 0,"data-max":i.max,...r,ref:t})});hS.displayName=mS;function gS(e,t){return`${Math.round(e/t*100)}%`}function _S(e,t){return e==null?`indeterminate`:e===t?`complete`:`loading`}function vS(e){return typeof e==`number`}function yS(e){return vS(e)&&!isNaN(e)&&e>0}function bS(e,t){return vS(e)&&!isNaN(e)&&e<=t&&e>=0}function xS(e,t){return`Invalid prop \`max\` of value \`${e}\` supplied to \`${t}\`. Only numbers greater than 0 are valid max values. Defaulting to \`${cS}\`.`}function SS(e,t){return`Invalid prop \`value\` of value \`${e}\` supplied to \`${t}\`. The \`value\` prop must be:
178
- - a positive number
179
- - less than the value passed to \`max\` (or ${cS} if no \`max\` prop is set)
180
- - \`null\` or \`undefined\` if the progress is indeterminate.
181
-
182
- Defaulting to \`null\`.`}var CS=pS,wS=hS,TS=M(((exports,t)=>{(function(e){var n=/^\s+/,r=/\s+$/,i=0,a=e.round,o=e.min,s=e.max,c=e.random;function l(e,t){if(e||=``,t||={},e instanceof l)return e;if(!(this instanceof l))return new l(e,t);var n=u(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=a(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=a(this._r)),this._g<1&&(this._g=a(this._g)),this._b<1&&(this._b=a(this._b)),this._ok=n.ok,this._tc_id=i++}l.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(e.r*299+e.g*587+e.b*114)/1e3},getLuminance:function(){var t=this.toRgb(),n,r,i,a,o,s;return n=t.r/255,r=t.g/255,i=t.b/255,a=n<=.03928?n/12.92:e.pow((n+.055)/1.055,2.4),o=r<=.03928?r/12.92:e.pow((r+.055)/1.055,2.4),s=i<=.03928?i/12.92:e.pow((i+.055)/1.055,2.4),.2126*a+.7152*o+.0722*s},setAlpha:function(e){return this._a=ee(e),this._roundA=a(100*this._a)/100,this},toHsv:function(){var e=m(this._r,this._g,this._b);return{h:e.h*360,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=m(this._r,this._g,this._b),t=a(e.h*360),n=a(e.s*100),r=a(e.v*100);return this._a==1?`hsv(`+t+`, `+n+`%, `+r+`%)`:`hsva(`+t+`, `+n+`%, `+r+`%, `+this._roundA+`)`},toHsl:function(){var e=f(this._r,this._g,this._b);return{h:e.h*360,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=f(this._r,this._g,this._b),t=a(e.h*360),n=a(e.s*100),r=a(e.l*100);return this._a==1?`hsl(`+t+`, `+n+`%, `+r+`%)`:`hsla(`+t+`, `+n+`%, `+r+`%, `+this._roundA+`)`},toHex:function(e){return g(this._r,this._g,this._b,e)},toHexString:function(e){return`#`+this.toHex(e)},toHex8:function(e){return _(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return`#`+this.toHex8(e)},toRgb:function(){return{r:a(this._r),g:a(this._g),b:a(this._b),a:this._a}},toRgbString:function(){return this._a==1?`rgb(`+a(this._r)+`, `+a(this._g)+`, `+a(this._b)+`)`:`rgba(`+a(this._r)+`, `+a(this._g)+`, `+a(this._b)+`, `+this._roundA+`)`},toPercentageRgb:function(){return{r:a(F(this._r,255)*100)+`%`,g:a(F(this._g,255)*100)+`%`,b:a(F(this._b,255)*100)+`%`,a:this._a}},toPercentageRgbString:function(){return this._a==1?`rgb(`+a(F(this._r,255)*100)+`%, `+a(F(this._g,255)*100)+`%, `+a(F(this._b,255)*100)+`%)`:`rgba(`+a(F(this._r,255)*100)+`%, `+a(F(this._g,255)*100)+`%, `+a(F(this._b,255)*100)+`%, `+this._roundA+`)`},toName:function(){return this._a===0?`transparent`:this._a<1?!1:N[g(this._r,this._g,this._b,!0)]||!1},toFilter:function(e){var t=`#`+v(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?`GradientType = 1, `:``;if(e){var i=l(e);n=`#`+v(i._r,i._g,i._b,i._a)}return`progid:DXImageTransform.Microsoft.gradient(`+r+`startColorstr=`+t+`,endColorstr=`+n+`)`},toString:function(e){var t=!!e;e||=this._format;var n=!1,r=this._a<1&&this._a>=0,i=!t&&r&&(e===`hex`||e===`hex6`||e===`hex3`||e===`hex4`||e===`hex8`||e===`name`);return i?e===`name`&&this._a===0?this.toName():this.toRgbString():(e===`rgb`&&(n=this.toRgbString()),e===`prgb`&&(n=this.toPercentageRgbString()),(e===`hex`||e===`hex6`)&&(n=this.toHexString()),e===`hex3`&&(n=this.toHexString(!0)),e===`hex4`&&(n=this.toHex8String(!0)),e===`hex8`&&(n=this.toHex8String()),e===`name`&&(n=this.toName()),e===`hsl`&&(n=this.toHslString()),e===`hsv`&&(n=this.toHsvString()),n||this.toHexString())},clone:function(){return l(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(S,arguments)},brighten:function(){return this._applyModification(C,arguments)},darken:function(){return this._applyModification(w,arguments)},desaturate:function(){return this._applyModification(y,arguments)},saturate:function(){return this._applyModification(b,arguments)},greyscale:function(){return this._applyModification(x,arguments)},spin:function(){return this._applyModification(T,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(A,arguments)},complement:function(){return this._applyCombination(E,arguments)},monochromatic:function(){return this._applyCombination(j,arguments)},splitcomplement:function(){return this._applyCombination(k,arguments)},triad:function(){return this._applyCombination(D,arguments)},tetrad:function(){return this._applyCombination(O,arguments)}},l.fromRatio=function(e,t){if(typeof e==`object`){var n={};for(var r in e)e.hasOwnProperty(r)&&(r===`a`?n[r]=e[r]:n[r]=ne(e[r]));e=n}return l(e,t)};function u(e){var t={r:0,g:0,b:0},n=1,r=null,i=null,a=null,c=!1,l=!1;return typeof e==`string`&&(e=oe(e)),typeof e==`object`&&(ae(e.r)&&ae(e.g)&&ae(e.b)?(t=d(e.r,e.g,e.b),c=!0,l=String(e.r).substr(-1)===`%`?`prgb`:`rgb`):ae(e.h)&&ae(e.s)&&ae(e.v)?(r=ne(e.s),i=ne(e.v),t=h(e.h,r,i),c=!0,l=`hsv`):ae(e.h)&&ae(e.s)&&ae(e.l)&&(r=ne(e.s),a=ne(e.l),t=p(e.h,r,a),c=!0,l=`hsl`),e.hasOwnProperty(`a`)&&(n=e.a)),n=ee(n),{ok:c,format:e.format||l,r:o(255,s(t.r,0)),g:o(255,s(t.g,0)),b:o(255,s(t.b,0)),a:n}}function d(e,t,n){return{r:F(e,255)*255,g:F(t,255)*255,b:F(n,255)*255}}function f(e,t,n){e=F(e,255),t=F(t,255),n=F(n,255);var r=s(e,t,n),i=o(e,t,n),a,c,l=(r+i)/2;if(r==i)a=c=0;else{var u=r-i;switch(c=l>.5?u/(2-r-i):u/(r+i),r){case e:a=(t-n)/u+(t<n?6:0);break;case t:a=(n-e)/u+2;break;case n:a=(e-t)/u+4;break}a/=6}return{h:a,s:c,l}}function p(e,t,n){var r,i,a;e=F(e,360),t=F(t,100),n=F(n,100);function o(e,t,n){return n<0&&(n+=1),n>1&&--n,n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(t===0)r=i=a=n;else{var s=n<.5?n*(1+t):n+t-n*t,c=2*n-s;r=o(c,s,e+1/3),i=o(c,s,e),a=o(c,s,e-1/3)}return{r:r*255,g:i*255,b:a*255}}function m(e,t,n){e=F(e,255),t=F(t,255),n=F(n,255);var r=s(e,t,n),i=o(e,t,n),a,c,l=r,u=r-i;if(c=r===0?0:u/r,r==i)a=0;else{switch(r){case e:a=(t-n)/u+(t<n?6:0);break;case t:a=(n-e)/u+2;break;case n:a=(e-t)/u+4;break}a/=6}return{h:a,s:c,v:l}}function h(t,n,r){t=F(t,360)*6,n=F(n,100),r=F(r,100);var i=e.floor(t),a=t-i,o=r*(1-n),s=r*(1-a*n),c=r*(1-(1-a)*n),l=i%6,u=[r,s,o,o,c,r][l],d=[c,r,r,s,o,o][l],f=[o,o,c,r,r,s][l];return{r:u*255,g:d*255,b:f*255}}function g(e,t,n,r){var i=[z(a(e).toString(16)),z(a(t).toString(16)),z(a(n).toString(16))];return r&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0):i.join(``)}function _(e,t,n,r,i){var o=[z(a(e).toString(16)),z(a(t).toString(16)),z(a(n).toString(16)),z(B(r))];return i&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)&&o[3].charAt(0)==o[3].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0):o.join(``)}function v(e,t,n,r){var i=[z(B(r)),z(a(e).toString(16)),z(a(t).toString(16)),z(a(n).toString(16))];return i.join(``)}l.equals=function(e,t){return!e||!t?!1:l(e).toRgbString()==l(t).toRgbString()},l.random=function(){return l.fromRatio({r:c(),g:c(),b:c()})};function y(e,t){t=t===0?0:t||10;var n=l(e).toHsl();return n.s-=t/100,n.s=I(n.s),l(n)}function b(e,t){t=t===0?0:t||10;var n=l(e).toHsl();return n.s+=t/100,n.s=I(n.s),l(n)}function x(e){return l(e).desaturate(100)}function S(e,t){t=t===0?0:t||10;var n=l(e).toHsl();return n.l+=t/100,n.l=I(n.l),l(n)}function C(e,t){t=t===0?0:t||10;var n=l(e).toRgb();return n.r=s(0,o(255,n.r-a(255*-(t/100)))),n.g=s(0,o(255,n.g-a(255*-(t/100)))),n.b=s(0,o(255,n.b-a(255*-(t/100)))),l(n)}function w(e,t){t=t===0?0:t||10;var n=l(e).toHsl();return n.l-=t/100,n.l=I(n.l),l(n)}function T(e,t){var n=l(e).toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,l(n)}function E(e){var t=l(e).toHsl();return t.h=(t.h+180)%360,l(t)}function D(e){var t=l(e).toHsl(),n=t.h;return[l(e),l({h:(n+120)%360,s:t.s,l:t.l}),l({h:(n+240)%360,s:t.s,l:t.l})]}function O(e){var t=l(e).toHsl(),n=t.h;return[l(e),l({h:(n+90)%360,s:t.s,l:t.l}),l({h:(n+180)%360,s:t.s,l:t.l}),l({h:(n+270)%360,s:t.s,l:t.l})]}function k(e){var t=l(e).toHsl(),n=t.h;return[l(e),l({h:(n+72)%360,s:t.s,l:t.l}),l({h:(n+216)%360,s:t.s,l:t.l})]}function A(e,t,n){t||=6,n||=30;var r=l(e).toHsl(),i=360/n,a=[l(e)];for(r.h=(r.h-(i*t>>1)+720)%360;--t;)r.h=(r.h+i)%360,a.push(l(r));return a}function j(e,t){t||=6;for(var n=l(e).toHsv(),r=n.h,i=n.s,a=n.v,o=[],s=1/t;t--;)o.push(l({h:r,s:i,v:a})),a=(a+s)%1;return o}l.mix=function(e,t,n){n=n===0?0:n||50;var r=l(e).toRgb(),i=l(t).toRgb(),a=n/100,o={r:(i.r-r.r)*a+r.r,g:(i.g-r.g)*a+r.g,b:(i.b-r.b)*a+r.b,a:(i.a-r.a)*a+r.a};return l(o)},l.readability=function(t,n){var r=l(t),i=l(n);return(e.max(r.getLuminance(),i.getLuminance())+.05)/(e.min(r.getLuminance(),i.getLuminance())+.05)},l.isReadable=function(e,t,n){var r=l.readability(e,t),i,a;switch(a=!1,i=se(n),i.level+i.size){case`AAsmall`:case`AAAlarge`:a=r>=4.5;break;case`AAlarge`:a=r>=3;break;case`AAAsmall`:a=r>=7;break}return a},l.mostReadable=function(e,t,n){var r=null,i=0,a,o,s,c;n||={},o=n.includeFallbackColors,s=n.level,c=n.size;for(var u=0;u<t.length;u++)a=l.readability(e,t[u]),a>i&&(i=a,r=l(t[u]));return l.isReadable(e,r,{level:s,size:c})||!o?r:(n.includeFallbackColors=!1,l.mostReadable(e,[`#fff`,`#000`],n))};var M=l.names={aliceblue:`f0f8ff`,antiquewhite:`faebd7`,aqua:`0ff`,aquamarine:`7fffd4`,azure:`f0ffff`,beige:`f5f5dc`,bisque:`ffe4c4`,black:`000`,blanchedalmond:`ffebcd`,blue:`00f`,blueviolet:`8a2be2`,brown:`a52a2a`,burlywood:`deb887`,burntsienna:`ea7e5d`,cadetblue:`5f9ea0`,chartreuse:`7fff00`,chocolate:`d2691e`,coral:`ff7f50`,cornflowerblue:`6495ed`,cornsilk:`fff8dc`,crimson:`dc143c`,cyan:`0ff`,darkblue:`00008b`,darkcyan:`008b8b`,darkgoldenrod:`b8860b`,darkgray:`a9a9a9`,darkgreen:`006400`,darkgrey:`a9a9a9`,darkkhaki:`bdb76b`,darkmagenta:`8b008b`,darkolivegreen:`556b2f`,darkorange:`ff8c00`,darkorchid:`9932cc`,darkred:`8b0000`,darksalmon:`e9967a`,darkseagreen:`8fbc8f`,darkslateblue:`483d8b`,darkslategray:`2f4f4f`,darkslategrey:`2f4f4f`,darkturquoise:`00ced1`,darkviolet:`9400d3`,deeppink:`ff1493`,deepskyblue:`00bfff`,dimgray:`696969`,dimgrey:`696969`,dodgerblue:`1e90ff`,firebrick:`b22222`,floralwhite:`fffaf0`,forestgreen:`228b22`,fuchsia:`f0f`,gainsboro:`dcdcdc`,ghostwhite:`f8f8ff`,gold:`ffd700`,goldenrod:`daa520`,gray:`808080`,green:`008000`,greenyellow:`adff2f`,grey:`808080`,honeydew:`f0fff0`,hotpink:`ff69b4`,indianred:`cd5c5c`,indigo:`4b0082`,ivory:`fffff0`,khaki:`f0e68c`,lavender:`e6e6fa`,lavenderblush:`fff0f5`,lawngreen:`7cfc00`,lemonchiffon:`fffacd`,lightblue:`add8e6`,lightcoral:`f08080`,lightcyan:`e0ffff`,lightgoldenrodyellow:`fafad2`,lightgray:`d3d3d3`,lightgreen:`90ee90`,lightgrey:`d3d3d3`,lightpink:`ffb6c1`,lightsalmon:`ffa07a`,lightseagreen:`20b2aa`,lightskyblue:`87cefa`,lightslategray:`789`,lightslategrey:`789`,lightsteelblue:`b0c4de`,lightyellow:`ffffe0`,lime:`0f0`,limegreen:`32cd32`,linen:`faf0e6`,magenta:`f0f`,maroon:`800000`,mediumaquamarine:`66cdaa`,mediumblue:`0000cd`,mediumorchid:`ba55d3`,mediumpurple:`9370db`,mediumseagreen:`3cb371`,mediumslateblue:`7b68ee`,mediumspringgreen:`00fa9a`,mediumturquoise:`48d1cc`,mediumvioletred:`c71585`,midnightblue:`191970`,mintcream:`f5fffa`,mistyrose:`ffe4e1`,moccasin:`ffe4b5`,navajowhite:`ffdead`,navy:`000080`,oldlace:`fdf5e6`,olive:`808000`,olivedrab:`6b8e23`,orange:`ffa500`,orangered:`ff4500`,orchid:`da70d6`,palegoldenrod:`eee8aa`,palegreen:`98fb98`,paleturquoise:`afeeee`,palevioletred:`db7093`,papayawhip:`ffefd5`,peachpuff:`ffdab9`,peru:`cd853f`,pink:`ffc0cb`,plum:`dda0dd`,powderblue:`b0e0e6`,purple:`800080`,rebeccapurple:`663399`,red:`f00`,rosybrown:`bc8f8f`,royalblue:`4169e1`,saddlebrown:`8b4513`,salmon:`fa8072`,sandybrown:`f4a460`,seagreen:`2e8b57`,seashell:`fff5ee`,sienna:`a0522d`,silver:`c0c0c0`,skyblue:`87ceeb`,slateblue:`6a5acd`,slategray:`708090`,slategrey:`708090`,snow:`fffafa`,springgreen:`00ff7f`,steelblue:`4682b4`,tan:`d2b48c`,teal:`008080`,thistle:`d8bfd8`,tomato:`ff6347`,turquoise:`40e0d0`,violet:`ee82ee`,wheat:`f5deb3`,white:`fff`,whitesmoke:`f5f5f5`,yellow:`ff0`,yellowgreen:`9acd32`},N=l.hexNames=P(M);function P(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function ee(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function F(t,n){R(t)&&(t=`100%`);var r=te(t);return t=o(n,s(0,parseFloat(t))),r&&(t=parseInt(t*n,10)/100),e.abs(t-n)<1e-6?1:t%n/parseFloat(n)}function I(e){return o(1,s(0,e))}function L(e){return parseInt(e,16)}function R(e){return typeof e==`string`&&e.indexOf(`.`)!=-1&&parseFloat(e)===1}function te(e){return typeof e==`string`&&e.indexOf(`%`)!=-1}function z(e){return e.length==1?`0`+e:``+e}function ne(e){return e<=1&&(e=e*100+`%`),e}function B(t){return e.round(parseFloat(t)*255).toString(16)}function re(e){return L(e)/255}var ie=(function(){var e=`[-\\+]?\\d+%?`,t=`[-\\+]?\\d*\\.\\d+%?`,n=`(?:`+t+`)|(?:`+e+`)`,r=`[\\s|\\(]+(`+n+`)[,|\\s]+(`+n+`)[,|\\s]+(`+n+`)\\s*\\)?`,i=`[\\s|\\(]+(`+n+`)[,|\\s]+(`+n+`)[,|\\s]+(`+n+`)[,|\\s]+(`+n+`)\\s*\\)?`;return{CSS_UNIT:new RegExp(n),rgb:RegExp(`rgb`+r),rgba:RegExp(`rgba`+i),hsl:RegExp(`hsl`+r),hsla:RegExp(`hsla`+i),hsv:RegExp(`hsv`+r),hsva:RegExp(`hsva`+i),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}})();function ae(e){return!!ie.CSS_UNIT.exec(e)}function oe(e){e=e.replace(n,``).replace(r,``).toLowerCase();var t=!1;if(M[e])e=M[e],t=!0;else if(e==`transparent`)return{r:0,g:0,b:0,a:0,format:`name`};var i;return(i=ie.rgb.exec(e))?{r:i[1],g:i[2],b:i[3]}:(i=ie.rgba.exec(e))?{r:i[1],g:i[2],b:i[3],a:i[4]}:(i=ie.hsl.exec(e))?{h:i[1],s:i[2],l:i[3]}:(i=ie.hsla.exec(e))?{h:i[1],s:i[2],l:i[3],a:i[4]}:(i=ie.hsv.exec(e))?{h:i[1],s:i[2],v:i[3]}:(i=ie.hsva.exec(e))?{h:i[1],s:i[2],v:i[3],a:i[4]}:(i=ie.hex8.exec(e))?{r:L(i[1]),g:L(i[2]),b:L(i[3]),a:re(i[4]),format:t?`name`:`hex8`}:(i=ie.hex6.exec(e))?{r:L(i[1]),g:L(i[2]),b:L(i[3]),format:t?`name`:`hex`}:(i=ie.hex4.exec(e))?{r:L(i[1]+``+i[1]),g:L(i[2]+``+i[2]),b:L(i[3]+``+i[3]),a:re(i[4]+``+i[4]),format:t?`name`:`hex8`}:(i=ie.hex3.exec(e))?{r:L(i[1]+``+i[1]),g:L(i[2]+``+i[2]),b:L(i[3]+``+i[3]),format:t?`name`:`hex`}:!1}function se(e){var t,n;return e||={level:`AA`,size:`small`},t=(e.level||`AA`).toUpperCase(),n=(e.size||`small`).toLowerCase(),t!==`AA`&&t!==`AAA`&&(t=`AA`),n!==`small`&&n!==`large`&&(n=`small`),{level:t,size:n}}t!==void 0&&t.exports?t.exports=l:typeof define==`function`&&define.amd?define(function(){return l}):window.tinycolor=l})(Math)})),ES=ee(TS());const DS={duration:660,easing:`ease-in-out`,fill:`forwards`},OS=`tw:left-1 tw:text-xs tw:text-sq-text-color tw:dark:text-sq-dark-text tw:items-center tw:h-4.5`,kS=e=>{let{value:t,color:n=void 0,testId:r,label:i,extraClasses:a=``,labelClasses:o=``,valuesLength:s,max:c,index:l,totalValue:u,...d}=e,p=Dt(d),m=_(0),h=_(null),g=_(null),[y,x]=v(``),S=window.matchMedia(`(prefers-reduced-motion: reduce)`).matches,C=``;u>=c?l===0&&s===1?C=`tw:rounded-[0.9375rem]`:l===0?C=`tw:rounded-l-[0.9375rem]`:l===s-1&&(C=`tw:rounded-r-[0.9375rem]`):l===0&&(C=`tw:rounded-l-[0.9375rem]`);let w=n||void 0,T=n?``:`tw:bg-sq-theme-dark`,E=r?`progress-bar-indicator-${r}`:`progress-bar-indicator`,D=Number(t)/Number(c)*100;return f(()=>{if(!g.current)return;function e(){h.current&&=(h.current.cancel(),null)}let t=m.current;return e(),g.current.style.width=`${D}%`,!S&&D!==t&&(h.current=g.current.animate([{width:`${t}%`},{width:`${D}%`}],DS)),m.current=D,()=>e()},[D,S]),f(()=>{let e=e=>{let t=getComputedStyle(e),n=t.backgroundColor,r=(0,ES.default)(n).isDark()?`tw:text-sq-white tw:dark:text-sq-white`:`tw:text-sq-text-color tw:dark:text-sq-text-color`;x(r)};g.current&&e(g.current)},[n]),b(wS,{className:`tw:flex tw:h-4.5 tw:w-full tw:items-center tw:justify-center ${s===1?``:`tw:overflow-hidden`} ${C} ${T} ${a}`,...p,"data-qtip-text":d.tooltip?d.tooltip:`${t}%`,"data-segment-value":t,"data-testid":E,ref:g,style:{backgroundColor:w,width:S?`${D}%`:void 0},children:i?b(`span`,{className:`${OS} ${o} ${y} ${s===1?`tw:absolute tw:z-50`:``}`,children:i}):void 0})},AS=({values:e=[],max:t=100,containerExtraClasses:n=``,zeroValueLabel:r=`No progress yet`})=>{let i=e.reduce((e,{value:t})=>e+t,0);return b(CS,{className:`tw:relative tw:flex tw:h-4.5 tw:w-full tw:flex-1 tw:overflow-hidden tw:rounded-[0.9375rem] tw:bg-sq-dark-gray tw:dark:bg-sq-dark-disabled-gray ${n}`,max:t,value:i,children:i>0?e.map((n,r)=>s(kS,{...n,max:t,valuesLength:e.length,index:r,totalValue:i,key:r})):b(`div`,{className:`${OS} tw:mx-auto tw:overflow-hidden`,children:r})})};var jS=AS;function MS(e){return e.startsWith(`svgpath:`)}function NS(e){return MS(e)?e.substring(8):``}const PS=({onClick:e,icon:t,color:n,type:r=`default`,extraClassNames:i,viewBox:a=`0 0 19 19`,id:o,testId:s,customId:c,...l})=>{let u=Dt(l),d=r===`default`?`currentColor`:`var(--theme-icon)`;return b(`div`,{onClick:e,...u,className:U(`svgContainer`,`tw:outline-none tw:focus:outline-none tw:focus-visible:outline-none`,{"tw:cursor-pointer":e},i),children:b(`svg`,{id:o,"data-customid":c,xmlns:`http://www.w3.org/2000/svg`,className:`tw:text-sq-theme-icon tw:dark:text-sq-white`,viewBox:a,fill:n||d,"data-testid":s,children:b(`path`,{d:NS(t)})})})};var FS=PS;const IS=e=>{let t=b(y,{});return e.icon&&(t=MS(e.icon)?b(FS,{icon:e.icon,extraClassNames:`${e.iconExtraClassNames}tw:p-1 tw:h-9 tw:w-9 tw:dark:text-sq-white tw:text-5.5! tw:text-sq-white`,...e}):b(jt,{icon:e.icon,type:`text`,extraClassNames:`tw:dark:text-sq-white tw:text-5.5! tw:text-sq-white tw:min-w-9 ${e.iconExtraClassNames}`})),x(`div`,{className:`tw:flex tw:w-150 tw:flex-row tw:gap-4 tw:p-2.5 tw:pl-5`,children:[b(`div`,{className:St(`tw:flex tw:h-9 tw:w-9 tw:items-center tw:justify-center tw:rounded-[0.1875rem] tw:bg-sq-theme-dark tw:mt-1.5`,e.iconContainerExtraClassNames),children:t}),x(`div`,{className:`tw:flex tw:flex-col tw:justify-center`,children:[b(`div`,{className:`tw:text-[20px] tw:font-semibold`,children:e.display}),b(`div`,{className:`tw:text-sq-13 tw:leading-4`,children:e.text})]})]})},LS=e=>{let t=b(y,{});return e.icon&&(t=MS(e.icon)?b(FS,{icon:e.icon,extraClassNames:`tw:w-4 tw:text-5 tw:dark:text-sq-white tw:text-sq-text-color ${e.iconExtraClassNames}`,type:`default`,...e}):b(jt,{icon:e.icon,type:`text`,extraClassNames:`tw:text-5 tw:dark:text-sq-white tw:text-sq-text-color ${e.iconExtraClassNames}`})),b(`div`,{className:`tw:flex tw:flex-col tw:p-2.5`,children:x(`div`,{className:`tw:flex tw:flex-row tw:items-end tw:gap-2`,children:[b(`div`,{className:`tw:flex tw:h-5 tw:w-5 tw:items-center tw:justify-center tw:rounded-[0.1875rem]`,children:t}),b(`div`,{className:`tw:text-sq-13`,children:e.display})]})})},RS=e=>x(`div`,{className:`tw:flex tw:flex-col tw:justify-start tw:p-2.5 tw:text-left tw:font-normal tw:text-sq-text-color tw:dark:text-sq-dark-text`,children:[b(`h5`,{className:St(`tw:text-4`,`tw:leading-4.5 tw:font-medium tw:text-sq-theme-dark`),children:e.display}),b(`div`,{className:`tw:mt-1! tw:text-sq-13 tw:text-sq-text-color tw:dark:text-sq-dark-text`,children:e.text})]}),zS=(e,t)=>{switch(e){case`create-workbench`:return b(IS,{...t});case`view-workbench`:return b(LS,{...t});case`insert-seeq-content`:return b(RS,{...t});default:return b(IS,{...t})}},BS=({seeqActionDropdownItems:e,trigger:t,id:n,extraClassNames:r,containerTestId:i,disabled:a=!1,align:o=`end`,placement:s=`bottom`,placementOffset:c=5,alignOffset:l=-35,hasArrow:u=!1,onOpenChange:d,isOpen:f,setFocusOnTriggerOnClose:p=!0,keepFocusInsideDropdown:m=!0,variant:h,...g})=>{let _=Dt(g);return x(Al,{defaultOpen:!1,open:f,onOpenChange:d,modal:m,children:[b(jl,{id:n,"data-testid":n,className:`tw:border-none tw:focus-within:outline-none tw:focus:outline-none tw:focus-visible:outline-none`,asChild:!0,disabled:a,children:b(`div`,{..._,className:St(`tw:flex tw:flex-col tw:items-center tw:bg-transparent
183
- tw:focus-within:outline-none
184
- tw:focus:outline-none
185
- tw:focus-visible:outline-none`,{"tw:cursor-not-allowed tw:opacity-50":a},r),children:t})}),b(Nl,{sideOffset:c,side:s,align:o,alignOffset:l,asChild:!0,onCloseAutoFocus:e=>!p&&e.preventDefault(),className:`tw:outline-none tw:focus-visible:outline-none`,children:x(`div`,{"data-testid":i,className:St(`tw:relative tw:z-1200 tw:min-w-6 tw:py-2
186
- tw:shadow-[0_4px_8px_rgba(0,0,0,0.2)] tw:outline-none
187
- tw:focus-visible:outline-none
188
- tw:data-[side=bottom]:animate-slideUpAndFade
189
- tw:data-[side=left]:animate-slideRightAndFade
190
- tw:data-[side=right]:animate-slideLeftAndFade
191
- tw:data-[side=top]:animate-slideDownAndFade`,`
192
- tw:rounded-md
193
- tw:border
194
- tw:border-solid
195
- tw:border-sq-disabled-gray
196
- tw:dark:border-gray-500
197
- `,`
198
- tw:bg-sq-white
199
- tw:dark:bg-sq-dark-background
200
- `),children:[u&&b(Ll,{asChild:!0,children:b(`div`,{className:`
201
- tw:-mt-sq-7 tw:h-sq-15 tw:w-sq-15 tw:rotate-45 tw:border-r
202
- tw:border-b tw:border-sq-disabled-gray tw:bg-sq-white
203
- tw:fill-transparent
204
- tw:dark:border-gray-500 tw:dark:bg-sq-dark-background
205
- `})}),e.map((e,t)=>x(`div`,{children:[b(Fl,{onSelect:t=>{e.action(t)},className:`tw:relative tw:flex tw:cursor-pointer tw:outline-none tw:select-none tw:hover:bg-sq-gray-highlight tw:aria-disabled:pointer-events-none tw:data-dim:opacity-50 tw:data-disabled:text-sq-disabled-gray tw:dark:text-sq-white tw:dark:hover:bg-sq-gray-highlight-dark`,"data-testid":e.testId,"data-dim":e.dim?``:void 0,disabled:!e.enabled,children:zS(h,e)}),e.divider&&b(Il,{"data-testid":`dropdown-divider-${t}`,className:`tw:my-2 tw:h-px tw:bg-sq-disabled-gray tw:dark:bg-gray-500`})]},e.id??t))]})})]})};var VS=BS;function HS({options:e,value:t,onChange:n,extraClassNames:r=``,id:i,testId:a,ariaLabel:o}){let s=`tw:flex tw:flex-wrap tw:gap-2 ${r}`;return b(`div`,{"aria-label":o,className:s,"data-testid":a,id:i,role:`group`,children:e.map(e=>{let r=e.value===t,i=`sq-segmented-control-pill tw:cursor-pointer tw:rounded-full tw:border tw:px-3 tw:py-1.5 tw:text-sm tw:transition-all tw:duration-150 tw:ease-out tw:focus-visible:outline-none tw:focus-visible:ring-2 tw:focus-visible:ring-sq-theme-link/30 tw:focus-visible:ring-offset-1 tw:dark:focus-visible:ring-offset-sq-dark-background ${r?`sq-segmented-control-pill--active`:`sq-segmented-control-pill--inactive`}`;return b(`button`,{"aria-pressed":r,className:i,onClick:n?()=>n(e.value):void 0,type:`button`,children:e.label},String(e.value))})})}var US=HS;function WS(e){"@babel/helpers - typeof";return WS=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},WS(e)}function GS(e,t){if(WS(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(WS(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function KS(e){var t=GS(e,`string`);return WS(t)==`symbol`?t:t+``}function qS(e,t,n){return(t=KS(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function JS(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function J(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?JS(Object(n),!0).forEach(function(t){qS(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):JS(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function YS(e){if(Array.isArray(e))return e}function XS(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function ZS(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function QS(e,t){if(e){if(typeof e==`string`)return ZS(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ZS(e,t):void 0}}function $S(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
206
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function eC(e,t){return YS(e)||XS(e,t)||QS(e,t)||$S()}function tC(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function nC(e,t){if(e==null)return{};var n,r,i=tC(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var rC=[`defaultInputValue`,`defaultMenuIsOpen`,`defaultValue`,`inputValue`,`menuIsOpen`,`onChange`,`onInputChange`,`onMenuClose`,`onMenuOpen`,`value`];function iC(e){var t=e.defaultInputValue,n=t===void 0?``:t,r=e.defaultMenuIsOpen,i=r===void 0?!1:r,a=e.defaultValue,o=a===void 0?null:a,s=e.inputValue,c=e.menuIsOpen,l=e.onChange,d=e.onInputChange,f=e.onMenuClose,p=e.onMenuOpen,m=e.value,h=nC(e,rC),g=v(s===void 0?n:s),_=eC(g,2),y=_[0],b=_[1],x=v(c===void 0?i:c),S=eC(x,2),C=S[0],w=S[1],T=v(m===void 0?o:m),E=eC(T,2),D=E[0],O=E[1],k=u(function(e,t){typeof l==`function`&&l(e,t),O(e)},[l]),A=u(function(e,t){var n;typeof d==`function`&&(n=d(e,t)),b(n===void 0?e:n)},[d]),j=u(function(){typeof p==`function`&&p(),w(!0)},[p]),M=u(function(){typeof f==`function`&&f(),w(!1)},[f]),N=s===void 0?y:s,P=c===void 0?C:c,ee=m===void 0?D:m;return J(J({},h),{},{inputValue:N,menuIsOpen:P,onChange:k,onInputChange:A,onMenuClose:M,onMenuOpen:j,value:ee})}function Y(){return Y=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Y.apply(null,arguments)}function aC(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function oC(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,KS(r.key),r)}}function sC(e,t,n){return t&&oC(e.prototype,t),n&&oC(e,n),Object.defineProperty(e,`prototype`,{writable:!1}),e}function cC(e,t){return cC=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},cC(e,t)}function lC(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Super expression must either be null or a function`);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,`prototype`,{writable:!1}),t&&cC(e,t)}function uC(e){return uC=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},uC(e)}function dC(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(dC=function(){return!!e})()}function fC(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function pC(e,t){if(t&&(WS(t)==`object`||typeof t==`function`))return t;if(t!==void 0)throw TypeError(`Derived constructors may only return object or undefined`);return fC(e)}function mC(e){var t=dC();return function(){var n,r=uC(e);if(t){var i=uC(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return pC(this,n)}}function hC(e){if(Array.isArray(e))return ZS(e)}function gC(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}function _C(){throw TypeError(`Invalid attempt to spread non-iterable instance.
207
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function vC(e){return hC(e)||gC(e)||QS(e)||_C()}var yC=!1;function bC(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function xC(e){var t=document.createElement(`style`);return t.setAttribute(`data-emotion`,e.key),e.nonce!==void 0&&t.setAttribute(`nonce`,e.nonce),t.appendChild(document.createTextNode(``)),t.setAttribute(`data-s`,``),t}var SC=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=t.tags.length===0?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=e.speedy===void 0?!yC:e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(xC(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=bC(t);try{n.insertRule(e,n.cssRules.length)}catch{}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){var t;return(t=e.parentNode)?.removeChild(e)}),this.tags=[],this.ctr=0},e}(),CC=`-ms-`,wC=`-moz-`,X=`-webkit-`,TC=`comm`,EC=`rule`,DC=`decl`,OC=`@import`,kC=`@keyframes`,AC=`@layer`,jC=Math.abs,MC=String.fromCharCode,NC=Object.assign;function PC(e,t){return RC(e,0)^45?(((t<<2^RC(e,0))<<2^RC(e,1))<<2^RC(e,2))<<2^RC(e,3):0}function FC(e){return e.trim()}function IC(e,t){return(e=t.exec(e))?e[0]:e}function Z(e,t,n){return e.replace(t,n)}function LC(e,t){return e.indexOf(t)}function RC(e,t){return e.charCodeAt(t)|0}function zC(e,t,n){return e.slice(t,n)}function BC(e){return e.length}function VC(e){return e.length}function HC(e,t){return t.push(e),e}function UC(e,t){return e.map(t).join(``)}var WC=1,GC=1,KC=0,qC=0,JC=0,YC=``;function XC(e,t,n,r,i,a,o){return{value:e,root:t,parent:n,type:r,props:i,children:a,line:WC,column:GC,length:o,return:``}}function ZC(e,t){return NC(XC(``,null,null,``,null,null,0),e,{length:-e.length},t)}function QC(){return JC}function $C(){return JC=qC>0?RC(YC,--qC):0,GC--,JC===10&&(GC=1,WC--),JC}function ew(){return JC=qC<KC?RC(YC,qC++):0,GC++,JC===10&&(GC=1,WC++),JC}function tw(){return RC(YC,qC)}function nw(){return qC}function rw(e,t){return zC(YC,e,t)}function iw(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function aw(e){return WC=GC=1,KC=BC(YC=e),qC=0,[]}function ow(e){return YC=``,e}function sw(e){return FC(rw(qC-1,uw(e===91?e+2:e===40?e+1:e)))}function cw(e){for(;(JC=tw())&&JC<33;)ew();return iw(e)>2||iw(JC)>3?``:` `}function lw(e,t){for(;--t&&ew()&&!(JC<48||JC>102||JC>57&&JC<65||JC>70&&JC<97););return rw(e,nw()+(t<6&&tw()==32&&ew()==32))}function uw(e){for(;ew();)switch(JC){case e:return qC;case 34:case 39:e!==34&&e!==39&&uw(JC);break;case 40:e===41&&uw(e);break;case 92:ew();break}return qC}function dw(e,t){for(;ew()&&e+JC!==57&&!(e+JC===84&&tw()===47););return`/*`+rw(t,qC-1)+`*`+MC(e===47?e:ew())}function fw(e){for(;!iw(tw());)ew();return rw(e,qC)}function pw(e){return ow(mw(``,null,null,null,[``],e=aw(e),0,[0],e))}function mw(e,t,n,r,i,a,o,s,c){for(var l=0,u=0,d=o,f=0,p=0,m=0,h=1,g=1,_=1,v=0,y=``,b=i,x=a,S=r,C=y;g;)switch(m=v,v=ew()){case 40:if(m!=108&&RC(C,d-1)==58){LC(C+=Z(sw(v),`&`,`&\f`),`&\f`)!=-1&&(_=-1);break}case 34:case 39:case 91:C+=sw(v);break;case 9:case 10:case 13:case 32:C+=cw(m);break;case 92:C+=lw(nw()-1,7);continue;case 47:switch(tw()){case 42:case 47:HC(gw(dw(ew(),nw()),t,n),c);break;default:C+=`/`}break;case 123*h:s[l++]=BC(C)*_;case 125*h:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:_==-1&&(C=Z(C,/\f/g,``)),p>0&&BC(C)-d&&HC(p>32?_w(C+`;`,r,n,d-1):_w(Z(C,` `,``)+`;`,r,n,d-2),c);break;case 59:C+=`;`;default:if(HC(S=hw(C,t,n,l,u,i,s,y,b=[],x=[],d),a),v===123)if(u===0)mw(C,t,S,S,b,a,d,s,x);else switch(f===99&&RC(C,3)===110?100:f){case 100:case 108:case 109:case 115:mw(e,S,S,r&&HC(hw(e,S,S,0,0,i,s,y,i,b=[],d),x),i,x,d,s,r?b:x);break;default:mw(C,S,S,S,[``],x,0,s,x)}}l=u=p=0,h=_=1,y=C=``,d=o;break;case 58:d=1+BC(C),p=m;default:if(h<1){if(v==123)--h;else if(v==125&&h++==0&&$C()==125)continue}switch(C+=MC(v),v*h){case 38:_=u>0?1:(C+=`\f`,-1);break;case 44:s[l++]=(BC(C)-1)*_,_=1;break;case 64:tw()===45&&(C+=sw(ew())),f=tw(),u=d=BC(y=C+=fw(nw())),v++;break;case 45:m===45&&BC(C)==2&&(h=0)}}return a}function hw(e,t,n,r,i,a,o,s,c,l,u){for(var d=i-1,f=i===0?a:[``],p=VC(f),m=0,h=0,g=0;m<r;++m)for(var _=0,v=zC(e,d+1,d=jC(h=o[m])),y=e;_<p;++_)(y=FC(h>0?f[_]+` `+v:Z(v,/&\f/g,f[_])))&&(c[g++]=y);return XC(e,t,n,i===0?EC:s,c,l,u)}function gw(e,t,n){return XC(e,t,n,TC,MC(QC()),zC(e,2,-2),0)}function _w(e,t,n,r){return XC(e,t,n,DC,zC(e,0,r),zC(e,r+1,-1),r)}function vw(e,t){for(var n=``,r=VC(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||``;return n}function yw(e,t,n,r){switch(e.type){case AC:if(e.children.length)break;case OC:case DC:return e.return=e.return||e.value;case TC:return``;case kC:return e.return=e.value+`{`+vw(e.children,r)+`}`;case EC:e.value=e.props.join(`,`)}return BC(n=vw(e.children,r))?e.return=e.value+`{`+n+`}`:``}function bw(e){var t=VC(e);return function(n,r,i,a){for(var o=``,s=0;s<t;s++)o+=e[s](n,r,i,a)||``;return o}}function xw(e){return function(t){t.root||(t=t.return)&&e(t)}}var Sw=function(e,t,n){for(var r=0,i=0;r=i,i=tw(),r===38&&i===12&&(t[n]=1),!iw(i);)ew();return rw(e,qC)},Cw=function(e,t){var n=-1,r=44;do switch(iw(r)){case 0:r===38&&tw()===12&&(t[n]=1),e[n]+=Sw(qC-1,t,n);break;case 2:e[n]+=sw(r);break;case 4:if(r===44){e[++n]=tw()===58?`&\f`:``,t[n]=e[n].length;break}default:e[n]+=MC(r)}while(r=ew());return e},ww=function(e,t){return ow(Cw(aw(e),t))},Tw=new WeakMap,Ew=function(e){if(!(e.type!==`rule`||!e.parent||e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;n.type!==`rule`;)if(n=n.parent,!n)return;if(!(e.props.length===1&&t.charCodeAt(0)!==58&&!Tw.get(n))&&!r){Tw.set(e,!0);for(var i=[],a=ww(t,i),o=n.props,s=0,c=0;s<a.length;s++)for(var l=0;l<o.length;l++,c++)e.props[c]=i[s]?a[s].replace(/&\f/g,o[l]):o[l]+` `+a[s]}}},Dw=function(e){if(e.type===`decl`){var t=e.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(e.return=``,e.value=``)}};function Ow(e,t){switch(PC(e,t)){case 5103:return X+`print-`+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return X+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return X+e+wC+e+CC+e+e;case 6828:case 4268:return X+e+CC+e+e;case 6165:return X+e+CC+`flex-`+e+e;case 5187:return X+e+Z(e,/(\w+).+(:[^]+)/,X+`box-$1$2`+CC+`flex-$1$2`)+e;case 5443:return X+e+CC+`flex-item-`+Z(e,/flex-|-self/,``)+e;case 4675:return X+e+CC+`flex-line-pack`+Z(e,/align-content|flex-|-self/,``)+e;case 5548:return X+e+CC+Z(e,`shrink`,`negative`)+e;case 5292:return X+e+CC+Z(e,`basis`,`preferred-size`)+e;case 6060:return X+`box-`+Z(e,`-grow`,``)+X+e+CC+Z(e,`grow`,`positive`)+e;case 4554:return X+Z(e,/([^-])(transform)/g,`$1`+X+`$2`)+e;case 6187:return Z(Z(Z(e,/(zoom-|grab)/,X+`$1`),/(image-set)/,X+`$1`),e,``)+e;case 5495:case 3959:return Z(e,/(image-set\([^]*)/,X+"$1$`$1");case 4968:return Z(Z(e,/(.+:)(flex-)?(.*)/,X+`box-pack:$3`+CC+`flex-pack:$3`),/s.+-b[^;]+/,`justify`)+X+e+e;case 4095:case 3583:case 4068:case 2532:return Z(e,/(.+)-inline(.+)/,X+`$1$2`)+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(BC(e)-1-t>6)switch(RC(e,t+1)){case 109:if(RC(e,t+4)!==45)break;case 102:return Z(e,/(.+:)(.+)-([^]+)/,`$1`+X+`$2-$3$1`+wC+(RC(e,t+3)==108?`$3`:`$2-$3`))+e;case 115:return~LC(e,`stretch`)?Ow(Z(e,`stretch`,`fill-available`),t)+e:e}break;case 4949:if(RC(e,t+1)!==115)break;case 6444:switch(RC(e,BC(e)-3-(~LC(e,`!important`)&&10))){case 107:return Z(e,`:`,`:`+X)+e;case 101:return Z(e,/(.+:)([^;!]+)(;|!.+)?/,`$1`+X+(RC(e,14)===45?`inline-`:``)+`box$3$1`+X+`$2$3$1`+CC+`$2box$3`)+e}break;case 5936:switch(RC(e,t+11)){case 114:return X+e+CC+Z(e,/[svh]\w+-[tblr]{2}/,`tb`)+e;case 108:return X+e+CC+Z(e,/[svh]\w+-[tblr]{2}/,`tb-rl`)+e;case 45:return X+e+CC+Z(e,/[svh]\w+-[tblr]{2}/,`lr`)+e}return X+e+CC+e+e}return e}var kw=function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case DC:e.return=Ow(e.value,e.length);break;case kC:return vw([ZC(e,{value:Z(e.value,`@`,`@`+X)})],r);case EC:if(e.length)return UC(e.props,function(t){switch(IC(t,/(::plac\w+|:read-\w+)/)){case`:read-only`:case`:read-write`:return vw([ZC(e,{props:[Z(t,/:(read-\w+)/,`:`+wC+`$1`)]})],r);case`::placeholder`:return vw([ZC(e,{props:[Z(t,/:(plac\w+)/,`:`+X+`input-$1`)]}),ZC(e,{props:[Z(t,/:(plac\w+)/,`:`+wC+`$1`)]}),ZC(e,{props:[Z(t,/:(plac\w+)/,CC+`input-$1`)]})],r)}return``})}},Aw=[kw],jw=function(e){var t=e.key;if(t===`css`){var n=document.querySelectorAll(`style[data-emotion]:not([data-s])`);Array.prototype.forEach.call(n,function(e){var t=e.getAttribute(`data-emotion`);t.indexOf(` `)!==-1&&(document.head.appendChild(e),e.setAttribute(`data-s`,``))})}var r=e.stylisPlugins||Aw,i={},a,o=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll(`style[data-emotion^="`+t+` "]`),function(e){for(var t=e.getAttribute(`data-emotion`).split(` `),n=1;n<t.length;n++)i[t[n]]=!0;o.push(e)});var s,c=[Ew,Dw],l,u=[yw,xw(function(e){l.insert(e)})],d=bw(c.concat(r,u)),f=function(e){return vw(pw(e),d)};s=function(e,t,n,r){l=n,f(e?e+`{`+t.styles+`}`:t.styles),r&&(p.inserted[t.name]=!0)};var p={key:t,sheet:new SC({key:t,container:a,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:s};return p.sheet.hydrate(o),p},Mw=M((exports=>{var t=typeof Symbol==`function`&&Symbol.for,n=t?Symbol.for(`react.element`):60103,r=t?Symbol.for(`react.portal`):60106,i=t?Symbol.for(`react.fragment`):60107,a=t?Symbol.for(`react.strict_mode`):60108,o=t?Symbol.for(`react.profiler`):60114,s=t?Symbol.for(`react.provider`):60109,c=t?Symbol.for(`react.context`):60110,l=t?Symbol.for(`react.async_mode`):60111,u=t?Symbol.for(`react.concurrent_mode`):60111,d=t?Symbol.for(`react.forward_ref`):60112,f=t?Symbol.for(`react.suspense`):60113,p=t?Symbol.for(`react.suspense_list`):60120,m=t?Symbol.for(`react.memo`):60115,h=t?Symbol.for(`react.lazy`):60116,g=t?Symbol.for(`react.block`):60121,_=t?Symbol.for(`react.fundamental`):60117,v=t?Symbol.for(`react.responder`):60118,y=t?Symbol.for(`react.scope`):60119;function b(e){if(typeof e==`object`&&e){var t=e.$$typeof;switch(t){case n:switch(e=e.type,e){case l:case u:case i:case o:case a:case f:return e;default:switch(e&&=e.$$typeof,e){case c:case d:case h:case m:case s:return e;default:return t}}case r:return t}}}function x(e){return b(e)===u}exports.AsyncMode=l,exports.ConcurrentMode=u,exports.ContextConsumer=c,exports.ContextProvider=s,exports.Element=n,exports.ForwardRef=d,exports.Fragment=i,exports.Lazy=h,exports.Memo=m,exports.Portal=r,exports.Profiler=o,exports.StrictMode=a,exports.Suspense=f,exports.isAsyncMode=function(e){return x(e)||b(e)===l},exports.isConcurrentMode=x,exports.isContextConsumer=function(e){return b(e)===c},exports.isContextProvider=function(e){return b(e)===s},exports.isElement=function(e){return typeof e==`object`&&!!e&&e.$$typeof===n},exports.isForwardRef=function(e){return b(e)===d},exports.isFragment=function(e){return b(e)===i},exports.isLazy=function(e){return b(e)===h},exports.isMemo=function(e){return b(e)===m},exports.isPortal=function(e){return b(e)===r},exports.isProfiler=function(e){return b(e)===o},exports.isStrictMode=function(e){return b(e)===a},exports.isSuspense=function(e){return b(e)===f},exports.isValidElementType=function(e){return typeof e==`string`||typeof e==`function`||e===i||e===u||e===o||e===a||e===f||e===p||typeof e==`object`&&!!e&&(e.$$typeof===h||e.$$typeof===m||e.$$typeof===s||e.$$typeof===c||e.$$typeof===d||e.$$typeof===_||e.$$typeof===v||e.$$typeof===y||e.$$typeof===g)},exports.typeOf=b})),Nw=M(((exports,t)=>{t.exports=Mw()})),Pw=M(((exports,t)=>{var n=Nw(),r={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};s[n.ForwardRef]=a,s[n.Memo]=o;function c(e){return n.isMemo(e)?o:s[e.$$typeof]||r}var l=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,m=Object.prototype;function h(e,t,n){if(typeof t!=`string`){if(m){var r=p(t);r&&r!==m&&h(e,r,n)}var a=u(t);d&&(a=a.concat(d(t)));for(var o=c(e),s=c(t),g=0;g<a.length;++g){var _=a[g];if(!i[_]&&!(n&&n[_])&&!(s&&s[_])&&!(o&&o[_])){var v=f(t,_);try{l(e,_,v)}catch{}}}}return e}t.exports=h})),Fw=!0;function Iw(e,t,n){var r=``;return n.split(` `).forEach(function(n){e[n]===void 0?n&&(r+=n+` `):t.push(e[n]+`;`)}),r}var Lw=function(e,t,n){var r=e.key+`-`+t.name;(n===!1||Fw===!1)&&e.registered[r]===void 0&&(e.registered[r]=t.styles)},Rw=function(e,t,n){Lw(e,t,n);var r=e.key+`-`+t.name;if(e.inserted[t.name]===void 0){var i=t;do e.insert(t===i?`.`+r:``,i,e.sheet,!0),i=i.next;while(i!==void 0)}};function zw(e){for(var t=0,n,r=0,i=e.length;i>=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Bw={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};bh();var Vw=!1,Hw=/[A-Z]|^ms/g,Uw=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Ww=function(e){return e.charCodeAt(1)===45},Gw=function(e){return e!=null&&typeof e!=`boolean`},Kw=yh(function(e){return Ww(e)?e:e.replace(Hw,`-$&`).toLowerCase()}),qw=function(e,t){switch(e){case`animation`:case`animationName`:if(typeof t==`string`)return t.replace(Uw,function(e,t,n){return Qw={name:t,styles:n,next:Qw},t})}return Bw[e]!==1&&!Ww(e)&&typeof t==`number`&&t!==0?t+`px`:t},Jw=`Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.`;function Yw(e,t,n){if(n==null)return``;var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case`boolean`:return``;case`object`:var i=n;if(i.anim===1)return Qw={name:i.name,styles:i.styles,next:Qw},i.name;var a=n;if(a.styles!==void 0){var o=a.next;if(o!==void 0)for(;o!==void 0;)Qw={name:o.name,styles:o.styles,next:Qw},o=o.next;var s=a.styles+`;`;return s}return Xw(e,t,n);case`function`:if(e!==void 0){var c=Qw,l=n(e);return Qw=c,Yw(e,t,l)}break}var u=n;if(t==null)return u;var d=t[u];return d===void 0?u:d}function Xw(e,t,n){var r=``;if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=Yw(e,t,n[i])+`;`;else for(var a in n){var o=n[a];if(typeof o!=`object`){var s=o;t!=null&&t[s]!==void 0?r+=a+`{`+t[s]+`}`:Gw(s)&&(r+=Kw(a)+`:`+qw(a,s)+`;`)}else{if(a===`NO_COMPONENT_SELECTOR`&&Vw)throw Error(Jw);if(Array.isArray(o)&&typeof o[0]==`string`&&(t==null||t[o[0]]===void 0))for(var c=0;c<o.length;c++)Gw(o[c])&&(r+=Kw(a)+`:`+qw(a,o[c])+`;`);else{var l=Yw(e,t,o);switch(a){case`animation`:case`animationName`:r+=Kw(a)+`:`+l+`;`;break;default:r+=a+`{`+l+`}`}}}}return r}var Zw=/label:\s*([^\s;{]+)\s*(;|$)/g,Qw;function $w(e,t,n){if(e.length===1&&typeof e[0]==`object`&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,i=``;Qw=void 0;var a=e[0];if(a==null||a.raw===void 0)r=!1,i+=Yw(n,t,a);else{var o=a;i+=o[0]}for(var s=1;s<e.length;s++)if(i+=Yw(n,t,e[s]),r){var c=a;i+=c[s]}Zw.lastIndex=0;for(var l=``,u;(u=Zw.exec(i))!==null;)l+=`-`+u[1];var d=zw(i)+l;return{name:d,styles:i,next:Qw}}var eT=function(e){return e()},tT=e.useInsertionEffect?e.useInsertionEffect:!1,nT=tT||eT;tT||e.useLayoutEffect;var rT=!1,iT=e.createContext(typeof HTMLElement<`u`?jw({key:`css`}):null);iT.Provider;var aT=function(e){return c(function(t,n){var r=d(iT);return e(t,r,n)})},oT=e.createContext({}),sT={}.hasOwnProperty,cT=`__EMOTION_TYPE_PLEASE_DO_NOT_USE__`,lT=function(e,t){var n={};for(var r in t)sT.call(t,r)&&(n[r]=t[r]);return n[cT]=e,n},uT=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return Lw(t,n,r),nT(function(){return Rw(t,n,r)}),null},dT=aT(function(t,n,r){var i=t.css;typeof i==`string`&&n.registered[i]!==void 0&&(i=n.registered[i]);var a=t[cT],o=[i],s=``;typeof t.className==`string`?s=Iw(n.registered,o,t.className):t.className!=null&&(s=t.className+` `);var c=$w(o,void 0,e.useContext(oT));s+=n.key+`-`+c.name;var l={};for(var u in t)sT.call(t,u)&&u!==`css`&&u!==cT&&!rT&&(l[u]=t[u]);return l.className=s,r&&(l.ref=r),e.createElement(e.Fragment,null,e.createElement(uT,{cache:n,serialized:c,isStringTag:typeof a==`string`}),e.createElement(a,l))}),fT=dT;Pw();var Q=function(t,n){var r=arguments;if(n==null||!sT.call(n,`css`))return e.createElement.apply(void 0,r);var i=r.length,a=Array(i);a[0]=fT,a[1]=lT(t,n);for(var o=2;o<i;o++)a[o]=r[o];return e.createElement.apply(null,a)};(function(e){var t;(function(e){})(t||=e.JSX||={})})(Q||={});function pT(){var e=[...arguments];return $w(e)}function mT(){var e=pT.apply(void 0,arguments),t=`animation-`+e.name;return{name:t,styles:`@keyframes `+t+`{`+e.styles+`}`,anim:1,toString:function(){return`_EMO_`+this.name+`_`+this.styles+`_EMO_`}}}function hT(e,t){return t||=e.slice(0),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function gT(e){let t=Ur(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=Dr(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,s=Pn(n)!==a||Pn(r)!==o;return s&&(n=a,r=o),{width:n,height:r,$:s}}function _T(e){return Er(e)?e:e.contextElement}function vT(e){let t=_T(e);if(!Dr(t))return In(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:a}=gT(t),o=(a?Pn(n.width):n.width)/r,s=(a?Pn(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!s||!Number.isFinite(s))&&(s=1),{x:o,y:s}}const yT=In(0);function bT(e){let t=Cr(e);return!Br()||!t.visualViewport?yT:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function xT(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Cr(e)?!1:t}function ST(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);let i=e.getBoundingClientRect(),a=_T(e),o=In(1);t&&(r?Er(r)&&(o=vT(r)):o=vT(e));let s=xT(a,n,r)?bT(a):In(0),c=(i.left+s.x)/o.x,l=(i.top+s.y)/o.y,u=i.width/o.x,d=i.height/o.y;if(a){let e=Cr(a),t=r&&Er(r)?Cr(r):r,n=e,i=n.frameElement;for(;i&&r&&t!==n;){let e=vT(i),t=i.getBoundingClientRect(),r=Ur(i),a=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,o=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,l*=e.y,u*=e.x,d*=e.y,c+=a,l+=o,n=Cr(i),i=n.frameElement}}return or({width:u,height:d,x:c,y:l})}const CT=[`:popover-open`,`:modal`];function wT(e){return CT.some(t=>{try{return e.matches(t)}catch{return!1}})}function TT(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,a=i===`fixed`,o=wr(r),s=t?wT(t.floating):!1;if(r===o||s&&a)return n;let c={scrollLeft:0,scrollTop:0},l=In(1),u=In(0),d=Dr(r);if((d||!d&&!a)&&((Sr(r)!==`body`||Ar(o))&&(c=Wr(r)),Dr(r))){let e=ST(r);l=vT(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-c.scrollLeft*l.x+u.x,y:n.y*l.y-c.scrollTop*l.y+u.y}}function ET(e){return Array.from(e.getClientRects())}function DT(e){return ST(wr(e)).left+Wr(e).scrollLeft}function OT(e){let t=wr(e),n=Wr(e),r=e.ownerDocument.body,i=Nn(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=Nn(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),o=-n.scrollLeft+DT(e),s=-n.scrollTop;return Ur(r).direction===`rtl`&&(o+=Nn(t.clientWidth,r.clientWidth)-i),{width:i,height:a,x:o,y:s}}function kT(e,t){let n=Cr(e),r=wr(e),i=n.visualViewport,a=r.clientWidth,o=r.clientHeight,s=0,c=0;if(i){a=i.width,o=i.height;let e=Br();(!e||e&&t===`fixed`)&&(s=i.offsetLeft,c=i.offsetTop)}return{width:a,height:o,x:s,y:c}}function AT(e,t){let n=ST(e,!0,t===`fixed`),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=Dr(e)?vT(e):In(1),o=e.clientWidth*a.x,s=e.clientHeight*a.y,c=i*a.x,l=r*a.y;return{width:o,height:s,x:c,y:l}}function jT(e,t,n){let r;if(t===`viewport`)r=kT(e,n);else if(t===`document`)r=OT(wr(e));else if(Er(t))r=AT(t,n);else{let n=bT(e);r={...t,x:t.x-n.x,y:t.y-n.y}}return or(r)}function MT(e,t){let n=Gr(e);return n===t||!Er(n)||Hr(n)?!1:Ur(n).position===`fixed`||MT(n,t)}function NT(e,t){let n=t.get(e);if(n)return n;let r=qr(e,[],!1).filter(e=>Er(e)&&Sr(e)!==`body`),i=null,a=Ur(e).position===`fixed`,o=a?Gr(e):e;for(;Er(o)&&!Hr(o);){let t=Ur(o),n=Rr(o);!n&&t.position===`fixed`&&(i=null);let s=a?!n&&!i:!n&&t.position===`static`&&!!i&&[`absolute`,`fixed`].includes(i.position)||Ar(o)&&!n&&MT(e,o);s?r=r.filter(e=>e!==o):i=t,o=Gr(o)}return t.set(e,r),r}function PT(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=n===`clippingAncestors`?NT(t,this._c):[].concat(n),o=[...a,r],s=o[0],c=o.reduce((e,n)=>{let r=jT(t,n,i);return e.top=Nn(r.top,e.top),e.right=Mn(r.right,e.right),e.bottom=Mn(r.bottom,e.bottom),e.left=Nn(r.left,e.left),e},jT(t,s,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function FT(e){let{width:t,height:n}=gT(e);return{width:t,height:n}}function IT(e,t,n){let r=Dr(t),i=wr(t),a=n===`fixed`,o=ST(e,!0,a,t),s={scrollLeft:0,scrollTop:0},c=In(0);if(r||!r&&!a)if((Sr(t)!==`body`||Ar(i))&&(s=Wr(t)),r){let e=ST(t,!0,a,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else i&&(c.x=DT(i));let l=o.left+s.scrollLeft-c.x,u=o.top+s.scrollTop-c.y;return{x:l,y:u,width:o.width,height:o.height}}function LT(e,t){return!Dr(e)||Ur(e).position===`fixed`?null:t?t(e):e.offsetParent}function RT(e,t){let n=Cr(e);if(!Dr(e)||wT(e))return n;let r=LT(e,t);for(;r&&Mr(r)&&Ur(r).position===`static`;)r=LT(r,t);return r&&(Sr(r)===`html`||Sr(r)===`body`&&Ur(r).position===`static`&&!Rr(r))?n:r||zr(e)||n}const zT=async function(e){let t=this.getOffsetParent||RT,n=this.getDimensions;return{reference:IT(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,...await n(e.floating)}}};function BT(e){return Ur(e).direction===`rtl`}const VT={convertOffsetParentRelativeRectToViewportRelativeRect:TT,getDocumentElement:wr,getClippingRect:PT,getOffsetParent:RT,getElementRects:zT,getClientRects:ET,getDimensions:FT,getScale:vT,isElement:Er,isRTL:BT};function HT(e,t){let n=null,r,i=wr(e);function a(){var e;clearTimeout(r),(e=n)==null||e.disconnect(),n=null}function o(s,c){s===void 0&&(s=!1),c===void 0&&(c=1),a();let{left:l,top:u,width:d,height:f}=e.getBoundingClientRect();if(s||t(),!d||!f)return;let p=Fn(u),m=Fn(i.clientWidth-(l+d)),h=Fn(i.clientHeight-(u+f)),g=Fn(l),_=-p+`px `+-m+`px `+-h+`px `+-g+`px`,v={rootMargin:_,threshold:Nn(0,Mn(1,c))||1},y=!0;function b(e){let t=e[0].intersectionRatio;if(t!==c){if(!y)return o();t?o(!1,t):r=setTimeout(()=>{o(!1,1e-7)},100)}y=!1}try{n=new IntersectionObserver(b,{...v,root:i.ownerDocument})}catch{n=new IntersectionObserver(b,v)}n.observe(e)}return o(!0),a}function UT(e,t,n,r){r===void 0&&(r={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:o=typeof ResizeObserver==`function`,layoutShift:s=typeof IntersectionObserver==`function`,animationFrame:c=!1}=r,l=_T(e),u=i||a?[...l?qr(l):[],...qr(t)]:[];u.forEach(e=>{i&&e.addEventListener(`scroll`,n,{passive:!0}),a&&e.addEventListener(`resize`,n)});let d=l&&s?HT(l,n):null,f=-1,p=null;o&&(p=new ResizeObserver(e=>{let[r]=e;r&&r.target===l&&p&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;(e=p)==null||e.observe(t)})),n()}),l&&!c&&p.observe(l),p.observe(t));let m,h=c?ST(e):null;c&&g();function g(){let t=ST(e);h&&(t.x!==h.x||t.y!==h.y||t.width!==h.width||t.height!==h.height)&&n(),h=t,m=requestAnimationFrame(g)}return n(),()=>{var e;u.forEach(e=>{i&&e.removeEventListener(`scroll`,n),a&&e.removeEventListener(`resize`,n)}),d?.(),(e=p)==null||e.disconnect(),p=null,c&&cancelAnimationFrame(m)}}const WT=vr,GT=dr,KT=ur,qT=(e,t,n)=>{let r=new Map,i={platform:VT,...n},a={...i.platform,_c:r};return cr(e,t,{...i,platform:a})};var JT=h,YT=[`className`,`clearValue`,`cx`,`getStyles`,`getClassNames`,`getValue`,`hasValue`,`isMulti`,`isRtl`,`options`,`selectOption`,`selectProps`,`setValue`,`theme`],XT=function(){};function ZT(e,t){return t?t[0]===`-`?e+t:e+`__`+t:e}function QT(e,t){var n=[...arguments].slice(2),r=[].concat(n);if(t&&e)for(var i in t)t.hasOwnProperty(i)&&t[i]&&r.push(`${ZT(e,i)}`);return r.filter(function(e){return e}).map(function(e){return String(e).trim()}).join(` `)}var $T=function(e){return vE(e)?e.filter(Boolean):WS(e)===`object`&&e!==null?[e]:[]},eE=function(e){e.className,e.clearValue,e.cx,e.getStyles,e.getClassNames,e.getValue,e.hasValue,e.isMulti,e.isRtl,e.options,e.selectOption,e.selectProps,e.setValue,e.theme;var t=nC(e,YT);return J({},t)},tE=function(e,t,n){var r=e.cx,i=e.getStyles,a=e.getClassNames,o=e.className;return{css:i(t,e),className:r(n??{},a(t,e),o)}};function nE(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function rE(e){return nE(e)?window.innerHeight:e.clientHeight}function iE(e){return nE(e)?window.pageYOffset:e.scrollTop}function aE(e,t){if(nE(e)){window.scrollTo(0,t);return}e.scrollTop=t}function oE(e){var t=getComputedStyle(e),n=t.position===`absolute`,r=/(auto|scroll)/;if(t.position===`fixed`)return document.documentElement;for(var i=e;i=i.parentElement;)if(t=getComputedStyle(i),!(n&&t.position===`static`)&&r.test(t.overflow+t.overflowY+t.overflowX))return i;return document.documentElement}function sE(e,t,n,r){return n*((e=e/r-1)*e*e+1)+t}function cE(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:XT,i=iE(e),a=t-i,o=10,s=0;function c(){s+=o;var t=sE(s,i,a,n);aE(e,t),s<n?window.requestAnimationFrame(c):r(e)}c()}function lE(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),i=t.offsetHeight/3;r.bottom+i>n.bottom?aE(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+i,e.scrollHeight)):r.top-i<n.top&&aE(e,Math.max(t.offsetTop-i,0))}function uE(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 dE(){try{return document.createEvent(`TouchEvent`),!0}catch{return!1}}function fE(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}var pE=!1,mE={get passive(){return pE=!0}},hE=typeof window<`u`?window:{};hE.addEventListener&&hE.removeEventListener&&(hE.addEventListener(`p`,XT,mE),hE.removeEventListener(`p`,XT,!1));var gE=pE;function _E(e){return e!=null}function vE(e){return Array.isArray(e)}function yE(e,t,n){return e?t:n}function bE(e){return e}function xE(e){return e}var SE=function(e){var t=[...arguments].slice(1),n=Object.entries(e).filter(function(e){var n=eC(e,1),r=n[0];return!t.includes(r)});return n.reduce(function(e,t){var n=eC(t,2),r=n[0],i=n[1];return e[r]=i,e},{})},CE=[`children`,`innerProps`],wE=[`children`,`innerProps`];function TE(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,i=e.placement,a=e.shouldScroll,o=e.isFixedPosition,s=e.controlHeight,c=oE(n),l={placement:`bottom`,maxHeight:t};if(!n||!n.offsetParent)return l;var u=c.getBoundingClientRect(),d=u.height,f=n.getBoundingClientRect(),p=f.bottom,m=f.height,h=f.top,g=n.offsetParent.getBoundingClientRect(),_=g.top,v=o?window.innerHeight:rE(c),y=iE(c),b=parseInt(getComputedStyle(n).marginBottom,10),x=parseInt(getComputedStyle(n).marginTop,10),S=_-x,C=v-h,w=S+y,T=d-y-h,E=p-v+y+b,D=y+h-x,O=160;switch(i){case`auto`:case`bottom`:if(C>=m)return{placement:`bottom`,maxHeight:t};if(T>=m&&!o)return a&&cE(c,E,O),{placement:`bottom`,maxHeight:t};if(!o&&T>=r||o&&C>=r){a&&cE(c,E,O);var k=o?C-b:T-b;return{placement:`bottom`,maxHeight:k}}if(i===`auto`||o){var A=t,j=o?S:w;return j>=r&&(A=Math.min(j-b-s,t)),{placement:`top`,maxHeight:A}}if(i===`bottom`)return a&&aE(c,E),{placement:`bottom`,maxHeight:t};break;case`top`:if(S>=m)return{placement:`top`,maxHeight:t};if(w>=m&&!o)return a&&cE(c,D,O),{placement:`top`,maxHeight:t};if(!o&&w>=r||o&&S>=r){var M=t;return(!o&&w>=r||o&&S>=r)&&(M=o?S-x:w-x),a&&cE(c,D,O),{placement:`top`,maxHeight:M}}return{placement:`bottom`,maxHeight:t};default:throw Error(`Invalid placement provided "${i}".`)}return l}function EE(e){var t={bottom:`top`,top:`bottom`};return e?t[e]:`bottom`}var DE=function(e){return e===`auto`?`bottom`:e},OE=function(e,t){var n,r=e.placement,i=e.theme,a=i.borderRadius,o=i.spacing,s=i.colors;return J((n={label:`menu`},qS(n,EE(r),`100%`),qS(n,`position`,`absolute`),qS(n,`width`,`100%`),qS(n,`zIndex`,1),n),t?{}:{backgroundColor:s.neutral0,borderRadius:a,boxShadow:`0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)`,marginBottom:o.menuGutter,marginTop:o.menuGutter})},kE=o(null),AE=function(e){var t=e.children,n=e.minMenuHeight,r=e.maxMenuHeight,i=e.menuPlacement,a=e.menuPosition,o=e.menuShouldScrollIntoView,s=e.theme,c=d(kE)||{},l=c.setPortalPlacement,u=_(null),f=v(r),p=eC(f,2),m=p[0],h=p[1],g=v(null),y=eC(g,2),b=y[0],x=y[1],S=s.spacing.controlHeight;return JT(function(){var e=u.current;if(e){var t=a===`fixed`,s=o&&!t,c=TE({maxHeight:r,menuEl:e,minHeight:n,placement:i,shouldScroll:s,isFixedPosition:t,controlHeight:S});h(c.maxHeight),x(c.placement),l?.(c.placement)}},[r,i,a,o,n,l,S]),t({ref:u,placerProps:J(J({},e),{},{placement:b||DE(i),maxHeight:m})})},jE=function(e){var t=e.children,n=e.innerRef,r=e.innerProps;return Q(`div`,Y({},tE(e,`menu`,{menu:!0}),{ref:n},r),t)},ME=jE,NE=function(e,t){var n=e.maxHeight,r=e.theme.spacing.baseUnit;return J({maxHeight:n,overflowY:`auto`,position:`relative`,WebkitOverflowScrolling:`touch`},t?{}:{paddingBottom:r,paddingTop:r})},PE=function(e){var t=e.children,n=e.innerProps,r=e.innerRef,i=e.isMulti;return Q(`div`,Y({},tE(e,`menuList`,{"menu-list":!0,"menu-list--is-multi":i}),{ref:r},n),t)},FE=function(e,t){var n=e.theme,r=n.spacing.baseUnit,i=n.colors;return J({textAlign:`center`},t?{}:{color:i.neutral40,padding:`${r*2}px ${r*3}px`})},IE=FE,LE=FE,RE=function(e){var t=e.children,n=t===void 0?`No options`:t,r=e.innerProps,i=nC(e,CE);return Q(`div`,Y({},tE(J(J({},i),{},{children:n,innerProps:r}),`noOptionsMessage`,{"menu-notice":!0,"menu-notice--no-options":!0}),r),n)},zE=function(e){var t=e.children,n=t===void 0?`Loading...`:t,r=e.innerProps,i=nC(e,wE);return Q(`div`,Y({},tE(J(J({},i),{},{children:n,innerProps:r}),`loadingMessage`,{"menu-notice":!0,"menu-notice--loading":!0}),r),n)},BE=function(e){var t=e.rect,n=e.offset,r=e.position;return{left:t.left,position:r,top:n,width:t.width,zIndex:1}},VE=function(e){var t=e.appendTo,n=e.children,r=e.controlElement,i=e.innerProps,a=e.menuPlacement,o=e.menuPosition,s=_(null),c=_(null),l=v(DE(a)),d=eC(l,2),f=d[0],p=d[1],m=g(function(){return{setPortalPlacement:p}},[]),h=v(null),y=eC(h,2),b=y[0],x=y[1],S=u(function(){if(r){var e=uE(r),t=o===`fixed`?0:window.pageYOffset,n=e[f]+t;(n!==b?.offset||e.left!==b?.rect.left||e.width!==b?.rect.width)&&x({offset:n,rect:e})}},[r,o,f,b?.offset,b?.rect.left,b?.rect.width]);JT(function(){S()},[S]);var C=u(function(){typeof c.current==`function`&&(c.current(),c.current=null),r&&s.current&&(c.current=UT(r,s.current,S,{elementResize:`ResizeObserver`in window}))},[r,S]);JT(function(){C()},[C]);var T=u(function(e){s.current=e,C()},[C]);if(!t&&o!==`fixed`||!b)return null;var E=Q(`div`,Y({ref:T},tE(J(J({},e),{},{offset:b.offset,position:o,rect:b.rect}),`menuPortal`,{"menu-portal":!0}),i),n);return Q(kE.Provider,{value:m},t?w(E,t):E)},HE=function(e){var t=e.isDisabled,n=e.isRtl;return{label:`container`,direction:n?`rtl`:void 0,pointerEvents:t?`none`:void 0,position:`relative`}},UE=function(e){var t=e.children,n=e.innerProps,r=e.isDisabled,i=e.isRtl;return Q(`div`,Y({},tE(e,`container`,{"--is-disabled":r,"--is-rtl":i}),n),t)},WE=function(e,t){var n=e.theme.spacing,r=e.isMulti,i=e.hasValue,a=e.selectProps.controlShouldRenderValue;return J({alignItems:`center`,display:r&&i&&a?`flex`:`grid`,flex:1,flexWrap:`wrap`,WebkitOverflowScrolling:`touch`,position:`relative`,overflow:`hidden`},t?{}:{padding:`${n.baseUnit/2}px ${n.baseUnit*2}px`})},GE=function(e){var t=e.children,n=e.innerProps,r=e.isMulti,i=e.hasValue;return Q(`div`,Y({},tE(e,`valueContainer`,{"value-container":!0,"value-container--is-multi":r,"value-container--has-value":i}),n),t)},KE=function(){return{alignItems:`center`,alignSelf:`stretch`,display:`flex`,flexShrink:0}},qE=function(e){var t=e.children,n=e.innerProps;return Q(`div`,Y({},tE(e,`indicatorsContainer`,{indicators:!0}),n),t)},JE,YE=[`size`],XE=[`innerProps`,`isRtl`,`size`],ZE={name:`8mmkcg`,styles:`display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0`},QE=function(e){var t=e.size,n=nC(e,YE);return Q(`svg`,Y({height:t,width:t,viewBox:`0 0 20 20`,"aria-hidden":`true`,focusable:`false`,css:ZE},n))},$E=function(e){return Q(QE,Y({size:20},e),Q(`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`}))},eD=function(e){return Q(QE,Y({size:20},e),Q(`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`}))},tD=function(e,t){var n=e.isFocused,r=e.theme,i=r.spacing.baseUnit,a=r.colors;return J({label:`indicatorContainer`,display:`flex`,transition:`color 150ms`},t?{}:{color:n?a.neutral60:a.neutral20,padding:i*2,":hover":{color:n?a.neutral80:a.neutral40}})},nD=tD,rD=function(e){var t=e.children,n=e.innerProps;return Q(`div`,Y({},tE(e,`dropdownIndicator`,{indicator:!0,"dropdown-indicator":!0}),n),t||Q(eD,null))},iD=tD,aD=function(e){var t=e.children,n=e.innerProps;return Q(`div`,Y({},tE(e,`clearIndicator`,{indicator:!0,"clear-indicator":!0}),n),t||Q($E,null))},oD=function(e,t){var n=e.isDisabled,r=e.theme,i=r.spacing.baseUnit,a=r.colors;return J({label:`indicatorSeparator`,alignSelf:`stretch`,width:1},t?{}:{backgroundColor:n?a.neutral10:a.neutral20,marginBottom:i*2,marginTop:i*2})},sD=function(e){var t=e.innerProps;return Q(`span`,Y({},t,tE(e,`indicatorSeparator`,{"indicator-separator":!0})))},cD=mT(JE||=hT([`
177
+ tw:dark:bg-sq-dark-background`,e),...r,children:[b(yx,{className:`tw:hidden`}),n]})]})}));Bx.displayName=Nx.displayName;const Vx=e=>b(`div`,{className:`tw:w-full tw:justify-between`,children:b(`div`,{...e})});Vx.displayName=`DialogHeader`;const Hx=e=>b(`div`,{...e});Hx.displayName=`DialogFooter`;const Ux=c((e,t)=>b(Px,{ref:t,...e}));Ux.displayName=Px.displayName;const Wx=c((e,t)=>b(Fx,{asChild:!0,children:b(`div`,{ref:t,...e})}));Wx.displayName=Fx.displayName;const Gx=({titleIcon:e,title:t=`Modal title example`,titleSuffixLabel:n,subtitle:r,children:i,open:a=!1,onClose:o,customButton:s=!1,customButtonLabel:c=`Back`,onClickCustomButton:l,submitButtonLabel:u=`Submit`,cancelButtonLabel:d=`Cancel`,disableSubmitButton:p=!1,stopPropagationSubmitButton:m=!1,onSubmit:h,isTitleEditable:g=!1,onTitleChanged:_,inputExtraClassNames:S,hideCloseIcon:C=!1,size:w=`xl`,titleIconPosition:T=`left`,hideFooterButtons:E=!1,hideSubmitButton:D=!1,hideCancelButton:O=!1,testId:k=`modal`,modalFooter:A,dialogClassName:j,titlePlaceholder:M,titleRequired:N,titleError:P,submitButtonTooltip:ee,cancelButtonTooltip:F,disableCustomButton:I,customHeader:L,middleFooterSection:R=b(y,{}),customButtonVariant:te=`outline`,submitButtonVariant:z=`theme`,keepFocusInsideModal:ne=!0,onPointerDownOutside:B,onInteractOutside:re,ariaDescribedBy:ie})=>{let[ae,oe]=v(!1);f(()=>{if(a){let e=setTimeout(()=>{document.body.style.pointerEvents=``},0);return()=>clearTimeout(e)}else document.body.style.pointerEvents=`auto`},[a]);let se=async e=>{if(h)try{oe(!0),await h(e)}finally{oe(!1)}},ce=()=>{let i=b(y,{});return e&&(i=typeof e==`string`?b(jt,{icon:e,testId:`modalTitleIcon`,extraClassNames:`tw:flex tw:text-xl tw:mt-1 tw:!leading-normal`}):b(`div`,{className:`tw:mt-2`,children:e})),x(y,{children:[e&&T===`left`?b(`div`,{className:`tw:mr-2 tw:flex`,children:i}):b(y,{}),b(Ux,{asChild:!0,children:g?x(`div`,{className:`tw:flex tw:w-full tw:items-center`,children:[b(Jb,{extraClassNames:S,value:t,type:`text`,testId:`modalTitle`,onChange:_,placeholder:M,required:N,showError:!!P}),P&&b(`p`,{className:`tw:mb-0 tw:min-w-fit tw:pl-2 tw:text-sq-danger`,children:P})]}):L??x(`div`,{"data-testid":`modalTitle`,className:`modal-title`,children:[x(`div`,{className:`tw:flex tw:items-center`,children:[b(`h3`,{children:t}),n&&b(`span`,{className:`tw:pl-0.5 tw:text-xl`,children:n})]}),r&&b(`div`,{className:`tw:mt-1 tw:text-left tw:text-sm tw:italic`,"data-testid":`modal-subtitle`,children:r})]})}),e&&T===`right`?b(`div`,{className:`tw:ml-4 tw:flex`,children:i}):b(y,{})]})};return a?b(Lx,{open:!0,onOpenChange:o,modal:ne,children:x(Bx,{onPointerDownOutside:e=>B?B(e):e.preventDefault(),onInteractOutside:e=>re?re(e):e.preventDefault(),"data-testid":k,"aria-describedby":ie,className:St(`modalContent`,`tw:w-full tw:gap-0! tw:border-0 tw:shadow-none tw:dark:border tw:dark:border-gray-500 tw:dark:text-sq-dark-text`,{"tw:max-w-xs":w===`xs`,"tw:max-w-sm":w===`sm`,"tw:max-w-md":w===`md`,"tw:max-w-lg":w===`lg`,"tw:max-w-xl":w===`xl`,"tw:max-w-2xl":w===`2xl`,"tw:max-w-3xl":w===`3xl`,"tw:max-w-4xl":w===`4xl`,"tw:max-w-5xl":w===`5xl`,"tw:max-w-6xl":w===`6xl`},j),children:[x(Vx,{className:St(`modal-header`,`tw:flex tw:w-full tw:justify-between tw:border-0 tw:border-b tw:border-sq-disabled-gray tw:px-6 tw:py-4 tw:dark:border-sq-dark-disabled-gray`),children:[b(`div`,{className:`tw:flex tw:w-full`,children:ce()}),!C&&b(zx,{autoFocus:!1,className:St(`close`,`tw:ml-4 tw:cursor-pointer tw:bg-transparent tw:text-base tw:opacity-70 tw:hover:opacity-100`),"data-testid":`closeButton`,children:b(`span`,{className:`tw:cursor-pointer`,children:`×`})})]}),b(Wx,{className:St(`modal-body`,`tw:overflow-y-auto tw:px-6 tw:py-4`),children:i}),!E&&b(Hx,{className:St(`modal-footer`,`tw:px-6 tw:py-4`),children:A??x(`div`,{className:`tw:flex tw:w-full tw:justify-between`,"data-testid":`modalFooter`,children:[b(`div`,{className:`tw:flex tw:justify-start`,children:s&&b(Kt,{label:c,onClick:l,disabled:I,extraClassNames:`tw:justify-start tw:min-w-25`,testId:`customButton`,variant:te})}),x(`div`,{className:`tw:flex tw:justify-end`,children:[b(`div`,{className:`tw:flex tw:items-center`,children:R}),!O&&b(zx,{asChild:!0,children:b(Kt,{label:d,extraClassNames:`tw:mr-5 tw:min-w-25`,tooltip:F,variant:`outline`,stopPropagation:!1,testId:`cancelButton`})}),!D&&b(Kt,{label:u,onClick:se,disabled:p||ae,variant:z,stopPropagation:m,tooltip:ee,icon:ae?`fc-loading-notch tw:animate-spin`:void 0,iconPosition:`left`,testId:`submitButton`,extraClassNames:`tw:min-w-25`})]})]})})]})}):b(y,{})};var Kx=Gx;const qx=(...e)=>{console?.warn&&(eS(e[0])&&(e[0]=`react-i18next:: ${e[0]}`),console.warn(...e))},Jx={},Yx=(...e)=>{eS(e[0])&&Jx[e[0]]||(eS(e[0])&&(Jx[e[0]]=new Date),qx(...e))},Xx=(e,t)=>()=>{if(e.isInitialized)t();else{let n=()=>{setTimeout(()=>{e.off(`initialized`,n)},0),t()};e.on(`initialized`,n)}},Zx=(e,t,n)=>{e.loadNamespaces(t,Xx(e,n))},Qx=(e,t,n,r)=>{eS(n)&&(n=[n]),n.forEach(t=>{e.options.ns.indexOf(t)<0&&e.options.ns.push(t)}),e.loadLanguages(t,Xx(e,r))},$x=(e,t,n={})=>!t.languages||!t.languages.length?(Yx(`i18n.languages were undefined or empty`,t.languages),!0):t.hasLoadedNamespace(e,{lng:n.lng,precheck:(t,r)=>{if(n.bindI18n?.indexOf(`languageChanging`)>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!r(t.isLanguageChangingTo,e))return!1}}),eS=e=>typeof e==`string`,tS=e=>typeof e==`object`&&!!e,nS=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,rS={"&amp;":`&`,"&#38;":`&`,"&lt;":`<`,"&#60;":`<`,"&gt;":`>`,"&#62;":`>`,"&apos;":`'`,"&#39;":`'`,"&quot;":`"`,"&#34;":`"`,"&nbsp;":` `,"&#160;":` `,"&copy;":`©`,"&#169;":`©`,"&reg;":`®`,"&#174;":`®`,"&hellip;":`…`,"&#8230;":`…`,"&#x2F;":`/`,"&#47;":`/`},iS=e=>rS[e],aS=e=>e.replace(nS,iS);let oS={bindI18n:`languageChanged`,bindI18nStore:``,transEmptyNodeValue:``,transSupportBasicHtmlNodes:!0,transWrapTextNodes:``,transKeepBasicHtmlNodesFor:[`br`,`strong`,`i`,`p`],useSuspense:!0,unescape:aS};const sS=()=>oS,cS=()=>void 0,lS=o();var uS=class{constructor(){this.usedNamespaces={}}addUsedNamespaces(e){e.forEach(e=>{this.usedNamespaces[e]??=!0})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}};const dS=(e,t)=>{let n=_();return f(()=>{n.current=t?n.current:e},[e,t]),n.current},fS=(e,t,n,r)=>e.getFixedT(t,n,r),pS=(e,t,n,r)=>u(fS(e,t,n,r),[e,t,n,r]),mS=(e,t={})=>{let{i18n:n}=t,{i18n:r,defaultNS:i}=d(lS)||{},a=n||r||cS();if(a&&!a.reportNamespaces&&(a.reportNamespaces=new uS),!a){Yx(`You will need to pass in an i18next instance by using initReactI18next`);let e=(e,t)=>eS(t)?t:tS(t)&&eS(t.defaultValue)?t.defaultValue:Array.isArray(e)?e[e.length-1]:e,t=[e,{},!1];return t.t=e,t.i18n={},t.ready=!1,t}a.options.react?.wait&&Yx(`It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.`);let o={...sS(),...a.options.react,...t},{useSuspense:s,keyPrefix:c}=o,l=e||i||a.options?.defaultNS;l=eS(l)?[l]:l||[`translation`],a.reportNamespaces.addUsedNamespaces?.(l);let u=(a.isInitialized||a.initializedStoreOnce)&&l.every(e=>$x(e,a,o)),p=pS(a,t.lng||null,o.nsMode===`fallback`?l:l[0],c),m=()=>p,h=()=>fS(a,t.lng||null,o.nsMode===`fallback`?l:l[0],c),[g,y]=v(m),b=l.join();t.lng&&(b=`${t.lng}${b}`);let x=dS(b),S=_(!0);f(()=>{let{bindI18n:e,bindI18nStore:n}=o;S.current=!0,!u&&!s&&(t.lng?Qx(a,t.lng,l,()=>{S.current&&y(h)}):Zx(a,l,()=>{S.current&&y(h)})),u&&x&&x!==b&&S.current&&y(h);let r=()=>{S.current&&y(h)};return e&&a?.on(e,r),n&&a?.store.on(n,r),()=>{S.current=!1,a&&e?.split(` `).forEach(e=>a.off(e,r)),n&&a&&n.split(` `).forEach(e=>a.store.off(e,r))}},[a,b]),f(()=>{S.current&&u&&y(m)},[a,c,u]);let C=[g,a,u];if(C.t=g,C.i18n=a,C.ready=u,u||!u&&!s)return C;throw new Promise(e=>{t.lng?Qx(a,t.lng,l,()=>e()):Zx(a,l,()=>e())})};function hS(e){"@babel/helpers - typeof";return hS=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},hS(e)}function gS(e,t){if(hS(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(hS(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function _S(e){var t=gS(e,`string`);return hS(t)==`symbol`?t:t+``}function vS(e,t,n){return(t=_S(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yS(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function J(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?yS(Object(n),!0).forEach(function(t){vS(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yS(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function bS(e){if(Array.isArray(e))return e}function xS(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function SS(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function CS(e,t){if(e){if(typeof e==`string`)return SS(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?SS(e,t):void 0}}function wS(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
178
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function TS(e,t){return bS(e)||xS(e,t)||CS(e,t)||wS()}function ES(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function DS(e,t){if(e==null)return{};var n,r,i=ES(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var OS=[`defaultInputValue`,`defaultMenuIsOpen`,`defaultValue`,`inputValue`,`menuIsOpen`,`onChange`,`onInputChange`,`onMenuClose`,`onMenuOpen`,`value`];function kS(e){var t=e.defaultInputValue,n=t===void 0?``:t,r=e.defaultMenuIsOpen,i=r===void 0?!1:r,a=e.defaultValue,o=a===void 0?null:a,s=e.inputValue,c=e.menuIsOpen,l=e.onChange,d=e.onInputChange,f=e.onMenuClose,p=e.onMenuOpen,m=e.value,h=DS(e,OS),g=v(s===void 0?n:s),_=TS(g,2),y=_[0],b=_[1],x=v(c===void 0?i:c),S=TS(x,2),C=S[0],w=S[1],T=v(m===void 0?o:m),E=TS(T,2),D=E[0],O=E[1],k=u(function(e,t){typeof l==`function`&&l(e,t),O(e)},[l]),A=u(function(e,t){var n;typeof d==`function`&&(n=d(e,t)),b(n===void 0?e:n)},[d]),j=u(function(){typeof p==`function`&&p(),w(!0)},[p]),M=u(function(){typeof f==`function`&&f(),w(!1)},[f]),N=s===void 0?y:s,P=c===void 0?C:c,ee=m===void 0?D:m;return J(J({},h),{},{inputValue:N,menuIsOpen:P,onChange:k,onInputChange:A,onMenuClose:M,onMenuOpen:j,value:ee})}function Y(){return Y=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Y.apply(null,arguments)}function AS(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function jS(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,_S(r.key),r)}}function MS(e,t,n){return t&&jS(e.prototype,t),n&&jS(e,n),Object.defineProperty(e,`prototype`,{writable:!1}),e}function NS(e,t){return NS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},NS(e,t)}function PS(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Super expression must either be null or a function`);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,`prototype`,{writable:!1}),t&&NS(e,t)}function FS(e){return FS=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},FS(e)}function IS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(IS=function(){return!!e})()}function LS(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function RS(e,t){if(t&&(hS(t)==`object`||typeof t==`function`))return t;if(t!==void 0)throw TypeError(`Derived constructors may only return object or undefined`);return LS(e)}function zS(e){var t=IS();return function(){var n,r=FS(e);if(t){var i=FS(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return RS(this,n)}}function BS(e){if(Array.isArray(e))return SS(e)}function VS(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}function HS(){throw TypeError(`Invalid attempt to spread non-iterable instance.
179
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function US(e){return BS(e)||VS(e)||CS(e)||HS()}var WS=!1;function GS(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function KS(e){var t=document.createElement(`style`);return t.setAttribute(`data-emotion`,e.key),e.nonce!==void 0&&t.setAttribute(`nonce`,e.nonce),t.appendChild(document.createTextNode(``)),t.setAttribute(`data-s`,``),t}var qS=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=t.tags.length===0?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=e.speedy===void 0?!WS:e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(KS(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=GS(t);try{n.insertRule(e,n.cssRules.length)}catch{}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){var t;return(t=e.parentNode)?.removeChild(e)}),this.tags=[],this.ctr=0},e}(),JS=`-ms-`,YS=`-moz-`,X=`-webkit-`,XS=`comm`,ZS=`rule`,QS=`decl`,$S=`@import`,eC=`@keyframes`,tC=`@layer`,nC=Math.abs,rC=String.fromCharCode,iC=Object.assign;function aC(e,t){return lC(e,0)^45?(((t<<2^lC(e,0))<<2^lC(e,1))<<2^lC(e,2))<<2^lC(e,3):0}function oC(e){return e.trim()}function sC(e,t){return(e=t.exec(e))?e[0]:e}function Z(e,t,n){return e.replace(t,n)}function cC(e,t){return e.indexOf(t)}function lC(e,t){return e.charCodeAt(t)|0}function uC(e,t,n){return e.slice(t,n)}function dC(e){return e.length}function fC(e){return e.length}function pC(e,t){return t.push(e),e}function mC(e,t){return e.map(t).join(``)}var hC=1,gC=1,_C=0,vC=0,yC=0,bC=``;function xC(e,t,n,r,i,a,o){return{value:e,root:t,parent:n,type:r,props:i,children:a,line:hC,column:gC,length:o,return:``}}function SC(e,t){return iC(xC(``,null,null,``,null,null,0),e,{length:-e.length},t)}function CC(){return yC}function wC(){return yC=vC>0?lC(bC,--vC):0,gC--,yC===10&&(gC=1,hC--),yC}function TC(){return yC=vC<_C?lC(bC,vC++):0,gC++,yC===10&&(gC=1,hC++),yC}function EC(){return lC(bC,vC)}function DC(){return vC}function OC(e,t){return uC(bC,e,t)}function kC(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function AC(e){return hC=gC=1,_C=dC(bC=e),vC=0,[]}function jC(e){return bC=``,e}function MC(e){return oC(OC(vC-1,FC(e===91?e+2:e===40?e+1:e)))}function NC(e){for(;(yC=EC())&&yC<33;)TC();return kC(e)>2||kC(yC)>3?``:` `}function PC(e,t){for(;--t&&TC()&&!(yC<48||yC>102||yC>57&&yC<65||yC>70&&yC<97););return OC(e,DC()+(t<6&&EC()==32&&TC()==32))}function FC(e){for(;TC();)switch(yC){case e:return vC;case 34:case 39:e!==34&&e!==39&&FC(yC);break;case 40:e===41&&FC(e);break;case 92:TC();break}return vC}function IC(e,t){for(;TC()&&e+yC!==57&&!(e+yC===84&&EC()===47););return`/*`+OC(t,vC-1)+`*`+rC(e===47?e:TC())}function LC(e){for(;!kC(EC());)TC();return OC(e,vC)}function RC(e){return jC(zC(``,null,null,null,[``],e=AC(e),0,[0],e))}function zC(e,t,n,r,i,a,o,s,c){for(var l=0,u=0,d=o,f=0,p=0,m=0,h=1,g=1,_=1,v=0,y=``,b=i,x=a,S=r,C=y;g;)switch(m=v,v=TC()){case 40:if(m!=108&&lC(C,d-1)==58){cC(C+=Z(MC(v),`&`,`&\f`),`&\f`)!=-1&&(_=-1);break}case 34:case 39:case 91:C+=MC(v);break;case 9:case 10:case 13:case 32:C+=NC(m);break;case 92:C+=PC(DC()-1,7);continue;case 47:switch(EC()){case 42:case 47:pC(VC(IC(TC(),DC()),t,n),c);break;default:C+=`/`}break;case 123*h:s[l++]=dC(C)*_;case 125*h:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:_==-1&&(C=Z(C,/\f/g,``)),p>0&&dC(C)-d&&pC(p>32?HC(C+`;`,r,n,d-1):HC(Z(C,` `,``)+`;`,r,n,d-2),c);break;case 59:C+=`;`;default:if(pC(S=BC(C,t,n,l,u,i,s,y,b=[],x=[],d),a),v===123)if(u===0)zC(C,t,S,S,b,a,d,s,x);else switch(f===99&&lC(C,3)===110?100:f){case 100:case 108:case 109:case 115:zC(e,S,S,r&&pC(BC(e,S,S,0,0,i,s,y,i,b=[],d),x),i,x,d,s,r?b:x);break;default:zC(C,S,S,S,[``],x,0,s,x)}}l=u=p=0,h=_=1,y=C=``,d=o;break;case 58:d=1+dC(C),p=m;default:if(h<1){if(v==123)--h;else if(v==125&&h++==0&&wC()==125)continue}switch(C+=rC(v),v*h){case 38:_=u>0?1:(C+=`\f`,-1);break;case 44:s[l++]=(dC(C)-1)*_,_=1;break;case 64:EC()===45&&(C+=MC(TC())),f=EC(),u=d=dC(y=C+=LC(DC())),v++;break;case 45:m===45&&dC(C)==2&&(h=0)}}return a}function BC(e,t,n,r,i,a,o,s,c,l,u){for(var d=i-1,f=i===0?a:[``],p=fC(f),m=0,h=0,g=0;m<r;++m)for(var _=0,v=uC(e,d+1,d=nC(h=o[m])),y=e;_<p;++_)(y=oC(h>0?f[_]+` `+v:Z(v,/&\f/g,f[_])))&&(c[g++]=y);return xC(e,t,n,i===0?ZS:s,c,l,u)}function VC(e,t,n){return xC(e,t,n,XS,rC(CC()),uC(e,2,-2),0)}function HC(e,t,n,r){return xC(e,t,n,QS,uC(e,0,r),uC(e,r+1,-1),r)}function UC(e,t){for(var n=``,r=fC(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||``;return n}function WC(e,t,n,r){switch(e.type){case tC:if(e.children.length)break;case $S:case QS:return e.return=e.return||e.value;case XS:return``;case eC:return e.return=e.value+`{`+UC(e.children,r)+`}`;case ZS:e.value=e.props.join(`,`)}return dC(n=UC(e.children,r))?e.return=e.value+`{`+n+`}`:``}function GC(e){var t=fC(e);return function(n,r,i,a){for(var o=``,s=0;s<t;s++)o+=e[s](n,r,i,a)||``;return o}}function KC(e){return function(t){t.root||(t=t.return)&&e(t)}}var qC=function(e,t,n){for(var r=0,i=0;r=i,i=EC(),r===38&&i===12&&(t[n]=1),!kC(i);)TC();return OC(e,vC)},JC=function(e,t){var n=-1,r=44;do switch(kC(r)){case 0:r===38&&EC()===12&&(t[n]=1),e[n]+=qC(vC-1,t,n);break;case 2:e[n]+=MC(r);break;case 4:if(r===44){e[++n]=EC()===58?`&\f`:``,t[n]=e[n].length;break}default:e[n]+=rC(r)}while(r=TC());return e},YC=function(e,t){return jC(JC(AC(e),t))},XC=new WeakMap,ZC=function(e){if(!(e.type!==`rule`||!e.parent||e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;n.type!==`rule`;)if(n=n.parent,!n)return;if(!(e.props.length===1&&t.charCodeAt(0)!==58&&!XC.get(n))&&!r){XC.set(e,!0);for(var i=[],a=YC(t,i),o=n.props,s=0,c=0;s<a.length;s++)for(var l=0;l<o.length;l++,c++)e.props[c]=i[s]?a[s].replace(/&\f/g,o[l]):o[l]+` `+a[s]}}},QC=function(e){if(e.type===`decl`){var t=e.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(e.return=``,e.value=``)}};function $C(e,t){switch(aC(e,t)){case 5103:return X+`print-`+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return X+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return X+e+YS+e+JS+e+e;case 6828:case 4268:return X+e+JS+e+e;case 6165:return X+e+JS+`flex-`+e+e;case 5187:return X+e+Z(e,/(\w+).+(:[^]+)/,X+`box-$1$2`+JS+`flex-$1$2`)+e;case 5443:return X+e+JS+`flex-item-`+Z(e,/flex-|-self/,``)+e;case 4675:return X+e+JS+`flex-line-pack`+Z(e,/align-content|flex-|-self/,``)+e;case 5548:return X+e+JS+Z(e,`shrink`,`negative`)+e;case 5292:return X+e+JS+Z(e,`basis`,`preferred-size`)+e;case 6060:return X+`box-`+Z(e,`-grow`,``)+X+e+JS+Z(e,`grow`,`positive`)+e;case 4554:return X+Z(e,/([^-])(transform)/g,`$1`+X+`$2`)+e;case 6187:return Z(Z(Z(e,/(zoom-|grab)/,X+`$1`),/(image-set)/,X+`$1`),e,``)+e;case 5495:case 3959:return Z(e,/(image-set\([^]*)/,X+"$1$`$1");case 4968:return Z(Z(e,/(.+:)(flex-)?(.*)/,X+`box-pack:$3`+JS+`flex-pack:$3`),/s.+-b[^;]+/,`justify`)+X+e+e;case 4095:case 3583:case 4068:case 2532:return Z(e,/(.+)-inline(.+)/,X+`$1$2`)+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(dC(e)-1-t>6)switch(lC(e,t+1)){case 109:if(lC(e,t+4)!==45)break;case 102:return Z(e,/(.+:)(.+)-([^]+)/,`$1`+X+`$2-$3$1`+YS+(lC(e,t+3)==108?`$3`:`$2-$3`))+e;case 115:return~cC(e,`stretch`)?$C(Z(e,`stretch`,`fill-available`),t)+e:e}break;case 4949:if(lC(e,t+1)!==115)break;case 6444:switch(lC(e,dC(e)-3-(~cC(e,`!important`)&&10))){case 107:return Z(e,`:`,`:`+X)+e;case 101:return Z(e,/(.+:)([^;!]+)(;|!.+)?/,`$1`+X+(lC(e,14)===45?`inline-`:``)+`box$3$1`+X+`$2$3$1`+JS+`$2box$3`)+e}break;case 5936:switch(lC(e,t+11)){case 114:return X+e+JS+Z(e,/[svh]\w+-[tblr]{2}/,`tb`)+e;case 108:return X+e+JS+Z(e,/[svh]\w+-[tblr]{2}/,`tb-rl`)+e;case 45:return X+e+JS+Z(e,/[svh]\w+-[tblr]{2}/,`lr`)+e}return X+e+JS+e+e}return e}var ew=function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case QS:e.return=$C(e.value,e.length);break;case eC:return UC([SC(e,{value:Z(e.value,`@`,`@`+X)})],r);case ZS:if(e.length)return mC(e.props,function(t){switch(sC(t,/(::plac\w+|:read-\w+)/)){case`:read-only`:case`:read-write`:return UC([SC(e,{props:[Z(t,/:(read-\w+)/,`:`+YS+`$1`)]})],r);case`::placeholder`:return UC([SC(e,{props:[Z(t,/:(plac\w+)/,`:`+X+`input-$1`)]}),SC(e,{props:[Z(t,/:(plac\w+)/,`:`+YS+`$1`)]}),SC(e,{props:[Z(t,/:(plac\w+)/,JS+`input-$1`)]})],r)}return``})}},tw=[ew],nw=function(e){var t=e.key;if(t===`css`){var n=document.querySelectorAll(`style[data-emotion]:not([data-s])`);Array.prototype.forEach.call(n,function(e){var t=e.getAttribute(`data-emotion`);t.indexOf(` `)!==-1&&(document.head.appendChild(e),e.setAttribute(`data-s`,``))})}var r=e.stylisPlugins||tw,i={},a,o=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll(`style[data-emotion^="`+t+` "]`),function(e){for(var t=e.getAttribute(`data-emotion`).split(` `),n=1;n<t.length;n++)i[t[n]]=!0;o.push(e)});var s,c=[ZC,QC],l,u=[WC,KC(function(e){l.insert(e)})],d=GC(c.concat(r,u)),f=function(e){return UC(RC(e),d)};s=function(e,t,n,r){l=n,f(e?e+`{`+t.styles+`}`:t.styles),r&&(p.inserted[t.name]=!0)};var p={key:t,sheet:new qS({key:t,container:a,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:s};return p.sheet.hydrate(o),p},rw=M((exports=>{var t=typeof Symbol==`function`&&Symbol.for,n=t?Symbol.for(`react.element`):60103,r=t?Symbol.for(`react.portal`):60106,i=t?Symbol.for(`react.fragment`):60107,a=t?Symbol.for(`react.strict_mode`):60108,o=t?Symbol.for(`react.profiler`):60114,s=t?Symbol.for(`react.provider`):60109,c=t?Symbol.for(`react.context`):60110,l=t?Symbol.for(`react.async_mode`):60111,u=t?Symbol.for(`react.concurrent_mode`):60111,d=t?Symbol.for(`react.forward_ref`):60112,f=t?Symbol.for(`react.suspense`):60113,p=t?Symbol.for(`react.suspense_list`):60120,m=t?Symbol.for(`react.memo`):60115,h=t?Symbol.for(`react.lazy`):60116,g=t?Symbol.for(`react.block`):60121,_=t?Symbol.for(`react.fundamental`):60117,v=t?Symbol.for(`react.responder`):60118,y=t?Symbol.for(`react.scope`):60119;function b(e){if(typeof e==`object`&&e){var t=e.$$typeof;switch(t){case n:switch(e=e.type,e){case l:case u:case i:case o:case a:case f:return e;default:switch(e&&=e.$$typeof,e){case c:case d:case h:case m:case s:return e;default:return t}}case r:return t}}}function x(e){return b(e)===u}exports.AsyncMode=l,exports.ConcurrentMode=u,exports.ContextConsumer=c,exports.ContextProvider=s,exports.Element=n,exports.ForwardRef=d,exports.Fragment=i,exports.Lazy=h,exports.Memo=m,exports.Portal=r,exports.Profiler=o,exports.StrictMode=a,exports.Suspense=f,exports.isAsyncMode=function(e){return x(e)||b(e)===l},exports.isConcurrentMode=x,exports.isContextConsumer=function(e){return b(e)===c},exports.isContextProvider=function(e){return b(e)===s},exports.isElement=function(e){return typeof e==`object`&&!!e&&e.$$typeof===n},exports.isForwardRef=function(e){return b(e)===d},exports.isFragment=function(e){return b(e)===i},exports.isLazy=function(e){return b(e)===h},exports.isMemo=function(e){return b(e)===m},exports.isPortal=function(e){return b(e)===r},exports.isProfiler=function(e){return b(e)===o},exports.isStrictMode=function(e){return b(e)===a},exports.isSuspense=function(e){return b(e)===f},exports.isValidElementType=function(e){return typeof e==`string`||typeof e==`function`||e===i||e===u||e===o||e===a||e===f||e===p||typeof e==`object`&&!!e&&(e.$$typeof===h||e.$$typeof===m||e.$$typeof===s||e.$$typeof===c||e.$$typeof===d||e.$$typeof===_||e.$$typeof===v||e.$$typeof===y||e.$$typeof===g)},exports.typeOf=b})),iw=M(((exports,t)=>{t.exports=rw()})),aw=M(((exports,t)=>{var n=iw(),r={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};s[n.ForwardRef]=a,s[n.Memo]=o;function c(e){return n.isMemo(e)?o:s[e.$$typeof]||r}var l=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,m=Object.prototype;function h(e,t,n){if(typeof t!=`string`){if(m){var r=p(t);r&&r!==m&&h(e,r,n)}var a=u(t);d&&(a=a.concat(d(t)));for(var o=c(e),s=c(t),g=0;g<a.length;++g){var _=a[g];if(!i[_]&&!(n&&n[_])&&!(s&&s[_])&&!(o&&o[_])){var v=f(t,_);try{l(e,_,v)}catch{}}}}return e}t.exports=h})),ow=!0;function sw(e,t,n){var r=``;return n.split(` `).forEach(function(n){e[n]===void 0?n&&(r+=n+` `):t.push(e[n]+`;`)}),r}var cw=function(e,t,n){var r=e.key+`-`+t.name;(n===!1||ow===!1)&&e.registered[r]===void 0&&(e.registered[r]=t.styles)},lw=function(e,t,n){cw(e,t,n);var r=e.key+`-`+t.name;if(e.inserted[t.name]===void 0){var i=t;do e.insert(t===i?`.`+r:``,i,e.sheet,!0),i=i.next;while(i!==void 0)}};function uw(e){for(var t=0,n,r=0,i=e.length;i>=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var dw={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};bh();var fw=!1,pw=/[A-Z]|^ms/g,mw=/_EMO_([^_]+?)_([^]*?)_EMO_/g,hw=function(e){return e.charCodeAt(1)===45},gw=function(e){return e!=null&&typeof e!=`boolean`},_w=yh(function(e){return hw(e)?e:e.replace(pw,`-$&`).toLowerCase()}),vw=function(e,t){switch(e){case`animation`:case`animationName`:if(typeof t==`string`)return t.replace(mw,function(e,t,n){return Cw={name:t,styles:n,next:Cw},t})}return dw[e]!==1&&!hw(e)&&typeof t==`number`&&t!==0?t+`px`:t},yw=`Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.`;function bw(e,t,n){if(n==null)return``;var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case`boolean`:return``;case`object`:var i=n;if(i.anim===1)return Cw={name:i.name,styles:i.styles,next:Cw},i.name;var a=n;if(a.styles!==void 0){var o=a.next;if(o!==void 0)for(;o!==void 0;)Cw={name:o.name,styles:o.styles,next:Cw},o=o.next;var s=a.styles+`;`;return s}return xw(e,t,n);case`function`:if(e!==void 0){var c=Cw,l=n(e);return Cw=c,bw(e,t,l)}break}var u=n;if(t==null)return u;var d=t[u];return d===void 0?u:d}function xw(e,t,n){var r=``;if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=bw(e,t,n[i])+`;`;else for(var a in n){var o=n[a];if(typeof o!=`object`){var s=o;t!=null&&t[s]!==void 0?r+=a+`{`+t[s]+`}`:gw(s)&&(r+=_w(a)+`:`+vw(a,s)+`;`)}else{if(a===`NO_COMPONENT_SELECTOR`&&fw)throw Error(yw);if(Array.isArray(o)&&typeof o[0]==`string`&&(t==null||t[o[0]]===void 0))for(var c=0;c<o.length;c++)gw(o[c])&&(r+=_w(a)+`:`+vw(a,o[c])+`;`);else{var l=bw(e,t,o);switch(a){case`animation`:case`animationName`:r+=_w(a)+`:`+l+`;`;break;default:r+=a+`{`+l+`}`}}}}return r}var Sw=/label:\s*([^\s;{]+)\s*(;|$)/g,Cw;function ww(e,t,n){if(e.length===1&&typeof e[0]==`object`&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,i=``;Cw=void 0;var a=e[0];if(a==null||a.raw===void 0)r=!1,i+=bw(n,t,a);else{var o=a;i+=o[0]}for(var s=1;s<e.length;s++)if(i+=bw(n,t,e[s]),r){var c=a;i+=c[s]}Sw.lastIndex=0;for(var l=``,u;(u=Sw.exec(i))!==null;)l+=`-`+u[1];var d=uw(i)+l;return{name:d,styles:i,next:Cw}}var Tw=function(e){return e()},Ew=e.useInsertionEffect?e.useInsertionEffect:!1,Dw=Ew||Tw;Ew||e.useLayoutEffect;var Ow=!1,kw=e.createContext(typeof HTMLElement<`u`?nw({key:`css`}):null);kw.Provider;var Aw=function(e){return c(function(t,n){var r=d(kw);return e(t,r,n)})},jw=e.createContext({}),Mw={}.hasOwnProperty,Nw=`__EMOTION_TYPE_PLEASE_DO_NOT_USE__`,Pw=function(e,t){var n={};for(var r in t)Mw.call(t,r)&&(n[r]=t[r]);return n[Nw]=e,n},Fw=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return cw(t,n,r),Dw(function(){return lw(t,n,r)}),null},Iw=Aw(function(t,n,r){var i=t.css;typeof i==`string`&&n.registered[i]!==void 0&&(i=n.registered[i]);var a=t[Nw],o=[i],s=``;typeof t.className==`string`?s=sw(n.registered,o,t.className):t.className!=null&&(s=t.className+` `);var c=ww(o,void 0,e.useContext(jw));s+=n.key+`-`+c.name;var l={};for(var u in t)Mw.call(t,u)&&u!==`css`&&u!==Nw&&!Ow&&(l[u]=t[u]);return l.className=s,r&&(l.ref=r),e.createElement(e.Fragment,null,e.createElement(Fw,{cache:n,serialized:c,isStringTag:typeof a==`string`}),e.createElement(a,l))}),Lw=Iw;aw();var Q=function(t,n){var r=arguments;if(n==null||!Mw.call(n,`css`))return e.createElement.apply(void 0,r);var i=r.length,a=Array(i);a[0]=Lw,a[1]=Pw(t,n);for(var o=2;o<i;o++)a[o]=r[o];return e.createElement.apply(null,a)};(function(e){var t;(function(e){})(t||=e.JSX||={})})(Q||={});function Rw(){var e=[...arguments];return ww(e)}function zw(){var e=Rw.apply(void 0,arguments),t=`animation-`+e.name;return{name:t,styles:`@keyframes `+t+`{`+e.styles+`}`,anim:1,toString:function(){return`_EMO_`+this.name+`_`+this.styles+`_EMO_`}}}function Bw(e,t){return t||=e.slice(0),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function Vw(e){let t=Ur(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=Dr(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,s=Pn(n)!==a||Pn(r)!==o;return s&&(n=a,r=o),{width:n,height:r,$:s}}function Hw(e){return Er(e)?e:e.contextElement}function Uw(e){let t=Hw(e);if(!Dr(t))return In(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:a}=Vw(t),o=(a?Pn(n.width):n.width)/r,s=(a?Pn(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!s||!Number.isFinite(s))&&(s=1),{x:o,y:s}}const Ww=In(0);function Gw(e){let t=Cr(e);return!Br()||!t.visualViewport?Ww:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Kw(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Cr(e)?!1:t}function qw(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);let i=e.getBoundingClientRect(),a=Hw(e),o=In(1);t&&(r?Er(r)&&(o=Uw(r)):o=Uw(e));let s=Kw(a,n,r)?Gw(a):In(0),c=(i.left+s.x)/o.x,l=(i.top+s.y)/o.y,u=i.width/o.x,d=i.height/o.y;if(a){let e=Cr(a),t=r&&Er(r)?Cr(r):r,n=e,i=n.frameElement;for(;i&&r&&t!==n;){let e=Uw(i),t=i.getBoundingClientRect(),r=Ur(i),a=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,o=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,l*=e.y,u*=e.x,d*=e.y,c+=a,l+=o,n=Cr(i),i=n.frameElement}}return or({width:u,height:d,x:c,y:l})}const Jw=[`:popover-open`,`:modal`];function Yw(e){return Jw.some(t=>{try{return e.matches(t)}catch{return!1}})}function Xw(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,a=i===`fixed`,o=wr(r),s=t?Yw(t.floating):!1;if(r===o||s&&a)return n;let c={scrollLeft:0,scrollTop:0},l=In(1),u=In(0),d=Dr(r);if((d||!d&&!a)&&((Sr(r)!==`body`||Ar(o))&&(c=Wr(r)),Dr(r))){let e=qw(r);l=Uw(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-c.scrollLeft*l.x+u.x,y:n.y*l.y-c.scrollTop*l.y+u.y}}function Zw(e){return Array.from(e.getClientRects())}function Qw(e){return qw(wr(e)).left+Wr(e).scrollLeft}function $w(e){let t=wr(e),n=Wr(e),r=e.ownerDocument.body,i=Nn(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=Nn(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),o=-n.scrollLeft+Qw(e),s=-n.scrollTop;return Ur(r).direction===`rtl`&&(o+=Nn(t.clientWidth,r.clientWidth)-i),{width:i,height:a,x:o,y:s}}function eT(e,t){let n=Cr(e),r=wr(e),i=n.visualViewport,a=r.clientWidth,o=r.clientHeight,s=0,c=0;if(i){a=i.width,o=i.height;let e=Br();(!e||e&&t===`fixed`)&&(s=i.offsetLeft,c=i.offsetTop)}return{width:a,height:o,x:s,y:c}}function tT(e,t){let n=qw(e,!0,t===`fixed`),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=Dr(e)?Uw(e):In(1),o=e.clientWidth*a.x,s=e.clientHeight*a.y,c=i*a.x,l=r*a.y;return{width:o,height:s,x:c,y:l}}function nT(e,t,n){let r;if(t===`viewport`)r=eT(e,n);else if(t===`document`)r=$w(wr(e));else if(Er(t))r=tT(t,n);else{let n=Gw(e);r={...t,x:t.x-n.x,y:t.y-n.y}}return or(r)}function rT(e,t){let n=Gr(e);return n===t||!Er(n)||Hr(n)?!1:Ur(n).position===`fixed`||rT(n,t)}function iT(e,t){let n=t.get(e);if(n)return n;let r=qr(e,[],!1).filter(e=>Er(e)&&Sr(e)!==`body`),i=null,a=Ur(e).position===`fixed`,o=a?Gr(e):e;for(;Er(o)&&!Hr(o);){let t=Ur(o),n=Rr(o);!n&&t.position===`fixed`&&(i=null);let s=a?!n&&!i:!n&&t.position===`static`&&!!i&&[`absolute`,`fixed`].includes(i.position)||Ar(o)&&!n&&rT(e,o);s?r=r.filter(e=>e!==o):i=t,o=Gr(o)}return t.set(e,r),r}function aT(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=n===`clippingAncestors`?iT(t,this._c):[].concat(n),o=[...a,r],s=o[0],c=o.reduce((e,n)=>{let r=nT(t,n,i);return e.top=Nn(r.top,e.top),e.right=Mn(r.right,e.right),e.bottom=Mn(r.bottom,e.bottom),e.left=Nn(r.left,e.left),e},nT(t,s,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function oT(e){let{width:t,height:n}=Vw(e);return{width:t,height:n}}function sT(e,t,n){let r=Dr(t),i=wr(t),a=n===`fixed`,o=qw(e,!0,a,t),s={scrollLeft:0,scrollTop:0},c=In(0);if(r||!r&&!a)if((Sr(t)!==`body`||Ar(i))&&(s=Wr(t)),r){let e=qw(t,!0,a,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else i&&(c.x=Qw(i));let l=o.left+s.scrollLeft-c.x,u=o.top+s.scrollTop-c.y;return{x:l,y:u,width:o.width,height:o.height}}function cT(e,t){return!Dr(e)||Ur(e).position===`fixed`?null:t?t(e):e.offsetParent}function lT(e,t){let n=Cr(e);if(!Dr(e)||Yw(e))return n;let r=cT(e,t);for(;r&&Mr(r)&&Ur(r).position===`static`;)r=cT(r,t);return r&&(Sr(r)===`html`||Sr(r)===`body`&&Ur(r).position===`static`&&!Rr(r))?n:r||zr(e)||n}const uT=async function(e){let t=this.getOffsetParent||lT,n=this.getDimensions;return{reference:sT(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,...await n(e.floating)}}};function dT(e){return Ur(e).direction===`rtl`}const fT={convertOffsetParentRelativeRectToViewportRelativeRect:Xw,getDocumentElement:wr,getClippingRect:aT,getOffsetParent:lT,getElementRects:uT,getClientRects:Zw,getDimensions:oT,getScale:Uw,isElement:Er,isRTL:dT};function pT(e,t){let n=null,r,i=wr(e);function a(){var e;clearTimeout(r),(e=n)==null||e.disconnect(),n=null}function o(s,c){s===void 0&&(s=!1),c===void 0&&(c=1),a();let{left:l,top:u,width:d,height:f}=e.getBoundingClientRect();if(s||t(),!d||!f)return;let p=Fn(u),m=Fn(i.clientWidth-(l+d)),h=Fn(i.clientHeight-(u+f)),g=Fn(l),_=-p+`px `+-m+`px `+-h+`px `+-g+`px`,v={rootMargin:_,threshold:Nn(0,Mn(1,c))||1},y=!0;function b(e){let t=e[0].intersectionRatio;if(t!==c){if(!y)return o();t?o(!1,t):r=setTimeout(()=>{o(!1,1e-7)},100)}y=!1}try{n=new IntersectionObserver(b,{...v,root:i.ownerDocument})}catch{n=new IntersectionObserver(b,v)}n.observe(e)}return o(!0),a}function mT(e,t,n,r){r===void 0&&(r={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:o=typeof ResizeObserver==`function`,layoutShift:s=typeof IntersectionObserver==`function`,animationFrame:c=!1}=r,l=Hw(e),u=i||a?[...l?qr(l):[],...qr(t)]:[];u.forEach(e=>{i&&e.addEventListener(`scroll`,n,{passive:!0}),a&&e.addEventListener(`resize`,n)});let d=l&&s?pT(l,n):null,f=-1,p=null;o&&(p=new ResizeObserver(e=>{let[r]=e;r&&r.target===l&&p&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;(e=p)==null||e.observe(t)})),n()}),l&&!c&&p.observe(l),p.observe(t));let m,h=c?qw(e):null;c&&g();function g(){let t=qw(e);h&&(t.x!==h.x||t.y!==h.y||t.width!==h.width||t.height!==h.height)&&n(),h=t,m=requestAnimationFrame(g)}return n(),()=>{var e;u.forEach(e=>{i&&e.removeEventListener(`scroll`,n),a&&e.removeEventListener(`resize`,n)}),d?.(),(e=p)==null||e.disconnect(),p=null,c&&cancelAnimationFrame(m)}}const hT=vr,gT=dr,_T=ur,vT=(e,t,n)=>{let r=new Map,i={platform:fT,...n},a={...i.platform,_c:r};return cr(e,t,{...i,platform:a})};var yT=h,bT=[`className`,`clearValue`,`cx`,`getStyles`,`getClassNames`,`getValue`,`hasValue`,`isMulti`,`isRtl`,`options`,`selectOption`,`selectProps`,`setValue`,`theme`],xT=function(){};function ST(e,t){return t?t[0]===`-`?e+t:e+`__`+t:e}function CT(e,t){var n=[...arguments].slice(2),r=[].concat(n);if(t&&e)for(var i in t)t.hasOwnProperty(i)&&t[i]&&r.push(`${ST(e,i)}`);return r.filter(function(e){return e}).map(function(e){return String(e).trim()}).join(` `)}var wT=function(e){return UT(e)?e.filter(Boolean):hS(e)===`object`&&e!==null?[e]:[]},TT=function(e){e.className,e.clearValue,e.cx,e.getStyles,e.getClassNames,e.getValue,e.hasValue,e.isMulti,e.isRtl,e.options,e.selectOption,e.selectProps,e.setValue,e.theme;var t=DS(e,bT);return J({},t)},ET=function(e,t,n){var r=e.cx,i=e.getStyles,a=e.getClassNames,o=e.className;return{css:i(t,e),className:r(n??{},a(t,e),o)}};function DT(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function OT(e){return DT(e)?window.innerHeight:e.clientHeight}function kT(e){return DT(e)?window.pageYOffset:e.scrollTop}function AT(e,t){if(DT(e)){window.scrollTo(0,t);return}e.scrollTop=t}function jT(e){var t=getComputedStyle(e),n=t.position===`absolute`,r=/(auto|scroll)/;if(t.position===`fixed`)return document.documentElement;for(var i=e;i=i.parentElement;)if(t=getComputedStyle(i),!(n&&t.position===`static`)&&r.test(t.overflow+t.overflowY+t.overflowX))return i;return document.documentElement}function MT(e,t,n,r){return n*((e=e/r-1)*e*e+1)+t}function NT(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:xT,i=kT(e),a=t-i,o=10,s=0;function c(){s+=o;var t=MT(s,i,a,n);AT(e,t),s<n?window.requestAnimationFrame(c):r(e)}c()}function PT(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),i=t.offsetHeight/3;r.bottom+i>n.bottom?AT(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+i,e.scrollHeight)):r.top-i<n.top&&AT(e,Math.max(t.offsetTop-i,0))}function FT(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 IT(){try{return document.createEvent(`TouchEvent`),!0}catch{return!1}}function LT(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}var RT=!1,zT={get passive(){return RT=!0}},BT=typeof window<`u`?window:{};BT.addEventListener&&BT.removeEventListener&&(BT.addEventListener(`p`,xT,zT),BT.removeEventListener(`p`,xT,!1));var VT=RT;function HT(e){return e!=null}function UT(e){return Array.isArray(e)}function WT(e,t,n){return e?t:n}function GT(e){return e}function KT(e){return e}var qT=function(e){var t=[...arguments].slice(1),n=Object.entries(e).filter(function(e){var n=TS(e,1),r=n[0];return!t.includes(r)});return n.reduce(function(e,t){var n=TS(t,2),r=n[0],i=n[1];return e[r]=i,e},{})},JT=[`children`,`innerProps`],YT=[`children`,`innerProps`];function XT(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,i=e.placement,a=e.shouldScroll,o=e.isFixedPosition,s=e.controlHeight,c=jT(n),l={placement:`bottom`,maxHeight:t};if(!n||!n.offsetParent)return l;var u=c.getBoundingClientRect(),d=u.height,f=n.getBoundingClientRect(),p=f.bottom,m=f.height,h=f.top,g=n.offsetParent.getBoundingClientRect(),_=g.top,v=o?window.innerHeight:OT(c),y=kT(c),b=parseInt(getComputedStyle(n).marginBottom,10),x=parseInt(getComputedStyle(n).marginTop,10),S=_-x,C=v-h,w=S+y,T=d-y-h,E=p-v+y+b,D=y+h-x,O=160;switch(i){case`auto`:case`bottom`:if(C>=m)return{placement:`bottom`,maxHeight:t};if(T>=m&&!o)return a&&NT(c,E,O),{placement:`bottom`,maxHeight:t};if(!o&&T>=r||o&&C>=r){a&&NT(c,E,O);var k=o?C-b:T-b;return{placement:`bottom`,maxHeight:k}}if(i===`auto`||o){var A=t,j=o?S:w;return j>=r&&(A=Math.min(j-b-s,t)),{placement:`top`,maxHeight:A}}if(i===`bottom`)return a&&AT(c,E),{placement:`bottom`,maxHeight:t};break;case`top`:if(S>=m)return{placement:`top`,maxHeight:t};if(w>=m&&!o)return a&&NT(c,D,O),{placement:`top`,maxHeight:t};if(!o&&w>=r||o&&S>=r){var M=t;return(!o&&w>=r||o&&S>=r)&&(M=o?S-x:w-x),a&&NT(c,D,O),{placement:`top`,maxHeight:M}}return{placement:`bottom`,maxHeight:t};default:throw Error(`Invalid placement provided "${i}".`)}return l}function ZT(e){var t={bottom:`top`,top:`bottom`};return e?t[e]:`bottom`}var QT=function(e){return e===`auto`?`bottom`:e},$T=function(e,t){var n,r=e.placement,i=e.theme,a=i.borderRadius,o=i.spacing,s=i.colors;return J((n={label:`menu`},vS(n,ZT(r),`100%`),vS(n,`position`,`absolute`),vS(n,`width`,`100%`),vS(n,`zIndex`,1),n),t?{}:{backgroundColor:s.neutral0,borderRadius:a,boxShadow:`0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)`,marginBottom:o.menuGutter,marginTop:o.menuGutter})},eE=o(null),tE=function(e){var t=e.children,n=e.minMenuHeight,r=e.maxMenuHeight,i=e.menuPlacement,a=e.menuPosition,o=e.menuShouldScrollIntoView,s=e.theme,c=d(eE)||{},l=c.setPortalPlacement,u=_(null),f=v(r),p=TS(f,2),m=p[0],h=p[1],g=v(null),y=TS(g,2),b=y[0],x=y[1],S=s.spacing.controlHeight;return yT(function(){var e=u.current;if(e){var t=a===`fixed`,s=o&&!t,c=XT({maxHeight:r,menuEl:e,minHeight:n,placement:i,shouldScroll:s,isFixedPosition:t,controlHeight:S});h(c.maxHeight),x(c.placement),l?.(c.placement)}},[r,i,a,o,n,l,S]),t({ref:u,placerProps:J(J({},e),{},{placement:b||QT(i),maxHeight:m})})},nE=function(e){var t=e.children,n=e.innerRef,r=e.innerProps;return Q(`div`,Y({},ET(e,`menu`,{menu:!0}),{ref:n},r),t)},rE=nE,iE=function(e,t){var n=e.maxHeight,r=e.theme.spacing.baseUnit;return J({maxHeight:n,overflowY:`auto`,position:`relative`,WebkitOverflowScrolling:`touch`},t?{}:{paddingBottom:r,paddingTop:r})},aE=function(e){var t=e.children,n=e.innerProps,r=e.innerRef,i=e.isMulti;return Q(`div`,Y({},ET(e,`menuList`,{"menu-list":!0,"menu-list--is-multi":i}),{ref:r},n),t)},oE=function(e,t){var n=e.theme,r=n.spacing.baseUnit,i=n.colors;return J({textAlign:`center`},t?{}:{color:i.neutral40,padding:`${r*2}px ${r*3}px`})},sE=oE,cE=oE,lE=function(e){var t=e.children,n=t===void 0?`No options`:t,r=e.innerProps,i=DS(e,JT);return Q(`div`,Y({},ET(J(J({},i),{},{children:n,innerProps:r}),`noOptionsMessage`,{"menu-notice":!0,"menu-notice--no-options":!0}),r),n)},uE=function(e){var t=e.children,n=t===void 0?`Loading...`:t,r=e.innerProps,i=DS(e,YT);return Q(`div`,Y({},ET(J(J({},i),{},{children:n,innerProps:r}),`loadingMessage`,{"menu-notice":!0,"menu-notice--loading":!0}),r),n)},dE=function(e){var t=e.rect,n=e.offset,r=e.position;return{left:t.left,position:r,top:n,width:t.width,zIndex:1}},fE=function(e){var t=e.appendTo,n=e.children,r=e.controlElement,i=e.innerProps,a=e.menuPlacement,o=e.menuPosition,s=_(null),c=_(null),l=v(QT(a)),d=TS(l,2),f=d[0],p=d[1],m=g(function(){return{setPortalPlacement:p}},[]),h=v(null),y=TS(h,2),b=y[0],x=y[1],S=u(function(){if(r){var e=FT(r),t=o===`fixed`?0:window.pageYOffset,n=e[f]+t;(n!==b?.offset||e.left!==b?.rect.left||e.width!==b?.rect.width)&&x({offset:n,rect:e})}},[r,o,f,b?.offset,b?.rect.left,b?.rect.width]);yT(function(){S()},[S]);var C=u(function(){typeof c.current==`function`&&(c.current(),c.current=null),r&&s.current&&(c.current=mT(r,s.current,S,{elementResize:`ResizeObserver`in window}))},[r,S]);yT(function(){C()},[C]);var T=u(function(e){s.current=e,C()},[C]);if(!t&&o!==`fixed`||!b)return null;var E=Q(`div`,Y({ref:T},ET(J(J({},e),{},{offset:b.offset,position:o,rect:b.rect}),`menuPortal`,{"menu-portal":!0}),i),n);return Q(eE.Provider,{value:m},t?w(E,t):E)},pE=function(e){var t=e.isDisabled,n=e.isRtl;return{label:`container`,direction:n?`rtl`:void 0,pointerEvents:t?`none`:void 0,position:`relative`}},mE=function(e){var t=e.children,n=e.innerProps,r=e.isDisabled,i=e.isRtl;return Q(`div`,Y({},ET(e,`container`,{"--is-disabled":r,"--is-rtl":i}),n),t)},hE=function(e,t){var n=e.theme.spacing,r=e.isMulti,i=e.hasValue,a=e.selectProps.controlShouldRenderValue;return J({alignItems:`center`,display:r&&i&&a?`flex`:`grid`,flex:1,flexWrap:`wrap`,WebkitOverflowScrolling:`touch`,position:`relative`,overflow:`hidden`},t?{}:{padding:`${n.baseUnit/2}px ${n.baseUnit*2}px`})},gE=function(e){var t=e.children,n=e.innerProps,r=e.isMulti,i=e.hasValue;return Q(`div`,Y({},ET(e,`valueContainer`,{"value-container":!0,"value-container--is-multi":r,"value-container--has-value":i}),n),t)},_E=function(){return{alignItems:`center`,alignSelf:`stretch`,display:`flex`,flexShrink:0}},vE=function(e){var t=e.children,n=e.innerProps;return Q(`div`,Y({},ET(e,`indicatorsContainer`,{indicators:!0}),n),t)},yE,bE=[`size`],xE=[`innerProps`,`isRtl`,`size`],SE={name:`8mmkcg`,styles:`display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0`},CE=function(e){var t=e.size,n=DS(e,bE);return Q(`svg`,Y({height:t,width:t,viewBox:`0 0 20 20`,"aria-hidden":`true`,focusable:`false`,css:SE},n))},wE=function(e){return Q(CE,Y({size:20},e),Q(`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`}))},TE=function(e){return Q(CE,Y({size:20},e),Q(`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`}))},EE=function(e,t){var n=e.isFocused,r=e.theme,i=r.spacing.baseUnit,a=r.colors;return J({label:`indicatorContainer`,display:`flex`,transition:`color 150ms`},t?{}:{color:n?a.neutral60:a.neutral20,padding:i*2,":hover":{color:n?a.neutral80:a.neutral40}})},DE=EE,OE=function(e){var t=e.children,n=e.innerProps;return Q(`div`,Y({},ET(e,`dropdownIndicator`,{indicator:!0,"dropdown-indicator":!0}),n),t||Q(TE,null))},kE=EE,AE=function(e){var t=e.children,n=e.innerProps;return Q(`div`,Y({},ET(e,`clearIndicator`,{indicator:!0,"clear-indicator":!0}),n),t||Q(wE,null))},jE=function(e,t){var n=e.isDisabled,r=e.theme,i=r.spacing.baseUnit,a=r.colors;return J({label:`indicatorSeparator`,alignSelf:`stretch`,width:1},t?{}:{backgroundColor:n?a.neutral10:a.neutral20,marginBottom:i*2,marginTop:i*2})},ME=function(e){var t=e.innerProps;return Q(`span`,Y({},t,ET(e,`indicatorSeparator`,{"indicator-separator":!0})))},NE=zw(yE||=Bw([`
208
180
  0%, 80%, 100% { opacity: 0; }
209
181
  40% { opacity: 1; }
210
- `])),lD=function(e,t){var n=e.isFocused,r=e.size,i=e.theme,a=i.colors,o=i.spacing.baseUnit;return J({label:`loadingIndicator`,display:`flex`,transition:`color 150ms`,alignSelf:`center`,fontSize:r,lineHeight:1,marginRight:r,textAlign:`center`,verticalAlign:`middle`},t?{}:{color:n?a.neutral60:a.neutral20,padding:o*2})},uD=function(e){var t=e.delay,n=e.offset;return Q(`span`,{css:pT({animation:`${cD} 1s ease-in-out ${t}ms infinite;`,backgroundColor:`currentColor`,borderRadius:`1em`,display:`inline-block`,marginLeft:n?`1em`:void 0,height:`1em`,verticalAlign:`top`,width:`1em`},``,``)})},dD=function(e){var t=e.innerProps,n=e.isRtl,r=e.size,i=r===void 0?4:r,a=nC(e,XE);return Q(`div`,Y({},tE(J(J({},a),{},{innerProps:t,isRtl:n,size:i}),`loadingIndicator`,{indicator:!0,"loading-indicator":!0}),t),Q(uD,{delay:0,offset:n}),Q(uD,{delay:160,offset:!0}),Q(uD,{delay:320,offset:!n}))},fD=function(e,t){var n=e.isDisabled,r=e.isFocused,i=e.theme,a=i.colors,o=i.borderRadius,s=i.spacing;return J({label:`control`,alignItems:`center`,cursor:`default`,display:`flex`,flexWrap:`wrap`,justifyContent:`space-between`,minHeight:s.controlHeight,outline:`0 !important`,position:`relative`,transition:`all 100ms`},t?{}:{backgroundColor:n?a.neutral5:a.neutral0,borderColor:n?a.neutral10:r?a.primary:a.neutral20,borderRadius:o,borderStyle:`solid`,borderWidth:1,boxShadow:r?`0 0 0 1px ${a.primary}`:void 0,"&:hover":{borderColor:r?a.primary:a.neutral30}})},pD=function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,i=e.innerRef,a=e.innerProps,o=e.menuIsOpen;return Q(`div`,Y({ref:i},tE(e,`control`,{control:!0,"control--is-disabled":n,"control--is-focused":r,"control--menu-is-open":o}),a,{"aria-disabled":n||void 0}),t)},mD=pD,hD=[`data`],gD=function(e,t){var n=e.theme.spacing;return t?{}:{paddingBottom:n.baseUnit*2,paddingTop:n.baseUnit*2}},_D=function(e){var t=e.children,n=e.cx,r=e.getStyles,i=e.getClassNames,a=e.Heading,o=e.headingProps,s=e.innerProps,c=e.label,l=e.theme,u=e.selectProps;return Q(`div`,Y({},tE(e,`group`,{group:!0}),s),Q(a,Y({},o,{selectProps:u,theme:l,getStyles:r,getClassNames:i,cx:n}),c),Q(`div`,null,t))},vD=function(e,t){var n=e.theme,r=n.colors,i=n.spacing;return J({label:`group`,cursor:`default`,display:`block`},t?{}:{color:r.neutral40,fontSize:`75%`,fontWeight:500,marginBottom:`0.25em`,paddingLeft:i.baseUnit*3,paddingRight:i.baseUnit*3,textTransform:`uppercase`})},yD=function(e){var t=eE(e);t.data;var n=nC(t,hD);return Q(`div`,Y({},tE(e,`groupHeading`,{"group-heading":!0}),n))},bD=_D,xD=[`innerRef`,`isDisabled`,`isHidden`,`inputClassName`],SD=function(e,t){var n=e.isDisabled,r=e.value,i=e.theme,a=i.spacing,o=i.colors;return J(J({visibility:n?`hidden`:`visible`,transform:r?`translateZ(0)`:``},wD),t?{}:{margin:a.baseUnit/2,paddingBottom:a.baseUnit/2,paddingTop:a.baseUnit/2,color:o.neutral80})},CD={gridArea:`1 / 2`,font:`inherit`,minWidth:`2px`,border:0,margin:0,outline:0,padding:0},wD={flex:`1 1 auto`,display:`inline-grid`,gridArea:`1 / 1 / 2 / 3`,gridTemplateColumns:`0 min-content`,"&:after":J({content:`attr(data-value) " "`,visibility:`hidden`,whiteSpace:`pre`},CD)},TD=function(e){return J({label:`input`,color:`inherit`,background:0,opacity:e?0:1,width:`100%`},CD)},ED=function(e){var t=e.cx,n=e.value,r=eE(e),i=r.innerRef,a=r.isDisabled,o=r.isHidden,s=r.inputClassName,c=nC(r,xD);return Q(`div`,Y({},tE(e,`input`,{"input-container":!0}),{"data-value":n||``}),Q(`input`,Y({className:t({input:!0},s),ref:i,style:TD(o),disabled:a},c)))},DD=ED,OD=function(e,t){var n=e.theme,r=n.spacing,i=n.borderRadius,a=n.colors;return J({label:`multiValue`,display:`flex`,minWidth:0},t?{}:{backgroundColor:a.neutral10,borderRadius:i/2,margin:r.baseUnit/2})},kD=function(e,t){var n=e.theme,r=n.borderRadius,i=n.colors,a=e.cropWithEllipsis;return J({overflow:`hidden`,textOverflow:a||a===void 0?`ellipsis`:void 0,whiteSpace:`nowrap`},t?{}:{borderRadius:r/2,color:i.neutral80,fontSize:`85%`,padding:3,paddingLeft:6})},AD=function(e,t){var n=e.theme,r=n.spacing,i=n.borderRadius,a=n.colors,o=e.isFocused;return J({alignItems:`center`,display:`flex`},t?{}:{borderRadius:i/2,backgroundColor:o?a.dangerLight:void 0,paddingLeft:r.baseUnit,paddingRight:r.baseUnit,":hover":{backgroundColor:a.dangerLight,color:a.danger}})},jD=function(e){var t=e.children,n=e.innerProps;return Q(`div`,n,t)},MD=jD,ND=jD;function PD(e){var t=e.children,n=e.innerProps;return Q(`div`,Y({role:`button`},n),t||Q($E,{size:14}))}var FD=function(e){var t=e.children,n=e.components,r=e.data,i=e.innerProps,a=e.isDisabled,o=e.removeProps,s=e.selectProps,c=n.Container,l=n.Label,u=n.Remove;return Q(c,{data:r,innerProps:J(J({},tE(e,`multiValue`,{"multi-value":!0,"multi-value--is-disabled":a})),i),selectProps:s},Q(l,{data:r,innerProps:J({},tE(e,`multiValueLabel`,{"multi-value__label":!0})),selectProps:s},t),Q(u,{data:r,innerProps:J(J({},tE(e,`multiValueRemove`,{"multi-value__remove":!0})),{},{"aria-label":`Remove ${t||`option`}`},o),selectProps:s}))},ID=FD,LD=function(e,t){var n=e.isDisabled,r=e.isFocused,i=e.isSelected,a=e.theme,o=a.spacing,s=a.colors;return J({label:`option`,cursor:`default`,display:`block`,fontSize:`inherit`,width:`100%`,userSelect:`none`,WebkitTapHighlightColor:`rgba(0, 0, 0, 0)`},t?{}:{backgroundColor:i?s.primary:r?s.primary25:`transparent`,color:n?s.neutral20:i?s.neutral0:`inherit`,padding:`${o.baseUnit*2}px ${o.baseUnit*3}px`,":active":{backgroundColor:n?void 0:i?s.primary:s.primary50}})},RD=function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,i=e.isSelected,a=e.innerRef,o=e.innerProps;return Q(`div`,Y({},tE(e,`option`,{option:!0,"option--is-disabled":n,"option--is-focused":r,"option--is-selected":i}),{ref:a,"aria-disabled":n},o),t)},zD=RD,BD=function(e,t){var n=e.theme,r=n.spacing,i=n.colors;return J({label:`placeholder`,gridArea:`1 / 1 / 2 / 3`},t?{}:{color:i.neutral50,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2})},VD=function(e){var t=e.children,n=e.innerProps;return Q(`div`,Y({},tE(e,`placeholder`,{placeholder:!0}),n),t)},HD=VD,UD=function(e,t){var n=e.isDisabled,r=e.theme,i=r.spacing,a=r.colors;return J({label:`singleValue`,gridArea:`1 / 1 / 2 / 3`,maxWidth:`100%`,overflow:`hidden`,textOverflow:`ellipsis`,whiteSpace:`nowrap`},t?{}:{color:n?a.neutral40:a.neutral80,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},WD=function(e){var t=e.children,n=e.isDisabled,r=e.innerProps;return Q(`div`,Y({},tE(e,`singleValue`,{"single-value":!0,"single-value--is-disabled":n}),r),t)},GD=WD,KD={ClearIndicator:aD,Control:mD,DropdownIndicator:rD,DownChevron:eD,CrossIcon:$E,Group:bD,GroupHeading:yD,IndicatorsContainer:qE,IndicatorSeparator:sD,Input:DD,LoadingIndicator:dD,Menu:ME,MenuList:PE,MenuPortal:VE,LoadingMessage:zE,NoOptionsMessage:RE,MultiValue:ID,MultiValueContainer:MD,MultiValueLabel:ND,MultiValueRemove:PD,Option:zD,Placeholder:HD,SelectContainer:UE,SingleValue:GD,ValueContainer:GE},qD=function(e){return J(J({},KD),e.components)},JD=Number.isNaN||function(e){return typeof e==`number`&&e!==e};function YD(e,t){return!!(e===t||JD(e)&&JD(t))}function XD(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!YD(e[n],t[n]))return!1;return!0}function ZD(e,t){t===void 0&&(t=XD);var n=null;function r(){var r=[...arguments];if(n&&n.lastThis===this&&t(r,n.lastArgs))return n.lastResult;var i=e.apply(this,r);return n={lastResult:i,lastArgs:r,lastThis:this},i}return r.clear=function(){n=null},r}for(var QD={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`},$D=function(e){return Q(`span`,Y({css:QD},e))},eO=$D,tO={guidance:function(e){var t=e.isSearchable,n=e.isMulti,r=e.tabSelectsValue,i=e.context,a=e.isInitialFocus;switch(i){case`menu`:return`Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu${r?`, press Tab to select the option and exit the menu`:``}.`;case`input`:return a?`${e[`aria-label`]||`Select`} is focused ${t?`,type to refine list`:``}, press Down to open the menu, ${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(e){var t=e.action,n=e.label,r=n===void 0?``:n,i=e.labels,a=e.isDisabled;switch(t){case`deselect-option`:case`pop-value`:case`remove-value`:return`option ${r}, deselected.`;case`clear`:return`All selected options have been cleared.`;case`initial-input-focus`:return`option${i.length>1?`s`:``} ${i.join(`,`)}, selected.`;case`select-option`:return a?`option ${r} is disabled. Select another option.`:`option ${r}, selected.`;default:return``}},onFocus:function(e){var t=e.context,n=e.focused,r=e.options,i=e.label,a=i===void 0?``:i,o=e.selectValue,s=e.isDisabled,c=e.isSelected,l=e.isAppleDevice,u=function(e,t){return e&&e.length?`${e.indexOf(t)+1} of ${e.length}`:``};if(t===`value`&&o)return`value ${a} focused, ${u(o,n)}.`;if(t===`menu`&&l){var d=s?` disabled`:``,f=`${c?` selected`:``}${d}`;return`${a}${f}, ${u(r,n)}.`}return``},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return`${n}${t?` for search term `+t:``}.`}},nO=function(e){var t=e.ariaSelection,n=e.focusedOption,r=e.focusedValue,a=e.focusableOptions,o=e.isFocused,s=e.selectValue,c=e.selectProps,l=e.id,u=e.isAppleDevice,d=c.ariaLiveMessages,f=c.getOptionLabel,p=c.inputValue,m=c.isMulti,h=c.isOptionDisabled,_=c.isSearchable,v=c.menuIsOpen,y=c.options,b=c.screenReaderStatus,x=c.tabSelectsValue,S=c.isLoading,C=c[`aria-label`],w=c[`aria-live`],T=g(function(){return J(J({},tO),d||{})},[d]),E=g(function(){var e=``;if(t&&T.onChange){var n=t.option,r=t.options,i=t.removedValue,a=t.removedValues,o=t.value,c=function(e){return Array.isArray(e)?null:e},l=i||n||c(o),u=l?f(l):``,d=r||a||void 0,p=d?d.map(f):[],m=J({isDisabled:l&&h(l,s),label:u,labels:p},t);e=T.onChange(m)}return e},[t,T,h,s,f]),D=g(function(){var e=``,t=n||r,i=!!(n&&s&&s.includes(n));if(t&&T.onFocus){var o={focused:t,label:f(t),isDisabled:h(t,s),isSelected:i,options:a,context:t===n?`menu`:`value`,selectValue:s,isAppleDevice:u};e=T.onFocus(o)}return e},[n,r,f,h,T,a,s,u]),O=g(function(){var e=``;if(v&&y.length&&!S&&T.onFilter){var t=b({count:a.length});e=T.onFilter({inputValue:p,resultsMessage:t})}return e},[a,p,v,T,y,b,S]),k=t?.action===`initial-input-focus`,A=g(function(){var e=``;if(T.guidance){var t=r?`value`:v?`menu`:`input`;e=T.guidance({"aria-label":C,context:t,isDisabled:n&&h(n,s),isMulti:m,isSearchable:_,tabSelectsValue:x,isInitialFocus:k})}return e},[C,n,r,m,h,_,v,T,s,x,k]),j=Q(i,null,Q(`span`,{id:`aria-selection`},E),Q(`span`,{id:`aria-focused`},D),Q(`span`,{id:`aria-results`},O),Q(`span`,{id:`aria-guidance`},A));return Q(i,null,Q(eO,{id:l},k&&j),Q(eO,{"aria-live":w,"aria-atomic":`false`,"aria-relevant":`additions text`,role:`log`},o&&!k&&j))},rO=nO,iO=[{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źẑżžẓẕƶȥɀⱬꝣ`}],aO=RegExp(`[`+iO.map(function(e){return e.letters}).join(``)+`]`,`g`),oO={},sO=0;sO<iO.length;sO++)for(var cO=iO[sO],lO=0;lO<cO.letters.length;lO++)oO[cO.letters[lO]]=cO.base;var uO=function(e){return e.replace(aO,function(e){return oO[e]})},dO=ZD(uO),fO=function(e){return e.replace(/^\s+|\s+$/g,``)},pO=function(e){return`${e.label} ${e.value}`},mO=function(e){return function(t,n){if(t.data.__isNew__)return!0;var r=J({ignoreCase:!0,ignoreAccents:!0,stringify:pO,trim:!0,matchFrom:`any`},e),i=r.ignoreCase,a=r.ignoreAccents,o=r.stringify,s=r.trim,c=r.matchFrom,l=s?fO(n):n,u=s?fO(o(t)):o(t);return i&&(l=l.toLowerCase(),u=u.toLowerCase()),a&&(l=dO(l),u=uO(u)),c===`start`?u.substr(0,l.length)===l:u.indexOf(l)>-1}},hO=[`innerRef`];function gO(e){var t=e.innerRef,n=nC(e,hO),r=SE(n,`onExited`,`in`,`enter`,`exit`,`appear`);return Q(`input`,Y({ref:t},r,{css:pT({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)`},``,``)}))}var _O=function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()};function vO(e){var t=e.isEnabled,n=e.onBottomArrive,r=e.onBottomLeave,i=e.onTopArrive,a=e.onTopLeave,o=_(!1),s=_(!1),c=_(0),l=_(null),d=u(function(e,t){if(l.current!==null){var c=l.current,u=c.scrollTop,d=c.scrollHeight,f=c.clientHeight,p=l.current,m=t>0,h=d-f-u,g=!1;h>t&&o.current&&(r&&r(e),o.current=!1),m&&s.current&&(a&&a(e),s.current=!1),m&&t>h?(n&&!o.current&&n(e),p.scrollTop=d,g=!0,o.current=!0):!m&&-t>u&&(i&&!s.current&&i(e),p.scrollTop=0,g=!0,s.current=!0),g&&_O(e)}},[n,r,i,a]),p=u(function(e){d(e,e.deltaY)},[d]),m=u(function(e){c.current=e.changedTouches[0].clientY},[]),h=u(function(e){var t=c.current-e.changedTouches[0].clientY;d(e,t)},[d]),g=u(function(e){if(e){var t=gE?{passive:!1}:!1;e.addEventListener(`wheel`,p,t),e.addEventListener(`touchstart`,m,t),e.addEventListener(`touchmove`,h,t)}},[h,m,p]),v=u(function(e){e&&(e.removeEventListener(`wheel`,p,!1),e.removeEventListener(`touchstart`,m,!1),e.removeEventListener(`touchmove`,h,!1))},[h,m,p]);return f(function(){if(t){var e=l.current;return g(e),function(){v(e)}}},[t,g,v]),function(e){l.current=e}}var yO=[`boxSizing`,`height`,`overflow`,`paddingRight`,`position`],bO={boxSizing:`border-box`,overflow:`hidden`,position:`relative`,height:`100%`};function xO(e){e.cancelable&&e.preventDefault()}function SO(e){e.stopPropagation()}function CO(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;e===0?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function wO(){return`ontouchstart`in window||navigator.maxTouchPoints}var TO=!!(typeof window<`u`&&window.document&&window.document.createElement),EO=0,DO={capture:!1,passive:!1};function OO(e){var t=e.isEnabled,n=e.accountForScrollbars,r=n===void 0?!0:n,i=_({}),a=_(null),o=u(function(e){if(TO){var t=document.body,n=t&&t.style;if(r&&yO.forEach(function(e){var t=n&&n[e];i.current[e]=t}),r&&EO<1){var a=parseInt(i.current.paddingRight,10)||0,o=document.body?document.body.clientWidth:0,s=window.innerWidth-o+a||0;Object.keys(bO).forEach(function(e){var t=bO[e];n&&(n[e]=t)}),n&&(n.paddingRight=`${s}px`)}t&&wO()&&(t.addEventListener(`touchmove`,xO,DO),e&&(e.addEventListener(`touchstart`,CO,DO),e.addEventListener(`touchmove`,SO,DO))),EO+=1}},[r]),s=u(function(e){if(TO){var t=document.body,n=t&&t.style;EO=Math.max(EO-1,0),r&&EO<1&&yO.forEach(function(e){var t=i.current[e];n&&(n[e]=t)}),t&&wO()&&(t.removeEventListener(`touchmove`,xO,DO),e&&(e.removeEventListener(`touchstart`,CO,DO),e.removeEventListener(`touchmove`,SO,DO)))}},[r]);return f(function(){if(t){var e=a.current;return o(e),function(){s(e)}}},[t,o,s]),function(e){a.current=e}}var kO=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},AO={name:`1kfdb0e`,styles:`position:fixed;left:0;bottom:0;right:0;top:0`};function jO(e){var t=e.children,n=e.lockEnabled,r=e.captureEnabled,a=r===void 0?!0:r,o=e.onBottomArrive,s=e.onBottomLeave,c=e.onTopArrive,l=e.onTopLeave,u=vO({isEnabled:a,onBottomArrive:o,onBottomLeave:s,onTopArrive:c,onTopLeave:l}),d=OO({isEnabled:n}),f=function(e){u(e),d(e)};return Q(i,null,n&&Q(`div`,{onClick:kO,css:AO}),t(f))}var MO={name:`1a0ro4n-requiredInput`,styles:`label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%`},NO=function(e){var t=e.name,n=e.onFocus;return Q(`input`,{required:!0,name:t,tabIndex:-1,"aria-hidden":`true`,onFocus:n,css:MO,value:``,onChange:function(){}})},PO=NO;function FO(e){var t;return typeof window<`u`&&window.navigator!=null?e.test((t=window.navigator.userAgentData)?.platform||window.navigator.platform):!1}function IO(){return FO(/^iPhone/i)}function LO(){return FO(/^Mac/i)}function RO(){return FO(/^iPad/i)||LO()&&navigator.maxTouchPoints>1}function zO(){return IO()||RO()}function BO(){return LO()||zO()}var VO=function(e){return e.label},HO=function(e){return e.label},UO=function(e){return e.value},WO=function(e){return!!e.isDisabled},GO={clearIndicator:iD,container:HE,control:fD,dropdownIndicator:nD,group:gD,groupHeading:vD,indicatorsContainer:KE,indicatorSeparator:oD,input:SD,loadingIndicator:lD,loadingMessage:LE,menu:OE,menuList:NE,menuPortal:BE,multiValue:OD,multiValueLabel:kD,multiValueRemove:AD,noOptionsMessage:IE,option:LD,placeholder:BD,singleValue:UD,valueContainer:WE},KO={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%)`},qO=4,JO=4,YO=38,XO=JO*2,ZO={baseUnit:JO,controlHeight:YO,menuGutter:XO},QO={borderRadius:qO,colors:KO,spacing:ZO},$O={"aria-live":`polite`,backspaceRemovesValue:!0,blurInputOnSelect:dE(),captureMenuScroll:!dE(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:mO(),formatGroupLabel:VO,getOptionLabel:HO,getOptionValue:UO,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:WO,loadingMessage:function(){return`Loading...`},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:`bottom`,menuPosition:`absolute`,menuShouldBlockScroll:!1,menuShouldScrollIntoView:!fE(),noOptionsMessage:function(){return`No options`},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:`Select...`,screenReaderStatus:function(e){var t=e.count;return`${t} result${t===1?``:`s`} available`},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function ek(e,t,n,r){var i=dk(e,t,n),a=fk(e,t,n),o=lk(e,t),s=uk(e,t);return{type:`option`,data:t,isDisabled:i,isSelected:a,label:o,value:s,index:r}}function tk(e,t){return e.options.map(function(n,r){if(`options`in n){var i=n.options.map(function(n,r){return ek(e,n,t,r)}).filter(function(t){return ak(e,t)});return i.length>0?{type:`group`,data:n,options:i,index:r}:void 0}var a=ek(e,n,t,r);return ak(e,a)?a:void 0}).filter(_E)}function nk(e){return e.reduce(function(e,t){return t.type===`group`?e.push.apply(e,vC(t.options.map(function(e){return e.data}))):e.push(t.data),e},[])}function rk(e,t){return e.reduce(function(e,n){return n.type===`group`?e.push.apply(e,vC(n.options.map(function(e){return{data:e.data,id:`${t}-${n.index}-${e.index}`}}))):e.push({data:n.data,id:`${t}-${n.index}`}),e},[])}function ik(e,t){return nk(tk(e,t))}function ak(e,t){var n=e.inputValue,r=n===void 0?``:n,i=t.data,a=t.isSelected,o=t.label,s=t.value;return(!mk(e)||!a)&&pk(e,{label:o,value:s,data:i},r)}function ok(e,t){var n=e.focusedValue,r=e.selectValue,i=r.indexOf(n);if(i>-1){var a=t.indexOf(n);if(a>-1)return n;if(i<t.length)return t[i]}return null}function sk(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}var ck=function(e,t){var n,r=(n=e.find(function(e){return e.data===t}))?.id;return r||null},lk=function(e,t){return e.getOptionLabel(t)},uk=function(e,t){return e.getOptionValue(t)};function dk(e,t,n){return typeof e.isOptionDisabled==`function`?e.isOptionDisabled(t,n):!1}function fk(e,t,n){if(n.indexOf(t)>-1)return!0;if(typeof e.isOptionSelected==`function`)return e.isOptionSelected(t,n);var r=uk(e,t);return n.some(function(t){return uk(e,t)===r})}function pk(e,t,n){return e.filterOption?e.filterOption(t,n):!0}var mk=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return t===void 0?n:t},hk=1,gk=function(t){lC(r,t);var n=mC(r);function r(e){var t;if(aC(this,r),t=n.call(this,e),t.state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:``},t.blockOptionHover=!1,t.isComposing=!1,t.commonProps=void 0,t.initialTouchX=0,t.initialTouchY=0,t.openAfterFocus=!1,t.scrollToFocusedOptionOnUpdate=!1,t.userIsDragging=void 0,t.isAppleDevice=BO(),t.controlRef=null,t.getControlRef=function(e){t.controlRef=e},t.focusedOptionRef=null,t.getFocusedOptionRef=function(e){t.focusedOptionRef=e},t.menuListRef=null,t.getMenuListRef=function(e){t.menuListRef=e},t.inputRef=null,t.getInputRef=function(e){t.inputRef=e},t.focus=t.focusInput,t.blur=t.blurInput,t.onChange=function(e,n){var r=t.props,i=r.onChange,a=r.name;n.name=a,t.ariaOnChange(e,n),i(e,n)},t.setValue=function(e,n,r){var i=t.props,a=i.closeMenuOnSelect,o=i.isMulti,s=i.inputValue;t.onInputChange(``,{action:`set-value`,prevInputValue:s}),a&&(t.setState({inputIsHiddenAfterUpdate:!o}),t.onMenuClose()),t.setState({clearFocusValueOnUpdate:!0}),t.onChange(e,{action:n,option:r})},t.selectOption=function(e){var n=t.props,r=n.blurInputOnSelect,i=n.isMulti,a=n.name,o=t.state.selectValue,s=i&&t.isOptionSelected(e,o),c=t.isOptionDisabled(e,o);if(s){var l=t.getOptionValue(e);t.setValue(xE(o.filter(function(e){return t.getOptionValue(e)!==l})),`deselect-option`,e)}else if(!c)i?t.setValue(xE([].concat(vC(o),[e])),`select-option`,e):t.setValue(bE(e),`select-option`);else{t.ariaOnChange(bE(e),{action:`select-option`,option:e,name:a});return}r&&t.blurInput()},t.removeValue=function(e){var n=t.props.isMulti,r=t.state.selectValue,i=t.getOptionValue(e),a=r.filter(function(e){return t.getOptionValue(e)!==i}),o=yE(n,a,a[0]||null);t.onChange(o,{action:`remove-value`,removedValue:e}),t.focusInput()},t.clearValue=function(){var e=t.state.selectValue;t.onChange(yE(t.props.isMulti,[],null),{action:`clear`,removedValues:e})},t.popValue=function(){var e=t.props.isMulti,n=t.state.selectValue,r=n[n.length-1],i=n.slice(0,n.length-1),a=yE(e,i,i[0]||null);r&&t.onChange(a,{action:`pop-value`,removedValue:r})},t.getFocusedOptionId=function(e){return ck(t.state.focusableOptionsWithIds,e)},t.getFocusableOptionsWithIds=function(){return rk(tk(t.props,t.state.selectValue),t.getElementId(`option`))},t.getValue=function(){return t.state.selectValue},t.cx=function(){var e=[...arguments];return QT.apply(void 0,[t.props.classNamePrefix].concat(e))},t.getOptionLabel=function(e){return lk(t.props,e)},t.getOptionValue=function(e){return uk(t.props,e)},t.getStyles=function(e,n){var r=t.props.unstyled,i=GO[e](n,r);i.boxSizing=`border-box`;var a=t.props.styles[e];return a?a(i,n):i},t.getClassNames=function(e,n){var r,i;return(r=(i=t.props.classNames)[e])?.call(i,n)},t.getElementId=function(e){return`${t.state.instancePrefix}-${e}`},t.getComponents=function(){return qD(t.props)},t.buildCategorizedOptions=function(){return tk(t.props,t.state.selectValue)},t.getCategorizedOptions=function(){return t.props.menuIsOpen?t.buildCategorizedOptions():[]},t.buildFocusableOptions=function(){return nk(t.buildCategorizedOptions())},t.getFocusableOptions=function(){return t.props.menuIsOpen?t.buildFocusableOptions():[]},t.ariaOnChange=function(e,n){t.setState({ariaSelection:J({value:e},n)})},t.onMenuMouseDown=function(e){e.button===0&&(e.stopPropagation(),e.preventDefault(),t.focusInput())},t.onMenuMouseMove=function(e){t.blockOptionHover=!1},t.onControlMouseDown=function(e){if(!e.defaultPrevented){var n=t.props.openMenuOnClick;t.state.isFocused?t.props.menuIsOpen?e.target.tagName!==`INPUT`&&e.target.tagName!==`TEXTAREA`&&t.onMenuClose():n&&t.openMenu(`first`):(n&&(t.openAfterFocus=!0),t.focusInput()),e.target.tagName!==`INPUT`&&e.target.tagName!==`TEXTAREA`&&e.preventDefault()}},t.onDropdownIndicatorMouseDown=function(e){if(!(e&&e.type===`mousedown`&&e.button!==0)&&!t.props.isDisabled){var n=t.props,r=n.isMulti,i=n.menuIsOpen;t.focusInput(),i?(t.setState({inputIsHiddenAfterUpdate:!r}),t.onMenuClose()):t.openMenu(`first`),e.preventDefault()}},t.onClearIndicatorMouseDown=function(e){e&&e.type===`mousedown`&&e.button!==0||(t.clearValue(),e.preventDefault(),t.openAfterFocus=!1,e.type===`touchend`?t.focusInput():setTimeout(function(){return t.focusInput()}))},t.onScroll=function(e){typeof t.props.closeMenuOnScroll==`boolean`?e.target instanceof HTMLElement&&nE(e.target)&&t.props.onMenuClose():typeof t.props.closeMenuOnScroll==`function`&&t.props.closeMenuOnScroll(e)&&t.props.onMenuClose()},t.onCompositionStart=function(){t.isComposing=!0},t.onCompositionEnd=function(){t.isComposing=!1},t.onTouchStart=function(e){var n=e.touches,r=n&&n.item(0);r&&(t.initialTouchX=r.clientX,t.initialTouchY=r.clientY,t.userIsDragging=!1)},t.onTouchMove=function(e){var n=e.touches,r=n&&n.item(0);if(r){var i=Math.abs(r.clientX-t.initialTouchX),a=Math.abs(r.clientY-t.initialTouchY),o=5;t.userIsDragging=i>o||a>o}},t.onTouchEnd=function(e){t.userIsDragging||(t.controlRef&&!t.controlRef.contains(e.target)&&t.menuListRef&&!t.menuListRef.contains(e.target)&&t.blurInput(),t.initialTouchX=0,t.initialTouchY=0)},t.onControlTouchEnd=function(e){t.userIsDragging||t.onControlMouseDown(e)},t.onClearIndicatorTouchEnd=function(e){t.userIsDragging||t.onClearIndicatorMouseDown(e)},t.onDropdownIndicatorTouchEnd=function(e){t.userIsDragging||t.onDropdownIndicatorMouseDown(e)},t.handleInputChange=function(e){var n=t.props.inputValue,r=e.currentTarget.value;t.setState({inputIsHiddenAfterUpdate:!1}),t.onInputChange(r,{action:`input-change`,prevInputValue:n}),t.props.menuIsOpen||t.onMenuOpen()},t.onInputFocus=function(e){t.props.onFocus&&t.props.onFocus(e),t.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(t.openAfterFocus||t.props.openMenuOnFocus)&&t.openMenu(`first`),t.openAfterFocus=!1},t.onInputBlur=function(e){var n=t.props.inputValue;if(t.menuListRef&&t.menuListRef.contains(document.activeElement)){t.inputRef.focus();return}t.props.onBlur&&t.props.onBlur(e),t.onInputChange(``,{action:`input-blur`,prevInputValue:n}),t.onMenuClose(),t.setState({focusedValue:null,isFocused:!1})},t.onOptionHover=function(e){if(!(t.blockOptionHover||t.state.focusedOption===e)){var n=t.getFocusableOptions(),r=n.indexOf(e);t.setState({focusedOption:e,focusedOptionId:r>-1?t.getFocusedOptionId(e):null})}},t.shouldHideSelectedOptions=function(){return mk(t.props)},t.onValueInputFocus=function(e){e.preventDefault(),e.stopPropagation(),t.focus()},t.onKeyDown=function(e){var n=t.props,r=n.isMulti,i=n.backspaceRemovesValue,a=n.escapeClearsValue,o=n.inputValue,s=n.isClearable,c=n.isDisabled,l=n.menuIsOpen,u=n.onKeyDown,d=n.tabSelectsValue,f=n.openMenuOnFocus,p=t.state,m=p.focusedOption,h=p.focusedValue,g=p.selectValue;if(!c&&!(typeof u==`function`&&(u(e),e.defaultPrevented))){switch(t.blockOptionHover=!0,e.key){case`ArrowLeft`:if(!r||o)return;t.focusValue(`previous`);break;case`ArrowRight`:if(!r||o)return;t.focusValue(`next`);break;case`Delete`:case`Backspace`:if(o)return;if(h)t.removeValue(h);else{if(!i)return;r?t.popValue():s&&t.clearValue()}break;case`Tab`:if(t.isComposing||e.shiftKey||!l||!d||!m||f&&t.isOptionSelected(m,g))return;t.selectOption(m);break;case`Enter`:if(e.keyCode===229)break;if(l){if(!m||t.isComposing)return;t.selectOption(m);break}return;case`Escape`:l?(t.setState({inputIsHiddenAfterUpdate:!1}),t.onInputChange(``,{action:`menu-close`,prevInputValue:o}),t.onMenuClose()):s&&a&&t.clearValue();break;case` `:if(o)return;if(!l){t.openMenu(`first`);break}if(!m)return;t.selectOption(m);break;case`ArrowUp`:l?t.focusOption(`up`):t.openMenu(`last`);break;case`ArrowDown`:l?t.focusOption(`down`):t.openMenu(`first`);break;case`PageUp`:if(!l)return;t.focusOption(`pageup`);break;case`PageDown`:if(!l)return;t.focusOption(`pagedown`);break;case`Home`:if(!l)return;t.focusOption(`first`);break;case`End`:if(!l)return;t.focusOption(`last`);break;default:return}e.preventDefault()}},t.state.instancePrefix=`react-select-`+(t.props.instanceId||++hk),t.state.selectValue=$T(e.value),e.menuIsOpen&&t.state.selectValue.length){var i=t.getFocusableOptionsWithIds(),a=t.buildFocusableOptions(),o=a.indexOf(t.state.selectValue[0]);t.state.focusableOptionsWithIds=i,t.state.focusedOption=a[o],t.state.focusedOptionId=ck(i,a[o])}return t}return sC(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&&lE(this.menuListRef,this.focusedOptionRef)}},{key:`componentDidUpdate`,value:function(e){var t=this.props,n=t.isDisabled,r=t.menuIsOpen,i=this.state.isFocused;(i&&!n&&e.isDisabled||i&&r&&!e.menuIsOpen)&&this.focusInput(),i&&n&&!e.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!i&&!n&&e.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(lE(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(e,t){this.props.onInputChange(e,t)}},{key:`focusInput`,value:function(){this.inputRef&&this.inputRef.focus()}},{key:`blurInput`,value:function(){this.inputRef&&this.inputRef.blur()}},{key:`openMenu`,value:function(e){var t=this,n=this.state,r=n.selectValue,i=n.isFocused,a=this.buildFocusableOptions(),o=e===`first`?0:a.length-1;if(!this.props.isMulti){var s=a.indexOf(r[0]);s>-1&&(o=s)}this.scrollToFocusedOptionOnUpdate=!(i&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:a[o],focusedOptionId:this.getFocusedOptionId(a[o])},function(){return t.onMenuOpen()})}},{key:`focusValue`,value:function(e){var t=this.state,n=t.selectValue,r=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var i=n.indexOf(r);r||(i=-1);var a=n.length-1,o=-1;if(n.length){switch(e){case`previous`:o=i===0?0:i===-1?a:i-1;break;case`next`:i>-1&&i<a&&(o=i+1);break}this.setState({inputIsHidden:o!==-1,focusedValue:n[o]})}}}},{key:`focusOption`,value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:`first`,t=this.props.pageSize,n=this.state.focusedOption,r=this.getFocusableOptions();if(r.length){var i=0,a=r.indexOf(n);n||(a=-1),e===`up`?i=a>0?a-1:r.length-1:e===`down`?i=(a+1)%r.length:e===`pageup`?(i=a-t,i<0&&(i=0)):e===`pagedown`?(i=a+t,i>r.length-1&&(i=r.length-1)):e===`last`&&(i=r.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:r[i],focusedValue:null,focusedOptionId:this.getFocusedOptionId(r[i])})}}},{key:`getTheme`,value:function(){return this.props.theme?typeof this.props.theme==`function`?this.props.theme(QO):J(J({},QO),this.props.theme):QO}},{key:`getCommonProps`,value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,r=this.getClassNames,i=this.getValue,a=this.selectOption,o=this.setValue,s=this.props,c=s.isMulti,l=s.isRtl,u=s.options,d=this.hasValue();return{clearValue:e,cx:t,getStyles:n,getClassNames:r,getValue:i,hasValue:d,isMulti:c,isRtl:l,options:u,selectOption:a,selectProps:s,setValue:o,theme:this.getTheme()}}},{key:`hasValue`,value:function(){var e=this.state.selectValue;return e.length>0}},{key:`hasOptions`,value:function(){return!!this.getFocusableOptions().length}},{key:`isClearable`,value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return t===void 0?n:t}},{key:`isOptionDisabled`,value:function(e,t){return dk(this.props,e,t)}},{key:`isOptionSelected`,value:function(e,t){return fk(this.props,e,t)}},{key:`filterOption`,value:function(e,t){return pk(this.props,e,t)}},{key:`formatOptionLabel`,value:function(e,t){if(typeof this.props.formatOptionLabel==`function`){var n=this.props.inputValue,r=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:r})}else return this.getOptionLabel(e)}},{key:`formatGroupLabel`,value:function(e){return this.props.formatGroupLabel(e)}},{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 t=this.props,n=t.isDisabled,r=t.isSearchable,i=t.inputId,a=t.inputValue,o=t.tabIndex,s=t.form,c=t.menuIsOpen,l=t.required,u=this.getComponents(),d=u.Input,f=this.state,p=f.inputIsHidden,m=f.ariaSelection,h=this.commonProps,g=i||this.getElementId(`input`),_=J(J(J({"aria-autocomplete":`list`,"aria-expanded":c,"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":l,role:`combobox`,"aria-activedescendant":this.isAppleDevice?void 0:this.state.focusedOptionId||``},c&&{"aria-controls":this.getElementId(`listbox`)}),!r&&{"aria-readonly":!0}),this.hasValue()?m?.action===`initial-input-focus`&&{"aria-describedby":this.getElementId(`live-region`)}:{"aria-describedby":this.getElementId(`placeholder`)});return r?e.createElement(d,Y({},h,{autoCapitalize:`none`,autoComplete:`off`,autoCorrect:`off`,id:g,innerRef:this.getInputRef,isDisabled:n,isHidden:p,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:`false`,tabIndex:o,form:s,type:`text`,value:a},_)):e.createElement(gO,Y({id:g,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:XT,onFocus:this.onInputFocus,disabled:n,tabIndex:o,inputMode:`none`,form:s,value:``},_))}},{key:`renderPlaceholderOrValue`,value:function(){var t=this,n=this.getComponents(),r=n.MultiValue,i=n.MultiValueContainer,a=n.MultiValueLabel,o=n.MultiValueRemove,s=n.SingleValue,c=n.Placeholder,l=this.commonProps,u=this.props,d=u.controlShouldRenderValue,f=u.isDisabled,p=u.isMulti,m=u.inputValue,h=u.placeholder,g=this.state,_=g.selectValue,v=g.focusedValue,y=g.isFocused;if(!this.hasValue()||!d)return m?null:e.createElement(c,Y({},l,{key:`placeholder`,isDisabled:f,isFocused:y,innerProps:{id:this.getElementId(`placeholder`)}}),h);if(p)return _.map(function(n,s){var c=n===v,u=`${t.getOptionLabel(n)}-${t.getOptionValue(n)}`;return e.createElement(r,Y({},l,{components:{Container:i,Label:a,Remove:o},isFocused:c,isDisabled:f,key:u,index:s,removeProps:{onClick:function(){return t.removeValue(n)},onTouchEnd:function(){return t.removeValue(n)},onMouseDown:function(e){e.preventDefault()}},data:n}),t.formatOptionLabel(n,`value`))});if(m)return null;var b=_[0];return e.createElement(s,Y({},l,{data:b,isDisabled:f}),this.formatOptionLabel(b,`value`))}},{key:`renderClearIndicator`,value:function(){var t=this.getComponents(),n=t.ClearIndicator,r=this.commonProps,i=this.props,a=i.isDisabled,o=i.isLoading,s=this.state.isFocused;if(!this.isClearable()||!n||a||!this.hasValue()||o)return null;var c={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":`true`};return e.createElement(n,Y({},r,{innerProps:c,isFocused:s}))}},{key:`renderLoadingIndicator`,value:function(){var t=this.getComponents(),n=t.LoadingIndicator,r=this.commonProps,i=this.props,a=i.isDisabled,o=i.isLoading,s=this.state.isFocused;if(!n||!o)return null;var c={"aria-hidden":`true`};return e.createElement(n,Y({},r,{innerProps:c,isDisabled:a,isFocused:s}))}},{key:`renderIndicatorSeparator`,value:function(){var t=this.getComponents(),n=t.DropdownIndicator,r=t.IndicatorSeparator;if(!n||!r)return null;var i=this.commonProps,a=this.props.isDisabled,o=this.state.isFocused;return e.createElement(r,Y({},i,{isDisabled:a,isFocused:o}))}},{key:`renderDropdownIndicator`,value:function(){var t=this.getComponents(),n=t.DropdownIndicator;if(!n)return null;var r=this.commonProps,i=this.props.isDisabled,a=this.state.isFocused,o={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":`true`};return e.createElement(n,Y({},r,{innerProps:o,isDisabled:i,isFocused:a}))}},{key:`renderMenu`,value:function(){var t=this,n=this.getComponents(),r=n.Group,i=n.GroupHeading,a=n.Menu,o=n.MenuList,s=n.MenuPortal,c=n.LoadingMessage,l=n.NoOptionsMessage,u=n.Option,d=this.commonProps,f=this.state.focusedOption,p=this.props,m=p.captureMenuScroll,h=p.inputValue,g=p.isLoading,_=p.loadingMessage,v=p.minMenuHeight,y=p.maxMenuHeight,b=p.menuIsOpen,x=p.menuPlacement,S=p.menuPosition,C=p.menuPortalTarget,w=p.menuShouldBlockScroll,T=p.menuShouldScrollIntoView,E=p.noOptionsMessage,D=p.onMenuScrollToTop,O=p.onMenuScrollToBottom;if(!b)return null;var k=function(n,r){var i=n.type,a=n.data,o=n.isDisabled,s=n.isSelected,c=n.label,l=n.value,p=f===a,m=o?void 0:function(){return t.onOptionHover(a)},h=o?void 0:function(){return t.selectOption(a)},g=`${t.getElementId(`option`)}-${r}`,_={id:g,onClick:h,onMouseMove:m,onMouseOver:m,tabIndex:-1,role:`option`,"aria-selected":t.isAppleDevice?void 0:s};return e.createElement(u,Y({},d,{innerProps:_,data:a,isDisabled:o,isSelected:s,key:g,label:c,type:i,value:l,isFocused:p,innerRef:p?t.getFocusedOptionRef:void 0}),t.formatOptionLabel(n.data,`menu`))},A;if(this.hasOptions())A=this.getCategorizedOptions().map(function(n){if(n.type===`group`){var a=n.data,o=n.options,s=n.index,c=`${t.getElementId(`group`)}-${s}`,l=`${c}-heading`;return e.createElement(r,Y({},d,{key:c,data:a,options:o,Heading:i,headingProps:{id:l,data:n.data},label:t.formatGroupLabel(n.data)}),n.options.map(function(e){return k(e,`${s}-${e.index}`)}))}else if(n.type===`option`)return k(n,`${n.index}`)});else if(g){var j=_({inputValue:h});if(j===null)return null;A=e.createElement(c,d,j)}else{var M=E({inputValue:h});if(M===null)return null;A=e.createElement(l,d,M)}var N={minMenuHeight:v,maxMenuHeight:y,menuPlacement:x,menuPosition:S,menuShouldScrollIntoView:T},P=e.createElement(AE,Y({},d,N),function(n){var r=n.ref,i=n.placerProps,s=i.placement,c=i.maxHeight;return e.createElement(a,Y({},d,N,{innerRef:r,innerProps:{onMouseDown:t.onMenuMouseDown,onMouseMove:t.onMenuMouseMove},isLoading:g,placement:s}),e.createElement(jO,{captureEnabled:m,onTopArrive:D,onBottomArrive:O,lockEnabled:w},function(n){return e.createElement(o,Y({},d,{innerRef:function(e){t.getMenuListRef(e),n(e)},innerProps:{role:`listbox`,"aria-multiselectable":d.isMulti,id:t.getElementId(`listbox`)},isLoading:g,maxHeight:c,focusedOption:f}),A)}))});return C||S===`fixed`?e.createElement(s,Y({},d,{appendTo:C,controlElement:this.controlRef,menuPlacement:x,menuPosition:S}),P):P}},{key:`renderFormField`,value:function(){var t=this,n=this.props,r=n.delimiter,i=n.isDisabled,a=n.isMulti,o=n.name,s=n.required,c=this.state.selectValue;if(s&&!this.hasValue()&&!i)return e.createElement(PO,{name:o,onFocus:this.onValueInputFocus});if(!(!o||i))if(a)if(r){var l=c.map(function(e){return t.getOptionValue(e)}).join(r);return e.createElement(`input`,{name:o,type:`hidden`,value:l})}else{var u=c.length>0?c.map(function(n,r){return e.createElement(`input`,{key:`i-${r}`,name:o,type:`hidden`,value:t.getOptionValue(n)})}):e.createElement(`input`,{name:o,type:`hidden`,value:``});return e.createElement(`div`,null,u)}else{var d=c[0]?this.getOptionValue(c[0]):``;return e.createElement(`input`,{name:o,type:`hidden`,value:d})}}},{key:`renderLiveRegion`,value:function(){var t=this.commonProps,n=this.state,r=n.ariaSelection,i=n.focusedOption,a=n.focusedValue,o=n.isFocused,s=n.selectValue,c=this.getFocusableOptions();return e.createElement(rO,Y({},t,{id:this.getElementId(`live-region`),ariaSelection:r,focusedOption:i,focusedValue:a,isFocused:o,selectValue:s,focusableOptions:c,isAppleDevice:this.isAppleDevice}))}},{key:`render`,value:function(){var t=this.getComponents(),n=t.Control,r=t.IndicatorsContainer,i=t.SelectContainer,a=t.ValueContainer,o=this.props,s=o.className,c=o.id,l=o.isDisabled,u=o.menuIsOpen,d=this.state.isFocused,f=this.commonProps=this.getCommonProps();return e.createElement(i,Y({},f,{className:s,innerProps:{id:c,onKeyDown:this.onKeyDown},isDisabled:l,isFocused:d}),this.renderLiveRegion(),e.createElement(n,Y({},f,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:l,isFocused:d,menuIsOpen:u}),e.createElement(a,Y({},f,{isDisabled:l}),this.renderPlaceholderOrValue(),this.renderInput()),e.createElement(r,Y({},f,{isDisabled:l}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:`getDerivedStateFromProps`,value:function(e,t){var n=t.prevProps,r=t.clearFocusValueOnUpdate,i=t.inputIsHiddenAfterUpdate,a=t.ariaSelection,o=t.isFocused,s=t.prevWasFocused,c=t.instancePrefix,l=e.options,u=e.value,d=e.menuIsOpen,f=e.inputValue,p=e.isMulti,m=$T(u),h={};if(n&&(u!==n.value||l!==n.options||d!==n.menuIsOpen||f!==n.inputValue)){var g=d?ik(e,m):[],_=d?rk(tk(e,m),`${c}-option`):[],v=r?ok(t,m):null,y=sk(t,g),b=ck(_,y);h={selectValue:m,focusedOption:y,focusedOptionId:b,focusableOptionsWithIds:_,focusedValue:v,clearFocusValueOnUpdate:!1}}var x=i!=null&&e!==n?{inputIsHidden:i,inputIsHiddenAfterUpdate:void 0}:{},S=a,C=o&&s;return o&&!C&&(S={value:yE(p,m,m[0]||null),options:m,action:`initial-input-focus`},C=!s),a?.action===`initial-input-focus`&&(S=null),J(J(J({},h),x),{},{prevProps:e,ariaSelection:S,prevWasFocused:C})}}]),r}(r);gk.defaultProps=$O;var _k=c(function(t,n){var r=iC(t);return e.createElement(gk,Y({ref:n},r))}),vk=_k,yk=[`allowCreateWhileLoading`,`createOptionPosition`,`formatCreateLabel`,`isValidNewOption`,`getNewOptionData`,`onCreateOption`,`options`,`onChange`],bk=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:``,t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,r=String(e).toLowerCase(),i=String(n.getOptionValue(t)).toLowerCase(),a=String(n.getOptionLabel(t)).toLowerCase();return i===r||a===r},xk={formatCreateLabel:function(e){return`Create "${e}"`},isValidNewOption:function(e,t,n,r){return!(!e||t.some(function(t){return bk(e,t,r)})||n.some(function(t){return bk(e,t,r)}))},getNewOptionData:function(e,t){return{label:t,value:e,__isNew__:!0}}};function Sk(e){var t=e.allowCreateWhileLoading,n=t===void 0?!1:t,r=e.createOptionPosition,i=r===void 0?`last`:r,a=e.formatCreateLabel,o=a===void 0?xk.formatCreateLabel:a,s=e.isValidNewOption,c=s===void 0?xk.isValidNewOption:s,l=e.getNewOptionData,d=l===void 0?xk.getNewOptionData:l,f=e.onCreateOption,p=e.options,m=p===void 0?[]:p,h=e.onChange,_=nC(e,yk),v=_.getOptionValue,y=v===void 0?UO:v,b=_.getOptionLabel,x=b===void 0?HO:b,S=_.inputValue,C=_.isLoading,w=_.isMulti,T=_.value,E=_.name,D=g(function(){return c(S,$T(T),m,{getOptionValue:y,getOptionLabel:x})?d(S,o(S)):void 0},[o,d,x,y,S,c,m,T]),O=g(function(){return(n||!C)&&D?i===`first`?[D].concat(vC(m)):[].concat(vC(m),[D]):m},[n,i,C,D,m]),k=u(function(e,t){if(t.action!==`select-option`)return h(e,t);var n=Array.isArray(e)?e:[e];if(n[n.length-1]===D){if(f)f(S);else{var r=d(S,S),i={action:`create-option`,name:E,option:r};h(yE(w,[].concat(vC($T(T)),[r]),r),i)}return}h(e,t)},[d,S,w,E,D,f,h,T]);return J(J({},_),{},{options:O,onChange:k})}var Ck=c(function(t,n){var r=iC(t),i=Sk(r);return e.createElement(gk,Y({ref:n},i))}),wk=Ck;const Tk=`
182
+ `])),PE=function(e,t){var n=e.isFocused,r=e.size,i=e.theme,a=i.colors,o=i.spacing.baseUnit;return J({label:`loadingIndicator`,display:`flex`,transition:`color 150ms`,alignSelf:`center`,fontSize:r,lineHeight:1,marginRight:r,textAlign:`center`,verticalAlign:`middle`},t?{}:{color:n?a.neutral60:a.neutral20,padding:o*2})},FE=function(e){var t=e.delay,n=e.offset;return Q(`span`,{css:Rw({animation:`${NE} 1s ease-in-out ${t}ms infinite;`,backgroundColor:`currentColor`,borderRadius:`1em`,display:`inline-block`,marginLeft:n?`1em`:void 0,height:`1em`,verticalAlign:`top`,width:`1em`},``,``)})},IE=function(e){var t=e.innerProps,n=e.isRtl,r=e.size,i=r===void 0?4:r,a=DS(e,xE);return Q(`div`,Y({},ET(J(J({},a),{},{innerProps:t,isRtl:n,size:i}),`loadingIndicator`,{indicator:!0,"loading-indicator":!0}),t),Q(FE,{delay:0,offset:n}),Q(FE,{delay:160,offset:!0}),Q(FE,{delay:320,offset:!n}))},LE=function(e,t){var n=e.isDisabled,r=e.isFocused,i=e.theme,a=i.colors,o=i.borderRadius,s=i.spacing;return J({label:`control`,alignItems:`center`,cursor:`default`,display:`flex`,flexWrap:`wrap`,justifyContent:`space-between`,minHeight:s.controlHeight,outline:`0 !important`,position:`relative`,transition:`all 100ms`},t?{}:{backgroundColor:n?a.neutral5:a.neutral0,borderColor:n?a.neutral10:r?a.primary:a.neutral20,borderRadius:o,borderStyle:`solid`,borderWidth:1,boxShadow:r?`0 0 0 1px ${a.primary}`:void 0,"&:hover":{borderColor:r?a.primary:a.neutral30}})},RE=function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,i=e.innerRef,a=e.innerProps,o=e.menuIsOpen;return Q(`div`,Y({ref:i},ET(e,`control`,{control:!0,"control--is-disabled":n,"control--is-focused":r,"control--menu-is-open":o}),a,{"aria-disabled":n||void 0}),t)},zE=RE,BE=[`data`],VE=function(e,t){var n=e.theme.spacing;return t?{}:{paddingBottom:n.baseUnit*2,paddingTop:n.baseUnit*2}},HE=function(e){var t=e.children,n=e.cx,r=e.getStyles,i=e.getClassNames,a=e.Heading,o=e.headingProps,s=e.innerProps,c=e.label,l=e.theme,u=e.selectProps;return Q(`div`,Y({},ET(e,`group`,{group:!0}),s),Q(a,Y({},o,{selectProps:u,theme:l,getStyles:r,getClassNames:i,cx:n}),c),Q(`div`,null,t))},UE=function(e,t){var n=e.theme,r=n.colors,i=n.spacing;return J({label:`group`,cursor:`default`,display:`block`},t?{}:{color:r.neutral40,fontSize:`75%`,fontWeight:500,marginBottom:`0.25em`,paddingLeft:i.baseUnit*3,paddingRight:i.baseUnit*3,textTransform:`uppercase`})},WE=function(e){var t=TT(e);t.data;var n=DS(t,BE);return Q(`div`,Y({},ET(e,`groupHeading`,{"group-heading":!0}),n))},GE=HE,KE=[`innerRef`,`isDisabled`,`isHidden`,`inputClassName`],qE=function(e,t){var n=e.isDisabled,r=e.value,i=e.theme,a=i.spacing,o=i.colors;return J(J({visibility:n?`hidden`:`visible`,transform:r?`translateZ(0)`:``},YE),t?{}:{margin:a.baseUnit/2,paddingBottom:a.baseUnit/2,paddingTop:a.baseUnit/2,color:o.neutral80})},JE={gridArea:`1 / 2`,font:`inherit`,minWidth:`2px`,border:0,margin:0,outline:0,padding:0},YE={flex:`1 1 auto`,display:`inline-grid`,gridArea:`1 / 1 / 2 / 3`,gridTemplateColumns:`0 min-content`,"&:after":J({content:`attr(data-value) " "`,visibility:`hidden`,whiteSpace:`pre`},JE)},XE=function(e){return J({label:`input`,color:`inherit`,background:0,opacity:e?0:1,width:`100%`},JE)},ZE=function(e){var t=e.cx,n=e.value,r=TT(e),i=r.innerRef,a=r.isDisabled,o=r.isHidden,s=r.inputClassName,c=DS(r,KE);return Q(`div`,Y({},ET(e,`input`,{"input-container":!0}),{"data-value":n||``}),Q(`input`,Y({className:t({input:!0},s),ref:i,style:XE(o),disabled:a},c)))},QE=ZE,$E=function(e,t){var n=e.theme,r=n.spacing,i=n.borderRadius,a=n.colors;return J({label:`multiValue`,display:`flex`,minWidth:0},t?{}:{backgroundColor:a.neutral10,borderRadius:i/2,margin:r.baseUnit/2})},eD=function(e,t){var n=e.theme,r=n.borderRadius,i=n.colors,a=e.cropWithEllipsis;return J({overflow:`hidden`,textOverflow:a||a===void 0?`ellipsis`:void 0,whiteSpace:`nowrap`},t?{}:{borderRadius:r/2,color:i.neutral80,fontSize:`85%`,padding:3,paddingLeft:6})},tD=function(e,t){var n=e.theme,r=n.spacing,i=n.borderRadius,a=n.colors,o=e.isFocused;return J({alignItems:`center`,display:`flex`},t?{}:{borderRadius:i/2,backgroundColor:o?a.dangerLight:void 0,paddingLeft:r.baseUnit,paddingRight:r.baseUnit,":hover":{backgroundColor:a.dangerLight,color:a.danger}})},nD=function(e){var t=e.children,n=e.innerProps;return Q(`div`,n,t)},rD=nD,iD=nD;function aD(e){var t=e.children,n=e.innerProps;return Q(`div`,Y({role:`button`},n),t||Q(wE,{size:14}))}var oD=function(e){var t=e.children,n=e.components,r=e.data,i=e.innerProps,a=e.isDisabled,o=e.removeProps,s=e.selectProps,c=n.Container,l=n.Label,u=n.Remove;return Q(c,{data:r,innerProps:J(J({},ET(e,`multiValue`,{"multi-value":!0,"multi-value--is-disabled":a})),i),selectProps:s},Q(l,{data:r,innerProps:J({},ET(e,`multiValueLabel`,{"multi-value__label":!0})),selectProps:s},t),Q(u,{data:r,innerProps:J(J({},ET(e,`multiValueRemove`,{"multi-value__remove":!0})),{},{"aria-label":`Remove ${t||`option`}`},o),selectProps:s}))},sD=oD,cD=function(e,t){var n=e.isDisabled,r=e.isFocused,i=e.isSelected,a=e.theme,o=a.spacing,s=a.colors;return J({label:`option`,cursor:`default`,display:`block`,fontSize:`inherit`,width:`100%`,userSelect:`none`,WebkitTapHighlightColor:`rgba(0, 0, 0, 0)`},t?{}:{backgroundColor:i?s.primary:r?s.primary25:`transparent`,color:n?s.neutral20:i?s.neutral0:`inherit`,padding:`${o.baseUnit*2}px ${o.baseUnit*3}px`,":active":{backgroundColor:n?void 0:i?s.primary:s.primary50}})},lD=function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,i=e.isSelected,a=e.innerRef,o=e.innerProps;return Q(`div`,Y({},ET(e,`option`,{option:!0,"option--is-disabled":n,"option--is-focused":r,"option--is-selected":i}),{ref:a,"aria-disabled":n},o),t)},uD=lD,dD=function(e,t){var n=e.theme,r=n.spacing,i=n.colors;return J({label:`placeholder`,gridArea:`1 / 1 / 2 / 3`},t?{}:{color:i.neutral50,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2})},fD=function(e){var t=e.children,n=e.innerProps;return Q(`div`,Y({},ET(e,`placeholder`,{placeholder:!0}),n),t)},pD=fD,mD=function(e,t){var n=e.isDisabled,r=e.theme,i=r.spacing,a=r.colors;return J({label:`singleValue`,gridArea:`1 / 1 / 2 / 3`,maxWidth:`100%`,overflow:`hidden`,textOverflow:`ellipsis`,whiteSpace:`nowrap`},t?{}:{color:n?a.neutral40:a.neutral80,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},hD=function(e){var t=e.children,n=e.isDisabled,r=e.innerProps;return Q(`div`,Y({},ET(e,`singleValue`,{"single-value":!0,"single-value--is-disabled":n}),r),t)},gD=hD,_D={ClearIndicator:AE,Control:zE,DropdownIndicator:OE,DownChevron:TE,CrossIcon:wE,Group:GE,GroupHeading:WE,IndicatorsContainer:vE,IndicatorSeparator:ME,Input:QE,LoadingIndicator:IE,Menu:rE,MenuList:aE,MenuPortal:fE,LoadingMessage:uE,NoOptionsMessage:lE,MultiValue:sD,MultiValueContainer:rD,MultiValueLabel:iD,MultiValueRemove:aD,Option:uD,Placeholder:pD,SelectContainer:mE,SingleValue:gD,ValueContainer:gE},vD=function(e){return J(J({},_D),e.components)},yD=Number.isNaN||function(e){return typeof e==`number`&&e!==e};function bD(e,t){return!!(e===t||yD(e)&&yD(t))}function xD(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!bD(e[n],t[n]))return!1;return!0}function SD(e,t){t===void 0&&(t=xD);var n=null;function r(){var r=[...arguments];if(n&&n.lastThis===this&&t(r,n.lastArgs))return n.lastResult;var i=e.apply(this,r);return n={lastResult:i,lastArgs:r,lastThis:this},i}return r.clear=function(){n=null},r}for(var CD={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`},wD=function(e){return Q(`span`,Y({css:CD},e))},TD=wD,ED={guidance:function(e){var t=e.isSearchable,n=e.isMulti,r=e.tabSelectsValue,i=e.context,a=e.isInitialFocus;switch(i){case`menu`:return`Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu${r?`, press Tab to select the option and exit the menu`:``}.`;case`input`:return a?`${e[`aria-label`]||`Select`} is focused ${t?`,type to refine list`:``}, press Down to open the menu, ${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(e){var t=e.action,n=e.label,r=n===void 0?``:n,i=e.labels,a=e.isDisabled;switch(t){case`deselect-option`:case`pop-value`:case`remove-value`:return`option ${r}, deselected.`;case`clear`:return`All selected options have been cleared.`;case`initial-input-focus`:return`option${i.length>1?`s`:``} ${i.join(`,`)}, selected.`;case`select-option`:return a?`option ${r} is disabled. Select another option.`:`option ${r}, selected.`;default:return``}},onFocus:function(e){var t=e.context,n=e.focused,r=e.options,i=e.label,a=i===void 0?``:i,o=e.selectValue,s=e.isDisabled,c=e.isSelected,l=e.isAppleDevice,u=function(e,t){return e&&e.length?`${e.indexOf(t)+1} of ${e.length}`:``};if(t===`value`&&o)return`value ${a} focused, ${u(o,n)}.`;if(t===`menu`&&l){var d=s?` disabled`:``,f=`${c?` selected`:``}${d}`;return`${a}${f}, ${u(r,n)}.`}return``},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return`${n}${t?` for search term `+t:``}.`}},DD=function(e){var t=e.ariaSelection,n=e.focusedOption,r=e.focusedValue,a=e.focusableOptions,o=e.isFocused,s=e.selectValue,c=e.selectProps,l=e.id,u=e.isAppleDevice,d=c.ariaLiveMessages,f=c.getOptionLabel,p=c.inputValue,m=c.isMulti,h=c.isOptionDisabled,_=c.isSearchable,v=c.menuIsOpen,y=c.options,b=c.screenReaderStatus,x=c.tabSelectsValue,S=c.isLoading,C=c[`aria-label`],w=c[`aria-live`],T=g(function(){return J(J({},ED),d||{})},[d]),E=g(function(){var e=``;if(t&&T.onChange){var n=t.option,r=t.options,i=t.removedValue,a=t.removedValues,o=t.value,c=function(e){return Array.isArray(e)?null:e},l=i||n||c(o),u=l?f(l):``,d=r||a||void 0,p=d?d.map(f):[],m=J({isDisabled:l&&h(l,s),label:u,labels:p},t);e=T.onChange(m)}return e},[t,T,h,s,f]),D=g(function(){var e=``,t=n||r,i=!!(n&&s&&s.includes(n));if(t&&T.onFocus){var o={focused:t,label:f(t),isDisabled:h(t,s),isSelected:i,options:a,context:t===n?`menu`:`value`,selectValue:s,isAppleDevice:u};e=T.onFocus(o)}return e},[n,r,f,h,T,a,s,u]),O=g(function(){var e=``;if(v&&y.length&&!S&&T.onFilter){var t=b({count:a.length});e=T.onFilter({inputValue:p,resultsMessage:t})}return e},[a,p,v,T,y,b,S]),k=t?.action===`initial-input-focus`,A=g(function(){var e=``;if(T.guidance){var t=r?`value`:v?`menu`:`input`;e=T.guidance({"aria-label":C,context:t,isDisabled:n&&h(n,s),isMulti:m,isSearchable:_,tabSelectsValue:x,isInitialFocus:k})}return e},[C,n,r,m,h,_,v,T,s,x,k]),j=Q(i,null,Q(`span`,{id:`aria-selection`},E),Q(`span`,{id:`aria-focused`},D),Q(`span`,{id:`aria-results`},O),Q(`span`,{id:`aria-guidance`},A));return Q(i,null,Q(TD,{id:l},k&&j),Q(TD,{"aria-live":w,"aria-atomic":`false`,"aria-relevant":`additions text`,role:`log`},o&&!k&&j))},OD=DD,kD=[{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źẑżžẓẕƶȥɀⱬꝣ`}],AD=RegExp(`[`+kD.map(function(e){return e.letters}).join(``)+`]`,`g`),jD={},MD=0;MD<kD.length;MD++)for(var ND=kD[MD],PD=0;PD<ND.letters.length;PD++)jD[ND.letters[PD]]=ND.base;var FD=function(e){return e.replace(AD,function(e){return jD[e]})},ID=SD(FD),LD=function(e){return e.replace(/^\s+|\s+$/g,``)},RD=function(e){return`${e.label} ${e.value}`},zD=function(e){return function(t,n){if(t.data.__isNew__)return!0;var r=J({ignoreCase:!0,ignoreAccents:!0,stringify:RD,trim:!0,matchFrom:`any`},e),i=r.ignoreCase,a=r.ignoreAccents,o=r.stringify,s=r.trim,c=r.matchFrom,l=s?LD(n):n,u=s?LD(o(t)):o(t);return i&&(l=l.toLowerCase(),u=u.toLowerCase()),a&&(l=ID(l),u=FD(u)),c===`start`?u.substr(0,l.length)===l:u.indexOf(l)>-1}},BD=[`innerRef`];function VD(e){var t=e.innerRef,n=DS(e,BD),r=qT(n,`onExited`,`in`,`enter`,`exit`,`appear`);return Q(`input`,Y({ref:t},r,{css:Rw({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)`},``,``)}))}var HD=function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()};function UD(e){var t=e.isEnabled,n=e.onBottomArrive,r=e.onBottomLeave,i=e.onTopArrive,a=e.onTopLeave,o=_(!1),s=_(!1),c=_(0),l=_(null),d=u(function(e,t){if(l.current!==null){var c=l.current,u=c.scrollTop,d=c.scrollHeight,f=c.clientHeight,p=l.current,m=t>0,h=d-f-u,g=!1;h>t&&o.current&&(r&&r(e),o.current=!1),m&&s.current&&(a&&a(e),s.current=!1),m&&t>h?(n&&!o.current&&n(e),p.scrollTop=d,g=!0,o.current=!0):!m&&-t>u&&(i&&!s.current&&i(e),p.scrollTop=0,g=!0,s.current=!0),g&&HD(e)}},[n,r,i,a]),p=u(function(e){d(e,e.deltaY)},[d]),m=u(function(e){c.current=e.changedTouches[0].clientY},[]),h=u(function(e){var t=c.current-e.changedTouches[0].clientY;d(e,t)},[d]),g=u(function(e){if(e){var t=VT?{passive:!1}:!1;e.addEventListener(`wheel`,p,t),e.addEventListener(`touchstart`,m,t),e.addEventListener(`touchmove`,h,t)}},[h,m,p]),v=u(function(e){e&&(e.removeEventListener(`wheel`,p,!1),e.removeEventListener(`touchstart`,m,!1),e.removeEventListener(`touchmove`,h,!1))},[h,m,p]);return f(function(){if(t){var e=l.current;return g(e),function(){v(e)}}},[t,g,v]),function(e){l.current=e}}var WD=[`boxSizing`,`height`,`overflow`,`paddingRight`,`position`],GD={boxSizing:`border-box`,overflow:`hidden`,position:`relative`,height:`100%`};function KD(e){e.cancelable&&e.preventDefault()}function qD(e){e.stopPropagation()}function JD(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;e===0?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function YD(){return`ontouchstart`in window||navigator.maxTouchPoints}var XD=!!(typeof window<`u`&&window.document&&window.document.createElement),ZD=0,QD={capture:!1,passive:!1};function $D(e){var t=e.isEnabled,n=e.accountForScrollbars,r=n===void 0?!0:n,i=_({}),a=_(null),o=u(function(e){if(XD){var t=document.body,n=t&&t.style;if(r&&WD.forEach(function(e){var t=n&&n[e];i.current[e]=t}),r&&ZD<1){var a=parseInt(i.current.paddingRight,10)||0,o=document.body?document.body.clientWidth:0,s=window.innerWidth-o+a||0;Object.keys(GD).forEach(function(e){var t=GD[e];n&&(n[e]=t)}),n&&(n.paddingRight=`${s}px`)}t&&YD()&&(t.addEventListener(`touchmove`,KD,QD),e&&(e.addEventListener(`touchstart`,JD,QD),e.addEventListener(`touchmove`,qD,QD))),ZD+=1}},[r]),s=u(function(e){if(XD){var t=document.body,n=t&&t.style;ZD=Math.max(ZD-1,0),r&&ZD<1&&WD.forEach(function(e){var t=i.current[e];n&&(n[e]=t)}),t&&YD()&&(t.removeEventListener(`touchmove`,KD,QD),e&&(e.removeEventListener(`touchstart`,JD,QD),e.removeEventListener(`touchmove`,qD,QD)))}},[r]);return f(function(){if(t){var e=a.current;return o(e),function(){s(e)}}},[t,o,s]),function(e){a.current=e}}var eO=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},tO={name:`1kfdb0e`,styles:`position:fixed;left:0;bottom:0;right:0;top:0`};function nO(e){var t=e.children,n=e.lockEnabled,r=e.captureEnabled,a=r===void 0?!0:r,o=e.onBottomArrive,s=e.onBottomLeave,c=e.onTopArrive,l=e.onTopLeave,u=UD({isEnabled:a,onBottomArrive:o,onBottomLeave:s,onTopArrive:c,onTopLeave:l}),d=$D({isEnabled:n}),f=function(e){u(e),d(e)};return Q(i,null,n&&Q(`div`,{onClick:eO,css:tO}),t(f))}var rO={name:`1a0ro4n-requiredInput`,styles:`label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%`},iO=function(e){var t=e.name,n=e.onFocus;return Q(`input`,{required:!0,name:t,tabIndex:-1,"aria-hidden":`true`,onFocus:n,css:rO,value:``,onChange:function(){}})},aO=iO;function oO(e){var t;return typeof window<`u`&&window.navigator!=null?e.test((t=window.navigator.userAgentData)?.platform||window.navigator.platform):!1}function sO(){return oO(/^iPhone/i)}function cO(){return oO(/^Mac/i)}function lO(){return oO(/^iPad/i)||cO()&&navigator.maxTouchPoints>1}function uO(){return sO()||lO()}function dO(){return cO()||uO()}var fO=function(e){return e.label},pO=function(e){return e.label},mO=function(e){return e.value},hO=function(e){return!!e.isDisabled},gO={clearIndicator:kE,container:pE,control:LE,dropdownIndicator:DE,group:VE,groupHeading:UE,indicatorsContainer:_E,indicatorSeparator:jE,input:qE,loadingIndicator:PE,loadingMessage:cE,menu:$T,menuList:iE,menuPortal:dE,multiValue:$E,multiValueLabel:eD,multiValueRemove:tD,noOptionsMessage:sE,option:cD,placeholder:dD,singleValue:mD,valueContainer:hE},_O={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%)`},vO=4,yO=4,bO=38,xO=yO*2,SO={baseUnit:yO,controlHeight:bO,menuGutter:xO},CO={borderRadius:vO,colors:_O,spacing:SO},wO={"aria-live":`polite`,backspaceRemovesValue:!0,blurInputOnSelect:IT(),captureMenuScroll:!IT(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:zD(),formatGroupLabel:fO,getOptionLabel:pO,getOptionValue:mO,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:hO,loadingMessage:function(){return`Loading...`},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:`bottom`,menuPosition:`absolute`,menuShouldBlockScroll:!1,menuShouldScrollIntoView:!LT(),noOptionsMessage:function(){return`No options`},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:`Select...`,screenReaderStatus:function(e){var t=e.count;return`${t} result${t===1?``:`s`} available`},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function TO(e,t,n,r){var i=IO(e,t,n),a=LO(e,t,n),o=PO(e,t),s=FO(e,t);return{type:`option`,data:t,isDisabled:i,isSelected:a,label:o,value:s,index:r}}function EO(e,t){return e.options.map(function(n,r){if(`options`in n){var i=n.options.map(function(n,r){return TO(e,n,t,r)}).filter(function(t){return AO(e,t)});return i.length>0?{type:`group`,data:n,options:i,index:r}:void 0}var a=TO(e,n,t,r);return AO(e,a)?a:void 0}).filter(HT)}function DO(e){return e.reduce(function(e,t){return t.type===`group`?e.push.apply(e,US(t.options.map(function(e){return e.data}))):e.push(t.data),e},[])}function OO(e,t){return e.reduce(function(e,n){return n.type===`group`?e.push.apply(e,US(n.options.map(function(e){return{data:e.data,id:`${t}-${n.index}-${e.index}`}}))):e.push({data:n.data,id:`${t}-${n.index}`}),e},[])}function kO(e,t){return DO(EO(e,t))}function AO(e,t){var n=e.inputValue,r=n===void 0?``:n,i=t.data,a=t.isSelected,o=t.label,s=t.value;return(!zO(e)||!a)&&RO(e,{label:o,value:s,data:i},r)}function jO(e,t){var n=e.focusedValue,r=e.selectValue,i=r.indexOf(n);if(i>-1){var a=t.indexOf(n);if(a>-1)return n;if(i<t.length)return t[i]}return null}function MO(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}var NO=function(e,t){var n,r=(n=e.find(function(e){return e.data===t}))?.id;return r||null},PO=function(e,t){return e.getOptionLabel(t)},FO=function(e,t){return e.getOptionValue(t)};function IO(e,t,n){return typeof e.isOptionDisabled==`function`?e.isOptionDisabled(t,n):!1}function LO(e,t,n){if(n.indexOf(t)>-1)return!0;if(typeof e.isOptionSelected==`function`)return e.isOptionSelected(t,n);var r=FO(e,t);return n.some(function(t){return FO(e,t)===r})}function RO(e,t,n){return e.filterOption?e.filterOption(t,n):!0}var zO=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return t===void 0?n:t},BO=1,VO=function(t){PS(r,t);var n=zS(r);function r(e){var t;if(AS(this,r),t=n.call(this,e),t.state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:``},t.blockOptionHover=!1,t.isComposing=!1,t.commonProps=void 0,t.initialTouchX=0,t.initialTouchY=0,t.openAfterFocus=!1,t.scrollToFocusedOptionOnUpdate=!1,t.userIsDragging=void 0,t.isAppleDevice=dO(),t.controlRef=null,t.getControlRef=function(e){t.controlRef=e},t.focusedOptionRef=null,t.getFocusedOptionRef=function(e){t.focusedOptionRef=e},t.menuListRef=null,t.getMenuListRef=function(e){t.menuListRef=e},t.inputRef=null,t.getInputRef=function(e){t.inputRef=e},t.focus=t.focusInput,t.blur=t.blurInput,t.onChange=function(e,n){var r=t.props,i=r.onChange,a=r.name;n.name=a,t.ariaOnChange(e,n),i(e,n)},t.setValue=function(e,n,r){var i=t.props,a=i.closeMenuOnSelect,o=i.isMulti,s=i.inputValue;t.onInputChange(``,{action:`set-value`,prevInputValue:s}),a&&(t.setState({inputIsHiddenAfterUpdate:!o}),t.onMenuClose()),t.setState({clearFocusValueOnUpdate:!0}),t.onChange(e,{action:n,option:r})},t.selectOption=function(e){var n=t.props,r=n.blurInputOnSelect,i=n.isMulti,a=n.name,o=t.state.selectValue,s=i&&t.isOptionSelected(e,o),c=t.isOptionDisabled(e,o);if(s){var l=t.getOptionValue(e);t.setValue(KT(o.filter(function(e){return t.getOptionValue(e)!==l})),`deselect-option`,e)}else if(!c)i?t.setValue(KT([].concat(US(o),[e])),`select-option`,e):t.setValue(GT(e),`select-option`);else{t.ariaOnChange(GT(e),{action:`select-option`,option:e,name:a});return}r&&t.blurInput()},t.removeValue=function(e){var n=t.props.isMulti,r=t.state.selectValue,i=t.getOptionValue(e),a=r.filter(function(e){return t.getOptionValue(e)!==i}),o=WT(n,a,a[0]||null);t.onChange(o,{action:`remove-value`,removedValue:e}),t.focusInput()},t.clearValue=function(){var e=t.state.selectValue;t.onChange(WT(t.props.isMulti,[],null),{action:`clear`,removedValues:e})},t.popValue=function(){var e=t.props.isMulti,n=t.state.selectValue,r=n[n.length-1],i=n.slice(0,n.length-1),a=WT(e,i,i[0]||null);r&&t.onChange(a,{action:`pop-value`,removedValue:r})},t.getFocusedOptionId=function(e){return NO(t.state.focusableOptionsWithIds,e)},t.getFocusableOptionsWithIds=function(){return OO(EO(t.props,t.state.selectValue),t.getElementId(`option`))},t.getValue=function(){return t.state.selectValue},t.cx=function(){var e=[...arguments];return CT.apply(void 0,[t.props.classNamePrefix].concat(e))},t.getOptionLabel=function(e){return PO(t.props,e)},t.getOptionValue=function(e){return FO(t.props,e)},t.getStyles=function(e,n){var r=t.props.unstyled,i=gO[e](n,r);i.boxSizing=`border-box`;var a=t.props.styles[e];return a?a(i,n):i},t.getClassNames=function(e,n){var r,i;return(r=(i=t.props.classNames)[e])?.call(i,n)},t.getElementId=function(e){return`${t.state.instancePrefix}-${e}`},t.getComponents=function(){return vD(t.props)},t.buildCategorizedOptions=function(){return EO(t.props,t.state.selectValue)},t.getCategorizedOptions=function(){return t.props.menuIsOpen?t.buildCategorizedOptions():[]},t.buildFocusableOptions=function(){return DO(t.buildCategorizedOptions())},t.getFocusableOptions=function(){return t.props.menuIsOpen?t.buildFocusableOptions():[]},t.ariaOnChange=function(e,n){t.setState({ariaSelection:J({value:e},n)})},t.onMenuMouseDown=function(e){e.button===0&&(e.stopPropagation(),e.preventDefault(),t.focusInput())},t.onMenuMouseMove=function(e){t.blockOptionHover=!1},t.onControlMouseDown=function(e){if(!e.defaultPrevented){var n=t.props.openMenuOnClick;t.state.isFocused?t.props.menuIsOpen?e.target.tagName!==`INPUT`&&e.target.tagName!==`TEXTAREA`&&t.onMenuClose():n&&t.openMenu(`first`):(n&&(t.openAfterFocus=!0),t.focusInput()),e.target.tagName!==`INPUT`&&e.target.tagName!==`TEXTAREA`&&e.preventDefault()}},t.onDropdownIndicatorMouseDown=function(e){if(!(e&&e.type===`mousedown`&&e.button!==0)&&!t.props.isDisabled){var n=t.props,r=n.isMulti,i=n.menuIsOpen;t.focusInput(),i?(t.setState({inputIsHiddenAfterUpdate:!r}),t.onMenuClose()):t.openMenu(`first`),e.preventDefault()}},t.onClearIndicatorMouseDown=function(e){e&&e.type===`mousedown`&&e.button!==0||(t.clearValue(),e.preventDefault(),t.openAfterFocus=!1,e.type===`touchend`?t.focusInput():setTimeout(function(){return t.focusInput()}))},t.onScroll=function(e){typeof t.props.closeMenuOnScroll==`boolean`?e.target instanceof HTMLElement&&DT(e.target)&&t.props.onMenuClose():typeof t.props.closeMenuOnScroll==`function`&&t.props.closeMenuOnScroll(e)&&t.props.onMenuClose()},t.onCompositionStart=function(){t.isComposing=!0},t.onCompositionEnd=function(){t.isComposing=!1},t.onTouchStart=function(e){var n=e.touches,r=n&&n.item(0);r&&(t.initialTouchX=r.clientX,t.initialTouchY=r.clientY,t.userIsDragging=!1)},t.onTouchMove=function(e){var n=e.touches,r=n&&n.item(0);if(r){var i=Math.abs(r.clientX-t.initialTouchX),a=Math.abs(r.clientY-t.initialTouchY),o=5;t.userIsDragging=i>o||a>o}},t.onTouchEnd=function(e){t.userIsDragging||(t.controlRef&&!t.controlRef.contains(e.target)&&t.menuListRef&&!t.menuListRef.contains(e.target)&&t.blurInput(),t.initialTouchX=0,t.initialTouchY=0)},t.onControlTouchEnd=function(e){t.userIsDragging||t.onControlMouseDown(e)},t.onClearIndicatorTouchEnd=function(e){t.userIsDragging||t.onClearIndicatorMouseDown(e)},t.onDropdownIndicatorTouchEnd=function(e){t.userIsDragging||t.onDropdownIndicatorMouseDown(e)},t.handleInputChange=function(e){var n=t.props.inputValue,r=e.currentTarget.value;t.setState({inputIsHiddenAfterUpdate:!1}),t.onInputChange(r,{action:`input-change`,prevInputValue:n}),t.props.menuIsOpen||t.onMenuOpen()},t.onInputFocus=function(e){t.props.onFocus&&t.props.onFocus(e),t.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(t.openAfterFocus||t.props.openMenuOnFocus)&&t.openMenu(`first`),t.openAfterFocus=!1},t.onInputBlur=function(e){var n=t.props.inputValue;if(t.menuListRef&&t.menuListRef.contains(document.activeElement)){t.inputRef.focus();return}t.props.onBlur&&t.props.onBlur(e),t.onInputChange(``,{action:`input-blur`,prevInputValue:n}),t.onMenuClose(),t.setState({focusedValue:null,isFocused:!1})},t.onOptionHover=function(e){if(!(t.blockOptionHover||t.state.focusedOption===e)){var n=t.getFocusableOptions(),r=n.indexOf(e);t.setState({focusedOption:e,focusedOptionId:r>-1?t.getFocusedOptionId(e):null})}},t.shouldHideSelectedOptions=function(){return zO(t.props)},t.onValueInputFocus=function(e){e.preventDefault(),e.stopPropagation(),t.focus()},t.onKeyDown=function(e){var n=t.props,r=n.isMulti,i=n.backspaceRemovesValue,a=n.escapeClearsValue,o=n.inputValue,s=n.isClearable,c=n.isDisabled,l=n.menuIsOpen,u=n.onKeyDown,d=n.tabSelectsValue,f=n.openMenuOnFocus,p=t.state,m=p.focusedOption,h=p.focusedValue,g=p.selectValue;if(!c&&!(typeof u==`function`&&(u(e),e.defaultPrevented))){switch(t.blockOptionHover=!0,e.key){case`ArrowLeft`:if(!r||o)return;t.focusValue(`previous`);break;case`ArrowRight`:if(!r||o)return;t.focusValue(`next`);break;case`Delete`:case`Backspace`:if(o)return;if(h)t.removeValue(h);else{if(!i)return;r?t.popValue():s&&t.clearValue()}break;case`Tab`:if(t.isComposing||e.shiftKey||!l||!d||!m||f&&t.isOptionSelected(m,g))return;t.selectOption(m);break;case`Enter`:if(e.keyCode===229)break;if(l){if(!m||t.isComposing)return;t.selectOption(m);break}return;case`Escape`:l?(t.setState({inputIsHiddenAfterUpdate:!1}),t.onInputChange(``,{action:`menu-close`,prevInputValue:o}),t.onMenuClose()):s&&a&&t.clearValue();break;case` `:if(o)return;if(!l){t.openMenu(`first`);break}if(!m)return;t.selectOption(m);break;case`ArrowUp`:l?t.focusOption(`up`):t.openMenu(`last`);break;case`ArrowDown`:l?t.focusOption(`down`):t.openMenu(`first`);break;case`PageUp`:if(!l)return;t.focusOption(`pageup`);break;case`PageDown`:if(!l)return;t.focusOption(`pagedown`);break;case`Home`:if(!l)return;t.focusOption(`first`);break;case`End`:if(!l)return;t.focusOption(`last`);break;default:return}e.preventDefault()}},t.state.instancePrefix=`react-select-`+(t.props.instanceId||++BO),t.state.selectValue=wT(e.value),e.menuIsOpen&&t.state.selectValue.length){var i=t.getFocusableOptionsWithIds(),a=t.buildFocusableOptions(),o=a.indexOf(t.state.selectValue[0]);t.state.focusableOptionsWithIds=i,t.state.focusedOption=a[o],t.state.focusedOptionId=NO(i,a[o])}return t}return MS(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&&PT(this.menuListRef,this.focusedOptionRef)}},{key:`componentDidUpdate`,value:function(e){var t=this.props,n=t.isDisabled,r=t.menuIsOpen,i=this.state.isFocused;(i&&!n&&e.isDisabled||i&&r&&!e.menuIsOpen)&&this.focusInput(),i&&n&&!e.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!i&&!n&&e.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(PT(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(e,t){this.props.onInputChange(e,t)}},{key:`focusInput`,value:function(){this.inputRef&&this.inputRef.focus()}},{key:`blurInput`,value:function(){this.inputRef&&this.inputRef.blur()}},{key:`openMenu`,value:function(e){var t=this,n=this.state,r=n.selectValue,i=n.isFocused,a=this.buildFocusableOptions(),o=e===`first`?0:a.length-1;if(!this.props.isMulti){var s=a.indexOf(r[0]);s>-1&&(o=s)}this.scrollToFocusedOptionOnUpdate=!(i&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:a[o],focusedOptionId:this.getFocusedOptionId(a[o])},function(){return t.onMenuOpen()})}},{key:`focusValue`,value:function(e){var t=this.state,n=t.selectValue,r=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var i=n.indexOf(r);r||(i=-1);var a=n.length-1,o=-1;if(n.length){switch(e){case`previous`:o=i===0?0:i===-1?a:i-1;break;case`next`:i>-1&&i<a&&(o=i+1);break}this.setState({inputIsHidden:o!==-1,focusedValue:n[o]})}}}},{key:`focusOption`,value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:`first`,t=this.props.pageSize,n=this.state.focusedOption,r=this.getFocusableOptions();if(r.length){var i=0,a=r.indexOf(n);n||(a=-1),e===`up`?i=a>0?a-1:r.length-1:e===`down`?i=(a+1)%r.length:e===`pageup`?(i=a-t,i<0&&(i=0)):e===`pagedown`?(i=a+t,i>r.length-1&&(i=r.length-1)):e===`last`&&(i=r.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:r[i],focusedValue:null,focusedOptionId:this.getFocusedOptionId(r[i])})}}},{key:`getTheme`,value:function(){return this.props.theme?typeof this.props.theme==`function`?this.props.theme(CO):J(J({},CO),this.props.theme):CO}},{key:`getCommonProps`,value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,r=this.getClassNames,i=this.getValue,a=this.selectOption,o=this.setValue,s=this.props,c=s.isMulti,l=s.isRtl,u=s.options,d=this.hasValue();return{clearValue:e,cx:t,getStyles:n,getClassNames:r,getValue:i,hasValue:d,isMulti:c,isRtl:l,options:u,selectOption:a,selectProps:s,setValue:o,theme:this.getTheme()}}},{key:`hasValue`,value:function(){var e=this.state.selectValue;return e.length>0}},{key:`hasOptions`,value:function(){return!!this.getFocusableOptions().length}},{key:`isClearable`,value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return t===void 0?n:t}},{key:`isOptionDisabled`,value:function(e,t){return IO(this.props,e,t)}},{key:`isOptionSelected`,value:function(e,t){return LO(this.props,e,t)}},{key:`filterOption`,value:function(e,t){return RO(this.props,e,t)}},{key:`formatOptionLabel`,value:function(e,t){if(typeof this.props.formatOptionLabel==`function`){var n=this.props.inputValue,r=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:r})}else return this.getOptionLabel(e)}},{key:`formatGroupLabel`,value:function(e){return this.props.formatGroupLabel(e)}},{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 t=this.props,n=t.isDisabled,r=t.isSearchable,i=t.inputId,a=t.inputValue,o=t.tabIndex,s=t.form,c=t.menuIsOpen,l=t.required,u=this.getComponents(),d=u.Input,f=this.state,p=f.inputIsHidden,m=f.ariaSelection,h=this.commonProps,g=i||this.getElementId(`input`),_=J(J(J({"aria-autocomplete":`list`,"aria-expanded":c,"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":l,role:`combobox`,"aria-activedescendant":this.isAppleDevice?void 0:this.state.focusedOptionId||``},c&&{"aria-controls":this.getElementId(`listbox`)}),!r&&{"aria-readonly":!0}),this.hasValue()?m?.action===`initial-input-focus`&&{"aria-describedby":this.getElementId(`live-region`)}:{"aria-describedby":this.getElementId(`placeholder`)});return r?e.createElement(d,Y({},h,{autoCapitalize:`none`,autoComplete:`off`,autoCorrect:`off`,id:g,innerRef:this.getInputRef,isDisabled:n,isHidden:p,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:`false`,tabIndex:o,form:s,type:`text`,value:a},_)):e.createElement(VD,Y({id:g,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:xT,onFocus:this.onInputFocus,disabled:n,tabIndex:o,inputMode:`none`,form:s,value:``},_))}},{key:`renderPlaceholderOrValue`,value:function(){var t=this,n=this.getComponents(),r=n.MultiValue,i=n.MultiValueContainer,a=n.MultiValueLabel,o=n.MultiValueRemove,s=n.SingleValue,c=n.Placeholder,l=this.commonProps,u=this.props,d=u.controlShouldRenderValue,f=u.isDisabled,p=u.isMulti,m=u.inputValue,h=u.placeholder,g=this.state,_=g.selectValue,v=g.focusedValue,y=g.isFocused;if(!this.hasValue()||!d)return m?null:e.createElement(c,Y({},l,{key:`placeholder`,isDisabled:f,isFocused:y,innerProps:{id:this.getElementId(`placeholder`)}}),h);if(p)return _.map(function(n,s){var c=n===v,u=`${t.getOptionLabel(n)}-${t.getOptionValue(n)}`;return e.createElement(r,Y({},l,{components:{Container:i,Label:a,Remove:o},isFocused:c,isDisabled:f,key:u,index:s,removeProps:{onClick:function(){return t.removeValue(n)},onTouchEnd:function(){return t.removeValue(n)},onMouseDown:function(e){e.preventDefault()}},data:n}),t.formatOptionLabel(n,`value`))});if(m)return null;var b=_[0];return e.createElement(s,Y({},l,{data:b,isDisabled:f}),this.formatOptionLabel(b,`value`))}},{key:`renderClearIndicator`,value:function(){var t=this.getComponents(),n=t.ClearIndicator,r=this.commonProps,i=this.props,a=i.isDisabled,o=i.isLoading,s=this.state.isFocused;if(!this.isClearable()||!n||a||!this.hasValue()||o)return null;var c={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":`true`};return e.createElement(n,Y({},r,{innerProps:c,isFocused:s}))}},{key:`renderLoadingIndicator`,value:function(){var t=this.getComponents(),n=t.LoadingIndicator,r=this.commonProps,i=this.props,a=i.isDisabled,o=i.isLoading,s=this.state.isFocused;if(!n||!o)return null;var c={"aria-hidden":`true`};return e.createElement(n,Y({},r,{innerProps:c,isDisabled:a,isFocused:s}))}},{key:`renderIndicatorSeparator`,value:function(){var t=this.getComponents(),n=t.DropdownIndicator,r=t.IndicatorSeparator;if(!n||!r)return null;var i=this.commonProps,a=this.props.isDisabled,o=this.state.isFocused;return e.createElement(r,Y({},i,{isDisabled:a,isFocused:o}))}},{key:`renderDropdownIndicator`,value:function(){var t=this.getComponents(),n=t.DropdownIndicator;if(!n)return null;var r=this.commonProps,i=this.props.isDisabled,a=this.state.isFocused,o={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":`true`};return e.createElement(n,Y({},r,{innerProps:o,isDisabled:i,isFocused:a}))}},{key:`renderMenu`,value:function(){var t=this,n=this.getComponents(),r=n.Group,i=n.GroupHeading,a=n.Menu,o=n.MenuList,s=n.MenuPortal,c=n.LoadingMessage,l=n.NoOptionsMessage,u=n.Option,d=this.commonProps,f=this.state.focusedOption,p=this.props,m=p.captureMenuScroll,h=p.inputValue,g=p.isLoading,_=p.loadingMessage,v=p.minMenuHeight,y=p.maxMenuHeight,b=p.menuIsOpen,x=p.menuPlacement,S=p.menuPosition,C=p.menuPortalTarget,w=p.menuShouldBlockScroll,T=p.menuShouldScrollIntoView,E=p.noOptionsMessage,D=p.onMenuScrollToTop,O=p.onMenuScrollToBottom;if(!b)return null;var k=function(n,r){var i=n.type,a=n.data,o=n.isDisabled,s=n.isSelected,c=n.label,l=n.value,p=f===a,m=o?void 0:function(){return t.onOptionHover(a)},h=o?void 0:function(){return t.selectOption(a)},g=`${t.getElementId(`option`)}-${r}`,_={id:g,onClick:h,onMouseMove:m,onMouseOver:m,tabIndex:-1,role:`option`,"aria-selected":t.isAppleDevice?void 0:s};return e.createElement(u,Y({},d,{innerProps:_,data:a,isDisabled:o,isSelected:s,key:g,label:c,type:i,value:l,isFocused:p,innerRef:p?t.getFocusedOptionRef:void 0}),t.formatOptionLabel(n.data,`menu`))},A;if(this.hasOptions())A=this.getCategorizedOptions().map(function(n){if(n.type===`group`){var a=n.data,o=n.options,s=n.index,c=`${t.getElementId(`group`)}-${s}`,l=`${c}-heading`;return e.createElement(r,Y({},d,{key:c,data:a,options:o,Heading:i,headingProps:{id:l,data:n.data},label:t.formatGroupLabel(n.data)}),n.options.map(function(e){return k(e,`${s}-${e.index}`)}))}else if(n.type===`option`)return k(n,`${n.index}`)});else if(g){var j=_({inputValue:h});if(j===null)return null;A=e.createElement(c,d,j)}else{var M=E({inputValue:h});if(M===null)return null;A=e.createElement(l,d,M)}var N={minMenuHeight:v,maxMenuHeight:y,menuPlacement:x,menuPosition:S,menuShouldScrollIntoView:T},P=e.createElement(tE,Y({},d,N),function(n){var r=n.ref,i=n.placerProps,s=i.placement,c=i.maxHeight;return e.createElement(a,Y({},d,N,{innerRef:r,innerProps:{onMouseDown:t.onMenuMouseDown,onMouseMove:t.onMenuMouseMove},isLoading:g,placement:s}),e.createElement(nO,{captureEnabled:m,onTopArrive:D,onBottomArrive:O,lockEnabled:w},function(n){return e.createElement(o,Y({},d,{innerRef:function(e){t.getMenuListRef(e),n(e)},innerProps:{role:`listbox`,"aria-multiselectable":d.isMulti,id:t.getElementId(`listbox`)},isLoading:g,maxHeight:c,focusedOption:f}),A)}))});return C||S===`fixed`?e.createElement(s,Y({},d,{appendTo:C,controlElement:this.controlRef,menuPlacement:x,menuPosition:S}),P):P}},{key:`renderFormField`,value:function(){var t=this,n=this.props,r=n.delimiter,i=n.isDisabled,a=n.isMulti,o=n.name,s=n.required,c=this.state.selectValue;if(s&&!this.hasValue()&&!i)return e.createElement(aO,{name:o,onFocus:this.onValueInputFocus});if(!(!o||i))if(a)if(r){var l=c.map(function(e){return t.getOptionValue(e)}).join(r);return e.createElement(`input`,{name:o,type:`hidden`,value:l})}else{var u=c.length>0?c.map(function(n,r){return e.createElement(`input`,{key:`i-${r}`,name:o,type:`hidden`,value:t.getOptionValue(n)})}):e.createElement(`input`,{name:o,type:`hidden`,value:``});return e.createElement(`div`,null,u)}else{var d=c[0]?this.getOptionValue(c[0]):``;return e.createElement(`input`,{name:o,type:`hidden`,value:d})}}},{key:`renderLiveRegion`,value:function(){var t=this.commonProps,n=this.state,r=n.ariaSelection,i=n.focusedOption,a=n.focusedValue,o=n.isFocused,s=n.selectValue,c=this.getFocusableOptions();return e.createElement(OD,Y({},t,{id:this.getElementId(`live-region`),ariaSelection:r,focusedOption:i,focusedValue:a,isFocused:o,selectValue:s,focusableOptions:c,isAppleDevice:this.isAppleDevice}))}},{key:`render`,value:function(){var t=this.getComponents(),n=t.Control,r=t.IndicatorsContainer,i=t.SelectContainer,a=t.ValueContainer,o=this.props,s=o.className,c=o.id,l=o.isDisabled,u=o.menuIsOpen,d=this.state.isFocused,f=this.commonProps=this.getCommonProps();return e.createElement(i,Y({},f,{className:s,innerProps:{id:c,onKeyDown:this.onKeyDown},isDisabled:l,isFocused:d}),this.renderLiveRegion(),e.createElement(n,Y({},f,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:l,isFocused:d,menuIsOpen:u}),e.createElement(a,Y({},f,{isDisabled:l}),this.renderPlaceholderOrValue(),this.renderInput()),e.createElement(r,Y({},f,{isDisabled:l}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:`getDerivedStateFromProps`,value:function(e,t){var n=t.prevProps,r=t.clearFocusValueOnUpdate,i=t.inputIsHiddenAfterUpdate,a=t.ariaSelection,o=t.isFocused,s=t.prevWasFocused,c=t.instancePrefix,l=e.options,u=e.value,d=e.menuIsOpen,f=e.inputValue,p=e.isMulti,m=wT(u),h={};if(n&&(u!==n.value||l!==n.options||d!==n.menuIsOpen||f!==n.inputValue)){var g=d?kO(e,m):[],_=d?OO(EO(e,m),`${c}-option`):[],v=r?jO(t,m):null,y=MO(t,g),b=NO(_,y);h={selectValue:m,focusedOption:y,focusedOptionId:b,focusableOptionsWithIds:_,focusedValue:v,clearFocusValueOnUpdate:!1}}var x=i!=null&&e!==n?{inputIsHidden:i,inputIsHiddenAfterUpdate:void 0}:{},S=a,C=o&&s;return o&&!C&&(S={value:WT(p,m,m[0]||null),options:m,action:`initial-input-focus`},C=!s),a?.action===`initial-input-focus`&&(S=null),J(J(J({},h),x),{},{prevProps:e,ariaSelection:S,prevWasFocused:C})}}]),r}(r);VO.defaultProps=wO;var HO=c(function(t,n){var r=kS(t);return e.createElement(VO,Y({ref:n},r))}),UO=HO,WO=[`allowCreateWhileLoading`,`createOptionPosition`,`formatCreateLabel`,`isValidNewOption`,`getNewOptionData`,`onCreateOption`,`options`,`onChange`],GO=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:``,t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,r=String(e).toLowerCase(),i=String(n.getOptionValue(t)).toLowerCase(),a=String(n.getOptionLabel(t)).toLowerCase();return i===r||a===r},KO={formatCreateLabel:function(e){return`Create "${e}"`},isValidNewOption:function(e,t,n,r){return!(!e||t.some(function(t){return GO(e,t,r)})||n.some(function(t){return GO(e,t,r)}))},getNewOptionData:function(e,t){return{label:t,value:e,__isNew__:!0}}};function qO(e){var t=e.allowCreateWhileLoading,n=t===void 0?!1:t,r=e.createOptionPosition,i=r===void 0?`last`:r,a=e.formatCreateLabel,o=a===void 0?KO.formatCreateLabel:a,s=e.isValidNewOption,c=s===void 0?KO.isValidNewOption:s,l=e.getNewOptionData,d=l===void 0?KO.getNewOptionData:l,f=e.onCreateOption,p=e.options,m=p===void 0?[]:p,h=e.onChange,_=DS(e,WO),v=_.getOptionValue,y=v===void 0?mO:v,b=_.getOptionLabel,x=b===void 0?pO:b,S=_.inputValue,C=_.isLoading,w=_.isMulti,T=_.value,E=_.name,D=g(function(){return c(S,wT(T),m,{getOptionValue:y,getOptionLabel:x})?d(S,o(S)):void 0},[o,d,x,y,S,c,m,T]),O=g(function(){return(n||!C)&&D?i===`first`?[D].concat(US(m)):[].concat(US(m),[D]):m},[n,i,C,D,m]),k=u(function(e,t){if(t.action!==`select-option`)return h(e,t);var n=Array.isArray(e)?e:[e];if(n[n.length-1]===D){if(f)f(S);else{var r=d(S,S),i={action:`create-option`,name:E,option:r};h(WT(w,[].concat(US(wT(T)),[r]),r),i)}return}h(e,t)},[d,S,w,E,D,f,h,T]);return J(J({},_),{},{options:O,onChange:k})}var JO=c(function(t,n){var r=kS(t),i=qO(r);return e.createElement(VO,Y({ref:n},i))}),YO=JO;const XO=`
211
183
  tw:text-sm
212
184
  tw:text-sq-text-color
213
185
  tw:dark:text-sq-dark-text
214
- `,Ek={small:`reactSelectMinHeightSmall tw:pr-1 tw:pl-2`,regular:`reactSelectMinHeight tw:pr-1.5 tw:pl-2.5`},Dk=({options:e,value:t,placeholder:n=`select`,noOptionsMessage:r=`no matching options`,isSearchable:i=!0,creatable:a=!1,isMulti:o=!1,isClearable:s=!1,closeMenuOnSelect:c=!0,id:l,inputId:u,menuPortalTarget:d,getOptionLabel:f,getSelectedValueLabel:p,getOptionValue:m,onChange:h,menuIsOpen:g,menuPlacement:_=`auto`,extraClassNames:v,controlClassNames:y=``,inputGroup:x,filterConfig:S,filterOption:C,small:w=!1,isDisabled:T=!1,showError:E=!1,isLoading:D=!1,formatGroupLabel:O,onRemove:k,defaultValue:A,onMenuOpen:j,onMenuClose:M,components:N,onMenuInputFocus:P,onInputChange:ee,inputValue:F,onMenuScrollToBottom:I})=>{let L=(e,{context:t})=>{let n=p||f;return f||p?t===`value`?n?n(e):e.label:f?f(e):e.label:e.label},R=(e,t)=>{if(o&&k&&t.action===`remove-value`){k({id:t.removedValue});return}h(e)},te=c?void 0:!1,z={id:l,value:t,inputId:u,placeholder:n,closeMenuOnSelect:c,blurInputOnSelect:te,isSearchable:a?!0:i,isMulti:o,isClearable:s,isLoading:D,defaultValue:A,noOptionsMessage:()=>r,menuPortalTarget:d,menuIsOpen:g,onChange:R,unstyled:!0,menuPlacement:_,formatOptionLabel:L,formatGroupLabel:O,getOptionValue:m,options:e,isDisabled:T,onMenuOpen:j,onMenuClose:M,components:N,onMenuInputFocus:P,onInputChange:ee,inputValue:F,onMenuScrollToBottom:I,hideSelectedOptions:o,filterOption:C||(S?mO(S):void 0),classNames:{control:({menuIsOpen:e})=>{let t=e?`tw:rounded-t-md`:`tw:rounded-md`;return x===`left`?t=e?`tw:rounded-tl-md`:`tw:rounded-l-md`:x===`right`&&(t=e?`tw:rounded-tr-md`:`tw:rounded-r-md`),U(`
186
+ `,ZO={small:`reactSelectMinHeightSmall tw:pr-1 tw:pl-2`,regular:`reactSelectMinHeight tw:pr-1.5 tw:pl-2.5`},QO=({options:e,value:t,placeholder:n=`select`,noOptionsMessage:r=`no matching options`,isSearchable:i=!0,creatable:a=!1,isMulti:o=!1,isClearable:s=!1,closeMenuOnSelect:c=!0,id:l,inputId:u,menuPortalTarget:d,getOptionLabel:f,getSelectedValueLabel:p,getOptionValue:m,onChange:h,menuIsOpen:g,menuPlacement:_=`auto`,extraClassNames:v,controlClassNames:y=``,inputGroup:x,filterConfig:S,filterOption:C,small:w=!1,isDisabled:T=!1,showError:E=!1,isLoading:D=!1,formatGroupLabel:O,onRemove:k,defaultValue:A,onMenuOpen:j,onMenuClose:M,components:N,onMenuInputFocus:P,onInputChange:ee,inputValue:F,onMenuScrollToBottom:I})=>{let L=(e,{context:t})=>{let n=p||f;return f||p?t===`value`?n?n(e):e.label:f?f(e):e.label:e.label},R=(e,t)=>{if(o&&k&&t.action===`remove-value`){k({id:t.removedValue});return}h(e)},te=c?void 0:!1,z={id:l,value:t,inputId:u,placeholder:n,closeMenuOnSelect:c,blurInputOnSelect:te,isSearchable:a?!0:i,isMulti:o,isClearable:s,isLoading:D,defaultValue:A,noOptionsMessage:()=>r,menuPortalTarget:d,menuIsOpen:g,onChange:R,unstyled:!0,menuPlacement:_,formatOptionLabel:L,formatGroupLabel:O,getOptionValue:m,options:e,isDisabled:T,onMenuOpen:j,onMenuClose:M,components:N,onMenuInputFocus:P,onInputChange:ee,inputValue:F,onMenuScrollToBottom:I,hideSelectedOptions:o,filterOption:C||(S?zD(S):void 0),classNames:{control:({menuIsOpen:e})=>{let t=e?`tw:rounded-t-md`:`tw:rounded-md`;return x===`left`?t=e?`tw:rounded-tl-md`:`tw:rounded-l-md`:x===`right`&&(t=e?`tw:rounded-tr-md`:`tw:rounded-r-md`),U(`
215
187
  tw:border
216
188
  tw:border-solid
217
189
  `,!T&&`
@@ -224,7 +196,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
224
196
  `,t,E?`tw:border-sq-danger`:`
225
197
  tw:border-sq-disabled-gray
226
198
  tw:dark:border-sq-dark-disabled-gray
227
- `,w?Ek.small:Ek.regular,y,`
199
+ `,w?ZO.small:ZO.regular,y,`
228
200
  tw:focus:ring-0
229
201
  tw:disabled:cursor-not-allowed
230
202
  `,!T&&`
@@ -240,7 +212,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
240
212
  tw:text-gray-400
241
213
  tw:dark:text-sq-dark-text-lighter
242
214
  specOpenSelect
243
- `,container:()=>U(Tk,v,`tw:pointer-events-auto!`),input:()=>U(Tk,`specSelectInput`),menuList:()=>`
215
+ `,container:()=>U(XO,v,`tw:pointer-events-auto!`),input:()=>U(XO,`specSelectInput`),menuList:()=>`
244
216
  tw:z-[9999]!
245
217
  tw:min-w-fit
246
218
  tw:rounded-b
@@ -287,7 +259,35 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
287
259
  tw:text-sq-darkish-gray
288
260
  tw:dark:bg-sq-dark-disabled-gray
289
261
  specSelectGroupHeading
290
- `}};return b(a?wk:vk,{...z})};var Ok=Dk;function kk(e,[t,n]){return Math.min(n,Math.max(t,e))}function Ak(t){let n=e.useRef({value:t,previous:t});return e.useMemo(()=>(n.current.value!==t&&(n.current.previous=n.current.value,n.current.value=t),n.current.previous),[t])}var jk=[`PageUp`,`PageDown`],Mk=[`ArrowUp`,`ArrowDown`,`ArrowLeft`,`ArrowRight`],Nk={"from-left":[`Home`,`PageDown`,`ArrowDown`,`ArrowLeft`],"from-right":[`Home`,`PageDown`,`ArrowDown`,`ArrowRight`],"from-bottom":[`Home`,`PageDown`,`ArrowDown`,`ArrowLeft`],"from-top":[`Home`,`PageDown`,`ArrowUp`,`ArrowLeft`]},Pk=`Slider`,[Fk,Ik,Lk]=le(Pk),[Rk,zk]=R(Pk,[Lk]),[Bk,Vk]=Rk(Pk),Hk=e.forwardRef((t,n)=>{let{name:r,min:i=0,max:a=100,step:o=1,orientation:s=`horizontal`,disabled:c=!1,minStepsBetweenThumbs:l=0,defaultValue:u=[i],value:d,onValueChange:f=()=>{},onValueCommit:p=()=>{},inverted:m=!1,form:h,...g}=t,_=e.useRef(new Set),v=e.useRef(0),y=s===`horizontal`,x=y?Gk:Kk,[S=[],C]=fe({prop:d,defaultProp:u,onChange:e=>{let t=[..._.current];t[v.current]?.focus(),f(e)}}),w=e.useRef(S);function T(e){let t=oA(S,e);O(e,t)}function E(e){O(e,v.current)}function D(){let e=w.current[v.current],t=S[v.current],n=t!==e;n&&p(S)}function O(e,t,{commit:n}={commit:!1}){let r=dA(o),s=fA(Math.round((e-i)/o)*o+i,r),c=kk(s,[i,a]);C((e=[])=>{let r=rA(e,c,t);if(lA(r,l*o)){v.current=r.indexOf(c);let t=String(r)!==String(e);return t&&n&&p(r),t?r:e}else return e})}return b(Bk,{scope:t.__scopeSlider,name:r,disabled:c,min:i,max:a,valueIndexToChangeRef:v,thumbs:_.current,values:S,orientation:s,form:h,children:b(Fk.Provider,{scope:t.__scopeSlider,children:b(Fk.Slot,{scope:t.__scopeSlider,children:b(x,{"aria-disabled":c,"data-disabled":c?``:void 0,...g,ref:n,onPointerDown:V(g.onPointerDown,()=>{c||(w.current=S)}),min:i,max:a,inverted:m,onSlideStart:c?void 0:T,onSlideMove:c?void 0:E,onSlideEnd:c?void 0:D,onHomeKeyDown:()=>!c&&O(i,0,{commit:!0}),onEndKeyDown:()=>!c&&O(a,S.length-1,{commit:!0}),onStepKeyDown:({event:e,direction:t})=>{if(!c){let n=jk.includes(e.key),r=n||e.shiftKey&&Mk.includes(e.key),i=r?10:1,a=v.current,s=S[a],c=o*i*t;O(s+c,a,{commit:!0})}}})})})})});Hk.displayName=Pk;var[Uk,Wk]=Rk(Pk,{startEdge:`left`,endEdge:`right`,size:`width`,direction:1}),Gk=e.forwardRef((t,n)=>{let{min:r,max:i,dir:a,inverted:o,onSlideStart:s,onSlideMove:c,onSlideEnd:l,onStepKeyDown:u,...d}=t,[f,p]=e.useState(null),m=B(n,e=>p(e)),h=e.useRef(void 0),g=Ve(a),_=g===`ltr`,v=_&&!o||!_&&o;function y(e){let t=h.current||f.getBoundingClientRect(),n=[0,t.width],a=v?[r,i]:[i,r],o=uA(n,a);return h.current=t,o(e-t.left)}return b(Uk,{scope:t.__scopeSlider,startEdge:v?`left`:`right`,endEdge:v?`right`:`left`,direction:v?1:-1,size:`width`,children:b(qk,{dir:g,"data-orientation":`horizontal`,...d,ref:m,style:{...d.style,"--radix-slider-thumb-transform":`translateX(-50%)`},onSlideStart:e=>{let t=y(e.clientX);s?.(t)},onSlideMove:e=>{let t=y(e.clientX);c?.(t)},onSlideEnd:()=>{h.current=void 0,l?.()},onStepKeyDown:e=>{let t=v?`from-left`:`from-right`,n=Nk[t].includes(e.key);u?.({event:e,direction:n?-1:1})}})})}),Kk=e.forwardRef((t,n)=>{let{min:r,max:i,inverted:a,onSlideStart:o,onSlideMove:s,onSlideEnd:c,onStepKeyDown:l,...u}=t,d=e.useRef(null),f=B(n,d),p=e.useRef(void 0),m=!a;function h(e){let t=p.current||d.current.getBoundingClientRect(),n=[0,t.height],a=m?[i,r]:[r,i],o=uA(n,a);return p.current=t,o(e-t.top)}return b(Uk,{scope:t.__scopeSlider,startEdge:m?`bottom`:`top`,endEdge:m?`top`:`bottom`,size:`height`,direction:m?1:-1,children:b(qk,{"data-orientation":`vertical`,...u,ref:f,style:{...u.style,"--radix-slider-thumb-transform":`translateY(50%)`},onSlideStart:e=>{let t=h(e.clientY);o?.(t)},onSlideMove:e=>{let t=h(e.clientY);s?.(t)},onSlideEnd:()=>{p.current=void 0,c?.()},onStepKeyDown:e=>{let t=m?`from-bottom`:`from-top`,n=Nk[t].includes(e.key);l?.({event:e,direction:n?-1:1})}})})}),qk=e.forwardRef((e,t)=>{let{__scopeSlider:n,onSlideStart:r,onSlideMove:i,onSlideEnd:a,onHomeKeyDown:o,onEndKeyDown:s,onStepKeyDown:c,...l}=e,u=Vk(Pk,n);return b(H.span,{...l,ref:t,onKeyDown:V(e.onKeyDown,e=>{e.key===`Home`?(o(e),e.preventDefault()):e.key===`End`?(s(e),e.preventDefault()):jk.concat(Mk).includes(e.key)&&(c(e),e.preventDefault())}),onPointerDown:V(e.onPointerDown,e=>{let t=e.target;t.setPointerCapture(e.pointerId),e.preventDefault(),u.thumbs.has(t)?t.focus():r(e)}),onPointerMove:V(e.onPointerMove,e=>{let t=e.target;t.hasPointerCapture(e.pointerId)&&i(e)}),onPointerUp:V(e.onPointerUp,e=>{let t=e.target;t.hasPointerCapture(e.pointerId)&&(t.releasePointerCapture(e.pointerId),a(e))})})}),Jk=`SliderTrack`,Yk=e.forwardRef((e,t)=>{let{__scopeSlider:n,...r}=e,i=Vk(Jk,n);return b(H.span,{"data-disabled":i.disabled?``:void 0,"data-orientation":i.orientation,...r,ref:t})});Yk.displayName=Jk;var Xk=`SliderRange`,Zk=e.forwardRef((t,n)=>{let{__scopeSlider:r,...i}=t,a=Vk(Xk,r),o=Wk(Xk,r),s=e.useRef(null),c=B(n,s),l=a.values.length,u=a.values.map(e=>iA(e,a.min,a.max)),d=l>1?Math.min(...u):0,f=100-Math.max(...u);return b(H.span,{"data-orientation":a.orientation,"data-disabled":a.disabled?``:void 0,...i,ref:c,style:{...t.style,[o.startEdge]:d+`%`,[o.endEdge]:f+`%`}})});Zk.displayName=Xk;var Qk=`SliderThumb`,$k=e.forwardRef((t,n)=>{let r=Ik(t.__scopeSlider),[i,a]=e.useState(null),o=B(n,e=>a(e)),s=e.useMemo(()=>i?r().findIndex(e=>e.ref.current===i):-1,[r,i]);return b(eA,{...t,ref:o,index:s})}),eA=e.forwardRef((t,n)=>{let{__scopeSlider:r,index:i,name:a,...o}=t,s=Vk(Qk,r),c=Wk(Qk,r),[l,u]=e.useState(null),d=B(n,e=>u(e)),f=l?s.form||!!l.closest(`form`):!0,p=Qi(l),m=s.values[i],h=m===void 0?0:iA(m,s.min,s.max),g=aA(i,s.values.length),_=p?.[c.size],v=_?sA(_,h,c.direction):0;return e.useEffect(()=>{if(l)return s.thumbs.add(l),()=>{s.thumbs.delete(l)}},[l,s.thumbs]),x(`span`,{style:{transform:`var(--radix-slider-thumb-transform)`,position:`absolute`,[c.startEdge]:`calc(${h}% + ${v}px)`},children:[b(Fk.ItemSlot,{scope:t.__scopeSlider,children:b(H.span,{role:`slider`,"aria-label":t[`aria-label`]||g,"aria-valuemin":s.min,"aria-valuenow":m,"aria-valuemax":s.max,"aria-orientation":s.orientation,"data-orientation":s.orientation,"data-disabled":s.disabled?``:void 0,tabIndex:s.disabled?void 0:0,...o,ref:d,style:m===void 0?{display:`none`}:t.style,onFocus:V(t.onFocus,()=>{s.valueIndexToChangeRef.current=i})})}),f&&b(nA,{name:a??(s.name?s.name+(s.values.length>1?`[]`:``):void 0),form:s.form,value:m},i)]})});$k.displayName=Qk;var tA=`RadioBubbleInput`,nA=e.forwardRef(({__scopeSlider:t,value:n,...r},i)=>{let a=e.useRef(null),o=B(a,i),s=Ak(n);return e.useEffect(()=>{let e=a.current;if(!e)return;let t=window.HTMLInputElement.prototype,r=Object.getOwnPropertyDescriptor(t,`value`),i=r.set;if(s!==n&&i){let t=new Event(`input`,{bubbles:!0});i.call(e,n),e.dispatchEvent(t)}},[s,n]),b(H.input,{style:{display:`none`},...r,ref:o,defaultValue:n})});nA.displayName=tA;function rA(e=[],t,n){let r=[...e];return r[n]=t,r.sort((e,t)=>e-t)}function iA(e,t,n){let r=n-t,i=100/r,a=i*(e-t);return kk(a,[0,100])}function aA(e,t){if(t>2)return`Value ${e+1} of ${t}`;if(t===2)return[`Minimum`,`Maximum`][e]}function oA(e,t){if(e.length===1)return 0;let n=e.map(e=>Math.abs(e-t)),r=Math.min(...n);return n.indexOf(r)}function sA(e,t,n){let r=e/2,i=uA([0,50],[0,r]);return(r-i(t)*n)*n}function cA(e){return e.slice(0,-1).map((t,n)=>e[n+1]-t)}function lA(e,t){if(t>0){let n=cA(e),r=Math.min(...n);return r>=t}return!0}function uA(e,t){return n=>{if(e[0]===e[1]||t[0]===t[1])return t[0];let r=(t[1]-t[0])/(e[1]-e[0]);return t[0]+r*(n-e[0])}}function dA(e){return(String(e).split(`.`)[1]||``).length}function fA(e,t){let n=10**t;return Math.round(e*n)/n}var pA=Hk,mA=Yk,hA=Zk,gA=$k;const _A=({onValueChange:e,onPointerUp:t,id:n,value:r,name:i,disabled:a=!1,rootExtraClassNames:o=``,trackExtraClassNames:s=``,rangeExtraClassNames:c=``,thumbExtraClassNames:l=``,step:u,min:d=0,max:f=100,maxAccessible:p})=>{let m=Math.min(Math.max(p??f,d),f),h=Math.min(Math.max(r,d),m),g=t=>{if(!e)return;let n=Math.min(Math.max(t[0]??d,d),m);e([n])};return x(pA,{className:`tw:relative tw:flex tw:h-5 tw:w-full tw:touch-none tw:items-center tw:select-none ${o}`,defaultValue:[h],value:[h],onValueChange:g,onPointerUp:e=>t&&t(e),name:i,id:n,max:f,min:d,disabled:a,step:u,children:[b(mA,{className:`tw:relative tw:h-sq-5 tw:grow tw:rounded-sm tw:bg-sq-dark-gray tw:dark:bg-sq-dark-disabled-gray ${s}`,children:b(hA,{className:`tw:absolute tw:h-full tw:rounded-full ${c}`})}),b(gA,{className:`tw:block tw:h-sq-15 tw:w-sq-15 tw:rounded-full tw:bg-sq-theme-dark tw:transition tw:ease-in-out tw:focus:outline-none tw:focus-visible:outline-none tw:active:bg-sq-theme-darker tw:aria-disabled:bg-sq-dark-gray tw:dark:aria-disabled:bg-sq-dark-disabled-gray ${l}`,"aria-disabled":a})]})};var vA=`Tabs`,[yA,bA]=R(vA,[Aa]),xA=Aa(),[SA,CA]=yA(vA),wA=e.forwardRef((e,t)=>{let{__scopeTabs:n,value:r,onValueChange:i,defaultValue:a,orientation:o=`horizontal`,dir:s,activationMode:c=`automatic`,...l}=e,u=Ve(s),[d,f]=fe({prop:r,onChange:i,defaultProp:a??``,caller:vA});return b(SA,{scope:n,baseId:we(),value:d,onValueChange:f,orientation:o,dir:u,activationMode:c,children:b(H.div,{dir:u,"data-orientation":o,...l,ref:t})})});wA.displayName=vA;var TA=`TabsList`,EA=e.forwardRef((e,t)=>{let{__scopeTabs:n,loop:r=!0,...i}=e,a=CA(TA,n),o=xA(n);return b(Ha,{asChild:!0,...o,orientation:a.orientation,dir:a.dir,loop:r,children:b(H.div,{role:`tablist`,"aria-orientation":a.orientation,...i,ref:t})})});EA.displayName=TA;var DA=`TabsTrigger`,OA=e.forwardRef((e,t)=>{let{__scopeTabs:n,value:r,disabled:i=!1,...a}=e,o=CA(DA,n),s=xA(n),c=jA(o.baseId,r),l=MA(o.baseId,r),u=r===o.value;return b(Ua,{asChild:!0,...s,focusable:!i,active:u,children:b(H.button,{type:`button`,role:`tab`,"aria-selected":u,"aria-controls":l,"data-state":u?`active`:`inactive`,"data-disabled":i?``:void 0,disabled:i,id:c,...a,ref:t,onMouseDown:V(e.onMouseDown,e=>{!i&&e.button===0&&e.ctrlKey===!1?o.onValueChange(r):e.preventDefault()}),onKeyDown:V(e.onKeyDown,e=>{[` `,`Enter`].includes(e.key)&&o.onValueChange(r)}),onFocus:V(e.onFocus,()=>{let e=o.activationMode!==`manual`;!u&&!i&&e&&o.onValueChange(r)})})})});OA.displayName=DA;var kA=`TabsContent`,AA=e.forwardRef((t,n)=>{let{__scopeTabs:r,value:i,forceMount:a,children:o,...s}=t,c=CA(kA,r),l=jA(c.baseId,i),u=MA(c.baseId,i),d=i===c.value,f=e.useRef(d);return e.useEffect(()=>{let e=requestAnimationFrame(()=>f.current=!1);return()=>cancelAnimationFrame(e)},[]),b(ve,{present:a||d,children:({present:e})=>b(H.div,{"data-state":d?`active`:`inactive`,"data-orientation":c.orientation,role:`tabpanel`,"aria-labelledby":l,hidden:!e,id:u,tabIndex:0,...s,ref:n,style:{...t.style,animationDuration:f.current?`0s`:void 0},children:e&&o})})});AA.displayName=kA;function jA(e,t){return`${e}-trigger-${t}`}function MA(e,t){return`${e}-content-${t}`}var NA=wA,PA=EA,FA=OA,IA=AA;const LA=({tabs:e,defaultActiveTab:t,activeTab:n,onTabSelect:r,extraClassNames:i,testId:a,id:o,stretchTabs:s=!1})=>{let c=e=>{n!==e&&r&&r(e)};return x(NA,{className:`tw:flex tw:max-w-full tw:min-w-75 tw:grow tw:flex-col tw:focus-visible:outline-none ${i||``}`,defaultValue:t,"data-testid":a,id:o,value:n,onValueChange:c,children:[b(PA,{className:`tw:z-1001 tw:flex tw:flex-row tw:flex-wrap`,children:e.map(({id:e,icon:t,label:r,tabExtraClassNames:i,testId:a,disabled:o,tabLabelExtraClassNames:c=``},l)=>b(FA,{className:St(`tw:flex tw:min-w-25 tw:flex-1 tw:items-center tw:justify-center tw:border-r-2 tw:border-solid tw:border-sq-overlay tw:bg-sq-white tw:px-4 tw:last:border-r-0 tw:focus-visible:outline-none tw:dark:border-gray-700 tw:dark:bg-sq-dark-background`,{"tw:max-w-max tw:min-w-fit":!s,"tw:border-b-[0.1875rem] tw:border-b-sq-theme-darker tw:dark:border-b-sq-theme-darker":n===e,"tw:border-b-[0.0625rem] tw:hover:bg-sq-light-gray tw:hover:dark:bg-gray-700":n!==e},i),"data-testid":a,disabled:o,value:e,children:x(`span`,{className:`tw:flex tw:items-center tw:overflow-hidden`,children:[t&&b(jt,{icon:t,testId:`${e}_tab-icon`,extraClassNames:`tw:text-sq-15 tw:mr-sq-7 tw:flex-shrink-0`}),b(`span`,{className:`tw:overflow-hidden tw:text-sq-13 tw:font-medium tw:text-ellipsis tw:whitespace-nowrap ${n===e?`tw:text-gray-500 tw:dark:text-sq-dark-text`:`tw:text-sq-theme-dark tw:dark:text-sq-theme-darker`} ${c}`,children:r})]})},`${r}-${e}-${l}`))}),e.map((e,t)=>b(IA,{className:`tw:z-500 tw:-mt-sq-1 tw:flex tw:grow tw:flex-col tw:overflow-y-auto tw:border-t-[0.0625rem] tw:border-t-sq-overlay tw:bg-sq-white tw:focus-visible:outline-none tw:dark:border-t-gray-700 tw:dark:bg-sq-dark-background ${e.tabContentExtraClassNames||``}`,value:e.id,children:e.content},`${e.label}_${t}_content`))]})};var RA=LA;const zA=c(({readonly:e=!1,disabled:t=!1,onChange:n,onKeyUp:r,onFocus:i,onBlur:a,onKeyDown:o,onSelectionChange:s,id:c,name:l,rows:u=3,cols:d=void 0,value:p,placeholder:m,showError:h,extraClassNames:g=``,testId:v,autoFocus:y=!1},x)=>{let S=U(`
262
+ `}};return b(a?YO:UO,{...z})};var $O=QO;const ek=`qomponents`,tk=[`tw:relative`,`tw:-ml-px`,`tw:inline-flex`,`tw:items-center`,`tw:justify-center`,`tw:border`,`tw:border-solid`,`tw:border-sq-disabled-gray`,`tw:bg-sq-white`,`tw:text-sq-text-color`,`tw:no-underline`,`tw:hover:text-sq-theme-dark`,`tw:focus:text-sq-theme-dark`,`tw:active:text-sq-theme-dark`,`tw:dark:border-sq-dark-disabled-gray`,`tw:dark:bg-sq-dark-background`,`tw:dark:text-sq-dark-text`,`tw:dark:hover:text-sq-theme-dark-dark`,`tw:dark:focus:text-sq-theme-dark-dark`,`tw:dark:active:text-sq-theme-dark-dark`,`tw:cursor-pointer`],nk={small:`tw:min-w-6 tw:min-h-6`,normal:`tw:min-w-8 tw:min-h-[34px]`},rk=[`tw:cursor-not-allowed`,`tw:opacity-50`,`tw:pointer-events-none`,`tw:hover:text-sq-text-color`,`tw:focus:text-sq-text-color`,`tw:active:text-sq-text-color`,`tw:dark:hover:text-sq-dark-text`,`tw:dark:focus:text-sq-dark-text`,`tw:dark:active:text-sq-dark-text`],ik=[`tw:z-10`,`tw:border-sq-theme-dark!`,`tw:bg-sq-theme-dark!`,`tw:text-sq-white!`,`tw:hover:text-sq-white!`,`tw:focus:text-sq-white!`,`tw:active:text-sq-white!`,`tw:dark:border-sq-theme-dark-dark!`,`tw:dark:bg-sq-theme-dark-dark!`,`tw:dark:text-sq-white!`,`tw:dark:hover:text-sq-white!`,`tw:dark:focus:text-sq-white!`,`tw:dark:active:text-sq-white!`],ak=[`tw:inline-flex`,`tw:min-h-8`,`tw:min-w-8`,`tw:items-center`,`tw:justify-center`,`tw:bg-transparent`,`tw:text-sq-text-color`,`tw:dark:text-sq-dark-text`],ok={small:`tw:w-[55px]`,normal:`tw:w-[65px]`},sk={small:`tw:gap-1`,normal:`tw:gap-1.5`},ck={small:`tw:px-[6px] tw:py-px`,normal:`tw:px-[15px] tw:py-[6px]`},lk={small:`tw:ml-[5px]`,normal:`tw:my-1.5`},uk={small:``,normal:`tw:my-1.5`},dk={small:``,normal:`tw:ml-[10px]`},fk=({currentPage:e,pageCount:t,pageRangeDisplayed:n,marginPagesDisplayed:r})=>{if(t<=0)return[];let i=new Set,a=Math.min(n,t),o=Math.floor((a-1)/2),s=a-o-1,c=Math.max(e-o,1),l=Math.min(e+s,t);l-c+1<a&&(c===1?l=Math.min(t,c+a-1):l===t&&(c=Math.max(1,t-a+1)));for(let e=1;e<=Math.min(r,t);e+=1)i.add(e);for(let e=c;e<=l;e+=1)i.add(e);for(let e=Math.max(t-r+1,1);e<=t;e+=1)i.add(e);let u=[...i].sort((e,t)=>e-t),d=[];return u.forEach((e,t)=>{let n=u[t-1];if(n){let t=e-n;t===2?d.push({type:`page`,page:n+1}):t>2&&d.push({type:`break`,key:`break-${n}-${e}`})}d.push({type:`page`,page:e})}),d},pk=e=>Array.isArray(e)?e.map(e=>({label:e,value:e})):Array.from({length:Math.max(e,0)},(e,t)=>{let n=t+1;return{label:n,value:n}}),mk=(e,t,{active:n=!1,disabled:r=!1,rounded:i=``})=>[...tk,nk[t],e,i,n?ik.join(` `):``,r?rk.join(` `):``].filter(Boolean).join(` `),hk=e=>[...ak,e].filter(Boolean).join(` `),gk=({onPageChange:e,pageCount:t,pageNumber:n,pageSize:r,onPageSizeChange:i=()=>void 0,variant:a=`normal`,pageRangeDisplayed:o,marginPagesDisplayed:s,total:c,pageSizeOptions:l,size:u=`normal`,creatablePageSizes:d=!1,totalLabel:f,pageLabel:p,showLabel:m,previousLabel:h,previousAriaLabel:g,nextLabel:_,nextAriaLabel:v,breakLabel:y,pageClassName:S=``,pageLinkClassName:C=``,previousClassName:w=``,previousLinkClassName:T=``,nextClassName:E=``,nextLinkClassName:D=``,activeClassName:O=``,containerClassName:k=``,"aria-label":A,testId:j=`paginator`})=>{let{t:M}=mS(ek),N=a===`compact`,P=f??M(`PAGINATOR.TOTAL`,{defaultValue:`Total:`}),ee=p??M(`PAGINATOR.PAGE`,{defaultValue:`Page:`}),F=m??M(`PAGINATOR.SHOW`,{defaultValue:`Show:`}),I=h??M(`PAGINATOR.PREVIOUS`,{defaultValue:`Previous`}),L=g??M(`PAGINATOR.PREVIOUS`,{defaultValue:`Previous`}),R=_??M(`PAGINATOR.NEXT`,{defaultValue:`Next`}),te=v??M(`PAGINATOR.NEXT`,{defaultValue:`Next`}),z=y??M(`PAGINATOR.BREAK`,{defaultValue:`...`}),ne=A??M(`PAGINATOR.ARIA_LABEL`,{defaultValue:`Pagination`}),B=r!=null,re=B?l??[5,10,15,20,50]:[],ie=pk(re),ae=pk(t),oe=t>0?Math.min(Math.max(n,1),t):1,se=o??(N?1:2),ce=s??(N?1:2),le=fk({currentPage:oe,pageCount:t,pageRangeDisplayed:se,marginPagesDisplayed:ce}),V=ok[u],ue=sk[u],de=ck[u],fe=t=>{t&&e(t.value)},pe=e=>{e&&i(e.value)};return x(`div`,{className:`tw:flex tw:flex-wrap tw:items-center tw:gap-x-3 tw:gap-y-2 tw:text-sq-text-color tw:dark:text-sq-dark-text ${N?`tw:flex-1 tw:justify-between`:`tw:justify-end`}`,"data-testid":j,children:[x(`div`,{className:`tw:flex tw:flex-nowrap tw:items-center ${ue}`,children:[x(`div`,{"data-testid":`goToPageWrapper`,className:`tw:flex tw:flex-nowrap tw:items-center ${ue} ${lk[u]}`,children:[c!==void 0&&x(`span`,{className:`tw:whitespace-nowrap`,children:[P,` `,b(`strong`,{children:c})]}),b(`span`,{children:ee}),b($O,{small:u===`small`,placeholder:``,menuPortalTarget:typeof document>`u`?null:document.body,extraClassNames:V,value:ae.find(({value:e})=>e===oe),options:ae,isSearchable:!0,onChange:fe})]}),B&&x(`div`,{"data-testid":`itemCountWrapper`,className:`tw:flex tw:flex-nowrap tw:items-center ${ue} ${uk[u]}`,children:[b(`span`,{className:dk[u],children:F}),b($O,{small:u===`small`,menuPlacement:`auto`,menuPortalTarget:typeof document>`u`?null:document.body,extraClassNames:V,value:ie.find(({value:e})=>e===r),options:ie,isSearchable:!1,onChange:pe,creatable:d})]})]}),b(`nav`,{"aria-label":ne,className:`tw:flex`,children:x(`ul`,{className:`tw:flex tw:list-none tw:m-0 tw:p-0 tw:items-center ${k}`.trim(),children:[b(`li`,{className:w,children:b(`button`,{type:`button`,"aria-label":L,disabled:oe<=1||t<=0,onClick:()=>e(oe-1),className:`${mk(de,u,{disabled:oe<=1||t<=0,rounded:`tw:rounded-l-lg`})} ${T}`.trim(),children:N?h??b(`span`,{"aria-hidden":`true`,children:`‹`}):I})}),le.map(t=>b(`li`,{className:t.type===`page`?`${S} ${t.page===oe?O:``}`.trim():void 0,children:t.type===`page`?b(`button`,{type:`button`,"aria-current":t.page===oe?`page`:void 0,"aria-label":`Page ${t.page}`,onClick:()=>{t.page!==oe&&e(t.page)},className:`${mk(de,u,{active:t.page===oe})} ${C}`.trim(),children:t.page}):b(`span`,{"aria-hidden":`true`,className:hk(de),children:z})},t.type===`page`?`page-${t.page}`:t.key)),b(`li`,{className:E,children:b(`button`,{type:`button`,"aria-label":te,disabled:oe>=t||t<=0,onClick:()=>e(oe+1),className:`${mk(de,u,{disabled:oe>=t||t<=0,rounded:`tw:rounded-r-lg`})} ${D}`.trim(),children:N?_??b(`span`,{"aria-hidden":`true`,children:`›`}):R})})]})})]})};var _k=gk;function vk(t,n=[]){let r=[];function i(n,i){let a=e.createContext(i);a.displayName=n+`Context`;let o=r.length;r=[...r,i];let s=n=>{let{scope:r,children:i,...s}=n,c=r?.[t]?.[o]||a,l=e.useMemo(()=>s,Object.values(s));return b(c.Provider,{value:l,children:i})};s.displayName=n+`Provider`;function c(r,s){let c=s?.[t]?.[o]||a,l=e.useContext(c);if(l)return l;if(i!==void 0)return i;throw Error(`\`${r}\` must be used within \`${n}\``)}return[s,c]}let a=()=>{let n=r.map(t=>e.createContext(t));return function(r){let i=r?.[t]||n;return e.useMemo(()=>({[`__scope${t}`]:{...r,[t]:i}}),[r,i])}};return a.scopeName=t,[i,yk(a,...n)]}function yk(...t){let n=t[0];if(t.length===1)return n;let r=()=>{let r=t.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(t){let i=r.reduce((e,{useScope:n,scopeName:r})=>{let i=n(t),a=i[`__scope${r}`];return{...e,...a}},{});return e.useMemo(()=>({[`__scope${n.scopeName}`]:i}),[i])}};return r.scopeName=n.scopeName,r}var bk=Symbol.for(`react.lazy`),xk=e.use;function Sk(e){return typeof e==`object`&&!!e&&`then`in e}function Ck(e){return typeof e==`object`&&!!e&&`$$typeof`in e&&e.$$typeof===bk&&`_payload`in e&&Sk(e._payload)}function wk(t){let n=Tk(t),r=e.forwardRef((t,r)=>{let{children:i,...a}=t;Ck(i)&&typeof xk==`function`&&(i=xk(i._payload));let o=e.Children.toArray(i),s=o.find(Dk);if(s){let t=s.props.children,i=o.map(n=>n===s?e.Children.count(t)>1?e.Children.only(null):e.isValidElement(t)?t.props.children:null:n);return b(n,{...a,ref:r,children:e.isValidElement(t)?e.cloneElement(t,void 0,i):null})}return b(n,{...a,ref:r,children:i})});return r.displayName=`${t}.Slot`,r}function Tk(t){let n=e.forwardRef((t,n)=>{let{children:r,...i}=t;if(Ck(r)&&typeof xk==`function`&&(r=xk(r._payload)),e.isValidElement(r)){let t=kk(r),a=Ok(i,r.props);return r.type!==e.Fragment&&(a.ref=n?ne(n,t):t),e.cloneElement(r,a)}return e.Children.count(r)>1?e.Children.only(null):null});return n.displayName=`${t}.SlotClone`,n}var Ek=Symbol(`radix.slottable`);function Dk(t){return e.isValidElement(t)&&typeof t.type==`function`&&`__radixId`in t.type&&t.type.__radixId===Ek}function Ok(e,t){let n={...t};for(let r in t){let i=e[r],a=t[r],o=/^on[A-Z]/.test(r);o?i&&a?n[r]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(n[r]=i):r===`style`?n[r]={...i,...a}:r===`className`&&(n[r]=[i,a].filter(Boolean).join(` `))}return{...e,...n}}function kk(e){let t=Object.getOwnPropertyDescriptor(e.props,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var Ak=[`a`,`button`,`div`,`form`,`h2`,`h3`,`img`,`input`,`label`,`li`,`nav`,`ol`,`p`,`select`,`span`,`svg`,`ul`],jk=Ak.reduce((t,n)=>{let r=wk(`Primitive.${n}`),i=e.forwardRef((e,t)=>{let{asChild:i,...a}=e,o=i?r:n;return typeof window<`u`&&(window[Symbol.for(`radix-ui`)]=!0),b(o,{...a,ref:t})});return i.displayName=`Primitive.${n}`,{...t,[n]:i}},{}),Mk=`Progress`,Nk=100,[Pk,Fk]=vk(Mk),[Ik,Lk]=Pk(Mk),Rk=e.forwardRef((e,t)=>{let{__scopeProgress:n,value:r=null,max:i,getValueLabel:a=Vk,...o}=e;(i||i===0)&&!Wk(i)&&console.error(Kk(`${i}`,`Progress`));let s=Wk(i)?i:Nk;r!==null&&!Gk(r,s)&&console.error(qk(`${r}`,`Progress`));let c=Gk(r,s)?r:null,l=Uk(c)?a(c,s):void 0;return b(Ik,{scope:n,value:c,max:s,children:b(jk.div,{"aria-valuemax":s,"aria-valuemin":0,"aria-valuenow":Uk(c)?c:void 0,"aria-valuetext":l,role:`progressbar`,"data-state":Hk(c,s),"data-value":c??void 0,"data-max":s,...o,ref:t})})});Rk.displayName=Mk;var zk=`ProgressIndicator`,Bk=e.forwardRef((e,t)=>{let{__scopeProgress:n,...r}=e,i=Lk(zk,n);return b(jk.div,{"data-state":Hk(i.value,i.max),"data-value":i.value??void 0,"data-max":i.max,...r,ref:t})});Bk.displayName=zk;function Vk(e,t){return`${Math.round(e/t*100)}%`}function Hk(e,t){return e==null?`indeterminate`:e===t?`complete`:`loading`}function Uk(e){return typeof e==`number`}function Wk(e){return Uk(e)&&!isNaN(e)&&e>0}function Gk(e,t){return Uk(e)&&!isNaN(e)&&e<=t&&e>=0}function Kk(e,t){return`Invalid prop \`max\` of value \`${e}\` supplied to \`${t}\`. Only numbers greater than 0 are valid max values. Defaulting to \`${Nk}\`.`}function qk(e,t){return`Invalid prop \`value\` of value \`${e}\` supplied to \`${t}\`. The \`value\` prop must be:
263
+ - a positive number
264
+ - less than the value passed to \`max\` (or ${Nk} if no \`max\` prop is set)
265
+ - \`null\` or \`undefined\` if the progress is indeterminate.
266
+
267
+ Defaulting to \`null\`.`}var Jk=Rk,Yk=Bk,Xk=M(((exports,t)=>{(function(e){var n=/^\s+/,r=/\s+$/,i=0,a=e.round,o=e.min,s=e.max,c=e.random;function l(e,t){if(e||=``,t||={},e instanceof l)return e;if(!(this instanceof l))return new l(e,t);var n=u(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=a(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=a(this._r)),this._g<1&&(this._g=a(this._g)),this._b<1&&(this._b=a(this._b)),this._ok=n.ok,this._tc_id=i++}l.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(e.r*299+e.g*587+e.b*114)/1e3},getLuminance:function(){var t=this.toRgb(),n,r,i,a,o,s;return n=t.r/255,r=t.g/255,i=t.b/255,a=n<=.03928?n/12.92:e.pow((n+.055)/1.055,2.4),o=r<=.03928?r/12.92:e.pow((r+.055)/1.055,2.4),s=i<=.03928?i/12.92:e.pow((i+.055)/1.055,2.4),.2126*a+.7152*o+.0722*s},setAlpha:function(e){return this._a=ee(e),this._roundA=a(100*this._a)/100,this},toHsv:function(){var e=m(this._r,this._g,this._b);return{h:e.h*360,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=m(this._r,this._g,this._b),t=a(e.h*360),n=a(e.s*100),r=a(e.v*100);return this._a==1?`hsv(`+t+`, `+n+`%, `+r+`%)`:`hsva(`+t+`, `+n+`%, `+r+`%, `+this._roundA+`)`},toHsl:function(){var e=f(this._r,this._g,this._b);return{h:e.h*360,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=f(this._r,this._g,this._b),t=a(e.h*360),n=a(e.s*100),r=a(e.l*100);return this._a==1?`hsl(`+t+`, `+n+`%, `+r+`%)`:`hsla(`+t+`, `+n+`%, `+r+`%, `+this._roundA+`)`},toHex:function(e){return g(this._r,this._g,this._b,e)},toHexString:function(e){return`#`+this.toHex(e)},toHex8:function(e){return _(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return`#`+this.toHex8(e)},toRgb:function(){return{r:a(this._r),g:a(this._g),b:a(this._b),a:this._a}},toRgbString:function(){return this._a==1?`rgb(`+a(this._r)+`, `+a(this._g)+`, `+a(this._b)+`)`:`rgba(`+a(this._r)+`, `+a(this._g)+`, `+a(this._b)+`, `+this._roundA+`)`},toPercentageRgb:function(){return{r:a(F(this._r,255)*100)+`%`,g:a(F(this._g,255)*100)+`%`,b:a(F(this._b,255)*100)+`%`,a:this._a}},toPercentageRgbString:function(){return this._a==1?`rgb(`+a(F(this._r,255)*100)+`%, `+a(F(this._g,255)*100)+`%, `+a(F(this._b,255)*100)+`%)`:`rgba(`+a(F(this._r,255)*100)+`%, `+a(F(this._g,255)*100)+`%, `+a(F(this._b,255)*100)+`%, `+this._roundA+`)`},toName:function(){return this._a===0?`transparent`:this._a<1?!1:N[g(this._r,this._g,this._b,!0)]||!1},toFilter:function(e){var t=`#`+v(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?`GradientType = 1, `:``;if(e){var i=l(e);n=`#`+v(i._r,i._g,i._b,i._a)}return`progid:DXImageTransform.Microsoft.gradient(`+r+`startColorstr=`+t+`,endColorstr=`+n+`)`},toString:function(e){var t=!!e;e||=this._format;var n=!1,r=this._a<1&&this._a>=0,i=!t&&r&&(e===`hex`||e===`hex6`||e===`hex3`||e===`hex4`||e===`hex8`||e===`name`);return i?e===`name`&&this._a===0?this.toName():this.toRgbString():(e===`rgb`&&(n=this.toRgbString()),e===`prgb`&&(n=this.toPercentageRgbString()),(e===`hex`||e===`hex6`)&&(n=this.toHexString()),e===`hex3`&&(n=this.toHexString(!0)),e===`hex4`&&(n=this.toHex8String(!0)),e===`hex8`&&(n=this.toHex8String()),e===`name`&&(n=this.toName()),e===`hsl`&&(n=this.toHslString()),e===`hsv`&&(n=this.toHsvString()),n||this.toHexString())},clone:function(){return l(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(S,arguments)},brighten:function(){return this._applyModification(C,arguments)},darken:function(){return this._applyModification(w,arguments)},desaturate:function(){return this._applyModification(y,arguments)},saturate:function(){return this._applyModification(b,arguments)},greyscale:function(){return this._applyModification(x,arguments)},spin:function(){return this._applyModification(T,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(A,arguments)},complement:function(){return this._applyCombination(E,arguments)},monochromatic:function(){return this._applyCombination(j,arguments)},splitcomplement:function(){return this._applyCombination(k,arguments)},triad:function(){return this._applyCombination(D,arguments)},tetrad:function(){return this._applyCombination(O,arguments)}},l.fromRatio=function(e,t){if(typeof e==`object`){var n={};for(var r in e)e.hasOwnProperty(r)&&(r===`a`?n[r]=e[r]:n[r]=ne(e[r]));e=n}return l(e,t)};function u(e){var t={r:0,g:0,b:0},n=1,r=null,i=null,a=null,c=!1,l=!1;return typeof e==`string`&&(e=oe(e)),typeof e==`object`&&(ae(e.r)&&ae(e.g)&&ae(e.b)?(t=d(e.r,e.g,e.b),c=!0,l=String(e.r).substr(-1)===`%`?`prgb`:`rgb`):ae(e.h)&&ae(e.s)&&ae(e.v)?(r=ne(e.s),i=ne(e.v),t=h(e.h,r,i),c=!0,l=`hsv`):ae(e.h)&&ae(e.s)&&ae(e.l)&&(r=ne(e.s),a=ne(e.l),t=p(e.h,r,a),c=!0,l=`hsl`),e.hasOwnProperty(`a`)&&(n=e.a)),n=ee(n),{ok:c,format:e.format||l,r:o(255,s(t.r,0)),g:o(255,s(t.g,0)),b:o(255,s(t.b,0)),a:n}}function d(e,t,n){return{r:F(e,255)*255,g:F(t,255)*255,b:F(n,255)*255}}function f(e,t,n){e=F(e,255),t=F(t,255),n=F(n,255);var r=s(e,t,n),i=o(e,t,n),a,c,l=(r+i)/2;if(r==i)a=c=0;else{var u=r-i;switch(c=l>.5?u/(2-r-i):u/(r+i),r){case e:a=(t-n)/u+(t<n?6:0);break;case t:a=(n-e)/u+2;break;case n:a=(e-t)/u+4;break}a/=6}return{h:a,s:c,l}}function p(e,t,n){var r,i,a;e=F(e,360),t=F(t,100),n=F(n,100);function o(e,t,n){return n<0&&(n+=1),n>1&&--n,n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(t===0)r=i=a=n;else{var s=n<.5?n*(1+t):n+t-n*t,c=2*n-s;r=o(c,s,e+1/3),i=o(c,s,e),a=o(c,s,e-1/3)}return{r:r*255,g:i*255,b:a*255}}function m(e,t,n){e=F(e,255),t=F(t,255),n=F(n,255);var r=s(e,t,n),i=o(e,t,n),a,c,l=r,u=r-i;if(c=r===0?0:u/r,r==i)a=0;else{switch(r){case e:a=(t-n)/u+(t<n?6:0);break;case t:a=(n-e)/u+2;break;case n:a=(e-t)/u+4;break}a/=6}return{h:a,s:c,v:l}}function h(t,n,r){t=F(t,360)*6,n=F(n,100),r=F(r,100);var i=e.floor(t),a=t-i,o=r*(1-n),s=r*(1-a*n),c=r*(1-(1-a)*n),l=i%6,u=[r,s,o,o,c,r][l],d=[c,r,r,s,o,o][l],f=[o,o,c,r,r,s][l];return{r:u*255,g:d*255,b:f*255}}function g(e,t,n,r){var i=[z(a(e).toString(16)),z(a(t).toString(16)),z(a(n).toString(16))];return r&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0):i.join(``)}function _(e,t,n,r,i){var o=[z(a(e).toString(16)),z(a(t).toString(16)),z(a(n).toString(16)),z(B(r))];return i&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)&&o[3].charAt(0)==o[3].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0):o.join(``)}function v(e,t,n,r){var i=[z(B(r)),z(a(e).toString(16)),z(a(t).toString(16)),z(a(n).toString(16))];return i.join(``)}l.equals=function(e,t){return!e||!t?!1:l(e).toRgbString()==l(t).toRgbString()},l.random=function(){return l.fromRatio({r:c(),g:c(),b:c()})};function y(e,t){t=t===0?0:t||10;var n=l(e).toHsl();return n.s-=t/100,n.s=I(n.s),l(n)}function b(e,t){t=t===0?0:t||10;var n=l(e).toHsl();return n.s+=t/100,n.s=I(n.s),l(n)}function x(e){return l(e).desaturate(100)}function S(e,t){t=t===0?0:t||10;var n=l(e).toHsl();return n.l+=t/100,n.l=I(n.l),l(n)}function C(e,t){t=t===0?0:t||10;var n=l(e).toRgb();return n.r=s(0,o(255,n.r-a(255*-(t/100)))),n.g=s(0,o(255,n.g-a(255*-(t/100)))),n.b=s(0,o(255,n.b-a(255*-(t/100)))),l(n)}function w(e,t){t=t===0?0:t||10;var n=l(e).toHsl();return n.l-=t/100,n.l=I(n.l),l(n)}function T(e,t){var n=l(e).toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,l(n)}function E(e){var t=l(e).toHsl();return t.h=(t.h+180)%360,l(t)}function D(e){var t=l(e).toHsl(),n=t.h;return[l(e),l({h:(n+120)%360,s:t.s,l:t.l}),l({h:(n+240)%360,s:t.s,l:t.l})]}function O(e){var t=l(e).toHsl(),n=t.h;return[l(e),l({h:(n+90)%360,s:t.s,l:t.l}),l({h:(n+180)%360,s:t.s,l:t.l}),l({h:(n+270)%360,s:t.s,l:t.l})]}function k(e){var t=l(e).toHsl(),n=t.h;return[l(e),l({h:(n+72)%360,s:t.s,l:t.l}),l({h:(n+216)%360,s:t.s,l:t.l})]}function A(e,t,n){t||=6,n||=30;var r=l(e).toHsl(),i=360/n,a=[l(e)];for(r.h=(r.h-(i*t>>1)+720)%360;--t;)r.h=(r.h+i)%360,a.push(l(r));return a}function j(e,t){t||=6;for(var n=l(e).toHsv(),r=n.h,i=n.s,a=n.v,o=[],s=1/t;t--;)o.push(l({h:r,s:i,v:a})),a=(a+s)%1;return o}l.mix=function(e,t,n){n=n===0?0:n||50;var r=l(e).toRgb(),i=l(t).toRgb(),a=n/100,o={r:(i.r-r.r)*a+r.r,g:(i.g-r.g)*a+r.g,b:(i.b-r.b)*a+r.b,a:(i.a-r.a)*a+r.a};return l(o)},l.readability=function(t,n){var r=l(t),i=l(n);return(e.max(r.getLuminance(),i.getLuminance())+.05)/(e.min(r.getLuminance(),i.getLuminance())+.05)},l.isReadable=function(e,t,n){var r=l.readability(e,t),i,a;switch(a=!1,i=se(n),i.level+i.size){case`AAsmall`:case`AAAlarge`:a=r>=4.5;break;case`AAlarge`:a=r>=3;break;case`AAAsmall`:a=r>=7;break}return a},l.mostReadable=function(e,t,n){var r=null,i=0,a,o,s,c;n||={},o=n.includeFallbackColors,s=n.level,c=n.size;for(var u=0;u<t.length;u++)a=l.readability(e,t[u]),a>i&&(i=a,r=l(t[u]));return l.isReadable(e,r,{level:s,size:c})||!o?r:(n.includeFallbackColors=!1,l.mostReadable(e,[`#fff`,`#000`],n))};var M=l.names={aliceblue:`f0f8ff`,antiquewhite:`faebd7`,aqua:`0ff`,aquamarine:`7fffd4`,azure:`f0ffff`,beige:`f5f5dc`,bisque:`ffe4c4`,black:`000`,blanchedalmond:`ffebcd`,blue:`00f`,blueviolet:`8a2be2`,brown:`a52a2a`,burlywood:`deb887`,burntsienna:`ea7e5d`,cadetblue:`5f9ea0`,chartreuse:`7fff00`,chocolate:`d2691e`,coral:`ff7f50`,cornflowerblue:`6495ed`,cornsilk:`fff8dc`,crimson:`dc143c`,cyan:`0ff`,darkblue:`00008b`,darkcyan:`008b8b`,darkgoldenrod:`b8860b`,darkgray:`a9a9a9`,darkgreen:`006400`,darkgrey:`a9a9a9`,darkkhaki:`bdb76b`,darkmagenta:`8b008b`,darkolivegreen:`556b2f`,darkorange:`ff8c00`,darkorchid:`9932cc`,darkred:`8b0000`,darksalmon:`e9967a`,darkseagreen:`8fbc8f`,darkslateblue:`483d8b`,darkslategray:`2f4f4f`,darkslategrey:`2f4f4f`,darkturquoise:`00ced1`,darkviolet:`9400d3`,deeppink:`ff1493`,deepskyblue:`00bfff`,dimgray:`696969`,dimgrey:`696969`,dodgerblue:`1e90ff`,firebrick:`b22222`,floralwhite:`fffaf0`,forestgreen:`228b22`,fuchsia:`f0f`,gainsboro:`dcdcdc`,ghostwhite:`f8f8ff`,gold:`ffd700`,goldenrod:`daa520`,gray:`808080`,green:`008000`,greenyellow:`adff2f`,grey:`808080`,honeydew:`f0fff0`,hotpink:`ff69b4`,indianred:`cd5c5c`,indigo:`4b0082`,ivory:`fffff0`,khaki:`f0e68c`,lavender:`e6e6fa`,lavenderblush:`fff0f5`,lawngreen:`7cfc00`,lemonchiffon:`fffacd`,lightblue:`add8e6`,lightcoral:`f08080`,lightcyan:`e0ffff`,lightgoldenrodyellow:`fafad2`,lightgray:`d3d3d3`,lightgreen:`90ee90`,lightgrey:`d3d3d3`,lightpink:`ffb6c1`,lightsalmon:`ffa07a`,lightseagreen:`20b2aa`,lightskyblue:`87cefa`,lightslategray:`789`,lightslategrey:`789`,lightsteelblue:`b0c4de`,lightyellow:`ffffe0`,lime:`0f0`,limegreen:`32cd32`,linen:`faf0e6`,magenta:`f0f`,maroon:`800000`,mediumaquamarine:`66cdaa`,mediumblue:`0000cd`,mediumorchid:`ba55d3`,mediumpurple:`9370db`,mediumseagreen:`3cb371`,mediumslateblue:`7b68ee`,mediumspringgreen:`00fa9a`,mediumturquoise:`48d1cc`,mediumvioletred:`c71585`,midnightblue:`191970`,mintcream:`f5fffa`,mistyrose:`ffe4e1`,moccasin:`ffe4b5`,navajowhite:`ffdead`,navy:`000080`,oldlace:`fdf5e6`,olive:`808000`,olivedrab:`6b8e23`,orange:`ffa500`,orangered:`ff4500`,orchid:`da70d6`,palegoldenrod:`eee8aa`,palegreen:`98fb98`,paleturquoise:`afeeee`,palevioletred:`db7093`,papayawhip:`ffefd5`,peachpuff:`ffdab9`,peru:`cd853f`,pink:`ffc0cb`,plum:`dda0dd`,powderblue:`b0e0e6`,purple:`800080`,rebeccapurple:`663399`,red:`f00`,rosybrown:`bc8f8f`,royalblue:`4169e1`,saddlebrown:`8b4513`,salmon:`fa8072`,sandybrown:`f4a460`,seagreen:`2e8b57`,seashell:`fff5ee`,sienna:`a0522d`,silver:`c0c0c0`,skyblue:`87ceeb`,slateblue:`6a5acd`,slategray:`708090`,slategrey:`708090`,snow:`fffafa`,springgreen:`00ff7f`,steelblue:`4682b4`,tan:`d2b48c`,teal:`008080`,thistle:`d8bfd8`,tomato:`ff6347`,turquoise:`40e0d0`,violet:`ee82ee`,wheat:`f5deb3`,white:`fff`,whitesmoke:`f5f5f5`,yellow:`ff0`,yellowgreen:`9acd32`},N=l.hexNames=P(M);function P(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function ee(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function F(t,n){R(t)&&(t=`100%`);var r=te(t);return t=o(n,s(0,parseFloat(t))),r&&(t=parseInt(t*n,10)/100),e.abs(t-n)<1e-6?1:t%n/parseFloat(n)}function I(e){return o(1,s(0,e))}function L(e){return parseInt(e,16)}function R(e){return typeof e==`string`&&e.indexOf(`.`)!=-1&&parseFloat(e)===1}function te(e){return typeof e==`string`&&e.indexOf(`%`)!=-1}function z(e){return e.length==1?`0`+e:``+e}function ne(e){return e<=1&&(e=e*100+`%`),e}function B(t){return e.round(parseFloat(t)*255).toString(16)}function re(e){return L(e)/255}var ie=(function(){var e=`[-\\+]?\\d+%?`,t=`[-\\+]?\\d*\\.\\d+%?`,n=`(?:`+t+`)|(?:`+e+`)`,r=`[\\s|\\(]+(`+n+`)[,|\\s]+(`+n+`)[,|\\s]+(`+n+`)\\s*\\)?`,i=`[\\s|\\(]+(`+n+`)[,|\\s]+(`+n+`)[,|\\s]+(`+n+`)[,|\\s]+(`+n+`)\\s*\\)?`;return{CSS_UNIT:new RegExp(n),rgb:RegExp(`rgb`+r),rgba:RegExp(`rgba`+i),hsl:RegExp(`hsl`+r),hsla:RegExp(`hsla`+i),hsv:RegExp(`hsv`+r),hsva:RegExp(`hsva`+i),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}})();function ae(e){return!!ie.CSS_UNIT.exec(e)}function oe(e){e=e.replace(n,``).replace(r,``).toLowerCase();var t=!1;if(M[e])e=M[e],t=!0;else if(e==`transparent`)return{r:0,g:0,b:0,a:0,format:`name`};var i;return(i=ie.rgb.exec(e))?{r:i[1],g:i[2],b:i[3]}:(i=ie.rgba.exec(e))?{r:i[1],g:i[2],b:i[3],a:i[4]}:(i=ie.hsl.exec(e))?{h:i[1],s:i[2],l:i[3]}:(i=ie.hsla.exec(e))?{h:i[1],s:i[2],l:i[3],a:i[4]}:(i=ie.hsv.exec(e))?{h:i[1],s:i[2],v:i[3]}:(i=ie.hsva.exec(e))?{h:i[1],s:i[2],v:i[3],a:i[4]}:(i=ie.hex8.exec(e))?{r:L(i[1]),g:L(i[2]),b:L(i[3]),a:re(i[4]),format:t?`name`:`hex8`}:(i=ie.hex6.exec(e))?{r:L(i[1]),g:L(i[2]),b:L(i[3]),format:t?`name`:`hex`}:(i=ie.hex4.exec(e))?{r:L(i[1]+``+i[1]),g:L(i[2]+``+i[2]),b:L(i[3]+``+i[3]),a:re(i[4]+``+i[4]),format:t?`name`:`hex8`}:(i=ie.hex3.exec(e))?{r:L(i[1]+``+i[1]),g:L(i[2]+``+i[2]),b:L(i[3]+``+i[3]),format:t?`name`:`hex`}:!1}function se(e){var t,n;return e||={level:`AA`,size:`small`},t=(e.level||`AA`).toUpperCase(),n=(e.size||`small`).toLowerCase(),t!==`AA`&&t!==`AAA`&&(t=`AA`),n!==`small`&&n!==`large`&&(n=`small`),{level:t,size:n}}t!==void 0&&t.exports?t.exports=l:typeof define==`function`&&define.amd?define(function(){return l}):window.tinycolor=l})(Math)})),Zk=ee(Xk());const Qk={duration:660,easing:`ease-in-out`,fill:`forwards`},$k=`tw:left-1 tw:text-xs tw:text-sq-text-color tw:dark:text-sq-dark-text tw:items-center tw:h-4.5`,eA=e=>{let{value:t,color:n=void 0,testId:r,label:i,extraClasses:a=``,labelClasses:o=``,valuesLength:s,max:c,index:l,totalValue:u,...d}=e,p=Dt(d),m=_(0),h=_(null),g=_(null),[y,x]=v(``),S=window.matchMedia(`(prefers-reduced-motion: reduce)`).matches,C=``;u>=c?l===0&&s===1?C=`tw:rounded-[0.9375rem]`:l===0?C=`tw:rounded-l-[0.9375rem]`:l===s-1&&(C=`tw:rounded-r-[0.9375rem]`):l===0&&(C=`tw:rounded-l-[0.9375rem]`);let w=n||void 0,T=n?``:`tw:bg-sq-theme-dark`,E=r?`progress-bar-indicator-${r}`:`progress-bar-indicator`,D=Number(t)/Number(c)*100;return f(()=>{if(!g.current)return;function e(){h.current&&=(h.current.cancel(),null)}let t=m.current;return e(),g.current.style.width=`${D}%`,!S&&D!==t&&(h.current=g.current.animate([{width:`${t}%`},{width:`${D}%`}],Qk)),m.current=D,()=>e()},[D,S]),f(()=>{let e=e=>{let t=getComputedStyle(e),n=t.backgroundColor,r=(0,Zk.default)(n).isDark()?`tw:text-sq-white tw:dark:text-sq-white`:`tw:text-sq-text-color tw:dark:text-sq-text-color`;x(r)};g.current&&e(g.current)},[n]),b(Yk,{className:`tw:flex tw:h-4.5 tw:w-full tw:items-center tw:justify-center ${s===1?``:`tw:overflow-hidden`} ${C} ${T} ${a}`,...p,"data-qtip-text":d.tooltip?d.tooltip:`${t}%`,"data-segment-value":t,"data-testid":E,ref:g,style:{backgroundColor:w,width:S?`${D}%`:void 0},children:i?b(`span`,{className:`${$k} ${o} ${y} ${s===1?`tw:absolute tw:z-50`:``}`,children:i}):void 0})},tA=({values:e=[],max:t=100,containerExtraClasses:n=``,zeroValueLabel:r=`No progress yet`})=>{let i=e.reduce((e,{value:t})=>e+t,0);return b(Jk,{className:`tw:relative tw:flex tw:h-4.5 tw:w-full tw:flex-1 tw:overflow-hidden tw:rounded-[0.9375rem] tw:bg-sq-dark-gray tw:dark:bg-sq-dark-disabled-gray ${n}`,max:t,value:i,children:i>0?e.map((n,r)=>s(eA,{...n,max:t,valuesLength:e.length,index:r,totalValue:i,key:r})):b(`div`,{className:`${$k} tw:mx-auto tw:overflow-hidden`,children:r})})};var nA=tA;function rA(e){return e.startsWith(`svgpath:`)}function iA(e){return rA(e)?e.substring(8):``}const aA=({onClick:e,icon:t,color:n,type:r=`default`,extraClassNames:i,viewBox:a=`0 0 19 19`,id:o,testId:s,customId:c,...l})=>{let u=Dt(l),d=r===`default`?`currentColor`:`var(--theme-icon)`;return b(`div`,{onClick:e,...u,className:U(`svgContainer`,`tw:outline-none tw:focus:outline-none tw:focus-visible:outline-none`,{"tw:cursor-pointer":e},i),children:b(`svg`,{id:o,"data-customid":c,xmlns:`http://www.w3.org/2000/svg`,className:`tw:text-sq-theme-icon tw:dark:text-sq-white`,viewBox:a,fill:n||d,"data-testid":s,children:b(`path`,{d:iA(t)})})})};var oA=aA;const sA=e=>{let t=b(y,{});return e.icon&&(t=rA(e.icon)?b(oA,{icon:e.icon,extraClassNames:`${e.iconExtraClassNames}tw:p-1 tw:h-9 tw:w-9 tw:dark:text-sq-white tw:text-5.5! tw:text-sq-white`,...e}):b(jt,{icon:e.icon,type:`text`,extraClassNames:`tw:dark:text-sq-white tw:text-5.5! tw:text-sq-white tw:min-w-9 ${e.iconExtraClassNames}`})),x(`div`,{className:`tw:flex tw:w-150 tw:flex-row tw:gap-4 tw:p-2.5 tw:pl-5`,children:[b(`div`,{className:St(`tw:flex tw:h-9 tw:w-9 tw:items-center tw:justify-center tw:rounded-[0.1875rem] tw:bg-sq-theme-dark tw:mt-1.5`,e.iconContainerExtraClassNames),children:t}),x(`div`,{className:`tw:flex tw:flex-col tw:justify-center`,children:[b(`div`,{className:`tw:text-[20px] tw:font-semibold`,children:e.display}),b(`div`,{className:`tw:text-sq-13 tw:leading-4`,children:e.text})]})]})},cA=e=>{let t=b(y,{});return e.icon&&(t=rA(e.icon)?b(oA,{icon:e.icon,extraClassNames:`tw:w-4 tw:text-5 tw:dark:text-sq-white tw:text-sq-text-color ${e.iconExtraClassNames}`,type:`default`,...e}):b(jt,{icon:e.icon,type:`text`,extraClassNames:`tw:text-5 tw:dark:text-sq-white tw:text-sq-text-color ${e.iconExtraClassNames}`})),b(`div`,{className:`tw:flex tw:flex-col tw:p-2.5`,children:x(`div`,{className:`tw:flex tw:flex-row tw:items-end tw:gap-2`,children:[b(`div`,{className:`tw:flex tw:h-5 tw:w-5 tw:items-center tw:justify-center tw:rounded-[0.1875rem]`,children:t}),b(`div`,{className:`tw:text-sq-13`,children:e.display})]})})},lA=e=>x(`div`,{className:`tw:flex tw:flex-col tw:justify-start tw:p-2.5 tw:text-left tw:font-normal tw:text-sq-text-color tw:dark:text-sq-dark-text`,children:[b(`h5`,{className:St(`tw:text-4`,`tw:leading-4.5 tw:font-medium tw:text-sq-theme-dark`),children:e.display}),b(`div`,{className:`tw:mt-1! tw:text-sq-13 tw:text-sq-text-color tw:dark:text-sq-dark-text`,children:e.text})]}),uA=(e,t)=>{switch(e){case`create-workbench`:return b(sA,{...t});case`view-workbench`:return b(cA,{...t});case`insert-seeq-content`:return b(lA,{...t});default:return b(sA,{...t})}},dA=({seeqActionDropdownItems:e,trigger:t,id:n,extraClassNames:r,containerTestId:i,disabled:a=!1,align:o=`end`,placement:s=`bottom`,placementOffset:c=5,alignOffset:l=-35,hasArrow:u=!1,onOpenChange:d,isOpen:f,setFocusOnTriggerOnClose:p=!0,keepFocusInsideDropdown:m=!0,variant:h,...g})=>{let _=Dt(g);return x(Al,{defaultOpen:!1,open:f,onOpenChange:d,modal:m,children:[b(jl,{id:n,"data-testid":n,className:`tw:border-none tw:focus-within:outline-none tw:focus:outline-none tw:focus-visible:outline-none`,asChild:!0,disabled:a,children:b(`div`,{..._,className:St(`tw:flex tw:flex-col tw:items-center tw:bg-transparent
268
+ tw:focus-within:outline-none
269
+ tw:focus:outline-none
270
+ tw:focus-visible:outline-none`,{"tw:cursor-not-allowed tw:opacity-50":a},r),children:t})}),b(Nl,{sideOffset:c,side:s,align:o,alignOffset:l,asChild:!0,onCloseAutoFocus:e=>!p&&e.preventDefault(),className:`tw:outline-none tw:focus-visible:outline-none`,children:x(`div`,{"data-testid":i,className:St(`tw:relative tw:z-1200 tw:min-w-6 tw:py-2
271
+ tw:shadow-[0_4px_8px_rgba(0,0,0,0.2)] tw:outline-none
272
+ tw:focus-visible:outline-none
273
+ tw:data-[side=bottom]:animate-slideUpAndFade
274
+ tw:data-[side=left]:animate-slideRightAndFade
275
+ tw:data-[side=right]:animate-slideLeftAndFade
276
+ tw:data-[side=top]:animate-slideDownAndFade`,`
277
+ tw:rounded-md
278
+ tw:border
279
+ tw:border-solid
280
+ tw:border-sq-disabled-gray
281
+ tw:dark:border-gray-500
282
+ `,`
283
+ tw:bg-sq-white
284
+ tw:dark:bg-sq-dark-background
285
+ `),children:[u&&b(Ll,{asChild:!0,children:b(`div`,{className:`
286
+ tw:-mt-sq-7 tw:h-sq-15 tw:w-sq-15 tw:rotate-45 tw:border-r
287
+ tw:border-b tw:border-sq-disabled-gray tw:bg-sq-white
288
+ tw:fill-transparent
289
+ tw:dark:border-gray-500 tw:dark:bg-sq-dark-background
290
+ `})}),e.map((e,t)=>x(`div`,{children:[b(Fl,{onSelect:t=>{e.action(t)},className:`tw:relative tw:flex tw:cursor-pointer tw:outline-none tw:select-none tw:hover:bg-sq-gray-highlight tw:aria-disabled:pointer-events-none tw:data-dim:opacity-50 tw:data-disabled:text-sq-disabled-gray tw:dark:text-sq-white tw:dark:hover:bg-sq-gray-highlight-dark`,"data-testid":e.testId,"data-dim":e.dim?``:void 0,disabled:!e.enabled,children:uA(h,e)}),e.divider&&b(Il,{"data-testid":`dropdown-divider-${t}`,className:`tw:my-2 tw:h-px tw:bg-sq-disabled-gray tw:dark:bg-gray-500`})]},e.id??t))]})})]})};var fA=dA;function pA({options:e,value:t,onChange:n,extraClassNames:r=``,id:i,testId:a,ariaLabel:o}){let s=`tw:flex tw:flex-wrap tw:gap-2 ${r}`;return b(`div`,{"aria-label":o,className:s,"data-testid":a,id:i,role:`group`,children:e.map(e=>{let r=e.value===t,i=`sq-segmented-control-pill tw:cursor-pointer tw:rounded-full tw:border tw:px-3 tw:py-1.5 tw:text-sm tw:transition-all tw:duration-150 tw:ease-out tw:focus-visible:outline-none tw:focus-visible:ring-2 tw:focus-visible:ring-sq-theme-link/30 tw:focus-visible:ring-offset-1 tw:dark:focus-visible:ring-offset-sq-dark-background ${r?`sq-segmented-control-pill--active`:`sq-segmented-control-pill--inactive`}`;return b(`button`,{"aria-pressed":r,className:i,onClick:n?()=>n(e.value):void 0,type:`button`,children:e.label},String(e.value))})})}var mA=pA;function hA(e,[t,n]){return Math.min(n,Math.max(t,e))}function gA(t){let n=e.useRef({value:t,previous:t});return e.useMemo(()=>(n.current.value!==t&&(n.current.previous=n.current.value,n.current.value=t),n.current.previous),[t])}var _A=[`PageUp`,`PageDown`],vA=[`ArrowUp`,`ArrowDown`,`ArrowLeft`,`ArrowRight`],yA={"from-left":[`Home`,`PageDown`,`ArrowDown`,`ArrowLeft`],"from-right":[`Home`,`PageDown`,`ArrowDown`,`ArrowRight`],"from-bottom":[`Home`,`PageDown`,`ArrowDown`,`ArrowLeft`],"from-top":[`Home`,`PageDown`,`ArrowUp`,`ArrowLeft`]},bA=`Slider`,[xA,SA,CA]=le(bA),[wA,TA]=R(bA,[CA]),[EA,DA]=wA(bA),OA=e.forwardRef((t,n)=>{let{name:r,min:i=0,max:a=100,step:o=1,orientation:s=`horizontal`,disabled:c=!1,minStepsBetweenThumbs:l=0,defaultValue:u=[i],value:d,onValueChange:f=()=>{},onValueCommit:p=()=>{},inverted:m=!1,form:h,...g}=t,_=e.useRef(new Set),v=e.useRef(0),y=s===`horizontal`,x=y?jA:MA,[S=[],C]=fe({prop:d,defaultProp:u,onChange:e=>{let t=[..._.current];t[v.current]?.focus(),f(e)}}),w=e.useRef(S);function T(e){let t=KA(S,e);O(e,t)}function E(e){O(e,v.current)}function D(){let e=w.current[v.current],t=S[v.current],n=t!==e;n&&p(S)}function O(e,t,{commit:n}={commit:!1}){let r=ZA(o),s=QA(Math.round((e-i)/o)*o+i,r),c=hA(s,[i,a]);C((e=[])=>{let r=UA(e,c,t);if(YA(r,l*o)){v.current=r.indexOf(c);let t=String(r)!==String(e);return t&&n&&p(r),t?r:e}else return e})}return b(EA,{scope:t.__scopeSlider,name:r,disabled:c,min:i,max:a,valueIndexToChangeRef:v,thumbs:_.current,values:S,orientation:s,form:h,children:b(xA.Provider,{scope:t.__scopeSlider,children:b(xA.Slot,{scope:t.__scopeSlider,children:b(x,{"aria-disabled":c,"data-disabled":c?``:void 0,...g,ref:n,onPointerDown:V(g.onPointerDown,()=>{c||(w.current=S)}),min:i,max:a,inverted:m,onSlideStart:c?void 0:T,onSlideMove:c?void 0:E,onSlideEnd:c?void 0:D,onHomeKeyDown:()=>!c&&O(i,0,{commit:!0}),onEndKeyDown:()=>!c&&O(a,S.length-1,{commit:!0}),onStepKeyDown:({event:e,direction:t})=>{if(!c){let n=_A.includes(e.key),r=n||e.shiftKey&&vA.includes(e.key),i=r?10:1,a=v.current,s=S[a],c=o*i*t;O(s+c,a,{commit:!0})}}})})})})});OA.displayName=bA;var[kA,AA]=wA(bA,{startEdge:`left`,endEdge:`right`,size:`width`,direction:1}),jA=e.forwardRef((t,n)=>{let{min:r,max:i,dir:a,inverted:o,onSlideStart:s,onSlideMove:c,onSlideEnd:l,onStepKeyDown:u,...d}=t,[f,p]=e.useState(null),m=B(n,e=>p(e)),h=e.useRef(void 0),g=Ve(a),_=g===`ltr`,v=_&&!o||!_&&o;function y(e){let t=h.current||f.getBoundingClientRect(),n=[0,t.width],a=v?[r,i]:[i,r],o=XA(n,a);return h.current=t,o(e-t.left)}return b(kA,{scope:t.__scopeSlider,startEdge:v?`left`:`right`,endEdge:v?`right`:`left`,direction:v?1:-1,size:`width`,children:b(NA,{dir:g,"data-orientation":`horizontal`,...d,ref:m,style:{...d.style,"--radix-slider-thumb-transform":`translateX(-50%)`},onSlideStart:e=>{let t=y(e.clientX);s?.(t)},onSlideMove:e=>{let t=y(e.clientX);c?.(t)},onSlideEnd:()=>{h.current=void 0,l?.()},onStepKeyDown:e=>{let t=v?`from-left`:`from-right`,n=yA[t].includes(e.key);u?.({event:e,direction:n?-1:1})}})})}),MA=e.forwardRef((t,n)=>{let{min:r,max:i,inverted:a,onSlideStart:o,onSlideMove:s,onSlideEnd:c,onStepKeyDown:l,...u}=t,d=e.useRef(null),f=B(n,d),p=e.useRef(void 0),m=!a;function h(e){let t=p.current||d.current.getBoundingClientRect(),n=[0,t.height],a=m?[i,r]:[r,i],o=XA(n,a);return p.current=t,o(e-t.top)}return b(kA,{scope:t.__scopeSlider,startEdge:m?`bottom`:`top`,endEdge:m?`top`:`bottom`,size:`height`,direction:m?1:-1,children:b(NA,{"data-orientation":`vertical`,...u,ref:f,style:{...u.style,"--radix-slider-thumb-transform":`translateY(50%)`},onSlideStart:e=>{let t=h(e.clientY);o?.(t)},onSlideMove:e=>{let t=h(e.clientY);s?.(t)},onSlideEnd:()=>{p.current=void 0,c?.()},onStepKeyDown:e=>{let t=m?`from-bottom`:`from-top`,n=yA[t].includes(e.key);l?.({event:e,direction:n?-1:1})}})})}),NA=e.forwardRef((e,t)=>{let{__scopeSlider:n,onSlideStart:r,onSlideMove:i,onSlideEnd:a,onHomeKeyDown:o,onEndKeyDown:s,onStepKeyDown:c,...l}=e,u=DA(bA,n);return b(H.span,{...l,ref:t,onKeyDown:V(e.onKeyDown,e=>{e.key===`Home`?(o(e),e.preventDefault()):e.key===`End`?(s(e),e.preventDefault()):_A.concat(vA).includes(e.key)&&(c(e),e.preventDefault())}),onPointerDown:V(e.onPointerDown,e=>{let t=e.target;t.setPointerCapture(e.pointerId),e.preventDefault(),u.thumbs.has(t)?t.focus():r(e)}),onPointerMove:V(e.onPointerMove,e=>{let t=e.target;t.hasPointerCapture(e.pointerId)&&i(e)}),onPointerUp:V(e.onPointerUp,e=>{let t=e.target;t.hasPointerCapture(e.pointerId)&&(t.releasePointerCapture(e.pointerId),a(e))})})}),PA=`SliderTrack`,FA=e.forwardRef((e,t)=>{let{__scopeSlider:n,...r}=e,i=DA(PA,n);return b(H.span,{"data-disabled":i.disabled?``:void 0,"data-orientation":i.orientation,...r,ref:t})});FA.displayName=PA;var IA=`SliderRange`,LA=e.forwardRef((t,n)=>{let{__scopeSlider:r,...i}=t,a=DA(IA,r),o=AA(IA,r),s=e.useRef(null),c=B(n,s),l=a.values.length,u=a.values.map(e=>WA(e,a.min,a.max)),d=l>1?Math.min(...u):0,f=100-Math.max(...u);return b(H.span,{"data-orientation":a.orientation,"data-disabled":a.disabled?``:void 0,...i,ref:c,style:{...t.style,[o.startEdge]:d+`%`,[o.endEdge]:f+`%`}})});LA.displayName=IA;var RA=`SliderThumb`,zA=e.forwardRef((t,n)=>{let r=SA(t.__scopeSlider),[i,a]=e.useState(null),o=B(n,e=>a(e)),s=e.useMemo(()=>i?r().findIndex(e=>e.ref.current===i):-1,[r,i]);return b(BA,{...t,ref:o,index:s})}),BA=e.forwardRef((t,n)=>{let{__scopeSlider:r,index:i,name:a,...o}=t,s=DA(RA,r),c=AA(RA,r),[l,u]=e.useState(null),d=B(n,e=>u(e)),f=l?s.form||!!l.closest(`form`):!0,p=Qi(l),m=s.values[i],h=m===void 0?0:WA(m,s.min,s.max),g=GA(i,s.values.length),_=p?.[c.size],v=_?qA(_,h,c.direction):0;return e.useEffect(()=>{if(l)return s.thumbs.add(l),()=>{s.thumbs.delete(l)}},[l,s.thumbs]),x(`span`,{style:{transform:`var(--radix-slider-thumb-transform)`,position:`absolute`,[c.startEdge]:`calc(${h}% + ${v}px)`},children:[b(xA.ItemSlot,{scope:t.__scopeSlider,children:b(H.span,{role:`slider`,"aria-label":t[`aria-label`]||g,"aria-valuemin":s.min,"aria-valuenow":m,"aria-valuemax":s.max,"aria-orientation":s.orientation,"data-orientation":s.orientation,"data-disabled":s.disabled?``:void 0,tabIndex:s.disabled?void 0:0,...o,ref:d,style:m===void 0?{display:`none`}:t.style,onFocus:V(t.onFocus,()=>{s.valueIndexToChangeRef.current=i})})}),f&&b(HA,{name:a??(s.name?s.name+(s.values.length>1?`[]`:``):void 0),form:s.form,value:m},i)]})});zA.displayName=RA;var VA=`RadioBubbleInput`,HA=e.forwardRef(({__scopeSlider:t,value:n,...r},i)=>{let a=e.useRef(null),o=B(a,i),s=gA(n);return e.useEffect(()=>{let e=a.current;if(!e)return;let t=window.HTMLInputElement.prototype,r=Object.getOwnPropertyDescriptor(t,`value`),i=r.set;if(s!==n&&i){let t=new Event(`input`,{bubbles:!0});i.call(e,n),e.dispatchEvent(t)}},[s,n]),b(H.input,{style:{display:`none`},...r,ref:o,defaultValue:n})});HA.displayName=VA;function UA(e=[],t,n){let r=[...e];return r[n]=t,r.sort((e,t)=>e-t)}function WA(e,t,n){let r=n-t,i=100/r,a=i*(e-t);return hA(a,[0,100])}function GA(e,t){if(t>2)return`Value ${e+1} of ${t}`;if(t===2)return[`Minimum`,`Maximum`][e]}function KA(e,t){if(e.length===1)return 0;let n=e.map(e=>Math.abs(e-t)),r=Math.min(...n);return n.indexOf(r)}function qA(e,t,n){let r=e/2,i=XA([0,50],[0,r]);return(r-i(t)*n)*n}function JA(e){return e.slice(0,-1).map((t,n)=>e[n+1]-t)}function YA(e,t){if(t>0){let n=JA(e),r=Math.min(...n);return r>=t}return!0}function XA(e,t){return n=>{if(e[0]===e[1]||t[0]===t[1])return t[0];let r=(t[1]-t[0])/(e[1]-e[0]);return t[0]+r*(n-e[0])}}function ZA(e){return(String(e).split(`.`)[1]||``).length}function QA(e,t){let n=10**t;return Math.round(e*n)/n}var $A=OA,ej=FA,tj=LA,nj=zA;const rj=({onValueChange:e,onPointerUp:t,id:n,value:r,name:i,disabled:a=!1,rootExtraClassNames:o=``,trackExtraClassNames:s=``,rangeExtraClassNames:c=``,thumbExtraClassNames:l=``,step:u,min:d=0,max:f=100,maxAccessible:p})=>{let m=Math.min(Math.max(p??f,d),f),h=Math.min(Math.max(r,d),m),g=t=>{if(!e)return;let n=Math.min(Math.max(t[0]??d,d),m);e([n])};return x($A,{className:`tw:relative tw:flex tw:h-5 tw:w-full tw:touch-none tw:items-center tw:select-none ${o}`,defaultValue:[h],value:[h],onValueChange:g,onPointerUp:e=>t&&t(e),name:i,id:n,max:f,min:d,disabled:a,step:u,children:[b(ej,{className:`tw:relative tw:h-sq-5 tw:grow tw:rounded-sm tw:bg-sq-dark-gray tw:dark:bg-sq-dark-disabled-gray ${s}`,children:b(tj,{className:`tw:absolute tw:h-full tw:rounded-full ${c}`})}),b(nj,{className:`tw:block tw:h-sq-15 tw:w-sq-15 tw:rounded-full tw:bg-sq-theme-dark tw:transition tw:ease-in-out tw:focus:outline-none tw:focus-visible:outline-none tw:active:bg-sq-theme-darker tw:aria-disabled:bg-sq-dark-gray tw:dark:aria-disabled:bg-sq-dark-disabled-gray ${l}`,"aria-disabled":a})]})};var ij=`Tabs`,[aj,oj]=R(ij,[Aa]),sj=Aa(),[cj,lj]=aj(ij),uj=e.forwardRef((e,t)=>{let{__scopeTabs:n,value:r,onValueChange:i,defaultValue:a,orientation:o=`horizontal`,dir:s,activationMode:c=`automatic`,...l}=e,u=Ve(s),[d,f]=fe({prop:r,onChange:i,defaultProp:a??``,caller:ij});return b(cj,{scope:n,baseId:we(),value:d,onValueChange:f,orientation:o,dir:u,activationMode:c,children:b(H.div,{dir:u,"data-orientation":o,...l,ref:t})})});uj.displayName=ij;var dj=`TabsList`,fj=e.forwardRef((e,t)=>{let{__scopeTabs:n,loop:r=!0,...i}=e,a=lj(dj,n),o=sj(n);return b(Ha,{asChild:!0,...o,orientation:a.orientation,dir:a.dir,loop:r,children:b(H.div,{role:`tablist`,"aria-orientation":a.orientation,...i,ref:t})})});fj.displayName=dj;var pj=`TabsTrigger`,mj=e.forwardRef((e,t)=>{let{__scopeTabs:n,value:r,disabled:i=!1,...a}=e,o=lj(pj,n),s=sj(n),c=_j(o.baseId,r),l=vj(o.baseId,r),u=r===o.value;return b(Ua,{asChild:!0,...s,focusable:!i,active:u,children:b(H.button,{type:`button`,role:`tab`,"aria-selected":u,"aria-controls":l,"data-state":u?`active`:`inactive`,"data-disabled":i?``:void 0,disabled:i,id:c,...a,ref:t,onMouseDown:V(e.onMouseDown,e=>{!i&&e.button===0&&e.ctrlKey===!1?o.onValueChange(r):e.preventDefault()}),onKeyDown:V(e.onKeyDown,e=>{[` `,`Enter`].includes(e.key)&&o.onValueChange(r)}),onFocus:V(e.onFocus,()=>{let e=o.activationMode!==`manual`;!u&&!i&&e&&o.onValueChange(r)})})})});mj.displayName=pj;var hj=`TabsContent`,gj=e.forwardRef((t,n)=>{let{__scopeTabs:r,value:i,forceMount:a,children:o,...s}=t,c=lj(hj,r),l=_j(c.baseId,i),u=vj(c.baseId,i),d=i===c.value,f=e.useRef(d);return e.useEffect(()=>{let e=requestAnimationFrame(()=>f.current=!1);return()=>cancelAnimationFrame(e)},[]),b(ve,{present:a||d,children:({present:e})=>b(H.div,{"data-state":d?`active`:`inactive`,"data-orientation":c.orientation,role:`tabpanel`,"aria-labelledby":l,hidden:!e,id:u,tabIndex:0,...s,ref:n,style:{...t.style,animationDuration:f.current?`0s`:void 0},children:e&&o})})});gj.displayName=hj;function _j(e,t){return`${e}-trigger-${t}`}function vj(e,t){return`${e}-content-${t}`}var yj=uj,bj=fj,xj=mj,Sj=gj;const Cj=({tabs:e,defaultActiveTab:t,activeTab:n,onTabSelect:r,extraClassNames:i,testId:a,id:o,stretchTabs:s=!1})=>{let c=e=>{n!==e&&r&&r(e)};return x(yj,{className:`tw:flex tw:max-w-full tw:min-w-75 tw:grow tw:flex-col tw:focus-visible:outline-none ${i||``}`,defaultValue:t,"data-testid":a,id:o,value:n,onValueChange:c,children:[b(bj,{className:`tw:z-1001 tw:flex tw:flex-row tw:flex-wrap`,children:e.map(({id:e,icon:t,label:r,tabExtraClassNames:i,testId:a,disabled:o,tabLabelExtraClassNames:c=``},l)=>b(xj,{className:St(`tw:flex tw:min-w-25 tw:flex-1 tw:items-center tw:justify-center tw:border-r-2 tw:border-solid tw:border-sq-overlay tw:bg-sq-white tw:px-4 tw:last:border-r-0 tw:focus-visible:outline-none tw:dark:border-gray-700 tw:dark:bg-sq-dark-background`,{"tw:max-w-max tw:min-w-fit":!s,"tw:border-b-[0.1875rem] tw:border-b-sq-theme-darker tw:dark:border-b-sq-theme-darker":n===e,"tw:border-b-[0.0625rem] tw:hover:bg-sq-light-gray tw:hover:dark:bg-gray-700":n!==e},i),"data-testid":a,disabled:o,value:e,children:x(`span`,{className:`tw:flex tw:items-center tw:overflow-hidden`,children:[t&&b(jt,{icon:t,testId:`${e}_tab-icon`,extraClassNames:`tw:text-sq-15 tw:mr-sq-7 tw:flex-shrink-0`}),b(`span`,{className:`tw:overflow-hidden tw:text-sq-13 tw:font-medium tw:text-ellipsis tw:whitespace-nowrap ${n===e?`tw:text-gray-500 tw:dark:text-sq-dark-text`:`tw:text-sq-theme-dark tw:dark:text-sq-theme-darker`} ${c}`,children:r})]})},`${r}-${e}-${l}`))}),e.map((e,t)=>b(Sj,{className:`tw:z-500 tw:-mt-sq-1 tw:flex tw:grow tw:flex-col tw:overflow-y-auto tw:border-t-[0.0625rem] tw:border-t-sq-overlay tw:bg-sq-white tw:focus-visible:outline-none tw:dark:border-t-gray-700 tw:dark:bg-sq-dark-background ${e.tabContentExtraClassNames||``}`,value:e.id,children:e.content},`${e.label}_${t}_content`))]})};var wj=Cj;const Tj=c(({readonly:e=!1,disabled:t=!1,onChange:n,onKeyUp:r,onFocus:i,onBlur:a,onKeyDown:o,onSelectionChange:s,id:c,name:l,rows:u=3,cols:d=void 0,value:p,placeholder:m,showError:h,extraClassNames:g=``,testId:v,autoFocus:y=!1},x)=>{let S=U(`
291
291
  tw:w-full
292
292
  tw:rounded-md
293
293
  tw:border
@@ -307,19 +307,19 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
307
307
  tw:dark:hover:border-sq-theme-darker
308
308
  tw:dark:focus:border-sq-theme-darker
309
309
  tw:dark:active:border-sq-theme-darker
310
- `),C=_(null),w=Gb(x,C);return f(()=>{if(!s||!C.current)return;let e=C.current,t=e=>{s(e)};return e.addEventListener(`selectionchange`,t),e.addEventListener(`mouseup`,t),e.addEventListener(`keyup`,t),()=>{e.removeEventListener(`selectionchange`,t),e.removeEventListener(`mouseup`,t),e.removeEventListener(`keyup`,t)}},[s]),b(`textarea`,{ref:w,"data-testid":v,name:l,id:c,value:p,className:S,placeholder:m,disabled:t,readOnly:e,onChange:n,onFocus:i,onBlur:a,onKeyDown:o,onKeyUp:r,rows:u,cols:d,autoFocus:y})});zA.displayName=`TextArea`;const BA=c(({align:e=`center`,sideOffset:t=4,...n},r)=>b(Su,{ref:r,align:e,sideOffset:t,...n,asChild:!0}));BA.displayName=`PopoverContent`;const VA=({isSmall:e=!1,label:t,icon:n,secondIcon:r,forceSmallIcon:i=!1,tooltipText:a,id:o,popoverContent:s,extraClassNames:c,testId:l,tooltipTestId:u,tooltipOptions:d,isActive:f=!1,isHtmlTooltip:p=!1,hasArrow:m=!1,disabled:h=!1,isPrimaryAnSvg:g=!1,primaryIconExtraClassNames:_,iconHeight:v=24,iconWidth:y=24,primaryIconViewbox:S=`0 0 24 24`,popoverAlign:C=`start`,onClick:w,onHide:T})=>{let E;a&&(E={"data-qtip-text":a,"data-qtip-placement":d?.position,"data-qtip-is-html":p,"data-qtip-testid":u,"data-qtip-delay":d?.delay??500});let D=e=>{e||T&&T()};return x(yu,{defaultOpen:!1,onOpenChange:D,children:[b(bu,{id:o,className:U(`tw:mx-sq-1.5 tw:border-none tw:bg-transparent tw:first:ml-0 tw:last:mr-0`,{active:f}),disabled:h,"data-testid":l,onClick:e=>{w&&w(e)},children:x(`div`,{...E,className:U(`tw:flex tw:flex-col tw:items-center tw:rounded-md`,{active:f,"\n tw:bg-sq-overlay\n tw:active:bg-sq-overlay\n tw:dark:bg-sq-dark-disabled-gray\n tw:dark:hover:border-sq-dark-disabled-gray/30\n tw:dark:active:bg-sq-dark-disabled-gray/30\n":f,"\n tw:bg-transparent\n tw:hover:bg-sq-worksheetspanel-gray\n tw:active:bg-sq-worksheetspanel-gray\n tw:dark:bg-transparent\n tw:dark:hover:bg-sq-field-disabled-gray/30\n tw:dark:active:bg-sq-field-disabled-gray/30\n":!f,"tw:px-1 tw:py-px":e,"tw:px-2 tw:py-sq-5":!e,"tw:cursor-not-allowed tw:opacity-50":h},c),children:[x(`span`,{className:`tw:whitespace-nowrap`,children:[g?b(`svg`,{xmlns:`http://www.w3.org/2000/svg`,className:`tw:text-sq-text-color tw:dark:text-sq-dark-text ${_||``}`,viewBox:S,height:`${v}px`,width:`${y}px`,fill:`currentColor`,"data-testid":l,children:b(`path`,{d:NS(n)})}):b(jt,{icon:n,testId:`firstIcon`,type:`text`,size:!e&&!t&&!r&&!i?`lg`:`sm`,extraClassNames:`tw:text-sq-text-color tw:dark:text-sq-dark-text`}),r&&b(jt,{icon:r,type:`text`,testId:`secondIcon`}),s?b(jt,{icon:`fc-arrow-dropdown`,extraClassNames:`tw:text-sq-text-color tw:dark:text-sq-dark-text tw:ml-sq-3 tw:text-2`,type:`text`,size:`sm`}):void 0]}),!e&&b(`small`,{className:`tw:text-sq-10 tw:text-sq-text-color tw:dark:text-sq-dark-text`,children:t})]})}),s?b(BA,{sideOffset:2,align:C,children:x(`div`,{className:U(`tw:relative tw:z-1000 tw:min-w-6 tw:p-2 tw:outline-none tw:focus-visible:outline-none`,`tw:bg-sq-white tw:dark:bg-sq-dark-background`,`
310
+ `),C=_(null),w=Gb(x,C);return f(()=>{if(!s||!C.current)return;let e=C.current,t=e=>{s(e)};return e.addEventListener(`selectionchange`,t),e.addEventListener(`mouseup`,t),e.addEventListener(`keyup`,t),()=>{e.removeEventListener(`selectionchange`,t),e.removeEventListener(`mouseup`,t),e.removeEventListener(`keyup`,t)}},[s]),b(`textarea`,{ref:w,"data-testid":v,name:l,id:c,value:p,className:S,placeholder:m,disabled:t,readOnly:e,onChange:n,onFocus:i,onBlur:a,onKeyDown:o,onKeyUp:r,rows:u,cols:d,autoFocus:y})});Tj.displayName=`TextArea`;const Ej=c(({align:e=`center`,sideOffset:t=4,...n},r)=>b(Su,{ref:r,align:e,sideOffset:t,...n,asChild:!0}));Ej.displayName=`PopoverContent`;const Dj=({isSmall:e=!1,label:t,icon:n,secondIcon:r,forceSmallIcon:i=!1,tooltipText:a,id:o,popoverContent:s,extraClassNames:c,testId:l,tooltipTestId:u,tooltipOptions:d,isActive:f=!1,isHtmlTooltip:p=!1,hasArrow:m=!1,disabled:h=!1,isPrimaryAnSvg:g=!1,primaryIconExtraClassNames:_,iconHeight:v=24,iconWidth:y=24,primaryIconViewbox:S=`0 0 24 24`,popoverAlign:C=`start`,onClick:w,onHide:T})=>{let E;a&&(E={"data-qtip-text":a,"data-qtip-placement":d?.position,"data-qtip-is-html":p,"data-qtip-testid":u,"data-qtip-delay":d?.delay??500});let D=e=>{e||T&&T()};return x(yu,{defaultOpen:!1,onOpenChange:D,children:[b(bu,{id:o,className:U(`tw:mx-sq-1.5 tw:border-none tw:bg-transparent tw:first:ml-0 tw:last:mr-0`,{active:f}),disabled:h,"data-testid":l,onClick:e=>{w&&w(e)},children:x(`div`,{...E,className:U(`tw:flex tw:flex-col tw:items-center tw:rounded-md`,{active:f,"\n tw:bg-sq-overlay\n tw:active:bg-sq-overlay\n tw:dark:bg-sq-dark-disabled-gray\n tw:dark:hover:border-sq-dark-disabled-gray/30\n tw:dark:active:bg-sq-dark-disabled-gray/30\n":f,"\n tw:bg-transparent\n tw:hover:bg-sq-worksheetspanel-gray\n tw:active:bg-sq-worksheetspanel-gray\n tw:dark:bg-transparent\n tw:dark:hover:bg-sq-field-disabled-gray/30\n tw:dark:active:bg-sq-field-disabled-gray/30\n":!f,"tw:px-1 tw:py-px":e,"tw:px-2 tw:py-sq-5":!e,"tw:cursor-not-allowed tw:opacity-50":h},c),children:[x(`span`,{className:`tw:whitespace-nowrap`,children:[g?b(`svg`,{xmlns:`http://www.w3.org/2000/svg`,className:`tw:text-sq-text-color tw:dark:text-sq-dark-text ${_||``}`,viewBox:S,height:`${v}px`,width:`${y}px`,fill:`currentColor`,"data-testid":l,children:b(`path`,{d:iA(n)})}):b(jt,{icon:n,testId:`firstIcon`,type:`text`,size:!e&&!t&&!r&&!i?`lg`:`sm`,extraClassNames:`tw:text-sq-text-color tw:dark:text-sq-dark-text`}),r&&b(jt,{icon:r,type:`text`,testId:`secondIcon`}),s?b(jt,{icon:`fc-arrow-dropdown`,extraClassNames:`tw:text-sq-text-color tw:dark:text-sq-dark-text tw:ml-sq-3 tw:text-2`,type:`text`,size:`sm`}):void 0]}),!e&&b(`small`,{className:`tw:text-sq-10 tw:text-sq-text-color tw:dark:text-sq-dark-text`,children:t})]})}),s?b(Ej,{sideOffset:2,align:C,children:x(`div`,{className:U(`tw:relative tw:z-1000 tw:min-w-6 tw:p-2 tw:outline-none tw:focus-visible:outline-none`,`tw:bg-sq-white tw:dark:bg-sq-dark-background`,`
311
311
  tw:rounded-md
312
312
  tw:border
313
313
  tw:border-solid
314
314
  tw:border-sq-disabled-gray
315
315
  tw:dark:border-gray-500
316
- `),children:[m&&b(Cu,{asChild:!0,children:b(`div`,{className:`tw:-mt-sq-7 tw:h-sq-15 tw:w-sq-15 tw:rotate-45 tw:border-r tw:border-b tw:border-sq-disabled-gray tw:bg-sq-white tw:fill-transparent tw:dark:border-gray-500 tw:dark:bg-sq-dark-background`})}),s]})}):void 0]})},HA=({position:e=`bottom`,children:t,text:n,delay:r=500})=>{let i=`tw:before:content-[''] tw:before:absolute tw:before:border-8`,a=`tw:before:top-1/2 tw:before:-translate-y-1/2`,o=`tw:before:left-1/2 tw:before:-translate-x-1/2`,s=`${i} ${a} tw:before:right-full tw:before:border-y-transparent
316
+ `),children:[m&&b(Cu,{asChild:!0,children:b(`div`,{className:`tw:-mt-sq-7 tw:h-sq-15 tw:w-sq-15 tw:rotate-45 tw:border-r tw:border-b tw:border-sq-disabled-gray tw:bg-sq-white tw:fill-transparent tw:dark:border-gray-500 tw:dark:bg-sq-dark-background`})}),s]})}):void 0]})},Oj=({position:e=`bottom`,children:t,text:n,delay:r=500})=>{let i=`tw:before:content-[''] tw:before:absolute tw:before:border-8`,a=`tw:before:top-1/2 tw:before:-translate-y-1/2`,o=`tw:before:left-1/2 tw:before:-translate-x-1/2`,s=`${i} ${a} tw:before:right-full tw:before:border-y-transparent
317
317
  tw:before:border-l-transparent tw:before:border-r-sq-black`,c=`${i} ${a} tw:before:left-full tw:before:border-y-transparent
318
318
  tw:before:border-l-sq-black tw:before:border-r-transparent`,l=`${i} ${o} tw:before:-top-4 tw:before:border-b-sq-black
319
319
  tw:before:border-r-transparent tw:before:border-l-transparent tw:before:border-t-transparent`,u=`${i} ${o} tw:before:-bottom-4 tw:before:border-b-transparent
320
320
  tw:before:border-t-sq-black tw:before:border-l-transparent tw:before:border-r-transparent`,d={top:`tw:-top-2 tw:-translate-y-full tw:left-1/2 tw:-translate-x-1/2 ${u}`,left:`tw:-translate-x-full tw:-left-3 tw:-translate-y-1/2 tw:top-1/2 ${c}`,right:`tw:translate-x-full tw:-right-3 tw:-translate-y-1/2 tw:top-1/2 ${s}`,bottom:`tw:-bottom-2 tw:translate-y-full tw:left-1/2 tw:-translate-x-1/2 ${l}`};return x(`div`,{className:`tw:group tw:relative tw:inline-block`,children:[t,b(`div`,{className:`tw:z-50 tw:hidden tw:whitespace-nowrap tw:group-hover:inline-block tw:group-hover:delay-[${r}ms]
321
- tw:absolute tw:rounded-sm tw:bg-sq-black tw:p-2 tw:text-xs tw:text-sq-white tw:opacity-0 tw:group-hover:opacity-100 ${d[e]}`,children:n})]})},{entries:UA,setPrototypeOf:WA,isFrozen:GA,getPrototypeOf:KA,getOwnPropertyDescriptor:qA}=Object;let{freeze:JA,seal:YA,create:XA}=Object,{apply:ZA,construct:QA}=typeof Reflect<`u`&&Reflect;JA||=function(e){return e},YA||=function(e){return e},ZA||=function(e,t,n){return e.apply(t,n)},QA||=function(e,t){return new e(...t)};const $A=pj(Array.prototype.forEach),ej=pj(Array.prototype.lastIndexOf),tj=pj(Array.prototype.pop),nj=pj(Array.prototype.push),rj=pj(Array.prototype.splice),ij=pj(String.prototype.toLowerCase),aj=pj(String.prototype.toString),oj=pj(String.prototype.match),sj=pj(String.prototype.replace),cj=pj(String.prototype.indexOf),lj=pj(String.prototype.trim),uj=pj(Object.prototype.hasOwnProperty),dj=pj(RegExp.prototype.test),fj=mj(TypeError);function pj(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);var n=[...arguments].slice(1);return ZA(e,t,n)}}function mj(e){return function(){var t=[...arguments];return QA(e,t)}}function $(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ij;WA&&WA(e,null);let r=t.length;for(;r--;){let i=t[r];if(typeof i==`string`){let e=n(i);e!==i&&(GA(t)||(t[r]=e),i=e)}e[i]=!0}return e}function hj(e){for(let t=0;t<e.length;t++){let n=uj(e,t);n||(e[t]=null)}return e}function gj(e){let t=XA(null);for(let[n,r]of UA(e)){let i=uj(e,n);i&&(Array.isArray(r)?t[n]=hj(r):r&&typeof r==`object`&&r.constructor===Object?t[n]=gj(r):t[n]=r)}return t}function _j(e,t){for(;e!==null;){let n=qA(e,t);if(n){if(n.get)return pj(n.get);if(typeof n.value==`function`)return pj(n.value)}e=KA(e)}function n(){return null}return n}const vj=JA(`a.abbr.acronym.address.area.article.aside.audio.b.bdi.bdo.big.blink.blockquote.body.br.button.canvas.caption.center.cite.code.col.colgroup.content.data.datalist.dd.decorator.del.details.dfn.dialog.dir.div.dl.dt.element.em.fieldset.figcaption.figure.font.footer.form.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.i.img.input.ins.kbd.label.legend.li.main.map.mark.marquee.menu.menuitem.meter.nav.nobr.ol.optgroup.option.output.p.picture.pre.progress.q.rp.rt.ruby.s.samp.section.select.shadow.small.source.spacer.span.strike.strong.style.sub.summary.sup.table.tbody.td.template.textarea.tfoot.th.thead.time.tr.track.tt.u.ul.var.video.wbr`.split(`.`)),yj=JA(`svg.a.altglyph.altglyphdef.altglyphitem.animatecolor.animatemotion.animatetransform.circle.clippath.defs.desc.ellipse.filter.font.g.glyph.glyphref.hkern.image.line.lineargradient.marker.mask.metadata.mpath.path.pattern.polygon.polyline.radialgradient.rect.stop.style.switch.symbol.text.textpath.title.tref.tspan.view.vkern`.split(`.`)),bj=JA([`feBlend`,`feColorMatrix`,`feComponentTransfer`,`feComposite`,`feConvolveMatrix`,`feDiffuseLighting`,`feDisplacementMap`,`feDistantLight`,`feDropShadow`,`feFlood`,`feFuncA`,`feFuncB`,`feFuncG`,`feFuncR`,`feGaussianBlur`,`feImage`,`feMerge`,`feMergeNode`,`feMorphology`,`feOffset`,`fePointLight`,`feSpecularLighting`,`feSpotLight`,`feTile`,`feTurbulence`]),xj=JA([`animate`,`color-profile`,`cursor`,`discard`,`font-face`,`font-face-format`,`font-face-name`,`font-face-src`,`font-face-uri`,`foreignobject`,`hatch`,`hatchpath`,`mesh`,`meshgradient`,`meshpatch`,`meshrow`,`missing-glyph`,`script`,`set`,`solidcolor`,`unknown`,`use`]),Sj=JA(`math.menclose.merror.mfenced.mfrac.mglyph.mi.mlabeledtr.mmultiscripts.mn.mo.mover.mpadded.mphantom.mroot.mrow.ms.mspace.msqrt.mstyle.msub.msup.msubsup.mtable.mtd.mtext.mtr.munder.munderover.mprescripts`.split(`.`)),Cj=JA([`maction`,`maligngroup`,`malignmark`,`mlongdiv`,`mscarries`,`mscarry`,`msgroup`,`mstack`,`msline`,`msrow`,`semantics`,`annotation`,`annotation-xml`,`mprescripts`,`none`]),wj=JA([`#text`]),Tj=JA(`accept.action.align.alt.autocapitalize.autocomplete.autopictureinpicture.autoplay.background.bgcolor.border.capture.cellpadding.cellspacing.checked.cite.class.clear.color.cols.colspan.controls.controlslist.coords.crossorigin.datetime.decoding.default.dir.disabled.disablepictureinpicture.disableremoteplayback.download.draggable.enctype.enterkeyhint.face.for.headers.height.hidden.high.href.hreflang.id.inputmode.integrity.ismap.kind.label.lang.list.loading.loop.low.max.maxlength.media.method.min.minlength.multiple.muted.name.nonce.noshade.novalidate.nowrap.open.optimum.pattern.placeholder.playsinline.popover.popovertarget.popovertargetaction.poster.preload.pubdate.radiogroup.readonly.rel.required.rev.reversed.role.rows.rowspan.spellcheck.scope.selected.shape.size.sizes.span.srclang.start.src.srcset.step.style.summary.tabindex.title.translate.type.usemap.valign.value.width.wrap.xmlns.slot`.split(`.`)),Ej=JA(`accent-height.accumulate.additive.alignment-baseline.amplitude.ascent.attributename.attributetype.azimuth.basefrequency.baseline-shift.begin.bias.by.class.clip.clippathunits.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.cx.cy.d.dx.dy.diffuseconstant.direction.display.divisor.dur.edgemode.elevation.end.exponent.fill.fill-opacity.fill-rule.filter.filterunits.flood-color.flood-opacity.font-family.font-size.font-size-adjust.font-stretch.font-style.font-variant.font-weight.fx.fy.g1.g2.glyph-name.glyphref.gradientunits.gradienttransform.height.href.id.image-rendering.in.in2.intercept.k.k1.k2.k3.k4.kerning.keypoints.keysplines.keytimes.lang.lengthadjust.letter-spacing.kernelmatrix.kernelunitlength.lighting-color.local.marker-end.marker-mid.marker-start.markerheight.markerunits.markerwidth.maskcontentunits.maskunits.max.mask.media.method.mode.min.name.numoctaves.offset.operator.opacity.order.orient.orientation.origin.overflow.paint-order.path.pathlength.patterncontentunits.patterntransform.patternunits.points.preservealpha.preserveaspectratio.primitiveunits.r.rx.ry.radius.refx.refy.repeatcount.repeatdur.restart.result.rotate.scale.seed.shape-rendering.slope.specularconstant.specularexponent.spreadmethod.startoffset.stddeviation.stitchtiles.stop-color.stop-opacity.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke.stroke-width.style.surfacescale.systemlanguage.tabindex.tablevalues.targetx.targety.transform.transform-origin.text-anchor.text-decoration.text-rendering.textlength.type.u1.u2.unicode.values.viewbox.visibility.version.vert-adv-y.vert-origin-x.vert-origin-y.width.word-spacing.wrap.writing-mode.xchannelselector.ychannelselector.x.x1.x2.xmlns.y.y1.y2.z.zoomandpan`.split(`.`)),Dj=JA(`accent.accentunder.align.bevelled.close.columnsalign.columnlines.columnspan.denomalign.depth.dir.display.displaystyle.encoding.fence.frame.height.href.id.largeop.length.linethickness.lspace.lquote.mathbackground.mathcolor.mathsize.mathvariant.maxsize.minsize.movablelimits.notation.numalign.open.rowalign.rowlines.rowspacing.rowspan.rspace.rquote.scriptlevel.scriptminsize.scriptsizemultiplier.selection.separator.separators.stretchy.subscriptshift.supscriptshift.symmetric.voffset.width.xmlns`.split(`.`)),Oj=JA([`xlink:href`,`xml:id`,`xlink:title`,`xml:space`,`xmlns:xlink`]),kj=YA(/\{\{[\w\W]*|[\w\W]*\}\}/gm),Aj=YA(/<%[\w\W]*|[\w\W]*%>/gm),jj=YA(/\$\{[\w\W]*/gm),Mj=YA(/^data-[\-\w.\u00B7-\uFFFF]+$/),Nj=YA(/^aria-[\-\w]+$/),Pj=YA(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Fj=YA(/^(?:\w+script|data):/i),Ij=YA(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Lj=YA(/^html$/i),Rj=YA(/^[a-z][.\w]*(-[.\w]+)+$/i);var zj=Object.freeze({__proto__:null,ARIA_ATTR:Nj,ATTR_WHITESPACE:Ij,CUSTOM_ELEMENT:Rj,DATA_ATTR:Mj,DOCTYPE_NAME:Lj,ERB_EXPR:Aj,IS_ALLOWED_URI:Pj,IS_SCRIPT_OR_DATA:Fj,MUSTACHE_EXPR:kj,TMPLIT_EXPR:jj});const Bj={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},Vj=function(){return typeof window>`u`?null:window},Hj=function(e,t){if(typeof e!=`object`||typeof e.createPolicy!=`function`)return null;let n=null,r=`data-tt-policy-suffix`;t&&t.hasAttribute(r)&&(n=t.getAttribute(r));let i=`dompurify`+(n?`#`+n:``);try{return e.createPolicy(i,{createHTML(e){return e},createScriptURL(e){return e}})}catch{return console.warn(`TrustedTypes policy `+i+` could not be created.`),null}},Uj=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function Wj(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Vj(),t=e=>Wj(e);if(t.version=`3.2.6`,t.removed=[],!e||!e.document||e.document.nodeType!==Bj.document||!e.Element)return t.isSupported=!1,t;let{document:n}=e,r=n,i=r.currentScript,{DocumentFragment:a,HTMLTemplateElement:o,Node:s,Element:c,NodeFilter:l,NamedNodeMap:u=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:d,DOMParser:f,trustedTypes:p}=e,m=c.prototype,h=_j(m,`cloneNode`),g=_j(m,`remove`),_=_j(m,`nextSibling`),v=_j(m,`childNodes`),y=_j(m,`parentNode`);if(typeof o==`function`){let e=n.createElement(`template`);e.content&&e.content.ownerDocument&&(n=e.content.ownerDocument)}let b,x=``,{implementation:S,createNodeIterator:C,createDocumentFragment:w,getElementsByTagName:T}=n,{importNode:E}=r,D=Uj();t.isSupported=typeof UA==`function`&&typeof y==`function`&&S&&S.createHTMLDocument!==void 0;let{MUSTACHE_EXPR:O,ERB_EXPR:k,TMPLIT_EXPR:A,DATA_ATTR:j,ARIA_ATTR:M,IS_SCRIPT_OR_DATA:N,ATTR_WHITESPACE:P,CUSTOM_ELEMENT:ee}=zj,{IS_ALLOWED_URI:F}=zj,I=null,L=$({},[...vj,...yj,...bj,...Sj,...wj]),R=null,te=$({},[...Tj,...Ej,...Dj,...Oj]),z=Object.seal(XA(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),ne=null,B=null,re=!0,ie=!0,ae=!1,oe=!0,se=!1,ce=!0,le=!1,V=!1,ue=!1,de=!1,fe=!1,pe=!1,me=!0,he=!1,H=!0,ge=!1,_e={},ve=null,ye=$({},[`annotation-xml`,`audio`,`colgroup`,`desc`,`foreignobject`,`head`,`iframe`,`math`,`mi`,`mn`,`mo`,`ms`,`mtext`,`noembed`,`noframes`,`noscript`,`plaintext`,`script`,`style`,`svg`,`template`,`thead`,`title`,`video`,`xmp`]),be=null,xe=$({},[`audio`,`video`,`img`,`source`,`image`,`track`]),Se=null,Ce=$({},[`alt`,`class`,`for`,`id`,`label`,`name`,`pattern`,`placeholder`,`role`,`summary`,`title`,`value`,`style`,`xmlns`]),we=`http://www.w3.org/1998/Math/MathML`,Te=`http://www.w3.org/2000/svg`,Ee=`http://www.w3.org/1999/xhtml`,De=Ee,Oe=!1,ke=null,Ae=$({},[we,Te,Ee],aj),je=$({},[`mi`,`mo`,`mn`,`ms`,`mtext`]),Me=$({},[`annotation-xml`]),Ne=$({},[`title`,`style`,`font`,`a`,`script`]),Pe=null,Fe=[`application/xhtml+xml`,`text/html`],Ie=null,Le=null,Re=n.createElement(`form`),ze=function(e){return e instanceof RegExp||e instanceof Function},Be=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(Le&&Le===e)){if((!e||typeof e!=`object`)&&(e={}),e=gj(e),Pe=Fe.indexOf(e.PARSER_MEDIA_TYPE)===-1?`text/html`:e.PARSER_MEDIA_TYPE,Ie=Pe===`application/xhtml+xml`?aj:ij,I=uj(e,`ALLOWED_TAGS`)?$({},e.ALLOWED_TAGS,Ie):L,R=uj(e,`ALLOWED_ATTR`)?$({},e.ALLOWED_ATTR,Ie):te,ke=uj(e,`ALLOWED_NAMESPACES`)?$({},e.ALLOWED_NAMESPACES,aj):Ae,Se=uj(e,`ADD_URI_SAFE_ATTR`)?$(gj(Ce),e.ADD_URI_SAFE_ATTR,Ie):Ce,be=uj(e,`ADD_DATA_URI_TAGS`)?$(gj(xe),e.ADD_DATA_URI_TAGS,Ie):xe,ve=uj(e,`FORBID_CONTENTS`)?$({},e.FORBID_CONTENTS,Ie):ye,ne=uj(e,`FORBID_TAGS`)?$({},e.FORBID_TAGS,Ie):gj({}),B=uj(e,`FORBID_ATTR`)?$({},e.FORBID_ATTR,Ie):gj({}),_e=uj(e,`USE_PROFILES`)?e.USE_PROFILES:!1,re=e.ALLOW_ARIA_ATTR!==!1,ie=e.ALLOW_DATA_ATTR!==!1,ae=e.ALLOW_UNKNOWN_PROTOCOLS||!1,oe=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,se=e.SAFE_FOR_TEMPLATES||!1,ce=e.SAFE_FOR_XML!==!1,le=e.WHOLE_DOCUMENT||!1,de=e.RETURN_DOM||!1,fe=e.RETURN_DOM_FRAGMENT||!1,pe=e.RETURN_TRUSTED_TYPE||!1,ue=e.FORCE_BODY||!1,me=e.SANITIZE_DOM!==!1,he=e.SANITIZE_NAMED_PROPS||!1,H=e.KEEP_CONTENT!==!1,ge=e.IN_PLACE||!1,F=e.ALLOWED_URI_REGEXP||Pj,De=e.NAMESPACE||Ee,je=e.MATHML_TEXT_INTEGRATION_POINTS||je,Me=e.HTML_INTEGRATION_POINTS||Me,z=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&ze(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(z.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&ze(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(z.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements==`boolean`&&(z.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),se&&(ie=!1),fe&&(de=!0),_e&&(I=$({},wj),R=[],_e.html===!0&&($(I,vj),$(R,Tj)),_e.svg===!0&&($(I,yj),$(R,Ej),$(R,Oj)),_e.svgFilters===!0&&($(I,bj),$(R,Ej),$(R,Oj)),_e.mathMl===!0&&($(I,Sj),$(R,Dj),$(R,Oj))),e.ADD_TAGS&&(I===L&&(I=gj(I)),$(I,e.ADD_TAGS,Ie)),e.ADD_ATTR&&(R===te&&(R=gj(R)),$(R,e.ADD_ATTR,Ie)),e.ADD_URI_SAFE_ATTR&&$(Se,e.ADD_URI_SAFE_ATTR,Ie),e.FORBID_CONTENTS&&(ve===ye&&(ve=gj(ve)),$(ve,e.FORBID_CONTENTS,Ie)),H&&(I[`#text`]=!0),le&&$(I,[`html`,`head`,`body`]),I.table&&($(I,[`tbody`]),delete ne.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!=`function`)throw fj(`TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.`);if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!=`function`)throw fj(`TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.`);b=e.TRUSTED_TYPES_POLICY,x=b.createHTML(``)}else b===void 0&&(b=Hj(p,i)),b!==null&&typeof x==`string`&&(x=b.createHTML(``));JA&&JA(e),Le=e}},Ve=$({},[...yj,...bj,...xj]),He=$({},[...Sj,...Cj]),Ue=function(e){let t=y(e);(!t||!t.tagName)&&(t={namespaceURI:De,tagName:`template`});let n=ij(e.tagName),r=ij(t.tagName);return ke[e.namespaceURI]?e.namespaceURI===Te?t.namespaceURI===Ee?n===`svg`:t.namespaceURI===we?n===`svg`&&(r===`annotation-xml`||je[r]):!!Ve[n]:e.namespaceURI===we?t.namespaceURI===Ee?n===`math`:t.namespaceURI===Te?n===`math`&&Me[r]:!!He[n]:e.namespaceURI===Ee?t.namespaceURI===Te&&!Me[r]||t.namespaceURI===we&&!je[r]?!1:!He[n]&&(Ne[n]||!Ve[n]):!!(Pe===`application/xhtml+xml`&&ke[e.namespaceURI]):!1},We=function(e){nj(t.removed,{element:e});try{y(e).removeChild(e)}catch{g(e)}},Ge=function(e,n){try{nj(t.removed,{attribute:n.getAttributeNode(e),from:n})}catch{nj(t.removed,{attribute:null,from:n})}if(n.removeAttribute(e),e===`is`)if(de||fe)try{We(n)}catch{}else try{n.setAttribute(e,``)}catch{}},Ke=function(e){let t=null,r=null;if(ue)e=`<remove></remove>`+e;else{let t=oj(e,/^[\r\n\t ]+/);r=t&&t[0]}Pe===`application/xhtml+xml`&&De===Ee&&(e=`<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>`+e+`</body></html>`);let i=b?b.createHTML(e):e;if(De===Ee)try{t=new f().parseFromString(i,Pe)}catch{}if(!t||!t.documentElement){t=S.createDocument(De,`template`,null);try{t.documentElement.innerHTML=Oe?x:i}catch{}}let a=t.body||t.documentElement;return e&&r&&a.insertBefore(n.createTextNode(r),a.childNodes[0]||null),De===Ee?T.call(t,le?`html`:`body`)[0]:le?t.documentElement:a},qe=function(e){return C.call(e.ownerDocument||e,e,l.SHOW_ELEMENT|l.SHOW_COMMENT|l.SHOW_TEXT|l.SHOW_PROCESSING_INSTRUCTION|l.SHOW_CDATA_SECTION,null)},Je=function(e){return e instanceof d&&(typeof e.nodeName!=`string`||typeof e.textContent!=`string`||typeof e.removeChild!=`function`||!(e.attributes instanceof u)||typeof e.removeAttribute!=`function`||typeof e.setAttribute!=`function`||typeof e.namespaceURI!=`string`||typeof e.insertBefore!=`function`||typeof e.hasChildNodes!=`function`)},Ye=function(e){return typeof s==`function`&&e instanceof s};function Xe(e,n,r){$A(e,e=>{e.call(t,n,r,Le)})}let Ze=function(e){let n=null;if(Xe(D.beforeSanitizeElements,e,null),Je(e))return We(e),!0;let r=Ie(e.nodeName);if(Xe(D.uponSanitizeElement,e,{tagName:r,allowedTags:I}),ce&&e.hasChildNodes()&&!Ye(e.firstElementChild)&&dj(/<[/\w!]/g,e.innerHTML)&&dj(/<[/\w!]/g,e.textContent)||e.nodeType===Bj.progressingInstruction||ce&&e.nodeType===Bj.comment&&dj(/<[/\w]/g,e.data))return We(e),!0;if(!I[r]||ne[r]){if(!ne[r]&&$e(r)&&(z.tagNameCheck instanceof RegExp&&dj(z.tagNameCheck,r)||z.tagNameCheck instanceof Function&&z.tagNameCheck(r)))return!1;if(H&&!ve[r]){let t=y(e)||e.parentNode,n=v(e)||e.childNodes;if(n&&t){let r=n.length;for(let i=r-1;i>=0;--i){let r=h(n[i],!0);r.__removalCount=(e.__removalCount||0)+1,t.insertBefore(r,_(e))}}}return We(e),!0}return e instanceof c&&!Ue(e)||(r===`noscript`||r===`noembed`||r===`noframes`)&&dj(/<\/no(script|embed|frames)/i,e.innerHTML)?(We(e),!0):(se&&e.nodeType===Bj.text&&(n=e.textContent,$A([O,k,A],e=>{n=sj(n,e,` `)}),e.textContent!==n&&(nj(t.removed,{element:e.cloneNode()}),e.textContent=n)),Xe(D.afterSanitizeElements,e,null),!1)},Qe=function(e,t,r){if(me&&(t===`id`||t===`name`)&&(r in n||r in Re))return!1;if(!(ie&&!B[t]&&dj(j,t))&&!(re&&dj(M,t))){if(!R[t]||B[t]){if(!($e(e)&&(z.tagNameCheck instanceof RegExp&&dj(z.tagNameCheck,e)||z.tagNameCheck instanceof Function&&z.tagNameCheck(e))&&(z.attributeNameCheck instanceof RegExp&&dj(z.attributeNameCheck,t)||z.attributeNameCheck instanceof Function&&z.attributeNameCheck(t))||t===`is`&&z.allowCustomizedBuiltInElements&&(z.tagNameCheck instanceof RegExp&&dj(z.tagNameCheck,r)||z.tagNameCheck instanceof Function&&z.tagNameCheck(r))))return!1}else if(!Se[t]&&!dj(F,sj(r,P,``))&&!((t===`src`||t===`xlink:href`||t===`href`)&&e!==`script`&&cj(r,`data:`)===0&&be[e])&&!(ae&&!dj(N,sj(r,P,``)))&&r)return!1}return!0},$e=function(e){return e!==`annotation-xml`&&oj(e,ee)},et=function(e){Xe(D.beforeSanitizeAttributes,e,null);let{attributes:n}=e;if(!n||Je(e))return;let r={attrName:``,attrValue:``,keepAttr:!0,allowedAttributes:R,forceKeepAttr:void 0},i=n.length;for(;i--;){let a=n[i],{name:o,namespaceURI:s,value:c}=a,l=Ie(o),u=c,d=o===`value`?u:lj(u);if(r.attrName=l,r.attrValue=d,r.keepAttr=!0,r.forceKeepAttr=void 0,Xe(D.uponSanitizeAttribute,e,r),d=r.attrValue,he&&(l===`id`||l===`name`)&&(Ge(o,e),d=`user-content-`+d),ce&&dj(/((--!?|])>)|<\/(style|title)/i,d)){Ge(o,e);continue}if(r.forceKeepAttr)continue;if(!r.keepAttr){Ge(o,e);continue}if(!oe&&dj(/\/>/i,d)){Ge(o,e);continue}se&&$A([O,k,A],e=>{d=sj(d,e,` `)});let f=Ie(e.nodeName);if(!Qe(f,l,d)){Ge(o,e);continue}if(b&&typeof p==`object`&&typeof p.getAttributeType==`function`&&!s)switch(p.getAttributeType(f,l)){case`TrustedHTML`:d=b.createHTML(d);break;case`TrustedScriptURL`:d=b.createScriptURL(d);break}if(d!==u)try{s?e.setAttributeNS(s,o,d):e.setAttribute(o,d),Je(e)?We(e):tj(t.removed)}catch{Ge(o,e)}}Xe(D.afterSanitizeAttributes,e,null)},tt=function e(t){let n=null,r=qe(t);for(Xe(D.beforeSanitizeShadowDOM,t,null);n=r.nextNode();)Xe(D.uponSanitizeShadowNode,n,null),Ze(n),et(n),n.content instanceof a&&e(n.content);Xe(D.afterSanitizeShadowDOM,t,null)};return t.sanitize=function(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=null,o=null,c=null,l=null;if(Oe=!e,Oe&&(e=`<!-->`),typeof e!=`string`&&!Ye(e))if(typeof e.toString==`function`){if(e=e.toString(),typeof e!=`string`)throw fj(`dirty is not a string, aborting`)}else throw fj(`toString is not a function`);if(!t.isSupported)return e;if(V||Be(n),t.removed=[],typeof e==`string`&&(ge=!1),ge){if(e.nodeName){let t=Ie(e.nodeName);if(!I[t]||ne[t])throw fj(`root node is forbidden and cannot be sanitized in-place`)}}else if(e instanceof s)i=Ke(`<!---->`),o=i.ownerDocument.importNode(e,!0),o.nodeType===Bj.element&&o.nodeName===`BODY`||o.nodeName===`HTML`?i=o:i.appendChild(o);else{if(!de&&!se&&!le&&e.indexOf(`<`)===-1)return b&&pe?b.createHTML(e):e;if(i=Ke(e),!i)return de?null:pe?x:``}i&&ue&&We(i.firstChild);let u=qe(ge?e:i);for(;c=u.nextNode();)Ze(c),et(c),c.content instanceof a&&tt(c.content);if(ge)return e;if(de){if(fe)for(l=w.call(i.ownerDocument);i.firstChild;)l.appendChild(i.firstChild);else l=i;return(R.shadowroot||R.shadowrootmode)&&(l=E.call(r,l,!0)),l}let d=le?i.outerHTML:i.innerHTML;return le&&I[`!doctype`]&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&dj(Lj,i.ownerDocument.doctype.name)&&(d=`<!DOCTYPE `+i.ownerDocument.doctype.name+`>
322
- `+d),se&&$A([O,k,A],e=>{d=sj(d,e,` `)}),b&&pe?b.createHTML(d):d},t.setConfig=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Be(e),V=!0},t.clearConfig=function(){Le=null,V=!1},t.isValidAttribute=function(e,t,n){Le||Be({});let r=Ie(e),i=Ie(t);return Qe(r,i,n)},t.addHook=function(e,t){typeof t==`function`&&nj(D[e],t)},t.removeHook=function(e,t){if(t!==void 0){let n=ej(D[e],t);return n===-1?void 0:rj(D[e],n,1)[0]}return tj(D[e])},t.removeHooks=function(e){D[e]=[]},t.removeAllHooks=function(){D=Uj()},t}var Gj=Wj(),Kj=M(((exports,t)=>{var n=`Expected a function`,r=NaN,i=`[object Symbol]`,a=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,c=/^0o[0-7]+$/i,l=parseInt,u=typeof global==`object`&&global&&global.Object===Object&&global,d=typeof self==`object`&&self&&self.Object===Object&&self,f=u||d||Function(`return this`)(),p=Object.prototype,m=p.toString,h=Math.max,g=Math.min,_=function(){return f.Date.now()};function v(e,t,r){var i,a,o,s,c,l,u=0,d=!1,f=!1,p=!0;if(typeof e!=`function`)throw TypeError(n);t=S(t)||0,y(r)&&(d=!!r.leading,f=`maxWait`in r,o=f?h(S(r.maxWait)||0,t):o,p=`trailing`in r?!!r.trailing:p);function m(t){var n=i,r=a;return i=a=void 0,u=t,s=e.apply(r,n),s}function v(e){return u=e,c=setTimeout(C,t),d?m(e):s}function b(e){var n=e-l,r=e-u,i=t-n;return f?g(i,o-r):i}function x(e){var n=e-l,r=e-u;return l===void 0||n>=t||n<0||f&&r>=o}function C(){var e=_();if(x(e))return w(e);c=setTimeout(C,b(e))}function w(e){return c=void 0,p&&i?m(e):(i=a=void 0,s)}function T(){c!==void 0&&clearTimeout(c),u=0,i=l=a=c=void 0}function E(){return c===void 0?s:w(_())}function D(){var e=_(),n=x(e);if(i=arguments,a=this,l=e,n){if(c===void 0)return v(l);if(f)return c=setTimeout(C,t),m(l)}return c===void 0&&(c=setTimeout(C,t)),s}return D.cancel=T,D.flush=E,D}function y(e){var t=typeof e;return!!e&&(t==`object`||t==`function`)}function b(e){return!!e&&typeof e==`object`}function x(e){return typeof e==`symbol`||b(e)&&m.call(e)==i}function S(e){if(typeof e==`number`)return e;if(x(e))return r;if(y(e)){var t=typeof e.valueOf==`function`?e.valueOf():e;e=y(t)?t+``:t}if(typeof e!=`string`)return e===0?e:+e;e=e.replace(a,``);var n=s.test(e);return n||c.test(e)?l(e.slice(2),n?2:8):o.test(e)?r:+e}t.exports=v})),qj=M(((exports,t)=>{t.exports=function e(t,n){if(t===n)return!0;if(t&&n&&typeof t==`object`&&typeof n==`object`){if(t.constructor!==n.constructor)return!1;var r,i,a;if(Array.isArray(t)){if(r=t.length,r!=n.length)return!1;for(i=r;i--!==0;)if(!e(t[i],n[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if(a=Object.keys(t),r=a.length,r!==Object.keys(n).length)return!1;for(i=r;i--!==0;)if(!Object.prototype.hasOwnProperty.call(n,a[i]))return!1;for(i=r;i--!==0;){var o=a[i];if(!e(t[o],n[o]))return!1}return!0}return t!==t&&n!==n}})),Jj=M((exports=>{var t=I(`react`);function n(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var r=typeof Object.is==`function`?Object.is:n,i=t.useState,a=t.useEffect,o=t.useLayoutEffect,s=t.useDebugValue;function c(e,t){var n=t(),r=i({inst:{value:n,getSnapshot:t}}),c=r[0].inst,u=r[1];return o(function(){c.value=n,c.getSnapshot=t,l(c)&&u({inst:c})},[e,n,t]),a(function(){return l(c)&&u({inst:c}),e(function(){l(c)&&u({inst:c})})},[e]),s(n),n}function l(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!r(e,n)}catch{return!0}}function u(e,t){return t()}var d=typeof window>`u`||window.document===void 0||window.document.createElement===void 0?u:c;exports.useSyncExternalStore=t.useSyncExternalStore===void 0?d:t.useSyncExternalStore})),Yj=M(((exports,t)=>{t.exports=Jj()})),Xj=M(((exports,t)=>{(function(){var e,n,r,i,a,o;typeof performance<`u`&&performance!==null&&performance.now?t.exports=function(){return performance.now()}:typeof process<`u`&&process!==null&&process.hrtime?(t.exports=function(){return(e()-a)/1e6},n=process.hrtime,e=function(){var e;return e=n(),e[0]*1e9+e[1]},i=e(),o=process.uptime()*1e9,a=i-o):Date.now?(t.exports=function(){return Date.now()-r},r=Date.now()):(t.exports=function(){return new Date().getTime()-r},r=new Date().getTime())}).call(exports)})),Zj=M(((exports,t)=>{for(var n=Xj(),r=typeof window>`u`?global:window,i=[`moz`,`webkit`],a=`AnimationFrame`,o=r[`request`+a],s=r[`cancel`+a]||r[`cancelRequest`+a],c=0;!o&&c<i.length;c++)o=r[i[c]+`Request`+a],s=r[i[c]+`Cancel`+a]||r[i[c]+`CancelRequest`+a];if(!o||!s){var l=0,u=0,d=[],f=1e3/60;o=function(e){if(d.length===0){var t=n(),r=Math.max(0,f-(t-l));l=r+t,setTimeout(function(){var e=d.slice(0);d.length=0;for(var t=0;t<e.length;t++)if(!e[t].cancelled)try{e[t].callback(l)}catch(e){setTimeout(function(){throw e},0)}},Math.round(r))}return d.push({handle:++u,callback:e,cancelled:!1}),u},s=function(e){for(var t=0;t<d.length;t++)d[t].handle===e&&(d[t].cancelled=!0)}}t.exports=function(e){return o.call(r,e)},t.exports.cancel=function(){s.apply(r,arguments)},t.exports.polyfill=function(e){e||=r,e.requestAnimationFrame=o,e.cancelAnimationFrame=s}}));Kj(),qj(),Yj(),Zj();var Qj=()=>{};function $j(e,t=0,n=!0,r=!1){let i=_(void 0);f(()=>{i.current=e}),f(()=>{if(n){let e=function(){i.current?.()};r&&e();let n=window.setInterval(e,t);return()=>{window.clearInterval(n)}}return Qj},[n,t,r])}var eM=!1,tM=()=>{};if(eM){let e=e=>{let t=`Warning: ${e}`;typeof console<`u`&&console.error(t);try{throw Error(t)}catch{}};tM=function(t,n){t||e(n)}}const nM=(e,t,n,r,i)=>{switch(e){case`bottom`:return{left:`${t}px`,top:`${-n}px`};case`left`:return{left:`${i-n}px`,top:`${r/2-n}px`};case`right`:return{left:`${-n}px`,top:`${r/2-n}px`};default:return{left:`${t}px`,top:`${r-10+n}px`}}},rM=({text:e})=>s(`div`,{dangerouslySetInnerHTML:{__html:Gj.sanitize(e)}}),iM=()=>window.navigator.userAgent===`Playwright`||window.navigator.userAgent.includes(`Protractor`),aM=()=>{let e=_(null),t=_(null),n=_(null),[r,i]=v(``),[a,o]=v(null),[s,c]=v(!1),[l,u]=v(!1),[d,p]=v(``),[m,h]=v(!1);$j(()=>{let e=t?.current?.getBoundingClientRect();m||(a?.y!==e?.y||a?.x!==e?.x)&&c(!1)},300,s);let g=_(null),S=e=>{let t=e;for(let e=0;e<8&&t;e++){if(!t)return null;if(t?.dataset?.qtipText)return t.dataset;t=t?.parentElement}return null},C=(r,a,s,l,d=`top`)=>{if(r&&t.current){u(a),i(r),p(s),o(t.current.getBoundingClientRect());let f=()=>{e.current&&t.current&&n.current&&qT(t.current,e.current,{placement:d,middleware:[_r(10),GT(),WT({padding:8}),KT({element:n.current})]}).then(({x:r,y:i,middlewareData:a,placement:o})=>{if(e.current){if(Object.assign(e.current.style,{left:`${r}px`,top:`${i}px`}),a.arrow&&t.current&&n.current){let{x:t,y:r}=a.arrow,i=n.current.offsetHeight/2,s=e.current.offsetHeight,c=e.current.offsetWidth,l=nM(o,t||r,i,s,c);Object.assign(n.current.style,l)}c(!0)}})};l>0?requestAnimationFrame(()=>{f()}):f()}};return f(()=>{let e=e=>{g.current&&clearTimeout(g.current);let n=e.target,r=S(n);if(!r){t.current=null;return}t.current=n;let i=r.qtipText;if(i){let e=parseInt(r.qtipDelay||`500`,10),t=r.qtipPlacement||`top`,n=r.qtipIsHtml===`true`,a=r.qtipTestid;g.current=setTimeout(()=>{C(i,n,a,e,t)},e)}};return!iM()&&document.body.addEventListener(`mousemove`,e),()=>{!iM()&&document.removeEventListener(`mousemove`,e)}},[]),b(y,{children:x(`div`,{onMouseEnter:()=>h(!0),onMouseLeave:()=>h(!1),"data-testid":d,ref:e,className:St(`tw:absolute tw:z-9999 tw:max-w-96 tw:rounded-sm tw:bg-black tw:p-2 tw:text-xs tw:text-sq-white`,{"tw:visible tw:animate-fadeIn":s,"tw:pointer-events-none tw:invisible":!s}),children:[l?b(rM,{text:r}):r,b(`div`,{className:`tw:absolute tw:h-2.5 tw:w-2.5 tw:rotate-45 tw:bg-black`,ref:n})]})})},oM=e=>{let{triggerIcon:t,id:n,extraClassNames:r=``,disabled:i=!1,...a}=e,o=Dt(a);return b(Gl,{...e,children:b(jl,{id:n,className:`
321
+ tw:absolute tw:rounded-sm tw:bg-sq-black tw:p-2 tw:text-xs tw:text-sq-white tw:opacity-0 tw:group-hover:opacity-100 ${d[e]}`,children:n})]})},{entries:kj,setPrototypeOf:Aj,isFrozen:jj,getPrototypeOf:Mj,getOwnPropertyDescriptor:Nj}=Object;let{freeze:Pj,seal:Fj,create:Ij}=Object,{apply:Lj,construct:Rj}=typeof Reflect<`u`&&Reflect;Pj||=function(e){return e},Fj||=function(e){return e},Lj||=function(e,t,n){return e.apply(t,n)},Rj||=function(e,t){return new e(...t)};const zj=$j(Array.prototype.forEach),Bj=$j(Array.prototype.lastIndexOf),Vj=$j(Array.prototype.pop),Hj=$j(Array.prototype.push),Uj=$j(Array.prototype.splice),Wj=$j(String.prototype.toLowerCase),Gj=$j(String.prototype.toString),Kj=$j(String.prototype.match),qj=$j(String.prototype.replace),Jj=$j(String.prototype.indexOf),Yj=$j(String.prototype.trim),Xj=$j(Object.prototype.hasOwnProperty),Zj=$j(RegExp.prototype.test),Qj=eM(TypeError);function $j(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);var n=[...arguments].slice(1);return Lj(e,t,n)}}function eM(e){return function(){var t=[...arguments];return Rj(e,t)}}function $(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Wj;Aj&&Aj(e,null);let r=t.length;for(;r--;){let i=t[r];if(typeof i==`string`){let e=n(i);e!==i&&(jj(t)||(t[r]=e),i=e)}e[i]=!0}return e}function tM(e){for(let t=0;t<e.length;t++){let n=Xj(e,t);n||(e[t]=null)}return e}function nM(e){let t=Ij(null);for(let[n,r]of kj(e)){let i=Xj(e,n);i&&(Array.isArray(r)?t[n]=tM(r):r&&typeof r==`object`&&r.constructor===Object?t[n]=nM(r):t[n]=r)}return t}function rM(e,t){for(;e!==null;){let n=Nj(e,t);if(n){if(n.get)return $j(n.get);if(typeof n.value==`function`)return $j(n.value)}e=Mj(e)}function n(){return null}return n}const iM=Pj(`a.abbr.acronym.address.area.article.aside.audio.b.bdi.bdo.big.blink.blockquote.body.br.button.canvas.caption.center.cite.code.col.colgroup.content.data.datalist.dd.decorator.del.details.dfn.dialog.dir.div.dl.dt.element.em.fieldset.figcaption.figure.font.footer.form.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.i.img.input.ins.kbd.label.legend.li.main.map.mark.marquee.menu.menuitem.meter.nav.nobr.ol.optgroup.option.output.p.picture.pre.progress.q.rp.rt.ruby.s.samp.section.select.shadow.small.source.spacer.span.strike.strong.style.sub.summary.sup.table.tbody.td.template.textarea.tfoot.th.thead.time.tr.track.tt.u.ul.var.video.wbr`.split(`.`)),aM=Pj(`svg.a.altglyph.altglyphdef.altglyphitem.animatecolor.animatemotion.animatetransform.circle.clippath.defs.desc.ellipse.filter.font.g.glyph.glyphref.hkern.image.line.lineargradient.marker.mask.metadata.mpath.path.pattern.polygon.polyline.radialgradient.rect.stop.style.switch.symbol.text.textpath.title.tref.tspan.view.vkern`.split(`.`)),oM=Pj([`feBlend`,`feColorMatrix`,`feComponentTransfer`,`feComposite`,`feConvolveMatrix`,`feDiffuseLighting`,`feDisplacementMap`,`feDistantLight`,`feDropShadow`,`feFlood`,`feFuncA`,`feFuncB`,`feFuncG`,`feFuncR`,`feGaussianBlur`,`feImage`,`feMerge`,`feMergeNode`,`feMorphology`,`feOffset`,`fePointLight`,`feSpecularLighting`,`feSpotLight`,`feTile`,`feTurbulence`]),sM=Pj([`animate`,`color-profile`,`cursor`,`discard`,`font-face`,`font-face-format`,`font-face-name`,`font-face-src`,`font-face-uri`,`foreignobject`,`hatch`,`hatchpath`,`mesh`,`meshgradient`,`meshpatch`,`meshrow`,`missing-glyph`,`script`,`set`,`solidcolor`,`unknown`,`use`]),cM=Pj(`math.menclose.merror.mfenced.mfrac.mglyph.mi.mlabeledtr.mmultiscripts.mn.mo.mover.mpadded.mphantom.mroot.mrow.ms.mspace.msqrt.mstyle.msub.msup.msubsup.mtable.mtd.mtext.mtr.munder.munderover.mprescripts`.split(`.`)),lM=Pj([`maction`,`maligngroup`,`malignmark`,`mlongdiv`,`mscarries`,`mscarry`,`msgroup`,`mstack`,`msline`,`msrow`,`semantics`,`annotation`,`annotation-xml`,`mprescripts`,`none`]),uM=Pj([`#text`]),dM=Pj(`accept.action.align.alt.autocapitalize.autocomplete.autopictureinpicture.autoplay.background.bgcolor.border.capture.cellpadding.cellspacing.checked.cite.class.clear.color.cols.colspan.controls.controlslist.coords.crossorigin.datetime.decoding.default.dir.disabled.disablepictureinpicture.disableremoteplayback.download.draggable.enctype.enterkeyhint.face.for.headers.height.hidden.high.href.hreflang.id.inputmode.integrity.ismap.kind.label.lang.list.loading.loop.low.max.maxlength.media.method.min.minlength.multiple.muted.name.nonce.noshade.novalidate.nowrap.open.optimum.pattern.placeholder.playsinline.popover.popovertarget.popovertargetaction.poster.preload.pubdate.radiogroup.readonly.rel.required.rev.reversed.role.rows.rowspan.spellcheck.scope.selected.shape.size.sizes.span.srclang.start.src.srcset.step.style.summary.tabindex.title.translate.type.usemap.valign.value.width.wrap.xmlns.slot`.split(`.`)),fM=Pj(`accent-height.accumulate.additive.alignment-baseline.amplitude.ascent.attributename.attributetype.azimuth.basefrequency.baseline-shift.begin.bias.by.class.clip.clippathunits.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.cx.cy.d.dx.dy.diffuseconstant.direction.display.divisor.dur.edgemode.elevation.end.exponent.fill.fill-opacity.fill-rule.filter.filterunits.flood-color.flood-opacity.font-family.font-size.font-size-adjust.font-stretch.font-style.font-variant.font-weight.fx.fy.g1.g2.glyph-name.glyphref.gradientunits.gradienttransform.height.href.id.image-rendering.in.in2.intercept.k.k1.k2.k3.k4.kerning.keypoints.keysplines.keytimes.lang.lengthadjust.letter-spacing.kernelmatrix.kernelunitlength.lighting-color.local.marker-end.marker-mid.marker-start.markerheight.markerunits.markerwidth.maskcontentunits.maskunits.max.mask.media.method.mode.min.name.numoctaves.offset.operator.opacity.order.orient.orientation.origin.overflow.paint-order.path.pathlength.patterncontentunits.patterntransform.patternunits.points.preservealpha.preserveaspectratio.primitiveunits.r.rx.ry.radius.refx.refy.repeatcount.repeatdur.restart.result.rotate.scale.seed.shape-rendering.slope.specularconstant.specularexponent.spreadmethod.startoffset.stddeviation.stitchtiles.stop-color.stop-opacity.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke.stroke-width.style.surfacescale.systemlanguage.tabindex.tablevalues.targetx.targety.transform.transform-origin.text-anchor.text-decoration.text-rendering.textlength.type.u1.u2.unicode.values.viewbox.visibility.version.vert-adv-y.vert-origin-x.vert-origin-y.width.word-spacing.wrap.writing-mode.xchannelselector.ychannelselector.x.x1.x2.xmlns.y.y1.y2.z.zoomandpan`.split(`.`)),pM=Pj(`accent.accentunder.align.bevelled.close.columnsalign.columnlines.columnspan.denomalign.depth.dir.display.displaystyle.encoding.fence.frame.height.href.id.largeop.length.linethickness.lspace.lquote.mathbackground.mathcolor.mathsize.mathvariant.maxsize.minsize.movablelimits.notation.numalign.open.rowalign.rowlines.rowspacing.rowspan.rspace.rquote.scriptlevel.scriptminsize.scriptsizemultiplier.selection.separator.separators.stretchy.subscriptshift.supscriptshift.symmetric.voffset.width.xmlns`.split(`.`)),mM=Pj([`xlink:href`,`xml:id`,`xlink:title`,`xml:space`,`xmlns:xlink`]),hM=Fj(/\{\{[\w\W]*|[\w\W]*\}\}/gm),gM=Fj(/<%[\w\W]*|[\w\W]*%>/gm),_M=Fj(/\$\{[\w\W]*/gm),vM=Fj(/^data-[\-\w.\u00B7-\uFFFF]+$/),yM=Fj(/^aria-[\-\w]+$/),bM=Fj(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),xM=Fj(/^(?:\w+script|data):/i),SM=Fj(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),CM=Fj(/^html$/i),wM=Fj(/^[a-z][.\w]*(-[.\w]+)+$/i);var TM=Object.freeze({__proto__:null,ARIA_ATTR:yM,ATTR_WHITESPACE:SM,CUSTOM_ELEMENT:wM,DATA_ATTR:vM,DOCTYPE_NAME:CM,ERB_EXPR:gM,IS_ALLOWED_URI:bM,IS_SCRIPT_OR_DATA:xM,MUSTACHE_EXPR:hM,TMPLIT_EXPR:_M});const EM={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},DM=function(){return typeof window>`u`?null:window},OM=function(e,t){if(typeof e!=`object`||typeof e.createPolicy!=`function`)return null;let n=null,r=`data-tt-policy-suffix`;t&&t.hasAttribute(r)&&(n=t.getAttribute(r));let i=`dompurify`+(n?`#`+n:``);try{return e.createPolicy(i,{createHTML(e){return e},createScriptURL(e){return e}})}catch{return console.warn(`TrustedTypes policy `+i+` could not be created.`),null}},kM=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function AM(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:DM(),t=e=>AM(e);if(t.version=`3.2.6`,t.removed=[],!e||!e.document||e.document.nodeType!==EM.document||!e.Element)return t.isSupported=!1,t;let{document:n}=e,r=n,i=r.currentScript,{DocumentFragment:a,HTMLTemplateElement:o,Node:s,Element:c,NodeFilter:l,NamedNodeMap:u=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:d,DOMParser:f,trustedTypes:p}=e,m=c.prototype,h=rM(m,`cloneNode`),g=rM(m,`remove`),_=rM(m,`nextSibling`),v=rM(m,`childNodes`),y=rM(m,`parentNode`);if(typeof o==`function`){let e=n.createElement(`template`);e.content&&e.content.ownerDocument&&(n=e.content.ownerDocument)}let b,x=``,{implementation:S,createNodeIterator:C,createDocumentFragment:w,getElementsByTagName:T}=n,{importNode:E}=r,D=kM();t.isSupported=typeof kj==`function`&&typeof y==`function`&&S&&S.createHTMLDocument!==void 0;let{MUSTACHE_EXPR:O,ERB_EXPR:k,TMPLIT_EXPR:A,DATA_ATTR:j,ARIA_ATTR:M,IS_SCRIPT_OR_DATA:N,ATTR_WHITESPACE:P,CUSTOM_ELEMENT:ee}=TM,{IS_ALLOWED_URI:F}=TM,I=null,L=$({},[...iM,...aM,...oM,...cM,...uM]),R=null,te=$({},[...dM,...fM,...pM,...mM]),z=Object.seal(Ij(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),ne=null,B=null,re=!0,ie=!0,ae=!1,oe=!0,se=!1,ce=!0,le=!1,V=!1,ue=!1,de=!1,fe=!1,pe=!1,me=!0,he=!1,H=!0,ge=!1,_e={},ve=null,ye=$({},[`annotation-xml`,`audio`,`colgroup`,`desc`,`foreignobject`,`head`,`iframe`,`math`,`mi`,`mn`,`mo`,`ms`,`mtext`,`noembed`,`noframes`,`noscript`,`plaintext`,`script`,`style`,`svg`,`template`,`thead`,`title`,`video`,`xmp`]),be=null,xe=$({},[`audio`,`video`,`img`,`source`,`image`,`track`]),Se=null,Ce=$({},[`alt`,`class`,`for`,`id`,`label`,`name`,`pattern`,`placeholder`,`role`,`summary`,`title`,`value`,`style`,`xmlns`]),we=`http://www.w3.org/1998/Math/MathML`,Te=`http://www.w3.org/2000/svg`,Ee=`http://www.w3.org/1999/xhtml`,De=Ee,Oe=!1,ke=null,Ae=$({},[we,Te,Ee],Gj),je=$({},[`mi`,`mo`,`mn`,`ms`,`mtext`]),Me=$({},[`annotation-xml`]),Ne=$({},[`title`,`style`,`font`,`a`,`script`]),Pe=null,Fe=[`application/xhtml+xml`,`text/html`],Ie=null,Le=null,Re=n.createElement(`form`),ze=function(e){return e instanceof RegExp||e instanceof Function},Be=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(Le&&Le===e)){if((!e||typeof e!=`object`)&&(e={}),e=nM(e),Pe=Fe.indexOf(e.PARSER_MEDIA_TYPE)===-1?`text/html`:e.PARSER_MEDIA_TYPE,Ie=Pe===`application/xhtml+xml`?Gj:Wj,I=Xj(e,`ALLOWED_TAGS`)?$({},e.ALLOWED_TAGS,Ie):L,R=Xj(e,`ALLOWED_ATTR`)?$({},e.ALLOWED_ATTR,Ie):te,ke=Xj(e,`ALLOWED_NAMESPACES`)?$({},e.ALLOWED_NAMESPACES,Gj):Ae,Se=Xj(e,`ADD_URI_SAFE_ATTR`)?$(nM(Ce),e.ADD_URI_SAFE_ATTR,Ie):Ce,be=Xj(e,`ADD_DATA_URI_TAGS`)?$(nM(xe),e.ADD_DATA_URI_TAGS,Ie):xe,ve=Xj(e,`FORBID_CONTENTS`)?$({},e.FORBID_CONTENTS,Ie):ye,ne=Xj(e,`FORBID_TAGS`)?$({},e.FORBID_TAGS,Ie):nM({}),B=Xj(e,`FORBID_ATTR`)?$({},e.FORBID_ATTR,Ie):nM({}),_e=Xj(e,`USE_PROFILES`)?e.USE_PROFILES:!1,re=e.ALLOW_ARIA_ATTR!==!1,ie=e.ALLOW_DATA_ATTR!==!1,ae=e.ALLOW_UNKNOWN_PROTOCOLS||!1,oe=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,se=e.SAFE_FOR_TEMPLATES||!1,ce=e.SAFE_FOR_XML!==!1,le=e.WHOLE_DOCUMENT||!1,de=e.RETURN_DOM||!1,fe=e.RETURN_DOM_FRAGMENT||!1,pe=e.RETURN_TRUSTED_TYPE||!1,ue=e.FORCE_BODY||!1,me=e.SANITIZE_DOM!==!1,he=e.SANITIZE_NAMED_PROPS||!1,H=e.KEEP_CONTENT!==!1,ge=e.IN_PLACE||!1,F=e.ALLOWED_URI_REGEXP||bM,De=e.NAMESPACE||Ee,je=e.MATHML_TEXT_INTEGRATION_POINTS||je,Me=e.HTML_INTEGRATION_POINTS||Me,z=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&ze(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(z.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&ze(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(z.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements==`boolean`&&(z.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),se&&(ie=!1),fe&&(de=!0),_e&&(I=$({},uM),R=[],_e.html===!0&&($(I,iM),$(R,dM)),_e.svg===!0&&($(I,aM),$(R,fM),$(R,mM)),_e.svgFilters===!0&&($(I,oM),$(R,fM),$(R,mM)),_e.mathMl===!0&&($(I,cM),$(R,pM),$(R,mM))),e.ADD_TAGS&&(I===L&&(I=nM(I)),$(I,e.ADD_TAGS,Ie)),e.ADD_ATTR&&(R===te&&(R=nM(R)),$(R,e.ADD_ATTR,Ie)),e.ADD_URI_SAFE_ATTR&&$(Se,e.ADD_URI_SAFE_ATTR,Ie),e.FORBID_CONTENTS&&(ve===ye&&(ve=nM(ve)),$(ve,e.FORBID_CONTENTS,Ie)),H&&(I[`#text`]=!0),le&&$(I,[`html`,`head`,`body`]),I.table&&($(I,[`tbody`]),delete ne.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!=`function`)throw Qj(`TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.`);if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!=`function`)throw Qj(`TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.`);b=e.TRUSTED_TYPES_POLICY,x=b.createHTML(``)}else b===void 0&&(b=OM(p,i)),b!==null&&typeof x==`string`&&(x=b.createHTML(``));Pj&&Pj(e),Le=e}},Ve=$({},[...aM,...oM,...sM]),He=$({},[...cM,...lM]),Ue=function(e){let t=y(e);(!t||!t.tagName)&&(t={namespaceURI:De,tagName:`template`});let n=Wj(e.tagName),r=Wj(t.tagName);return ke[e.namespaceURI]?e.namespaceURI===Te?t.namespaceURI===Ee?n===`svg`:t.namespaceURI===we?n===`svg`&&(r===`annotation-xml`||je[r]):!!Ve[n]:e.namespaceURI===we?t.namespaceURI===Ee?n===`math`:t.namespaceURI===Te?n===`math`&&Me[r]:!!He[n]:e.namespaceURI===Ee?t.namespaceURI===Te&&!Me[r]||t.namespaceURI===we&&!je[r]?!1:!He[n]&&(Ne[n]||!Ve[n]):!!(Pe===`application/xhtml+xml`&&ke[e.namespaceURI]):!1},We=function(e){Hj(t.removed,{element:e});try{y(e).removeChild(e)}catch{g(e)}},Ge=function(e,n){try{Hj(t.removed,{attribute:n.getAttributeNode(e),from:n})}catch{Hj(t.removed,{attribute:null,from:n})}if(n.removeAttribute(e),e===`is`)if(de||fe)try{We(n)}catch{}else try{n.setAttribute(e,``)}catch{}},Ke=function(e){let t=null,r=null;if(ue)e=`<remove></remove>`+e;else{let t=Kj(e,/^[\r\n\t ]+/);r=t&&t[0]}Pe===`application/xhtml+xml`&&De===Ee&&(e=`<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>`+e+`</body></html>`);let i=b?b.createHTML(e):e;if(De===Ee)try{t=new f().parseFromString(i,Pe)}catch{}if(!t||!t.documentElement){t=S.createDocument(De,`template`,null);try{t.documentElement.innerHTML=Oe?x:i}catch{}}let a=t.body||t.documentElement;return e&&r&&a.insertBefore(n.createTextNode(r),a.childNodes[0]||null),De===Ee?T.call(t,le?`html`:`body`)[0]:le?t.documentElement:a},qe=function(e){return C.call(e.ownerDocument||e,e,l.SHOW_ELEMENT|l.SHOW_COMMENT|l.SHOW_TEXT|l.SHOW_PROCESSING_INSTRUCTION|l.SHOW_CDATA_SECTION,null)},Je=function(e){return e instanceof d&&(typeof e.nodeName!=`string`||typeof e.textContent!=`string`||typeof e.removeChild!=`function`||!(e.attributes instanceof u)||typeof e.removeAttribute!=`function`||typeof e.setAttribute!=`function`||typeof e.namespaceURI!=`string`||typeof e.insertBefore!=`function`||typeof e.hasChildNodes!=`function`)},Ye=function(e){return typeof s==`function`&&e instanceof s};function Xe(e,n,r){zj(e,e=>{e.call(t,n,r,Le)})}let Ze=function(e){let n=null;if(Xe(D.beforeSanitizeElements,e,null),Je(e))return We(e),!0;let r=Ie(e.nodeName);if(Xe(D.uponSanitizeElement,e,{tagName:r,allowedTags:I}),ce&&e.hasChildNodes()&&!Ye(e.firstElementChild)&&Zj(/<[/\w!]/g,e.innerHTML)&&Zj(/<[/\w!]/g,e.textContent)||e.nodeType===EM.progressingInstruction||ce&&e.nodeType===EM.comment&&Zj(/<[/\w]/g,e.data))return We(e),!0;if(!I[r]||ne[r]){if(!ne[r]&&$e(r)&&(z.tagNameCheck instanceof RegExp&&Zj(z.tagNameCheck,r)||z.tagNameCheck instanceof Function&&z.tagNameCheck(r)))return!1;if(H&&!ve[r]){let t=y(e)||e.parentNode,n=v(e)||e.childNodes;if(n&&t){let r=n.length;for(let i=r-1;i>=0;--i){let r=h(n[i],!0);r.__removalCount=(e.__removalCount||0)+1,t.insertBefore(r,_(e))}}}return We(e),!0}return e instanceof c&&!Ue(e)||(r===`noscript`||r===`noembed`||r===`noframes`)&&Zj(/<\/no(script|embed|frames)/i,e.innerHTML)?(We(e),!0):(se&&e.nodeType===EM.text&&(n=e.textContent,zj([O,k,A],e=>{n=qj(n,e,` `)}),e.textContent!==n&&(Hj(t.removed,{element:e.cloneNode()}),e.textContent=n)),Xe(D.afterSanitizeElements,e,null),!1)},Qe=function(e,t,r){if(me&&(t===`id`||t===`name`)&&(r in n||r in Re))return!1;if(!(ie&&!B[t]&&Zj(j,t))&&!(re&&Zj(M,t))){if(!R[t]||B[t]){if(!($e(e)&&(z.tagNameCheck instanceof RegExp&&Zj(z.tagNameCheck,e)||z.tagNameCheck instanceof Function&&z.tagNameCheck(e))&&(z.attributeNameCheck instanceof RegExp&&Zj(z.attributeNameCheck,t)||z.attributeNameCheck instanceof Function&&z.attributeNameCheck(t))||t===`is`&&z.allowCustomizedBuiltInElements&&(z.tagNameCheck instanceof RegExp&&Zj(z.tagNameCheck,r)||z.tagNameCheck instanceof Function&&z.tagNameCheck(r))))return!1}else if(!Se[t]&&!Zj(F,qj(r,P,``))&&!((t===`src`||t===`xlink:href`||t===`href`)&&e!==`script`&&Jj(r,`data:`)===0&&be[e])&&!(ae&&!Zj(N,qj(r,P,``)))&&r)return!1}return!0},$e=function(e){return e!==`annotation-xml`&&Kj(e,ee)},et=function(e){Xe(D.beforeSanitizeAttributes,e,null);let{attributes:n}=e;if(!n||Je(e))return;let r={attrName:``,attrValue:``,keepAttr:!0,allowedAttributes:R,forceKeepAttr:void 0},i=n.length;for(;i--;){let a=n[i],{name:o,namespaceURI:s,value:c}=a,l=Ie(o),u=c,d=o===`value`?u:Yj(u);if(r.attrName=l,r.attrValue=d,r.keepAttr=!0,r.forceKeepAttr=void 0,Xe(D.uponSanitizeAttribute,e,r),d=r.attrValue,he&&(l===`id`||l===`name`)&&(Ge(o,e),d=`user-content-`+d),ce&&Zj(/((--!?|])>)|<\/(style|title)/i,d)){Ge(o,e);continue}if(r.forceKeepAttr)continue;if(!r.keepAttr){Ge(o,e);continue}if(!oe&&Zj(/\/>/i,d)){Ge(o,e);continue}se&&zj([O,k,A],e=>{d=qj(d,e,` `)});let f=Ie(e.nodeName);if(!Qe(f,l,d)){Ge(o,e);continue}if(b&&typeof p==`object`&&typeof p.getAttributeType==`function`&&!s)switch(p.getAttributeType(f,l)){case`TrustedHTML`:d=b.createHTML(d);break;case`TrustedScriptURL`:d=b.createScriptURL(d);break}if(d!==u)try{s?e.setAttributeNS(s,o,d):e.setAttribute(o,d),Je(e)?We(e):Vj(t.removed)}catch{Ge(o,e)}}Xe(D.afterSanitizeAttributes,e,null)},tt=function e(t){let n=null,r=qe(t);for(Xe(D.beforeSanitizeShadowDOM,t,null);n=r.nextNode();)Xe(D.uponSanitizeShadowNode,n,null),Ze(n),et(n),n.content instanceof a&&e(n.content);Xe(D.afterSanitizeShadowDOM,t,null)};return t.sanitize=function(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=null,o=null,c=null,l=null;if(Oe=!e,Oe&&(e=`<!-->`),typeof e!=`string`&&!Ye(e))if(typeof e.toString==`function`){if(e=e.toString(),typeof e!=`string`)throw Qj(`dirty is not a string, aborting`)}else throw Qj(`toString is not a function`);if(!t.isSupported)return e;if(V||Be(n),t.removed=[],typeof e==`string`&&(ge=!1),ge){if(e.nodeName){let t=Ie(e.nodeName);if(!I[t]||ne[t])throw Qj(`root node is forbidden and cannot be sanitized in-place`)}}else if(e instanceof s)i=Ke(`<!---->`),o=i.ownerDocument.importNode(e,!0),o.nodeType===EM.element&&o.nodeName===`BODY`||o.nodeName===`HTML`?i=o:i.appendChild(o);else{if(!de&&!se&&!le&&e.indexOf(`<`)===-1)return b&&pe?b.createHTML(e):e;if(i=Ke(e),!i)return de?null:pe?x:``}i&&ue&&We(i.firstChild);let u=qe(ge?e:i);for(;c=u.nextNode();)Ze(c),et(c),c.content instanceof a&&tt(c.content);if(ge)return e;if(de){if(fe)for(l=w.call(i.ownerDocument);i.firstChild;)l.appendChild(i.firstChild);else l=i;return(R.shadowroot||R.shadowrootmode)&&(l=E.call(r,l,!0)),l}let d=le?i.outerHTML:i.innerHTML;return le&&I[`!doctype`]&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&Zj(CM,i.ownerDocument.doctype.name)&&(d=`<!DOCTYPE `+i.ownerDocument.doctype.name+`>
322
+ `+d),se&&zj([O,k,A],e=>{d=qj(d,e,` `)}),b&&pe?b.createHTML(d):d},t.setConfig=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Be(e),V=!0},t.clearConfig=function(){Le=null,V=!1},t.isValidAttribute=function(e,t,n){Le||Be({});let r=Ie(e),i=Ie(t);return Qe(r,i,n)},t.addHook=function(e,t){typeof t==`function`&&Hj(D[e],t)},t.removeHook=function(e,t){if(t!==void 0){let n=Bj(D[e],t);return n===-1?void 0:Uj(D[e],n,1)[0]}return Vj(D[e])},t.removeHooks=function(e){D[e]=[]},t.removeAllHooks=function(){D=kM()},t}var jM=AM(),MM=M(((exports,t)=>{var n=`Expected a function`,r=NaN,i=`[object Symbol]`,a=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,c=/^0o[0-7]+$/i,l=parseInt,u=typeof global==`object`&&global&&global.Object===Object&&global,d=typeof self==`object`&&self&&self.Object===Object&&self,f=u||d||Function(`return this`)(),p=Object.prototype,m=p.toString,h=Math.max,g=Math.min,_=function(){return f.Date.now()};function v(e,t,r){var i,a,o,s,c,l,u=0,d=!1,f=!1,p=!0;if(typeof e!=`function`)throw TypeError(n);t=S(t)||0,y(r)&&(d=!!r.leading,f=`maxWait`in r,o=f?h(S(r.maxWait)||0,t):o,p=`trailing`in r?!!r.trailing:p);function m(t){var n=i,r=a;return i=a=void 0,u=t,s=e.apply(r,n),s}function v(e){return u=e,c=setTimeout(C,t),d?m(e):s}function b(e){var n=e-l,r=e-u,i=t-n;return f?g(i,o-r):i}function x(e){var n=e-l,r=e-u;return l===void 0||n>=t||n<0||f&&r>=o}function C(){var e=_();if(x(e))return w(e);c=setTimeout(C,b(e))}function w(e){return c=void 0,p&&i?m(e):(i=a=void 0,s)}function T(){c!==void 0&&clearTimeout(c),u=0,i=l=a=c=void 0}function E(){return c===void 0?s:w(_())}function D(){var e=_(),n=x(e);if(i=arguments,a=this,l=e,n){if(c===void 0)return v(l);if(f)return c=setTimeout(C,t),m(l)}return c===void 0&&(c=setTimeout(C,t)),s}return D.cancel=T,D.flush=E,D}function y(e){var t=typeof e;return!!e&&(t==`object`||t==`function`)}function b(e){return!!e&&typeof e==`object`}function x(e){return typeof e==`symbol`||b(e)&&m.call(e)==i}function S(e){if(typeof e==`number`)return e;if(x(e))return r;if(y(e)){var t=typeof e.valueOf==`function`?e.valueOf():e;e=y(t)?t+``:t}if(typeof e!=`string`)return e===0?e:+e;e=e.replace(a,``);var n=s.test(e);return n||c.test(e)?l(e.slice(2),n?2:8):o.test(e)?r:+e}t.exports=v})),NM=M(((exports,t)=>{t.exports=function e(t,n){if(t===n)return!0;if(t&&n&&typeof t==`object`&&typeof n==`object`){if(t.constructor!==n.constructor)return!1;var r,i,a;if(Array.isArray(t)){if(r=t.length,r!=n.length)return!1;for(i=r;i--!==0;)if(!e(t[i],n[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if(a=Object.keys(t),r=a.length,r!==Object.keys(n).length)return!1;for(i=r;i--!==0;)if(!Object.prototype.hasOwnProperty.call(n,a[i]))return!1;for(i=r;i--!==0;){var o=a[i];if(!e(t[o],n[o]))return!1}return!0}return t!==t&&n!==n}})),PM=M((exports=>{var t=I(`react`);function n(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var r=typeof Object.is==`function`?Object.is:n,i=t.useState,a=t.useEffect,o=t.useLayoutEffect,s=t.useDebugValue;function c(e,t){var n=t(),r=i({inst:{value:n,getSnapshot:t}}),c=r[0].inst,u=r[1];return o(function(){c.value=n,c.getSnapshot=t,l(c)&&u({inst:c})},[e,n,t]),a(function(){return l(c)&&u({inst:c}),e(function(){l(c)&&u({inst:c})})},[e]),s(n),n}function l(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!r(e,n)}catch{return!0}}function u(e,t){return t()}var d=typeof window>`u`||window.document===void 0||window.document.createElement===void 0?u:c;exports.useSyncExternalStore=t.useSyncExternalStore===void 0?d:t.useSyncExternalStore})),FM=M(((exports,t)=>{t.exports=PM()})),IM=M(((exports,t)=>{(function(){var e,n,r,i,a,o;typeof performance<`u`&&performance!==null&&performance.now?t.exports=function(){return performance.now()}:typeof process<`u`&&process!==null&&process.hrtime?(t.exports=function(){return(e()-a)/1e6},n=process.hrtime,e=function(){var e;return e=n(),e[0]*1e9+e[1]},i=e(),o=process.uptime()*1e9,a=i-o):Date.now?(t.exports=function(){return Date.now()-r},r=Date.now()):(t.exports=function(){return new Date().getTime()-r},r=new Date().getTime())}).call(exports)})),LM=M(((exports,t)=>{for(var n=IM(),r=typeof window>`u`?global:window,i=[`moz`,`webkit`],a=`AnimationFrame`,o=r[`request`+a],s=r[`cancel`+a]||r[`cancelRequest`+a],c=0;!o&&c<i.length;c++)o=r[i[c]+`Request`+a],s=r[i[c]+`Cancel`+a]||r[i[c]+`CancelRequest`+a];if(!o||!s){var l=0,u=0,d=[],f=1e3/60;o=function(e){if(d.length===0){var t=n(),r=Math.max(0,f-(t-l));l=r+t,setTimeout(function(){var e=d.slice(0);d.length=0;for(var t=0;t<e.length;t++)if(!e[t].cancelled)try{e[t].callback(l)}catch(e){setTimeout(function(){throw e},0)}},Math.round(r))}return d.push({handle:++u,callback:e,cancelled:!1}),u},s=function(e){for(var t=0;t<d.length;t++)d[t].handle===e&&(d[t].cancelled=!0)}}t.exports=function(e){return o.call(r,e)},t.exports.cancel=function(){s.apply(r,arguments)},t.exports.polyfill=function(e){e||=r,e.requestAnimationFrame=o,e.cancelAnimationFrame=s}}));MM(),NM(),FM(),LM();var RM=()=>{};function zM(e,t=0,n=!0,r=!1){let i=_(void 0);f(()=>{i.current=e}),f(()=>{if(n){let e=function(){i.current?.()};r&&e();let n=window.setInterval(e,t);return()=>{window.clearInterval(n)}}return RM},[n,t,r])}var BM=!1,VM=()=>{};if(BM){let e=e=>{let t=`Warning: ${e}`;typeof console<`u`&&console.error(t);try{throw Error(t)}catch{}};VM=function(t,n){t||e(n)}}const HM=(e,t,n,r,i)=>{switch(e){case`bottom`:return{left:`${t}px`,top:`${-n}px`};case`left`:return{left:`${i-n}px`,top:`${r/2-n}px`};case`right`:return{left:`${-n}px`,top:`${r/2-n}px`};default:return{left:`${t}px`,top:`${r-10+n}px`}}},UM=({text:e})=>s(`div`,{dangerouslySetInnerHTML:{__html:jM.sanitize(e)}}),WM=()=>window.navigator.userAgent===`Playwright`||window.navigator.userAgent.includes(`Protractor`),GM=()=>{let e=_(null),t=_(null),n=_(null),[r,i]=v(``),[a,o]=v(null),[s,c]=v(!1),[l,u]=v(!1),[d,p]=v(``),[m,h]=v(!1);zM(()=>{let e=t?.current?.getBoundingClientRect();m||(a?.y!==e?.y||a?.x!==e?.x)&&c(!1)},300,s);let g=_(null),S=e=>{let t=e;for(let e=0;e<8&&t;e++){if(!t)return null;if(t?.dataset?.qtipText)return t.dataset;t=t?.parentElement}return null},C=(r,a,s,l,d=`top`)=>{if(r&&t.current){u(a),i(r),p(s),o(t.current.getBoundingClientRect());let f=()=>{e.current&&t.current&&n.current&&vT(t.current,e.current,{placement:d,middleware:[_r(10),gT(),hT({padding:8}),_T({element:n.current})]}).then(({x:r,y:i,middlewareData:a,placement:o})=>{if(e.current){if(Object.assign(e.current.style,{left:`${r}px`,top:`${i}px`}),a.arrow&&t.current&&n.current){let{x:t,y:r}=a.arrow,i=n.current.offsetHeight/2,s=e.current.offsetHeight,c=e.current.offsetWidth,l=HM(o,t||r,i,s,c);Object.assign(n.current.style,l)}c(!0)}})};l>0?requestAnimationFrame(()=>{f()}):f()}};return f(()=>{let e=e=>{g.current&&clearTimeout(g.current);let n=e.target,r=S(n);if(!r){t.current=null;return}t.current=n;let i=r.qtipText;if(i){let e=parseInt(r.qtipDelay||`500`,10),t=r.qtipPlacement||`top`,n=r.qtipIsHtml===`true`,a=r.qtipTestid;g.current=setTimeout(()=>{C(i,n,a,e,t)},e)}};return!WM()&&document.body.addEventListener(`mousemove`,e),()=>{!WM()&&document.removeEventListener(`mousemove`,e)}},[]),b(y,{children:x(`div`,{onMouseEnter:()=>h(!0),onMouseLeave:()=>h(!1),"data-testid":d,ref:e,className:St(`tw:absolute tw:z-9999 tw:max-w-96 tw:rounded-sm tw:bg-black tw:p-2 tw:text-xs tw:text-sq-white`,{"tw:visible tw:animate-fadeIn":s,"tw:pointer-events-none tw:invisible":!s}),children:[l?b(UM,{text:r}):r,b(`div`,{className:`tw:absolute tw:h-2.5 tw:w-2.5 tw:rotate-45 tw:bg-black`,ref:n})]})})},KM=e=>{let{triggerIcon:t,id:n,extraClassNames:r=``,disabled:i=!1,...a}=e,o=Dt(a);return b(Gl,{...e,children:b(jl,{id:n,className:`
323
323
  tw:border-none
324
324
  tw:bg-transparent
325
325
  tw:focus-within:outline-none
@@ -331,5 +331,5 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
331
331
  tw:bg-transparent
332
332
  tw:focus-within:outline-none
333
333
  tw:focus:outline-none
334
- tw:focus-visible:outline-none`,{"tw:cursor-not-allowed tw:opacity-50":i},r),children:t})})})};var sM=oM;const cM=`qomponents`,lM=[`button`,`reset`,`submit`,`link`],uM=[`xs`,`sm`,`lg`],dM=[`outline`,`theme`,`theme-light`,`warning`,`danger`,`no-border`,`navigation`,`navigation-selected`],fM=[`left`,`right`],pM=[`theme`,`white`,`dark-gray`,`darkish-gray`,`gray`,`color`,`info`,`text`,`warning`,`inherit`,`danger`,`theme-light`,`success`],mM=[...pM,`default`],hM=[`outline`,`theme`,`theme-light`,`warning`,`danger`,`no-border`],gM=[`color_topic`,`color_analysis`,`color_datalab`,`color_vantage`,`color_insights`];export{wt as Accordion,Mt as Alert,Ft as Badge,Kt as Button,Yt as ButtonGroup,Kl as ButtonWithDropdown,Tu as ButtonWithPopover,Tb as Carousel,kb as Checkbox,jb as Collapse,Ib as ColorPickerControl,Pb as ColorSwatch,Tt as DEFAULT_TOOL_TIP_DELAY,zb as EditorPanel,Hb as ExternalLink,cM as I18N_NAMESPACE,jt as Icon,Xb as InputGroup,Vt as LoadingIndicator,Kx as Modal,jS as ProgressBar,aM as QTip,VS as SeeqActionDropdown,US as SegmentedControl,Ok as Select,KD as SelectComponents,_A as Slider,RA as Tabs,zA as TextArea,Jb as TextField,VA as ToolbarButton,HA as Tooltip,sM as TriggerWithDropdown,uM as buttonSizes,lM as buttonTypes,dM as buttonVariants,gM as externalLinkThemeClasses,fM as iconPositions,pM as iconTypes,mM as svgIconTypes,hM as toolbarButtonVariants,Et as tooltipPositions};
334
+ tw:focus-visible:outline-none`,{"tw:cursor-not-allowed tw:opacity-50":i},r),children:t})})})};var qM=KM;const JM=[`button`,`reset`,`submit`,`link`],YM=[`xs`,`sm`,`lg`],XM=[`outline`,`theme`,`theme-light`,`warning`,`danger`,`no-border`,`navigation`,`navigation-selected`],ZM=[`left`,`right`],QM=[`theme`,`white`,`dark-gray`,`darkish-gray`,`gray`,`color`,`info`,`text`,`warning`,`inherit`,`danger`,`theme-light`,`success`],$M=[...QM,`default`],eN=[`outline`,`theme`,`theme-light`,`warning`,`danger`,`no-border`],tN=[`color_topic`,`color_analysis`,`color_datalab`,`color_vantage`,`color_insights`];export{wt as Accordion,Mt as Alert,Ft as Badge,Kt as Button,Yt as ButtonGroup,Kl as ButtonWithDropdown,Tu as ButtonWithPopover,Tb as Carousel,kb as Checkbox,jb as Collapse,Ib as ColorPickerControl,Pb as ColorSwatch,Tt as DEFAULT_TOOL_TIP_DELAY,zb as EditorPanel,Hb as ExternalLink,ek as I18N_NAMESPACE,jt as Icon,Xb as InputGroup,Vt as LoadingIndicator,Kx as Modal,_k as Paginator,nA as ProgressBar,GM as QTip,fA as SeeqActionDropdown,mA as SegmentedControl,$O as Select,_D as SelectComponents,rj as Slider,wj as Tabs,Tj as TextArea,Jb as TextField,Dj as ToolbarButton,Oj as Tooltip,qM as TriggerWithDropdown,YM as buttonSizes,JM as buttonTypes,XM as buttonVariants,tN as externalLinkThemeClasses,ZM as iconPositions,QM as iconTypes,$M as svgIconTypes,eN as toolbarButtonVariants,Et as tooltipPositions};
335
335
  //# sourceMappingURL=index.esm.js.map