@happeouikit/form-elements 2.4.8 → 2.5.1
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/DatePicker.d.ts +4 -34
- package/dist/DatePicker.types.d.ts +38 -0
- package/dist/Switch.d.ts +1 -1
- package/dist/Switch.types.d.ts +1 -1
- package/dist/index.cjs.js +351 -293
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +7011 -5628
- package/dist/index.es.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +3 -3
package/dist/index.cjs.js
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const S=require("react/jsx-runtime"),f=require("react"),A=require("styled-components"),Q=require("@happeouikit/typography"),Le=require("@happeouikit/icons"),kl=require("react-dom"),Sa=require("@happeouikit/theme"),se=require("prop-types"),mt=require("@happeouikit/colors"),Gt=require("react-intl"),Ao=require("@happeouikit/tooltip"),In=require("@happeouikit/buttons"),Dl=require("@happeo/react-core"),El=require("@happeouikit/loaders");function Ol(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const H=Ol(f),Al=e=>e.replace(/(_|-|,|\.)(.)/g,t=>t[1].toUpperCase()),Nl=64,Tl=e=>{if(typeof e!="string"||e.length===0)return"";const t=new RegExp(/[^\p{Alphabetic}\p{Mark}\p{Decimal_Number}\p{Connector_Punctuation}\p{Join_Control}]/u),r=e.replace(/^#/,"").replace(/_+/g,"_"),a=r.match(t),i=a?a.index:r.length,o=r.substring(0,Math.min(i,Nl)).toLocaleLowerCase();return o.length===0?"":"#"+o},No=e=>typeof e=="string",To=e=>f.Children.toArray(e).filter(f.isValidElement),ka=e=>{process.env.NODE_ENV!=="production"&&console.warn(`HappeoUiKit/form-elements: ${e}`)},Da=(e,t)=>{f.useEffect(()=>{e&&ka(t)},[])},Xt=()=>"ixxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,e=>{const t=Math.random()*16|0;return(e==="x"?t:t&3|8).toString(16)}),Bn={success:"var(--color-success-primary, #00a372)",error:"var(--color-alert-primary, #da3939)",default:"var(--color-secondary-text-on-light, #4a5464)"},_l=(e,t)=>{const n={width:"20px",height:"20px",fill:"var(--color-secondary-text-on-light, #2b313b)"},r={position:"absolute",top:"10px",left:"10px",fontSize:"18px"},a={...n,...t};return()=>S.jsx(Wl,{children:S.jsx(e,{...a,style:r})})},gr=({label:e,description:t,hintText:n,required:r,id:a,icon:i,iconProps:o,state:s,errorMessage:u,disabled:l,readOnly:c,...d})=>{const[m]=f.useState(()=>a||Xt()),h=[t?`${m}-description`:"",n?`${m}-hint-message`:"",s==="error"&&u?`${m}-error-message`:""].join(" ");return S.jsxs(Wo,{isDisabled:l||!1,children:[!!e&&S.jsxs(_o,{children:[S.jsx(Pl,{bold:!0,htmlFor:m,isRequired:r||!1,children:e}),t&&S.jsx(Q.BodyUI,{id:`${m}-description`,color:"var(--color-secondary-text-on-light, #4a5464)",children:t})]}),i&&_l(i,o??{})(),S.jsx(Ea,{title:e||"Styled input",hasIcon:!!(i||"").toString(),state:s||"default",id:m,disabled:l,readOnly:c,"data-1p-ignore":!0,...t?{"aria-describedby":h}:{},...d}),n&&S.jsxs(ra,{id:`${m}-hint-message`,children:[S.jsx(Di,{fill:"var(--color-hint-text-on-light, #68778d)"}),S.jsx(Q.TinyText,{color:"var(--color-secondary-text-on-light, #4a5464)",children:n})]}),s==="error"&&u&&S.jsxs(ra,{id:`${m}-error-message`,children:[S.jsx(Di,{fill:"var(--color-alert-primary, #da3939)"}),S.jsx(Q.TinyText,{color:"var(--color-alert-primary, #da3939)",children:u})]})]})},Di=A(Le.IconAlertCircleOutline)`
|
|
2
2
|
width: 13px;
|
|
3
3
|
height: 13px;
|
|
4
|
-
`,
|
|
4
|
+
`,ra=A.div`
|
|
5
5
|
display: flex;
|
|
6
6
|
gap: var(--space-xs, 4px);
|
|
7
7
|
margin-top: var(--space-sm, 8px);
|
|
8
8
|
align-items: center;
|
|
9
|
-
`,
|
|
9
|
+
`,_o=A.div`
|
|
10
10
|
display: flex;
|
|
11
11
|
flex-direction: column;
|
|
12
12
|
gap: var(--space-xxs, 2px);
|
|
13
13
|
margin-bottom: var(--space-sm, 8px);
|
|
14
|
-
`,
|
|
14
|
+
`,Ea=A.input.attrs(({type:e})=>({type:e||"text"}))`
|
|
15
15
|
::placeholder {
|
|
16
|
-
font-family: ${
|
|
16
|
+
font-family: ${Q.sansFamily};
|
|
17
17
|
color: var(--color-placeholder-text-on-light, #95a0b1);
|
|
18
18
|
letter-spacing: -0.3px;
|
|
19
19
|
font-size: 14px;
|
|
20
20
|
font-weight: normal;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
font-family: ${
|
|
23
|
+
font-family: ${Q.sansFamily};
|
|
24
24
|
width: 100%;
|
|
25
25
|
height: 40px;
|
|
26
26
|
border-radius: var(--radius-md, 4px);
|
|
@@ -38,18 +38,18 @@
|
|
|
38
38
|
color: var(--color-primary-text-on-light, #2b313b);
|
|
39
39
|
|
|
40
40
|
:hover {
|
|
41
|
-
border-color: ${({state:e="default"})=>e==="default"?"var(--color-stroke-darken, #596578)":
|
|
41
|
+
border-color: ${({state:e="default"})=>e==="default"?"var(--color-stroke-darken, #596578)":Bn[e]};
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
:active {
|
|
45
45
|
outline: none;
|
|
46
46
|
box-shadow: none;
|
|
47
|
-
border-color: ${({state:e="default"})=>e==="default"?"var(--color-focus-indicator, #1691fe)":
|
|
47
|
+
border-color: ${({state:e="default"})=>e==="default"?"var(--color-focus-indicator, #1691fe)":Bn[e]};
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
:focus {
|
|
51
51
|
outline: none;
|
|
52
|
-
border-color: ${({state:e="default"})=>e==="default"?"var(--color-focus-indicator, #1691fe)":
|
|
52
|
+
border-color: ${({state:e="default"})=>e==="default"?"var(--color-focus-indicator, #1691fe)":Bn[e]} !important;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
:disabled {
|
|
@@ -67,14 +67,14 @@
|
|
|
67
67
|
color: var(--color-secondary-text-on-light, #4a5464);
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
-
border-color: ${({state:e="default"})=>
|
|
71
|
-
`,
|
|
70
|
+
border-color: ${({state:e="default"})=>Bn[e]};
|
|
71
|
+
`,Wl=A.span`
|
|
72
72
|
position: relative;
|
|
73
|
-
`,
|
|
73
|
+
`,Fl=({label:e,...t})=>S.jsxs(Rl,{children:[S.jsx(Gl,{...t,type:"number"}),e&&S.jsx(Yl,{children:e})]}),Gl=A(gr)`
|
|
74
74
|
width: 60px;
|
|
75
75
|
text-align: center;
|
|
76
76
|
font-size: var(--font-size-body-sm, 14px);
|
|
77
|
-
`,
|
|
77
|
+
`,Pl=A(Q.BodyUI).attrs({as:"label"})`
|
|
78
78
|
color: var(--color-primary-text-on-light, #2b313b);
|
|
79
79
|
position: relative;
|
|
80
80
|
${({isRequired:e})=>e&&`
|
|
@@ -84,63 +84,63 @@
|
|
|
84
84
|
margin-left: var(--space-xxs, 2px);
|
|
85
85
|
}
|
|
86
86
|
`}
|
|
87
|
-
`,
|
|
87
|
+
`,Yl=A(Q.BodyUI)`
|
|
88
88
|
color: var(--color-primary-text-on-light, #2b313b);
|
|
89
89
|
margin-left: var(--space-sm-plus, 10px);
|
|
90
|
-
`,
|
|
90
|
+
`,Wo=A.div`
|
|
91
91
|
display: flex;
|
|
92
92
|
flex-direction: column;
|
|
93
93
|
position: relative;
|
|
94
94
|
width: 100%;
|
|
95
95
|
${({isDisabled:e})=>e&&`
|
|
96
|
-
${
|
|
97
|
-
${
|
|
98
|
-
${
|
|
96
|
+
${_o},
|
|
97
|
+
${Ea},
|
|
98
|
+
${ra} {
|
|
99
99
|
opacity: 0.4;
|
|
100
100
|
}
|
|
101
101
|
`}
|
|
102
|
-
`,
|
|
102
|
+
`,Rl=A.div`
|
|
103
103
|
display: flex;
|
|
104
104
|
align-items: center;
|
|
105
105
|
|
|
106
|
-
${
|
|
106
|
+
${Wo} {
|
|
107
107
|
width: auto;
|
|
108
108
|
}
|
|
109
|
-
`;function
|
|
110
|
-
`+n+"\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."),this._alreadyInsertedOrderInsensitiveRule=this._alreadyInsertedOrderInsensitiveRule||!i}if(this.isSpeedy){var o=hl(a);try{o.insertRule(n,o.cssRules.length)}catch(s){process.env.NODE_ENV!=="production"&&!/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(n)&&console.error('There was a problem inserting the following rule: "'+n+'"',s)}}else a.appendChild(document.createTextNode(n));this.ctr++},t.flush=function(){this.tags.forEach(function(n){return n.parentNode&&n.parentNode.removeChild(n)}),this.tags=[],this.ctr=0,process.env.NODE_ENV!=="production"&&(this._alreadyInsertedOrderInsensitiveRule=!1)},e}(),ge="-ms-",zn="-moz-",z="-webkit-",fa="comm",ha="rule",pa="decl",gl="@import",bo="@keyframes",vl="@layer",bl=Math.abs,lr=String.fromCharCode,yl=Object.assign;function Il(e,t){return he(e,0)^45?(((t<<2^he(e,0))<<2^he(e,1))<<2^he(e,2))<<2^he(e,3):0}function yo(e){return e.trim()}function xl(e,t){return(e=t.exec(e))?e[0]:e}function U(e,t,r){return e.replace(t,r)}function Hr(e,t){return e.indexOf(t)}function he(e,t){return e.charCodeAt(t)|0}function hn(e,t,r){return e.slice(t,r)}function Qe(e){return e.length}function ma(e){return e.length}function An(e,t){return t.push(e),e}function Cl(e,t){return e.map(t).join("")}var cr=1,Xt=1,Io=0,we=0,le=0,zt="";function dr(e,t,r,n,a,i,o){return{value:e,root:t,parent:r,type:n,props:a,children:i,line:cr,column:Xt,length:o,return:""}}function tn(e,t){return yl(dr("",null,null,"",null,null,0),e,{length:-e.length},t)}function wl(){return le}function Dl(){return le=we>0?he(zt,--we):0,Xt--,le===10&&(Xt=1,cr--),le}function Ee(){return le=we<Io?he(zt,we++):0,Xt++,le===10&&(Xt=1,cr++),le}function qe(){return he(zt,we)}function Wn(){return we}function xn(e,t){return hn(zt,e,t)}function pn(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function xo(e){return cr=Xt=1,Io=Qe(zt=e),we=0,[]}function Co(e){return zt="",e}function Yn(e){return yo(xn(we-1,Zr(e===91?e+2:e===40?e+1:e)))}function kl(e){for(;(le=qe())&&le<33;)Ee();return pn(e)>2||pn(le)>3?"":" "}function Ml(e,t){for(;--t&&Ee()&&!(le<48||le>102||le>57&&le<65||le>70&&le<97););return xn(e,Wn()+(t<6&&qe()==32&&Ee()==32))}function Zr(e){for(;Ee();)switch(le){case e:return we;case 34:case 39:e!==34&&e!==39&&Zr(le);break;case 40:e===41&&Zr(e);break;case 92:Ee();break}return we}function Sl(e,t){for(;Ee()&&e+le!==57;)if(e+le===84&&qe()===47)break;return"/*"+xn(t,we-1)+"*"+lr(e===47?e:Ee())}function El(e){for(;!pn(qe());)Ee();return xn(e,we)}function Al(e){return Co(Vn("",null,null,null,[""],e=xo(e),0,[0],e))}function Vn(e,t,r,n,a,i,o,s,u){for(var l=0,c=0,d=o,p=0,h=0,f=0,g=1,v=1,b=1,I=0,x="",k=a,y=i,C=n,D=x;v;)switch(f=I,I=Ee()){case 40:if(f!=108&&he(D,d-1)==58){Hr(D+=U(Yn(I),"&","&\f"),"&\f")!=-1&&(b=-1);break}case 34:case 39:case 91:D+=Yn(I);break;case 9:case 10:case 13:case 32:D+=kl(f);break;case 92:D+=Ml(Wn()-1,7);continue;case 47:switch(qe()){case 42:case 47:An(_l(Sl(Ee(),Wn()),t,r),u);break;default:D+="/"}break;case 123*g:s[l++]=Qe(D)*b;case 125*g:case 59:case 0:switch(I){case 0:case 125:v=0;case 59+c:b==-1&&(D=U(D,/\f/g,"")),h>0&&Qe(D)-d&&An(h>32?mi(D+";",n,r,d-1):mi(U(D," ","")+";",n,r,d-2),u);break;case 59:D+=";";default:if(An(C=pi(D,t,r,l,c,a,s,x,k=[],y=[],d),i),I===123)if(c===0)Vn(D,t,C,C,k,i,d,s,y);else switch(p===99&&he(D,3)===110?100:p){case 100:case 108:case 109:case 115:Vn(e,C,C,n&&An(pi(e,C,C,0,0,a,s,x,a,k=[],d),y),a,y,d,s,n?k:y);break;default:Vn(D,C,C,C,[""],y,0,s,y)}}l=c=h=0,g=b=1,x=D="",d=o;break;case 58:d=1+Qe(D),h=f;default:if(g<1){if(I==123)--g;else if(I==125&&g++==0&&Dl()==125)continue}switch(D+=lr(I),I*g){case 38:b=c>0?1:(D+="\f",-1);break;case 44:s[l++]=(Qe(D)-1)*b,b=1;break;case 64:qe()===45&&(D+=Yn(Ee())),p=qe(),c=d=Qe(x=D+=El(Wn())),I++;break;case 45:f===45&&Qe(D)==2&&(g=0)}}return i}function pi(e,t,r,n,a,i,o,s,u,l,c){for(var d=a-1,p=a===0?i:[""],h=ma(p),f=0,g=0,v=0;f<n;++f)for(var b=0,I=hn(e,d+1,d=bl(g=o[f])),x=e;b<h;++b)(x=yo(g>0?p[b]+" "+I:U(I,/&\f/g,p[b])))&&(u[v++]=x);return dr(e,t,r,a===0?ha:s,u,l,c)}function _l(e,t,r){return dr(e,t,r,fa,lr(wl()),hn(e,2,-2),0)}function mi(e,t,r,n){return dr(e,t,r,pa,hn(e,0,n),hn(e,n+1,-1),n)}function Vt(e,t){for(var r="",n=ma(e),a=0;a<n;a++)r+=t(e[a],a,e,t)||"";return r}function Nl(e,t,r,n){switch(e.type){case vl:if(e.children.length)break;case gl:case pa:return e.return=e.return||e.value;case fa:return"";case bo:return e.return=e.value+"{"+Vt(e.children,n)+"}";case ha:e.value=e.props.join(",")}return Qe(r=Vt(e.children,n))?e.return=e.value+"{"+r+"}":""}function Ol(e){var t=ma(e);return function(r,n,a,i){for(var o="",s=0;s<t;s++)o+=e[s](r,n,a,i)||"";return o}}function Pl(e){return function(t){t.root||(t=t.return)&&e(t)}}function Tl(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var Fl=function(t,r,n){for(var a=0,i=0;a=i,i=qe(),a===38&&i===12&&(r[n]=1),!pn(i);)Ee();return xn(t,we)},Rl=function(t,r){var n=-1,a=44;do switch(pn(a)){case 0:a===38&&qe()===12&&(r[n]=1),t[n]+=Fl(we-1,r,n);break;case 2:t[n]+=Yn(a);break;case 4:if(a===44){t[++n]=qe()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=lr(a)}while(a=Ee());return t},Gl=function(t,r){return Co(Rl(xo(t),r))},gi=new WeakMap,Bl=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var r=t.value,n=t.parent,a=t.column===n.column&&t.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(t.props.length===1&&r.charCodeAt(0)!==58&&!gi.get(n))&&!a){gi.set(t,!0);for(var i=[],o=Gl(r,i),s=n.props,u=0,l=0;u<o.length;u++)for(var c=0;c<s.length;c++,l++)t.props[l]=i[u]?o[u].replace(/&\f/g,s[c]):s[c]+" "+o[u]}}},Wl=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}},Yl="emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason",Vl=function(t){return t.type==="comm"&&t.children.indexOf(Yl)>-1},Ll=function(t){return function(r,n,a){if(!(r.type!=="rule"||t.compat)){var i=r.value.match(/(:first|:nth|:nth-last)-child/g);if(i){for(var o=!!r.parent,s=o?r.parent.children:a,u=s.length-1;u>=0;u--){var l=s[u];if(l.line<r.line)break;if(l.column<r.column){if(Vl(l))return;break}}i.forEach(function(c){console.error('The pseudo class "'+c+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+c.split("-child")[0]+'-of-type".')})}}}},wo=function(t){return t.type.charCodeAt(1)===105&&t.type.charCodeAt(0)===64},Hl=function(t,r){for(var n=t-1;n>=0;n--)if(!wo(r[n]))return!0;return!1},bi=function(t){t.type="",t.value="",t.return="",t.children="",t.props=""},Zl=function(t,r,n){wo(t)&&(t.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),bi(t)):Hl(r,n)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),bi(t)))};function Do(e,t){switch(Il(e,t)){case 5103:return z+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return z+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return z+e+zn+e+ge+e+e;case 6828:case 4268:return z+e+ge+e+e;case 6165:return z+e+ge+"flex-"+e+e;case 5187:return z+e+U(e,/(\w+).+(:[^]+)/,z+"box-$1$2"+ge+"flex-$1$2")+e;case 5443:return z+e+ge+"flex-item-"+U(e,/flex-|-self/,"")+e;case 4675:return z+e+ge+"flex-line-pack"+U(e,/align-content|flex-|-self/,"")+e;case 5548:return z+e+ge+U(e,"shrink","negative")+e;case 5292:return z+e+ge+U(e,"basis","preferred-size")+e;case 6060:return z+"box-"+U(e,"-grow","")+z+e+ge+U(e,"grow","positive")+e;case 4554:return z+U(e,/([^-])(transform)/g,"$1"+z+"$2")+e;case 6187:return U(U(U(e,/(zoom-|grab)/,z+"$1"),/(image-set)/,z+"$1"),e,"")+e;case 5495:case 3959:return U(e,/(image-set\([^]*)/,z+"$1$`$1");case 4968:return U(U(e,/(.+:)(flex-)?(.*)/,z+"box-pack:$3"+ge+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+z+e+e;case 4095:case 3583:case 4068:case 2532:return U(e,/(.+)-inline(.+)/,z+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Qe(e)-1-t>6)switch(he(e,t+1)){case 109:if(he(e,t+4)!==45)break;case 102:return U(e,/(.+:)(.+)-([^]+)/,"$1"+z+"$2-$3$1"+zn+(he(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Hr(e,"stretch")?Do(U(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(he(e,t+1)!==115)break;case 6444:switch(he(e,Qe(e)-3-(~Hr(e,"!important")&&10))){case 107:return U(e,":",":"+z)+e;case 101:return U(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+z+(he(e,14)===45?"inline-":"")+"box$3$1"+z+"$2$3$1"+ge+"$2box$3")+e}break;case 5936:switch(he(e,t+11)){case 114:return z+e+ge+U(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return z+e+ge+U(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return z+e+ge+U(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return z+e+ge+e+e}return e}var Xl=function(t,r,n,a){if(t.length>-1&&!t.return)switch(t.type){case pa:t.return=Do(t.value,t.length);break;case bo:return Vt([tn(t,{value:U(t.value,"@","@"+z)})],a);case ha:if(t.length)return Cl(t.props,function(i){switch(xl(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Vt([tn(t,{props:[U(i,/:(read-\w+)/,":"+zn+"$1")]})],a);case"::placeholder":return Vt([tn(t,{props:[U(i,/:(plac\w+)/,":"+z+"input-$1")]}),tn(t,{props:[U(i,/:(plac\w+)/,":"+zn+"$1")]}),tn(t,{props:[U(i,/:(plac\w+)/,ge+"input-$1")]})],a)}return""})}},jl=[Xl],zl=function(t){var r=t.key;if(process.env.NODE_ENV!=="production"&&!r)throw new Error(`You have to configure \`key\` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.
|
|
111
|
-
If multiple caches share the same key they might "fight" for each other's style elements.`);if(
|
|
109
|
+
`;function B(){return B=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},B.apply(this,arguments)}function Bl(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function Vl(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var Hl=function(){function e(n){var r=this;this._insertTag=function(a){var i;r.tags.length===0?r.insertionPoint?i=r.insertionPoint.nextSibling:r.prepend?i=r.container.firstChild:i=r.before:i=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(a,i),r.tags.push(a)},this.isSpeedy=n.speedy===void 0?process.env.NODE_ENV==="production":n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(r){r.forEach(this._insertTag)},t.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(Vl(this));var a=this.tags[this.tags.length-1];if(process.env.NODE_ENV!=="production"){var i=r.charCodeAt(0)===64&&r.charCodeAt(1)===105;i&&this._alreadyInsertedOrderInsensitiveRule&&console.error(`You're attempting to insert the following rule:
|
|
110
|
+
`+r+"\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."),this._alreadyInsertedOrderInsensitiveRule=this._alreadyInsertedOrderInsensitiveRule||!i}if(this.isSpeedy){var o=Bl(a);try{o.insertRule(r,o.cssRules.length)}catch(s){process.env.NODE_ENV!=="production"&&!/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(r)&&console.error('There was a problem inserting the following rule: "'+r+'"',s)}}else a.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){return r.parentNode&&r.parentNode.removeChild(r)}),this.tags=[],this.ctr=0,process.env.NODE_ENV!=="production"&&(this._alreadyInsertedOrderInsensitiveRule=!1)},e}(),Fe="-ms-",nr="-moz-",te="-webkit-",Oa="comm",Aa="rule",Na="decl",Xl="@import",Fo="@keyframes",Zl="@layer",Ll=Math.abs,pr=String.fromCharCode,jl=Object.assign;function zl(e,t){return _e(e,0)^45?(((t<<2^_e(e,0))<<2^_e(e,1))<<2^_e(e,2))<<2^_e(e,3):0}function Go(e){return e.trim()}function Jl(e,t){return(e=t.exec(e))?e[0]:e}function ne(e,t,n){return e.replace(t,n)}function aa(e,t){return e.indexOf(t)}function _e(e,t){return e.charCodeAt(t)|0}function wn(e,t,n){return e.slice(t,n)}function ct(e){return e.length}function Ta(e){return e.length}function Vn(e,t){return t.push(e),e}function Ul(e,t){return e.map(t).join("")}var br=1,nn=1,Po=0,Be=0,ke=0,on="";function vr(e,t,n,r,a,i,o){return{value:e,root:t,parent:n,type:r,props:a,children:i,line:br,column:nn,length:o,return:""}}function dn(e,t){return jl(vr("",null,null,"",null,null,0),e,{length:-e.length},t)}function $l(){return ke}function Ql(){return ke=Be>0?_e(on,--Be):0,nn--,ke===10&&(nn=1,br--),ke}function je(){return ke=Be<Po?_e(on,Be++):0,nn++,ke===10&&(nn=1,br++),ke}function ht(){return _e(on,Be)}function Un(){return Be}function Tn(e,t){return wn(on,e,t)}function Mn(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Yo(e){return br=nn=1,Po=ct(on=e),Be=0,[]}function Ro(e){return on="",e}function $n(e){return Go(Tn(Be-1,ia(e===91?e+2:e===40?e+1:e)))}function ql(e){for(;(ke=ht())&&ke<33;)je();return Mn(e)>2||Mn(ke)>3?"":" "}function Kl(e,t){for(;--t&&je()&&!(ke<48||ke>102||ke>57&&ke<65||ke>70&&ke<97););return Tn(e,Un()+(t<6&&ht()==32&&je()==32))}function ia(e){for(;je();)switch(ke){case e:return Be;case 34:case 39:e!==34&&e!==39&&ia(ke);break;case 40:e===41&&ia(e);break;case 92:je();break}return Be}function ec(e,t){for(;je()&&e+ke!==57;)if(e+ke===84&&ht()===47)break;return"/*"+Tn(t,Be-1)+"*"+pr(e===47?e:je())}function tc(e){for(;!Mn(ht());)je();return Tn(e,Be)}function nc(e){return Ro(Qn("",null,null,null,[""],e=Yo(e),0,[0],e))}function Qn(e,t,n,r,a,i,o,s,u){for(var l=0,c=0,d=o,m=0,h=0,g=0,v=1,b=1,I=1,x=0,C="",M=a,y=i,p=r,w=C;b;)switch(g=x,x=je()){case 40:if(g!=108&&_e(w,d-1)==58){aa(w+=ne($n(x),"&","&\f"),"&\f")!=-1&&(I=-1);break}case 34:case 39:case 91:w+=$n(x);break;case 9:case 10:case 13:case 32:w+=ql(g);break;case 92:w+=Kl(Un()-1,7);continue;case 47:switch(ht()){case 42:case 47:Vn(rc(ec(je(),Un()),t,n),u);break;default:w+="/"}break;case 123*v:s[l++]=ct(w)*I;case 125*v:case 59:case 0:switch(x){case 0:case 125:b=0;case 59+c:I==-1&&(w=ne(w,/\f/g,"")),h>0&&ct(w)-d&&Vn(h>32?Oi(w+";",r,n,d-1):Oi(ne(w," ","")+";",r,n,d-2),u);break;case 59:w+=";";default:if(Vn(p=Ei(w,t,n,l,c,a,s,C,M=[],y=[],d),i),x===123)if(c===0)Qn(w,t,p,p,M,i,d,s,y);else switch(m===99&&_e(w,3)===110?100:m){case 100:case 108:case 109:case 115:Qn(e,p,p,r&&Vn(Ei(e,p,p,0,0,a,s,C,a,M=[],d),y),a,y,d,s,r?M:y);break;default:Qn(w,p,p,p,[""],y,0,s,y)}}l=c=h=0,v=I=1,C=w="",d=o;break;case 58:d=1+ct(w),h=g;default:if(v<1){if(x==123)--v;else if(x==125&&v++==0&&Ql()==125)continue}switch(w+=pr(x),x*v){case 38:I=c>0?1:(w+="\f",-1);break;case 44:s[l++]=(ct(w)-1)*I,I=1;break;case 64:ht()===45&&(w+=$n(je())),m=ht(),c=d=ct(C=w+=tc(Un())),x++;break;case 45:g===45&&ct(w)==2&&(v=0)}}return i}function Ei(e,t,n,r,a,i,o,s,u,l,c){for(var d=a-1,m=a===0?i:[""],h=Ta(m),g=0,v=0,b=0;g<r;++g)for(var I=0,x=wn(e,d+1,d=Ll(v=o[g])),C=e;I<h;++I)(C=Go(v>0?m[I]+" "+x:ne(x,/&\f/g,m[I])))&&(u[b++]=C);return vr(e,t,n,a===0?Aa:s,u,l,c)}function rc(e,t,n){return vr(e,t,n,Oa,pr($l()),wn(e,2,-2),0)}function Oi(e,t,n,r){return vr(e,t,n,Na,wn(e,0,r),wn(e,r+1,-1),r)}function qt(e,t){for(var n="",r=Ta(e),a=0;a<r;a++)n+=t(e[a],a,e,t)||"";return n}function ac(e,t,n,r){switch(e.type){case Zl:if(e.children.length)break;case Xl:case Na:return e.return=e.return||e.value;case Oa:return"";case Fo:return e.return=e.value+"{"+qt(e.children,r)+"}";case Aa:e.value=e.props.join(",")}return ct(n=qt(e.children,r))?e.return=e.value+"{"+n+"}":""}function ic(e){var t=Ta(e);return function(n,r,a,i){for(var o="",s=0;s<t;s++)o+=e[s](n,r,a,i)||"";return o}}function oc(e){return function(t){t.root||(t=t.return)&&e(t)}}function sc(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var uc=function(t,n,r){for(var a=0,i=0;a=i,i=ht(),a===38&&i===12&&(n[r]=1),!Mn(i);)je();return Tn(t,Be)},lc=function(t,n){var r=-1,a=44;do switch(Mn(a)){case 0:a===38&&ht()===12&&(n[r]=1),t[r]+=uc(Be-1,n,r);break;case 2:t[r]+=$n(a);break;case 4:if(a===44){t[++r]=ht()===58?"&\f":"",n[r]=t[r].length;break}default:t[r]+=pr(a)}while(a=je());return t},cc=function(t,n){return Ro(lc(Yo(t),n))},Ai=new WeakMap,dc=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var n=t.value,r=t.parent,a=t.column===r.column&&t.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(t.props.length===1&&n.charCodeAt(0)!==58&&!Ai.get(r))&&!a){Ai.set(t,!0);for(var i=[],o=cc(n,i),s=r.props,u=0,l=0;u<o.length;u++)for(var c=0;c<s.length;c++,l++)t.props[l]=i[u]?o[u].replace(/&\f/g,s[c]):s[c]+" "+o[u]}}},fc=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}},hc="emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason",mc=function(t){return t.type==="comm"&&t.children.indexOf(hc)>-1},gc=function(t){return function(n,r,a){if(!(n.type!=="rule"||t.compat)){var i=n.value.match(/(:first|:nth|:nth-last)-child/g);if(i){for(var o=!!n.parent,s=o?n.parent.children:a,u=s.length-1;u>=0;u--){var l=s[u];if(l.line<n.line)break;if(l.column<n.column){if(mc(l))return;break}}i.forEach(function(c){console.error('The pseudo class "'+c+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+c.split("-child")[0]+'-of-type".')})}}}},Bo=function(t){return t.type.charCodeAt(1)===105&&t.type.charCodeAt(0)===64},pc=function(t,n){for(var r=t-1;r>=0;r--)if(!Bo(n[r]))return!0;return!1},Ni=function(t){t.type="",t.value="",t.return="",t.children="",t.props=""},bc=function(t,n,r){Bo(t)&&(t.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),Ni(t)):pc(n,r)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),Ni(t)))};function Vo(e,t){switch(zl(e,t)){case 5103:return te+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return te+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return te+e+nr+e+Fe+e+e;case 6828:case 4268:return te+e+Fe+e+e;case 6165:return te+e+Fe+"flex-"+e+e;case 5187:return te+e+ne(e,/(\w+).+(:[^]+)/,te+"box-$1$2"+Fe+"flex-$1$2")+e;case 5443:return te+e+Fe+"flex-item-"+ne(e,/flex-|-self/,"")+e;case 4675:return te+e+Fe+"flex-line-pack"+ne(e,/align-content|flex-|-self/,"")+e;case 5548:return te+e+Fe+ne(e,"shrink","negative")+e;case 5292:return te+e+Fe+ne(e,"basis","preferred-size")+e;case 6060:return te+"box-"+ne(e,"-grow","")+te+e+Fe+ne(e,"grow","positive")+e;case 4554:return te+ne(e,/([^-])(transform)/g,"$1"+te+"$2")+e;case 6187:return ne(ne(ne(e,/(zoom-|grab)/,te+"$1"),/(image-set)/,te+"$1"),e,"")+e;case 5495:case 3959:return ne(e,/(image-set\([^]*)/,te+"$1$`$1");case 4968:return ne(ne(e,/(.+:)(flex-)?(.*)/,te+"box-pack:$3"+Fe+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+te+e+e;case 4095:case 3583:case 4068:case 2532:return ne(e,/(.+)-inline(.+)/,te+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(ct(e)-1-t>6)switch(_e(e,t+1)){case 109:if(_e(e,t+4)!==45)break;case 102:return ne(e,/(.+:)(.+)-([^]+)/,"$1"+te+"$2-$3$1"+nr+(_e(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~aa(e,"stretch")?Vo(ne(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(_e(e,t+1)!==115)break;case 6444:switch(_e(e,ct(e)-3-(~aa(e,"!important")&&10))){case 107:return ne(e,":",":"+te)+e;case 101:return ne(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+te+(_e(e,14)===45?"inline-":"")+"box$3$1"+te+"$2$3$1"+Fe+"$2box$3")+e}break;case 5936:switch(_e(e,t+11)){case 114:return te+e+Fe+ne(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return te+e+Fe+ne(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return te+e+Fe+ne(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return te+e+Fe+e+e}return e}var vc=function(t,n,r,a){if(t.length>-1&&!t.return)switch(t.type){case Na:t.return=Vo(t.value,t.length);break;case Fo:return qt([dn(t,{value:ne(t.value,"@","@"+te)})],a);case Aa:if(t.length)return Ul(t.props,function(i){switch(Jl(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return qt([dn(t,{props:[ne(i,/:(read-\w+)/,":"+nr+"$1")]})],a);case"::placeholder":return qt([dn(t,{props:[ne(i,/:(plac\w+)/,":"+te+"input-$1")]}),dn(t,{props:[ne(i,/:(plac\w+)/,":"+nr+"$1")]}),dn(t,{props:[ne(i,/:(plac\w+)/,Fe+"input-$1")]})],a)}return""})}},yc=[vc],Ic=function(t){var n=t.key;if(process.env.NODE_ENV!=="production"&&!n)throw new Error(`You have to configure \`key\` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.
|
|
111
|
+
If multiple caches share the same key they might "fight" for each other's style elements.`);if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(v){var b=v.getAttribute("data-emotion");b.indexOf(" ")!==-1&&(document.head.appendChild(v),v.setAttribute("data-s",""))})}var a=t.stylisPlugins||yc;if(process.env.NODE_ENV!=="production"&&/[^a-z-]/.test(n))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+n+'" was passed');var i={},o,s=[];o=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(v){for(var b=v.getAttribute("data-emotion").split(" "),I=1;I<b.length;I++)i[b[I]]=!0;s.push(v)});var u,l=[dc,fc];process.env.NODE_ENV!=="production"&&l.push(gc({get compat(){return g.compat}}),bc);{var c,d=[ac,process.env.NODE_ENV!=="production"?function(v){v.root||(v.return?c.insert(v.return):v.value&&v.type!==Oa&&c.insert(v.value+"{}"))}:oc(function(v){c.insert(v)})],m=ic(l.concat(a,d)),h=function(b){return qt(nc(b),m)};u=function(b,I,x,C){c=x,process.env.NODE_ENV!=="production"&&I.map!==void 0&&(c={insert:function(y){x.insert(y+I.map)}}),h(b?b+"{"+I.styles+"}":I.styles),C&&(g.inserted[I.name]=!0)}}var g={key:n,sheet:new Hl({key:n,container:o,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:i,registered:{},insert:u};return g.sheet.hydrate(s),g},Hn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function xc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var oa={exports:{}},ae={};/** @license React v16.13.1
|
|
112
112
|
* react-is.development.js
|
|
113
113
|
*
|
|
114
114
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
115
115
|
*
|
|
116
116
|
* This source code is licensed under the MIT license found in the
|
|
117
117
|
* LICENSE file in the root directory of this source tree.
|
|
118
|
-
*/var
|
|
118
|
+
*/var Ti;function Cc(){return Ti||(Ti=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,o=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,c=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,m=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,v=e?Symbol.for("react.block"):60121,b=e?Symbol.for("react.fundamental"):60117,I=e?Symbol.for("react.responder"):60118,x=e?Symbol.for("react.scope"):60119;function C(_){return typeof _=="string"||typeof _=="function"||_===r||_===l||_===i||_===a||_===d||_===m||typeof _=="object"&&_!==null&&(_.$$typeof===g||_.$$typeof===h||_.$$typeof===o||_.$$typeof===s||_.$$typeof===c||_.$$typeof===b||_.$$typeof===I||_.$$typeof===x||_.$$typeof===v)}function M(_){if(typeof _=="object"&&_!==null){var ut=_.$$typeof;switch(ut){case t:var G=_.type;switch(G){case u:case l:case r:case i:case a:case d:return G;default:var Se=G&&G.$$typeof;switch(Se){case s:case c:case g:case h:case o:return Se;default:return ut}}case n:return ut}}}var y=u,p=l,w=s,O=o,E=t,W=c,V=r,j=g,J=h,N=n,z=i,Ce=a,de=d,pe=!1;function be(_){return pe||(pe=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),fe(_)||M(_)===u}function fe(_){return M(_)===l}function we(_){return M(_)===s}function he(_){return M(_)===o}function ve(_){return typeof _=="object"&&_!==null&&_.$$typeof===t}function Ne(_){return M(_)===c}function ue(_){return M(_)===r}function Te(_){return M(_)===g}function Ee(_){return M(_)===h}function Ke(_){return M(_)===n}function Ue(_){return M(_)===i}function st(_){return M(_)===a}function yt(_){return M(_)===d}ae.AsyncMode=y,ae.ConcurrentMode=p,ae.ContextConsumer=w,ae.ContextProvider=O,ae.Element=E,ae.ForwardRef=W,ae.Fragment=V,ae.Lazy=j,ae.Memo=J,ae.Portal=N,ae.Profiler=z,ae.StrictMode=Ce,ae.Suspense=de,ae.isAsyncMode=be,ae.isConcurrentMode=fe,ae.isContextConsumer=we,ae.isContextProvider=he,ae.isElement=ve,ae.isForwardRef=Ne,ae.isFragment=ue,ae.isLazy=Te,ae.isMemo=Ee,ae.isPortal=Ke,ae.isProfiler=Ue,ae.isStrictMode=st,ae.isSuspense=yt,ae.isValidElementType=C,ae.typeOf=M}()),ae}var ie={};/** @license React v16.13.1
|
|
119
119
|
* react-is.production.min.js
|
|
120
120
|
*
|
|
121
121
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
122
122
|
*
|
|
123
123
|
* This source code is licensed under the MIT license found in the
|
|
124
124
|
* LICENSE file in the root directory of this source tree.
|
|
125
|
-
*/var
|
|
125
|
+
*/var _i;function wc(){if(_i)return ie;_i=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,o=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,c=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,m=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,v=e?Symbol.for("react.block"):60121,b=e?Symbol.for("react.fundamental"):60117,I=e?Symbol.for("react.responder"):60118,x=e?Symbol.for("react.scope"):60119;function C(y){if(typeof y=="object"&&y!==null){var p=y.$$typeof;switch(p){case t:switch(y=y.type,y){case u:case l:case r:case i:case a:case d:return y;default:switch(y=y&&y.$$typeof,y){case s:case c:case g:case h:case o:return y;default:return p}}case n:return p}}}function M(y){return C(y)===l}return ie.AsyncMode=u,ie.ConcurrentMode=l,ie.ContextConsumer=s,ie.ContextProvider=o,ie.Element=t,ie.ForwardRef=c,ie.Fragment=r,ie.Lazy=g,ie.Memo=h,ie.Portal=n,ie.Profiler=i,ie.StrictMode=a,ie.Suspense=d,ie.isAsyncMode=function(y){return M(y)||C(y)===u},ie.isConcurrentMode=M,ie.isContextConsumer=function(y){return C(y)===s},ie.isContextProvider=function(y){return C(y)===o},ie.isElement=function(y){return typeof y=="object"&&y!==null&&y.$$typeof===t},ie.isForwardRef=function(y){return C(y)===c},ie.isFragment=function(y){return C(y)===r},ie.isLazy=function(y){return C(y)===g},ie.isMemo=function(y){return C(y)===h},ie.isPortal=function(y){return C(y)===n},ie.isProfiler=function(y){return C(y)===i},ie.isStrictMode=function(y){return C(y)===a},ie.isSuspense=function(y){return C(y)===d},ie.isValidElementType=function(y){return typeof y=="string"||typeof y=="function"||y===r||y===l||y===i||y===a||y===d||y===m||typeof y=="object"&&y!==null&&(y.$$typeof===g||y.$$typeof===h||y.$$typeof===o||y.$$typeof===s||y.$$typeof===c||y.$$typeof===b||y.$$typeof===I||y.$$typeof===x||y.$$typeof===v)},ie.typeOf=C,ie}process.env.NODE_ENV==="production"?oa.exports=wc():oa.exports=Cc();var Mc=oa.exports,Ho=Mc,Sc={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},kc={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Xo={};Xo[Ho.ForwardRef]=Sc;Xo[Ho.Memo]=kc;var Dc=!0;function Zo(e,t,n){var r="";return n.split(" ").forEach(function(a){e[a]!==void 0?t.push(e[a]+";"):r+=a+" "}),r}var _a=function(t,n,r){var a=t.key+"-"+n.name;(r===!1||Dc===!1)&&t.registered[a]===void 0&&(t.registered[a]=n.styles)},Wa=function(t,n,r){_a(t,n,r);var a=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var i=n;do t.insert(n===i?"."+a:"",i,t.sheet,!0),i=i.next;while(i!==void 0)}};function Ec(e){for(var t=0,n,r=0,a=e.length;a>=4;++r,a-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(a){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Oc={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Wi=`You have illegal escape sequence in your template literal, most likely inside content's property value.
|
|
126
126
|
Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';".
|
|
127
127
|
You can read more about this here:
|
|
128
|
-
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,
|
|
128
|
+
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,Ac="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",Nc=/[A-Z]|^ms/g,Lo=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Fa=function(t){return t.charCodeAt(1)===45},Fi=function(t){return t!=null&&typeof t!="boolean"},Yr=sc(function(e){return Fa(e)?e:e.replace(Nc,"-$&").toLowerCase()}),rr=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(Lo,function(r,a,i){return tt={name:a,styles:i,next:tt},a})}return Oc[t]!==1&&!Fa(t)&&typeof n=="number"&&n!==0?n+"px":n};if(process.env.NODE_ENV!=="production"){var Tc=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,_c=["normal","none","initial","inherit","unset"],Wc=rr,Fc=/^-ms-/,Gc=/-(.)/g,Gi={};rr=function(t,n){if(t==="content"&&(typeof n!="string"||_c.indexOf(n)===-1&&!Tc.test(n)&&(n.charAt(0)!==n.charAt(n.length-1)||n.charAt(0)!=='"'&&n.charAt(0)!=="'")))throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+n+"\"'`");var r=Wc(t,n);return r!==""&&!Fa(t)&&t.indexOf("-")!==-1&&Gi[t]===void 0&&(Gi[t]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+t.replace(Fc,"ms-").replace(Gc,function(a,i){return i.toUpperCase()})+"?")),r}}var jo="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Sn(e,t,n){if(n==null)return"";if(n.__emotion_styles!==void 0){if(process.env.NODE_ENV!=="production"&&n.toString()==="NO_COMPONENT_SELECTOR")throw new Error(jo);return n}switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return tt={name:n.name,styles:n.styles,next:tt},n.name;if(n.styles!==void 0){var r=n.next;if(r!==void 0)for(;r!==void 0;)tt={name:r.name,styles:r.styles,next:tt},r=r.next;var a=n.styles+";";return process.env.NODE_ENV!=="production"&&n.map!==void 0&&(a+=n.map),a}return Pc(e,t,n)}case"function":{if(e!==void 0){var i=tt,o=n(e);return tt=i,Sn(e,t,o)}else process.env.NODE_ENV!=="production"&&console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");break}case"string":if(process.env.NODE_ENV!=="production"){var s=[],u=n.replace(Lo,function(c,d,m){var h="animation"+s.length;return s.push("const "+h+" = keyframes`"+m.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+h+"}"});s.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(s,["`"+u+"`"]).join(`
|
|
129
129
|
`)+`
|
|
130
130
|
|
|
131
131
|
You should wrap it with \`css\` like this:
|
|
132
132
|
|
|
133
|
-
`+("css`"+u+"`"))}break}if(t==null)return
|
|
134
|
-
`),n=0;n<r.length;n++){var a=fc(r[n]);if(a){if(hc.has(a))break;if(/^[A-Z]/.test(a))return pc(a)}}},jr="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",zr="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",gc=function(t,r){if(process.env.NODE_ENV!=="production"&&typeof r.css=="string"&&r.css.indexOf(":")!==-1)throw new Error("Strings are not allowed as css prop values, please wrap it in a css template literal from '@emotion/react' like this: css`"+r.css+"`");var n={};for(var a in r)Ia.call(r,a)&&(n[a]=r[a]);if(n[jr]=t,process.env.NODE_ENV!=="production"&&r.css&&(typeof r.css!="object"||typeof r.css.name!="string"||r.css.name.indexOf("-")===-1)){var i=mc(new Error().stack);i&&(n[zr]=i)}return n},vc=function(t){var r=t.cache,n=t.serialized,a=t.isStringTag;return va(r,n,a),Oo(function(){return ba(r,n,a)}),null},Po=Ca(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var a=e[jr],i=[n],o="";typeof e.className=="string"?o=So(t.registered,i,e.className):e.className!=null&&(o=e.className+" ");var s=gn(i,void 0,G.useContext(fr));if(process.env.NODE_ENV!=="production"&&s.name.indexOf("-")===-1){var u=e[zr];u&&(s=gn([s,"label:"+u+";"]))}o+=t.key+"-"+s.name;var l={};for(var c in e)Ia.call(e,c)&&c!=="css"&&c!==jr&&(process.env.NODE_ENV==="production"||c!==zr)&&(l[c]=e[c]);return l.ref=r,l.className=o,G.createElement(G.Fragment,null,G.createElement(vc,{cache:t,serialized:s,isStringTag:typeof a=="string"}),G.createElement(a,l))});process.env.NODE_ENV!=="production"&&(Po.displayName="EmotionCssPropInternal");var bc=Po,yc={name:"@emotion/react",version:"11.11.1",main:"dist/emotion-react.cjs.js",module:"dist/emotion-react.esm.js",browser:{"./dist/emotion-react.esm.js":"./dist/emotion-react.browser.esm.js"},exports:{".":{module:{worker:"./dist/emotion-react.worker.esm.js",browser:"./dist/emotion-react.browser.esm.js",default:"./dist/emotion-react.esm.js"},import:"./dist/emotion-react.cjs.mjs",default:"./dist/emotion-react.cjs.js"},"./jsx-runtime":{module:{worker:"./jsx-runtime/dist/emotion-react-jsx-runtime.worker.esm.js",browser:"./jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.esm.js"},import:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.mjs",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js"},"./_isolated-hnrs":{module:{worker:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.worker.esm.js",browser:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.esm.js"},import:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.mjs",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.js"},"./jsx-dev-runtime":{module:{worker:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.worker.esm.js",browser:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.js",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.esm.js"},import:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.mjs",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.js"},"./package.json":"./package.json","./types/css-prop":"./types/css-prop.d.ts","./macro":{types:{import:"./macro.d.mts",default:"./macro.d.ts"},default:"./macro.js"}},types:"types/index.d.ts",files:["src","dist","jsx-runtime","jsx-dev-runtime","_isolated-hnrs","types/*.d.ts","macro.*"],sideEffects:!1,author:"Emotion Contributors",license:"MIT",scripts:{"test:typescript":"dtslint types"},dependencies:{"@babel/runtime":"^7.18.3","@emotion/babel-plugin":"^11.11.0","@emotion/cache":"^11.11.0","@emotion/serialize":"^1.1.2","@emotion/use-insertion-effect-with-fallbacks":"^1.0.1","@emotion/utils":"^1.2.1","@emotion/weak-memoize":"^0.3.1","hoist-non-react-statics":"^3.3.1"},peerDependencies:{react:">=16.8.0"},peerDependenciesMeta:{"@types/react":{optional:!0}},devDependencies:{"@definitelytyped/dtslint":"0.0.112","@emotion/css":"11.11.0","@emotion/css-prettifier":"1.1.3","@emotion/server":"11.11.0","@emotion/styled":"11.11.0","html-tag-names":"^1.1.2",react:"16.14.0","svg-tag-names":"^1.1.1",typescript:"^4.5.5"},repository:"https://github.com/emotion-js/emotion/tree/main/packages/react",publishConfig:{access:"public"},"umd:main":"dist/emotion-react.umd.min.js",preconstruct:{entrypoints:["./index.js","./jsx-runtime.js","./jsx-dev-runtime.js","./_isolated-hnrs.js"],umdName:"emotionReact",exports:{envConditions:["browser","worker"],extra:{"./types/css-prop":"./types/css-prop.d.ts","./macro":{types:{import:"./macro.d.mts",default:"./macro.d.ts"},default:"./macro.js"}}}}},T=function(t,r){var n=arguments;if(r==null||!Ia.call(r,"css"))return G.createElement.apply(void 0,n);var a=n.length,i=new Array(a);i[0]=bc,i[1]=gc(t,r);for(var o=2;o<a;o++)i[o]=n[o];return G.createElement.apply(null,i)},Si=!1,Ic=Ca(function(e,t){process.env.NODE_ENV!=="production"&&!Si&&(e.className||e.css)&&(console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"),Si=!0);var r=e.styles,n=gn([r],void 0,G.useContext(fr)),a=G.useRef();return ki(function(){var i=t.key+"-global",o=new t.sheet.constructor({key:i,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),s=!1,u=document.querySelector('style[data-emotion="'+i+" "+n.name+'"]');return t.sheet.tags.length&&(o.before=t.sheet.tags[0]),u!==null&&(s=!0,u.setAttribute("data-emotion",i),o.hydrate([u])),a.current=[o,s],function(){o.flush()}},[t]),ki(function(){var i=a.current,o=i[0],s=i[1];if(s){i[1]=!1;return}if(n.next!==void 0&&ba(t,n.next,!0),o.tags.length){var u=o.tags[o.tags.length-1].nextElementSibling;o.before=u,o.flush()}t.insert("",n,o,!1)},[t,n.name]),null});process.env.NODE_ENV!=="production"&&(Ic.displayName="EmotionGlobal");function wa(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return gn(t)}var xc=function(){var t=wa.apply(void 0,arguments),r="animation-"+t.name;return{name:r,styles:"@keyframes "+r+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},Cc=function e(t){for(var r=t.length,n=0,a="";n<r;n++){var i=t[n];if(i!=null){var o=void 0;switch(typeof i){case"boolean":break;case"object":{if(Array.isArray(i))o=e(i);else{process.env.NODE_ENV!=="production"&&i.styles!==void 0&&i.name!==void 0&&console.error("You have passed styles created with `css` from `@emotion/react` package to the `cx`.\n`cx` is meant to compose class names (strings) so you should convert those styles to a class name by passing them to the `css` received from <ClassNames/> component."),o="";for(var s in i)i[s]&&s&&(o&&(o+=" "),o+=s)}break}default:o=i}o&&(a&&(a+=" "),a+=o)}}return a};function wc(e,t,r){var n=[],a=So(e,n,r);return n.length<2?r:a+t(n)}var Dc=function(t){var r=t.cache,n=t.serializedArr;return Oo(function(){for(var a=0;a<n.length;a++)ba(r,n[a],!1)}),null},To=Ca(function(e,t){var r=!1,n=[],a=function(){if(r&&process.env.NODE_ENV!=="production")throw new Error("css can only be used during render");for(var l=arguments.length,c=new Array(l),d=0;d<l;d++)c[d]=arguments[d];var p=gn(c,t.registered);return n.push(p),va(t,p,!1),t.key+"-"+p.name},i=function(){if(r&&process.env.NODE_ENV!=="production")throw new Error("cx can only be used during render");for(var l=arguments.length,c=new Array(l),d=0;d<l;d++)c[d]=arguments[d];return wc(t.registered,a,Cc(c))},o={css:a,cx:i,theme:G.useContext(fr)},s=e.children(o);return r=!0,G.createElement(G.Fragment,null,G.createElement(Dc,{cache:t,serializedArr:n}),s)});process.env.NODE_ENV!=="production"&&(To.displayName="EmotionClassNames");if(process.env.NODE_ENV!=="production"){var Ei=!0,kc=typeof jest<"u"||typeof vi<"u";if(Ei&&!kc){var Ai=typeof globalThis<"u"?globalThis:Ei?window:global,_i="__EMOTION_REACT_"+yc.version.split(".")[0]+"__";Ai[_i]&&console.warn("You are loading @emotion/react when it is already loaded. Running multiple instances may cause problems. This can happen if multiple versions are used, or if multiple builds of the same version are used."),Ai[_i]=!0}}function Mc(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function Sc(e,t){if(e==null)return{};var r={},n=Object.keys(e),a,i;for(i=0;i<n.length;i++)a=n[i],!(t.indexOf(a)>=0)&&(r[a]=e[a]);return r}function Ut(e,t){if(e==null)return{};var r=Sc(e,t),n,a;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Ur(e){"@babel/helpers - typeof";return Ur=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ur(e)}function Da(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ni(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ka(e,t,r){return t&&Ni(e.prototype,t),r&&Ni(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function $r(e,t){return $r=Object.setPrototypeOf||function(n,a){return n.__proto__=a,n},$r(e,t)}function Ma(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&$r(e,t)}function at(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ec(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Oi(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function ae(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Oi(Object(r),!0).forEach(function(n){Ec(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Oi(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function $n(e){return $n=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$n(e)}function Ac(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function _c(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nc(e,t){return t&&(typeof t=="object"||typeof t=="function")?t:_c(e)}function Sa(e){var t=Ac();return function(){var n=$n(e),a;if(t){var i=$n(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return Nc(this,a)}}var Oc=["className","clearValue","cx","getStyles","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],Jn=function(){};function Pc(e,t){return t?t[0]==="-"?e+t:e+"__"+t:e}function Tc(e,t,r){var n=[r];if(t&&e)for(var a in t)t.hasOwnProperty(a)&&t[a]&&n.push("".concat(Pc(e,a)));return n.filter(function(i){return i}).map(function(i){return String(i).trim()}).join(" ")}var Pi=function(t){return Hc(t)?t.filter(Boolean):Ur(t)==="object"&&t!==null?[t]:[]},Fo=function(t){t.className,t.clearValue,t.cx,t.getStyles,t.getValue,t.hasValue,t.isMulti,t.isRtl,t.options,t.selectOption,t.selectProps,t.setValue,t.theme;var r=Ut(t,Oc);return ae({},r)};function Ea(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function Ro(e){return Ea(e)?window.pageYOffset:e.scrollTop}function Qn(e,t){if(Ea(e)){window.scrollTo(0,t);return}e.scrollTop=t}function Fc(e){var t=getComputedStyle(e),r=t.position==="absolute",n=/(auto|scroll)/;if(t.position==="fixed")return document.documentElement;for(var a=e;a=a.parentElement;)if(t=getComputedStyle(a),!(r&&t.position==="static")&&n.test(t.overflow+t.overflowY+t.overflowX))return a;return document.documentElement}function Rc(e,t,r,n){return r*((e=e/n-1)*e*e+1)+t}function Nn(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:Jn,a=Ro(e),i=t-a,o=10,s=0;function u(){s+=o;var l=Rc(s,a,i,r);Qn(e,l),s<r?window.requestAnimationFrame(u):n(e)}u()}function Gc(e,t){var r=e.getBoundingClientRect(),n=t.getBoundingClientRect(),a=t.offsetHeight/3;n.bottom+a>r.bottom?Qn(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+a,e.scrollHeight)):n.top-a<r.top&&Qn(e,Math.max(t.offsetTop-a,0))}function Bc(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 Ti(){try{return document.createEvent("TouchEvent"),!0}catch{return!1}}function Wc(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}var Go=!1,Yc={get passive(){return Go=!0}},On=typeof window<"u"?window:{};On.addEventListener&&On.removeEventListener&&(On.addEventListener("p",Jn,Yc),On.removeEventListener("p",Jn,!1));var Vc=Go;function Lc(e){return e!=null}function Hc(e){return Array.isArray(e)}function Pn(e,t,r){return e?t:r}function Zc(e){var t=e.maxHeight,r=e.menuEl,n=e.minHeight,a=e.placement,i=e.shouldScroll,o=e.isFixedPosition,s=e.theme,u=s.spacing,l=Fc(r),c={placement:"bottom",maxHeight:t};if(!r||!r.offsetParent)return c;var d=l.getBoundingClientRect(),p=d.height,h=r.getBoundingClientRect(),f=h.bottom,g=h.height,v=h.top,b=r.offsetParent.getBoundingClientRect(),I=b.top,x=window.innerHeight,k=Ro(l),y=parseInt(getComputedStyle(r).marginBottom,10),C=parseInt(getComputedStyle(r).marginTop,10),D=I-C,P=x-v,_=D+k,K=p-k-v,$=f-x+k+y,ie=k+v-C,oe=160;switch(a){case"auto":case"bottom":if(P>=g)return{placement:"bottom",maxHeight:t};if(K>=g&&!o)return i&&Nn(l,$,oe),{placement:"bottom",maxHeight:t};if(!o&&K>=n||o&&P>=n){i&&Nn(l,$,oe);var F=o?P-y:K-y;return{placement:"bottom",maxHeight:F}}if(a==="auto"||o){var ee=t,ke=o?D:_;return ke>=n&&(ee=Math.min(ke-y-u.controlHeight,t)),{placement:"top",maxHeight:ee}}if(a==="bottom")return i&&Qn(l,$),{placement:"bottom",maxHeight:t};break;case"top":if(D>=g)return{placement:"top",maxHeight:t};if(_>=g&&!o)return i&&Nn(l,ie,oe),{placement:"top",maxHeight:t};if(!o&&_>=n||o&&D>=n){var Ie=t;return(!o&&_>=n||o&&D>=n)&&(Ie=o?D-C:_-C),i&&Nn(l,ie,oe),{placement:"top",maxHeight:Ie}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(a,'".'))}return c}function Xc(e){var t={bottom:"top",top:"bottom"};return e?t[e]:"bottom"}var Jr=function(t){return t==="auto"?"bottom":t},jc=function(t){var r,n=t.placement,a=t.theme,i=a.borderRadius,o=a.spacing,s=a.colors;return r={label:"menu"},at(r,Xc(n),"100%"),at(r,"backgroundColor",s.neutral0),at(r,"borderRadius",i),at(r,"boxShadow","0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)"),at(r,"marginBottom",o.menuGutter),at(r,"marginTop",o.menuGutter),at(r,"position","absolute"),at(r,"width","100%"),at(r,"zIndex",1),r},Bo=m.createContext({getPortalPlacement:null}),Wo=function(e){Ma(r,e);var t=Sa(r);function r(){var n;Da(this,r);for(var a=arguments.length,i=new Array(a),o=0;o<a;o++)i[o]=arguments[o];return n=t.call.apply(t,[this].concat(i)),n.state={maxHeight:n.props.maxMenuHeight,placement:null},n.context=void 0,n.getPlacement=function(s){var u=n.props,l=u.minMenuHeight,c=u.maxMenuHeight,d=u.menuPlacement,p=u.menuPosition,h=u.menuShouldScrollIntoView,f=u.theme;if(s){var g=p==="fixed",v=h&&!g,b=Zc({maxHeight:c,menuEl:s,minHeight:l,placement:d,shouldScroll:v,isFixedPosition:g,theme:f}),I=n.context.getPortalPlacement;I&&I(b),n.setState(b)}},n.getUpdatedProps=function(){var s=n.props.menuPlacement,u=n.state.placement||Jr(s);return ae(ae({},n.props),{},{placement:u,maxHeight:n.state.maxHeight})},n}return ka(r,[{key:"render",value:function(){var a=this.props.children;return a({ref:this.getPlacement,placerProps:this.getUpdatedProps()})}}]),r}(m.Component);Wo.contextType=Bo;var zc=function(t){var r=t.children,n=t.className,a=t.cx,i=t.getStyles,o=t.innerRef,s=t.innerProps;return T("div",R({css:i("menu",t),className:a({menu:!0},n),ref:o},s),r)},Uc=function(t){var r=t.maxHeight,n=t.theme.spacing.baseUnit;return{maxHeight:r,overflowY:"auto",paddingBottom:n,paddingTop:n,position:"relative",WebkitOverflowScrolling:"touch"}},$c=function(t){var r=t.children,n=t.className,a=t.cx,i=t.getStyles,o=t.innerProps,s=t.innerRef,u=t.isMulti;return T("div",R({css:i("menuList",t),className:a({"menu-list":!0,"menu-list--is-multi":u},n),ref:s},o),r)},Yo=function(t){var r=t.theme,n=r.spacing.baseUnit,a=r.colors;return{color:a.neutral40,padding:"".concat(n*2,"px ").concat(n*3,"px"),textAlign:"center"}},Jc=Yo,Qc=Yo,Vo=function(t){var r=t.children,n=t.className,a=t.cx,i=t.getStyles,o=t.innerProps;return T("div",R({css:i("noOptionsMessage",t),className:a({"menu-notice":!0,"menu-notice--no-options":!0},n)},o),r)};Vo.defaultProps={children:"No options"};var Lo=function(t){var r=t.children,n=t.className,a=t.cx,i=t.getStyles,o=t.innerProps;return T("div",R({css:i("loadingMessage",t),className:a({"menu-notice":!0,"menu-notice--loading":!0},n)},o),r)};Lo.defaultProps={children:"Loading..."};var Kc=function(t){var r=t.rect,n=t.offset,a=t.position;return{left:r.left,position:a,top:n,width:r.width,zIndex:1}},qc=function(e){Ma(r,e);var t=Sa(r);function r(){var n;Da(this,r);for(var a=arguments.length,i=new Array(a),o=0;o<a;o++)i[o]=arguments[o];return n=t.call.apply(t,[this].concat(i)),n.state={placement:null},n.getPortalPlacement=function(s){var u=s.placement,l=Jr(n.props.menuPlacement);u!==l&&n.setState({placement:u})},n}return ka(r,[{key:"render",value:function(){var a=this.props,i=a.appendTo,o=a.children,s=a.className,u=a.controlElement,l=a.cx,c=a.innerProps,d=a.menuPlacement,p=a.menuPosition,h=a.getStyles,f=p==="fixed";if(!i&&!f||!u)return null;var g=this.state.placement||Jr(d),v=Bc(u),b=f?0:window.pageYOffset,I=v[g]+b,x={offset:I,position:p,rect:v},k=T("div",R({css:h("menuPortal",x),className:l({"menu-portal":!0},s)},c),o);return T(Bo.Provider,{value:{getPortalPlacement:this.getPortalPlacement}},i?qu.createPortal(k,i):k)}}]),r}(m.Component),ed=function(t){var r=t.isDisabled,n=t.isRtl;return{label:"container",direction:n?"rtl":void 0,pointerEvents:r?"none":void 0,position:"relative"}},td=function(t){var r=t.children,n=t.className,a=t.cx,i=t.getStyles,o=t.innerProps,s=t.isDisabled,u=t.isRtl;return T("div",R({css:i("container",t),className:a({"--is-disabled":s,"--is-rtl":u},n)},o),r)},nd=function(t){var r=t.theme.spacing,n=t.isMulti,a=t.hasValue,i=t.selectProps.controlShouldRenderValue;return{alignItems:"center",display:n&&a&&i?"flex":"grid",flex:1,flexWrap:"wrap",padding:"".concat(r.baseUnit/2,"px ").concat(r.baseUnit*2,"px"),WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"}},rd=function(t){var r=t.children,n=t.className,a=t.cx,i=t.innerProps,o=t.isMulti,s=t.getStyles,u=t.hasValue;return T("div",R({css:s("valueContainer",t),className:a({"value-container":!0,"value-container--is-multi":o,"value-container--has-value":u},n)},i),r)},ad=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},id=function(t){var r=t.children,n=t.className,a=t.cx,i=t.innerProps,o=t.getStyles;return T("div",R({css:o("indicatorsContainer",t),className:a({indicators:!0},n)},i),r)},Fi,od=["size"];function sd(){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 ud=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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXdCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lLFxuICBDU1NPYmplY3RXaXRoTGFiZWwsXG4gIEdyb3VwQmFzZSxcbn0gZnJvbSAnLi4vdHlwZXMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxuICAgIGZvY3VzYWJsZT1cImZhbHNlXCJcbiAgICBjc3M9e3tcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgZmlsbDogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBsaW5lSGVpZ2h0OiAxLFxuICAgICAgc3Ryb2tlOiAnY3VycmVudENvbG9y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KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG5Mb2FkaW5nSW5kaWNhdG9yLmRlZmF1bHRQcm9wcyA9IHsgc2l6ZTogNCB9O1xuIl19 */",toString:sd},Ho=function(t){var r=t.size,n=Ut(t,od);return T("svg",R({height:r,width:r,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:ud},n))},Aa=function(t){return T(Ho,R({size:20},t),T("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"}))},Zo=function(t){return T(Ho,R({size:20},t),T("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"}))},Xo=function(t){var r=t.isFocused,n=t.theme,a=n.spacing.baseUnit,i=n.colors;return{label:"indicatorContainer",color:r?i.neutral60:i.neutral20,display:"flex",padding:a*2,transition:"color 150ms",":hover":{color:r?i.neutral80:i.neutral40}}},ld=Xo,cd=function(t){var r=t.children,n=t.className,a=t.cx,i=t.getStyles,o=t.innerProps;return T("div",R({css:i("dropdownIndicator",t),className:a({indicator:!0,"dropdown-indicator":!0},n)},o),r||T(Zo,null))},dd=Xo,fd=function(t){var r=t.children,n=t.className,a=t.cx,i=t.getStyles,o=t.innerProps;return T("div",R({css:i("clearIndicator",t),className:a({indicator:!0,"clear-indicator":!0},n)},o),r||T(Aa,null))},hd=function(t){var r=t.isDisabled,n=t.theme,a=n.spacing.baseUnit,i=n.colors;return{label:"indicatorSeparator",alignSelf:"stretch",backgroundColor:r?i.neutral10:i.neutral20,marginBottom:a*2,marginTop:a*2,width:1}},pd=function(t){var r=t.className,n=t.cx,a=t.getStyles,i=t.innerProps;return T("span",R({},i,{css:a("indicatorSeparator",t),className:n({"indicator-separator":!0},r)}))},md=xc(Fi||(Fi=Mc([`
|
|
133
|
+
`+("css`"+u+"`"))}break}if(t==null)return n;var l=t[n];return l!==void 0?l:n}function Pc(e,t,n){var r="";if(Array.isArray(n))for(var a=0;a<n.length;a++)r+=Sn(e,t,n[a])+";";else for(var i in n){var o=n[i];if(typeof o!="object")t!=null&&t[o]!==void 0?r+=i+"{"+t[o]+"}":Fi(o)&&(r+=Yr(i)+":"+rr(i,o)+";");else{if(i==="NO_COMPONENT_SELECTOR"&&process.env.NODE_ENV!=="production")throw new Error(jo);if(Array.isArray(o)&&typeof o[0]=="string"&&(t==null||t[o[0]]===void 0))for(var s=0;s<o.length;s++)Fi(o[s])&&(r+=Yr(i)+":"+rr(i,o[s])+";");else{var u=Sn(e,t,o);switch(i){case"animation":case"animationName":{r+=Yr(i)+":"+u+";";break}default:process.env.NODE_ENV!=="production"&&i==="undefined"&&console.error(Ac),r+=i+"{"+u+"}"}}}}return r}var Pi=/label:\s*([^\s;\n{]+)\s*(;|$)/g,zo;process.env.NODE_ENV!=="production"&&(zo=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g);var tt,kn=function(t,n,r){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var a=!0,i="";tt=void 0;var o=t[0];o==null||o.raw===void 0?(a=!1,i+=Sn(r,n,o)):(process.env.NODE_ENV!=="production"&&o[0]===void 0&&console.error(Wi),i+=o[0]);for(var s=1;s<t.length;s++)i+=Sn(r,n,t[s]),a&&(process.env.NODE_ENV!=="production"&&o[s]===void 0&&console.error(Wi),i+=o[s]);var u;process.env.NODE_ENV!=="production"&&(i=i.replace(zo,function(m){return u=m,""})),Pi.lastIndex=0;for(var l="",c;(c=Pi.exec(i))!==null;)l+="-"+c[1];var d=Ec(i)+l;return process.env.NODE_ENV!=="production"?{name:d,styles:i,map:u,next:tt,toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}}:{name:d,styles:i,next:tt}},Yc=function(t){return t()},Jo=H.useInsertionEffect?H.useInsertionEffect:!1,Uo=Jo||Yc,Yi=Jo||H.useLayoutEffect,Ga={}.hasOwnProperty,Pa=H.createContext(typeof HTMLElement<"u"?Ic({key:"css"}):null);process.env.NODE_ENV!=="production"&&(Pa.displayName="EmotionCacheContext");Pa.Provider;var Ya=function(t){return f.forwardRef(function(n,r){var a=f.useContext(Pa);return t(n,a,r)})},yr=H.createContext({});process.env.NODE_ENV!=="production"&&(yr.displayName="EmotionThemeContext");var Ri=function(t){var n=t.split(".");return n[n.length-1]},Rc=function(t){var n=/^\s+at\s+([A-Za-z0-9$.]+)\s/.exec(t);if(n||(n=/^([A-Za-z0-9$.]+)@/.exec(t),n))return Ri(n[1])},Bc=new Set(["renderWithHooks","processChild","finishClassComponent","renderToString"]),Vc=function(t){return t.replace(/\$/g,"-")},Hc=function(t){if(t)for(var n=t.split(`
|
|
134
|
+
`),r=0;r<n.length;r++){var a=Rc(n[r]);if(a){if(Bc.has(a))break;if(/^[A-Z]/.test(a))return Vc(a)}}},sa="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",ua="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",Xc=function(t,n){if(process.env.NODE_ENV!=="production"&&typeof n.css=="string"&&n.css.indexOf(":")!==-1)throw new Error("Strings are not allowed as css prop values, please wrap it in a css template literal from '@emotion/react' like this: css`"+n.css+"`");var r={};for(var a in n)Ga.call(n,a)&&(r[a]=n[a]);if(r[sa]=t,process.env.NODE_ENV!=="production"&&n.css&&(typeof n.css!="object"||typeof n.css.name!="string"||n.css.name.indexOf("-")===-1)){var i=Hc(new Error().stack);i&&(r[ua]=i)}return r},Zc=function(t){var n=t.cache,r=t.serialized,a=t.isStringTag;return _a(n,r,a),Uo(function(){return Wa(n,r,a)}),null},$o=Ya(function(e,t,n){var r=e.css;typeof r=="string"&&t.registered[r]!==void 0&&(r=t.registered[r]);var a=e[sa],i=[r],o="";typeof e.className=="string"?o=Zo(t.registered,i,e.className):e.className!=null&&(o=e.className+" ");var s=kn(i,void 0,H.useContext(yr));if(process.env.NODE_ENV!=="production"&&s.name.indexOf("-")===-1){var u=e[ua];u&&(s=kn([s,"label:"+u+";"]))}o+=t.key+"-"+s.name;var l={};for(var c in e)Ga.call(e,c)&&c!=="css"&&c!==sa&&(process.env.NODE_ENV==="production"||c!==ua)&&(l[c]=e[c]);return l.ref=n,l.className=o,H.createElement(H.Fragment,null,H.createElement(Zc,{cache:t,serialized:s,isStringTag:typeof a=="string"}),H.createElement(a,l))});process.env.NODE_ENV!=="production"&&($o.displayName="EmotionCssPropInternal");var Lc=$o,jc={name:"@emotion/react",version:"11.11.1",main:"dist/emotion-react.cjs.js",module:"dist/emotion-react.esm.js",browser:{"./dist/emotion-react.esm.js":"./dist/emotion-react.browser.esm.js"},exports:{".":{module:{worker:"./dist/emotion-react.worker.esm.js",browser:"./dist/emotion-react.browser.esm.js",default:"./dist/emotion-react.esm.js"},import:"./dist/emotion-react.cjs.mjs",default:"./dist/emotion-react.cjs.js"},"./jsx-runtime":{module:{worker:"./jsx-runtime/dist/emotion-react-jsx-runtime.worker.esm.js",browser:"./jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.esm.js"},import:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.mjs",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js"},"./_isolated-hnrs":{module:{worker:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.worker.esm.js",browser:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.esm.js"},import:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.mjs",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.js"},"./jsx-dev-runtime":{module:{worker:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.worker.esm.js",browser:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.js",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.esm.js"},import:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.mjs",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.js"},"./package.json":"./package.json","./types/css-prop":"./types/css-prop.d.ts","./macro":{types:{import:"./macro.d.mts",default:"./macro.d.ts"},default:"./macro.js"}},types:"types/index.d.ts",files:["src","dist","jsx-runtime","jsx-dev-runtime","_isolated-hnrs","types/*.d.ts","macro.*"],sideEffects:!1,author:"Emotion Contributors",license:"MIT",scripts:{"test:typescript":"dtslint types"},dependencies:{"@babel/runtime":"^7.18.3","@emotion/babel-plugin":"^11.11.0","@emotion/cache":"^11.11.0","@emotion/serialize":"^1.1.2","@emotion/use-insertion-effect-with-fallbacks":"^1.0.1","@emotion/utils":"^1.2.1","@emotion/weak-memoize":"^0.3.1","hoist-non-react-statics":"^3.3.1"},peerDependencies:{react:">=16.8.0"},peerDependenciesMeta:{"@types/react":{optional:!0}},devDependencies:{"@definitelytyped/dtslint":"0.0.112","@emotion/css":"11.11.0","@emotion/css-prettifier":"1.1.3","@emotion/server":"11.11.0","@emotion/styled":"11.11.0","html-tag-names":"^1.1.2",react:"16.14.0","svg-tag-names":"^1.1.1",typescript:"^4.5.5"},repository:"https://github.com/emotion-js/emotion/tree/main/packages/react",publishConfig:{access:"public"},"umd:main":"dist/emotion-react.umd.min.js",preconstruct:{entrypoints:["./index.js","./jsx-runtime.js","./jsx-dev-runtime.js","./_isolated-hnrs.js"],umdName:"emotionReact",exports:{envConditions:["browser","worker"],extra:{"./types/css-prop":"./types/css-prop.d.ts","./macro":{types:{import:"./macro.d.mts",default:"./macro.d.ts"},default:"./macro.js"}}}}},Y=function(t,n){var r=arguments;if(n==null||!Ga.call(n,"css"))return H.createElement.apply(void 0,r);var a=r.length,i=new Array(a);i[0]=Lc,i[1]=Xc(t,n);for(var o=2;o<a;o++)i[o]=r[o];return H.createElement.apply(null,i)},Bi=!1,zc=Ya(function(e,t){process.env.NODE_ENV!=="production"&&!Bi&&(e.className||e.css)&&(console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"),Bi=!0);var n=e.styles,r=kn([n],void 0,H.useContext(yr)),a=H.useRef();return Yi(function(){var i=t.key+"-global",o=new t.sheet.constructor({key:i,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),s=!1,u=document.querySelector('style[data-emotion="'+i+" "+r.name+'"]');return t.sheet.tags.length&&(o.before=t.sheet.tags[0]),u!==null&&(s=!0,u.setAttribute("data-emotion",i),o.hydrate([u])),a.current=[o,s],function(){o.flush()}},[t]),Yi(function(){var i=a.current,o=i[0],s=i[1];if(s){i[1]=!1;return}if(r.next!==void 0&&Wa(t,r.next,!0),o.tags.length){var u=o.tags[o.tags.length-1].nextElementSibling;o.before=u,o.flush()}t.insert("",r,o,!1)},[t,r.name]),null});process.env.NODE_ENV!=="production"&&(zc.displayName="EmotionGlobal");function Ra(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return kn(t)}var Jc=function(){var t=Ra.apply(void 0,arguments),n="animation-"+t.name;return{name:n,styles:"@keyframes "+n+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},Uc=function e(t){for(var n=t.length,r=0,a="";r<n;r++){var i=t[r];if(i!=null){var o=void 0;switch(typeof i){case"boolean":break;case"object":{if(Array.isArray(i))o=e(i);else{process.env.NODE_ENV!=="production"&&i.styles!==void 0&&i.name!==void 0&&console.error("You have passed styles created with `css` from `@emotion/react` package to the `cx`.\n`cx` is meant to compose class names (strings) so you should convert those styles to a class name by passing them to the `css` received from <ClassNames/> component."),o="";for(var s in i)i[s]&&s&&(o&&(o+=" "),o+=s)}break}default:o=i}o&&(a&&(a+=" "),a+=o)}}return a};function $c(e,t,n){var r=[],a=Zo(e,r,n);return r.length<2?n:a+t(r)}var Qc=function(t){var n=t.cache,r=t.serializedArr;return Uo(function(){for(var a=0;a<r.length;a++)Wa(n,r[a],!1)}),null},Qo=Ya(function(e,t){var n=!1,r=[],a=function(){if(n&&process.env.NODE_ENV!=="production")throw new Error("css can only be used during render");for(var l=arguments.length,c=new Array(l),d=0;d<l;d++)c[d]=arguments[d];var m=kn(c,t.registered);return r.push(m),_a(t,m,!1),t.key+"-"+m.name},i=function(){if(n&&process.env.NODE_ENV!=="production")throw new Error("cx can only be used during render");for(var l=arguments.length,c=new Array(l),d=0;d<l;d++)c[d]=arguments[d];return $c(t.registered,a,Uc(c))},o={css:a,cx:i,theme:H.useContext(yr)},s=e.children(o);return n=!0,H.createElement(H.Fragment,null,H.createElement(Qc,{cache:t,serializedArr:r}),s)});process.env.NODE_ENV!=="production"&&(Qo.displayName="EmotionClassNames");if(process.env.NODE_ENV!=="production"){var Vi=!0,qc=typeof jest<"u"||typeof vi<"u";if(Vi&&!qc){var Hi=typeof globalThis<"u"?globalThis:Vi?window:global,Xi="__EMOTION_REACT_"+jc.version.split(".")[0]+"__";Hi[Xi]&&console.warn("You are loading @emotion/react when it is already loaded. Running multiple instances may cause problems. This can happen if multiple versions are used, or if multiple builds of the same version are used."),Hi[Xi]=!0}}function Kc(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function ed(e,t){if(e==null)return{};var n={},r=Object.keys(e),a,i;for(i=0;i<r.length;i++)a=r[i],!(t.indexOf(a)>=0)&&(n[a]=e[a]);return n}function sn(e,t){if(e==null)return{};var n=ed(e,t),r,a;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)r=i[a],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function la(e){"@babel/helpers - typeof";return la=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},la(e)}function Ba(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zi(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Va(e,t,n){return t&&Zi(e.prototype,t),n&&Zi(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function ca(e,t){return ca=Object.setPrototypeOf||function(r,a){return r.__proto__=a,r},ca(e,t)}function Ha(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ca(e,t)}function It(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function td(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Li(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function Ie(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Li(Object(n),!0).forEach(function(r){td(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Li(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function ar(e){return ar=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ar(e)}function nd(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function rd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ad(e,t){return t&&(typeof t=="object"||typeof t=="function")?t:rd(e)}function Xa(e){var t=nd();return function(){var r=ar(e),a;if(t){var i=ar(this).constructor;a=Reflect.construct(r,arguments,i)}else a=r.apply(this,arguments);return ad(this,a)}}var id=["className","clearValue","cx","getStyles","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],ir=function(){};function od(e,t){return t?t[0]==="-"?e+t:e+"__"+t:e}function sd(e,t,n){var r=[n];if(t&&e)for(var a in t)t.hasOwnProperty(a)&&t[a]&&r.push("".concat(od(e,a)));return r.filter(function(i){return i}).map(function(i){return String(i).trim()}).join(" ")}var ji=function(t){return pd(t)?t.filter(Boolean):la(t)==="object"&&t!==null?[t]:[]},qo=function(t){t.className,t.clearValue,t.cx,t.getStyles,t.getValue,t.hasValue,t.isMulti,t.isRtl,t.options,t.selectOption,t.selectProps,t.setValue,t.theme;var n=sn(t,id);return Ie({},n)};function Za(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function Ko(e){return Za(e)?window.pageYOffset:e.scrollTop}function or(e,t){if(Za(e)){window.scrollTo(0,t);return}e.scrollTop=t}function ud(e){var t=getComputedStyle(e),n=t.position==="absolute",r=/(auto|scroll)/;if(t.position==="fixed")return document.documentElement;for(var a=e;a=a.parentElement;)if(t=getComputedStyle(a),!(n&&t.position==="static")&&r.test(t.overflow+t.overflowY+t.overflowX))return a;return document.documentElement}function ld(e,t,n,r){return n*((e=e/r-1)*e*e+1)+t}function Xn(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:ir,a=Ko(e),i=t-a,o=10,s=0;function u(){s+=o;var l=ld(s,a,i,n);or(e,l),s<n?window.requestAnimationFrame(u):r(e)}u()}function cd(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),a=t.offsetHeight/3;r.bottom+a>n.bottom?or(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+a,e.scrollHeight)):r.top-a<n.top&&or(e,Math.max(t.offsetTop-a,0))}function dd(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 zi(){try{return document.createEvent("TouchEvent"),!0}catch{return!1}}function fd(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}var es=!1,hd={get passive(){return es=!0}},Zn=typeof window<"u"?window:{};Zn.addEventListener&&Zn.removeEventListener&&(Zn.addEventListener("p",ir,hd),Zn.removeEventListener("p",ir,!1));var md=es;function gd(e){return e!=null}function pd(e){return Array.isArray(e)}function Ln(e,t,n){return e?t:n}function bd(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,a=e.placement,i=e.shouldScroll,o=e.isFixedPosition,s=e.theme,u=s.spacing,l=ud(n),c={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return c;var d=l.getBoundingClientRect(),m=d.height,h=n.getBoundingClientRect(),g=h.bottom,v=h.height,b=h.top,I=n.offsetParent.getBoundingClientRect(),x=I.top,C=window.innerHeight,M=Ko(l),y=parseInt(getComputedStyle(n).marginBottom,10),p=parseInt(getComputedStyle(n).marginTop,10),w=x-p,O=C-b,E=w+M,W=m-M-b,V=g-C+M+y,j=M+b-p,J=160;switch(a){case"auto":case"bottom":if(O>=v)return{placement:"bottom",maxHeight:t};if(W>=v&&!o)return i&&Xn(l,V,J),{placement:"bottom",maxHeight:t};if(!o&&W>=r||o&&O>=r){i&&Xn(l,V,J);var N=o?O-y:W-y;return{placement:"bottom",maxHeight:N}}if(a==="auto"||o){var z=t,Ce=o?w:E;return Ce>=r&&(z=Math.min(Ce-y-u.controlHeight,t)),{placement:"top",maxHeight:z}}if(a==="bottom")return i&&or(l,V),{placement:"bottom",maxHeight:t};break;case"top":if(w>=v)return{placement:"top",maxHeight:t};if(E>=v&&!o)return i&&Xn(l,j,J),{placement:"top",maxHeight:t};if(!o&&E>=r||o&&w>=r){var de=t;return(!o&&E>=r||o&&w>=r)&&(de=o?w-p:E-p),i&&Xn(l,j,J),{placement:"top",maxHeight:de}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(a,'".'))}return c}function vd(e){var t={bottom:"top",top:"bottom"};return e?t[e]:"bottom"}var da=function(t){return t==="auto"?"bottom":t},yd=function(t){var n,r=t.placement,a=t.theme,i=a.borderRadius,o=a.spacing,s=a.colors;return n={label:"menu"},It(n,vd(r),"100%"),It(n,"backgroundColor",s.neutral0),It(n,"borderRadius",i),It(n,"boxShadow","0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)"),It(n,"marginBottom",o.menuGutter),It(n,"marginTop",o.menuGutter),It(n,"position","absolute"),It(n,"width","100%"),It(n,"zIndex",1),n},ts=f.createContext({getPortalPlacement:null}),ns=function(e){Ha(n,e);var t=Xa(n);function n(){var r;Ba(this,n);for(var a=arguments.length,i=new Array(a),o=0;o<a;o++)i[o]=arguments[o];return r=t.call.apply(t,[this].concat(i)),r.state={maxHeight:r.props.maxMenuHeight,placement:null},r.context=void 0,r.getPlacement=function(s){var u=r.props,l=u.minMenuHeight,c=u.maxMenuHeight,d=u.menuPlacement,m=u.menuPosition,h=u.menuShouldScrollIntoView,g=u.theme;if(s){var v=m==="fixed",b=h&&!v,I=bd({maxHeight:c,menuEl:s,minHeight:l,placement:d,shouldScroll:b,isFixedPosition:v,theme:g}),x=r.context.getPortalPlacement;x&&x(I),r.setState(I)}},r.getUpdatedProps=function(){var s=r.props.menuPlacement,u=r.state.placement||da(s);return Ie(Ie({},r.props),{},{placement:u,maxHeight:r.state.maxHeight})},r}return Va(n,[{key:"render",value:function(){var a=this.props.children;return a({ref:this.getPlacement,placerProps:this.getUpdatedProps()})}}]),n}(f.Component);ns.contextType=ts;var Id=function(t){var n=t.children,r=t.className,a=t.cx,i=t.getStyles,o=t.innerRef,s=t.innerProps;return Y("div",B({css:i("menu",t),className:a({menu:!0},r),ref:o},s),n)},xd=function(t){var n=t.maxHeight,r=t.theme.spacing.baseUnit;return{maxHeight:n,overflowY:"auto",paddingBottom:r,paddingTop:r,position:"relative",WebkitOverflowScrolling:"touch"}},Cd=function(t){var n=t.children,r=t.className,a=t.cx,i=t.getStyles,o=t.innerProps,s=t.innerRef,u=t.isMulti;return Y("div",B({css:i("menuList",t),className:a({"menu-list":!0,"menu-list--is-multi":u},r),ref:s},o),n)},rs=function(t){var n=t.theme,r=n.spacing.baseUnit,a=n.colors;return{color:a.neutral40,padding:"".concat(r*2,"px ").concat(r*3,"px"),textAlign:"center"}},wd=rs,Md=rs,as=function(t){var n=t.children,r=t.className,a=t.cx,i=t.getStyles,o=t.innerProps;return Y("div",B({css:i("noOptionsMessage",t),className:a({"menu-notice":!0,"menu-notice--no-options":!0},r)},o),n)};as.defaultProps={children:"No options"};var is=function(t){var n=t.children,r=t.className,a=t.cx,i=t.getStyles,o=t.innerProps;return Y("div",B({css:i("loadingMessage",t),className:a({"menu-notice":!0,"menu-notice--loading":!0},r)},o),n)};is.defaultProps={children:"Loading..."};var Sd=function(t){var n=t.rect,r=t.offset,a=t.position;return{left:n.left,position:a,top:r,width:n.width,zIndex:1}},kd=function(e){Ha(n,e);var t=Xa(n);function n(){var r;Ba(this,n);for(var a=arguments.length,i=new Array(a),o=0;o<a;o++)i[o]=arguments[o];return r=t.call.apply(t,[this].concat(i)),r.state={placement:null},r.getPortalPlacement=function(s){var u=s.placement,l=da(r.props.menuPlacement);u!==l&&r.setState({placement:u})},r}return Va(n,[{key:"render",value:function(){var a=this.props,i=a.appendTo,o=a.children,s=a.className,u=a.controlElement,l=a.cx,c=a.innerProps,d=a.menuPlacement,m=a.menuPosition,h=a.getStyles,g=m==="fixed";if(!i&&!g||!u)return null;var v=this.state.placement||da(d),b=dd(u),I=g?0:window.pageYOffset,x=b[v]+I,C={offset:x,position:m,rect:b},M=Y("div",B({css:h("menuPortal",C),className:l({"menu-portal":!0},s)},c),o);return Y(ts.Provider,{value:{getPortalPlacement:this.getPortalPlacement}},i?kl.createPortal(M,i):M)}}]),n}(f.Component),Dd=function(t){var n=t.isDisabled,r=t.isRtl;return{label:"container",direction:r?"rtl":void 0,pointerEvents:n?"none":void 0,position:"relative"}},Ed=function(t){var n=t.children,r=t.className,a=t.cx,i=t.getStyles,o=t.innerProps,s=t.isDisabled,u=t.isRtl;return Y("div",B({css:i("container",t),className:a({"--is-disabled":s,"--is-rtl":u},r)},o),n)},Od=function(t){var n=t.theme.spacing,r=t.isMulti,a=t.hasValue,i=t.selectProps.controlShouldRenderValue;return{alignItems:"center",display:r&&a&&i?"flex":"grid",flex:1,flexWrap:"wrap",padding:"".concat(n.baseUnit/2,"px ").concat(n.baseUnit*2,"px"),WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"}},Ad=function(t){var n=t.children,r=t.className,a=t.cx,i=t.innerProps,o=t.isMulti,s=t.getStyles,u=t.hasValue;return Y("div",B({css:s("valueContainer",t),className:a({"value-container":!0,"value-container--is-multi":o,"value-container--has-value":u},r)},i),n)},Nd=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},Td=function(t){var n=t.children,r=t.className,a=t.cx,i=t.innerProps,o=t.getStyles;return Y("div",B({css:o("indicatorsContainer",t),className:a({indicators:!0},r)},i),n)},Ji,_d=["size"];function Wd(){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 Fd=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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXdCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lLFxuICBDU1NPYmplY3RXaXRoTGFiZWwsXG4gIEdyb3VwQmFzZSxcbn0gZnJvbSAnLi4vdHlwZXMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+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ZSwgY3gsIGdldFN0eWxlcywgaW5uZXJQcm9wcywgaXNSdGwgfSA9IHByb3BzO1xuXG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgY3NzPXtnZXRTdHlsZXMoJ2xvYWRpbmdJbmRpY2F0b3InLCBwcm9wcyl9XG4gICAgICBjbGFzc05hbWU9e2N4KFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdsb2FkaW5nLWluZGljYXRvcic6IHRydWUsXG4gICAgICAgIH0sXG4gICAgICAgIGNsYXNzTmFtZVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG5Mb2FkaW5nSW5kaWNhdG9yLmRlZmF1bHRQcm9wcyA9IHsgc2l6ZTogNCB9O1xuIl19 */",toString:Wd},os=function(t){var n=t.size,r=sn(t,_d);return Y("svg",B({height:n,width:n,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:Fd},r))},La=function(t){return Y(os,B({size:20},t),Y("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"}))},ss=function(t){return Y(os,B({size:20},t),Y("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"}))},us=function(t){var n=t.isFocused,r=t.theme,a=r.spacing.baseUnit,i=r.colors;return{label:"indicatorContainer",color:n?i.neutral60:i.neutral20,display:"flex",padding:a*2,transition:"color 150ms",":hover":{color:n?i.neutral80:i.neutral40}}},Gd=us,Pd=function(t){var n=t.children,r=t.className,a=t.cx,i=t.getStyles,o=t.innerProps;return Y("div",B({css:i("dropdownIndicator",t),className:a({indicator:!0,"dropdown-indicator":!0},r)},o),n||Y(ss,null))},Yd=us,Rd=function(t){var n=t.children,r=t.className,a=t.cx,i=t.getStyles,o=t.innerProps;return Y("div",B({css:i("clearIndicator",t),className:a({indicator:!0,"clear-indicator":!0},r)},o),n||Y(La,null))},Bd=function(t){var n=t.isDisabled,r=t.theme,a=r.spacing.baseUnit,i=r.colors;return{label:"indicatorSeparator",alignSelf:"stretch",backgroundColor:n?i.neutral10:i.neutral20,marginBottom:a*2,marginTop:a*2,width:1}},Vd=function(t){var n=t.className,r=t.cx,a=t.getStyles,i=t.innerProps;return Y("span",B({},i,{css:a("indicatorSeparator",t),className:r({"indicator-separator":!0},n)}))},Hd=Jc(Ji||(Ji=Kc([`
|
|
135
135
|
0%, 80%, 100% { opacity: 0; }
|
|
136
136
|
40% { opacity: 1; }
|
|
137
|
-
`]))),gd=function(t){var r=t.isFocused,n=t.size,a=t.theme,i=a.colors,o=a.spacing.baseUnit;return{label:"loadingIndicator",color:r?i.neutral60:i.neutral20,display:"flex",padding:o*2,transition:"color 150ms",alignSelf:"center",fontSize:n,lineHeight:1,marginRight:n,textAlign:"center",verticalAlign:"middle"}},Er=function(t){var r=t.delay,n=t.offset;return T("span",{css:wa({animation:"".concat(md," 1s ease-in-out ").concat(r,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},process.env.NODE_ENV==="production"?"":";label:LoadingDot;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXFQSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lLFxuICBDU1NPYmplY3RXaXRoTGFiZWwsXG4gIEdyb3VwQmFzZSxcbn0gZnJvbSAnLi4vdHlwZXMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxuICAgIGZvY3VzYWJsZT1cImZhbHNlXCJcbiAgICBjc3M9e3tcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICA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lLFxuICAgICAgICAgICdsb2FkaW5nLWluZGljYXRvcic6IHRydWUsXG4gICAgICAgIH0sXG4gICAgICAgIGNsYXNzTmFtZVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG5Mb2FkaW5nSW5kaWNhdG9yLmRlZmF1bHRQcm9wcyA9IHsgc2l6ZTogNCB9O1xuIl19 */")})},jo=function(t){var r=t.className,n=t.cx,a=t.getStyles,i=t.innerProps,o=t.isRtl;return T("div",R({css:a("loadingIndicator",t),className:n({indicator:!0,"loading-indicator":!0},r)},i),T(Er,{delay:0,offset:o}),T(Er,{delay:160,offset:!0}),T(Er,{delay:320,offset:!o}))};jo.defaultProps={size:4};var vd=function(t){var r=t.isDisabled,n=t.isFocused,a=t.theme,i=a.colors,o=a.borderRadius,s=a.spacing;return{label:"control",alignItems:"center",backgroundColor:r?i.neutral5:i.neutral0,borderColor:r?i.neutral10:n?i.primary:i.neutral20,borderRadius:o,borderStyle:"solid",borderWidth:1,boxShadow:n?"0 0 0 1px ".concat(i.primary):void 0,cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:s.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms","&:hover":{borderColor:n?i.primary:i.neutral30}}},bd=function(t){var r=t.children,n=t.cx,a=t.getStyles,i=t.className,o=t.isDisabled,s=t.isFocused,u=t.innerRef,l=t.innerProps,c=t.menuIsOpen;return T("div",R({ref:u,css:a("control",t),className:n({control:!0,"control--is-disabled":o,"control--is-focused":s,"control--menu-is-open":c},i)},l),r)},yd=["data"],Id=function(t){var r=t.theme.spacing;return{paddingBottom:r.baseUnit*2,paddingTop:r.baseUnit*2}},xd=function(t){var r=t.children,n=t.className,a=t.cx,i=t.getStyles,o=t.Heading,s=t.headingProps,u=t.innerProps,l=t.label,c=t.theme,d=t.selectProps;return T("div",R({css:i("group",t),className:a({group:!0},n)},u),T(o,R({},s,{selectProps:d,theme:c,getStyles:i,cx:a}),l),T("div",null,r))},Cd=function(t){var r=t.theme.spacing;return{label:"group",color:"#999",cursor:"default",display:"block",fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:r.baseUnit*3,paddingRight:r.baseUnit*3,textTransform:"uppercase"}},wd=function(t){var r=t.getStyles,n=t.cx,a=t.className,i=Fo(t);i.data;var o=Ut(i,yd);return T("div",R({css:r("groupHeading",t),className:n({"group-heading":!0},a)},o))},Dd=["innerRef","isDisabled","isHidden","inputClassName"],kd=function(t){var r=t.isDisabled,n=t.value,a=t.theme,i=a.spacing,o=a.colors;return ae({margin:i.baseUnit/2,paddingBottom:i.baseUnit/2,paddingTop:i.baseUnit/2,visibility:r?"hidden":"visible",color:o.neutral80,transform:n?"translateZ(0)":""},Md)},zo={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},Md={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":ae({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},zo)},Sd=function(t){return ae({label:"input",color:"inherit",background:0,opacity:t?0:1,width:"100%"},zo)},Ed=function(t){var r=t.className,n=t.cx,a=t.getStyles,i=t.value,o=Fo(t),s=o.innerRef,u=o.isDisabled,l=o.isHidden,c=o.inputClassName,d=Ut(o,Dd);return T("div",{className:n({"input-container":!0},r),css:a("input",t),"data-value":i||""},T("input",R({className:n({input:!0},c),ref:s,style:Sd(l),disabled:u},d)))},Ad=function(t){var r=t.theme,n=r.spacing,a=r.borderRadius,i=r.colors;return{label:"multiValue",backgroundColor:i.neutral10,borderRadius:a/2,display:"flex",margin:n.baseUnit/2,minWidth:0}},_d=function(t){var r=t.theme,n=r.borderRadius,a=r.colors,i=t.cropWithEllipsis;return{borderRadius:n/2,color:a.neutral80,fontSize:"85%",overflow:"hidden",padding:3,paddingLeft:6,textOverflow:i||i===void 0?"ellipsis":void 0,whiteSpace:"nowrap"}},Nd=function(t){var r=t.theme,n=r.spacing,a=r.borderRadius,i=r.colors,o=t.isFocused;return{alignItems:"center",borderRadius:a/2,backgroundColor:o?i.dangerLight:void 0,display:"flex",paddingLeft:n.baseUnit,paddingRight:n.baseUnit,":hover":{backgroundColor:i.dangerLight,color:i.danger}}},Uo=function(t){var r=t.children,n=t.innerProps;return T("div",n,r)},Od=Uo,Pd=Uo;function Td(e){var t=e.children,r=e.innerProps;return T("div",R({role:"button"},r),t||T(Aa,{size:14}))}var Fd=function(t){var r=t.children,n=t.className,a=t.components,i=t.cx,o=t.data,s=t.getStyles,u=t.innerProps,l=t.isDisabled,c=t.removeProps,d=t.selectProps,p=a.Container,h=a.Label,f=a.Remove;return T(To,null,function(g){var v=g.css,b=g.cx;return T(p,{data:o,innerProps:ae({className:b(v(s("multiValue",t)),i({"multi-value":!0,"multi-value--is-disabled":l},n))},u),selectProps:d},T(h,{data:o,innerProps:{className:b(v(s("multiValueLabel",t)),i({"multi-value__label":!0},n))},selectProps:d},r),T(f,{data:o,innerProps:ae({className:b(v(s("multiValueRemove",t)),i({"multi-value__remove":!0},n)),"aria-label":"Remove ".concat(r||"option")},c),selectProps:d}))})},Rd=function(t){var r=t.isDisabled,n=t.isFocused,a=t.isSelected,i=t.theme,o=i.spacing,s=i.colors;return{label:"option",backgroundColor:a?s.primary:n?s.primary25:"transparent",color:r?s.neutral20:a?s.neutral0:"inherit",cursor:"default",display:"block",fontSize:"inherit",padding:"".concat(o.baseUnit*2,"px ").concat(o.baseUnit*3,"px"),width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",":active":{backgroundColor:r?void 0:a?s.primary:s.primary50}}},Gd=function(t){var r=t.children,n=t.className,a=t.cx,i=t.getStyles,o=t.isDisabled,s=t.isFocused,u=t.isSelected,l=t.innerRef,c=t.innerProps;return T("div",R({css:i("option",t),className:a({option:!0,"option--is-disabled":o,"option--is-focused":s,"option--is-selected":u},n),ref:l,"aria-disabled":o},c),r)},Bd=function(t){var r=t.theme,n=r.spacing,a=r.colors;return{label:"placeholder",color:a.neutral50,gridArea:"1 / 1 / 2 / 3",marginLeft:n.baseUnit/2,marginRight:n.baseUnit/2}},Wd=function(t){var r=t.children,n=t.className,a=t.cx,i=t.getStyles,o=t.innerProps;return T("div",R({css:i("placeholder",t),className:a({placeholder:!0},n)},o),r)},Yd=function(t){var r=t.isDisabled,n=t.theme,a=n.spacing,i=n.colors;return{label:"singleValue",color:r?i.neutral40:i.neutral80,gridArea:"1 / 1 / 2 / 3",marginLeft:a.baseUnit/2,marginRight:a.baseUnit/2,maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},Vd=function(t){var r=t.children,n=t.className,a=t.cx,i=t.getStyles,o=t.isDisabled,s=t.innerProps;return T("div",R({css:i("singleValue",t),className:a({"single-value":!0,"single-value--is-disabled":o},n)},s),r)},vn={ClearIndicator:fd,Control:bd,DropdownIndicator:cd,DownChevron:Zo,CrossIcon:Aa,Group:xd,GroupHeading:wd,IndicatorsContainer:id,IndicatorSeparator:pd,Input:Ed,LoadingIndicator:jo,Menu:zc,MenuList:$c,MenuPortal:qc,LoadingMessage:Lo,NoOptionsMessage:Vo,MultiValue:Fd,MultiValueContainer:Od,MultiValueLabel:Pd,MultiValueRemove:Td,Option:Gd,Placeholder:Wd,SelectContainer:td,SingleValue:Vd,ValueContainer:rd},Ld=function(t){return ae(ae({},vn),t.components)};function Hd(e){if(Array.isArray(e))return e}function Zd(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],a=!0,i=!1,o,s;try{for(r=r.call(e);!(a=(o=r.next()).done)&&(n.push(o.value),!(t&&n.length===t));a=!0);}catch(u){i=!0,s=u}finally{try{!a&&r.return!=null&&r.return()}finally{if(i)throw s}}return n}}function Qr(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function $o(e,t){if(e){if(typeof e=="string")return Qr(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Qr(e,t)}}function Xd(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
138
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function
|
|
139
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Jo(e){return Ud(e)||$d(e)||$o(e)||Jd()}var Ri=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function Qd(e,t){return!!(e===t||Ri(e)&&Ri(t))}function Kd(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(!Qd(e[r],t[r]))return!1;return!0}function qd(e,t){t===void 0&&(t=Kd);var r,n=[],a,i=!1;function o(){for(var s=[],u=0;u<arguments.length;u++)s[u]=arguments[u];return i&&r===this&&t(s,n)||(a=e.apply(this,s),i=!0,r=this,n=s),a}return o}function ef(){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 tf=process.env.NODE_ENV==="production"?{name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"}:{name:"1f43avz-a11yText-A11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;label:A11yText;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFNSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */",toString:ef},Gi=function(t){return T("span",R({css:tf},t))},nf={guidance:function(t){var r=t.isSearchable,n=t.isMulti,a=t.isDisabled,i=t.tabSelectsValue,o=t.context;switch(o){case"menu":return"Use Up and Down to choose options".concat(a?"":", press Enter to select the currently focused option",", press Escape to exit the menu").concat(i?", press Tab to select the option and exit the menu":"",".");case"input":return"".concat(t["aria-label"]||"Select"," is focused ").concat(r?",type to refine list":"",", press Down to open the menu, ").concat(n?" press left to focus selected values":"");case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(t){var r=t.action,n=t.label,a=n===void 0?"":n,i=t.labels,o=t.isDisabled;switch(r){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(a,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(i.length>1?"s":""," ").concat(i.join(","),", selected.");case"select-option":return o?"option ".concat(a," is disabled. Select another option."):"option ".concat(a,", selected.");default:return""}},onFocus:function(t){var r=t.context,n=t.focused,a=t.options,i=t.label,o=i===void 0?"":i,s=t.selectValue,u=t.isDisabled,l=t.isSelected,c=function(f,g){return f&&f.length?"".concat(f.indexOf(g)+1," of ").concat(f.length):""};if(r==="value"&&s)return"value ".concat(o," focused, ").concat(c(s,n),".");if(r==="menu"){var d=u?" disabled":"",p="".concat(l?"selected":"focused").concat(d);return"option ".concat(o," ").concat(p,", ").concat(c(a,n),".")}return""},onFilter:function(t){var r=t.inputValue,n=t.resultsMessage;return"".concat(n).concat(r?" for search term "+r:"",".")}},rf=function(t){var r=t.ariaSelection,n=t.focusedOption,a=t.focusedValue,i=t.focusableOptions,o=t.isFocused,s=t.selectValue,u=t.selectProps,l=t.id,c=u.ariaLiveMessages,d=u.getOptionLabel,p=u.inputValue,h=u.isMulti,f=u.isOptionDisabled,g=u.isSearchable,v=u.menuIsOpen,b=u.options,I=u.screenReaderStatus,x=u.tabSelectsValue,k=u["aria-label"],y=u["aria-live"],C=m.useMemo(function(){return ae(ae({},nf),c||{})},[c]),D=m.useMemo(function(){var F="";if(r&&C.onChange){var ee=r.option,ke=r.options,Ie=r.removedValue,Me=r.removedValues,ze=r.value,Ge=function(Oe){return Array.isArray(Oe)?null:Oe},rt=Ie||ee||Ge(ze),de=rt?d(rt):"",me=ke||Me||void 0,Ue=me?me.map(d):[],$e=ae({isDisabled:rt&&f(rt,s),label:de,labels:Ue},r);F=C.onChange($e)}return F},[r,C,f,s,d]),P=m.useMemo(function(){var F="",ee=n||a,ke=!!(n&&s&&s.includes(n));if(ee&&C.onFocus){var Ie={focused:ee,label:d(ee),isDisabled:f(ee,s),isSelected:ke,options:b,context:ee===n?"menu":"value",selectValue:s};F=C.onFocus(Ie)}return F},[n,a,d,f,C,b,s]),_=m.useMemo(function(){var F="";if(v&&b.length&&C.onFilter){var ee=I({count:i.length});F=C.onFilter({inputValue:p,resultsMessage:ee})}return F},[i,p,v,C,b,I]),K=m.useMemo(function(){var F="";if(C.guidance){var ee=a?"value":v?"menu":"input";F=C.guidance({"aria-label":k,context:ee,isDisabled:n&&f(n,s),isMulti:h,isSearchable:g,tabSelectsValue:x})}return F},[k,n,a,h,f,g,v,C,s,x]),$="".concat(P," ").concat(_," ").concat(K),ie=T(m.Fragment,null,T("span",{id:"aria-selection"},D),T("span",{id:"aria-context"},$)),oe=(r==null?void 0:r.action)==="initial-input-focus";return T(m.Fragment,null,T(Gi,{id:l},oe&&ie),T(Gi,{"aria-live":y,"aria-atomic":"false","aria-relevant":"additions text"},o&&!oe&&ie))},Kr=[{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źẑżžẓẕƶȥɀⱬꝣ"}],af=new RegExp("["+Kr.map(function(e){return e.letters}).join("")+"]","g"),Qo={};for(var _r=0;_r<Kr.length;_r++)for(var Nr=Kr[_r],Or=0;Or<Nr.letters.length;Or++)Qo[Nr.letters[Or]]=Nr.base;var Ko=function(t){return t.replace(af,function(r){return Qo[r]})},of=qd(Ko),Bi=function(t){return t.replace(/^\s+|\s+$/g,"")},sf=function(t){return"".concat(t.label," ").concat(t.value)},uf=function(t){return function(r,n){if(r.data.__isNew__)return!0;var a=ae({ignoreCase:!0,ignoreAccents:!0,stringify:sf,trim:!0,matchFrom:"any"},t),i=a.ignoreCase,o=a.ignoreAccents,s=a.stringify,u=a.trim,l=a.matchFrom,c=u?Bi(n):n,d=u?Bi(s(r)):s(r);return i&&(c=c.toLowerCase(),d=d.toLowerCase()),o&&(c=of(c),d=Ko(d)),l==="start"?d.substr(0,c.length)===c:d.indexOf(c)>-1}},lf=["innerRef"];function cf(e){var t=e.innerRef,r=Ut(e,lf);return T("input",R({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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWNNIiwiZmlsZSI6IkR1bW15SW5wdXQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyBSZWYgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uIER1bW15SW5wdXQoe1xuICBpbm5lclJlZixcbiAgLi4ucHJvcHNcbn06IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snaW5wdXQnXSAmIHtcbiAgcmVhZG9ubHkgaW5uZXJSZWY6IFJlZjxIVE1MSW5wdXRFbGVtZW50Pjtcbn0pIHtcbiAgcmV0dXJuIChcbiAgICA8aW5wdXRcbiAgICAgIHJlZj17aW5uZXJSZWZ9XG4gICAgICB7Li4ucHJvcHN9XG4gICAgICBjc3M9e3tcbiAgICAgICAgbGFiZWw6ICdkdW1teUlucHV0JyxcbiAgICAgICAgLy8gZ2V0IHJpZCBvZiBhbnkgZGVmYXVsdCBzdHlsZXNcbiAgICAgICAgYmFja2dyb3VuZDogMCxcbiAgICAgICAgYm9yZGVyOiAwLFxuICAgICAgICAvLyBpbXBvcnRhbnQhIHRoaXMgaGlkZXMgdGhlIGZsYXNoaW5nIGN1cnNvclxuICAgICAgICBjYXJldENvbG9yOiAndHJhbnNwYXJlbnQnLFxuICAgICAgICBmb250U2l6ZTogJ2luaGVyaXQnLFxuICAgICAgICBncmlkQXJlYTogJzEgLyAxIC8gMiAvIDMnLFxuICAgICAgICBvdXRsaW5lOiAwLFxuICAgICAgICBwYWRkaW5nOiAwLFxuICAgICAgICAvLyBpbXBvcnRhbnQhIHdpdGhvdXQgYHdpZHRoYCBicm93c2VycyB3b24ndCBhbGxvdyBmb2N1c1xuICAgICAgICB3aWR0aDogMSxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIGRlc2t0b3BcbiAgICAgICAgY29sb3I6ICd0cmFuc3BhcmVudCcsXG5cbiAgICAgICAgLy8gcmVtb3ZlIGN1cnNvciBvbiBtb2JpbGUgd2hpbHN0IG1haW50YWluaW5nIFwic2Nyb2xsIGludG8gdmlld1wiIGJlaGF2aW91clxuICAgICAgICBsZWZ0OiAtMTAwLFxuICAgICAgICBvcGFjaXR5OiAwLFxuICAgICAgICBwb3NpdGlvbjogJ3JlbGF0aXZlJyxcbiAgICAgICAgdHJhbnNmb3JtOiAnc2NhbGUoLjAxKScsXG4gICAgICB9fVxuICAgIC8+XG4gICk7XG59XG4iXX0= */")}))}var df=function(t){t.preventDefault(),t.stopPropagation()};function ff(e){var t=e.isEnabled,r=e.onBottomArrive,n=e.onBottomLeave,a=e.onTopArrive,i=e.onTopLeave,o=m.useRef(!1),s=m.useRef(!1),u=m.useRef(0),l=m.useRef(null),c=m.useCallback(function(v,b){if(l.current!==null){var I=l.current,x=I.scrollTop,k=I.scrollHeight,y=I.clientHeight,C=l.current,D=b>0,P=k-y-x,_=!1;P>b&&o.current&&(n&&n(v),o.current=!1),D&&s.current&&(i&&i(v),s.current=!1),D&&b>P?(r&&!o.current&&r(v),C.scrollTop=k,_=!0,o.current=!0):!D&&-b>x&&(a&&!s.current&&a(v),C.scrollTop=0,_=!0,s.current=!0),_&&df(v)}},[r,n,a,i]),d=m.useCallback(function(v){c(v,v.deltaY)},[c]),p=m.useCallback(function(v){u.current=v.changedTouches[0].clientY},[]),h=m.useCallback(function(v){var b=u.current-v.changedTouches[0].clientY;c(v,b)},[c]),f=m.useCallback(function(v){if(v){var b=Vc?{passive:!1}:!1;v.addEventListener("wheel",d,b),v.addEventListener("touchstart",p,b),v.addEventListener("touchmove",h,b)}},[h,p,d]),g=m.useCallback(function(v){v&&(v.removeEventListener("wheel",d,!1),v.removeEventListener("touchstart",p,!1),v.removeEventListener("touchmove",h,!1))},[h,p,d]);return m.useEffect(function(){if(t){var v=l.current;return f(v),function(){g(v)}}},[t,f,g]),function(v){l.current=v}}var Wi=["boxSizing","height","overflow","paddingRight","position"],Yi={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Vi(e){e.preventDefault()}function Li(e){e.stopPropagation()}function Hi(){var e=this.scrollTop,t=this.scrollHeight,r=e+this.offsetHeight;e===0?this.scrollTop=1:r===t&&(this.scrollTop=e-1)}function Zi(){return"ontouchstart"in window||navigator.maxTouchPoints}var Xi=!!(typeof window<"u"&&window.document&&window.document.createElement),nn=0,Rt={capture:!1,passive:!1};function hf(e){var t=e.isEnabled,r=e.accountForScrollbars,n=r===void 0?!0:r,a=m.useRef({}),i=m.useRef(null),o=m.useCallback(function(u){if(Xi){var l=document.body,c=l&&l.style;if(n&&Wi.forEach(function(f){var g=c&&c[f];a.current[f]=g}),n&&nn<1){var d=parseInt(a.current.paddingRight,10)||0,p=document.body?document.body.clientWidth:0,h=window.innerWidth-p+d||0;Object.keys(Yi).forEach(function(f){var g=Yi[f];c&&(c[f]=g)}),c&&(c.paddingRight="".concat(h,"px"))}l&&Zi()&&(l.addEventListener("touchmove",Vi,Rt),u&&(u.addEventListener("touchstart",Hi,Rt),u.addEventListener("touchmove",Li,Rt))),nn+=1}},[n]),s=m.useCallback(function(u){if(Xi){var l=document.body,c=l&&l.style;nn=Math.max(nn-1,0),n&&nn<1&&Wi.forEach(function(d){var p=a.current[d];c&&(c[d]=p)}),l&&Zi()&&(l.removeEventListener("touchmove",Vi,Rt),u&&(u.removeEventListener("touchstart",Hi,Rt),u.removeEventListener("touchmove",Li,Rt)))}},[n]);return m.useEffect(function(){if(t){var u=i.current;return o(u),function(){s(u)}}},[t,o,s]),function(u){i.current=u}}function pf(){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 mf=function(){return document.activeElement&&document.activeElement.blur()},gf=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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQStDVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2sgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcuL3VzZVNjcm9sbENhcHR1cmUnO1xuaW1wb3J0IHVzZVNjcm9sbExvY2sgZnJvbSAnLi91c2VTY3JvbGxMb2NrJztcblxuaW50ZXJmYWNlIFByb3BzIHtcbiAgcmVhZG9ubHkgY2hpbGRyZW46IChyZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PikgPT4gUmVhY3RFbGVtZW50O1xuICByZWFkb25seSBsb2NrRW5hYmxlZDogYm9vbGVhbjtcbiAgcmVhZG9ubHkgY2FwdHVyZUVuYWJsZWQ6IGJvb2xlYW47XG4gIHJlYWRvbmx5IG9uQm90dG9tQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVhZG9ubHkgb25Cb3R0b21MZWF2ZT86IChldmVudDogV2hlZWxFdmVudCB8IFRvdWNoRXZlbnQpID0+IHZvaWQ7XG4gIHJlYWRvbmx5IG9uVG9wQXJyaXZlPz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1cm4gKFxuICAgIDxGcmFnbWVudD5cbiAgICAgIHtsb2NrRW5hYmxlZCAmJiAoXG4gICAgICAgIDxkaXZcbiAgICAgICAgICBvbkNsaWNrPXtibHVyU2VsZWN0SW5wdXR9XG4gICAgICAgICAgY3NzPXt7IHBvc2l0aW9uOiAnZml4ZWQnLCBsZWZ0OiAwLCBib3R0b206IDAsIHJpZ2h0OiAwLCB0b3A6IDAgfX1cbiAgICAgICAgLz5cbiAgICAgICl9XG4gICAgICB7Y2hpbGRyZW4odGFyZ2V0UmVmKX1cbiAgICA8L0ZyYWdtZW50PlxuICApO1xufVxuIl19 */",toString:pf};function vf(e){var t=e.children,r=e.lockEnabled,n=e.captureEnabled,a=n===void 0?!0:n,i=e.onBottomArrive,o=e.onBottomLeave,s=e.onTopArrive,u=e.onTopLeave,l=ff({isEnabled:a,onBottomArrive:i,onBottomLeave:o,onTopArrive:s,onTopLeave:u}),c=hf({isEnabled:r}),d=function(h){l(h),c(h)};return T(m.Fragment,null,r&&T("div",{onClick:mf,css:gf}),t(d))}var bf=function(t){return t.label},yf=function(t){return t.label},If=function(t){return t.value},xf=function(t){return!!t.isDisabled},Cf={clearIndicator:dd,container:ed,control:vd,dropdownIndicator:ld,group:Id,groupHeading:Cd,indicatorsContainer:ad,indicatorSeparator:hd,input:kd,loadingIndicator:gd,loadingMessage:Qc,menu:jc,menuList:Uc,menuPortal:Kc,multiValue:Ad,multiValueLabel:_d,multiValueRemove:Nd,noOptionsMessage:Jc,option:Rd,placeholder:Bd,singleValue:Yd,valueContainer:nd},wf={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%)"},Df=4,qo=4,kf=38,Mf=qo*2,Sf={baseUnit:qo,controlHeight:kf,menuGutter:Mf},Pr={borderRadius:Df,colors:wf,spacing:Sf},Ef={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Ti(),captureMenuScroll:!Ti(),closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:uf(),formatGroupLabel:bf,getOptionLabel:yf,getOptionValue:If,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:xf,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!Wc(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(t){var r=t.count;return"".concat(r," result").concat(r!==1?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0};function ji(e,t,r,n){var a=rs(e,t,r),i=as(e,t,r),o=ns(e,t),s=Kn(e,t);return{type:"option",data:t,isDisabled:a,isSelected:i,label:o,value:s,index:n}}function es(e,t){return e.options.map(function(r,n){if("options"in r){var a=r.options.map(function(o,s){return ji(e,o,t,s)}).filter(function(o){return zi(e,o)});return a.length>0?{type:"group",data:r,options:a,index:n}:void 0}var i=ji(e,r,t,n);return zi(e,i)?i:void 0}).filter(Lc)}function ts(e){return e.reduce(function(t,r){return r.type==="group"?t.push.apply(t,Jo(r.options.map(function(n){return n.data}))):t.push(r.data),t},[])}function Af(e,t){return ts(es(e,t))}function zi(e,t){var r=e.inputValue,n=r===void 0?"":r,a=t.data,i=t.isSelected,o=t.label,s=t.value;return(!os(e)||!i)&&is(e,{label:o,value:s,data:a},n)}function _f(e,t){var r=e.focusedValue,n=e.selectValue,a=n.indexOf(r);if(a>-1){var i=t.indexOf(r);if(i>-1)return r;if(a<t.length)return t[a]}return null}function Nf(e,t){var r=e.focusedOption;return r&&t.indexOf(r)>-1?r:t[0]}var ns=function(t,r){return t.getOptionLabel(r)},Kn=function(t,r){return t.getOptionValue(r)};function rs(e,t,r){return typeof e.isOptionDisabled=="function"?e.isOptionDisabled(t,r):!1}function as(e,t,r){if(r.indexOf(t)>-1)return!0;if(typeof e.isOptionSelected=="function")return e.isOptionSelected(t,r);var n=Kn(e,t);return r.some(function(a){return Kn(e,a)===n})}function is(e,t,r){return e.filterOption?e.filterOption(t,r):!0}var os=function(t){var r=t.hideSelectedOptions,n=t.isMulti;return r===void 0?n:r},Of=1,ss=function(e){Ma(r,e);var t=Sa(r);function r(n){var a;return Da(this,r),a=t.call(this,n),a.state={ariaSelection:null,focusedOption:null,focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0},a.blockOptionHover=!1,a.isComposing=!1,a.commonProps=void 0,a.initialTouchX=0,a.initialTouchY=0,a.instancePrefix="",a.openAfterFocus=!1,a.scrollToFocusedOptionOnUpdate=!1,a.userIsDragging=void 0,a.controlRef=null,a.getControlRef=function(i){a.controlRef=i},a.focusedOptionRef=null,a.getFocusedOptionRef=function(i){a.focusedOptionRef=i},a.menuListRef=null,a.getMenuListRef=function(i){a.menuListRef=i},a.inputRef=null,a.getInputRef=function(i){a.inputRef=i},a.focus=a.focusInput,a.blur=a.blurInput,a.onChange=function(i,o){var s=a.props,u=s.onChange,l=s.name;o.name=l,a.ariaOnChange(i,o),u(i,o)},a.setValue=function(i,o,s){var u=a.props,l=u.closeMenuOnSelect,c=u.isMulti,d=u.inputValue;a.onInputChange("",{action:"set-value",prevInputValue:d}),l&&(a.setState({inputIsHiddenAfterUpdate:!c}),a.onMenuClose()),a.setState({clearFocusValueOnUpdate:!0}),a.onChange(i,{action:o,option:s})},a.selectOption=function(i){var o=a.props,s=o.blurInputOnSelect,u=o.isMulti,l=o.name,c=a.state.selectValue,d=u&&a.isOptionSelected(i,c),p=a.isOptionDisabled(i,c);if(d){var h=a.getOptionValue(i);a.setValue(c.filter(function(f){return a.getOptionValue(f)!==h}),"deselect-option",i)}else if(!p)u?a.setValue([].concat(Jo(c),[i]),"select-option",i):a.setValue(i,"select-option");else{a.ariaOnChange(i,{action:"select-option",option:i,name:l});return}s&&a.blurInput()},a.removeValue=function(i){var o=a.props.isMulti,s=a.state.selectValue,u=a.getOptionValue(i),l=s.filter(function(d){return a.getOptionValue(d)!==u}),c=Pn(o,l,l[0]||null);a.onChange(c,{action:"remove-value",removedValue:i}),a.focusInput()},a.clearValue=function(){var i=a.state.selectValue;a.onChange(Pn(a.props.isMulti,[],null),{action:"clear",removedValues:i})},a.popValue=function(){var i=a.props.isMulti,o=a.state.selectValue,s=o[o.length-1],u=o.slice(0,o.length-1),l=Pn(i,u,u[0]||null);a.onChange(l,{action:"pop-value",removedValue:s})},a.getValue=function(){return a.state.selectValue},a.cx=function(){for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];return Tc.apply(void 0,[a.props.classNamePrefix].concat(o))},a.getOptionLabel=function(i){return ns(a.props,i)},a.getOptionValue=function(i){return Kn(a.props,i)},a.getStyles=function(i,o){var s=Cf[i](o);s.boxSizing="border-box";var u=a.props.styles[i];return u?u(s,o):s},a.getElementId=function(i){return"".concat(a.instancePrefix,"-").concat(i)},a.getComponents=function(){return Ld(a.props)},a.buildCategorizedOptions=function(){return es(a.props,a.state.selectValue)},a.getCategorizedOptions=function(){return a.props.menuIsOpen?a.buildCategorizedOptions():[]},a.buildFocusableOptions=function(){return ts(a.buildCategorizedOptions())},a.getFocusableOptions=function(){return a.props.menuIsOpen?a.buildFocusableOptions():[]},a.ariaOnChange=function(i,o){a.setState({ariaSelection:ae({value:i},o)})},a.onMenuMouseDown=function(i){i.button===0&&(i.stopPropagation(),i.preventDefault(),a.focusInput())},a.onMenuMouseMove=function(i){a.blockOptionHover=!1},a.onControlMouseDown=function(i){var o=a.props.openMenuOnClick;a.state.isFocused?a.props.menuIsOpen?i.target.tagName!=="INPUT"&&i.target.tagName!=="TEXTAREA"&&a.onMenuClose():o&&a.openMenu("first"):(o&&(a.openAfterFocus=!0),a.focusInput()),i.target.tagName!=="INPUT"&&i.target.tagName!=="TEXTAREA"&&i.preventDefault()},a.onDropdownIndicatorMouseDown=function(i){if(!(i&&i.type==="mousedown"&&i.button!==0)&&!a.props.isDisabled){var o=a.props,s=o.isMulti,u=o.menuIsOpen;a.focusInput(),u?(a.setState({inputIsHiddenAfterUpdate:!s}),a.onMenuClose()):a.openMenu("first"),i.preventDefault(),i.stopPropagation()}},a.onClearIndicatorMouseDown=function(i){i&&i.type==="mousedown"&&i.button!==0||(a.clearValue(),i.preventDefault(),i.stopPropagation(),a.openAfterFocus=!1,i.type==="touchend"?a.focusInput():setTimeout(function(){return a.focusInput()}))},a.onScroll=function(i){typeof a.props.closeMenuOnScroll=="boolean"?i.target instanceof HTMLElement&&Ea(i.target)&&a.props.onMenuClose():typeof a.props.closeMenuOnScroll=="function"&&a.props.closeMenuOnScroll(i)&&a.props.onMenuClose()},a.onCompositionStart=function(){a.isComposing=!0},a.onCompositionEnd=function(){a.isComposing=!1},a.onTouchStart=function(i){var o=i.touches,s=o&&o.item(0);s&&(a.initialTouchX=s.clientX,a.initialTouchY=s.clientY,a.userIsDragging=!1)},a.onTouchMove=function(i){var o=i.touches,s=o&&o.item(0);if(s){var u=Math.abs(s.clientX-a.initialTouchX),l=Math.abs(s.clientY-a.initialTouchY),c=5;a.userIsDragging=u>c||l>c}},a.onTouchEnd=function(i){a.userIsDragging||(a.controlRef&&!a.controlRef.contains(i.target)&&a.menuListRef&&!a.menuListRef.contains(i.target)&&a.blurInput(),a.initialTouchX=0,a.initialTouchY=0)},a.onControlTouchEnd=function(i){a.userIsDragging||a.onControlMouseDown(i)},a.onClearIndicatorTouchEnd=function(i){a.userIsDragging||a.onClearIndicatorMouseDown(i)},a.onDropdownIndicatorTouchEnd=function(i){a.userIsDragging||a.onDropdownIndicatorMouseDown(i)},a.handleInputChange=function(i){var o=a.props.inputValue,s=i.currentTarget.value;a.setState({inputIsHiddenAfterUpdate:!1}),a.onInputChange(s,{action:"input-change",prevInputValue:o}),a.props.menuIsOpen||a.onMenuOpen()},a.onInputFocus=function(i){a.props.onFocus&&a.props.onFocus(i),a.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(a.openAfterFocus||a.props.openMenuOnFocus)&&a.openMenu("first"),a.openAfterFocus=!1},a.onInputBlur=function(i){var o=a.props.inputValue;if(a.menuListRef&&a.menuListRef.contains(document.activeElement)){a.inputRef.focus();return}a.props.onBlur&&a.props.onBlur(i),a.onInputChange("",{action:"input-blur",prevInputValue:o}),a.onMenuClose(),a.setState({focusedValue:null,isFocused:!1})},a.onOptionHover=function(i){a.blockOptionHover||a.state.focusedOption===i||a.setState({focusedOption:i})},a.shouldHideSelectedOptions=function(){return os(a.props)},a.onKeyDown=function(i){var o=a.props,s=o.isMulti,u=o.backspaceRemovesValue,l=o.escapeClearsValue,c=o.inputValue,d=o.isClearable,p=o.isDisabled,h=o.menuIsOpen,f=o.onKeyDown,g=o.tabSelectsValue,v=o.openMenuOnFocus,b=a.state,I=b.focusedOption,x=b.focusedValue,k=b.selectValue;if(!p&&!(typeof f=="function"&&(f(i),i.defaultPrevented))){switch(a.blockOptionHover=!0,i.key){case"ArrowLeft":if(!s||c)return;a.focusValue("previous");break;case"ArrowRight":if(!s||c)return;a.focusValue("next");break;case"Delete":case"Backspace":if(c)return;if(x)a.removeValue(x);else{if(!u)return;s?a.popValue():d&&a.clearValue()}break;case"Tab":if(a.isComposing||i.shiftKey||!h||!g||!I||v&&a.isOptionSelected(I,k))return;a.selectOption(I);break;case"Enter":if(i.keyCode===229)break;if(h){if(!I||a.isComposing)return;a.selectOption(I);break}return;case"Escape":h?(a.setState({inputIsHiddenAfterUpdate:!1}),a.onInputChange("",{action:"menu-close",prevInputValue:c}),a.onMenuClose()):d&&l&&a.clearValue();break;case" ":if(c)return;if(!h){a.openMenu("first");break}if(!I)return;a.selectOption(I);break;case"ArrowUp":h?a.focusOption("up"):a.openMenu("last");break;case"ArrowDown":h?a.focusOption("down"):a.openMenu("first");break;case"PageUp":if(!h)return;a.focusOption("pageup");break;case"PageDown":if(!h)return;a.focusOption("pagedown");break;case"Home":if(!h)return;a.focusOption("first");break;case"End":if(!h)return;a.focusOption("last");break;default:return}i.preventDefault()}},a.instancePrefix="react-select-"+(a.props.instanceId||++Of),a.state.selectValue=Pi(n.value),a}return ka(r,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput()}},{key:"componentDidUpdate",value:function(a){var i=this.props,o=i.isDisabled,s=i.menuIsOpen,u=this.state.isFocused;(u&&!o&&a.isDisabled||u&&s&&!a.menuIsOpen)&&this.focusInput(),u&&o&&!a.isDisabled&&this.setState({isFocused:!1},this.onMenuClose),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(Gc(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(a,i){this.props.onInputChange(a,i)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(a){var i=this,o=this.state,s=o.selectValue,u=o.isFocused,l=this.buildFocusableOptions(),c=a==="first"?0:l.length-1;if(!this.props.isMulti){var d=l.indexOf(s[0]);d>-1&&(c=d)}this.scrollToFocusedOptionOnUpdate=!(u&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:l[c]},function(){return i.onMenuOpen()})}},{key:"focusValue",value:function(a){var i=this.state,o=i.selectValue,s=i.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var u=o.indexOf(s);s||(u=-1);var l=o.length-1,c=-1;if(o.length){switch(a){case"previous":u===0?c=0:u===-1?c=l:c=u-1;break;case"next":u>-1&&u<l&&(c=u+1);break}this.setState({inputIsHidden:c!==-1,focusedValue:o[c]})}}}},{key:"focusOption",value:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"first",i=this.props.pageSize,o=this.state.focusedOption,s=this.getFocusableOptions();if(s.length){var u=0,l=s.indexOf(o);o||(l=-1),a==="up"?u=l>0?l-1:s.length-1:a==="down"?u=(l+1)%s.length:a==="pageup"?(u=l-i,u<0&&(u=0)):a==="pagedown"?(u=l+i,u>s.length-1&&(u=s.length-1)):a==="last"&&(u=s.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:s[u],focusedValue:null})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(Pr):ae(ae({},Pr),this.props.theme):Pr}},{key:"getCommonProps",value:function(){var a=this.clearValue,i=this.cx,o=this.getStyles,s=this.getValue,u=this.selectOption,l=this.setValue,c=this.props,d=c.isMulti,p=c.isRtl,h=c.options,f=this.hasValue();return{clearValue:a,cx:i,getStyles:o,getValue:s,hasValue:f,isMulti:d,isRtl:p,options:h,selectOption:u,selectProps:c,setValue:l,theme:this.getTheme()}}},{key:"hasValue",value:function(){var a=this.state.selectValue;return a.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var a=this.props,i=a.isClearable,o=a.isMulti;return i===void 0?o:i}},{key:"isOptionDisabled",value:function(a,i){return rs(this.props,a,i)}},{key:"isOptionSelected",value:function(a,i){return as(this.props,a,i)}},{key:"filterOption",value:function(a,i){return is(this.props,a,i)}},{key:"formatOptionLabel",value:function(a,i){if(typeof this.props.formatOptionLabel=="function"){var o=this.props.inputValue,s=this.state.selectValue;return this.props.formatOptionLabel(a,{context:i,inputValue:o,selectValue:s})}else return this.getOptionLabel(a)}},{key:"formatGroupLabel",value:function(a){return this.props.formatGroupLabel(a)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var a=this.props,i=a.isDisabled,o=a.isSearchable,s=a.inputId,u=a.inputValue,l=a.tabIndex,c=a.form,d=a.menuIsOpen,p=this.getComponents(),h=p.Input,f=this.state,g=f.inputIsHidden,v=f.ariaSelection,b=this.commonProps,I=s||this.getElementId("input"),x=ae(ae({"aria-autocomplete":"list","aria-expanded":d,"aria-haspopup":!0,"aria-controls":this.getElementId("listbox"),"aria-owns":this.getElementId("listbox"),"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],role:"combobox"},!o&&{"aria-readonly":!0}),this.hasValue()?(v==null?void 0:v.action)==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return o?G.createElement(h,R({},b,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:I,innerRef:this.getInputRef,isDisabled:i,isHidden:g,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:l,form:c,type:"text",value:u},x)):G.createElement(cf,R({id:I,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Jn,onFocus:this.onInputFocus,disabled:i,tabIndex:l,inputMode:"none",form:c,value:""},x))}},{key:"renderPlaceholderOrValue",value:function(){var a=this,i=this.getComponents(),o=i.MultiValue,s=i.MultiValueContainer,u=i.MultiValueLabel,l=i.MultiValueRemove,c=i.SingleValue,d=i.Placeholder,p=this.commonProps,h=this.props,f=h.controlShouldRenderValue,g=h.isDisabled,v=h.isMulti,b=h.inputValue,I=h.placeholder,x=this.state,k=x.selectValue,y=x.focusedValue,C=x.isFocused;if(!this.hasValue()||!f)return b?null:G.createElement(d,R({},p,{key:"placeholder",isDisabled:g,isFocused:C,innerProps:{id:this.getElementId("placeholder")}}),I);if(v)return k.map(function(P,_){var K=P===y,$="".concat(a.getOptionLabel(P),"-").concat(a.getOptionValue(P));return G.createElement(o,R({},p,{components:{Container:s,Label:u,Remove:l},isFocused:K,isDisabled:g,key:$,index:_,removeProps:{onClick:function(){return a.removeValue(P)},onTouchEnd:function(){return a.removeValue(P)},onMouseDown:function(oe){oe.preventDefault(),oe.stopPropagation()}},data:P}),a.formatOptionLabel(P,"value"))});if(b)return null;var D=k[0];return G.createElement(c,R({},p,{data:D,isDisabled:g}),this.formatOptionLabel(D,"value"))}},{key:"renderClearIndicator",value:function(){var a=this.getComponents(),i=a.ClearIndicator,o=this.commonProps,s=this.props,u=s.isDisabled,l=s.isLoading,c=this.state.isFocused;if(!this.isClearable()||!i||u||!this.hasValue()||l)return null;var d={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return G.createElement(i,R({},o,{innerProps:d,isFocused:c}))}},{key:"renderLoadingIndicator",value:function(){var a=this.getComponents(),i=a.LoadingIndicator,o=this.commonProps,s=this.props,u=s.isDisabled,l=s.isLoading,c=this.state.isFocused;if(!i||!l)return null;var d={"aria-hidden":"true"};return G.createElement(i,R({},o,{innerProps:d,isDisabled:u,isFocused:c}))}},{key:"renderIndicatorSeparator",value:function(){var a=this.getComponents(),i=a.DropdownIndicator,o=a.IndicatorSeparator;if(!i||!o)return null;var s=this.commonProps,u=this.props.isDisabled,l=this.state.isFocused;return G.createElement(o,R({},s,{isDisabled:u,isFocused:l}))}},{key:"renderDropdownIndicator",value:function(){var a=this.getComponents(),i=a.DropdownIndicator;if(!i)return null;var o=this.commonProps,s=this.props.isDisabled,u=this.state.isFocused,l={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return G.createElement(i,R({},o,{innerProps:l,isDisabled:s,isFocused:u}))}},{key:"renderMenu",value:function(){var a=this,i=this.getComponents(),o=i.Group,s=i.GroupHeading,u=i.Menu,l=i.MenuList,c=i.MenuPortal,d=i.LoadingMessage,p=i.NoOptionsMessage,h=i.Option,f=this.commonProps,g=this.state.focusedOption,v=this.props,b=v.captureMenuScroll,I=v.inputValue,x=v.isLoading,k=v.loadingMessage,y=v.minMenuHeight,C=v.maxMenuHeight,D=v.menuIsOpen,P=v.menuPlacement,_=v.menuPosition,K=v.menuPortalTarget,$=v.menuShouldBlockScroll,ie=v.menuShouldScrollIntoView,oe=v.noOptionsMessage,F=v.onMenuScrollToTop,ee=v.onMenuScrollToBottom;if(!D)return null;var ke=function(me,Ue){var $e=me.type,Ne=me.data,Oe=me.isDisabled,wt=me.isSelected,Ft=me.label,Mr=me.value,Mn=g===Ne,N=Oe?void 0:function(){return a.onOptionHover(Ne)},en=Oe?void 0:function(){return a.selectOption(Ne)},Dt="".concat(a.getElementId("option"),"-").concat(Ue),Sn={id:Dt,onClick:en,onMouseMove:N,onMouseOver:N,tabIndex:-1};return G.createElement(h,R({},f,{innerProps:Sn,data:Ne,isDisabled:Oe,isSelected:wt,key:Dt,label:Ft,type:$e,value:Mr,isFocused:Mn,innerRef:Mn?a.getFocusedOptionRef:void 0}),a.formatOptionLabel(me.data,"menu"))},Ie;if(this.hasOptions())Ie=this.getCategorizedOptions().map(function(de){if(de.type==="group"){var me=de.data,Ue=de.options,$e=de.index,Ne="".concat(a.getElementId("group"),"-").concat($e),Oe="".concat(Ne,"-heading");return G.createElement(o,R({},f,{key:Ne,data:me,options:Ue,Heading:s,headingProps:{id:Oe,data:de.data},label:a.formatGroupLabel(de.data)}),de.options.map(function(wt){return ke(wt,"".concat($e,"-").concat(wt.index))}))}else if(de.type==="option")return ke(de,"".concat(de.index))});else if(x){var Me=k({inputValue:I});if(Me===null)return null;Ie=G.createElement(d,f,Me)}else{var ze=oe({inputValue:I});if(ze===null)return null;Ie=G.createElement(p,f,ze)}var Ge={minMenuHeight:y,maxMenuHeight:C,menuPlacement:P,menuPosition:_,menuShouldScrollIntoView:ie},rt=G.createElement(Wo,R({},f,Ge),function(de){var me=de.ref,Ue=de.placerProps,$e=Ue.placement,Ne=Ue.maxHeight;return G.createElement(u,R({},f,Ge,{innerRef:me,innerProps:{onMouseDown:a.onMenuMouseDown,onMouseMove:a.onMenuMouseMove,id:a.getElementId("listbox")},isLoading:x,placement:$e}),G.createElement(vf,{captureEnabled:b,onTopArrive:F,onBottomArrive:ee,lockEnabled:$},function(Oe){return G.createElement(l,R({},f,{innerRef:function(Ft){a.getMenuListRef(Ft),Oe(Ft)},isLoading:x,maxHeight:Ne,focusedOption:g}),Ie)}))});return K||_==="fixed"?G.createElement(c,R({},f,{appendTo:K,controlElement:this.controlRef,menuPlacement:P,menuPosition:_}),rt):rt}},{key:"renderFormField",value:function(){var a=this,i=this.props,o=i.delimiter,s=i.isDisabled,u=i.isMulti,l=i.name,c=this.state.selectValue;if(!(!l||s))if(u)if(o){var d=c.map(function(f){return a.getOptionValue(f)}).join(o);return G.createElement("input",{name:l,type:"hidden",value:d})}else{var p=c.length>0?c.map(function(f,g){return G.createElement("input",{key:"i-".concat(g),name:l,type:"hidden",value:a.getOptionValue(f)})}):G.createElement("input",{name:l,type:"hidden"});return G.createElement("div",null,p)}else{var h=c[0]?this.getOptionValue(c[0]):"";return G.createElement("input",{name:l,type:"hidden",value:h})}}},{key:"renderLiveRegion",value:function(){var a=this.commonProps,i=this.state,o=i.ariaSelection,s=i.focusedOption,u=i.focusedValue,l=i.isFocused,c=i.selectValue,d=this.getFocusableOptions();return G.createElement(rf,R({},a,{id:this.getElementId("live-region"),ariaSelection:o,focusedOption:s,focusedValue:u,isFocused:l,selectValue:c,focusableOptions:d}))}},{key:"render",value:function(){var a=this.getComponents(),i=a.Control,o=a.IndicatorsContainer,s=a.SelectContainer,u=a.ValueContainer,l=this.props,c=l.className,d=l.id,p=l.isDisabled,h=l.menuIsOpen,f=this.state.isFocused,g=this.commonProps=this.getCommonProps();return G.createElement(s,R({},g,{className:c,innerProps:{id:d,onKeyDown:this.onKeyDown},isDisabled:p,isFocused:f}),this.renderLiveRegion(),G.createElement(i,R({},g,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:p,isFocused:f,menuIsOpen:h}),G.createElement(u,R({},g,{isDisabled:p}),this.renderPlaceholderOrValue(),this.renderInput()),G.createElement(o,R({},g,{isDisabled:p}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(a,i){var o=i.prevProps,s=i.clearFocusValueOnUpdate,u=i.inputIsHiddenAfterUpdate,l=i.ariaSelection,c=i.isFocused,d=i.prevWasFocused,p=a.options,h=a.value,f=a.menuIsOpen,g=a.inputValue,v=a.isMulti,b=Pi(h),I={};if(o&&(h!==o.value||p!==o.options||f!==o.menuIsOpen||g!==o.inputValue)){var x=f?Af(a,b):[],k=s?_f(i,b):null,y=Nf(i,x);I={selectValue:b,focusedOption:y,focusedValue:k,clearFocusValueOnUpdate:!1}}var C=u!=null&&a!==o?{inputIsHidden:u,inputIsHiddenAfterUpdate:void 0}:{},D=l,P=c&&d;return c&&!P&&(D={value:Pn(v,b,b[0]||null),options:b,action:"initial-input-focus"},P=!d),(l==null?void 0:l.action)==="initial-input-focus"&&(D=null),ae(ae(ae({},I),C),{},{prevProps:a,ariaSelection:D,prevWasFocused:P})}}]),r}(m.Component);ss.defaultProps=Ef;var Pf=m.forwardRef(function(e,t){var r=zd(e);return G.createElement(ss,R({ref:t},r))});const Tf=Pf,Ff=e=>vn.DropdownIndicator&&A.jsx(vn.DropdownIndicator,{...e,children:A.jsx(Ae.IconArrowDropDown,{width:"24px",height:"24px",fill:"var(--color-primary-text-on-light)"})}),Rf=({label:e,...t},r)=>{const n=m.useRef(null);return m.useImperativeHandle(r,()=>({setValue:a=>{var i;return(i=n.current)==null?void 0:i.select.setValue(a)}})),A.jsxs(Gf,{isDisabled:t.isDisabled,children:[!!e&&A.jsx(cs,{children:A.jsx(H.BodyUI,{bold:!0,color:"var(--color-primary-text-on-light)",children:e})}),A.jsx(ls,{classNamePrefix:"dropdown",components:{DropdownIndicator:Ff,...t.components},hideOnMobile:t.hideOnMobile,ref:n,...t})]})},us=S.css`
|
|
137
|
+
`]))),Xd=function(t){var n=t.isFocused,r=t.size,a=t.theme,i=a.colors,o=a.spacing.baseUnit;return{label:"loadingIndicator",color:n?i.neutral60:i.neutral20,display:"flex",padding:o*2,transition:"color 150ms",alignSelf:"center",fontSize:r,lineHeight:1,marginRight:r,textAlign:"center",verticalAlign:"middle"}},Rr=function(t){var n=t.delay,r=t.offset;return Y("span",{css:Ra({animation:"".concat(Hd," 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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXFQSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lLFxuICBDU1NPYmplY3RXaXRoTGFiZWwsXG4gIEdyb3VwQmFzZSxcbn0gZnJvbSAnLi4vdHlwZXMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxuICAgIGZvY3VzYWJsZT1cImZhbHNlXCJcbiAgICBjc3M9e3tcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgZmlsbDogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBsaW5lSGVpZ2h0OiAxLFxuICAgICAgc3Ryb2tlOiAnY3VycmVudENvbG9yJyxcbiAgICAgIHN0c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i5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG5Mb2FkaW5nSW5kaWNhdG9yLmRlZmF1bHRQcm9wcyA9IHsgc2l6ZTogNCB9O1xuIl19 */")})},ls=function(t){var n=t.className,r=t.cx,a=t.getStyles,i=t.innerProps,o=t.isRtl;return Y("div",B({css:a("loadingIndicator",t),className:r({indicator:!0,"loading-indicator":!0},n)},i),Y(Rr,{delay:0,offset:o}),Y(Rr,{delay:160,offset:!0}),Y(Rr,{delay:320,offset:!o}))};ls.defaultProps={size:4};var Zd=function(t){var n=t.isDisabled,r=t.isFocused,a=t.theme,i=a.colors,o=a.borderRadius,s=a.spacing;return{label:"control",alignItems:"center",backgroundColor:n?i.neutral5:i.neutral0,borderColor:n?i.neutral10:r?i.primary:i.neutral20,borderRadius:o,borderStyle:"solid",borderWidth:1,boxShadow:r?"0 0 0 1px ".concat(i.primary):void 0,cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:s.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms","&:hover":{borderColor:r?i.primary:i.neutral30}}},Ld=function(t){var n=t.children,r=t.cx,a=t.getStyles,i=t.className,o=t.isDisabled,s=t.isFocused,u=t.innerRef,l=t.innerProps,c=t.menuIsOpen;return Y("div",B({ref:u,css:a("control",t),className:r({control:!0,"control--is-disabled":o,"control--is-focused":s,"control--menu-is-open":c},i)},l),n)},jd=["data"],zd=function(t){var n=t.theme.spacing;return{paddingBottom:n.baseUnit*2,paddingTop:n.baseUnit*2}},Jd=function(t){var n=t.children,r=t.className,a=t.cx,i=t.getStyles,o=t.Heading,s=t.headingProps,u=t.innerProps,l=t.label,c=t.theme,d=t.selectProps;return Y("div",B({css:i("group",t),className:a({group:!0},r)},u),Y(o,B({},s,{selectProps:d,theme:c,getStyles:i,cx:a}),l),Y("div",null,n))},Ud=function(t){var n=t.theme.spacing;return{label:"group",color:"#999",cursor:"default",display:"block",fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:n.baseUnit*3,paddingRight:n.baseUnit*3,textTransform:"uppercase"}},$d=function(t){var n=t.getStyles,r=t.cx,a=t.className,i=qo(t);i.data;var o=sn(i,jd);return Y("div",B({css:n("groupHeading",t),className:r({"group-heading":!0},a)},o))},Qd=["innerRef","isDisabled","isHidden","inputClassName"],qd=function(t){var n=t.isDisabled,r=t.value,a=t.theme,i=a.spacing,o=a.colors;return Ie({margin:i.baseUnit/2,paddingBottom:i.baseUnit/2,paddingTop:i.baseUnit/2,visibility:n?"hidden":"visible",color:o.neutral80,transform:r?"translateZ(0)":""},Kd)},cs={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},Kd={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":Ie({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},cs)},ef=function(t){return Ie({label:"input",color:"inherit",background:0,opacity:t?0:1,width:"100%"},cs)},tf=function(t){var n=t.className,r=t.cx,a=t.getStyles,i=t.value,o=qo(t),s=o.innerRef,u=o.isDisabled,l=o.isHidden,c=o.inputClassName,d=sn(o,Qd);return Y("div",{className:r({"input-container":!0},n),css:a("input",t),"data-value":i||""},Y("input",B({className:r({input:!0},c),ref:s,style:ef(l),disabled:u},d)))},nf=function(t){var n=t.theme,r=n.spacing,a=n.borderRadius,i=n.colors;return{label:"multiValue",backgroundColor:i.neutral10,borderRadius:a/2,display:"flex",margin:r.baseUnit/2,minWidth:0}},rf=function(t){var n=t.theme,r=n.borderRadius,a=n.colors,i=t.cropWithEllipsis;return{borderRadius:r/2,color:a.neutral80,fontSize:"85%",overflow:"hidden",padding:3,paddingLeft:6,textOverflow:i||i===void 0?"ellipsis":void 0,whiteSpace:"nowrap"}},af=function(t){var n=t.theme,r=n.spacing,a=n.borderRadius,i=n.colors,o=t.isFocused;return{alignItems:"center",borderRadius:a/2,backgroundColor:o?i.dangerLight:void 0,display:"flex",paddingLeft:r.baseUnit,paddingRight:r.baseUnit,":hover":{backgroundColor:i.dangerLight,color:i.danger}}},ds=function(t){var n=t.children,r=t.innerProps;return Y("div",r,n)},of=ds,sf=ds;function uf(e){var t=e.children,n=e.innerProps;return Y("div",B({role:"button"},n),t||Y(La,{size:14}))}var lf=function(t){var n=t.children,r=t.className,a=t.components,i=t.cx,o=t.data,s=t.getStyles,u=t.innerProps,l=t.isDisabled,c=t.removeProps,d=t.selectProps,m=a.Container,h=a.Label,g=a.Remove;return Y(Qo,null,function(v){var b=v.css,I=v.cx;return Y(m,{data:o,innerProps:Ie({className:I(b(s("multiValue",t)),i({"multi-value":!0,"multi-value--is-disabled":l},r))},u),selectProps:d},Y(h,{data:o,innerProps:{className:I(b(s("multiValueLabel",t)),i({"multi-value__label":!0},r))},selectProps:d},n),Y(g,{data:o,innerProps:Ie({className:I(b(s("multiValueRemove",t)),i({"multi-value__remove":!0},r)),"aria-label":"Remove ".concat(n||"option")},c),selectProps:d}))})},cf=function(t){var n=t.isDisabled,r=t.isFocused,a=t.isSelected,i=t.theme,o=i.spacing,s=i.colors;return{label:"option",backgroundColor:a?s.primary:r?s.primary25:"transparent",color:n?s.neutral20:a?s.neutral0:"inherit",cursor:"default",display:"block",fontSize:"inherit",padding:"".concat(o.baseUnit*2,"px ").concat(o.baseUnit*3,"px"),width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",":active":{backgroundColor:n?void 0:a?s.primary:s.primary50}}},df=function(t){var n=t.children,r=t.className,a=t.cx,i=t.getStyles,o=t.isDisabled,s=t.isFocused,u=t.isSelected,l=t.innerRef,c=t.innerProps;return Y("div",B({css:i("option",t),className:a({option:!0,"option--is-disabled":o,"option--is-focused":s,"option--is-selected":u},r),ref:l,"aria-disabled":o},c),n)},ff=function(t){var n=t.theme,r=n.spacing,a=n.colors;return{label:"placeholder",color:a.neutral50,gridArea:"1 / 1 / 2 / 3",marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2}},hf=function(t){var n=t.children,r=t.className,a=t.cx,i=t.getStyles,o=t.innerProps;return Y("div",B({css:i("placeholder",t),className:a({placeholder:!0},r)},o),n)},mf=function(t){var n=t.isDisabled,r=t.theme,a=r.spacing,i=r.colors;return{label:"singleValue",color:n?i.neutral40:i.neutral80,gridArea:"1 / 1 / 2 / 3",marginLeft:a.baseUnit/2,marginRight:a.baseUnit/2,maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},gf=function(t){var n=t.children,r=t.className,a=t.cx,i=t.getStyles,o=t.isDisabled,s=t.innerProps;return Y("div",B({css:i("singleValue",t),className:a({"single-value":!0,"single-value--is-disabled":o},r)},s),n)},fa={ClearIndicator:Rd,Control:Ld,DropdownIndicator:Pd,DownChevron:ss,CrossIcon:La,Group:Jd,GroupHeading:$d,IndicatorsContainer:Td,IndicatorSeparator:Vd,Input:tf,LoadingIndicator:ls,Menu:Id,MenuList:Cd,MenuPortal:kd,LoadingMessage:is,NoOptionsMessage:as,MultiValue:lf,MultiValueContainer:of,MultiValueLabel:sf,MultiValueRemove:uf,Option:df,Placeholder:hf,SelectContainer:Ed,SingleValue:gf,ValueContainer:Ad},pf=function(t){return Ie(Ie({},fa),t.components)};function bf(e){if(Array.isArray(e))return e}function vf(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],a=!0,i=!1,o,s;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(r.push(o.value),!(t&&r.length===t));a=!0);}catch(u){i=!0,s=u}finally{try{!a&&n.return!=null&&n.return()}finally{if(i)throw s}}return r}}function ha(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function fs(e,t){if(e){if(typeof e=="string")return ha(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ha(e,t)}}function yf(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
138
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Br(e,t){return bf(e)||vf(e,t)||fs(e,t)||yf()}var If=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function xf(e){var t=e.defaultInputValue,n=t===void 0?"":t,r=e.defaultMenuIsOpen,a=r===void 0?!1:r,i=e.defaultValue,o=i===void 0?null:i,s=e.inputValue,u=e.menuIsOpen,l=e.onChange,c=e.onInputChange,d=e.onMenuClose,m=e.onMenuOpen,h=e.value,g=sn(e,If),v=f.useState(s!==void 0?s:n),b=Br(v,2),I=b[0],x=b[1],C=f.useState(u!==void 0?u:a),M=Br(C,2),y=M[0],p=M[1],w=f.useState(h!==void 0?h:o),O=Br(w,2),E=O[0],W=O[1],V=f.useCallback(function(pe,be){typeof l=="function"&&l(pe,be),W(pe)},[l]),j=f.useCallback(function(pe,be){var fe;typeof c=="function"&&(fe=c(pe,be)),x(fe!==void 0?fe:pe)},[c]),J=f.useCallback(function(){typeof m=="function"&&m(),p(!0)},[m]),N=f.useCallback(function(){typeof d=="function"&&d(),p(!1)},[d]),z=s!==void 0?s:I,Ce=u!==void 0?u:y,de=h!==void 0?h:E;return Ie(Ie({},g),{},{inputValue:z,menuIsOpen:Ce,onChange:V,onInputChange:j,onMenuClose:N,onMenuOpen:J,value:de})}function Cf(e){if(Array.isArray(e))return ha(e)}function wf(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Mf(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
139
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function hs(e){return Cf(e)||wf(e)||fs(e)||Mf()}var Ui=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function Sf(e,t){return!!(e===t||Ui(e)&&Ui(t))}function kf(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!Sf(e[n],t[n]))return!1;return!0}function Df(e,t){t===void 0&&(t=kf);var n,r=[],a,i=!1;function o(){for(var s=[],u=0;u<arguments.length;u++)s[u]=arguments[u];return i&&n===this&&t(s,r)||(a=e.apply(this,s),i=!0,n=this,r=s),a}return o}function Ef(){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 Of=process.env.NODE_ENV==="production"?{name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"}:{name:"1f43avz-a11yText-A11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;label:A11yText;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFNSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */",toString:Ef},$i=function(t){return Y("span",B({css:Of},t))},Af={guidance:function(t){var n=t.isSearchable,r=t.isMulti,a=t.isDisabled,i=t.tabSelectsValue,o=t.context;switch(o){case"menu":return"Use Up and Down to choose options".concat(a?"":", press Enter to select the currently focused option",", press Escape to exit the menu").concat(i?", press Tab to select the option and exit the menu":"",".");case"input":return"".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,a=r===void 0?"":r,i=t.labels,o=t.isDisabled;switch(n){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(a,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(i.length>1?"s":""," ").concat(i.join(","),", selected.");case"select-option":return o?"option ".concat(a," is disabled. Select another option."):"option ".concat(a,", selected.");default:return""}},onFocus:function(t){var n=t.context,r=t.focused,a=t.options,i=t.label,o=i===void 0?"":i,s=t.selectValue,u=t.isDisabled,l=t.isSelected,c=function(g,v){return g&&g.length?"".concat(g.indexOf(v)+1," of ").concat(g.length):""};if(n==="value"&&s)return"value ".concat(o," focused, ").concat(c(s,r),".");if(n==="menu"){var d=u?" disabled":"",m="".concat(l?"selected":"focused").concat(d);return"option ".concat(o," ").concat(m,", ").concat(c(a,r),".")}return""},onFilter:function(t){var n=t.inputValue,r=t.resultsMessage;return"".concat(r).concat(n?" for search term "+n:"",".")}},Nf=function(t){var n=t.ariaSelection,r=t.focusedOption,a=t.focusedValue,i=t.focusableOptions,o=t.isFocused,s=t.selectValue,u=t.selectProps,l=t.id,c=u.ariaLiveMessages,d=u.getOptionLabel,m=u.inputValue,h=u.isMulti,g=u.isOptionDisabled,v=u.isSearchable,b=u.menuIsOpen,I=u.options,x=u.screenReaderStatus,C=u.tabSelectsValue,M=u["aria-label"],y=u["aria-live"],p=f.useMemo(function(){return Ie(Ie({},Af),c||{})},[c]),w=f.useMemo(function(){var N="";if(n&&p.onChange){var z=n.option,Ce=n.options,de=n.removedValue,pe=n.removedValues,be=n.value,fe=function(Ee){return Array.isArray(Ee)?null:Ee},we=de||z||fe(be),he=we?d(we):"",ve=Ce||pe||void 0,Ne=ve?ve.map(d):[],ue=Ie({isDisabled:we&&g(we,s),label:he,labels:Ne},n);N=p.onChange(ue)}return N},[n,p,g,s,d]),O=f.useMemo(function(){var N="",z=r||a,Ce=!!(r&&s&&s.includes(r));if(z&&p.onFocus){var de={focused:z,label:d(z),isDisabled:g(z,s),isSelected:Ce,options:I,context:z===r?"menu":"value",selectValue:s};N=p.onFocus(de)}return N},[r,a,d,g,p,I,s]),E=f.useMemo(function(){var N="";if(b&&I.length&&p.onFilter){var z=x({count:i.length});N=p.onFilter({inputValue:m,resultsMessage:z})}return N},[i,m,b,p,I,x]),W=f.useMemo(function(){var N="";if(p.guidance){var z=a?"value":b?"menu":"input";N=p.guidance({"aria-label":M,context:z,isDisabled:r&&g(r,s),isMulti:h,isSearchable:v,tabSelectsValue:C})}return N},[M,r,a,h,g,v,b,p,s,C]),V="".concat(O," ").concat(E," ").concat(W),j=Y(f.Fragment,null,Y("span",{id:"aria-selection"},w),Y("span",{id:"aria-context"},V)),J=(n==null?void 0:n.action)==="initial-input-focus";return Y(f.Fragment,null,Y($i,{id:l},J&&j),Y($i,{"aria-live":y,"aria-atomic":"false","aria-relevant":"additions text"},o&&!J&&j))},ma=[{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źẑżžẓẕƶȥɀⱬꝣ"}],Tf=new RegExp("["+ma.map(function(e){return e.letters}).join("")+"]","g"),ms={};for(var Vr=0;Vr<ma.length;Vr++)for(var Hr=ma[Vr],Xr=0;Xr<Hr.letters.length;Xr++)ms[Hr.letters[Xr]]=Hr.base;var gs=function(t){return t.replace(Tf,function(n){return ms[n]})},_f=Df(gs),Qi=function(t){return t.replace(/^\s+|\s+$/g,"")},Wf=function(t){return"".concat(t.label," ").concat(t.value)},Ff=function(t){return function(n,r){if(n.data.__isNew__)return!0;var a=Ie({ignoreCase:!0,ignoreAccents:!0,stringify:Wf,trim:!0,matchFrom:"any"},t),i=a.ignoreCase,o=a.ignoreAccents,s=a.stringify,u=a.trim,l=a.matchFrom,c=u?Qi(r):r,d=u?Qi(s(n)):s(n);return i&&(c=c.toLowerCase(),d=d.toLowerCase()),o&&(c=_f(c),d=gs(d)),l==="start"?d.substr(0,c.length)===c:d.indexOf(c)>-1}},Gf=["innerRef"];function Pf(e){var t=e.innerRef,n=sn(e,Gf);return Y("input",B({ref:t},n,{css:Ra({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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWNNIiwiZmlsZSI6IkR1bW15SW5wdXQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyBSZWYgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uIER1bW15SW5wdXQoe1xuICBpbm5lclJlZixcbi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GUoLjAxKScsXG4gICAgICB9fVxuICAgIC8+XG4gICk7XG59XG4iXX0= */")}))}var Yf=function(t){t.preventDefault(),t.stopPropagation()};function Rf(e){var t=e.isEnabled,n=e.onBottomArrive,r=e.onBottomLeave,a=e.onTopArrive,i=e.onTopLeave,o=f.useRef(!1),s=f.useRef(!1),u=f.useRef(0),l=f.useRef(null),c=f.useCallback(function(b,I){if(l.current!==null){var x=l.current,C=x.scrollTop,M=x.scrollHeight,y=x.clientHeight,p=l.current,w=I>0,O=M-y-C,E=!1;O>I&&o.current&&(r&&r(b),o.current=!1),w&&s.current&&(i&&i(b),s.current=!1),w&&I>O?(n&&!o.current&&n(b),p.scrollTop=M,E=!0,o.current=!0):!w&&-I>C&&(a&&!s.current&&a(b),p.scrollTop=0,E=!0,s.current=!0),E&&Yf(b)}},[n,r,a,i]),d=f.useCallback(function(b){c(b,b.deltaY)},[c]),m=f.useCallback(function(b){u.current=b.changedTouches[0].clientY},[]),h=f.useCallback(function(b){var I=u.current-b.changedTouches[0].clientY;c(b,I)},[c]),g=f.useCallback(function(b){if(b){var I=md?{passive:!1}:!1;b.addEventListener("wheel",d,I),b.addEventListener("touchstart",m,I),b.addEventListener("touchmove",h,I)}},[h,m,d]),v=f.useCallback(function(b){b&&(b.removeEventListener("wheel",d,!1),b.removeEventListener("touchstart",m,!1),b.removeEventListener("touchmove",h,!1))},[h,m,d]);return f.useEffect(function(){if(t){var b=l.current;return g(b),function(){v(b)}}},[t,g,v]),function(b){l.current=b}}var qi=["boxSizing","height","overflow","paddingRight","position"],Ki={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function eo(e){e.preventDefault()}function to(e){e.stopPropagation()}function no(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;e===0?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function ro(){return"ontouchstart"in window||navigator.maxTouchPoints}var ao=!!(typeof window<"u"&&window.document&&window.document.createElement),fn=0,Lt={capture:!1,passive:!1};function Bf(e){var t=e.isEnabled,n=e.accountForScrollbars,r=n===void 0?!0:n,a=f.useRef({}),i=f.useRef(null),o=f.useCallback(function(u){if(ao){var l=document.body,c=l&&l.style;if(r&&qi.forEach(function(g){var v=c&&c[g];a.current[g]=v}),r&&fn<1){var d=parseInt(a.current.paddingRight,10)||0,m=document.body?document.body.clientWidth:0,h=window.innerWidth-m+d||0;Object.keys(Ki).forEach(function(g){var v=Ki[g];c&&(c[g]=v)}),c&&(c.paddingRight="".concat(h,"px"))}l&&ro()&&(l.addEventListener("touchmove",eo,Lt),u&&(u.addEventListener("touchstart",no,Lt),u.addEventListener("touchmove",to,Lt))),fn+=1}},[r]),s=f.useCallback(function(u){if(ao){var l=document.body,c=l&&l.style;fn=Math.max(fn-1,0),r&&fn<1&&qi.forEach(function(d){var m=a.current[d];c&&(c[d]=m)}),l&&ro()&&(l.removeEventListener("touchmove",eo,Lt),u&&(u.removeEventListener("touchstart",no,Lt),u.removeEventListener("touchmove",to,Lt)))}},[r]);return f.useEffect(function(){if(t){var u=i.current;return o(u),function(){s(u)}}},[t,o,s]),function(u){i.current=u}}function Vf(){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 Hf=function(){return document.activeElement&&document.activeElement.blur()},Xf=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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQStDVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZ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void 0?!0:r,i=e.onBottomArrive,o=e.onBottomLeave,s=e.onTopArrive,u=e.onTopLeave,l=Rf({isEnabled:a,onBottomArrive:i,onBottomLeave:o,onTopArrive:s,onTopLeave:u}),c=Bf({isEnabled:n}),d=function(h){l(h),c(h)};return Y(f.Fragment,null,n&&Y("div",{onClick:Hf,css:Xf}),t(d))}var Lf=function(t){return t.label},jf=function(t){return t.label},zf=function(t){return t.value},Jf=function(t){return!!t.isDisabled},Uf={clearIndicator:Yd,container:Dd,control:Zd,dropdownIndicator:Gd,group:zd,groupHeading:Ud,indicatorsContainer:Nd,indicatorSeparator:Bd,input:qd,loadingIndicator:Xd,loadingMessage:Md,menu:yd,menuList:xd,menuPortal:Sd,multiValue:nf,multiValueLabel:rf,multiValueRemove:af,noOptionsMessage:wd,option:cf,placeholder:ff,singleValue:mf,valueContainer:Od},$f={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%)"},Qf=4,ps=4,qf=38,Kf=ps*2,eh={baseUnit:ps,controlHeight:qf,menuGutter:Kf},Zr={borderRadius:Qf,colors:$f,spacing:eh},th={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:zi(),captureMenuScroll:!zi(),closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:Ff(),formatGroupLabel:Lf,getOptionLabel:jf,getOptionValue:zf,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:Jf,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!fd(),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};function io(e,t,n,r){var a=Is(e,t,n),i=xs(e,t,n),o=ys(e,t),s=sr(e,t);return{type:"option",data:t,isDisabled:a,isSelected:i,label:o,value:s,index:r}}function bs(e,t){return e.options.map(function(n,r){if("options"in n){var a=n.options.map(function(o,s){return io(e,o,t,s)}).filter(function(o){return oo(e,o)});return a.length>0?{type:"group",data:n,options:a,index:r}:void 0}var i=io(e,n,t,r);return oo(e,i)?i:void 0}).filter(gd)}function vs(e){return e.reduce(function(t,n){return n.type==="group"?t.push.apply(t,hs(n.options.map(function(r){return r.data}))):t.push(n.data),t},[])}function nh(e,t){return vs(bs(e,t))}function oo(e,t){var n=e.inputValue,r=n===void 0?"":n,a=t.data,i=t.isSelected,o=t.label,s=t.value;return(!ws(e)||!i)&&Cs(e,{label:o,value:s,data:a},r)}function rh(e,t){var n=e.focusedValue,r=e.selectValue,a=r.indexOf(n);if(a>-1){var i=t.indexOf(n);if(i>-1)return n;if(a<t.length)return t[a]}return null}function ah(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}var ys=function(t,n){return t.getOptionLabel(n)},sr=function(t,n){return t.getOptionValue(n)};function Is(e,t,n){return typeof e.isOptionDisabled=="function"?e.isOptionDisabled(t,n):!1}function xs(e,t,n){if(n.indexOf(t)>-1)return!0;if(typeof e.isOptionSelected=="function")return e.isOptionSelected(t,n);var r=sr(e,t);return n.some(function(a){return sr(e,a)===r})}function Cs(e,t,n){return e.filterOption?e.filterOption(t,n):!0}var ws=function(t){var n=t.hideSelectedOptions,r=t.isMulti;return n===void 0?r:n},ih=1,Ms=function(e){Ha(n,e);var t=Xa(n);function n(r){var a;return Ba(this,n),a=t.call(this,r),a.state={ariaSelection:null,focusedOption:null,focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0},a.blockOptionHover=!1,a.isComposing=!1,a.commonProps=void 0,a.initialTouchX=0,a.initialTouchY=0,a.instancePrefix="",a.openAfterFocus=!1,a.scrollToFocusedOptionOnUpdate=!1,a.userIsDragging=void 0,a.controlRef=null,a.getControlRef=function(i){a.controlRef=i},a.focusedOptionRef=null,a.getFocusedOptionRef=function(i){a.focusedOptionRef=i},a.menuListRef=null,a.getMenuListRef=function(i){a.menuListRef=i},a.inputRef=null,a.getInputRef=function(i){a.inputRef=i},a.focus=a.focusInput,a.blur=a.blurInput,a.onChange=function(i,o){var s=a.props,u=s.onChange,l=s.name;o.name=l,a.ariaOnChange(i,o),u(i,o)},a.setValue=function(i,o,s){var u=a.props,l=u.closeMenuOnSelect,c=u.isMulti,d=u.inputValue;a.onInputChange("",{action:"set-value",prevInputValue:d}),l&&(a.setState({inputIsHiddenAfterUpdate:!c}),a.onMenuClose()),a.setState({clearFocusValueOnUpdate:!0}),a.onChange(i,{action:o,option:s})},a.selectOption=function(i){var o=a.props,s=o.blurInputOnSelect,u=o.isMulti,l=o.name,c=a.state.selectValue,d=u&&a.isOptionSelected(i,c),m=a.isOptionDisabled(i,c);if(d){var h=a.getOptionValue(i);a.setValue(c.filter(function(g){return a.getOptionValue(g)!==h}),"deselect-option",i)}else if(!m)u?a.setValue([].concat(hs(c),[i]),"select-option",i):a.setValue(i,"select-option");else{a.ariaOnChange(i,{action:"select-option",option:i,name:l});return}s&&a.blurInput()},a.removeValue=function(i){var o=a.props.isMulti,s=a.state.selectValue,u=a.getOptionValue(i),l=s.filter(function(d){return a.getOptionValue(d)!==u}),c=Ln(o,l,l[0]||null);a.onChange(c,{action:"remove-value",removedValue:i}),a.focusInput()},a.clearValue=function(){var i=a.state.selectValue;a.onChange(Ln(a.props.isMulti,[],null),{action:"clear",removedValues:i})},a.popValue=function(){var i=a.props.isMulti,o=a.state.selectValue,s=o[o.length-1],u=o.slice(0,o.length-1),l=Ln(i,u,u[0]||null);a.onChange(l,{action:"pop-value",removedValue:s})},a.getValue=function(){return a.state.selectValue},a.cx=function(){for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];return sd.apply(void 0,[a.props.classNamePrefix].concat(o))},a.getOptionLabel=function(i){return ys(a.props,i)},a.getOptionValue=function(i){return sr(a.props,i)},a.getStyles=function(i,o){var s=Uf[i](o);s.boxSizing="border-box";var u=a.props.styles[i];return u?u(s,o):s},a.getElementId=function(i){return"".concat(a.instancePrefix,"-").concat(i)},a.getComponents=function(){return pf(a.props)},a.buildCategorizedOptions=function(){return bs(a.props,a.state.selectValue)},a.getCategorizedOptions=function(){return a.props.menuIsOpen?a.buildCategorizedOptions():[]},a.buildFocusableOptions=function(){return vs(a.buildCategorizedOptions())},a.getFocusableOptions=function(){return a.props.menuIsOpen?a.buildFocusableOptions():[]},a.ariaOnChange=function(i,o){a.setState({ariaSelection:Ie({value:i},o)})},a.onMenuMouseDown=function(i){i.button===0&&(i.stopPropagation(),i.preventDefault(),a.focusInput())},a.onMenuMouseMove=function(i){a.blockOptionHover=!1},a.onControlMouseDown=function(i){var o=a.props.openMenuOnClick;a.state.isFocused?a.props.menuIsOpen?i.target.tagName!=="INPUT"&&i.target.tagName!=="TEXTAREA"&&a.onMenuClose():o&&a.openMenu("first"):(o&&(a.openAfterFocus=!0),a.focusInput()),i.target.tagName!=="INPUT"&&i.target.tagName!=="TEXTAREA"&&i.preventDefault()},a.onDropdownIndicatorMouseDown=function(i){if(!(i&&i.type==="mousedown"&&i.button!==0)&&!a.props.isDisabled){var o=a.props,s=o.isMulti,u=o.menuIsOpen;a.focusInput(),u?(a.setState({inputIsHiddenAfterUpdate:!s}),a.onMenuClose()):a.openMenu("first"),i.preventDefault(),i.stopPropagation()}},a.onClearIndicatorMouseDown=function(i){i&&i.type==="mousedown"&&i.button!==0||(a.clearValue(),i.preventDefault(),i.stopPropagation(),a.openAfterFocus=!1,i.type==="touchend"?a.focusInput():setTimeout(function(){return a.focusInput()}))},a.onScroll=function(i){typeof a.props.closeMenuOnScroll=="boolean"?i.target instanceof HTMLElement&&Za(i.target)&&a.props.onMenuClose():typeof a.props.closeMenuOnScroll=="function"&&a.props.closeMenuOnScroll(i)&&a.props.onMenuClose()},a.onCompositionStart=function(){a.isComposing=!0},a.onCompositionEnd=function(){a.isComposing=!1},a.onTouchStart=function(i){var o=i.touches,s=o&&o.item(0);s&&(a.initialTouchX=s.clientX,a.initialTouchY=s.clientY,a.userIsDragging=!1)},a.onTouchMove=function(i){var o=i.touches,s=o&&o.item(0);if(s){var u=Math.abs(s.clientX-a.initialTouchX),l=Math.abs(s.clientY-a.initialTouchY),c=5;a.userIsDragging=u>c||l>c}},a.onTouchEnd=function(i){a.userIsDragging||(a.controlRef&&!a.controlRef.contains(i.target)&&a.menuListRef&&!a.menuListRef.contains(i.target)&&a.blurInput(),a.initialTouchX=0,a.initialTouchY=0)},a.onControlTouchEnd=function(i){a.userIsDragging||a.onControlMouseDown(i)},a.onClearIndicatorTouchEnd=function(i){a.userIsDragging||a.onClearIndicatorMouseDown(i)},a.onDropdownIndicatorTouchEnd=function(i){a.userIsDragging||a.onDropdownIndicatorMouseDown(i)},a.handleInputChange=function(i){var o=a.props.inputValue,s=i.currentTarget.value;a.setState({inputIsHiddenAfterUpdate:!1}),a.onInputChange(s,{action:"input-change",prevInputValue:o}),a.props.menuIsOpen||a.onMenuOpen()},a.onInputFocus=function(i){a.props.onFocus&&a.props.onFocus(i),a.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(a.openAfterFocus||a.props.openMenuOnFocus)&&a.openMenu("first"),a.openAfterFocus=!1},a.onInputBlur=function(i){var o=a.props.inputValue;if(a.menuListRef&&a.menuListRef.contains(document.activeElement)){a.inputRef.focus();return}a.props.onBlur&&a.props.onBlur(i),a.onInputChange("",{action:"input-blur",prevInputValue:o}),a.onMenuClose(),a.setState({focusedValue:null,isFocused:!1})},a.onOptionHover=function(i){a.blockOptionHover||a.state.focusedOption===i||a.setState({focusedOption:i})},a.shouldHideSelectedOptions=function(){return ws(a.props)},a.onKeyDown=function(i){var o=a.props,s=o.isMulti,u=o.backspaceRemovesValue,l=o.escapeClearsValue,c=o.inputValue,d=o.isClearable,m=o.isDisabled,h=o.menuIsOpen,g=o.onKeyDown,v=o.tabSelectsValue,b=o.openMenuOnFocus,I=a.state,x=I.focusedOption,C=I.focusedValue,M=I.selectValue;if(!m&&!(typeof g=="function"&&(g(i),i.defaultPrevented))){switch(a.blockOptionHover=!0,i.key){case"ArrowLeft":if(!s||c)return;a.focusValue("previous");break;case"ArrowRight":if(!s||c)return;a.focusValue("next");break;case"Delete":case"Backspace":if(c)return;if(C)a.removeValue(C);else{if(!u)return;s?a.popValue():d&&a.clearValue()}break;case"Tab":if(a.isComposing||i.shiftKey||!h||!v||!x||b&&a.isOptionSelected(x,M))return;a.selectOption(x);break;case"Enter":if(i.keyCode===229)break;if(h){if(!x||a.isComposing)return;a.selectOption(x);break}return;case"Escape":h?(a.setState({inputIsHiddenAfterUpdate:!1}),a.onInputChange("",{action:"menu-close",prevInputValue:c}),a.onMenuClose()):d&&l&&a.clearValue();break;case" ":if(c)return;if(!h){a.openMenu("first");break}if(!x)return;a.selectOption(x);break;case"ArrowUp":h?a.focusOption("up"):a.openMenu("last");break;case"ArrowDown":h?a.focusOption("down"):a.openMenu("first");break;case"PageUp":if(!h)return;a.focusOption("pageup");break;case"PageDown":if(!h)return;a.focusOption("pagedown");break;case"Home":if(!h)return;a.focusOption("first");break;case"End":if(!h)return;a.focusOption("last");break;default:return}i.preventDefault()}},a.instancePrefix="react-select-"+(a.props.instanceId||++ih),a.state.selectValue=ji(r.value),a}return Va(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()}},{key:"componentDidUpdate",value:function(a){var i=this.props,o=i.isDisabled,s=i.menuIsOpen,u=this.state.isFocused;(u&&!o&&a.isDisabled||u&&s&&!a.menuIsOpen)&&this.focusInput(),u&&o&&!a.isDisabled&&this.setState({isFocused:!1},this.onMenuClose),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(cd(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(a,i){this.props.onInputChange(a,i)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(a){var i=this,o=this.state,s=o.selectValue,u=o.isFocused,l=this.buildFocusableOptions(),c=a==="first"?0:l.length-1;if(!this.props.isMulti){var d=l.indexOf(s[0]);d>-1&&(c=d)}this.scrollToFocusedOptionOnUpdate=!(u&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:l[c]},function(){return i.onMenuOpen()})}},{key:"focusValue",value:function(a){var i=this.state,o=i.selectValue,s=i.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var u=o.indexOf(s);s||(u=-1);var l=o.length-1,c=-1;if(o.length){switch(a){case"previous":u===0?c=0:u===-1?c=l:c=u-1;break;case"next":u>-1&&u<l&&(c=u+1);break}this.setState({inputIsHidden:c!==-1,focusedValue:o[c]})}}}},{key:"focusOption",value:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"first",i=this.props.pageSize,o=this.state.focusedOption,s=this.getFocusableOptions();if(s.length){var u=0,l=s.indexOf(o);o||(l=-1),a==="up"?u=l>0?l-1:s.length-1:a==="down"?u=(l+1)%s.length:a==="pageup"?(u=l-i,u<0&&(u=0)):a==="pagedown"?(u=l+i,u>s.length-1&&(u=s.length-1)):a==="last"&&(u=s.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:s[u],focusedValue:null})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(Zr):Ie(Ie({},Zr),this.props.theme):Zr}},{key:"getCommonProps",value:function(){var a=this.clearValue,i=this.cx,o=this.getStyles,s=this.getValue,u=this.selectOption,l=this.setValue,c=this.props,d=c.isMulti,m=c.isRtl,h=c.options,g=this.hasValue();return{clearValue:a,cx:i,getStyles:o,getValue:s,hasValue:g,isMulti:d,isRtl:m,options:h,selectOption:u,selectProps:c,setValue:l,theme:this.getTheme()}}},{key:"hasValue",value:function(){var a=this.state.selectValue;return a.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var a=this.props,i=a.isClearable,o=a.isMulti;return i===void 0?o:i}},{key:"isOptionDisabled",value:function(a,i){return Is(this.props,a,i)}},{key:"isOptionSelected",value:function(a,i){return xs(this.props,a,i)}},{key:"filterOption",value:function(a,i){return Cs(this.props,a,i)}},{key:"formatOptionLabel",value:function(a,i){if(typeof this.props.formatOptionLabel=="function"){var o=this.props.inputValue,s=this.state.selectValue;return this.props.formatOptionLabel(a,{context:i,inputValue:o,selectValue:s})}else return this.getOptionLabel(a)}},{key:"formatGroupLabel",value:function(a){return this.props.formatGroupLabel(a)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var a=this.props,i=a.isDisabled,o=a.isSearchable,s=a.inputId,u=a.inputValue,l=a.tabIndex,c=a.form,d=a.menuIsOpen,m=this.getComponents(),h=m.Input,g=this.state,v=g.inputIsHidden,b=g.ariaSelection,I=this.commonProps,x=s||this.getElementId("input"),C=Ie(Ie({"aria-autocomplete":"list","aria-expanded":d,"aria-haspopup":!0,"aria-controls":this.getElementId("listbox"),"aria-owns":this.getElementId("listbox"),"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],role:"combobox"},!o&&{"aria-readonly":!0}),this.hasValue()?(b==null?void 0:b.action)==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return o?H.createElement(h,B({},I,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:x,innerRef:this.getInputRef,isDisabled:i,isHidden:v,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:l,form:c,type:"text",value:u},C)):H.createElement(Pf,B({id:x,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:ir,onFocus:this.onInputFocus,disabled:i,tabIndex:l,inputMode:"none",form:c,value:""},C))}},{key:"renderPlaceholderOrValue",value:function(){var a=this,i=this.getComponents(),o=i.MultiValue,s=i.MultiValueContainer,u=i.MultiValueLabel,l=i.MultiValueRemove,c=i.SingleValue,d=i.Placeholder,m=this.commonProps,h=this.props,g=h.controlShouldRenderValue,v=h.isDisabled,b=h.isMulti,I=h.inputValue,x=h.placeholder,C=this.state,M=C.selectValue,y=C.focusedValue,p=C.isFocused;if(!this.hasValue()||!g)return I?null:H.createElement(d,B({},m,{key:"placeholder",isDisabled:v,isFocused:p,innerProps:{id:this.getElementId("placeholder")}}),x);if(b)return M.map(function(O,E){var W=O===y,V="".concat(a.getOptionLabel(O),"-").concat(a.getOptionValue(O));return H.createElement(o,B({},m,{components:{Container:s,Label:u,Remove:l},isFocused:W,isDisabled:v,key:V,index:E,removeProps:{onClick:function(){return a.removeValue(O)},onTouchEnd:function(){return a.removeValue(O)},onMouseDown:function(J){J.preventDefault(),J.stopPropagation()}},data:O}),a.formatOptionLabel(O,"value"))});if(I)return null;var w=M[0];return H.createElement(c,B({},m,{data:w,isDisabled:v}),this.formatOptionLabel(w,"value"))}},{key:"renderClearIndicator",value:function(){var a=this.getComponents(),i=a.ClearIndicator,o=this.commonProps,s=this.props,u=s.isDisabled,l=s.isLoading,c=this.state.isFocused;if(!this.isClearable()||!i||u||!this.hasValue()||l)return null;var d={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return H.createElement(i,B({},o,{innerProps:d,isFocused:c}))}},{key:"renderLoadingIndicator",value:function(){var a=this.getComponents(),i=a.LoadingIndicator,o=this.commonProps,s=this.props,u=s.isDisabled,l=s.isLoading,c=this.state.isFocused;if(!i||!l)return null;var d={"aria-hidden":"true"};return H.createElement(i,B({},o,{innerProps:d,isDisabled:u,isFocused:c}))}},{key:"renderIndicatorSeparator",value:function(){var a=this.getComponents(),i=a.DropdownIndicator,o=a.IndicatorSeparator;if(!i||!o)return null;var s=this.commonProps,u=this.props.isDisabled,l=this.state.isFocused;return H.createElement(o,B({},s,{isDisabled:u,isFocused:l}))}},{key:"renderDropdownIndicator",value:function(){var a=this.getComponents(),i=a.DropdownIndicator;if(!i)return null;var o=this.commonProps,s=this.props.isDisabled,u=this.state.isFocused,l={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return H.createElement(i,B({},o,{innerProps:l,isDisabled:s,isFocused:u}))}},{key:"renderMenu",value:function(){var a=this,i=this.getComponents(),o=i.Group,s=i.GroupHeading,u=i.Menu,l=i.MenuList,c=i.MenuPortal,d=i.LoadingMessage,m=i.NoOptionsMessage,h=i.Option,g=this.commonProps,v=this.state.focusedOption,b=this.props,I=b.captureMenuScroll,x=b.inputValue,C=b.isLoading,M=b.loadingMessage,y=b.minMenuHeight,p=b.maxMenuHeight,w=b.menuIsOpen,O=b.menuPlacement,E=b.menuPosition,W=b.menuPortalTarget,V=b.menuShouldBlockScroll,j=b.menuShouldScrollIntoView,J=b.noOptionsMessage,N=b.onMenuScrollToTop,z=b.onMenuScrollToBottom;if(!w)return null;var Ce=function(ve,Ne){var ue=ve.type,Te=ve.data,Ee=ve.isDisabled,Ke=ve.isSelected,Ue=ve.label,st=ve.value,yt=v===Te,_=Ee?void 0:function(){return a.onOptionHover(Te)},ut=Ee?void 0:function(){return a.selectOption(Te)},G="".concat(a.getElementId("option"),"-").concat(Ne),Se={id:G,onClick:ut,onMouseMove:_,onMouseOver:_,tabIndex:-1};return H.createElement(h,B({},g,{innerProps:Se,data:Te,isDisabled:Ee,isSelected:Ke,key:G,label:Ue,type:ue,value:st,isFocused:yt,innerRef:yt?a.getFocusedOptionRef:void 0}),a.formatOptionLabel(ve.data,"menu"))},de;if(this.hasOptions())de=this.getCategorizedOptions().map(function(he){if(he.type==="group"){var ve=he.data,Ne=he.options,ue=he.index,Te="".concat(a.getElementId("group"),"-").concat(ue),Ee="".concat(Te,"-heading");return H.createElement(o,B({},g,{key:Te,data:ve,options:Ne,Heading:s,headingProps:{id:Ee,data:he.data},label:a.formatGroupLabel(he.data)}),he.options.map(function(Ke){return Ce(Ke,"".concat(ue,"-").concat(Ke.index))}))}else if(he.type==="option")return Ce(he,"".concat(he.index))});else if(C){var pe=M({inputValue:x});if(pe===null)return null;de=H.createElement(d,g,pe)}else{var be=J({inputValue:x});if(be===null)return null;de=H.createElement(m,g,be)}var fe={minMenuHeight:y,maxMenuHeight:p,menuPlacement:O,menuPosition:E,menuShouldScrollIntoView:j},we=H.createElement(ns,B({},g,fe),function(he){var ve=he.ref,Ne=he.placerProps,ue=Ne.placement,Te=Ne.maxHeight;return H.createElement(u,B({},g,fe,{innerRef:ve,innerProps:{onMouseDown:a.onMenuMouseDown,onMouseMove:a.onMenuMouseMove,id:a.getElementId("listbox")},isLoading:C,placement:ue}),H.createElement(Zf,{captureEnabled:I,onTopArrive:N,onBottomArrive:z,lockEnabled:V},function(Ee){return H.createElement(l,B({},g,{innerRef:function(Ue){a.getMenuListRef(Ue),Ee(Ue)},isLoading:C,maxHeight:Te,focusedOption:v}),de)}))});return W||E==="fixed"?H.createElement(c,B({},g,{appendTo:W,controlElement:this.controlRef,menuPlacement:O,menuPosition:E}),we):we}},{key:"renderFormField",value:function(){var a=this,i=this.props,o=i.delimiter,s=i.isDisabled,u=i.isMulti,l=i.name,c=this.state.selectValue;if(!(!l||s))if(u)if(o){var d=c.map(function(g){return a.getOptionValue(g)}).join(o);return H.createElement("input",{name:l,type:"hidden",value:d})}else{var m=c.length>0?c.map(function(g,v){return H.createElement("input",{key:"i-".concat(v),name:l,type:"hidden",value:a.getOptionValue(g)})}):H.createElement("input",{name:l,type:"hidden"});return H.createElement("div",null,m)}else{var h=c[0]?this.getOptionValue(c[0]):"";return H.createElement("input",{name:l,type:"hidden",value:h})}}},{key:"renderLiveRegion",value:function(){var a=this.commonProps,i=this.state,o=i.ariaSelection,s=i.focusedOption,u=i.focusedValue,l=i.isFocused,c=i.selectValue,d=this.getFocusableOptions();return H.createElement(Nf,B({},a,{id:this.getElementId("live-region"),ariaSelection:o,focusedOption:s,focusedValue:u,isFocused:l,selectValue:c,focusableOptions:d}))}},{key:"render",value:function(){var a=this.getComponents(),i=a.Control,o=a.IndicatorsContainer,s=a.SelectContainer,u=a.ValueContainer,l=this.props,c=l.className,d=l.id,m=l.isDisabled,h=l.menuIsOpen,g=this.state.isFocused,v=this.commonProps=this.getCommonProps();return H.createElement(s,B({},v,{className:c,innerProps:{id:d,onKeyDown:this.onKeyDown},isDisabled:m,isFocused:g}),this.renderLiveRegion(),H.createElement(i,B({},v,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:m,isFocused:g,menuIsOpen:h}),H.createElement(u,B({},v,{isDisabled:m}),this.renderPlaceholderOrValue(),this.renderInput()),H.createElement(o,B({},v,{isDisabled:m}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(a,i){var o=i.prevProps,s=i.clearFocusValueOnUpdate,u=i.inputIsHiddenAfterUpdate,l=i.ariaSelection,c=i.isFocused,d=i.prevWasFocused,m=a.options,h=a.value,g=a.menuIsOpen,v=a.inputValue,b=a.isMulti,I=ji(h),x={};if(o&&(h!==o.value||m!==o.options||g!==o.menuIsOpen||v!==o.inputValue)){var C=g?nh(a,I):[],M=s?rh(i,I):null,y=ah(i,C);x={selectValue:I,focusedOption:y,focusedValue:M,clearFocusValueOnUpdate:!1}}var p=u!=null&&a!==o?{inputIsHidden:u,inputIsHiddenAfterUpdate:void 0}:{},w=l,O=c&&d;return c&&!O&&(w={value:Ln(b,I,I[0]||null),options:I,action:"initial-input-focus"},O=!d),(l==null?void 0:l.action)==="initial-input-focus"&&(w=null),Ie(Ie(Ie({},x),p),{},{prevProps:a,ariaSelection:w,prevWasFocused:O})}}]),n}(f.Component);Ms.defaultProps=th;var oh=f.forwardRef(function(e,t){var n=xf(e);return H.createElement(Ms,B({ref:t},n))});const sh=oh,uh=e=>fa.DropdownIndicator&&S.jsx(fa.DropdownIndicator,{...e,children:S.jsx(Le.IconArrowDropDown,{width:"24px",height:"24px",fill:"var(--color-primary-text-on-light)"})}),lh=({label:e,...t},n)=>{const r=f.useRef(null);return f.useImperativeHandle(n,()=>({setValue:a=>{var i;return(i=r.current)==null?void 0:i.select.setValue(a)}})),S.jsxs(ch,{isDisabled:t.isDisabled,children:[!!e&&S.jsx(Ds,{children:S.jsx(Q.BodyUI,{bold:!0,color:"var(--color-primary-text-on-light)",children:e})}),S.jsx(ks,{classNamePrefix:"dropdown",components:{DropdownIndicator:uh,...t.components},hideOnMobile:t.hideOnMobile,ref:r,...t})]})},Ss=A.css`
|
|
140
140
|
min-width: 200px;
|
|
141
141
|
width: auto;
|
|
142
142
|
|
|
143
|
-
font-family: ${
|
|
143
|
+
font-family: ${Q.sansFamily};
|
|
144
144
|
letter-spacing: -0.3px;
|
|
145
145
|
font-size: 14px;
|
|
146
146
|
font-weight: normal;
|
|
@@ -206,7 +206,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
206
206
|
}
|
|
207
207
|
|
|
208
208
|
&__placeholder {
|
|
209
|
-
font-family: ${
|
|
209
|
+
font-family: ${Q.sansFamily};
|
|
210
210
|
color: var(--color-primary-text-on-light, #95a0b1);
|
|
211
211
|
letter-spacing: -0.3px;
|
|
212
212
|
font-size: 14px;
|
|
@@ -223,7 +223,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
223
223
|
}
|
|
224
224
|
}
|
|
225
225
|
|
|
226
|
-
@media ${
|
|
226
|
+
@media ${Sa.screen.onlyXs} {
|
|
227
227
|
${({hideOnMobile:e})=>e&&" display: none;"};
|
|
228
228
|
}
|
|
229
229
|
|
|
@@ -234,20 +234,20 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
234
234
|
}
|
|
235
235
|
}
|
|
236
236
|
`}
|
|
237
|
-
`,
|
|
238
|
-
${
|
|
239
|
-
`,
|
|
237
|
+
`,ks=A(sh)`
|
|
238
|
+
${Ss}
|
|
239
|
+
`,Ds=A.div`
|
|
240
240
|
margin-bottom: var(--space-sm, 8px);
|
|
241
241
|
${({isDisabled:e})=>e&&`
|
|
242
242
|
opacity: 0.4;
|
|
243
243
|
`}
|
|
244
|
-
`,
|
|
245
|
-
${({isDisabled:e})=>e&&` ${
|
|
246
|
-
${
|
|
244
|
+
`,ch=A.div`
|
|
245
|
+
${({isDisabled:e})=>e&&` ${Ds},
|
|
246
|
+
${ks} {
|
|
247
247
|
opacity: 0.4;
|
|
248
248
|
}
|
|
249
249
|
`}
|
|
250
|
-
`,
|
|
250
|
+
`,ja=f.forwardRef(lh),dh=f.forwardRef(({color:e="var(--color-active-primary)",hoverColor:t="var(--color-active-darken10)",underline:n=!1,children:r,...a},i)=>S.jsx(Es,{ref:i,as:"a",color:e,hoverColor:t,underline:n,...a,children:r})),fh=f.forwardRef(({color:e="var(--color-active-primary)",hoverColor:t="var(--color-active-darken10)",underline:n=!1,children:r,...a},i)=>S.jsx(Es,{ref:i,as:"a",target:"_blank",rel:"nofollow noopener",color:e,hoverColor:t,underline:n,...a,children:r})),Es=A(Q.BodyUI)`
|
|
251
251
|
text-decoration: ${({underline:e})=>e?"underline":"none"};
|
|
252
252
|
color: ${({color:e})=>e||"var(--color-active-primary)"};
|
|
253
253
|
|
|
@@ -255,14 +255,14 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
255
255
|
color: ${({hoverColor:e})=>e||"var(--color-active-darken10)"};
|
|
256
256
|
text-decoration: underline;
|
|
257
257
|
}
|
|
258
|
-
`,
|
|
258
|
+
`,hh=({label:e,subtitle:t,description:n,tabIndex:r,id:a,disabled:i,checked:o,defaultChecked:s,required:u,onChange:l,background:c,"data-tip":d,"data-tooltip-content":m,"data-tooltip-id":h,"data-testid":g,"aria-label":v,...b})=>{const I=f.useRef(null),x=f.useCallback(w=>{if(!i&&(w.preventDefault(),I.current)){const O=!I.current.checked;I.current.ariaChecked=O.toString(),I.current.checked=O;const E={...w,target:{...I.current,checked:O,id:p}};typeof l=="function"&&l(E,O)}},[l]),C=f.useCallback(w=>{w.target instanceof HTMLElement&&w.target.closest("a")||x(w)},[l,i]),M=f.useCallback(w=>{w.key.match(/enter|spacebar|\W{1}/i)&&x(w)},[x]),y=f.useCallback(w=>{i||typeof l=="function"&&l(w,w.target.checked)},[l,i]),p=f.useMemo(()=>a||Xt(),[a]);return S.jsxs(Ih,{background:c,children:[S.jsx(mh,{"aria-hidden":"true",onChange:y,onKeyDown:M,ref:I,type:"checkbox",tabIndex:-1,disabled:i,checked:o,defaultChecked:s,required:u,id:p,"data-testid":g,"aria-describedby":n?`${p}_description`:void 0}),S.jsx(qn,{type:"button",role:"switch","aria-checked":o||s||!1,"aria-label":v||(typeof e=="string"?e:void 0),onKeyDown:M,onClick:x,disabled:i,background:c,...b}),e&&S.jsxs(gh,{children:[S.jsxs(ph,{children:[e&&S.jsx(yh,{bold:!0,htmlFor:p,"data-tooltip-content":m||d,"data-tooltip-id":h,onClick:C,children:e}),t&&S.jsx(bh,{children:t})]}),n&&S.jsx(vh,{id:`${p}_description`,children:n})]})]})},mh=A.input`
|
|
259
259
|
position: absolute;
|
|
260
260
|
opacity: 0;
|
|
261
261
|
height: 0;
|
|
262
262
|
width: 0;
|
|
263
263
|
pointer-events: none;
|
|
264
264
|
margin: 0;
|
|
265
|
-
`,
|
|
265
|
+
`,qn=A.button`
|
|
266
266
|
all: unset;
|
|
267
267
|
position: relative;
|
|
268
268
|
cursor: pointer;
|
|
@@ -308,23 +308,23 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
308
308
|
background-color: ${({background:e})=>e||"var(--color-stroke-darken)"};
|
|
309
309
|
border-color: ${({background:e})=>e||"var(--color-stroke-darken)"};
|
|
310
310
|
}
|
|
311
|
-
`,
|
|
311
|
+
`,gh=A.div`
|
|
312
312
|
display: flex;
|
|
313
313
|
flex-direction: column;
|
|
314
314
|
gap: var(--space-xxs, 2px);
|
|
315
315
|
margin-left: var(--space-sm);
|
|
316
|
-
`,
|
|
316
|
+
`,ph=A.div`
|
|
317
317
|
display: flex;
|
|
318
318
|
gap: var(--space-sm, 8px);
|
|
319
|
-
`,
|
|
319
|
+
`,bh=A(Q.BodyUI)`
|
|
320
320
|
color: var(--color-secondary-text-on-light, #2b313b);
|
|
321
321
|
font-size: 12px;
|
|
322
|
-
`,
|
|
322
|
+
`,vh=A(Q.BodyUI)`
|
|
323
323
|
color: var(--color-primary-text-on-light, #2b313b);
|
|
324
|
-
`,
|
|
324
|
+
`,yh=A(Q.BodyUI).attrs({as:"label"})`
|
|
325
325
|
cursor: pointer;
|
|
326
326
|
color: var(--color-primary-text-on-light, #2b313b);
|
|
327
|
-
`,
|
|
327
|
+
`,Ih=A.div`
|
|
328
328
|
display: flex;
|
|
329
329
|
align-items: flex-start;
|
|
330
330
|
position: relative;
|
|
@@ -338,12 +338,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
338
338
|
margin: 0;
|
|
339
339
|
}
|
|
340
340
|
|
|
341
|
-
input:checked + ${
|
|
341
|
+
input:checked + ${qn} {
|
|
342
342
|
border-color: ${({background:e})=>e||"var(--color-active-primary)"};
|
|
343
343
|
background: ${({background:e})=>e||"var(--color-active-primary)"};
|
|
344
344
|
}
|
|
345
345
|
|
|
346
|
-
input:checked + ${
|
|
346
|
+
input:checked + ${qn}:before {
|
|
347
347
|
transform: translateX(16px);
|
|
348
348
|
}
|
|
349
349
|
|
|
@@ -355,12 +355,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
355
355
|
}
|
|
356
356
|
}
|
|
357
357
|
|
|
358
|
-
input:disabled + ${
|
|
358
|
+
input:disabled + ${qn} {
|
|
359
359
|
cursor: not-allowed;
|
|
360
360
|
border-color: transparent;
|
|
361
361
|
background-color: var(--color-disabled-text-on-light);
|
|
362
362
|
}
|
|
363
|
-
`,
|
|
363
|
+
`,Os=({label:e,subtitle:t,description:n,indeterminate:r,onChange:a,style:i,disabled:o,checked:s,id:u,background:l,"data-tip":c,"data-tooltip-content":d,"data-tooltip-id":m,"data-testid":h,...g})=>{const v=f.useRef(null),b=f.useMemo(()=>u||Xt(),[u]);f.useEffect(()=>{v.current&&(v.current.indeterminate=r||!1)},[r]);const I=f.useCallback(M=>{if(!v.current||o||M.target instanceof HTMLElement&&M.target.closest("a"))return;M.preventDefault();const y=!v.current.checked;if(v.current.checked=y,v.current.ariaChecked=y?"true":"false",typeof a=="function"){const p={...M,target:{...v.current,checked:y,id:b}};a(p,y)}},[o,b,a]),x=f.useCallback(M=>{!M.key.match(/enter|spacebar|\W{1}/i)||!v.current||(M.preventDefault(),I(M))},[a]),C=f.useCallback(M=>{typeof a=="function"&&!o&&a(M,M.target.checked)},[o,a]);return S.jsxs(Eh,{style:i,background:l,children:[S.jsx("input",{ref:v,onChange:C,onKeyDown:x,type:"checkbox",tabIndex:-1,disabled:o,checked:s,"aria-checked":r?"mixed":s,"aria-disabled":o,"aria-describedby":n?`${b}_description`:void 0,"data-testid":h,id:b,...g}),r?S.jsx(Yt,{onClick:I,onKeyDown:x,tabIndex:0,"aria-disabled":o,background:l,"data-testid":`${h}-span-checkbox`,...g,children:S.jsx(Ch,{})}):S.jsx(Tt,{onClick:I,onKeyDown:x,tabIndex:0,"aria-disabled":o,background:l,"data-testid":`${h}-span-checkbox`,...g,children:S.jsx(xh,{})}),e&&S.jsxs(wh,{children:[S.jsxs(Mh,{children:[e&&S.jsx(Dh,{onClick:I,bold:!0,htmlFor:b,"data-tooltip-content":d||c,"data-tooltip-id":m,children:e}),t&&S.jsx(Sh,{children:t})]}),n&&S.jsx(kh,{id:`${b}_description`,children:n})]})]})},Tt=A.span`
|
|
364
364
|
box-sizing: content-box;
|
|
365
365
|
cursor: pointer;
|
|
366
366
|
height: 16px;
|
|
@@ -385,33 +385,33 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
385
385
|
box-shadow: 0 0 0 1px var(--color-focus-indicator);
|
|
386
386
|
}
|
|
387
387
|
}
|
|
388
|
-
`,
|
|
388
|
+
`,Yt=A(Tt)``,xh=A(Le.IconCheck)`
|
|
389
389
|
display: none;
|
|
390
390
|
fill: var(--color-surface);
|
|
391
391
|
width: 16px;
|
|
392
392
|
height: 16px;
|
|
393
|
-
|
|
393
|
+
`,Ch=A(Le.IconRemove)`
|
|
394
394
|
position: absolute;
|
|
395
395
|
fill: var(--color-surface);
|
|
396
396
|
width: 16px;
|
|
397
397
|
height: 16px;
|
|
398
|
-
`,
|
|
398
|
+
`,wh=A.div`
|
|
399
399
|
display: flex;
|
|
400
400
|
flex-direction: column;
|
|
401
401
|
gap: var(--space-xxs, 2px);
|
|
402
402
|
margin-left: var(--space-sm);
|
|
403
|
-
`,
|
|
403
|
+
`,Mh=A.div`
|
|
404
404
|
display: flex;
|
|
405
405
|
gap: var(--space-sm, 8px);
|
|
406
|
-
`,
|
|
406
|
+
`,Sh=A(Q.BodyUI)`
|
|
407
407
|
color: var(--color-secondary-text-on-light, #2b313b);
|
|
408
408
|
font-size: 12px;
|
|
409
|
-
`,
|
|
409
|
+
`,kh=A(Q.BodyUI)`
|
|
410
410
|
color: var(--color-primary-text-on-light, #2b313b);
|
|
411
|
-
`,
|
|
411
|
+
`,Dh=A(Q.BodyUI).attrs({as:"label"})`
|
|
412
412
|
cursor: pointer;
|
|
413
413
|
color: var(--color-primary-text-on-light, #2b313b);
|
|
414
|
-
`,
|
|
414
|
+
`,Eh=A.div`
|
|
415
415
|
display: flex;
|
|
416
416
|
align-items: flex-start;
|
|
417
417
|
position: relative;
|
|
@@ -426,26 +426,26 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
426
426
|
margin: 0;
|
|
427
427
|
}
|
|
428
428
|
|
|
429
|
-
input:checked + ${
|
|
429
|
+
input:checked + ${Tt}, input + ${Yt} {
|
|
430
430
|
background: ${({background:e})=>e||"var(--color-active-primary)"};
|
|
431
431
|
border: 2px solid
|
|
432
432
|
${({background:e})=>e||"var(--color-active-primary)"};
|
|
433
433
|
}
|
|
434
434
|
|
|
435
|
-
input:checked + ${
|
|
436
|
-
input + ${
|
|
435
|
+
input:checked + ${Tt} > svg,
|
|
436
|
+
input + ${Yt} > svg {
|
|
437
437
|
display: block;
|
|
438
438
|
}
|
|
439
439
|
|
|
440
|
-
input:disabled + ${
|
|
440
|
+
input:disabled + ${Tt}, input:disabled + ${Yt} {
|
|
441
441
|
border: 2px solid var(--color-disabled-text-on-light);
|
|
442
442
|
cursor: not-allowed;
|
|
443
443
|
}
|
|
444
444
|
|
|
445
445
|
input:disabled:checked
|
|
446
|
-
+ ${
|
|
446
|
+
+ ${Tt},
|
|
447
447
|
input:disabled
|
|
448
|
-
+ ${
|
|
448
|
+
+ ${Yt} {
|
|
449
449
|
background: var(--color-disabled-text-on-light);
|
|
450
450
|
}
|
|
451
451
|
|
|
@@ -458,20 +458,20 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
458
458
|
}
|
|
459
459
|
|
|
460
460
|
:hover {
|
|
461
|
-
${
|
|
461
|
+
${Tt}, ${Yt} {
|
|
462
462
|
border-color: ${({background:e})=>e||"var(--color-stroke-darken)"};
|
|
463
463
|
}
|
|
464
464
|
|
|
465
465
|
input:checked:not(:disabled)
|
|
466
|
-
+ ${
|
|
466
|
+
+ ${Tt},
|
|
467
467
|
input:not(:disabled)
|
|
468
|
-
+ ${
|
|
468
|
+
+ ${Yt} {
|
|
469
469
|
background: ${({background:e})=>e||"var(--color-active-darken10)"};
|
|
470
470
|
border: 2px solid
|
|
471
471
|
${({background:e})=>e||"var(--color-active-darken10)"};
|
|
472
472
|
}
|
|
473
473
|
}
|
|
474
|
-
`,
|
|
474
|
+
`,Oh=e=>e.map(t=>No(t)?{label:t,value:t}:t),Ah=e=>(t,n)=>{const r=e.findIndex(i=>i.value===t),a=e.findIndex(i=>i.value===n);return r-a},Nh=e=>To(e).map(({props:t})=>t),Th=e=>e.filter(({defaultChecked:t})=>t).map(({value:t})=>t),_h="[CheckboxGroup] Both the `children` and `options` props have been used.\n The `options` prop will be ignored. To get rid of this warning, remove one of these props.",Wh="[CheckboxGroup] Both the `defaultChecked` and `defaultValue` props have been used.\n The `defaultValue` prop will be ignored. To get rid of this warning, remove one of these props.",Fh=({value:e,disabled:t,name:n,children:r,className:a,options:i,onChange:o,defaultValue:s})=>{Da(r&&i,_h);const u=f.useMemo(()=>r?Nh(r):Oh(i||[]),[r,i]),l=f.useMemo(()=>{const g=Th(u),v=!!g.length;return v&&s&&ka(Wh),v?g:s},[u,s]),[c,d]=f.useState(e||l||[]);f.useEffect(()=>{e&&d(e)},[e]);const m=g=>c.includes(g),h=(g,v,b)=>{g.onChange&&g.onChange(v,b);const x=(b?[...c,g.value]:c.filter(C=>C!==g.value)).sort(Ah(u));d(x),o&&o(x)};return S.jsx(Gh,{className:a,children:u.map(g=>S.jsx("li",{children:S.jsx(Os,{label:g.label,background:g.background,name:n,disabled:g.disabled||t||!1,checked:m(g.value),onChange:(v,b)=>h(g,v,b)})},g.value))})},Gh=A.ul`
|
|
475
475
|
list-style: none;
|
|
476
476
|
display: flex;
|
|
477
477
|
flex-direction: column;
|
|
@@ -480,7 +480,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
480
480
|
padding-inline-start: 0;
|
|
481
481
|
padding-inline-end: 0;
|
|
482
482
|
padding-block-start: 0;
|
|
483
|
-
`,
|
|
483
|
+
`,As=({label:e=null,subtitle:t,description:n,background:r,id:a,onChange:i,disabled:o=!1,"data-testid":s,...u})=>{const[l]=f.useState(()=>a||`radio_${Xt()}`),c=f.useCallback(g=>{if(o)return;g.preventDefault();const v={...g,target:{...g.target,checked:!0,id:l}};typeof i=="function"&&i(v,!0)},[l,i,o]),d=f.useCallback(g=>{g.target instanceof HTMLElement&&g.target.closest("a")||c(g)},[c]),m=f.useCallback(g=>{g.key.match(/enter|spacebar|\W{1}/i)&&(g.preventDefault(),c(g))},[c]),h=f.useCallback(g=>{o||typeof i=="function"&&i(g,g.target.checked)},[i,o]);return S.jsxs(Hh,{background:r,disabled:o,children:[S.jsx("input",{type:"radio","aria-describedby":n?`${l}_description`:void 0,onChange:h,...u,disabled:o,id:l,onKeyDown:m,"data-testid":s}),S.jsx(bn,{onClick:c,onKeyDown:m,background:r}),e&&S.jsxs(Ph,{children:[S.jsxs(Yh,{children:[e&&S.jsx(Vh,{bold:!0,htmlFor:l,"data-tooltip-content":u["data-tooltip-content"]||u["data-tip"],"data-tooltip-id":u["data-tooltip-id"],onClick:d,children:e}),t&&S.jsx(Rh,{children:t})]}),n&&S.jsx(Bh,{id:`${l}_description`,children:n})]})]})};As.propTypes={label:se.node,subtitle:se.node,description:se.node,disabled:se.bool};const bn=A.span`
|
|
484
484
|
box-sizing: content-box;
|
|
485
485
|
position: relative;
|
|
486
486
|
height: 16px;
|
|
@@ -502,23 +502,23 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
502
502
|
border: 1px solid var(--color-focus-indicator);
|
|
503
503
|
}
|
|
504
504
|
}
|
|
505
|
-
`,
|
|
505
|
+
`,Ph=A.div`
|
|
506
506
|
display: flex;
|
|
507
507
|
flex-direction: column;
|
|
508
508
|
gap: var(--space-xxs, 2px);
|
|
509
509
|
margin-left: var(--space-sm);
|
|
510
|
-
`,
|
|
510
|
+
`,Yh=A.div`
|
|
511
511
|
display: flex;
|
|
512
512
|
gap: var(--space-sm, 8px);
|
|
513
|
-
`,
|
|
513
|
+
`,Rh=A(Q.BodyUI)`
|
|
514
514
|
color: var(--color-secondary-text-on-light, #2b313b);
|
|
515
515
|
font-size: 12px;
|
|
516
|
-
`,
|
|
516
|
+
`,Bh=A(Q.BodyUI)`
|
|
517
517
|
color: var(--color-primary-text-on-light, #2b313b);
|
|
518
|
-
`,
|
|
518
|
+
`,Vh=A(Q.BodyUI).attrs({as:"label"})`
|
|
519
519
|
cursor: pointer;
|
|
520
520
|
color: var(--color-primary-text-on-light, #2b313b);
|
|
521
|
-
`,
|
|
521
|
+
`,Hh=A.div`
|
|
522
522
|
display: flex;
|
|
523
523
|
align-items: flex-start;
|
|
524
524
|
position: relative;
|
|
@@ -535,15 +535,15 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
535
535
|
}
|
|
536
536
|
|
|
537
537
|
:hover {
|
|
538
|
-
input:not(:disabled) + ${
|
|
538
|
+
input:not(:disabled) + ${bn} {
|
|
539
539
|
border-color: ${({background:e})=>e||"var(--color-stroke-darken)"};
|
|
540
540
|
}
|
|
541
|
-
input:checked:not(:disabled) + ${
|
|
541
|
+
input:checked:not(:disabled) + ${bn} {
|
|
542
542
|
border-color: ${({background:e})=>e||"var(--color-active-primary)"};
|
|
543
543
|
}
|
|
544
544
|
}
|
|
545
545
|
|
|
546
|
-
input:checked + ${
|
|
546
|
+
input:checked + ${bn} {
|
|
547
547
|
border-color: ${({background:e})=>e||"var(--color-active-primary)"};
|
|
548
548
|
:after {
|
|
549
549
|
content: "";
|
|
@@ -557,7 +557,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
557
557
|
}
|
|
558
558
|
}
|
|
559
559
|
|
|
560
|
-
input:disabled + ${
|
|
560
|
+
input:disabled + ${bn} {
|
|
561
561
|
cursor: not-allowed;
|
|
562
562
|
border-color: var(--color-disabled-text-on-light);
|
|
563
563
|
:after {
|
|
@@ -568,15 +568,15 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
568
568
|
${({disabled:e})=>e&&`
|
|
569
569
|
opacity: 0.4;
|
|
570
570
|
`}
|
|
571
|
-
`,
|
|
571
|
+
`,jn={success:"var(--color-success-primary, #00a372)",error:"var(--color-alert-primary, #da3939)",default:"var(--color-secondary-text-on-light, #4a5464)"},Xh=({id:e,cols:t,rows:n,label:r,description:a,required:i,readOnly:o,disabled:s,state:u,errorMessage:l,hintText:c,maxHeight:d,...m})=>{const[h]=f.useState(()=>e||Xt()),g=r?{"aria-labelledby":e}:{},v=f.useRef(null),b=[a?`${h}-description`:"",c?`${h}-hint-message`:"",u==="error"&&l?`${h}-error-message`:""].join(" ");f.useEffect(()=>{v.current&&(v.current.style.height=`${Math.min(v.current.scrollHeight,d||9999)}px`)},[d]);const I=x=>{if(m.autoHeight){const{target:C}=x;C.style.height="inherit",C.style.height=`${C.scrollHeight}px`}typeof m.onChange=="function"&&m.onChange(x)};return S.jsxs(Lh,{isDisabled:s||!1,children:[!!r&&S.jsxs(Ns,{children:[S.jsx(Zh,{bold:!0,htmlFor:h,isRequired:i||!1,children:r}),a&&S.jsx(Q.BodyUI,{id:`${h}-description`,color:"var(--color-secondary-text-on-light, #4a5464)",children:a})]}),S.jsx(Ts,{title:r||"Styled input",state:u||"default",id:h,disabled:s,readOnly:o,ref:v,cols:t,rows:n,...a?{"aria-describedby":b}:{},...g,...m,style:{...m.style,maxHeight:d},onChange:I}),c&&S.jsxs(ga,{id:`${h}-hint-message`,children:[S.jsx(so,{fill:"var(--color-hint-text-on-light, #68778d)"}),S.jsx(Q.TinyText,{color:"var(--color-secondary-text-on-light, #4a5464)",children:c})]}),u==="error"&&l&&S.jsxs(ga,{id:`${h}-error-message`,children:[S.jsx(so,{fill:"var(--color-alert-primary, #da3939)"}),S.jsx(Q.TinyText,{color:"var(--color-alert-primary, #da3939)",children:l})]})]})},so=A(Le.IconAlertCircleOutline)`
|
|
572
572
|
width: 13px;
|
|
573
573
|
height: 13px;
|
|
574
|
-
`,
|
|
574
|
+
`,ga=A.div`
|
|
575
575
|
display: flex;
|
|
576
576
|
gap: var(--space-xs, 4px);
|
|
577
577
|
margin-top: var(--space-sm, 8px);
|
|
578
578
|
align-items: center;
|
|
579
|
-
`,
|
|
579
|
+
`,Zh=A(Q.BodyUI).attrs({as:"label"})`
|
|
580
580
|
color: var(--color-primary-text-on-light, #2b313b);
|
|
581
581
|
position: relative;
|
|
582
582
|
${({isRequired:e})=>e&&`
|
|
@@ -586,21 +586,21 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
586
586
|
margin-left: var(--space-xxs, 2px);
|
|
587
587
|
}
|
|
588
588
|
`}
|
|
589
|
-
`,
|
|
589
|
+
`,Ns=A.div`
|
|
590
590
|
display: flex;
|
|
591
591
|
flex-direction: column;
|
|
592
592
|
gap: var(--space-xxs, 2px);
|
|
593
593
|
margin-bottom: var(--space-sm, 8px);
|
|
594
|
-
`,
|
|
594
|
+
`,Ts=A.textarea`
|
|
595
595
|
::placeholder {
|
|
596
|
-
font-family: ${
|
|
596
|
+
font-family: ${Q.sansFamily};
|
|
597
597
|
color: var(--color-placeholder-text-on-light);
|
|
598
598
|
letter-spacing: -0.3px;
|
|
599
599
|
font-size: 14px;
|
|
600
600
|
font-weight: normal;
|
|
601
601
|
}
|
|
602
602
|
|
|
603
|
-
font-family: ${
|
|
603
|
+
font-family: ${Q.sansFamily};
|
|
604
604
|
border-radius: var(--radius-md, 4px);
|
|
605
605
|
${e=>e.cols?"":"width: 100%;"};
|
|
606
606
|
${e=>e.rows?"":"height: 100%;"};
|
|
@@ -618,18 +618,18 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
618
618
|
color: var(--color-primary-text-on-light, #2b313b);
|
|
619
619
|
|
|
620
620
|
:hover {
|
|
621
|
-
border-color: ${({state:e="default"})=>e==="default"?"var(--color-stroke-darken, #596578)":
|
|
621
|
+
border-color: ${({state:e="default"})=>e==="default"?"var(--color-stroke-darken, #596578)":jn[e]};
|
|
622
622
|
}
|
|
623
623
|
|
|
624
624
|
:active {
|
|
625
625
|
outline: none;
|
|
626
626
|
box-shadow: none;
|
|
627
|
-
border-color: ${({state:e="default"})=>e==="default"?"var(--color-focus-indicator, #1691fe)":
|
|
627
|
+
border-color: ${({state:e="default"})=>e==="default"?"var(--color-focus-indicator, #1691fe)":jn[e]};
|
|
628
628
|
}
|
|
629
629
|
|
|
630
630
|
:focus {
|
|
631
631
|
outline: none;
|
|
632
|
-
border-color: ${({state:e="default"})=>e==="default"?"var(--color-focus-indicator, #1691fe)":
|
|
632
|
+
border-color: ${({state:e="default"})=>e==="default"?"var(--color-focus-indicator, #1691fe)":jn[e]} !important;
|
|
633
633
|
}
|
|
634
634
|
|
|
635
635
|
:disabled {
|
|
@@ -642,301 +642,359 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
642
642
|
color: var(--color-secondary-text-on-light, #4a5464);
|
|
643
643
|
}
|
|
644
644
|
|
|
645
|
-
border-color: ${({state:e="default"})=>
|
|
646
|
-
`,
|
|
645
|
+
border-color: ${({state:e="default"})=>jn[e]};
|
|
646
|
+
`,Lh=A.div`
|
|
647
647
|
display: flex;
|
|
648
648
|
flex-direction: column;
|
|
649
649
|
position: relative;
|
|
650
650
|
width: 100%;
|
|
651
651
|
${({isDisabled:e})=>e&&`
|
|
652
|
-
${
|
|
653
|
-
${
|
|
654
|
-
${
|
|
652
|
+
${Ns},
|
|
653
|
+
${Ts},
|
|
654
|
+
${ga} {
|
|
655
655
|
opacity: 0.4;
|
|
656
656
|
}
|
|
657
657
|
`}
|
|
658
|
-
`,
|
|
658
|
+
`,za=({text:e,closeCallback:t,isUppercase:n,closeIconAriaLabel:r,...a})=>{const[i,o]=f.useState(!0),s=()=>{o(!1),typeof t=="function"&&t()},u=l=>{(l.key==="Enter"||l.key===" ")&&s()};return i&&f.createElement(jh,{...a},f.createElement(Jh,{bold:!0,uppercase:n},e),f.createElement(zh,{onClick:s,role:"button",tabIndex:"0",onKeyDown:u,"aria-label":r||"Close tag"},f.createElement(Le.IconClose,{width:"16px",height:"16px"})))};za.propTypes={text:se.node.isRequired,closeCallback:se.func,isUppercase:se.bool,closeIconAriaLabel:se.string};za.defaultProps={closeCallback:void 0,isUppercase:!1,closeIconAriaLabel:void 0};const jh=A.div`
|
|
659
659
|
display: inline-flex;
|
|
660
660
|
align-items: center;
|
|
661
661
|
background: var(--color-active-primary);
|
|
662
662
|
height: 24px;
|
|
663
663
|
padding: 0 8px;
|
|
664
664
|
border-radius: 100px;
|
|
665
|
-
`,
|
|
665
|
+
`,zh=A.span`
|
|
666
666
|
display: inline-flex;
|
|
667
667
|
align-items: center;
|
|
668
668
|
justify-content: center;
|
|
669
669
|
fill: var(--color-primary-text-on-dark);
|
|
670
670
|
cursor: pointer;
|
|
671
671
|
padding: 4px 0 4px 4px;
|
|
672
|
-
`,
|
|
672
|
+
`,Jh=A(Q.BodySm)`
|
|
673
673
|
margin: 0;
|
|
674
674
|
color: var(--color-primary-text-on-dark);
|
|
675
675
|
text-transform: ${({uppercase:e})=>e?"uppercase":"none"};
|
|
676
676
|
line-height: 1;
|
|
677
|
-
`,
|
|
677
|
+
`,_s=({text:e,isFilled:t,color:n=mt.active,applyCustomStylings:r})=>f.createElement(Uh,{color:n,isFilled:t},r?r(e):f.createElement(Q.TinyText,{color:t?mt.white:n,uppercase:!0,bold:!0},e)),Uh=A.span`
|
|
678
678
|
display: inline-block;
|
|
679
|
-
background: ${({color:e,isFilled:t})=>t?e:
|
|
679
|
+
background: ${({color:e,isFilled:t})=>t?e:mt.toBgLight(e)};
|
|
680
680
|
padding: 4px 8px;
|
|
681
681
|
border-radius: 100px;
|
|
682
|
-
`;gs.propTypes={text:B.node.isRequired,isFilled:B.bool,color:B.string,applyCustomStylings:B.func};var xt={},Ye={},Oa={},Ze={};Object.defineProperty(Ze,"__esModule",{value:!0});Ze.formatDay=bs;Ze.formatMonthTitle=ys;Ze.formatWeekdayShort=Is;Ze.formatWeekdayLong=xs;Ze.getFirstDayOfWeek=Cs;Ze.getMonths=ws;var wh=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],Dh=["Su","Mo","Tu","We","Th","Fr","Sa"],vs=["January","February","March","April","May","June","July","August","September","October","November","December"];function bs(e){return e.toDateString()}function ys(e){return vs[e.getMonth()]+" "+e.getFullYear()}function Is(e){return Dh[e]}function xs(e){return wh[e]}function Cs(){return 0}function ws(){return vs}Ze.default={formatDay:bs,formatMonthTitle:ys,formatWeekdayShort:Is,formatWeekdayLong:xs,getFirstDayOfWeek:Cs,getMonths:ws};var De={};Object.defineProperty(De,"__esModule",{value:!0});De.LEFT=37;De.UP=38;De.RIGHT=39;De.DOWN=40;De.ENTER=13;De.SPACE=32;De.ESC=27;De.TAB=9;Object.defineProperty(Oa,"__esModule",{value:!0});var kh=function(){function e(t,r){for(var n=0;n<r.length;n++){var a=r[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),Ds=m,$i=ks(Ds),Mh=Ze,Sh=ks(Mh),Eh=De;function ks(e){return e&&e.__esModule?e:{default:e}}function Ah(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _h(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function Nh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var Ms=function(e){Nh(t,e);function t(r){Ah(this,t);var n=_h(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,r));return n.handleKeyUp=n.handleKeyUp.bind(n),n}return kh(t,[{key:"shouldComponentUpdate",value:function(n){return n.locale!==this.props.locale||n.classNames!==this.props.classNames||n.date.getMonth()!==this.props.date.getMonth()||n.date.getFullYear()!==this.props.date.getFullYear()}},{key:"handleKeyUp",value:function(n){n.keyCode===Eh.ENTER&&this.props.onClick(n)}},{key:"render",value:function(){var n=this.props,a=n.classNames,i=n.date,o=n.months,s=n.locale,u=n.localeUtils,l=n.onClick;return $i.default.createElement("div",{className:a.caption,role:"heading","aria-live":"polite"},$i.default.createElement("div",{onClick:l,onKeyUp:this.handleKeyUp},o?o[i.getMonth()]+" "+i.getFullYear():u.formatMonthTitle(i,s)))}}]),t}(Ds.Component);Ms.defaultProps={localeUtils:Sh.default};Oa.default=Ms;var Pa={},$t={};Object.defineProperty($t,"__esModule",{value:!0});$t.default={container:"DayPicker",wrapper:"DayPicker-wrapper",interactionDisabled:"DayPicker--interactionDisabled",months:"DayPicker-Months",month:"DayPicker-Month",navBar:"DayPicker-NavBar",navButtonPrev:"DayPicker-NavButton DayPicker-NavButton--prev",navButtonNext:"DayPicker-NavButton DayPicker-NavButton--next",navButtonInteractionDisabled:"DayPicker-NavButton--interactionDisabled",caption:"DayPicker-Caption",weekdays:"DayPicker-Weekdays",weekdaysRow:"DayPicker-WeekdaysRow",weekday:"DayPicker-Weekday",body:"DayPicker-Body",week:"DayPicker-Week",weekNumber:"DayPicker-WeekNumber",day:"DayPicker-Day",footer:"DayPicker-Footer",todayButton:"DayPicker-TodayButton",today:"today",selected:"selected",disabled:"disabled",outside:"outside"};Object.defineProperty(Pa,"__esModule",{value:!0});var Oh=function(){function e(t,r){for(var n=0;n<r.length;n++){var a=r[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),Ss=m,Tr=Es(Ss),Ph=$t,Th=Es(Ph),Fn=De;function Es(e){return e&&e.__esModule?e:{default:e}}function Fh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ji(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function Rh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var As=function(e){Rh(t,e);function t(){var r,n,a,i;Fh(this,t);for(var o=arguments.length,s=Array(o),u=0;u<o;u++)s[u]=arguments[u];return i=(n=(a=Ji(this,(r=t.__proto__||Object.getPrototypeOf(t)).call.apply(r,[this].concat(s))),a),a.handleNextClick=function(){a.props.onNextClick&&a.props.onNextClick()},a.handlePreviousClick=function(){a.props.onPreviousClick&&a.props.onPreviousClick()},a.handleNextKeyDown=function(l){l.keyCode!==Fn.ENTER&&l.keyCode!==Fn.SPACE||(l.preventDefault(),a.handleNextClick())},a.handlePreviousKeyDown=function(l){l.keyCode!==Fn.ENTER&&l.keyCode!==Fn.SPACE||(l.preventDefault(),a.handlePreviousClick())},n),Ji(a,i)}return Oh(t,[{key:"shouldComponentUpdate",value:function(n){return n.labels!==this.props.labels||n.dir!==this.props.dir||this.props.showPreviousButton!==n.showPreviousButton||this.props.showNextButton!==n.showNextButton}},{key:"render",value:function(){var n=this.props,a=n.classNames,i=n.className,o=n.showPreviousButton,s=n.showNextButton,u=n.labels,l=n.dir,c=void 0,d=void 0,p=void 0,h=void 0,f=void 0,g=void 0;l==="rtl"?(c=this.handleNextClick,d=this.handlePreviousClick,p=this.handleNextKeyDown,h=this.handlePreviousKeyDown,g=o,f=s):(c=this.handlePreviousClick,d=this.handleNextClick,p=this.handlePreviousKeyDown,h=this.handleNextKeyDown,g=s,f=o);var v=f?a.navButtonPrev:a.navButtonPrev+" "+a.navButtonInteractionDisabled,b=g?a.navButtonNext:a.navButtonNext+" "+a.navButtonInteractionDisabled,I=Tr.default.createElement("span",{tabIndex:"0",role:"button","aria-label":u.previousMonth,key:"previous",className:v,onKeyDown:f?p:void 0,onClick:f?c:void 0}),x=Tr.default.createElement("span",{tabIndex:"0",role:"button","aria-label":u.nextMonth,key:"right",className:b,onKeyDown:g?h:void 0,onClick:g?d:void 0});return Tr.default.createElement("div",{className:i||a.navBar},l==="rtl"?[x,I]:[I,x])}}]),t}(Ss.Component);As.defaultProps={classNames:Th.default,dir:"ltr",labels:{previousMonth:"Previous Month",nextMonth:"Next Month"},showPreviousButton:!0,showNextButton:!0};Pa.default=As;var Ta={},Fa={};Object.defineProperty(Fa,"__esModule",{value:!0});var Gh=function(){function e(t,r){for(var n=0;n<r.length;n++){var a=r[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),_s=m,Gt=Bh(_s);function Bh(e){return e&&e.__esModule?e:{default:e}}function Wh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yh(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function Vh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var Lh=function(e){Vh(t,e);function t(){return Wh(this,t),Yh(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return Gh(t,[{key:"shouldComponentUpdate",value:function(n){return this.props!==n}},{key:"render",value:function(){for(var n=this.props,a=n.classNames,i=n.firstDayOfWeek,o=n.showWeekNumbers,s=n.weekdaysLong,u=n.weekdaysShort,l=n.locale,c=n.localeUtils,d=n.weekdayElement,p=[],h=0;h<7;h+=1){var f=(h+i)%7,g={key:h,className:a.weekday,weekday:f,weekdaysLong:s,weekdaysShort:u,localeUtils:c,locale:l},v=Gt.default.isValidElement(d)?Gt.default.cloneElement(d,g):Gt.default.createElement(d,g);p.push(v)}return Gt.default.createElement("div",{className:a.weekdays,role:"rowgroup"},Gt.default.createElement("div",{className:a.weekdaysRow,role:"row"},o&&Gt.default.createElement("div",{className:a.weekday}),p))}}]),t}(_s.Component);Fa.default=Lh;var Ra={},ue={};Object.defineProperty(ue,"__esModule",{value:!0});ue.clone=ft;ue.isDate=Ns;ue.addMonths=Os;ue.isSameDay=At;ue.isSameMonth=Ps;ue.isDayBefore=Nt;ue.isDayAfter=qn;ue.isPastDay=Ts;ue.isFutureDay=Fs;ue.isDayBetween=Ga;ue.addDayToRange=Rs;ue.isDayInRange=Gs;ue.getWeekNumber=Bs;function ft(e){return new Date(e.getTime())}function Ns(e){return e instanceof Date&&!isNaN(e.valueOf())}function Os(e,t){var r=ft(e);return r.setMonth(e.getMonth()+t),r}function At(e,t){return!e||!t?!1:e.getDate()===t.getDate()&&e.getMonth()===t.getMonth()&&e.getFullYear()===t.getFullYear()}function Ps(e,t){return!e||!t?!1:e.getMonth()===t.getMonth()&&e.getFullYear()===t.getFullYear()}function Nt(e,t){var r=ft(e).setHours(0,0,0,0),n=ft(t).setHours(0,0,0,0);return r<n}function qn(e,t){var r=ft(e).setHours(0,0,0,0),n=ft(t).setHours(0,0,0,0);return r>n}function Ts(e){var t=new Date;return t.setHours(0,0,0,0),Nt(e,t)}function Fs(e){var t=new Date(new Date().getTime()+864e5);return t.setHours(0,0,0,0),e>=t}function Ga(e,t,r){var n=ft(e);return n.setHours(0,0,0,0),qn(n,t)&&Nt(n,r)||qn(n,r)&&Nt(n,t)}function Rs(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{from:null,to:null},r=t.from,n=t.to;return r?r&&n&&At(r,n)&&At(e,r)?(r=null,n=null):n&&Nt(e,r)?r=e:n&&At(e,n)?(r=e,n=e):(n=e,Nt(n,r)&&(n=r,r=e)):r=e,{from:r,to:n}}function Gs(e,t){var r=t.from,n=t.to;return r&&At(e,r)||n&&At(e,n)||r&&n&&Ga(e,r,n)}function Bs(e){var t=ft(e);return t.setHours(0,0,0),t.setDate(t.getDate()+4-(t.getDay()||7)),Math.ceil(((t-new Date(t.getFullYear(),0,1))/864e5+1)/7)}ue.default={addDayToRange:Rs,addMonths:Os,clone:ft,getWeekNumber:Bs,isDate:Ns,isDayAfter:qn,isDayBefore:Nt,isDayBetween:Ga,isDayInRange:Gs,isFutureDay:Fs,isPastDay:Ts,isSameDay:At,isSameMonth:Ps};var pe={};Object.defineProperty(pe,"__esModule",{value:!0});var Hh=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};pe.cancelEvent=Uh;pe.getFirstDayOfMonth=Ws;pe.getDaysInMonth=Ys;pe.getModifiersFromProps=$h;pe.getFirstDayOfWeekFromProps=Jh;pe.isRangeOfDates=Qh;pe.getMonthsDiff=Kh;pe.getWeekArray=qh;pe.startOfMonth=ep;pe.getDayNodes=tp;pe.nodeListToArray=np;pe.hasOwnProp=rp;var Hn=ue,Zh=Ze,Xh=$t,jh=zh(Xh);function zh(e){return e&&e.__esModule?e:{default:e}}function Uh(e){e.preventDefault(),e.stopPropagation()}function Ws(e){return new Date(e.getFullYear(),e.getMonth(),1,12)}function Ys(e){var t=Ws(e);return t.setMonth(t.getMonth()+1),t.setDate(t.getDate()-1),t.getDate()}function $h(e){var t=Hh({},e.modifiers);return e.selectedDays&&(t[e.classNames.selected]=e.selectedDays),e.disabledDays&&(t[e.classNames.disabled]=e.disabledDays),t}function Jh(e){var t=e.firstDayOfWeek,r=e.locale,n=r===void 0?"en":r,a=e.localeUtils,i=a===void 0?{}:a;return isNaN(t)?i.getFirstDayOfWeek?i.getFirstDayOfWeek(n):0:t}function Qh(e){return!!(e&&e.from&&e.to)}function Kh(e,t){return t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())}function qh(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:(0,Zh.getFirstDayOfWeek)(),r=arguments[2],n=Ys(e),a=[],i=[],o=[],s=1;s<=n;s+=1)a.push(new Date(e.getFullYear(),e.getMonth(),s,12));a.forEach(function(k){i.length>0&&k.getDay()===t&&(o.push(i),i=[]),i.push(k),a.indexOf(k)===a.length-1&&o.push(i)});for(var u=o[0],l=7-u.length;l>0;l-=1){var c=(0,Hn.clone)(u[0]);c.setDate(u[0].getDate()-1),u.unshift(c)}for(var d=o[o.length-1],p=d.length;p<7;p+=1){var h=(0,Hn.clone)(d[d.length-1]);h.setDate(d[d.length-1].getDate()+1),d.push(h)}if(r&&o.length<6)for(var f=void 0,g=o.length;g<6;g+=1){f=o[o.length-1];for(var v=f[f.length-1],b=[],I=0;I<7;I+=1){var x=(0,Hn.clone)(v);x.setDate(v.getDate()+I+1),b.push(x)}o.push(b)}return o}function ep(e){var t=(0,Hn.clone)(e);return t.setDate(1),t.setHours(12,0,0,0),t}function tp(e,t){var r=void 0;t===jh.default?r=t.day+"--"+t.outside:r=""+t.outside;var n=t.day.replace(/ /g,"."),a=r.replace(/ /g,"."),i="."+n+":not(."+a+")";return e.querySelectorAll(i)}function np(e){return Array.prototype.slice.call(e,0)}function rp(e,t){return Object.prototype.hasOwnProperty.call(e,t)}Object.defineProperty(Ra,"__esModule",{value:!0});var ap=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ip=function(){function e(t,r){for(var n=0;n<r.length;n++){var a=r[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),Vs=m,Qi=Ls(Vs),op=ue,Ki=pe,sp=$t,up=Ls(sp);function Ls(e){return e&&e.__esModule?e:{default:e}}function lp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cp(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function dp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function it(e,t,r){if(e)return function(n){n.persist(),e(t,r,n)}}var Ba=function(e){dp(t,e);function t(){return lp(this,t),cp(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return ip(t,[{key:"shouldComponentUpdate",value:function(n){var a=this,i=Object.keys(this.props),o=Object.keys(n);return i.length!==o.length?!0:i.some(function(s){if(s==="modifiers"||s==="modifiersStyles"||s==="classNames"){var u=a.props[s],l=n[s],c=Object.keys(u),d=Object.keys(l);return c.length!==d.length?!0:c.some(function(p){return!(0,Ki.hasOwnProp)(l,p)||u[p]!==l[p]})}return s==="day"?!(0,op.isSameDay)(a.props[s],n[s]):!(0,Ki.hasOwnProp)(n,s)||a.props[s]!==n[s]})}},{key:"render",value:function(){var n=this.props,a=n.classNames,i=n.modifiersStyles,o=n.day,s=n.tabIndex,u=n.empty,l=n.modifiers,c=n.onMouseEnter,d=n.onMouseLeave,p=n.onMouseUp,h=n.onMouseDown,f=n.onClick,g=n.onKeyDown,v=n.onTouchStart,b=n.onTouchEnd,I=n.onFocus,x=n.ariaLabel,k=n.ariaDisabled,y=n.ariaSelected,C=n.children,D=a.day;a!==up.default?D+=" "+Object.keys(l).join(" "):D+=Object.keys(l).map(function(_){return" "+D+"--"+_}).join("");var P=void 0;return i&&Object.keys(l).filter(function(_){return!!i[_]}).forEach(function(_){P=ap({},P,i[_])}),u?Qi.default.createElement("div",{"aria-disabled":!0,className:D,style:P}):Qi.default.createElement("div",{className:D,tabIndex:s,style:P,role:"gridcell","aria-label":x,"aria-disabled":k,"aria-selected":y,onClick:it(f,o,l),onKeyDown:it(g,o,l),onMouseEnter:it(c,o,l),onMouseLeave:it(d,o,l),onMouseUp:it(p,o,l),onMouseDown:it(h,o,l),onTouchEnd:it(b,o,l),onTouchStart:it(v,o,l),onFocus:it(I,o,l)},C)}}]),t}(Vs.Component);Ba.defaultProps={tabIndex:-1};Ba.defaultProps={modifiers:{},modifiersStyles:{},empty:!1};Ra.default=Ba;var Pt={};Object.defineProperty(Pt,"__esModule",{value:!0});Pt.dayMatchesModifier=Wa;Pt.getModifiersForDay=Hs;var Be=ue,fp=pe;function Wa(e,t){if(!t)return!1;var r=Array.isArray(t)?t:[t];return r.some(function(n){return n?n instanceof Date?(0,Be.isSameDay)(e,n):(0,fp.isRangeOfDates)(n)?(0,Be.isDayInRange)(e,n):n.after&&n.before&&(0,Be.isDayAfter)(n.before,n.after)?(0,Be.isDayAfter)(e,n.after)&&(0,Be.isDayBefore)(e,n.before):n.after&&n.before&&((0,Be.isDayAfter)(n.after,n.before)||(0,Be.isSameDay)(n.after,n.before))?(0,Be.isDayAfter)(e,n.after)||(0,Be.isDayBefore)(e,n.before):n.after?(0,Be.isDayAfter)(e,n.after):n.before?(0,Be.isDayBefore)(e,n.before):n.daysOfWeek?n.daysOfWeek.some(function(a){return e.getDay()===a}):typeof n=="function"?n(e):!1:!1})}function Hs(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.keys(t).reduce(function(r,n){var a=t[n];return Wa(e,a)&&r.push(n),r},[])}Pt.default={dayMatchesModifier:Wa,getModifiersForDay:Hs};Object.defineProperty(Ta,"__esModule",{value:!0});var hp=function(){function e(t,r){for(var n=0;n<r.length;n++){var a=r[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),Zs=m,ot=Va(Zs),pp=Fa,mp=Va(pp),gp=Ra,vp=Va(gp),bp=De,yp=Pt,Ip=Ya(yp),xp=pe,qi=Ya(xp),Cp=ue,eo=Ya(Cp);function Ya(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function Va(e){return e&&e.__esModule?e:{default:e}}function wp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function to(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function Dp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var kp=function(e){Dp(t,e);function t(){var r,n,a,i;wp(this,t);for(var o=arguments.length,s=Array(o),u=0;u<o;u++)s[u]=arguments[u];return i=(n=(a=to(this,(r=t.__proto__||Object.getPrototypeOf(t)).call.apply(r,[this].concat(s))),a),a.renderDay=function(l){var c=a.props.month.getMonth(),d=qi.getModifiersFromProps(a.props),p=Ip.getModifiersForDay(l,d);eo.isSameDay(l,new Date)&&!Object.prototype.hasOwnProperty.call(d,a.props.classNames.today)&&p.push(a.props.classNames.today),l.getMonth()!==c&&p.push(a.props.classNames.outside);var h=l.getMonth()!==c,f=-1;a.props.onDayClick&&!h&&l.getDate()===1&&(f=a.props.tabIndex);var g=""+l.getFullYear()+l.getMonth()+l.getDate(),v={};return p.forEach(function(b){v[b]=!0}),ot.default.createElement(vp.default,{key:(h?"outside-":"")+g,classNames:a.props.classNames,day:l,modifiers:v,modifiersStyles:a.props.modifiersStyles,empty:h&&!a.props.showOutsideDays&&!a.props.fixedWeeks,tabIndex:f,ariaLabel:a.props.localeUtils.formatDay(l,a.props.locale),ariaDisabled:h||p.indexOf(a.props.classNames.disabled)>-1,ariaSelected:p.indexOf(a.props.classNames.selected)>-1,onClick:a.props.onDayClick,onFocus:a.props.onDayFocus,onKeyDown:a.props.onDayKeyDown,onMouseEnter:a.props.onDayMouseEnter,onMouseLeave:a.props.onDayMouseLeave,onMouseDown:a.props.onDayMouseDown,onMouseUp:a.props.onDayMouseUp,onTouchEnd:a.props.onDayTouchEnd,onTouchStart:a.props.onDayTouchStart},a.props.renderDay(l,v))},n),to(a,i)}return hp(t,[{key:"render",value:function(){var n=this,a=this.props,i=a.classNames,o=a.month,s=a.months,u=a.fixedWeeks,l=a.captionElement,c=a.weekdayElement,d=a.locale,p=a.localeUtils,h=a.weekdaysLong,f=a.weekdaysShort,g=a.firstDayOfWeek,v=a.onCaptionClick,b=a.showWeekNumbers,I=a.showWeekDays,x=a.onWeekClick,k={date:o,classNames:i,months:s,localeUtils:p,locale:d,onClick:v?function(D){return v(o,D)}:void 0},y=ot.default.isValidElement(l)?ot.default.cloneElement(l,k):ot.default.createElement(l,k),C=qi.getWeekArray(o,g,u);return ot.default.createElement("div",{className:i.month,role:"grid"},y,I&&ot.default.createElement(mp.default,{classNames:i,weekdaysShort:f,weekdaysLong:h,firstDayOfWeek:g,showWeekNumbers:b,locale:d,localeUtils:p,weekdayElement:c}),ot.default.createElement("div",{className:i.body,role:"rowgroup"},C.map(function(D){var P=void 0;return b&&(P=eo.getWeekNumber(D[6])),ot.default.createElement("div",{key:D[0].getTime(),className:i.week,role:"row"},b&&ot.default.createElement("div",{className:i.weekNumber,tabIndex:x?0:-1,role:"gridcell",onClick:x?function(_){return x(P,D,_)}:void 0,onKeyUp:x?function(_){return _.keyCode===bp.ENTER&&x(P,D,_)}:void 0},n.props.renderWeek(P,D,o)),D.map(n.renderDay))})))}}]),t}(Zs.Component);Ta.default=kp;var La={};Object.defineProperty(La,"__esModule",{value:!0});var Mp=function(){function e(t,r){for(var n=0;n<r.length;n++){var a=r[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),Xs=m,no=Sp(Xs);function Sp(e){return e&&e.__esModule?e:{default:e}}function Ep(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ap(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function _p(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var Np=function(e){_p(t,e);function t(){return Ep(this,t),Ap(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return Mp(t,[{key:"shouldComponentUpdate",value:function(n){return this.props!==n}},{key:"render",value:function(){var n=this.props,a=n.weekday,i=n.className,o=n.weekdaysLong,s=n.weekdaysShort,u=n.localeUtils,l=n.locale,c=void 0;o?c=o[a]:c=u.formatWeekdayLong(a,l);var d=void 0;return s?d=s[a]:d=u.formatWeekdayShort(a,l),no.default.createElement("div",{className:i,role:"columnheader"},no.default.createElement("abbr",{title:c},d))}}]),t}(Xs.Component);La.default=Np;Object.defineProperty(Ye,"__esModule",{value:!0});Ye.ModifiersUtils=Ye.LocaleUtils=Ye.DateUtils=Ye.DayPicker=void 0;var ro=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Op=function(){function e(t,r){for(var n=0;n<r.length;n++){var a=r[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),js=m,Pe=Jt(js),Pp=Oa,Tp=Jt(Pp),Fp=Pa,Rp=Jt(Fp),Gp=Ta,Bp=Jt(Gp),Wp=La,Yp=Jt(Wp),Vp=pe,j=hr(Vp),Lp=ue,xe=hr(Lp),Hp=Ze,Ha=hr(Hp),Zp=Pt,Za=hr(Zp),Xp=$t,Fr=Jt(Xp),Je=De;function hr(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function Jt(e){return e&&e.__esModule?e:{default:e}}function jp(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}function zp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Up(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function $p(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var Qt=Ye.DayPicker=function(e){$p(t,e);function t(r){zp(this,t);var n=Up(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,r));n.dayPicker=null,n.showNextMonth=function(i){if(n.allowNextMonth()){var o=n.props.pagedNavigation?n.props.numberOfMonths:1,s=xe.addMonths(n.state.currentMonth,o);n.showMonth(s,i)}},n.showPreviousMonth=function(i){if(n.allowPreviousMonth()){var o=n.props.pagedNavigation?n.props.numberOfMonths:1,s=xe.addMonths(n.state.currentMonth,-o);n.showMonth(s,i)}},n.handleKeyDown=function(i){switch(i.persist(),i.keyCode){case Je.LEFT:n.props.dir==="rtl"?n.showNextMonth():n.showPreviousMonth(),j.cancelEvent(i);break;case Je.RIGHT:n.props.dir==="rtl"?n.showPreviousMonth():n.showNextMonth(),j.cancelEvent(i);break;case Je.UP:n.showPreviousYear(),j.cancelEvent(i);break;case Je.DOWN:n.showNextYear(),j.cancelEvent(i);break}n.props.onKeyDown&&n.props.onKeyDown(i)},n.handleDayKeyDown=function(i,o,s){switch(s.persist(),s.keyCode){case Je.LEFT:j.cancelEvent(s),n.props.dir==="rtl"?n.focusNextDay(s.target):n.focusPreviousDay(s.target);break;case Je.RIGHT:j.cancelEvent(s),n.props.dir==="rtl"?n.focusPreviousDay(s.target):n.focusNextDay(s.target);break;case Je.UP:j.cancelEvent(s),n.focusPreviousWeek(s.target);break;case Je.DOWN:j.cancelEvent(s),n.focusNextWeek(s.target);break;case Je.ENTER:case Je.SPACE:j.cancelEvent(s),n.props.onDayClick&&n.handleDayClick(i,o,s);break}n.props.onDayKeyDown&&n.props.onDayKeyDown(i,o,s)},n.handleDayClick=function(i,o,s){s.persist(),o[n.props.classNames.outside]&&n.props.enableOutsideDaysClick&&n.handleOutsideDayClick(i),n.props.onDayClick&&n.props.onDayClick(i,o,s)},n.handleTodayButtonClick=function(i){var o=new Date,s=new Date(o.getFullYear(),o.getMonth());n.showMonth(s),i.target.blur(),n.props.onTodayButtonClick&&(i.persist(),n.props.onTodayButtonClick(new Date(o.getFullYear(),o.getMonth(),o.getDate()),Za.getModifiersForDay(o,n.props.modifiers),i))};var a=n.getCurrentMonthFromProps(r);return n.state={currentMonth:a},n}return Op(t,[{key:"componentDidUpdate",value:function(n){if(n.month!==this.props.month&&!xe.isSameMonth(n.month,this.props.month)){var a=this.getCurrentMonthFromProps(this.props);this.setState({currentMonth:a})}}},{key:"getCurrentMonthFromProps",value:function(n){var a=j.startOfMonth(n.month||n.initialMonth||new Date),i=a;if(n.pagedNavigation&&n.numberOfMonths>1&&n.fromMonth){var o=j.startOfMonth(n.fromMonth),s=j.getMonthsDiff(o,i);i=xe.addMonths(o,Math.floor(s/n.numberOfMonths)*n.numberOfMonths)}else n.toMonth&&n.numberOfMonths>1&&j.getMonthsDiff(i,n.toMonth)<=0&&(i=xe.addMonths(j.startOfMonth(n.toMonth),1-this.props.numberOfMonths));return i}},{key:"getNextNavigableMonth",value:function(){return xe.addMonths(this.state.currentMonth,this.props.numberOfMonths)}},{key:"getPreviousNavigableMonth",value:function(){return xe.addMonths(this.state.currentMonth,-1)}},{key:"allowPreviousMonth",value:function(){var n=xe.addMonths(this.state.currentMonth,-1);return this.allowMonth(n)}},{key:"allowNextMonth",value:function(){var n=xe.addMonths(this.state.currentMonth,this.props.numberOfMonths);return this.allowMonth(n)}},{key:"allowMonth",value:function(n){var a=this.props,i=a.fromMonth,o=a.toMonth,s=a.canChangeMonth;return!(!s||i&&j.getMonthsDiff(i,n)<0||o&&j.getMonthsDiff(o,n)>0)}},{key:"allowYearChange",value:function(){return this.props.canChangeMonth}},{key:"showMonth",value:function(n,a){var i=this;this.allowMonth(n)&&this.setState({currentMonth:j.startOfMonth(n)},function(){a&&a(),i.props.onMonthChange&&i.props.onMonthChange(i.state.currentMonth)})}},{key:"showNextYear",value:function(){if(this.allowYearChange()){var n=xe.addMonths(this.state.currentMonth,12);this.showMonth(n)}}},{key:"showPreviousYear",value:function(){if(this.allowYearChange()){var n=xe.addMonths(this.state.currentMonth,-12);this.showMonth(n)}}},{key:"focus",value:function(){this.wrapper.focus()}},{key:"focusFirstDayOfMonth",value:function(){j.getDayNodes(this.dayPicker,this.props.classNames)[0].focus()}},{key:"focusLastDayOfMonth",value:function(){var n=j.getDayNodes(this.dayPicker,this.props.classNames);n[n.length-1].focus()}},{key:"focusPreviousDay",value:function(n){var a=this,i=j.getDayNodes(this.dayPicker,this.props.classNames),o=j.nodeListToArray(i).indexOf(n);o!==-1&&(o===0?this.showPreviousMonth(function(){return a.focusLastDayOfMonth()}):i[o-1].focus())}},{key:"focusNextDay",value:function(n){var a=this,i=j.getDayNodes(this.dayPicker,this.props.classNames),o=j.nodeListToArray(i).indexOf(n);o!==-1&&(o===i.length-1?this.showNextMonth(function(){return a.focusFirstDayOfMonth()}):i[o+1].focus())}},{key:"focusNextWeek",value:function(n){var a=this,i=j.getDayNodes(this.dayPicker,this.props.classNames),o=j.nodeListToArray(i).indexOf(n),s=o>i.length-8;s?this.showNextMonth(function(){var u=i.length-o,l=7-u;j.getDayNodes(a.dayPicker,a.props.classNames)[l].focus()}):i[o+7].focus()}},{key:"focusPreviousWeek",value:function(n){var a=this,i=j.getDayNodes(this.dayPicker,this.props.classNames),o=j.nodeListToArray(i).indexOf(n),s=o<=6;s?this.showPreviousMonth(function(){var u=j.getDayNodes(a.dayPicker,a.props.classNames),l=u.length-7,c=l+o;u[c].focus()}):i[o-7].focus()}},{key:"handleOutsideDayClick",value:function(n){var a=this.state.currentMonth,i=this.props.numberOfMonths,o=j.getMonthsDiff(a,n);o>0&&o>=i?this.showNextMonth():o<0&&this.showPreviousMonth()}},{key:"renderNavbar",value:function(){var n=this.props,a=n.labels,i=n.locale,o=n.localeUtils,s=n.canChangeMonth,u=n.navbarElement,l=jp(n,["labels","locale","localeUtils","canChangeMonth","navbarElement"]);if(!s)return null;var c={month:this.state.currentMonth,classNames:this.props.classNames,className:this.props.classNames.navBar,nextMonth:this.getNextNavigableMonth(),previousMonth:this.getPreviousNavigableMonth(),showPreviousButton:this.allowPreviousMonth(),showNextButton:this.allowNextMonth(),onNextClick:this.showNextMonth,onPreviousClick:this.showPreviousMonth,dir:l.dir,labels:a,locale:i,localeUtils:o};return Pe.default.isValidElement(u)?Pe.default.cloneElement(u,c):Pe.default.createElement(u,c)}},{key:"renderMonths",value:function(){for(var n=[],a=j.getFirstDayOfWeekFromProps(this.props),i=0;i<this.props.numberOfMonths;i+=1){var o=xe.addMonths(this.state.currentMonth,i);n.push(Pe.default.createElement(Bp.default,ro({key:i},this.props,{month:o,firstDayOfWeek:a,onDayKeyDown:this.handleDayKeyDown,onDayClick:this.handleDayClick})))}return this.props.reverseMonths&&n.reverse(),n}},{key:"renderFooter",value:function(){return this.props.todayButton?Pe.default.createElement("div",{className:this.props.classNames.footer},this.renderTodayButton()):null}},{key:"renderTodayButton",value:function(){return Pe.default.createElement("button",{type:"button",tabIndex:0,className:this.props.classNames.todayButton,"aria-label":this.props.todayButton,onClick:this.handleTodayButtonClick},this.props.todayButton)}},{key:"render",value:function(){var n=this,a=this.props.classNames.container;return this.props.onDayClick||(a=a+" "+this.props.classNames.interactionDisabled),this.props.className&&(a=a+" "+this.props.className),Pe.default.createElement("div",ro({},this.props.containerProps,{className:a,ref:function(o){return n.dayPicker=o},lang:this.props.locale}),Pe.default.createElement("div",{className:this.props.classNames.wrapper,ref:function(o){return n.wrapper=o},tabIndex:this.props.canChangeMonth&&typeof this.props.tabIndex<"u"?this.props.tabIndex:-1,onKeyDown:this.handleKeyDown,onFocus:this.props.onFocus,onBlur:this.props.onBlur},this.renderNavbar(),Pe.default.createElement("div",{className:this.props.classNames.months},this.renderMonths()),this.renderFooter()))}}]),t}(js.Component);Qt.defaultProps={classNames:Fr.default,tabIndex:0,numberOfMonths:1,labels:{previousMonth:"Previous Month",nextMonth:"Next Month"},locale:"en",localeUtils:Ha,showOutsideDays:!1,enableOutsideDaysClick:!0,fixedWeeks:!1,canChangeMonth:!0,reverseMonths:!1,pagedNavigation:!1,showWeekNumbers:!1,showWeekDays:!0,renderDay:function(t){return t.getDate()},renderWeek:function(t){return t},weekdayElement:Pe.default.createElement(Yp.default,null),navbarElement:Pe.default.createElement(Rp.default,{classNames:Fr.default}),captionElement:Pe.default.createElement(Tp.default,{classNames:Fr.default})};Qt.VERSION="7.4.10";Qt.DateUtils=xe;Qt.LocaleUtils=Ha;Qt.ModifiersUtils=Za;Ye.DateUtils=xe;Ye.LocaleUtils=Ha;Ye.ModifiersUtils=Za;Ye.default=Qt;Object.defineProperty(xt,"__esModule",{value:!0});xt.HIDE_TIMEOUT=void 0;var Jp=function(){function e(t,r){for(var n=0;n<r.length;n++){var a=r[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),sn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};xt.OverlayComponent=Us;xt.defaultFormat=$s;xt.defaultParse=Js;var Qp=m,St=zs(Qp),Kp=Ye,qp=zs(Kp),un=ue,em=Pt,ao=De;function zs(e){return e&&e.__esModule?e:{default:e}}function tm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rm(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function am(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function im(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var om=xt.HIDE_TIMEOUT=100;function Us(e){e.input,e.selectedDay,e.month;var t=e.children,r=e.classNames,n=im(e,["input","selectedDay","month","children","classNames"]);return St.default.createElement("div",sn({className:r.overlayWrapper},n),St.default.createElement("div",{className:r.overlay},t))}function $s(e){if((0,un.isDate)(e)){var t=e.getFullYear(),r=""+(e.getMonth()+1),n=""+e.getDate();return t+"-"+r+"-"+n}return""}function Js(e){if(typeof e=="string"){var t=e.split("-");if(t.length===3){var r=parseInt(t[0],10),n=parseInt(t[1],10)-1,a=parseInt(t[2],10);if(!(isNaN(r)||String(r).length>4||isNaN(n)||isNaN(a)||a<=0||a>31||n<0||n>=12))return new Date(r,n,a,12,0,0,0)}}}var Qs=function(e){am(t,e);function t(r){nm(this,t);var n=rm(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,r));return n.input=null,n.daypicker=null,n.clickTimeout=null,n.hideTimeout=null,n.inputBlurTimeout=null,n.inputFocusTimeout=null,n.state=n.getInitialStateFromProps(r),n.state.showOverlay=r.showOverlay,n.hideAfterDayClick=n.hideAfterDayClick.bind(n),n.handleInputClick=n.handleInputClick.bind(n),n.handleInputFocus=n.handleInputFocus.bind(n),n.handleInputBlur=n.handleInputBlur.bind(n),n.handleInputChange=n.handleInputChange.bind(n),n.handleInputKeyDown=n.handleInputKeyDown.bind(n),n.handleInputKeyUp=n.handleInputKeyUp.bind(n),n.handleDayClick=n.handleDayClick.bind(n),n.handleMonthChange=n.handleMonthChange.bind(n),n.handleOverlayFocus=n.handleOverlayFocus.bind(n),n.handleOverlayBlur=n.handleOverlayBlur.bind(n),n}return Jp(t,[{key:"componentDidUpdate",value:function(n){var a={},i=this.props,o=i.value,s=i.formatDate,u=i.format,l=i.dayPickerProps;(o!==n.value||l.locale!==n.dayPickerProps.locale||u!==n.format)&&((0,un.isDate)(o)?a.value=s(o,u,l.locale):a.value=o);var c=n.dayPickerProps.month;l.month&&l.month!==c&&!(0,un.isSameMonth)(l.month,c)&&(a.month=l.month),n.dayPickerProps.selectedDays!==l.selectedDays&&(a.selectedDays=l.selectedDays),Object.keys(a).length>0&&this.setState(a)}},{key:"componentWillUnmount",value:function(){clearTimeout(this.clickTimeout),clearTimeout(this.hideTimeout),clearTimeout(this.inputFocusTimeout),clearTimeout(this.inputBlurTimeout),clearTimeout(this.overlayBlurTimeout)}},{key:"getInitialMonthFromProps",value:function(n){var a=n.dayPickerProps,i=n.format,o=void 0;return n.value&&((0,un.isDate)(n.value)?o=n.value:o=n.parseDate(n.value,i,a.locale)),a.initialMonth||a.month||o||new Date}},{key:"getInitialStateFromProps",value:function(n){var a=n.dayPickerProps,i=n.formatDate,o=n.format,s=n.typedValue,u=n.value;return n.value&&(0,un.isDate)(n.value)&&(u=i(n.value,o,a.locale)),{value:u,typedValue:s,month:this.getInitialMonthFromProps(n),selectedDays:a.selectedDays}}},{key:"getInput",value:function(){return this.input}},{key:"getDayPicker",value:function(){return this.daypicker}},{key:"updateState",value:function(n,a,i){var o=this,s=this.props,u=s.dayPickerProps,l=s.onDayChange;this.setState({month:n,value:a,typedValue:""},function(){if(i&&i(),!!l){var c=sn({disabled:u.disabledDays,selected:u.selectedDays},u.modifiers),d=(0,em.getModifiersForDay)(n,c).reduce(function(p,h){return sn({},p,tm({},h,!0))},{});l(n,d,o)}})}},{key:"showDayPicker",value:function(){var n=this,a=this.props,i=a.parseDate,o=a.format,s=a.dayPickerProps,u=this.state,l=u.value,c=u.showOverlay;if(!c){var d=l?i(l,o,s.locale):this.getInitialMonthFromProps(this.props);this.setState(function(p){return{showOverlay:!0,month:d||p.month}},function(){n.props.onDayPickerShow&&n.props.onDayPickerShow()})}}},{key:"hideDayPicker",value:function(){var n=this;this.state.showOverlay!==!1&&this.setState({showOverlay:!1},function(){n.props.onDayPickerHide&&n.props.onDayPickerHide()})}},{key:"hideAfterDayClick",value:function(){var n=this;this.props.hideOnDayClick&&(this.hideTimeout=setTimeout(function(){n.overlayHasFocus=!1,n.hideDayPicker()},om))}},{key:"handleInputClick",value:function(n){this.showDayPicker(),this.props.inputProps.onClick&&(n.persist(),this.props.inputProps.onClick(n))}},{key:"handleInputFocus",value:function(n){var a=this;this.showDayPicker(),this.inputFocusTimeout=setTimeout(function(){a.overlayHasFocus=!1},2),this.props.inputProps.onFocus&&(n.persist(),this.props.inputProps.onFocus(n))}},{key:"handleInputBlur",value:function(n){var a=this;this.inputBlurTimeout=setTimeout(function(){a.overlayHasFocus||a.hideDayPicker()},1),this.props.inputProps.onBlur&&(n.persist(),this.props.inputProps.onBlur(n))}},{key:"handleOverlayFocus",value:function(n){n.preventDefault(),this.overlayHasFocus=!0,!(!this.props.keepFocus||!this.input||typeof this.input.focus!="function")&&this.input.focus()}},{key:"handleOverlayBlur",value:function(){var n=this;this.overlayBlurTimeout=setTimeout(function(){n.overlayHasFocus=!1},3)}},{key:"handleInputChange",value:function(n){var a=this.props,i=a.dayPickerProps,o=a.format,s=a.inputProps,u=a.onDayChange,l=a.parseDate;s.onChange&&(n.persist(),s.onChange(n));var c=n.target.value;if(c.trim()===""){this.setState({value:c,typedValue:""}),u&&u(void 0,{},this);return}var d=l(c,o,i.locale);if(!d){this.setState({value:c,typedValue:c}),u&&u(void 0,{},this);return}this.updateState(d,c)}},{key:"handleInputKeyDown",value:function(n){n.keyCode===ao.TAB?this.hideDayPicker():this.showDayPicker(),this.props.inputProps.onKeyDown&&(n.persist(),this.props.inputProps.onKeyDown(n))}},{key:"handleInputKeyUp",value:function(n){n.keyCode===ao.ESC?this.hideDayPicker():this.showDayPicker(),this.props.inputProps.onKeyUp&&(n.persist(),this.props.inputProps.onKeyUp(n))}},{key:"handleMonthChange",value:function(n){var a=this;this.setState({month:n},function(){a.props.dayPickerProps&&a.props.dayPickerProps.onMonthChange&&a.props.dayPickerProps.onMonthChange(n)})}},{key:"handleDayClick",value:function(n,a,i){var o=this,s=this.props,u=s.clickUnselectsDay,l=s.dayPickerProps,c=s.onDayChange,d=s.formatDate,p=s.format;if(l.onDayClick&&l.onDayClick(n,a,i),!(a.disabled||l&&l.classNames&&a[l.classNames.disabled])){if(a.selected&&u){var h=this.state.selectedDays;if(Array.isArray(h)){h=h.slice(0);var f=h.indexOf(n);h.splice(f,1)}else h&&(h=null);this.setState({value:"",typedValue:"",selectedDays:h},this.hideAfterDayClick),c&&c(void 0,a,this);return}var g=d(n,p,l.locale);this.setState({value:g,typedValue:"",month:n},function(){c&&c(n,a,o),o.hideAfterDayClick()})}}},{key:"renderOverlay",value:function(){var n=this,a=this.props,i=a.classNames,o=a.dayPickerProps,s=a.parseDate,u=a.formatDate,l=a.format,c=this.state,d=c.selectedDays,p=c.value,h=void 0;if(!d&&p){var f=s(p,l,o.locale);f&&(h=f)}else d&&(h=d);var g=void 0;o.todayButton&&(g=function(){return n.updateState(new Date,u(new Date,l,o.locale),n.hideAfterDayClick)});var v=this.props.overlayComponent;return St.default.createElement(v,{classNames:i,month:this.state.month,selectedDay:h,input:this.input,tabIndex:0,onFocus:this.handleOverlayFocus,onBlur:this.handleOverlayBlur},St.default.createElement(qp.default,sn({ref:function(I){return n.daypicker=I},onTodayButtonClick:g},o,{month:this.state.month,selectedDays:h,onDayClick:this.handleDayClick,onMonthChange:this.handleMonthChange})))}},{key:"render",value:function(){var n=this,a=this.props.component,i=this.props.inputProps;return St.default.createElement("div",{className:this.props.classNames.container,style:this.props.style},St.default.createElement(a,sn({ref:function(s){return n.input=s},placeholder:this.props.placeholder},i,{value:this.state.value||this.state.typedValue,onChange:this.handleInputChange,onFocus:this.handleInputFocus,onBlur:this.handleInputBlur,onKeyDown:this.handleInputKeyDown,onKeyUp:this.handleInputKeyUp,onClick:i.disabled?void 0:this.handleInputClick})),this.state.showOverlay&&this.renderOverlay())}}]),t}(St.default.Component);Qs.defaultProps={dayPickerProps:{},value:"",typedValue:"",placeholder:"YYYY-M-D",format:"L",formatDate:$s,parseDate:Js,showOverlay:!1,hideOnDayClick:!0,clickUnselectsDay:!1,keepFocus:!0,component:"input",inputProps:{},overlayComponent:Us,classNames:{container:"DayPickerInput",overlayWrapper:"DayPickerInput-OverlayWrapper",overlay:"DayPickerInput-Overlay"}};xt.default=Qs;var sm=xt;const um=ga(sm);//! moment.js
|
|
682
|
+
`;_s.propTypes={text:se.node.isRequired,isFilled:se.bool,color:se.string,applyCustomStylings:se.func};function $h(e,t,n="long"){return new Intl.DateTimeFormat("en-US",{hour:"numeric",timeZone:e,timeZoneName:n}).format(t).split(/\s/g).slice(2).join(" ")}const Lr={},vn={};function Bt(e,t){try{const r=(Lr[e]||(Lr[e]=new Intl.DateTimeFormat("en-US",{timeZone:e,timeZoneName:"longOffset"}).format))(t).split("GMT")[1];return r in vn?vn[r]:uo(r,r.split(":"))}catch{if(e in vn)return vn[e];const n=e==null?void 0:e.match(Qh);return n?uo(e,n.slice(1)):NaN}}const Qh=/([+-]\d\d):?(\d\d)?/;function uo(e,t){const n=+(t[0]||0),r=+(t[1]||0),a=+(t[2]||0)/60;return vn[e]=n*60+r>0?n*60+r+a:n*60-r-a}class ft extends Date{constructor(...t){super(),t.length>1&&typeof t[t.length-1]=="string"&&(this.timeZone=t.pop()),this.internal=new Date,isNaN(Bt(this.timeZone,this))?this.setTime(NaN):t.length?typeof t[0]=="number"&&(t.length===1||t.length===2&&typeof t[1]!="number")?this.setTime(t[0]):typeof t[0]=="string"?this.setTime(+new Date(t[0])):t[0]instanceof Date?this.setTime(+t[0]):(this.setTime(+new Date(...t)),Ws(this),pa(this)):this.setTime(Date.now())}static tz(t,...n){return n.length?new ft(...n,t):new ft(Date.now(),t)}withTimeZone(t){return new ft(+this,t)}getTimezoneOffset(){const t=-Bt(this.timeZone,this);return t>0?Math.floor(t):Math.ceil(t)}setTime(t){return Date.prototype.setTime.apply(this,arguments),pa(this),+this}[Symbol.for("constructDateFrom")](t){return new ft(+new Date(t),this.timeZone)}}const lo=/^(get|set)(?!UTC)/;Object.getOwnPropertyNames(Date.prototype).forEach(e=>{if(!lo.test(e))return;const t=e.replace(lo,"$1UTC");ft.prototype[t]&&(e.startsWith("get")?ft.prototype[e]=function(){return this.internal[t]()}:(ft.prototype[e]=function(){return Date.prototype[t].apply(this.internal,arguments),qh(this),+this},ft.prototype[t]=function(){return Date.prototype[t].apply(this,arguments),pa(this),+this}))});function pa(e){e.internal.setTime(+e),e.internal.setUTCSeconds(e.internal.getUTCSeconds()-Math.round(-Bt(e.timeZone,e)*60))}function qh(e){Date.prototype.setFullYear.call(e,e.internal.getUTCFullYear(),e.internal.getUTCMonth(),e.internal.getUTCDate()),Date.prototype.setHours.call(e,e.internal.getUTCHours(),e.internal.getUTCMinutes(),e.internal.getUTCSeconds(),e.internal.getUTCMilliseconds()),Ws(e)}function Ws(e){const t=Bt(e.timeZone,e),n=t>0?Math.floor(t):Math.ceil(t),r=new Date(+e);r.setUTCHours(r.getUTCHours()-1);const a=-new Date(+e).getTimezoneOffset(),i=-new Date(+r).getTimezoneOffset(),o=a-i,s=Date.prototype.getHours.apply(e)!==e.internal.getUTCHours();o&&s&&e.internal.setUTCMinutes(e.internal.getUTCMinutes()+o);const u=a-n;u&&Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+u);const l=new Date(+e);l.setUTCSeconds(0);const c=a>0?l.getSeconds():(l.getSeconds()-60)%60,d=Math.round(-(Bt(e.timeZone,e)*60))%60;(d||c)&&(e.internal.setUTCSeconds(e.internal.getUTCSeconds()+d),Date.prototype.setUTCSeconds.call(e,Date.prototype.getUTCSeconds.call(e)+d+c));const m=Bt(e.timeZone,e),h=m>0?Math.floor(m):Math.ceil(m),v=-new Date(+e).getTimezoneOffset()-h,b=h!==n,I=v-u;if(b&&I){Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+I);const x=Bt(e.timeZone,e),C=x>0?Math.floor(x):Math.ceil(x),M=h-C;M&&(e.internal.setUTCMinutes(e.internal.getUTCMinutes()+M),Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+M))}}class We extends ft{static tz(t,...n){return n.length?new We(...n,t):new We(Date.now(),t)}toISOString(){const[t,n,r]=this.tzComponents(),a=`${t}${n}:${r}`;return this.internal.toISOString().slice(0,-1)+a}toString(){return`${this.toDateString()} ${this.toTimeString()}`}toDateString(){const[t,n,r,a]=this.internal.toUTCString().split(" ");return`${t==null?void 0:t.slice(0,-1)} ${r} ${n} ${a}`}toTimeString(){const t=this.internal.toUTCString().split(" ")[4],[n,r,a]=this.tzComponents();return`${t} GMT${n}${r}${a} (${$h(this.timeZone,this)})`}toLocaleString(t,n){return Date.prototype.toLocaleString.call(this,t,{...n,timeZone:(n==null?void 0:n.timeZone)||this.timeZone})}toLocaleDateString(t,n){return Date.prototype.toLocaleDateString.call(this,t,{...n,timeZone:(n==null?void 0:n.timeZone)||this.timeZone})}toLocaleTimeString(t,n){return Date.prototype.toLocaleTimeString.call(this,t,{...n,timeZone:(n==null?void 0:n.timeZone)||this.timeZone})}tzComponents(){const t=this.getTimezoneOffset(),n=t>0?"-":"+",r=String(Math.floor(Math.abs(t)/60)).padStart(2,"0"),a=String(Math.abs(t)%60).padStart(2,"0");return[n,r,a]}withTimeZone(t){return new We(+this,t)}[Symbol.for("constructDateFrom")](t){return new We(+new Date(t),this.timeZone)}}const Fs=6048e5,Kh=864e5,co=Symbol.for("constructDateFrom");function De(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&co in e?e[co](t):e instanceof Date?new e.constructor(t):new Date(t)}function le(e,t){return De(t||e,e)}function Gs(e,t,n){const r=le(e,n==null?void 0:n.in);return isNaN(t)?De((n==null?void 0:n.in)||e,NaN):(t&&r.setDate(r.getDate()+t),r)}function Ps(e,t,n){const r=le(e,n==null?void 0:n.in);if(isNaN(t))return De((n==null?void 0:n.in)||e,NaN);if(!t)return r;const a=r.getDate(),i=De((n==null?void 0:n.in)||e,r.getTime());i.setMonth(r.getMonth()+t+1,0);const o=i.getDate();return a>=o?i:(r.setFullYear(i.getFullYear(),i.getMonth(),a),r)}let em={};function _n(){return em}function rn(e,t){var s,u,l,c;const n=_n(),r=(t==null?void 0:t.weekStartsOn)??((u=(s=t==null?void 0:t.locale)==null?void 0:s.options)==null?void 0:u.weekStartsOn)??n.weekStartsOn??((c=(l=n.locale)==null?void 0:l.options)==null?void 0:c.weekStartsOn)??0,a=le(e,t==null?void 0:t.in),i=a.getDay(),o=(i<r?7:0)+i-r;return a.setDate(a.getDate()-o),a.setHours(0,0,0,0),a}function Dn(e,t){return rn(e,{...t,weekStartsOn:1})}function Ys(e,t){const n=le(e,t==null?void 0:t.in),r=n.getFullYear(),a=De(n,0);a.setFullYear(r+1,0,4),a.setHours(0,0,0,0);const i=Dn(a),o=De(n,0);o.setFullYear(r,0,4),o.setHours(0,0,0,0);const s=Dn(o);return n.getTime()>=i.getTime()?r+1:n.getTime()>=s.getTime()?r:r-1}function fo(e){const t=le(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function un(e,...t){const n=De.bind(null,e||t.find(r=>typeof r=="object"));return t.map(n)}function En(e,t){const n=le(e,t==null?void 0:t.in);return n.setHours(0,0,0,0),n}function Ja(e,t,n){const[r,a]=un(n==null?void 0:n.in,e,t),i=En(r),o=En(a),s=+i-fo(i),u=+o-fo(o);return Math.round((s-u)/Kh)}function tm(e,t){const n=Ys(e,t),r=De((t==null?void 0:t.in)||e,0);return r.setFullYear(n,0,4),r.setHours(0,0,0,0),Dn(r)}function nm(e,t,n){return Gs(e,t*7,n)}function rm(e,t,n){return Ps(e,t*12,n)}function am(e,t){let n,r=t==null?void 0:t.in;return e.forEach(a=>{!r&&typeof a=="object"&&(r=De.bind(null,a));const i=le(a,r);(!n||n<i||isNaN(+i))&&(n=i)}),De(r,n||NaN)}function im(e,t){let n,r=t==null?void 0:t.in;return e.forEach(a=>{!r&&typeof a=="object"&&(r=De.bind(null,a));const i=le(a,r);(!n||n>i||isNaN(+i))&&(n=i)}),De(r,n||NaN)}function om(e,t,n){const[r,a]=un(n==null?void 0:n.in,e,t);return+En(r)==+En(a)}function Rs(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function sm(e){return!(!Rs(e)&&typeof e!="number"||isNaN(+le(e)))}function Bs(e,t,n){const[r,a]=un(n==null?void 0:n.in,e,t),i=r.getFullYear()-a.getFullYear(),o=r.getMonth()-a.getMonth();return i*12+o}function um(e,t){const n=le(e,t==null?void 0:t.in),r=n.getMonth();return n.setFullYear(n.getFullYear(),r+1,0),n.setHours(23,59,59,999),n}function Vs(e,t){const[n,r]=un(e,t.start,t.end);return{start:n,end:r}}function lm(e,t){const{start:n,end:r}=Vs(t==null?void 0:t.in,e);let a=+n>+r;const i=a?+n:+r,o=a?r:n;o.setHours(0,0,0,0),o.setDate(1);let s=(t==null?void 0:t.step)??1;if(!s)return[];s<0&&(s=-s,a=!a);const u=[];for(;+o<=i;)u.push(De(n,o)),o.setMonth(o.getMonth()+s);return a?u.reverse():u}function cm(e,t){const n=le(e,t==null?void 0:t.in);return n.setDate(1),n.setHours(0,0,0,0),n}function dm(e,t){const n=le(e,t==null?void 0:t.in),r=n.getFullYear();return n.setFullYear(r+1,0,0),n.setHours(23,59,59,999),n}function Hs(e,t){const n=le(e,t==null?void 0:t.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}function fm(e,t){const{start:n,end:r}=Vs(t==null?void 0:t.in,e);let a=+n>+r;const i=a?+n:+r,o=a?r:n;o.setHours(0,0,0,0),o.setMonth(0,1);let s=(t==null?void 0:t.step)??1;if(!s)return[];s<0&&(s=-s,a=!a);const u=[];for(;+o<=i;)u.push(De(n,o)),o.setFullYear(o.getFullYear()+s);return a?u.reverse():u}function Xs(e,t){var s,u,l,c;const n=_n(),r=(t==null?void 0:t.weekStartsOn)??((u=(s=t==null?void 0:t.locale)==null?void 0:s.options)==null?void 0:u.weekStartsOn)??n.weekStartsOn??((c=(l=n.locale)==null?void 0:l.options)==null?void 0:c.weekStartsOn)??0,a=le(e,t==null?void 0:t.in),i=a.getDay(),o=(i<r?-7:0)+6-(i-r);return a.setDate(a.getDate()+o),a.setHours(23,59,59,999),a}function hm(e,t){return Xs(e,{...t,weekStartsOn:1})}const mm={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},gm=(e,t,n)=>{let r;const a=mm[e];return typeof a=="string"?r=a:t===1?r=a.one:r=a.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};function jr(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const pm={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},bm={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},vm={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},ym={date:jr({formats:pm,defaultWidth:"full"}),time:jr({formats:bm,defaultWidth:"full"}),dateTime:jr({formats:vm,defaultWidth:"full"})},Im={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},xm=(e,t,n,r)=>Im[e];function hn(e){return(t,n)=>{const r=n!=null&&n.context?String(n.context):"standalone";let a;if(r==="formatting"&&e.formattingValues){const o=e.defaultFormattingWidth||e.defaultWidth,s=n!=null&&n.width?String(n.width):o;a=e.formattingValues[s]||e.formattingValues[o]}else{const o=e.defaultWidth,s=n!=null&&n.width?String(n.width):e.defaultWidth;a=e.values[s]||e.values[o]}const i=e.argumentCallback?e.argumentCallback(t):t;return a[i]}}const Cm={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},wm={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Mm={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Sm={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},km={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Dm={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Em=(e,t)=>{const n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},Om={ordinalNumber:Em,era:hn({values:Cm,defaultWidth:"wide"}),quarter:hn({values:wm,defaultWidth:"wide",argumentCallback:e=>e-1}),month:hn({values:Mm,defaultWidth:"wide"}),day:hn({values:Sm,defaultWidth:"wide"}),dayPeriod:hn({values:km,defaultWidth:"wide",formattingValues:Dm,defaultFormattingWidth:"wide"})};function mn(e){return(t,n={})=>{const r=n.width,a=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],i=t.match(a);if(!i)return null;const o=i[0],s=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(s)?Nm(s,d=>d.test(o)):Am(s,d=>d.test(o));let l;l=e.valueCallback?e.valueCallback(u):u,l=n.valueCallback?n.valueCallback(l):l;const c=t.slice(o.length);return{value:l,rest:c}}}function Am(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function Nm(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}function Tm(e){return(t,n={})=>{const r=t.match(e.matchPattern);if(!r)return null;const a=r[0],i=t.match(e.parsePattern);if(!i)return null;let o=e.valueCallback?e.valueCallback(i[0]):i[0];o=n.valueCallback?n.valueCallback(o):o;const s=t.slice(a.length);return{value:o,rest:s}}}const _m=/^(\d+)(th|st|nd|rd)?/i,Wm=/\d+/i,Fm={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Gm={any:[/^b/i,/^(a|c)/i]},Pm={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Ym={any:[/1/i,/2/i,/3/i,/4/i]},Rm={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Bm={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Vm={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Hm={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Xm={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Zm={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},Lm={ordinalNumber:Tm({matchPattern:_m,parsePattern:Wm,valueCallback:e=>parseInt(e,10)}),era:mn({matchPatterns:Fm,defaultMatchWidth:"wide",parsePatterns:Gm,defaultParseWidth:"any"}),quarter:mn({matchPatterns:Pm,defaultMatchWidth:"wide",parsePatterns:Ym,defaultParseWidth:"any",valueCallback:e=>e+1}),month:mn({matchPatterns:Rm,defaultMatchWidth:"wide",parsePatterns:Bm,defaultParseWidth:"any"}),day:mn({matchPatterns:Vm,defaultMatchWidth:"wide",parsePatterns:Hm,defaultParseWidth:"any"}),dayPeriod:mn({matchPatterns:Xm,defaultMatchWidth:"any",parsePatterns:Zm,defaultParseWidth:"any"})},Ut={code:"en-US",formatDistance:gm,formatLong:ym,formatRelative:xm,localize:Om,match:Lm,options:{weekStartsOn:0,firstWeekContainsDate:1}};function jm(e,t){const n=le(e,t==null?void 0:t.in);return Ja(n,Hs(n))+1}function Ua(e,t){const n=le(e,t==null?void 0:t.in),r=+Dn(n)-+tm(n);return Math.round(r/Fs)+1}function Zs(e,t){var c,d,m,h;const n=le(e,t==null?void 0:t.in),r=n.getFullYear(),a=_n(),i=(t==null?void 0:t.firstWeekContainsDate)??((d=(c=t==null?void 0:t.locale)==null?void 0:c.options)==null?void 0:d.firstWeekContainsDate)??a.firstWeekContainsDate??((h=(m=a.locale)==null?void 0:m.options)==null?void 0:h.firstWeekContainsDate)??1,o=De((t==null?void 0:t.in)||e,0);o.setFullYear(r+1,0,i),o.setHours(0,0,0,0);const s=rn(o,t),u=De((t==null?void 0:t.in)||e,0);u.setFullYear(r,0,i),u.setHours(0,0,0,0);const l=rn(u,t);return+n>=+s?r+1:+n>=+l?r:r-1}function zm(e,t){var s,u,l,c;const n=_n(),r=(t==null?void 0:t.firstWeekContainsDate)??((u=(s=t==null?void 0:t.locale)==null?void 0:s.options)==null?void 0:u.firstWeekContainsDate)??n.firstWeekContainsDate??((c=(l=n.locale)==null?void 0:l.options)==null?void 0:c.firstWeekContainsDate)??1,a=Zs(e,t),i=De((t==null?void 0:t.in)||e,0);return i.setFullYear(a,0,r),i.setHours(0,0,0,0),rn(i,t)}function $a(e,t){const n=le(e,t==null?void 0:t.in),r=+rn(n,t)-+zm(n,t);return Math.round(r/Fs)+1}function oe(e,t){const n=e<0?"-":"",r=Math.abs(e).toString().padStart(t,"0");return n+r}const Nt={y(e,t){const n=e.getFullYear(),r=n>0?n:1-n;return oe(t==="yy"?r%100:r,t.length)},M(e,t){const n=e.getMonth();return t==="M"?String(n+1):oe(n+1,2)},d(e,t){return oe(e.getDate(),t.length)},a(e,t){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(e,t){return oe(e.getHours()%12||12,t.length)},H(e,t){return oe(e.getHours(),t.length)},m(e,t){return oe(e.getMinutes(),t.length)},s(e,t){return oe(e.getSeconds(),t.length)},S(e,t){const n=t.length,r=e.getMilliseconds(),a=Math.trunc(r*Math.pow(10,n-3));return oe(a,t.length)}},jt={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},ho={G:function(e,t,n){const r=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});case"GGGG":default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if(t==="yo"){const r=e.getFullYear(),a=r>0?r:1-r;return n.ordinalNumber(a,{unit:"year"})}return Nt.y(e,t)},Y:function(e,t,n,r){const a=Zs(e,r),i=a>0?a:1-a;if(t==="YY"){const o=i%100;return oe(o,2)}return t==="Yo"?n.ordinalNumber(i,{unit:"year"}):oe(i,t.length)},R:function(e,t){const n=Ys(e);return oe(n,t.length)},u:function(e,t){const n=e.getFullYear();return oe(n,t.length)},Q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return oe(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return oe(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){const r=e.getMonth();switch(t){case"M":case"MM":return Nt.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){const r=e.getMonth();switch(t){case"L":return String(r+1);case"LL":return oe(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){const a=$a(e,r);return t==="wo"?n.ordinalNumber(a,{unit:"week"}):oe(a,t.length)},I:function(e,t,n){const r=Ua(e);return t==="Io"?n.ordinalNumber(r,{unit:"week"}):oe(r,t.length)},d:function(e,t,n){return t==="do"?n.ordinalNumber(e.getDate(),{unit:"date"}):Nt.d(e,t)},D:function(e,t,n){const r=jm(e);return t==="Do"?n.ordinalNumber(r,{unit:"dayOfYear"}):oe(r,t.length)},E:function(e,t,n){const r=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});case"EEEE":default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){const a=e.getDay(),i=(a-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return oe(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(a,{width:"short",context:"formatting"});case"eeee":default:return n.day(a,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){const a=e.getDay(),i=(a-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return oe(i,t.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(a,{width:"narrow",context:"standalone"});case"cccccc":return n.day(a,{width:"short",context:"standalone"});case"cccc":default:return n.day(a,{width:"wide",context:"standalone"})}},i:function(e,t,n){const r=e.getDay(),a=r===0?7:r;switch(t){case"i":return String(a);case"ii":return oe(a,t.length);case"io":return n.ordinalNumber(a,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});case"iiii":default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){const a=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(a,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},b:function(e,t,n){const r=e.getHours();let a;switch(r===12?a=jt.noon:r===0?a=jt.midnight:a=r/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(a,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},B:function(e,t,n){const r=e.getHours();let a;switch(r>=17?a=jt.evening:r>=12?a=jt.afternoon:r>=4?a=jt.morning:a=jt.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(a,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},h:function(e,t,n){if(t==="ho"){let r=e.getHours()%12;return r===0&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return Nt.h(e,t)},H:function(e,t,n){return t==="Ho"?n.ordinalNumber(e.getHours(),{unit:"hour"}):Nt.H(e,t)},K:function(e,t,n){const r=e.getHours()%12;return t==="Ko"?n.ordinalNumber(r,{unit:"hour"}):oe(r,t.length)},k:function(e,t,n){let r=e.getHours();return r===0&&(r=24),t==="ko"?n.ordinalNumber(r,{unit:"hour"}):oe(r,t.length)},m:function(e,t,n){return t==="mo"?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):Nt.m(e,t)},s:function(e,t,n){return t==="so"?n.ordinalNumber(e.getSeconds(),{unit:"second"}):Nt.s(e,t)},S:function(e,t){return Nt.S(e,t)},X:function(e,t,n){const r=e.getTimezoneOffset();if(r===0)return"Z";switch(t){case"X":return go(r);case"XXXX":case"XX":return Rt(r);case"XXXXX":case"XXX":default:return Rt(r,":")}},x:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"x":return go(r);case"xxxx":case"xx":return Rt(r);case"xxxxx":case"xxx":default:return Rt(r,":")}},O:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+mo(r,":");case"OOOO":default:return"GMT"+Rt(r,":")}},z:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+mo(r,":");case"zzzz":default:return"GMT"+Rt(r,":")}},t:function(e,t,n){const r=Math.trunc(+e/1e3);return oe(r,t.length)},T:function(e,t,n){return oe(+e,t.length)}};function mo(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),a=Math.trunc(r/60),i=r%60;return i===0?n+String(a):n+String(a)+t+oe(i,2)}function go(e,t){return e%60===0?(e>0?"-":"+")+oe(Math.abs(e)/60,2):Rt(e,t)}function Rt(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),a=oe(Math.trunc(r/60),2),i=oe(r%60,2);return n+a+t+i}const po=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},Ls=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},Jm=(e,t)=>{const n=e.match(/(P+)(p+)?/)||[],r=n[1],a=n[2];if(!a)return po(e,t);let i;switch(r){case"P":i=t.dateTime({width:"short"});break;case"PP":i=t.dateTime({width:"medium"});break;case"PPP":i=t.dateTime({width:"long"});break;case"PPPP":default:i=t.dateTime({width:"full"});break}return i.replace("{{date}}",po(r,t)).replace("{{time}}",Ls(a,t))},Um={p:Ls,P:Jm},$m=/^D+$/,Qm=/^Y+$/,qm=["D","DD","YY","YYYY"];function Km(e){return $m.test(e)}function eg(e){return Qm.test(e)}function tg(e,t,n){const r=ng(e,t,n);if(console.warn(r),qm.includes(e))throw new RangeError(r)}function ng(e,t,n){const r=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const rg=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,ag=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,ig=/^'([^]*?)'?$/,og=/''/g,sg=/[a-zA-Z]/;function yn(e,t,n){var c,d,m,h,g,v,b,I;const r=_n(),a=(n==null?void 0:n.locale)??r.locale??Ut,i=(n==null?void 0:n.firstWeekContainsDate)??((d=(c=n==null?void 0:n.locale)==null?void 0:c.options)==null?void 0:d.firstWeekContainsDate)??r.firstWeekContainsDate??((h=(m=r.locale)==null?void 0:m.options)==null?void 0:h.firstWeekContainsDate)??1,o=(n==null?void 0:n.weekStartsOn)??((v=(g=n==null?void 0:n.locale)==null?void 0:g.options)==null?void 0:v.weekStartsOn)??r.weekStartsOn??((I=(b=r.locale)==null?void 0:b.options)==null?void 0:I.weekStartsOn)??0,s=le(e,n==null?void 0:n.in);if(!sm(s))throw new RangeError("Invalid time value");let u=t.match(ag).map(x=>{const C=x[0];if(C==="p"||C==="P"){const M=Um[C];return M(x,a.formatLong)}return x}).join("").match(rg).map(x=>{if(x==="''")return{isToken:!1,value:"'"};const C=x[0];if(C==="'")return{isToken:!1,value:ug(x)};if(ho[C])return{isToken:!0,value:x};if(C.match(sg))throw new RangeError("Format string contains an unescaped latin alphabet character `"+C+"`");return{isToken:!1,value:x}});a.localize.preprocessor&&(u=a.localize.preprocessor(s,u));const l={firstWeekContainsDate:i,weekStartsOn:o,locale:a};return u.map(x=>{if(!x.isToken)return x.value;const C=x.value;(!(n!=null&&n.useAdditionalWeekYearTokens)&&eg(C)||!(n!=null&&n.useAdditionalDayOfYearTokens)&&Km(C))&&tg(C,t,String(e));const M=ho[C[0]];return M(s,C,a.localize,l)}).join("")}function ug(e){const t=e.match(ig);return t?t[1].replace(og,"'"):e}function lg(e,t){const n=le(e,t==null?void 0:t.in),r=n.getFullYear(),a=n.getMonth(),i=De(n,0);return i.setFullYear(r,a+1,0),i.setHours(0,0,0,0),i.getDate()}function cg(e,t){return le(e,t==null?void 0:t.in).getMonth()}function dg(e,t){return le(e,t==null?void 0:t.in).getFullYear()}function fg(e,t){return+le(e)>+le(t)}function hg(e,t){return+le(e)<+le(t)}function mg(e,t,n){const[r,a]=un(n==null?void 0:n.in,e,t);return r.getFullYear()===a.getFullYear()&&r.getMonth()===a.getMonth()}function gg(e,t,n){const[r,a]=un(n==null?void 0:n.in,e,t);return r.getFullYear()===a.getFullYear()}function pg(e,t,n){const r=le(e,n==null?void 0:n.in),a=r.getFullYear(),i=r.getDate(),o=De((n==null?void 0:n.in)||e,0);o.setFullYear(a,t,15),o.setHours(0,0,0,0);const s=lg(o);return r.setMonth(t,Math.min(i,s)),r}function bg(e,t,n){const r=le(e,n==null?void 0:n.in);return isNaN(+r)?De((n==null?void 0:n.in)||e,NaN):(r.setFullYear(t),r)}const bo=5,vg=4;function yg(e,t){const n=t.startOfMonth(e),r=n.getDay()>0?n.getDay():7,a=t.addDays(e,-r+1),i=t.addDays(a,bo*7-1);return t.getMonth(e)===t.getMonth(i)?bo:vg}function js(e,t){const n=t.startOfMonth(e),r=n.getDay();return r===1?n:r===0?t.addDays(n,-1*6):t.addDays(n,-1*(r-1))}function Ig(e,t){const n=js(e,t),r=yg(e,t);return t.addDays(n,r*7-1)}const zs={...Ut,labels:{labelDayButton:(e,t,n,r)=>{let a;r&&typeof r.format=="function"?a=r.format.bind(r):a=(o,s)=>yn(o,s,{locale:Ut,...n});let i=a(e,"PPPP");return t.today&&(i=`Today, ${i}`),t.selected&&(i=`${i}, selected`),i},labelMonthDropdown:"Choose the Month",labelNext:"Go to the Next Month",labelPrevious:"Go to the Previous Month",labelWeekNumber:e=>`Week ${e}`,labelYearDropdown:"Choose the Year",labelGrid:(e,t,n)=>{let r;return n&&typeof n.format=="function"?r=n.format.bind(n):r=(a,i)=>yn(a,i,{locale:Ut,...t}),r(e,"LLLL yyyy")},labelGridcell:(e,t,n,r)=>{let a;r&&typeof r.format=="function"?a=r.format.bind(r):a=(o,s)=>yn(o,s,{locale:Ut,...n});let i=a(e,"PPPP");return t!=null&&t.today&&(i=`Today, ${i}`),i},labelNav:"Navigation bar",labelWeekNumberHeader:"Week Number",labelWeekday:(e,t,n)=>{let r;return n&&typeof n.format=="function"?r=n.format.bind(n):r=(a,i)=>yn(a,i,{locale:Ut,...t}),r(e,"cccc")}}};class ze{constructor(t,n){this.Date=Date,this.today=()=>{var r;return(r=this.overrides)!=null&&r.today?this.overrides.today():this.options.timeZone?We.tz(this.options.timeZone):new this.Date},this.newDate=(r,a,i)=>{var o;return(o=this.overrides)!=null&&o.newDate?this.overrides.newDate(r,a,i):this.options.timeZone?new We(r,a,i,this.options.timeZone):new Date(r,a,i)},this.addDays=(r,a)=>{var i;return(i=this.overrides)!=null&&i.addDays?this.overrides.addDays(r,a):Gs(r,a)},this.addMonths=(r,a)=>{var i;return(i=this.overrides)!=null&&i.addMonths?this.overrides.addMonths(r,a):Ps(r,a)},this.addWeeks=(r,a)=>{var i;return(i=this.overrides)!=null&&i.addWeeks?this.overrides.addWeeks(r,a):nm(r,a)},this.addYears=(r,a)=>{var i;return(i=this.overrides)!=null&&i.addYears?this.overrides.addYears(r,a):rm(r,a)},this.differenceInCalendarDays=(r,a)=>{var i;return(i=this.overrides)!=null&&i.differenceInCalendarDays?this.overrides.differenceInCalendarDays(r,a):Ja(r,a)},this.differenceInCalendarMonths=(r,a)=>{var i;return(i=this.overrides)!=null&&i.differenceInCalendarMonths?this.overrides.differenceInCalendarMonths(r,a):Bs(r,a)},this.eachMonthOfInterval=r=>{var a;return(a=this.overrides)!=null&&a.eachMonthOfInterval?this.overrides.eachMonthOfInterval(r):lm(r)},this.eachYearOfInterval=r=>{var s;const a=(s=this.overrides)!=null&&s.eachYearOfInterval?this.overrides.eachYearOfInterval(r):fm(r),i=new Set(a.map(u=>this.getYear(u)));if(i.size===a.length)return a;const o=[];return i.forEach(u=>{o.push(new Date(u,0,1))}),o},this.endOfBroadcastWeek=r=>{var a;return(a=this.overrides)!=null&&a.endOfBroadcastWeek?this.overrides.endOfBroadcastWeek(r):Ig(r,this)},this.endOfISOWeek=r=>{var a;return(a=this.overrides)!=null&&a.endOfISOWeek?this.overrides.endOfISOWeek(r):hm(r)},this.endOfMonth=r=>{var a;return(a=this.overrides)!=null&&a.endOfMonth?this.overrides.endOfMonth(r):um(r)},this.endOfWeek=(r,a)=>{var i;return(i=this.overrides)!=null&&i.endOfWeek?this.overrides.endOfWeek(r,a):Xs(r,this.options)},this.endOfYear=r=>{var a;return(a=this.overrides)!=null&&a.endOfYear?this.overrides.endOfYear(r):dm(r)},this.format=(r,a,i)=>{var s;const o=(s=this.overrides)!=null&&s.format?this.overrides.format(r,a,this.options):yn(r,a,this.options);return this.options.numerals&&this.options.numerals!=="latn"?this.replaceDigits(o):o},this.getISOWeek=r=>{var a;return(a=this.overrides)!=null&&a.getISOWeek?this.overrides.getISOWeek(r):Ua(r)},this.getMonth=(r,a)=>{var i;return(i=this.overrides)!=null&&i.getMonth?this.overrides.getMonth(r,this.options):cg(r,this.options)},this.getYear=(r,a)=>{var i;return(i=this.overrides)!=null&&i.getYear?this.overrides.getYear(r,this.options):dg(r,this.options)},this.getWeek=(r,a)=>{var i;return(i=this.overrides)!=null&&i.getWeek?this.overrides.getWeek(r,this.options):$a(r,this.options)},this.isAfter=(r,a)=>{var i;return(i=this.overrides)!=null&&i.isAfter?this.overrides.isAfter(r,a):fg(r,a)},this.isBefore=(r,a)=>{var i;return(i=this.overrides)!=null&&i.isBefore?this.overrides.isBefore(r,a):hg(r,a)},this.isDate=r=>{var a;return(a=this.overrides)!=null&&a.isDate?this.overrides.isDate(r):Rs(r)},this.isSameDay=(r,a)=>{var i;return(i=this.overrides)!=null&&i.isSameDay?this.overrides.isSameDay(r,a):om(r,a)},this.isSameMonth=(r,a)=>{var i;return(i=this.overrides)!=null&&i.isSameMonth?this.overrides.isSameMonth(r,a):mg(r,a)},this.isSameYear=(r,a)=>{var i;return(i=this.overrides)!=null&&i.isSameYear?this.overrides.isSameYear(r,a):gg(r,a)},this.max=r=>{var a;return(a=this.overrides)!=null&&a.max?this.overrides.max(r):am(r)},this.min=r=>{var a;return(a=this.overrides)!=null&&a.min?this.overrides.min(r):im(r)},this.setMonth=(r,a)=>{var i;return(i=this.overrides)!=null&&i.setMonth?this.overrides.setMonth(r,a):pg(r,a)},this.setYear=(r,a)=>{var i;return(i=this.overrides)!=null&&i.setYear?this.overrides.setYear(r,a):bg(r,a)},this.startOfBroadcastWeek=(r,a)=>{var i;return(i=this.overrides)!=null&&i.startOfBroadcastWeek?this.overrides.startOfBroadcastWeek(r,this):js(r,this)},this.startOfDay=r=>{var a;return(a=this.overrides)!=null&&a.startOfDay?this.overrides.startOfDay(r):En(r)},this.startOfISOWeek=r=>{var a;return(a=this.overrides)!=null&&a.startOfISOWeek?this.overrides.startOfISOWeek(r):Dn(r)},this.startOfMonth=r=>{var a;return(a=this.overrides)!=null&&a.startOfMonth?this.overrides.startOfMonth(r):cm(r)},this.startOfWeek=(r,a)=>{var i;return(i=this.overrides)!=null&&i.startOfWeek?this.overrides.startOfWeek(r,this.options):rn(r,this.options)},this.startOfYear=r=>{var a;return(a=this.overrides)!=null&&a.startOfYear?this.overrides.startOfYear(r):Hs(r)},this.options={locale:zs,...t},this.overrides=n}getDigitMap(){const{numerals:t="latn"}=this.options,n=new Intl.NumberFormat("en-US",{numberingSystem:t}),r={};for(let a=0;a<10;a++)r[a.toString()]=n.format(a);return r}replaceDigits(t){const n=this.getDigitMap();return t.replace(/\d/g,r=>n[r]||r)}formatNumber(t){return this.replaceDigits(t.toString())}getMonthYearOrder(){var n;const t=(n=this.options.locale)==null?void 0:n.code;return t&&ze.yearFirstLocales.has(t)?"year-first":"month-first"}formatMonthYear(t){const{locale:n,timeZone:r,numerals:a}=this.options,i=n==null?void 0:n.code;if(i&&ze.yearFirstLocales.has(i))try{return new Intl.DateTimeFormat(i,{month:"long",year:"numeric",timeZone:r,numberingSystem:a}).format(t)}catch{}const o=this.getMonthYearOrder()==="year-first"?"y LLLL":"LLLL y";return this.format(t,o)}}ze.yearFirstLocales=new Set(["eu","hu","ja","ja-Hira","ja-JP","ko","ko-KR","lt","lt-LT","lv","lv-LV","mn","mn-MN","zh","zh-CN","zh-HK","zh-TW"]);const pt=new ze;class Js{constructor(t,n,r=pt){this.date=t,this.displayMonth=n,this.outside=!!(n&&!r.isSameMonth(t,n)),this.dateLib=r,this.isoDate=r.format(t,"yyyy-MM-dd"),this.displayMonthId=r.format(n,"yyyy-MM"),this.dateMonthId=r.format(t,"yyyy-MM")}isEqualTo(t){return this.dateLib.isSameDay(t.date,this.date)&&this.dateLib.isSameMonth(t.displayMonth,this.displayMonth)}}class xg{constructor(t,n){this.date=t,this.weeks=n}}class Cg{constructor(t,n){this.days=n,this.weekNumber=t}}function wg(e){return f.createElement("button",{...e})}function Mg(e){return f.createElement("span",{...e})}function Sg(e){const{size:t=24,orientation:n="left",className:r}=e;return f.createElement("svg",{className:r,width:t,height:t,viewBox:"0 0 24 24"},n==="up"&&f.createElement("polygon",{points:"6.77 17 12.5 11.43 18.24 17 20 15.28 12.5 8 5 15.28"}),n==="down"&&f.createElement("polygon",{points:"6.77 8 12.5 13.57 18.24 8 20 9.72 12.5 17 5 9.72"}),n==="left"&&f.createElement("polygon",{points:"16 18.112 9.81111111 12 16 5.87733333 14.0888889 4 6 12 14.0888889 20"}),n==="right"&&f.createElement("polygon",{points:"8 18.112 14.18888889 12 8 5.87733333 9.91111111 4 18 12 9.91111111 20"}))}function kg(e){const{day:t,modifiers:n,...r}=e;return f.createElement("td",{...r})}function Dg(e){const{day:t,modifiers:n,...r}=e,a=f.useRef(null);return f.useEffect(()=>{var i;n.focused&&((i=a.current)==null||i.focus())},[n.focused]),f.createElement("button",{ref:a,...r})}var F;(function(e){e.Root="root",e.Chevron="chevron",e.Day="day",e.DayButton="day_button",e.CaptionLabel="caption_label",e.Dropdowns="dropdowns",e.Dropdown="dropdown",e.DropdownRoot="dropdown_root",e.Footer="footer",e.MonthGrid="month_grid",e.MonthCaption="month_caption",e.MonthsDropdown="months_dropdown",e.Month="month",e.Months="months",e.Nav="nav",e.NextMonthButton="button_next",e.PreviousMonthButton="button_previous",e.Week="week",e.Weeks="weeks",e.Weekday="weekday",e.Weekdays="weekdays",e.WeekNumber="week_number",e.WeekNumberHeader="week_number_header",e.YearsDropdown="years_dropdown"})(F||(F={}));var xe;(function(e){e.disabled="disabled",e.hidden="hidden",e.outside="outside",e.focused="focused",e.today="today"})(xe||(xe={}));var nt;(function(e){e.range_end="range_end",e.range_middle="range_middle",e.range_start="range_start",e.selected="selected"})(nt||(nt={}));var Xe;(function(e){e.weeks_before_enter="weeks_before_enter",e.weeks_before_exit="weeks_before_exit",e.weeks_after_enter="weeks_after_enter",e.weeks_after_exit="weeks_after_exit",e.caption_after_enter="caption_after_enter",e.caption_after_exit="caption_after_exit",e.caption_before_enter="caption_before_enter",e.caption_before_exit="caption_before_exit"})(Xe||(Xe={}));function Eg(e){const{options:t,className:n,components:r,classNames:a,...i}=e,o=[a[F.Dropdown],n].join(" "),s=t==null?void 0:t.find(({value:u})=>u===i.value);return f.createElement("span",{"data-disabled":i.disabled,className:a[F.DropdownRoot]},f.createElement(r.Select,{className:o,...i},t==null?void 0:t.map(({value:u,label:l,disabled:c})=>f.createElement(r.Option,{key:u,value:u,disabled:c},l))),f.createElement("span",{className:a[F.CaptionLabel],"aria-hidden":!0},s==null?void 0:s.label,f.createElement(r.Chevron,{orientation:"down",size:18,className:a[F.Chevron]})))}function Og(e){return f.createElement("div",{...e})}function Ag(e){return f.createElement("div",{...e})}function Ng(e){const{calendarMonth:t,displayIndex:n,...r}=e;return f.createElement("div",{...r},e.children)}function Tg(e){const{calendarMonth:t,displayIndex:n,...r}=e;return f.createElement("div",{...r})}function _g(e){return f.createElement("table",{...e})}function Wg(e){return f.createElement("div",{...e})}const Us=f.createContext(void 0);function Wn(){const e=f.useContext(Us);if(e===void 0)throw new Error("useDayPicker() must be used within a custom component.");return e}function Fg(e){const{components:t}=Wn();return f.createElement(t.Dropdown,{...e})}function Gg(e){const{onPreviousClick:t,onNextClick:n,previousMonth:r,nextMonth:a,...i}=e,{components:o,classNames:s,labels:{labelPrevious:u,labelNext:l}}=Wn(),c=f.useCallback(m=>{a&&(n==null||n(m))},[a,n]),d=f.useCallback(m=>{r&&(t==null||t(m))},[r,t]);return f.createElement("nav",{...i},f.createElement(o.PreviousMonthButton,{type:"button",className:s[F.PreviousMonthButton],tabIndex:r?void 0:-1,"aria-disabled":r?void 0:!0,"aria-label":u(r),onClick:d},f.createElement(o.Chevron,{disabled:r?void 0:!0,className:s[F.Chevron],orientation:"left"})),f.createElement(o.NextMonthButton,{type:"button",className:s[F.NextMonthButton],tabIndex:a?void 0:-1,"aria-disabled":a?void 0:!0,"aria-label":l(a),onClick:c},f.createElement(o.Chevron,{disabled:a?void 0:!0,orientation:"right",className:s[F.Chevron]})))}function Pg(e){const{components:t}=Wn();return f.createElement(t.Button,{...e})}function Yg(e){return f.createElement("option",{...e})}function Rg(e){const{components:t}=Wn();return f.createElement(t.Button,{...e})}function Bg(e){const{rootRef:t,...n}=e;return f.createElement("div",{...n,ref:t})}function Vg(e){return f.createElement("select",{...e})}function Hg(e){const{week:t,...n}=e;return f.createElement("tr",{...n})}function Xg(e){return f.createElement("th",{...e})}function Zg(e){return f.createElement("thead",{"aria-hidden":!0},f.createElement("tr",{...e}))}function Lg(e){const{week:t,...n}=e;return f.createElement("th",{...n})}function jg(e){return f.createElement("th",{...e})}function zg(e){return f.createElement("tbody",{...e})}function Jg(e){const{components:t}=Wn();return f.createElement(t.Dropdown,{...e})}const Ug=Object.freeze(Object.defineProperty({__proto__:null,Button:wg,CaptionLabel:Mg,Chevron:Sg,Day:kg,DayButton:Dg,Dropdown:Eg,DropdownNav:Og,Footer:Ag,Month:Ng,MonthCaption:Tg,MonthGrid:_g,Months:Wg,MonthsDropdown:Fg,Nav:Gg,NextMonthButton:Pg,Option:Yg,PreviousMonthButton:Rg,Root:Bg,Select:Vg,Week:Hg,WeekNumber:Lg,WeekNumberHeader:jg,Weekday:Xg,Weekdays:Zg,Weeks:zg,YearsDropdown:Jg},Symbol.toStringTag,{value:"Module"}));function wt(e,t,n=!1,r=pt){let{from:a,to:i}=e;const{differenceInCalendarDays:o,isSameDay:s}=r;return a&&i?(o(i,a)<0&&([a,i]=[i,a]),o(t,a)>=(n?1:0)&&o(i,t)>=(n?1:0)):!n&&i?s(i,t):!n&&a?s(a,t):!1}function Qa(e){return!!(e&&typeof e=="object"&&"before"in e&&"after"in e)}function Ir(e){return!!(e&&typeof e=="object"&&"from"in e)}function qa(e){return!!(e&&typeof e=="object"&&"after"in e)}function Ka(e){return!!(e&&typeof e=="object"&&"before"in e)}function $s(e){return!!(e&&typeof e=="object"&&"dayOfWeek"in e)}function Qs(e,t){return Array.isArray(e)&&e.every(t.isDate)}function Mt(e,t,n=pt){const r=Array.isArray(t)?t:[t],{isSameDay:a,differenceInCalendarDays:i,isAfter:o}=n;return r.some(s=>{if(typeof s=="boolean")return s;if(n.isDate(s))return a(e,s);if(Qs(s,n))return s.some(u=>a(e,u));if(Ir(s))return wt(s,e,!1,n);if($s(s))return Array.isArray(s.dayOfWeek)?s.dayOfWeek.includes(e.getDay()):s.dayOfWeek===e.getDay();if(Qa(s)){const u=i(s.before,e),l=i(s.after,e),c=u>0,d=l<0;return o(s.before,s.after)?d&&c:c||d}return qa(s)?i(e,s.after)>0:Ka(s)?i(s.before,e)>0:typeof s=="function"?s(e):!1})}function $g(e,t,n,r,a){const{disabled:i,hidden:o,modifiers:s,showOutsideDays:u,broadcastCalendar:l,today:c=a.today()}=t,{isSameDay:d,isSameMonth:m,startOfMonth:h,isBefore:g,endOfMonth:v,isAfter:b}=a,I=n&&h(n),x=r&&v(r),C={[xe.focused]:[],[xe.outside]:[],[xe.disabled]:[],[xe.hidden]:[],[xe.today]:[]},M={};for(const y of e){const{date:p,displayMonth:w}=y,O=!!(w&&!m(p,w)),E=!!(I&&g(p,I)),W=!!(x&&b(p,x)),V=!!(i&&Mt(p,i,a)),j=!!(o&&Mt(p,o,a))||E||W||!l&&!u&&O||l&&u===!1&&O,J=d(p,c);O&&C.outside.push(y),V&&C.disabled.push(y),j&&C.hidden.push(y),J&&C.today.push(y),s&&Object.keys(s).forEach(N=>{const z=s==null?void 0:s[N];z&&Mt(p,z,a)&&(M[N]?M[N].push(y):M[N]=[y])})}return y=>{const p={[xe.focused]:!1,[xe.disabled]:!1,[xe.hidden]:!1,[xe.outside]:!1,[xe.today]:!1},w={};for(const O in C){const E=C[O];p[O]=E.some(W=>W===y)}for(const O in M)w[O]=M[O].some(E=>E===y);return{...p,...w}}}function Qg(e,t,n={}){return Object.entries(e).filter(([,a])=>a===!0).reduce((a,[i])=>(n[i]?a.push(n[i]):t[xe[i]]?a.push(t[xe[i]]):t[nt[i]]&&a.push(t[nt[i]]),a),[t[F.Day]])}function qg(e){return{...Ug,...e}}function Kg(e){const t={"data-mode":e.mode??void 0,"data-required":"required"in e?e.required:void 0,"data-multiple-months":e.numberOfMonths&&e.numberOfMonths>1||void 0,"data-week-numbers":e.showWeekNumber||void 0,"data-broadcast-calendar":e.broadcastCalendar||void 0,"data-nav-layout":e.navLayout||void 0};return Object.entries(e).forEach(([n,r])=>{n.startsWith("data-")&&(t[n]=r)}),t}function ep(){const e={};for(const t in F)e[F[t]]=`rdp-${F[t]}`;for(const t in xe)e[xe[t]]=`rdp-${xe[t]}`;for(const t in nt)e[nt[t]]=`rdp-${nt[t]}`;for(const t in Xe)e[Xe[t]]=`rdp-${Xe[t]}`;return e}function qs(e,t,n){return(n??new ze(t)).formatMonthYear(e)}const tp=qs;function np(e,t,n){return(n??new ze(t)).format(e,"d")}function rp(e,t=pt){return t.format(e,"LLLL")}function ap(e,t,n){return(n??new ze(t)).format(e,"cccccc")}function ip(e,t=pt){return e<10?t.formatNumber(`0${e.toLocaleString()}`):t.formatNumber(`${e.toLocaleString()}`)}function op(){return""}function Ks(e,t=pt){return t.format(e,"yyyy")}const sp=Ks,up=Object.freeze(Object.defineProperty({__proto__:null,formatCaption:qs,formatDay:np,formatMonthCaption:tp,formatMonthDropdown:rp,formatWeekNumber:ip,formatWeekNumberHeader:op,formatWeekdayName:ap,formatYearCaption:sp,formatYearDropdown:Ks},Symbol.toStringTag,{value:"Module"}));function lp(e){return e!=null&&e.formatMonthCaption&&!e.formatCaption&&(e.formatCaption=e.formatMonthCaption),e!=null&&e.formatYearCaption&&!e.formatYearDropdown&&(e.formatYearDropdown=e.formatYearCaption),{...up,...e}}function ei(e,t,n,r){let a=(r??new ze(n)).format(e,"PPPP");return t.today&&(a=`Today, ${a}`),t.selected&&(a=`${a}, selected`),a}const cp=ei;function ti(e,t,n){return(n??new ze(t)).formatMonthYear(e)}const dp=ti;function eu(e,t,n,r){let a=(r??new ze(n)).format(e,"PPPP");return t!=null&&t.today&&(a=`Today, ${a}`),a}function tu(e){return"Choose the Month"}function nu(){return""}const fp="Go to the Next Month";function ru(e,t){return fp}function au(e){return"Go to the Previous Month"}function iu(e,t,n){return(n??new ze(t)).format(e,"cccc")}function ou(e,t){return`Week ${e}`}function su(e){return"Week Number"}function uu(e){return"Choose the Year"}const hp=Object.freeze(Object.defineProperty({__proto__:null,labelCaption:dp,labelDay:cp,labelDayButton:ei,labelGrid:ti,labelGridcell:eu,labelMonthDropdown:tu,labelNav:nu,labelNext:ru,labelPrevious:au,labelWeekNumber:ou,labelWeekNumberHeader:su,labelWeekday:iu,labelYearDropdown:uu},Symbol.toStringTag,{value:"Module"})),et=(e,t,n)=>t||(n?typeof n=="function"?n:(...r)=>n:e);function mp(e,t){var r;const n=((r=t.locale)==null?void 0:r.labels)??{};return{...hp,...e??{},labelDayButton:et(ei,e==null?void 0:e.labelDayButton,n.labelDayButton),labelMonthDropdown:et(tu,e==null?void 0:e.labelMonthDropdown,n.labelMonthDropdown),labelNext:et(ru,e==null?void 0:e.labelNext,n.labelNext),labelPrevious:et(au,e==null?void 0:e.labelPrevious,n.labelPrevious),labelWeekNumber:et(ou,e==null?void 0:e.labelWeekNumber,n.labelWeekNumber),labelYearDropdown:et(uu,e==null?void 0:e.labelYearDropdown,n.labelYearDropdown),labelGrid:et(ti,e==null?void 0:e.labelGrid,n.labelGrid),labelGridcell:et(eu,e==null?void 0:e.labelGridcell,n.labelGridcell),labelNav:et(nu,e==null?void 0:e.labelNav,n.labelNav),labelWeekNumberHeader:et(su,e==null?void 0:e.labelWeekNumberHeader,n.labelWeekNumberHeader),labelWeekday:et(iu,e==null?void 0:e.labelWeekday,n.labelWeekday)}}function gp(e,t,n,r,a){const{startOfMonth:i,startOfYear:o,endOfYear:s,eachMonthOfInterval:u,getMonth:l}=a;return u({start:o(e),end:s(e)}).map(m=>{const h=r.formatMonthDropdown(m,a),g=l(m),v=t&&m<i(t)||n&&m>i(n)||!1;return{value:g,label:h,disabled:v}})}function pp(e,t={},n={}){let r={...t==null?void 0:t[F.Day]};return Object.entries(e).filter(([,a])=>a===!0).forEach(([a])=>{r={...r,...n==null?void 0:n[a]}}),r}function bp(e,t,n,r){const a=r??e.today(),i=n?e.startOfBroadcastWeek(a,e):t?e.startOfISOWeek(a):e.startOfWeek(a),o=[];for(let s=0;s<7;s++){const u=e.addDays(i,s);o.push(u)}return o}function vp(e,t,n,r,a=!1){if(!e||!t)return;const{startOfYear:i,endOfYear:o,eachYearOfInterval:s,getYear:u}=r,l=i(e),c=o(t),d=s({start:l,end:c});return a&&d.reverse(),d.map(m=>{const h=n.formatYearDropdown(m,r);return{value:u(m),label:h,disabled:!1}})}function yp(e,t={}){var s;const{weekStartsOn:n,locale:r}=t,a=n??((s=r==null?void 0:r.options)==null?void 0:s.weekStartsOn)??0,i=u=>{const l=typeof u=="number"||typeof u=="string"?new Date(u):u;return new We(l.getFullYear(),l.getMonth(),l.getDate(),12,0,0,e)},o=u=>{const l=i(u);return new Date(l.getFullYear(),l.getMonth(),l.getDate(),0,0,0,0)};return{today:()=>i(We.tz(e)),newDate:(u,l,c)=>new We(u,l,c,12,0,0,e),startOfDay:u=>i(u),startOfWeek:(u,l)=>{const c=i(u),d=(l==null?void 0:l.weekStartsOn)??a,m=(c.getDay()-d+7)%7;return c.setDate(c.getDate()-m),c},startOfISOWeek:u=>{const l=i(u),c=(l.getDay()-1+7)%7;return l.setDate(l.getDate()-c),l},startOfMonth:u=>{const l=i(u);return l.setDate(1),l},startOfYear:u=>{const l=i(u);return l.setMonth(0,1),l},endOfWeek:(u,l)=>{const c=i(u),h=((((l==null?void 0:l.weekStartsOn)??a)+6)%7-c.getDay()+7)%7;return c.setDate(c.getDate()+h),c},endOfISOWeek:u=>{const l=i(u),c=(7-l.getDay())%7;return l.setDate(l.getDate()+c),l},endOfMonth:u=>{const l=i(u);return l.setMonth(l.getMonth()+1,0),l},endOfYear:u=>{const l=i(u);return l.setMonth(11,31),l},eachMonthOfInterval:u=>{const l=i(u.start),c=i(u.end),d=[],m=new We(l.getFullYear(),l.getMonth(),1,12,0,0,e),h=c.getFullYear()*12+c.getMonth();for(;m.getFullYear()*12+m.getMonth()<=h;)d.push(new We(m,e)),m.setMonth(m.getMonth()+1,1);return d},addDays:(u,l)=>{const c=i(u);return c.setDate(c.getDate()+l),c},addWeeks:(u,l)=>{const c=i(u);return c.setDate(c.getDate()+l*7),c},addMonths:(u,l)=>{const c=i(u);return c.setMonth(c.getMonth()+l),c},addYears:(u,l)=>{const c=i(u);return c.setFullYear(c.getFullYear()+l),c},eachYearOfInterval:u=>{const l=i(u.start),c=i(u.end),d=[],m=new We(l.getFullYear(),0,1,12,0,0,e);for(;m.getFullYear()<=c.getFullYear();)d.push(new We(m,e)),m.setFullYear(m.getFullYear()+1,0,1);return d},getWeek:(u,l)=>{var d;const c=o(u);return $a(c,{weekStartsOn:(l==null?void 0:l.weekStartsOn)??a,firstWeekContainsDate:(l==null?void 0:l.firstWeekContainsDate)??((d=r==null?void 0:r.options)==null?void 0:d.firstWeekContainsDate)??1})},getISOWeek:u=>{const l=o(u);return Ua(l)},differenceInCalendarDays:(u,l)=>{const c=o(u),d=o(l);return Ja(c,d)},differenceInCalendarMonths:(u,l)=>{const c=o(u),d=o(l);return Bs(c,d)}}}const Fn=e=>e instanceof HTMLElement?e:null,zr=e=>[...e.querySelectorAll("[data-animated-month]")??[]],Ip=e=>Fn(e.querySelector("[data-animated-month]")),Jr=e=>Fn(e.querySelector("[data-animated-caption]")),Ur=e=>Fn(e.querySelector("[data-animated-weeks]")),xp=e=>Fn(e.querySelector("[data-animated-nav]")),Cp=e=>Fn(e.querySelector("[data-animated-weekdays]"));function wp(e,t,{classNames:n,months:r,focused:a,dateLib:i}){const o=f.useRef(null),s=f.useRef(r),u=f.useRef(!1);f.useLayoutEffect(()=>{const l=s.current;if(s.current=r,!t||!e.current||!(e.current instanceof HTMLElement)||r.length===0||l.length===0||r.length!==l.length)return;const c=i.isSameMonth(r[0].date,l[0].date),d=i.isAfter(r[0].date,l[0].date),m=d?n[Xe.caption_after_enter]:n[Xe.caption_before_enter],h=d?n[Xe.weeks_after_enter]:n[Xe.weeks_before_enter],g=o.current,v=e.current.cloneNode(!0);if(v instanceof HTMLElement?(zr(v).forEach(C=>{if(!(C instanceof HTMLElement))return;const M=Ip(C);M&&C.contains(M)&&C.removeChild(M);const y=Jr(C);y&&y.classList.remove(m);const p=Ur(C);p&&p.classList.remove(h)}),o.current=v):o.current=null,u.current||c||a)return;const b=g instanceof HTMLElement?zr(g):[],I=zr(e.current);if(I!=null&&I.every(x=>x instanceof HTMLElement)&&b&&b.every(x=>x instanceof HTMLElement)){u.current=!0,e.current.style.isolation="isolate";const x=xp(e.current);x&&(x.style.zIndex="1"),I.forEach((C,M)=>{const y=b[M];if(!y)return;C.style.position="relative",C.style.overflow="hidden";const p=Jr(C);p&&p.classList.add(m);const w=Ur(C);w&&w.classList.add(h);const O=()=>{u.current=!1,e.current&&(e.current.style.isolation=""),x&&(x.style.zIndex=""),p&&p.classList.remove(m),w&&w.classList.remove(h),C.style.position="",C.style.overflow="",C.contains(y)&&C.removeChild(y)};y.style.pointerEvents="none",y.style.position="absolute",y.style.overflow="hidden",y.setAttribute("aria-hidden","true");const E=Cp(y);E&&(E.style.opacity="0");const W=Jr(y);W&&(W.classList.add(d?n[Xe.caption_before_exit]:n[Xe.caption_after_exit]),W.addEventListener("animationend",O));const V=Ur(y);V&&V.classList.add(d?n[Xe.weeks_before_exit]:n[Xe.weeks_after_exit]),C.insertBefore(y,C.firstChild)})}})}function Mp(e,t,n,r){const a=e[0],i=e[e.length-1],{ISOWeek:o,fixedWeeks:s,broadcastCalendar:u}=n??{},{addDays:l,differenceInCalendarDays:c,differenceInCalendarMonths:d,endOfBroadcastWeek:m,endOfISOWeek:h,endOfMonth:g,endOfWeek:v,isAfter:b,startOfBroadcastWeek:I,startOfISOWeek:x,startOfWeek:C}=r,M=u?I(a,r):o?x(a):C(a),y=u?m(i):o?h(g(i)):v(g(i)),p=t&&(u?m(t):o?h(t):v(t)),w=p&&b(y,p)?p:y,O=c(w,M),E=d(i,a)+1,W=[];for(let J=0;J<=O;J++){const N=l(M,J);W.push(N)}const j=(u?35:42)*E;if(s&&W.length<j){const J=j-W.length;for(let N=0;N<J;N++){const z=l(W[W.length-1],1);W.push(z)}}return W}function Sp(e){const t=[];return e.reduce((n,r)=>{const a=r.weeks.reduce((i,o)=>i.concat(o.days.slice()),t.slice());return n.concat(a.slice())},t.slice())}function kp(e,t,n,r){const{numberOfMonths:a=1}=n,i=[];for(let o=0;o<a;o++){const s=r.addMonths(e,o);if(t&&s>t)break;i.push(s)}return i}function vo(e,t,n,r){const{month:a,defaultMonth:i,today:o=r.today(),numberOfMonths:s=1}=e;let u=a||i||o;const{differenceInCalendarMonths:l,addMonths:c,startOfMonth:d}=r;if(n&&l(n,u)<s-1){const m=-1*(s-1);u=c(n,m)}return t&&l(u,t)<0&&(u=t),d(u)}function Dp(e,t,n,r){const{addDays:a,endOfBroadcastWeek:i,endOfISOWeek:o,endOfMonth:s,endOfWeek:u,getISOWeek:l,getWeek:c,startOfBroadcastWeek:d,startOfISOWeek:m,startOfWeek:h}=r,g=e.reduce((v,b)=>{const I=n.broadcastCalendar?d(b,r):n.ISOWeek?m(b):h(b),x=n.broadcastCalendar?i(b):n.ISOWeek?o(s(b)):u(s(b)),C=t.filter(w=>w>=I&&w<=x),M=n.broadcastCalendar?35:42;if(n.fixedWeeks&&C.length<M){const w=t.filter(O=>{const E=M-C.length;return O>x&&O<=a(x,E)});C.push(...w)}const y=C.reduce((w,O)=>{const E=n.ISOWeek?l(O):c(O),W=w.find(j=>j.weekNumber===E),V=new Js(O,b,r);return W?W.days.push(V):w.push(new Cg(E,[V])),w},[]),p=new xg(b,y);return v.push(p),v},[]);return n.reverseMonths?g.reverse():g}function Ep(e,t){let{startMonth:n,endMonth:r}=e;const{startOfYear:a,startOfDay:i,startOfMonth:o,endOfMonth:s,addYears:u,endOfYear:l,newDate:c,today:d}=t,{fromYear:m,toYear:h,fromMonth:g,toMonth:v}=e;!n&&g&&(n=g),!n&&m&&(n=t.newDate(m,0,1)),!r&&v&&(r=v),!r&&h&&(r=c(h,11,31));const b=e.captionLayout==="dropdown"||e.captionLayout==="dropdown-years";return n?n=o(n):m?n=c(m,0,1):!n&&b&&(n=a(u(e.today??d(),-100))),r?r=s(r):h?r=c(h,11,31):!r&&b&&(r=l(e.today??d())),[n&&i(n),r&&i(r)]}function Op(e,t,n,r){if(n.disableNavigation)return;const{pagedNavigation:a,numberOfMonths:i=1}=n,{startOfMonth:o,addMonths:s,differenceInCalendarMonths:u}=r,l=a?i:1,c=o(e);if(!t)return s(c,l);if(!(u(t,e)<i))return s(c,l)}function Ap(e,t,n,r){if(n.disableNavigation)return;const{pagedNavigation:a,numberOfMonths:i}=n,{startOfMonth:o,addMonths:s,differenceInCalendarMonths:u}=r,l=a?i??1:1,c=o(e);if(!t)return s(c,-l);if(!(u(c,t)<=0))return s(c,-l)}function Np(e){const t=[];return e.reduce((n,r)=>n.concat(r.weeks.slice()),t.slice())}function xr(e,t){const[n,r]=f.useState(e);return[t===void 0?n:t,r]}function Tp(e,t){var M;const[n,r]=Ep(e,t),{startOfMonth:a,endOfMonth:i}=t,o=vo(e,n,r,t),[s,u]=xr(o,e.month?o:void 0);f.useEffect(()=>{const y=vo(e,n,r,t);u(y)},[e.timeZone]);const{months:l,weeks:c,days:d,previousMonth:m,nextMonth:h}=f.useMemo(()=>{const y=kp(s,r,{numberOfMonths:e.numberOfMonths},t),p=Mp(y,e.endMonth?i(e.endMonth):void 0,{ISOWeek:e.ISOWeek,fixedWeeks:e.fixedWeeks,broadcastCalendar:e.broadcastCalendar},t),w=Dp(y,p,{broadcastCalendar:e.broadcastCalendar,fixedWeeks:e.fixedWeeks,ISOWeek:e.ISOWeek,reverseMonths:e.reverseMonths},t),O=Np(w),E=Sp(w),W=Ap(s,n,e,t),V=Op(s,r,e,t);return{months:w,weeks:O,days:E,previousMonth:W,nextMonth:V}},[t,s.getTime(),r==null?void 0:r.getTime(),n==null?void 0:n.getTime(),e.disableNavigation,e.broadcastCalendar,(M=e.endMonth)==null?void 0:M.getTime(),e.fixedWeeks,e.ISOWeek,e.numberOfMonths,e.pagedNavigation,e.reverseMonths]),{disableNavigation:g,onMonthChange:v}=e,b=y=>c.some(p=>p.days.some(w=>w.isEqualTo(y))),I=y=>{if(g)return;let p=a(y);n&&p<a(n)&&(p=a(n)),r&&p>a(r)&&(p=a(r)),u(p),v==null||v(p)};return{months:l,weeks:c,days:d,navStart:n,navEnd:r,previousMonth:m,nextMonth:h,goToMonth:I,goToDay:y=>{b(y)||I(y.date)}}}var lt;(function(e){e[e.Today=0]="Today",e[e.Selected=1]="Selected",e[e.LastFocused=2]="LastFocused",e[e.FocusedModifier=3]="FocusedModifier"})(lt||(lt={}));function yo(e){return!e[xe.disabled]&&!e[xe.hidden]&&!e[xe.outside]}function _p(e,t,n,r){let a,i=-1;for(const o of e){const s=t(o);yo(s)&&(s[xe.focused]&&i<lt.FocusedModifier?(a=o,i=lt.FocusedModifier):r!=null&&r.isEqualTo(o)&&i<lt.LastFocused?(a=o,i=lt.LastFocused):n(o.date)&&i<lt.Selected?(a=o,i=lt.Selected):s[xe.today]&&i<lt.Today&&(a=o,i=lt.Today))}return a||(a=e.find(o=>yo(t(o)))),a}function Wp(e,t,n,r,a,i,o){const{ISOWeek:s,broadcastCalendar:u}=i,{addDays:l,addMonths:c,addWeeks:d,addYears:m,endOfBroadcastWeek:h,endOfISOWeek:g,endOfWeek:v,max:b,min:I,startOfBroadcastWeek:x,startOfISOWeek:C,startOfWeek:M}=o;let p={day:l,week:d,month:c,year:m,startOfWeek:w=>u?x(w,o):s?C(w):M(w),endOfWeek:w=>u?h(w):s?g(w):v(w)}[e](n,t==="after"?1:-1);return t==="before"&&r?p=b([r,p]):t==="after"&&a&&(p=I([a,p])),p}function lu(e,t,n,r,a,i,o,s=0){if(s>365)return;const u=Wp(e,t,n.date,r,a,i,o),l=!!(i.disabled&&Mt(u,i.disabled,o)),c=!!(i.hidden&&Mt(u,i.hidden,o)),d=u,m=new Js(u,d,o);return!l&&!c?m:lu(e,t,m,r,a,i,o,s+1)}function Fp(e,t,n,r,a){const{autoFocus:i}=e,[o,s]=f.useState(),u=_p(t.days,n,r||(()=>!1),o),[l,c]=f.useState(i?u:void 0);return{isFocusTarget:v=>!!(u!=null&&u.isEqualTo(v)),setFocused:c,focused:l,blur:()=>{s(l),c(void 0)},moveFocus:(v,b)=>{if(!l)return;const I=lu(v,b,l,t.navStart,t.navEnd,e,a);I&&(e.disableNavigation&&!t.days.some(C=>C.isEqualTo(I))||(t.goToDay(I),c(I)))}}}function Gp(e,t){const{selected:n,required:r,onSelect:a}=e,[i,o]=xr(n,a?n:void 0),s=a?n:i,{isSameDay:u}=t,l=h=>(s==null?void 0:s.some(g=>u(g,h)))??!1,{min:c,max:d}=e;return{selected:s,select:(h,g,v)=>{let b=[...s??[]];if(l(h)){if((s==null?void 0:s.length)===c||r&&(s==null?void 0:s.length)===1)return;b=s==null?void 0:s.filter(I=>!u(I,h))}else(s==null?void 0:s.length)===d?b=[h]:b=[...b,h];return a||o(b),a==null||a(b,h,g,v),b},isSelected:l}}function Pp(e,t,n=0,r=0,a=!1,i=pt){const{from:o,to:s}=t||{},{isSameDay:u,isAfter:l,isBefore:c}=i;let d;if(!o&&!s)d={from:e,to:n>0?void 0:e};else if(o&&!s)u(o,e)?n===0?d={from:o,to:e}:a?d={from:o,to:void 0}:d=void 0:c(e,o)?d={from:e,to:o}:d={from:o,to:e};else if(o&&s)if(u(o,e)&&u(s,e))a?d={from:o,to:s}:d=void 0;else if(u(o,e))d={from:o,to:n>0?void 0:e};else if(u(s,e))d={from:e,to:n>0?void 0:e};else if(c(e,o))d={from:e,to:s};else if(l(e,o))d={from:o,to:e};else if(l(e,s))d={from:o,to:e};else throw new Error("Invalid range");if(d!=null&&d.from&&(d!=null&&d.to)){const m=i.differenceInCalendarDays(d.to,d.from);r>0&&m>r?d={from:e,to:void 0}:n>1&&m<n&&(d={from:e,to:void 0})}return d}function Yp(e,t,n=pt){const r=Array.isArray(t)?t:[t];let a=e.from;const i=n.differenceInCalendarDays(e.to,e.from),o=Math.min(i,6);for(let s=0;s<=o;s++){if(r.includes(a.getDay()))return!0;a=n.addDays(a,1)}return!1}function Io(e,t,n=pt){return wt(e,t.from,!1,n)||wt(e,t.to,!1,n)||wt(t,e.from,!1,n)||wt(t,e.to,!1,n)}function Rp(e,t,n=pt){const r=Array.isArray(t)?t:[t];if(r.filter(s=>typeof s!="function").some(s=>typeof s=="boolean"?s:n.isDate(s)?wt(e,s,!1,n):Qs(s,n)?s.some(u=>wt(e,u,!1,n)):Ir(s)?s.from&&s.to?Io(e,{from:s.from,to:s.to},n):!1:$s(s)?Yp(e,s.dayOfWeek,n):Qa(s)?n.isAfter(s.before,s.after)?Io(e,{from:n.addDays(s.after,1),to:n.addDays(s.before,-1)},n):Mt(e.from,s,n)||Mt(e.to,s,n):qa(s)||Ka(s)?Mt(e.from,s,n)||Mt(e.to,s,n):!1))return!0;const o=r.filter(s=>typeof s=="function");if(o.length){let s=e.from;const u=n.differenceInCalendarDays(e.to,e.from);for(let l=0;l<=u;l++){if(o.some(c=>c(s)))return!0;s=n.addDays(s,1)}}return!1}function Bp(e,t){const{disabled:n,excludeDisabled:r,resetOnSelect:a,selected:i,required:o,onSelect:s}=e,[u,l]=xr(i,s?i:void 0),c=s?i:u;return{selected:c,select:(h,g,v)=>{const{min:b,max:I}=e;let x;if(h){const C=c==null?void 0:c.from,M=c==null?void 0:c.to,y=!!C&&!!M,p=!!C&&!!M&&t.isSameDay(C,M)&&t.isSameDay(h,C);a&&(y||!(c!=null&&c.from))?!o&&p?x=void 0:x={from:h,to:void 0}:x=Pp(h,c,b,I,o,t)}return r&&n&&(x!=null&&x.from)&&x.to&&Rp({from:x.from,to:x.to},n,t)&&(x.from=h,x.to=void 0),s||l(x),s==null||s(x,h,g,v),x},isSelected:h=>c&&wt(c,h,!1,t)}}function Vp(e,t){const{selected:n,required:r,onSelect:a}=e,[i,o]=xr(n,a?n:void 0),s=a?n:i,{isSameDay:u}=t;return{selected:s,select:(d,m,h)=>{let g=d;return!r&&s&&s&&u(d,s)&&(g=void 0),a||o(g),a==null||a(g,d,m,h),g},isSelected:d=>s?u(s,d):!1}}function Hp(e,t){const n=Vp(e,t),r=Gp(e,t),a=Bp(e,t);switch(e.mode){case"single":return n;case"multiple":return r;case"range":return a;default:return}}function He(e,t){return e instanceof We&&e.timeZone===t?e:new We(e,t)}function zt(e,t,n){if(!n)return He(e,t);const r=He(e,t),a=new We(r.getFullYear(),r.getMonth(),r.getDate(),12,0,0,t);return new Date(a.getTime())}function xo(e,t,n){return typeof e=="boolean"||typeof e=="function"?e:e instanceof Date?zt(e,t,n):Array.isArray(e)?e.map(r=>r instanceof Date?zt(r,t,n):r):Ir(e)?{...e,from:e.from?He(e.from,t):e.from,to:e.to?He(e.to,t):e.to}:Qa(e)?{before:zt(e.before,t,n),after:zt(e.after,t,n)}:qa(e)?{after:zt(e.after,t,n)}:Ka(e)?{before:zt(e.before,t,n)}:e}function $r(e,t,n){return e&&(Array.isArray(e)?e.map(r=>xo(r,t,n)):xo(e,t,n))}function Co(e){var ki;let t=e;const n=t.timeZone;if(n&&(t={...e,timeZone:n},t.today&&(t.today=He(t.today,n)),t.month&&(t.month=He(t.month,n)),t.defaultMonth&&(t.defaultMonth=He(t.defaultMonth,n)),t.startMonth&&(t.startMonth=He(t.startMonth,n)),t.endMonth&&(t.endMonth=He(t.endMonth,n)),t.mode==="single"&&t.selected?t.selected=He(t.selected,n):t.mode==="multiple"&&t.selected?t.selected=(ki=t.selected)==null?void 0:ki.map(X=>He(X,n)):t.mode==="range"&&t.selected&&(t.selected={from:t.selected.from?He(t.selected.from,n):t.selected.from,to:t.selected.to?He(t.selected.to,n):t.selected.to}),t.disabled!==void 0&&(t.disabled=$r(t.disabled,n)),t.hidden!==void 0&&(t.hidden=$r(t.hidden,n)),t.modifiers)){const X={};Object.keys(t.modifiers).forEach(re=>{var R;X[re]=$r((R=t.modifiers)==null?void 0:R[re],n)}),t.modifiers=X}const{components:r,formatters:a,labels:i,dateLib:o,locale:s,classNames:u}=f.useMemo(()=>{const X={...zs,...t.locale},re=t.broadcastCalendar?1:t.weekStartsOn,R=t.noonSafe&&t.timeZone?yp(t.timeZone,{weekStartsOn:re,locale:X}):void 0,ee=t.dateLib&&R?{...R,...t.dateLib}:t.dateLib??R,Ve=new ze({locale:X,weekStartsOn:re,firstWeekContainsDate:t.firstWeekContainsDate,useAdditionalWeekYearTokens:t.useAdditionalWeekYearTokens,useAdditionalDayOfYearTokens:t.useAdditionalDayOfYearTokens,timeZone:t.timeZone,numerals:t.numerals},ee);return{dateLib:Ve,components:qg(t.components),formatters:lp(t.formatters),labels:mp(t.labels,Ve.options),locale:X,classNames:{...ep(),...t.classNames}}},[t.locale,t.broadcastCalendar,t.weekStartsOn,t.firstWeekContainsDate,t.useAdditionalWeekYearTokens,t.useAdditionalDayOfYearTokens,t.timeZone,t.numerals,t.dateLib,t.noonSafe,t.components,t.formatters,t.labels,t.classNames]);t.today||(t={...t,today:o.today()});const{captionLayout:l,mode:c,navLayout:d,numberOfMonths:m=1,onDayBlur:h,onDayClick:g,onDayFocus:v,onDayKeyDown:b,onDayMouseEnter:I,onDayMouseLeave:x,onNextClick:C,onPrevClick:M,showWeekNumber:y,styles:p}=t,{formatCaption:w,formatDay:O,formatMonthDropdown:E,formatWeekNumber:W,formatWeekNumberHeader:V,formatWeekdayName:j,formatYearDropdown:J}=a,N=Tp(t,o),{days:z,months:Ce,navStart:de,navEnd:pe,previousMonth:be,nextMonth:fe,goToMonth:we}=N,he=$g(z,t,de,pe,o),{isSelected:ve,select:Ne,selected:ue}=Hp(t,o)??{},{blur:Te,focused:Ee,isFocusTarget:Ke,moveFocus:Ue,setFocused:st}=Fp(t,N,he,ve??(()=>!1),o),{labelDayButton:yt,labelGridcell:_,labelGrid:ut,labelMonthDropdown:G,labelNav:Se,labelPrevious:al,labelNext:il,labelWeekday:ol,labelWeekNumber:sl,labelWeekNumberHeader:ul,labelYearDropdown:ll}=i,cl=f.useMemo(()=>bp(o,t.ISOWeek,t.broadcastCalendar,t.today),[o,t.ISOWeek,t.broadcastCalendar,t.today]),Mi=c!==void 0||g!==void 0,Wr=f.useCallback(()=>{be&&(we(be),M==null||M(be))},[be,we,M]),Fr=f.useCallback(()=>{fe&&(we(fe),C==null||C(fe))},[we,fe,C]),dl=f.useCallback((X,re)=>R=>{R.preventDefault(),R.stopPropagation(),st(X),!re.disabled&&(Ne==null||Ne(X.date,re,R),g==null||g(X.date,re,R))},[Ne,g,st]),fl=f.useCallback((X,re)=>R=>{st(X),v==null||v(X.date,re,R)},[v,st]),hl=f.useCallback((X,re)=>R=>{Te(),h==null||h(X.date,re,R)},[Te,h]),ml=f.useCallback((X,re)=>R=>{const ee={ArrowLeft:[R.shiftKey?"month":"day",t.dir==="rtl"?"after":"before"],ArrowRight:[R.shiftKey?"month":"day",t.dir==="rtl"?"before":"after"],ArrowDown:[R.shiftKey?"year":"week","after"],ArrowUp:[R.shiftKey?"year":"week","before"],PageUp:[R.shiftKey?"year":"month","before"],PageDown:[R.shiftKey?"year":"month","after"],Home:["startOfWeek","before"],End:["endOfWeek","after"]};if(ee[R.key]){R.preventDefault(),R.stopPropagation();const[Ve,U]=ee[R.key];Ue(Ve,U)}b==null||b(X.date,re,R)},[Ue,b,t.dir]),gl=f.useCallback((X,re)=>R=>{I==null||I(X.date,re,R)},[I]),pl=f.useCallback((X,re)=>R=>{x==null||x(X.date,re,R)},[x]),bl=f.useCallback(X=>re=>{const R=Number(re.target.value),ee=o.setMonth(o.startOfMonth(X),R);we(ee)},[o,we]),vl=f.useCallback(X=>re=>{const R=Number(re.target.value),ee=o.setYear(o.startOfMonth(X),R);we(ee)},[o,we]),{className:yl,style:Il}=f.useMemo(()=>({className:[u[F.Root],t.className].filter(Boolean).join(" "),style:{...p==null?void 0:p[F.Root],...t.style}}),[u,t.className,t.style,p]),xl=Kg(t),Si=f.useRef(null);wp(Si,!!t.animate,{classNames:u,months:Ce,focused:Ee,dateLib:o});const Cl={dayPickerProps:t,selected:ue,select:Ne,isSelected:ve,months:Ce,nextMonth:fe,previousMonth:be,goToMonth:we,getModifiers:he,components:r,classNames:u,styles:p,labels:i,formatters:a};return f.createElement(Us.Provider,{value:Cl},f.createElement(r.Root,{rootRef:t.animate?Si:void 0,className:yl,style:Il,dir:t.dir,id:t.id,lang:t.lang??s.code,nonce:t.nonce,title:t.title,role:t.role,"aria-label":t["aria-label"],"aria-labelledby":t["aria-labelledby"],...xl},f.createElement(r.Months,{className:u[F.Months],style:p==null?void 0:p[F.Months]},!t.hideNavigation&&!d&&f.createElement(r.Nav,{"data-animated-nav":t.animate?"true":void 0,className:u[F.Nav],style:p==null?void 0:p[F.Nav],"aria-label":Se(),onPreviousClick:Wr,onNextClick:Fr,previousMonth:be,nextMonth:fe}),Ce.map((X,re)=>f.createElement(r.Month,{"data-animated-month":t.animate?"true":void 0,className:u[F.Month],style:p==null?void 0:p[F.Month],key:re,displayIndex:re,calendarMonth:X},d==="around"&&!t.hideNavigation&&re===0&&f.createElement(r.PreviousMonthButton,{type:"button",className:u[F.PreviousMonthButton],tabIndex:be?void 0:-1,"aria-disabled":be?void 0:!0,"aria-label":al(be),onClick:Wr,"data-animated-button":t.animate?"true":void 0},f.createElement(r.Chevron,{disabled:be?void 0:!0,className:u[F.Chevron],orientation:t.dir==="rtl"?"right":"left"})),f.createElement(r.MonthCaption,{"data-animated-caption":t.animate?"true":void 0,className:u[F.MonthCaption],style:p==null?void 0:p[F.MonthCaption],calendarMonth:X,displayIndex:re},l!=null&&l.startsWith("dropdown")?f.createElement(r.DropdownNav,{className:u[F.Dropdowns],style:p==null?void 0:p[F.Dropdowns]},(()=>{const R=l==="dropdown"||l==="dropdown-months"?f.createElement(r.MonthsDropdown,{key:"month",className:u[F.MonthsDropdown],"aria-label":G(),classNames:u,components:r,disabled:!!t.disableNavigation,onChange:bl(X.date),options:gp(X.date,de,pe,a,o),style:p==null?void 0:p[F.Dropdown],value:o.getMonth(X.date)}):f.createElement("span",{key:"month"},E(X.date,o)),ee=l==="dropdown"||l==="dropdown-years"?f.createElement(r.YearsDropdown,{key:"year",className:u[F.YearsDropdown],"aria-label":ll(o.options),classNames:u,components:r,disabled:!!t.disableNavigation,onChange:vl(X.date),options:vp(de,pe,a,o,!!t.reverseYears),style:p==null?void 0:p[F.Dropdown],value:o.getYear(X.date)}):f.createElement("span",{key:"year"},J(X.date,o));return o.getMonthYearOrder()==="year-first"?[ee,R]:[R,ee]})(),f.createElement("span",{role:"status","aria-live":"polite",style:{border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap",wordWrap:"normal"}},w(X.date,o.options,o))):f.createElement(r.CaptionLabel,{className:u[F.CaptionLabel],role:"status","aria-live":"polite"},w(X.date,o.options,o))),d==="around"&&!t.hideNavigation&&re===m-1&&f.createElement(r.NextMonthButton,{type:"button",className:u[F.NextMonthButton],tabIndex:fe?void 0:-1,"aria-disabled":fe?void 0:!0,"aria-label":il(fe),onClick:Fr,"data-animated-button":t.animate?"true":void 0},f.createElement(r.Chevron,{disabled:fe?void 0:!0,className:u[F.Chevron],orientation:t.dir==="rtl"?"left":"right"})),re===m-1&&d==="after"&&!t.hideNavigation&&f.createElement(r.Nav,{"data-animated-nav":t.animate?"true":void 0,className:u[F.Nav],style:p==null?void 0:p[F.Nav],"aria-label":Se(),onPreviousClick:Wr,onNextClick:Fr,previousMonth:be,nextMonth:fe}),f.createElement(r.MonthGrid,{role:"grid","aria-multiselectable":c==="multiple"||c==="range","aria-label":ut(X.date,o.options,o)||void 0,className:u[F.MonthGrid],style:p==null?void 0:p[F.MonthGrid]},!t.hideWeekdays&&f.createElement(r.Weekdays,{"data-animated-weekdays":t.animate?"true":void 0,className:u[F.Weekdays],style:p==null?void 0:p[F.Weekdays]},y&&f.createElement(r.WeekNumberHeader,{"aria-label":ul(o.options),className:u[F.WeekNumberHeader],style:p==null?void 0:p[F.WeekNumberHeader],scope:"col"},V()),cl.map(R=>f.createElement(r.Weekday,{"aria-label":ol(R,o.options,o),className:u[F.Weekday],key:String(R),style:p==null?void 0:p[F.Weekday],scope:"col"},j(R,o.options,o)))),f.createElement(r.Weeks,{"data-animated-weeks":t.animate?"true":void 0,className:u[F.Weeks],style:p==null?void 0:p[F.Weeks]},X.weeks.map(R=>f.createElement(r.Week,{className:u[F.Week],key:R.weekNumber,style:p==null?void 0:p[F.Week],week:R},y&&f.createElement(r.WeekNumber,{week:R,style:p==null?void 0:p[F.WeekNumber],"aria-label":sl(R.weekNumber,{locale:s}),className:u[F.WeekNumber],scope:"row",role:"rowheader"},W(R.weekNumber,o)),R.days.map(ee=>{const{date:Ve}=ee,U=he(ee);if(U[xe.focused]=!U.hidden&&!!(Ee!=null&&Ee.isEqualTo(ee)),U[nt.selected]=(ve==null?void 0:ve(Ve))||U.selected,Ir(ue)){const{from:Gr,to:Pr}=ue;U[nt.range_start]=!!(Gr&&Pr&&o.isSameDay(Ve,Gr)),U[nt.range_end]=!!(Gr&&Pr&&o.isSameDay(Ve,Pr)),U[nt.range_middle]=wt(ue,Ve,!0,o)}const wl=pp(U,p,t.modifiersStyles),Ml=Qg(U,u,t.modifiersClassNames),Sl=!Mi&&!U.hidden?_(Ve,U,o.options,o):void 0;return f.createElement(r.Day,{key:`${ee.isoDate}_${ee.displayMonthId}`,day:ee,modifiers:U,className:Ml.join(" "),style:wl,role:"gridcell","aria-selected":U.selected||void 0,"aria-label":Sl,"data-day":ee.isoDate,"data-month":ee.outside?ee.dateMonthId:void 0,"data-selected":U.selected||void 0,"data-disabled":U.disabled||void 0,"data-hidden":U.hidden||void 0,"data-outside":ee.outside||void 0,"data-focused":U.focused||void 0,"data-today":U.today||void 0},!U.hidden&&Mi?f.createElement(r.DayButton,{className:u[F.DayButton],style:p==null?void 0:p[F.DayButton],type:"button",day:ee,modifiers:U,disabled:!U.focused&&U.disabled||void 0,"aria-disabled":U.focused&&U.disabled||void 0,tabIndex:Ke(ee)?0:-1,"aria-label":yt(Ve,U,o.options,o),onClick:dl(ee,U),onBlur:hl(ee,U),onFocus:fl(ee,U),onKeyDown:ml(ee,U),onMouseEnter:gl(ee,U),onMouseLeave:pl(ee,U)},O(Ve,o.options,o)):!U.hidden&&O(ee.date,o.options,o))})))))))),t.footer&&f.createElement(r.Footer,{className:u[F.Footer],style:p==null?void 0:p[F.Footer],role:"status","aria-live":"polite"},t.footer)))}//! moment.js
|
|
683
683
|
//! version : 2.29.4
|
|
684
684
|
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
|
685
685
|
//! license : MIT
|
|
686
686
|
//! momentjs.com
|
|
687
|
-
var
|
|
688
|
-
[`+i+"] ";for(o in arguments[0])
|
|
689
|
-
Arguments: `+Array.prototype.slice.call(
|
|
690
|
-
`+new Error().stack),r=!1}return t.apply(this,arguments)},t)}var oo={};function tu(e,t){M.deprecationHandler!=null&&M.deprecationHandler(e,t),oo[e]||(eu(t),oo[e]=!0)}M.suppressDeprecationWarnings=!1;M.deprecationHandler=null;function nt(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function dm(e){var t,r;for(r in e)Z(e,r)&&(t=e[r],nt(t)?this[r]=t:this["_"+r]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function ta(e,t){var r=bt({},e),n;for(n in t)Z(t,n)&&(_t(e[n])&&_t(t[n])?(r[n]={},bt(r[n],e[n]),bt(r[n],t[n])):t[n]!=null?r[n]=t[n]:delete r[n]);for(n in e)Z(e,n)&&!Z(t,n)&&_t(e[n])&&(r[n]=bt({},r[n]));return r}function Ua(e){e!=null&&this.set(e)}var na;Object.keys?na=Object.keys:na=function(e){var t,r=[];for(t in e)Z(e,t)&&r.push(t);return r};var fm={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function hm(e,t,r){var n=this._calendar[e]||this._calendar.sameElse;return nt(n)?n.call(t,r):n}function et(e,t,r){var n=""+Math.abs(e),a=t-n.length,i=e>=0;return(i?r?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+n}var $a=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Rn=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Gr={},Lt={};function O(e,t,r,n){var a=n;typeof n=="string"&&(a=function(){return this[n]()}),e&&(Lt[e]=a),t&&(Lt[t[0]]=function(){return et(a.apply(this,arguments),t[1],t[2])}),r&&(Lt[r]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function pm(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function mm(e){var t=e.match($a),r,n;for(r=0,n=t.length;r<n;r++)Lt[t[r]]?t[r]=Lt[t[r]]:t[r]=pm(t[r]);return function(a){var i="",o;for(o=0;o<n;o++)i+=nt(t[o])?t[o].call(a,e):t[o];return i}}function Zn(e,t){return e.isValid()?(t=nu(t,e.localeData()),Gr[t]=Gr[t]||mm(t),Gr[t](e)):e.localeData().invalidDate()}function nu(e,t){var r=5;function n(a){return t.longDateFormat(a)||a}for(Rn.lastIndex=0;r>=0&&Rn.test(e);)e=e.replace(Rn,n),Rn.lastIndex=0,r-=1;return e}var gm={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function vm(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];return t||!r?t:(this._longDateFormat[e]=r.match($a).map(function(n){return n==="MMMM"||n==="MM"||n==="DD"||n==="dddd"?n.slice(1):n}).join(""),this._longDateFormat[e])}var bm="Invalid date";function ym(){return this._invalidDate}var Im="%d",xm=/\d{1,2}/;function Cm(e){return this._ordinal.replace("%d",e)}var wm={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function Dm(e,t,r,n){var a=this._relativeTime[r];return nt(a)?a(e,t,r,n):a.replace(/%d/i,e)}function km(e,t){var r=this._relativeTime[e>0?"future":"past"];return nt(r)?r(t):r.replace(/%s/i,t)}var cn={};function be(e,t){var r=e.toLowerCase();cn[r]=cn[r+"s"]=cn[t]=e}function Re(e){return typeof e=="string"?cn[e]||cn[e.toLowerCase()]:void 0}function Ja(e){var t={},r,n;for(n in e)Z(e,n)&&(r=Re(n),r&&(t[r]=e[n]));return t}var ru={};function ye(e,t){ru[e]=t}function Mm(e){var t=[],r;for(r in e)Z(e,r)&&t.push({unit:r,priority:ru[r]});return t.sort(function(n,a){return n.priority-a.priority}),t}function mr(e){return e%4===0&&e%100!==0||e%400===0}function Te(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function Y(e){var t=+e,r=0;return t!==0&&isFinite(t)&&(r=Te(t)),r}function Kt(e,t){return function(r){return r!=null?(au(this,e,r),M.updateOffset(this,t),this):er(this,e)}}function er(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function au(e,t,r){e.isValid()&&!isNaN(r)&&(t==="FullYear"&&mr(e.year())&&e.month()===1&&e.date()===29?(r=Y(r),e._d["set"+(e._isUTC?"UTC":"")+t](r,e.month(),xr(r,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](r))}function Sm(e){return e=Re(e),nt(this[e])?this[e]():this}function Em(e,t){if(typeof e=="object"){e=Ja(e);var r=Mm(e),n,a=r.length;for(n=0;n<a;n++)this[r[n].unit](e[r[n].unit])}else if(e=Re(e),nt(this[e]))return this[e](t);return this}var iu=/\d/,_e=/\d\d/,ou=/\d{3}/,Qa=/\d{4}/,gr=/[+-]?\d{6}/,ne=/\d\d?/,su=/\d\d\d\d?/,uu=/\d\d\d\d\d\d?/,vr=/\d{1,3}/,Ka=/\d{1,4}/,br=/[+-]?\d{1,6}/,qt=/\d+/,yr=/[+-]?\d+/,Am=/Z|[+-]\d\d:?\d\d/gi,Ir=/Z|[+-]\d\d(?::?\d\d)?/gi,_m=/[+-]?\d+(\.\d{1,3})?/,Dn=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,tr;tr={};function E(e,t,r){tr[e]=nt(t)?t:function(n,a){return n&&r?r:t}}function Nm(e,t){return Z(tr,e)?tr[e](t._strict,t._locale):new RegExp(Om(e))}function Om(e){return Se(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,r,n,a,i){return r||n||a||i}))}function Se(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var ra={};function q(e,t){var r,n=t,a;for(typeof e=="string"&&(e=[e]),ht(t)&&(n=function(i,o){o[t]=Y(i)}),a=e.length,r=0;r<a;r++)ra[e[r]]=n}function kn(e,t){q(e,function(r,n,a,i){a._w=a._w||{},t(r,a._w,a,i)})}function Pm(e,t,r){t!=null&&Z(ra,e)&&ra[e](t,r._a,r,e)}var ve=0,lt=1,Ke=2,ce=3,Ve=4,ct=5,Et=6,Tm=7,Fm=8;function Rm(e,t){return(e%t+t)%t}var se;Array.prototype.indexOf?se=Array.prototype.indexOf:se=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function xr(e,t){if(isNaN(e)||isNaN(t))return NaN;var r=Rm(t,12);return e+=(t-r)/12,r===1?mr(e)?29:28:31-r%7%2}O("M",["MM",2],"Mo",function(){return this.month()+1});O("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)});O("MMMM",0,0,function(e){return this.localeData().months(this,e)});be("month","M");ye("month",8);E("M",ne);E("MM",ne,_e);E("MMM",function(e,t){return t.monthsShortRegex(e)});E("MMMM",function(e,t){return t.monthsRegex(e)});q(["M","MM"],function(e,t){t[lt]=Y(e)-1});q(["MMM","MMMM"],function(e,t,r,n){var a=r._locale.monthsParse(e,n,r._strict);a!=null?t[lt]=a:W(r).invalidMonth=e});var Gm="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),lu="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),cu=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Bm=Dn,Wm=Dn;function Ym(e,t){return e?Le(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||cu).test(t)?"format":"standalone"][e.month()]:Le(this._months)?this._months:this._months.standalone}function Vm(e,t){return e?Le(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[cu.test(t)?"format":"standalone"][e.month()]:Le(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function Lm(e,t,r){var n,a,i,o=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)i=tt([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(i,"").toLocaleLowerCase();return r?t==="MMM"?(a=se.call(this._shortMonthsParse,o),a!==-1?a:null):(a=se.call(this._longMonthsParse,o),a!==-1?a:null):t==="MMM"?(a=se.call(this._shortMonthsParse,o),a!==-1?a:(a=se.call(this._longMonthsParse,o),a!==-1?a:null)):(a=se.call(this._longMonthsParse,o),a!==-1?a:(a=se.call(this._shortMonthsParse,o),a!==-1?a:null))}function Hm(e,t,r){var n,a,i;if(this._monthsParseExact)return Lm.call(this,e,t,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(a=tt([2e3,n]),r&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),!r&&!this._monthsParse[n]&&(i="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[n]=new RegExp(i.replace(".",""),"i")),r&&t==="MMMM"&&this._longMonthsParse[n].test(e))return n;if(r&&t==="MMM"&&this._shortMonthsParse[n].test(e))return n;if(!r&&this._monthsParse[n].test(e))return n}}function du(e,t){var r;if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=Y(t);else if(t=e.localeData().monthsParse(t),!ht(t))return e}return r=Math.min(e.date(),xr(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,r),e}function fu(e){return e!=null?(du(this,e),M.updateOffset(this,!0),this):er(this,"Month")}function Zm(){return xr(this.year(),this.month())}function Xm(e){return this._monthsParseExact?(Z(this,"_monthsRegex")||hu.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(Z(this,"_monthsShortRegex")||(this._monthsShortRegex=Bm),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function jm(e){return this._monthsParseExact?(Z(this,"_monthsRegex")||hu.call(this),e?this._monthsStrictRegex:this._monthsRegex):(Z(this,"_monthsRegex")||(this._monthsRegex=Wm),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function hu(){function e(o,s){return s.length-o.length}var t=[],r=[],n=[],a,i;for(a=0;a<12;a++)i=tt([2e3,a]),t.push(this.monthsShort(i,"")),r.push(this.months(i,"")),n.push(this.months(i,"")),n.push(this.monthsShort(i,""));for(t.sort(e),r.sort(e),n.sort(e),a=0;a<12;a++)t[a]=Se(t[a]),r[a]=Se(r[a]);for(a=0;a<24;a++)n[a]=Se(n[a]);this._monthsRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}O("Y",0,0,function(){var e=this.year();return e<=9999?et(e,4):"+"+e});O(0,["YY",2],0,function(){return this.year()%100});O(0,["YYYY",4],0,"year");O(0,["YYYYY",5],0,"year");O(0,["YYYYYY",6,!0],0,"year");be("year","y");ye("year",1);E("Y",yr);E("YY",ne,_e);E("YYYY",Ka,Qa);E("YYYYY",br,gr);E("YYYYYY",br,gr);q(["YYYYY","YYYYYY"],ve);q("YYYY",function(e,t){t[ve]=e.length===2?M.parseTwoDigitYear(e):Y(e)});q("YY",function(e,t){t[ve]=M.parseTwoDigitYear(e)});q("Y",function(e,t){t[ve]=parseInt(e,10)});function dn(e){return mr(e)?366:365}M.parseTwoDigitYear=function(e){return Y(e)+(Y(e)>68?1900:2e3)};var pu=Kt("FullYear",!0);function zm(){return mr(this.year())}function Um(e,t,r,n,a,i,o){var s;return e<100&&e>=0?(s=new Date(e+400,t,r,n,a,i,o),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,r,n,a,i,o),s}function bn(e){var t,r;return e<100&&e>=0?(r=Array.prototype.slice.call(arguments),r[0]=e+400,t=new Date(Date.UTC.apply(null,r)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function nr(e,t,r){var n=7+t-r,a=(7+bn(e,0,n).getUTCDay()-t)%7;return-a+n-1}function mu(e,t,r,n,a){var i=(7+r-n)%7,o=nr(e,n,a),s=1+7*(t-1)+i+o,u,l;return s<=0?(u=e-1,l=dn(u)+s):s>dn(e)?(u=e+1,l=s-dn(e)):(u=e,l=s),{year:u,dayOfYear:l}}function yn(e,t,r){var n=nr(e.year(),t,r),a=Math.floor((e.dayOfYear()-n-1)/7)+1,i,o;return a<1?(o=e.year()-1,i=a+dt(o,t,r)):a>dt(e.year(),t,r)?(i=a-dt(e.year(),t,r),o=e.year()+1):(o=e.year(),i=a),{week:i,year:o}}function dt(e,t,r){var n=nr(e,t,r),a=nr(e+1,t,r);return(dn(e)-n+a)/7}O("w",["ww",2],"wo","week");O("W",["WW",2],"Wo","isoWeek");be("week","w");be("isoWeek","W");ye("week",5);ye("isoWeek",5);E("w",ne);E("ww",ne,_e);E("W",ne);E("WW",ne,_e);kn(["w","ww","W","WW"],function(e,t,r,n){t[n.substr(0,1)]=Y(e)});function $m(e){return yn(e,this._week.dow,this._week.doy).week}var Jm={dow:0,doy:6};function Qm(){return this._week.dow}function Km(){return this._week.doy}function qm(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function eg(e){var t=yn(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}O("d",0,"do","day");O("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)});O("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)});O("dddd",0,0,function(e){return this.localeData().weekdays(this,e)});O("e",0,0,"weekday");O("E",0,0,"isoWeekday");be("day","d");be("weekday","e");be("isoWeekday","E");ye("day",11);ye("weekday",11);ye("isoWeekday",11);E("d",ne);E("e",ne);E("E",ne);E("dd",function(e,t){return t.weekdaysMinRegex(e)});E("ddd",function(e,t){return t.weekdaysShortRegex(e)});E("dddd",function(e,t){return t.weekdaysRegex(e)});kn(["dd","ddd","dddd"],function(e,t,r,n){var a=r._locale.weekdaysParse(e,n,r._strict);a!=null?t.d=a:W(r).invalidWeekday=e});kn(["d","e","E"],function(e,t,r,n){t[n]=Y(e)});function tg(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function ng(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function qa(e,t){return e.slice(t,7).concat(e.slice(0,t))}var rg="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),gu="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),ag="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ig=Dn,og=Dn,sg=Dn;function ug(e,t){var r=Le(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?qa(r,this._week.dow):e?r[e.day()]:r}function lg(e){return e===!0?qa(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function cg(e){return e===!0?qa(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function dg(e,t,r){var n,a,i,o=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)i=tt([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(i,"").toLocaleLowerCase();return r?t==="dddd"?(a=se.call(this._weekdaysParse,o),a!==-1?a:null):t==="ddd"?(a=se.call(this._shortWeekdaysParse,o),a!==-1?a:null):(a=se.call(this._minWeekdaysParse,o),a!==-1?a:null):t==="dddd"?(a=se.call(this._weekdaysParse,o),a!==-1||(a=se.call(this._shortWeekdaysParse,o),a!==-1)?a:(a=se.call(this._minWeekdaysParse,o),a!==-1?a:null)):t==="ddd"?(a=se.call(this._shortWeekdaysParse,o),a!==-1||(a=se.call(this._weekdaysParse,o),a!==-1)?a:(a=se.call(this._minWeekdaysParse,o),a!==-1?a:null)):(a=se.call(this._minWeekdaysParse,o),a!==-1||(a=se.call(this._weekdaysParse,o),a!==-1)?a:(a=se.call(this._shortWeekdaysParse,o),a!==-1?a:null))}function fg(e,t,r){var n,a,i;if(this._weekdaysParseExact)return dg.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(a=tt([2e3,1]).day(n),r&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(i="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[n]=new RegExp(i.replace(".",""),"i")),r&&t==="dddd"&&this._fullWeekdaysParse[n].test(e))return n;if(r&&t==="ddd"&&this._shortWeekdaysParse[n].test(e))return n;if(r&&t==="dd"&&this._minWeekdaysParse[n].test(e))return n;if(!r&&this._weekdaysParse[n].test(e))return n}}function hg(e){if(!this.isValid())return e!=null?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return e!=null?(e=tg(e,this.localeData()),this.add(e-t,"d")):t}function pg(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function mg(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=ng(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function gg(e){return this._weekdaysParseExact?(Z(this,"_weekdaysRegex")||ei.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(Z(this,"_weekdaysRegex")||(this._weekdaysRegex=ig),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function vg(e){return this._weekdaysParseExact?(Z(this,"_weekdaysRegex")||ei.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(Z(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=og),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function bg(e){return this._weekdaysParseExact?(Z(this,"_weekdaysRegex")||ei.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(Z(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=sg),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function ei(){function e(c,d){return d.length-c.length}var t=[],r=[],n=[],a=[],i,o,s,u,l;for(i=0;i<7;i++)o=tt([2e3,1]).day(i),s=Se(this.weekdaysMin(o,"")),u=Se(this.weekdaysShort(o,"")),l=Se(this.weekdays(o,"")),t.push(s),r.push(u),n.push(l),a.push(s),a.push(u),a.push(l);t.sort(e),r.sort(e),n.sort(e),a.sort(e),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function ti(){return this.hours()%12||12}function yg(){return this.hours()||24}O("H",["HH",2],0,"hour");O("h",["hh",2],0,ti);O("k",["kk",2],0,yg);O("hmm",0,0,function(){return""+ti.apply(this)+et(this.minutes(),2)});O("hmmss",0,0,function(){return""+ti.apply(this)+et(this.minutes(),2)+et(this.seconds(),2)});O("Hmm",0,0,function(){return""+this.hours()+et(this.minutes(),2)});O("Hmmss",0,0,function(){return""+this.hours()+et(this.minutes(),2)+et(this.seconds(),2)});function vu(e,t){O(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}vu("a",!0);vu("A",!1);be("hour","h");ye("hour",13);function bu(e,t){return t._meridiemParse}E("a",bu);E("A",bu);E("H",ne);E("h",ne);E("k",ne);E("HH",ne,_e);E("hh",ne,_e);E("kk",ne,_e);E("hmm",su);E("hmmss",uu);E("Hmm",su);E("Hmmss",uu);q(["H","HH"],ce);q(["k","kk"],function(e,t,r){var n=Y(e);t[ce]=n===24?0:n});q(["a","A"],function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e});q(["h","hh"],function(e,t,r){t[ce]=Y(e),W(r).bigHour=!0});q("hmm",function(e,t,r){var n=e.length-2;t[ce]=Y(e.substr(0,n)),t[Ve]=Y(e.substr(n)),W(r).bigHour=!0});q("hmmss",function(e,t,r){var n=e.length-4,a=e.length-2;t[ce]=Y(e.substr(0,n)),t[Ve]=Y(e.substr(n,2)),t[ct]=Y(e.substr(a)),W(r).bigHour=!0});q("Hmm",function(e,t,r){var n=e.length-2;t[ce]=Y(e.substr(0,n)),t[Ve]=Y(e.substr(n))});q("Hmmss",function(e,t,r){var n=e.length-4,a=e.length-2;t[ce]=Y(e.substr(0,n)),t[Ve]=Y(e.substr(n,2)),t[ct]=Y(e.substr(a))});function Ig(e){return(e+"").toLowerCase().charAt(0)==="p"}var xg=/[ap]\.?m?\.?/i,Cg=Kt("Hours",!0);function wg(e,t,r){return e>11?r?"pm":"PM":r?"am":"AM"}var yu={calendar:fm,longDateFormat:gm,invalidDate:bm,ordinal:Im,dayOfMonthOrdinalParse:xm,relativeTime:wm,months:Gm,monthsShort:lu,week:Jm,weekdays:rg,weekdaysMin:ag,weekdaysShort:gu,meridiemParse:xg},re={},rn={},In;function Dg(e,t){var r,n=Math.min(e.length,t.length);for(r=0;r<n;r+=1)if(e[r]!==t[r])return r;return n}function so(e){return e&&e.toLowerCase().replace("_","-")}function kg(e){for(var t=0,r,n,a,i;t<e.length;){for(i=so(e[t]).split("-"),r=i.length,n=so(e[t+1]),n=n?n.split("-"):null;r>0;){if(a=Cr(i.slice(0,r).join("-")),a)return a;if(n&&n.length>=r&&Dg(i,n)>=r-1)break;r--}t++}return In}function Mg(e){return e.match("^[^/\\\\]*$")!=null}function Cr(e){var t=null,r;if(re[e]===void 0&&typeof module<"u"&&module&&module.exports&&Mg(e))try{t=In._abbr,r=require,r("./locale/"+e),It(t)}catch{re[e]=null}return re[e]}function It(e,t){var r;return e&&(Ce(t)?r=mt(e):r=ni(e,t),r?In=r:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),In._abbr}function ni(e,t){if(t!==null){var r,n=yu;if(t.abbr=e,re[e]!=null)tu("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=re[e]._config;else if(t.parentLocale!=null)if(re[t.parentLocale]!=null)n=re[t.parentLocale]._config;else if(r=Cr(t.parentLocale),r!=null)n=r._config;else return rn[t.parentLocale]||(rn[t.parentLocale]=[]),rn[t.parentLocale].push({name:e,config:t}),null;return re[e]=new Ua(ta(n,t)),rn[e]&&rn[e].forEach(function(a){ni(a.name,a.config)}),It(e),re[e]}else return delete re[e],null}function Sg(e,t){if(t!=null){var r,n,a=yu;re[e]!=null&&re[e].parentLocale!=null?re[e].set(ta(re[e]._config,t)):(n=Cr(e),n!=null&&(a=n._config),t=ta(a,t),n==null&&(t.abbr=e),r=new Ua(t),r.parentLocale=re[e],re[e]=r),It(e)}else re[e]!=null&&(re[e].parentLocale!=null?(re[e]=re[e].parentLocale,e===It()&&It(e)):re[e]!=null&&delete re[e]);return re[e]}function mt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return In;if(!Le(e)){if(t=Cr(e),t)return t;e=[e]}return kg(e)}function Eg(){return na(re)}function ri(e){var t,r=e._a;return r&&W(e).overflow===-2&&(t=r[lt]<0||r[lt]>11?lt:r[Ke]<1||r[Ke]>xr(r[ve],r[lt])?Ke:r[ce]<0||r[ce]>24||r[ce]===24&&(r[Ve]!==0||r[ct]!==0||r[Et]!==0)?ce:r[Ve]<0||r[Ve]>59?Ve:r[ct]<0||r[ct]>59?ct:r[Et]<0||r[Et]>999?Et:-1,W(e)._overflowDayOfYear&&(t<ve||t>Ke)&&(t=Ke),W(e)._overflowWeeks&&t===-1&&(t=Tm),W(e)._overflowWeekday&&t===-1&&(t=Fm),W(e).overflow=t),e}var Ag=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,_g=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Ng=/Z|[+-]\d\d(?::?\d\d)?/,Gn=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Br=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Og=/^\/?Date\((-?\d+)/i,Pg=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Tg={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function Iu(e){var t,r,n=e._i,a=Ag.exec(n)||_g.exec(n),i,o,s,u,l=Gn.length,c=Br.length;if(a){for(W(e).iso=!0,t=0,r=l;t<r;t++)if(Gn[t][1].exec(a[1])){o=Gn[t][0],i=Gn[t][2]!==!1;break}if(o==null){e._isValid=!1;return}if(a[3]){for(t=0,r=c;t<r;t++)if(Br[t][1].exec(a[3])){s=(a[2]||" ")+Br[t][0];break}if(s==null){e._isValid=!1;return}}if(!i&&s!=null){e._isValid=!1;return}if(a[4])if(Ng.exec(a[4]))u="Z";else{e._isValid=!1;return}e._f=o+(s||"")+(u||""),ii(e)}else e._isValid=!1}function Fg(e,t,r,n,a,i){var o=[Rg(e),lu.indexOf(t),parseInt(r,10),parseInt(n,10),parseInt(a,10)];return i&&o.push(parseInt(i,10)),o}function Rg(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Gg(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Bg(e,t,r){if(e){var n=gu.indexOf(e),a=new Date(t[0],t[1],t[2]).getDay();if(n!==a)return W(r).weekdayMismatch=!0,r._isValid=!1,!1}return!0}function Wg(e,t,r){if(e)return Tg[e];if(t)return 0;var n=parseInt(r,10),a=n%100,i=(n-a)/100;return i*60+a}function xu(e){var t=Pg.exec(Gg(e._i)),r;if(t){if(r=Fg(t[4],t[3],t[2],t[5],t[6],t[7]),!Bg(t[1],r,e))return;e._a=r,e._tzm=Wg(t[8],t[9],t[10]),e._d=bn.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),W(e).rfc2822=!0}else e._isValid=!1}function Yg(e){var t=Og.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(Iu(e),e._isValid===!1)delete e._isValid;else return;if(xu(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:M.createFromInputFallback(e)}M.createFromInputFallback=Fe("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))});function Wt(e,t,r){return e??t??r}function Vg(e){var t=new Date(M.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function ai(e){var t,r,n=[],a,i,o;if(!e._d){for(a=Vg(e),e._w&&e._a[Ke]==null&&e._a[lt]==null&&Lg(e),e._dayOfYear!=null&&(o=Wt(e._a[ve],a[ve]),(e._dayOfYear>dn(o)||e._dayOfYear===0)&&(W(e)._overflowDayOfYear=!0),r=bn(o,0,e._dayOfYear),e._a[lt]=r.getUTCMonth(),e._a[Ke]=r.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=n[t]=a[t];for(;t<7;t++)e._a[t]=n[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[ce]===24&&e._a[Ve]===0&&e._a[ct]===0&&e._a[Et]===0&&(e._nextDay=!0,e._a[ce]=0),e._d=(e._useUTC?bn:Um).apply(null,n),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[ce]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==i&&(W(e).weekdayMismatch=!0)}}function Lg(e){var t,r,n,a,i,o,s,u,l;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(i=1,o=4,r=Wt(t.GG,e._a[ve],yn(te(),1,4).year),n=Wt(t.W,1),a=Wt(t.E,1),(a<1||a>7)&&(u=!0)):(i=e._locale._week.dow,o=e._locale._week.doy,l=yn(te(),i,o),r=Wt(t.gg,e._a[ve],l.year),n=Wt(t.w,l.week),t.d!=null?(a=t.d,(a<0||a>6)&&(u=!0)):t.e!=null?(a=t.e+i,(t.e<0||t.e>6)&&(u=!0)):a=i),n<1||n>dt(r,i,o)?W(e)._overflowWeeks=!0:u!=null?W(e)._overflowWeekday=!0:(s=mu(r,n,a,i,o),e._a[ve]=s.year,e._dayOfYear=s.dayOfYear)}M.ISO_8601=function(){};M.RFC_2822=function(){};function ii(e){if(e._f===M.ISO_8601){Iu(e);return}if(e._f===M.RFC_2822){xu(e);return}e._a=[],W(e).empty=!0;var t=""+e._i,r,n,a,i,o,s=t.length,u=0,l,c;for(a=nu(e._f,e._locale).match($a)||[],c=a.length,r=0;r<c;r++)i=a[r],n=(t.match(Nm(i,e))||[])[0],n&&(o=t.substr(0,t.indexOf(n)),o.length>0&&W(e).unusedInput.push(o),t=t.slice(t.indexOf(n)+n.length),u+=n.length),Lt[i]?(n?W(e).empty=!1:W(e).unusedTokens.push(i),Pm(i,n,e)):e._strict&&!n&&W(e).unusedTokens.push(i);W(e).charsLeftOver=s-u,t.length>0&&W(e).unusedInput.push(t),e._a[ce]<=12&&W(e).bigHour===!0&&e._a[ce]>0&&(W(e).bigHour=void 0),W(e).parsedDateParts=e._a.slice(0),W(e).meridiem=e._meridiem,e._a[ce]=Hg(e._locale,e._a[ce],e._meridiem),l=W(e).era,l!==null&&(e._a[ve]=e._locale.erasConvertYear(l,e._a[ve])),ai(e),ri(e)}function Hg(e,t,r){var n;return r==null?t:e.meridiemHour!=null?e.meridiemHour(t,r):(e.isPM!=null&&(n=e.isPM(r),n&&t<12&&(t+=12),!n&&t===12&&(t=0)),t)}function Zg(e){var t,r,n,a,i,o,s=!1,u=e._f.length;if(u===0){W(e).invalidFormat=!0,e._d=new Date(NaN);return}for(a=0;a<u;a++)i=0,o=!1,t=za({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[a],ii(t),ja(t)&&(o=!0),i+=W(t).charsLeftOver,i+=W(t).unusedTokens.length*10,W(t).score=i,s?i<n&&(n=i,r=t):(n==null||i<n||o)&&(n=i,r=t,o&&(s=!0));bt(e,r||t)}function Xg(e){if(!e._d){var t=Ja(e._i),r=t.day===void 0?t.date:t.day;e._a=qs([t.year,t.month,r,t.hour,t.minute,t.second,t.millisecond],function(n){return n&&parseInt(n,10)}),ai(e)}}function jg(e){var t=new wn(ri(Cu(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function Cu(e){var t=e._i,r=e._f;return e._locale=e._locale||mt(e._l),t===null||r===void 0&&t===""?pr({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),He(t)?new wn(ri(t)):(Cn(t)?e._d=t:Le(r)?Zg(e):r?ii(e):zg(e),ja(e)||(e._d=null),e))}function zg(e){var t=e._i;Ce(t)?e._d=new Date(M.now()):Cn(t)?e._d=new Date(t.valueOf()):typeof t=="string"?Yg(e):Le(t)?(e._a=qs(t.slice(0),function(r){return parseInt(r,10)}),ai(e)):_t(t)?Xg(e):ht(t)?e._d=new Date(t):M.createFromInputFallback(e)}function wu(e,t,r,n,a){var i={};return(t===!0||t===!1)&&(n=t,t=void 0),(r===!0||r===!1)&&(n=r,r=void 0),(_t(e)&&Xa(e)||Le(e)&&e.length===0)&&(e=void 0),i._isAMomentObject=!0,i._useUTC=i._isUTC=a,i._l=r,i._i=e,i._f=t,i._strict=n,jg(i)}function te(e,t,r,n){return wu(e,t,r,n,!1)}var Ug=Fe("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=te.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:pr()}),$g=Fe("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=te.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:pr()});function Du(e,t){var r,n;if(t.length===1&&Le(t[0])&&(t=t[0]),!t.length)return te();for(r=t[0],n=1;n<t.length;++n)(!t[n].isValid()||t[n][e](r))&&(r=t[n]);return r}function Jg(){var e=[].slice.call(arguments,0);return Du("isBefore",e)}function Qg(){var e=[].slice.call(arguments,0);return Du("isAfter",e)}var Kg=function(){return Date.now?Date.now():+new Date},an=["year","quarter","month","week","day","hour","minute","second","millisecond"];function qg(e){var t,r=!1,n,a=an.length;for(t in e)if(Z(e,t)&&!(se.call(an,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(n=0;n<a;++n)if(e[an[n]]){if(r)return!1;parseFloat(e[an[n]])!==Y(e[an[n]])&&(r=!0)}return!0}function ev(){return this._isValid}function tv(){return Xe(NaN)}function wr(e){var t=Ja(e),r=t.year||0,n=t.quarter||0,a=t.month||0,i=t.week||t.isoWeek||0,o=t.day||0,s=t.hour||0,u=t.minute||0,l=t.second||0,c=t.millisecond||0;this._isValid=qg(t),this._milliseconds=+c+l*1e3+u*6e4+s*1e3*60*60,this._days=+o+i*7,this._months=+a+n*3+r*12,this._data={},this._locale=mt(),this._bubble()}function Xn(e){return e instanceof wr}function aa(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function nv(e,t,r){var n=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),i=0,o;for(o=0;o<n;o++)(r&&e[o]!==t[o]||!r&&Y(e[o])!==Y(t[o]))&&i++;return i+a}function ku(e,t){O(e,0,0,function(){var r=this.utcOffset(),n="+";return r<0&&(r=-r,n="-"),n+et(~~(r/60),2)+t+et(~~r%60,2)})}ku("Z",":");ku("ZZ","");E("Z",Ir);E("ZZ",Ir);q(["Z","ZZ"],function(e,t,r){r._useUTC=!0,r._tzm=oi(Ir,e)});var rv=/([\+\-]|\d\d)/gi;function oi(e,t){var r=(t||"").match(e),n,a,i;return r===null?null:(n=r[r.length-1]||[],a=(n+"").match(rv)||["-",0,0],i=+(a[1]*60)+Y(a[2]),i===0?0:a[0]==="+"?i:-i)}function si(e,t){var r,n;return t._isUTC?(r=t.clone(),n=(He(e)||Cn(e)?e.valueOf():te(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+n),M.updateOffset(r,!1),r):te(e).local()}function ia(e){return-Math.round(e._d.getTimezoneOffset())}M.updateOffset=function(){};function av(e,t,r){var n=this._offset||0,a;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=oi(Ir,e),e===null)return this}else Math.abs(e)<16&&!r&&(e=e*60);return!this._isUTC&&t&&(a=ia(this)),this._offset=e,this._isUTC=!0,a!=null&&this.add(a,"m"),n!==e&&(!t||this._changeInProgress?Eu(this,Xe(e-n,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,M.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?n:ia(this)}function iv(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function ov(e){return this.utcOffset(0,e)}function sv(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(ia(this),"m")),this}function uv(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=oi(Am,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function lv(e){return this.isValid()?(e=e?te(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function cv(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function dv(){if(!Ce(this._isDSTShifted))return this._isDSTShifted;var e={},t;return za(e,this),e=Cu(e),e._a?(t=e._isUTC?tt(e._a):te(e._a),this._isDSTShifted=this.isValid()&&nv(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function fv(){return this.isValid()?!this._isUTC:!1}function hv(){return this.isValid()?this._isUTC:!1}function Mu(){return this.isValid()?this._isUTC&&this._offset===0:!1}var pv=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,mv=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Xe(e,t){var r=e,n=null,a,i,o;return Xn(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:ht(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(n=pv.exec(e))?(a=n[1]==="-"?-1:1,r={y:0,d:Y(n[Ke])*a,h:Y(n[ce])*a,m:Y(n[Ve])*a,s:Y(n[ct])*a,ms:Y(aa(n[Et]*1e3))*a}):(n=mv.exec(e))?(a=n[1]==="-"?-1:1,r={y:kt(n[2],a),M:kt(n[3],a),w:kt(n[4],a),d:kt(n[5],a),h:kt(n[6],a),m:kt(n[7],a),s:kt(n[8],a)}):r==null?r={}:typeof r=="object"&&("from"in r||"to"in r)&&(o=gv(te(r.from),te(r.to)),r={},r.ms=o.milliseconds,r.M=o.months),i=new wr(r),Xn(e)&&Z(e,"_locale")&&(i._locale=e._locale),Xn(e)&&Z(e,"_isValid")&&(i._isValid=e._isValid),i}Xe.fn=wr.prototype;Xe.invalid=tv;function kt(e,t){var r=e&&parseFloat(e.replace(",","."));return(isNaN(r)?0:r)*t}function uo(e,t){var r={};return r.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(r.months,"M").isAfter(t)&&--r.months,r.milliseconds=+t-+e.clone().add(r.months,"M"),r}function gv(e,t){var r;return e.isValid()&&t.isValid()?(t=si(t,e),e.isBefore(t)?r=uo(e,t):(r=uo(t,e),r.milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}function Su(e,t){return function(r,n){var a,i;return n!==null&&!isNaN(+n)&&(tu(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=r,r=n,n=i),a=Xe(r,n),Eu(this,a,e),this}}function Eu(e,t,r,n){var a=t._milliseconds,i=aa(t._days),o=aa(t._months);e.isValid()&&(n=n??!0,o&&du(e,er(e,"Month")+o*r),i&&au(e,"Date",er(e,"Date")+i*r),a&&e._d.setTime(e._d.valueOf()+a*r),n&&M.updateOffset(e,i||o))}var vv=Su(1,"add"),bv=Su(-1,"subtract");function Au(e){return typeof e=="string"||e instanceof String}function yv(e){return He(e)||Cn(e)||Au(e)||ht(e)||xv(e)||Iv(e)||e===null||e===void 0}function Iv(e){var t=_t(e)&&!Xa(e),r=!1,n=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],a,i,o=n.length;for(a=0;a<o;a+=1)i=n[a],r=r||Z(e,i);return t&&r}function xv(e){var t=Le(e),r=!1;return t&&(r=e.filter(function(n){return!ht(n)&&Au(e)}).length===0),t&&r}function Cv(e){var t=_t(e)&&!Xa(e),r=!1,n=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],a,i;for(a=0;a<n.length;a+=1)i=n[a],r=r||Z(e,i);return t&&r}function wv(e,t){var r=e.diff(t,"days",!0);return r<-6?"sameElse":r<-1?"lastWeek":r<0?"lastDay":r<1?"sameDay":r<2?"nextDay":r<7?"nextWeek":"sameElse"}function Dv(e,t){arguments.length===1&&(arguments[0]?yv(arguments[0])?(e=arguments[0],t=void 0):Cv(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var r=e||te(),n=si(r,this).startOf("day"),a=M.calendarFormat(this,n)||"sameElse",i=t&&(nt(t[a])?t[a].call(this,r):t[a]);return this.format(i||this.localeData().calendar(a,this,te(r)))}function kv(){return new wn(this)}function Mv(e,t){var r=He(e)?e:te(e);return this.isValid()&&r.isValid()?(t=Re(t)||"millisecond",t==="millisecond"?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(t).valueOf()):!1}function Sv(e,t){var r=He(e)?e:te(e);return this.isValid()&&r.isValid()?(t=Re(t)||"millisecond",t==="millisecond"?this.valueOf()<r.valueOf():this.clone().endOf(t).valueOf()<r.valueOf()):!1}function Ev(e,t,r,n){var a=He(e)?e:te(e),i=He(t)?t:te(t);return this.isValid()&&a.isValid()&&i.isValid()?(n=n||"()",(n[0]==="("?this.isAfter(a,r):!this.isBefore(a,r))&&(n[1]===")"?this.isBefore(i,r):!this.isAfter(i,r))):!1}function Av(e,t){var r=He(e)?e:te(e),n;return this.isValid()&&r.isValid()?(t=Re(t)||"millisecond",t==="millisecond"?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf())):!1}function _v(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Nv(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Ov(e,t,r){var n,a,i;if(!this.isValid())return NaN;if(n=si(e,this),!n.isValid())return NaN;switch(a=(n.utcOffset()-this.utcOffset())*6e4,t=Re(t),t){case"year":i=jn(this,n)/12;break;case"month":i=jn(this,n);break;case"quarter":i=jn(this,n)/3;break;case"second":i=(this-n)/1e3;break;case"minute":i=(this-n)/6e4;break;case"hour":i=(this-n)/36e5;break;case"day":i=(this-n-a)/864e5;break;case"week":i=(this-n-a)/6048e5;break;default:i=this-n}return r?i:Te(i)}function jn(e,t){if(e.date()<t.date())return-jn(t,e);var r=(t.year()-e.year())*12+(t.month()-e.month()),n=e.clone().add(r,"months"),a,i;return t-n<0?(a=e.clone().add(r-1,"months"),i=(t-n)/(n-a)):(a=e.clone().add(r+1,"months"),i=(t-n)/(a-n)),-(r+i)||0}M.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";M.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function Pv(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Tv(e){if(!this.isValid())return null;var t=e!==!0,r=t?this.clone().utc():this;return r.year()<0||r.year()>9999?Zn(r,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):nt(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Zn(r,"Z")):Zn(r,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Fv(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",r,n,a,i;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),r="["+e+'("]',n=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",a="-MM-DD[T]HH:mm:ss.SSS",i=t+'[")]',this.format(r+n+a+i)}function Rv(e){e||(e=this.isUtc()?M.defaultFormatUtc:M.defaultFormat);var t=Zn(this,e);return this.localeData().postformat(t)}function Gv(e,t){return this.isValid()&&(He(e)&&e.isValid()||te(e).isValid())?Xe({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Bv(e){return this.from(te(),e)}function Wv(e,t){return this.isValid()&&(He(e)&&e.isValid()||te(e).isValid())?Xe({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Yv(e){return this.to(te(),e)}function _u(e){var t;return e===void 0?this._locale._abbr:(t=mt(e),t!=null&&(this._locale=t),this)}var Nu=Fe("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function Ou(){return this._locale}var rr=1e3,Ht=60*rr,ar=60*Ht,Pu=(365*400+97)*24*ar;function Zt(e,t){return(e%t+t)%t}function Tu(e,t,r){return e<100&&e>=0?new Date(e+400,t,r)-Pu:new Date(e,t,r).valueOf()}function Fu(e,t,r){return e<100&&e>=0?Date.UTC(e+400,t,r)-Pu:Date.UTC(e,t,r)}function Vv(e){var t,r;if(e=Re(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?Fu:Tu,e){case"year":t=r(this.year(),0,1);break;case"quarter":t=r(this.year(),this.month()-this.month()%3,1);break;case"month":t=r(this.year(),this.month(),1);break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=r(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=Zt(t+(this._isUTC?0:this.utcOffset()*Ht),ar);break;case"minute":t=this._d.valueOf(),t-=Zt(t,Ht);break;case"second":t=this._d.valueOf(),t-=Zt(t,rr);break}return this._d.setTime(t),M.updateOffset(this,!0),this}function Lv(e){var t,r;if(e=Re(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?Fu:Tu,e){case"year":t=r(this.year()+1,0,1)-1;break;case"quarter":t=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=r(this.year(),this.month()+1,1)-1;break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=ar-Zt(t+(this._isUTC?0:this.utcOffset()*Ht),ar)-1;break;case"minute":t=this._d.valueOf(),t+=Ht-Zt(t,Ht)-1;break;case"second":t=this._d.valueOf(),t+=rr-Zt(t,rr)-1;break}return this._d.setTime(t),M.updateOffset(this,!0),this}function Hv(){return this._d.valueOf()-(this._offset||0)*6e4}function Zv(){return Math.floor(this.valueOf()/1e3)}function Xv(){return new Date(this.valueOf())}function jv(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function zv(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function Uv(){return this.isValid()?this.toISOString():null}function $v(){return ja(this)}function Jv(){return bt({},W(this))}function Qv(){return W(this).overflow}function Kv(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}O("N",0,0,"eraAbbr");O("NN",0,0,"eraAbbr");O("NNN",0,0,"eraAbbr");O("NNNN",0,0,"eraName");O("NNNNN",0,0,"eraNarrow");O("y",["y",1],"yo","eraYear");O("y",["yy",2],0,"eraYear");O("y",["yyy",3],0,"eraYear");O("y",["yyyy",4],0,"eraYear");E("N",ui);E("NN",ui);E("NNN",ui);E("NNNN",lb);E("NNNNN",cb);q(["N","NN","NNN","NNNN","NNNNN"],function(e,t,r,n){var a=r._locale.erasParse(e,n,r._strict);a?W(r).era=a:W(r).invalidEra=e});E("y",qt);E("yy",qt);E("yyy",qt);E("yyyy",qt);E("yo",db);q(["y","yy","yyy","yyyy"],ve);q(["yo"],function(e,t,r,n){var a;r._locale._eraYearOrdinalRegex&&(a=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[ve]=r._locale.eraYearOrdinalParse(e,a):t[ve]=parseInt(e,10)});function qv(e,t){var r,n,a,i=this._eras||mt("en")._eras;for(r=0,n=i.length;r<n;++r){switch(typeof i[r].since){case"string":a=M(i[r].since).startOf("day"),i[r].since=a.valueOf();break}switch(typeof i[r].until){case"undefined":i[r].until=1/0;break;case"string":a=M(i[r].until).startOf("day").valueOf(),i[r].until=a.valueOf();break}}return i}function eb(e,t,r){var n,a,i=this.eras(),o,s,u;for(e=e.toUpperCase(),n=0,a=i.length;n<a;++n)if(o=i[n].name.toUpperCase(),s=i[n].abbr.toUpperCase(),u=i[n].narrow.toUpperCase(),r)switch(t){case"N":case"NN":case"NNN":if(s===e)return i[n];break;case"NNNN":if(o===e)return i[n];break;case"NNNNN":if(u===e)return i[n];break}else if([o,s,u].indexOf(e)>=0)return i[n]}function tb(e,t){var r=e.since<=e.until?1:-1;return t===void 0?M(e.since).year():M(e.since).year()+(t-e.offset)*r}function nb(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until||n[e].until<=r&&r<=n[e].since)return n[e].name;return""}function rb(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until||n[e].until<=r&&r<=n[e].since)return n[e].narrow;return""}function ab(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until||n[e].until<=r&&r<=n[e].since)return n[e].abbr;return""}function ib(){var e,t,r,n,a=this.localeData().eras();for(e=0,t=a.length;e<t;++e)if(r=a[e].since<=a[e].until?1:-1,n=this.clone().startOf("day").valueOf(),a[e].since<=n&&n<=a[e].until||a[e].until<=n&&n<=a[e].since)return(this.year()-M(a[e].since).year())*r+a[e].offset;return this.year()}function ob(e){return Z(this,"_erasNameRegex")||li.call(this),e?this._erasNameRegex:this._erasRegex}function sb(e){return Z(this,"_erasAbbrRegex")||li.call(this),e?this._erasAbbrRegex:this._erasRegex}function ub(e){return Z(this,"_erasNarrowRegex")||li.call(this),e?this._erasNarrowRegex:this._erasRegex}function ui(e,t){return t.erasAbbrRegex(e)}function lb(e,t){return t.erasNameRegex(e)}function cb(e,t){return t.erasNarrowRegex(e)}function db(e,t){return t._eraYearOrdinalRegex||qt}function li(){var e=[],t=[],r=[],n=[],a,i,o=this.eras();for(a=0,i=o.length;a<i;++a)t.push(Se(o[a].name)),e.push(Se(o[a].abbr)),r.push(Se(o[a].narrow)),n.push(Se(o[a].name)),n.push(Se(o[a].abbr)),n.push(Se(o[a].narrow));this._erasRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}O(0,["gg",2],0,function(){return this.weekYear()%100});O(0,["GG",2],0,function(){return this.isoWeekYear()%100});function Dr(e,t){O(0,[e,e.length],0,t)}Dr("gggg","weekYear");Dr("ggggg","weekYear");Dr("GGGG","isoWeekYear");Dr("GGGGG","isoWeekYear");be("weekYear","gg");be("isoWeekYear","GG");ye("weekYear",1);ye("isoWeekYear",1);E("G",yr);E("g",yr);E("GG",ne,_e);E("gg",ne,_e);E("GGGG",Ka,Qa);E("gggg",Ka,Qa);E("GGGGG",br,gr);E("ggggg",br,gr);kn(["gggg","ggggg","GGGG","GGGGG"],function(e,t,r,n){t[n.substr(0,2)]=Y(e)});kn(["gg","GG"],function(e,t,r,n){t[n]=M.parseTwoDigitYear(e)});function fb(e){return Ru.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function hb(e){return Ru.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function pb(){return dt(this.year(),1,4)}function mb(){return dt(this.isoWeekYear(),1,4)}function gb(){var e=this.localeData()._week;return dt(this.year(),e.dow,e.doy)}function vb(){var e=this.localeData()._week;return dt(this.weekYear(),e.dow,e.doy)}function Ru(e,t,r,n,a){var i;return e==null?yn(this,n,a).year:(i=dt(e,n,a),t>i&&(t=i),bb.call(this,e,t,r,n,a))}function bb(e,t,r,n,a){var i=mu(e,t,r,n,a),o=bn(i.year,0,i.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}O("Q",0,"Qo","quarter");be("quarter","Q");ye("quarter",7);E("Q",iu);q("Q",function(e,t){t[lt]=(Y(e)-1)*3});function yb(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}O("D",["DD",2],"Do","date");be("date","D");ye("date",9);E("D",ne);E("DD",ne,_e);E("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient});q(["D","DD"],Ke);q("Do",function(e,t){t[Ke]=Y(e.match(ne)[0])});var Gu=Kt("Date",!0);O("DDD",["DDDD",3],"DDDo","dayOfYear");be("dayOfYear","DDD");ye("dayOfYear",4);E("DDD",vr);E("DDDD",ou);q(["DDD","DDDD"],function(e,t,r){r._dayOfYear=Y(e)});function Ib(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}O("m",["mm",2],0,"minute");be("minute","m");ye("minute",14);E("m",ne);E("mm",ne,_e);q(["m","mm"],Ve);var xb=Kt("Minutes",!1);O("s",["ss",2],0,"second");be("second","s");ye("second",15);E("s",ne);E("ss",ne,_e);q(["s","ss"],ct);var Cb=Kt("Seconds",!1);O("S",0,0,function(){return~~(this.millisecond()/100)});O(0,["SS",2],0,function(){return~~(this.millisecond()/10)});O(0,["SSS",3],0,"millisecond");O(0,["SSSS",4],0,function(){return this.millisecond()*10});O(0,["SSSSS",5],0,function(){return this.millisecond()*100});O(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});O(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});O(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});O(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});be("millisecond","ms");ye("millisecond",16);E("S",vr,iu);E("SS",vr,_e);E("SSS",vr,ou);var yt,Bu;for(yt="SSSS";yt.length<=9;yt+="S")E(yt,qt);function wb(e,t){t[Et]=Y(("0."+e)*1e3)}for(yt="S";yt.length<=9;yt+="S")q(yt,wb);Bu=Kt("Milliseconds",!1);O("z",0,0,"zoneAbbr");O("zz",0,0,"zoneName");function Db(){return this._isUTC?"UTC":""}function kb(){return this._isUTC?"Coordinated Universal Time":""}var w=wn.prototype;w.add=vv;w.calendar=Dv;w.clone=kv;w.diff=Ov;w.endOf=Lv;w.format=Rv;w.from=Gv;w.fromNow=Bv;w.to=Wv;w.toNow=Yv;w.get=Sm;w.invalidAt=Qv;w.isAfter=Mv;w.isBefore=Sv;w.isBetween=Ev;w.isSame=Av;w.isSameOrAfter=_v;w.isSameOrBefore=Nv;w.isValid=$v;w.lang=Nu;w.locale=_u;w.localeData=Ou;w.max=$g;w.min=Ug;w.parsingFlags=Jv;w.set=Em;w.startOf=Vv;w.subtract=bv;w.toArray=jv;w.toObject=zv;w.toDate=Xv;w.toISOString=Tv;w.inspect=Fv;typeof Symbol<"u"&&Symbol.for!=null&&(w[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});w.toJSON=Uv;w.toString=Pv;w.unix=Zv;w.valueOf=Hv;w.creationData=Kv;w.eraName=nb;w.eraNarrow=rb;w.eraAbbr=ab;w.eraYear=ib;w.year=pu;w.isLeapYear=zm;w.weekYear=fb;w.isoWeekYear=hb;w.quarter=w.quarters=yb;w.month=fu;w.daysInMonth=Zm;w.week=w.weeks=qm;w.isoWeek=w.isoWeeks=eg;w.weeksInYear=gb;w.weeksInWeekYear=vb;w.isoWeeksInYear=pb;w.isoWeeksInISOWeekYear=mb;w.date=Gu;w.day=w.days=hg;w.weekday=pg;w.isoWeekday=mg;w.dayOfYear=Ib;w.hour=w.hours=Cg;w.minute=w.minutes=xb;w.second=w.seconds=Cb;w.millisecond=w.milliseconds=Bu;w.utcOffset=av;w.utc=ov;w.local=sv;w.parseZone=uv;w.hasAlignedHourOffset=lv;w.isDST=cv;w.isLocal=fv;w.isUtcOffset=hv;w.isUtc=Mu;w.isUTC=Mu;w.zoneAbbr=Db;w.zoneName=kb;w.dates=Fe("dates accessor is deprecated. Use date instead.",Gu);w.months=Fe("months accessor is deprecated. Use month instead",fu);w.years=Fe("years accessor is deprecated. Use year instead",pu);w.zone=Fe("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",iv);w.isDSTShifted=Fe("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",dv);function Mb(e){return te(e*1e3)}function Sb(){return te.apply(null,arguments).parseZone()}function Wu(e){return e}var X=Ua.prototype;X.calendar=hm;X.longDateFormat=vm;X.invalidDate=ym;X.ordinal=Cm;X.preparse=Wu;X.postformat=Wu;X.relativeTime=Dm;X.pastFuture=km;X.set=dm;X.eras=qv;X.erasParse=eb;X.erasConvertYear=tb;X.erasAbbrRegex=sb;X.erasNameRegex=ob;X.erasNarrowRegex=ub;X.months=Ym;X.monthsShort=Vm;X.monthsParse=Hm;X.monthsRegex=jm;X.monthsShortRegex=Xm;X.week=$m;X.firstDayOfYear=Km;X.firstDayOfWeek=Qm;X.weekdays=ug;X.weekdaysMin=cg;X.weekdaysShort=lg;X.weekdaysParse=fg;X.weekdaysRegex=gg;X.weekdaysShortRegex=vg;X.weekdaysMinRegex=bg;X.isPM=Ig;X.meridiem=wg;function ir(e,t,r,n){var a=mt(),i=tt().set(n,t);return a[r](i,e)}function Yu(e,t,r){if(ht(e)&&(t=e,e=void 0),e=e||"",t!=null)return ir(e,t,r,"month");var n,a=[];for(n=0;n<12;n++)a[n]=ir(e,n,r,"month");return a}function ci(e,t,r,n){typeof e=="boolean"?(ht(t)&&(r=t,t=void 0),t=t||""):(t=e,r=t,e=!1,ht(t)&&(r=t,t=void 0),t=t||"");var a=mt(),i=e?a._week.dow:0,o,s=[];if(r!=null)return ir(t,(r+i)%7,n,"day");for(o=0;o<7;o++)s[o]=ir(t,(o+i)%7,n,"day");return s}function Eb(e,t){return Yu(e,t,"months")}function Ab(e,t){return Yu(e,t,"monthsShort")}function _b(e,t,r){return ci(e,t,r,"weekdays")}function Nb(e,t,r){return ci(e,t,r,"weekdaysShort")}function Ob(e,t,r){return ci(e,t,r,"weekdaysMin")}It("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,r=Y(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+r}});M.lang=Fe("moment.lang is deprecated. Use moment.locale instead.",It);M.langData=Fe("moment.langData is deprecated. Use moment.localeData instead.",mt);var st=Math.abs;function Pb(){var e=this._data;return this._milliseconds=st(this._milliseconds),this._days=st(this._days),this._months=st(this._months),e.milliseconds=st(e.milliseconds),e.seconds=st(e.seconds),e.minutes=st(e.minutes),e.hours=st(e.hours),e.months=st(e.months),e.years=st(e.years),this}function Vu(e,t,r,n){var a=Xe(t,r);return e._milliseconds+=n*a._milliseconds,e._days+=n*a._days,e._months+=n*a._months,e._bubble()}function Tb(e,t){return Vu(this,e,t,1)}function Fb(e,t){return Vu(this,e,t,-1)}function lo(e){return e<0?Math.floor(e):Math.ceil(e)}function Rb(){var e=this._milliseconds,t=this._days,r=this._months,n=this._data,a,i,o,s,u;return e>=0&&t>=0&&r>=0||e<=0&&t<=0&&r<=0||(e+=lo(oa(r)+t)*864e5,t=0,r=0),n.milliseconds=e%1e3,a=Te(e/1e3),n.seconds=a%60,i=Te(a/60),n.minutes=i%60,o=Te(i/60),n.hours=o%24,t+=Te(o/24),u=Te(Lu(t)),r+=u,t-=lo(oa(u)),s=Te(r/12),r%=12,n.days=t,n.months=r,n.years=s,this}function Lu(e){return e*4800/146097}function oa(e){return e*146097/4800}function Gb(e){if(!this.isValid())return NaN;var t,r,n=this._milliseconds;if(e=Re(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+n/864e5,r=this._months+Lu(t),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(oa(this._months)),e){case"week":return t/7+n/6048e5;case"day":return t+n/864e5;case"hour":return t*24+n/36e5;case"minute":return t*1440+n/6e4;case"second":return t*86400+n/1e3;case"millisecond":return Math.floor(t*864e5)+n;default:throw new Error("Unknown unit "+e)}}function Bb(){return this.isValid()?this._milliseconds+this._days*864e5+this._months%12*2592e6+Y(this._months/12)*31536e6:NaN}function gt(e){return function(){return this.as(e)}}var Wb=gt("ms"),Yb=gt("s"),Vb=gt("m"),Lb=gt("h"),Hb=gt("d"),Zb=gt("w"),Xb=gt("M"),jb=gt("Q"),zb=gt("y");function Ub(){return Xe(this)}function $b(e){return e=Re(e),this.isValid()?this[e+"s"]():NaN}function Tt(e){return function(){return this.isValid()?this._data[e]:NaN}}var Jb=Tt("milliseconds"),Qb=Tt("seconds"),Kb=Tt("minutes"),qb=Tt("hours"),ey=Tt("days"),ty=Tt("months"),ny=Tt("years");function ry(){return Te(this.days()/7)}var ut=Math.round,Yt={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function ay(e,t,r,n,a){return a.relativeTime(t||1,!!r,e,n)}function iy(e,t,r,n){var a=Xe(e).abs(),i=ut(a.as("s")),o=ut(a.as("m")),s=ut(a.as("h")),u=ut(a.as("d")),l=ut(a.as("M")),c=ut(a.as("w")),d=ut(a.as("y")),p=i<=r.ss&&["s",i]||i<r.s&&["ss",i]||o<=1&&["m"]||o<r.m&&["mm",o]||s<=1&&["h"]||s<r.h&&["hh",s]||u<=1&&["d"]||u<r.d&&["dd",u];return r.w!=null&&(p=p||c<=1&&["w"]||c<r.w&&["ww",c]),p=p||l<=1&&["M"]||l<r.M&&["MM",l]||d<=1&&["y"]||["yy",d],p[2]=t,p[3]=+e>0,p[4]=n,ay.apply(null,p)}function oy(e){return e===void 0?ut:typeof e=="function"?(ut=e,!0):!1}function sy(e,t){return Yt[e]===void 0?!1:t===void 0?Yt[e]:(Yt[e]=t,e==="s"&&(Yt.ss=t-1),!0)}function uy(e,t){if(!this.isValid())return this.localeData().invalidDate();var r=!1,n=Yt,a,i;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(r=e),typeof t=="object"&&(n=Object.assign({},Yt,t),t.s!=null&&t.ss==null&&(n.ss=t.s-1)),a=this.localeData(),i=iy(this,!r,n,a),r&&(i=a.pastFuture(+this,i)),a.postformat(i)}var Wr=Math.abs;function Bt(e){return(e>0)-(e<0)||+e}function kr(){if(!this.isValid())return this.localeData().invalidDate();var e=Wr(this._milliseconds)/1e3,t=Wr(this._days),r=Wr(this._months),n,a,i,o,s=this.asSeconds(),u,l,c,d;return s?(n=Te(e/60),a=Te(n/60),e%=60,n%=60,i=Te(r/12),r%=12,o=e?e.toFixed(3).replace(/\.?0+$/,""):"",u=s<0?"-":"",l=Bt(this._months)!==Bt(s)?"-":"",c=Bt(this._days)!==Bt(s)?"-":"",d=Bt(this._milliseconds)!==Bt(s)?"-":"",u+"P"+(i?l+i+"Y":"")+(r?l+r+"M":"")+(t?c+t+"D":"")+(a||n||e?"T":"")+(a?d+a+"H":"")+(n?d+n+"M":"")+(e?d+o+"S":"")):"P0D"}var L=wr.prototype;L.isValid=ev;L.abs=Pb;L.add=Tb;L.subtract=Fb;L.as=Gb;L.asMilliseconds=Wb;L.asSeconds=Yb;L.asMinutes=Vb;L.asHours=Lb;L.asDays=Hb;L.asWeeks=Zb;L.asMonths=Xb;L.asQuarters=jb;L.asYears=zb;L.valueOf=Bb;L._bubble=Rb;L.clone=Ub;L.get=$b;L.milliseconds=Jb;L.seconds=Qb;L.minutes=Kb;L.hours=qb;L.days=ey;L.weeks=ry;L.months=ty;L.years=ny;L.humanize=uy;L.toISOString=kr;L.toString=kr;L.toJSON=kr;L.locale=_u;L.localeData=Ou;L.toIsoString=Fe("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",kr);L.lang=Nu;O("X",0,0,"unix");O("x",0,0,"valueOf");E("x",yr);E("X",_m);q("X",function(e,t,r){r._d=new Date(parseFloat(e)*1e3)});q("x",function(e,t,r){r._d=new Date(Y(e))});//! moment.js
|
|
691
|
-
|
|
687
|
+
var cu;function D(){return cu.apply(null,arguments)}function Xp(e){cu=e}function at(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function Ht(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function q(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function ni(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var t;for(t in e)if(q(e,t))return!1;return!0}function Re(e){return e===void 0}function Et(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function Gn(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function du(e,t){var n=[],r,a=e.length;for(r=0;r<a;++r)n.push(t(e[r],r));return n}function _t(e,t){for(var n in t)q(t,n)&&(e[n]=t[n]);return q(t,"toString")&&(e.toString=t.toString),q(t,"valueOf")&&(e.valueOf=t.valueOf),e}function bt(e,t,n,r){return Fu(e,t,n,r,!0).utc()}function Zp(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function Z(e){return e._pf==null&&(e._pf=Zp()),e._pf}var ba;Array.prototype.some?ba=Array.prototype.some:ba=function(e){var t=Object(this),n=t.length>>>0,r;for(r=0;r<n;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1};function ri(e){if(e._isValid==null){var t=Z(e),n=ba.call(t.parsedDateParts,function(a){return a!=null}),r=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(r=r&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===void 0),Object.isFrozen==null||!Object.isFrozen(e))e._isValid=r;else return r}return e._isValid}function Cr(e){var t=bt(NaN);return e!=null?_t(Z(t),e):Z(t).userInvalidated=!0,t}var wo=D.momentProperties=[],Qr=!1;function ai(e,t){var n,r,a,i=wo.length;if(Re(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),Re(t._i)||(e._i=t._i),Re(t._f)||(e._f=t._f),Re(t._l)||(e._l=t._l),Re(t._strict)||(e._strict=t._strict),Re(t._tzm)||(e._tzm=t._tzm),Re(t._isUTC)||(e._isUTC=t._isUTC),Re(t._offset)||(e._offset=t._offset),Re(t._pf)||(e._pf=Z(t)),Re(t._locale)||(e._locale=t._locale),i>0)for(n=0;n<i;n++)r=wo[n],a=t[r],Re(a)||(e[r]=a);return e}function Pn(e){ai(this,e),this._d=new Date(e._d!=null?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),Qr===!1&&(Qr=!0,D.updateOffset(this),Qr=!1)}function it(e){return e instanceof Pn||e!=null&&e._isAMomentObject!=null}function fu(e){D.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+e)}function Qe(e,t){var n=!0;return _t(function(){if(D.deprecationHandler!=null&&D.deprecationHandler(null,e),n){var r=[],a,i,o,s=arguments.length;for(i=0;i<s;i++){if(a="",typeof arguments[i]=="object"){a+=`
|
|
688
|
+
[`+i+"] ";for(o in arguments[0])q(arguments[0],o)&&(a+=o+": "+arguments[0][o]+", ");a=a.slice(0,-2)}else a=arguments[i];r.push(a)}fu(e+`
|
|
689
|
+
Arguments: `+Array.prototype.slice.call(r).join("")+`
|
|
690
|
+
`+new Error().stack),n=!1}return t.apply(this,arguments)},t)}var Mo={};function hu(e,t){D.deprecationHandler!=null&&D.deprecationHandler(e,t),Mo[e]||(fu(t),Mo[e]=!0)}D.suppressDeprecationWarnings=!1;D.deprecationHandler=null;function vt(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function Lp(e){var t,n;for(n in e)q(e,n)&&(t=e[n],vt(t)?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function va(e,t){var n=_t({},e),r;for(r in t)q(t,r)&&(Ht(e[r])&&Ht(t[r])?(n[r]={},_t(n[r],e[r]),_t(n[r],t[r])):t[r]!=null?n[r]=t[r]:delete n[r]);for(r in e)q(e,r)&&!q(t,r)&&Ht(e[r])&&(n[r]=_t({},n[r]));return n}function ii(e){e!=null&&this.set(e)}var ya;Object.keys?ya=Object.keys:ya=function(e){var t,n=[];for(t in e)q(e,t)&&n.push(t);return n};var jp={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function zp(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return vt(r)?r.call(t,n):r}function gt(e,t,n){var r=""+Math.abs(e),a=t-r.length,i=e>=0;return(i?n?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+r}var oi=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,zn=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,qr={},Kt={};function P(e,t,n,r){var a=r;typeof r=="string"&&(a=function(){return this[r]()}),e&&(Kt[e]=a),t&&(Kt[t[0]]=function(){return gt(a.apply(this,arguments),t[1],t[2])}),n&&(Kt[n]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function Jp(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function Up(e){var t=e.match(oi),n,r;for(n=0,r=t.length;n<r;n++)Kt[t[n]]?t[n]=Kt[t[n]]:t[n]=Jp(t[n]);return function(a){var i="",o;for(o=0;o<r;o++)i+=vt(t[o])?t[o].call(a,e):t[o];return i}}function Kn(e,t){return e.isValid()?(t=mu(t,e.localeData()),qr[t]=qr[t]||Up(t),qr[t](e)):e.localeData().invalidDate()}function mu(e,t){var n=5;function r(a){return t.longDateFormat(a)||a}for(zn.lastIndex=0;n>=0&&zn.test(e);)e=e.replace(zn,r),zn.lastIndex=0,n-=1;return e}var $p={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function Qp(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(oi).map(function(r){return r==="MMMM"||r==="MM"||r==="DD"||r==="dddd"?r.slice(1):r}).join(""),this._longDateFormat[e])}var qp="Invalid date";function Kp(){return this._invalidDate}var eb="%d",tb=/\d{1,2}/;function nb(e){return this._ordinal.replace("%d",e)}var rb={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function ab(e,t,n,r){var a=this._relativeTime[n];return vt(a)?a(e,t,n,r):a.replace(/%d/i,e)}function ib(e,t){var n=this._relativeTime[e>0?"future":"past"];return vt(n)?n(t):n.replace(/%s/i,t)}var xn={};function Pe(e,t){var n=e.toLowerCase();xn[n]=xn[n+"s"]=xn[t]=e}function qe(e){return typeof e=="string"?xn[e]||xn[e.toLowerCase()]:void 0}function si(e){var t={},n,r;for(r in e)q(e,r)&&(n=qe(r),n&&(t[n]=e[r]));return t}var gu={};function Ye(e,t){gu[e]=t}function ob(e){var t=[],n;for(n in e)q(e,n)&&t.push({unit:n,priority:gu[n]});return t.sort(function(r,a){return r.priority-a.priority}),t}function wr(e){return e%4===0&&e%100!==0||e%400===0}function $e(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function L(e){var t=+e,n=0;return t!==0&&isFinite(t)&&(n=$e(t)),n}function ln(e,t){return function(n){return n!=null?(pu(this,e,n),D.updateOffset(this,t),this):ur(this,e)}}function ur(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function pu(e,t,n){e.isValid()&&!isNaN(n)&&(t==="FullYear"&&wr(e.year())&&e.month()===1&&e.date()===29?(n=L(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Or(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function sb(e){return e=qe(e),vt(this[e])?this[e]():this}function ub(e,t){if(typeof e=="object"){e=si(e);var n=ob(e),r,a=n.length;for(r=0;r<a;r++)this[n[r].unit](e[n[r].unit])}else if(e=qe(e),vt(this[e]))return this[e](t);return this}var bu=/\d/,Je=/\d\d/,vu=/\d{3}/,ui=/\d{4}/,Mr=/[+-]?\d{6}/,ge=/\d\d?/,yu=/\d\d\d\d?/,Iu=/\d\d\d\d\d\d?/,Sr=/\d{1,3}/,li=/\d{1,4}/,kr=/[+-]?\d{1,6}/,cn=/\d+/,Dr=/[+-]?\d+/,lb=/Z|[+-]\d\d:?\d\d/gi,Er=/Z|[+-]\d\d(?::?\d\d)?/gi,cb=/[+-]?\d+(\.\d{1,3})?/,Yn=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,lr;lr={};function T(e,t,n){lr[e]=vt(t)?t:function(r,a){return r&&n?n:t}}function db(e,t){return q(lr,e)?lr[e](t._strict,t._locale):new RegExp(fb(e))}function fb(e){return Ze(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,n,r,a,i){return n||r||a||i}))}function Ze(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Ia={};function ce(e,t){var n,r=t,a;for(typeof e=="string"&&(e=[e]),Et(t)&&(r=function(i,o){o[t]=L(i)}),a=e.length,n=0;n<a;n++)Ia[e[n]]=r}function Rn(e,t){ce(e,function(n,r,a,i){a._w=a._w||{},t(n,a._w,a,i)})}function hb(e,t,n){t!=null&&q(Ia,e)&&Ia[e](t,n._a,n,e)}var Ge=0,St=1,dt=2,Ae=3,rt=4,kt=5,Vt=6,mb=7,gb=8;function pb(e,t){return(e%t+t)%t}var Me;Array.prototype.indexOf?Me=Array.prototype.indexOf:Me=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function Or(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=pb(t,12);return e+=(t-n)/12,n===1?wr(e)?29:28:31-n%7%2}P("M",["MM",2],"Mo",function(){return this.month()+1});P("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)});P("MMMM",0,0,function(e){return this.localeData().months(this,e)});Pe("month","M");Ye("month",8);T("M",ge);T("MM",ge,Je);T("MMM",function(e,t){return t.monthsShortRegex(e)});T("MMMM",function(e,t){return t.monthsRegex(e)});ce(["M","MM"],function(e,t){t[St]=L(e)-1});ce(["MMM","MMMM"],function(e,t,n,r){var a=n._locale.monthsParse(e,r,n._strict);a!=null?t[St]=a:Z(n).invalidMonth=e});var bb="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),xu="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Cu=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,vb=Yn,yb=Yn;function Ib(e,t){return e?at(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Cu).test(t)?"format":"standalone"][e.month()]:at(this._months)?this._months:this._months.standalone}function xb(e,t){return e?at(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Cu.test(t)?"format":"standalone"][e.month()]:at(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function Cb(e,t,n){var r,a,i,o=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)i=bt([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(i,"").toLocaleLowerCase();return n?t==="MMM"?(a=Me.call(this._shortMonthsParse,o),a!==-1?a:null):(a=Me.call(this._longMonthsParse,o),a!==-1?a:null):t==="MMM"?(a=Me.call(this._shortMonthsParse,o),a!==-1?a:(a=Me.call(this._longMonthsParse,o),a!==-1?a:null)):(a=Me.call(this._longMonthsParse,o),a!==-1?a:(a=Me.call(this._shortMonthsParse,o),a!==-1?a:null))}function wb(e,t,n){var r,a,i;if(this._monthsParseExact)return Cb.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(a=bt([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),!n&&!this._monthsParse[r]&&(i="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[r]=new RegExp(i.replace(".",""),"i")),n&&t==="MMMM"&&this._longMonthsParse[r].test(e))return r;if(n&&t==="MMM"&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}}function wu(e,t){var n;if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=L(t);else if(t=e.localeData().monthsParse(t),!Et(t))return e}return n=Math.min(e.date(),Or(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function Mu(e){return e!=null?(wu(this,e),D.updateOffset(this,!0),this):ur(this,"Month")}function Mb(){return Or(this.year(),this.month())}function Sb(e){return this._monthsParseExact?(q(this,"_monthsRegex")||Su.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(q(this,"_monthsShortRegex")||(this._monthsShortRegex=vb),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function kb(e){return this._monthsParseExact?(q(this,"_monthsRegex")||Su.call(this),e?this._monthsStrictRegex:this._monthsRegex):(q(this,"_monthsRegex")||(this._monthsRegex=yb),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function Su(){function e(o,s){return s.length-o.length}var t=[],n=[],r=[],a,i;for(a=0;a<12;a++)i=bt([2e3,a]),t.push(this.monthsShort(i,"")),n.push(this.months(i,"")),r.push(this.months(i,"")),r.push(this.monthsShort(i,""));for(t.sort(e),n.sort(e),r.sort(e),a=0;a<12;a++)t[a]=Ze(t[a]),n[a]=Ze(n[a]);for(a=0;a<24;a++)r[a]=Ze(r[a]);this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}P("Y",0,0,function(){var e=this.year();return e<=9999?gt(e,4):"+"+e});P(0,["YY",2],0,function(){return this.year()%100});P(0,["YYYY",4],0,"year");P(0,["YYYYY",5],0,"year");P(0,["YYYYYY",6,!0],0,"year");Pe("year","y");Ye("year",1);T("Y",Dr);T("YY",ge,Je);T("YYYY",li,ui);T("YYYYY",kr,Mr);T("YYYYYY",kr,Mr);ce(["YYYYY","YYYYYY"],Ge);ce("YYYY",function(e,t){t[Ge]=e.length===2?D.parseTwoDigitYear(e):L(e)});ce("YY",function(e,t){t[Ge]=D.parseTwoDigitYear(e)});ce("Y",function(e,t){t[Ge]=parseInt(e,10)});function Cn(e){return wr(e)?366:365}D.parseTwoDigitYear=function(e){return L(e)+(L(e)>68?1900:2e3)};var ku=ln("FullYear",!0);function Db(){return wr(this.year())}function Eb(e,t,n,r,a,i,o){var s;return e<100&&e>=0?(s=new Date(e+400,t,n,r,a,i,o),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,a,i,o),s}function On(e){var t,n;return e<100&&e>=0?(n=Array.prototype.slice.call(arguments),n[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function cr(e,t,n){var r=7+t-n,a=(7+On(e,0,r).getUTCDay()-t)%7;return-a+r-1}function Du(e,t,n,r,a){var i=(7+n-r)%7,o=cr(e,r,a),s=1+7*(t-1)+i+o,u,l;return s<=0?(u=e-1,l=Cn(u)+s):s>Cn(e)?(u=e+1,l=s-Cn(e)):(u=e,l=s),{year:u,dayOfYear:l}}function An(e,t,n){var r=cr(e.year(),t,n),a=Math.floor((e.dayOfYear()-r-1)/7)+1,i,o;return a<1?(o=e.year()-1,i=a+Dt(o,t,n)):a>Dt(e.year(),t,n)?(i=a-Dt(e.year(),t,n),o=e.year()+1):(o=e.year(),i=a),{week:i,year:o}}function Dt(e,t,n){var r=cr(e,t,n),a=cr(e+1,t,n);return(Cn(e)-r+a)/7}P("w",["ww",2],"wo","week");P("W",["WW",2],"Wo","isoWeek");Pe("week","w");Pe("isoWeek","W");Ye("week",5);Ye("isoWeek",5);T("w",ge);T("ww",ge,Je);T("W",ge);T("WW",ge,Je);Rn(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=L(e)});function Ob(e){return An(e,this._week.dow,this._week.doy).week}var Ab={dow:0,doy:6};function Nb(){return this._week.dow}function Tb(){return this._week.doy}function _b(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function Wb(e){var t=An(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}P("d",0,"do","day");P("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)});P("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)});P("dddd",0,0,function(e){return this.localeData().weekdays(this,e)});P("e",0,0,"weekday");P("E",0,0,"isoWeekday");Pe("day","d");Pe("weekday","e");Pe("isoWeekday","E");Ye("day",11);Ye("weekday",11);Ye("isoWeekday",11);T("d",ge);T("e",ge);T("E",ge);T("dd",function(e,t){return t.weekdaysMinRegex(e)});T("ddd",function(e,t){return t.weekdaysShortRegex(e)});T("dddd",function(e,t){return t.weekdaysRegex(e)});Rn(["dd","ddd","dddd"],function(e,t,n,r){var a=n._locale.weekdaysParse(e,r,n._strict);a!=null?t.d=a:Z(n).invalidWeekday=e});Rn(["d","e","E"],function(e,t,n,r){t[r]=L(e)});function Fb(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function Gb(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function ci(e,t){return e.slice(t,7).concat(e.slice(0,t))}var Pb="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Eu="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Yb="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Rb=Yn,Bb=Yn,Vb=Yn;function Hb(e,t){var n=at(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?ci(n,this._week.dow):e?n[e.day()]:n}function Xb(e){return e===!0?ci(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Zb(e){return e===!0?ci(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Lb(e,t,n){var r,a,i,o=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)i=bt([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(i,"").toLocaleLowerCase();return n?t==="dddd"?(a=Me.call(this._weekdaysParse,o),a!==-1?a:null):t==="ddd"?(a=Me.call(this._shortWeekdaysParse,o),a!==-1?a:null):(a=Me.call(this._minWeekdaysParse,o),a!==-1?a:null):t==="dddd"?(a=Me.call(this._weekdaysParse,o),a!==-1||(a=Me.call(this._shortWeekdaysParse,o),a!==-1)?a:(a=Me.call(this._minWeekdaysParse,o),a!==-1?a:null)):t==="ddd"?(a=Me.call(this._shortWeekdaysParse,o),a!==-1||(a=Me.call(this._weekdaysParse,o),a!==-1)?a:(a=Me.call(this._minWeekdaysParse,o),a!==-1?a:null)):(a=Me.call(this._minWeekdaysParse,o),a!==-1||(a=Me.call(this._weekdaysParse,o),a!==-1)?a:(a=Me.call(this._shortWeekdaysParse,o),a!==-1?a:null))}function jb(e,t,n){var r,a,i;if(this._weekdaysParseExact)return Lb.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(a=bt([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&t==="dddd"&&this._fullWeekdaysParse[r].test(e))return r;if(n&&t==="ddd"&&this._shortWeekdaysParse[r].test(e))return r;if(n&&t==="dd"&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function zb(e){if(!this.isValid())return e!=null?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return e!=null?(e=Fb(e,this.localeData()),this.add(e-t,"d")):t}function Jb(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function Ub(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=Gb(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function $b(e){return this._weekdaysParseExact?(q(this,"_weekdaysRegex")||di.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(q(this,"_weekdaysRegex")||(this._weekdaysRegex=Rb),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Qb(e){return this._weekdaysParseExact?(q(this,"_weekdaysRegex")||di.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(q(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Bb),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function qb(e){return this._weekdaysParseExact?(q(this,"_weekdaysRegex")||di.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(q(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Vb),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function di(){function e(c,d){return d.length-c.length}var t=[],n=[],r=[],a=[],i,o,s,u,l;for(i=0;i<7;i++)o=bt([2e3,1]).day(i),s=Ze(this.weekdaysMin(o,"")),u=Ze(this.weekdaysShort(o,"")),l=Ze(this.weekdays(o,"")),t.push(s),n.push(u),r.push(l),a.push(s),a.push(u),a.push(l);t.sort(e),n.sort(e),r.sort(e),a.sort(e),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function fi(){return this.hours()%12||12}function Kb(){return this.hours()||24}P("H",["HH",2],0,"hour");P("h",["hh",2],0,fi);P("k",["kk",2],0,Kb);P("hmm",0,0,function(){return""+fi.apply(this)+gt(this.minutes(),2)});P("hmmss",0,0,function(){return""+fi.apply(this)+gt(this.minutes(),2)+gt(this.seconds(),2)});P("Hmm",0,0,function(){return""+this.hours()+gt(this.minutes(),2)});P("Hmmss",0,0,function(){return""+this.hours()+gt(this.minutes(),2)+gt(this.seconds(),2)});function Ou(e,t){P(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}Ou("a",!0);Ou("A",!1);Pe("hour","h");Ye("hour",13);function Au(e,t){return t._meridiemParse}T("a",Au);T("A",Au);T("H",ge);T("h",ge);T("k",ge);T("HH",ge,Je);T("hh",ge,Je);T("kk",ge,Je);T("hmm",yu);T("hmmss",Iu);T("Hmm",yu);T("Hmmss",Iu);ce(["H","HH"],Ae);ce(["k","kk"],function(e,t,n){var r=L(e);t[Ae]=r===24?0:r});ce(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e});ce(["h","hh"],function(e,t,n){t[Ae]=L(e),Z(n).bigHour=!0});ce("hmm",function(e,t,n){var r=e.length-2;t[Ae]=L(e.substr(0,r)),t[rt]=L(e.substr(r)),Z(n).bigHour=!0});ce("hmmss",function(e,t,n){var r=e.length-4,a=e.length-2;t[Ae]=L(e.substr(0,r)),t[rt]=L(e.substr(r,2)),t[kt]=L(e.substr(a)),Z(n).bigHour=!0});ce("Hmm",function(e,t,n){var r=e.length-2;t[Ae]=L(e.substr(0,r)),t[rt]=L(e.substr(r))});ce("Hmmss",function(e,t,n){var r=e.length-4,a=e.length-2;t[Ae]=L(e.substr(0,r)),t[rt]=L(e.substr(r,2)),t[kt]=L(e.substr(a))});function ev(e){return(e+"").toLowerCase().charAt(0)==="p"}var tv=/[ap]\.?m?\.?/i,nv=ln("Hours",!0);function rv(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var Nu={calendar:jp,longDateFormat:$p,invalidDate:qp,ordinal:eb,dayOfMonthOrdinalParse:tb,relativeTime:rb,months:bb,monthsShort:xu,week:Ab,weekdays:Pb,weekdaysMin:Yb,weekdaysShort:Eu,meridiemParse:tv},ye={},gn={},Nn;function av(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n<r;n+=1)if(e[n]!==t[n])return n;return r}function So(e){return e&&e.toLowerCase().replace("_","-")}function iv(e){for(var t=0,n,r,a,i;t<e.length;){for(i=So(e[t]).split("-"),n=i.length,r=So(e[t+1]),r=r?r.split("-"):null;n>0;){if(a=Ar(i.slice(0,n).join("-")),a)return a;if(r&&r.length>=n&&av(i,r)>=n-1)break;n--}t++}return Nn}function ov(e){return e.match("^[^/\\\\]*$")!=null}function Ar(e){var t=null,n;if(ye[e]===void 0&&typeof module<"u"&&module&&module.exports&&ov(e))try{t=Nn._abbr,n=require,n("./locale/"+e),Ft(t)}catch{ye[e]=null}return ye[e]}function Ft(e,t){var n;return e&&(Re(t)?n=Ot(e):n=hi(e,t),n?Nn=n:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Nn._abbr}function hi(e,t){if(t!==null){var n,r=Nu;if(t.abbr=e,ye[e]!=null)hu("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=ye[e]._config;else if(t.parentLocale!=null)if(ye[t.parentLocale]!=null)r=ye[t.parentLocale]._config;else if(n=Ar(t.parentLocale),n!=null)r=n._config;else return gn[t.parentLocale]||(gn[t.parentLocale]=[]),gn[t.parentLocale].push({name:e,config:t}),null;return ye[e]=new ii(va(r,t)),gn[e]&&gn[e].forEach(function(a){hi(a.name,a.config)}),Ft(e),ye[e]}else return delete ye[e],null}function sv(e,t){if(t!=null){var n,r,a=Nu;ye[e]!=null&&ye[e].parentLocale!=null?ye[e].set(va(ye[e]._config,t)):(r=Ar(e),r!=null&&(a=r._config),t=va(a,t),r==null&&(t.abbr=e),n=new ii(t),n.parentLocale=ye[e],ye[e]=n),Ft(e)}else ye[e]!=null&&(ye[e].parentLocale!=null?(ye[e]=ye[e].parentLocale,e===Ft()&&Ft(e)):ye[e]!=null&&delete ye[e]);return ye[e]}function Ot(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Nn;if(!at(e)){if(t=Ar(e),t)return t;e=[e]}return iv(e)}function uv(){return ya(ye)}function mi(e){var t,n=e._a;return n&&Z(e).overflow===-2&&(t=n[St]<0||n[St]>11?St:n[dt]<1||n[dt]>Or(n[Ge],n[St])?dt:n[Ae]<0||n[Ae]>24||n[Ae]===24&&(n[rt]!==0||n[kt]!==0||n[Vt]!==0)?Ae:n[rt]<0||n[rt]>59?rt:n[kt]<0||n[kt]>59?kt:n[Vt]<0||n[Vt]>999?Vt:-1,Z(e)._overflowDayOfYear&&(t<Ge||t>dt)&&(t=dt),Z(e)._overflowWeeks&&t===-1&&(t=mb),Z(e)._overflowWeekday&&t===-1&&(t=gb),Z(e).overflow=t),e}var lv=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,cv=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,dv=/Z|[+-]\d\d(?::?\d\d)?/,Jn=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Kr=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],fv=/^\/?Date\((-?\d+)/i,hv=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,mv={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function Tu(e){var t,n,r=e._i,a=lv.exec(r)||cv.exec(r),i,o,s,u,l=Jn.length,c=Kr.length;if(a){for(Z(e).iso=!0,t=0,n=l;t<n;t++)if(Jn[t][1].exec(a[1])){o=Jn[t][0],i=Jn[t][2]!==!1;break}if(o==null){e._isValid=!1;return}if(a[3]){for(t=0,n=c;t<n;t++)if(Kr[t][1].exec(a[3])){s=(a[2]||" ")+Kr[t][0];break}if(s==null){e._isValid=!1;return}}if(!i&&s!=null){e._isValid=!1;return}if(a[4])if(dv.exec(a[4]))u="Z";else{e._isValid=!1;return}e._f=o+(s||"")+(u||""),pi(e)}else e._isValid=!1}function gv(e,t,n,r,a,i){var o=[pv(e),xu.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(a,10)];return i&&o.push(parseInt(i,10)),o}function pv(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function bv(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function vv(e,t,n){if(e){var r=Eu.indexOf(e),a=new Date(t[0],t[1],t[2]).getDay();if(r!==a)return Z(n).weekdayMismatch=!0,n._isValid=!1,!1}return!0}function yv(e,t,n){if(e)return mv[e];if(t)return 0;var r=parseInt(n,10),a=r%100,i=(r-a)/100;return i*60+a}function _u(e){var t=hv.exec(bv(e._i)),n;if(t){if(n=gv(t[4],t[3],t[2],t[5],t[6],t[7]),!vv(t[1],n,e))return;e._a=n,e._tzm=yv(t[8],t[9],t[10]),e._d=On.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),Z(e).rfc2822=!0}else e._isValid=!1}function Iv(e){var t=fv.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(Tu(e),e._isValid===!1)delete e._isValid;else return;if(_u(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:D.createFromInputFallback(e)}D.createFromInputFallback=Qe("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))});function $t(e,t,n){return e??t??n}function xv(e){var t=new Date(D.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function gi(e){var t,n,r=[],a,i,o;if(!e._d){for(a=xv(e),e._w&&e._a[dt]==null&&e._a[St]==null&&Cv(e),e._dayOfYear!=null&&(o=$t(e._a[Ge],a[Ge]),(e._dayOfYear>Cn(o)||e._dayOfYear===0)&&(Z(e)._overflowDayOfYear=!0),n=On(o,0,e._dayOfYear),e._a[St]=n.getUTCMonth(),e._a[dt]=n.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=r[t]=a[t];for(;t<7;t++)e._a[t]=r[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[Ae]===24&&e._a[rt]===0&&e._a[kt]===0&&e._a[Vt]===0&&(e._nextDay=!0,e._a[Ae]=0),e._d=(e._useUTC?On:Eb).apply(null,r),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Ae]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==i&&(Z(e).weekdayMismatch=!0)}}function Cv(e){var t,n,r,a,i,o,s,u,l;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(i=1,o=4,n=$t(t.GG,e._a[Ge],An(me(),1,4).year),r=$t(t.W,1),a=$t(t.E,1),(a<1||a>7)&&(u=!0)):(i=e._locale._week.dow,o=e._locale._week.doy,l=An(me(),i,o),n=$t(t.gg,e._a[Ge],l.year),r=$t(t.w,l.week),t.d!=null?(a=t.d,(a<0||a>6)&&(u=!0)):t.e!=null?(a=t.e+i,(t.e<0||t.e>6)&&(u=!0)):a=i),r<1||r>Dt(n,i,o)?Z(e)._overflowWeeks=!0:u!=null?Z(e)._overflowWeekday=!0:(s=Du(n,r,a,i,o),e._a[Ge]=s.year,e._dayOfYear=s.dayOfYear)}D.ISO_8601=function(){};D.RFC_2822=function(){};function pi(e){if(e._f===D.ISO_8601){Tu(e);return}if(e._f===D.RFC_2822){_u(e);return}e._a=[],Z(e).empty=!0;var t=""+e._i,n,r,a,i,o,s=t.length,u=0,l,c;for(a=mu(e._f,e._locale).match(oi)||[],c=a.length,n=0;n<c;n++)i=a[n],r=(t.match(db(i,e))||[])[0],r&&(o=t.substr(0,t.indexOf(r)),o.length>0&&Z(e).unusedInput.push(o),t=t.slice(t.indexOf(r)+r.length),u+=r.length),Kt[i]?(r?Z(e).empty=!1:Z(e).unusedTokens.push(i),hb(i,r,e)):e._strict&&!r&&Z(e).unusedTokens.push(i);Z(e).charsLeftOver=s-u,t.length>0&&Z(e).unusedInput.push(t),e._a[Ae]<=12&&Z(e).bigHour===!0&&e._a[Ae]>0&&(Z(e).bigHour=void 0),Z(e).parsedDateParts=e._a.slice(0),Z(e).meridiem=e._meridiem,e._a[Ae]=wv(e._locale,e._a[Ae],e._meridiem),l=Z(e).era,l!==null&&(e._a[Ge]=e._locale.erasConvertYear(l,e._a[Ge])),gi(e),mi(e)}function wv(e,t,n){var r;return n==null?t:e.meridiemHour!=null?e.meridiemHour(t,n):(e.isPM!=null&&(r=e.isPM(n),r&&t<12&&(t+=12),!r&&t===12&&(t=0)),t)}function Mv(e){var t,n,r,a,i,o,s=!1,u=e._f.length;if(u===0){Z(e).invalidFormat=!0,e._d=new Date(NaN);return}for(a=0;a<u;a++)i=0,o=!1,t=ai({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[a],pi(t),ri(t)&&(o=!0),i+=Z(t).charsLeftOver,i+=Z(t).unusedTokens.length*10,Z(t).score=i,s?i<r&&(r=i,n=t):(r==null||i<r||o)&&(r=i,n=t,o&&(s=!0));_t(e,n||t)}function Sv(e){if(!e._d){var t=si(e._i),n=t.day===void 0?t.date:t.day;e._a=du([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],function(r){return r&&parseInt(r,10)}),gi(e)}}function kv(e){var t=new Pn(mi(Wu(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function Wu(e){var t=e._i,n=e._f;return e._locale=e._locale||Ot(e._l),t===null||n===void 0&&t===""?Cr({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),it(t)?new Pn(mi(t)):(Gn(t)?e._d=t:at(n)?Mv(e):n?pi(e):Dv(e),ri(e)||(e._d=null),e))}function Dv(e){var t=e._i;Re(t)?e._d=new Date(D.now()):Gn(t)?e._d=new Date(t.valueOf()):typeof t=="string"?Iv(e):at(t)?(e._a=du(t.slice(0),function(n){return parseInt(n,10)}),gi(e)):Ht(t)?Sv(e):Et(t)?e._d=new Date(t):D.createFromInputFallback(e)}function Fu(e,t,n,r,a){var i={};return(t===!0||t===!1)&&(r=t,t=void 0),(n===!0||n===!1)&&(r=n,n=void 0),(Ht(e)&&ni(e)||at(e)&&e.length===0)&&(e=void 0),i._isAMomentObject=!0,i._useUTC=i._isUTC=a,i._l=n,i._i=e,i._f=t,i._strict=r,kv(i)}function me(e,t,n,r){return Fu(e,t,n,r,!1)}var Ev=Qe("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=me.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:Cr()}),Ov=Qe("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=me.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:Cr()});function Gu(e,t){var n,r;if(t.length===1&&at(t[0])&&(t=t[0]),!t.length)return me();for(n=t[0],r=1;r<t.length;++r)(!t[r].isValid()||t[r][e](n))&&(n=t[r]);return n}function Av(){var e=[].slice.call(arguments,0);return Gu("isBefore",e)}function Nv(){var e=[].slice.call(arguments,0);return Gu("isAfter",e)}var Tv=function(){return Date.now?Date.now():+new Date},pn=["year","quarter","month","week","day","hour","minute","second","millisecond"];function _v(e){var t,n=!1,r,a=pn.length;for(t in e)if(q(e,t)&&!(Me.call(pn,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(r=0;r<a;++r)if(e[pn[r]]){if(n)return!1;parseFloat(e[pn[r]])!==L(e[pn[r]])&&(n=!0)}return!0}function Wv(){return this._isValid}function Fv(){return ot(NaN)}function Nr(e){var t=si(e),n=t.year||0,r=t.quarter||0,a=t.month||0,i=t.week||t.isoWeek||0,o=t.day||0,s=t.hour||0,u=t.minute||0,l=t.second||0,c=t.millisecond||0;this._isValid=_v(t),this._milliseconds=+c+l*1e3+u*6e4+s*1e3*60*60,this._days=+o+i*7,this._months=+a+r*3+n*12,this._data={},this._locale=Ot(),this._bubble()}function er(e){return e instanceof Nr}function xa(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function Gv(e,t,n){var r=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),i=0,o;for(o=0;o<r;o++)(n&&e[o]!==t[o]||!n&&L(e[o])!==L(t[o]))&&i++;return i+a}function Pu(e,t){P(e,0,0,function(){var n=this.utcOffset(),r="+";return n<0&&(n=-n,r="-"),r+gt(~~(n/60),2)+t+gt(~~n%60,2)})}Pu("Z",":");Pu("ZZ","");T("Z",Er);T("ZZ",Er);ce(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=bi(Er,e)});var Pv=/([\+\-]|\d\d)/gi;function bi(e,t){var n=(t||"").match(e),r,a,i;return n===null?null:(r=n[n.length-1]||[],a=(r+"").match(Pv)||["-",0,0],i=+(a[1]*60)+L(a[2]),i===0?0:a[0]==="+"?i:-i)}function yi(e,t){var n,r;return t._isUTC?(n=t.clone(),r=(it(e)||Gn(e)?e.valueOf():me(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),D.updateOffset(n,!1),n):me(e).local()}function Ca(e){return-Math.round(e._d.getTimezoneOffset())}D.updateOffset=function(){};function Yv(e,t,n){var r=this._offset||0,a;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=bi(Er,e),e===null)return this}else Math.abs(e)<16&&!n&&(e=e*60);return!this._isUTC&&t&&(a=Ca(this)),this._offset=e,this._isUTC=!0,a!=null&&this.add(a,"m"),r!==e&&(!t||this._changeInProgress?Bu(this,ot(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,D.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?r:Ca(this)}function Rv(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function Bv(e){return this.utcOffset(0,e)}function Vv(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Ca(this),"m")),this}function Hv(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=bi(lb,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function Xv(e){return this.isValid()?(e=e?me(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function Zv(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Lv(){if(!Re(this._isDSTShifted))return this._isDSTShifted;var e={},t;return ai(e,this),e=Wu(e),e._a?(t=e._isUTC?bt(e._a):me(e._a),this._isDSTShifted=this.isValid()&&Gv(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function jv(){return this.isValid()?!this._isUTC:!1}function zv(){return this.isValid()?this._isUTC:!1}function Yu(){return this.isValid()?this._isUTC&&this._offset===0:!1}var Jv=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Uv=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function ot(e,t){var n=e,r=null,a,i,o;return er(e)?n={ms:e._milliseconds,d:e._days,M:e._months}:Et(e)||!isNaN(+e)?(n={},t?n[t]=+e:n.milliseconds=+e):(r=Jv.exec(e))?(a=r[1]==="-"?-1:1,n={y:0,d:L(r[dt])*a,h:L(r[Ae])*a,m:L(r[rt])*a,s:L(r[kt])*a,ms:L(xa(r[Vt]*1e3))*a}):(r=Uv.exec(e))?(a=r[1]==="-"?-1:1,n={y:Pt(r[2],a),M:Pt(r[3],a),w:Pt(r[4],a),d:Pt(r[5],a),h:Pt(r[6],a),m:Pt(r[7],a),s:Pt(r[8],a)}):n==null?n={}:typeof n=="object"&&("from"in n||"to"in n)&&(o=$v(me(n.from),me(n.to)),n={},n.ms=o.milliseconds,n.M=o.months),i=new Nr(n),er(e)&&q(e,"_locale")&&(i._locale=e._locale),er(e)&&q(e,"_isValid")&&(i._isValid=e._isValid),i}ot.fn=Nr.prototype;ot.invalid=Fv;function Pt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function ko(e,t){var n={};return n.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function $v(e,t){var n;return e.isValid()&&t.isValid()?(t=yi(t,e),e.isBefore(t)?n=ko(e,t):(n=ko(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Ru(e,t){return function(n,r){var a,i;return r!==null&&!isNaN(+r)&&(hu(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=n,n=r,r=i),a=ot(n,r),Bu(this,a,e),this}}function Bu(e,t,n,r){var a=t._milliseconds,i=xa(t._days),o=xa(t._months);e.isValid()&&(r=r??!0,o&&wu(e,ur(e,"Month")+o*n),i&&pu(e,"Date",ur(e,"Date")+i*n),a&&e._d.setTime(e._d.valueOf()+a*n),r&&D.updateOffset(e,i||o))}var Qv=Ru(1,"add"),qv=Ru(-1,"subtract");function Vu(e){return typeof e=="string"||e instanceof String}function Kv(e){return it(e)||Gn(e)||Vu(e)||Et(e)||t0(e)||e0(e)||e===null||e===void 0}function e0(e){var t=Ht(e)&&!ni(e),n=!1,r=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],a,i,o=r.length;for(a=0;a<o;a+=1)i=r[a],n=n||q(e,i);return t&&n}function t0(e){var t=at(e),n=!1;return t&&(n=e.filter(function(r){return!Et(r)&&Vu(e)}).length===0),t&&n}function n0(e){var t=Ht(e)&&!ni(e),n=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],a,i;for(a=0;a<r.length;a+=1)i=r[a],n=n||q(e,i);return t&&n}function r0(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function a0(e,t){arguments.length===1&&(arguments[0]?Kv(arguments[0])?(e=arguments[0],t=void 0):n0(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||me(),r=yi(n,this).startOf("day"),a=D.calendarFormat(this,r)||"sameElse",i=t&&(vt(t[a])?t[a].call(this,n):t[a]);return this.format(i||this.localeData().calendar(a,this,me(n)))}function i0(){return new Pn(this)}function o0(e,t){var n=it(e)?e:me(e);return this.isValid()&&n.isValid()?(t=qe(t)||"millisecond",t==="millisecond"?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf()):!1}function s0(e,t){var n=it(e)?e:me(e);return this.isValid()&&n.isValid()?(t=qe(t)||"millisecond",t==="millisecond"?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf()):!1}function u0(e,t,n,r){var a=it(e)?e:me(e),i=it(t)?t:me(t);return this.isValid()&&a.isValid()&&i.isValid()?(r=r||"()",(r[0]==="("?this.isAfter(a,n):!this.isBefore(a,n))&&(r[1]===")"?this.isBefore(i,n):!this.isAfter(i,n))):!1}function l0(e,t){var n=it(e)?e:me(e),r;return this.isValid()&&n.isValid()?(t=qe(t)||"millisecond",t==="millisecond"?this.valueOf()===n.valueOf():(r=n.valueOf(),this.clone().startOf(t).valueOf()<=r&&r<=this.clone().endOf(t).valueOf())):!1}function c0(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function d0(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function f0(e,t,n){var r,a,i;if(!this.isValid())return NaN;if(r=yi(e,this),!r.isValid())return NaN;switch(a=(r.utcOffset()-this.utcOffset())*6e4,t=qe(t),t){case"year":i=tr(this,r)/12;break;case"month":i=tr(this,r);break;case"quarter":i=tr(this,r)/3;break;case"second":i=(this-r)/1e3;break;case"minute":i=(this-r)/6e4;break;case"hour":i=(this-r)/36e5;break;case"day":i=(this-r-a)/864e5;break;case"week":i=(this-r-a)/6048e5;break;default:i=this-r}return n?i:$e(i)}function tr(e,t){if(e.date()<t.date())return-tr(t,e);var n=(t.year()-e.year())*12+(t.month()-e.month()),r=e.clone().add(n,"months"),a,i;return t-r<0?(a=e.clone().add(n-1,"months"),i=(t-r)/(r-a)):(a=e.clone().add(n+1,"months"),i=(t-r)/(a-r)),-(n+i)||0}D.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";D.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function h0(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function m0(e){if(!this.isValid())return null;var t=e!==!0,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?Kn(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):vt(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Kn(n,"Z")):Kn(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function g0(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",n,r,a,i;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),n="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",a="-MM-DD[T]HH:mm:ss.SSS",i=t+'[")]',this.format(n+r+a+i)}function p0(e){e||(e=this.isUtc()?D.defaultFormatUtc:D.defaultFormat);var t=Kn(this,e);return this.localeData().postformat(t)}function b0(e,t){return this.isValid()&&(it(e)&&e.isValid()||me(e).isValid())?ot({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function v0(e){return this.from(me(),e)}function y0(e,t){return this.isValid()&&(it(e)&&e.isValid()||me(e).isValid())?ot({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function I0(e){return this.to(me(),e)}function Hu(e){var t;return e===void 0?this._locale._abbr:(t=Ot(e),t!=null&&(this._locale=t),this)}var Xu=Qe("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function Zu(){return this._locale}var dr=1e3,en=60*dr,fr=60*en,Lu=(365*400+97)*24*fr;function tn(e,t){return(e%t+t)%t}function ju(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-Lu:new Date(e,t,n).valueOf()}function zu(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-Lu:Date.UTC(e,t,n)}function x0(e){var t,n;if(e=qe(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?zu:ju,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=tn(t+(this._isUTC?0:this.utcOffset()*en),fr);break;case"minute":t=this._d.valueOf(),t-=tn(t,en);break;case"second":t=this._d.valueOf(),t-=tn(t,dr);break}return this._d.setTime(t),D.updateOffset(this,!0),this}function C0(e){var t,n;if(e=qe(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?zu:ju,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=fr-tn(t+(this._isUTC?0:this.utcOffset()*en),fr)-1;break;case"minute":t=this._d.valueOf(),t+=en-tn(t,en)-1;break;case"second":t=this._d.valueOf(),t+=dr-tn(t,dr)-1;break}return this._d.setTime(t),D.updateOffset(this,!0),this}function w0(){return this._d.valueOf()-(this._offset||0)*6e4}function M0(){return Math.floor(this.valueOf()/1e3)}function S0(){return new Date(this.valueOf())}function k0(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function D0(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function E0(){return this.isValid()?this.toISOString():null}function O0(){return ri(this)}function A0(){return _t({},Z(this))}function N0(){return Z(this).overflow}function T0(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}P("N",0,0,"eraAbbr");P("NN",0,0,"eraAbbr");P("NNN",0,0,"eraAbbr");P("NNNN",0,0,"eraName");P("NNNNN",0,0,"eraNarrow");P("y",["y",1],"yo","eraYear");P("y",["yy",2],0,"eraYear");P("y",["yyy",3],0,"eraYear");P("y",["yyyy",4],0,"eraYear");T("N",Ii);T("NN",Ii);T("NNN",Ii);T("NNNN",X0);T("NNNNN",Z0);ce(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,r){var a=n._locale.erasParse(e,r,n._strict);a?Z(n).era=a:Z(n).invalidEra=e});T("y",cn);T("yy",cn);T("yyy",cn);T("yyyy",cn);T("yo",L0);ce(["y","yy","yyy","yyyy"],Ge);ce(["yo"],function(e,t,n,r){var a;n._locale._eraYearOrdinalRegex&&(a=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[Ge]=n._locale.eraYearOrdinalParse(e,a):t[Ge]=parseInt(e,10)});function _0(e,t){var n,r,a,i=this._eras||Ot("en")._eras;for(n=0,r=i.length;n<r;++n){switch(typeof i[n].since){case"string":a=D(i[n].since).startOf("day"),i[n].since=a.valueOf();break}switch(typeof i[n].until){case"undefined":i[n].until=1/0;break;case"string":a=D(i[n].until).startOf("day").valueOf(),i[n].until=a.valueOf();break}}return i}function W0(e,t,n){var r,a,i=this.eras(),o,s,u;for(e=e.toUpperCase(),r=0,a=i.length;r<a;++r)if(o=i[r].name.toUpperCase(),s=i[r].abbr.toUpperCase(),u=i[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(s===e)return i[r];break;case"NNNN":if(o===e)return i[r];break;case"NNNNN":if(u===e)return i[r];break}else if([o,s,u].indexOf(e)>=0)return i[r]}function F0(e,t){var n=e.since<=e.until?1:-1;return t===void 0?D(e.since).year():D(e.since).year()+(t-e.offset)*n}function G0(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until||r[e].until<=n&&n<=r[e].since)return r[e].name;return""}function P0(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until||r[e].until<=n&&n<=r[e].since)return r[e].narrow;return""}function Y0(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until||r[e].until<=n&&n<=r[e].since)return r[e].abbr;return""}function R0(){var e,t,n,r,a=this.localeData().eras();for(e=0,t=a.length;e<t;++e)if(n=a[e].since<=a[e].until?1:-1,r=this.clone().startOf("day").valueOf(),a[e].since<=r&&r<=a[e].until||a[e].until<=r&&r<=a[e].since)return(this.year()-D(a[e].since).year())*n+a[e].offset;return this.year()}function B0(e){return q(this,"_erasNameRegex")||xi.call(this),e?this._erasNameRegex:this._erasRegex}function V0(e){return q(this,"_erasAbbrRegex")||xi.call(this),e?this._erasAbbrRegex:this._erasRegex}function H0(e){return q(this,"_erasNarrowRegex")||xi.call(this),e?this._erasNarrowRegex:this._erasRegex}function Ii(e,t){return t.erasAbbrRegex(e)}function X0(e,t){return t.erasNameRegex(e)}function Z0(e,t){return t.erasNarrowRegex(e)}function L0(e,t){return t._eraYearOrdinalRegex||cn}function xi(){var e=[],t=[],n=[],r=[],a,i,o=this.eras();for(a=0,i=o.length;a<i;++a)t.push(Ze(o[a].name)),e.push(Ze(o[a].abbr)),n.push(Ze(o[a].narrow)),r.push(Ze(o[a].name)),r.push(Ze(o[a].abbr)),r.push(Ze(o[a].narrow));this._erasRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}P(0,["gg",2],0,function(){return this.weekYear()%100});P(0,["GG",2],0,function(){return this.isoWeekYear()%100});function Tr(e,t){P(0,[e,e.length],0,t)}Tr("gggg","weekYear");Tr("ggggg","weekYear");Tr("GGGG","isoWeekYear");Tr("GGGGG","isoWeekYear");Pe("weekYear","gg");Pe("isoWeekYear","GG");Ye("weekYear",1);Ye("isoWeekYear",1);T("G",Dr);T("g",Dr);T("GG",ge,Je);T("gg",ge,Je);T("GGGG",li,ui);T("gggg",li,ui);T("GGGGG",kr,Mr);T("ggggg",kr,Mr);Rn(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=L(e)});Rn(["gg","GG"],function(e,t,n,r){t[r]=D.parseTwoDigitYear(e)});function j0(e){return Ju.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function z0(e){return Ju.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function J0(){return Dt(this.year(),1,4)}function U0(){return Dt(this.isoWeekYear(),1,4)}function $0(){var e=this.localeData()._week;return Dt(this.year(),e.dow,e.doy)}function Q0(){var e=this.localeData()._week;return Dt(this.weekYear(),e.dow,e.doy)}function Ju(e,t,n,r,a){var i;return e==null?An(this,r,a).year:(i=Dt(e,r,a),t>i&&(t=i),q0.call(this,e,t,n,r,a))}function q0(e,t,n,r,a){var i=Du(e,t,n,r,a),o=On(i.year,0,i.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}P("Q",0,"Qo","quarter");Pe("quarter","Q");Ye("quarter",7);T("Q",bu);ce("Q",function(e,t){t[St]=(L(e)-1)*3});function K0(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}P("D",["DD",2],"Do","date");Pe("date","D");Ye("date",9);T("D",ge);T("DD",ge,Je);T("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient});ce(["D","DD"],dt);ce("Do",function(e,t){t[dt]=L(e.match(ge)[0])});var Uu=ln("Date",!0);P("DDD",["DDDD",3],"DDDo","dayOfYear");Pe("dayOfYear","DDD");Ye("dayOfYear",4);T("DDD",Sr);T("DDDD",vu);ce(["DDD","DDDD"],function(e,t,n){n._dayOfYear=L(e)});function ey(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}P("m",["mm",2],0,"minute");Pe("minute","m");Ye("minute",14);T("m",ge);T("mm",ge,Je);ce(["m","mm"],rt);var ty=ln("Minutes",!1);P("s",["ss",2],0,"second");Pe("second","s");Ye("second",15);T("s",ge);T("ss",ge,Je);ce(["s","ss"],kt);var ny=ln("Seconds",!1);P("S",0,0,function(){return~~(this.millisecond()/100)});P(0,["SS",2],0,function(){return~~(this.millisecond()/10)});P(0,["SSS",3],0,"millisecond");P(0,["SSSS",4],0,function(){return this.millisecond()*10});P(0,["SSSSS",5],0,function(){return this.millisecond()*100});P(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});P(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});P(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});P(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});Pe("millisecond","ms");Ye("millisecond",16);T("S",Sr,bu);T("SS",Sr,Je);T("SSS",Sr,vu);var Wt,$u;for(Wt="SSSS";Wt.length<=9;Wt+="S")T(Wt,cn);function ry(e,t){t[Vt]=L(("0."+e)*1e3)}for(Wt="S";Wt.length<=9;Wt+="S")ce(Wt,ry);$u=ln("Milliseconds",!1);P("z",0,0,"zoneAbbr");P("zz",0,0,"zoneName");function ay(){return this._isUTC?"UTC":""}function iy(){return this._isUTC?"Coordinated Universal Time":""}var k=Pn.prototype;k.add=Qv;k.calendar=a0;k.clone=i0;k.diff=f0;k.endOf=C0;k.format=p0;k.from=b0;k.fromNow=v0;k.to=y0;k.toNow=I0;k.get=sb;k.invalidAt=N0;k.isAfter=o0;k.isBefore=s0;k.isBetween=u0;k.isSame=l0;k.isSameOrAfter=c0;k.isSameOrBefore=d0;k.isValid=O0;k.lang=Xu;k.locale=Hu;k.localeData=Zu;k.max=Ov;k.min=Ev;k.parsingFlags=A0;k.set=ub;k.startOf=x0;k.subtract=qv;k.toArray=k0;k.toObject=D0;k.toDate=S0;k.toISOString=m0;k.inspect=g0;typeof Symbol<"u"&&Symbol.for!=null&&(k[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});k.toJSON=E0;k.toString=h0;k.unix=M0;k.valueOf=w0;k.creationData=T0;k.eraName=G0;k.eraNarrow=P0;k.eraAbbr=Y0;k.eraYear=R0;k.year=ku;k.isLeapYear=Db;k.weekYear=j0;k.isoWeekYear=z0;k.quarter=k.quarters=K0;k.month=Mu;k.daysInMonth=Mb;k.week=k.weeks=_b;k.isoWeek=k.isoWeeks=Wb;k.weeksInYear=$0;k.weeksInWeekYear=Q0;k.isoWeeksInYear=J0;k.isoWeeksInISOWeekYear=U0;k.date=Uu;k.day=k.days=zb;k.weekday=Jb;k.isoWeekday=Ub;k.dayOfYear=ey;k.hour=k.hours=nv;k.minute=k.minutes=ty;k.second=k.seconds=ny;k.millisecond=k.milliseconds=$u;k.utcOffset=Yv;k.utc=Bv;k.local=Vv;k.parseZone=Hv;k.hasAlignedHourOffset=Xv;k.isDST=Zv;k.isLocal=jv;k.isUtcOffset=zv;k.isUtc=Yu;k.isUTC=Yu;k.zoneAbbr=ay;k.zoneName=iy;k.dates=Qe("dates accessor is deprecated. Use date instead.",Uu);k.months=Qe("months accessor is deprecated. Use month instead",Mu);k.years=Qe("years accessor is deprecated. Use year instead",ku);k.zone=Qe("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Rv);k.isDSTShifted=Qe("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Lv);function oy(e){return me(e*1e3)}function sy(){return me.apply(null,arguments).parseZone()}function Qu(e){return e}var K=ii.prototype;K.calendar=zp;K.longDateFormat=Qp;K.invalidDate=Kp;K.ordinal=nb;K.preparse=Qu;K.postformat=Qu;K.relativeTime=ab;K.pastFuture=ib;K.set=Lp;K.eras=_0;K.erasParse=W0;K.erasConvertYear=F0;K.erasAbbrRegex=V0;K.erasNameRegex=B0;K.erasNarrowRegex=H0;K.months=Ib;K.monthsShort=xb;K.monthsParse=wb;K.monthsRegex=kb;K.monthsShortRegex=Sb;K.week=Ob;K.firstDayOfYear=Tb;K.firstDayOfWeek=Nb;K.weekdays=Hb;K.weekdaysMin=Zb;K.weekdaysShort=Xb;K.weekdaysParse=jb;K.weekdaysRegex=$b;K.weekdaysShortRegex=Qb;K.weekdaysMinRegex=qb;K.isPM=ev;K.meridiem=rv;function hr(e,t,n,r){var a=Ot(),i=bt().set(r,t);return a[n](i,e)}function qu(e,t,n){if(Et(e)&&(t=e,e=void 0),e=e||"",t!=null)return hr(e,t,n,"month");var r,a=[];for(r=0;r<12;r++)a[r]=hr(e,r,n,"month");return a}function Ci(e,t,n,r){typeof e=="boolean"?(Et(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,Et(t)&&(n=t,t=void 0),t=t||"");var a=Ot(),i=e?a._week.dow:0,o,s=[];if(n!=null)return hr(t,(n+i)%7,r,"day");for(o=0;o<7;o++)s[o]=hr(t,(o+i)%7,r,"day");return s}function uy(e,t){return qu(e,t,"months")}function ly(e,t){return qu(e,t,"monthsShort")}function cy(e,t,n){return Ci(e,t,n,"weekdays")}function dy(e,t,n){return Ci(e,t,n,"weekdaysShort")}function fy(e,t,n){return Ci(e,t,n,"weekdaysMin")}Ft("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=L(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+n}});D.lang=Qe("moment.lang is deprecated. Use moment.locale instead.",Ft);D.langData=Qe("moment.langData is deprecated. Use moment.localeData instead.",Ot);var xt=Math.abs;function hy(){var e=this._data;return this._milliseconds=xt(this._milliseconds),this._days=xt(this._days),this._months=xt(this._months),e.milliseconds=xt(e.milliseconds),e.seconds=xt(e.seconds),e.minutes=xt(e.minutes),e.hours=xt(e.hours),e.months=xt(e.months),e.years=xt(e.years),this}function Ku(e,t,n,r){var a=ot(t,n);return e._milliseconds+=r*a._milliseconds,e._days+=r*a._days,e._months+=r*a._months,e._bubble()}function my(e,t){return Ku(this,e,t,1)}function gy(e,t){return Ku(this,e,t,-1)}function Do(e){return e<0?Math.floor(e):Math.ceil(e)}function py(){var e=this._milliseconds,t=this._days,n=this._months,r=this._data,a,i,o,s,u;return e>=0&&t>=0&&n>=0||e<=0&&t<=0&&n<=0||(e+=Do(wa(n)+t)*864e5,t=0,n=0),r.milliseconds=e%1e3,a=$e(e/1e3),r.seconds=a%60,i=$e(a/60),r.minutes=i%60,o=$e(i/60),r.hours=o%24,t+=$e(o/24),u=$e(el(t)),n+=u,t-=Do(wa(u)),s=$e(n/12),n%=12,r.days=t,r.months=n,r.years=s,this}function el(e){return e*4800/146097}function wa(e){return e*146097/4800}function by(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if(e=qe(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+r/864e5,n=this._months+el(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(wa(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return t*24+r/36e5;case"minute":return t*1440+r/6e4;case"second":return t*86400+r/1e3;case"millisecond":return Math.floor(t*864e5)+r;default:throw new Error("Unknown unit "+e)}}function vy(){return this.isValid()?this._milliseconds+this._days*864e5+this._months%12*2592e6+L(this._months/12)*31536e6:NaN}function At(e){return function(){return this.as(e)}}var yy=At("ms"),Iy=At("s"),xy=At("m"),Cy=At("h"),wy=At("d"),My=At("w"),Sy=At("M"),ky=At("Q"),Dy=At("y");function Ey(){return ot(this)}function Oy(e){return e=qe(e),this.isValid()?this[e+"s"]():NaN}function Zt(e){return function(){return this.isValid()?this._data[e]:NaN}}var Ay=Zt("milliseconds"),Ny=Zt("seconds"),Ty=Zt("minutes"),_y=Zt("hours"),Wy=Zt("days"),Fy=Zt("months"),Gy=Zt("years");function Py(){return $e(this.days()/7)}var Ct=Math.round,Qt={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Yy(e,t,n,r,a){return a.relativeTime(t||1,!!n,e,r)}function Ry(e,t,n,r){var a=ot(e).abs(),i=Ct(a.as("s")),o=Ct(a.as("m")),s=Ct(a.as("h")),u=Ct(a.as("d")),l=Ct(a.as("M")),c=Ct(a.as("w")),d=Ct(a.as("y")),m=i<=n.ss&&["s",i]||i<n.s&&["ss",i]||o<=1&&["m"]||o<n.m&&["mm",o]||s<=1&&["h"]||s<n.h&&["hh",s]||u<=1&&["d"]||u<n.d&&["dd",u];return n.w!=null&&(m=m||c<=1&&["w"]||c<n.w&&["ww",c]),m=m||l<=1&&["M"]||l<n.M&&["MM",l]||d<=1&&["y"]||["yy",d],m[2]=t,m[3]=+e>0,m[4]=r,Yy.apply(null,m)}function By(e){return e===void 0?Ct:typeof e=="function"?(Ct=e,!0):!1}function Vy(e,t){return Qt[e]===void 0?!1:t===void 0?Qt[e]:(Qt[e]=t,e==="s"&&(Qt.ss=t-1),!0)}function Hy(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,r=Qt,a,i;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(n=e),typeof t=="object"&&(r=Object.assign({},Qt,t),t.s!=null&&t.ss==null&&(r.ss=t.s-1)),a=this.localeData(),i=Ry(this,!n,r,a),n&&(i=a.pastFuture(+this,i)),a.postformat(i)}var ea=Math.abs;function Jt(e){return(e>0)-(e<0)||+e}function _r(){if(!this.isValid())return this.localeData().invalidDate();var e=ea(this._milliseconds)/1e3,t=ea(this._days),n=ea(this._months),r,a,i,o,s=this.asSeconds(),u,l,c,d;return s?(r=$e(e/60),a=$e(r/60),e%=60,r%=60,i=$e(n/12),n%=12,o=e?e.toFixed(3).replace(/\.?0+$/,""):"",u=s<0?"-":"",l=Jt(this._months)!==Jt(s)?"-":"",c=Jt(this._days)!==Jt(s)?"-":"",d=Jt(this._milliseconds)!==Jt(s)?"-":"",u+"P"+(i?l+i+"Y":"")+(n?l+n+"M":"")+(t?c+t+"D":"")+(a||r||e?"T":"")+(a?d+a+"H":"")+(r?d+r+"M":"")+(e?d+o+"S":"")):"P0D"}var $=Nr.prototype;$.isValid=Wv;$.abs=hy;$.add=my;$.subtract=gy;$.as=by;$.asMilliseconds=yy;$.asSeconds=Iy;$.asMinutes=xy;$.asHours=Cy;$.asDays=wy;$.asWeeks=My;$.asMonths=Sy;$.asQuarters=ky;$.asYears=Dy;$.valueOf=vy;$._bubble=py;$.clone=Ey;$.get=Oy;$.milliseconds=Ay;$.seconds=Ny;$.minutes=Ty;$.hours=_y;$.days=Wy;$.weeks=Py;$.months=Fy;$.years=Gy;$.humanize=Hy;$.toISOString=_r;$.toString=_r;$.toJSON=_r;$.locale=Hu;$.localeData=Zu;$.toIsoString=Qe("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",_r);$.lang=Xu;P("X",0,0,"unix");P("x",0,0,"valueOf");T("x",Dr);T("X",cb);ce("X",function(e,t,n){n._d=new Date(parseFloat(e)*1e3)});ce("x",function(e,t,n){n._d=new Date(L(e))});//! moment.js
|
|
691
|
+
D.version="2.29.4";Xp(me);D.fn=k;D.min=Av;D.max=Nv;D.now=Tv;D.utc=bt;D.unix=oy;D.months=uy;D.isDate=Gn;D.locale=Ft;D.invalid=Cr;D.duration=ot;D.isMoment=it;D.weekdays=cy;D.parseZone=sy;D.localeData=Ot;D.isDuration=er;D.monthsShort=ly;D.weekdaysMin=fy;D.defineLocale=hi;D.updateLocale=sv;D.locales=uv;D.weekdaysShort=dy;D.normalizeUnits=qe;D.relativeTimeRounding=By;D.relativeTimeThreshold=Vy;D.calendarFormat=r0;D.prototype=k;D.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};//! moment.js locale configuration
|
|
692
692
|
//! locale : English (United Kingdom) [en-gb]
|
|
693
693
|
//! author : Chris Gedrim : https://github.com/chrisgedrim
|
|
694
|
-
|
|
694
|
+
D.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=~~(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+n},week:{dow:1,doy:4}});const Oe=Gt.defineMessages({dateTimePickerLabel:{id:"datePicker.label.date.time.picker",defaultMessage:"Select date"},am:{id:"datePicker.label.am",defaultMessage:"AM"},pm:{id:"datePicker.label.pm",defaultMessage:"PM"},twentyFourHour:{id:"datePicker.label.24h",defaultMessage:"24h"},timeInputPlaceholder:{id:"datePicker.placeholder.time",defaultMessage:"hh:mm"},timeInputLabel:{id:"datePicker.label.time",defaultMessage:"Time"},invalidTime:{id:"datePicker.message.invalid.time",defaultMessage:"Invalid Time"},selectDateFormatDescription:{id:"datePicker.message.formatDescription",defaultMessage:"Provide a date using the format {localeFormat}"},wrongFormat:{id:"datePicker.message.invalid.format",defaultMessage:"Invalid Format"},notNumber:{id:"datePicker.message.invalid.not.number",defaultMessage:"Given time is not a number"},pickerPrevMonth:{id:"datePicker.button.prevMonth",defaultMessage:"Previous month"},pickerNextMonth:{id:"datePicker.button.nextMonth",defaultMessage:"Next month"},pickerSelectYear:{id:"datePicker.button.selectYear",defaultMessage:"Select year and month"},selectYearDropdown:{id:"datePicker.dropdown.selectYear",defaultMessage:"Select year"},closeYearMonthPicker:{id:"datePicker.button.closeYearMonthPicker",defaultMessage:"Done"}}),Xy=(e,t)=>e?D(e).locale(t).format("L"):null,tl=e=>{const{label:t="",locale:n="en-gb",width:r,date:a={from:"",to:""},type:i="to",fromMonth:o=new Date,disabledDays:s={},value:u,pickerRef:l,inputProps:c={},dayPickerProps:d={},showOverlay:m=!1,onDayChange:h,onDayClick:g}=e,{current:v}=f.useRef(c.id||Xt()),b=G=>{if(G instanceof Date&&!isNaN(G.getTime()))return G;if(G!==void 0&&G!==""&&G!==null){const Se=new Date(G);if(!isNaN(Se.getTime()))return Se}return new Date},[I,x]=f.useState(b(o)),[C,M]=f.useState(m),[y,p]=f.useState(!1),w=f.useRef(null),O=f.useRef(null),{from:E,to:W}=a,V=D.localeData(n).longDateFormat("L"),j=Xy(u||a[i],n),[J,N]=f.useState(!1),[z,Ce]=f.useState(""),de=!!E&&!!W,pe=Gt.useIntl(),be=J?z:j||"",fe=G=>{Ce(G.target.value)},we=()=>{N(!0),Ce(j||""),M(!0)},he=()=>{if(!z){j||h==null||h(null),N(!1);return}const G=D(z,V,n,!0);if(G.isValid()){const Se=G.toDate();h==null||h(Se),x(Se)}N(!1)},ve=G=>{G.key==="Enter"?he():G.key==="Escape"&&(M(!1),p(!1))};f.useEffect(()=>{l&&typeof l=="object"&&"current"in l&&(l.current={getInput:()=>O.current})},[l]),Da(u&&a[i],"[DatePicker] Both the `value` and `date` props have been used.\n The `date` prop will be ignored. To get rid of this warning, remove one of these props.");const Ne=({month:G,year:Se})=>{x(new Date(Se,G))},ue=f.useMemo(()=>de?i==="from"?{before:s.before,after:W||s.after}:{before:E||s.before,after:s.after}:s,[i,de,s,E,W]),Te=f.useMemo(()=>{const G=[];return ue.before&&G.push({before:new Date(ue.before)}),ue.after&&G.push({after:new Date(ue.after)}),G.length?G:void 0},[ue]),Ee=f.useMemo(()=>{if(de)return{from:E?new Date(E):void 0,to:W?new Date(W):void 0}},[de,E,W]),Ke=f.useMemo(()=>{if(de)return;const G=u||a[i];return G?new Date(G):void 0},[de,u,a,i]),Ue=f.useCallback(G=>{M(!1),h==null||h(G),g==null||g(G)},[h,g]),st=f.useRef(null);f.useEffect(()=>{if(!C)return;const G=Se=>{w.current&&!w.current.contains(Se.target)&&(M(!1),p(!1))};return document.addEventListener("mousedown",G),()=>document.removeEventListener("mousedown",G)},[C]);const yt=f.useMemo(()=>ue.before?new Date(I.getFullYear(),I.getMonth()-1,1)>=D(ue.before).startOf("month").toDate():!0,[I,ue]),_=f.useMemo(()=>ue.after?new Date(I.getFullYear(),I.getMonth()+1,1)<=D(ue.after).startOf("month").toDate():!0,[I,ue]),ut={fill:"var(--color-gray400)",cursor:"default"};return S.jsxs(Ky,{width:r,ref:w,children:[t&&S.jsx("label",{htmlFor:v,style:{margin:"4px 0"},children:S.jsx(Q.BodyUI,{bold:!0,as:"span",color:"var(--color-gray900)",children:t})}),S.jsxs(Ly,{children:[S.jsx(Le.IconCalendar,{style:{position:"absolute",paddingLeft:"10px",fill:"var(--color-gray700)",height:"20px",width:"20px",boxSizing:"content-box",pointerEvents:"none"}}),S.jsx(jy,{"data-testid":"datepicker-input",ref:O,id:v,role:"combobox","aria-label":typeof t=="string"&&t?t:void 0,"aria-describedby":`${v}-format`,"aria-expanded":C,"aria-haspopup":"dialog","aria-controls":`${v}-picker`,value:be,placeholder:V,onChange:fe,onBlur:he,onKeyDown:ve,onClick:()=>M(!0),onFocus:we,...c}),S.jsx("span",{id:`${v}-format`,hidden:!0,children:pe.formatMessage(Oe.selectDateFormatDescription,{localeFormat:V})})]}),C&&S.jsxs(zy,{ref:st,id:`${v}-picker`,role:"dialog","aria-modal":"false","aria-label":pe.formatMessage(Oe.dateTimePickerLabel),children:[S.jsxs(e1,{children:[S.jsx(In.IconButton,{icon:Le.IconChevronLeft,isActionIcon:!0,disabled:!yt,onClick:()=>{x(new Date(I.getFullYear(),I.getMonth()-1,1))},"aria-label":pe.formatMessage(Oe.pickerPrevMonth),style:!yt&&ut||{},"data-testid":"datepicker-select-prev-month"}),S.jsx(In.ButtonSecondary,{onClick:()=>p(!0),"aria-label":pe.formatMessage(Oe.pickerSelectYear),"data-tooltip-content":pe.formatMessage(Oe.pickerSelectYear),"data-tooltip-id":"tooltip-datepicker-select-year","data-testid":"datepicker-select-year",text:D(I).format("MMMM YYYY")}),S.jsx(Ao.Tooltip,{id:"tooltip-datepicker-select-year"}),S.jsx(In.IconButton,{icon:Le.IconChevronRight,isActionIcon:!0,disabled:!_,onClick:()=>{x(new Date(I.getFullYear(),I.getMonth()+1,1))},"aria-label":pe.formatMessage(Oe.pickerNextMonth),style:!_&&ut||{},"data-testid":"datepicker-select-next-month"})]}),y?S.jsx(Zy,{date:I,disabledDays:ue,onChange:G=>{p(!1),Ne(G)}}):de?S.jsx(Co,{mode:"range",month:I,onMonthChange:x,selected:Ee,onSelect:G=>{const Se=i==="from"?G==null?void 0:G.from:G==null?void 0:G.to;Se&&Ue(Se)},disabled:Te,showOutsideDays:!0,hideNavigation:!0,captionLayout:"label",components:{MonthCaption:()=>S.jsx(S.Fragment,{}),Nav:()=>S.jsx(S.Fragment,{})},...d}):S.jsx(Co,{mode:"single",month:I,onMonthChange:x,selected:Ke,onSelect:G=>{G&&Ue(G)},disabled:Te,showOutsideDays:!0,hideNavigation:!0,captionLayout:"label",components:{MonthCaption:()=>S.jsx(S.Fragment,{}),Nav:()=>S.jsx(S.Fragment,{})},...d})]})]})},Zy=({date:e,disabledDays:t,onChange:n})=>{const r=Gt.useIntl(),[a,i]=f.useState(new Date(e).getMonth()),[o,s]=f.useState(new Date(e).getFullYear()),{after:u,before:l}=t||{},c=()=>{const h=new Date().getFullYear(),{after:g,before:v}=t||{},b=v?new Date(v).getFullYear():1939,I=g?new Date(g).getFullYear():new Date(h+10,11).getFullYear(),x=[];for(let C=I;C>=b;C--)x.push({label:C,value:C});return x},d=h=>{const g=D.monthsShort().indexOf(h),v=D().set({year:o,month:g}).startOf("month");return l&&v<D(l).startOf("month")||u&&v>D(u).startOf("month")},m=D.monthsShort();return S.jsxs(Jy,{children:[S.jsx($y,{"data-testid":"yearmonth-dropdown-select",children:S.jsx(ja,{label:"","aria-label":r.formatMessage(Oe.selectYearDropdown),options:c(),value:{label:o,value:o},onChange:h=>{s(h.value)}})}),S.jsx(Qy,{children:m.map((h,g)=>S.jsx("li",{"data-value":g,children:S.jsx(qy,{"data-testid":`select-month-${h}`,$isActive:g===a,disabled:!!d(h),onClick:()=>{d(h)||i(g)},"aria-label":h,"aria-pressed":g===a,text:h})},h))}),S.jsxs(Uy,{children:[S.jsx(In.IconButton,{"aria-label":r.formatMessage(Oe.closeYearMonthPicker),icon:Le.IconCheck,onClick:()=>n({month:a,year:o}),"data-tooltip-content":r.formatMessage(Oe.closeYearMonthPicker),"data-tooltip-id":"datepicker-year-month-done","data-testid":"datepicker-year-month-done"}),S.jsx(Ao.Tooltip,{id:"datepicker-year-month-done"})]})]})},Ly=A.div`
|
|
695
|
+
display: flex;
|
|
696
|
+
align-items: center;
|
|
697
|
+
position: relative;
|
|
698
|
+
`,jy=A.input`
|
|
699
|
+
font-family: ${Q.sansFamily};
|
|
700
|
+
width: 100%;
|
|
701
|
+
border-radius: 4px;
|
|
702
|
+
border: solid 1px var(--color-gray400);
|
|
703
|
+
box-sizing: border-box;
|
|
704
|
+
box-shadow: none;
|
|
705
|
+
font-size: 14px;
|
|
706
|
+
padding: 9px 12px 9px 38px;
|
|
707
|
+
font-weight: normal;
|
|
708
|
+
font-style: normal;
|
|
709
|
+
font-stretch: normal;
|
|
710
|
+
line-height: 1.43;
|
|
711
|
+
letter-spacing: 0.3px;
|
|
712
|
+
color: var(--color-black100);
|
|
713
|
+
cursor: pointer;
|
|
714
|
+
|
|
715
|
+
::placeholder {
|
|
716
|
+
color: var(--color-gray600);
|
|
717
|
+
}
|
|
718
|
+
|
|
719
|
+
:hover {
|
|
720
|
+
border-color: var(--color-gray400);
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
:focus {
|
|
724
|
+
outline: none;
|
|
725
|
+
}
|
|
726
|
+
|
|
727
|
+
:focus-visible {
|
|
728
|
+
outline: 2px solid var(--color-active-primary);
|
|
729
|
+
outline-offset: 1px;
|
|
730
|
+
border-color: var(--color-active-primary);
|
|
731
|
+
}
|
|
732
|
+
`,zy=A.div`
|
|
695
733
|
position: absolute;
|
|
696
|
-
|
|
697
|
-
top: 0;
|
|
698
|
-
bottom: 0;
|
|
734
|
+
top: 100%;
|
|
699
735
|
left: 0;
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
736
|
+
z-index: 100;
|
|
737
|
+
margin-top: 4px;
|
|
738
|
+
background: var(--color-white100);
|
|
739
|
+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
|
|
740
|
+
border-radius: 8px;
|
|
741
|
+
padding: 8px;
|
|
742
|
+
|
|
743
|
+
/* react-day-picker v9 base styles (inlined because Vite can't resolve the CSS import) */
|
|
744
|
+
.rdp-root {
|
|
745
|
+
--rdp-accent-color: var(--color-active-primary);
|
|
746
|
+
--rdp-accent-background-color: var(--color-active-lighten90);
|
|
747
|
+
--rdp-day-height: 35px;
|
|
748
|
+
--rdp-day-width: 35px;
|
|
749
|
+
--rdp-day_button-border-radius: 100%;
|
|
750
|
+
--rdp-day_button-border: none;
|
|
751
|
+
--rdp-day_button-height: 28px;
|
|
752
|
+
--rdp-day_button-width: 28px;
|
|
753
|
+
--rdp-selected-border: none;
|
|
754
|
+
--rdp-disabled-opacity: 0.5;
|
|
755
|
+
--rdp-outside-opacity: 0.5;
|
|
756
|
+
--rdp-today-color: var(--rdp-accent-color);
|
|
757
|
+
--rdp-range_middle-background-color: var(--rdp-accent-background-color);
|
|
758
|
+
--rdp-range_middle-color: var(--color-gray900);
|
|
759
|
+
--rdp-range_start-color: var(--color-white100);
|
|
760
|
+
--rdp-range_start-date-background-color: var(--rdp-accent-color);
|
|
761
|
+
--rdp-range_end-color: var(--color-white100);
|
|
762
|
+
--rdp-range_end-date-background-color: var(--rdp-accent-color);
|
|
763
|
+
--rdp-gradient-direction: 90deg;
|
|
764
|
+
--rdp-range_start-background: linear-gradient(var(--rdp-gradient-direction), transparent 50%, var(--rdp-range_middle-background-color) 50%);
|
|
765
|
+
--rdp-range_end-background: linear-gradient(var(--rdp-gradient-direction), var(--rdp-range_middle-background-color) 50%, transparent 50%);
|
|
766
|
+
|
|
767
|
+
position: relative;
|
|
768
|
+
box-sizing: border-box;
|
|
769
|
+
font-family: ${Q.sansFamily};
|
|
770
|
+
color: var(--color-gray900);
|
|
771
|
+
letter-spacing: -0.3px;
|
|
772
|
+
font-size: 14px;
|
|
773
|
+
font-weight: normal;
|
|
774
|
+
}
|
|
775
|
+
|
|
776
|
+
.rdp-root * {
|
|
777
|
+
box-sizing: border-box;
|
|
778
|
+
}
|
|
779
|
+
|
|
780
|
+
.rdp-months {
|
|
781
|
+
position: relative;
|
|
782
|
+
display: flex;
|
|
783
|
+
flex-wrap: wrap;
|
|
784
|
+
max-width: fit-content;
|
|
785
|
+
}
|
|
786
|
+
|
|
787
|
+
.rdp-month_grid {
|
|
788
|
+
border-collapse: collapse;
|
|
789
|
+
}
|
|
790
|
+
|
|
791
|
+
.rdp-weekday {
|
|
792
|
+
opacity: 0.75;
|
|
793
|
+
padding: 4px 0;
|
|
794
|
+
font-weight: 500;
|
|
795
|
+
font-size: 12px;
|
|
796
|
+
text-align: center;
|
|
797
|
+
}
|
|
798
|
+
|
|
799
|
+
.rdp-day {
|
|
800
|
+
width: var(--rdp-day-width);
|
|
801
|
+
height: var(--rdp-day-height);
|
|
802
|
+
text-align: center;
|
|
803
|
+
}
|
|
804
|
+
|
|
805
|
+
.rdp-day_button {
|
|
806
|
+
background: none;
|
|
807
|
+
padding: 0;
|
|
808
|
+
margin: 0;
|
|
809
|
+
cursor: pointer;
|
|
810
|
+
font: inherit;
|
|
811
|
+
color: inherit;
|
|
812
|
+
display: flex;
|
|
813
|
+
justify-content: center;
|
|
814
|
+
align-items: center;
|
|
815
|
+
width: var(--rdp-day_button-width);
|
|
816
|
+
height: var(--rdp-day_button-height);
|
|
817
|
+
border: var(--rdp-day_button-border);
|
|
818
|
+
border-radius: var(--rdp-day_button-border-radius);
|
|
819
|
+
}
|
|
820
|
+
|
|
821
|
+
.rdp-day_button:disabled {
|
|
822
|
+
cursor: revert;
|
|
823
|
+
}
|
|
824
|
+
|
|
825
|
+
.rdp-day_button:hover:not(:disabled) {
|
|
826
|
+
background-color: var(--color-active-lighten90);
|
|
827
|
+
}
|
|
828
|
+
|
|
829
|
+
.rdp-day_button:focus-visible {
|
|
830
|
+
outline: 2px solid var(--color-active-primary);
|
|
831
|
+
outline-offset: -2px;
|
|
832
|
+
}
|
|
833
|
+
|
|
834
|
+
.rdp-today:not(.rdp-outside) {
|
|
835
|
+
color: var(--rdp-today-color);
|
|
836
|
+
}
|
|
837
|
+
|
|
838
|
+
.rdp-selected .rdp-day_button {
|
|
839
|
+
border: none;
|
|
840
|
+
background-color: var(--rdp-accent-color);
|
|
841
|
+
color: var(--color-white100);
|
|
842
|
+
font-weight: normal;
|
|
843
|
+
font-size: 14px;
|
|
844
|
+
}
|
|
845
|
+
|
|
846
|
+
.rdp-outside {
|
|
847
|
+
opacity: var(--rdp-outside-opacity);
|
|
848
|
+
}
|
|
849
|
+
|
|
850
|
+
.rdp-disabled:not(.rdp-selected) {
|
|
851
|
+
opacity: var(--rdp-disabled-opacity);
|
|
852
|
+
}
|
|
853
|
+
|
|
854
|
+
.rdp-hidden {
|
|
855
|
+
visibility: hidden;
|
|
856
|
+
}
|
|
857
|
+
|
|
858
|
+
.rdp-range_start {
|
|
859
|
+
background: var(--rdp-range_start-background);
|
|
860
|
+
}
|
|
861
|
+
|
|
862
|
+
.rdp-range_start .rdp-day_button {
|
|
863
|
+
background-color: var(--rdp-range_start-date-background-color);
|
|
864
|
+
color: var(--rdp-range_start-color);
|
|
865
|
+
}
|
|
866
|
+
|
|
867
|
+
.rdp-range_middle {
|
|
868
|
+
background-color: var(--rdp-range_middle-background-color);
|
|
869
|
+
}
|
|
870
|
+
|
|
871
|
+
.rdp-range_middle .rdp-day_button {
|
|
872
|
+
border: unset;
|
|
873
|
+
border-radius: 0;
|
|
874
|
+
background: transparent;
|
|
875
|
+
color: var(--rdp-range_middle-color);
|
|
876
|
+
}
|
|
877
|
+
|
|
878
|
+
.rdp-range_end {
|
|
879
|
+
background: var(--rdp-range_end-background);
|
|
880
|
+
}
|
|
881
|
+
|
|
882
|
+
.rdp-range_end .rdp-day_button {
|
|
883
|
+
background-color: var(--rdp-range_end-date-background-color);
|
|
884
|
+
color: var(--rdp-range_end-color);
|
|
885
|
+
}
|
|
886
|
+
|
|
887
|
+
/* Round range edges at row boundaries like the old design */
|
|
888
|
+
tr td:first-child .rdp-range_middle {
|
|
889
|
+
border-top-left-radius: 100px;
|
|
890
|
+
border-bottom-left-radius: 100px;
|
|
891
|
+
}
|
|
892
|
+
tr td:last-child .rdp-range_middle {
|
|
893
|
+
border-top-right-radius: 100px;
|
|
894
|
+
border-bottom-right-radius: 100px;
|
|
895
|
+
}
|
|
896
|
+
|
|
897
|
+
/* Outside days in range should be subtler */
|
|
898
|
+
.rdp-range_middle.rdp-outside .rdp-day_button {
|
|
899
|
+
color: var(--color-gray500);
|
|
900
|
+
}
|
|
901
|
+
|
|
902
|
+
.rdp-range_start.rdp-outside .rdp-day_button,
|
|
903
|
+
.rdp-range_end.rdp-outside .rdp-day_button {
|
|
904
|
+
color: var(--color-white100);
|
|
905
|
+
}
|
|
906
|
+
|
|
907
|
+
.rdp-month_caption, .rdp-nav {
|
|
908
|
+
display: none;
|
|
909
|
+
}
|
|
910
|
+
`,Jy=A.div`
|
|
911
|
+
padding: var(--space-md);
|
|
912
|
+
`,Uy=A.div`
|
|
704
913
|
display: flex;
|
|
705
914
|
align-items: center;
|
|
706
915
|
justify-content: flex-end;
|
|
707
|
-
margin-top:
|
|
708
|
-
|
|
916
|
+
margin-top: var(--space-md);
|
|
917
|
+
`,$y=A.div`
|
|
709
918
|
align-items: center;
|
|
710
919
|
justify-content: center;
|
|
711
|
-
margin-bottom:
|
|
920
|
+
margin-bottom: var(--space-xs);
|
|
712
921
|
> div {
|
|
713
922
|
width: 100%;
|
|
714
923
|
}
|
|
715
|
-
`,
|
|
924
|
+
`,Qy=A.ul`
|
|
716
925
|
display: grid;
|
|
717
926
|
grid-template-columns: 1fr 1fr 1fr 1fr;
|
|
718
927
|
grid-gap: 8px;
|
|
719
928
|
width: 100%;
|
|
720
|
-
margin:
|
|
929
|
+
margin: var(--space-md) 0 0 0;
|
|
721
930
|
padding: 0;
|
|
722
931
|
list-style: none;
|
|
723
932
|
li {
|
|
724
933
|
width: 100%;
|
|
725
934
|
}
|
|
726
|
-
`,
|
|
935
|
+
`,qy=A(In.ButtonSecondary)`
|
|
727
936
|
padding: 8px;
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
background-color: ${V.lighten(V.active,.9)};
|
|
937
|
+
${({$isActive:e})=>e&&A.css`
|
|
938
|
+
background-color: var(--color-active-lighten90);
|
|
731
939
|
p {
|
|
732
|
-
color:
|
|
940
|
+
color: var(--color-active-darken20);
|
|
733
941
|
font-weight: bold;
|
|
734
942
|
}
|
|
735
943
|
`}
|
|
736
|
-
`,
|
|
944
|
+
`,Ky=A.div`
|
|
737
945
|
display: flex;
|
|
738
946
|
flex-direction: column;
|
|
947
|
+
position: relative;
|
|
739
948
|
width: ${({width:e})=>e||"200px"};
|
|
740
|
-
|
|
741
|
-
.DayPickerInput-Overlay {
|
|
742
|
-
margin-top: 8px;
|
|
743
|
-
box-shadow: ${fn.shadow500};
|
|
744
|
-
border-radius: ${fn.radius500};
|
|
745
|
-
}
|
|
746
|
-
|
|
747
|
-
.DayPickerInput {
|
|
748
|
-
.Range {
|
|
749
|
-
.DayPicker-Day {
|
|
750
|
-
min-width: 21px;
|
|
751
|
-
:focus {
|
|
752
|
-
outline: none;
|
|
753
|
-
}
|
|
754
|
-
&.DayPicker-Day--selected:not(.DayPicker-Day--before):not(.DayPicker-Day--after) {
|
|
755
|
-
${({hasRange:e})=>e&&S.css`
|
|
756
|
-
background-color: ${V.toBgLight(V.active)};
|
|
757
|
-
border-radius: 0;
|
|
758
|
-
&:not(.DayPicker-Day--outside) {
|
|
759
|
-
color: ${V.gray01};
|
|
760
|
-
}
|
|
761
|
-
&.DayPicker-Day--outside {
|
|
762
|
-
// Original gray was too bright and looked bad on selected background
|
|
763
|
-
color: ${V.gray05};
|
|
764
|
-
}
|
|
765
|
-
`}
|
|
766
|
-
}
|
|
767
|
-
&.DayPicker-Day--selected {
|
|
768
|
-
background-color: ${V.active};
|
|
769
|
-
color: ${V.white};
|
|
770
|
-
}
|
|
771
|
-
|
|
772
|
-
&.DayPicker-Day--before {
|
|
773
|
-
position: relative;
|
|
774
|
-
|
|
775
|
-
${({hasRange:e})=>e&&S.css`
|
|
776
|
-
::before {
|
|
777
|
-
content: "";
|
|
778
|
-
position: absolute;
|
|
779
|
-
background-color: ${V.toBgLight(V.active)};
|
|
780
|
-
width: 10px;
|
|
781
|
-
height: 35px;
|
|
782
|
-
top: 0;
|
|
783
|
-
right: 0;
|
|
784
|
-
z-index: -1;
|
|
785
|
-
}
|
|
786
|
-
`}
|
|
787
|
-
}
|
|
788
|
-
&.DayPicker-Day--after {
|
|
789
|
-
position: relative;
|
|
790
|
-
${({hasRange:e})=>e&&S.css`
|
|
791
|
-
::before {
|
|
792
|
-
content: "";
|
|
793
|
-
position: absolute;
|
|
794
|
-
background-color: ${V.toBgLight(V.active)};
|
|
795
|
-
width: 10px;
|
|
796
|
-
height: 35px;
|
|
797
|
-
top: 0;
|
|
798
|
-
left: 0;
|
|
799
|
-
z-index: -1;
|
|
800
|
-
}
|
|
801
|
-
`}
|
|
802
|
-
}
|
|
803
|
-
&.DayPicker-Day--today:not(.DayPicker-Day--selected) {
|
|
804
|
-
color: ${V.active};
|
|
805
|
-
}
|
|
806
|
-
|
|
807
|
-
&.DayPicker-Day--outside {
|
|
808
|
-
&.DayPicker-Day--before,
|
|
809
|
-
&.DayPicker-Day--after {
|
|
810
|
-
color: ${V.white};
|
|
811
|
-
}
|
|
812
|
-
}
|
|
813
|
-
}
|
|
814
|
-
}
|
|
815
|
-
input {
|
|
816
|
-
font-family: ${H.sansFamily};
|
|
817
|
-
width: 100%;
|
|
818
|
-
border-radius: 4px;
|
|
819
|
-
border: solid 1px ${V.gray06};
|
|
820
|
-
box-sizing: border-box;
|
|
821
|
-
box-shadow: none;
|
|
822
|
-
font-size: 14px;
|
|
823
|
-
padding: 9px 12px 9px 38px;
|
|
824
|
-
font-weight: normal;
|
|
825
|
-
font-style: normal;
|
|
826
|
-
font-stretch: normal;
|
|
827
|
-
line-height: 1.43;
|
|
828
|
-
letter-spacing: 0.3px;
|
|
829
|
-
color: ${V.black};
|
|
830
|
-
|
|
831
|
-
:hover {
|
|
832
|
-
border-color: ${V.gray06};
|
|
833
|
-
}
|
|
834
|
-
|
|
835
|
-
:active {
|
|
836
|
-
outline: none;
|
|
837
|
-
box-shadow: none;
|
|
838
|
-
border-color: ${V.active};
|
|
839
|
-
}
|
|
840
|
-
|
|
841
|
-
:focus {
|
|
842
|
-
outline: none;
|
|
843
|
-
border-color: ${V.active};
|
|
844
|
-
}
|
|
845
|
-
}
|
|
846
|
-
|
|
847
|
-
.DayPicker-wrapper {
|
|
848
|
-
font-family: ${H.sansFamily};
|
|
849
|
-
color: ${V.gray01};
|
|
850
|
-
letter-spacing: -0.3px;
|
|
851
|
-
font-size: 14px;
|
|
852
|
-
font-weight: normal;
|
|
853
|
-
}
|
|
854
|
-
|
|
855
|
-
.DayPicker-Week {
|
|
856
|
-
${({hasRange:e})=>e&&S.css`
|
|
857
|
-
.DayPicker-Day--selected:not(.DayPicker-Day--before):not(.DayPicker-Day--after) {
|
|
858
|
-
&:first-child {
|
|
859
|
-
border-top-left-radius: ${Bn} !important;
|
|
860
|
-
border-bottom-left-radius: ${Bn} !important;
|
|
861
|
-
}
|
|
862
|
-
&:last-child {
|
|
863
|
-
border-top-right-radius: ${Bn} !important;
|
|
864
|
-
border-bottom-right-radius: ${Bn} !important;
|
|
865
|
-
}
|
|
866
|
-
}
|
|
867
|
-
`}
|
|
868
|
-
|
|
869
|
-
.DayPicker-Day--selected {
|
|
870
|
-
&:first-child {
|
|
871
|
-
&.DayPicker-Day--after {
|
|
872
|
-
::before {
|
|
873
|
-
content: none;
|
|
874
|
-
}
|
|
875
|
-
}
|
|
876
|
-
}
|
|
877
|
-
&:last-child {
|
|
878
|
-
&.DayPicker-Day--before {
|
|
879
|
-
::before {
|
|
880
|
-
content: none;
|
|
881
|
-
}
|
|
882
|
-
}
|
|
883
|
-
}
|
|
884
|
-
}
|
|
885
|
-
}
|
|
886
|
-
|
|
887
|
-
.DayPicker-Caption {
|
|
888
|
-
display: none;
|
|
889
|
-
}
|
|
890
|
-
}
|
|
891
|
-
`,Dy=S.div`
|
|
949
|
+
`,e1=A.div`
|
|
892
950
|
display: flex;
|
|
893
951
|
align-items: center;
|
|
894
952
|
justify-content: space-between;
|
|
895
953
|
padding: 16px 14px 0px 14px;
|
|
896
|
-
`;var
|
|
954
|
+
`;var t1="Expected a function",Eo=NaN,n1="[object Symbol]",r1=/^\s+|\s+$/g,a1=/^[-+]0x[0-9a-f]+$/i,i1=/^0b[01]+$/i,o1=/^0o[0-7]+$/i,s1=parseInt,u1=typeof Hn=="object"&&Hn&&Hn.Object===Object&&Hn,l1=typeof self=="object"&&self&&self.Object===Object&&self,c1=u1||l1||Function("return this")(),d1=Object.prototype,f1=d1.toString,h1=Math.max,m1=Math.min,ta=function(){return c1.Date.now()};function g1(e,t,n){var r,a,i,o,s,u,l=0,c=!1,d=!1,m=!0;if(typeof e!="function")throw new TypeError(t1);t=Oo(t)||0,Ma(n)&&(c=!!n.leading,d="maxWait"in n,i=d?h1(Oo(n.maxWait)||0,t):i,m="trailing"in n?!!n.trailing:m);function h(p){var w=r,O=a;return r=a=void 0,l=p,o=e.apply(O,w),o}function g(p){return l=p,s=setTimeout(I,t),c?h(p):o}function v(p){var w=p-u,O=p-l,E=t-w;return d?m1(E,i-O):E}function b(p){var w=p-u,O=p-l;return u===void 0||w>=t||w<0||d&&O>=i}function I(){var p=ta();if(b(p))return x(p);s=setTimeout(I,v(p))}function x(p){return s=void 0,m&&r?h(p):(r=a=void 0,o)}function C(){s!==void 0&&clearTimeout(s),l=0,r=u=a=s=void 0}function M(){return s===void 0?o:x(ta())}function y(){var p=ta(),w=b(p);if(r=arguments,a=this,u=p,w){if(s===void 0)return g(u);if(d)return s=setTimeout(I,t),h(u)}return s===void 0&&(s=setTimeout(I,t)),o}return y.cancel=C,y.flush=M,y}function Ma(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function p1(e){return!!e&&typeof e=="object"}function b1(e){return typeof e=="symbol"||p1(e)&&f1.call(e)==n1}function Oo(e){if(typeof e=="number")return e;if(b1(e))return Eo;if(Ma(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Ma(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(r1,"");var n=i1.test(e);return n||o1.test(e)?s1(e.slice(2),n?2:8):a1.test(e)?Eo:+e}var v1=g1;const y1=xc(v1),I1=/^\d{4}$/g,na="default",nl=({label:e,value:t,onChange:n,inputMode:r="am"})=>{const a=Gt.useIntl(),[i,o]=f.useState(t),[s,u]=f.useState(t),[l,c]=f.useState(r),[d,m]=f.useState(na),[h,g]=f.useState(),[v,b]=f.useState(""),I=f.useCallback(({time:E,mode:W})=>{const V=parseInt(E[0]),j=parseInt(E[1]);if(isNaN(V)||isNaN(j))return m("error"),g(a.formatMessage(Oe.notNumber)),!1;const J=new RegExp(W==="24h"?"([0-1][0-9]{1}|[2][0-3]{1}):([0-5]{1}[0-9]{1})":"([0][1-9]|[1][0-2]{1}):([0-5]{1}[0-9]{1})"),N=V<10?`0${V}:${E[1]}`:`${V}:${E[1]}`;return J.test(N)?(m(na),!0):(m("error"),g(a.formatMessage(Oe.invalidTime)),!1)},[a]),x=f.useCallback(({date:E,time:W,mode:V})=>{if(!W||!V||!I({time:W,mode:V})||!E)return;const j=parseInt(W[0]),J=parseInt(W[1]),N=D(E);V==="am"&&j===12?N.hour(0):V==="pm"&&j===12?N.hour(12):V==="pm"?N.hour(j+12):N.hour(j),N.minute(J),n&&n(N.toDate())},[n,I]),C=f.useCallback(E=>{o(E),x({date:E,time:s,mode:l})},[l,s,x]),M=f.useCallback(E=>{(E.charCode<48||E.charCode>58)&&E.preventDefault()},[]),y=f.useCallback(E=>{if(E.length!==2){m("error"),g(a.formatMessage(Oe.wrongFormat));return}u(E),x({date:i,time:E,mode:l})},[a,i,l,x]),p=f.useCallback(({value:E})=>{c(E),x({date:i,time:s,mode:E})},[i,s,x]),w=y1(y,500),O=f.useCallback(E=>{const W=E.target.value;let V=W;m(na),W.match(I1)&&(V=`${W.slice(0,2)}:${W.slice(2)}`),b(V),w(V.split(":"))},[w]);return f.createElement(x1,null,f.createElement(tl,{width:"100%",label:e||a.formatMessage(Oe.dateTimePickerLabel),value:i,onDayChange:C}),f.createElement(gr,{placeholder:a.formatMessage(Oe.timeInputPlaceholder),label:a.formatMessage(Oe.timeInputLabel),onChange:O,state:d,errorMessage:h,value:v,onKeyPress:M}),f.createElement("div",{style:{paddingTop:"28px"}},f.createElement(ja,{options:[{value:"am",label:a.formatMessage(Oe.am)},{value:"pm",label:a.formatMessage(Oe.pm)},{value:"24h",label:a.formatMessage(Oe.twentyFourHour)}],defaultValue:{value:"am",label:a.formatMessage(Oe.am)},onChange:p})))},x1=A.div`
|
|
897
955
|
display: grid;
|
|
898
956
|
grid-template-columns: 180px 90px 90px;
|
|
899
957
|
column-gap: 8px;
|
|
900
|
-
`;
|
|
958
|
+
`;nl.propTypes={onChange:se.func.isRequired,label:se.string,inputMode:se.oneOf(["am","pm","24h"])};const C1={border:`solid 1px ${mt.lighten40(mt.active)}`,borderRadius:Sa.radius400},w1=f.forwardRef(({results:e,focusedResultIndex:t,onResultClick:n},r)=>f.createElement(M1,null,e.map((a,i)=>f.createElement(f.Fragment,{key:a.text||i},f.createElement(S1,{onClick:()=>n(a),style:i===t?C1:{},ref:i===t?r:null},a.component))))),M1=A.ul`
|
|
901
959
|
padding: 0px;
|
|
902
960
|
margin: 0px;
|
|
903
|
-
|
|
961
|
+
`,S1=A.li`
|
|
904
962
|
padding: 9px 15px 9px 15px;
|
|
905
963
|
border: solid 1px transparent;
|
|
906
964
|
list-style-type: none;
|
|
907
965
|
cursor: pointer;
|
|
908
966
|
&:hover {
|
|
909
|
-
background: ${
|
|
967
|
+
background: ${mt.toBgLight(mt.active)};
|
|
910
968
|
}
|
|
911
|
-
`,
|
|
969
|
+
`,k1=({maxHeight:e,children:t})=>React.createElement(D1,null,React.createElement(E1,{maxHeight:e},t)),D1=A.div`
|
|
912
970
|
position: relative;
|
|
913
971
|
display: block;
|
|
914
972
|
width: 100%;
|
|
915
973
|
z-index: 1000;
|
|
916
|
-
`,
|
|
974
|
+
`,E1=A.div`
|
|
917
975
|
position: absolute;
|
|
918
976
|
display: block;
|
|
919
977
|
width: 100%;
|
|
920
|
-
background: ${
|
|
978
|
+
background: ${mt.white};
|
|
921
979
|
margin-top: 8px;
|
|
922
980
|
padding-top: 8px;
|
|
923
981
|
padding-bottom: 8px;
|
|
924
|
-
box-shadow: ${
|
|
982
|
+
box-shadow: ${Sa.shadow400};
|
|
925
983
|
border-radius: 4px;
|
|
926
984
|
max-height: ${e=>e.maxHeight};
|
|
927
985
|
overflow-y: auto;
|
|
928
|
-
`,
|
|
986
|
+
`,an=Gt.defineMessages({typeaheadNoResults:{id:"typeahead.noResults",defaultMessage:"No results found"},typeaheadNoResultsDetails:{id:"typeahead.noResultsDetails",defaultMessage:'We found no results for "{query}"'},typeaheadServerError:{id:"typeahead.serverError",defaultMessage:"Server Error"},typeaheadServerErrorDetails:{id:"typeahead.serverErrorDetails",defaultMessage:"Oh no, there seems to be an issue with our servers. Please try again later"},typeaheadSearching:{id:"typeahead.searching",defaultMessage:"Searching..."},typeaheadSearchingDetails:{id:"typeahead.searchingDetails",defaultMessage:'Please wait as we try to find "{query}"'}}),mr="48px",O1={width:mr,height:mr,fill:mt.gray07},wi=({icon:e,title:t,details:n})=>{const r=e;return React.createElement(T1,null,React.createElement(r,{style:O1}),React.createElement(A1,null,t),React.createElement(N1,null,n))},A1=A(Q.TextEpsilon)`
|
|
929
987
|
text-align: center;
|
|
930
988
|
margin-bottom: 8px;
|
|
931
|
-
`,
|
|
989
|
+
`,N1=A(Q.BodyUI)`
|
|
932
990
|
text-align: center;
|
|
933
|
-
color: ${
|
|
934
|
-
`,
|
|
991
|
+
color: ${mt.gray04};
|
|
992
|
+
`,T1=A.div`
|
|
935
993
|
display: flex;
|
|
936
994
|
flex-direction: column;
|
|
937
995
|
align-items: center;
|
|
938
996
|
padding: 24px;
|
|
939
|
-
`,
|
|
997
|
+
`,_1=()=>{const e=Gt.useIntl();return React.createElement(wi,{icon:Le.IconError,title:e.formatMessage(an.typeaheadServerError),details:e.formatMessage(an.typeaheadServerErrorDetails)})},W1=({query:e})=>{const t=Gt.useIntl();return React.createElement(wi,{icon:Le.IconSearch,title:t.formatMessage(an.typeaheadNoResults),details:t.formatMessage(an.typeaheadNoResultsDetails,{query:e})})},F1=()=>React.createElement(El.Loader,{containerWidth:mr,containerHeight:mr}),G1=({query:e})=>{const t=Gt.useIntl();return React.createElement(wi,{icon:F1,title:t.formatMessage(an.typeaheadSearching),details:t.formatMessage(an.typeaheadSearchingDetails,{query:e})})},rl=({onQuery:e,loading:t,results:n,onSelect:r,onClear:a,keepResult:i=!1,placeholder:o="",errorMessage:s=null,queryError:u=!1,dropdownMaxHeight:l="350px"})=>{const[c,d]=f.useState({q:""}),m=Dl.hooks.useDebounce(c,300),[h,g]=f.useState(null),[v,b]=f.useState(!0),[I,x]=f.useState(null),C=f.useRef(null),M=f.useRef(null),y=c!==m,p=c.q.length>1&&!I&&v;f.useEffect(()=>{i||d({q:""})},[i]),f.useEffect(()=>{if(I)return;const{q:N}=m;N.length<2||e(N)},[e,m,I]),f.useEffect(()=>{n.length===0&&g(null),n.length>0&&g(0)},[n]);const w=()=>h<n.length-1?h+1:h,O=()=>h>0?h-1:h,E=N=>{i&&N.text?d({q:N.text}):d({q:""}),x(N),r(N.data),g(null)},W=N=>{const{value:z}=N.target;d({q:z}),b(!0),x(null),g(null),i&&I&&(a==null||a())};f.useEffect(()=>{M.current&&M.current.scrollIntoView({block:"nearest"})},[h]);const V=N=>{p&&(u||y||t||(N.key==="ArrowUp"?(g(O()),N.preventDefault()):N.key==="ArrowDown"?(g(w()),N.preventDefault()):N.key==="Enter"&&h!=null&&(E(n[h]),N.preventDefault())))},j=N=>{E(N)};f.useEffect(()=>{const N=z=>{C.current&&!C.current.contains(z.target)?b(!1):b(!0)};return document.addEventListener("pointerdown",N),function(){document.removeEventListener("pointerdown",N)}},[C]);const J=()=>u?React.createElement(_1,null):y||t?React.createElement(G1,{query:c.q}):n.length>0?React.createElement(w1,{results:n,focusedResultIndex:h,onResultClick:j,ref:M}):React.createElement(W1,{query:c.q});return React.createElement(P1,{ref:C},React.createElement(gr,{placeholder:o,icon:Le.IconSearch,value:c.q,name:"inputValue",onChange:W,onKeyDown:V,state:s?"error":"default",errorMessage:s,autoComplete:"off"}),p&&React.createElement(k1,{maxHeight:l},J()))},P1=A.div`
|
|
940
998
|
width: 100%;
|
|
941
|
-
`;
|
|
999
|
+
`;rl.propTypes={onQuery:se.func.isRequired,loading:se.bool.isRequired,results:se.arrayOf(se.shape({text:se.string,component:se.element.isRequired,data:se.any.isRequired})).isRequired,onSelect:se.func.isRequired,onClear:se.func,keepResult:se.bool,placeholder:se.string,errorMessage:se.string,queryError:se.bool,dropdownMaxHeight:se.string};exports.Badge=_s;exports.Checkbox=Os;exports.CheckboxGroup=Fh;exports.DatePicker=tl;exports.DateTimePicker=nl;exports.Dropdown=ja;exports.Input=gr;exports.InputNumber=Fl;exports.Link=dh;exports.LinkExternal=fh;exports.RadioButton=As;exports.StyledInput=Ea;exports.Switch=hh;exports.Tag=za;exports.Textarea=Xh;exports.Typeahead=rl;exports.devWarning=ka;exports.dropdownStyles=Ss;exports.getValidChildrenArray=To;exports.isString=No;exports.sanitiseHashtag=Tl;exports.toCamelCase=Al;exports.useDevWarningOnce=Da;exports.uuidv4=Xt;
|
|
942
1000
|
//# sourceMappingURL=index.cjs.js.map
|