@happeouikit/form-elements 3.0.0-alpha.2 → 3.0.0-alpha.3
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.styles.d.ts +1 -5
- package/dist/DatePicker.types.d.ts +4 -8
- package/dist/MonthDayPicker.types.d.ts +4 -8
- package/dist/dateLocale.d.ts +27 -40
- package/dist/index.cjs.js +164 -152
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.es.js +10688 -7243
- package/dist/index.es.js.map +1 -1
- package/package.json +2 -2
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 E=require("react/jsx-runtime"),y=require("react"),V=require("styled-components"),he=require("@happeouikit/typography"),ct=require("@happeouikit/icons"),Vg=require("react-dom"),Wi=require("@happeouikit/theme"),Se=require("prop-types"),$t=require("@happeouikit/colors"),yn=require("react-intl"),Pi=require("@happeouikit/tooltip"),Vr=require("@happeouikit/buttons"),Fi=require("@happeouikit/buttons-ds3"),Bg=require("@happeo/react-core"),Hg=require("@happeouikit/loaders");function jg(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 te=jg(y),Zg=e=>e.replace(/(_|-|,|\.)(.)/g,t=>t[1].toUpperCase()),Xg=64,zg=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,u=r.substring(0,Math.min(i,Xg)).toLocaleLowerCase();return u.length===0?"":"#"+u},wl=e=>typeof e=="string",Ml=e=>y.Children.toArray(e).filter(y.isValidElement),Qa=e=>{process.env.NODE_ENV!=="production"&&console.warn(`HappeoUiKit/form-elements: ${e}`)},Ri=(e,t)=>{y.useEffect(()=>{e&&Qa(t)},[])},En=()=>"ixxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,e=>{const t=Math.random()*16|0;return(e==="x"?t:t&3|8).toString(16)}),Ma={success:"var(--color-success-primary, #00a372)",error:"var(--color-alert-primary, #da3939)",default:"var(--color-secondary-text-on-light, #4a5464)"},Ug=(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()=>E.jsx($g,{children:E.jsx(e,{...a,style:r})})},qa=({label:e,description:t,hintText:n,required:r,id:a,icon:i,iconProps:u,state:l,errorMessage:d,disabled:h,readOnly:m,...p})=>{const[b]=y.useState(()=>a||En()),w=[t?`${b}-description`:"",n?`${b}-hint-message`:"",l==="error"&&d?`${b}-error-message`:""].join(" ");return E.jsxs(Il,{isDisabled:h||!1,children:[!!e&&E.jsxs(xl,{children:[E.jsx(qg,{bold:!0,htmlFor:b,isRequired:r||!1,children:e}),t&&E.jsx(he.BodyUI,{id:`${b}-description`,color:"var(--color-secondary-text-on-light, #4a5464)",children:t})]}),i&&Ug(i,u??{})(),E.jsx(Gi,{title:e||"Styled input",hasIcon:!!(i||"").toString(),state:l||"default",id:b,disabled:h,readOnly:m,"data-1p-ignore":!0,...t?{"aria-describedby":w}:{},...p}),n&&E.jsxs(ci,{id:`${b}-hint-message`,children:[E.jsx(bu,{fill:"var(--color-hint-text-on-light, #68778d)"}),E.jsx(he.TinyText,{color:"var(--color-secondary-text-on-light, #4a5464)",children:n})]}),l==="error"&&d&&E.jsxs(ci,{id:`${b}-error-message`,children:[E.jsx(bu,{fill:"var(--color-alert-primary, #da3939)"}),E.jsx(he.TinyText,{color:"var(--color-alert-primary, #da3939)",children:d})]})]})},bu=V(ct.IconAlertCircleOutline)`
|
|
2
2
|
width: 13px;
|
|
3
3
|
height: 13px;
|
|
4
|
-
`,
|
|
4
|
+
`,ci=V.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
|
+
`,xl=V.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
|
+
`,Gi=V.input.attrs(({type:e})=>({type:e||"text"}))`
|
|
15
15
|
::placeholder {
|
|
16
|
-
font-family: ${
|
|
16
|
+
font-family: ${he.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: ${he.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)":Ma[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)":Ma[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)":Ma[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"})=>Ma[e]};
|
|
71
|
+
`,$g=V.span`
|
|
72
72
|
position: relative;
|
|
73
|
-
`,
|
|
73
|
+
`,Jg=({label:e,...t})=>E.jsxs(ep,{children:[E.jsx(Qg,{...t,type:"number"}),e&&E.jsx(Kg,{children:e})]}),Qg=V(qa)`
|
|
74
74
|
width: 60px;
|
|
75
75
|
text-align: center;
|
|
76
76
|
font-size: var(--font-size-body-sm, 14px);
|
|
77
|
-
`,
|
|
77
|
+
`,qg=V(he.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
|
+
`,Kg=V(he.BodyUI)`
|
|
88
88
|
color: var(--color-primary-text-on-light, #2b313b);
|
|
89
89
|
margin-left: var(--space-sm-plus, 10px);
|
|
90
|
-
|
|
90
|
+
`,Il=V.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
|
+
${xl},
|
|
97
|
+
${Gi},
|
|
98
|
+
${ci} {
|
|
99
99
|
opacity: 0.4;
|
|
100
100
|
}
|
|
101
101
|
`}
|
|
102
|
-
`,
|
|
102
|
+
`,ep=V.div`
|
|
103
103
|
display: flex;
|
|
104
104
|
align-items: center;
|
|
105
105
|
|
|
106
|
-
${
|
|
106
|
+
${Il} {
|
|
107
107
|
width: auto;
|
|
108
108
|
}
|
|
109
|
-
`;function
|
|
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||!o}if(this.isSpeedy){var i=sc(a);try{i.insertRule(r,i.cssRules.length)}catch(s){process.env.NODE_ENV!=="production"&&!/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(r)&&console.error('There was a problem inserting the following rule: "'+r+'"',s)}}else 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}(),Re="-ms-",cr="-moz-",re="-webkit-",Ha="comm",Xa="rule",Za="decl",cc="@import",Ui="@keyframes",dc="@layer",fc=Math.abs,Dr=String.fromCharCode,hc=Object.assign;function mc(e,t){return Pe(e,0)^45?(((t<<2^Pe(e,0))<<2^Pe(e,1))<<2^Pe(e,2))<<2^Pe(e,3):0}function Ji(e){return e.trim()}function gc(e,t){return(e=t.exec(e))?e[0]:e}function ae(e,t,n){return e.replace(t,n)}function ga(e,t){return e.indexOf(t)}function Pe(e,t){return e.charCodeAt(t)|0}function En(e,t,n){return e.slice(t,n)}function gt(e){return e.length}function ja(e){return e.length}function Un(e,t){return t.push(e),e}function pc(e,t){return e.map(t).join("")}var kr=1,un=1,Qi=0,$e=0,Oe=0,dn="";function Er(e,t,n,r,a,o,i){return{value:e,root:t,parent:n,type:r,props:a,children:o,line:kr,column:un,length:i,return:""}}function pn(e,t){return hc(Er("",null,null,"",null,null,0),e,{length:-e.length},t)}function bc(){return Oe}function yc(){return Oe=$e>0?Pe(dn,--$e):0,un--,Oe===10&&(un=1,kr--),Oe}function et(){return Oe=$e<Qi?Pe(dn,$e++):0,un++,Oe===10&&(un=1,kr++),Oe}function yt(){return Pe(dn,$e)}function rr(){return $e}function Yn(e,t){return En(dn,e,t)}function On(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 qi(e){return kr=un=1,Qi=gt(dn=e),$e=0,[]}function Ki(e){return dn="",e}function ar(e){return Ji(Yn($e-1,pa(e===91?e+2:e===40?e+1:e)))}function vc(e){for(;(Oe=yt())&&Oe<33;)et();return On(e)>2||On(Oe)>3?"":" "}function xc(e,t){for(;--t&&et()&&!(Oe<48||Oe>102||Oe>57&&Oe<65||Oe>70&&Oe<97););return Yn(e,rr()+(t<6&&yt()==32&&et()==32))}function pa(e){for(;et();)switch(Oe){case e:return $e;case 34:case 39:e!==34&&e!==39&&pa(Oe);break;case 40:e===41&&pa(e);break;case 92:et();break}return $e}function Ic(e,t){for(;et()&&e+Oe!==57;)if(e+Oe===84&&yt()===47)break;return"/*"+Yn(t,$e-1)+"*"+Dr(e===47?e:et())}function Cc(e){for(;!On(yt());)et();return Yn(e,$e)}function wc(e){return Ki(or("",null,null,null,[""],e=qi(e),0,[0],e))}function or(e,t,n,r,a,o,i,s,u){for(var l=0,c=0,d=i,h=0,g=0,m=0,v=1,p=1,I=1,y=0,C="",M=a,x=o,b=r,S=C;p;)switch(m=y,y=et()){case 40:if(m!=108&&Pe(S,d-1)==58){ga(S+=ae(ar(y),"&","&\f"),"&\f")!=-1&&(I=-1);break}case 34:case 39:case 91:S+=ar(y);break;case 9:case 10:case 13:case 32:S+=vc(m);break;case 92:S+=xc(rr()-1,7);continue;case 47:switch(yt()){case 42:case 47:Un(Mc(Ic(et(),rr()),t,n),u);break;default:S+="/"}break;case 123*v:s[l++]=gt(S)*I;case 125*v:case 59:case 0:switch(y){case 0:case 125:p=0;case 59+c:I==-1&&(S=ae(S,/\f/g,"")),g>0&>(S)-d&&Un(g>32?Ho(S+";",r,n,d-1):Ho(ae(S," ","")+";",r,n,d-2),u);break;case 59:S+=";";default:if(Un(b=Vo(S,t,n,l,c,a,s,C,M=[],x=[],d),o),y===123)if(c===0)or(S,t,b,b,M,o,d,s,x);else switch(h===99&&Pe(S,3)===110?100:h){case 100:case 108:case 109:case 115:or(e,b,b,r&&Un(Vo(e,b,b,0,0,a,s,C,a,M=[],d),x),a,x,d,s,r?M:x);break;default:or(S,b,b,b,[""],x,0,s,x)}}l=c=g=0,v=I=1,C=S="",d=i;break;case 58:d=1+gt(S),g=m;default:if(v<1){if(y==123)--v;else if(y==125&&v++==0&&yc()==125)continue}switch(S+=Dr(y),y*v){case 38:I=c>0?1:(S+="\f",-1);break;case 44:s[l++]=(gt(S)-1)*I,I=1;break;case 64:yt()===45&&(S+=ar(et())),h=yt(),c=d=gt(C=S+=Cc(rr())),y++;break;case 45:m===45&>(S)==2&&(v=0)}}return o}function Vo(e,t,n,r,a,o,i,s,u,l,c){for(var d=a-1,h=a===0?o:[""],g=ja(h),m=0,v=0,p=0;m<r;++m)for(var I=0,y=En(e,d+1,d=fc(v=i[m])),C=e;I<g;++I)(C=Ji(v>0?h[I]+" "+y:ae(y,/&\f/g,h[I])))&&(u[p++]=C);return Er(e,t,n,a===0?Xa:s,u,l,c)}function Mc(e,t,n){return Er(e,t,n,Ha,Dr(bc()),En(e,2,-2),0)}function Ho(e,t,n,r){return Er(e,t,n,Za,En(e,0,r),En(e,r+1,-1),r)}function nn(e,t){for(var n="",r=ja(e),a=0;a<r;a++)n+=t(e[a],a,e,t)||"";return n}function Sc(e,t,n,r){switch(e.type){case dc:if(e.children.length)break;case cc:case Za:return e.return=e.return||e.value;case Ha:return"";case Ui:return e.return=e.value+"{"+nn(e.children,r)+"}";case Xa:e.value=e.props.join(",")}return gt(n=nn(e.children,r))?e.return=e.value+"{"+n+"}":""}function Dc(e){var t=ja(e);return function(n,r,a,o){for(var i="",s=0;s<t;s++)i+=e[s](n,r,a,o)||"";return i}}function kc(e){return function(t){t.root||(t=t.return)&&e(t)}}function Ec(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var Oc=function(t,n,r){for(var a=0,o=0;a=o,o=yt(),a===38&&o===12&&(n[r]=1),!On(o);)et();return Yn(t,$e)},Ac=function(t,n){var r=-1,a=44;do switch(On(a)){case 0:a===38&&yt()===12&&(n[r]=1),t[r]+=Oc($e-1,n,r);break;case 2:t[r]+=ar(a);break;case 4:if(a===44){t[++r]=yt()===58?"&\f":"",n[r]=t[r].length;break}default:t[r]+=Dr(a)}while(a=et());return t},Nc=function(t,n){return Ki(Ac(qi(t),n))},Xo=new WeakMap,Tc=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&&!Xo.get(r))&&!a){Xo.set(t,!0);for(var o=[],i=Nc(n,o),s=r.props,u=0,l=0;u<i.length;u++)for(var c=0;c<s.length;c++,l++)t.props[l]=o[u]?i[u].replace(/&\f/g,s[c]):s[c]+" "+i[u]}}},Fc=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}},Wc="emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason",_c=function(t){return t.type==="comm"&&t.children.indexOf(Wc)>-1},Pc=function(t){return function(n,r,a){if(!(n.type!=="rule"||t.compat)){var o=n.value.match(/(:first|:nth|:nth-last)-child/g);if(o){for(var i=!!n.parent,s=i?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(_c(l))return;break}}o.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".')})}}}},es=function(t){return t.type.charCodeAt(1)===105&&t.type.charCodeAt(0)===64},Gc=function(t,n){for(var r=t-1;r>=0;r--)if(!es(n[r]))return!0;return!1},Zo=function(t){t.type="",t.value="",t.return="",t.children="",t.props=""},Yc=function(t,n,r){es(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."),Zo(t)):Gc(n,r)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),Zo(t)))};function ts(e,t){switch(mc(e,t)){case 5103:return re+"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 re+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return re+e+cr+e+Re+e+e;case 6828:case 4268:return re+e+Re+e+e;case 6165:return re+e+Re+"flex-"+e+e;case 5187:return re+e+ae(e,/(\w+).+(:[^]+)/,re+"box-$1$2"+Re+"flex-$1$2")+e;case 5443:return re+e+Re+"flex-item-"+ae(e,/flex-|-self/,"")+e;case 4675:return re+e+Re+"flex-line-pack"+ae(e,/align-content|flex-|-self/,"")+e;case 5548:return re+e+Re+ae(e,"shrink","negative")+e;case 5292:return re+e+Re+ae(e,"basis","preferred-size")+e;case 6060:return re+"box-"+ae(e,"-grow","")+re+e+Re+ae(e,"grow","positive")+e;case 4554:return re+ae(e,/([^-])(transform)/g,"$1"+re+"$2")+e;case 6187:return ae(ae(ae(e,/(zoom-|grab)/,re+"$1"),/(image-set)/,re+"$1"),e,"")+e;case 5495:case 3959:return ae(e,/(image-set\([^]*)/,re+"$1$`$1");case 4968:return ae(ae(e,/(.+:)(flex-)?(.*)/,re+"box-pack:$3"+Re+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+re+e+e;case 4095:case 3583:case 4068:case 2532:return ae(e,/(.+)-inline(.+)/,re+"$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(gt(e)-1-t>6)switch(Pe(e,t+1)){case 109:if(Pe(e,t+4)!==45)break;case 102:return ae(e,/(.+:)(.+)-([^]+)/,"$1"+re+"$2-$3$1"+cr+(Pe(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~ga(e,"stretch")?ts(ae(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Pe(e,t+1)!==115)break;case 6444:switch(Pe(e,gt(e)-3-(~ga(e,"!important")&&10))){case 107:return ae(e,":",":"+re)+e;case 101:return ae(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+re+(Pe(e,14)===45?"inline-":"")+"box$3$1"+re+"$2$3$1"+Re+"$2box$3")+e}break;case 5936:switch(Pe(e,t+11)){case 114:return re+e+Re+ae(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return re+e+Re+ae(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return re+e+Re+ae(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return re+e+Re+e+e}return e}var Rc=function(t,n,r,a){if(t.length>-1&&!t.return)switch(t.type){case Za:t.return=ts(t.value,t.length);break;case Ui:return nn([pn(t,{value:ae(t.value,"@","@"+re)})],a);case Xa:if(t.length)return pc(t.props,function(o){switch(gc(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return nn([pn(t,{props:[ae(o,/:(read-\w+)/,":"+cr+"$1")]})],a);case"::placeholder":return nn([pn(t,{props:[ae(o,/:(plac\w+)/,":"+re+"input-$1")]}),pn(t,{props:[ae(o,/:(plac\w+)/,":"+cr+"$1")]}),pn(t,{props:[ae(o,/:(plac\w+)/,Re+"input-$1")]})],a)}return""})}},Bc=[Rc],Vc=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(
|
|
109
|
+
`;function ee(){return ee=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},ee.apply(this,arguments)}function tp(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 np(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 rp=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(np(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 u=tp(a);try{u.insertRule(r,u.cssRules.length)}catch(l){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+'"',l)}}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}(),lt="-ms-",Fa="-moz-",_e="-webkit-",Li="comm",Vi="rule",Bi="decl",ap="@import",kl="@keyframes",sp="@layer",ip=Math.abs,Ka=String.fromCharCode,op=Object.assign;function up(e,t){return it(e,0)^45?(((t<<2^it(e,0))<<2^it(e,1))<<2^it(e,2))<<2^it(e,3):0}function Dl(e){return e.trim()}function lp(e,t){return(e=t.exec(e))?e[0]:e}function we(e,t,n){return e.replace(t,n)}function di(e,t){return e.indexOf(t)}function it(e,t){return e.charCodeAt(t)|0}function jr(e,t,n){return e.slice(t,n)}function Zt(e){return e.length}function Hi(e){return e.length}function xa(e,t){return t.push(e),e}function cp(e,t){return e.map(t).join("")}var es=1,hr=1,Sl=0,Mt=0,qe=0,pr="";function ts(e,t,n,r,a,i,u){return{value:e,root:t,parent:n,type:r,props:a,children:i,line:es,column:hr,length:u,return:""}}function Er(e,t){return op(ts("",null,null,"",null,null,0),e,{length:-e.length},t)}function dp(){return qe}function fp(){return qe=Mt>0?it(pr,--Mt):0,hr--,qe===10&&(hr=1,es--),qe}function Ct(){return qe=Mt<Sl?it(pr,Mt++):0,hr++,qe===10&&(hr=1,es++),qe}function Ut(){return it(pr,Mt)}function Oa(){return Mt}function Kr(e,t){return jr(pr,e,t)}function Zr(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 Cl(e){return es=hr=1,Sl=Zt(pr=e),Mt=0,[]}function Yl(e){return pr="",e}function Ta(e){return Dl(Kr(Mt-1,fi(e===91?e+2:e===40?e+1:e)))}function hp(e){for(;(qe=Ut())&&qe<33;)Ct();return Zr(e)>2||Zr(qe)>3?"":" "}function mp(e,t){for(;--t&&Ct()&&!(qe<48||qe>102||qe>57&&qe<65||qe>70&&qe<97););return Kr(e,Oa()+(t<6&&Ut()==32&&Ct()==32))}function fi(e){for(;Ct();)switch(qe){case e:return Mt;case 34:case 39:e!==34&&e!==39&&fi(qe);break;case 40:e===41&&fi(e);break;case 92:Ct();break}return Mt}function gp(e,t){for(;Ct()&&e+qe!==57;)if(e+qe===84&&Ut()===47)break;return"/*"+Kr(t,Mt-1)+"*"+Ka(e===47?e:Ct())}function pp(e){for(;!Zr(Ut());)Ct();return Kr(e,Mt)}function bp(e){return Yl(Ea("",null,null,null,[""],e=Cl(e),0,[0],e))}function Ea(e,t,n,r,a,i,u,l,d){for(var h=0,m=0,p=u,b=0,w=0,_=0,k=1,v=1,C=1,I=0,S="",T=a,D=i,x=r,Y=S;v;)switch(_=I,I=Ct()){case 40:if(_!=108&&it(Y,p-1)==58){di(Y+=we(Ta(I),"&","&\f"),"&\f")!=-1&&(C=-1);break}case 34:case 39:case 91:Y+=Ta(I);break;case 9:case 10:case 13:case 32:Y+=hp(_);break;case 92:Y+=mp(Oa()-1,7);continue;case 47:switch(Ut()){case 42:case 47:xa(yp(gp(Ct(),Oa()),t,n),d);break;default:Y+="/"}break;case 123*k:l[h++]=Zt(Y)*C;case 125*k:case 59:case 0:switch(I){case 0:case 125:v=0;case 59+m:C==-1&&(Y=we(Y,/\f/g,"")),w>0&&Zt(Y)-p&&xa(w>32?vu(Y+";",r,n,p-1):vu(we(Y," ","")+";",r,n,p-2),d);break;case 59:Y+=";";default:if(xa(x=yu(Y,t,n,h,m,a,l,S,T=[],D=[],p),i),I===123)if(m===0)Ea(Y,t,x,x,T,i,p,l,D);else switch(b===99&&it(Y,3)===110?100:b){case 100:case 108:case 109:case 115:Ea(e,x,x,r&&xa(yu(e,x,x,0,0,a,l,S,a,T=[],p),D),a,D,p,l,r?T:D);break;default:Ea(Y,x,x,x,[""],D,0,l,D)}}h=m=w=0,k=C=1,S=Y="",p=u;break;case 58:p=1+Zt(Y),w=_;default:if(k<1){if(I==123)--k;else if(I==125&&k++==0&&fp()==125)continue}switch(Y+=Ka(I),I*k){case 38:C=m>0?1:(Y+="\f",-1);break;case 44:l[h++]=(Zt(Y)-1)*C,C=1;break;case 64:Ut()===45&&(Y+=Ta(Ct())),b=Ut(),m=p=Zt(S=Y+=pp(Oa())),I++;break;case 45:_===45&&Zt(Y)==2&&(k=0)}}return i}function yu(e,t,n,r,a,i,u,l,d,h,m){for(var p=a-1,b=a===0?i:[""],w=Hi(b),_=0,k=0,v=0;_<r;++_)for(var C=0,I=jr(e,p+1,p=ip(k=u[_])),S=e;C<w;++C)(S=Dl(k>0?b[C]+" "+I:we(I,/&\f/g,b[C])))&&(d[v++]=S);return ts(e,t,n,a===0?Vi:l,d,h,m)}function yp(e,t,n){return ts(e,t,n,Li,Ka(dp()),jr(e,2,-2),0)}function vu(e,t,n,r){return ts(e,t,n,Bi,jr(e,0,r),jr(e,r+1,-1),r)}function lr(e,t){for(var n="",r=Hi(e),a=0;a<r;a++)n+=t(e[a],a,e,t)||"";return n}function vp(e,t,n,r){switch(e.type){case sp:if(e.children.length)break;case ap:case Bi:return e.return=e.return||e.value;case Li:return"";case kl:return e.return=e.value+"{"+lr(e.children,r)+"}";case Vi:e.value=e.props.join(",")}return Zt(n=lr(e.children,r))?e.return=e.value+"{"+n+"}":""}function _p(e){var t=Hi(e);return function(n,r,a,i){for(var u="",l=0;l<t;l++)u+=e[l](n,r,a,i)||"";return u}}function wp(e){return function(t){t.root||(t=t.return)&&e(t)}}function Mp(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var xp=function(t,n,r){for(var a=0,i=0;a=i,i=Ut(),a===38&&i===12&&(n[r]=1),!Zr(i);)Ct();return Kr(t,Mt)},Ip=function(t,n){var r=-1,a=44;do switch(Zr(a)){case 0:a===38&&Ut()===12&&(n[r]=1),t[r]+=xp(Mt-1,n,r);break;case 2:t[r]+=Ta(a);break;case 4:if(a===44){t[++r]=Ut()===58?"&\f":"",n[r]=t[r].length;break}default:t[r]+=Ka(a)}while(a=Ct());return t},kp=function(t,n){return Yl(Ip(Cl(t),n))},_u=new WeakMap,Dp=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&&!_u.get(r))&&!a){_u.set(t,!0);for(var i=[],u=kp(n,i),l=r.props,d=0,h=0;d<u.length;d++)for(var m=0;m<l.length;m++,h++)t.props[h]=i[d]?u[d].replace(/&\f/g,l[m]):l[m]+" "+u[d]}}},Sp=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}},Cp="emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason",Yp=function(t){return t.type==="comm"&&t.children.indexOf(Cp)>-1},Op=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 u=!!n.parent,l=u?n.parent.children:a,d=l.length-1;d>=0;d--){var h=l[d];if(h.line<n.line)break;if(h.column<n.column){if(Yp(h))return;break}}i.forEach(function(m){console.error('The pseudo class "'+m+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+m.split("-child")[0]+'-of-type".')})}}}},Ol=function(t){return t.type.charCodeAt(1)===105&&t.type.charCodeAt(0)===64},Tp=function(t,n){for(var r=t-1;r>=0;r--)if(!Ol(n[r]))return!0;return!1},wu=function(t){t.type="",t.value="",t.return="",t.children="",t.props=""},Ep=function(t,n,r){Ol(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."),wu(t)):Tp(n,r)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),wu(t)))};function Tl(e,t){switch(up(e,t)){case 5103:return _e+"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 _e+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return _e+e+Fa+e+lt+e+e;case 6828:case 4268:return _e+e+lt+e+e;case 6165:return _e+e+lt+"flex-"+e+e;case 5187:return _e+e+we(e,/(\w+).+(:[^]+)/,_e+"box-$1$2"+lt+"flex-$1$2")+e;case 5443:return _e+e+lt+"flex-item-"+we(e,/flex-|-self/,"")+e;case 4675:return _e+e+lt+"flex-line-pack"+we(e,/align-content|flex-|-self/,"")+e;case 5548:return _e+e+lt+we(e,"shrink","negative")+e;case 5292:return _e+e+lt+we(e,"basis","preferred-size")+e;case 6060:return _e+"box-"+we(e,"-grow","")+_e+e+lt+we(e,"grow","positive")+e;case 4554:return _e+we(e,/([^-])(transform)/g,"$1"+_e+"$2")+e;case 6187:return we(we(we(e,/(zoom-|grab)/,_e+"$1"),/(image-set)/,_e+"$1"),e,"")+e;case 5495:case 3959:return we(e,/(image-set\([^]*)/,_e+"$1$`$1");case 4968:return we(we(e,/(.+:)(flex-)?(.*)/,_e+"box-pack:$3"+lt+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+_e+e+e;case 4095:case 3583:case 4068:case 2532:return we(e,/(.+)-inline(.+)/,_e+"$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(Zt(e)-1-t>6)switch(it(e,t+1)){case 109:if(it(e,t+4)!==45)break;case 102:return we(e,/(.+:)(.+)-([^]+)/,"$1"+_e+"$2-$3$1"+Fa+(it(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~di(e,"stretch")?Tl(we(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(it(e,t+1)!==115)break;case 6444:switch(it(e,Zt(e)-3-(~di(e,"!important")&&10))){case 107:return we(e,":",":"+_e)+e;case 101:return we(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+_e+(it(e,14)===45?"inline-":"")+"box$3$1"+_e+"$2$3$1"+lt+"$2box$3")+e}break;case 5936:switch(it(e,t+11)){case 114:return _e+e+lt+we(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return _e+e+lt+we(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return _e+e+lt+we(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return _e+e+lt+e+e}return e}var Np=function(t,n,r,a){if(t.length>-1&&!t.return)switch(t.type){case Bi:t.return=Tl(t.value,t.length);break;case kl:return lr([Er(t,{value:we(t.value,"@","@"+_e)})],a);case Vi:if(t.length)return cp(t.props,function(i){switch(lp(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return lr([Er(t,{props:[we(i,/:(read-\w+)/,":"+Fa+"$1")]})],a);case"::placeholder":return lr([Er(t,{props:[we(i,/:(plac\w+)/,":"+_e+"input-$1")]}),Er(t,{props:[we(i,/:(plac\w+)/,":"+Fa+"$1")]}),Er(t,{props:[we(i,/:(plac\w+)/,lt+"input-$1")]})],a)}return""})}},Ap=[Np],Wp=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(k){var v=k.getAttribute("data-emotion");v.indexOf(" ")!==-1&&(document.head.appendChild(k),k.setAttribute("data-s",""))})}var a=t.stylisPlugins||Ap;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={},u,l=[];u=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(k){for(var v=k.getAttribute("data-emotion").split(" "),C=1;C<v.length;C++)i[v[C]]=!0;l.push(k)});var d,h=[Dp,Sp];process.env.NODE_ENV!=="production"&&h.push(Op({get compat(){return _.compat}}),Ep);{var m,p=[vp,process.env.NODE_ENV!=="production"?function(k){k.root||(k.return?m.insert(k.return):k.value&&k.type!==Li&&m.insert(k.value+"{}"))}:wp(function(k){m.insert(k)})],b=_p(h.concat(a,p)),w=function(v){return lr(bp(v),b)};d=function(v,C,I,S){m=I,process.env.NODE_ENV!=="production"&&C.map!==void 0&&(m={insert:function(D){I.insert(D+C.map)}}),w(v?v+"{"+C.styles+"}":C.styles),S&&(_.inserted[C.name]=!0)}}var _={key:n,sheet:new rp({key:n,container:u,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:i,registered:{},insert:d};return _.sheet.hydrate(l),_},Ke=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Pp(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var hi={exports:{}},xe={};/** @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 Mu;function Fp(){return Mu||(Mu=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,u=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,d=e?Symbol.for("react.async_mode"):60111,h=e?Symbol.for("react.concurrent_mode"):60111,m=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,b=e?Symbol.for("react.suspense_list"):60120,w=e?Symbol.for("react.memo"):60115,_=e?Symbol.for("react.lazy"):60116,k=e?Symbol.for("react.block"):60121,v=e?Symbol.for("react.fundamental"):60117,C=e?Symbol.for("react.responder"):60118,I=e?Symbol.for("react.scope"):60119;function S(N){return typeof N=="string"||typeof N=="function"||N===r||N===h||N===i||N===a||N===p||N===b||typeof N=="object"&&N!==null&&(N.$$typeof===_||N.$$typeof===w||N.$$typeof===u||N.$$typeof===l||N.$$typeof===m||N.$$typeof===v||N.$$typeof===C||N.$$typeof===I||N.$$typeof===k)}function T(N){if(typeof N=="object"&&N!==null){var Be=N.$$typeof;switch(Be){case t:var H=N.type;switch(H){case d:case h:case r:case i:case a:case p:return H;default:var ze=H&&H.$$typeof;switch(ze){case l:case m:case _:case w:case u:return ze;default:return Be}}case n:return Be}}}var D=d,x=h,Y=l,P=u,R=t,L=m,z=r,ne=_,K=w,B=n,re=i,Ce=a,de=p,Ye=!1;function Oe(N){return Ye||(Ye=!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.")),ue(N)||T(N)===d}function ue(N){return T(N)===h}function We(N){return T(N)===l}function pe(N){return T(N)===u}function Me(N){return typeof N=="object"&&N!==null&&N.$$typeof===t}function ke(N){return T(N)===m}function F(N){return T(N)===r}function Ve(N){return T(N)===_}function Pe(N){return T(N)===w}function Je(N){return T(N)===n}function at(N){return T(N)===i}function yt(N){return T(N)===a}function xt(N){return T(N)===p}xe.AsyncMode=D,xe.ConcurrentMode=x,xe.ContextConsumer=Y,xe.ContextProvider=P,xe.Element=R,xe.ForwardRef=L,xe.Fragment=z,xe.Lazy=ne,xe.Memo=K,xe.Portal=B,xe.Profiler=re,xe.StrictMode=Ce,xe.Suspense=de,xe.isAsyncMode=Oe,xe.isConcurrentMode=ue,xe.isContextConsumer=We,xe.isContextProvider=pe,xe.isElement=Me,xe.isForwardRef=ke,xe.isFragment=F,xe.isLazy=Ve,xe.isMemo=Pe,xe.isPortal=Je,xe.isProfiler=at,xe.isStrictMode=yt,xe.isSuspense=xt,xe.isValidElementType=S,xe.typeOf=T}()),xe}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 xu;function Rp(){if(xu)return Ie;xu=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,u=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,d=e?Symbol.for("react.async_mode"):60111,h=e?Symbol.for("react.concurrent_mode"):60111,m=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,b=e?Symbol.for("react.suspense_list"):60120,w=e?Symbol.for("react.memo"):60115,_=e?Symbol.for("react.lazy"):60116,k=e?Symbol.for("react.block"):60121,v=e?Symbol.for("react.fundamental"):60117,C=e?Symbol.for("react.responder"):60118,I=e?Symbol.for("react.scope"):60119;function S(D){if(typeof D=="object"&&D!==null){var x=D.$$typeof;switch(x){case t:switch(D=D.type,D){case d:case h:case r:case i:case a:case p:return D;default:switch(D=D&&D.$$typeof,D){case l:case m:case _:case w:case u:return D;default:return x}}case n:return x}}}function T(D){return S(D)===h}return Ie.AsyncMode=d,Ie.ConcurrentMode=h,Ie.ContextConsumer=l,Ie.ContextProvider=u,Ie.Element=t,Ie.ForwardRef=m,Ie.Fragment=r,Ie.Lazy=_,Ie.Memo=w,Ie.Portal=n,Ie.Profiler=i,Ie.StrictMode=a,Ie.Suspense=p,Ie.isAsyncMode=function(D){return T(D)||S(D)===d},Ie.isConcurrentMode=T,Ie.isContextConsumer=function(D){return S(D)===l},Ie.isContextProvider=function(D){return S(D)===u},Ie.isElement=function(D){return typeof D=="object"&&D!==null&&D.$$typeof===t},Ie.isForwardRef=function(D){return S(D)===m},Ie.isFragment=function(D){return S(D)===r},Ie.isLazy=function(D){return S(D)===_},Ie.isMemo=function(D){return S(D)===w},Ie.isPortal=function(D){return S(D)===n},Ie.isProfiler=function(D){return S(D)===i},Ie.isStrictMode=function(D){return S(D)===a},Ie.isSuspense=function(D){return S(D)===p},Ie.isValidElementType=function(D){return typeof D=="string"||typeof D=="function"||D===r||D===h||D===i||D===a||D===p||D===b||typeof D=="object"&&D!==null&&(D.$$typeof===_||D.$$typeof===w||D.$$typeof===u||D.$$typeof===l||D.$$typeof===m||D.$$typeof===v||D.$$typeof===C||D.$$typeof===I||D.$$typeof===k)},Ie.typeOf=S,Ie}process.env.NODE_ENV==="production"?hi.exports=Rp():hi.exports=Fp();var Gp=hi.exports,El=Gp,Lp={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Vp={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Nl={};Nl[El.ForwardRef]=Lp;Nl[El.Memo]=Vp;var Bp=!0;function Al(e,t,n){var r="";return n.split(" ").forEach(function(a){e[a]!==void 0?t.push(e[a]+";"):r+=a+" "}),r}var ji=function(t,n,r){var a=t.key+"-"+n.name;(r===!1||Bp===!1)&&t.registered[a]===void 0&&(t.registered[a]=n.styles)},Zi=function(t,n,r){ji(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 Hp(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 jp={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},Iu=`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`,Zp="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",Xp=/[A-Z]|^ms/g,Wl=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Xi=function(t){return t.charCodeAt(1)===45},ku=function(t){return t!=null&&typeof t!="boolean"},js=Mp(function(e){return Xi(e)?e:e.replace(Xp,"-$&").toLowerCase()}),Ra=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(Wl,function(r,a,i){return Ft={name:a,styles:i,next:Ft},a})}return jp[t]!==1&&!Xi(t)&&typeof n=="number"&&n!==0?n+"px":n};if(process.env.NODE_ENV!=="production"){var zp=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,Up=["normal","none","initial","inherit","unset"],$p=Ra,Jp=/^-ms-/,Qp=/-(.)/g,Du={};Ra=function(t,n){if(t==="content"&&(typeof n!="string"||Up.indexOf(n)===-1&&!zp.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=$p(t,n);return r!==""&&!Xi(t)&&t.indexOf("-")!==-1&&Du[t]===void 0&&(Du[t]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+t.replace(Jp,"ms-").replace(Qp,function(a,i){return i.toUpperCase()})+"?")),r}}var Pl="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Xr(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(Pl);return n}switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return Ft={name:n.name,styles:n.styles,next:Ft},n.name;if(n.styles!==void 0){var r=n.next;if(r!==void 0)for(;r!==void 0;)Ft={name:r.name,styles:r.styles,next:Ft},r=r.next;var a=n.styles+";";return process.env.NODE_ENV!=="production"&&n.map!==void 0&&(a+=n.map),a}return qp(e,t,n)}case"function":{if(e!==void 0){var i=Ft,u=n(e);return Ft=i,Xr(e,t,u)}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 l=[],d=n.replace(Wl,function(m,p,b){var w="animation"+l.length;return l.push("const "+w+" = keyframes`"+b.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+w+"}"});l.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(l,["`"+d+"`"]).join(`
|
|
129
129
|
`)+`
|
|
130
130
|
|
|
131
131
|
You should wrap it with \`css\` like this:
|
|
132
132
|
|
|
133
|
-
`+("css`"+
|
|
134
|
-
`),r=0;r<n.length;r++){var a=id(n[r]);if(a){if(sd.has(a))break;if(/^[A-Z]/.test(a))return ud(a)}}},ya="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",va="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",cd=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)Ua.call(n,a)&&(r[a]=n[a]);if(r[ya]=t,process.env.NODE_ENV!=="production"&&n.css&&(typeof n.css!="object"||typeof n.css.name!="string"||n.css.name.indexOf("-")===-1)){var o=ld(new Error().stack);o&&(r[va]=o)}return r},dd=function(t){var n=t.cache,r=t.serialized,a=t.isStringTag;return La(n,r,a),ls(function(){return za(n,r,a)}),null},cs=Qa(function(e,t,n){var r=e.css;typeof r=="string"&&t.registered[r]!==void 0&&(r=t.registered[r]);var a=e[ya],o=[r],i="";typeof e.className=="string"?i=as(t.registered,o,e.className):e.className!=null&&(i=e.className+" ");var s=Nn(o,void 0,X.useContext(Or));if(process.env.NODE_ENV!=="production"&&s.name.indexOf("-")===-1){var u=e[va];u&&(s=Nn([s,"label:"+u+";"]))}i+=t.key+"-"+s.name;var l={};for(var c in e)Ua.call(e,c)&&c!=="css"&&c!==ya&&(process.env.NODE_ENV==="production"||c!==va)&&(l[c]=e[c]);return l.ref=n,l.className=i,X.createElement(X.Fragment,null,X.createElement(dd,{cache:t,serialized:s,isStringTag:typeof a=="string"}),X.createElement(a,l))});process.env.NODE_ENV!=="production"&&(cs.displayName="EmotionCssPropInternal");var fd=cs,hd={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"}}}}},B=function(t,n){var r=arguments;if(n==null||!Ua.call(n,"css"))return X.createElement.apply(void 0,r);var a=r.length,o=new Array(a);o[0]=fd,o[1]=cd(t,n);for(var i=2;i<a;i++)o[i]=r[i];return X.createElement.apply(null,o)},Ko=!1,md=Qa(function(e,t){process.env.NODE_ENV!=="production"&&!Ko&&(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?"),Ko=!0);var n=e.styles,r=Nn([n],void 0,X.useContext(Or)),a=X.useRef();return Qo(function(){var o=t.key+"-global",i=new t.sheet.constructor({key:o,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),s=!1,u=document.querySelector('style[data-emotion="'+o+" "+r.name+'"]');return t.sheet.tags.length&&(i.before=t.sheet.tags[0]),u!==null&&(s=!0,u.setAttribute("data-emotion",o),i.hydrate([u])),a.current=[i,s],function(){i.flush()}},[t]),Qo(function(){var o=a.current,i=o[0],s=o[1];if(s){o[1]=!1;return}if(r.next!==void 0&&za(t,r.next,!0),i.tags.length){var u=i.tags[i.tags.length-1].nextElementSibling;i.before=u,i.flush()}t.insert("",r,i,!1)},[t,r.name]),null});process.env.NODE_ENV!=="production"&&(md.displayName="EmotionGlobal");function qa(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Nn(t)}var gd=function(){var t=qa.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_"}}},pd=function e(t){for(var n=t.length,r=0,a="";r<n;r++){var o=t[r];if(o!=null){var i=void 0;switch(typeof o){case"boolean":break;case"object":{if(Array.isArray(o))i=e(o);else{process.env.NODE_ENV!=="production"&&o.styles!==void 0&&o.name!==void 0&&console.error("You have passed styles created with `css` from `@emotion/react` package to the `cx`.\n`cx` is meant to compose class names (strings) so you should convert those styles to a class name by passing them to the `css` received from <ClassNames/> component."),i="";for(var s in o)o[s]&&s&&(i&&(i+=" "),i+=s)}break}default:i=o}i&&(a&&(a+=" "),a+=i)}}return a};function bd(e,t,n){var r=[],a=as(e,r,n);return r.length<2?n:a+t(r)}var yd=function(t){var n=t.cache,r=t.serializedArr;return ls(function(){for(var a=0;a<r.length;a++)za(n,r[a],!1)}),null},ds=Qa(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 h=Nn(c,t.registered);return r.push(h),La(t,h,!1),t.key+"-"+h.name},o=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 bd(t.registered,a,pd(c))},i={css:a,cx:o,theme:X.useContext(Or)},s=e.children(i);return n=!0,X.createElement(X.Fragment,null,X.createElement(yd,{cache:t,serializedArr:r}),s)});process.env.NODE_ENV!=="production"&&(ds.displayName="EmotionClassNames");if(process.env.NODE_ENV!=="production"){var ei=!0,vd=typeof jest<"u"||typeof vi<"u";if(ei&&!vd){var ti=typeof globalThis<"u"?globalThis:ei?window:global,ni="__EMOTION_REACT_"+hd.version.split(".")[0]+"__";ti[ni]&&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."),ti[ni]=!0}}function xd(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function Id(e,t){if(e==null)return{};var n={},r=Object.keys(e),a,o;for(o=0;o<r.length;o++)a=r[o],!(t.indexOf(a)>=0)&&(n[a]=e[a]);return n}function fn(e,t){if(e==null)return{};var n=Id(e,t),r,a;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)r=o[a],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function xa(e){"@babel/helpers - typeof";return xa=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},xa(e)}function Ka(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ri(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 eo(e,t,n){return t&&ri(e.prototype,t),n&&ri(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Ia(e,t){return Ia=Object.setPrototypeOf||function(r,a){return r.__proto__=a,r},Ia(e,t)}function to(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&&Ia(e,t)}function Mt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Cd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ai(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 we(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ai(Object(n),!0).forEach(function(r){Cd(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ai(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function fr(e){return fr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fr(e)}function wd(){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 Md(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sd(e,t){return t&&(typeof t=="object"||typeof t=="function")?t:Md(e)}function no(e){var t=wd();return function(){var r=fr(e),a;if(t){var o=fr(this).constructor;a=Reflect.construct(r,arguments,o)}else a=r.apply(this,arguments);return Sd(this,a)}}var Dd=["className","clearValue","cx","getStyles","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],hr=function(){};function kd(e,t){return t?t[0]==="-"?e+t:e+"__"+t:e}function Ed(e,t,n){var r=[n];if(t&&e)for(var a in t)t.hasOwnProperty(a)&&t[a]&&r.push("".concat(kd(e,a)));return r.filter(function(o){return o}).map(function(o){return String(o).trim()}).join(" ")}var oi=function(t){return Gd(t)?t.filter(Boolean):xa(t)==="object"&&t!==null?[t]:[]},fs=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=fn(t,Dd);return we({},n)};function ro(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function hs(e){return ro(e)?window.pageYOffset:e.scrollTop}function mr(e,t){if(ro(e)){window.scrollTo(0,t);return}e.scrollTop=t}function Od(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 Ad(e,t,n,r){return n*((e=e/r-1)*e*e+1)+t}function Qn(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:hr,a=hs(e),o=t-a,i=10,s=0;function u(){s+=i;var l=Ad(s,a,o,n);mr(e,l),s<n?window.requestAnimationFrame(u):r(e)}u()}function Nd(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),a=t.offsetHeight/3;r.bottom+a>n.bottom?mr(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+a,e.scrollHeight)):r.top-a<n.top&&mr(e,Math.max(t.offsetTop-a,0))}function Td(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 ii(){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 ms=!1,Wd={get passive(){return ms=!0}},qn=typeof window<"u"?window:{};qn.addEventListener&&qn.removeEventListener&&(qn.addEventListener("p",hr,Wd),qn.removeEventListener("p",hr,!1));var _d=ms;function Pd(e){return e!=null}function Gd(e){return Array.isArray(e)}function Kn(e,t,n){return e?t:n}function Yd(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,a=e.placement,o=e.shouldScroll,i=e.isFixedPosition,s=e.theme,u=s.spacing,l=Od(n),c={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return c;var d=l.getBoundingClientRect(),h=d.height,g=n.getBoundingClientRect(),m=g.bottom,v=g.height,p=g.top,I=n.offsetParent.getBoundingClientRect(),y=I.top,C=window.innerHeight,M=hs(l),x=parseInt(getComputedStyle(n).marginBottom,10),b=parseInt(getComputedStyle(n).marginTop,10),S=y-b,E=C-p,k=S+M,W=h-M-p,G=m-C+M+x,L=M+p-b,z=160;switch(a){case"auto":case"bottom":if(E>=v)return{placement:"bottom",maxHeight:t};if(W>=v&&!i)return o&&Qn(l,G,z),{placement:"bottom",maxHeight:t};if(!i&&W>=r||i&&E>=r){o&&Qn(l,G,z);var N=i?E-x:W-x;return{placement:"bottom",maxHeight:N}}if(a==="auto"||i){var $=t,pe=i?S:k;return pe>=r&&($=Math.min(pe-x-u.controlHeight,t)),{placement:"top",maxHeight:$}}if(a==="bottom")return o&&mr(l,G),{placement:"bottom",maxHeight:t};break;case"top":if(S>=v)return{placement:"top",maxHeight:t};if(k>=v&&!i)return o&&Qn(l,L,z),{placement:"top",maxHeight:t};if(!i&&k>=r||i&&S>=r){var Me=t;return(!i&&k>=r||i&&S>=r)&&(Me=i?S-b:k-b),o&&Qn(l,L,z),{placement:"top",maxHeight:Me}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(a,'".'))}return c}function Rd(e){var t={bottom:"top",top:"bottom"};return e?t[e]:"bottom"}var Ca=function(t){return t==="auto"?"bottom":t},Bd=function(t){var n,r=t.placement,a=t.theme,o=a.borderRadius,i=a.spacing,s=a.colors;return n={label:"menu"},Mt(n,Rd(r),"100%"),Mt(n,"backgroundColor",s.neutral0),Mt(n,"borderRadius",o),Mt(n,"boxShadow","0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)"),Mt(n,"marginBottom",i.menuGutter),Mt(n,"marginTop",i.menuGutter),Mt(n,"position","absolute"),Mt(n,"width","100%"),Mt(n,"zIndex",1),n},gs=f.createContext({getPortalPlacement:null}),ps=function(e){to(n,e);var t=no(n);function n(){var r;Ka(this,n);for(var a=arguments.length,o=new Array(a),i=0;i<a;i++)o[i]=arguments[i];return r=t.call.apply(t,[this].concat(o)),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,h=u.menuPosition,g=u.menuShouldScrollIntoView,m=u.theme;if(s){var v=h==="fixed",p=g&&!v,I=Yd({maxHeight:c,menuEl:s,minHeight:l,placement:d,shouldScroll:p,isFixedPosition:v,theme:m}),y=r.context.getPortalPlacement;y&&y(I),r.setState(I)}},r.getUpdatedProps=function(){var s=r.props.menuPlacement,u=r.state.placement||Ca(s);return we(we({},r.props),{},{placement:u,maxHeight:r.state.maxHeight})},r}return eo(n,[{key:"render",value:function(){var a=this.props.children;return a({ref:this.getPlacement,placerProps:this.getUpdatedProps()})}}]),n}(f.Component);ps.contextType=gs;var Vd=function(t){var n=t.children,r=t.className,a=t.cx,o=t.getStyles,i=t.innerRef,s=t.innerProps;return B("div",H({css:o("menu",t),className:a({menu:!0},r),ref:i},s),n)},Hd=function(t){var n=t.maxHeight,r=t.theme.spacing.baseUnit;return{maxHeight:n,overflowY:"auto",paddingBottom:r,paddingTop:r,position:"relative",WebkitOverflowScrolling:"touch"}},Xd=function(t){var n=t.children,r=t.className,a=t.cx,o=t.getStyles,i=t.innerProps,s=t.innerRef,u=t.isMulti;return B("div",H({css:o("menuList",t),className:a({"menu-list":!0,"menu-list--is-multi":u},r),ref:s},i),n)},bs=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"}},Zd=bs,jd=bs,ys=function(t){var n=t.children,r=t.className,a=t.cx,o=t.getStyles,i=t.innerProps;return B("div",H({css:o("noOptionsMessage",t),className:a({"menu-notice":!0,"menu-notice--no-options":!0},r)},i),n)};ys.defaultProps={children:"No options"};var vs=function(t){var n=t.children,r=t.className,a=t.cx,o=t.getStyles,i=t.innerProps;return B("div",H({css:o("loadingMessage",t),className:a({"menu-notice":!0,"menu-notice--loading":!0},r)},i),n)};vs.defaultProps={children:"Loading..."};var Ld=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}},zd=function(e){to(n,e);var t=no(n);function n(){var r;Ka(this,n);for(var a=arguments.length,o=new Array(a),i=0;i<a;i++)o[i]=arguments[i];return r=t.call.apply(t,[this].concat(o)),r.state={placement:null},r.getPortalPlacement=function(s){var u=s.placement,l=Ca(r.props.menuPlacement);u!==l&&r.setState({placement:u})},r}return eo(n,[{key:"render",value:function(){var a=this.props,o=a.appendTo,i=a.children,s=a.className,u=a.controlElement,l=a.cx,c=a.innerProps,d=a.menuPlacement,h=a.menuPosition,g=a.getStyles,m=h==="fixed";if(!o&&!m||!u)return null;var v=this.state.placement||Ca(d),p=Td(u),I=m?0:window.pageYOffset,y=p[v]+I,C={offset:y,position:h,rect:p},M=B("div",H({css:g("menuPortal",C),className:l({"menu-portal":!0},s)},c),i);return B(gs.Provider,{value:{getPortalPlacement:this.getPortalPlacement}},o?zl.createPortal(M,o):M)}}]),n}(f.Component),$d=function(t){var n=t.isDisabled,r=t.isRtl;return{label:"container",direction:r?"rtl":void 0,pointerEvents:n?"none":void 0,position:"relative"}},Ud=function(t){var n=t.children,r=t.className,a=t.cx,o=t.getStyles,i=t.innerProps,s=t.isDisabled,u=t.isRtl;return B("div",H({css:o("container",t),className:a({"--is-disabled":s,"--is-rtl":u},r)},i),n)},Jd=function(t){var n=t.theme.spacing,r=t.isMulti,a=t.hasValue,o=t.selectProps.controlShouldRenderValue;return{alignItems:"center",display:r&&a&&o?"flex":"grid",flex:1,flexWrap:"wrap",padding:"".concat(n.baseUnit/2,"px ").concat(n.baseUnit*2,"px"),WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"}},Qd=function(t){var n=t.children,r=t.className,a=t.cx,o=t.innerProps,i=t.isMulti,s=t.getStyles,u=t.hasValue;return B("div",H({css:s("valueContainer",t),className:a({"value-container":!0,"value-container--is-multi":i,"value-container--has-value":u},r)},o),n)},qd=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},Kd=function(t){var n=t.children,r=t.className,a=t.cx,o=t.innerProps,i=t.getStyles;return B("div",H({css:i("indicatorsContainer",t),className:a({indicators:!0},r)},o),n)},si,ef=["size"];function tf(){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 nf=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+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxuICAgIGZvY3VzYWJsZ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9wcyl9XG4gICAgICBjbGFzc05hbWU9e2N4KFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdsb2FkaW5nLWluZGljYXRvcic6IHRydWUsXG4gICAgICAgIH0sXG4gICAgICAgIGNsYXNzTmFtZVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG5Mb2FkaW5nSW5kaWNhdG9yLmRlZmF1bHRQcm9wcyA9IHsgc2l6ZTogNCB9O1xuIl19 */",toString:tf},xs=function(t){var n=t.size,r=fn(t,ef);return B("svg",H({height:n,width:n,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:nf},r))},ao=function(t){return B(xs,H({size:20},t),B("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"}))},Is=function(t){return B(xs,H({size:20},t),B("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"}))},Cs=function(t){var n=t.isFocused,r=t.theme,a=r.spacing.baseUnit,o=r.colors;return{label:"indicatorContainer",color:n?o.neutral60:o.neutral20,display:"flex",padding:a*2,transition:"color 150ms",":hover":{color:n?o.neutral80:o.neutral40}}},rf=Cs,af=function(t){var n=t.children,r=t.className,a=t.cx,o=t.getStyles,i=t.innerProps;return B("div",H({css:o("dropdownIndicator",t),className:a({indicator:!0,"dropdown-indicator":!0},r)},i),n||B(Is,null))},of=Cs,sf=function(t){var n=t.children,r=t.className,a=t.cx,o=t.getStyles,i=t.innerProps;return B("div",H({css:o("clearIndicator",t),className:a({indicator:!0,"clear-indicator":!0},r)},i),n||B(ao,null))},uf=function(t){var n=t.isDisabled,r=t.theme,a=r.spacing.baseUnit,o=r.colors;return{label:"indicatorSeparator",alignSelf:"stretch",backgroundColor:n?o.neutral10:o.neutral20,marginBottom:a*2,marginTop:a*2,width:1}},lf=function(t){var n=t.className,r=t.cx,a=t.getStyles,o=t.innerProps;return B("span",H({},o,{css:a("indicatorSeparator",t),className:r({"indicator-separator":!0},n)}))},cf=gd(si||(si=xd([`
|
|
133
|
+
`+("css`"+d+"`"))}break}if(t==null)return n;var h=t[n];return h!==void 0?h:n}function qp(e,t,n){var r="";if(Array.isArray(n))for(var a=0;a<n.length;a++)r+=Xr(e,t,n[a])+";";else for(var i in n){var u=n[i];if(typeof u!="object")t!=null&&t[u]!==void 0?r+=i+"{"+t[u]+"}":ku(u)&&(r+=js(i)+":"+Ra(i,u)+";");else{if(i==="NO_COMPONENT_SELECTOR"&&process.env.NODE_ENV!=="production")throw new Error(Pl);if(Array.isArray(u)&&typeof u[0]=="string"&&(t==null||t[u[0]]===void 0))for(var l=0;l<u.length;l++)ku(u[l])&&(r+=js(i)+":"+Ra(i,u[l])+";");else{var d=Xr(e,t,u);switch(i){case"animation":case"animationName":{r+=js(i)+":"+d+";";break}default:process.env.NODE_ENV!=="production"&&i==="undefined"&&console.error(Zp),r+=i+"{"+d+"}"}}}}return r}var Su=/label:\s*([^\s;\n{]+)\s*(;|$)/g,Fl;process.env.NODE_ENV!=="production"&&(Fl=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g);var Ft,zr=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="";Ft=void 0;var u=t[0];u==null||u.raw===void 0?(a=!1,i+=Xr(r,n,u)):(process.env.NODE_ENV!=="production"&&u[0]===void 0&&console.error(Iu),i+=u[0]);for(var l=1;l<t.length;l++)i+=Xr(r,n,t[l]),a&&(process.env.NODE_ENV!=="production"&&u[l]===void 0&&console.error(Iu),i+=u[l]);var d;process.env.NODE_ENV!=="production"&&(i=i.replace(Fl,function(b){return d=b,""})),Su.lastIndex=0;for(var h="",m;(m=Su.exec(i))!==null;)h+="-"+m[1];var p=Hp(i)+h;return process.env.NODE_ENV!=="production"?{name:p,styles:i,map:d,next:Ft,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:p,styles:i,next:Ft}},Kp=function(t){return t()},Rl=te.useInsertionEffect?te.useInsertionEffect:!1,Gl=Rl||Kp,Cu=Rl||te.useLayoutEffect,zi={}.hasOwnProperty,Ui=te.createContext(typeof HTMLElement<"u"?Wp({key:"css"}):null);process.env.NODE_ENV!=="production"&&(Ui.displayName="EmotionCacheContext");Ui.Provider;var $i=function(t){return y.forwardRef(function(n,r){var a=y.useContext(Ui);return t(n,a,r)})},ns=te.createContext({});process.env.NODE_ENV!=="production"&&(ns.displayName="EmotionThemeContext");var Yu=function(t){var n=t.split(".");return n[n.length-1]},eb=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 Yu(n[1])},tb=new Set(["renderWithHooks","processChild","finishClassComponent","renderToString"]),nb=function(t){return t.replace(/\$/g,"-")},rb=function(t){if(t)for(var n=t.split(`
|
|
134
|
+
`),r=0;r<n.length;r++){var a=eb(n[r]);if(a){if(tb.has(a))break;if(/^[A-Z]/.test(a))return nb(a)}}},mi="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",gi="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",ab=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)zi.call(n,a)&&(r[a]=n[a]);if(r[mi]=t,process.env.NODE_ENV!=="production"&&n.css&&(typeof n.css!="object"||typeof n.css.name!="string"||n.css.name.indexOf("-")===-1)){var i=rb(new Error().stack);i&&(r[gi]=i)}return r},sb=function(t){var n=t.cache,r=t.serialized,a=t.isStringTag;return ji(n,r,a),Gl(function(){return Zi(n,r,a)}),null},Ll=$i(function(e,t,n){var r=e.css;typeof r=="string"&&t.registered[r]!==void 0&&(r=t.registered[r]);var a=e[mi],i=[r],u="";typeof e.className=="string"?u=Al(t.registered,i,e.className):e.className!=null&&(u=e.className+" ");var l=zr(i,void 0,te.useContext(ns));if(process.env.NODE_ENV!=="production"&&l.name.indexOf("-")===-1){var d=e[gi];d&&(l=zr([l,"label:"+d+";"]))}u+=t.key+"-"+l.name;var h={};for(var m in e)zi.call(e,m)&&m!=="css"&&m!==mi&&(process.env.NODE_ENV==="production"||m!==gi)&&(h[m]=e[m]);return h.ref=n,h.className=u,te.createElement(te.Fragment,null,te.createElement(sb,{cache:t,serialized:l,isStringTag:typeof a=="string"}),te.createElement(a,h))});process.env.NODE_ENV!=="production"&&(Ll.displayName="EmotionCssPropInternal");var ib=Ll,ob={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"}}}}},q=function(t,n){var r=arguments;if(n==null||!zi.call(n,"css"))return te.createElement.apply(void 0,r);var a=r.length,i=new Array(a);i[0]=ib,i[1]=ab(t,n);for(var u=2;u<a;u++)i[u]=r[u];return te.createElement.apply(null,i)},Ou=!1,ub=$i(function(e,t){process.env.NODE_ENV!=="production"&&!Ou&&(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?"),Ou=!0);var n=e.styles,r=zr([n],void 0,te.useContext(ns)),a=te.useRef();return Cu(function(){var i=t.key+"-global",u=new t.sheet.constructor({key:i,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),l=!1,d=document.querySelector('style[data-emotion="'+i+" "+r.name+'"]');return t.sheet.tags.length&&(u.before=t.sheet.tags[0]),d!==null&&(l=!0,d.setAttribute("data-emotion",i),u.hydrate([d])),a.current=[u,l],function(){u.flush()}},[t]),Cu(function(){var i=a.current,u=i[0],l=i[1];if(l){i[1]=!1;return}if(r.next!==void 0&&Zi(t,r.next,!0),u.tags.length){var d=u.tags[u.tags.length-1].nextElementSibling;u.before=d,u.flush()}t.insert("",r,u,!1)},[t,r.name]),null});process.env.NODE_ENV!=="production"&&(ub.displayName="EmotionGlobal");function Ji(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return zr(t)}var lb=function(){var t=Ji.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_"}}},cb=function e(t){for(var n=t.length,r=0,a="";r<n;r++){var i=t[r];if(i!=null){var u=void 0;switch(typeof i){case"boolean":break;case"object":{if(Array.isArray(i))u=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."),u="";for(var l in i)i[l]&&l&&(u&&(u+=" "),u+=l)}break}default:u=i}u&&(a&&(a+=" "),a+=u)}}return a};function db(e,t,n){var r=[],a=Al(e,r,n);return r.length<2?n:a+t(r)}var fb=function(t){var n=t.cache,r=t.serializedArr;return Gl(function(){for(var a=0;a<r.length;a++)Zi(n,r[a],!1)}),null},Vl=$i(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 h=arguments.length,m=new Array(h),p=0;p<h;p++)m[p]=arguments[p];var b=zr(m,t.registered);return r.push(b),ji(t,b,!1),t.key+"-"+b.name},i=function(){if(n&&process.env.NODE_ENV!=="production")throw new Error("cx can only be used during render");for(var h=arguments.length,m=new Array(h),p=0;p<h;p++)m[p]=arguments[p];return db(t.registered,a,cb(m))},u={css:a,cx:i,theme:te.useContext(ns)},l=e.children(u);return n=!0,te.createElement(te.Fragment,null,te.createElement(fb,{cache:t,serializedArr:r}),l)});process.env.NODE_ENV!=="production"&&(Vl.displayName="EmotionClassNames");if(process.env.NODE_ENV!=="production"){var Tu=!0,hb=typeof jest<"u"||typeof vi<"u";if(Tu&&!hb){var Eu=typeof globalThis<"u"?globalThis:Tu?window:global,Nu="__EMOTION_REACT_"+ob.version.split(".")[0]+"__";Eu[Nu]&&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."),Eu[Nu]=!0}}function mb(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function gb(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 br(e,t){if(e==null)return{};var n=gb(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 pi(e){"@babel/helpers - typeof";return pi=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},pi(e)}function Qi(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Au(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 qi(e,t,n){return t&&Au(e.prototype,t),n&&Au(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function bi(e,t){return bi=Object.setPrototypeOf||function(r,a){return r.__proto__=a,r},bi(e,t)}function Ki(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&&bi(e,t)}function ln(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wu(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 Ze(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Wu(Object(n),!0).forEach(function(r){pb(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Wu(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Ga(e){return Ga=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ga(e)}function bb(){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 yb(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vb(e,t){return t&&(typeof t=="object"||typeof t=="function")?t:yb(e)}function eo(e){var t=bb();return function(){var r=Ga(e),a;if(t){var i=Ga(this).constructor;a=Reflect.construct(r,arguments,i)}else a=r.apply(this,arguments);return vb(this,a)}}var _b=["className","clearValue","cx","getStyles","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],La=function(){};function wb(e,t){return t?t[0]==="-"?e+t:e+"__"+t:e}function Mb(e,t,n){var r=[n];if(t&&e)for(var a in t)t.hasOwnProperty(a)&&t[a]&&r.push("".concat(wb(e,a)));return r.filter(function(i){return i}).map(function(i){return String(i).trim()}).join(" ")}var Pu=function(t){return Tb(t)?t.filter(Boolean):pi(t)==="object"&&t!==null?[t]:[]},Bl=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=br(t,_b);return Ze({},n)};function to(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function Hl(e){return to(e)?window.pageYOffset:e.scrollTop}function Va(e,t){if(to(e)){window.scrollTo(0,t);return}e.scrollTop=t}function xb(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 Ib(e,t,n,r){return n*((e=e/r-1)*e*e+1)+t}function Ia(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:La,a=Hl(e),i=t-a,u=10,l=0;function d(){l+=u;var h=Ib(l,a,i,n);Va(e,h),l<n?window.requestAnimationFrame(d):r(e)}d()}function kb(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),a=t.offsetHeight/3;r.bottom+a>n.bottom?Va(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+a,e.scrollHeight)):r.top-a<n.top&&Va(e,Math.max(t.offsetTop-a,0))}function Db(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 Fu(){try{return document.createEvent("TouchEvent"),!0}catch{return!1}}function Sb(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}var jl=!1,Cb={get passive(){return jl=!0}},ka=typeof window<"u"?window:{};ka.addEventListener&&ka.removeEventListener&&(ka.addEventListener("p",La,Cb),ka.removeEventListener("p",La,!1));var Yb=jl;function Ob(e){return e!=null}function Tb(e){return Array.isArray(e)}function Da(e,t,n){return e?t:n}function Eb(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,a=e.placement,i=e.shouldScroll,u=e.isFixedPosition,l=e.theme,d=l.spacing,h=xb(n),m={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return m;var p=h.getBoundingClientRect(),b=p.height,w=n.getBoundingClientRect(),_=w.bottom,k=w.height,v=w.top,C=n.offsetParent.getBoundingClientRect(),I=C.top,S=window.innerHeight,T=Hl(h),D=parseInt(getComputedStyle(n).marginBottom,10),x=parseInt(getComputedStyle(n).marginTop,10),Y=I-x,P=S-v,R=Y+T,L=b-T-v,z=_-S+T+D,ne=T+v-x,K=160;switch(a){case"auto":case"bottom":if(P>=k)return{placement:"bottom",maxHeight:t};if(L>=k&&!u)return i&&Ia(h,z,K),{placement:"bottom",maxHeight:t};if(!u&&L>=r||u&&P>=r){i&&Ia(h,z,K);var B=u?P-D:L-D;return{placement:"bottom",maxHeight:B}}if(a==="auto"||u){var re=t,Ce=u?Y:R;return Ce>=r&&(re=Math.min(Ce-D-d.controlHeight,t)),{placement:"top",maxHeight:re}}if(a==="bottom")return i&&Va(h,z),{placement:"bottom",maxHeight:t};break;case"top":if(Y>=k)return{placement:"top",maxHeight:t};if(R>=k&&!u)return i&&Ia(h,ne,K),{placement:"top",maxHeight:t};if(!u&&R>=r||u&&Y>=r){var de=t;return(!u&&R>=r||u&&Y>=r)&&(de=u?Y-x:R-x),i&&Ia(h,ne,K),{placement:"top",maxHeight:de}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(a,'".'))}return m}function Nb(e){var t={bottom:"top",top:"bottom"};return e?t[e]:"bottom"}var yi=function(t){return t==="auto"?"bottom":t},Ab=function(t){var n,r=t.placement,a=t.theme,i=a.borderRadius,u=a.spacing,l=a.colors;return n={label:"menu"},ln(n,Nb(r),"100%"),ln(n,"backgroundColor",l.neutral0),ln(n,"borderRadius",i),ln(n,"boxShadow","0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)"),ln(n,"marginBottom",u.menuGutter),ln(n,"marginTop",u.menuGutter),ln(n,"position","absolute"),ln(n,"width","100%"),ln(n,"zIndex",1),n},Zl=y.createContext({getPortalPlacement:null}),Xl=function(e){Ki(n,e);var t=eo(n);function n(){var r;Qi(this,n);for(var a=arguments.length,i=new Array(a),u=0;u<a;u++)i[u]=arguments[u];return r=t.call.apply(t,[this].concat(i)),r.state={maxHeight:r.props.maxMenuHeight,placement:null},r.context=void 0,r.getPlacement=function(l){var d=r.props,h=d.minMenuHeight,m=d.maxMenuHeight,p=d.menuPlacement,b=d.menuPosition,w=d.menuShouldScrollIntoView,_=d.theme;if(l){var k=b==="fixed",v=w&&!k,C=Eb({maxHeight:m,menuEl:l,minHeight:h,placement:p,shouldScroll:v,isFixedPosition:k,theme:_}),I=r.context.getPortalPlacement;I&&I(C),r.setState(C)}},r.getUpdatedProps=function(){var l=r.props.menuPlacement,d=r.state.placement||yi(l);return Ze(Ze({},r.props),{},{placement:d,maxHeight:r.state.maxHeight})},r}return qi(n,[{key:"render",value:function(){var a=this.props.children;return a({ref:this.getPlacement,placerProps:this.getUpdatedProps()})}}]),n}(y.Component);Xl.contextType=Zl;var Wb=function(t){var n=t.children,r=t.className,a=t.cx,i=t.getStyles,u=t.innerRef,l=t.innerProps;return q("div",ee({css:i("menu",t),className:a({menu:!0},r),ref:u},l),n)},Pb=function(t){var n=t.maxHeight,r=t.theme.spacing.baseUnit;return{maxHeight:n,overflowY:"auto",paddingBottom:r,paddingTop:r,position:"relative",WebkitOverflowScrolling:"touch"}},Fb=function(t){var n=t.children,r=t.className,a=t.cx,i=t.getStyles,u=t.innerProps,l=t.innerRef,d=t.isMulti;return q("div",ee({css:i("menuList",t),className:a({"menu-list":!0,"menu-list--is-multi":d},r),ref:l},u),n)},zl=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"}},Rb=zl,Gb=zl,Ul=function(t){var n=t.children,r=t.className,a=t.cx,i=t.getStyles,u=t.innerProps;return q("div",ee({css:i("noOptionsMessage",t),className:a({"menu-notice":!0,"menu-notice--no-options":!0},r)},u),n)};Ul.defaultProps={children:"No options"};var $l=function(t){var n=t.children,r=t.className,a=t.cx,i=t.getStyles,u=t.innerProps;return q("div",ee({css:i("loadingMessage",t),className:a({"menu-notice":!0,"menu-notice--loading":!0},r)},u),n)};$l.defaultProps={children:"Loading..."};var Lb=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}},Vb=function(e){Ki(n,e);var t=eo(n);function n(){var r;Qi(this,n);for(var a=arguments.length,i=new Array(a),u=0;u<a;u++)i[u]=arguments[u];return r=t.call.apply(t,[this].concat(i)),r.state={placement:null},r.getPortalPlacement=function(l){var d=l.placement,h=yi(r.props.menuPlacement);d!==h&&r.setState({placement:d})},r}return qi(n,[{key:"render",value:function(){var a=this.props,i=a.appendTo,u=a.children,l=a.className,d=a.controlElement,h=a.cx,m=a.innerProps,p=a.menuPlacement,b=a.menuPosition,w=a.getStyles,_=b==="fixed";if(!i&&!_||!d)return null;var k=this.state.placement||yi(p),v=Db(d),C=_?0:window.pageYOffset,I=v[k]+C,S={offset:I,position:b,rect:v},T=q("div",ee({css:w("menuPortal",S),className:h({"menu-portal":!0},l)},m),u);return q(Zl.Provider,{value:{getPortalPlacement:this.getPortalPlacement}},i?Vg.createPortal(T,i):T)}}]),n}(y.Component),Bb=function(t){var n=t.isDisabled,r=t.isRtl;return{label:"container",direction:r?"rtl":void 0,pointerEvents:n?"none":void 0,position:"relative"}},Hb=function(t){var n=t.children,r=t.className,a=t.cx,i=t.getStyles,u=t.innerProps,l=t.isDisabled,d=t.isRtl;return q("div",ee({css:i("container",t),className:a({"--is-disabled":l,"--is-rtl":d},r)},u),n)},jb=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"}},Zb=function(t){var n=t.children,r=t.className,a=t.cx,i=t.innerProps,u=t.isMulti,l=t.getStyles,d=t.hasValue;return q("div",ee({css:l("valueContainer",t),className:a({"value-container":!0,"value-container--is-multi":u,"value-container--has-value":d},r)},i),n)},Xb=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},zb=function(t){var n=t.children,r=t.className,a=t.cx,i=t.innerProps,u=t.getStyles;return q("div",ee({css:u("indicatorsContainer",t),className:a({indicators:!0},r)},i),n)},Ru,Ub=["size"];function $b(){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 Jb=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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXdCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lLFxuICBDU1NPYmplY3RXaXRoTGFiZWwsXG4gIEdyb3VwQmFzZSxcbn0gZnJvbSAnLi4vdHlwZXMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1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XNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHByb3BzOiBMb2FkaW5nSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGNsYXNzTmFtZSwgY3gsIGdldFN0eWxlcywgaW5uZXJQcm9wcywgaXNSdGwgfSA9IHByb3BzO1xuXG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgY3NzPXtnZXRTdHlsZXMoJ2xvYWRpbmdJbmRpY2F0b3InLCBwcm9wcyl9XG4gICAgICBjbGFzc05hbWU9e2N4KFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdsb2FkaW5nLWluZGljYXRvcic6IHRydWUsXG4gICAgICAgIH0sXG4gICAgICAgIGNsYXNzTmFtZVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG5Mb2FkaW5nSW5kaWNhdG9yLmRlZmF1bHRQcm9wcyA9IHsgc2l6ZTogNCB9O1xuIl19 */",toString:$b},Jl=function(t){var n=t.size,r=br(t,Ub);return q("svg",ee({height:n,width:n,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:Jb},r))},no=function(t){return q(Jl,ee({size:20},t),q("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},Ql=function(t){return q(Jl,ee({size:20},t),q("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},ql=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}}},Qb=ql,qb=function(t){var n=t.children,r=t.className,a=t.cx,i=t.getStyles,u=t.innerProps;return q("div",ee({css:i("dropdownIndicator",t),className:a({indicator:!0,"dropdown-indicator":!0},r)},u),n||q(Ql,null))},Kb=ql,ey=function(t){var n=t.children,r=t.className,a=t.cx,i=t.getStyles,u=t.innerProps;return q("div",ee({css:i("clearIndicator",t),className:a({indicator:!0,"clear-indicator":!0},r)},u),n||q(no,null))},ty=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}},ny=function(t){var n=t.className,r=t.cx,a=t.getStyles,i=t.innerProps;return q("span",ee({},i,{css:a("indicatorSeparator",t),className:r({"indicator-separator":!0},n)}))},ry=lb(Ru||(Ru=mb([`
|
|
135
135
|
0%, 80%, 100% { opacity: 0; }
|
|
136
136
|
40% { opacity: 1; }
|
|
137
|
-
`]))),df=function(t){var n=t.isFocused,r=t.size,a=t.theme,o=a.colors,i=a.spacing.baseUnit;return{label:"loadingIndicator",color:n?o.neutral60:o.neutral20,display:"flex",padding:i*2,transition:"color 150ms",alignSelf:"center",fontSize:r,lineHeight:1,marginRight:r,textAlign:"center",verticalAlign:"middle"}},Jr=function(t){var n=t.delay,r=t.offset;return B("span",{css:qa({animation:"".concat(cf," 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+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6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cywgaXNSdGwgfSA9IHByb3BzO1xuXG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgY3NzPXtnZXRTdHlsZXMoJ2xvYWRpbmdJbmRpY2F0b3InLCBwcm9wcyl9XG4gICAgICBjbGFzc05hbWU9e2N4KFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdsb2FkaW5nLWluZGljYXRvcic6IHRydWUsXG4gICAgICAgIH0sXG4gICAgICAgIGNsYXNzTmFtZVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG5Mb2FkaW5nSW5kaWNhdG9yLmRlZmF1bHRQcm9wcyA9IHsgc2l6ZTogNCB9O1xuIl19 */")})},ws=function(t){var n=t.className,r=t.cx,a=t.getStyles,o=t.innerProps,i=t.isRtl;return B("div",H({css:a("loadingIndicator",t),className:r({indicator:!0,"loading-indicator":!0},n)},o),B(Jr,{delay:0,offset:i}),B(Jr,{delay:160,offset:!0}),B(Jr,{delay:320,offset:!i}))};ws.defaultProps={size:4};var ff=function(t){var n=t.isDisabled,r=t.isFocused,a=t.theme,o=a.colors,i=a.borderRadius,s=a.spacing;return{label:"control",alignItems:"center",backgroundColor:n?o.neutral5:o.neutral0,borderColor:n?o.neutral10:r?o.primary:o.neutral20,borderRadius:i,borderStyle:"solid",borderWidth:1,boxShadow:r?"0 0 0 1px ".concat(o.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?o.primary:o.neutral30}}},hf=function(t){var n=t.children,r=t.cx,a=t.getStyles,o=t.className,i=t.isDisabled,s=t.isFocused,u=t.innerRef,l=t.innerProps,c=t.menuIsOpen;return B("div",H({ref:u,css:a("control",t),className:r({control:!0,"control--is-disabled":i,"control--is-focused":s,"control--menu-is-open":c},o)},l),n)},mf=["data"],gf=function(t){var n=t.theme.spacing;return{paddingBottom:n.baseUnit*2,paddingTop:n.baseUnit*2}},pf=function(t){var n=t.children,r=t.className,a=t.cx,o=t.getStyles,i=t.Heading,s=t.headingProps,u=t.innerProps,l=t.label,c=t.theme,d=t.selectProps;return B("div",H({css:o("group",t),className:a({group:!0},r)},u),B(i,H({},s,{selectProps:d,theme:c,getStyles:o,cx:a}),l),B("div",null,n))},bf=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"}},yf=function(t){var n=t.getStyles,r=t.cx,a=t.className,o=fs(t);o.data;var i=fn(o,mf);return B("div",H({css:n("groupHeading",t),className:r({"group-heading":!0},a)},i))},vf=["innerRef","isDisabled","isHidden","inputClassName"],xf=function(t){var n=t.isDisabled,r=t.value,a=t.theme,o=a.spacing,i=a.colors;return we({margin:o.baseUnit/2,paddingBottom:o.baseUnit/2,paddingTop:o.baseUnit/2,visibility:n?"hidden":"visible",color:i.neutral80,transform:r?"translateZ(0)":""},If)},Ms={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},If={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":we({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},Ms)},Cf=function(t){return we({label:"input",color:"inherit",background:0,opacity:t?0:1,width:"100%"},Ms)},wf=function(t){var n=t.className,r=t.cx,a=t.getStyles,o=t.value,i=fs(t),s=i.innerRef,u=i.isDisabled,l=i.isHidden,c=i.inputClassName,d=fn(i,vf);return B("div",{className:r({"input-container":!0},n),css:a("input",t),"data-value":o||""},B("input",H({className:r({input:!0},c),ref:s,style:Cf(l),disabled:u},d)))},Mf=function(t){var n=t.theme,r=n.spacing,a=n.borderRadius,o=n.colors;return{label:"multiValue",backgroundColor:o.neutral10,borderRadius:a/2,display:"flex",margin:r.baseUnit/2,minWidth:0}},Sf=function(t){var n=t.theme,r=n.borderRadius,a=n.colors,o=t.cropWithEllipsis;return{borderRadius:r/2,color:a.neutral80,fontSize:"85%",overflow:"hidden",padding:3,paddingLeft:6,textOverflow:o||o===void 0?"ellipsis":void 0,whiteSpace:"nowrap"}},Df=function(t){var n=t.theme,r=n.spacing,a=n.borderRadius,o=n.colors,i=t.isFocused;return{alignItems:"center",borderRadius:a/2,backgroundColor:i?o.dangerLight:void 0,display:"flex",paddingLeft:r.baseUnit,paddingRight:r.baseUnit,":hover":{backgroundColor:o.dangerLight,color:o.danger}}},Ss=function(t){var n=t.children,r=t.innerProps;return B("div",r,n)},kf=Ss,Ef=Ss;function Of(e){var t=e.children,n=e.innerProps;return B("div",H({role:"button"},n),t||B(ao,{size:14}))}var Af=function(t){var n=t.children,r=t.className,a=t.components,o=t.cx,i=t.data,s=t.getStyles,u=t.innerProps,l=t.isDisabled,c=t.removeProps,d=t.selectProps,h=a.Container,g=a.Label,m=a.Remove;return B(ds,null,function(v){var p=v.css,I=v.cx;return B(h,{data:i,innerProps:we({className:I(p(s("multiValue",t)),o({"multi-value":!0,"multi-value--is-disabled":l},r))},u),selectProps:d},B(g,{data:i,innerProps:{className:I(p(s("multiValueLabel",t)),o({"multi-value__label":!0},r))},selectProps:d},n),B(m,{data:i,innerProps:we({className:I(p(s("multiValueRemove",t)),o({"multi-value__remove":!0},r)),"aria-label":"Remove ".concat(n||"option")},c),selectProps:d}))})},Nf=function(t){var n=t.isDisabled,r=t.isFocused,a=t.isSelected,o=t.theme,i=o.spacing,s=o.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(i.baseUnit*2,"px ").concat(i.baseUnit*3,"px"),width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",":active":{backgroundColor:n?void 0:a?s.primary:s.primary50}}},Tf=function(t){var n=t.children,r=t.className,a=t.cx,o=t.getStyles,i=t.isDisabled,s=t.isFocused,u=t.isSelected,l=t.innerRef,c=t.innerProps;return B("div",H({css:o("option",t),className:a({option:!0,"option--is-disabled":i,"option--is-focused":s,"option--is-selected":u},r),ref:l,"aria-disabled":i},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}},Wf=function(t){var n=t.children,r=t.className,a=t.cx,o=t.getStyles,i=t.innerProps;return B("div",H({css:o("placeholder",t),className:a({placeholder:!0},r)},i),n)},_f=function(t){var n=t.isDisabled,r=t.theme,a=r.spacing,o=r.colors;return{label:"singleValue",color:n?o.neutral40:o.neutral80,gridArea:"1 / 1 / 2 / 3",marginLeft:a.baseUnit/2,marginRight:a.baseUnit/2,maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},Pf=function(t){var n=t.children,r=t.className,a=t.cx,o=t.getStyles,i=t.isDisabled,s=t.innerProps;return B("div",H({css:o("singleValue",t),className:a({"single-value":!0,"single-value--is-disabled":i},r)},s),n)},wa={ClearIndicator:sf,Control:hf,DropdownIndicator:af,DownChevron:Is,CrossIcon:ao,Group:pf,GroupHeading:yf,IndicatorsContainer:Kd,IndicatorSeparator:lf,Input:wf,LoadingIndicator:ws,Menu:Vd,MenuList:Xd,MenuPortal:zd,LoadingMessage:vs,NoOptionsMessage:ys,MultiValue:Af,MultiValueContainer:kf,MultiValueLabel:Ef,MultiValueRemove:Of,Option:Tf,Placeholder:Wf,SelectContainer:Ud,SingleValue:Pf,ValueContainer:Qd},Gf=function(t){return we(we({},wa),t.components)};function Yf(e){if(Array.isArray(e))return e}function Rf(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],a=!0,o=!1,i,s;try{for(n=n.call(e);!(a=(i=n.next()).done)&&(r.push(i.value),!(t&&r.length===t));a=!0);}catch(u){o=!0,s=u}finally{try{!a&&n.return!=null&&n.return()}finally{if(o)throw s}}return r}}function Ma(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 Ds(e,t){if(e){if(typeof e=="string")return Ma(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 Ma(e,t)}}function Bf(){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 ks(e){return Xf(e)||Zf(e)||Ds(e)||jf()}var ui=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function Lf(e,t){return!!(e===t||ui(e)&&ui(t))}function zf(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!Lf(e[n],t[n]))return!1;return!0}function $f(e,t){t===void 0&&(t=zf);var n,r=[],a,o=!1;function i(){for(var s=[],u=0;u<arguments.length;u++)s[u]=arguments[u];return o&&n===this&&t(s,r)||(a=e.apply(this,s),o=!0,n=this,r=s),a}return i}function Uf(){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 Jf=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:Uf},li=function(t){return B("span",H({css:Jf},t))},Qf={guidance:function(t){var n=t.isSearchable,r=t.isMulti,a=t.isDisabled,o=t.tabSelectsValue,i=t.context;switch(i){case"menu":return"Use Up and Down to choose options".concat(a?"":", press Enter to select the currently focused option",", press Escape to exit the menu").concat(o?", press Tab to select the option and exit the menu":"",".");case"input":return"".concat(t["aria-label"]||"Select"," is focused ").concat(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,o=t.labels,i=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(o.length>1?"s":""," ").concat(o.join(","),", selected.");case"select-option":return i?"option ".concat(a," is disabled. Select another option."):"option ".concat(a,", selected.");default:return""}},onFocus:function(t){var n=t.context,r=t.focused,a=t.options,o=t.label,i=o===void 0?"":o,s=t.selectValue,u=t.isDisabled,l=t.isSelected,c=function(m,v){return m&&m.length?"".concat(m.indexOf(v)+1," of ").concat(m.length):""};if(n==="value"&&s)return"value ".concat(i," focused, ").concat(c(s,r),".");if(n==="menu"){var d=u?" disabled":"",h="".concat(l?"selected":"focused").concat(d);return"option ".concat(i," ").concat(h,", ").concat(c(a,r),".")}return""},onFilter:function(t){var n=t.inputValue,r=t.resultsMessage;return"".concat(r).concat(n?" for search term "+n:"",".")}},qf=function(t){var n=t.ariaSelection,r=t.focusedOption,a=t.focusedValue,o=t.focusableOptions,i=t.isFocused,s=t.selectValue,u=t.selectProps,l=t.id,c=u.ariaLiveMessages,d=u.getOptionLabel,h=u.inputValue,g=u.isMulti,m=u.isOptionDisabled,v=u.isSearchable,p=u.menuIsOpen,I=u.options,y=u.screenReaderStatus,C=u.tabSelectsValue,M=u["aria-label"],x=u["aria-live"],b=f.useMemo(function(){return we(we({},Qf),c||{})},[c]),S=f.useMemo(function(){var N="";if(n&&b.onChange){var $=n.option,pe=n.options,Me=n.removedValue,ve=n.removedValues,le=n.value,ce=function(Se){return Array.isArray(Se)?null:Se},be=Me||$||ce(le),oe=be?d(be):"",K=pe||ve||void 0,ye=K?K.map(d):[],Ne=we({isDisabled:be&&m(be,s),label:oe,labels:ye},n);N=b.onChange(Ne)}return N},[n,b,m,s,d]),E=f.useMemo(function(){var N="",$=r||a,pe=!!(r&&s&&s.includes(r));if($&&b.onFocus){var Me={focused:$,label:d($),isDisabled:m($,s),isSelected:pe,options:I,context:$===r?"menu":"value",selectValue:s};N=b.onFocus(Me)}return N},[r,a,d,m,b,I,s]),k=f.useMemo(function(){var N="";if(p&&I.length&&b.onFilter){var $=y({count:o.length});N=b.onFilter({inputValue:h,resultsMessage:$})}return N},[o,h,p,b,I,y]),W=f.useMemo(function(){var N="";if(b.guidance){var $=a?"value":p?"menu":"input";N=b.guidance({"aria-label":M,context:$,isDisabled:r&&m(r,s),isMulti:g,isSearchable:v,tabSelectsValue:C})}return N},[M,r,a,g,m,v,p,b,s,C]),G="".concat(E," ").concat(k," ").concat(W),L=B(f.Fragment,null,B("span",{id:"aria-selection"},S),B("span",{id:"aria-context"},G)),z=(n==null?void 0:n.action)==="initial-input-focus";return B(f.Fragment,null,B(li,{id:l},z&&L),B(li,{"aria-live":x,"aria-atomic":"false","aria-relevant":"additions text"},i&&!z&&L))},Sa=[{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źẑżžẓẕƶȥɀⱬꝣ"}],Kf=new RegExp("["+Sa.map(function(e){return e.letters}).join("")+"]","g"),Es={};for(var qr=0;qr<Sa.length;qr++)for(var Kr=Sa[qr],ea=0;ea<Kr.letters.length;ea++)Es[Kr.letters[ea]]=Kr.base;var Os=function(t){return t.replace(Kf,function(n){return Es[n]})},eh=$f(Os),ci=function(t){return t.replace(/^\s+|\s+$/g,"")},th=function(t){return"".concat(t.label," ").concat(t.value)},nh=function(t){return function(n,r){if(n.data.__isNew__)return!0;var a=we({ignoreCase:!0,ignoreAccents:!0,stringify:th,trim:!0,matchFrom:"any"},t),o=a.ignoreCase,i=a.ignoreAccents,s=a.stringify,u=a.trim,l=a.matchFrom,c=u?ci(r):r,d=u?ci(s(n)):s(n);return o&&(c=c.toLowerCase(),d=d.toLowerCase()),i&&(c=eh(c),d=Os(d)),l==="start"?d.substr(0,c.length)===c:d.indexOf(c)>-1}},rh=["innerRef"];function ah(e){var t=e.innerRef,n=fn(e,rh);return B("input",H({ref:t},n,{css:qa({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 oh=function(t){t.preventDefault(),t.stopPropagation()};function ih(e){var t=e.isEnabled,n=e.onBottomArrive,r=e.onBottomLeave,a=e.onTopArrive,o=e.onTopLeave,i=f.useRef(!1),s=f.useRef(!1),u=f.useRef(0),l=f.useRef(null),c=f.useCallback(function(p,I){if(l.current!==null){var y=l.current,C=y.scrollTop,M=y.scrollHeight,x=y.clientHeight,b=l.current,S=I>0,E=M-x-C,k=!1;E>I&&i.current&&(r&&r(p),i.current=!1),S&&s.current&&(o&&o(p),s.current=!1),S&&I>E?(n&&!i.current&&n(p),b.scrollTop=M,k=!0,i.current=!0):!S&&-I>C&&(a&&!s.current&&a(p),b.scrollTop=0,k=!0,s.current=!0),k&&oh(p)}},[n,r,a,o]),d=f.useCallback(function(p){c(p,p.deltaY)},[c]),h=f.useCallback(function(p){u.current=p.changedTouches[0].clientY},[]),g=f.useCallback(function(p){var I=u.current-p.changedTouches[0].clientY;c(p,I)},[c]),m=f.useCallback(function(p){if(p){var I=_d?{passive:!1}:!1;p.addEventListener("wheel",d,I),p.addEventListener("touchstart",h,I),p.addEventListener("touchmove",g,I)}},[g,h,d]),v=f.useCallback(function(p){p&&(p.removeEventListener("wheel",d,!1),p.removeEventListener("touchstart",h,!1),p.removeEventListener("touchmove",g,!1))},[g,h,d]);return f.useEffect(function(){if(t){var p=l.current;return m(p),function(){v(p)}}},[t,m,v]),function(p){l.current=p}}var di=["boxSizing","height","overflow","paddingRight","position"],fi={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function hi(e){e.preventDefault()}function mi(e){e.stopPropagation()}function gi(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;e===0?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function pi(){return"ontouchstart"in window||navigator.maxTouchPoints}var bi=!!(typeof window<"u"&&window.document&&window.document.createElement),bn=0,Ut={capture:!1,passive:!1};function sh(e){var t=e.isEnabled,n=e.accountForScrollbars,r=n===void 0?!0:n,a=f.useRef({}),o=f.useRef(null),i=f.useCallback(function(u){if(bi){var l=document.body,c=l&&l.style;if(r&&di.forEach(function(m){var v=c&&c[m];a.current[m]=v}),r&&bn<1){var d=parseInt(a.current.paddingRight,10)||0,h=document.body?document.body.clientWidth:0,g=window.innerWidth-h+d||0;Object.keys(fi).forEach(function(m){var v=fi[m];c&&(c[m]=v)}),c&&(c.paddingRight="".concat(g,"px"))}l&&pi()&&(l.addEventListener("touchmove",hi,Ut),u&&(u.addEventListener("touchstart",gi,Ut),u.addEventListener("touchmove",mi,Ut))),bn+=1}},[r]),s=f.useCallback(function(u){if(bi){var l=document.body,c=l&&l.style;bn=Math.max(bn-1,0),r&&bn<1&&di.forEach(function(d){var h=a.current[d];c&&(c[d]=h)}),l&&pi()&&(l.removeEventListener("touchmove",hi,Ut),u&&(u.removeEventListener("touchstart",gi,Ut),u.removeEventListener("touchmove",mi,Ut)))}},[r]);return f.useEffect(function(){if(t){var u=o.current;return i(u),function(){s(u)}}},[t,i,s]),function(u){o.current=u}}function uh(){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 lh=function(){return document.activeElement&&document.activeElement.blur()},ch=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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQStDVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2sgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcuL3VzZVNjcm9sbENhcHR1cmUnO1xuaW1wb3J0IHVzZVNjcm9sbExvY2sgZnJvbSAnLi91c2VTY3JvbGxMb2NrJztcblxuaW50ZXJmYWNlIFByb3BzIHtcbiAgcmVhZG9ubHkgY2hpbGRyZW46IChyZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PikgPT4gUmVhY3RFbGVtZW50O1xuICByZWFkb25seSBsb2NrRW5hYmxlZDogYm9vbGVhbjtcbiAgcmVhZG9ubHkgY2FwdHVyZUVuYWJsZWQ6IGJvb2xlYW47XG4gIHJlYWRvbmx5IG9uQm90dG9tQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVhZG9ubH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uICAgIHNldFNjcm9sbENhcHR1cmVUYXJnZXQoZWxlbWVudCk7XG4gICAgc2V0U2Nyb2xsTG9ja1RhcmdldChlbGVtZW50KTtcbiAgfTtcblxuICByZXR1cm4gKFxuICAgIDxGcmFnbWVudD5cbiAgICAgIHtsb2NrRW5hYmxlZCAmJiAoXG4gICAgICAgIDxkaXZcbiAgICAgICAgICBvbkNsaWNrPXtibHVyU2VsZWN0SW5wdXR9XG4gICAgICAgICAgY3NzPXt7IHBvc2l0aW9uOiAnZml4ZWQnLCBsZWZ0OiAwLCBib3R0b206IDAsIHJpZ2h0OiAwLCB0b3A6IDAgfX1cbiAgICAgICAgLz5cbiAgICAgICl9XG4gICAgICB7Y2hpbGRyZW4odGFyZ2V0UmVmKX1cbiAgICA8L0ZyYWdtZW50PlxuICApO1xufVxuIl19 */",toString:uh};function dh(e){var t=e.children,n=e.lockEnabled,r=e.captureEnabled,a=r===void 0?!0:r,o=e.onBottomArrive,i=e.onBottomLeave,s=e.onTopArrive,u=e.onTopLeave,l=ih({isEnabled:a,onBottomArrive:o,onBottomLeave:i,onTopArrive:s,onTopLeave:u}),c=sh({isEnabled:n}),d=function(g){l(g),c(g)};return B(f.Fragment,null,n&&B("div",{onClick:lh,css:ch}),t(d))}var fh=function(t){return t.label},hh=function(t){return t.label},mh=function(t){return t.value},gh=function(t){return!!t.isDisabled},ph={clearIndicator:of,container:$d,control:ff,dropdownIndicator:rf,group:gf,groupHeading:bf,indicatorsContainer:qd,indicatorSeparator:uf,input:xf,loadingIndicator:df,loadingMessage:jd,menu:Bd,menuList:Hd,menuPortal:Ld,multiValue:Mf,multiValueLabel:Sf,multiValueRemove:Df,noOptionsMessage:Zd,option:Nf,placeholder:Ff,singleValue:_f,valueContainer:Jd},bh={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%)"},yh=4,As=4,vh=38,xh=As*2,Ih={baseUnit:As,controlHeight:vh,menuGutter:xh},ta={borderRadius:yh,colors:bh,spacing:Ih},Ch={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:ii(),captureMenuScroll:!ii(),closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:nh(),formatGroupLabel:fh,getOptionLabel:hh,getOptionValue:mh,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:gh,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 yi(e,t,n,r){var a=Ws(e,t,n),o=_s(e,t,n),i=Fs(e,t),s=gr(e,t);return{type:"option",data:t,isDisabled:a,isSelected:o,label:i,value:s,index:r}}function Ns(e,t){return e.options.map(function(n,r){if("options"in n){var a=n.options.map(function(i,s){return yi(e,i,t,s)}).filter(function(i){return xi(e,i)});return a.length>0?{type:"group",data:n,options:a,index:r}:void 0}var o=yi(e,n,t,r);return xi(e,o)?o:void 0}).filter(Pd)}function Ts(e){return e.reduce(function(t,n){return n.type==="group"?t.push.apply(t,ks(n.options.map(function(r){return r.data}))):t.push(n.data),t},[])}function wh(e,t){return Ts(Ns(e,t))}function xi(e,t){var n=e.inputValue,r=n===void 0?"":n,a=t.data,o=t.isSelected,i=t.label,s=t.value;return(!Gs(e)||!o)&&Ps(e,{label:i,value:s,data:a},r)}function Mh(e,t){var n=e.focusedValue,r=e.selectValue,a=r.indexOf(n);if(a>-1){var o=t.indexOf(n);if(o>-1)return n;if(a<t.length)return t[a]}return null}function Sh(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}var Fs=function(t,n){return t.getOptionLabel(n)},gr=function(t,n){return t.getOptionValue(n)};function Ws(e,t,n){return typeof e.isOptionDisabled=="function"?e.isOptionDisabled(t,n):!1}function _s(e,t,n){if(n.indexOf(t)>-1)return!0;if(typeof e.isOptionSelected=="function")return e.isOptionSelected(t,n);var r=gr(e,t);return n.some(function(a){return gr(e,a)===r})}function Ps(e,t,n){return e.filterOption?e.filterOption(t,n):!0}var Gs=function(t){var n=t.hideSelectedOptions,r=t.isMulti;return n===void 0?r:n},Dh=1,Ys=function(e){to(n,e);var t=no(n);function n(r){var a;return Ka(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(o){a.controlRef=o},a.focusedOptionRef=null,a.getFocusedOptionRef=function(o){a.focusedOptionRef=o},a.menuListRef=null,a.getMenuListRef=function(o){a.menuListRef=o},a.inputRef=null,a.getInputRef=function(o){a.inputRef=o},a.focus=a.focusInput,a.blur=a.blurInput,a.onChange=function(o,i){var s=a.props,u=s.onChange,l=s.name;i.name=l,a.ariaOnChange(o,i),u(o,i)},a.setValue=function(o,i,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(o,{action:i,option:s})},a.selectOption=function(o){var i=a.props,s=i.blurInputOnSelect,u=i.isMulti,l=i.name,c=a.state.selectValue,d=u&&a.isOptionSelected(o,c),h=a.isOptionDisabled(o,c);if(d){var g=a.getOptionValue(o);a.setValue(c.filter(function(m){return a.getOptionValue(m)!==g}),"deselect-option",o)}else if(!h)u?a.setValue([].concat(ks(c),[o]),"select-option",o):a.setValue(o,"select-option");else{a.ariaOnChange(o,{action:"select-option",option:o,name:l});return}s&&a.blurInput()},a.removeValue=function(o){var i=a.props.isMulti,s=a.state.selectValue,u=a.getOptionValue(o),l=s.filter(function(d){return a.getOptionValue(d)!==u}),c=Kn(i,l,l[0]||null);a.onChange(c,{action:"remove-value",removedValue:o}),a.focusInput()},a.clearValue=function(){var o=a.state.selectValue;a.onChange(Kn(a.props.isMulti,[],null),{action:"clear",removedValues:o})},a.popValue=function(){var o=a.props.isMulti,i=a.state.selectValue,s=i[i.length-1],u=i.slice(0,i.length-1),l=Kn(o,u,u[0]||null);a.onChange(l,{action:"pop-value",removedValue:s})},a.getValue=function(){return a.state.selectValue},a.cx=function(){for(var o=arguments.length,i=new Array(o),s=0;s<o;s++)i[s]=arguments[s];return Ed.apply(void 0,[a.props.classNamePrefix].concat(i))},a.getOptionLabel=function(o){return Fs(a.props,o)},a.getOptionValue=function(o){return gr(a.props,o)},a.getStyles=function(o,i){var s=ph[o](i);s.boxSizing="border-box";var u=a.props.styles[o];return u?u(s,i):s},a.getElementId=function(o){return"".concat(a.instancePrefix,"-").concat(o)},a.getComponents=function(){return Gf(a.props)},a.buildCategorizedOptions=function(){return Ns(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(o,i){a.setState({ariaSelection:we({value:o},i)})},a.onMenuMouseDown=function(o){o.button===0&&(o.stopPropagation(),o.preventDefault(),a.focusInput())},a.onMenuMouseMove=function(o){a.blockOptionHover=!1},a.onControlMouseDown=function(o){var i=a.props.openMenuOnClick;a.state.isFocused?a.props.menuIsOpen?o.target.tagName!=="INPUT"&&o.target.tagName!=="TEXTAREA"&&a.onMenuClose():i&&a.openMenu("first"):(i&&(a.openAfterFocus=!0),a.focusInput()),o.target.tagName!=="INPUT"&&o.target.tagName!=="TEXTAREA"&&o.preventDefault()},a.onDropdownIndicatorMouseDown=function(o){if(!(o&&o.type==="mousedown"&&o.button!==0)&&!a.props.isDisabled){var i=a.props,s=i.isMulti,u=i.menuIsOpen;a.focusInput(),u?(a.setState({inputIsHiddenAfterUpdate:!s}),a.onMenuClose()):a.openMenu("first"),o.preventDefault(),o.stopPropagation()}},a.onClearIndicatorMouseDown=function(o){o&&o.type==="mousedown"&&o.button!==0||(a.clearValue(),o.preventDefault(),o.stopPropagation(),a.openAfterFocus=!1,o.type==="touchend"?a.focusInput():setTimeout(function(){return a.focusInput()}))},a.onScroll=function(o){typeof a.props.closeMenuOnScroll=="boolean"?o.target instanceof HTMLElement&&ro(o.target)&&a.props.onMenuClose():typeof a.props.closeMenuOnScroll=="function"&&a.props.closeMenuOnScroll(o)&&a.props.onMenuClose()},a.onCompositionStart=function(){a.isComposing=!0},a.onCompositionEnd=function(){a.isComposing=!1},a.onTouchStart=function(o){var i=o.touches,s=i&&i.item(0);s&&(a.initialTouchX=s.clientX,a.initialTouchY=s.clientY,a.userIsDragging=!1)},a.onTouchMove=function(o){var i=o.touches,s=i&&i.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(o){a.userIsDragging||(a.controlRef&&!a.controlRef.contains(o.target)&&a.menuListRef&&!a.menuListRef.contains(o.target)&&a.blurInput(),a.initialTouchX=0,a.initialTouchY=0)},a.onControlTouchEnd=function(o){a.userIsDragging||a.onControlMouseDown(o)},a.onClearIndicatorTouchEnd=function(o){a.userIsDragging||a.onClearIndicatorMouseDown(o)},a.onDropdownIndicatorTouchEnd=function(o){a.userIsDragging||a.onDropdownIndicatorMouseDown(o)},a.handleInputChange=function(o){var i=a.props.inputValue,s=o.currentTarget.value;a.setState({inputIsHiddenAfterUpdate:!1}),a.onInputChange(s,{action:"input-change",prevInputValue:i}),a.props.menuIsOpen||a.onMenuOpen()},a.onInputFocus=function(o){a.props.onFocus&&a.props.onFocus(o),a.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(a.openAfterFocus||a.props.openMenuOnFocus)&&a.openMenu("first"),a.openAfterFocus=!1},a.onInputBlur=function(o){var i=a.props.inputValue;if(a.menuListRef&&a.menuListRef.contains(document.activeElement)){a.inputRef.focus();return}a.props.onBlur&&a.props.onBlur(o),a.onInputChange("",{action:"input-blur",prevInputValue:i}),a.onMenuClose(),a.setState({focusedValue:null,isFocused:!1})},a.onOptionHover=function(o){a.blockOptionHover||a.state.focusedOption===o||a.setState({focusedOption:o})},a.shouldHideSelectedOptions=function(){return Gs(a.props)},a.onKeyDown=function(o){var i=a.props,s=i.isMulti,u=i.backspaceRemovesValue,l=i.escapeClearsValue,c=i.inputValue,d=i.isClearable,h=i.isDisabled,g=i.menuIsOpen,m=i.onKeyDown,v=i.tabSelectsValue,p=i.openMenuOnFocus,I=a.state,y=I.focusedOption,C=I.focusedValue,M=I.selectValue;if(!h&&!(typeof m=="function"&&(m(o),o.defaultPrevented))){switch(a.blockOptionHover=!0,o.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||o.shiftKey||!g||!v||!y||p&&a.isOptionSelected(y,M))return;a.selectOption(y);break;case"Enter":if(o.keyCode===229)break;if(g){if(!y||a.isComposing)return;a.selectOption(y);break}return;case"Escape":g?(a.setState({inputIsHiddenAfterUpdate:!1}),a.onInputChange("",{action:"menu-close",prevInputValue:c}),a.onMenuClose()):d&&l&&a.clearValue();break;case" ":if(c)return;if(!g){a.openMenu("first");break}if(!y)return;a.selectOption(y);break;case"ArrowUp":g?a.focusOption("up"):a.openMenu("last");break;case"ArrowDown":g?a.focusOption("down"):a.openMenu("first");break;case"PageUp":if(!g)return;a.focusOption("pageup");break;case"PageDown":if(!g)return;a.focusOption("pagedown");break;case"Home":if(!g)return;a.focusOption("first");break;case"End":if(!g)return;a.focusOption("last");break;default:return}o.preventDefault()}},a.instancePrefix="react-select-"+(a.props.instanceId||++Dh),a.state.selectValue=oi(r.value),a}return eo(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 o=this.props,i=o.isDisabled,s=o.menuIsOpen,u=this.state.isFocused;(u&&!i&&a.isDisabled||u&&s&&!a.menuIsOpen)&&this.focusInput(),u&&i&&!a.isDisabled&&this.setState({isFocused:!1},this.onMenuClose),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(Nd(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(a,o){this.props.onInputChange(a,o)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(a){var o=this,i=this.state,s=i.selectValue,u=i.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 o.onMenuOpen()})}},{key:"focusValue",value:function(a){var o=this.state,i=o.selectValue,s=o.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var u=i.indexOf(s);s||(u=-1);var l=i.length-1,c=-1;if(i.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:i[c]})}}}},{key:"focusOption",value:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"first",o=this.props.pageSize,i=this.state.focusedOption,s=this.getFocusableOptions();if(s.length){var u=0,l=s.indexOf(i);i||(l=-1),a==="up"?u=l>0?l-1:s.length-1:a==="down"?u=(l+1)%s.length:a==="pageup"?(u=l-o,u<0&&(u=0)):a==="pagedown"?(u=l+o,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(ta):we(we({},ta),this.props.theme):ta}},{key:"getCommonProps",value:function(){var a=this.clearValue,o=this.cx,i=this.getStyles,s=this.getValue,u=this.selectOption,l=this.setValue,c=this.props,d=c.isMulti,h=c.isRtl,g=c.options,m=this.hasValue();return{clearValue:a,cx:o,getStyles:i,getValue:s,hasValue:m,isMulti:d,isRtl:h,options:g,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,o=a.isClearable,i=a.isMulti;return o===void 0?i:o}},{key:"isOptionDisabled",value:function(a,o){return Ws(this.props,a,o)}},{key:"isOptionSelected",value:function(a,o){return _s(this.props,a,o)}},{key:"filterOption",value:function(a,o){return Ps(this.props,a,o)}},{key:"formatOptionLabel",value:function(a,o){if(typeof this.props.formatOptionLabel=="function"){var i=this.props.inputValue,s=this.state.selectValue;return this.props.formatOptionLabel(a,{context:o,inputValue:i,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,o=a.isDisabled,i=a.isSearchable,s=a.inputId,u=a.inputValue,l=a.tabIndex,c=a.form,d=a.menuIsOpen,h=this.getComponents(),g=h.Input,m=this.state,v=m.inputIsHidden,p=m.ariaSelection,I=this.commonProps,y=s||this.getElementId("input"),C=we(we({"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"},!i&&{"aria-readonly":!0}),this.hasValue()?(p==null?void 0:p.action)==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return i?X.createElement(g,H({},I,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:y,innerRef:this.getInputRef,isDisabled:o,isHidden:v,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:l,form:c,type:"text",value:u},C)):X.createElement(ah,H({id:y,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:hr,onFocus:this.onInputFocus,disabled:o,tabIndex:l,inputMode:"none",form:c,value:""},C))}},{key:"renderPlaceholderOrValue",value:function(){var a=this,o=this.getComponents(),i=o.MultiValue,s=o.MultiValueContainer,u=o.MultiValueLabel,l=o.MultiValueRemove,c=o.SingleValue,d=o.Placeholder,h=this.commonProps,g=this.props,m=g.controlShouldRenderValue,v=g.isDisabled,p=g.isMulti,I=g.inputValue,y=g.placeholder,C=this.state,M=C.selectValue,x=C.focusedValue,b=C.isFocused;if(!this.hasValue()||!m)return I?null:X.createElement(d,H({},h,{key:"placeholder",isDisabled:v,isFocused:b,innerProps:{id:this.getElementId("placeholder")}}),y);if(p)return M.map(function(E,k){var W=E===x,G="".concat(a.getOptionLabel(E),"-").concat(a.getOptionValue(E));return X.createElement(i,H({},h,{components:{Container:s,Label:u,Remove:l},isFocused:W,isDisabled:v,key:G,index:k,removeProps:{onClick:function(){return a.removeValue(E)},onTouchEnd:function(){return a.removeValue(E)},onMouseDown:function(z){z.preventDefault(),z.stopPropagation()}},data:E}),a.formatOptionLabel(E,"value"))});if(I)return null;var S=M[0];return X.createElement(c,H({},h,{data:S,isDisabled:v}),this.formatOptionLabel(S,"value"))}},{key:"renderClearIndicator",value:function(){var a=this.getComponents(),o=a.ClearIndicator,i=this.commonProps,s=this.props,u=s.isDisabled,l=s.isLoading,c=this.state.isFocused;if(!this.isClearable()||!o||u||!this.hasValue()||l)return null;var d={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return X.createElement(o,H({},i,{innerProps:d,isFocused:c}))}},{key:"renderLoadingIndicator",value:function(){var a=this.getComponents(),o=a.LoadingIndicator,i=this.commonProps,s=this.props,u=s.isDisabled,l=s.isLoading,c=this.state.isFocused;if(!o||!l)return null;var d={"aria-hidden":"true"};return X.createElement(o,H({},i,{innerProps:d,isDisabled:u,isFocused:c}))}},{key:"renderIndicatorSeparator",value:function(){var a=this.getComponents(),o=a.DropdownIndicator,i=a.IndicatorSeparator;if(!o||!i)return null;var s=this.commonProps,u=this.props.isDisabled,l=this.state.isFocused;return X.createElement(i,H({},s,{isDisabled:u,isFocused:l}))}},{key:"renderDropdownIndicator",value:function(){var a=this.getComponents(),o=a.DropdownIndicator;if(!o)return null;var i=this.commonProps,s=this.props.isDisabled,u=this.state.isFocused,l={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return X.createElement(o,H({},i,{innerProps:l,isDisabled:s,isFocused:u}))}},{key:"renderMenu",value:function(){var a=this,o=this.getComponents(),i=o.Group,s=o.GroupHeading,u=o.Menu,l=o.MenuList,c=o.MenuPortal,d=o.LoadingMessage,h=o.NoOptionsMessage,g=o.Option,m=this.commonProps,v=this.state.focusedOption,p=this.props,I=p.captureMenuScroll,y=p.inputValue,C=p.isLoading,M=p.loadingMessage,x=p.minMenuHeight,b=p.maxMenuHeight,S=p.menuIsOpen,E=p.menuPlacement,k=p.menuPosition,W=p.menuPortalTarget,G=p.menuShouldBlockScroll,L=p.menuShouldScrollIntoView,z=p.noOptionsMessage,N=p.onMenuScrollToTop,$=p.onMenuScrollToBottom;if(!S)return null;var pe=function(K,ye){var Ne=K.type,Te=K.data,Se=K.isDisabled,Ye=K.isSelected,Xe=K.label,Le=K.value,De=v===Te,F=Se?void 0:function(){return a.onOptionHover(Te)},it=Se?void 0:function(){return a.selectOption(Te)},Ue="".concat(a.getElementId("option"),"-").concat(ye),Y={id:Ue,onClick:it,onMouseMove:F,onMouseOver:F,tabIndex:-1};return X.createElement(g,H({},m,{innerProps:Y,data:Te,isDisabled:Se,isSelected:Ye,key:Ue,label:Xe,type:Ne,value:Le,isFocused:De,innerRef:De?a.getFocusedOptionRef:void 0}),a.formatOptionLabel(K.data,"menu"))},Me;if(this.hasOptions())Me=this.getCategorizedOptions().map(function(oe){if(oe.type==="group"){var K=oe.data,ye=oe.options,Ne=oe.index,Te="".concat(a.getElementId("group"),"-").concat(Ne),Se="".concat(Te,"-heading");return X.createElement(i,H({},m,{key:Te,data:K,options:ye,Heading:s,headingProps:{id:Se,data:oe.data},label:a.formatGroupLabel(oe.data)}),oe.options.map(function(Ye){return pe(Ye,"".concat(Ne,"-").concat(Ye.index))}))}else if(oe.type==="option")return pe(oe,"".concat(oe.index))});else if(C){var ve=M({inputValue:y});if(ve===null)return null;Me=X.createElement(d,m,ve)}else{var le=z({inputValue:y});if(le===null)return null;Me=X.createElement(h,m,le)}var ce={minMenuHeight:x,maxMenuHeight:b,menuPlacement:E,menuPosition:k,menuShouldScrollIntoView:L},be=X.createElement(ps,H({},m,ce),function(oe){var K=oe.ref,ye=oe.placerProps,Ne=ye.placement,Te=ye.maxHeight;return X.createElement(u,H({},m,ce,{innerRef:K,innerProps:{onMouseDown:a.onMenuMouseDown,onMouseMove:a.onMenuMouseMove,id:a.getElementId("listbox")},isLoading:C,placement:Ne}),X.createElement(dh,{captureEnabled:I,onTopArrive:N,onBottomArrive:$,lockEnabled:G},function(Se){return X.createElement(l,H({},m,{innerRef:function(Xe){a.getMenuListRef(Xe),Se(Xe)},isLoading:C,maxHeight:Te,focusedOption:v}),Me)}))});return W||k==="fixed"?X.createElement(c,H({},m,{appendTo:W,controlElement:this.controlRef,menuPlacement:E,menuPosition:k}),be):be}},{key:"renderFormField",value:function(){var a=this,o=this.props,i=o.delimiter,s=o.isDisabled,u=o.isMulti,l=o.name,c=this.state.selectValue;if(!(!l||s))if(u)if(i){var d=c.map(function(m){return a.getOptionValue(m)}).join(i);return X.createElement("input",{name:l,type:"hidden",value:d})}else{var h=c.length>0?c.map(function(m,v){return X.createElement("input",{key:"i-".concat(v),name:l,type:"hidden",value:a.getOptionValue(m)})}):X.createElement("input",{name:l,type:"hidden"});return X.createElement("div",null,h)}else{var g=c[0]?this.getOptionValue(c[0]):"";return X.createElement("input",{name:l,type:"hidden",value:g})}}},{key:"renderLiveRegion",value:function(){var a=this.commonProps,o=this.state,i=o.ariaSelection,s=o.focusedOption,u=o.focusedValue,l=o.isFocused,c=o.selectValue,d=this.getFocusableOptions();return X.createElement(qf,H({},a,{id:this.getElementId("live-region"),ariaSelection:i,focusedOption:s,focusedValue:u,isFocused:l,selectValue:c,focusableOptions:d}))}},{key:"render",value:function(){var a=this.getComponents(),o=a.Control,i=a.IndicatorsContainer,s=a.SelectContainer,u=a.ValueContainer,l=this.props,c=l.className,d=l.id,h=l.isDisabled,g=l.menuIsOpen,m=this.state.isFocused,v=this.commonProps=this.getCommonProps();return X.createElement(s,H({},v,{className:c,innerProps:{id:d,onKeyDown:this.onKeyDown},isDisabled:h,isFocused:m}),this.renderLiveRegion(),X.createElement(o,H({},v,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:h,isFocused:m,menuIsOpen:g}),X.createElement(u,H({},v,{isDisabled:h}),this.renderPlaceholderOrValue(),this.renderInput()),X.createElement(i,H({},v,{isDisabled:h}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(a,o){var i=o.prevProps,s=o.clearFocusValueOnUpdate,u=o.inputIsHiddenAfterUpdate,l=o.ariaSelection,c=o.isFocused,d=o.prevWasFocused,h=a.options,g=a.value,m=a.menuIsOpen,v=a.inputValue,p=a.isMulti,I=oi(g),y={};if(i&&(g!==i.value||h!==i.options||m!==i.menuIsOpen||v!==i.inputValue)){var C=m?wh(a,I):[],M=s?Mh(o,I):null,x=Sh(o,C);y={selectValue:I,focusedOption:x,focusedValue:M,clearFocusValueOnUpdate:!1}}var b=u!=null&&a!==i?{inputIsHidden:u,inputIsHiddenAfterUpdate:void 0}:{},S=l,E=c&&d;return c&&!E&&(S={value:Kn(p,I,I[0]||null),options:I,action:"initial-input-focus"},E=!d),(l==null?void 0:l.action)==="initial-input-focus"&&(S=null),we(we(we({},y),b),{},{prevProps:a,ariaSelection:S,prevWasFocused:E})}}]),n}(f.Component);Ys.defaultProps=Ch;var kh=f.forwardRef(function(e,t){var n=Hf(e);return X.createElement(Ys,H({ref:t},n))});const Eh=kh,Oh=e=>wa.DropdownIndicator&&w.jsx(wa.DropdownIndicator,{...e,children:w.jsx(We.IconArrowDropDown,{width:"24px",height:"24px",fill:"var(--color-primary-text-on-light)"})}),Ah=({label:e,...t},n)=>{const r=f.useRef(null);return f.useImperativeHandle(n,()=>({setValue:a=>{var o;return(o=r.current)==null?void 0:o.select.setValue(a)}})),w.jsxs(Nh,{isDisabled:t.isDisabled,children:[!!e&&w.jsx(Vs,{children:w.jsx(J.BodyUI,{bold:!0,color:"var(--color-primary-text-on-light)",children:e})}),w.jsx(Bs,{classNamePrefix:"dropdown",components:{DropdownIndicator:Oh,...t.components},hideOnMobile:t.hideOnMobile,ref:r,...t})]})},Rs=O.css`
|
|
137
|
+
`]))),ay=function(t){var n=t.isFocused,r=t.size,a=t.theme,i=a.colors,u=a.spacing.baseUnit;return{label:"loadingIndicator",color:n?i.neutral60:i.neutral20,display:"flex",padding:u*2,transition:"color 150ms",alignSelf:"center",fontSize:r,lineHeight:1,marginRight:r,textAlign:"center",verticalAlign:"middle"}},Zs=function(t){var n=t.delay,r=t.offset;return q("span",{css:Ji({animation:"".concat(ry," 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+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxuICAgIGZvY3VzYWJsZT1cImZhbHNlXCJcbiAgICBjc3M9e3tcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgZmlsbDogJ2N1cnJlbnRDb2xvcicsXG4gIC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Rvcic6IHRydWUsXG4gICAgICAgIH0sXG4gICAgICAgIGNsYXNzTmFtZVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG5Mb2FkaW5nSW5kaWNhdG9yLmRlZmF1bHRQcm9wcyA9IHsgc2l6ZTogNCB9O1xuIl19 */")})},Kl=function(t){var n=t.className,r=t.cx,a=t.getStyles,i=t.innerProps,u=t.isRtl;return q("div",ee({css:a("loadingIndicator",t),className:r({indicator:!0,"loading-indicator":!0},n)},i),q(Zs,{delay:0,offset:u}),q(Zs,{delay:160,offset:!0}),q(Zs,{delay:320,offset:!u}))};Kl.defaultProps={size:4};var sy=function(t){var n=t.isDisabled,r=t.isFocused,a=t.theme,i=a.colors,u=a.borderRadius,l=a.spacing;return{label:"control",alignItems:"center",backgroundColor:n?i.neutral5:i.neutral0,borderColor:n?i.neutral10:r?i.primary:i.neutral20,borderRadius:u,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:l.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms","&:hover":{borderColor:r?i.primary:i.neutral30}}},iy=function(t){var n=t.children,r=t.cx,a=t.getStyles,i=t.className,u=t.isDisabled,l=t.isFocused,d=t.innerRef,h=t.innerProps,m=t.menuIsOpen;return q("div",ee({ref:d,css:a("control",t),className:r({control:!0,"control--is-disabled":u,"control--is-focused":l,"control--menu-is-open":m},i)},h),n)},oy=["data"],uy=function(t){var n=t.theme.spacing;return{paddingBottom:n.baseUnit*2,paddingTop:n.baseUnit*2}},ly=function(t){var n=t.children,r=t.className,a=t.cx,i=t.getStyles,u=t.Heading,l=t.headingProps,d=t.innerProps,h=t.label,m=t.theme,p=t.selectProps;return q("div",ee({css:i("group",t),className:a({group:!0},r)},d),q(u,ee({},l,{selectProps:p,theme:m,getStyles:i,cx:a}),h),q("div",null,n))},cy=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"}},dy=function(t){var n=t.getStyles,r=t.cx,a=t.className,i=Bl(t);i.data;var u=br(i,oy);return q("div",ee({css:n("groupHeading",t),className:r({"group-heading":!0},a)},u))},fy=["innerRef","isDisabled","isHidden","inputClassName"],hy=function(t){var n=t.isDisabled,r=t.value,a=t.theme,i=a.spacing,u=a.colors;return Ze({margin:i.baseUnit/2,paddingBottom:i.baseUnit/2,paddingTop:i.baseUnit/2,visibility:n?"hidden":"visible",color:u.neutral80,transform:r?"translateZ(0)":""},my)},ec={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},my={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":Ze({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},ec)},gy=function(t){return Ze({label:"input",color:"inherit",background:0,opacity:t?0:1,width:"100%"},ec)},py=function(t){var n=t.className,r=t.cx,a=t.getStyles,i=t.value,u=Bl(t),l=u.innerRef,d=u.isDisabled,h=u.isHidden,m=u.inputClassName,p=br(u,fy);return q("div",{className:r({"input-container":!0},n),css:a("input",t),"data-value":i||""},q("input",ee({className:r({input:!0},m),ref:l,style:gy(h),disabled:d},p)))},by=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}},yy=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"}},vy=function(t){var n=t.theme,r=n.spacing,a=n.borderRadius,i=n.colors,u=t.isFocused;return{alignItems:"center",borderRadius:a/2,backgroundColor:u?i.dangerLight:void 0,display:"flex",paddingLeft:r.baseUnit,paddingRight:r.baseUnit,":hover":{backgroundColor:i.dangerLight,color:i.danger}}},tc=function(t){var n=t.children,r=t.innerProps;return q("div",r,n)},_y=tc,wy=tc;function My(e){var t=e.children,n=e.innerProps;return q("div",ee({role:"button"},n),t||q(no,{size:14}))}var xy=function(t){var n=t.children,r=t.className,a=t.components,i=t.cx,u=t.data,l=t.getStyles,d=t.innerProps,h=t.isDisabled,m=t.removeProps,p=t.selectProps,b=a.Container,w=a.Label,_=a.Remove;return q(Vl,null,function(k){var v=k.css,C=k.cx;return q(b,{data:u,innerProps:Ze({className:C(v(l("multiValue",t)),i({"multi-value":!0,"multi-value--is-disabled":h},r))},d),selectProps:p},q(w,{data:u,innerProps:{className:C(v(l("multiValueLabel",t)),i({"multi-value__label":!0},r))},selectProps:p},n),q(_,{data:u,innerProps:Ze({className:C(v(l("multiValueRemove",t)),i({"multi-value__remove":!0},r)),"aria-label":"Remove ".concat(n||"option")},m),selectProps:p}))})},Iy=function(t){var n=t.isDisabled,r=t.isFocused,a=t.isSelected,i=t.theme,u=i.spacing,l=i.colors;return{label:"option",backgroundColor:a?l.primary:r?l.primary25:"transparent",color:n?l.neutral20:a?l.neutral0:"inherit",cursor:"default",display:"block",fontSize:"inherit",padding:"".concat(u.baseUnit*2,"px ").concat(u.baseUnit*3,"px"),width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",":active":{backgroundColor:n?void 0:a?l.primary:l.primary50}}},ky=function(t){var n=t.children,r=t.className,a=t.cx,i=t.getStyles,u=t.isDisabled,l=t.isFocused,d=t.isSelected,h=t.innerRef,m=t.innerProps;return q("div",ee({css:i("option",t),className:a({option:!0,"option--is-disabled":u,"option--is-focused":l,"option--is-selected":d},r),ref:h,"aria-disabled":u},m),n)},Dy=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}},Sy=function(t){var n=t.children,r=t.className,a=t.cx,i=t.getStyles,u=t.innerProps;return q("div",ee({css:i("placeholder",t),className:a({placeholder:!0},r)},u),n)},Cy=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"}},Yy=function(t){var n=t.children,r=t.className,a=t.cx,i=t.getStyles,u=t.isDisabled,l=t.innerProps;return q("div",ee({css:i("singleValue",t),className:a({"single-value":!0,"single-value--is-disabled":u},r)},l),n)},_i={ClearIndicator:ey,Control:iy,DropdownIndicator:qb,DownChevron:Ql,CrossIcon:no,Group:ly,GroupHeading:dy,IndicatorsContainer:zb,IndicatorSeparator:ny,Input:py,LoadingIndicator:Kl,Menu:Wb,MenuList:Fb,MenuPortal:Vb,LoadingMessage:$l,NoOptionsMessage:Ul,MultiValue:xy,MultiValueContainer:_y,MultiValueLabel:wy,MultiValueRemove:My,Option:ky,Placeholder:Sy,SelectContainer:Hb,SingleValue:Yy,ValueContainer:Zb},Oy=function(t){return Ze(Ze({},_i),t.components)};function Ty(e){if(Array.isArray(e))return e}function Ey(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],a=!0,i=!1,u,l;try{for(n=n.call(e);!(a=(u=n.next()).done)&&(r.push(u.value),!(t&&r.length===t));a=!0);}catch(d){i=!0,l=d}finally{try{!a&&n.return!=null&&n.return()}finally{if(i)throw l}}return r}}function wi(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 nc(e,t){if(e){if(typeof e=="string")return wi(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 wi(e,t)}}function Ny(){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 Xs(e,t){return Ty(e)||Ey(e,t)||nc(e,t)||Ny()}var Ay=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function Wy(e){var t=e.defaultInputValue,n=t===void 0?"":t,r=e.defaultMenuIsOpen,a=r===void 0?!1:r,i=e.defaultValue,u=i===void 0?null:i,l=e.inputValue,d=e.menuIsOpen,h=e.onChange,m=e.onInputChange,p=e.onMenuClose,b=e.onMenuOpen,w=e.value,_=br(e,Ay),k=y.useState(l!==void 0?l:n),v=Xs(k,2),C=v[0],I=v[1],S=y.useState(d!==void 0?d:a),T=Xs(S,2),D=T[0],x=T[1],Y=y.useState(w!==void 0?w:u),P=Xs(Y,2),R=P[0],L=P[1],z=y.useCallback(function(Ye,Oe){typeof h=="function"&&h(Ye,Oe),L(Ye)},[h]),ne=y.useCallback(function(Ye,Oe){var ue;typeof m=="function"&&(ue=m(Ye,Oe)),I(ue!==void 0?ue:Ye)},[m]),K=y.useCallback(function(){typeof b=="function"&&b(),x(!0)},[b]),B=y.useCallback(function(){typeof p=="function"&&p(),x(!1)},[p]),re=l!==void 0?l:C,Ce=d!==void 0?d:D,de=w!==void 0?w:R;return Ze(Ze({},_),{},{inputValue:re,menuIsOpen:Ce,onChange:z,onInputChange:ne,onMenuClose:B,onMenuOpen:K,value:de})}function Py(e){if(Array.isArray(e))return wi(e)}function Fy(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Ry(){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 rc(e){return Py(e)||Fy(e)||nc(e)||Ry()}var Gu=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function Gy(e,t){return!!(e===t||Gu(e)&&Gu(t))}function Ly(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!Gy(e[n],t[n]))return!1;return!0}function Vy(e,t){t===void 0&&(t=Ly);var n,r=[],a,i=!1;function u(){for(var l=[],d=0;d<arguments.length;d++)l[d]=arguments[d];return i&&n===this&&t(l,r)||(a=e.apply(this,l),i=!0,n=this,r=l),a}return u}function By(){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 Hy=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:By},Lu=function(t){return q("span",ee({css:Hy},t))},jy={guidance:function(t){var n=t.isSearchable,r=t.isMulti,a=t.isDisabled,i=t.tabSelectsValue,u=t.context;switch(u){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,u=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 u?"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,u=i===void 0?"":i,l=t.selectValue,d=t.isDisabled,h=t.isSelected,m=function(_,k){return _&&_.length?"".concat(_.indexOf(k)+1," of ").concat(_.length):""};if(n==="value"&&l)return"value ".concat(u," focused, ").concat(m(l,r),".");if(n==="menu"){var p=d?" disabled":"",b="".concat(h?"selected":"focused").concat(p);return"option ".concat(u," ").concat(b,", ").concat(m(a,r),".")}return""},onFilter:function(t){var n=t.inputValue,r=t.resultsMessage;return"".concat(r).concat(n?" for search term "+n:"",".")}},Zy=function(t){var n=t.ariaSelection,r=t.focusedOption,a=t.focusedValue,i=t.focusableOptions,u=t.isFocused,l=t.selectValue,d=t.selectProps,h=t.id,m=d.ariaLiveMessages,p=d.getOptionLabel,b=d.inputValue,w=d.isMulti,_=d.isOptionDisabled,k=d.isSearchable,v=d.menuIsOpen,C=d.options,I=d.screenReaderStatus,S=d.tabSelectsValue,T=d["aria-label"],D=d["aria-live"],x=y.useMemo(function(){return Ze(Ze({},jy),m||{})},[m]),Y=y.useMemo(function(){var B="";if(n&&x.onChange){var re=n.option,Ce=n.options,de=n.removedValue,Ye=n.removedValues,Oe=n.value,ue=function(Pe){return Array.isArray(Pe)?null:Pe},We=de||re||ue(Oe),pe=We?p(We):"",Me=Ce||Ye||void 0,ke=Me?Me.map(p):[],F=Ze({isDisabled:We&&_(We,l),label:pe,labels:ke},n);B=x.onChange(F)}return B},[n,x,_,l,p]),P=y.useMemo(function(){var B="",re=r||a,Ce=!!(r&&l&&l.includes(r));if(re&&x.onFocus){var de={focused:re,label:p(re),isDisabled:_(re,l),isSelected:Ce,options:C,context:re===r?"menu":"value",selectValue:l};B=x.onFocus(de)}return B},[r,a,p,_,x,C,l]),R=y.useMemo(function(){var B="";if(v&&C.length&&x.onFilter){var re=I({count:i.length});B=x.onFilter({inputValue:b,resultsMessage:re})}return B},[i,b,v,x,C,I]),L=y.useMemo(function(){var B="";if(x.guidance){var re=a?"value":v?"menu":"input";B=x.guidance({"aria-label":T,context:re,isDisabled:r&&_(r,l),isMulti:w,isSearchable:k,tabSelectsValue:S})}return B},[T,r,a,w,_,k,v,x,l,S]),z="".concat(P," ").concat(R," ").concat(L),ne=q(y.Fragment,null,q("span",{id:"aria-selection"},Y),q("span",{id:"aria-context"},z)),K=(n==null?void 0:n.action)==="initial-input-focus";return q(y.Fragment,null,q(Lu,{id:h},K&&ne),q(Lu,{"aria-live":D,"aria-atomic":"false","aria-relevant":"additions text"},u&&!K&&ne))},Mi=[{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źẑżžẓẕƶȥɀⱬꝣ"}],Xy=new RegExp("["+Mi.map(function(e){return e.letters}).join("")+"]","g"),ac={};for(var zs=0;zs<Mi.length;zs++)for(var Us=Mi[zs],$s=0;$s<Us.letters.length;$s++)ac[Us.letters[$s]]=Us.base;var sc=function(t){return t.replace(Xy,function(n){return ac[n]})},zy=Vy(sc),Vu=function(t){return t.replace(/^\s+|\s+$/g,"")},Uy=function(t){return"".concat(t.label," ").concat(t.value)},$y=function(t){return function(n,r){if(n.data.__isNew__)return!0;var a=Ze({ignoreCase:!0,ignoreAccents:!0,stringify:Uy,trim:!0,matchFrom:"any"},t),i=a.ignoreCase,u=a.ignoreAccents,l=a.stringify,d=a.trim,h=a.matchFrom,m=d?Vu(r):r,p=d?Vu(l(n)):l(n);return i&&(m=m.toLowerCase(),p=p.toLowerCase()),u&&(m=zy(m),p=sc(p)),h==="start"?p.substr(0,m.length)===m:p.indexOf(m)>-1}},Jy=["innerRef"];function Qy(e){var t=e.innerRef,n=br(e,Jy);return q("input",ee({ref:t},n,{css:Ji({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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWNNIiwiZmlsZSI6IkR1bW15SW5wdXQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyBSZWYgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBm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LFxuICAgICAgICBvcGFjaXR5OiAwLFxuICAgICAgICBwb3NpdGlvbjogJ3JlbGF0aXZlJyxcbiAgICAgICAgdHJhbnNmb3JtOiAnc2NhbGUoLjAxKScsXG4gICAgICB9fVxuICAgIC8+XG4gICk7XG59XG4iXX0= */")}))}var qy=function(t){t.preventDefault(),t.stopPropagation()};function Ky(e){var t=e.isEnabled,n=e.onBottomArrive,r=e.onBottomLeave,a=e.onTopArrive,i=e.onTopLeave,u=y.useRef(!1),l=y.useRef(!1),d=y.useRef(0),h=y.useRef(null),m=y.useCallback(function(v,C){if(h.current!==null){var I=h.current,S=I.scrollTop,T=I.scrollHeight,D=I.clientHeight,x=h.current,Y=C>0,P=T-D-S,R=!1;P>C&&u.current&&(r&&r(v),u.current=!1),Y&&l.current&&(i&&i(v),l.current=!1),Y&&C>P?(n&&!u.current&&n(v),x.scrollTop=T,R=!0,u.current=!0):!Y&&-C>S&&(a&&!l.current&&a(v),x.scrollTop=0,R=!0,l.current=!0),R&&qy(v)}},[n,r,a,i]),p=y.useCallback(function(v){m(v,v.deltaY)},[m]),b=y.useCallback(function(v){d.current=v.changedTouches[0].clientY},[]),w=y.useCallback(function(v){var C=d.current-v.changedTouches[0].clientY;m(v,C)},[m]),_=y.useCallback(function(v){if(v){var C=Yb?{passive:!1}:!1;v.addEventListener("wheel",p,C),v.addEventListener("touchstart",b,C),v.addEventListener("touchmove",w,C)}},[w,b,p]),k=y.useCallback(function(v){v&&(v.removeEventListener("wheel",p,!1),v.removeEventListener("touchstart",b,!1),v.removeEventListener("touchmove",w,!1))},[w,b,p]);return y.useEffect(function(){if(t){var v=h.current;return _(v),function(){k(v)}}},[t,_,k]),function(v){h.current=v}}var Bu=["boxSizing","height","overflow","paddingRight","position"],Hu={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function ju(e){e.preventDefault()}function Zu(e){e.stopPropagation()}function Xu(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;e===0?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function zu(){return"ontouchstart"in window||navigator.maxTouchPoints}var Uu=!!(typeof window<"u"&&window.document&&window.document.createElement),Nr=0,tr={capture:!1,passive:!1};function e0(e){var t=e.isEnabled,n=e.accountForScrollbars,r=n===void 0?!0:n,a=y.useRef({}),i=y.useRef(null),u=y.useCallback(function(d){if(Uu){var h=document.body,m=h&&h.style;if(r&&Bu.forEach(function(_){var k=m&&m[_];a.current[_]=k}),r&&Nr<1){var p=parseInt(a.current.paddingRight,10)||0,b=document.body?document.body.clientWidth:0,w=window.innerWidth-b+p||0;Object.keys(Hu).forEach(function(_){var k=Hu[_];m&&(m[_]=k)}),m&&(m.paddingRight="".concat(w,"px"))}h&&zu()&&(h.addEventListener("touchmove",ju,tr),d&&(d.addEventListener("touchstart",Xu,tr),d.addEventListener("touchmove",Zu,tr))),Nr+=1}},[r]),l=y.useCallback(function(d){if(Uu){var h=document.body,m=h&&h.style;Nr=Math.max(Nr-1,0),r&&Nr<1&&Bu.forEach(function(p){var b=a.current[p];m&&(m[p]=b)}),h&&zu()&&(h.removeEventListener("touchmove",ju,tr),d&&(d.removeEventListener("touchstart",Xu,tr),d.removeEventListener("touchmove",Zu,tr)))}},[r]);return y.useEffect(function(){if(t){var d=i.current;return u(d),function(){l(d)}}},[t,u,l]),function(d){i.current=d}}function t0(){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 n0=function(){return document.activeElement&&document.activeElement.blur()},r0=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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ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Y2hpbGRyZW4odGFyZ2V0UmVmKX1cbiAgICA8L0ZyYWdtZW50PlxuICApO1xufVxuIl19 */",toString:t0};function a0(e){var t=e.children,n=e.lockEnabled,r=e.captureEnabled,a=r===void 0?!0:r,i=e.onBottomArrive,u=e.onBottomLeave,l=e.onTopArrive,d=e.onTopLeave,h=Ky({isEnabled:a,onBottomArrive:i,onBottomLeave:u,onTopArrive:l,onTopLeave:d}),m=e0({isEnabled:n}),p=function(w){h(w),m(w)};return q(y.Fragment,null,n&&q("div",{onClick:n0,css:r0}),t(p))}var s0=function(t){return t.label},i0=function(t){return t.label},o0=function(t){return t.value},u0=function(t){return!!t.isDisabled},l0={clearIndicator:Kb,container:Bb,control:sy,dropdownIndicator:Qb,group:uy,groupHeading:cy,indicatorsContainer:Xb,indicatorSeparator:ty,input:hy,loadingIndicator:ay,loadingMessage:Gb,menu:Ab,menuList:Pb,menuPortal:Lb,multiValue:by,multiValueLabel:yy,multiValueRemove:vy,noOptionsMessage:Rb,option:Iy,placeholder:Dy,singleValue:Cy,valueContainer:jb},c0={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%)"},d0=4,ic=4,f0=38,h0=ic*2,m0={baseUnit:ic,controlHeight:f0,menuGutter:h0},Js={borderRadius:d0,colors:c0,spacing:m0},g0={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Fu(),captureMenuScroll:!Fu(),closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:$y(),formatGroupLabel:s0,getOptionLabel:i0,getOptionValue:o0,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:u0,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!Sb(),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 $u(e,t,n,r){var a=cc(e,t,n),i=dc(e,t,n),u=lc(e,t),l=Ba(e,t);return{type:"option",data:t,isDisabled:a,isSelected:i,label:u,value:l,index:r}}function oc(e,t){return e.options.map(function(n,r){if("options"in n){var a=n.options.map(function(u,l){return $u(e,u,t,l)}).filter(function(u){return Ju(e,u)});return a.length>0?{type:"group",data:n,options:a,index:r}:void 0}var i=$u(e,n,t,r);return Ju(e,i)?i:void 0}).filter(Ob)}function uc(e){return e.reduce(function(t,n){return n.type==="group"?t.push.apply(t,rc(n.options.map(function(r){return r.data}))):t.push(n.data),t},[])}function p0(e,t){return uc(oc(e,t))}function Ju(e,t){var n=e.inputValue,r=n===void 0?"":n,a=t.data,i=t.isSelected,u=t.label,l=t.value;return(!hc(e)||!i)&&fc(e,{label:u,value:l,data:a},r)}function b0(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 y0(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}var lc=function(t,n){return t.getOptionLabel(n)},Ba=function(t,n){return t.getOptionValue(n)};function cc(e,t,n){return typeof e.isOptionDisabled=="function"?e.isOptionDisabled(t,n):!1}function dc(e,t,n){if(n.indexOf(t)>-1)return!0;if(typeof e.isOptionSelected=="function")return e.isOptionSelected(t,n);var r=Ba(e,t);return n.some(function(a){return Ba(e,a)===r})}function fc(e,t,n){return e.filterOption?e.filterOption(t,n):!0}var hc=function(t){var n=t.hideSelectedOptions,r=t.isMulti;return n===void 0?r:n},v0=1,mc=function(e){Ki(n,e);var t=eo(n);function n(r){var a;return Qi(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,u){var l=a.props,d=l.onChange,h=l.name;u.name=h,a.ariaOnChange(i,u),d(i,u)},a.setValue=function(i,u,l){var d=a.props,h=d.closeMenuOnSelect,m=d.isMulti,p=d.inputValue;a.onInputChange("",{action:"set-value",prevInputValue:p}),h&&(a.setState({inputIsHiddenAfterUpdate:!m}),a.onMenuClose()),a.setState({clearFocusValueOnUpdate:!0}),a.onChange(i,{action:u,option:l})},a.selectOption=function(i){var u=a.props,l=u.blurInputOnSelect,d=u.isMulti,h=u.name,m=a.state.selectValue,p=d&&a.isOptionSelected(i,m),b=a.isOptionDisabled(i,m);if(p){var w=a.getOptionValue(i);a.setValue(m.filter(function(_){return a.getOptionValue(_)!==w}),"deselect-option",i)}else if(!b)d?a.setValue([].concat(rc(m),[i]),"select-option",i):a.setValue(i,"select-option");else{a.ariaOnChange(i,{action:"select-option",option:i,name:h});return}l&&a.blurInput()},a.removeValue=function(i){var u=a.props.isMulti,l=a.state.selectValue,d=a.getOptionValue(i),h=l.filter(function(p){return a.getOptionValue(p)!==d}),m=Da(u,h,h[0]||null);a.onChange(m,{action:"remove-value",removedValue:i}),a.focusInput()},a.clearValue=function(){var i=a.state.selectValue;a.onChange(Da(a.props.isMulti,[],null),{action:"clear",removedValues:i})},a.popValue=function(){var i=a.props.isMulti,u=a.state.selectValue,l=u[u.length-1],d=u.slice(0,u.length-1),h=Da(i,d,d[0]||null);a.onChange(h,{action:"pop-value",removedValue:l})},a.getValue=function(){return a.state.selectValue},a.cx=function(){for(var i=arguments.length,u=new Array(i),l=0;l<i;l++)u[l]=arguments[l];return Mb.apply(void 0,[a.props.classNamePrefix].concat(u))},a.getOptionLabel=function(i){return lc(a.props,i)},a.getOptionValue=function(i){return Ba(a.props,i)},a.getStyles=function(i,u){var l=l0[i](u);l.boxSizing="border-box";var d=a.props.styles[i];return d?d(l,u):l},a.getElementId=function(i){return"".concat(a.instancePrefix,"-").concat(i)},a.getComponents=function(){return Oy(a.props)},a.buildCategorizedOptions=function(){return oc(a.props,a.state.selectValue)},a.getCategorizedOptions=function(){return a.props.menuIsOpen?a.buildCategorizedOptions():[]},a.buildFocusableOptions=function(){return uc(a.buildCategorizedOptions())},a.getFocusableOptions=function(){return a.props.menuIsOpen?a.buildFocusableOptions():[]},a.ariaOnChange=function(i,u){a.setState({ariaSelection:Ze({value:i},u)})},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 u=a.props.openMenuOnClick;a.state.isFocused?a.props.menuIsOpen?i.target.tagName!=="INPUT"&&i.target.tagName!=="TEXTAREA"&&a.onMenuClose():u&&a.openMenu("first"):(u&&(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 u=a.props,l=u.isMulti,d=u.menuIsOpen;a.focusInput(),d?(a.setState({inputIsHiddenAfterUpdate:!l}),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&&to(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 u=i.touches,l=u&&u.item(0);l&&(a.initialTouchX=l.clientX,a.initialTouchY=l.clientY,a.userIsDragging=!1)},a.onTouchMove=function(i){var u=i.touches,l=u&&u.item(0);if(l){var d=Math.abs(l.clientX-a.initialTouchX),h=Math.abs(l.clientY-a.initialTouchY),m=5;a.userIsDragging=d>m||h>m}},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 u=a.props.inputValue,l=i.currentTarget.value;a.setState({inputIsHiddenAfterUpdate:!1}),a.onInputChange(l,{action:"input-change",prevInputValue:u}),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 u=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:u}),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 hc(a.props)},a.onKeyDown=function(i){var u=a.props,l=u.isMulti,d=u.backspaceRemovesValue,h=u.escapeClearsValue,m=u.inputValue,p=u.isClearable,b=u.isDisabled,w=u.menuIsOpen,_=u.onKeyDown,k=u.tabSelectsValue,v=u.openMenuOnFocus,C=a.state,I=C.focusedOption,S=C.focusedValue,T=C.selectValue;if(!b&&!(typeof _=="function"&&(_(i),i.defaultPrevented))){switch(a.blockOptionHover=!0,i.key){case"ArrowLeft":if(!l||m)return;a.focusValue("previous");break;case"ArrowRight":if(!l||m)return;a.focusValue("next");break;case"Delete":case"Backspace":if(m)return;if(S)a.removeValue(S);else{if(!d)return;l?a.popValue():p&&a.clearValue()}break;case"Tab":if(a.isComposing||i.shiftKey||!w||!k||!I||v&&a.isOptionSelected(I,T))return;a.selectOption(I);break;case"Enter":if(i.keyCode===229)break;if(w){if(!I||a.isComposing)return;a.selectOption(I);break}return;case"Escape":w?(a.setState({inputIsHiddenAfterUpdate:!1}),a.onInputChange("",{action:"menu-close",prevInputValue:m}),a.onMenuClose()):p&&h&&a.clearValue();break;case" ":if(m)return;if(!w){a.openMenu("first");break}if(!I)return;a.selectOption(I);break;case"ArrowUp":w?a.focusOption("up"):a.openMenu("last");break;case"ArrowDown":w?a.focusOption("down"):a.openMenu("first");break;case"PageUp":if(!w)return;a.focusOption("pageup");break;case"PageDown":if(!w)return;a.focusOption("pagedown");break;case"Home":if(!w)return;a.focusOption("first");break;case"End":if(!w)return;a.focusOption("last");break;default:return}i.preventDefault()}},a.instancePrefix="react-select-"+(a.props.instanceId||++v0),a.state.selectValue=Pu(r.value),a}return qi(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,u=i.isDisabled,l=i.menuIsOpen,d=this.state.isFocused;(d&&!u&&a.isDisabled||d&&l&&!a.menuIsOpen)&&this.focusInput(),d&&u&&!a.isDisabled&&this.setState({isFocused:!1},this.onMenuClose),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(kb(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,u=this.state,l=u.selectValue,d=u.isFocused,h=this.buildFocusableOptions(),m=a==="first"?0:h.length-1;if(!this.props.isMulti){var p=h.indexOf(l[0]);p>-1&&(m=p)}this.scrollToFocusedOptionOnUpdate=!(d&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:h[m]},function(){return i.onMenuOpen()})}},{key:"focusValue",value:function(a){var i=this.state,u=i.selectValue,l=i.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var d=u.indexOf(l);l||(d=-1);var h=u.length-1,m=-1;if(u.length){switch(a){case"previous":d===0?m=0:d===-1?m=h:m=d-1;break;case"next":d>-1&&d<h&&(m=d+1);break}this.setState({inputIsHidden:m!==-1,focusedValue:u[m]})}}}},{key:"focusOption",value:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"first",i=this.props.pageSize,u=this.state.focusedOption,l=this.getFocusableOptions();if(l.length){var d=0,h=l.indexOf(u);u||(h=-1),a==="up"?d=h>0?h-1:l.length-1:a==="down"?d=(h+1)%l.length:a==="pageup"?(d=h-i,d<0&&(d=0)):a==="pagedown"?(d=h+i,d>l.length-1&&(d=l.length-1)):a==="last"&&(d=l.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:l[d],focusedValue:null})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(Js):Ze(Ze({},Js),this.props.theme):Js}},{key:"getCommonProps",value:function(){var a=this.clearValue,i=this.cx,u=this.getStyles,l=this.getValue,d=this.selectOption,h=this.setValue,m=this.props,p=m.isMulti,b=m.isRtl,w=m.options,_=this.hasValue();return{clearValue:a,cx:i,getStyles:u,getValue:l,hasValue:_,isMulti:p,isRtl:b,options:w,selectOption:d,selectProps:m,setValue:h,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,u=a.isMulti;return i===void 0?u:i}},{key:"isOptionDisabled",value:function(a,i){return cc(this.props,a,i)}},{key:"isOptionSelected",value:function(a,i){return dc(this.props,a,i)}},{key:"filterOption",value:function(a,i){return fc(this.props,a,i)}},{key:"formatOptionLabel",value:function(a,i){if(typeof this.props.formatOptionLabel=="function"){var u=this.props.inputValue,l=this.state.selectValue;return this.props.formatOptionLabel(a,{context:i,inputValue:u,selectValue:l})}else return this.getOptionLabel(a)}},{key:"formatGroupLabel",value:function(a){return this.props.formatGroupLabel(a)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var a=this.props,i=a.isDisabled,u=a.isSearchable,l=a.inputId,d=a.inputValue,h=a.tabIndex,m=a.form,p=a.menuIsOpen,b=this.getComponents(),w=b.Input,_=this.state,k=_.inputIsHidden,v=_.ariaSelection,C=this.commonProps,I=l||this.getElementId("input"),S=Ze(Ze({"aria-autocomplete":"list","aria-expanded":p,"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"},!u&&{"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 u?te.createElement(w,ee({},C,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:I,innerRef:this.getInputRef,isDisabled:i,isHidden:k,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:h,form:m,type:"text",value:d},S)):te.createElement(Qy,ee({id:I,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:La,onFocus:this.onInputFocus,disabled:i,tabIndex:h,inputMode:"none",form:m,value:""},S))}},{key:"renderPlaceholderOrValue",value:function(){var a=this,i=this.getComponents(),u=i.MultiValue,l=i.MultiValueContainer,d=i.MultiValueLabel,h=i.MultiValueRemove,m=i.SingleValue,p=i.Placeholder,b=this.commonProps,w=this.props,_=w.controlShouldRenderValue,k=w.isDisabled,v=w.isMulti,C=w.inputValue,I=w.placeholder,S=this.state,T=S.selectValue,D=S.focusedValue,x=S.isFocused;if(!this.hasValue()||!_)return C?null:te.createElement(p,ee({},b,{key:"placeholder",isDisabled:k,isFocused:x,innerProps:{id:this.getElementId("placeholder")}}),I);if(v)return T.map(function(P,R){var L=P===D,z="".concat(a.getOptionLabel(P),"-").concat(a.getOptionValue(P));return te.createElement(u,ee({},b,{components:{Container:l,Label:d,Remove:h},isFocused:L,isDisabled:k,key:z,index:R,removeProps:{onClick:function(){return a.removeValue(P)},onTouchEnd:function(){return a.removeValue(P)},onMouseDown:function(K){K.preventDefault(),K.stopPropagation()}},data:P}),a.formatOptionLabel(P,"value"))});if(C)return null;var Y=T[0];return te.createElement(m,ee({},b,{data:Y,isDisabled:k}),this.formatOptionLabel(Y,"value"))}},{key:"renderClearIndicator",value:function(){var a=this.getComponents(),i=a.ClearIndicator,u=this.commonProps,l=this.props,d=l.isDisabled,h=l.isLoading,m=this.state.isFocused;if(!this.isClearable()||!i||d||!this.hasValue()||h)return null;var p={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return te.createElement(i,ee({},u,{innerProps:p,isFocused:m}))}},{key:"renderLoadingIndicator",value:function(){var a=this.getComponents(),i=a.LoadingIndicator,u=this.commonProps,l=this.props,d=l.isDisabled,h=l.isLoading,m=this.state.isFocused;if(!i||!h)return null;var p={"aria-hidden":"true"};return te.createElement(i,ee({},u,{innerProps:p,isDisabled:d,isFocused:m}))}},{key:"renderIndicatorSeparator",value:function(){var a=this.getComponents(),i=a.DropdownIndicator,u=a.IndicatorSeparator;if(!i||!u)return null;var l=this.commonProps,d=this.props.isDisabled,h=this.state.isFocused;return te.createElement(u,ee({},l,{isDisabled:d,isFocused:h}))}},{key:"renderDropdownIndicator",value:function(){var a=this.getComponents(),i=a.DropdownIndicator;if(!i)return null;var u=this.commonProps,l=this.props.isDisabled,d=this.state.isFocused,h={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return te.createElement(i,ee({},u,{innerProps:h,isDisabled:l,isFocused:d}))}},{key:"renderMenu",value:function(){var a=this,i=this.getComponents(),u=i.Group,l=i.GroupHeading,d=i.Menu,h=i.MenuList,m=i.MenuPortal,p=i.LoadingMessage,b=i.NoOptionsMessage,w=i.Option,_=this.commonProps,k=this.state.focusedOption,v=this.props,C=v.captureMenuScroll,I=v.inputValue,S=v.isLoading,T=v.loadingMessage,D=v.minMenuHeight,x=v.maxMenuHeight,Y=v.menuIsOpen,P=v.menuPlacement,R=v.menuPosition,L=v.menuPortalTarget,z=v.menuShouldBlockScroll,ne=v.menuShouldScrollIntoView,K=v.noOptionsMessage,B=v.onMenuScrollToTop,re=v.onMenuScrollToBottom;if(!Y)return null;var Ce=function(Me,ke){var F=Me.type,Ve=Me.data,Pe=Me.isDisabled,Je=Me.isSelected,at=Me.label,yt=Me.value,xt=k===Ve,N=Pe?void 0:function(){return a.onOptionHover(Ve)},Be=Pe?void 0:function(){return a.selectOption(Ve)},H="".concat(a.getElementId("option"),"-").concat(ke),ze={id:H,onClick:Be,onMouseMove:N,onMouseOver:N,tabIndex:-1};return te.createElement(w,ee({},_,{innerProps:ze,data:Ve,isDisabled:Pe,isSelected:Je,key:H,label:at,type:F,value:yt,isFocused:xt,innerRef:xt?a.getFocusedOptionRef:void 0}),a.formatOptionLabel(Me.data,"menu"))},de;if(this.hasOptions())de=this.getCategorizedOptions().map(function(pe){if(pe.type==="group"){var Me=pe.data,ke=pe.options,F=pe.index,Ve="".concat(a.getElementId("group"),"-").concat(F),Pe="".concat(Ve,"-heading");return te.createElement(u,ee({},_,{key:Ve,data:Me,options:ke,Heading:l,headingProps:{id:Pe,data:pe.data},label:a.formatGroupLabel(pe.data)}),pe.options.map(function(Je){return Ce(Je,"".concat(F,"-").concat(Je.index))}))}else if(pe.type==="option")return Ce(pe,"".concat(pe.index))});else if(S){var Ye=T({inputValue:I});if(Ye===null)return null;de=te.createElement(p,_,Ye)}else{var Oe=K({inputValue:I});if(Oe===null)return null;de=te.createElement(b,_,Oe)}var ue={minMenuHeight:D,maxMenuHeight:x,menuPlacement:P,menuPosition:R,menuShouldScrollIntoView:ne},We=te.createElement(Xl,ee({},_,ue),function(pe){var Me=pe.ref,ke=pe.placerProps,F=ke.placement,Ve=ke.maxHeight;return te.createElement(d,ee({},_,ue,{innerRef:Me,innerProps:{onMouseDown:a.onMenuMouseDown,onMouseMove:a.onMenuMouseMove,id:a.getElementId("listbox")},isLoading:S,placement:F}),te.createElement(a0,{captureEnabled:C,onTopArrive:B,onBottomArrive:re,lockEnabled:z},function(Pe){return te.createElement(h,ee({},_,{innerRef:function(at){a.getMenuListRef(at),Pe(at)},isLoading:S,maxHeight:Ve,focusedOption:k}),de)}))});return L||R==="fixed"?te.createElement(m,ee({},_,{appendTo:L,controlElement:this.controlRef,menuPlacement:P,menuPosition:R}),We):We}},{key:"renderFormField",value:function(){var a=this,i=this.props,u=i.delimiter,l=i.isDisabled,d=i.isMulti,h=i.name,m=this.state.selectValue;if(!(!h||l))if(d)if(u){var p=m.map(function(_){return a.getOptionValue(_)}).join(u);return te.createElement("input",{name:h,type:"hidden",value:p})}else{var b=m.length>0?m.map(function(_,k){return te.createElement("input",{key:"i-".concat(k),name:h,type:"hidden",value:a.getOptionValue(_)})}):te.createElement("input",{name:h,type:"hidden"});return te.createElement("div",null,b)}else{var w=m[0]?this.getOptionValue(m[0]):"";return te.createElement("input",{name:h,type:"hidden",value:w})}}},{key:"renderLiveRegion",value:function(){var a=this.commonProps,i=this.state,u=i.ariaSelection,l=i.focusedOption,d=i.focusedValue,h=i.isFocused,m=i.selectValue,p=this.getFocusableOptions();return te.createElement(Zy,ee({},a,{id:this.getElementId("live-region"),ariaSelection:u,focusedOption:l,focusedValue:d,isFocused:h,selectValue:m,focusableOptions:p}))}},{key:"render",value:function(){var a=this.getComponents(),i=a.Control,u=a.IndicatorsContainer,l=a.SelectContainer,d=a.ValueContainer,h=this.props,m=h.className,p=h.id,b=h.isDisabled,w=h.menuIsOpen,_=this.state.isFocused,k=this.commonProps=this.getCommonProps();return te.createElement(l,ee({},k,{className:m,innerProps:{id:p,onKeyDown:this.onKeyDown},isDisabled:b,isFocused:_}),this.renderLiveRegion(),te.createElement(i,ee({},k,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:b,isFocused:_,menuIsOpen:w}),te.createElement(d,ee({},k,{isDisabled:b}),this.renderPlaceholderOrValue(),this.renderInput()),te.createElement(u,ee({},k,{isDisabled:b}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(a,i){var u=i.prevProps,l=i.clearFocusValueOnUpdate,d=i.inputIsHiddenAfterUpdate,h=i.ariaSelection,m=i.isFocused,p=i.prevWasFocused,b=a.options,w=a.value,_=a.menuIsOpen,k=a.inputValue,v=a.isMulti,C=Pu(w),I={};if(u&&(w!==u.value||b!==u.options||_!==u.menuIsOpen||k!==u.inputValue)){var S=_?p0(a,C):[],T=l?b0(i,C):null,D=y0(i,S);I={selectValue:C,focusedOption:D,focusedValue:T,clearFocusValueOnUpdate:!1}}var x=d!=null&&a!==u?{inputIsHidden:d,inputIsHiddenAfterUpdate:void 0}:{},Y=h,P=m&&p;return m&&!P&&(Y={value:Da(v,C,C[0]||null),options:C,action:"initial-input-focus"},P=!p),(h==null?void 0:h.action)==="initial-input-focus"&&(Y=null),Ze(Ze(Ze({},I),x),{},{prevProps:a,ariaSelection:Y,prevWasFocused:P})}}]),n}(y.Component);mc.defaultProps=g0;var _0=y.forwardRef(function(e,t){var n=Wy(e);return te.createElement(mc,ee({ref:t},n))});const w0=_0,M0=e=>_i.DropdownIndicator&&E.jsx(_i.DropdownIndicator,{...e,children:E.jsx(ct.IconArrowDropDown,{width:"24px",height:"24px",fill:"var(--color-primary-text-on-light)"})}),x0=({label:e,...t},n)=>{const r=y.useRef(null);return y.useImperativeHandle(n,()=>({setValue:a=>{var i;return(i=r.current)==null?void 0:i.select.setValue(a)}})),E.jsxs(I0,{isDisabled:t.isDisabled,children:[!!e&&E.jsx(bc,{children:E.jsx(he.BodyUI,{bold:!0,color:"var(--color-primary-text-on-light)",children:e})}),E.jsx(pc,{classNamePrefix:"dropdown",components:{DropdownIndicator:M0,...t.components},hideOnMobile:t.hideOnMobile,ref:r,...t})]})},gc=V.css`
|
|
140
140
|
min-width: 200px;
|
|
141
141
|
width: auto;
|
|
142
142
|
|
|
143
|
-
font-family: ${
|
|
143
|
+
font-family: ${he.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: ${he.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 ${Wi.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
|
+
`,pc=V(w0)`
|
|
238
|
+
${gc}
|
|
239
|
+
`,bc=V.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
|
+
`,I0=V.div`
|
|
245
|
+
${({isDisabled:e})=>e&&` ${bc},
|
|
246
|
+
${pc} {
|
|
247
247
|
opacity: 0.4;
|
|
248
248
|
}
|
|
249
249
|
`}
|
|
250
|
-
`,
|
|
250
|
+
`,ro=y.forwardRef(x0),k0=y.forwardRef(({color:e="var(--color-active-primary)",hoverColor:t="var(--color-active-darken10)",underline:n=!1,children:r,...a},i)=>E.jsx(yc,{ref:i,as:"a",color:e,hoverColor:t,underline:n,...a,children:r})),D0=y.forwardRef(({color:e="var(--color-active-primary)",hoverColor:t="var(--color-active-darken10)",underline:n=!1,children:r,...a},i)=>E.jsx(yc,{ref:i,as:"a",target:"_blank",rel:"nofollow noopener",color:e,hoverColor:t,underline:n,...a,children:r})),yc=V(he.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
|
+
`,S0=({label:e,subtitle:t,description:n,tabIndex:r,id:a,disabled:i,checked:u,defaultChecked:l,required:d,onChange:h,background:m,"data-tip":p,"data-tooltip-content":b,"data-tooltip-id":w,"data-testid":_,"aria-label":k,...v})=>{const C=y.useRef(null),I=y.useCallback(Y=>{if(!i&&(Y.preventDefault(),C.current)){const P=!C.current.checked;C.current.ariaChecked=P.toString(),C.current.checked=P;const R={...Y,target:{...C.current,checked:P,id:x}};typeof h=="function"&&h(R,P)}},[h]),S=y.useCallback(Y=>{Y.target instanceof HTMLElement&&Y.target.closest("a")||I(Y)},[h,i]),T=y.useCallback(Y=>{Y.key.match(/enter|spacebar|\W{1}/i)&&I(Y)},[I]),D=y.useCallback(Y=>{i||typeof h=="function"&&h(Y,Y.target.checked)},[h,i]),x=y.useMemo(()=>a||En(),[a]);return E.jsxs(A0,{background:m,children:[E.jsx(C0,{"aria-hidden":"true",onChange:D,onKeyDown:T,ref:C,type:"checkbox",tabIndex:-1,disabled:i,checked:u,defaultChecked:l,required:d,id:x,"data-testid":_,"aria-describedby":n?`${x}_description`:void 0}),E.jsx(Na,{type:"button",role:"switch","aria-checked":u||l||!1,"aria-label":k||(typeof e=="string"?e:void 0),onKeyDown:T,onClick:I,disabled:i,background:m,...v}),e&&E.jsxs(Y0,{children:[E.jsxs(O0,{children:[e&&E.jsx(N0,{bold:!0,htmlFor:x,"data-tooltip-content":b||p,"data-tooltip-id":w,onClick:S,children:e}),t&&E.jsx(T0,{children:t})]}),n&&E.jsx(E0,{id:`${x}_description`,children:n})]})]})},C0=V.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
|
+
`,Na=V.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
|
+
`,Y0=V.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
|
+
`,O0=V.div`
|
|
317
317
|
display: flex;
|
|
318
318
|
gap: var(--space-sm, 8px);
|
|
319
|
-
`,
|
|
319
|
+
`,T0=V(he.BodyUI)`
|
|
320
320
|
color: var(--color-secondary-text-on-light, #2b313b);
|
|
321
321
|
font-size: 12px;
|
|
322
|
-
`,
|
|
322
|
+
`,E0=V(he.BodyUI)`
|
|
323
323
|
color: var(--color-primary-text-on-light, #2b313b);
|
|
324
|
-
`,
|
|
324
|
+
`,N0=V(he.BodyUI).attrs({as:"label"})`
|
|
325
325
|
cursor: pointer;
|
|
326
326
|
color: var(--color-primary-text-on-light, #2b313b);
|
|
327
|
-
`,
|
|
327
|
+
`,A0=V.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 + ${Na} {
|
|
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 + ${Na}: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 + ${Na} {
|
|
359
359
|
cursor: not-allowed;
|
|
360
360
|
border-color: transparent;
|
|
361
361
|
background-color: var(--color-disabled-text-on-light);
|
|
362
362
|
}
|
|
363
|
-
`,
|
|
363
|
+
`,vc=({label:e,subtitle:t,description:n,indeterminate:r,onChange:a,style:i,disabled:u,checked:l,id:d,background:h,"data-tip":m,"data-tooltip-content":p,"data-tooltip-id":b,"data-testid":w,..._})=>{const k=y.useRef(null),v=y.useMemo(()=>d||En(),[d]);y.useEffect(()=>{k.current&&(k.current.indeterminate=r||!1)},[r]);const C=y.useCallback(T=>{if(!k.current||u||T.target instanceof HTMLElement&&T.target.closest("a"))return;T.preventDefault();const D=!k.current.checked;if(k.current.checked=D,k.current.ariaChecked=D?"true":"false",typeof a=="function"){const x={...T,target:{...k.current,checked:D,id:v}};a(x,D)}},[u,v,a]),I=y.useCallback(T=>{!T.key.match(/enter|spacebar|\W{1}/i)||!k.current||(T.preventDefault(),C(T))},[a]),S=y.useCallback(T=>{typeof a=="function"&&!u&&a(T,T.target.checked)},[u,a]);return E.jsxs(B0,{style:i,background:h,children:[E.jsx("input",{ref:k,onChange:S,onKeyDown:I,type:"checkbox",tabIndex:-1,disabled:u,checked:l,"aria-checked":r?"mixed":l,"aria-disabled":u,"aria-describedby":n?`${v}_description`:void 0,"data-testid":w,id:v,..._}),r?E.jsx(Gn,{onClick:C,onKeyDown:I,tabIndex:0,"aria-disabled":u,background:h,"data-testid":`${w}-span-checkbox`,..._,children:E.jsx(P0,{})}):E.jsx(Cn,{onClick:C,onKeyDown:I,tabIndex:0,"aria-disabled":u,background:h,"data-testid":`${w}-span-checkbox`,..._,children:E.jsx(W0,{})}),e&&E.jsxs(F0,{children:[E.jsxs(R0,{children:[e&&E.jsx(V0,{onClick:C,bold:!0,htmlFor:v,"data-tooltip-content":p||m,"data-tooltip-id":b,children:e}),t&&E.jsx(G0,{children:t})]}),n&&E.jsx(L0,{id:`${v}_description`,children:n})]})]})},Cn=V.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
|
+
`,Gn=V(Cn)``,W0=V(ct.IconCheck)`
|
|
389
389
|
display: none;
|
|
390
390
|
fill: var(--color-surface);
|
|
391
391
|
width: 16px;
|
|
392
392
|
height: 16px;
|
|
393
|
-
`,
|
|
393
|
+
`,P0=V(ct.IconRemove)`
|
|
394
394
|
position: absolute;
|
|
395
395
|
fill: var(--color-surface);
|
|
396
396
|
width: 16px;
|
|
397
397
|
height: 16px;
|
|
398
|
-
`,
|
|
398
|
+
`,F0=V.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
|
+
`,R0=V.div`
|
|
404
404
|
display: flex;
|
|
405
405
|
gap: var(--space-sm, 8px);
|
|
406
|
-
`,
|
|
406
|
+
`,G0=V(he.BodyUI)`
|
|
407
407
|
color: var(--color-secondary-text-on-light, #2b313b);
|
|
408
408
|
font-size: 12px;
|
|
409
|
-
`,
|
|
409
|
+
`,L0=V(he.BodyUI)`
|
|
410
410
|
color: var(--color-primary-text-on-light, #2b313b);
|
|
411
|
-
|
|
411
|
+
`,V0=V(he.BodyUI).attrs({as:"label"})`
|
|
412
412
|
cursor: pointer;
|
|
413
413
|
color: var(--color-primary-text-on-light, #2b313b);
|
|
414
|
-
`,
|
|
414
|
+
`,B0=V.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 + ${Cn}, input + ${Gn} {
|
|
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 + ${Cn} > svg,
|
|
436
|
+
input + ${Gn} > svg {
|
|
437
437
|
display: block;
|
|
438
438
|
}
|
|
439
439
|
|
|
440
|
-
input:disabled + ${
|
|
440
|
+
input:disabled + ${Cn}, input:disabled + ${Gn} {
|
|
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
|
+
+ ${Cn},
|
|
447
447
|
input:disabled
|
|
448
|
-
+ ${
|
|
448
|
+
+ ${Gn} {
|
|
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
|
+
${Cn}, ${Gn} {
|
|
462
462
|
border-color: ${({background:e})=>e||"var(--color-stroke-darken)"};
|
|
463
463
|
}
|
|
464
464
|
|
|
465
465
|
input:checked:not(:disabled)
|
|
466
|
-
+ ${
|
|
466
|
+
+ ${Cn},
|
|
467
467
|
input:not(:disabled)
|
|
468
|
-
+ ${
|
|
468
|
+
+ ${Gn} {
|
|
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
|
+
`,H0=e=>e.map(t=>wl(t)?{label:t,value:t}:t),j0=e=>(t,n)=>{const r=e.findIndex(i=>i.value===t),a=e.findIndex(i=>i.value===n);return r-a},Z0=e=>Ml(e).map(({props:t})=>t),X0=e=>e.filter(({defaultChecked:t})=>t).map(({value:t})=>t),z0="[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.",U0="[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.",$0=({value:e,disabled:t,name:n,children:r,className:a,options:i,onChange:u,defaultValue:l})=>{Ri(r&&i,z0);const d=y.useMemo(()=>r?Z0(r):H0(i||[]),[r,i]),h=y.useMemo(()=>{const _=X0(d),k=!!_.length;return k&&l&&Qa(U0),k?_:l},[d,l]),[m,p]=y.useState(e||h||[]);y.useEffect(()=>{e&&p(e)},[e]);const b=_=>m.includes(_),w=(_,k,v)=>{_.onChange&&_.onChange(k,v);const I=(v?[...m,_.value]:m.filter(S=>S!==_.value)).sort(j0(d));p(I),u&&u(I)};return E.jsx(J0,{className:a,children:d.map(_=>E.jsx("li",{children:E.jsx(vc,{label:_.label,background:_.background,name:n,disabled:_.disabled||t||!1,checked:b(_.value),onChange:(k,v)=>w(_,k,v)})},_.value))})},J0=V.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
|
+
`,_c=({label:e=null,subtitle:t,description:n,background:r,id:a,onChange:i,disabled:u=!1,"data-testid":l,...d})=>{const[h]=y.useState(()=>a||`radio_${En()}`),m=y.useCallback(_=>{if(u)return;_.preventDefault();const k={..._,target:{..._.target,checked:!0,id:h}};typeof i=="function"&&i(k,!0)},[h,i,u]),p=y.useCallback(_=>{_.target instanceof HTMLElement&&_.target.closest("a")||m(_)},[m]),b=y.useCallback(_=>{_.key.match(/enter|spacebar|\W{1}/i)&&(_.preventDefault(),m(_))},[m]),w=y.useCallback(_=>{u||typeof i=="function"&&i(_,_.target.checked)},[i,u]);return E.jsxs(nv,{background:r,disabled:u,children:[E.jsx("input",{type:"radio","aria-describedby":n?`${h}_description`:void 0,onChange:w,...d,disabled:u,id:h,onKeyDown:b,"data-testid":l}),E.jsx(Rr,{onClick:m,onKeyDown:b,background:r}),e&&E.jsxs(Q0,{children:[E.jsxs(q0,{children:[e&&E.jsx(tv,{bold:!0,htmlFor:h,"data-tooltip-content":d["data-tooltip-content"]||d["data-tip"],"data-tooltip-id":d["data-tooltip-id"],onClick:p,children:e}),t&&E.jsx(K0,{children:t})]}),n&&E.jsx(ev,{id:`${h}_description`,children:n})]})]})};_c.propTypes={label:Se.node,subtitle:Se.node,description:Se.node,disabled:Se.bool};const Rr=V.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
|
+
`,Q0=V.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
|
+
`,q0=V.div`
|
|
511
511
|
display: flex;
|
|
512
512
|
gap: var(--space-sm, 8px);
|
|
513
|
-
`,
|
|
513
|
+
`,K0=V(he.BodyUI)`
|
|
514
514
|
color: var(--color-secondary-text-on-light, #2b313b);
|
|
515
515
|
font-size: 12px;
|
|
516
|
-
`,
|
|
516
|
+
`,ev=V(he.BodyUI)`
|
|
517
517
|
color: var(--color-primary-text-on-light, #2b313b);
|
|
518
|
-
`,
|
|
518
|
+
`,tv=V(he.BodyUI).attrs({as:"label"})`
|
|
519
519
|
cursor: pointer;
|
|
520
520
|
color: var(--color-primary-text-on-light, #2b313b);
|
|
521
|
-
`,
|
|
521
|
+
`,nv=V.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) + ${Rr} {
|
|
539
539
|
border-color: ${({background:e})=>e||"var(--color-stroke-darken)"};
|
|
540
540
|
}
|
|
541
|
-
input:checked:not(:disabled) + ${
|
|
541
|
+
input:checked:not(:disabled) + ${Rr} {
|
|
542
542
|
border-color: ${({background:e})=>e||"var(--color-active-primary)"};
|
|
543
543
|
}
|
|
544
544
|
}
|
|
545
545
|
|
|
546
|
-
input:checked + ${
|
|
546
|
+
input:checked + ${Rr} {
|
|
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 + ${Rr} {
|
|
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
|
+
`,Sa={success:"var(--color-success-primary, #00a372)",error:"var(--color-alert-primary, #da3939)",default:"var(--color-secondary-text-on-light, #4a5464)"},rv=({id:e,cols:t,rows:n,label:r,description:a,required:i,readOnly:u,disabled:l,state:d,errorMessage:h,hintText:m,maxHeight:p,...b})=>{const[w]=y.useState(()=>e||En()),_=r?{"aria-labelledby":e}:{},k=y.useRef(null),v=[a?`${w}-description`:"",m?`${w}-hint-message`:"",d==="error"&&h?`${w}-error-message`:""].join(" ");y.useEffect(()=>{k.current&&(k.current.style.height=`${Math.min(k.current.scrollHeight,p||9999)}px`)},[p]);const C=I=>{if(b.autoHeight){const{target:S}=I;S.style.height="inherit",S.style.height=`${S.scrollHeight}px`}typeof b.onChange=="function"&&b.onChange(I)};return E.jsxs(sv,{isDisabled:l||!1,children:[!!r&&E.jsxs(wc,{children:[E.jsx(av,{bold:!0,htmlFor:w,isRequired:i||!1,children:r}),a&&E.jsx(he.BodyUI,{id:`${w}-description`,color:"var(--color-secondary-text-on-light, #4a5464)",children:a})]}),E.jsx(Mc,{title:r||"Styled input",state:d||"default",id:w,disabled:l,readOnly:u,ref:k,cols:t,rows:n,...a?{"aria-describedby":v}:{},..._,...b,style:{...b.style,maxHeight:p},onChange:C}),m&&E.jsxs(xi,{id:`${w}-hint-message`,children:[E.jsx(Qu,{fill:"var(--color-hint-text-on-light, #68778d)"}),E.jsx(he.TinyText,{color:"var(--color-secondary-text-on-light, #4a5464)",children:m})]}),d==="error"&&h&&E.jsxs(xi,{id:`${w}-error-message`,children:[E.jsx(Qu,{fill:"var(--color-alert-primary, #da3939)"}),E.jsx(he.TinyText,{color:"var(--color-alert-primary, #da3939)",children:h})]})]})},Qu=V(ct.IconAlertCircleOutline)`
|
|
572
572
|
width: 13px;
|
|
573
573
|
height: 13px;
|
|
574
|
-
`,
|
|
574
|
+
`,xi=V.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
|
+
`,av=V(he.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
|
+
`,wc=V.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
|
+
`,Mc=V.textarea`
|
|
595
595
|
::placeholder {
|
|
596
|
-
font-family: ${
|
|
596
|
+
font-family: ${he.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: ${he.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)":Sa[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)":Sa[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)":Sa[e]} !important;
|
|
633
633
|
}
|
|
634
634
|
|
|
635
635
|
:disabled {
|
|
@@ -642,53 +642,80 @@ 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"})=>Sa[e]};
|
|
646
|
+
`,sv=V.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
|
+
${wc},
|
|
653
|
+
${Mc},
|
|
654
|
+
${xi} {
|
|
655
655
|
opacity: 0.4;
|
|
656
656
|
}
|
|
657
657
|
`}
|
|
658
|
-
`,
|
|
658
|
+
`,xc=({text:e,closeCallback:t,isUppercase:n=!1,closeIconAriaLabel:r,...a})=>{const[i,u]=y.useState(!0),l=()=>{u(!1),typeof t=="function"&&t()},d=h=>{(h.key==="Enter"||h.key===" ")&&l()};return i&&y.createElement(iv,{...a},y.createElement(uv,{bold:!0,uppercase:n},e),y.createElement(ov,{onClick:l,role:"button",tabIndex:"0",onKeyDown:d,"aria-label":r||"Close tag"},y.createElement(ct.IconClose,{width:"16px",height:"16px"})))};xc.propTypes={text:Se.node.isRequired,closeCallback:Se.func,isUppercase:Se.bool,closeIconAriaLabel:Se.string};const iv=V.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
|
+
`,ov=V.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
|
+
`,uv=V(he.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
|
+
`,Ic=({text:e,isFilled:t,color:n=$t.active,applyCustomStylings:r})=>y.createElement(lv,{color:n,isFilled:t},r?r(e):y.createElement(he.TinyText,{color:t?$t.white:n,uppercase:!0,bold:!0},e)),lv=V.span`
|
|
678
678
|
display: inline-block;
|
|
679
|
-
background: ${({color:e,isFilled:t})=>t?e
|
|
679
|
+
background: ${({color:e,isFilled:t})=>t?e:$t.toBgLight(e)};
|
|
680
680
|
padding: 4px 8px;
|
|
681
681
|
border-radius: 100px;
|
|
682
|
-
`;$s.propTypes={text:fe.node.isRequired,isFilled:fe.bool,color:fe.string,applyCustomStylings:fe.func};function bm(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 na={},wn={};function jt(e,t){try{const r=(na[e]||(na[e]=new Intl.DateTimeFormat("en-US",{timeZone:e,timeZoneName:"longOffset"}).format))(t).split("GMT")[1];return r in wn?wn[r]:Ci(r,r.split(":"))}catch{if(e in wn)return wn[e];const n=e==null?void 0:e.match(ym);return n?Ci(e,n.slice(1)):NaN}}const ym=/([+-]\d\d):?(\d\d)?/;function Ci(e,t){const n=+(t[0]||0),r=+(t[1]||0),a=+(t[2]||0)/60;return wn[e]=n*60+r>0?n*60+r+a:n*60-r-a}class bt extends Date{constructor(...t){super(),t.length>1&&typeof t[t.length-1]=="string"&&(this.timeZone=t.pop()),this.internal=new Date,isNaN(jt(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)),Us(this),ka(this)):this.setTime(Date.now())}static tz(t,...n){return n.length?new bt(...n,t):new bt(Date.now(),t)}withTimeZone(t){return new bt(+this,t)}getTimezoneOffset(){const t=-jt(this.timeZone,this);return t>0?Math.floor(t):Math.ceil(t)}setTime(t){return Date.prototype.setTime.apply(this,arguments),ka(this),+this}[Symbol.for("constructDateFrom")](t){return new bt(+new Date(t),this.timeZone)}}const wi=/^(get|set)(?!UTC)/;Object.getOwnPropertyNames(Date.prototype).forEach(e=>{if(!wi.test(e))return;const t=e.replace(wi,"$1UTC");bt.prototype[t]&&(e.startsWith("get")?bt.prototype[e]=function(){return this.internal[t]()}:(bt.prototype[e]=function(){return Date.prototype[t].apply(this.internal,arguments),vm(this),+this},bt.prototype[t]=function(){return Date.prototype[t].apply(this,arguments),ka(this),+this}))});function ka(e){e.internal.setTime(+e),e.internal.setUTCSeconds(e.internal.getUTCSeconds()-Math.round(-jt(e.timeZone,e)*60))}function vm(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()),Us(e)}function Us(e){const t=jt(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(),o=-new Date(+r).getTimezoneOffset(),i=a-o,s=Date.prototype.getHours.apply(e)!==e.internal.getUTCHours();i&&s&&e.internal.setUTCMinutes(e.internal.getUTCMinutes()+i);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(-(jt(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 h=jt(e.timeZone,e),g=h>0?Math.floor(h):Math.ceil(h),v=-new Date(+e).getTimezoneOffset()-g,p=g!==n,I=v-u;if(p&&I){Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+I);const y=jt(e.timeZone,e),C=y>0?Math.floor(y):Math.ceil(y),M=g-C;M&&(e.internal.setUTCMinutes(e.internal.getUTCMinutes()+M),Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+M))}}class Ge extends bt{static tz(t,...n){return n.length?new Ge(...n,t):new Ge(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} (${bm(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 Ge(+this,t)}[Symbol.for("constructDateFrom")](t){return new Ge(+new Date(t),this.timeZone)}}const Js=6048e5,xm=864e5,Mi=Symbol.for("constructDateFrom");function Ae(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&Mi in e?e[Mi](t):e instanceof Date?new e.constructor(t):new Date(t)}function he(e,t){return Ae(t||e,e)}function Qs(e,t,n){const r=he(e,n==null?void 0:n.in);return isNaN(t)?Ae((n==null?void 0:n.in)||e,NaN):(t&&r.setDate(r.getDate()+t),r)}function qs(e,t,n){const r=he(e,n==null?void 0:n.in);if(isNaN(t))return Ae((n==null?void 0:n.in)||e,NaN);if(!t)return r;const a=r.getDate(),o=Ae((n==null?void 0:n.in)||e,r.getTime());o.setMonth(r.getMonth()+t+1,0);const i=o.getDate();return a>=i?o:(r.setFullYear(o.getFullYear(),o.getMonth(),a),r)}let Im={};function Rn(){return Im}function ln(e,t){var s,u,l,c;const n=Rn(),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=he(e,t==null?void 0:t.in),o=a.getDay(),i=(o<r?7:0)+o-r;return a.setDate(a.getDate()-i),a.setHours(0,0,0,0),a}function Tn(e,t){return ln(e,{...t,weekStartsOn:1})}function Ks(e,t){const n=he(e,t==null?void 0:t.in),r=n.getFullYear(),a=Ae(n,0);a.setFullYear(r+1,0,4),a.setHours(0,0,0,0);const o=Tn(a),i=Ae(n,0);i.setFullYear(r,0,4),i.setHours(0,0,0,0);const s=Tn(i);return n.getTime()>=o.getTime()?r+1:n.getTime()>=s.getTime()?r:r-1}function Si(e){const t=he(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 hn(e,...t){const n=Ae.bind(null,e||t.find(r=>typeof r=="object"));return t.map(n)}function Fn(e,t){const n=he(e,t==null?void 0:t.in);return n.setHours(0,0,0,0),n}function io(e,t,n){const[r,a]=hn(n==null?void 0:n.in,e,t),o=Fn(r),i=Fn(a),s=+o-Si(o),u=+i-Si(i);return Math.round((s-u)/xm)}function Cm(e,t){const n=Ks(e,t),r=Ae((t==null?void 0:t.in)||e,0);return r.setFullYear(n,0,4),r.setHours(0,0,0,0),Tn(r)}function wm(e,t,n){return Qs(e,t*7,n)}function Mm(e,t,n){return qs(e,t*12,n)}function Sm(e,t){let n,r=t==null?void 0:t.in;return e.forEach(a=>{!r&&typeof a=="object"&&(r=Ae.bind(null,a));const o=he(a,r);(!n||n<o||isNaN(+o))&&(n=o)}),Ae(r,n||NaN)}function Dm(e,t){let n,r=t==null?void 0:t.in;return e.forEach(a=>{!r&&typeof a=="object"&&(r=Ae.bind(null,a));const o=he(a,r);(!n||n>o||isNaN(+o))&&(n=o)}),Ae(r,n||NaN)}function km(e,t,n){const[r,a]=hn(n==null?void 0:n.in,e,t);return+Fn(r)==+Fn(a)}function eu(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function Em(e){return!(!eu(e)&&typeof e!="number"||isNaN(+he(e)))}function tu(e,t,n){const[r,a]=hn(n==null?void 0:n.in,e,t),o=r.getFullYear()-a.getFullYear(),i=r.getMonth()-a.getMonth();return o*12+i}function Om(e,t){const n=he(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 nu(e,t){const[n,r]=hn(e,t.start,t.end);return{start:n,end:r}}function Am(e,t){const{start:n,end:r}=nu(t==null?void 0:t.in,e);let a=+n>+r;const o=a?+n:+r,i=a?r:n;i.setHours(0,0,0,0),i.setDate(1);let s=(t==null?void 0:t.step)??1;if(!s)return[];s<0&&(s=-s,a=!a);const u=[];for(;+i<=o;)u.push(Ae(n,i)),i.setMonth(i.getMonth()+s);return a?u.reverse():u}function Nm(e,t){const n=he(e,t==null?void 0:t.in);return n.setDate(1),n.setHours(0,0,0,0),n}function Tm(e,t){const n=he(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 ru(e,t){const n=he(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}=nu(t==null?void 0:t.in,e);let a=+n>+r;const o=a?+n:+r,i=a?r:n;i.setHours(0,0,0,0),i.setMonth(0,1);let s=(t==null?void 0:t.step)??1;if(!s)return[];s<0&&(s=-s,a=!a);const u=[];for(;+i<=o;)u.push(Ae(n,i)),i.setFullYear(i.getFullYear()+s);return a?u.reverse():u}function au(e,t){var s,u,l,c;const n=Rn(),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=he(e,t==null?void 0:t.in),o=a.getDay(),i=(o<r?-7:0)+6-(o-r);return a.setDate(a.getDate()+i),a.setHours(23,59,59,999),a}function Wm(e,t){return au(e,{...t,weekStartsOn:1})}const _m={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"}},Pm=(e,t,n)=>{let r;const a=_m[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 ra(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const Gm={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Ym={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Rm={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Bm={date:ra({formats:Gm,defaultWidth:"full"}),time:ra({formats:Ym,defaultWidth:"full"}),dateTime:ra({formats:Rm,defaultWidth:"full"})},Vm={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Hm=(e,t,n,r)=>Vm[e];function yn(e){return(t,n)=>{const r=n!=null&&n.context?String(n.context):"standalone";let a;if(r==="formatting"&&e.formattingValues){const i=e.defaultFormattingWidth||e.defaultWidth,s=n!=null&&n.width?String(n.width):i;a=e.formattingValues[s]||e.formattingValues[i]}else{const i=e.defaultWidth,s=n!=null&&n.width?String(n.width):e.defaultWidth;a=e.values[s]||e.values[i]}const o=e.argumentCallback?e.argumentCallback(t):t;return a[o]}}const Xm={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Zm={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},jm={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"]},Lm={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"]},zm={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"}},$m={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"}},Um=(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"},Jm={ordinalNumber:Um,era:yn({values:Xm,defaultWidth:"wide"}),quarter:yn({values:Zm,defaultWidth:"wide",argumentCallback:e=>e-1}),month:yn({values:jm,defaultWidth:"wide"}),day:yn({values:Lm,defaultWidth:"wide"}),dayPeriod:yn({values:zm,defaultWidth:"wide",formattingValues:$m,defaultFormattingWidth:"wide"})};function vn(e){return(t,n={})=>{const r=n.width,a=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],o=t.match(a);if(!o)return null;const i=o[0],s=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(s)?qm(s,d=>d.test(i)):Qm(s,d=>d.test(i));let l;l=e.valueCallback?e.valueCallback(u):u,l=n.valueCallback?n.valueCallback(l):l;const c=t.slice(i.length);return{value:l,rest:c}}}function Qm(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function qm(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}function Km(e){return(t,n={})=>{const r=t.match(e.matchPattern);if(!r)return null;const a=r[0],o=t.match(e.parsePattern);if(!o)return null;let i=e.valueCallback?e.valueCallback(o[0]):o[0];i=n.valueCallback?n.valueCallback(i):i;const s=t.slice(a.length);return{value:i,rest:s}}}const eg=/^(\d+)(th|st|nd|rd)?/i,tg=/\d+/i,ng={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},rg={any:[/^b/i,/^(a|c)/i]},ag={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},og={any:[/1/i,/2/i,/3/i,/4/i]},ig={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},sg={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]},ug={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},lg={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]},cg={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},dg={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}},fg={ordinalNumber:Km({matchPattern:eg,parsePattern:tg,valueCallback:e=>parseInt(e,10)}),era:vn({matchPatterns:ng,defaultMatchWidth:"wide",parsePatterns:rg,defaultParseWidth:"any"}),quarter:vn({matchPatterns:ag,defaultMatchWidth:"wide",parsePatterns:og,defaultParseWidth:"any",valueCallback:e=>e+1}),month:vn({matchPatterns:ig,defaultMatchWidth:"wide",parsePatterns:sg,defaultParseWidth:"any"}),day:vn({matchPatterns:ug,defaultMatchWidth:"wide",parsePatterns:lg,defaultParseWidth:"any"}),dayPeriod:vn({matchPatterns:cg,defaultMatchWidth:"any",parsePatterns:dg,defaultParseWidth:"any"})},Kt={code:"en-US",formatDistance:Pm,formatLong:Bm,formatRelative:Hm,localize:Jm,match:fg,options:{weekStartsOn:0,firstWeekContainsDate:1}};function hg(e,t){const n=he(e,t==null?void 0:t.in);return io(n,ru(n))+1}function so(e,t){const n=he(e,t==null?void 0:t.in),r=+Tn(n)-+Cm(n);return Math.round(r/Js)+1}function ou(e,t){var c,d,h,g;const n=he(e,t==null?void 0:t.in),r=n.getFullYear(),a=Rn(),o=(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??((g=(h=a.locale)==null?void 0:h.options)==null?void 0:g.firstWeekContainsDate)??1,i=Ae((t==null?void 0:t.in)||e,0);i.setFullYear(r+1,0,o),i.setHours(0,0,0,0);const s=ln(i,t),u=Ae((t==null?void 0:t.in)||e,0);u.setFullYear(r,0,o),u.setHours(0,0,0,0);const l=ln(u,t);return+n>=+s?r+1:+n>=+l?r:r-1}function mg(e,t){var s,u,l,c;const n=Rn(),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=ou(e,t),o=Ae((t==null?void 0:t.in)||e,0);return o.setFullYear(a,0,r),o.setHours(0,0,0,0),ln(o,t)}function uo(e,t){const n=he(e,t==null?void 0:t.in),r=+ln(n,t)-+mg(n,t);return Math.round(r/Js)+1}function de(e,t){const n=e<0?"-":"",r=Math.abs(e).toString().padStart(t,"0");return n+r}const Pt={y(e,t){const n=e.getFullYear(),r=n>0?n:1-n;return de(t==="yy"?r%100:r,t.length)},M(e,t){const n=e.getMonth();return t==="M"?String(n+1):de(n+1,2)},d(e,t){return de(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 de(e.getHours()%12||12,t.length)},H(e,t){return de(e.getHours(),t.length)},m(e,t){return de(e.getMinutes(),t.length)},s(e,t){return de(e.getSeconds(),t.length)},S(e,t){const n=t.length,r=e.getMilliseconds(),a=Math.trunc(r*Math.pow(10,n-3));return de(a,t.length)}},Jt={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Di={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 Pt.y(e,t)},Y:function(e,t,n,r){const a=ou(e,r),o=a>0?a:1-a;if(t==="YY"){const i=o%100;return de(i,2)}return t==="Yo"?n.ordinalNumber(o,{unit:"year"}):de(o,t.length)},R:function(e,t){const n=Ks(e);return de(n,t.length)},u:function(e,t){const n=e.getFullYear();return de(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 de(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 de(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 Pt.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 de(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=uo(e,r);return t==="wo"?n.ordinalNumber(a,{unit:"week"}):de(a,t.length)},I:function(e,t,n){const r=so(e);return t==="Io"?n.ordinalNumber(r,{unit:"week"}):de(r,t.length)},d:function(e,t,n){return t==="do"?n.ordinalNumber(e.getDate(),{unit:"date"}):Pt.d(e,t)},D:function(e,t,n){const r=hg(e);return t==="Do"?n.ordinalNumber(r,{unit:"dayOfYear"}):de(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(),o=(a-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(o);case"ee":return de(o,2);case"eo":return n.ordinalNumber(o,{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(),o=(a-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(o);case"cc":return de(o,t.length);case"co":return n.ordinalNumber(o,{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 de(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 Pt.h(e,t)},H:function(e,t,n){return t==="Ho"?n.ordinalNumber(e.getHours(),{unit:"hour"}):Pt.H(e,t)},K:function(e,t,n){const r=e.getHours()%12;return t==="Ko"?n.ordinalNumber(r,{unit:"hour"}):de(r,t.length)},k:function(e,t,n){let r=e.getHours();return r===0&&(r=24),t==="ko"?n.ordinalNumber(r,{unit:"hour"}):de(r,t.length)},m:function(e,t,n){return t==="mo"?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):Pt.m(e,t)},s:function(e,t,n){return t==="so"?n.ordinalNumber(e.getSeconds(),{unit:"second"}):Pt.s(e,t)},S:function(e,t){return Pt.S(e,t)},X:function(e,t,n){const r=e.getTimezoneOffset();if(r===0)return"Z";switch(t){case"X":return Ei(r);case"XXXX":case"XX":return Zt(r);case"XXXXX":case"XXX":default:return Zt(r,":")}},x:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"x":return Ei(r);case"xxxx":case"xx":return Zt(r);case"xxxxx":case"xxx":default:return Zt(r,":")}},O:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+ki(r,":");case"OOOO":default:return"GMT"+Zt(r,":")}},z:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+ki(r,":");case"zzzz":default:return"GMT"+Zt(r,":")}},t:function(e,t,n){const r=Math.trunc(+e/1e3);return de(r,t.length)},T:function(e,t,n){return de(+e,t.length)}};function ki(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),a=Math.trunc(r/60),o=r%60;return o===0?n+String(a):n+String(a)+t+de(o,2)}function Ei(e,t){return e%60===0?(e>0?"-":"+")+de(Math.abs(e)/60,2):Zt(e,t)}function Zt(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),a=de(Math.trunc(r/60),2),o=de(r%60,2);return n+a+t+o}const Oi=(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"})}},iu=(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"})}},gg=(e,t)=>{const n=e.match(/(P+)(p+)?/)||[],r=n[1],a=n[2];if(!a)return Oi(e,t);let o;switch(r){case"P":o=t.dateTime({width:"short"});break;case"PP":o=t.dateTime({width:"medium"});break;case"PPP":o=t.dateTime({width:"long"});break;case"PPPP":default:o=t.dateTime({width:"full"});break}return o.replace("{{date}}",Oi(r,t)).replace("{{time}}",iu(a,t))},pg={p:iu,P:gg},bg=/^D+$/,yg=/^Y+$/,vg=["D","DD","YY","YYYY"];function xg(e){return bg.test(e)}function Ig(e){return yg.test(e)}function Cg(e,t,n){const r=wg(e,t,n);if(console.warn(r),vg.includes(e))throw new RangeError(r)}function wg(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 Mg=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Sg=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Dg=/^'([^]*?)'?$/,kg=/''/g,Eg=/[a-zA-Z]/;function Mn(e,t,n){var c,d,h,g,m,v,p,I;const r=Rn(),a=(n==null?void 0:n.locale)??r.locale??Kt,o=(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??((g=(h=r.locale)==null?void 0:h.options)==null?void 0:g.firstWeekContainsDate)??1,i=(n==null?void 0:n.weekStartsOn)??((v=(m=n==null?void 0:n.locale)==null?void 0:m.options)==null?void 0:v.weekStartsOn)??r.weekStartsOn??((I=(p=r.locale)==null?void 0:p.options)==null?void 0:I.weekStartsOn)??0,s=he(e,n==null?void 0:n.in);if(!Em(s))throw new RangeError("Invalid time value");let u=t.match(Sg).map(y=>{const C=y[0];if(C==="p"||C==="P"){const M=pg[C];return M(y,a.formatLong)}return y}).join("").match(Mg).map(y=>{if(y==="''")return{isToken:!1,value:"'"};const C=y[0];if(C==="'")return{isToken:!1,value:Og(y)};if(Di[C])return{isToken:!0,value:y};if(C.match(Eg))throw new RangeError("Format string contains an unescaped latin alphabet character `"+C+"`");return{isToken:!1,value:y}});a.localize.preprocessor&&(u=a.localize.preprocessor(s,u));const l={firstWeekContainsDate:o,weekStartsOn:i,locale:a};return u.map(y=>{if(!y.isToken)return y.value;const C=y.value;(!(n!=null&&n.useAdditionalWeekYearTokens)&&Ig(C)||!(n!=null&&n.useAdditionalDayOfYearTokens)&&xg(C))&&Cg(C,t,String(e));const M=Di[C[0]];return M(s,C,a.localize,l)}).join("")}function Og(e){const t=e.match(Dg);return t?t[1].replace(kg,"'"):e}function Ag(e,t){const n=he(e,t==null?void 0:t.in),r=n.getFullYear(),a=n.getMonth(),o=Ae(n,0);return o.setFullYear(r,a+1,0),o.setHours(0,0,0,0),o.getDate()}function Ng(e,t){return he(e,t==null?void 0:t.in).getMonth()}function Tg(e,t){return he(e,t==null?void 0:t.in).getFullYear()}function Fg(e,t){return+he(e)>+he(t)}function Wg(e,t){return+he(e)<+he(t)}function _g(e,t,n){const[r,a]=hn(n==null?void 0:n.in,e,t);return r.getFullYear()===a.getFullYear()&&r.getMonth()===a.getMonth()}function Pg(e,t,n){const[r,a]=hn(n==null?void 0:n.in,e,t);return r.getFullYear()===a.getFullYear()}function Gg(e,t,n){const r=he(e,n==null?void 0:n.in),a=r.getFullYear(),o=r.getDate(),i=Ae((n==null?void 0:n.in)||e,0);i.setFullYear(a,t,15),i.setHours(0,0,0,0);const s=Ag(i);return r.setMonth(t,Math.min(o,s)),r}function Yg(e,t,n){const r=he(e,n==null?void 0:n.in);return isNaN(+r)?Ae((n==null?void 0:n.in)||e,NaN):(r.setFullYear(t),r)}const Ai=5,Rg=4;function Bg(e,t){const n=t.startOfMonth(e),r=n.getDay()>0?n.getDay():7,a=t.addDays(e,-r+1),o=t.addDays(a,Ai*7-1);return t.getMonth(e)===t.getMonth(o)?Ai:Rg}function su(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 Vg(e,t){const n=su(e,t),r=Bg(e,t);return t.addDays(n,r*7-1)}const uu={...Kt,labels:{labelDayButton:(e,t,n,r)=>{let a;r&&typeof r.format=="function"?a=r.format.bind(r):a=(i,s)=>Mn(i,s,{locale:Kt,...n});let o=a(e,"PPPP");return t.today&&(o=`Today, ${o}`),t.selected&&(o=`${o}, selected`),o},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,o)=>Mn(a,o,{locale:Kt,...t}),r(e,"LLLL yyyy")},labelGridcell:(e,t,n,r)=>{let a;r&&typeof r.format=="function"?a=r.format.bind(r):a=(i,s)=>Mn(i,s,{locale:Kt,...n});let o=a(e,"PPPP");return t!=null&&t.today&&(o=`Today, ${o}`),o},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,o)=>Mn(a,o,{locale:Kt,...t}),r(e,"cccc")}}};class tt{constructor(t,n){this.Date=Date,this.today=()=>{var r;return(r=this.overrides)!=null&&r.today?this.overrides.today():this.options.timeZone?Ge.tz(this.options.timeZone):new this.Date},this.newDate=(r,a,o)=>{var i;return(i=this.overrides)!=null&&i.newDate?this.overrides.newDate(r,a,o):this.options.timeZone?new Ge(r,a,o,this.options.timeZone):new Date(r,a,o)},this.addDays=(r,a)=>{var o;return(o=this.overrides)!=null&&o.addDays?this.overrides.addDays(r,a):Qs(r,a)},this.addMonths=(r,a)=>{var o;return(o=this.overrides)!=null&&o.addMonths?this.overrides.addMonths(r,a):qs(r,a)},this.addWeeks=(r,a)=>{var o;return(o=this.overrides)!=null&&o.addWeeks?this.overrides.addWeeks(r,a):wm(r,a)},this.addYears=(r,a)=>{var o;return(o=this.overrides)!=null&&o.addYears?this.overrides.addYears(r,a):Mm(r,a)},this.differenceInCalendarDays=(r,a)=>{var o;return(o=this.overrides)!=null&&o.differenceInCalendarDays?this.overrides.differenceInCalendarDays(r,a):io(r,a)},this.differenceInCalendarMonths=(r,a)=>{var o;return(o=this.overrides)!=null&&o.differenceInCalendarMonths?this.overrides.differenceInCalendarMonths(r,a):tu(r,a)},this.eachMonthOfInterval=r=>{var a;return(a=this.overrides)!=null&&a.eachMonthOfInterval?this.overrides.eachMonthOfInterval(r):Am(r)},this.eachYearOfInterval=r=>{var s;const a=(s=this.overrides)!=null&&s.eachYearOfInterval?this.overrides.eachYearOfInterval(r):Fm(r),o=new Set(a.map(u=>this.getYear(u)));if(o.size===a.length)return a;const i=[];return o.forEach(u=>{i.push(new Date(u,0,1))}),i},this.endOfBroadcastWeek=r=>{var a;return(a=this.overrides)!=null&&a.endOfBroadcastWeek?this.overrides.endOfBroadcastWeek(r):Vg(r,this)},this.endOfISOWeek=r=>{var a;return(a=this.overrides)!=null&&a.endOfISOWeek?this.overrides.endOfISOWeek(r):Wm(r)},this.endOfMonth=r=>{var a;return(a=this.overrides)!=null&&a.endOfMonth?this.overrides.endOfMonth(r):Om(r)},this.endOfWeek=(r,a)=>{var o;return(o=this.overrides)!=null&&o.endOfWeek?this.overrides.endOfWeek(r,a):au(r,this.options)},this.endOfYear=r=>{var a;return(a=this.overrides)!=null&&a.endOfYear?this.overrides.endOfYear(r):Tm(r)},this.format=(r,a,o)=>{var s;const i=(s=this.overrides)!=null&&s.format?this.overrides.format(r,a,this.options):Mn(r,a,this.options);return this.options.numerals&&this.options.numerals!=="latn"?this.replaceDigits(i):i},this.getISOWeek=r=>{var a;return(a=this.overrides)!=null&&a.getISOWeek?this.overrides.getISOWeek(r):so(r)},this.getMonth=(r,a)=>{var o;return(o=this.overrides)!=null&&o.getMonth?this.overrides.getMonth(r,this.options):Ng(r,this.options)},this.getYear=(r,a)=>{var o;return(o=this.overrides)!=null&&o.getYear?this.overrides.getYear(r,this.options):Tg(r,this.options)},this.getWeek=(r,a)=>{var o;return(o=this.overrides)!=null&&o.getWeek?this.overrides.getWeek(r,this.options):uo(r,this.options)},this.isAfter=(r,a)=>{var o;return(o=this.overrides)!=null&&o.isAfter?this.overrides.isAfter(r,a):Fg(r,a)},this.isBefore=(r,a)=>{var o;return(o=this.overrides)!=null&&o.isBefore?this.overrides.isBefore(r,a):Wg(r,a)},this.isDate=r=>{var a;return(a=this.overrides)!=null&&a.isDate?this.overrides.isDate(r):eu(r)},this.isSameDay=(r,a)=>{var o;return(o=this.overrides)!=null&&o.isSameDay?this.overrides.isSameDay(r,a):km(r,a)},this.isSameMonth=(r,a)=>{var o;return(o=this.overrides)!=null&&o.isSameMonth?this.overrides.isSameMonth(r,a):_g(r,a)},this.isSameYear=(r,a)=>{var o;return(o=this.overrides)!=null&&o.isSameYear?this.overrides.isSameYear(r,a):Pg(r,a)},this.max=r=>{var a;return(a=this.overrides)!=null&&a.max?this.overrides.max(r):Sm(r)},this.min=r=>{var a;return(a=this.overrides)!=null&&a.min?this.overrides.min(r):Dm(r)},this.setMonth=(r,a)=>{var o;return(o=this.overrides)!=null&&o.setMonth?this.overrides.setMonth(r,a):Gg(r,a)},this.setYear=(r,a)=>{var o;return(o=this.overrides)!=null&&o.setYear?this.overrides.setYear(r,a):Yg(r,a)},this.startOfBroadcastWeek=(r,a)=>{var o;return(o=this.overrides)!=null&&o.startOfBroadcastWeek?this.overrides.startOfBroadcastWeek(r,this):su(r,this)},this.startOfDay=r=>{var a;return(a=this.overrides)!=null&&a.startOfDay?this.overrides.startOfDay(r):Fn(r)},this.startOfISOWeek=r=>{var a;return(a=this.overrides)!=null&&a.startOfISOWeek?this.overrides.startOfISOWeek(r):Tn(r)},this.startOfMonth=r=>{var a;return(a=this.overrides)!=null&&a.startOfMonth?this.overrides.startOfMonth(r):Nm(r)},this.startOfWeek=(r,a)=>{var o;return(o=this.overrides)!=null&&o.startOfWeek?this.overrides.startOfWeek(r,this.options):ln(r,this.options)},this.startOfYear=r=>{var a;return(a=this.overrides)!=null&&a.startOfYear?this.overrides.startOfYear(r):ru(r)},this.options={locale:uu,...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&&tt.yearFirstLocales.has(t)?"year-first":"month-first"}formatMonthYear(t){const{locale:n,timeZone:r,numerals:a}=this.options,o=n==null?void 0:n.code;if(o&&tt.yearFirstLocales.has(o))try{return new Intl.DateTimeFormat(o,{month:"long",year:"numeric",timeZone:r,numberingSystem:a}).format(t)}catch{}const i=this.getMonthYearOrder()==="year-first"?"y LLLL":"LLLL y";return this.format(t,i)}}tt.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 It=new tt;class lu{constructor(t,n,r=It){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 Hg{constructor(t,n){this.date=t,this.weeks=n}}class Xg{constructor(t,n){this.days=n,this.weekNumber=t}}function Zg(e){return f.createElement("button",{...e})}function jg(e){return f.createElement("span",{...e})}function Lg(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 zg(e){const{day:t,modifiers:n,...r}=e;return f.createElement("td",{...r})}function $g(e){const{day:t,modifiers:n,...r}=e,a=f.useRef(null);return f.useEffect(()=>{var o;n.focused&&((o=a.current)==null||o.focus())},[n.focused]),f.createElement("button",{ref:a,...r})}var _;(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"})(_||(_={}));var ke;(function(e){e.disabled="disabled",e.hidden="hidden",e.outside="outside",e.focused="focused",e.today="today"})(ke||(ke={}));var lt;(function(e){e.range_end="range_end",e.range_middle="range_middle",e.range_start="range_start",e.selected="selected"})(lt||(lt={}));var qe;(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"})(qe||(qe={}));function Ug(e){const{options:t,className:n,components:r,classNames:a,...o}=e,i=[a[_.Dropdown],n].join(" "),s=t==null?void 0:t.find(({value:u})=>u===o.value);return f.createElement("span",{"data-disabled":o.disabled,className:a[_.DropdownRoot]},f.createElement(r.Select,{className:i,...o},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[_.CaptionLabel],"aria-hidden":!0},s==null?void 0:s.label,f.createElement(r.Chevron,{orientation:"down",size:18,className:a[_.Chevron]})))}function Jg(e){return f.createElement("div",{...e})}function Qg(e){return f.createElement("div",{...e})}function qg(e){const{calendarMonth:t,displayIndex:n,...r}=e;return f.createElement("div",{...r},e.children)}function Kg(e){const{calendarMonth:t,displayIndex:n,...r}=e;return f.createElement("div",{...r})}function ep(e){return f.createElement("table",{...e})}function tp(e){return f.createElement("div",{...e})}const cu=f.createContext(void 0);function Bn(){const e=f.useContext(cu);if(e===void 0)throw new Error("useDayPicker() must be used within a custom component.");return e}function np(e){const{components:t}=Bn();return f.createElement(t.Dropdown,{...e})}function rp(e){const{onPreviousClick:t,onNextClick:n,previousMonth:r,nextMonth:a,...o}=e,{components:i,classNames:s,labels:{labelPrevious:u,labelNext:l}}=Bn(),c=f.useCallback(h=>{a&&(n==null||n(h))},[a,n]),d=f.useCallback(h=>{r&&(t==null||t(h))},[r,t]);return f.createElement("nav",{...o},f.createElement(i.PreviousMonthButton,{type:"button",className:s[_.PreviousMonthButton],tabIndex:r?void 0:-1,"aria-disabled":r?void 0:!0,"aria-label":u(r),onClick:d},f.createElement(i.Chevron,{disabled:r?void 0:!0,className:s[_.Chevron],orientation:"left"})),f.createElement(i.NextMonthButton,{type:"button",className:s[_.NextMonthButton],tabIndex:a?void 0:-1,"aria-disabled":a?void 0:!0,"aria-label":l(a),onClick:c},f.createElement(i.Chevron,{disabled:a?void 0:!0,orientation:"right",className:s[_.Chevron]})))}function ap(e){const{components:t}=Bn();return f.createElement(t.Button,{...e})}function op(e){return f.createElement("option",{...e})}function ip(e){const{components:t}=Bn();return f.createElement(t.Button,{...e})}function sp(e){const{rootRef:t,...n}=e;return f.createElement("div",{...n,ref:t})}function up(e){return f.createElement("select",{...e})}function lp(e){const{week:t,...n}=e;return f.createElement("tr",{...n})}function cp(e){return f.createElement("th",{...e})}function dp(e){return f.createElement("thead",{"aria-hidden":!0},f.createElement("tr",{...e}))}function fp(e){const{week:t,...n}=e;return f.createElement("th",{...n})}function hp(e){return f.createElement("th",{...e})}function mp(e){return f.createElement("tbody",{...e})}function gp(e){const{components:t}=Bn();return f.createElement(t.Dropdown,{...e})}const pp=Object.freeze(Object.defineProperty({__proto__:null,Button:Zg,CaptionLabel:jg,Chevron:Lg,Day:zg,DayButton:$g,Dropdown:Ug,DropdownNav:Jg,Footer:Qg,Month:qg,MonthCaption:Kg,MonthGrid:ep,Months:tp,MonthsDropdown:np,Nav:rp,NextMonthButton:ap,Option:op,PreviousMonthButton:ip,Root:sp,Select:up,Week:lp,WeekNumber:fp,WeekNumberHeader:hp,Weekday:cp,Weekdays:dp,Weeks:mp,YearsDropdown:gp},Symbol.toStringTag,{value:"Module"}));function kt(e,t,n=!1,r=It){let{from:a,to:o}=e;const{differenceInCalendarDays:i,isSameDay:s}=r;return a&&o?(i(o,a)<0&&([a,o]=[o,a]),i(t,a)>=(n?1:0)&&i(o,t)>=(n?1:0)):!n&&o?s(o,t):!n&&a?s(a,t):!1}function lo(e){return!!(e&&typeof e=="object"&&"before"in e&&"after"in e)}function Ar(e){return!!(e&&typeof e=="object"&&"from"in e)}function co(e){return!!(e&&typeof e=="object"&&"after"in e)}function fo(e){return!!(e&&typeof e=="object"&&"before"in e)}function du(e){return!!(e&&typeof e=="object"&&"dayOfWeek"in e)}function fu(e,t){return Array.isArray(e)&&e.every(t.isDate)}function Et(e,t,n=It){const r=Array.isArray(t)?t:[t],{isSameDay:a,differenceInCalendarDays:o,isAfter:i}=n;return r.some(s=>{if(typeof s=="boolean")return s;if(n.isDate(s))return a(e,s);if(fu(s,n))return s.some(u=>a(e,u));if(Ar(s))return kt(s,e,!1,n);if(du(s))return Array.isArray(s.dayOfWeek)?s.dayOfWeek.includes(e.getDay()):s.dayOfWeek===e.getDay();if(lo(s)){const u=o(s.before,e),l=o(s.after,e),c=u>0,d=l<0;return i(s.before,s.after)?d&&c:c||d}return co(s)?o(e,s.after)>0:fo(s)?o(s.before,e)>0:typeof s=="function"?s(e):!1})}function bp(e,t,n,r,a){const{disabled:o,hidden:i,modifiers:s,showOutsideDays:u,broadcastCalendar:l,today:c=a.today()}=t,{isSameDay:d,isSameMonth:h,startOfMonth:g,isBefore:m,endOfMonth:v,isAfter:p}=a,I=n&&g(n),y=r&&v(r),C={[ke.focused]:[],[ke.outside]:[],[ke.disabled]:[],[ke.hidden]:[],[ke.today]:[]},M={};for(const x of e){const{date:b,displayMonth:S}=x,E=!!(S&&!h(b,S)),k=!!(I&&m(b,I)),W=!!(y&&p(b,y)),G=!!(o&&Et(b,o,a)),L=!!(i&&Et(b,i,a))||k||W||!l&&!u&&E||l&&u===!1&&E,z=d(b,c);E&&C.outside.push(x),G&&C.disabled.push(x),L&&C.hidden.push(x),z&&C.today.push(x),s&&Object.keys(s).forEach(N=>{const $=s==null?void 0:s[N];$&&Et(b,$,a)&&(M[N]?M[N].push(x):M[N]=[x])})}return x=>{const b={[ke.focused]:!1,[ke.disabled]:!1,[ke.hidden]:!1,[ke.outside]:!1,[ke.today]:!1},S={};for(const E in C){const k=C[E];b[E]=k.some(W=>W===x)}for(const E in M)S[E]=M[E].some(k=>k===x);return{...b,...S}}}function yp(e,t,n={}){return Object.entries(e).filter(([,a])=>a===!0).reduce((a,[o])=>(n[o]?a.push(n[o]):t[ke[o]]?a.push(t[ke[o]]):t[lt[o]]&&a.push(t[lt[o]]),a),[t[_.Day]])}function vp(e){return{...pp,...e}}function xp(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 Ip(){const e={};for(const t in _)e[_[t]]=`rdp-${_[t]}`;for(const t in ke)e[ke[t]]=`rdp-${ke[t]}`;for(const t in lt)e[lt[t]]=`rdp-${lt[t]}`;for(const t in qe)e[qe[t]]=`rdp-${qe[t]}`;return e}function hu(e,t,n){return(n??new tt(t)).formatMonthYear(e)}const Cp=hu;function wp(e,t,n){return(n??new tt(t)).format(e,"d")}function Mp(e,t=It){return t.format(e,"LLLL")}function Sp(e,t,n){return(n??new tt(t)).format(e,"cccccc")}function Dp(e,t=It){return e<10?t.formatNumber(`0${e.toLocaleString()}`):t.formatNumber(`${e.toLocaleString()}`)}function kp(){return""}function mu(e,t=It){return t.format(e,"yyyy")}const Ep=mu,Op=Object.freeze(Object.defineProperty({__proto__:null,formatCaption:hu,formatDay:wp,formatMonthCaption:Cp,formatMonthDropdown:Mp,formatWeekNumber:Dp,formatWeekNumberHeader:kp,formatWeekdayName:Sp,formatYearCaption:Ep,formatYearDropdown:mu},Symbol.toStringTag,{value:"Module"}));function Ap(e){return e!=null&&e.formatMonthCaption&&!e.formatCaption&&(e.formatCaption=e.formatMonthCaption),e!=null&&e.formatYearCaption&&!e.formatYearDropdown&&(e.formatYearDropdown=e.formatYearCaption),{...Op,...e}}function ho(e,t,n,r){let a=(r??new tt(n)).format(e,"PPPP");return t.today&&(a=`Today, ${a}`),t.selected&&(a=`${a}, selected`),a}const Np=ho;function mo(e,t,n){return(n??new tt(t)).formatMonthYear(e)}const Tp=mo;function gu(e,t,n,r){let a=(r??new tt(n)).format(e,"PPPP");return t!=null&&t.today&&(a=`Today, ${a}`),a}function pu(e){return"Choose the Month"}function bu(){return""}const Fp="Go to the Next Month";function yu(e,t){return Fp}function vu(e){return"Go to the Previous Month"}function xu(e,t,n){return(n??new tt(t)).format(e,"cccc")}function Iu(e,t){return`Week ${e}`}function Cu(e){return"Week Number"}function wu(e){return"Choose the Year"}const Wp=Object.freeze(Object.defineProperty({__proto__:null,labelCaption:Tp,labelDay:Np,labelDayButton:ho,labelGrid:mo,labelGridcell:gu,labelMonthDropdown:pu,labelNav:bu,labelNext:yu,labelPrevious:vu,labelWeekNumber:Iu,labelWeekNumberHeader:Cu,labelWeekday:xu,labelYearDropdown:wu},Symbol.toStringTag,{value:"Module"})),st=(e,t,n)=>t||(n?typeof n=="function"?n:(...r)=>n:e);function _p(e,t){var r;const n=((r=t.locale)==null?void 0:r.labels)??{};return{...Wp,...e??{},labelDayButton:st(ho,e==null?void 0:e.labelDayButton,n.labelDayButton),labelMonthDropdown:st(pu,e==null?void 0:e.labelMonthDropdown,n.labelMonthDropdown),labelNext:st(yu,e==null?void 0:e.labelNext,n.labelNext),labelPrevious:st(vu,e==null?void 0:e.labelPrevious,n.labelPrevious),labelWeekNumber:st(Iu,e==null?void 0:e.labelWeekNumber,n.labelWeekNumber),labelYearDropdown:st(wu,e==null?void 0:e.labelYearDropdown,n.labelYearDropdown),labelGrid:st(mo,e==null?void 0:e.labelGrid,n.labelGrid),labelGridcell:st(gu,e==null?void 0:e.labelGridcell,n.labelGridcell),labelNav:st(bu,e==null?void 0:e.labelNav,n.labelNav),labelWeekNumberHeader:st(Cu,e==null?void 0:e.labelWeekNumberHeader,n.labelWeekNumberHeader),labelWeekday:st(xu,e==null?void 0:e.labelWeekday,n.labelWeekday)}}function Pp(e,t,n,r,a){const{startOfMonth:o,startOfYear:i,endOfYear:s,eachMonthOfInterval:u,getMonth:l}=a;return u({start:i(e),end:s(e)}).map(h=>{const g=r.formatMonthDropdown(h,a),m=l(h),v=t&&h<o(t)||n&&h>o(n)||!1;return{value:m,label:g,disabled:v}})}function Gp(e,t={},n={}){let r={...t==null?void 0:t[_.Day]};return Object.entries(e).filter(([,a])=>a===!0).forEach(([a])=>{r={...r,...n==null?void 0:n[a]}}),r}function Yp(e,t,n,r){const a=r??e.today(),o=n?e.startOfBroadcastWeek(a,e):t?e.startOfISOWeek(a):e.startOfWeek(a),i=[];for(let s=0;s<7;s++){const u=e.addDays(o,s);i.push(u)}return i}function Rp(e,t,n,r,a=!1){if(!e||!t)return;const{startOfYear:o,endOfYear:i,eachYearOfInterval:s,getYear:u}=r,l=o(e),c=i(t),d=s({start:l,end:c});return a&&d.reverse(),d.map(h=>{const g=n.formatYearDropdown(h,r);return{value:u(h),label:g,disabled:!1}})}function Bp(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,o=u=>{const l=typeof u=="number"||typeof u=="string"?new Date(u):u;return new Ge(l.getFullYear(),l.getMonth(),l.getDate(),12,0,0,e)},i=u=>{const l=o(u);return new Date(l.getFullYear(),l.getMonth(),l.getDate(),0,0,0,0)};return{today:()=>o(Ge.tz(e)),newDate:(u,l,c)=>new Ge(u,l,c,12,0,0,e),startOfDay:u=>o(u),startOfWeek:(u,l)=>{const c=o(u),d=(l==null?void 0:l.weekStartsOn)??a,h=(c.getDay()-d+7)%7;return c.setDate(c.getDate()-h),c},startOfISOWeek:u=>{const l=o(u),c=(l.getDay()-1+7)%7;return l.setDate(l.getDate()-c),l},startOfMonth:u=>{const l=o(u);return l.setDate(1),l},startOfYear:u=>{const l=o(u);return l.setMonth(0,1),l},endOfWeek:(u,l)=>{const c=o(u),g=((((l==null?void 0:l.weekStartsOn)??a)+6)%7-c.getDay()+7)%7;return c.setDate(c.getDate()+g),c},endOfISOWeek:u=>{const l=o(u),c=(7-l.getDay())%7;return l.setDate(l.getDate()+c),l},endOfMonth:u=>{const l=o(u);return l.setMonth(l.getMonth()+1,0),l},endOfYear:u=>{const l=o(u);return l.setMonth(11,31),l},eachMonthOfInterval:u=>{const l=o(u.start),c=o(u.end),d=[],h=new Ge(l.getFullYear(),l.getMonth(),1,12,0,0,e),g=c.getFullYear()*12+c.getMonth();for(;h.getFullYear()*12+h.getMonth()<=g;)d.push(new Ge(h,e)),h.setMonth(h.getMonth()+1,1);return d},addDays:(u,l)=>{const c=o(u);return c.setDate(c.getDate()+l),c},addWeeks:(u,l)=>{const c=o(u);return c.setDate(c.getDate()+l*7),c},addMonths:(u,l)=>{const c=o(u);return c.setMonth(c.getMonth()+l),c},addYears:(u,l)=>{const c=o(u);return c.setFullYear(c.getFullYear()+l),c},eachYearOfInterval:u=>{const l=o(u.start),c=o(u.end),d=[],h=new Ge(l.getFullYear(),0,1,12,0,0,e);for(;h.getFullYear()<=c.getFullYear();)d.push(new Ge(h,e)),h.setFullYear(h.getFullYear()+1,0,1);return d},getWeek:(u,l)=>{var d;const c=i(u);return uo(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=i(u);return so(l)},differenceInCalendarDays:(u,l)=>{const c=i(u),d=i(l);return io(c,d)},differenceInCalendarMonths:(u,l)=>{const c=i(u),d=i(l);return tu(c,d)}}}const Vn=e=>e instanceof HTMLElement?e:null,aa=e=>[...e.querySelectorAll("[data-animated-month]")??[]],Vp=e=>Vn(e.querySelector("[data-animated-month]")),oa=e=>Vn(e.querySelector("[data-animated-caption]")),ia=e=>Vn(e.querySelector("[data-animated-weeks]")),Hp=e=>Vn(e.querySelector("[data-animated-nav]")),Xp=e=>Vn(e.querySelector("[data-animated-weekdays]"));function Zp(e,t,{classNames:n,months:r,focused:a,dateLib:o}){const i=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=o.isSameMonth(r[0].date,l[0].date),d=o.isAfter(r[0].date,l[0].date),h=d?n[qe.caption_after_enter]:n[qe.caption_before_enter],g=d?n[qe.weeks_after_enter]:n[qe.weeks_before_enter],m=i.current,v=e.current.cloneNode(!0);if(v instanceof HTMLElement?(aa(v).forEach(C=>{if(!(C instanceof HTMLElement))return;const M=Vp(C);M&&C.contains(M)&&C.removeChild(M);const x=oa(C);x&&x.classList.remove(h);const b=ia(C);b&&b.classList.remove(g)}),i.current=v):i.current=null,u.current||c||a)return;const p=m instanceof HTMLElement?aa(m):[],I=aa(e.current);if(I!=null&&I.every(y=>y instanceof HTMLElement)&&p&&p.every(y=>y instanceof HTMLElement)){u.current=!0,e.current.style.isolation="isolate";const y=Hp(e.current);y&&(y.style.zIndex="1"),I.forEach((C,M)=>{const x=p[M];if(!x)return;C.style.position="relative",C.style.overflow="hidden";const b=oa(C);b&&b.classList.add(h);const S=ia(C);S&&S.classList.add(g);const E=()=>{u.current=!1,e.current&&(e.current.style.isolation=""),y&&(y.style.zIndex=""),b&&b.classList.remove(h),S&&S.classList.remove(g),C.style.position="",C.style.overflow="",C.contains(x)&&C.removeChild(x)};x.style.pointerEvents="none",x.style.position="absolute",x.style.overflow="hidden",x.setAttribute("aria-hidden","true");const k=Xp(x);k&&(k.style.opacity="0");const W=oa(x);W&&(W.classList.add(d?n[qe.caption_before_exit]:n[qe.caption_after_exit]),W.addEventListener("animationend",E));const G=ia(x);G&&G.classList.add(d?n[qe.weeks_before_exit]:n[qe.weeks_after_exit]),C.insertBefore(x,C.firstChild)})}})}function jp(e,t,n,r){const a=e[0],o=e[e.length-1],{ISOWeek:i,fixedWeeks:s,broadcastCalendar:u}=n??{},{addDays:l,differenceInCalendarDays:c,differenceInCalendarMonths:d,endOfBroadcastWeek:h,endOfISOWeek:g,endOfMonth:m,endOfWeek:v,isAfter:p,startOfBroadcastWeek:I,startOfISOWeek:y,startOfWeek:C}=r,M=u?I(a,r):i?y(a):C(a),x=u?h(o):i?g(m(o)):v(m(o)),b=t&&(u?h(t):i?g(t):v(t)),S=b&&p(x,b)?b:x,E=c(S,M),k=d(o,a)+1,W=[];for(let z=0;z<=E;z++){const N=l(M,z);W.push(N)}const L=(u?35:42)*k;if(s&&W.length<L){const z=L-W.length;for(let N=0;N<z;N++){const $=l(W[W.length-1],1);W.push($)}}return W}function Lp(e){const t=[];return e.reduce((n,r)=>{const a=r.weeks.reduce((o,i)=>o.concat(i.days.slice()),t.slice());return n.concat(a.slice())},t.slice())}function zp(e,t,n,r){const{numberOfMonths:a=1}=n,o=[];for(let i=0;i<a;i++){const s=r.addMonths(e,i);if(t&&s>t)break;o.push(s)}return o}function Ni(e,t,n,r){const{month:a,defaultMonth:o,today:i=r.today(),numberOfMonths:s=1}=e;let u=a||o||i;const{differenceInCalendarMonths:l,addMonths:c,startOfMonth:d}=r;if(n&&l(n,u)<s-1){const h=-1*(s-1);u=c(n,h)}return t&&l(u,t)<0&&(u=t),d(u)}function $p(e,t,n,r){const{addDays:a,endOfBroadcastWeek:o,endOfISOWeek:i,endOfMonth:s,endOfWeek:u,getISOWeek:l,getWeek:c,startOfBroadcastWeek:d,startOfISOWeek:h,startOfWeek:g}=r,m=e.reduce((v,p)=>{const I=n.broadcastCalendar?d(p,r):n.ISOWeek?h(p):g(p),y=n.broadcastCalendar?o(p):n.ISOWeek?i(s(p)):u(s(p)),C=t.filter(S=>S>=I&&S<=y),M=n.broadcastCalendar?35:42;if(n.fixedWeeks&&C.length<M){const S=t.filter(E=>{const k=M-C.length;return E>y&&E<=a(y,k)});C.push(...S)}const x=C.reduce((S,E)=>{const k=n.ISOWeek?l(E):c(E),W=S.find(L=>L.weekNumber===k),G=new lu(E,p,r);return W?W.days.push(G):S.push(new Xg(k,[G])),S},[]),b=new Hg(p,x);return v.push(b),v},[]);return n.reverseMonths?m.reverse():m}function Up(e,t){let{startMonth:n,endMonth:r}=e;const{startOfYear:a,startOfDay:o,startOfMonth:i,endOfMonth:s,addYears:u,endOfYear:l,newDate:c,today:d}=t,{fromYear:h,toYear:g,fromMonth:m,toMonth:v}=e;!n&&m&&(n=m),!n&&h&&(n=t.newDate(h,0,1)),!r&&v&&(r=v),!r&&g&&(r=c(g,11,31));const p=e.captionLayout==="dropdown"||e.captionLayout==="dropdown-years";return n?n=i(n):h?n=c(h,0,1):!n&&p&&(n=a(u(e.today??d(),-100))),r?r=s(r):g?r=c(g,11,31):!r&&p&&(r=l(e.today??d())),[n&&o(n),r&&o(r)]}function Jp(e,t,n,r){if(n.disableNavigation)return;const{pagedNavigation:a,numberOfMonths:o=1}=n,{startOfMonth:i,addMonths:s,differenceInCalendarMonths:u}=r,l=a?o:1,c=i(e);if(!t)return s(c,l);if(!(u(t,e)<o))return s(c,l)}function Qp(e,t,n,r){if(n.disableNavigation)return;const{pagedNavigation:a,numberOfMonths:o}=n,{startOfMonth:i,addMonths:s,differenceInCalendarMonths:u}=r,l=a?o??1:1,c=i(e);if(!t)return s(c,-l);if(!(u(c,t)<=0))return s(c,-l)}function qp(e){const t=[];return e.reduce((n,r)=>n.concat(r.weeks.slice()),t.slice())}function Nr(e,t){const[n,r]=f.useState(e);return[t===void 0?n:t,r]}function Kp(e,t){var M;const[n,r]=Up(e,t),{startOfMonth:a,endOfMonth:o}=t,i=Ni(e,n,r,t),[s,u]=Nr(i,e.month?i:void 0);f.useEffect(()=>{const x=Ni(e,n,r,t);u(x)},[e.timeZone]);const{months:l,weeks:c,days:d,previousMonth:h,nextMonth:g}=f.useMemo(()=>{const x=zp(s,r,{numberOfMonths:e.numberOfMonths},t),b=jp(x,e.endMonth?o(e.endMonth):void 0,{ISOWeek:e.ISOWeek,fixedWeeks:e.fixedWeeks,broadcastCalendar:e.broadcastCalendar},t),S=$p(x,b,{broadcastCalendar:e.broadcastCalendar,fixedWeeks:e.fixedWeeks,ISOWeek:e.ISOWeek,reverseMonths:e.reverseMonths},t),E=qp(S),k=Lp(S),W=Qp(s,n,e,t),G=Jp(s,r,e,t);return{months:S,weeks:E,days:k,previousMonth:W,nextMonth:G}},[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:m,onMonthChange:v}=e,p=x=>c.some(b=>b.days.some(S=>S.isEqualTo(x))),I=x=>{if(m)return;let b=a(x);n&&b<a(n)&&(b=a(n)),r&&b>a(r)&&(b=a(r)),u(b),v==null||v(b)};return{months:l,weeks:c,days:d,navStart:n,navEnd:r,previousMonth:h,nextMonth:g,goToMonth:I,goToDay:x=>{p(x)||I(x.date)}}}var mt;(function(e){e[e.Today=0]="Today",e[e.Selected=1]="Selected",e[e.LastFocused=2]="LastFocused",e[e.FocusedModifier=3]="FocusedModifier"})(mt||(mt={}));function Ti(e){return!e[ke.disabled]&&!e[ke.hidden]&&!e[ke.outside]}function eb(e,t,n,r){let a,o=-1;for(const i of e){const s=t(i);Ti(s)&&(s[ke.focused]&&o<mt.FocusedModifier?(a=i,o=mt.FocusedModifier):r!=null&&r.isEqualTo(i)&&o<mt.LastFocused?(a=i,o=mt.LastFocused):n(i.date)&&o<mt.Selected?(a=i,o=mt.Selected):s[ke.today]&&o<mt.Today&&(a=i,o=mt.Today))}return a||(a=e.find(i=>Ti(t(i)))),a}function tb(e,t,n,r,a,o,i){const{ISOWeek:s,broadcastCalendar:u}=o,{addDays:l,addMonths:c,addWeeks:d,addYears:h,endOfBroadcastWeek:g,endOfISOWeek:m,endOfWeek:v,max:p,min:I,startOfBroadcastWeek:y,startOfISOWeek:C,startOfWeek:M}=i;let b={day:l,week:d,month:c,year:h,startOfWeek:S=>u?y(S,i):s?C(S):M(S),endOfWeek:S=>u?g(S):s?m(S):v(S)}[e](n,t==="after"?1:-1);return t==="before"&&r?b=p([r,b]):t==="after"&&a&&(b=I([a,b])),b}function Mu(e,t,n,r,a,o,i,s=0){if(s>365)return;const u=tb(e,t,n.date,r,a,o,i),l=!!(o.disabled&&Et(u,o.disabled,i)),c=!!(o.hidden&&Et(u,o.hidden,i)),d=u,h=new lu(u,d,i);return!l&&!c?h:Mu(e,t,h,r,a,o,i,s+1)}function nb(e,t,n,r,a){const{autoFocus:o}=e,[i,s]=f.useState(),u=eb(t.days,n,r||(()=>!1),i),[l,c]=f.useState(o?u:void 0);return{isFocusTarget:v=>!!(u!=null&&u.isEqualTo(v)),setFocused:c,focused:l,blur:()=>{s(l),c(void 0)},moveFocus:(v,p)=>{if(!l)return;const I=Mu(v,p,l,t.navStart,t.navEnd,e,a);I&&(e.disableNavigation&&!t.days.some(C=>C.isEqualTo(I))||(t.goToDay(I),c(I)))}}}function rb(e,t){const{selected:n,required:r,onSelect:a}=e,[o,i]=Nr(n,a?n:void 0),s=a?n:o,{isSameDay:u}=t,l=g=>(s==null?void 0:s.some(m=>u(m,g)))??!1,{min:c,max:d}=e;return{selected:s,select:(g,m,v)=>{let p=[...s??[]];if(l(g)){if((s==null?void 0:s.length)===c||r&&(s==null?void 0:s.length)===1)return;p=s==null?void 0:s.filter(I=>!u(I,g))}else(s==null?void 0:s.length)===d?p=[g]:p=[...p,g];return a||i(p),a==null||a(p,g,m,v),p},isSelected:l}}function ab(e,t,n=0,r=0,a=!1,o=It){const{from:i,to:s}=t||{},{isSameDay:u,isAfter:l,isBefore:c}=o;let d;if(!i&&!s)d={from:e,to:n>0?void 0:e};else if(i&&!s)u(i,e)?n===0?d={from:i,to:e}:a?d={from:i,to:void 0}:d=void 0:c(e,i)?d={from:e,to:i}:d={from:i,to:e};else if(i&&s)if(u(i,e)&&u(s,e))a?d={from:i,to:s}:d=void 0;else if(u(i,e))d={from:i,to:n>0?void 0:e};else if(u(s,e))d={from:e,to:n>0?void 0:e};else if(c(e,i))d={from:e,to:s};else if(l(e,i))d={from:i,to:e};else if(l(e,s))d={from:i,to:e};else throw new Error("Invalid range");if(d!=null&&d.from&&(d!=null&&d.to)){const h=o.differenceInCalendarDays(d.to,d.from);r>0&&h>r?d={from:e,to:void 0}:n>1&&h<n&&(d={from:e,to:void 0})}return d}function ob(e,t,n=It){const r=Array.isArray(t)?t:[t];let a=e.from;const o=n.differenceInCalendarDays(e.to,e.from),i=Math.min(o,6);for(let s=0;s<=i;s++){if(r.includes(a.getDay()))return!0;a=n.addDays(a,1)}return!1}function Fi(e,t,n=It){return kt(e,t.from,!1,n)||kt(e,t.to,!1,n)||kt(t,e.from,!1,n)||kt(t,e.to,!1,n)}function ib(e,t,n=It){const r=Array.isArray(t)?t:[t];if(r.filter(s=>typeof s!="function").some(s=>typeof s=="boolean"?s:n.isDate(s)?kt(e,s,!1,n):fu(s,n)?s.some(u=>kt(e,u,!1,n)):Ar(s)?s.from&&s.to?Fi(e,{from:s.from,to:s.to},n):!1:du(s)?ob(e,s.dayOfWeek,n):lo(s)?n.isAfter(s.before,s.after)?Fi(e,{from:n.addDays(s.after,1),to:n.addDays(s.before,-1)},n):Et(e.from,s,n)||Et(e.to,s,n):co(s)||fo(s)?Et(e.from,s,n)||Et(e.to,s,n):!1))return!0;const i=r.filter(s=>typeof s=="function");if(i.length){let s=e.from;const u=n.differenceInCalendarDays(e.to,e.from);for(let l=0;l<=u;l++){if(i.some(c=>c(s)))return!0;s=n.addDays(s,1)}}return!1}function sb(e,t){const{disabled:n,excludeDisabled:r,resetOnSelect:a,selected:o,required:i,onSelect:s}=e,[u,l]=Nr(o,s?o:void 0),c=s?o:u;return{selected:c,select:(g,m,v)=>{const{min:p,max:I}=e;let y;if(g){const C=c==null?void 0:c.from,M=c==null?void 0:c.to,x=!!C&&!!M,b=!!C&&!!M&&t.isSameDay(C,M)&&t.isSameDay(g,C);a&&(x||!(c!=null&&c.from))?!i&&b?y=void 0:y={from:g,to:void 0}:y=ab(g,c,p,I,i,t)}return r&&n&&(y!=null&&y.from)&&y.to&&ib({from:y.from,to:y.to},n,t)&&(y.from=g,y.to=void 0),s||l(y),s==null||s(y,g,m,v),y},isSelected:g=>c&&kt(c,g,!1,t)}}function ub(e,t){const{selected:n,required:r,onSelect:a}=e,[o,i]=Nr(n,a?n:void 0),s=a?n:o,{isSameDay:u}=t;return{selected:s,select:(d,h,g)=>{let m=d;return!r&&s&&s&&u(d,s)&&(m=void 0),a||i(m),a==null||a(m,d,h,g),m},isSelected:d=>s?u(s,d):!1}}function lb(e,t){const n=ub(e,t),r=rb(e,t),a=sb(e,t);switch(e.mode){case"single":return n;case"multiple":return r;case"range":return a;default:return}}function Qe(e,t){return e instanceof Ge&&e.timeZone===t?e:new Ge(e,t)}function Qt(e,t,n){if(!n)return Qe(e,t);const r=Qe(e,t),a=new Ge(r.getFullYear(),r.getMonth(),r.getDate(),12,0,0,t);return new Date(a.getTime())}function Wi(e,t,n){return typeof e=="boolean"||typeof e=="function"?e:e instanceof Date?Qt(e,t,n):Array.isArray(e)?e.map(r=>r instanceof Date?Qt(r,t,n):r):Ar(e)?{...e,from:e.from?Qe(e.from,t):e.from,to:e.to?Qe(e.to,t):e.to}:lo(e)?{before:Qt(e.before,t,n),after:Qt(e.after,t,n)}:co(e)?{after:Qt(e.after,t,n)}:fo(e)?{before:Qt(e.before,t,n)}:e}function sa(e,t,n){return e&&(Array.isArray(e)?e.map(r=>Wi(r,t,n)):Wi(e,t,n))}function Ea(e){var Ro;let t=e;const n=t.timeZone;if(n&&(t={...e,timeZone:n},t.today&&(t.today=Qe(t.today,n)),t.month&&(t.month=Qe(t.month,n)),t.defaultMonth&&(t.defaultMonth=Qe(t.defaultMonth,n)),t.startMonth&&(t.startMonth=Qe(t.startMonth,n)),t.endMonth&&(t.endMonth=Qe(t.endMonth,n)),t.mode==="single"&&t.selected?t.selected=Qe(t.selected,n):t.mode==="multiple"&&t.selected?t.selected=(Ro=t.selected)==null?void 0:Ro.map(Z=>Qe(Z,n)):t.mode==="range"&&t.selected&&(t.selected={from:t.selected.from?Qe(t.selected.from,n):t.selected.from,to:t.selected.to?Qe(t.selected.to,n):t.selected.to}),t.disabled!==void 0&&(t.disabled=sa(t.disabled,n)),t.hidden!==void 0&&(t.hidden=sa(t.hidden,n)),t.modifiers)){const Z={};Object.keys(t.modifiers).forEach(ie=>{var V;Z[ie]=sa((V=t.modifiers)==null?void 0:V[ie],n)}),t.modifiers=Z}const{components:r,formatters:a,labels:o,dateLib:i,locale:s,classNames:u}=f.useMemo(()=>{const Z={...uu,...t.locale},ie=t.broadcastCalendar?1:t.weekStartsOn,V=t.noonSafe&&t.timeZone?Bp(t.timeZone,{weekStartsOn:ie,locale:Z}):void 0,ne=t.dateLib&&V?{...V,...t.dateLib}:t.dateLib??V,Je=new tt({locale:Z,weekStartsOn:ie,firstWeekContainsDate:t.firstWeekContainsDate,useAdditionalWeekYearTokens:t.useAdditionalWeekYearTokens,useAdditionalDayOfYearTokens:t.useAdditionalDayOfYearTokens,timeZone:t.timeZone,numerals:t.numerals},ne);return{dateLib:Je,components:vp(t.components),formatters:Ap(t.formatters),labels:_p(t.labels,Je.options),locale:Z,classNames:{...Ip(),...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:i.today()});const{captionLayout:l,mode:c,navLayout:d,numberOfMonths:h=1,onDayBlur:g,onDayClick:m,onDayFocus:v,onDayKeyDown:p,onDayMouseEnter:I,onDayMouseLeave:y,onNextClick:C,onPrevClick:M,showWeekNumber:x,styles:b}=t,{formatCaption:S,formatDay:E,formatMonthDropdown:k,formatWeekNumber:W,formatWeekNumberHeader:G,formatWeekdayName:L,formatYearDropdown:z}=a,N=Kp(t,i),{days:$,months:pe,navStart:Me,navEnd:ve,previousMonth:le,nextMonth:ce,goToMonth:be}=N,oe=bp($,t,Me,ve,i),{isSelected:K,select:ye,selected:Ne}=lb(t,i)??{},{blur:Te,focused:Se,isFocusTarget:Ye,moveFocus:Xe,setFocused:Le}=nb(t,N,oe,K??(()=>!1),i),{labelDayButton:De,labelGridcell:F,labelGrid:it,labelMonthDropdown:Ue,labelNav:Y,labelPrevious:Ze,labelNext:je,labelWeekday:Ln,labelWeekNumber:zn,labelWeekNumberHeader:R,labelYearDropdown:_e}=o,Nl=f.useMemo(()=>Yp(i,t.ISOWeek,t.broadcastCalendar,t.today),[i,t.ISOWeek,t.broadcastCalendar,t.today]),Go=c!==void 0||m!==void 0,jr=f.useCallback(()=>{le&&(be(le),M==null||M(le))},[le,be,M]),Lr=f.useCallback(()=>{ce&&(be(ce),C==null||C(ce))},[be,ce,C]),Tl=f.useCallback((Z,ie)=>V=>{V.preventDefault(),V.stopPropagation(),Le(Z),!ie.disabled&&(ye==null||ye(Z.date,ie,V),m==null||m(Z.date,ie,V))},[ye,m,Le]),Fl=f.useCallback((Z,ie)=>V=>{Le(Z),v==null||v(Z.date,ie,V)},[v,Le]),Wl=f.useCallback((Z,ie)=>V=>{Te(),g==null||g(Z.date,ie,V)},[Te,g]),_l=f.useCallback((Z,ie)=>V=>{const ne={ArrowLeft:[V.shiftKey?"month":"day",t.dir==="rtl"?"after":"before"],ArrowRight:[V.shiftKey?"month":"day",t.dir==="rtl"?"before":"after"],ArrowDown:[V.shiftKey?"year":"week","after"],ArrowUp:[V.shiftKey?"year":"week","before"],PageUp:[V.shiftKey?"year":"month","before"],PageDown:[V.shiftKey?"year":"month","after"],Home:["startOfWeek","before"],End:["endOfWeek","after"]};if(ne[V.key]){V.preventDefault(),V.stopPropagation();const[Je,Q]=ne[V.key];Xe(Je,Q)}p==null||p(Z.date,ie,V)},[Xe,p,t.dir]),Pl=f.useCallback((Z,ie)=>V=>{I==null||I(Z.date,ie,V)},[I]),Gl=f.useCallback((Z,ie)=>V=>{y==null||y(Z.date,ie,V)},[y]),Yl=f.useCallback(Z=>ie=>{const V=Number(ie.target.value),ne=i.setMonth(i.startOfMonth(Z),V);be(ne)},[i,be]),Rl=f.useCallback(Z=>ie=>{const V=Number(ie.target.value),ne=i.setYear(i.startOfMonth(Z),V);be(ne)},[i,be]),{className:Bl,style:Vl}=f.useMemo(()=>({className:[u[_.Root],t.className].filter(Boolean).join(" "),style:{...b==null?void 0:b[_.Root],...t.style}}),[u,t.className,t.style,b]),Hl=xp(t),Yo=f.useRef(null);Zp(Yo,!!t.animate,{classNames:u,months:pe,focused:Se,dateLib:i});const Xl={dayPickerProps:t,selected:Ne,select:ye,isSelected:K,months:pe,nextMonth:ce,previousMonth:le,goToMonth:be,getModifiers:oe,components:r,classNames:u,styles:b,labels:o,formatters:a};return f.createElement(cu.Provider,{value:Xl},f.createElement(r.Root,{rootRef:t.animate?Yo:void 0,className:Bl,style:Vl,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"],...Hl},f.createElement(r.Months,{className:u[_.Months],style:b==null?void 0:b[_.Months]},!t.hideNavigation&&!d&&f.createElement(r.Nav,{"data-animated-nav":t.animate?"true":void 0,className:u[_.Nav],style:b==null?void 0:b[_.Nav],"aria-label":Y(),onPreviousClick:jr,onNextClick:Lr,previousMonth:le,nextMonth:ce}),pe.map((Z,ie)=>f.createElement(r.Month,{"data-animated-month":t.animate?"true":void 0,className:u[_.Month],style:b==null?void 0:b[_.Month],key:ie,displayIndex:ie,calendarMonth:Z},d==="around"&&!t.hideNavigation&&ie===0&&f.createElement(r.PreviousMonthButton,{type:"button",className:u[_.PreviousMonthButton],tabIndex:le?void 0:-1,"aria-disabled":le?void 0:!0,"aria-label":Ze(le),onClick:jr,"data-animated-button":t.animate?"true":void 0},f.createElement(r.Chevron,{disabled:le?void 0:!0,className:u[_.Chevron],orientation:t.dir==="rtl"?"right":"left"})),f.createElement(r.MonthCaption,{"data-animated-caption":t.animate?"true":void 0,className:u[_.MonthCaption],style:b==null?void 0:b[_.MonthCaption],calendarMonth:Z,displayIndex:ie},l!=null&&l.startsWith("dropdown")?f.createElement(r.DropdownNav,{className:u[_.Dropdowns],style:b==null?void 0:b[_.Dropdowns]},(()=>{const V=l==="dropdown"||l==="dropdown-months"?f.createElement(r.MonthsDropdown,{key:"month",className:u[_.MonthsDropdown],"aria-label":Ue(),classNames:u,components:r,disabled:!!t.disableNavigation,onChange:Yl(Z.date),options:Pp(Z.date,Me,ve,a,i),style:b==null?void 0:b[_.Dropdown],value:i.getMonth(Z.date)}):f.createElement("span",{key:"month"},k(Z.date,i)),ne=l==="dropdown"||l==="dropdown-years"?f.createElement(r.YearsDropdown,{key:"year",className:u[_.YearsDropdown],"aria-label":_e(i.options),classNames:u,components:r,disabled:!!t.disableNavigation,onChange:Rl(Z.date),options:Rp(Me,ve,a,i,!!t.reverseYears),style:b==null?void 0:b[_.Dropdown],value:i.getYear(Z.date)}):f.createElement("span",{key:"year"},z(Z.date,i));return i.getMonthYearOrder()==="year-first"?[ne,V]:[V,ne]})(),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"}},S(Z.date,i.options,i))):f.createElement(r.CaptionLabel,{className:u[_.CaptionLabel],role:"status","aria-live":"polite"},S(Z.date,i.options,i))),d==="around"&&!t.hideNavigation&&ie===h-1&&f.createElement(r.NextMonthButton,{type:"button",className:u[_.NextMonthButton],tabIndex:ce?void 0:-1,"aria-disabled":ce?void 0:!0,"aria-label":je(ce),onClick:Lr,"data-animated-button":t.animate?"true":void 0},f.createElement(r.Chevron,{disabled:ce?void 0:!0,className:u[_.Chevron],orientation:t.dir==="rtl"?"left":"right"})),ie===h-1&&d==="after"&&!t.hideNavigation&&f.createElement(r.Nav,{"data-animated-nav":t.animate?"true":void 0,className:u[_.Nav],style:b==null?void 0:b[_.Nav],"aria-label":Y(),onPreviousClick:jr,onNextClick:Lr,previousMonth:le,nextMonth:ce}),f.createElement(r.MonthGrid,{role:"grid","aria-multiselectable":c==="multiple"||c==="range","aria-label":it(Z.date,i.options,i)||void 0,className:u[_.MonthGrid],style:b==null?void 0:b[_.MonthGrid]},!t.hideWeekdays&&f.createElement(r.Weekdays,{"data-animated-weekdays":t.animate?"true":void 0,className:u[_.Weekdays],style:b==null?void 0:b[_.Weekdays]},x&&f.createElement(r.WeekNumberHeader,{"aria-label":R(i.options),className:u[_.WeekNumberHeader],style:b==null?void 0:b[_.WeekNumberHeader],scope:"col"},G()),Nl.map(V=>f.createElement(r.Weekday,{"aria-label":Ln(V,i.options,i),className:u[_.Weekday],key:String(V),style:b==null?void 0:b[_.Weekday],scope:"col"},L(V,i.options,i)))),f.createElement(r.Weeks,{"data-animated-weeks":t.animate?"true":void 0,className:u[_.Weeks],style:b==null?void 0:b[_.Weeks]},Z.weeks.map(V=>f.createElement(r.Week,{className:u[_.Week],key:V.weekNumber,style:b==null?void 0:b[_.Week],week:V},x&&f.createElement(r.WeekNumber,{week:V,style:b==null?void 0:b[_.WeekNumber],"aria-label":zn(V.weekNumber,{locale:s}),className:u[_.WeekNumber],scope:"row",role:"rowheader"},W(V.weekNumber,i)),V.days.map(ne=>{const{date:Je}=ne,Q=oe(ne);if(Q[ke.focused]=!Q.hidden&&!!(Se!=null&&Se.isEqualTo(ne)),Q[lt.selected]=(K==null?void 0:K(Je))||Q.selected,Ar(Ne)){const{from:zr,to:$r}=Ne;Q[lt.range_start]=!!(zr&&$r&&i.isSameDay(Je,zr)),Q[lt.range_end]=!!(zr&&$r&&i.isSameDay(Je,$r)),Q[lt.range_middle]=kt(Ne,Je,!0,i)}const Zl=Gp(Q,b,t.modifiersStyles),jl=yp(Q,u,t.modifiersClassNames),Ll=!Go&&!Q.hidden?F(Je,Q,i.options,i):void 0;return f.createElement(r.Day,{key:`${ne.isoDate}_${ne.displayMonthId}`,day:ne,modifiers:Q,className:jl.join(" "),style:Zl,role:"gridcell","aria-selected":Q.selected||void 0,"aria-label":Ll,"data-day":ne.isoDate,"data-month":ne.outside?ne.dateMonthId:void 0,"data-selected":Q.selected||void 0,"data-disabled":Q.disabled||void 0,"data-hidden":Q.hidden||void 0,"data-outside":ne.outside||void 0,"data-focused":Q.focused||void 0,"data-today":Q.today||void 0},!Q.hidden&&Go?f.createElement(r.DayButton,{className:u[_.DayButton],style:b==null?void 0:b[_.DayButton],type:"button",day:ne,modifiers:Q,disabled:!Q.focused&&Q.disabled||void 0,"aria-disabled":Q.focused&&Q.disabled||void 0,tabIndex:Ye(ne)?0:-1,"aria-label":De(Je,Q,i.options,i),onClick:Tl(ne,Q),onBlur:Wl(ne,Q),onFocus:Fl(ne,Q),onKeyDown:_l(ne,Q),onMouseEnter:Pl(ne,Q),onMouseLeave:Gl(ne,Q)},E(Je,i.options,i)):!Q.hidden&&E(ne.date,i.options,i))})))))))),t.footer&&f.createElement(r.Footer,{className:u[_.Footer],style:b==null?void 0:b[_.Footer],role:"status","aria-live":"polite"},t.footer)))}const ge=Ft.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"},pickerSelectMonth:{id:"datePicker.button.selectMonth",defaultMessage:"Select month"},selectYearDropdown:{id:"datePicker.dropdown.selectYear",defaultMessage:"Select year"},closeYearMonthPicker:{id:"datePicker.button.closeYearMonthPicker",defaultMessage:"Done"}}),cb={order:["day","month","year"],literals:["","/","/",""],padded:{day:!0,month:!0}},db=new Date(2e3,0,13),fb=new Date(2e3,0,3),hb=new Set(["UK"]),go=e=>{if(hb.has(e.toUpperCase()))return!1;try{return new Intl.DateTimeFormat(e),!0}catch{return!1}},Tr=e=>{const t=e==null?void 0:e.replace(/_/g,"-");return t&&go(t)?t:Intl.DateTimeFormat().resolvedOptions().locale||"en"},mb=e=>{const t=new Intl.DateTimeFormat(e,{year:"numeric",month:"numeric",day:"numeric",calendar:"gregory"}),n=t.formatToParts(db),r=[],a=[""];if(n.forEach(i=>{i.type==="day"||i.type==="month"||i.type==="year"?(r.push(i.type),a.push("")):a[a.length-1]+=i.value}),r.length!==3)return cb;const o={day:!0,month:!0};return t.formatToParts(fb).forEach(i=>{(i.type==="day"||i.type==="month")&&(o[i.type]=i.value.length>1)}),{order:r,literals:a,padded:o}},_i=new Map,Su=e=>{const t=_i.get(e);if(t)return t;const n=mb(e);return _i.set(e,n),n},Du=e=>{const{order:t,literals:n,padded:r}=Su(Tr(e)),a={day:r.day?"DD":"D",month:r.month?"MM":"M",year:"YYYY"};return t.reduce((o,i,s)=>`${o}${n[s]}${a[i]}`,"")+n[t.length]},gb=(e,t)=>{if(e==null||e==="")return null;const n=e instanceof Date?e:rn(e);return Number.isNaN(n.getTime())?null:n.toLocaleDateString(Tr(t),{year:"numeric",month:"numeric",day:"numeric",calendar:"gregory"})},ku=e=>e.replace(new RegExp("\\p{Cf}","gu"),""),pb=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),Pi=e=>ku(e).split(/\s+/).map(pb).join("\\s*"),bb=(e,t)=>{const n=ku(e.trim());if(!n)return null;const r=Tr(t),{order:a,literals:o}=Su(r),i={};let s=n;for(let g=0;g<a.length;g++){const m=o[g];if(m){const y=s.match(new RegExp(`^${Pi(m)}`));if(!y)return null;s=s.slice(y[0].length)}const v=s.match(/^[0-9]{1,4}/);if(!v)return null;const p=a[g],I=v[0];if(p==="year"?I.length!==4:I.length>2)return null;i[p]=Number(I),s=s.slice(v[0].length)}const u=o[a.length];if(u){if(!new RegExp(`^${Pi(u)}$`).test(s))return null}else if(s!=="")return null;const{year:l,month:c,day:d}=i;if(l==null||c==null||d==null||c<1||c>12||d<1||d>31)return null;const h=new Date(l,c-1,d);return h.getFullYear()!==l||h.getMonth()!==c-1||h.getDate()!==d?null:h},yb=/^\d{4}-\d{2}-\d{2}$/,rn=e=>{if(e instanceof Date)return e;if(typeof e=="string"&&yb.test(e)){const[t,n,r]=e.split("-").map(Number);return new Date(t,n-1,r)}return new Date(e)},pr=e=>{const t=e&&go(e)?e:"en",n=new Intl.DateTimeFormat(t,{month:"long",calendar:"gregory"}),r=new Intl.DateTimeFormat(t,{month:"short",calendar:"gregory"});return Array.from({length:12},(a,o)=>({long:n.format(new Date(2e3,o,1)),short:r.format(new Date(2e3,o,1))}))},vb=2,xb=e=>{const t=e&&go(e)?e:"en",n=new Intl.DateTimeFormat(t,{weekday:"short"});return Array.from({length:7},(r,a)=>n.format(new Date(2e3,0,vb+a)))},Eu=O.div`
|
|
682
|
+
`;Ic.propTypes={text:Se.node.isRequired,isFilled:Se.bool,color:Se.string,applyCustomStylings:Se.func};function cv(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 Qs={},Gr={};function Vn(e,t){try{const r=(Qs[e]||(Qs[e]=new Intl.DateTimeFormat("en-US",{timeZone:e,timeZoneName:"longOffset"}).format))(t).split("GMT")[1];return r in Gr?Gr[r]:qu(r,r.split(":"))}catch{if(e in Gr)return Gr[e];const n=e==null?void 0:e.match(dv);return n?qu(e,n.slice(1)):NaN}}const dv=/([+-]\d\d):?(\d\d)?/;function qu(e,t){const n=+(t[0]||0),r=+(t[1]||0),a=+(t[2]||0)/60;return Gr[e]=n*60+r>0?n*60+r+a:n*60-r-a}class zt extends Date{constructor(...t){super(),t.length>1&&typeof t[t.length-1]=="string"&&(this.timeZone=t.pop()),this.internal=new Date,isNaN(Vn(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)),kc(this),Ii(this)):this.setTime(Date.now())}static tz(t,...n){return n.length?new zt(...n,t):new zt(Date.now(),t)}withTimeZone(t){return new zt(+this,t)}getTimezoneOffset(){const t=-Vn(this.timeZone,this);return t>0?Math.floor(t):Math.ceil(t)}setTime(t){return Date.prototype.setTime.apply(this,arguments),Ii(this),+this}[Symbol.for("constructDateFrom")](t){return new zt(+new Date(t),this.timeZone)}}const Ku=/^(get|set)(?!UTC)/;Object.getOwnPropertyNames(Date.prototype).forEach(e=>{if(!Ku.test(e))return;const t=e.replace(Ku,"$1UTC");zt.prototype[t]&&(e.startsWith("get")?zt.prototype[e]=function(){return this.internal[t]()}:(zt.prototype[e]=function(){return Date.prototype[t].apply(this.internal,arguments),fv(this),+this},zt.prototype[t]=function(){return Date.prototype[t].apply(this,arguments),Ii(this),+this}))});function Ii(e){e.internal.setTime(+e),e.internal.setUTCSeconds(e.internal.getUTCSeconds()-Math.round(-Vn(e.timeZone,e)*60))}function fv(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()),kc(e)}function kc(e){const t=Vn(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(),u=a-i,l=Date.prototype.getHours.apply(e)!==e.internal.getUTCHours();u&&l&&e.internal.setUTCMinutes(e.internal.getUTCMinutes()+u);const d=a-n;d&&Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+d);const h=new Date(+e);h.setUTCSeconds(0);const m=a>0?h.getSeconds():(h.getSeconds()-60)%60,p=Math.round(-(Vn(e.timeZone,e)*60))%60;(p||m)&&(e.internal.setUTCSeconds(e.internal.getUTCSeconds()+p),Date.prototype.setUTCSeconds.call(e,Date.prototype.getUTCSeconds.call(e)+p+m));const b=Vn(e.timeZone,e),w=b>0?Math.floor(b):Math.ceil(b),k=-new Date(+e).getTimezoneOffset()-w,v=w!==n,C=k-d;if(v&&C){Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+C);const I=Vn(e.timeZone,e),S=I>0?Math.floor(I):Math.ceil(I),T=w-S;T&&(e.internal.setUTCMinutes(e.internal.getUTCMinutes()+T),Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+T))}}class ot extends zt{static tz(t,...n){return n.length?new ot(...n,t):new ot(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} (${cv(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 ot(+this,t)}[Symbol.for("constructDateFrom")](t){return new ot(+new Date(t),this.timeZone)}}const Dc=6048e5,hv=864e5,el=Symbol.for("constructDateFrom");function et(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&el in e?e[el](t):e instanceof Date?new e.constructor(t):new Date(t)}function Ne(e,t){return et(t||e,e)}function Sc(e,t,n){const r=Ne(e,n==null?void 0:n.in);return isNaN(t)?et((n==null?void 0:n.in)||e,NaN):(t&&r.setDate(r.getDate()+t),r)}function Cc(e,t,n){const r=Ne(e,n==null?void 0:n.in);if(isNaN(t))return et((n==null?void 0:n.in)||e,NaN);if(!t)return r;const a=r.getDate(),i=et((n==null?void 0:n.in)||e,r.getTime());i.setMonth(r.getMonth()+t+1,0);const u=i.getDate();return a>=u?i:(r.setFullYear(i.getFullYear(),i.getMonth(),a),r)}let mv={};function ea(){return mv}function mr(e,t){var l,d,h,m;const n=ea(),r=(t==null?void 0:t.weekStartsOn)??((d=(l=t==null?void 0:t.locale)==null?void 0:l.options)==null?void 0:d.weekStartsOn)??n.weekStartsOn??((m=(h=n.locale)==null?void 0:h.options)==null?void 0:m.weekStartsOn)??0,a=Ne(e,t==null?void 0:t.in),i=a.getDay(),u=(i<r?7:0)+i-r;return a.setDate(a.getDate()-u),a.setHours(0,0,0,0),a}function Ur(e,t){return mr(e,{...t,weekStartsOn:1})}function Yc(e,t){const n=Ne(e,t==null?void 0:t.in),r=n.getFullYear(),a=et(n,0);a.setFullYear(r+1,0,4),a.setHours(0,0,0,0);const i=Ur(a),u=et(n,0);u.setFullYear(r,0,4),u.setHours(0,0,0,0);const l=Ur(u);return n.getTime()>=i.getTime()?r+1:n.getTime()>=l.getTime()?r:r-1}function tl(e){const t=Ne(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 yr(e,...t){const n=et.bind(null,e||t.find(r=>typeof r=="object"));return t.map(n)}function $r(e,t){const n=Ne(e,t==null?void 0:t.in);return n.setHours(0,0,0,0),n}function ao(e,t,n){const[r,a]=yr(n==null?void 0:n.in,e,t),i=$r(r),u=$r(a),l=+i-tl(i),d=+u-tl(u);return Math.round((l-d)/hv)}function gv(e,t){const n=Yc(e,t),r=et((t==null?void 0:t.in)||e,0);return r.setFullYear(n,0,4),r.setHours(0,0,0,0),Ur(r)}function pv(e,t,n){return Sc(e,t*7,n)}function bv(e,t,n){return Cc(e,t*12,n)}function yv(e,t){let n,r=t==null?void 0:t.in;return e.forEach(a=>{!r&&typeof a=="object"&&(r=et.bind(null,a));const i=Ne(a,r);(!n||n<i||isNaN(+i))&&(n=i)}),et(r,n||NaN)}function vv(e,t){let n,r=t==null?void 0:t.in;return e.forEach(a=>{!r&&typeof a=="object"&&(r=et.bind(null,a));const i=Ne(a,r);(!n||n>i||isNaN(+i))&&(n=i)}),et(r,n||NaN)}function _v(e,t,n){const[r,a]=yr(n==null?void 0:n.in,e,t);return+$r(r)==+$r(a)}function Oc(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function wv(e){return!(!Oc(e)&&typeof e!="number"||isNaN(+Ne(e)))}function Tc(e,t,n){const[r,a]=yr(n==null?void 0:n.in,e,t),i=r.getFullYear()-a.getFullYear(),u=r.getMonth()-a.getMonth();return i*12+u}function Mv(e,t){const n=Ne(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 Ec(e,t){const[n,r]=yr(e,t.start,t.end);return{start:n,end:r}}function xv(e,t){const{start:n,end:r}=Ec(t==null?void 0:t.in,e);let a=+n>+r;const i=a?+n:+r,u=a?r:n;u.setHours(0,0,0,0),u.setDate(1);let l=(t==null?void 0:t.step)??1;if(!l)return[];l<0&&(l=-l,a=!a);const d=[];for(;+u<=i;)d.push(et(n,u)),u.setMonth(u.getMonth()+l);return a?d.reverse():d}function Iv(e,t){const n=Ne(e,t==null?void 0:t.in);return n.setDate(1),n.setHours(0,0,0,0),n}function kv(e,t){const n=Ne(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 Nc(e,t){const n=Ne(e,t==null?void 0:t.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}function Dv(e,t){const{start:n,end:r}=Ec(t==null?void 0:t.in,e);let a=+n>+r;const i=a?+n:+r,u=a?r:n;u.setHours(0,0,0,0),u.setMonth(0,1);let l=(t==null?void 0:t.step)??1;if(!l)return[];l<0&&(l=-l,a=!a);const d=[];for(;+u<=i;)d.push(et(n,u)),u.setFullYear(u.getFullYear()+l);return a?d.reverse():d}function Ac(e,t){var l,d,h,m;const n=ea(),r=(t==null?void 0:t.weekStartsOn)??((d=(l=t==null?void 0:t.locale)==null?void 0:l.options)==null?void 0:d.weekStartsOn)??n.weekStartsOn??((m=(h=n.locale)==null?void 0:h.options)==null?void 0:m.weekStartsOn)??0,a=Ne(e,t==null?void 0:t.in),i=a.getDay(),u=(i<r?-7:0)+6-(i-r);return a.setDate(a.getDate()+u),a.setHours(23,59,59,999),a}function Sv(e,t){return Ac(e,{...t,weekStartsOn:1})}const Cv={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"}},Yv=(e,t,n)=>{let r;const a=Cv[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 qs(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const Ov={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Tv={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Ev={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Nv={date:qs({formats:Ov,defaultWidth:"full"}),time:qs({formats:Tv,defaultWidth:"full"}),dateTime:qs({formats:Ev,defaultWidth:"full"})},Av={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Wv=(e,t,n,r)=>Av[e];function Ar(e){return(t,n)=>{const r=n!=null&&n.context?String(n.context):"standalone";let a;if(r==="formatting"&&e.formattingValues){const u=e.defaultFormattingWidth||e.defaultWidth,l=n!=null&&n.width?String(n.width):u;a=e.formattingValues[l]||e.formattingValues[u]}else{const u=e.defaultWidth,l=n!=null&&n.width?String(n.width):e.defaultWidth;a=e.values[l]||e.values[u]}const i=e.argumentCallback?e.argumentCallback(t):t;return a[i]}}const Pv={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Fv={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Rv={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"]},Gv={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"]},Lv={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"}},Vv={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"}},Bv=(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"},Hv={ordinalNumber:Bv,era:Ar({values:Pv,defaultWidth:"wide"}),quarter:Ar({values:Fv,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Ar({values:Rv,defaultWidth:"wide"}),day:Ar({values:Gv,defaultWidth:"wide"}),dayPeriod:Ar({values:Lv,defaultWidth:"wide",formattingValues:Vv,defaultFormattingWidth:"wide"})};function Wr(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 u=i[0],l=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],d=Array.isArray(l)?Zv(l,p=>p.test(u)):jv(l,p=>p.test(u));let h;h=e.valueCallback?e.valueCallback(d):d,h=n.valueCallback?n.valueCallback(h):h;const m=t.slice(u.length);return{value:h,rest:m}}}function jv(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function Zv(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}function Xv(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 u=e.valueCallback?e.valueCallback(i[0]):i[0];u=n.valueCallback?n.valueCallback(u):u;const l=t.slice(a.length);return{value:u,rest:l}}}const zv=/^(\d+)(th|st|nd|rd)?/i,Uv=/\d+/i,$v={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},Jv={any:[/^b/i,/^(a|c)/i]},Qv={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},qv={any:[/1/i,/2/i,/3/i,/4/i]},Kv={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},e1={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]},t1={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},n1={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]},r1={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},a1={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}},s1={ordinalNumber:Xv({matchPattern:zv,parsePattern:Uv,valueCallback:e=>parseInt(e,10)}),era:Wr({matchPatterns:$v,defaultMatchWidth:"wide",parsePatterns:Jv,defaultParseWidth:"any"}),quarter:Wr({matchPatterns:Qv,defaultMatchWidth:"wide",parsePatterns:qv,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Wr({matchPatterns:Kv,defaultMatchWidth:"wide",parsePatterns:e1,defaultParseWidth:"any"}),day:Wr({matchPatterns:t1,defaultMatchWidth:"wide",parsePatterns:n1,defaultParseWidth:"any"}),dayPeriod:Wr({matchPatterns:r1,defaultMatchWidth:"any",parsePatterns:a1,defaultParseWidth:"any"})},sr={code:"en-US",formatDistance:Yv,formatLong:Nv,formatRelative:Wv,localize:Hv,match:s1,options:{weekStartsOn:0,firstWeekContainsDate:1}};function i1(e,t){const n=Ne(e,t==null?void 0:t.in);return ao(n,Nc(n))+1}function so(e,t){const n=Ne(e,t==null?void 0:t.in),r=+Ur(n)-+gv(n);return Math.round(r/Dc)+1}function Wc(e,t){var m,p,b,w;const n=Ne(e,t==null?void 0:t.in),r=n.getFullYear(),a=ea(),i=(t==null?void 0:t.firstWeekContainsDate)??((p=(m=t==null?void 0:t.locale)==null?void 0:m.options)==null?void 0:p.firstWeekContainsDate)??a.firstWeekContainsDate??((w=(b=a.locale)==null?void 0:b.options)==null?void 0:w.firstWeekContainsDate)??1,u=et((t==null?void 0:t.in)||e,0);u.setFullYear(r+1,0,i),u.setHours(0,0,0,0);const l=mr(u,t),d=et((t==null?void 0:t.in)||e,0);d.setFullYear(r,0,i),d.setHours(0,0,0,0);const h=mr(d,t);return+n>=+l?r+1:+n>=+h?r:r-1}function o1(e,t){var l,d,h,m;const n=ea(),r=(t==null?void 0:t.firstWeekContainsDate)??((d=(l=t==null?void 0:t.locale)==null?void 0:l.options)==null?void 0:d.firstWeekContainsDate)??n.firstWeekContainsDate??((m=(h=n.locale)==null?void 0:h.options)==null?void 0:m.firstWeekContainsDate)??1,a=Wc(e,t),i=et((t==null?void 0:t.in)||e,0);return i.setFullYear(a,0,r),i.setHours(0,0,0,0),mr(i,t)}function io(e,t){const n=Ne(e,t==null?void 0:t.in),r=+mr(n,t)-+o1(n,t);return Math.round(r/Dc)+1}function De(e,t){const n=e<0?"-":"",r=Math.abs(e).toString().padStart(t,"0");return n+r}const Sn={y(e,t){const n=e.getFullYear(),r=n>0?n:1-n;return De(t==="yy"?r%100:r,t.length)},M(e,t){const n=e.getMonth();return t==="M"?String(n+1):De(n+1,2)},d(e,t){return De(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 De(e.getHours()%12||12,t.length)},H(e,t){return De(e.getHours(),t.length)},m(e,t){return De(e.getMinutes(),t.length)},s(e,t){return De(e.getSeconds(),t.length)},S(e,t){const n=t.length,r=e.getMilliseconds(),a=Math.trunc(r*Math.pow(10,n-3));return De(a,t.length)}},nr={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},nl={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 Sn.y(e,t)},Y:function(e,t,n,r){const a=Wc(e,r),i=a>0?a:1-a;if(t==="YY"){const u=i%100;return De(u,2)}return t==="Yo"?n.ordinalNumber(i,{unit:"year"}):De(i,t.length)},R:function(e,t){const n=Yc(e);return De(n,t.length)},u:function(e,t){const n=e.getFullYear();return De(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 De(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 De(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 Sn.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 De(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=io(e,r);return t==="wo"?n.ordinalNumber(a,{unit:"week"}):De(a,t.length)},I:function(e,t,n){const r=so(e);return t==="Io"?n.ordinalNumber(r,{unit:"week"}):De(r,t.length)},d:function(e,t,n){return t==="do"?n.ordinalNumber(e.getDate(),{unit:"date"}):Sn.d(e,t)},D:function(e,t,n){const r=i1(e);return t==="Do"?n.ordinalNumber(r,{unit:"dayOfYear"}):De(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 De(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 De(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 De(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=nr.noon:r===0?a=nr.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=nr.evening:r>=12?a=nr.afternoon:r>=4?a=nr.morning:a=nr.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 Sn.h(e,t)},H:function(e,t,n){return t==="Ho"?n.ordinalNumber(e.getHours(),{unit:"hour"}):Sn.H(e,t)},K:function(e,t,n){const r=e.getHours()%12;return t==="Ko"?n.ordinalNumber(r,{unit:"hour"}):De(r,t.length)},k:function(e,t,n){let r=e.getHours();return r===0&&(r=24),t==="ko"?n.ordinalNumber(r,{unit:"hour"}):De(r,t.length)},m:function(e,t,n){return t==="mo"?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):Sn.m(e,t)},s:function(e,t,n){return t==="so"?n.ordinalNumber(e.getSeconds(),{unit:"second"}):Sn.s(e,t)},S:function(e,t){return Sn.S(e,t)},X:function(e,t,n){const r=e.getTimezoneOffset();if(r===0)return"Z";switch(t){case"X":return al(r);case"XXXX":case"XX":return Ln(r);case"XXXXX":case"XXX":default:return Ln(r,":")}},x:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"x":return al(r);case"xxxx":case"xx":return Ln(r);case"xxxxx":case"xxx":default:return Ln(r,":")}},O:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+rl(r,":");case"OOOO":default:return"GMT"+Ln(r,":")}},z:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+rl(r,":");case"zzzz":default:return"GMT"+Ln(r,":")}},t:function(e,t,n){const r=Math.trunc(+e/1e3);return De(r,t.length)},T:function(e,t,n){return De(+e,t.length)}};function rl(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+De(i,2)}function al(e,t){return e%60===0?(e>0?"-":"+")+De(Math.abs(e)/60,2):Ln(e,t)}function Ln(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),a=De(Math.trunc(r/60),2),i=De(r%60,2);return n+a+t+i}const sl=(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"})}},Pc=(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"})}},u1=(e,t)=>{const n=e.match(/(P+)(p+)?/)||[],r=n[1],a=n[2];if(!a)return sl(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}}",sl(r,t)).replace("{{time}}",Pc(a,t))},l1={p:Pc,P:u1},c1=/^D+$/,d1=/^Y+$/,f1=["D","DD","YY","YYYY"];function h1(e){return c1.test(e)}function m1(e){return d1.test(e)}function g1(e,t,n){const r=p1(e,t,n);if(console.warn(r),f1.includes(e))throw new RangeError(r)}function p1(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 b1=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,y1=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,v1=/^'([^]*?)'?$/,_1=/''/g,w1=/[a-zA-Z]/;function Lr(e,t,n){var m,p,b,w,_,k,v,C;const r=ea(),a=(n==null?void 0:n.locale)??r.locale??sr,i=(n==null?void 0:n.firstWeekContainsDate)??((p=(m=n==null?void 0:n.locale)==null?void 0:m.options)==null?void 0:p.firstWeekContainsDate)??r.firstWeekContainsDate??((w=(b=r.locale)==null?void 0:b.options)==null?void 0:w.firstWeekContainsDate)??1,u=(n==null?void 0:n.weekStartsOn)??((k=(_=n==null?void 0:n.locale)==null?void 0:_.options)==null?void 0:k.weekStartsOn)??r.weekStartsOn??((C=(v=r.locale)==null?void 0:v.options)==null?void 0:C.weekStartsOn)??0,l=Ne(e,n==null?void 0:n.in);if(!wv(l))throw new RangeError("Invalid time value");let d=t.match(y1).map(I=>{const S=I[0];if(S==="p"||S==="P"){const T=l1[S];return T(I,a.formatLong)}return I}).join("").match(b1).map(I=>{if(I==="''")return{isToken:!1,value:"'"};const S=I[0];if(S==="'")return{isToken:!1,value:M1(I)};if(nl[S])return{isToken:!0,value:I};if(S.match(w1))throw new RangeError("Format string contains an unescaped latin alphabet character `"+S+"`");return{isToken:!1,value:I}});a.localize.preprocessor&&(d=a.localize.preprocessor(l,d));const h={firstWeekContainsDate:i,weekStartsOn:u,locale:a};return d.map(I=>{if(!I.isToken)return I.value;const S=I.value;(!(n!=null&&n.useAdditionalWeekYearTokens)&&m1(S)||!(n!=null&&n.useAdditionalDayOfYearTokens)&&h1(S))&&g1(S,t,String(e));const T=nl[S[0]];return T(l,S,a.localize,h)}).join("")}function M1(e){const t=e.match(v1);return t?t[1].replace(_1,"'"):e}function x1(e,t){const n=Ne(e,t==null?void 0:t.in),r=n.getFullYear(),a=n.getMonth(),i=et(n,0);return i.setFullYear(r,a+1,0),i.setHours(0,0,0,0),i.getDate()}function I1(e,t){return Ne(e,t==null?void 0:t.in).getMonth()}function k1(e,t){return Ne(e,t==null?void 0:t.in).getFullYear()}function D1(e,t){return+Ne(e)>+Ne(t)}function S1(e,t){return+Ne(e)<+Ne(t)}function C1(e,t,n){const[r,a]=yr(n==null?void 0:n.in,e,t);return r.getFullYear()===a.getFullYear()&&r.getMonth()===a.getMonth()}function Y1(e,t,n){const[r,a]=yr(n==null?void 0:n.in,e,t);return r.getFullYear()===a.getFullYear()}function O1(e,t,n){const r=Ne(e,n==null?void 0:n.in),a=r.getFullYear(),i=r.getDate(),u=et((n==null?void 0:n.in)||e,0);u.setFullYear(a,t,15),u.setHours(0,0,0,0);const l=x1(u);return r.setMonth(t,Math.min(i,l)),r}function T1(e,t,n){const r=Ne(e,n==null?void 0:n.in);return isNaN(+r)?et((n==null?void 0:n.in)||e,NaN):(r.setFullYear(t),r)}const il=5,E1=4;function N1(e,t){const n=t.startOfMonth(e),r=n.getDay()>0?n.getDay():7,a=t.addDays(e,-r+1),i=t.addDays(a,il*7-1);return t.getMonth(e)===t.getMonth(i)?il:E1}function Fc(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 A1(e,t){const n=Fc(e,t),r=N1(e,t);return t.addDays(n,r*7-1)}const Rc={...sr,labels:{labelDayButton:(e,t,n,r)=>{let a;r&&typeof r.format=="function"?a=r.format.bind(r):a=(u,l)=>Lr(u,l,{locale:sr,...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)=>Lr(a,i,{locale:sr,...t}),r(e,"LLLL yyyy")},labelGridcell:(e,t,n,r)=>{let a;r&&typeof r.format=="function"?a=r.format.bind(r):a=(u,l)=>Lr(u,l,{locale:sr,...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)=>Lr(a,i,{locale:sr,...t}),r(e,"cccc")}}};class Yt{constructor(t,n){this.Date=Date,this.today=()=>{var r;return(r=this.overrides)!=null&&r.today?this.overrides.today():this.options.timeZone?ot.tz(this.options.timeZone):new this.Date},this.newDate=(r,a,i)=>{var u;return(u=this.overrides)!=null&&u.newDate?this.overrides.newDate(r,a,i):this.options.timeZone?new ot(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):Sc(r,a)},this.addMonths=(r,a)=>{var i;return(i=this.overrides)!=null&&i.addMonths?this.overrides.addMonths(r,a):Cc(r,a)},this.addWeeks=(r,a)=>{var i;return(i=this.overrides)!=null&&i.addWeeks?this.overrides.addWeeks(r,a):pv(r,a)},this.addYears=(r,a)=>{var i;return(i=this.overrides)!=null&&i.addYears?this.overrides.addYears(r,a):bv(r,a)},this.differenceInCalendarDays=(r,a)=>{var i;return(i=this.overrides)!=null&&i.differenceInCalendarDays?this.overrides.differenceInCalendarDays(r,a):ao(r,a)},this.differenceInCalendarMonths=(r,a)=>{var i;return(i=this.overrides)!=null&&i.differenceInCalendarMonths?this.overrides.differenceInCalendarMonths(r,a):Tc(r,a)},this.eachMonthOfInterval=r=>{var a;return(a=this.overrides)!=null&&a.eachMonthOfInterval?this.overrides.eachMonthOfInterval(r):xv(r)},this.eachYearOfInterval=r=>{var l;const a=(l=this.overrides)!=null&&l.eachYearOfInterval?this.overrides.eachYearOfInterval(r):Dv(r),i=new Set(a.map(d=>this.getYear(d)));if(i.size===a.length)return a;const u=[];return i.forEach(d=>{u.push(new Date(d,0,1))}),u},this.endOfBroadcastWeek=r=>{var a;return(a=this.overrides)!=null&&a.endOfBroadcastWeek?this.overrides.endOfBroadcastWeek(r):A1(r,this)},this.endOfISOWeek=r=>{var a;return(a=this.overrides)!=null&&a.endOfISOWeek?this.overrides.endOfISOWeek(r):Sv(r)},this.endOfMonth=r=>{var a;return(a=this.overrides)!=null&&a.endOfMonth?this.overrides.endOfMonth(r):Mv(r)},this.endOfWeek=(r,a)=>{var i;return(i=this.overrides)!=null&&i.endOfWeek?this.overrides.endOfWeek(r,a):Ac(r,this.options)},this.endOfYear=r=>{var a;return(a=this.overrides)!=null&&a.endOfYear?this.overrides.endOfYear(r):kv(r)},this.format=(r,a,i)=>{var l;const u=(l=this.overrides)!=null&&l.format?this.overrides.format(r,a,this.options):Lr(r,a,this.options);return this.options.numerals&&this.options.numerals!=="latn"?this.replaceDigits(u):u},this.getISOWeek=r=>{var a;return(a=this.overrides)!=null&&a.getISOWeek?this.overrides.getISOWeek(r):so(r)},this.getMonth=(r,a)=>{var i;return(i=this.overrides)!=null&&i.getMonth?this.overrides.getMonth(r,this.options):I1(r,this.options)},this.getYear=(r,a)=>{var i;return(i=this.overrides)!=null&&i.getYear?this.overrides.getYear(r,this.options):k1(r,this.options)},this.getWeek=(r,a)=>{var i;return(i=this.overrides)!=null&&i.getWeek?this.overrides.getWeek(r,this.options):io(r,this.options)},this.isAfter=(r,a)=>{var i;return(i=this.overrides)!=null&&i.isAfter?this.overrides.isAfter(r,a):D1(r,a)},this.isBefore=(r,a)=>{var i;return(i=this.overrides)!=null&&i.isBefore?this.overrides.isBefore(r,a):S1(r,a)},this.isDate=r=>{var a;return(a=this.overrides)!=null&&a.isDate?this.overrides.isDate(r):Oc(r)},this.isSameDay=(r,a)=>{var i;return(i=this.overrides)!=null&&i.isSameDay?this.overrides.isSameDay(r,a):_v(r,a)},this.isSameMonth=(r,a)=>{var i;return(i=this.overrides)!=null&&i.isSameMonth?this.overrides.isSameMonth(r,a):C1(r,a)},this.isSameYear=(r,a)=>{var i;return(i=this.overrides)!=null&&i.isSameYear?this.overrides.isSameYear(r,a):Y1(r,a)},this.max=r=>{var a;return(a=this.overrides)!=null&&a.max?this.overrides.max(r):yv(r)},this.min=r=>{var a;return(a=this.overrides)!=null&&a.min?this.overrides.min(r):vv(r)},this.setMonth=(r,a)=>{var i;return(i=this.overrides)!=null&&i.setMonth?this.overrides.setMonth(r,a):O1(r,a)},this.setYear=(r,a)=>{var i;return(i=this.overrides)!=null&&i.setYear?this.overrides.setYear(r,a):T1(r,a)},this.startOfBroadcastWeek=(r,a)=>{var i;return(i=this.overrides)!=null&&i.startOfBroadcastWeek?this.overrides.startOfBroadcastWeek(r,this):Fc(r,this)},this.startOfDay=r=>{var a;return(a=this.overrides)!=null&&a.startOfDay?this.overrides.startOfDay(r):$r(r)},this.startOfISOWeek=r=>{var a;return(a=this.overrides)!=null&&a.startOfISOWeek?this.overrides.startOfISOWeek(r):Ur(r)},this.startOfMonth=r=>{var a;return(a=this.overrides)!=null&&a.startOfMonth?this.overrides.startOfMonth(r):Iv(r)},this.startOfWeek=(r,a)=>{var i;return(i=this.overrides)!=null&&i.startOfWeek?this.overrides.startOfWeek(r,this.options):mr(r,this.options)},this.startOfYear=r=>{var a;return(a=this.overrides)!=null&&a.startOfYear?this.overrides.startOfYear(r):Nc(r)},this.options={locale:Rc,...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&&Yt.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&&Yt.yearFirstLocales.has(i))try{return new Intl.DateTimeFormat(i,{month:"long",year:"numeric",timeZone:r,numberingSystem:a}).format(t)}catch{}const u=this.getMonthYearOrder()==="year-first"?"y LLLL":"LLLL y";return this.format(t,u)}}Yt.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 Qt=new Yt;class Gc{constructor(t,n,r=Qt){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 W1{constructor(t,n){this.date=t,this.weeks=n}}class P1{constructor(t,n){this.days=n,this.weekNumber=t}}function F1(e){return y.createElement("button",{...e})}function R1(e){return y.createElement("span",{...e})}function G1(e){const{size:t=24,orientation:n="left",className:r}=e;return y.createElement("svg",{className:r,width:t,height:t,viewBox:"0 0 24 24"},n==="up"&&y.createElement("polygon",{points:"6.77 17 12.5 11.43 18.24 17 20 15.28 12.5 8 5 15.28"}),n==="down"&&y.createElement("polygon",{points:"6.77 8 12.5 13.57 18.24 8 20 9.72 12.5 17 5 9.72"}),n==="left"&&y.createElement("polygon",{points:"16 18.112 9.81111111 12 16 5.87733333 14.0888889 4 6 12 14.0888889 20"}),n==="right"&&y.createElement("polygon",{points:"8 18.112 14.18888889 12 8 5.87733333 9.91111111 4 18 12 9.91111111 20"}))}function L1(e){const{day:t,modifiers:n,...r}=e;return y.createElement("td",{...r})}function V1(e){const{day:t,modifiers:n,...r}=e,a=y.useRef(null);return y.useEffect(()=>{var i;n.focused&&((i=a.current)==null||i.focus())},[n.focused]),y.createElement("button",{ref:a,...r})}var U;(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"})(U||(U={}));var Xe;(function(e){e.disabled="disabled",e.hidden="hidden",e.outside="outside",e.focused="focused",e.today="today"})(Xe||(Xe={}));var Rt;(function(e){e.range_end="range_end",e.range_middle="range_middle",e.range_start="range_start",e.selected="selected"})(Rt||(Rt={}));var Dt;(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"})(Dt||(Dt={}));function B1(e){const{options:t,className:n,components:r,classNames:a,...i}=e,u=[a[U.Dropdown],n].join(" "),l=t==null?void 0:t.find(({value:d})=>d===i.value);return y.createElement("span",{"data-disabled":i.disabled,className:a[U.DropdownRoot]},y.createElement(r.Select,{className:u,...i},t==null?void 0:t.map(({value:d,label:h,disabled:m})=>y.createElement(r.Option,{key:d,value:d,disabled:m},h))),y.createElement("span",{className:a[U.CaptionLabel],"aria-hidden":!0},l==null?void 0:l.label,y.createElement(r.Chevron,{orientation:"down",size:18,className:a[U.Chevron]})))}function H1(e){return y.createElement("div",{...e})}function j1(e){return y.createElement("div",{...e})}function Z1(e){const{calendarMonth:t,displayIndex:n,...r}=e;return y.createElement("div",{...r},e.children)}function X1(e){const{calendarMonth:t,displayIndex:n,...r}=e;return y.createElement("div",{...r})}function z1(e){return y.createElement("table",{...e})}function U1(e){return y.createElement("div",{...e})}const Lc=y.createContext(void 0);function ta(){const e=y.useContext(Lc);if(e===void 0)throw new Error("useDayPicker() must be used within a custom component.");return e}function $1(e){const{components:t}=ta();return y.createElement(t.Dropdown,{...e})}function J1(e){const{onPreviousClick:t,onNextClick:n,previousMonth:r,nextMonth:a,...i}=e,{components:u,classNames:l,labels:{labelPrevious:d,labelNext:h}}=ta(),m=y.useCallback(b=>{a&&(n==null||n(b))},[a,n]),p=y.useCallback(b=>{r&&(t==null||t(b))},[r,t]);return y.createElement("nav",{...i},y.createElement(u.PreviousMonthButton,{type:"button",className:l[U.PreviousMonthButton],tabIndex:r?void 0:-1,"aria-disabled":r?void 0:!0,"aria-label":d(r),onClick:p},y.createElement(u.Chevron,{disabled:r?void 0:!0,className:l[U.Chevron],orientation:"left"})),y.createElement(u.NextMonthButton,{type:"button",className:l[U.NextMonthButton],tabIndex:a?void 0:-1,"aria-disabled":a?void 0:!0,"aria-label":h(a),onClick:m},y.createElement(u.Chevron,{disabled:a?void 0:!0,orientation:"right",className:l[U.Chevron]})))}function Q1(e){const{components:t}=ta();return y.createElement(t.Button,{...e})}function q1(e){return y.createElement("option",{...e})}function K1(e){const{components:t}=ta();return y.createElement(t.Button,{...e})}function e_(e){const{rootRef:t,...n}=e;return y.createElement("div",{...n,ref:t})}function t_(e){return y.createElement("select",{...e})}function n_(e){const{week:t,...n}=e;return y.createElement("tr",{...n})}function r_(e){return y.createElement("th",{...e})}function a_(e){return y.createElement("thead",{"aria-hidden":!0},y.createElement("tr",{...e}))}function s_(e){const{week:t,...n}=e;return y.createElement("th",{...n})}function i_(e){return y.createElement("th",{...e})}function o_(e){return y.createElement("tbody",{...e})}function u_(e){const{components:t}=ta();return y.createElement(t.Dropdown,{...e})}const l_=Object.freeze(Object.defineProperty({__proto__:null,Button:F1,CaptionLabel:R1,Chevron:G1,Day:L1,DayButton:V1,Dropdown:B1,DropdownNav:H1,Footer:j1,Month:Z1,MonthCaption:X1,MonthGrid:z1,Months:U1,MonthsDropdown:$1,Nav:J1,NextMonthButton:Q1,Option:q1,PreviousMonthButton:K1,Root:e_,Select:t_,Week:n_,WeekNumber:s_,WeekNumberHeader:i_,Weekday:r_,Weekdays:a_,Weeks:o_,YearsDropdown:u_},Symbol.toStringTag,{value:"Module"}));function fn(e,t,n=!1,r=Qt){let{from:a,to:i}=e;const{differenceInCalendarDays:u,isSameDay:l}=r;return a&&i?(u(i,a)<0&&([a,i]=[i,a]),u(t,a)>=(n?1:0)&&u(i,t)>=(n?1:0)):!n&&i?l(i,t):!n&&a?l(a,t):!1}function oo(e){return!!(e&&typeof e=="object"&&"before"in e&&"after"in e)}function rs(e){return!!(e&&typeof e=="object"&&"from"in e)}function uo(e){return!!(e&&typeof e=="object"&&"after"in e)}function lo(e){return!!(e&&typeof e=="object"&&"before"in e)}function Vc(e){return!!(e&&typeof e=="object"&&"dayOfWeek"in e)}function Bc(e,t){return Array.isArray(e)&&e.every(t.isDate)}function hn(e,t,n=Qt){const r=Array.isArray(t)?t:[t],{isSameDay:a,differenceInCalendarDays:i,isAfter:u}=n;return r.some(l=>{if(typeof l=="boolean")return l;if(n.isDate(l))return a(e,l);if(Bc(l,n))return l.some(d=>a(e,d));if(rs(l))return fn(l,e,!1,n);if(Vc(l))return Array.isArray(l.dayOfWeek)?l.dayOfWeek.includes(e.getDay()):l.dayOfWeek===e.getDay();if(oo(l)){const d=i(l.before,e),h=i(l.after,e),m=d>0,p=h<0;return u(l.before,l.after)?p&&m:m||p}return uo(l)?i(e,l.after)>0:lo(l)?i(l.before,e)>0:typeof l=="function"?l(e):!1})}function c_(e,t,n,r,a){const{disabled:i,hidden:u,modifiers:l,showOutsideDays:d,broadcastCalendar:h,today:m=a.today()}=t,{isSameDay:p,isSameMonth:b,startOfMonth:w,isBefore:_,endOfMonth:k,isAfter:v}=a,C=n&&w(n),I=r&&k(r),S={[Xe.focused]:[],[Xe.outside]:[],[Xe.disabled]:[],[Xe.hidden]:[],[Xe.today]:[]},T={};for(const D of e){const{date:x,displayMonth:Y}=D,P=!!(Y&&!b(x,Y)),R=!!(C&&_(x,C)),L=!!(I&&v(x,I)),z=!!(i&&hn(x,i,a)),ne=!!(u&&hn(x,u,a))||R||L||!h&&!d&&P||h&&d===!1&&P,K=p(x,m);P&&S.outside.push(D),z&&S.disabled.push(D),ne&&S.hidden.push(D),K&&S.today.push(D),l&&Object.keys(l).forEach(B=>{const re=l==null?void 0:l[B];re&&hn(x,re,a)&&(T[B]?T[B].push(D):T[B]=[D])})}return D=>{const x={[Xe.focused]:!1,[Xe.disabled]:!1,[Xe.hidden]:!1,[Xe.outside]:!1,[Xe.today]:!1},Y={};for(const P in S){const R=S[P];x[P]=R.some(L=>L===D)}for(const P in T)Y[P]=T[P].some(R=>R===D);return{...x,...Y}}}function d_(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[Rt[i]]&&a.push(t[Rt[i]]),a),[t[U.Day]])}function f_(e){return{...l_,...e}}function h_(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 m_(){const e={};for(const t in U)e[U[t]]=`rdp-${U[t]}`;for(const t in Xe)e[Xe[t]]=`rdp-${Xe[t]}`;for(const t in Rt)e[Rt[t]]=`rdp-${Rt[t]}`;for(const t in Dt)e[Dt[t]]=`rdp-${Dt[t]}`;return e}function Hc(e,t,n){return(n??new Yt(t)).formatMonthYear(e)}const g_=Hc;function p_(e,t,n){return(n??new Yt(t)).format(e,"d")}function b_(e,t=Qt){return t.format(e,"LLLL")}function y_(e,t,n){return(n??new Yt(t)).format(e,"cccccc")}function v_(e,t=Qt){return e<10?t.formatNumber(`0${e.toLocaleString()}`):t.formatNumber(`${e.toLocaleString()}`)}function __(){return""}function jc(e,t=Qt){return t.format(e,"yyyy")}const w_=jc,M_=Object.freeze(Object.defineProperty({__proto__:null,formatCaption:Hc,formatDay:p_,formatMonthCaption:g_,formatMonthDropdown:b_,formatWeekNumber:v_,formatWeekNumberHeader:__,formatWeekdayName:y_,formatYearCaption:w_,formatYearDropdown:jc},Symbol.toStringTag,{value:"Module"}));function x_(e){return e!=null&&e.formatMonthCaption&&!e.formatCaption&&(e.formatCaption=e.formatMonthCaption),e!=null&&e.formatYearCaption&&!e.formatYearDropdown&&(e.formatYearDropdown=e.formatYearCaption),{...M_,...e}}function co(e,t,n,r){let a=(r??new Yt(n)).format(e,"PPPP");return t.today&&(a=`Today, ${a}`),t.selected&&(a=`${a}, selected`),a}const I_=co;function fo(e,t,n){return(n??new Yt(t)).formatMonthYear(e)}const k_=fo;function Zc(e,t,n,r){let a=(r??new Yt(n)).format(e,"PPPP");return t!=null&&t.today&&(a=`Today, ${a}`),a}function Xc(e){return"Choose the Month"}function zc(){return""}const D_="Go to the Next Month";function Uc(e,t){return D_}function $c(e){return"Go to the Previous Month"}function Jc(e,t,n){return(n??new Yt(t)).format(e,"cccc")}function Qc(e,t){return`Week ${e}`}function qc(e){return"Week Number"}function Kc(e){return"Choose the Year"}const S_=Object.freeze(Object.defineProperty({__proto__:null,labelCaption:k_,labelDay:I_,labelDayButton:co,labelGrid:fo,labelGridcell:Zc,labelMonthDropdown:Xc,labelNav:zc,labelNext:Uc,labelPrevious:$c,labelWeekNumber:Qc,labelWeekNumberHeader:qc,labelWeekday:Jc,labelYearDropdown:Kc},Symbol.toStringTag,{value:"Module"})),Pt=(e,t,n)=>t||(n?typeof n=="function"?n:(...r)=>n:e);function C_(e,t){var r;const n=((r=t.locale)==null?void 0:r.labels)??{};return{...S_,...e??{},labelDayButton:Pt(co,e==null?void 0:e.labelDayButton,n.labelDayButton),labelMonthDropdown:Pt(Xc,e==null?void 0:e.labelMonthDropdown,n.labelMonthDropdown),labelNext:Pt(Uc,e==null?void 0:e.labelNext,n.labelNext),labelPrevious:Pt($c,e==null?void 0:e.labelPrevious,n.labelPrevious),labelWeekNumber:Pt(Qc,e==null?void 0:e.labelWeekNumber,n.labelWeekNumber),labelYearDropdown:Pt(Kc,e==null?void 0:e.labelYearDropdown,n.labelYearDropdown),labelGrid:Pt(fo,e==null?void 0:e.labelGrid,n.labelGrid),labelGridcell:Pt(Zc,e==null?void 0:e.labelGridcell,n.labelGridcell),labelNav:Pt(zc,e==null?void 0:e.labelNav,n.labelNav),labelWeekNumberHeader:Pt(qc,e==null?void 0:e.labelWeekNumberHeader,n.labelWeekNumberHeader),labelWeekday:Pt(Jc,e==null?void 0:e.labelWeekday,n.labelWeekday)}}function Y_(e,t,n,r,a){const{startOfMonth:i,startOfYear:u,endOfYear:l,eachMonthOfInterval:d,getMonth:h}=a;return d({start:u(e),end:l(e)}).map(b=>{const w=r.formatMonthDropdown(b,a),_=h(b),k=t&&b<i(t)||n&&b>i(n)||!1;return{value:_,label:w,disabled:k}})}function O_(e,t={},n={}){let r={...t==null?void 0:t[U.Day]};return Object.entries(e).filter(([,a])=>a===!0).forEach(([a])=>{r={...r,...n==null?void 0:n[a]}}),r}function T_(e,t,n,r){const a=r??e.today(),i=n?e.startOfBroadcastWeek(a,e):t?e.startOfISOWeek(a):e.startOfWeek(a),u=[];for(let l=0;l<7;l++){const d=e.addDays(i,l);u.push(d)}return u}function E_(e,t,n,r,a=!1){if(!e||!t)return;const{startOfYear:i,endOfYear:u,eachYearOfInterval:l,getYear:d}=r,h=i(e),m=u(t),p=l({start:h,end:m});return a&&p.reverse(),p.map(b=>{const w=n.formatYearDropdown(b,r);return{value:d(b),label:w,disabled:!1}})}function N_(e,t={}){var l;const{weekStartsOn:n,locale:r}=t,a=n??((l=r==null?void 0:r.options)==null?void 0:l.weekStartsOn)??0,i=d=>{const h=typeof d=="number"||typeof d=="string"?new Date(d):d;return new ot(h.getFullYear(),h.getMonth(),h.getDate(),12,0,0,e)},u=d=>{const h=i(d);return new Date(h.getFullYear(),h.getMonth(),h.getDate(),0,0,0,0)};return{today:()=>i(ot.tz(e)),newDate:(d,h,m)=>new ot(d,h,m,12,0,0,e),startOfDay:d=>i(d),startOfWeek:(d,h)=>{const m=i(d),p=(h==null?void 0:h.weekStartsOn)??a,b=(m.getDay()-p+7)%7;return m.setDate(m.getDate()-b),m},startOfISOWeek:d=>{const h=i(d),m=(h.getDay()-1+7)%7;return h.setDate(h.getDate()-m),h},startOfMonth:d=>{const h=i(d);return h.setDate(1),h},startOfYear:d=>{const h=i(d);return h.setMonth(0,1),h},endOfWeek:(d,h)=>{const m=i(d),w=((((h==null?void 0:h.weekStartsOn)??a)+6)%7-m.getDay()+7)%7;return m.setDate(m.getDate()+w),m},endOfISOWeek:d=>{const h=i(d),m=(7-h.getDay())%7;return h.setDate(h.getDate()+m),h},endOfMonth:d=>{const h=i(d);return h.setMonth(h.getMonth()+1,0),h},endOfYear:d=>{const h=i(d);return h.setMonth(11,31),h},eachMonthOfInterval:d=>{const h=i(d.start),m=i(d.end),p=[],b=new ot(h.getFullYear(),h.getMonth(),1,12,0,0,e),w=m.getFullYear()*12+m.getMonth();for(;b.getFullYear()*12+b.getMonth()<=w;)p.push(new ot(b,e)),b.setMonth(b.getMonth()+1,1);return p},addDays:(d,h)=>{const m=i(d);return m.setDate(m.getDate()+h),m},addWeeks:(d,h)=>{const m=i(d);return m.setDate(m.getDate()+h*7),m},addMonths:(d,h)=>{const m=i(d);return m.setMonth(m.getMonth()+h),m},addYears:(d,h)=>{const m=i(d);return m.setFullYear(m.getFullYear()+h),m},eachYearOfInterval:d=>{const h=i(d.start),m=i(d.end),p=[],b=new ot(h.getFullYear(),0,1,12,0,0,e);for(;b.getFullYear()<=m.getFullYear();)p.push(new ot(b,e)),b.setFullYear(b.getFullYear()+1,0,1);return p},getWeek:(d,h)=>{var p;const m=u(d);return io(m,{weekStartsOn:(h==null?void 0:h.weekStartsOn)??a,firstWeekContainsDate:(h==null?void 0:h.firstWeekContainsDate)??((p=r==null?void 0:r.options)==null?void 0:p.firstWeekContainsDate)??1})},getISOWeek:d=>{const h=u(d);return so(h)},differenceInCalendarDays:(d,h)=>{const m=u(d),p=u(h);return ao(m,p)},differenceInCalendarMonths:(d,h)=>{const m=u(d),p=u(h);return Tc(m,p)}}}const na=e=>e instanceof HTMLElement?e:null,Ks=e=>[...e.querySelectorAll("[data-animated-month]")??[]],A_=e=>na(e.querySelector("[data-animated-month]")),ei=e=>na(e.querySelector("[data-animated-caption]")),ti=e=>na(e.querySelector("[data-animated-weeks]")),W_=e=>na(e.querySelector("[data-animated-nav]")),P_=e=>na(e.querySelector("[data-animated-weekdays]"));function F_(e,t,{classNames:n,months:r,focused:a,dateLib:i}){const u=y.useRef(null),l=y.useRef(r),d=y.useRef(!1);y.useLayoutEffect(()=>{const h=l.current;if(l.current=r,!t||!e.current||!(e.current instanceof HTMLElement)||r.length===0||h.length===0||r.length!==h.length)return;const m=i.isSameMonth(r[0].date,h[0].date),p=i.isAfter(r[0].date,h[0].date),b=p?n[Dt.caption_after_enter]:n[Dt.caption_before_enter],w=p?n[Dt.weeks_after_enter]:n[Dt.weeks_before_enter],_=u.current,k=e.current.cloneNode(!0);if(k instanceof HTMLElement?(Ks(k).forEach(S=>{if(!(S instanceof HTMLElement))return;const T=A_(S);T&&S.contains(T)&&S.removeChild(T);const D=ei(S);D&&D.classList.remove(b);const x=ti(S);x&&x.classList.remove(w)}),u.current=k):u.current=null,d.current||m||a)return;const v=_ instanceof HTMLElement?Ks(_):[],C=Ks(e.current);if(C!=null&&C.every(I=>I instanceof HTMLElement)&&v&&v.every(I=>I instanceof HTMLElement)){d.current=!0,e.current.style.isolation="isolate";const I=W_(e.current);I&&(I.style.zIndex="1"),C.forEach((S,T)=>{const D=v[T];if(!D)return;S.style.position="relative",S.style.overflow="hidden";const x=ei(S);x&&x.classList.add(b);const Y=ti(S);Y&&Y.classList.add(w);const P=()=>{d.current=!1,e.current&&(e.current.style.isolation=""),I&&(I.style.zIndex=""),x&&x.classList.remove(b),Y&&Y.classList.remove(w),S.style.position="",S.style.overflow="",S.contains(D)&&S.removeChild(D)};D.style.pointerEvents="none",D.style.position="absolute",D.style.overflow="hidden",D.setAttribute("aria-hidden","true");const R=P_(D);R&&(R.style.opacity="0");const L=ei(D);L&&(L.classList.add(p?n[Dt.caption_before_exit]:n[Dt.caption_after_exit]),L.addEventListener("animationend",P));const z=ti(D);z&&z.classList.add(p?n[Dt.weeks_before_exit]:n[Dt.weeks_after_exit]),S.insertBefore(D,S.firstChild)})}})}function R_(e,t,n,r){const a=e[0],i=e[e.length-1],{ISOWeek:u,fixedWeeks:l,broadcastCalendar:d}=n??{},{addDays:h,differenceInCalendarDays:m,differenceInCalendarMonths:p,endOfBroadcastWeek:b,endOfISOWeek:w,endOfMonth:_,endOfWeek:k,isAfter:v,startOfBroadcastWeek:C,startOfISOWeek:I,startOfWeek:S}=r,T=d?C(a,r):u?I(a):S(a),D=d?b(i):u?w(_(i)):k(_(i)),x=t&&(d?b(t):u?w(t):k(t)),Y=x&&v(D,x)?x:D,P=m(Y,T),R=p(i,a)+1,L=[];for(let K=0;K<=P;K++){const B=h(T,K);L.push(B)}const ne=(d?35:42)*R;if(l&&L.length<ne){const K=ne-L.length;for(let B=0;B<K;B++){const re=h(L[L.length-1],1);L.push(re)}}return L}function G_(e){const t=[];return e.reduce((n,r)=>{const a=r.weeks.reduce((i,u)=>i.concat(u.days.slice()),t.slice());return n.concat(a.slice())},t.slice())}function L_(e,t,n,r){const{numberOfMonths:a=1}=n,i=[];for(let u=0;u<a;u++){const l=r.addMonths(e,u);if(t&&l>t)break;i.push(l)}return i}function ol(e,t,n,r){const{month:a,defaultMonth:i,today:u=r.today(),numberOfMonths:l=1}=e;let d=a||i||u;const{differenceInCalendarMonths:h,addMonths:m,startOfMonth:p}=r;if(n&&h(n,d)<l-1){const b=-1*(l-1);d=m(n,b)}return t&&h(d,t)<0&&(d=t),p(d)}function V_(e,t,n,r){const{addDays:a,endOfBroadcastWeek:i,endOfISOWeek:u,endOfMonth:l,endOfWeek:d,getISOWeek:h,getWeek:m,startOfBroadcastWeek:p,startOfISOWeek:b,startOfWeek:w}=r,_=e.reduce((k,v)=>{const C=n.broadcastCalendar?p(v,r):n.ISOWeek?b(v):w(v),I=n.broadcastCalendar?i(v):n.ISOWeek?u(l(v)):d(l(v)),S=t.filter(Y=>Y>=C&&Y<=I),T=n.broadcastCalendar?35:42;if(n.fixedWeeks&&S.length<T){const Y=t.filter(P=>{const R=T-S.length;return P>I&&P<=a(I,R)});S.push(...Y)}const D=S.reduce((Y,P)=>{const R=n.ISOWeek?h(P):m(P),L=Y.find(ne=>ne.weekNumber===R),z=new Gc(P,v,r);return L?L.days.push(z):Y.push(new P1(R,[z])),Y},[]),x=new W1(v,D);return k.push(x),k},[]);return n.reverseMonths?_.reverse():_}function B_(e,t){let{startMonth:n,endMonth:r}=e;const{startOfYear:a,startOfDay:i,startOfMonth:u,endOfMonth:l,addYears:d,endOfYear:h,newDate:m,today:p}=t,{fromYear:b,toYear:w,fromMonth:_,toMonth:k}=e;!n&&_&&(n=_),!n&&b&&(n=t.newDate(b,0,1)),!r&&k&&(r=k),!r&&w&&(r=m(w,11,31));const v=e.captionLayout==="dropdown"||e.captionLayout==="dropdown-years";return n?n=u(n):b?n=m(b,0,1):!n&&v&&(n=a(d(e.today??p(),-100))),r?r=l(r):w?r=m(w,11,31):!r&&v&&(r=h(e.today??p())),[n&&i(n),r&&i(r)]}function H_(e,t,n,r){if(n.disableNavigation)return;const{pagedNavigation:a,numberOfMonths:i=1}=n,{startOfMonth:u,addMonths:l,differenceInCalendarMonths:d}=r,h=a?i:1,m=u(e);if(!t)return l(m,h);if(!(d(t,e)<i))return l(m,h)}function j_(e,t,n,r){if(n.disableNavigation)return;const{pagedNavigation:a,numberOfMonths:i}=n,{startOfMonth:u,addMonths:l,differenceInCalendarMonths:d}=r,h=a?i??1:1,m=u(e);if(!t)return l(m,-h);if(!(d(m,t)<=0))return l(m,-h)}function Z_(e){const t=[];return e.reduce((n,r)=>n.concat(r.weeks.slice()),t.slice())}function as(e,t){const[n,r]=y.useState(e);return[t===void 0?n:t,r]}function X_(e,t){var T;const[n,r]=B_(e,t),{startOfMonth:a,endOfMonth:i}=t,u=ol(e,n,r,t),[l,d]=as(u,e.month?u:void 0);y.useEffect(()=>{const D=ol(e,n,r,t);d(D)},[e.timeZone]);const{months:h,weeks:m,days:p,previousMonth:b,nextMonth:w}=y.useMemo(()=>{const D=L_(l,r,{numberOfMonths:e.numberOfMonths},t),x=R_(D,e.endMonth?i(e.endMonth):void 0,{ISOWeek:e.ISOWeek,fixedWeeks:e.fixedWeeks,broadcastCalendar:e.broadcastCalendar},t),Y=V_(D,x,{broadcastCalendar:e.broadcastCalendar,fixedWeeks:e.fixedWeeks,ISOWeek:e.ISOWeek,reverseMonths:e.reverseMonths},t),P=Z_(Y),R=G_(Y),L=j_(l,n,e,t),z=H_(l,r,e,t);return{months:Y,weeks:P,days:R,previousMonth:L,nextMonth:z}},[t,l.getTime(),r==null?void 0:r.getTime(),n==null?void 0:n.getTime(),e.disableNavigation,e.broadcastCalendar,(T=e.endMonth)==null?void 0:T.getTime(),e.fixedWeeks,e.ISOWeek,e.numberOfMonths,e.pagedNavigation,e.reverseMonths]),{disableNavigation:_,onMonthChange:k}=e,v=D=>m.some(x=>x.days.some(Y=>Y.isEqualTo(D))),C=D=>{if(_)return;let x=a(D);n&&x<a(n)&&(x=a(n)),r&&x>a(r)&&(x=a(r)),d(x),k==null||k(x)};return{months:h,weeks:m,days:p,navStart:n,navEnd:r,previousMonth:b,nextMonth:w,goToMonth:C,goToDay:D=>{v(D)||C(D.date)}}}var jt;(function(e){e[e.Today=0]="Today",e[e.Selected=1]="Selected",e[e.LastFocused=2]="LastFocused",e[e.FocusedModifier=3]="FocusedModifier"})(jt||(jt={}));function ul(e){return!e[Xe.disabled]&&!e[Xe.hidden]&&!e[Xe.outside]}function z_(e,t,n,r){let a,i=-1;for(const u of e){const l=t(u);ul(l)&&(l[Xe.focused]&&i<jt.FocusedModifier?(a=u,i=jt.FocusedModifier):r!=null&&r.isEqualTo(u)&&i<jt.LastFocused?(a=u,i=jt.LastFocused):n(u.date)&&i<jt.Selected?(a=u,i=jt.Selected):l[Xe.today]&&i<jt.Today&&(a=u,i=jt.Today))}return a||(a=e.find(u=>ul(t(u)))),a}function U_(e,t,n,r,a,i,u){const{ISOWeek:l,broadcastCalendar:d}=i,{addDays:h,addMonths:m,addWeeks:p,addYears:b,endOfBroadcastWeek:w,endOfISOWeek:_,endOfWeek:k,max:v,min:C,startOfBroadcastWeek:I,startOfISOWeek:S,startOfWeek:T}=u;let x={day:h,week:p,month:m,year:b,startOfWeek:Y=>d?I(Y,u):l?S(Y):T(Y),endOfWeek:Y=>d?w(Y):l?_(Y):k(Y)}[e](n,t==="after"?1:-1);return t==="before"&&r?x=v([r,x]):t==="after"&&a&&(x=C([a,x])),x}function ed(e,t,n,r,a,i,u,l=0){if(l>365)return;const d=U_(e,t,n.date,r,a,i,u),h=!!(i.disabled&&hn(d,i.disabled,u)),m=!!(i.hidden&&hn(d,i.hidden,u)),p=d,b=new Gc(d,p,u);return!h&&!m?b:ed(e,t,b,r,a,i,u,l+1)}function $_(e,t,n,r,a){const{autoFocus:i}=e,[u,l]=y.useState(),d=z_(t.days,n,r||(()=>!1),u),[h,m]=y.useState(i?d:void 0);return{isFocusTarget:k=>!!(d!=null&&d.isEqualTo(k)),setFocused:m,focused:h,blur:()=>{l(h),m(void 0)},moveFocus:(k,v)=>{if(!h)return;const C=ed(k,v,h,t.navStart,t.navEnd,e,a);C&&(e.disableNavigation&&!t.days.some(S=>S.isEqualTo(C))||(t.goToDay(C),m(C)))}}}function J_(e,t){const{selected:n,required:r,onSelect:a}=e,[i,u]=as(n,a?n:void 0),l=a?n:i,{isSameDay:d}=t,h=w=>(l==null?void 0:l.some(_=>d(_,w)))??!1,{min:m,max:p}=e;return{selected:l,select:(w,_,k)=>{let v=[...l??[]];if(h(w)){if((l==null?void 0:l.length)===m||r&&(l==null?void 0:l.length)===1)return;v=l==null?void 0:l.filter(C=>!d(C,w))}else(l==null?void 0:l.length)===p?v=[w]:v=[...v,w];return a||u(v),a==null||a(v,w,_,k),v},isSelected:h}}function Q_(e,t,n=0,r=0,a=!1,i=Qt){const{from:u,to:l}=t||{},{isSameDay:d,isAfter:h,isBefore:m}=i;let p;if(!u&&!l)p={from:e,to:n>0?void 0:e};else if(u&&!l)d(u,e)?n===0?p={from:u,to:e}:a?p={from:u,to:void 0}:p=void 0:m(e,u)?p={from:e,to:u}:p={from:u,to:e};else if(u&&l)if(d(u,e)&&d(l,e))a?p={from:u,to:l}:p=void 0;else if(d(u,e))p={from:u,to:n>0?void 0:e};else if(d(l,e))p={from:e,to:n>0?void 0:e};else if(m(e,u))p={from:e,to:l};else if(h(e,u))p={from:u,to:e};else if(h(e,l))p={from:u,to:e};else throw new Error("Invalid range");if(p!=null&&p.from&&(p!=null&&p.to)){const b=i.differenceInCalendarDays(p.to,p.from);r>0&&b>r?p={from:e,to:void 0}:n>1&&b<n&&(p={from:e,to:void 0})}return p}function q_(e,t,n=Qt){const r=Array.isArray(t)?t:[t];let a=e.from;const i=n.differenceInCalendarDays(e.to,e.from),u=Math.min(i,6);for(let l=0;l<=u;l++){if(r.includes(a.getDay()))return!0;a=n.addDays(a,1)}return!1}function ll(e,t,n=Qt){return fn(e,t.from,!1,n)||fn(e,t.to,!1,n)||fn(t,e.from,!1,n)||fn(t,e.to,!1,n)}function K_(e,t,n=Qt){const r=Array.isArray(t)?t:[t];if(r.filter(l=>typeof l!="function").some(l=>typeof l=="boolean"?l:n.isDate(l)?fn(e,l,!1,n):Bc(l,n)?l.some(d=>fn(e,d,!1,n)):rs(l)?l.from&&l.to?ll(e,{from:l.from,to:l.to},n):!1:Vc(l)?q_(e,l.dayOfWeek,n):oo(l)?n.isAfter(l.before,l.after)?ll(e,{from:n.addDays(l.after,1),to:n.addDays(l.before,-1)},n):hn(e.from,l,n)||hn(e.to,l,n):uo(l)||lo(l)?hn(e.from,l,n)||hn(e.to,l,n):!1))return!0;const u=r.filter(l=>typeof l=="function");if(u.length){let l=e.from;const d=n.differenceInCalendarDays(e.to,e.from);for(let h=0;h<=d;h++){if(u.some(m=>m(l)))return!0;l=n.addDays(l,1)}}return!1}function ew(e,t){const{disabled:n,excludeDisabled:r,resetOnSelect:a,selected:i,required:u,onSelect:l}=e,[d,h]=as(i,l?i:void 0),m=l?i:d;return{selected:m,select:(w,_,k)=>{const{min:v,max:C}=e;let I;if(w){const S=m==null?void 0:m.from,T=m==null?void 0:m.to,D=!!S&&!!T,x=!!S&&!!T&&t.isSameDay(S,T)&&t.isSameDay(w,S);a&&(D||!(m!=null&&m.from))?!u&&x?I=void 0:I={from:w,to:void 0}:I=Q_(w,m,v,C,u,t)}return r&&n&&(I!=null&&I.from)&&I.to&&K_({from:I.from,to:I.to},n,t)&&(I.from=w,I.to=void 0),l||h(I),l==null||l(I,w,_,k),I},isSelected:w=>m&&fn(m,w,!1,t)}}function tw(e,t){const{selected:n,required:r,onSelect:a}=e,[i,u]=as(n,a?n:void 0),l=a?n:i,{isSameDay:d}=t;return{selected:l,select:(p,b,w)=>{let _=p;return!r&&l&&l&&d(p,l)&&(_=void 0),a||u(_),a==null||a(_,p,b,w),_},isSelected:p=>l?d(l,p):!1}}function nw(e,t){const n=tw(e,t),r=J_(e,t),a=ew(e,t);switch(e.mode){case"single":return n;case"multiple":return r;case"range":return a;default:return}}function kt(e,t){return e instanceof ot&&e.timeZone===t?e:new ot(e,t)}function rr(e,t,n){if(!n)return kt(e,t);const r=kt(e,t),a=new ot(r.getFullYear(),r.getMonth(),r.getDate(),12,0,0,t);return new Date(a.getTime())}function cl(e,t,n){return typeof e=="boolean"||typeof e=="function"?e:e instanceof Date?rr(e,t,n):Array.isArray(e)?e.map(r=>r instanceof Date?rr(r,t,n):r):rs(e)?{...e,from:e.from?kt(e.from,t):e.from,to:e.to?kt(e.to,t):e.to}:oo(e)?{before:rr(e.before,t,n),after:rr(e.after,t,n)}:uo(e)?{after:rr(e.after,t,n)}:lo(e)?{before:rr(e.before,t,n)}:e}function ni(e,t,n){return e&&(Array.isArray(e)?e.map(r=>cl(r,t,n)):cl(e,t,n))}function ki(e){var An;let t=e;const n=t.timeZone;if(n&&(t={...e,timeZone:n},t.today&&(t.today=kt(t.today,n)),t.month&&(t.month=kt(t.month,n)),t.defaultMonth&&(t.defaultMonth=kt(t.defaultMonth,n)),t.startMonth&&(t.startMonth=kt(t.startMonth,n)),t.endMonth&&(t.endMonth=kt(t.endMonth,n)),t.mode==="single"&&t.selected?t.selected=kt(t.selected,n):t.mode==="multiple"&&t.selected?t.selected=(An=t.selected)==null?void 0:An.map(j=>kt(j,n)):t.mode==="range"&&t.selected&&(t.selected={from:t.selected.from?kt(t.selected.from,n):t.selected.from,to:t.selected.to?kt(t.selected.to,n):t.selected.to}),t.disabled!==void 0&&(t.disabled=ni(t.disabled,n)),t.hidden!==void 0&&(t.hidden=ni(t.hidden,n)),t.modifiers)){const j={};Object.keys(t.modifiers).forEach(ge=>{var Q;j[ge]=ni((Q=t.modifiers)==null?void 0:Q[ge],n)}),t.modifiers=j}const{components:r,formatters:a,labels:i,dateLib:u,locale:l,classNames:d}=y.useMemo(()=>{const j={...Rc,...t.locale},ge=t.broadcastCalendar?1:t.weekStartsOn,Q=t.noonSafe&&t.timeZone?N_(t.timeZone,{weekStartsOn:ge,locale:j}):void 0,ce=t.dateLib&&Q?{...Q,...t.dateLib}:t.dateLib??Q,st=new Yt({locale:j,weekStartsOn:ge,firstWeekContainsDate:t.firstWeekContainsDate,useAdditionalWeekYearTokens:t.useAdditionalWeekYearTokens,useAdditionalDayOfYearTokens:t.useAdditionalDayOfYearTokens,timeZone:t.timeZone,numerals:t.numerals},ce);return{dateLib:st,components:f_(t.components),formatters:x_(t.formatters),labels:C_(t.labels,st.options),locale:j,classNames:{...m_(),...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:u.today()});const{captionLayout:h,mode:m,navLayout:p,numberOfMonths:b=1,onDayBlur:w,onDayClick:_,onDayFocus:k,onDayKeyDown:v,onDayMouseEnter:C,onDayMouseLeave:I,onNextClick:S,onPrevClick:T,showWeekNumber:D,styles:x}=t,{formatCaption:Y,formatDay:P,formatMonthDropdown:R,formatWeekNumber:L,formatWeekNumberHeader:z,formatWeekdayName:ne,formatYearDropdown:K}=a,B=X_(t,u),{days:re,months:Ce,navStart:de,navEnd:Ye,previousMonth:Oe,nextMonth:ue,goToMonth:We}=B,pe=c_(re,t,de,Ye,u),{isSelected:Me,select:ke,selected:F}=nw(t,u)??{},{blur:Ve,focused:Pe,isFocusTarget:Je,moveFocus:at,setFocused:yt}=$_(t,B,pe,Me??(()=>!1),u),{labelDayButton:xt,labelGridcell:N,labelGrid:Be,labelMonthDropdown:H,labelNav:ze,labelPrevious:ys,labelNext:vs,labelWeekday:_s,labelWeekNumber:ws,labelWeekNumberHeader:Nn,labelYearDropdown:rt}=i,vt=y.useMemo(()=>T_(u,t.ISOWeek,t.broadcastCalendar,t.today),[u,t.ISOWeek,t.broadcastCalendar,t.today]),Zn=m!==void 0||_!==void 0,Xn=y.useCallback(()=>{Oe&&(We(Oe),T==null||T(Oe))},[Oe,We,T]),Qe=y.useCallback(()=>{ue&&(We(ue),S==null||S(ue))},[We,ue,S]),Ms=y.useCallback((j,ge)=>Q=>{Q.preventDefault(),Q.stopPropagation(),yt(j),!ge.disabled&&(ke==null||ke(j.date,ge,Q),_==null||_(j.date,ge,Q))},[ke,_,yt]),zn=y.useCallback((j,ge)=>Q=>{yt(j),k==null||k(j.date,ge,Q)},[k,yt]),_t=y.useCallback((j,ge)=>Q=>{Ve(),w==null||w(j.date,ge,Q)},[Ve,w]),se=y.useCallback((j,ge)=>Q=>{const ce={ArrowLeft:[Q.shiftKey?"month":"day",t.dir==="rtl"?"after":"before"],ArrowRight:[Q.shiftKey?"month":"day",t.dir==="rtl"?"before":"after"],ArrowDown:[Q.shiftKey?"year":"week","after"],ArrowUp:[Q.shiftKey?"year":"week","before"],PageUp:[Q.shiftKey?"year":"month","before"],PageDown:[Q.shiftKey?"year":"month","after"],Home:["startOfWeek","before"],End:["endOfWeek","after"]};if(ce[Q.key]){Q.preventDefault(),Q.stopPropagation();const[st,oe]=ce[Q.key];at(st,oe)}v==null||v(j.date,ge,Q)},[at,v,t.dir]),wn=y.useCallback((j,ge)=>Q=>{C==null||C(j.date,ge,Q)},[C]),Un=y.useCallback((j,ge)=>Q=>{I==null||I(j.date,ge,Q)},[I]),oa=y.useCallback(j=>ge=>{const Q=Number(ge.target.value),ce=u.setMonth(u.startOfMonth(j),Q);We(ce)},[u,We]),xs=y.useCallback(j=>ge=>{const Q=Number(ge.target.value),ce=u.setYear(u.startOfMonth(j),Q);We(ce)},[u,We]),{className:Is,style:ua}=y.useMemo(()=>({className:[d[U.Root],t.className].filter(Boolean).join(" "),style:{...x==null?void 0:x[U.Root],...t.style}}),[d,t.className,t.style,x]),gt=h_(t),wr=y.useRef(null);F_(wr,!!t.animate,{classNames:d,months:Ce,focused:Pe,dateLib:u});const Mr={dayPickerProps:t,selected:F,select:ke,isSelected:Me,months:Ce,nextMonth:ue,previousMonth:Oe,goToMonth:We,getModifiers:pe,components:r,classNames:d,styles:x,labels:i,formatters:a};return y.createElement(Lc.Provider,{value:Mr},y.createElement(r.Root,{rootRef:t.animate?wr:void 0,className:Is,style:ua,dir:t.dir,id:t.id,lang:t.lang??l.code,nonce:t.nonce,title:t.title,role:t.role,"aria-label":t["aria-label"],"aria-labelledby":t["aria-labelledby"],...gt},y.createElement(r.Months,{className:d[U.Months],style:x==null?void 0:x[U.Months]},!t.hideNavigation&&!p&&y.createElement(r.Nav,{"data-animated-nav":t.animate?"true":void 0,className:d[U.Nav],style:x==null?void 0:x[U.Nav],"aria-label":ze(),onPreviousClick:Xn,onNextClick:Qe,previousMonth:Oe,nextMonth:ue}),Ce.map((j,ge)=>y.createElement(r.Month,{"data-animated-month":t.animate?"true":void 0,className:d[U.Month],style:x==null?void 0:x[U.Month],key:ge,displayIndex:ge,calendarMonth:j},p==="around"&&!t.hideNavigation&&ge===0&&y.createElement(r.PreviousMonthButton,{type:"button",className:d[U.PreviousMonthButton],tabIndex:Oe?void 0:-1,"aria-disabled":Oe?void 0:!0,"aria-label":ys(Oe),onClick:Xn,"data-animated-button":t.animate?"true":void 0},y.createElement(r.Chevron,{disabled:Oe?void 0:!0,className:d[U.Chevron],orientation:t.dir==="rtl"?"right":"left"})),y.createElement(r.MonthCaption,{"data-animated-caption":t.animate?"true":void 0,className:d[U.MonthCaption],style:x==null?void 0:x[U.MonthCaption],calendarMonth:j,displayIndex:ge},h!=null&&h.startsWith("dropdown")?y.createElement(r.DropdownNav,{className:d[U.Dropdowns],style:x==null?void 0:x[U.Dropdowns]},(()=>{const Q=h==="dropdown"||h==="dropdown-months"?y.createElement(r.MonthsDropdown,{key:"month",className:d[U.MonthsDropdown],"aria-label":H(),classNames:d,components:r,disabled:!!t.disableNavigation,onChange:oa(j.date),options:Y_(j.date,de,Ye,a,u),style:x==null?void 0:x[U.Dropdown],value:u.getMonth(j.date)}):y.createElement("span",{key:"month"},R(j.date,u)),ce=h==="dropdown"||h==="dropdown-years"?y.createElement(r.YearsDropdown,{key:"year",className:d[U.YearsDropdown],"aria-label":rt(u.options),classNames:d,components:r,disabled:!!t.disableNavigation,onChange:xs(j.date),options:E_(de,Ye,a,u,!!t.reverseYears),style:x==null?void 0:x[U.Dropdown],value:u.getYear(j.date)}):y.createElement("span",{key:"year"},K(j.date,u));return u.getMonthYearOrder()==="year-first"?[ce,Q]:[Q,ce]})(),y.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"}},Y(j.date,u.options,u))):y.createElement(r.CaptionLabel,{className:d[U.CaptionLabel],role:"status","aria-live":"polite"},Y(j.date,u.options,u))),p==="around"&&!t.hideNavigation&&ge===b-1&&y.createElement(r.NextMonthButton,{type:"button",className:d[U.NextMonthButton],tabIndex:ue?void 0:-1,"aria-disabled":ue?void 0:!0,"aria-label":vs(ue),onClick:Qe,"data-animated-button":t.animate?"true":void 0},y.createElement(r.Chevron,{disabled:ue?void 0:!0,className:d[U.Chevron],orientation:t.dir==="rtl"?"left":"right"})),ge===b-1&&p==="after"&&!t.hideNavigation&&y.createElement(r.Nav,{"data-animated-nav":t.animate?"true":void 0,className:d[U.Nav],style:x==null?void 0:x[U.Nav],"aria-label":ze(),onPreviousClick:Xn,onNextClick:Qe,previousMonth:Oe,nextMonth:ue}),y.createElement(r.MonthGrid,{role:"grid","aria-multiselectable":m==="multiple"||m==="range","aria-label":Be(j.date,u.options,u)||void 0,className:d[U.MonthGrid],style:x==null?void 0:x[U.MonthGrid]},!t.hideWeekdays&&y.createElement(r.Weekdays,{"data-animated-weekdays":t.animate?"true":void 0,className:d[U.Weekdays],style:x==null?void 0:x[U.Weekdays]},D&&y.createElement(r.WeekNumberHeader,{"aria-label":Nn(u.options),className:d[U.WeekNumberHeader],style:x==null?void 0:x[U.WeekNumberHeader],scope:"col"},z()),vt.map(Q=>y.createElement(r.Weekday,{"aria-label":_s(Q,u.options,u),className:d[U.Weekday],key:String(Q),style:x==null?void 0:x[U.Weekday],scope:"col"},ne(Q,u.options,u)))),y.createElement(r.Weeks,{"data-animated-weeks":t.animate?"true":void 0,className:d[U.Weeks],style:x==null?void 0:x[U.Weeks]},j.weeks.map(Q=>y.createElement(r.Week,{className:d[U.Week],key:Q.weekNumber,style:x==null?void 0:x[U.Week],week:Q},D&&y.createElement(r.WeekNumber,{week:Q,style:x==null?void 0:x[U.WeekNumber],"aria-label":ws(Q.weekNumber,{locale:l}),className:d[U.WeekNumber],scope:"row",role:"rowheader"},L(Q.weekNumber,u)),Q.days.map(ce=>{const{date:st}=ce,oe=pe(ce);if(oe[Xe.focused]=!oe.hidden&&!!(Pe!=null&&Pe.isEqualTo(ce)),oe[Rt.selected]=(Me==null?void 0:Me(st))||oe.selected,rs(F)){const{from:xn,to:xr}=F;oe[Rt.range_start]=!!(xn&&xr&&u.isSameDay(st,xn)),oe[Rt.range_end]=!!(xn&&xr&&u.isSameDay(st,xr)),oe[Rt.range_middle]=fn(F,st,!0,u)}const Mn=O_(oe,x,t.modifiersStyles),$n=d_(oe,d,t.modifiersClassNames),ks=!Zn&&!oe.hidden?N(st,oe,u.options,u):void 0;return y.createElement(r.Day,{key:`${ce.isoDate}_${ce.displayMonthId}`,day:ce,modifiers:oe,className:$n.join(" "),style:Mn,role:"gridcell","aria-selected":oe.selected||void 0,"aria-label":ks,"data-day":ce.isoDate,"data-month":ce.outside?ce.dateMonthId:void 0,"data-selected":oe.selected||void 0,"data-disabled":oe.disabled||void 0,"data-hidden":oe.hidden||void 0,"data-outside":ce.outside||void 0,"data-focused":oe.focused||void 0,"data-today":oe.today||void 0},!oe.hidden&&Zn?y.createElement(r.DayButton,{className:d[U.DayButton],style:x==null?void 0:x[U.DayButton],type:"button",day:ce,modifiers:oe,disabled:!oe.focused&&oe.disabled||void 0,"aria-disabled":oe.focused&&oe.disabled||void 0,tabIndex:Je(ce)?0:-1,"aria-label":xt(st,oe,u.options,u),onClick:Ms(ce,oe),onBlur:_t(ce,oe),onFocus:zn(ce,oe),onKeyDown:se(ce,oe),onMouseEnter:wn(ce,oe),onMouseLeave:Un(ce,oe)},P(st,u.options,u)):!oe.hidden&&P(ce.date,u.options,u))})))))))),t.footer&&y.createElement(r.Footer,{className:d[U.Footer],style:x==null?void 0:x[U.Footer],role:"status","aria-live":"polite"},t.footer)))}//! moment.js
|
|
683
|
+
//! version : 2.29.4
|
|
684
|
+
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
|
685
|
+
//! license : MIT
|
|
686
|
+
//! momentjs.com
|
|
687
|
+
var td;function G(){return td.apply(null,arguments)}function rw(e){td=e}function Lt(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function Hn(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function ye(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function ho(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var t;for(t in e)if(ye(e,t))return!1;return!0}function wt(e){return e===void 0}function bn(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function ra(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function nd(e,t){var n=[],r,a=e.length;for(r=0;r<a;++r)n.push(t(e[r],r));return n}function Yn(e,t){for(var n in t)ye(t,n)&&(e[n]=t[n]);return ye(t,"toString")&&(e.toString=t.toString),ye(t,"valueOf")&&(e.valueOf=t.valueOf),e}function qt(e,t,n,r){return Dd(e,t,n,r,!0).utc()}function aw(){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 ae(e){return e._pf==null&&(e._pf=aw()),e._pf}var Di;Array.prototype.some?Di=Array.prototype.some:Di=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 mo(e){if(e._isValid==null){var t=ae(e),n=Di.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 ss(e){var t=qt(NaN);return e!=null?Yn(ae(t),e):ae(t).userInvalidated=!0,t}var dl=G.momentProperties=[],ri=!1;function go(e,t){var n,r,a,i=dl.length;if(wt(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),wt(t._i)||(e._i=t._i),wt(t._f)||(e._f=t._f),wt(t._l)||(e._l=t._l),wt(t._strict)||(e._strict=t._strict),wt(t._tzm)||(e._tzm=t._tzm),wt(t._isUTC)||(e._isUTC=t._isUTC),wt(t._offset)||(e._offset=t._offset),wt(t._pf)||(e._pf=ae(t)),wt(t._locale)||(e._locale=t._locale),i>0)for(n=0;n<i;n++)r=dl[n],a=t[r],wt(a)||(e[r]=a);return e}function aa(e){go(this,e),this._d=new Date(e._d!=null?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),ri===!1&&(ri=!0,G.updateOffset(this),ri=!1)}function Vt(e){return e instanceof aa||e!=null&&e._isAMomentObject!=null}function rd(e){G.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+e)}function Et(e,t){var n=!0;return Yn(function(){if(G.deprecationHandler!=null&&G.deprecationHandler(null,e),n){var r=[],a,i,u,l=arguments.length;for(i=0;i<l;i++){if(a="",typeof arguments[i]=="object"){a+=`
|
|
688
|
+
[`+i+"] ";for(u in arguments[0])ye(arguments[0],u)&&(a+=u+": "+arguments[0][u]+", ");a=a.slice(0,-2)}else a=arguments[i];r.push(a)}rd(e+`
|
|
689
|
+
Arguments: `+Array.prototype.slice.call(r).join("")+`
|
|
690
|
+
`+new Error().stack),n=!1}return t.apply(this,arguments)},t)}var fl={};function ad(e,t){G.deprecationHandler!=null&&G.deprecationHandler(e,t),fl[e]||(rd(t),fl[e]=!0)}G.suppressDeprecationWarnings=!1;G.deprecationHandler=null;function Kt(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function sw(e){var t,n;for(n in e)ye(e,n)&&(t=e[n],Kt(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 Si(e,t){var n=Yn({},e),r;for(r in t)ye(t,r)&&(Hn(e[r])&&Hn(t[r])?(n[r]={},Yn(n[r],e[r]),Yn(n[r],t[r])):t[r]!=null?n[r]=t[r]:delete n[r]);for(r in e)ye(e,r)&&!ye(t,r)&&Hn(e[r])&&(n[r]=Yn({},n[r]));return n}function po(e){e!=null&&this.set(e)}var Ci;Object.keys?Ci=Object.keys:Ci=function(e){var t,n=[];for(t in e)ye(e,t)&&n.push(t);return n};var iw={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function ow(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return Kt(r)?r.call(t,n):r}function Jt(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 bo=/(\[[^\[]*\])|(\\)?([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,Ca=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ai={},cr={};function J(e,t,n,r){var a=r;typeof r=="string"&&(a=function(){return this[r]()}),e&&(cr[e]=a),t&&(cr[t[0]]=function(){return Jt(a.apply(this,arguments),t[1],t[2])}),n&&(cr[n]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function uw(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function lw(e){var t=e.match(bo),n,r;for(n=0,r=t.length;n<r;n++)cr[t[n]]?t[n]=cr[t[n]]:t[n]=uw(t[n]);return function(a){var i="",u;for(u=0;u<r;u++)i+=Kt(t[u])?t[u].call(a,e):t[u];return i}}function Aa(e,t){return e.isValid()?(t=sd(t,e.localeData()),ai[t]=ai[t]||lw(t),ai[t](e)):e.localeData().invalidDate()}function sd(e,t){var n=5;function r(a){return t.longDateFormat(a)||a}for(Ca.lastIndex=0;n>=0&&Ca.test(e);)e=e.replace(Ca,r),Ca.lastIndex=0,n-=1;return e}var cw={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 dw(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(bo).map(function(r){return r==="MMMM"||r==="MM"||r==="DD"||r==="dddd"?r.slice(1):r}).join(""),this._longDateFormat[e])}var fw="Invalid date";function hw(){return this._invalidDate}var mw="%d",gw=/\d{1,2}/;function pw(e){return this._ordinal.replace("%d",e)}var bw={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 yw(e,t,n,r){var a=this._relativeTime[n];return Kt(a)?a(e,t,n,r):a.replace(/%d/i,e)}function vw(e,t){var n=this._relativeTime[e>0?"future":"past"];return Kt(n)?n(t):n.replace(/%s/i,t)}var Br={};function ft(e,t){var n=e.toLowerCase();Br[n]=Br[n+"s"]=Br[t]=e}function Nt(e){return typeof e=="string"?Br[e]||Br[e.toLowerCase()]:void 0}function yo(e){var t={},n,r;for(r in e)ye(e,r)&&(n=Nt(r),n&&(t[n]=e[r]));return t}var id={};function ht(e,t){id[e]=t}function _w(e){var t=[],n;for(n in e)ye(e,n)&&t.push({unit:n,priority:id[n]});return t.sort(function(r,a){return r.priority-a.priority}),t}function is(e){return e%4===0&&e%100!==0||e%400===0}function Tt(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function le(e){var t=+e,n=0;return t!==0&&isFinite(t)&&(n=Tt(t)),n}function vr(e,t){return function(n){return n!=null?(od(this,e,n),G.updateOffset(this,t),this):Ha(this,e)}}function Ha(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function od(e,t,n){e.isValid()&&!isNaN(n)&&(t==="FullYear"&&is(e.year())&&e.month()===1&&e.date()===29?(n=le(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),fs(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function ww(e){return e=Nt(e),Kt(this[e])?this[e]():this}function Mw(e,t){if(typeof e=="object"){e=yo(e);var n=_w(e),r,a=n.length;for(r=0;r<a;r++)this[n[r].unit](e[n[r].unit])}else if(e=Nt(e),Kt(this[e]))return this[e](t);return this}var ud=/\d/,Ot=/\d\d/,ld=/\d{3}/,vo=/\d{4}/,os=/[+-]?\d{6}/,Le=/\d\d?/,cd=/\d\d\d\d?/,dd=/\d\d\d\d\d\d?/,us=/\d{1,3}/,_o=/\d{1,4}/,ls=/[+-]?\d{1,6}/,_r=/\d+/,cs=/[+-]?\d+/,xw=/Z|[+-]\d\d:?\d\d/gi,ds=/Z|[+-]\d\d(?::?\d\d)?/gi,Iw=/[+-]?\d+(\.\d{1,3})?/,sa=/[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,ja;ja={};function X(e,t,n){ja[e]=Kt(t)?t:function(r,a){return r&&n?n:t}}function kw(e,t){return ye(ja,e)?ja[e](t._strict,t._locale):new RegExp(Dw(e))}function Dw(e){return St(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,n,r,a,i){return n||r||a||i}))}function St(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Yi={};function Ae(e,t){var n,r=t,a;for(typeof e=="string"&&(e=[e]),bn(t)&&(r=function(i,u){u[t]=le(i)}),a=e.length,n=0;n<a;n++)Yi[e[n]]=r}function ia(e,t){Ae(e,function(n,r,a,i){a._w=a._w||{},t(n,a._w,a,i)})}function Sw(e,t,n){t!=null&&ye(Yi,e)&&Yi[e](t,n._a,n,e)}var dt=0,mn=1,Xt=2,nt=3,Gt=4,gn=5,Bn=6,Cw=7,Yw=8;function Ow(e,t){return(e%t+t)%t}var $e;Array.prototype.indexOf?$e=Array.prototype.indexOf:$e=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function fs(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=Ow(t,12);return e+=(t-n)/12,n===1?is(e)?29:28:31-n%7%2}J("M",["MM",2],"Mo",function(){return this.month()+1});J("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)});J("MMMM",0,0,function(e){return this.localeData().months(this,e)});ft("month","M");ht("month",8);X("M",Le);X("MM",Le,Ot);X("MMM",function(e,t){return t.monthsShortRegex(e)});X("MMMM",function(e,t){return t.monthsRegex(e)});Ae(["M","MM"],function(e,t){t[mn]=le(e)-1});Ae(["MMM","MMMM"],function(e,t,n,r){var a=n._locale.monthsParse(e,r,n._strict);a!=null?t[mn]=a:ae(n).invalidMonth=e});var Tw="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),fd="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),hd=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ew=sa,Nw=sa;function Aw(e,t){return e?Lt(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||hd).test(t)?"format":"standalone"][e.month()]:Lt(this._months)?this._months:this._months.standalone}function Ww(e,t){return e?Lt(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[hd.test(t)?"format":"standalone"][e.month()]:Lt(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function Pw(e,t,n){var r,a,i,u=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)i=qt([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(i,"").toLocaleLowerCase();return n?t==="MMM"?(a=$e.call(this._shortMonthsParse,u),a!==-1?a:null):(a=$e.call(this._longMonthsParse,u),a!==-1?a:null):t==="MMM"?(a=$e.call(this._shortMonthsParse,u),a!==-1?a:(a=$e.call(this._longMonthsParse,u),a!==-1?a:null)):(a=$e.call(this._longMonthsParse,u),a!==-1?a:(a=$e.call(this._shortMonthsParse,u),a!==-1?a:null))}function Fw(e,t,n){var r,a,i;if(this._monthsParseExact)return Pw.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(a=qt([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 md(e,t){var n;if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=le(t);else if(t=e.localeData().monthsParse(t),!bn(t))return e}return n=Math.min(e.date(),fs(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function gd(e){return e!=null?(md(this,e),G.updateOffset(this,!0),this):Ha(this,"Month")}function Rw(){return fs(this.year(),this.month())}function Gw(e){return this._monthsParseExact?(ye(this,"_monthsRegex")||pd.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(ye(this,"_monthsShortRegex")||(this._monthsShortRegex=Ew),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function Lw(e){return this._monthsParseExact?(ye(this,"_monthsRegex")||pd.call(this),e?this._monthsStrictRegex:this._monthsRegex):(ye(this,"_monthsRegex")||(this._monthsRegex=Nw),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function pd(){function e(u,l){return l.length-u.length}var t=[],n=[],r=[],a,i;for(a=0;a<12;a++)i=qt([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]=St(t[a]),n[a]=St(n[a]);for(a=0;a<24;a++)r[a]=St(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")}J("Y",0,0,function(){var e=this.year();return e<=9999?Jt(e,4):"+"+e});J(0,["YY",2],0,function(){return this.year()%100});J(0,["YYYY",4],0,"year");J(0,["YYYYY",5],0,"year");J(0,["YYYYYY",6,!0],0,"year");ft("year","y");ht("year",1);X("Y",cs);X("YY",Le,Ot);X("YYYY",_o,vo);X("YYYYY",ls,os);X("YYYYYY",ls,os);Ae(["YYYYY","YYYYYY"],dt);Ae("YYYY",function(e,t){t[dt]=e.length===2?G.parseTwoDigitYear(e):le(e)});Ae("YY",function(e,t){t[dt]=G.parseTwoDigitYear(e)});Ae("Y",function(e,t){t[dt]=parseInt(e,10)});function Hr(e){return is(e)?366:365}G.parseTwoDigitYear=function(e){return le(e)+(le(e)>68?1900:2e3)};var bd=vr("FullYear",!0);function Vw(){return is(this.year())}function Bw(e,t,n,r,a,i,u){var l;return e<100&&e>=0?(l=new Date(e+400,t,n,r,a,i,u),isFinite(l.getFullYear())&&l.setFullYear(e)):l=new Date(e,t,n,r,a,i,u),l}function Jr(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 Za(e,t,n){var r=7+t-n,a=(7+Jr(e,0,r).getUTCDay()-t)%7;return-a+r-1}function yd(e,t,n,r,a){var i=(7+n-r)%7,u=Za(e,r,a),l=1+7*(t-1)+i+u,d,h;return l<=0?(d=e-1,h=Hr(d)+l):l>Hr(e)?(d=e+1,h=l-Hr(e)):(d=e,h=l),{year:d,dayOfYear:h}}function Qr(e,t,n){var r=Za(e.year(),t,n),a=Math.floor((e.dayOfYear()-r-1)/7)+1,i,u;return a<1?(u=e.year()-1,i=a+pn(u,t,n)):a>pn(e.year(),t,n)?(i=a-pn(e.year(),t,n),u=e.year()+1):(u=e.year(),i=a),{week:i,year:u}}function pn(e,t,n){var r=Za(e,t,n),a=Za(e+1,t,n);return(Hr(e)-r+a)/7}J("w",["ww",2],"wo","week");J("W",["WW",2],"Wo","isoWeek");ft("week","w");ft("isoWeek","W");ht("week",5);ht("isoWeek",5);X("w",Le);X("ww",Le,Ot);X("W",Le);X("WW",Le,Ot);ia(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=le(e)});function Hw(e){return Qr(e,this._week.dow,this._week.doy).week}var jw={dow:0,doy:6};function Zw(){return this._week.dow}function Xw(){return this._week.doy}function zw(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function Uw(e){var t=Qr(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}J("d",0,"do","day");J("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)});J("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)});J("dddd",0,0,function(e){return this.localeData().weekdays(this,e)});J("e",0,0,"weekday");J("E",0,0,"isoWeekday");ft("day","d");ft("weekday","e");ft("isoWeekday","E");ht("day",11);ht("weekday",11);ht("isoWeekday",11);X("d",Le);X("e",Le);X("E",Le);X("dd",function(e,t){return t.weekdaysMinRegex(e)});X("ddd",function(e,t){return t.weekdaysShortRegex(e)});X("dddd",function(e,t){return t.weekdaysRegex(e)});ia(["dd","ddd","dddd"],function(e,t,n,r){var a=n._locale.weekdaysParse(e,r,n._strict);a!=null?t.d=a:ae(n).invalidWeekday=e});ia(["d","e","E"],function(e,t,n,r){t[r]=le(e)});function $w(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function Jw(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function wo(e,t){return e.slice(t,7).concat(e.slice(0,t))}var Qw="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),vd="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),qw="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Kw=sa,eM=sa,tM=sa;function nM(e,t){var n=Lt(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?wo(n,this._week.dow):e?n[e.day()]:n}function rM(e){return e===!0?wo(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function aM(e){return e===!0?wo(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function sM(e,t,n){var r,a,i,u=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)i=qt([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=$e.call(this._weekdaysParse,u),a!==-1?a:null):t==="ddd"?(a=$e.call(this._shortWeekdaysParse,u),a!==-1?a:null):(a=$e.call(this._minWeekdaysParse,u),a!==-1?a:null):t==="dddd"?(a=$e.call(this._weekdaysParse,u),a!==-1||(a=$e.call(this._shortWeekdaysParse,u),a!==-1)?a:(a=$e.call(this._minWeekdaysParse,u),a!==-1?a:null)):t==="ddd"?(a=$e.call(this._shortWeekdaysParse,u),a!==-1||(a=$e.call(this._weekdaysParse,u),a!==-1)?a:(a=$e.call(this._minWeekdaysParse,u),a!==-1?a:null)):(a=$e.call(this._minWeekdaysParse,u),a!==-1||(a=$e.call(this._weekdaysParse,u),a!==-1)?a:(a=$e.call(this._shortWeekdaysParse,u),a!==-1?a:null))}function iM(e,t,n){var r,a,i;if(this._weekdaysParseExact)return sM.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(a=qt([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 oM(e){if(!this.isValid())return e!=null?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return e!=null?(e=$w(e,this.localeData()),this.add(e-t,"d")):t}function uM(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 lM(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=Jw(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function cM(e){return this._weekdaysParseExact?(ye(this,"_weekdaysRegex")||Mo.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(ye(this,"_weekdaysRegex")||(this._weekdaysRegex=Kw),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function dM(e){return this._weekdaysParseExact?(ye(this,"_weekdaysRegex")||Mo.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(ye(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=eM),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function fM(e){return this._weekdaysParseExact?(ye(this,"_weekdaysRegex")||Mo.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(ye(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=tM),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Mo(){function e(m,p){return p.length-m.length}var t=[],n=[],r=[],a=[],i,u,l,d,h;for(i=0;i<7;i++)u=qt([2e3,1]).day(i),l=St(this.weekdaysMin(u,"")),d=St(this.weekdaysShort(u,"")),h=St(this.weekdays(u,"")),t.push(l),n.push(d),r.push(h),a.push(l),a.push(d),a.push(h);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 xo(){return this.hours()%12||12}function hM(){return this.hours()||24}J("H",["HH",2],0,"hour");J("h",["hh",2],0,xo);J("k",["kk",2],0,hM);J("hmm",0,0,function(){return""+xo.apply(this)+Jt(this.minutes(),2)});J("hmmss",0,0,function(){return""+xo.apply(this)+Jt(this.minutes(),2)+Jt(this.seconds(),2)});J("Hmm",0,0,function(){return""+this.hours()+Jt(this.minutes(),2)});J("Hmmss",0,0,function(){return""+this.hours()+Jt(this.minutes(),2)+Jt(this.seconds(),2)});function _d(e,t){J(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}_d("a",!0);_d("A",!1);ft("hour","h");ht("hour",13);function wd(e,t){return t._meridiemParse}X("a",wd);X("A",wd);X("H",Le);X("h",Le);X("k",Le);X("HH",Le,Ot);X("hh",Le,Ot);X("kk",Le,Ot);X("hmm",cd);X("hmmss",dd);X("Hmm",cd);X("Hmmss",dd);Ae(["H","HH"],nt);Ae(["k","kk"],function(e,t,n){var r=le(e);t[nt]=r===24?0:r});Ae(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e});Ae(["h","hh"],function(e,t,n){t[nt]=le(e),ae(n).bigHour=!0});Ae("hmm",function(e,t,n){var r=e.length-2;t[nt]=le(e.substr(0,r)),t[Gt]=le(e.substr(r)),ae(n).bigHour=!0});Ae("hmmss",function(e,t,n){var r=e.length-4,a=e.length-2;t[nt]=le(e.substr(0,r)),t[Gt]=le(e.substr(r,2)),t[gn]=le(e.substr(a)),ae(n).bigHour=!0});Ae("Hmm",function(e,t,n){var r=e.length-2;t[nt]=le(e.substr(0,r)),t[Gt]=le(e.substr(r))});Ae("Hmmss",function(e,t,n){var r=e.length-4,a=e.length-2;t[nt]=le(e.substr(0,r)),t[Gt]=le(e.substr(r,2)),t[gn]=le(e.substr(a))});function mM(e){return(e+"").toLowerCase().charAt(0)==="p"}var gM=/[ap]\.?m?\.?/i,pM=vr("Hours",!0);function bM(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var Md={calendar:iw,longDateFormat:cw,invalidDate:fw,ordinal:mw,dayOfMonthOrdinalParse:gw,relativeTime:bw,months:Tw,monthsShort:fd,week:jw,weekdays:Qw,weekdaysMin:qw,weekdaysShort:vd,meridiemParse:gM},je={},Pr={},qr;function yM(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 hl(e){return e&&e.toLowerCase().replace("_","-")}function vM(e){for(var t=0,n,r,a,i;t<e.length;){for(i=hl(e[t]).split("-"),n=i.length,r=hl(e[t+1]),r=r?r.split("-"):null;n>0;){if(a=hs(i.slice(0,n).join("-")),a)return a;if(r&&r.length>=n&&yM(i,r)>=n-1)break;n--}t++}return qr}function _M(e){return e.match("^[^/\\\\]*$")!=null}function hs(e){var t=null,n;if(je[e]===void 0&&typeof module<"u"&&module&&module.exports&&_M(e))try{t=qr._abbr,n=require,n("./locale/"+e),Tn(t)}catch{je[e]=null}return je[e]}function Tn(e,t){var n;return e&&(wt(t)?n=vn(e):n=Io(e,t),n?qr=n:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),qr._abbr}function Io(e,t){if(t!==null){var n,r=Md;if(t.abbr=e,je[e]!=null)ad("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=je[e]._config;else if(t.parentLocale!=null)if(je[t.parentLocale]!=null)r=je[t.parentLocale]._config;else if(n=hs(t.parentLocale),n!=null)r=n._config;else return Pr[t.parentLocale]||(Pr[t.parentLocale]=[]),Pr[t.parentLocale].push({name:e,config:t}),null;return je[e]=new po(Si(r,t)),Pr[e]&&Pr[e].forEach(function(a){Io(a.name,a.config)}),Tn(e),je[e]}else return delete je[e],null}function wM(e,t){if(t!=null){var n,r,a=Md;je[e]!=null&&je[e].parentLocale!=null?je[e].set(Si(je[e]._config,t)):(r=hs(e),r!=null&&(a=r._config),t=Si(a,t),r==null&&(t.abbr=e),n=new po(t),n.parentLocale=je[e],je[e]=n),Tn(e)}else je[e]!=null&&(je[e].parentLocale!=null?(je[e]=je[e].parentLocale,e===Tn()&&Tn(e)):je[e]!=null&&delete je[e]);return je[e]}function vn(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return qr;if(!Lt(e)){if(t=hs(e),t)return t;e=[e]}return vM(e)}function MM(){return Ci(je)}function ko(e){var t,n=e._a;return n&&ae(e).overflow===-2&&(t=n[mn]<0||n[mn]>11?mn:n[Xt]<1||n[Xt]>fs(n[dt],n[mn])?Xt:n[nt]<0||n[nt]>24||n[nt]===24&&(n[Gt]!==0||n[gn]!==0||n[Bn]!==0)?nt:n[Gt]<0||n[Gt]>59?Gt:n[gn]<0||n[gn]>59?gn:n[Bn]<0||n[Bn]>999?Bn:-1,ae(e)._overflowDayOfYear&&(t<dt||t>Xt)&&(t=Xt),ae(e)._overflowWeeks&&t===-1&&(t=Cw),ae(e)._overflowWeekday&&t===-1&&(t=Yw),ae(e).overflow=t),e}var xM=/^\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)?)?$/,IM=/^\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)?)?$/,kM=/Z|[+-]\d\d(?::?\d\d)?/,Ya=[["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]],si=[["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/]],DM=/^\/?Date\((-?\d+)/i,SM=/^(?:(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}))$/,CM={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 xd(e){var t,n,r=e._i,a=xM.exec(r)||IM.exec(r),i,u,l,d,h=Ya.length,m=si.length;if(a){for(ae(e).iso=!0,t=0,n=h;t<n;t++)if(Ya[t][1].exec(a[1])){u=Ya[t][0],i=Ya[t][2]!==!1;break}if(u==null){e._isValid=!1;return}if(a[3]){for(t=0,n=m;t<n;t++)if(si[t][1].exec(a[3])){l=(a[2]||" ")+si[t][0];break}if(l==null){e._isValid=!1;return}}if(!i&&l!=null){e._isValid=!1;return}if(a[4])if(kM.exec(a[4]))d="Z";else{e._isValid=!1;return}e._f=u+(l||"")+(d||""),So(e)}else e._isValid=!1}function YM(e,t,n,r,a,i){var u=[OM(e),fd.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(a,10)];return i&&u.push(parseInt(i,10)),u}function OM(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function TM(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function EM(e,t,n){if(e){var r=vd.indexOf(e),a=new Date(t[0],t[1],t[2]).getDay();if(r!==a)return ae(n).weekdayMismatch=!0,n._isValid=!1,!1}return!0}function NM(e,t,n){if(e)return CM[e];if(t)return 0;var r=parseInt(n,10),a=r%100,i=(r-a)/100;return i*60+a}function Id(e){var t=SM.exec(TM(e._i)),n;if(t){if(n=YM(t[4],t[3],t[2],t[5],t[6],t[7]),!EM(t[1],n,e))return;e._a=n,e._tzm=NM(t[8],t[9],t[10]),e._d=Jr.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),ae(e).rfc2822=!0}else e._isValid=!1}function AM(e){var t=DM.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(xd(e),e._isValid===!1)delete e._isValid;else return;if(Id(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:G.createFromInputFallback(e)}G.createFromInputFallback=Et("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 ir(e,t,n){return e??t??n}function WM(e){var t=new Date(G.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Do(e){var t,n,r=[],a,i,u;if(!e._d){for(a=WM(e),e._w&&e._a[Xt]==null&&e._a[mn]==null&&PM(e),e._dayOfYear!=null&&(u=ir(e._a[dt],a[dt]),(e._dayOfYear>Hr(u)||e._dayOfYear===0)&&(ae(e)._overflowDayOfYear=!0),n=Jr(u,0,e._dayOfYear),e._a[mn]=n.getUTCMonth(),e._a[Xt]=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[nt]===24&&e._a[Gt]===0&&e._a[gn]===0&&e._a[Bn]===0&&(e._nextDay=!0,e._a[nt]=0),e._d=(e._useUTC?Jr:Bw).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[nt]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==i&&(ae(e).weekdayMismatch=!0)}}function PM(e){var t,n,r,a,i,u,l,d,h;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(i=1,u=4,n=ir(t.GG,e._a[dt],Qr(Ge(),1,4).year),r=ir(t.W,1),a=ir(t.E,1),(a<1||a>7)&&(d=!0)):(i=e._locale._week.dow,u=e._locale._week.doy,h=Qr(Ge(),i,u),n=ir(t.gg,e._a[dt],h.year),r=ir(t.w,h.week),t.d!=null?(a=t.d,(a<0||a>6)&&(d=!0)):t.e!=null?(a=t.e+i,(t.e<0||t.e>6)&&(d=!0)):a=i),r<1||r>pn(n,i,u)?ae(e)._overflowWeeks=!0:d!=null?ae(e)._overflowWeekday=!0:(l=yd(n,r,a,i,u),e._a[dt]=l.year,e._dayOfYear=l.dayOfYear)}G.ISO_8601=function(){};G.RFC_2822=function(){};function So(e){if(e._f===G.ISO_8601){xd(e);return}if(e._f===G.RFC_2822){Id(e);return}e._a=[],ae(e).empty=!0;var t=""+e._i,n,r,a,i,u,l=t.length,d=0,h,m;for(a=sd(e._f,e._locale).match(bo)||[],m=a.length,n=0;n<m;n++)i=a[n],r=(t.match(kw(i,e))||[])[0],r&&(u=t.substr(0,t.indexOf(r)),u.length>0&&ae(e).unusedInput.push(u),t=t.slice(t.indexOf(r)+r.length),d+=r.length),cr[i]?(r?ae(e).empty=!1:ae(e).unusedTokens.push(i),Sw(i,r,e)):e._strict&&!r&&ae(e).unusedTokens.push(i);ae(e).charsLeftOver=l-d,t.length>0&&ae(e).unusedInput.push(t),e._a[nt]<=12&&ae(e).bigHour===!0&&e._a[nt]>0&&(ae(e).bigHour=void 0),ae(e).parsedDateParts=e._a.slice(0),ae(e).meridiem=e._meridiem,e._a[nt]=FM(e._locale,e._a[nt],e._meridiem),h=ae(e).era,h!==null&&(e._a[dt]=e._locale.erasConvertYear(h,e._a[dt])),Do(e),ko(e)}function FM(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 RM(e){var t,n,r,a,i,u,l=!1,d=e._f.length;if(d===0){ae(e).invalidFormat=!0,e._d=new Date(NaN);return}for(a=0;a<d;a++)i=0,u=!1,t=go({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[a],So(t),mo(t)&&(u=!0),i+=ae(t).charsLeftOver,i+=ae(t).unusedTokens.length*10,ae(t).score=i,l?i<r&&(r=i,n=t):(r==null||i<r||u)&&(r=i,n=t,u&&(l=!0));Yn(e,n||t)}function GM(e){if(!e._d){var t=yo(e._i),n=t.day===void 0?t.date:t.day;e._a=nd([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],function(r){return r&&parseInt(r,10)}),Do(e)}}function LM(e){var t=new aa(ko(kd(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function kd(e){var t=e._i,n=e._f;return e._locale=e._locale||vn(e._l),t===null||n===void 0&&t===""?ss({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),Vt(t)?new aa(ko(t)):(ra(t)?e._d=t:Lt(n)?RM(e):n?So(e):VM(e),mo(e)||(e._d=null),e))}function VM(e){var t=e._i;wt(t)?e._d=new Date(G.now()):ra(t)?e._d=new Date(t.valueOf()):typeof t=="string"?AM(e):Lt(t)?(e._a=nd(t.slice(0),function(n){return parseInt(n,10)}),Do(e)):Hn(t)?GM(e):bn(t)?e._d=new Date(t):G.createFromInputFallback(e)}function Dd(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),(Hn(e)&&ho(e)||Lt(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,LM(i)}function Ge(e,t,n,r){return Dd(e,t,n,r,!1)}var BM=Et("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Ge.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:ss()}),HM=Et("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Ge.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:ss()});function Sd(e,t){var n,r;if(t.length===1&&Lt(t[0])&&(t=t[0]),!t.length)return Ge();for(n=t[0],r=1;r<t.length;++r)(!t[r].isValid()||t[r][e](n))&&(n=t[r]);return n}function jM(){var e=[].slice.call(arguments,0);return Sd("isBefore",e)}function ZM(){var e=[].slice.call(arguments,0);return Sd("isAfter",e)}var XM=function(){return Date.now?Date.now():+new Date},Fr=["year","quarter","month","week","day","hour","minute","second","millisecond"];function zM(e){var t,n=!1,r,a=Fr.length;for(t in e)if(ye(e,t)&&!($e.call(Fr,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(r=0;r<a;++r)if(e[Fr[r]]){if(n)return!1;parseFloat(e[Fr[r]])!==le(e[Fr[r]])&&(n=!0)}return!0}function UM(){return this._isValid}function $M(){return Bt(NaN)}function ms(e){var t=yo(e),n=t.year||0,r=t.quarter||0,a=t.month||0,i=t.week||t.isoWeek||0,u=t.day||0,l=t.hour||0,d=t.minute||0,h=t.second||0,m=t.millisecond||0;this._isValid=zM(t),this._milliseconds=+m+h*1e3+d*6e4+l*1e3*60*60,this._days=+u+i*7,this._months=+a+r*3+n*12,this._data={},this._locale=vn(),this._bubble()}function Wa(e){return e instanceof ms}function Oi(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function JM(e,t,n){var r=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),i=0,u;for(u=0;u<r;u++)(n&&e[u]!==t[u]||!n&&le(e[u])!==le(t[u]))&&i++;return i+a}function Cd(e,t){J(e,0,0,function(){var n=this.utcOffset(),r="+";return n<0&&(n=-n,r="-"),r+Jt(~~(n/60),2)+t+Jt(~~n%60,2)})}Cd("Z",":");Cd("ZZ","");X("Z",ds);X("ZZ",ds);Ae(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Co(ds,e)});var QM=/([\+\-]|\d\d)/gi;function Co(e,t){var n=(t||"").match(e),r,a,i;return n===null?null:(r=n[n.length-1]||[],a=(r+"").match(QM)||["-",0,0],i=+(a[1]*60)+le(a[2]),i===0?0:a[0]==="+"?i:-i)}function Yo(e,t){var n,r;return t._isUTC?(n=t.clone(),r=(Vt(e)||ra(e)?e.valueOf():Ge(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),G.updateOffset(n,!1),n):Ge(e).local()}function Ti(e){return-Math.round(e._d.getTimezoneOffset())}G.updateOffset=function(){};function qM(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=Co(ds,e),e===null)return this}else Math.abs(e)<16&&!n&&(e=e*60);return!this._isUTC&&t&&(a=Ti(this)),this._offset=e,this._isUTC=!0,a!=null&&this.add(a,"m"),r!==e&&(!t||this._changeInProgress?Td(this,Bt(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,G.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?r:Ti(this)}function KM(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function ex(e){return this.utcOffset(0,e)}function tx(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Ti(this),"m")),this}function nx(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=Co(xw,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function rx(e){return this.isValid()?(e=e?Ge(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function ax(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function sx(){if(!wt(this._isDSTShifted))return this._isDSTShifted;var e={},t;return go(e,this),e=kd(e),e._a?(t=e._isUTC?qt(e._a):Ge(e._a),this._isDSTShifted=this.isValid()&&JM(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function ix(){return this.isValid()?!this._isUTC:!1}function ox(){return this.isValid()?this._isUTC:!1}function Yd(){return this.isValid()?this._isUTC&&this._offset===0:!1}var ux=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,lx=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Bt(e,t){var n=e,r=null,a,i,u;return Wa(e)?n={ms:e._milliseconds,d:e._days,M:e._months}:bn(e)||!isNaN(+e)?(n={},t?n[t]=+e:n.milliseconds=+e):(r=ux.exec(e))?(a=r[1]==="-"?-1:1,n={y:0,d:le(r[Xt])*a,h:le(r[nt])*a,m:le(r[Gt])*a,s:le(r[gn])*a,ms:le(Oi(r[Bn]*1e3))*a}):(r=lx.exec(e))?(a=r[1]==="-"?-1:1,n={y:Rn(r[2],a),M:Rn(r[3],a),w:Rn(r[4],a),d:Rn(r[5],a),h:Rn(r[6],a),m:Rn(r[7],a),s:Rn(r[8],a)}):n==null?n={}:typeof n=="object"&&("from"in n||"to"in n)&&(u=cx(Ge(n.from),Ge(n.to)),n={},n.ms=u.milliseconds,n.M=u.months),i=new ms(n),Wa(e)&&ye(e,"_locale")&&(i._locale=e._locale),Wa(e)&&ye(e,"_isValid")&&(i._isValid=e._isValid),i}Bt.fn=ms.prototype;Bt.invalid=$M;function Rn(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function ml(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 cx(e,t){var n;return e.isValid()&&t.isValid()?(t=Yo(t,e),e.isBefore(t)?n=ml(e,t):(n=ml(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Od(e,t){return function(n,r){var a,i;return r!==null&&!isNaN(+r)&&(ad(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=Bt(n,r),Td(this,a,e),this}}function Td(e,t,n,r){var a=t._milliseconds,i=Oi(t._days),u=Oi(t._months);e.isValid()&&(r=r??!0,u&&md(e,Ha(e,"Month")+u*n),i&&od(e,"Date",Ha(e,"Date")+i*n),a&&e._d.setTime(e._d.valueOf()+a*n),r&&G.updateOffset(e,i||u))}var dx=Od(1,"add"),fx=Od(-1,"subtract");function Ed(e){return typeof e=="string"||e instanceof String}function hx(e){return Vt(e)||ra(e)||Ed(e)||bn(e)||gx(e)||mx(e)||e===null||e===void 0}function mx(e){var t=Hn(e)&&!ho(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,u=r.length;for(a=0;a<u;a+=1)i=r[a],n=n||ye(e,i);return t&&n}function gx(e){var t=Lt(e),n=!1;return t&&(n=e.filter(function(r){return!bn(r)&&Ed(e)}).length===0),t&&n}function px(e){var t=Hn(e)&&!ho(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||ye(e,i);return t&&n}function bx(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 yx(e,t){arguments.length===1&&(arguments[0]?hx(arguments[0])?(e=arguments[0],t=void 0):px(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||Ge(),r=Yo(n,this).startOf("day"),a=G.calendarFormat(this,r)||"sameElse",i=t&&(Kt(t[a])?t[a].call(this,n):t[a]);return this.format(i||this.localeData().calendar(a,this,Ge(n)))}function vx(){return new aa(this)}function _x(e,t){var n=Vt(e)?e:Ge(e);return this.isValid()&&n.isValid()?(t=Nt(t)||"millisecond",t==="millisecond"?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf()):!1}function wx(e,t){var n=Vt(e)?e:Ge(e);return this.isValid()&&n.isValid()?(t=Nt(t)||"millisecond",t==="millisecond"?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf()):!1}function Mx(e,t,n,r){var a=Vt(e)?e:Ge(e),i=Vt(t)?t:Ge(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 xx(e,t){var n=Vt(e)?e:Ge(e),r;return this.isValid()&&n.isValid()?(t=Nt(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 Ix(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function kx(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Dx(e,t,n){var r,a,i;if(!this.isValid())return NaN;if(r=Yo(e,this),!r.isValid())return NaN;switch(a=(r.utcOffset()-this.utcOffset())*6e4,t=Nt(t),t){case"year":i=Pa(this,r)/12;break;case"month":i=Pa(this,r);break;case"quarter":i=Pa(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:Tt(i)}function Pa(e,t){if(e.date()<t.date())return-Pa(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}G.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";G.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function Sx(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Cx(e){if(!this.isValid())return null;var t=e!==!0,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?Aa(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Kt(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Aa(n,"Z")):Aa(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Yx(){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 Ox(e){e||(e=this.isUtc()?G.defaultFormatUtc:G.defaultFormat);var t=Aa(this,e);return this.localeData().postformat(t)}function Tx(e,t){return this.isValid()&&(Vt(e)&&e.isValid()||Ge(e).isValid())?Bt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Ex(e){return this.from(Ge(),e)}function Nx(e,t){return this.isValid()&&(Vt(e)&&e.isValid()||Ge(e).isValid())?Bt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Ax(e){return this.to(Ge(),e)}function Nd(e){var t;return e===void 0?this._locale._abbr:(t=vn(e),t!=null&&(this._locale=t),this)}var Ad=Et("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 Wd(){return this._locale}var Xa=1e3,dr=60*Xa,za=60*dr,Pd=(365*400+97)*24*za;function fr(e,t){return(e%t+t)%t}function Fd(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-Pd:new Date(e,t,n).valueOf()}function Rd(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-Pd:Date.UTC(e,t,n)}function Wx(e){var t,n;if(e=Nt(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?Rd:Fd,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-=fr(t+(this._isUTC?0:this.utcOffset()*dr),za);break;case"minute":t=this._d.valueOf(),t-=fr(t,dr);break;case"second":t=this._d.valueOf(),t-=fr(t,Xa);break}return this._d.setTime(t),G.updateOffset(this,!0),this}function Px(e){var t,n;if(e=Nt(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?Rd:Fd,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+=za-fr(t+(this._isUTC?0:this.utcOffset()*dr),za)-1;break;case"minute":t=this._d.valueOf(),t+=dr-fr(t,dr)-1;break;case"second":t=this._d.valueOf(),t+=Xa-fr(t,Xa)-1;break}return this._d.setTime(t),G.updateOffset(this,!0),this}function Fx(){return this._d.valueOf()-(this._offset||0)*6e4}function Rx(){return Math.floor(this.valueOf()/1e3)}function Gx(){return new Date(this.valueOf())}function Lx(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Vx(){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 Bx(){return this.isValid()?this.toISOString():null}function Hx(){return mo(this)}function jx(){return Yn({},ae(this))}function Zx(){return ae(this).overflow}function Xx(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}J("N",0,0,"eraAbbr");J("NN",0,0,"eraAbbr");J("NNN",0,0,"eraAbbr");J("NNNN",0,0,"eraName");J("NNNNN",0,0,"eraNarrow");J("y",["y",1],"yo","eraYear");J("y",["yy",2],0,"eraYear");J("y",["yyy",3],0,"eraYear");J("y",["yyyy",4],0,"eraYear");X("N",Oo);X("NN",Oo);X("NNN",Oo);X("NNNN",rI);X("NNNNN",aI);Ae(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,r){var a=n._locale.erasParse(e,r,n._strict);a?ae(n).era=a:ae(n).invalidEra=e});X("y",_r);X("yy",_r);X("yyy",_r);X("yyyy",_r);X("yo",sI);Ae(["y","yy","yyy","yyyy"],dt);Ae(["yo"],function(e,t,n,r){var a;n._locale._eraYearOrdinalRegex&&(a=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[dt]=n._locale.eraYearOrdinalParse(e,a):t[dt]=parseInt(e,10)});function zx(e,t){var n,r,a,i=this._eras||vn("en")._eras;for(n=0,r=i.length;n<r;++n){switch(typeof i[n].since){case"string":a=G(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=G(i[n].until).startOf("day").valueOf(),i[n].until=a.valueOf();break}}return i}function Ux(e,t,n){var r,a,i=this.eras(),u,l,d;for(e=e.toUpperCase(),r=0,a=i.length;r<a;++r)if(u=i[r].name.toUpperCase(),l=i[r].abbr.toUpperCase(),d=i[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(l===e)return i[r];break;case"NNNN":if(u===e)return i[r];break;case"NNNNN":if(d===e)return i[r];break}else if([u,l,d].indexOf(e)>=0)return i[r]}function $x(e,t){var n=e.since<=e.until?1:-1;return t===void 0?G(e.since).year():G(e.since).year()+(t-e.offset)*n}function Jx(){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 Qx(){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 qx(){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 Kx(){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()-G(a[e].since).year())*n+a[e].offset;return this.year()}function eI(e){return ye(this,"_erasNameRegex")||To.call(this),e?this._erasNameRegex:this._erasRegex}function tI(e){return ye(this,"_erasAbbrRegex")||To.call(this),e?this._erasAbbrRegex:this._erasRegex}function nI(e){return ye(this,"_erasNarrowRegex")||To.call(this),e?this._erasNarrowRegex:this._erasRegex}function Oo(e,t){return t.erasAbbrRegex(e)}function rI(e,t){return t.erasNameRegex(e)}function aI(e,t){return t.erasNarrowRegex(e)}function sI(e,t){return t._eraYearOrdinalRegex||_r}function To(){var e=[],t=[],n=[],r=[],a,i,u=this.eras();for(a=0,i=u.length;a<i;++a)t.push(St(u[a].name)),e.push(St(u[a].abbr)),n.push(St(u[a].narrow)),r.push(St(u[a].name)),r.push(St(u[a].abbr)),r.push(St(u[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")}J(0,["gg",2],0,function(){return this.weekYear()%100});J(0,["GG",2],0,function(){return this.isoWeekYear()%100});function gs(e,t){J(0,[e,e.length],0,t)}gs("gggg","weekYear");gs("ggggg","weekYear");gs("GGGG","isoWeekYear");gs("GGGGG","isoWeekYear");ft("weekYear","gg");ft("isoWeekYear","GG");ht("weekYear",1);ht("isoWeekYear",1);X("G",cs);X("g",cs);X("GG",Le,Ot);X("gg",Le,Ot);X("GGGG",_o,vo);X("gggg",_o,vo);X("GGGGG",ls,os);X("ggggg",ls,os);ia(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=le(e)});ia(["gg","GG"],function(e,t,n,r){t[r]=G.parseTwoDigitYear(e)});function iI(e){return Gd.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function oI(e){return Gd.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function uI(){return pn(this.year(),1,4)}function lI(){return pn(this.isoWeekYear(),1,4)}function cI(){var e=this.localeData()._week;return pn(this.year(),e.dow,e.doy)}function dI(){var e=this.localeData()._week;return pn(this.weekYear(),e.dow,e.doy)}function Gd(e,t,n,r,a){var i;return e==null?Qr(this,r,a).year:(i=pn(e,r,a),t>i&&(t=i),fI.call(this,e,t,n,r,a))}function fI(e,t,n,r,a){var i=yd(e,t,n,r,a),u=Jr(i.year,0,i.dayOfYear);return this.year(u.getUTCFullYear()),this.month(u.getUTCMonth()),this.date(u.getUTCDate()),this}J("Q",0,"Qo","quarter");ft("quarter","Q");ht("quarter",7);X("Q",ud);Ae("Q",function(e,t){t[mn]=(le(e)-1)*3});function hI(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}J("D",["DD",2],"Do","date");ft("date","D");ht("date",9);X("D",Le);X("DD",Le,Ot);X("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient});Ae(["D","DD"],Xt);Ae("Do",function(e,t){t[Xt]=le(e.match(Le)[0])});var Ld=vr("Date",!0);J("DDD",["DDDD",3],"DDDo","dayOfYear");ft("dayOfYear","DDD");ht("dayOfYear",4);X("DDD",us);X("DDDD",ld);Ae(["DDD","DDDD"],function(e,t,n){n._dayOfYear=le(e)});function mI(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}J("m",["mm",2],0,"minute");ft("minute","m");ht("minute",14);X("m",Le);X("mm",Le,Ot);Ae(["m","mm"],Gt);var gI=vr("Minutes",!1);J("s",["ss",2],0,"second");ft("second","s");ht("second",15);X("s",Le);X("ss",Le,Ot);Ae(["s","ss"],gn);var pI=vr("Seconds",!1);J("S",0,0,function(){return~~(this.millisecond()/100)});J(0,["SS",2],0,function(){return~~(this.millisecond()/10)});J(0,["SSS",3],0,"millisecond");J(0,["SSSS",4],0,function(){return this.millisecond()*10});J(0,["SSSSS",5],0,function(){return this.millisecond()*100});J(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});J(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});J(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});J(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});ft("millisecond","ms");ht("millisecond",16);X("S",us,ud);X("SS",us,Ot);X("SSS",us,ld);var On,Vd;for(On="SSSS";On.length<=9;On+="S")X(On,_r);function bI(e,t){t[Bn]=le(("0."+e)*1e3)}for(On="S";On.length<=9;On+="S")Ae(On,bI);Vd=vr("Milliseconds",!1);J("z",0,0,"zoneAbbr");J("zz",0,0,"zoneName");function yI(){return this._isUTC?"UTC":""}function vI(){return this._isUTC?"Coordinated Universal Time":""}var W=aa.prototype;W.add=dx;W.calendar=yx;W.clone=vx;W.diff=Dx;W.endOf=Px;W.format=Ox;W.from=Tx;W.fromNow=Ex;W.to=Nx;W.toNow=Ax;W.get=ww;W.invalidAt=Zx;W.isAfter=_x;W.isBefore=wx;W.isBetween=Mx;W.isSame=xx;W.isSameOrAfter=Ix;W.isSameOrBefore=kx;W.isValid=Hx;W.lang=Ad;W.locale=Nd;W.localeData=Wd;W.max=HM;W.min=BM;W.parsingFlags=jx;W.set=Mw;W.startOf=Wx;W.subtract=fx;W.toArray=Lx;W.toObject=Vx;W.toDate=Gx;W.toISOString=Cx;W.inspect=Yx;typeof Symbol<"u"&&Symbol.for!=null&&(W[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});W.toJSON=Bx;W.toString=Sx;W.unix=Rx;W.valueOf=Fx;W.creationData=Xx;W.eraName=Jx;W.eraNarrow=Qx;W.eraAbbr=qx;W.eraYear=Kx;W.year=bd;W.isLeapYear=Vw;W.weekYear=iI;W.isoWeekYear=oI;W.quarter=W.quarters=hI;W.month=gd;W.daysInMonth=Rw;W.week=W.weeks=zw;W.isoWeek=W.isoWeeks=Uw;W.weeksInYear=cI;W.weeksInWeekYear=dI;W.isoWeeksInYear=uI;W.isoWeeksInISOWeekYear=lI;W.date=Ld;W.day=W.days=oM;W.weekday=uM;W.isoWeekday=lM;W.dayOfYear=mI;W.hour=W.hours=pM;W.minute=W.minutes=gI;W.second=W.seconds=pI;W.millisecond=W.milliseconds=Vd;W.utcOffset=qM;W.utc=ex;W.local=tx;W.parseZone=nx;W.hasAlignedHourOffset=rx;W.isDST=ax;W.isLocal=ix;W.isUtcOffset=ox;W.isUtc=Yd;W.isUTC=Yd;W.zoneAbbr=yI;W.zoneName=vI;W.dates=Et("dates accessor is deprecated. Use date instead.",Ld);W.months=Et("months accessor is deprecated. Use month instead",gd);W.years=Et("years accessor is deprecated. Use year instead",bd);W.zone=Et("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",KM);W.isDSTShifted=Et("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",sx);function _I(e){return Ge(e*1e3)}function wI(){return Ge.apply(null,arguments).parseZone()}function Bd(e){return e}var ve=po.prototype;ve.calendar=ow;ve.longDateFormat=dw;ve.invalidDate=hw;ve.ordinal=pw;ve.preparse=Bd;ve.postformat=Bd;ve.relativeTime=yw;ve.pastFuture=vw;ve.set=sw;ve.eras=zx;ve.erasParse=Ux;ve.erasConvertYear=$x;ve.erasAbbrRegex=tI;ve.erasNameRegex=eI;ve.erasNarrowRegex=nI;ve.months=Aw;ve.monthsShort=Ww;ve.monthsParse=Fw;ve.monthsRegex=Lw;ve.monthsShortRegex=Gw;ve.week=Hw;ve.firstDayOfYear=Xw;ve.firstDayOfWeek=Zw;ve.weekdays=nM;ve.weekdaysMin=aM;ve.weekdaysShort=rM;ve.weekdaysParse=iM;ve.weekdaysRegex=cM;ve.weekdaysShortRegex=dM;ve.weekdaysMinRegex=fM;ve.isPM=mM;ve.meridiem=bM;function Ua(e,t,n,r){var a=vn(),i=qt().set(r,t);return a[n](i,e)}function Hd(e,t,n){if(bn(e)&&(t=e,e=void 0),e=e||"",t!=null)return Ua(e,t,n,"month");var r,a=[];for(r=0;r<12;r++)a[r]=Ua(e,r,n,"month");return a}function Eo(e,t,n,r){typeof e=="boolean"?(bn(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,bn(t)&&(n=t,t=void 0),t=t||"");var a=vn(),i=e?a._week.dow:0,u,l=[];if(n!=null)return Ua(t,(n+i)%7,r,"day");for(u=0;u<7;u++)l[u]=Ua(t,(u+i)%7,r,"day");return l}function MI(e,t){return Hd(e,t,"months")}function xI(e,t){return Hd(e,t,"monthsShort")}function II(e,t,n){return Eo(e,t,n,"weekdays")}function kI(e,t,n){return Eo(e,t,n,"weekdaysShort")}function DI(e,t,n){return Eo(e,t,n,"weekdaysMin")}Tn("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=le(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+n}});G.lang=Et("moment.lang is deprecated. Use moment.locale instead.",Tn);G.langData=Et("moment.langData is deprecated. Use moment.localeData instead.",vn);var cn=Math.abs;function SI(){var e=this._data;return this._milliseconds=cn(this._milliseconds),this._days=cn(this._days),this._months=cn(this._months),e.milliseconds=cn(e.milliseconds),e.seconds=cn(e.seconds),e.minutes=cn(e.minutes),e.hours=cn(e.hours),e.months=cn(e.months),e.years=cn(e.years),this}function jd(e,t,n,r){var a=Bt(t,n);return e._milliseconds+=r*a._milliseconds,e._days+=r*a._days,e._months+=r*a._months,e._bubble()}function CI(e,t){return jd(this,e,t,1)}function YI(e,t){return jd(this,e,t,-1)}function gl(e){return e<0?Math.floor(e):Math.ceil(e)}function OI(){var e=this._milliseconds,t=this._days,n=this._months,r=this._data,a,i,u,l,d;return e>=0&&t>=0&&n>=0||e<=0&&t<=0&&n<=0||(e+=gl(Ei(n)+t)*864e5,t=0,n=0),r.milliseconds=e%1e3,a=Tt(e/1e3),r.seconds=a%60,i=Tt(a/60),r.minutes=i%60,u=Tt(i/60),r.hours=u%24,t+=Tt(u/24),d=Tt(Zd(t)),n+=d,t-=gl(Ei(d)),l=Tt(n/12),n%=12,r.days=t,r.months=n,r.years=l,this}function Zd(e){return e*4800/146097}function Ei(e){return e*146097/4800}function TI(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if(e=Nt(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+r/864e5,n=this._months+Zd(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Ei(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 EI(){return this.isValid()?this._milliseconds+this._days*864e5+this._months%12*2592e6+le(this._months/12)*31536e6:NaN}function _n(e){return function(){return this.as(e)}}var NI=_n("ms"),AI=_n("s"),WI=_n("m"),PI=_n("h"),FI=_n("d"),RI=_n("w"),GI=_n("M"),LI=_n("Q"),VI=_n("y");function BI(){return Bt(this)}function HI(e){return e=Nt(e),this.isValid()?this[e+"s"]():NaN}function jn(e){return function(){return this.isValid()?this._data[e]:NaN}}var jI=jn("milliseconds"),ZI=jn("seconds"),XI=jn("minutes"),zI=jn("hours"),UI=jn("days"),$I=jn("months"),JI=jn("years");function QI(){return Tt(this.days()/7)}var dn=Math.round,or={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function qI(e,t,n,r,a){return a.relativeTime(t||1,!!n,e,r)}function KI(e,t,n,r){var a=Bt(e).abs(),i=dn(a.as("s")),u=dn(a.as("m")),l=dn(a.as("h")),d=dn(a.as("d")),h=dn(a.as("M")),m=dn(a.as("w")),p=dn(a.as("y")),b=i<=n.ss&&["s",i]||i<n.s&&["ss",i]||u<=1&&["m"]||u<n.m&&["mm",u]||l<=1&&["h"]||l<n.h&&["hh",l]||d<=1&&["d"]||d<n.d&&["dd",d];return n.w!=null&&(b=b||m<=1&&["w"]||m<n.w&&["ww",m]),b=b||h<=1&&["M"]||h<n.M&&["MM",h]||p<=1&&["y"]||["yy",p],b[2]=t,b[3]=+e>0,b[4]=r,qI.apply(null,b)}function ek(e){return e===void 0?dn:typeof e=="function"?(dn=e,!0):!1}function tk(e,t){return or[e]===void 0?!1:t===void 0?or[e]:(or[e]=t,e==="s"&&(or.ss=t-1),!0)}function nk(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,r=or,a,i;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(n=e),typeof t=="object"&&(r=Object.assign({},or,t),t.s!=null&&t.ss==null&&(r.ss=t.s-1)),a=this.localeData(),i=KI(this,!n,r,a),n&&(i=a.pastFuture(+this,i)),a.postformat(i)}var ii=Math.abs;function ar(e){return(e>0)-(e<0)||+e}function ps(){if(!this.isValid())return this.localeData().invalidDate();var e=ii(this._milliseconds)/1e3,t=ii(this._days),n=ii(this._months),r,a,i,u,l=this.asSeconds(),d,h,m,p;return l?(r=Tt(e/60),a=Tt(r/60),e%=60,r%=60,i=Tt(n/12),n%=12,u=e?e.toFixed(3).replace(/\.?0+$/,""):"",d=l<0?"-":"",h=ar(this._months)!==ar(l)?"-":"",m=ar(this._days)!==ar(l)?"-":"",p=ar(this._milliseconds)!==ar(l)?"-":"",d+"P"+(i?h+i+"Y":"")+(n?h+n+"M":"")+(t?m+t+"D":"")+(a||r||e?"T":"")+(a?p+a+"H":"")+(r?p+r+"M":"")+(e?p+u+"S":"")):"P0D"}var me=ms.prototype;me.isValid=UM;me.abs=SI;me.add=CI;me.subtract=YI;me.as=TI;me.asMilliseconds=NI;me.asSeconds=AI;me.asMinutes=WI;me.asHours=PI;me.asDays=FI;me.asWeeks=RI;me.asMonths=GI;me.asQuarters=LI;me.asYears=VI;me.valueOf=EI;me._bubble=OI;me.clone=BI;me.get=HI;me.milliseconds=jI;me.seconds=ZI;me.minutes=XI;me.hours=zI;me.days=UI;me.weeks=QI;me.months=$I;me.years=JI;me.humanize=nk;me.toISOString=ps;me.toString=ps;me.toJSON=ps;me.locale=Nd;me.localeData=Wd;me.toIsoString=Et("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ps);me.lang=Ad;J("X",0,0,"unix");J("x",0,0,"valueOf");X("x",cs);X("X",Iw);Ae("X",function(e,t,n){n._d=new Date(parseFloat(e)*1e3)});Ae("x",function(e,t,n){n._d=new Date(le(e))});//! moment.js
|
|
691
|
+
G.version="2.29.4";rw(Ge);G.fn=W;G.min=jM;G.max=ZM;G.now=XM;G.utc=qt;G.unix=_I;G.months=MI;G.isDate=ra;G.locale=Tn;G.invalid=ss;G.duration=Bt;G.isMoment=Vt;G.weekdays=II;G.parseZone=wI;G.localeData=vn;G.isDuration=Wa;G.monthsShort=xI;G.weekdaysMin=DI;G.defineLocale=Io;G.updateLocale=wM;G.locales=MM;G.weekdaysShort=kI;G.normalizeUnits=Nt;G.relativeTimeRounding=ek;G.relativeTimeThreshold=tk;G.calendarFormat=bx;G.prototype=W;G.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"};function mt(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var oi={exports:{}},pl;function bt(){return pl||(pl=1,function(e,t){(function(n,r){e.exports=r()})(Ke,function(){var n;function r(){return n.apply(null,arguments)}function a(s){n=s}function i(s){return s instanceof Array||Object.prototype.toString.call(s)==="[object Array]"}function u(s){return s!=null&&Object.prototype.toString.call(s)==="[object Object]"}function l(s,o){return Object.prototype.hasOwnProperty.call(s,o)}function d(s){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(s).length===0;var o;for(o in s)if(l(s,o))return!1;return!0}function h(s){return s===void 0}function m(s){return typeof s=="number"||Object.prototype.toString.call(s)==="[object Number]"}function p(s){return s instanceof Date||Object.prototype.toString.call(s)==="[object Date]"}function b(s,o){var c=[],f,g=s.length;for(f=0;f<g;++f)c.push(o(s[f],f));return c}function w(s,o){for(var c in o)l(o,c)&&(s[c]=o[c]);return l(o,"toString")&&(s.toString=o.toString),l(o,"valueOf")&&(s.valueOf=o.valueOf),s}function _(s,o,c,f){return $o(s,o,c,f,!0).utc()}function k(){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 v(s){return s._pf==null&&(s._pf=k()),s._pf}var C;Array.prototype.some?C=Array.prototype.some:C=function(s){var o=Object(this),c=o.length>>>0,f;for(f=0;f<c;f++)if(f in o&&s.call(this,o[f],f,o))return!0;return!1};function I(s){if(s._isValid==null){var o=v(s),c=C.call(o.parsedDateParts,function(g){return g!=null}),f=!isNaN(s._d.getTime())&&o.overflow<0&&!o.empty&&!o.invalidEra&&!o.invalidMonth&&!o.invalidWeekday&&!o.weekdayMismatch&&!o.nullInput&&!o.invalidFormat&&!o.userInvalidated&&(!o.meridiem||o.meridiem&&c);if(s._strict&&(f=f&&o.charsLeftOver===0&&o.unusedTokens.length===0&&o.bigHour===void 0),Object.isFrozen==null||!Object.isFrozen(s))s._isValid=f;else return f}return s._isValid}function S(s){var o=_(NaN);return s!=null?w(v(o),s):v(o).userInvalidated=!0,o}var T=r.momentProperties=[],D=!1;function x(s,o){var c,f,g,M=T.length;if(h(o._isAMomentObject)||(s._isAMomentObject=o._isAMomentObject),h(o._i)||(s._i=o._i),h(o._f)||(s._f=o._f),h(o._l)||(s._l=o._l),h(o._strict)||(s._strict=o._strict),h(o._tzm)||(s._tzm=o._tzm),h(o._isUTC)||(s._isUTC=o._isUTC),h(o._offset)||(s._offset=o._offset),h(o._pf)||(s._pf=v(o)),h(o._locale)||(s._locale=o._locale),M>0)for(c=0;c<M;c++)f=T[c],g=o[f],h(g)||(s[f]=g);return s}function Y(s){x(this,s),this._d=new Date(s._d!=null?s._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),D===!1&&(D=!0,r.updateOffset(this),D=!1)}function P(s){return s instanceof Y||s!=null&&s._isAMomentObject!=null}function R(s){r.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+s)}function L(s,o){var c=!0;return w(function(){if(r.deprecationHandler!=null&&r.deprecationHandler(null,s),c){var f=[],g,M,O,$=arguments.length;for(M=0;M<$;M++){if(g="",typeof arguments[M]=="object"){g+=`
|
|
692
|
+
[`+M+"] ";for(O in arguments[0])l(arguments[0],O)&&(g+=O+": "+arguments[0][O]+", ");g=g.slice(0,-2)}else g=arguments[M];f.push(g)}R(s+`
|
|
693
|
+
Arguments: `+Array.prototype.slice.call(f).join("")+`
|
|
694
|
+
`+new Error().stack),c=!1}return o.apply(this,arguments)},o)}var z={};function ne(s,o){r.deprecationHandler!=null&&r.deprecationHandler(s,o),z[s]||(R(o),z[s]=!0)}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null;function K(s){return typeof Function<"u"&&s instanceof Function||Object.prototype.toString.call(s)==="[object Function]"}function B(s){var o,c;for(c in s)l(s,c)&&(o=s[c],K(o)?this[c]=o:this["_"+c]=o);this._config=s,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function re(s,o){var c=w({},s),f;for(f in o)l(o,f)&&(u(s[f])&&u(o[f])?(c[f]={},w(c[f],s[f]),w(c[f],o[f])):o[f]!=null?c[f]=o[f]:delete c[f]);for(f in s)l(s,f)&&!l(o,f)&&u(s[f])&&(c[f]=w({},c[f]));return c}function Ce(s){s!=null&&this.set(s)}var de;Object.keys?de=Object.keys:de=function(s){var o,c=[];for(o in s)l(s,o)&&c.push(o);return c};var Ye={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function Oe(s,o,c){var f=this._calendar[s]||this._calendar.sameElse;return K(f)?f.call(o,c):f}function ue(s,o,c){var f=""+Math.abs(s),g=o-f.length,M=s>=0;return(M?c?"+":"":"-")+Math.pow(10,Math.max(0,g)).toString().substr(1)+f}var We=/(\[[^\[]*\])|(\\)?([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,pe=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Me={},ke={};function F(s,o,c,f){var g=f;typeof f=="string"&&(g=function(){return this[f]()}),s&&(ke[s]=g),o&&(ke[o[0]]=function(){return ue(g.apply(this,arguments),o[1],o[2])}),c&&(ke[c]=function(){return this.localeData().ordinal(g.apply(this,arguments),s)})}function Ve(s){return s.match(/\[[\s\S]/)?s.replace(/^\[|\]$/g,""):s.replace(/\\/g,"")}function Pe(s){var o=s.match(We),c,f;for(c=0,f=o.length;c<f;c++)ke[o[c]]?o[c]=ke[o[c]]:o[c]=Ve(o[c]);return function(g){var M="",O;for(O=0;O<f;O++)M+=K(o[O])?o[O].call(g,s):o[O];return M}}function Je(s,o){return s.isValid()?(o=at(o,s.localeData()),Me[o]=Me[o]||Pe(o),Me[o](s)):s.localeData().invalidDate()}function at(s,o){var c=5;function f(g){return o.longDateFormat(g)||g}for(pe.lastIndex=0;c>=0&&pe.test(s);)s=s.replace(pe,f),pe.lastIndex=0,c-=1;return s}var yt={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 xt(s){var o=this._longDateFormat[s],c=this._longDateFormat[s.toUpperCase()];return o||!c?o:(this._longDateFormat[s]=c.match(We).map(function(f){return f==="MMMM"||f==="MM"||f==="DD"||f==="dddd"?f.slice(1):f}).join(""),this._longDateFormat[s])}var N="Invalid date";function Be(){return this._invalidDate}var H="%d",ze=/\d{1,2}/;function ys(s){return this._ordinal.replace("%d",s)}var vs={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 _s(s,o,c,f){var g=this._relativeTime[c];return K(g)?g(s,o,c,f):g.replace(/%d/i,s)}function ws(s,o){var c=this._relativeTime[s>0?"future":"past"];return K(c)?c(o):c.replace(/%s/i,o)}var Nn={};function rt(s,o){var c=s.toLowerCase();Nn[c]=Nn[c+"s"]=Nn[o]=s}function vt(s){return typeof s=="string"?Nn[s]||Nn[s.toLowerCase()]:void 0}function Zn(s){var o={},c,f;for(f in s)l(s,f)&&(c=vt(f),c&&(o[c]=s[f]));return o}var Xn={};function Qe(s,o){Xn[s]=o}function Ms(s){var o=[],c;for(c in s)l(s,c)&&o.push({unit:c,priority:Xn[c]});return o.sort(function(f,g){return f.priority-g.priority}),o}function zn(s){return s%4===0&&s%100!==0||s%400===0}function _t(s){return s<0?Math.ceil(s)||0:Math.floor(s)}function se(s){var o=+s,c=0;return o!==0&&isFinite(o)&&(c=_t(o)),c}function wn(s,o){return function(c){return c!=null?(oa(this,s,c),r.updateOffset(this,o),this):Un(this,s)}}function Un(s,o){return s.isValid()?s._d["get"+(s._isUTC?"UTC":"")+o]():NaN}function oa(s,o,c){s.isValid()&&!isNaN(c)&&(o==="FullYear"&&zn(s.year())&&s.month()===1&&s.date()===29?(c=se(c),s._d["set"+(s._isUTC?"UTC":"")+o](c,s.month(),ca(c,s.month()))):s._d["set"+(s._isUTC?"UTC":"")+o](c))}function xs(s){return s=vt(s),K(this[s])?this[s]():this}function Is(s,o){if(typeof s=="object"){s=Zn(s);var c=Ms(s),f,g=c.length;for(f=0;f<g;f++)this[c[f].unit](s[c[f].unit])}else if(s=vt(s),K(this[s]))return this[s](o);return this}var ua=/\d/,gt=/\d\d/,wr=/\d{3}/,Mr=/\d{4}/,An=/[+-]?\d{6}/,j=/\d\d?/,ge=/\d\d\d\d?/,Q=/\d\d\d\d\d\d?/,ce=/\d{1,3}/,st=/\d{1,4}/,oe=/[+-]?\d{1,6}/,Mn=/\d+/,$n=/[+-]?\d+/,ks=/Z|[+-]\d\d:?\d\d/gi,xn=/Z|[+-]\d\d(?::?\d\d)?/gi,xr=/[+-]?\d+(\.\d{1,3})?/,Ir=/[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,la;la={};function Z(s,o,c){la[s]=K(o)?o:function(f,g){return f&&c?c:o}}function lf(s,o){return l(la,s)?la[s](o._strict,o._locale):new RegExp(cf(s))}function cf(s){return It(s.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(o,c,f,g,M){return c||f||g||M}))}function It(s){return s.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Ds={};function Te(s,o){var c,f=o,g;for(typeof s=="string"&&(s=[s]),m(o)&&(f=function(M,O){O[o]=se(M)}),g=s.length,c=0;c<g;c++)Ds[s[c]]=f}function kr(s,o){Te(s,function(c,f,g,M){g._w=g._w||{},o(c,g._w,g,M)})}function df(s,o,c){o!=null&&l(Ds,s)&&Ds[s](o,c._a,c,s)}var ut=0,en=1,Ht=2,tt=3,At=4,tn=5,Wn=6,ff=7,hf=8;function mf(s,o){return(s%o+o)%o}var Ue;Array.prototype.indexOf?Ue=Array.prototype.indexOf:Ue=function(s){var o;for(o=0;o<this.length;++o)if(this[o]===s)return o;return-1};function ca(s,o){if(isNaN(s)||isNaN(o))return NaN;var c=mf(o,12);return s+=(o-c)/12,c===1?zn(s)?29:28:31-c%7%2}F("M",["MM",2],"Mo",function(){return this.month()+1}),F("MMM",0,0,function(s){return this.localeData().monthsShort(this,s)}),F("MMMM",0,0,function(s){return this.localeData().months(this,s)}),rt("month","M"),Qe("month",8),Z("M",j),Z("MM",j,gt),Z("MMM",function(s,o){return o.monthsShortRegex(s)}),Z("MMMM",function(s,o){return o.monthsRegex(s)}),Te(["M","MM"],function(s,o){o[en]=se(s)-1}),Te(["MMM","MMMM"],function(s,o,c,f){var g=c._locale.monthsParse(s,f,c._strict);g!=null?o[en]=g:v(c).invalidMonth=s});var gf="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ao="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Wo=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,pf=Ir,bf=Ir;function yf(s,o){return s?i(this._months)?this._months[s.month()]:this._months[(this._months.isFormat||Wo).test(o)?"format":"standalone"][s.month()]:i(this._months)?this._months:this._months.standalone}function vf(s,o){return s?i(this._monthsShort)?this._monthsShort[s.month()]:this._monthsShort[Wo.test(o)?"format":"standalone"][s.month()]:i(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function _f(s,o,c){var f,g,M,O=s.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],f=0;f<12;++f)M=_([2e3,f]),this._shortMonthsParse[f]=this.monthsShort(M,"").toLocaleLowerCase(),this._longMonthsParse[f]=this.months(M,"").toLocaleLowerCase();return c?o==="MMM"?(g=Ue.call(this._shortMonthsParse,O),g!==-1?g:null):(g=Ue.call(this._longMonthsParse,O),g!==-1?g:null):o==="MMM"?(g=Ue.call(this._shortMonthsParse,O),g!==-1?g:(g=Ue.call(this._longMonthsParse,O),g!==-1?g:null)):(g=Ue.call(this._longMonthsParse,O),g!==-1?g:(g=Ue.call(this._shortMonthsParse,O),g!==-1?g:null))}function wf(s,o,c){var f,g,M;if(this._monthsParseExact)return _f.call(this,s,o,c);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),f=0;f<12;f++){if(g=_([2e3,f]),c&&!this._longMonthsParse[f]&&(this._longMonthsParse[f]=new RegExp("^"+this.months(g,"").replace(".","")+"$","i"),this._shortMonthsParse[f]=new RegExp("^"+this.monthsShort(g,"").replace(".","")+"$","i")),!c&&!this._monthsParse[f]&&(M="^"+this.months(g,"")+"|^"+this.monthsShort(g,""),this._monthsParse[f]=new RegExp(M.replace(".",""),"i")),c&&o==="MMMM"&&this._longMonthsParse[f].test(s))return f;if(c&&o==="MMM"&&this._shortMonthsParse[f].test(s))return f;if(!c&&this._monthsParse[f].test(s))return f}}function Po(s,o){var c;if(!s.isValid())return s;if(typeof o=="string"){if(/^\d+$/.test(o))o=se(o);else if(o=s.localeData().monthsParse(o),!m(o))return s}return c=Math.min(s.date(),ca(s.year(),o)),s._d["set"+(s._isUTC?"UTC":"")+"Month"](o,c),s}function Fo(s){return s!=null?(Po(this,s),r.updateOffset(this,!0),this):Un(this,"Month")}function Mf(){return ca(this.year(),this.month())}function xf(s){return this._monthsParseExact?(l(this,"_monthsRegex")||Ro.call(this),s?this._monthsShortStrictRegex:this._monthsShortRegex):(l(this,"_monthsShortRegex")||(this._monthsShortRegex=pf),this._monthsShortStrictRegex&&s?this._monthsShortStrictRegex:this._monthsShortRegex)}function If(s){return this._monthsParseExact?(l(this,"_monthsRegex")||Ro.call(this),s?this._monthsStrictRegex:this._monthsRegex):(l(this,"_monthsRegex")||(this._monthsRegex=bf),this._monthsStrictRegex&&s?this._monthsStrictRegex:this._monthsRegex)}function Ro(){function s(O,$){return $.length-O.length}var o=[],c=[],f=[],g,M;for(g=0;g<12;g++)M=_([2e3,g]),o.push(this.monthsShort(M,"")),c.push(this.months(M,"")),f.push(this.months(M,"")),f.push(this.monthsShort(M,""));for(o.sort(s),c.sort(s),f.sort(s),g=0;g<12;g++)o[g]=It(o[g]),c[g]=It(c[g]);for(g=0;g<24;g++)f[g]=It(f[g]);this._monthsRegex=new RegExp("^("+f.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+c.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+o.join("|")+")","i")}F("Y",0,0,function(){var s=this.year();return s<=9999?ue(s,4):"+"+s}),F(0,["YY",2],0,function(){return this.year()%100}),F(0,["YYYY",4],0,"year"),F(0,["YYYYY",5],0,"year"),F(0,["YYYYYY",6,!0],0,"year"),rt("year","y"),Qe("year",1),Z("Y",$n),Z("YY",j,gt),Z("YYYY",st,Mr),Z("YYYYY",oe,An),Z("YYYYYY",oe,An),Te(["YYYYY","YYYYYY"],ut),Te("YYYY",function(s,o){o[ut]=s.length===2?r.parseTwoDigitYear(s):se(s)}),Te("YY",function(s,o){o[ut]=r.parseTwoDigitYear(s)}),Te("Y",function(s,o){o[ut]=parseInt(s,10)});function Dr(s){return zn(s)?366:365}r.parseTwoDigitYear=function(s){return se(s)+(se(s)>68?1900:2e3)};var Go=wn("FullYear",!0);function kf(){return zn(this.year())}function Df(s,o,c,f,g,M,O){var $;return s<100&&s>=0?($=new Date(s+400,o,c,f,g,M,O),isFinite($.getFullYear())&&$.setFullYear(s)):$=new Date(s,o,c,f,g,M,O),$}function Sr(s){var o,c;return s<100&&s>=0?(c=Array.prototype.slice.call(arguments),c[0]=s+400,o=new Date(Date.UTC.apply(null,c)),isFinite(o.getUTCFullYear())&&o.setUTCFullYear(s)):o=new Date(Date.UTC.apply(null,arguments)),o}function da(s,o,c){var f=7+o-c,g=(7+Sr(s,0,f).getUTCDay()-o)%7;return-g+f-1}function Lo(s,o,c,f,g){var M=(7+c-f)%7,O=da(s,f,g),$=1+7*(o-1)+M+O,ie,Ee;return $<=0?(ie=s-1,Ee=Dr(ie)+$):$>Dr(s)?(ie=s+1,Ee=$-Dr(s)):(ie=s,Ee=$),{year:ie,dayOfYear:Ee}}function Cr(s,o,c){var f=da(s.year(),o,c),g=Math.floor((s.dayOfYear()-f-1)/7)+1,M,O;return g<1?(O=s.year()-1,M=g+nn(O,o,c)):g>nn(s.year(),o,c)?(M=g-nn(s.year(),o,c),O=s.year()+1):(O=s.year(),M=g),{week:M,year:O}}function nn(s,o,c){var f=da(s,o,c),g=da(s+1,o,c);return(Dr(s)-f+g)/7}F("w",["ww",2],"wo","week"),F("W",["WW",2],"Wo","isoWeek"),rt("week","w"),rt("isoWeek","W"),Qe("week",5),Qe("isoWeek",5),Z("w",j),Z("ww",j,gt),Z("W",j),Z("WW",j,gt),kr(["w","ww","W","WW"],function(s,o,c,f){o[f.substr(0,1)]=se(s)});function Sf(s){return Cr(s,this._week.dow,this._week.doy).week}var Cf={dow:0,doy:6};function Yf(){return this._week.dow}function Of(){return this._week.doy}function Tf(s){var o=this.localeData().week(this);return s==null?o:this.add((s-o)*7,"d")}function Ef(s){var o=Cr(this,1,4).week;return s==null?o:this.add((s-o)*7,"d")}F("d",0,"do","day"),F("dd",0,0,function(s){return this.localeData().weekdaysMin(this,s)}),F("ddd",0,0,function(s){return this.localeData().weekdaysShort(this,s)}),F("dddd",0,0,function(s){return this.localeData().weekdays(this,s)}),F("e",0,0,"weekday"),F("E",0,0,"isoWeekday"),rt("day","d"),rt("weekday","e"),rt("isoWeekday","E"),Qe("day",11),Qe("weekday",11),Qe("isoWeekday",11),Z("d",j),Z("e",j),Z("E",j),Z("dd",function(s,o){return o.weekdaysMinRegex(s)}),Z("ddd",function(s,o){return o.weekdaysShortRegex(s)}),Z("dddd",function(s,o){return o.weekdaysRegex(s)}),kr(["dd","ddd","dddd"],function(s,o,c,f){var g=c._locale.weekdaysParse(s,f,c._strict);g!=null?o.d=g:v(c).invalidWeekday=s}),kr(["d","e","E"],function(s,o,c,f){o[f]=se(s)});function Nf(s,o){return typeof s!="string"?s:isNaN(s)?(s=o.weekdaysParse(s),typeof s=="number"?s:null):parseInt(s,10)}function Af(s,o){return typeof s=="string"?o.weekdaysParse(s)%7||7:isNaN(s)?null:s}function Ss(s,o){return s.slice(o,7).concat(s.slice(0,o))}var Wf="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Vo="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Pf="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ff=Ir,Rf=Ir,Gf=Ir;function Lf(s,o){var c=i(this._weekdays)?this._weekdays:this._weekdays[s&&s!==!0&&this._weekdays.isFormat.test(o)?"format":"standalone"];return s===!0?Ss(c,this._week.dow):s?c[s.day()]:c}function Vf(s){return s===!0?Ss(this._weekdaysShort,this._week.dow):s?this._weekdaysShort[s.day()]:this._weekdaysShort}function Bf(s){return s===!0?Ss(this._weekdaysMin,this._week.dow):s?this._weekdaysMin[s.day()]:this._weekdaysMin}function Hf(s,o,c){var f,g,M,O=s.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],f=0;f<7;++f)M=_([2e3,1]).day(f),this._minWeekdaysParse[f]=this.weekdaysMin(M,"").toLocaleLowerCase(),this._shortWeekdaysParse[f]=this.weekdaysShort(M,"").toLocaleLowerCase(),this._weekdaysParse[f]=this.weekdays(M,"").toLocaleLowerCase();return c?o==="dddd"?(g=Ue.call(this._weekdaysParse,O),g!==-1?g:null):o==="ddd"?(g=Ue.call(this._shortWeekdaysParse,O),g!==-1?g:null):(g=Ue.call(this._minWeekdaysParse,O),g!==-1?g:null):o==="dddd"?(g=Ue.call(this._weekdaysParse,O),g!==-1||(g=Ue.call(this._shortWeekdaysParse,O),g!==-1)?g:(g=Ue.call(this._minWeekdaysParse,O),g!==-1?g:null)):o==="ddd"?(g=Ue.call(this._shortWeekdaysParse,O),g!==-1||(g=Ue.call(this._weekdaysParse,O),g!==-1)?g:(g=Ue.call(this._minWeekdaysParse,O),g!==-1?g:null)):(g=Ue.call(this._minWeekdaysParse,O),g!==-1||(g=Ue.call(this._weekdaysParse,O),g!==-1)?g:(g=Ue.call(this._shortWeekdaysParse,O),g!==-1?g:null))}function jf(s,o,c){var f,g,M;if(this._weekdaysParseExact)return Hf.call(this,s,o,c);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),f=0;f<7;f++){if(g=_([2e3,1]).day(f),c&&!this._fullWeekdaysParse[f]&&(this._fullWeekdaysParse[f]=new RegExp("^"+this.weekdays(g,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[f]=new RegExp("^"+this.weekdaysShort(g,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[f]=new RegExp("^"+this.weekdaysMin(g,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[f]||(M="^"+this.weekdays(g,"")+"|^"+this.weekdaysShort(g,"")+"|^"+this.weekdaysMin(g,""),this._weekdaysParse[f]=new RegExp(M.replace(".",""),"i")),c&&o==="dddd"&&this._fullWeekdaysParse[f].test(s))return f;if(c&&o==="ddd"&&this._shortWeekdaysParse[f].test(s))return f;if(c&&o==="dd"&&this._minWeekdaysParse[f].test(s))return f;if(!c&&this._weekdaysParse[f].test(s))return f}}function Zf(s){if(!this.isValid())return s!=null?this:NaN;var o=this._isUTC?this._d.getUTCDay():this._d.getDay();return s!=null?(s=Nf(s,this.localeData()),this.add(s-o,"d")):o}function Xf(s){if(!this.isValid())return s!=null?this:NaN;var o=(this.day()+7-this.localeData()._week.dow)%7;return s==null?o:this.add(s-o,"d")}function zf(s){if(!this.isValid())return s!=null?this:NaN;if(s!=null){var o=Af(s,this.localeData());return this.day(this.day()%7?o:o-7)}else return this.day()||7}function Uf(s){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Cs.call(this),s?this._weekdaysStrictRegex:this._weekdaysRegex):(l(this,"_weekdaysRegex")||(this._weekdaysRegex=Ff),this._weekdaysStrictRegex&&s?this._weekdaysStrictRegex:this._weekdaysRegex)}function $f(s){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Cs.call(this),s?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(l(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Rf),this._weekdaysShortStrictRegex&&s?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Jf(s){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Cs.call(this),s?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(l(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Gf),this._weekdaysMinStrictRegex&&s?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Cs(){function s(pt,un){return un.length-pt.length}var o=[],c=[],f=[],g=[],M,O,$,ie,Ee;for(M=0;M<7;M++)O=_([2e3,1]).day(M),$=It(this.weekdaysMin(O,"")),ie=It(this.weekdaysShort(O,"")),Ee=It(this.weekdays(O,"")),o.push($),c.push(ie),f.push(Ee),g.push($),g.push(ie),g.push(Ee);o.sort(s),c.sort(s),f.sort(s),g.sort(s),this._weekdaysRegex=new RegExp("^("+g.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+f.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function Ys(){return this.hours()%12||12}function Qf(){return this.hours()||24}F("H",["HH",2],0,"hour"),F("h",["hh",2],0,Ys),F("k",["kk",2],0,Qf),F("hmm",0,0,function(){return""+Ys.apply(this)+ue(this.minutes(),2)}),F("hmmss",0,0,function(){return""+Ys.apply(this)+ue(this.minutes(),2)+ue(this.seconds(),2)}),F("Hmm",0,0,function(){return""+this.hours()+ue(this.minutes(),2)}),F("Hmmss",0,0,function(){return""+this.hours()+ue(this.minutes(),2)+ue(this.seconds(),2)});function Bo(s,o){F(s,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),o)})}Bo("a",!0),Bo("A",!1),rt("hour","h"),Qe("hour",13);function Ho(s,o){return o._meridiemParse}Z("a",Ho),Z("A",Ho),Z("H",j),Z("h",j),Z("k",j),Z("HH",j,gt),Z("hh",j,gt),Z("kk",j,gt),Z("hmm",ge),Z("hmmss",Q),Z("Hmm",ge),Z("Hmmss",Q),Te(["H","HH"],tt),Te(["k","kk"],function(s,o,c){var f=se(s);o[tt]=f===24?0:f}),Te(["a","A"],function(s,o,c){c._isPm=c._locale.isPM(s),c._meridiem=s}),Te(["h","hh"],function(s,o,c){o[tt]=se(s),v(c).bigHour=!0}),Te("hmm",function(s,o,c){var f=s.length-2;o[tt]=se(s.substr(0,f)),o[At]=se(s.substr(f)),v(c).bigHour=!0}),Te("hmmss",function(s,o,c){var f=s.length-4,g=s.length-2;o[tt]=se(s.substr(0,f)),o[At]=se(s.substr(f,2)),o[tn]=se(s.substr(g)),v(c).bigHour=!0}),Te("Hmm",function(s,o,c){var f=s.length-2;o[tt]=se(s.substr(0,f)),o[At]=se(s.substr(f))}),Te("Hmmss",function(s,o,c){var f=s.length-4,g=s.length-2;o[tt]=se(s.substr(0,f)),o[At]=se(s.substr(f,2)),o[tn]=se(s.substr(g))});function qf(s){return(s+"").toLowerCase().charAt(0)==="p"}var Kf=/[ap]\.?m?\.?/i,eh=wn("Hours",!0);function th(s,o,c){return s>11?c?"pm":"PM":c?"am":"AM"}var jo={calendar:Ye,longDateFormat:yt,invalidDate:N,ordinal:H,dayOfMonthOrdinalParse:ze,relativeTime:vs,months:gf,monthsShort:Ao,week:Cf,weekdays:Wf,weekdaysMin:Pf,weekdaysShort:Vo,meridiemParse:Kf},He={},Yr={},Or;function nh(s,o){var c,f=Math.min(s.length,o.length);for(c=0;c<f;c+=1)if(s[c]!==o[c])return c;return f}function Zo(s){return s&&s.toLowerCase().replace("_","-")}function rh(s){for(var o=0,c,f,g,M;o<s.length;){for(M=Zo(s[o]).split("-"),c=M.length,f=Zo(s[o+1]),f=f?f.split("-"):null;c>0;){if(g=fa(M.slice(0,c).join("-")),g)return g;if(f&&f.length>=c&&nh(M,f)>=c-1)break;c--}o++}return Or}function ah(s){return s.match("^[^/\\\\]*$")!=null}function fa(s){var o=null,c;if(He[s]===void 0&&e&&e.exports&&ah(s))try{o=Or._abbr,c=mt,c("./locale/"+s),In(o)}catch{He[s]=null}return He[s]}function In(s,o){var c;return s&&(h(o)?c=rn(s):c=Os(s,o),c?Or=c:typeof console<"u"&&console.warn&&console.warn("Locale "+s+" not found. Did you forget to load it?")),Or._abbr}function Os(s,o){if(o!==null){var c,f=jo;if(o.abbr=s,He[s]!=null)ne("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."),f=He[s]._config;else if(o.parentLocale!=null)if(He[o.parentLocale]!=null)f=He[o.parentLocale]._config;else if(c=fa(o.parentLocale),c!=null)f=c._config;else return Yr[o.parentLocale]||(Yr[o.parentLocale]=[]),Yr[o.parentLocale].push({name:s,config:o}),null;return He[s]=new Ce(re(f,o)),Yr[s]&&Yr[s].forEach(function(g){Os(g.name,g.config)}),In(s),He[s]}else return delete He[s],null}function sh(s,o){if(o!=null){var c,f,g=jo;He[s]!=null&&He[s].parentLocale!=null?He[s].set(re(He[s]._config,o)):(f=fa(s),f!=null&&(g=f._config),o=re(g,o),f==null&&(o.abbr=s),c=new Ce(o),c.parentLocale=He[s],He[s]=c),In(s)}else He[s]!=null&&(He[s].parentLocale!=null?(He[s]=He[s].parentLocale,s===In()&&In(s)):He[s]!=null&&delete He[s]);return He[s]}function rn(s){var o;if(s&&s._locale&&s._locale._abbr&&(s=s._locale._abbr),!s)return Or;if(!i(s)){if(o=fa(s),o)return o;s=[s]}return rh(s)}function ih(){return de(He)}function Ts(s){var o,c=s._a;return c&&v(s).overflow===-2&&(o=c[en]<0||c[en]>11?en:c[Ht]<1||c[Ht]>ca(c[ut],c[en])?Ht:c[tt]<0||c[tt]>24||c[tt]===24&&(c[At]!==0||c[tn]!==0||c[Wn]!==0)?tt:c[At]<0||c[At]>59?At:c[tn]<0||c[tn]>59?tn:c[Wn]<0||c[Wn]>999?Wn:-1,v(s)._overflowDayOfYear&&(o<ut||o>Ht)&&(o=Ht),v(s)._overflowWeeks&&o===-1&&(o=ff),v(s)._overflowWeekday&&o===-1&&(o=hf),v(s).overflow=o),s}var oh=/^\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)?)?$/,uh=/^\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)?)?$/,lh=/Z|[+-]\d\d(?::?\d\d)?/,ha=[["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]],Es=[["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/]],ch=/^\/?Date\((-?\d+)/i,dh=/^(?:(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}))$/,fh={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 Xo(s){var o,c,f=s._i,g=oh.exec(f)||uh.exec(f),M,O,$,ie,Ee=ha.length,pt=Es.length;if(g){for(v(s).iso=!0,o=0,c=Ee;o<c;o++)if(ha[o][1].exec(g[1])){O=ha[o][0],M=ha[o][2]!==!1;break}if(O==null){s._isValid=!1;return}if(g[3]){for(o=0,c=pt;o<c;o++)if(Es[o][1].exec(g[3])){$=(g[2]||" ")+Es[o][0];break}if($==null){s._isValid=!1;return}}if(!M&&$!=null){s._isValid=!1;return}if(g[4])if(lh.exec(g[4]))ie="Z";else{s._isValid=!1;return}s._f=O+($||"")+(ie||""),As(s)}else s._isValid=!1}function hh(s,o,c,f,g,M){var O=[mh(s),Ao.indexOf(o),parseInt(c,10),parseInt(f,10),parseInt(g,10)];return M&&O.push(parseInt(M,10)),O}function mh(s){var o=parseInt(s,10);return o<=49?2e3+o:o<=999?1900+o:o}function gh(s){return s.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function ph(s,o,c){if(s){var f=Vo.indexOf(s),g=new Date(o[0],o[1],o[2]).getDay();if(f!==g)return v(c).weekdayMismatch=!0,c._isValid=!1,!1}return!0}function bh(s,o,c){if(s)return fh[s];if(o)return 0;var f=parseInt(c,10),g=f%100,M=(f-g)/100;return M*60+g}function zo(s){var o=dh.exec(gh(s._i)),c;if(o){if(c=hh(o[4],o[3],o[2],o[5],o[6],o[7]),!ph(o[1],c,s))return;s._a=c,s._tzm=bh(o[8],o[9],o[10]),s._d=Sr.apply(null,s._a),s._d.setUTCMinutes(s._d.getUTCMinutes()-s._tzm),v(s).rfc2822=!0}else s._isValid=!1}function yh(s){var o=ch.exec(s._i);if(o!==null){s._d=new Date(+o[1]);return}if(Xo(s),s._isValid===!1)delete s._isValid;else return;if(zo(s),s._isValid===!1)delete s._isValid;else return;s._strict?s._isValid=!1:r.createFromInputFallback(s)}r.createFromInputFallback=L("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(s){s._d=new Date(s._i+(s._useUTC?" UTC":""))});function Jn(s,o,c){return s??o??c}function vh(s){var o=new Date(r.now());return s._useUTC?[o.getUTCFullYear(),o.getUTCMonth(),o.getUTCDate()]:[o.getFullYear(),o.getMonth(),o.getDate()]}function Ns(s){var o,c,f=[],g,M,O;if(!s._d){for(g=vh(s),s._w&&s._a[Ht]==null&&s._a[en]==null&&_h(s),s._dayOfYear!=null&&(O=Jn(s._a[ut],g[ut]),(s._dayOfYear>Dr(O)||s._dayOfYear===0)&&(v(s)._overflowDayOfYear=!0),c=Sr(O,0,s._dayOfYear),s._a[en]=c.getUTCMonth(),s._a[Ht]=c.getUTCDate()),o=0;o<3&&s._a[o]==null;++o)s._a[o]=f[o]=g[o];for(;o<7;o++)s._a[o]=f[o]=s._a[o]==null?o===2?1:0:s._a[o];s._a[tt]===24&&s._a[At]===0&&s._a[tn]===0&&s._a[Wn]===0&&(s._nextDay=!0,s._a[tt]=0),s._d=(s._useUTC?Sr:Df).apply(null,f),M=s._useUTC?s._d.getUTCDay():s._d.getDay(),s._tzm!=null&&s._d.setUTCMinutes(s._d.getUTCMinutes()-s._tzm),s._nextDay&&(s._a[tt]=24),s._w&&typeof s._w.d<"u"&&s._w.d!==M&&(v(s).weekdayMismatch=!0)}}function _h(s){var o,c,f,g,M,O,$,ie,Ee;o=s._w,o.GG!=null||o.W!=null||o.E!=null?(M=1,O=4,c=Jn(o.GG,s._a[ut],Cr(Fe(),1,4).year),f=Jn(o.W,1),g=Jn(o.E,1),(g<1||g>7)&&(ie=!0)):(M=s._locale._week.dow,O=s._locale._week.doy,Ee=Cr(Fe(),M,O),c=Jn(o.gg,s._a[ut],Ee.year),f=Jn(o.w,Ee.week),o.d!=null?(g=o.d,(g<0||g>6)&&(ie=!0)):o.e!=null?(g=o.e+M,(o.e<0||o.e>6)&&(ie=!0)):g=M),f<1||f>nn(c,M,O)?v(s)._overflowWeeks=!0:ie!=null?v(s)._overflowWeekday=!0:($=Lo(c,f,g,M,O),s._a[ut]=$.year,s._dayOfYear=$.dayOfYear)}r.ISO_8601=function(){},r.RFC_2822=function(){};function As(s){if(s._f===r.ISO_8601){Xo(s);return}if(s._f===r.RFC_2822){zo(s);return}s._a=[],v(s).empty=!0;var o=""+s._i,c,f,g,M,O,$=o.length,ie=0,Ee,pt;for(g=at(s._f,s._locale).match(We)||[],pt=g.length,c=0;c<pt;c++)M=g[c],f=(o.match(lf(M,s))||[])[0],f&&(O=o.substr(0,o.indexOf(f)),O.length>0&&v(s).unusedInput.push(O),o=o.slice(o.indexOf(f)+f.length),ie+=f.length),ke[M]?(f?v(s).empty=!1:v(s).unusedTokens.push(M),df(M,f,s)):s._strict&&!f&&v(s).unusedTokens.push(M);v(s).charsLeftOver=$-ie,o.length>0&&v(s).unusedInput.push(o),s._a[tt]<=12&&v(s).bigHour===!0&&s._a[tt]>0&&(v(s).bigHour=void 0),v(s).parsedDateParts=s._a.slice(0),v(s).meridiem=s._meridiem,s._a[tt]=wh(s._locale,s._a[tt],s._meridiem),Ee=v(s).era,Ee!==null&&(s._a[ut]=s._locale.erasConvertYear(Ee,s._a[ut])),Ns(s),Ts(s)}function wh(s,o,c){var f;return c==null?o:s.meridiemHour!=null?s.meridiemHour(o,c):(s.isPM!=null&&(f=s.isPM(c),f&&o<12&&(o+=12),!f&&o===12&&(o=0)),o)}function Mh(s){var o,c,f,g,M,O,$=!1,ie=s._f.length;if(ie===0){v(s).invalidFormat=!0,s._d=new Date(NaN);return}for(g=0;g<ie;g++)M=0,O=!1,o=x({},s),s._useUTC!=null&&(o._useUTC=s._useUTC),o._f=s._f[g],As(o),I(o)&&(O=!0),M+=v(o).charsLeftOver,M+=v(o).unusedTokens.length*10,v(o).score=M,$?M<f&&(f=M,c=o):(f==null||M<f||O)&&(f=M,c=o,O&&($=!0));w(s,c||o)}function xh(s){if(!s._d){var o=Zn(s._i),c=o.day===void 0?o.date:o.day;s._a=b([o.year,o.month,c,o.hour,o.minute,o.second,o.millisecond],function(f){return f&&parseInt(f,10)}),Ns(s)}}function Ih(s){var o=new Y(Ts(Uo(s)));return o._nextDay&&(o.add(1,"d"),o._nextDay=void 0),o}function Uo(s){var o=s._i,c=s._f;return s._locale=s._locale||rn(s._l),o===null||c===void 0&&o===""?S({nullInput:!0}):(typeof o=="string"&&(s._i=o=s._locale.preparse(o)),P(o)?new Y(Ts(o)):(p(o)?s._d=o:i(c)?Mh(s):c?As(s):kh(s),I(s)||(s._d=null),s))}function kh(s){var o=s._i;h(o)?s._d=new Date(r.now()):p(o)?s._d=new Date(o.valueOf()):typeof o=="string"?yh(s):i(o)?(s._a=b(o.slice(0),function(c){return parseInt(c,10)}),Ns(s)):u(o)?xh(s):m(o)?s._d=new Date(o):r.createFromInputFallback(s)}function $o(s,o,c,f,g){var M={};return(o===!0||o===!1)&&(f=o,o=void 0),(c===!0||c===!1)&&(f=c,c=void 0),(u(s)&&d(s)||i(s)&&s.length===0)&&(s=void 0),M._isAMomentObject=!0,M._useUTC=M._isUTC=g,M._l=c,M._i=s,M._f=o,M._strict=f,Ih(M)}function Fe(s,o,c,f){return $o(s,o,c,f,!1)}var Dh=L("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var s=Fe.apply(null,arguments);return this.isValid()&&s.isValid()?s<this?this:s:S()}),Sh=L("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var s=Fe.apply(null,arguments);return this.isValid()&&s.isValid()?s>this?this:s:S()});function Jo(s,o){var c,f;if(o.length===1&&i(o[0])&&(o=o[0]),!o.length)return Fe();for(c=o[0],f=1;f<o.length;++f)(!o[f].isValid()||o[f][s](c))&&(c=o[f]);return c}function Ch(){var s=[].slice.call(arguments,0);return Jo("isBefore",s)}function Yh(){var s=[].slice.call(arguments,0);return Jo("isAfter",s)}var Oh=function(){return Date.now?Date.now():+new Date},Tr=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Th(s){var o,c=!1,f,g=Tr.length;for(o in s)if(l(s,o)&&!(Ue.call(Tr,o)!==-1&&(s[o]==null||!isNaN(s[o]))))return!1;for(f=0;f<g;++f)if(s[Tr[f]]){if(c)return!1;parseFloat(s[Tr[f]])!==se(s[Tr[f]])&&(c=!0)}return!0}function Eh(){return this._isValid}function Nh(){return Wt(NaN)}function ma(s){var o=Zn(s),c=o.year||0,f=o.quarter||0,g=o.month||0,M=o.week||o.isoWeek||0,O=o.day||0,$=o.hour||0,ie=o.minute||0,Ee=o.second||0,pt=o.millisecond||0;this._isValid=Th(o),this._milliseconds=+pt+Ee*1e3+ie*6e4+$*1e3*60*60,this._days=+O+M*7,this._months=+g+f*3+c*12,this._data={},this._locale=rn(),this._bubble()}function ga(s){return s instanceof ma}function Ws(s){return s<0?Math.round(-1*s)*-1:Math.round(s)}function Ah(s,o,c){var f=Math.min(s.length,o.length),g=Math.abs(s.length-o.length),M=0,O;for(O=0;O<f;O++)(c&&s[O]!==o[O]||!c&&se(s[O])!==se(o[O]))&&M++;return M+g}function Qo(s,o){F(s,0,0,function(){var c=this.utcOffset(),f="+";return c<0&&(c=-c,f="-"),f+ue(~~(c/60),2)+o+ue(~~c%60,2)})}Qo("Z",":"),Qo("ZZ",""),Z("Z",xn),Z("ZZ",xn),Te(["Z","ZZ"],function(s,o,c){c._useUTC=!0,c._tzm=Ps(xn,s)});var Wh=/([\+\-]|\d\d)/gi;function Ps(s,o){var c=(o||"").match(s),f,g,M;return c===null?null:(f=c[c.length-1]||[],g=(f+"").match(Wh)||["-",0,0],M=+(g[1]*60)+se(g[2]),M===0?0:g[0]==="+"?M:-M)}function Fs(s,o){var c,f;return o._isUTC?(c=o.clone(),f=(P(s)||p(s)?s.valueOf():Fe(s).valueOf())-c.valueOf(),c._d.setTime(c._d.valueOf()+f),r.updateOffset(c,!1),c):Fe(s).local()}function Rs(s){return-Math.round(s._d.getTimezoneOffset())}r.updateOffset=function(){};function Ph(s,o,c){var f=this._offset||0,g;if(!this.isValid())return s!=null?this:NaN;if(s!=null){if(typeof s=="string"){if(s=Ps(xn,s),s===null)return this}else Math.abs(s)<16&&!c&&(s=s*60);return!this._isUTC&&o&&(g=Rs(this)),this._offset=s,this._isUTC=!0,g!=null&&this.add(g,"m"),f!==s&&(!o||this._changeInProgress?tu(this,Wt(s-f,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,r.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?f:Rs(this)}function Fh(s,o){return s!=null?(typeof s!="string"&&(s=-s),this.utcOffset(s,o),this):-this.utcOffset()}function Rh(s){return this.utcOffset(0,s)}function Gh(s){return this._isUTC&&(this.utcOffset(0,s),this._isUTC=!1,s&&this.subtract(Rs(this),"m")),this}function Lh(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var s=Ps(ks,this._i);s!=null?this.utcOffset(s):this.utcOffset(0,!0)}return this}function Vh(s){return this.isValid()?(s=s?Fe(s).utcOffset():0,(this.utcOffset()-s)%60===0):!1}function Bh(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Hh(){if(!h(this._isDSTShifted))return this._isDSTShifted;var s={},o;return x(s,this),s=Uo(s),s._a?(o=s._isUTC?_(s._a):Fe(s._a),this._isDSTShifted=this.isValid()&&Ah(s._a,o.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function jh(){return this.isValid()?!this._isUTC:!1}function Zh(){return this.isValid()?this._isUTC:!1}function qo(){return this.isValid()?this._isUTC&&this._offset===0:!1}var Xh=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,zh=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Wt(s,o){var c=s,f=null,g,M,O;return ga(s)?c={ms:s._milliseconds,d:s._days,M:s._months}:m(s)||!isNaN(+s)?(c={},o?c[o]=+s:c.milliseconds=+s):(f=Xh.exec(s))?(g=f[1]==="-"?-1:1,c={y:0,d:se(f[Ht])*g,h:se(f[tt])*g,m:se(f[At])*g,s:se(f[tn])*g,ms:se(Ws(f[Wn]*1e3))*g}):(f=zh.exec(s))?(g=f[1]==="-"?-1:1,c={y:Pn(f[2],g),M:Pn(f[3],g),w:Pn(f[4],g),d:Pn(f[5],g),h:Pn(f[6],g),m:Pn(f[7],g),s:Pn(f[8],g)}):c==null?c={}:typeof c=="object"&&("from"in c||"to"in c)&&(O=Uh(Fe(c.from),Fe(c.to)),c={},c.ms=O.milliseconds,c.M=O.months),M=new ma(c),ga(s)&&l(s,"_locale")&&(M._locale=s._locale),ga(s)&&l(s,"_isValid")&&(M._isValid=s._isValid),M}Wt.fn=ma.prototype,Wt.invalid=Nh;function Pn(s,o){var c=s&&parseFloat(s.replace(",","."));return(isNaN(c)?0:c)*o}function Ko(s,o){var c={};return c.months=o.month()-s.month()+(o.year()-s.year())*12,s.clone().add(c.months,"M").isAfter(o)&&--c.months,c.milliseconds=+o-+s.clone().add(c.months,"M"),c}function Uh(s,o){var c;return s.isValid()&&o.isValid()?(o=Fs(o,s),s.isBefore(o)?c=Ko(s,o):(c=Ko(o,s),c.milliseconds=-c.milliseconds,c.months=-c.months),c):{milliseconds:0,months:0}}function eu(s,o){return function(c,f){var g,M;return f!==null&&!isNaN(+f)&&(ne(o,"moment()."+o+"(period, number) is deprecated. Please use moment()."+o+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),M=c,c=f,f=M),g=Wt(c,f),tu(this,g,s),this}}function tu(s,o,c,f){var g=o._milliseconds,M=Ws(o._days),O=Ws(o._months);s.isValid()&&(f=f??!0,O&&Po(s,Un(s,"Month")+O*c),M&&oa(s,"Date",Un(s,"Date")+M*c),g&&s._d.setTime(s._d.valueOf()+g*c),f&&r.updateOffset(s,M||O))}var $h=eu(1,"add"),Jh=eu(-1,"subtract");function nu(s){return typeof s=="string"||s instanceof String}function Qh(s){return P(s)||p(s)||nu(s)||m(s)||Kh(s)||qh(s)||s===null||s===void 0}function qh(s){var o=u(s)&&!d(s),c=!1,f=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],g,M,O=f.length;for(g=0;g<O;g+=1)M=f[g],c=c||l(s,M);return o&&c}function Kh(s){var o=i(s),c=!1;return o&&(c=s.filter(function(f){return!m(f)&&nu(s)}).length===0),o&&c}function em(s){var o=u(s)&&!d(s),c=!1,f=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],g,M;for(g=0;g<f.length;g+=1)M=f[g],c=c||l(s,M);return o&&c}function tm(s,o){var c=s.diff(o,"days",!0);return c<-6?"sameElse":c<-1?"lastWeek":c<0?"lastDay":c<1?"sameDay":c<2?"nextDay":c<7?"nextWeek":"sameElse"}function nm(s,o){arguments.length===1&&(arguments[0]?Qh(arguments[0])?(s=arguments[0],o=void 0):em(arguments[0])&&(o=arguments[0],s=void 0):(s=void 0,o=void 0));var c=s||Fe(),f=Fs(c,this).startOf("day"),g=r.calendarFormat(this,f)||"sameElse",M=o&&(K(o[g])?o[g].call(this,c):o[g]);return this.format(M||this.localeData().calendar(g,this,Fe(c)))}function rm(){return new Y(this)}function am(s,o){var c=P(s)?s:Fe(s);return this.isValid()&&c.isValid()?(o=vt(o)||"millisecond",o==="millisecond"?this.valueOf()>c.valueOf():c.valueOf()<this.clone().startOf(o).valueOf()):!1}function sm(s,o){var c=P(s)?s:Fe(s);return this.isValid()&&c.isValid()?(o=vt(o)||"millisecond",o==="millisecond"?this.valueOf()<c.valueOf():this.clone().endOf(o).valueOf()<c.valueOf()):!1}function im(s,o,c,f){var g=P(s)?s:Fe(s),M=P(o)?o:Fe(o);return this.isValid()&&g.isValid()&&M.isValid()?(f=f||"()",(f[0]==="("?this.isAfter(g,c):!this.isBefore(g,c))&&(f[1]===")"?this.isBefore(M,c):!this.isAfter(M,c))):!1}function om(s,o){var c=P(s)?s:Fe(s),f;return this.isValid()&&c.isValid()?(o=vt(o)||"millisecond",o==="millisecond"?this.valueOf()===c.valueOf():(f=c.valueOf(),this.clone().startOf(o).valueOf()<=f&&f<=this.clone().endOf(o).valueOf())):!1}function um(s,o){return this.isSame(s,o)||this.isAfter(s,o)}function lm(s,o){return this.isSame(s,o)||this.isBefore(s,o)}function cm(s,o,c){var f,g,M;if(!this.isValid())return NaN;if(f=Fs(s,this),!f.isValid())return NaN;switch(g=(f.utcOffset()-this.utcOffset())*6e4,o=vt(o),o){case"year":M=pa(this,f)/12;break;case"month":M=pa(this,f);break;case"quarter":M=pa(this,f)/3;break;case"second":M=(this-f)/1e3;break;case"minute":M=(this-f)/6e4;break;case"hour":M=(this-f)/36e5;break;case"day":M=(this-f-g)/864e5;break;case"week":M=(this-f-g)/6048e5;break;default:M=this-f}return c?M:_t(M)}function pa(s,o){if(s.date()<o.date())return-pa(o,s);var c=(o.year()-s.year())*12+(o.month()-s.month()),f=s.clone().add(c,"months"),g,M;return o-f<0?(g=s.clone().add(c-1,"months"),M=(o-f)/(f-g)):(g=s.clone().add(c+1,"months"),M=(o-f)/(g-f)),-(c+M)||0}r.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",r.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function dm(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function fm(s){if(!this.isValid())return null;var o=s!==!0,c=o?this.clone().utc():this;return c.year()<0||c.year()>9999?Je(c,o?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):K(Date.prototype.toISOString)?o?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Je(c,"Z")):Je(c,o?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function hm(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var s="moment",o="",c,f,g,M;return this.isLocal()||(s=this.utcOffset()===0?"moment.utc":"moment.parseZone",o="Z"),c="["+s+'("]',f=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",g="-MM-DD[T]HH:mm:ss.SSS",M=o+'[")]',this.format(c+f+g+M)}function mm(s){s||(s=this.isUtc()?r.defaultFormatUtc:r.defaultFormat);var o=Je(this,s);return this.localeData().postformat(o)}function gm(s,o){return this.isValid()&&(P(s)&&s.isValid()||Fe(s).isValid())?Wt({to:this,from:s}).locale(this.locale()).humanize(!o):this.localeData().invalidDate()}function pm(s){return this.from(Fe(),s)}function bm(s,o){return this.isValid()&&(P(s)&&s.isValid()||Fe(s).isValid())?Wt({from:this,to:s}).locale(this.locale()).humanize(!o):this.localeData().invalidDate()}function ym(s){return this.to(Fe(),s)}function ru(s){var o;return s===void 0?this._locale._abbr:(o=rn(s),o!=null&&(this._locale=o),this)}var au=L("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(s){return s===void 0?this.localeData():this.locale(s)});function su(){return this._locale}var ba=1e3,Qn=60*ba,ya=60*Qn,iu=(365*400+97)*24*ya;function qn(s,o){return(s%o+o)%o}function ou(s,o,c){return s<100&&s>=0?new Date(s+400,o,c)-iu:new Date(s,o,c).valueOf()}function uu(s,o,c){return s<100&&s>=0?Date.UTC(s+400,o,c)-iu:Date.UTC(s,o,c)}function vm(s){var o,c;if(s=vt(s),s===void 0||s==="millisecond"||!this.isValid())return this;switch(c=this._isUTC?uu:ou,s){case"year":o=c(this.year(),0,1);break;case"quarter":o=c(this.year(),this.month()-this.month()%3,1);break;case"month":o=c(this.year(),this.month(),1);break;case"week":o=c(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":o=c(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":o=c(this.year(),this.month(),this.date());break;case"hour":o=this._d.valueOf(),o-=qn(o+(this._isUTC?0:this.utcOffset()*Qn),ya);break;case"minute":o=this._d.valueOf(),o-=qn(o,Qn);break;case"second":o=this._d.valueOf(),o-=qn(o,ba);break}return this._d.setTime(o),r.updateOffset(this,!0),this}function _m(s){var o,c;if(s=vt(s),s===void 0||s==="millisecond"||!this.isValid())return this;switch(c=this._isUTC?uu:ou,s){case"year":o=c(this.year()+1,0,1)-1;break;case"quarter":o=c(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":o=c(this.year(),this.month()+1,1)-1;break;case"week":o=c(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":o=c(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":o=c(this.year(),this.month(),this.date()+1)-1;break;case"hour":o=this._d.valueOf(),o+=ya-qn(o+(this._isUTC?0:this.utcOffset()*Qn),ya)-1;break;case"minute":o=this._d.valueOf(),o+=Qn-qn(o,Qn)-1;break;case"second":o=this._d.valueOf(),o+=ba-qn(o,ba)-1;break}return this._d.setTime(o),r.updateOffset(this,!0),this}function wm(){return this._d.valueOf()-(this._offset||0)*6e4}function Mm(){return Math.floor(this.valueOf()/1e3)}function xm(){return new Date(this.valueOf())}function Im(){var s=this;return[s.year(),s.month(),s.date(),s.hour(),s.minute(),s.second(),s.millisecond()]}function km(){var s=this;return{years:s.year(),months:s.month(),date:s.date(),hours:s.hours(),minutes:s.minutes(),seconds:s.seconds(),milliseconds:s.milliseconds()}}function Dm(){return this.isValid()?this.toISOString():null}function Sm(){return I(this)}function Cm(){return w({},v(this))}function Ym(){return v(this).overflow}function Om(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}F("N",0,0,"eraAbbr"),F("NN",0,0,"eraAbbr"),F("NNN",0,0,"eraAbbr"),F("NNNN",0,0,"eraName"),F("NNNNN",0,0,"eraNarrow"),F("y",["y",1],"yo","eraYear"),F("y",["yy",2],0,"eraYear"),F("y",["yyy",3],0,"eraYear"),F("y",["yyyy",4],0,"eraYear"),Z("N",Gs),Z("NN",Gs),Z("NNN",Gs),Z("NNNN",Vm),Z("NNNNN",Bm),Te(["N","NN","NNN","NNNN","NNNNN"],function(s,o,c,f){var g=c._locale.erasParse(s,f,c._strict);g?v(c).era=g:v(c).invalidEra=s}),Z("y",Mn),Z("yy",Mn),Z("yyy",Mn),Z("yyyy",Mn),Z("yo",Hm),Te(["y","yy","yyy","yyyy"],ut),Te(["yo"],function(s,o,c,f){var g;c._locale._eraYearOrdinalRegex&&(g=s.match(c._locale._eraYearOrdinalRegex)),c._locale.eraYearOrdinalParse?o[ut]=c._locale.eraYearOrdinalParse(s,g):o[ut]=parseInt(s,10)});function Tm(s,o){var c,f,g,M=this._eras||rn("en")._eras;for(c=0,f=M.length;c<f;++c){switch(typeof M[c].since){case"string":g=r(M[c].since).startOf("day"),M[c].since=g.valueOf();break}switch(typeof M[c].until){case"undefined":M[c].until=1/0;break;case"string":g=r(M[c].until).startOf("day").valueOf(),M[c].until=g.valueOf();break}}return M}function Em(s,o,c){var f,g,M=this.eras(),O,$,ie;for(s=s.toUpperCase(),f=0,g=M.length;f<g;++f)if(O=M[f].name.toUpperCase(),$=M[f].abbr.toUpperCase(),ie=M[f].narrow.toUpperCase(),c)switch(o){case"N":case"NN":case"NNN":if($===s)return M[f];break;case"NNNN":if(O===s)return M[f];break;case"NNNNN":if(ie===s)return M[f];break}else if([O,$,ie].indexOf(s)>=0)return M[f]}function Nm(s,o){var c=s.since<=s.until?1:-1;return o===void 0?r(s.since).year():r(s.since).year()+(o-s.offset)*c}function Am(){var s,o,c,f=this.localeData().eras();for(s=0,o=f.length;s<o;++s)if(c=this.clone().startOf("day").valueOf(),f[s].since<=c&&c<=f[s].until||f[s].until<=c&&c<=f[s].since)return f[s].name;return""}function Wm(){var s,o,c,f=this.localeData().eras();for(s=0,o=f.length;s<o;++s)if(c=this.clone().startOf("day").valueOf(),f[s].since<=c&&c<=f[s].until||f[s].until<=c&&c<=f[s].since)return f[s].narrow;return""}function Pm(){var s,o,c,f=this.localeData().eras();for(s=0,o=f.length;s<o;++s)if(c=this.clone().startOf("day").valueOf(),f[s].since<=c&&c<=f[s].until||f[s].until<=c&&c<=f[s].since)return f[s].abbr;return""}function Fm(){var s,o,c,f,g=this.localeData().eras();for(s=0,o=g.length;s<o;++s)if(c=g[s].since<=g[s].until?1:-1,f=this.clone().startOf("day").valueOf(),g[s].since<=f&&f<=g[s].until||g[s].until<=f&&f<=g[s].since)return(this.year()-r(g[s].since).year())*c+g[s].offset;return this.year()}function Rm(s){return l(this,"_erasNameRegex")||Ls.call(this),s?this._erasNameRegex:this._erasRegex}function Gm(s){return l(this,"_erasAbbrRegex")||Ls.call(this),s?this._erasAbbrRegex:this._erasRegex}function Lm(s){return l(this,"_erasNarrowRegex")||Ls.call(this),s?this._erasNarrowRegex:this._erasRegex}function Gs(s,o){return o.erasAbbrRegex(s)}function Vm(s,o){return o.erasNameRegex(s)}function Bm(s,o){return o.erasNarrowRegex(s)}function Hm(s,o){return o._eraYearOrdinalRegex||Mn}function Ls(){var s=[],o=[],c=[],f=[],g,M,O=this.eras();for(g=0,M=O.length;g<M;++g)o.push(It(O[g].name)),s.push(It(O[g].abbr)),c.push(It(O[g].narrow)),f.push(It(O[g].name)),f.push(It(O[g].abbr)),f.push(It(O[g].narrow));this._erasRegex=new RegExp("^("+f.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+o.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+s.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+c.join("|")+")","i")}F(0,["gg",2],0,function(){return this.weekYear()%100}),F(0,["GG",2],0,function(){return this.isoWeekYear()%100});function va(s,o){F(0,[s,s.length],0,o)}va("gggg","weekYear"),va("ggggg","weekYear"),va("GGGG","isoWeekYear"),va("GGGGG","isoWeekYear"),rt("weekYear","gg"),rt("isoWeekYear","GG"),Qe("weekYear",1),Qe("isoWeekYear",1),Z("G",$n),Z("g",$n),Z("GG",j,gt),Z("gg",j,gt),Z("GGGG",st,Mr),Z("gggg",st,Mr),Z("GGGGG",oe,An),Z("ggggg",oe,An),kr(["gggg","ggggg","GGGG","GGGGG"],function(s,o,c,f){o[f.substr(0,2)]=se(s)}),kr(["gg","GG"],function(s,o,c,f){o[f]=r.parseTwoDigitYear(s)});function jm(s){return lu.call(this,s,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Zm(s){return lu.call(this,s,this.isoWeek(),this.isoWeekday(),1,4)}function Xm(){return nn(this.year(),1,4)}function zm(){return nn(this.isoWeekYear(),1,4)}function Um(){var s=this.localeData()._week;return nn(this.year(),s.dow,s.doy)}function $m(){var s=this.localeData()._week;return nn(this.weekYear(),s.dow,s.doy)}function lu(s,o,c,f,g){var M;return s==null?Cr(this,f,g).year:(M=nn(s,f,g),o>M&&(o=M),Jm.call(this,s,o,c,f,g))}function Jm(s,o,c,f,g){var M=Lo(s,o,c,f,g),O=Sr(M.year,0,M.dayOfYear);return this.year(O.getUTCFullYear()),this.month(O.getUTCMonth()),this.date(O.getUTCDate()),this}F("Q",0,"Qo","quarter"),rt("quarter","Q"),Qe("quarter",7),Z("Q",ua),Te("Q",function(s,o){o[en]=(se(s)-1)*3});function Qm(s){return s==null?Math.ceil((this.month()+1)/3):this.month((s-1)*3+this.month()%3)}F("D",["DD",2],"Do","date"),rt("date","D"),Qe("date",9),Z("D",j),Z("DD",j,gt),Z("Do",function(s,o){return s?o._dayOfMonthOrdinalParse||o._ordinalParse:o._dayOfMonthOrdinalParseLenient}),Te(["D","DD"],Ht),Te("Do",function(s,o){o[Ht]=se(s.match(j)[0])});var cu=wn("Date",!0);F("DDD",["DDDD",3],"DDDo","dayOfYear"),rt("dayOfYear","DDD"),Qe("dayOfYear",4),Z("DDD",ce),Z("DDDD",wr),Te(["DDD","DDDD"],function(s,o,c){c._dayOfYear=se(s)});function qm(s){var o=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return s==null?o:this.add(s-o,"d")}F("m",["mm",2],0,"minute"),rt("minute","m"),Qe("minute",14),Z("m",j),Z("mm",j,gt),Te(["m","mm"],At);var Km=wn("Minutes",!1);F("s",["ss",2],0,"second"),rt("second","s"),Qe("second",15),Z("s",j),Z("ss",j,gt),Te(["s","ss"],tn);var eg=wn("Seconds",!1);F("S",0,0,function(){return~~(this.millisecond()/100)}),F(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),F(0,["SSS",3],0,"millisecond"),F(0,["SSSS",4],0,function(){return this.millisecond()*10}),F(0,["SSSSS",5],0,function(){return this.millisecond()*100}),F(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),F(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),F(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),F(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),rt("millisecond","ms"),Qe("millisecond",16),Z("S",ce,ua),Z("SS",ce,gt),Z("SSS",ce,wr);var kn,du;for(kn="SSSS";kn.length<=9;kn+="S")Z(kn,Mn);function tg(s,o){o[Wn]=se(("0."+s)*1e3)}for(kn="S";kn.length<=9;kn+="S")Te(kn,tg);du=wn("Milliseconds",!1),F("z",0,0,"zoneAbbr"),F("zz",0,0,"zoneName");function ng(){return this._isUTC?"UTC":""}function rg(){return this._isUTC?"Coordinated Universal Time":""}var A=Y.prototype;A.add=$h,A.calendar=nm,A.clone=rm,A.diff=cm,A.endOf=_m,A.format=mm,A.from=gm,A.fromNow=pm,A.to=bm,A.toNow=ym,A.get=xs,A.invalidAt=Ym,A.isAfter=am,A.isBefore=sm,A.isBetween=im,A.isSame=om,A.isSameOrAfter=um,A.isSameOrBefore=lm,A.isValid=Sm,A.lang=au,A.locale=ru,A.localeData=su,A.max=Sh,A.min=Dh,A.parsingFlags=Cm,A.set=Is,A.startOf=vm,A.subtract=Jh,A.toArray=Im,A.toObject=km,A.toDate=xm,A.toISOString=fm,A.inspect=hm,typeof Symbol<"u"&&Symbol.for!=null&&(A[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),A.toJSON=Dm,A.toString=dm,A.unix=Mm,A.valueOf=wm,A.creationData=Om,A.eraName=Am,A.eraNarrow=Wm,A.eraAbbr=Pm,A.eraYear=Fm,A.year=Go,A.isLeapYear=kf,A.weekYear=jm,A.isoWeekYear=Zm,A.quarter=A.quarters=Qm,A.month=Fo,A.daysInMonth=Mf,A.week=A.weeks=Tf,A.isoWeek=A.isoWeeks=Ef,A.weeksInYear=Um,A.weeksInWeekYear=$m,A.isoWeeksInYear=Xm,A.isoWeeksInISOWeekYear=zm,A.date=cu,A.day=A.days=Zf,A.weekday=Xf,A.isoWeekday=zf,A.dayOfYear=qm,A.hour=A.hours=eh,A.minute=A.minutes=Km,A.second=A.seconds=eg,A.millisecond=A.milliseconds=du,A.utcOffset=Ph,A.utc=Rh,A.local=Gh,A.parseZone=Lh,A.hasAlignedHourOffset=Vh,A.isDST=Bh,A.isLocal=jh,A.isUtcOffset=Zh,A.isUtc=qo,A.isUTC=qo,A.zoneAbbr=ng,A.zoneName=rg,A.dates=L("dates accessor is deprecated. Use date instead.",cu),A.months=L("months accessor is deprecated. Use month instead",Fo),A.years=L("years accessor is deprecated. Use year instead",Go),A.zone=L("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Fh),A.isDSTShifted=L("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Hh);function ag(s){return Fe(s*1e3)}function sg(){return Fe.apply(null,arguments).parseZone()}function fu(s){return s}var be=Ce.prototype;be.calendar=Oe,be.longDateFormat=xt,be.invalidDate=Be,be.ordinal=ys,be.preparse=fu,be.postformat=fu,be.relativeTime=_s,be.pastFuture=ws,be.set=B,be.eras=Tm,be.erasParse=Em,be.erasConvertYear=Nm,be.erasAbbrRegex=Gm,be.erasNameRegex=Rm,be.erasNarrowRegex=Lm,be.months=yf,be.monthsShort=vf,be.monthsParse=wf,be.monthsRegex=If,be.monthsShortRegex=xf,be.week=Sf,be.firstDayOfYear=Of,be.firstDayOfWeek=Yf,be.weekdays=Lf,be.weekdaysMin=Bf,be.weekdaysShort=Vf,be.weekdaysParse=jf,be.weekdaysRegex=Uf,be.weekdaysShortRegex=$f,be.weekdaysMinRegex=Jf,be.isPM=qf,be.meridiem=th;function _a(s,o,c,f){var g=rn(),M=_().set(f,o);return g[c](M,s)}function hu(s,o,c){if(m(s)&&(o=s,s=void 0),s=s||"",o!=null)return _a(s,o,c,"month");var f,g=[];for(f=0;f<12;f++)g[f]=_a(s,f,c,"month");return g}function Vs(s,o,c,f){typeof s=="boolean"?(m(o)&&(c=o,o=void 0),o=o||""):(o=s,c=o,s=!1,m(o)&&(c=o,o=void 0),o=o||"");var g=rn(),M=s?g._week.dow:0,O,$=[];if(c!=null)return _a(o,(c+M)%7,f,"day");for(O=0;O<7;O++)$[O]=_a(o,(O+M)%7,f,"day");return $}function ig(s,o){return hu(s,o,"months")}function og(s,o){return hu(s,o,"monthsShort")}function ug(s,o,c){return Vs(s,o,c,"weekdays")}function lg(s,o,c){return Vs(s,o,c,"weekdaysShort")}function cg(s,o,c){return Vs(s,o,c,"weekdaysMin")}In("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(s){var o=s%10,c=se(s%100/10)===1?"th":o===1?"st":o===2?"nd":o===3?"rd":"th";return s+c}}),r.lang=L("moment.lang is deprecated. Use moment.locale instead.",In),r.langData=L("moment.langData is deprecated. Use moment.localeData instead.",rn);var an=Math.abs;function dg(){var s=this._data;return this._milliseconds=an(this._milliseconds),this._days=an(this._days),this._months=an(this._months),s.milliseconds=an(s.milliseconds),s.seconds=an(s.seconds),s.minutes=an(s.minutes),s.hours=an(s.hours),s.months=an(s.months),s.years=an(s.years),this}function mu(s,o,c,f){var g=Wt(o,c);return s._milliseconds+=f*g._milliseconds,s._days+=f*g._days,s._months+=f*g._months,s._bubble()}function fg(s,o){return mu(this,s,o,1)}function hg(s,o){return mu(this,s,o,-1)}function gu(s){return s<0?Math.floor(s):Math.ceil(s)}function mg(){var s=this._milliseconds,o=this._days,c=this._months,f=this._data,g,M,O,$,ie;return s>=0&&o>=0&&c>=0||s<=0&&o<=0&&c<=0||(s+=gu(Bs(c)+o)*864e5,o=0,c=0),f.milliseconds=s%1e3,g=_t(s/1e3),f.seconds=g%60,M=_t(g/60),f.minutes=M%60,O=_t(M/60),f.hours=O%24,o+=_t(O/24),ie=_t(pu(o)),c+=ie,o-=gu(Bs(ie)),$=_t(c/12),c%=12,f.days=o,f.months=c,f.years=$,this}function pu(s){return s*4800/146097}function Bs(s){return s*146097/4800}function gg(s){if(!this.isValid())return NaN;var o,c,f=this._milliseconds;if(s=vt(s),s==="month"||s==="quarter"||s==="year")switch(o=this._days+f/864e5,c=this._months+pu(o),s){case"month":return c;case"quarter":return c/3;case"year":return c/12}else switch(o=this._days+Math.round(Bs(this._months)),s){case"week":return o/7+f/6048e5;case"day":return o+f/864e5;case"hour":return o*24+f/36e5;case"minute":return o*1440+f/6e4;case"second":return o*86400+f/1e3;case"millisecond":return Math.floor(o*864e5)+f;default:throw new Error("Unknown unit "+s)}}function pg(){return this.isValid()?this._milliseconds+this._days*864e5+this._months%12*2592e6+se(this._months/12)*31536e6:NaN}function sn(s){return function(){return this.as(s)}}var bg=sn("ms"),yg=sn("s"),vg=sn("m"),_g=sn("h"),wg=sn("d"),Mg=sn("w"),xg=sn("M"),Ig=sn("Q"),kg=sn("y");function Dg(){return Wt(this)}function Sg(s){return s=vt(s),this.isValid()?this[s+"s"]():NaN}function Fn(s){return function(){return this.isValid()?this._data[s]:NaN}}var Cg=Fn("milliseconds"),Yg=Fn("seconds"),Og=Fn("minutes"),Tg=Fn("hours"),Eg=Fn("days"),Ng=Fn("months"),Ag=Fn("years");function Wg(){return _t(this.days()/7)}var on=Math.round,Kn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Pg(s,o,c,f,g){return g.relativeTime(o||1,!!c,s,f)}function Fg(s,o,c,f){var g=Wt(s).abs(),M=on(g.as("s")),O=on(g.as("m")),$=on(g.as("h")),ie=on(g.as("d")),Ee=on(g.as("M")),pt=on(g.as("w")),un=on(g.as("y")),Dn=M<=c.ss&&["s",M]||M<c.s&&["ss",M]||O<=1&&["m"]||O<c.m&&["mm",O]||$<=1&&["h"]||$<c.h&&["hh",$]||ie<=1&&["d"]||ie<c.d&&["dd",ie];return c.w!=null&&(Dn=Dn||pt<=1&&["w"]||pt<c.w&&["ww",pt]),Dn=Dn||Ee<=1&&["M"]||Ee<c.M&&["MM",Ee]||un<=1&&["y"]||["yy",un],Dn[2]=o,Dn[3]=+s>0,Dn[4]=f,Pg.apply(null,Dn)}function Rg(s){return s===void 0?on:typeof s=="function"?(on=s,!0):!1}function Gg(s,o){return Kn[s]===void 0?!1:o===void 0?Kn[s]:(Kn[s]=o,s==="s"&&(Kn.ss=o-1),!0)}function Lg(s,o){if(!this.isValid())return this.localeData().invalidDate();var c=!1,f=Kn,g,M;return typeof s=="object"&&(o=s,s=!1),typeof s=="boolean"&&(c=s),typeof o=="object"&&(f=Object.assign({},Kn,o),o.s!=null&&o.ss==null&&(f.ss=o.s-1)),g=this.localeData(),M=Fg(this,!c,f,g),c&&(M=g.pastFuture(+this,M)),g.postformat(M)}var Hs=Math.abs;function er(s){return(s>0)-(s<0)||+s}function wa(){if(!this.isValid())return this.localeData().invalidDate();var s=Hs(this._milliseconds)/1e3,o=Hs(this._days),c=Hs(this._months),f,g,M,O,$=this.asSeconds(),ie,Ee,pt,un;return $?(f=_t(s/60),g=_t(f/60),s%=60,f%=60,M=_t(c/12),c%=12,O=s?s.toFixed(3).replace(/\.?0+$/,""):"",ie=$<0?"-":"",Ee=er(this._months)!==er($)?"-":"",pt=er(this._days)!==er($)?"-":"",un=er(this._milliseconds)!==er($)?"-":"",ie+"P"+(M?Ee+M+"Y":"")+(c?Ee+c+"M":"")+(o?pt+o+"D":"")+(g||f||s?"T":"")+(g?un+g+"H":"")+(f?un+f+"M":"")+(s?un+O+"S":"")):"P0D"}var fe=ma.prototype;fe.isValid=Eh,fe.abs=dg,fe.add=fg,fe.subtract=hg,fe.as=gg,fe.asMilliseconds=bg,fe.asSeconds=yg,fe.asMinutes=vg,fe.asHours=_g,fe.asDays=wg,fe.asWeeks=Mg,fe.asMonths=xg,fe.asQuarters=Ig,fe.asYears=kg,fe.valueOf=pg,fe._bubble=mg,fe.clone=Dg,fe.get=Sg,fe.milliseconds=Cg,fe.seconds=Yg,fe.minutes=Og,fe.hours=Tg,fe.days=Eg,fe.weeks=Wg,fe.months=Ng,fe.years=Ag,fe.humanize=Lg,fe.toISOString=wa,fe.toString=wa,fe.toJSON=wa,fe.locale=ru,fe.localeData=su,fe.toIsoString=L("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",wa),fe.lang=au,F("X",0,0,"unix"),F("x",0,0,"valueOf"),Z("x",$n),Z("X",xr),Te("X",function(s,o,c){c._d=new Date(parseFloat(s)*1e3)}),Te("x",function(s,o,c){c._d=new Date(se(s))});//! moment.js
|
|
695
|
+
return r.version="2.29.4",a(Fe),r.fn=A,r.min=Ch,r.max=Yh,r.now=Oh,r.utc=_,r.unix=ag,r.months=ig,r.isDate=p,r.locale=In,r.invalid=S,r.duration=Wt,r.isMoment=P,r.weekdays=ug,r.parseZone=sg,r.localeData=rn,r.isDuration=ga,r.monthsShort=og,r.weekdaysMin=cg,r.defineLocale=Os,r.updateLocale=sh,r.locales=ih,r.weekdaysShort=lg,r.normalizeUnits=vt,r.relativeTimeRounding=Rg,r.relativeTimeThreshold=Gg,r.calendarFormat=tm,r.prototype=A,r.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"},r})}(oi)),oi.exports}(function(e,t){(function(n,r){r(typeof mt=="function"?bt():n.moment)})(Ke,function(n){//! moment.js locale configuration
|
|
696
|
+
var r=n.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(a){var i=a%10,u=~~(a%100/10)===1?"th":i===1?"st":i===2?"nd":i===3?"rd":"th";return a+u},week:{dow:1,doy:4}});return r})})();(function(e,t){(function(n,r){r(typeof mt=="function"?bt():n.moment)})(Ke,function(n){//! moment.js locale configuration
|
|
697
|
+
var r=n.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(a,i){return a===12&&(a=0),i==="凌晨"||i==="早上"||i==="上午"?a:i==="下午"||i==="晚上"?a+12:a>=11?a:a+12},meridiem:function(a,i,u){var l=a*100+i;return l<600?"凌晨":l<900?"早上":l<1130?"上午":l<1230?"中午":l<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:function(a){return a.week()!==this.week()?"[下]dddLT":"[本]dddLT"},lastDay:"[昨天]LT",lastWeek:function(a){return this.week()!==a.week()?"[上]dddLT":"[本]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(a,i){switch(i){case"d":case"D":case"DDD":return a+"日";case"M":return a+"月";case"w":case"W":return a+"周";default:return a}},relativeTime:{future:"%s后",past:"%s前",s:"几秒",ss:"%d 秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",w:"1 周",ww:"%d 周",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}});return r})})();(function(e,t){(function(n,r){r(typeof mt=="function"?bt():n.moment)})(Ke,function(n){//! moment.js locale configuration
|
|
698
|
+
var r="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),a="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),i=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],u=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,l=n.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(d,h){return d?/-MMM-/.test(h)?a[d.month()]:r[d.month()]:r},monthsRegex:u,monthsShortRegex:u,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,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:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",w:"één week",ww:"%d weken",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(d){return d+(d===1||d===8||d>=20?"ste":"de")},week:{dow:1,doy:4}});return l})})();(function(e,t){(function(n,r){r(typeof mt=="function"?bt():n.moment)})(Ke,function(n){//! moment.js locale configuration
|
|
699
|
+
var r="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),a=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",r[7],r[8],r[9]];function i(d,h,m,p){var b="";switch(m){case"s":return p?"muutaman sekunnin":"muutama sekunti";case"ss":b=p?"sekunnin":"sekuntia";break;case"m":return p?"minuutin":"minuutti";case"mm":b=p?"minuutin":"minuuttia";break;case"h":return p?"tunnin":"tunti";case"hh":b=p?"tunnin":"tuntia";break;case"d":return p?"päivän":"päivä";case"dd":b=p?"päivän":"päivää";break;case"M":return p?"kuukauden":"kuukausi";case"MM":b=p?"kuukauden":"kuukautta";break;case"y":return p?"vuoden":"vuosi";case"yy":b=p?"vuoden":"vuotta";break}return b=u(d,p)+" "+b,b}function u(d,h){return d<10?h?a[d]:r[d]:d}var l=n.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[tänään] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s päästä",past:"%s sitten",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return l})})();(function(e,t){(function(n,r){r(typeof mt=="function"?bt():n.moment)})(Ke,function(n){//! moment.js locale configuration
|
|
700
|
+
var r=/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,a=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,i=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,u=[/^janv/i,/^févr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^août/i,/^sept/i,/^oct/i,/^nov/i,/^déc/i],l=n.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:r,monthsShortStrictRegex:a,monthsParse:u,longMonthsParse:u,shortMonthsParse:u,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,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:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(d,h){switch(h){case"D":return d+(d===1?"er":"");default:case"M":case"Q":case"DDD":case"d":return d+(d===1?"er":"e");case"w":case"W":return d+(d===1?"re":"e")}},week:{dow:1,doy:4}});return l})})();(function(e,t){(function(n,r){r(typeof mt=="function"?bt():n.moment)})(Ke,function(n){//! moment.js locale configuration
|
|
701
|
+
function r(i,u,l,d){var h={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[i+" Tage",i+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[i+" Monate",i+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[i+" Jahre",i+" Jahren"]};return u?h[l][0]:h[l][1]}var a=n.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,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:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:r,mm:"%d Minuten",h:r,hh:"%d Stunden",d:r,dd:r,w:r,ww:"%d Wochen",M:r,MM:r,y:r,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return a})})();(function(e,t){(function(n,r){r(typeof mt=="function"?bt():n.moment)})(Ke,function(n){//! moment.js locale configuration
|
|
702
|
+
var r={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},a={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},i=[/^जन/i,/^फ़र|फर/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सितं|सित/i,/^अक्टू/i,/^नव|नवं/i,/^दिसं|दिस/i],u=[/^जन/i,/^फ़र/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सित/i,/^अक्टू/i,/^नव/i,/^दिस/i],l=n.defineLocale("hi",{months:{format:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),standalone:"जनवरी_फरवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितंबर_अक्टूबर_नवंबर_दिसंबर".split("_")},monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},monthsParse:i,longMonthsParse:i,shortMonthsParse:u,monthsRegex:/^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,monthsShortRegex:/^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,monthsStrictRegex:/^(जनवरी?|फ़रवरी|फरवरी?|मार्च?|अप्रैल?|मई?|जून?|जुलाई?|अगस्त?|सितम्बर|सितंबर|सित?\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर?|दिसम्बर|दिसंबर?)/i,monthsShortStrictRegex:/^(जन\.?|फ़र\.?|मार्च?|अप्रै\.?|मई?|जून?|जुल\.?|अग\.?|सित\.?|अक्टू\.?|नव\.?|दिस\.?)/i,calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",ss:"%d सेकंड",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(d){return d.replace(/[१२३४५६७८९०]/g,function(h){return a[h]})},postformat:function(d){return d.replace(/\d/g,function(h){return r[h]})},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(d,h){if(d===12&&(d=0),h==="रात")return d<4?d:d+12;if(h==="सुबह")return d;if(h==="दोपहर")return d>=10?d:d+12;if(h==="शाम")return d+12},meridiem:function(d,h,m){return d<4?"रात":d<10?"सुबह":d<17?"दोपहर":d<20?"शाम":"रात"},week:{dow:0,doy:6}});return l})})();(function(e,t){(function(n,r){r(typeof mt=="function"?bt():n.moment)})(Ke,function(n){//! moment.js locale configuration
|
|
703
|
+
var r=n.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_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:function(){return"[Oggi a"+(this.hours()>1?"lle ":this.hours()===0?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":this.hours()===0?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":this.hours()===0?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":this.hours()===0?" ":"ll'")+"]LT"},lastWeek:function(){switch(this.day()){case 0:return"[La scorsa] dddd [a"+(this.hours()>1?"lle ":this.hours()===0?" ":"ll'")+"]LT";default:return"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":this.hours()===0?" ":"ll'")+"]LT"}},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return r})})();(function(e,t){(function(n,r){r(typeof mt=="function"?bt():n.moment)})(Ke,function(n){//! moment.js locale configuration
|
|
704
|
+
var r=n.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"令和",narrow:"㋿",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"平成",narrow:"㍻",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"昭和",narrow:"㍼",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"大正",narrow:"㍽",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"明治",narrow:"㍾",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"西暦",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"紀元前",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(元|\d+)年/,eraYearOrdinalParse:function(a,i){return i[1]==="元"?1:parseInt(i[1]||a,10)},months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiemParse:/午前|午後/i,isPM:function(a){return a==="午後"},meridiem:function(a,i,u){return a<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:function(a){return a.week()!==this.week()?"[来週]dddd LT":"dddd LT"},lastDay:"[昨日] LT",lastWeek:function(a){return this.week()!==a.week()?"[先週]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}日/,ordinal:function(a,i){switch(i){case"y":return a===1?"元年":a+"年";case"d":case"D":case"DDD":return a+"日";default:return a}},relativeTime:{future:"%s後",past:"%s前",s:"数秒",ss:"%d秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}});return r})})();(function(e,t){(function(n,r){r(typeof mt=="function"?bt():n.moment)})(Ke,function(n){//! moment.js locale configuration
|
|
705
|
+
var r=n.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",w:"en uke",ww:"%d uker",M:"en måned",MM:"%d måneder",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return r})})();(function(e,t){(function(n,r){r(typeof mt=="function"?bt():n.moment)})(Ke,function(n){//! moment.js locale configuration
|
|
706
|
+
var r="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),a="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),i=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^paź/i,/^lis/i,/^gru/i];function u(h){return h%10<5&&h%10>1&&~~(h/10)%10!==1}function l(h,m,p){var b=h+" ";switch(p){case"ss":return b+(u(h)?"sekundy":"sekund");case"m":return m?"minuta":"minutę";case"mm":return b+(u(h)?"minuty":"minut");case"h":return m?"godzina":"godzinę";case"hh":return b+(u(h)?"godziny":"godzin");case"ww":return b+(u(h)?"tygodnie":"tygodni");case"MM":return b+(u(h)?"miesiące":"miesięcy");case"yy":return b+(u(h)?"lata":"lat")}}var d=n.defineLocale("pl",{months:function(h,m){return h?/D MMMM/.test(m)?a[h.month()]:r[h.month()]:r},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".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:"[Dziś o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedzielę o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W środę o] LT";case 6:return"[W sobotę o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:l,m:l,mm:l,h:l,hh:l,d:"1 dzień",dd:"%d dni",w:"tydzień",ww:l,M:"miesiąc",MM:l,y:"rok",yy:l},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return d})})();(function(e,t){(function(n,r){r(typeof mt=="function"?bt():n.moment)})(Ke,function(n){//! moment.js locale configuration
|
|
707
|
+
var r=n.defineLocale("pt",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return this.day()===0||this.day()===6?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return r})})();(function(e,t){(function(n,r){r(typeof mt=="function"?bt():n.moment)})(Ke,function(n){//! moment.js locale configuration
|
|
708
|
+
var r="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),a="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],u=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,l=n.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(d,h){return d?/-MMM-/.test(h)?a[d.month()]:r[d.month()]:r},monthsRegex:u,monthsShortRegex:u,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(this.hours()!==1?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(this.hours()!==1?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(this.hours()!==1?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(this.hours()!==1?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(this.hours()!==1?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4},invalidDate:"Fecha inválida"});return l})})();(function(e,t){(function(n,r){r(typeof mt=="function"?bt():n.moment)})(Ke,function(n){//! moment.js locale configuration
|
|
709
|
+
var r=n.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"[På] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(a){var i=a%10,u=~~(a%100/10)===1?":e":i===1||i===2?":a":":e";return a+u},week:{dow:1,doy:4}});return r})})();(function(e,t){(function(n,r){r(typeof mt=="function"?bt():n.moment)})(Ke,function(n){//! moment.js locale configuration
|
|
710
|
+
var r=n.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,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:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(a){var i=a,u="",l=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"];return i>20?i===40||i===50||i===60||i===80||i===100?u="fed":u="ain":i>0&&(u=l[i]),a+u},week:{dow:1,doy:4}});return r})})();const Re=yn.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"},pickerSelectMonth:{id:"datePicker.button.selectMonth",defaultMessage:"Select month"},selectYearDropdown:{id:"datePicker.dropdown.selectYear",defaultMessage:"Select year"},closeYearMonthPicker:{id:"datePicker.button.closeYearMonthPicker",defaultMessage:"Done"}}),bs="DD/MM/YYYY",$a=e=>String(e).padStart(2,"0"),Xd=e=>e==="MM/DD/YYYY"?"MM/DD":"DD/MM",zd=(e,t)=>{const n=$a(e.getDate()),r=$a(e.getMonth()+1),a=e.getFullYear();return t==="MM/DD/YYYY"?`${r}/${n}/${a}`:`${n}/${r}/${a}`},Ud=(e,t)=>{const n=e.trim().match(/^(\d{1,2})\/(\d{1,2})\/(\d{4})$/);if(!n)return null;const[,r,a,i]=n,u=Number(t==="MM/DD/YYYY"?r:a),l=Number(t==="MM/DD/YYYY"?a:r),d=Number(i);if(u<1||u>12||l<1||l>31)return null;const h=new Date(d,u-1,l);return h.getFullYear()!==d||h.getMonth()!==u-1||h.getDate()!==l?null:h},$d=({month:e,day:t},n)=>{const r=$a(t),a=$a(e);return n==="MM/DD/YYYY"?`${a}/${r}`:`${r}/${a}`},Jd=(e,t)=>{const n=e.trim().match(/^(\d{1,2})\/(\d{1,2})$/);if(!n)return null;const[,r,a]=n,i=Number(t==="MM/DD/YYYY"?r:a),u=Number(t==="MM/DD/YYYY"?a:r);return i<1||i>12||u<1?null:{month:i,day:u}},Qd=V.div`
|
|
683
711
|
display: flex;
|
|
684
712
|
align-items: center;
|
|
685
713
|
position: relative;
|
|
686
|
-
`,
|
|
687
|
-
font-family: ${
|
|
714
|
+
`,qd=V.input`
|
|
715
|
+
font-family: ${he.sansFamily};
|
|
688
716
|
width: 100%;
|
|
689
717
|
border-radius: 4px;
|
|
690
|
-
border: solid 1px
|
|
691
|
-
${({$hasError:e})=>e?"var(--color-alert-primary, #da3939)":"var(--color-gray400)"};
|
|
718
|
+
border: solid 1px var(--color-gray400);
|
|
692
719
|
box-sizing: border-box;
|
|
693
720
|
box-shadow: none;
|
|
694
721
|
font-size: 14px;
|
|
@@ -706,7 +733,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
706
733
|
}
|
|
707
734
|
|
|
708
735
|
:hover {
|
|
709
|
-
border-color:
|
|
736
|
+
border-color: var(--color-gray400);
|
|
710
737
|
}
|
|
711
738
|
|
|
712
739
|
:focus {
|
|
@@ -714,17 +741,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
714
741
|
}
|
|
715
742
|
|
|
716
743
|
:focus-visible {
|
|
717
|
-
outline: 2px solid
|
|
718
|
-
${({$hasError:e})=>e?"var(--color-alert-primary, #da3939)":"var(--color-active-primary)"};
|
|
744
|
+
outline: 2px solid var(--color-active-primary);
|
|
719
745
|
outline-offset: 1px;
|
|
720
|
-
border-color:
|
|
746
|
+
border-color: var(--color-active-primary);
|
|
721
747
|
}
|
|
722
|
-
`,
|
|
723
|
-
display: flex;
|
|
724
|
-
gap: var(--space-xs, 4px);
|
|
725
|
-
margin-top: var(--space-sm, 8px);
|
|
726
|
-
align-items: center;
|
|
727
|
-
`,Nu=O.div`
|
|
748
|
+
`,Kd=V.div`
|
|
728
749
|
position: absolute;
|
|
729
750
|
top: 100%;
|
|
730
751
|
left: 0;
|
|
@@ -761,7 +782,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
761
782
|
|
|
762
783
|
position: relative;
|
|
763
784
|
box-sizing: border-box;
|
|
764
|
-
font-family: ${
|
|
785
|
+
font-family: ${he.sansFamily};
|
|
765
786
|
color: var(--color-gray900);
|
|
766
787
|
letter-spacing: -0.3px;
|
|
767
788
|
font-size: 14px;
|
|
@@ -902,9 +923,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
902
923
|
.rdp-month_caption, .rdp-nav {
|
|
903
924
|
display: none;
|
|
904
925
|
}
|
|
905
|
-
`,
|
|
926
|
+
`,ef=V.div`
|
|
906
927
|
padding: var(--space-md);
|
|
907
|
-
`,
|
|
928
|
+
`,tf=V.ul`
|
|
908
929
|
display: grid;
|
|
909
930
|
grid-template-columns: 1fr 1fr 1fr 1fr;
|
|
910
931
|
grid-gap: 8px;
|
|
@@ -915,102 +936,93 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
915
936
|
li {
|
|
916
937
|
width: 100%;
|
|
917
938
|
}
|
|
918
|
-
`,
|
|
939
|
+
`,rk=V(Vr.ButtonSecondary)`
|
|
919
940
|
padding: 8px;
|
|
920
|
-
${({$isActive:e})=>e&&
|
|
941
|
+
${({$isActive:e})=>e&&V.css`
|
|
921
942
|
background-color: var(--color-active-lighten90);
|
|
922
943
|
p {
|
|
923
944
|
color: var(--color-active-darken20);
|
|
924
945
|
font-weight: bold;
|
|
925
946
|
}
|
|
926
947
|
`}
|
|
927
|
-
`,
|
|
948
|
+
`,nf=V.div`
|
|
928
949
|
display: flex;
|
|
929
950
|
flex-direction: column;
|
|
930
951
|
position: relative;
|
|
931
952
|
width: ${({width:e})=>e||"200px"};
|
|
932
|
-
`,
|
|
953
|
+
`,rf=V.div`
|
|
933
954
|
display: flex;
|
|
934
955
|
align-items: center;
|
|
935
956
|
justify-content: space-between;
|
|
936
957
|
padding: 16px 14px 0px 14px;
|
|
937
|
-
|
|
958
|
+
`;G.defineLocale("no",{parentLocale:"nb"});const bl=e=>e;G.updateLocale("hi",{preparse:bl,postformat:bl});const ak=e=>{if(!e)return null;const t=e instanceof Date?e:new Date(e);return Number.isNaN(t.getTime())?null:t},sk=(e,t)=>{const n=ak(e);return n?zd(n,t||bs):null},af=e=>{const{label:t="",locale:n="en-gb",dateFormat:r=bs,width:a,date:i={from:"",to:""},type:u="to",fromMonth:l=new Date,disabledDays:d={},value:h,pickerRef:m,inputProps:p={},dayPickerProps:b={},showOverlay:w=!1,onDayChange:_,onDayClick:k}=e,{current:v}=y.useRef(p.id||En()),C=H=>{if(H instanceof Date&&!isNaN(H.getTime()))return H;if(H!==void 0&&H!==""&&H!==null){const ze=new Date(H);if(!isNaN(ze.getTime()))return ze}return new Date},[I,S]=y.useState(C(l)),[T,D]=y.useState(w),[x,Y]=y.useState(!1),P=y.useRef(null),R=y.useRef(null),{from:L,to:z}=i,ne=sk(h||i[u],r),[K,B]=y.useState(!1),[re,Ce]=y.useState(""),de=!!L&&!!z,Ye=yn.useIntl(),Oe=K?re:ne||"",ue=H=>{Ce(H.target.value)},We=()=>{B(!0),Ce(ne||""),D(!0)},pe=()=>{if(!re){ne||_==null||_(null),B(!1);return}const H=Ud(re,r);H&&(_==null||_(H),S(H)),B(!1)},Me=H=>{H.key==="Enter"?pe():H.key==="Escape"&&(D(!1),Y(!1))};y.useEffect(()=>{m&&typeof m=="object"&&"current"in m&&(m.current={getInput:()=>R.current})},[m]),Ri(h&&i[u],"[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 ke=({month:H,year:ze})=>{S(new Date(ze,H))},F=y.useMemo(()=>de?u==="from"?{before:d.before,after:z||d.after}:{before:L||d.before,after:d.after}:d,[u,de,d,L,z]),Ve=y.useMemo(()=>{const H=[];return F.before&&H.push({before:new Date(F.before)}),F.after&&H.push({after:new Date(F.after)}),H.length?H:void 0},[F]),Pe=y.useMemo(()=>{if(de)return{from:L?new Date(L):void 0,to:z?new Date(z):void 0}},[de,L,z]),Je=y.useMemo(()=>{if(de)return;const H=h||i[u];return H?new Date(H):void 0},[de,h,i,u]),at=y.useCallback(H=>{D(!1),_==null||_(H),k==null||k(H)},[_,k]),yt=y.useRef(null);y.useEffect(()=>{if(!T)return;const H=ze=>{P.current&&!P.current.contains(ze.target)&&(D(!1),Y(!1))};return document.addEventListener("mousedown",H),()=>document.removeEventListener("mousedown",H)},[T]);const xt=y.useMemo(()=>F.before?new Date(I.getFullYear(),I.getMonth()-1,1)>=G(F.before).startOf("month").toDate():!0,[I,F]),N=y.useMemo(()=>F.after?new Date(I.getFullYear(),I.getMonth()+1,1)<=G(F.after).startOf("month").toDate():!0,[I,F]),Be={fill:"var(--color-gray400)",cursor:"default"};return E.jsxs(nf,{width:a,ref:P,children:[t&&E.jsx("label",{htmlFor:v,style:{margin:"4px 0"},children:E.jsx(he.BodyUI,{bold:!0,as:"span",color:"var(--color-gray900)",children:t})}),E.jsxs(Qd,{children:[E.jsx(ct.IconCalendar,{style:{position:"absolute",paddingLeft:"10px",fill:"var(--color-gray700)",height:"20px",width:"20px",boxSizing:"content-box",pointerEvents:"none"}}),E.jsx(qd,{"data-testid":"datepicker-input",ref:R,id:v,role:"combobox","aria-label":typeof t=="string"&&t?t:void 0,"aria-describedby":`${v}-format`,"aria-expanded":T,"aria-haspopup":"dialog","aria-controls":`${v}-picker`,value:Oe,placeholder:r,onChange:ue,onBlur:pe,onKeyDown:Me,onClick:()=>D(!0),onFocus:We,...p}),E.jsx("span",{id:`${v}-format`,hidden:!0,children:Ye.formatMessage(Re.selectDateFormatDescription,{localeFormat:r})})]}),T&&E.jsxs(Kd,{ref:yt,id:`${v}-picker`,role:"dialog","aria-modal":"false","aria-label":Ye.formatMessage(Re.dateTimePickerLabel),children:[E.jsxs(rf,{children:[E.jsx(Vr.IconButton,{icon:ct.IconChevronLeft,isActionIcon:!0,disabled:!xt,onClick:()=>{S(new Date(I.getFullYear(),I.getMonth()-1,1))},"aria-label":Ye.formatMessage(Re.pickerPrevMonth),style:!xt&&Be||{},"data-testid":"datepicker-select-prev-month"}),E.jsx(Vr.ButtonSecondary,{onClick:()=>Y(!0),"aria-label":Ye.formatMessage(Re.pickerSelectYear),"data-tooltip-content":Ye.formatMessage(Re.pickerSelectYear),"data-tooltip-id":"tooltip-datepicker-select-year","data-testid":"datepicker-select-year",text:G(I).locale(n).format("MMMM YYYY")}),E.jsx(Pi.Tooltip,{id:"tooltip-datepicker-select-year"}),E.jsx(Vr.IconButton,{icon:ct.IconChevronRight,isActionIcon:!0,disabled:!N,onClick:()=>{S(new Date(I.getFullYear(),I.getMonth()+1,1))},"aria-label":Ye.formatMessage(Re.pickerNextMonth),style:!N&&Be||{},"data-testid":"datepicker-select-next-month"})]}),x?E.jsx(ik,{date:I,disabledDays:F,onChange:H=>{Y(!1),ke(H)}}):de?E.jsx(ki,{mode:"range",month:I,onMonthChange:S,selected:Pe,onSelect:H=>{const ze=u==="from"?H==null?void 0:H.from:H==null?void 0:H.to;ze&&at(ze)},disabled:Ve,showOutsideDays:!0,hideNavigation:!0,captionLayout:"label",components:{MonthCaption:()=>E.jsx(E.Fragment,{}),Nav:()=>E.jsx(E.Fragment,{})},...b}):E.jsx(ki,{mode:"single",month:I,onMonthChange:S,selected:Je,onSelect:H=>{H&&at(H)},disabled:Ve,showOutsideDays:!0,hideNavigation:!0,captionLayout:"label",components:{MonthCaption:()=>E.jsx(E.Fragment,{}),Nav:()=>E.jsx(E.Fragment,{})},...b})]})]})},ik=({date:e,disabledDays:t,onChange:n})=>{const r=yn.useIntl(),[a,i]=y.useState(new Date(e).getMonth()),[u,l]=y.useState(new Date(e).getFullYear()),{after:d,before:h}=t||{},m=()=>{const w=new Date().getFullYear(),{after:_,before:k}=t||{},v=k?new Date(k).getFullYear():1939,C=_?new Date(_).getFullYear():new Date(w+10,11).getFullYear(),I=[];for(let S=C;S>=v;S--)I.push({label:S,value:S});return I},p=w=>{const _=G.monthsShort().indexOf(w),k=G().set({year:u,month:_}).startOf("month");return h&&k<G(h).startOf("month")||d&&k>G(d).startOf("month")},b=G.monthsShort();return E.jsxs(ef,{children:[E.jsx(uk,{"data-testid":"yearmonth-dropdown-select",children:E.jsx(ro,{label:"","aria-label":r.formatMessage(Re.selectYearDropdown),options:m(),value:{label:u,value:u},onChange:w=>{l(w.value)}})}),E.jsx(tf,{children:b.map((w,_)=>E.jsx("li",{"data-value":_,children:E.jsx(rk,{"data-testid":`select-month-${w}`,$isActive:_===a,disabled:!!p(w),onClick:()=>{p(w)||i(_)},"aria-label":w,"aria-pressed":_===a,text:w})},w))}),E.jsxs(ok,{children:[E.jsx(Vr.IconButton,{"aria-label":r.formatMessage(Re.closeYearMonthPicker),icon:ct.IconCheck,onClick:()=>n({month:a,year:u}),"data-tooltip-content":r.formatMessage(Re.closeYearMonthPicker),"data-tooltip-id":"datepicker-year-month-done","data-testid":"datepicker-year-month-done"}),E.jsx(Pi.Tooltip,{id:"datepicker-year-month-done"})]})]})},ok=V.div`
|
|
938
959
|
display: flex;
|
|
939
960
|
align-items: center;
|
|
940
961
|
justify-content: flex-end;
|
|
941
962
|
margin-top: var(--space-md);
|
|
942
|
-
`,
|
|
963
|
+
`,uk=V.div`
|
|
943
964
|
align-items: center;
|
|
944
965
|
justify-content: center;
|
|
945
966
|
margin-bottom: var(--space-xs);
|
|
946
967
|
> div {
|
|
947
968
|
width: 100%;
|
|
948
969
|
}
|
|
949
|
-
`,
|
|
970
|
+
`,ur=2e3,sf=e=>new Date(ur,e,0).getDate(),lk=e=>new Date(ur,e,1).getDay(),Ni="en-gb",ck=e=>{try{return Intl.DateTimeFormat.supportedLocalesOf(e).length?e:Ni}catch{return Ni}},dk=e=>!!e&&Number.isInteger(e.month)&&e.month>=1&&e.month<=12&&Number.isInteger(e.day)&&e.day>=1&&e.day<=sf(e.month),fk=e=>{const{label:t="",locale:n=Ni,dateFormat:r=bs,width:a,value:i,inputProps:u={},showOverlay:l=!1,onChange:d}=e,{current:h}=y.useRef(u.id||En()),m=yn.useIntl(),p=y.useMemo(()=>ck(n),[n]),b=dk(i)?i:null,w=!!i&&!b;y.useEffect(()=>{w&&Qa(`[MonthDayPicker] Ignoring invalid value ${JSON.stringify(i)}. Expected { month: 1-12, day: 1-31 }.`)},[w,i==null?void 0:i.month,i==null?void 0:i.day]);const _=y.useMemo(()=>Xd(r),[r]),k=y.useMemo(()=>{const N=new Intl.DateTimeFormat(p,{month:"long"}),Be=new Intl.DateTimeFormat(p,{month:"short"});return Array.from({length:12},(H,ze)=>({long:N.format(new Date(ur,ze,1)),short:Be.format(new Date(ur,ze,1))}))},[p]),v=b?$d(b,r):"",[C,I]=y.useState(b?b.month-1:new Date().getMonth()),[S,T]=y.useState(l),[D,x]=y.useState(!1),[Y,P]=y.useState(!1),[R,L]=y.useState(""),z=y.useRef(null),ne=y.useRef(null),K=y.useRef(!1),B=Y?R:v,re=()=>{T(!1),x(!1)},Ce=()=>{if(!Y)return;if(P(!1),!R.trim()){b&&(d==null||d(null));return}const N=Jd(R,r);N&&N.day<=sf(N.month)&&(N.month!==(b==null?void 0:b.month)||N.day!==(b==null?void 0:b.day))&&(d==null||d(N),I(N.month-1))},de=()=>{!S&&b&&I(b.month-1),T(!0)},Ye=()=>{P(!0),L(v),K.current?K.current=!1:de()},Oe=N=>{P(!0),L(N.target.value)},ue=N=>{N.key==="Enter"&&(N.preventDefault(),Ce())},We=N=>{N.key!=="Escape"||!S||(re(),ne.current&&document.activeElement!==ne.current&&(K.current=!0,ne.current.focus()))},pe=N=>{var H;const Be=N.relatedTarget;S&&Be&&!((H=z.current)!=null&&H.contains(Be))&&re()},Me=y.useCallback(N=>{T(!1),P(!1);const Be=N.getMonth()+1,H=N.getDate();(Be!==(b==null?void 0:b.month)||H!==(b==null?void 0:b.day))&&(d==null||d({month:Be,day:H}))},[d,b==null?void 0:b.month,b==null?void 0:b.day]);y.useEffect(()=>{if(!S)return;const N=Be=>{z.current&&!z.current.contains(Be.target)&&re()};return document.addEventListener("mousedown",N),()=>document.removeEventListener("mousedown",N)},[S]);const{onChange:ke,onBlur:F,onFocus:Ve,onKeyDown:Pe,onClick:Je,"aria-describedby":at,...yt}=u,xt=b?new Date(ur,b.month-1,b.day):void 0;return E.jsxs(nf,{width:a,ref:z,onKeyDown:We,onBlur:pe,children:[t&&E.jsx("label",{htmlFor:h,style:{margin:"4px 0"},children:E.jsx(he.BodySm,{bold:!0,as:"span",color:"var(--color-gray900)",children:t})}),E.jsxs(Qd,{children:[E.jsx(ct.IconCalendar,{style:{position:"absolute",paddingLeft:"10px",fill:"var(--color-gray700)",height:"20px",width:"20px",boxSizing:"content-box",pointerEvents:"none"}}),E.jsx(qd,{...yt,"data-testid":"monthdaypicker-input",ref:ne,id:h,role:"combobox","aria-label":typeof t=="string"&&t?t:void 0,"aria-describedby":[`${h}-format`,at].filter(Boolean).join(" "),"aria-expanded":S,"aria-haspopup":"dialog","aria-controls":`${h}-picker`,value:B,placeholder:_,onChange:N=>{Oe(N),ke==null||ke(N)},onBlur:N=>{Ce(),F==null||F(N)},onKeyDown:N=>{ue(N),Pe==null||Pe(N)},onClick:N=>{de(),Je==null||Je(N)},onFocus:N=>{Ye(),Ve==null||Ve(N)}}),E.jsx("span",{id:`${h}-format`,hidden:!0,children:m.formatMessage(Re.selectDateFormatDescription,{localeFormat:_})})]}),S&&E.jsxs(Kd,{id:`${h}-picker`,role:"dialog","aria-modal":"false","aria-label":m.formatMessage(Re.dateTimePickerLabel),children:[E.jsxs(rf,{children:[E.jsx(yl,{icon:E.jsx(ct.IconChevronLeft,{}),variant:"tertiary",size:"sm",onClick:()=>I((C+11)%12),"aria-label":m.formatMessage(Re.pickerPrevMonth),"data-testid":"monthdaypicker-prev-month"}),E.jsx(Fi.Button,{variant:"secondary",size:"sm",onClick:()=>x(!0),"aria-label":m.formatMessage(Re.pickerSelectMonth),"data-tooltip-content":m.formatMessage(Re.pickerSelectMonth),"data-tooltip-id":`${h}-select-month-tooltip`,"data-testid":"monthdaypicker-select-month",children:k[C].long}),E.jsx(Pi.Tooltip,{id:`${h}-select-month-tooltip`}),E.jsx(yl,{icon:E.jsx(ct.IconChevronRight,{}),variant:"tertiary",size:"sm",onClick:()=>I((C+1)%12),"aria-label":m.formatMessage(Re.pickerNextMonth),"data-testid":"monthdaypicker-next-month"})]}),D?E.jsx(ef,{children:E.jsx(tf,{children:k.map(({long:N,short:Be},H)=>E.jsx("li",{children:E.jsx(hk,{variant:"tertiary",size:"sm","data-testid":`monthdaypicker-month-${H+1}`,$isActive:H===C,onClick:()=>{I(H),x(!1)},"aria-label":N,"aria-pressed":H===C,children:Be})},N))})}):E.jsx(ki,{mode:"single",required:!0,month:new Date(ur,C,1),weekStartsOn:lk(C),selected:xt,onSelect:N=>{N&&Me(N)},hideWeekdays:!0,hideNavigation:!0,disableNavigation:!0,captionLayout:"label",components:{MonthCaption:()=>E.jsx(E.Fragment,{}),Nav:()=>E.jsx(E.Fragment,{})}})]})]})},yl=V(Fi.IconButton)`
|
|
950
971
|
&& {
|
|
951
972
|
color: var(--color-gray700);
|
|
952
973
|
}
|
|
953
|
-
`,
|
|
974
|
+
`,hk=V(Fi.Button)`
|
|
954
975
|
width: 100%;
|
|
955
976
|
padding: 8px;
|
|
956
|
-
${({$isActive:e})=>e&&
|
|
977
|
+
${({$isActive:e})=>e&&V.css`
|
|
957
978
|
background-color: var(--color-active-lighten90);
|
|
958
979
|
color: var(--color-active-darken20);
|
|
959
980
|
font-weight: bold;
|
|
960
981
|
`}
|
|
961
|
-
|
|
962
|
-
//! version : 2.29.4
|
|
963
|
-
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
|
964
|
-
//! license : MIT
|
|
965
|
-
//! momentjs.com
|
|
966
|
-
var Yu;function A(){return Yu.apply(null,arguments)}function Wb(e){Yu=e}function dt(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function zt(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function ee(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function po(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var t;for(t in e)if(ee(e,t))return!1;return!0}function ze(e){return e===void 0}function Tt(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function Hn(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function Ru(e,t){var n=[],r,a=e.length;for(r=0;r<a;++r)n.push(t(e[r],r));return n}function Yt(e,t){for(var n in t)ee(t,n)&&(e[n]=t[n]);return ee(t,"toString")&&(e.toString=t.toString),ee(t,"valueOf")&&(e.valueOf=t.valueOf),e}function Ct(e,t,n,r){return ll(e,t,n,r,!0).utc()}function _b(){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 j(e){return e._pf==null&&(e._pf=_b()),e._pf}var Oa;Array.prototype.some?Oa=Array.prototype.some:Oa=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 bo(e){if(e._isValid==null){var t=j(e),n=Oa.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 Fr(e){var t=Ct(NaN);return e!=null?Yt(j(t),e):j(t).userInvalidated=!0,t}var Yi=A.momentProperties=[],ua=!1;function yo(e,t){var n,r,a,o=Yi.length;if(ze(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),ze(t._i)||(e._i=t._i),ze(t._f)||(e._f=t._f),ze(t._l)||(e._l=t._l),ze(t._strict)||(e._strict=t._strict),ze(t._tzm)||(e._tzm=t._tzm),ze(t._isUTC)||(e._isUTC=t._isUTC),ze(t._offset)||(e._offset=t._offset),ze(t._pf)||(e._pf=j(t)),ze(t._locale)||(e._locale=t._locale),o>0)for(n=0;n<o;n++)r=Yi[n],a=t[r],ze(a)||(e[r]=a);return e}function Xn(e){yo(this,e),this._d=new Date(e._d!=null?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),ua===!1&&(ua=!0,A.updateOffset(this),ua=!1)}function ft(e){return e instanceof Xn||e!=null&&e._isAMomentObject!=null}function Bu(e){A.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+e)}function at(e,t){var n=!0;return Yt(function(){if(A.deprecationHandler!=null&&A.deprecationHandler(null,e),n){var r=[],a,o,i,s=arguments.length;for(o=0;o<s;o++){if(a="",typeof arguments[o]=="object"){a+=`
|
|
967
|
-
[`+o+"] ";for(i in arguments[0])ee(arguments[0],i)&&(a+=i+": "+arguments[0][i]+", ");a=a.slice(0,-2)}else a=arguments[o];r.push(a)}Bu(e+`
|
|
968
|
-
Arguments: `+Array.prototype.slice.call(r).join("")+`
|
|
969
|
-
`+new Error().stack),n=!1}return t.apply(this,arguments)},t)}var Ri={};function Vu(e,t){A.deprecationHandler!=null&&A.deprecationHandler(e,t),Ri[e]||(Bu(t),Ri[e]=!0)}A.suppressDeprecationWarnings=!1;A.deprecationHandler=null;function wt(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function Pb(e){var t,n;for(n in e)ee(e,n)&&(t=e[n],wt(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 Aa(e,t){var n=Yt({},e),r;for(r in t)ee(t,r)&&(zt(e[r])&&zt(t[r])?(n[r]={},Yt(n[r],e[r]),Yt(n[r],t[r])):t[r]!=null?n[r]=t[r]:delete n[r]);for(r in e)ee(e,r)&&!ee(t,r)&&zt(e[r])&&(n[r]=Yt({},n[r]));return n}function vo(e){e!=null&&this.set(e)}var Na;Object.keys?Na=Object.keys:Na=function(e){var t,n=[];for(t in e)ee(e,t)&&n.push(t);return n};var Gb={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function Yb(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return wt(r)?r.call(t,n):r}function xt(e,t,n){var r=""+Math.abs(e),a=t-r.length,o=e>=0;return(o?n?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+r}var xo=/(\[[^\[]*\])|(\\)?([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,tr=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,la={},an={};function P(e,t,n,r){var a=r;typeof r=="string"&&(a=function(){return this[r]()}),e&&(an[e]=a),t&&(an[t[0]]=function(){return xt(a.apply(this,arguments),t[1],t[2])}),n&&(an[n]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function Rb(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function Bb(e){var t=e.match(xo),n,r;for(n=0,r=t.length;n<r;n++)an[t[n]]?t[n]=an[t[n]]:t[n]=Rb(t[n]);return function(a){var o="",i;for(i=0;i<r;i++)o+=wt(t[i])?t[i].call(a,e):t[i];return o}}function sr(e,t){return e.isValid()?(t=Hu(t,e.localeData()),la[t]=la[t]||Bb(t),la[t](e)):e.localeData().invalidDate()}function Hu(e,t){var n=5;function r(a){return t.longDateFormat(a)||a}for(tr.lastIndex=0;n>=0&&tr.test(e);)e=e.replace(tr,r),tr.lastIndex=0,n-=1;return e}var Vb={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 Hb(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(xo).map(function(r){return r==="MMMM"||r==="MM"||r==="DD"||r==="dddd"?r.slice(1):r}).join(""),this._longDateFormat[e])}var Xb="Invalid date";function Zb(){return this._invalidDate}var jb="%d",Lb=/\d{1,2}/;function zb(e){return this._ordinal.replace("%d",e)}var $b={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 Ub(e,t,n,r){var a=this._relativeTime[n];return wt(a)?a(e,t,n,r):a.replace(/%d/i,e)}function Jb(e,t){var n=this._relativeTime[e>0?"future":"past"];return wt(n)?n(t):n.replace(/%s/i,t)}var Dn={};function Ve(e,t){var n=e.toLowerCase();Dn[n]=Dn[n+"s"]=Dn[t]=e}function ot(e){return typeof e=="string"?Dn[e]||Dn[e.toLowerCase()]:void 0}function Io(e){var t={},n,r;for(r in e)ee(e,r)&&(n=ot(r),n&&(t[n]=e[r]));return t}var Xu={};function He(e,t){Xu[e]=t}function Qb(e){var t=[],n;for(n in e)ee(e,n)&&t.push({unit:n,priority:Xu[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 rt(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function U(e){var t=+e,n=0;return t!==0&&isFinite(t)&&(n=rt(t)),n}function mn(e,t){return function(n){return n!=null?(Zu(this,e,n),A.updateOffset(this,t),this):br(this,e)}}function br(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function Zu(e,t,n){e.isValid()&&!isNaN(n)&&(t==="FullYear"&&Wr(e.year())&&e.month()===1&&e.date()===29?(n=U(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Br(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function qb(e){return e=ot(e),wt(this[e])?this[e]():this}function Kb(e,t){if(typeof e=="object"){e=Io(e);var n=Qb(e),r,a=n.length;for(r=0;r<a;r++)this[n[r].unit](e[n[r].unit])}else if(e=ot(e),wt(this[e]))return this[e](t);return this}var ju=/\d/,nt=/\d\d/,Lu=/\d{3}/,Co=/\d{4}/,_r=/[+-]?\d{6}/,Ie=/\d\d?/,zu=/\d\d\d\d?/,$u=/\d\d\d\d\d\d?/,Pr=/\d{1,3}/,wo=/\d{1,4}/,Gr=/[+-]?\d{1,6}/,gn=/\d+/,Yr=/[+-]?\d+/,ey=/Z|[+-]\d\d:?\d\d/gi,Rr=/Z|[+-]\d\d(?::?\d\d)?/gi,ty=/[+-]?\d+(\.\d{1,3})?/,Zn=/[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,yr;yr={};function T(e,t,n){yr[e]=wt(t)?t:function(r,a){return r&&n?n:t}}function ny(e,t){return ee(yr,e)?yr[e](t._strict,t._locale):new RegExp(ry(e))}function ry(e){return Ke(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,n,r,a,o){return n||r||a||o}))}function Ke(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Ta={};function me(e,t){var n,r=t,a;for(typeof e=="string"&&(e=[e]),Tt(t)&&(r=function(o,i){i[t]=U(o)}),a=e.length,n=0;n<a;n++)Ta[e[n]]=r}function jn(e,t){me(e,function(n,r,a,o){a._w=a._w||{},t(n,a._w,a,o)})}function ay(e,t,n){t!=null&&ee(Ta,e)&&Ta[e](t,n._a,n,e)}var Be=0,Ot=1,pt=2,Fe=3,ct=4,At=5,Lt=6,oy=7,iy=8;function sy(e,t){return(e%t+t)%t}var Ee;Array.prototype.indexOf?Ee=Array.prototype.indexOf:Ee=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function Br(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=sy(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)});Ve("month","M");He("month",8);T("M",Ie);T("MM",Ie,nt);T("MMM",function(e,t){return t.monthsShortRegex(e)});T("MMMM",function(e,t){return t.monthsRegex(e)});me(["M","MM"],function(e,t){t[Ot]=U(e)-1});me(["MMM","MMMM"],function(e,t,n,r){var a=n._locale.monthsParse(e,r,n._strict);a!=null?t[Ot]=a:j(n).invalidMonth=e});var uy="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Uu="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Ju=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,ly=Zn,cy=Zn;function dy(e,t){return e?dt(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Ju).test(t)?"format":"standalone"][e.month()]:dt(this._months)?this._months:this._months.standalone}function fy(e,t){return e?dt(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Ju.test(t)?"format":"standalone"][e.month()]:dt(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function hy(e,t,n){var r,a,o,i=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)o=Ct([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?t==="MMM"?(a=Ee.call(this._shortMonthsParse,i),a!==-1?a:null):(a=Ee.call(this._longMonthsParse,i),a!==-1?a:null):t==="MMM"?(a=Ee.call(this._shortMonthsParse,i),a!==-1?a:(a=Ee.call(this._longMonthsParse,i),a!==-1?a:null)):(a=Ee.call(this._longMonthsParse,i),a!==-1?a:(a=Ee.call(this._shortMonthsParse,i),a!==-1?a:null))}function my(e,t,n){var r,a,o;if(this._monthsParseExact)return hy.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(a=Ct([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]&&(o="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[r]=new RegExp(o.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 Qu(e,t){var n;if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=U(t);else if(t=e.localeData().monthsParse(t),!Tt(t))return e}return n=Math.min(e.date(),Br(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function qu(e){return e!=null?(Qu(this,e),A.updateOffset(this,!0),this):br(this,"Month")}function gy(){return Br(this.year(),this.month())}function py(e){return this._monthsParseExact?(ee(this,"_monthsRegex")||Ku.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(ee(this,"_monthsShortRegex")||(this._monthsShortRegex=ly),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function by(e){return this._monthsParseExact?(ee(this,"_monthsRegex")||Ku.call(this),e?this._monthsStrictRegex:this._monthsRegex):(ee(this,"_monthsRegex")||(this._monthsRegex=cy),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function Ku(){function e(i,s){return s.length-i.length}var t=[],n=[],r=[],a,o;for(a=0;a<12;a++)o=Ct([2e3,a]),t.push(this.monthsShort(o,"")),n.push(this.months(o,"")),r.push(this.months(o,"")),r.push(this.monthsShort(o,""));for(t.sort(e),n.sort(e),r.sort(e),a=0;a<12;a++)t[a]=Ke(t[a]),n[a]=Ke(n[a]);for(a=0;a<24;a++)r[a]=Ke(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?xt(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");Ve("year","y");He("year",1);T("Y",Yr);T("YY",Ie,nt);T("YYYY",wo,Co);T("YYYYY",Gr,_r);T("YYYYYY",Gr,_r);me(["YYYYY","YYYYYY"],Be);me("YYYY",function(e,t){t[Be]=e.length===2?A.parseTwoDigitYear(e):U(e)});me("YY",function(e,t){t[Be]=A.parseTwoDigitYear(e)});me("Y",function(e,t){t[Be]=parseInt(e,10)});function kn(e){return Wr(e)?366:365}A.parseTwoDigitYear=function(e){return U(e)+(U(e)>68?1900:2e3)};var el=mn("FullYear",!0);function yy(){return Wr(this.year())}function vy(e,t,n,r,a,o,i){var s;return e<100&&e>=0?(s=new Date(e+400,t,n,r,a,o,i),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,a,o,i),s}function _n(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 vr(e,t,n){var r=7+t-n,a=(7+_n(e,0,r).getUTCDay()-t)%7;return-a+r-1}function tl(e,t,n,r,a){var o=(7+n-r)%7,i=vr(e,r,a),s=1+7*(t-1)+o+i,u,l;return s<=0?(u=e-1,l=kn(u)+s):s>kn(e)?(u=e+1,l=s-kn(e)):(u=e,l=s),{year:u,dayOfYear:l}}function Pn(e,t,n){var r=vr(e.year(),t,n),a=Math.floor((e.dayOfYear()-r-1)/7)+1,o,i;return a<1?(i=e.year()-1,o=a+Nt(i,t,n)):a>Nt(e.year(),t,n)?(o=a-Nt(e.year(),t,n),i=e.year()+1):(i=e.year(),o=a),{week:o,year:i}}function Nt(e,t,n){var r=vr(e,t,n),a=vr(e+1,t,n);return(kn(e)-r+a)/7}P("w",["ww",2],"wo","week");P("W",["WW",2],"Wo","isoWeek");Ve("week","w");Ve("isoWeek","W");He("week",5);He("isoWeek",5);T("w",Ie);T("ww",Ie,nt);T("W",Ie);T("WW",Ie,nt);jn(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=U(e)});function xy(e){return Pn(e,this._week.dow,this._week.doy).week}var Iy={dow:0,doy:6};function Cy(){return this._week.dow}function wy(){return this._week.doy}function My(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function Sy(e){var t=Pn(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");Ve("day","d");Ve("weekday","e");Ve("isoWeekday","E");He("day",11);He("weekday",11);He("isoWeekday",11);T("d",Ie);T("e",Ie);T("E",Ie);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)});jn(["dd","ddd","dddd"],function(e,t,n,r){var a=n._locale.weekdaysParse(e,r,n._strict);a!=null?t.d=a:j(n).invalidWeekday=e});jn(["d","e","E"],function(e,t,n,r){t[r]=U(e)});function Dy(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function ky(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Mo(e,t){return e.slice(t,7).concat(e.slice(0,t))}var Ey="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),nl="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Oy="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ay=Zn,Ny=Zn,Ty=Zn;function Fy(e,t){var n=dt(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?Mo(n,this._week.dow):e?n[e.day()]:n}function Wy(e){return e===!0?Mo(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function _y(e){return e===!0?Mo(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Py(e,t,n){var r,a,o,i=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=Ct([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?t==="dddd"?(a=Ee.call(this._weekdaysParse,i),a!==-1?a:null):t==="ddd"?(a=Ee.call(this._shortWeekdaysParse,i),a!==-1?a:null):(a=Ee.call(this._minWeekdaysParse,i),a!==-1?a:null):t==="dddd"?(a=Ee.call(this._weekdaysParse,i),a!==-1||(a=Ee.call(this._shortWeekdaysParse,i),a!==-1)?a:(a=Ee.call(this._minWeekdaysParse,i),a!==-1?a:null)):t==="ddd"?(a=Ee.call(this._shortWeekdaysParse,i),a!==-1||(a=Ee.call(this._weekdaysParse,i),a!==-1)?a:(a=Ee.call(this._minWeekdaysParse,i),a!==-1?a:null)):(a=Ee.call(this._minWeekdaysParse,i),a!==-1||(a=Ee.call(this._weekdaysParse,i),a!==-1)?a:(a=Ee.call(this._shortWeekdaysParse,i),a!==-1?a:null))}function Gy(e,t,n){var r,a,o;if(this._weekdaysParseExact)return Py.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(a=Ct([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]||(o="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[r]=new RegExp(o.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 Yy(e){if(!this.isValid())return e!=null?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return e!=null?(e=Dy(e,this.localeData()),this.add(e-t,"d")):t}function Ry(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 By(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=ky(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function Vy(e){return this._weekdaysParseExact?(ee(this,"_weekdaysRegex")||So.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(ee(this,"_weekdaysRegex")||(this._weekdaysRegex=Ay),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Hy(e){return this._weekdaysParseExact?(ee(this,"_weekdaysRegex")||So.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(ee(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ny),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Xy(e){return this._weekdaysParseExact?(ee(this,"_weekdaysRegex")||So.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(ee(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ty),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function So(){function e(c,d){return d.length-c.length}var t=[],n=[],r=[],a=[],o,i,s,u,l;for(o=0;o<7;o++)i=Ct([2e3,1]).day(o),s=Ke(this.weekdaysMin(i,"")),u=Ke(this.weekdaysShort(i,"")),l=Ke(this.weekdays(i,"")),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 Do(){return this.hours()%12||12}function Zy(){return this.hours()||24}P("H",["HH",2],0,"hour");P("h",["hh",2],0,Do);P("k",["kk",2],0,Zy);P("hmm",0,0,function(){return""+Do.apply(this)+xt(this.minutes(),2)});P("hmmss",0,0,function(){return""+Do.apply(this)+xt(this.minutes(),2)+xt(this.seconds(),2)});P("Hmm",0,0,function(){return""+this.hours()+xt(this.minutes(),2)});P("Hmmss",0,0,function(){return""+this.hours()+xt(this.minutes(),2)+xt(this.seconds(),2)});function rl(e,t){P(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}rl("a",!0);rl("A",!1);Ve("hour","h");He("hour",13);function al(e,t){return t._meridiemParse}T("a",al);T("A",al);T("H",Ie);T("h",Ie);T("k",Ie);T("HH",Ie,nt);T("hh",Ie,nt);T("kk",Ie,nt);T("hmm",zu);T("hmmss",$u);T("Hmm",zu);T("Hmmss",$u);me(["H","HH"],Fe);me(["k","kk"],function(e,t,n){var r=U(e);t[Fe]=r===24?0:r});me(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e});me(["h","hh"],function(e,t,n){t[Fe]=U(e),j(n).bigHour=!0});me("hmm",function(e,t,n){var r=e.length-2;t[Fe]=U(e.substr(0,r)),t[ct]=U(e.substr(r)),j(n).bigHour=!0});me("hmmss",function(e,t,n){var r=e.length-4,a=e.length-2;t[Fe]=U(e.substr(0,r)),t[ct]=U(e.substr(r,2)),t[At]=U(e.substr(a)),j(n).bigHour=!0});me("Hmm",function(e,t,n){var r=e.length-2;t[Fe]=U(e.substr(0,r)),t[ct]=U(e.substr(r))});me("Hmmss",function(e,t,n){var r=e.length-4,a=e.length-2;t[Fe]=U(e.substr(0,r)),t[ct]=U(e.substr(r,2)),t[At]=U(e.substr(a))});function jy(e){return(e+"").toLowerCase().charAt(0)==="p"}var Ly=/[ap]\.?m?\.?/i,zy=mn("Hours",!0);function $y(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var ol={calendar:Gb,longDateFormat:Vb,invalidDate:Xb,ordinal:jb,dayOfMonthOrdinalParse:Lb,relativeTime:$b,months:uy,monthsShort:Uu,week:Iy,weekdays:Ey,weekdaysMin:Oy,weekdaysShort:nl,meridiemParse:Ly},Ce={},xn={},Gn;function Uy(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 Bi(e){return e&&e.toLowerCase().replace("_","-")}function Jy(e){for(var t=0,n,r,a,o;t<e.length;){for(o=Bi(e[t]).split("-"),n=o.length,r=Bi(e[t+1]),r=r?r.split("-"):null;n>0;){if(a=Vr(o.slice(0,n).join("-")),a)return a;if(r&&r.length>=n&&Uy(o,r)>=n-1)break;n--}t++}return Gn}function Qy(e){return e.match("^[^/\\\\]*$")!=null}function Vr(e){var t=null,n;if(Ce[e]===void 0&&typeof module<"u"&&module&&module.exports&&Qy(e))try{t=Gn._abbr,n=require,n("./locale/"+e),Bt(t)}catch{Ce[e]=null}return Ce[e]}function Bt(e,t){var n;return e&&(ze(t)?n=Wt(e):n=ko(e,t),n?Gn=n:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Gn._abbr}function ko(e,t){if(t!==null){var n,r=ol;if(t.abbr=e,Ce[e]!=null)Vu("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=Ce[e]._config;else if(t.parentLocale!=null)if(Ce[t.parentLocale]!=null)r=Ce[t.parentLocale]._config;else if(n=Vr(t.parentLocale),n!=null)r=n._config;else return xn[t.parentLocale]||(xn[t.parentLocale]=[]),xn[t.parentLocale].push({name:e,config:t}),null;return Ce[e]=new vo(Aa(r,t)),xn[e]&&xn[e].forEach(function(a){ko(a.name,a.config)}),Bt(e),Ce[e]}else return delete Ce[e],null}function qy(e,t){if(t!=null){var n,r,a=ol;Ce[e]!=null&&Ce[e].parentLocale!=null?Ce[e].set(Aa(Ce[e]._config,t)):(r=Vr(e),r!=null&&(a=r._config),t=Aa(a,t),r==null&&(t.abbr=e),n=new vo(t),n.parentLocale=Ce[e],Ce[e]=n),Bt(e)}else Ce[e]!=null&&(Ce[e].parentLocale!=null?(Ce[e]=Ce[e].parentLocale,e===Bt()&&Bt(e)):Ce[e]!=null&&delete Ce[e]);return Ce[e]}function Wt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Gn;if(!dt(e)){if(t=Vr(e),t)return t;e=[e]}return Jy(e)}function Ky(){return Na(Ce)}function Eo(e){var t,n=e._a;return n&&j(e).overflow===-2&&(t=n[Ot]<0||n[Ot]>11?Ot:n[pt]<1||n[pt]>Br(n[Be],n[Ot])?pt:n[Fe]<0||n[Fe]>24||n[Fe]===24&&(n[ct]!==0||n[At]!==0||n[Lt]!==0)?Fe:n[ct]<0||n[ct]>59?ct:n[At]<0||n[At]>59?At:n[Lt]<0||n[Lt]>999?Lt:-1,j(e)._overflowDayOfYear&&(t<Be||t>pt)&&(t=pt),j(e)._overflowWeeks&&t===-1&&(t=oy),j(e)._overflowWeekday&&t===-1&&(t=iy),j(e).overflow=t),e}var ev=/^\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)?)?$/,tv=/^\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)?)?$/,nv=/Z|[+-]\d\d(?::?\d\d)?/,nr=[["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]],ca=[["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/]],rv=/^\/?Date\((-?\d+)/i,av=/^(?:(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}))$/,ov={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 il(e){var t,n,r=e._i,a=ev.exec(r)||tv.exec(r),o,i,s,u,l=nr.length,c=ca.length;if(a){for(j(e).iso=!0,t=0,n=l;t<n;t++)if(nr[t][1].exec(a[1])){i=nr[t][0],o=nr[t][2]!==!1;break}if(i==null){e._isValid=!1;return}if(a[3]){for(t=0,n=c;t<n;t++)if(ca[t][1].exec(a[3])){s=(a[2]||" ")+ca[t][0];break}if(s==null){e._isValid=!1;return}}if(!o&&s!=null){e._isValid=!1;return}if(a[4])if(nv.exec(a[4]))u="Z";else{e._isValid=!1;return}e._f=i+(s||"")+(u||""),Ao(e)}else e._isValid=!1}function iv(e,t,n,r,a,o){var i=[sv(e),Uu.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(a,10)];return o&&i.push(parseInt(o,10)),i}function sv(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function uv(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function lv(e,t,n){if(e){var r=nl.indexOf(e),a=new Date(t[0],t[1],t[2]).getDay();if(r!==a)return j(n).weekdayMismatch=!0,n._isValid=!1,!1}return!0}function cv(e,t,n){if(e)return ov[e];if(t)return 0;var r=parseInt(n,10),a=r%100,o=(r-a)/100;return o*60+a}function sl(e){var t=av.exec(uv(e._i)),n;if(t){if(n=iv(t[4],t[3],t[2],t[5],t[6],t[7]),!lv(t[1],n,e))return;e._a=n,e._tzm=cv(t[8],t[9],t[10]),e._d=_n.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),j(e).rfc2822=!0}else e._isValid=!1}function dv(e){var t=rv.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(il(e),e._isValid===!1)delete e._isValid;else return;if(sl(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:A.createFromInputFallback(e)}A.createFromInputFallback=at("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 en(e,t,n){return e??t??n}function fv(e){var t=new Date(A.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Oo(e){var t,n,r=[],a,o,i;if(!e._d){for(a=fv(e),e._w&&e._a[pt]==null&&e._a[Ot]==null&&hv(e),e._dayOfYear!=null&&(i=en(e._a[Be],a[Be]),(e._dayOfYear>kn(i)||e._dayOfYear===0)&&(j(e)._overflowDayOfYear=!0),n=_n(i,0,e._dayOfYear),e._a[Ot]=n.getUTCMonth(),e._a[pt]=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[Fe]===24&&e._a[ct]===0&&e._a[At]===0&&e._a[Lt]===0&&(e._nextDay=!0,e._a[Fe]=0),e._d=(e._useUTC?_n:vy).apply(null,r),o=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Fe]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==o&&(j(e).weekdayMismatch=!0)}}function hv(e){var t,n,r,a,o,i,s,u,l;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(o=1,i=4,n=en(t.GG,e._a[Be],Pn(xe(),1,4).year),r=en(t.W,1),a=en(t.E,1),(a<1||a>7)&&(u=!0)):(o=e._locale._week.dow,i=e._locale._week.doy,l=Pn(xe(),o,i),n=en(t.gg,e._a[Be],l.year),r=en(t.w,l.week),t.d!=null?(a=t.d,(a<0||a>6)&&(u=!0)):t.e!=null?(a=t.e+o,(t.e<0||t.e>6)&&(u=!0)):a=o),r<1||r>Nt(n,o,i)?j(e)._overflowWeeks=!0:u!=null?j(e)._overflowWeekday=!0:(s=tl(n,r,a,o,i),e._a[Be]=s.year,e._dayOfYear=s.dayOfYear)}A.ISO_8601=function(){};A.RFC_2822=function(){};function Ao(e){if(e._f===A.ISO_8601){il(e);return}if(e._f===A.RFC_2822){sl(e);return}e._a=[],j(e).empty=!0;var t=""+e._i,n,r,a,o,i,s=t.length,u=0,l,c;for(a=Hu(e._f,e._locale).match(xo)||[],c=a.length,n=0;n<c;n++)o=a[n],r=(t.match(ny(o,e))||[])[0],r&&(i=t.substr(0,t.indexOf(r)),i.length>0&&j(e).unusedInput.push(i),t=t.slice(t.indexOf(r)+r.length),u+=r.length),an[o]?(r?j(e).empty=!1:j(e).unusedTokens.push(o),ay(o,r,e)):e._strict&&!r&&j(e).unusedTokens.push(o);j(e).charsLeftOver=s-u,t.length>0&&j(e).unusedInput.push(t),e._a[Fe]<=12&&j(e).bigHour===!0&&e._a[Fe]>0&&(j(e).bigHour=void 0),j(e).parsedDateParts=e._a.slice(0),j(e).meridiem=e._meridiem,e._a[Fe]=mv(e._locale,e._a[Fe],e._meridiem),l=j(e).era,l!==null&&(e._a[Be]=e._locale.erasConvertYear(l,e._a[Be])),Oo(e),Eo(e)}function mv(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 gv(e){var t,n,r,a,o,i,s=!1,u=e._f.length;if(u===0){j(e).invalidFormat=!0,e._d=new Date(NaN);return}for(a=0;a<u;a++)o=0,i=!1,t=yo({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[a],Ao(t),bo(t)&&(i=!0),o+=j(t).charsLeftOver,o+=j(t).unusedTokens.length*10,j(t).score=o,s?o<r&&(r=o,n=t):(r==null||o<r||i)&&(r=o,n=t,i&&(s=!0));Yt(e,n||t)}function pv(e){if(!e._d){var t=Io(e._i),n=t.day===void 0?t.date:t.day;e._a=Ru([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],function(r){return r&&parseInt(r,10)}),Oo(e)}}function bv(e){var t=new Xn(Eo(ul(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function ul(e){var t=e._i,n=e._f;return e._locale=e._locale||Wt(e._l),t===null||n===void 0&&t===""?Fr({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),ft(t)?new Xn(Eo(t)):(Hn(t)?e._d=t:dt(n)?gv(e):n?Ao(e):yv(e),bo(e)||(e._d=null),e))}function yv(e){var t=e._i;ze(t)?e._d=new Date(A.now()):Hn(t)?e._d=new Date(t.valueOf()):typeof t=="string"?dv(e):dt(t)?(e._a=Ru(t.slice(0),function(n){return parseInt(n,10)}),Oo(e)):zt(t)?pv(e):Tt(t)?e._d=new Date(t):A.createFromInputFallback(e)}function ll(e,t,n,r,a){var o={};return(t===!0||t===!1)&&(r=t,t=void 0),(n===!0||n===!1)&&(r=n,n=void 0),(zt(e)&&po(e)||dt(e)&&e.length===0)&&(e=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=a,o._l=n,o._i=e,o._f=t,o._strict=r,bv(o)}function xe(e,t,n,r){return ll(e,t,n,r,!1)}var vv=at("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=xe.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:Fr()}),xv=at("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=xe.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:Fr()});function cl(e,t){var n,r;if(t.length===1&&dt(t[0])&&(t=t[0]),!t.length)return xe();for(n=t[0],r=1;r<t.length;++r)(!t[r].isValid()||t[r][e](n))&&(n=t[r]);return n}function Iv(){var e=[].slice.call(arguments,0);return cl("isBefore",e)}function Cv(){var e=[].slice.call(arguments,0);return cl("isAfter",e)}var wv=function(){return Date.now?Date.now():+new Date},In=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Mv(e){var t,n=!1,r,a=In.length;for(t in e)if(ee(e,t)&&!(Ee.call(In,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(r=0;r<a;++r)if(e[In[r]]){if(n)return!1;parseFloat(e[In[r]])!==U(e[In[r]])&&(n=!0)}return!0}function Sv(){return this._isValid}function Dv(){return ht(NaN)}function Hr(e){var t=Io(e),n=t.year||0,r=t.quarter||0,a=t.month||0,o=t.week||t.isoWeek||0,i=t.day||0,s=t.hour||0,u=t.minute||0,l=t.second||0,c=t.millisecond||0;this._isValid=Mv(t),this._milliseconds=+c+l*1e3+u*6e4+s*1e3*60*60,this._days=+i+o*7,this._months=+a+r*3+n*12,this._data={},this._locale=Wt(),this._bubble()}function ur(e){return e instanceof Hr}function Fa(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function kv(e,t,n){var r=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),o=0,i;for(i=0;i<r;i++)(n&&e[i]!==t[i]||!n&&U(e[i])!==U(t[i]))&&o++;return o+a}function dl(e,t){P(e,0,0,function(){var n=this.utcOffset(),r="+";return n<0&&(n=-n,r="-"),r+xt(~~(n/60),2)+t+xt(~~n%60,2)})}dl("Z",":");dl("ZZ","");T("Z",Rr);T("ZZ",Rr);me(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=No(Rr,e)});var Ev=/([\+\-]|\d\d)/gi;function No(e,t){var n=(t||"").match(e),r,a,o;return n===null?null:(r=n[n.length-1]||[],a=(r+"").match(Ev)||["-",0,0],o=+(a[1]*60)+U(a[2]),o===0?0:a[0]==="+"?o:-o)}function To(e,t){var n,r;return t._isUTC?(n=t.clone(),r=(ft(e)||Hn(e)?e.valueOf():xe(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),A.updateOffset(n,!1),n):xe(e).local()}function Wa(e){return-Math.round(e._d.getTimezoneOffset())}A.updateOffset=function(){};function Ov(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=No(Rr,e),e===null)return this}else Math.abs(e)<16&&!n&&(e=e*60);return!this._isUTC&&t&&(a=Wa(this)),this._offset=e,this._isUTC=!0,a!=null&&this.add(a,"m"),r!==e&&(!t||this._changeInProgress?ml(this,ht(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,A.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?r:Wa(this)}function Av(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function Nv(e){return this.utcOffset(0,e)}function Tv(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Wa(this),"m")),this}function Fv(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=No(ey,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function Wv(e){return this.isValid()?(e=e?xe(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function _v(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Pv(){if(!ze(this._isDSTShifted))return this._isDSTShifted;var e={},t;return yo(e,this),e=ul(e),e._a?(t=e._isUTC?Ct(e._a):xe(e._a),this._isDSTShifted=this.isValid()&&kv(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Gv(){return this.isValid()?!this._isUTC:!1}function Yv(){return this.isValid()?this._isUTC:!1}function fl(){return this.isValid()?this._isUTC&&this._offset===0:!1}var Rv=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Bv=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function ht(e,t){var n=e,r=null,a,o,i;return ur(e)?n={ms:e._milliseconds,d:e._days,M:e._months}:Tt(e)||!isNaN(+e)?(n={},t?n[t]=+e:n.milliseconds=+e):(r=Rv.exec(e))?(a=r[1]==="-"?-1:1,n={y:0,d:U(r[pt])*a,h:U(r[Fe])*a,m:U(r[ct])*a,s:U(r[At])*a,ms:U(Fa(r[Lt]*1e3))*a}):(r=Bv.exec(e))?(a=r[1]==="-"?-1:1,n={y:Ht(r[2],a),M:Ht(r[3],a),w:Ht(r[4],a),d:Ht(r[5],a),h:Ht(r[6],a),m:Ht(r[7],a),s:Ht(r[8],a)}):n==null?n={}:typeof n=="object"&&("from"in n||"to"in n)&&(i=Vv(xe(n.from),xe(n.to)),n={},n.ms=i.milliseconds,n.M=i.months),o=new Hr(n),ur(e)&&ee(e,"_locale")&&(o._locale=e._locale),ur(e)&&ee(e,"_isValid")&&(o._isValid=e._isValid),o}ht.fn=Hr.prototype;ht.invalid=Dv;function Ht(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Vi(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 Vv(e,t){var n;return e.isValid()&&t.isValid()?(t=To(t,e),e.isBefore(t)?n=Vi(e,t):(n=Vi(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function hl(e,t){return function(n,r){var a,o;return r!==null&&!isNaN(+r)&&(Vu(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."),o=n,n=r,r=o),a=ht(n,r),ml(this,a,e),this}}function ml(e,t,n,r){var a=t._milliseconds,o=Fa(t._days),i=Fa(t._months);e.isValid()&&(r=r??!0,i&&Qu(e,br(e,"Month")+i*n),o&&Zu(e,"Date",br(e,"Date")+o*n),a&&e._d.setTime(e._d.valueOf()+a*n),r&&A.updateOffset(e,o||i))}var Hv=hl(1,"add"),Xv=hl(-1,"subtract");function gl(e){return typeof e=="string"||e instanceof String}function Zv(e){return ft(e)||Hn(e)||gl(e)||Tt(e)||Lv(e)||jv(e)||e===null||e===void 0}function jv(e){var t=zt(e)&&!po(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,o,i=r.length;for(a=0;a<i;a+=1)o=r[a],n=n||ee(e,o);return t&&n}function Lv(e){var t=dt(e),n=!1;return t&&(n=e.filter(function(r){return!Tt(r)&&gl(e)}).length===0),t&&n}function zv(e){var t=zt(e)&&!po(e),n=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],a,o;for(a=0;a<r.length;a+=1)o=r[a],n=n||ee(e,o);return t&&n}function $v(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 Uv(e,t){arguments.length===1&&(arguments[0]?Zv(arguments[0])?(e=arguments[0],t=void 0):zv(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||xe(),r=To(n,this).startOf("day"),a=A.calendarFormat(this,r)||"sameElse",o=t&&(wt(t[a])?t[a].call(this,n):t[a]);return this.format(o||this.localeData().calendar(a,this,xe(n)))}function Jv(){return new Xn(this)}function Qv(e,t){var n=ft(e)?e:xe(e);return this.isValid()&&n.isValid()?(t=ot(t)||"millisecond",t==="millisecond"?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf()):!1}function qv(e,t){var n=ft(e)?e:xe(e);return this.isValid()&&n.isValid()?(t=ot(t)||"millisecond",t==="millisecond"?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf()):!1}function Kv(e,t,n,r){var a=ft(e)?e:xe(e),o=ft(t)?t:xe(t);return this.isValid()&&a.isValid()&&o.isValid()?(r=r||"()",(r[0]==="("?this.isAfter(a,n):!this.isBefore(a,n))&&(r[1]===")"?this.isBefore(o,n):!this.isAfter(o,n))):!1}function e0(e,t){var n=ft(e)?e:xe(e),r;return this.isValid()&&n.isValid()?(t=ot(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 t0(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function n0(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function r0(e,t,n){var r,a,o;if(!this.isValid())return NaN;if(r=To(e,this),!r.isValid())return NaN;switch(a=(r.utcOffset()-this.utcOffset())*6e4,t=ot(t),t){case"year":o=lr(this,r)/12;break;case"month":o=lr(this,r);break;case"quarter":o=lr(this,r)/3;break;case"second":o=(this-r)/1e3;break;case"minute":o=(this-r)/6e4;break;case"hour":o=(this-r)/36e5;break;case"day":o=(this-r-a)/864e5;break;case"week":o=(this-r-a)/6048e5;break;default:o=this-r}return n?o:rt(o)}function lr(e,t){if(e.date()<t.date())return-lr(t,e);var n=(t.year()-e.year())*12+(t.month()-e.month()),r=e.clone().add(n,"months"),a,o;return t-r<0?(a=e.clone().add(n-1,"months"),o=(t-r)/(r-a)):(a=e.clone().add(n+1,"months"),o=(t-r)/(a-r)),-(n+o)||0}A.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";A.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function a0(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function o0(e){if(!this.isValid())return null;var t=e!==!0,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?sr(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):wt(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",sr(n,"Z")):sr(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function i0(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",n,r,a,o;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",o=t+'[")]',this.format(n+r+a+o)}function s0(e){e||(e=this.isUtc()?A.defaultFormatUtc:A.defaultFormat);var t=sr(this,e);return this.localeData().postformat(t)}function u0(e,t){return this.isValid()&&(ft(e)&&e.isValid()||xe(e).isValid())?ht({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function l0(e){return this.from(xe(),e)}function c0(e,t){return this.isValid()&&(ft(e)&&e.isValid()||xe(e).isValid())?ht({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function d0(e){return this.to(xe(),e)}function pl(e){var t;return e===void 0?this._locale._abbr:(t=Wt(e),t!=null&&(this._locale=t),this)}var bl=at("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 yl(){return this._locale}var xr=1e3,on=60*xr,Ir=60*on,vl=(365*400+97)*24*Ir;function sn(e,t){return(e%t+t)%t}function xl(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-vl:new Date(e,t,n).valueOf()}function Il(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-vl:Date.UTC(e,t,n)}function f0(e){var t,n;if(e=ot(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?Il:xl,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-=sn(t+(this._isUTC?0:this.utcOffset()*on),Ir);break;case"minute":t=this._d.valueOf(),t-=sn(t,on);break;case"second":t=this._d.valueOf(),t-=sn(t,xr);break}return this._d.setTime(t),A.updateOffset(this,!0),this}function h0(e){var t,n;if(e=ot(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?Il:xl,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+=Ir-sn(t+(this._isUTC?0:this.utcOffset()*on),Ir)-1;break;case"minute":t=this._d.valueOf(),t+=on-sn(t,on)-1;break;case"second":t=this._d.valueOf(),t+=xr-sn(t,xr)-1;break}return this._d.setTime(t),A.updateOffset(this,!0),this}function m0(){return this._d.valueOf()-(this._offset||0)*6e4}function g0(){return Math.floor(this.valueOf()/1e3)}function p0(){return new Date(this.valueOf())}function b0(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function y0(){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 v0(){return this.isValid()?this.toISOString():null}function x0(){return bo(this)}function I0(){return Yt({},j(this))}function C0(){return j(this).overflow}function w0(){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",Fo);T("NN",Fo);T("NNN",Fo);T("NNNN",W0);T("NNNNN",_0);me(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,r){var a=n._locale.erasParse(e,r,n._strict);a?j(n).era=a:j(n).invalidEra=e});T("y",gn);T("yy",gn);T("yyy",gn);T("yyyy",gn);T("yo",P0);me(["y","yy","yyy","yyyy"],Be);me(["yo"],function(e,t,n,r){var a;n._locale._eraYearOrdinalRegex&&(a=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[Be]=n._locale.eraYearOrdinalParse(e,a):t[Be]=parseInt(e,10)});function M0(e,t){var n,r,a,o=this._eras||Wt("en")._eras;for(n=0,r=o.length;n<r;++n){switch(typeof o[n].since){case"string":a=A(o[n].since).startOf("day"),o[n].since=a.valueOf();break}switch(typeof o[n].until){case"undefined":o[n].until=1/0;break;case"string":a=A(o[n].until).startOf("day").valueOf(),o[n].until=a.valueOf();break}}return o}function S0(e,t,n){var r,a,o=this.eras(),i,s,u;for(e=e.toUpperCase(),r=0,a=o.length;r<a;++r)if(i=o[r].name.toUpperCase(),s=o[r].abbr.toUpperCase(),u=o[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(s===e)return o[r];break;case"NNNN":if(i===e)return o[r];break;case"NNNNN":if(u===e)return o[r];break}else if([i,s,u].indexOf(e)>=0)return o[r]}function D0(e,t){var n=e.since<=e.until?1:-1;return t===void 0?A(e.since).year():A(e.since).year()+(t-e.offset)*n}function k0(){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 E0(){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 O0(){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 A0(){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()-A(a[e].since).year())*n+a[e].offset;return this.year()}function N0(e){return ee(this,"_erasNameRegex")||Wo.call(this),e?this._erasNameRegex:this._erasRegex}function T0(e){return ee(this,"_erasAbbrRegex")||Wo.call(this),e?this._erasAbbrRegex:this._erasRegex}function F0(e){return ee(this,"_erasNarrowRegex")||Wo.call(this),e?this._erasNarrowRegex:this._erasRegex}function Fo(e,t){return t.erasAbbrRegex(e)}function W0(e,t){return t.erasNameRegex(e)}function _0(e,t){return t.erasNarrowRegex(e)}function P0(e,t){return t._eraYearOrdinalRegex||gn}function Wo(){var e=[],t=[],n=[],r=[],a,o,i=this.eras();for(a=0,o=i.length;a<o;++a)t.push(Ke(i[a].name)),e.push(Ke(i[a].abbr)),n.push(Ke(i[a].narrow)),r.push(Ke(i[a].name)),r.push(Ke(i[a].abbr)),r.push(Ke(i[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 Xr(e,t){P(0,[e,e.length],0,t)}Xr("gggg","weekYear");Xr("ggggg","weekYear");Xr("GGGG","isoWeekYear");Xr("GGGGG","isoWeekYear");Ve("weekYear","gg");Ve("isoWeekYear","GG");He("weekYear",1);He("isoWeekYear",1);T("G",Yr);T("g",Yr);T("GG",Ie,nt);T("gg",Ie,nt);T("GGGG",wo,Co);T("gggg",wo,Co);T("GGGGG",Gr,_r);T("ggggg",Gr,_r);jn(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=U(e)});jn(["gg","GG"],function(e,t,n,r){t[r]=A.parseTwoDigitYear(e)});function G0(e){return Cl.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Y0(e){return Cl.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function R0(){return Nt(this.year(),1,4)}function B0(){return Nt(this.isoWeekYear(),1,4)}function V0(){var e=this.localeData()._week;return Nt(this.year(),e.dow,e.doy)}function H0(){var e=this.localeData()._week;return Nt(this.weekYear(),e.dow,e.doy)}function Cl(e,t,n,r,a){var o;return e==null?Pn(this,r,a).year:(o=Nt(e,r,a),t>o&&(t=o),X0.call(this,e,t,n,r,a))}function X0(e,t,n,r,a){var o=tl(e,t,n,r,a),i=_n(o.year,0,o.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}P("Q",0,"Qo","quarter");Ve("quarter","Q");He("quarter",7);T("Q",ju);me("Q",function(e,t){t[Ot]=(U(e)-1)*3});function Z0(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}P("D",["DD",2],"Do","date");Ve("date","D");He("date",9);T("D",Ie);T("DD",Ie,nt);T("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient});me(["D","DD"],pt);me("Do",function(e,t){t[pt]=U(e.match(Ie)[0])});var wl=mn("Date",!0);P("DDD",["DDDD",3],"DDDo","dayOfYear");Ve("dayOfYear","DDD");He("dayOfYear",4);T("DDD",Pr);T("DDDD",Lu);me(["DDD","DDDD"],function(e,t,n){n._dayOfYear=U(e)});function j0(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");Ve("minute","m");He("minute",14);T("m",Ie);T("mm",Ie,nt);me(["m","mm"],ct);var L0=mn("Minutes",!1);P("s",["ss",2],0,"second");Ve("second","s");He("second",15);T("s",Ie);T("ss",Ie,nt);me(["s","ss"],At);var z0=mn("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});Ve("millisecond","ms");He("millisecond",16);T("S",Pr,ju);T("SS",Pr,nt);T("SSS",Pr,Lu);var Rt,Ml;for(Rt="SSSS";Rt.length<=9;Rt+="S")T(Rt,gn);function $0(e,t){t[Lt]=U(("0."+e)*1e3)}for(Rt="S";Rt.length<=9;Rt+="S")me(Rt,$0);Ml=mn("Milliseconds",!1);P("z",0,0,"zoneAbbr");P("zz",0,0,"zoneName");function U0(){return this._isUTC?"UTC":""}function J0(){return this._isUTC?"Coordinated Universal Time":""}var D=Xn.prototype;D.add=Hv;D.calendar=Uv;D.clone=Jv;D.diff=r0;D.endOf=h0;D.format=s0;D.from=u0;D.fromNow=l0;D.to=c0;D.toNow=d0;D.get=qb;D.invalidAt=C0;D.isAfter=Qv;D.isBefore=qv;D.isBetween=Kv;D.isSame=e0;D.isSameOrAfter=t0;D.isSameOrBefore=n0;D.isValid=x0;D.lang=bl;D.locale=pl;D.localeData=yl;D.max=xv;D.min=vv;D.parsingFlags=I0;D.set=Kb;D.startOf=f0;D.subtract=Xv;D.toArray=b0;D.toObject=y0;D.toDate=p0;D.toISOString=o0;D.inspect=i0;typeof Symbol<"u"&&Symbol.for!=null&&(D[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});D.toJSON=v0;D.toString=a0;D.unix=g0;D.valueOf=m0;D.creationData=w0;D.eraName=k0;D.eraNarrow=E0;D.eraAbbr=O0;D.eraYear=A0;D.year=el;D.isLeapYear=yy;D.weekYear=G0;D.isoWeekYear=Y0;D.quarter=D.quarters=Z0;D.month=qu;D.daysInMonth=gy;D.week=D.weeks=My;D.isoWeek=D.isoWeeks=Sy;D.weeksInYear=V0;D.weeksInWeekYear=H0;D.isoWeeksInYear=R0;D.isoWeeksInISOWeekYear=B0;D.date=wl;D.day=D.days=Yy;D.weekday=Ry;D.isoWeekday=By;D.dayOfYear=j0;D.hour=D.hours=zy;D.minute=D.minutes=L0;D.second=D.seconds=z0;D.millisecond=D.milliseconds=Ml;D.utcOffset=Ov;D.utc=Nv;D.local=Tv;D.parseZone=Fv;D.hasAlignedHourOffset=Wv;D.isDST=_v;D.isLocal=Gv;D.isUtcOffset=Yv;D.isUtc=fl;D.isUTC=fl;D.zoneAbbr=U0;D.zoneName=J0;D.dates=at("dates accessor is deprecated. Use date instead.",wl);D.months=at("months accessor is deprecated. Use month instead",qu);D.years=at("years accessor is deprecated. Use year instead",el);D.zone=at("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Av);D.isDSTShifted=at("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Pv);function Q0(e){return xe(e*1e3)}function q0(){return xe.apply(null,arguments).parseZone()}function Sl(e){return e}var te=vo.prototype;te.calendar=Yb;te.longDateFormat=Hb;te.invalidDate=Zb;te.ordinal=zb;te.preparse=Sl;te.postformat=Sl;te.relativeTime=Ub;te.pastFuture=Jb;te.set=Pb;te.eras=M0;te.erasParse=S0;te.erasConvertYear=D0;te.erasAbbrRegex=T0;te.erasNameRegex=N0;te.erasNarrowRegex=F0;te.months=dy;te.monthsShort=fy;te.monthsParse=my;te.monthsRegex=by;te.monthsShortRegex=py;te.week=xy;te.firstDayOfYear=wy;te.firstDayOfWeek=Cy;te.weekdays=Fy;te.weekdaysMin=_y;te.weekdaysShort=Wy;te.weekdaysParse=Gy;te.weekdaysRegex=Vy;te.weekdaysShortRegex=Hy;te.weekdaysMinRegex=Xy;te.isPM=jy;te.meridiem=$y;function Cr(e,t,n,r){var a=Wt(),o=Ct().set(r,t);return a[n](o,e)}function Dl(e,t,n){if(Tt(e)&&(t=e,e=void 0),e=e||"",t!=null)return Cr(e,t,n,"month");var r,a=[];for(r=0;r<12;r++)a[r]=Cr(e,r,n,"month");return a}function _o(e,t,n,r){typeof e=="boolean"?(Tt(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,Tt(t)&&(n=t,t=void 0),t=t||"");var a=Wt(),o=e?a._week.dow:0,i,s=[];if(n!=null)return Cr(t,(n+o)%7,r,"day");for(i=0;i<7;i++)s[i]=Cr(t,(i+o)%7,r,"day");return s}function K0(e,t){return Dl(e,t,"months")}function e1(e,t){return Dl(e,t,"monthsShort")}function t1(e,t,n){return _o(e,t,n,"weekdays")}function n1(e,t,n){return _o(e,t,n,"weekdaysShort")}function r1(e,t,n){return _o(e,t,n,"weekdaysMin")}Bt("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=U(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+n}});A.lang=at("moment.lang is deprecated. Use moment.locale instead.",Bt);A.langData=at("moment.langData is deprecated. Use moment.localeData instead.",Wt);var St=Math.abs;function a1(){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 kl(e,t,n,r){var a=ht(t,n);return e._milliseconds+=r*a._milliseconds,e._days+=r*a._days,e._months+=r*a._months,e._bubble()}function o1(e,t){return kl(this,e,t,1)}function i1(e,t){return kl(this,e,t,-1)}function Hi(e){return e<0?Math.floor(e):Math.ceil(e)}function s1(){var e=this._milliseconds,t=this._days,n=this._months,r=this._data,a,o,i,s,u;return e>=0&&t>=0&&n>=0||e<=0&&t<=0&&n<=0||(e+=Hi(_a(n)+t)*864e5,t=0,n=0),r.milliseconds=e%1e3,a=rt(e/1e3),r.seconds=a%60,o=rt(a/60),r.minutes=o%60,i=rt(o/60),r.hours=i%24,t+=rt(i/24),u=rt(El(t)),n+=u,t-=Hi(_a(u)),s=rt(n/12),n%=12,r.days=t,r.months=n,r.years=s,this}function El(e){return e*4800/146097}function _a(e){return e*146097/4800}function u1(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if(e=ot(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(_a(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 l1(){return this.isValid()?this._milliseconds+this._days*864e5+this._months%12*2592e6+U(this._months/12)*31536e6:NaN}function _t(e){return function(){return this.as(e)}}var c1=_t("ms"),d1=_t("s"),f1=_t("m"),h1=_t("h"),m1=_t("d"),g1=_t("w"),p1=_t("M"),b1=_t("Q"),y1=_t("y");function v1(){return ht(this)}function x1(e){return e=ot(e),this.isValid()?this[e+"s"]():NaN}function $t(e){return function(){return this.isValid()?this._data[e]:NaN}}var I1=$t("milliseconds"),C1=$t("seconds"),w1=$t("minutes"),M1=$t("hours"),S1=$t("days"),D1=$t("months"),k1=$t("years");function E1(){return rt(this.days()/7)}var Dt=Math.round,tn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function O1(e,t,n,r,a){return a.relativeTime(t||1,!!n,e,r)}function A1(e,t,n,r){var a=ht(e).abs(),o=Dt(a.as("s")),i=Dt(a.as("m")),s=Dt(a.as("h")),u=Dt(a.as("d")),l=Dt(a.as("M")),c=Dt(a.as("w")),d=Dt(a.as("y")),h=o<=n.ss&&["s",o]||o<n.s&&["ss",o]||i<=1&&["m"]||i<n.m&&["mm",i]||s<=1&&["h"]||s<n.h&&["hh",s]||u<=1&&["d"]||u<n.d&&["dd",u];return n.w!=null&&(h=h||c<=1&&["w"]||c<n.w&&["ww",c]),h=h||l<=1&&["M"]||l<n.M&&["MM",l]||d<=1&&["y"]||["yy",d],h[2]=t,h[3]=+e>0,h[4]=r,O1.apply(null,h)}function N1(e){return e===void 0?Dt:typeof e=="function"?(Dt=e,!0):!1}function T1(e,t){return tn[e]===void 0?!1:t===void 0?tn[e]:(tn[e]=t,e==="s"&&(tn.ss=t-1),!0)}function F1(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,r=tn,a,o;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(n=e),typeof t=="object"&&(r=Object.assign({},tn,t),t.s!=null&&t.ss==null&&(r.ss=t.s-1)),a=this.localeData(),o=A1(this,!n,r,a),n&&(o=a.pastFuture(+this,o)),a.postformat(o)}var da=Math.abs;function qt(e){return(e>0)-(e<0)||+e}function Zr(){if(!this.isValid())return this.localeData().invalidDate();var e=da(this._milliseconds)/1e3,t=da(this._days),n=da(this._months),r,a,o,i,s=this.asSeconds(),u,l,c,d;return s?(r=rt(e/60),a=rt(r/60),e%=60,r%=60,o=rt(n/12),n%=12,i=e?e.toFixed(3).replace(/\.?0+$/,""):"",u=s<0?"-":"",l=qt(this._months)!==qt(s)?"-":"",c=qt(this._days)!==qt(s)?"-":"",d=qt(this._milliseconds)!==qt(s)?"-":"",u+"P"+(o?l+o+"Y":"")+(n?l+n+"M":"")+(t?c+t+"D":"")+(a||r||e?"T":"")+(a?d+a+"H":"")+(r?d+r+"M":"")+(e?d+i+"S":"")):"P0D"}var q=Hr.prototype;q.isValid=Sv;q.abs=a1;q.add=o1;q.subtract=i1;q.as=u1;q.asMilliseconds=c1;q.asSeconds=d1;q.asMinutes=f1;q.asHours=h1;q.asDays=m1;q.asWeeks=g1;q.asMonths=p1;q.asQuarters=b1;q.asYears=y1;q.valueOf=l1;q._bubble=s1;q.clone=v1;q.get=x1;q.milliseconds=I1;q.seconds=C1;q.minutes=w1;q.hours=M1;q.days=S1;q.weeks=E1;q.months=D1;q.years=k1;q.humanize=F1;q.toISOString=Zr;q.toString=Zr;q.toJSON=Zr;q.locale=pl;q.localeData=yl;q.toIsoString=at("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Zr);q.lang=bl;P("X",0,0,"unix");P("x",0,0,"valueOf");T("x",Yr);T("X",ty);me("X",function(e,t,n){n._d=new Date(parseFloat(e)*1e3)});me("x",function(e,t,n){n._d=new Date(U(e))});//! moment.js
|
|
970
|
-
A.version="2.29.4";Wb(xe);A.fn=D;A.min=Iv;A.max=Cv;A.now=wv;A.utc=Ct;A.unix=Q0;A.months=K0;A.isDate=Hn;A.locale=Bt;A.invalid=Fr;A.duration=ht;A.isMoment=ft;A.weekdays=t1;A.parseZone=q0;A.localeData=Wt;A.isDuration=ur;A.monthsShort=e1;A.weekdaysMin=r1;A.defineLocale=ko;A.updateLocale=qy;A.locales=Ky;A.weekdaysShort=n1;A.normalizeUnits=ot;A.relativeTimeRounding=N1;A.relativeTimeThreshold=T1;A.calendarFormat=$v;A.prototype=D;A.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"};var W1="Expected a function",Xi=NaN,_1="[object Symbol]",P1=/^\s+|\s+$/g,G1=/^[-+]0x[0-9a-f]+$/i,Y1=/^0b[01]+$/i,R1=/^0o[0-7]+$/i,B1=parseInt,V1=typeof Jn=="object"&&Jn&&Jn.Object===Object&&Jn,H1=typeof self=="object"&&self&&self.Object===Object&&self,X1=V1||H1||Function("return this")(),Z1=Object.prototype,j1=Z1.toString,L1=Math.max,z1=Math.min,fa=function(){return X1.Date.now()};function $1(e,t,n){var r,a,o,i,s,u,l=0,c=!1,d=!1,h=!0;if(typeof e!="function")throw new TypeError(W1);t=Zi(t)||0,Pa(n)&&(c=!!n.leading,d="maxWait"in n,o=d?L1(Zi(n.maxWait)||0,t):o,h="trailing"in n?!!n.trailing:h);function g(b){var S=r,E=a;return r=a=void 0,l=b,i=e.apply(E,S),i}function m(b){return l=b,s=setTimeout(I,t),c?g(b):i}function v(b){var S=b-u,E=b-l,k=t-S;return d?z1(k,o-E):k}function p(b){var S=b-u,E=b-l;return u===void 0||S>=t||S<0||d&&E>=o}function I(){var b=fa();if(p(b))return y(b);s=setTimeout(I,v(b))}function y(b){return s=void 0,h&&r?g(b):(r=a=void 0,i)}function C(){s!==void 0&&clearTimeout(s),l=0,r=u=a=s=void 0}function M(){return s===void 0?i:y(fa())}function x(){var b=fa(),S=p(b);if(r=arguments,a=this,u=b,S){if(s===void 0)return m(u);if(d)return s=setTimeout(I,t),g(u)}return s===void 0&&(s=setTimeout(I,t)),i}return x.cancel=C,x.flush=M,x}function Pa(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function U1(e){return!!e&&typeof e=="object"}function J1(e){return typeof e=="symbol"||U1(e)&&j1.call(e)==_1}function Zi(e){if(typeof e=="number")return e;if(J1(e))return Xi;if(Pa(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Pa(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(P1,"");var n=Y1.test(e);return n||R1.test(e)?B1(e.slice(2),n?2:8):G1.test(e)?Xi:+e}var Q1=$1;const q1=Hc(Q1),K1=/^\d{4}$/g,ha="default",Ol=({label:e,value:t,onChange:n,inputMode:r="am"})=>{const a=Ft.useIntl(),[o,i]=f.useState(t),[s,u]=f.useState(t),[l,c]=f.useState(r),[d,h]=f.useState(ha),[g,m]=f.useState(),[v,p]=f.useState(""),I=f.useCallback(({time:k,mode:W})=>{const G=parseInt(k[0]),L=parseInt(k[1]);if(isNaN(G)||isNaN(L))return h("error"),m(a.formatMessage(ge.notNumber)),!1;const z=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=G<10?`0${G}:${k[1]}`:`${G}:${k[1]}`;return z.test(N)?(h(ha),!0):(h("error"),m(a.formatMessage(ge.invalidTime)),!1)},[a]),y=f.useCallback(({date:k,time:W,mode:G})=>{if(!W||!G||!I({time:W,mode:G})||!k)return;const L=parseInt(W[0]),z=parseInt(W[1]),N=A(k);G==="am"&&L===12?N.hour(0):G==="pm"&&L===12?N.hour(12):G==="pm"?N.hour(L+12):N.hour(L),N.minute(z),n&&n(N.toDate())},[n,I]),C=f.useCallback(k=>{i(k),y({date:k,time:s,mode:l})},[l,s,y]),M=f.useCallback(k=>{(k.charCode<48||k.charCode>58)&&k.preventDefault()},[]),x=f.useCallback(k=>{if(k.length!==2){h("error"),m(a.formatMessage(ge.wrongFormat));return}u(k),y({date:o,time:k,mode:l})},[a,o,l,y]),b=f.useCallback(({value:k})=>{c(k),y({date:o,time:s,mode:k})},[o,s,y]),S=q1(x,500),E=f.useCallback(k=>{const W=k.target.value;let G=W;h(ha),W.match(K1)&&(G=`${W.slice(0,2)}:${W.slice(2)}`),p(G),S(G.split(":"))},[S]);return f.createElement(ex,null,f.createElement(Pu,{width:"100%",label:e||a.formatMessage(ge.dateTimePickerLabel),value:o,onDayChange:C}),f.createElement(Sr,{placeholder:a.formatMessage(ge.timeInputPlaceholder),label:a.formatMessage(ge.timeInputLabel),onChange:E,state:d,errorMessage:g,value:v,onKeyPress:M}),f.createElement("div",{style:{paddingTop:"28px"}},f.createElement(oo,{options:[{value:"am",label:a.formatMessage(ge.am)},{value:"pm",label:a.formatMessage(ge.pm)},{value:"24h",label:a.formatMessage(ge.twentyFourHour)}],defaultValue:{value:"am",label:a.formatMessage(ge.am)},onChange:b})))},ex=O.div`
|
|
982
|
+
`;var mk="Expected a function",vl=NaN,gk="[object Symbol]",pk=/^\s+|\s+$/g,bk=/^[-+]0x[0-9a-f]+$/i,yk=/^0b[01]+$/i,vk=/^0o[0-7]+$/i,_k=parseInt,wk=typeof Ke=="object"&&Ke&&Ke.Object===Object&&Ke,Mk=typeof self=="object"&&self&&self.Object===Object&&self,xk=wk||Mk||Function("return this")(),Ik=Object.prototype,kk=Ik.toString,Dk=Math.max,Sk=Math.min,ui=function(){return xk.Date.now()};function Ck(e,t,n){var r,a,i,u,l,d,h=0,m=!1,p=!1,b=!0;if(typeof e!="function")throw new TypeError(mk);t=_l(t)||0,Ai(n)&&(m=!!n.leading,p="maxWait"in n,i=p?Dk(_l(n.maxWait)||0,t):i,b="trailing"in n?!!n.trailing:b);function w(x){var Y=r,P=a;return r=a=void 0,h=x,u=e.apply(P,Y),u}function _(x){return h=x,l=setTimeout(C,t),m?w(x):u}function k(x){var Y=x-d,P=x-h,R=t-Y;return p?Sk(R,i-P):R}function v(x){var Y=x-d,P=x-h;return d===void 0||Y>=t||Y<0||p&&P>=i}function C(){var x=ui();if(v(x))return I(x);l=setTimeout(C,k(x))}function I(x){return l=void 0,b&&r?w(x):(r=a=void 0,u)}function S(){l!==void 0&&clearTimeout(l),h=0,r=d=a=l=void 0}function T(){return l===void 0?u:I(ui())}function D(){var x=ui(),Y=v(x);if(r=arguments,a=this,d=x,Y){if(l===void 0)return _(d);if(p)return l=setTimeout(C,t),w(d)}return l===void 0&&(l=setTimeout(C,t)),u}return D.cancel=S,D.flush=T,D}function Ai(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function Yk(e){return!!e&&typeof e=="object"}function Ok(e){return typeof e=="symbol"||Yk(e)&&kk.call(e)==gk}function _l(e){if(typeof e=="number")return e;if(Ok(e))return vl;if(Ai(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Ai(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(pk,"");var n=yk.test(e);return n||vk.test(e)?_k(e.slice(2),n?2:8):bk.test(e)?vl:+e}var Tk=Ck;const Ek=Pp(Tk),Nk=/^\d{4}$/g,li="default",of=({label:e,value:t,onChange:n,inputMode:r="am"})=>{const a=yn.useIntl(),[i,u]=y.useState(t),[l,d]=y.useState(t),[h,m]=y.useState(r),[p,b]=y.useState(li),[w,_]=y.useState(),[k,v]=y.useState(""),C=y.useCallback(({time:R,mode:L})=>{const z=parseInt(R[0]),ne=parseInt(R[1]);if(isNaN(z)||isNaN(ne))return b("error"),_(a.formatMessage(Re.notNumber)),!1;const K=new RegExp(L==="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})"),B=z<10?`0${z}:${R[1]}`:`${z}:${R[1]}`;return K.test(B)?(b(li),!0):(b("error"),_(a.formatMessage(Re.invalidTime)),!1)},[a]),I=y.useCallback(({date:R,time:L,mode:z})=>{if(!L||!z||!C({time:L,mode:z})||!R)return;const ne=parseInt(L[0]),K=parseInt(L[1]),B=G(R);z==="am"&&ne===12?B.hour(0):z==="pm"&&ne===12?B.hour(12):z==="pm"?B.hour(ne+12):B.hour(ne),B.minute(K),n&&n(B.toDate())},[n,C]),S=y.useCallback(R=>{u(R),I({date:R,time:l,mode:h})},[h,l,I]),T=y.useCallback(R=>{(R.charCode<48||R.charCode>58)&&R.preventDefault()},[]),D=y.useCallback(R=>{if(R.length!==2){b("error"),_(a.formatMessage(Re.wrongFormat));return}d(R),I({date:i,time:R,mode:h})},[a,i,h,I]),x=y.useCallback(({value:R})=>{m(R),I({date:i,time:l,mode:R})},[i,l,I]),Y=Ek(D,500),P=y.useCallback(R=>{const L=R.target.value;let z=L;b(li),L.match(Nk)&&(z=`${L.slice(0,2)}:${L.slice(2)}`),v(z),Y(z.split(":"))},[Y]);return y.createElement(Ak,null,y.createElement(af,{width:"100%",label:e||a.formatMessage(Re.dateTimePickerLabel),value:i,onDayChange:S}),y.createElement(qa,{placeholder:a.formatMessage(Re.timeInputPlaceholder),label:a.formatMessage(Re.timeInputLabel),onChange:P,state:p,errorMessage:w,value:k,onKeyPress:T}),y.createElement("div",{style:{paddingTop:"28px"}},y.createElement(ro,{options:[{value:"am",label:a.formatMessage(Re.am)},{value:"pm",label:a.formatMessage(Re.pm)},{value:"24h",label:a.formatMessage(Re.twentyFourHour)}],defaultValue:{value:"am",label:a.formatMessage(Re.am)},onChange:x})))},Ak=V.div`
|
|
971
983
|
display: grid;
|
|
972
984
|
grid-template-columns: 180px 90px 90px;
|
|
973
985
|
column-gap: 8px;
|
|
974
|
-
`;
|
|
986
|
+
`;of.propTypes={onChange:Se.func.isRequired,label:Se.string,inputMode:Se.oneOf(["am","pm","24h"])};const Wk={border:`solid 1px ${$t.lighten40($t.active)}`,borderRadius:Wi.radius400},Pk=y.forwardRef(({results:e,focusedResultIndex:t,onResultClick:n},r)=>y.createElement(Fk,null,e.map((a,i)=>y.createElement(y.Fragment,{key:a.text||i},y.createElement(Rk,{onClick:()=>n(a),style:i===t?Wk:{},ref:i===t?r:null},a.component))))),Fk=V.ul`
|
|
975
987
|
padding: 0px;
|
|
976
988
|
margin: 0px;
|
|
977
|
-
`,
|
|
989
|
+
`,Rk=V.li`
|
|
978
990
|
padding: 9px 15px 9px 15px;
|
|
979
991
|
border: solid 1px transparent;
|
|
980
992
|
list-style-type: none;
|
|
981
993
|
cursor: pointer;
|
|
982
994
|
&:hover {
|
|
983
|
-
background: ${
|
|
995
|
+
background: ${$t.toBgLight($t.active)};
|
|
984
996
|
}
|
|
985
|
-
`,
|
|
997
|
+
`,Gk=({maxHeight:e,children:t})=>React.createElement(Lk,null,React.createElement(Vk,{maxHeight:e},t)),Lk=V.div`
|
|
986
998
|
position: relative;
|
|
987
999
|
display: block;
|
|
988
1000
|
width: 100%;
|
|
989
1001
|
z-index: 1000;
|
|
990
|
-
`,
|
|
1002
|
+
`,Vk=V.div`
|
|
991
1003
|
position: absolute;
|
|
992
1004
|
display: block;
|
|
993
1005
|
width: 100%;
|
|
994
|
-
background: ${
|
|
1006
|
+
background: ${$t.white};
|
|
995
1007
|
margin-top: 8px;
|
|
996
1008
|
padding-top: 8px;
|
|
997
1009
|
padding-bottom: 8px;
|
|
998
|
-
box-shadow: ${
|
|
1010
|
+
box-shadow: ${Wi.shadow400};
|
|
999
1011
|
border-radius: 4px;
|
|
1000
1012
|
max-height: ${e=>e.maxHeight};
|
|
1001
1013
|
overflow-y: auto;
|
|
1002
|
-
`,
|
|
1014
|
+
`,gr=yn.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}"'}}),Ja="48px",Bk={width:Ja,height:Ja,fill:$t.gray07},No=({icon:e,title:t,details:n})=>{const r=e;return React.createElement(Zk,null,React.createElement(r,{style:Bk}),React.createElement(Hk,null,t),React.createElement(jk,null,n))},Hk=V(he.TextEpsilon)`
|
|
1003
1015
|
text-align: center;
|
|
1004
1016
|
margin-bottom: 8px;
|
|
1005
|
-
`,
|
|
1017
|
+
`,jk=V(he.BodyUI)`
|
|
1006
1018
|
text-align: center;
|
|
1007
|
-
color: ${
|
|
1008
|
-
`,
|
|
1019
|
+
color: ${$t.gray04};
|
|
1020
|
+
`,Zk=V.div`
|
|
1009
1021
|
display: flex;
|
|
1010
1022
|
flex-direction: column;
|
|
1011
1023
|
align-items: center;
|
|
1012
1024
|
padding: 24px;
|
|
1013
|
-
`,
|
|
1025
|
+
`,Xk=()=>{const e=yn.useIntl();return React.createElement(No,{icon:ct.IconError,title:e.formatMessage(gr.typeaheadServerError),details:e.formatMessage(gr.typeaheadServerErrorDetails)})},zk=({query:e})=>{const t=yn.useIntl();return React.createElement(No,{icon:ct.IconSearch,title:t.formatMessage(gr.typeaheadNoResults),details:t.formatMessage(gr.typeaheadNoResultsDetails,{query:e})})},Uk=()=>React.createElement(Hg.Loader,{containerWidth:Ja,containerHeight:Ja}),$k=({query:e})=>{const t=yn.useIntl();return React.createElement(No,{icon:Uk,title:t.formatMessage(gr.typeaheadSearching),details:t.formatMessage(gr.typeaheadSearchingDetails,{query:e})})},uf=({onQuery:e,loading:t,results:n,onSelect:r,onClear:a,keepResult:i=!1,placeholder:u="",errorMessage:l=null,queryError:d=!1,dropdownMaxHeight:h="350px"})=>{const[m,p]=y.useState({q:""}),b=Bg.hooks.useDebounce(m,300),[w,_]=y.useState(null),[k,v]=y.useState(!0),[C,I]=y.useState(null),S=y.useRef(null),T=y.useRef(null),D=m!==b,x=m.q.length>1&&!C&&k;y.useEffect(()=>{i||p({q:""})},[i]),y.useEffect(()=>{if(C)return;const{q:B}=b;B.length<2||e(B)},[e,b,C]),y.useEffect(()=>{n.length===0&&_(null),n.length>0&&_(0)},[n]);const Y=()=>w<n.length-1?w+1:w,P=()=>w>0?w-1:w,R=B=>{i&&B.text?p({q:B.text}):p({q:""}),I(B),r(B.data),_(null)},L=B=>{const{value:re}=B.target;p({q:re}),v(!0),I(null),_(null),i&&C&&(a==null||a())};y.useEffect(()=>{T.current&&T.current.scrollIntoView({block:"nearest"})},[w]);const z=B=>{x&&(d||D||t||(B.key==="ArrowUp"?(_(P()),B.preventDefault()):B.key==="ArrowDown"?(_(Y()),B.preventDefault()):B.key==="Enter"&&w!=null&&(R(n[w]),B.preventDefault())))},ne=B=>{R(B)};y.useEffect(()=>{const B=re=>{S.current&&!S.current.contains(re.target)?v(!1):v(!0)};return document.addEventListener("pointerdown",B),function(){document.removeEventListener("pointerdown",B)}},[S]);const K=()=>d?React.createElement(Xk,null):D||t?React.createElement($k,{query:m.q}):n.length>0?React.createElement(Pk,{results:n,focusedResultIndex:w,onResultClick:ne,ref:T}):React.createElement(zk,{query:m.q});return React.createElement(Jk,{ref:S},React.createElement(qa,{placeholder:u,icon:ct.IconSearch,value:m.q,name:"inputValue",onChange:L,onKeyDown:z,state:l?"error":"default",errorMessage:l,autoComplete:"off"}),x&&React.createElement(Gk,{maxHeight:h},K()))},Jk=V.div`
|
|
1014
1026
|
width: 100%;
|
|
1015
|
-
`;
|
|
1027
|
+
`;uf.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=Ic;exports.Checkbox=vc;exports.CheckboxGroup=$0;exports.DEFAULT_DATE_FORMAT=bs;exports.DatePicker=af;exports.DateTimePicker=of;exports.Dropdown=ro;exports.Input=qa;exports.InputNumber=Jg;exports.Link=k0;exports.LinkExternal=D0;exports.MonthDayPicker=fk;exports.RadioButton=_c;exports.StyledInput=Gi;exports.Switch=S0;exports.Tag=xc;exports.Textarea=rv;exports.Typeahead=uf;exports.devWarning=Qa;exports.dropdownStyles=gc;exports.formatNumericDate=zd;exports.formatNumericMonthDay=$d;exports.getValidChildrenArray=Ml;exports.isString=wl;exports.monthDayPlaceholder=Xd;exports.parseNumericDate=Ud;exports.parseNumericMonthDay=Jd;exports.sanitiseHashtag=zg;exports.toCamelCase=Zg;exports.useDevWarningOnce=Ri;exports.uuidv4=En;
|
|
1016
1028
|
//# sourceMappingURL=index.cjs.js.map
|