@lax-wp/design-system 0.3.34 → 0.3.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +10 -12
- package/dist/index.umd.js +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -7797,27 +7797,25 @@ const G8 = _e(
|
|
|
7797
7797
|
);
|
|
7798
7798
|
G8.displayName = "PercentageInputField";
|
|
7799
7799
|
var ni = /* @__PURE__ */ ((e) => (e.LEFT = "left", e.RIGHT = "right", e.TOP = "top", e))(ni || {});
|
|
7800
|
-
const _8 = (e, t, n, r
|
|
7801
|
-
const
|
|
7800
|
+
const _8 = (e, t, n, r = "medium") => {
|
|
7801
|
+
const i = {
|
|
7802
7802
|
small: "w-7 h-4 after:h-3 after:w-3 after:top-0.5 after:left-0.5",
|
|
7803
7803
|
medium: "w-9 h-5 after:h-4 after:w-4 after:top-0.5 after:left-0.5",
|
|
7804
7804
|
large: "w-11 h-6 after:h-5 after:w-5 after:top-0.5 after:left-0.5"
|
|
7805
|
-
},
|
|
7805
|
+
}, l = {
|
|
7806
7806
|
small: "peer-checked:after:translate-x-3",
|
|
7807
7807
|
medium: "peer-checked:after:translate-x-full",
|
|
7808
7808
|
large: "peer-checked:after:translate-x-5"
|
|
7809
7809
|
};
|
|
7810
7810
|
return J(
|
|
7811
|
-
"p-0.5 rounded-full peer after:content-[''] after:absolute after:rounded-full after:transition-all bg-gray-200",
|
|
7812
|
-
|
|
7813
|
-
|
|
7811
|
+
"p-0.5 rounded-full peer after:content-[''] after:absolute after:rounded-full after:transition-all bg-gray-200 dark:bg-black-400",
|
|
7812
|
+
i[r],
|
|
7813
|
+
l[r],
|
|
7814
7814
|
{
|
|
7815
|
-
"
|
|
7816
|
-
"
|
|
7817
|
-
"peer-checked:bg-primary-600 dark:peer-checked:bg-primary-900 peer-checked:after:translate-x-full after:bg-white dark:after:bg-primary-500": e,
|
|
7818
|
-
"after:bg-white dark:after:bg-black-700": !e,
|
|
7815
|
+
"peer-checked:bg-primary-600 dark:peer-checked:bg-primary-700 peer-checked:after:translate-x-full after:bg-white dark:after:bg-primary-500": e,
|
|
7816
|
+
"after:bg-white dark:after:bg-black-500": !e,
|
|
7819
7817
|
"text-white dark:text-black-900": t,
|
|
7820
|
-
"cursor-not-allowed opacity-70":
|
|
7818
|
+
"cursor-not-allowed opacity-70": n
|
|
7821
7819
|
}
|
|
7822
7820
|
);
|
|
7823
7821
|
}, W8 = ({ size: e = 18, fill: t = "#016DCF" }) => /* @__PURE__ */ h.jsx("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ h.jsx(
|
|
@@ -7981,7 +7979,7 @@ const _8 = (e, t, n, r, i = "medium") => {
|
|
|
7981
7979
|
"aria-describedby": z || F ? `${n}-description` : void 0
|
|
7982
7980
|
}
|
|
7983
7981
|
),
|
|
7984
|
-
/* @__PURE__ */ h.jsx("div", { className: _8(t, f,
|
|
7982
|
+
/* @__PURE__ */ h.jsx("div", { className: _8(t, f, b, N), children: f ? /* @__PURE__ */ h.jsx("div", { className: "flex items-center justify-center h-full", children: /* @__PURE__ */ h.jsx(
|
|
7985
7983
|
"div",
|
|
7986
7984
|
{
|
|
7987
7985
|
className: J(
|
package/dist/index.umd.js
CHANGED
|
@@ -65,7 +65,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
65
65
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function an(e,t){return $6(e)||X6(e,t)||D1(e,t)||U6()}function nu(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 Jt(e,t){if(e==null)return{};var n,r,i=nu(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}function J6(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}const Z6=Math.min,Y6=Math.max,el=Math.round,tl=Math.floor,nl=e=>({x:e,y:e});function q6(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function rl(){return typeof window<"u"}function ru(e){return lu(e)?(e.nodeName||"").toLowerCase():"#document"}function on(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function iu(e){var t;return(t=(lu(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function lu(e){return rl()?e instanceof Node||e instanceof on(e).Node:!1}function Q6(e){return rl()?e instanceof Element||e instanceof on(e).Element:!1}function $a(e){return rl()?e instanceof HTMLElement||e instanceof on(e).HTMLElement:!1}function au(e){return!rl()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof on(e).ShadowRoot}const K6=new Set(["inline","contents"]);function ou(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=Xa(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!K6.has(i)}function R6(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const eg=new Set(["html","body","#document"]);function tg(e){return eg.has(ru(e))}function Xa(e){return on(e).getComputedStyle(e)}function ng(e){if(ru(e)==="html")return e;const t=e.assignedSlot||e.parentNode||au(e)&&e.host||iu(e);return au(t)?t.host:t}function su(e){const t=ng(e);return tg(t)?e.ownerDocument?e.ownerDocument.body:e.body:$a(t)&&ou(t)?t:su(t)}function il(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const i=su(e),a=i===((r=e.ownerDocument)==null?void 0:r.body),o=on(i);if(a){const u=Ua(o);return t.concat(o,o.visualViewport||[],ou(i)?i:[],u&&n?il(u):[])}return t.concat(i,il(i,[],n))}function Ua(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function rg(e){const t=Xa(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=$a(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,u=el(n)!==a||el(r)!==o;return u&&(n=a,r=o),{width:n,height:r,$:u}}function Ja(e){return Q6(e)?e:e.contextElement}function uu(e){const t=Ja(e);if(!$a(t))return nl(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:a}=rg(t);let o=(a?el(n.width):n.width)/r,u=(a?el(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!u||!Number.isFinite(u))&&(u=1),{x:o,y:u}}const ig=nl(0);function lg(e){const t=on(e);return!R6()||!t.visualViewport?ig:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function ag(e,t,n){return!1}function cu(e,t,n,r){t===void 0&&(t=!1);const i=e.getBoundingClientRect(),a=Ja(e);let o=nl(1);t&&(o=uu(e));const u=ag()?lg(a):nl(0);let s=(i.left+u.x)/o.x,c=(i.top+u.y)/o.y,d=i.width/o.x,f=i.height/o.y;if(a){const p=on(a),m=r;let g=p,v=Ua(g);for(;v&&r&&m!==g;){const b=uu(v),x=v.getBoundingClientRect(),E=Xa(v),C=x.left+(v.clientLeft+parseFloat(E.paddingLeft))*b.x,M=x.top+(v.clientTop+parseFloat(E.paddingTop))*b.y;s*=b.x,c*=b.y,d*=b.x,f*=b.y,s+=C,c+=M,g=on(v),v=Ua(g)}}return q6({width:d,height:f,x:s,y:c})}function du(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function og(e,t){let n=null,r;const i=iu(e);function a(){var u;clearTimeout(r),(u=n)==null||u.disconnect(),n=null}function o(u,s){u===void 0&&(u=!1),s===void 0&&(s=1),a();const c=e.getBoundingClientRect(),{left:d,top:f,width:p,height:m}=c;if(u||t(),!p||!m)return;const g=tl(f),v=tl(i.clientWidth-(d+p)),b=tl(i.clientHeight-(f+m)),x=tl(d),C={rootMargin:-g+"px "+-v+"px "+-b+"px "+-x+"px",threshold:Y6(0,Z6(1,s))||1};let M=!0;function y(w){const k=w[0].intersectionRatio;if(k!==s){if(!M)return o();k?o(!1,k):r=setTimeout(()=>{o(!1,1e-7)},1e3)}k===1&&!du(c,e.getBoundingClientRect())&&o(),M=!1}try{n=new IntersectionObserver(y,{...C,root:i.ownerDocument})}catch{n=new IntersectionObserver(y,C)}n.observe(e)}return o(!0),a}function sg(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:u=typeof IntersectionObserver=="function",animationFrame:s=!1}=r,c=Ja(e),d=i||a?[...c?il(c):[],...il(t)]:[];d.forEach(x=>{i&&x.addEventListener("scroll",n,{passive:!0}),a&&x.addEventListener("resize",n)});const f=c&&u?og(c,n):null;let p=-1,m=null;o&&(m=new ResizeObserver(x=>{let[E]=x;E&&E.target===c&&m&&(m.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var C;(C=m)==null||C.observe(t)})),n()}),c&&!s&&m.observe(c),m.observe(t));let g,v=s?cu(e):null;s&&b();function b(){const x=cu(e);v&&!du(v,x)&&n(),v=x,g=requestAnimationFrame(b)}return n(),()=>{var x;d.forEach(E=>{i&&E.removeEventListener("scroll",n),a&&E.removeEventListener("resize",n)}),f?.(),(x=m)==null||x.disconnect(),m=null,s&&cancelAnimationFrame(g)}}var Za=l.useLayoutEffect,ug=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],ll=function(){};function cg(e,t){return t?t[0]==="-"?e+t:e+"__"+t:e}function dg(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var a=[].concat(r);if(t&&e)for(var o in t)t.hasOwnProperty(o)&&t[o]&&a.push("".concat(cg(e,o)));return a.filter(function(u){return u}).map(function(u){return String(u).trim()}).join(" ")}var al=function(t){return wg(t)?t.filter(Boolean):_n(t)==="object"&&t!==null?[t]:[]},fu=function(t){t.className,t.clearValue,t.cx,t.getStyles,t.getClassNames,t.getValue,t.hasValue,t.isMulti,t.isRtl,t.options,t.selectOption,t.selectProps,t.setValue,t.theme;var n=Jt(t,ug);return pe({},n)},$e=function(t,n,r){var i=t.cx,a=t.getStyles,o=t.getClassNames,u=t.className;return{css:a(n,t),className:i(r??{},o(n,t),u)}};function ol(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function fg(e){return ol(e)?window.innerHeight:e.clientHeight}function hu(e){return ol(e)?window.pageYOffset:e.scrollTop}function sl(e,t){if(ol(e)){window.scrollTo(0,t);return}e.scrollTop=t}function hg(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 mg(e,t,n,r){return n*((e=e/r-1)*e*e+1)+t}function ul(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:ll,i=hu(e),a=t-i,o=10,u=0;function s(){u+=o;var c=mg(u,i,a,n);sl(e,c),u<n?window.requestAnimationFrame(s):r(e)}s()}function mu(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),i=t.offsetHeight/3;r.bottom+i>n.bottom?sl(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+i,e.scrollHeight)):r.top-i<n.top&&sl(e,Math.max(t.offsetTop-i,0))}function pg(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 pu(){try{return document.createEvent("TouchEvent"),!0}catch{return!1}}function gg(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}var gu=!1,vg={get passive(){return gu=!0}},cl=typeof window<"u"?window:{};cl.addEventListener&&cl.removeEventListener&&(cl.addEventListener("p",ll,vg),cl.removeEventListener("p",ll,!1));var bg=gu;function xg(e){return e!=null}function wg(e){return Array.isArray(e)}function $r(e,t,n){return e?t:n}function tL(e){return e}function nL(e){return e}var yg=function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];var a=Object.entries(t).filter(function(o){var u=an(o,1),s=u[0];return!r.includes(s)});return a.reduce(function(o,u){var s=an(u,2),c=s[0],d=s[1];return o[c]=d,o},{})},Eg=["children","innerProps"],Cg=["children","innerProps"];function Ig(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,i=e.placement,a=e.shouldScroll,o=e.isFixedPosition,u=e.controlHeight,s=hg(n),c={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return c;var d=s.getBoundingClientRect(),f=d.height,p=n.getBoundingClientRect(),m=p.bottom,g=p.height,v=p.top,b=n.offsetParent.getBoundingClientRect(),x=b.top,E=o?window.innerHeight:fg(s),C=hu(s),M=parseInt(getComputedStyle(n).marginBottom,10),y=parseInt(getComputedStyle(n).marginTop,10),w=x-y,k=E-v,I=w+C,z=f-C-v,F=m-E+C+M,N=C+v-y,D=160;switch(i){case"auto":case"bottom":if(k>=g)return{placement:"bottom",maxHeight:t};if(z>=g&&!o)return a&&ul(s,F,D),{placement:"bottom",maxHeight:t};if(!o&&z>=r||o&&k>=r){a&&ul(s,F,D);var O=o?k-M:z-M;return{placement:"bottom",maxHeight:O}}if(i==="auto"||o){var P=t,H=o?w:I;return H>=r&&(P=Math.min(H-M-u,t)),{placement:"top",maxHeight:P}}if(i==="bottom")return a&&sl(s,F),{placement:"bottom",maxHeight:t};break;case"top":if(w>=g)return{placement:"top",maxHeight:t};if(I>=g&&!o)return a&&ul(s,N,D),{placement:"top",maxHeight:t};if(!o&&I>=r||o&&w>=r){var j=t;return(!o&&I>=r||o&&w>=r)&&(j=o?w-y:I-y),a&&ul(s,N,D),{placement:"top",maxHeight:j}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(i,'".'))}return c}function kg(e){var t={bottom:"top",top:"bottom"};return e?t[e]:"bottom"}var vu=function(t){return t==="auto"?"bottom":t},zg=function(t,n){var r,i=t.placement,a=t.theme,o=a.borderRadius,u=a.spacing,s=a.colors;return pe((r={label:"menu"},Or(r,kg(i),"100%"),Or(r,"position","absolute"),Or(r,"width","100%"),Or(r,"zIndex",1),r),n?{}:{backgroundColor:s.neutral0,borderRadius:o,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:u.menuGutter,marginTop:u.menuGutter})},bu=l.createContext(null),Fg=function(t){var n=t.children,r=t.minMenuHeight,i=t.maxMenuHeight,a=t.menuPlacement,o=t.menuPosition,u=t.menuShouldScrollIntoView,s=t.theme,c=l.useContext(bu)||{},d=c.setPortalPlacement,f=l.useRef(null),p=l.useState(i),m=an(p,2),g=m[0],v=m[1],b=l.useState(null),x=an(b,2),E=x[0],C=x[1],M=s.spacing.controlHeight;return Za(function(){var y=f.current;if(y){var w=o==="fixed",k=u&&!w,I=Ig({maxHeight:i,menuEl:y,minHeight:r,placement:a,shouldScroll:k,isFixedPosition:w,controlHeight:M});v(I.maxHeight),C(I.placement),d?.(I.placement)}},[i,a,o,u,r,d,M]),n({ref:f,placerProps:pe(pe({},t),{},{placement:E||vu(a),maxHeight:g})})},Mg=function(t){var n=t.children,r=t.innerRef,i=t.innerProps;return me("div",he({},$e(t,"menu",{menu:!0}),{ref:r},i),n)},Sg=Mg,Ag=function(t,n){var r=t.maxHeight,i=t.theme.spacing.baseUnit;return pe({maxHeight:r,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},n?{}:{paddingBottom:i,paddingTop:i})},Ng=function(t){var n=t.children,r=t.innerProps,i=t.innerRef,a=t.isMulti;return me("div",he({},$e(t,"menuList",{"menu-list":!0,"menu-list--is-multi":a}),{ref:i},r),n)},xu=function(t,n){var r=t.theme,i=r.spacing.baseUnit,a=r.colors;return pe({textAlign:"center"},n?{}:{color:a.neutral40,padding:"".concat(i*2,"px ").concat(i*3,"px")})},Hg=xu,Bg=xu,Dg=function(t){var n=t.children,r=n===void 0?"No options":n,i=t.innerProps,a=Jt(t,Eg);return me("div",he({},$e(pe(pe({},a),{},{children:r,innerProps:i}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),i),r)},Lg=function(t){var n=t.children,r=n===void 0?"Loading...":n,i=t.innerProps,a=Jt(t,Cg);return me("div",he({},$e(pe(pe({},a),{},{children:r,innerProps:i}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),i),r)},Tg=function(t){var n=t.rect,r=t.offset,i=t.position;return{left:n.left,position:i,top:r,width:n.width,zIndex:1}},Pg=function(t){var n=t.appendTo,r=t.children,i=t.controlElement,a=t.innerProps,o=t.menuPlacement,u=t.menuPosition,s=l.useRef(null),c=l.useRef(null),d=l.useState(vu(o)),f=an(d,2),p=f[0],m=f[1],g=l.useMemo(function(){return{setPortalPlacement:m}},[]),v=l.useState(null),b=an(v,2),x=b[0],E=b[1],C=l.useCallback(function(){if(i){var k=pg(i),I=u==="fixed"?0:window.pageYOffset,z=k[p]+I;(z!==x?.offset||k.left!==x?.rect.left||k.width!==x?.rect.width)&&E({offset:z,rect:k})}},[i,u,p,x?.offset,x?.rect.left,x?.rect.width]);Za(function(){C()},[C]);var M=l.useCallback(function(){typeof c.current=="function"&&(c.current(),c.current=null),i&&s.current&&(c.current=sg(i,s.current,C,{elementResize:"ResizeObserver"in window}))},[i,C]);Za(function(){M()},[M]);var y=l.useCallback(function(k){s.current=k,M()},[M]);if(!n&&u!=="fixed"||!x)return null;var w=me("div",he({ref:y},$e(pe(pe({},t),{},{offset:x.offset,position:u,rect:x.rect}),"menuPortal",{"menu-portal":!0}),a),r);return me(bu.Provider,{value:g},n?nr.createPortal(w,n):w)},Og=function(t){var n=t.isDisabled,r=t.isRtl;return{label:"container",direction:r?"rtl":void 0,pointerEvents:n?"none":void 0,position:"relative"}},jg=function(t){var n=t.children,r=t.innerProps,i=t.isDisabled,a=t.isRtl;return me("div",he({},$e(t,"container",{"--is-disabled":i,"--is-rtl":a}),r),n)},Vg=function(t,n){var r=t.theme.spacing,i=t.isMulti,a=t.hasValue,o=t.selectProps.controlShouldRenderValue;return pe({alignItems:"center",display:i&&a&&o?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},n?{}:{padding:"".concat(r.baseUnit/2,"px ").concat(r.baseUnit*2,"px")})},Gg=function(t){var n=t.children,r=t.innerProps,i=t.isMulti,a=t.hasValue;return me("div",he({},$e(t,"valueContainer",{"value-container":!0,"value-container--is-multi":i,"value-container--has-value":a}),r),n)},_g=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},Wg=function(t){var n=t.children,r=t.innerProps;return me("div",he({},$e(t,"indicatorsContainer",{indicators:!0}),r),n)},wu,$g=["size"],Xg=["innerProps","isRtl","size"];function Ug(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var Jg=process.env.NODE_ENV==="production"?{name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"}:{name:"tj5bde-Svg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb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TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */",toString:Ug},yu=function(t){var n=t.size,r=Jt(t,$g);return me("svg",he({height:n,width:n,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:Jg},r))},Ya=function(t){return me(yu,he({size:20},t),me("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"}))},Eu=function(t){return me(yu,he({size:20},t),me("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},Cu=function(t,n){var r=t.isFocused,i=t.theme,a=i.spacing.baseUnit,o=i.colors;return pe({label:"indicatorContainer",display:"flex",transition:"color 150ms"},n?{}:{color:r?o.neutral60:o.neutral20,padding:a*2,":hover":{color:r?o.neutral80:o.neutral40}})},Zg=Cu,Yg=function(t){var n=t.children,r=t.innerProps;return me("div",he({},$e(t,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),r),n||me(Eu,null))},qg=Cu,Qg=function(t){var n=t.children,r=t.innerProps;return me("div",he({},$e(t,"clearIndicator",{indicator:!0,"clear-indicator":!0}),r),n||me(Ya,null))},Kg=function(t,n){var r=t.isDisabled,i=t.theme,a=i.spacing.baseUnit,o=i.colors;return pe({label:"indicatorSeparator",alignSelf:"stretch",width:1},n?{}:{backgroundColor:r?o.neutral10:o.neutral20,marginBottom:a*2,marginTop:a*2})},Rg=function(t){var n=t.innerProps;return me("span",he({},n,$e(t,"indicatorSeparator",{"indicator-separator":!0})))},e7=W6(wu||(wu=J6([`
|
|
66
66
|
0%, 80%, 100% { opacity: 0; }
|
|
67
67
|
40% { opacity: 1; }
|
|
68
|
-
`]))),t7=function(t,n){var r=t.isFocused,i=t.size,a=t.theme,o=a.colors,u=a.spacing.baseUnit;return pe({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:i,lineHeight:1,marginRight:i,textAlign:"center",verticalAlign:"middle"},n?{}:{color:r?o.neutral60:o.neutral20,padding:u*2})},qa=function(t){var n=t.delay,r=t.offset;return me("span",{css:Wa({animation:"".concat(e7," 1s ease-in-out ").concat(n,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:r?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},process.env.NODE_ENV==="production"?"":";label:LoadingDot;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5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g);return me("div",he({},$e(pe(pe({},o),{},{innerProps:n,isRtl:r,size:a}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),n),me(qa,{delay:0,offset:r}),me(qa,{delay:160,offset:!0}),me(qa,{delay:320,offset:!r}))},r7=function(t,n){var r=t.isDisabled,i=t.isFocused,a=t.theme,o=a.colors,u=a.borderRadius,s=a.spacing;return pe({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:s.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},n?{}:{backgroundColor:r?o.neutral5:o.neutral0,borderColor:r?o.neutral10:i?o.primary:o.neutral20,borderRadius:u,borderStyle:"solid",borderWidth:1,boxShadow:i?"0 0 0 1px ".concat(o.primary):void 0,"&:hover":{borderColor:i?o.primary:o.neutral30}})},i7=function(t){var n=t.children,r=t.isDisabled,i=t.isFocused,a=t.innerRef,o=t.innerProps,u=t.menuIsOpen;return me("div",he({ref:a},$e(t,"control",{control:!0,"control--is-disabled":r,"control--is-focused":i,"control--menu-is-open":u}),o,{"aria-disabled":r||void 0}),n)},l7=i7,a7=["data"],o7=function(t,n){var r=t.theme.spacing;return n?{}:{paddingBottom:r.baseUnit*2,paddingTop:r.baseUnit*2}},s7=function(t){var n=t.children,r=t.cx,i=t.getStyles,a=t.getClassNames,o=t.Heading,u=t.headingProps,s=t.innerProps,c=t.label,d=t.theme,f=t.selectProps;return me("div",he({},$e(t,"group",{group:!0}),s),me(o,he({},u,{selectProps:f,theme:d,getStyles:i,getClassNames:a,cx:r}),c),me("div",null,n))},u7=function(t,n){var r=t.theme,i=r.colors,a=r.spacing;return pe({label:"group",cursor:"default",display:"block"},n?{}:{color:i.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:a.baseUnit*3,paddingRight:a.baseUnit*3,textTransform:"uppercase"})},c7=function(t){var n=fu(t);n.data;var r=Jt(n,a7);return me("div",he({},$e(t,"groupHeading",{"group-heading":!0}),r))},d7=s7,f7=["innerRef","isDisabled","isHidden","inputClassName"],h7=function(t,n){var r=t.isDisabled,i=t.value,a=t.theme,o=a.spacing,u=a.colors;return pe(pe({visibility:r?"hidden":"visible",transform:i?"translateZ(0)":""},m7),n?{}:{margin:o.baseUnit/2,paddingBottom:o.baseUnit/2,paddingTop:o.baseUnit/2,color:u.neutral80})},Iu={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},m7={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":pe({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},Iu)},p7=function(t){return pe({label:"input",color:"inherit",background:0,opacity:t?0:1,width:"100%"},Iu)},g7=function(t){var n=t.cx,r=t.value,i=fu(t),a=i.innerRef,o=i.isDisabled,u=i.isHidden,s=i.inputClassName,c=Jt(i,f7);return me("div",he({},$e(t,"input",{"input-container":!0}),{"data-value":r||""}),me("input",he({className:n({input:!0},s),ref:a,style:p7(u),disabled:o},c)))},v7=g7,b7=function(t,n){var r=t.theme,i=r.spacing,a=r.borderRadius,o=r.colors;return pe({label:"multiValue",display:"flex",minWidth:0},n?{}:{backgroundColor:o.neutral10,borderRadius:a/2,margin:i.baseUnit/2})},x7=function(t,n){var r=t.theme,i=r.borderRadius,a=r.colors,o=t.cropWithEllipsis;return pe({overflow:"hidden",textOverflow:o||o===void 0?"ellipsis":void 0,whiteSpace:"nowrap"},n?{}:{borderRadius:i/2,color:a.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},w7=function(t,n){var r=t.theme,i=r.spacing,a=r.borderRadius,o=r.colors,u=t.isFocused;return pe({alignItems:"center",display:"flex"},n?{}:{borderRadius:a/2,backgroundColor:u?o.dangerLight:void 0,paddingLeft:i.baseUnit,paddingRight:i.baseUnit,":hover":{backgroundColor:o.dangerLight,color:o.danger}})},ku=function(t){var n=t.children,r=t.innerProps;return me("div",r,n)},y7=ku,E7=ku;function C7(e){var t=e.children,n=e.innerProps;return me("div",he({role:"button"},n),t||me(Ya,{size:14}))}var I7=function(t){var n=t.children,r=t.components,i=t.data,a=t.innerProps,o=t.isDisabled,u=t.removeProps,s=t.selectProps,c=r.Container,d=r.Label,f=r.Remove;return me(c,{data:i,innerProps:pe(pe({},$e(t,"multiValue",{"multi-value":!0,"multi-value--is-disabled":o})),a),selectProps:s},me(d,{data:i,innerProps:pe({},$e(t,"multiValueLabel",{"multi-value__label":!0})),selectProps:s},n),me(f,{data:i,innerProps:pe(pe({},$e(t,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(n||"option")},u),selectProps:s}))},k7=I7,z7=function(t,n){var r=t.isDisabled,i=t.isFocused,a=t.isSelected,o=t.theme,u=o.spacing,s=o.colors;return pe({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},n?{}:{backgroundColor:a?s.primary:i?s.primary25:"transparent",color:r?s.neutral20:a?s.neutral0:"inherit",padding:"".concat(u.baseUnit*2,"px ").concat(u.baseUnit*3,"px"),":active":{backgroundColor:r?void 0:a?s.primary:s.primary50}})},F7=function(t){var n=t.children,r=t.isDisabled,i=t.isFocused,a=t.isSelected,o=t.innerRef,u=t.innerProps;return me("div",he({},$e(t,"option",{option:!0,"option--is-disabled":r,"option--is-focused":i,"option--is-selected":a}),{ref:o,"aria-disabled":r},u),n)},M7=F7,S7=function(t,n){var r=t.theme,i=r.spacing,a=r.colors;return pe({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},n?{}:{color:a.neutral50,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},A7=function(t){var n=t.children,r=t.innerProps;return me("div",he({},$e(t,"placeholder",{placeholder:!0}),r),n)},N7=A7,H7=function(t,n){var r=t.isDisabled,i=t.theme,a=i.spacing,o=i.colors;return pe({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},n?{}:{color:r?o.neutral40:o.neutral80,marginLeft:a.baseUnit/2,marginRight:a.baseUnit/2})},B7=function(t){var n=t.children,r=t.isDisabled,i=t.innerProps;return me("div",he({},$e(t,"singleValue",{"single-value":!0,"single-value--is-disabled":r}),i),n)},D7=B7,L7={ClearIndicator:Qg,Control:l7,DropdownIndicator:Yg,DownChevron:Eu,CrossIcon:Ya,Group:d7,GroupHeading:c7,IndicatorsContainer:Wg,IndicatorSeparator:Rg,Input:v7,LoadingIndicator:n7,Menu:Sg,MenuList:Ng,MenuPortal:Pg,LoadingMessage:Lg,NoOptionsMessage:Dg,MultiValue:k7,MultiValueContainer:y7,MultiValueLabel:E7,MultiValueRemove:C7,Option:M7,Placeholder:N7,SelectContainer:jg,SingleValue:D7,ValueContainer:Gg},T7=function(t){return pe(pe({},L7),t.components)},zu=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function P7(e,t){return!!(e===t||zu(e)&&zu(t))}function O7(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!P7(e[n],t[n]))return!1;return!0}function j7(e,t){t===void 0&&(t=O7);var n=null;function r(){for(var i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];if(n&&n.lastThis===this&&t(i,n.lastArgs))return n.lastResult;var o=e.apply(this,i);return n={lastResult:o,lastArgs:i,lastThis:this},o}return r.clear=function(){n=null},r}function V7(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}for(var G7=process.env.NODE_ENV==="production"?{name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"}:{name:"1f43avz-a11yText-A11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;label:A11yText;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFPSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IEpTWCB9IGZyb20gJ3JlYWN0JztcbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */",toString:V7},_7=function(t){return me("span",he({css:G7},t))},Fu=_7,W7={guidance:function(t){var n=t.isSearchable,r=t.isMulti,i=t.tabSelectsValue,a=t.context,o=t.isInitialFocus;switch(a){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(i?", press Tab to select the option and exit the menu":"",".");case"input":return o?"".concat(t["aria-label"]||"Select"," is focused ").concat(n?",type to refine list":"",", press Down to open the menu, ").concat(r?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(t){var n=t.action,r=t.label,i=r===void 0?"":r,a=t.labels,o=t.isDisabled;switch(n){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(i,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(a.length>1?"s":""," ").concat(a.join(","),", selected.");case"select-option":return o?"option ".concat(i," is disabled. Select another option."):"option ".concat(i,", selected.");default:return""}},onFocus:function(t){var n=t.context,r=t.focused,i=t.options,a=t.label,o=a===void 0?"":a,u=t.selectValue,s=t.isDisabled,c=t.isSelected,d=t.isAppleDevice,f=function(v,b){return v&&v.length?"".concat(v.indexOf(b)+1," of ").concat(v.length):""};if(n==="value"&&u)return"value ".concat(o," focused, ").concat(f(u,r),".");if(n==="menu"&&d){var p=s?" disabled":"",m="".concat(c?" selected":"").concat(p);return"".concat(o).concat(m,", ").concat(f(i,r),".")}return""},onFilter:function(t){var n=t.inputValue,r=t.resultsMessage;return"".concat(r).concat(n?" for search term "+n:"",".")}},$7=function(t){var n=t.ariaSelection,r=t.focusedOption,i=t.focusedValue,a=t.focusableOptions,o=t.isFocused,u=t.selectValue,s=t.selectProps,c=t.id,d=t.isAppleDevice,f=s.ariaLiveMessages,p=s.getOptionLabel,m=s.inputValue,g=s.isMulti,v=s.isOptionDisabled,b=s.isSearchable,x=s.menuIsOpen,E=s.options,C=s.screenReaderStatus,M=s.tabSelectsValue,y=s.isLoading,w=s["aria-label"],k=s["aria-live"],I=l.useMemo(function(){return pe(pe({},W7),f||{})},[f]),z=l.useMemo(function(){var H="";if(n&&I.onChange){var j=n.option,W=n.options,V=n.removedValue,$=n.removedValues,A=n.value,Z=function(ne){return Array.isArray(ne)?null:ne},U=V||j||Z(A),S=U?p(U):"",X=W||$||void 0,le=X?X.map(p):[],oe=pe({isDisabled:U&&v(U,u),label:S,labels:le},n);H=I.onChange(oe)}return H},[n,I,v,u,p]),F=l.useMemo(function(){var H="",j=r||i,W=!!(r&&u&&u.includes(r));if(j&&I.onFocus){var V={focused:j,label:p(j),isDisabled:v(j,u),isSelected:W,options:a,context:j===r?"menu":"value",selectValue:u,isAppleDevice:d};H=I.onFocus(V)}return H},[r,i,p,v,I,a,u,d]),N=l.useMemo(function(){var H="";if(x&&E.length&&!y&&I.onFilter){var j=C({count:a.length});H=I.onFilter({inputValue:m,resultsMessage:j})}return H},[a,m,x,I,E,C,y]),D=n?.action==="initial-input-focus",O=l.useMemo(function(){var H="";if(I.guidance){var j=i?"value":x?"menu":"input";H=I.guidance({"aria-label":w,context:j,isDisabled:r&&v(r,u),isMulti:g,isSearchable:b,tabSelectsValue:M,isInitialFocus:D})}return H},[w,r,i,g,v,b,x,I,u,M,D]),P=me(l.Fragment,null,me("span",{id:"aria-selection"},z),me("span",{id:"aria-focused"},F),me("span",{id:"aria-results"},N),me("span",{id:"aria-guidance"},O));return me(l.Fragment,null,me(Fu,{id:c},D&&P),me(Fu,{"aria-live":k,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},o&&!D&&P))},X7=$7,Qa=[{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źẑżžẓẕƶȥɀⱬꝣ"}],U7=new RegExp("["+Qa.map(function(e){return e.letters}).join("")+"]","g"),Mu={},Ka=0;Ka<Qa.length;Ka++)for(var Ra=Qa[Ka],eo=0;eo<Ra.letters.length;eo++)Mu[Ra.letters[eo]]=Ra.base;var Su=function(t){return t.replace(U7,function(n){return Mu[n]})},J7=j7(Su),Au=function(t){return t.replace(/^\s+|\s+$/g,"")},Z7=function(t){return"".concat(t.label," ").concat(t.value)},Y7=function(t){return function(n,r){if(n.data.__isNew__)return!0;var i=pe({ignoreCase:!0,ignoreAccents:!0,stringify:Z7,trim:!0,matchFrom:"any"},t),a=i.ignoreCase,o=i.ignoreAccents,u=i.stringify,s=i.trim,c=i.matchFrom,d=s?Au(r):r,f=s?Au(u(n)):u(n);return a&&(d=d.toLowerCase(),f=f.toLowerCase()),o&&(d=J7(d),f=Su(f)),c==="start"?f.substr(0,d.length)===d:f.indexOf(d)>-1}},q7=["innerRef"];function Q7(e){var t=e.innerRef,n=Jt(e,q7),r=yg(n,"onExited","in","enter","exit","appear");return me("input",he({ref:t},r,{css:Wa({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},process.env.NODE_ENV==="production"?"":";label:DummyInput;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWYgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQgeyByZW1vdmVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gRHVtbXlJbnB1dCh7XG4gIGlubmVyUmVmLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydpbnB1dCddICYge1xuICByZWFkb25seSBpbm5lclJlZjogUmVmPEhUTUxJbnB1dEVsZW1lbnQ+O1xufSkge1xuICAvLyBSZW1vdmUgYW5pbWF0aW9uIHByb3BzIG5vdCBtZWFudCBmb3IgSFRNTCBlbGVtZW50c1xuICBjb25zdCBmaWx0ZXJlZFByb3BzID0gcmVtb3ZlUHJvcHMoXG4gICAgcHJvcHMsXG4gICAgJ29uRXhpdGVkJyxcbiAgICAnaW4nLFxuICAgICdlbnRlcicsXG4gICAgJ2V4aXQnLFxuICAgICdhcHBlYXInXG4gICk7XG5cbiAgcmV0dXJuIChcbiAgICA8aW5wdXRcbiAgICAgIHJlZj17aW5uZXJSZWZ9XG4gICAgICB7Li4uZmlsdGVyZWRQcm9wc31cbiAgICAgIGNzcz17e1xuICAgICAgICBsYWJlbDogJ2R1bW15SW5wdXQnLFxuICAgICAgICAvLyBnZXQgcmlkIG9mIGFueSBkZWZhdWx0IHN0eWxlc1xuICAgICAgICBiYWNrZ3JvdW5kOiAwLFxuICAgICAgICBib3JkZXI6IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgdGhpcyBoaWRlcyB0aGUgZmxhc2hpbmcgY3Vyc29yXG4gICAgICAgIGNhcmV0Q29sb3I6ICd0cmFuc3BhcmVudCcsXG4gICAgICAgIGZvbnRTaXplOiAnaW5oZXJpdCcsXG4gICAgICAgIGdyaWRBcmVhOiAnMSAvIDEgLyAyIC8gMycsXG4gICAgICAgIG91dGxpbmU6IDAsXG4gICAgICAgIHBhZGRpbmc6IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgd2l0aG91dCBgd2lkdGhgIGJyb3dzZXJzIHdvbid0IGFsbG93IGZvY3VzXG4gICAgICAgIHdpZHRoOiAxLFxuXG4gICAgICAgIC8vIHJlbW92ZSBjdXJzb3Igb24gZGVza3RvcFxuICAgICAgICBjb2xvcjogJ3RyYW5zcGFyZW50JyxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIG1vYmlsZSB3aGlsc3QgbWFpbnRhaW5pbmcgXCJzY3JvbGwgaW50byB2aWV3XCIgYmVoYXZpb3VyXG4gICAgICAgIGxlZnQ6IC0xMDAsXG4gICAgICAgIG9wYWNpdHk6IDAsXG4gICAgICAgIHBvc2l0aW9uOiAncmVsYXRpdmUnLFxuICAgICAgICB0cmFuc2Zvcm06ICdzY2FsZSguMDEpJyxcbiAgICAgIH19XG4gICAgLz5cbiAgKTtcbn1cbiJdfQ== */")}))}var K7=function(t){t.cancelable&&t.preventDefault(),t.stopPropagation()};function R7(e){var t=e.isEnabled,n=e.onBottomArrive,r=e.onBottomLeave,i=e.onTopArrive,a=e.onTopLeave,o=l.useRef(!1),u=l.useRef(!1),s=l.useRef(0),c=l.useRef(null),d=l.useCallback(function(b,x){if(c.current!==null){var E=c.current,C=E.scrollTop,M=E.scrollHeight,y=E.clientHeight,w=c.current,k=x>0,I=M-y-C,z=!1;I>x&&o.current&&(r&&r(b),o.current=!1),k&&u.current&&(a&&a(b),u.current=!1),k&&x>I?(n&&!o.current&&n(b),w.scrollTop=M,z=!0,o.current=!0):!k&&-x>C&&(i&&!u.current&&i(b),w.scrollTop=0,z=!0,u.current=!0),z&&K7(b)}},[n,r,i,a]),f=l.useCallback(function(b){d(b,b.deltaY)},[d]),p=l.useCallback(function(b){s.current=b.changedTouches[0].clientY},[]),m=l.useCallback(function(b){var x=s.current-b.changedTouches[0].clientY;d(b,x)},[d]),g=l.useCallback(function(b){if(b){var x=bg?{passive:!1}:!1;b.addEventListener("wheel",f,x),b.addEventListener("touchstart",p,x),b.addEventListener("touchmove",m,x)}},[m,p,f]),v=l.useCallback(function(b){b&&(b.removeEventListener("wheel",f,!1),b.removeEventListener("touchstart",p,!1),b.removeEventListener("touchmove",m,!1))},[m,p,f]);return l.useEffect(function(){if(t){var b=c.current;return g(b),function(){v(b)}}},[t,g,v]),function(b){c.current=b}}var Nu=["boxSizing","height","overflow","paddingRight","position"],Hu={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Bu(e){e.cancelable&&e.preventDefault()}function Du(e){e.stopPropagation()}function Lu(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;e===0?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function Tu(){return"ontouchstart"in window||navigator.maxTouchPoints}var Pu=!!(typeof window<"u"&&window.document&&window.document.createElement),Xr=0,cr={capture:!1,passive:!1};function e8(e){var t=e.isEnabled,n=e.accountForScrollbars,r=n===void 0?!0:n,i=l.useRef({}),a=l.useRef(null),o=l.useCallback(function(s){if(Pu){var c=document.body,d=c&&c.style;if(r&&Nu.forEach(function(g){var v=d&&d[g];i.current[g]=v}),r&&Xr<1){var f=parseInt(i.current.paddingRight,10)||0,p=document.body?document.body.clientWidth:0,m=window.innerWidth-p+f||0;Object.keys(Hu).forEach(function(g){var v=Hu[g];d&&(d[g]=v)}),d&&(d.paddingRight="".concat(m,"px"))}c&&Tu()&&(c.addEventListener("touchmove",Bu,cr),s&&(s.addEventListener("touchstart",Lu,cr),s.addEventListener("touchmove",Du,cr))),Xr+=1}},[r]),u=l.useCallback(function(s){if(Pu){var c=document.body,d=c&&c.style;Xr=Math.max(Xr-1,0),r&&Xr<1&&Nu.forEach(function(f){var p=i.current[f];d&&(d[f]=p)}),c&&Tu()&&(c.removeEventListener("touchmove",Bu,cr),s&&(s.removeEventListener("touchstart",Lu,cr),s.removeEventListener("touchmove",Du,cr)))}},[r]);return l.useEffect(function(){if(t){var s=a.current;return o(s),function(){u(s)}}},[t,o,u]),function(s){a.current=s}}function t8(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var n8=function(t){var n=t.target;return n.ownerDocument.activeElement&&n.ownerDocument.activeElement.blur()},r8=process.env.NODE_ENV==="production"?{name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"}:{name:"bp8cua-ScrollManager",styles:"position:fixed;left:0;bottom:0;right:0;top:0;label:ScrollManager;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2ssIE1vdXNlRXZlbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcuL3VzZVNjcm9sbENhcHR1cmUnO1xuaW1wb3J0IHVzZVNjcm9sbExvY2sgZnJvb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gIG9uQm90dG9tQXJyaXZlLFxuICBvbkJvdHRvbUxlYXZlLFxuICBvblRvcEFycml2ZSxcbiAgb25Ub3BMZWF2ZSxcbn06IFByb3BzKSB7XG4gIGNvbnN0IHNldFNjcm9sbENhcHR1cmVUYXJnZXQgPSB1c2VTY3JvbGxDYXB0dXJlKHtcbiAgICBpc0VuYWJsZWQ6IGNhcHR1cmVFbmFibGVkLFxuICAgIG9uQm90dG9tQXJyaXZlLFxuICAgIG9uQm90dG9tTGVhdmUsXG4gICAgb25Ub3BBcnJpdmUsXG4gICAgb25Ub3BMZWF2ZSxcbiAgfSk7XG4gIGNvbnN0IHNldFNjcm9sbExvY2tUYXJnZXQgPSB1c2VTY3JvbGxMb2NrKHsgaXNFbmFibGVkOiBsb2NrRW5hYmxlZCB9KTtcblxuICBjb25zdCB0YXJnZXRSZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PiA9IChlbGVtZW50KSA9PiB7XG4gICAgc2V0U2Nyb2xsQ2FwdHVyZVRhcmdldChlbGVtZW50KTtcbiAgICBzZXRTY3JvbGxMb2NrVGFyZ2V0KGVsZW1lbnQpO1xuICB9O1xuXG4gIHJldHVybiAoXG4gICAgPEZyYWdtZW50PlxuICAgICAge2xvY2tFbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+XG4gICk7XG59XG4iXX0= */",toString:t8};function i8(e){var t=e.children,n=e.lockEnabled,r=e.captureEnabled,i=r===void 0?!0:r,a=e.onBottomArrive,o=e.onBottomLeave,u=e.onTopArrive,s=e.onTopLeave,c=R7({isEnabled:i,onBottomArrive:a,onBottomLeave:o,onTopArrive:u,onTopLeave:s}),d=e8({isEnabled:n}),f=function(m){c(m),d(m)};return me(l.Fragment,null,n&&me("div",{onClick:n8,css:r8}),t(f))}function l8(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var a8=process.env.NODE_ENV==="production"?{name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"}:{name:"5kkxb2-requiredInput-RequiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%;label:RequiredInput;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlJlcXVpcmVkSW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWNJIiwiZmlsZSI6IlJlcXVpcmVkSW5wdXQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyBGb2N1c0V2ZW50SGFuZGxlciwgRnVuY3Rpb25Db21wb25lbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmNvbnN0IFJlcXVpcmVkSW5wdXQ6IEZ1bmN0aW9uQ29tcG9uZW50PHtcbiAgcmVhZG9ubHkgbmFtZT86IHN0cmluZztcbiAgcmVhZG9ubHkgb25Gb2N1czogRm9jdXNFdmVudEhhbmRsZXI8SFRNTElucHV0RWxlbWVudD47XG59PiA9ICh7IG5hbWUsIG9uRm9jdXMgfSkgPT4gKFxuICA8aW5wdXRcbiAgICByZXF1aXJlZFxuICAgIG5hbWU9e25hbWV9XG4gICAgdGFiSW5kZXg9ey0xfVxuICAgIGFyaWEtaGlkZGVuPVwidHJ1ZVwiXG4gICAgb25Gb2N1cz17b25Gb2N1c31cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAncmVxdWlyZWRJbnB1dCcsXG4gICAgICBvcGFjaXR5OiAwLFxuICAgICAgcG9pbnRlckV2ZW50czogJ25vbmUnLFxuICAgICAgcG9zaXRpb246ICdhYnNvbHV0ZScsXG4gICAgICBib3R0b206IDAsXG4gICAgICBsZWZ0OiAwLFxuICAgICAgcmlnaHQ6IDAsXG4gICAgICB3aWR0aDogJzEwMCUnLFxuICAgIH19XG4gICAgLy8gUHJldmVudCBgU3dpdGNoaW5nIGZyb20gdW5jb250cm9sbGVkIHRvIGNvbnRyb2xsZWRgIGVycm9yXG4gICAgdmFsdWU9XCJcIlxuICAgIG9uQ2hhbmdlPXsoKSA9PiB7fX1cbiAgLz5cbik7XG5cbmV4cG9ydCBkZWZhdWx0IFJlcXVpcmVkSW5wdXQ7XG4iXX0= */",toString:l8},o8=function(t){var n=t.name,r=t.onFocus;return me("input",{required:!0,name:n,tabIndex:-1,"aria-hidden":"true",onFocus:r,css:a8,value:"",onChange:function(){}})},s8=o8;function to(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function u8(){return to(/^iPhone/i)}function Ou(){return to(/^Mac/i)}function c8(){return to(/^iPad/i)||Ou()&&navigator.maxTouchPoints>1}function d8(){return u8()||c8()}function f8(){return Ou()||d8()}var h8=function(t){return t.label},ju=function(t){return t.label},Vu=function(t){return t.value},m8=function(t){return!!t.isDisabled},p8={clearIndicator:qg,container:Og,control:r7,dropdownIndicator:Zg,group:o7,groupHeading:u7,indicatorsContainer:_g,indicatorSeparator:Kg,input:h7,loadingIndicator:t7,loadingMessage:Bg,menu:zg,menuList:Ag,menuPortal:Tg,multiValue:b7,multiValueLabel:x7,multiValueRemove:w7,noOptionsMessage:Hg,option:z7,placeholder:S7,singleValue:H7,valueContainer:Vg},g8={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%)"},v8=4,Gu=4,b8=38,x8=Gu*2,w8={baseUnit:Gu,controlHeight:b8,menuGutter:x8},no={borderRadius:v8,colors:g8,spacing:w8},y8={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:pu(),captureMenuScroll:!pu(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:Y7(),formatGroupLabel:h8,getOptionLabel:ju,getOptionValue:Vu,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:m8,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!gg(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(t){var n=t.count;return"".concat(n," result").concat(n!==1?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function _u(e,t,n,r){var i=Ju(e,t,n),a=Zu(e,t,n),o=Uu(e,t),u=fl(e,t);return{type:"option",data:t,isDisabled:i,isSelected:a,label:o,value:u,index:r}}function dl(e,t){return e.options.map(function(n,r){if("options"in n){var i=n.options.map(function(o,u){return _u(e,o,t,u)}).filter(function(o){return Xu(e,o)});return i.length>0?{type:"group",data:n,options:i,index:r}:void 0}var a=_u(e,n,t,r);return Xu(e,a)?a:void 0}).filter(xg)}function Wu(e){return e.reduce(function(t,n){return n.type==="group"?t.push.apply(t,ar(n.options.map(function(r){return r.data}))):t.push(n.data),t},[])}function $u(e,t){return e.reduce(function(n,r){return r.type==="group"?n.push.apply(n,ar(r.options.map(function(i){return{data:i.data,id:"".concat(t,"-").concat(r.index,"-").concat(i.index)}}))):n.push({data:r.data,id:"".concat(t,"-").concat(r.index)}),n},[])}function E8(e,t){return Wu(dl(e,t))}function Xu(e,t){var n=e.inputValue,r=n===void 0?"":n,i=t.data,a=t.isSelected,o=t.label,u=t.value;return(!qu(e)||!a)&&Yu(e,{label:o,value:u,data:i},r)}function C8(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 I8(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}var ro=function(t,n){var r,i=(r=t.find(function(a){return a.data===n}))===null||r===void 0?void 0:r.id;return i||null},Uu=function(t,n){return t.getOptionLabel(n)},fl=function(t,n){return t.getOptionValue(n)};function Ju(e,t,n){return typeof e.isOptionDisabled=="function"?e.isOptionDisabled(t,n):!1}function Zu(e,t,n){if(n.indexOf(t)>-1)return!0;if(typeof e.isOptionSelected=="function")return e.isOptionSelected(t,n);var r=fl(e,t);return n.some(function(i){return fl(e,i)===r})}function Yu(e,t,n){return e.filterOption?e.filterOption(t,n):!0}var qu=function(t){var n=t.hideSelectedOptions,r=t.isMulti;return n===void 0?r:n},k8=1,Qu=function(e){jp(n,e);var t=_p(n);function n(r){var i;if(Pp(this,n),i=t.call(this,r),i.state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:"",isAppleDevice:!1},i.blockOptionHover=!1,i.isComposing=!1,i.commonProps=void 0,i.initialTouchX=0,i.initialTouchY=0,i.openAfterFocus=!1,i.scrollToFocusedOptionOnUpdate=!1,i.userIsDragging=void 0,i.controlRef=null,i.getControlRef=function(s){i.controlRef=s},i.focusedOptionRef=null,i.getFocusedOptionRef=function(s){i.focusedOptionRef=s},i.menuListRef=null,i.getMenuListRef=function(s){i.menuListRef=s},i.inputRef=null,i.getInputRef=function(s){i.inputRef=s},i.focus=i.focusInput,i.blur=i.blurInput,i.onChange=function(s,c){var d=i.props,f=d.onChange,p=d.name;c.name=p,i.ariaOnChange(s,c),f(s,c)},i.setValue=function(s,c,d){var f=i.props,p=f.closeMenuOnSelect,m=f.isMulti,g=f.inputValue;i.onInputChange("",{action:"set-value",prevInputValue:g}),p&&(i.setState({inputIsHiddenAfterUpdate:!m}),i.onMenuClose()),i.setState({clearFocusValueOnUpdate:!0}),i.onChange(s,{action:c,option:d})},i.selectOption=function(s){var c=i.props,d=c.blurInputOnSelect,f=c.isMulti,p=c.name,m=i.state.selectValue,g=f&&i.isOptionSelected(s,m),v=i.isOptionDisabled(s,m);if(g){var b=i.getOptionValue(s);i.setValue(m.filter(function(x){return i.getOptionValue(x)!==b}),"deselect-option",s)}else if(!v)f?i.setValue([].concat(ar(m),[s]),"select-option",s):i.setValue(s,"select-option");else{i.ariaOnChange(s,{action:"select-option",option:s,name:p});return}d&&i.blurInput()},i.removeValue=function(s){var c=i.props.isMulti,d=i.state.selectValue,f=i.getOptionValue(s),p=d.filter(function(g){return i.getOptionValue(g)!==f}),m=$r(c,p,p[0]||null);i.onChange(m,{action:"remove-value",removedValue:s}),i.focusInput()},i.clearValue=function(){var s=i.state.selectValue;i.onChange($r(i.props.isMulti,[],null),{action:"clear",removedValues:s})},i.popValue=function(){var s=i.props.isMulti,c=i.state.selectValue,d=c[c.length-1],f=c.slice(0,c.length-1),p=$r(s,f,f[0]||null);d&&i.onChange(p,{action:"pop-value",removedValue:d})},i.getFocusedOptionId=function(s){return ro(i.state.focusableOptionsWithIds,s)},i.getFocusableOptionsWithIds=function(){return $u(dl(i.props,i.state.selectValue),i.getElementId("option"))},i.getValue=function(){return i.state.selectValue},i.cx=function(){for(var s=arguments.length,c=new Array(s),d=0;d<s;d++)c[d]=arguments[d];return dg.apply(void 0,[i.props.classNamePrefix].concat(c))},i.getOptionLabel=function(s){return Uu(i.props,s)},i.getOptionValue=function(s){return fl(i.props,s)},i.getStyles=function(s,c){var d=i.props.unstyled,f=p8[s](c,d);f.boxSizing="border-box";var p=i.props.styles[s];return p?p(f,c):f},i.getClassNames=function(s,c){var d,f;return(d=(f=i.props.classNames)[s])===null||d===void 0?void 0:d.call(f,c)},i.getElementId=function(s){return"".concat(i.state.instancePrefix,"-").concat(s)},i.getComponents=function(){return T7(i.props)},i.buildCategorizedOptions=function(){return dl(i.props,i.state.selectValue)},i.getCategorizedOptions=function(){return i.props.menuIsOpen?i.buildCategorizedOptions():[]},i.buildFocusableOptions=function(){return Wu(i.buildCategorizedOptions())},i.getFocusableOptions=function(){return i.props.menuIsOpen?i.buildFocusableOptions():[]},i.ariaOnChange=function(s,c){i.setState({ariaSelection:pe({value:s},c)})},i.onMenuMouseDown=function(s){s.button===0&&(s.stopPropagation(),s.preventDefault(),i.focusInput())},i.onMenuMouseMove=function(s){i.blockOptionHover=!1},i.onControlMouseDown=function(s){if(!s.defaultPrevented){var c=i.props.openMenuOnClick;i.state.isFocused?i.props.menuIsOpen?s.target.tagName!=="INPUT"&&s.target.tagName!=="TEXTAREA"&&i.onMenuClose():c&&i.openMenu("first"):(c&&(i.openAfterFocus=!0),i.focusInput()),s.target.tagName!=="INPUT"&&s.target.tagName!=="TEXTAREA"&&s.preventDefault()}},i.onDropdownIndicatorMouseDown=function(s){if(!(s&&s.type==="mousedown"&&s.button!==0)&&!i.props.isDisabled){var c=i.props,d=c.isMulti,f=c.menuIsOpen;i.focusInput(),f?(i.setState({inputIsHiddenAfterUpdate:!d}),i.onMenuClose()):i.openMenu("first"),s.preventDefault()}},i.onClearIndicatorMouseDown=function(s){s&&s.type==="mousedown"&&s.button!==0||(i.clearValue(),s.preventDefault(),i.openAfterFocus=!1,s.type==="touchend"?i.focusInput():setTimeout(function(){return i.focusInput()}))},i.onScroll=function(s){typeof i.props.closeMenuOnScroll=="boolean"?s.target instanceof HTMLElement&&ol(s.target)&&i.props.onMenuClose():typeof i.props.closeMenuOnScroll=="function"&&i.props.closeMenuOnScroll(s)&&i.props.onMenuClose()},i.onCompositionStart=function(){i.isComposing=!0},i.onCompositionEnd=function(){i.isComposing=!1},i.onTouchStart=function(s){var c=s.touches,d=c&&c.item(0);d&&(i.initialTouchX=d.clientX,i.initialTouchY=d.clientY,i.userIsDragging=!1)},i.onTouchMove=function(s){var c=s.touches,d=c&&c.item(0);if(d){var f=Math.abs(d.clientX-i.initialTouchX),p=Math.abs(d.clientY-i.initialTouchY),m=5;i.userIsDragging=f>m||p>m}},i.onTouchEnd=function(s){i.userIsDragging||(i.controlRef&&!i.controlRef.contains(s.target)&&i.menuListRef&&!i.menuListRef.contains(s.target)&&i.blurInput(),i.initialTouchX=0,i.initialTouchY=0)},i.onControlTouchEnd=function(s){i.userIsDragging||i.onControlMouseDown(s)},i.onClearIndicatorTouchEnd=function(s){i.userIsDragging||i.onClearIndicatorMouseDown(s)},i.onDropdownIndicatorTouchEnd=function(s){i.userIsDragging||i.onDropdownIndicatorMouseDown(s)},i.handleInputChange=function(s){var c=i.props.inputValue,d=s.currentTarget.value;i.setState({inputIsHiddenAfterUpdate:!1}),i.onInputChange(d,{action:"input-change",prevInputValue:c}),i.props.menuIsOpen||i.onMenuOpen()},i.onInputFocus=function(s){i.props.onFocus&&i.props.onFocus(s),i.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(i.openAfterFocus||i.props.openMenuOnFocus)&&i.openMenu("first"),i.openAfterFocus=!1},i.onInputBlur=function(s){var c=i.props.inputValue;if(i.menuListRef&&i.menuListRef.contains(document.activeElement)){i.inputRef.focus();return}i.props.onBlur&&i.props.onBlur(s),i.onInputChange("",{action:"input-blur",prevInputValue:c}),i.onMenuClose(),i.setState({focusedValue:null,isFocused:!1})},i.onOptionHover=function(s){if(!(i.blockOptionHover||i.state.focusedOption===s)){var c=i.getFocusableOptions(),d=c.indexOf(s);i.setState({focusedOption:s,focusedOptionId:d>-1?i.getFocusedOptionId(s):null})}},i.shouldHideSelectedOptions=function(){return qu(i.props)},i.onValueInputFocus=function(s){s.preventDefault(),s.stopPropagation(),i.focus()},i.onKeyDown=function(s){var c=i.props,d=c.isMulti,f=c.backspaceRemovesValue,p=c.escapeClearsValue,m=c.inputValue,g=c.isClearable,v=c.isDisabled,b=c.menuIsOpen,x=c.onKeyDown,E=c.tabSelectsValue,C=c.openMenuOnFocus,M=i.state,y=M.focusedOption,w=M.focusedValue,k=M.selectValue;if(!v&&!(typeof x=="function"&&(x(s),s.defaultPrevented))){switch(i.blockOptionHover=!0,s.key){case"ArrowLeft":if(!d||m)return;i.focusValue("previous");break;case"ArrowRight":if(!d||m)return;i.focusValue("next");break;case"Delete":case"Backspace":if(m)return;if(w)i.removeValue(w);else{if(!f)return;d?i.popValue():g&&i.clearValue()}break;case"Tab":if(i.isComposing||s.shiftKey||!b||!E||!y||C&&i.isOptionSelected(y,k))return;i.selectOption(y);break;case"Enter":if(s.keyCode===229)break;if(b){if(!y||i.isComposing)return;i.selectOption(y);break}return;case"Escape":b?(i.setState({inputIsHiddenAfterUpdate:!1}),i.onInputChange("",{action:"menu-close",prevInputValue:m}),i.onMenuClose()):g&&p&&i.clearValue();break;case" ":if(m)return;if(!b){i.openMenu("first");break}if(!y)return;i.selectOption(y);break;case"ArrowUp":b?i.focusOption("up"):i.openMenu("last");break;case"ArrowDown":b?i.focusOption("down"):i.openMenu("first");break;case"PageUp":if(!b)return;i.focusOption("pageup");break;case"PageDown":if(!b)return;i.focusOption("pagedown");break;case"Home":if(!b)return;i.focusOption("first");break;case"End":if(!b)return;i.focusOption("last");break;default:return}s.preventDefault()}},i.state.instancePrefix="react-select-"+(i.props.instanceId||++k8),i.state.selectValue=al(r.value),r.menuIsOpen&&i.state.selectValue.length){var a=i.getFocusableOptionsWithIds(),o=i.buildFocusableOptions(),u=o.indexOf(i.state.selectValue[0]);i.state.focusableOptionsWithIds=a,i.state.focusedOption=o[u],i.state.focusedOptionId=ro(a,o[u])}return i}return Op(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&mu(this.menuListRef,this.focusedOptionRef),f8()&&this.setState({isAppleDevice:!0})}},{key:"componentDidUpdate",value:function(i){var a=this.props,o=a.isDisabled,u=a.menuIsOpen,s=this.state.isFocused;(s&&!o&&i.isDisabled||s&&u&&!i.menuIsOpen)&&this.focusInput(),s&&o&&!i.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!s&&!o&&i.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(mu(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(i,a){this.props.onInputChange(i,a)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(i){var a=this,o=this.state,u=o.selectValue,s=o.isFocused,c=this.buildFocusableOptions(),d=i==="first"?0:c.length-1;if(!this.props.isMulti){var f=c.indexOf(u[0]);f>-1&&(d=f)}this.scrollToFocusedOptionOnUpdate=!(s&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:c[d],focusedOptionId:this.getFocusedOptionId(c[d])},function(){return a.onMenuOpen()})}},{key:"focusValue",value:function(i){var a=this.state,o=a.selectValue,u=a.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var s=o.indexOf(u);u||(s=-1);var c=o.length-1,d=-1;if(o.length){switch(i){case"previous":s===0?d=0:s===-1?d=c:d=s-1;break;case"next":s>-1&&s<c&&(d=s+1);break}this.setState({inputIsHidden:d!==-1,focusedValue:o[d]})}}}},{key:"focusOption",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"first",a=this.props.pageSize,o=this.state.focusedOption,u=this.getFocusableOptions();if(u.length){var s=0,c=u.indexOf(o);o||(c=-1),i==="up"?s=c>0?c-1:u.length-1:i==="down"?s=(c+1)%u.length:i==="pageup"?(s=c-a,s<0&&(s=0)):i==="pagedown"?(s=c+a,s>u.length-1&&(s=u.length-1)):i==="last"&&(s=u.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:u[s],focusedValue:null,focusedOptionId:this.getFocusedOptionId(u[s])})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(no):pe(pe({},no),this.props.theme):no}},{key:"getCommonProps",value:function(){var i=this.clearValue,a=this.cx,o=this.getStyles,u=this.getClassNames,s=this.getValue,c=this.selectOption,d=this.setValue,f=this.props,p=f.isMulti,m=f.isRtl,g=f.options,v=this.hasValue();return{clearValue:i,cx:a,getStyles:o,getClassNames:u,getValue:s,hasValue:v,isMulti:p,isRtl:m,options:g,selectOption:c,selectProps:f,setValue:d,theme:this.getTheme()}}},{key:"hasValue",value:function(){var i=this.state.selectValue;return i.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var i=this.props,a=i.isClearable,o=i.isMulti;return a===void 0?o:a}},{key:"isOptionDisabled",value:function(i,a){return Ju(this.props,i,a)}},{key:"isOptionSelected",value:function(i,a){return Zu(this.props,i,a)}},{key:"filterOption",value:function(i,a){return Yu(this.props,i,a)}},{key:"formatOptionLabel",value:function(i,a){if(typeof this.props.formatOptionLabel=="function"){var o=this.props.inputValue,u=this.state.selectValue;return this.props.formatOptionLabel(i,{context:a,inputValue:o,selectValue:u})}else return this.getOptionLabel(i)}},{key:"formatGroupLabel",value:function(i){return this.props.formatGroupLabel(i)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var i=this.props,a=i.isDisabled,o=i.isSearchable,u=i.inputId,s=i.inputValue,c=i.tabIndex,d=i.form,f=i.menuIsOpen,p=i.required,m=this.getComponents(),g=m.Input,v=this.state,b=v.inputIsHidden,x=v.ariaSelection,E=this.commonProps,C=u||this.getElementId("input"),M=pe(pe(pe({"aria-autocomplete":"list","aria-expanded":f,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":p,role:"combobox","aria-activedescendant":this.state.isAppleDevice?void 0:this.state.focusedOptionId||""},f&&{"aria-controls":this.getElementId("listbox")}),!o&&{"aria-readonly":!0}),this.hasValue()?x?.action==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return o?se.createElement(g,he({},E,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:C,innerRef:this.getInputRef,isDisabled:a,isHidden:b,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:c,form:d,type:"text",value:s},M)):se.createElement(Q7,he({id:C,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:ll,onFocus:this.onInputFocus,disabled:a,tabIndex:c,inputMode:"none",form:d,value:""},M))}},{key:"renderPlaceholderOrValue",value:function(){var i=this,a=this.getComponents(),o=a.MultiValue,u=a.MultiValueContainer,s=a.MultiValueLabel,c=a.MultiValueRemove,d=a.SingleValue,f=a.Placeholder,p=this.commonProps,m=this.props,g=m.controlShouldRenderValue,v=m.isDisabled,b=m.isMulti,x=m.inputValue,E=m.placeholder,C=this.state,M=C.selectValue,y=C.focusedValue,w=C.isFocused;if(!this.hasValue()||!g)return x?null:se.createElement(f,he({},p,{key:"placeholder",isDisabled:v,isFocused:w,innerProps:{id:this.getElementId("placeholder")}}),E);if(b)return M.map(function(I,z){var F=I===y,N="".concat(i.getOptionLabel(I),"-").concat(i.getOptionValue(I));return se.createElement(o,he({},p,{components:{Container:u,Label:s,Remove:c},isFocused:F,isDisabled:v,key:N,index:z,removeProps:{onClick:function(){return i.removeValue(I)},onTouchEnd:function(){return i.removeValue(I)},onMouseDown:function(O){O.preventDefault()}},data:I}),i.formatOptionLabel(I,"value"))});if(x)return null;var k=M[0];return se.createElement(d,he({},p,{data:k,isDisabled:v}),this.formatOptionLabel(k,"value"))}},{key:"renderClearIndicator",value:function(){var i=this.getComponents(),a=i.ClearIndicator,o=this.commonProps,u=this.props,s=u.isDisabled,c=u.isLoading,d=this.state.isFocused;if(!this.isClearable()||!a||s||!this.hasValue()||c)return null;var f={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return se.createElement(a,he({},o,{innerProps:f,isFocused:d}))}},{key:"renderLoadingIndicator",value:function(){var i=this.getComponents(),a=i.LoadingIndicator,o=this.commonProps,u=this.props,s=u.isDisabled,c=u.isLoading,d=this.state.isFocused;if(!a||!c)return null;var f={"aria-hidden":"true"};return se.createElement(a,he({},o,{innerProps:f,isDisabled:s,isFocused:d}))}},{key:"renderIndicatorSeparator",value:function(){var i=this.getComponents(),a=i.DropdownIndicator,o=i.IndicatorSeparator;if(!a||!o)return null;var u=this.commonProps,s=this.props.isDisabled,c=this.state.isFocused;return se.createElement(o,he({},u,{isDisabled:s,isFocused:c}))}},{key:"renderDropdownIndicator",value:function(){var i=this.getComponents(),a=i.DropdownIndicator;if(!a)return null;var o=this.commonProps,u=this.props.isDisabled,s=this.state.isFocused,c={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return se.createElement(a,he({},o,{innerProps:c,isDisabled:u,isFocused:s}))}},{key:"renderMenu",value:function(){var i=this,a=this.getComponents(),o=a.Group,u=a.GroupHeading,s=a.Menu,c=a.MenuList,d=a.MenuPortal,f=a.LoadingMessage,p=a.NoOptionsMessage,m=a.Option,g=this.commonProps,v=this.state.focusedOption,b=this.props,x=b.captureMenuScroll,E=b.inputValue,C=b.isLoading,M=b.loadingMessage,y=b.minMenuHeight,w=b.maxMenuHeight,k=b.menuIsOpen,I=b.menuPlacement,z=b.menuPosition,F=b.menuPortalTarget,N=b.menuShouldBlockScroll,D=b.menuShouldScrollIntoView,O=b.noOptionsMessage,P=b.onMenuScrollToTop,H=b.onMenuScrollToBottom;if(!k)return null;var j=function(S,X){var le=S.type,oe=S.data,_=S.isDisabled,ne=S.isSelected,Y=S.label,we=S.value,We=v===oe,re=_?void 0:function(){return i.onOptionHover(oe)},Pe=_?void 0:function(){return i.selectOption(oe)},ot="".concat(i.getElementId("option"),"-").concat(X),st={id:ot,onClick:Pe,onMouseMove:re,onMouseOver:re,tabIndex:-1,role:"option","aria-selected":i.state.isAppleDevice?void 0:ne};return se.createElement(m,he({},g,{innerProps:st,data:oe,isDisabled:_,isSelected:ne,key:ot,label:Y,type:le,value:we,isFocused:We,innerRef:We?i.getFocusedOptionRef:void 0}),i.formatOptionLabel(S.data,"menu"))},W;if(this.hasOptions())W=this.getCategorizedOptions().map(function(U){if(U.type==="group"){var S=U.data,X=U.options,le=U.index,oe="".concat(i.getElementId("group"),"-").concat(le),_="".concat(oe,"-heading");return se.createElement(o,he({},g,{key:oe,data:S,options:X,Heading:u,headingProps:{id:_,data:U.data},label:i.formatGroupLabel(U.data)}),U.options.map(function(ne){return j(ne,"".concat(le,"-").concat(ne.index))}))}else if(U.type==="option")return j(U,"".concat(U.index))});else if(C){var V=M({inputValue:E});if(V===null)return null;W=se.createElement(f,g,V)}else{var $=O({inputValue:E});if($===null)return null;W=se.createElement(p,g,$)}var A={minMenuHeight:y,maxMenuHeight:w,menuPlacement:I,menuPosition:z,menuShouldScrollIntoView:D},Z=se.createElement(Fg,he({},g,A),function(U){var S=U.ref,X=U.placerProps,le=X.placement,oe=X.maxHeight;return se.createElement(s,he({},g,A,{innerRef:S,innerProps:{onMouseDown:i.onMenuMouseDown,onMouseMove:i.onMenuMouseMove},isLoading:C,placement:le}),se.createElement(i8,{captureEnabled:x,onTopArrive:P,onBottomArrive:H,lockEnabled:N},function(_){return se.createElement(c,he({},g,{innerRef:function(Y){i.getMenuListRef(Y),_(Y)},innerProps:{role:"listbox","aria-multiselectable":g.isMulti,id:i.getElementId("listbox")},isLoading:C,maxHeight:oe,focusedOption:v}),W)}))});return F||z==="fixed"?se.createElement(d,he({},g,{appendTo:F,controlElement:this.controlRef,menuPlacement:I,menuPosition:z}),Z):Z}},{key:"renderFormField",value:function(){var i=this,a=this.props,o=a.delimiter,u=a.isDisabled,s=a.isMulti,c=a.name,d=a.required,f=this.state.selectValue;if(d&&!this.hasValue()&&!u)return se.createElement(s8,{name:c,onFocus:this.onValueInputFocus});if(!(!c||u))if(s)if(o){var p=f.map(function(v){return i.getOptionValue(v)}).join(o);return se.createElement("input",{name:c,type:"hidden",value:p})}else{var m=f.length>0?f.map(function(v,b){return se.createElement("input",{key:"i-".concat(b),name:c,type:"hidden",value:i.getOptionValue(v)})}):se.createElement("input",{name:c,type:"hidden",value:""});return se.createElement("div",null,m)}else{var g=f[0]?this.getOptionValue(f[0]):"";return se.createElement("input",{name:c,type:"hidden",value:g})}}},{key:"renderLiveRegion",value:function(){var i=this.commonProps,a=this.state,o=a.ariaSelection,u=a.focusedOption,s=a.focusedValue,c=a.isFocused,d=a.selectValue,f=this.getFocusableOptions();return se.createElement(X7,he({},i,{id:this.getElementId("live-region"),ariaSelection:o,focusedOption:u,focusedValue:s,isFocused:c,selectValue:d,focusableOptions:f,isAppleDevice:this.state.isAppleDevice}))}},{key:"render",value:function(){var i=this.getComponents(),a=i.Control,o=i.IndicatorsContainer,u=i.SelectContainer,s=i.ValueContainer,c=this.props,d=c.className,f=c.id,p=c.isDisabled,m=c.menuIsOpen,g=this.state.isFocused,v=this.commonProps=this.getCommonProps();return se.createElement(u,he({},v,{className:d,innerProps:{id:f,onKeyDown:this.onKeyDown},isDisabled:p,isFocused:g}),this.renderLiveRegion(),se.createElement(a,he({},v,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:p,isFocused:g,menuIsOpen:m}),se.createElement(s,he({},v,{isDisabled:p}),this.renderPlaceholderOrValue(),this.renderInput()),se.createElement(o,he({},v,{isDisabled:p}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(i,a){var o=a.prevProps,u=a.clearFocusValueOnUpdate,s=a.inputIsHiddenAfterUpdate,c=a.ariaSelection,d=a.isFocused,f=a.prevWasFocused,p=a.instancePrefix,m=i.options,g=i.value,v=i.menuIsOpen,b=i.inputValue,x=i.isMulti,E=al(g),C={};if(o&&(g!==o.value||m!==o.options||v!==o.menuIsOpen||b!==o.inputValue)){var M=v?E8(i,E):[],y=v?$u(dl(i,E),"".concat(p,"-option")):[],w=u?C8(a,E):null,k=I8(a,M),I=ro(y,k);C={selectValue:E,focusedOption:k,focusedOptionId:I,focusableOptionsWithIds:y,focusedValue:w,clearFocusValueOnUpdate:!1}}var z=s!=null&&i!==o?{inputIsHidden:s,inputIsHiddenAfterUpdate:void 0}:{},F=c,N=d&&f;return d&&!N&&(F={value:$r(x,E,E[0]||null),options:E,action:"initial-input-focus"},N=!f),c?.action==="initial-input-focus"&&(F=null),pe(pe(pe({},C),z),{},{prevProps:i,ariaSelection:F,prevWasFocused:N})}}]),n}(l.Component);Qu.defaultProps=y8;var z8=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function F8(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,u=e.inputValue,s=e.menuIsOpen,c=e.onChange,d=e.onInputChange,f=e.onMenuClose,p=e.onMenuOpen,m=e.value,g=Jt(e,z8),v=l.useState(u!==void 0?u:n),b=an(v,2),x=b[0],E=b[1],C=l.useState(s!==void 0?s:i),M=an(C,2),y=M[0],w=M[1],k=l.useState(m!==void 0?m:o),I=an(k,2),z=I[0],F=I[1],N=l.useCallback(function(V,$){typeof c=="function"&&c(V,$),F(V)},[c]),D=l.useCallback(function(V,$){var A;typeof d=="function"&&(A=d(V,$)),E(A!==void 0?A:V)},[d]),O=l.useCallback(function(){typeof p=="function"&&p(),w(!0)},[p]),P=l.useCallback(function(){typeof f=="function"&&f(),w(!1)},[f]),H=u!==void 0?u:x,j=s!==void 0?s:y,W=m!==void 0?m:z;return pe(pe({},g),{},{inputValue:H,menuIsOpen:j,onChange:N,onInputChange:D,onMenuClose:P,onMenuOpen:O,value:W})}var M8=["allowCreateWhileLoading","createOptionPosition","formatCreateLabel","isValidNewOption","getNewOptionData","onCreateOption","options","onChange"],Ku=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",n=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0,i=String(t).toLowerCase(),a=String(r.getOptionValue(n)).toLowerCase(),o=String(r.getOptionLabel(n)).toLowerCase();return a===i||o===i},io={formatCreateLabel:function(t){return'Create "'.concat(t,'"')},isValidNewOption:function(t,n,r,i){return!(!t||n.some(function(a){return Ku(t,a,i)})||r.some(function(a){return Ku(t,a,i)}))},getNewOptionData:function(t,n){return{label:n,value:t,__isNew__:!0}}};function S8(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?io.formatCreateLabel:a,u=e.isValidNewOption,s=u===void 0?io.isValidNewOption:u,c=e.getNewOptionData,d=c===void 0?io.getNewOptionData:c,f=e.onCreateOption,p=e.options,m=p===void 0?[]:p,g=e.onChange,v=Jt(e,M8),b=v.getOptionValue,x=b===void 0?Vu:b,E=v.getOptionLabel,C=E===void 0?ju:E,M=v.inputValue,y=v.isLoading,w=v.isMulti,k=v.value,I=v.name,z=l.useMemo(function(){return s(M,al(k),m,{getOptionValue:x,getOptionLabel:C})?d(M,o(M)):void 0},[o,d,C,x,M,s,m,k]),F=l.useMemo(function(){return(n||!y)&&z?i==="first"?[z].concat(ar(m)):[].concat(ar(m),[z]):m},[n,i,y,z,m]),N=l.useCallback(function(D,O){if(O.action!=="select-option")return g(D,O);var P=Array.isArray(D)?D:[D];if(P[P.length-1]===z){if(f)f(M);else{var H=d(M,M),j={action:"create-option",name:I,option:H};g($r(w,[].concat(ar(al(k)),[H]),H),j)}return}g(D,O)},[d,M,w,I,z,f,g,k]);return pe(pe({},v),{},{options:F,onChange:N})}var A8=l.forwardRef(function(e,t){var n=F8(e),r=S8(n);return se.createElement(Qu,he({ref:t},r))}),N8=A8;const Ru=l.forwardRef(({id:e,label:t,placeholder:n="Select...",value:r,selectedValues:i,onChange:a,onColorChange:o,selectOptions:u,loading:s=!1,multiSelect:c=!1,disabled:d=!1,isClearable:f=!0,required:p=!1,message:m,messageType:g="default",originalCase:v=!1,wrapperClassName:b,selectClassName:x,labelClassName:E,helpText:C,size:M="medium",filterOption:y,selectProps:w,components:k,tags:I,tooltip:z},F)=>{const N=()=>{switch(M){case"small":return{height:"28px",minHeight:"28px",fontSize:"12px",padding:"2px 8px"};case"large":return{height:"40px",minHeight:"40px",fontSize:"16px",padding:"8px 12px"};default:return{height:"32px",minHeight:"32px",fontSize:"14px",padding:"4px 10px"}}},D=S=>m&&g==="error"?"rgb(253 164 155)":m&&g==="success"?"rgb(34 197 94)":m&&g==="info"?"rgb(59 130 246)":S.isFocused?"rgb(0 108 207)":"rgb(229 229 229)",O=N(),P={control:(S,X)=>({...S,borderColor:D(X),backgroundColor:X.isDisabled?"rgb(245 245 245)":"rgb(255 255 255)",borderRadius:"6px",...O,opacity:X.isDisabled?.6:1,cursor:X.isDisabled?"not-allowed":"default",boxShadow:X.isFocused?"0 0 0 2px rgba(59, 130, 246, 0.1)":"none","&:hover":{borderColor:D(X)},transition:"all 0.2s ease-in-out"}),valueContainer:S=>({...S,fontSize:O.fontSize,padding:0,height:"auto",minHeight:"20px"}),input:S=>({...S,margin:"0",padding:"0",color:"inherit"}),indicatorsContainer:S=>({...S,fontSize:O.fontSize,padding:0,height:"20px"}),option:(S,X)=>({...S,fontFamily:"Inter",fontWeight:500,fontSize:O.fontSize,lineHeight:"1.2",borderBottom:"1px solid rgb(229 229 229)",backgroundColor:X.isSelected?"rgb(59 130 246)":X.isFocused?"rgb(245 245 245)":"rgb(255 255 255)",color:X.isSelected?"white":X.isDisabled?"rgb(163 163 163)":"inherit",cursor:X.isDisabled?"not-allowed":"pointer",opacity:X.isDisabled?.6:1,"&:hover":{backgroundColor:X.isSelected?"rgb(59 130 246)":X.isDisabled?"rgb(255 255 255)":"rgb(245 245 245)"}}),singleValue:(S,X)=>({...S,fontFamily:"Inter",fontWeight:500,fontSize:O.fontSize,lineHeight:"1.25rem",display:"block",color:X.isDisabled?"rgb(163 163 163)":"inherit"}),placeholder:(S,X)=>({...S,fontFamily:"Inter",fontSize:O.fontSize,fontWeight:500,whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden",color:X.isDisabled?"rgb(163 163 163)":"rgb(115 115 115)"}),multiValue:S=>({...S,backgroundColor:"rgb(230 241 252)",border:"1px solid rgb(198 225 249)",borderRadius:"4px",fontFamily:"Inter"}),multiValueLabel:S=>({...S,color:"rgb(0 108 207)",fontSize:"12px"}),multiValueRemove:S=>({...S,color:"rgb(0 108 207)",":hover":{backgroundColor:"rgb(230 241 252)",color:"rgb(220 38 38)"}}),menu:S=>({...S,backgroundColor:"rgb(255 255 255)",border:"1px solid rgb(229 229 229)",borderRadius:"6px",boxShadow:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)"}),loadingIndicator:S=>({...S,color:"rgb(99 102 241)"}),noOptionsMessage:S=>({...S,color:"rgb(107 114 128)",fontSize:O.fontSize})},H=()=>g==="error"?"text-red-500 dark:text-red-400":g==="success"?"text-green-500 dark:text-green-400":g==="info"?"text-blue-500 dark:text-blue-400":"text-neutral-500 dark:text-neutral-400",j=()=>{switch(M){case"small":return"extra-small";case"large":return"medium";default:return"small"}},W=()=>h.jsx("div",{className:"flex items-center",children:h.jsx(rr.ChevronLeftRounded,{className:"-rotate-90 transition-transform duration-200",sx:{fontSize:M==="small"?"14px":M==="large"?"18px":"16px"}})}),V=S=>h.jsx("div",{className:"absolute top-0 left-0 h-full flex items-center dark:text-neutral-100",children:S.data.label}),$=!!i?.length,Z=f&&($||!!r),U=(S,X)=>{a(S,X),o?.(S)};return h.jsxs("div",{className:J("flex flex-col w-full",b),children:[t&&h.jsx("label",{htmlFor:e,className:J("mb-1 text-xs font-medium text-gray-600 dark:text-gray-300 inline-flex items-center gap-1",!v&&"capitalize",E),children:h.jsx("div",{className:"flex flex-wrap items-center justify-between w-full",children:h.jsx("div",{className:"inline-flex flex-wrap items-center gap-1",children:h.jsxs(ie,{variant:"medium",size:j(),appearance:"subtitle",children:[t,p&&h.jsx("span",{className:"text-red-500 ml-1",children:"*"})]})})})}),C&&h.jsx(ie,{className:"mb-2 text-neutral-600 dark:text-neutral-400",appearance:"custom",size:"extra-small",variant:"regular",children:C}),h.jsx(N8,{...w,ref:F,id:e,required:p,options:u,isClearable:Z,isLoading:s,isDisabled:d,styles:P,isMulti:c,value:c?i:r,placeholder:n,filterOption:y,onChange:U,className:J("react-select-container",x),classNamePrefix:"react-select",components:{IndicatorsContainer:W,SingleValue:V,...k},"aria-required":p,"aria-invalid":m&&g==="error"?"true":"false","aria-describedby":m||C?`${e}-description`:void 0}),h.jsx(Be.AnimatePresence,{children:m&&h.jsx(Be.motion.div,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},id:`${e}-description`,role:g==="error"?"alert":void 0,children:h.jsx(ie,{className:J("mt-1",H()),appearance:"custom",size:"extra-small",variant:"medium",children:m})})}),C&&!m&&h.jsx("div",{id:`${e}-description`,className:"sr-only",children:C})]})});Ru.displayName="CreatableSelectField";const lo=[{value:"USD",label:"United States Dollar",symbol:"$"},{value:"EUR",label:"Euro",symbol:"€"},{value:"GBP",label:"British Pound",symbol:"£"},{value:"JPY",label:"Japanese Yen",symbol:"¥"},{value:"CAD",label:"Canadian Dollar",symbol:"C$"},{value:"AUD",label:"Australian Dollar",symbol:"A$"},{value:"CHF",label:"Swiss Franc",symbol:"CHF"},{value:"CNY",label:"Chinese Yuan",symbol:"¥"},{value:"SEK",label:"Swedish Krona",symbol:"kr"},{value:"NZD",label:"New Zealand Dollar",symbol:"NZ$"}],ec={USD:"$",EUR:"€",GBP:"£",JPY:"¥",CAD:"C$",AUD:"A$",CHF:"CHF",CNY:"¥",SEK:"kr",NZD:"NZ$"},tc=l.forwardRef(({id:e,label:t,value:n,defaultValue:r,onChange:i,disabled:a=!1,required:o=!1,placeholder:u,message:s,messageType:c="default",wrapperClassName:d,inputClassName:f,labelClassName:p,helpText:m,size:g="medium",currencyCode:v="USD",allowCurrencyChange:b=!1,availableCurrencies:x,showSymbol:E=!0,formatValue:C=!0,min:M,max:y,decimalPlaces:w=2,inputProps:k,inputStyle:I},z)=>{const[F,N]=l.useState(!1),[D,O]=l.useState(v),[P,H]=l.useState(!1),j=x?lo.filter(_=>x.includes(_.value)):lo,W=()=>{switch(g){case"small":return{height:"h-7",padding:"px-2 py-1",fontSize:"text-xs",symbolPadding:"pl-8"};case"large":return{height:"h-10",padding:"px-4 py-2",fontSize:"text-base",symbolPadding:"pl-12"};default:return{height:"h-8",padding:"px-3 py-1.5",fontSize:"text-sm",symbolPadding:"pl-10"}}},V=()=>c==="error"?"border-red-300 focus:border-red-500 focus:ring-red-200 dark:focus:ring-red-400/20":c==="success"?"border-green-300 focus:border-green-500 focus:ring-green-200 dark:focus:ring-green-400/20":c==="info"?"border-blue-300 focus:border-blue-500 focus:ring-blue-200 dark:focus:ring-blue-400/20":"border-neutral-300 dark:border-neutral-600 focus:border-primary-500 dark:focus:border-primary-400 focus:ring-primary-200 dark:focus:ring-primary-400/20",$=()=>c==="error"?"text-red-500 dark:text-red-400":c==="success"?"text-green-500 dark:text-green-400":c==="info"?"text-blue-500 dark:text-blue-400":"text-neutral-500 dark:text-neutral-400",A=()=>{switch(g){case"small":return"extra-small";case"large":return"medium";default:return"small"}},Z=_=>{if(_==null)return"";const ne=Number(_);return isNaN(ne)?String(_):C?ne.toLocaleString("en-US",{minimumFractionDigits:w,maximumFractionDigits:w}):String(ne)},U=_=>{const ne=_.target.value;if(ne===""||ne===null||ne===void 0)i(null,D);else{const Y=Number(ne);isNaN(Y)||i(Y,D)}},S=_=>{O(_),H(!1),i(n??null,_)},X=()=>{N(!0)},le=()=>{N(!1)},oe=W();return l.useEffect(()=>{O(v)},[v]),h.jsxs("div",{className:J("flex flex-col w-full",d),children:[t&&h.jsx("label",{htmlFor:e,className:J("mb-1 text-xs font-medium text-gray-600 dark:text-gray-300 inline-flex items-center gap-1",p),children:h.jsx("div",{className:"flex flex-wrap items-center justify-between w-full",children:h.jsx("div",{className:"inline-flex flex-wrap items-center gap-1",children:h.jsxs(ie,{variant:"medium",size:A(),appearance:"subtitle",children:[t,o&&h.jsx("span",{className:"text-red-500 ml-1",children:"*"})]})})})}),m&&h.jsx(ie,{className:"mb-2 text-neutral-600 dark:text-neutral-400",appearance:"custom",size:"extra-small",variant:"regular",children:m}),h.jsxs("div",{className:"relative",children:[E&&h.jsx("span",{className:"absolute inset-y-0 left-0 flex items-center pl-3 text-neutral-900 dark:text-neutral-100 pointer-events-none",children:ec[D]||D}),h.jsx("input",{...k,ref:z,id:e,type:F?"number":"text",value:F?n??"":Z(n),defaultValue:r!==void 0?F?r??"":Z(r):void 0,placeholder:u,required:o,disabled:a,min:M,max:y,step:1/Math.pow(10,w),onFocus:X,onBlur:le,onChange:U,className:J("border rounded-md bg-white dark:bg-neutral-800 block w-full font-medium text-neutral-900 dark:text-neutral-100","transition-colors duration-200 ease-in-out focus:outline-none focus:ring-2",oe.height,oe.padding,oe.fontSize,E?oe.symbolPadding:"",V(),b?"pr-20":"",a&&"opacity-50 cursor-not-allowed bg-neutral-50 dark:bg-neutral-700",f),style:I,"aria-required":o,"aria-invalid":s&&c==="error"?"true":"false","aria-describedby":s||m?`${e}-description`:void 0}),b&&h.jsx("div",{className:"absolute inset-y-0 right-0 flex items-center",children:h.jsxs("div",{className:"relative",children:[h.jsxs("button",{type:"button",onClick:()=>H(!P),disabled:a,className:J("px-3 py-1 text-sm text-gray-700 dark:text-gray-300 hover:bg-gray-50 dark:hover:bg-gray-700 rounded-r-md border-l border-gray-300 dark:border-gray-600 transition-colors",a&&"opacity-50 cursor-not-allowed"),children:[D,h.jsx("svg",{className:"w-4 h-4 ml-1 inline-block",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:h.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})]}),P&&h.jsx("div",{className:"absolute top-full right-0 mt-1 w-64 bg-white dark:bg-gray-800 border border-gray-300 dark:border-gray-600 rounded-md shadow-lg z-50 max-h-60 overflow-y-auto",children:j.map(_=>h.jsxs("button",{type:"button",onClick:()=>S(_.value),className:"w-full px-4 py-2 text-left text-sm text-gray-700 dark:text-gray-300 hover:bg-gray-50 dark:hover:bg-gray-700 flex justify-between items-center",children:[h.jsxs("span",{children:[_.value," - ",_.label]}),h.jsx("span",{className:"text-gray-500",children:_.symbol})]},_.value))})]})}),P&&h.jsx("div",{className:"fixed inset-0 z-40",onClick:()=>H(!1)})]}),h.jsx(Be.AnimatePresence,{children:s&&h.jsx(Be.motion.div,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},id:`${e}-description`,role:c==="error"?"alert":void 0,children:h.jsx(ie,{className:J("mt-1",$()),appearance:"custom",size:"extra-small",variant:"medium",children:s})})}),m&&!s&&h.jsx("div",{id:`${e}-description`,className:"sr-only",children:m})]})});tc.displayName="CurrencyInputField";const nc=l.forwardRef(({id:e,label:t,value:n,defaultValue:r,onChange:i,disabled:a=!1,required:o=!1,message:u,messageType:s="default",wrapperClassName:c,inputClassName:d,labelClassName:f,helpText:p,size:m="medium",minDate:g,maxDate:v,startPlaceholder:b="Start date",endPlaceholder:x="End date",allowClear:E=!0,inputProps:C},M)=>{const y=n!==void 0?n:r||{startDate:null,endDate:null},w=()=>{switch(m){case"small":return{height:"h-7",padding:"px-2 py-1",fontSize:"text-xs"};case"large":return{height:"h-10",padding:"px-4 py-2",fontSize:"text-base"};default:return{height:"h-8",padding:"px-3 py-1.5",fontSize:"text-sm"}}},k=()=>s==="error"?"border-red-300 focus:border-red-500 focus:ring-red-200 dark:focus:ring-red-400/20":s==="success"?"border-green-300 focus:border-green-500 focus:ring-green-200 dark:focus:ring-green-400/20":s==="info"?"border-blue-300 focus:border-blue-500 focus:ring-blue-200 dark:focus:ring-blue-400/20":"border-neutral-300 dark:border-neutral-600 focus:border-primary-500 dark:focus:border-primary-400 focus:ring-primary-200 dark:focus:ring-primary-400/20",I=()=>s==="error"?"text-red-500 dark:text-red-400":s==="success"?"text-green-500 dark:text-green-400":s==="info"?"text-blue-500 dark:text-blue-400":"text-neutral-500 dark:text-neutral-400",z=()=>{switch(m){case"small":return"extra-small";case"large":return"medium";default:return"small"}},F=W=>{if(!W)return"";const V=W.getFullYear(),$=String(W.getMonth()+1).padStart(2,"0"),A=String(W.getDate()).padStart(2,"0");return`${V}-${$}-${A}`},N=W=>{if(!W)return null;const V=new Date(W);return isNaN(V.getTime())?null:V},D=W=>{const V=N(W.target.value);i({startDate:V,endDate:y.endDate})},O=W=>{const V=N(W.target.value);i({startDate:y.startDate,endDate:V})},P=()=>{i({startDate:null,endDate:null})},H=W=>W?F(W):void 0,j=w();return h.jsxs("div",{className:J("flex flex-col w-full",c),ref:M,children:[t&&h.jsx("label",{htmlFor:`${e}-start`,className:J("mb-1 text-xs font-medium text-gray-600 dark:text-gray-300 inline-flex items-center gap-1",f),children:h.jsx("div",{className:"flex flex-wrap items-center justify-between w-full",children:h.jsx("div",{className:"inline-flex flex-wrap items-center gap-1",children:h.jsxs(ie,{variant:"medium",size:z(),appearance:"subtitle",children:[t,o&&h.jsx("span",{className:"text-red-500 ml-1",children:"*"})]})})})}),p&&h.jsx(ie,{className:"mb-2 text-neutral-600 dark:text-neutral-400",appearance:"custom",size:"extra-small",variant:"regular",children:p}),h.jsxs("div",{className:"flex items-center gap-2",children:[h.jsx("div",{className:"flex-1",children:h.jsx("input",{...C,id:`${e}-start`,type:"date",value:F(y.startDate),onChange:D,disabled:a,required:o,min:H(g),max:H(v),placeholder:b,className:J("border rounded-md bg-white dark:bg-neutral-800 block w-full font-medium text-neutral-900 dark:text-neutral-100","transition-colors duration-200 ease-in-out focus:outline-none focus:ring-2",j.height,j.padding,j.fontSize,k(),a&&"opacity-50 cursor-not-allowed bg-neutral-50 dark:bg-neutral-700",d),"aria-required":o,"aria-invalid":u&&s==="error"?"true":"false","aria-describedby":u||p?`${e}-description`:void 0})}),h.jsx("div",{className:"flex-shrink-0 text-neutral-500 dark:text-neutral-400",children:h.jsx("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:h.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M18 12H6"})})}),h.jsx("div",{className:"flex-1",children:h.jsx("input",{...C,id:`${e}-end`,type:"date",value:F(y.endDate),onChange:O,disabled:a,required:o,min:H(y.startDate||g),max:H(v),placeholder:x,className:J("border rounded-md bg-white dark:bg-neutral-800 block w-full font-medium text-neutral-900 dark:text-neutral-100","transition-colors duration-200 ease-in-out focus:outline-none focus:ring-2",j.height,j.padding,j.fontSize,k(),a&&"opacity-50 cursor-not-allowed bg-neutral-50 dark:bg-neutral-700",d),"aria-required":o,"aria-invalid":u&&s==="error"?"true":"false","aria-describedby":u||p?`${e}-description`:void 0})}),E&&(y.startDate||y.endDate)&&!a&&h.jsx("button",{type:"button",onClick:P,className:"flex-shrink-0 p-1 text-neutral-500 hover:text-neutral-700 dark:text-neutral-400 dark:hover:text-neutral-200 transition-colors","aria-label":"Clear date range",children:h.jsx("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:h.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]}),h.jsx("div",{className:"absolute right-3 top-1/2 transform -translate-y-1/2 pointer-events-none text-neutral-400 dark:text-neutral-500",children:h.jsx("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:h.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"})})}),h.jsx(Be.AnimatePresence,{children:u&&h.jsx(Be.motion.div,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},id:`${e}-description`,role:s==="error"?"alert":void 0,children:h.jsx(ie,{className:J("mt-1",I()),appearance:"custom",size:"extra-small",variant:"medium",children:u})})}),p&&!u&&h.jsx("div",{id:`${e}-description`,className:"sr-only",children:p})]})});nc.displayName="DateRange";const rc=l.forwardRef(({id:e,label:t,value:n,defaultValue:r,onChange:i,onImmediateChange:a,disabled:o=!1,required:u=!1,placeholder:s,message:c,messageType:d="default",wrapperClassName:f,inputClassName:p,labelClassName:m,helpText:g,size:v="medium",type:b="text",debounceTimeout:x=300,min:E,max:C,maxLength:M,pattern:y,inputProps:w,inputStyle:k,onKeyDown:I,onFocus:z,onBlur:F},N)=>{const[D,O]=l.useState(n||r||""),[P,H]=l.useState(n||r||""),j=()=>{switch(v){case"small":return{height:"h-7",padding:"px-2 py-1",fontSize:"text-xs"};case"large":return{height:"h-10",padding:"px-4 py-2",fontSize:"text-base"};default:return{height:"h-8",padding:"px-3 py-1.5",fontSize:"text-sm"}}},W=()=>d==="error"?"border-red-300 focus:border-red-500 focus:ring-red-200 dark:focus:ring-red-400/20":d==="success"?"border-green-300 focus:border-green-500 focus:ring-green-200 dark:focus:ring-green-400/20":d==="info"?"border-blue-300 focus:border-blue-500 focus:ring-blue-200 dark:focus:ring-blue-400/20":"border-neutral-300 dark:border-neutral-600 focus:border-primary-500 dark:focus:border-primary-400 focus:ring-primary-200 dark:focus:ring-primary-400/20",V=()=>d==="error"?"text-red-500 dark:text-red-400":d==="success"?"text-green-500 dark:text-green-400":d==="info"?"text-blue-500 dark:text-blue-400":"text-neutral-500 dark:text-neutral-400",$=()=>{switch(v){case"small":return"extra-small";case"large":return"medium";default:return"small"}};l.useEffect(()=>{const U=setTimeout(()=>{P!==D&&(H(D),i(D))},x);return()=>clearTimeout(U)},[D,x,i,P]),l.useEffect(()=>{n!==void 0&&n!==D&&(O(n),H(n))},[n,D]);const A=l.useCallback(U=>{const S=U.target.value;O(S),a?.(S)},[a]),Z=j();return h.jsxs("div",{className:J("flex flex-col w-full",f),children:[t&&h.jsx("label",{htmlFor:e,className:J("mb-1 text-xs font-medium text-gray-600 dark:text-gray-300 inline-flex items-center gap-1",m),children:h.jsx("div",{className:"flex flex-wrap items-center justify-between w-full",children:h.jsx("div",{className:"inline-flex flex-wrap items-center gap-1",children:h.jsxs(ie,{variant:"medium",size:$(),appearance:"subtitle",children:[t,u&&h.jsx("span",{className:"text-red-500 ml-1",children:"*"})]})})})}),g&&h.jsx(ie,{className:"mb-2 text-neutral-600 dark:text-neutral-400",appearance:"custom",size:"extra-small",variant:"regular",children:g}),h.jsxs("div",{className:"relative",children:[h.jsx("input",{...w,ref:N,id:e,type:b,value:D,defaultValue:r,placeholder:s,required:u,disabled:o,min:E,max:C,maxLength:M,pattern:y,onChange:A,onKeyDown:I,onFocus:z,onBlur:F,className:J("border rounded-md bg-white dark:bg-neutral-800 block w-full font-medium text-neutral-900 dark:text-neutral-100","transition-colors duration-200 ease-in-out focus:outline-none focus:ring-2",Z.height,Z.padding,Z.fontSize,W(),o&&"opacity-50 cursor-not-allowed bg-neutral-50 dark:bg-neutral-700",p),style:k,"aria-required":u,"aria-invalid":c&&d==="error"?"true":"false","aria-describedby":c||g?`${e}-description`:void 0}),D!==P&&h.jsx("div",{className:"absolute right-2 top-1/2 transform -translate-y-1/2",children:h.jsx("div",{className:"w-2 h-2 bg-blue-500 rounded-full animate-pulse"})})]}),M&&h.jsx("div",{className:"mt-1 text-right",children:h.jsxs(ie,{className:J("text-xs",D.length>M*.9?"text-orange-500":D.length===M?"text-red-500":"text-neutral-400 dark:text-neutral-500"),appearance:"custom",size:"extra-small",children:[D.length,"/",M]})}),h.jsx(Be.AnimatePresence,{children:c&&h.jsx(Be.motion.div,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},id:`${e}-description`,role:d==="error"?"alert":void 0,children:h.jsx(ie,{className:J("mt-1",V()),appearance:"custom",size:"extra-small",variant:"medium",children:c})})}),g&&!c&&h.jsx("div",{id:`${e}-description`,className:"sr-only",children:g})]})});rc.displayName="DebounceInputField";const ic=l.forwardRef(({id:e,label:t,value:n,defaultValue:r,onChange:i,disabled:a=!1,required:o=!1,placeholder:u,message:s,messageType:c="default",wrapperClassName:d,inputClassName:f,labelClassName:p,helpText:m,size:g="medium",min:v=0,max:b=100,step:x=.01,decimalPlaces:E=2,showSymbol:C=!0,allowNegative:M=!1,inputProps:y,inputStyle:w,onKeyDown:k,onFocus:I,onBlur:z},F)=>{const N=()=>{switch(g){case"small":return{height:"h-7",padding:"px-2 py-1",fontSize:"text-xs",symbolPadding:"pr-8"};case"large":return{height:"h-10",padding:"px-4 py-2",fontSize:"text-base",symbolPadding:"pr-10"};default:return{height:"h-8",padding:"px-3 py-1.5",fontSize:"text-sm",symbolPadding:"pr-9"}}},D=()=>c==="error"?"border-red-300 focus:border-red-500 focus:ring-red-200 dark:focus:ring-red-400/20":c==="success"?"border-green-300 focus:border-green-500 focus:ring-green-200 dark:focus:ring-green-400/20":c==="info"?"border-blue-300 focus:border-blue-500 focus:ring-blue-200 dark:focus:ring-blue-400/20":"border-neutral-300 dark:border-neutral-600 focus:border-primary-500 dark:focus:border-primary-400 focus:ring-primary-200 dark:focus:ring-primary-400/20",O=()=>c==="error"?"text-red-500 dark:text-red-400":c==="success"?"text-green-500 dark:text-green-400":c==="info"?"text-blue-500 dark:text-blue-400":"text-neutral-500 dark:text-neutral-400",P=()=>{switch(g){case"small":return"extra-small";case"large":return"medium";default:return"small"}},H=$=>{const A=$.target.value;if(A===""||A===null||A===void 0)i(null);else{const Z=Number(A);if(!isNaN(Z)){let U=Z;!M&&U<0&&(U=0),v!==void 0&&U<v&&(U=v),b!==void 0&&U>b&&(U=b);const S=Math.pow(10,E);U=Math.round(U*S)/S,i(U)}}},j=$=>{I?.($)},W=$=>{z?.($)},V=N();return h.jsxs("div",{className:J("flex flex-col w-full",d),children:[t&&h.jsx("label",{htmlFor:e,className:J("mb-1 text-xs font-medium text-gray-600 dark:text-gray-300 inline-flex items-center gap-1",p),children:h.jsx("div",{className:"flex flex-wrap items-center justify-between w-full",children:h.jsx("div",{className:"inline-flex flex-wrap items-center gap-1",children:h.jsxs(ie,{variant:"medium",size:P(),appearance:"subtitle",children:[t,o&&h.jsx("span",{className:"text-red-500 ml-1",children:"*"})]})})})}),m&&h.jsx(ie,{className:"mb-2 text-neutral-600 dark:text-neutral-400",appearance:"custom",size:"extra-small",variant:"regular",children:m}),h.jsxs("div",{className:"relative",children:[h.jsx("input",{...y,ref:F,id:e,type:"number",value:n??"",defaultValue:r??"",placeholder:u,required:o,disabled:a,min:M?void 0:v,max:b,step:x,onChange:H,onKeyDown:k,onFocus:j,onBlur:W,className:J("border rounded-md bg-white dark:bg-neutral-800 block w-full font-medium text-neutral-900 dark:text-neutral-100","transition-colors duration-200 ease-in-out focus:outline-none focus:ring-2",V.height,V.padding,V.fontSize,C?V.symbolPadding:"",D(),a&&"opacity-50 cursor-not-allowed bg-neutral-50 dark:bg-neutral-700",f),style:w,"aria-required":o,"aria-invalid":s&&c==="error"?"true":"false","aria-describedby":s||m?`${e}-description`:void 0}),C&&h.jsx("span",{className:"absolute inset-y-0 right-0 flex items-center pr-3 text-neutral-900 dark:text-neutral-100 pointer-events-none",children:"%"})]}),n!=null&&h.jsxs("div",{className:"mt-1 flex justify-between items-center text-xs",children:[h.jsxs("div",{className:"flex items-center gap-2",children:[n<v&&h.jsxs("span",{className:"text-orange-500",children:["Below minimum (",v,"%)"]}),n>b&&h.jsxs("span",{className:"text-orange-500",children:["Above maximum (",b,"%)"]}),n>=v&&n<=b&&h.jsx("span",{className:"text-green-500",children:"Valid range"})]}),h.jsxs("span",{className:"text-neutral-400 dark:text-neutral-500",children:[n.toFixed(E),"%"]})]}),h.jsx(Be.AnimatePresence,{children:s&&h.jsx(Be.motion.div,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},id:`${e}-description`,role:c==="error"?"alert":void 0,children:h.jsx(ie,{className:J("mt-1",O()),appearance:"custom",size:"extra-small",variant:"medium",children:s})})}),m&&!s&&h.jsx("div",{id:`${e}-description`,className:"sr-only",children:m})]})});ic.displayName="PercentageInputField";var dr=(e=>(e.LEFT="left",e.RIGHT="right",e.TOP="top",e))(dr||{});const H8=(e,t,n,r,i="medium")=>{const a={small:"w-7 h-4 after:h-3 after:w-3 after:top-0.5 after:left-0.5",medium:"w-9 h-5 after:h-4 after:w-4 after:top-0.5 after:left-0.5",large:"w-11 h-6 after:h-5 after:w-5 after:top-0.5 after:left-0.5"},o={small:"peer-checked:after:translate-x-3",medium:"peer-checked:after:translate-x-full",large:"peer-checked:after:translate-x-5"};return J("p-0.5 rounded-full peer after:content-[''] after:absolute after:rounded-full after:transition-all bg-gray-200",a[i],o[i],{"dark:bg-black-400 dark:peer-focus:ring-primary-800 dark:after:bg-black-500":n==="secondary"&&!e,"dark:bg-black-500 dark:peer-focus:ring-primary-800 dark:after:bg-black-700":n==="primary"&&!e,"peer-checked:bg-primary-600 dark:peer-checked:bg-primary-900 peer-checked:after:translate-x-full after:bg-white dark:after:bg-primary-500":e,"after:bg-white dark:after:bg-black-700":!e,"text-white dark:text-black-900":t,"cursor-not-allowed opacity-70":r})},B8=({size:e=18,fill:t="#016DCF"})=>h.jsx("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"none",children:h.jsx("path",{d:"M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z",fill:t})}),D8=({size:e=18,fill:t="#101828"})=>h.jsx("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"none",children:h.jsx("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z",fill:t})}),ao=l.forwardRef(({isGTN:e=!1,isChecked:t,id:n,onChange:r,label:i,required:a,isRequiredConditional:o=!1,originalCase:u=!1,hideStatus:s=!1,labelDirection:c=dr.TOP,statusText:d,withIcon:f=!1,tags:p,isAiExtracted:m=!1,tooltip:g="",className:v="",isDisabled:b=!1,icon:x,stopClickPropagation:E=!0,gtnName:C,variant:M="primary",labelClassName:y,isLiveField:w=!1,message:k,messageType:I="default",wrapperClassName:z,helpText:F,size:N="medium",renderAiExtractedIndicator:D,renderLabels:O,renderRequired:P,renderTooltip:H,renderLiveFieldIcon:j,renderGTNAddButton:W,onAddGTNToDocument:V},$)=>{const A=c===dr.TOP,Z=c===dr.LEFT,U=c===dr.RIGHT,[S,X]=l.useState(!1),le=()=>{V&&V({key:C,value:t?"Yes":"No"})},oe=()=>I==="error"?"text-red-500 dark:text-red-400":I==="success"?"text-green-500 dark:text-green-400":I==="info"?"text-primary-500 dark:text-primary-400":"text-neutral-500 dark:text-neutral-400",_=Y=>h.jsx("span",{className:`ml-0.5 ${Y?"text-yellow-500":"text-red-500"}`,children:"*"}),ne=Y=>!Y||Y.length===0?null:h.jsx("span",{className:"inline-flex gap-1 ml-1",children:Y.map((we,We)=>{const re=typeof we=="string"?we:we.label,Pe=typeof we=="string"?void 0:we.color;return h.jsx("span",{className:"px-1.5 py-0.5 text-xs rounded bg-gray-100 dark:bg-gray-700 text-gray-600 dark:text-gray-300",style:Pe?{backgroundColor:Pe}:void 0,children:re},We)})});return h.jsxs("div",{className:J("flex gap-0.5",S&&e?"border rounded-lg border-primary-100 bg-primary-50 p-1":"",z),onMouseEnter:()=>X(!0),onMouseLeave:()=>X(!1),onClick:Y=>{E&&Y.stopPropagation()},children:[e&&!S?h.jsx("div",{className:"w-1 h-1 bg-primary-600 rounded-full animate-pulse mt-1.5"}):null,h.jsxs("div",{className:"w-full flex flex-col",children:[A&&i&&h.jsxs("div",{className:"w-full flex justify-between flex-wrap",children:[h.jsxs("h1",{className:J("mb-1 font-inter text-neutral-600 font-medium text-xs flex items-center gap-0.5 flex-wrap",y),children:[h.jsxs(ie,{size:"extra-small",variant:"medium",className:u?"":"capitalize",appearance:"subtitle",children:[i,a&&(P?P(o):_(o))]}),w&&j&&j(),m&&D&&D(),O?O(p):ne(p),g&&H&&H(g)]}),e&&S&&W?W(le):null]}),F&&h.jsx(ie,{className:"mb-2 text-neutral-600 dark:text-neutral-400",appearance:"custom",size:"extra-small",variant:"regular",children:F}),h.jsxs("div",{className:"flex",children:[Z&&h.jsx(ie,{size:"small",variant:"medium",className:J("mr-2 text-neutral-700 dark:text-black-200",y),appearance:"custom",children:i}),h.jsxs("label",{className:J("relative inline-flex items-center",U||d?"":"w-min",b?"cursor-not-allowed opacity-50":"cursor-pointer"),onClick:Y=>Y.stopPropagation(),children:[h.jsx("input",{ref:$,type:"checkbox",id:n,onChange:Y=>!b&&r(Y.target.checked),value:"",disabled:b,checked:t,className:J("sr-only peer w-full",v),"aria-required":a,"aria-invalid":k&&I==="error"?"true":"false","aria-describedby":k||F?`${n}-description`:void 0}),h.jsx("div",{className:H8(t,f,M,b,N),children:f?h.jsx("div",{className:"flex items-center justify-center h-full",children:h.jsx("div",{className:J("z-10 transition-all transform",N==="small"&&(t?"translate-x-2":"translate-x-[-6px]"),N==="medium"&&(t?"translate-x-[8.5px]":"translate-x-[-8px]"),N==="large"&&(t?"translate-x-2.5":"translate-x-[-10px]")),children:t?x?.checkedIcon?x.checkedIcon:h.jsx(B8,{size:18,fill:"#016DCF"}):x?.uncheckedIcon?x.uncheckedIcon:h.jsx(D8,{size:18,fill:"#101828"})})}):null}),U&&h.jsx(ie,{size:"small",variant:"medium",className:J("ml-2 text-neutral-700 dark:text-black-300",y),appearance:"custom",children:i}),s?null:h.jsx(ie,{size:"small",variant:"medium",className:"ml-2 text-neutral-900 dark:text-black-100",appearance:"custom",children:d||(t?"Yes":"No")})]})]}),h.jsx(Be.AnimatePresence,{children:k&&h.jsx(Be.motion.div,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},id:`${n}-description`,role:I==="error"?"alert":void 0,children:h.jsx(ie,{className:J("mt-1",oe()),appearance:"custom",size:"extra-small",variant:"medium",children:k})})}),F&&!k&&h.jsx("div",{id:`${n}-description`,className:"sr-only",children:F})]})]})});ao.displayName="Toggle";function rL(){}function iL(){}function L8(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const T8=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,P8=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,O8={};function lc(e,t){return(O8.jsx?P8:T8).test(e)}const j8=/[ \t\n\f\r]/g;function V8(e){return typeof e=="object"?e.type==="text"?ac(e.value):!1:ac(e)}function ac(e){return e.replace(j8,"")===""}class Ur{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}}Ur.prototype.normal={},Ur.prototype.property={},Ur.prototype.space=void 0;function oc(e,t){const n={},r={};for(const i of e)Object.assign(n,i.property),Object.assign(r,i.normal);return new Ur(n,r,t)}function oo(e){return e.toLowerCase()}class pt{constructor(t,n){this.attribute=n,this.property=t}}pt.prototype.attribute="",pt.prototype.booleanish=!1,pt.prototype.boolean=!1,pt.prototype.commaOrSpaceSeparated=!1,pt.prototype.commaSeparated=!1,pt.prototype.defined=!1,pt.prototype.mustUseProperty=!1,pt.prototype.number=!1,pt.prototype.overloadedBoolean=!1,pt.prototype.property="",pt.prototype.spaceSeparated=!1,pt.prototype.space=void 0;let G8=0;const Ee=Wn(),Ye=Wn(),so=Wn(),R=Wn(),Ge=Wn(),fr=Wn(),Ct=Wn();function Wn(){return 2**++G8}const uo=Object.freeze(Object.defineProperty({__proto__:null,boolean:Ee,booleanish:Ye,commaOrSpaceSeparated:Ct,commaSeparated:fr,number:R,overloadedBoolean:so,spaceSeparated:Ge},Symbol.toStringTag,{value:"Module"})),co=Object.keys(uo);class fo extends pt{constructor(t,n,r,i){let a=-1;if(super(t,n),sc(this,"space",i),typeof r=="number")for(;++a<co.length;){const o=co[a];sc(this,co[a],(r&uo[o])===uo[o])}}}fo.prototype.defined=!0;function sc(e,t,n){n&&(e[t]=n)}function hr(e){const t={},n={};for(const[r,i]of Object.entries(e.properties)){const a=new fo(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(a.mustUseProperty=!0),t[r]=a,n[oo(r)]=r,n[oo(a.attribute)]=r}return new Ur(t,n,e.space)}const uc=hr({properties:{ariaActiveDescendant:null,ariaAtomic:Ye,ariaAutoComplete:null,ariaBusy:Ye,ariaChecked:Ye,ariaColCount:R,ariaColIndex:R,ariaColSpan:R,ariaControls:Ge,ariaCurrent:null,ariaDescribedBy:Ge,ariaDetails:null,ariaDisabled:Ye,ariaDropEffect:Ge,ariaErrorMessage:null,ariaExpanded:Ye,ariaFlowTo:Ge,ariaGrabbed:Ye,ariaHasPopup:null,ariaHidden:Ye,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Ge,ariaLevel:R,ariaLive:null,ariaModal:Ye,ariaMultiLine:Ye,ariaMultiSelectable:Ye,ariaOrientation:null,ariaOwns:Ge,ariaPlaceholder:null,ariaPosInSet:R,ariaPressed:Ye,ariaReadOnly:Ye,ariaRelevant:null,ariaRequired:Ye,ariaRoleDescription:Ge,ariaRowCount:R,ariaRowIndex:R,ariaRowSpan:R,ariaSelected:Ye,ariaSetSize:R,ariaSort:null,ariaValueMax:R,ariaValueMin:R,ariaValueNow:R,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function cc(e,t){return t in e?e[t]:t}function dc(e,t){return cc(e,t.toLowerCase())}const _8=hr({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:fr,acceptCharset:Ge,accessKey:Ge,action:null,allow:null,allowFullScreen:Ee,allowPaymentRequest:Ee,allowUserMedia:Ee,alt:null,as:null,async:Ee,autoCapitalize:null,autoComplete:Ge,autoFocus:Ee,autoPlay:Ee,blocking:Ge,capture:null,charSet:null,checked:Ee,cite:null,className:Ge,cols:R,colSpan:null,content:null,contentEditable:Ye,controls:Ee,controlsList:Ge,coords:R|fr,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Ee,defer:Ee,dir:null,dirName:null,disabled:Ee,download:so,draggable:Ye,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Ee,formTarget:null,headers:Ge,height:R,hidden:so,high:R,href:null,hrefLang:null,htmlFor:Ge,httpEquiv:Ge,id:null,imageSizes:null,imageSrcSet:null,inert:Ee,inputMode:null,integrity:null,is:null,isMap:Ee,itemId:null,itemProp:Ge,itemRef:Ge,itemScope:Ee,itemType:Ge,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Ee,low:R,manifest:null,max:null,maxLength:R,media:null,method:null,min:null,minLength:R,multiple:Ee,muted:Ee,name:null,nonce:null,noModule:Ee,noValidate:Ee,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Ee,optimum:R,pattern:null,ping:Ge,placeholder:null,playsInline:Ee,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Ee,referrerPolicy:null,rel:Ge,required:Ee,reversed:Ee,rows:R,rowSpan:R,sandbox:Ge,scope:null,scoped:Ee,seamless:Ee,selected:Ee,shadowRootClonable:Ee,shadowRootDelegatesFocus:Ee,shadowRootMode:null,shape:null,size:R,sizes:null,slot:null,span:R,spellCheck:Ye,src:null,srcDoc:null,srcLang:null,srcSet:null,start:R,step:null,style:null,tabIndex:R,target:null,title:null,translate:null,type:null,typeMustMatch:Ee,useMap:null,value:Ye,width:R,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Ge,axis:null,background:null,bgColor:null,border:R,borderColor:null,bottomMargin:R,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Ee,declare:Ee,event:null,face:null,frame:null,frameBorder:null,hSpace:R,leftMargin:R,link:null,longDesc:null,lowSrc:null,marginHeight:R,marginWidth:R,noResize:Ee,noHref:Ee,noShade:Ee,noWrap:Ee,object:null,profile:null,prompt:null,rev:null,rightMargin:R,rules:null,scheme:null,scrolling:Ye,standby:null,summary:null,text:null,topMargin:R,valueType:null,version:null,vAlign:null,vLink:null,vSpace:R,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Ee,disableRemotePlayback:Ee,prefix:null,property:null,results:R,security:null,unselectable:null},space:"html",transform:dc}),W8=hr({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:Ct,accentHeight:R,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:R,amplitude:R,arabicForm:null,ascent:R,attributeName:null,attributeType:null,azimuth:R,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:R,by:null,calcMode:null,capHeight:R,className:Ge,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:R,diffuseConstant:R,direction:null,display:null,dur:null,divisor:R,dominantBaseline:null,download:Ee,dx:null,dy:null,edgeMode:null,editable:null,elevation:R,enableBackground:null,end:null,event:null,exponent:R,externalResourcesRequired:null,fill:null,fillOpacity:R,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:fr,g2:fr,glyphName:fr,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:R,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:R,horizOriginX:R,horizOriginY:R,id:null,ideographic:R,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:R,k:R,k1:R,k2:R,k3:R,k4:R,kernelMatrix:Ct,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:R,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:R,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:R,overlineThickness:R,paintOrder:null,panose1:null,path:null,pathLength:R,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Ge,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:R,pointsAtY:R,pointsAtZ:R,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Ct,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Ct,rev:Ct,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Ct,requiredFeatures:Ct,requiredFonts:Ct,requiredFormats:Ct,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:R,specularExponent:R,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:R,strikethroughThickness:R,string:null,stroke:null,strokeDashArray:Ct,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:R,strokeOpacity:R,strokeWidth:null,style:null,surfaceScale:R,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Ct,tabIndex:R,tableValues:null,target:null,targetX:R,targetY:R,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Ct,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:R,underlineThickness:R,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:R,values:null,vAlphabetic:R,vMathematical:R,vectorEffect:null,vHanging:R,vIdeographic:R,version:null,vertAdvY:R,vertOriginX:R,vertOriginY:R,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:R,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:cc}),fc=hr({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),hc=hr({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:dc}),mc=hr({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),$8={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},X8=/[A-Z]/g,pc=/-[a-z]/g,U8=/^data[-\w.:]+$/i;function J8(e,t){const n=oo(t);let r=t,i=pt;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&U8.test(t)){if(t.charAt(4)==="-"){const a=t.slice(5).replace(pc,Y8);r="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{const a=t.slice(4);if(!pc.test(a)){let o=a.replace(X8,Z8);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}i=fo}return new i(r,t)}function Z8(e){return"-"+e.toLowerCase()}function Y8(e){return e.charAt(1).toUpperCase()}const q8=oc([uc,_8,fc,hc,mc],"html"),ho=oc([uc,W8,fc,hc,mc],"svg");function Q8(e){return e.join(" ").trim()}var mr={},mo,gc;function K8(){if(gc)return mo;gc=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,n=/^\s*/,r=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,o=/^[;\s]*/,u=/^\s+|\s+$/g,s=`
|
|
68
|
+
`]))),t7=function(t,n){var r=t.isFocused,i=t.size,a=t.theme,o=a.colors,u=a.spacing.baseUnit;return pe({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:i,lineHeight:1,marginRight:i,textAlign:"center",verticalAlign:"middle"},n?{}:{color:r?o.neutral60:o.neutral20,padding:u*2})},qa=function(t){var n=t.delay,r=t.offset;return me("span",{css:Wa({animation:"".concat(e7," 1s ease-in-out ").concat(n,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:r?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},process.env.NODE_ENV==="production"?"":";label:LoadingDot;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vL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Bpc0Rpc2FibGVkOiBib29sZWFuO1xuICAvKiogU2V0IHNpemUgb2YgdGhlIGNvbnRhaW5lci4gKi9cbiAgc2l6ZTogbnVtYmVyO1xufVxuZXhwb3J0IGNvbnN0IExvYWRpbmdJbmRpY2F0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */")})},n7=function(t){var n=t.innerProps,r=t.isRtl,i=t.size,a=i===void 0?4:i,o=Jt(t,Xg);return me("div",he({},$e(pe(pe({},o),{},{innerProps:n,isRtl:r,size:a}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),n),me(qa,{delay:0,offset:r}),me(qa,{delay:160,offset:!0}),me(qa,{delay:320,offset:!r}))},r7=function(t,n){var r=t.isDisabled,i=t.isFocused,a=t.theme,o=a.colors,u=a.borderRadius,s=a.spacing;return pe({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:s.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},n?{}:{backgroundColor:r?o.neutral5:o.neutral0,borderColor:r?o.neutral10:i?o.primary:o.neutral20,borderRadius:u,borderStyle:"solid",borderWidth:1,boxShadow:i?"0 0 0 1px ".concat(o.primary):void 0,"&:hover":{borderColor:i?o.primary:o.neutral30}})},i7=function(t){var n=t.children,r=t.isDisabled,i=t.isFocused,a=t.innerRef,o=t.innerProps,u=t.menuIsOpen;return me("div",he({ref:a},$e(t,"control",{control:!0,"control--is-disabled":r,"control--is-focused":i,"control--menu-is-open":u}),o,{"aria-disabled":r||void 0}),n)},l7=i7,a7=["data"],o7=function(t,n){var r=t.theme.spacing;return n?{}:{paddingBottom:r.baseUnit*2,paddingTop:r.baseUnit*2}},s7=function(t){var n=t.children,r=t.cx,i=t.getStyles,a=t.getClassNames,o=t.Heading,u=t.headingProps,s=t.innerProps,c=t.label,d=t.theme,f=t.selectProps;return me("div",he({},$e(t,"group",{group:!0}),s),me(o,he({},u,{selectProps:f,theme:d,getStyles:i,getClassNames:a,cx:r}),c),me("div",null,n))},u7=function(t,n){var r=t.theme,i=r.colors,a=r.spacing;return pe({label:"group",cursor:"default",display:"block"},n?{}:{color:i.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:a.baseUnit*3,paddingRight:a.baseUnit*3,textTransform:"uppercase"})},c7=function(t){var n=fu(t);n.data;var r=Jt(n,a7);return me("div",he({},$e(t,"groupHeading",{"group-heading":!0}),r))},d7=s7,f7=["innerRef","isDisabled","isHidden","inputClassName"],h7=function(t,n){var r=t.isDisabled,i=t.value,a=t.theme,o=a.spacing,u=a.colors;return pe(pe({visibility:r?"hidden":"visible",transform:i?"translateZ(0)":""},m7),n?{}:{margin:o.baseUnit/2,paddingBottom:o.baseUnit/2,paddingTop:o.baseUnit/2,color:u.neutral80})},Iu={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},m7={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":pe({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},Iu)},p7=function(t){return pe({label:"input",color:"inherit",background:0,opacity:t?0:1,width:"100%"},Iu)},g7=function(t){var n=t.cx,r=t.value,i=fu(t),a=i.innerRef,o=i.isDisabled,u=i.isHidden,s=i.inputClassName,c=Jt(i,f7);return me("div",he({},$e(t,"input",{"input-container":!0}),{"data-value":r||""}),me("input",he({className:n({input:!0},s),ref:a,style:p7(u),disabled:o},c)))},v7=g7,b7=function(t,n){var r=t.theme,i=r.spacing,a=r.borderRadius,o=r.colors;return pe({label:"multiValue",display:"flex",minWidth:0},n?{}:{backgroundColor:o.neutral10,borderRadius:a/2,margin:i.baseUnit/2})},x7=function(t,n){var r=t.theme,i=r.borderRadius,a=r.colors,o=t.cropWithEllipsis;return pe({overflow:"hidden",textOverflow:o||o===void 0?"ellipsis":void 0,whiteSpace:"nowrap"},n?{}:{borderRadius:i/2,color:a.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},w7=function(t,n){var r=t.theme,i=r.spacing,a=r.borderRadius,o=r.colors,u=t.isFocused;return pe({alignItems:"center",display:"flex"},n?{}:{borderRadius:a/2,backgroundColor:u?o.dangerLight:void 0,paddingLeft:i.baseUnit,paddingRight:i.baseUnit,":hover":{backgroundColor:o.dangerLight,color:o.danger}})},ku=function(t){var n=t.children,r=t.innerProps;return me("div",r,n)},y7=ku,E7=ku;function C7(e){var t=e.children,n=e.innerProps;return me("div",he({role:"button"},n),t||me(Ya,{size:14}))}var I7=function(t){var n=t.children,r=t.components,i=t.data,a=t.innerProps,o=t.isDisabled,u=t.removeProps,s=t.selectProps,c=r.Container,d=r.Label,f=r.Remove;return me(c,{data:i,innerProps:pe(pe({},$e(t,"multiValue",{"multi-value":!0,"multi-value--is-disabled":o})),a),selectProps:s},me(d,{data:i,innerProps:pe({},$e(t,"multiValueLabel",{"multi-value__label":!0})),selectProps:s},n),me(f,{data:i,innerProps:pe(pe({},$e(t,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(n||"option")},u),selectProps:s}))},k7=I7,z7=function(t,n){var r=t.isDisabled,i=t.isFocused,a=t.isSelected,o=t.theme,u=o.spacing,s=o.colors;return pe({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},n?{}:{backgroundColor:a?s.primary:i?s.primary25:"transparent",color:r?s.neutral20:a?s.neutral0:"inherit",padding:"".concat(u.baseUnit*2,"px ").concat(u.baseUnit*3,"px"),":active":{backgroundColor:r?void 0:a?s.primary:s.primary50}})},F7=function(t){var n=t.children,r=t.isDisabled,i=t.isFocused,a=t.isSelected,o=t.innerRef,u=t.innerProps;return me("div",he({},$e(t,"option",{option:!0,"option--is-disabled":r,"option--is-focused":i,"option--is-selected":a}),{ref:o,"aria-disabled":r},u),n)},M7=F7,S7=function(t,n){var r=t.theme,i=r.spacing,a=r.colors;return pe({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},n?{}:{color:a.neutral50,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},A7=function(t){var n=t.children,r=t.innerProps;return me("div",he({},$e(t,"placeholder",{placeholder:!0}),r),n)},N7=A7,H7=function(t,n){var r=t.isDisabled,i=t.theme,a=i.spacing,o=i.colors;return pe({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},n?{}:{color:r?o.neutral40:o.neutral80,marginLeft:a.baseUnit/2,marginRight:a.baseUnit/2})},B7=function(t){var n=t.children,r=t.isDisabled,i=t.innerProps;return me("div",he({},$e(t,"singleValue",{"single-value":!0,"single-value--is-disabled":r}),i),n)},D7=B7,L7={ClearIndicator:Qg,Control:l7,DropdownIndicator:Yg,DownChevron:Eu,CrossIcon:Ya,Group:d7,GroupHeading:c7,IndicatorsContainer:Wg,IndicatorSeparator:Rg,Input:v7,LoadingIndicator:n7,Menu:Sg,MenuList:Ng,MenuPortal:Pg,LoadingMessage:Lg,NoOptionsMessage:Dg,MultiValue:k7,MultiValueContainer:y7,MultiValueLabel:E7,MultiValueRemove:C7,Option:M7,Placeholder:N7,SelectContainer:jg,SingleValue:D7,ValueContainer:Gg},T7=function(t){return pe(pe({},L7),t.components)},zu=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function P7(e,t){return!!(e===t||zu(e)&&zu(t))}function O7(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!P7(e[n],t[n]))return!1;return!0}function j7(e,t){t===void 0&&(t=O7);var n=null;function r(){for(var i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];if(n&&n.lastThis===this&&t(i,n.lastArgs))return n.lastResult;var o=e.apply(this,i);return n={lastResult:o,lastArgs:i,lastThis:this},o}return r.clear=function(){n=null},r}function V7(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}for(var G7=process.env.NODE_ENV==="production"?{name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"}:{name:"1f43avz-a11yText-A11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;label:A11yText;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFPSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IEpTWCB9IGZyb20gJ3JlYWN0JztcbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */",toString:V7},_7=function(t){return me("span",he({css:G7},t))},Fu=_7,W7={guidance:function(t){var n=t.isSearchable,r=t.isMulti,i=t.tabSelectsValue,a=t.context,o=t.isInitialFocus;switch(a){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(i?", press Tab to select the option and exit the menu":"",".");case"input":return o?"".concat(t["aria-label"]||"Select"," is focused ").concat(n?",type to refine list":"",", press Down to open the menu, ").concat(r?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(t){var n=t.action,r=t.label,i=r===void 0?"":r,a=t.labels,o=t.isDisabled;switch(n){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(i,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(a.length>1?"s":""," ").concat(a.join(","),", selected.");case"select-option":return o?"option ".concat(i," is disabled. Select another option."):"option ".concat(i,", selected.");default:return""}},onFocus:function(t){var n=t.context,r=t.focused,i=t.options,a=t.label,o=a===void 0?"":a,u=t.selectValue,s=t.isDisabled,c=t.isSelected,d=t.isAppleDevice,f=function(v,b){return v&&v.length?"".concat(v.indexOf(b)+1," of ").concat(v.length):""};if(n==="value"&&u)return"value ".concat(o," focused, ").concat(f(u,r),".");if(n==="menu"&&d){var p=s?" disabled":"",m="".concat(c?" selected":"").concat(p);return"".concat(o).concat(m,", ").concat(f(i,r),".")}return""},onFilter:function(t){var n=t.inputValue,r=t.resultsMessage;return"".concat(r).concat(n?" for search term "+n:"",".")}},$7=function(t){var n=t.ariaSelection,r=t.focusedOption,i=t.focusedValue,a=t.focusableOptions,o=t.isFocused,u=t.selectValue,s=t.selectProps,c=t.id,d=t.isAppleDevice,f=s.ariaLiveMessages,p=s.getOptionLabel,m=s.inputValue,g=s.isMulti,v=s.isOptionDisabled,b=s.isSearchable,x=s.menuIsOpen,E=s.options,C=s.screenReaderStatus,M=s.tabSelectsValue,y=s.isLoading,w=s["aria-label"],k=s["aria-live"],I=l.useMemo(function(){return pe(pe({},W7),f||{})},[f]),z=l.useMemo(function(){var H="";if(n&&I.onChange){var j=n.option,W=n.options,V=n.removedValue,$=n.removedValues,A=n.value,Z=function(ne){return Array.isArray(ne)?null:ne},U=V||j||Z(A),S=U?p(U):"",X=W||$||void 0,le=X?X.map(p):[],oe=pe({isDisabled:U&&v(U,u),label:S,labels:le},n);H=I.onChange(oe)}return H},[n,I,v,u,p]),F=l.useMemo(function(){var H="",j=r||i,W=!!(r&&u&&u.includes(r));if(j&&I.onFocus){var V={focused:j,label:p(j),isDisabled:v(j,u),isSelected:W,options:a,context:j===r?"menu":"value",selectValue:u,isAppleDevice:d};H=I.onFocus(V)}return H},[r,i,p,v,I,a,u,d]),N=l.useMemo(function(){var H="";if(x&&E.length&&!y&&I.onFilter){var j=C({count:a.length});H=I.onFilter({inputValue:m,resultsMessage:j})}return H},[a,m,x,I,E,C,y]),D=n?.action==="initial-input-focus",O=l.useMemo(function(){var H="";if(I.guidance){var j=i?"value":x?"menu":"input";H=I.guidance({"aria-label":w,context:j,isDisabled:r&&v(r,u),isMulti:g,isSearchable:b,tabSelectsValue:M,isInitialFocus:D})}return H},[w,r,i,g,v,b,x,I,u,M,D]),P=me(l.Fragment,null,me("span",{id:"aria-selection"},z),me("span",{id:"aria-focused"},F),me("span",{id:"aria-results"},N),me("span",{id:"aria-guidance"},O));return me(l.Fragment,null,me(Fu,{id:c},D&&P),me(Fu,{"aria-live":k,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},o&&!D&&P))},X7=$7,Qa=[{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źẑżžẓẕƶȥɀⱬꝣ"}],U7=new RegExp("["+Qa.map(function(e){return e.letters}).join("")+"]","g"),Mu={},Ka=0;Ka<Qa.length;Ka++)for(var Ra=Qa[Ka],eo=0;eo<Ra.letters.length;eo++)Mu[Ra.letters[eo]]=Ra.base;var Su=function(t){return t.replace(U7,function(n){return Mu[n]})},J7=j7(Su),Au=function(t){return t.replace(/^\s+|\s+$/g,"")},Z7=function(t){return"".concat(t.label," ").concat(t.value)},Y7=function(t){return function(n,r){if(n.data.__isNew__)return!0;var i=pe({ignoreCase:!0,ignoreAccents:!0,stringify:Z7,trim:!0,matchFrom:"any"},t),a=i.ignoreCase,o=i.ignoreAccents,u=i.stringify,s=i.trim,c=i.matchFrom,d=s?Au(r):r,f=s?Au(u(n)):u(n);return a&&(d=d.toLowerCase(),f=f.toLowerCase()),o&&(d=J7(d),f=Su(f)),c==="start"?f.substr(0,d.length)===d:f.indexOf(d)>-1}},q7=["innerRef"];function Q7(e){var t=e.innerRef,n=Jt(e,q7),r=yg(n,"onExited","in","enter","exit","appear");return me("input",he({ref:t},r,{css:Wa({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},process.env.NODE_ENV==="production"?"":";label:DummyInput;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWYgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQgeyByZW1vdmVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gRHVtbXlJbnB1dCh7XG4gIGlubmVyUmVmLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydpbnB1dCddICYge1xuICByZWFkb25seSBpbm5lclJlZjogUmVmPEhUTUxJbnB1dEVsZW1lbnQ+O1xufSkge1xuICAvLyBSZW1vdmUgYW5pbWF0aW9uIHByb3BzIG5vdCBtZWFudCBmb3IgSFRNTCBlbGVtZW50c1xuICBjb25zdCBmaWx0ZXJlZFByb3BzID0gcmVtb3ZlUHJvcHMoXG4gICAgcHJvcHMsXG4gICAgJ29uRXhpdGVkJyxcbiAgICAnaW4nLFxuICAgICdlbnRlcicsXG4gICAgJ2V4aXQnLFxuICAgICdhcHBlYXInXG4gICk7XG5cbiAgcmV0dXJuIChcbiAgICA8aW5wdXRcbiAgICAgIHJlZj17aW5uZXJSZWZ9XG4gICAgICB7Li4uZmlsdGVyZWRQcm9wc31cbiAgICAgIGNzcz17e1xuICAgICAgICBsYWJlbDogJ2R1bW15SW5wdXQnLFxuICAgICAgICAvLyBnZXQgcmlkIG9mIGFueSBkZWZhdWx0IHN0eWxlc1xuICAgICAgICBiYWNrZ3JvdW5kOiAwLFxuICAgICAgICBib3JkZXI6IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgdGhpcyBoaWRlcyB0aGUgZmxhc2hpbmcgY3Vyc29yXG4gICAgICAgIGNhcmV0Q29sb3I6ICd0cmFuc3BhcmVudCcsXG4gICAgICAgIGZvbnRTaXplOiAnaW5oZXJpdCcsXG4gICAgICAgIGdyaWRBcmVhOiAnMSAvIDEgLyAyIC8gMycsXG4gICAgICAgIG91dGxpbmU6IDAsXG4gICAgICAgIHBhZGRpbmc6IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgd2l0aG91dCBgd2lkdGhgIGJyb3dzZXJzIHdvbid0IGFsbG93IGZvY3VzXG4gICAgICAgIHdpZHRoOiAxLFxuXG4gICAgICAgIC8vIHJlbW92ZSBjdXJzb3Igb24gZGVza3RvcFxuICAgICAgICBjb2xvcjogJ3RyYW5zcGFyZW50JyxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIG1vYmlsZSB3aGlsc3QgbWFpbnRhaW5pbmcgXCJzY3JvbGwgaW50byB2aWV3XCIgYmVoYXZpb3VyXG4gICAgICAgIGxlZnQ6IC0xMDAsXG4gICAgICAgIG9wYWNpdHk6IDAsXG4gICAgICAgIHBvc2l0aW9uOiAncmVsYXRpdmUnLFxuICAgICAgICB0cmFuc2Zvcm06ICdzY2FsZSguMDEpJyxcbiAgICAgIH19XG4gICAgLz5cbiAgKTtcbn1cbiJdfQ== */")}))}var K7=function(t){t.cancelable&&t.preventDefault(),t.stopPropagation()};function R7(e){var t=e.isEnabled,n=e.onBottomArrive,r=e.onBottomLeave,i=e.onTopArrive,a=e.onTopLeave,o=l.useRef(!1),u=l.useRef(!1),s=l.useRef(0),c=l.useRef(null),d=l.useCallback(function(b,x){if(c.current!==null){var E=c.current,C=E.scrollTop,M=E.scrollHeight,y=E.clientHeight,w=c.current,k=x>0,I=M-y-C,z=!1;I>x&&o.current&&(r&&r(b),o.current=!1),k&&u.current&&(a&&a(b),u.current=!1),k&&x>I?(n&&!o.current&&n(b),w.scrollTop=M,z=!0,o.current=!0):!k&&-x>C&&(i&&!u.current&&i(b),w.scrollTop=0,z=!0,u.current=!0),z&&K7(b)}},[n,r,i,a]),f=l.useCallback(function(b){d(b,b.deltaY)},[d]),p=l.useCallback(function(b){s.current=b.changedTouches[0].clientY},[]),m=l.useCallback(function(b){var x=s.current-b.changedTouches[0].clientY;d(b,x)},[d]),g=l.useCallback(function(b){if(b){var x=bg?{passive:!1}:!1;b.addEventListener("wheel",f,x),b.addEventListener("touchstart",p,x),b.addEventListener("touchmove",m,x)}},[m,p,f]),v=l.useCallback(function(b){b&&(b.removeEventListener("wheel",f,!1),b.removeEventListener("touchstart",p,!1),b.removeEventListener("touchmove",m,!1))},[m,p,f]);return l.useEffect(function(){if(t){var b=c.current;return g(b),function(){v(b)}}},[t,g,v]),function(b){c.current=b}}var Nu=["boxSizing","height","overflow","paddingRight","position"],Hu={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Bu(e){e.cancelable&&e.preventDefault()}function Du(e){e.stopPropagation()}function Lu(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;e===0?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function Tu(){return"ontouchstart"in window||navigator.maxTouchPoints}var Pu=!!(typeof window<"u"&&window.document&&window.document.createElement),Xr=0,cr={capture:!1,passive:!1};function e8(e){var t=e.isEnabled,n=e.accountForScrollbars,r=n===void 0?!0:n,i=l.useRef({}),a=l.useRef(null),o=l.useCallback(function(s){if(Pu){var c=document.body,d=c&&c.style;if(r&&Nu.forEach(function(g){var v=d&&d[g];i.current[g]=v}),r&&Xr<1){var f=parseInt(i.current.paddingRight,10)||0,p=document.body?document.body.clientWidth:0,m=window.innerWidth-p+f||0;Object.keys(Hu).forEach(function(g){var v=Hu[g];d&&(d[g]=v)}),d&&(d.paddingRight="".concat(m,"px"))}c&&Tu()&&(c.addEventListener("touchmove",Bu,cr),s&&(s.addEventListener("touchstart",Lu,cr),s.addEventListener("touchmove",Du,cr))),Xr+=1}},[r]),u=l.useCallback(function(s){if(Pu){var c=document.body,d=c&&c.style;Xr=Math.max(Xr-1,0),r&&Xr<1&&Nu.forEach(function(f){var p=i.current[f];d&&(d[f]=p)}),c&&Tu()&&(c.removeEventListener("touchmove",Bu,cr),s&&(s.removeEventListener("touchstart",Lu,cr),s.removeEventListener("touchmove",Du,cr)))}},[r]);return l.useEffect(function(){if(t){var s=a.current;return o(s),function(){u(s)}}},[t,o,u]),function(s){a.current=s}}function t8(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var n8=function(t){var n=t.target;return n.ownerDocument.activeElement&&n.ownerDocument.activeElement.blur()},r8=process.env.NODE_ENV==="production"?{name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"}:{name:"bp8cua-ScrollManager",styles:"position:fixed;left:0;bottom:0;right:0;top:0;label:ScrollManager;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2ssIE1vdXNlRXZlbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcuL3VzZVNjcm9sbENhcHR1cmUnO1xuaW1wb3J0IHVzZVNjcm9sbExvY2sgZnJvbSAnLi91c2VTY3JvbGxMb2NrJztcblxuaW50ZXJmYWNlIFByb3BzIHtcbiAgcmVhZG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SxcbiAgb25Ub3BMZWF2ZSxcbn06IFByb3BzKSB7XG4gIGNvbnN0IHNldFNjcm9sbENhcHR1cmVUYXJnZXQgPSB1c2VTY3JvbGxDYXB0dXJlKHtcbiAgICBpc0VuYWJsZWQ6IGNhcHR1cmVFbmFibGVkLFxuICAgIG9uQm90dG9tQXJyaXZlLFxuICAgIG9uQm90dG9tTGVhdmUsXG4gICAgb25Ub3BBcnJpdmUsXG4gICAgb25Ub3BMZWF2ZSxcbiAgfSk7XG4gIGNvbnN0IHNldFNjcm9sbExvY2tUYXJnZXQgPSB1c2VTY3JvbGxMb2NrKHsgaXNFbmFibGVkOiBsb2NrRW5hYmxlZCB9KTtcblxuICBjb25zdCB0YXJnZXRSZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PiA9IChlbGVtZW50KSA9PiB7XG4gICAgc2V0U2Nyb2xsQ2FwdHVyZVRhcmdldChlbGVtZW50KTtcbiAgICBzZXRTY3JvbGxMb2NrVGFyZ2V0KGVsZW1lbnQpO1xuICB9O1xuXG4gIHJldHVybiAoXG4gICAgPEZyYWdtZW50PlxuICAgICAge2xvY2tFbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+XG4gICk7XG59XG4iXX0= */",toString:t8};function i8(e){var t=e.children,n=e.lockEnabled,r=e.captureEnabled,i=r===void 0?!0:r,a=e.onBottomArrive,o=e.onBottomLeave,u=e.onTopArrive,s=e.onTopLeave,c=R7({isEnabled:i,onBottomArrive:a,onBottomLeave:o,onTopArrive:u,onTopLeave:s}),d=e8({isEnabled:n}),f=function(m){c(m),d(m)};return me(l.Fragment,null,n&&me("div",{onClick:n8,css:r8}),t(f))}function l8(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var a8=process.env.NODE_ENV==="production"?{name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"}:{name:"5kkxb2-requiredInput-RequiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%;label:RequiredInput;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlJlcXVpcmVkSW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWNJIiwiZmlsZSI6IlJlcXVpcmVkSW5wdXQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyBGb2N1c0V2ZW50SGFuZGxlciwgRnVuY3Rpb25Db21wb25lbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmNvbnN0IFJlcXVpcmVkSW5wdXQ6IEZ1bmN0aW9uQ29tcG9uZW50PHtcbiAgcmVhZG9ubHkgbmFtZT86IHN0cmluZztcbiAgcmVhZG9ubHkgb25Gb2N1czogRm9jdXNFdmVudEhhbmRsZXI8SFRNTElucHV0RWxlbWVudD47XG59PiA9ICh7IG5hbWUsIG9uRm9jdXMgfSkgPT4gKFxuICA8aW5wdXRcbiAgICByZXF1aXJlZFxuICAgIG5hbWU9e25hbWV9XG4gICAgdGFiSW5kZXg9ey0xfVxuICAgIGFyaWEtaGlkZGVuPVwidHJ1ZVwiXG4gICAgb25Gb2N1cz17b25Gb2N1c31cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAncmVxdWlyZWRJbnB1dCcsXG4gICAgICBvcGFjaXR5OiAwLFxuICAgICAgcG9pbnRlckV2ZW50czogJ25vbmUnLFxuICAgICAgcG9zaXRpb246ICdhYnNvbHV0ZScsXG4gICAgICBib3R0b206IDAsXG4gICAgICBsZWZ0OiAwLFxuICAgICAgcmlnaHQ6IDAsXG4gICAgICB3aWR0aDogJzEwMCUnLFxuICAgIH19XG4gICAgLy8gUHJldmVudCBgU3dpdGNoaW5nIGZyb20gdW5jb250cm9sbGVkIHRvIGNvbnRyb2xsZWRgIGVycm9yXG4gICAgdmFsdWU9XCJcIlxuICAgIG9uQ2hhbmdlPXsoKSA9PiB7fX1cbiAgLz5cbik7XG5cbmV4cG9ydCBkZWZhdWx0IFJlcXVpcmVkSW5wdXQ7XG4iXX0= */",toString:l8},o8=function(t){var n=t.name,r=t.onFocus;return me("input",{required:!0,name:n,tabIndex:-1,"aria-hidden":"true",onFocus:r,css:a8,value:"",onChange:function(){}})},s8=o8;function to(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function u8(){return to(/^iPhone/i)}function Ou(){return to(/^Mac/i)}function c8(){return to(/^iPad/i)||Ou()&&navigator.maxTouchPoints>1}function d8(){return u8()||c8()}function f8(){return Ou()||d8()}var h8=function(t){return t.label},ju=function(t){return t.label},Vu=function(t){return t.value},m8=function(t){return!!t.isDisabled},p8={clearIndicator:qg,container:Og,control:r7,dropdownIndicator:Zg,group:o7,groupHeading:u7,indicatorsContainer:_g,indicatorSeparator:Kg,input:h7,loadingIndicator:t7,loadingMessage:Bg,menu:zg,menuList:Ag,menuPortal:Tg,multiValue:b7,multiValueLabel:x7,multiValueRemove:w7,noOptionsMessage:Hg,option:z7,placeholder:S7,singleValue:H7,valueContainer:Vg},g8={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%)"},v8=4,Gu=4,b8=38,x8=Gu*2,w8={baseUnit:Gu,controlHeight:b8,menuGutter:x8},no={borderRadius:v8,colors:g8,spacing:w8},y8={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:pu(),captureMenuScroll:!pu(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:Y7(),formatGroupLabel:h8,getOptionLabel:ju,getOptionValue:Vu,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:m8,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!gg(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(t){var n=t.count;return"".concat(n," result").concat(n!==1?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function _u(e,t,n,r){var i=Ju(e,t,n),a=Zu(e,t,n),o=Uu(e,t),u=fl(e,t);return{type:"option",data:t,isDisabled:i,isSelected:a,label:o,value:u,index:r}}function dl(e,t){return e.options.map(function(n,r){if("options"in n){var i=n.options.map(function(o,u){return _u(e,o,t,u)}).filter(function(o){return Xu(e,o)});return i.length>0?{type:"group",data:n,options:i,index:r}:void 0}var a=_u(e,n,t,r);return Xu(e,a)?a:void 0}).filter(xg)}function Wu(e){return e.reduce(function(t,n){return n.type==="group"?t.push.apply(t,ar(n.options.map(function(r){return r.data}))):t.push(n.data),t},[])}function $u(e,t){return e.reduce(function(n,r){return r.type==="group"?n.push.apply(n,ar(r.options.map(function(i){return{data:i.data,id:"".concat(t,"-").concat(r.index,"-").concat(i.index)}}))):n.push({data:r.data,id:"".concat(t,"-").concat(r.index)}),n},[])}function E8(e,t){return Wu(dl(e,t))}function Xu(e,t){var n=e.inputValue,r=n===void 0?"":n,i=t.data,a=t.isSelected,o=t.label,u=t.value;return(!qu(e)||!a)&&Yu(e,{label:o,value:u,data:i},r)}function C8(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 I8(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}var ro=function(t,n){var r,i=(r=t.find(function(a){return a.data===n}))===null||r===void 0?void 0:r.id;return i||null},Uu=function(t,n){return t.getOptionLabel(n)},fl=function(t,n){return t.getOptionValue(n)};function Ju(e,t,n){return typeof e.isOptionDisabled=="function"?e.isOptionDisabled(t,n):!1}function Zu(e,t,n){if(n.indexOf(t)>-1)return!0;if(typeof e.isOptionSelected=="function")return e.isOptionSelected(t,n);var r=fl(e,t);return n.some(function(i){return fl(e,i)===r})}function Yu(e,t,n){return e.filterOption?e.filterOption(t,n):!0}var qu=function(t){var n=t.hideSelectedOptions,r=t.isMulti;return n===void 0?r:n},k8=1,Qu=function(e){jp(n,e);var t=_p(n);function n(r){var i;if(Pp(this,n),i=t.call(this,r),i.state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:"",isAppleDevice:!1},i.blockOptionHover=!1,i.isComposing=!1,i.commonProps=void 0,i.initialTouchX=0,i.initialTouchY=0,i.openAfterFocus=!1,i.scrollToFocusedOptionOnUpdate=!1,i.userIsDragging=void 0,i.controlRef=null,i.getControlRef=function(s){i.controlRef=s},i.focusedOptionRef=null,i.getFocusedOptionRef=function(s){i.focusedOptionRef=s},i.menuListRef=null,i.getMenuListRef=function(s){i.menuListRef=s},i.inputRef=null,i.getInputRef=function(s){i.inputRef=s},i.focus=i.focusInput,i.blur=i.blurInput,i.onChange=function(s,c){var d=i.props,f=d.onChange,p=d.name;c.name=p,i.ariaOnChange(s,c),f(s,c)},i.setValue=function(s,c,d){var f=i.props,p=f.closeMenuOnSelect,m=f.isMulti,g=f.inputValue;i.onInputChange("",{action:"set-value",prevInputValue:g}),p&&(i.setState({inputIsHiddenAfterUpdate:!m}),i.onMenuClose()),i.setState({clearFocusValueOnUpdate:!0}),i.onChange(s,{action:c,option:d})},i.selectOption=function(s){var c=i.props,d=c.blurInputOnSelect,f=c.isMulti,p=c.name,m=i.state.selectValue,g=f&&i.isOptionSelected(s,m),v=i.isOptionDisabled(s,m);if(g){var b=i.getOptionValue(s);i.setValue(m.filter(function(x){return i.getOptionValue(x)!==b}),"deselect-option",s)}else if(!v)f?i.setValue([].concat(ar(m),[s]),"select-option",s):i.setValue(s,"select-option");else{i.ariaOnChange(s,{action:"select-option",option:s,name:p});return}d&&i.blurInput()},i.removeValue=function(s){var c=i.props.isMulti,d=i.state.selectValue,f=i.getOptionValue(s),p=d.filter(function(g){return i.getOptionValue(g)!==f}),m=$r(c,p,p[0]||null);i.onChange(m,{action:"remove-value",removedValue:s}),i.focusInput()},i.clearValue=function(){var s=i.state.selectValue;i.onChange($r(i.props.isMulti,[],null),{action:"clear",removedValues:s})},i.popValue=function(){var s=i.props.isMulti,c=i.state.selectValue,d=c[c.length-1],f=c.slice(0,c.length-1),p=$r(s,f,f[0]||null);d&&i.onChange(p,{action:"pop-value",removedValue:d})},i.getFocusedOptionId=function(s){return ro(i.state.focusableOptionsWithIds,s)},i.getFocusableOptionsWithIds=function(){return $u(dl(i.props,i.state.selectValue),i.getElementId("option"))},i.getValue=function(){return i.state.selectValue},i.cx=function(){for(var s=arguments.length,c=new Array(s),d=0;d<s;d++)c[d]=arguments[d];return dg.apply(void 0,[i.props.classNamePrefix].concat(c))},i.getOptionLabel=function(s){return Uu(i.props,s)},i.getOptionValue=function(s){return fl(i.props,s)},i.getStyles=function(s,c){var d=i.props.unstyled,f=p8[s](c,d);f.boxSizing="border-box";var p=i.props.styles[s];return p?p(f,c):f},i.getClassNames=function(s,c){var d,f;return(d=(f=i.props.classNames)[s])===null||d===void 0?void 0:d.call(f,c)},i.getElementId=function(s){return"".concat(i.state.instancePrefix,"-").concat(s)},i.getComponents=function(){return T7(i.props)},i.buildCategorizedOptions=function(){return dl(i.props,i.state.selectValue)},i.getCategorizedOptions=function(){return i.props.menuIsOpen?i.buildCategorizedOptions():[]},i.buildFocusableOptions=function(){return Wu(i.buildCategorizedOptions())},i.getFocusableOptions=function(){return i.props.menuIsOpen?i.buildFocusableOptions():[]},i.ariaOnChange=function(s,c){i.setState({ariaSelection:pe({value:s},c)})},i.onMenuMouseDown=function(s){s.button===0&&(s.stopPropagation(),s.preventDefault(),i.focusInput())},i.onMenuMouseMove=function(s){i.blockOptionHover=!1},i.onControlMouseDown=function(s){if(!s.defaultPrevented){var c=i.props.openMenuOnClick;i.state.isFocused?i.props.menuIsOpen?s.target.tagName!=="INPUT"&&s.target.tagName!=="TEXTAREA"&&i.onMenuClose():c&&i.openMenu("first"):(c&&(i.openAfterFocus=!0),i.focusInput()),s.target.tagName!=="INPUT"&&s.target.tagName!=="TEXTAREA"&&s.preventDefault()}},i.onDropdownIndicatorMouseDown=function(s){if(!(s&&s.type==="mousedown"&&s.button!==0)&&!i.props.isDisabled){var c=i.props,d=c.isMulti,f=c.menuIsOpen;i.focusInput(),f?(i.setState({inputIsHiddenAfterUpdate:!d}),i.onMenuClose()):i.openMenu("first"),s.preventDefault()}},i.onClearIndicatorMouseDown=function(s){s&&s.type==="mousedown"&&s.button!==0||(i.clearValue(),s.preventDefault(),i.openAfterFocus=!1,s.type==="touchend"?i.focusInput():setTimeout(function(){return i.focusInput()}))},i.onScroll=function(s){typeof i.props.closeMenuOnScroll=="boolean"?s.target instanceof HTMLElement&&ol(s.target)&&i.props.onMenuClose():typeof i.props.closeMenuOnScroll=="function"&&i.props.closeMenuOnScroll(s)&&i.props.onMenuClose()},i.onCompositionStart=function(){i.isComposing=!0},i.onCompositionEnd=function(){i.isComposing=!1},i.onTouchStart=function(s){var c=s.touches,d=c&&c.item(0);d&&(i.initialTouchX=d.clientX,i.initialTouchY=d.clientY,i.userIsDragging=!1)},i.onTouchMove=function(s){var c=s.touches,d=c&&c.item(0);if(d){var f=Math.abs(d.clientX-i.initialTouchX),p=Math.abs(d.clientY-i.initialTouchY),m=5;i.userIsDragging=f>m||p>m}},i.onTouchEnd=function(s){i.userIsDragging||(i.controlRef&&!i.controlRef.contains(s.target)&&i.menuListRef&&!i.menuListRef.contains(s.target)&&i.blurInput(),i.initialTouchX=0,i.initialTouchY=0)},i.onControlTouchEnd=function(s){i.userIsDragging||i.onControlMouseDown(s)},i.onClearIndicatorTouchEnd=function(s){i.userIsDragging||i.onClearIndicatorMouseDown(s)},i.onDropdownIndicatorTouchEnd=function(s){i.userIsDragging||i.onDropdownIndicatorMouseDown(s)},i.handleInputChange=function(s){var c=i.props.inputValue,d=s.currentTarget.value;i.setState({inputIsHiddenAfterUpdate:!1}),i.onInputChange(d,{action:"input-change",prevInputValue:c}),i.props.menuIsOpen||i.onMenuOpen()},i.onInputFocus=function(s){i.props.onFocus&&i.props.onFocus(s),i.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(i.openAfterFocus||i.props.openMenuOnFocus)&&i.openMenu("first"),i.openAfterFocus=!1},i.onInputBlur=function(s){var c=i.props.inputValue;if(i.menuListRef&&i.menuListRef.contains(document.activeElement)){i.inputRef.focus();return}i.props.onBlur&&i.props.onBlur(s),i.onInputChange("",{action:"input-blur",prevInputValue:c}),i.onMenuClose(),i.setState({focusedValue:null,isFocused:!1})},i.onOptionHover=function(s){if(!(i.blockOptionHover||i.state.focusedOption===s)){var c=i.getFocusableOptions(),d=c.indexOf(s);i.setState({focusedOption:s,focusedOptionId:d>-1?i.getFocusedOptionId(s):null})}},i.shouldHideSelectedOptions=function(){return qu(i.props)},i.onValueInputFocus=function(s){s.preventDefault(),s.stopPropagation(),i.focus()},i.onKeyDown=function(s){var c=i.props,d=c.isMulti,f=c.backspaceRemovesValue,p=c.escapeClearsValue,m=c.inputValue,g=c.isClearable,v=c.isDisabled,b=c.menuIsOpen,x=c.onKeyDown,E=c.tabSelectsValue,C=c.openMenuOnFocus,M=i.state,y=M.focusedOption,w=M.focusedValue,k=M.selectValue;if(!v&&!(typeof x=="function"&&(x(s),s.defaultPrevented))){switch(i.blockOptionHover=!0,s.key){case"ArrowLeft":if(!d||m)return;i.focusValue("previous");break;case"ArrowRight":if(!d||m)return;i.focusValue("next");break;case"Delete":case"Backspace":if(m)return;if(w)i.removeValue(w);else{if(!f)return;d?i.popValue():g&&i.clearValue()}break;case"Tab":if(i.isComposing||s.shiftKey||!b||!E||!y||C&&i.isOptionSelected(y,k))return;i.selectOption(y);break;case"Enter":if(s.keyCode===229)break;if(b){if(!y||i.isComposing)return;i.selectOption(y);break}return;case"Escape":b?(i.setState({inputIsHiddenAfterUpdate:!1}),i.onInputChange("",{action:"menu-close",prevInputValue:m}),i.onMenuClose()):g&&p&&i.clearValue();break;case" ":if(m)return;if(!b){i.openMenu("first");break}if(!y)return;i.selectOption(y);break;case"ArrowUp":b?i.focusOption("up"):i.openMenu("last");break;case"ArrowDown":b?i.focusOption("down"):i.openMenu("first");break;case"PageUp":if(!b)return;i.focusOption("pageup");break;case"PageDown":if(!b)return;i.focusOption("pagedown");break;case"Home":if(!b)return;i.focusOption("first");break;case"End":if(!b)return;i.focusOption("last");break;default:return}s.preventDefault()}},i.state.instancePrefix="react-select-"+(i.props.instanceId||++k8),i.state.selectValue=al(r.value),r.menuIsOpen&&i.state.selectValue.length){var a=i.getFocusableOptionsWithIds(),o=i.buildFocusableOptions(),u=o.indexOf(i.state.selectValue[0]);i.state.focusableOptionsWithIds=a,i.state.focusedOption=o[u],i.state.focusedOptionId=ro(a,o[u])}return i}return Op(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&mu(this.menuListRef,this.focusedOptionRef),f8()&&this.setState({isAppleDevice:!0})}},{key:"componentDidUpdate",value:function(i){var a=this.props,o=a.isDisabled,u=a.menuIsOpen,s=this.state.isFocused;(s&&!o&&i.isDisabled||s&&u&&!i.menuIsOpen)&&this.focusInput(),s&&o&&!i.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!s&&!o&&i.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(mu(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(i,a){this.props.onInputChange(i,a)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(i){var a=this,o=this.state,u=o.selectValue,s=o.isFocused,c=this.buildFocusableOptions(),d=i==="first"?0:c.length-1;if(!this.props.isMulti){var f=c.indexOf(u[0]);f>-1&&(d=f)}this.scrollToFocusedOptionOnUpdate=!(s&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:c[d],focusedOptionId:this.getFocusedOptionId(c[d])},function(){return a.onMenuOpen()})}},{key:"focusValue",value:function(i){var a=this.state,o=a.selectValue,u=a.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var s=o.indexOf(u);u||(s=-1);var c=o.length-1,d=-1;if(o.length){switch(i){case"previous":s===0?d=0:s===-1?d=c:d=s-1;break;case"next":s>-1&&s<c&&(d=s+1);break}this.setState({inputIsHidden:d!==-1,focusedValue:o[d]})}}}},{key:"focusOption",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"first",a=this.props.pageSize,o=this.state.focusedOption,u=this.getFocusableOptions();if(u.length){var s=0,c=u.indexOf(o);o||(c=-1),i==="up"?s=c>0?c-1:u.length-1:i==="down"?s=(c+1)%u.length:i==="pageup"?(s=c-a,s<0&&(s=0)):i==="pagedown"?(s=c+a,s>u.length-1&&(s=u.length-1)):i==="last"&&(s=u.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:u[s],focusedValue:null,focusedOptionId:this.getFocusedOptionId(u[s])})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(no):pe(pe({},no),this.props.theme):no}},{key:"getCommonProps",value:function(){var i=this.clearValue,a=this.cx,o=this.getStyles,u=this.getClassNames,s=this.getValue,c=this.selectOption,d=this.setValue,f=this.props,p=f.isMulti,m=f.isRtl,g=f.options,v=this.hasValue();return{clearValue:i,cx:a,getStyles:o,getClassNames:u,getValue:s,hasValue:v,isMulti:p,isRtl:m,options:g,selectOption:c,selectProps:f,setValue:d,theme:this.getTheme()}}},{key:"hasValue",value:function(){var i=this.state.selectValue;return i.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var i=this.props,a=i.isClearable,o=i.isMulti;return a===void 0?o:a}},{key:"isOptionDisabled",value:function(i,a){return Ju(this.props,i,a)}},{key:"isOptionSelected",value:function(i,a){return Zu(this.props,i,a)}},{key:"filterOption",value:function(i,a){return Yu(this.props,i,a)}},{key:"formatOptionLabel",value:function(i,a){if(typeof this.props.formatOptionLabel=="function"){var o=this.props.inputValue,u=this.state.selectValue;return this.props.formatOptionLabel(i,{context:a,inputValue:o,selectValue:u})}else return this.getOptionLabel(i)}},{key:"formatGroupLabel",value:function(i){return this.props.formatGroupLabel(i)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var i=this.props,a=i.isDisabled,o=i.isSearchable,u=i.inputId,s=i.inputValue,c=i.tabIndex,d=i.form,f=i.menuIsOpen,p=i.required,m=this.getComponents(),g=m.Input,v=this.state,b=v.inputIsHidden,x=v.ariaSelection,E=this.commonProps,C=u||this.getElementId("input"),M=pe(pe(pe({"aria-autocomplete":"list","aria-expanded":f,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":p,role:"combobox","aria-activedescendant":this.state.isAppleDevice?void 0:this.state.focusedOptionId||""},f&&{"aria-controls":this.getElementId("listbox")}),!o&&{"aria-readonly":!0}),this.hasValue()?x?.action==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return o?se.createElement(g,he({},E,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:C,innerRef:this.getInputRef,isDisabled:a,isHidden:b,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:c,form:d,type:"text",value:s},M)):se.createElement(Q7,he({id:C,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:ll,onFocus:this.onInputFocus,disabled:a,tabIndex:c,inputMode:"none",form:d,value:""},M))}},{key:"renderPlaceholderOrValue",value:function(){var i=this,a=this.getComponents(),o=a.MultiValue,u=a.MultiValueContainer,s=a.MultiValueLabel,c=a.MultiValueRemove,d=a.SingleValue,f=a.Placeholder,p=this.commonProps,m=this.props,g=m.controlShouldRenderValue,v=m.isDisabled,b=m.isMulti,x=m.inputValue,E=m.placeholder,C=this.state,M=C.selectValue,y=C.focusedValue,w=C.isFocused;if(!this.hasValue()||!g)return x?null:se.createElement(f,he({},p,{key:"placeholder",isDisabled:v,isFocused:w,innerProps:{id:this.getElementId("placeholder")}}),E);if(b)return M.map(function(I,z){var F=I===y,N="".concat(i.getOptionLabel(I),"-").concat(i.getOptionValue(I));return se.createElement(o,he({},p,{components:{Container:u,Label:s,Remove:c},isFocused:F,isDisabled:v,key:N,index:z,removeProps:{onClick:function(){return i.removeValue(I)},onTouchEnd:function(){return i.removeValue(I)},onMouseDown:function(O){O.preventDefault()}},data:I}),i.formatOptionLabel(I,"value"))});if(x)return null;var k=M[0];return se.createElement(d,he({},p,{data:k,isDisabled:v}),this.formatOptionLabel(k,"value"))}},{key:"renderClearIndicator",value:function(){var i=this.getComponents(),a=i.ClearIndicator,o=this.commonProps,u=this.props,s=u.isDisabled,c=u.isLoading,d=this.state.isFocused;if(!this.isClearable()||!a||s||!this.hasValue()||c)return null;var f={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return se.createElement(a,he({},o,{innerProps:f,isFocused:d}))}},{key:"renderLoadingIndicator",value:function(){var i=this.getComponents(),a=i.LoadingIndicator,o=this.commonProps,u=this.props,s=u.isDisabled,c=u.isLoading,d=this.state.isFocused;if(!a||!c)return null;var f={"aria-hidden":"true"};return se.createElement(a,he({},o,{innerProps:f,isDisabled:s,isFocused:d}))}},{key:"renderIndicatorSeparator",value:function(){var i=this.getComponents(),a=i.DropdownIndicator,o=i.IndicatorSeparator;if(!a||!o)return null;var u=this.commonProps,s=this.props.isDisabled,c=this.state.isFocused;return se.createElement(o,he({},u,{isDisabled:s,isFocused:c}))}},{key:"renderDropdownIndicator",value:function(){var i=this.getComponents(),a=i.DropdownIndicator;if(!a)return null;var o=this.commonProps,u=this.props.isDisabled,s=this.state.isFocused,c={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return se.createElement(a,he({},o,{innerProps:c,isDisabled:u,isFocused:s}))}},{key:"renderMenu",value:function(){var i=this,a=this.getComponents(),o=a.Group,u=a.GroupHeading,s=a.Menu,c=a.MenuList,d=a.MenuPortal,f=a.LoadingMessage,p=a.NoOptionsMessage,m=a.Option,g=this.commonProps,v=this.state.focusedOption,b=this.props,x=b.captureMenuScroll,E=b.inputValue,C=b.isLoading,M=b.loadingMessage,y=b.minMenuHeight,w=b.maxMenuHeight,k=b.menuIsOpen,I=b.menuPlacement,z=b.menuPosition,F=b.menuPortalTarget,N=b.menuShouldBlockScroll,D=b.menuShouldScrollIntoView,O=b.noOptionsMessage,P=b.onMenuScrollToTop,H=b.onMenuScrollToBottom;if(!k)return null;var j=function(S,X){var le=S.type,oe=S.data,_=S.isDisabled,ne=S.isSelected,Y=S.label,we=S.value,We=v===oe,re=_?void 0:function(){return i.onOptionHover(oe)},Pe=_?void 0:function(){return i.selectOption(oe)},ot="".concat(i.getElementId("option"),"-").concat(X),st={id:ot,onClick:Pe,onMouseMove:re,onMouseOver:re,tabIndex:-1,role:"option","aria-selected":i.state.isAppleDevice?void 0:ne};return se.createElement(m,he({},g,{innerProps:st,data:oe,isDisabled:_,isSelected:ne,key:ot,label:Y,type:le,value:we,isFocused:We,innerRef:We?i.getFocusedOptionRef:void 0}),i.formatOptionLabel(S.data,"menu"))},W;if(this.hasOptions())W=this.getCategorizedOptions().map(function(U){if(U.type==="group"){var S=U.data,X=U.options,le=U.index,oe="".concat(i.getElementId("group"),"-").concat(le),_="".concat(oe,"-heading");return se.createElement(o,he({},g,{key:oe,data:S,options:X,Heading:u,headingProps:{id:_,data:U.data},label:i.formatGroupLabel(U.data)}),U.options.map(function(ne){return j(ne,"".concat(le,"-").concat(ne.index))}))}else if(U.type==="option")return j(U,"".concat(U.index))});else if(C){var V=M({inputValue:E});if(V===null)return null;W=se.createElement(f,g,V)}else{var $=O({inputValue:E});if($===null)return null;W=se.createElement(p,g,$)}var A={minMenuHeight:y,maxMenuHeight:w,menuPlacement:I,menuPosition:z,menuShouldScrollIntoView:D},Z=se.createElement(Fg,he({},g,A),function(U){var S=U.ref,X=U.placerProps,le=X.placement,oe=X.maxHeight;return se.createElement(s,he({},g,A,{innerRef:S,innerProps:{onMouseDown:i.onMenuMouseDown,onMouseMove:i.onMenuMouseMove},isLoading:C,placement:le}),se.createElement(i8,{captureEnabled:x,onTopArrive:P,onBottomArrive:H,lockEnabled:N},function(_){return se.createElement(c,he({},g,{innerRef:function(Y){i.getMenuListRef(Y),_(Y)},innerProps:{role:"listbox","aria-multiselectable":g.isMulti,id:i.getElementId("listbox")},isLoading:C,maxHeight:oe,focusedOption:v}),W)}))});return F||z==="fixed"?se.createElement(d,he({},g,{appendTo:F,controlElement:this.controlRef,menuPlacement:I,menuPosition:z}),Z):Z}},{key:"renderFormField",value:function(){var i=this,a=this.props,o=a.delimiter,u=a.isDisabled,s=a.isMulti,c=a.name,d=a.required,f=this.state.selectValue;if(d&&!this.hasValue()&&!u)return se.createElement(s8,{name:c,onFocus:this.onValueInputFocus});if(!(!c||u))if(s)if(o){var p=f.map(function(v){return i.getOptionValue(v)}).join(o);return se.createElement("input",{name:c,type:"hidden",value:p})}else{var m=f.length>0?f.map(function(v,b){return se.createElement("input",{key:"i-".concat(b),name:c,type:"hidden",value:i.getOptionValue(v)})}):se.createElement("input",{name:c,type:"hidden",value:""});return se.createElement("div",null,m)}else{var g=f[0]?this.getOptionValue(f[0]):"";return se.createElement("input",{name:c,type:"hidden",value:g})}}},{key:"renderLiveRegion",value:function(){var i=this.commonProps,a=this.state,o=a.ariaSelection,u=a.focusedOption,s=a.focusedValue,c=a.isFocused,d=a.selectValue,f=this.getFocusableOptions();return se.createElement(X7,he({},i,{id:this.getElementId("live-region"),ariaSelection:o,focusedOption:u,focusedValue:s,isFocused:c,selectValue:d,focusableOptions:f,isAppleDevice:this.state.isAppleDevice}))}},{key:"render",value:function(){var i=this.getComponents(),a=i.Control,o=i.IndicatorsContainer,u=i.SelectContainer,s=i.ValueContainer,c=this.props,d=c.className,f=c.id,p=c.isDisabled,m=c.menuIsOpen,g=this.state.isFocused,v=this.commonProps=this.getCommonProps();return se.createElement(u,he({},v,{className:d,innerProps:{id:f,onKeyDown:this.onKeyDown},isDisabled:p,isFocused:g}),this.renderLiveRegion(),se.createElement(a,he({},v,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:p,isFocused:g,menuIsOpen:m}),se.createElement(s,he({},v,{isDisabled:p}),this.renderPlaceholderOrValue(),this.renderInput()),se.createElement(o,he({},v,{isDisabled:p}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(i,a){var o=a.prevProps,u=a.clearFocusValueOnUpdate,s=a.inputIsHiddenAfterUpdate,c=a.ariaSelection,d=a.isFocused,f=a.prevWasFocused,p=a.instancePrefix,m=i.options,g=i.value,v=i.menuIsOpen,b=i.inputValue,x=i.isMulti,E=al(g),C={};if(o&&(g!==o.value||m!==o.options||v!==o.menuIsOpen||b!==o.inputValue)){var M=v?E8(i,E):[],y=v?$u(dl(i,E),"".concat(p,"-option")):[],w=u?C8(a,E):null,k=I8(a,M),I=ro(y,k);C={selectValue:E,focusedOption:k,focusedOptionId:I,focusableOptionsWithIds:y,focusedValue:w,clearFocusValueOnUpdate:!1}}var z=s!=null&&i!==o?{inputIsHidden:s,inputIsHiddenAfterUpdate:void 0}:{},F=c,N=d&&f;return d&&!N&&(F={value:$r(x,E,E[0]||null),options:E,action:"initial-input-focus"},N=!f),c?.action==="initial-input-focus"&&(F=null),pe(pe(pe({},C),z),{},{prevProps:i,ariaSelection:F,prevWasFocused:N})}}]),n}(l.Component);Qu.defaultProps=y8;var z8=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function F8(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,u=e.inputValue,s=e.menuIsOpen,c=e.onChange,d=e.onInputChange,f=e.onMenuClose,p=e.onMenuOpen,m=e.value,g=Jt(e,z8),v=l.useState(u!==void 0?u:n),b=an(v,2),x=b[0],E=b[1],C=l.useState(s!==void 0?s:i),M=an(C,2),y=M[0],w=M[1],k=l.useState(m!==void 0?m:o),I=an(k,2),z=I[0],F=I[1],N=l.useCallback(function(V,$){typeof c=="function"&&c(V,$),F(V)},[c]),D=l.useCallback(function(V,$){var A;typeof d=="function"&&(A=d(V,$)),E(A!==void 0?A:V)},[d]),O=l.useCallback(function(){typeof p=="function"&&p(),w(!0)},[p]),P=l.useCallback(function(){typeof f=="function"&&f(),w(!1)},[f]),H=u!==void 0?u:x,j=s!==void 0?s:y,W=m!==void 0?m:z;return pe(pe({},g),{},{inputValue:H,menuIsOpen:j,onChange:N,onInputChange:D,onMenuClose:P,onMenuOpen:O,value:W})}var M8=["allowCreateWhileLoading","createOptionPosition","formatCreateLabel","isValidNewOption","getNewOptionData","onCreateOption","options","onChange"],Ku=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",n=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0,i=String(t).toLowerCase(),a=String(r.getOptionValue(n)).toLowerCase(),o=String(r.getOptionLabel(n)).toLowerCase();return a===i||o===i},io={formatCreateLabel:function(t){return'Create "'.concat(t,'"')},isValidNewOption:function(t,n,r,i){return!(!t||n.some(function(a){return Ku(t,a,i)})||r.some(function(a){return Ku(t,a,i)}))},getNewOptionData:function(t,n){return{label:n,value:t,__isNew__:!0}}};function S8(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?io.formatCreateLabel:a,u=e.isValidNewOption,s=u===void 0?io.isValidNewOption:u,c=e.getNewOptionData,d=c===void 0?io.getNewOptionData:c,f=e.onCreateOption,p=e.options,m=p===void 0?[]:p,g=e.onChange,v=Jt(e,M8),b=v.getOptionValue,x=b===void 0?Vu:b,E=v.getOptionLabel,C=E===void 0?ju:E,M=v.inputValue,y=v.isLoading,w=v.isMulti,k=v.value,I=v.name,z=l.useMemo(function(){return s(M,al(k),m,{getOptionValue:x,getOptionLabel:C})?d(M,o(M)):void 0},[o,d,C,x,M,s,m,k]),F=l.useMemo(function(){return(n||!y)&&z?i==="first"?[z].concat(ar(m)):[].concat(ar(m),[z]):m},[n,i,y,z,m]),N=l.useCallback(function(D,O){if(O.action!=="select-option")return g(D,O);var P=Array.isArray(D)?D:[D];if(P[P.length-1]===z){if(f)f(M);else{var H=d(M,M),j={action:"create-option",name:I,option:H};g($r(w,[].concat(ar(al(k)),[H]),H),j)}return}g(D,O)},[d,M,w,I,z,f,g,k]);return pe(pe({},v),{},{options:F,onChange:N})}var A8=l.forwardRef(function(e,t){var n=F8(e),r=S8(n);return se.createElement(Qu,he({ref:t},r))}),N8=A8;const Ru=l.forwardRef(({id:e,label:t,placeholder:n="Select...",value:r,selectedValues:i,onChange:a,onColorChange:o,selectOptions:u,loading:s=!1,multiSelect:c=!1,disabled:d=!1,isClearable:f=!0,required:p=!1,message:m,messageType:g="default",originalCase:v=!1,wrapperClassName:b,selectClassName:x,labelClassName:E,helpText:C,size:M="medium",filterOption:y,selectProps:w,components:k,tags:I,tooltip:z},F)=>{const N=()=>{switch(M){case"small":return{height:"28px",minHeight:"28px",fontSize:"12px",padding:"2px 8px"};case"large":return{height:"40px",minHeight:"40px",fontSize:"16px",padding:"8px 12px"};default:return{height:"32px",minHeight:"32px",fontSize:"14px",padding:"4px 10px"}}},D=S=>m&&g==="error"?"rgb(253 164 155)":m&&g==="success"?"rgb(34 197 94)":m&&g==="info"?"rgb(59 130 246)":S.isFocused?"rgb(0 108 207)":"rgb(229 229 229)",O=N(),P={control:(S,X)=>({...S,borderColor:D(X),backgroundColor:X.isDisabled?"rgb(245 245 245)":"rgb(255 255 255)",borderRadius:"6px",...O,opacity:X.isDisabled?.6:1,cursor:X.isDisabled?"not-allowed":"default",boxShadow:X.isFocused?"0 0 0 2px rgba(59, 130, 246, 0.1)":"none","&:hover":{borderColor:D(X)},transition:"all 0.2s ease-in-out"}),valueContainer:S=>({...S,fontSize:O.fontSize,padding:0,height:"auto",minHeight:"20px"}),input:S=>({...S,margin:"0",padding:"0",color:"inherit"}),indicatorsContainer:S=>({...S,fontSize:O.fontSize,padding:0,height:"20px"}),option:(S,X)=>({...S,fontFamily:"Inter",fontWeight:500,fontSize:O.fontSize,lineHeight:"1.2",borderBottom:"1px solid rgb(229 229 229)",backgroundColor:X.isSelected?"rgb(59 130 246)":X.isFocused?"rgb(245 245 245)":"rgb(255 255 255)",color:X.isSelected?"white":X.isDisabled?"rgb(163 163 163)":"inherit",cursor:X.isDisabled?"not-allowed":"pointer",opacity:X.isDisabled?.6:1,"&:hover":{backgroundColor:X.isSelected?"rgb(59 130 246)":X.isDisabled?"rgb(255 255 255)":"rgb(245 245 245)"}}),singleValue:(S,X)=>({...S,fontFamily:"Inter",fontWeight:500,fontSize:O.fontSize,lineHeight:"1.25rem",display:"block",color:X.isDisabled?"rgb(163 163 163)":"inherit"}),placeholder:(S,X)=>({...S,fontFamily:"Inter",fontSize:O.fontSize,fontWeight:500,whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden",color:X.isDisabled?"rgb(163 163 163)":"rgb(115 115 115)"}),multiValue:S=>({...S,backgroundColor:"rgb(230 241 252)",border:"1px solid rgb(198 225 249)",borderRadius:"4px",fontFamily:"Inter"}),multiValueLabel:S=>({...S,color:"rgb(0 108 207)",fontSize:"12px"}),multiValueRemove:S=>({...S,color:"rgb(0 108 207)",":hover":{backgroundColor:"rgb(230 241 252)",color:"rgb(220 38 38)"}}),menu:S=>({...S,backgroundColor:"rgb(255 255 255)",border:"1px solid rgb(229 229 229)",borderRadius:"6px",boxShadow:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)"}),loadingIndicator:S=>({...S,color:"rgb(99 102 241)"}),noOptionsMessage:S=>({...S,color:"rgb(107 114 128)",fontSize:O.fontSize})},H=()=>g==="error"?"text-red-500 dark:text-red-400":g==="success"?"text-green-500 dark:text-green-400":g==="info"?"text-blue-500 dark:text-blue-400":"text-neutral-500 dark:text-neutral-400",j=()=>{switch(M){case"small":return"extra-small";case"large":return"medium";default:return"small"}},W=()=>h.jsx("div",{className:"flex items-center",children:h.jsx(rr.ChevronLeftRounded,{className:"-rotate-90 transition-transform duration-200",sx:{fontSize:M==="small"?"14px":M==="large"?"18px":"16px"}})}),V=S=>h.jsx("div",{className:"absolute top-0 left-0 h-full flex items-center dark:text-neutral-100",children:S.data.label}),$=!!i?.length,Z=f&&($||!!r),U=(S,X)=>{a(S,X),o?.(S)};return h.jsxs("div",{className:J("flex flex-col w-full",b),children:[t&&h.jsx("label",{htmlFor:e,className:J("mb-1 text-xs font-medium text-gray-600 dark:text-gray-300 inline-flex items-center gap-1",!v&&"capitalize",E),children:h.jsx("div",{className:"flex flex-wrap items-center justify-between w-full",children:h.jsx("div",{className:"inline-flex flex-wrap items-center gap-1",children:h.jsxs(ie,{variant:"medium",size:j(),appearance:"subtitle",children:[t,p&&h.jsx("span",{className:"text-red-500 ml-1",children:"*"})]})})})}),C&&h.jsx(ie,{className:"mb-2 text-neutral-600 dark:text-neutral-400",appearance:"custom",size:"extra-small",variant:"regular",children:C}),h.jsx(N8,{...w,ref:F,id:e,required:p,options:u,isClearable:Z,isLoading:s,isDisabled:d,styles:P,isMulti:c,value:c?i:r,placeholder:n,filterOption:y,onChange:U,className:J("react-select-container",x),classNamePrefix:"react-select",components:{IndicatorsContainer:W,SingleValue:V,...k},"aria-required":p,"aria-invalid":m&&g==="error"?"true":"false","aria-describedby":m||C?`${e}-description`:void 0}),h.jsx(Be.AnimatePresence,{children:m&&h.jsx(Be.motion.div,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},id:`${e}-description`,role:g==="error"?"alert":void 0,children:h.jsx(ie,{className:J("mt-1",H()),appearance:"custom",size:"extra-small",variant:"medium",children:m})})}),C&&!m&&h.jsx("div",{id:`${e}-description`,className:"sr-only",children:C})]})});Ru.displayName="CreatableSelectField";const lo=[{value:"USD",label:"United States Dollar",symbol:"$"},{value:"EUR",label:"Euro",symbol:"€"},{value:"GBP",label:"British Pound",symbol:"£"},{value:"JPY",label:"Japanese Yen",symbol:"¥"},{value:"CAD",label:"Canadian Dollar",symbol:"C$"},{value:"AUD",label:"Australian Dollar",symbol:"A$"},{value:"CHF",label:"Swiss Franc",symbol:"CHF"},{value:"CNY",label:"Chinese Yuan",symbol:"¥"},{value:"SEK",label:"Swedish Krona",symbol:"kr"},{value:"NZD",label:"New Zealand Dollar",symbol:"NZ$"}],ec={USD:"$",EUR:"€",GBP:"£",JPY:"¥",CAD:"C$",AUD:"A$",CHF:"CHF",CNY:"¥",SEK:"kr",NZD:"NZ$"},tc=l.forwardRef(({id:e,label:t,value:n,defaultValue:r,onChange:i,disabled:a=!1,required:o=!1,placeholder:u,message:s,messageType:c="default",wrapperClassName:d,inputClassName:f,labelClassName:p,helpText:m,size:g="medium",currencyCode:v="USD",allowCurrencyChange:b=!1,availableCurrencies:x,showSymbol:E=!0,formatValue:C=!0,min:M,max:y,decimalPlaces:w=2,inputProps:k,inputStyle:I},z)=>{const[F,N]=l.useState(!1),[D,O]=l.useState(v),[P,H]=l.useState(!1),j=x?lo.filter(_=>x.includes(_.value)):lo,W=()=>{switch(g){case"small":return{height:"h-7",padding:"px-2 py-1",fontSize:"text-xs",symbolPadding:"pl-8"};case"large":return{height:"h-10",padding:"px-4 py-2",fontSize:"text-base",symbolPadding:"pl-12"};default:return{height:"h-8",padding:"px-3 py-1.5",fontSize:"text-sm",symbolPadding:"pl-10"}}},V=()=>c==="error"?"border-red-300 focus:border-red-500 focus:ring-red-200 dark:focus:ring-red-400/20":c==="success"?"border-green-300 focus:border-green-500 focus:ring-green-200 dark:focus:ring-green-400/20":c==="info"?"border-blue-300 focus:border-blue-500 focus:ring-blue-200 dark:focus:ring-blue-400/20":"border-neutral-300 dark:border-neutral-600 focus:border-primary-500 dark:focus:border-primary-400 focus:ring-primary-200 dark:focus:ring-primary-400/20",$=()=>c==="error"?"text-red-500 dark:text-red-400":c==="success"?"text-green-500 dark:text-green-400":c==="info"?"text-blue-500 dark:text-blue-400":"text-neutral-500 dark:text-neutral-400",A=()=>{switch(g){case"small":return"extra-small";case"large":return"medium";default:return"small"}},Z=_=>{if(_==null)return"";const ne=Number(_);return isNaN(ne)?String(_):C?ne.toLocaleString("en-US",{minimumFractionDigits:w,maximumFractionDigits:w}):String(ne)},U=_=>{const ne=_.target.value;if(ne===""||ne===null||ne===void 0)i(null,D);else{const Y=Number(ne);isNaN(Y)||i(Y,D)}},S=_=>{O(_),H(!1),i(n??null,_)},X=()=>{N(!0)},le=()=>{N(!1)},oe=W();return l.useEffect(()=>{O(v)},[v]),h.jsxs("div",{className:J("flex flex-col w-full",d),children:[t&&h.jsx("label",{htmlFor:e,className:J("mb-1 text-xs font-medium text-gray-600 dark:text-gray-300 inline-flex items-center gap-1",p),children:h.jsx("div",{className:"flex flex-wrap items-center justify-between w-full",children:h.jsx("div",{className:"inline-flex flex-wrap items-center gap-1",children:h.jsxs(ie,{variant:"medium",size:A(),appearance:"subtitle",children:[t,o&&h.jsx("span",{className:"text-red-500 ml-1",children:"*"})]})})})}),m&&h.jsx(ie,{className:"mb-2 text-neutral-600 dark:text-neutral-400",appearance:"custom",size:"extra-small",variant:"regular",children:m}),h.jsxs("div",{className:"relative",children:[E&&h.jsx("span",{className:"absolute inset-y-0 left-0 flex items-center pl-3 text-neutral-900 dark:text-neutral-100 pointer-events-none",children:ec[D]||D}),h.jsx("input",{...k,ref:z,id:e,type:F?"number":"text",value:F?n??"":Z(n),defaultValue:r!==void 0?F?r??"":Z(r):void 0,placeholder:u,required:o,disabled:a,min:M,max:y,step:1/Math.pow(10,w),onFocus:X,onBlur:le,onChange:U,className:J("border rounded-md bg-white dark:bg-neutral-800 block w-full font-medium text-neutral-900 dark:text-neutral-100","transition-colors duration-200 ease-in-out focus:outline-none focus:ring-2",oe.height,oe.padding,oe.fontSize,E?oe.symbolPadding:"",V(),b?"pr-20":"",a&&"opacity-50 cursor-not-allowed bg-neutral-50 dark:bg-neutral-700",f),style:I,"aria-required":o,"aria-invalid":s&&c==="error"?"true":"false","aria-describedby":s||m?`${e}-description`:void 0}),b&&h.jsx("div",{className:"absolute inset-y-0 right-0 flex items-center",children:h.jsxs("div",{className:"relative",children:[h.jsxs("button",{type:"button",onClick:()=>H(!P),disabled:a,className:J("px-3 py-1 text-sm text-gray-700 dark:text-gray-300 hover:bg-gray-50 dark:hover:bg-gray-700 rounded-r-md border-l border-gray-300 dark:border-gray-600 transition-colors",a&&"opacity-50 cursor-not-allowed"),children:[D,h.jsx("svg",{className:"w-4 h-4 ml-1 inline-block",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:h.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})]}),P&&h.jsx("div",{className:"absolute top-full right-0 mt-1 w-64 bg-white dark:bg-gray-800 border border-gray-300 dark:border-gray-600 rounded-md shadow-lg z-50 max-h-60 overflow-y-auto",children:j.map(_=>h.jsxs("button",{type:"button",onClick:()=>S(_.value),className:"w-full px-4 py-2 text-left text-sm text-gray-700 dark:text-gray-300 hover:bg-gray-50 dark:hover:bg-gray-700 flex justify-between items-center",children:[h.jsxs("span",{children:[_.value," - ",_.label]}),h.jsx("span",{className:"text-gray-500",children:_.symbol})]},_.value))})]})}),P&&h.jsx("div",{className:"fixed inset-0 z-40",onClick:()=>H(!1)})]}),h.jsx(Be.AnimatePresence,{children:s&&h.jsx(Be.motion.div,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},id:`${e}-description`,role:c==="error"?"alert":void 0,children:h.jsx(ie,{className:J("mt-1",$()),appearance:"custom",size:"extra-small",variant:"medium",children:s})})}),m&&!s&&h.jsx("div",{id:`${e}-description`,className:"sr-only",children:m})]})});tc.displayName="CurrencyInputField";const nc=l.forwardRef(({id:e,label:t,value:n,defaultValue:r,onChange:i,disabled:a=!1,required:o=!1,message:u,messageType:s="default",wrapperClassName:c,inputClassName:d,labelClassName:f,helpText:p,size:m="medium",minDate:g,maxDate:v,startPlaceholder:b="Start date",endPlaceholder:x="End date",allowClear:E=!0,inputProps:C},M)=>{const y=n!==void 0?n:r||{startDate:null,endDate:null},w=()=>{switch(m){case"small":return{height:"h-7",padding:"px-2 py-1",fontSize:"text-xs"};case"large":return{height:"h-10",padding:"px-4 py-2",fontSize:"text-base"};default:return{height:"h-8",padding:"px-3 py-1.5",fontSize:"text-sm"}}},k=()=>s==="error"?"border-red-300 focus:border-red-500 focus:ring-red-200 dark:focus:ring-red-400/20":s==="success"?"border-green-300 focus:border-green-500 focus:ring-green-200 dark:focus:ring-green-400/20":s==="info"?"border-blue-300 focus:border-blue-500 focus:ring-blue-200 dark:focus:ring-blue-400/20":"border-neutral-300 dark:border-neutral-600 focus:border-primary-500 dark:focus:border-primary-400 focus:ring-primary-200 dark:focus:ring-primary-400/20",I=()=>s==="error"?"text-red-500 dark:text-red-400":s==="success"?"text-green-500 dark:text-green-400":s==="info"?"text-blue-500 dark:text-blue-400":"text-neutral-500 dark:text-neutral-400",z=()=>{switch(m){case"small":return"extra-small";case"large":return"medium";default:return"small"}},F=W=>{if(!W)return"";const V=W.getFullYear(),$=String(W.getMonth()+1).padStart(2,"0"),A=String(W.getDate()).padStart(2,"0");return`${V}-${$}-${A}`},N=W=>{if(!W)return null;const V=new Date(W);return isNaN(V.getTime())?null:V},D=W=>{const V=N(W.target.value);i({startDate:V,endDate:y.endDate})},O=W=>{const V=N(W.target.value);i({startDate:y.startDate,endDate:V})},P=()=>{i({startDate:null,endDate:null})},H=W=>W?F(W):void 0,j=w();return h.jsxs("div",{className:J("flex flex-col w-full",c),ref:M,children:[t&&h.jsx("label",{htmlFor:`${e}-start`,className:J("mb-1 text-xs font-medium text-gray-600 dark:text-gray-300 inline-flex items-center gap-1",f),children:h.jsx("div",{className:"flex flex-wrap items-center justify-between w-full",children:h.jsx("div",{className:"inline-flex flex-wrap items-center gap-1",children:h.jsxs(ie,{variant:"medium",size:z(),appearance:"subtitle",children:[t,o&&h.jsx("span",{className:"text-red-500 ml-1",children:"*"})]})})})}),p&&h.jsx(ie,{className:"mb-2 text-neutral-600 dark:text-neutral-400",appearance:"custom",size:"extra-small",variant:"regular",children:p}),h.jsxs("div",{className:"flex items-center gap-2",children:[h.jsx("div",{className:"flex-1",children:h.jsx("input",{...C,id:`${e}-start`,type:"date",value:F(y.startDate),onChange:D,disabled:a,required:o,min:H(g),max:H(v),placeholder:b,className:J("border rounded-md bg-white dark:bg-neutral-800 block w-full font-medium text-neutral-900 dark:text-neutral-100","transition-colors duration-200 ease-in-out focus:outline-none focus:ring-2",j.height,j.padding,j.fontSize,k(),a&&"opacity-50 cursor-not-allowed bg-neutral-50 dark:bg-neutral-700",d),"aria-required":o,"aria-invalid":u&&s==="error"?"true":"false","aria-describedby":u||p?`${e}-description`:void 0})}),h.jsx("div",{className:"flex-shrink-0 text-neutral-500 dark:text-neutral-400",children:h.jsx("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:h.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M18 12H6"})})}),h.jsx("div",{className:"flex-1",children:h.jsx("input",{...C,id:`${e}-end`,type:"date",value:F(y.endDate),onChange:O,disabled:a,required:o,min:H(y.startDate||g),max:H(v),placeholder:x,className:J("border rounded-md bg-white dark:bg-neutral-800 block w-full font-medium text-neutral-900 dark:text-neutral-100","transition-colors duration-200 ease-in-out focus:outline-none focus:ring-2",j.height,j.padding,j.fontSize,k(),a&&"opacity-50 cursor-not-allowed bg-neutral-50 dark:bg-neutral-700",d),"aria-required":o,"aria-invalid":u&&s==="error"?"true":"false","aria-describedby":u||p?`${e}-description`:void 0})}),E&&(y.startDate||y.endDate)&&!a&&h.jsx("button",{type:"button",onClick:P,className:"flex-shrink-0 p-1 text-neutral-500 hover:text-neutral-700 dark:text-neutral-400 dark:hover:text-neutral-200 transition-colors","aria-label":"Clear date range",children:h.jsx("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:h.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]}),h.jsx("div",{className:"absolute right-3 top-1/2 transform -translate-y-1/2 pointer-events-none text-neutral-400 dark:text-neutral-500",children:h.jsx("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:h.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"})})}),h.jsx(Be.AnimatePresence,{children:u&&h.jsx(Be.motion.div,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},id:`${e}-description`,role:s==="error"?"alert":void 0,children:h.jsx(ie,{className:J("mt-1",I()),appearance:"custom",size:"extra-small",variant:"medium",children:u})})}),p&&!u&&h.jsx("div",{id:`${e}-description`,className:"sr-only",children:p})]})});nc.displayName="DateRange";const rc=l.forwardRef(({id:e,label:t,value:n,defaultValue:r,onChange:i,onImmediateChange:a,disabled:o=!1,required:u=!1,placeholder:s,message:c,messageType:d="default",wrapperClassName:f,inputClassName:p,labelClassName:m,helpText:g,size:v="medium",type:b="text",debounceTimeout:x=300,min:E,max:C,maxLength:M,pattern:y,inputProps:w,inputStyle:k,onKeyDown:I,onFocus:z,onBlur:F},N)=>{const[D,O]=l.useState(n||r||""),[P,H]=l.useState(n||r||""),j=()=>{switch(v){case"small":return{height:"h-7",padding:"px-2 py-1",fontSize:"text-xs"};case"large":return{height:"h-10",padding:"px-4 py-2",fontSize:"text-base"};default:return{height:"h-8",padding:"px-3 py-1.5",fontSize:"text-sm"}}},W=()=>d==="error"?"border-red-300 focus:border-red-500 focus:ring-red-200 dark:focus:ring-red-400/20":d==="success"?"border-green-300 focus:border-green-500 focus:ring-green-200 dark:focus:ring-green-400/20":d==="info"?"border-blue-300 focus:border-blue-500 focus:ring-blue-200 dark:focus:ring-blue-400/20":"border-neutral-300 dark:border-neutral-600 focus:border-primary-500 dark:focus:border-primary-400 focus:ring-primary-200 dark:focus:ring-primary-400/20",V=()=>d==="error"?"text-red-500 dark:text-red-400":d==="success"?"text-green-500 dark:text-green-400":d==="info"?"text-blue-500 dark:text-blue-400":"text-neutral-500 dark:text-neutral-400",$=()=>{switch(v){case"small":return"extra-small";case"large":return"medium";default:return"small"}};l.useEffect(()=>{const U=setTimeout(()=>{P!==D&&(H(D),i(D))},x);return()=>clearTimeout(U)},[D,x,i,P]),l.useEffect(()=>{n!==void 0&&n!==D&&(O(n),H(n))},[n,D]);const A=l.useCallback(U=>{const S=U.target.value;O(S),a?.(S)},[a]),Z=j();return h.jsxs("div",{className:J("flex flex-col w-full",f),children:[t&&h.jsx("label",{htmlFor:e,className:J("mb-1 text-xs font-medium text-gray-600 dark:text-gray-300 inline-flex items-center gap-1",m),children:h.jsx("div",{className:"flex flex-wrap items-center justify-between w-full",children:h.jsx("div",{className:"inline-flex flex-wrap items-center gap-1",children:h.jsxs(ie,{variant:"medium",size:$(),appearance:"subtitle",children:[t,u&&h.jsx("span",{className:"text-red-500 ml-1",children:"*"})]})})})}),g&&h.jsx(ie,{className:"mb-2 text-neutral-600 dark:text-neutral-400",appearance:"custom",size:"extra-small",variant:"regular",children:g}),h.jsxs("div",{className:"relative",children:[h.jsx("input",{...w,ref:N,id:e,type:b,value:D,defaultValue:r,placeholder:s,required:u,disabled:o,min:E,max:C,maxLength:M,pattern:y,onChange:A,onKeyDown:I,onFocus:z,onBlur:F,className:J("border rounded-md bg-white dark:bg-neutral-800 block w-full font-medium text-neutral-900 dark:text-neutral-100","transition-colors duration-200 ease-in-out focus:outline-none focus:ring-2",Z.height,Z.padding,Z.fontSize,W(),o&&"opacity-50 cursor-not-allowed bg-neutral-50 dark:bg-neutral-700",p),style:k,"aria-required":u,"aria-invalid":c&&d==="error"?"true":"false","aria-describedby":c||g?`${e}-description`:void 0}),D!==P&&h.jsx("div",{className:"absolute right-2 top-1/2 transform -translate-y-1/2",children:h.jsx("div",{className:"w-2 h-2 bg-blue-500 rounded-full animate-pulse"})})]}),M&&h.jsx("div",{className:"mt-1 text-right",children:h.jsxs(ie,{className:J("text-xs",D.length>M*.9?"text-orange-500":D.length===M?"text-red-500":"text-neutral-400 dark:text-neutral-500"),appearance:"custom",size:"extra-small",children:[D.length,"/",M]})}),h.jsx(Be.AnimatePresence,{children:c&&h.jsx(Be.motion.div,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},id:`${e}-description`,role:d==="error"?"alert":void 0,children:h.jsx(ie,{className:J("mt-1",V()),appearance:"custom",size:"extra-small",variant:"medium",children:c})})}),g&&!c&&h.jsx("div",{id:`${e}-description`,className:"sr-only",children:g})]})});rc.displayName="DebounceInputField";const ic=l.forwardRef(({id:e,label:t,value:n,defaultValue:r,onChange:i,disabled:a=!1,required:o=!1,placeholder:u,message:s,messageType:c="default",wrapperClassName:d,inputClassName:f,labelClassName:p,helpText:m,size:g="medium",min:v=0,max:b=100,step:x=.01,decimalPlaces:E=2,showSymbol:C=!0,allowNegative:M=!1,inputProps:y,inputStyle:w,onKeyDown:k,onFocus:I,onBlur:z},F)=>{const N=()=>{switch(g){case"small":return{height:"h-7",padding:"px-2 py-1",fontSize:"text-xs",symbolPadding:"pr-8"};case"large":return{height:"h-10",padding:"px-4 py-2",fontSize:"text-base",symbolPadding:"pr-10"};default:return{height:"h-8",padding:"px-3 py-1.5",fontSize:"text-sm",symbolPadding:"pr-9"}}},D=()=>c==="error"?"border-red-300 focus:border-red-500 focus:ring-red-200 dark:focus:ring-red-400/20":c==="success"?"border-green-300 focus:border-green-500 focus:ring-green-200 dark:focus:ring-green-400/20":c==="info"?"border-blue-300 focus:border-blue-500 focus:ring-blue-200 dark:focus:ring-blue-400/20":"border-neutral-300 dark:border-neutral-600 focus:border-primary-500 dark:focus:border-primary-400 focus:ring-primary-200 dark:focus:ring-primary-400/20",O=()=>c==="error"?"text-red-500 dark:text-red-400":c==="success"?"text-green-500 dark:text-green-400":c==="info"?"text-blue-500 dark:text-blue-400":"text-neutral-500 dark:text-neutral-400",P=()=>{switch(g){case"small":return"extra-small";case"large":return"medium";default:return"small"}},H=$=>{const A=$.target.value;if(A===""||A===null||A===void 0)i(null);else{const Z=Number(A);if(!isNaN(Z)){let U=Z;!M&&U<0&&(U=0),v!==void 0&&U<v&&(U=v),b!==void 0&&U>b&&(U=b);const S=Math.pow(10,E);U=Math.round(U*S)/S,i(U)}}},j=$=>{I?.($)},W=$=>{z?.($)},V=N();return h.jsxs("div",{className:J("flex flex-col w-full",d),children:[t&&h.jsx("label",{htmlFor:e,className:J("mb-1 text-xs font-medium text-gray-600 dark:text-gray-300 inline-flex items-center gap-1",p),children:h.jsx("div",{className:"flex flex-wrap items-center justify-between w-full",children:h.jsx("div",{className:"inline-flex flex-wrap items-center gap-1",children:h.jsxs(ie,{variant:"medium",size:P(),appearance:"subtitle",children:[t,o&&h.jsx("span",{className:"text-red-500 ml-1",children:"*"})]})})})}),m&&h.jsx(ie,{className:"mb-2 text-neutral-600 dark:text-neutral-400",appearance:"custom",size:"extra-small",variant:"regular",children:m}),h.jsxs("div",{className:"relative",children:[h.jsx("input",{...y,ref:F,id:e,type:"number",value:n??"",defaultValue:r??"",placeholder:u,required:o,disabled:a,min:M?void 0:v,max:b,step:x,onChange:H,onKeyDown:k,onFocus:j,onBlur:W,className:J("border rounded-md bg-white dark:bg-neutral-800 block w-full font-medium text-neutral-900 dark:text-neutral-100","transition-colors duration-200 ease-in-out focus:outline-none focus:ring-2",V.height,V.padding,V.fontSize,C?V.symbolPadding:"",D(),a&&"opacity-50 cursor-not-allowed bg-neutral-50 dark:bg-neutral-700",f),style:w,"aria-required":o,"aria-invalid":s&&c==="error"?"true":"false","aria-describedby":s||m?`${e}-description`:void 0}),C&&h.jsx("span",{className:"absolute inset-y-0 right-0 flex items-center pr-3 text-neutral-900 dark:text-neutral-100 pointer-events-none",children:"%"})]}),n!=null&&h.jsxs("div",{className:"mt-1 flex justify-between items-center text-xs",children:[h.jsxs("div",{className:"flex items-center gap-2",children:[n<v&&h.jsxs("span",{className:"text-orange-500",children:["Below minimum (",v,"%)"]}),n>b&&h.jsxs("span",{className:"text-orange-500",children:["Above maximum (",b,"%)"]}),n>=v&&n<=b&&h.jsx("span",{className:"text-green-500",children:"Valid range"})]}),h.jsxs("span",{className:"text-neutral-400 dark:text-neutral-500",children:[n.toFixed(E),"%"]})]}),h.jsx(Be.AnimatePresence,{children:s&&h.jsx(Be.motion.div,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},id:`${e}-description`,role:c==="error"?"alert":void 0,children:h.jsx(ie,{className:J("mt-1",O()),appearance:"custom",size:"extra-small",variant:"medium",children:s})})}),m&&!s&&h.jsx("div",{id:`${e}-description`,className:"sr-only",children:m})]})});ic.displayName="PercentageInputField";var dr=(e=>(e.LEFT="left",e.RIGHT="right",e.TOP="top",e))(dr||{});const H8=(e,t,n,r="medium")=>{const i={small:"w-7 h-4 after:h-3 after:w-3 after:top-0.5 after:left-0.5",medium:"w-9 h-5 after:h-4 after:w-4 after:top-0.5 after:left-0.5",large:"w-11 h-6 after:h-5 after:w-5 after:top-0.5 after:left-0.5"},a={small:"peer-checked:after:translate-x-3",medium:"peer-checked:after:translate-x-full",large:"peer-checked:after:translate-x-5"};return J("p-0.5 rounded-full peer after:content-[''] after:absolute after:rounded-full after:transition-all bg-gray-200 dark:bg-black-400",i[r],a[r],{"peer-checked:bg-primary-600 dark:peer-checked:bg-primary-700 peer-checked:after:translate-x-full after:bg-white dark:after:bg-primary-500":e,"after:bg-white dark:after:bg-black-500":!e,"text-white dark:text-black-900":t,"cursor-not-allowed opacity-70":n})},B8=({size:e=18,fill:t="#016DCF"})=>h.jsx("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"none",children:h.jsx("path",{d:"M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z",fill:t})}),D8=({size:e=18,fill:t="#101828"})=>h.jsx("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"none",children:h.jsx("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z",fill:t})}),ao=l.forwardRef(({isGTN:e=!1,isChecked:t,id:n,onChange:r,label:i,required:a,isRequiredConditional:o=!1,originalCase:u=!1,hideStatus:s=!1,labelDirection:c=dr.TOP,statusText:d,withIcon:f=!1,tags:p,isAiExtracted:m=!1,tooltip:g="",className:v="",isDisabled:b=!1,icon:x,stopClickPropagation:E=!0,gtnName:C,variant:M="primary",labelClassName:y,isLiveField:w=!1,message:k,messageType:I="default",wrapperClassName:z,helpText:F,size:N="medium",renderAiExtractedIndicator:D,renderLabels:O,renderRequired:P,renderTooltip:H,renderLiveFieldIcon:j,renderGTNAddButton:W,onAddGTNToDocument:V},$)=>{const A=c===dr.TOP,Z=c===dr.LEFT,U=c===dr.RIGHT,[S,X]=l.useState(!1),le=()=>{V&&V({key:C,value:t?"Yes":"No"})},oe=()=>I==="error"?"text-red-500 dark:text-red-400":I==="success"?"text-green-500 dark:text-green-400":I==="info"?"text-primary-500 dark:text-primary-400":"text-neutral-500 dark:text-neutral-400",_=Y=>h.jsx("span",{className:`ml-0.5 ${Y?"text-yellow-500":"text-red-500"}`,children:"*"}),ne=Y=>!Y||Y.length===0?null:h.jsx("span",{className:"inline-flex gap-1 ml-1",children:Y.map((we,We)=>{const re=typeof we=="string"?we:we.label,Pe=typeof we=="string"?void 0:we.color;return h.jsx("span",{className:"px-1.5 py-0.5 text-xs rounded bg-gray-100 dark:bg-gray-700 text-gray-600 dark:text-gray-300",style:Pe?{backgroundColor:Pe}:void 0,children:re},We)})});return h.jsxs("div",{className:J("flex gap-0.5",S&&e?"border rounded-lg border-primary-100 bg-primary-50 p-1":"",z),onMouseEnter:()=>X(!0),onMouseLeave:()=>X(!1),onClick:Y=>{E&&Y.stopPropagation()},children:[e&&!S?h.jsx("div",{className:"w-1 h-1 bg-primary-600 rounded-full animate-pulse mt-1.5"}):null,h.jsxs("div",{className:"w-full flex flex-col",children:[A&&i&&h.jsxs("div",{className:"w-full flex justify-between flex-wrap",children:[h.jsxs("h1",{className:J("mb-1 font-inter text-neutral-600 font-medium text-xs flex items-center gap-0.5 flex-wrap",y),children:[h.jsxs(ie,{size:"extra-small",variant:"medium",className:u?"":"capitalize",appearance:"subtitle",children:[i,a&&(P?P(o):_(o))]}),w&&j&&j(),m&&D&&D(),O?O(p):ne(p),g&&H&&H(g)]}),e&&S&&W?W(le):null]}),F&&h.jsx(ie,{className:"mb-2 text-neutral-600 dark:text-neutral-400",appearance:"custom",size:"extra-small",variant:"regular",children:F}),h.jsxs("div",{className:"flex",children:[Z&&h.jsx(ie,{size:"small",variant:"medium",className:J("mr-2 text-neutral-700 dark:text-black-200",y),appearance:"custom",children:i}),h.jsxs("label",{className:J("relative inline-flex items-center",U||d?"":"w-min",b?"cursor-not-allowed opacity-50":"cursor-pointer"),onClick:Y=>Y.stopPropagation(),children:[h.jsx("input",{ref:$,type:"checkbox",id:n,onChange:Y=>!b&&r(Y.target.checked),value:"",disabled:b,checked:t,className:J("sr-only peer w-full",v),"aria-required":a,"aria-invalid":k&&I==="error"?"true":"false","aria-describedby":k||F?`${n}-description`:void 0}),h.jsx("div",{className:H8(t,f,b,N),children:f?h.jsx("div",{className:"flex items-center justify-center h-full",children:h.jsx("div",{className:J("z-10 transition-all transform",N==="small"&&(t?"translate-x-2":"translate-x-[-6px]"),N==="medium"&&(t?"translate-x-[8.5px]":"translate-x-[-8px]"),N==="large"&&(t?"translate-x-2.5":"translate-x-[-10px]")),children:t?x?.checkedIcon?x.checkedIcon:h.jsx(B8,{size:18,fill:"#016DCF"}):x?.uncheckedIcon?x.uncheckedIcon:h.jsx(D8,{size:18,fill:"#101828"})})}):null}),U&&h.jsx(ie,{size:"small",variant:"medium",className:J("ml-2 text-neutral-700 dark:text-black-300",y),appearance:"custom",children:i}),s?null:h.jsx(ie,{size:"small",variant:"medium",className:"ml-2 text-neutral-900 dark:text-black-100",appearance:"custom",children:d||(t?"Yes":"No")})]})]}),h.jsx(Be.AnimatePresence,{children:k&&h.jsx(Be.motion.div,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},id:`${n}-description`,role:I==="error"?"alert":void 0,children:h.jsx(ie,{className:J("mt-1",oe()),appearance:"custom",size:"extra-small",variant:"medium",children:k})})}),F&&!k&&h.jsx("div",{id:`${n}-description`,className:"sr-only",children:F})]})]})});ao.displayName="Toggle";function rL(){}function iL(){}function L8(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const T8=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,P8=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,O8={};function lc(e,t){return(O8.jsx?P8:T8).test(e)}const j8=/[ \t\n\f\r]/g;function V8(e){return typeof e=="object"?e.type==="text"?ac(e.value):!1:ac(e)}function ac(e){return e.replace(j8,"")===""}class Ur{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}}Ur.prototype.normal={},Ur.prototype.property={},Ur.prototype.space=void 0;function oc(e,t){const n={},r={};for(const i of e)Object.assign(n,i.property),Object.assign(r,i.normal);return new Ur(n,r,t)}function oo(e){return e.toLowerCase()}class pt{constructor(t,n){this.attribute=n,this.property=t}}pt.prototype.attribute="",pt.prototype.booleanish=!1,pt.prototype.boolean=!1,pt.prototype.commaOrSpaceSeparated=!1,pt.prototype.commaSeparated=!1,pt.prototype.defined=!1,pt.prototype.mustUseProperty=!1,pt.prototype.number=!1,pt.prototype.overloadedBoolean=!1,pt.prototype.property="",pt.prototype.spaceSeparated=!1,pt.prototype.space=void 0;let G8=0;const Ee=Wn(),Ye=Wn(),so=Wn(),R=Wn(),Ge=Wn(),fr=Wn(),Ct=Wn();function Wn(){return 2**++G8}const uo=Object.freeze(Object.defineProperty({__proto__:null,boolean:Ee,booleanish:Ye,commaOrSpaceSeparated:Ct,commaSeparated:fr,number:R,overloadedBoolean:so,spaceSeparated:Ge},Symbol.toStringTag,{value:"Module"})),co=Object.keys(uo);class fo extends pt{constructor(t,n,r,i){let a=-1;if(super(t,n),sc(this,"space",i),typeof r=="number")for(;++a<co.length;){const o=co[a];sc(this,co[a],(r&uo[o])===uo[o])}}}fo.prototype.defined=!0;function sc(e,t,n){n&&(e[t]=n)}function hr(e){const t={},n={};for(const[r,i]of Object.entries(e.properties)){const a=new fo(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(a.mustUseProperty=!0),t[r]=a,n[oo(r)]=r,n[oo(a.attribute)]=r}return new Ur(t,n,e.space)}const uc=hr({properties:{ariaActiveDescendant:null,ariaAtomic:Ye,ariaAutoComplete:null,ariaBusy:Ye,ariaChecked:Ye,ariaColCount:R,ariaColIndex:R,ariaColSpan:R,ariaControls:Ge,ariaCurrent:null,ariaDescribedBy:Ge,ariaDetails:null,ariaDisabled:Ye,ariaDropEffect:Ge,ariaErrorMessage:null,ariaExpanded:Ye,ariaFlowTo:Ge,ariaGrabbed:Ye,ariaHasPopup:null,ariaHidden:Ye,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Ge,ariaLevel:R,ariaLive:null,ariaModal:Ye,ariaMultiLine:Ye,ariaMultiSelectable:Ye,ariaOrientation:null,ariaOwns:Ge,ariaPlaceholder:null,ariaPosInSet:R,ariaPressed:Ye,ariaReadOnly:Ye,ariaRelevant:null,ariaRequired:Ye,ariaRoleDescription:Ge,ariaRowCount:R,ariaRowIndex:R,ariaRowSpan:R,ariaSelected:Ye,ariaSetSize:R,ariaSort:null,ariaValueMax:R,ariaValueMin:R,ariaValueNow:R,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function cc(e,t){return t in e?e[t]:t}function dc(e,t){return cc(e,t.toLowerCase())}const _8=hr({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:fr,acceptCharset:Ge,accessKey:Ge,action:null,allow:null,allowFullScreen:Ee,allowPaymentRequest:Ee,allowUserMedia:Ee,alt:null,as:null,async:Ee,autoCapitalize:null,autoComplete:Ge,autoFocus:Ee,autoPlay:Ee,blocking:Ge,capture:null,charSet:null,checked:Ee,cite:null,className:Ge,cols:R,colSpan:null,content:null,contentEditable:Ye,controls:Ee,controlsList:Ge,coords:R|fr,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Ee,defer:Ee,dir:null,dirName:null,disabled:Ee,download:so,draggable:Ye,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Ee,formTarget:null,headers:Ge,height:R,hidden:so,high:R,href:null,hrefLang:null,htmlFor:Ge,httpEquiv:Ge,id:null,imageSizes:null,imageSrcSet:null,inert:Ee,inputMode:null,integrity:null,is:null,isMap:Ee,itemId:null,itemProp:Ge,itemRef:Ge,itemScope:Ee,itemType:Ge,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Ee,low:R,manifest:null,max:null,maxLength:R,media:null,method:null,min:null,minLength:R,multiple:Ee,muted:Ee,name:null,nonce:null,noModule:Ee,noValidate:Ee,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Ee,optimum:R,pattern:null,ping:Ge,placeholder:null,playsInline:Ee,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Ee,referrerPolicy:null,rel:Ge,required:Ee,reversed:Ee,rows:R,rowSpan:R,sandbox:Ge,scope:null,scoped:Ee,seamless:Ee,selected:Ee,shadowRootClonable:Ee,shadowRootDelegatesFocus:Ee,shadowRootMode:null,shape:null,size:R,sizes:null,slot:null,span:R,spellCheck:Ye,src:null,srcDoc:null,srcLang:null,srcSet:null,start:R,step:null,style:null,tabIndex:R,target:null,title:null,translate:null,type:null,typeMustMatch:Ee,useMap:null,value:Ye,width:R,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Ge,axis:null,background:null,bgColor:null,border:R,borderColor:null,bottomMargin:R,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Ee,declare:Ee,event:null,face:null,frame:null,frameBorder:null,hSpace:R,leftMargin:R,link:null,longDesc:null,lowSrc:null,marginHeight:R,marginWidth:R,noResize:Ee,noHref:Ee,noShade:Ee,noWrap:Ee,object:null,profile:null,prompt:null,rev:null,rightMargin:R,rules:null,scheme:null,scrolling:Ye,standby:null,summary:null,text:null,topMargin:R,valueType:null,version:null,vAlign:null,vLink:null,vSpace:R,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Ee,disableRemotePlayback:Ee,prefix:null,property:null,results:R,security:null,unselectable:null},space:"html",transform:dc}),W8=hr({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:Ct,accentHeight:R,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:R,amplitude:R,arabicForm:null,ascent:R,attributeName:null,attributeType:null,azimuth:R,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:R,by:null,calcMode:null,capHeight:R,className:Ge,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:R,diffuseConstant:R,direction:null,display:null,dur:null,divisor:R,dominantBaseline:null,download:Ee,dx:null,dy:null,edgeMode:null,editable:null,elevation:R,enableBackground:null,end:null,event:null,exponent:R,externalResourcesRequired:null,fill:null,fillOpacity:R,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:fr,g2:fr,glyphName:fr,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:R,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:R,horizOriginX:R,horizOriginY:R,id:null,ideographic:R,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:R,k:R,k1:R,k2:R,k3:R,k4:R,kernelMatrix:Ct,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:R,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:R,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:R,overlineThickness:R,paintOrder:null,panose1:null,path:null,pathLength:R,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Ge,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:R,pointsAtY:R,pointsAtZ:R,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Ct,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Ct,rev:Ct,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Ct,requiredFeatures:Ct,requiredFonts:Ct,requiredFormats:Ct,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:R,specularExponent:R,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:R,strikethroughThickness:R,string:null,stroke:null,strokeDashArray:Ct,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:R,strokeOpacity:R,strokeWidth:null,style:null,surfaceScale:R,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Ct,tabIndex:R,tableValues:null,target:null,targetX:R,targetY:R,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Ct,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:R,underlineThickness:R,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:R,values:null,vAlphabetic:R,vMathematical:R,vectorEffect:null,vHanging:R,vIdeographic:R,version:null,vertAdvY:R,vertOriginX:R,vertOriginY:R,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:R,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:cc}),fc=hr({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),hc=hr({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:dc}),mc=hr({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),$8={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},X8=/[A-Z]/g,pc=/-[a-z]/g,U8=/^data[-\w.:]+$/i;function J8(e,t){const n=oo(t);let r=t,i=pt;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&U8.test(t)){if(t.charAt(4)==="-"){const a=t.slice(5).replace(pc,Y8);r="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{const a=t.slice(4);if(!pc.test(a)){let o=a.replace(X8,Z8);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}i=fo}return new i(r,t)}function Z8(e){return"-"+e.toLowerCase()}function Y8(e){return e.charAt(1).toUpperCase()}const q8=oc([uc,_8,fc,hc,mc],"html"),ho=oc([uc,W8,fc,hc,mc],"svg");function Q8(e){return e.join(" ").trim()}var mr={},mo,gc;function K8(){if(gc)return mo;gc=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,n=/^\s*/,r=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,o=/^[;\s]*/,u=/^\s+|\s+$/g,s=`
|
|
69
69
|
`,c="/",d="*",f="",p="comment",m="declaration";function g(b,x){if(typeof b!="string")throw new TypeError("First argument must be a string");if(!b)return[];x=x||{};var E=1,C=1;function M(P){var H=P.match(t);H&&(E+=H.length);var j=P.lastIndexOf(s);C=~j?P.length-j:C+P.length}function y(){var P={line:E,column:C};return function(H){return H.position=new w(P),z(),H}}function w(P){this.start=P,this.end={line:E,column:C},this.source=x.source}w.prototype.content=b;function k(P){var H=new Error(x.source+":"+E+":"+C+": "+P);if(H.reason=P,H.filename=x.source,H.line=E,H.column=C,H.source=b,!x.silent)throw H}function I(P){var H=P.exec(b);if(H){var j=H[0];return M(j),b=b.slice(j.length),H}}function z(){I(n)}function F(P){var H;for(P=P||[];H=N();)H!==!1&&P.push(H);return P}function N(){var P=y();if(!(c!=b.charAt(0)||d!=b.charAt(1))){for(var H=2;f!=b.charAt(H)&&(d!=b.charAt(H)||c!=b.charAt(H+1));)++H;if(H+=2,f===b.charAt(H-1))return k("End of comment missing");var j=b.slice(2,H-2);return C+=2,M(j),b=b.slice(H),C+=2,P({type:p,comment:j})}}function D(){var P=y(),H=I(r);if(H){if(N(),!I(i))return k("property missing ':'");var j=I(a),W=P({type:m,property:v(H[0].replace(e,f)),value:j?v(j[0].replace(e,f)):f});return I(o),W}}function O(){var P=[];F(P);for(var H;H=D();)H!==!1&&(P.push(H),F(P));return P}return z(),O()}function v(b){return b?b.replace(u,f):f}return mo=g,mo}var vc;function R8(){if(vc)return mr;vc=1;var e=mr&&mr.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(mr,"__esModule",{value:!0}),mr.default=n;const t=e(K8());function n(r,i){let a=null;if(!r||typeof r!="string")return a;const o=(0,t.default)(r),u=typeof i=="function";return o.forEach(s=>{if(s.type!=="declaration")return;const{property:c,value:d}=s;u?i(c,d,s):d&&(a=a||{},a[c]=d)}),a}return mr}var Jr={},bc;function e9(){if(bc)return Jr;bc=1,Object.defineProperty(Jr,"__esModule",{value:!0}),Jr.camelCase=void 0;var e=/^--[a-zA-Z0-9_-]+$/,t=/-([a-z])/g,n=/^[^-]+$/,r=/^-(webkit|moz|ms|o|khtml)-/,i=/^-(ms)-/,a=function(c){return!c||n.test(c)||e.test(c)},o=function(c,d){return d.toUpperCase()},u=function(c,d){return"".concat(d,"-")},s=function(c,d){return d===void 0&&(d={}),a(c)?c:(c=c.toLowerCase(),d.reactCompat?c=c.replace(i,u):c=c.replace(r,u),c.replace(t,o))};return Jr.camelCase=s,Jr}var Zr,xc;function t9(){if(xc)return Zr;xc=1;var e=Zr&&Zr.__importDefault||function(i){return i&&i.__esModule?i:{default:i}},t=e(R8()),n=e9();function r(i,a){var o={};return!i||typeof i!="string"||(0,t.default)(i,function(u,s){u&&s&&(o[(0,n.camelCase)(u,a)]=s)}),o}return r.default=r,Zr=r,Zr}var n9=t9();const r9=ir(n9),wc=yc("end"),po=yc("start");function yc(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function i9(e){const t=po(e),n=wc(e);if(t&&n)return{start:t,end:n}}function Yr(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?Ec(e.position):"start"in e||"end"in e?Ec(e):"line"in e||"column"in e?go(e):""}function go(e){return Cc(e&&e.line)+":"+Cc(e&&e.column)}function Ec(e){return go(e&&e.start)+"-"+go(e&&e.end)}function Cc(e){return e&&typeof e=="number"?e:1}class it extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let i="",a={},o=!1;if(n&&("line"in n&&"column"in n?a={place:n}:"start"in n&&"end"in n?a={place:n}:"type"in n?a={ancestors:[n],place:n.position}:a={...n}),typeof t=="string"?i=t:!a.cause&&t&&(o=!0,i=t.message,a.cause=t),!a.ruleId&&!a.source&&typeof r=="string"){const s=r.indexOf(":");s===-1?a.ruleId=r:(a.source=r.slice(0,s),a.ruleId=r.slice(s+1))}if(!a.place&&a.ancestors&&a.ancestors){const s=a.ancestors[a.ancestors.length-1];s&&(a.place=s.position)}const u=a.place&&"start"in a.place?a.place.start:a.place;this.ancestors=a.ancestors||void 0,this.cause=a.cause||void 0,this.column=u?u.column:void 0,this.fatal=void 0,this.file="",this.message=i,this.line=u?u.line:void 0,this.name=Yr(a.place)||"1:1",this.place=a.place||void 0,this.reason=this.message,this.ruleId=a.ruleId||void 0,this.source=a.source||void 0,this.stack=o&&a.cause&&typeof a.cause.stack=="string"?a.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}it.prototype.file="",it.prototype.name="",it.prototype.reason="",it.prototype.message="",it.prototype.stack="",it.prototype.column=void 0,it.prototype.line=void 0,it.prototype.ancestors=void 0,it.prototype.cause=void 0,it.prototype.fatal=void 0,it.prototype.place=void 0,it.prototype.ruleId=void 0,it.prototype.source=void 0;const vo={}.hasOwnProperty,l9=new Map,a9=/[A-Z]/g,o9=new Set(["table","tbody","thead","tfoot","tr"]),s9=new Set(["td","th"]),Ic="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function u9(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=v9(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=g9(n,t.jsx,t.jsxs)}const i={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?ho:q8,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},a=kc(i,e,void 0);return a&&typeof a!="string"?a:i.create(e,i.Fragment,{children:a||void 0},void 0)}function kc(e,t,n){if(t.type==="element")return c9(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return d9(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return h9(e,t,n);if(t.type==="mdxjsEsm")return f9(e,t);if(t.type==="root")return m9(e,t,n);if(t.type==="text")return p9(e,t)}function c9(e,t,n){const r=e.schema;let i=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(i=ho,e.schema=i),e.ancestors.push(t);const a=Fc(e,t.tagName,!1),o=b9(e,t);let u=xo(e,t);return o9.has(t.tagName)&&(u=u.filter(function(s){return typeof s=="string"?!V8(s):!0})),zc(e,o,a,t),bo(o,u),e.ancestors.pop(),e.schema=r,e.create(t,a,o,n)}function d9(e,t){if(t.data&&t.data.estree&&e.evaluater){const r=t.data.estree.body[0];return r.type,e.evaluater.evaluateExpression(r.expression)}qr(e,t.position)}function f9(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);qr(e,t.position)}function h9(e,t,n){const r=e.schema;let i=r;t.name==="svg"&&r.space==="html"&&(i=ho,e.schema=i),e.ancestors.push(t);const a=t.name===null?e.Fragment:Fc(e,t.name,!0),o=x9(e,t),u=xo(e,t);return zc(e,o,a,t),bo(o,u),e.ancestors.pop(),e.schema=r,e.create(t,a,o,n)}function m9(e,t,n){const r={};return bo(r,xo(e,t)),e.create(t,e.Fragment,r,n)}function p9(e,t){return t.value}function zc(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function bo(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function g9(e,t,n){return r;function r(i,a,o,u){const c=Array.isArray(o.children)?n:t;return u?c(a,o,u):c(a,o)}}function v9(e,t){return n;function n(r,i,a,o){const u=Array.isArray(a.children),s=po(r);return t(i,a,o,u,{columnNumber:s?s.column-1:void 0,fileName:e,lineNumber:s?s.line:void 0},void 0)}}function b9(e,t){const n={};let r,i;for(i in t.properties)if(i!=="children"&&vo.call(t.properties,i)){const a=w9(e,i,t.properties[i]);if(a){const[o,u]=a;e.tableCellAlignToStyle&&o==="align"&&typeof u=="string"&&s9.has(t.tagName)?r=u:n[o]=u}}if(r){const a=n.style||(n.style={});a[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return n}function x9(e,t){const n={};for(const r of t.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&e.evaluater){const a=r.data.estree.body[0];a.type;const o=a.expression;o.type;const u=o.properties[0];u.type,Object.assign(n,e.evaluater.evaluateExpression(u.argument))}else qr(e,t.position);else{const i=r.name;let a;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&e.evaluater){const u=r.value.data.estree.body[0];u.type,a=e.evaluater.evaluateExpression(u.expression)}else qr(e,t.position);else a=r.value===null?!0:r.value;n[i]=a}return n}function xo(e,t){const n=[];let r=-1;const i=e.passKeys?new Map:l9;for(;++r<t.children.length;){const a=t.children[r];let o;if(e.passKeys){const s=a.type==="element"?a.tagName:a.type==="mdxJsxFlowElement"||a.type==="mdxJsxTextElement"?a.name:void 0;if(s){const c=i.get(s)||0;o=s+"-"+c,i.set(s,c+1)}}const u=kc(e,a,o);u!==void 0&&n.push(u)}return n}function w9(e,t,n){const r=J8(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?L8(n):Q8(n)),r.property==="style"){let i=typeof n=="object"?n:y9(e,String(n));return e.stylePropertyNameCase==="css"&&(i=E9(i)),["style",i]}return[e.elementAttributeNameCase==="react"&&r.space?$8[r.property]||r.property:r.attribute,n]}}function y9(e,t){try{return r9(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};const r=n,i=new it("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:r,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw i.file=e.filePath||void 0,i.url=Ic+"#cannot-parse-style-attribute",i}}function Fc(e,t,n){let r;if(!n)r={type:"Literal",value:t};else if(t.includes(".")){const i=t.split(".");let a=-1,o;for(;++a<i.length;){const u=lc(i[a])?{type:"Identifier",name:i[a]}:{type:"Literal",value:i[a]};o=o?{type:"MemberExpression",object:o,property:u,computed:!!(a&&u.type==="Literal"),optional:!1}:u}r=o}else r=lc(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(r.type==="Literal"){const i=r.value;return vo.call(e.components,i)?e.components[i]:i}if(e.evaluater)return e.evaluater.evaluateExpression(r);qr(e)}function qr(e,t){const n=new it("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=Ic+"#cannot-handle-mdx-estrees-without-createevaluater",n}function E9(e){const t={};let n;for(n in e)vo.call(e,n)&&(t[C9(n)]=e[n]);return t}function C9(e){let t=e.replace(a9,I9);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function I9(e){return"-"+e.toLowerCase()}const wo={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},k9={};function yo(e,t){const n=k9,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,i=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return Mc(e,r,i)}function Mc(e,t,n){if(z9(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return Sc(e.children,t,n)}return Array.isArray(e)?Sc(e,t,n):""}function Sc(e,t,n){const r=[];let i=-1;for(;++i<e.length;)r[i]=Mc(e[i],t,n);return r.join("")}function z9(e){return!!(e&&typeof e=="object")}const Ac=document.createElement("i");function Eo(e){const t="&"+e+";";Ac.innerHTML=t;const n=Ac.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function It(e,t,n,r){const i=e.length;let a=0,o;if(t<0?t=-t>i?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(t,n),e.splice(...o);else for(n&&e.splice(t,n);a<r.length;)o=r.slice(a,a+1e4),o.unshift(t,0),e.splice(...o),a+=1e4,t+=1e4}function Nt(e,t){return e.length>0?(It(e,e.length,0,t),e):t}const Nc={}.hasOwnProperty;function Hc(e){const t={};let n=-1;for(;++n<e.length;)F9(t,e[n]);return t}function F9(e,t){let n;for(n in t){const i=(Nc.call(e,n)?e[n]:void 0)||(e[n]={}),a=t[n];let o;if(a)for(o in a){Nc.call(i,o)||(i[o]=[]);const u=a[o];M9(i[o],Array.isArray(u)?u:u?[u]:[])}}}function M9(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);It(e,0,0,r)}function Bc(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCodePoint(n)}function Ot(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const ut=Nn(/[A-Za-z]/),lt=Nn(/[\dA-Za-z]/),S9=Nn(/[#-'*+\--9=?A-Z^-~]/);function hl(e){return e!==null&&(e<32||e===127)}const Co=Nn(/\d/),A9=Nn(/[\dA-Fa-f]/),N9=Nn(/[!-/:-@[-`{-~]/);function ge(e){return e!==null&&e<-2}function Oe(e){return e!==null&&(e<0||e===32)}function ke(e){return e===-2||e===-1||e===32}const ml=Nn(new RegExp("\\p{P}|\\p{S}","u")),$n=Nn(/\s/);function Nn(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function pr(e){const t=[];let n=-1,r=0,i=0;for(;++n<e.length;){const a=e.charCodeAt(n);let o="";if(a===37&<(e.charCodeAt(n+1))&<(e.charCodeAt(n+2)))i=2;else if(a<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(a))||(o=String.fromCharCode(a));else if(a>55295&&a<57344){const u=e.charCodeAt(n+1);a<56320&&u>56319&&u<57344?(o=String.fromCharCode(a,u),i=1):o="�"}else o=String.fromCharCode(a);o&&(t.push(e.slice(r,n),encodeURIComponent(o)),r=n+i+1,o=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function Fe(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let a=0;return o;function o(s){return ke(s)?(e.enter(n),u(s)):t(s)}function u(s){return ke(s)&&a++<i?(e.consume(s),u):(e.exit(n),t(s))}}const H9={tokenize:B9};function B9(e){const t=e.attempt(this.parser.constructs.contentInitial,r,i);let n;return t;function r(u){if(u===null){e.consume(u);return}return e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),Fe(e,t,"linePrefix")}function i(u){return e.enter("paragraph"),a(u)}function a(u){const s=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=s),n=s,o(u)}function o(u){if(u===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(u);return}return ge(u)?(e.consume(u),e.exit("chunkText"),a):(e.consume(u),o)}}const D9={tokenize:L9},Dc={tokenize:T9};function L9(e){const t=this,n=[];let r=0,i,a,o;return u;function u(C){if(r<n.length){const M=n[r];return t.containerState=M[1],e.attempt(M[0].continuation,s,c)(C)}return c(C)}function s(C){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&E();const M=t.events.length;let y=M,w;for(;y--;)if(t.events[y][0]==="exit"&&t.events[y][1].type==="chunkFlow"){w=t.events[y][1].end;break}x(r);let k=M;for(;k<t.events.length;)t.events[k][1].end={...w},k++;return It(t.events,y+1,0,t.events.slice(M)),t.events.length=k,c(C)}return u(C)}function c(C){if(r===n.length){if(!i)return p(C);if(i.currentConstruct&&i.currentConstruct.concrete)return g(C);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(Dc,d,f)(C)}function d(C){return i&&E(),x(r),p(C)}function f(C){return t.parser.lazy[t.now().line]=r!==n.length,o=t.now().offset,g(C)}function p(C){return t.containerState={},e.attempt(Dc,m,g)(C)}function m(C){return r++,n.push([t.currentConstruct,t.containerState]),p(C)}function g(C){if(C===null){i&&E(),x(0),e.consume(C);return}return i=i||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:i,contentType:"flow",previous:a}),v(C)}function v(C){if(C===null){b(e.exit("chunkFlow"),!0),x(0),e.consume(C);return}return ge(C)?(e.consume(C),b(e.exit("chunkFlow")),r=0,t.interrupt=void 0,u):(e.consume(C),v)}function b(C,M){const y=t.sliceStream(C);if(M&&y.push(null),C.previous=a,a&&(a.next=C),a=C,i.defineSkip(C.start),i.write(y),t.parser.lazy[C.start.line]){let w=i.events.length;for(;w--;)if(i.events[w][1].start.offset<o&&(!i.events[w][1].end||i.events[w][1].end.offset>o))return;const k=t.events.length;let I=k,z,F;for(;I--;)if(t.events[I][0]==="exit"&&t.events[I][1].type==="chunkFlow"){if(z){F=t.events[I][1].end;break}z=!0}for(x(r),w=k;w<t.events.length;)t.events[w][1].end={...F},w++;It(t.events,I+1,0,t.events.slice(k)),t.events.length=w}}function x(C){let M=n.length;for(;M-- >C;){const y=n[M];t.containerState=y[1],y[0].exit.call(t,e)}n.length=C}function E(){i.write([null]),a=void 0,i=void 0,t.containerState._closeFlow=void 0}}function T9(e,t,n){return Fe(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function gr(e){if(e===null||Oe(e)||$n(e))return 1;if(ml(e))return 2}function pl(e,t,n){const r=[];let i=-1;for(;++i<e.length;){const a=e[i].resolveAll;a&&!r.includes(a)&&(t=a(t,n),r.push(a))}return t}const Io={name:"attention",resolveAll:P9,tokenize:O9};function P9(e,t){let n=-1,r,i,a,o,u,s,c,d;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(r=n;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;s=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const f={...e[r][1].end},p={...e[n][1].start};Lc(f,-s),Lc(p,s),o={type:s>1?"strongSequence":"emphasisSequence",start:f,end:{...e[r][1].end}},u={type:s>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:p},a={type:s>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[n][1].start}},i={type:s>1?"strong":"emphasis",start:{...o.start},end:{...u.end}},e[r][1].end={...o.start},e[n][1].start={...u.end},c=[],e[r][1].end.offset-e[r][1].start.offset&&(c=Nt(c,[["enter",e[r][1],t],["exit",e[r][1],t]])),c=Nt(c,[["enter",i,t],["enter",o,t],["exit",o,t],["enter",a,t]]),c=Nt(c,pl(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),c=Nt(c,[["exit",a,t],["enter",u,t],["exit",u,t],["exit",i,t]]),e[n][1].end.offset-e[n][1].start.offset?(d=2,c=Nt(c,[["enter",e[n][1],t],["exit",e[n][1],t]])):d=0,It(e,r-1,n-r+3,c),n=r+c.length-d-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function O9(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=gr(r);let a;return o;function o(s){return a=s,e.enter("attentionSequence"),u(s)}function u(s){if(s===a)return e.consume(s),u;const c=e.exit("attentionSequence"),d=gr(s),f=!d||d===2&&i||n.includes(s),p=!i||i===2&&d||n.includes(r);return c._open=!!(a===42?f:f&&(i||!p)),c._close=!!(a===42?p:p&&(d||!f)),t(s)}}function Lc(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const j9={name:"autolink",tokenize:V9};function V9(e,t,n){let r=0;return i;function i(m){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),a}function a(m){return ut(m)?(e.consume(m),o):m===64?n(m):c(m)}function o(m){return m===43||m===45||m===46||lt(m)?(r=1,u(m)):c(m)}function u(m){return m===58?(e.consume(m),r=0,s):(m===43||m===45||m===46||lt(m))&&r++<32?(e.consume(m),u):(r=0,c(m))}function s(m){return m===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.exit("autolink"),t):m===null||m===32||m===60||hl(m)?n(m):(e.consume(m),s)}function c(m){return m===64?(e.consume(m),d):S9(m)?(e.consume(m),c):n(m)}function d(m){return lt(m)?f(m):n(m)}function f(m){return m===46?(e.consume(m),r=0,d):m===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.exit("autolink"),t):p(m)}function p(m){if((m===45||lt(m))&&r++<63){const g=m===45?p:f;return e.consume(m),g}return n(m)}}const Qr={partial:!0,tokenize:G9};function G9(e,t,n){return r;function r(a){return ke(a)?Fe(e,i,"linePrefix")(a):i(a)}function i(a){return a===null||ge(a)?t(a):n(a)}}const Tc={continuation:{tokenize:W9},exit:$9,name:"blockQuote",tokenize:_9};function _9(e,t,n){const r=this;return i;function i(o){if(o===62){const u=r.containerState;return u.open||(e.enter("blockQuote",{_container:!0}),u.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(o),e.exit("blockQuoteMarker"),a}return n(o)}function a(o){return ke(o)?(e.enter("blockQuotePrefixWhitespace"),e.consume(o),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(o))}}function W9(e,t,n){const r=this;return i;function i(o){return ke(o)?Fe(e,a,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o):a(o)}function a(o){return e.attempt(Tc,t,n)(o)}}function $9(e){e.exit("blockQuote")}const Pc={name:"characterEscape",tokenize:X9};function X9(e,t,n){return r;function r(a){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(a),e.exit("escapeMarker"),i}function i(a){return N9(a)?(e.enter("characterEscapeValue"),e.consume(a),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(a)}}const Oc={name:"characterReference",tokenize:U9};function U9(e,t,n){const r=this;let i=0,a,o;return u;function u(f){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),s}function s(f){return f===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(f),e.exit("characterReferenceMarkerNumeric"),c):(e.enter("characterReferenceValue"),a=31,o=lt,d(f))}function c(f){return f===88||f===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(f),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),a=6,o=A9,d):(e.enter("characterReferenceValue"),a=7,o=Co,d(f))}function d(f){if(f===59&&i){const p=e.exit("characterReferenceValue");return o===lt&&!Eo(r.sliceSerialize(p))?n(f):(e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return o(f)&&i++<a?(e.consume(f),d):n(f)}}const jc={partial:!0,tokenize:Z9},Vc={concrete:!0,name:"codeFenced",tokenize:J9};function J9(e,t,n){const r=this,i={partial:!0,tokenize:y};let a=0,o=0,u;return s;function s(w){return c(w)}function c(w){const k=r.events[r.events.length-1];return a=k&&k[1].type==="linePrefix"?k[2].sliceSerialize(k[1],!0).length:0,u=w,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),d(w)}function d(w){return w===u?(o++,e.consume(w),d):o<3?n(w):(e.exit("codeFencedFenceSequence"),ke(w)?Fe(e,f,"whitespace")(w):f(w))}function f(w){return w===null||ge(w)?(e.exit("codeFencedFence"),r.interrupt?t(w):e.check(jc,v,M)(w)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),p(w))}function p(w){return w===null||ge(w)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),f(w)):ke(w)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),Fe(e,m,"whitespace")(w)):w===96&&w===u?n(w):(e.consume(w),p)}function m(w){return w===null||ge(w)?f(w):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),g(w))}function g(w){return w===null||ge(w)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),f(w)):w===96&&w===u?n(w):(e.consume(w),g)}function v(w){return e.attempt(i,M,b)(w)}function b(w){return e.enter("lineEnding"),e.consume(w),e.exit("lineEnding"),x}function x(w){return a>0&&ke(w)?Fe(e,E,"linePrefix",a+1)(w):E(w)}function E(w){return w===null||ge(w)?e.check(jc,v,M)(w):(e.enter("codeFlowValue"),C(w))}function C(w){return w===null||ge(w)?(e.exit("codeFlowValue"),E(w)):(e.consume(w),C)}function M(w){return e.exit("codeFenced"),t(w)}function y(w,k,I){let z=0;return F;function F(H){return w.enter("lineEnding"),w.consume(H),w.exit("lineEnding"),N}function N(H){return w.enter("codeFencedFence"),ke(H)?Fe(w,D,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(H):D(H)}function D(H){return H===u?(w.enter("codeFencedFenceSequence"),O(H)):I(H)}function O(H){return H===u?(z++,w.consume(H),O):z>=o?(w.exit("codeFencedFenceSequence"),ke(H)?Fe(w,P,"whitespace")(H):P(H)):I(H)}function P(H){return H===null||ge(H)?(w.exit("codeFencedFence"),k(H)):I(H)}}}function Z9(e,t,n){const r=this;return i;function i(o){return o===null?n(o):(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),a)}function a(o){return r.parser.lazy[r.now().line]?n(o):t(o)}}const ko={name:"codeIndented",tokenize:q9},Y9={partial:!0,tokenize:Q9};function q9(e,t,n){const r=this;return i;function i(c){return e.enter("codeIndented"),Fe(e,a,"linePrefix",5)(c)}function a(c){const d=r.events[r.events.length-1];return d&&d[1].type==="linePrefix"&&d[2].sliceSerialize(d[1],!0).length>=4?o(c):n(c)}function o(c){return c===null?s(c):ge(c)?e.attempt(Y9,o,s)(c):(e.enter("codeFlowValue"),u(c))}function u(c){return c===null||ge(c)?(e.exit("codeFlowValue"),o(c)):(e.consume(c),u)}function s(c){return e.exit("codeIndented"),t(c)}}function Q9(e,t,n){const r=this;return i;function i(o){return r.parser.lazy[r.now().line]?n(o):ge(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),i):Fe(e,a,"linePrefix",5)(o)}function a(o){const u=r.events[r.events.length-1];return u&&u[1].type==="linePrefix"&&u[2].sliceSerialize(u[1],!0).length>=4?t(o):ge(o)?i(o):n(o)}}const K9={name:"codeText",previous:ev,resolve:R9,tokenize:tv};function R9(e){let t=e.length-4,n=3,r,i;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)i===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(i=r):(r===t||e[r][1].type==="lineEnding")&&(e[i][1].type="codeTextData",r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),t-=r-i-2,r=i+2),i=void 0);return e}function ev(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function tv(e,t,n){let r=0,i,a;return o;function o(f){return e.enter("codeText"),e.enter("codeTextSequence"),u(f)}function u(f){return f===96?(e.consume(f),r++,u):(e.exit("codeTextSequence"),s(f))}function s(f){return f===null?n(f):f===32?(e.enter("space"),e.consume(f),e.exit("space"),s):f===96?(a=e.enter("codeTextSequence"),i=0,d(f)):ge(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),s):(e.enter("codeTextData"),c(f))}function c(f){return f===null||f===32||f===96||ge(f)?(e.exit("codeTextData"),s(f)):(e.consume(f),c)}function d(f){return f===96?(e.consume(f),i++,d):i===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(f)):(a.type="codeTextData",c(f))}}class nv{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,n){const r=n??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(t,r):t>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,n,r){const i=n||0;this.setCursor(Math.trunc(t));const a=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return r&&Kr(this.left,r),a.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),Kr(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),Kr(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const n=this.left.splice(t,Number.POSITIVE_INFINITY);Kr(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);Kr(this.left,n.reverse())}}}function Kr(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function Gc(e){const t={};let n=-1,r,i,a,o,u,s,c;const d=new nv(e);for(;++n<d.length;){for(;n in t;)n=t[n];if(r=d.get(n),n&&r[1].type==="chunkFlow"&&d.get(n-1)[1].type==="listItemPrefix"&&(s=r[1]._tokenizer.events,a=0,a<s.length&&s[a][1].type==="lineEndingBlank"&&(a+=2),a<s.length&&s[a][1].type==="content"))for(;++a<s.length&&s[a][1].type!=="content";)s[a][1].type==="chunkText"&&(s[a][1]._isInFirstContentOfListItem=!0,a++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,rv(d,n)),n=t[n],c=!0);else if(r[1]._container){for(a=n,i=void 0;a--;)if(o=d.get(a),o[1].type==="lineEnding"||o[1].type==="lineEndingBlank")o[0]==="enter"&&(i&&(d.get(i)[1].type="lineEndingBlank"),o[1].type="lineEnding",i=a);else if(!(o[1].type==="linePrefix"||o[1].type==="listItemIndent"))break;i&&(r[1].end={...d.get(i)[1].start},u=d.slice(i,n),u.unshift(r),d.splice(i,n-i+1,u))}}return It(e,0,Number.POSITIVE_INFINITY,d.slice(0)),!c}function rv(e,t){const n=e.get(t)[1],r=e.get(t)[2];let i=t-1;const a=[];let o=n._tokenizer;o||(o=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(o._contentTypeTextTrailing=!0));const u=o.events,s=[],c={};let d,f,p=-1,m=n,g=0,v=0;const b=[v];for(;m;){for(;e.get(++i)[1]!==m;);a.push(i),m._tokenizer||(d=r.sliceStream(m),m.next||d.push(null),f&&o.defineSkip(m.start),m._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=!0),o.write(d),m._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=void 0)),f=m,m=m.next}for(m=n;++p<u.length;)u[p][0]==="exit"&&u[p-1][0]==="enter"&&u[p][1].type===u[p-1][1].type&&u[p][1].start.line!==u[p][1].end.line&&(v=p+1,b.push(v),m._tokenizer=void 0,m.previous=void 0,m=m.next);for(o.events=[],m?(m._tokenizer=void 0,m.previous=void 0):b.pop(),p=b.length;p--;){const x=u.slice(b[p],b[p+1]),E=a.pop();s.push([E,E+x.length-1]),e.splice(E,2,x)}for(s.reverse(),p=-1;++p<s.length;)c[g+s[p][0]]=g+s[p][1],g+=s[p][1]-s[p][0]-1;return c}const iv={resolve:av,tokenize:ov},lv={partial:!0,tokenize:sv};function av(e){return Gc(e),e}function ov(e,t){let n;return r;function r(u){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),i(u)}function i(u){return u===null?a(u):ge(u)?e.check(lv,o,a)(u):(e.consume(u),i)}function a(u){return e.exit("chunkContent"),e.exit("content"),t(u)}function o(u){return e.consume(u),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,i}}function sv(e,t,n){const r=this;return i;function i(o){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),Fe(e,a,"linePrefix")}function a(o){if(o===null||ge(o))return n(o);const u=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&u&&u[1].type==="linePrefix"&&u[2].sliceSerialize(u[1],!0).length>=4?t(o):e.interrupt(r.parser.constructs.flow,n,t)(o)}}function _c(e,t,n,r,i,a,o,u,s){const c=s||Number.POSITIVE_INFINITY;let d=0;return f;function f(x){return x===60?(e.enter(r),e.enter(i),e.enter(a),e.consume(x),e.exit(a),p):x===null||x===32||x===41||hl(x)?n(x):(e.enter(r),e.enter(o),e.enter(u),e.enter("chunkString",{contentType:"string"}),v(x))}function p(x){return x===62?(e.enter(a),e.consume(x),e.exit(a),e.exit(i),e.exit(r),t):(e.enter(u),e.enter("chunkString",{contentType:"string"}),m(x))}function m(x){return x===62?(e.exit("chunkString"),e.exit(u),p(x)):x===null||x===60||ge(x)?n(x):(e.consume(x),x===92?g:m)}function g(x){return x===60||x===62||x===92?(e.consume(x),m):m(x)}function v(x){return!d&&(x===null||x===41||Oe(x))?(e.exit("chunkString"),e.exit(u),e.exit(o),e.exit(r),t(x)):d<c&&x===40?(e.consume(x),d++,v):x===41?(e.consume(x),d--,v):x===null||x===32||x===40||hl(x)?n(x):(e.consume(x),x===92?b:v)}function b(x){return x===40||x===41||x===92?(e.consume(x),v):v(x)}}function Wc(e,t,n,r,i,a){const o=this;let u=0,s;return c;function c(m){return e.enter(r),e.enter(i),e.consume(m),e.exit(i),e.enter(a),d}function d(m){return u>999||m===null||m===91||m===93&&!s||m===94&&!u&&"_hiddenFootnoteSupport"in o.parser.constructs?n(m):m===93?(e.exit(a),e.enter(i),e.consume(m),e.exit(i),e.exit(r),t):ge(m)?(e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),d):(e.enter("chunkString",{contentType:"string"}),f(m))}function f(m){return m===null||m===91||m===93||ge(m)||u++>999?(e.exit("chunkString"),d(m)):(e.consume(m),s||(s=!ke(m)),m===92?p:f)}function p(m){return m===91||m===92||m===93?(e.consume(m),u++,f):f(m)}}function $c(e,t,n,r,i,a){let o;return u;function u(p){return p===34||p===39||p===40?(e.enter(r),e.enter(i),e.consume(p),e.exit(i),o=p===40?41:p,s):n(p)}function s(p){return p===o?(e.enter(i),e.consume(p),e.exit(i),e.exit(r),t):(e.enter(a),c(p))}function c(p){return p===o?(e.exit(a),s(o)):p===null?n(p):ge(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),Fe(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),d(p))}function d(p){return p===o||p===null||ge(p)?(e.exit("chunkString"),c(p)):(e.consume(p),p===92?f:d)}function f(p){return p===o||p===92?(e.consume(p),d):d(p)}}function Rr(e,t){let n;return r;function r(i){return ge(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):ke(i)?Fe(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}const uv={name:"definition",tokenize:dv},cv={partial:!0,tokenize:fv};function dv(e,t,n){const r=this;let i;return a;function a(m){return e.enter("definition"),o(m)}function o(m){return Wc.call(r,e,u,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(m)}function u(m){return i=Ot(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),m===58?(e.enter("definitionMarker"),e.consume(m),e.exit("definitionMarker"),s):n(m)}function s(m){return Oe(m)?Rr(e,c)(m):c(m)}function c(m){return _c(e,d,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(m)}function d(m){return e.attempt(cv,f,f)(m)}function f(m){return ke(m)?Fe(e,p,"whitespace")(m):p(m)}function p(m){return m===null||ge(m)?(e.exit("definition"),r.parser.defined.push(i),t(m)):n(m)}}function fv(e,t,n){return r;function r(u){return Oe(u)?Rr(e,i)(u):n(u)}function i(u){return $c(e,a,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(u)}function a(u){return ke(u)?Fe(e,o,"whitespace")(u):o(u)}function o(u){return u===null||ge(u)?t(u):n(u)}}const hv={name:"hardBreakEscape",tokenize:mv};function mv(e,t,n){return r;function r(a){return e.enter("hardBreakEscape"),e.consume(a),i}function i(a){return ge(a)?(e.exit("hardBreakEscape"),t(a)):n(a)}}const pv={name:"headingAtx",resolve:gv,tokenize:vv};function gv(e,t){let n=e.length-2,r=3,i,a;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(i={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},a={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},It(e,r,n-r+1,[["enter",i,t],["enter",a,t],["exit",a,t],["exit",i,t]])),e}function vv(e,t,n){let r=0;return i;function i(d){return e.enter("atxHeading"),a(d)}function a(d){return e.enter("atxHeadingSequence"),o(d)}function o(d){return d===35&&r++<6?(e.consume(d),o):d===null||Oe(d)?(e.exit("atxHeadingSequence"),u(d)):n(d)}function u(d){return d===35?(e.enter("atxHeadingSequence"),s(d)):d===null||ge(d)?(e.exit("atxHeading"),t(d)):ke(d)?Fe(e,u,"whitespace")(d):(e.enter("atxHeadingText"),c(d))}function s(d){return d===35?(e.consume(d),s):(e.exit("atxHeadingSequence"),u(d))}function c(d){return d===null||d===35||Oe(d)?(e.exit("atxHeadingText"),u(d)):(e.consume(d),c)}}const bv=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Xc=["pre","script","style","textarea"],xv={concrete:!0,name:"htmlFlow",resolveTo:Ev,tokenize:Cv},wv={partial:!0,tokenize:kv},yv={partial:!0,tokenize:Iv};function Ev(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function Cv(e,t,n){const r=this;let i,a,o,u,s;return c;function c(S){return d(S)}function d(S){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(S),f}function f(S){return S===33?(e.consume(S),p):S===47?(e.consume(S),a=!0,v):S===63?(e.consume(S),i=3,r.interrupt?t:A):ut(S)?(e.consume(S),o=String.fromCharCode(S),b):n(S)}function p(S){return S===45?(e.consume(S),i=2,m):S===91?(e.consume(S),i=5,u=0,g):ut(S)?(e.consume(S),i=4,r.interrupt?t:A):n(S)}function m(S){return S===45?(e.consume(S),r.interrupt?t:A):n(S)}function g(S){const X="CDATA[";return S===X.charCodeAt(u++)?(e.consume(S),u===X.length?r.interrupt?t:D:g):n(S)}function v(S){return ut(S)?(e.consume(S),o=String.fromCharCode(S),b):n(S)}function b(S){if(S===null||S===47||S===62||Oe(S)){const X=S===47,le=o.toLowerCase();return!X&&!a&&Xc.includes(le)?(i=1,r.interrupt?t(S):D(S)):bv.includes(o.toLowerCase())?(i=6,X?(e.consume(S),x):r.interrupt?t(S):D(S)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(S):a?E(S):C(S))}return S===45||lt(S)?(e.consume(S),o+=String.fromCharCode(S),b):n(S)}function x(S){return S===62?(e.consume(S),r.interrupt?t:D):n(S)}function E(S){return ke(S)?(e.consume(S),E):F(S)}function C(S){return S===47?(e.consume(S),F):S===58||S===95||ut(S)?(e.consume(S),M):ke(S)?(e.consume(S),C):F(S)}function M(S){return S===45||S===46||S===58||S===95||lt(S)?(e.consume(S),M):y(S)}function y(S){return S===61?(e.consume(S),w):ke(S)?(e.consume(S),y):C(S)}function w(S){return S===null||S===60||S===61||S===62||S===96?n(S):S===34||S===39?(e.consume(S),s=S,k):ke(S)?(e.consume(S),w):I(S)}function k(S){return S===s?(e.consume(S),s=null,z):S===null||ge(S)?n(S):(e.consume(S),k)}function I(S){return S===null||S===34||S===39||S===47||S===60||S===61||S===62||S===96||Oe(S)?y(S):(e.consume(S),I)}function z(S){return S===47||S===62||ke(S)?C(S):n(S)}function F(S){return S===62?(e.consume(S),N):n(S)}function N(S){return S===null||ge(S)?D(S):ke(S)?(e.consume(S),N):n(S)}function D(S){return S===45&&i===2?(e.consume(S),j):S===60&&i===1?(e.consume(S),W):S===62&&i===4?(e.consume(S),Z):S===63&&i===3?(e.consume(S),A):S===93&&i===5?(e.consume(S),$):ge(S)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(wv,U,O)(S)):S===null||ge(S)?(e.exit("htmlFlowData"),O(S)):(e.consume(S),D)}function O(S){return e.check(yv,P,U)(S)}function P(S){return e.enter("lineEnding"),e.consume(S),e.exit("lineEnding"),H}function H(S){return S===null||ge(S)?O(S):(e.enter("htmlFlowData"),D(S))}function j(S){return S===45?(e.consume(S),A):D(S)}function W(S){return S===47?(e.consume(S),o="",V):D(S)}function V(S){if(S===62){const X=o.toLowerCase();return Xc.includes(X)?(e.consume(S),Z):D(S)}return ut(S)&&o.length<8?(e.consume(S),o+=String.fromCharCode(S),V):D(S)}function $(S){return S===93?(e.consume(S),A):D(S)}function A(S){return S===62?(e.consume(S),Z):S===45&&i===2?(e.consume(S),A):D(S)}function Z(S){return S===null||ge(S)?(e.exit("htmlFlowData"),U(S)):(e.consume(S),Z)}function U(S){return e.exit("htmlFlow"),t(S)}}function Iv(e,t,n){const r=this;return i;function i(o){return ge(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),a):n(o)}function a(o){return r.parser.lazy[r.now().line]?n(o):t(o)}}function kv(e,t,n){return r;function r(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(Qr,t,n)}}const zv={name:"htmlText",tokenize:Fv};function Fv(e,t,n){const r=this;let i,a,o;return u;function u(A){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(A),s}function s(A){return A===33?(e.consume(A),c):A===47?(e.consume(A),y):A===63?(e.consume(A),C):ut(A)?(e.consume(A),I):n(A)}function c(A){return A===45?(e.consume(A),d):A===91?(e.consume(A),a=0,g):ut(A)?(e.consume(A),E):n(A)}function d(A){return A===45?(e.consume(A),m):n(A)}function f(A){return A===null?n(A):A===45?(e.consume(A),p):ge(A)?(o=f,W(A)):(e.consume(A),f)}function p(A){return A===45?(e.consume(A),m):f(A)}function m(A){return A===62?j(A):A===45?p(A):f(A)}function g(A){const Z="CDATA[";return A===Z.charCodeAt(a++)?(e.consume(A),a===Z.length?v:g):n(A)}function v(A){return A===null?n(A):A===93?(e.consume(A),b):ge(A)?(o=v,W(A)):(e.consume(A),v)}function b(A){return A===93?(e.consume(A),x):v(A)}function x(A){return A===62?j(A):A===93?(e.consume(A),x):v(A)}function E(A){return A===null||A===62?j(A):ge(A)?(o=E,W(A)):(e.consume(A),E)}function C(A){return A===null?n(A):A===63?(e.consume(A),M):ge(A)?(o=C,W(A)):(e.consume(A),C)}function M(A){return A===62?j(A):C(A)}function y(A){return ut(A)?(e.consume(A),w):n(A)}function w(A){return A===45||lt(A)?(e.consume(A),w):k(A)}function k(A){return ge(A)?(o=k,W(A)):ke(A)?(e.consume(A),k):j(A)}function I(A){return A===45||lt(A)?(e.consume(A),I):A===47||A===62||Oe(A)?z(A):n(A)}function z(A){return A===47?(e.consume(A),j):A===58||A===95||ut(A)?(e.consume(A),F):ge(A)?(o=z,W(A)):ke(A)?(e.consume(A),z):j(A)}function F(A){return A===45||A===46||A===58||A===95||lt(A)?(e.consume(A),F):N(A)}function N(A){return A===61?(e.consume(A),D):ge(A)?(o=N,W(A)):ke(A)?(e.consume(A),N):z(A)}function D(A){return A===null||A===60||A===61||A===62||A===96?n(A):A===34||A===39?(e.consume(A),i=A,O):ge(A)?(o=D,W(A)):ke(A)?(e.consume(A),D):(e.consume(A),P)}function O(A){return A===i?(e.consume(A),i=void 0,H):A===null?n(A):ge(A)?(o=O,W(A)):(e.consume(A),O)}function P(A){return A===null||A===34||A===39||A===60||A===61||A===96?n(A):A===47||A===62||Oe(A)?z(A):(e.consume(A),P)}function H(A){return A===47||A===62||Oe(A)?z(A):n(A)}function j(A){return A===62?(e.consume(A),e.exit("htmlTextData"),e.exit("htmlText"),t):n(A)}function W(A){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(A),e.exit("lineEnding"),V}function V(A){return ke(A)?Fe(e,$,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(A):$(A)}function $(A){return e.enter("htmlTextData"),o(A)}}const zo={name:"labelEnd",resolveAll:Nv,resolveTo:Hv,tokenize:Bv},Mv={tokenize:Dv},Sv={tokenize:Lv},Av={tokenize:Tv};function Nv(e){let t=-1;const n=[];for(;++t<e.length;){const r=e[t][1];if(n.push(e[t]),r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd"){const i=r.type==="labelImage"?4:2;r.type="data",t+=i}}return e.length!==n.length&&It(e,0,e.length,n),e}function Hv(e,t){let n=e.length,r=0,i,a,o,u;for(;n--;)if(i=e[n][1],a){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;e[n][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(o){if(e[n][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(a=n,i.type!=="labelLink")){r=2;break}}else i.type==="labelEnd"&&(o=n);const s={type:e[a][1].type==="labelLink"?"link":"image",start:{...e[a][1].start},end:{...e[e.length-1][1].end}},c={type:"label",start:{...e[a][1].start},end:{...e[o][1].end}},d={type:"labelText",start:{...e[a+r+2][1].end},end:{...e[o-2][1].start}};return u=[["enter",s,t],["enter",c,t]],u=Nt(u,e.slice(a+1,a+r+3)),u=Nt(u,[["enter",d,t]]),u=Nt(u,pl(t.parser.constructs.insideSpan.null,e.slice(a+r+4,o-3),t)),u=Nt(u,[["exit",d,t],e[o-2],e[o-1],["exit",c,t]]),u=Nt(u,e.slice(o+1)),u=Nt(u,[["exit",s,t]]),It(e,a,e.length,u),e}function Bv(e,t,n){const r=this;let i=r.events.length,a,o;for(;i--;)if((r.events[i][1].type==="labelImage"||r.events[i][1].type==="labelLink")&&!r.events[i][1]._balanced){a=r.events[i][1];break}return u;function u(p){return a?a._inactive?f(p):(o=r.parser.defined.includes(Ot(r.sliceSerialize({start:a.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(p),e.exit("labelMarker"),e.exit("labelEnd"),s):n(p)}function s(p){return p===40?e.attempt(Mv,d,o?d:f)(p):p===91?e.attempt(Sv,d,o?c:f)(p):o?d(p):f(p)}function c(p){return e.attempt(Av,d,f)(p)}function d(p){return t(p)}function f(p){return a._balanced=!0,n(p)}}function Dv(e,t,n){return r;function r(f){return e.enter("resource"),e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),i}function i(f){return Oe(f)?Rr(e,a)(f):a(f)}function a(f){return f===41?d(f):_c(e,o,u,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(f)}function o(f){return Oe(f)?Rr(e,s)(f):d(f)}function u(f){return n(f)}function s(f){return f===34||f===39||f===40?$c(e,c,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(f):d(f)}function c(f){return Oe(f)?Rr(e,d)(f):d(f)}function d(f){return f===41?(e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),e.exit("resource"),t):n(f)}}function Lv(e,t,n){const r=this;return i;function i(u){return Wc.call(r,e,a,o,"reference","referenceMarker","referenceString")(u)}function a(u){return r.parser.defined.includes(Ot(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(u):n(u)}function o(u){return n(u)}}function Tv(e,t,n){return r;function r(a){return e.enter("reference"),e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),i}function i(a){return a===93?(e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),e.exit("reference"),t):n(a)}}const Pv={name:"labelStartImage",resolveAll:zo.resolveAll,tokenize:Ov};function Ov(e,t,n){const r=this;return i;function i(u){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(u),e.exit("labelImageMarker"),a}function a(u){return u===91?(e.enter("labelMarker"),e.consume(u),e.exit("labelMarker"),e.exit("labelImage"),o):n(u)}function o(u){return u===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(u):t(u)}}const jv={name:"labelStartLink",resolveAll:zo.resolveAll,tokenize:Vv};function Vv(e,t,n){const r=this;return i;function i(o){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(o),e.exit("labelMarker"),e.exit("labelLink"),a}function a(o){return o===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(o):t(o)}}const Fo={name:"lineEnding",tokenize:Gv};function Gv(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),Fe(e,t,"linePrefix")}}const gl={name:"thematicBreak",tokenize:_v};function _v(e,t,n){let r=0,i;return a;function a(c){return e.enter("thematicBreak"),o(c)}function o(c){return i=c,u(c)}function u(c){return c===i?(e.enter("thematicBreakSequence"),s(c)):r>=3&&(c===null||ge(c))?(e.exit("thematicBreak"),t(c)):n(c)}function s(c){return c===i?(e.consume(c),r++,s):(e.exit("thematicBreakSequence"),ke(c)?Fe(e,u,"whitespace")(c):u(c))}}const gt={continuation:{tokenize:Uv},exit:Zv,name:"list",tokenize:Xv},Wv={partial:!0,tokenize:Yv},$v={partial:!0,tokenize:Jv};function Xv(e,t,n){const r=this,i=r.events[r.events.length-1];let a=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,o=0;return u;function u(m){const g=r.containerState.type||(m===42||m===43||m===45?"listUnordered":"listOrdered");if(g==="listUnordered"?!r.containerState.marker||m===r.containerState.marker:Co(m)){if(r.containerState.type||(r.containerState.type=g,e.enter(g,{_container:!0})),g==="listUnordered")return e.enter("listItemPrefix"),m===42||m===45?e.check(gl,n,c)(m):c(m);if(!r.interrupt||m===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),s(m)}return n(m)}function s(m){return Co(m)&&++o<10?(e.consume(m),s):(!r.interrupt||o<2)&&(r.containerState.marker?m===r.containerState.marker:m===41||m===46)?(e.exit("listItemValue"),c(m)):n(m)}function c(m){return e.enter("listItemMarker"),e.consume(m),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||m,e.check(Qr,r.interrupt?n:d,e.attempt(Wv,p,f))}function d(m){return r.containerState.initialBlankLine=!0,a++,p(m)}function f(m){return ke(m)?(e.enter("listItemPrefixWhitespace"),e.consume(m),e.exit("listItemPrefixWhitespace"),p):n(m)}function p(m){return r.containerState.size=a+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(m)}}function Uv(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(Qr,i,a);function i(u){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,Fe(e,t,"listItemIndent",r.containerState.size+1)(u)}function a(u){return r.containerState.furtherBlankLines||!ke(u)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(u)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt($v,t,o)(u))}function o(u){return r.containerState._closeFlow=!0,r.interrupt=void 0,Fe(e,e.attempt(gt,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(u)}}function Jv(e,t,n){const r=this;return Fe(e,i,"listItemIndent",r.containerState.size+1);function i(a){const o=r.events[r.events.length-1];return o&&o[1].type==="listItemIndent"&&o[2].sliceSerialize(o[1],!0).length===r.containerState.size?t(a):n(a)}}function Zv(e){e.exit(this.containerState.type)}function Yv(e,t,n){const r=this;return Fe(e,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(a){const o=r.events[r.events.length-1];return!ke(a)&&o&&o[1].type==="listItemPrefixWhitespace"?t(a):n(a)}}const Uc={name:"setextUnderline",resolveTo:qv,tokenize:Qv};function qv(e,t){let n=e.length,r,i,a;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(i=n)}else e[n][1].type==="content"&&e.splice(n,1),!a&&e[n][1].type==="definition"&&(a=n);const o={type:"setextHeading",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[i][1].type="setextHeadingText",a?(e.splice(i,0,["enter",o,t]),e.splice(a+1,0,["exit",e[r][1],t]),e[r][1].end={...e[a][1].end}):e[r][1]=o,e.push(["exit",o,t]),e}function Qv(e,t,n){const r=this;let i;return a;function a(c){let d=r.events.length,f;for(;d--;)if(r.events[d][1].type!=="lineEnding"&&r.events[d][1].type!=="linePrefix"&&r.events[d][1].type!=="content"){f=r.events[d][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||f)?(e.enter("setextHeadingLine"),i=c,o(c)):n(c)}function o(c){return e.enter("setextHeadingLineSequence"),u(c)}function u(c){return c===i?(e.consume(c),u):(e.exit("setextHeadingLineSequence"),ke(c)?Fe(e,s,"lineSuffix")(c):s(c))}function s(c){return c===null||ge(c)?(e.exit("setextHeadingLine"),t(c)):n(c)}}const Kv={tokenize:Rv};function Rv(e){const t=this,n=e.attempt(Qr,r,e.attempt(this.parser.constructs.flowInitial,i,Fe(e,e.attempt(this.parser.constructs.flow,i,e.attempt(iv,i)),"linePrefix")));return n;function r(a){if(a===null){e.consume(a);return}return e.enter("lineEndingBlank"),e.consume(a),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function i(a){if(a===null){e.consume(a);return}return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const eb={resolveAll:Zc()},tb=Jc("string"),nb=Jc("text");function Jc(e){return{resolveAll:Zc(e==="text"?rb:void 0),tokenize:t};function t(n){const r=this,i=this.parser.constructs[e],a=n.attempt(i,o,u);return o;function o(d){return c(d)?a(d):u(d)}function u(d){if(d===null){n.consume(d);return}return n.enter("data"),n.consume(d),s}function s(d){return c(d)?(n.exit("data"),a(d)):(n.consume(d),s)}function c(d){if(d===null)return!0;const f=i[d];let p=-1;if(f)for(;++p<f.length;){const m=f[p];if(!m.previous||m.previous.call(r,r.previous))return!0}return!1}}}function Zc(e){return t;function t(n,r){let i=-1,a;for(;++i<=n.length;)a===void 0?n[i]&&n[i][1].type==="data"&&(a=i,i++):(!n[i]||n[i][1].type!=="data")&&(i!==a+2&&(n[a][1].end=n[i-1][1].end,n.splice(a+2,i-a-2),i=a+2),a=void 0);return e?e(n,r):n}}function rb(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const r=e[n-1][1],i=t.sliceStream(r);let a=i.length,o=-1,u=0,s;for(;a--;){const c=i[a];if(typeof c=="string"){for(o=c.length;c.charCodeAt(o-1)===32;)u++,o--;if(o)break;o=-1}else if(c===-2)s=!0,u++;else if(c!==-1){a++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(u=0),u){const c={type:n===e.length||s||u<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:a?o:r.start._bufferIndex+o,_index:r.start._index+a,line:r.end.line,column:r.end.column-u,offset:r.end.offset-u},end:{...r.end}};r.end={...c.start},r.start.offset===r.end.offset?Object.assign(r,c):(e.splice(n,0,["enter",c,t],["exit",c,t]),n+=2)}n++}return e}const ib=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:{null:[42,95]},contentInitial:{91:uv},disable:{null:[]},document:{42:gt,43:gt,45:gt,48:gt,49:gt,50:gt,51:gt,52:gt,53:gt,54:gt,55:gt,56:gt,57:gt,62:Tc},flow:{35:pv,42:gl,45:[Uc,gl],60:xv,61:Uc,95:gl,96:Vc,126:Vc},flowInitial:{[-2]:ko,[-1]:ko,32:ko},insideSpan:{null:[Io,eb]},string:{38:Oc,92:Pc},text:{[-5]:Fo,[-4]:Fo,[-3]:Fo,33:Pv,38:Oc,42:Io,60:[j9,zv],91:jv,92:[hv,Pc],93:zo,95:Io,96:K9}},Symbol.toStringTag,{value:"Module"}));function lb(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const i={},a=[];let o=[],u=[];const s={attempt:k(y),check:k(w),consume:E,enter:C,exit:M,interrupt:k(w,{interrupt:!0})},c={code:null,containerState:{},defineSkip:v,events:[],now:g,parser:e,previous:null,sliceSerialize:p,sliceStream:m,write:f};let d=t.tokenize.call(c,s);return t.resolveAll&&a.push(t),c;function f(N){return o=Nt(o,N),b(),o[o.length-1]!==null?[]:(I(t,0),c.events=pl(a,c.events,c),c.events)}function p(N,D){return ob(m(N),D)}function m(N){return ab(o,N)}function g(){const{_bufferIndex:N,_index:D,line:O,column:P,offset:H}=r;return{_bufferIndex:N,_index:D,line:O,column:P,offset:H}}function v(N){i[N.line]=N.column,F()}function b(){let N;for(;r._index<o.length;){const D=o[r._index];if(typeof D=="string")for(N=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===N&&r._bufferIndex<D.length;)x(D.charCodeAt(r._bufferIndex));else x(D)}}function x(N){d=d(N)}function E(N){ge(N)?(r.line++,r.column=1,r.offset+=N===-3?2:1,F()):N!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===o[r._index].length&&(r._bufferIndex=-1,r._index++)),c.previous=N}function C(N,D){const O=D||{};return O.type=N,O.start=g(),c.events.push(["enter",O,c]),u.push(O),O}function M(N){const D=u.pop();return D.end=g(),c.events.push(["exit",D,c]),D}function y(N,D){I(N,D.from)}function w(N,D){D.restore()}function k(N,D){return O;function O(P,H,j){let W,V,$,A;return Array.isArray(P)?U(P):"tokenize"in P?U([P]):Z(P);function Z(oe){return _;function _(ne){const Y=ne!==null&&oe[ne],we=ne!==null&&oe.null,We=[...Array.isArray(Y)?Y:Y?[Y]:[],...Array.isArray(we)?we:we?[we]:[]];return U(We)(ne)}}function U(oe){return W=oe,V=0,oe.length===0?j:S(oe[V])}function S(oe){return _;function _(ne){return A=z(),$=oe,oe.partial||(c.currentConstruct=oe),oe.name&&c.parser.constructs.disable.null.includes(oe.name)?le():oe.tokenize.call(D?Object.assign(Object.create(c),D):c,s,X,le)(ne)}}function X(oe){return N($,A),H}function le(oe){return A.restore(),++V<W.length?S(W[V]):j}}}function I(N,D){N.resolveAll&&!a.includes(N)&&a.push(N),N.resolve&&It(c.events,D,c.events.length-D,N.resolve(c.events.slice(D),c)),N.resolveTo&&(c.events=N.resolveTo(c.events,c))}function z(){const N=g(),D=c.previous,O=c.currentConstruct,P=c.events.length,H=Array.from(u);return{from:P,restore:j};function j(){r=N,c.previous=D,c.currentConstruct=O,c.events.length=P,u=H,F()}}function F(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function ab(e,t){const n=t.start._index,r=t.start._bufferIndex,i=t.end._index,a=t.end._bufferIndex;let o;if(n===i)o=[e[n].slice(r,a)];else{if(o=e.slice(n,i),r>-1){const u=o[0];typeof u=="string"?o[0]=u.slice(r):o.shift()}a>0&&o.push(e[i].slice(0,a))}return o}function ob(e,t){let n=-1;const r=[];let i;for(;++n<e.length;){const a=e[n];let o;if(typeof a=="string")o=a;else switch(a){case-5:{o="\r";break}case-4:{o=`
|
|
70
70
|
`;break}case-3:{o=`\r
|
|
71
71
|
`;break}case-2:{o=t?" ":" ";break}case-1:{if(!t&&i)continue;o=" ";break}default:o=String.fromCharCode(a)}i=a===-2,r.push(o)}return r.join("")}function sb(e){const r={constructs:Hc([ib,...(e||{}).extensions||[]]),content:i(H9),defined:[],document:i(D9),flow:i(Kv),lazy:{},string:i(tb),text:i(nb)};return r;function i(a){return o;function o(u){return lb(r,a,u)}}}function ub(e){for(;!Gc(e););return e}const Yc=/[\0\t\n\r]/g;function cb(){let e=1,t="",n=!0,r;return i;function i(a,o,u){const s=[];let c,d,f,p,m;for(a=t+(typeof a=="string"?a.toString():new TextDecoder(o||void 0).decode(a)),f=0,t="",n&&(a.charCodeAt(0)===65279&&f++,n=void 0);f<a.length;){if(Yc.lastIndex=f,c=Yc.exec(a),p=c&&c.index!==void 0?c.index:a.length,m=a.charCodeAt(p),!c){t=a.slice(f);break}if(m===10&&f===p&&r)s.push(-3),r=void 0;else switch(r&&(s.push(-5),r=void 0),f<p&&(s.push(a.slice(f,p)),e+=p-f),m){case 0:{s.push(65533),e++;break}case 9:{for(d=Math.ceil(e/4)*4,s.push(-2);e++<d;)s.push(-1);break}case 10:{s.push(-4),e=1;break}default:r=!0,e=1}f=p+1}return u&&(r&&s.push(-5),t&&s.push(t),s.push(null)),s}}const db=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function fb(e){return e.replace(db,hb)}function hb(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const i=n.charCodeAt(1),a=i===120||i===88;return Bc(n.slice(a?2:1),a?16:10)}return Eo(n)||e}const qc={}.hasOwnProperty;function mb(e,t,n){return typeof t!="string"&&(n=t,t=void 0),pb(n)(ub(sb(n).document().write(cb()(e,t,!0))))}function pb(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:a(_t),autolinkProtocol:z,autolinkEmail:z,atxHeading:a(st),blockQuote:a(we),characterEscape:z,characterReference:z,codeFenced:a(We),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:a(We,o),codeText:a(re,o),codeTextData:z,data:z,codeFlowValue:z,definition:a(Pe),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:a(ot),hardBreakEscape:a(Xe),hardBreakTrailing:a(Xe),htmlFlow:a(nn,o),htmlFlowData:z,htmlText:a(nn,o),htmlTextData:z,image:a(Fn),label:o,link:a(_t),listItem:a(rn),listItemValue:p,listOrdered:a(dt,f),listUnordered:a(dt),paragraph:a(ln),reference:S,referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:a(st),strong:a(Vn),thematicBreak:a(Ie)},exit:{atxHeading:s(),atxHeadingSequence:y,autolink:s(),autolinkEmail:Y,autolinkProtocol:ne,blockQuote:s(),characterEscapeValue:F,characterReferenceMarkerHexadecimal:le,characterReferenceMarkerNumeric:le,characterReferenceValue:oe,characterReference:_,codeFenced:s(b),codeFencedFence:v,codeFencedFenceInfo:m,codeFencedFenceMeta:g,codeFlowValue:F,codeIndented:s(x),codeText:s(H),codeTextData:F,data:F,definition:s(),definitionDestinationString:M,definitionLabelString:E,definitionTitleString:C,emphasis:s(),hardBreakEscape:s(D),hardBreakTrailing:s(D),htmlFlow:s(O),htmlFlowData:F,htmlText:s(P),htmlTextData:F,image:s(W),label:$,labelText:V,lineEnding:N,link:s(j),listItem:s(),listOrdered:s(),listUnordered:s(),paragraph:s(),referenceString:X,resourceDestinationString:A,resourceTitleString:Z,resource:U,setextHeading:s(I),setextHeadingLineSequence:k,setextHeadingText:w,strong:s(),thematicBreak:s()}};Qc(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(G){let Q={type:"root",children:[]};const ve={stack:[Q],tokenStack:[],config:t,enter:u,exit:c,buffer:o,resume:d,data:n},ye=[];let Me=-1;for(;++Me<G.length;)if(G[Me][1].type==="listOrdered"||G[Me][1].type==="listUnordered")if(G[Me][0]==="enter")ye.push(Me);else{const Re=ye.pop();Me=i(G,Re,Me)}for(Me=-1;++Me<G.length;){const Re=t[G[Me][0]];qc.call(Re,G[Me][1].type)&&Re[G[Me][1].type].call(Object.assign({sliceSerialize:G[Me][2].sliceSerialize},ve),G[Me][1])}if(ve.tokenStack.length>0){const Re=ve.tokenStack[ve.tokenStack.length-1];(Re[1]||Kc).call(ve,void 0,Re[0])}for(Q.position={start:Hn(G.length>0?G[0][1].start:{line:1,column:1,offset:0}),end:Hn(G.length>0?G[G.length-2][1].end:{line:1,column:1,offset:0})},Me=-1;++Me<t.transforms.length;)Q=t.transforms[Me](Q)||Q;return Q}function i(G,Q,ve){let ye=Q-1,Me=-1,Re=!1,Mn,Wt,Rn,er;for(;++ye<=ve;){const ft=G[ye];switch(ft[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{ft[0]==="enter"?Me++:Me--,er=void 0;break}case"lineEndingBlank":{ft[0]==="enter"&&(Mn&&!er&&!Me&&!Rn&&(Rn=ye),er=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:er=void 0}if(!Me&&ft[0]==="enter"&&ft[1].type==="listItemPrefix"||Me===-1&&ft[0]==="exit"&&(ft[1].type==="listUnordered"||ft[1].type==="listOrdered")){if(Mn){let Gn=ye;for(Wt=void 0;Gn--;){const At=G[Gn];if(At[1].type==="lineEnding"||At[1].type==="lineEndingBlank"){if(At[0]==="exit")continue;Wt&&(G[Wt][1].type="lineEndingBlank",Re=!0),At[1].type="lineEnding",Wt=Gn}else if(!(At[1].type==="linePrefix"||At[1].type==="blockQuotePrefix"||At[1].type==="blockQuotePrefixWhitespace"||At[1].type==="blockQuoteMarker"||At[1].type==="listItemIndent"))break}Rn&&(!Wt||Rn<Wt)&&(Mn._spread=!0),Mn.end=Object.assign({},Wt?G[Wt][1].start:ft[1].end),G.splice(Wt||ye,0,["exit",Mn,ft[2]]),ye++,ve++}if(ft[1].type==="listItemPrefix"){const Gn={type:"listItem",_spread:!1,start:Object.assign({},ft[1].start),end:void 0};Mn=Gn,G.splice(ye,0,["enter",Gn,ft[2]]),ye++,ve++,Rn=void 0,er=!0}}}return G[Q][1]._spread=Re,ve}function a(G,Q){return ve;function ve(ye){u.call(this,G(ye),ye),Q&&Q.call(this,ye)}}function o(){this.stack.push({type:"fragment",children:[]})}function u(G,Q,ve){this.stack[this.stack.length-1].children.push(G),this.stack.push(G),this.tokenStack.push([Q,ve||void 0]),G.position={start:Hn(Q.start),end:void 0}}function s(G){return Q;function Q(ve){G&&G.call(this,ve),c.call(this,ve)}}function c(G,Q){const ve=this.stack.pop(),ye=this.tokenStack.pop();if(ye)ye[0].type!==G.type&&(Q?Q.call(this,G,ye[0]):(ye[1]||Kc).call(this,G,ye[0]));else throw new Error("Cannot close `"+G.type+"` ("+Yr({start:G.start,end:G.end})+"): it’s not open");ve.position.end=Hn(G.end)}function d(){return yo(this.stack.pop())}function f(){this.data.expectingFirstListItemValue=!0}function p(G){if(this.data.expectingFirstListItemValue){const Q=this.stack[this.stack.length-2];Q.start=Number.parseInt(this.sliceSerialize(G),10),this.data.expectingFirstListItemValue=void 0}}function m(){const G=this.resume(),Q=this.stack[this.stack.length-1];Q.lang=G}function g(){const G=this.resume(),Q=this.stack[this.stack.length-1];Q.meta=G}function v(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function b(){const G=this.resume(),Q=this.stack[this.stack.length-1];Q.value=G.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function x(){const G=this.resume(),Q=this.stack[this.stack.length-1];Q.value=G.replace(/(\r?\n|\r)$/g,"")}function E(G){const Q=this.resume(),ve=this.stack[this.stack.length-1];ve.label=Q,ve.identifier=Ot(this.sliceSerialize(G)).toLowerCase()}function C(){const G=this.resume(),Q=this.stack[this.stack.length-1];Q.title=G}function M(){const G=this.resume(),Q=this.stack[this.stack.length-1];Q.url=G}function y(G){const Q=this.stack[this.stack.length-1];if(!Q.depth){const ve=this.sliceSerialize(G).length;Q.depth=ve}}function w(){this.data.setextHeadingSlurpLineEnding=!0}function k(G){const Q=this.stack[this.stack.length-1];Q.depth=this.sliceSerialize(G).codePointAt(0)===61?1:2}function I(){this.data.setextHeadingSlurpLineEnding=void 0}function z(G){const ve=this.stack[this.stack.length-1].children;let ye=ve[ve.length-1];(!ye||ye.type!=="text")&&(ye=ce(),ye.position={start:Hn(G.start),end:void 0},ve.push(ye)),this.stack.push(ye)}function F(G){const Q=this.stack.pop();Q.value+=this.sliceSerialize(G),Q.position.end=Hn(G.end)}function N(G){const Q=this.stack[this.stack.length-1];if(this.data.atHardBreak){const ve=Q.children[Q.children.length-1];ve.position.end=Hn(G.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(Q.type)&&(z.call(this,G),F.call(this,G))}function D(){this.data.atHardBreak=!0}function O(){const G=this.resume(),Q=this.stack[this.stack.length-1];Q.value=G}function P(){const G=this.resume(),Q=this.stack[this.stack.length-1];Q.value=G}function H(){const G=this.resume(),Q=this.stack[this.stack.length-1];Q.value=G}function j(){const G=this.stack[this.stack.length-1];if(this.data.inReference){const Q=this.data.referenceType||"shortcut";G.type+="Reference",G.referenceType=Q,delete G.url,delete G.title}else delete G.identifier,delete G.label;this.data.referenceType=void 0}function W(){const G=this.stack[this.stack.length-1];if(this.data.inReference){const Q=this.data.referenceType||"shortcut";G.type+="Reference",G.referenceType=Q,delete G.url,delete G.title}else delete G.identifier,delete G.label;this.data.referenceType=void 0}function V(G){const Q=this.sliceSerialize(G),ve=this.stack[this.stack.length-2];ve.label=fb(Q),ve.identifier=Ot(Q).toLowerCase()}function $(){const G=this.stack[this.stack.length-1],Q=this.resume(),ve=this.stack[this.stack.length-1];if(this.data.inReference=!0,ve.type==="link"){const ye=G.children;ve.children=ye}else ve.alt=Q}function A(){const G=this.resume(),Q=this.stack[this.stack.length-1];Q.url=G}function Z(){const G=this.resume(),Q=this.stack[this.stack.length-1];Q.title=G}function U(){this.data.inReference=void 0}function S(){this.data.referenceType="collapsed"}function X(G){const Q=this.resume(),ve=this.stack[this.stack.length-1];ve.label=Q,ve.identifier=Ot(this.sliceSerialize(G)).toLowerCase(),this.data.referenceType="full"}function le(G){this.data.characterReferenceType=G.type}function oe(G){const Q=this.sliceSerialize(G),ve=this.data.characterReferenceType;let ye;ve?(ye=Bc(Q,ve==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):ye=Eo(Q);const Me=this.stack[this.stack.length-1];Me.value+=ye}function _(G){const Q=this.stack.pop();Q.position.end=Hn(G.end)}function ne(G){F.call(this,G);const Q=this.stack[this.stack.length-1];Q.url=this.sliceSerialize(G)}function Y(G){F.call(this,G);const Q=this.stack[this.stack.length-1];Q.url="mailto:"+this.sliceSerialize(G)}function we(){return{type:"blockquote",children:[]}}function We(){return{type:"code",lang:null,meta:null,value:""}}function re(){return{type:"inlineCode",value:""}}function Pe(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function ot(){return{type:"emphasis",children:[]}}function st(){return{type:"heading",depth:0,children:[]}}function Xe(){return{type:"break"}}function nn(){return{type:"html",value:""}}function Fn(){return{type:"image",title:null,url:"",alt:null}}function _t(){return{type:"link",title:null,url:"",children:[]}}function dt(G){return{type:"list",ordered:G.type==="listOrdered",start:null,spread:G._spread,children:[]}}function rn(G){return{type:"listItem",spread:G._spread,checked:null,children:[]}}function ln(){return{type:"paragraph",children:[]}}function Vn(){return{type:"strong",children:[]}}function ce(){return{type:"text",value:""}}function Ie(){return{type:"thematicBreak"}}}function Hn(e){return{line:e.line,column:e.column,offset:e.offset}}function Qc(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?Qc(e,r):gb(e,r)}}function gb(e,t){let n;for(n in t)if(qc.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}function Kc(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Yr({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Yr({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Yr({start:t.start,end:t.end})+") is still open")}function vb(e){const t=this;t.parser=n;function n(r){return mb(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function bb(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function xb(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
|